.kop {
  font-stretch: condensed;
  font-size: x-small
}
html,body{
  min-height:100%;
}
#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
div.shop-notice {
  margin-top:0;
  color:black;
  text-align:center;
  box-shadow: 10px 9px 20px 0px rgba(0,0,0,0.49);
  display: inline-block;
  float: none;
  padding-left:32px;
  padding-right:32px;
}
div.shop-notice button.close{
  position: absolute;
  right: 32px;
}

.interactive, a.interactive:hover {
  text-decoration: none;
  border-bottom: 1px dotted;
}

/* auth form */
.login {
  border-radius: 6px 6px 6px 6px;
  font-size: 18px;
  font-weight: 200;
  line-height: 30px;
  margin-bottom: 30px;
}
.login h1 {
  padding: 20px 20px 0 20px;
}

.login p {
  padding: 0 20px;
}

.form-signin {
  max-width: 300px;
  padding: 19px 29px 29px;
  margin: 0 auto 20px;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
     -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
          box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin input[type="text"],
.form-signin input[type="password"] {
  font-size: 16px;
  height: auto;
  margin-bottom: 15px;
  padding: 7px 9px;
}

/* admin */
.simple_form td { padding: 2px 5px; vertical-align: top; }
.simple_form td.left { width:40%; text-align: right; }

.reg_form { width:100%; }
.reg_form td { padding: 2px 5px; }
.reg_form td.left { width:40%; text-align: right; vertical-align: top; }
.reg_form td.left small{
    font-size: 80%;
    margin-top: -14px;
    display: block;
    color: gray;
}

.reg_form td.right { width:60%; text-align: left; vertical-align: top; }
.reg_form td.right input {
    width: 100%;
}
.reg_form td input[type="checkbox"] {
    margin-bottom: 5px;
}
.reg_form td.right .checkbox {
    width: auto;
}
.reg_form td.right .halftext {
    width: 50%;
}
.reg_form tr.with_margin td {
    padding-top: 10px;
}
.reg_form td.right textarea {
    width: 100%;
}
.reg_form td.right .submit {
    width: auto;
}

/* user */
div.search-div {
  min-width: 301px;
}

div.cart-div {
  min-width: 301px;
}

.table-synonyms td input {
  margin:0;
  padding: 0px 4px;
}

.table-orders th, .table-orders td {
  line-height: 14px;
  font-size: 12px;
  text-align: left;
}


/* tables */
.miniheader td h2 {
  border: medium none;
  padding: 2px 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.table-orders th, .table-orders td {
  line-height: 14px;
  font-size: 12px;
}

.table-orders th, .table-orders td {
  text-align: center;
}

.borders [class*="span"], .span-borders {
    border-radius: 3px 3px 3px 3px;
    min-height: 40px;
    text-align: center;
    vertical-align: middle;
}

.check_in_cart { display: block; }

pre { word-break: normal; }
/*
footer {
  width:100%;
  height:62px;
  background: url('/templates/_default/images/footer_bg.jpg') repeat-x;
  color: white;
  position:absolute;
  bottom:0;
  left:0;
  white-space:nowrap;
  overflow:hidden;
}
footer .footer {
  background: url('/templates/_default/images/footer_holes.jpg') right top no-repeat;
  height:62px;
}
footer .footer_left {
  background: url('/templates/_default/images/footer_holes.jpg') left top no-repeat;
  height:62px;
  width:110px;
  float:left;
}

footer .footer_kais_logo {
  background: none;
  padding:0px;
  width:162px;
  overflow:hidden;
  float:left;
}
footer .footer_kais_logo span {
  text-align:center;
  font-size:11px;
  line-height: 16px;
  color:white;
  position: absolute;
  width: 100px;
  top: 15px;
}
footer .footer_copyright_zone {
  float:left;
  min-width:10px;
}
footer .copyright {
  height:62px;
  overflow:hidden;
  display:flex;
  align-items:center;
  display: -webkit-flex;
  -webkit-align-items: center;
}
footer .copyright_text P {
  line-height: 16px;
  font-size: 11px;
  margin:0;
}
footer .footer_counters {
  position:absolute;
  text-align:center;
  width:94px;
  height:62px;
  overflow:hidden;
  top:0px;
  right:0px;
  z-index:1;
  display:flex;
  align-items:center;
  display: -webkit-flex;
  -webkit-align-items: center;
}
footer .footer_counters_counter{
  width:100%;
}
.lf_left {
	background: url('/templates/_default/images/footer_holes.jpg') left top no-repeat;
}
.lf_right {
	background: url('/templates/_default/images/footer_holes.jpg') right top no-repeat;
}
*/
.ui-tooltip  {
   padding: 5px;
   font-size: .8rem;
   text-align: left;
  }

.ui-tooltip-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    display: block;
    width: 0;
    color:transparent;
}

.ui-autocomplete { /* Подсказка поиска */
  z-index:1061;
 }
.basket_top #basket_sum{
  white-space:nowrap;
}
.basket_top #basket_sum #kop{
  font-stretch: condensed;font-size: x-small;
}
.top_logo_wrapper{
  position:absolute;
  width:100px;
  height:100px;
  display:flex;
  top:0;
  align-items:center;
 }
.top_logo_span {
  width:100%;text-align:center
 }
.top_logo_filler {
  width:100px !important;
  height:50px;
  float:left;
  flex-shrink:0;
  display:flex;
 }
.top_logo_filler2 {
  width:100px;
  height:50px;
  float:left
 }
.top_logo{
  max-height:84px;
  max-width:84px;
  /*position:fixed;top:9px;left:16px;z-index:1033*/
}
.loading_banner {
  display: flex;
  position: fixed;
  z-index:1033;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  padding-top: 50px;
  opacity: 0;
}
.loading_banner .background-image {
  position: absolute;
  background-image: url(/templates/_default/images/planetwheel.gif);
  opacity: 0.5;
  background-position-x: center;
  background-position-y: center;
  background-repeat: no-repeat;
  top: 50px;
  left: 0;
  bottom: 0;
  right: 0;
}
.two-rows-top-menu .loading_banner {
  padding-top:100px;
}
.in-iframe .loading_banner {
  padding-top:100px;
}
.two-rows-top-menu .loading_banner .background-image {
  top:100px;
}
.in-iframe .loading_banner .background-image {
  top:100px;
}
.loading_banner h1 {
  width: 100%;
  text-align:center;
  align-self: center;
  z-index:1;
}
i.icon-repeat.ui-state-active{
  background:transparent;
 }


.white, .white a {
  color: #fff;
}


input:focus:invalid,
textarea:focus:invalid,
select:focus:invalid {
  color: #b94a48;
  border-color: #ee5f5b;
}

input:focus:invalid:focus,
textarea:focus:invalid:focus,
select:focus:invalid:focus {
  border-color: #e9322d;
  -webkit-box-shadow: 0 0 6px #f8b9b7;
     -moz-box-shadow: 0 0 6px #f8b9b7;
          box-shadow: 0 0 6px #f8b9b7;
}
.navbar-brand img{
  height:42px;
  margin-top: -10px;
  padding-right: 8px;
  margin-bottom: -6px;
}
.top_menu_cfio {
  margin-top: auto;
  margin-bottom: auto;
  padding-top:inherit;
  padding-bottom:inherit;
}
.top_menu_photo_container {
  width:38px;
  height:38px;
}
.top_menu_photo {
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-block;
  background-position: center;
  cursor:pointer;
  position:absolute;
  margin-left:-37px;
  top:6px;
}
.top_menu_supervisor_wrapper {
  direction: rtl;
  opacity:0.8;
  font-size:0.8em;
  z-index:3;
}
.top_menu_supervisor {
  position:absolute;
  top:2px;
}
.top_menu_user_role_wrapper{
  direction: rtl;
  opacity: 0.8;
  font-size: 0.8em;
}
.top_menu_user_role {
  position: absolute;
  top: 32px;
}
.top_menu_balance {
  height : 38px;
  margin-top:-5px;
  line-height: 22px;
}
.user_top_menu {
  display: none;
  position: absolute;
  right: 4px;
  top: 47px;
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 0 20px;
  -webkit-box-shadow: 10px 9px 20px 0px rgba(0,0,0,0.49);
  -moz-box-shadow: 10px 9px 20px 0px rgba(0,0,0,0.49);
  box-shadow: 10px 9px 20px 0px rgba(0,0,0,0.49);
}
.user_top_menu_photo {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-block;
  background-position: center;
  cursor:pointer;
  margin-left:-37px;
  top:5px;
}
.navbar-inverse .navbar-text .user_top_menu a{
 color:black;
}
.input-group-btn>.btn {
 height:34px;
}
.badge.badge-danger {
  background-color:#ab1616;
}
a.anchor {
  display: block;
  position: relative;
  top: -200px;
  visibility: hidden;
}



/* СТРАНИЦА ПОИСКА */
.search_results button.expand_price_row {
 font-weight:bold;
}
table.search_results td.price {
  text-align:right;
}
table.search_results td.kol {
  text-align:right;
}
table.search_results {
  height: 1px;
  font-size: .9rem;
}
table.table tbody tr.present.row_opened>td{
  background-color:inherit;
 }
table.table tbody tr.partner_present>td{
  font-weight:bold;
 }
table.search_results .kol{
  text-wrap:nowrap;
 }
table.search_results tr.lastGroupRow{
  border-bottom:3px solid #dee2e6;
}
table.search_results tbody.bottom_row_spacer>tr:hover{
  background-color:inherit !important;
}
table.search_results td.name > div{
  flex-flow:column;
}
table.search_results .price_striked {
  display:inline-block;
}
table.search_results .price_striked .line{
  position: relative;
  z-index: 1;
  margin-left: -10%;
  top: .8rem;
  width: 100%;
  height: 1px;
  transform: rotate(-7deg);
  -ms-transform: rotate(-7deg); /* IE 9 */
  -webkit-transform: rotate(-7deg); /* Safari and Chrome */
}
table.search_results tr.no_top_border td{
  border-top:none !important;
}

@media only screen and (max-width: 992px) {
  table.search_results{
    font-size: .8rem;
  }
  table.search_results td.name > div {
    font-size: .75rem;
    word-break: break-all;
  }
  table.search_results td.name > div div:nth-of-type(1){
    font-size: .6rem;
  }
  table.search_results h3 {
    font-size: 1.2rem;
  }
  table.search_results .form-control {
    font-size: .8rem;
    height: calc(2.0rem + 2px);
  }
  table.search_results .price_striked .line{
    top: .6rem;
  }
}
table.search_results .check_in_cart {
  margin-left:auto;
}
table.search_results .btn.btn-sm.basket:focus {
  outline:none;
 }
table.search_results .group_row{
  cursor:pointer;
}
table.search_results .group_row.row_opened{
  border-bottom:inherit;
}
table.search_results .table-striped tbody tr.group_row td{
  background-color:inherit;
}
.search_detail_info .image_frame{
 display:block;
 height: 128px;
 width: 182px;
 text-align: center;
 position: relative;
 vertical-align: middle; 
 padding:4px;
 border: 1px solid rgba(0,0,0,0.2);
 box-shadow: 0 1px 3px rgba(0,0,0,0.1);
 text-decoration:none;
 font-size:0;
 white-space: nowrap;
 float:left;
 margin-right:8px;
}
.search_detail_info .image_frame span:nth-of-type(1){
  display: inline-block;
  height: 100%;
  vertical-align: middle;
 }
.search_detail_info .image_frame img{
  max-width: 172px;
  max-height: 120px;
  text-align: center;
  vertical-align: middle; 
  border: 0;
  margin:0;
}
.search_detail_info .search_images{
  position: relative;
  top: -22px;
}
.search_detail_info .version_name{
 display:block;
 position:absolute;
 left:11px;
 top:11px;
 width:176px;
 text-align:right;
 font-size:11px;
 color:gray;
 line-height:11px;
 height:18px;
 overflow:hidden;
}
table.search_results .part_info_down,
table.search_results .catalog_info_down {
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  cursor:help;
  display: inline-block;
  line-height: 1em;
 }
table.search_results .part_info,
table.search_results .catalog_info {
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  cursor:help;
 }
table.search_results .price_explain .rub{
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  cursor:help;
 }
table.search_results td.proizvod{
 font-weight:bold;
}
table.search_results td.nd {
 white-space:nowrap;
 font-weight:bold;
}
table.search_results td.not_from_global{
 font-style:italic;
 font-weight:normal;
}
table.search_results .ui-tooltip {
  z-index: 11;
}
table.search_results .cart-add .input-group-sm .btn, 
table.search_results .cart-add .input-group-sm .form-control
{
  padding: 0.2rem 0.25rem;
  font-size: 0.9rem;
  line-height: 1.0;
  border-radius: 0.2rem
}
/*
table.search_results .input-group-sm > .form-control:not(textarea){
  height: calc(1.0em + 0.5rem + 2px);
}*/
.search_selectors {
  position:sticky;
  height:56px;
  margin-bottom:-1px;
  top:50px;
  z-index:11;
  white-space:nowrap;
}
table.search_results thead.thead-sticky th {
  top:105px !important;
}

.two-rows-top-menu .search_selectors {
  top:100px;
}
.in-iframe .search_selectors, 
.in-iframe .two-rows-top-menu .search_selectors {
  top:0px;
}
.two-rows-top-menu table.search_results thead.thead-sticky th {
  top:155px !important;
}
.in-iframe table.search_results thead.thead-sticky th {
  top:0px !important;
}



a {
 text-decoration:underline;
}
a.btn, a.list-group-item, a.dropdown-toggle, a.label, a.badge, a.navbar-brand, a.no-underline, a.dropdown-item, a.nav-link {
 text-decoration:none;
}
.mw-20px {
 min-width:20px;
 text-align: center;
}





.has-feedback {
  position: relative;
}
.has-feedback .form-control {
  padding-right: 34px;
}
.form-control-feedback {
  position: absolute;
  top: 2px;
  right: 0px;
  z-index: 2;
  display: block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  pointer-events: none;
}
.input-lg + .form-control-feedback,
.input-group-lg + .form-control-feedback,
.form-group-lg .form-control + .form-control-feedback {
  width: 46px;
  height: 46px;
  line-height: 46px;
}
.input-sm + .form-control-feedback,
.input-group-sm + .form-control-feedback,
.form-group-sm .form-control + .form-control-feedback {
  width: 30px;
  height: 30px;
  line-height: 30px;
}
.has-success .help-block,
.has-success .control-label,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline,
.has-success.radio label,
.has-success.checkbox label,
.has-success.radio-inline label,
.has-success.checkbox-inline label {
  color: #3c763d;
}
.has-success .form-control {
  border-color: #3c763d;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.has-success .form-control:focus {
  border-color: #2b542c;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
}
.has-success .input-group-addon {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #3c763d;
}
.has-success .form-control-feedback {
  color: #3c763d;
}
.has-warning .help-block,
.has-warning .control-label,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline,
.has-warning.radio label,
.has-warning.checkbox label,
.has-warning.radio-inline label,
.has-warning.checkbox-inline label {
  color: #8a6d3b;
}
.has-warning .form-control {
  border-color: #8a6d3b;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.has-warning .form-control:focus {
  border-color: #66512c;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
}
.has-warning .input-group-addon {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #8a6d3b;
}
.has-warning .form-control-feedback {
  color: #8a6d3b;
}
.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error.radio label,
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label {
  color: #a94442;
}
.has-error .form-control {
  border-color: #a94442;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.has-error .form-control:focus {
  border-color: #843534;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
}
.has-error .input-group-addon {
  color: #a94442;
  background-color: #f2dede;
  border-color: #a94442;
}
.has-error .form-control-feedback {
  color: #a94442;
}
.has-feedback label ~ .form-control-feedback {
  top: 25px;
}
.has-feedback label.sr-only ~ .form-control-feedback {
  top: 0;
}
#left_menu.menu_hidden .card-body{
  opacity:0.5;
  transition: opacity 1s ease-in-out;
  -moz-transition:opacity 1s ease-in-out;
  -webkit-transition:opacity 1s ease-in-out;
}
#left_menu.menu_hidden .card-body:hover{
  opacity:1.0;
  transition: opacity .3s ease-in-out;
  -moz-transition:opacity .3s ease-in-out;
  -webkit-transition:opacity .3s ease-in-out;
}
#left_menu.menu_hidden .list-group-item .badge,
#left_menu.menu_hidden .list-group-item .menu_item_text,
#left_menu.menu_hidden h5
{
  display:none;
}
#left_menu.menu_hidden {
  position:absolute;
  width:24px;
}
.ui-autocomplete-loading {
  background: white url("../images/ui-anim_basic_16x16.gif") right center no-repeat;
}
#content-main {
  position: relative;
}

#btn_history {
  margin-left: -22px;
  position: relative;
  top: 10px;
  padding-right: 6px;
  cursor: pointer;
  opacity: .5; 
  z-index: 2;
  width: 20px;
  height:20px;
}
.search-form-with-history #searchbox {
  padding-right:26px;
}
/*
#searchbox{
  flex-grow:0;
  transition: all 0.2s ease-in-out;
}
#searchbox:focus{
  flex-grow:1;
}
*/
#navbar1 {
  z-index:1031;
  height:50px !important;
}
#navbar2 {
  margin-top:50px;
  min-height:50px;
}

.user_table_avatar{
  background-image:url(/public/images/avatar_24x24.png);
  border-radius: 50%;
  background-position: center;
  width:24px;
  height:24px;
  display:inline-block;
  margin-bottom:-6px;
}
.ui-widget-overlay {
  opacity: 0.50;
  background-color:black;
}
.svg_drop-shadow {
    -webkit-filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5));
    filter: url(#svg_drop-shadow);
    -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=1, OffY=1, Color='#444')";
    filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=1, OffY=1, Color='#444')";
}

table[data-sortable].table th:not([data-sortable="false"]) {
  padding-right: 13px !important;
}
table[data-sortable].table th:not([data-sortable="false"]):after {
 position:relative;
 left:13px;
 margin-left:-13px;
}
table[data-sortable].table th[data-sortable="false"]:after {
 display:none;
}

table[data-sortable].table th[data-sorted-direction="ascending"]:after {
  border-bottom-color:initial;
 }
table[data-sortable].table th[data-sorted-direction="descending"]:after {
  border-top-color:initial;
 }
caption {
  caption-side:top !important;
}


.price_explain td:nth-of-type(1){
  font-weight:bold;
}

#menu_scroll_helper {
  left:0px;
  transform: rotate(-90deg);
  transform-origin:left top;
  cursor:pointer;
  border-top-left-radius:0;
  border-top-right-radius:0;
  font-size:0.7rem;
  opacity:0.4;
  z-index:21;
  position:fixed;
  line-height:0.7rem;
  transition: opacity 0.15s ease-in-out;
  -webkit-backface-visibility: hidden;
}

#menu_scroll_helper:hover {
  opacity:1;
}

/*
#search_form>div {
  outline: 100vmax rgba(0,0,0, 0) solid;
  -webkit-transition: 1s all;
  transition: 1s all;
}

#search_form>div:focus-within {
  outline: 100vmax rgba(0,0,0, .4) solid;
}
*/

thead.thead-sticky th {
  top: 50px;
}
.two-rows-top-menu thead.thead-sticky th {
  top: 100px;
}
.in-iframe thead.thead-sticky th {
  top: 0px !important;
}
.main-center-container {
  padding-top:66px;
  flex:1;
  margin-bottom: 0 !important;
}
.two-rows-top-menu >.main-center-container {
  padding-top:116px;
}
.in-iframe >.main-center-container {
  padding-top:16px;
}

#leftMenuAccordion .collapse .list-group-item:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
#leftMenuAccordion .collapse .list-group-item:last-child {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
#left_menu_toggle {
  font-size:0.9rem;
  z-index: 99;
  left: -4px;
  top: 50px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  position:initial;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.menu_hidden #left_menu_toggle {
  width: 32px;
  position: fixed;
  border-bottom-right-radius: 0.2rem;
  border-top-left-radius: 0;
}
.menu_shown #left_menu_toggle {
  margin-bottom:-1px;
}
.two-rows-top-menu #left_menu_toggle {
  top: 100px;
}
#navbar2 .dropdown:hover>.dropdown-menu {
  display: block;
}
#navbar2 .dropdown-menu {
  margin-top:0;
}
#navbar1 >div:nth-of-type(1){
  overflow:hidden;
  height:50px;
}
.top_menu_brand {
  overflow:hidden;
}
footer {
  overflow:hidden;
  width:100%;
  align-self: flex-end;
}
.footer-nav .nav-link:nth-child(1){
  padding-left: 0 !important;
}
.text-word-wrap {
  word-wrap: break-word !important;
}
.top_menu_icon {
  max-height:18px;
  border-radius:4px;
}
body.in-iframe{
 background-color:transparent;
 padding: 1px;
}

#navbar2 .dropdown-submenu>a:after {
  display: none;
  content : none;
} 
#navbar2 .dropdown-submenu>a:before {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color:#cccccc;
  margin-top: 9px;
  margin-right: -12px;
}



/* DROPDOWN SUBMENU HACK  (http://stackoverflow.com/questions/18023493/bootstrap-3-dropdown-sub-menu-missing) */
@media (min-width: 992px) {
/*
.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 6px;
    border-radius:0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
    display:block;
}
/*
.dropdown-submenu:hover>a:after {
    border-left-color:#ffffff;
}
*
.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;
}
/* DROPDOWN SUBMENU HACK */

.dropdown-menu-overflow-wrapper {
  position:absolute;
  display:none;
}

.navbar-expand-lg .navbar-nav .dropdown-menu-overflow-wrapper > .dropdown-menu {
  position: static;
  max-height: 80vh;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  direction: rtl;
}
.navbar-expand-lg .navbar-nav .dropdown-menu-overflow-wrapper .dropdown-menu .dropdown-item {
  direction: ltr;
}

#navbar2 .dropdown-menu-overflow-wrapper.show{
  display: block;
}
#navbar2 .dropdown-menu-overflow-wrapper >.dropdown-menu {
  /*display: block;*/
}
.dropdown-menu-overflow-wrapper .dropdown-submenu {
  position:static;
}
/* Заменил JS
.dropdown-submenu >.dropdown-menu-overflow-wrapper{
    margin-top: -2rem;
    left: 100%;
    left: calc(100% - 0.8rem);
}
*/
}

@media (max-width: 992px) {
  #navbar2 .dropdown-item.dropdown-toggle.has_link:after {
    display:none;
  }
}
#site-bg {
  background-size:cover;
  background-position:center center;
  top: 50px;
  left: 0;
  bottom: 0;
  right: 0;
  position: fixed;
  z-index: -1;   
}
.two-rows-top-menu #site-bg {
  top: 100px;
}
.in-iframe #site-bg {
  top: 0px;
}
.ui-menu-item-wrapper.ui-state-active {
  margin:0 !important;
}
.treeselect-title {
  color:#555;
}
.in-iframe .row {
  margin-right:0;
  margin-left:0;
}
.chzntree-container label{
  margin-bottom:0;
}
.live-timer {
  min-width:56px;
  display:inline-block;
  white-space:nowrap;
}
.bx-wrapper .bx-controls-direction a {
  z-index: 999 !important;
}
.mceFull {
  min-height:435px;
}

#new_user button#check_email{
  width:130px;
}
#new_user button#check_email .fa-check-circle {
  color:green;
 }
#new_user button#check_email .fa-minus-circle {
  color:red;
 }
#new_user .error-text {
  color:red;
  font-size:0.8em;
}
.ui-tooltip.new_user  {
   padding: 5px;
   font-size: 11px;
 }
#login_form.form-control-feedback {
  z-index:3;
}
.blur {
  -webkit-filter: blur(3px);
  -moz-filter: blur(3px);
  filter: blur(3px);
}
/* disable arrows on type=number fields */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}
.import_state_label_2 {
  background-color: var(--warning);
}
.import_state_label_3 {
  background-color: var(--success);
}
.import_state_label_4 {
  background-color: var(--danger);
}

