/* Modal Styles */
.modal {
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
}
@media screen and (min-width: 66.5625rem) {
  .modal {
    height: 100vh;
  }
}
@media screen and (max-width: 66.5rem) {
  .modal {
    height: 100%;
  }
}
.modal-success {
  height: 100%;
  margin: 0 auto;
}
.modal-success .close {
  filter: brightness(1);
}
@media screen and (min-width: 42.0625rem) {
  .modal-success .close {
    transform: translate(-40px, 40px);
  }
}
@media screen and (max-width: 42rem) {
  .modal-success .close {
    width: 25px;
    height: 25px;
  }
}
.modal-success .modal-content {
  max-width: fit-content;
  margin: 0;
  max-width: 811px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding-bottom: 70px;
}
@media screen and (max-width: 66.5rem) {
  .modal-success .modal-content {
    height: auto;
  }
}
@media screen and (max-width: 30rem) {
  .modal-success .modal-content {
    min-height: auto;
  }
}
.modal-success .modal-content .btn {
  max-width: fit-content;
  margin: 0 auto 0;
}
.modal-success .modal-info {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 465px;
  text-align: center;
}
@media screen and (min-width: 66.5625rem) {
  .modal-success .modal-info {
    padding: 70px 80px 25px;
  }
}
@media screen and (max-width: 66.5rem) and (min-width: 42.0625rem) {
  .modal-success .modal-info {
    padding: 3.75rem 2.5rem;
  }
}
@media screen and (max-width: 42rem) {
  .modal-success .modal-info {
    padding: 1.25rem 0.625rem;
  }
}
.modal-success .modal-info .title {
  color: #fff;
}
.modal-success .modal-info .subtitle {
  color: #fff;
}

/* Modal Content */
.modal-content {
  background-color: var(--white);
  /* 15% from the top and centered */
  border: none;
  max-width: 100rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--oranzhevyy);
  overflow: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 66.5625rem) {
  .modal-content {
    border-radius: 4.375rem;
  }
}
@media screen and (max-width: 66.5rem) and (min-width: 42.0625rem) {
  .modal-content {
    margin: 0 auto;
	height: auto;
    min-height: auto;
    max-height: 100dvh;
    border-radius: 3.125rem;
  }
}
@media screen and (max-width: 42rem) {
  .modal-content {
    margin: 0 auto;
    height: auto;
    min-height: auto;
    max-height: 100dvh;
  }
}
.modal-content-items {
  display: grid;
}
@media screen and (min-width: 66.5625rem) {
  .modal-content-items {
    grid-template-columns: minmax(20rem, 43.25rem) 1fr;
  }
}
@media screen and (max-width: 66.5rem) {
  .modal-content-items {
    grid-template-columns: 1fr;
  }
}
.modal-content-items-left {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background-color: #fff;
  border-bottom-left-radius: 3.125rem;
  border-bottom-right-radius: 3.125rem;
}
@media screen and (max-width:1064px){
.form__main-text.modal-content-items-left .title span {
display: inline-block;
}
}

@media screen and (min-width: 66.5625rem) {
  .modal-content-items-left {
    border-bottom-left-radius: 0rem;
    border-bottom-right-radius: 0rem;
  }
}
@media screen and (max-width: 66.5rem) and (min-width: 42.0625rem) {
  .modal-content-items-left {
    border-bottom-left-radius: 3.125rem;
    border-bottom-right-radius: 3.125rem;
  }
}
@media screen and (max-width: 42rem) {
  .modal-content-items-left {
    border-bottom-left-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
  }
}
@media screen and (min-width: 66.5625rem) {
  .modal-content-items-left {
    max-width: 43.25rem;
    padding: 3.75rem 5rem;
  }
}
@media screen and (max-width: 66.5rem) and (min-width: 42.0625rem) {
  .modal-content-items-left {
    padding: 2.5rem;
  }
  .modal-content-items-left .title {
    max-width: 40.625rem;
    margin-bottom: 15px;
  }
  .modal-content-items-left .subtitle {
    max-width: 40.625rem;
  }
}
@media screen and (max-width: 42rem) {
  .modal-content-items-left {
    padding: 30px 10px 20px 20px;
  }
}
@media screen and (min-width: 66.5625rem) {
  .modal-content-items .form {
    padding: 3.75rem 5rem;
  }
}
@media screen and (max-width: 66.5rem) and (min-width: 42.0625rem) {
  .modal-content-items .form {
    padding: 2.5rem;
  }
}
@media screen and (max-width: 42rem) {
  .modal-content-items .form {
    padding: 0.625rem 1.25rem;
  }
}
@media screen and (max-width: 30rem) {
  .modal-content-items .form {
    padding-bottom: 2.5rem;
  }
}
.modal-content-items .form input, .modal-content-items .form textarea {
  color: #fff;
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.modal-content-items .form input::placeholder, .modal-content-items .form textarea::placeholder {
  color: #fff;
}
/*.modal-content-items .form input:hover, .modal-content-items .form input:active, .modal-content-items .form input:focus, .modal-content-items .form textarea:hover, .modal-content-items .form textarea:active, .modal-content-items .form textarea:focus {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3137254902);
}*/
.modal-content-items .form .checkbox-item-wrapper .text span, .modal-content-items .form .checkbox-item-wrapper .text a {
  color: #fff;
}
.modal-content-items .form .checkbox-item-wrapper .checkbox-item input:checked ~ .checkmark {
  background-color: #fff;
}
.modal-content-items .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);
}
@media screen and (max-width: 44.5rem) {
  .modal-content-items .form .form-btns {
    flex-direction: column;
  }
  .modal-content-items .form .form-btns .btn {
    max-width: 100%;
    justify-content: center;
    gap: 1rem;
    padding: 20px 0;
  }
  .modal-content-items .form .form-btns .btn .icon-small {
    position: relative;
    top: 0;
    transform: translate(0, 0%) rotate(-45deg);
    right: 0;
  }
}
.modal-content-items .form .btn-orange-white {
  border-color: #fff;
}
.modal-content-items .form .btn-orange-white span {
  color: #fff;
}
.modal-content-items .form .btn-orange-white .icon-small-orange {
  stroke: #fff;
}
.modal-content-items .form .btn-show-case {
  border: 1px solid transparent;
}
.modal-content-items .form .btn-show-case:hover {
  background-color: transparent;
  border-color: #fff;
  background-color: #fff;
}
.modal-content-items .form .btn-show-case:hover span {
  color: var(--oranzhevyy);
}
.modal-content-items .form .btn-show-case:hover .icon-small-white {
  stroke: var(--oranzhevyy);
}
@media screen and (max-width: 30rem) {
  .modal-content {
    width: 100%;
    overflow: auto;
    height: 100%;
    margin: 0 auto;
    position: absolute;
    min-height: 100dvh;
  }
}

/* Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  align-self: end;
  position: absolute;
}
@media screen and (max-width:1064px) {
  .close {
    filter: brightness(0.1);
  }
}
@media screen and (max-width:672px) {
.form__main-text.modal-content-items-left{
gap:10px;
}
}
@media screen and (min-width: 42.0625rem) {
  .close {
    transform: translate(-40px, 25px);
  }
}
@media screen and (max-width: 42rem) {
  .close {
    transform: translate(-10px, 10px);
  }
}

@media screen and (max-width: 860px) {
	.modal-success .modal-content{
		width:94% !important;
		border-radius:16px !important;
	}
}
.errors-form.error-none {
display:none
}

.close:hover,
.close:focus {
  opacity: 0.5;
  cursor: pointer;
}/*# sourceMappingURL=modal.css.map */


.field-error {
position: absolute;
  bottom: -22px;
  color: #fff;
  font-size: 14px;
}


@media screen and (max-width: 66.5rem) {
  .field-error {
    font-size: 12px;
  }
}
