/** corsi [per il css dei riquadri vedi la sezione delle guide] **/
.hero-page-corsi {
    clear: both;
    width: 100%;
    position: relative;
    padding: 180px 0;
}
.hero-page-corsi .overlay-hero {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.4);
}
.hero-page-corsi .row {
    position: relative;
    z-index: 2;
}

.hero-page-corsi h1 {
    display: block;
    text-align: center;
    font-size: 60px;
    font-weight: 600 !important;
    color: #fff;
    text-transform: uppercase;
}

.corsibox .wrap-box-programmi .cover-programma img{
    top: 0 !important;
    transform: translate(-50%,0) !important;
}

.wrap-box-programmi {
    display: flex;
    flex-flow: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.wrap-box-programmi .col-programmi {
    width: 24%;
    margin: 40px 0 0;
}

.cover-programma {
    position: relative;
    overflow: hidden;
    height: 350px;
    margin-bottom: 20px;
}

.wrap-guide .cover-programma a,
.wrap-box-programmi .cover-programma a {
    color: #000;
    font-size: 1em;
    font-weight: 800;
    position: relative;
    overflow: hidden;
    height: 350px;
    display: block;
}
.wrap-guide .cover-programma .overlay-cover,
.wrap-box-programmi .cover-programma .overlay-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
}
.wrap-guide .cover-programma img,
.wrap-box-programmi .cover-programma img {
    display: block;
    z-index: 1;
    position: absolute;
    width: 120%;
    max-width: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.cover-programma h3 {
    position: absolute;
    left: 50%;
    z-index: 9;
    color: #fff;
    text-align: center;
    top: 50%;
    transform: translate(-50%,-50%);
    font-size: 40px;
    width: 90%;
    font-weight: 600;
    text-transform: uppercase;
}

.col-programmi p {
    font-size: 18px;
    margin-bottom: 10px;
}

.col-programmi p a {
    font-weight: 600;
    margin-bottom: 10px;
}


/** responsive new inizio **/
@media (max-width: 1500px){
    .wrap-box-programmi .col-programmi {
        width: 30%;
    }

    /* guide - corsi */
    .cover-programma h3{
        font-size: 32px;
        top: 40%;
    }

    .cover-programma{
        height: 280px;
    }

    .wrap-guide .cover-programma img, .wrap-box-programmi .cover-programma img{
        top: 45%;
    }

    .wrap-box-programmi{
        padding: 0 20px;
    }

}

@media only screen and (max-width: 768px){
    .wrap-box-programmi .col-programmi {
        width: 48%;
    }
}

@media only screen and (max-width: 480px){
    .wrap-box-programmi .col-programmi {
        width: 100%;
    }
}



/** responsive new fine **/


/** corsi e servizi **/
section.programmi-consulenze.corsibox {
    padding-bottom: 140px;
}

@media only screen and (max-width: 1024px){
    .hero-page-corsi h1{
        font-size: 50px;
    }
}

@media only screen and (max-width: 768px){
    .hero-page-corsi h1 {
        font-size: 40px;
    }
}

@media only screen and (max-width: 639px){

    .hero-page-corsi h1 br {
        display: none;
    }
    .hero-page-corsi h1 {
        font-size: 30px;
    }
    .hero-page-corsi{
        padding: 60px 0;
    }

}