
/*Обнуление*/
*{
	padding: 0;
	margin: 0;
	border: 0;
}
*,*:before,*:after{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
:focus,:active{outline: none;}
a:focus,a:active{outline: none;}

nav,footer,header,aside{display: block;}

html,body{
	height: 100%;
	width: 100%;
	font-size: 100%;
	line-height: 1;
	font-size: 15px;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}
input,button,textarea{font-family:inherit;}

input::-ms-clear{display: none;}
button{cursor: pointer;}
button::-moz-focus-inner {padding:0;border:0;}
a, a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
ul li{list-style: none;}
img{vertical-align: top;}

h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight: 400;}
/*--------------------*/

body {
	font-family: 'Open Sans', sans-serif;
	color: #4B4444;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}

.container {
	width: 1200px;
	margin: 0 auto;
}

a {
	text-decoration: none;
	transition: all 0.5s ease;
}

section {
	padding-top: 98px;
}

.mymodal {
  	width: 400px; 
  	height: 380px;
	padding: 50px 35px 30px;
	border-radius: 20px;
	background: #fff;
	position: fixed;  
	top: 0; left: 0; right: 0; bottom: 0;  
	margin: auto;
	display: none;
	opacity: 0;
	z-index: 38;
	text-align: center;
}

.mymodal .mymodal-close {
	width: 21px; height: 21px;
	position: absolute;
	font-size: 29px;
	top: 1px; right: 11px;
	cursor: pointer;
	display: block;
}

.myoverlay {
	z-index: 37;
	position: fixed;
	background: rgba(0,0,0,.7);
	width: 100%; height: 100%;
	top: 0; left: 0;
	cursor: pointer;
	display: none;
}

.form-call h3 {
	margin-bottom: 30px;
}

.form-call input {
	border: 1px solid rgba(39, 52, 86, 0.26);
	box-sizing: border-box;
	border-radius: 5px;
	display: block;
	width: 100%;
	padding: 20px 26px 21px;
	margin-bottom: 20px;
	font-family: 'Open Sans', sans-serif;
}

.form-call .btn {
	width: 100%;
	padding: 18px 0 18px 0;
	transition: all 0.5s ease;
}

.popup-fade {
	display: none;
}

.popup-fade:before {
	content: '';
	background: #000;
	position: fixed; 
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%;
	opacity: 0.7;
	z-index: 9999;
}

.popup {
	position: fixed;
	top: 20%;
	left: 50%;
	padding: 50px 35px 50px;
	width: 360px;
	margin-left: -200px;	
	background: #fff;
	border-radius: 20px; 
	z-index: 99999;
	opacity: 1;	
}

.popup h3 {
	text-align: center;
}

.popup-close {
	width: 21px; height: 21px;
	position: absolute;
	font-size: 29px;
	top: 1px; right: 12px;
	cursor: pointer;
	display: block;
}

.header {
	background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/bg3.jpg');
	background-position: center;
	background-size: cover;
	background-color: #fcf9f2;
	background-attachment:fixed;
	color: #fff;
	padding-top: 50px;
	padding-bottom: 50px;
	min-height: 100%;

}

.header-thank {
	padding-top: 249px;
	padding-bottom: 480px;
}

a {
	color: #fff;
}



.to-call {
	display: none;

}

.nav {
	display: flex;
	align-items: center;
}

.logo {
	text-transform: uppercase;
	font-size: 23px;
	font-weight: bold;
	letter-spacing: 0.055em;
	display: block;
	text-decoration: none;
	background: url('../img/logo.png') no-repeat left center ;
	background-size:48px;
	padding-left: 55px;
	margin-right: 86px;
	line-height: 1em;
}

.call {
	display: flex;
	margin-left: auto;
	line-height: 1.4em;
	align-items: center;
}

.call p {
	display: flex;
	flex-direction: column;
}

.call span {
	display: flex;
	flex-direction: column;
}

.menu {
	display: flex;	
}

.menu a {
	border-bottom: 1px solid transparent;
	padding-bottom: 5px;
}

.menu a:hover {
	border-bottom: 1px solid rgba(117, 116, 116);
}

.menu li:not(:last-child) {
	margin-right: 46px;
}

.call p {
		margin-right: 30px;
}

.call-btn {
	border-radius: 100px;
	width: 200px;
	padding: 13px 0 13px 0;
	font-size: 16px;
	font-weight: bold;
	display: block;
	text-align: center;
	font-family: 'Open Sans', sans-serif;
	border: 3px solid #22235B;
	cursor: pointer;
	box-shadow: 0px 5px 5px rgba(32, 40, 69, 0.14);
	

}

.call-btn:hover {
	background: #22235B;
	color: #fff !important;
}

.discription {
	text-align: center;
	font-size: 19px;
	padding-top: 40px;
	line-height: 1.1em;
}

h1 {
	font-size: 42px;
	line-height: 1.1em;
	text-align: center;
}

.offer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 20px;
}

.offer-text {
	padding-top: 120px;
	width: 920px;
	display: block;
	margin: 0 auto;
}

.offer-mini-title {
	font-size: 24px;
	padding-top: 18px;
	line-height: 1.1em;
	padding-bottom: 30px;
	text-align: center;
}



.offer-img {
	width: 485px;
	
}

.btn-top {
	margin: 0 auto;
}



.offer__dis {
	visibility: hidden;
}


.btn-price {
	width: 344px;
	background: #22235B;
	border-radius: 100px;
	padding: 17px 0;
	font-size: 16px;
	font-weight: bold;
	display: block;
	text-align: center;
	color: #fff !important;
}

.btn-price:hover {
	box-shadow: 0 0 11px 3px #22235B;

}

.about-catalog {
	padding-top: 100px;
}

.arrow img {
	display: block;
	margin: 0 auto;
	opacity: 0.4;
	padding-top: 100px;
}


.about-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 30px;

}

.about-content img {
	display: block;
	width: 585px;
}

.about-text {
	width: 750px;
	font-size: 17px;
	padding-right:21px;
}

.about-text p {
	line-height: 1.4em;
	padding-bottom: 30px;

}

.about-text p:nth-child(2) {
	padding-bottom: 30px;
	padding-top: 0px;
}

.about__text__list {
	margin-bottom: 30px;
}

.about__text__item {
	padding-bottom: 8px;
}

.about__text__item::before {
	content: "";
	background-image: url(/img/ellipse.png);
	background-size: contain;
	display: inline-block;
	width: 10px;
	height: 10px;
	position: relative;
	top: 0;
	margin-right: 7px;
}

.catalog__list {
	display: flex;
	align-items: center;
	justify-content: space-between;

}

.catalog__link {
	width: 25%;
	border: 1px solid #150961;
	border-radius: 7px;

	padding-top: 30px;
	padding-bottom: 30px;
	box-shadow: 3px 3px 2px 2px #150961;
}

.catalog__item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.catalog__link:hover {
	box-shadow: none;
}

.catalog__desc {
	text-align: center;
	padding-top: 20px;
}

.catalog__link:not(:last-child) {
	margin-right: 20px;
}

.catalog__img {
	width: 70%;
	height: 200px;
	object-fit: contain;
}







.modal {
	position: fixed; /* фиксированное положение */
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.5); /* цвет фона */
	z-index: 1050;
	opacity: 0; /* по умолчанию модальное окно прозрачно */
	-webkit-transition: opacity 200ms ease-in; 
	-moz-transition: opacity 200ms ease-in;
	transition: opacity 200ms ease-in; /* анимация перехода */
	pointer-events: none; /* элемент невидим для событий мыши */
	margin: 0;
	padding: 0;
}
/* при отображении модального окно */
.modal:target {
	opacity: 1; /* делаем окно видимым */
	pointer-events: auto; /* элемент видим для событий мыши */
	overflow-y: auto; /* добавляем прокрутку по y, когда элемент не помещается на страницу */
}
/* ширина модального окна и его отступы от экрана */
.modal-dialog {
	position: relative;
	width: auto;
	margin: 10px;
}
@media (min-width: 576px) {
.modal-dialog {
		max-width: 800px;
		margin: 100px auto; /* для отображения модального окна по центру */
}
}
/* свойства для блока, содержащего контент модального окна */ 
.modal-content {
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	background-color: #fff;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: 1px solid rgba(0,0,0,.2);
	border-radius: .3rem;
	outline: 0;
}
@media (min-width: 768px) {
.modal-content {
		-webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
		box-shadow: 0 5px 15px rgba(0,0,0,.5);
}
}
/* свойства для заголовка модального окна */
.modal-header {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: 15px;
	border-bottom: 1px solid #eceeef;
}
.modal-title {
	margin-top: 0;
	margin-bottom: 0;
	padding-bottom: 0;
	line-height: 1.5;
	font-size: 1.25rem;
	font-weight: 500;
}
/* свойства для кнопки "Закрыть" */
.close {
	float: right;
	font-family: sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	opacity: .5;
	text-decoration: none;
}
/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.close:focus, .close:hover {
	color: #000;
	text-decoration: none;
	cursor: pointer;
	opacity: .75;
}
/* свойства для блока, содержащего основное содержимое окна */
.modal-body {
	position: relative;
	padding: 15px;
	overflow: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal__img {
	width: 100%;
}

.modal__img-img {
	width: 100%;
	height: 280px;
	object-fit: contain;
}


.modal__desc {
padding-left: 10px;

}

.modal__desc p {
	line-height: 1.1em;

}

.modal__item {
	padding-top: 10px;
}

.modal__item::before {
	content: "\2022";
	color: #150961;
	font-weight: bold;
	display: inline-block;
	width: 1em;
}







h2 {
	font-weight: bold;
	font-size: 38px;
	text-align: center;
}

video {
	min-width:34%;
	border-radius: 20px;
	margin-top: 20px;
}

.btn {
	background: #0760B1;
	font-weight: bold;
	color:#fff;
}

.btn:hover {
	width: 90%;
}

.about-text ul {
	margin-bottom: 34px;
}


.header_min {
    text-align:center;
}

h3 {
	font-size: 20px;
	padding-bottom: 10px;
}

.about__image {
	border-radius: 7px;
}


.address-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 55px;
	width: 1155px;

}

.btn-call {
	width: 207px;
	color: #000;
}

.btn-call:hover {
	color: #fff;
}

.data p {
	font-size: 20px;
	padding-bottom: 14px;
}

.data p:nth-child(4) {
	padding-bottom: 30px;
}



.data a {
	color:#4B4444;
}

.data {
	padding-right: 60px;
}

.footer-text {
	color: rgba(75, 68, 68, 0.6);
	font-size: 14px;
	text-align: center;
	
}

.footer {
	padding-top: 85px;
	padding-bottom: 50px;
}

.modal__text {
    padding-top: 15px;
    font-size: 12px;
    text-align: center;
}



.mobile div {
    display: block;
    position: fixed;
    bottom: 16px;
    right: 16px;
    /*background-color: #FDDA44;*/
    height: 50px;
    width: 50px;
    border-radius: 50%;
    z-index: 9999999;
    border: 4px solid #0760B1;
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    box-sizing: content-box;
}

.mobile div span {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 4px;
    background-color: #0760B1;
    border-radius: 13px;
    transition-duration: .4s;
}
.mobile div span:nth-child(1) {
    top: 14px;
}
.mobile div span:nth-child(2) {
    top: 23px;
}
.mobile div span:nth-child(3) {
    bottom: 14px;
}
.mobile div.active span:nth-child(1) {
    transform: translate(-15px, 9px) rotate(-45deg);
}
.mobile div.active span:nth-child(2) {
    transition-duration: 0s;
    opacity: 0;
}

.mobile div.active span:nth-child(3) {
    transform: translate(-15px, -9px) rotate(45deg);
}
.mobile nav {
    display: block;
    position: fixed;
    bottom: 16px;
    right: 16px;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    z-index: 9999990;
    transition-duration: .4s;
    display: flex;
    align-items: center;
    justify-content: center; 
    overflow: hidden;
}
.mobile nav.open {
    background-color: rgba(0, 0, 0, 0.9);
    width: 100vw;
    height: 100vh;
    right: 0px;
    bottom: 0px;
    border-radius: 0;
}
.mobile nav ul {
    display: none;
}
.mobile nav ul.show {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    width: 100%;
    opacity: 0;
    animation-name: fadein;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
.mobile ul li:not(:last-child) {
    margin-bottom: 22px;
}
.mobile ul li a {
    font-size: 24px;
    
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: #fff;
}
@keyframes fadein {
    0% {
        opacity: 0;
        
    }
    100% {
        opacity: 1;
    }
}

@media (min-width:769px){
    .mobile {
        display: none;
    }
}

#scroll_top {
	display: none;
	position: fixed;
	bottom: 50px;
	left: 30px;
	z-index: 1000;
	width: 32px;
	height: 32px;
	background: url('../img/scroll_top.png') 50% 50% no-repeat;
	border-radius: 50%;
	opacity: 0.5;
}

#scroll_top:hover {
 	opacity: 1;
}

.data {
	padding-left: 20px;
}

@media screen and (max-width: 1200px) {

	.container {
		width: 960px;
	}
	
	.logo {
		font-size: 20px;
		margin-right: 45px;
		padding-left: 50px;
	}

	.menu li:not(:last-child) {
	    margin-right: 27px;
	}

	h1 {
	    font-size: 40px;
	}

	
	.offer-text {
	    
	    width: 615px;
	}

	.about-text {
		width: 60%;
	}

	.address-content {
		width: 100%;
	}

	.data {
		padding-right: 0;
		padding-left: 5%;
	}

	#scroll_top {
		right: 60px;
	}

}

@media screen and (max-width: 992px) {
	.container {
		width: 720px;
	}

	.offer {
		flex-direction: column;
	}

	.logo {
		font-size: 18px;
		background-size: 35px;
		margin-right: 40px;
		padding-left: 45px;
	}

	h1 {
		font-size: 31px;
	}

	.menu {
		display: none;
	}

	.mobile {
		display: block;
	}

	.offer-text {
	    width: 100%;
}

.offer-mini-title {
	width: 100%;
}

.offer-img {
	margin-top: 20px;
}

.about-content {
	display: flex;
	flex-direction: column;
}

.about-text {
	width: 100%;
}

video {
	margin-top: 20px;
}

.catalog__list {
	flex-wrap: wrap;
}

.catalog__link {
	width: 48%;
	margin-bottom: 20px;
}

.catalog__link:not(:last-child) {
	margin-right: 0;
}

.about__image {
	margin-top: 30px;
}
}

@media screen and (max-width: 768px) {
	.container {
		width: 540px;
	}

	.discription {
		display: none;
	}

	.about-content {
		display: block;
	}

	video {
		width: 100%;
		margin-top: 40px; 
	}

	.offer-text {
		width: 100%;
		
	}

	.about-text {
		margin: 0 auto;
	    width: 100%;
	}
	
	.address-content {
		display: inline-block;
	}

	.data p {
		text-align: center;
		padding: 30px 0 0 0;
	}


	.data a {
		margin: 0 auto;
		margin-top: 35px;

	}
	
	.data p:nth-child(1) {
    	padding-top: 50px;
    }

		.about-item {
			flex-direction: column;
		}

		.about-content {
			padding-top: 30px;
		}
}

@media screen and (max-width: 576px) {
	.container {
		width: 90%;
	}

	.call p {
		margin-right: 10px;
		text-align: right;
	}
    .call {
		display: inline-block;
	}

	.slider .slick-dots button {
		display: none;
	}

	.logo {
		margin-right: 5px;
	}

	.btn-price {
		width: 100%;
	}

	.logo {
		font-size: 21px;
	}

	.call {
		display: none;
	}

	.to-call {
		display: block;
		margin-left: auto;
	}

	.to-call img {
		width: 35px;
	}

	h1 {
	    font-size: 25px;
	}

	.offer-text p {
	    font-size: 20px;
	}
	.wrapper {
	    padding: 30px 15px 18px 15px;
	}

	.mymodal {
	    width: 100%;
	}

	.catalog__link {
		width: 100%;
	}

	.offer-img {
		width: 90%
	}

	.about-content img {
		width: 90%;
		margin: 30px auto 0;
	}

	.modal-body {
		flex-direction: column;
	}

	.modal__desc {
		padding-top: 10px;
	}
}
