@media (max-width: 768px) { /* MOBILE */
    #myCarousel img{
        /*width: 100% !important;*/
    }
    
    .buttonAccedi{
    width: 70%;
    }
    
    .logoHomeLogin{
        font-size: 50px;
    }
    
    body{
        min-width: 375px;
    }
}

@media (min-width: 769px) { /* DESKTOP */
    
    .buttonAccedi{
    width: 30%;
    }
    
    .logoHomeLogin{
        font-size: 60px;
    }
}

@media (max-width: 550px){ /* PORTRAIT */
    /*.footer {
        position: fixed;
    }*/
    .footerIntestazioneDesktop{
        display: none;
    }
    
    .bootboxDialogProfessioni .modal-body{
        height: 400px;
        overflow-y: scroll;
    }

    .bootboxDialogDiscipline .modal-body{
        height: 400px;
        overflow-y: scroll;
    }
}

@media (min-width: 551px){ /* LANDSCAPE */
    .footerIntestazioneMobile{
        display: none;
    }
    
    .bootboxDialogProfessioni .modal-body{
        height: 500px;
        overflow-y: scroll;
    }

    .bootboxDialogDiscipline .modal-body{
        height: 500px;
        overflow-y: scroll;
    }
}

.footer p{
    margin-bottom: 5px;
}

#paginaProfilo .form-control{
    width: 100%;
}

.buttonAllconn{
    width: 250px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 40px;
}

#finestraFadNonVisualizzata label,input{
    cursor: pointer;
}

#finestraFadNonVisualizzata label{
    font-weight: 100;
}

.footer {
    /*position: fixed;*/
    min-height: 80px;
    /*margin-top: 30px;*/
    left: 0;
    bottom: 0;
    width: 100%;
    color: #555;
    text-align: center;
    font-style: oblique;
    /*height: 100px;*/
    padding-top: 5px;
    background-color: #f8f8f8;
    border-color: #e7e7e7;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
    border: 2px solid #8080801c;
}

.boxCorsoFad{
    background-image: -webkit-linear-gradient(top,#fdfdfd 0,#f8f8f8 100%);
    background-image: -o-linear-gradient(top,#fdfdfd 0,#f8f8f8 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#f8f8f8));
    background-image: linear-gradient(to bottom,#fdfdfd 0,#f8f8f8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdfdfd', endColorstr='#fff8f8f8', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    background-repeat: repeat-x;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
    border: 2px solid #8080801c;
    padding: 15px;
    margin-bottom: 20px;
}

.textAlignCenter{
    text-align: center;
}

.label-success, .label-danger, .label-warning{
    font-size: 12px;
}

.textOblique{
    font-style: oblique;
}

#NomeCognome{
    text-align: center;
    font-size: 17px;
    color: darkred;
    font-weight: bold;
}
/*
#Impostazioni,#Logout{
    text-align: center;
    color: darkred;
    cursor: pointer;
}

#Impostazioni:hover,#Logout:hover{
    text-decoration: underline;
}
*/
.buttonsAccediAiCorsiFad{
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.tdElencoCorsiFad{
    padding: 5px;
}

#myCarousel img{
    margin: auto;
    cursor: pointer;
    /*width: 50%;*/
}

#myCarousel{
    margin: auto;
    /*padding-top: 20px;*/
    /*padding-bottom: 20px;*/
    width: 100%;
}

.iscrizioniFad{
    cursor: pointer;
    font-size: 40px;
    color: white;
    text-align: center;
    padding: 10px;
}
/*
.iscrizioniFad:hover{
    text-decoration: underline;
}
*/
.subtitleIscrizioniFad{
    font-size: 20px;
}

.sectionPrimary{
    margin-top:50px;
}

.sectionSecundary{
    background-color: #440d1d;
    color: white;
}

.liEcmFad{
    background-color: darkred !important;
}

#ecmfad{
    color: white !important;
}

.titlePage{
    font-weight: bold;
    color: darkred;
    text-align: center;
    margin-bottom: 20px;
}

.tableDatiProfilo tr{
    height: 51px;
}

.logoHomeLogin{
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    color: #777;
}

.buttonAccedi{
    font-size: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 20px;
}

#buttonRecuperoPassword{
    color: white;
}

#buttonRecuperoPassword span{
    font-size: 14px !important;
}

.rowAfterFormLogin{
    text-align: center;
}

#Password{
    margin-bottom: 10px;
}

#smallRecuperoPassword{
    cursor: pointer;
}

.paragrafoRecuperaCredenziali{
    text-align: justify;
    margin-bottom: 15px;
}

.navbarUser{
    text-transform: uppercase;
}

.containerLogin{
    /*margin-top: 50px;*/
}

.marginLeft20{
    margin-left: 20px;
}

#registrazioneProfessione{
    margin-left: 20px;
}

.labelInserimentoProfessioni, .labelInserimentoDiscipline{
    cursor: pointer;    
    font-weight: 200;
}
/*
.bootboxDialogProfessioni .modal-body{
    height: 500px;
    overflow-y: scroll;
}

.bootboxDialogDiscipline .modal-body{
    height: 500px;
    overflow-y: scroll;
}*/

#terminiCondizioni{
    cursor: pointer;
}

#spanAccettaTermini{
    font-weight: bold;
}

#buttonRegistrati, #buttonRitornaRegistrazione, #buttonRitorna{
    margin-bottom: 40px;
}

.marginBottom40{
    margin-bottom: 40px;
}

.alert-warning{
    margin-top: 50px;
    margin-bottom: 0px;
}

#policyCookie{
    cursor: pointer;
}

.bootboxCookie{
    text-align: justify;
}

.bootboxCookieUl li{
    text-align: justify;
}

@media screen and (orientation:portrait) {  
   
}
 
@media screen and (orientation:landscape) and (min-height: 767px){  
   
}

@media screen and (max-width: 400px) {
    #paypal-button-container {
        width: 100%;
    }
}

@media screen and (min-width: 400px) {
    #paypal-button-container {
        width: 250pixel; /*Non funziona ma è meglio*/
    }
}

#pagaConBonifico {
    cursor: pointer;
}

video::-internal-media-controls-download-button {
    display:none;
}
 
video::-webkit-media-controls-enclosure {
    overflow:hidden;
}
 
video::-webkit-media-controls-panel {
    width: calc(100% + 30px); /* Adjust as needed */
}


@media (max-width: 768px) {

    .banner span{
        font-size: 33px !important;
        //display: none;
    }
    
    .banner p{
        margin: 0px 0px 6px 0 !important;
        font-size: 16px !important;
    }
}
