/*  
    Theme Name: Core Borgman 2015
    Theme URI: https://www.what-if.com
    Description: Website design and layout for Borgman Ford Mazda
    Author: The Imagination Factory
    Template: IFICore
    Version: 1.0
*/

/* ============ X. Main Styles ============ */ 

html { 
    height: 100%;      
}

body {
    min-height: 100%;
    background: #eee;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #555;
}

h1, h2, h3, h4, h5 {font-family: 'Raleway', sans-serif; color: #0079b7;}

a {color: #009dee;}

hr {
    color: #d5d5d5;
    background-color: #d5d5d5;
    height: 1px;
    border: 0;
}

small {font-size: 12px;}

.paged-nav a {border-radius: 0; background-color: #0a72ae;}
.paged-nav .current {border-radius: 0; background-color: #afddf5; border: none; font-size: .9em; padding: 7px 10px; color: #2274a3;}
.paged-nav a:hover {border-radius: 0; background-color: #22a9de;}


.sv-table {margin: 10px 5px;}
.sv-table td,
.sv-table th {padding: 5px;}
.sv-table th {background: #fff !important;}
.sv-table tr:nth-child(odd) {background: #f7f7f7;}


.tooltip {
    position: relative;
    display: inline;
    color: #0079B7;
    text-decoration: underline;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 300px;
    background-color: #57616B;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;

    /* Position the tooltip */
    position: absolute;
    width: 300px;
    bottom: 100%;
    left: 50%; 
    margin-left: -150px;
    z-index: 1;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
}

.entry .btn {
    border-radius: 0px;
    background: #c20c28;
}

.entry .btn:hover {
    background: #222;
}

.entry .block-btn {
    padding: 10px 20px;
    font-size: 1.125em;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* ============ X. Header ============ */

#header-container {background: #C10C28;}

#header {background: url(images/header.png) no-repeat 0 0; height: 132px;}
#header-container {height: 150px; margin-bottom: 10px;}
#header #top-logo img {margin: 6px 8px;}

#header .social-links {right: 136px; top: 65px;}
#header .social-links img {width: 30px; height: auto; margin-right: 2px;}
#header .social-links img:hover {opacity: .7;}

#header .make-logos {position: absolute; right: 13px; top: 18px;}

#header .logo-rotate {
    display: block;
    position: relative;
    height: 100px;
    width: 100px;
}

#header .logo-rotate img {
    width: 100px; 
    height: auto;
    position: absolute;
    left: 0;
    top: 0;
}

#header .contact-info {top: 17px; right: 140px; color: #fff; font-size: .9em;}

#header .contact-info a {text-decoration: none; color: #fff;}

#header .custom-txt {left: 320px; top: 35px; text-align: center; color: #fff;}
#header .custom-txt a {text-decoration: none; font-size: .9em; color: #fff;}
#header .custom-txt .vsp {font-size: 22px; font-family: "Trebuchet MS", Helvetica, sans-serif; text-shadow: 2px 1px 1px #000; letter-spacing: 1px;}


/* ============ X. Navigation ============ */

/* Tried to add a home icon to replace the 'Home' navigation label */

/* #mainnav .home-icon:before {
    font-family: "FontAwesome";
    content: '\f015';
    font-weight: normal;
    font-size: 16px;
} 

#mainnav .home-icon li a {
    font-size: 0px;
}

*/

#mainnav {
    height: 42px;
    background: #fff;
    border-bottom: 2px solid #C50C27;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 10px 10px;
    z-index: 100;
    
    
    /* background: -moz-linear-gradient(top,  #005e98 0%, #22a9de 2%, #16a1db 4%, #0a72ae 50%, #024f77 51%, #00397c 95%, #1c3c5d 98%, #1c3c5d 98%, #0d172d 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#005e98), color-stop(2%,#22a9de), color-stop(4%,#16a1db), color-stop(50%,#0a72ae), color-stop(51%,#024f77), color-stop(95%,#00397c), color-stop(98%,#1c3c5d), color-stop(98%,#1c3c5d), color-stop(100%,#0d172d));
    background: -webkit-linear-gradient(top,  #005e98 0%,#22a9de 2%,#16a1db 4%,#0a72ae 50%,#024f77 51%,#00397c 95%,#1c3c5d 98%,#1c3c5d 98%,#0d172d 100%);
    background: -o-linear-gradient(top,  #005e98 0%,#22a9de 2%,#16a1db 4%,#0a72ae 50%,#024f77 51%,#00397c 95%,#1c3c5d 98%,#1c3c5d 98%,#0d172d 100%);
    background: -ms-linear-gradient(top,  #005e98 0%,#22a9de 2%,#16a1db 4%,#0a72ae 50%,#024f77 51%,#00397c 95%,#1c3c5d 98%,#1c3c5d 98%,#0d172d 100%);
    background: linear-gradient(to bottom,  #005e98 0%,#22a9de 2%,#16a1db 4%,#0a72ae 50%,#024f77 51%,#00397c 95%,#1c3c5d 98%,#1c3c5d 98%,#0d172d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#005e98', endColorstr='#0d172d',GradientType=0 ); */
}

#mainnav li a {
    color: #6C6C6C;
    /* text-shadow: 0px 0px 4px #000; */
    line-height: 42px;
    /* border-left: 2px solid rgba(34, 169, 222, .12); 
    border-right: 2px solid rgba(34, 169, 222, .12); */
    font-size: 15px;
    font-weight: bold;
    margin-left: 0;
    background: #fff;
    /* background: -moz-linear-gradient(top,  #005e98 0%, #22a9de 2%, #16a1db 4%, #0a72ae 50%, #024f77 51%, #00397c 95%, #1c3c5d 98%, #1c3c5d 98%, #0d172d 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#005e98), color-stop(2%,#22a9de), color-stop(4%,#16a1db), color-stop(50%,#0a72ae), color-stop(51%,#024f77), color-stop(95%,#00397c), color-stop(98%,#1c3c5d), color-stop(98%,#1c3c5d), color-stop(100%,#0d172d));
    background: -webkit-linear-gradient(top,  #005e98 0%,#22a9de 2%,#16a1db 4%,#0a72ae 50%,#024f77 51%,#00397c 95%,#1c3c5d 98%,#1c3c5d 98%,#0d172d 100%);
    background: -o-linear-gradient(top,  #005e98 0%,#22a9de 2%,#16a1db 4%,#0a72ae 50%,#024f77 51%,#00397c 95%,#1c3c5d 98%,#1c3c5d 98%,#0d172d 100%);
    background: -ms-linear-gradient(top,  #005e98 0%,#22a9de 2%,#16a1db 4%,#0a72ae 50%,#024f77 51%,#00397c 95%,#1c3c5d 98%,#1c3c5d 98%,#0d172d 100%);
    background: linear-gradient(to bottom,  #005e98 0%,#22a9de 2%,#16a1db 4%,#0a72ae 50%,#024f77 51%,#00397c 95%,#1c3c5d 98%,#1c3c5d 98%,#0d172d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#005e98', endColorstr='#0d172d',GradientType=0 ); */
}

#mainnav li a:hover,
#mainnav li.mega-hover a,
#mainnav li.mega-hover a:hover {
    color: #fff;
    /* text-shadow: 0px 0px 4px #fff; */
    background: #C10C28;
    
    /* background: -moz-linear-gradient(top,  #ffffff 32%, #afafaf 81%, #d0d0d0 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(32%,#ffffff), color-stop(81%,#afafaf), color-stop(100%,#d0d0d0));
    background: -webkit-linear-gradient(top,  #ffffff 32%,#afafaf 81%,#d0d0d0 100%);
    background: -o-linear-gradient(top,  #ffffff 32%,#afafaf 81%,#d0d0d0 100%);
    background: -ms-linear-gradient(top,  #ffffff 32%,#afafaf 81%,#d0d0d0 100%);
    background: linear-gradient(to bottom,  #ffffff 32%,#afafaf 81%,#d0d0d0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d0d0d0',GradientType=0 ); */
}

#mainnav ul {
    margin: 0 auto;
    width: 960px;
}

/* #mainnav ul li:after {
    content: '';
    display: inline-block;
    line-height: 42px;
    background: rgba(12,43,72,.2);
    height: 42px;
    float: right;
    width: 1px;
} */

/* #mainnav li.menu-first a {
    border-radius: 9px 0 0 9px;
} */

#mainnav li.menu-last a {
    border-right: 0;
}

#mainnav li.menu-last:after {
    width: 0;
}

/* #mainnav ul:first-child a {border-left: 0;} */
/* #mainnav ul:last-child a {border-right: 0;} */

#mainnav li .sub {
    background: #242526;
    background-image: none;
    margin: 0;
    /* border-radius: 0 0 6px 6px; */
    padding: 5px;
}

#mainnav li .sub-container {
    margin-left: 0;
}

#mainnav li .sub-container.non-mega .sub {
    margin-top: 0;
    padding: 10px;
}

#mainnav li .sub a {
    background: transparent;
    background-image: none;
    color: #fff;
    /* text-shadow: 0 0 0;
    border-radius: 6px; */
    padding: 6px 10px;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
}

#mainnav li .sub a:hover {
    background: #c7c7c7;
    background-image: none;
    color: #242526;
    /* text-shadow: 0 0 0;
    border-radius: 6px; */
}


/* ============ X. Content ============ */

#content .subhdrint {display: none; visibility: hidden;}

#content-container {
    width: 960px;
    padding-top: 3px;
    /* border: 10px solid #e7e7e7;
    -webkit-box-shadow:
        inset 0 0 0 1px #fff,
        inset 0 0 0 2px #e7e7e7;
    -moz-box-shadow:
        inset 0 0 0 1px #fff,
        inset 0 0 0 2px #e7e7e7;
    box-shadow: 
        inset 0 0 0 1px #fff,
        inset 0 0 0 2px #e7e7e7; */
}

#content-container h1.blog-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    color: #222;
    border-bottom: 1px solid #c5c5c5;
    padding-bottom: 4px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    /* text-shadow: 0 0 1px rgba(0,0,0,.4); */
    font-size: 24px;
}

#content {margin-bottom: 10px;}

#content .post-title {margin-bottom: 4px; margin-top: 6px;}

#content .post-title,
#content .post-title a {color: #0079b7;}
#content .post-title a:hover {color: #009dee;}

#content-container section {padding: 0 1em 0 2em;}

#content .entry ul li {background: url(images/bullet-li.png) no-repeat left 7px;}
#content .entry ul ul li {background: url(images/bullet-li-li.png) no-repeat left 7px;}

.entry img {border: 0; padding: 0; max-width: 100%; height: auto; margin: 0 15px 8px 15px; padding-bottom: 1px;}
.entry img.alignnone {margin-left: 0; margin-right: 0;}
.aligncenter, .entry img.aligncenter, .entry .wp-caption.aligncenter {margin-left: auto; margin-right: auto;}

.entry .wp-caption.aligncenter {width: auto !important;}

.postmetadata {font-size: 13px; color: #777;}

.entry ul li {color: #206396;}


/* ============ X. Sidebar ============ */

#sidebar .searchbox {display: none; visibility: hidden;}

#sidebar .sidebar-buttons {margin-bottom: 10px;}
#sidebar .sidebar-buttons .btn {display: block; margin-bottom: 10px;}

#sidebar a.full-width,  
.upper-btn a.full-width {width: 100%; padding: 0;}

#sidebar #text-2 {background: transparent;}

#sidebar #text-2 a {border: 0; margin-bottom: 10px;}

#sidebar #text-2 a {box-shadow: 0 2px 3px -1px rgba(60,60,60,.3);}

#sidebar a.inventory-btn, 
.upper-btn a.inventory-btn,
#sidebar a.pdf-btn,
#sidebar a.tech-btn {
    line-height: 68px;
    color: #fff;
    overflow: hidden;
    border-bottom: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 400;
    text-shadow: 1px -1px 2px rgba(0, 0, 0, .3);
    background: #848484;
    background: -moz-linear-gradient(top,  #848484 0%, #6b6c70 50%, #5d5f60 51%, #373f47 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#848484), color-stop(50%,#6b6c70), color-stop(51%,#5d5f60), color-stop(100%,#373f47));
    background: -webkit-linear-gradient(top,  #848484 0%,#6b6c70 50%,#5d5f60 51%,#373f47 100%);
    background: -o-linear-gradient(top,  #848484 0%,#6b6c70 50%,#5d5f60 51%,#373f47 100%);
    background: -ms-linear-gradient(top,  #848484 0%,#6b6c70 50%,#5d5f60 51%,#373f47 100%);
    background: linear-gradient(to bottom,  #848484 0%,#6b6c70 50%,#5d5f60 51%,#373f47 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#848484', endColorstr='#373f47',GradientType=0 );   
}

#sidebar a.inventory-btn:hover,
.upper-btn a.inventory-btn:hover,
#sidebar a.pdf-btn:hover,
#sidebar a.tech-btn:hover {
    background: #969696;
    background: -moz-linear-gradient(top,  #969696 0%, #818287 50%, #757879 51%, #505c68 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#969696), color-stop(50%,#818287), color-stop(51%,#757879), color-stop(100%,#505c68));
    background: -webkit-linear-gradient(top,  #969696 0%,#818287 50%,#757879 51%,#505c68 100%);
    background: -o-linear-gradient(top,  #969696 0%,#818287 50%,#757879 51%,#505c68 100%);
    background: -ms-linear-gradient(top,  #969696 0%,#818287 50%,#757879 51%,#505c68 100%);
    background: linear-gradient(to bottom,  #969696 0%,#818287 50%,#757879 51%,#505c68 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#969696', endColorstr='#505c68',GradientType=0 );
}

#sidebar a.inventory-btn:before,
.upper-btn a.inventory-btn:before {
    content: '';
    display: inline-block;
    height: 68px;
    width: 25px;
    float: left;
    border-right: 1px solid #1c3c5d;
    margin-right: 13px;
    background: #1784bf;
    background: -moz-linear-gradient(top,  #1784bf 0%, #2b6f99 50%, #17618f 51%, #1b304d 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1784bf), color-stop(50%,#2b6f99), color-stop(51%,#17618f), color-stop(100%,#1b304d));
    background: -webkit-linear-gradient(top,  #1784bf 0%,#2b6f99 50%,#17618f 51%,#1b304d 100%);
    background: -o-linear-gradient(top,  #1784bf 0%,#2b6f99 50%,#17618f 51%,#1b304d 100%);
    background: -ms-linear-gradient(top,  #1784bf 0%,#2b6f99 50%,#17618f 51%,#1b304d 100%);
    background: linear-gradient(to bottom,  #1784bf 0%,#2b6f99 50%,#17618f 51%,#1b304d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1784bf', endColorstr='#1b304d',GradientType=0 );
}

#sidebar a.pdf-btn:before {
    content: '';
    display: inline-block;
    height: 68px;
    width: 25px;
    float: left;
    border-right: 1px solid #692223;
    margin-right: 13px;
    background: #d01714;
    background: -moz-linear-gradient(top,  #d01714 0%, #ae2d26 50%, #a31c15 51%, #622c1a 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d01714), color-stop(50%,#ae2d26), color-stop(51%,#a31c15), color-stop(100%,#622c1a));
    background: -webkit-linear-gradient(top,  #d01714 0%,#ae2d26 50%,#a31c15 51%,#622c1a 100%);
    background: -o-linear-gradient(top,  #d01714 0%,#ae2d26 50%,#a31c15 51%,#622c1a 100%);
    background: -ms-linear-gradient(top,  #d01714 0%,#ae2d26 50%,#a31c15 51%,#622c1a 100%);
    background: linear-gradient(to bottom,  #d01714 0%,#ae2d26 50%,#a31c15 51%,#622c1a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d01714', endColorstr='#622c1a',GradientType=0 );
}

#sidebar a.tech-btn:before {
    content: '';
    display: inline-block;
    height: 68px;
    width: 25px;
    float: left;
    border-right: 1px solid #54595a;
    margin-right: 13px;
    background: #c9c6c3;
    background: -moz-linear-gradient(top, #c9c6c3 0%, #d8d5d2 50%, #c7c7c7 50%, #c1c1c1 51%, #a0a0a0 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c9c6c3), color-stop(50%,#d8d5d2), color-stop(50%,#c7c7c7), color-stop(51%,#c1c1c1), color-stop(100%,#a0a0a0));
    background: -webkit-linear-gradient(top, #c9c6c3 0%,#d8d5d2 50%,#c7c7c7 50%,#c1c1c1 51%,#a0a0a0 100%);
    background: -o-linear-gradient(top, #c9c6c3 0%,#d8d5d2 50%,#c7c7c7 50%,#c1c1c1 51%,#a0a0a0 100%);
    background: -ms-linear-gradient(top, #c9c6c3 0%,#d8d5d2 50%,#c7c7c7 50%,#c1c1c1 51%,#a0a0a0 100%);
    background: linear-gradient(to bottom, #c9c6c3 0%,#d8d5d2 50%,#c7c7c7 50%,#c1c1c1 51%,#a0a0a0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c9c6c3', endColorstr='#a0a0a0',GradientType=0 );
}

#sidebar a.inventory-btn:hover:before,
.upper-btn a.inventory-btn:hover:before {
    background: #1798dd;
    background: -moz-linear-gradient(top,  #1798dd 0%, #2d82b7 50%, #1975af 51%, #22426e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1798dd), color-stop(50%,#2d82b7), color-stop(51%,#1975af), color-stop(100%,#22426e));
    background: -webkit-linear-gradient(top,  #1798dd 0%,#2d82b7 50%,#1975af 51%,#22426e 100%);
    background: -o-linear-gradient(top,  #1798dd 0%,#2d82b7 50%,#1975af 51%,#22426e 100%);
    background: -ms-linear-gradient(top,  #1798dd 0%,#2d82b7 50%,#1975af 51%,#22426e 100%);
    background: linear-gradient(to bottom,  #1798dd 0%,#2d82b7 50%,#1975af 51%,#22426e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1798dd', endColorstr='#22426e',GradientType=0 );
}

#sidebar a.tech-btn:hover:before {
    background: #d6d2ce;
    background: -moz-linear-gradient(top, #d6d2ce 0%, #e0dedc 50%, #d8d8d8 50%, #d3d3d3 51%, #c4c7c8 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d6d2ce), color-stop(50%,#e0dedc), color-stop(50%,#d8d8d8), color-stop(51%,#d3d3d3), color-stop(100%,#c4c7c8));
    background: -webkit-linear-gradient(top, #d6d2ce 0%,#e0dedc 50%,#d8d8d8 50%,#d3d3d3 51%,#c4c7c8 100%);
    background: -o-linear-gradient(top, #d6d2ce 0%,#e0dedc 50%,#d8d8d8 50%,#d3d3d3 51%,#c4c7c8 100%);
    background: -ms-linear-gradient(top, #d6d2ce 0%,#e0dedc 50%,#d8d8d8 50%,#d3d3d3 51%,#c4c7c8 100%);
    background: linear-gradient(to bottom, #d6d2ce 0%,#e0dedc 50%,#d8d8d8 50%,#d3d3d3 51%,#c4c7c8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d6d2ce', endColorstr='#c4c7c8',GradientType=0 );
}

#sidebar a.contact-btn {
    line-height: 24px;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow: hidden;
    border-bottom: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 19px;
    font-weight: 400;
    text-align: center;
    
    background: #d01714;
    background: -moz-linear-gradient(top,  #d01714 0%, #ae2d26 50%, #a31c15 51%, #622c1a 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d01714), color-stop(50%,#ae2d26), color-stop(51%,#a31c15), color-stop(100%,#622c1a));
    background: -webkit-linear-gradient(top,  #d01714 0%,#ae2d26 50%,#a31c15 51%,#622c1a 100%);
    background: -o-linear-gradient(top,  #d01714 0%,#ae2d26 50%,#a31c15 51%,#622c1a 100%);
    background: -ms-linear-gradient(top,  #d01714 0%,#ae2d26 50%,#a31c15 51%,#622c1a 100%);
    background: linear-gradient(to bottom,  #d01714 0%,#ae2d26 50%,#a31c15 51%,#622c1a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d01714', endColorstr='#622c1a',GradientType=0 );
}

#sidebar a.pdf-btn:hover:before,
#sidebar a.contact-btn:hover {
    background: #eb1815;
    background: -moz-linear-gradient(top,  #eb1815 0%, #cb2f27 50%, #c21f16 51%, #84381e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eb1815), color-stop(50%,#cb2f27), color-stop(51%,#c21f16), color-stop(100%,#84381e));
    background: -webkit-linear-gradient(top,  #eb1815 0%,#cb2f27 50%,#c21f16 51%,#84381e 100%);
    background: -o-linear-gradient(top,  #eb1815 0%,#cb2f27 50%,#c21f16 51%,#84381e 100%);
    background: -ms-linear-gradient(top,  #eb1815 0%,#cb2f27 50%,#c21f16 51%,#84381e 100%);
    background: linear-gradient(to bottom,  #eb1815 0%,#cb2f27 50%,#c21f16 51%,#84381e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eb1815', endColorstr='#84381e',GradientType=0 );
}

#sidebar .widget-container {background: none;}

#sidebar .widget-container a {
    background: #f6f6f6;
    color: #0079b7;
    font-size: 14px;
    border-top: 0;
    padding-left: 15px;
}

#sidebar .widget-container a:hover {
    border-bottom: 1px solid #fff;
    color: #009dee;
}

#sidebar .widget-title {
    font-family: 'Raleway', sans-serif; font-weight: 200;
    background: transparent;
    color: #222;
    font-size: 1.7em;
    font-weight: 200;
    border-bottom: 6px solid #0079b7;
    padding: 0;
    padding-bottom: 2px;
}

#sidebar .widget-title a,
#sidebar .widget-title a:hover {
    background: transparent;
    color: #222;
    font-size: 1em;
    padding: 0;
    border: 0;
}


/* ============ X. Youtube ============ */

.youtube-wrap {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.youtube-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ============ X. Footer ============ */

#footer-container {
    margin-top: 40px;
    padding-bottom: 40px;
    background: #1e3860;
    background: -moz-linear-gradient(top, #1e3860 0%, #3f75cb 100%);
    background: -webkit-linear-gradient(top, #1e3860 0%,#3f75cb 100%);
    background: linear-gradient(to bottom, #1e3860 0%,#3f75cb 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e3860', endColorstr='#3f75cb',GradientType=0 );
}

#footer .prefooter-nav {
    text-align: center;
    width: 90%;
    margin: 0px auto;
    position: relative;
    top: -15px;
}

#footer .prefooter-nav a {
    text-decoration: underline;
}

#footer #footernav li a:hover,
#footer .prefooter-nav a:hover {
    color: #AEAEAE;
}

#footer #footernav {
    float: right;
    margin-left: 15px;
    padding: 15px;
}

#footer #footernav li {
    display: inline-block;
    padding: 0px 15px;
}

#footer #footernav li a {font-weight: bold;} 

#footer #footernav li.menu-col {
    width: 15%;
    float: left;
    text-align: left;
}

#footer #footernav li.menu-col > a {
    display: none;
    visibility: hidden;
}

#footer #footernav li a:after {
    content: '\f0da';
    font-family: 'FontAwesome';
    font-size: 12px;
    font-weight: normal;
    padding-left: 8px;
}

#footer {
    color: #fff;
    padding-top: 12px;
    font-size: 15px;
}

#footer a {color: #fff; text-decoration: none; font-size: 13px;}

#footer #ddc-logo {
    width: 90px;
    position: relative;
    bottom: -20px;
    padding-left: 15px;
}


/* ============ X. Subfooter ============ */

.subfooter {display: none; visibility: hidden;}


/* ============ X. Mobile ============ */

@media screen and (max-width: 700px) {
    
    #header #top-logo {width: 50%;}
    #header #top-logo img {width: auto; margin: 6px 6px; height: auto;}
    #header {height: 86px;}
    #header-container {height: 86px; margin-bottom: 0;}
    #header .contact-info {right: 6px; top: 2px; width: 70px;}
    #header .contact-info .btn {background: transparent; background-image: none; border: 2px solid #fff; border-radius: 6px; font-size: 13px; padding: 4px 10px; width: 42px !important; top: 1px;}
    #header .custom-txt {left: 0; right: 0; width: 100%; top: 60px;}
    #header .custom-txt a {font-size: .9em;}
    #header .make-logos {display: none; visibility: hidden;}
    #header .social-links {width: 80px; right: 77px; top: 14px;}
    #header .social-links img {width: 28px; height: auto;}
    
    #header .contact-info a {display: inline-block; width: 300px; float: right;}
    
   
    #mobilenav ul li a {margin-bottom: 0; border-bottom: 0;}
    #mobilenav .clear {display: none; visibility: hidden;}
    #mobilenav a,
    #mobilenav a.active,
    #mobilenav a.dcjq-parent {}
    
    #mobilenav>ul>li.dcjq-parent-li>a {
        border-bottom: 0;
        margin-bottom: 0;
        background: #fff !important;
        color: #6C6C6C !important;
        border-bottom: 2px solid rgba(0, 0, 0, 0.2);
        
        /*background: #005e98 !important;
        background: -moz-linear-gradient(top,  #005e98 0%, #22a9de 2%, #16a1db 4%, #0a72ae 50%, #024f77 51%, #00397c 95%, #1c3c5d 98%, #1c3c5d 98%, #0d172d 100%) !important;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#005e98), color-stop(2%,#22a9de), color-stop(4%,#16a1db), color-stop(50%,#0a72ae), color-stop(51%,#024f77), color-stop(95%,#00397c), color-stop(98%,#1c3c5d), color-stop(98%,#1c3c5d), color-stop(100%,#0d172d)) !important;
        background: -webkit-linear-gradient(top,  #005e98 0%,#22a9de 2%,#16a1db 4%,#0a72ae 50%,#024f77 51%,#00397c 95%,#1c3c5d 98%,#1c3c5d 98%,#0d172d 100%) !important;
        background: -o-linear-gradient(top,  #005e98 0%,#22a9de 2%,#16a1db 4%,#0a72ae 50%,#024f77 51%,#00397c 95%,#1c3c5d 98%,#1c3c5d 98%,#0d172d 100%) !important;
        background: -ms-linear-gradient(top,  #005e98 0%,#22a9de 2%,#16a1db 4%,#0a72ae 50%,#024f77 51%,#00397c 95%,#1c3c5d 98%,#1c3c5d 98%,#0d172d 100%) !important;
        background: linear-gradient(to bottom,  #005e98 0%,#22a9de 2%,#16a1db 4%,#0a72ae 50%,#024f77 51%,#00397c 95%,#1c3c5d 98%,#1c3c5d 98%,#0d172d 100%) !important;
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#005e98', endColorstr='#0d172d',GradientType=0 ) !important; */
    }
    
    #mobilenav>ul>li>a .dcjq-icon {background-image: url(images/mnav-menu-btn.png)}
    
    #mobilenav a {
        background-color: #f7f7f7;
        color: #6C6C6C;
        font-weight: bold;
        font-size: 15px;
        background-image: url(images/page.png);
    }
    
    #mobilenav ul li a:hover {
        background-color: #fff;
    }
    
    #mobilenav a.dcjq-parent {
        color: #6C6C6C;
        background-color: #eee !important;
        background-image: url(images/folder.png);    
    }
    
    #mobilenav a.dcjq-parent.active {
        background-color: #fff !important;
        background-image: url(images/folder-open.png);
        border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    }
    
    
    #borg-subheader {line-height: 0;}
    
    #mobilenav>ul>li>a {background-image: none !important;}
    
    #mobilenav ul li:last-child {border-bottom: 1px solid rgba(0, 0, 0, 0.2);}
    
    #mobilenav a.dcjq-parent {border-bottom: 0;}
    
    #content-container {
        width: 100%;
        border: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    
    #content section {padding: 0 1.3em;}
    
    #sidebar, .upper-btn {width: 96%; margin: 0 2%;}
    
    #sidebar .btn {margin-bottom: 10px; margin-top: 0;}
    #footer #footernav #menu-item-5849 {display: none; visibility: hidden;}
    #footer #footernav {display: block !important; margin-left: 0;}
    #footer #footernav li.menu-col {width: 44%; float: left;margin: 0 3%;}
    
    #footer #ddc-logo {display: none; visibility: hidden;}
    
    #footer #footernav #menu-footer-menu .menu-col:nth-child(3) {clear: both;}
    
    #footer-container {margin-top: 0px; padding-bottom: 80px;}
}

@media screen and (max-width: 450px) {
    
    #header, #header-container {height: 100px;}
    
    #header .contact-info a {width: 160px;}
    
    #footer-container {margin-top: 0px; padding-bottom: 80px;}
}