﻿:root {
    --background-color: #eee;
    --black: #000000;
    --white: #FFFFFF;
    --bg-title: #c08a39;
    --cod-acc: #fff;
    --grey: #444444;
    --red: #ee3224;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Raleway' !important;
    font-weight: 300 !important;
    font-size: 14px !important;
}

.header {
    padding: 15px 15px 0 15px;
    background-color: var(--grey);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-height: 120px
}

.header div {
    padding: 10px;
}

.nav-element {
    text-decoration: none;
    color: #fff;
    padding: 0 0.5em;
    border-right: 1px solid #ffffff;
    transition: color 0.2s linear 0.1s;
}

body {
    background-color: var(--white);
    overflow-x: hidden;
}

p {
    margin: 5px 0;
    font-size: 0.8rem !important;
}

h1 {
    text-align: center;
    color: var(--white);
    font-size: 2rem !important;
    text-transform: lowercase;
}

    h1::first-letter {
        text-transform: uppercase;
    }

h2 {
    top: -43px;
    position: absolute;
    color: var(--white);
    margin-top: 5px;
}

h3 {
    position: relative;
    font-weight: bold !important;
    z-index: -200;
    border-radius: 10px;
    top: -65px;
    color: var(--grey);
}

.auditorio {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

.title {
    width: 100vw;
    background-color: var(--grey);
    margin-bottom: 30px;
}

.under-title {
    background-color: var(--grey);
    transform: rotate(4deg);
    transform-origin: center;
    width: 110vw;
    position: relative;
    height: 200px;
    top: -150px;
    z-index: -100;
    left: 10px;
}

.logos-container {
    margin-top: -60px;
    margin-bottom: 30px;
    position: relative;
    cursor: pointer;
}

    .logos-container img {
        width: 100%;
        padding: 0 30px;
        z-index: 0;
        position: relative;
    }

    .logos-container > div {
        width: 100%;
        height: 100%;
        display: flex;
        position: absolute;
        top: 8px;
        justify-content: end;
        z-index: 1;
        padding:0 20px;
    }

    .logos-container .op {
        justify-content: center;
        display: flex;
        align-items: flex-end;
        color:black;
        height:120%;
    }

    .logos-container .op.selected {
        border-bottom: 5px solid red;
        height: 130%;
    }

    .logos-container .op1 {
        width: 30%;
        
    }

    .logos-container .op2 {
        width: 35.3%;
    }

    .logos-container .op3 {
        width: 34.3%;
    }

.auditorio-list {
    width: 90%;
    max-width: 1150px;
    padding: 80px 25px;
}

.ponencia {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 80px;
    min-height: 352px;
}

.background-title {
    position: absolute;
    right: -45px;
    top: -50px;
    height: 90px;
    width: 120%;
    background-color: var(--red);
    box-shadow: 0 0 3px;
    z-index: -5;
}

.info-container {
    width: 102%
}

.duration-container {
    margin-bottom: 30px;
}

.ponencia-type{
    display:none;
}

.speakers-container {
    display: flex;
    flex-wrap: wrap;
}

.ponencia-name {
    font-size: 1.3rem !important;
}

.duration {
    text-align: right;
    font-weight: bold !important;
    color: var(--grey);
}

.ponente-container {
    position: relative;
    bottom: -30px;
    margin-right: 10px;
}

.speaker-container {
    width: 33.3%;
}

.speakers-container + div {
    width: 25%;
}

.ponente-container h3 {
    word-wrap: normal;
    color: white;
    font-size: 0.8rem !important;
    margin: 3px 5px 0 0;
    background-color: #914641;
    padding: 10px 5px 5px 5px;
    border-top-left-radius: 0px;
    border-bottom-right-radius: 0px;
    font-weight: 500 !important;
}

.job-title {
    font-size: 0.7rem !important;
    margin:-35px 10px 42px 0px;
}

.ajaxloader {
    width: 60px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
}

    .ajaxloader img {
        width: 30px;
        height: 30px;
        display: none;
    }

.btnver {
    width: 60px;
    height: 25px;
    border-radius: 15px;
    background-color: var(--grey);
    box-shadow: 2px 2px 20px 0 rgba(180, 150, 130, 0.1);
    color: #FFF;
    font-size: 0.5rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05rem;
    line-height: 1rem;
    text-transform: uppercase;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -30px;
    margin-top: -12.5px;
}

#codigoAccesoPopup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 80%;
    width: 500px;
    background-color: var(--cod-acc);
    box-shadow: 0px 3px 6px #00000057;
    padding: 20px;
    text-align: center;
    z-index: 999
}

    #codigoAccesoPopup img {
        position: absolute;
        right: 20px;
        top: 20px;
        width: 28px;
        height: 28px;
        cursor: pointer;
    }

#codText {
    text-align: left;
    margin-bottom: 20px;
    font-weight: 500;
    max-width: 87%;
}

#codInstructions {
    text-align: left;
    margin-top: 20px;
    font-weight: 500;
}

    #codInstructions a {
        font-size: 0.8rem !important;
    }

#LoginBtnCodigo {
    background-color: var(--red);
    color: #fff;
    border-radius: 40px;
    border: none;
    padding: 8px 20px;
    font-weight: 700;
    cursor: pointer;
}

.codigo-input {
    border: 1px solid #444444;
    padding: 6px;
}

.ponencia iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    padding: 5px;
    background-color: var(--white);
}

    .ponencia iframe:hover {
        box-shadow: 0 0 10px #3f1d1d;
        transform: scale(1.01);
    }

#player video {
    width: 100%;
    height: 230px;
    aspect-ratio: 16 / 9;
    left: 0;
}

.imgponencia {
    object-fit: cover;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.imgponente {
    width: 100%;
    max-width: 120px;
    position: relative;
    bottom: 15px;
    border: 5px solid #444444;
    border-radius: 10px;
    bottom: 28px;
}

.ponencia-video {
    position: relative;
    overflow: hidden;
    line-height: 0;
    border: 5px solid #444444;
    transition: border .3s;
    text-decoration: none;
    cursor: pointer;
    display: block;
    outline: none;
    border-radius: 10px;
    margin-top: 25px;
}

    .ponencia-video:hover {
        box-shadow: 0 0 10px #3f1d1d;
        transform: scale(1.01);
    }

@media(min-width:768px) {
    * {
        font-size: 16px !important;
    }

    h1 {
        font-size: 2.3rem !important;
    }

    h2 {
        font-size: 1.2rem !important;
        height: 70px;
        top: 0;
        position: relative;
    }

    h3 {
        font-size: 0.8rem !important;
        bottom: 15px;
        top: 0;
        border: none;
        background-color: transparent;
    }

    .logos-container img {
        margin-bottom: 0px;
    }

    .type-container {
        justify-content: left;
        padding-left: 109px;
    }

    .type-title {
        font-size: 1rem !important;
    }

    .auditorio-list {
        padding: 0px 25px;
    }

    .ponencia {
        width: 100%;
        padding: 20px;
        margin: 15px auto;
        display: grid;
        position: relative;
        grid-template-columns: 40% 1fr;
        grid-column-gap: 30px;
    }

    .ponencia-name{
        font-size: 1.3rem !important;
    }

    .job-title {
        margin-bottom: 10px;
        margin-top: 0;
    }

    .ponencia-video {
        border: 5px solid var(--white);
    }

    .background-title {
        position: absolute;
        height: 90px;
        width: 100%;
        box-shadow: 0 0 3px;
        z-index: -5;
        top: 5px;
    }

    .duration {
        font-size: 0.7rem !important;
    }

    .ponente-container {
        position: static;
    }

    .imgponente {
        border: none;
        bottom: 0;
        max-width:70%;
    }

    .ponente-container h3 {
        margin-top: -5px;
    }

    .logos-container .op{
        height:110%;
    }
    
    .logos-container .op.selected {
        height:114%;
    }
}

@media (min-width:1024px) {
    .ponencia {
        max-width: inherit;
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 40% 1fr;
        grid-template-columns: 40% 1fr;
        grid-column-gap: 30px;
    }

    .btnver {
        width: 120px;
        height: 50px;
        margin-left: -60px;
        margin-top: -25px;
        border-radius: 40px;
        font-size: 1rem !important;
    }

    #codigoAccesoPopup {
        padding: 60px;
    }

    .speaker-container {
        width: 25%;
    }
}
