/* Формы */
.form__inp-text {
	max-width: 100%;
	width: 100%;
	border: 1px solid rgb(220, 224, 228);
	border-radius: 8px;
	font-size: 18px;
	line-height: 22px;
	padding: 12px 30px;
	color: rgb(153, 153, 153);
	font-family: "Montserrat", "Arial", sans-serif;
	/* height: 60px; */
}
.form__inp-textarea {
	width: 100%;
	border: 1px solid rgb(220, 224, 228);
	border-radius: 8px;
	font-size: 18px;
	line-height: 22px;
	padding: 12px 30px;
	color: rgb(153, 153, 153);
	font-family: "Montserrat", "Arial", sans-serif;
	resize: none;
}
.form__inp-sub {
	width: 100%;
	border-radius: 8px;
	font-size: 18px;
	line-height: 22px;
	padding: 12px 30px;
	border: 0;
	background: linear-gradient(180deg, #8EB743 0%, #81A63E 100%);
	color: white;
	font-family: "Montserrat", "Arial", sans-serif;
	/* height: 60px; */
	cursor: pointer;
}
.soglashenie-label {
	display: inline-block;
	position: relative;
	padding-left: 25px;
	cursor: pointer;
	margin-left: 20px;
}
.soglashenie-label::before {
	content: "";
	width: 10px;
	height: 10px;
	background-color: white;
	border: 1px solid #8EB743;
	border-radius: 50%;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
#soglashenie-chkbx:checked ~ .soglashenie-label::before {
	background-color: #8EB743;
}
.modal__form .form__inp-chkbx {
	display: initial;
	opacity: 0;
	pointer-events: none;
}

.leave-request__form .message {
	text-align: right;
}
.leave-request__form .message .success,
.leave-request__form .message .fail {
	display: none;
}
.leave-request__form .message .success {
	margin-bottom: 40px;
	color: #8EB743;
}
.leave-request__form .message .fail {
	margin-bottom: 40px;
	color: var(--red);
}
/* Формы конец */

.modal * {
	box-sizing: border-box;
}
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	overflow: auto;
	background-color: rgba(0, 0, 0, .5);
}
.modal--banner-v2 .modal__content {
	background-color: #fefefe;
	margin: 10% auto;
	border: 1px solid #888;
	width: 80%;
	max-width: 1150px;
	position: relative;
	border-radius: 12px;
	box-shadow: 0 8px 16px 0 rgba(61, 107, 148, .16);
	padding: 40px 400px 40px 25px;
}
.modal__close {
	width: 40px;
	height: 40px;
	background-image: url("images/icon-close.svg");
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	z-index: 1;
}
.modal--banner-v2 .modal__title {
	text-align: left;
	margin-top: 0;
	margin-bottom: 25px;
	font-size: 28px;
	line-height: 40px;
	text-transform: uppercase;
}
.modal__text {
	margin-top: 0;
}
.modal-form__inp-text {
	/* height: 60px; */
}
.modal-form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 25px 20px;
}
.modal-form__col {
	grid-column: span 1;
	display: grid;
	grid-gap: 25px;
}
.modal-form__row {
	grid-column: span 2;
}
.modal-form__inp-sub {
	width: 100%;
	border-radius: 8px;
	font-size: 18px;
	line-height: 22px;
	padding: 8px 30px;
	border: 0;
	background: linear-gradient(180deg, #8EB743 0%, #81A63E 100%);
	color: white;
	font-family: "Montserrat", "Arial", sans-serif;
	/* height: 60px; */
	cursor: pointer;
}
.modal__doctor-img {
	display: block;
	max-width: 35%;
	position: absolute;
	bottom: 0;
	right: 0;
}

@media screen and (max-width: 1330px) {
	.modal--banner-v2 .modal__content {
		width: 99%;
	}
}

@media screen and (max-width: 1070px) {
	.modal--banner-v2 .modal__content {
		padding: 25px 15px;
		display: flex;
		flex-direction: column;
	}
	.modal--banner-v2 .modal__title {
		font-size: 21px;
		line-height: 27px;
		margin-bottom: 16px;
	}
	.modal--banner-v2 .modal__text {
		font-size: 15px;
		line-height: 21px;
	}
	.modal--banner-v2 .modal-form__col {
		grid-gap: 12px;
	}
	.modal--banner-v2 .modal__doctor-img {
		display: none !important;
		/*max-width: 61%;*/
		/*margin: 0 auto;*/
		/*position: relative;*/
	}
	.modal--banner-v2 .modal-form {
		order: 1;
		grid-gap: 12px;
	}
	.modal__close {
		width: 20px;
		height: 20px;
	}
	.modal-form__col {
		grid-column: span 2;
	}
	.modal--banner-v2 .modal-form__inp-sub {
		padding: 8px 16px;
		height: 100%;
	}
}