/* ----------- GENERICO ----------- */

:root {
  --color-user: #c0ffa0; /* il colore delle chat di risposta */
  --color-font: #404040; /* il colore di tutti i testi della chat */
}

html {
	width: 100%;
	margin: 0;
	background-color: #f9f9f9;
	font-family: sans-serif, Bebas Neue;	
	background-image: url('media/bg.jpg');
	background-position-x: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: 700px;
	overflow-x: hidden;
}

/* ----------- CONTENITORE ----------- */

#contenitore {
	width: 700px;
	margin: 0 auto;
	position: relative;
}

#scroller {
	width: 700px;
	height: 350px;
	margin: 0 auto;
}

#scroller2 {
	width: 700px;
	height: 150px;
	margin: 0 auto;
}

@media only screen and (max-width: 700px) {
	#contenitore {
	width: 100vw;
	margin: 0 auto;
	position: relative;
	}
}

/* ----------- DATA ----------- */

.StartingClassData {
	width: 0px;
	height: 0px;
	font-size: 0px;
}

.StartingClassData p {
	font-size: 0px;
}

.ClassData {
	width: 140px;
	height: 20px;
	margin: 0 auto;
	margin-top: 30px;
	background-color: #eeeeee;
	text-align: center;
	padding: 3px;
	color: #404040;
	border: 0.1vw solid #eeeeee;
	border-radius: 20px;
	box-shadow: 2px 3px #cccccc;
	transition: width 1s, height 1s; 
	
}

.ClassData p {
	margin: 0;
	font-size: 18px;
	transition: font-size 1s; 
}

/* ----------- ICONA UTENTE ----------- */

.ClassAssistente {
	position: absolute;
	top: 10px;
	margin-left: 10px;
	width: 70px;
	height: 70px;
	transition: top 1s;
}

.ClassUtente {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 70px;
	height: 70px;
	transition: top 1s;
}

.ClassAssistenteR {
	position: absolute;
	top: 10px;
	margin-left: 10px;
	width: 70px;
	height: 70px;
}

.ClassUtenteR {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 70px;
	height: 70px;
}

.imgCall {
	width: 70px;
	height: 70px;
}

/* ----------- BOX BOT ----------- */

.StartingBoxBot {
	width: 0px;
	height: 0px;
	display:  none;
}

.ClassBoxBot {
	margin: 25px 100px 0px 90px;
	background-color: #ffffff;
	text-align: left;
	padding: 0 20px 0 20px;
	color: #404040;
	border: 0.1vw solid #eeeeee;
	border-radius: 20px 20px 20px 0px;
	position: relative;
	font-size: 22px;
	min-width: 300px;
}

.time {
	font-size: 15px;
	position: absolute;
	right: 15px;
	bottom: -10px;
}

/* ----------- BOX USER ----------- */

.StartingBoxUser {
	width: 0px;
	height: 0px;
	display:  none;
}

.ClassBoxUser {
	margin: 25px 90px 0px 250px;
	background-color:  var(--color-user);
	text-align: left;
	padding: 0 20px 0 20px;
	color: #404040;
	border: 0.1vw solid #eeeeee;
	border-radius: 20px 20px 20px 0px;
	position: relative;
	font-size: 22px;
	min-width: 300px;
}

/* -------- DOTTING -------- */

.dotHide {
	display: none;
}

.dot1 {
	width: 6px;
	margin-bottom: 0px;
    animation-name: example;
    animation-duration: 0.8s;
    animation-iteration-count: infinite
}

.dot2 {
	width: 6px;
	margin-bottom: 0px;
    animation-name: example;
    animation-duration: 0.8s;
    animation-delay: 0.20s;
    animation-iteration-count: infinite
}

.dot3 {
	width: 6px;
	margin-bottom: 0px;
    animation-name: example;
    animation-duration: 0.8s;
    animation-delay: 0.40s;
    animation-iteration-count: infinite
}

@keyframes example {
  0%   {margin-bottom: 0px;}
  50%  {margin-bottom: 3px;}
  100% {margin-bottom: 0px;}
}

/* ----------- BOXistruzioni ----------- */

.StartingBoxIstruzioni {
	width: 0px;
	height: 0px;
	display:  none;
}

.ClassBoxIstruzioni {
	margin: 5px 100px 0px 90px;
	text-align: left;
	padding: 3px;
	color: #404040;
	display: block;
}

.istruzioni {
	font-size: 15px;
	margin: 0px;
}

/* ----------- SCELTA MULTIPLA ----------- */

.StartingSceltaMultipla {
	display:  none;
}

.SceltaMultipla {
	margin: 5px 100px 0px 90px;
	display: block;
	margin: 0 0 0 90px;
	clear: both;
	text-align: center;
}

.scelta {
	width: 160px;
	height: 100px;
	font-size: 22px;
	margin: 5px;
	background-color:  var(--color-user);;
	float: left;
	border: 0.1vw solid #eeeeee;
	border-radius: 20px 20px 20px 20px;
}

.scelta p {
	color: #404040;
}

.scelta:hover {
	cursor: pointer;
	opacity: 80%;
}

.A1 {
	margin-top: 25px;
	padding: 0 10px 0 10px;
}

.A2 {
	margin-top: 37px;
}

/* ----------- FORM ----------- */

#Box14 form {
	margin-top: 20px;
}

.cella {
    height: 2em;
	font-size: 1em;
	margin: 10px;
	padding: 10px;
	clear: both;
	border: 0.1em solid #eeeeee;
	border-radius: 10px 10px 10px 10px;
	color: gray;
	width: 80%;
}

.bottone {
	font-size: 1vw;
	border: 0;
	background-color: var(--color-user);
	color: var(--color-font);
	margin: 12px;
	padding: 10px;
	width: 80%;
	border-radius: 5px 5px 5px 5px;
    height: 2em;
	font-size: 1em;
}

.bottone:hover {
	cursor: pointer;
}
















