/*

South West Coaches - Global Stylesheet
Handwritten by Richard Wilmot (AztecMedia.eu)
http://www.southwestcoaches.com

*/

																					/* ------------ Toolbox ------------ */

.float-left { float: left; }
.float-right { float: right; }
.align-right { text-align: right; }
.cleared { clear: both; }
.hide { display: none; }
.smaller { font-size: 90%; }
.larger { font-size: 110%; }
.normal { font-weight: normal; }

hr { display: none; }
strong { font-weight: bold; }

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
	}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */

																					/* ------------ Defaults ------------ */

body, html {
	color:#666666;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size:14px;
	line-height:20px;
	}
	
#bg { position: fixed; top: 0; left: 0; }
.bgwidth { width: 100%; }
.bgheight { height: 100%; }
	

#container {
	max-width:960px;
	width:100%;
	margin:auto;
	background:#FFF;
	position:relative
}

#content {
	max-width:960px;
	width:100%;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	padding:80px 0 20px 20px;
	background:#FFF;
	
}

#home #content {
	padding:20px 0 20px 20px;
}

#col-1 {
	width:600px;
	float:left;
	width: -webkit-calc(100% - 340px);
    width:    -moz-calc(100% - 340px);
    width:         calc(100% - 340px);
}

#booking-calendar #col-1 {
	width: 100%
}

#col-2 {
	width:320px;
	float:right;
}

#booking-calendar #col-2 {
	display: none
}

@media screen and (max-width: 860px) {
	#transport-training #content,
	#first-aid-training #content,
	#marine-training #content,
	#scc-training #content {
		padding:80px 20px 20px 20px;		
	}
	#transport-training #col-1,
	#first-aid-training #col-1,
	#marine-training #col-1,
	#scc-training #col-1 {
		float:none;
		margin-bottom:20px;
		width: 100%;
	}
	#transport-training #col-2,
	#first-aid-training #col-2,
	#marine-training #col-2,
	#scc-training #col-2 {
		width:100%;
		float:none;
	}
}
@media screen and (max-width: 740px) {
	#content {
		padding:80px 20px 20px 20px;		
	}
	#home #content {
		padding:20px;
	}
	#col-1 {
		float:none;
		margin-bottom:20px;
		width: 100%;
	}
	#col-2 {
		width:100%;
		float:none;
	}
}

	
a {
	color:#192757
}

a:hover {
	color:#3f93c4
}

h1,
h2,
h3,
h4 {
    font-family: 'Open Sans', sans-serif;
	font-weight:300;
	color:#132151;
	font-size:40px;
	line-height:42px;
	margin-bottom:30px
}

h2 {
	font-size:28px;
	margin-bottom:25px;
	color:#3f93c4;
	line-height:32px;
}

h3 {
	font-size:26px;
	line-height: 28px;
	margin-bottom:20px;
	color:#959595
}

h4 {
	font-size:20px;
	margin-bottom:10px;
	color:#3f93c4;
	line-height: 24px;
}

p {
	margin-bottom:20px;
}


#col-1 li {
	background:url(../images/bullet.png) no-repeat top left;
	padding-left:42px;
	margin:0 0 5px 30px;
}

#col-1 ol,
#col-1 ul {
	margin-bottom:20px;
}

#col-1 ol li {
	list-style-type:decimal;
	margin: 0 0 5px 40px;
	padding:0;
	background:none
}



.btn {
	display:block;
	width:88px;
	height:88px;
	background: url(../images/btn-view-more.png) no-repeat 0 -88px;
	color:#FFF;
	text-align:center;
	font-family: 'Open Sans', sans-serif;
	font-weight:700;
	font-size:12px;
	line-height:88px;
	text-transform:uppercase;
	text-decoration:none;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	cursor:pointer;
	position:absolute;
	bottom:-20px;
	bottom:-30px;
	right:20px;
}

.btn:hover {
	color:#FFF;
	background-position: 0 0;
}

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


#header {
	width:100%;
	max-width:960px;
	height:200px;
	position:relative;
	background:#F2F2F2;
	margin:auto
	}
	
#header #logo {
	width:583px;
	height:81px;
	background:url(../images/ansteyjames.png) no-repeat top left;
	position:absolute;
	left:-246px;
	top:30px;
	text-indent:-25000px
	}
	
#header #coach {
	width:322px;
	height:184px;
	background:url(../images/coach.png) no-repeat top left;
	position:absolute;
	left:350px;
	top:0;
	text-indent:-25000px;
	z-index:100
	}
	
	
#header #top-nav {
	width:200px;
	height:40px;
	right:20px;
	top:20px;
	position:absolute;
	  }
	  
#header #top-nav li {
	float:right;
	margin-left:10px;
	}
	
#header #top-nav li a {
	height:40px;
	width:40px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background:#999999;
	font-size:22px;
	text-align:center;
	float:right;
	display:block;
	color:#FFF;
	-moz-box-shadow:    inset 3px 3px 5px #666666;
    -webkit-box-shadow: inset 3px 3px 5px #666666;
    box-shadow:         inset 3px 3px 5px #666666;
	}
	
#header #top-nav li a i {
	line-height:40px;
	}
	
#header #top-nav li a i span {
	display:none
	}

#header #top-nav #nav-jobs a {
	text-decoration:none;
	font-size:14px;
	line-height:40px;
}

#header #top-nav li a:hover,
#home #header #top-nav #nav-home a,
#about-us #header #top-nav #nav-about a,
#contact-us #header #top-nav #nav-contact a {
	background:#3f93c4;
	color:#FFF;
	-moz-box-shadow:    none;
    -webkit-box-shadow: none;
    box-shadow:        none;
	  }
	  
	
#header #search {
	width:265px;
	height:40px;
	right:20px;
	top:80px;
	position:absolute;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background:#FFF
	}
	
#header #search label {
	display:none
	}
	
#header #search input {
	background: none;
	border:none;
	height:40px;
	line-height:40px;
	width:225px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	padding-left:20px;
	float:left;
	color:#666
	}
	
#header #search .search-button {
	  height:40px;
	  width:40px;
	  background:#3f93c4;
	  -webkit-border-radius: 20px;
	  -moz-border-radius: 20px;
	  border-radius: 20px;
	  border:none;
	  color:#FFF
	  }
	
#header #search .search-button:before {
      content: "\f002";
      font-family: "FontAwesome";
      font-size: 17px; 
	  }
	  
#header #search .search-button span {
	display:none
	  }
	  
#navigation-button, #navigation-close {
    display: none;
}
	  
@media screen and (max-width: 960px) {
	#header #coach {
		width:242px;
		height:138px;
		left:350px;
		top:10px;
		background-size: 100% auto
	}
	#header #top-nav {
		width:200px;
		height:40px;
		right:20px;
		top:20px;http://www.southwestcoaches.co.uk/
		position:absolute;
	}
}

@media screen and (max-width: 890px) {
	#header {
		height: 240px;
	}
	#header #nav {
		top:160px
	}
	#header #coach {
		display:none
	}
	#header #logo {
		position: static;
		width:100%;
		display:block;
		overflow: hidden;
		margin-top:15px;
		background-position: -webkit-calc(50% - 157px) 0;
		background-position:    -moz-calc(50% - 157px) 0;
		background-position:         calc(50% - 157px) 0;
	}
	#header #search {
		position:static;
		margin:auto;
		margin-top:15px;
	}
	#header #top-nav {
		height:35px;
		position: static;
		background:#192757;
		width:100%;
	}
	#header #top-nav li {
		width:25%;
		margin:0
	}
	#header #top-nav li a {
		width:25%;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		background:none;
		float:none;
		width:100%;
		line-height:35px !important;
		text-align:center;
		text-transform:uppercase;
		height:35px;
		font-family: 'Open Sans', sans-serif;
		font-size:16px !important;
		-moz-box-shadow:    none;
		-webkit-box-shadow: none;
		box-shadow:         none;
	}
	#header #top-nav li a i::before {
		display:none
	}
	#header #top-nav li a i span {
		display: block;
		text-transform:uppercase;
		font-family: 'Open Sans', sans-serif;
		font-weight:700 !important;
		font-size:16px;
		line-height:35px
	}
}

	  
	 																			/* ------------ Nav ------------ */

#nav {
	max-width:960px;
	width:100%;
	height:125px;
	position:absolute;
	top:135px;
	left:0;
	z-index:200
	}
	
#nav ul {
	display:block
	}
	
#nav li {
	width:192px;
	height:125px;
	float:left
	}
	
#nav li a {
	display:block;
	width:192px;
	height:125px;
	text-align:center;
	text-decoration:none;
	color:#FFF;
	line-height:125px;
	text-transform:uppercase;
	font-family: 'Open Sans', sans-serif;
	font-weight:700;
	font-size:14px;
	}
	
#nav li.cpc-training a {
	background:url(../images/nav-1.png) no-repeat top left
	}

#nav li.first-aid-training a {
	background:url(../images/nav-2.png) no-repeat top left
	}
	
#nav li.marine-training a {
	background:url(../images/nav-3.png) no-repeat top left
	}
	
#nav li.scc-training a {
	background:url(../images/nav-4.png) no-repeat top left
	}
	
#nav li.booking-calendar a {
	background:url(../images/nav-5.png) no-repeat top left
	}
	
#nav li a:hover,
#nav li.menuactive a {
	background-position: 0 -125px;
	}
	
@media screen and (max-width: 960px) {
	
  #navigation-button {
	  background: url(../images/mobile-nav.png) no-repeat top center;
	  display: block;
	  height:125px;
	  margin:0;
	  padding-top:42px;
	 
  }
  #navigation-button a {
		display: block;
		font-family: 'Open Sans', sans-serif;
		font-weight:700;
		font-size:14px;
		color:#FFF;
		text-decoration:none;
		text-transform:uppercase;
		text-align:center;
		 margin: auto;
		 width:50px;
		 height:40px;
		 line-height:40px;
		 width:192px;
		}
	#navigation-close {
		display: block;
		position: fixed;
		right: 20px;
		top: 20px;
		z-index: 99;
	}
	#navigation-close a {
		background: url(../images/mobile-close.png) no-repeat top center ;
		display: none;
		height: 64px;
		text-indent: -25000px;
		width: 64px;
	}
	#nav ul {
		background-color: rgba(63, 147, 196, 0.9);
		display: none;
		height: 100%;
		left: 0;
		padding-top: 10%;
		position: fixed;
		text-align: center;
		top: 0;
		width: 100%;
		z-index: 98;
	}
	#nav li {
		width:100%;
		height:auto;
		float:none
	}
	#nav li a {
		background:none !important;
		font-size:22px;
		width:100%;
		height:auto;
		line-height:30px;
		padding:10px 0
	}
}
	
#sub-nav-container {
	background-color:#3f93c4;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	padding:50px 20px;
	background-image: url(../images/sub-nav-top.gif), url(../images/sub-nav-bottom.gif);
	background-position: top left, bottom left;
	background-repeat: no-repeat;
	margin-bottom:30px;
	}
	
#sub-nav-container h2 {
	color:#FFF;
	text-align:center;
	}
	
#sub-nav-container #sub-nav li a {
	display:block;
	width:100%;
	text-align:center;
	text-decoration:none;
	font-size:16px;
	height:40px;
	line-height:40px;
	color:#9fc9e1;
	/*background:url(../images/sub-nav-btn.gif) repeat-x bottom left;*/
	border-bottom: 2px solid white;
	}
	
#sub-nav-container #sub-nav li a.last {
	border-bottom:none
	}
	
#sub-nav-container #sub-nav li a:hover, 	
#sub-nav-container #sub-nav li.menuactive a {
	color:#fff
	}
	

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


#footer {
	background: #f2f2f2 url(../images/footer-bg.gif) no-repeat top center;
	background-size: 100% auto;
	padding:65px 20px 20px 20px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	color:#999999
	}
	
.footer-col {
	float:left;
	width:280px;
	}
	
.footer-col ul {
	margin-left:20px;
	}
	
.footer-col li {
	padding-left:50px;
	line-height:40px;
	height:40px;
	background-repeat: no-repeat;
	margin-bottom:10px;
	
	}
	
#footer a {
	color:#999999;
	text-decoration:none;
	}
	
	
.footer-col li.transport {
	background-image:url(../images/footer-transport.gif);
	}
	
.footer-col li.firstaid {
	background-image:url(../images/footer-firstaid.gif)
	}
	
.footer-col li.marine {
	background-image:url(../images/footer-marine.gif)
	}
	
.footer-col li.scc {
	background-image:url(../images/footer-scc.gif)
	}
	
.footer-col li.xxx {
	background-image:url(../images/footer-xxx.gif)
	}
	
	
.footer-col li.address {
	background-image:url(../images/footer-address.gif);
	line-height:20px;
	height:auto;
	padding-top:10px;
	margin-bottom:20px;
	}
	
.footer-col li.phone {
	background-image:url(../images/footer-phone.gif);
	line-height:20px;
	margin-bottom:20px;
	}
	
.footer-col li.email {
	background-image:url(../images/footer-email.gif);
	margin-bottom:20px;
	}
	
.footer-col li.opening {
	background-image:url(../images/footer-opening.gif);
	line-height:20px;
	margin-bottom:40px;
	}
	
#footer-left,
#footer-mid {
	margin-right:40px;
	}
	
#footer-right iframe {
	height:340px
	}
	
#footer p {
    margin-bottom: 0;
    width: 50%;
	margin-top:10px;
	font-size:12px;
}

#footer p.copyright {
    float: left;
}

#footer p.aztecmedia {
    float: right;
    text-align: right;
}

#footer .social {
	padding-left:0;
}

#footer .facebook,
#footer .twitter {
	display:block;
	text-indent:-25000px;
	width:40px;
	height:40px;
	background:url(../images/facebook.png) no-repeat top left;
	float:left;
}

#footer .twitter {
	background:url(../images/twitter.png) no-repeat top left;
	margin-left:20px;
	display:none /*---- Unhide when they have social mdeia sorted-----*/

}

#footer .facebook:hover,
#footer .twitter:hover {
	background-position: 0 -40px;
}

@media screen and (max-width: 960px) {
	#footer-left, #footer-mid {
		margin-right: 0;
		width:50%;
	}
	#footer-right {
		margin:auto;
		float:none;
		width:50%;
	}
}

@media screen and (max-width: 630px) {
	.footer-col {
		float:none;
		margin:auto !important;
		margin-bottom:20px !important
	}
}

@media screen and (max-width: 480px) {
	.footer-col {
		width:100% !important;
	}
}