/********************************************************************************/
/* Pantalla PC */
/********************************************************************************/
@media screen and (min-width: 1200px) {
html{
	min-height:100%;
}

body{
	font-size: 1rem;
}

main{
	max-width: 900px;
	margin: 0 auto;
	padding-top: 1rem;
	margin-bottom: 2rem;
}


#primerisima_franja{
	display: block;
	text-align: right;
	padding: 1rem;
	background-color: #eeeeee;
}
#primerisima_franja img{
	max-height: 1.2rem;
	margin-right: 1.5rem;
}
#primerisima_franja > a:last-of-type{
	margin-right: 2rem;
}

header #portada2, #portada3{
	display: none;
	position: absolute;
	/*top: 132px;
	width: 100%;*/
}

#lema{
	top: 170px;
	font-size: 3.5rem;
}

#menu_horizontal{
	margin: 1rem 1rem 1rem 0;
	display: inline-flex;
	column-gap: 2rem;
	justify-content: space-between;
	font-size: 1.2rem;
	font-family: "Coolvetica";
}
#menu_horizontal a{
	text-decoration: none;
	font-weight: bold;
}
#menu_horizontal a, #menu_horizontal a:visited{
	color: #2563a6;
}
#menu_horizontal a:hover{
	color: #1d4f91;
}

/* MENÚ GENERAL */
#btn_menu_horizontal{
	display: none;
}

#menuGeneral{
	position: unset;
	display: block;
	float: left;
	padding: 1rem;
	border: unset;
	border-radius: unset;
	width: 250px;
	margin-top: 0.5rem;
}

#menuGeneral ul >h1:first-of-type{
	margin-top: unset;
}

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

#menuGeneral li.section{
	list-style-type: none;
}

#link_inicio{
	display: block;
	list-style-type: none;
}
#link_inicio a{
	color: var(--azul);
	font-weight: bold;
	font-family: "Coolvetica";
	font-size: 1.2rem;
}
/* MAIN */
main{
	max-width: 900px;
	margin-left: calc(50vw - 450px + 150px + 2rem)
}

main article{
	padding-bottom: 2rem;
}

main article h1{
	font-size: 2.5rem;
	padding-bottom: 0.5rem;
}
main article h2{
	font-size: 2rem;
	padding-bottom: 0.5rem;
}

p{
	text-align: justify;
}


/* PARTICULARIDADES MAIN */

.organigrama .persona{
	width: calc(50% - 0.5rem);
}

#extraescolares_contenedor{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem;
}
#extraescolares_contenedor a{
	width: calc(33% - 0.5rem);
}


#oferta_educativa_contenedor{
	display: flex;
	justify-content: space-between;
	column-gap: 2rem;
	flex-wrap: wrap;
}
.oferta_educativa_una{
	/*flex: 1 1 0px;*/
	width: calc(50% - 1rem);
}
.oferta_educativa_una p{
	text-align: justify;
}


#formPuertasAbiertas{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem;
	border: 1px solid #777777;
	padding: 2rem;
	border-radius: 1rem;
}
#formPuertasAbiertas input, #formPuertasAbiertas select, #formPuertasAbiertas #a_leyDatos{
	width: calc(50% - 1rem);
}
#formPuertasAbiertas #a_leyDatos{
	display: flex;	
	justify-content: flex-end;
	padding: unset;
}
#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%;
}

.solidaria_i{
	float: left;
	margin-right: 1rem;
}
.solidaria_d{
	float: right;
	margin-left: 1rem;
}


/***************************************************/
footer{
	clear: both;
	padding-bottom: 3rem;
}

footer .logos_rrss{
	max-width: 300px;
}

}


.user-menu {
  position: relative;
  display: inline-block;
}

/* Botón que abre/cierra el menú */
.dropdownButton {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  font-family: "Coolvetica";
  color: #2563a6;
  border-radius: 0.375rem; /* 6px */
  border: none;
  background: none;
}

.dropdownButton:hover {
  color: #1d4f91;
}

/* Menú desplegable */
.dropdownMenu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.25rem; /* pequeño espacio debajo del botón */
  min-width: 120px;
  background-color: #fff; /* gris oscuro */
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  z-index: 50;
  text-align: right;
  transition: display .38s;

  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.dropdownMenu.open {
  opacity: 1;
  transform: scaleY(1);
  pointer-events: auto; /* ahora se puede interactuar */
}

.dropdown-options{
	display: flex;
	flex-direction: column;
}

/* Botones dentro del dropdown */
.dropdownMenu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  color: #2563a6 ; /* gris claro */
  text-decoration: none;
}

.dropdownMenu a:hover {
    background-color: none; /* gris un poco más claro */
    color: #133962;
    transition: 0.18s;

}

.dropdownMenu a:active {
    background-color: none; /* gris un poco más claro */
    color: #3577b3;
    transition: 0.18s;
}