/*----VARIABLES-----*/
:root {
    --blanco:#fff;
    --negro:#000;
    --primario:#b87552;
    --menu:#21211f;
}
@import url("../fonts/icomoon/style.css");

/*----RESET CSS---*/
*{
	margin: 0;
	padding: 0;
	box-sizing:border-box;
}

ul {
	list-style: none
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

.clear {
	clear: both;
}
html, body{
    height: 100%;
	min-height: 100%;
 	position: relative;
}

a {
	text-decoration:none;
	color:#662483;
}
body.edpe a {
	text-decoration:none;
	color:#740561;
}
p {
	display:block;
	margin:1em 0px;
}

*, *:before, *:after {
    box-sizing: inherit;
}
* {
    margin: 0;
    padding: 0;
} 
html {
    font-size: 62.5%;
    box-sizing: border-box;
}
body {
    font-size: 1.6rem!important;
    font-family: 'Roboto', sans-serif;
    line-height: normal;
}
/*---FINAL RESET CSS---*/

body {
    background-color: #e3dae9;
    font-family: "Lexend Deca", sans-serif;
    position: relative;
}
body.edpe {
    background-color: #f7bfdd;
}
.linea {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    li {
        display: block;
        width: 50%;
        text-align: center;
        a {
            display: block;
            width: 100%;
            text-align: center;
            padding: 1rem;
            color: #fff;
        }
        .mde {
            background-color: #662483;
        }
        .edpe {
            background-color: #c51b81;
        }
        .inactive {
            opacity: .2;
        }
    }
}
@media screen and (max-width: 920px) { 
    .linea {
        flex-direction: column;
        li {
            width: 100%;
        }
    }
}
header {
    display: block;
    width: 100%;
    height: 30rem;
    background-image: url(../imagenes/back_2.jpg);
    background-size: contain 100%;
    position: relative;
    z-index: 1;
    img {
        display: block;
        position: absolute;
        width: auto;
        height: 20rem;
        top: 0;
        bottom: 0;
        left:0;
        right: 0;
        margin: auto;
    }
    .mobil {
        display: none;
    }
}
header.edpe {
    background-image: url(../imagenes/back_2_2.jpg);
}
@media screen and (max-width: 920px) { 
    .template {
        .mobil {
            display: block;
        }
        .desktop {
            display: none;
        }
    }
    
}
@media screen and (max-width: 920px) { 
header.edpe {
.mobil {
            display: block;
            width: 90%;
            height: auto;
            max-width: 50rem;
        }
}
 }

.template::before {
    display: block;
    content: '';
    position: absolute;
    inset: 0px;
    margin: auto;
    width: 100%;
    height: 30rem;
    background-image: url(../imagenes/header-back.png);
    background-position: left top;
    background-repeat: no-repeat;
    background-size: auto 100%;
    z-index: 0;
}
.template.edpe::before {
    background-image: url(../imagenes/header-back-edpe.png);
}
@media screen and (max-width: 920px) { 
    .template::before {
        background-image: url(../imagenes/header-back-2.png);
        opacity: .2;
    }
    .template.edpe::before {
        background-image: url(../imagenes/header-back-2_2.png);
        opacity: .2;
    }
}
.menu {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 width: 100%;
 max-width: 50rem;
 margin: 0 auto;
 min-height: 50rem;
 li {
    margin: 1rem auto;
 }
}
.footer-template {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    section {
        .logo-ieem {
            display: flex;
            align-items: center;
            padding: 1rem 3rem 3rem 3rem;
            margin: 0 auto;
            border-top: solid 1px #b8b8b8;
            .icon-ieem-logo {
                img {
                    display: block;
                    width: auto;
                    height: 6rem;
                    margin-right: 2rem;
                }
            }
            .contactos-ieem {
                padding-top: 3rem;
                h4 {
                font-family: 'Roboto', sans-serif;
                font-weight: 900;
                }
                .icon {
                font-size: 2.5rem;
                margin-right: 1rem;
                text-decoration: none;
                height: auto;
                }
                p {
                display: inline-block;
                font-size: 1.3rem;
                margin-bottom: 1rem;
                &.coe {
                    display: flex;
                    align-items: center;
                    width: 100%;
                    font-weight: 900;
                    span {
                    display: block;
                    font-family: 'icomoon';
                    }
                }
                }
                span {
                display: inline;
                }
                a {
                display: flex;
                align-items: center;
                font-size: 1.3rem;
                font-weight: 900;
                }
            }
        }
    }
}
@media screen and (max-width: 768px) { 
    .footer-template {
        flex-direction: column;
    }
}