﻿/* ----- PLANTILLA ALCALDE ------ */
.temp-alcalde-tabAlcalde {
	font-weight: bold;	
	width: 100%;
	padding: 1em;
	margin-left: auto;
	margin-right: auto;
	margin-bottom:1em;
	cursor: pointer;
	-webkit-user-select: none; 
	-moz-user-select: none; 
	-ms-user-select: none; 
	-o-user-select: none;
	user-select: none;
	transition: 1s;
}
.temp-alcalde-tabAlcalde:hover{
	padding-left: 5%;
}
.temp-alcalde-tabAlcalde.selected { padding-left: 5%;}

.temp-alcalde-pregunta { width: 100%; padding:1em 1em; }
.temp-alcalde-campoPregunta, .temp-alcalde-campoRespuesta {
	width: 50%;
	padding: .5em 1em;
}
.temp-alcalde-campoPregunta { font-weight: bold;  }
.temp-alcalde-respuesta { font-style: italic; }
.temp-alcalde-respuesta .temp-alcalde-icono { left: -1.85em; }

.temp-alcalde-marco { display: flex; }
.temp-alcalde-dirigidoA { text-align: right; margin-bottom: 1em;}


.temp-alcalde-tabAlcalde:after { content: " > "; float: right; font-weight: bold; }
.temp-alcalde-selected:after { display: inline-block; transform: rotate(90deg); }
.temp-alcalde-pregunta > div {  width: 100%;  margin-bottom: 1.5em;}
.temp-alcalde-pregunta a, #temp-alcalde-mejoresPreguntas a {}
.temp-alcalde-campoPregunta a, .temp-alcalde-campoRespuesta a { float: initial !important; font-weight: bold; }
.temp-alcalde-fechaPregunta, .temp-alcalde-fechaRespuesta { float: right; font-weight: bold; height: 0; margin-right: 1em; }
.temp-alcalde-pRespondida { color: #c1c1c1; cursor: auto !important;}
a[id^=temp-alcalde-voto-] { cursor: pointer; }


#bloque1 { display: flex; }

/* titulo */
#temp-alcalde-contentHeader .temp-alcalde-icono { width: 30%; display: block; margin: 0 auto; }
#temp-alcalde-contentHeader h2 { text-align: center; margin-top: 0; }

/* Formulario */
#temp-alcalde-formularioAlcalde { width: 70%; display: inline-block; }
#temp-alcalde-formularioAlcalde label { display: block; width: 100%; font-weight: bold; }
#temp-alcalde-formularioAlcalde input {width: 100%;margin-bottom: .5em;}
#temp-alcalde-formularioAlcalde input[type=submit] { width: 20%; margin-right: 5%; border: none; border-radius: 0;}
#temp-alcalde-formularioAlcalde select { width: 100%;}
#temp-alcalde-formularioAlcalde textarea { resize: none; width: 100%; margin-bottom: .5em;}
#temp-alcalde-formularioAlcalde input[type=email] {}
#temp-alcalde-formularioAlcalde input, #temp-alcalde-formularioAlcalde textarea {color: #505050;padding: .75em;}

/* Mejores preguntas */
#temp-alcalde-mejoresPreguntas > div { width: 100%; font-weight: 500; font-style: italic; }
#temp-alcalde-mejoresPreguntas h2 { text-align: center;}
.temp-alcalde-numVotos { position: relative;  display: inline; left: -.5em;  top: -.7em; color: white; padding: .5em 1em; }


/* Tabs */
#temp-alcalde-alcalde, #temp-alcalde-grupos { width: 100%; color: white; padding: 1em; background-color:  }
#temp-alcalde-alcalde:hover, #temp-alcalde-grupos:hover { cursor: pointer; }
#temp-alcalde-palcalde.selected, #temp-alcalde-pgrupos.selected { display: block; margin-top: 1em; }
#temp-alcalde-cajaEnviar { width: 100%; height: 4em; } 
#temp-alcalde-alcalde:after, #temp-alcalde-grupos:after { content: '>'; float: right;}
#temp-alcalde-palcalde, #temp-alcalde-pgrupos{display:none;}
.temp-alcalde-lbl { text-align: right; min-width: 10%; display: inline-block; margin-right: 5%; }
.temp-alcalde-leerMas { padding: 1em; text-align:right; width:100%; }
#temp-alcalde-errorValidacion { color: #D8000C; background-color: #FFBABA; padding: 1em; width: 92%; margin: 1em 0; }



#temp-alcalde-content.alcaldeResp { width: 100% !important; display: inline-block;}

.temp-alcalde-preguntas_titulo_valoradas{ font-size: 1.5em;padding-bottom:1em; }


.temp-alcalde-alcaldeRedesSociales { width: 100%; padding-bottom:.5em; text-align:right; }
.temp-alcalde-alcaldeRedesSociales a { margin-left: 1em;}

.temp-alcalde-fechaP { font-weight: bold; padding-left: .5em; }

/*-----------------PIE DE PAGINA----------------------*/
#temp-alcalde-datos-pie{text-align:center;}
#temp-alcalde-footer{background-color:transparent !important;border:none !important;}
#temp-alcalde-tit_pie{font-size: 1.2em; font-weight: 800 !important;}
#temp-alcalde-div_pie{font-size: 1.2em; font-weight: 600 !important;}


/* Plantilla single */
.temp-alcalde-fecha-h3 {     margin-bottom: -1em !important; }
#temp-alcalde-dirigidoa-h3, .fecha-h3 {text-align: right; margin: 0; }
#temp-alcalde-pregunta-h3, #respuesta-h3 { font-weight: bold; height: 0; }
#temp-alcalde-pregunta-h3 .temp-alcalde-icono, #temp-alcalde-respuesta-h3 .temp-alcalde-icono { top: -1.75em; left: -2em; }
#temp-alcalde-dirigidoa-h3 { margin-bottom: .5em; }
#temp-alcalde-piePregunta { text-align: right; margin-top: 1em; }
#temp-alcalde-redessoci { margin: 0 .5em; }

/*WIDGET*/
.temp-alcalde-wid-imgs{text-align:center;}

@media only screen and (max-width: 1024px) { 
	
	#temp-alcalde-pregunta-h3 .temp-alcalde-icono, #temp-alcalde-respuesta-h3 .temp-alcalde-icono { left: 0; }
}

@media only screen and (max-width: 800px) {
	#temp-alcalde-contentHeader { width: 100%; float: initial; margin-bottom: 2em;}
	#temp-alcalde-contentHeader .temp-alcalde-icono { width: 7.5%; display: inline; margin: 0; margin-right: 1em;}
	#temp-alcalde-contentHeader h2 { text-align: initial; display: inline; }
	#temp-alcalde-formularioAlcalde { width: 100%; }
	#temp-alcalde-errorValidacion { width: 100%; }
	#temp-alcalde-formularioAlcalde input[type=submit] { width: 100%; height: 2.5em; margin: .5em 0; }
	#temp-alcalde-bloque1 { display: block; }
	#temp-alcalde-mejoresPreguntas { margin: 1em 0; padding: 0; width: 100%; }

}

@media only screen and (max-width: 550px) {
	.temp-alcalde-marco { display: block; }
	.temp-alcalde-campoPregunta, .temp-alcalde-campoRespuesta { width: 100%;}
	.temp-alcalde-campoPregunta { border-right: none; }
	.temp-alcalde-icono { position: initial !important; }
	#temp-alcalde-pregunta-h3 .temp-alcalde-icono, #temp-alcalde-respuesta-h3 .temp-alcalde-icono { position: relative !important; }
}
@media screen and (min-width:0\0) { 
	#temp-alcalde-contentHeader .temp-alcalde-icono { height: 23% !important; }
}

#temp-alcalde-listadoPreguntas .temp-alcalde-tab { border:1px solid #1c4a57; color: #1c4a57; }
.temp-alcalde-pregunta > div { border-bottom: 4px solid #1c4a57; }
#temp-alcalde-formularioAlcalde, #temp-alcalde-mejoresPreguntas, #temp-alcalde-ultimas-preguntas-alcalde{ border-bottom: 2px solid #1c4a57; }
#temp-alcalde-formularioAlcalde input[type=submit] {  background: #1c4a57; color: #FFFFFF; }
#temp-alcalde-formularioAlcalde input[type=submit]:hover { background: #1c4a57;}
#temp-alcalde-alcalde:after, #temp-alcalde-grupos:after { color:#FFFFFF; }
#temp-alcalde-mejoresPreguntas > div, #temp-alcalde-ultimas-preguntas-alcalde> div { border-bottom: 1px solid #1c4a57; }
#temp-alcalde-alcalde, #temp-alcalde-grupos { background: #1c4a57; }
#temp-alcalde-alcalde:hover, #temp-alcalde-grupos:hover { background: #1c4a57; }
#temp-alcalde-alcalde.selected, #temp-alcalde-grupos.selected { border-top: 4px solid #1c4a57;}
#temp-alcalde-formularioAlcalde form input[type=text]:focus , #temp-alcalde-formularioAlcalde form input[type=email]:focus, #temp-alcalde-formularioAlcalde form textarea:focus, #temp-alcalde-formularioAlcalde form select:focus { 
-webkit-transition: 0.5s;
transition: 0.5s;
border: 1px solid #1c4a57 !important;
outline: none;
}
.temp-alcalde-tabAlcalde {background-color:#1c4a57;color:white;}
	
	
	
#temp-alcalde-mejoresPreguntas > div:nth-of-type(1), #temp-alcalde-ultimas-preguntas-alcalde> div:nth-of-type(1) { border-top: 1px solid #1c4a57; }
.temp-alcalde-numVotos { background: #1c4a57 !important; color: #FFFFFF !important; }
div[id^=temp-alcalde-pregunta] { border: 1px solid #1c4a57; padding: 1em 1em 0em 1em;}
.temp-alcalde-campoPregunta { border-right: 1px solid #1c4a57; }

.temp-alcalde-icono {
color:#FFFFFF;
border-radius: 50%;
padding: .5em;
position: relative;
left: -2.85em;
top: -2.35em;
background: #1c4a57;
width: 2.5em;
height: 2.5em;
}
.icon-partidos{
	padding-left: 0.35rem;
}
.icon-ciudadano:before, .icon-alcalde:before, .icon-alcaldesa:before, .icon-partidos:before{
	font-size:1.5rem;
}

#temp-alcalde-historico a { background: #1c4a57; color: white !important; padding: .5em 2em; display: inline-block; margin-top: 1em; }
#temp-alcalde-historico a:hover{background: #1c4a57;color: white !important;text-decoration:none;}
/* Single */
#temp-alcalde-pregunta-h3, #temp-alcalde-respuesta-h3 { border-top: 2px solid #1c4a57; }
.temp-alcalde-pregunta-single p { padding: 1em 0; }


/* Widget */
.temp-alcalde-alcalde_widget li { margin-top: .25em !important; }
.temp-alcalde-alcalde_widget h5 { margin-bottom: 0;  } 
.temp-alcalde-alcalde_widget li a { color: #333333!important; font-weight: 300; }

#temp-alcalde-ultimas-preguntas-alcalde{width: 100%; }
#temp-alcalde-ultimas-preguntas-alcalde> div { width: 100%; font-weight: 600; font-style: italic; }
#temp-alcalde-ultimas-preguntas-alcaldeh2 { text-align: center;}
#temp-alcalde-ultimas-preguntas-alcalde> div:nth-of-type(5) { border-bottom: none; }

.temp-alcalde-dirigidoA { text-align: right; margin-bottom: 1em;}

.temp-alcalde-success-alcalde{color:green;padding:1rem;text-align:center;}
.temp-alcalde-error-alcalde{color:red;padding:1rem;text-align:center;}