
@font-face {
font-family: "roboto-regular";  
src: url("../fonts/roboto-regular.woff2") format("truetype"); 
font-style: normal; 
font-weight: normal;
 }


p {
  font-family: "roboto-regular";
}

.top-bar {
      background-color: #002063;
      font-size: 0.9rem;
      padding: 5px 0;
      transition: top 0.3s;
      color: #fff;
    }
.top-bar a {
  color: #fff;
}

    .top-bar.sticky-hide {
      display: none;
    }
    .section-grey {
      background-color: #f2f2f2;
    }
    .social-icons a {
      margin: 0 5px;
      color: #fff;
    }
    .card-custom:hover {
      transform: scale(1.02);
      transition: 0.3s;
    }
    footer .social-footer a {
      color: #fff;
      margin: 0 10px;
      font-size: 1.2rem;
    }

a {
  text-decoration: none ;
}

a:hover {
  text-decoration: none ;
}

/*центровка*/
    
    .cent1 {
        text-align: center;
    }
    
    .cent2 {
        text-align: justify;
    }
    
    .cent3 {
        float: none;
        margin: 0 auto;
    }
    
    
    /*растягивающая картинка*/
    
    article img {
        max-width: 100%;
        height: auto;
        /*width: auto;*/
        padding: 0 7px 7px 7px;
    }
    
    iframe {
        max-width: 100%;
    }
    
    
     @media (hover: hover) and (pointer: fine) {
  .dropdown:hover > .dropdown-menu {
    display: block;
    background-color: #002063;
    color: #fff;
  }
}
    
    
    .fr-name {
    display: none;
    }
    
    .container-fluid {
        padding-left: 1px;
        padding-right: 1px;
    }

/*меню*/
.m1 {
  background-color: #002063;
}

.m2 a {
  color: var(--bs-navbar-color);
}

.m2 a:hover {
  color: var(--bs-navbar-color);
}

.m3 a{
  color: var(--bs-navbar-color);
}

.m3 a:hover {
  color: #002063;
}

.m4 ul {
  background-color: #fff;
}

.m4 li {
  background-color: #fff;
}

.drop1 a {
  background-color: #002063;
  color: #fff;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  color: #002063;
}


.btn.btn-primary {
    background-color: #002063;
    border-color: #002063;
    color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.btn.btn-primary:hover {
    background-color: #F1CB00;
    border-color: #F1CB00;
    color: #002063;
}

.nav-tabs .nav-link {
    color: #2D4691;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: #ff0000;
    font-weight: bold;
}


/*карусель*/

.carousel-item {
  position: relative;
}

.carousel-caption {
  position: absolute;
  top: 0; bottom: 0;
  left: 40px;  /* уменьшили зону, чтоб не мешать стрелкам */
  right: 40px;
  width: auto;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  z-index: 2;
  pointer-events: auto;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 3;
}

.carousel-caption .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  border-radius: 0.25rem;
}

.carousel-caption h2,
.carousel-caption p {
  color: #fff;
  width: 100%;
  max-width: 100%;
  pointer-events: auto;
  word-wrap: break-word;
  text-shadow:
    1px 1px 2px rgba(0, 32, 99, 1),
   -1px -1px 2px rgba(0, 32, 99, 1),
    1px -1px 2px rgba(0, 32, 99, 1),
   -1px 1px 2px rgba(0, 32, 99, 1);
}

.carousel-caption h2 {
  font-size: clamp(1.1rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.2;
}

.carousel-caption p {
  font-size: clamp(.8rem, 3.5vw, 1.5rem);
  margin: 0;
  line-height: 1.4;
}

/* 👉 Только на мобилке — выключаем pointer-events */
@media (max-width: 767px) {
  .carousel-caption {
    pointer-events: none;
  }

  .carousel-caption h2,
  .carousel-caption p {
    pointer-events: auto;
  }
}





/*карусель*/

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none !important; /* Убираем стандартную стрелку */
    width: 30px !important;
    height: 30px !important;
    border: solid #000 !important; /* Цвет стрелки */
    border-width: 0 4px 4px 0 !important;
    display: inline-block !important;
    padding: 6px !important;
}

.carousel-control-prev-icon {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.carousel-control-next-icon {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}




/*футер*/

.fut1 {
  background-color: #002063;
}

.fut2 p {
  font-size: 0.8rem;
  margin-bottom: 0.1rem;
}

.fut3 a {
  color: #fff;
}

.fut4 a {
color: #002063;
}