

/* Start:/bitrix/templates/contract/components/bitrix/menu/top-menu/style.css?1757034795682*/
/* Left menu*/
.menu-items-block {
    display: flex;
}
.menu-items-text, .selected {
    font-weight: var(--font-bold);
    font-size: var(--font-small);
    color: var(--font-grey);
    padding: 0 25px;
	text-decoration: none;
	position: relative;
	z-index: 1;
}
.selected::after {
	position: absolute;
	content: '';
	left: 0;
	bottom: -10px;
	display: flex;
	width: 100%;
	height: 2px;
	background: var(--font-grey);
}
.menu-items-text::after {
	position: absolute;
	content: '';
	left: 50%;
	bottom: -10px;
	display: flex;
	width: 0;
	height: 2px;
	background: var(--font-grey);
	transition: 0.3s;
	transform: translateX(-50%);
}
.menu-items-text:hover::after {
	width: 100%;
}

/* End */


/* Start:/bitrix/templates/contract/template_styles.css?175791023910015*/
/* Переменные */
:root {
    --red: #B90E0F;
    --blue: #00428D;
    --white: #FFFFFF;
    --light-blue: #0060AF;
    --font-grey: #444444;
    --font-blackgrey: #2D2D2D;
    --font-smallest: 20px;
    --font-small: 24px;
    --font-middle: 32px;
    --font-big: 36px;
    --font-large: 60px;
    --font-regular: 400;
    --font-bold: 700;
    --container-xxxl: 1738px;
    --container-xxl: 1320px;
    --container-xl: 1140px;
    --container-large: 960px;
    --container-middle: 720px;
    --container-small: 540px;
    --container-smallest: 100%;
}

/* Шрифты */
/* Regular */
@font-face {
  font-family: "HelveticaCustom";
  src: url("/bitrix/templates/contract/fonts/Helvetica/helvetica_regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: "HelveticaCustom";
  src: url("/bitrix/templates/contract/fonts/Helvetica/helvetica_bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Light */
@font-face {
  font-family: "HelveticaCustom";
  src: url("/bitrix/templates/contract/fonts/Helvetica/helvetica_light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bastionkontrastaltc";
  src: url("/bitrix/templates/contract/fonts/Bastionkontrastaltc/Bastionkontrastaltc.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Общие стили */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "HelveticaCustom", Arial, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    min-height: 100vh;
    background-color: #F6F6F6;
}
h4 {
    font-size: var(--font-middle);
    margin: 0 0 20px 0;
    z-index: 2;
}
h3 {
    font-size: var(--font-big);
    font-weight: var(--font-bold);
    color: var(--font-blackgrey);
    margin: 0 0 20px 0;
}
h2 {
    font-size: var(--font-large);
    font-weight: var(--font-regular);
    color: var(--font-blackgrey);
    margin: 0 0 20px 0;
}
h1 {
    font-family: "Bastionkontrastaltc", Arial, sans-serif;
    font-size: 115px;
    margin: 0 0 45px 0;
    z-index: 2;
}
.bold {
    font-weight: var(--font-bold);
}
.regular {
    font-weight: var(--font-regular);
}
.big-text {
    font-size: var(--font-big);
    font-weight: var(--font-bold);
}
.container {
    max-width: var(--container-xxxl);
    margin: 0 auto;
    padding: 15px 0;
    width: 100%;
}

/* фон */
.modal {
  display: none;                /* изначально скрыт */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;               /* прокрутка при большом контенте */
  background-color: rgba(0,0,0,0.5);
}

/* содержимое */
.modal-content {
  background: #fff;
  margin: 10% auto;              /* центрирование */
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0,0,0,.3);
  animation: fadeIn .3s ease;
}

/* крестик */
.modal-close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}


.banner-block-back {
    max-width: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(/bitrix/templates/contract/images/Soldier.jpg);
    position: relative;
}
.banner-block-back::before {
  content: "";
  position: absolute;
  inset: 0; /* равен top:0; right:0; bottom:0; left:0 */
  background: rgba(0, 0, 0, 0.3); /* затемнение */
  filter: blur(10px);
  backdrop-filter: blur(1px);
}
/* Баннер */
.banner-block {
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}
.banner-items {
    background-color: var(--white);
    color: var(--blue);
    width: 75%;
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 2;
}
.banner-items-text-sum {
    font-size: 50px;
}
.banner-items.show {
    opacity: 1;
    transform: translateY(0);
}
.banner-items .star-icon {
    color: var(--red);
    font-size: 24px;
    margin-right: 15px;
    opacity: 1;       
    transform: none;  
    transition: none;
    z-index: 2;
}
.button-form {
    z-index: 2;
    cursor: pointer;
    font-size: 28px;
    color: var(--white);
    background: var(--red);
    padding: 10px 45px;
    border: 1px solid var(--red);
    border-radius: 12px;
    margin: 20px 0;
    transition: all 0.2s ease;
}
.button-form:hover {
    background: var(--white);
    color: var(--red);
}

.row {
    padding: 20px 150px;
}

/* Шапка */
.header-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}
.super-head {
      position: sticky;
  top: 0;                 /* прилипает к верхнему краю окна */
  z-index: 1000;          /* поверх контента */
  background: #fff; 
}
.logo {
    font-family: "Bastionkontrastaltc", Arial, sans-serif;
    font-weight: var(--font-regular);
    color: var(--red);
    font-size: 46px;
    display: flex;
    text-decoration: none;
}
.jail-block {
    display: flex;
    min-width: 100%;
    margin: 35px 0;
}
.jail-item {
    display: flex;
    background-color: var(--white);
    border-radius: 23px;
    width: 48%;
    margin: 0 15px;
    padding: 25px;
    flex-direction: column;
}
.jail-name {
    font-size: var(--font-small);
    font-weight: var(--font-bold);
    color: var(--font-blackgrey);
    margin-bottom: 15px;
}
.jail-desc {
    font-size: var(--font-smallest);
    color: var(--font-blackgrey);
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    background-color: #F6F6F6;
}

.inst-item {
	margin: 55px 0;
	font-size: var(--font-middle);
	font-weight: var(--font-regular);
	color: var(--font-blackgrey);
	line-height: 40px;
}
.inst-num {
	font-size: 60px;
    color: var(--blue);
    margin-right: 35px;
}
.inst-item-text {
	display: flex;
    flex-direction: row;
    margin: 0 0 35px 0;
}

.form-block {
    display: flex;
    flex-direction: column;
}
.form-name {
    margin-bottom: 5px;
}
.form-button {
    font-size: 22px;
    border-radius: 12px;
    padding: 5px 15px;
}
.form-input {
    margin: 25px 0 0 0px;
    padding: 10px;
    font-size: 16px;
    background-color: var(--red);
    border: 1px solid var(--red);
    border-radius: 12px;
    color: var(--white);
    cursor: pointer;
}
.form-input:hover {
    background-color: var(--white);
    color: var(--red);
}
.form-button-text {
    font-size: 16px;
    color: var(--font-blackgrey);
    margin-top: 10px;
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .container {
        max-width: var(--container-xxl);
    }
    .row {
        padding: 20px 60px;
    }
    .big-text {
        font-size: var(--font-middle);
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: var(--container-xl);
    }
    .row {
        padding: 20px 50px;
    }
    .big-text {
        font-size: var(--font-small);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: var(--container-large);
    }
    .row {
        padding: 20px 50px;
    }
    .menu-items-text {
        padding: 0 10px;
    }
    h4 {
        z-index: 1;
    }
    .big-text {
        font-size: var(--font-middle);
    }
    .jail-block {
        flex-direction: column;
    }
    .jail-item {
        width: auto;
        margin: 0 15px 25px;
    }
    .banner-items-text-sum {
        font-size: 40px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .row {
        padding: 20px 40px;
    }
    .header-block {
        flex-direction: column;
    }
    .menu-items-text {
        padding: 30px 15px 15px;
    }
    .banner-flag {
        top: 20%;
        width: 53%;
    }
    h1 {
        z-index: 1;
    }
    h4 {
        z-index: 1;
    }
    .big-text {
        font-size: var(--font-small);
    }
    .jail-block {
        flex-direction: column;
    }
    .jail-item {
        width: auto;
        margin: 0 15px 25px;
    }
    .banner-items-text-sum {
        font-size: 40px;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    .row {
        padding: 20px 25px;
    }
    .header-block {
        flex-direction: column;
    }
    .menu-items-text {
        padding: 30px 15px 15px;
    }
    h1 {
        z-index: 1;
    }
    h4 {
        z-index: 1;
    }
    .big-text {
        font-size: var(--font-small);
    }
    .jail-block {
        flex-direction: column;
    }
    .jail-item {
        width: auto;
        margin: 0 15px 25px;
    }
    .banner-items {
        width: 90%;
    }
    .directions-item, .directions2-item{
        width: 45%;
    }
    .banner-items-text-sum {
        font-size: 40px;
    }
}

@media (max-width: 576px) {
    .row {
        padding: 20px 20px;
    }
    .header-block {
        flex-direction: column;
    }
    .logo {
        margin-bottom: 20px;
    }
    .menu-items-block {
        flex-wrap: wrap;
        justify-content: center;
    }
    .menu-items-text {
        padding: 10px 15px 10px;
    }
    .button-form {
        width: 100%;
    }
    .banner-items {
        width: 90%;
    }
    h1 {
        font-size: 85px;
        z-index: 1;
    }
    h2 {
        text-align: center;
        font-size: 40px;
    }
    h4 {
        font-size: var(--font-small);
        z-index: 1;
    }
    .big-text {
        font-size: var(--font-middle);
    }
    .jail-block {
        flex-direction: column;
    }
    .jail-item {
        width: auto;
        margin: 0 15px 25px;
    }
    .super-head {
        position: relative;
    }
    .banner-items-text-sum {
        font-size: 40px;
    }
}
/* End */
/* /bitrix/templates/contract/components/bitrix/menu/top-menu/style.css?1757034795682 */
/* /bitrix/templates/contract/template_styles.css?175791023910015 */
