.visually-hidden {
    font-size: 0;
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
}

 /* registration Modal */
 .overlay,
 .success-overlay {
     opacity: 0;
     visibility: hidden;
     position: fixed;
     left: 0;
     right: 0;
     top: 0;
     bottom: 0;
     z-index: 1000;
     background-color:rgba(0, 0, 0, 0.8);
 }
 
 .opacity {
     opacity: 0;
 }

 .registration {
     background-color: #ffffff;
     width: 100%;
     padding: 0;
 }
 
.registration form {
    margin: 40px auto 0;
    padding: 0;
}

.registration-input-block {
    position: relative;
    margin: 0 0 35px 0;
}

.registration-input-block input {
    width: 100%;
    margin: 0;
    padding: 0;
    outline: 0;
    border: none;
    border-bottom: 1px solid #0F173F;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: #222;
    cursor: pointer;
    background-color: #ffffff;
}

.registration-input-block label {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: rgba(15, 23, 63, 0.3);
    margin: 0;
    position: absolute;
    top: -5px;
    left: 0;
    transition: .2s ease all;
    pointer-events: none;
}


.registration-input-block input::placeholder{
    color: transparent;
}

.registration-input-block input:focus + label,
.registration-input-block input:not(:placeholder-shown) + label,
.registration-input-block input:focus ~ label,
.registration-input-block input:not(:placeholder-shown) ~ label  {
    transform: translateY(-16px);
    font-size: 12px;
}

.registration-input-block input[data-validate-field="phone"]:focus::placeholder  {
    color: #e2e2e2;
}

.visually-hidden {
    font-size: 0;
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
}

.broadcasts__title {
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
    color: #222222;
}


.broadcasts-list {
    margin: 30px 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.broadcasts-list__item {
    font-size: 16px;
    line-height: 18px;
} 

.broadcasts-list__input + .broadcasts-list__label {
    position: relative;
    padding-left: 45px;
    cursor: pointer;
}

.broadcasts-list__input + .broadcasts-list__label::before,
.broadcasts-list__input + .broadcasts-list__label::after {
    position: absolute;
    content: "";
    border-radius: 50%;
}

.broadcasts-list__input + .broadcasts-list__label::before {
    width: 25px;
    height: 25px;
    top: -4px;
    left: -2px;
    border: 1px solid #222;
}

.broadcasts-list__input:checked + .broadcasts-list__label::after {
    width: 11px;
    height: 11px;
    top: 4px;
    left: 6px;
    background-color: #00AFFF;
}




.consent-input-block {
    display: flex;
}

.registration .consent-input-block input+label {
    position: relative;
    cursor: pointer;
}

.registration .consent-input-block input:checked+label::before {
    background-image: url(img/icon-check.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 12px;
    -webkit-background-size: 16px 12px;
    background-color: #222222;
    border: 1px solid #222222;
}

.registration .consent-input-block label::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    display: block;
    width: 24px;
    height: 24px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #161616;
    border-radius: 5px;
}

.consent-input-block a {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #161616;
    margin: 0 0 0 40px;
}

.consent-input-block small {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #161616;
    margin: 0 0 0 auto;
}

.registration form button[type="submit"] {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 280px;
    height: 56px;

    font-family: var(--font-harmonia);
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 22px;
    color: #FFFFFF;
    background: #00AFFF;
    border: 2px solid #00AFFF;
    border-radius: 5px;
    cursor: pointer;
    margin: 61px auto 0;
}

.registration form button[type="submit"]:hover,
.registration form button[type="submit"]:focus {
    background-color: #ffffff;
    border-color: #00AFFF;
    color: #00AFFF;
}

/* Success Modal */
.success {
    /* position: fixed;
    left: 50%;
    background-color: #ffffff;
    width: 100%;
    max-width: 1180px;
    padding: 138px 100px 144px;
    z-index: 100;

    top: 50%;
    transform: translate(100%, 100%);
    border-radius: 20px; */
    display: none;
}
  
  .success__title {
    font-style: normal;
    font-weight: bold;
    font-size: 48px;
    line-height: 58px;
    text-align: center;
    color: #161616;
    margin: 0;
  }
  
  .success__info {
    max-width: 420px;
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 34px;
    text-align: center;
    color: #161616;
    margin: 14px auto 0;
  }
  
  .success__btn {
    display: flex;
    justify-content: center;
    align-items: center;
  
    width: 280px;
    height: 58px;
    font-family: var(--font-harmonia);
    font-size: 20px;
    font-weight: 600;
    line-height: 22px;
    border: 2px solid #222222;
    border-radius: 5px;
    background-color: #ffffff;
    margin: 40px auto 0;
    cursor: pointer;
  }

  .success__close-icon {
    width: 24px;
    height: 24px;
    fill: #222222;
  }
  
  .success__btn:hover,
  .success__btn:focus {
    border-color: #00AFFF;
    color: #00AFFF;
  }
  
.success .success__close-btn {
    position: absolute;
    top: 27px;
    right: 21px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.success--fade {
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

  /* animation */
.fadeIn,
.fadeOut,
.slideInDown,
.slideOutUp {
	-webkit-animation-duration: 0.3s;
	animation-duration: 0.3s;
	-webkit-animation-timing-function: cubic-bezier(0, 0, 0.58, 1);
	animation-timing-function: cubic-bezier(0, 0, 0.58, 1);
}

.fadeIn {
	-webkit-animation-name: fadeIn;
	animation-name: fadeIn;
	opacity: 1;
	visibility: visible;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.fadeOut {
	-webkit-animation-name: fadeOut;
	animation-name: fadeOut;
	opacity: 0;
	visibility: hidden;  
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}

.slideInDown {
	-webkit-animation-name: slideInDown;
	animation-name: slideInDown;
	top: 50%;
	transform: translate(-50%, -50%);
}

.slideOutUp {
	-webkit-animation-name: slideOutUp;
	animation-name: slideOutUp;
}


/* Valid */

#viniloman-september-2023 .js-validate-error-label {
	top: 100%;
	right: 0;
	left: 132px;
	position: absolute;
	margin-top: 2px;
	font-size: 14px;
	color: #c46060 !important;
	color: var(--base-color-red) !important;
        display: none;
}

#viniloman-september-2023 .seance-time .js-validate-error-label {
	left: 0px;
}

#viniloman-september-2023 .js-validate-error-field {
    border: none !important;
    border-bottom: 1px solid #ed4261 !important; 
}

#viniloman-september-2023 .js-validate-error-field ~ label {
    color: #ed4261;
}

#viniloman-september-2023 .js-validate-error-field ~ label::before {
    border-color: #ed4261 !important;
}


#viniloman-september-2023 .js-validate-error-field ~ label a {
    color: #ed4261 !important;
}

#viniloman-september-2023 .js-validate-error-field + label {
    color: #ed4261;
}

#viniloman-september-2023 .js-validate-error-field ~ .parameter-info .parameter-info__name {
    color: #ed4261;
}

#viniloman-september-2023 .bitrix-captcha {
    margin-top: 10px;
}

#viniloman-september-2023 .field-wr .field-label {
    letter-spacing: 0;
    text-transform: none;
}

#viniloman-september-2023  .form-row {
    margin-bottom: 0;
}

.registration-input-block textarea {
    font-family: var(--font-harmonia);
    width: 100%;
    min-height: 140px;
    border: 1px solid #222;
    border-radius: 15px;
    background-color: transparent;
    font-size: 16px;
    line-height: 1;
    color: #222;
    resize: none;
    padding: 20px;
    margin: 0;
    position: relative;
}

@media(max-width: 1024px) {
    .registration {
        padding: 0 6px;
    }

    .registration-input-block label {
        font-size: 16px;
        top: -1px;
        left: 0px;
    }

    .registration .consent-input-block input+label {
        margin: 2px 0 0 44px;
    }

    .registration .consent-input-block label::before {
        left: -42px;
        top: -3px;
    }

    .consent-input-block a {
        margin: 0;
        font-size: 14px;
        line-height: 20px;
    }

    .registration form button[type="submit"] {
        width: 252px;
        height: 52px;
        font-size: 16px;
        margin: 35px auto 0;
    }


    .success {
        padding: 40px;
    }
      
    .success__title {
        font-size: 32px;
        line-height: 1;
        margin: 0 auto;
    }
      
    .success__info {
        max-width: 380px;
        font-size: 18px;
        line-height: 25px;
        letter-spacing: 0.02em;
        text-align: center;
        padding: 0 17px;
        margin: 26px auto 0;
    }

    .success__btn {
        width: 252px;
        height: 52px;
        font-size: 16px;
        margin: 50px auto 0;
    }

    .success .success__close-btn {
        width: 18px;
        height: 18px;
        top: 19px;
        right: 24px;
    }

    .success__close-icon {
        width: 16px;
        height: 16px;
    }
}

@media(max-width: 767px) {
    /* registration */
    
    .registration form {
        margin: 39px auto 0;
    }

    .registration__title {
        max-width: 111px;
        font-weight: 700;
        font-size: 24px;
        line-height: 28px;
        margin: 0 auto;
    }
    
    .registration__subtitle {
        font-size: 18px;
        line-height: 25px;
        margin: 15px auto 0;
        max-width: 663px;
    }
    
    .registration__btn-close {
        top: 20px;
        right: 20px;
    }

    .broadcasts__title {
        font-weight: 600;
        font-size: 20px;
        line-height: 1;
        color: #222222;
    }
    
    
    .broadcasts-list {
        margin: 16px 0 30px;
        padding: 0 0 0 30px;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    
    .broadcasts-list__input + .broadcasts-list__label {
        padding-left: 0;
    }
    
    
    .broadcasts-list__input + .broadcasts-list__label::before {
        width: 20px;
        height: 20px;
        top: 0;
        left: -30px;
    }
    
    .broadcasts-list__input:checked + .broadcasts-list__label::after {
        width: 10px;
        height: 10px;
        top: 6px;
        left: -24px;
    }

    /* Success */

      
    .success__title {
        font-size: 24px;
        line-height: 28px;
        font-size: 24px;
        line-height: 28px;
        margin: 0 auto;
    }
      
    .success__info {
        font-size: 18px;
        line-height: 25px;
        text-align: center;
        padding: 0 17px;
        margin: 32px auto 0;
    }
      
    .success__btn {
        width: 288px;
        height: 58px;
        font-size: 16px;
        line-height: 18px;
        margin: 60px auto 0;
        color: #222222;
    }
    
    .success__close-icon {
        top: 15px;
        right: 8px;
        fill: #222222;
    }
    
    .success__btn:hover,
    .success__btn:focus {
        border-color: #00AFFF;
        color: #00AFFF;
    }
    
    .success .success__close-btn {
        position: absolute;
        top: 19px;
        right: 22px;
        background-color: transparent;
        border: none;
    }

    .registration form {
        margin: 20px auto 0;
    }

    .registration-input-block {
        margin: 0 0 22px 0;
    }
    
    
    .registration-input-block input {
        font-size: 18px;
        font-weight: 400;
        line-height: 25px;
        border-radius: 0;
    }
    
    .registration-input-block label {
        font-size: 16px;
        font-weight: 400;
        line-height: 25px;
        top: -2px;
        left: 0;
    }

    .registration .consent-input-block label {
        max-width: 178px;
        margin: 0 0 0 40px;
    }
    
    .registration .consent-input-block label::before {
        left: -33px;
        top: 2px;
    }

    .registration .consent-input-block input+label {
        margin: 0 0 0 33px;
    }
    
    .consent-input-block a {
        font-size: 12px;
        line-height: 13px;
        margin: 0;
    }
    
    .consent-input-block small {
        display: none;
    }
    
    .registration form button[type="submit"] {
        width: 100%;
        height: 40px;
        font-size: 16px;
        line-height: 18px;
        margin: 20px auto 0;
    }

    .registration-input-block textarea {
        min-height: 100px;
        border-radius: 10px;
        font-size: 16px;
        padding: 10px;
    }


}

@media(max-width: 375px) {
    .broadcasts-list__item {
        font-size: 12px;
        line-height: 14px;
    }
}

@keyframes fadeIn {
	from {
		opacity: 0;
		visibility: hidden;
	}

	to {
		opacity: 1;
		visibility: visible;
	}
}

@keyframes fadeOut {
	from {
		opacity: 1;
		visibility: visible;
	}

	to {
		opacity: 0;
		visibility: hidden;
	}
}

@keyframes slideInDown {
	from {
		transform: translate(-50%, 50%);
	}

	to {
		top: 50%;
		transform: translate(-50%, -50%);
	}
}

@keyframes slideOutUp {
	from {
		top: 50%;
		transform: translate(-50%, -50%);
	}

	to {
    top: 100%;
		transform: translate(-50%, 50%);
	}
}