/*

Theme Name: One Tel

Author: Ben Vaughn of Rumor Advertising

Version: 1.0

*/



/** see design/scss directory for stylesheets **/



.overlay img.lazy {
    z-index: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.5;
}



div#team-column {
    position: relative;
}



.overlay {
    background: #29428C;
}
.overlay img.lazy {
    opacity: 0.2;
}


.overlay p {
    z-index: 1
}



#team-column img {
    -webkit-filter: none;
    filter: none;
    width: 100%;
}


/*
.hero-container .text-wrap, #front-page-hero .text-wrap {

    padding: 17% 0;

}



.hero-container .text-wrap > *, #front-page-hero .text-wrap > * {

    opacity: 0;

}
*/
p{
    font-size: 1.125rem;
    line-height: 1.6;
}
.hero-container .text-wrap p, #front-page-hero .text-wrap p {
    font-size: 1.5rem;
}
h3 {
    font-size: 1.75rem;
}
.hero-container h1, #front-page-hero h1, .hero-container h1, #front-page-hero h1 {
    font-size: 2rem;
}
.hero-container-overlay {
    background-color: rgba(0,0,0,0.35);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 60vh;
}

header#header {
    position: fixed;
    width: 100%;
    z-index: 99998;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
    padding: 10px;
}

.mobile-nav {
    top: 35%;
}

.mobile-nav span {
    background-color: #8dc942;
}

.main-content {
    padding-top: 55px;
}

.home-section h5 {
    color: #21478c !important;
    font-weight: bold;
}

@media screen and (min-width: 64em) {
    p {
    font-size: 1.25rem;
    }
    h3 {
    font-size: 2.25rem;
    }
    #front-page-hero {
        padding-top: 60px;
    }
    .hero-container h1, #front-page-hero h1, .hero-container h1, #front-page-hero h1 {
        font-size: 3rem;
    }
    .hero-container .text-wrap p, #front-page-hero .text-wrap p {
        font-size: 1.75rem;
    }

    .main-content {
        padding-top: 100px;
    }
    header.sticky {
        height: 88px;
        -webkit-transition: all 0.4s ease;
        transition: all 0.4s ease;
    }
    header .onetel-logo {
        height: 100%;
        -webkit-transition: all 0.4s ease;
        transition: all 0.4s ease;
    }
    header.sticky .onetel-logo {
        height: 95%;
    }
    #menu-main-nav > li {
        font-size: 20px;
    }
    #menu-main-nav li {
        padding: 40px;
        -webkit-transition: all 0.4s ease;
        transition: all 0.4s ease;
    }
    header.sticky #menu-main-nav li {
        padding: 35px;
        font-size: 16px;
    }
    #menu-main-nav .current-menu-parent, #menu-main-nav .current-menu-item {
        background-color: #8dc942;
    }
    #menu-main-nav .sub-menu .current-menu-item {
        background-color: #fff;
    }
    #menu-main-nav .current-menu-parent:hover {
        color: #fff;
    }
    #menu-main-nav > li:hover > a {
        color: #21478c;
    }
    #menu-main-nav .current-menu-item:hover > a {
        color: #fff;
    }
    #menu-main-nav .current-menu-parent > a, #menu-main-nav .current-menu-item > a {
        font-weight: bold;
    }
    #menu-main-nav .current-menu-parent > a {
        color: #fff;
    }
    #menu-main-nav .current-menu-parent:hover > a {
        color: #fff;
    }
    #menu-main-nav .current-menu-item > a {
        color: #fff;
    }
    #menu-main-nav .sub-menu .current-menu-item > a {
        color: #21478c;
    }
    #menu-main-nav li:hover > .sub-menu a:hover {
        color: #21478c;
    }
    #menu-main-nav .sub-menu {
        left: 20px;
    }
    
    .layout-zigzag .zag-column .img-wrap {
        width: 45%;
    }
    .layout-zigzag .zag-column:nth-child(2n+1) .text-wrap, .layout-zigzag .zag-column:nth-child(2n) .text-wrap {
        width: 54%;
    }

    #menu-main-nav .nav-phone a {
        color: #8dc942;
    }
    .quote {
        font-size: 1.025rem;
    }
}

@media screen and (min-width: 40em){
    #front-page-hero {
        background-position: center bottom;
    }
}

span {
    background: none;
}

h3 {
    margin-bottom: 20px;
}

.page-template-page-about .hero-container .text-wrap {
    padding: 17% 0;
}

.page-template-page-about .hero-container .text-wrap {
    opacity: 0;
}

.k12-sub-banner-btn:hover {
    background-color: #546fc0 !important;
}

.button:hover, .button:focus {
    background-color: #29428C;
}

.layout-zigzag .get-started-btn, .layout-zigzag .verticals-hero-btn, .layout-zigzag .k12-sub-banner-btn {
    margin-top: 30px;
}

#menu-item-370 > a, #menu-item-371 > a {
    cursor: default;
}

#industries-section, #solutions-section, #featured-services {
    text-align: center;
    padding-bottom: 60px;
}
#partners {
    background-color: #fff;
}
#bottom-features {
    text-align: center;
}
.partners {
    box-shadow: none;
}

@media screen and (max-width: 63.99em) {
    #menu-main-nav > li a {
        color: #fff;
    }
    #menu-main-nav .nav-phone a {
        color: #fff;
    }
    #menu-main-nav {
    margin-top: 40px;
    }
    #front-page-hero {
        min-height: 400px;
    }
}

#featured-services p:nth-child(2) {
    margin-top: 30px;
}

#featured-services .large-up-1 .text-wrap {
    width: 70%;
    margin: auto;
}

.testimonial {
    box-shadow: none;
}
#testimonial-slider {
    margin-top: 50px;
}
#section-3 .good-company {
    margin: 0;
}
#section-3 {
    margin-top: 100px;
}

.layout-zigzag .zag-column {
    padding: 2% 0;
}
#footer .copyright {
    font-size: 0.8rem;
}
.fa-caret-down {
    margin-top: -40px;
}
.address-info p {
    margin-bottom: 0;
}
.get-started-btn, .verticals-hero-btn, .k12-sub-banner-btn {
    padding: 20px;
}

#team-column:hover .overlay {
    left: 0;
}
.overlay p {
    top: 45%;
    font-size: 22px;
}
.overlay :nth-child(2) {
    font-size: 1.75rem;
    text-transform: none;
}

.team-social i {
    font-size: 22px;
    padding: 10px;
    border-radius: 3px;
}
.lead {
    padding: 0px;
}