/*
	Theme Name: Beyond Driving
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

@font-face {
  font-family: 'beyond-driving';
  src: url('fonts/beyond-driving.eot?32538512');
  src: url('fonts/beyond-driving.eot?32538512#iefix') format('embedded-opentype'),
       url('fonts/beyond-driving.woff?32538512') format('woff'),
       url('fonts/beyond-driving.ttf?32538512') format('truetype'),
       url('fonts/beyond-driving.svg?32538512#beyond-driving') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'beyond-driving';
    src: url('../font/beyond-driving.svg?32538512#beyond-driving') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "beyond-driving";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
     
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-right-circled:before { content: '\e804'; } /* '' */
.icon-mobile:before { content: '\e802'; } /* '' */
.icon-facebook-squared:before { content: '\e803'; } /* '' */
.icon-attention:before { content: '\e800'; } /* '' */
.icon-phone-circled:before { content: '\e801'; } /* '' */

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

html, body {
	height: 100%;
}

html {
}

body {
	font:300 15px/1.5 "jaf-facitweb", 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#222;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	text-decoration:none;
	color: #00adeb;
}
a:hover {

}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

body {
	background: url(img/bg.jpg) center top;
	background-size: cover;
	overflow-y: scroll;
}

/* wrapper */
.wrapper {
	width:1100px;
	margin:0 auto;
	position:relative;
	background: #fff;
	min-height: 100%;

}

/* Top Bar */

.top-bar {
	background: #444;
	color: #fff;
	font-size: 12px;
	padding: 8px 10px;
}

.top-bar a {
	color: #fff;
	text-decoration: underline;
}

.lang-select {
	float: left;
}

.lang-select a {
	font-weight: 600;
}

.phone {
	float: right;

}

/* header */
.header {
background: #f5f5f5;
padding: 40px;
}
/* logo */
.logo {

}


.logo a {
background: url(img/logo.png);
display: block;
width: 210px;
height: 125px;
}


.logo-img {

}

/* nav */

nav[role="navigation"] {
	background: #333;
	line-height: 1.3;
}

nav[role="navigation"] > ul {
	margin: 0;
	padding: 0;
	background: #ccc;
	list-style-type: none;
	}

nav[role="navigation"] > ul > li {
	float: left;
	position: relative;
}

nav[role="navigation"] .menu-item-has-children > a:after {
	content: "\00a0\00a0\25BE";
}

nav[role="navigation"] li a:hover {
	background: #00adeb;
	color: #fff;
	transition: all .2s ease-in;  
}

nav[role="navigation"] > ul > li > a {
display: block;
padding: 14px 19px;
color: #fff;
}

nav[role="navigation"] a:hover {
/*	text-decoration: underline; */
}

.current_page_item {
	background: #00adeb;
}

nav[role="navigation"] ul .current_page_item a {
color: #fff;

}

nav[role="navigation"] .sub-menu {
	position: absolute;
	height: 0;
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

nav[role="navigation"] > ul > li:hover .sub-menu {
	height: auto;
		transition: all .2s ease-in;  
}

nav[role="navigation"] .sub-menu li a {
	padding: 14px 19px;
	display: block;
	color: #fff;
	background: #333;
}

nav[role="navigation"] .sub-menu li a:hover {
		background: #00adeb;
	color: #fff;
		transition: all .2s ease-in;  
}

nav[role="navigation"] .current_page_item a:hover,
nav[role="navigation"] .current_page_parent a:hover
 {
		background: #008dd2;
	color: #fff;
		transition: all .2s ease-in;  
}

nav[role="navigation"] .current_page_item .sub-menu a:hover,
nav[role="navigation"] .current_page_parent .sub-menu a:hover {
		background: #008dd2;
	color: #fff;
		transition: all .2s ease-in;  
}

nav[role="navigation"] .current_page_item .sub-menu li a,
nav[role="navigation"] .current_page_parent .sub-menu li a,
nav[role="navigation"] .current_page_parent a  {

	color: #fff;
	background: #00adeb;
}

.menu-item-has-children,
.menu-item-has-children > a {
	cursor: default;
}

.callout-front {
	margin: 0 0 30px 0;
	border-radius: 10px;
	overflow: hidden;
}



/* Main */

main[role="main"] {
	float: left;
	width: 650px;
	margin: 40px;
}

main[role="main"] > section > h1 {
	display: none;
}

.intro {
font-size: 20px;
color: #333;
border-left: 5px solid #00adeb;
padding: 13px 20px;
background: #e1f7ff;
}

/* sidebar */
.sidebar {
float: right;
margin: 40px 40px 40px 0;
width: 330px;
}

.sidebar-widget-1 {
	
}

.sidebar-widget-1 .phone-sidebar {
	padding: 0;
color: #00adeb;
margin: 25px 0;
}

.sidebar-widget-1 .phone-sidebar i {
float: left;
font-size: 28px;
margin: 0 5px 0 0;
}

.sidebar-widget-1 #text-3 {
		padding: 20px;
	background: #f5f5f5;
	margin: 0 0 30px 0;
	}

.sidebar-widget-1 #text-3 h3 {
margin: 0 0 15px 0;
}


.sidebar-widget-1 #text-3 label {
font-size: 12px;
text-transform: uppercase;
color: #aaa;
}

.sidebar-widget-1 #text-3 input,
.sidebar-widget-1 #text-3 textarea {
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	border: 1px solid #dedede;
	padding: 5px 8px;
margin: 0 0 5px 0;
}

.sidebar-widget-1 #text-3 input[type="submit"] {
background: #00adeb;
padding: 5px;
margin: 15px 0 0 0;
color: #fff;
font-weight: bold;
border: 0;
border-radius: 3px;
border-bottom: 2px solid #008dd2;
}

.sidebar-widget-1 #text-3 textarea {
	height: 80px;
}

.sidebar-widget-1 #text-3 p {
	margin: 0;
	padding: 0;
}

.contact-form {
	padding: 20px;
	background: #f5f5f5;
	width: 60%;
}

.contact-form label {
font-size: 12px;
text-transform: uppercase;
color: #aaa;
}

.contact-form input[type="submit"] {
background: #00adeb;
padding: 5px;
margin: 15px 0 0 0;
color: #fff;
font-weight: bold;
border: 0;
border-radius: 3px;
border-bottom: 2px solid #008dd2;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	border: 1px solid #dedede;
	padding: 5px 8px;
margin: 0 0 5px 0;
}

.contact-form textarea {
	height: 80px;
}

.contact-form p {
	margin: 0;
	padding: 0;
}

.contact-form input[type="submit"] {
background: #00adeb;
padding: 5px;
margin: 15px 0 0 0;
color: #fff;
font-weight: bold;
border: 0;
border-radius: 3px;
border-bottom: 2px solid #008dd2;
}


div.wpcf7 img.ajax-loader {
position: absolute;
}

span.wpcf7-not-valid-tip {
color: #f00;
font-size: .75em;
display: block;
margin: 0 0 5px 0;
}

div.wpcf7-validation-errors {
border: 2px solid #f7e700;
background: #f7e700;
}

div.wpcf7-response-output {
margin: 15px 0 0 0;
padding: 12px 15px;
font-size: 14px;
}

div.wpcf7-mail-sent-ok {
border: 2px solid #1bdaa0;
background: #1bdaa0;
color: #fff;
}

.quiz {
	margin: 10px 0 0 0;
}

.quiz .wpcf7-quiz-label {
float: left;
line-height: 33px;
color: #777;
}

.quiz input {
	float: right;	
	width: 80% !important;
}

/* footer */
.footer {
clear: both;
margin: 0 40px;
font-size: 12px;
color: #999;
text-align: center;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

blockquote {
margin: 0 0 30px 0;
font-size: 16px;
color: #222;
background: #f5f5f5;
padding: 15px 30px;
}

.warning {
background: #fff0f0;
padding: 1px 15px 1px 75px;
position: relative;
line-height: 1.3;
font-size: 14px;
margin: 1em 0;
clear: both;
}

.warning i {
position: absolute;
left: 16px;
top: 50%;
font-size: 32px;
margin-top: -19px;
color: #ED1C24;
}

/*------------------------------------*\
    CALENDAR
\*------------------------------------*/


#calarea_5 {
float: left;
margin: 0 0 15px 0;
}

.nde-st-george,
.nde-five-dock {
display: inline-block;
border-radius: 5px;
padding: 10px 16px;
background: #eee;
font-size: 20px;
font-weight: bold;
color: #fff
}

.nde-st-george {
background-color: #00adeb;
}

.nde-five-dock {
background-color: #eb0f2d;
}

.nde-calendar {
	padding: 30px;
	background: #f5f5f5;
	position: relative;
}

.calendar-venue {
position: absolute;
bottom: 30px;
left: 30px;
}

.nde-calendar > p,
.nde-calendar > br {
	display: none;
}

#calarea_1,
#calarea_4 {
	float: left;
}

.calendar-details {
	float: right;
	width: 322px;
}

.calendar-details label {
	display: block;
	color: #999;
	text-transform: uppercase;
	font-size: 14px;
}

.calendar-details input,
.calendar-details textarea {
	border: 1px solid #ddd;
	width: 100%;
	margin: 3px 0 10px 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 6px 9px;	
}

.calendar-details textarea {
	height: 120px;
}

.calendar-details input.cp_subbtn {
	border: 0;
background: #00adeb;
color: #fff;
font-weight: bold;
border-radius: 5px;
border-bottom: 3px solid #005b9a;
margin: 20px 0 0 0;
}

.cell, .cell12 {
	border: 0 !important;
	padding: 5px 0 !important;
}

.yui-panel .hd {
	background: #dedede !important;
	border: 0 !important;
}

.yui-panel .hd, .yui-panel .bd, .yui-panel .ft {
	border: 0 !important;
}

.cell12 {
width: 86px !important;
}

.yui-panel {
	border: 0 !important;
}

.yui-calcontainer {
	border: 0 !important;
	background: #f5f5f5 !important;
}

.yui-calcontainer.multi {
	padding: 0px !important;
	background: #f5f5f5 !important;	
}

.yui-calcontainer.multi .groupcal {
	padding: 0 !important;
}

.yui-calendar .calhead {
	border: 0 !important;
	background: #f5f5f5 !important;
}

.yui-calendar td.calcell.restricted {
	text-align: center !important;
	cursor: default !important;
	color: #999 !important;
	background-color: #EEE !important;
	border: 1px solid #E0E0E0 !important;
}

.yui-calendar td.calcell {
	padding: 7px 9px !important;
}

.yui-calendar .calheader {
	line-height: 35px !important;
font-size: 16px !important;
margin: 0 0 5px 0 !important;
}

.yui-calendar td.calcell.oom {
cursor: default !important;
color: #bbb !important;
background-color: #e0e0e0 !important;
border: 1px solid #E0E0E0 !important;
}

.yui-calendar td.calcell {
background: #00adeb !important;
border: 0 !important;
}

.yui-calendar td.calcell a {
color: #fff !important;
font-weight: bold !important;
}

.yui-calendar .calnavright {
	top: 10px !important;
	right: 7px !important;
}

.yui-calendar .calnavleft {
	top: 10px !important;
	left: 7px !important;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

h1, h2, h3, h4, h5 {
	font-family: "cubano";
	line-height: 1;
	color: #333;
	font-weight: normal;
	letter-spacing: -.01em;
}

h1 {
	margin: 0;
	font-size: 40px;
}

h2 {
	margin: 40px 0 0 0;
	font-size: 32px;
}

h4 {
	margin: 0 0 15px 0;
	font-size: 18px;
}


/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#00adeb;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#00adeb;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#00adeb;
	color:#FFF;
	text-shadow:none;
}

.cf:before,
.cf:after {
    content: " ";
    display: table; 
}

.cf:after {
    clear: both;
}

.m {
	display: none;
}

/*------------------------------------*\
    PHONE
\*------------------------------------*/

@media only screen and (max-width:768px) {

.d {
	display: none;
}

.m {
	display: block;
}

.logo a {
	margin: 0 auto;
	width: 168px;
	height: 100px;
	background-size: contain;
}

.header {
	padding: 30px;
}

.wrapper {
	width: 320px;
}

main[role=main] {
	margin: 30px;
	width: 260px;
}

.sidebar {
	margin: 0 30px 30px 30px;
	width: 260px;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 24px;
}

nav[role="navigation"] {
	width: 100%;
	overflow: hidden;
}

nav[role="navigation"] > ul {
	background: #333;
}

nav[role="navigation"] > ul > li {
	float: none;
}

nav[role="navigation"] .sub-menu {
	position: relative;
}

nav[role="navigation"] .sub-menu li a {
background: #444;
}

.nav-handle {
	cursor: pointer;
text-align: right;
padding: 15px 20px;
background: #292929;
color: #fff;
font-weight: bold;
font-size: 14px;
}

.main-nav {
	display: none;
}

.contact-form {
	width: 100%;
}

blockquote {
padding: 1px 20px;
}

.quiz input {
float: right;
width: 70% !important;
}

p.copyright {
	margin: 2em 0;
}

.phone-sidebar {
	font-size: 12px;
}

iframe {
	max-width: 100%;
}

.nde-calendar {
	padding: 11px;
}

.calendar-venue {
position: relative;
bottom: 0px;
left: 0px;
clear: both;
padding: 2px 0 0 0;
}

.calendar-details {
width: 238px;
}

}