/* Dropdown Fix CSS */
.dropdown {
    display: inline-block;
    position: relative;
}

.dropdown-menu {
    display: none !important;
}

.dropdown.open .dropdown-menu {
    display: block !important;
}

.dropdown-toggle {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.dropdown-toggle:hover {
    text-decoration: none;
    color: inherit;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    white-space: nowrap;
}

.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    color: #fff;
    text-decoration: none;
    background-color: #337ab7;
    outline: 0;
}

/* Override any conflicting styles */
@media (max-width: 991px) {
    .dropdown-menu {
        display: none !important;
        position: absolute !important;
        left: 0 !important;
        right: auto !important;
    }
    
    .dropdown.open .dropdown-menu {
        display: block !important;
    }
    
    .dropdown {
        display: inline-block !important;
    }
} 