:root {
    --default-gray: #ffffff;
    --default-white: #ffffff;
    --main-color-primary: #ABFABB;
    --main-color: #00223F;
    --main-active-color: #546458;
    --secondary-color: #35423a;
    --bs-light-rgb: 255, 255, 255;
}

body, html {
    overflow-x: hidden; /* Предотвращение горизонтального скроллинга */
}

.gray
{
    background-color: var(--default-gray)
}

.white
{
    background-color: var(--default-white)
}

.image-container {
    position: relative;
    width: 100%;
    height: 500px;
    box-sizing: border-box; /* Учитывает padding и border в ширине и высоте */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 15px;
    box-sizing: border-box; /* Учитывает padding и border */
}

@media (max-width: 767px) {
    img {
        width: 100%;
    }

    .center-image {
        height: auto !important;
        padding: 20px 0; /* Добавление отступов сверху и снизу */
    }
}


@media (min-width: 768px) {
    .text-overlay {
        left: auto;
        right: 100px; /* Смещение вправо */
        transform: translateY(-50%);
    }

    .blocks {
        flex-direction: column;
        align-items: center;
    }
}



.container {
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;

    position: relative;
}
.container h1 {
    font-size: 48px;
}
.container h2 {
    font-size: 24px;
}
.container p {
    font-size: 20px;
}

.block h3 {
    font-size: 18px;
    margin: 0;
}
.block p {
    font-size: 28px;
    margin: 10px 0 0;
    color: #000;
}
.positive {
    color: rgba(104, 159, 56, 1);
}
.neutral {
    color: rgba(255, 193, 7, 1);
}
.negative {
    color: rgba(240, 98, 146, 1);
}

/* Секция с картинками */
.white .image-container {
    height: auto;
}
.white .image-container img {
    width: 100%;
    height: auto;
}
.white .image-caption {
    text-align: center;
    margin-top: 10px;
}

.square-card {
    width: 200px;
    height: 200px;
    aspect-ratio: 1 / 1;
    background-color: var(--default-gray) !important;
}

.no-border {
    border: 0 !important;
    box-shadow: none !important; /* You may want to include this as bootstrap applies these styles too */
}

.custom-table th {
    width: 400px; /* Регулируйте ширину по необходимости */
    text-align: left;
    border-top: none;
    border-bottom: none;
}
.custom-table td {
    border-top: none;
    border-bottom: none;
}
.custom-table tbody tr {
    border-top: 1px solid #e9ecef;
}

.center-image {
    
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Высота секции будет на весь экран */
    text-align: center; /* Для центрирования текста на маленьких экранах */
}
.center-image img {
    max-width: 1000px;
    width: 100%;
    height: auto;
}




.standard-package {
    background-color: var(--default-gray);
  }
  
  .standard-package h2 {
    font-size: 2rem;
    font-weight: bold;
  }
  
  .standard-package ul li {
    margin-bottom: 0.5rem;
    color: #6c757d;
  }
  
  .standard-package .btn-primary {
    background-color: #20c997;
    border-color: #20c997;
  }
  
  .standard-package .btn-primary:hover {
    background-color: #1ba87e;
    border-color: #1ba87e;
  }
  
    /* ПОКРАСКА */
  .btn{
        border: none !important;
        outline: none !important;
        height: 45px !important;
        background: #ececec !important;
        border-radius: 5px !important;
        transition: .4s !important; 
        background-color: var(--main-color) !important;
        color: #fff !important;
    }
    .btn:hover{
        background: var(--secondary-color)  !important;
        color: #fff !important;
    }

    

    /* Стиль для primary кнопки */
    .btn-primary {
        background-color: var(--main-color-primary) !important; /* Основной цвет кнопки */
        color: var(--main-color) !important; /* Цвет текста */
        border: none !important; /* Убираем границу */
        border-radius: 5px !important; /* Закругление углов */
        padding: 10px 20px !important; /* Отступы внутри кнопки */
        font-weight: 600 !important; /* Увеличение толщины шрифта */
        font-size: 16px !important; /* Размер шрифта */
        cursor: pointer !important; /* Курсор-указатель при наведении */
    }

    .btn-primary:hover {
        background-color: var(--secondary-color) !important; /* Темный оттенок при наведении */
    }

    .btn-primary:active {
        background-color: var(--main-active-color) !important; /* Цвет при нажатии */
    }

    .btn-primary:focus {
        outline: none !important; /* Убираем стандартное выделение */
    }

    .nav-pills .nav-link.active, .nav-pills .show>.nav-link
    {
        background-color: var(--main-color) !important;
    }

    .nav-pills-dark .nav-link.active {
        background-color: var(--main-active-color) !important;
    }

    .list-range .btn-check:checked + .list-range-item:after
    {
        background-color: var(--main-active-color) !important;
    }

    .dynamic-table .dx-datagrid-headers .dx-datagrid-content td
    {
        background-color: var(--main-active-color) !important;
    }


  @media (max-width: 991.98px) {
    .standard-package .col-lg-6:first-child {
      order: -1;
    }
  }



  /* FOR GOOGLE CHARTS */

  .google-visualization-tooltip {
    pointer-events: none;
  }

  .chart-container {
    height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  @media (max-width: 767px) {
    .chart-container {
      height: 350px;
    }
  }



.no-scroll {
    overflow-y: hidden;
}

.disclaimer-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.disclaimer-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Увеличиваем ширину модального окна */
.disclaimer-modal {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    max-width: 700px; /* Увеличиваем ширину */
    width: 90%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    max-height: 80vh; /* Ограничиваем высоту */
    overflow-y: auto; /* Включаем скроллинг для содержимого */
}

.disclaimer-modal-overlay.show .disclaimer-modal {
    transform: translateY(0);
}

.disclaimer-modal h2 {
    color: #333;
    margin: 0 0 1rem;
}

.disclaimer-modal p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.disclaimer-modal button {
    padding: 0.8rem 2.5rem;
    border: none;
    border-radius: 5px;
    background: #007bff;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.disclaimer-modal button:hover {
    background: #0056b3;
}

.disclaimer-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

/* Мобильная версия: корректируем размеры */
@media (max-width: 768px) {
    .disclaimer-modal {
        width: 95%;
        padding: 1.5rem;
        max-height: 70vh; /* Ограничиваем высоту для мобильных устройств */
        overflow-y: auto; /* Включаем вертикальный скроллинг */
    }
}


/* CONTACT US */

form {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  input[type="text"],
  input[type="tel"],
  input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 15px;
  }
  
  button[type="submit"] {
    color: black;
    padding: 10px 20px;
    border: 1px solid #000000;
    border-radius: 3px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s, border 0.3s;
  }
  
  button[type="submit"]:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.5);
  }

  .attention {

    text-align: center;
}


.navbar-brand img {
    transform: scale(2); /* Увеличение на 50% */
    transform-origin: center; /* Центрируем масштабирование */
}
