/* ============================================================
   NICE SELECT
   ============================================================ */

.nice-select {
    -webkit-tap-highlight-color: transparent;

    background-color: #fff;

    border-radius: 5px;

    border: solid 1px #e8e8e8;

    box-sizing: border-box;

    clear: both;

    cursor: pointer;

    display: block;

    float: none;

    font-family: inherit;

    font-size: 15px;

    font-weight: normal;

    height: 42px;

    line-height: 40px;

    outline: none;

    padding-left: 18px;

    padding-right: 40px;

    position: relative;

    text-align: left !important;

    -webkit-transition: border-color 0.2s ease-in-out;
    transition: border-color 0.2s ease-in-out;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    white-space: nowrap;

    width: 100%;

    margin-bottom: 0;
}


/* ============================================================
   HOVER
   ============================================================ */

.nice-select:hover {
    border-color: #3164F4;
}


/* ============================================================
   ACTIVE / OPEN / FOCUS
   ============================================================ */

.nice-select:active,
.nice-select.open,
.nice-select:focus {
    border-color: #999;
}


/* ============================================================
   ARROW
   ============================================================ */

.nice-select:after {

    border-bottom: 2px solid #999;

    border-right: 2px solid #999;

    content: '';

    display: block;

    height: 8px;

    width: 8px;

    margin-top: -4px;

    pointer-events: none;

    position: absolute;

    right: 14px;

    top: 50%;

    -webkit-transform-origin: 66% 66%;
    -ms-transform-origin: 66% 66%;
    transform-origin: 66% 66%;

    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);

    -webkit-transition: transform 0.15s ease-in-out;
    transition: transform 0.15s ease-in-out;
}


/* ============================================================
   OPEN ARROW
   ============================================================ */

.nice-select.open:after {

    -webkit-transform: rotate(-135deg);

    -ms-transform: rotate(-135deg);

    transform: rotate(-135deg);

}


/* ============================================================
   OPEN DROPDOWN
   ============================================================ */

.nice-select.open .list {

    opacity: 1;

    pointer-events: auto;

    /*
     * IMPORTANT:
     * No upward translate.
     */
    -webkit-transform: scale(1) translateY(0);

    -ms-transform: scale(1) translateY(0);

    transform: scale(1) translateY(0);

}


/* ============================================================
   DISABLED
   ============================================================ */

.nice-select.disabled {

    border-color: #ededed;

    color: #999;

    pointer-events: none;

}


.nice-select.disabled:after {

    border-color: #cccccc;

}


/* ============================================================
   WIDE
   ============================================================ */

.nice-select.wide {

    width: 100%;

}


.nice-select.wide .list {

    left: 0 !important;

    right: 0 !important;

}


/* ============================================================
   RIGHT
   ============================================================ */

.nice-select.right {

    float: none;

}


.nice-select.right .list {

    left: auto;

    right: 0;

}


/* ============================================================
   SMALL
   ============================================================ */

.nice-select.small {

    font-size: 12px;

    height: 36px;

    line-height: 34px;

}


.nice-select.small:after {

    height: 4px;

    width: 4px;

}


.nice-select.small .option {

    line-height: 34px;

    min-height: 34px;

}


/* ============================================================
   DROPDOWN LIST
   ============================================================ */

.nice-select .list {

    background-color: #fff;

    border-radius: 5px;

    box-shadow:
        0 0 0 1px rgba(68, 68, 68, 0.11),
        0 4px 12px rgba(0, 0, 0, 0.12);

    box-sizing: border-box;

    margin-top: 4px;

    opacity: 0;

    overflow-x: hidden;

    overflow-y: auto;

    padding: 0;

    pointer-events: none;

    position: absolute;

    top: 100% !important;

    bottom: auto !important;

    left: 0 !important;

    right: auto;

    width: 100%;

    max-height: 240px;

    /*
     * IMPORTANT:
     * Start from exactly the dropdown position.
     *
     * The original -21px was causing the visual upward
     * movement.
     */
    -webkit-transform-origin: 50% 0;

    -ms-transform-origin: 50% 0;

    transform-origin: 50% 0;

    -webkit-transform: scale(0.95) translateY(0);

    -ms-transform: scale(0.95) translateY(0);

    transform: scale(0.95) translateY(0);

    -webkit-transition:
        opacity 0.15s ease-out,
        transform 0.15s ease-out;

    transition:
        opacity 0.15s ease-out,
        transform 0.15s ease-out;

    z-index: 99999;

}


/* ============================================================
   DROPDOWN WHEN OPEN
   ============================================================ */

.nice-select.open .list {

    top: 100% !important;

    bottom: auto !important;

    left: 0 !important;

    opacity: 1;

    pointer-events: auto;

    transform: scale(1) translateY(0);

}


/* ============================================================
   OPTIONS
   ============================================================ */

.nice-select .option {

    cursor: pointer;

    font-weight: 400;

    line-height: 40px;

    list-style: none;

    min-height: 40px;

    outline: none;

    padding-left: 18px;

    padding-right: 29px;

    text-align: left;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    -webkit-transition:
        background-color 0.2s,
        color 0.2s;

    transition:
        background-color 0.2s,
        color 0.2s;

}


/* ============================================================
   OPTION HOVER
   ============================================================ */

.nice-select .option:hover {

    background-color: #238AC1;

    color: #fff;

}


.nice-select .option.selected {

    font-weight: bold;

}



.nice-select .option.disabled {

    background-color: transparent;

    color: #999;

    cursor: default;

}


.no-csspointerevents .nice-select .list {

    display: none;

}


.no-csspointerevents .nice-select.open .list {

    display: block;

}


.contact-form-wrapper .list {

    background: #2f3341 none repeat scroll 0 0;

    border-radius: 0;

}


.checkout-select-wrapper {

    position: relative;

}

.checkout-select-wrapper .nice-select {

    width: 100%;

    float: none;

    margin-bottom: 0;

}



.checkout-select-wrapper .nice-select .list,

.checkout-select-wrapper .nice-select.open .list {

    top: calc(100% + 4px) !important;

    bottom: auto !important;

    left: 0 !important;

    right: auto !important;

    width: 100% !important;

    z-index: 99999;

}

.checkout-select-wrapper .nice-select .list {

    transform-origin: 50% 0 !important;

    transform: scale(0.95) translateY(0) !important;

}


.checkout-select-wrapper .nice-select.open .list {

    transform: scale(1) translateY(0) !important;

}