﻿/* FILE UPLOAD */
.dotvvm-bp-file-upload > .bp-drop-zone {
    display: block !important;
    position: relative !important;
}

.dotvvm-bp-file-upload > .dotvvm-bp-primitive_input {
    display: none !important;
}

.dotvvm-bp-file-upload .drop-area.dotvvm-bp-command_select-files {
    cursor: pointer;
}

.dotvvm-bp-file-upload {
    display: block;
    width: 100%;
    padding: 0px;
    font-size: 14px;
    line-height: 1.52857;
    color: #3a3f51;
    background-color: #fff;
    background-image: none;
    border: none;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    border: 1px solid #dde6e9;
}

    .dotvvm-bp-file-upload .drop-area {
        text-align: center;
    }

        .dotvvm-bp-file-upload .drop-area IMG {
            display: inline;
        }

    .dotvvm-bp-file-upload .drop-msg {
        display: block;
        padding-top: 70px;
        min-height: 200px;
        text-align: center;
    }
/* obecne */
.dotvvm-bp-date-picker,
.dotvvm-bp-drop-down-list,
.dotvvm-bp-combo-box {
    display: table;
    border-collapse: initial;
}

.dotvvm-bp-control {
    font-size: inherit;
}

.dotvvm-bp-primitive_placeholder {
    color: #b7bac9;
}

LI.dotvvm-bp-state_focused {
    background-color: #66afe9;
    color: #fff;
}
/* dropdown 
    .dotvvm-bp-primitive_text-box 
*/
.dotvvm-bp-drop-down-list .dotvvm-bp-primitive_value,
.dotvvm-bp-combo-box .dotvvm-bp-primitive_value,
.dotvvm-bp-combo-box .dotvvm-bp-primitive_input,
.dotvvm-bp-date-picker .dotvvm-bp-primitive_text-box,
.dotvvm-bp-auto-complete .dotvvm-bp-primitive_text-box {
    display: table-cell;
    width: 100%;
    height: 35px;
    padding: 5px 16px;
    font-size: 14px;
    line-height: 1.52857;
    color: #3a3f51;
    background-color: #fff;
    background-image: none;
    border: 1px solid #cfdbe2;
    border-radius: 4px 0 0 4px;
    -ms-border-radius: 4px 0 0 4px;
    box-shadow: 0 0 0 #000 !important;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.dotvvm-bp-drop-down-list.dotvvm-bp-state_focused .dotvvm-bp-primitive_value,
.dotvvm-bp-combo-box.dotvvm-bp-state_focused .dotvvm-bp-primitive_input,
.dotvvm-bp-date-picker.dotvvm-bp-state_focused .dotvvm-bp-primitive_text-box {
    border-color: #808080;
    outline: 0;
    box-shadow: none !important;
    z-index: 1;
}

.dotvvm-bp-auto-complete .dotvvm-bp-primitive_text-box {
    border-radius: 4px;
}

.right-noradius a:last-of-type[role=button] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.dotvvm-bp-drop-down-list .dotvvm-bp-primitive_value:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.dotvvm-bp-combo-box.notoggle .dotvvm-bp-command_toggle {
    display: none;
}
/* popup */
.dotvvm-bp-primitive_popup {
    display: none;
    padding: 2px;
    position: fixed;
    border-collapse: collapse;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    background-color: #fff;
    margin-top: 2px;
    max-width: 1600px !important;
    z-index: 100;
}

.dotvvm-bp-drop-down-list .dotvvm-bp-primitive_popup,
.dotvvm-bp-combo-box .dotvvm-bp-primitive_popup {
    max-height: 300px;
    overflow-y: auto;
}

.dotvvm-bp-primitive_popup.dotvvm-bp-state_opened {
    display: block;
}

.dotvvm-bp-primitive_popup UL,
.dotvvm-bp-calendar UL,
ul.dotvvm-bp-primitive_list {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

    .dotvvm-bp-drop-down-list .dotvvm-bp-primitive_popup UL > LI,
    .dotvvm-bp-combo-box .dotvvm-bp-primitive_popup UL > LI,
    ul.dotvvm-bp-primitive_list > li {
        white-space: normal;
        width: auto;
        border: 1px solid transparent;
        margin: 0;
        margin-top: 0;
        padding: 2px;
        padding-left: 11px;
        padding-right: 30px;
        font-size: 14px;
        cursor: pointer;
        white-space: nowrap;
    }

.dotvvm-bp-calendar_month-view UL.dotvvm-bp-primitive_list > LI {
    padding: 2px 0px !important;
    min-width: 40px;
}

.dotvvm-bp-drop-down-list .dotvvm-bp-primitive_popup UL > LI:hover,
.dotvvm-bp-combo-box .dotvvm-bp-primitive_popup UL > LI:hover,
.dotvvm-bp-multi-select .dotvvm-bp-primitive_popup UL > LI:hover {
    background-color: #66afe9 !important;
    color: white !important;
}

.dotvvm-bp-calendar UL > LI.dotvvm-bp-state_selected {
    color: #fff !important;
    background-color: #4b91ea !important;
    border-color: #3483e7;
}

li.dotvvm-bp-calendar_day:hover,
li.dotvvm-bp-calendar_month:hover,
li.dotvvm-bp-calendar_year:hover {
    background-color: #66afe9 !important;
    color: white !important;
}
/* buttony */
.dotvvm-bp-command_toggle,
.dotvvm-bp-command_unselect {
    display: table-cell;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 14px !important;
    font-weight: normal;
    line-height: 1;
    color: #3a3f51 !important;
    text-align: center;
    background-color: #edf1f2;
    border-top: 1px solid #cfdbe2;
    border-right: 1px solid #cfdbe2;
    border-bottom: 1px solid #cfdbe2;
    border-left: none;
    vertical-align: middle;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.dotvvm-bp-drop-down-list.sharp .dotvvm-bp-primitive_value,
.dotvvm-bp-combo-box.sharp .dotvvm-bp-primitive_value,
.dotvvm-bp-combo-box.sharp .dotvvm-bp-primitive_input,
.dotvvm-bp-date-picker.sharp .dotvvm-bp-primitive_text-box,
.dotvvm-bp-auto-complete.sharp .dotvvm-bp-primitive_text-box {
    border-radius: 0px !important;
}

.sharp .dotvvm-bp-command_toggle,
.sharp .dotvvm-bp-command_unselect {
    border-radius: 0px !important;
}

.sharp-right .dotvvm-bp-command_toggle:last-of-type,
.sharp-right .clockpicker .input-group-btn:last-of-type {
    border-radius: 0;
}

.dotvvm-bp-command_toggle:last-of-type,
.dotvvm-bp-command_unselect:last-of-type {
    border-radius: 0 4px 4px 0;
}

.dotvvm-bp-state_focused .dotvvm-bp-command_toggle,
.dotvvm-bp-state_focused .dotvvm-bp-command_unselect {
    border-top: 1px solid #808080;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    outline: 0;
    z-index: 2;
}
/* date picker */
.dotvvm-bp-calendar {
    display: inline-block;
    width: 100%;
    text-align: center;
    vertical-align: top;
}

    .dotvvm-bp-calendar .dotvvm-bp-primitive_item {
        justify-content: center;
    }

        .dotvvm-bp-calendar .dotvvm-bp-primitive_item.dotvvm-bp-state_focused,
        .dotvvm-bp-calendar .dotvvm-bp-primitive_item:focus {
            position: relative;
            z-index: 1;
            outline: none;
        }

    .dotvvm-bp-calendar .dotvvm-bp-primitive_header {
        justify-content: space-between;
        background-color: #4b91ea;
        color: #fff;
        padding: 5px;
    }

        .dotvvm-bp-calendar .dotvvm-bp-primitive_header A {
            color: #fff;
        }

        .dotvvm-bp-calendar .dotvvm-bp-primitive_header .dotvvm-bp-command_switch {
            flex: 1 1 75%;
            font-weight: 600;
        }

        .dotvvm-bp-calendar .dotvvm-bp-primitive_header .dotvvm-bp-command_next,
        .dotvvm-bp-calendar .dotvvm-bp-primitive_header .dotvvm-bp-command_prev {
            flex: 1 1 calc(0.4em);
        }

        .dotvvm-bp-calendar .dotvvm-bp-primitive_header .dotvvm-bp-icon {
            vertical-align: middle;
            fill: #fff;
        }

        .dotvvm-bp-calendar .dotvvm-bp-primitive_header a[role=button] {
            padding: .2em;
            cursor: default;
        }

            .dotvvm-bp-calendar .dotvvm-bp-primitive_header a[role=button]:not(.dotvvm-bp-state_disabled) {
                cursor: pointer;
            }

    .dotvvm-bp-calendar .dotvvm-bp-primitive_footer {
        background-color: #f5f5f5;
    }

.dotvvm-bp-calendar_week-header,
.dotvvm-bp-calendar_week-number {
    font-weight: 500;
}

    .dotvvm-bp-calendar_day,
    .dotvvm-bp-calendar_day-header,
    .dotvvm-bp-calendar_week-header > .dotvvm-bp-primitive_item,
    .dotvvm-bp-calendar_week-number {
        flex: 1 1 12%;
        width: 12%;
        padding: 10px;
        text-align: center;
    }

.dotvvm-bp-calendar_other {
    opacity: 0.4;
}

.dotvvm-bp-calendar_today {
    background-color: #d6d6d6;
}

.dotvvm-bp-calendar_decade-view,
.dotvvm-bp-calendar_year-view {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

    .dotvvm-bp-calendar_decade-view .dotvvm-bp-calendar_month,
    .dotvvm-bp-calendar_decade-view .dotvvm-bp-calendar_year,
    .dotvvm-bp-calendar_year-view .dotvvm-bp-calendar_month,
    .dotvvm-bp-calendar_year-view .dotvvm-bp-calendar_year {
        flex: 1 1 33%;
        padding: 0.2em 0.4em;
    }

    .dotvvm-bp-calendar_decade-view ul,
    .dotvvm-bp-calendar_year-view ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

.dotvvm-bp-calendar_month-view {
    display: flex;
    flex-direction: column;
}

    .dotvvm-bp-calendar_month-view .dotvvm-bp-calendar_week-header > .dotvvm-bp-primitive_list:not(.dotvvm-bp-calendar_week-header) {
        display: flex;
        flex-direction: row;
        background-color: #f5f5f5;
    }

.dotvvm-bp-calendar_week .dotvvm-bp-primitive_list {
    display: flex;
    flex-direction: row;
    flex: 1 1 100%;
}

.dotvvm-bp-calendar_week.dotvvm-bp-primitive_item,
.dotvvm-bp-calendar_month.dotvvm-bp-primitive_item,
.dotvvm-bp-calendar_year.dotvvm-bp-primitive_item {
    cursor: pointer;
}
/* SLIDER */
.dotvvm-bp-slider {
    padding: .05em 0;
    padding: .2em .4em;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.4em;
    white-space: normal;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.dotvvm-bp-color-picker .dotvvm-bp-color-picker_sliders .dotvvm-bp-slider:hover > .dotvvm-bp-primitive_line,
.dotvvm-bp-color-picker .dotvvm-bp-color-picker_sliders .dotvvm-bp-slider > .dotvvm-bp-primitive_line {
    background: transparent;
}

.dotvvm-bp-range-slider,
.dotvvm-bp-slider {
    padding: .2em .4em;
    cursor: pointer;
}

    .dotvvm-bp-range-slider .dotvvm-bp-primitive_grip,
    .dotvvm-bp-slider .dotvvm-bp-primitive_grip {
        position: relative;
        width: 16px;
        height: 16px;
        background: #fff;
        border-style: solid;
        border: 2px solid #4b91ea;
        border-radius: 100%;
    }

    .dotvvm-bp-range-slider .dotvvm-bp-primitive_line,
    .dotvvm-bp-slider .dotvvm-bp-primitive_line {
        height: .4em;
        background-color: #fff;
    }

        .dotvvm-bp-range-slider .dotvvm-bp-primitive_line:first-child,
        .dotvvm-bp-slider .dotvvm-bp-primitive_line:first-child {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        }

        .dotvvm-bp-range-slider .dotvvm-bp-primitive_line:last-child,
        .dotvvm-bp-slider .dotvvm-bp-primitive_line:last-child {
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }

    .dotvvm-bp-range-slider .dotvvm-bp-primitive_value,
    .dotvvm-bp-slider .dotvvm-bp-primitive_value {
        background-color: #4b91ea;
    }

    .dotvvm-bp-range-slider:hover .dotvvm-bp-primitive_line:not(.dotvvm-bp-primitive_value),
    .dotvvm-bp-slider:hover .dotvvm-bp-primitive_line:not(.dotvvm-bp-primitive_value) {
        background-color: #eee;
    }

    .dotvvm-bp-range-slider.dotvvm-bp-state_disabled,
    .dotvvm-bp-range-slider.dotvvm-bp-state_disabled:hover,
    .dotvvm-bp-slider.dotvvm-bp-state_disabled,
    .dotvvm-bp-slider.dotvvm-bp-state_disabled:hover {
        cursor: default;
    }

        .dotvvm-bp-range-slider.dotvvm-bp-state_disabled .dotvvm-bp-primitive_grip,
        .dotvvm-bp-range-slider.dotvvm-bp-state_disabled .dotvvm-bp-primitive_line,
        .dotvvm-bp-range-slider.dotvvm-bp-state_disabled:hover .dotvvm-bp-primitive_grip,
        .dotvvm-bp-range-slider.dotvvm-bp-state_disabled:hover .dotvvm-bp-primitive_line,
        .dotvvm-bp-slider.dotvvm-bp-state_disabled .dotvvm-bp-primitive_grip,
        .dotvvm-bp-slider.dotvvm-bp-state_disabled .dotvvm-bp-primitive_line,
        .dotvvm-bp-slider.dotvvm-bp-state_disabled:hover .dotvvm-bp-primitive_grip,
        .dotvvm-bp-slider.dotvvm-bp-state_disabled:hover .dotvvm-bp-primitive_line {
            background-color: #eee !important;
            cursor: not-allowed !important;
            box-shadow: none !important;
        }
/* select2 */
.select2-selection {
    border: 1px solid #dde6e9;
    border-radius: 0;
}

.select2-container {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    margin-top: 0px;
    position: relative;
    vertical-align: middle;
}

    .select2-container .select2-selection--single {
        box-sizing: border-box;
        cursor: pointer;
        display: block;
        height: 28px;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-user-select: none;
    }

        .select2-container .select2-selection--single .select2-selection__rendered {
            display: block;
            padding-left: 8px;
            padding-right: 20px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .select2-container .select2-selection--single .select2-selection__clear {
            position: relative;
        }

    .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
        padding-right: 8px;
        padding-left: 20px;
    }

    .select2-container .select2-selection--multiple {
        box-sizing: border-box;
        cursor: pointer;
        display: block;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-user-select: none;
        min-height: 34px;
    }

        .select2-container .select2-selection--multiple .select2-selection__rendered {
            display: block;
            overflow: hidden;
            padding-left: 8px;
            text-overflow: ellipsis;
            white-space: nowrap;
            height: 100%;
        }

    .select2-container .select2-search--inline {
        float: left;
    }

        .select2-container .select2-search--inline .select2-search__field {
            box-sizing: border-box;
            border: none;
            font-size: 100%;
            padding: 0;
            min-height: 34px;
        }

            .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
                -webkit-appearance: none;
            }

.select2-dropdown {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: -100000px;
    width: 100%;
    z-index: 1051;
}

.select2-results {
    display: block;
}

.select2-results__options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.select2-results__option {
    padding: 6px;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-select: none;
}

    .select2-results__option[aria-selected] {
        cursor: pointer;
    }

.select2-container--open .select2-dropdown {
    left: 0;
}

.select2-container--open .select2-dropdown--above {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-container--open .select2-dropdown--below {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.select2-search--dropdown {
    display: block;
    padding: 4px;
}

    .select2-search--dropdown .select2-search__field {
        padding: 4px;
        width: 100%;
        box-sizing: border-box;
    }

        .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
            -webkit-appearance: none;
        }

    .select2-search--dropdown.select2-search--hide {
        display: none;
    }

.select2-close-mask {
    border: 0;
    margin: 0;
    padding: 0;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    min-height: 100%;
    min-width: 100%;
    height: auto;
    width: auto;
    opacity: 0;
    z-index: 99;
    background-color: #fff;
    filter: alpha(opacity=0);
}

.select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #dde6e9;
    border-radius: 0;
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #444;
        line-height: 28px;
    }

    .select2-container--default .select2-selection--single .select2-selection__clear {
        cursor: pointer;
        float: right;
        font-weight: bold;
    }

    .select2-container--default .select2-selection--single .select2-selection__placeholder {
        color: #999;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 26px;
        position: absolute;
        top: 1px;
        right: 1px;
        width: 20px;
    }

        .select2-container--default .select2-selection--single .select2-selection__arrow b {
            border-color: #888 transparent transparent transparent;
            border-style: solid;
            border-width: 5px 4px 0 4px;
            height: 0;
            left: 50%;
            margin-left: -4px;
            margin-top: -2px;
            position: absolute;
            top: 50%;
            width: 0;
        }

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
    float: left;
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    left: 1px;
    right: auto;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #eee;
    cursor: default;
}

    .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
        display: none;
    }

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #888 transparent;
    border-width: 0 4px 5px 4px;
}

.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 1px solid #cfdbe2;
    border-radius: 4px;
    cursor: text;
}

.input-group .select2-container,
.input-group .dotvvm-bp-drop-down-list {
    display: table-cell;
    width: 100%;
}

.input-group .select2-container--default .select2-selection--multiple {
    border-radius: 4px 0px 0px 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0 5px;
    width: 100%;
}

    .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
        list-style: none;
        line-height: 1.52857;
    }

.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
    color: #999;
    margin-top: 5px;
    float: left;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-top: 5px;
    margin-right: 10px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #999;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 2px;
}

    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
        color: #333;
    }

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder,
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
    float: right;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
    margin-left: 5px;
    margin-right: auto;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
    margin-left: 2px;
    margin-right: auto;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid #808080 1px;
    box-shadow: none;
    outline: 0;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: #eee;
    cursor: default;
}

.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
    display: none;
}

.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #aaa;
}

.select2-container--default .select2-search--inline .select2-search__field {
    background: transparent;
    border: none;
    outline: 0;
    box-shadow: none;
    -webkit-appearance: textfield;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}

.select2-container--default .select2-results__option[role=group] {
    padding: 0;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    color: #999;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #66afe9 !important;
    color: white !important;
    opacity: 0.5;
}

.select2-container--default .select2-results__option .select2-results__option {
    padding-left: 1em;
}

    .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
        padding-left: 0;
    }

    .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
        margin-left: -1em;
        padding-left: 2em;
    }

        .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
            margin-left: -2em;
            padding-left: 3em;
        }

            .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
                margin-left: -3em;
                padding-left: 4em;
            }

                .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
                    margin-left: -4em;
                    padding-left: 5em;
                }

                    .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
                        margin-left: -5em;
                        padding-left: 6em;
                    }

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #66afe9 !important;
    color: white !important;
    opacity: 1;
}

.select2-container--default .select2-results__group {
    cursor: default;
    display: block;
    padding: 6px;
}

.select2-container--classic .select2-selection--single {
    background-color: #f7f7f7;
    border: 1px solid #aaa;
    border-radius: 4px;
    outline: 0;
    background-image: linear-gradient(to bottom, #fff 50%, #eee 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
}

    .select2-container--classic .select2-selection--single:focus {
        border: 1px solid #66afe9;
    }

    .select2-container--classic .select2-selection--single .select2-selection__rendered {
        color: #444;
        line-height: 28px;
    }

    .select2-container--classic .select2-selection--single .select2-selection__clear {
        cursor: pointer;
        float: right;
        font-weight: bold;
        margin-right: 10px;
    }

    .select2-container--classic .select2-selection--single .select2-selection__placeholder {
        color: #999;
    }

    .select2-container--classic .select2-selection--single .select2-selection__arrow {
        background-color: #ddd;
        border: none;
        border-left: 1px solid #aaa;
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
        height: 26px;
        position: absolute;
        top: 1px;
        right: 1px;
        width: 20px;
        background-image: linear-gradient(to bottom, #eee 50%, #ccc 100%);
        background-repeat: repeat-x;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0);
    }

        .select2-container--classic .select2-selection--single .select2-selection__arrow b {
            border-color: #888 transparent transparent transparent;
            border-style: solid;
            border-width: 5px 4px 0 4px;
            height: 0;
            left: 50%;
            margin-left: -4px;
            margin-top: -2px;
            position: absolute;
            top: 50%;
            width: 0;
        }

.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
    float: left;
}

.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    border: none;
    border-right: 1px solid #aaa;
    border-radius: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    left: 1px;
    right: auto;
}

.select2-container--classic.select2-container--open .select2-selection--single {
    border: 1px solid #5897fb;
}

    .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
        background: transparent;
        border: none;
    }

        .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
            border-color: transparent transparent #888 transparent;
            border-width: 0 4px 5px 4px;
        }

.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-image: linear-gradient(to bottom, #fff 0%, #eee 50%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
}

.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-image: linear-gradient(to bottom, #eee 50%, #fff 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0);
}

.select2-container--classic .select2-selection--multiple {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    outline: 0;
}

    .select2-container--classic .select2-selection--multiple:focus {
        border: 1px solid #66afe9;
    }

    .select2-container--classic .select2-selection--multiple .select2-selection__rendered {
        list-style: none;
        margin: 0;
        padding: 0 5px;
    }

    .select2-container--classic .select2-selection--multiple .select2-selection__clear {
        display: none;
    }

    .select2-container--classic .select2-selection--multiple .select2-selection__choice {
        background-color: #e4e4e4;
        border: 1px solid #aaa;
        border-radius: 4px;
        cursor: default;
        float: left;
        margin-right: 5px;
        margin-top: 5px;
        padding: 0 5px;
    }

    .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
        color: #888;
        cursor: pointer;
        display: inline-block;
        font-weight: bold;
        margin-right: 2px;
    }

        .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
            color: #555;
        }

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
    float: right;
}

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
    margin-left: 5px;
    margin-right: auto;
}

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
    margin-left: 2px;
    margin-right: auto;
}

.select2-container--classic.select2-container--open .select2-selection--multiple {
    border: 1px solid #5897fb;
}

.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-container--classic .select2-search--dropdown .select2-search__field {
    border: 1px solid #aaa;
    outline: 0;
}

.select2-container--classic .select2-search--inline .select2-search__field {
    outline: 0;
    box-shadow: none;
}

.select2-container--classic .select2-dropdown {
    background-color: #fff;
    border: 1px solid transparent;
}

.select2-container--classic .select2-dropdown--above {
    border-bottom: none;
}

.select2-container--classic .select2-dropdown--below {
    border-top: none;
}

.select2-container--classic .select2-results > .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}

.select2-container--classic .select2-results__option[role=group] {
    padding: 0;
}

.select2-container--classic .select2-results__option[aria-disabled=true] {
    color: grey;
}

.select2-container--classic .select2-results__option--highlighted[aria-selected] {
    background-color: #66afe9 !important;
    color: white !important;
    opacity: 1;
}

.select2-container--classic .select2-results__group {
    cursor: default;
    display: block;
    padding: 6px;
}

.select2-container--classic.select2-container--open .select2-dropdown {
    border-color: #5897fb;
}
/* checkbox list */
.dotvvm-bp-check-box-list {
    border: 1px solid #cfdbe2;
    background-color: #fff;
    padding: 5px;
    overflow-x: hidden;
    overflow-y: auto;
}

    .dotvvm-bp-check-box-list label.dotvvm-bp-primitive_item {
        display: block;
        font-weight: normal;
        line-height: 14px;
        cursor: pointer;
        position: relative;
        padding: 5px 0px 5px 25px;
    }

        .dotvvm-bp-check-box-list label.dotvvm-bp-primitive_item:hover {
            background-color: #dde6e9;
        }

    .dotvvm-bp-check-box-list input[type='checkbox'] {
        display: none;
    }

    .dotvvm-bp-check-box-list i {
        color: #5d9cec;
        font-size: 20px;
        opacity: 0.5;
        position: absolute;
        top: 2px;
        left: 2px;
    }

        .dotvvm-bp-check-box-list i.selected {
            display: none;
        }

    .dotvvm-bp-check-box-list .dotvvm-bp-primitive_item:hover i,
    .dotvvm-bp-check-box-list .dotvvm-bp-state_checked i {
        opacity: 1;
    }

        .dotvvm-bp-check-box-list .dotvvm-bp-state_checked i.selected {
            display: inline;
        }

        .dotvvm-bp-check-box-list .dotvvm-bp-state_checked i.unselected {
            display: none;
        }
/* HAS-ERROR */
.has-error .dotvvm-bp-date-time-picker a[role=button] {
    border-color: #f05050;
    border-left-color: #dde6e9;
}

.has-error .bp-text-box,
.has-error .dotvvm-bp-primitive_value,
.has-error .dotvvm-bp-primitive_text-box,
.has-error .dotvvm-bp-command_toggle,
.has-error .dotvvm-bp-command_unselect,
.has-error .select2-selection,
.has-error .dotvvm-bp-multi-select {
    border-color: #f05050;
}
/* HAS-WARNING */
.has-warning .bp-text-box,
.has-warning .dotvvm-bp-primitive_value,
.has-warning .dotvvm-bp-command_toggle,
.has-warning .dotvvm-bp-primitive_input,
.has-warning .select2-selection {
    border-color: #ff902b !important;
}
/* COMMON */
.dotvvm-bp-state_selected {
    background-color: #66afe9 !important;
    color: white !important;
    opacity: 0.5;
}
/*LI.dotvvm-bp-primitive_item:hover {
    background-color: rgba(102,175,233, 1) !important;
    color: white !important;
}*/
/* MULTISELECT */
.dotvvm-bp-multi-select {
    width: 100%;
    min-height: 35px;
    padding: 2px 10px 4px 10px;
    font-size: 14px;
    line-height: 1.52857;
    color: #3a3f51;
    background-color: #fff;
    background-image: none;
    border: 1px solid #cfdbe2;
    border-radius: 4px;
    box-shadow: 0 0 0 #000 !important;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

    .dotvvm-bp-multi-select.dotvvm-bp-state_focused {
        border: 1px solid #808080;
        outline: 0;
        box-shadow: none !important;
    }

    .dotvvm-bp-multi-select .dotvvm-bp-primitive_value {
        background-color: #e4e4e4;
        border: 1px solid #aaa;
        border-radius: 4px;
        cursor: default;
        display: inline-block;
        margin-right: 5px;
        margin-top: 3px;
        padding: 0 5px;
    }

    .dotvvm-bp-multi-select .dotvvm-bp-primitive_input {
        background: transparent;
        border: none;
        outline: 0;
        margin-top: 2px;
        box-shadow: none;
        -webkit-appearance: textfield;
        width: 100%;
        display: inline-block;
    }

    .dotvvm-bp-multi-select .dotvvm-bp-primitive_value .dotvvm-bp-command_unselect {
        float: left;
        color: #999;
        cursor: pointer;
        display: inline-block;
        font-weight: bold;
        margin-right: 2px;
        line-height: inherit;
        padding: 0;
        margin: 0;
        background: none;
        height: auto;
        width: 20px;
        border: none;
        text-align: left;
    }

    .dotvvm-bp-multi-select.dotvvm-bp-state_focused .dotvvm-bp-primitive_value .dotvvm-bp-command_unselect {
        border: none !important;
        box-shadow: none !important;
    }

    .dotvvm-bp-multi-select .dotvvm-bp-primitive_value .dotvvm-bp-command_unselect:hover {
        color: #444 !important;
    }

.has-error .dotvvm-bp-multi-select .dotvvm-bp-primitive_value .dotvvm-bp-command_unselect {
    border: none !important;
}

.dotvvm-bp-multi-select > input.bp-text-box {
    display: inline-block;
    border: none;
    background: none;
    width: auto;
    vertical-align: top;
    margin-bottom: 0;
    height: 20px;
}
/* CKE */
.cke-focus {
    border: 1px solid #66afe9 !important;
}
