:root{
	--accent: #0b406b;
	--text-on-accent: white;

	--background: #f6f8fc;
	--hover: #eaebef;
}

*{
	box-sizing: border-box;
}

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

.ql-container{
	height: auto !important;
}

body{
	height: 100vh;
	margin: 0;
	background: var(--background);
	font-family: Roboto;
	overflow: hidden;
}
h1, h2, h3, h4, h5, h6{
	font-family: Poppins;
	margin: 0;
	line-height: 1em;
	margin-bottom: 0.5em;
}

#layout{
	display: grid;
	grid-template-columns: 250px 1fr;
	grid-template-rows: 70px 1fr;
	grid-gap: 10px;
	height: 100vh;
}
#layout > header{
	grid-column: 1/3;
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: 70px;
	align-items: center;
	padding: 0px 20px;
}
.header-logo{
	display: flex;
	align-items: center;
	height: 100%;
	padding: 15px;
	margin-right: 20px;
}
.header-logo svg{
	max-height: 100%;
}
.header-logo span {
  font-size: 20px;
  display: inline-block;
  border-left: 2px solid black;
  margin-left: 10px;
  padding-left: 8px;
  font-weight: bold;
}
.header-rest{
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.header-rest > *{
	display: flex;
	align-items: center;
}
.header-nav{
}
.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;
	margin-right: 20px;
}
.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 > aside{
	padding: 20px;
}
#layout > aside > nav > ul{
	margin: 0;
	padding: 0;
}
#layout > aside > nav > ul > li{
	list-style: none;
}
#layout > aside > nav > ul > li > a{
	display: block;
	padding: 8px 15px;
	border-radius: 100px;
	color: black;
	text-decoration: none;
}
#layout > aside > nav > ul > li > a:hover{
	background: var(--hover);
}
#layout > .layout-body{
	display: grid;
	grid-template-columns: minmax(1px, 2fr) minmax(1px, 1fr);
	gap: 60px;
	padding: 20px;
	border-radius: 20px 0px 0px 0px;
	background: white;
	overflow: auto;
}
#layout > .layout-body > aside h2:not(:first-child){
	margin-top: 2rem;
}

#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;
}
.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 #ccc;
	border-radius: 4px;
}
.product-chooser .product-chooser-label > *{
	display: block;
}
.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;
	padding: 10px;
}

.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;
}
.form-control{
	width: 400px;
	height: 35px;
	padding: 6px 12px;
	border: 1px solid #ccc;
	background: #fafafa;
	border-radius: 5px;
	outline: none;
}
form .form-control{
	width: 100%;
}
textarea.form-control{
	height: 5em;
}
.form-group label {
  display: block;
}
label.lin{
	display: inline-block;
}

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;
}

/* .btn{
	padding: 8px 15px;
	border: 0;
	border-radius: 4px;
	background: none;
	cursor: pointer;
} */

table.dataTable tbody tr td.td-danger{
	background: #f1c1c1;
}
table.dataTable tbody tr td.td-success{
	background: #c1f1c1;
}

.ql-editor{
	min-height: 150px;
	font-size: 16px;
}
.ql-editor[contenteditable="false"]{
	background: #e9ecef;
}
.item-option{
	cursor: pointer;
}

.dt-urls label{
	padding: 5px 10px;
	border: 1px solid var(--bs-primary);
	border-radius: 5px;
	cursor: pointer;
}
.dt-urls label:has(input:checked){
	background: var(--bs-primary);
	color: white;
}
.dt-urls label input{
	display: none;
}

.table-tickets{
	background: #eee;
	padding: 20px;
}
.table-tickets + tr th {
  padding-top: 30px;
}

.color-id{
	display: inline-block;
	width: 24px;
	height: 24px;
	border-radius: 4px;
	vertical-align: middle;
	margin-right: 5px;
	border: 2px solid black;
}