.form__main {
	 position: relative;
	 width: 100%;
	 z-index: 2;
	 display: grid;
}
 @media screen and (min-width: 66.0625rem) {
	 .form__main {
		 padding-top: 6.25rem;
	}
}
 @media screen and (max-width: 66rem) and (min-width: 42.0625rem) {
	 .form__main {
		 padding-top: 4.6875rem;
	}
}
 @media screen and (max-width: 42rem) {
	 .form__main {
		 padding-top: 1.875rem;
		 padding-left: 0.625rem;
		 padding-right: 0.625rem;
	}
}
 @media screen and (max-width: 95rem) and (min-width: 42.0625rem) {
	 .form__main {
		 padding-left: 2.5rem;
		 padding-right: 2.5rem;
	}
}
 @media screen and (max-width: 95rem) and (min-width: 66.0625rem) {
	 .form__main {
		 padding-bottom: 2.5rem;
	}
}
 @media screen and (min-width: 77.0625rem) {
	 .form__main {
		 -webkit-column-gap: 12rem;
		    -moz-column-gap: 12rem;
		         column-gap: 12rem;
		 grid-template-columns: 1fr 46.5625rem;
	}
}
 @media screen and (max-width: 77rem) {
	 .form__main {
		 grid-template-columns: 1fr;
	}
}
 .form__main .title {
	 font-size: clamp(1.875rem, 5vw, 3.875rem);
	 line-height: 90%;
	 color: var(--chernyy);
	 height: -webkit-fit-content;
	 height: -moz-fit-content;
	 height: fit-content;
}
 .form__main .subtitle {
	 font-size: 18px;
	 line-height: 120%;
	 color: var(--chernyy);
	 -ms-flex-item-align: end;
	     align-self: flex-end;
	 
}
 @media screen and (max-width: 42rem) {
	 .form__main .subtitle {
		 font-size: 1rem;
	}
}
 @media screen and (min-width: 77.0625rem) {
.form__main .subtitle {
		 padding-top: 1rem;
		margin-top: 1.25rem;
}
}
 @media screen and (max-width: 77rem) {
	 .form__main .subtitle {
		 font-size: 1rem;
		margin-top: 0.625rem;
	}
}
 @media screen and (max-width: 30rem) {
	 .form__main .subtitle {
		 padding-top: 0rem !important;
}
}
 .form__main .form textarea {
	 width: 100%;
	 height: 7rem;
}
 @media screen and (min-width: 77.0625rem) {
	 .form__main-article {
		 grid-column: 0.6666666667;
		 grid-row: 0.3333333333;
	}
}
 @media screen and (max-width: 77rem) {
	 .form__main-article {
		 /*margin-top: 2.5rem;*/
	}
}
 @media screen and (max-width: 48rem) and (min-width: 32.0325rem) {
	 .form__main .btn.btn-show-case {
		 padding: 1.25rem 3.0625rem 1.25rem 1.53125rem;
		 display: -webkit-box;
		 display: -ms-flexbox;
		 display: flex;
		 gap: 1.25rem;
	}
	 .form__main .btn.btn-show-case .icon-small {
		 position: absolute;
		 top: 50%;
		 -webkit-transform: translate(0, -50%) rotate(-45deg);
		     -ms-transform: translate(0, -50%) rotate(-45deg);
		         transform: translate(0, -50%) rotate(-45deg);
		 right: 1.53125rem;
	}
	 .form__main .btn.btn-transparent {
		 padding: 1.25rem 3.0625rem 1.25rem 1.53125rem;
		 display: -webkit-box;
		 display: -ms-flexbox;
		 display: flex;
		 gap: 1.25rem;
	}
	 .form__main .btn.btn-transparent .icon-small {
		 position: absolute;
		 top: 50%;
		 -webkit-transform: translate(0, -50%) rotate(-45deg);
		     -ms-transform: translate(0, -50%) rotate(-45deg);
		         transform: translate(0, -50%) rotate(-45deg);
		 right: 1.53125rem;
	}
}
 @media (max-width: 35rem) {
	 .form__main .form-btns {
		 -webkit-box-orient: vertical;
		 -webkit-box-direction: normal;
		     -ms-flex-direction: column;
		         flex-direction: column;
	}
	 .form__main .form-btns .btn {
		 max-width: 100%;
		 -webkit-box-align: center;
		     -ms-flex-align: center;
		         align-items: center;
		 -webkit-box-pack: center;
		     -ms-flex-pack: center;
		         justify-content: center;
		 padding-left: 0;
		 padding-right: 0;
		 gap: 1.25rem;
	}
	 .form__main .form-btns .btn .icon-small {
		 position: relative;
		 -webkit-transform: translate(0, 0) rotate(-45deg);
		     -ms-transform: translate(0, 0) rotate(-45deg);
		         transform: translate(0, 0) rotate(-45deg);
		 right: 0;
	}
}
 
.form__article {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 30px;
    background-color: var(--oranzhevyy);
    max-width: 955px;
    padding: 30px;
    border-radius: 30px;
    margin: 80px 0;
}



@media screen and (max-width:42rem) {
	.form__article form .btn-show-case {
		max-width:100%;
		width: 100%;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		gap: 20px;
		padding-left: 0;
		padding-right: 0;
	}

	.form__article form .btn-show-case .icon-small {
		position: relative;
		right: 0;
	}
}



.form__article.form__article__last{
	margin-bottom: 0;
}

.form__article h2,
.form__article p.subtitle {
    color: #fff;
}

.form__article p.subtitle {
    margin-top: 10px;
}

.form__article__input {
    color: #fff !important;
    width: 100% !important;
}

.form__article__input::-webkit-input-placeholder {
    color: #fff !important;
}

.form__article__input::-moz-placeholder {
    color: #fff !important;
}

.form__article__input:-ms-input-placeholder {
    color: #fff !important;
}

.form__article__input::-ms-input-placeholder {
    color: #fff !important;
}

.form__article__input::placeholder {
    color: #fff !important;
}

.form__article__input:hover,
.form__article__input:focus,
.form__article__input:active {
    border-color: transparent !important;
} 

.form__article-pseudo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    width: 100%;
}

.form__article-pseudo::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: #fff;
    -webkit-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
}

.form__article-pseudo:has(input:hover)::before, 
.form__article-pseudo:has(input:active)::before, 
.form__article-pseudo:has(input:focus)::before, 
.form__article-pseudo:has(textarea:hover)::before, 
.form__article-pseudo:has(textarea:active)::before, 
.form__article-pseudo:has(textarea:focus)::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    -webkit-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
}

.form__main-article .btn.btn-show-case:hover {
    background-color: #fff !important;
}

.form__main-article input,
.form__main-article textarea{
border-bottom: 1px solid rgba(255, 255, 255, 0.1019607843) !important;
}

.form__main-article .btn.btn-show-case:hover span{
    color: var(--oranzhevyy) !important;
}

.form__main-article .btn.btn-show-case:hover .icon-small-white {
    stroke: var(--oranzhevyy) !important;
}

.form__main-article .form .checkbox-item-wrapper .checkbox-item input:checked ~ .checkmark {
    background-color: #fff;
}

.form__main-article .form .checkbox-item-wrapper .checkbox-item .checkmark:after {
    left: 7px;
    top: 3px;
    width: 8px;
    height: 12px;
    border: solid var(--oranzhevyy);
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.form__main-article .text {
    color: #fff;
}

.form__main-article .form .checkbox-item-wrapper .text a
 {
    color: #fff;
    text-decoration: underline;
}

@media screen and (max-width:900px){
	.form__main-article .form-btns .btn.btn-show-case.btn-show-case-form{
		max-width:100%;
		width:100%;
		justify-content: center;
		gap: 20px;
	}

	.form__main-article .form-btns .btn.btn-show-case.btn-show-case-form .icon-small{
		position: relative;
		right:0;
	}
	.form__article {
		margin-bottom:20px;
	}
}




#article-form-errors{
	color: red;
	font-weight: 300;
	display:none;
}
#article-form-errors.error{
	display: block;
}