/* Форма */
.form {
	position: relative;
	margin: 0 0 2rem 0;
}

.grid.m-cellpadding .grid__cell .form:only-child,
.header .form {
	margin-bottom: 0;
}

.form__status {
	padding: 9px 16px;
	display: flex;
	align-items: center;
	font-size: 15px;
	height: 35px;
	border-radius: 3px;
	background-size: 16px 16px;
	vertical-align: top !important;
}

.form__status_close {
	background-image: -webkit-linear-gradient(right bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.1) 25%, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.1) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1) 75%, rgba(255,255,255,0.1) 75%);
	background-image: -moz-linear-gradient(right bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.1) 25%, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.1) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1) 75%, rgba(255,255,255,0.1) 75%);
	background-image: -ms-linear-gradient(right bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.1) 25%, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.1) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1) 75%, rgba(255,255,255,0.1) 75%);
	background-image: linear-gradient(right bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.1) 25%, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.1) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1) 75%, rgba(255,255,255,0.1) 75%);
}


/* Форма → Объединение полей */
.form__fieldset {
	display: block;
	width: 100%;
	padding: 0 0 1.5rem 0;
	border: none;
}

.form__fieldset.m-hr {
	margin-bottom: 1.5rem;
	border-bottom: 1px solid #e4e4e4;
}


/* Форма → Блок */
.form__item {
	position: relative;
	display: block;
	width: 100%;
	padding: 0 0 20px 0;
	font-size: 0;
}
.form__item_flex {
	display: flex;
}



.form__item_flex .form__cell {
	flex: 1;
}
.form__item_v-center {
	display: flex;
	align-items: center;
}
.form__item.pb30 {
	padding-bottom: 30px;
}

.form__item_tabIndent {
	margin-left: 180px;
}

.form__item_tabIndent .form__name {
	width: auto;
	margin-right: 9px;
}

.form__days.m-vt .form__item {
	padding: 0 0 15px 0;
}

.form__item > .form__item:last-child {
	margin-bottom: 0;
}

.form__fieldset .form__item {
	padding: 0;
	margin-bottom: -1px;
}

.form__item.m-hr {
	margin-bottom: 30px;
	border-bottom: 1px solid #e4e4e4;
}


/* Форма → Вкладки */
.form__tabs {
	display: inline-flex;
	border-bottom: 1px solid #E4E4E4;
	margin-bottom: 35px;
}

.form__tab {
	font-size: 20px;
	line-height: 23px;
	padding-bottom: 15px;
	margin-bottom: -2px;
	color: #333333;
}

.form__tab:hover {
	color: inherit;
}

.form__tab:not(:first-child) {
	margin-left: 37px;
}

.form__tab_active {
	color: #00B520;
	border-bottom: 3px solid #00B520;
}

.form__tab_active:hover {
	color: #00B520;
}


/* Форма → Заголовок */
.form__header {
	position: relative;
	display: block;
	padding: 0 0 20px 0;
	font-size: 1.5rem;
	line-height: 1.4em;
}

.form__header:only-child {
	padding: 0;
}

.form__item .form__header {
	padding: 0 0 0.5em 0;
}

.login .form__header {
	font-weight: bold;
}

.form__header ~ .form__header {
	padding-top: 1em;
}


/* Форма → Подзаголовок */
.form__subheader {
	position: relative;
	display: block;
	padding: 0 0 1.5em 0;
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.4em;
}

.form__subheader:only-child {
	padding: 0;
}

.form__item .form__subheader {
	padding: 0 0 0.5em 0;
}

.login .form__subheader {
	font-weight: bold;
}

.form__subheader ~ .form__subheader {
	padding-top: 1em;
}


/* Форма → Название */
.form__name {
	display: inline-block;
	vertical-align: top;
	width: 180px;
	padding-top: 6px;
	font: 400 15px 'Arial';
}
.form_checks {
	display: inline-block;
	vertical-align: top;
	font-size: 15px;
}
.form__fieldname {
	position: relative;
	display: inline-block;
	width: 8rem;
	font-size: 15px;
	font-weight: bold;
	line-height: 19px;
	/*line-height: 30px;*/
	vertical-align: baseline;
}
.formBody.fix .form__fieldname {
	font-weight: normal;
	width: 13rem;
	padding-right: 20px;
}
.form__fieldname.vat {
	vertical-align: top;
	margin-top: 7px;
}

.form__fieldname.m-s {
	width: 7rem;
}

.form__fieldname.m-regular {
	font-weight: normal;
}

.form__fieldname em {
   font-weight: normal;
   font-style: normal;
}


/* Форма → Содержание */
.form__cell {
	position: relative;
	display: inline-block;
	width: 40rem;
	width: 100%;
	font-size: 0;
	/*vertical-align: baseline;*/
	vertical-align: top;
}

.form__cell_v-center {
	display: inline-flex;
	align-items: center;
}

.form__fieldname + .form__cell {
	width: calc(100% - 12rem);
}

.formBody.fix .form__fieldname + .form__cell {
	width: calc(100% - 14rem);
}

.form__fieldname.m-s + .form__cell {
	width: calc(100% - 7rem);
}


/* Форма → Элементы */
.form .form__input,
.form .form__select,
.form .form__button {
	vertical-align: top;
}

.form__inline > .form__input,
.form__inline > .form__select,
.form__inline > .form__button {
	/*display: block;*/
}

.form__cell .form__input:first-child,
.form__cell .form__select:first-child,
.form__cell .form__button:first-child {
	/*vertical-align: baseline;*/
	vertical-align: top;
}

.form__cell .form__inline:first-child + .form__input,
.form__cell .form__inline:first-child + .form__select,
.form__cell .form__inline:first-child + .form__button {
	/*vertical-align: baseline;*/
	vertical-align: top;
}

.form .form__textarea {
	vertical-align: text-top;
}
.form__days.m-vt .form__textarea {vertical-align: top;}

.form .form__textarea:only-child {
	/*margin-top: -1rem;*/
}

.form__select_accent {
	border: 1px solid #E68EFC !important;
	color: #E68EFC;
}

.form .grid__cell > .form__textarea {
	margin-top: 0;
}

.form__cell .form__input:first-child,
.form__cell .form__select:first-child,
.form__cell .form__textarea:first-child,
.form__cell .form__button:first-child,
.form__cell .form__inline:first-child,
.form__cell .form__combined:first-child,
.form__cell .form__switcher:first-child {
	margin-right: 0.5rem;
}

.form__cell .form__input:only-child,
.form__cell .form__select:only-child,
.form__cell .form__textarea:only-child,
.form__cell .form__button:only-child,
.form__cell .form__inline:only-child,
.form__cell .form__combined:only-child {
	margin-right: 0;
}

.form__cell .form__input.is-datepick,
.form__cell .form__input.hasDatepicker {
	margin-right: 0;
}

.form__cell .form__input:last-child,
.form__cell .form__select:last-child,
.form__cell .form__textarea:last-child,
.form__cell .form__button:last-child,
.form__cell .form__inline:last-child,
.form__cell .form__combined:last-child {
	margin-right: 0;
}

.form__cell .form__input:only-child,
.form__cell .form__select:only-child,
.form__cell .form__textarea:only-child,
.form__cell .form__button:only-child,
.form__cell .form__inline:only-child,
.form__cell .form__combined:only-child {
	margin-right: 0;
}

.form__cell * + .form__input,
.form__cell * + .form__select,
.form__cell * + .form__textarea,
.form__cell * + .form__button,
.form__cell * + .form__inline,
.form__cell * + .form__combined,
.form__cell * + .form__switcher {
	margin-right: 0.5rem;
}

.form__combined .form__inline {
	margin-left: 0;
}

.form__fieldset .form__input,
.form__fieldset .form__select,
.form__fieldset .form__textarea {
	border-radius: 0;
}

.form__fieldset .form__item:first-of-type .form__input,
.form__fieldset .form__item:first-of-type .form__select,
.form__fieldset .form__item:first-of-type .form__textarea {
	border-radius: 0.3rem 0.3rem 0 0;
}

.form__fieldset .form__item:last-of-type .form__input,
.form__fieldset .form__item:last-of-type .form__select,
.form__fieldset .form__item:last-of-type .form__textarea {
	border-radius: 0 0 0.3rem 0.3rem;
}

.form__fieldset .form__item:only-child .form__input,
.form__fieldset .form__item:only-child .form__select {
	border-radius: 0.3rem;
}

.form__fieldset div.form__item.g-block .form__input {
	margin-bottom: -1px;
}

.form__fieldset div.form__item.g-block:only-of-type .form__input {
	border-radius: 0.3rem !important;
}

.form__fieldset div.form__item.g-block:first-of-type .form__input {
	border-radius: 0.3rem 0.3rem 0 0;
}

.form__fieldset div.form__item.g-block:last-of-type .form__input {
	border-radius: 0 0 0.3rem 0.3rem;
}



/* Форма → Комбинированные элементы */
.form__combined {
	position: relative;
	display: inline-block;
	vertical-align: top;
	font-size: 0;
}

.form__combined:last-of-type {
	margin-right: 0;
}

 .form__inline > .form__combined {
	margin-right: 0 !important;
}

.form__combined .form__input,
.form__combined .form__select,
.form__combined .form__button {
	margin: 0 -1px 0 0 !important;
	border-radius: 0;
	vertical-align: top;
	box-sizing: border-box;
}

.form__item:first-of-type .form__combined .form__select:nth-child(2),
.form__item:first-of-type .form__combined .form__select:nth-child(3),
.form__item:first-of-type .form__combined .form__select:nth-child(4) {
	border-radius: 0;
}

.form__combined .form__inline {
	margin: 0 !important;
}

.form__combined .form__input:first-child,
.form__combined .form__select:first-child,
.form__item:first-of-type .form__combined .form__select:first-child,
.form__combined .form__button:first-child {
	border-radius: 0.3rem 0 0 0.3rem;
}

/*.form__fieldset .form__item .form__combined .form__input:first-child,
.form__fieldset .form__item  .form__combined .form__select:first-child {
	border-radius: 0;
}

.form__fieldset .form__item:first-of-type .form__combined .form__input:first-child,
.form__fieldset .form__item:first-of-type  .form__combined .form__select:first-child {
	border-radius: 0.3rem 0.3rem 0 0;
}

.form__fieldset .form__item:last-of-type .form__combined .form__input:first-child,
.form__fieldset .form__item:last-of-type  .form__combined .form__select:first-child {
	border-radius: 0 0 0.3rem 0.3rem;
}

.form__fieldset .form__item:only-of-type .form__combined .form__input:first-child,
.form__fieldset .form__item:only-of-type  .form__combined .form__select:first-child {
	border-radius: 0.3rem;
}*/

/*.form__fieldset .form__combined .form__input:first-child,
.form__fieldset .form__combined .form__select:first-child {
	border-radius: 0;
}*/

.form__combined .form__input:last-child,
.form__combined .form__select:last-child,
.form__item:first-of-type .form__combined .form__select:last-child,
.form__combined .form__button:last-child {
	border-radius: 0 0.3rem 0.3rem 0;
	vertical-align: top !important;
}

.form__combined .form__input,
.form__combined .form__select,
.form__combined .form__button {
}

.form__combined .form__inline .form__input,
.form__combined .form__select .form__input,
.form__combined .form__button .form__input {
	border-radius: 0;
}

.form__combined .form__inline:first-child .form__input:first-of-type,
.form__combined .form__inline:first-child .form__select:first-of-type,
.form__combined .form__inline:first-child .form__button:first-of-type {
	border-radius: 0.3rem 0 0 0.3rem;
}

.form__combined .form__inline:last-child .form__input:last-of-type,
.form__combined .form__inline:last-child .form__select:last-of-type,
.form__combined .form__inline:last-child .form__button:last-of-type {
	border-radius: 0 0.3rem 0.3rem 0;
}


/* Форма → Чекбоксы и радиокнопки */
.form__radio-label,
.form__checkbox-label {
	position: relative;
	display: block;
	max-width: 30rem;
	padding: 0 0.75rem 0.3rem 17px;
	font-size: 1rem;
	line-height: 1.3rem;
}

.form__radio-label .form__radio-label:last-of-type,
.form__checkbox-label .form__checkbox-label:last-of-type {
	padding-bottom: 0;
}

.form__radio-label:only-child,
.form__checkbox-label:only-child {
	padding: 0 0.75rem 0 17px;
}

.form__set .form__radio-label:first-child,
.form__set .form__checkbox-label:first-child {
	/*margin-top: 0.8rem;*/
}

.form__radio,
.form__checkbox {
	position: absolute;
	top: 0.2rem;
	left: 0;
	/*position: absolute;
	top: 50%;
	left: 0;
	margin-top: -0.6rem;*/
}

.form__radio.m-vm,
.form__checkbox.m-vm {
	position: absolute;
	top: 50%;
	left: 0;
	margin-top: -0.75rem;
}

.form__note {
	color: #777;
	font-size: 0.8rem;
	line-height: 1.3em;
	vertical-align: top;
}

.form__note a {
	color: #27579E;
}

.form__note:only-child {
	padding-left: 0;
}

.form__note[data-width="100"] {
	padding-left: 0;
}

div.form__note {
	padding-left: 0;
	padding-top: 0.5rem;
}

span.form__note {
	display: inline-block;
	/*height: 30px;*/
}

* + span.form__note span {
    height: 20px;
}

input.m-s span.form__note {
	display: inline-block;
	height: 25px;
}

input.m-s + span.form__note span {
    height: 25px;
}

.form__note span {
	display: table-cell;
	vertical-align: middle;
	background: transparent;
}

.form__note span span {
	display: inline;
	vertical-align: inherit;
	background: transparent;
}

.form__radio-label .form__note,
.form__checkbox-label .form__note {
	display: block;
	padding: 0.3em 0 0.3em 0;
}

.form__cell + .form__note {
	display: block;
	margin-top: 0;
	margin-left: 10rem;
}
.formBody.fix .form__cell + .form__note {
	margin-left: 13rem;
}

.form__fieldname.m-s + .form__cell + .form__note {
	margin-left: 7rem;
}


/* Форма → Ошибка */
.form__error {
	display: block;
	color: #ed272f;
	font-size: 0.8rem;
	line-height: 1.3em;
	white-space: normal;
	vertical-align: top;
}

.form__error[data-width="100"] {
	max-width: inherit;
}

.form__error mark {
	display: table-cell;
	color: #ed272f;
	vertical-align: middle;
	background: transparent;
}

div.form__error {
	padding-top: 0.2rem;
}

span.form__error {
	display: inline-block;
}

.m-xs + span.form__error mark {height: 25px;}
.m-s + span.form__error mark {height: 25px;}
* + span.form__error mark {height: 30px;}
.m-l + span.form__error mark {height: 35px;}
.m-xl + span.form__error mark {height: 35px;}

.form__cell ~ .form__error {
	display: block;
	margin-top: 0;
	margin-left: 10rem;
}

.form__fieldname.m-s + .form__cell + .form__cell {
	margin-left: 7rem;
}

.form__error.m-summary {
	padding-left: 1rem;
}


/* Форма → Универсальный блок */
.form__inline {
	position: relative;
	display: inline-block;
	font-size: 1rem;
	vertical-align: baseline;
	/*vertical-align: top;*/
}
.form__inline.bold {
	font-weight: bold;
}
.form__inline.s-name {
	display: block;
	max-width: 160px;
	padding-right: 20px;
	white-space: normal;
	padding-top: 4px;
}

.form__inline.vatop {
	vertical-align: top;
}

.form__relative > .form__inline {
   /*height: 2.5rem;*/
   height: 30px;
   line-height: 30px;
}

.form__inline > .form__inline:last-of-type {
	margin-right: 0;
}

.from__inline[data-width="100"] {
	/*position:relative;
	display:block;
	font-size: 1rem;*/
}

.form__inline > * {
	/*vertical-align: baseline;*/
}


/* Форма → Набор любых элементов */
.form__set {
	position: relative;
	display: inline-block;
	/*margin-top: -1rem;*/
	margin-top: 0;
	font-size: 0;
	/*vertical-align: text-top;*/
}


/* Форма → Выпадашка */
.form__drop {
	overflow: visible !important;
	vertical-align: baseline !important;
}

.form__drop-container {
	margin-top: -1px !important;
	min-width: 100%;
}

.form__drop-container_md {
	width: 536px;
}

.form__drop-container_xs {
	min-width: 375px;
	width: 375px;
	min-height: 251px;
}


/* Форма → Bnovo */
.form__radio-label .form__input,
.form__checkbox-label .form__input {
	display: block;
	/*margin-top: 0.5em;*/
}

.roomTypesSelect {
   display: block !important;
   /*margin-bottom: 10px;*/
}

.form__icon {
   position: absolute;
   top: 50%;
   /*right: 1rem;*/
   right: 4px;
   margin: -0.6em 0 0 0;
   font-size: 1.5em;
   line-height: 1em;
   z-index: 3;
}

.form__icon.m-s {
   font-size: 1.1em;
}

.form__inline > .form__icon:first-child,
.form__combined .form__icon {
   right: 0.5rem;
}

.form__icon.m-right {
   position: absolute;
   top: 50%;
   right: auto;
   left: 100%;
   margin-left: 0.5rem;
}

.form__input.m-s + .form__icon.m-right {
   font-size: 0.9rem;
}

.form__icon.m-right[class*="i-cancel"] {
  font-size: 1rem;
}


.form__cell .form__input.is-datepick + .form__icon,
.form__cell .form__input.hasDatepicker + .form__icon {
   /*right: 0.5rem;*/
   right: 5px;
}

.accordion .form__input + .form__icon[class*="i-copy"] {
	display: none;
}

.accordion .form__input:focus + .form__icon[class*="i-copy"],
.accordion .form__icon[class*="i-copy"]:hover {
	display: block;
}

.accordion .form__inline:hover:before {
	content: "";
	position: absolute;
	top: 0;
	left: 100%;
	bottom: 0;
	width: 2rem;
	background: transparent;
}

.accordion .form__inline:hover .form__input:focus + .form__icon[class*="i-copy"] {
	display: block;
}

.form__xs {
   font-size: 0.85rem;
}

.form__separate {
   display: block;
   width: 100%;
   clear: both;
   height: 1rem;
}

.form__separate.m-s {
   height: 0.5rem;
}

.form__toggle-icon {
   display: inline-block;
   padding: 0 1rem 0 0.5rem;
}

.form .m-paid {
   color: #4e9b00;
}

.form .m-unpaid {
   color: #ED272F;
}

.form__img-icon {
	display: inline-block;
	margin-left: 0.5rem;
	vertical-align: middle;
	height: 22px;
}

.form__days {
   border-collapse: separate;
   border-spacing: 0;
}

.form__days th,
.form__days td {
   padding: 0.5rem 2rem 0.5rem 0;
   text-align: left;
}

.form__days thead th,
.form__days thead td,
.form__days tfoot th,
.form__days tfoot td {
   border-bottom: 1px solid #d2d2d2;
}

.form__days thead + tbody tr:first-child td {
   padding-top: 1rem;
}
.form__days.pt thead + tbody tr:first-child td {padding-top: 1rem;}
/*.form__days.pt thead + tbody tr:nth-of-type(2) td {padding-top: 0.6rem;}*/

.form__days thead tr td {
   padding-bottom: 1rem;
   border-bottom: none;
}

.form__days thead tr:first-child td {
   padding-bottom: 0;
}

.form__days thead tr:last-child td {
   /*border-bottom: 1px solid #d2d2d2;*/
}

.form__days tfoot tr:first-child td {
   padding-bottom: 1rem;
}

.form__days tbody.m-hr + tfoot tr:first-child td {
   padding-bottom: 0.5rem;
}

.form__days tbody.m-border-top tr:first-child td,
.form__days tbody.m-border-top tr:first-child th {
   border-top: 1px solid #d2d2d2;
}

.form__days.m-vt td {
	vertical-align: top;
}

.form__days .m-hr tr:last-child td {
   border-bottom: 1px solid #d2d2d2;
}

.modal .form__days td:first-of-type {
   width: 5rem;
   padding-right: 0;
}

.modal .form__days.pt tr:first-child td:first-of-type,
.modal .form__days.pt tr:first-child td:nth-of-type(2) {padding-top: 22px;}

.modal .form__days.pt thead tr:first-child td:first-of-type,
.modal .form__days.pt thead tr:first-child td:nth-of-type(2) {padding-top: 15px;}

.modal .form__days.pt td:first-of-type,
.modal .form__days.pt td:nth-of-type(2) {padding-top: 16px;}

.modal .form__days td[data-symbols="22"]:first-of-type {
   padding-right: 1rem;
}

.form__set .form__days {
	position: relative;
	margin-top: -0.4rem;
}

.form__inline.rub {
	margin-left: 0;
}

.form__inline_v-center {
	display: inline-flex;
	align-items: center;
	line-height: 1;
	height: 30px;
}

.form__inline.m-right {
   float: right;
}

.form__input[type=file] {
   border: none;
}

.form__days.m-vt .form__select,
.form__days.m-vt .form__input {
	margin-top: 0;
}

.form__days .form__select,
.form__days .form__input {
	margin-top: -0.2rem;
}


/* Табличная форма */
table.form__fieldset {
	display: table;
	width: 100%;
	margin-bottom: 1.5rem;
	border-collapse: collapse;
	border-spacing: 0;
}

table.form__fieldset .form__input,
table.form__fieldset .form__select {
	position: relative;
	margin-bottom: -1px;
}

tr.form__item {
	display: table-row;
	width: auto !important;
	padding-bottom: 0;
}

td.form__fieldname,
td.form__cell {
	display: table-cell;
	width: auto !important;
	padding-bottom: 1.5rem;
}

table.form__fieldset td.form__fieldname,
table.form__fieldset td.form__cell {
	padding-bottom: 0;
}

td.form__fieldname {
	padding-right: 2rem;
}

.accordion td.form__fieldname {
	width: 40% !important;
	padding-right: 0;
}

.accordion td.form__fieldname,
.accordion td.form__cell {
	display: table-cell;
	padding-bottom: 0;
}


/* Форма → Выбор категорий */
.form__category {
	margin-bottom: 1rem;
	margin-right: -3rem;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 1rem;
}

.form__category th,
.form__category td {
	height: 3rem;
	padding: 0.5rem 1rem 0.5rem 0;
	border-bottom: 1px solid #e4e4e4;
}

.form__category th {
	font-weight: bold;
	text-align: left;
}

.form__category thead td {
	padding-top: 0.25rem;
	height: auto;
	font-size: 0.85rem;
}

.form__category-price {
	margin-right: 0 !important;
	font-size: 1rem !important;
}

.form__category td.m-delete {
	padding: 0;
	border: 0;
	border-left: 1px solid #e4e4e4;
}

.form__category thead td.m-delete {
	border-left: 0;
}

.form__category td.m-arr {
	padding: 0;
}

.form__category tbody.m-open td,
.form__category tbody.m-open th {
	border-bottom: 0;
}

.form__category tbody.m-open + tbody td,
.form__category tbody.m-open + tbody th {
	height: auto;
	border-bottom: 0;
}

.form__category tbody.m-open + tbody tr:last-of-type td,
.form__category tbody.m-open + tbody tr:last-of-type th {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e4e4e4;
}

.form__category tbody.m-open + tbody tr:last-of-type td:last-child {
	border-bottom: 0;
}

.form__category-delete {
	width: 3rem;
	height: 3rem;
	height: calc(3rem + 1px);
	margin-top: -1px;
	padding-right: 0.4rem;
	color: #ccc;
	font-size: 0.85rem;
	line-height: 2.7rem;
	text-align: center;
	border: 1px solid #e4e4e4;
	border-left: 0;
	border-radius: 0 50% 50% 0;
	cursor: pointer;
}

.form__category-delete:hover {
	color: #fc5218;
}

.form__category-arr {
	width: 3rem;
	height: calc(3rem - 1px);
	padding-right: 0.4rem;
	color: #00698C;
	line-height: 2.7rem;
	text-align: center;
	cursor: pointer;
}

.form__category-arr:hover {
	color: #fc5218;
}


/* Диапазон (тире) */
.form__diapason {
	display: inline-block;
	height: 2.5rem;
	margin-right: 0.5rem;
	font-size: 1rem;
	line-height: 2.5rem;
	vertical-align: top;
}


/* Форма → Подпись к полю */
.form__fieldcaption {
	position: absolute;
	bottom: 100%;
	left: 0;
	margin-bottom: 2px;
	font-size: 0.85rem;
	line-height: 1.2em;
	white-space: nowrap;
}


/* Форма → Закрытие фильтра */
.form__fieldclose {
	position: absolute;
	top: -0.4em;
	right: 0.6em;
	display: inline-block;
	width: 1rem;
	height: 1rem;
	color: #fff;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1rem;
	text-align: center;
	vertical-align: middle;
	border-radius: 50%;
	cursor: pointer;
	white-space: normal;
	background: #ed272f;
	cursor: pointer;
	z-index: 2;
}

.form__fieldclose:before {
	content: "×";
}

.form__fieldclose:hover {
	background: #c1161d;
}


/* Форма → Доп. стили */
.form__radio + img, .form__radio + svg {
	margin-left: 0.5rem;
	max-height: 25px;
}


/* Форма → Сумма */
.form__item.m-summary .form__cell {
	padding: 1rem 0;
	background: #f0f0f0;
	border-radius: 0 0 0.5rem 0.5rem;
	border-top: 1px solid #e4e4e4;
	padding-right: 1rem;
	margin-right: -1rem;
	line-height: 1.5rem;
	width: calc(100% - 9rem);
}

.form__item.m-summary.m-100 .form__cell {
	padding: 1rem 0;
	background: #f0f0f0;
	border-radius: 0 0 0.5rem 0.5rem;
	border-top: 1px solid #e4e4e4;
	padding-right: 1rem;
	margin-right: -1rem;
	line-height: 1.5rem;
	width: calc(100% + 1rem);
}

.form__item.m-summary .form__fieldname.m-s + .form__cell {
	padding: 1rem 0;
	background: #f0f0f0;
	border-radius: 0 0 0.5rem 0.5rem;
	border-top: 1px solid #e4e4e4;
	padding-right: 1rem;
	margin-right: -1rem;
	width: calc(100% - 6rem);
}

.form__item.m-summary .form__fieldname.m-s + .form__cell:before {
    content: "";
    position: absolute;
    top: -1px;
    right: 0;
    left: -7rem;
    background: #e4e4e4;
    height: 1px;
}


/* Форма → Обрамляющий блок */
.form__relative {
	position: relative;
	display: inline-block;
}


/* Форма → Таблица */
.form__table {
	position: relative;
	border-spacing: 0;
}

.form__table th,
.form__table td {
	font-size: 1rem;
	padding: 0.25rem 1rem 0.25rem 0;
	text-align: left;
	vertical-align: middle;
}

.form__table tr td:last-child {
	padding-right: 0;
}

.form__table.m-rooms tbody tr:first-child td {
	border-top: 1px solid #e4e4e4;
}

.form__table.m-rooms tbody tr:first-child td {
	padding-top: 1rem;
}

.form__table.m-rooms tbody tr:last-child td {
	padding-bottom: 1rem;
}

.form__table.m-rooms tbody:first-of-type tr:first-child td {
	padding-top: 0.25rem;
	border-top: none;
}

.form__table.m-vt th,
.form__table.m-vt td {
	vertical-align: top;
}


/* Форма → Табличка с номером */
.form__room {
	display: inline-block;
	padding-right: 0.4rem;
	border: 1px solid #cacaca;
	border-radius: 0.25rem;
}

.form__room-number {
	display: inline-block;
	margin: 0 0.4rem 0 0;
	padding: 0 8px;
	font-size: 1rem;
	line-height: 30px;
	font-weight: bold;
	border-right: 1px solid #cacaca;
}

.form__room-img {
	display: inline-block;
	width: 18px;
	vertical-align: middle;
	margin-top: -3px;
}

.form__room.grid.m-table.m-vm .form__room-number {
	display: block;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
}


/* Форма → Отсуп и иерархия */
.form__indent {
	padding-left: 2rem;
}


/* Форма → Компактная */
.form.m-compact .form__item,
.form .form__item.m-compact {
    padding: 0 0 0.5rem 0;
}


/* Форма → В строку */
.form.m-inline .grid__cell > .form__inline,
.form.m-inline .grid__cell > .form__relative,
.form.m-inline .grid__cell > .form__button {
	margin-bottom: 1.75rem;
}


/* Форма → Сокраще… */
.form__ellipsis {
	position: relative;
	display: block;
	max-height: 1rem;
	line-height: 1rem;
	text-overflow: ellipsis;
	vertical-align: middle;
	width: 100%;
	word-break: break-all;
	overflow: hidden;
	z-index: 2;
}

.form__ellipsis:after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 3rem;
	border-right: 1rem solid rgba(246,246,246,1);
	background: -moz-linear-gradient(left, rgba(246,246,246,0) 0%, rgba(246,246,246,0.5) 25%, rgba(246,246,246,1) 100%);
	background: -webkit-linear-gradient(left, rgba(246,246,246,0) 0%, rgba(246,246,246,0.5) 25%, rgba(246,246,246,1) 100%);
	background: -ms-linear-gradient(left, rgba(246,246,246,0) 0%, rgba(246,246,246,0.5) 25%, rgba(246,246,246,1) 100%);
	background: linear-gradient(to right, rgba(246,246,246,0) 0%, rgba(246,246,246,0.5) 25%, rgba(246,246,246,1) 100%);
}

.form__item.m-summary .form__ellipsis:after {
	border-right: 1rem solid rgba(240,240,240,1);
	background: -moz-linear-gradient(left, rgba(240,240,240,0) 0%, rgba(240,240,240,0.5) 25%, rgba(240,240,240,1) 100%);
	background: -webkit-linear-gradient(left, rgba(240,240,240,0) 0%, rgba(240,240,240,0.5) 25%, rgba(240,240,240,1) 100%);
	background: -ms-linear-gradient(left, rgba(240,240,240,0) 0%, rgba(240,240,240,0.5) 25%, rgba(240,240,240,1) 100%);
	background: linear-gradient(to right, rgba(240,240,240,0) 0%, rgba(240,240,240,0.5) 25%, rgba(240,240,240,1) 100%);
}

.modal .form__ellipsis:after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 3rem;
	border-right: 1rem solid rgba(255,255,255,1);
	background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 25%, rgba(255,255,255,1) 100%);
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 25%, rgba(255,255,255,1) 100%);
	background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 25%, rgba(255,255,255,1) 100%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 25%, rgba(255,255,255,1) 100%);
}

.form__ellipsis .form__inline {
	display: block;
}


/* Форма → Гости */
.form__maxguests {
	display: inline-block;
	font-size: 0.85rem;
	word-spacing: -0.3em;
	vertical-align: baseline;
	white-space: nowrap;
}

.form__room + .form__maxguests {
	margin-left: 0.5em;
}

.form__maxguests .i-male:before {
	margin: -0.15em;
}

.form__maxguests-inline {
	display: inline-block;
	padding: 0 0.25em;
}


/* Форма Табличный выпадающий список */
.form__tableselect {
	position: relative;
	margin: 0;
	font-size: 1rem;
	color: var(--black);
	background: #fff;
}

.form__tableselect table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
}

.form__tableselect table thead td[colspan] {
	padding-top: 1.5rem;
	padding-bottom: 0.5rem;
}

.form__tableselect table thead:first-of-type td[colspan] {
	padding-top: 6px;
}

.form__tableselect table td {
	width: 100% !important;
}

.form__tableselect table td, 
.form__tableselect table th {
	text-align: left;
	padding: 0.3rem 1.5rem 0.3rem 1.5rem;
	white-space: nowrap;
	border: none;
	vertical-align: top;
}

.form__tableselect table td:first-child {
	white-space: normal;
	min-width: 200px;
}

.form__tableselect table tr.disabled td {
	padding-top: 15px;
}

.form__tableselect table th:first-child {
	white-space: nowrap;
}

.form__tableselect thead + tbody tr:first-child td {
	padding-top: 0.5rem;
}

.form__tableselect table tbody tr:hover td {
	color: #fff;
	background: #0085b2;
	cursor: default;
}

.form__tableselect table tbody tr.g-disabled:hover td {
	color: var(--black);
	background: #fff;
	cursor: default;
}

.form__tableselect td:nth-child(1) {
	width: 15rem;
}

.form__tableselect td:nth-child(3) {
	width: 8rem;
}

.form__tableselect table td.m-checkbox {
	padding-right: 0;
}

.form__tableselect table td.m-checkbox + td,
.form__tableselect table td.m-checkbox + th {
	padding-left: 0.5rem;
}

.form__tableselect table td.m-checkbox {
	width: 2rem;
	min-width: 2rem;
	max-width: 2rem;
}

.select2-container.m-pseudoselect .select2-results__option {
	padding: 0 !important;
}

.select2-container.m-pseudoselect .select2-dropdown {
	width: 36rem !important;
}

.select2-container.m-pseudoselect .select2-dropdown--below {
	border-top: 1px solid #aaa;
	margin-top: -1px;
}

.select2-container.m-pseudoselect .select2-results__group {
	padding: 0.35rem 1rem 0.35rem 1rem;
}

.select2-container.m-pseudoselect .select2-search + .select2-results > .select2-results__options > .select2-results__option[aria-selected="false"]:first-child {
	padding: 0.35rem 1rem 0.35rem 1rem !important;
}

.select2-container.m-pseudoselect .select2-search + .select2-results > .select2-results__options > .select2-results__option[aria-selected="true"]:first-child {
	padding: 0.35rem 1rem 0.35rem 1rem !important;
}

.select2-container.m-pseudoselect .select2-results > ul.select2-results__options > .select2-results__option:first-child {
    padding: 0.35rem 1rem 0.35rem 1rem;
}

.select2-container.m-pseudoselect .select2-selection__rendered {
	font-size: 1rem;
}


/* Таблица итоговая под формой */
.form__summary {
	position: relative;
	width: calc(100% - 1rem);
	margin-left: 1rem;
}

.form__error + .form__summary {
	margin-top: 1rem;
}

.form__summary td,
.form__summary th {
	padding: 0.25em 0;
	font-size: 1.2rem;
	text-align: left;
	vertical-align: top;
}

.form__summary td:nth-child(2),
.form__summary th:nth-child(2) {
	text-align: right;
}

.form__summary thead td,
.form__summary thead th {
	padding-bottom: 1rem;
	border-bottom: 1px solid #e4e4e4;
}

.form__summary thead + tbody tr:first-child td,
.form__summary thead + tbody tr:first-child th {
	padding-top: 1rem;
}


/* Форма 〉 Вертикаьное объединение полей */
.form__vertcombined .form__select, 
.form__vertcombined .form__input,
.form__vertcombined .form__textarea {
	border-radius: 0;
}

.form__vertcombined .form__select:first-child, 
.form__vertcombined .form__input:first-child,
.form__vertcombined .form__textarea:first-child {
	border-top-left-radius: 0.3em;
	border-top-right-radius: 0.3em;
}

.form__vertcombined .form__select:last-child, 
.form__vertcombined .form__input:last-child,
.form__vertcombined .form__textarea:last-child {
	border-bottom-left-radius: 0.3em;
	border-bottom-right-radius: 0.3em;
}


/* Формы 〉 Названия полей сверху */
.form.m-fieldname-top .form__item {
	padding-bottom: 1rem;
}

.form.m-fieldname-top .form__cell {
	display: block;
	width: 100%;
/*	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: flex-start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-align-content: stretch;
	-ms-flex-line-pack: stretch;
	align-content: stretch;*/
}

.form.m-fieldname-top .form__fieldname {
	display: block;
	width: 100%;
	margin-bottom: 2px;
	font-size: 0.85rem;
	font-weight: normal;
}

.form.m-fieldname-top .form__relative {
	width: 100%;
}


/* Форма 〉 Длинная валюта */
.m-long-currency .form__days th[data-symbols="8"]:nth-child(3),
.m-long-currency .form__days td[data-symbols="8"]:nth-child(3) {
	width: 9rem !important;
}

.m-long-currency .form__days th[data-symbols="12"]:nth-child(4),
.m-long-currency .form__days td[data-symbols="12"]:nth-child(4) {
	width: 14rem !important;
} 


/* Форма 〉 Текст и ссылки вместо полей формы */
.form__pseudoinput {
	position: relative;
	display: inline-block;
	height: 2.5rem;
	line-height: 2.5rem;
	padding: 0 0 0 0.5em;
	font-size: 1rem;
	vertical-align: middle;
}

.garanty-item {
	display: inline-block;
	vertical-align: top;
	margin-bottom: 12px;
	padding-bottom: 0;
}
.online-show, .card-show {
	max-height: 0;
	overflow: hidden;
	padding-left: 17px;
	transition: 0.3s ease;
}

.online-show.show, .card-show.show {
	height: auto;
	max-height: 500px;
	min-height: 295px;
}

.form-toggle-visibility {
	max-height: 0;
	overflow: hidden;
	visibility: hidden;
	transition: .3s ease;
}

.form-toggle-visibility.show {
	height: auto;
	max-height: 500px;
	visibility: visible;
	overflow: visible;
}

.form__border-block {
	border: 1px solid #E4E4E4;
	border-radius: 3px;
	width: 270px;
	padding: 15px;
	display: inline-block;
}

.form__border-block_success {
	border: 1px solid var(--green);
}

.form__border-block_cancel {
	border: 1px solid var(--red);
}

.form__confirm-status {
	display: inline-flex;
	align-items: center;
	margin-left: 10px;
	font-size: 15px;
	line-height: 18px;
	vertical-align: top;
}

.form__confirm-status svg {
	margin-right: 6px;
}

.form__confirm-status_success {
	color: var(--green);
}

.form__confirm-status_cancel {
	color: var(--red);
}
