html {
  position: relative;
  min-height: 100%;
}
body {
  margin: 0;
  border-width: 0;
  margin-top: 51px;
  margin-bottom: 21px;
}
.invisible {
  visibility: hidden;
  display: none;
}

body > .footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 21px;
  background-color: #f5f5f5;
  border-top: 1px solid #e7e7e7;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.15),0 -1px 5px rgba(0,0,0,.075)
}
body > .content {
/*
  padding: 10px;
*/
}

/*
#statistics {
  position: absolute;
  width: 100%;
  top: 42px;
  bottom: 21px;
}
*/

.tab-content > div {
  padding: 10px;
}
body .panel:last-child {
  margin: 0;
}
.tab-content > .tab-pane > .row {
  margin-left: 0;
  margin-right: 0;
}
.tab-content > .tab-pane > .row > div {
  padding-left: 0;
  padding-right: 0;
}
.dropdown-menu.open {
  max-width: -webkit-fill-available;
  max-width: -moz-available;
}
.anchor {
  position: absolute;
  z-index: -100;
  margin-top: -61px;
  left: 0;
  width: 0;
  height: 0;
}
.sub-nav {
  padding-inline-start: 30px;
}
.sub-nav > li {
  list-style-type: none;
}
.sub-anchor::before {
  display: block;
  margin: -55px 0 0;
  height: 55px;
  content: '';
}
form textarea {
  resize: vertical;
}
table .alert {
  margin: 0;
}
table th {
  font-weight: inherit;
}

form .row .priority {
  margin-bottom: 10px;
}
form .row.services .priority {
  margin-left: 14%;
}
form .row.services .priority .dropdown-menu ul li.disabled .text {
  text-decoration: line-through;
}

#login form {
  margin-left: 0;
  margin-right: 0;
  border: 0 solid transparent;
  min-width: 230px;
}
.navbar-header .nav > li > .btn-group > a,
.navbar-header .nav > li > a {
  color: #777;
  margin-left: 15px;
}
.navbar-header .nav > li > .btn-group {
  border-radius: 0px;
}
.navbar-header .nav > li > .btn-group > a,
.navbar-header .nav > li > .btn-group > a,
.navbar-header .nav > li > .btn-group > a:hover,
.navbar-header .nav > li > .btn-group > a:focus,
.navbar-header .nav > li > .btn-group.open > a,
.navbar-header .nav > li > .btn-group.open > a,
.navbar-header .nav > li > .btn-group.open > a:hover,
.navbar-header .nav > li > .btn-group.open > a:focus {
  border-width: 0px;
  border-radius: 0px;
}
.navbar-header .nav > li > .btn-group > a:hover,
.navbar-header .nav > li > .btn-group > a:focus,
.navbar-header .nav > li > a:hover,
.navbar-header .nav > li > a:focus {
  color: #333;
  text-decoration: none;
  background-color: #eee;
  box-shadow: none;
  -webkit-box-shadow: none;
}
.navbar-header .nav > li > .btn-group.open .dropdown-toggle {
  background-color: #ccc;
}
.navbar-header .nav > li > .btn-group > a.btn:not(first) {
  margin-left: 0;
}
/*.navbar-header .nav > li > .btn-group > a.btn ~ a.dropdown-toggle {
  padding-left: 0;
}
*/
body.mobile nav.navbar div.navbar-collapse,
body.mobile nav.navbar div.navbar-collapse ul {
  width: 100%
}
nav.navbar .navbar-header a.navbar-brand {
  padding-top: 10px;
  padding-bottom: 10px;
}
nav.navbar .navbar-header a.navbar-brand img {
  height: 100%;
}
nav.navbar a {
  padding-top: 15px;
  padding-bottom: 15px;
}
.nav a {
  outline: none;
}
#framecontainer .tab-content {
  top: 42px;
  bottom: 0;
}
#framecontainer,
#framecontainer .tab-content,
#framecontainer .tab-content .tab-pane {
  width: 100%;
  height: 100%;
}
#framecontainer .tab-content #home.tab-pane,
#framecontainer .tab-content #settings.tab-pane {
  padding: 10px;
}

textarea.error:focus {
  border-color: red;
}
textarea.success:focus {
  border-color: green;
}

table.table {
  overflow-y: hidden;
}

table.table tbody tr.selected td {
  background-color: #fec;
}
table.table tbody tr td ul {
  padding-left: 20px;
  margin-bottom: 0;
}
table.table tbody tr td ul ul {
  padding-left: 10px;
}
.disabled {
  color: lightgray;
}
.bootstrap-select.btn-group .btn.disabled .filter-option,
.bootstrap-select .btn.disabled .filter-option-inner-inner {
  color: #212529;
}
.panel-title h1,
.panel-title h2,
.panel-title h3,
.panel-title h4,
.panel-title h5 {
  margin:0;
  padding:0;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
padding-right: 5px;
padding-left: 5px;
}
div.modal div.form-group {
padding-right: 15px;
padding-left: 15px;
}

.btn:focus {
  outline: none !important;
}

form .form-group .row {
  margin: 0;
}
form .form-group .bootstrap-duallistbox-container .box1 {
  padding-left: 0;
}
form .form-group .bootstrap-duallistbox-container .box2 {
  padding-right: 0;
}

.panel.main-panel form.form-horizontal .form-group {
  margin-right: 0;
  margin-left: 0;
}

/***********************************************************************
 * Сообщение об ошибке
 **********************************************************************/
.errorPlace {
  position: fixed;
  bottom: 10px;
  right: 10px;
  max-width: 95%;
  z-index: 1060;
}



/***********************************************************************
 * Rating font
 **********************************************************************/
@font-face {
  font-family: 'QuickQ Smiles';
  src: url('/webengine/resource/font/QuickQSmiles.ttf');
}
.quickq {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'QuickQ Smiles';
  font-style: normal;
  font-weight: normal;
  line-height: 1;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.quickq-rating1:before {
  content: "1";
}
.quickq-rating1-circle:before {
  content: "a";
}
.quickq-rating1-dark:before {
  content: "A";
}
.quickq-rating2:before {
  content: "2";
}
.quickq-rating2-circle:before {
  content: "b";
}
.quickq-rating2-dark:before {
  content: "B";
}
.quickq-rating3:before {
  content: "3";
}
.quickq-rating3-circle:before {
  content: "c";
}
.quickq-rating3-dark:before {
  content: "C";
}
.quickq-rating4:before {
  content: "4";
}
.quickq-rating4-circle:before {
  content: "d";
}
.quickq-rating4-dark:before {
  content: "D";
}
.quickq-rating5:before {
  content: "5";
}
.quickq-rating5-circle:before {
  content: "e";
}
.quickq-rating5-dark:before {
  content: "E";
}

#sorting_list > .priority:first-child:nth-last-child(1) button.btn-link.move {
  display: none;
}
#protocol+button {
  box-shadow: none;
}
#print_preview {
  position: relative;
  transition: filter 0.3s ease-in-out;
}
#img_alt {
  display: flex;
  align-items: center;
  justify-content: center;
  display: -webkit-flex;
  -webkit-align-items: center;
  -webkit-justify-content: center;
  position: absolute;
  top: 0;
  height: 300px;
  width: 100%;
  padding: 0;
  margin: 0;
  border-width: 0;
  color: red;
  font-size: 1.7rem;
  text-shadow: 0 0 3px white;
  /* background: rgba(0, 0, 0, 0.1); */
  /* margin: auto; */
}
#printer_service ~ .dropdown-menu li small {
  background: #f0ad4e;
  color: white;
  font-weight: bold;
  margin-left: 5px;
  padding: 1px 5px 2px;
  border-radius: 3px;
  font-size: 10.5px;
}
#preview_error {
  color: red;
  font-weight: bold;

}
.md-popover > .popover {
  min-width: 40vw;
}
.popover p {
  font-size: 1.2rem;
}
.popover p > mono {
  font-family: monospace;
}
@media (min-width: 992px) {
  div.modal div.col-md-5.nopadding-x {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
}

/* serviceGroup */
/* #serviceGroup .modal-dialog {
  width: 80vw;
} */
#serviceGroup .help-block {
  font-size: 12px;
}
.mt {
  margin-top: 10px;
}
.mb {
  margin-bottom: 10px;
}
pre {
  border-radius: 0;
  padding: 0;
  margin: 0;
}
@media (min-width: 1200px) {
  .modal-xl {
      width: 1100px;
  }
}
@media (min-width: 1600px) {
  .modal-xl {
      width: 1500px;
  }
}

pre code {
  height: 600px;
  overflow-y: auto;
}
@media (max-width: 440px) {
  .nav>li>a, nav.navbar a {
    padding: 15px 3px;
  }
}
@media (max-width: 798px) {
  .nav>li>a {
    padding: 15px 10px;
  }
}
li.template_image {
  list-style-type: none;
  list-style-type: none;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  webkit-align-items: center;
}
li.template_image > img {
  display:inline;
  max-height:50px;
}
li.template_image > .template_image_help {
  margin: 0 10px;
  color: grey;
}
li.template_image > .template_image_help > .template_image_help_text {
  margin: 0 5px;
  color: green;
}
li.template_image > .template_image_remove {
  opacity: 0.6;
}
.bootstrap-table.fullscreen {
  overflow-y: auto;
  padding: 15px;
  z-index: 1030;
}
.close:active {
  opacity: .2;
}
.bootstrap-table table thead {
  font-weight: 600;
  font-size: 98%;
}
