

html, body{
	background: black;
	/*height: 100%; */ /*--- esto produce errores en android antiguo ver.71 para abajo*/
}


/*========== Prototipos generales ==========*/
.cPapelTapiz{
	background: white;
	background-image: url(recursosglobales/backform.jpg);
	background-size: cover;
	background-position: center; 
}
.cForm{
	background: rgba(255,255,255,0.7);
	margin: 30px;
	box-shadow: 0px 0px 15px plum;
	border-radius: 8px;
	display: flex; flex-direction: column; align-items: center;
}
.cForm h1{
	width: 100%;
	font-size: 16px;
	color: white;
	background: Orchid;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}
button{
	background: SteelBlue;
	border: none;
	color: #f2f2f2;
	padding: 10px;
	margin-left: 10px;
	margin-right: 10px;
	font-size: 14px;
	border-radius: 5px;
	box-sizing: border-box;
}
.cWasapEncab{
	padding: 10px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.cWasapEncab div{
	color: Green;
	padding-left: 5px;
}



/*========== Cuerpo principal ==========*/
.cCuerpo{
	background: white;
	width: 100%;
	border-bottom: 1px solid LightBlue;
	box-shadow: 0px 0px 15px LightBlue;
	padding-bottom: 20px;
	
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
@media only screen and (max-width: 1050px) {
	.cCuerpo{
		flex-direction: column;
		align-items: center;
	}
}
	
	
	

/*========== Caja de herramienta ==========*/
.cCajaHerramientas{
	width: 200px;
	display: flex;
	flex-direction: column;
}
@media only screen and (max-width: 1050px) {
	.cCajaHerramientas{
		width: 100%;
		height: initial;
	}
}



/*========== Contenido ==========*/
.cContenido{
	width:100%;
	max-width: 850px;
	display: flex;
	flex-direction: column;
}
.cContenido h1{
	font-size: 20px;
	color: red;
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}
.cSubTitulo{
	background: Thistle;
	color: Purple;
	
	font-size: 18px;
	margin-bottom: 16px;
	border-radius: 8px;
	padding: 10px;
	
	display: flex;
	flex-direction: column;
	justify-content: center;
}



/*========== Galeria ==========*/
.cContenedorGaleria{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center; 
}
article .cMiniatura{
	position: relative;/* No borrar */
	border-radius: 20px;
	
	margin: 5px;
}
article .cCod{
	z-index: 5;
	position: absolute;
	left: 5px;
	top: 5px;
	font-family: Courier New;
	font-weight: bolder;
	font-size: 14px;
	color: white;
	text-shadow: 1px 1px 2px Maroon;
	background: rgba(255,140,0,0.7);
	border-top-left-radius: 10px;
	border-bottom-right-radius: 12px;
	padding: 4px;
	cursor: default;
}
article .cMiniaturaPic{
	margin: 5px;
	border-radius: 10px;
	box-shadow: 0px 0px 10px LightSkyBlue;
	max-width: 180px;
	box-sizing: border-box;
}
@media only screen and (max-width: 600px) {
	article .cMiniaturaPic{
		max-width: 150px;
	}
}
article .cMiniaturaPic:hover{
	box-shadow: 0px 0px 10px Coral;
}
article .cEscogerFoto{
	position: absolute;
	width: 90px;
	height: 25px;
	left: calc(100% - 95px);
	top: calc(100% - 34px);
	color: White;
	text-shadow: 1px 1px 2px Black;
	font-size: 15px;
	background: rgb(0,80,150,0.5);
	border-top-left-radius: 12px;
	border-bottom-right-radius: 10px;
	cursor: pointer;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}
article .cEscogerFoto:hover{
	background: rgb(0,80,150,0.8);
}
article .cDuplicados{
	background: rgba(135, 206, 250, 0.7);
	width: 140px;
	left: calc(100% - 145px);
	justify-content: start;
	color: white;
	text-shadow: 0px 0px 2px blue;
	font-weight: bold;
	user-select: none;
}
article .cDuplicados:hover{
	background: rgba(135, 206, 250, 0.9);
}
article .cNCopias{
	width: 32px;
	text-align: right;
}
article .cCheck{
	padding-left: 5px;
}




/*========== Mis fotos seleccionadas ==========*/
.cPanel{
	position: relative;
	width: 200px;
}
.cPanel .cMarcoMisFotos{
	margin-top: 10px;
	width: 190px;
	position: fixed;
	background: bisque;
	border-radius: 20px;
	box-shadow: 0px 0px 5px orange;
	display: flex; flex-direction: column; align-items: center;
}
@media only screen and (max-width: 1050px) {
	.cPanel{
		width: 95%;
	}
	.cPanel .cMarcoMisFotos{
		width: auto;
		position: static;
	}
}
.cPanel .cContMisFotos{
	margin-bottom: 20px;
	position: relative;
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
	overflow-y: auto;
}
.cPanel h1{
	width: 100%;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	font-weight: bolder;
	background: DarkOrange;
	color: white;
	text-shadow: 0px 0px 2px maroon;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 15px;
	text-align: center;
	display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center;
}
.cPanel h1 div{
	margin-left: 5px;
	margin-right: 5px;
}
.cPanel button {
	margin: 10px;
	width: 140px;
	visibility: hidden;
	position: fixed;
}
.cPanel figure{
	margin: 5px;
	position: relative;
}
.cPanel figcaption{
	position: absolute;
	font-family: Courier New;
	font-size: 12px;
	font-weight: bolder;
	left: 0px;
	top: 0px;
	padding: 3px;
	color: white;
	background: rgba(0,120,255,0.7);
	border-top-left-radius: 8px;
	border-bottom-right-radius: 10px;
}
.cPanel .cImgMisFotos{
	width: 100px;
	border-radius: 8px;
}
.cPanel span{
	user-select: none;
	position: absolute;
	left: calc(100% - 30px);
	top: calc(100% - 25px);
	width: 30px;
	height: 18px;
	padding-top: 3px;
	text-align: center;
	font-size: 12px;
	color: white;
	text-shadow: 0px 0px 2px darkgreen;
	background: rgba(50, 205, 50, 0.6);
	border-top-left-radius: 10px;
	border-bottom-right-radius: 8px;
}





/*========== Pie de pagina ==========*/
footer{
	height: 100%;
	padding-top: 20px;
	font-size: 18px;
	
	display: flex;
	flex-direction: column;
	align-items: center; 	
}
footer div{
	display: flex;
	flex-direction: column;
	align-items: start; 
}
footer a{
	padding: 5px;
	text-decoration: none;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}
footer a div{
	color: white;
	height: 30px;
	padding-left: 5px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.cWhatsApp{
	color: green;
}







/*========== Configuracion del Visor ==========*/
.cVisor{
	position: fixed;
	z-index: 30;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;

	color: white;
	background: rgba(0,0,0,0.85);
	
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	
	overflow: hidden;
	overflow-y: scroll;
}
.cVisor .cContenedorImg{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;	
	
	width: 100%;
}
.cVisor .cPic{
	object-fit: contain;
	width: 95%;
	max-width: 700px;
	border-radius: 10px;
}
@media only screen and (max-height: 400px) {
	.cVisor .cPic{
		max-height: 300px;
	}
}
#IdImagenVisorPrev{
	z-index: 50;
	background: black;
	border: 1px solid MidnightBlue;
}
#IdImagenVisorHD{
	z-index: 60;
	position: absolute;
}
#IdComandosCorto, #IdComandosAncho{
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.cVisor .cNota{
	padding: 5px;
	color: PapayaWhip;
}
.cVisor button{
	z-index: 80;
	min-width: 120px;
	min-height:50px;
}
.cVisor .cCheck{
	padding-right: 5px;
	width: 40px;
}
#IdContCodigo{
	z-index: 80;
	width: auto;
	height: 50px;
	padding: 10px;
	font-size: 24px;
	font-weight: bolder;
	background: MidnightBlue;
	border-radius: 0px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
	display: flex;
	align-items: center;
	cursor: pointer;
}
#AnteriorAncho, #SiguienteAncho{
	visibility: inherit;
	position: relative;
}
#IdComandosCorto{
	visibility: hidden;
	position: absolute;
	margin: 10px;
}
@media only screen and (max-width: 550px) {
	#AnteriorAncho, #SiguienteAncho{
		visibility: hidden;
		position: absolute;
	}
	#IdComandosCorto{
		visibility: inherit;
		position: relative;
	}
}
#IdVisorContNCopias{
	width: 50px;
	height: 40px;
	margin-bottom: 30px;
	background: darkgreen;
	border-bottom-right-radius: 15px;
	display: flex; flex-direction: row;
}
#IdVisorNCopias{
	width: 50px;
	padding-top: 5px;
	font-size: 20px;
	text-align: center;
	user-select: none;
}




/*================= Formulario Solicitar ==============*/
.cSolicitarFondo{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.cSolicitarFondo .cForm{
	width: 95%;
	max-width: 400px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.cSolicitarFondo .cForm h1{
	width: 100%;
}
.cSolicitarFondo button{
	font-size: 16px;
	width: 200px;
	margin-bottom: 20px;
}
.cSolicitarFondo .cContForm{
	padding: 15px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.cSolicitarFondo input, .cSolicitarFondo textarea{
	padding: 5px;
	width: calc(100% - 10px);
	resize: none;
	margin-bottom: 15px;
	border: 1px solid plum;
}
.cSolicitarFondo #IdTelefono{
	font-size: 25px;
	text-align: center;
}
.cSolicitarFondo #IdNombre{
	font-size: 18px;
	text-align: center;
}
.cSolicitarFondo textarea{
	height: 50px;
}
.cSolicitarFondo label{
	padding-bottom: 8px;
	text-shadow: 0px 0px 4px white;
	color: peru;
	width: 100%;
}

.cSeparador{
	min-height: 100px;
}
@media only screen and (max-height: 600px) {
	.cSeparador{
		min-height: 0px;
	}
}




/*================= Admin ==============*/
.cSolicitudes{
	display: flex;
	flex-direction: column;
	align-items: center;
}
.cSolicitudes .cForm{
	width: 95%;
	max-width: 800px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.cSolicitudes .cForm h1{
	width: 100%;
}
.cSolicitudes table{
	font-size: 14px;
	max-width: 700px;
	margin: 15px;
}
.cSolicitudes th{
	border: 1px solid DarkOrange;
	background: rgba(255, 140, 0, 0.4);
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
}
.cSolicitudes .cFila1{
	background: rgba(30, 144, 255, 0.5);	
}
.cSolicitudes .cFila2{
	background: rgba(0, 191, 255, 0.3);	
}
.cSolicitudes td{
	border: 1px solid SteelBlue;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}
.cSolicitudes .cSeparadorTabla{
	border: none;
}
.cSolicitudes button{
	margin-top: 15px;
}



/*================= Contraseña Admin ==============*/
.cLogin{
	display: flex;
	flex-direction: column;
	align-items: center;
}
.cFondoLogin{
	background-image: url(recursosglobales/backlogin.jpg);
}
.cLogin .cForm{
	width: 95%;
	max-width: 400px;
	background: rgba(255, 255, 255, 0.3);
	box-shadow: 0px 0px 10px grey;
}
.cLogin .cContLogin{
	width: calc(100% - 40px);
	display: flex;
	flex-direction: column;
	margin: 20px;
}
.cLogin label{
	font-size: 14px;
}
.cLogin input{
	border: 0px;
	font-size: 20px;
	margin-bottom: 20px;
	background: rgba(255, 255, 255, 0.5);
	padding: 5px;
}
.cLogin button{
	margin-bottom: 20px;
	width: 200px;
}



/*================= Informacion de Usuario ==============*/
.cInfoUsuario{
	background: LightGoldenrodYellow;
	padding: 5px;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
}
.cDatosNoValidos{
	background: green;
	color: white;
	margin-top: 20px;
	margin-bottom: 0px;
	padding: 10px;
	border-radius: 8px;
	text-align: center;
	width: calc(100% - 60px);
}