/*
Theme Name: yBoot
Theme URI: http://ydop.com/
Author: Brendon Lamb (aka, BLAMB!)
Author URI: http://ydop.com/
Description: A Bootstrap 3.2.0 WordPress baseline theme loosely based on Danny Machal's "DevDmBootstrap3" theme.
Version: 1.40
License: GNU General Public License v3
License URI: http://www.gnu.org/licenses/gpl.html
Tags: one-column, two-columns, right-sidebar, fluid-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, rtl-language-support, theme-options, translation-ready
Text Domain: yBoot
*/

/* The bootstrap.css file is auto-enqueued in functions.php */

/*
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}


.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.image-caption {
font-size: 11px;
font-style: italic;
}

h1 {
    color: #073771;
    font-size:36px;
}

h2 {
    color: #82937D;
    font-size:30px;
}

.form-well {
background-color:#FAD5A5;
padding:20px;
}

@media (min-width: 768px) {
    .pr {
        padding-right: 40px;
    }
}


/* =yBoot Core
-------------------------------------------------------------- */
.navbar-toggle{
    background-color: #888;
}

.navbar-toggle:before {
    content: 'Menu';
    float: left;
    margin-left: 30px;
    margin-top: -2px;
    color: #ccc;
}

.navbar-toggle .icon-bar{
    background: #bbb;
}

.navbar .fa-chevron-down {
    font-size: .5em;
    margin-left: .1em;
    position: relative;
    bottom: 0.3em;
}

.no-pad{
    padding:0;
}

.phone{
    font-size: 26px;
    color: #000 !important;
    text-decoration: none !important;
}
.google-maps {
        position: relative;
        /* The padding-bottom is for the aspect ratio */
        padding-bottom: 75%;
        height: 0;
        overflow: hidden;
    }
    .google-maps iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }

/* =Custom
-------------------------------------------------------------- */
body{
    font-size: 18px;
    background-color: #e6e9e5;
    font-family: 'Lato', sans-serif;
}
h1{
    font-family: 'Oswald', sans-serif;
}
h2{
    font-family: 'Oswald', sans-serif;
    color: #21356c;
}
h3{
    font-family: 'Oswald', sans-serif;
    color: #555;
}
header{
    background-color: #fff;
    padding: 20px 0;
}
body #whole-wrap>.container{
    background-color: #fff;
    padding-bottom: 40px;
}

blockquote{
    font-size:22px;
}
.container img{
    max-width: 100%;
    height: auto;
}
.promos{
    background-color: #fff;
    padding: 40px 0;
    position: relative;
}
.promos:before{
    content: ' ';
    position: absolute;
    width: 100%;
    height: 100px;
    background-color: #073771;
    top: 75px;
}
.promo {
    border-radius: 50%;
    overflow: hidden;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    background: white;
    position: relative;
    padding: 12px;
}
.promo:before {
    content: ' ';
    position: absolute;
    border: 12px solid #000;
    height: 160px;
    width: 160px;
    border-radius: 50%;
    left: -10px;
    top: -10px;
    z-index: 1;
    opacity:0;
}
.promo img{
    position: relative;
    left: 0;
    top: 0;
    transition:filter 1s;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    border: 2px solid black;
    border-radius: 50%;
}
.featured{
    position: relative;
    overflow: hidden;
    margin-left: -15px;
    margin-right: -15px;
}
.featured-image{
   max-width: none !important;
}
@media (min-width: 1200px) {
    
}
.featured-title{
    position: absolute;
    bottom: 0;
    right: -15px;
    font-size: 30px;
    text-align: right;
    color: #FFF;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.65);
}
.page-id-16 .featured {
    height: 250px;
    overflow: hidden;
}
.page-id-16 h1 {
    font-size: 26px;
}
.table{
    font-size: 16px;
}

.navbar{
    margin-top: 15px;
}
@media (min-width: 1281px) {
    .nav>li {
        padding-top: 10px;
        margin-top: -10px;
    }
    .nav>li>a {
        color: #000;
        padding: 20px 10px 5px 10px;
        display: inline;
    }
    .nav>li:hover {
        background-color: #eee;
        border-bottom: 2px solid #ec6628;
    }
    .nav>li>a:hover, 
    .nav>li>a:focus {
        background-color: unset;
    }
    .nav>li>.sub-menu {
        display: none;
        padding: 11px;
        text-align: left;
        position: absolute;
        z-index: 5;
        background-color: #fff;
        box-shadow: 0 10px 30px 0 rgba(0,0,0,.1);
        width: 100%;
        top: 40px;
    }
    .nav>.menu-item-has-children {
        padding-right: 10px;
    }
    .nav>.menu-item-has-children>a {
        padding-right: 1px;
    }
    .nav>.menu-item-has-children::after {
        content: url(../svg/icon-chevron-down.svg);
        font-size: 12px;
        position: relative;
        display: inline-block;
        top: -1px;
        transition: 0.3s;
    }
    .nav>.menu-item-has-children:hover::after, 
    .nav>.menu-item-has-children:focus::after {
        transform: rotate(180deg);
    }
    .nav>.menu-item-has-children:hover>.sub-menu,
    .nav>.menu-item-has-children:focus>.sub-menu {
        display: block;
    }
    .nav>li>.sub-menu>li {
        list-style: none;
        padding-bottom: 12px;
    }
    .nav>li>.sub-menu>li:last-child {
        padding-bottom: 0;
    }
    .nav>li>.sub-menu>li>a {
        color: #000;
    }
}
.btn {
    border-radius: 0;
    font-family: 'Lato', sans-serif;
}
.btn-orange {
    background-color: #ec6628;
    color: #fff;
}
.btn-orange:hover{
    background-color: #C55019;
    color: #fff;
}
.btn-blue{
    border:2px solid #21356c;
    background-color: #fff;
    color: #000;
}
.btn-blue:hover{
    border:2px solid #21356c;
    background-color: #21356c;
    color: #fff;
}
.btn-hollow{
    border: 3px solid #3E5F88;
    color: #3E5F88
}
.btn-hollow:hover{
    background-color: #8393A0;
    color: #E4E4E4;
}

/*.cta{
    background:url(/wp-content/uploads/2015/06/bradley-main.jpg);
    background-size: cover;
    color: #fff;
}*/
.cta img{
    width: 100%;
    -webkit-filter: brightness(.7) saturate(.5);
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
/*.cta:hover img {
    -moz-transform: scale(1.03);
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
    -webkit-filter: brightness(.8) saturate(.9);
}*/
.cta h1{
    color: #fff;
    font-size: 60px;
    font-weight: bold;
    position: relative;
        text-shadow: 1px 1px 3px #000;
}
.cta h2{
    color: #fff;
    font-size: 40px;
    padding-bottom: 30px;
        text-shadow: 1px 1px 3px #000;
}
.cta{
    position: relative;
    overflow: hidden;
}
.cta-content{
    position: absolute;
    top: 120px;
    text-align: center;
    width: 100%;
}

.cta-why{
    padding: 20px;
    background-image: url(../jpg/why-chooose-kl-bg.jpg);
}
.cta-why h2{
    font-size: 50px;
    border-bottom: 1px solid #21356c;
    display: inline-block;
    margin-bottom: 25px;
}
.cta-why img{
    margin-top: 30px;
}
.cta-icons{
    padding: 40px 20px;
    background-color: #fff;
    border-bottom: 2px solid #7a8c75;
}
.cta-icons h2{
    font-size: 40px;
    margin-bottom: 40px;
}
.cta-icons a{
    color: #21356c;
    text-decoration: none !important;
    font-size: 22px;
}
.cta-icons i{
    font-size: 80px;
    display: block;
    margin-bottom: 10px;
}
.partners{
    background-color: #fff;
    padding: 40px 20px
}
.partners .partner-logo{
    float: left;
    width: 20%;
    text-align: center;
}
.partners .partner-logo img{
    width: auto;
    max-width: 80%;
    transition:all 1s;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}
.partners:hover .partner-logo img{
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}
.partners h2{
    color: #555;
    text-align: center;
}

footer{
    background-color: #444444;
    padding: 20px;
    color: #fff;
    position: relative;
    z-index: 1000;
}
footer h3{
    color: #eee;
    margin-top: 0;
}
footer .row a{
    display: block;
    margin: 5px 0;
    color: #fff;
}
footer .btn-orange{
    width: 200px;
    margin: 0 auto !important;
}

.copyright{
    background-color: #363636;
    text-align: center;
    color: #fff;
    padding: 30px 0 50px 0;
    position: relative;
    z-index: 1000;
}
.copyright a{
    color: #eee;
}

.quote {
  max-width: 500px;
  margin: 0 auto;
}

.quote h2 {
  text-align: center;
}

.quote .quote-div-1 {
  margin: 0 auto;
  width: 65%;
}

.quote .quote-div-2 {
  text-align: center;
}

.quote a {
  font-size: 24px;
  padding: 15px 20px;
  margin-top: 20px;
}

/* CTA Styles */

.hollow__cta {
    border: 2px solid black;
    padding: 10px;
    display: inline-block;
}

@media (max-width: 480px){
  .quote .quote-div-1 {
    width: 100%;
  }
}

@media (max-width:768px){
    .promos:before{
        background-color: #fff;
    }
}


.logo-section-wrapper{
    display: flex ;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 28px 0;
}
.page-section {
    padding: 30px 15px;
}

.slick-slide {
    position: relative;
}
.slick-slide span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.47);
    color: white;
    font-size: 120%;
}

/* .industries-slider {
    opacity: 0;
} */

input.gform_button {
    background: #ec6628;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
input.gform_button:hover {
    background: #e45310;
}
.gfield_description {
    font-size: 14px!important;
}

.page-template.page-template-page-resources h3 a {
    color: #555;
}

.page-template.page-template-page-resources h3 a:hover {
    color: #444444;
}


/* Home Page Banner Mobile Fixes
--------------------------------------- */
@media (max-width:1199px) {
    .cta-content {
        top: 70px;
    }
    .cta-content h1, .cta-content h2 {
        font-size: 260%;
    }
}
@media (max-width:991px) {
    .cta-content {
        top: 27px;
    }
    .cta-content h1, .cta-content h2 {
        font-size: 230%;
    }
}
@media (max-width:767px) {
    .cta {
        height: 400px;
    }
    .cta-content {
        top: 77px;
    }
    .cta-content h1, .cta-content h2 {
        font-size: 200%;
    }
}
@media (max-width:400px) {
    .cta {
        height: 320px;
    }
    .cta-content {
        top: 40px;
    }
    .cta-content h1, .cta-content h2 {
        font-size: 160%;
    }
}


/*----- NEW MOBILE MENU -------*/
#whole-wrap {
    background-color: #e6e9e5;
}
.navbar__mobile {
    display: flex;
    align-items: center;
    display: none;
}
.phone-container {
    margin-right: 33px;
}
.phone-container,
.hamburger-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.hamburger {
    padding-top: 0px !important;
    padding-bottom: 7px !important;
}
.mm-navbar {
    height: auto;
    position: relative;
    padding: 0px;
    padding-bottom: 10px;
}
.mm-panel:after, 
.mm-panel:before {
    height: 0px;
}
#mm-menu-main-menu .mm-navbar__title {
    display: none;
}
.mm-navbar__title {
    display: block;
    color:rgba(0, 0, 0, .75) !important;
}
.mm-navbar img {
    max-width: 100%;
}
.nav .mm-listitem {
    width: 100%;
}
.dropdown-menu.mm-listview .mm-listitem::after {
    border-bottom: 1px solid rgba(0, 0, 0, .15);
}
.nav .mm-listitem a,
.mm-panel .mm-listitem a {
    padding: 20px 30px !important;
}
.dropdown-menu .mm-listitem a {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    line-height: 20px;
}
.mm-panels,
.mm-panels>.mm-panel {
    background-color: #fff;
}
.mm-listview {
    margin-top: 0px !important;
    position: static;
    box-shadow: none;
    list-style: none;
}
.dropdown-menu.mm-listview {
    display: block;
    width: 100%;
    border: none;
}
/* Was 767px */
@media (max-width: 1280px) {
    header.row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    header #logo img {
        max-width: 320px;
    }
    header .col-sm-4 {
        margin-right: auto;
    }
    .navbar__mobile {
        display: flex;
        justify-content: flex-end;
    }
    .navbar-1-collapse.collapse:not(.mm-menu) {
        display: none !important;
    }
}
@media (min-width: 560px) and (max-width: 1280px) {
    .navbar-collapse.mm-menu {
        width: 100%;
    }
}
@media (max-width: 545px) {
    header #logo img {
        max-width: 180px;
    }
    header.row {
        padding: 0px;
    }
    .phone-container {
        margin-right: 13px;
    }
    header.row .col-sm-8 {
        padding-right: 0px;
    }
    header.row .col-sm-4 {
        padding-left: 0px;
        padding-right: 0px;
    }
}

.alert-bar {
    padding: 20px 0px;
    background: #363636;
    width: calc(100% + 30px) !important;
    position: relative;
    left: -15px;
}
.alert-bar p {
    color: #fff;
    font-size: 16px;
}
@media (max-width: 550px) {
    .alert-bar p {
        font-size: 14px;
    }
}
.flex-container {
    display: flex;
    align-items: center;
}
.logo-container {
    padding-right: 30px;
}
.container .header-logos {
    max-width: 215px;
    margin: 0 5px;
    display: none;
}
.container .header-logos.max-160 {
    max-width: 160px;
}
/* Was 768px. */
@media (min-width: 1281px) {
    .navbar-nav {
        float: right;
    }
    .container .header-logos {
        display: inline;
    }
    .navbar-1-collapse.collapse:not(.mm-menu) {
        display: block !important;
    }
}
.mm-menu_opened .dropdown-toggle .fa-chevron-down {
    display: none;
}
