@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Roboto-Regular.ttf');
}
@font-face {
    font-family: 'Roboto-Medium';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/Roboto-Medium.ttf');
}
@font-face {
    font-family: 'Roboto-Bold';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Roboto-Bold.ttf');
}

.fi-es-iku {
    background-image:url(../flags/euskera.svg);
    background-size: cover;
}

.flags a {
    text-decoration: none;
}

header {
    padding: 12px;
    border-bottom: 1px solid #00000021;
}

body {
    font-family: 'Roboto';
}


h1, h2, h3, h4, h5, h6 {
    margin-top: 1em;
    margin-bottom: .5em;
}

h2 {
    font-size: 1.5em;
}
h3 {
    font-size: 1.3em;
}

a:hover {
    color: #0c519f;
}

a {
    color: #0c519f;
    text-decoration: underline;
    transition: all 0.5s ease-in;
}

.back a {
    border-bottom: 1px dashed;
}

.flags {
    text-align: right;
}
.flags a[data-lang] {
    cursor: pointer;
    text-decoration: none;
}

.logo img {
    width: 300px;
    object-fit: contain;
    border-radius: 0;
}

img {
    width: 100%;
    border-radius: 12px;
    height: 100%;
    object-fit: cover;
}

.title {
    font-family: 'Roboto-Medium';
}

.ficha {
    background-color: #efefef;
    padding: 14px 0;
    border-radius: 6px;
    box-shadow: 5px 5px 14px 2px #00000033;
}

.ficha h5 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
    margin-right: 50px;
    color: #434343;
}
.ficha p {
    color: #757575;
}

.map { height: 200px;}

.boxes .box {
    background-color: #efefef;
    height: 100%;
    border-radius: 4px;
}

.boxes .box .title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4em;
}
.boxes .box .subtitle {
    font-size: 14px;
    line-height: 12px;
}

.separator {
    width: 15%;
    border-bottom: 1px solid #ccc;
    height: 1px;
}

.cronogram-content {
    position: relative;
}
.cronogram-content::before {
    content: "";
    width: 98%;
    height: 2px;
    display: block;
    background: #ccc;
    position: absolute;
    top: 66.2%;
    z-index: -2;
}
.cronogram .box {
    text-align: center;
    box-shadow: 0px 0px 4px 1px #00000043;
    padding: 18px 0px;
    border-radius: 6px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cronogram .title {
    font-weight: bold;
    font-size: 16px;
}

.cronogram .description {
    font-size: 15px;
}

.cronogram .date::before {
    content: "";
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 100%;
    margin: 16px auto;
    box-shadow: 0 0 4px 1px #000000;
    background: white;
}

.cronogram .date {
    font-size: 14px;
}


.conocenos img {
    width: 220px;
}
.conocenos img#logo-repsol {
    position: relative;
    left: 0px;
}
.conocenos img#logo-oco {
    position: relative;
    left: -20px;
}

.conocenos .description p {
    text-align: justify;
}

footer {
    padding: 2em 0;
    border-top: 1px solid #ccc;
    background-color: #efefef;
    box-shadow: 0px -5px 10px 0px #00000021;
}

footer img {
    width: 200px;
    border-radius: 0;
    display: inline-block;
}
footer .links {
    padding-bottom: 2em;
}
footer .links a {
    padding: .5em;
    text-decoration: none;
    color: #666; 
}

footer .links a:first-child {
    padding-left: 0;
}

@media (max-width:425px){
    .cronogram-content::before {
        content: "";
        width: 2px;
        height: 98%;
        display: block;
        background: #ccc;
        position: absolute;
        top: 0;
        left: 32px;
        z-index: -2;
    }
    .cronogram .box {
        position: relative;
        margin-bottom: 24px;
    }
    
    .cronogram .date::before {
        position: absolute;
        left: -50px;
        top: calc(50% - 8px);
    }
    footer .links a {
        display: block;
        padding: 0.3em 0;
    }
}