/* CUSTOM STYLESHEET OUTONO QUENTE 2023 */

:root {
	--color-text-main: #241c1c;
	--color-text-secondary: #917171;
	--color-background: #edebe8;
	--color-selection: #d25a44;
	--color-links: #a65819;
	--color-dark-gray: #333;
	--color-middle-gray: #777;
	--color-light-gray: #ddd;
	--color-gradient-to-right: linear-gradient(to right,#ffffff11,#f9f7f6);
	--color-gradient-to-right2: linear-gradient(to right,#ffffff11,#edebea);
	--color-gradient-to-bottom: linear-gradient(to bottom,#ffffff11,#f9f7f6);
}

* { scroll-margin-top: 1rem; }

::selection,
::-moz-selection { /* Code for Firefox */
  color: white;
  background: var(--color-selection);
}

@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 */

.homepage-comunicado {
	display: inline-block;
	transform: rotate(-2deg);
	background-color: var(--color-selection);
	color: white;
	padding: 0.5rem;
}

html {
	font-family: 'this-platform-font', serif;
	font-size: 12pt;
	color: var(--color-text-main);
}
body {
	background: url('texture.jpg');
	background-color: var(--color-background);
}
em { font-size: 1.1em; }

.container {
	padding: 0 2%;
}

header {
	text-align: center;
}

a,.navbar a {
	color: var(--color-links);
}

footer {
	text-align: center;
	margin: 2rem 0;
	color: var(--color-dark-gray);
}
footer .footer-info {
	display: grid;
	column-gap: 1rem;
	grid-template-columns: 1fr 1fr;
	margin-top: 1rem;
}
@media (max-width: 700px) {
	footer .footer-info { display: block; }
	footer .footer-links { margin-top: 1rem; }
}

.uppercase {
	text-transform: uppercase;
}


/* ZUNZUM/OQ HEADER IMAGES */
.header-zunzum-logo {
	display: block;
	margin: 1rem auto;
	text-align: center;
}
.header-zunzum-logo img {
	max-width: 90px;
}
.header-oq-logo {
	text-align: center;
	display: block;
	margin: 2rem 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,
.header-oq-logo source {
	max-height: 200px;
	margin: 0 auto;
}


/* NAVBAR MENU DEFAULT */
.navbar {
	border: none;
}
.navbar-aside-icon {
	background-color: var(--color-background);
	padding: 0 5px 5px 5px;
	border: 1px solid;
}
header .navbar-menu-left {
	display: block;
	font-weight: bold;
	font-size: 1.3rem;
	/* menu border */
	border-bottom: 1px dashed var(--color-text-main);
	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;
	font-size: 1.1rem;
}
header .navbar-menu-right a {
	margin: 0 5px;
}


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

#reservas-escolas:target {
	border-left: 1px solid;
	padding-left: 1rem;
}


/* ITEM BODY */
.item-title { text-align: center; font-size: 2.5rem;}
.item-summary,
.item-details {
	text-align: center;
	font-style: italic;
	font-size: 1.2rem;
}
.item-body {
	background: #f9f7f644;
	padding: 1.5rem;
	margin-top: 1rem;
}
.item-banner {
	margin-top: 1rem;
}
.oq-page-info {
	display: block;
	margin: 0;
	font-style: italic;
	color: var(--color-text-secondary);
}

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


/* EVENTO/MERCADOR */
.layout-oq-evento .item-header * {
	text-align: left;
}
.layout-oq-evento .item-details {
	opacity: 0.7;
}

/* PROGRAMA */
.oq-programa-dias-menu a {
	display: inline-block;
	width: 80px;
	margin: 4px 2px;
	border: 1px dotted;
	text-align: center;
	font-weight: bold;
	background-color: #eae7e3ff;
}
.oq-programa-dias-menu .active {
	background-color: #483e37;
	color: white;
}
.oq-programa-dias-menu .highlight a {
	box-shadow: 5px 5px 0 var(--color-text-secondary);
	border-color: var(--color-text-main);
	transform: rotate(-4deg);
}


/* SESSÕES */
.program-session {
	all: unset;
	cursor: pointer;
	margin: 1rem 0;
	display: grid;
	column-gap: 1rem;
	grid-template-columns: 1fr 2fr;
	border: 1px solid #ddd;
	border-left: none;
	background: var(--color-gradient-to-right);
	line-height: 1.1;
	padding: 1rem 1rem 1rem 0;
}
.program-session:hover {
	text-decoration: none;
	background: var(--color-gradient-to-right2);
}
.program-session .this-column-2 span {
	display: block;
}
.program-session .this-time {
	font-weight: bold;
	font-size: 1.4rem;
	line-height: 0.8;
}
.program-session .this-time small {
	color: var(--color-text-secondary);
}
.program-session .this-price {
	float: right;
	text-align: right;
	font-weight: bold;
	font-size: 1.2rem;
	color: var(--color-selection);
}
.program-session .this-category {
	color: var(--color-links);
	font-style: italic;
	margin-top: 5px;
}
.program-session .this-title {
	font-size: 1.3rem;
	font-weight: bold;
}
.program-session .this-summary {
	font-size: 1.1rem;
	font-style: italic;
}


/* SPECIFIC PAGES */

.merch-gallery figcaption {
	font-size: 1rem;
}

.ficha {
	margin: 1rem 0;
	list-style-type: none;
	text-indent: -10px;
	margin-left: 10px;
}

.merchant {
	border-top: 1px dotted;
}
.merchant:target {
	font-weight: bold;
}
.merchant h3 {
	font-size: 1.3rem;
}

.info-mapa {
	margin-right: 1rem;
}

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


.horario {
	margin: 0 auto;
	text-align: center;
}
.horario p {
	display: inline-block;
	margin: 5px 5px 5px 0;
	padding: 0.5rem;
	line-height: 1;
	border: 1px dotted;
	background-color: var(--color-background);
}
.horario p b {
	font-size: 1.3rem;
	color: var(--color-selection);
}
.horario time {
	font-weight: bold;
}


/* EVENTOS - RESERVA DE SESSÔES */
.event-session {
	position: relative;
	background-color: white;
	border: 1px dotted;
	line-height: 1.2;
	padding: 0.5rem;
	margin: 0.5rem 0;
}
.event-session p {
	margin: 0;
}
.event-session .this-target-type {
	font-weight: bold;
	border: 1px dotted;
	padding: 0 2px;
}
.event-session .this-category {
	color: var(--color-links);
	font-style: italic;
}
.event-session .this-row-2 {
	font-size: 1.2rem;
}
.event-session .this-title {
	font-weight: bold;
	font-size: 1.2rem;
	opacity: 0.7;
}
.event-session .this-summary {
	max-width: 500px;
	opacity: 0.7;
	margin-bottom: 5px;
}
.event-session .this-time,
.event-session .this-date {
	font-weight: bold;
}
.event-session .this-row-3 {
	color: var(--color-text-secondary);
}
.event-session .this-row-3 span {
	margin-right: 0.5rem;
}
.event-session .this-reservation-button {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background-color: #e9bda0;
	color: black;
	font-weight: bold;
	padding: 0.5rem 1rem;
	text-shadow: 0 0 15px white;
}
.event-session .this-reservation-info {
	position: absolute;
	bottom: 1rem;
	right: 1rem;
	font-size: 0.9rem;
}

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



/* 
 * MEDIA QUERY - SMALL SCREEN
 */
@media screen and (max-width: 500px) {
}
@media screen and (max-width: 700px) {
	/* Show banner in full width */
	.item-banner {
		margin: 1rem -1rem 0 -1rem;
	}
	.item-body {
		padding: 1rem;
	}

	.layout-oq-evento .item-details {
		display: block;
	}
	.program-session {
		display: block;
		background: var(--color-gradient-to-bottom);
		margin-bottom: 2rem;
	}
	.program-session .this-column-2 {
		padding: 0.5rem 0.5rem 0 0.5rem;
	}
	.program-session .this-time small {
		display: block;
		margin-top: 5px;
		font-size: 1rem;
	}

	.event-session:target,
	.event-session {
		margin-left: -1rem;
		margin-right: -1rem;
	}
	.event-session .this-reservation-button {
		position: unset;
		width: 60%;
		display: block;
		text-align: center;
		margin-top: 0.5rem;
		padding: 0.5rem 0;
	}
}
