/* Отступ от меню */
.fix__menu__not_banner {
    margin-top: 180px;
}

@media (max-width: 1137px) {
    .fix__menu__not_banner {
        margin-top: 120px;
    }
}

/* Картинка на фоне страницы */
#bg_img {
    position: absolute;
    top: 130px;
    bottom: 0;
    right: 30px;
    left: 0;
    z-index: -1;
    transform: scale(-1, 1);
    background: url(/storage/media/blocks/body/dragon_bg.svg) no-repeat;
    background-size: auto;
}

main:has(#banner) {
    background-position-y: 1000px;
}

/* Кнопки в едином стиле */
.btn {
    height: 60px !important;
    border-radius: 5px !important;
}

.btn:hover {
    opacity: 0.9;
}

.input {
    height: 60px !important;
    border-radius: 5px !important;
}

/* Navbar */
nav .nav-item.active {
    font-weight: bold;
}

/* Modals popup */
body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/*.modal .default_img {
    width: -webkit-fill-available;
}*/

.popup__form label.input {
    display: block;
    min-width: 0;
    width: 100%;
    background: var(--actions-input-text-bg, white);
    border: var(--actions-input-text-border, 1px solid #000);
    text-align: left;
    cursor: text;
    padding: 21px 5px 10px 10px;
    line-height: 0.4;
    font-size: 12pt;
    height: 60px !important;
    border-radius: 1rem !important;
}

.popup__form .input__label {
    display: block;
    font-size: 12px;
    margin-top: -0.4em;
    margin-bottom: 0.1em;
}

.popup__form input[name=phone],
.popup__form input[type=text] {
    background: transparent;
    border: none;
    padding: 8px 5px 5px 5px;
    color: inherit;
    min-width: 0;
    width: 100%;
    -webkit-animation-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    font: inherit;
    outline: 0;
    outline-offset: 0;
}

.popup__form button[type=submit] {
    height: 60px !important;
}

.form-check-label a {
    font-size: 10px !important;
}

.popup__form input::placeholder {
    font-weight: normal;
    opacity: 0.9;
    color: gray;
}
/* end */

/* Badge collection.blade.php */
.badge-collection {
    top: 7px;
    right: 7px;
    padding: 6px;
    /*font-size: 9px;*/
    line-height: 10px;
    background-color: #000000 !important;
    color: #b0f4e1 !important;
}

.badge-collection-t1 {
    top: -6px;
    right: 25px;
    padding: 8px 8px 6px;
    /*font-size: 11px;*/
    line-height: 10px;
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Carousel Main */
#carouselMain .carousel-item {
    width: 100%;
    /*height: calc(100vh - 56px);*/
}

/* Fixbug modal */
body {
    padding-right: 0!important;
}

/* Anchor */
.anchor {
    top: -90px
}

/* Таблица с Ценой и Скидками */
.options .table th {
    color: #6c757d !important;
    font-weight: normal;
    font-size: 12pt;
}

.options .table tr:last-child {
    border-bottom: solid 0px #ffffff00 !important;
}

.options .table td {
    background: unset;
}

.options table.price th {
    background: none;
}

.options .configurations_tabs button {
    background-color: #ffffff !important;
    border: solid 1px rgba(0, 0, 0, 0.29);
    margin: 3px 15px 3px 0;
    padding: 5px 10px;
    text-decoration: none;
    color: #0000008a !important;
}

.options .configurations_tabs button:hover,
.options .configurations_tabs button.active {
    color: black !important;
    text-decoration: none;
    border: solid 1px #7e7e7e
}

/* Таблица с  Характеристиками */
.specifications table tr {
    border: solid 0 #cacaca !important;
}

.specifications table tr:last-child {
    border: solid 0 #ffffff00 !important;
}

.specifications table th {
    background: none;
    color: #6c757d !important;
    font-weight: normal !important;
}

.specifications table td {
    font-weight: normal !important;
}

.specifications_block {
    background: #ffffff;
}

/* News */
.btn-dark-news {
    border-radius: 1rem !important;
}

.btn-dark-news:hover {
    background: #f5f1f1;
}

.btn-primary-news {
    border-radius: 1rem !important;
    background: #50B2C9 !important;
    border: solid 1px #00aabb !important;
    color: white !important;
}

/* swiper-slide */
.swiper-slide img.card-img-top {
    border-radius: 0.8rem !important;
}

/* Info Modal */
@media (min-width: 1200px) {
    .video_info_table {
        position: absolute;
    }
}

/* Select field */
select.form-control,
select.form-control:disabled {
    background: none;
    border: none;
}

select.form-control:disabled {
    color: gray !important;
}

select.form-control option {
    color: black;
}

select.form-control:has(option:checked:disabled) {
    color: gray !important;
    background: none !important;
}

select.form-control:focus {
    box-shadow: none;
    background: #ffffff00;
}

/* default */
@media (max-width: 575.98px) {
    .rounded-0-sm {
        border-radius: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .rounded-0-md {
        border-radius: 0 !important;
    }
}

@media (max-width: 991.98px) {
    .rounded-0-lg {
        border-radius: 0 !important;
    }
}

@media (max-width: 1199.98px) {
    .rounded-0-xl {
        border-radius: 0 !important;
    }
}

.ratio.ratio-3x2 {
    --bs-aspect-ratio: calc(2 / 3 * 100%);
}
