﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  /*line-height: 60px;*/ /* Vertically center the text there */
}

.img_header {
  width: 100%;
  height: auto;
}

.img_main_card {
    width: 48.78%;
    padding-top: 32.92%;
    padding-bottom: 32.92%;
    margin-left: auto;
    margin-right: auto;
}

.items_center {
    align-items: center;
}

.main_card {
    min-width: 100%;
    height: 0;
    padding-top: 37.04%;
    padding-bottom: 37.04%;
    border-color: #0a0a0a;
    border-radius: 10px;
    border-width: 2px 2px 2px 2px;
    border: solid;
    display: flex;
    align-items: center;
}

.btn_main {
    border: none;
    background-color: #2a2a2a;
    border-radius: 20px;
    color: #f0f0f0;
    align-items: center;
    min-width: 240px;
    min-height: 42px;
    font-size:large;
}

.btn_main_lite {
    border: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--main-color-button);
    background-color: #ffffff;
    border-radius: 25px;
    min-width: 240px;
    max-width: fit-content;
    min-height: 42px;
    font-size: large;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    color: black !important;
    padding: 0 10px 0 10px;
    display: grid;
    align-items: center;
    text-align: center;
}

.btn_landing_lite {
    border: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--red);
    /*background-color: #ffffff;*/
    background-color: var(--red) !important;
    border-radius: 25px;
    min-width: 240px;
    max-width: fit-content;
    min-height: 42px;
    font-size: large;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    /*color: var(--red) !important;*/
    color: #ffffff !important;
    padding: 0 10px 0 10px;
    display: grid;
    align-items: center;
    text-align: center;
    text-shadow: 0 0 2px #f0f0f0 !important;
}

.btn_main_lite_warning {
    border: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--main-color-button);
    background-color: #FFA500;
    border-radius: 25px;
    min-width: 240px;
    max-width: fit-content;
    min-height: 42px;
    font-size: large;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    color: var(--main-color-button) !important;
    padding: 0 10px 0 10px;
    display: grid;
    align-items: center;
    text-align: center;
}
.btn_main_align {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn_main_lite:hover {
    background-color: var(--main-color-button) !important;
    color: #ffffff !important;
    text-shadow: 0 0 2px #f0f0f0 !important;
}

.btn_landing_lite:hover {
    background-color: var(--red) !important;
    color: #ffffff !important;
    text-shadow: 0 0 2px #f0f0f0 !important;
    box-shadow: 0px 0px 5px red;
}

.btn_main_lite_warning:hover {
    background-color: #ffffff !important;
    color: #FFA500 !important;
    text-shadow: 0 0 2px #FFA500 !important;
}

a.btn_main_lite:hover {
    text-decoration: none !important;
}

a.btn_landing_lite:hover {
    text-decoration: none !important;
}

a.btn_main_lite_warning:hover {
    text-decoration: none !important;
}

.row_main {
    margin-top: 20px;
}

h1, h2, h3, h4, h5, h6 {
    color:var(--main-color-3)
}

.blocks_list {
}

.blocks_list_item {
}

.cardadd_item_align_h {
    text-align: end;
}

.mobile-hide-block {
}

.custom-radio::before,
.custom-radio::after {
    background-color: var(--main-color-button) !important;
}
input[type="radio"],
input[type="checkbox"] {
    width: 42px;
    height: 42px;
}

.input_main_lite {
    border: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--main-color-input);
    background-color: #ffffff;
    border-radius: 25px;
    min-width: 240px;
    min-height: 42px;
    font-size: large;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    color: black !important;
    padding: 0 10px 0 10px;
    display: grid;
    align-items: center;
    text-align: center;
    width:100%;
}

.input_main_lite_align {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input_main_lite::file-selector-button {
    border: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--main-color-button);
    background-color: #ffffff;
    border-radius: 25px;
    min-width: 140px;
    max-width: fit-content;
    min-height: 44px;
    font-size: large;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    color: black !important;
    padding: 0 10px 0 10px;
    display: inline-block;
    direction: inherit;
    align-items: center;
    text-align: center;
    margin: -1px -11px -1px 00px;
    float: right;
}

.input_main_lite::first-line {
    
    text-align: center;
    margin: 0px -10px 0px 00px;
    color:red;
}

    .input_main_lite::file-selector-button:hover {
        background-color: var(--main-color-button) !important;
        color: #ffffff !important;
        text-shadow: 0 0 2px #f0f0f0 !important;
    }

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: var(--main-color-button);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--main-color-button);
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

h5:checked .enable-check{
    display: none;
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.enable-check-value {
    color: black;
    font-weight: bold;
}

.disable-check-value {
    color:grey;
}

.main_card_light {
    min-width: 100%;
    height: 0;
    padding-bottom: 74.08%;
    border-color: #a0a0a0;
    border-radius: 10px;
    border-width: 1px 1px 1px 1px;
    border: solid;
    display: flex;
    align-items: center;
}

    @media (max-width: 767px) {
        .mobile-hide-block {
            display: none;
        }

        .main_card {
            display: none;
        }

        .blocks_list {
            display: block;
            position: relative;
        }

        .blocks_list_item {
            display: inline-block;
        }

        .cardadd_item_align_h {
            text-align: center;
        }

        .col-order {
            order:2;
        }
    }


/* таблицы */
.table-standart {
    border: 1px solid #eee;
    table-layout: fixed;
    width: 100%;
    margin-bottom: 20px;
}

    .table-standart th {
        font-weight: bold;
        padding: 5px;
        background: #efefef;
        border: 1px solid #dddddd;
    }

.table-standart td {
    padding: 5px 10px;
    border: 1px solid #eee;
    text-align: left;
}

    .table-standart tbody tr:nth-child(odd) {
        background: #fff;
    }

    .table-standart tbody tr:nth-child(even) {
        background: #F7F7F7;
    }

/* progress bar */
.progress-bar__wrapper {
    position: relative;
}

.progress-bar__value {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

progress {
    width: 100%;
    height: 20px;
    border-radius: 50px;
    background-color: #eee;
    transition: width 300ms ease;
}

    progress[value]::-webkit-progress-bar {
        width: 100%;
        height: 20px;
        border-radius: 50px;
        background-color: #eee;
        transition: width 300ms ease;
    }

    progress[value]::-webkit-progress-value {
        width: 0;
        border-radius: 50px;
        background-color: maroon;
        transition: width 300ms ease;
    }

.progress-good[value]::-webkit-progress-value {
    background-color: blue;
}

.progress-supergood[value]::-webkit-progress-value {
    background-color: green;
}

/* Animation lable by placeholder input */
.input-container {
    position: relative;
}

.floating-label {
    position: absolute;
    opacity: 0; /* Начальное состояние: label невидим */
    transition: opacity 0.3s ease; /* Анимация прозрачности */
    pointer-events: none; /* Чтобы label не мешал вводу текста */
    top: -32px; /* Поднимаем label, когда он отображается */
}

.floating-input {
    margin-top:32px;
}

input:placeholder-shown + .floating-label {
    opacity: 0; /* Если input пуст, label невидим */
}

input:not(:placeholder-shown) + .floating-label {
    opacity: 1; /* Как только input не пуст, показываем label */
}

/* Стиль для затемнения фона */
.modal {
    display: none; /* По умолчанию скрыто */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
}

/* Контент модального окна */
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 550px;
}

/* Дополнительные стили для грида */
.row_hightlight_title {
    border-bottom: solid;
    border-width: 2px;
    border-color: lightgray;
    margin-bottom: 2px;
}

.row_hightlight {
    border-bottom: solid;
    border-width: 1px;
    border-color: lightgray;
    margin-bottom: 2px;
}

.col-md-row {
    margin-top: 15px;
    margin-bottom: 15px;
}

.pre-label {
    margin-left: 15px;
    margin-right: 15px;
    font-size: 1.2rem;
    align-self: center;
}

.button-find {
    margin-left: 15px;
    margin-right: 15px;
}