/*UI Kit Override*/

.uk-logo > img {
  aspect-ratio: unset;
}

.uk-button {
  text-align: left;
}

.uk-border-rounded {
  border-radius: 4px;
}

/* Theme */

label {
  font-size: 12px;
}

input[type="file"]::file-selector-button {
  background: #22317f;
  color: white;
  border: 1px solid #22317f;
  padding: 10px 20px;
  border-radius: 500px;
  cursor: pointer;
  transition: 0.2s;
}

input[type="file"]::file-selector-button:hover {
  background: transparent;
  color: #22317f;
}

.gap-1 {
  gap: 1rem;
}

.text-white {
  color: #ffffff !important;
}

.button-arrow {
  line-height: 36px;
  position: relative;
  padding-right: 56px;
}

.button-arrow::after {
  content: "➜";
  position: absolute;
  top: 0;
  right: 16px;
  font-size: 20px;
}

.button-download::after {
  transform: rotate(90deg);
}

hr.hr-blue {
  border: 0;
  height: 8px;
  width: 120px;
  border-radius: 500px;
  background: #22307e;
}

hr {
  overflow: visible;
  text-align: inherit;
  margin: 0;
  border: 0;
  border-top: 1px solid #ffeb00;
}

hr.hr-yellow {
  border: 0;
  height: 8px;
  width: 120px;
  border-radius: 500px;
  background: #ffeb00;
}

.download-table .el-link {
  line-height: 36px;
  position: relative;
  padding-right: 56px;
}

.download-table .el-link::after {
  content: "➜";
  position: absolute;
  top: 0;
  right: 16px;
  font-size: 20px;
  transform: rotate(90deg);
}

.download-table .el-image {
  width: 28px;
}

.table-primary > .uk-card {
  border-radius: 4px;
}

th {
  background-color: aliceblue;
}

.page-numbers {
  display: inline-flex;
  background-color: #22307e;
  padding: 4px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
}

.current {
    background-color: #ffeb00;
    color: #22307e;
}

.corsi-ricerca-edizione-space {
    padding: 1rem;
    background-color: #f0f5ff;
    margin-bottom: 1rem;
    border-radius: 4px;
    border: 1px solid #99999910;
}

.edizioni-in-programma {
  padding: 8px 16px;
  background-color: #22307e20;
  border-radius: 4px;
  margin: 0.5rem 0;
}

.p-4-24 {
  padding: 4px 24px;
}

.sidenav-item ul li {
  position: relative;
}

.sidenav-item ul li::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #eeeeee;
}

.ptitle {
  color: #353950;
}

/* Download Manager */

.wpdm-download-link.btn.btn-primary {
  border-radius: 500px !important;
}
.w3eden .btn-primary {
  color: #fff;
  background-color: #22317f;
  border-color: #22317f;
}
.w3eden .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .5rem 1rem;
  min-height: 38px;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-sizing: border-box;
  text-decoration: none !important;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.w3eden .media img {
  border-radius: 0;
}

.card-white {
  padding: 1.2rem;
  border-radius: 4px;
  box-shadow: 0 4px 12px #eeeeee;
  margin-bottom: 1.2rem;
}

.ar-sidebar .widget-area .uk-nav {
  font-size: 0.875rem;
}


/*QR READER*/

#preview{
	width: 300px;
	height: auto;
	margin-inline: auto;
	box-shadow: 0 4px 10px #999;
}

.qr-btn-container{
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	justify-content: center;
	align-items: center;
}

.btn-qr{
	border: none;
	background-color: #407aa4;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 0;
	border-radius: 8px;
	color: #fff;
	font-weight: bold;
	font-size: 0.8rem;
	width: 300px;
	cursor: pointer;
}

.btn-qr:nth-child(2){
	background-color: #43bd80;
}

.btn-qr:nth-child(3){
	background-color: #e3684f;
}

.qr-btn-container button[disabled] {
	pointer-events: none;
	opacity: 0.5;
}

#user-info{
	text-align: center;
	font-weight: bold;
	font-size: 20px;
}

#qr-result{
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	padding: 2rem 1rem;
}

.scan-container{
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

a.btn-scan, a.btn-scan:visited, a.btn-scan:hover{
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 0;
	border-radius: 8px;
	color: #fff;
	font-weight: bold;
	font-size: 0.8rem;
	background-color: orangered;
	width: 300px;
}