﻿	
	/* САЙТ */
	
	/* РАЗРЕШЕНИЯ для перестройки шаблона */ 
	/* ПК 1024 - 1920 */
	/* Планшет 900 - 1024 */
	/* Планшет 600 - 900 */
	/* Мобильный 320 - 412 */
	/* Мобильный 412 - 600 */ 

	/* шрифты */
body {font-family: "Rubik", sans-serif;}
p, html {font-size: 18px;}
@media all and (min-width: 1460px) { p, html {font-size: 20px;} }
@media all and (min-width: 1600px) { p, html {font-size: 22px;} }
@media all and (min-width: 1760px) { p, html {font-size: 24px;} }
@media all and (min-width: 1900px) { p, html {font-size: 26px;} }
@media all and (max-width: 600px) {	p, html {font-size: 16px;} }
h1 {}
h2 {font-size: 1.6rem; text-align: center; margin: 40px 0;}


	/* СТИЛИЗАЦИЯ ФОРМ */
	
	/* все поля */
input, date, datetime-local, select, textarea, button.button, a.button, .butgrey {display: inline-block; padding: 10px 20px; margin: 5px 2px; box-sizing: border-box; border: 1px solid #4d4d4d; border-radius: 10px; font-size: .9rem;}
	/* кнопки */
input[type=submit], input[type=button], button.button, a.button, .butgrey {color: white; cursor: pointer; background-color: var(--color); border: 1px solid var(--color_dark); font-weight: bold; transition: .4s; line-height: 1;}
.butgrey {color: #222222; background-color: #dddddd; border: 1px solid #b2b2b2;}
	/* наведение */
input[type=submit]:hover, input[type=button]:hover, button.button:hover, a.button:hover {background-color: var(--color_dark); transition: .4s;}


	/* ЦВЕТА */

:root {
	--color: #119639; /* зеленый */
	--color_light: #66D387;
	--color_dark: #257D40;
}
.color  {color: var(--color);}


	/* Если у заголовка есть пояснение, то оборачиваем в блок и добавляем класс */

.h2_exp h2 {margin-bottom: 20px;}
.h2_exp p {text-align: center; max-width: 700px; margin: 0 auto; margin-bottom: 40px;}

.fon_gradient {background: linear-gradient(to top, #f9f9f9, #f6f4f4);}


	/*****************/
	/* ГОТОВЫЕ БЛОКИ */
	/*****************/
	
	/* ГЛАВНЫЙ */
	
#main1 {width: 100%; min-height: 100vh; background-size: cover; background-repeat: no-repeat; background-position: 50% 50%;}
#main1 > div {width: 100%; min-height: 100vh; background: linear-gradient(to right, rgba(255,255,255,.9) 0px, rgba(255,255,255,.8) 40%, rgba(255,255,255,0) 50%); padding: 10px var(--li); display: flex; flex-direction: column;}
#main1.cup > div {background: linear-gradient(to right bottom, rgba(255,255,255,.9) 0px, rgba(255,255,255,.8) 640px, rgba(255,255,255,0) 790px);} /* косой фон для шкафов */
#main1 .top {display: flex; align-items: center; justify-content: space-between;}
#main1 .top img.logo {max-height: 100px; margin: 10px;}
#main1 .top .top_right p {text-align: right;}
#main1 .top .top_right p.phone {font-size: 2rem;}
#main1 .main_content {min-height: calc(100vh - 140px); display: flex;}
#main1 .main_content > div {margin: auto; margin-left: 0; max-width: 46%;}
#main1 .main_content h1 {font-size: 2.2rem; color: var(--color);}
#main1 .main_content p.offer {font-size: 1.4rem; margin: 25px 0; font-weight: bold;}
#main1 .main_content p.action_but {margin-top: 20px;}
#main1 .main_content .utp p {line-height: 1.7; color: var(--color); font-weight: bold;}

@media all and (max-width: 1320px) {
	#main1 > div {background: linear-gradient(to right, rgba(255,255,255,.9) 0px, rgba(255,255,255,.8) 520px, rgba(255,255,255,0) 670px);}
	#main1 .main_content > div {max-width: 650px;}
}
@media all and (max-width: 480px) {
	#main1 .top {flex-direction: column;}
	#main1 .top .top_right p {text-align: center;}
}


	/* О КОМПАНИИ */

#about1 > div {display: flex; align-items: center; justify-content: space-around; }
#about1 .text {width: 56%; padding: 0 5px;}
#about1 .text h2 {font-size: 1.4rem; text-align: center; margin-bottom: 20px;}
#about1 .text p {font-size: 1rem; text-align: justify; line-height: 1.6; margin-bottom: 20px;}
#about1 .image {width: 40%; display: flex; flex-wrap: wrap;}
#about1 .image > img {width: calc(50% - 20px); margin: 10px;}

@media all and (max-width: 1024px) {
	#about1 .text p {font-size: 1rem;}
}
@media all and (max-width: 900px) and (min-width: 601px) {
	#about1 .text p {font-size: .9rem;}
	#about1 .text {width: 54%;}
	#about1 .image {width: 42%;}
	#about1 .image > img {width: calc(50% - 8px); margin: 4px;}
}
@media all and (max-width: 600px) {
	#about1 > div {flex-direction: column;}
	#about1 .text {width: 100%; padding-bottom: 20px;}
	#about1 .image {width: 100%;}
}


	/* КЕЙСЫ */

#cases .cases {display: flex; flex-direction: column; align-items: center;}
#cases .cases > div {width: 100%; display: flex; align-items: center; justify-content: space-around; padding: 40px 0;}
#cases .cases .img {width: 45%; padding-right: 10px;}
#cases .cases .text {width: 45%; padding-left: 20px;}
#cases .cases .text h3 {font-size: 1.4rem;}
#cases .cases .text p.price {font-weight: bold; margin: 10px 0;}
#cases .cases .text ul {margin: 20px 0;}
#cases .cases .text ul li {line-height: 1.7; margin-left: 20px;}
#cases .cases .text p.price_about {font-size: .8rem; margin: 20px 0;}

@media all and (max-width: 1024px) and (min-width: 671px) {
	#cases .cases .text {width: 55%; padding-left: 30px;}
	#cases .cases .text h3 {font-size: 1.3rem;}
	#cases .cases .text p.price {font-weight: bold; margin: 5px 0;}
	#cases .cases .text ul {margin: 10px 0;}
	#cases .cases .text ul li {line-height: 1.5; font-size: .9rem;}
	#cases .cases .text p.price_about {font-size: .8rem; margin: 10px 0;}
}
@media all and (max-width: 900px) and (min-width: 671px) {
	#cases .cases .text {width: 55%; padding-left: 20px;}
	#cases .cases .text h3 {font-size: 1.1rem;}
	#cases .cases .text p.price {font-weight: bold; margin: 5px 0;}
	#cases .cases .text ul {margin: 5px 0;}
	#cases .cases .text ul li {line-height: 1.4; font-size: .8rem;}
	#cases .cases .text p.price_about {font-size: .7rem; margin: 5px 0;}
}
@media all and (max-width: 760px) {
	#cases .cases > div {flex-direction: column;}
	#cases .cases .img {width: 100%; max-width: 550px; padding-right: 0; padding-bottom: 30px;}
	#cases .cases .text {width: 100%; max-width: 550px; padding-left: 0;}
}


	/* МАТЕРИАЛ */

.material1 > div {display: flex; align-items: center; justify-content: space-around;}
.material1 > div > div {width: 40%; padding: 10px; text-align: center;}
.material1 > div > div > img {border-radius: 50%; max-height: 300px;}
.material1 > div > div > h3 {margin-bottom: 5px;}

@media all and (max-width: 900px) and (min-width: 601px) {
	.material1 > div > div {width: 50%; padding: 5px;}
	.material1 > div > div > img {border-radius: 50%; max-height: 200px;}
	.material1 > div > div > p {font-size: .85rem;}
}
@media all and (max-width: 600px) {
	.material1 > div {flex-direction: column;}
	.material1 > div.reverse {flex-direction: column-reverse;}
	.material1 > div > div {width: 100%;}
}


	/* ДЕКОРЫ */

#decoration1 .flex {flex-wrap: wrap;}
#decoration1 .flex > div {display: flex; width: calc(12.5% - 20px); margin: 10px; border-radius: 50%; overflow: hidden; border: 2px solid var(--color);}
#decoration1 .flex img {border-radius: 50%; transition: 1s; margin: auto;}
#decoration1 .flex img:hover {transform: scale(1.4); transition: 1s;}

@media all and (max-width: 1024px) {
	#decoration1 .flex > div {width: calc(16.6% - 20px);}
}
@media all and (max-width: 600px) {
	#decoration1 .flex > div {width: calc(25% - 10px); margin: 5px;}
}


	/* ПРЕИМУЩЕСТВА */

.advantages1_tile {display: flex; flex-wrap: wrap; overflow: hidden;}
.advantages1_tile > div {display: flex; flex-direction: column; width: 33.3%; padding: 40px 20px;}
.advantages1_tile > div > img {height: 64px; margin-bottom: 30px;}
.advantages1_tile > div > div > h3 {font-size: 1.2rem; margin-bottom: 10px; text-align: center;}
.advantages1_tile > div > div > p {font-size: .9rem; text-align: center;}

@media all and (max-width: 1024px) and (min-width: 901px) { 
	.advantages1_tile > div {padding: 20px 5px;}
	.advantages1_tile > div > div > h3 {font-size: 1rem;}
	.advantages1_tile > div > div > p {font-size: .8rem;}
}
@media all and (max-width: 900px) { 
	.advantages1_tile > div {width: 50%;}
}
@media all and (max-width: 600px) { 
	.advantages1_tile > div {width: 100%; padding: 20px;}
}


	/* ВЫГОДА */

#benefit1 > div {width: 100%; height: 340px; background-image: url('../file/benefit1/fon.svg'); display: flex; justify-content: space-around;}
#benefit1 h3 {color: white; font-size: 2rem; margin-bottom: 10px; max-width: 380px; text-shadow: 0 0 10px black;}
#benefit1 p {color: white; margin: 10px 0;}
#benefit1 .form {max-width: calc(100% - 320px); padding: 30px 20px;}
#benefit1 .form p > input {width: 250px; outline: 2px solid white;}
#benefit1 .form p > input[type=tel] {border: 2px solid #4d4d4d;}
#benefit1 div.phone {position: relative; width: 305px;}
#benefit1 div.phone > img {position: absolute; bottom: 0; height: 380px;}

@media all and (min-width: 1600px) { #benefit1 h3 {font-size: 1.8rem;} }
@media all and (min-width: 1760px) { #benefit1 h3 {font-size: 1.6rem;}  }
@media all and (min-width: 1900px) { #benefit1 h3 {font-size: 1.4rem;}  }

@media all and (max-width: 900px) and (min-width: 601px) {
	#benefit1 > div {height: 310px;}
	#benefit1 h3 {font-size: 1.6rem;}
	#benefit1 .form {max-width: calc(100% - 280px); padding: 20px;}
	#benefit1 div.phone {width: 275px;}
	#benefit1 div.phone > img {height: 340px;}
}
@media all and (max-width: 600px) {
	#benefit1 .form {max-width: 100%;}
	#benefit1 h3 {text-align: center; font-size: 2rem; margin: auto;}
	#benefit1 p {text-align: center;}
	#benefit1 div.phone {display: none;}
}


	/* НАША КОМАНДА */

#staff1 > div {width: 100%;}
.staff1_tile {display: flex; flex-wrap: wrap; justify-content: space-between;}
.staff1_tile > div {width: 25%; padding: 20px; text-align: center;}
.staff1_tile .absolute {position: relative;}
.staff1_tile .absolute > div {position: absolute; bottom: 20px; right: 0; max-width: calc(100% - 20px); background-color: white; padding: 10px; border-radius: 10px 0 0 10px;}
.staff1_tile p.name {font-weight: bold; color: var(--color);}
.staff1_tile p {text-align: center; margin: 5px 0; font-size: .8rem;}

@media all and (max-width: 1024px) {
	.staff1_tile > div {padding: 10px;}
}
@media all and (max-width: 900px) {
	.staff1_tile > div {padding: 10px 5px;}
	.staff1_tile .absolute > div {position: static;  bottom: 0; right: 0; max-width: 100%; background-color: none; padding: 0; border-radius: none;}
}
@media all and (max-width: 600px) {
	.staff1_tile > div {width: 50%;}
}
@media all and (max-width: 480px) {
	.staff1_tile > div {padding: 10px 5px;}
}


	/* ВИДЕО ОТЗЫВЫ */

#videoreviews1 .tile { display: flex;}
#videoreviews1 div.pointer {display: inline-block; margin: 0 auto;}
#videoreviews1 .prev {width: 400px !important; max-width: 100%; height: 300px; object-fit: cover;}
#videoreviews1 div.pointer {position: relative;}
#videoreviews1 div.pointer svg {position: absolute; top: calc(50% - 48px); left: calc(50% - 48px); margin: auto; height: 96px; fill: white; transition: .5s;}
#videoreviews1 div.pointer:hover svg {fill: var(--color); transition: .5s;}


	/* APPEAL SUPERVISOR */

#appeal_supervisor .flex {align-items: center;}
#appeal_supervisor img {width: 240px; border-radius: 10px;}
#appeal_supervisor .appeal {padding: 20px;}
#appeal_supervisor .appeal h3 {margin: 10px 0 20px 0;}
#appeal_supervisor .appeal .name {font-style: oblique; margin-top: 10px; text-align: right;}

@media all and (max-width: 760px) {
	#appeal_supervisor .flex {flex-direction: column;}
	#appeal_supervisor img {width: 100%; height: 320px; object-fit: cover;}
	#appeal_supervisor img.desc {display: none;}
	#appeal_supervisor img.mobile {display: block;}
	#appeal_supervisor .appeal {padding: 20px 0;}
}


	/* БРЕНДЫ */

#brands1 {background-color: #eaeaea;}
#brands1 .tile {display: flex; height: 160px; padding: 10px;}
#brands1 .tile img {margin: auto; max-width: 200px; max-height: 70px;}



	/* ВОПРОС ОТВЕТ */

.faq_container {display: flex; flex-wrap: wrap;}
.faq_container > div {width: 50%; padding: 10px;}

@media all and (max-width: 900px) {
	.faq_container > div {width: 100%; padding: 0;}
}

.faq_container .box {margin-bottom: 20px;}
.faq_container .box:last-child {margin-bottom: 0}
.faq_container .box .label {position:relative; cursor:pointer; font-size:1.1rem; font-weight:bold; padding-right:40px}
.faq_container .box .label::after {content:"+"; position:absolute; top:50%; transform:translateY(-50%); right:20px; font-size:25px; font-weight:bold}
.faq_container .box.active .label::after {content:"\2012"}
.faq_container .box .answer {position:relative; overflow:hidden; max-height:0; transition:0.3s}
.faq_container .box .answer p {padding:20px; font-size:.9rem}


	/* ПОДАРОК */

#present .present_box {--mask: radial-gradient(20.12px at 50% 27px,#000 99%,#0000 101%) calc(50% - 18px) 0/36px 51% repeat-x, radial-gradient(20.12px at 50% -18px,#0000 99%,#000 101%) 50% 9px/36px calc(51% - 9px) repeat-x, radial-gradient(20.12px at 50% calc(100% - 27px),#000 99%,#0000 101%) 50% 100%/36px 51% repeat-x, radial-gradient(20.12px at 50% calc(100% + 18px),#0000 99%,#000 101%) calc(50% - 18px) calc(100% - 9px)/36px calc(51% - 9px) repeat-x; -webkit-mask: var(--mask); mask: var(--mask);
width: 100%; min-height: 200px; background-image: url('../file/present/fon.svg'); padding: 40px var(--li); display: flex; justify-content: space-around; align-items: center;
}
#present h3 {color: white; text-shadow: 0 0 10px black; font-size: 2rem; max-width: 600px;}
#present img {height: 200px;}

@media all and (max-width: 900px) and (min-width: 601px) {
	#present h3 {font-size: 1.6rem;}
}
@media all and (max-width: 600px) {
	#present .present_box {flex-direction: column;}
	#present h3 {text-align: center; margin: 0 auto 15px auto;}
}


	/* QUIZ 3 */

.quiz3 .quiz_main {max-width: 100%;}
.quiz3 .answer {cursor: pointer;}
.quiz3 h3 {font-size: 1.4rem; text-align: center; margin-bottom: 20px;}
.quiz3 .quiz_main > .flex {width: 100%; justify-content: space-around; align-items: center;}
.quiz3 a span.answer_text {font-size: 1.2rem;}
.quiz3 p {margin: 10px 0;}

@media all and (max-width: 600px) {
	.quiz3 a span.answer_text {font-size: 1rem;}
}

	/* скрывашки по умолчанию */
.quiz3 .answer_small_img {display: none;}
.quiz3 .answer_circle {display: none;}
.quiz3 .answer_big_img {display: none;}

	/* стиль 1, ответы без изображений */
	
.quiz3 .quiz_style_1 a {display: inline-block; padding: 4px 10px; margin: 4px 2px; border-radius: 1rem; border: 1px solid var(--color); color: var(--color); font-weight: bold; transition: .6s;}
.quiz3 .quiz_style_1 a:hover {background-color: var(--color); color: white; transition: .6s;}
.quiz3 .quiz_style_1 .answer_circle {display: inline;}

	/* стиль 2, маленькие изображения */

.quiz_style_2 .answer_small_img {display: inline-block; max-height: 40px; max-width: 40px; vertical-align: middle; margin: 5px 10px 5px 0; border-radius: .3rem;}
.quiz3 .quiz_style_2 a {display: inline-block; padding: 4px 10px; margin: 4px 2px; border-radius: 1rem; border: 1px solid var(--color); color: var(--color); font-weight: bold; transition: .6s;}
.quiz3 .quiz_style_2 a:hover {background-color: var(--color); color: white; transition: .6s;}

	/* стиль 3, одно большое изображение */

.quiz_style_3 .answers {width: 100%;}
.quiz_style_3 .answer_big_img {display: block; max-height: 300px; /* width: 100%; */ max-width: 300px; margin: 10px 0 10px 30px; border-radius: 1rem;/*  object-fit: contain; */}
.quiz3 .quiz_style_3 a {display: inline-block; padding: 4px 10px; margin: 4px 2px; border-radius: 1rem; border: 1px solid var(--color); color: var(--color); font-weight: bold; transition: .6s;}
.quiz3 .quiz_style_3 a:hover {background-color: var(--color); color: white; transition: .6s;}

@media all and (max-width: 480px) {
	.quiz_style_3 .answer_big_img {max-height: 200px; max-width: 200px;}
}
	
	/* стиль 42, большие изображения в 2 колонки */

.quiz_style_42 .answers {width: 100%; display: flex; flex-wrap: wrap;}
.quiz_style_42 .answer {width: 50%; padding: 5px;}
.quiz_style_42 .answer_small_img {display: block; width: 90%; vertical-align: middle; margin: 25px auto; border-radius: .3rem;}
.quiz3 .quiz_style_42 a {display: inline-block; text-align: center; padding: 4px 10px; margin: 4px 2px; color: var(--color); font-weight: bold; transition: .6s;}
.quiz3 .quiz_style_42 a span.answer_text {display: inline-block; padding: 4px 10px; border-radius: 1rem; border: 1px solid var(--color);}
.quiz3 .quiz_style_42 a span.answer_text:hover {background-color: var(--color); color: white; transition: .6s;}
	
	/* стиль 43, большие изображения в 3 колонки */

.quiz_style_43 .answers {width: 100%; display: flex; flex-wrap: wrap;}
.quiz_style_43 .answer {width: 33%; padding: 5px; text-align: center;}
.quiz_style_43 .answer_small_img {display: block; width: 90%; vertical-align: middle; margin: 25px auto; border-radius: .3rem;}
.quiz3 .quiz_style_43 a {display: inline-block; width: 100%; text-align: center; padding: 4px 10px; margin: 4px 2px; color: var(--color); font-weight: bold; transition: .6s;}
.quiz3 .quiz_style_43 a span.answer_text {display: inline-block; padding: 4px 10px; border-radius: 1rem; border: 1px solid var(--color);}
.quiz3 .quiz_style_43 a span.answer_text:hover {background-color: var(--color); color: white; transition: .6s;}

@media all and (max-width: 480px) {
	.quiz_style_43 .answers {flex-direction: column; width: 100%;}
	.quiz_style_43 h3 {text-align: center;}
	.quiz_style_43 .answer {width: 100%; text-align: center;}
	.quiz_style_43 .answer_small_img {margin: 0 auto 10px auto; width: 180px;}
}

	/* стиль 44, большие изображения в 4 колонки */

.quiz_style_44 .answers {width: 100%; display: flex; flex-wrap: wrap;}
.quiz_style_44 .answer {width: 25%; padding: 5px; text-align: center;}
.quiz_style_44 .answer_small_img {display: block; width: 90%; vertical-align: middle; margin: 25px auto; border-radius: .3rem;}
.quiz3 .quiz_style_44 a {display: inline-block; text-align: center; padding: 4px 10px; margin: 4px 2px; color: var(--color); font-weight: bold; transition: .6s;}
.quiz3 .quiz_style_44 a span.answer_text {display: inline-block; padding: 4px 10px; border-radius: 1rem; border: 1px solid var(--color);}
.quiz3 .quiz_style_44 a span.answer_text:hover {background-color: var(--color); color: white; transition: .6s;}
	
@media all and (max-width: 600px) {
	.quiz_style_44 .answer {width: 50%;}
}


	/* ПОДВАЛ */
	
#footer1 {background-color: #eaeaea;}
#footer1 > div {width: 100%; display: flex; flex-wrap: wrap; justify-content: space-around;}
#footer1 > div > div {padding: 20px;}
#footer1 div.logo {width: 30%;}
#footer1 img.logo {width: 200px; max-width: 90%;}
#footer1 div.info {width: 35%;}
#footer1 p {margin-bottom: 5px;}
#footer1 iframe {margin: 10px 2px;}

@media all and (max-width: 900px) and (min-width: 601px) {
	#footer1 > div > div {padding: 20px 10px;}
	#footer1 div.logo {width: 20%;}
	#footer1 div.info {width: 40%;}
	#footer1 p {font-size: .9rem;}
}
@media all and (max-width: 600px) {
	#footer1 > div > div {padding: 20px 0;}
	#footer1 div.logo {width: 100%;}
	#footer1 div.info {width: 100%;}
}


	/* ПРИГЛАШЕНИЕ НА КВИЗ */

#modal_invitation .modal__overlay {background: rgba(0,0,0,.25); backdrop-filter: blur(3px);}
#modal_invitation .modal__container {padding: 0; border-radius: 5px !important; background: none;}
#invitation {width: 600px; max-width: 100%; background-color: white; border-radius: 5px; justify-content: space-between;}
#invitation > div {width: calc(100% - 190px); padding: 10px 0;}
#invitation > div.flex > div {margin: auto;}
#invitation img {border-radius: 0 5px 5px 0; width: 190px; height: 100%; object-fit: cover;}

@media all and (max-width: 480px) {
	#invitation {flex-direction: column-reverse; height: auto;}
	#invitation img {border-radius: 50%; width: 96px; height: 96px; object-fit: cover; margin: 10px auto;}
	#invitation > div {width: 100%;}
}











	/*******************/
	/* ОСНОВНЫЕ МОДУЛИ */
	/*******************/

	/* ФОРМА ОБР.ЗВОНКА */

#modal_callbuck main.modal__content {max-width: 420px;}
#modal_callbuck h3 {font-size: 1.1rem; padding: 10px 0 5px 0; text-align: center;}
#modal_callbuck p.offer {text-align: center; margin-bottom: 20px;}
#modal_callbuck p.hints {margin-top: 10px;}

