/*
html {
  font-size: 14px;
}


@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #121212;  /* Темный фон */
/* color: white;*/               /* Белый текст */
/*}
*/

/* градиент для фона */
body {
    background: linear-gradient(135deg, #1a1a1a, #333333);
}


@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

    .nav-scroller .nav {
        display: flex;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
        margin-top: -1px;
        overflow-x: auto;
        text-align: center;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }



.bd-mode-toggle {
    z-index: 1500;
}

    .bd-mode-toggle .dropdown-menu .active .bi {
        display: block !important;
    }

/* Задает цвет иконок */
.bi {
    fill: #888888; /* Серый цвет */
}

/*------------------------------------------*/
.btn-primary.custom-btn {
    background-color: #ff6600; /* Новый цвет фона */
    border-color: #ff6600; /* Новый цвет границы */
}

    .btn-primary.custom-btn:hover {
        background-color: #cc5500; /* Цвет при наведении */
        border-color: #cc5500;
    }


.text-bg-primary.custom-text-bg-primary {
    color: #ff6600; /* Новый цвет фона */
    background-color: #cc5500; /* Цвет при наведении */
    border-color: #ff6600; /* Новый цвет границы */
}


/* Новый цвет фона */
.custom-nav-pills .nav-link {
    color: #888888; /* Белый текст */
    border-radius: 5px;
}

    /* Новый цвет фона */
    .custom-nav-pills .nav-link:hover {
        color: white; /* Белый текст */
        border-radius: 5px;
    }

    /* Цвет активной кнопки */
    .custom-nav-pills .nav-link.active {
        background-color: #ff6600; /* Зеленый */
        color: white;
    }



/* для видео*/
.video-container {
    position: relative;
    width: 100vw;
    height: 100vh; /* Полный экран */
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняет область, обрезая лишнее */
    transform: translate(-50%, -50%);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Затемнение */
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
}

/*разделитель между разделами*/
.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

/*добавляем всякое*/
/*

.bg-gradient {
    
    background-image: var(--bs-gradient) !important;
}
.fs-4 {
    font-size: calc(1.275rem + .3vw) !important;
}

.align-items-center {
    
    align-items: center !important;
}

.justify-content-center {
    
    justify-content: center !important;
}

.d-inline-flex {
    
    display: inline-flex !important;
}

.text-bg-primary {
    color: #fff !important;
    background-color: RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important;
}
    */

.feature-icon-small {
    width: 3rem;
    height: 3rem;
}

.text-bg-primary {
    color: #fff !important;
    background-color: #cc5500 !important;
}

/*Сохранение пропорций в галерее картинок*/

.card-img-top {
    width: 100%; /* Заполняет родительский контейнер */
    height: auto; /* Автоматический подбор высоты для сохранения пропорций */
    object-fit: cover; /* Обрезает лишнее, сохраняя центр */
}





.btn-sm {
    /*background-color: #ff5733 !important; */ /* Новый цвет фона */
    border-color: #ff6600 !important; /* Новый цвет границы */
    color: white !important; /* Цвет текста */
}

    .btn-sm:hover {
        background-color: #cc5500 !important; /* Цвет при наведении */
        border-color: #cc5500 !important;
        /*color: white !important;*/ /* Цвет текста */
    }

.btn-success {
    background-color: #cc5500 !important; /* Новый цвет фона */
    border-color: #ff6600 !important; /* Новый цвет границы */
    color: white !important; /* Цвет текста */
}

    .btn-success:hover {
        background-color: #cc5500 !important; /* Цвет при наведении */
        border-color: #cc5500 !important;
        /*color: white !important;*/ /* Цвет текста */
    }




.btn-primary {
    background-color: #cc5500 !important; /* Новый цвет фона */
    border-color: #ff6600 !important; /* Новый цвет границы */
    color: white !important; /* Цвет текста */
}

    .btn-primary:hover {
        background-color: #cc5500 !important; /* Цвет при наведении */
        border-color: #cc5500 !important;
        /*color: white !important;*/ /* Цвет текста */
    }


.bg-primary {
    background-color: #cc5500 !important; /* Новый цвет фона */
    border-color: #ff6600 !important; /* Новый цвет границы */
    color: white !important; /* Цвет текста */
}

    .bg-primary:hover {
        background-color: #cc5500 !important; /* Цвет при наведении */
        border-color: #cc5500 !important;
        /*color: white !important;*/ /* Цвет текста */
    }



.page-item.active .page-link {
    background-color: #ff6600 !important; /* Зеленый фон */
    border-color: #ff6600 !important;
    color: white !important;
}


.page-link {
    /*background-color: #cc5500 !important;*/ /* Новый цвет фона */
    border-color: #ff6600 !important; /* Новый цвет границы */
    color: white !important; /* Цвет текста */
}

    .page-link:hover {
        background-color: #cc5500 !important; /* Цвет при наведении */
        border-color: #cc5500 !important;
        /*color: white !important;*/ /* Цвет текста */
    }


/*Добавил поддержку сафари*/

/* Safari fix for text-align */
th {
    text-align: -webkit-match-parent; /* первый */
    text-align: match-parent; /* второй */
    text-align: inherit; /* при необходимости */
}





.img-map {
    max-width: 60%;
    height: auto;
    border: 1px solid #ddd;
}