
/*================ Техническая разметка ================*/



/*================= PRIVATE STYLE ======================*/


/* блок форма */

.conteiner-contact-form {
    position: relative;
    border-radius: 5px;
    backdrop-filter: blur(11px);
	background: rgb(28 45 72 / 69%);
	max-width: 1200px;
    margin: 0px auto;
	
}

.conteiner-contact-form:before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 10px;
    background: transparent;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.wrap-contact-form {
    padding: 85px 40px;
}



.wrap-contact-form h2 {
	font-size: 36px;
	font-family: 'OpenSans-Medium';
	color:#ffffff;
	text-transform: uppercase;
	text-align: center;
    margin-bottom: 50px;
}


/* приписка мелким текстом */

.small-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 22px;
	margin-top: 30px;
}

.agreement p input {
    position: absolute;
    z-index: -1;
    visibility: hidden;
	vertical-align: middle;
}

.agreement a{
    color: #4db0da;
}

.agreement label {
    position: relative;
    display: inline-block;
    padding-left: 29px;
}


.agreement input[type="checkbox"]:checked + label:before {
    background: linear-gradient(0deg, rgba(0, 117, 255, 0.9), rgba(0, 117, 255, 0.9)), #FFFFFF;
    border-color: transparent;
}

.agreement input[type="checkbox"]:checked + label:after {
    opacity: 1;
    visibility: visible;
}

.agreement label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.agreement label:after {
    content: "";
    position: absolute;
    top: 7px;
    left: 6px;
    width: 11px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
}

/* форма */

form {
    display: flex;
    flex-wrap: wrap;
	justify-content: space-between;
}

textarea:nth-child(5) {
    width: 100%;
    max-width: unset;
}

input {
	max-width: 270px;
	width: 100%;
	height: 65px;
	margin-bottom:15px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    font-size: 18px;
    line-height: 1;
    color: rgba(255, 255, 255, 1);
    text-indent: unset;
    padding: 24px 15px 23px;
}


textarea {
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    font-size: 18px;
    line-height: 1;
	height: 150px;
    color: rgba(255, 255, 255, 1);
    text-indent: unset;
    padding: 20px 15px;
	margin-top: 35px;
}

::-webkit-input-placeholder {color: rgba(255, 255, 255, 1);}


/* мобильник */
@media (max-width: 1241px){
            form {
                text-align: center;
                display: flex;
                flex-direction: column;
                margin-top: 8px;
                max-width: 400px;
                margin: 0px auto;
            }

            .small-text {
                text-align: center;}	


            input:nth-child(4){order: 1;}
                
            textarea {	
                margin-top: 0px;
                margin-bottom: 18px;}

            form input {
                width: 100%;
                max-width: unset;}
}


@media (max-width: 576px){
	
            section.scroll-img {
                background-image: unset;
                background-color: #efefef; 
            }	
                    
            .wrap-contact-form {
                padding: 45px 28px;
            }	

            .wrap-contact-form h2 {
                font-size: 21px;
                margin-bottom: 20px;
            }

            .small-text {
                margin-top: 5px;
                font-size: 15px;
            }

            textarea {
                height: 110px;  
            }

            input {
                height: 56px;
            }

}


/* Bitrix contact form */

.bitrix-contact-form{
    width: fit-content;
    margin: 20px auto;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
}

.bitrix-contact-form:before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 10px;
    background: transparent;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    z-index: 100;

}


.bitrix-contact-form .b24-form-wrapper{
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(11px) !important;
    width: 100%;
    max-width: 1200px;
}




.bitrix-contact-form .b24-form-control-container{
    display: flex;
    align-items: center;
}

.bitrix-contact-form .b24-form-header{
    border-bottom: unset;
}

.bitrix-contact-form  .b24-form-header-title{
    margin-top: 20px;
    margin-bottom: 20px;
}



.bitrix-contact-form .b24-form-content form div:first-child{
    width: 100%;
    margin: unset;
}

.bitrix-contact-form .b24-form-content form div:nth-child(2){
    display: flex;
    align-items: center;
}


.bitrix-contact-form .b24-form-field{
   
}

.bitrix-contact-form .b24-form-field input{
   
    max-width: 100%;
}

.bitrix-contact-form input[type='checkbox']{
    width: 24px;
    height: 24px;
    margin: unset;
    margin-right: 5px;
}








