
/* onas */
@media (max-width: 1440px) {
	.wraper-onas {
	margin-left: 20px;
    margin-right: 20px;
	}
}
    

.content-onas {
  max-width: 1740px;
  margin: 0 auto;
  font-family: arial;
}


.content-block-proekt {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    position: relative; 
	font-family: arial;
}

.header-container-proekt {
    display: flex;
    align-items: flex-start; 
    flex-direction: column;
    background: linear-gradient(to bottom, hsl(0.55deg 94.76% 55.1%) 65%, hsl(359.52deg 95.45% 74.12%) 35%);
    padding: 20px; 
    color: white; 
    width: 50%; 
    position: relative; 
    flex-grow: 1; 
}
@media (max-width: 768px) {
	.content-block-proekt {
		flex-wrap: wrap;
	}
	.image-container-proekt {
		width: 100% !important;
	}
	.text-background-proekt h1 {
		margin: 0px 1px 90px 10px !important;
	}
	.button-container-proekt {
		top: 72% !important;
        left: 53% !important;
	}
	.image-proekt {
        position: relative !important;
        max-width: 100% !important;
	}
}
.text-background-proekt h1 {
    font-size: 2.2em;
    margin: 55px 10px 51px 10px;
}

.button-container-proekt {
    left: 61%;
    position: absolute;
    top: 78%;
}

.question-button-proekt {
    background-color: rgb(236 27 34);
    color: white;
    border: none;
    padding: 13px 24px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

.question-button-proekt:hover {
    background-color: #f94d4d;
}

.image-container-proekt {
    position: relative;
    width: 80%;
    overflow: hidden;
	background: linear-gradient(to bottom, hsl(359.52deg 95.45% 74.12%) 65%, hsl(359.17deg 92.31% 84.71%) 36%);
}

.image-proekt {
    position: relative;
    opacity: 1;
}
@media (min-width: 768px) and (max-width: 1440px) {
	.text-background-proekt h1 {
		margin: 0px 1px 90px 10px !important;
	}
	.image-proekt {
		position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: auto;
        min-width: 100%;
        max-width: none;
	}
	.image-container-proekt {
	    width: 50%;	
	}
	.button-container-proekt {
		top: 73% !important;
	}
}


@media (max-width: 425px) {
	.header-container-proekt {
		display: flex;
        flex-direction: column;
		align-items: normal;
	}
	.header-container-proekt h1 {
		font-size: 28px !important;
	}
	.block-text-head h2 {
		font-size: 25px !important;
	} 
	.block-text-head-onas {
		font-size: 16px 
	}
	.block-text-onas p {
		font-size: 16px 
	}
}
@media (min-width: 1024px) and (max-width: 1600px) {
	.block-text-onas p {
		font-size: 18px
	}
	.block-text-onas {
		font-size: 18px
	}
}
@media (max-width: 513px) {
	.block-onas-predlozheniye-item {
		font-size: 16px !important;
	}
}
@media (max-width: 425px) {
	.block-preimushchestva-onas-heading,
	.block-steps-onas-head,
	.block-onas-predlozheniye-title,
	.block-onas-gallery-title-head,
	.ns-intec.c-startshop-form-result-new.c-startshop-form-result-new-contacts .startshop-form-result-new-header
	{
		font-size: 21px !important;
	}
}
@media (max-width: 1440px) {
    .block-text-onas {
        padding: 0px 20px 0px 20px;
    }
}
.block-text-head h2 {
	display: flex;
    justify-content: center;
	margin: auto;
    margin-bottom: 25px;
	font-size: 32px;
}
.block-text-head-red {
	color: red;
	text-indent: 27px;
}
.block-text-onas p {
	margin: auto;
	text-indent: 27px;
}
.block-texts-onas {
	margin: auto;
	text-indent: 27px;
}
.block-texts-onas {
	margin: auto;
	font-size: 20px;
}
@media (max-width: 768px) {
    .text-container-proekt {
        max-width: 100%;
    }

    .question-button-proekt {
        font-size: 18px; 
    }
}
@media (max-width: 435px) {
	.question-button-proekt {
		padding: 10px;
	}
}



.line-block-preimushchestva-onas-advantage {
	height: 2px;
    background-image: linear-gradient(to right, #ff8181 20%, transparent 0%, transparent 20%);
    background-size: 8px 99%;
}
.block-preimushchestva-onas-heading {
            text-align: center;
            font-size: 28px;
            font-weight: bold;
            margin: auto;
			margin-bottom: 10px;
        }
        .block-preimushchestva-onas-advantages {
            display: flex;
            justify-content: space-around;
            align-items: stretch;
        }
        .block-preimushchestva-onas-advantage {
             text-align: center;
             padding: 10px 25px 5px 25px;
             display: flex;
             flex-direction: column;
             align-items: center;      
        }
@media(max-width: 1270px) {
	.block-preimushchestva-onas-advantage  {
		flex: 1 1 30%;
	}
}
        .block-preimushchestva-onas-advantage img {
            width: 60%;
            height: 60%;
			transition: transform 0.3s ease, filter 0.3s ease;
        }
		.block-preimushchestva-onas-advantage img:hover {
			transform: scale(1.3);
		}
        .line-block-preimushchestva-onas-head {
            font-size: 20px;
            margin-bottom: 20px;
            margin-top: 25px;
			font-weight: bold;
			line-height: 1.5;
        }
        .block-preimushchestva-onas-advantage p {
            font-size: 18px;
			margin: auto;
        }
		@media (max-width: 768px) {
			.line-block-preimushchestva-onas-head {
				font-size: 16px !important;
			}
		}
		@media (max-width: 1440px) {
			.line-block-preimushchestva-onas-head {
				font-size: 18px;
			}
		}
		@media (min-width: 655px) and (max-width: 1270px) {
			.block-preimushchestva-onas-advantages {
				flex-wrap: wrap;
			}
		}
		@media (max-width: 655px) {
			.block-preimushchestva-onas-advantages {
				flex-direction: column;
                flex-wrap: nowrap;
				align-items: center;
			}
		}
		@media (min-width: 1024px) {
			.block-preimushchestva-onas-advantage p {
				font-size: 18px;
			}
		}
		@media (max-width: 768px) {
		}

		@media (max-width: 1024px) {
			.block-text-onas {
				font-size: 18px;
			}
			.block-text-head h2 {
				font-size: 28px;
			}
			.block-onas-gallery-title-head; {
				font-size: 28px;
			}			
		}




.steps-onas-container {
    display: flex;
    align-items: flex-end;
    margin: 20px 0;
}
@media(max-width: 1024px) {
	.steps-onas-container {
		align-items: center;
        flex-direction: column;
	}
	.arrow-container {
        width: 14% !important;
        transform: rotate(90deg);
        transform-origin: center;
        margin-bottom: 7vh !important;
        margin-top: 60px;
	}
}

.block-onas-step {
    flex: 1 0 22%;
    box-sizing: border-box; 
    margin: 10px 0;
    text-align: center; 
}

.block-onas-step-icon {
    margin-bottom: 10px; 
}

.block-onas-step-h {
    font-size: 20px;
    color: #000;
    font-weight: bold;
    margin-bottom: 25px;
    margin-top: 20px;
}

.block-onas-step-desc {
    font-size: 18px; 
	font-weight: bold;
}
@media (min-width: 1750px) and (max-width: 1920px) {
	.block-onas-step-desc {
		padding: 0px 55px 0 55px;
	}
}
.arrow-container {
    width: 40%;
    margin-bottom: 8%;
}
@media (min-width: 1024px) and (max-width: 1440px) {
	.arrow-container {
		margin-bottom: 15vh;
	}
}

.block-onas-step img {
    max-width: 35%; 
	transition: transform 0.3s ease, filter 0.3s ease;
}
.block-onas-step img:hover {
	transform: scale(1.3);
}

@media (max-width: 768px) {
	.block-onas-step-h {
		font-size: 18px;
	}
}
.block-onas-step p {
    font-size: 18px;
    color: #333;
	margin: auto;
}
@media (max-width: 768px) {
	.block-onas-step p {
		font-size: 16px;
	}
}
.block-steps-onas-head {
    text-align: center;
    font-size: 28px;
    margin: auto;
	margin-bottom: 25px;
	font-weight: bold;
}


@media (max-width: 600px) {
    .block-steps-onas h2 {
        font-size: 36px; 
    }

    .block-onas-step h3 {
        font-size: 16px; 
    }

    .block-onas-step p {
        font-size: 16px; 
    }
}




.block-onas-predlozheniye-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.wraper-onas {
    counter-reset: item;
}

.block-onas-predlozheniye-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    background-color: #fff;
    padding: 10px 0px 0px 0px;
    margin: 10px 0;
    font-size: 20px;
    font-weight: bold;
}

.block-onas-predlozheniye-item .number {
    background-color: #ec1b22;
    color: white;
    padding: 0px 15px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: auto;
    min-height: 69px;
    font-weight: bold;
	font-size: 1.5em;
}
@media (min-width: 768px) and (max-width: 1024px) {
	.block-onas-predlozheniye-item .number {
		min-height: 100px;
	}
}
@media(max-width: 768px) {
	.block-onas-predlozheniye-item .number {
		    min-height: 103px;
	}
}
@media(max-width: 425px) {
	.block-onas-predlozheniye-item .number {
		    min-height: 150px;
	}
}
@media (max-width: 1440px) {
	.block-onas-predlozheniye-item {
		font-size: 18px;
	}
}
/*certificate*/
.certificates-container {
    position: relative;
}

.custom-nav-certificates-block-onas {
    position: absolute;
    top: 50%;
    left: -25px;
    right: -25px;
    display: flex;
    justify-content: space-between;
}
.certificates-block-onas-text {
	font-size: 28px;
    text-align: center;
	font-weight: bold;
	margin-bottom: 5px;
}

.custom-prev-certificates-block-onas, .custom-next-certificates-block-onas {
    border-radius: 2px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.7); 
    transition: background-color 0.3s; 
    border: 1px solid #f2f2f2;
}

.custom-prev-certificates-block-onas:hover, .custom-next-certificates-block-onas:hover {
    background-color: red; 
    color: white; 
    border: none;
	transform: scale(1.3);
}
.certificates-container img {
	cursor: pointer;
}

@media (max-width: 1440px) {
	.custom-nav-certificates-block-onas {
    left: 0px;
    right: 0px;
	z-index: 1;
	}
}
@media (max-width: 1440px) {
    .certificates-container {
        margin-left: 20px;
        margin-right: 20px;
    }
}
.certificate-block-onas {
	max-height: 480px;
    object-fit: cover;
	padding: 20px;
}
@media (min-width: 390px) and (max-width: 599px) {
	.certificate-block-onas {
		max-height: none;
	}
}
@media (min-width: 600px) and (max-width: 1440px) {
	.certificate-block-onas {
		max-height: none;
	}
}
/* Модальное окно */
.modal {
    display: none;
    position: fixed; 
    z-index: 100; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 87%;
    align-content: space-around;
    margin-top: 55px;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}
@media (min-width: 1441px) and (max-width: 1850px) {
	.certificates-container {
	    position: relative;
        margin-left: 60px;
        margin-right: 60px;
	}
}
/*gallery*/
.block-onas-gallery-content {
    position: relative;
}

.custom-nav-block-onas-gallery {
    position: absolute;
    top: 50%;
    left: -40px;
    right: -40px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.custom-prev-block-onas-gallery, .custom-next-block-onas-gallery {
    border-radius: 2px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.7); 
    transform: scale(1.05);
	border: 1px solid #f2f2f2;
	transition: background-color 0.3s, transform 0.3s;
}

.custom-prev-block-onas-gallery:hover, .custom-next-block-onas-gallery:hover {
    background-color: red; 
    color: white; 
    border: none;
	transform: scale(1.3);
}

@media (max-width: 1440px) {
	.custom-nav-block-onas-gallery {
    left: 0px;
    right: 0px;
	z-index: 1;
	}
}

@media (min-width: 1441px) and (max-width: 1850px) {
	.block-onas-gallery {
	    position: relative;
        margin-left: 60px;
        margin-right: 60px;
	}
}
.block-onas-gallery-title-head {
	text-align: center;
	margin: auto;
    margin-bottom: 15px;
	font-size: 28px;
	font-weight: bold;

}

.owl-carousel .item-block-onas-gallery {
            display: flex;
            justify-content: center; 
            align-items: center; 
            overflow: hidden; 
            height: 300px; 
			cursor: pointer;
			padding: 10px;
        }

        .owl-carousel .item-block-onas-gallery img {
            width: 100%; 
            height: auto; 
            max-height: 100%; 
            object-fit: cover; 
			transition: transform 0.3s ease, filter 0.3s ease;
        }
		.owl-carousel .item-block-onas-gallery img:hover {
			transform: scale(1.1);
            filter: brightness(0.9);
		}
		
		/* Модальное окно */
.modal-gallery {
    display: none;
    position: fixed; 
    z-index: 100; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-content-gallery {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 87%;
    align-content: space-around;
    margin-top: 55px;
}

.close-gallery:hover,
.close-gallery:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.modal-content-gallery {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    -radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}

@media (min-width: 1441px) and (max-width: 1750px) {
	.block-text-onas {
		padding: 0px 20px 0px 20px;
	}
	.block-preimushchestva-onas {
		padding: 0px 20px 0px 20px;
	}
	.wraper-onas {
		padding: 0px 20px 0px 20px;
	}
}
@media (min-width: 1025px) and (max-width: 1600px) {
	.block-text-head-onas p {
		font-size: 20px;
	}
}
@media (max-width: 1440px) {
	.block-onas-gallery {
		padding: 0px 20px 0px 20px;
	}
}



