/************************************************************************************************
    * Plantilla Anaya Educación: v1.2 / Actualizacición: Abril/2015
	* Plantilla Origen: 011 - Arrastrar y soltar - Texto a texto. 
************************************************************************************************/

/********** Enunciado **********/

.enunciado {
	position: relative;
	margin: 40px 83px 30px 20px;
	width: 94%;
	max-width: 900px;
	text-align: left;
}

/********** Imagen principal **********/

#main_img {
	position: relative;
	height: auto;
}
#main_img > img {
	max-height: 60%;
	max-width: 60%;
	border-radius: 10px;
	
}


/********** Contenedor de Drags **********/

#elements {
	padding: 10px;
	width: 98%;
	/*! min-height: 120px; */
	background-color: #DFE4F2;
	max-width: 900px;
	height: auto;
	text-align: center;
	border-radius: 10px;
	margin: 40px auto auto;
	position: relative;
}
#elements ul{
	position: relative;
	margin: 0px;
	width: 100%;
	height: auto;
	text-align: center;

}

/********** Drags **********/

.item {
	position: relative;
	float: left;
	margin: 10px 20px 10px 17px;	
	padding-left: 3px;
	padding-right: 3px;
	min-width: 175px;
	width: auto;
	max-width: 200px;
	height: 25px;
	line-height: 25px;
	background-color: #FFFFFF;
	border: 1px solid #005EA8;
	border-radius: 7px;
	cursor: move;
	list-style: none;
}
.item:hover {
	background-color: #F0F0F0;
}

/********** Contenedor de Drops **********/

#sol {
	margin-top: 30px;
	margin-bottom: 120px;
	width: 100%;
	max-width: 900px;
	height: auto;
	max-height: 500px;
	text-align: center;
	background-color: #DFE4F2;
	border: 2px solid #005EA8;
	border-radius: 10px;
}
.parrafo {
	position: relative;
	margin: 0 auto;
	padding: 20px;
	width: 100%;
	max-width: 850px;
	height: auto;
	text-align: left;
	line-height: 40px;
}
.activearea{
	display: inline-block;
    position: relative;
    top: 5px;
    margin: auto 5px auto 5px;
	min-width: 150px;
	width: auto;
	max-width: 250px;
	height: 25px;
	line-height: 25px;
}
#sol li {
	margin: 0;
	padding-left: 5px;
	padding-right: 5px;
	min-width: 150px;
	width: auto;
	max-width: 250px;
	height: 25px;
	text-align: center;
}
.sortable { display: inline-block;}
.welldone {
	color: #FFF;
	background-color: #009036;
	border-radius: 7px; 	
}
.maldone {
	color: #FFF;
	background-color: #E2001A;
	border-radius: 7px; 
	
}
.showBoxes {
	background-color: #FFFFFF;
	border-radius: 7px;
}
.draging {}
.dragged {top:0;}
.dragenter {}

/********** Vista en iPad vertical **********/

@media (max-width: 768px) {
	img {width: 40%;}
	#elements {min-height: 100px; width: 90%; margin-bottom: 3%; }
	#elements ul li {min-width: 20%; margin: 10px; padding: 5px; }
	.item {margin: 10px auto 10px;}
	h1 {width: 80%;}
	.parrafo {width: 95%; font-size: 13px;}
	.parrafo ul {min-width: 20%; padding: 5px;}
	#sol {width: 92%; margin: auto; height: 100% !important; margin-bottom: 30%; max-height: none;}
}

/********** Vista en iPhone horizontal **********/

@media (max-width: 480px) {
	#elements {width: 80%; margin-bottom: 40px;}
	.item {padding: 8px;}
	h1{width: 80%;}
	#sol {width: 80%; margin: auto; max-height: none; margin-bottom: 30%;}
	.parrafo {width: 90%;}
	body {min-height: 1300px;}

}


/********** Vista en iPhone vertical **********/

@media (max-width: 320px) {
	#elements {width: 78%;}
	.item {float: none; margin: 10px auto 10px;}
	h1{width: 80%;}
	#sol {width: 80%; margin: auto; height: 100% !important; margin-bottom: 30%; max-height: none;}
}

/********** Dialog **********/

.ui-corner-all {
    border-radius: 7px;
}
.ui-widget-content {
    background-color: #DFE4F2;
    border: 2px solid #005EA8;
}
.ui-widget {
    font-family: 'Open Sans';
    font-size: 16px;
    text-align: center;
}
.ui-dialog {
    position: absolute;
    padding: 0.2em;
    top: 0px;
    left: 0px;
    width: 300px;
    box-shadow: 0px 0px 10px 0px #000;
    z-index: 15;
}
.ui-corner-all {
    border-radius: 7px;
}