/* Custom styles for GateKeeper frontend, using Bootstrap base */
:root {
    --bs-red: #e4151c;
    --bs-black: #000000;
    --bs-yellow: #f8c300;
    --bs-purple: #9f599d;
    --bs-purple-md: #572673;
    --bs-grey:#eae6e2;
    --bs-white: #ffffff;
}
 /* Titre replay */
 .titre-form h2{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 20px;
}
.titre-form h2 i{
    display: block;
}
.titre-form h2 i::before{
    background: url(../images/icon_replay.svg) no-repeat center;
    content: '';
    display: block;
    height: 120px;
    width: 120px;
}
.titre-form h2 span{
    color: var(--bs-black);
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-left: 15px;
}
.titre-form + .text{
    font-family: "Montserrat", Sans-serif;
    font-size: 22px;
    font-weight: 700;
}

/* bouton replay */


.gatekeeper-protected-link{
    display:flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
    max-width: 380px;
}
.gatekeeper-protected-link i{
    background: var(--bs-white);
    border: 4px solid var(--bs-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    margin-right: -60px;
    position: relative;
    width: 130px;
}
.gatekeeper-protected-link i::before{
    background: url(../images/Icones_video.svg) no-repeat center;
    content: '';
    display: block;
    height: 80px;
    width: 100%;
}

.gatekeeper-protected-link span{
    background: var(--bs-red);
    color: var(--bs-white);
    font-size: 30px;
    font-weight: 700;
    padding: 15px 30px 15px 80px;
}


/* Email gate form styles */

.gatekeeper-form-wrap {
    display: flex;
    gap: 0.5rem;
}
.gatekeeper-left{
    max-width: calc(100% - 300px);
    width: 100%;
}
.gatekeeper-left input[type=email] {
    background: var(--bs-white);
    border: none;
    max-width:100%;
    height: 84px;
    width:100%
}

.page-id-34 .card{
    background: var(--bs-grey);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
}
.page-id-34 .card-body{
    margin: auto;
    max-width: 1200px;
    padding: 20px;
    width: 100%;
}
#gatekeeper-message,#time-tracking-display{
    display: none!important;
}


.gatekeeper-left input[type=email]::placeholder {
    color: var(--bs-grey);
    font-size: 30px;
}
.gatekeeper-left input[type=email]:focus-visible {
    outline: none;
}
.gatekeeper-right {
    max-width:300px;
    width: 100%;
}
.gatekeeper-right button {
    height: 84px;
    background: var(--bs-red);
    border: none;
    color: var(--bs-white);
    font-size: 30px;
    font-weight: 700;
    max-width:300px;
    position: relative;
    text-transform: uppercase;
    width:100%;
}
.gatekeeper-right button:hover{
    background: var(--bs-red);
}
.gatekeeper-right button::after{
    border-bottom : 10px solid var(--bs-grey);
    border-left : 300px solid transparent;
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    width: 0;
    height: 0;
}

.btn-download a{
    position: relative;
}
.btn-download a::after{
    border-bottom : 10px solid var(--bs-grey);
    border-left : 413px solid transparent;
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    width: 0;
    height: 0;
}



/* Mobile responsiveness */
@media (max-width: 768px) {
    .gatekeeper-form {
        padding: 1rem;
        margin: 1rem 0;
    }

    .gatekeeper-form h3 {
        font-size: 1.5rem;
    }

    .gatekeeper-form .btn {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 699px) {
    .gatekeeper-form-wrap {
        flex-direction: column;
    }

    .gatekeeper-left, .gatekeeper-right {
        max-width: 100%;
    }
    .gatekeeper-right button {
        display: block;
        margin: 0 auto ;
    }
    
}


@media (max-width: 576px) {
    .gatekeeper-protected-link i{
        height: 100px;
        min-width:100px;
        width: 100px;
    }
    .gatekeeper-protected-link i::before{
        height: 60px;
    }
    .gatekeeper-protected-link span{
        font-size: 22px;
        padding: 15px 30px 15px 70px;
    }
    .gatekeeper-form {
        padding: 0.5rem;
    }

    .gatekeeper-form h3 {
        font-size: 1.25rem;
    }
    .titre-form h2{
        flex-direction: column;
        text-align: center;
    }
    .gatekeeper-left input[type=email]::placeholder{
        font-size: 25px;
    }

    .btn-download a{
        max-width: 300px;
        margin: 0 auto;
    }
    .btn-download a::after{
        border-left : 300px solid transparent;
        bottom: -1px;
    }

}
