/* Настройки шаблона */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: "Actay-Regular";
    src: url("../fonts/Actay-Regular.otf") format("opentype");
    font-style: normal;
}

@font-face {
    font-family: "Montserrat-SemiBold";
    src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: "Montserrat-Medium";
    src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "Montserrat-Regular";
    src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

:root {
	--light: #ffffff;
	--dark: #282828;
	--contrast: #7790ED;
    --beige: #F6EEE3;
}

:root, body {font-size: 12px;}
@media screen and (min-width: 576px) {
	:root, body {font-size: 12px;}
}
@media screen and (min-width: 768px) {
	:root, body {font-size: 12px;}
}
@media screen and (min-width: 992px) {
	:root, body {font-size: 14px;}
}
@media screen and (min-width: 1200px) {
	:root, body {font-size: 16px;}
}

/* Элементы */
html {width: calc(100% + calc(100vw - 100%)); overflow-x: hidden;}
body {display: flex; flex-direction: column; margin: 0 auto; max-width: 1920px; font-family: 'Montserrat-Regular', sans-serif; color: #000; outline: 1px solid #ddd; overflow-x: hidden;}
#middle main  {overflow: inherit;}
*::before {pointer-events: none;}
@media (min-width: 1400px) {.container {max-width: 1296px;}}
/*@media (min-width: 1920px) {.bg-color::before {margin-left: -960px;}}*/
@media (min-width: 1920px) {

}

h1, .h1 {font-size: 2.5rem; font-family: "Actay-Regular", sans-serif;}
h2, .h2 {font-size: 2.625rem; font-family: "Actay-Regular", sans-serif;}
h3, .h3 {font-size: 2.5rem; font-family: "Montserrat-SemiBold", sans-serif;}
h4, .h4 {font-size: 1.5rem;}
h5, .h5 {font-size: 1.25rem;}
h6, .h6 {font-size: 1.125rem;}

a {text-decoration: none; color: var(--contrast)}

/* Общие */
.bg-purple{background: #637fe6;}
.text-purple{color: var(--contrast);}

img{user-select: none;}

.text-dark{color: var(--dark); }
.fw-600 {font-family: "Montserrat-SemiBold", sans-serif;}
.fw-500 {font-family: "Montserrat-Medium", sans-serif;}
.fw-400 {font-family: "Montserrat-Regular", sans-serif;}

.bg-color::before{background: transparent;}
.arrow-light {filter: invert(1) brightness(1);}
.swiper-button-disabled{    opacity: .35; cursor: auto; pointer-events: none;}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after{content: none;}

#center ol li{}
#center ol li::marker{ color: #7790ED; font-size: 1.7rem; font-weight: 900; font-family: "Montserrat-SemiBold";}
#center ul{padding: 0;}
#center ul li{list-style: none;position: relative; padding-left: 3rem;}
#center ul li::before{ content: " "; background-color: #7790ED; position: absolute; display: block; height: 24px; width: 24px; left: 0; bottom: 0; right: auto; top: 0; border-radius: 50%;}

.nav-buttons .button-prev ,
.nav-buttons .button-next {cursor: pointer;}

input[type="radio"] { -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 32px; height: 32px; border: solid 3px #7790ED; border-radius: 50%; background-color: white; position: relative; }
input[type="radio"]:checked { background-color: #ffffff; }
input[type="radio"]:checked::before { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; background-color: #7790ED; border-radius: 50%; transform: translate(-50%, -50%);}

.quiz_page { -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 32px; height: 32px; border: solid 3px #7790ED; border-radius: 50%; background-color: white; position: relative; }
.quiz_page:checked { background-color: #ffffff; }
.quiz_page:checked::before { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; background-color: #7790ED; border-radius: 50%; transform: translate(-50%, -50%);}

.form-check-input{border-color: #7790ED;}
.form-check-input:checked{background-color: #7790ED;}

.moduletable.fullbg{background: #fff;}

.modal-dialog .modal-content {border-radius: 0;}
.modal-dialog .modal-content .modal-header{    border-radius: 0; display: flex ; align-items: flex-start;}
.modal-dialog .modal-content *{border-radius: 0;}
/* Переопределение bootstrap */

.btn-primary {background: var(--contrast); border: 0;padding: 0.6rem 0.75rem;}
.btn-primary:hover {background: #637fe6;}

.button-prev {transform: scaleX(-1); }


.number10{width: 60px;}
.number8000{width: 130px;}
.number500{width: 100px;}
.number108{width:100px}
.number119{width:100px}
.number200{width:100px}

/* Меню */

header a {color: var(--dark); transition: all 0.2s ease-in-out;}
header a:hover {color: var(--contrast)}

header .parent{position: relative;padding-right: 2rem;}
header .parent::before{content: ''; width: 12px; height: 12px; border: 1px solid #000; border-left: none; border-bottom: none; transform: translateY(-50%) rotate(135deg); top: 35%; right: 10px; position: absolute;    transition: 0.2s all;}
header .parent .mod-menu__sub {display: none; position: absolute; top: 100%; left: 0;  }
header .parent:hover::before{ transform: translateY(-50%) rotate(-45deg); top: 65%;}
header .parent:active .mod-menu__sub ,
header .parent:hover .mod-menu__sub {display: flex; padding: 1.5rem; max-width: 200px; width: 200px;  flex-direction: column; gap: 0.5rem; background: #fff; box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.15); border-radius: 0; }
header .parent a{font-size: 1.125rem;}

.navbar-nav ul{flex-direction: column; gap: 1rem; margin-bottom: 1rem;}

.mod-contacts{}
.mod-contacts .tel-2,
.mod-contacts .geo{display: none;}

/* Баннер */
.mod-banner{}
.mod-banner img{ max-height: 650px;}

/* Каталог */
.mod-catalog {}
.mod-catalog .h4{font-weight: 600;}
.mod-catalog .text-wrap img{width: auto;}
.mod-catalog .img-wrap {height: 17rem;}
.mod-catalog .img-wrap img{max-height: 260px;}
.mod-catalog .nav-buttons{}

.mod-catalog .button-next {}
.mod-catalog .owl-carousel .owl-nav{display: none;}
.mod-catalog-items .catalog-item:hover {opacity: 0.7;}

/* О компании */

.mod-about {padding-bottom: 7.5rem;}
.mod-about .h2{font-size: 3rem !important;}

/* Квиз */
.mod-quiz{padding-top: 3.8rem;padding-bottom: 7.5rem;}
.mod-quiz .number-slide{ }
.mod-quiz .quiz-pages{ }
.mod-quiz .quiz-pages .check-input { display: flex ; position: absolute; top: 1rem; left: 1rem;}
.mod-quiz .quiz-page{display: none;}
.mod-quiz .quiz-page.active{display: flex;}
.mod-quiz .quiz-pages img{height: 150px;}
.mod-quiz .title{font-size: 2rem;margin-bottom: 1rem;}
.mod-quiz .btn-primary {padding: 0.5rem 2.5rem;}
.mod-quiz .btn-primary img{ height: auto !important;}
.mod-quiz .btn.disabled.btn-primary {background: #7790ed; opacity: 0.5;}
.mod-quiz .form-control{ border-radius: 0; max-width: 600px;}
.mod-quiz .form-check{max-width: 600px;}

/* Каталог камней */
.mod-catalog-stones{padding-bottom: 4rem;}
.mod-catalog-stones .owl-stage-outer{overflow: visible;}
.mod-catalog-stones .text-wrap img{width: auto;}
.mod-catalog-stones .img-wrap img{height: 300px;}
.mod-catalog-stones .owl-nav{display: none;}
.mod-catalog-stones .owl-nav button.disabled svg{visibility: hidden;}

.catalog-stones{}
.catalog-stones input:focus-visible{border: none;}
.catalog-stones input[type="number"]{    background: #F6EEE3; border: none; padding: 0.5rem; width: 100%;}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none;}

.catalog-stones .filter .filter-point{cursor: pointer;}
.catalog-stones .filter .active{color: #7790ed;}
.catalog-stones .filter .active{color: #7790ed;}
.catalog-stones .catalog-stones-items .item{display: flex;}



/* Мод инфо*/
.mod-info{}
.mod-info li::before{ border-radius: 0;}
.mod-info img{max-width: 90%;}

/* Цитата */
.mod-quote{}
.mod-quote .h2{font-size: 2.7rem;}
.mod-quote .h3{font-size: 2.25rem;}
.mod-quote .wrap {background: var(--contrast); color: var(--light);}
.mod-quote .wrap::before{    content: " "; position: absolute; background: url(/images/modules/mod-quote/002.png); height: 100%; width: 100%; left: 0; bottom: 10%; right: 0; top: 0; background-repeat: no-repeat; background-position: left 4% bottom 20%;}

.mod-slider-portfolio{}
.mod-slider-portfolio .btn-purple{ height: 50px; width: 50px;}
.mod-slider-portfolio .slider-interface{position: absolute; max-height: 100%; left: 0; right: 0; top: 0; bottom: 0; z-index: 1; margin: 5rem 0; border: 4px solid #fff; padding: 1rem 4rem;}
.mod-slider-portfolio .slider-interface .nav-buttons-tabs {position: absolute; left: 0; right: 0; bottom: 1.5rem; width: 100%; padding: 0 1rem;}
.mod-slider-portfolio .slider-interface .nav-buttons-tabs .button-prev{transform: none;}
.mod-slider-portfolio .title{}
.mod-slider-portfolio .item-title{font-size: 2rem;}

.mod-slider-portfolio .slider-carousel{position: absolute; left: 50%; margin-left: -50vw; width: calc(100% + calc(100vw - 100%)); background: #f6f6f6; display: flex; visibility: hidden; z-index: -1;}
.mod-slider-portfolio .slider-carousel.active{ position: relative; visibility: visible; z-index: 1;}
.mod-slider-portfolio .owl-item .image img{height: 62.5rem;object-fit: cover;}

.mod-slider-portfolio .tab-but{padding: 0.5rem;background: #fff; cursor: pointer;position: relative;}
.mod-slider-portfolio .tab-but::before{position: absolute; content: " "; left: 50%; bottom: 100%; transform: translateX(-50%); width: 18px; height: 18px; }



.mod-slider-portfolio .owl-carousel.accordion-item .owl-item .hov-tab{ background: #fff;visibility:hidden}

/* On-line дизайнер */
.mod-design{padding-top: 7.5rem;padding-bottom:7.5rem;}
.mod-design p{font-size: 1.5rem;line-height: normal;}
.mod-design .btn-primary{padding: 0.6rem 2.5rem; border-radius: 0;}
/* Профили */
.mod-profil{padding-bottom: 7.5rem;}
.mod-profil .owl-carousel .owl-nav{max-width: 1400px;width: 95vw;display: none;}

@media  (min-width: 1200px){
    .profili .profil-all .item .introtext_two {display: none;}
    .profili .profil-all .item:hover .introtext_two {box-shadow: 2px 2px 20px rgba(0,0,0,.3); padding: 1rem; bottom: -1rem; top: -1rem; left: -1rem; right: -1rem; display: flex;  align-items: flex-start; background: #fff; flex-direction: column; justify-content: center; border-radius: 1rem; position: absolute;}
}


.mod-collab.bg-color-rigth::before,
.mod-profil.bg-color-rigth::before,
.mod-provider.bg-color-rigth::before {margin-left: 39%;}
/* Сотрудничество  */
.mod-collab{padding-bottom: 7.5rem;}
/* Поставщики  */
.mod-provider{padding-bottom: 7.5rem;}
.mod-provider .owl-stage-outer { overflow: visible; }
.mod-provider .owl-stage,
.mod-provider .owl-item{display: flex;align-items: center;justify-content: center;}
.mod-provider
.katalog .mod-provider{padding-top: 7.5rem;}

/* Отзывы */
.mod-reviews{padding-bottom: 7.5rem;}
.mod-reviews .wrap {background: var(--beige);}
.mod-reviews .swiper-reviews .swiper-slide-next.wrap {background: var(--contrast); color: var(--light); transition: all 0.3s ease-in-out;}
.mod-reviews .owl-stage-outer{overflow: visible;}
.mod-reviews .owl-item.active.center svg path{fill: #FFFFFF;}
.mod-reviews .owl-item.active.center .wrap{background: #7790ED;}
.mod-reviews .owl-item.active.center{ color: #ffffff;}
.mod-reviews .owl-carousel .owl-nav{max-width: 1400px;width: 95vw; display: none;}
/* Контакты */
.mod-map{}
.mod-map .contact-info{ position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; pointer-events: none;}
.mod-map .contact-iframe{ position: relative; left: 50%; margin-left: -50vw; width: calc(100% + calc(100vw - 100%)); background: #f6f6f6;display: flex;}
.mod-map .svg img{    min-width: 35px; min-height: 35px;}
.mod-map .btn-light{padding:0.6rem 2.5rem;border-radius: 0;}
.mod-map .bg-purple{pointer-events: all;}

.mod-contacts-bottom {margin-top: 1rem;}
.mod-contacts-bottom::before { height: 1px; background: #7790ED; top: 0;content: " ";}
.mod-contacts-bottom .svg img{    min-width: 35px; min-height: 35px;}


/*Подвал сайта */
footer{background: #F6EEE3;}
footer a{font-size: 1.125rem;color:var(--dark)}
footer .mod-menu__sub a{ font-size: 1rem;}
footer .nav-header{ display: none;}
footer .nav-item.item-118 a{font-size: 1.125rem;}

.mod-company{padding-top: 7.5rem;}

.profil{}
.profil ul li::before{    height: 20px !important; width: 20px !important; top: 50% !important; transform: translateY(-50%) !important;}

.fotogalerea .main-image {max-height: 450px;height: 450px;display: flex;align-items: center;}
.fotogalerea .main-image img{width: 100%;height: 100%;}
.profili .fotogalerea .main-image img{height: auto;}

.owl-fotogalerea{ margin-top: 2rem;}
.owl-fotogalerea .owl-nav{display: none;;}
.owl-fotogalerea .owl-stage-outer .owl-stage{display: flex;align-items: end;}
.owl-fotogalerea .img-wrap{cursor: pointer; height: 140px; width: 100%; display: flex; align-items: center;}
.owl-fotogalerea .img-wrap img{user-select: none;height: 100%;}
/* Страница каталога*/
.katalog.catalog-page .mod-catalog,
.katalog.catalog-page .mod-collab,
.katalog.catalog-page .mod-provider,
.katalog.catalog-page .mod-catalog-stones{display: none;}

/* детальная страница каталога*/
/* .catalog-page #center {}
.catalog-page #center .header-title {cursor: pointer;}
.catalog-page #center  ul{display: flex;flex-direction: column;gap: 1rem;}
.catalog-page #center  ul li{}
.catalog-page #center  ul li::before{padding-left: 1.25rem;background-color: #fff !important;border-radius: 0 !important;}
.catalog-page p{font-size: 1.25rem;}
.catalog-page .accordion-catalog-page .header-title.collapsed svg{transform: rotate(90deg);    min-width: 41px; min-height: 41px;} */

.mod-catalog {}
.mod-catalog .header-title {cursor: pointer;}
.mod-catalog ul{display: flex;flex-direction: column;gap: 1rem;}
.mod-catalog ul li{}
.mod-catalog ul li::before{padding-left: 1.25rem;background-color: #fff !important;border-radius: 0 !important;}
.mod-catalog p{font-size: 1.25rem;}
.mod-catalog .accordion-catalog-page .header-title.collapsed svg{transform: rotate(90deg);    min-width: 41px; min-height: 41px;}

.mod-example{margin-top: 7.5rem;}
.mod-example .owl-carousel .img-wrap{ height: 30rem;}
.mod-example .owl-carousel .owl-nav{display: none;}

.portfolio-categories__items{margin-bottom: 7.5rem;margin-top: 7.5rem;}
.portfolio-page {}
.portfolio-page .text *{line-height: normal;margin-bottom: 0;}
.portfolio-page .image img{aspect-ratio: 1/.5;}
.blogitem .fotogalereya_img_keys > a > img, .profil_foto_primer {aspect-ratio: 1/1; object-fit: cover;}
.portfolio-page .title{font-size: 1.3rem;}
.portfolio-page a{color: var(--contrast);}
.portfolio-page ul{padding-top: 0.5rem !important;}
.portfolio-page li{padding-bottom: 0.5rem !important;}

.visualizer-categ {margin-top: 7rem !important;}

/* Страница О компании*/
.o-kompanii.mod-catalog.bg-color-rigth::before{background: transparent;}

/* Страница каталога*/
.katalog-kamnej.catalog-stones-page{}
.katalog-kamnej.catalog-stones-page .mod-provider,
.katalog-kamnej.catalog-stones-page .mod-info {display: none;}

.katalog-kamnej .owl-fotogalerea .img-wrap{}
.katalog-kamnej .owl-fotogalerea .img-wrap img{height: 150px;}
.catalog-stones-page .h4 {color: var(--contrast);}
.catalog-stones-page .h4 span{font-weight: 400;color: #000;}
.catalog-stones-page .introtext  {font-size: 1.5rem;;}

/* Страница Профили*/
.profili .owl-fotogalerea .img-wrap img{object-fit: contain;}
/* Адаптация */

@media (min-width: 576px) {
    .fotogalerea .nav-buttons{    position: absolute; left: 0; top: 50%; transform: translateY(-50%);}
    .mod-slider-portfolio .btn-purple{background: #7790ED;}

}

@media (min-width: 768px) {
    h2, .h2 {font-size: 3.125rem; font-family: "Actay-Regular", sans-serif;}
    h3, .h3 {font-size: 2.5rem; font-family: "Montserrat-SemiBold", sans-serif;}
    h4, .h4 {font-size: 1.5rem;}
    h5, .h5 {font-size: 1.25rem;}
    h6, .h6 {font-size: 1.125rem;}

    .bg-color::before{background: #F6EEE3;}
    .bg-color-rigth::before{margin-left: 48%;left: 0;}
    .bg-color-left::before{margin-left: -95%;left: 0;}

    .navbar-nav ul{flex-direction: row;gap: 0;margin: 0;}

    .mod-catalog{}
    .mod-catalog .owl-carousel .owl-nav{display: block;max-width: 1400px;width: 95vw;}

    .mod-about .h2{font-size: 4rem;}

    .mod-catalog-stones .owl-carousel .owl-nav{display: block;max-width: 1400px;width: 95vw;}

    .mod-quiz{}
    .mod-quiz .quiz-pages img{height: 250px;}

    .mod-info{}

    .mod-quote{}
    .mod-quote .h2{font-size: 3.125rem;}
    .mod-quote .h3{font-size: 2.5rem;}

    .mod-design{}

    .mod-profil{}
    .mod-profil img{padding: 2rem 0 4rem 0;}
    .mod-profil .owl-carousel .owl-nav{display: block;}

    .mod-reviews{}

    .mod-example .owl-carousel .owl-nav{display: block;max-width: 1400px;width: 95vw;}

    .mod-slider-portfolio .show .tab-but::before{background: #fff; z-index: 1;}
    .mod-slider-portfolio .owl-carousel.accordion-item .owl-item .show .hov-tab{visibility: visible;}
}
@media (min-width: 1400px) {
    h1, .h1 {font-size: 4.375rem; font-family: "Actay-Regular", sans-serif;}
}

@media (max-width: 1200px) {
    .profili .profil-all .item .introtext_two {display: flex;}
    .profili .profil-all .item .introtext {display: none;}
    .profili .profil-all {margin-bottom: 50px;}
    .profili .profil-all .item {gap: 0 !important;}
}



/* Анимации */

.delay-1 {-webkit-animation-delay:200ms;animation-delay:200ms}
.delay-2 {-webkit-animation-delay:400ms;animation-delay:400ms}
.delay-3 {-webkit-animation-delay:600ms;animation-delay:600ms}
.delay-4 {-webkit-animation-delay:800ms;animation-delay:800ms}
.delay-5 {-webkit-animation-delay:1000ms;animation-delay:1000ms}
.delay-6 {-webkit-animation-delay:1200ms;animation-delay:1200ms}
.delay-7 {-webkit-animation-delay:1400ms;animation-delay:1400ms}
.delay-8 {-webkit-animation-delay:1600ms;animation-delay:1600ms}
.delay-9 {-webkit-animation-delay:1800ms;animation-delay:1800ms}
.delay-10 {-webkit-animation-delay:2000ms;animation-delay:2000ms}

