/************************************************************************************
ESTRUCTURA DE LA PçGINA
*************************************************************************************/

#contenedor{
	
	/*background-color: #f5f1e8;*/
	background-image: url('../img/fondoDialogo.png');
	/*width:960px;*/
	width: 100%;
	height: 615px;
	padding-top: 10px;
	margin: 0px;
	border: 0px;
	position: relative;
}

#micromundo{
	float: left;
	width: 560px;
	height: 99%;
	margin: 0px;
	padding: 0px;
}


#chat{
	position: relative;
	border: solid 2px #ffc995;
	border-radius: 5px;
	margin-left: 570px;
	margin-right: 10px;
	width: auto;
	min-width: 220px;
	height: 604px;
	padding: 0px;	
}

#chat_globos{
	width: inherit;
	height: 88%;
	margin: 0px;
	padding: 0px;
}


#chat_campo{
	width: inherit;
	height: 9%;
	margin: 8px 5px 5px 5px;
	padding: 0px;
	border: solid 2px #ffc995;
	border-radius: 5px;
	position: relative;
}

#input{
	border: 0px;
	background: rgba(0,0,0,0);
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	font-family: Arial;
	font-size: 13px;
}


.esquinaGlobo{
	width: 25px;
	height: 25px;
	overflow: hidden;
}

.globo_avatar{
	width: 92%;
	margin-left: 3%;
	margin-right: 5%;
	margin-top: 10px;
	margin-bottom: 10px;
}

.globo_usuario{
	width: 92%;
	margin-left: 8%;
	margin-right: 0%;
	margin-top: 10px;
	margin-bottom: 10px;
}



/************************************************************************************
MEDIA QUERIES
The iPhone is 320x480, the iPhone 4 is 640x960 and the iPhone 5 is 640x1136.
*************************************************************************************/

/* m‡s de 1120px (doble del ancho de los micromundos) */
/*@media screen and (min-width: 1120px) {
	#contenedor {
		width: 1120px;
	}
	
}*/
/* 800-1120px */
@media screen and (max-width: 1280px) {
	
	#contenedor {
		width: 100%;
	}
	
	#micromundo {
		display: block;
	}
	
	#chat{
		margin-left: 570px;
	}
	
	#input{
		font-size: 13px;
	}
}

/* menos de 800px */
@media screen and (max-width: 799px) {

	#contenedor {
		width: 100%;
	}
	
	#micromundo {
		display: none;
	}
	
	#chat {
		margin-left: 10px;
	}
	
	/******* Para evitar zoom en iOS
	By setting the font-size of the input field to a font-size of 16px (or larger), this seems to prevents the browser from zooming on focus. *****/
	#input{
		font-size: 16px;
	}

}



/************************************************************************************
TEXTOS
*************************************************************************************/

.txt_avatar{
	font-family:Arial;
	font-size: 13px;
	text-align: justify;
	color: #4a4a4a;
	margin: -5px;
	margin-right: 0px;
	margin-left: 10px;
}

.txt_usuario{
	font-family:Arial;
	font-size: 13px;
	text-align: justify;
	color: #363636;
	margin: -5px;
	margin-right: 10px;
	margin-left: 0px;
}

.opcMult{
	font-family:Arial;
	font-size: 13px;
	text-align: left;
	color: #222222;
	margin-left: 10px;
	margin-top: 10px;
	margin-bottom: 0px;
}


/*************************************
Micromundos

********************************************/

.micromundo{
	border: 1px hidden #eb7433;
}


.btCerrar_mm{
	background-image:url('../img/btCerrar.png');
	width:34px;
	height:34px;
	top: 8px;
	right: 10px;
	/*font-family:Arial;
	font-size: 13px;
	font-style: normal;
	text-align: right;*/
	/*color: #4a4a4a;*/
	/*margin-right: 11px;*/
}


.ligaMicromundo{
	font-family:Arial;
	font-size: 10px;
	font-style: italic;
	text-align: right;
	color: #777777;
	margin-right: 11px;
}

/*Ventana en la que aparecen los micromundos que se despliegan enfrente */
.ventana_mm_frente{
	background-color: #f5eee3;
	border: 3px solid #268989;
	border-radius: 10px; 
	box-shadow: 5px 5px 5px #aaaaaa;
}


/************************************************************************************
DEFINICIONES
*************************************************************************************/

.ligaDefinicion{
	color:#118e38;
}

.ventana_definicion{
	position:absolute;
	top: 60px;
	width: 400px;
	height: auto;
	padding: 0px;
	margin: 0px;
}

.div_interior_definicion{
	width: 100%;
	height: 100%;
	margin: 15px;
	background-color: #fdf3e4;
	border: 3px solid #117474;
	border-radius: 5px;
}

.texto_definicion{
	padding: 20px 40px 10px 40px;
	font-family:Arial;
	font-size: 14px;
	font-style: normal;
	text-align: justify;
	color: #117474;
}

.imagen_definicion{
	display: block;
	margin: 0 auto;
	max-width: 90%;
	overflow: auto;
	padding-bottom: 25px;
}

.ventana_definicion .btCerrarDef{
	background: url("../img/btCerrar.png") no-repeat;
	position: absolute;
	top: 0px;
	left: 400px;
	width: 34px;
	height: 34px;
	cursor:pointer;
	text-indent: -5000px; /*Se requiere porque en el c—digo est‡ como <a>X</a>*/
}


/*En caso de haber audio, sea pregrabado o mediante tts, bot—n para apagar y volver a prender los audios*/
.bt_audio{
	background-image:url('../img/bt_audio.png');
	position: absolute;
	width: 22px;
	height: 22px;
	top: 16px;
	right: 20px;
	font-family:Arial;
	font-size: 11px;
	font-style: normal;
	text-align: right;
	color: #4a4a4a;
	margin-right: 11px;
}
.bt_audio.apagar{
	background-image:url('../img/bt_audio_apagar.png');
}



.loader{
	//background-color: #efefef;
	background: #efefef; /* Older browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #ededed 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* IE10+ */
	background: linear-gradient(top,  #ffffff 0%,#ededed 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
	font-family:Arial;
	font-size: 16px;
	font-style: italic;
	font-weight: bold; 
	color: #777777;
}





textarea
{
   resize: none;
}
