@import url("../font/bebasneue.css");
@import url("../font/inter.css");

body {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
  }

h1 {
    font-family: 'Bebas Neue';
    font-size: 64px;
    font-weight: bold;
}
@media (max-width: 768px) { 
    h1 {
        font-size: 48px;
    }
}

h2 {
    font-family: 'Bebas Neue';
    font-size: 36px;
    font-weight: bold;
}

h3 {
    font-family: 'Bebas Neue';
    font-size: 36px;
    font-weight: bold;
}

h4 {
    font-family: 'Inter';
    font-size: 18px;
    font-weight: bold;
}

h4 {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: bold;
}

p {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
}

.text-justify {
    text-align:justify;
}

.breadcrumb-item {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
}

.breadcrumb-item a {
    color: #232323;
}

.swiper-prev {
    background: #24B8B6;
    width: 34px;
    height: 34px;
    background-image: url(../images/arrow_back.svg);
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center;
}

.swiper-next {
    background: #24B8B6;
    width: 34px;
    height: 34px;
    background-image: url(../images/arrow_back.svg);
    transform: rotate(180deg);
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center;
}

.light {
    background-color: #FFF7EB;
    color: #232323;
}

.black {
    background-color: #232323;
    color: #FFF7EB;
}

.navbar {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: bold;
    color: black;
}

.slide .img-fluid {
    width: 100%;
    height: 100%;
}

.slide h1 {
    color: #24B8B6;
    font-size: 48px;
}

@media (max-width: 768px) {
    .slide h1 {
      color: #232323;
    }
}

.events {
    background: #177ed9;
    min-height: 120px;
}

.events p {
    color: #FFF7EB;
    font-size: 12px;
    margin: 0;
}

.events a {
    color: #FFF7EB;
    font-size: 12px;
    text-decoration:none;
}

.events h4 {
    color: #FFF7EB;
    font-size: 18px;
}

@media (max-width: 768px) {
    .events p {
      font-size: 10px;
    }
    .events a {
        font-size: 10px;
      }
}   

.news .slider-nav-outside .slider-container{
    --swiffy-slider-item-width: auto;
    margin: auto;
}

.news .slider-container>*  {
    scroll-snap-align: var(--swiffy-slider-snap-align);
    position: relative;
    width: 300px;
    height: 220px;
}

.news .ratio {
    height: 153px;
}

.news .card-body {
    background-color: #232323;
}

.news .card-body:hover {
    background-color: #24B8B6;
}

.news .card-title {
    font-family: 'Inter';
    font-size: 12px;
    font-weight: bold;
    color: #FFF7EB;
}

.news .card-text {
    font-size: 12px;
    color: #fff;
}

.news a {
    font-size: 12px;
    text-decoration:none;
    color: #fff;
}

.notice {
    background: #232323;
    /*padding: inherit;*/
}

.notice .date {
    background: #24B8B6;
}

.notice .date h4 {
    color: #FFF7EB;
    font-size: 20px;
    margin: 0;
}

.notice .date p {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 12px;
    margin: 0;
}

.notice .desc h4 {
    color: #FFF7EB;
    font-size: 14px;
    margin: 0;
}

.notice .desc p {
    color: #FFFFFF;
    font-size: 12px;
    margin: 0;
}

.btn.marafon {
    background-color:#FFF7EB;
    color: #232323;
    cursor: default;
}

.btn.marafon p{
    font-size: 12px;
    color: #232323;
}

.btn.main {
    background-color: #24B8B6;
    color: #FFF7EB;
    border: 2px solid #24B8B6;
    font-weight: bold;
    font-size: 16px;
}

.btn.main:hover {
    background-color: #FFF7EB;
    color: #24B8B6;
    border: 2px solid #24B8B6;
}

.memorial .slider-nav-outside .slider-container{
    --swiffy-slider-item-width: auto;
    margin: auto;
}

.memorial .slider-container>*  {
    scroll-snap-align: var(--swiffy-slider-snap-align);
    position: relative;
    width: 300px;
    height: 220px;
}

.memorial .ratio {
    height: 153px;
}

.memorial .card-body {
    background: linear-gradient(to bottom, rgba(35, 35, 35, 0) 0%, rgba(35, 35, 35, 1) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.memorial .card-body:hover {
    background: linear-gradient(to bottom, rgba(36, 184, 182, 0) 0%, rgba(36, 184, 182, 1) 100%);
}

.memorial .card-title {
    font-family: 'Inter';
    font-size: 12px;
    font-weight: bold;
    color: #FFF7EB;
}

.memorial .card-text {
    font-size: 12px;
    color: #fff;
}

.memorial a {
    font-size: 12px;
    text-decoration:none;
    color: #fff;
}

.constructor .card-body {
    background: #232323;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 10px;
    box-sizing: border-box;
    color: #FFF7EB;
}

.region {
    background: #232323;
}

.btn.media {
    background-color: #232323;
    color: #FFF7EB;
    border: 2px solid #FFF7EB;
    font-weight: bold;
    font-size: 14px;
}

.btn.media.active {
    background-color: #FFF7EB;
    color: #232323;
    font-weight: bold;
    font-size: 14px;
}

.media a {
    color: #FFF7EB;
    font-weight: bold;
}

.accordion-item {
    background-color: #232323;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    border: none;
}

.accordion-button {
    color: #FFF7EB;
    background-color: #232323;
    border-radius: 0.5rem;
    border: none;
    font-weight: bold;
    font-size: 14px;
}

.accordion-button:not(.collapsed) {
    background-color: #232323;
    color: #FFF7EB;
    box-shadow: none;
}

.accordion-body {
background-color: #232323;
color: #FFF7EB;
border-radius: 0.5rem;
text-align: start;
font-weight: 1;
font-size: 10px;
}

.accordion-button::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 0.5rem;
    border-left: 2px solid white;
    border-top: 2px solid white;
    transform: translateY(-50%) rotate(45deg);
}

.accordion-button:not(.collapsed)::after {
    transform: translateY(-50%) rotate(-135deg);
}

.btn.document {
    background-color: #FFF7EB;
    color: #232323;
    border: 2px solid #232323;
    font-weight: bold;
    font-size: 14px;
}

.btn.document.active {
    background-color: #232323;
    color: #FFF7EB;
    font-weight: bold;
    font-size: 14px;
}

.document a {
    color: #232323;
    font-weight: bold;
}

.document p {
    color: #232323;
    font-weight: 1;
    font-size: 10px;
}

.document path {
    color: #232323;
}

.slide_marafon .img-fluid {
    width: 100%;
    height: 100%;
}

.slide_marafon h1 {
    color: #232323;
}

.black .accordion-item {
    background-color: #FFF7EB;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    border: none;
}

.black .accordion-button {
    color: #232323;
    background-color: #FFF7EB;
    border-radius: 0.5rem;
    border: none;
    font-weight: bold;
    font-size: 14px;
}

.black .accordion-button:not(.collapsed) {
    background-color: #FFF7EB;
    color: #232323;
    box-shadow: none;
}

.black .accordion-body {
background-color: #FFF7EB;
color: #232323;
border-radius: 0.5rem;
text-align: start;
font-weight: 1;
font-size: 10px;
}

.black .accordion-button::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 0.5rem;
    border-left: 2px solid black;
    border-top: 2px solid black;
    transform: translateY(-50%) rotate(45deg);
}

.black .accordion-button:not(.collapsed)::after {
    transform: translateY(-50%) rotate(-135deg);
}

.btn.back-page {
    background-color: #FFF7EB;
    border: 2px solid #24B8B6;
    color: #232323;
    font-weight: bold;
    font-size: 16px;
}

.btn.back-page:hover {
    background-color: #24B8B6;
    color: #FFF7EB;
}

.btn.next-page {
    background-color: #24B8B6;
    border: 2px solid #24B8B6;
    color: #FFF7EB;
    font-weight: bold;
    font-size: 16px;
}

.btn.next-page:hover {
    background-color: #FFF7EB;
    border: 2px solid #24B8B6;
    color: #232323;
}

.slider .slider-nav-outside .slider-container{
    --swiffy-slider-item-width: auto;
    margin: auto;
}

.slider .slider-container>*  {
    scroll-snap-align: var(--swiffy-slider-snap-align);
    position: relative;
    width: 300px;
    height: 220px;
}

.slider .ratio {
    height: 153px;
}

.slider .card-body {
    background-color: #232323;
}

.slider .card-body:hover {
    background-color: #24B8B6;
}

.slider .card-title {
    font-family: 'Inter';
    font-size: 12px;
    font-weight: bold;
    color: #FFF7EB;
}

.slider .card-text {
    font-size: 12px;
    color: #fff;
}

.slider a {
    font-size: 12px;
    text-decoration:none;
    color: #fff;
}

.number {
    padding: 15px;
    display: flex;
    align-items: center;
    font-weight: bold;
}
/*
.number p{
    font-weight: bold;
}*/

.light-square {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 14px;
}

.dop_material a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #232323;
}

.dop_material h1,
.dop_material h2,
.dop_material h3,
.dop_material h4,
.dop_material h5,
.dop_material h6 {
    margin-left: 5px;
}

a {
    color: #24B8B6;
}

.competitions p {
    padding: inherit;
}

.competitions h4 {
    padding: inherit;
}

.article .card-body {
    background-color: #232323;
}

.article .card-body:hover {
    background-color: #24B8B6;
}

.article .card-title {
    font-family: 'Inter';
    font-size: 12px;
    font-weight: bold;
    color: #FFF7EB;
}

.article .card-text {
    font-size: 12px;
    color: #fff;
}

.article a {
    font-size: 12px;
    text-decoration:none;
    color: #fff;
}

.rf-map path {
    stroke: #FFF7EB;
    stroke-width: 1;
    stroke-linejoin: round; 
}

.rf-map [data-code] {
fill: #232323;
transition: fill 0.2s;
}

.rf-map [data-code]:hover {
    fill: #24B8B6;
}

.memory-map path {
    stroke: #FFF7EB;
    stroke-width: 1;
    stroke-linejoin: round; 
}

.select-border {
    background-color: #FFF7EB;
    color: #232323;
    border: 2px solid #232323;
}

.select-border:focus {
  border-color: #232323;
  box-shadow: none;
}

#pdf-viewer,
#pdf-viewer-2 {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

canvas {
    max-width: 100%;
    height: auto;
}

.controls {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    /* Используем Flexbox для управления кнопками */
    gap: 5px;
    /* Пробел между кнопками */
}

@media (max-width: 768px) {
    .controls button {
        padding: 5px 10px;
        /* Уменьшаем размер кнопок на мобильных */
        font-size: 14px;
        /* Уменьшаем шрифт */
    }
}

.pdf_button {
    background: #24B8B6;
    border: 0;
}

input[name="subject"] {
    display: block;
    width: 5px;
    height: 3px;
    margin-bottom: -3px;
    opacity: 0.01;
}