/* SELECT CUSTOM */

.middle{
    display: flex;
    flex-direction: row;
}
.middle .from{
    /*padding: 0.5rem;*/
    padding-top: 0.5rem;
    margin-left: 1rem;
    color: white;
    display: flex;
    flex-direction: column;
}
.middle .from .pre_price{
    font-size: 12px;
    line-height: 0px;
    text-align: right;
}
.select{
    position: relative;
    min-width: 350px;
}
@media only screen and (min-width : 1280px) {
    .select{
        min-width: 500px;
    }
}
.select select{
    background-color: #600000;
    color: white;
    padding: 0.5rem;
    border: none;
}
.select select {
    display: none; /*hide original SELECT element: */
}

.select-selected {
    background-color: #600000;
    color: white;
    padding: 0.5rem;
    border: none;
}

/* Style the arrow inside the select element: */
.select-selected:after {
    position: absolute;
    content: "";
    top: 25px;
    right: 1.5rem;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 19px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
    color: white;
    padding: 0.5rem;
    padding-right: 2rem;
    padding-left: 1.5rem;
    border: none;
    cursor: pointer;
    height: 56px;
    line-height: 39px;
    white-space: nowrap;
}

/* Style items (options): */
.select-items {
    position: absolute;
    /*background-color: #A30304;*/
    background-color: rgba(91, 0, 0, 0.7);
    /*top: 100%;*/
    left: 0;
    right: 0;
    z-index: 2;
    opacity: 1;

    transition: opacity .3s, height .3s;
    -moz-transition: opacity .3s ease-in-out, height .3s;
    -webkit-transition: opacity .3s ease-in-out, height .3s;
}
.select-items div{
    line-height: 17px;
    height: auto;
}

/* Hide the items when the select box is closed: */
.select-hide {
    pointer-events: none;
    opacity: 0;
    height: 0;
    transition: opacity .3s, height .3s;
    -moz-transition: opacity .3s ease-in-out, height .3s;
    -webkit-transition: opacity .3s ease-in-out, height .3s;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.5);
}