/* CUSTOM STYLESHEET OUTONO QUENTE 2022 */

/* #local-container {display:none;} */

/* colors:
 * 1: #241c1c - main text color
 * 2: #edebe8 - background color
 * 3: #917171 - secondary text color
 * 4: #a65819 - links color
*/

@font-face {
	font-family: 'this-platform-font';
	src: url('font/gentium-book-plus-v1-latin-regular.woff2');
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'this-platform-font';
	src: url('font/gentium-book-plus-v1-latin-italic.woff2');
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'this-platform-font';
	src: url('font/gentium-book-plus-v1-latin-700.woff2');
	font-weight: bold;
	font-display: swap;
}
@font-face {
	font-family: 'this-platform-font';
	src: url('font/gentium-book-plus-v1-latin-700italic.woff2');
	font-weight: bold;
	font-style: italic;
	font-display: swap;
}

@media print {
	body, .item-body {
		background: unset !important;
		background-color: unset !important;
		color: black !important;
		font-family: sans-serif!important;
	}
}

/* MAIN OPTION */

body {
	background: url('images/grain.png');
	font-family: 'this-platform-font', sans-serif;
	background-color: #edebe8;
	font-size: 12pt;
	color: #241c1c;
}

.container {
	padding: 0 2%;
}

header,footer {
	text-align: center;
}

footer {
	color: inherit;
}

main {
}

a,.navbar a {
	color: #a65819;
}

footer {
	margin: 2em 0;
}

hr {
	width: 100%;
}

.uppercase {
	text-transform: uppercase;
}


/* ZUNZUM/OQ HEADER IMAGES */
.header-zunzum-logo {
	display: block;
	margin: 1em auto;
	text-align: center;
}
.header-zunzum-logo a:after {
	all: unset;
}
.header-zunzum-logo img {
	max-width: 90px;
}

.header-oq-logo {
	text-align: center;
	margin: 2em auto;

	/* block user selection and events */
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
	pointer-events: none;
}
.header-oq-logo img {
	max-height: 200px;
	margin: 0 auto;
}
.header-oq-logo .desktop {
	display: block;
}
.header-oq-logo .mobile {
	display: none;
}


/* NAVBAR MENU DEFAULT */

header .navbar,
footer .navbar {
	border: none;
	margin: 0 auto;
}

header .navbar-menu-left {
	display: block;
	font-weight: bold;
	font-size: 1.1em;
	/* menu border */
	border-bottom: 1px dashed #835648;
	max-width: 500px;
	margin: 0 auto;
	padding-bottom: 5px;
	margin-bottom: 5px;
}
header .navbar-menu-left a {
	margin: 0 5px;
}
header .navbar-menu-right {
	display: block;
	float: unset;
}
header .navbar-menu-right a {
	margin: 0 5px;
}

.menu-desktop {
	display: block;
}
.menu-mobile {
	display: none;
}

.menu-mobile summary::marker,
.menu-mobile summary::-webkit-details-marker {
	display: none;
}
.menu-mobile summary {
	display: block;
	cursor: pointer;
	margin-bottom: 1em;
	text-align: right;
	padding: 1em;
	position: fixed;
	top: 0;
	right: 0;
}
.menu-mobile summary img {
	width: 30px;
	background-color: #edebe8;
	padding: 5px;
}



/* DEFAULT ACTIVE NAVBAR LINK */
.navbar .active {
	border: none;
	color: #333;
}


/* PAGE SOCIAL LINKS */
.social-links {
	position: absolute;
	top: 5px;
	left: 0.5em;
	text-align: left;
}
.social-links img {
	width: 25px;
	padding: 5px 3px;
	display: block;
}
.social-links a:after {
	all: unset;
}


/* ITEM BODY */
.item-body {
	background: linear-gradient(#ffffff11,#f9f7f6);
	padding: 1em 1.5em;
	margin-top: 1em;
}
.item-banner {
	margin-top: 1em;
}
.oq-page-info {
	display: block;
	margin: 0;
	font-style: italic;
	color: #917171;
}

.layout-homepage .item-banner {
	margin-top: 0;
}
.layout-homepage .item-header {
	padding: 0;
	margin: 0;
}




/*
 * PROGRAMA
 */

.oq-programa-dias-menu a {
	display: inline-block;
	padding: 2px 5px;
	margin: 2px;
	background-color: #edebe8;
	border: 1px dotted #999;
	min-width: 53px;
	font-weight: bold;
}
.oq-programa-dias-menu .active {
	background-color: #a65819;
	color: white;
}

.oq-programa-dias {
	column-gap: 3em auto;
}
.oq-programa-dias a {
	line-height: 1;
	padding: 1em 0;
	text-align: center;
}
.oq-programa-dias b {
	font-size: 2.5rem;
}
.oq-programa-dias i {
	font-size: 1.5rem;
	color: #333;
}





.program-session {
	all: unset;
	cursor: pointer;
	margin: 1em 0;
	display: grid;
	column-gap: 1em;
	grid-template-columns: 1fr 2fr;
	background: linear-gradient(to right, #ffffff11, #f9f7f6);
	line-height: 1.1;
	padding: 1em 0;
}
.program-session:hover {
	text-decoration: none;
	background: unset;
}
.program-session .this-column-2 span {
	display: block;
}
.program-session .this-time {
	font-weight: bold;
	font-size: 1.5rem;
}
.program-session .this-price {
	float: right;
	text-align: right;
	padding-right: 0.5em;
	padding-top: 3px;
	font-weight: bold;
	font-size: 1.2em;
	color: #917171;
}
.program-session .this-category {
	color: #a65819;
	font-style: italic;
}
.program-session .this-title {
	font-size: 1.2rem;
	font-weight: bold;
}






/*
 * Specific pages
 */

#contactos:target {
	border-left: 1px dotted;
	padding-left: 1em;
}


.datasheet {
	border-left: 1px solid #999;
	padding-left: 0.5rem;
	font-style: italic;
	text-transform: uppercase;
	color: #6a5952;
	font-size: 0.95em;
}

.datasheet li {
	list-style: none;
}

.datasheet b {
	margin-right: 0.2rem;
}

.merchant:target {
	font-weight: bold;
}





/* EVENTS RESERVATIONS */


.event-session {
	position: relative;
	background-color: #fff;
	border: 1px dotted;
	line-height: 1.2;
	padding: 0.5em;
	margin: 0.5em 0;
	scroll-margin-top: 1em;
}
.event-session p {
	margin: 0;
}

.event-session .this-target-type {
	font-weight: bold;
	border: 1px dotted;
	padding: 0 2px;
}
.event-session .this-category {
	color: #a65819;
	font-style: italic;
}
.event-session .this-row-2 {
	font-size: 1.2em;
}
.event-session .this-time,
.event-session .this-date {
	font-weight: bold;
}

.event-session .this-row-3 {
	color: #917171;
}
.event-session .this-row-3 span {
	margin-right: 0.5em;
}

.event-session .this-reservation-button {
	position: absolute;
	top: 1.3em;
	right: 1em;
	background-color: #6c5353;
	color: white;
	padding: 0.5em 1em;
	/*
	top: 50%;
	transform: translateY(-50%);
	*/
}


.selected-session,
.event-session:target {
	background-color: #e6e4e3;
	border: 2px solid #a65819;
	border-left-width: 10px;
	margin: 1.5em 0;
	box-shadow: 0 0 1em #999;
}
.selected-session .this-reservation-button,
.event-session:target .this-reservation-button {
	background-color: #a65819;
}






.reservation-event-form {
	background-color: #f9f7f6;
	border-top: 2px solid #a65819;
	padding: 1em 0.5em;
	margin: -0.5em;
	margin-top: 1em;
}

.reservation-event-form .this-title {
	font-weight: bold;
	font-size: 1.5em;
	border-bottom: 1px dotted;
}

.reservation-event-form .reservation-info {
	padding: 0.5em;
	margin: 2em 0 0 0;
	border-top: 1px dotted;
}
.reservation-event-form .reservation-info summary {
	cursor: pointer;
	font-weight: bold;
}
.reservation-event-form .reservation-info h2 {
	margin: 0.5em 0 0 0;
}

.notice {
	background-color: #f2d0a6;
	padding: 1rem;
	margin: 1rem 0;
	display: block;
}

.reservation-event-form i {
	font-weight: bold;
	color: darkorange;
}

label {
	display: block;
	margin-bottom: 0.5em;
}

input, textarea, select {
	display: block;
	width: calc( 100% - 1rem );
	max-width: 500px;
	border-radius: 0;
	border: 1px solid #ddd;
	padding: 0.2rem;
	resize: vertical;
	font-size: 14pt;
}


select {
	/*max-width: 150px;*/
	padding: 0.8rem 0.4rem;
	cursor: pointer;
	display: block;
	background-color: #fff;
	border: 1px solid #ddd;
}

textarea {
	height: 100px;
}

.form-buttons {
	display: block;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px dotted;
}

.form-buttons .button-cancel {
	float: right;
}


input[type=number] {
	max-width: 100px;
}

input[type=checkbox] {
	display: inline-block;
	transform: scale(1.3);
	margin-right: 0.5rem;
	width: auto;
}

.button-cancel,
button[type=submit],
button[type=reset] {
	line-height: 1;
	display: inline-block;
	text-align: center;
	width: auto;
	padding: 0.5rem 1rem;
	cursor: pointer;
	display: inline-block;
	font-weight: bold;
	background-color: #d3c5b8;
	border: #b9998f;
	font-family: inherit;
	font-size: 1em;
}
button[type=submit] {
	border: 2px solid #888;
}
button[type=reset] {
	filter: brightness(1.15);
	margin-left: 0.5rem;
	float: right;
}

.button-cancel {
	filter: brightness(1.2);
}
.button-cancel:hover {
	text-decoration: none;
}

.button-cancel:hover,
button[type=submit]:hover,
button[type=reset]:hover {
	filter: brightness(0.8);
}

input:focus,
textarea:focus,
select:focus {
	border-color: #a65819;
	box-shadow: 0 0 2px #999;
	outline: none;
}

pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}


#message {
	background-color: white;
	margin: 1rem 0;
	padding: 1rem;
	border: 1px dashed;
	font-size: 1.2rem;
	scroll-margin-top: 1em;
}

#message strong {
	font-size: 1.3rem;
}
#message .this_ok {
	font-size: 1.2rem;
	color: darkorange;
	font-weight: bold;
}
#message .this_error {
	font-size: 1.2rem;
	color: darkred;
	font-weight: bold;
}
#message pre {
	font-size: 0.9rem;
}


/* 
 *
 * SMALL SCREEN
 *
 */

@media screen and (max-width: 740px) {
	/* hide footer navbar and show in menu */
	footer .navbar-footer {
		display: none;
	}

	.navbar-menu-left {
		border: none;
	}

	.navbar-footer a {
		font-weight: normal;
		font-size: 0.8em;
	}
	
	/* menu */
	.menu-desktop {
		display: none;
	}
	.menu-mobile {
		z-index: 100;
		display: block;
		position: relative;
	}
	.header-oq-logo .desktop {
		display: none;
	}
	.header-oq-logo .mobile {
		display: block;
	}
	.menu-mobile[open] summary img {
		filter: invert(1);
	}
	.menu-mobile a {
		display: block;
		color: white;
	}
	.menu-mobile a:hover {
		display: block;
		color: #999;
	}
	.menu-mobile[open] {
		all: unset;
		position: fixed;
		top: 0;
		left: 0;
		height: 100vh;
		z-index: 20;
		overflow: auto;
		width: 100%;
		background-color: #333;
		color: #eee;
	}
	.menu-oq-logo {
		filter: invert(1);
		max-width: 100px;
		margin-bottom: 1em;
	}
	.menu-mobile .content {
		display: block;
		overflow-y: scroll;
		padding: 2rem;
		text-align: center;
		font-size: 1.2em;
		line-height: 2.5;
	}
	.menu-mobile .active {
		color: white;
		background-color: #444;
	}

	/* Show banner in full width */
	.item-banner {
		margin-left: -1em;
		margin-right: -1em;
	}
	.item-body {
		padding: 1em;
	}

	.program-session {
		display: block;
		background: linear-gradient(to bottom, #ffffff11, #f9f7f6);
		margin-bottom: 2em;
	}
	.program-session .this-column-2 {
		padding: 0 0.5em;
	}

	label {
		margin-top: 1em;
	}
	.button-cancel,
	button[type=submit],
	button[type=reset] {
		float: unset;
		display: block;
		width: 100%;
		margin: 0;
		padding: 0.3rem 0;
		margin-top: 0.6rem;
	}
	button[type=submit] {
		padding: 1em 0;
	}
	.event-session:target,
	.event-session {
		margin-left: -1em;
		margin-right: -1em;
	}
	.event-session .this-reservation-button {
		position: unset;
		width: 100%;
		display: block;
		text-align: center;
		margin-top: 0.5rem;
		padding: 0.5rem 0;
	}
}
