/* -- GENERAL -- */
p {color: #292b2c;}

hr {margin: 20px 0;}

/* Bordes de Pestañas */
.sow-tabs .sow-tabs-tab-container, .sow-tabs-tab {
		border-radius: 10px 10px 0 0;
}

.sow-tabs .sow-tabs-panel-container {
		border-radius: 0 0 10px 10px;
}

/* scroll bar */
body::-webkit-scrollbar {
		width: 5px;
		background: #000;
}

body::-webkit-scrollbar-thumb {
		border-radius: 10px;
		background: #aed000;
}

.sidebar .widget a {font-size: 13px;}

/* bordes redondeados the-post-grid */
.rt-holder {border-radius: 12px;}

.rt-holder a:hover {text-decoration: none;}


/* -- HEADER -- */
/* Ocultar cabecera de la Comunidad de Madrid */
#EMheader {display: none;}

/* tamaño letra header */
header#masthead * {
		font-size: 14px;
		background: #AED000;
}

header#masthead.no-scroll * {
		text-shadow: 0;
}

.site-header {
		background-color: #aed000;
}


/* logo */
div.site-branding {
		margin-bottom: 4px;
}

/* nav */
.onepress-menu a:hover {
		font-weight: bold;
		background-color: black;
		color: white;
}

.onepress-menu ul li a:hover {
		background-color: black;
		color: white;
}

.onepress-menu ul li a {
		border-radius: 10px;
		box-shadow: 5px 5px 10px 0 #00000033;
}

.no-scroll.site-header .onepress-menu ul li a {
		border-radius: 10px;
		box-shadow: 5px 5px 10px 0 #00000033;
}

/* enlaces nav */
.onepress-menu a {
		padding-left: 10px;
    padding-right: 10px;
		background-color: black;
		color: white;
}

body.page-child header.no-scroll .onepress-menu ul li {
		background-color: black;
		color: white;
    backdrop-filter: none;
    border-radius: 10px;
    overflow: hidden;
    transition: none;
		box-shadow: 0 5px 10px 0 #00000033;
}

body.page-child header.no-scroll .onepress-menu ul li a {
		background-color: black;
		color: white;
}

body.page-child header.no-scroll .onepress-menu ul li a:hover {background-color: black;
		color: white;}

/* noticias */
.about-image, .about-image + h3 {display: none;}

#btnNoticias a {
  color: #fff;
  background-color: #aed000;
  text-decoration: none;
  box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.1) inset;
}

#btnNoticias a:hover {
  color: #aed000;
  background-color: #fff;
}

/* paginas */
body:not(.home) header#masthead.no-scroll * {
		text-shadow: none;
}

body:not(.home) header.no-scroll .onepress-menu ul li a:hover {
		color: #41537b;
}

/* PC */
@media screen and (min-width: 1140px) {
		/* NAV */
		/*tamaño nav*/
		header .container {
				width: 1140px;
				max-width: 95%;
				background: #AED000;
		}
		
		/*colores y enlaces*/
		/*.is-transparent .no-scroll.site-header .onepress-menu {background: #AED000; border: none;}
		.is-transparent .no-scroll.site-header .onepress-menu > li > a:hover {
				font-weight: bold;
				color: #aed000;
		}*/
		
		body.post-template-default * header#masthead .container div nav .menu-item-688 {display: none;}
		
		/* SOMBRAS Y BORDES */
		/*general*/
		.onepress-menu ul {border: none;}
		
		.onepress-menu ul a {box-shadow: 0 5px 10px 0 #00000033;}
		
		body.page-child * * .onepress-menu ul a {box-shadow: 0;}
		
		/*paginas*/
		body.page-child * header#masthead.no-scroll * {text-shadow: none;}
		
		header#masthead.no-scroll * {text-shadow: 2px 2px 5px #00000066;}
}

/* MÓVIL */
@media screen and (max-width: 1140px) {
		/* nav */
		.onepress-menu.onepress-menu-mobile > li:first-child {
				border-top: solid 1px #fff;
				color: white;
		}
		
		#site-navigation .nav-toggle-subarrow {border: none;}
		
		.is-transparent .no-scroll.site-header .onepress-menu > li * {
				font-weight: bold;
				background-color: black;
		color: white;
		}
		
		.is-transparent .no-scroll.site-header .onepress-menu > li > a:hover {
				background-color: black;
		color: white;
		}

		/* sub nav */
		.onepress-menu.onepress-menu-mobile li {
				background-color: black;
		color: white;
		}
		
		body.page-child header.no-scroll .onepress-menu ul li a {
				background-color: black;
		color: white;
		}
		
		body.page-child header.no-scroll .onepress-menu ul li a:hover {background-color: black;
		color: white;}
		
		.is-transparent .no-scroll.site-header .onepress-menu > li * {
				border-radius: 10px;
		}
		
		.is-transparent .no-scroll.site-header .onepress-menu > li *:hover {
				background-color: black;
		color: white;
		}
		
		.onepress-menu.onepress-menu-mobile a:hover {
				background-color: black;
		color: white;
		}
		
		.menu-item:last-child {display: none;}
}


/* -- MAIN --*/
/* slider */
#hero .btn-theme-primary:hover {
		border: solid 1px #aed000;
    background-color: #00000000;
    color: #aed000;
}

/* buscador */
.search-field {
		border-radius: 10px;
		outline: transparent;
}

input.search-submit[type="submit"] {
		border-radius: 10px;
}

/* PÁGINA DE INICIO */

/* -- FOOTER -- */
.wp-block-column.is-vertically-aligned-center {
    align-self: auto;
}

.sidebar .widget .wp-block-social-link-anchor {
		font-size: 60%;
}

.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg {
		color: gray;
}

.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg:hover {
		color: currentColor;
}

.sidebar .widget ul {
		padding-left: 0;
}

@media screen and (max-width: 600px) {
		#boxFooter {
				align-items: center;
				flex-direction: column;
		}
		
		#boxFooter .center {
				text-align: center;
		}
		
		.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
				display: grid;
    		place-items: center;
		}
		
		.sidebar .widget ul {
				padding-left: 10%;
		}
}

@media screen and (max-width: 575px) {
		
		
		.col-sm-6 {
				-webkit-box-flex: 0;
    		flex: 0 0 50%;
    		max-width: 50%;
		}
}

div.wp-block-column p.has-text-color strong a[target="_blank"] {
		color: #ccc;
}


/*-- PÁGINAS --*/
/* El Centro > Departamentos */
#boxDepart .filas {
		width: 100%;
		height: auto;
}

#boxDepart .filas img {
		width: 300px;
		height: 300px;
		border-radius: 12px;
		transition: .5s, color .10s;
		-webkit-transition: .5s, color .10s;
		-moz-transition: .5s, color .10s;
}

#boxDepart .filas img:hover {
		opacity: 75%;
		transform: translatey(-20px);
		-webkit-transform: translatey(-20px);
    -moz-transform: translatey(-20px);
}

/* Oferta Educativa > Eso y Bachillerato */
.ofEdu * {
		border-radius: 12px;
}

/* SECRETARÍA */
#boxDownload {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: nowrap;
  align-items: center;
  margin-button: 2%;
}

.textBeforeBtn {
  margin-right: .5%;
}

#boxDownload a {
  text-decoration: none;
  font-weight: bold;
}
.btnDownload {
  padding: 3px 6px;
  border: solid 2.5px #aed000;
  border-radius: 6px;
  text-align: center;
  transition: .5s;
}

.btnDownload:hover {
  border-color: #aed000;
  background-color: #41537bdd;
}

.btnDownload a:hover {
  color: #fff;
}

.right-sidebar .content-area {
		width: 100%;
		border-right: 0;
}