@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&display=swap');

* {
    margin: 0px;
    padding: 0px;
    outline: none;
    font-family: 'Roboto Slab', serif;
}

body {
    overflow-x: hidden;
}

@media (max-width: 1199px) {
    body {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
}

header {
    position: relative;
    margin-top: 50px;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

header #logo {
    width: 316px;
    height: 78px;
    margin-bottom: 50px;
    ;
}

header #logo a {
    display: block;
    width: 100%;
    height: 100%;
}

header #logo h1 {
    text-indent: -99999px;
    display: none;
}

header .menu {
    float: right;
    position: absolute;
    right: 0px;
    top: 35px;
}

header .menu ul {
    list-style: none;
}

header .menu ul li {
    display: inline;
    margin-right: 60px;
}

header .menu ul li:last-child {
    margin-right: 0px;
}

header .menu ul li a {
    text-decoration: none;
    color: #121212;
    font-size: 14px;
    font-weight: bold;
}

header .menu ul li.selected a {
    border-bottom: solid 1px #121212;
}

header h2 {
    font-size: 44px;
    width: 500px;
    color: #121212;
}

header #lang {
    position: absolute;
    right: 0px;
    top: -15px;
}

header #lang ul {
    list-style: none;
}

header #lang ul li {
    display: inline;
    font-size: 14px;
}

header #lang ul li::after {
    content: "|";
    margin-left: 5px;
}

header #lang ul li:last-child:after {
    content: "";
    margin-left: 0px;
}

header #lang ul li a {
    color: black;
    text-decoration: none;
}

#news {
    position: relative;
    width: 100%;
    float: left;
}

#news .know {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 14px;
    position: relative;
}

#news .know::after {
    content: url(../img/arrow.png);
    padding-left: 10px;
    display: inline-block;
    top: -3px;
    position: absolute;
}

#news .content {
    margin-top: 40px;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    list-style: none;
}

#news ul li {
    display: inline;
    float: left;
    width: 370px;
    margin-right: 45px;
}

#news ul li .image {
    width: 370px;
    height: 208px;
    background-size: cover;
    background-position: center;
}

#news ul li .image a {
    display: block;
    width: 100%;
    height: 100%;
}

#news ul li .title {
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
}

#news ul li .title a {
    text-decoration: none;
    color: black;
}

#news ul li .text {
    font-size: 14px;
    margin-top: 20px;
}

#news ul li:last-child {
    margin-right: 0px;
}

#news .more {
    position: relative;
    float: left;
    width: 100%;
    margin-top: 40px;
    text-align: center;
}

#news .more-button {
    color: #121212;
    ;
    text-decoration: none;
    border: solid 1px black;
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 18px;
    position: relative;
    padding-left: 50px;
    float: left;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

#news .more-button::before {
    content: "";
    display: block;
    width: 20px;
    height: 1px;
    background: black;
    left: 18px;
    top: 50%;
    position: absolute;
}

#multimedia {
    background-color: #F2F2F2;
    padding-top: 100px;
    margin-top: 70px;
    padding-right: 100px;
    margin-left: auto;
    margin-right: auto;
    float: left;
    width: 100%;
    padding-bottom: 100px;
}

#multimedia .left {
    float: left;
    width: 50%;
    text-align: right;
    position: relative;
}

#multimedia .left .images {
    float: right;
    width: 240px;
    margin-right: 50px;
}

#multimedia .left .pic1 {
    width: 240px;
    height: 160px;
    text-align: right;
    background-size: cover;
    background-position: center;
}

#multimedia .left .pic2 {
    width: 240px;
    height: 370px;
    margin-top: 20px;
    text-align: right;
    background-size: cover;
    background-position: center;
}

#multimedia .left .pic3 {
    width: 200px;
    height: 300px;
    position: absolute;
    right: 310px;
    top: 40px;
    background-size: cover;
    background-position: center;
}

#multimedia .left .pic4 {
    width: 200px;
    height: 150px;
    position: absolute;
    right: 310px;
    top: 360px;
    background-size: cover;
    background-position: center;
}

#multimedia .left .pic1 a,
#multimedia .left .pic2 a,
#multimedia .left .pic3 a,
#multimedia .left .pic4 a {
    display: block;
    width: 100%;
    height: 100%;
}

#multimedia .right {
    float: right;
    width: 50%;
    margin-top: 100px;
}

#multimedia .right .text {
    font-size: 44px;
    width: 250px;
    font-weight: bold;
    color: #121212;
}

#multimedia .right .more-button {
    color: white;
    text-decoration: none;
    border: solid 1px #121212;
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 18px;
    position: relative;
    padding-left: 50px;
    float: left;
    position: relative;
    background-color: #121212;
    margin-top: 40px;
    margin-bottom: 40px;
}

#multimedia .right .more-button::before {
    content: "";
    display: block;
    width: 20px;
    height: 1px;
    background: white;
    left: 18px;
    top: 50%;
    position: absolute;
}

#last-videos {
    background-color: #121212;
    padding-top: 100px;
    padding-bottom: 100px;
    margin-left: auto;
    margin-right: auto;
    float: left;
    width: 100%;
}

#last-videos .subtitle {
    color: white;
    text-align: center;
}

#last-videos .title {
    color: white;
    text-align: center;
    font-size: 44px;
    margin-top: 10px;
}

#multi {
    position: relative;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#multi ul {
    margin-top: 50px;
}

#multi ul li {
    display: inline;
    float: left;
    width: 370px;
    margin-right: 45px;
    margin-bottom: 30px;
}

#multi ul li:nth-child(3n + 3) {
    margin-right: 0px;
}

#multi ul li .image {
    width: 370px;
    height: 208px;
    background-size: cover;
    background-position: center;
}

#multi ul li .image a {
    display: block;
    width: 100%;
    height: 100%;
}

#multi ul li .title {
    margin-top: 10px;
    font-size: 18px;
}

#multi ul li .title a {
    text-decoration: none;
    color: #121212;
}

#news-cont {
    position: relative;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#news-cont ul {
    margin-bottom: 50px;
    margin-top: 40px;
}

#news-cont ul li {
    display: block;
    width: 100%;
    border-bottom: solid 1px black;
    padding-bottom: 20px;
}

#news-cont ul li:last-child {
    border-bottom: 0px;
}


#news-cont ul li .image {
    width: 100%;
    height: auto;
}

#news-cont ul li .image a {
    display: block;
    width: 100%;
    height: 100%;
}

#news-cont ul li .title {
    margin-top: 10px;
    font-size: 26px;
    width: 100%;
}

#news-cont ul li .title a {
    text-decoration: none;
    color: #121212;
}

#news-cont ul li .date {
    margin-top: 5px;
}

#news-cont ul li .text {
    margin-top: 10px;
    font-size: 16px;
    font-weight: normal !important;
}

#news-cont ul li .text a {
    color: black !important;
    font-size: 16px;
}

#news-cont ul li .text ul {
    margin-top: 20px;
    margin-bottom: 20px;
}

#news-cont ul li .text ul li {
    border-bottom: 0px !important;
    display: list-item;
    margin-left: 26px;
    padding-bottom: 10px !important;
}

#news-cont .text img {
    margin-top: 10px;
    max-width: 100% !important;
    margin-bottom: 10px;
}

#body {
    position: relative;
    width: 100%;
    float: left;
}

#body .portada {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    list-style: none;
    margin-top: 50px;
    margin-bottom: 50px;
    background-size: cover;
    background-position: center;
}

#body .portada img{
    width: 1200px;
    height: auto;
}

#body h2 {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    font-size: 44px;
}

#body .title {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    font-size: 26px;
    margin-top: 30px;
}

#body .text {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    font-weight: normal;
    font-size: 20px;
    margin-top: 30px;
}

#body .text a {
    font-size: 20px;
    color: black !important;
}

#body .text ul {
    margin-top: 20px;
    margin-bottom: 20px;
}

#body .text ul li {
    border-bottom: 0px !important;
    display: list-item;
    margin-left: 26px;
    padding-bottom: 10px !important;
}

#body .text img {
    margin-top: 10px;
    max-width: 100% !important;
    margin-bottom: 10px;
}

#body #images,
#body #videos {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

#body #videos {
    margin-bottom: 100px;
}

#body #images .grid-item,
#body #videos .grid-item,
.grid-sizer {
    width: calc(20% - 10px);
}

#body #images .grid-item,
#body #videos .grid-item {
    margin-bottom: 10px;
    float: left;
    position: relative;
}

#body #images .grid-item img,
#body #videos .grid-item video {
    width: 100%;
}

#body #videos .grid-item .icon {
    width: 50px;
    height: 49px;
    background: url(../img/play-icon.png);
    background-size: 50px 49px;
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    cursor: pointer;
}

#body #videos .grid-item .icon a {
    display: block;
    width: 100%;
    height: 100%;
}

#contact {
    position: relative;
    width: 100%;
    float: left;
}

#contact .know {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 800px;
    margin-top: 14px;
    position: relative;
    line-height: 24px;
}

#contact ul {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    list-style: none;
    margin-top: 50px;
}

#contact ul li {
    width: 400px;
    display: inline;
    float: left;
}

#contact ul li .title {
    font-size: 20px;
    font-weight: bold;
}

#contact ul li .info {
    font-size: 16px;
    margin-top: 10px;
}

#contact ul li .info a {
    color: #121212;
    text-decoration: none;
}

#test-popup {
    display: none;
}

@media (max-width: 1199px) {

    header,
    #news .know,
    #news .content,
    #multi,
    #news-cont,
    #body .portada,
    #body h2,
    #body .title,
    #body .text,
    #body #images,
    #body #videos,
    #contact ul {
        margin-left: 0%;
        margin-right: 0%;
        width: 100%;
    }

    #body .portada img{
        width: 100%;
        height: auto;
    }
}