/* bootstrap */

/*.container { direction: rtl; }*/
/*
.pull-0 { left: auto; }
.pull-1 { left: 8.333333%; }
.pull-2 { left: 16.666667%; }
.pull-3 { left: 25%; }
.pull-4 { left: 33.333333%; }
.pull-5 { left: 41.666667%; }
.pull-6 { left: 50%; }
.pull-7 { left: 58.333333%; }
.pull-8 { left: 66.666667%; }
.pull-9 { left: 75%; }
.pull-10 { left: 83.333333%; }
.pull-11 { left: 91.666667%; }
.pull-12 { left: 100%; }
.push-0 { right: auto; }
.push-1 { right: 8.333333%; }
.push-2 { right: 16.666667%; }
.push-3 { right: 25%; }
.push-4 { right: 33.333333%; }
.push-5 { right: 41.666667%; }
.push-6 { right: 50%; }
.push-7 { right: 58.333333%; }
.push-8 { right: 66.666667%; }
.push-9 { right: 75%; }
.push-10 { right: 83.333333%; }
.push-11 { right: 91.666667%; }
.push-12 { right: 100%; }
.offset-1 { margin-right: 8.333333%; }
.offset-2 { margin-right: 16.666667%; }
.offset-3 { margin-right: 25%; }
.offset-4 { margin-right: 33.333333%; }
.offset-5 { margin-right: 41.666667%; }
.offset-6 { margin-right: 50%; }
.offset-7 { margin-right: 58.333333%; }
.offset-8 { margin-right: 66.666667%; }
.offset-9 { margin-right: 75%; }
.offset-10 { margin-right: 83.333333%; }
.offset-11 { margin-right: 91.666667%; }
.text-left { text-align: right !important; }
.text-right { text-align: left !important; }
.float-left { float: right !important; }
.float-right { float: left !important; }
.navbar-collapse { direction: rtl; }
.dropdown-menu { float: none; right: auto; text-align: right; }
.list-group-striped .list-group-item:nth-of-type(2n) { background-color: rgba(0, 0, 0, 0.05); }
.breadcrumb-item { float: right; }
*/

/* START menu */
:root {
	--transition-time: 0.5s;
	--expanded-menu-size: 300px;
	--collapsed-menu-size: 50px;
	--bars-size: 30px;
}

.page-container {
	position: relative;
	top: 0;
	height: 100vh;
}

.page-container > .newmenu {
	transition: all var(--transition-time);
}

.page-container > .content {
	transition: all var(--transition-time);
	float: left;
}

@media screen and (max-width: 768px) {
	.page-container > .content {
		float: none;
	}
}

@media screen and (min-width: 768px) {
	.page-container > .content:not(.expanded) {
		width: calc(100vw - var(--expanded-menu-size));
	}
}

.page-container > .content.expanded {
	width: calc(100vw - var(--collapsed-menu-size));
}

.page-container > .content .menu-bars-opener {
	/*margin-right: calc(var(--expanded-menu-size) + 50px);*/
	display: none;
}

.page-container > .content.expanded .menu-bars-opener {
	margin-right: calc(var(--collapsed-menu-size) + 5px);
	display: block;
}

@media screen and (max-width: 768px) {
	.navbar {
		padding: 0.5rem;
	}
	.page-container > .content.expanded {
		width: 100vw;
	}
	.page-container > .content.expanded .menu-bars-opener {
		margin-right: 0;
	}
}

.page-container > .content .navbar {
	/*position: fixed;
	top: 0;
	z-index: 1;*/
	width: 100%;
	height: 60px;
}

.page-container > .content.preview {
	width: calc(100vw - var(--expanded-menu-size));
}

.menu-opener-controller {
	color: #fff;
	cursor: pointer;
}

.newmenu-toggler {
	border: 0;
	background-color: transparent;
	font-size: 24px;
	z-index: 2000;
	transition: all var(--transition-time);
	/*top: 10px;
	position: fixed;
	right: 250px;*/
}

button.newmenu-toggler:focus {
	outline: 0px solid;
}

@media screen and (max-width: 768px) {
	.newmenu-toggler {
		/*right: calc(100vw - 56px);*/
		direction: ltr;
	}
}

.newmenu-toggler.collapsed {
	/*right: 50px;*/
}

@media screen and (max-width: 768px) {
	.newmenu-toggler.collapsed {
		/*right: 0;*/
	}
}

.bars {
	z-index: 3;
	width: var(--bars-size);
	display: flex;
	/*justify-content: center;*/
	align-items: center;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	height: var(--bars-size);
}

.bar {
	background-color: #fff;
	height: 3px;
	border-radius: 3px;
	width: var(--bars-size);
	position: absolute;
	left: 0;
	transition: all var(--transition-time);
}

.bar:nth-of-type(1) {
	transform: rotate(45deg);
	top: calc(var(--bars-size) / 2);
}

.bar:nth-of-type(2) {
	width: 0px;
	top: calc(var(--bars-size) / 2);
	transform: translateY(-50%);
}

.bar:nth-of-type(3) {
	transform: rotate(-45deg);
	bottom: calc(var(--bars-size) / 2.5);
	top: unset;
}

.collapsed .bar:nth-of-type(1) {
	top: 0;
	transform: none;
}

.collapsed .bar:nth-of-type(2) {
	top: 50%;
	width: var(--bars-size);
	transform: translateY(-50%);
}

.collapsed .bar:nth-of-type(3) {
	bottom: 0;
	transform: none;
}

.preview .bar:nth-of-type(1) {
	transform: rotate(45deg);
	top: calc(var(--bars-size) / 2);
}

.preview .bar:nth-of-type(2) {
	width: 0px;
	top: calc(var(--bars-size) / 2);
	transform: translateY(-50%);
}

.preview .bar:nth-of-type(3) {
	transform: rotate(-45deg);
	bottom: calc(var(--bars-size) / 2.5);
	top: unset;
}

.newmenu {
	direction: rtl;
	/*z-index: 2000;*/
	z-index: 2;
	position: fixed;
	/*background-color: gray;*/
	background-color: #0070A1;
	/*background: radial-gradient(at 50% -20%, #0070A1, #16113B) fixed;*/
	/*background: linear-gradient(to left, #16113B, 40%, #0070A1);*/
	width: 300px;
	height: 100vh;
	overflow: auto;
	transition: all var(--transition-time);
}

.newmenu a {
	white-space: nowrap;
}

@media screen and (max-width: 768px) {
	.newmenu {
		width: 100vw;
	}
}

@media screen and (min-width: 768px) {
	.newmenu.collapsed:not(.preview) {
		width: 50px;
	}
}

@media screen and (max-width: 768px) {
	.newmenu.collapsed {
		right: 0;
		width: 0;
	}
}

@media screen and (min-width: 768px) {
	.newmenu.collapsed:not(.preview) a span {
		display: none;
	}
	.newmenu.collapsed .side-menu-toggler {
		display: none;
	}
}

.newmenu.collapsed.preview {
	right: 0;
}
.newmenu-toggler.collapsed.preview {
	/*right: 250px;*/
}

.newmenu > .company-logo {
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 60px;
	flex-wrap: nowrap;
	position: sticky;
	top: 0;
	/*background-color: #343a40!important;*/
	/*background-color: #16113B;*/
	background: radial-gradient(at 50% -20%, #0070A1, #16113B) fixed;
	border-left: 1px solid #aaa9a9;
}

.newmenu > .company-logo .name {
	white-space: nowrap;
}

.newmenu.collapsed > .company-logo .name, .newmenu.collapsed > .company-logo .user-name {
	display: none;
}

.newmenu.collapsed > .company-logo img {
	flex-grow: 1;
	object-fit: contain;
}

.newmenu ul {
	overflow-y: auto;
	padding-right: 0;
	list-style: none;
}

.newmenu li {
	transition: all var(--transition-time);
}

.newmenu li.active {
	/*background-color: #aaa9a9;*/
	background-color: #16113B;
}

.newmenu li:hover {
	background-color: #9b9b9b;
}

.newmenu ul li span {
	margin-right: 0.25rem;
}

.newmenu ul a {
	display: flex;
	align-items: center;
	color: white;
	padding: 10px 15px;
}

.newmenu ul li:first-of-type,
.newmenu ul li:last-of-type {
	border-top: 1px solid #aaa9a9;
}
/* END menu */

.form-check-label { padding-left: 0; padding-right: 1.25rem; }
.form-check-input { margin-left: 0; margin-right: -1.25rem; }

th { text-align: right; }

.input-group .form-control:not(:last-child),
.input-group-addon:not(:last-child),
.input-group-btn:not(:last-child) > .btn,
.input-group-btn:not(:last-child) > .btn-group > .btn,
.input-group-btn:not(:last-child) > .dropdown-toggle,
.input-group-btn:not(:first-child) > .btn:not(:last-child):not(.dropdown-toggle),
.input-group-btn:not(:first-child) > .btn-group:not(:last-child) > .btn {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}

.input-group .form-control:not(:first-child),
.input-group-addon:not(:first-child),
.input-group-btn:not(:first-child) > .btn,
.input-group-btn:not(:first-child) > .btn-group > .btn,
.input-group-btn:not(:first-child) > .dropdown-toggle,
.input-group-btn:not(:last-child) > .btn:not(:first-child),
.input-group-btn:not(:last-child) > .btn-group:not(:first-child) > .btn {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
}

.form-control + .input-group-addon:not(:last-child) {
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-left: 0;
}

.form-control + .input-group-addon:not(:first-child) {
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-right: 0;
}

.rtl .list-group { padding: 0; }

/* custom */
/*body { padding-top: 5rem; }*/
.container-top { padding-top: 5rem; }

#header-wrapper.fixed-top { z-index:1; }
.header-wrapper { width: 100%; transform: translateY(0); transition: transform .3s; }
.header-wrapper.toggle { transform: translateY(-100%); }

.navbar-bon { /*background-color: #16113B;*/ background: radial-gradient(at 50% -20%, #0070A1, #16113B) fixed; }

/*table.users-table th,
table.users-table td,
table.companies-table th,
table.companies-table td {
	padding: 0.25rem;
}*/
table.users-table a.user-name-link,
table.clients-table a.client-name-link,
table.call-history-table a.call-history-edit,
table.leads-table a.leads-edit,
table.addons-table a.name-link,
table.apartments-table a.name-link,
table.terms-table a.name-link,
table.companies-table a.company-name-link,
table.pages-table a.company-name-link,
table.rq-table a.name-link {
	color: inherit;
	font-weight: bold;
}
.edit-password, .edit-profile { cursor: pointer; }
.lock-user { cursor: pointer; margin-right: 1rem; }
/*#dropdown01 img { height: 50px; }*/
.company-logo img { width: 40px; height: 40px; }
.company-logo-preview, .company-card-image-preview { height: 40px; margin: 0 0 1rem 1rem; }

.reservations-add-footer, .modal-popup-footer { padding: 15px; border-top: 1px solid #eceeef; }
.reservations-add-submit,
.supplier-category-add-submit,
.supplier-add-submit {
	width: 50%;
}
.nav-link { padding: 0.5rem 0.1rem; }
.reservations-list { }
.reservations-list .actions, .reservations-list .amount { width: 60px; }
.reservations-list .row { margin: 0; }
.reservations-list .btn, .products-table .btn, .product-groups-table .btn, .clients-table .btn, .call-history-table .btn, .leads-table .btn,
.addons-table .btn,
.apartments-table .btn,
.terms-table .btn,
.pages-table .btn,
.system-notifications-table .btn
{
	padding: 0.1rem 0.25rem ; margin: 0 0.25rem ; cursor: pointer;
}
.reservations-list .row > div { padding: 5px 5px; }
.reservations-list .reservation-comments { font-size: 0.8rem; }
.reservations-list .reservation-main-detail { cursor: pointer; }
.reservations-list .reservation-detail { display: none; }
/*.reservations-list-print th { text-align: center; }*/
#reservations-calendar .ui-datepicker-inline { display: inline !important; }
.ui-autocomplete { z-index: 1100; direction: rtl; }
.border-bottom-gray { border-bottom: 1px solid #eceeef; }
.all-team-button { padding-bottom: 1rem; }
.bartenders-add, .waitresses-add { cursor: pointer; }
input[type=tel], input[type=email], input[type=number], input[type=password] { direction: ltr; text-align: left; }

.reservations-list a, .reservations-list a:visited,
.reservations-list-bc a, .reservations-list-bc a:visited { /*color: blue;*/ color: #000000; }
.reservations-list td { color: #000000; }
.reservations-list .reservations-list-date, .size-row > :first-child { width: 120px; max-width: 120px; overflow-x: hidden; }
.reservations-list tbody tr td.sticky-cell { background-color: #ffffff; }
.reservations-list tbody tr:nth-of-type(odd) td.sticky-cell { background-color: lightgray; }
.reservations-list tbody tr td.weekend-date { /*background-color: rgba(0,0,0,.15);*/ background-color: lightgray; }
.reservations-list .current-day > .reservations-list-date,
.reservations-list .date-header.current-day,
.reservations-list .current-day { color: blue; font-weight: bold; }
.reservations-list .reservation-list-holiday-name { font-size: 0.75rem; color: red; }
.reservations-list.floatThead-table { background-color: #ffffff; }
.reservations-list td.reservations-list-td { padding: 0; cursor: pointer; }
.reservations-list-box { margin-bottom: 5px; padding-right: 3px; }
.reservations-list-status-0 { background-color: #fff98a; }
.reservations-list-status-1 { background-color: #c7ff99; }
.reservations-list-status-2 { background-color: #ffd791; }
.reservations-list-status-3 { background-color: #b8dcff; }
.reservations-list-status-oc { background-color: #ff9696; padding: 0 5px; /*margin: 0 2px;*/ }
.reservations-list-status-oc .oc-date-link { cursor: pointer; }
.reservations_status_colors { font-size: 0.9rem }
.reservations_status_colors .reservations-list-status { color: #000000; padding: 0 5px; margin: 0 2px; }
.reservations_status_colors .reservations-list-status-4 { display: none; }
.out-date-hourly { padding: .5rem .75rem; line-height: 1.25; }
.reservations-bc-available-no { background-color: red; }
.reservations-bc-available-partial { background-color: #ffd791; }
.reservations-bc-available-all { background-color: #c7ff99; }
.reservations-list a.reservation-has-balance-due { text-decoration: underline; }

.credit-cards-table .reservation-cc-charge,
.credit-cards-table .reservation-cc-refund,
.credit-cards-table .reservation-cc-authorization,
.charges-table .reservation-charge-print,
.charges-table .reservation-rc-refund,
.documents-table .reservation-document-pdf,
.documents-table .reservation-document-cancel,
.documents-table .reservation-document-email {
	font-size: 1rem; padding: 0.25rem 0.5rem; line-height: 1rem;
}
.files-table .btn {
	font-size: 1rem; padding: 0.25rem 0.5rem; line-height: 1rem;
}
.reservation-pay-iframe { width: 100%; height: 300px; border: 0; }
.reservation-pay-iframe-1 { /*height: 300px;*/ height: 850px; }
.container-top-print .reservation-pay-iframe-1 { height: 850px; }
.reservation-pay-iframe-2 { height: 900px; }
.reservation-cc-links { color: #000000; }

.registration-guider-form {}
.registration-guider-form .rg-add-row,
.registration-guider-form .rg-save  { }
.registration-guider-form .apartment_delete > i  { margin-top: 0.5rem; }

.container-top-print { padding-top: 2rem; /*max-width: 600px;*/ }
.company-logo-print { max-height: 100px; }
h1.title-print { font-size: 2rem; }
.print_small_font { font-size: 0.9rem; }

a.open_format_download,
a.open_format_view_54,
a.open_format_view_26
{
	cursor: pointer;
}

.reservation_sub_desc { font-size: 0.8rem; }
.reservation_base_price_att{ font-size: 0.8rem; float: left; display: none; }
.alert-dismissible .close-mir { float:left; right: 1.25rem; }
.text-ltr { direction: ltr; text-align: left; }
.page-reservation-edit #ui-datepicker-div { z-index: 10 !important; }

.reservation-conditions p, .page-content p, .reservation-reminder p {
	padding: 0;
	margin: 0;
}

/* START sticky */
.table-sticky-header { position: relative; border-collapse: collapse; }
.table-sticky-header thead th { position: sticky; top: 0; }
.reservations-list-wrapper { /*height:300px;*/ }
.reservations-list { /*border-collapse: initial; border-spacing: 0;*/ }
.reservations-list thead th { background-color: #ffffff; }
.sticky-cell { position: sticky; white-space: nowrap; right: 0; z-index: 1; }
.reservations-list .sticky-cell { /*border-left: 1px solid #dee2e6;*/ }

.required-asterisk { color: red; }

.form-check-label { cursor: pointer; }

.document-add-form .form-check-label { padding-left: 0; }

.rtl .breadcrumb-item+a.breadcrumb-item, [dir=rtl] .breadcrumb-item+a.breadcrumb-item {
	color: #007bff;
}

.pictures-add { cursor: pointer; }

/* reservations request */
.rq-status-box { padding: 3px; }
.rq-status-0 { border-right: 5px solid #007bff; }
.rq-status-1 { border-right: 5px solid #ffd791; }
.rq-status-2 { border-right: 5px solid limegreen; }
.rq-status-3 { border-right: 5px solid red; }
.dashboard-rq-counters .rq-status-0, .dashboard-rq-counters .rq-status-1 { border-right-width: 10px; }
.rq_status_colors { font-size: 0.9rem }
.rq_status_colors .rq-status { color: #000000; padding: 0 5px; margin: 0 2px; }

.form-submit-wrapper, .form-submit-wrapper-2 { width: 100%; }
.form-submit-fixed { position: fixed; bottom: -8px; right: 0; }
.form-submit-wrapper .form-submit-box, .form-submit-wrapper-2 .form-submit-box {
	width: 200px; background-color: #e9ecef; border: 1px solid #ced4da;
	border-radius: 10px; padding: 0.5rem; margin: 0 auto;
}
.form-submit-wrapper .form-submit-box .form-submit-button, .form-submit-wrapper-2 .form-submit-box .form-submit-button {
	width: 90%;
}

.ui-datepicker td.rc-holiday { background-color: red; border: 1px solid red; }

.price-list-dates .dp-highlight .ui-state-default {
	background-color: #484484;
	color: #ffffff;
}

/*
----------- Signature pad
 */
.signature-pad-opener-desc {
	width: 30%;
}

.signature-pad-opener {
	width: 65%;
	height: 50px;
	border: 1px solid #000000;
	font-size: 0.75rem;
	text-align: center;
}

.signature-pad-opener img.signature-image {
	width: 100%;
	height: 100%;
}

.signature-pad {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	font-size: 10px;
	/*width: 100%;
	height: 100%;
	max-width: 350px;
	max-height: 230px;*/
	/*width: 380px;*/
	width: 100%;
	height:150px;
	border: 1px solid #e8e8e8;
	background-color: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
	border-radius: 4px;
	padding: 16px;
}

.signature-pad::before,
.signature-pad::after {
	position: absolute;
	z-index: -1;
	content: "";
	width: 40%;
	height: 10px;
	bottom: 10px;
	background: transparent;
	box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.signature-pad::before {
	left: 20px;
	-webkit-transform: skew(-3deg) rotate(-3deg);
	transform: skew(-3deg) rotate(-3deg);
}

.signature-pad::after {
	right: 20px;
	-webkit-transform: skew(3deg) rotate(3deg);
	transform: skew(3deg) rotate(3deg);
}

.signature-pad-body {
	position: relative;
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	border: 1px solid #f4f4f4;
}

.signature-pad-body, canvas {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border-radius: 4px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

/*
---- fix for TinyMce
*/
.input-file-wrapper { overflow-x: hidden; max-width: 100%; }
input[type=file]::-webkit-file-upload-button{
	display:block !important;
}

/* review styling */
.review-text{
    padding-bottom: 25px;
}

.review-row {
    padding-bottom: 10px;
}

.review-row label {
	font-weight: bold;
}

.review-important {
    padding-right: 4px;
    vertical-align: middle;
    color: red;
    font-size: 13px;
}

a.review-btn{
	color: #ffffff;
}

.br-rate-desc { margin-left: 1rem; }

.calendar-grid-wrap { }
.calendar-grid-wrap .grid-scroll { overflow-x: auto; overflow-y: hidden; width: 100%; height: 16px; margin-bottom: 3px; }
.calendar-grid-wrap .grid-scroll .scroll-div { height: 100%; }
.calendar-grid-wrap .calendar-apartments { width: 120px; float: right; }
.calendar-grid-wrap.agent-view .calendar-apartments { position: sticky; right: 0px; margin-top: -59px; z-index: 5; }
.calendar-grid-wrap .calendar-apartments .apartment-item {
	width: 120px;
	height: 50px;
	/*display: block;
	z-index: 3;*/
	background-color: white;
	box-shadow: rgba(0, 0, 0, 0.15) 0 0 8px 4px;
	font-weight: bold;
	line-height: 1;
	overflow: hidden;
}
.calendar-grid-wrap.agent-view .calendar-apartments .apartment-item { padding-right: 5px;}
.calendar-grid-wrap .grid-body .grid-row.company-name-row,
.calendar-grid-wrap.agent-view .calendar-apartments .apartment-item.company-name-row { background-color: #d3d3d3 !important; }
.calendar-grid-wrap .grid-body .grid-row.company-name-row .fixed-company-name {font-weight: bold; position: sticky; right: calc(50% - 125px); min-width: 250px; text-align: center; }
.calendar-grid-wrap .calendar-apartments .apartment-date-header { height: 60px; }
.calendar-grid-wrap.agent-view .calendar-apartments .apartment-date-header { height: 59px; padding: 4px 5px 0; }
.calendar-grid-wrap .calendar-grid {
	/*width: 100%;*/
	width: -webkit-calc(100% - 120px);
	width:    -moz-calc(100% - 120px);
	width:         calc(100% - 120px);
	overflow: auto;
	border-right: 1px solid #dee2e6;
	/*height: 500px;
    min-height: 500px;*/
    /*align-content: flex-start;*/
	float: right;
	/*display: grid;*/
	display: flex;
}
.calendar-grid-wrap.agent-view .calendar-grid {
	height: 500px;
	width: 100%;
	overflow: auto;
	border-right: 1px solid #dee2e6;
	float: right;
	display: grid;
}
.calendar-grid-wrap .grid-header {
	border-top: 1px solid #dee2e6;
	border-bottom: 1px solid #dee2e6;
	height: 60px;
	display: flex;
	/*position: sticky;
	top: 0;*/
	z-index: 4;
	background-color: #ffffff;
}
.calendar-grid-wrap.agent-view .grid-header { position: sticky; top: 0; z-index: 10; }
.calendar-grid-wrap .date-header {
	width: 120px;
	border-left: 1px solid #dee2e6;
	padding-right: 3px;
	text-align: center;
	overflow: hidden;
	height: 60px;
}
.calendar-grid-wrap .grid-body {  }
.calendar-grid-wrap .grid-body .grid-row:nth-of-type(odd) { background-color: rgba(0, 0, 0, .05); }
.calendar-grid-wrap .grid-body .grid-row { border-bottom: 1px solid #dee2e6; height: 50px; display: flex; }
.calendar-grid-wrap .date-cell {
	width: 120px;
	height: 100%;
	border-left: 1px solid #dee2e6;
	padding-right: 3px;
	margin-bottom: 0;
	cursor: pointer;
	overflow: hidden;
	box-sizing: border-box;
}
.calendar-grid-wrap .date-cell.agent-view { cursor: auto;}
.calendar-grid .free, .calendar-grid .occupied { height: 30px; width: 100%; position: relative; display: table-cell; }
.calendar-grid .end { border-left: 1px solid #dee2e6; }
.calendar-grid .hour { width: 5px; height: 30px; position: relative; display: table-cell; }
.calendar-grid .confirmed { background-color: #c7ff99; }
.calendar-grid .construction { background-color: #ff9696; }

.online-celendar-edit table.table,
.reservations-calendar table.table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.online-celendar-edit .table td,
.reservations-calendar .table td {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border-radius: 6px;
	height: 120px;
	/*font-size: 18px;*/
	/*color: #9292d0;*/
	color: #000000;
	/*font-weight: bold;*/
	cursor: pointer;
	position: relative;
	padding: 0.5rem;
}

.online-celendar-edit .table td.date-closed {
	/*background-color: #f54e0f;
	color: #ffffff;*/
}

.online-celendar-edit .date-closed-strip {
	background-color: #e96d6d;
	height: 1rem;
}

.online-celendar-edit .table td.pressedTime {
	background: #4b75a4;
	color: #ffffff;
}

.online-celendar-edit .table td.date-holiday {
	/*border-bottom: 2px solid red;*/
}

.online-celendar-edit .box-date-holiday {
	color: red;
	height: 2rem;
	width: 100%;
	overflow: hidden;
}

.online-celendar-edit .table td.disabled-date {
	cursor: not-allowed;
	background-color: #f5f5f5;
	/*background: #f5f5f5 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' viewBox='0 0 100 100'><path d='M100 0 L0 100 ' stroke='black' stroke-width='1'/></svg>");
	background-repeat:no-repeat;
	background-position:center center;
	background-size: 100% 100%, auto;
	width: 100%;*/
}

.online-celendar-edit .table td.disabled-date > * {
	opacity: 0.5;
}

.online-celendar-edit .cell-date {
	font-weight: bold;
}

.online-celendar-edit .box-date-info {
	font-size: .75rem;
	color: #000000;
}

.online-celendar-edit .table td.pressedTime .box-date-info {
	color: #ffffff;
}

.online-celendar-edit .box-date-info > div {
	min-height: 1rem;
}

.online-celendar-edit .price-celendar {
	/*font-weight: bold;*/
	font-size: 1rem;
}

.online-celendar-edit .price-celendar i {
	font-size: 0.75rem;
}

/*.online-celendar-edit .price-celendar img {
	width: 15px;
	height: 15px;
	margin-top: -4px;
}*/

.online-celendar-edit .mobile-cell-date {
	display: none;
}

/*.online-celendar-edit img.check-in-out-img {
	margin-top: 0;
    width: 25px;
    height: 25px;
    position: absolute;
    left: 7px;
}

.online-celendar-edit img.check-in-out-img.in-out {
    left: 40px;
}*/

.table-td-date { width: 120px; min-width: 120px; }
.user-agent-switch { /*position: fixed; left: 10px; bottom: 10px;*/ }

.wubook-calendar {}
.wubook-calendar .price-celendar label,
.wubook-calendar .min-max-nights label {
	width: 100%;
}
.wubook-calendar .available-count { font-size: 0.8rem; }
.wubook-calendar .min-max-nights .wc_min_max_stay_marked { background-color: yellow; }
.wubook-calendar input[type='number'] { text-align: center; }
.wubook-calendar input.closure_closed {
	/*width: 25px; height: 25px;*/
	-ms-transform: scale(2); /* IE */
	-moz-transform: scale(2); /* FF */
	-webkit-transform: scale(2); /* Safari and Chrome */
	-o-transform: scale(2); /* Opera */
	padding: 10px;
}
.wubook-calendar .row { margin: 0; }
.wubook-calendar .box-week-day { font-weight: bold; padding: .75rem; border: 1px solid #dee2e6; }
.wubook-calendar .box-date { border: 1px solid #dee2e6; padding: 0.5rem; }
.wubook-calendar .disabled-date, .wubook-calendar .past-date { cursor: not-allowed; background-color: #f5f5f5; }
.wubook-calendar .cell-date { text-align: right; }
.wubook-calendar .cell-date .cell-date-mobile { display: none; }

.wubook-calendar .closure-col { position: relative; }
.wubook-calendar input.closure_closed { position: absolute; z-index: -1; opacity: 0; }
.wubook-calendar label.closure_closed_label { background-color: #55bb21; width: 50%; height: 21px; cursor: pointer; }
.wubook-calendar input.closure_closed:checked + label.closure_closed_label,
.wubook-calendar input.closure_closed:checked + label.closure_closed_label {
	background-color: #ff0000;
	border-color: #ff0000;
}

.wubook-calendar input.closure_closed_arrival,
.wubook-calendar input.closure_closed_departure {
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.wubook-calendar label.closure_closed_arrival_label,
.wubook-calendar label.closure_closed_departure_label {
	border: 1px solid gray;
	margin-top: 3px;
	width: 50%;
	height: 15px;
	cursor: pointer;
}
.wubook-calendar label.closure_closed_arrival_label {
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
}
.wubook-calendar label.closure_closed_departure_label {
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
}
.wubook-calendar input.closure_closed_arrival:checked + label.closure_closed_arrival_label,
.wubook-calendar input.closure_closed_departure:checked + label.closure_closed_departure_label {
	background-color: orange;
	border-color: orange;
}

.inp-right-corner { border-top-right-radius: 10px; border-bottom-right-radius: 10px; }
.inp-left-corner { border-top-left-radius: 10px; border-bottom-left-radius: 10px; }

.apartments-table tbody tr:first-child .up-btn,
.apartments-table tbody tr:last-child .down-btn {
  display: none;
}

.action-btn-row {
  width: 110px;
  float: left;
  margin: 0;
}

.action-btn-row .col {
  padding: 0;
}

.reservations-calendar {
  transition: width 1s;
}

.reservations-calendar .selected-date {
  background-color: #5ed9fe;
}

.reservations-calendar .reservation-list-holiday-name {
	width: 100%;
	overflow: hidden;
}

.reservations-cel-sm {
  width: 45%;
  min-width: 250px;
  display: inline-block;
  transition: width 1s;
  overflow: hidden;
}

.reservations-cel-sm .table td {
  height: 55px;
  font-size: 11px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

.reservations-list .cell-date { font-weight: bold; }
.reservations-cel-sm .cell-date { padding: 0 0.5rem; }
.reservations-cel-sm .reservation-list-holiday-name { display: none; }
.reservations-cel-sm .holiday_day { background-color: #fcb5b5; }
.reservations-cel-sm .reservations-list td.selected-date { background-color: #4b75a4; color: #ffffff; font-weight: bold; }
.reservations-cel-sm .reservations-list td.selected-date .current-day { color: #ffffff; }

.reservations-calendar-list {
  width: 54%;
  padding-right: 1%;
  vertical-align: top;
  position: relative;
  transition: width 1s;
  overflow: hidden;
  float: left;
}
.reservations-calendar-list.hidden { display: none; }
.reservations-calendar-list .rcl-header {
  width: 100%;
  height: 50px;
  background-color: #dee2e6;
  border-radius: 4px 4px 0 0;
  border: 1px solid #c4c6c7;
  margin: 0 0 10px 0;
  padding: 4px 0;
}
.reservations-calendar-list a.apartment-name-link { font-weight: bold; }
.reservations-calendar-list .close { font-size: 35px; display: inline-block; }
.reservations-calendar-list .rcl-header .filter-buttons { padding: 7px 35px 0 0; }
.reservations-calendar-list .rcl-header .filter-buttons input { margin-left: 5px; }
.reservations-calendar-list .no_results_message{
  font-size: 20px;
  font-weight: bold;
  color: gray;
  text-align: center;
  border: 1px solid gray;
  border-radius: 4px;
  width: 100%;
  height: 100px;
  line-height: 100px;
}

/* .list-apartments:nth-child(even) { background: #f8f8fa; } */
.reservations-calendar-list .list-apartments { border-bottom: 1px solid #d5d5d2; padding: 10px 0; }
.reservations-calendar-list .list-apartments:last-of-type { border-bottom: none; }
.reservations-calendar-list .apartments-reservation { border-bottom: 1px solid #d5d5d2 }
.reservations-calendar-list .apartments-reservation:last-of-type { border-bottom: none; }
.reservations-calendar-list .card-body { padding: 0 15px 5px; }
.reservations-calendar-list .actions-field { text-align: left; }
.red-mark { color: red; }

.weeks_day_check{
	width:75px;
}

.td-date {
	min-width: 100px;
}

.dashboard-reservations-summery a { color: #000000; }
.dashboard-reservations-summery .drs-button { margin: 0.5rem 0.25rem; }
.dashboard-reservations-summery .card-body { padding: 0.5rem 1rem; }

@media (max-width: 991px) {
    .online-celendar-edit td .price-celendar { font-size: .75rem; font-weight: normal; }
    /*
    .online-celendar-edit .table td { font-size: 14px; height: 100px; }
    .online-celendar-edit .price-celendar img { width: 10px; height: 10px; }
    .online-celendar-edit img.check-in-out-img { width: 15px; height: 15px; }
    .online-celendar-edit img.check-in-out-img.in-out { left: 23px; }
    */
}

@media (max-width: 768px) {
    .offset-md-2 { margin-left: 0; margin-right: 16.666667%; }

  .reservations-calendar .table td { height: 70px; }

  .reservations-calendar-list,
  .reservations-cel-sm {
    width: 100%;
  }
}

@media (max-width: 767px) {
    /*
    .online-celendar-edit .table td { font-size: 10px; height: 70px; padding: 5px; }
    .online-celendar-edit .price-celendar { font-size: 10px; font-weight: normal; }
    .online-celendar-edit .price-celendar img { width: 8px; height: 8px; }
    .online-celendar-edit img.check-in-out-img { display: none; }
    */
    .online-celendar-edit .box-date-info { font-size: .75rem; font-weight: normal; }
    .online-celendar-edit .extra-people-price { display: none; }
    .online-celendar-edit .table .box-date-holiday,
    .reservations-calendar .reservation-list-holiday-name {
        font-size: 0.5rem;
    }
}

@media (min-width: 576px) {
    .offset-sm-2 { margin-left: 0; margin-right: 16.666667%; }
}

@media (max-width: 575px) {
    .breadcrumb { font-size: 0.8rem; padding: .75rem 0.5rem; }
    ul.reservations-dates > li { font-size: 0.75rem; }
    .reservations-list { font-size: 0.8rem; }
    /*.reservations-list .reservations-list-date ,
        .reservations-list .reservation-list-holiday-name {
        font-size: 0.6rem;
    }*/
    .reservation-cc-links { font-size: 0.8rem; padding: 0.5rem; }
    .credit-cards-table { font-size: 0.8rem; }
    .charges-table { font-size: 0.75rem; padding: 0.1rem 0.5rem; line-height: 1rem; }
    .credit-cards-table .reservation-cc-charge,
    .credit-cards-table .reservation-cc-refund,
    .credit-cards-table .reservation-cc-authorization,
    .charges-table .reservation-charge-print,
    .charges-table .reservation-rc-refund,
    .documents-table .reservation-document-pdf {
        font-size: 0.75rem; padding: 0.1rem 0.5rem; line-height: 1rem;
    }
    .reservation-pay-iframe { height: 900px; }
	.reservation-pay-iframe-1 { height: 850px; }
	.reservation-pay-iframe-2 { height: 1400px; }

    .registration-guider-form .rg-add-row,
    .registration-guider-form .rg-save  {
        font-size: 0.75rem;
    }
    /*.registration-guider-form .apartment_name::placeholder,
    .registration-guider-form .num_rooms::placeholder  {
        font-size: 0.6rem;
    }*/

    #connected-apartments-rows .ca_apartment_id,
    #connected-apartments-rows .ca_num_rooms {
        font-size: 0.8rem;
    }

    .m-xs-3 { margin: 1rem !important; }
    .mt-xs-3 { margin-top: 1rem !important; }
    .mb-xs-3 { margin-bottom: 1rem !important; }
    .mb-xs-2 { margin-bottom: 0.5rem !important; }
    .ml-xs-2 { margin-left: 0.5rem !important; }

    .price-list-dates .ui-datepicker.ui-datepicker-multi { width: 100% !important; }
    .price-list-dates .ui-datepicker-multi .ui-datepicker-group { float:none; }
}

@media (max-width: 525px) {
	.reservations-calendar .table td {
		padding: 0.25rem;
	}
	.reservations-calendar .reservations-bc-available-desc {
		display: inline-flex;
		flex-direction: row;
		width: 50%;
		overflow: hidden;
		font-size: 0.75rem;
	}

    .online-celendar-edit .table td {
        padding: 0.25rem;
        height: 100px;
    }

    .price-celendar i { display: none; }

    .online-celendar-edit .box-date-info > div {
        min-height: 1.5rem;
    }

    /*.wubook-calendar table thead th,
    .wubook-calendar table tbody td {
        width: 150px;
        min-width: 150px;
    }*/
    .wubook-calendar .week-days, .wubook-calendar .disabled-date, .wubook-calendar .past-date { display: none; }
    .wubook-calendar .active-date { flex: auto; }
    .wubook-calendar .cell-date { /*display: inline-flex;*/ text-align: right; float: right; width: 20%; }
    .wubook-calendar .box-date-info { width: 80%; float: left; }
	.wubook-calendar .cell-date .cell-date-desktop { display: none; }
	.wubook-calendar .cell-date .cell-date-mobile { display: block; font-weight: normal; }

	.dashboard-reservations-summery .drs-button { font-size: 0.75rem; }
	.dashboard-rq-counters a { font-size: 0.75rem; }
}

@media (max-width: 425px) {
	#header_navbar .navbar-brand, #header_navbar .navbar-toggler { font-size: 1rem; }
	.calendar-grid-wrap .grid-body .grid-row.company-name-row .fixed-company-name { /*display: none;*/ }
}

@media (max-width: 400px) {
    .col-xxs-12 { flex: 100%; max-width: 100%; }
}

@media (max-width: 321px) {
    #header_navbar .navbar-brand { font-size: 1rem; }
    #header_navbar .navbar-brand span { font-size: 0.75rem; }
    #header_navbar .company-logo { width: 80px; }
}

/*
@media (max-width: 300px) {
	.online-celendar-edit .desktop-cell-date {
		display: none;
	}
	.online-celendar-edit .mobile-cell-date {
		display: block;
	}
	.online-celendar-edit .table td {
		font-size: 12px;
		height: 36px;
		padding: 5px;
		text-align: center;
		vertical-align: middle;
	}
	.online-celendar-edit .price-celendar {
		display: none;
	}
}
*/
.upper-scroll-wrapper {
	overflow-x: auto;
	height: 30px;
}

.upper-scroll-wrapper-agent {
    overflow-x: auto;
    height: 30px;
    width: 100%;
    float: right;
    margin-top: -13px;
}

.fixed-upper-scroll-wrapper {
	position: fixed;
	top: 0px;
	z-index: 2000;
}

.dropzone {
	text-align: center;
}

.company-images {
	list-style: none;
	display: flex;
	justify-content: start;
	flex-wrap: wrap;
}

.company-images li {
	width: 250px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	overflow: hidden;
	border: none;
	box-shadow: 0 0 2px #8c8c8c;
}

.company-images li input.description {
	margin: 10px 0;
	width: calc(100% - 20px);
	border: 1px solid #8c8c8c4f;
	border-radius: 5px;
}

.company-images li input[name="description-en"] {
	text-align: left;
}

.company-images li input.description::-webkit-input-placeholder {
	font-style: italic;
}

.company-images li input.description:-moz-placeholder {
	font-style: italic;
}

.company-images li input.description::-moz-placeholder {
	font-style: italic;
}

.company-images li input.description::-ms-input-placeholder {
	font-style: italic;
}

.company-images .dz-preview img {
	width: 100%;
	height: 190px;
	object-fit: cover;
}

.company-images div.description {
	margin: 0 10px;
	display: flex;
	gap: 10px;
	align-items: center;
}

.company-images .dz-remove {
	width: 25px;
	height: 25px;
	position: absolute;
	top: 10px;
	left: 10px;
	border-radius: 5px;
	box-shadow: 0 0 2px #8c8c8c;
	background-color: #fff;
	cursor: pointer;
	display: flex !important;
	justify-content: center;
	align-items: center;
}

.alert-fixed {
    position:fixed; 
    top: 0px; 
    left: 0px; 
    width: 100%;
    z-index:9999; 
    border-radius:0px
}

.select2-search--dropdown .select2-search__field {
	direction: rtl;
}

.bon-driverjs-theme .driver-popover-close-btn { right: initial; left: 0; }
.bon-driverjs-theme .driver-popover-progress-text { direction: ltr; }
/*
---------------- general media print
*/
@media print {
	@page {
		/*
		size: auto;
		margin: 0;
		size: 297mm 210mm;
		*/
		/*size: A4;*/
	}
	.page-container > .content {
		float: none;
		width: 100%;
		display: block;
	}
	.container-top-print {
		/*
		min-width: 599px !important;
		max-width: 600px !important;
		*/
		width: 100%;
	}
	.media-print-hide { display: none; }
}
