.hero{
    background-image: url("../images/bghero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    overflow: hidden;
    padding: 7em 0;
}

.hero:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0.2;
}

.logohero {
    max-width: 650px;
    display: block;
    margin: 0 auto;
}

.hero h1 {
    color: #fff;
    font-size: 50px;
    margin-bottom: -5px;
    font-weight: normal;
    font-style: italic;
}

.hero h3, .hero h4 {
    background-color: rgb(199, 22, 27);
    color: #fff !important;
    text-shadow: 0 1px 2px #000;
}
.tpr {
    text-align: center;
    font-size: 50px;
    font-weight: 900;
    border-radius: 40px;
}

.iconamov i {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    color: #c7161b;
    font-size: 50px;
    animation: updown 1.5s linear alternate infinite;
    -webkit-animation: updown 1.5s linear alternate infinite;
}

@keyframes updown {
    0%{
        transform: translate(-50%,-50%);
        -webkit-transform: translate(-50%,-50%);
    }
    100%{
        transform: translate(-50%,-10%);
        -webkit-transform: translate(-50%,-20%);
    }
}

@-webkit-keyframes updown {
    0%{
        transform: translate(-50%,-50%);
        -webkit-transform: translate(-50%,-50%);
    }
    100%{
        transform: translate(-50%,-10%);
        -webkit-transform: translate(-50%,-20%);
    }
}


.new-riquadro-corso {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
.content-corso {
    padding: 1em;
    text-align: center;
}
.content-corso h2 {
    font-size: 30px;
    color: black;
    font-weight: 900;
}
.header-corso {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: 10px;
}
.header-corso img {
    position: absolute;
    width: 120%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    max-width: none;
}
.new-riquadro-corso.lockedcorso:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 3;
    opacity: 0.2;
    border-radius: 10px;
}
.new-riquadro-corso.lockedcorso i {
    position: absolute;
    color: #c7161b;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) rotate(-12deg);
    z-index: 4;
    font-size: 100px;
    opacity: 0.8;
}

.corsi-dash .header-corso{
    min-height: 200px;
}

.corsi-dash .content-corso h2{
    font-size: 22px;
}

.corsi-dash .content-corso {
    padding: 1em 0;
    text-align: center;
}

.title_corsi {
    color: #000;
    margin-bottom: 25px;
    font-weight: 900;
}

.corso-hero img {
    display: block;
    margin: 0 auto;
}

.corsi-home{
    background-image: url('../images/bk.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
}


.chisiamo {
    padding: 2em 0 0 0;
    margin: 20px auto;
    background: #f7f7f7;
}
.chisiamo .row {
    display: flex;
    align-items: center;
    justify-content: center;
}
.chisiamo .columns:nth-child(1) {
    padding: 0;
}
.chisiamo h2 {
    font-size: 60px;
    color: #000;
    font-weight: 900;
}
.chisiamo p {
    font-size: 16px;
    line-height: 1.8;
    color: #000;
}
.chisiamo .columns:nth-child(2) {
    padding: 4em;
}
.contatti h2 {
    color: #000;
    text-align: center;
    margin-bottom: 20px;
}
.contatti form {
    padding: 1em !important;
    margin: 10px 0 !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
}

/** ^^^ NUOVO CSS ^^^^ **/
/** vvvvvv CSS DA VEDERE BENE vvvvv **/

.dashboard .wrap-corso {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    margin-bottom: 3em;
    flex-direction: column;
}
.dashboard .wrap-corso .cover-corso img {
    width: 100%;
    height: auto;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.dashboard .wrap-corso .descrizione-corso {
    padding: 20px 20px 0 20px;
}
.dashboard .wrap-corso .meta-corso {
    display: block;
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid rgb(225, 225, 225);
    padding-top: 30px;
    align-items: center;
}
.dashboard .wrap-corso .btn {
    width: 100%;
    border-radius: 10px;
    line-height: 40px !important;
}

.dashboard .wrap-corso .corso-completato {
    font-size: 24px;
    color: #fff;
    line-height: 20px;
    margin-top: 15px;
    display: inline-block;
}

.dashboard .wrap-corso .progress-bar__container {
    margin-bottom: 20px;
    height: 20px;
}
.dashboard .wrap-corso .progress-bar__text {
    margin: 0 10px 0 10px;
    display: block;
    font-size: 14px;
}

.dashboard .wrap-corso .descrizione-corso h3, .dashboard .wrap-corso .descrizione-corso h3 a {
    color: #000;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
    text-align: center;
    margin: 10px 0 20px;
}





/** PAGE CONTATTI **/

.hero-contatti .pretitle {
    position: relative;
    font-size: 18px;
    color: #007494;
    font-weight: bold;
    font-style: italic;
}
.hero-contatti h2 {
    font-weight: 900;
}

.icona-cont {
    width: 60px;
    height: 60px;
    line-height: 65px;
    text-align: center;
    margin-right: 20px;
    border-radius: 100px;
}
.icona-cont i {
    color: #fff;
    font-size: 20px;
}
.single-riquadro-contatti h3 {
    font-size: 40px;
    font-weight: bold;
}
.single-riquadro-contatti p {
    font-size: 18px;
}
.single-riquadro-contatti {
    padding: 3em 3em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}


.single-riquadro-contatti p a {
    display: block;
    text-decoration: underline;
    cursor: pointer;
}

.hero-contatti form{
    background: #fff !important;
    padding: 20px !important;
    border-radius: 10px !important;
}

.socialcont {
    padding: 0;
    border: 1px solid #ddd;
    background: #fff;
}
.socialcont h2 {
    font-size: 30px;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
}
.headersocial {
    padding: 2em 2em;
    border-bottom: 1px solid #ddd;
}
.socialdiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2em;
    width: 70%;
    margin: 0 auto;
}
.socialdiv a {
    width: 70px;
    height: 70px;
    display: block;
    text-align: center;
    line-height: 80px;
    border-radius: 100%;
}
.socialdiv a i {
    font-size: 25px;
    color: #fff;
}

.ig_cerchio{
    background: linear-gradient(to right, #91368f 0, #e7297c 50%, #f27d39 100%);
}

.fb_cerchio{
    background-color: #007494;
}
.tl_cerchio{
    background-color: #00ABFF;
}

.hero-contatti .row .columns:nth-child(2) {
    padding: 1.5em 1.5em 0;
}


.rowflexcont {
    display: flex;
    justify-content: space-between;
}
.rowflexcont .colflexcont {
    width: 49%;
}
.submit {
    width: 100%;
    border: none;
    background: green;
    color: #fff;
    padding: 0.8em;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 4px solid darkgreen;
    border-radius: 10px;
}
.imgandrea img {
    max-width: 500px;
    display: block;
    margin: 20px auto 0;
}
.hero-contatti {
    overflow: hidden;
    padding-top: 70px;
    background: #f7f7f7;
    padding-bottom: 0;
}


.privacy_checklist ul {
    margin-left: 0;
    font-size: 20px;
}
.privacy_checklist ul li {
    font-size: 14px;
    margin-bottom: 8px;
}
.privacy.text-left {
    font-size: 14px;
}


.wpforms-field-container {
    display: flex;
    flex-flow: wrap;
}
.wpforms-field-container .w50 {
    width: 50% !important;
}
.wpforms-field-container .w100 {
    width: 100% !important;
}
.wpforms-field-container input[type="text"], .wpforms-field-container input[type="email"], .wpforms-field-container input[type="number"], .wpforms-field-container select {
    height: auto !important;
    width: 100% !important;
    padding: 0.8em !important;
    max-width: 100% !important;
    border-radius: 5px !important;
}
.wpforms-field-container .w50, .wpforms-field-container .w100 {
    padding: 8px 5px !important;
}

.hero-contatti h2 {
    font-size: 30px;
    font-weight: 900;
}

.wpforms-field-label-inline {
    font-size: 14px !important;
}

.wpforms-submit-container button {
    width: 100% !important;
    background: green !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    padding: 1em !important;
    border: none !important;
    border-bottom: 4px solid darkgreen !important;
    border-radius: 10px !important;
    height: 100% !important;
}


.clearfix.resp{
    display: none;
}
.clearfix.desk{
    display: block;
}



.videohome iframe {
    border-radius: 10px;
    box-shadow: 0 20px 10px -10px rgba(0,0,0,0.2);
}
.videohome img {
    max-width: 120px;
    position: absolute;
    left: -60px;
    transform: rotate(20deg);
}
.videohome {
    position: relative;
    padding-bottom: 6em;
}

.rowglossario {
    display: flex;
    max-width: 800px;
    align-content: center;
    justify-content: space-between;
    margin: 0 auto;
}

.riquadrogiallo {
    margin-bottom: 60px;
    background: #FFFACD;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #d9c100;
}
.riquadrogiallo h2 {
    color: #000;
    font-weight: 900;
}
.riquadrogiallo a.link {
    color: #000;
    font-size: 22px;
    text-align: right;
    display: block;
    text-decoration: underline;
    font-weight: normal;
    font-style: italic;
}

@media only screen and (max-width: 639px){
    .rowglossario a.btn{
        font-size: 14px;
        padding-right: 10px;
        padding-left: 10px;
    }
    .riquadrogiallo {
        padding: 20px;
    }
    .riquadrogiallo h2 {
        text-align: center;
    }
    .riquadrogiallo a.link {
        font-size: 18px;
        text-align: center;
    }
}



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

    .hero-contatti h2 {
        font-size: 25px;
    }
    .hero-contatti {
        padding: 1em;
    }

    .hero-contatti .pretitle {
        font-size: 22px;
    }

    .wpforms-field-container .w50 {
        width: 100% !important;
    }

    .hero-contatti .row .columns:nth-child(2) {
        padding: 0;
    }

    .single-riquadro-contatti {
        padding: 3em 1em;
        display: block;
        text-align: center;
    }

    .single-riquadro-contatti p {
        font-size: 16px;
    }

    .icona-cont {
        width: 60px;
        height: 60px;
        line-height: 65px;
        text-align: center;
        border-radius: 100%;
        display: block;
        margin: 0 auto 20px;
    }

    .single-riquadro-contatti h3 {
        font-size: 30px;
    }

    .socialdiv {
        padding: 1.5em;
        width: 100%;
    }


    .hero-contatti {
        padding: 70px 0 0;
    }
    .hero-contatti .columns {
        padding: 0 1.5em;
    }
    .hero-contatti .submit {
        margin-bottom: 30px;
    }
    .hero-contatti {
    }
    .hero-contatti .imgandrea img {
        max-width: 260px;
        margin-top: 20px;
    }

    /** HOME **/
    .hero h1 {
        font-size: 22px;
        margin-bottom: 0;
    }

    .iconamov i{
        font-size: 30px;
    }

    .logohero {
        max-width: 95%;
    }

    .hero h1 span {
        width: 100%;
        font-size: 30px;
    }

    .iniziadaqui h2{
        font-size: 30px;
    }

    .iniziadaqui p {
        font-size: 14px;
    }
    .corsi-disponibili h2 {
        font-size: 30px;
        margin-left: 20px;
        margin-right: 20px;
    }


    .dashboard .wrap-corso .btn {
        font-size: 20px;
        padding: 0.5em;
    }

    .calendario h2{
        font-size: 25px;
    }

    .data-coaching .row .columns {
        width: 100% !important;
        flex: 100% !important;
        max-width: 100% !important;
    }

    .data-coaching .row {
        display: block;
    }


    .data-coaching .row .columns.medium-9 {
        padding: 0;
        text-align: center;
    }
    .data-coaching .row h3{
        font-size: 20px;
    }
    .wrap-form-prenotazioni .calendario img {
        width: 80%;
    }

    .btn.alldirette {
        font-size: 18px;
    }

    /** Dirette Page **/
    .dirette_intro {
        padding: 2em 0 0;
    }
    .dirette_intro h2{
        font-size: 30px;
    }

    .page-programmi .title-cat-section h3 {
        font-size: 16px;
        text-align: center;
        display: block;
        font-weight: 900;
        background: #dc0303;
        color: #fff;
        padding: 1em;
    }

    .page-programmi .wrap-cat-corso {
        border-bottom: 1px dotted rgb(158, 158, 158);
        padding-top: 20px;
        padding-bottom: 0;
    }


    .page-programmi .content-modulo {
        display: block;
    }
    .content-modulo {
        flex-wrap: nowrap !important;
    }

    .content-modulo .cover-modulo {
        flex-basis: 100% !important;
    }
    .page-programmi .wrap-modulo-corso .cover-modulo img {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-bottom: 0;
    }
    .content-modulo .head-modulo {
        flex-basis: 100% !important;
        padding: 10px;
    }

    .page-programmi .content-modulo h4 {
        font-size: 20px;
        font-weight: 900;
        margin: 20px 0;
    }
    .desc-modulo {
        font-size: 12px;
        line-height: 1.8;
        color: #000;
        opacity: 0.8;
    }


    .page-programmi .title-cat-section{
        display: block;
    }

    .nopadresp{
        padding: 0 5px;
    }

    .coltxt .btn {
        line-height: 1.4;
        padding: 1em;
    }
    .coltxt h2 {
        font-size: 18px;
    }

    .pretitle_marmeeting {
        width: 70%;
        font-size: 18px;
    }

    .contenutodelmese h2{
        font-size: 40px;
    }

    .contenutodelmese .columns {
        padding: 0 10px;
    }

    .contenitore_cm h2{
        font-size: 30px;
    }

    .telegram .medium-7 {
        padding: 1.5em;
    }

    .telegram h2 {
        font-size: 30px;
        text-align: center;
    }

    .telegram p {
        font-size: 21px;
        text-align: center;
    }

    .telegram {
        padding: 1em 0 0 0;
    }
    .telegram .btn {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .dirette_wrap .content-moduloflex {
        display: flex;
        align-items: center;
        flex-wrap: wrap !important;
    }
    .content-modulo.content-moduloflex div {
        width: 100%;
        margin-bottom: 20px;
    }



    .hero{
        padding: 3em 0;
    }

    .hero .columns.medium-10.medium-centered{
        padding: 0 0.5em;
    }

    .tpr{
        font-size: 24px;
    }


    .row.pdb .columns {
        width: 50%;
        padding: 0 0.2em;
    }
    .row.pdb .columns.medium-12{
        width: 100% !important;
    }
    .header-corso{
        min-height: 100px;
    }

    .content-corso h2 {
        font-size: 14px;
    }
    .new-riquadro-corso.lockedcorso i {
        top: 35%;
        font-size: 50px;
    }

    .btn, input[type="submit"] {
        line-height: 1.5em;
        font-size: 16px;
        padding: 1em 0;
        display: block;
        width: 100%;
    }

    .columns{
        padding: 0 0.5em;
    }

    .chisiamo .row{
        display: block;
    }

    .chisiamo img {
        max-width: 95%;
        display: block;
        margin: 0 auto;
    }

    .chisiamo .columns:nth-child(2) {
        padding: 0 1em;
    }

    .chisiamo h2 {
        font-size: 40px;
        margin-top: 30px;
    }

    .contatti h2 {
        font-weight: 900;
        font-size: 35px;
    }

    .title_corsi {
        margin: 0;
        text-align: center;
        font-size: 30px;
    }

    .corsi-dash .header-corso {
        min-height: 100px;
    }

    .clearfix.resp{
        display: block;
    }
    .clearfix.desk{
        display: none;
    }


    .corsi-dash .content-corso h2 {
        font-size: 14px;
    }


    .hero-programmi{
        padding: 2em 0;
    }

    .hero-programmi h3{
        font-size: 30px;
    }


    .header_riquadro-categoria_gen {
        min-height: 160px;
    }

    .content_riquadro-categoria_gen{
        min-height: 1px;
    }
    .content_riquadro-categoria_gen h3 a{
        font-size: 22px !important;
    }

    .page-programmi {
        padding: 2em 0.5em;
    }

}

@media only screen and (min-width: 640px) and (max-width: 1100px){
    .hero-contatti .pretitle {
        font-size: 22px;
        padding-left: 60px;
    }
    .single-riquadro-contatti {
        padding: 2em 1em;
    }

    .single-riquadro-contatti p {
        font-size: 15px;
    }

    .socialdiv{
        width: 80%;
    }

    .hero-contatti h2 {
        font-size: 35px;
    }

}

@media only screen and (min-width: 640px) and (max-width: 1000px){
    .hero h1 span{
        width: 90%;
        font-size: 60px;
    }

    .telegram h2 {
        font-size: 38px;
    }

    .imgandrea img {
        max-width: 380px;
    }
    .hero-contatti .columns {
        width: 100%;
    }
    .telegram .medium-7 {
        padding: 1em;
    }


    .risorse .columns {
        width: 100%;
    }
}


/** MODIFICHE 9 FEBBRAIO */
.new-riquadro-corso {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 5px -8px #ddd;
}
.corsi-dash .header-corso {
    min-height: 150px;
}
.corsi-dash .header-corso img {
    position: absolute;
    width: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    max-width: none;
}

.corsi-dash .row.pdb .columns{
    padding: 0 10px;
}

.lockedcorso {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
    max-width: none;
    left: 0;
    top: 0;
    z-index: 99;
}

.riquadro-categoria_gen{
    position: relative;
    overflow: hidden;
}

i.fa.fa-lock {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 99999;
    color: #fff;
    font-size: 60px;
}