﻿/* Mobile Styles */
@media (max-width: 991px) {
    .mobile-panel {
        display: none;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        z-index: 1000;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .mobile-panel.active {
        display: block;
    }

    .panel-header {
        display: flex;
        align-items: center;
        padding-bottom: 15px;
        border-bottom: 1px solid #c3c6c8;
    }
    header .mobile-only .dropdown-menu-nav {
        border-top: none;
    }

    .back-arrow {
        margin-right: 15px;
        font-size: 16px;
        cursor: pointer;
        color: #4d4d4d;
    }

    .panel-title {
        font-weight: bold;
    }

    #main-menu .dropdown-menu-nav {
        display: none !important;
    }

    .mobile-menu-item {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-item a {
        text-decoration: none;
        color: #1C326B;
        font-size: 18px;
        line-height: 1.33;
        position: relative;
    }

    .mobile-menu-item .chevron {
        color: #999;
    }

    #mobile-main-menu {
        text-align: left;
    }

    .styled-menu {
        display: none;
    }

    /* Hide chevrons on mobile */
    .chev-down-nav {
        display: none;
    }
   
}

.mobile-only ul li .img-wrap img {
    height: 180px;
    width: 100%;
    object-fit: contain;
}

header .mobile-only ul li .nav-text-wrap {
    padding-left: 0;
}
header .mobile-only ul li .nav-text-wrap span {
    margin-top: 17px;
    color: #1C326B;
    max-width: 300px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.44;
    display: -webkit-box;
    max-height: 73px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'MyriadPro_Bold', sans-serif;
}


header .mobile-only ul li .btn-wrap {
    margin-top: 7px;
}
header .mobile-only ul li .mobile-content {
    text-align: left;
}

header .mobile-only ul li .btn-wrap {
    margin-top: 20px;
}

header .mobile-only ul li .nav-text-wrap p {
    color: #4d4d4d;
    display: block;
    margin-top: 10px;
    font-size: 16px;
    max-width: 300px;
    font-weight: normal;
    max-height: 55px;
    line-height: 1.74;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
header .mobile-only ul li.white-circle-link, header .mobile-only ul li.black-circle-link {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8px 15px 8px 15px;
}

header .mobile-only .dropdown-menu-nav {
    background:#efefef;
}
header .mobile-only ul li.black-circle-link a {
    font-size: 16px;
    display: block;
    line-height: 1.39;
    max-width: 300px;
    transition: all 0.3s ease-in-out;
    display: -webkit-box;
    max-height: 50px;
    overflow: hidden;
    color: #4d4d4d;
}

header .mobile-only .bg-white-grey {
    background: #efefef;
}

header .mobile-only ul li.black-circle-link .btn-wrap a{
    color:white;
}
header .mobile-only ul.featured-links li a{
    font-size: 16px;
    display: block;
    line-height: 1.39;
    max-width: 300px;
    transition: all 0.3s ease-in-out;
    display: -webkit-box;
    max-height: 50px;
    overflow: hidden;
    text-align:left;
    color: #4d4d4d;
}
.dropdown-menu-nav.no-margin.open {
    margin-top: 0px;
}
header .mobile-only .dropdown-menu-nav.no-margin.padding-24.open {
    padding: 24px;
}
header .mobile-only .content-with-image-wrap .img-wrap img {
    height: 180px;
    width: 100%;
    /*object-fit: contain;*/
}

header .mobile-only .content-with-image-wrap .img-wrap {
    max-width: 327px;
    max-height: 179px;
    overflow: hidden;
}

header .mobile-only .content-with-image-wrap .nav-text-wrap {
    text-align: left;
}
header .mobile-only .content-with-image-wrap .nav-text-wrap span {
    margin-top: 17px;
    color: #1C326B;
    max-width: 300px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.44;
    display: -webkit-box;
    max-height: 73px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'MyriadPro_Bold', sans-serif;
}
header .mobile-only .content-with-image-wrap .nav-text-wrap p {
    color: #4d4d4d;
    display: block;
    margin-top: 10px;
    font-size: 16px;
    max-width: 300px;
    font-weight: normal;
    max-height: 55px;
    line-height: 1.74;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

header .mobile-only .panel-header .panel-title {
    font-size: 18px;
    font-weight: bold;
    font-family: 'MyriadPro_Bold', sans-serif;
    margin: 0px;
    color: #4d4d4d;
}

@media (max-width: 768px) {
    header .mobile-only .content-with-image-wrap .nav-text-wrap span {
        font-size: 16px;
        max-width: 400px;
    }
    header .mobile-only ul li:not(:last-child) {
        border-bottom: 1px solid #c3c6c8;
    }
    header .mobile-only ul.featured-links li {
        padding: 15px 15px 15px 15px !important;
        /* padding: 23px 0; */
    }
    header .mobile-only ul li .nav-text-wrap span {
        font-size: 16px;
        max-width: 400px;
    }
    header .mobile-only .dropdown-menu-nav.no-margin {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding: 24px;
        padding-bottom: 0;
        align-self: flex-start;
    }
}

@media (max-width: 596px) {
    header .mobile-only .content-with-image-wrap .img-wrap {
        max-width: 500px;
        max-height: 179px;
    }
    header .mobile-only .content-with-image-wrap .img-wrap img {
        height: 185px;
    }
    header .mobile-only .content-with-image-wrap .nav-text-wrap span {
        max-width: 500px;
        margin-top: 12px;
    }
    header .mobile-only ul li .nav-text-wrap span {
        max-width: 500px;
        margin-top: 12px;
    }
    .mobile-only ul li .img-wrap img {
        height: 185px;
    }
    header .mobile-only ul li .btn-wrap {
        margin-top: 10px;
    }
}

@media (max-width: 992px) {
    header .mobile-only .content-with-image-wrap .img-wrap {
        max-width: 450px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    header .mobile-only .content-with-image-wrap {
        display: flex;
        align-items: center;
    }
    header .mobile-only .content-with-image-wrap .img-wrap {
        flex: 0 0 calc(50% - 20px);
        margin-right: 20px;
        max-height: 250px;
    }
    header .mobile-only .content-with-image-wrap .img-wrap img {
        height: auto;
    }
}
/* Hide mobile on desktop */
@media (min-width: 992px) {
    .mobile-panel {
        display: none !important;
    }
}

header .mobile-only ul li .mobile-content {
    margin-top: 15px;
    max-width: 100%;
}
