/*
Theme Name: Emilio Aragón 2026
Theme URI: http://elufo.com
Description: Emilio Aragón Theme basado elufo BaseTheme 2.0
Author: elufo
Author URI: http://elufo.com
Version: 3.0
*/

a {color: #6a6a6a; outline: none;}
a:hover {color: #a9a9a9;}
::-moz-selection{background: #6a6a6a; color: #fff; text-shadow: none;}
::selection {background: #6a6a6a; color: #fff; text-shadow: none;}
a:link {-webkit-tap-highlight-color: #6a6a6a;}
ins {background-color: #6a6a6a; color: #000; text-decoration: none;}
mark {background-color: #6a6a6a; color: #000; font-style: italic; font-weight: bold;}
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }
a[rel="contact"] i{ display: none; }

/* Generales
-------------------------------------------------------------------------------*/

body{ font-family: 'Roboto Condensed', 'Roboto', Arial, Verdana, Geneva, Helvetica, sans-serif; background-color: white; margin: 0; padding: 0; font-size: 90%; font-weight: 400; font-style: normal; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; }
header{ background-color: rgba(255,255,255,1); position: fixed; margin: 0; top: 0; z-index: 10; height: 30px; width: 100%; padding: 30px 0; }

header .wrapper{ margin: 0 auto; max-width: 1240px; padding: 0 20px; }
#wrapper{ width: 100%; max-width: 1120px; margin: 0 auto; padding: 90px 0 30px 0; }

h1.seccion{ text-align: center; text-transform: uppercase; font-weight: 500; color: #6a6a6a; font-size: 170%; margin: 0 0 40px 0; }

.widget{ margin: 0 0 30px 0; padding: 0 0 0 76px; font-size: 60%; }
.widget h2{ margin: 0; padding: 0; text-transform: uppercase; font-weight: 500; }
.widget ul{ list-style: none; margin: 0; padding: 0; }
.widget a{ text-decoration: none; line-height: 1.5em; }
nav .widget{ color: #6a6a6a; }
nav .widget a{ color: #a9a9a9;}

ul.navigation{ margin: 0 20px; padding: 0; list-style: none; text-align: center; }
ul.navigation li{ display: inline; padding: 0 20px; }

/* Privacidad */
.page-privacidad-php article.post{ padding: 40px; }
.page-privacidad-php article.post .entry{ margin: 0 auto; max-width: 100%; display: block; border: 0; }
.page-privacidad-php article.post .entry{ margin: 0; padding: 0; max-width: 100%; text-align: justify; }
.page-privacidad-php article.post .entry .articleheader{ text-align: center; }
.page-privacidad-php article.post .entry h1{ font-size: 140%; }
.page-privacidad-php article.post .entry h2{ font-size: 120%; }
.page-privacidad-php article.post .entry ul.info{ list-style-type: lower-latin; }
.page-privacidad-php article.post .entry ul li{ margin: 0 0 .5em 0; }
.page-privacidad-php article.post .entry #cookies{ margin-top: 60px; padding-top: 40px; border-top: 1px solid #a9a9a9; }
.page-privacidad-php article.post .entry table{ margin: 0 0 20px 0; border-collapse: collapse; border-spacing: 0px; }
.page-privacidad-php article.post .entry table caption{ background-color: #333333; color: white; padding: 5px 10px; }
.page-privacidad-php article.post .entry table th{ text-align: center; background-color: #6a6a6a; border: 1px solid black; padding: 5px 10px; color: white; }
.page-privacidad-php article.post .entry table td{ border: 1px solid black; padding: 5px 10px; white-space: nowrap; }
.page-privacidad-php article.post .entry table tr td:nth-child(1),
.page-privacidad-php article.post .entry table tr td:nth-child(2){ width: 130px; }
.page-privacidad-php article.post .entry table tr td:nth-child(3){ white-space: normal; }


/* Cabecera */
header .headerflex{ display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-content: flex-start; align-items: center; }
a#home{ display: block; width: 30px; flex: 0 0 auto; }
a#home img{ display: block; margin: 0; border: 0; width: 100%; max-width: 30px; height: auto; }
a#home:hover img{ opacity: .5; }
h1#logo{ flex: 0 1 auto; margin: 0; padding: 0; max-height: 30px; max-width: 50%; }
h1#logo img{ display: block; margin: 0; border: 0; width: 100%; height: auto; max-width: 316px;}
#menuicon{ flex: 0 0 auto; width: 30px; height: 30px; margin: 0 0 0 0; }
#menuicon label.ckmenu{ display: block; cursor: pointer; border-top: 6px solid #6a6a6a; border-bottom: 6px solid #6a6a6a; padding: 6px 0; margin: 0 auto; width: 30px; }
#menuicon label.ckmenu span{ display: block; background-color: #6a6a6a; color: white; font-size: 1px; height: 6px; text-indent: -9999px; overflow: hidden; }

/* Menu */
#ckmenu{ display: none; }
nav{ position: fixed; z-index: 200; background-color: white; top: 0; bottom: 0; right: -260px; width: 260px; transition: right 300ms; }
#ckmenu:checked + nav{ right: 0; transition: right 300ms; box-shadow: 0px 0px 10px 0px rgba(000,000,000,0.5); }
.menuheader{ padding: 20px; margin: 0 0 20px 0; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-content: center; align-items: center; }
.menuheader label.ckmenu{ margin: 0 20px 0 0; display: block; width: 30px; height: 30px; cursor: pointer; flex: 0 0 auto; }
.menuheader label.ckmenu span{ background-color: #6a6a6a; display: block; font-size: 1px; height: 2px; width: 38px; text-indent: -999px; transform: rotate(45deg) translateY(13px) translateX(7px); }
.menuheader label.ckmenu span:after{ content: ""; background-color: #6a6a6a; display: block; font-size: 1px; height: 2px; width: 38px; text-indent: -999px; transform: rotate(90deg) translateY(0px) translateX(-2px); }
.menuheader label.ckmenu:hover span,
.menuheader label.ckmenu:hover span:after{ background-color: black; }
.menuheader a img{ display: block; margin: 0; border: 0; max-width: 50px; }
.menuheader a:hover img{ opacity:.5 !important; }
.menu-menuprincipal-container .menu, .menu-menuprincipalen-container .menu{ list-style: none; margin: 0; padding: 0 0 0 76px; }
.menu-menuprincipal-container .menu > li, .menu-menuprincipalen-container .menu > li{ margin: 0 0 30px 0; }
.menu-menuprincipal-container .menu a, .menu-menuprincipalen-container .menu a{ text-decoration: none; font-weight: 500; text-transform: uppercase; font-size: 140%; }
.menu-menuprincipal-container .sub-menu, .menu-menuprincipalen-container .sub-menu{ list-style: none; margin: 0; padding: 0; line-height: .8em; }
.menu-menuprincipal-container .sub-menu span, .menu-menuprincipalen-container .sub-menu span{ font-size: 100%; color: #a9a9a9; font-weight: 500; text-transform: uppercase; font-size: 70%; }

nav.mobile .menu li ul, nav.mobile .widget{ display: none; }
nav.mobile .menu > li { margin: 0 0 15px 0; }

.wpml-ls ul{ padding: 0 0 20px 59px !important; }
.wpml-ls ul a{ text-transform: uppercase; font-size: 140%; }
.wpml-ls ul a span{ display: none; }
.wpml-ls ul .wpml-ls-item-es a:before{ content: "ES"; }
.wpml-ls ul .wpml-ls-item-en a:before{ content: "EN"; }


/* Portada */
.page-home-php #wrapper{ max-width: 100%; padding: 0; }
.page-home-php #background{ position: absolute; margin: 0; padding: 0; list-style: none; z-index: -1; top: 0; right: 0; bottom: 0; left: 0; background-size: cover; background-repeat: no-repeat; background-position: center 90px; background-attachment: fixed; }
.page-home-php #background li{ position: absolute; width: 100%; height: 100%; bottom: 0; background-size: cover; background-repeat: no-repeat; background-position: center 90px; background-attachment: fixed; z-index: 0; opacity: 0; transition: opacity 500ms; }
.page-home-php #background li.active{ z-index: 1; opacity: 1; }
.page-home-php #cover{ list-style: none; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-content: stretch; align-items: stretch; position: absolute; margin: 0; padding: 0; z-index: 0; top: 90px; right: 0; bottom: 0; left: 0; }
.page-home-php #cover li{ flex: 1 1 auto; padding: 0; width: calc(100% / 3); z-index: 1; position: relative; }
.page-home-php #cover a{ display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-right: 1px solid white; background-size: 0; }
.page-home-php #cover li:last-child a{ border: 0; }
.page-home-php #cover .coverlink{ color: white; position: absolute; left: 5em; bottom: 5em; transition: bottom 500ms; height: 8em; text-shadow: 1px 1px 2px black; }
.page-home-php #cover a:hover .coverlink{ bottom: 17em; }
.page-home-php #cover .coverlink strong{ display: block; font-weight: 400; text-transform: uppercase; font-size: 180%; }
.page-home-php #cover .coverlink small{ display: block; text-transform: uppercase; font-size: 90%; }
.page-home-php footer{ display: none; }

/* News */
body.blog .flex{ display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-content: space-between; align-items: stretch; padding: 0; }
body.blog .flex .entrybox{ flex: 1 1 auto; max-width: calc(50% - 40px); width: calc(100% - 40px); padding: 0 20px; margin: 0 0 40px 0; }
body.blog article{ margin: 0; display: flex; flex-direction: row; flex-wrap: no-wrap; justify-content: flex-start; align-content: center; align-items: stretch; text-align: justify; height: 100%; }
body.blog article time{ color: black; flex: 1 1 auto; display: flex; flex-direction: column; flex-wrap: wrap; justify-content: center; position: relative; margin: 0 20px 0 0; }
body.blog article time span{ display: block; text-align: right; line-height: .8em; }
body.blog article time span.day{ font-weight: 700; font-size: 250%; }
body.blog article time span.month{ font-weight: 400; font-size: 150%; }
body.blog article time span.year{ font-weight: 700; font-size: 150%; }

body.blog article img{ display: block; width: 100%; height: auto; margin: 0 auto 10px auto; }
body.blog article .videobox { position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; margin: 0 auto 10px auto; }
body.blog article .videobox iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

body.blog article a{ color: black; }
body.blog article .entry{ flex: 1 1 auto; background-color: #edecf1; border: 1px solid #edecf1; box-shadow: inset 0 0 0 3px #FFFFFF; border-radius: 15px; padding: 20px; position: relative; width: 100%; }
body.blog article .entry:after{ content: ""; position: absolute; z-index: 1; pointer-events: none; width: 0; height: 0; border-style: solid; border-width: 30px 20px 30px 0; border-color: transparent #edecf1 transparent transparent; top: calc(50% - 30px); left: -17px; }

body.blog article .entry h2{ margin: 0; font-weight: 700; font-size: 130%; }
body.blog article .entry p{ margin: 0; }



/* About */

.page-about-php ul.selector{ margin: 0 0 20px 0; padding: 0; list-style: none; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-content: center; align-items: center; }
.page-about-php ul.selector li{ flex: 1 1 auto; max-width: 100px; }
.page-about-php ul.selector label{ cursor: pointer; display: block; width: 50px; margin: 0 auto; }
.page-about-php ul.selector label img{ display: block; margin: 0; width: 100%; height: auto; }
.page-about-php ul.selector label:hover img{ opacity: .5; }

.page-about-php article, .page-about-php input{ display: none; }
.page-about-php input:checked + article{ display: block; }

.page-about-php #aboutpost .entry{ padding: 0 20px; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-content: stretch; align-items: stretch; }
.page-about-php #aboutpost .entry img{ display: block; margin: 0; width: 100%; height: auto; }
.page-about-php #aboutpost .entry figure{ margin: 0 20px 0 0; padding: 0; flex: 1 1 auto; max-width: 25%; }
.page-about-php #aboutpost .entry .content{ flex: 1 1 auto; max-width: 75%; }
.page-about-php #aboutpost .entry .content p{ margin: 0 0 1em 0; text-align: justify; }



@keyframes pulse_animation {
    0% { opacity: 1; }
    50% { opacity: .1; }
    100% { opacity: 1; }
}
#aboutlist{ font-size: 110%; margin: 0 20px; padding: 60px 0; font-family: 'Roboto Condensed', 'Roboto'; }
#aboutlist dl{ margin: 0 auto; list-style: none; padding: 5px 10px 5px 10px; display: flex; flex-direction: row; flex-wrap: no-wrap; justify-content: center; align-content: space-between; align-items: center; background: white url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkW/D4PwAExwKKjLl9pAAAAABJRU5ErkJggg==) repeat-y center; }
#aboutlist dl dt.titulo{ text-align: right; flex: 0 1 auto; width: 100%; margin: 0; padding: 0 15px 0 0; display: flex; justify-content: flex-end; align-items: center; color: #a9a9a9; position: relative;}
#aboutlist dl dt.titulo strong{ max-width: 60%; font-weight: 400; }
#aboutlist dl dt.titulo small{ display: block; font-style: italic; font-size: 60%; }
#aboutlist dl dt.titulo img{ margin: 0 0 0 0; display: block; width: 100%; height: auto; max-width: 210px; border: 0; }
#aboutlist dl:first-child dt.titulo a img{ animation: pulse_animation 3s infinite linear; }
#aboutlist dl dd.fecha{ display: flex; justify-content: center; align-items: center; margin: 0; }
#aboutlist dl dd.canal{ flex: 0 1 auto; width: 100%; margin: 0; padding: 0 0 0 15px; display: flex; justify-content: flex-start; align-items: center; font-size: 70%; }
#aboutlist dl dd.canal img{ margin: 0 0 0 0; display: block; width: 100%; height: auto; max-width: 164px; border: 0; }
#aboutlist dl dd.canal p{ margin: 0 0 0 0; display: flex; justify-content: flex-start; align-items: center; max-width: 60%; }
#aboutlist dl dd.canal span{ margin: 0 5px 0 0; }

#aboutlist dl.Proyecto, #aboutlist dl.Corporativo{ padding: 10px 10px; }

#aboutlist dl.Proyecto dt.titulo{ font-size: 130%; color: #6a6a6a !important; }
#aboutlist dl.Corporativo dt.titulo{ font-size: 130%; color: black !important; }
#aboutlist dl.Referencia dt.titulo{ color: #a9a9a9; }

#aboutlist dl.Proyecto dd.fecha span{ display: block; border: 1px solid #06a0e3; color: #06a0e3; width: 50px; height: 50px; line-height: 50px; text-align: center; border-radius: 25px; font-weight: 700; background-color: white; }
#aboutlist dl.Corporativo dd.fecha span{ display: block; width: 50px; height: 50px; line-height: 50px; text-align: center; background-color: #06a0e3; color: white; font-weight: 700; }
#aboutlist dl.Referencia dd.fecha span{ display: block; width: 30px; height: 30px; line-height: 30px; border-radius: 15px; text-align: center; background-color: #06a0e3; color: white; font-size: 60%; font-weight: 500; }
#aboutlist dl.gris{ background: white url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNc+R8AAlcBqugYjdEAAAAASUVORK5CYII=) repeat-y center; }
#aboutlist dl.gris.Proyecto dd.fecha span{ border: 1px solid #6a6a6a; color: #6a6a6a; }
#aboutlist dl.gris.Corporativo dd.fecha span{ background-color: black; color: white; }
#aboutlist dl.gris.Referencia dd.fecha span{ background-color: #a9a9a9; color: white; }
#aboutlist dl.gris dt.titulo a img{ animation: pulse_animation 3s infinite linear; }


/* Projects archive */
body.archive-proyectos-php #filtrocat{ margin: 0 0 40px 0; padding: 0 10px; list-style: none; display: flex; flex-direction: row; flex-wrap: no-wrap; justify-content: center; align-content: space-between; align-items: stretch; }
body.archive-proyectos-php #filtrocat li{ flex: 1 1 auto; max-width: 80px; }
body.archive-proyectos-php #filtrocat li a{ display: block; margin: 0 10px; }
body.archive-proyectos-php #filtrocat li img{ display: block; width: 100%; height: auto; margin: 0; }
body.archive-proyectos-php #filtrocat li a:hover img,
body.archive-proyectos-php #filtrocat li a.active img{ opacity: .5; }


body.archive-proyectos-php .flex{ display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-content: space-between; align-items: stretch; padding: 0 10px; }
body.archive-proyectos-php .flex .entrybox{ flex: 1 1 auto; width: calc(100% / 3); max-width: calc(100% / 3); margin: 0 0 20px 0; }
body.archive-proyectos-php .flex .entrybox article{ margin: 0 10px; }
body.archive-proyectos-php article img{ display: block; width: 100%; height: auto; margin: 0; }

/* Projects single */
body.single-proyectos-php article{  margin: 0 0 0 0; padding: 0 0 20px 0; }
body.single-proyectos-php article .cats{ text-transform: uppercase; text-align: center; font-size: 240%; margin: 0 0 20px 0; }
body.single-proyectos-php .entry-content{ display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-content: space-between; }
body.single-proyectos-php .col1{ flex: 1 1 auto; width: calc(75% - 60px); max-width: 100%; padding: 20px;}
body.single-proyectos-php .col2{ flex: 1 1 auto; width: calc(25% - 20px); margin: 0 0 0 20px; max-width: 100%; min-width: 178px; }
body.single-proyectos-php article .maininfo figure{ width: 43%; margin: 0 20px 20px 0; padding: 0; float: left; }
body.single-proyectos-php article .maininfo img{ display: block; margin: 0 auto; width: 100%; height: auto; }
body.single-proyectos-php article .maininfo .entry{ margin: 0 0 20px 43%; }
body.single-proyectos-php article .maininfo .detalle{ margin: 0 0 20px 0; margin-left: calc(43% + 20px); padding: 20px 0; border-top: 4px double #a9a9a9; border-bottom: 4px double #a9a9a9; line-height: 1.5em; }
body.single-proyectos-php article .maininfo .detalle ul{ list-style: none; margin: 0; padding: 0; }
body.single-proyectos-php article .entry p{ margin: 0 0 2em 0; padding: 0 0 0 20px; text-align: justify; }
body.single-proyectos-php article .data div{ padding: 20px; }
body.single-proyectos-php article .data ul{ margin: 0 0 20px 0; padding: 0 0 0 15px; list-style: square; }
body.single-proyectos-php article .data h2{ margin: 0 0 20px 0; font-size: 130%; text-transform: uppercase; }
body.single-proyectos-php article .data p + h2{ margin: 40px 0 20px 0; }
.fotorama{ margin: 0 20px 0 0; width: 100%; clear: both; }

.enlaces{ margin: 0 auto; padding: 40px 0 0 0; list-style: none; text-align: center; }
.enlaces li{ display: inline-block; padding: 0 5px; margin: 0; }
.enlaces li a{ background-color: #6a6a6a; text-decoration: none; color: white; padding: 10px; display: inline-block; margin: 0 0 10px 0; }
.enlaces li a:hover{ background-color: #a9a9a9; }

.social{ margin: 0 auto; padding: 40px 0 0 0; list-style: none; width: 150px; text-align: center; clear: both; }
.social li{ display: inline; padding: 0 5px; }
.social li a{ width: 20px; height: 20px; }
.social li img{ margin: 0; border: 0; width: 20px; height: 20px; filter: grayscale(100%);  }



/* Media queries!
-------------------------------------------------------------------------------*/

@media screen and (max-width: 640px) {
	.page-home-php #background{ display: none; }
	.page-home-php #cover a{ background-size: cover; background-repeat: no-repeat; background-position: center center; background-attachment: inherit; }	
	.page-home-php #cover a:hover .coverlink{ bottom: 6em; }
	
	body.blog .flex{ flex-direction: column; }
	body.blog .entrybox{ max-width: calc(100% - 40px) !important; width: calc(100% - 40px); }
	
	#aboutlist dl dt.titulo strong,
	#aboutlist dl dd.canal p{ max-width: 100%; }
	
	body.single-proyectos-php .col1{ margin: 0 0 20px 0; }
	body.single-proyectos-php .col2{ width: 100%; margin: 0 0 0 0; }
	body.single-proyectos-php .col2 .data{ display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-content: space-between; align-items: strectch; }
	body.single-proyectos-php .col2 .data div{ flex: 1 1 auto; width: calc(50% - 40px); }
	body.single-proyectos-php article .maininfo .detalle{ margin-left: 0; float: none; clear: both; }
	
	.page-about-php #aboutpost .entry{ flex-direction: column; }
	.page-about-php #aboutpost .entry figure{ margin: 0 0 20px 0; max-width: 100%; }
	.page-about-php #aboutpost .entry .content{ max-width: 100%; }
	
}

@media screen and (max-width: 600px) {

	.page-home-php #background{ display: none; }
	.page-home-php #cover{ flex-direction: column; }
	.page-home-php #cover li{ width: 100%; }
	.page-home-php #cover a{ background-size: cover; background-repeat: no-repeat; background-position: top center; background-attachment: inherit; border-bottom: 1px solid white; border-right: 0; }
	.page-home-php #cover .coverlink{ bottom: 2em; }
	.page-home-php #cover a:hover .coverlink{ bottom: 3em; }
	
	body.archive-proyectos-php .flex .entrybox{ width: calc(100% / 2); max-width: calc(100% / 2); }
	
}


@media screen and (max-width: 480px) {

	body.blog article time{ font-size: 70%; }
	#aboutlist dl dt.titulo strong{ font-size: 80%; }
	#aboutlist dl.Proyecto dd.fecha span,
	#aboutlist dl.Corporativo dd.fecha span{ width: 30px; height: 30px; line-height: 30px; font-size: 70%; }

	body.single-proyectos-php article .maininfo figure{ width: 100%; margin: 0 0 20px 0; float: none; }
	body.single-proyectos-php article .maininfo .entry{ margin: 0 0 20px 0; }
	body.single-proyectos-php article .maininfo .entry p{ padding: 0; }
	
	body.archive-proyectos-php #filtrocat li a{ margin: 0 5px; }
	body.archive-proyectos-php .flex .entrybox{ width: 100%; max-width: 100%; }
	
	.page-privacidad-php article.post .entry table{ font-size: 80%; }
	.page-privacidad-php article.post .entry table caption{ padding: 5px 5px; }
	.page-privacidad-php article.post .entry table th{ padding: 5px 5px; }
	.page-privacidad-php article.post .entry table td{ padding: 5px 5px; white-space: normal; }
	.page-privacidad-php article.post .entry table tr td:nth-child(1),
	.page-privacidad-php article.post .entry table tr td:nth-child(2){ width: auto; }
	.page-privacidad-php article.post .entry ul{ text-align: left; }
}