/** select2 **/

.select2-selection__clear, .select2-selection__choice__remove {
    font-family: initial;
    font-weight: 100 !important;
}

.select2-container {
    min-width: 200px;
}

.select2-selection {
    box-shadow: none !important;
}

.select2-selection__clear {
    font-size: 26px !important;
    line-height: 0.75;
}

.select2-selection__choice__remove {
    font-size: 24px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}
.select2-results__options::-webkit-scrollbar {
    width: 10px;
}

.select2-results__options::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.select2-results__options::-webkit-scrollbar-thumb {
    margin-right: 2px;
    background: #C3C4D6;
}

.kv-plugin-loading {
    background: none !important;
}

/** new design **/


.select2-results__option--highlighted {
    background-color: rgba(29,33,45, 0.5) !important;
}

.has-success .select2-selection.select2-selection--single {
    border: 1px solid #ccc !important;
}

.select2-selection.select2-selection--single {
    border-radius: 2px !important;
    padding: 9px 24px 6px 15px !important;
    background-color: #ffffff;
}

.select2-selection.select2-selection--multiple {
    border-radius: 2px !important;
    padding: 1px 2px 6px 2px !important;
    overflow: hidden;
    background-color: #ffffff;
}

.select2-selection {
    height: 38px !important;
    font-size: 14px !important;
    position: relative;
    line-height: 1.5 !important;
    transition: none !important;
    background-color: #ffffff;
}

.select2-container--open  .select2-selection, .select2-container--focus .select2-selection, .select2-dropdown--below { /* because of bootstrap */
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    outline: none !important;
    background-color: #ffffff;
}
.select2-container--open {
    z-index: 10000;
}

.arrow-icon:after {
    background: url(../../img/sprite2.png) no-repeat -0px -0px;
    width: 15px;
    height: 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -5px;
    z-index: 12;
    display: block;
    cursor: pointer;
    content: '';
    transform: rotate(180deg);
}


.select2-selection--single .select2-selection__arrow {
    color: #fff;
    font-size: 1.3em;
    padding: 6px 12px;
    position: absolute;
    top: 0;
    right: 0 !important; /* because of bootstrap */
    width: 35px !important; /* because of bootstrap */
    background-color: #C3C4D6;
}

.select2-selection__choice {
    border: none !important;
    padding: 0 0 0 5px !important;
    margin: 0 !important;
    /*line-height: 1.2;*/
}
.select2-selection--multiple li {
    display: inline-block;
    float: none !important;
}

.select2-selection__placeholder {
    color: #555 !important;
}



b[role="presentation"] {
    display: none;
}

/* bootstrap custom */

label {
    font-weight: normal;
}

a:focus, a:hover {
    text-decoration: none;
    color: initial;
}

.close {
    font-size: initial;
    opacity: 1;
}

.close:focus, .close:hover {
    opacity: 1;
}

.btn.btn-type1 {
    padding: 8px 45px;
    background: linear-gradient(#9fd6fa, #6bb9f7);
    border: solid 1px #72bdf4;
    border-bottom: solid 2px #4a9de1;
    box-shadow: inset 0 0 0 1px #bfe4fc;
    color: #fff;
    text-shadow: 0 1px 0 #4598f3;
    border-radius: 50px;
}

.btn.btn-type1:before {
    border-radius: 3px;
    box-shadow: #959595 0 2px 5px;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    padding: 2px 0 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.btn.btn-type1:focus, .btn.btn-type1:hover {
    color: #fff;
    text-shadow: 0 1px 0 #4598f3;
    background: linear-gradient(#6bb9f7, #9fd6fa);
    border: solid 1px #72bdf4;
    border-bottom: solid 2px #4a9de1;
    box-shadow: inset 0 0 0 1px #bfe4fc;
}

.btn.btn-type2 {
    padding: 8px 45px;
    background: linear-gradient(#d1d1d1, #afafaf);
    border: solid 1px #b4b4b4;
    border-bottom: solid 3px #878787;
    box-shadow: inset 0 0 0 1px #e3e3e3;
    color: #555;
    text-shadow: 0 1px 0 #d6d6d6;
    border-radius: 50px;
}

.btn.btn-type2:before {
    border-radius: 3px;
    box-shadow: #959595 0 2px 5px;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    padding: 2px 0 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.btn.btn-type2:focus, .btn.btn-type2:hover {
    color: #fff;
    text-shadow: 0 1px 0 #d6d6d6;
    background: linear-gradient(#b7b7b7, #c2c2c2);
    border: solid 1px #a2a2a2;
    box-shadow: inset 0 0 0 1px #d4d4d4;
    border-bottom: solid 3px #878787;
}


/* **/

[data-toggle="tab"] {
    cursor: pointer;
}

.range_control .form-group input {
    display: none;
}

/* auth form */


#login-form .has-success .form-control, #login-form .has-success .form-control input:focus  {
    border: 1px solid #c9c9c9 !important;
    box-shadow: none !important;
}

#login-form .form-control input {
    border: none !important;
    box-shadow: none !important;
}

#login-form .control-label {
    color: #666666;
}

/* bootstrap tooltip */

.tooltip {
    position: fixed;
    opacity: 0;
    z-index: 100000;
}

.tooltip {
    transform: translate3d(0,-10px,0);
    transition: opacity 0.3s, transform 0.3s;
}

.tooltip.in {
    opacity: 1;
    transform: translate3d(0,0,0) rotate3d(0,0,0,0);
}


.tooltip-inner {
    max-width: 250px;
    border-radius: 5px;
    color: #000000;
    text-align: left;
    bottom: 100%;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: -5px -5px 15px rgba(48,54,61,0.2);
    background: rgba(255,255,255,0.9);
    cursor: default;
    pointer-events: none;
    padding: 17px 20px 10px;
}

.tooltip-inner > div {
    line-height: 14px;
    display: block;
    color: #333333;
}

.tooltip-inner > div > div, .tooltip-inner > div > div > div:not(:last-child) {
    padding-bottom: 8px;
}

.tooltip.left > .tooltip-arrow {
    top: 50%;
    right: -2.5px;
    margin-top: -9px;
    border-width: 9px 0 9px 9px;
    border-left-color: rgba(255,255,255,0.9);
    z-index: 100000;
}

.tooltip.top > .tooltip-arrow {
    left: 50%;
    bottom: 7px;
    right: -2.5px;
    margin-top: -9px;
    border-width: 9px 9px 0  9px;
    border-top-color: rgba(255,255,255,0.9);
    z-index: 100000;
}

.tooltip.right > .tooltip-arrow {
    border-right-color: rgba(255,255,255,0.9);
    z-index: 100000;
}

/* custom tooltips depend on page */

.plan-page .tooltip {
    margin: 0 0 20px -180px;
}
.inner-graphic .tooltip-inner {
    max-width: 500px;
    font-size: 14px;
    margin: 0 0 10px 0;
}
.index-page .tooltip-inner {
    font-size: 12px;
    padding: 7px 12px 6px;
    box-shadow: -2px -2px 8px rgba(48,54,61,0.2);
}
.index-page .tooltip {
    margin-top: -14px;
    margin-left: 10px;
}

.reports .tooltip.top > .tooltip-arrow {
    bottom: 0;
}

.reports .tooltip.top .tooltip-inner {
    margin-top: -5px;
    margin-bottom: 2px;
}

/* datatable */

.datatable-window-preview {
    margin: 20px !important;
}

.datatable-print h1, .datatable-print h2, .datatable-print h3 {
    text-align: center !important;
    margin: 20px !important;
}
