/* Dropdown control */
.selectBox-dropdown {
    min-width: 100%;
    position: relative;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    border: 1px solid #3D3D3D;
    padding: 9.5px 38px 9.5px 20px;
    max-height: 43px;
    border-radius: 8px;
}
.selectBox-dropdown:focus,
.selectBox-dropdown:hover {
    color: #fff;
}

.selectBox-dropdown:hover .selectBox-label {
    text-decoration: underline;
}

.selectBox-dropdown.selectBox-menuShowing-bottom {
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-bottomright: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.selectBox-dropdown.selectBox-menuShowing-top {
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.selectBox-dropdown .selectBox-label {
    min-width: 100%;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: middle;
}

.selectBox-dropdown .selectBox-arrow {
    position: absolute;
    top: 0;
    right: 14px;
    width: 27px;
    height: 100%;
    background: url("../image/arr-down-grey.svg") no-repeat 50% 50% / auto 7px;
}
.selectBox-dropdown.selectBox-menuShowing .selectBox-arrow {
    background: url("../image/arr-up-grey.svg") no-repeat 50% 50% / auto 7px;
}

/* Dropdown menu */
.selectBox-dropdown-menu {
    position: absolute;
    z-index: 99999;
    max-height: 200px;
    min-height: 1em;
    border: solid 1px #BBB;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* Inline control */
.selectBox-inline {
    min-width: 150px;
    outline: none;
    border: solid 1px #BBB;
    background: #FFF;
    display: inline-block;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    overflow: auto;
}

.selectBox-inline:focus {
    border-color: #666;
}

/* Options */
.selectBox-options,
.selectBox-options LI,
.selectBox-options LI A {
    list-style: none;
    display: block;
    padding: 0;
    margin: 0;
}

.selectBox-options.selectBox-options-top{
    border-bottom:none;
    margin-top:1px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.selectBox-options.selectBox-options-bottom {
    border: 1px solid #3D3D3D;
    color: #fff;
    font-size: 14px;
    border-top: none;
    background: #2A2B30;
    min-width: 150px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.selectBox-options li {
    margin-bottom: 8px;
}
.selectBox-options LI.selectBox-selected {
    margin-bottom: 3px;
}

.selectBox-options LI A {
    padding: 0 20px;
    white-space: nowrap;
    overflow: hidden;
    color: #9d9d9d;
    font-size: 14px;
    text-decoration: none;
}
.selectBox-options LI A:hover {
    text-decoration: underline !important;
}

.selectBox-options LI.selectBox-selected A {
    display: none;
}

.selectBox-options LI.selectBox-disabled A {
    color: #888;
    background-color: transparent;
}

.selectBox-options .selectBox-optgroup {
    color: #666;
    background: #EEE;
    font-weight: bold;
    line-height: 1.5;
    padding: 0 .3em;
    white-space: nowrap;
}

/* Disabled state */
.selectBox.selectBox-disabled {
    color: #888 !important;
}

.selectBox-dropdown.selectBox-disabled .selectBox-arrow {
    opacity: .5;
    filter: alpha(opacity=50);
    border-color: #666;
}

.selectBox-inline.selectBox-disabled {
    color: #888 !important;
}

.selectBox-inline.selectBox-disabled .selectBox-options A {
    background-color: transparent !important;
}

@media (max-width: 1199px) {
    .option {
        position: relative;
        padding: 0 5px;
    }
    .option:after {
        content: '';
        display: block;
        position: absolute;
        top: 14px;
        right: 13px;
        width: 9px;
        height: 7px;
        background: url("../image/arr-down-grey.svg") no-repeat 0 0 / 100% 100%;
    }
    .option select {
        display: block;
        width: 100%;
        height: 30px;
        border: 1px solid #3D3D3D;
        color: #fff;
        padding: 3px 22px 3px 5px;
        background: none !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        -ms-appearance: none;
        appearance: none;
        height: 3.4rem;
        border-radius: .8rem;
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .option select {
        height: 4.3rem;
        padding: 9.5px 38px 9.5px 20px;
        font-size: 1.4rem;
    }

    .option:after {
    	right: 14px;
    	width: 27px;
    	top: 19px;
    }
}