/*
Theme Name: Divi Child - Navigation CSS
Version: 4.16.0
Description: Website Name: aquariusgraphics.com
Author: Wayne Woodbury ** Modified CSS File - Feburary 10th 2022 **
*/


/*----------------------------------------------------------------------*/


/*------------------ MAIN NAVIGATION SECTION ---------------------------*/


/*----------------------------------------------------------------------*/


/* Top Navigation Default / Center Header */

.et_header_style_left #et-top-navigation {
    padding-top: 0;
}


/* Top Navigation Fixed Header */

.et_header_style_left .et-fixed-header #et-top-navigation,
.et_header_style_split .et-fixed-header #et-top-navigation {
    padding-top: 0;
    z-index: 9999;
    position: relative;
}


/* Top Menu BG */

#top-menu {
    background-color: transparent;
    margin-top: 0px;
    margin-bottom: 0px;
}


/* Top Menu Link Box Spacing */

#top-menu li {
    margin-left: -2px;
    margin-right: -3px;
    padding-right: 0 !important;
}


/* Top Menu Link Box */

#top-menu li a,
#top-menu li.current-menu-ancestor>a,
#top-menu li.current-menu-item>a,
#top-menu li:last-child>a,
#top-menu li.current-menu-item:last-child>a {
    background-color: transparent;
    color: #2c3e50;
    font-size: 15px;
    font-weight: 600;
    padding: 32px 26px !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    letter-spacing: 0.3px;
    position: relative;
}


/* Top Menu Link Box Hover */

#top-menu li a:hover,
#top-menu li.current-menu-ancestor>a:hover,
#top-menu li.current-menu-item>a:hover,
#top-menu li:last-child>a:hover,
#top-menu li.current-menu-item:last-child>a:hover {
    background: linear-gradient(135deg, rgba(16, 113, 153, 0.08) 0%, rgba(21, 137, 184, 0.08) 100%);
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(-1px);
    color: #107199;
    box-shadow: 0 4px 16px rgba(16, 113, 153, 0.15);
}


/*----------------------------------------------------------------------*/


/*------------------ DROPDOWN NAVIGATION -------------------------------*/


/*----------------------------------------------------------------------*/


/* Dropdown Adjustment Menu Box - Make Sticky */

.et-dropdown-removing>ul {
    display: inherit !important;
}


/* Remove Opacity On Hover Top Menu - Dropdown Menu */

#top-menu-nav>ul>li>a:hover,
#top-menu-nav>ul>li>ul a:hover,
#et-secondary-menu>ul>li>a:hover,
#et-info-email:hover,
.et-social-icons a:hover {
    opacity: 1;
}


/* Dropdown Menu Box */

.nav li ul {
    background: #ffffff;
    margin-top: 8px;
    margin-left: 0;
    padding: 12px;
    width: auto;
    position: absolute;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    box-shadow: 0 8px 24px rgba(16, 113, 153, 0.18), 0 4px 12px rgba(16, 113, 153, 0.12);
    border-radius: 12px;
    border: 1px solid rgba(16, 113, 153, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Secondary Dropdown Menu Box */

.nav li li ul {
    left: 296px;
    top: -17px;
    z-index: 1000;
}


/* Secondary Reverse Dropdown Menu Box */

.nav li.et-reverse-direction-nav li ul {
    right: 293px;
    left: auto;
    top: -15px;
}


/* Dropdown Menu Link Box */

#top-menu li li {
    margin: 0;
    padding: 0;
    text-align: left;
}


/* Dropdown Menu Link Box */

#top-menu li ul li a,
#top-menu li ul li.current-page-ancestor>a,
#top-menu li ul li:last-child>a,
#top-menu li ul li.current-menu-item>a,
#top-menu li ul li.current-menu-item:last-child>a,
#top-menu ul li.current-menu-ancestor>a {
    background-color: transparent !important;
    background-image: none;
    color: #2c3e50;
    margin: 4px;
    padding: 12px 24px !important;
    width: 250px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
}


/* Dropdown Menu Link Box Hover */

#top-menu li ul li a:hover,
#top-menu li ul li.current-page-ancestor>a:hover,
#top-menu li ul li:last-child>a:hover,
#top-menu li ul li.current-menu-item>a:hover,
#top-menu li ul li.current-menu-item:last-child>a:hover,
#top-menu ul li.current-menu-ancestor>a:hover {
    background: linear-gradient(135deg, rgba(16, 113, 153, 0.12) 0%, rgba(21, 137, 184, 0.12) 100%) !important;
    background-image: none;
    color: #107199;
    border-radius: 8px;
    transform: translateX(4px);
}


/* Dropdown Arrows Top Nav */

#top-menu .menu-item-has-children>a:first-child:after {
    content: none;
}


/* Dropdown Arrows Dropdown Link Box */

#top-menu li ul .menu-item-has-children>a:first-child:after {
    position: absolute;
    top: 5px;
    right: 10px;
    font-family: "ETmodules";
    font-size: 20px;
    font-weight: normal;
    content: "\59";
}


/*----------------------------------------------------------------------*/


/*------------------ SECONDARY NAVIGATION SECTION ----------------------*/


/*----------------------------------------------------------------------*/


/* Secondary Menu Bar */

#top-header .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* Secondary Menu Bar */

#top-header {
    background-color: #222 !important;
    padding: 10px 0;
}


/* Secondary  Menu Right Margin */

#et-secondary-menu {
    margin-right: 15px;
}


/* Secondary  Menu link Box */

#et-secondary-menu>ul>li a {
    padding: 10px;
    margin-left: 3px;
}


/* Secondary Menu Link Box */

#top-header a {
    background-color: #c00;
    color: #fff;
    font-family: "FONT-NAME", sans-serif;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: bold !important;
    border-radius: 3px;
}


/* Secondary Menu Link Box */

#top-header a:hover {
    background-color: #0c0;
}


/* Secondary Menu Link Box */

#et-secondary-nav li {
    margin-right: 2px;
}


/*----------------------------------------------------------------------*/


/*------------------ FOOTER NAVIGATION SECTION -------------------------*/


/*----------------------------------------------------------------------*/


/* Footer Menu */

.bottom-nav {
    padding: 30px 0 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}


/* Footer Menu */

.bottom-nav li {
    display: inline-block;
    padding-right: 0 !important;
    margin: 0 !important;
}


/* Footer Menu Link Box */

.bottom-nav li>a {
    background: rgba(255, 255, 255, 0.08);
    color: #e5e5e5;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    display: inline-block;
}


/* Footer Menu Link Box */

.bottom-nav li>a:hover {
    color: #fff;
    background: linear-gradient(135deg, #c99024 0%, #b8822a 100%);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 117, 43, 0.3);
}


/*Footer Menu */

@media only screen and (max-width: 980px) {
    /* Footer Menu*/
    #menu-footer-menu {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .bottom-nav {
        flex-direction: column;
        gap: 8px;
    }
    /* Footer Menu Link Box */
    .bottom-nav li {
        width: 100%;
        max-width: 400px;
        margin: 0 auto !important;
    }
    .bottom-nav li>a {
        display: block;
        width: 100%;
        margin: 0;
    }
}


/*----------------------------------------------------------------------*/


/*------------------ MOBILE NAVIGATION SECTION -------------------------*/


/*----------------------------------------------------------------------*/


/* ######## Mobile Menu Bar Box Header Spacing Below In Mobile Screen Section ######## */


/* Mobile Menu Bar Box */

#et_mobile_nav_menu,
.et_header_style_centered #et_mobile_nav_menu {
    margin-top: 0;
    float: none;
    position: relative;
}


/* Mobile Menu Bar Box */

#main-header .mobile_nav,
.et_header_style_centered #main-header .mobile_nav {
    height: 40px;
    display: block;
    padding: 8px 10px;
    border-radius: 0;
    background-color: transparent;
    text-align: left;
}


/* Mobile Menu Bar Select Page */

.mobile_nav .select_page,
.et_header_style_centered .mobile_nav .select_page,
.et_header_style_split .mobile_nav .select_page {
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    display: inline-block;
    position: absolute;
    right: 60px;
    margin-top: 0;
}


/* Mobile Menu Bar Box Icon */

.mobile_menu_bar:before,
.mobile_menu_bar.mobile_menu_bar_toggle {
    color: #fff;
    font-family: "ETmodules";
    font-size: 35px;
    content: "\61";
    position: absolute;
    top: 2px !important;
    right: 50px !important;
    cursor: pointer;
}


/* Mobile Dropdown Menu Box */

.et_mobile_menu {
    background-color: rgba(255, 255, 255, 0.7) !important;
    top: 35px !important;
    padding: 20px;
    position: relative;
    display: none;
    border-radius: 3px;
    border: none;
}


/* Mobile Dropdown Menu Box Location */

.et_header_style_centered .et_mobile_menu {
    top: 40px;
}


/* Mobile Dropdown Menu Link Border Remove */

.et_mobile_menu li a {
    border-bottom: 1px solid rgba(0, 0, 0, 0);
}


/* Mobile Dropdown Menu Link Box */

.et_mobile_menu li a,
.et_mobile_menu li.current-menu-item>a,
.et_mobile_menu .menu-item-has-children>a,
.et_mobile_menu li .menu-item-has-children>a {
    background-color: #055374;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin: 2px;
    padding: 12px 5% !important;
    text-decoration: none;
    opacity: 1;
    border-radius: 0;
}


/* Mobile Dropdown Menu Link Box Hover */

.et_mobile_menu li a:hover,
.et_mobile_menu li.current-menu-item>a:hover,
.et_mobile_menu .menu-item-has-children>a:hover {
    background-color: #1089bc;
    opacity: 1;
    color: #fff;
}


/* ******************** Mobile Dropdown Toggle  ******************** */


/* Mobile Dropdown Toggle */

#main-header .et_mobile_menu .menu-item-has-children>a {
    position: relative;
}


/* Mobile Dropdown Toggle */

#main-header .et_mobile_menu .menu-item-has-children>a:after {
    font-family: 'ETmodules';
    text-align: center;
    speak-as: none;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    position: absolute;
}


/* Mobile Dropdown Toggle */

#main-header .et_mobile_menu .menu-item-has-children>a:after {
    font-size: 26px;
    content: '\59';
    top: 6px;
    right: 10px;
}


/*----------------------------------------------------------------------*/


/*------------------ BEGIN MOBILE SCREEN SECTION -----------------------*/


/*----------------------------------------------------------------------*/

@media only screen and (max-width: 1180px) {
    /*------------------ SECONDARY NAVIGATION SECTION ----------------------*/
    /* Secondary Menu Right Margin */
    #et-secondary-menu {
        margin-right: 10px !important;
    }
    /* Top Menu Link Box */
    #top-menu li a,
    #top-menu li.current-menu-ancestor>a,
    #top-menu li.current-menu-item>a,
    #top-menu li:last-child>a,
    #top-menu li.current-menu-item:last-child>a {
        padding: 40px 30px !important;
    }
}

@media only screen and (max-width: 980px) {
    /* Mobile Menu Bar Box*/
    #et-top-navigation {
        float: none;
    }
}