@import url("font.css");
* {margin: 0;  padding: 0;  outline: 0; -webkit-overflow-scrolling: touch; font-size: 10px;}
*, *:before, *:after {box-sizing: inherit;}
html {box-sizing: border-box; font-family: 'Open Sans', sans-serif;}
.row {
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (doesn't work very well) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; 
    display: flex;
    flex-direction: row; flex-wrap: wrap;
}
.row.gutters, .row.gutters > .row {margin-left: -2%;}
.row.gutters > .col, .row.gutters > .row > .col {margin-left: 2%;}
.row.around {justify-content: space-around;}
.row.between {justify-content: space-between;}
.row.auto .col {flex-grow: 1;}
.gutters .column.push-left,.push-left {margin-right: auto;}
.gutters .column.push-right,.push-right {margin-left: auto;}
.gutters .column.push-center,.push-center {margin-left: auto;  margin-right: auto;}
.gutters .column.push-middle,.push-middle {margin-top: auto;  margin-bottom: auto;}
.push-bottom {margin-top: auto;}
.col-1 {width: 8.33333%;}
.col-2 {width: 16.66667%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33333%;}
.col-5 {width: 41.66667%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33333%;}
.col-8 {width: 66.66667%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33333%;}
.col-11 {width: 91.66667%;}
.col-12 {width: 100%;}
.gutters > .col-1 {width: calc(8.33333% - 2%);}
.gutters > .col-2 {width: calc(16.66667% - 2%);}
.gutters > .col-3 {width: calc(25% - 2%);}
.gutters > .col-4 {width: calc(33.33333% - 2%);}
.gutters > .col-5 {width: calc(41.66667% - 2%);}
.gutters > .col-6 {width: calc(50% - 2%);}
.gutters > .col-7 {width: calc(58.33333% - 2%);}
.gutters > .col-8 {width: calc(66.66667% - 2%);}
.gutters > .col-9 {width: calc(75% - 2%);}
.gutters > .col-10 {width: calc(83.33333% - 2%);}
.gutters > .col-11 {width: calc(91.66667% - 2%);}
.gutters > .col-12 {width: calc(100% - 2%);}

.mrg-btm-10 {margin-bottom: 10px;}
.loginbox {
    width: 30%;
    margin: 0 auto;
}

.loginbox-block {
    position: absolute;
    top: 150px;
        border: 1px solid rgb(228, 228, 228);
}

.ib input {
    width: 358px;
    line-height: 25px;
    padding: 10px;
    border: 1px solid rgb(228, 228, 228);
    font-size:16px;
    font-weight: bold;
}
.ib {
    margin: 10px;
}

.ib_btn {
    line-height: 47px;
    text-align: center;
    background: #23ABF1;
    color: white;
    cursor: pointer;
    width: 100%;
    border: none;
    font-size: 12px;
}
.loginbox-block-logo {
    background: url(../img/logo-h.png) no-repeat;
    width: 150px;
    height: 25px;
    margin: 20px auto;
}

.ib input::-webkit-input-placeholder {font-size:14px; font-weight: normal;}
.ib input::-moz-placeholder          {font-size:14px; font-weight: normal;} /* Firefox 19+ */
.ib input:-moz-placeholder           {font-size:14px; font-weight: normal;} /* Firefox 18- */
.ib input:-ms-input-placeholder      {font-size:14px; font-weight: normal;}

.login-error {    text-align: center;}
.group {
    grid-template-columns: 1fr 8fr;
    grid-column-gap: 10px;
    padding: 10px 5px;
    min-height: calc(100vh - 20px);
}
.footer-calls {
    grid-template-rows: 27px auto;
}
.generals {
    grid-template-rows: 8fr 2fr;
    grid-row-gap: 10px;
}
.gboarder {border: 1px solid #d0d3d6; padding: 0.5vw;}
.monitor_info {
    grid-template-columns: 1fr 1fr;
    grid-gap: 0.5vw;
}
.monitor_info_call {
    border: 1px solid #d0d3d6;
}
.monitor_info_client {
    border: 1px solid #d0d3d6;
}
.tbl_params {
    border: 1px solid #d0d3d6;
}
.grid {
  display: grid;
}
.header {
	grid-template-columns: 4fr 1fr;
	grid-gap: 0.5vw;

}

.calc-header {
    grid-template-columns: 180px 80px auto 100px;
}
.grid-button {padding: initial; width: auto; cursor:pointer;}
.grid-button:hover {color:white; background:#1ea2f7; border-color: #1ea2f7;}
.calc-header_item {
    align-items: center;
    justify-content: stretch;
    text-align: center;
    border: 1px solid #d0d3d6;
    border-bottom: 0;
    background: white;
}
.calc-header_item:first-child{
	border-radius: 3px 0px 0px 0px;
	border-right:0;
}
.calc-header_item:nth-child(2){
    border-radius: 0px 3px 0px 0px;
}

.calc-header_item-last {
    font-size: 12px;
    grid-column-start: 4;
    align-items: center;
    justify-content: stretch;
    text-align: center;
    border: 1px solid #d0d3d6;
    border-bottom: 0;
    border-radius: 3px 3px 0px 0px;
    background: white;
}

.calc-footer_item {
    align-items: center;
    justify-content: stretch;
    text-align: center;
    border: 1px solid #d0d3d6;
    border-top: 0;
    background: white;
}
.calc-footer_item:first-child{
	border-radius: 0px 0px 0px 3px;
	border-right:0;
}
.calc-footer_item:nth-child(2){
    border-radius: 0px 0px 3px 0px;
}
.clients-header {position: relative;}
.c-table, .clients-table {width:100%; empty-cells: show; position:absolute; font-size: 12px;}
.c-table input {border:0; text-align: center; width: 40px;}
.c-table td:nth-child(3) {text-align: left;}
.c-table input:focus {outline:none;}
.clients-table {min-width:1300px!important;}

.c-table_block::-webkit-scrollbar-track, .clients-table_block::-webkit-scrollbar-track {background-color: white; border-left: 1px solid #d0d3d6; border-bottom: 0px solid #d0d3d6;}
.c-table_block::-webkit-scrollbar, .clients-table_block::-webkit-scrollbar {width: 8px;	height:8px; background-color: white;}
@media(max-width:1499px){
    .clients-table_block::-webkit-scrollbar-track {border-top:1px solid #d0d3d6;}
    }
.clients-table_block::-webkit-scrollbar-track {border-bottom:0;}
.c-table_block::-webkit-scrollbar-thumb, .clients-table_block::-webkit-scrollbar-thumb {background-color: #1ea2f7;}

.c-table thead tr {height: 25px;}
.c-table tr {border:1px solid #d0d3d6;}
.c-table tbody tr {height:25px;}
.c-table td {text-align: center; padding: 0.1vw 0.2vw; position: relative;}
.c-table td:first-child {text-align: left}

.clients-table thead tr {height: 25px;}
.clients-table tr {border:1px solid #d0d3d6;}
.clients-table tbody tr {height:25px;}
.clients-table td {text-align: center; padding: 0.1vw 0.5vw;}
/*.clients-table td:first-child {text-align: left}*/

.calc-footer_item-last {
	align-items: center;
    justify-content: stretch;
    text-align: center;
    border: 1px solid #d0d3d6;
    border-top: 0;
    border-radius: 0px 0px 3px 3px;
    background: white;
}
@media print {
        .noprint {display: none!important;}
        body {background:#FFF; color:#000;}
        a {text-decoration: underline; color:#00F;}
}
.calc-footer_item-last:nth-child(4) {grid-column-start: 5; border-radius: 0px 0px 3px 0px;}
.calc-footer_item-last:nth-child(3) {grid-column-start: 4; border-right: 0; border-radius: 0px 0px 0px 3px;}
.c-table tbody tr:last-child, .clients-table tbody tr:last-child {border-bottom:none;}
.calc-body {
	background: white;
    color: black;
    border:1px solid #d0d3d6;
    grid-template-rows: auto 40px;
}
.c-table_block-mains {overflow:hidden; border-bottom: 1px solid #d0d3d6}
.c-table_blocks {
    height: 100%;
    width: 100%;
}
.c-table_block, .new_block {
    position: relative;
    overflow: hidden;
    overflow-y: auto;
    overflow-x: auto;
    height: 100%;
    width:100%;
}
.c-table_block select{margin: 0 0 0 -4px; border: none;}
.clients-table_block {position: relative; overflow: hidden; overflow-y: auto; overflow-x: auto; border-bottom: 1px solid #d0d3d6;}
.c-table_footer {grid-template-columns: 5fr 1fr;}
.calc-footer {
    grid-template-columns: 220px 100px auto 120px 170px 200px;
}
.section:first-child {padding: 0vw;}
.section {position:relative;}
.calc {
	grid-template-rows: [head]27px [body]auto [footer]27px;
}
.values, .none, .hash {display:none!important;}
.sidebar {
	background: white;
    color: black;
    border:1px solid #d0d3d6;
    grid-template-rows: 50px auto;
}
 .clients {
 	background: white;
    color: black;
    border:1px solid #d0d3d6;
    border-bottom: 0;
 }
.calc-lists_item {
    float: left;
    border: 1px solid #d0d3d6;
    border-radius: 2px;
    margin: 2px 5px 0 0;
    font-size: 12px;
    padding: 0 10px;
    cursor:pointer;
}
.calc-lists {
    position: relative;
    margin: 8px 0 0 10px;
}
.calc-lists_item.active, .calc-lists_item:hover {border-color:#1ea2f7; color:white; background: #1ea2f7;}
.calc-lists_item.s-none:hover {background:#d0d3d6; border-color:#d0d3d6;}
.grid.c-table_footer-r {
    grid-template-columns: auto 180px;
    margin: 4px 0 0 0;
}
.calc-version_date {
    font-size: 11px;
    float: right;
    color: grey;
    height: 30px;
    border-left: 1px solid #d0d3d6;
    padding: 0px 0 0px 10px;
}
.calc-version {
    margin: 8px 0px 0 0;
}
.calc-version_item {
    width: 13px;
    height: 13px;
    border: 1px solid #1ea2f7;
    float: right;
    margin: 0 8px 0 0;
    border-radius: 50px;
    cursor:pointer;
}
.calc-version_item.active, .calc-version_item:hover {
    background: #1ea2f7;
}
.sidebar-header_w {
    line-height: 50px;
    height: 50px;
    text-align: center;
    border-bottom: 1px solid #d0d3d6;
    text-transform: uppercase;
    cursor:pointer;
}
.sidebar-header_w.active:first-child, .sidebar-header_w:first-child:hover {border-right:1px solid white; border-bottom: 1px solid #1ea2f7; color:white; background: #1ea2f7;}
.sidebar-header_w.active:nth-child(2), .sidebar-header_w:nth-child(2):hover {border-bottom: 1px solid #1ea2f7; background: #1ea2f7; color:white;}
.sidebar-header {
    grid-template-columns: 1fr 1fr;
}
.clients-g {grid-template-rows: 30px auto;}
.clients-header_search {
    float: right;
    line-height: 30px;
    border: 1px solid #d0d3d6;
    border-radius: 2px;
    border-bottom: 0;
}
.clients-header_search-ico {
    float: left;
    height: 30px;
    border-right: 1px solid #d0d3d6;
    background: url(../img/search.svg) no-repeat;
    width: 30px;
    background-position: 9px;
    background-size: 13px;
}
.clients-header_search-input {
    float: left;
    width: 180px;
    font-size: 12px;
    color: grey;
    background: white;
}
.clients-header_search-button {
    float: left;
    width: 75px;
    text-align: center;
    height:29px;
    background: #1ea2f7;
    color: white;
    cursor:pointer;
}
.clients-header_search-button:hover {opacity: 0.8;}
.clients-header_search-input input {
    border: none;
    line-height: 30px;
    padding: 0 10px;
    outline: none;
}
.c-table_block_n {
    float: left;
    height: 100px;
}
.c-table_block_n-title {
    padding: 10px 0 10px 0;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #d0d3d6;
}
.c-table_block_n_items {
    float: left;
    margin: 10px 0 0 20px;
    width: 20%;
}
.c-table_block_n_items_title {
	font-size:0.5vw;
    float: left;
    width: 100%;
    padding: 10px 0 10px 0;
    text-transform: uppercase;
    font-size: 12px;
}
.c-table_block_n_item {
    float: left;
    width: 100%;
    color: #1ea2f7;
    padding: 0 0 5px 0;
}
.c-table_block_n_item span {cursor: pointer; }
.c-table_block_n_item span:hover {opacity: 0.7}
.clients-header-hide {
    float: left;
}
.section-bottom {
    position: absolute;
    bottom: 0px;
    left: 0.5vw;
   
}
.clients-hide, .clients-show {cursor:pointer;}
.clients-hide:hover, .clients-show:hover {opacity: 0.7}
.clients-hide {
    float: left;
    border: 1px solid #d0d3d6;
    padding: 3px 10px;
    border-radius: 2px 2px 0px 0px;
    border-bottom: 0;
    position: absolute;
    top: 6px;
    color: grey;
}
.clients-show {
    float: left;
    border: 1px solid #1ea2f7;
    padding: 3px 0px;
    border-radius: 2px 2px 0px 0px;
    border-bottom: 0;
    position: absolute;
    top: 1px;
    color: white;
    background: #1ea2f7;
    width: 180px;
    text-align: center;
}
.sidebar-body-f, .sidebar-body-i {
    margin: 20px 20px 0 20px;
}
.sidebar-body-f table, .sidebar-body-i table{
    width: 100%;
}
.sidebar-body-f tr{
    height: 23px;
}
.sidebar-body-f-all {
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid #d0d3d6;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}
.sidebar-body-f-active {
    width: 100%;
}

.sidebar-body-f-active-title {
    width: 50%;
    float: left;
}
.sidebar-body-f-active-btn {
    float: left;
    min-width: 110px;
    width: 100%;
}
.sidebar-body-f-active-btn-l {
    border: 1px solid #d0d3d6;
    height: 23px;
    float: left;
    width: 40px;
    text-align: center;
    cursor:pointer;
    border-radius: 3px 0 0 3px;
    padding: 0 3px;
    line-height: 21px;
}
.sidebar-body-f-active-btn-r {
    height: 23px;
    float: left;
    width: 40px;
    border: 1px solid #d0d3d6;
    text-align: center;
    margin: 0 0 0 -1px;
    cursor:pointer;
    border-radius: 0 3px 3px 0;
    padding: 0 3px;
    line-height: 21px;
}
.sidebar-body-f-active-btn-r.active {background: #1ea2f7; color:white; border:1px solid #1ea2f7; cursor:default;}
.sidebar-body-f-active-btn-l.active {background: #d0d3d6; color:white; border:1px solid #d0d3d6; cursor:default;}
.sidebar-body-f tr:first-child {height: 55px;}
.calc-header_item-last select {
    border: 0;
    height: 25px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding: 0 0 0 18px;
    text-align: center;
    cursor: pointer;
}
select:focus, input:focus {outline: none;}
.calc-header_item-last:hover {background: white; color:grey; border-color: #d0d3d6;}
.calc-header_item-last select option {color:black;}
.s-none {color: #a7a7a7;}
.s-active {
    border: 1px solid #1ea2f7;
    color: #1ea2f7;
}
.s-none.active {
    background: #d0d3d6;
    border: 1px solid #d0d3d6;
}
.sidebar-body-i tr {height: 30px;}
.sidebar-body-i tr input {
    padding: 5px;
    border: 1px solid #d0d3d6;
    border-radius: 2px;
    color:grey;
    width: 100%;
    line-height: 20px;
    margin: 3px 0;
}


.general input[placeholder]          {text-overflow:ellipsis;}
.general input::-moz-placeholder     {text-overflow:ellipsis;} 
.general input:-moz-placeholder      {text-overflow:ellipsis;} 
.general input:-ms-input-placeholder {text-overflow:ellipsis;}     
.general input[type="text"]::-webkit-input-placeholder     {text-indent: 0px;   transition: text-indent 0.9s ease;}
.general input[type="text"]::-moz-placeholder                {text-indent: 0px;   transition: text-indent 0.9s ease;}
.general input[type="text"]:-moz-placeholder                 {text-indent: 0px;   transition: text-indent 0.9s ease;}
.general input[type="text"]:-ms-input-placeholder            {text-indent: 0px;   transition: text-indent 0.9s ease;}
.general input[type="text"]:focus::-webkit-input-placeholder {text-indent: 1000px; transition: text-indent 0.9s ease;}
.general input[type="text"]:focus::-moz-placeholder          {text-indent: 1000px; transition: text-indent 0.9s ease;}
.general input[type="text"]:focus:-moz-placeholder           {text-indent: 1000px; transition: text-indent 0.9s ease;}
.general input[type="text"]:focus:-ms-input-placeholder      {text-indent: 1000px; transition: text-indent 0.9s ease;}
.sidebar-body-f-sheet-v-status {
    text-align: center;
    color: #23abf1;
    cursor: pointer;
}
.sidebar-body-f-sheet-v-status:hover {opacity: 0.9}
.params_open:hover {opacity: 0.9}
.params_open {
    color: #23abf1;
    cursor: pointer;
}
.menu {
    border: 1px solid #d0d3d6;
    min-width: 165px;
}
.lnk {
    color: #1ea2f7;
    cursor: pointer;
}
.lnk:hover {
    opacity: 0.8;
}
.li_menu, .li_settings-menu  {
    padding: 5px;
    color: #1ea2f7;
    cursor: pointer;
    border-bottom: 1px solid #d0d3d6;
    text-decoration: none;
    list-style: none;
}

.menu a{
    text-decoration: none;
}
.li_name {
    padding: 0.5vw 0.5vw 0 0.5vw;
    list-style: none;
}
.li_settings {
    padding: 0.5vw 0.5vw 0.3vw 0.2vw;
    list-style: none;
    font-size: 14px;
}
.li_exit {
    padding: 0.5vw 0.5vw 0 0.5vw;
}
.li_exit a {text-decoration: underline;}
.li_post {
    padding: 0 0.5vw;
    font-size: 10px;
}
.li_town{
    padding: 0.5vw 0.5vw 0 0.5vw;
}
.li_town span {text-decoration: underline;}
.li_menu:hover, .li_active, .li_settings-menu:hover {
    color: white;
    background: #1ea2f7;
    border-color: #1ea2f7;
}
.li_menu span, .li_settings-menu span {
    background: #1ea2f7;
    color: white;
    border-radius: 3px;
    padding: 1px 4px;
    float: right;
}
.li_menu:hover span, .li_active span , .li_settings-menu:hover span{
    background: white;
    color: #1ea2f7;
}
.grid_bl_title {
    color: #000000;
    text-transform: uppercase;
    padding: 5px 15px;
    font-size: 12px;
    border-bottom: 1px dotted #d0d3d6;
}
.grid_bl_ib  {
    float: left;
    font-size: 12px;
    padding: 15px;
}
.ic-param {
    float: left;
    width: 100%;
    margin: 0 0 5px 0;
}
.ic-param-name {
    float: left;
    margin: 0 10px 0 0;
    font-weight: bold;
}
.ic-param-value {
    float: left;
}
.tbl_params table, .tbl_settings-block table  {width: 100%; }
.tbl_params {
    height: 100%;
    overflow-y: scroll;
}
.tbl_params tr, .tbl_settings-block tr {border: 1px solid #D0D3D6;}
.tbl_params tbody tr,.tbl_settings-block tbody tr  {height: 41px;}
.tbl_params td, .tbl_settings-block td  {text-align: center; padding: 0 10px; white-space: nowrap;}
.tbl_params th, .tbl_settings-block th  {height: 25px; text-align: center; padding: 0 10px; white-space: nowrap;}
.tbl_settings-blocks {grid-template-columns: 1fr 8fr;  grid-column-gap: 10px;}
.monitor_info_call, .monitor_info_client {grid-template-rows: [head]30px [body]auto;}
.input-check {cursor:pointer; color:#1ea2f7;}

.overlay-ip-check{
    width: 150px;
    margin: 5px;
    padding: 10px 5px;
    text-align: center;
    border-radius: 3px;
    float: left;
    cursor: pointer;
    border:1px solid grey;
}
.overlay-ip-input {
    margin: 5px;
    float: left;
}
.overlay-ip-input input {
    padding: 10px 5px;
}
.trv-input {
    width: 100%!important;
    text-align: left!important;
}
.trv-input-search {
    z-index: 1;
    width: 600px;
    height: 300px;
    top: 287px;
    left: 260px;
    margin: 5px 0 0 0;
    border: 1px solid #d0d3d6;
    border-radius: 3px;
    position: absolute;
    background: white;
    box-shadow: 1px 1px #0000004d;
    overflow-y: scroll;
}
.trv-input-item, .trv-input-client {
    border-bottom: 1px solid #d0d3d6;
    line-height: 20px;
    padding: 0 5px;
    cursor:pointer;
}
.trv-input-item:last-child, .trv-input-client:last-child {
    border-bottom: none;
} 
.trv-input-item:hover, .trv-input-client:hover {
    background: #23abf1;
    color: white;
}
.items_add_no_found {
    padding: 0.5vw;
}
.items_add_no_found span {color:#23abf1; text-decoration: underline; cursor:pointer;}
.items_add_no_found span:hover {text-decoration: none;}
.fa.items_add_edit, .fa.items_add_delete, .fa.table_row_edit, .fa.table_row_delete, .fa.table_row_view {cursor:pointer; float: right; padding: 2px 5px 0 5px;}
.fa.table_row_edit-n {cursor:pointer;}
.fa.table_row_edit-n:hover, .fa.items_add_edit:hover, .fa.table_row_edit:hover, .fa.table_row_view:hover {color: #23abf1;}
.fa.items_add_delete:hover, .fa.table_row_delete:hover {color: red;}
.blue_pointer {color: #23abf1; cursor: pointer;}
.blue_pointer:hover {opacity: 0.8;}
.text_underline_no-active {text-decoration: underline; cursor: pointer}
.text_underline_no-active:hover {text-decoration: none;}
.select_town {font-weight: bold;}
#overlay{
    position: absolute;
    z-index: 1040;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: visible;
    display: none;
}
#overlay .view {
    position: relative;
    width: 550px;
    margin: 10vh auto;
    z-index: 90;
    background: white;
    box-shadow: 0px 0px 5px rgb(190 190 190);
    padding: 20px;
    border-radius: 3px 0px 3px 3px;
    border: 1px solid rgb(201, 201, 201);
    display: grid;
}
#overlay .background {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgb(175, 175, 175);
    top: 0;
    left: 0;
    opacity: 0.6;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
    z-index: 79;
}
.overlay-close {
    cursor: pointer;
    height: 21px;
    background: white;
    padding: 4px 10px 0 10px;
    position: absolute;
    font-size: 12px;
    right: -1px;
    color: rgb(169, 169, 169);
    border-radius: 5px 5px 0 0;
    top: -21px;
    text-align: center;
    box-shadow: 1px -1.9px 4px rgb(190 190 190 / 60%);
    border: 1px solid rgb(201, 201, 201);
    border-bottom: 0;
}
.input-p input {
    padding: 5px;
    border: 1px solid #d0d3d6;
    border-radius: 2px;
    color: grey;
    width: 100%;
    line-height: 20px;
    margin: 3px 0;
}
.input-p input[placeholder] {text-overflow: ellipsis;}
.input-t {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}
.input-b select {
    padding: 7px 5px;
    border: 1px solid #d0d3d6;
    border-radius: 2px;
    color: grey;
    width: 100%;
    margin: 3px 0;
}
.btn-f {
    text-align: center;
    border: 1px solid lightgrey;
    background: white;
    cursor: pointer;
    border-radius: 5px;
    padding: 10px 0;
    margin-right:5px;
}
.btn-f.btn-red {
    background: #f9544c;
    border: 1px solid #f9544c;
    color: white;
}
.btn-f.btn-blue {
    background: #1ea2f7;
    border: 1px solid #1ea2f7;
    color:white;
}
.btn-f.btn-green {
    background: #e4ffe4;
}
.btn-f:hover {opacity: 0.8;}
.mgn-btn {margin-bottom: 10px;}
.loading:before {
    content:'';
    background: #00000070;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index:2000;
}

.loader {
    z-index: 2100;
    top: 40vh;
    left: 45vw;
    font-size: 10px;
    margin: 50px auto;
    text-indent: -9999em;
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    background: #0090e0;
    background: -moz-linear-gradient(left, #0090e0 10%, rgba(0,144,224, 0) 42%);
    background: -webkit-linear-gradient(left, #0090e0 10%, rgba(0,144,224, 0) 42%);
    background: -o-linear-gradient(left, #0090e0 10%, rgba(0,144,224, 0) 42%);
    background: -ms-linear-gradient(left, #0090e0 10%, rgba(0,144,224, 0) 42%);
    background: linear-gradient(to right, #0090e0 10%, rgba(0,144,224, 0) 42%);
    position: absolute;
    -webkit-animation: load3 1.4s infinite linear;
    animation: load3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}
.loader:before {
    width: 50%;
    height: 50%;
    background: #0090e0;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
}
.loader:after {
    background: #8f8f8f;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.invoiceDownload, .btn_overlay_v1 {
    margin: 20px 0 0 0;
    width: 200px;
    text-align: center;
    padding: 15px 0;
    border-radius: 5px;
    background: #1ea2f7;
    color: white;
    cursor: pointer;
    float: right;
}

.invoiceDownload:hover, .btn_overlay_v1:hover {
    opacity: 0.8;
}

.invoicePrint {
    margin: 20px 10px 0 0;
    width: 200px;
    text-align: center;
    padding: 15px 0;
    border-radius: 5px;
    background: #ffffff;
    color: grey;
    cursor: pointer;
    border: 1px solid grey;
    float: right;
}

.invoicePrint:hover {
    opacity: 1;
    background: grey;
    color: white;
}

.invoiceEdit {
    margin: 20px 10px 0 0;
    width: 200px;
    text-align: center;
    padding: 15px 0;
    border-radius: 5px;
    background: #ffffff;
    color: grey;
    cursor: pointer;
    border: 1px solid grey;
    float: left;
}

.invoiceEdit:hover {
    opacity: 1;
    background: grey;
    color: white;
}

.active-call-block {
    border-right: 1px solid #d0d3d6;
    margin: 0 30px 0 0;
    padding: 0 30px 0 0;
}
.active-call-block:last-child {
    border-right: 0px;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}
.active-call-block-url {
    color: #1ea2f7;
    text-decoration: underline;
    cursor: pointer;
}
.active-call-block-url:hover {
    text-decoration: none;
}
.footer-header-button {
    align-items: center;
    justify-content: stretch;
    text-align: center;
    border: 1px solid #d0d3d6;
    border-bottom: 0;
    background: white;
}
.footer-header-button:first-child{
    border-radius: 3px 0px 0px 0px;
    border-right: 0;
}
.footer-header-button:nth-child(2){
    border-right: 0;
}
.footer-header {line-height: 26px; grid-template-columns: 180px 280px 180px auto 180px;}


.footer-header-button-act {
    border-radius: 3px 3px 0px 0px;
    align-items: center;
    justify-content: stretch;
    text-align: center;
    border: 1px solid #1ea2f7;
    border-bottom: 0;
    color:white;
    background: #1ea2f7;
}

@keyframes glowing {
    0% { background-color: #d70000;}
    50% { background-color: #ff8888;}
    100% { background-color: #d70000;}
}

.ui-call-alarm {
    animation: glowing 1300ms infinite;
    color: white;
    border: 0;
}

.ui-call-active[data-block="active-call"], .ui-call-active[data-block="active-call"]:hover {
    background: #4baf4b;
    color: white;
    background-color: #4baf4b;
    border: 1px solid #4baf4b;
    border-right: 0;
}

.ui-call-active[data-block="last-call"] {
    color: white;
    background: #1ea2f7;
    border-color: #1ea2f7;
    border: 1px solid #1ea2f7;
    border-right: 0;
}
.footer-header-button[data-block="active-call"]:hover {
    background: #4baf4b;
    color: white;
    background-color: #4baf4b;
    border: 1px solid #4baf4b;
    border-right: 0;
}
.general[data-general="clients"] .section{
    grid-template-rows: [head]22px [body]minmax(10vh,70vh) [footer]35px;
}
.general[data-general="club"] .section {
    grid-template-rows: [head]22px [body]minmax(10vh,70vh) [footer]35px;
}
.general[data-general="invoices"] .section {
    grid-template-rows:[body]minmax(10vh,70vh) [footer]35px;
}
.general[data-general="orders"] .section {
    grid-template-rows: [head]22px [body]minmax(10vh,70vh) [footer]35px;
}
.general[data-general="doorhan"] .section {
    grid-template-rows: [head]22px [body]minmax(10vh,70vh) [footer]35px;
}
.general[data-general="calls"] .section {
    grid-template-rows: [body]minmax(10vh,70vh) [footer]35px;
}
.general[data-general="estimates"] .section {
    grid-template-rows: [body]minmax(10vh,70vh) [footer]35px;
}
.general[data-general="contract"] .section {
    grid-template-rows: [body]minmax(10vh,70vh) [footer]35px;
}
.general[data-general="products"] .section {
    grid-template-rows: [body]minmax(10vh,70vh) [footer]35px;
}
.general_header {
    grid-template-columns: 1fr 2fr 1fr 1fr 1fr;
}
.btn-header_b {
    padding-top: 2px;
    text-align: center;
    border: 1px solid #1ea2f7;
    margin-bottom: -1px;
    background: #1ea2f7;
    color: white;
    cursor: pointer;

}
.btn-header_b:first-child {border-radius: 3px 0px 0px 0px;}

.btn-header_c {
    padding-top: 2px;
    text-align: center;
    border: 1px solid #d0d3d6;
    margin-bottom: -1px;
    background: #ffffff;
    color: #513737;
    cursor: pointer;
}
.btn-header_c:hover, .btn-header_c.active {
    background: #1ea2f7;
    border: 1px solid #1ea2f7;
    color:white;
}

.btn-header_c:first-child {border-radius: 3px 0px 0px 0px;}

.textarea_in {width: 100%; padding: 5px; border: 1px solid #d0d3d6;}
.zindexOverlay {z-index: 9999;}
audio::-webkit-media-controls-play-button,
     audio::-webkit-media-controls-panel {
     background-color: white;
     }
 audio {
    height: 25px;
    width: 300px;
 }
.li_number_title, .li_number_input, .li_number_8800_checkbox {
    padding: 0.3vw 0.5vw;
}

.li_number_8800_checkbox label {margin-left:5px;}

.li_number_input input {
    width: 100%;
    font-size: 10px;
    padding: 0.3vw 0.5vw;
}

.li_number_submit {
    margin: 0.3vw 0.5vw;
    text-align: center;
    border: 1px solid grey;
    padding: 0.3vw 0;
    cursor: pointer;
    list-style-type: none;
}

.li_number_submit:hover {

    background: #1ea2f7;
    color:white;
    border: 1px solid #1ea2f7;
}
.ahref {
    text-decoration: underline;
    cursor: pointer;
}
.ahref:hover {
    text-decoration: none;
}
.ui-discount-edit {padding: 0 5px;}
.ui-discount-edit:hover {
    cursor:pointer;
    color:#1ea2f7;
}
.ui-discount-editBlock {
    position: absolute;
    right: -1px;
    background: white;
    z-index: 1;
    width: 350px;
    height: 26px;
    border: 1px solid #0090e0;
    top: -1px;
}
.ui-discount-editBlock input {
    border-left: 1px solid #0090e0;
    border-right: 1px solid #0090e0;
    height: 24px;
    width: 58px;
    padding: 4px 0px;
}
.ui-discount-editBlockTitle {
        padding: 4px 5px;
}
.ui-discount-editBlockSubmit {
    text-align: center;
    color: white;
    padding: 4px 0;
    background: #1ea2f7;
    cursor: pointer;
    margin: -1px 0 0 0;
}
.ui-discount-editBlockSubmit:hover {
    background: none;
    color:#1ea2f7;
}
.input-error {
    color: red;
}
.input-p textarea {
    height: 150px;
    padding: 5px;
    border: 1px solid rgb(208, 211, 214);
    border-radius: 2px;
    color: grey;
    line-height: 20px;
    margin: 3px 0px;
    max-width: 100%;
    min-width: 100%;
    min-height: 100px;
    max-height: 300px;
}

.recommend_false {
    border: 1px solid red!important;
    color: red!important;
}
.recommend_true {
    border: 1px solid green!important;
    color: green!important;
}

.recommend_false:hover {
    color: white!important;
    background:red;
}

.recommend_true:hover {
    color: white!important;
    background:green;
}

span.input-param-recommend {
    border-radius: 20px;
    width: 16px;
    height: 16px;
    display: inline-block;
    cursor: pointer;
    font-size: 9px;
    text-align: center;
    margin: 1px 1px;
    user-select:none;
    color: grey;
    border: 1px solid grey;
}

h1 {
    margin: 10px;
}

.tbl_settings-block.ui-form {
    border: 1px solid #d0d3d6;
}
.button {
    margin: 0.3vw 1vw;
    text-align: center;
    border: 1px solid grey;
    padding: 0.3vw 0;
    cursor: pointer;
    list-style-type: none;
}
.button:hover {
    background: #1ea2f7;
    color: white;
    border: 1px solid #1ea2f7;
}
.tbl_settings-block input {
    width: 100%;
    font-size: 0.5vw;
    padding: 0.2vw 0.5vw;
}
.tbl_settings-block select {
    width: 100%;
}
.overlay-close:hover {
    color: #1ea2f7;
}
#invoiceBlock {
    max-height: 70vh;
    overflow-y: scroll;
}
.client-none label {
    margin: 0 0 0 10px;
    cursor: pointer;
}
.ui-invoice__block {
    position: absolute;
    right: 20px;
    bottom: -55px;
    border-radius: 5px;
    overflow: hidden;
}
.btn_bottom {
    width: 200px;
    padding: 10px 15px;
    background: #ededed;
    border-bottom: 1px solid #bababa;
}
.btn_bottom:hover {
    cursor: pointer;
    background: #e6e6e6;
}
.btn_bottom:last-child {
    border-bottom: none;
}
.noneEditable {
    position: relative;
}
.noneEditable:before {
    background: #8f8f8f52;
    width: 100%;
    height: 100%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.input-b input[type="checkbox"] {
    margin: 0 5px 0 0;
}
a {
    color: #1ea2f7;
}
select.doorhan_tn_sl, select.club_tn_sl {
    width: 120px;
    border: 1px solid #d0d3d6;
    border-radius: 3px;
}
input.general_search {
    height: 33px;
    border: 1px solid #d0d3d6;
    border-top: 0;
    border-bottom: 0;
    padding: 0 5px;
    width: 100%;
    border-right: 0;
    text-align: center;
}
tr.tr_search td:last-child input.general_search {
    border-right: 1px solid #d0d3d6;
}

tr.tr_search {
    height: 33px!important;
}
tr.tr_search td {
    padding: 0;
}
.td-oflow {
    white-space: pre-wrap!important; overflow: hidden;
}
.td-oflow[data-name="description"] {
    min-width: 700px;
}
.income_club .trls td {
    text-align: left;
}
.income_club .trls td[data-name="town_scan"] {
    text-align: center!important;
}

.trls_red {
    background-color: #ffeaea;
}
.trls_red select {background: #ffeaea;}
tr.trls td[data-name="delivery"], tr.trls td[data-name="type"] {
    width: 130px;
    word-break: break-word;
    white-space: normal;
    padding: 5px 10px;
}
tr.trls.warn {
    background: #feffdb;
}
.overlay_footer_btn {grid-template-columns: 200px auto 200px;}
.dropdown_block {padding:0 10px; position: relative;}
.dropdown_params {
    position: absolute;
    right: 0;
    border: 1px solid #d0d3d6;
    border-radius: 3px;
    background: white;
    z-index: 10;
    min-width: 165px;
}
.dropdown_title {cursor: pointer;}
.dropdown_title:hover {
    color: #1ea2f7;
}
.dropdown_params li {
    display: block;
    border-bottom: 1px solid #d0d3d6;
    padding: 5px 15px;
    cursor: pointer;
}
.dropdown_params li:hover {
    background: #1ea2f7;
    color: white;
}
.pagination {
    margin: 10px 0 0 0;
}
.pagination div {
    margin: 0px 5px;
    border: 1px solid #1ea2f7;
    padding: 5px 8px;
    color: grey;
}
.pagination div:last-child {
    margin-right: 0px;
}
.pagination div.nopagination {
    cursor: default;
}
.pagination div.active {
    background: #1ea2f7;
    cursor: default;
    color: white;
}
.pagination div:not(.active, .nopagination):hover {
    cursor: pointer;
    background: #1ea2f7;
    color: white;
}
.selectCellMenu {
    border: 1px solid #d0d3d6;
    margin-top: -1px;
    border-radius: 0px 0px 3px 3px;
    height: 25px;
}
.selectCellMenu .selectCellParams {
    border-right: 1px solid #d0d3d6;
    padding: 5px 10px;
    cursor: pointer;
}
.selectCellMenu .selectCellParams:last-child{
    border-right: none;
}
.selectCellCount {
    padding: 5px 10px;
    color: white;
    background: #1ea2f7;
    border-right: 1px solid #d0d3d6;
}
.selectCellCount span {font-weight: bold;}
.selectCellMenu .selectCellParams:hover {color: white;background: #1ea2f7;}
a.w_error_orange {
    color: orange;
}
a.w_error_red {
    color: red;
}
.bns-st_act1 {
    color: #1ea2f7;
    font-weight: bold;
}
.bns-st_act2 {
    color: grey;
    font-weight: bold;
}
tr.trls td[data-name="comment"] {
    width: 130px;
    word-break: break-word;
    white-space: normal;
    padding: 5px 10px;
}
tr.trls td[data-name="comment"] .comment_text {text-align: left;}
.td_dhOrder .fa {
    margin: 0 5px 0 0;
    font-size: 14px;
    /* line-height: 14px; */
    color: black;
    cursor: pointer;
}
.td_dhOrder .fa:hover:before{
    font-weight: bold;
}
.table_priceList tr td:first-child {text-align: left}
.trv-input-more {    
    line-height: 20px;
    padding: 5px;
    text-align: center;
}
.trv-input-more:hover {
    cursor: pointer;
    background: #1ea2f7;
    color: white;
}

.sidebar-body-f-sheet-blocks {
    margin: 1vw 0 0 0;
}
button {
    border-radius: 0px 0px 3px 3px;
    background: white;
    padding: 5px 0.5vw;
    border: 1px solid #d0d3d6;
    cursor: pointer;
}
button:hover{
    color: white;
    background: #1ea2f7;
    border-color: #1ea2f7;
}
.crm-order-needs-city td {
	background-color: #ffe5e5 !important;
	color: #a40000;
}

.crm-order-claim {
	border: 0;
	border-radius: 3px;
	padding: 6px 10px;
	background: #2b9f55;
	color: #fff;
	cursor: pointer;
}

select {
    padding: 2px 0.5vw;
    border: 1px solid #d0d3d6;
    border-radius: 2px;
    cursor:pointer;
}
