@import url("fonts.css");
html {
	font-size: 18px;
}
:root {
	--t-black: #3d3d3d;
	--t-gray: #f6f6f4;
	--t-grey: #f6f6f4;
	--t-cyan: #b4e1fa;
	--t-blue: #103e7a;
	
	--t-dark-gray: #e3e3e3;
	--t-dark-grey: #e3e3e3;
	--t-dark-cyan: #b4e1fa;
	--t-light-blue: #1e5cad;
}
body {
	font-family: Roboto, sans-serif;
	background-color: #fff;
	color: var(--t-black);
	font-weight: 500;
}
img {
	max-width: 100%;
	max-height: 100%;
}
section {
	margin-bottom: 4rem;
}

header {
	background-color: var(--t-blue);
	font-size: 1.333333rem;
	color: #fff;
	text-align: center;
	margin-bottom: 4rem;
}
header a {
	color: #fff;
	text-decoration: none;
}
header a:hover {
	color: #eee;
}
.h1, h1 {
	margin-bottom: 1em;
}

.blue {
	color: var(--t-blue);
}
.button {
	display: block;
	width: max-content;
	background-color: var(--t-gray);
	color: var(--t-blue);
	padding: 0.75em;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	border: none;
}
.button:not(.slick-disabled):hover {
	background-color: var(--t-dark-gray);
}
.button.blue {
	background-color: var(--t-blue);
	color: #fff;
}
.button.blue:not(.slick-disabled):hover {
	background-color: var(--t-light-blue);
}
.button.cyan {
	background-color: var(--t-cyan);
	color: var(--t-blue);
}
.button.cyan:not(.slick-disabled):hover {
	background-color: var(--t-dark-cyan);
}
.button.gray, .button.grey {
	background-color: var(--t-gray);
	color: #9c9c9c;
}
.button.gray:not(.slick-disabled):hover, .button.grey:not(.slick-disabled):hover {
	background-color: var(--t-dark-gray);
}

.logo {
	height: 128px;
}
.menu-top {
	display: flex;
	width: 100%;
	justify-content: space-evenly;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
}
.menu-top li > a {
	display: block;
	padding: 0.5em 0.5em;
	margin: 0 8px;
}
.menu-top li > a:hover {
	background-color: rgba(255, 255, 255, 0.2);
}
.wrap-tel .tel {
	font-size: 1.25em;
}

.banner-top {
	padding: 4rem 3rem;
	background-image: linear-gradient(to right, var(--t-gray) 0% 70%, var(--t-blue) 70% 100%);
}

.about-item {
	text-align: center;
}
.about-item .about-circle {
	display: flex;
	width: 180px;
	height: 180px;
	background-color: var(--t-cyan);
	border-radius: 50%;
	background-position: center;
	background-size: 90px;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
}
.head {
	font-size: 1.333333rem;
	margin-bottom: 1em;
}

.voprosnik {
	height: 600px;
	background-image: url(../images/temp-bg.png);
	background-position: center;
	background-size: cover;
	margin: 0 auto;
	width: 90%;
}

.slider-for {
	margin-bottom: 3rem;
}
.portfolio-info {
	background-color: var(--t-gray);
	padding: 2rem;
	flex: none;
}
.portfolio-foto {
	object-fit: cover;
	width: 100%;
	height: 100%;
}
.portfolio-foto, .portfolio-info {
	height: 650px;
}
.portfolio-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.portfolio-list > li {
	display: flex;
	margin-bottom: 2em;
}
.portfolio-list > li > img {
	flex: none;
	height: min-content;
	margin-right: 1em;
}
.portfolio-desc .head {
	color: var(--t-blue);
	margin-bottom: 0.5em;
}

.slider-nav .slider-nav-item {
	cursor: pointer;
	margin: 0 auto;
	border: 4px solid #0000;
	display: block !important;
	max-width: 100%;
	width: max-content !important;
}
.slider-nav, .slider-nav .slider-nav-item {
	height: 160px;
}

.slick-current.slick-active > * > .slider-nav-item {
	border-color: var(--t-blue);
}
.slick-disabled.slider-arrow {
	background-color: var(--t-gray);
	color: #ababab;
}
.slider-nav .slick-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wrap-slider-portfolio {
	position: relative;
}
.wrap-slider-portfolio .slider-arrows {
	position: absolute;
	right: 0;
	bottom: 0;
}
.wrap-slider-portfolio .slider-arrows .slider-arrow {
	margin: 0 10px;
	padding: 1em 3em;
	user-select: none;
}
.slider-arrows {
	display: flex;
}
.slider-arrows .slider-arrow {
	margin: 0 10px;
	padding: 1em 3em;
	user-select: none;
}

.video-container, .video-container > img {
	max-height: 550px;
}
.video-container > img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}
.wrap-review-button {
	float: left;
	max-width: max-content;
}
.wrap-review-button .button{
	padding: 1em 3em;
}

[data-role=tab_items] > *:not(.active) {
	display: none;
}
.tab-buttons {
	display: flex;
	flex-wrap: wrap;
	width: max-content;
	margin: 0 auto 2em;
}
.tab-buttons > * {
	margin: 0 1em;
	font-size: 1.333333em;
	padding: 1em 2em;
}
.tab-buttons > *.active {
	background-color: var(--t-cyan);
}
.tab-buttons > *.active:hover {
	filter: none;
}
.slider-text-reviews {
	margin-bottom: 3em;
}
#text_reviews .slider-arrows,
.slider-video-reviews + .slider-arrows {
	width: max-content;
	margin-left: auto;
}
.desc-text-reviews {
	font-style: italic;
	margin-bottom: 1em;
}
.desc-text-reviews:not(.active) {
	/* height: 6em; */
	text-overflow: ellipsis;
	-webkit-line-clamp: 4;
	overflow: hidden;
	-webkit-box-orient: vertical;
	display: -webkit-box;
}
.item-text-reviews {
	background-color: var(--t-gray);
	padding: 2em 2em 0.5em;
	font-weight: 400;
}
.wrap-text-reviews {
	padding: 0 2em;
}
.img-text-reviews {
	display: block;
	height: 165px;
	width: 165px;
	margin: 0px auto 2em;
	object-fit: cover;
	border-radius: 50%;
}
.date-text-reviews {
	font-size: 0.75em;
	margin-bottom: 2em;
}

[data-role=show_more], [data-role=hide_more] {
	text-align: center;
	cursor: pointer;
	color: var(--t-blue);
	text-decoration: underline;
	font-style: italic;
}
[data-role=show_more]:not(.active), [data-role=hide_more]:not(.active) {
	display: none;
}

section#sect_callback {
	margin-bottom: 0;
	background-color: #d3d9e5;
	padding: 4rem 0;
	background-image: url(../images/callback-bg.jpg);
	background-position: right;
	background-size: contain;
	background-repeat: no-repeat;
}
#sect_callback .form {
	background-color: #fff;
	padding: 3rem 4rem;
}
.form input[type=text], .form textarea {
	display: block;
	width: 100%;
	border: none;
	border-bottom: 1px solid #a0a0a0;
	padding: 1em;
	margin-bottom: 1em;
}
.form input[type=text]:focus, .form textarea:focus {
	outline: none;
}
.form input[type=submit] {
	width: 100%;
	margin-top: 3rem;
}
footer {
	background-color: var(--t-blue);
	color: #c5c5c5;
	font-weight: 400;
	padding: 3rem 0;
}
footer a {
	color: #fff;
	text-decoration: none;
}
footer a:hover {
	color: #ddd;
}
footer .bottom {
	margin-top: auto;
	margin-left: auto;
}
footer p {
	margin-bottom: 4em;
}

.video-review {
	padding: 0 16px;
}
.video-iframe {
	position: relative;
	width: 100%;
	background-color: #000;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.video-iframe::before {
	content: '';
	display: block;
	padding-top: 56.2%;
	width: 100%;
}
.video-iframe iframe {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}
.link-play {
	position: absolute;
	width: 90px;
	height: 70px;
	background-color: var(--t-blue);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	cursor: pointer;
}
.link-play::before {
	content: '';
	position: absolute;
	border-left: 30px solid #fff;
	border-top: 15px solid #0000;
	border-bottom: 15px solid #0000;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
.slider-video-reviews {
	margin-bottom: 2em;
}
.slider-for .slick-track {
	align-items: center;
}
.slick-prev, .slick-next {
	width: 40px;
	height: 40px;
	z-index: 10;
}
.slick-prev {
	left: 0px;
}
.slick-next {
	right: 0px;
}
.slick-prev::before, .slick-next::before {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 0;
	background-color: var(--t-blue);
	background-image: url(/images/arrow.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 30px;
}
.slick-prev::before {
	
}
.slick-next::before {
	transform: scaleX(-1);
}

@media screen and (min-width: 1600px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
		max-width: 1560px;
	}
}
@media screen and (max-width: 1599.98px) {
	header {
		font-size: 1rem;
	}
}
@media screen and (max-width: 1399.98px) {
	html {
		font-size: 16px;
	}
	.logo {
		height: 100px;
	}
	.about-item .about-circle {
		width: 140px;
		height: 140px;
		padding: 40px;
	}
}
@media screen and (max-width: 1199.98px) {
	.logo {
		height: 75px;
	}
	.menu-top li > a {
		margin: 0 0px;
	}
	.voprosnik {
		width: auto;
	}
}
@media screen and (max-width: 991.98px) {
	.banner-top {
		text-align: center;
		background-image: linear-gradient(to bottom, var(--t-gray) 0% 70%, var(--t-blue) 70% 100%);
	}
	.portfolio-info {
		height: auto;
	}
	.portfolio-foto {
		height: 300px;
		object-fit: contain;
	}
	/*
	.slider-for-item {
		height: 80vh;
		display: flex !important;
	}
	.slider-for-item .portfolio-foto {
		margin: auto;
	}
	*/
	.wrap-slider-portfolio .slider-arrows {
		position: sticky;
		bottom: 8px;
		margin-top: 2rem;
		justify-content: center;
	}
	.wrap-slider-portfolio .slider-arrows .slider-arrow {
		box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.15);
	}
}
@media screen and (max-width: 767.98px) {
	.bottom {
		margin-right: auto;
	}
	section#sect_callback {
		background-image: none;
	}
	.wrap-review-button {
		margin: 0 auto 1rem;
		float: none;
	}
	#text_reviews .slider-arrows,
	.slider-video-reviews + .slider-arrows {
		margin: 0 auto;
	}
}
@media screen and (max-width: 575.98px) {
	.tab-buttons > * {
		margin: 0 0.5em;
		padding: 1em 1.5em;
		font-size: 1rem;
	}
	.portfolio-foto {
		height: 90vw;
	}
}
@media screen and (max-width: 424.98px) {
	html {
		font-size: 14px;
	}
	.slider-nav .slider-nav-item {
		margin: 0 auto;
		display: block !important;
	}
	.slider-nav {
		display: none !important;
	}
	.slider-for {
		margin-bottom: 0;
	}
}