body {
    background:#f5f2eb;
    font-weight:bold;
}

.btn-back {
    display: inline-block;
    width: 60px;
    height: 30px;
}
.back {
    position: absolute;
    display: inline-block;
    width: 60px;
    height: 30px;
    left:10px;
    top:10px;
    font-family:sans serif;
    text-decoration:none;
    text-align:center;
    border: 1px solid;
    border-radius:10 px;
    background: #79a573;
    padding: 10px 10px;
    color:white;
}

html, body {
      height: 100%;
    }
    body {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
      min-height: 100vh;
    }

    .content{
      background:#f5f2eb;
      -webkit-box-flex: 1;
      -ms-flex: 1;
      flex: 1;
    }
/*.error {
    display:inline-block;
    margin-left: 20%;
}*/

.content{
    margin: 0 200px;
}

.detailed {
    float: left;
     width:auto;
}

.detailed td {
    max-width: 500px;

}

.detailed td a {
    width: 300px;
    height: 70px;
    font-size:20px;
    display:flex;
    justify-content: center;
    align-items: center;
}

.detailed td:nth-child(2n) {
    border: 1px solid gray;

}

.detailed th {
    background: #79a573;
    color:white;
}

.curator .details {
    margin-top:20px;
}

.curator .details .title{
    color: #666
}

.curator{
    display:flex;
    justify-content: center;
    align-items: center;
}
/*.forBorder{
    border-top: 2px solid grey;
   /* border-bottom: 1px solid grey;
}*/
.data{
    width: 1160px;
}
.data th {
    background: #79a573;
    color:white;
}

.data th:first-child  {
    border-top-left-radius: 10px;
}

.data th:last-child {
    border-top-right-radius: 10px;
}

.last-child  {
    border-top-right-radius: 10px;
}

.receipt {
    border-radius:10 px;
    color:#31432e;
    text-decoration:none;
    font-family:sans serif;
    display: inline-block;
    padding: 5px 10px;
    position: relative;
    border: 2px solid;
}

a:hover, a:focus {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8) inset, 0 0 10px #79a573;
    outline: 0 none;
}

ul, h3 {
    margin:0 auto;
}

ul a {
    text-decoration: none;
}

li{
    margin:0;
    font-size:20px;
}
  .link {
    margin-top: 40px;
  }
  .btn-modal {
     border-radius:9px;
     color: #79a573;
     text-decoration:none;
     font-family:sans serif;
     border: 2px solid;
     padding: 7px 40px;
     font-weight: bold;
    }
  .btn-modal:hover, .btn-modal:focus {
     border-color: #79a573;
     box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8) inset, 0 0 20px #79a573;
     outline: 0 none;

    }
  .modal {
     position: fixed; /* фиксированное положение */
     top: 0;
     right: 0;
     bottom: 0;
     left: 0;
     background: rgba(0,0,0,0.5); /* цвет фона */
     z-index: 1050;
     opacity: 0; /* по умолчанию модальное окно прозрачно */
     -webkit-transition: opacity 200ms ease-in;
     -moz-transition: opacity 200ms ease-in;
     transition: opacity 200ms ease-in; /* анимация перехода */
     pointer-events: none; /* элемент невидим для событий мыши */
     margin: 0;
     padding: 0;
  }
  /* при отображении модального окна */
  .modal:target {
     opacity: 1; /* делаем окно видимым */
     pointer-events: auto; /* элемент видим для событий мыши */
     overflow-y: auto; /* добавляем прокрутку по y, когда элемент не помещается на страницу */
  }
  /* ширина модального окна и его отступы от экрана */
  .modal-dialog {
     position: relative;
     width: auto;
    /* margin: 30px auto;*/
  }

  .cour_pen {
    display: block;

  }

  @media screen and (max-width: 1920px) {
    .modal-dialog {
       width: 1300px;
       margin: 30px auto;
    }
    .detailed {
        float: left;
    }
  }

  @media screen and (max-width: 1090px) {
    .modal-dialog {
        width: 400px;
        margin: 30px auto;
    }
    .court {
        width: auto;
        margin-top: 10px
    }

    .detailed {
       width: auto;
    }

    .announs {
        display: none;
    }
  }
  /* свойства для блока, содержащего контент модального окна */
  .modal-content {
     display:inline-block;
     position: relative;
     -webkit-box-orient: vertical;
     -webkit-box-direction: normal;
     -webkit-flex-direction: column;
     -ms-flex-direction: column;
     flex-direction: column;
     background-color: #fff;
     -webkit-background-clip: padding-box;
     background-clip: padding-box;
     border: 1px solid rgba(0,0,0,.2);
     outline: 0;
     padding: 10px 40px 40px 40px;
     background: #fff;
     border-radius: 20px;
  }
  @media (min-width: 768px) {
    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
        box-shadow: 0 5px 15px rgba(0,0,0,.5);
    }
  }
  /* свойства для заголовка модального окна */
  .modal-header h3{
     display: -webkit-box;
     display: -webkit-flex;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-align: center;
     -webkit-align-items: center;
     -ms-flex-align: center;
     align-items: center;
     -webkit-box-pack: center;
     -webkit-justify-content: center;
     -ms-flex-pack: center;
     justify-content: center;
     padding: 15px;
     border-bottom: 1px solid #eceeef;
  }

 .modal-title2 {
     position: relative;
     margin-top: 0;
     margin-bottom: 0;
     line-height: 1.5;
     font-size: 1.25rem;
     font-weight: 500;
  }

  .qrcode{
     width: 304px;
     justify-content: center;
     margin:0 auto;
  }
  /* свойства для кнопки "Закрыть" */
  .close {
	background: #7aa774;
	color: white;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}

  .close:focus, .close:hover {
       background: #1967bf;
        text-decoration: none;
        cursor: pointer;
        opacity: .75;
 }
   /*свойства для блока, содержащего основное содержимое окна */
  .modal-body {
    position: relative;
      -webkit-box-flex: 1;
      -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
      flex: 1 1 auto;
      padding: 15px;
  }

  .modal-body .inputBox:nth-child(odd) {
    position:relative;
    width: 400px;
    height: 80px; /*��������� ������ ������, ����� �������� ��� ����������*/
    margin-bottom: 20px;
  }
  #backButton {
      position:relative;
      height: 40px; /*��������� ������ ������, ����� �������� ��� ����������*/
      width: 300px;
      margin-top: 20px;
  }


   .modal-body .inputBox:nth-child(even) {
    position:relative;
    width: 400px;
    height: 60px; /*��������� ������ ������, ����� �������� ��� ����������*/
    margin-bottom: 20px;
   }

  .modal-body .inputBox input{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    border: 1px solid #79a573;
    background:transparent;
    padding: 10px;
    border-radius:10px;
    box-sizing: border-box;
    outline:none;
    font-family:sans serif;
    font-size: 18px;
    color:#3a6f33;
    font-weight:300;
   }

  .modal-body .inputBox input[type="button"]{
     border-radius:9px;
     color: #79a573;
     text-decoration:none;
     font-family:sans serif;
     border: 2px solid;
     padding: 7px 40px;
     font-weight: bold;
     cursor: pointer;
     white-space: normal;
  }

  .modal-body .inputBox input[type="button"]:hover
  {
    border-color: #79a573;
    box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8) inset, 0 0 20px #79a573;;
    outline: 0 none;
  }

  .kbk_step1, .kbk_step2, .kbk_step3 {
      text-align: left;
  }

  p{
      margin: 0;
  }

  .form_button {
     margin-top: 15px;
  }

  .requis {
      text-align: center;
  }

  caption {
      margin-top: 10px;
      font-size: 19px;
      background: #79a573;
      color:white;
      border-top-left-radius: 10px; /* ����� ������� ������ */
      border-top-right-radius: 10px;
  }
 .last-par{
     margin:30px;
     text-align:center;
     font-size:20px;
   }

   .last-par>p>a{
       color: #79a573;
       text-decoration:none;
     }
   .message-for-face {
       font-weight: normal;
   }

.announs {
    height:110px;
}

.footer{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .info {
    list-style-type: none;
    background:#79a573;
    padding:10px 3rem;
    width:30%;
    font-size:20px;
    color:white;
    text-align:center;
  }
  .info h3{
  padding:10px 0px;
  text-transform: uppercase;
  }
  ul {
    list-style: none;
  }
  .map{
    width:70%;
  }

  .footer-legal {
      width: 100%;
      background: #3a6f33;
      color: white;
      text-align: center;
      padding: 15px 10px;
      font-size: 14px;
    }
    .footer-legal p {
      margin: 4px 0;
    }
    .footer-legal a {
      color: #c8e6c0;
      text-decoration: underline;
    }
    .footer-legal a:hover {
      color: #fff;
    }