/********************************************************************************/
/* Móvil */
/********************************************************************************/
:root{
	--azul: #0049af;
	--azul_oscuro: #0049af;
	--naranja: #ff5600;
}

@font-face {
    font-family:"coolvetica";
	src: url(fonts/coolvetica.otf) format("opentype");
}

@font-face{
	font-family: "Calloveya";
	src: url(fonts/Calloveya.otf) format("opentype");
}

@font-face{
	font-family: "Creativo";
	src: url("fonts/Creativo Italic.otf") format("opentype");
}
html{
	min-height:100%;
	scroll-behavior: smooth;
	padding: 0;
}

body{
	min-height:100%;
	font-family: "Open Sans", sans-serif;
	position: relative;
	line-height: 1.8;
	font-size: 1rem;
	font-weight: lighter;
}

#primerisima_franja{
	display: none;
}

header{
}

header #primera_franja{
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.3);
	z-index: 5;
	background: #ffffff;
}

header #logo{
	width: 182px;
	margin: 0.2rem 0 0.2rem .9rem;
}

header #btn_menu_horizontal{
	font-size: 2rem;
	text-decoration: none;
	margin-right: 1rem;
}

header #btn_menu_horizontal:visited{
	color: var(--azul);
}

header #portada_img{
	display: block;
}

header #portada1{
	width: 100%;
}
header #portada2, #portada3{
	width: 100%;
	position: absolute;
}

header #portada1{
}
header #portada2{
	z-index: 2;
	display: none;
}
header #portada3{
	z-index: 3;
	display: none;
}

#lema{
	display: none;
	position: absolute;
	top: 65px;
	left: 1rem;
	font-size: 1.7rem;
	font-family: "Creativo";
	color: white;
	z-index: 4;
	text-shadow: 2px 2px 1px #333333;
	line-height: 1rem;
	background-color: #f4f617c0;
}

/* MENÚ *********************** */
#menuGeneral{
	display: none;
	background-color: white;
	margin-left: 1rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid black;
	padding-top: 30px;
}

#menuGeneral li{
	list-style-type: circle;
    list-style-position: inside;
}

#menuGeneral a{
	color: black;
	text-decoration: none;
	font-weight: lighter;
	font-family: system-ui;
	font-size: 1rem;
}

#menuGeneral h1{
	color: var(--azul);
	font-size: 1.2rem;
	margin-top: 1rem;
	font-family: "Coolvetica";
}

.logos_rrss{
	display: flex;
	justify-content: space-between;
	width: 80%;
	margin-top: 0.5rem;
}

.logos_rrss a img{
	margin-right: 1.5rem;
	height: 3rem;
}

#link_inicio{
	display: none;
}

/* MAIN ************************************/
main{
	margin: 1rem;
}

main h1, main h2, main h3{
	font-family: "coolvetica";
}

main h1{
	font-size: 2rem;
	color: #0049af;
	line-height: 2rem;
	margin: 1rem 0;
}

main h2{
	font-size: 1.5rem;
	line-height: 2rem;
	color: black;
	margin: 3rem 0 auto 0;
}

main h3{
	font-weight: bold;
	font-size: 1.4rem;
	margin-top: 1rem;
}

main p{
	margin-bottom: 1rem;
	margin-top: 1rem;
}
main a{
	color: var(--azul);
}

main ol{
	list-style-type: decimal;
	list-style-position: inside;
}

main ol.ol_letras li{
	list-style-type: lower-alpha;
}

main a:visited{
	color: var(--azul);
}

main b{
	font-weight: bold;
}


main strong{
	color: var(--azul);
	font-weight: bold;
}

main article{
	margin: 2rem 0;
}

main article > img{
	width: 100%;
}
main article img{
	max-width: 100%;
	margin-bottom: 1rem;
}

main article ul li{
	list-style-type: circle;
	list-style-position: outside;
	margin-left: 1rem;
}

main article > p:first-of-type{
	margin-top: 1rem;
}

main .dos_columnas{
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: auto;
	flex-wrap: wrap;
}

/* PARTICULARIDADES MAIN */
.top{
	float: right;
	text-decoration: none;
	color: black;
}

.top:visited{
	color: black;
}

.a_pdf{
	padding-left: 3rem;
	padding-top: 0.5rem;
	display: inline-block;
	width: 90%;
	min-height: 3rem;
	background-image: url(../img/perm/pdficon.png);
	background-size: 2rem;
	background-repeat: no-repeat;
	background-position: left;
	text-decoration: none;
}

#oferta_educativa_contenedor{
	display: block;
	width: 100%;
}

.oferta_educativa_una{
}

.oferta_educativa_una img{
	width: 100%;
}

.organigrama h1, .organigrama h2, .organigrama p{
	margin: unset;
	padding: unset;
}
.organigrama{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 1rem;
	width: 100%;
}
.organigrama h1{
	color: black;
	font-size: 1.4rem;
}
.organigrama h2{
	font-size: 1rem;
	color: var(--azul_oscuro);
}
.organigrama h2::before{
	content: "> ";
	color: var(--naranja);
}
.organigrama .persona{
	width: 100%;
}

#extraescolares_contenedor{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem;
}

#extraescolares_contenedor a{
	width: calc(50% - 0.5rem);
}

#menu_horizontal{
	display: none;
}

#formPuertasAbiertas{
	display: block;
	border: 1px solid #777777;
	padding: 1rem;
	border-radius: 1rem;
}
#formPuertasAbiertas input, #formPuertasAbiertas select, #formPuertasAbiertas #a_leyDatos{
	margin: 0.5rem 0;
	width: calc(100% - 1rem);
}
#formPuertasAbiertas #a_leyDatos{
	padding: 1rem;
	padding-top: 2rem;
}
#formPuertasAbiertas #ch_acepto{
	width: unset;
	margin-right: 1rem;
	width: 24px;
}
#formPuertasAbiertas #btn_enviar_frm{
	background-color: var(--azul);
	border-radius: 1rem;
	color: white;
	font-weight: bold;
	margin-top: 2rem;
	width: 50%;
	margin-left: 25%;
}

#info_familias{
	margin-top: 1rem;
}
#info_familias li{
	margin-bottom: 0.5rem;
}
#info_familias a{
	/*text-decoration: none;*/
	font-weight: bold;
}
#info_familias a::after{
	content: " \2B95 ";
}

.galeria{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
.galeria a{
	display: inline;
	width: calc(50% - 0.5rem);
}
/* FOOTER ***********************************/
footer{
	background-color: var(--azul);
	color: white;
	padding: 1rem;
	font-weight: bold;
}

footer h1{
	color: white;
	font-weight: bold;
	font-size: 1.5rem;
	margin-top: 1rem;
}

footer a, footer a:visited{
	color: white;
}

footer li{
	list-style-type: circle;
    list-style-position: inside;
}
