.btn-inverse {
    color: #ffffff;
    background-color: #212121;
    border-color: #0C0C0D;
}

.btn-inverse:hover,
.btn-inverse:focus,
.btn-inverse:active,
.btn-inverse.active,
.open .dropdown-toggle.btn-inverse {
    color: #ffffff;
    background-color: #000000;
    border-color: #0C0C0D;
}

.btn-inverse:active,
.btn-inverse.active,
.open .dropdown-toggle.btn-inverse {
    background-image: none;
}

.btn-inverse.disabled,
.btn-inverse[disabled],
fieldset[disabled] .btn-inverse,
.btn-inverse.disabled:hover,
.btn-inverse[disabled]:hover,
fieldset[disabled] .btn-inverse:hover,
.btn-inverse.disabled:focus,
.btn-inverse[disabled]:focus,
fieldset[disabled] .btn-inverse:focus,
.btn-inverse.disabled:active,
.btn-inverse[disabled]:active,
fieldset[disabled] .btn-inverse:active,
.btn-inverse.disabled.active,
.btn-inverse[disabled].active,
fieldset[disabled] .btn-inverse.active {
    background-color: #212121;
    border-color: #0C0C0D;
}

.btn-inverse .badge {
    color: #212121;
    background-color: #ffffff;
}

.help-block {
    margin-bottom: 0;
    margin-top: 0;
}

.panel-body .form-group:last-child {
    margin-bottom: 0;
}

.form-group .checkbox:first-child {
    margin-top: 0;
    vertical-align: text-bottom;
}

.form-group > label > input[type="checkbox"] {
    vertical-align: top;
}

.table > tbody > tr > td, .table > thead > tr > th {
    vertical-align: middle;
}

.table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {
    border-top: 1px solid #eee;
}

@media (min-width: 992px) {
    .modal-lg {
        width: 1143px;
    }
}

.modal-md {
    width: 50%;
    min-width: 800px;
}

.mb15 {
    margin-bottom: 15px;
}

.mb5 {
    margin-bottom: 5px;
}

.mb10 {
    margin-bottom: 10px;
}

.mt5 {
    margin-top: 5px;
}

.btn {
    padding: 5px 12px;
}

.btn-xs {
    padding: 1px 5px;
}

.btn > i {
    margin-right: 0.5rem;
}

.btn > i:last-child {
    margin-right: 0;
}

.row-success {
background-color: #dff0d8 !important;
border-color: #dff0d8 !important;
}
.row-success:active,
.row-success.active,
.row-success:focus,
.row-success.focus,
.row-success:hover {
background-color: #d0e9c6 !important;
border-color: #d0e9c6 !important;
}
.row-danger {
    background-color: #f2dede !important;
    border-color: #f2dede !important;
}
.row-danger:active,
.row-danger.active,
.row-danger:focus,
.row-danger.focus,
.row-danger:hover {
    background-color: #ebcccc !important;
    border-color: #ebcccc !important;
}
.row-warning {
    background-color: #fcf8e3 !important;
    border-color: #fcf8e3 !important;
}
.row-warning:active,
.row-warning.active,
.row-warning:focus,
.row-warning.focus,
.row-warning:hover {
    background-color: #faf2cc !important;
    border-color: #faf2cc !important;
}
.row-info {
    background-color: #d9edf7 !important;
    border-color: #d9edf7 !important;
}
.row-info:active,
.row-info.active,
.row-info:focus,
.row-info.focus,
.row-info:hover {
    background-color: #c4e3f3 !important;
    border-color: #c4e3f3 !important;
}
.row-purple {
    background-color: #f1a5ff !important;
    /*border-color: #f1a5ff !important;*/
}
.row-purple:active,
.row-purple.active,
.row-purple:focus,
.row-purple.focus,
.row-purple:hover {
    background-color: #e29cf0 !important;
    /*border-color: #e29cf0 !important;*/
}
.row-light-purple {
    background-color: #f8d1ff !important;
    /*border-color: #f8d1ff !important;*/
}
.row-light-purple:active,
.row-light-purple.active,
.row-light-purple:focus,
.row-light-purple.focus,
.row-light-purple:hover {
    background-color: #efc8f6 !important;
    /*border-color: #efc8f6 !important;*/
}
.row-orange {
    background-color: #fcefe5 !important;
    border-color: #fcefe5 !important;
}
.row-orange:active,
.row-orange.active,
.row-orange:focus,
.row-orange.focus,
.row-orange:hover {
    background-color: #fae3cf !important;
    border-color: #fae3cf !important;
}

tr.border-primary > td:first-child {
    border-left: 3px solid #549cc0;
}

.label-yellow {
    background-color: #f0c352;
}
.label-yellow:focus,
.label-yellow:hover {
    background-color: #d3a847;
}


.label-orange {
    background-color: #f0944c;
}
.label-orange:focus,
.label-orange:hover {
    background-color: #d98645;
}

.row-gray {
    background-color: #efefef !important;
    border-color: #f2f2f2 !important;
}
.row-gray:active,
.row-gray.active,
.row-gray:focus,
.row-gray.focus,
.row-gray:hover {
    /*background-color:  #e6e6e6 !important;*/
    /*border-color: #e6e6e6 !important;*/
}

.col-fixed-200 {
    width: 200px;
    float: left;
    margin-left: 15px;
}

.col-offset-200{
    padding-left: 235px;
}

.btn-xs-block {
    margin: 0 3px 0;
}

.offers-description-logo {
    max-width: 200px;
}

@media (max-width: 992px) {
    .btn-xs-block {
        display: block;
        margin: 0 0 3px;
    }

    .offers-description-logo {
        max-width: 100%;
    }
}

.dropdown-submenu {
    position: relative;
}
.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
    min-width: 200px;
}
.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}
.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}
.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}
.dropdown-submenu.pull-left {
    float: none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

td > .table:last-child {
    margin-bottom: 0;
}
/* multiselect */
.multiselect-container .input-group {
    margin: 0;
    padding: 10px 5px 5px;
    width: auto;
}
.multiselect-container .input-group a {
    margin: 0;
    padding: 10px 5px 5px;
    width: 100%;
}
.multiselect-container .input-group .multiselect-search {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.multiselect-container .input-group .input-group-addon {
    padding: 3px 4px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}
/* box-shadow Ñƒ ÐºÐ°Ð»ÐµÐ½Ð´Ð°Ñ€ÐµÐ¹ Ð¸ multiselect'Ð¾Ð² */
.multiselect-container,
.daterangepicker {
    -webkit-box-shadow: 0 0 55px -13px rgba(0,0,0,0.75);
    -moz-box-shadow: 0 0 55px -13px rgba(0,0,0,0.75);
    box-shadow: 0 0 55px -13px rgba(0,0,0,0.75);
}

/* multiselect without shadow and background */
.multiselect,
.multiselect:hover {
    background: white;
    box-shadow: none;
    border: 1px solid #ccc;
    color: #555;
}
.multiselect.dropdown-toggle {
    min-height: 24px;
    width: 100%;
    padding: 2px 18px 2px 8px;
    text-align: left;
    font-size: 14px;
    position: relative;
}
.open .multiselect.dropdown-toggle {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.multiselect-container > .multiselect-group.multiselect-item label {
    margin: 0;
    padding: 3px 12px;
    height: 100%;
    font-weight: 700;
}

.multiselect-radio + .multiselect-container > .multiselect-group.multiselect-item label {
    padding: 3px 15px;
}

.multiselect-container input[type="radio"] {
    visibility: hidden;
}

.multiselect-grouped .multiselect-container li.multiselect-all label.checkbox {
    margin-left: 0;
}

.multiselect-grouped .multiselect-container li.multiselect-all label.checkbox {
    margin-left: 0;
}

.multiselect-grouped .multiselect-container label.checkbox {
    margin-left: 16px;
}

.form-inline .multiselect-container li a label input[type=checkbox], .form-inline .multiselect-container li a label input[type=radio] {
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 2px;
    vertical-align: middle;
}

li.multiselect-item.multiselect-group {
    background-color: #efefef;
}

.multiselect-container.dropdown-menu label.checkbox {
    width: 100%;
    padding-left: 32px;
    padding-right: 30px;
    border-bottom: 1px solid white;
}

.form-group .multiselect-native-select {
    display: block;
}

.multiselect-clear-filter {
    padding: 2px 0 0 5px;
}

/* carret position and style */
.caret {
    display: inline-block;
    margin: 0 0 2px 0;
    vertical-align: middle;
    width: 18px;
    height: 10px;
    border: none;
    background: url('caret-dropdown.png') no-repeat right;
}
.dropdown-white-caret .caret {
    background: url('caret-white-dropdown.png') no-repeat right;
}
.multiselect.dropdown-toggle .caret {
    position: absolute;
    top: 25%;
    right: 0;
}

.multiselect-native-select > .btn-group {
    width: 100%;
}

ul.multiselect-container.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.multiselect-container>li>a>label.checkbox,
.multiselect-container>li>a>label.radio {
    margin: 0;
    padding-left: 15px;
    width: auto;
    border-bottom: 1px solid white;
}

.multiselect-container>li>a>label.radio {
    padding-left: 10px !important;
}

.multiselect-container.dropdown-menu label.checkbox, .multiselect-container.dropdown-menu label.radio {
    padding: 3px 20px 3px 28px;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-color: inherit;
    color: #000;
}

/* dropdown */
select {
    border-radius: 2px;
    border-color: #ccc;
    height: 24px;
    line-height: 1.2em;
    padding: 2px 6px;
    background: #fff;
    color: #555;
    overflow: hidden;
    vertical-align: middle;
    /* remove default caret from all dropdowns */
    -webkit-appearance: none;
    -moz-appearance:    none;
    appearance:         none;
}
.btn.dropdown-white-caret {
    padding-right: 5px;
}

.form-control.kv-drp-dropdown {
    padding-right: 0;
    cursor: pointer;
}

select,
select.form-control {
    background: url('caret-dropdown.png') no-repeat right #fff;
    padding: 2px 6px;
    padding-right: 16px;
    cursor: pointer;
}

select.form-control  {
    padding-top: 1px;
}

.form-inline textarea.form-control {
    width: 100%;
}

.row-purple,
.row-light-purple {
    border-radius: 5px;
}

.multiselect-handle {
    float: right;
    top: 2px;
    right: -20px;
    color: #777;
    /*cursor: move; !* fallback if grab cursor is unsupported *!*/
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}
.multiselect-handle:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}
.multiselect-container li.active:hover  {
    background-color: #e1e3e9;
}

.dropdown-menu {
    height: auto;
    max-height: 500px;
    /*overflow-x: hidden;*/
    /*box-shadow: 3px 3px 6px -3px #ccc;*/
}

.modal-open #colorbox, .modal-open #cboxOverlay, .modal-open #cboxWrapper {
    z-index: 2000;
}

form > .form-group:last-child .btn-group {
    margin-top: 10px;
}


select[multiple].form-control {
    height: 24px;
}

select[multiple].form-control option {
    display: none;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/** tags input **/
.bootstrap-tagsinput .tag.label {
    padding: 2px 4px 3px;
}

.bootstrap-tagsinput {
    display: block;
    border-radius: 2px;
    height: 24px;
    line-height: 1.2em;
    padding: 2px 6px;
    padding-right: 14px;
    border-color: #ccc;
}

.form-inline .bootstrap-tagsinput {
    display: inline-block;
}
.guest-form .form-control {
    min-height: 34px;
}

.guest-title {
    text-align: center;
    color: #3bffbf;
    margin: -10px 0 20px 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 2rem;
}

.bootstrap-tagsinput input {
    padding: 0;
}

/** select2 */

.select2-container--default .select2-selection--single {
    border: 1px solid #ccc;
    border-radius: 2px;
}
.select2-container .select2-selection--single {
    height: 24px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 22px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 22px;
    width: 20px;
}

.select2-container.select2-container--default .select2-results__option--highlighted {
    background-color: #0095ebb0;
    color: white;
}

.inline-label {
    margin-top: 2px;
}

/*  Исправления стилей datetime picker  */
.kv-drp-dropdown input {
    background: white !important;
}

.kv-drp-dropdown .left-ind {
    top: 3px;
    left: 7px;
}

.kv-drp-dropdown .range-value {
    opacity: 1 !important;
    padding-left: 30px;
    padding-right: 10px;
    cursor: pointer;
}

.kv-drp-dropdown .right-ind {
    top: 6px;
    right: 9px;
}

.drp-buttons .drp-selected {
    color: black;
    float: none;
}

.daterangepicker.show-ranges .drp-calendar.left {
    border-left: none;
}

@media (min-width: 564px) {
    .daterangepicker .ranges ul {
        width: 150px !important;
        border-right: 1px solid #ddd;
    }
}

/** sort checkboxoxes */
.sort-checkboxes label {
    margin-right: 20px;
    cursor: pointer;
}

.sort-checkboxes input {
    vertical-align: top;
}

.sort-checkboxes .handle {
    cursor: move;
}

.sort-checkboxes .sort-item {
    display: inline-block;
}

.hightlight-checkbox {
    height: 1.5em;
    width: 5em;
    display: inline-block;
    border: 1px solid gold;
    background-color: rgba(255, 255, 0, 0.21);
    margin-bottom: -3px;
    margin-right: 20px;
}


/* Пиксель для фиксации плавающих элементов*/
#float-fixed-pixel {
    opacity: 0;
    height: 1px;
    width: 1px;
    position: fixed;
}

.text-strike {
    text-decoration: line-through;
    color: darkgray;
}

/** Detail view */
.table.detail-view {
    margin-bottom: 20px;
}

.detail-view td:last-child {
    word-break: break-word;
}

/* popover max-width increase */
.popover {
    display: block !important;
    max-width: 100% !important;
    width: auto;
}
.input-group-addon .popover {
    width: 100%;
}

/* scrollbars only for chrome */
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-track {
    background-color: #eee;
}
*::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
}
.main-sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.list-inline .active a {
    font-weight: bold;
    color: #444;
}

/** highcharts */
.highcharts-container {
    height: 400px;
}

.pie-chart {
    height: 300px;
}

/**tooltips */
.tooltip {
    position: fixed;
    font-weight: bold;
}
/* Все тултипы в одну строку */
.tooltip-inner {
    white-space:pre;
    max-width:none;
}



/** tables */

.td-percent {
    position: relative;
}

.td-percent > .td-progress {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    width: 60%;
    height: 100%;
    top: 0;
    background-color: rgba(155, 214, 254, 0.35);
}

td > a > .glyphicon {
    color: #444;
}

td > a > .glyphicon:hover {
    font-weight: bold;
}

.selected-ids {
    clear: both;
}
.selected-ids:before, .selected-ids:after {
    display: table;
    content: " ";
}
.selected-ids:after {
    clear: both;
}

.grid-buttons {
    padding-bottom: 5px;
    padding-right: 5px;
}

.grid-buttons > .btn {
    background-color: white;
}

.data-grid a.desc::after, .data-grid a.asc::after {
    content: "";
}
.grid-view .table {
    font-size: 12px;
}

.grid-view.data-grid .table thead th > a::after {
    bottom: -2px;
    display: block;
    font-family: "Glyphicons Halflings";
    opacity: 0.5;
    position: absolute;
    right: 5px;
    top: calc(50% - 7px);
}

.grid-view.data-grid .table thead th a {
    color: inherit;
    padding-right: 15px;
}

.grid-view.data-grid .table thead th > a::after {
    content: "";
    opacity: 0.2;
}

.grid-view.data-grid .table thead th > a:hover::after
{
    opacity: 0.5;
}

.grid-view.data-grid .table thead th > a.asc::after {
    content: "";
    opacity: 0.5;
}
.grid-view.data-grid .table thead th > a.desc::after {
    content: "";
    opacity: 0.5;
}

.grid-view.data-grid th {
    position: relative;
}

.grid-view td.id{
    width:4em
}

.export_field-item > div {
    padding-left: 0;
    padding-right: 5px;
}

.flag-icon {
    padding-top: 2px;
}

.grid-view .sizer {
    padding-bottom: 5px;
    margin-right: 10px;
}

.grid-view .export-btn {
    margin-bottom: 5px;
}

.grid-view .sizer select {
    /* background: transparent none repeat scroll 0 0; */
    border: 1px solid #d2d6de;
    box-shadow: none;
    padding: 0 14px 0 4px;
}

.sizer > label {
    font-weight: normal;
    padding-right: 5px;
}

.grid-view {
    margin-top: 10px;
}

.grid-view tfoot tr {
    background-color: #efefef;
}

.grid-view tfoot td {
    font-weight: bold;
}

.grid-view.data-grid > table {
    margin-bottom: 10px;
    background: #fff;
    border-radius: 2px;
}

.grid-view.data-grid .summary {
    text-align: right;
    padding-top: 5px;
}

.grid-view.data-grid .pagination {
    margin: 0;
}

.data-grid .totals-tr td {
    background-color: #eeeeee;
    padding: 2px 8px;
    font-weight: bold;
}

.row-ajax-pager {
    /*text-align: right;*/
}

.td-level-0 {
    background-color: #fff;
}

.table .row-ajax-pager > td {
    /*padding: 2px 8px;*/
}

.row-level-1, .td-level-1 {
    background-color: #efefef;
}

.row-level-2, .td-level-2 {
    background-color: #ddd;
}

.row-level-3, .td-level-3 {
    background-color: #ccc;
}

.row-level-4, .td-level-4 {
    background-color: #bbb;
}

.grid-deeplink ~ .spinner, .grid-morelink ~ .spinner {
    position: relative !important;
    margin-left: 10px;
    display: none;
}

.grid-deeplink > .fa:first-child {
    font-size: 110%;
    font-weight: bold;
}

.grid-deeplink {
    text-decoration: none !important;
}

.show-grid-view i {
    color: #000;
}

.table > tbody > .row-ajax-pager:last-child {
    display: none;
}

.reload-overlay {
    display: block;
    background-color: grey;
    opacity: 0.2;
    border-radius: 3px;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 9999;
}

.legend-button .legend-text {
    margin-left: 5px;
}

.legend-button {
    margin-right: 5px;
    background-color: white;
}

@media (max-width: 1000px) {
    .legend-button .legend-text {
        display: none;
    }
}
.legend-popover-content .legend-item {
    font-size: 13px;
    padding-top: 1px;
    padding-bottom: 1px;
    display: flex;
    flex-direction: row;
}

.legend-popover-content .legend-color {
    width: 13px;
    height: 13px;
    margin-right: 7px;
    box-shadow: inset 1px 1px 1px 1px rgba(0, 0, 0, 0.11);
    margin-top: 2px;
}

.legend-popover-content .legend-color.danger {
    background-color: #ff4254;
}
.legend-popover-content .legend-color.info {
    background-color: #84daff;
}
.legend-popover-content .legend-color.primary {
    background-color: #455cff;
}
.legend-popover-content .legend-color.warning {
    background-color: #ffdd44;
}
.legend-popover-content .legend-color.success {
    background-color: #47dc60;
}
.legend-popover-content .legend-color.active {
    background-color: #fafafa;
}
.legend-popover-content .legend-color.purple {
    background-color: #db47d6;
}


/** nav tabs */
.nav-tabs-custom > .tab-content {
    padding: 10px 20px;
}

.tab-pane {
    padding-top: 10px;
}

/** modals */
.modal-body {
    min-height: 120px;
}

.modal-header {
    font-size: 18px;
    font-weight: bold;
}

.modal-body > pre {
    white-space: pre-line;
}

.has-error .help-block:not(.help-block-error) {
    color: #737373;
}

.text-big {
    font-size: 2em;
}

.text-normal {
    font-size: 1em;
}


.text-small {
    font-size: 0.7em;
}

/* forms */
.hint-block {
    margin-top: 0;
}

.radio, .checkbox {
    margin-bottom: 0;
}

.counter_msg {
    font-size: 1rem;
}

.form-group.required > label:after {
    content: " *";
    color: red;
}

.form-inline .form-group {
    margin-right: 5px;
}

.form-inline .form-group:last-child {
    margin-right: 0;
}

.form-inline .checkbox, .form-inline .radio {
    padding-top: 0;
}

.form-inline .radio label, .form-inline .checkbox label {
    line-height: 1.6em;
    margin-top: 2px;
}

.form-inline .control-label {
    line-height: 2em;
    margin-right: 5px;
}

.form-control {
    border-radius: 2px;
    height: 24px;
    line-height: 1.4em;
    padding: 2px 6px;
    padding-right: 0;
    border-color: #ccc;
}

.form-group.buttons {
    clear: both;
}

.form-horizontal .control-label {
    padding-top: 0.3em;
}

.checkbox input[type="radio"], .checkbox input[type="checkbox"] {
    vertical-align: middle;
    margin-bottom: 5px;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/** image upload widget */
.uploaded-image {
    display: table;
    text-align: center;
    margin-top: 10px;
}

.uploaded-name {
    display: inline;
    padding-left: 10px;
}

.uploaded-image img {
    border: 1px dashed lightgray;
    padding: 5px;
    max-width: 100%;
    max-height: 100px;
    cursor: pointer;
    margin-bottom: 10px;
}

.uploaded-image img:hover {
    border: 1px dashed gold;
}

.image-sizes {
    font-style: italic;
    text-align: center;
}

.image-name {
    text-align: center;
    margin-bottom: 5px;
    font-weight: bold;
}

/*buttons */
.btn-sm, .btn-group-sm > .btn {
    border-radius: 2px;
    font-size: 11px;
    line-height: 1.4;
    padding: 4px 8px;
}

ul.ul-compact {
    margin-bottom: 0;
    padding-left: 0;
    list-style-type: none;
}

.list-group {
    margin-bottom: 0;
}
.list-group-item:first-child {
    border-top: 0;
}

.list-group-item:last-child {
    border-bottom: 0;
}

.list-group-xs li.list-group-item {
    padding: 0;
    margin-bottom: 0;
    border: none;
}
.list-group-xs li.list-group-item b {
    font-weight: normal;
    color: #222;
}

.ul-compact > li::before {
    content: ' • ';
}

.btn-xs.more-btn {
    font-size: 70%;
}

.modal-open {
    overflow: auto;
}

.spinner {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 10px;
}

.spinner-sm {
    width: 20px;
}

.opt-width {
    max-width: 570px;
}

img.colorbox:hover {
    cursor: pointer;
    outline: 1px dashed #ccc;
}

.fileinput-remove {
    color: #dd4b39;
}

.tip-icon {
    cursor: pointer;
}

.progress {
    margin-bottom: 8px;
}

/** Menu box and Navs */
/** nav tabs */
.nav-tabs-custom > .tab-content {
    padding: 10px 20px;
}

.tab-pane {
    padding-top: 10px;
}

.menu-box {
    border-top: none;
}

.menu-box .navbar {
    background-color: transparent;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom-color: #f4f4f4;
    min-height: 0;
    margin-bottom: 0;
}

.menu-box .nav .dropdown-menu >li>a:hover {
    background-color: #f5f5f5;
}

.menu-box .nav .dropdown-menu > li > a {
    padding: 2px 16px 4px;
}

.menu-box .nav .dropdown-menu > li > a.active {
    border-right-color: #fff;
    border-left-color: #fff;
}

.menu-box .nav > li > .dropdown-toggle {
    padding-right: 5px;
}

.menu-box .navbar-nav > .open > a,
.menu-box .navbar-nav > .open > a:hover,
.menu-box .navbar-nav > .open > a:focus {
    color: #555;
    background-color: white;
}


.menu-box .navbar-collapse {
    padding: 0;
}

.menu-box .navbar-collapse.in,
.menu-box .navbar-collapse.collapsing {
    padding: 0 15px;
}

.menu-box .navbar .nav > li {
    margin-bottom: -1px;
}

.menu-box .navbar .nav > li > a {
    color: #333;
    border: 1px solid transparent;
    border-top: 3px solid transparent;
}

.menu-box .navbar .nav > li.active > a {
    background-color: transparent;
    color: inherit;
    border-right-color: #f4f4f4;
    border-left-color: #f4f4f4;
    border-bottom-color: #fff;
}

.menu-box .navbar-collapse.in > .nav > li > a,
.menu-box .navbar-collapse.collapsing > .nav > li > a,
.menu-box .navbar-collapse.in > .nav > li.active > a,
.menu-box .navbar-collapse.collapsing > .nav > li.active > a {
    border-top: none;
}

.menu-box .navbar .nav > li > a:hover {
    color: #999;
}

.menu-box .navbar .navbar-toggle {
    background-color: #fff;
}

.menu-box .navbar .nav>.active>a {
    border-top-color: #ff5600;
    font-weight: 600;
}

.menu-box .header-item {
    display: inline-block;
    color: #333;
    padding: 12px 10px;
    height: auto;
}

.menu-box .navbar .nav > li.active {
    display: none;
}

.menu-box .nav .dropdown-menu {
    background-color: #efefefc8;
}

@media (min-width: 768px) {
    .small-only {
        display: none !important;
    }

    .menu-box .navbar .nav > li.active {
        display: list-item;
    }

    .menu-box .nav .dropdown-menu {
        min-width: 100%;
        border-top: none;
        box-shadow: 1px 2px 5px 0 #efefef;
        background-color: white;
    }
}

/**multilevel navbar */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}