html {
    position: relative;

    height: 100%;
    min-height: 100%;
}

body {
    overflow: auto;

    min-width: 640px;
    height: 100%;
    margin-bottom: 30px;  /* Margin bottom by footer height */
    padding-top: 60px;

    font-family: sans-serif;

    /*
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAxMC8yOS8xMiKqq3kAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAABHklEQVRIib2Vyw6EIAxFW5idr///Qx9sfG3pLEyJ3tAwi5EmBqRo7vHawiEEERHS6x7MTMxMVv6+z3tPMUYSkfTM/R0fEaG2bbMv+Gc4nZzn+dN4HAcREa3r+hi3bcuu68jLskhVIlW073tWaYlQ9+F9IpqmSfq+fwskhdO/AwmUTJXrOuaRQNeRkOd5lq7rXmS5InmERKoER/QMvUAPlZDHcZRhGN4CSeGY+aHMqgcks5RrHv/eeh455x5KrMq2yHQdibDO6ncG/KZWL7M8xDyS1/MIO0NJqdULLS81X6/X6aR0nqBSJcPeZnlZrzN477NKURn2Nus8sjzmEII0TfMiyxUuxphVWjpJkbx0btUnshRihVv70Bv8ItXq6Asoi/ZiCbU6YgAAAABJRU5ErkJggg==);
  */
}
/* for bootstrp navbar */
.caret-up {
    display: inline-block;

    width: 0;
    height: 0;
    margin-left: 2px;

    vertical-align: middle;

    border-right: 4px solid rgba(0, 0, 0, 0);
    border-bottom: 4px solid;
    border-left: 4px solid rgba(0, 0, 0, 0);
}
/* Sticky footer styles
-------------------------------------------------- */
.footer {
    position: fixed;
    bottom: 0;

    width: 100%;
    /* Set the fixed height of the footer here */
    height: 30px;

    background-color: #f5f5f5;
}

.top-menu-client-search {
    margin-right: 25px;
}
textarea {
    max-width: 100%;
}
.navbar-brand {
    padding-top: 10px;
}

.no-margin {
    margin: 0;
}


.side-nav > li {
    margin: 0 0 -1px;

    border: 1px solid #e5e5e5;
}

#header {
    position: fixed;
    z-index: 999;

    width: 100%;
    height: 60px;

    background-color: white;
}


a.popup-link:hover,
a.popup-link:focus {
    text-decoration: none;

    color: #2a6496;
}

input.hidden-title {
    padding: 6px 12px;

    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
         -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
            transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;

    color: #555;
    border: 1px solid transparent;
    border-radius: 4px;
    /*border: none;*/
    background: transparent;
    background-color: #fff;
    background-image: none;
    -webkit-box-shadow: none;
            box-shadow: none;

    font-size: 14px;
}

input.hidden-title:focus {
    background: white;
}

textarea.hidden-textarea {
    width: 100%;
    max-width: 100%;
    padding: 6px 12px;

    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
         -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
            transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;

    color: #555;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    background-color: #fff;
    background-image: none;
    -webkit-box-shadow: none;
            box-shadow: none;

    font-size: 14px;
}

textarea.hidden-textarea:focus {
    background: white;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

#login-error {
    margin-top: .7em;

    color: red;

    font-weight: bold;
}


.td-head {
    width: 12em;
}

/*  */

table.collection-list tr.selected {
    color: #fff;
    background: #678be4;
}
.table-my-sorted tr th {
    cursor: pointer;
}


.table-my-sorted tr th.sorted-asc span.asc {
    display: inline-block;
}

.table-my-sorted tr th.sorted-desc span.desc {
    display: inline-block;
}

.table-my-sorted tr th:not(.sorted-desc) span.desc {
    display: none;
}
.table-my-sorted tr th:not(.sorted-asc) span.asc {
    display: none;
}
/* ******* */

.cursor-pointer {
    cursor: pointer;
}

.opacity-half-full {
    opacity: .6;
}
.opacity-half-full:hover {
    opacity: 1;
}


input[type="date"].form-control.text-cuper {
    padding-right: 2em;
}
/* EDIT WORKER */

.btn-file {
    position: relative;

    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;

    display: block;

    min-width: 100%;
    min-height: 100%;

    cursor: inherit;
    text-align: right;

    opacity: 0;
    outline: none;
    background: white;

    font-size: 100px;

    filter: alpha(opacity=0);
}

.animate_success, .animate_success *{
    -webkit-animation-name: inputSuccess; /* Chrome, Safari, Opera */
            animation-name: inputSuccess;
    -webkit-animation-duration: 1s; /* Chrome, Safari, Opera */
            animation-duration: 1s;
}

.animate_fail, .animate_fail *{
    -webkit-animation-name: inputFail; /* Chrome, Safari, Opera */
            animation-name: inputFail;
    -webkit-animation-duration: 1s; /* Chrome, Safari, Opera */
            animation-duration: 1s;
}


@keyframes inputSuccess {
    0% {
        background: white;
    }
    25% {
        border-color: #4cae4c;
        background: #5cb85c;
    }
    100% {
        background: white;
    }
}
@-webkit-keyframes inputSuccess {
    0% {
        background: white;
    }

    50% {
        border-color: #4cae4c;
        background: #9fdc9f;
    }
    100% {
        background: white;
    }
}

@keyframes inputFail {
    0% {
        background: white;
    }
    25% {
        background: #ff5b5b;
    }
    100% {
        background: white;
    }
}

@-webkit-keyframes inputFail /* Safari and Chrome */ {
    0% {
        background: white;
    }
    25% {
        background: #ff5b5b;
    }
    100% {
        background: white;
    }
}

table.collection-list tr.selected {
    color: rgb(51, 51, 51);
    background-color: #d9edf7;
}

/* Required field START */

.required-field-block {
    position: relative;
}

.required-field-block .required-icon {
    display: inline-block;

    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    margin: -.25em .25em 0;
    padding: .5em .8em;

    -webkit-transition: background .1s linear;
       -moz-transition: background .1s linear;
            transition: background .1s linear;
    vertical-align: middle;
    text-transform: uppercase;

    color: rgba(0, 0, 0, .65);
    border-color: #e8e8e8;
    border-radius: .325em;
    background-color: #e8e8e8;

    font-size: 75%;
    font-weight: normal;

        -ms-box-sizing: border-box;
}

.required-field-block .required-icon {
    position: absolute;
    z-index: 10;
    top: 0;
    right: 15px;

    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;

    -webkit-transition: color .2s ease;
       -moz-transition: color .2s ease;
            transition: color .2s ease;
    text-align: center;

    background-color: transparent;
}

.required-field-block .required-icon:after {
    position: absolute;
    z-index: -1;
    top: 1px;
    right: 1px;

    width: 0;
    height: 0;

    content: "";
    -webkit-transition: border-color .2s ease;
       -moz-transition: border-color .2s ease;
            transition: border-color .2s ease;

    border-top: 0 solid transparent;
    border-right: 30px solid transparent;
    border-right-color: inherit;
    border-bottom: 30px solid transparent;
    border-left: 0 solid transparent;
}

.required-field-block .required-icon .text {
    margin: -13px 0 0 12px;

    color: rgba(170, 170, 170, 1);

    font-size: 26px;
}
/* Required field END */

/* For coll view  START */
.collection-list {
    outline: 0;
}
/* For coll view END */

/* For Ajax loading overlay START */
/*
.modal-bobal {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;

    display: none;

    width: 100%;
    height: 100%;

    background: rgba( 127, 127, 127, .2 )
    url("/img/loading2.gif")
    50% 50%
    no-repeat;
}
*/
.modal-bobal{
	position: fixed;
    z-index: 9999;
    bottom: 0;
    right: 0;
    height: 100px;
    width: 100px;
    display: none;
    background: url(/img/loading2.gif);
    background-repeat: no-repeat;
	background-position: center; 
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}
/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal-bobal {
    display: block;
}
/* For Ajax loading overlay END */


/* Bootstrap TreeVIew  START */

.list-group-item.node-lefttab-tree-container {
    padding-right: 5px;
    padding-left: 5px;
}

.treeview .list-group-item .indent {
    /* margin-right: 5px;
  margin-left: 5px; */
    margin: 0;
}

.list-group-item.node-lefttab-tree-container {
    height: 56px;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Bootstrap TreeVIew  END */

/* badge colored START  */

.badge-error.badge {
    background-color: #e49e9c;
}

.badge-zapped.badge {
    background-color: #d7b789;
}

.badge-nomoney.badge {
    background-color: #ef8aee;
}
.bg-white {
    background-color: rgb(255, 255, 255);
}
.pull-error {
    color: rgb(138, 109, 59);
}
.pull-zapped {
    color: rgb(169, 68, 66);
}
.pull-nomoney {
    color: rgb(49, 112, 143);
}
.pull-total {
    color: black;
}

.text-black {
    color: black;
}

.sess-monit-counters {
    padding-right: 5px;
    padding-left: 5px;
    border-radius: 5px;
}
/* badge colored END */

/* cooper undo */
i.undo-text.form-control-feedback.select-cuper-undo {
    right: 30px;
}
i.undo-text.form-control-feedback {
    cursor: pointer;
    pointer-events: auto;
}
.trans-back-color {
    -webkit-transition: background-color .5s linear;
            transition: background-color .5s linear;
}

/* Дополнительные стили */

/*Переопределенные параметры стилей бутсрап*/
body {
    margin-bottom: 0 !important;
}

/*Размеры шрифта*/
body {
    font-size: 13px;
    -webkit-text-stroke: .05px;
}
.dropdown-menu,
.form-control,
.control-label {
    font-size: inherit !important;

    -webkit-text-stroke: .05px;
}




.panel-body {
    padding: 13px;
}
.form-horizontal .form-group{
    display: flex;
    align-items: center;
}
.form-inline .form-group {
    display: inline-flex;
    align-items: center;
}

.form-horizontal .control-label {
    padding: initial;
}

.form-control {
    height: 28px;
    padding: 3px 6px;
}
.form-control-feedback {
    width: 27px;
    height: 27px;

    line-height: 30px;
}
.form-group {
    margin-bottom: 7px;
}

/*Кнопки*/
.btn:not(.btn-xs):not(.btn-lg):not(.btn-sm) {
    padding: 4px 10px;

    font-size: 13px !important;
}
.btn-group-sm > .btn,
.btn-sm {
    padding: 2px 5px;
}

/*Модальное окно*/
.modal-backdrop {
    z-index: 99;
}
.modal-dialog {
    z-index: 100;
}

/*Выравнивание по вертикали*/
div.align-top {
    align-items: top;
}
div.align-bottom {
    align-items: bottom;
}
div.align-center {
    align-items: center;
}
div.align-top, div.align-bottom, div.align-center {
    display: flex;
}

/*Заявки*/
.device-type {
    color: gray;
    font-size: 80%;
}



.has-feedback .form-control {
    padding-right: 30px;
}
.tab-pane {
    padding: 10px;
}
.addon-label {
    margin-bottom: 0;
    padding-top: 7px;

    font-weight: normal;
}
.input-addon {
    position: relative;
    left: -10px;

    font-weight: normal;
}
.input-addon-static {
    font-weight: normal;
}
.panel-heading {
    padding: 5px 7px;
}
.panel {
    margin-bottom: 10px;
}
.panel-heading-sm {
    height: 28px;
    padding: 4px 10px;
}

/*Меню поиска с табами с лева*/
#lefttab-container .tab-pane {
    padding: 0;
}

/* не возможно это читать.. https://radix.mol.net.ua/history/admin/mchubarova */
.table td {
    vertical-align: middle;
}
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
    border-bottom-width: 1px !important;
}

/*Стили select2*/
.select2-container {
    padding-right: 0 !important;
}
.select2-container .select2-arrow {
    text-align: center !important;

    border: none !important;
    background: none !important;
}
.select2-container .select2-arrow b {
    display: none !important;
}
.select2-container .select2-arrow:after {
    content: "\25BC";

    font-size: 70%;
}
.select2-results .select2-no-results,
.select2-results .select2-searching,
.select2-results .select2-ajax-error,
.select2-results .select2-selection-limit {
    background: none !important;
}
.select2-dropdown-open .select2-choice,
.select2-container .select2-choice {
    background: initial;
}
.select2-container-multi .select2-choices .select2-search-choice {
    margin: 4px 0 4px 4px;
}
.select2-drop-mask {
    z-index: 2221;
}

/*Разное*/
.list-group-item{
    padding: 5px 7px;
}
.text-condensed {
    font-family: "Open Sans Condensed","Arial Narrow",sans-serif;
}
.text-red {
    color: red;
}
.text-green {
    color: green;
}
.bg-red {
    background-color: red;
}
.bg-green {
    background-color: green;
}
.bg-lightgrey {
    background-color: lightgrey;
}
.form-control-static {
    padding: 5px 0;
}
.text-ultra-condensed {
    font-stretch: ultra-condensed;
}
/*
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
    text-align: center;
    vertical-align: middle;
}
*/

/** Font Awasome same width */
.fa-same-width {
    width: 16px;
}

/****** JQUERY UI DIALOG CUSTOM !! */
.ui-dialog .ui-dialog-content.ui-dialog-content {
    overflow: hidden;

    width: 100% !important;
}


/* SCROLL BAR*/
*::-webkit-scrollbar {
    width: .5em;
    height: .5em;
}

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

*::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
}


/*  FLEXT  */
.flex {
    display: flex;
}

.flex-justify-content-center {
    justify-content: center;
}

/* hr small */
hr.hr-small {
    margin: 2px;
}

/* for truncate text */
.truncate-restrict {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zapped-session {
   background-color: #f2dede;
}


.grid-stack-item-content {
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
    border-radius: 2px;
    left: -5px;
    right: -5px;
}

.dashmod-body {
    flex: auto;

    overflow-y: auto;
}