:root{
	--accent: #3B25B4;
	--accent-light: #EFEDFF;
	--text-on-accent: white;

	--background: #f0f4fa;
	--light-grey: #f3f3f3;
	--grey-accent: #dadada;
	--hover: #eaebef;
	--text-muted: #aaa;

	--max-width: 1500px;
	--page-padding: 20px;
}

*{
	box-sizing: border-box;
}

body{
	height: 100vh;
	margin: 0;
	background: white;
	font-family: Outfit, sans-serif;
}
h1, h2, h3, h4, h5, h6{
	margin: 0;
	line-height: 1em;
	margin-bottom: 0.5em;
}


.ck-muted{
	color: var(--text-muted);
}
@media (min-width: 901px){
	.ck-mobile{
		display: none !important;
	}
}
@media (max-width: 900px){
	.ck-desktop{
		display: none !important;
	}
}


.breadcrumbs > a {
	color: var(--accent) !important;
	text-decoration: none;
}
.breadcrumbs > a > span {
	text-decoration: underline;
}

#info-wrapper{
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
#info-container{
	width: 100%;
	max-width: 900px;
	padding: 20px;
	border-radius: 20px;
	background-color: white;
}

.select2-container{
	width: 100% !important;
}

#background-image {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 500px;
	z-index: -1;
}
#background-image::after{
	content: "";
	display: block;
	position: absolute;
	top:0; left:0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, white, transparent);
}

#layout{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 70px 1fr auto auto;
	align-items: center;
	height: 100vh;
}
#layout.layout-special{
	grid-template-rows: 120px 1fr auto auto;
}
#layout:not(.layout-special) > header{
	background: var(--light-grey);
}
#layout > header{
	padding: 0px var(--page-padding);
}
#layout > header > .header-wrap{
	max-width: var(--max-width);
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: 70px;
	align-items: center;
	margin: auto;
	padding: 0px var(--page-padding);
}
#layout.layout-special > header > .header-wrap{
	border: 1px solid;
	border-radius: 25px;
}
.header-logo{
	margin-right: 20px;
	display: flex;
	align-items: center;
	padding: 15px;
	height: 100%;
	gap: 10px;
	padding-left: 0px;
}
.header-logo img,
.header-logo svg{
	max-height: 100%;
}
.header-logo span {
  background-color: white;
  color: black;
  padding: 2px 10px;
  border-radius: 5px;
  margin-top: 15px;
  font-weight: bold;
  font-size: 17px;
}
.header-rest{
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.header-rest > *{
	display: flex;
	align-items: center;
}
.header-nav > ul{
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
}
.header-nav > ul > li{
	list-style: none;
}

.lang-host{
	display: flex;
	align-items: center;
	justify-content: center;
}
.lang-host a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 30px;
	background: white;
  color: black;
	font-size: 14px;
	text-decoration: none;
  transition: color 100ms ease-in-out;
}
.lang-host a:first-child{
	border-radius: 100px 0px 0px 100px;
}
.lang-host a:last-child{
	border-radius: 0px 100px 100px 0px;
}
.lang-host .lang-selected{
  background: var(--accent);
  color: var(--text-on-accent);
  pointer-events: none;
}

#layout > .layout-body{
	width: 100%;
	height: 100%;
	max-width: var(--max-width);
	margin: auto;
}
#layout .layout-header{
	width: 100%;
	height: 350px;
}
#layout .layout-header img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
}
#layout .breadcrumbs{
	padding: var(--page-padding);
	padding-bottom: 0;
}
#layout .layout-body .layout-split:first-child,
#layout .layout-body .breadcrumbs:first-child,
#layout .layout-header + .breadcrumbs{
	padding-top: 50px;
}
#layout .layout-header + .layout-split{
	padding-top: 70px;
}
#layout > footer{
	background: var(--light-grey);
	padding: 20px;
}
#layout > footer > .footer-wrap{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width: var(--max-width);
	margin: auto;
}
#layout > footer > .footer-wrap img{
	max-height: 100px;
}

#layout .layout-split{
	position: relative;
	display: grid;
	grid-template-columns: minmax(1px, 2fr) minmax(1px, 1fr);
	width: 100%;
	margin-top: 0;
}
#layout .layout-split > *{
	padding: var(--page-padding);
}
#bottom-margin{
	display: none;
}
@media (max-width: 900px){
	#layout .layout-split{
		grid-template-columns: none;
	}
	#bottom-margin{
		display: block;
	}

	#layout .layout-split .layout-aside{
		position: fixed;
		bottom: 0;
		width: 100%;
		background: var(--light-grey);
		border-top: 4px solid var(--accent);
		box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
	}
}


.info-block{
	padding: 25px 0px;
}

#ticket-modal-body{
	display: grid;
	grid-template-columns: 2fr 1fr;
}
#ticket-modal-body > *{
	padding: 20px;
}
#ticket-modal-body aside{
	background: #eee;
	border-radius: 0 .3rem .3rem 0;
}

#purchase-detail{
	background: #F3F3F3;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 20px;
}

#promo-box {
  background: var(--light-grey);
  padding: 20px;
  border-radius: 10px;
}
#promo-form {
  display: flex;
  align-items: center;
  gap: 10px;
}
#promo-form input{
	flex: 1;
	min-width: 0;
}

.product-chooser{
	padding: 0;
	margin: 0;
}
.product-chooser > li.product-chooser-item{
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding: 20px;
	margin-bottom: 20px;
	border: 1px solid var(--accent);
	background: white;
	border-radius: 4px;
	overflow: hidden;
}
.product-chooser .product-chooser-label > *{
	
}
.price-old{
	color: #999;
	text-decoration: line-through;
}
.product-chooser .product-chooser-input {
	display: flex;
	align-items: center;
}
.product-chooser .product-chooser-input button{
	width: 25px;
	height: 25px;
	padding: 0;
	border: 0;
	border-radius: 100%;
	cursor: pointer;
}
.product-chooser .product-chooser-input input{
	height: 20px;
	width: 30px;
	border: none;
	text-align: center;
	pointer-events: none;
}
.product-chooser .product-chooser-notice{
	width: 100%;
	margin: 0;
	color: var(--accent);
	font-weight: bold;
	font-size: 14px;
}

.product-chooser-questions{
	flex: 1 0 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
  	margin: 0px -20px;
	margin-bottom: -20px;
	padding: 10px 20px;
	border-top: 1px solid var(--accent);
	background: var(--accent-light);
}
.question-body > *:not(:first-child){
	margin-top: 40px;
}

.product-list{
	padding: 0;
	margin: 0;
}
.product-list > li{
	list-style: none;
}
.product-list > li > a{
	display: flex;
	padding: 10px;
	border-radius: 100px;
	color: black;
	text-decoration: none;
	cursor: pointer;
}
.product-list > li > a:hover{
	background: var(--hover);
}
.product-list > li > a::before{
	content: url(https://ulusofona.pt/assets/images/ico-arrow-right.svg);
	display: inline;
	margin-right: 10px;
}

.item-list{
	padding: 0;
	margin: 0;
}
.item-list > li{
	list-style: none;
	display: flex;
	justify-content: space-between;
	padding: 10px 20px;
	border-radius: 100px;
	color: black;
	text-decoration: none;
}
.item-list > li:hover{
	background: var(--hover);
}
.item-list .item-option{
	cursor: pointer;
	color: var(--accent);
}


.form-group{
	margin-bottom: 10px;
}

dialog{
	width: 500px;
	border: 0px;
	padding: 0px;
	border-radius: 20px;
}
dialog::backdrop{
	background: rgba(40, 20, 60, 0.3);
	backdrop-filter: blur(10px);
}
dialog > div > section[header]{
	padding: 15px 20px;
	background: var(--accent);
	color: var(--text-on-accent);
	font-size: 20px;
}
dialog > div > section[body]{
	padding: 10px 20px;
}
dialog > div > section[footer]{
	border-top: 1px solid #ccc;
	padding: 13px 20px;
}

#checkout{
	display: flex;
	justify-content: center;
}
#checkout.loading-anim iframe{
	display: none;
}
#checkout iframe{
	width: 100%;
}
.loading-anim {
	height: 60px;
	width: 60px;
	position: relative;
}
.loading-anim::after {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	width: 100%; height: 100%;
	border-radius: 50%;
	border: 6px solid #ddd;
	border-top-color: var(--accent);
	animation: loading-anim 2s linear infinite;
}

@keyframes loading-anim {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

.purchase-product{
	display: grid;
	grid-template-columns: auto 1fr;
	margin:20px 0px;
	margin-bottom: 100px;
	padding: 5px;
	border: 1px solid #ccc;
}
.purchase-product > canvas{
	width: 200px;
}
.purchase-product > div{
	padding: 15px 5px;
}

.my-tabs{
	width: 100%;
	max-width: 500px;
}
.my-tab:not(.my-tab-show) label{
	background: #f0f0f0;
}
.my-tab label{
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 10px;
	width: 100%;
	border: 1px solid #ccc;
	cursor: pointer;
}
.my-tab:not(:first-child) label{
	border-top: 0;
}
.my-tab label input{
	margin-right: 5px;
	cursor: pointer;
}
.my-tab label svg{
	height: 30px;
}
.my-tab label i{
	font-size: 25px;
}
.my-tab .my-tab-body{
	padding: 20px;
	background: white;
}
.my-tab.my-tab-show .my-tab-body{
	border: 1px solid #ccc;
	border-top: 0px;
}
.my-tab:not(.my-tab-show) .my-tab-body{
	display: none;
}

#mbref{
	display: block;
	background-color: transparent;
	/* show */
	background: #f0f0f0;
	color: black;
	white-space: pre-wrap;
	padding: 10px;
}

.grid-btn{
	display: grid;
	grid-template-columns: 1fr auto;
}

.btn-mbway{
	color: #000;
	background-color: #fff;
	border-color: rgb(215, 5, 16);
}
.btn-mbway:focus{
	box-shadow: 0 0 0 .25rem rgb(215, 5, 16, .25);
}

#event-maps iframe{
	width: 100%;
}

.buy-button{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 60px;
	background: var(--accent);
	color: white;
	text-decoration: underline;
	border: none;
	padding: 10px;
	font-size: 20px;
	border-radius: 10px;
}
.buy-button:hover{
	filter:contrast(1.5);
	color: white;
}

#wizard .step:not(.show) {
	display: none;
}
#wizard-wait{
	display: grid;
	justify-items: center;
	gap: 20px;
	padding: 20px;
}
#wizard-wait-text{
	font-size: 20px;
}
#wizard-wait:not(.show){
	display: none;
}
#wizard-header {
	display: flex;
	align-items: center;
	justify-content: space-around;
	border: 1px solid var(--accent);
	border-radius: 25px;
	height: 50px;
	margin-bottom: 20px;
}
#wizard-header > * {
	flex: 1 1 100%;
	text-align: center;
	color: var(--accent);
}
#wizard-header > .active {
  font-weight: bold;
}
#wizard-header > .active ~ * {
  opacity: 0.5;
  color: inherit;
}

#modal-card .card-body{
	padding: 0;
}
#modal-card iframe{
	display: block;
	width: 100%;
	max-height: 500px;
}

.payment-method-icon svg{
	height: 40px;
}
.mb-table td:first-child{
	padding-right: 10px;
}

.payment-option{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: white;
	border: 1px solid var(--accent);
	border-radius: 5px;
	padding: 8px 15px;
	cursor: pointer;
	opacity:0.5;
}
.payment-option:has(input:checked){
	color: white;
	border: 1px solid var(--accent);
	background-color: var(--accent);
	opacity: 1;
}
.payment-option input{
	display: none;
}
.payment-option svg{
	height: 30px;
	pointer-events: none;
}
.payment-option:has(input:checked) svg path{
	fill: white;
}
.payment-option-body{
	padding: 20px 0px;
}
.payment-option-body:not(.show){
	display: none;
}

.ck-input-group{
	display: inline-flex;
	align-items: stretch;
}
.ck-input-group .ck-input-prefix{
	display: flex;
	align-items: center;
	padding: 0px 10px;
	background: #eeeef2;
	border-radius: 15px 0px 0px 15px;
	border: 1px solid #ccc;
	border-right: 0;
}
.ck-input-group input{
	height: 30px;
	border: 1px solid #ccc;
	border-radius: 0px 15px 15px 0px;
	padding: 0px 10px;
}

.ck-input-group:focus-within .ck-input-prefix{
	border-color: var(--accent);
	background: var(--accent);
	color: white;
}
.ck-input-group:focus-within input{
	border-color: var(--accent);
	outline: none !important;
}
.ck-button{
  	background: var(--accent);
  	color: white;
	border: none;
  	border-radius: 1000px;
  	padding: 6px 17px;
}
.ck-text-button{
	background: none;
	border: none;
	color: var(--accent);
	text-decoration: underline;
}
.ck-flex-center{
	display: flex;
	align-items: center;
}
.ck-input{
	height: 30px;
	border: 1px solid #ccc;
	border-radius: 15px;
	padding: 0px 15px;
}
textarea.ck-input{
	height: auto;
	border-bottom-right-radius: 0px;
	padding: 5px 15px;
}
input:focus{
	border-color: var(--accent);
	outline: none !important;
}
.ck-input-full{
	width: 100%;
}
.ck-form{
	width: 100%;
	max-width: 700px;
}
.ck-input.is-invalid,
.ck-input.is-invalid:focus{
	border-color: crimson;
}

.ck-radio {
  background: var(--light-grey);
  border: 1px solid var(--grey-accent);
  margin: 0px 5px;
  padding: 3px 10px;
  border-radius: 100px;
  cursor: pointer;
}
.ck-radio:has(input:checked) {
	background: var(--accent-light);
	border: 1px solid var(--accent);
	color: var(--accent);
}
.ck-radio input {
	margin-right: 5px;
}


.card-header{
	display: flex;
	align-items: center;
	gap: 10px;
}
.mr{
	margin-right: 20px;
}

body .select2-container--default .select2-selection--single{
	height: 30px;
	padding: 0px 10px;
	border-radius: 15px;
}
body .select2-container--default .select2-selection--single .select2-selection__arrow{
	margin-right: 10px;
}
