.header-form__section {
    position: fixed;
    left: 0;
    top: 0;
    min-width: 100vw;
    min-height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 16000161;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-form__block {
    max-width: 390px;
	padding: 50px;
    background-color: #fff;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
	position: relative;
}

.header-form__red-icon,
.header-form__green-icon {
    position: absolute;
    top: -35px;
    left: 50%;
    margin-left: -35px;
    width: 70px;
}

.header-form__heading {
    font-size: 30px;
    color: #de0025;
    font-weight: 600;
	margin-top: 0;
	margin-bottom: 7px;
}

.header-form__subheading {
    font-size: 20px;
    font-weight: 600;
	margin-top: 0;
	margin-bottom: 13px;
}

.header-form__description {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 7px;
}

.header-form__input-cont {
	position: relative;
	display: inline-block;
}

.header-form__input-label {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: #8a8989;
	font-size: 17px;
	font-weight: 400;
	direction: rtl;
	opacity: 1;
}

.header-form__input-star {
	color: #df0020;
}

.header-form__input:focus ~ .header-form__input-label,
.header-form__input:valid ~ .header-form__input-label {
	opacity: 0;
}

.header-form__input {
    height: 45px;
    width: 100% !important;
    padding: 0 15px !important;
    background-color: #f8f8f8;
    border: 1px solid #e1e0e0 !important;
    color: #8a8989 !important;
    font-size: 17px !important;
    margin-bottom: 10px;
	direction: rtl;
	/*for WebKit*/
	-webkit-appearance: none;
	/* for FF */
	-moz-appearance: none;
	text-indent: 0.01px; 
	text-overflow: '';
	/* for IE */
	-ms-appearance: none;
		appearance: none!important;
	transition: all .4s;
}

.header-form__input.wpcf7-not-valid {
	border-color: #df0020 !important;
}

.header-form__input:focus {
    border-color: #000 !important;
    outline: none;
}

.header-form__textarea {
	min-height: 100px;
	height: 0 !important;
    padding: 15px !important;
}

.header-form__input-select option {
    color: #8a8989;
    background-color: #f8f8f8;
}

.select-reference-topic::before {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 3px solid #454545;
    border-bottom: 3px solid #454545;
    position: absolute;
    top: 30px;
    left: 17px;
    margin-top: -13px;
    z-index: 1;
    transform: rotateZ(45deg);
	pointer-events: none;
}

.header-form__btn[type="submit"] {
    font-size: 18px;
    color: #fff;
    background-color: transparent;
    border: none;
    border-radius: 0;
    width: 170px;
    height: 45px;
    text-align: right;
    padding: 0 30px;
    position: relative;
    z-index: 1;
	transition: all .4s;
}

.header-form__btn-block:hover::before {
    transform: translateX(-15px);
}

.header-form__btn-block > .ajax-loader {
	display: none !important;
}

.header-form__btn-block {
    display: inline-block;
	position: relative;
    background-color: #df0020;
}

.header-form__btn-block::before {
    content: "\e879";
    font-family: 'Linearicons-Free';
    position: absolute;
    top: 50%;
    left: 35px;
    color: #fff;
    font-size: 25px;
    margin-top: -17.5px;
    z-index: 0;
	transition: all .4s;
}

.header-form__close {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -27.5px;
    top: -27.5px;
    cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
}

.header-form__close span {
    display: contents;
}

.header-form__close span::before, 
.header-form__close span::after {
    content: "";
    display: block;
    background-color: #fff;
    width: 1px;
    height: 25px;
    position: absolute;
}

.header-form__close span::before {
	transform: rotateZ(45deg);
}

.header-form__close span::after {
	transform: rotateZ(135deg);
}

form.sent .header-form__contain-main,
.header-form__contain-successful {
	display: none;
}

form.sent .header-form__contain-successful {
	display: block;
}

.header-form__random-number {
    text-align: center !important;
    color: #000 !important;
    font-size: 30px !important;
	/*for WebKit*/
	-webkit-appearance: none;
	/* for FF */
	-moz-appearance: none;
	text-indent: 0.01px; 
	text-overflow: '';
	/* for IE */
	-ms-appearance: none;
		appearance: none!important;
}

.header-form__random-number::-webkit-outer-spin-button,
.header-form__random-number::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.header-form__random-number {
  -moz-appearance: textfield;
}
.header-form__random-number:hover,
.header-form__random-number:focus {
  -moz-appearance: number-input;
}

.header-form__random-number-block {
    position: relative;
}

.header-form__random-number-block::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.header-form__contain-successful .header-form__subheading {
    margin-bottom: 0;
}

.header-form__inputs > br {
    display: none;
}

.header-form__section--disp-none {
	display: none;
}

.header-form__button {
	display: none;
}

@media (min-width: 1551px) {
	.header-form__button {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 170px;
		height: 45px;
		border: 1px solid #de001c;
		color: #fff;
		font-size: 18px;
		cursor: pointer;
		position: absolute;
		left: 300px;
		top: 50%;
		margin-top: -15px;
		transition: all .4s;
	}
	
	.header__main.fix .header-form__button {
		color: #000;
		margin-top: -8px;
	}
	
	.header-form__button:hover,
	.header__main.fix .header-form__button:hover {
		color: #fff;
		background-color: #de001c;
	}
	
	.header-form__button-arrow {
		margin-right: 15px;
		transition: all .4s;
		color: #fff;
	}
	
	.header-form__button:hover .header-form__button-arrow {
		transform: translateX(-10px);
	}
	
	.header__main.fix .header-form__button-arrow {
		color: #000
	}
	
	.header__main.fix .header-form__button:hover .header-form__button-arrow {
		color: #fff;
	}
	
	.menu_header ul#menu-header-menu > li:not(.menu-item-has-children) {
		margin: 0 20px;
	}
}