﻿.dropdown > button.ddlGeneric {
    display: block;
    border: none;
    border-bottom: 1px solid #979797;
    border-radius: 2px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #424242;
    padding: 6px 10px;
    height: 33px;
    box-shadow: none;
    background-color: white;
    font-family: 'Roboto-Light';
    text-align: right;
}

.ddlGeneric span {
    float: left;
    letter-spacing: 0px;
}

.ddlGeneric .caret {
    border-top: 4px solid #424242;
}

.dropdown-item {
    display: block;
    padding: 8px 8px;
    cursor: pointer;
    color: #424242;
    font-size: 16px;
    font-family: 'Roboto-Light';
}

.dropdown-item:hover {
    background-color: #E6E6E6;
    text-decoration: none;
}

.dropdownpanel .dropdown-menu {
    width: 100%;
    margin-top: 0px;
    box-shadow: none;
    -webkit-box-shadow: none;
    border: 1px solid #ccc;
    padding: 0px;
    border-radius: 0px;
}

.dropdown-divider {
    margin-top: 6px;
    margin-bottom: 6px;
}

.dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    content: "";
}

.pre-scrollable {
    padding-left: 0px;
    margin-bottom: 0px;
}

#dropdown {
    color: #666;
    position: relative;
    display: inline-block;
}

.border-animation {
    position: absolute;
    left: 50%;
    content: '';
    height: 2px;
    background: #26ae60;
    transition: all 0.2s linear;
    width: 0;
    bottom: 0;
}

.error .border-animation {
    background: #d32f2f;
}

.error .selected-option-text {
    color: #d32f2f;
}

button.ddlGeneric:focus ~ .border-animation,
.error button.ddlGeneric ~ .border-animation {
    width: 100%;
    margin-left: -50%;
}
.dropdown-menu-mobile {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 85px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #006940;
    color: white;
}
    .dropdown-menu-mobile .dropdown-menu-header {
        padding: 16px 36px;
        font-size: 20px;
        line-height: 24px;
        font-weight: bold;
        border-bottom: 1px solid #FFFFFF;
        margin-bottom: 12px;
    }
    .dropdown-menu-mobile .dropdown-menu-footer {
        padding: 12px 36px;
        cursor: pointer;
        line-height: 16px;
    }
    .dropdown-menu-mobile .dropdown-item {
        font-weight: bold;
        margin: 6px 0px 12px;
        padding: 12px 18px;
        color: #FFFFFF;
        border: 1px solid #FFFFFF;
        border-radius: 4px;
    }

.pre-scrollable-mobile {
    padding: 0px 36px;
}
i.i-ddp-mobile-back-arrow {
    display: inline-block;
    width: 12px;
    height: 17px;
    background-image: url('/Images/Icon-Mobile-Left-Arrow.png');
    margin-right: 8px;
}

@media only screen and (max-width: 576px) {
    .open > .dropdown-menu-mobile {
        display: block;
    /*    position: absolute;
        top: 100%;
        height: auto;*/
    }

    .open > .dropdown-menu.non-mobile {
        display: none;
    }
}