/*
Theme Name: Drive Right
Theme URI: www.driveright.nl
Description: Theme for Cap Living
Author: Sander @ Universal XS
Version: 1.0
*/

/***** GENERAL THINGS *****/
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}
body {
    font: 14px/20px Arial, sans-serif;
    color: #6c6c6c;
    background: #FFF url('images/bg-gradient.png') repeat-x;
}
body.home {
    background: #FFF url('images/bg-gradient-home.png') repeat-x;
}
#header {
    background: url('images/bg-header.png') no-repeat;
    height: 222px;
}
body.home #header {
    background: url('images/bg-frontpage.png') no-repeat;
    height: 392px;
}

h1, h2 {
    color: #1f6a8f;
    font-weight: bold;
}
h1 {
    font-size: 1.8em;
    line-height:120%;
}
h2 {
    font-size: 1.5em;
}

a {
    color: #1f6a8f;
    text-decoration: none;
}
a:hover {
    color: #6c6c6c;
}

#container, #footer {
    width: 940px;
    padding: 0 10px;
    margin: 0 auto;
}
#logo_wrapper
{
    padding-top: 30px;
}
#logo {
    background: url('images/logo-drive-right.png') left top no-repeat;
    width: 100%;
    height: 90px;
    display: block;
    font-size: 16px;
    color: #FFF;
    padding-bottom: 10px;
}
a#homepage_link
{
    display: block;
    color: white;
    padding-left:110px;
}
span#logo_title
{
    font-size: 22px;
    padding-top: 18px;
    display: block;
}
span#logo_subtitle
{
    font-size: 16px;
    display: block;
}
#gform_submit_button_1 {background-color: #1888b8; color: #fff; font-weight: bold; cursor: pointer;}
#gform_wrapper_1 .gform_footer {padding: 0 0 10px 31%;}

/*ul#menu-main {
    list-style: none;
    float: left;
    position: relative;
    margin: 0px;
    padding: 0px;
    margin-top: 30px;
}
ul#menu-main li {
    float: left;
}
ul#menu-main a {
    color: #FFF;
    text-shadow: 1px 1px 1px #000;
    font-size: 1.15em;
    font-weight: bold;
    padding: 10px;
    cursor: pointer;
}
ul#menu-main a:hover, .current-menu-item a {
    background: #439bc7;
}
ul#menu-main ul { 
    display: none; 
    margin: 0px;
    padding: 0px;
}
ul#menu-main li:hover ul { display: block; position: absolute;  top: 28px; width: 100%; }
ul#menu-main li:hover ul li { display: block; float: left; height: 40px; width: auto;  }
ul#menu-main li:hover ul li a { background: #444; padding: 10px; display: block; width: auto; } */

ul#menu-main {
    margin: 0px;
    padding: 0px;
    margin-top: 30px;
}
ul#menu-main li:hover, .current-menu-item {
    background: #439bc7;
}
ul#menu-main a {
    color: #FFF;
    text-shadow: 1px 1px 1px #000;
    font-size: 0.95em;
    font-weight: bold;
    cursor: pointer;
}
ul#menu-main li:hover ul {}
ul#menu-main li:hover ul li { background: #444; }
ul#menu-main li:hover ul li a { }
ul#menu-main li:hover ul li:hover
{
    background: #439bc7;
}
   

#footer_wrap {
    background: #47a1cd;
    overflow: auto;
    clear: both;
    font-size: 0.75em;
}
#footer {
    overflow: auto;
    padding-bottom: 10px;
}
#sitemap, #footer_contact {
    width: 470px;
    float: left;
    color: #FFF;
}
#footer h2 {
    color: #FFF;
    text-shadow: 1px 1px 1px #000;
}
#footer a {
    color: #FFF;
}
#footer a:hover {
    text-decoration: underline;
    color: #6c6c6c;
}
#content_fp {
    float: right;
    width: 460px;
}
#content_fp img {
    margin-top: 1em;
}
#content_fp h1 {
    background: #EFEFEF;
    padding: 0.5em;
    margin: 0;
}
#contact_form {
    position: relative;
    top: -100px;
    width: 440px;
    margin-right: 10px;
    padding: 10px;
    float: left;
    background-color: #cfcfcf;

    background-image: -o-linear-gradient(bottom, rgb(207,207,207) 0%, rgb(237,237,237) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(207,207,207) 0%, rgb(237,237,237) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(207,207,207) 0%, rgb(237,237,237) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(207,207,207) 0%, rgb(237,237,237) 100%);

    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(207,207,207)), color-stop(1, rgb(237,237,237)));
    background-image: linear-gradient(bottom, rgb(207,207,207) 0%, rgb(237,237,237) 100%);
    box-shadow: inset 0 0 3px #FFF, 0 0 25px rgba(0,0,0, 0.5);
}
#contact_form .title {
    display: block;
    background: #8bb1c4;
    font-size: 1.25em;
    line-height: 1.5em;
    color: #FFF;
    text-shadow: 1px 1px 1px #444;
    padding: 25px;
}
#contact_form dl {
    padding: 15px;
}
#contact_form dd, #contact_form dt {
    float: left;
    margin: 0 0 1em 0;
}
#contact_form dt {
    width: 85px;
    clear: both;
}
#contact_form input, #contact_form textarea {
    border: 1px solid #c0c0c0;
    padding: 6px;
    width: 63%;
}
#contact_form input[type=submit] {
    clear: both;
    float: right;
    padding: 10px 0;
    width: 85px;
}
#contact_form input[type=submit]:hover {background-color: #8bb1c4;}
#content_main {
    width: 460px;
    margin-left: 10px;
    float: left;
}

#content p {
    overflow: auto;
}
#gform_wrapper_1 {padding: 20px;}
form p {
    overflow: visible !important;
    background: none !important;
}
#content h2 {
    background: #efefef;
    margin: 0;
    padding: 0.67em 0 0.67em 0.67em;
}

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto}

#widgets3 {
    clear: both;
}
#widgets3 > div {
    width: 280px;
    background: #e2e2e2;
    float: left;
    margin: 0 0 1em 20px;
    padding: 0 10px 10px 10px;
}
#widgets3 > div:first-child {
    margin-left: 0;
}
#widgets3 h3 {
    color: #1f6a8f;
    margin: 10px 0;
}
div.bottom_widgets
{
    min-height: 150px;
}
.bold
{
    font-weight: bold;
}
#maps {float: right;}
#footer a:hover
{
color: white !important;
}
.button_holder
{
    text-align: center;
    padding-bottom: 20px;
}
div.css3button {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #050505;
    padding: 10px 20px;
    background: #05acfa; /* Old browsers */
    background: -moz-linear-gradient(top,  #05acfa 0%, #1f6a8f 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#05acfa), color-stop(100%,#1f6a8f)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #05acfa 0%,#1f6a8f 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #05acfa 0%,#1f6a8f 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #05acfa 0%,#1f6a8f 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #05acfa 0%,#1f6a8f 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#05acfa', endColorstr='#1f6a8f',GradientType=0 ); /* IE6-9 */

    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
    border: 3px solid #000000;
    -moz-box-shadow:
        0px 1px 3px rgba(000,000,000,0.5),
        inset 0px 0px 1px rgba(255,255,255,0.7);
    -webkit-box-shadow:
        0px 1px 3px rgba(000,000,000,0.5),
        inset 0px 0px 1px rgba(255,255,255,0.7);
    box-shadow:
        0px 1px 3px rgba(000,000,000,0.5),
        inset 0px 0px 1px rgba(255,255,255,0.7);
    text-shadow:
        0px -1px 0px rgba(000,000,000,0.4),
        0px 1px 0px rgba(255,255,255,0.3);
        width:100px;
    margin: 0px auto;
}
div.css3button a
{
    color: black !important;
}
div.css3button a:hover
{
    color: white !important;
}
iframe
{
    width: 936px;
    min-height: 500px;
    
}
/*fees*/
td.left
{
    width:80%;
}
td.left_left
{
    width:40%;
}
td.left_right
{
    width:40%;
}
td.right
{
    width:20%;
    text-align: right;
    font-weight: bold;
}
table.packages td.left
{
    width: 23%;    
}
table.packages td.right
{
    width: 10%;
}
table.packages td
{
    padding: 0px 1% 0px 1%;
}
table.packages
{
    margin-top: 15px;
    margin-bottom: 15px;
}
span.sign
{
    float:left;
}
td.small
{
    font-style: italic;
    font-size: 12px;
}
h2
{
    clear: both;
}
ul.fees
{
    width: 100%;
    display: block;
    list-style: none;
    margin: 0px;
    padding: 0px;
}
ul.fees li
{
    width: 100%;
    display: block;
    margin: 0px;
    padding: 0px;
    margin-top: 10px;
    margin-bottom: 10px;
    float: left;
    clear: both;
}
ul.fees li table
{
    width: 48%;
    float: left;
    margin-left: 1%;
    margin-right: 1%;
}

ul.fees td
{
    vertical-align: top;    
}

nav {
        
}

nav ul ul {
    display: none;
}

    nav ul li:hover > ul {
        display: block;
    }


nav ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
    position: relative;
    display: inline-table;
    z-index:999;
}
    nav ul:after {
        content: ""; clear: both; display: block;
    }

    nav ul li {
        float: left;
        padding: 6px;
        z-index:999; 

    }
        nav ul li:hover {
            
        }
            nav ul li:hover a {
                display: block;
                cursor: pointer;    
            }
        
        nav ul li a {
            cursor: pointer;
            display:block;

        }
            
        
    nav ul ul {
        border-radius: 0px; 
        padding: 0;
        position: absolute; 
        top: 100%;
        margin-left: -10px;
        z-index:999;
    }
        nav ul ul li {
            float: none; 
            position: relative;
            padding: 10px;
            z-index:999;
            display: block;
        }
            nav ul ul li a {  
                display: block;   
            }    
                nav ul ul li a:hover {
                   /* display: block; */   
                }
        
    nav ul ul ul {
        position: absolute; 
        left: 100%; 
        top:0;
        z-index:999;
        width: 100%;
    }
    
    nav ul ul ul li
    {
        width: auto;
        margin-left: 10px; 
        z-index:999;
        float: none; 
        position: relative;
        width:100%;
        
    }
    
    nav ul ul ul ul li
    {
      /* margin-left: 10px;*/ 
       float: none; 
       position: relative;
    }

    nav ul ul ul ul li a
    {
        /*width: auto;
        display: block;*/
    }
    
ul#custom_recent_posts
{
    display: block;
    clear: both;
    width: 100%;
    list-style: none;
}

/*PAUL BEGIN GRAVITY FORMS */
label.hide-label, .hide-label label{
    display: none !important;
}
.hide-label > div.ginput_container{
    margin-top: 28px !important;
}
/*PAUL END GRAVITY FORMS */

/*PAUL BEGIN WOOCOMMERCE*/
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary{
    float: left !important;
    width: 100% !important;
    clear: both !important;
}
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{
    background-color: #1f6a8f !important;
}
.woocommerce td.product-name dl.variation dt {
    /* float: left; */
    /* clear: both; */
    /* margin-right: .25em; */
    /* display: inline-block; */
    /* list-style: none outside; */
    float: none !important;
    clear: none !important;
    margin-right: 0px !important;
    display: inherit !important;
}
dl.variation {
    display: flex !important;
    flex-flow: row;
    flex-wrap: wrap;
    overflow: visible;
}
dl.variation dt {
    flex: 0 0 50%;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-top: 10px !important;
    font-weight: bold;
}
dl.variation dd {
    flex:0 0 50%;
    margin-left: auto;
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-top: 10px !important;
}
dl.variation dd p {
    margin: 0px !important;
}

.wc-proceed-to-checkout {
    margin-bottom: 50px;
}

/*checkout*/

#add_payment_method #payment ul.payment_methods li, .woocommerce-cart #payment ul.payment_methods li, .woocommerce-checkout #payment ul.payment_methods li{
    margin-bottom: 10px !important;
}
#add_payment_method #payment ul.payment_methods li img, .woocommerce-cart #payment ul.payment_methods li img, .woocommerce-checkout #payment ul.payment_methods li img{
    float: right;
}
#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    margin: 3em 0 !important;
}
.woocommerce .single-product .product_meta .sku_wrapper{
    display: none;
}
/*end checkout*/
/*PAUL END WOOCOMMERCE*/
