body {
    overflow: auto !important;
}
/* NAVBAR DROPDOWN */
.custom-nav {
    background-color: #fff;
    position:relative;
}

.custom-nav .navbar-nav,
.custom-nav .navbar-nav > .menu-item { position: relative; }

.custom-nav .navbar-nav .sub-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 999;
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: none;
}

.custom-nav .navbar-nav .menu-item:hover > .sub-menu {
    max-height: 1000px;
    opacity: 1;
    pointer-events: auto;
}

.custom-nav .navbar-nav .sub-menu .menu-item,
.custom-nav .navbar-nav .sub-menu ul { margin: 0; padding: 0; }

.custom-nav .navbar-nav .sub-menu .menu-item a {
    color: #9f9292;
    display: block;
    text-decoration: none !important;
    padding: 15px 20px;
    transition: all 0.3s ease;
    border-bottom: 0.5px solid #eee;
    font-size: 14px;
}

.custom-nav .navbar-nav .sub-menu .menu-item a:hover {
    color: #f8f9fa;
    background-color: #d51a0a;
}

.custom-nav .navbar-nav .sub-menu .sub-menu {
    left: 100%;
    top: 0;
}

/* NAVBAR */
nav#customnavbar { z-index: 1085 !important; }

.custom-nav {
    padding: 0;
    font-family: 'Rubik', sans-serif;
}

.custom-nav .navbar-brand {
    background: linear-gradient(109deg, #262626 0%, #262626 80.3%, #d51a0a 80.3%, #d51a0a 81.4%, #ffffff 81.6%, #ffffff 100%);
    padding: 10px 140px 13px 80px;
    margin-right: 0;
}

.custom-nav ul { margin: 0; gap: 30px; }

.custom-nav ul li {
    padding-top: 28px;
    padding-bottom: 22px;
}

.custom-nav ul li a {
    font-size: 17px;
    font-weight: 400;
    color: #9f9292;
    letter-spacing: 0.5px;
}

.custom-nav .fa-bars { color: #d51a0a; }

/* OFFCANVAS */
.custom-nav .offcanvas,
.custom-nav .offcanvas.show {
    background-color: #262626;
    z-index: 1085 !important;
    visibility: visible !important;
    width:87%;
    transition: all 0.3s ease-in-out;
}

.custom-nav .offcanvas-backdrop{
    transition: all 0.3s ease-in-out;
}

/* NAVBAR RIGHT BTN */
.custom-nav .navright {
    display: flex;
    align-items: center;
    gap: 30px;
}

.custom-nav .custom-btn,
.custom-nav2 .custom-btn,
.custom-nav2 .custom-nbtn {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    outline: none !important;
    background-color: #d51a0a;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    -webkit-transition: all 0.5s linear;
    transition: all 0.5s linear;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
}

.custom-nav .custom-btn {
    padding: 15px 50px;
}

.custom-nav .custom-btn:hover,
.custom-nav2 .custom-btn:hover,
.custom-nav2 .custom-nbtn:hover {
    color: #fff;
}

.custom-nav .custom-btn:after,
.custom-nav2 .custom-btn:after,
.custom-nav2 .custom-nbtn:after {
    position: absolute;
    content: "";
    top: 0; left: 0; right: 0; bottom: 0;
    width: 3px;
    background-color: #262626;
    transition: all 0.5s ease-in-out;
    opacity: 1;
    z-index: -1;
}

.custom-nav .custom-btn:hover:after,
.custom-nav2 .custom-btn:hover:after,
.custom-nav2 .custom-nbtn:hover:after {
    width: 100%;
    opacity: 1;
}

.custom-nav .custom-number a {
    color: #9f9292;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 20px;
}

.custom-nav .custom-number a:hover { color: #d51a0a; }

.custom-nav .custom-contact a { color: white; text-decoration: none; }

.custom-nav .custom-contact i {
    background-color: #d51a0a;
    color: white;
    font-size: 14px;
    padding: 10px;
    margin-right: 8px;
}

/* MOBILE */

@media only screen and (max-width: 768px) {
    .custom-nav .navbar-brand {
        background: linear-gradient(109deg, #262626 0%, #262626 80.3%, #d51a0a 80.3%, #d51a0a 81.4%, #ffffff 81.6%, #ffffff 100%);
        padding: 10px 80px 13px 30px;
    }

    .custom-nav ul { gap: 0px; }

    .custom-nav ul li { padding: 0; }

    .custom-nav ul li a { color: #fff; }

    .custom-nav .navright { display: none !important; }

    .custom-nav .custom-contact { margin-top: 15px; }

    .custom-nav .navbar-nav .sub-menu {
        position: static !important;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
        background: rgba(0,0,0,0.1);
        box-shadow: none;
        width: 100%;
        pointer-events: none;
        /* padding-left: 20px !important; */
        padding-left: 0px !important;
        display: none;
    }

    .custom-nav .navbar-nav .menu-item.show > .sub-menu {
        max-height: 1000px;
        opacity: 1;
        pointer-events: auto;
        display: block;
    }

    .custom-nav .navbar-nav .sub-menu .menu-item a {
        color: #fff !important;
        padding: 15px 20px;
        border-bottom: none;
    }

    .custom-nav .navbar-nav .sub-menu .menu-item a:hover {
        background-color: rgba(213, 26, 10, 0.7);
    }

    .custom-nav .navbar-nav .sub-menu .sub-menu { left: 0; top: auto; }

    .custom-nav .navbar-nav .menu-item-has-children > a:after {
        content: "+";
        float: right;
        margin-left: 10px;
        transition: transform 0.3s;
    }

    .custom-nav .navbar-nav .menu-item.show > a:after { content: "-"; }

    .custom-nav .navbar-nav .submenu-toggle {
        display: flex;
        background-color: #262626;
        color: #fff;
        border: none;
    }

    .custom-nav .menu-item-container {
        display: flex;
        justify-content: space-between;
    }

    .custom-nav .menu-item-container .menu-link { width: 100%; }

    .custom-nav .navbar-nav .menu-item:hover > .sub-menu {
        max-height: initial;
        opacity: initial;
        pointer-events: initial;
    }
    .custom-nav2 {
        padding: 20px;
    }
    
    .custom-nav .navbar-nav > .menu-item:first-child {
        border-top: 1px solid #fff;
        padding: 13px 0px;
    }
        
    .custom-nav .navbar-nav > .menu-item {
        position: relative;
        border-bottom: 1px solid #fff;
        padding: 8px 0px;
    }

     .custom-nav .menu-item.has-mini-bar > .menu-item-content > .menu-item-container > a.menu-link {
        font-weight: 500 !important;
        color: #fff !important;
    }
}

/* DESKTOP */
@media only screen and (min-width: 769px) {
    .custom-nav .navbar-nav .submenu-toggle { display: none; }

    .custom-nav .navbar-nav .menu-item:hover > .sub-menu {
        display: block;
        max-height: 1000px;
        opacity: 1;
        pointer-events: auto;
    }
    
  
}

/* TABLET+ */
@media only screen and (min-width: 1024px) {
    .custom-nav .navbar-brand {
        background: linear-gradient(109deg, #262626 0%, #262626 85.3%, #d51a0a 85.3%, #d51a0a 86.4%, #ffffff 86.6%, #ffffff 100%);
        padding: 10px 65px 13px 30px;
    }

    .custom-nav .custom-number { display: none; }

    .custom-nav ul { gap: 20px; }

    .custom-nav ul li { padding-top: 17px; padding-bottom: 14px; }

    .custom-nav .custom-btn {
        text-align: center;
        padding: 10px 25px;
        margin-right: 30px;
        font-size: 14px;
        width: 200px;
    }
}

/* 1440+ */
@media only screen and (min-width: 1440px) {
    .custom-nav .navbar-brand {
        background: linear-gradient(109deg, #262626 0%, #262626 80.3%, #d51a0a 80.3%, #d51a0a 81.4%, #ffffff 81.6%, #ffffff 100%);
        padding: 10px 140px 13px 80px;
    }

    .custom-nav .custom-number { display: block; }

    .custom-nav ul { gap: 15px; }

    .custom-nav ul li {
        padding-top: 41px;
        padding-bottom: 39px;
    }

    .custom-nav .navright {
        gap: 10px;
        /* padding-right: 3rem; */
        padding-right: 5rem;
    }

    .custom-nav .custom-btn {
        font-size: 18px;
        font-weight: 700;
        padding: 15px 0;
        width: 260px;
        margin-right: 0;
    }
}

@media only screen and (min-width: 1441px) {
    .custom-nav ul { gap: 35px; }
}


@media only screen and (max-width: 425px) {
    /* nav2 */
    .custom-nav2 {
        padding: 10px !important;
    }
    .custom-nav2 .custom-btn {
        padding: 10px 20px !important;
        font-size: 12px;
    }

    .custom-nav2 .custom-nbtn {
        padding: 10px 20px !important;
        font-size: 12px;
    }
    .custom-nav2 svg{
        height: 20px !important;
        width: 20px !important;
    }

}




.custom-nav2 .custom-btn {
    padding: 15px 50px;
}

.custom-nav2 .custom-nbtn {
    padding: 5px 50px;
}












.custom-nav .navbar-nav > .menu-item {
    position: relative;
}

.menu-item-content {
    position: relative;
    display: inline-block;
    width: 100%;
}

.mini-bar-icon {
    position: absolute;
    bottom: -39px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 20px;
    display: none;
}

.menu-item.has-mini-bar .mini-bar-icon {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.mini-bar-icon::before,
.mini-bar-icon::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    width: 2px;
    background: black;
}

.mini-bar-icon::before {
    left: 3px;
    height: 12px;
    box-shadow: 
        4px 0 black,
        10px 0 black;
}

.mini-bar-icon::after {
    left: 7px;
    height: 20px;
    background: #d51a0a;
}

@media only screen and (max-width: 768px) {
    .mini-bar-icon {
        display: none !important;
    }
    
    /* .custom-nav .navbar-nav > .menu-item {
        padding-bottom: 0;
    } */
}

.custom-nav .menu-item.has-mini-bar > .menu-item-content > .menu-item-container > a.menu-link {
    font-weight: 600;
    color: #262626;
}
