/*
Theme Name: SC Training
Theme URI: http://www.robicowebsolutions.com
Description: A theme by <a href="http://www.robicowebsolutions.com">Robico Web Solutions</a>.
Version: 1.0
Author: Jessica Robinson
Author URI: http://www.robicowebsolutions.com
*/
*{webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */-moz-box-sizing: border-box;    /* Firefox, other Gecko */ box-sizing: border-box;         /* Opera/IE 8+ */}
body{margin:0px; padding:0px; font-family:"Calibri", Arial, sans-serif; color: rgb(89, 89, 89); }
#wrapper, .wrapper{width:960px; margin:auto; position:relative;}
/*=============HEADERS=============*/
h1{color:rgb(89,89,89);  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */-moz-box-sizing: border-box;    /* Firefox, other Gecko */ box-sizing: border-box;         /* Opera/IE 8+ */ font-size:1.5em;}
h2{color:rgb(89,89,89);-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */-moz-box-sizing: border-box;    /* Firefox, other Gecko */ box-sizing: border-box;         /* Opera/IE 8+ */}
h3{color:rgb(89,89,89);-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */-moz-box-sizing: border-box;    /* Firefox, other Gecko */ box-sizing: border-box;         /* Opera/IE 8+ */}
h4{color:rgb(89,89,89); font-weight:bold; margin-bottom:0px; padding-bottom:0px; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */-moz-box-sizing: border-box;    /* Firefox, other Gecko */ box-sizing: border-box;         /* Opera/IE 8+ */}
p{font-size:15px;}
ul{list-style:circle;}
.fullybooked{font-size:20px; color:#cd3333;}
/*=============ANCHORS/LINKS=============*/
a{text-decoration:none; color:#01539c;}
a:hover{color:rgb(89,89,89);}
.btn{display:block; background:#01539c; color:#FFFFFF; padding:10px; border-radius:5px; width:100px; margin:10px 0px;}
.btn:hover{background:rgb(89,89,89); color:#FFFFFF;}
/*=============ALIGNMENT=============*/
.alignright {float: right;}
.alignleft {float: left;}
/*=============IMAGES=============*/
a img {border:none;}
img{max-width: 100%;  height: auto;}
img.centered, img.aligncenter {display: block; margin-left: auto; margin-right: auto;}
img.alignright {float:right; margin-left:10px;}
img.alignleft {float:left; margin-right:10px;}
.wp-caption{}
.wp-caption p{}
/*=============HEADER=============*/
#header{position:relative;}
#header .wrapper{ height:160px; position:relative;}
.home #header .wrapper{border-bottom:0px}
/*=============LOGO=============*/
#logo{float:left; position:relative; z-index:1000;width:300px; height:140px; padding:10px 0px;}
#logo img{height:100%; max-width:auto; width:auto;}
/*=============HEADER TEXT=============*/
#headertext{float:left; width:300px; text-align:center; font-weight:bold; padding-top:25px; font-size:20px;}
/*=============NUMBERS=============*/
#numbers{float:right; position:relative; z-index:1000; margin-bottom:20px; width:260px; text-align:left; font-weight:bold; }
#numbers p{font-size:20px;}
#numbers strong{color:#01539c; margin-right:20px;}
/*=============SEARCH FORM=============*/
.searchform{float:right; position:relative;}
.searchform #searchfield{ background:transparent; border:none; padding:0px 0px 0px 10px; margin:0px; position:absolute; top:0px; left:0px;}
.searchform .searchbutton{position:absolute; top:-1px; right:-1px;}
.searchform .searchbutton:hover{}
/*=============MENUS=============*/
#nav-trigger{display:none;}
#menu{background:url(images/blue.jpg) repeat-x #01539c; background-size:auto 100%; width:100%; height:42px;}
#menu ul{list-style:none; margin:0; padding:0;}
#menu ul li{float:left; position:relative;}
#menu ul li.current-menu-item, #menu ul li:hover{}
#menu ul li a{color:#FFFFFF; text-decoration:none; display:block; padding:10px 20px; font-size:17px;  text-align:center;}
#menu ul.menu li ul.sub-menu{display:none; list-style:none; padding:0px; margin:0px; position:absolute; z-index:2000;}
#menu ul.menu li:hover ul.sub-menu{display:block;}
#menu ul li ul.sub-menu li{width:100%;}
#menu ul li ul.sub-menu li:hover{}
#menu ul li ul.sub-menu li a{background:#01539c; font-size:14px; padding:10px 20px; width:auto; text-align:left; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */-moz-box-sizing: border-box;    /* Firefox, other Gecko */ box-sizing: border-box;         /* Opera/IE 8+ */ white-space:nowrap;}
#menu ul li ul.sub-menu li a:hover{background:#000000;}
#menu ul li.current-menu-item ul.sub-menu li a, #menu ul li:hover ul.sub-menu li a{color:#FFFFFF;}
#menu ul li.current-menu-item a, #menu ul li a:hover, #menu ul li ul.sub-menu li a:hover, #menu ul li.current-menu-item ul.sub-menu li a:hover, #menu ul li.current-menu-ancestor a, #menu ul li.current_page_parent a{background:#000000; color:#FFFFFF;}
#menu ul li.current-menu-ancestor ul.sub-menu li a, #menu ul li.current_page_parent ul.sub-menu li a{color:rgb(149,149,149); background:##01539c;color:#FFF}
#menu ul li.current-menu-ancestor ul.sub-menu li a:hover,#menu ul li.current_page_parent ul.sub-menu li a:hover{background:#000000; color:#FFFFFF;}

/*=============CONTENT and SIDEBAR CONTAINER=============*/
#middle{position:relative;}
/*=============CONTENT=============*/
#content{}
#content .post{height:auto; position:relative; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */-moz-box-sizing: border-box;    /* Firefox, other Gecko */ box-sizing: border-box;         /* Opera/IE 8+ */}
#content .post .featuredimage{float:left; width:150px; height:110px; margin-right:10px; overflow:hidden;}
#content .post .featuredimage img{margin:auto; display:block; min-height:110px;}
#content .post .entry{float:left; }
#content .post a .entry{color:#000000;}
#content .post h2{background:#01539c; margin:0px; width:100%; color:#FFFFFF; position:relative; clear:both;}
#content .post h2 a{color:#FFFFFF; width:100%;}
#content .post a:hover h2, #content .post h2:hover{background:rgb(89,89,89);}
#content .navigation{display: table; width: 100%; height:50px; margin-bottom:20px;}
#content .navigation ul{padding-left:0px; display: table-cell; text-align: center; vertical-align: middle;}
#content .navigation li { display: inline;}
#content .navigation li a, #content .navigation li a:hover, #content .navigation li.active a, #content .navigation li.disabled {text-decoration:none; border:1px solid #ebe7e3; cursor: pointer; font-weight:bold;}
#content .navigation li a:hover, #content .navigation li.active a {}

.home #featuredimg{background:rgb(221,221,221); width:100%; position:relative; height:515px; overflow:hidden; margin:20px 0px 10px;}
.home #featuredimg h1{background:url(images/blue.jpg) repeat-x #01539c; background-size:auto 100%; margin:0px; position:absolute; bottom:0px; width:100%; color:#FFFFFF; font-size:24px; padding:20px 40px; margin-top:40px; z-index:100000;}

.homeleft{display:inline-block; width:50%; float:left;}
.homeright{display:inline-block; width:50%; float:right;}
	/*.home #featuredimg h1:after{ top: -40px; border-bottom: solid 40px #01539c; border-left: solid 40px transparent;}*/
/*.home #featuredimg h1:after{ position: absolute;  right: 0%; content: ''; width: 0; height: 0;}*/

.page-template-page-sidebar-php #featuredprod{}
.page-template-page-sidebar-php #content h1, .page-template-page-sidebar2-php #content h1, .page-template-page-2columns-php #content h1{margin-top:0px;}

table {width:100%; font-size:smaller;}
table th {  background: #dedede;  border: 1px solid #fff; padding: 8px; text-align:left;}
table tr {  background: #efefef;}
table td{padding:2px 8px;}
table td.eventful{background:#01539c;}
table.em-calendar td.eventful a {color:#FFFFFF !important;}

.em-booking-form-details p.ticket-price{display:none;}
.em-booking-form-details{padding:10px 0px !important;}
.em-booking-form label{width:125px !important;}
.em-booking-form-details input.input, .em-booking-form-details textarea{width:225px !important;}
.em-booking-form-details select{width:230px !important;}

.category-12 .eventlogos, .page-id-6 .eventlogos, .category-13 .eventlogos{display:none;}

ul.points{width:50%; float:left; margin-bottom:30px;}
ul.event-list li.event75, ul.event-list li.event76, ul.event-list li.event79, ul.event-list li.event77{margin-top:20px;}  
/*=============CONTACT FORM=============*/

/*=============SIDEBAR=============*/
#sidebar{float:left;  position:relative;}
#sidebar ul.sidebar{list-style:none; margin:0; padding:0;}
#sidebar ul.sidebar li{}
#sidebar ul.sidebar h2.widgettitle{}
#sidebar ul.sidebar li ul{margin:auto; padding:auto; }
#sidebar ul.sidebar li ul li{list-style-image:url(images/bulletpoint.jpg); position:relative; }
#sidebar ul.sidebar li ul li a{}
#sidebar ul.sidebar li ul li a:hover{}
#nav-trigger-sidebar{display:none;}

#content .post{position:relative; }
#content .post:nth-child(even) h2:after{position: absolute;  right: 0%; content: ''; width: 0; height: 0; }

#sidebar.home h2.widgettitle, #sidebar.veefil h2.widgettitle{display:none;}
#sidebar.home, #sidebar.footersb{width:100%; float:none; clear:both;}
#sidebar.home ul.sidebar li, #sidebar.footersb ul.sidebar li{float:left; }
#sidebar.home ul.sidebar li:first-child, #sidebar.footersb ul.sidebar li:first-child{margin-left:0px;}
#sidebar.products h2.widgettitle{}

/*=============FOOTER=============*/
#footer{width:100%; clear:both; border-top:2px solid rgb(221,221,221); margin-top:10px; padding-top:10px; color:rgb(149,149,149); font-size:smaller;}
#footer a:hover{}
#footer .top{display:none;}
#footer #copyright{float:left; width:40%; text-align:left;}
#footer #credit{float:right; width:60%; text-align:right;}


	
	
	/*=============SLIDESHOW=============*/
	#slideshow{display:block;}

	/*=============CONTENT=============*/
	#content{width:660px; float:left;}
	.blog #content, .home #content, .page-template-page-nosidebar-php #content{float:none; width:100%;}
	
	#content .post h2{padding:5px 20px; font-size:18px;}
	#content .postlist{padding-top:30px;}
	#content .post{height:200px;  width:50%; float:left; margin-bottom:20px;}
	#content .post.noimage{height:150px;}
	#content .post .entry{width:190px; font-size:smaller;}
	#content .post.noimage .entry{height:50px; width:100%;}
	#content .post .featuredimage{width:200px; height:150px;}
#content .post .featuredimage img{margin:auto; display:block; min-height:150px;}
	#content .post:nth-child(odd){padding-right:10px;}
	#content .post:nth-child(even){padding-left:10px;}
	#content .post:nth-child(even) h2:after{  top: -30px; border-bottom: solid 30px #01539c; border-left: solid 30px transparent;}
	#content .post:nth-child(even) a:hover h2:after, #content .post:nth-child(even) h2:hover:after{ border-bottom: solid 30px rgb(89,89,89);}
	
	ul.trainingcrew{list-style:none; margin:0px; padding:0px;}
	ul.trainingcrew li{float:left; width:170px; margin-left:20px;}
	ul.trainingcrew li:first-child{margin:0px;}
	ul.trainingcrew li .imagewrap{height:170px; width:100%; overflow:hidden; position:relative;}
	ul.trainingcrew li .imagewrap img{width:100%;}
	ul.trainingcrew li h3{margin-bottom:0px;}
	ul.trainingcrew li h4{margin-top:0px; color: #01539c; height:55px;}
	
	#carousel{margin:0px -50px 40px;}
	#carousel #tchsp{padding-bottom:0px;}
	#carousel #tchsp .overview li{text-align:center; position:relative; }
	#carousel #tchsp .overview li a{display:table-cell !important; height: 100px; width: 171px; text-align:center; vertical-align:middle;}
	#carousel #tchsp .overview li a img{max-height:100%; width:auto;}
	#carousel  #tchsp .buttons{background: #01539c;}
	#carousel  #tchsp .buttons:hover{color: #01539c; background: #FFFFFF; border:1px solid #01539c; }
	
	.testimonial{background:url(images/testimonial.png) no-repeat; padding-left:45px; padding-top:10px; margin-top:60px;}
	.testimonial:first-child{margin-top:0px;}
	
	.single-event h1{text-align:center;}
	.single-event p{margin-top:0px;}
	.single-event h3.booknowheading{font-size:30px; text-align:center;}
	.symbol{color: #01539c;}

	/*=============SIDEBAR=============*/
	#sidebar{float:right; width:260px; position:relative;}
	.blog #sidebar{display:none;}
	
	#sidebar.home{height:175px; margin:50px 0px;}
	#sidebar.home ul.sidebar li{ width:175px; height:192px; margin-left:20px; text-align:center;}
	
	#sidebar.footersb{border-top: 2px solid rgb(221, 221, 221); margin-top:20px;}
	#sidebar.footersb ul.sidebar li.widget{ width:235px; min-height:225px; margin-left:20px; }
	#sidebar.footersb ul.sidebar li.widget:first-child{margin-left:0px; width:450px;}
	#sidebar.footersb ul.sidebar li.widget:first-child ul{list-style:none; padding:0px; margin:0px;}
	#sidebar.footersb ul.sidebar li.widget ul li{float:none;}
	#sidebar.footersb ul.sidebar li.widget:last-child strong{color:#01539c;}
	
	#sidebar.products ul.sidebar li{margin-bottom:20px;}
	#sidebar.products ul.sidebar li p.imgplaceholder{height:191px; overflow:hidden;}
	#sidebar.products ul.sidebar li p.imgplaceholder img{min-height:191px;}
	#sidebar.footersb ul.sidebar li#text-2 p:first-child{background:url(images/testimonial.png) no-repeat; padding-left:45px; padding-top:10px; padding-right:10px;}

	/*=============FOOTER SIDEBAR=============*/
	#footer{padding-bottom:60px;}
