html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  /*margin-bottom: 300px;*/
}

@media (min-width: 1200px) {
  .container {
    max-width: 1440px;
    width: 90%;
  }
}

a, a:hover {
  color: #560000;
}

/*
.text-indent-1{
    text-indent: 1.5em;
}*/
/*************/

.bootbox .bootbox-body {
  padding: 10px;
}

.modal-content {
  border: 2px solid #580000 !important;
  border-radius: 0 !important;
}

.bootbox.modal {
  text-align: center;
}

.bootbox .modal-header h5,
.modal .modal-title {
  text-align: center;
  width: 100%;
}

.bootbox.modal-dialog {
  flex-grow: 1;
}

.modal-open .bootbox.modal {
  display: flex !important;
  align-items: center !important;
}

/*************/

.nounderline {
  text-decoration: none !important
}

.form-control {
  border-radius: 0;
}

.bootbox-body form textarea {
  height: 150px !important;
}

.modal-footer {
  justify-content: space-between !important;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #ced4da;
  outline: 0;
  box-shadow: none;
}

.custom-control-input:focus ~ .custom-control-label::before,
.btn.focus, .btn:focus,
.custom-file-input:focus ~ .custom-file-label {
  box-shadow: none;
}

.custom-file-input ~ .custom-file-label::after {
  content: "Обзор";
}

label.required:after {
  color: red;
  content: " *";
}

/********************************************************/
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,
.custom-radio .custom-control-input:checked ~ .custom-control-label::before,
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #8f0202;
  border-color: #8f0202;
}

.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: #8f0202;
}

.form-group > label {
  font-weight: bold;
}

/********************************************************/
.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: calc(2.25rem + 2px) !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 2.25rem !important;
  padding-left: 16px;
}

.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
  border: 1px solid #ced4da !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #f5f5f5;
  border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single {
  font-size: 16px;
}

.select2-container--default .select2-selection--single .select2-results__option {
  font-size: 16px;
  padding-left: 16px;
}

.select2-container--default .select2-search--inline .select2-search__field {
  font-size: 16px;
  margin-left: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #6c757d;
}

/********************************************************/

.header .top {
  background-color: #fff;
  padding: 10px 0px;
}

.header-logo {
  padding-right: 10px;
}

.header-wannayou {
  padding-right: 10px;
  display: inline-block;
}

.header-wannayou span {
  font-family: 'Book Antiqua';
  font-size: 41px;
  line-height: 50px;
  color: #400000;
}

.header-wannayou a:hover {
  text-decoration: none;
}

.header-desc {
  font-size: 14px;
  font-weight: bold;
  line-height: 18px;
  margin-top: 5px;
  color: #3a3a3a;
}

.header-logo,
.header-wannayou,
.header-desc {
  display: inline-block;
  float: left;
}

.header-right {
  margin-top: 8px;
}

.header .top .btn-white img {
  padding-right: 5px;
}

.header #notification-link,
.header #chat-link,
.header .user-lk {
  font-size: 20px;
  margin-right: 10px;
  margin-top: 5px;
  float: left;
}

.header #notification-link.has-notification {
  display: inline-block;
}

.menu-top {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#330000+0,590000+38,590000+63,4a0000+100 */
  background: #330000; /* Old browsers */
  background: -moz-linear-gradient(top, #330000 0%, #590000 38%, #590000 63%, #4a0000 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #330000 0%, #590000 38%, #590000 63%, #4a0000 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #330000 0%, #590000 38%, #590000 63%, #4a0000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#330000', endColorstr='#4a0000', GradientType=0); /* IE6-9 */
  font-size: 14px;
  border-top: solid 1px #000;
  border-bottom: solid 1px #000;
}

.menu-top.navbar-light .navbar-nav .nav-link,
.menu-top.navbar-light .navbar-nav .nav-link:hover {
  color: #fff;
}

.menu-top.navbar-light .navbar-nav .nav-link:hover {
  text-decoration: underline;
}

.menu-top.navbar-light .navbar-toggler {
  color: rgba(255, 255, 255, 1);
  border-color: rgb(255, 255, 255);
}

.menu-top.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
}

/********************************************************/

.footer {
  margin-top: 100px;
  background-color: #030000;
  padding: 20px 0;
  /*position: absolute;
  bottom: 0;*/
  width: 100%;
  height: 210px;
}

.dropdown-item:focus, .dropdown-item:hover {
  background: #400000 !important;
  color: #ffffff !important;
}

.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show > .btn-secondary.dropdown-toggle {
  background: #400000 !important;
}

.btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus, .show>.btn-secondary.dropdown-toggle:focus{
  box-shadow: 0 0 0 0 rgba(130,138,145,.0)  !important;
}


.footer,
.footer a {
  color: #585454;
  font-size: 18px;
}

.footer-big-size {
  font-size: 24px;
}

.footer-contact {
  font-weight: bold;
}

/********************************************************/
.btn-secondary {
  color: #560000;
  background-color: #ffffff;
  border-color: #560000;
}

.btn-secondary:hover,
.btn-secondary:not(:disabled):not(.disabled):active {
  color: #fff;
  background-color: #560000;
  border-color: #560000;
}

.btn.btn-radius {
  border-radius: 25px;
}

.btn-brown {
  background-color: #400000;
  padding: 6px 16px;
  color: #fff;
  margin: 0 auto;
}

.btn-sm.btn-brown {
  padding: .25rem .5rem
}

.btn-brown:hover,
.btn-brown:focus {
  color: #fff;
  background-color: #570000;
}

.btn-white {
  color: #333;
}

.btn-white:hover,
.btn-white:focus {
  box-shadow: none;
  color: #333;
}

/*Серая кнопка */
.btn-gray {
  background-color: #eee;
  padding: 6px 29px;
  color: #000;
}

.btn-gray.active {
  color: #fff;
  background-color: #570000;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #570000;
}

/********************************************************/
.index-form {
  background: url("/local/templates/main/img/index-form.jpg") 100% 0% no-repeat;
  background-size: cover;
  padding: 10px 20px;
}

.index-form .h1 {
  font-size: 36px;
  color: #fff;
  border-bottom: solid 1px #fff;
  padding-bottom: 15px;
}

.index-form .align-items-center {
  height: 500px;
}

.index-form .justify-content-sm-center {
  margin-bottom: 20px;
}

.index-form .btn-brown {
  min-width: 300px;
  margin-top: 20px;
}

/********************************************************/
.index-role {
  margin: 30px 0px;
}

.index-role h3 {
  color: #560000;
  font-weight: bold;
  margin-bottom: 10px;
}

.index-role .col-md-12 {
  margin-top: 20px;
}

.index-role .carousel a:hover {
  text-decoration: none;
}

.index-role .carousel a > div {
  background-color: #570000;
  width: 30px;
  height: 30px;
  padding: 5px;
  display: inline-block;
  border-radius: 100%;
}

.index-role .carousel a > div:hover {
  background-color: #3f0000;
}

.index-role .carousel-inner {
  margin-bottom: 20px;
}

.index-role .carousel-control-next-icon, .index-role .carousel-control-prev-icon {
  width: 22px;
  height: 15px;
}

/********************************************************/

.index-promo {
  border-top: solid 2px #560000;
  padding: 40px 0px;
}

.index-promo .col-md-4 {
  margin-bottom: 30px;
}

.index-promo .col-md-4 img {
  margin-bottom: 10px;
}


/********************************************************/
.index-map {
  position: relative;
}

.index-map .indexMapFilter {
  position: absolute;
  top: 0px;
  width: 100%;
  text-align: center;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
}

.index-map .indexMapFilter label {
  margin: 10px 10px 10px 0;
}

.index-map #indexMap {
  width: 100%;
  height: 80vh;
}

.index-map #indexMap .map-item h3 {
  text-align: center;
}

.index-map #indexMap .map-item img {
  max-width: 280px;
  margin-bottom: 5px;
}

.index-map #indexMap .map-item p {
  margin: 5px;
}

/********************************************************/
.index-box {
  padding: 40px 0px;
}

.index-box .h2,
.index-box-second .h2 {
  color: #560000;
}

.index-box .index-box-desc {
  text-align: justify;
  margin-bottom: 30px;
}

.index-box .col-sm-12 {
  margin-bottom: 10px;
}

.index-box-second .container {
  border: solid 2px #560000;
  padding: 20px 40px;
}

.index-box-second .container a {
  margin: 15px 0px;
}

.index-box-second .index-box-desc {
  text-align: justify;
}

@media (max-width: 992px) {
  /*body{
      margin-bottom: 330px;
  }
  .footer{
      height:290px;
  }*/
  .footer .row .col-md-6 {
    margin-bottom: 10px;
  }
}

/*
@media (max-width: 768px){
    body{
        margin-bottom: 350px;
    }
    .footer{
        height:350px;
    }
}
*/
@media (max-width: 420px) {
  #indexMap .map-item {
    max-width: 280px;
  }
}

.page_inner {
  margin-top: 30px;
  padding-bottom: 30px;
}

.bx-session-message {
  background-color: #590000 !important;
  border: 1px solid #590000 !important;
  color: #fff !important;
}

/*
.modal-header .close{
    height: 20px;
    width: 20px;
}*/
.modal-header .close span,
.bootbox-close-button.close {
  position: absolute;
  top: 5px;
  right: 5px;
}

/*******404*******/
.oops-404 {
  font-size: 60px;
  margin-top: 40px;
}

.desc-404 {
  font-size: 50px;
  line-height: 40px;
}

.img-404 {
  margin: 40px 0px;
  max-width: 100%;
}

/*****************/
.large-complaint .modal-dialog {
  max-width: 600px;
  width: 100%;
}
