.content_wrap {
  background: url(/images/headers/grad_bg3.jpg) no-repeat center center/cover;
  position: relative;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
}
.bg_wrap {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
}
.bg_img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}
.title {
  z-index: 1;
  position: relative;
  display: flex;
  flex-wrap: wrap;
}
.header_title {
  width: 85%;
  min-width: 300px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 8px;
  background-color: #fef7f54a;
}
.header_title .logotitle {
  font-family: "Times New Roman", arial, sans-serif;
  font-size: 36px;
  color: #11457e;
}
.head_title {
  width: 67%;
  min-width: 300px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 8px;
  background-color: #ffe6de82;
}
.head_title a {
  text-decoration: none;
}
.head_logo {
  width: 300px;
  min-width: 160px;
  align-self: start;
}
.main_logo {
  max-width: 100%;
  margin: 0 auto;
}
.main_logo img {
  display: block;
  margin: 0 auto;
  max-width: 280px;
}

.logotitle {
  color: #843b0c;
  font-style: italic;
  font-weight: bold;
}
.logoimgtitle {
  display: flex;
  justify-content: center;
  font-size: 3rem;
  color: #843b0c;
}
.header.head_contacts,
.header.head_socials {
  font-size: 14px;
}
.head_contacts {
  width: 45%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: center;
  background-color: #e2dfdf;
  height: 76%;
}
.head_contacts a {
  color: var(--black-color);
  transition: all 0.2s linear;
  font:
    500 16px/1.2 var(--base-font-family),
    sans-serif;
  text-decoration: none;
}
.phone_unit {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.social_unit {
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: 300px;
  justify-content: space-around;
  margin-top: 10px;
}
.phone_numbers {
  display: flex;
  gap: 5px;
  padding: 13px 0 0 10px;
}
.messedger_unit {
  display: flex;
  justify-content: space-evenly;
  gap: 15px;
  margin-top: 10px;
  text-decoration: none;
}
.head_addresses {
  grid-column: 4 / 5;
  grid-row: 1;
  width: 300px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e2dfdf;
  height: 32%;
}
.head_socials {
  grid-column: 3 / 5;
  grid-row: 1;
  width: 300px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e2dfdf;
  height: 32%;
}
.head_addresses_box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.foot_address_unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.head_text {
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.head_description {
  width: 50%;
  min-width: 300px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: #fde8dd7a;
  color: #11457e;
}
.descript_line {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}
.descript_line .button {
  height: 22px;
  margin-top: 29px;
}
.text {
  font-size: 14px;
  color: #333;
  font-style: italic;
}

.container {
  display: block;
  width: 28%;
  padding: 0 20px;
}
i.fa-telegram {
  color: rgb(0, 170, 255);
  line-height: 0.8;
}
i.fa-viber {
  color: #5d00ff;
  line-height: 0.9;
}

i.fa-whatsapp {
  color: rgb(10, 147, 3);
  line-height: 0.8;
}
i.fa-envelope {
  color: #633101;
  line-height: 0.8;
}

i.fa-youtube {
  color: red;
}

.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 0;
}
.show_text {
  font-size: 24px;
  margin: 12px;
  border: 2px solid #11457e;
  border-radius: 8px;
  background-color: #f2d9d2a1;
  padding: 10px;
}
.width200 {
  width: 200px;
}

/*----------****************---------------------*/
figure img {
  width: 200px;
  float: left;
}
.newsflash {
  display: flex;
}
h2.mod_news-title {
  text-align: center;
}
.custom div h2 {
  color: #843c0c;
  margin: 0 auto;
  text-align: center;
  width: 350px;
}
li.breadcrumb-item a span:after,
li.breadcrumb-item span:after {
  content: url("/images/arrow.png");
}
li.breadcrumb-item.active span:after {
  content: url("");
}
/*Для модуля новостей*/
.jn {
  width: 33%;
}
.jn-head {
  display: flex;
  padding-left: 20px;
}

.jn-right {
  padding-left: 20px;
}
/*Редактор кода в админке*/
.CodeMirror-code {
  font-size: 20px;
  line-height: 1;
}
.footer #mod-custom156,
.footer #mod-custom157,
.footer #mod-custom158,
.footer #mod-custom159,
.footer #mod-custom160,
.footer #mod-custom161 {
  width: 30%;
  min-width: 320px;
}
#mod-custom156 img,
#mod-custom157 img {
  padding-right: 0 10px;
}
#mod-custom156 p,
#mod-custom157 p {
  color: #ced4d9;
  font-size: 17px;
}
/*------------------Модальное окно------------------*/
.modal_div {
  width: 300px;
  border-radius: 5px;
  border: 3px #000 solid;
  background: #fff;
  position: fixed;
  top: 45%;
  left: 50%;
  margin-top: -150px;
  margin-left: -150px;
  display: none;
  opacity: 0;
  z-index: 15;
  padding: 20px;
}

.modal_div .modal_close {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  display: block;
  transition: 0.5s;
  border-radius: 50%;
}
.modal_close:hover {
  background-color: aquamarine;
  transition: 0.5s;
}
.modal_div h2 {
  font-family: "Times New Roman", arial, sans-serif;
  font-size: 30px;
  color: #843b0c;
  margin: 0;
  padding-bottom: 10px;
}
/*------------------Форма в модальном окне------------------*/
.modal_div input[type="text"],
.modal_div input[type="contact"],
.modal_div textarea {
  width: 96%;
  padding: 3px;
  margin: 0;
  border: 1px solid #ccc;
  font-size: 18px;
}
.modal_div .submit {
  width: 100px;
  background-color: #843c0c;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.modal_div .submit:hover {
  background-color: #dedede;
  color: #843c0c;
  transition: 0.3s;
}
.modal_div .note {
  padding-left: 30px;
  font-size: 12px;
  font-style: italic;
  margin-top: 10px;
  color: #555;
}
#overlay {
  z-index: 3;
  position: fixed;
  background-color: #000;
  opacity: 0.6;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  display: none;
}
.flexblock_content {
  display: flex;
  flex-wrap: wrap;
}
.caption {
  width: 32%;
  min-width: 320px;
  padding: 3px;
  max-width: 400px;
}
.caption img {
  width: 100%;
  min-width: 320px;
}
/*------------------Модальное окно для изображений------------------*/
img.modal {
  cursor: zoom-in; /* Курсор zoom-in для изображений с классом modal */
}
.modal_image_div {
  border: none;
  background: transparent;
  padding: 0;
  position: fixed;
  top: 50%;
}

.modal_image_div .modal_image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.flexblock_content {
  display: flex;
  flex-wrap: wrap;
}
.caption {
  width: 32%;
  min-width: 320px;
  padding: 3px;
  max-width: 400px;
}
.caption img {
  width: 100%;
  min-width: 320px;
}
/*------Расписание занятий контент-------*/
.courses img {
  max-width: 430px;
}

.courses li {
  line-height: 1.7;
}
.shedule_bg_color {
  padding: 10px;
  margin: 10px 10px;
}
.shedule_bg_red {
  background-color: #f8d7da;
  padding: 10px;
  margin: 10px 10px;
}
.shedule_bg_green {
  background-color: #d4edda;
  padding: 10px;
  margin: 10px 10px;
}
/*------button  переводы-------*/
.wrap_img_translate {
  display: flex;
  max-width: 600px;
  min-width: 300px;
  box-sizing: border-box;
}

.wrap_img_translate img {
  width: 100px;
}
/*------Всплывающая подсказка-------*/
.item {
  width: 360px;
  position: relative;
  border: 1px solid #5b84e2;
  font-size: 20px;
  text-align: center;
  padding: 5px;
  min-width: 250px;
  cursor: pointer;
  background-color: #c0d0f5d1;
}
.hiddenblock {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  left: 0%;
  bottom: 0%;
  font-size: 16px;
  background: #fff;
  /*padding: 15 15px;*/
  width: 100%;
  z-index: 2;
  border: 1px solid #000000;
  box-sizing: border-box;
  transform: translateY(30px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.hiddenblock img {
  margin: 10px;
}
.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
#sideright .mod-menu a:hover {
  background-color: #fff;
  padding: 5px 0;
}
ul.pagination {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-evenly;
  list-style-type: none;
  background-color: #c0d0f5d1;
}
ul.pagination li a {
  width: auto;
}
.creativ img {
  width: 60%;
  margin-right: 20px;
}
.item-page .creativ {
  display: flex;
  color: #000;
  background-color: #f8d2b296;
  margin: 10px;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}
.creativ_text {
  display: inline-block;
  font-size: 33px;
  background-color: #feffff96;
  margin-bottom: 3%;
  padding: 10px;
}
.button.creativ {
  cursor: default;
}
.creativ_text:hover {
  background-color: #11457e;
  color: #fff;
}
.creativ_text a:hover,
.creativ_text a:focus,
.creativ_text a:active {
  color: #fff;
}
#ukrajinismy,
#stripky {
  column-count: 2;
}
#between_screen_one {
  background: url(/images/between_screen1.jpg);
  width: 100%;
  height: 500px;
  background-size: cover;
}
tr:nth-child(2n + 1) {
  background-color: #efecec;
}
/*----------Вывод контента сайта---------------*/
.com-content-category-blog__item.blog-item {
  display: flex;
}
.page-header h2 {
  font-size: 24px;
  color: #843c0c;
}
/*------------------Адаптивность------------------*/
@media screen and (max-width: 1180px) {
  div.mod-languages ul.lang-inline li {
    display: inline-block;
  }
  .descript_line {
    display: flex;
    flex-direction: column;
    align-content: flex-end;
  }
  .descript_line .button {
    width: 50%;
    background-color: #f2f2d99e;
  }
  .descript_line .button:hover {
    background-color: #11457e;
  }
  .container {
    width: 47%;
  }
  .head_contacts {
    width: 85%;
  }
  .head_socials {
    width: 100px;
  }
}
@media screen and (max-width: 800px) {
  .show {
    justify-content: center;
    flex-wrap: wrap;
  }
  .container {
    width: 80%;
  }
  .item-page .creativ {
    flex-wrap: wrap;
  }
  .item-page .creativ img {
    width: 100%;
    margin: 0 auto;
  }
  #ukrajinismy,
  #stripky {
    column-count: 1;
  }
}

@media screen and (max-width: 525px) {
  .block-text {
    position: static;
  }
  .header {
    justify-content: center;
  }
  .head_contacts {
    width: 100%;
  }
  .messedger_unit .fa-telegram,
  .messedger_unit .fa-viber,
  .messedger_unit .fa-whatsapp {
    display: none;
  }
  .main_logo img {
    max-width: 150px;
  }
  .head_text {
    width: 100%;
  }
  .descript_line .button {
    width: 40%;
    margin-top: 0px;
  }
  .pop_up {
    font-size: 25pt;
  }
  .show_text {
    font-size: 16px;
  }
  h2 {
    margin: 0;
    font-size: 24px;
  }
  div.mod-languages ul.lang-block li {
    padding: 0;
  }
  div.mod-languages ul {
    margin-top: 10px;
  }
  .menu-wrapper {
    width: 85%;
    margin: 0 auto;
    justify-content: space-between;
  }
  .header_title .logotitle {
    font-size: 24px;
  }
  .header_title {
    min-width: auto;
  }
  .page-header h1 {
    font-size: 24px;
  }
  .item {
    width: 80%;
    padding: 10px;
  }
  #sideright {
    width: 100%;
    margin: 0;
  }
  .creativ_text {
    font-size: 20px;
  }
}
