.videocorsi_sfondo_elenco
{
    background-image: url('https://cdn-image.spaggiari.eu/pvw2/img/sfondo_lifelong.png');
}

.sezione-videocorsi h3
{
    margin-bottom: 5px !important;
}


#img
{
    position: absolute;
    top: 0%;
    left: 0%;
    /* z-index: -1; */
    opacity: 0.8;
    transition: all 0.5s;
    display: none;
    width: 100%;
}

.slot {
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    border-radius: 1px;
}

.card-video:hover {
    text-decoration: none;
}

.overlay {
    position: fixed; 
    position: absolute;
    top: 0%;
    width: 100%;
    height: 100%; 
    background: #005ad7;
    z-index: 1;
    visibility: hidden;
    opacity: 0.8 !important;
    transition: all 0.1ms;
    display: none;
    border-radius: 20px;
    overflow: auto;
}
@media ( max-width: 770px) {
    .overlay {
        position: fixed; 
        position: absolute;
        top: 4%;
        left: 25%;
        width: 300px;
        height: 280px;
        background: #005ad7;
        z-index: 1;
        visibility: hidden;
        opacity: 0.8 !important;
        transition: all 0.1ms;
        display: none;
        border-radius: 20px;
    }
    }
    @media ( max-width: 500px) {
    .overlay {
        position: fixed; 
        position: absolute;
        top: 0%;
        left: 0%; 
        width: 100%;
        height: 100%;
        background: #005ad7;
        z-index: 1;
        visibility: hidden;
        opacity: 0.8 !important;
        transition: all 0.1ms;
        display: none;
        border-radius: 0px;
    }
    }
#next{
    position: absolute;
    top: 45%;
    left: 40%;
    font-size: 1rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 10px;
}

@media (max-width: 770px) {
    #next{
    position: absolute;
    right: 20%;
    bottom: 12%;
    width: 100px;
    height: 45px;
    font-size: 0.65rem;
    padding: 0rem;
    cursor: pointer;
    border-radius: 10px;
    text-align: center;
}
}
@media (max-width: 500px) {
    #next{
    position: absolute;
    right: 20%;
    top: 40%;
    width: 80px;
    height: 40px;
    font-size: 0.60rem;
    padding: 0rem;
    cursor: pointer;
    border-radius: 12px;
}
}
#next:hover{
    cursor: pointer;
    color: white;
    transform:scale3d(1.1, 1.1,1.0);
}

#next a{
    text-decoration: none;
    color: white;
}

#closePopup, #close2{ 
    position: absolute;
    left: 50%;
    bottom: 0%;
    transform: translate(-50%, -0%); 
    font-size: 1rem;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1;
}

#modale_quiz .modal-title {
    color: white;
}
#modale_quiz .modal-content{
    background: #005ad7;
    opacity: 1;
}

@media (max-width: 500px) {
#close{ 
    position: absolute;
    left: 50%;
    bottom: 0%;
    transform: translate(-50%, -0%); 
    font-size: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    width: 3rem;
    height: 0.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
}

@media (max-width: 500px) {
    .titolo{
        color: white;
        text-align: center;
        font-size:1rem;
    }
}

#capitolo{
    position: absolute;
    right: 2%;
    top: 5%;
    font-size: 1rem;
    padding: 1rem;
    cursor: pointer;
    background-color: #005ad7;
    color: rgb(255, 255, 255); 
    line-height: 1.8rem;
    box-shadow: 2px 2px 2px #333 ;
    
}
@media (max-width:770px){
    #capitolo{
        position: absolute;
        right: 2%;
        top: 4%;
        font-size: 0.60rem;
        cursor: pointer;
        background-color: #005ad7;
        color: rgb(255, 255, 255); 
        line-height: 1.4rem;
        text-align: center;
        box-shadow: 2px 2px 2px #333 ;
        
    }
}

#modale>div>div>div>button {
    background-color: #005ad7;
}

@media (max-width:500px){
    #capitolo{
        position: absolute;
        right: 2%;
        top: 3%;
        font-size: 0.40rem;
        padding: 0.5rem;
        cursor: pointer;
        background-color: #005ad7;
        color: rgb(255, 255, 255);
        line-height: 1rem;
        box-shadow: 2px 2px 2px #333 ;
    }
}

.timeline {
    position: relative;
    width: 87%;
    max-width: 1200px;
    padding-right: 5rem !important;
}

.timeline-item {
    position: relative;
    margin-bottom: 100px;
}

.timeline-time {
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    color: #005ad7;
}

.timeline-line {
    position: absolute;
    left: 100px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #005ad7;;
}

.timeline-chapter {
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    left: 7rem;
    cursor: pointer;

    
}
.box{
    position: relative;
    
    background-color: white;
    border: 1px solid #ced1d4;
    border-radius: 5px;
    text-align: start;
    font-size: 100%;
    padding: 0.4rem;
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
}
.point {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #005ad7;
    position: absolute;
    left: 90px;
    top: 67%;
    z-index: 1;
}

.timeline-item.with-point .point {
    display: block;
}

.timeline-item.with-point .timeline-time {
    margin-left: 40px;
}

.timeline-item.with-point .timeline-chapter {
    margin-left: 40px;
}

.titoloCapitolo{
    color: white;
    text-align: center;
    font-size:2rem;
}

tbody tr td{
    color: red;
}

tbody tr td:hover{
    color: red;
    text-decoration: underline;
    cursor: pointer;
}


#title{
    width: 100%;
    text-align: start;
    background-color: #AF1500;
    color: white;
    display: flex;
    justify-content: space-between;
    border:none;
    padding: 2% 3%;
    font-size: 18px;
    font-weight: bold;
}

.lista_video {
    list-style-type: none;
    color: #020202;
}

img.copertina{
    width: 100% !important;
    height: 100%;
    object-fit: cover;
}

.video_categorie{
    width: 100%;
    height: 100%;
    background-color: #FF0000;
}