/*
	Domande.css

	V 1.2 del 10/09/2023
*/

@charset "UTF-8";

body {
	background-color: #fff;
	font-family: Arial, Helvetica, sans-serif;
}

.ElencoDomande {
	display: block;
	border: 16px solid #78bacc;
	border-image-source: url(https://www.babysmart.it/img/cornice.jpg);
	border-image-width: 16px;
	border-image-slice: 16;
	border-image-outset: 0;
	border-image-repeat: stretch;
	padding: 10px;
}


.Domanda {
	position: relative;
	border-top: 4px solid #78bacc;
	border-left: 4px solid #78bacc;
	border-right: 4px solid #78bacc;
	background-color: #FFF;
	padding: 4px 8px;
	overflow: hidden;
	cursor: pointer;
}

.Domanda.Attiva {
	background-color: #cff;
	overflow: visible;
}


.StatoRisposta {
	display: inline-block;
	font-size: 1.5em;
	color: #03e;
}

.StatoRisposta.Aperto {
	transition: 0.25s ease;
	transform: rotate(-45deg);
	color: #e00;
}

.StatoRisposta.Chiuso {
	transition: 0.25s ease;
	transform: rotate(+0deg);
	color: #03e;
}


.TitoloDomanda {
	display: inline-block;
	position: absolute;
	top: .5em;
	left: 1.6em;
	font-size: 1em;
}


.Risposta {
	/* display: block; */
	display: block;
	overflow: hidden;
	/* height: 0px; */
	height: 100%;
	border-left: 4px solid #78bacc;
	border-right: 4px solid #78bacc;
	background-image: linear-gradient(#eff, #fff);
	padding: 4px 8px;
	font-size: 1.2em;
}

.Risposta.Espandi {
	height: 100%;
	display: block;
}

.Risposta.Contrai {
	height: 0px;
}


.Fondo {
	border-top: 4px solid #78bacc;
	padding: 4px 8px;
}

.SpanEtichettaR129 {
	display: none;
	width: auto;
}

.EtichettaR129 {
	width: 96%;
	max-width: fit-content;
}

.BottoneMostraEsempio,
.BottoneMostraEsempio:visited {
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	border: 2px solid #c1530a;
	background-color: #ffb380;
	color: #400;
	width: fit-content;
	height: auto;
	padding: 0.5em;
	border-radius: 8px;
	margin: 0.2em;
	text-align: center;
}

.BottoneMostraEsempio:hover {
	background-color: #FFF;
	color: #c1530a;
}

.BottoneMostraEsempio:active {
	background-color: #ffe9da;
}


@media only screen and (min-width: 540px) {
	.TitoloDomanda {
		display: inline-block;
		position: absolute;
		top: 0.2em;
		left: 1.6em;
		font-size: 1.5em;
	}
}
