/*
Template: Divi
Theme Name: Divi Child
Theme URI: https://www.elegantthemes.com/gallery/divi/
Description: Divi Child Theme
Author: Elegant Themes
Author URI: https://www.elegantthemes.com
Template: Divi
Version: 1.0.0
*/

a, button{
    transition: all 0.3s ease;
    outline: none !important;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    outline-offset: 0px !important;
}
.flex-row{
    display: flex;
    align-items: center;
}

.header-menu ul li a {
    border-bottom: 2px solid transparent;
    position: relative;
    display: inline-block;
    overflow: hidden;
    opacity: 1 !important;
}

.header-menu ul li a::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #237290;
    transition: all 0.3s ease;
}

.header-menu ul li a:hover::before {
    left: 0;
    width: 100%;
}

.header-menu .current-menu-item a::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #237290;
}
.footer-menu .current-menu-item a::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #237290;
}
.footer-menu ul li a, .footer-blurb .et_pb_blurb_description a {
    position: relative;
    display: inline-block;
    overflow: hidden;
    opacity: 1 !important;
}

.footer-menu ul li a::before, .footer-blurb .et_pb_blurb_description a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #237290;
    transition: all 0.3s ease;
}

.footer-menu ul li a:hover::before, .footer-blurb .et_pb_blurb_description a:hover::before {
    left: 0;
    width: 100%;
}
body .et_pb_scroll_top {
    background: #237290 !important;
    border-radius: 50% !important;
    right: 10px !important;
    bottom: 40px !important;
}
#menu-primary-menu{
    align-items: center;
}
.header-menu a{
    color: #111 !important;
}
.header-menu a:hover{
    color: #237290 !important;
}
.header-menu ul li:last-child a:hover::before {
    content: none;
}
.header-menu-btn{
    margin-top: 0 !important;
}
.header-menu-btn a{
    background: #237290;
    padding: 15px 20px !important;
    border-radius: 9px;
    margin-top: 0 !important;
    color: white !important;
    transition: all 0.3s ease;
}
.header-menu-btn a:hover{
    background: #448494 !important;
    color: white !important;
}
.featured-quote h5{
    font-size: 24px !important;
    font-weight: 600;
    color: #111 !important;
    text-align: center;
}
.custom-href-btn {
    background: #237290;
    padding: 15px 20px !important;
    border-radius: 9px;
    border: 1px solid #237290;
    color: white !important;
    transition: all 0.3s ease;
}
.btn-text{
    cursor: pointer;
    transform: translateY(0)px;
    transition: transform 0.3s ease;
}
.btn-text:hover{
    transform: translateY(-5px) !important;
}
.mb-40{
    margin-bottom: 40px !important;

}

.custom-href-btn::after {
    content: '➜';
    margin-left: 10px;
    font-size: 18px;
    color: white !important;
}
.custom-href-btn:hover:after {
    color: #237290 !important;
}
.custom-href-btn:hover {
    background-color: #faf0dd;
    transform: translateY(-5px) !important;
    color: #237290 !important;
}

@media (max-width: 991px){
    .flex-row.tab-row{
        flex-direction: column;
    }
    .featured-quote h5{ 
        font-size: 20px !important;
    }
}
@media (max-width: 980px){
    .about-row {
        flex-direction: column;
    }
    .about-row .et_pb_column {
        width: 100% !important;
    }
    .about-row-right-col{
        order: -1;
    }
    .footer-menu .et_pb_menu__menu{
        display: block;
    }
    .footer-menu .et_mobile_nav_menu{
        display: none;
    }
    header .et_mobile_menu {
        min-width: 60vw;
        margin-left: -55vw;
        margin-top: 5vw;
    }
    header .et_mobile_menu li{
        padding: 10px 5% !important;
    }
    header .et_mobile_menu li:not(:last-child) a {
        padding: 0 !important;
    }    
    .header-row .et_pb_column{
        margin-bottom: 0px !important;
    }
}
@media (max-width: 767px){
    .we-offer-grid{
        grid-template-columns: 1fr;
    }
    header .et_mobile_menu {
        margin-left: -53vw;
        margin-top: 5vw;
    }
    .flex-row{
        flex-direction: column;
    }
    .featured-quote h5{ 
        font-size: 18px !important;
    }
}
@media only screen and (max-width: 479px) {
    header .et_mobile_menu {
        margin-left: -50vw;
        margin-top: 5.6vw;
    }
}