/* ===========================================================
 *
 *  Name:          selectordie.css
 *  Updated:       2014-04-27
 *  Created by:    Per V @ Vst.mn
 *  What?:         Base CSS for Select or Die
 *
 *  Copyright (c) 2014 Per Vestman
 *  Dual licensed under the MIT and GPL licenses.
 *
 *  No, I don't usually comment my CSS, but in this
 *  case it might "help" someone.
 *
 *  Beards, Rock & Loud Guns | Cogs 'n Kegs
 * =========================================================== */

/* Remove, change to fit your needs */

.sod_select,
.sod_select * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* The SoD - Please keep this first three lines intact, otherwise all hell will break looooooose */
.sod_select {
    display: inline-block;
    position: relative;
    width: 100%;
    background: #f5f5f5 url("../images/selectIconH.png") no-repeat center right 30px;
    color: #666666;
    text-align: left;
    /* text-transform: uppercase; */
    outline: 0;
    outline-offset: -2px; /* Opera */
    height: 60px;
    line-height: 60px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
}


/* Up/Down arrows */
.sod_select:before,
.sod_select:after {
    /* content: ""; */
    position: absolute;
    right: 0px;
    top: 0px;
    font-size: 7px;
    background: url("../images/selectIconH.png") no-repeat center right 30px;
    width: 50px;
    height: 50px;
}

/* Down arrow */
.sod_select:after {
    /* content: "\25BC"; */
    top: auto;
    bottom: 12px;
}

/* Change the border color on hover, focus and when open */
.sod_select:hover,
.sod_select.open,
.sod_select.focus { /* border-color: #000000; */
}

.sod_select.open {
    color: #666666;
}

.sod_select.focus { /* box-shadow: 0 0 5px rgba(0,0,0,.2); */
}

/* When the entire SoD is disabled, go crazy! */
.sod_select.disabled {
    border-color: #828282;
    color: #b2b2b2;
    cursor: not-allowed;
}

/* The "label", or whatever we should call it. Keep the first three lines for truncating. */
.sod_select .sod_label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    z-index: 2;
    padding: 0 30px;
    background: #f5f5f5 url("../images/selectIconH.png") no-repeat center right 30px;
    border-radius: 20px;
    /*border: 1px solid #e5e5e5;*/
    height: 60px;
    background-size: 14px;
}
.open.sod_select .sod_label {
    background: #f5f5f5 url("../images/selectIcon.png") no-repeat center right 30px;
    background-size: 14px;
}

.sod_select .sod_prefix { /* Use this if you're using a prefix and want to style it */
}

.sod_select .sod_placeholder { /* Use this if you're using a placeholder and want to style it */
}

.onlineSelect {
    display: flex;
}

.select1 {
    width: 100%;
}

.select2 {
    /*width: calc(100% - 180px);*/
}

.select1 .sod_select .sod_label {
    /*border-right:none;*/
    border-radius: 5px;
}

.select2 .sod_select .sod_label {
    border-left: none;
    border-radius: 0 5px 5px 0;
}

/* Options list wrapper */
.sod_select .sod_list {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    height: auto;
    width: 100%;
    /* margin: 0 0 0 -1px; */
    /* background: #64dca0; */
    border: 1px solid #e9e9e9;
    border-top: none;
    color: #666;
    font-weight: 300;
    z-index: 5;
    /*padding-top: 30px;*/
    /*margin-top: -28px;*/
    /*padding-top: 50px;*/
    margin-top: -5px;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

/* Shows the option list (don't edit) */
.sod_select.open .sod_list {
    display: block;
}

/* Don't display the options when  */
.sod_select.disabled.open .sod_list {
    display: none;
}

/* When the option list is displayed above the SoD */
.sod_select.above .sod_list {
    top: auto;
    bottom: 100%;
    border-top: 3px solid #009c96;
    border-bottom: none;
}

/* Options list container */
.sod_select .sod_list ul {
    overflow-y: auto;
    padding: 0;
    margin: 0;
    max-height: 300px;
}

/* All the options. Keep the first three lines for truncating... */
.sod_select .sod_list li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    padding: 0 60px;
    list-style-type: none;
    background: #fff;
    height: 60px;
    line-height: 60px;
    font-size: 20px;
}

/* Optgroups */
.sod_select .sod_list .optgroup,
.sod_select .sod_list .optgroup.disabled {
    background: inherit;
    color: #939393;
    font-size: 10px;
    font-style: italic;
}

/* Children of an optgroup */
.sod_select .sod_list .groupchild {
    padding-left: 20px;
}

/* Disabled option */
.sod_select .sod_list .disabled {
    background: inherit;
    color: #cccccc;
}

/* Hover state for options, also used when a user uses his/hers up/down keys */
.sod_select .sod_list .active {
    background: #009c96;
    color: #fff;
}

/*Make room for the check mark */
.sod_select .sod_list .selected {
    /* font-weight: 700; */
    padding-right: 25px;
}

/* Displays a check mark for the selected option */
.sod_select .sod_list .selected:before {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    display: inline-block;
    color: #604e4e;
    height: 9px;
    width: 10px;
    /* background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNy4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMTAgOSIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTAgOSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8Zz4NCgk8cGF0aCBmaWxsPSIjRDlEOUQ4IiBkPSJNNCw2LjdDMy42LDYuMywzLjUsNi4xLDMuMSw1LjdDMi42LDUuMiwyLDQuNiwxLjUsNC4xYy0wLjgtMC44LTIsMC40LTEuMiwxLjJjMC45LDAuOSwxLjksMS45LDIuOCwyLjgNCgkJYzAuNywwLjcsMS4zLDEsMiwwQzYuNyw2LDguMywzLjcsOS44LDEuNUMxMC41LDAuNSw5LTAuMyw4LjMsMC42bDAsMEM2LjcsMi45LDUuNyw0LjQsNCw2LjciLz4NCjwvZz4NCjwvc3ZnPg0K); */
}

/* Add a .no_highlight class to you SoD to hide the check mark and don't bold the option */
.sod_select.no_highlight .sod_list .selected {
    font-weight: 300;
}

.sod_select.no_highlight .sod_list .selected:before {
    display: none;
}

.sod_select .sod_list .link { /* If data-link is set on a specific option */
}

.sod_select .sod_list .linkexternal { /* If data-link-external is set on a specific option */
}


/* Hide native select */
.sod_select select {
    display: none !important;
}

/* The native select in touch mode. Keep this first line. Sorry, keep everything. */
.sod_select.touch select {
    -webkit-appearance: menulist-button;

    position: absolute;
    top: 0;
    left: 0;
    display: block !important;
    height: 100%;
    width: 100%;
    opacity: 0;
    z-index: 1;
}

.select1 .sod_select, .select1 .sod_select .sod_label {
    /*background: none;*/
}

@media screen and (max-width: 768px) {
    .sod_select {
        height: 60px;
        line-height: 60px;
    }

    .sod_select .sod_label {
        padding: 0 20px;
    }

    .sod_select .sod_list li {
        padding: 0 20px;
        height: 60px;
        font-size: 14px;
    }

    .sod_select .sod_label {
        height: 60px;
        background-position: center right 20px;
        background-size: 15px;
    }

    .sod_select .sod_list {
        padding-top: 60px;
        margin-top: -60px;
    }
}