html{
	scroll-behavior: smooth;
}

.popup-window-titlebar-text,
.popup-window-content {
    font-family: "Inter Tight Regular" !important;
}

.popup-window-buttons .btn {
    font-family: "Inter Tight Regular" !important;
    color: #ffffff !important;
    background: #212121 !important;
    border: 1px solid #212121 !important;
    padding: 10px !important;
    font-size: 16px !important;
}

.popup-window-buttons .btn:hover {
    cursor: pointer !important;
    color: #212121 !important;
    background: #ffffff !important;
}

.form__textarea {
    border: 2px solid transparent;
    background: rgba(33, 33, 33, 0.08);
    height: 168px;
    padding: 20px 24px;
    color: '#212121';
    outline: none;
    width: 100%;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.form__textarea:focus {
    color: var(--color-dark);
    background: var(--color-white);
    border: 2px solid #212121 !important;
}

.form__textarea::placeholder {
    color: #999;
}

.form__textarea:focus::placeholder {
    color: var(--color-dark);
}

a.popup__open:hover {
    border-color: #F63636;
    text-decoration: none;
    color: #F63636;
}

.dark-mode .popup {
    z-index: 222;
}
.dark-mode .popup__title {
    color: var(--color-white);
}
.dark-mode input,
.dark-mode textarea {
    color: var(--color-white);
}
.dark-mode input:focus,
.dark-mode textarea:focus {
    color: var(--color-white);
    background: var(--color-dark);
}

.popup__form .form__text a:hover {
    color: #212121;
}

.popup textarea {
    resize: none;
}

form[name="bx_popup_form"] label {color: #000;}
form[name="medialib_form"] * {color: #000;}
table * {color: #000;}

.arr_to_top{
	display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #7A7A7A;
    transition: .3s;
    width: 60px;
    height: 60px;
	position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(33, 33, 33, 0.48);
	backdrop-filter: blur(5px);
	z-index: 30;
}

.popup .policy_agree{
	font-size: 13px;
    line-height: 1.4;
	color: var(--color-gray2);
	margin: 16px 0;
}

.popup .policy_agree a{
	text-decoration: underline;
}

.popup .contact_info{
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	font-size: 16px;
	line-height: 1.4;
	text-align: center;
	margin-top: 48px;
	color: var(--color-white);
}

.popup .contact_info .phone{
	font-size: 22px;
}

.popup .contact_info .social_btns{
	display: flex;
	justify-content: center;
	gap: 12px;
}

.main_btn{
	color: #fff !important;
	background: #212121 !important;
}

@media (hover:hover){
	.arr_to_top:hover{
		border-color: white;
	}
	.main_btn:hover{
		color: #212121 !important;
		background: #fff !important;
	}
}