/*
Theme Name: Лесная Застава
Author: Weblab74 team
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}

@font-face {
	font-family: 'Proxima Nova';
	src: url('./assets/fonts/ProximaNova-LightIt.eot');
	src: local('Proxima Nova Light Italic'), local('ProximaNova-LightIt'),
	url('./assets/fonts/ProximaNova-LightIt.eot?#iefix') format('embedded-opentype'),
	url('./assets/fonts/ProximaNova-LightIt.woff') format('woff'),
	url('./assets/fonts/ProximaNova-LightIt.ttf') format('truetype');
	font-weight: 300;
	font-style: italic;
}
@font-face {
	font-family: 'Proxima Nova';
	src: url('./assets/fonts/ProximaNova-Regular.eot');
	src: local('Proxima Nova Regular'), local('ProximaNova-Regular'),
	url('./assets/fonts/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),
	url('./assets/fonts/ProximaNova-Regular.woff') format('woff'),
	url('./assets/fonts/ProximaNova-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Proxima Nova';
	src: url('./assets/fonts/ProximaNova-Bold.eot');
	src: local('Proxima Nova Regular'), local('ProximaNova-Regular'),
	url('./assets/fonts/ProximaNova-Bold.eot?#iefix') format('embedded-opentype'),
	url('./assets/fonts/ProximaNova-Bold.woff') format('woff'),
	url('./assets/fonts/ProximaNova-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: 'Proxima Nova';
	src: url('./assets/fonts/ProximaNova-Black.eot');
	src: local('Proxima Nova Black'), local('ProximaNova-Black'),
	url('./assets/fonts/ProximaNova-Black.eot?#iefix') format('embedded-opentype'),
	url('./assets/fonts/ProximaNova-Black.woff') format('woff'),
	url('./assets/fonts/ProximaNova-Black.ttf') format('truetype');
	font-weight: 900;
	font-style: normal;
}

body {
	font-family: 'Proxima Nova', sans-serif;
	font-weight: normal;
	font-style: normal;
	min-height: 100vh;
}
.page--half-width {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.page--half-width:before,
.page--half-width:after {
	content: '';
	position: absolute;
	z-index: -1;
	top: 0;
	right: 0;
	width: 42.02%;
	height: 100%;
}
.page--half-width:before {
	background-image: url(./assets/img/bg.jpg);
	background-color: #DBDBDB;
	background-size: cover;
	background-position: center center;
}
.page--half-width:after {
	background: linear-gradient(67.63deg, rgba(0, 0, 0, 0.45) 9.37%, rgba(0, 0, 0, 0.2) 96.97%);
}
@media (max-width: 1024px) {
    .page--half-width:before,
    .page--half-width:after {
        display: none;
    }
}
.container {
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
	padding-left: 15px;
	padding-right: 15px;
}
.fc-event {
	position: relative;
}
.fc-event.non-editable {
	opacity: .5;
}
.fc-title {
	padding-left: 5px;
	display: inline-block;
	margin-right: 2px;
	width: 150px;
	padding-right: 5px;
}
@media (max-width: 640px) {
	.fc-title + .fc-title {
		display: none;
	}
}
.fc-title:hover {
	text-decoration: underline;
}
.calendar-close {
	position: absolute;
	top: 0;
	right: 5px;
	z-index: 9;
	color: inherit;
	transition: all .2s ease-in-out;
	opacity: .4;
}
.calendar-close:hover {
	opacity: 1;
}
.fc-event.non-editable .calendar-close {
	display: none;
}
.fc-event.non-editable .fc-title {
	cursor: pointer;
}
.white-popup {
	position: relative;
	background: #FFF;
	padding: 60px 100px;
	width: 570px;
	max-width: 100%;
	margin: 20px auto;
}
.create-booking-field {
	display: flex;
	margin-bottom: 10px;
	align-items: center;
}
.create-booking-field--submit {
	display: flex;
	justify-content: flex-end;
	padding-top: 5px;
}
.create-booking-field__text {
	width: 113px;
}
.create-booking-field__required {
	color: red;
}
.non-editable .create-booking-field__required {
	display: none;
}
.create-booking-field__input, 
.create-booking-field__select {
	flex: 1;
}
.non-editable .form__submit,
.non-editable .text-area,
.non-editable .text-input,
.non-editable .page-select,
.non-editable .page-select + .customselect {
	opacity: .5;
	pointer-events: none;
	-webkit-touch-callout: none; /* iOS Safari */
	  -webkit-user-select: none; /* Safari */
	   -khtml-user-select: none; /* Konqueror HTML */
	     -moz-user-select: none; /* Old versions of Firefox */
	      -ms-user-select: none; /* Internet Explorer/Edge */
	          user-select: none; /* Non-prefixed version, currently
	                                supported by Chrome, Opera and Firefox */
}
.non-editable .create-booking-field__btn {
	display: none;
}
.page-title {
	font-size: 46px;
	line-height: 56px;
	color: #009933;
	font-weight: 900;
}
.page-login {
	padding-bottom: 85px;
}
.page-login__title {
	margin-bottom: 43px;
}
@media (max-width: 1024px) {
    .page-login__title {
        width: 470px;
        max-width: 100%;
        margin: 0 auto 34px auto;
        font-size: 24px;
        line-height: 29px;
    }
}
.page-login__form {
	width: 470px;
	max-width: 100%;
}
@media (max-width: 1024px) {
    .page-login__form {
        margin: 0 auto;
    }
}
.page-header {
	padding: 20px 0;
}
.page-form {
	padding-bottom: 65px;
}
.page-form--login {
	width: 620px;
	max-width: 100%;
}
@media (max-width: 1440px) {
	.page-form {
		padding-top: 107px;
		padding-bottom: 0;
	}
}
@media (max-width: 1024px) {
    .page-form {
        width: 100%;
        padding-top: 72px;
    }
}
.form__item:last-child {
	margin-bottom: 0;
}
.form__item {
	margin-bottom: 26px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	font-size: 16px;
	line-height: 19px;
	color: #4F4F4F;
}
.form__item--line {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 4px 12px 0 0;
}
@media (max-width: 460px) {
    .form__item--line {
        width: 250px;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }
    .form__submit {
        margin-bottom: 20px;
    }
}
.form__label {
	display: block;
	padding-left: 10px;
	margin-bottom: 5px;
}
.text-input {
	display: inline-block;
	width: 100%;
	background: #E9E9E9;
	border: 0;
	border-radius: 5px;
	padding: 10px 10px 11px 10px;
	font-size: 16px;
	line-height: 19px;
	font-weight: 300;
	font-style: italic;
	color: #252525;
	box-shadow: none;
	transition: all .2s ease-in-out;
}
.text-input:focus {
	outline: none;
}
.text-input--invalid {
	box-shadow: 0px 0px 0 2px rgba(255, 0, 0, 0.5);
}
.button {
	display: inline-block;
	min-width: 230px;
	max-width: 100%;
	padding: 11px 10px 10px 10px;
	background: #009933;
	font-size: 16px;
	line-height: 19px;
	color: #FFFFFF;
	border: 0;
	font-family: inherit;
	cursor: pointer;
	transition: all .2s ease-in-out;
}
.button:hover {
	background: #00af3a;
}
.button:active {
	background: #048a30;
}
.button--mobile {
	text-align: center;
	display: none;
}
@media (max-width: 991px) {
	.button--mobile {
	    display: block;
	    margin: 0 0 15px auto;
	    width: 200px;
	}
}
.link {
	font-size: 16px;
	line-height: 19px;
	color: #252525;
	border-bottom: 2px solid #009933;
	text-decoration: none;
	transition: all .2s ease-in-out;
}
.link:hover {
	border-bottom: 2px solid transparent;
	text-decoration: none;
}
.page-footer {
	padding: 25px 0;
}
.page-footer__copyright {
	font-size: 14px;
	line-height: 17px;
	color: #252525;
}
.flash-message {
	margin-top: 25px;
	margin-bottom: 15px;
	padding: 10px 10px;
	background-color: #173ebf;
	border-left: 3px solid #00218e;
	color: #fff;
	font-size: 13px;
}
.flash-message--success {
	background-color: #009933;
	border-left: 3px solid #048a30;
}
.fc-toolbar h2 {
    font-weight: bold;
    font-size: 21px;
    line-height: 26px;
    color: #252525;
	text-transform: capitalize;
}
.page-header__container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.userinfo {
	display: flex;
	align-items: center;
	font-size: 14px;
	line-height: 17px;
	color: #252525;
	max-width: 252px;
}
.userinfo__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	flex: 1 0 40px;
}
.userinfo__img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
}
.userinfo__link {
	color: #252525;
	border-bottom: 1px solid #252525;
	transition: all .2s ease-in-out;
	text-decoration: none;
	line-height: 1;
	padding-top: 3px;
}
.userinfo__link:hover {
	border-bottom: 1px solid transparent;
}
.page-header__logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.page-header__logo-pic {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}
.page-header__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding-bottom: 5px;
	padding-right: 15px;
}
.page-header__logout {
	margin-left: 92px;
}
.logout__link {
	font-size: 14px;
	line-height: 17px;
	color: #009933;
	border-bottom: 1px solid #009933;
}
.logout__link:hover {
	border-bottom: 1px solid transparent;
}
.page-main--calendar {
	padding-top: 47px;
    padding-bottom: 50px;
}
.page-main__calendar {
    padding: 40px 20px 19px 20px;
	position: relative;
	background: #FFFFFF;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
	border-radius: 1px;
}
.page-main__calendar .fc-day-header {
    padding: 11px 4px;
}
.page-main__calendar .fc-day-header span {
    text-transform: capitalize;
    font-size: 14px;
    line-height: 17px;
    color: #252525;
}
.page-main__calendar .fc-dayGrid-view .fc-week-number, .fc-dayGrid-view .fc-day-number {
    padding: 9px 12px;
    font-size: 14px;
    line-height: 17px;
    color: #252525;
}
.page-main__calendar .fc-agenda-slots td div {
    height: 120px;
}
.page-main__calendar:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #009933;
	border-radius: 1px;
}
.page-main__calendar .fc-button {
	border-radius: 5px;
}
.page-main__calendar .fc-button-group {
    background-color: #009933;
    border-radius: 5px;
}
.page-main__calendar .fc-button-primary {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: normal;
    background-color: #009933;
    border: 0;
    min-width: 50.5px;
    font-size: 14px;
    line-height: 17px;
    height: 40px;
}
.page-main__calendar .fc-button-primary.fc-button-active {
    border-radius: 5px;
}
.page-main__calendar .fc-timeGridDay-button,
.page-main__calendar .fc-timeGridWeek-button,
.page-main__calendar .fc-dayGridMonth-button {
    min-width: 67.3px;
}
.page-main__calendar .fc-button-primary:not(:disabled):active,
.page-main__calendar .fc-button-primary:not(:disabled).fc-button-active {
	background-color: #1D5F33;
}
.page-main__calendar .fc-prev-button,
.page-main__calendar .fc-next-button {
	display: inline-flex;
	align-items: center;
}
.page-main__calendar .fc-prev-button {
	justify-content: flex-start;
}
.page-main__calendar .fc-next-button {
	justify-content: flex-end;
}
.page-main__calendar .fc-today-button {
	min-width: 100px;
	margin-left: 10px;
}
.page-main__calendar .fc-icon-chevron-right:before,
.page-main__calendar .fc-icon-chevron-left:before {
	content: '';
	width: 11px;
	height: 18px;
	display: block;
	background-repeat: no-repeat;
}
.page-main__calendar .fc-icon-chevron-left:before {
	background-image: url(./assets/img/left.svg);
	margin: 0 auto 0 0;
}
.page-main__calendar .fc-icon-chevron-right:before {
	background-image: url(./assets/img/right.svg);
	margin: 0 0 0 auto;
}
.white-popup__title {
    font-weight: bold;
    font-size: 21px;
    line-height: 26px;
    color: #252525;
    margin-top: 0;
    margin-bottom: 35px;
}
@media (max-width: 680px) {
    .white-popup {
        padding: 60px 25px;
    }
}
.text-area {
    background: #E9E9E9;
    resize: none;
    width: 100%;
    height: 80px;
    border: 0;
    border-radius: 5px;
    padding: 10px 10px 11px 10px;
    font-size: 16px;
    line-height: 19px;
    font-weight: 300;
    font-style: italic;
    color: #252525;
    transition: all .2s ease-in-out;
}
.text-area:focus {
    outline: none;
}
.customselect {
	position: relative;
	-moz-user-select: none;
	-khtml-user-select: none;
	user-select: none;
}
.customselect__label {
	cursor: pointer;
	background-color: #fff;
	padding: 5px 38px 5px 10px;
	display: inline-block;
	position: relative;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 185px;
	width: 100%;
	max-width: 100%;
}
.customselect__label:after {
	content: '';
	position: absolute;
	top: 10px;
	right: 13px;
	width: 11px;
	height: 11px;
	transform: rotate(-45deg) skew(3deg, 3deg);
	border-bottom: 1px solid #252525;
	border-left: 1px solid #252525;
}
.customselect__list {
	position: absolute;
	left: 0;
	bottom: 0;
	transform: translateY(calc(100% - 7px));
	transition-property: transform, opacity;
	transition-duration: 0s, .2s;
	transition-delay: .2s, 0s;
	background-color: #fff;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
	width: 280px;
	box-shadow: 0 1px 6px rgba(57,73,76,.35);
	opacity: 0;
	pointer-events: none;
	z-index: 11;
}
.customselect__list--opened {
	transform: translateY(100%);
	transition: all .2s ease-in-out;
	z-index: 11;
	pointer-events: all;
	opacity: 1;
}
.customselect__item {
	padding: 7px 10px;
	cursor: pointer;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.customselect__item[data-disabled] {
	pointer-events: none;
	color: #838383;
}
.customselect__item:hover {
	background-color: #6389ea;
	color: #fff;
}
.customselect__item[data-selected]:not([data-disabled]) {
	background-color: #1840A7;
	color: #fff;
}
.page-select {
	width: 100%;
}
.page-select .customselect__label {
	background: #E9E9E9;
	border: 0;
	border-radius: 5px;
	padding: 10px 37px 11px 10px;
	font-size: 16px;
	line-height: 19px;
	font-weight: 300;
	font-style: italic;
	color: #252525;
	transition: all .2s ease-in-out;
}
.page-select .customselect__list {
	width: 100%;
}
.page-select .customselect__item[data-selected]:not([data-disabled]) {
	background-color: #009933;
	color: #fff;
}
.page-select .customselect__item:not([data-disabled]):not([data-selected]):hover {
	background-color: #55b776;
}
@media (max-width: 680px) {
    .fc-toolbar.fc-header-toolbar {
        display: flex;
        flex-direction: column;
    }
}
.fc-content {
	position: relative;
}
.fc-content:after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 33px;
	height: 100%;
	background: linear-gradient(to right, rgba(0, 153, 51, 0), rgba(0, 153, 51, 1), rgba(0, 153, 51, 1));
}
.fc-dayGrid-view .fc-body .fc-row {
	min-height: 122px;
}