/*
Stylesheet:     Mobile - PROD
Description:    Mobile-specific styles and layout fixes
*/

.mk-css-icon-close div, .mk-css-icon-menu div {
    background-color: #666 !important;
}
label[for="s-mobile"] {
    position: absolute;
    visibility: hidden;
}
.responsive-searchform i input {
    visibility: hidden;
}
.responsive-searchform .text-input {
    margin-bottom: 11px;
    background-color: rgb(0 0 0 / 5%);
    font-size: 14px;
}
.responsive-searchform .text-input:focus {
    background-color: #fff;
    color: #404040 !important;
}
.responsive-searchform .text-input::placeholder {
    color: #fff;
    opacity: .5;
}
.responsive-searchform i {
    right: 10px;
    bottom: 20px;
}
.responsive-searchform i svg {
    fill: rgb(255 255 255 / 30%);
}

/* Desktops (small) */
@media screen and (max-width: 1366px) {
    body, li, p {
     /*    font-size: 15.5px; */
        	font-size: .969em;
    }
}

/* Desktops - Smaller Screens */
@media screen and (max-width: 1140px) {
    .header-style-2 .header-logo a img {
        height: auto;
        width: auto;
        max-width: unset;
        top: 50%;
        left: 15px !important;
    }
    .title-masthead .mk-padding-wrapper {
        padding: 0;
    }
    #breadcrumbs {
        display: block;
        padding-right: 15px;
    }
    #header-right-widget {
        display: none;
    }
    
    /* Homepage Masthead */
    .home .mk-page-title-box {
        margin: 0 -20px;
        width: 100vw;
    }
    .mk-page-title-box:not(.mk-page-title-box--forcefont) .mk-page-title-box-title {
        font-size: 4vw!important;
        line-height: 1.3 !important;
    }
    /* END Homepage Masthead */

    /* 3-button CTA */
    .ag-cta--3button .ag-cta_icon-wrapper {
        width: 60px;
        height: 60px;
    }
    .ag-cta--3button .ag-cta_icon {
        width: 22px;
    }
    .ag-cta--3button .ag-cta_icon-title {
        font-size: 18px;
    }
    .ag-cta--3button .ag-cta_icon-subtitle {
        margin-top: 5px;
    }
    .ag-cta--3button .ag-cta_paragraph {
        font-size: 13px;
    }
    .ag-cta--3button .ag-cta_paragraph a {
        font-size: 16px;
    }
    .breadcrumbs-inner {
        margin-right: 18px !important;
    }
}
@media screen and (max-width: 960px) {
    .header-style-2 .header-logo a img {
        left: 35px !important;
    }
    #header-right-widget {
        display: none;
    }
}
/* Tablets */
@media screen and (max-width: 767px) {
    body, li, p {
        font-size: 15px;
    }
    
    .top-nav {
    	display: none;
    }
    
    /* Homepage Masthead */
    .home .mk-page-title-box {
        padding: 0 25px;
    }
    .mk-page-title-box:not(.mk-page-title-box--forcefont) .mk-page-title-box-title {
        font-size: 5.2vw!important;
        line-height: 1.3 !important;
    }
    /* END Homepage Masthead */
    
    .mk-accordion.fancy-style .mk-accordion-single {
        margin-bottom: 20px;
        border-bottom-width: 1px;
        border-bottom-color: #ececec;
        border-bottom-style: solid;
    }
    
    /* Single Button CTA */
    .ag-cta h2 {
        margin-bottom: 35px;
        text-align: center;
    }
    .ag-cta .mk-button {
        min-width: 50%;
        margin: 0 auto;
    }
    /* 3-button CTA */
    .ag-cta--3button:not(.ag-cta--3button--2col) .ag-cta_button {
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
    }
    .ag-cta--3button:not(.ag-cta--3button--2col) .ag-cta_icon-wrapper {
        width: 70px;
        height: 70px;
        margin: 0 0 15px;
    }
    .ag-cta--3button .ag-cta_icon {
        width: 34px;
    }
    .ag-cta--3button:not(.ag-cta--3button--2col) .ag-cta_icon-title-wrapper {
        display: block;
        width: 90%;
    }
    .ag-cta--3button:not(.ag-cta--3button--2col) .ag-cta_content > .vc_column_container {
        text-align: center;
    }
    .ag-cta--3button:not(.ag-cta--3button--2col) .ag-cta_paragraph, .ag-cta--3button .ag-cta_paragraph a {
        display: none;
    }
    
    .home .theme-content {
        padding: 0;
    }
    
    #industries {
        margin: 80px -15px;
    }
    
    #mk-footer .footer-wrapper .mk-padding-wrapper {
        padding-right: 0;
    }
    
    #mk-footer [class*=mk-col-]:nth-child(2) {
        display: none;
    }
    #mk-footer [class*=mk-col-] {
        width: 33.33%!important;
        float: left;
    }
}
/* Phones (X-Large) */
@media screen and (max-width: 568px) {

    /* Homepage Masthead */
    .home .mk-page-title-box {
        padding: 0 5vw;
    }
    .mk-page-title-box:not(.mk-page-title-box--forcefont) .mk-page-title-box-title {
        font-size: 30px !important;
    }
    /* END Homepage Masthead */
    
    #masthead-row {
        display: none;
    }
    .ag-cta--3button {
        padding: 35px 0 !important;
    }
    .ag-cta--3button:not(.ag-cta--3button--2col) .ag-cta_icon-title {
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
    }
    .atg-hoverbox-title {
        font-size: 14px;
    }
    .atg-introtext {
        margin-left: 15px;
        margin-right: 15px;
        text-align: center;
        font-size: 16px;
    }
    #industries {
        margin: 80px -20px;
    }

    /* #mk-footer [class*=mk-col-]:nth-child(2) {
        display: block;
    } */
    
    #mk-footer .footer-wrapper {
        padding: 25px 0;
    }
    .footer-logo {
        width: 65%;
    }
    .ssae-logo {
        margin-bottom: 30px;
    }
    #mk-footer [class*=mk-col-] {
        width: 100% !important;
        float: none;
    }
    
    #mk-footer .widget_nav_menu {
        padding-left: 24%;
    }
    
    #mk-footer section#media_image-2, #mk-footer section#media_image-3 {
        text-align: center;
    }
    #mk-footer section#media_image-3 img {
        margin-left: -15px;
    }
    
    #breadcrumbs {
    display: none;
    }   
}

/* Phones */
@media screen and (max-width: 480px) {
    body, li, p {
        font-size: 14.5px;
    }
    #theme-page .theme-page-wrapper .theme-content {
        padding: 0px 0 30px;
    }
    .master-holder h2:first-of-type {
        margin-top: -20px;
    }
    .mk-page-section:first-of-type .background-layer { 
        background-size: auto 100% !important; 
        background-position: center center !important; 
    }
    .ag-cta--3button {
        padding: 25px 0 !important;
    }
    .ag-cta--3button .ag-cta_content .vc_column_container:nth-child(1) {
        padding-left: 8px;
        padding-right: 0;
    }
    .ag-cta--3button .ag-cta_content .vc_column_container:nth-child(2) {
        padding-left: 15px;
        padding-right: 5px;
    }
    .ag-cta--3button .ag-cta_content .vc_column_container:nth-child(3) {
        padding-left: 0;
        padding-right: 0;
    }
    .ag-cta--3button:not(.ag-cta--3button--2col) .ag-cta_icon-title {
        font-size: 13px;
        font-weight: 400;
    }
    .ag-cta--3button:not(.ag-cta--3button--2col) .ag-cta_icon-subtitle {
        font-size: 13px;
        margin-top: 5px;
    }
    .atg-hoverbox-title {
        font-size: 13px;
    }
    #industries h2 {
        font-size: 23px !important;
        margin-bottom: 32px;
    }
    #industries .atg-introtext {
        font-size: 14.5px;
        line-height: 23px;
    }
    .atg-hoverbox-wrapper {
        width: 50% !important;
        height: 90px;
        overflow: hidden;
    }
    .atg-hoverbox-content-wrapper {
        height: 90px;
    }
    .atg-hoverbox-title {
        font-size: 16px;
    }

    #breadcrumbs {
    display: none;
    }
}
@media screen and (max-width: 460px) {
    .header-style-2 .header-logo a img {
        height: auto !important;
        width: 65%;
        max-width: unset;
    }
    .mk-nav-responsive-link {
    	z-index: 99;
    }
}