html,
body {
    height: 100%;
}

.horizontal-scroll {
  /* Добавляем flex-контейнер, чтобы содержимое было в строчку */
  display: flex;
  /* Позволяем прокрутку по горизонтали, скрывая контент за пределами блока */
  overflow-x: auto;
  /* Убираем вертикальную прокрутку */
  overflow-y: hidden;
  /* Поддержка прокрутки на мобильных устройствах */
  -webkit-overflow-scrolling: touch;
}

.drop-block {
  margin-top: 20px;
  margin-bottom: 20px;
}

.p-2 {
  padding: 20px;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-1 {
  margin-bottom: 10px;
}

.my-1 {
  margin: 10px;
}

.ml-1 {
  margin-left: 10px;
}

.ml-5 {
  margin-left: 50px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.round-image {
  border-radius: 48%;
}

.my-shadow {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.my-caret {
  color: #4890d9;
  font-style: italic;
  font-size: small;
}

.dropdown-btn:hover {
  cursor: pointer;
}

.hide-block {
  display: none;
}

.wrap {
    /* min-height: 100%; */
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 120px;
}

.wrap > .container {
    padding: 10px 15px 20px;
}

.row-hover:hover {
  background-color: #f0f1b67e !important;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.grid-view td {
  white-space:normal;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}
/*==================================*/
table td, th {
   text-align: center;
}
nav{
    background-color: #781901!important;
    height: 65px;
}
.navbar-brand img{
    display: inline;
    margin-right: 30px;
}
.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .btn-link{
  color: white;
}
.navbar-inverse{
  border: none!important;
}
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
  background-color: #5e1402;
}
.navbar-nav > li > a {
    padding-top: 22px!important;
    padding-bottom: 22px!important;
}
.nav li > form > button.logout {
    padding: 22px!important;
}
.breadcrumb{
    background: none!important;
    color: white;
    border-radius: 0!important;
    border-bottom: 1px solid #b3857b;
    padding-bottom: 15px;
}
.breadcrumb a{
  color: white;
}
.breadcrumb .active{
  color: #b3857b;
}
.wrap.back {
    background-color: #6e1600!important;
    color: white;
    overflow: hidden;
    padding-bottom: 10px!important;
    margin-bottom: 10px!important;
}
.wrap.back .col-md-3 div{
  padding: 20px;
  overflow: hidden;
}
.wrap.back .col-md-3 div img{
  float: right;
}
.color_c2c2c2{
    background: #c2c2c2;
}
.color_86ad45{
    background: #86ad45;
}
.color_4890d9{
    background: #4890d9;
}
.color_bd4848{
    background: #bd4848;
}
span.toggle{
    cursor: pointer;
    color: #b3857b;
}
span.toggle-settings{
  cursor: pointer;
  color: #b3857b;
}
.block-inputs {
  position: absolute;
  background-color: white;
  border: 1px solid #ddd;
  padding: 10px;
  z-index: 9999; /* Положение над остальными элементами */
}
.two-rows-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.two-rows-list li {
  width: 50%; /* Половина ширины контейнера для двух элементов в ряд */
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid #ccc;
}
/* tbody:before {
    content: "-";
    display: block;
    line-height: 10px;
    color: transparent;
} */
.addon_style{
  color: white;
}
table thead{
    background-color: #781901!important;
    color: white!important;
    border: none;
}
table thead a{
    color: white!important;
}
thead tr:first-child td:first-child,thead tr:first-child th:first-child { border-top-left-radius: 10px; }
thead tr:first-child td:last-child, thead tr:first-child th:last-child { border-top-right-radius: 10px; }
thead tr:last-child td:first-child, thead tr:last-child th:first-child { border-bottom-left-radius: 10px; }
thead tr:last-child td:last-child, thead tr:last-child th:last-child { border-bottom-right-radius: 10px; }

.addon_style tbody tr td:first-child,.addon_style tbody tr th:first-child {border-top-left-radius: 15px;border-bottom-left-radius: 15px; }
.addon_style tbody tr td:last-child, .addon_style tbody tr th:last-child { border-top-right-radius: 10px;border-bottom-right-radius: 10px; }
/* .addon_style tbody tr:last-child td:first-child, .addon_style tbody tr:last-child th:first-child { border-bottom-left-radius: 10px;border-top-left-radius: 10px; }
.addon_style tbody tr:last-child td:last-child, .addon_style tbodytr:last-child th:last-child { border-bottom-right-radius: 10px;border-top-right-radius: 10px; } */
.table thead th, .table thead td{
  border-bottom: 1px solid #781901!important;
  border-right: 1px solid black;

}
.addon_style tbody th,  .addon_style tbody td{
  border-right: 1px solid #e3e3e3;
}
tr.filters{
  background-color: #6e1600;
  color: black;
}
.table thead .filters th, .table thead .filters td{
  border-right: 1px solid #6e1600!important;
  border-bottom: none!important;
}
.table thead .filters th, .table thead td:last-child, .table thead th:last-child,  .addon_style tbody th:last-child,  .addon_style tbody td:last-child {
  border-right: none!important;
}
.addon_style tbody td{
  border-top: 20px solid white!important;
}
.glyphicon-remove{

  padding: 3px;
  border: 1px solid;
}
table .glyphicon-remove{
    background: #d9534f
}
.table td{
  position: relative;
}
.addon_style .glyphicon-remove{
  position: absolute;
  right: -30px;
  top: 15px;
  border-radius: 50px;
  color: #d9534f;
  background: none;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td{
  vertical-align: middle!important;
}
/* .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td{
  border-top: none!important;
} */
.pagination > li > a, .pagination > li > span{
  background-color: #f0f0f0!important;
  border: none!important;
  border-radius: 20px;
  margin-right: 5px;
  color: #c2c2c2;
}
.pagination > li:first-child > a, .pagination > li:first-child > span,
.pagination > li:last-child > a, .pagination > li:last-child > span{
  border-radius: 20px;
  margin-right: 5px;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus{
  background-color: #6e1600!important;
  border-radius: 20px;
}
.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus{
  color: #6e1600!important;
}
.summary {
    margin-bottom: 20px;
}
thead input{
  text-align: center;
}
tbody td{
  cursor: pointer;
}
.form-group textarea{
    height: 36px;
}
.empty {
    color: black;
}
