/* CSS Document for Premier Driving School
Author: E-Moxie Data Solutions, Inc.
Author URI: http://www.emoxie.com
Copyright (c) 2014
*/

/* Browser Reset Styles ================= */
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, img, 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 {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}
caption, th, td {
    text-align: left;
    font-weight: normal;
    line-height: 20px;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}

:focus {
    outline: 0;
}
body {
    line-height: 1;
    color: black;
    background: white;
}
ol, ul {
    list-style: none;
}
strong {
    font-weight: bold;	
}
small {
    font-size: 75%;	
}
em {
    font-style: oblique;	
}

/* Basic Definitions ==================== */
body {
    margin: 0;
    padding: 0;
    font-family: "Arial", Helvetica, sans-serif;
    font-size: 16px;
    color: #000;
    background: #fff;
}

a:link, a:visited, a:active {
    color: #131e42;
    font-weight:bold;
}

p {
    font-size:16px;
    font-family: Arial, sans-serif;
    line-height: 22px;
    padding-top:5px;
    padding-bottom:5px;
}

ul {
    margin-top:20px; 
    margin-bottom:20px;
}

li {
    margin-bottom:10px;

}


/* Headings ============================== */
h1 {
    font-family: 'Asap', sans-serif;    
    color: #131e42;
    font-size:36px;
    margin-bottom:20px;
}

h2 {
    font-family: 'Asap', sans-serif;
    font-weight: bold;
    color: #2c376e;
    font-size: 30px;
    margin-bottom:5px;
    margin-top: 20px;
}

h3 {
    font-family: 'Asap', sans-serif;
    font-weight: normal;
    color: #2c376e;
    font-size: 22px;
    margin-bottom:5px;
    margin-top: 30px;    
}

h4 {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    color: #000;
    font-size: 14px;
    margin-bottom:5px;
    margin-top:10px;
}

/* Classes ============================== */
.clear {
    clear: both;
    height:1px;
}
.left {
    float: left;
}
.right {
    float: right;
    margin-left: 25px;
}

.section {
    clear:both;
    padding-top:40px;
    padding-bottom:40px;

}
/* Grid ============================== */

.grid .col-1-4 ul li a {
    text-decoration:none;
    font-weight:normal;
}
.grid .col-1-4 ul li a:hover {
    text-decoration: underline;
}
/* Forms ================================ */

fieldset {
    padding:30px 0;
    margin-bottom:30px;
}

legend {
    font-size:24px;
    font-weight:bold;
    padding:10px;
    background-color: #fefefe;
    color:#666;
}

label {
    display:block; 
    font-size:12px;
    color:#666;
}
.text-long {width:33.3%}
.text-xlong {width:100%}
label input {display:block;}


input[type=text], input[type=email], input[type=password], textarea, select { 
    border:1px solid #aaa;
    border-radius:2px;
    padding:15px;
    font-size:16px;
    min-height:30px;
    color:#007b9f;
    font-weight: bold;
    width:100%;
}
#contact input, textarea {width:90%}

input:focus, textarea:focus {
    background: #fff; 
    border:1px solid #555; 
    box-shadow: 0 0 3px #aaa; 
}

/* Header =============================== */
#header-wrap {
    height:78px;
    background-color: #131e42;
    clear: both;
    border-bottom:5px solid #fff;
    margin-bottom:30px;
}
#home #header-wrap, #locations #header-wrap, #schedules #header-wrap, #contact #header-wrap {margin:0; height:83px;}

#interior #header-wrap {height:83px;}
#header {
    width: 960px;
    margin: 0 auto;
    clear: both;
}

.logo {
    float:left;
    padding-top:20px;
}


/* Navigation =========================== */


#header-nav {
    float:right;
    margin:0;
}

#header-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#header-nav a:link,
#header-nav a:visited {
    color: #ffffff;
    text-decoration: none;
}

#header-nav a {
    display: block;
    padding: 6px 8px;
}

#header-nav li {
    float: left;
    color:#fff;
    font-size: 18px;
    font-family: 'Asap', sans-serif;
    text-decoration: none;
    padding:0 10px;
    text-transform: uppercase;
    font-weight:bold;
    display:block;
    line-height:66px;
    position: relative;
}

#header-nav ul li:last-child {
    background-color:#fed33c;
}

#header-nav ul li:last-child:hover {
    background-color:#ffc600;   
}

#header-nav ul ul li:last-child, #header-nav ul ul li:last-child:hover {
    background-color:transparent;
}


#header-nav li li{
    width: 260px;
    padding:0;
    margin:0;
    line-height:18px;
    text-transform: none;
    margin-bottom:4px;
}
#header-nav li li a:link, #header-nav li li a:visited {
    font-weight:normal;
} 

#header-nav li li:last-child a:visited, #header-nav li li:last-child a:link {
    color:#fff;
    font-weight:normal;

}

#header-nav li ul {
    background-color: #0f1835;
    margin-left:-30px;
    padding:0;

}
#header-nav li:hover, #header-nav .current {
    background-color: #0f1835;
}
#header-nav li li:hover {
    text-indent: 2px;
}  


#header-nav ul ul  {
    position: absolute;
    visibility: hidden;
    z-index:999999;
}

#header-nav ul ul ul{
    position: absolute;
    left: 100%;
    top: -2px;
    border: solid 1px transparent;
} 

#header-nav li:hover > ul {
    visibility: visible;
    z-index:999999;
}



/* Content ============================== */

a.btn, input[type=submit].btn {
    display: inline-block;
    padding:15px 40px;
    border:0;
}

a.blue {
    background-color: #131e42;
    color: #fff;
    text-decoration:none;
    transition: background-color .3s;    
}

a.red, input[type=submit].red {
    background-color: #ce392a;
    color: #fff;
    text-decoration:none;
    transition: background-color .3s;    
}
a.red:hover, input[type=submit].red:hover {
    background-color: #8a261b!important;
    cursor:pointer;
}
a.large, input[type=submit].large {
    font-size: 18px;
    font-weight:bold;
}

a.small {
    font-size: 12px;
    font-weight:bold;
    padding:1px 10px;

}

a.btn:hover {
    background-color: #f1b500;
}


#container, .hero {
    width: 960px;
    margin: 0 auto;    
}

.hero {
    background: url('/images/hero-keys.png') no-repeat bottom right;
    height:362px;
}

.hero-wrap {
    background: url('../images/hero-bg.png');
    height:362px;
    /*    margin-top: -10px;    */
    margin-bottom:80px;
}

.hero-text {
    float:left;
    width:500px;
}

.hero-text h1 {
    font-family: 'Asap', sans-serif;
    font-weight:400;
    font-size:36px;
    margin-top:40px;
    color:#fff;
    line-height:40px;
}

.cta-banner {
    margin-top:75px;
    margin-bottom:100px;
    text-align:center;
    height:1px;
    background: #000;
}
.cta-banner a {
    padding: 15px 50px;
    background: #ffe400;
    display: inline-block;
    margin-top: -25px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: #2e3655;
    transition: all .3s ease;

}

.cta-banner a:hover { 
    background: #efd600;
}

.location-holder h3 {
    text-transform:uppercase;

}
.location-holder {
    border-right:1px solid #ccc;
    border-bottom:1px solid #ccc;
    height:275px;
    padding-left:20px;
    padding-top:20px;
}

.location-holder:first-child, .location-holder:nth-child(5) {
    padding-left:0;
}


.location-holder p {
    font-size:12px;
    line-height:16px;
}

.location-course-holder {
    margin-top:40px;
    margin-bottom:10px;
    border-bottom:5px solid #ccc

}

.styled {
    width: 250px;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #999;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000;
}

.styled_table {
    border-top: 1px solid #ddd;
    margin-bottom:40px;
}

.styled_table tr th {
    background: #ddd;
    padding: 0px 20px;
    height: 29px;
    line-height: 29px;
    border-top: 1px solid #ddd;
    color:#333;
}

.styled_table tr td {
    background: #fbfbfb;
    padding: 0px 20px;
    height: 29px;
    line-height: 29px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.styled_table tr.odd td {
    background: #fbfbfb;
}
.styled_table tr.sub td {
    background: #eefbff;
    font-size:10px;
}

.styled_table tr:hover td { background: #fdfcf6; }

.styled_table .action {
    text-align: right;
    padding: 0 20px 0 10px;
}

.styled_table tr .action a { margin: 0 0 0 10px; text-decoration: none; color: #9b9b9b; }
.styled_table tr:hover .action .edit, a.edit:hover { color: #c5a059; }
.styled_table tr:hover .action .delete, a.delete:hover { color: #a02b2b; }
.styled_table tr:hover .action .view, a.view:hover { color: #55a34a; }

.styled_table tr:hover .action a:hover { text-decoration: underline; }


li.arrow {
    background: url('/images/bullet.png') no-repeat left top;
    height: auto;
    padding-left: 44px;
    line-height: 20px;
    min-height: 29px;
}





/* Footer ================================ */
#footer-wrap {
    background-color: #131e42;

}
#footer {
    width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align:center;
    color:#fff;
}

#footer a {
    color:#fff; 
    text-decoration:none;
}
#footer .copyright {
    margin-bottom:10px;
}

#footer .nav {
    padding:0; 
    margin-bottom:30px;
}

#footer .nav li {
    display:inline-block;
    padding-right:10px;
}
#footer .nav li a {
    color:#fff;
    font-size:14px;
    font-family: 'Asap', sans-serif;
}

ul.course-classes {
    margin-left:20px;
    width:350px;
}
ul.course-classes li {
    border-bottom:1px dashed #ccc;
    padding:10px;
}


input[type=radio].css-checkbox {
    display:none;
}

input[type=radio].css-checkbox + label.css-label {
    padding-left:50px;
    height:37px; 
    display:inline-block;
    line-height:37px;
    background-repeat:no-repeat;
    background-position: 0 0;
    font-size:37px;
    vertical-align:middle;
    cursor:pointer;

}

input[type=radio].css-checkbox:checked + label.css-label {
    background-position: 0 -37px;
}

label.css-label {
    background-image:url(http://csscheckbox.com/checkboxes/u/csscheckbox_98d68749b69f8dfb5716f5200f3a7276.png);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.age_calc_container {
    margin:0 auto;
    /*border-top:10px solid #ccc;*/
    /*border-bottom:10px solid #ccc;*/
    padding:20px;
}

.age_calc_container h3 {
    margin-top:0px;
}

.age_calc_container .provisional-license-date,
.age_calc_container .learners-permit-date,
.age_calc_container .full-license-date {
    color:red;
    font-weight:bold;
    display:block;
}

.age_calc_container input.dob-input {
    width:100%;
}

#inclimate, .alert {
    background: #9b1522;
    padding:10px;
    text-align:center;
    color:#fff;
    font-weight:bold;
}

#inclimate a, .alert a {
    color:#fff;
}

.graduate-photos iframe {
    width:100%;
    overflow:hidden;
}

p.lead {
    font-size: 18px;
    line-height: 28px;
    font-weight: bold;
    font-family: 'Asap', sans-serif;
}

.language-bar-wrap {
    background-color: #0f1835;
    height:40px;
}

.language-bar {
    padding-top:7px;
    width:960px;
    margin: 0 auto;
    text-align:right;
}