* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
body {
	font: 12px/18px;
	font-family: 'Raleway', sans-serif;
	height: 100%;
}
input, textarea {
    outline: none;
    font-family: 'Raleway', sans-serif;
}
p {
    color: #1c1818;
}

.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

.nidden {
    display: none;
}

/* Header
-----------------------------------------------------------------------------*/

.header-wrap {
    height: 100px;
    width: 100%;
    background: #ffffff;
    position: fixed;
    z-index: 10;
    border-radius: 0 0 50px 50px;
    -webkit-border-radius: 0 0 50px 50px;
    -moz-border-radius: 0 0 50px 50px;
}

.header {
    min-width: 280px;
    max-width: 1160px;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
    margin: 0 auto;
}

.logo {
    width: 114px;
    height: 60px;
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.logo img {
    height: 60px;
}

/* Menu */

.menu {
    position: relative;
    width: 30px;
    height: 100px;
    float: left;
}

.menu .hamburger {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 30px;
    height: 30px;
    margin-top: 35px;
    margin-bottom: 35px;
    border-radius: 0 0.12em 0.12em 0;
    -webkit-border-radius: 0 0.12em 0.12em 0;
    -moz-border-radius: 0 0.12em 0.12em 0;
    cursor: pointer;
    -webkit-transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    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: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.menu .hamburger > div {
    position: relative;
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
    width: 100%;
    height: 2px;
    background: #3875b7;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    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: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.menu .hamburger > div:before,
.menu .hamburger > div:after {
    content: '';
    position: absolute;
    z-index: 1;
    top: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: inherit;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.menu .hamburger > div:after {
    top: 10px;
}

.menu_overlay, .menu_container{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.menu_container, .menu_container ul li ul{
	-webkit-transition: all 200ms;
	-moz-transition: all 200ms;
	transition: all 200ms;
}

.menu_overlay {
    display: none;
    cursor: pointer;
    z-index: 10200;
    background: rgba(0, 0, 0, 0.5);
    /*-webkit-backdrop-filter: saturate(100%) blur(5px);
    backdrop-filter: saturate(100%) blur(5px);*/
}

.menu_container{
	-webkit-transform: translateX(-300px);
	transform: translateX(-300px);
	width: 300px;
	overflow: hidden;
	z-index: 10201;
	background: #3875B7;
}

.menu_container.loaded{
   	-webkit-transform: translateX(0px);
   	transform: translateX(0px);
}

.menu_container .menu_content{
	overflow: auto;
	max-height: 100%;
	padding-bottom: 30px;
}

.menu_container ul{
	margin: 0;
	padding: 0;
}

.menu_container ul li{
	list-style: none;
}

.menu_container ul li a{
	display: block;
	padding: 15px 20px;
	line-height: 20px;
	font-size: 16px;
	background: #3875B7;
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
}

.menu_container ul li a.parent{
	padding-right: 50px;
	background: #3875B7 url("../img/icon/arrow_right.svg") right 20px center no-repeat;
	background-size: 20px;
}

.menu_container ul li a.parent:hover{
	background: #5da9de url("../img/icon/arrow_right.svg") right 20px center no-repeat;
	background-size: 20px;
}

.menu_container ul li a.back{
	padding-left: 50px;
	background: #3875b7 url("../img/icon/arrow_left.svg") left 20px center no-repeat;
	background-size: 20px;
	box-sizing: border-box;
	min-height: 50px;
}

.menu_container ul li a.back:hover{
	background: #5da9de url("../img/icon/arrow_left.svg") left 20px center no-repeat;
	background-size: 20px;
}

.menu_container ul li a:hover{
	background: #5da9de;
}

.menu_container ul li ul{
	-webkit-transform: translateX(300px);
	transform: translateX(300px);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #3875B7;
	z-index: 2;
}

.menu_container ul li ul.loaded{
	-webkit-transform: translateX(0px);
	transform: translateX(0px);
}

.menu_container ul li ul.activity{
	overflow-y: auto;
	overflow-x: hidden;
}

@media (max-width: 320px){
	.menu_container{
		width: 240px;
	}
}

/*-------------*/

.contacts-menu {
    margin-top: 32px;
    float: right;
}

.contacts-menu ul {
    list-style: none;
}

.contacts-menu ul li {
    display: inline-block;
    position: relative;
    margin-left: 20px;
	vertical-align: middle;
}

.contacts-menu ul li img {
    width: 30px;
    height: 30px;
    margin-top: 3px;
}

.contacts-menu ul li a {
    color: #3875b7;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.contacts-menu ul li a:hover {
    color: #5da9de;
}

.slider {
    background-color: #3875b7;
    background-position: center;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider video {
    overflow: hidden;
    background: url(../video/poster.jpg) no-repeat #3875b7;
    background-size: cover;
    z-index: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.slider h1 {
    color: #ffffff;
    font-size: 90px;
    line-height: 1;
    font-weight: 900;
    text-align: center;
    position: absolute;
    bottom: 100px;
    z-index: 1;
    max-width: 1160px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.slider-bg {
    background: linear-gradient(0deg, rgb(56 117 183) 6.58%, rgba(0, 0, 0, 0) 71.07%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

/* Middle
-----------------------------------------------------------------------------*/
.content-wrap {
    margin: 0 auto;
    padding: 0 0 100px;
    background: #f2f2f2;
    overflow: hidden;
}

.content,
.block-intro,
.list-catalog,
.list-portfolio,
.list-logo,
.preim,
.contacts {
    min-width: 280px;
    max-width: 1160px;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
    margin: 0 auto;
}

.content {
    margin-top: 140px;
    margin-bottom: 40px;
}

.title-page h1 {
    color: #333333;
    text-align: center;
    font-size: 50px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 40px;
}

.title-block h2 {
    color: #333333;
    text-align: center;
    font-size: 50px;
    line-height: 1.2;
    font-weight: 800;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    margin-top: 40px;
    margin-bottom: 40px;
}

.content h2 {
    color: #333333;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.content h3 {
    color: #333333;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.content p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.content ul, .content ol {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.content ul li, .content ol li {
    margin-left: 30px;
    margin-bottom: 5px;
}

.content .service {list-style-type:none;font-weight:300;text-align:center;line-height:1.1;font-size:18px;height:100%;}
.content .service li {display:inline-block;vertical-align:top;width:19%;margin-left: 0;}
.content .service li .img {position:relative;line-height:1;font-size:0;padding:0 25px;margin-bottom:8px;}
.content .service li .img img {max-width:100%;height:auto;border-radius: 25px;}
.content .service li p {padding:0 10px;}

.block-intro-wrap {
    overflow: hidden;
    background: #3875B7;
    border-radius: 0 0 50px 50px;
    -webkit-border-radius: 0 0 50px 50px;
    -moz-border-radius: 0 0 50px 50px;
    margin-bottom: 40px;
}

.block-intro {
    margin-bottom: 100px;
}

.block-intro p {
    color: #ffffff;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 800;
    text-align: center;
}

.list-catalog {
    margin-bottom: 20px;
}

.list, .list-service {
    list-style-type: none;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.1;
    text-align: center;
    margin-top: 60px;
    position:relative;
}

.list-service {
    margin-top: 40px;
}

.list li.item, .list-service li.item {
    display: inline-block;
    vertical-align: top;
    padding: 1%;
    margin: 0;
    margin-bottom: 1%;
}

.list li.item {
    position: relative;
}

.list li.item {
    width: 47%;
}

.list-service li.item {
    width: 23%;
}

.list-service li.item:hover ul.list-service-submenu {
    display: block;
}

.list-service ul.list-service-submenu {
    position: absolute;
    width: 100%;
    left: 0;
    display: none;
    z-index: 1;
    background: #ffffff;
    border-radius: 50px;
    margin-top:1%;
}

.list-service li.item:hover {
    background: #ffffff;
    border-radius: 50px;
}

.list-service ul.list-service-submenu li.item {
    margin-top: 1%;
    width: 18%;
}

ul.list-service li.item p,
.list-service ul.list-service-submenu li.item p {
    margin-bottom: 0;
}

ul.list-service li.item a {
    text-decoration:none;
}

.list-service li.item .img img {
    width: 100%;
}

.list-service li.item .img {
    border-radius: 50px;
    overflow: hidden;
    font-size: 0;
    margin-bottom: 10px;
}

.text-item {
    position: absolute;
    font-size: 36px;
    line-height: 1.3;
    font-weight: 400;
    bottom: 2em;
    left: 2em;
    z-index: 2;
    width: 80%;
    text-align: left;
}

.text-item p {
    color: #333333;
}

picture.img-view,
picture.img-hide {
    left: 0;
    width: 79%;
    height: 88%;
    margin: 0 11%;
    margin-top: -6%;
    position: absolute;
    transition: 1s;
    transform: scale(1) rotate(0deg);
    -webkit-transform: scale(1) rotate(0deg);
    -ms-transform: scale(1) rotate(0deg);
}

picture.img-view img,
picture.img-hide img {
    width: 100%;
}

picture.img-hide {
    opacity:0;
    transition: 1s;
    transform: scale(1) rotate(0deg);
    -webkit-transform: scale(1) rotate(0deg);
    -ms-transform: scale(1) rotate(0deg);
}

a.link-item:hover picture.img-hide {
    transform: scale(1.1) rotate(2deg);
    -webkit-transform: scale(1.1) rotate(2deg);
    -ms-transform: scale(1.1) rotate(2deg);
    opacity:1;
    transition: 1s;
}

a.link-item:hover picture.img-view {
    transform: scale(1.1) rotate(2deg);
    -webkit-transform: scale(1.1) rotate(2deg);
    -ms-transform: scale(1.1) rotate(2deg);
    transition: 1s;
}

.img-bg img {
    width: 100%;
}

.list-portfolio {
    margin-bottom: 100px;
}

.item.portfolio-img {
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    overflow: hidden;
}

.list-logo {
    margin-bottom: 100px;
    background: #ffffff;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    padding: 0 60px 40px;
}

div#slider-logo {
    height: 78px;
    overflow: hidden;
}

.item.logo-img img {
    height: 60px;
}

.item.logo-img img {
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: gray;
}

.item.logo-img img:hover {
	-webkit-filter: none;
	-moz-filter: none;
	-ms-filter: none;
	-o-filter: none;
	filter: none;
	filter: none;
}

/* NEWS and ARTICLE
-----------------------------------------------------------------------------*/

.item-news h3 {
    text-align: left;
}

.item-news a {
    text-decoration: none;
    color: #0064d1;
}

.item-news i {
    font-size: 14px;
    color: #909090;
}

/* GALLERY
-----------------------------------------------------------------------------*/

.gallery {
    list-style-type: none;
    font-size: 0;
    margin: -10px;
}

.gallery a {
    display: inline-block;
    text-decoration: none;
    position: relative;
    width: calc(16.66% - 20px);
    margin: 10px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
}

.gallery a:after {
    content: '';
    display: block;
    padding-top: 100%;
}

.gallery a img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
}

.gallery a:before {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-image: -webkit-gradient(linear, 0 100%, 0 0, from(transparent), color-stop(0.5, rgba(209, 209, 209, 0.5)), to(transparent));
    background-image: -webkit-linear-gradient(90deg, transparent, rgba(209, 209, 209, 0.5) 50%, transparent 100%);
    background-image: -moz-linear-gradient(90deg, transparent, rgba(209, 209, 209, 0.5) 50%, transparent 100%);
    background-image: -o-linear-gradient(90deg, transparent, rgba(209, 209, 209, 0.5) 50%, transparent 100%);
    background-image: linear-gradient(90deg, transparent, rgba(209, 209, 209, 0.5) 50%, transparent 100%);
    background-repeat: no-repeat;
    background-position: -185px 0, center 10px, center 125px, center 155px;
    box-sizing: border-box;
    animation: animloader 1s linear infinite;
}

@keyframes animloader {
  to {
    background-position: 185px 0, center 10px, center 125px, center 155px;
  }
}

/* LIST-CATALOG
-----------------------------------------------------------------------------*/

.list-catalog {
    margin-bottom: 20px;
}

.catalog-service {
    list-style-type: none;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.1;
    text-align: center;
    margin-top: 60px;
    position:relative;
}

.catalog-service {
    margin-top: 40px;
}

.catalog-service, .item-info-block h2, .catalog-service a {
    text-align: left;
    text-decoration: none;
}

.catalog-service li.item {
    display: block;
    overflow: hidden;
    width: 100%;
    margin: 0;
    margin-bottom: 40px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    box-sizing: border-box;
}

.catalog-item-submenu li.item {
    background:#ffffff;
    border: none;
}

ul.catalog-item-submenu {
    margin-bottom: 0px;
}

.catalog-item-submenu li.item {
    margin-bottom: 0px;
    padding-bottom: 20px;
    border-radius: 0px;
}

.catalog-service .img {
    width:30%;
}

.catalog-service .img img {
    width:100%;
}

.catalog-service .item-info-block {
    width:70%;
}

.catalog-service .img, .catalog-service .item-info-block {
    display:inline-block;
    overflow:hidden;
    float:left;
}

.catalog-item-submenu {
    list-style-type: none;
}

/* Contacts
-----------------------------------------------------------------------------*/

.contacts-wrap {
    overflow: hidden;
    background: #3875B7;
    border-radius: 50px 50px 0 0;
    -webkit-border-radius: 50px 50px 0 0;
    -moz-border-radius: 50px 50px 0 0;
    margin-bottom: -50px;
}

.contacts-wrap .title-block h2 {
    color: #ffffff;
}

.contacts {
    margin-bottom: 90px;
}

.contacts-block {
    width: 100%;
    margin-bottom: 40px;
}

.contacts-block p {
    color: #ffffff;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 300;
    text-align: center;
    margin-bottom: 20px;
}

.contacts-block p a {
    color: #ffffff;
    text-decoration: none;
}

.map {
    height: 480px;
    margin: 0 auto;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    overflow: hidden;
	display: block;
}

/* Product
-----------------------------------------------------------------------------*/

.top-block-probuct, .down-block-probuct {
    overflow: hidden;
    margin-bottom:20px;
}

.img-product {
    width: 49%;
    margin-right: 1%;
    overflow: hidden;
    float: left;
}

.img-product .fotorama__stage {
    border-radius: 50px;
    overflow: hidden;
}

.img-product .fotorama__thumb {
    border-radius: 16px;
    overflow: hidden;
}

.img-product .fotorama__thumb-border {
    border-radius: 15px;
}

.img-product .fotorama__fullscreen-icon {
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: zoom-in;
    z-index: 10;
}

.info-product {
    width: 49%;
    margin-left: 1%;
    overflow: hidden;
    float: left;
}

.product .title-block-wrap {
    overflow: hidden;
    width: 49%;
    margin-left: 1%;
    float: right;
}

.product .title-block {
    margin-bottom: 10px;
    width: fit-content;
    overflow: hidden;
}

.product .title-block h1 {
    font-size: 32px;
    position: relative;
    z-index:2;
}

.product .title-block:after {
    content: "";
    width: 50%;
    height: 20px;
    background: #5da9de;
    display: block;
    position: relative;
    top: -15px;
    z-index: 1;
}

.info-product p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.block-select-product {
    overflow: hidden;
    margin-bottom: 10px;
}

.wrap-select,
.wrap-prices {
    float: left;
    margin-right: 20px;
}

.select-title,
.price-product-title {
    color: #666666;
    font-size: 14px;
    margin-bottom: 5px;
}

.bottun-price-wrap {
    overflow:hidden;
    display: block;
    margin-bottom: 20px;
}

.bottun-order {
    float: left;
    margin-right: 20px;
}

.bottun-price a,
.button-price-premium a,
.bottun-order a,
.popup div input[type="submit"] {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}

.popup div input[type="submit"] {
    font-size: 16px;
}

.bottun-order a,
.popup div input[type="submit"] {
    color: #ffffff;
    padding: 10px 20px;
    background-color: #3875b7;
    border: none;
}

.bottun-price a, .button-price-premium a {
    background-color: none;
    padding: 9px 19px;
    border: 1px solid #3875b7;
    color: #3875b7;
}

.bottun-order a:hover,
.popup div input[type="submit"]:hover {
    background-color: #5da9de;
}

.bottun-price a:hover,
.button-price-premium a:hover {
    background-color: #5da9de;
    padding: 10px 20px;
    color: #ffffff;
    border: none;
}

.price-product,
.size-product {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.price-product span,
.size-product span {
    font-size: 28px;
}

.price-table {
    border-collapse: collapse;
    border: 1px solid #cccccc;
    width: 100%;
    text-align: center;
}

.price-table thead {
    background-color: #3875b7;
    color: #ffffff;
}

.price-table th {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #cccccc;
}

.price-table td {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #cccccc;
}

.price-table tr td:first-child {
    font-weight: bold;
}

.table-scroll {
    width: 100%;
    max-height: 70vh;
    overflow: auto;
}

.down-block-product .table-scroll {
    max-height: none;
}

/* полоса прокрутки (скроллбар) */
.table-scroll::-webkit-scrollbar {
    width: 6px;
    height: 8px;
    background-color: #f2f2f2;
}

/* ползунок скроллбара */
.table-scroll::-webkit-scrollbar-thumb {
    background-color: #5da9de;
    border-radius: 6px;
}

.table-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #3875b7;
}

/* List-benefist, List-about List-set
-----------------------------------------------------------------------------*/

ul.benefits-list,
ul.about-list,
ul.set-list {
    list-style: none;
    text-align: center;
    background: white;
    border-radius: 50px;
    padding: 30px 0;
    margin-bottom: 20px;
    line-height: normal;
    font-size: 18px;
}

ul.benefits-list li,
ul.about-list li,
ul.set-list li {
    display: inline-block;
    width: 20%;
    padding: 0 2%;
    vertical-align: top;
    margin: 0;
}

ul.about-list li {
    margin: 20px 0;
}

ul.set-list li {
    width: 15%;
}

ul.set-list h3 {
    margin-top: 0;
    margin-bottom: 40px;
}

ul.set-list p.set-alarm {
    margin: 0 20px;
    font-size: 14px;
    color: #6e6e6e;
}

ul.benefits-list li p,
ul.about-list li p {
    margin-bottom: 0;
}

ul.benefits-list li img,
ul.about-list li img,
ul.set-list li img {
    height: 70px;
    margin-bottom: 10px;
}

/* Select
-----------------------------------------------------------------------------*/

.select { 
    display: block; 
    font-size: 16px;
    line-height: 1.3; 
    padding: .6em 1.4em .5em .8em;
    box-sizing: border-box; 
    margin: 0; 
    border: 1px solid #aaa;
    border-radius: 5px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff; 
    background-image: url('../img/icon/arrow-down-icon.svg'), linear-gradient(to bottom, #ffffff 0%,#ffffff 100%); 
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%; 
} 

.select::-ms-expand {
    display: none;
} 

.select:hover {
    border-color: #888;
} 

.select:focus {
    border-color: #aaa;
    color: #222;
    outline: none; 
} 

.select option {
    font-weight:normal;
} 

*[dir="rtl"] .select,
:root:lang(ar) .select,
:root:lang(iw) .select { 
    background-position: left .7em top 50%, 0 0; 
    padding: .6em .8em .5em 1.4em; 
}

/* Neighbors
-----------------------------------------------------------------------------*/

.neighbors.d-flex.justify-content-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.neighbors.d-flex.justify-content-between span a {
    background: #ffffff;
    border-radius: 50px;
    padding: 5px 10px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: #1c1818;
    font-size: 18px;
}

.neighbors.d-flex.justify-content-between span a:hover {
    background: #3875B7;
    color: #ffffff;
}

/* Popup
-----------------------------------------------------------------------------*/

.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 998;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}

.overlay:target+.popup {
    top: 50%;
    opacity: 1;
    visibility: visible;
    max-height: 80%;
    max-width: calc(90% - 30px);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.overlay:target {
    visibility: visible;
    display: block;
    opacity: 1;
}

.popup {
    /* right: 0; */
    left: 50%;
    margin: 0;
    min-width: 250px;
    max-width: 1000px;
    padding: 15px;
    border-radius: 5px;
    background-color: #ffffff;
    display: inline-block;
    text-align: center;
    font-size: 18px;
    opacity: 0;
    position: fixed;
    z-index: 999;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}

.close:before {
    content: "✖";
    font-size: 30px;
    z-index: 999;
    opacity:1;
    color: #ffffff;
    -webkit-color: #ffffff;
}

.close {
    height: 25px;
    line-height: 25px;
    position: absolute;
    right: 5px;
    text-align: center;
    text-decoration: none;
    top: -35px;
    width: 25px;
    color: #ffffff;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
}

.popup h2 {
    margin: 0 auto;
    margin-bottom: 20px;
    max-width: 300px;
}

.popup h2 span {
    font-size: 20px;
    display: block;
}

.popup div input,
.popup div textarea {
    font-size: 16px;
    line-height: 1.3;
    padding: 0.6em 1.4em 0.5em 0.8em;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #aaa;
    border-radius: 5px;
    margin-bottom: 10px;
    min-width: 300px;
    width:100%;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.popup div input.error {
    border: 1px solid #ef4343;
}

/* Footer
-----------------------------------------------------------------------------*/
.footer {
    margin: -100px auto 0;
    height: 100px;
    background: #333333;
    position: relative;
    border-radius: 50px 50px 0 0;
    -webkit-border-radius: 50px 50px 0 0;
    -moz-border-radius: 50px 50px 0 0;
}

.footer p, .footer a {
    color: #ffffff;
    line-height: 100px;
    text-align: center;
    font-size: 12px;
    text-decoration:none;
}

@media screen and (min-width: 0px) and (max-width: 1000px) {

	.slider h1 {
		font-size: 60px;
	}
	
	.block-intro p {
		font-size: 22px;
		line-height: 1.6;
	}
	
	.list li.item {
		width: 86%;
		margin-bottom: 3%;
	}
	
	ul.set-list li {
        width: 28%;
    }
    
    .list-service li.item,
    .list-service ul.list-service-submenu li.item {
        width: 31%;
    }
	
	.contacts-block p {
		font-size: 22px;
	}
	
	.gallery a {
        width: calc(25% - 20px);
    }

}

@media screen and (min-width: 0px) and (max-width: 700px) {
	
	.menu {
		float: right;
		margin-right: 20px;
	}
	
	.logo {
		position: relative;
		left: auto;
		-webkit-transform: none;
		-ms-transform: none;
		-o-transform: none;
		transform: none;
		margin-left: 20px;
	}
	
	.contacts-menu {
		display: none;
	}

	.slider h1 {
		font-size: 34px;
	}
	
	.block-intro {
		margin-bottom: 50px;
	}
		
	.block-intro p {
		font-size: 16px;
		line-height: 1.3;
	}
	
	.title-page h1 {
        font-size: 32px;
    }
	
	.title-block h2 {
		font-size: 30px;
	}
	
	.list li.item {
		width: 86%;
		margin-bottom: 3%;
	}

    .text-item {
        font-size: 20px;
        left: 3em;
    }
	
    picture.img-hide {
		opacity: 1;
	}
	
	.contacts-block p {
		font-size: 16px;
	}
	
	.product .title-block-wrap, 
	.img-product,
	.info-product {
        width: 100%;
        margin-left: 0;
    }
    
    .img-product {
        margin-bottom: 20px;
    }
    
    ul.benefits-list li,
    ul.about-list li,
    ul.set-list li {
        width: 44%;
        margin: 10px 0;
    }
    
    .list-service li.item,
    .list-service ul.list-service-submenu li.item {
        width: 48%;
    }
    
    .price-table th, .price-table td {
        font-size: 12px;
    }
    
    .neighbors.d-flex.justify-content-between {
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    
    .neighbors.d-flex.justify-content-between span a {
        margin-bottom: 10px;
    }
    
    .content .service li {width:49%;}
    
    .gallery a {
        width: calc(50% - 20px);
    }
   
   .footer p {
		line-height: 18px;
		padding: 34px 34px 0;
	}
	
	.footer a {
		line-height: 18px;
	}
   
}

@media screen and (min-width: 0px) and (max-width: 420px) {

    .text-item {
        font-size: 16px;
    }
	
}