.dropbtn {
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-align: left;
}
.sub-dropbtn a 
{
    float: left;
}
/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Dropdown links */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show dropdown content on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Sub-dropdown container */
.sub-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Sub-dropdown button */
.sub-dropbtn {
    color: rgb(27, 26, 26);
    padding: 4px;
    font-size: 12px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    text-align: left;
    background-color: transparent;
}
.navbar-expand-lg .navbar-nav .dropdown-menu
{
    width: 500px;
}
.ssb 
{
    display: flex;
}
.nvv
{
    min-height: 500px;
    overflow-y: auto;
}
@media (min-width:601px)
{
    /* Sub-dropdown content */
    .sub-dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        max-width: 800px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        top: 185px;
        height: auto;
        left: 270px;
    }

}
@media (max-width:1400px)
{
    .sub-dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        max-width: 800px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        top: 0px;
        min-height: 100%;
        left: 270px;
    }
}
@media (min-width:1401px)
{
    .sub-dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 600px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        top: 0;
        height: auto;
        left: 360px;
    }
}
/* Sub-dropdown links */
.sub-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 13px;
}

/* Sub-dropdown links on hover */
.sub-dropdown-content a:hover {background-color: #f1f1f1}

/* Show sub-dropdown content on hover */
.sub-dropdown:hover .sub-dropdown-content {
    display: block;
}
.sub-fl
{
    display: flex;
}

/* Responsive layout adjustments */
@media screen and (max-width: 600px) {
    .dropdown, .sub-dropdown {
        display: block;
        width: 100%;
    }
    
    .dropdown-content, .sub-dropdown-content {
        position: static;
        box-shadow: none;
        width: 100%;
        display: none;
    }
    
    .dropdown:hover .dropdown-content, .sub-dropdown:hover .sub-dropdown-content {
        display: block;
    }
    .sub-fl 
    {
        flex-direction: column;
    }
/* Sub-dropdown content */
.sub-dropdown-content {
    width: 300px;
}
.sub-dropbtn {
    color: rgb(27, 26, 26);
    padding: 12px;
    font-size: 10px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    word-break: break-all;
}
.dropdown-item{
    font-size: 12px;
}
.navbar-expand-lg .navbar-nav .dropdown-menu
{
    width: 100%;
}
}
.arrow 
{
    display: none;
}

@media (max-width: 768px) {
    .dropdown-menu {
        display: block;
    }

    .sub-dropdown-content {
        padding-left: 20px;
    }
    .sub-dropbtn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        background-color: transparent;
        border: none;
        font-size: 16px;
        cursor: pointer;
        padding: 10px;
    }
    
    .sub-dropbtn .arrow {
        font-size: 14px;
        transition: transform 0.3s ease;
    }
    
    .sub-dropdown-content {
        display: none;
        padding: 10px 0;
    }
    
    .sub-dropdown.active .sub-dropdown-content {
        display: block;
    }
    
    .sub-dropdown.active .arrow {
        transform: rotate(180deg);
    }
    .arrow 
    {
        display: block;
    }
    
}
