.dk-select, .dk-select *, .dk-select *:before, .dk-select *:after, .dk-select-multi, .dk-select-multi *, .dk-select-multi *:before, .dk-select-multi *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.dk-select, .dk-select-multi {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.5em;
    width: 200px;
    cursor: pointer;
}

.dk-selected {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    background-color: white;
    border: 1px solid #CCCCCC;
    border-radius: 0.4em;
    padding: 0 1.5em 0 0.5em;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.dk-selected:before, .dk-selected:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
}

.dk-selected:before {
    top: 50%;
    border: solid transparent;
    border-width: 0.25em 0.25em 0;
    border-top-color: #CCCCCC;
    margin: -0.125em 0.5em 0 0;
}

.dk-selected:after {
    top: 0;
    height: 100%;
    border-left: 1px solid #CCCCCC;
    margin: 0 1.5em 0 0;
}

.dk-selected-disabled {
    color: #BBBBBB;
}

.dk-select .dk-select-options {
    position: absolute;
    display: none;
    left: 0;
    right: 0;
}

.dk-select-open-up .dk-select-options {
    border-radius: 0.4em 0.4em 0 0;
    margin-bottom: -1px;
    bottom: 100%;
}

.dk-select-open-down .dk-select-options {
    border-radius: 0 0 0.4em 0.4em;
    margin-top: -1px;
    top: 100%;
}

.dk-select-multi .dk-select-options {
    max-height: 10em;
}

.dk-select-options {
    background-color: white;
    border: 1px solid #CCCCCC;
    border-radius: 0.4em;
    list-style: none;
    margin: 0;
    max-height: 10.5em;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.25em 0;
    width: auto;
    z-index: 100;
}

.dk-option-selected {
    background-color: #3297fd;
    color: #fff;
}

.dk-select-options-highlight .dk-option-selected {
    background-color: transparent;
    color: inherit;
}

.dk-option {
    padding: 0 0.5em;
}

.dk-select-options .dk-option-highlight {
    background-color: #3297fd;
    color: #fff;
}

.dk-select-options .dk-option-disabled {
    color: #BBBBBB;
    background-color: transparent;
}

.dk-select-options .dk-option-hidden {
    display: none;
}

.dk-optgroup {
    border: solid #CCCCCC;
    border-width: 1px 0;
    padding: 0.25em 0;
    margin-top: 0.25em;
}

.dk-optgroup + .dk-option {
    margin-top: 0.25em;
}

.dk-optgroup + .dk-optgroup {
    border-top-width: 0;
    margin-top: 0;
}

.dk-optgroup:nth-child(2) {
    padding-top: 0;
    border-top: none;
    margin-top: 0;
}

.dk-optgroup:last-child {
    border-bottom-width: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dk-optgroup-label {
    padding: 0 0.5em 0.25em;
    font-weight: bold;
    width: 100%;
}

.dk-optgroup-options {
    list-style: none;
    padding-left: 0;
}

.dk-optgroup-options li {
    padding-left: 1.2em;
}

.dk-select-open-up .dk-selected {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-color: #3297fd;
}

.dk-select-open-down .dk-selected {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #3297fd;
}

.dk-select-open-up .dk-selected:before, .dk-select-open-down .dk-selected:before {
    border-width: 0 0.25em 0.25em;
    border-bottom-color: #3297fd;
}

.dk-select-open-up .dk-selected:after, .dk-select-open-down .dk-selected:after {
    border-left-color: #3297fd;
}

.dk-select-open-up .dk-select-options, .dk-select-open-down .dk-select-options, .dk-select-multi:focus .dk-select-options {
    display: block;
    border-color: #3297fd;
}

.dk-select-multi:hover, .dk-select-multi:focus {
    outline: none;
}

.dk-selected:hover, .dk-selected:focus {
    outline: none;
    border-color: #3297fd;
}

.dk-selected:hover:before, .dk-selected:focus:before {
    border-top-color: #3297fd;
}

.dk-selected:hover:after, .dk-selected:focus:after {
    border-left-color: #3297fd;
}

.dk-select-disabled {
    opacity: 0.6;
    color: #BBBBBB;
    cursor: not-allowed;
}

.dk-select-disabled .dk-selected:hover, .dk-select-disabled .dk-selected:focus {
    border-color: inherit;
}

.dk-select-disabled .dk-selected:hover:before, .dk-select-disabled .dk-selected:focus:before {
    border-top-color: inherit;
}

.dk-select-disabled .dk-selected:hover:after, .dk-select-disabled .dk-selected:focus:after {
    border-left-color: inherit;
}

select[data-dkcacheid] {
    display: none;
}

/* CUSTOM SELECT */
.customSelect {
    margin: 0;
    line-height: 1.0;
    width: 100%;
}

.customSelect.bold {
    font-weight: 600;
}

.customSelect .dk-selected {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    position: relative;
    line-height: 1.0;
    margin: 0 !important;
    border: none;
    border: solid #ced4da 1px;
    color: #000;
    padding: 11px 15px 12px 15px;
    vertical-align: middle;
    background: #fff url(../img/customSelectTicker.png) no-repeat top 15px right 2px;
    -moz-box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
}

.customSelect.rounded .dk-selected {
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
}

/* list options container */
.customSelect .dk-select-options {
    list-style: none;
    font-family: "Open Sans";
    font-size: 13px;
    font-weight: normal;
    background: #fff;
    color: #000;
    border: none;
    margin: 0;
    padding: 0;
    width: auto;
    max-height: 15em !important;
    z-index: 100;
}

.modal .customSelect .dk-select-options {
    max-height: 200px !important;
}

/* selected option on list */
.customSelect .dk-option-selected {
    padding: 8px 15px 8px 15px;
    background: #f0f0f0 !important;
    color: #000 !important;
    white-space: nowrap;
    text-align: left;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none !important;
}

/* select option */
.customSelect .dk-option {
    padding: 8px 15px 8px 15px;
    background: #fff;
    color: #000;
    font-weight: normal;
    line-height: 1.2;
    text-decoration: none !important;
}

/* focus on select option */
.customSelect .dk-select-options .dk-option-highlight {
    background: #f0f0f0;
    color: #000;
}

.customSelect .dk-selected:before, .customSelect .dk-selected:after {
    display: none;
}

.customSelect.input-small {
    width: 100px !important
}

.customSelect.input-normal {
    width: 200px !important
}

.customSelect.input-medium {
    width: 300px !important
}

.customSelect.input-large {
    width: 400px !important
}

/* top searching sample */
.topSearching .customSelect {
    margin: 0;
    line-height: 1.0;
    width: 150px !important;
}

.topSearching .customSelect .dk-selected {
    font-size: 12px;
    margin: 0;
    padding: 6px 10px 6px 6px;
    background: #f9f9f9 url(../img/customSelectTicker.png) no-repeat right 10px;
}

.topSearching .customSelect .dk-select-options {
    font-size: 12px;
}

.topSearching .customSelect .dk-option-selected {
    font-size: 12px;
}

.topPagination .customSelect {
    margin: 0;
    line-height: 1.0;
    width: 60px !important;
}

.topPagination .customSelect .dk-selected {
    font-size: 12px;
    padding: 6px 10px 6px 6px;
}
