/*
Theme Name: CCES
Author: ITA
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
body {
	background: #fff;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
	padding:3px;
	border:1px solid #cdcdcd;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
	padding:3px;
	border:1px solid #cdcdcd;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding:3px;
	border:1px solid #cdcdcd;
}


/* =Global
-------------------------------------------------------------- */

body, input, textarea, #content-secondary-right table {
	color: #373737;
	font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	line-height: 1.625;
}
body {
	background: #f4f4f4;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
	margin-bottom:20px;
	line-height:1.2;
}

h1 {
	color:#167078;
	font-size:2.2em;
	font-weight:bold;
	font-weight:500;
	letter-spacing:0.1px;
}

h2 {
	color:#167078;
	font-size:1.6em;
	font-weight:bold;
	font-weight:500;
}

h3 {
	font-size:1.2em;
	font-weight:bold;
	font-weight:500;
}

hr {
	background-color: #167078;
	color:#167078;
	border: 0;
	height: 1px;
	margin: 1em 0;
}

/* Text elements */
p {
	margin-bottom: 1.2em;
}
ul, ol {
	margin: 0 0 1.625em 2.5em;
}
ul {
	list-style: square;
}
ol {
	list-style-type: decimal;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}

li.page_item {
	list-style-type:none;
	margin:0;
}

strong {
	font-weight: bold;
}

sup, sub {
	font-size: 10px;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1.6em;
}

sub {
	top: .5ex;
}

.clearboth {
	height:0px;
	clear:both;
}

.prompt {
	color:#a5a993;
	font-weight:400;
	font-size:0.95em;
	padding: 12px 0;
}

.prompt a {
	font-weight:bold;
	font-weight:500;
	color:#a5a993;
}

.prompt a:hover {
	text-decoration:underline;
}
/* Forms */
form {
	margin:0;
	padding:0;
	display:inline;
}

input[type=text], input[type=email], select, .textField, .selectField {
	width:90%;
	color:#454545;
	margin:0px 0px 0px 3px;
	border:1px solid #999999;
	background-color:#fff;
	height:22px;
	border-radius:5px;
}

input[type=text]:focus, input[type=email]:focus, select:focus, .textField:focus, .selectField:focus {
	background-color:#edf9dc;
	border:1px solid #454545;
	font-weight:bold;
}

.wpcf7-captchar {
	width:70px !important;
}

.wpcf7-captchac {
	vertical-align:text-bottom;
}

.very_short {
	width:80px;
}
	
textarea, .textArea {
	color:#454545;
	width:90%;
	height:120px;
	background-color:#fff;
	margin:0px 3px 0px 3px;
	border:1px solid #999999;
	border-radius:3px;
}

textarea:focus, .textArea:focus {
	background-color:#fff;
	border:1px solid #333333;
}

.error, .wpcf7-not-valid-tip, .wpcf7-validation-errors {
	background: #F9E5E6 !important;
	border-radius: 4px !important;
    color: #B50007 !important;
    /*display: block !important;*/
    margin: 3px 0 5px !important;
    padding: 3px 0 3px 8px !important;
    border: none !important;
    display:inline-block;
}

.success, .wpcf7-mail-sent-ok {
	background: none repeat scroll 0 0 #E9F9E5;
	border-radius: 4px;
    color: #1C8400;
    /*display: block;*/
    margin: 8px 0;
    padding: 3px 0 3px 8px;
    width: 100%;
    border: none;
}

/* Links */
a {
	color: #167078;
	text-decoration: none;
}
a:focus, a:active, a:hover {
	text-decoration: underline;
}

/* =Structure 
-------------------------------------------------------------- */

#outer {
	position:relative;
	margin:0 auto;
	width:1160px;
	background:#f4f4f4;
}

/* =Header
-------------------------------------------------------------- */

#header {
	position:relative;
	width:1160px;
}

#header-bar {
	height:20px;
	width:100%;
	background:#167078;
}

#header-main {
	position:relative;
	margin:0 auto;
	width:974px;
	background:#f4f4f4;
	padding:0 7px;
}

#header-logo {
	position:absolute;
	z-index:999;
	right:740px;
}

/* =Main Menu
-------------------------------------------------------------- */

#access {
	height:70px;
	background:#f4f4f4;
}
#access ul {
	position:absolute;
	top:0;
	right:1.2125em;
	width: auto;
	font-size: 14px;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
	background:url('images/bg-main-menu.png') no-repeat;
	height:70px;
}

#access > ul li:first-child {
	background:none;
}

#access ul li.has-children > a {
	background:url('images/bg-menu-has-children.png') no-repeat center 90%;
}

#access a {
	color: #4c4d4f;
	display: block;
	line-height: 3.333em;
	padding: 12px 1.2125em;
	text-decoration: none;
}
#access ul ul {
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 70px;
	left: 0;
	width: 240px;
	z-index: 99999;
}

#access ul li ul li {
	height:auto;
	background:url('images/bg-main-menu-dropdown.png') repeat;
}

#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: transparent;
	border-bottom: 1px dotted #ddd;
	color: #4c4d4f;
	font-size: 13px;
	font-weight: normal;
	height: auto;
	line-height: 1.4em;
	padding: 10px 10px;
	width: 220px;
}
#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
	background: #efefef;
	color:#167078;
}
#access li:hover > a,
#access a:focus {
	background: #f9f9f9; /* Show a solid color for older browsers */
	background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
	background: -o-linear-gradient(#f9f9f9, #e5e5e5);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
	background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
	color: #167078;
}

#access li.has-children:hover > a,
#access ul li.has-children > a:focus {
	
	background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
	background: -o-linear-gradient(#f9f9f9, #e5e5e5);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
	background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
	background:url('images/bg-menu-has-children.png') no-repeat center 90% -moz-linear-gradient(#f9f9f9, #e5e5e5);
	color: #167078;
}

#access ul li:hover > ul {
	display: block;
}
#access .current-menu-item > a,
#access .current-menu-ancestor > a,
#access .current_page_item > a,
#access .current_page_ancestor > a {
	font-weight: bold;
}

#access ul li ul li.menu-item-52 ul {
	left:-100%;
}

#access ul li.menu-item-16 ul {
	left:-150px;
}

#access sup {
	bottom:0.6em;
	font-size:0.6em;
}

/* =Footer Menu Primary
-------------------------------------------------------------- */

#footer-access-primary {
	position:absolute;
	top:80px;
}
#footer-access-primary ul {
	width: auto;
	font-size: 13px;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#footer-access-primary li {
	float: left;
	position: relative;
	height:50px;
	width:225px;
}

#footer-access-primary a {
	color: #d6e1c7;
	display: block;
	padding: 4px 2.7em 4px 0;
	text-decoration: none;
	text-transform: uppercase;
}

#footer-access-primary ul ul {
	float: left;
	margin: 0;
	position: absolute;
	top: 2.1em;
	left: 0;
	width: 200px;
	z-index: 99999;
}

#footer-access-primary ul li ul li {
	height:auto;
	width:200px;
}

#footer-access-primary ul ul a {
	background: transparent;
	color: #fff;
	font-size: 12px;
	font-weight: normal;
	height: auto;
	line-height: 1.4em;
	padding: 4px 10px 4px 0;
	text-transform:none;
}

#footer-access-primary ul ul a sup {
	bottom:0.8em;
}

#footer-access-primary li:hover > a,
#footer-access-primary a:focus {
	color: #fff;
}

#footer-access-primary ul li ul li:hover > a,
#footer-access-primary a:focus {
	color:#d6e1c7;
}

#footer-access-primary ul li:hover > ul {
	display: block;
}
#footer-access-primary .current-menu-item > a,
#footer-access-primary .current-menu-ancestor > a,
#footer-access .current_page_item > a,
#footer-access .current_page_ancestor > a {
	font-weight: bold;
}

/* =Footer Menu Secondary
-------------------------------------------------------------- */

#footer-access-secondary {
	position:absolute;
	left:550px;
	top:110px;
}
#footer-access-secondary ul {
	width: auto;
	font-size: 13px;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#footer-access-secondary li {
}

#footer-access-secondary a {
	color: #d6e1c7;
	display: block;
	line-height: 2em;
	padding: 6px 1.2125em 0 0;
	text-decoration: none;
	text-transform: uppercase;
}
#footer-access-secondary ul ul {
	margin: 0;
	width: 188px;
	z-index: 99999;
}

#footer-access-secondary ul li ul li {
	height:auto;
}

#footer-access-secondary ul ul ul {
	left: 100%;
	top: 0;
}
#footer-access-secondary ul ul a {
	background: transparent;
	color: #fff;
	font-size: 12px;
	font-weight: normal;
	height: auto;
	line-height: 1.4em;
	padding: 4px 10px 4px 0;
	width: 168px;
	text-transform:none;
}

#footer-access-secondary li:hover > a,
#footer-access-secondary a:focus {
	color: #fff;
}

#footer-access-secondary ul li ul li:hover > a,
#footer-access-secondary a:focus {
	color:#d6e1c7;
}

#footer-access-secondary ul li:hover > ul {
	display: block;
}
#footer-access-secondary .current-menu-item > a,
#footer-access-secondary .current-menu-ancestor > a,
#footer-access-secondary .current_page_item > a,
#footer-access-secondary .current_page_ancestor > a {
	font-weight: bold;
}

/* Assistive text */
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}
#access a.assistive-text:active,
#access a.assistive-text:focus {
	background: #eee;
	border-bottom: 1px solid #ddd;
	color: #1982d1;
	clip: auto !important;
	font-size: 12px;
	position: absolute;
	text-decoration: underline;
	top: 0;
	left: 7.6%;
}


/* =Content
-------------------------------------------------------------- */

#content, #slider, #access { 
	width:960px;
	margin:0 auto;
	padding:0 7px;
	background:url('images/bg-content.png') repeat-y; 
}

#content { 
	width:920px;
	padding:1.65em 27px;
}

#content-secondary {
	width:33%;
	float:left;
	padding-right:2%
}

#content-secondary-right {
	width:33%;
	float:right;
	padding-left:2%
}

#content-secondary-right h2 {
	margin-top:125px;
	font-size:1.4em;
}

#content-secondary-right table tr {
	border-bottom:1px solid #d7d7d7;
}

#content-secondary-right table tr td {
	padding:8px;
	font-weight:inherit;
}

#content-secondary li {
	margin:0;
	list-style-type:none;
}

#content-secondary li h2 {
	margin-bottom:10px;
}

#content-secondary ul {
	list-style-type:none;
	margin:0;
	width:100%;
	border-top:1px solid #d7d7d7;
}

#content-secondary ul li {
	border-bottom:1px solid #d7d7d7;
	padding:4px 0;
}

#content-secondary ul li:hover {
	background:#e1e1e1;
}

#content-secondary ul li.current_page_item {
	background:#efefef;
}


#content-secondary ul li a {
	color:#4c4d4f;
	font-weight:bold;
	font-weight:500;
	font-size:0.85em;
	background:url('images/bg-content-left-menu-link.png') no-repeat 100% 60%;
	padding-right:20px;
}

#content-secondary ul li a:hover {
	text-decoration:none;
}

#content-secondary sup {
	bottom:0.8em;	
}

#content-main {
	width:65%;
	float:right;
	position:relative;
}

#content-main-left {
	width:65%;
	float:left;
}

ul.tiles {
	list-style-type:none;
	margin:0;
}

ul.tiles li {
	display:inline;
	padding-right:16px;
}

#course-brochure {
	position:relative;
	left:0;
	top:0;
	width:276px;
	height:40px;
	margin-top:12px;
}

#brochure-download {
	position:absolute;
	left:0;
	top:0;
	width:276px;
	height:40px;
	z-index:2;
	background:url('images/download-course-brochure-button.png') no-repeat;
}

/* =Footer
-------------------------------------------------------------- */

#footer {
	width:100%;
	height:410px;
	background:#4c4d4f;
}

#footer-inner {
	position:relative;
	height:300px;
	width:960px;
	margin:0 auto;
	padding:30px 100px;
	background:#4c4d4f;
	color:#fff;
	font-size:0.85em;
}

#footer-social ul {
	display:block;
	list-style-type:none;
	margin:0;
}

#footer-social ul li {
	display:inline;
	font-size:1.5em;
	padding-right:10px;
	vertical-align:top;
}

#footer-feedback {
	position:absolute;
	right:100px;
	top:30px;
	width:260px;
	height:144px;
}

#footer-copyright {
	position:absolute;
	right:100px;
	top:375px;
	font-size:0.95em;
}

/* =Widgets
-------------------------------------------------------------- */



/* =error404
-------------------------------------------------------------- */

/* error404 */
.error404 #primary {
	float: none;
	margin: 0;
}
.error404 #primary #content {
	margin: 0 7.6%;
	width: auto;
}

.error404 #main #searchform {
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-width: 1px 0;
	margin: 0 -8.9% 1.625em;
	overflow: hidden;
	padding: 1.625em 8.9%;
}
.error404 #main #s {
	width: 95%;
}
.error404 #main .widget {
	clear: none;
	float: left;
	margin-right: 3.7%;
	width: 30.85%;
}
.error404 #main .widget_archive {
	margin-right: 0;
}
.error404 #main .widget_tag_cloud {
	float: none;
	margin-right: 0;
	width: 100%;
}
.error404 .widgettitle {
	font-size: 10px;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
}

/* =Navigation
-------------------------------------------------------------- */

#content nav {
	clear: both;
	overflow: hidden;
	padding: 0 0 1.625em;
}
#content nav a {
	font-size: 12px;
	font-weight: bold;
	line-height: 2.2em;
}
#nav-above {
	padding: 0 0 1.625em;
}
#nav-above {
	display: none;
}
.paged #nav-above {
	display: block;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content nav .meta-nav {
	font-weight: normal;
}

/* Singular navigation */
#nav-single {
	float: right;
	position: relative;
	top: -0.3em;
	text-align: right;
	z-index: 1;
}
#nav-single .nav-previous,
#nav-single .nav-next {
	width: auto;
}
#nav-single .nav-next {
	padding-left: .5em;
}
#nav-single .nav-previous {
	padding-right: .5em;
}

/* ----------- TABLES --------------*/

table.timetable {
	border:1px solid #aaa;
	margin-bottom:20px;
	width:100%;
	border-radius:3px;
	font-size:0.9em;
}

table.timetable td, table.timetable th {
	border-right:1px solid #ccc;
	border-bottom:1px solid #aaa;
	padding:4px;
	text-align:center;
}

table.timetable thead tr th {
	color:#222;
	font-weight:bold;
	background:#a5a993;
	font-weight:500;
}

table.timetable tbody tr th {
	text-align:left;
}

table.timetable tbody tr td {
	text-align:left;
}

table.timetable tbody tr td:first-child {
	text-align:left;
}

table.timetable tbody tr:nth-child(even) td {
	background:#fff;
}


/* ----------- CONCERTINA --------------*/

#concertina {
	list-style-type:none;
	margin-left:0;
	border-top:1px solid #cdcdcd;
}

#concertina li {
border-bottom:1px solid #cdcdcd;
}                                   

#concertina li .content {
	display:none;
	margin:20px 0;
}

#concertina li .content li {
	border:none;
	}

#concertina li h2 {
	font-size:1.1em;
	color:#167078;
    font-weight:normal;
    font-weight:300;
    margin:0;
    text-transform:uppercase;
    cursor:pointer;
    background:url('images/show.png') no-repeat 10px 11px;
	line-height:2;
	padding-left:30px;
}

#concertina li h2.current {              
	font-weight:bold;
	font-weight:500;
	background:url('images/hide.png') no-repeat 10px 11px;
}

#concertina li h2:hover {
	background-color:#efefef;
}

#content-left-testimonial {
	position:relative;
	background:#4c4d4f;
	padding:38px 2% 2%;
	color:#fff;
	margin-bottom:20px;
}

#content-left-testimonial .testimonial-author {
	display:inline-block;
	color:#6ba6d2;
	color:#cdd7bf;
	font-size:0.9em;
}
 
#content-left-testimonial .testimonial-start {
	position:absolute;
	top:10px;
	left:2%;
	padding-bottom:12px;
	width:32px;
	height:27px;
	background:url('images/testimonial-quote-start.jpg') no-repeat;
}

#content-left-testimonial .testimonial-end {
	position:absolute;
	bottom:5px;
	right:2%;
	width:32px;
	height:27px;
	background:url('images/testimonial-quote-end.jpg') no-repeat;
}

/* =Comments
-------------------------------------------------------------- */

/* =Responsive Structure
-------------------------------------------------------------- */

@media (max-width: 800px) {
}

@media (max-width: 650px) {
	/* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */
}

@media (max-width: 450px) {
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
}