:root {
	--site-dark : #26140C;
	--site-mocco: #5c3c36;
	--site-capucino: #a4847e;
	--site-light: #ecd8c7ff;
}

body {
	font-family: Montserrat, sans-serif;
	font-size: 10pt;
}

.header {
	background-color: rgba(164, 132, 126, .92);
	color: var(--site-dark);
	font-size: 1rem;
	line-height: 1.2rem;
	/* position: fixed; */
	width: 100%;
	z-index: 10;
}

	.header a {
		text-decoration: none;
		color: var(--site-dark);
		display: flex;
		align-items: center;
		justify-content: space-evenly;
		padding: .5rem .2rem;
	}

	.header a span {
		text-align: left;
		margin: 0 3px;
	}

	.header a span:first-child {
		margin-right: 7px !important;
	}

	.header a:hover {
		color: #fff;
		background-color: var(--site-dark);
	}

.menu-button {
	background: transparent;
	border: none;
}

#mobile-nav{
	background-color: var(--site-capucino);
	z-index: 100;
}

#mobile-nav > .col {
	text-align: left;
	display: flex;
}

#mobile-nav .material-symbols-outlined {
	font-size: 150% !important;
}

.menu-button {
	font-size: 32pt !important;
}

.desktop-menu a {
	white-space: normal;
}

.header .logo-placement {
	position: absolute;
	width: 100%;
	top: 0;
	/* left: 10%; */
}

.header.scrolled .logo-placement {
	display: none;
}

.header .logo-container {
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	position: relative;
	background-image: url(/dev/1.png);
	background-position: top center;
	background-size: contain;
	background-repeat: no-repeat;
}

.header h1 {
	display: none;
	background-color: rgb(38 20 12 / 90%);
	color: #fff;
	font-weight: 200;
	font-size: 1rem;
	padding: .5rem 0;
	position: absolute;
	width: 80vw;
	right: 10vw;
	text-align:center;
	border-radius: 10px;
}

.header h1 span {
	font-size: 75%;
	display: block;
}

.header .logo {
	width: 70%;
}

.header .db-logo {
	display: block;
	background-image: url(/assets/img/db.png);
	background-size: contain;
	background-repeat:  no-repeat;
	background-position: top right;
}

.hero {
	position: relative;
}

.hero > div:nth-child(1) {
	width: 100%;
	height: 100vh;
	background-position: center center;
	background-size: cover;
	padding-top: 1px;
	position: relative;
	z-index: -1;
}

.hero h1 {
	display: block;
	width: 45%;
	margin-top: 55vh;
	padding: 3rem;
	font-weight: 200;
	font-size: 4.5vw;
	line-height: 4vw;
	background-color: rgba(38, 20, 12, .7);
	color: rgba(255,255,255, .7);
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	box-shadow: 0 0 3px 1px rgba(0, 0, 0, .1);
}

.hero h1 span {
	display: inline-block;
	font-size: 71%
}

.hero .fast-booking {
	position: absolute;
	top: 3rem;
	left: 3rem;
}

.hero .fast-booking h3 {
	background-color: rgba(240, 181, 123, .8);
    display: inline-block;
    padding: .5rem 1rem;
	font-size: 135%;
}

.hero .fast-booking .btn {
	background-color: #ead9cf;
	margin-bottom: .5rem;
}

.hero .fast-booking h3 span {
	display: inline-block;
    vertical-align: middle;
    zoom: 1.3;
    opacity: .7;
    margin-right: .5rem;
}

.about {
	background-color: var(--site-dark);
	color: var(--site-capucino);
}

.about h3 {
	font-size: 1.5rem;
	font-weight: 200;
	color: #fff;
}

.about h4 {
	font-size: 1.1rem;
	font-weight: 300;
}

.about .owl-carousel  {
	padding: 1rem;
}

.plan {
	background-image: url(/assets/img/seashore.jpg);
	background-position: bottom right;
	background-size: cover;
}

.plan-controls {
	background-color: rgba(85, 50, 48, .5);
	margin-bottom: -1rem;
	padding-bottom: 2rem;
}

.plan-controls input::placeholder {
	font-size: 80%;
}

.plan-controls button {
	color: white;
	background-color: var(--site-dark);
	border: none;
}

.plan-controls button:hover {
	background-color: var(--site-mocco);
}

.plan-controls h2, .plan-controls h3  {
	color: var(--site-dark);
	font-weight: 400;
}

.plan-content {
	padding-bottom: 1rem;
}

.svg-wrapper {
	overflow: hidden;
	position: relative;
    width: 100vw;
    height: 76vw;
}

.plan-content svg {
	width: 100vw;
	max-width: 1200px;
}

#map-zoom {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10;
}

.zoomed {
	transform: scale(2);
}

.zoom-reset {
	top: 0 !important;
	left: 0 !important;
}

.legend {
	outline: solid 4px var(--site-mocco);
	padding: .5rem;
	display: none;
	margin: -1rem 5vw 1rem 5vw;
	width: 90vw;
	z-index: 20;
	background: rgba(255,255,255,.9);
	box-shadow: 0 0 7px 1px rgba(0,0,0,.3);
	position: relative;
}

.svgHilite {
	fill: rgba(197, 255, 76, .6) !important;
}

.bookable > *:last-child {
	animation: oscill 1.5s linear infinite;
	/*fill: rgba(253, 228, 0, 0.6) !important;*/
}

@keyframes oscill {
	0% {
		fill: rgba(253, 228, 0, 0.6);
	}
	50% {
		fill: rgb(81 253 0 / 60%);
	}
	100% {
		fill: rgba(253, 228, 0, 0.6);
	}
}

.bookable_current > *:last-child {
	fill: rgb(37 240 0 / 70%) !important;
}

.clickable {
	cursor: pointer;
}

#booking_hints {
	padding: .5rem;
	border-radius: 6px;
}

#booking_hints.error {
	background-color: rgba(255, 0, 0, .5);
	color: #fff;
}

.thumb {
	display: block;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	background-position: center center;
	background-size: cover;
}

.clickable:hover > *:last-child {
	fill: rgba(197, 255, 76, .6) !important;
}

.categories {
    background-image: url(/assets/img/dunes.jpg);
    background-size: 50%;
}

.categories h2 {
	background-color: var(--site-dark);
	color: #fff;
	padding: .5rem 2rem;
	font-weight: 200;
}

.category-bg {
	background-color: #fff;
}

.category-bg.current {
	background-color: var(--site-light);
	outline: solid 3px var(--site-capucino);
}

.legend .thumb {
	width: 100%;
	padding-bottom: 60%;
	margin-bottom: 1rem;
}

.legend h2:not(.accordion-header) {
	color: var(--site-light);
	background-color: var(--site-dark);
	font-weight: 300;
	padding: .3rem;
}

.legend h3 {
	font-size: 1.5rem;	
}

#colorbox button {
	border: none !important;
}

.route h2 {
	background-color: var(--site-capucino);
	color: #fff;
	font-weight: 200;
}

.route h2 .container {
	background-color: var(--site-dark);
	
}

.route h2 span {
	font-size: 70%;
}

.booking-details {
	display: none;
	background-color: #fff;
	padding: 3rem;
}

#global-alert {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 100;
}

.cafe-text {
	display: flex;
	flex-direction: column;
}

.cafe-text > div {
	flex-grow: 1;
	padding: 0 3rem;
	display: flex;
	flex-direction: column;
	text-align: center;
	justify-content: center;
	background-color: var(--site-capucino);
}

.apt-descr-toggle {
	line-height: .5rem;
    font-size: 95%;
    margin-top: 1rem;
}

#door {
	position: absolute;
	top: 5px;
	right: 5px;
}

.contacts {
	background-color: var(--site-light);
	color: #5c3c36;
}

.contacts a:link {
	color: #000;
	text-decoration: none;
}

.contacts a:visited {
	color: var(--site-mocco);
}

.contacts a:hover {
	text-decoration: underline;
}

.contacts span {
	display: inline-block;
	margin-top: 6pt;
}

.owl-carouser-tertiary .thumb {
	position: relative;
}

.owl-carousel-tertiary h4 {
	background-color: #a4847ea3;
	color: var(--site-dark);
	font-size: 1.1rem;
	font-weight: 400;
	padding: .25rem .7rem;
	text-align: center;
}

.documents {
	background-color: #efe6df;
}
.documents a {
	color: #000;
}

.form-editable.changed {
	background-color: #ffe9d0;
}

.chessboard-table {
	zoom: .7;
	border-collapse: collapse;
}

.chessboard-table tr:nth-child(odd) {
	background-color: #f8f8f8;
}

.chessboard-table .weekend {
	background-color: rgba(255, 246, 146, .44);
}

.chessboard-table .day, .chessboard-table .month-day {
	width: 2rem;
}

.chessboard-table td {
	position: relative;
	background-color: transparent;
}

.chessboard-table .day {
	padding: 0;
}

.chessboard-table .building-row {
	border-top-width: 2px;
}

.chessboard-table .booked {
	background-color: rgb(187 187 187);
	cursor: pointer;
}

.chessboard-table .status-1 {
	background-color: rgb(254 203 111);
}
.chessboard-table .status-2 {
	background-color: rgb(118 196 104);
}
.chessboard-table .status-6 {
	background-color: rgb(200 111 221);
}
.chessboard-table .status-7 {
	background-color: rgb(86 129 78);
}

.chessboard-table .last-day, 
.chessboard-table .first-day {
	background-color: transparent !important;
}

.chessboard-table .booked img {
	width: 105%;
	position: absolute;
}

.chessboard-table .first-day img {
	bottom: 0;
	right: 0;
}
.chessboard-table .last-day img {
	top: 0;
	left: 0;
}

.body_admin_chessboard .chessboard-table {
	/*margin: 5rem .2rem;*/
}

.body_admin_chessboard .navbar {
	position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.body_admin_chessboard .table-clone {
	width: auto;
    position: fixed;
    margin-top: 3.7rem;
	background-color: #fff;
    z-index: 1030;
}

.front-chessboard #chessboard-legend td {
	white-space: nowrap;
	text-align: right;
	padding-right: 5px;
	padding-top: 2px;
}

.front-chessboard {
	display: flex;
}

.front-chessboard th {
	font-size: 80%;
}

.front-chessboard #chessboard-data table {
	border-collapse: collapse;
}

/*#chessboardModal .modal-content {
	width: 90vw;
}*/

.front-chessboard #chessboard-data th,
.front-chessboard #chessboard-data td {
	border: solid 1px #b5b5b5;
	min-width: 1.45rem;
	background-clip: padding-box;
}

.front-chessboard #chessboard-data td {
	position: relative;
	background-color: #e0ffd9;
}

.front-chessboard #chessboard-data .booked {
	background-color: rgb(204 204 204);
}

.front-chessboard #chessboard-data .first-day img {
	position: absolute;
	bottom: 0;
	right: 0;
}
.front-chessboard #chessboard-data .last-day img {
	position: absolute;
	top: 0;
	left: 0;
}

.front-chessboard #chessboard-data {
	overflow-x: auto;
}

.invalid-hilite {
	border-color: #f00;
	background-color: rgba(255,0,0,.2);
}

.chessboard-table .apt {
	cursor: pointer;
}

.chessboard-table tr.selected {
	outline: solid 1px;
	z-index: 1;
	position: relative;
}

#chessboardModal .modal-dialog {
	margin: auto;
	max-width: 95vw;  
	width: fit-content;
}

.color-site-dark {
	color: var(--site-dark);
}

.coupon input {
	margin-top: .12rem;
}

.approval { zoom: 1.2;
    border-width: 2px;
    border-color: var(--site-dark);
    margin-top: 2px;
}

.dates-legend {
	display: inline-block; 
	border: solid 1px #b5b5b5; 
	width: 1rem; 
	height: 1rem;
}

#bookingModal .modal-dialog {
	max-width: 95vw;
}

#bookingModal tr {
	display: flex;
}

#bookingModal th, #bookingModal td {
	flex: 1;
	overflow: hidden;
}

#bookingModal .accordion-body {
	padding: .1rem;
}


@media (min-width: 992px) {

	.header {
		font-size: .9rem;
	    line-height: 1.5rem;
	}
	
	.header .logo-container {
		width: 60%;
		margin-left: 20%;
		height: 35vh;
		position: relative;
		background-image: url(/dev/1.png);
		background-position: center center;
		background-size: cover;
		text-align: center;
		-webkit-box-shadow: 0 0 5px 1px rgba(0,0,0,.5);
		box-shadow: 0 0 5px 1px rgba(0,0,0,.7);
		padding: 3rem 1rem 2rem;
	}
	
	.header h1 {
		background-color: rgb(38 20 12 / 90%);
		color: #fff;
		font-weight: 200;
		font-size: 2.2vw;
		padding: 1rem 0;
		margin-left: 20%;
		width: 60%;
		text-align:center;
		border-radius: 10px;
		/* border-bottom-right-radius: 10px; */
		margin-top: 1rem;
	}

	#movile-nav {
		background-color: transparent;
	}
	
	#movile-nav > .col {
		text-align: left;
		display: flex;
	}

	.header .logo-container {
		width: 80%;
		margin-left: 15%;
		height: 0;
		position: relative;
		background-image: url(/assets/img/logo.jpg);
		background-position: bottom center;
		background-size: contain;
		background-repeat: no-repeat;
		text-align: center;
		-webkit-box-shadow: 0 0 5px 1px rgba(0,0,0,.5);
		box-shadow: 0 0 5px 1px rgba(0,0,0,.7);
		/*padding: 3rem 1rem calc(85% - 3rem) 2rem;*/
		padding: 3rem 1rem 47% 2rem;
	}
	
	.header h1 {
		font-size: 2.2vw;
		padding: 1rem 0;
		margin-left: 20%;
		width: 60%;
		position: static;
		margin-top: 1rem;
	}

	.hero .fast-booking h3 {
		background-color: rgba(240, 181, 123, .8);
		display: inline-block;
		padding: .5rem 1rem;
		font-size: calc(1.3rem + .6vw);
	}

	.plan-content {
	    /* padding-left: 1rem; */
	    margin: 0 auto;
	}

	.plan-content svg {
	    width: 70vw;
	    max-width: 1200px;
	}

	.svg-wrapper {
		overflow: visible;
		height: auto;
		width: auto;
	}

	.legend {
		padding: 1.2rem;
		display: none;
		margin: 3rem 1vw 3rem -7vw;
		width: 33vw;
		background: rgba(255,255,255,.9);
		box-shadow: 0 0 7px 1px rgba(0,0,0,.3);
	}

	#bookingModal .modal-dialog {
		max-width: 80vw;
	}

	#bookingModal tr {
		display: table-row;
	}

	#bookingModal th, #bookingModal td {
		display: table-cell;
		overflow: visible;
	}

	#bookingModal .accordion-body {
		padding: 1.25rem;
	}
}