/*** Header ***/
#poi-details-container {
	display: none;
	z-index: 4;
}

#poi-details-dialog {
	border-radius: 20px;
	margin: 0px 10px;
    overflow: auto;
    max-height: 95%;
    background: transparent;
    box-shadow: none;
}

#poi-details-header {
	position: relative;
	height: 300px;
	background: url("../Resources/poi/temp_header.png");
	background-size: cover;
	border-radius: 10px 10px 0px 0px;
}

#poi-details-direction {
	position: absolute;
	bottom: 90px;
	left: 4px;
	width: fit-content;
	padding: 10px 14px;
	border-radius: 10px;
	background: white;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	box-shadow: 0px 0px 4px 0px #00000040;
}

#poi-details-direction img {
	width: 16px;
	height: 16px;
}

#poi-details-direction p {
	font-weight: 700;
}

#poi-details-close {
    position: sticky;
    top: 15px;
    left: 87%;
		width: 35px;
		height: 35px;
		z-index: 1;
}

#poi-details-stamp-container {
	position: absolute;
	left: 4px;
	right: 4px;
	bottom: 24px;
	padding: 10px 12px;
	border-radius: 10px;
	background: url("../Resources/poi/bg_stamp_container.png");
	background-size: cover;
}

#poi-details-stamp-title {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 4px;
}

#poi-details-stamp-subtitle {
	font-size: 14px;
	font-weight: 500;
}

#poi-details-stamp-img {
	position: absolute;
	right: 20px;
	bottom: 10px;
	width: 80px;
	height: 80px;
}

#poi-details-stamp-achieved {
	display: none;
	/*display: flex;*/
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
}

#poi-details-stamp-achieved img {
	width: 24px;
	height: 24px;
}

#poi-details-stamp-achieved p {
	font-size: 18px;
	font-weight: 700;
}

/*** Body ***/
#poi-details-body{
	padding: 12px 18px 22px 18px;
	background: var(--ultra-light-grey);
	border-radius: 10px 10px 20px 20px;;
	transform: translateY(-16px);
}

#poi-details-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 12px;
}

#poi-details-description {
	font-size: 14px;
	font-weight: 400;
	margin-bottom: 14px;
}

#poi-details-question {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 20px;
}

#poi-details-answers {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 24px;
}

.poi-details-answer {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: 8px 10px;
	background: white;
	border: 1px solid transparent;
	border-radius: 10px;
	box-shadow: 0px 0px 4px 0px #00000040;
}

.poi-details-answer p {
	font-size: 14px;
	font-weight: 400;
}

.poi-details-answer input {
	pointer-events: none;
	accent-color: var(--poi-details-color);
	min-width: 16px;
    min-height: 16px;
    margin: 0;
}

.poi-details-answer img {
	display: none;
	width: 16px;
	height: 16px;
}

.poi-details-answer-selected {
	border: 1px solid black;
}

.poi-details-answer-selected p {
	font-weight: 700;
}

.poi-details-answer-correct {
	border: 1px solid var(--correct-answer-color);
}

.poi-details-answer-wrong {
	border: 1px solid var(--wrong-answer-color);
}

#poi-details-buttons {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

#poi-details-buttons button {
	height: 35px;
	width: 100%;
	font-family: 'Lato';
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	border-radius: 10px;
	box-shadow: 0px 0px 4px 0px #00000040;
	border: 1px solid var(--poi-details-color);
	background: var(--poi-details-color);
	color: white;
}

#poi-details-more-info-button {
	border: 1px solid var(--poi-details-color);
	background: white;
	color: black;
}

.poi-details-answer-button-completed {
	border: 1px solid var(--poi-details-color) !important;
	background: white !important;
	color: black !important;
}

#poi-details-locate-button {
	display: none;
}

/*** More info dialog ***/
#more-info-container {
	z-index: 5;
}

#more-info-dialog {
	margin: 0px 24px;
	padding: 20px 18px 50px 18px;
}

#more-info-dialog-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 8px;
}

#more-info-dialog-description {
	font-size: 14px;
	font-weight: 400;
}

#more-info-dialog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 13px;
    height: 13px !important;
}

#more-info-dialog hr {
	width: 100%;
	margin-bottom: 16px;
	border-color: var(--poi-details-color);
}

/*** Answer dialog ***/
#answer-container {
	z-index: 6;
}

#answer-dialog {
	width: 80%;
}

.answer-dialog-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 50px 15px 28px 15px;
	border-radius: 10px;
}

#correct-answer-dialog {
    background: radial-gradient(61.17% 61.17% at 49.85% 27.11%, #FFFFFF 0%, #F7D665 100%);
}

#wrong-answer-dialog {
	background: radial-gradient(61.17% 61.17% at 49.85% 27.11%, #FFFFFF 0%, #EDB6B2 100%);
}

.answer-dialog-bg-img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
}

.answer-dialog-img {
	height: 120px;
	margin-bottom: 14px;
}

.answer-dialog-img-animation {
	-webkit-animation-name: answer-stamp;
	animation-name: answer-stamp;
	animation-delay:0.1s;
	-webkit-animation-delay:0.1s;
	-webkit-animation-duration: 0.5s;
	animation-duration: 0.5s;
	opacity: 0;
	-webkit-animation-fill-mode:forwards;
	animation-fill-mode:forwards;
}

.answer-dialog-title {
	font-size: 26px;
	font-weight: 800;
	margin-bottom: 5px;
}

#correct-answer-dialog .answer-dialog-title {
	color: var(--correct-answer-color);
}

#wrong-answer-dialog .answer-dialog-title {
	color: var(--wrong-answer-color);
}

.answer-dialog-subtitle {
	font-size: 14px;
	font-weight: 400;
	margin-bottom: 16px;
	text-align: center;
}

.answer-dialog-points {
	font-size: 24px;
	font-weight: 600;
	margin: 20px 0px;
}

.answer-dialog-points span {
	font-size: 36px;
}

.answer-dialog-content hr {
	width: 100%;
	background: white;
	margin: 0px 15px;
    border: 0.5px solid white;
}

.answer-dialog-button {
	height: 35px;
	width: 100%;
	font-family: 'Lato';
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	border-radius: 10px;
	box-shadow: 0px 0px 4px 0px #00000040;
	background: white;
	color: black;
	border: 0px;
	margin-top: 24px;
}

#answer-dialog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 13px;
    height: 13px !important;
}

.answer-dialog-content .user-profile-challenge {
	width: -webkit-fill-available;
	gap: 8px;
	background: #F5F5F5D9;
	box-shadow: none;
	flex-direction: column;
}

.answer-dialog-content .user-profile-challenge-content {
	width: 100%;
	flex-direction: row;
	justify-content: space-between;
}

.answer-dialog-content .user-profile-challenge-progress {
	font-size: 16px;
	font-weight: 600;
}

/*** Go near Poi Dialog ***/
#go-near-poi-container {
	z-index: 5;
}

#go-near-poi-dialog {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: 34px;
    background: white;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
}

#go-near-poi-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

#go-near-poi-description {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 14px;
}

#go-near-poi-dialog button {
    padding: 8.5px 54px;
    font-family: Lato;
    font-size: 16px;
    font-weight: 600;
    color: white;
    border: 0;
    border-radius: 10px;
    background: var(--main-color);
    box-shadow: 0px 2px 4px 0px #00000040;
}

#go-near-poi-dialog img {
    height: 250px;
    margin-bottom: 12px;
    border-radius: 10px;
}

#go-near-poi-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 13px;
    height: 13px !important;
}

/*** Animations ***/
@keyframes answer-stamp{
  0%{
    opacity: 0;
  }
  10%{
    opacity:.50;
    transform-origin: 50% 50%;
    transform: rotate(-2deg) scale(5);
    transition: all .3s cubic-bezier(0.6, 0.04, 0.98, 0.335);
  }
  100%{
    opacity:1;
    transform: rotate(-15deg) scale(1);
  }
}

@keyframes bounceIn {
	0% {
		transform: scale(0);
		opacity: 0;
	}
	50% {
		transform: scale(0.5);
		opacity: 0;
	}
	80% {
		transform: scale(1.1);
		opacity: 1;
	}
	90% {
		transform: scale(0.95);
	}
	100% {
		transform: scale(1);
	}
}
.bounce-in {
  animation: bounceIn 0.6s ease-out;
}














