
body {
    font-family: "open_sansregular",Verdana,Geneva,sans-serif;
    font-size: 14px;
    line-height: 25px;
    color: #333;
    margin: 0;
    padding: 0;
}

body * {
	transition: all .5s ease;
    margin: 0;
    padding: 0;
}

body a {
	color: #087021;
}
body hr {
	margin: 10px 0;
}

.ta-center { text-align: center; }

header#cabecera {
	padding-bottom:5px;
	background: transparent url("../images/fondo-cabecera.gif") repeat-x;
	border-bottom: 2px solid #a0a0a0;
	margin-bottom: 20px;
}

header .header-junta { float: left }
header .header-consejeria {
	float: left;
	margin-left: 20px;
	margin-top: 65px;
}
header .header-buscador { float: right; }

header .header-junta a {
	background: transparent url("../images/logo-junta.png") no-repeat scroll 0 0;
	height: 109px;
	font-size: 0;
	text-indent: -9999em;
	display: block;
	width: 120px;
	transition: none;
}
header .header-junta a:hover,
header .header-junta a:focus,
header .header-junta a:active {
	background-position: -120px 0;
}
header .header-consejeria a {
	background: transparent url("../images/logo-consejeria.png") no-repeat scroll 0 0;
	font-size: 0;
	text-indent: -9999em;
	display: block;
	width: 300px;
	height: 30px;
}
header .header-buscador a {
	background: transparent url("../images/cecd_tit_centros.png") no-repeat scroll 0 0;
	font-size: 0;
	text-indent: -9999em;
	display: block;
	width: 270px;
	height: 100px;
	background-size: contain;
}

footer#pie {
	background-color: #565656;
	border-top: 6px solid #2b2b2b;
	min-height: 50px;
	margin-top: 20px;
	overflow: hidden;
}
footer#pie a {
	background: transparent url("../images/logo-junta-footer.png") no-repeat scroll 0 0;
	width: 120px;
	height: 81px;
	display: block;
	text-indent: -9999em;
	float: right;
}

.fixed-bottom {
	position: fixed;
	bottom: 0;
	width: 100%;
}

ul.mio > li {
	list-style-type: none;
	background: transparent url("../images/bullet.png") left 5px no-repeat;
	padding-left: 20px;
}
ul.mio > li > ul> li {
	list-style-type: none;
	background: transparent url("../images/bullet_listado_elegante.gif") left 8px no-repeat;
	padding-left: 13px;
}
ul.nav-tabs > li {
	list-style-type: inherit;
	background: inherit;
	padding-left: inherit;
}
.tab-content {
	padding: 20px 0 0;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
.tab-content h1 {
	background-color: #333;
	color: white;
	font-size: 18px;
	padding: 5px;
	text-align: center;
	font-family: open_sanslight;
}
.tab-content h2 {
	background-color: #888;
	color: white;
	font-size: 16px;
	padding: 5px;
	font-family: open_sanslight;
}
.alert {
	border-radius: 0;
	margin: 0;
}

.busqueda-simple, .busqueda-avanzada, .listado-provincias, .otros-centros {
	margin-right: 10px;
	background: transparent url("../images/icons-tab.png") no-repeat;
	width: 25px;
	height: 25px;
	display: inline-block;
}

.busqueda-simple {
	background-position: -75px 0;
}
.active .busqueda-simple {
	background-position: -25px 0;
}
.busqueda-avanzada {
	background-position: -50px 0;
}
.active .busqueda-avanzada {
	background-position: 0 0;
}
.listado-provincias {
	background-position: -50px -25px;
}
.active .listado-provincias {
	background-position: 0 -25px;
}
.otros-centros {
	background-position: -75px -25px;
}
.active .otros-centros {
	background-position: -25px -25px;
}

/* Modal */
.modal .modal-title { font-family: TeXGyreHerosCnRegular; }
.modal .modal-body {
	line-height: normal;
	font-family: open_sanslight;
	font-size: 13px;
}
.modal p { margin-bottom: 10px; }
.modal ul li { background: none; padding-left: 0; list-style-type: initial;}
.modal .panel { 
	border-radius: 0;
	box-shadow: none;
	margin: 0;
}
.modal .panel .tab-content {
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding: 10px;
	background-color: white;
	font-size: 12px;
}
.modal .panel .nav-tabs {
  font-family: TeXGyreHerosCnRegular;
  font-size: 16px;
}

.modal .panel + .panel {
	margin-top: 5px;
}

.modal .panel-body {
	/*background-color: #eff7f1;*/
}

.modal .panel-title { font-size: 14px; }
.modal .panel-heading { padding: 0; background: #eee; border: 0; }
.modal .panel-title > a { 
	display: block; 
	position: relative;
	padding: 10px 15px 10px 35px;
}
.modal .panel-title > a:before {
	background-position: 0 -25px;
	content: '';
	display: inline-block;
	width: 25px;
	height: 25px;
	background: transparent url("../images/sprite-accordion.png") 0 -25px no-repeat;
	position: absolute;
	top: 5px;
	left: 5px;
}
.modal .panel-title > a.collapsed:before {
	background-position: 0 0;
}
.modal .panel-title > a:hover,
.modal .panel-title > a:focus,
.modal .panel-title > a:active { 
	text-decoration: none; 
	outline: none;
	background-color: #dcdcdc
}

/* Fin de Modal */

.consulta-centros-form {
	background: #ccdbd0 url("../images/logo-inclinado.png") 111% 60% no-repeat;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding: 10px 20px;
}
.consulta-centros-form label {
    line-height: 18px;
    font-family: "open_sansitalic";
    text-align: left;
    color: black;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-weight: normal;
}

.wrapper-input-text {
	width: 63%;
	display: inline-block;
	border: 1px solid rgb(221, 221, 221);
}

input[type="text"]:hover, 
input[type="password"]:hover, 
input[type="search"]:hover,
input[type="text"]:focus, 
input[type="password"]:focus, 
input[type="search"]:focus,
input[type="text"]:active, 
input[type="password"]:active, 
input[type="search"]:active,
select:hover, 
select:focus, 
select:active {
	outline: 0;
	box-shadow: 0 0 5px rgba(0,88,38,0.39);
}

.consulta-centros-form input[type="search"] {
    width: 100%;
	padding-left: 2%;
	padding-right: 2%;
	border: 0px none;
	background-color: white;
}
.consulta-centros-form input[type="text"], 
.consulta-centros-form input[type="password"], 
.consulta-centros-form input[type="search"],
.consulta-centros-form input[type="submit"]  {
    height: 37px;
}
input.btn-search,
input.btn-reset,
button.btn-reset {
	margin: 0;
	padding-left: 30px;
	color: white;
	padding-right: 10px;
	border: 0;
	height: 37px;

}
input.btn-search { background: transparent url("../images/back-btn-search.png") 0 0 no-repeat; }
input.btn-reset, button.btn-reset { background: transparent url("../images/back-btn-reset.png") 0 0 no-repeat; }
a.btn-ayuda {
	background: transparent url("../images/back-btn-ayuda.png") 0 0 no-repeat;
	display: inline-block;
	vertical-align: top;
	padding: 6px 10px 4px 30px;
	color: white;
	height: 37px;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance:textfield;
}

.cabecera-resultados{	  
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 1.2em;
    background-color: #888;
    color: white;
    align-items: baseline;
    padding: 5px 8px;
  }

.cabecera-resultados a{
	color: white;
	text-decoration: none;
}
.cabecera-resultados i{	  
  	font-size:1.5em;
  }

/* ------------- Resultados de la consulta simple --------------- */

.caption {
	font-family: open_sansbold;
}
.resultados-consulta-centros {
	margin-top: 20px;
	padding: 0 20px;
	margin-bottom: 20px;
}
.resultados-consulta-centros .panel-group .panel { 
	border-radius: 0;
	box-shadow: none;
}
.resultados-consulta-centros .panel-group .panel .panel-group { margin-bottom: 0; }
.resultados-consulta-centros .panel-group .panel .panel-group .panel-body {
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding: 10px;
	background-color: white;
	font-size: 12px;
}
.resultados-consulta-centros .panel-group .panel.item-result .nav-tabs {
  font-family: TeXGyreHerosCnRegular;
  font-size: 16px;
}

.resultados-consulta-centros .panel-group .panel.item-result .mapa {
	width: 100%;
	height: 250px;
}

.resultados-consulta-centros .panel-group .panel + .panel {
	margin-top: 0;
	border-top: 0;
}

.resultados-consulta-centros .panel-body {
	background-color: #eff7f1;
}

.resultados-consulta-centros .panel-title { font-size: 15px; }
.resultados-consulta-centros .panel-body .panel-title { font-family: 'Cep_Medium'; }
.resultados-consulta-centros .panel-heading { padding: 0; background: #eee; }
.resultados-consulta-centros .panel-title > a { 
	display: block; 
	position: relative;
	padding: 10px 15px 10px 35px;
}
.resultados-consulta-centros .panel-title > a:before {
	background-position: 0 -25px;
	content: '';
	display: inline-block;
	width: 25px;
	height: 25px;
	background: transparent url("../images/sprite-accordion.png") 0 -25px no-repeat;
	position: absolute;
	top: 5px;
	left: 5px;
}
.resultados-consulta-centros .panel-title > a.collapsed:before {
	background-position: 0 0;
}
.resultados-consulta-centros .panel-title > a:hover,
.resultados-consulta-centros .panel-title > a:focus,
.resultados-consulta-centros .panel-title > a:active { 
	text-decoration: none; 
	outline: none;
	background-color: #dcdcdc
}

.resultados-consulta-centros .panel-default:nth-child(2n-1) > .panel-heading{
  background: white;
}

.resultados-consulta-centros .panel-title .localidad { font-family: open_sansbold; }
.resultados-consulta-centros .panel-title .localidad:before { content: " - "; }

/* ------------ CONSULTA AVANZADA DE CENTROS --------------- */
.consulta-avanzada-centros-form {
	background: #ccdbd0 url("../images/logo-inclinado.png") 110% 125% no-repeat;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding: 10px 20px;
}
.consulta-avanzada-centros-form.otros-centros-form {
	background-position: 110% -35%;
}

.consulta-avanzada-centros-form fieldset {
	border: 0;
}
.consulta-avanzada-centros-form fieldset legend {
	border-bottom: 5px solid #087021;
	margin-bottom: 10px;
	font-family: TeXGyreHerosCnRegular;
}
.consulta-avanzada-centros-form .lbl-checkbox {
	min-width: 18%;
	margin-right: 2.5%;
	font-family: open_sanslight;
	font-weight: normal;
}
.consulta-avanzada-centros-form label {font-weight: normal;}
.consulta-avanzada-centros-form input[type="text"],
.consulta-avanzada-centros-form input[type="number"],
.consulta-avanzada-centros-form select {
  width: 100%;
  height: 35px;
  padding: 0 5px;
}

.consulta-avanzada-centros-form select[disabled] {
    cursor: not-allowed;
    background-color: #eee;
    opacity: 0.6;
}

.consulta-avanzada-centros-form select option {
  padding: 0 5px;
}

/* --- Listado de provincias --- */
.centros-provincias {
	padding: 20px 20px 10px;
}
.centros-provincias label { margin-bottom: 20px; }
.centros-provincias .provincia {
	height: 100px;
	padding: 10px;
	border: 1px solid #ddd;
	margin-bottom: 25px;
	position: relative;
	background-color: #fafafa;
}
.centros-provincias .provincia:after {
	content: "";
	position: absolute;
	background: transparent url("../images/pdf-download.png") no-repeat scroll;
	width: 70px;
	height: 100px;
	top: 0;
	right: 0;
}
.centros-provincias .provincia:hover:after {
	background-position: -71px 0;
}
.centros-provincias .provincia a {
	display: block;
	height: 100%;
	text-align: center;
	padding-top: 30px;
	padding-right: 20px;
	text-transform: uppercase;
}

.loading{
	display: block;
	text-align:center;
	font-size:2em;
}

.glyphicon-spin {
    -webkit-animation: spin 1000ms infinite linear;
    animation: spin 1000ms infinite linear;
}
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}
@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.icons i{
    color: black;
    text-decoration: none;
    padding: 3px;
    margin: 0px;
    border: 2px solid #888;
    border-radius: 5px;
}
.icons {
    padding: 15px;
    font-size: 2em;  
}

/* ------------ RESPONSIVE -------------- */
@media screen and (max-width: 767px) {
	.busqueda, .busqueda-simple, .busqueda-avanzada { display:none; }

	#main-content { padding: 0px; }
	/*#consulta-centros-form-wrapper { padding: 5px; }*/
	.resultados-consulta-centros {
		margin-top: 10px;
		/*padding: 0 5px;*/
	}
	.wrapper-input-text { width: calc(100% - 90px); }
	.resultados-consulta-centros .panel-group .panel.item-result .nav-tabs { margin-top: 10px; }

	.resultados-consulta-centros .nav-tabs > li > a {
		background-color: #555;
		opacity: 0.8;
		color: white;
	}
	.resultados-consulta-centros .nav-tabs > li.active > a,
	.resultados-consulta-centros .nav-tabs > li > a:hover,
	.resultados-consulta-centros .nav-tabs > li > a:focus,
	.resultados-consulta-centros .nav-tabs > li > a:active {
		opacity: 1;
		background-color: white;
		color: #555;
	}

	/*.consulta-avanzada-centros-form .lbl-checkbox {  min-width: 33%; }*/
	.tab-content h1 { font-size: 16px; }
	.consulta-avanzada-centros-form fieldset legend { font-size: 18px; }
}

@media screen and (max-width: 400px) {
	.consulta-centros-form {
		background-position: 111% 60% no-repeat;
		padding: 10px 10px 0;
	}
	/*.consulta-avanzada-centros-form { padding: 10px 0; }*/
	/*.consulta-avanzada-centros-form .lbl-checkbox {  min-width: 100%; margin: 0; }*/
	header .header-junta a {
		background: transparent url("../img/logo_mobil.png") no-repeat scroll 0 0;
		background-size: contain;
		height: 50px;
		font-size: 0;
		text-indent: -9999em;
		display: block;
		width: 60px;
		transition: none;
	}
	header .header-junta a:hover,
	header .header-junta a:focus,
	header .header-junta a:active {
		background-position: 0 0;
	}
	header .header-buscador a {
	background: transparent url("../images/cecd_tit_centros.png") no-repeat scroll 0 0;
	font-size: 0;
	text-indent: -9999em;
	display: block;
	width: 135px;
	height: 50px;
	background-size: contain;
}

}