/** CUSTOM CSS **/
/* ===========================================================
 *
 *  Name:          selectordie_theme_02.css
 *  Updated:       2014-07-07
 *  Created by:    Per V @ Vst.mn
 *  What?:         Custom "theme" for Select or Die.
 *                 This is pretty much same as default
 *                 "selectordie.css". The only
 *                 difference is that it has .custom appended
 *                 to all the selectors. .
 *
 *
 *  Oddny | Cogs 'n Kegs
 * =========================================================== */

/* The SoD - Please keep this first three lines intact, otherwise all hell will break looooooose */
.sod_select.custom.custom {
    display: inline-block;
    position: relative;
    line-height: 38px;
    height: 40px;
    padding: 0 40px 0 0;
    border: 1px solid #b1cde2;
    background: white;
    border-radius: 3px;
    color: #424649;
    font-size: 14px;
    font-family: OpenSansSemiBold, sans-serif;
    font-weight: normal;
    text-align: left;
    text-transform: none;
    outline: 0 none;
    outline-offset: 0;
    cursor: pointer;
    max-width: 800px;
    box-sizing: border-box;
    transition: .1s;
}

.sod_option span {
    padding-right: 0 !important;
}

/* Up/Down arrows */
.sod_select.custom:before, .sod_select.custom:after {
    content: "";
    position: absolute;
    right: 1px;
    top: 1px;
    bottom: 0;
    width: 36px;
    height: 36px;
    border-left: none;
    cursor: pointer;
    background-image: url("../../../images/corelib/dropdown/select-down.png");
    background-size: 36px 36px;
}

.sod_select.custom.disabled:before, .sod_select.custom.disabled:after {
    background-image: none;
    cursor: default;
}

/* Down arrow */
.sod_select.custom.open:after {
    content: "";
    right: 1px;
    top: 1px;
    border-left: none;
    font-size: 7px;
    width: 36px;
    height: 36px;
    background-image: url("../../../images/corelib/dropdown/select-up.png");
    background-size: 36px 36px;
    cursor: pointer;
}

.sod_select.custom.open:before {
    content: "";
    background: none;
}

.sod_select.custom.above:after {
    content: "";
}

/* Change the border color on hover, focus and when open */
.sod_select.custom:hover,
.sod_select.custom.open,
.sod_select.custom.focus {
    background: #fff;
    border-color: #c5c8ce;
}

.sod_select.custom.open {
    color: #424649;
}

.sod_select.custom.focus {
    box-shadow: none;
}

/* When the entire SoD is disabled, go crazy! */
.sod_select.custom.disabled {
    background: #f9fafc;
    border: 1px solid #e6eaec;
    color: #516277;
    cursor: default;
}

.sod_select.custom.disabled:hover {
    background: #f9fafc;
}

/* The "label", or whatever we should call it. Keep the first three lines for truncating. */
.sod_select.custom .sod_label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 0;
}

.sod_select.custom .sod_prefix { /* Use this if you're using a prefix and want to style it */
}

.sod_select.custom .sod_placeholder { /* Use this if you're using a placeholder and want to style it */
}

/* Options list wrapper */
.sod_select.custom .sod_list_wrapper {
    position: absolute;
    top: 37px;
    left: -1px;
    display: none;
    height: auto;
    width: 100%;
    margin: 0;
    border: 1px solid #d3dde2;
    border-radius: 0 0 3px 3px;
    box-shadow: none;
    background: #ffffff;
    color: #424649;
    font-weight: normal;
    z-index: 100;
    box-sizing: content-box;
}

/* Shows the option list (don't edit) */
.sod_select.custom.open .sod_list_wrapper {
    display: block;
}

/* Don't display the options when  */
.sod_select.custom.disabled.open .sod_list_wrapper {
    display: none;
}

/* When the option list is displayed above the SoD */
.sod_select.custom.above .sod_list_wrapper {
    top: auto;
    bottom: 100%;
    margin: 0;
    border: 1px solid #d3dde2;
    box-shadow: none;
}

/* Arrow(s) displayed when the SoD is active, only in this "theme" */
.sod_select.custom .sod_list_wrapper:after,
.sod_select.custom .sod_list_wrapper:before {
    content: "";
    position: absolute;
    bottom: 100%;
    right: 0;
    border: solid transparent;
    height: 0;
    width: 0;
    pointer-events: none;
}

.sod_select.custom.above .sod_list_wrapper:after,
.sod_select.custom.above .sod_list_wrapper:before {
    top: 38px;
    bottom: auto;
}

.sod_select.custom .sod_list_wrapper:after {
    border: none;
}

.sod_select.custom.above .sod_list_wrapper:after {
    border: none;
}

.sod_select.custom .sod_list_wrapper:before {
    margin-right: 0;
    border: none;
}

.sod_select.custom.above .sod_list_wrapper:before {
    border: none;
}

/* Options list container */
.sod_select.custom .sod_list {
    overflow-y: auto;
    padding: 0;
    margin: 0;
    border-radius: 0;
    padding-right: 0 !important;
}

/* All the options. Keep the first three lines for truncating... */
.sod_select.custom .sod_option {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    padding: 0 12px 0 0;
    list-style-type: none;
    border-bottom: 0;
}

/* Remove the bottom border from the last item */
.sod_select.custom .sod_option:last-child {
    border-bottom: none;
}

/* Optgroups */
.sod_select.custom .sod_option.optgroup,
.sod_select.custom .sod_option.optgroup.disabled {
    background: inherit;
    color: #516277;
    font-size: 14px;
    font-style: normal;
}

/* Children of an optgroup */
.sod_select.custom .sod_option.groupchild {
    padding-left: 0;
}

/* Disabled option */
.sod_select.custom .sod_option.disabled {
    background: inherit;
    color: #516277;
}

/* Hover state for options, also used when a user uses his/hers up/down keys */
.sod_select.custom .sod_option.active {
    background: #efefef;
    border-radius: 0;
    color: #4f5259;
    cursor: pointer;
}

.sod_select.custom .sod_option.active span {
    color: #00753e;
}

/*Make room for the check mark */
.sod_select.custom .sod_option.selected {
    padding-right: 25px;
    font-weight: normal;
}

/* Displays a check mark for the selected option */
/*.sod_select.custom .sod_option.selected:before
{
    content: "";
    position: absolute;
    background: url("../../../images/corelib/dropdown/select-select.png");
    width: 16px;
    height: 16px;
    right: 10px;
    top: 12px;
    transform: none;
}*/

/* Add a .no_highlight class to you SoD to hide the check mark */
.sod_select.custom.no_highlight .sod_option.selected:before {
    display: none;
}

/* Hide native select */
.sod_select.custom select {
    display: none !important;
}

/* The native select in touch mode. Keep this first line. Sorry, keep everything. */
.sod_select.custom.touch select {
    -webkit-appearance: menulist-button;
    position: absolute;
    top: 0;
    left: 0;
    display: block !important;
    height: 100%;
    width: 100%;
    opacity: 0;
    z-index: 1;
}

.name, .cardName, .accountName, .loanName, .depositName {
    color: #424649;
    font-size: 14px;
    font-family: OpenSansSemiBold, sans-serif;
    display: inline-block;
    width: 150px;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 17px;
    overflow: hidden;
}

.number, .cardNumber, .accountNumber, .loanNumber, .depositNumber {
    color: #516277;
    font-size: 14px;
    font-family: OpenSansRegular, sans-serif;
    display: inline-block;
    width: 65px;
    margin-left: 17px;
}

.sum, .cardSum, .accountSum, .loanSum, .depositSum {
    color: #424649;
    font-size: 14px;
    font-family: OpenSansBold, sans-serif;
    display: inline-block;
    text-align: right;
    width: 107px;
}

.depositSumMulty {
    color: #424649;
    font-size: 14px;
    font-family: OpenSansBold, sans-serif;
    display: inline-block;
    text-align: right;
    width: 203px;
}

.currency, .cardCurrency, .accountCurrency, .loanCurrency, .depositCurrency {
    color: #424649;
    font-size: 14px;
    display: inline-block;
    text-align: right;
    width: 14px;
}

.sod_select .sod_label span {
    padding-right: 0;
}

.sod_select.custom .sod_option.optgroup {
    color: #141516;
    font-family: OpenSansBold, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    border-top: 1px solid #d3dde2;
    line-height: 39px;
    padding-left: 17px;
    padding-right: 17px;
}

.sod_select.custom .sod_option.optgroup:first-child {
    border-top: 0;
}

.sod_select .sod_list_wrapper .handle {
    width: 4px;
    background: #516277;
    border-radius: 5px;
    opacity: 0.5;
    right: 10px;
}

.sod_select .enscroll-track {
    right: 0;
    top: 0;
    bottom: 0;
}

.sod_select.simple span {
    color: #141516;
    font-family: OpenSansRegular, sans-serif;
    font-size: 14px;
}

.sod_select.simple .sod_placeholder {
    font-size: 14px;
    color: #516277;
    padding-left: 17px;
}

.sod_select.simple .sod_label {
    font-size: 14px;
    padding-left: 12px;
}

.sod_select.simple .sod_list_wrapper .sod_list span {
    font-size: 14px;
    padding-left: 17px;
}

.sod_select.simple.disabled span {
    color: #516277;
}

span.sod_option.groupchild span.action {
    color: #009ea6;
    font-family: OpenSansBold, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    padding-left: 17px;
}

span.sod_option.groupchild + span.sod_option.groupchild span.action {
    border-top: 1px solid #D3DDE2;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.sod_option.selected.groupchild.active span, .sod_option.selected.groupchild.active label {
    color: #ffffff;
    cursor: pointer;
}
