a {
	color: rgb(15, 120, 53);
}

body {
	min-height: 100vh;
}

body.acqua {
	background-image: url("../images/sfondo-pagina-acqua.jpg");
	background-size: contain;
}

body.terra {
	background-image: url("../images/sfondo-pagina-terra.jpg");
	background-size: contain;
}

footer {
	background-color: #d4d1ba;
	border-top: 2px solid #3465a4;
	font-size: .85em;
	margin-top: 5em;
	padding: 2em;
}

footer ul {
	display: inline-block;
	width: fit-content;
}

h2 {
	background-color: #dfddcc;
	background-image: url(../images/illustrazioni/sfondo-sassi.jpg);
	background-size: cover;
	margin-top: 2em;
	padding: .4em;
	position: relative;
}

h2 span {
	position: relative;
	z-index: 1;
}

header {
	min-height: 3em;
}

html {
	overflow-x: hidden;
	scroll-behavior: smooth;
}

p {
	font-size: 1.1em;
}

q {
	font-style: italic;
}

.acqua .header-parco-mincio {
	background-color: #256dff;
}

.breadcrumb {
	background-color: #343a40;
}

.breadcrumb-item a {
	color: rgb(17 175 29);
}

.breadcrumb-item.active {
	color: #ffffff;
}

.btn-primary {
	background-color: rgb(15, 120, 53);
	border-color: rgb(11, 94, 41);
}

.btn-primary:hover {
	background-color: rgb(9, 72, 33);
	border-color: rgb(9, 73, 33);
}

.btn-outline-primary, .btn-outline-primary.focus, .btn-outline-primary:focus, .btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show>.btn-outline-primary.dropdown-toggle {
	border-color: rgb(15, 120, 53);
	color: rgb(15, 120, 53);
}

.btn-outline-primary:hover {
	background-color: rgb(15, 120, 53);
	border-color: rgb(9, 73, 33);
}

.btn-primary.focus, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
	background-color: rgb(9, 72, 33);
	border-color: rgb(9, 73, 33);
	box-shadow: 0 0 0 0.2rem rgb(15 120 53 / 50%);
}

.card {
	box-shadow: 2px 2px 11px rgb(0 0 0 / 20%);
}

.card:hover {
	box-shadow: 4px 4px 14px rgb(0 0 0 / 25%);
	left: -2px;
	top: -2px;
}

.container {
	position: relative;
}

.cursor-pointer {
	cursor: pointer;
}

.cursor-zoom-in {
	cursor: zoom-in;
}

.difference-marker {
	background-color: rgba(255, 0, 0, .2);
	border: 2px solid rgba(255, 0, 0, .5);
	border-radius: 50%;
	cursor: not-allowed;
	height: 31px;
	position: absolute;
	width: 31px;
	z-index: 9;
}

.difference-marker-center {
	background-color: red;
	/* border: 2px solid red; */
	border-radius: 50%;
	left: 11px;
	height: 5px;
	position: absolute;
	top: 11px;
	width: 5px;
}

.differenceShape {
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
}

.differenceShape.revealed {
	animation: blinking 5s infinite;
	filter: invert(50%) sepia(22%) saturate(3200%) hue-rotate(317deg) brightness(90%) contrast(100%);
	opacity: .5;
}

.findifferenceImage {
	display: inline-block;
	position: relative;
}

.findifferenceImage img {
	pointer-events: none;
}

.game-icon {
	border-radius: 15px;
	box-shadow: 3px 5px 8px #cecece;
	margin-bottom: 1.5em;
}

.h2-illustration {
	margin-top: calc(2em + 70px)!important;
}

.header-parco-mincio {
	background-image: none;
	color: #ffffff;
}

.illustration {
	background-repeat: no-repeat;
	background-size: contain;
	height: 180px;
	position: absolute;
	width: 400px;
}

.in-text-image {
	display: block;
	margin: 1em 0;
}

.inner-nav-ancor {
	padding-top: 45px;
}
.inner-nav-ancor h2 {
	margin-top: 0;
}

.modal + .modal {
    z-index: 1060;
}

.modal-backdrop + .modal-backdrop {
    z-index: 1051;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
	background-color: rgb(15, 120, 53);
}

.single-step {
    border-radius: 15px;
}

.source-display {
	opacity: 0;
	pointer-events: none;
	transition: all .5s;
}

.source-display.visible {
	opacity: 1;
}

.terra .header-parco-mincio {
	background-color: #16790b;
}

.wood-target, .river-target {
	align-items: center;
	background-color: green;
	border: 3px solid darkgreen;
	border-radius: 50%;
	color: #ffffff;
	display: flex;
	font-size: 1.5em;
	font-weight: bold;
	height: 2.5em;
	justify-content: center;
	position: absolute;
	top: 0;
	width: 2.5em;
}

.river-target {
	background-color: lightskyblue;
	border: 3px solid blue;
}

.wood-target {
	background-color: green;
	border: 3px solid darkgreen;
}

#countDown {
	background-color: rgba(255, 255, 255, .5);
	bottom: 0;
	font-size: 14rem;
	left: 0;
	padding-top: 15%;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
}

#descriptionBox li {
	transition: all 1s;
}

#findifferenceBox {
	position: relative;
}

#findifferenceBox * {
	/* pointer-events: none; */
}

.illustration-slider {
	background-repeat: no-repeat;
	height: 350px;
	position: absolute;
	width: 450px;
}

#illustration-slider-01 {
	background-image: url("../images/illustrazioni/parco-colline.png");
	background-position: bottom left;
	bottom: 0;
	left: 0;
}

#illustration-slider-02 {
	background-image: url("../images/illustrazioni/airone-piante-acqua.png");
	background-position: bottom left;
	bottom: 0;
	left: 0;
}

#illustration-slider-03 {
	background-image: url("../images/illustrazioni/pianta-albero.png");
	background-position: bottom left;
	bottom: 0;
	left: 0;
}

#illustration-slider-04 {
	background-image: url("../images/illustrazioni/pianta-farfalla.png");
	background-position: bottom right;
	bottom: 0;
	right: 0;
}

#illustration-slider-05 {
	background-image: url("../images/illustrazioni/ragazzi-guardano.png");
	background-position: bottom right;
	bottom: 0;
	right: 0;
}

#illustration01 {
	background-image: url("../images/illustrazioni/parco-colline-2.png");
	background-position: bottom left;
	height: 150px;
	right: 0;
	top: -150px;
	transform: scaleX(-100%);
}

#illustration02 {
	background-image: url("../images/illustrazioni/albero-cespugli.png");
	background-position: bottom right;
	bottom: 0px;
	height: 200px;
	right: 0;
}

#illustration03 {
	background-image: url("../images/illustrazioni/anatra-cespugli.png");
	background-position: bottom right;
	bottom: 25px;
	right: -65px;
}

#illustration04 {
	background-image: url("../images/illustrazioni/ragazzi.png");
	background-position: bottom right;
	bottom: 20px;
	right: -50px;
}

#illustration05 {
	background-image: url("../images/illustrazioni/airone-piante-cespugli.png");
	background-position: bottom right;
	bottom: 0;
	right: 0;
}

#illustration06 {
	background-image: url("../images/illustrazioni/airone-piante-acqua.png");
	background-position: bottom left;
	bottom: 0;
	height: 125px;
	right: 0;
	transform: scaleX(-100%);
}

#illustration07 {
	background-image: url("../images/illustrazioni/cartello-pianeta-parco-dx.png");
	background-position: bottom right;
	bottom: 0;
	height: 200px;
	right: 0;
}

#illustration08 {
	background-image: url("../images/illustrazioni/albero-nido-cicogne.png");
	background-position: bottom right;
	bottom: 0;
	height: 220px;
	right: 0;
}

#photogalleryDeck .card {
	max-width: 20%;
}

#topFiveCarousel {
	background-color: rgb(255 255 255 / 77%);
	border: 1px solid #666666;
	border-radius: 10px;
	box-shadow: 2px 2px 5px rgb(0 0 0 / 30%);
	font-size: 1.5em;
	margin: 0em 1em 2em;
}

#topFiveCarousel .carousel-item {
	min-height: 16em;
	padding: 1em 3em;
	text-align: justify;
}

#topFiveCarousel .carousel-item-next, #topFiveCarousel .carousel-item-prev, #topFiveCarousel .carousel-item.active {
	display: flex;
}

#topFiveCarousel .carousel-control-next, #topFiveCarousel .carousel-control-prev {
	color: #666666;
}

#topFiveCarousel .carousel-indicators li {
	background-color: #666666;
	border-bottom: none;
	height: 12px;
}

#topFiveCarousel .carousel-control-next, #topFiveCarousel .carousel-control-prev {
	width: 7%;
}

#inner-nav .nav-link {
    display: block;
	font-size: 0.8em;
    padding: 0.2rem 0.4rem;
}



/*                       */
#wordsTray ul {
	list-style-type: none;
	padding-left: .8em;
}

#wordsTray span {
	font-weight: bold;
}

.foundWord {
	opacity: .2;
	/* text-decoration: line-through; */
}

/* Agenda Drag and Drop */
.single-action {
    align-items: center;
	background-color: #ffffff;
	border: 1px solid #666666;
	border-radius: 6px;
	box-shadow: 2px 2px 6px rgba(128, 128, 128, .5);
	cursor: pointer;
	display: inline-flex;
	font-size: .75em;
	height: 100%;
	margin: .3em;
	padding: .4em;
	transition: all .3s;
	user-select: none;
	vertical-align: top;
	width: 10em;
}

#goalBox img {
	display: inline-block;
	margin: 1%;
	max-width: 17%;
}

#messageContainerBox {
	background-color: #ffffff;
	border-radius: .5em;
	box-shadow: 2px 2px 20px rgba(80, 80, 80, .8);
	padding: 4em 2em 3em;
	position: absolute;
	left: 1em;
	right: 1em;
	top: 2em;
	transition: all .3s;
}

.goal-error {
	background-color: #ff0000;
	box-shadow: 3px 3px 10px #ff0000;
	color: #ffffff;
}

.goal-6 {
	background-color: #29bfe4;
	box-shadow: 1px 1px 3px #29bfe4;
	color: #ffffff;
}

.goal-7 {
	background-color: #f8c233;
	box-shadow: 1px 1px 3px #f8c233;
	color: #ffffff;
}

.goal-13 {
	background-color: #417f49;
	box-shadow: 1px 1px 3px #417f49;
	color: #ffffff;
}

.goal-14 {
	background-color: #1e98d2;
	box-shadow: 1px 1px 3px #1e98d2;
	color: #ffffff;
}

.goal-15 {
	background-color: #5aba50;
	box-shadow: 1px 1px 3px #5aba50;
	color: #ffffff;
}


@keyframes blinking {
	0% {opacity: .2;}
	50% {opacity: .6;}
	100% {opacity: .2;}
}

@media (min-width: 992px) {
	.in-text-image {
		float: right;
		margin: 1em;
	}
}

@media (max-width: 991px) {
	h2 span {
		text-shadow: 3px 1px 8px #ffffff;
	}

	.illustration {
		right: 0px!important;
	}

	.illustration-slider {
		background-size: contain;
		max-height: 60px;
		max-width: 100%;
	}
}


@media print {
	body {
		background-image: none !important;
	}

	header {
		min-height: auto;
	}

	footer, 
	nav[aria-label="breadcrumb"], 
	.carousel-control-next, 
	.carousel-control-prev, 
	.carousel-indicators, 
	#downloadableBox, 
	#headCarousel .illustration-slider, 
	#photogalleryDeck .card .card-footer {
		display: none;
	}

	#intro {
		padding-bottom: 3em;
	}

	#photogalleryDeck {
		display: block;
		flex-flow: unset;
	}

	#photogalleryDeck .card, 
	#scrolling-content #content > div, 
	#top5Box, 
	#topFiveCarousel .carousel-item {
		page-break-after: auto;
		page-break-before: auto;
		page-break-inside: avoid;
	}

	#photogalleryDeck .card, 
	#topFiveCarousel .carousel-item {
		border: 1px solid #666666;
		border-radius: 10px;
		margin-bottom: .4em;
	}

	#photogalleryDeck .card {
		flex-direction: row;
		max-width: 100%;
	}

	#photogalleryDeck .card > a > img {
		width: 360px;
	}

	#scrolling-content {
		margin-top: 2em;
	}

	#top5Box {
		padding-top: 3em !important;
	}

	#topFiveCarousel {
		border: none;
		border-radius: 0;
		margin: 0;
	}

	#topFiveCarousel .carousel-item {
		display: block;
		float: none;
		min-height: auto;
		padding: 1em;
	}
}