.main-button{

    height: 50px;
    margin-right: 10px;
    width: 250px;
 border-radius: 5px;


}

/*.img-fluid{*/
    /*height: 100%!important;*/
/*}*/


.center-text-in-element{

    margin-left: auto !important;
    margin-right: auto !important;
    width:100% !important;
    position: relative !important;

}


.vertical-center {

    -ms-transform: translateY(50%);
    transform: translateY(50%);
}



.paginationjs {

z-index: 1000;
position: sticky;
}
.img-news{

    width: 100% !important;
    height: 100px !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

border-radius: unset !important;
}



.product-card{
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2), 0 10px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 10px;

}


.custom-button{
    border-radius:5px !important;
    box-shadow: 0 40px 60px rgba(0,0,0,0.4) !important;
}


.custom-button2{
    padding: 12px 20px !important;
    font-weight: 500 !important;    
}




.riquadro-news {
    padding-right: 10px !important;
    padding-left: 10px !important;
}


.ombra-sfondo-scuro{
    box-shadow: 0 40px 60px rgba(0,0,0,0.4) !important
}


.ombra-sfondo-chiaro{
    box-shadow: 0 40px 60px rgba(0,0,0,0.2) !important;
}


.badge{
    font-weight: 400 !important;
    padding: 5px 15px !important;
    border-radius: 50px!important;
}
.product-card:hover {
    -moz-transform: translate(0px, -5px);
    -ms-transform: translate(0px, -5px);
    -o-transform: translate(0px, -5px);
    -webkit-transform: translate(0px, -5px);
    transform: translate(0px, -5px);
    transition-duration: 0.5s;
}
@media (max-width: 768px) {

    .hidden-mobile{
        display: none !important;
    }


}



@media (min-width: 769px) {

    .hidden-desk{
        display: none !important;
    }


}
.select-corso  > option {
    color: black;
}



/***** questo era in home ****/
#scrollUp {
    width: 50px;
    height: 50px;
    background-color: #abcb59;
    color: #fff;
    right: 20px;
    bottom: 60px;
    text-align: center;
    overflow: hidden;
    border-radius: 50px;
    z-index: 9811 !important;
}
.paginationjs-pages li.active > a{

    background: #abcb59 !important;
}

h1 {
    font-size: 36px;
    font-weight: 800;
    color: #FFF;
}


.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.vertical-horizontal{
    margin: 0;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.vertical-center.vertical-horizontal{
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}


@media not all and (min-resolution:.001dpcm)
{ @supports (-webkit-appearance:none) {
    .vertical-center-button-safari {
        top: 30% !important;
    }
}}
/*****************************************/

.primary{
    color: #112a4f;
}

.bg_primary{
    background-color: #112a4f;
}

.secondary{
    color: #abcb59;
}

.bg_secondary{
    background-color: #abcb59;
}

.bg_third{
    background-color: #e2e2e2;
}

.white{
    color: #fff;
}

.bg_white{
    background-color: #fff;
}

.text-right{
    text-align: right;
}

.main-menu ul{
    margin: 0;
    padding: 0;
}

.area-riservata-butt{color: #0f2122; font-size: 12px !important;
    font-weight: bold; margin-right: auto;
    margin-bottom: 5px; width: 110px!important; text-align: center !important;}

.img_bg{
    background-size:cover;
    background-repeat:no-repeat;
    background-position: center center;
}

.news h3{
    font-size: 16px;
}

.fw-800{
    font-weight: 800;
}

.cursor-pointer{
    cursor: pointer;
}

.news .product-card{
    min-height: 190px;
}

.slide_sede{
    width: 100% !important;
    height: 500px;
    background-position: center center;
    background-repeat: no-repeat;
    object-fit: cover;
}

.cat_corso img {
    border-radius: 15px;
    max-width: 100%;
    width: auto;
}


.center-cropped {
    width: 100% !important;
    height: 250px;
    background-position: center center;
    background-repeat: no-repeat;
    filter: brightness(60%);
    border-radius: 15px;
    object-fit: cover;
    background-color: white;
}

label.error{
    color: #112a4f;
    font-weight: 700;
}

.checkbox_wrapper{
    position: relative;
}

.listino_partecipante .voce_listino label.error{
    position: absolute;
    bottom: -25px;
}

.form-check{
    position: unset;
}

.ak_pagination{
    justify-content: center;
}

.ak_pagination li{
     padding: 0.2rem;
}

.ak_pagination li.active{
    font-weight: 700;
}

.pop_hover:hover{
    -moz-transform: translate(0px, -5px);
    -ms-transform: translate(0px, -5px);
    -o-transform: translate(0px, -5px);
    -webkit-transform: translate(0px, -5px);
    transform: translate(0px, -5px);
}

.text-v-centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card_corso{
    overflow: hidden;
    min-height: 270px;
}

.ak_slider{
    height: 700px;
    position: relative;
}

.logo img{max-width: 310px; margin-left: 65px; margin-top: -10px}

#conferma_ordine.disabled{
    cursor: not-allowed;
    background-color: rgba(2, 3, 4, 0.74);
    border-color: rgba(2, 3, 4, 0.74);
}



/* form registrazione */
.login_form_wrapper{
    max-width: 450px;
    text-align: center;
    margin: 0px auto;
}


.radio_istanza{
    width: 20%!important;
}

.label_radio_istanza {
    width: calc(80% - 0.5rem);
}

.login-form{
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,.15);
    background: #17305B;
    background: linear-gradient(45deg,#17305B 0, #24475b 100%);
    color: #fff;
    height: 100%;
}

.registration-form{
    background: #6DA031;
    background: linear-gradient(45deg,#6DA031 0, #A8C142 100%);
}

.login_btn, .sigin_btn{
    display: inline-block;
    height: 42px;
    line-height: 42px;
    border-radius: 21px;
    padding: 0 30px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s;
    -webkit-appearance: button;
    border: 2px solid #fff;
    background-color: transparent;
    color: #fff;
    box-shadow: none;
}

.login_btn:hover{
    background-color: #fff!important;
    color: #6DA031;
}

.sigin_btn:hover{
    background-color: #fff!important;
    color: #17305B;
}

.login-form label{
    font-weight: 700;
    color: #fff;
}

.box_forgot_pwd{
    padding-top: 20px;
    border-top: 1px solid #fff;
}

/*********************/
@media only screen and (max-width: 1600px){
    .product-wrap .product-content:not(.docente) h3 {
        min-height: 70px;
    }

    .ak_slider{
        height: 600px;
    }
}

@media only screen and (max-width: 1300px){
    .logo img{max-width: 300px}

    .main-menu > nav > ul > li > a {
        padding: 5px 13px;
    }
    .header_social_wrapper{
        display: none;
    }

    .header-right-wrap{
        margin-right: 20px;
    }

}


@media only screen and (max-width: 1200px) {
    .main-menu > nav > ul > li {
        left: 0;
    }

    .product-wrap .product-content:not(.docente) h3 {
        min-height: 55px;
    }

    .main-menu .sedi{
        display: none;
    }


}

@media only screen and (max-width: 1100px) {
    .ak_slider {
        height: 530px;
    }

    h1, .h1 {
        font-size: 30px;
    }

    h2, .h2 {
        font-size: 27px;
    }

    h4{
        font-size: 17px;
    }

    p, li {
        font-size: 16px;
        line-height: 21px;
    }
}

@media only screen and (max-width: 990px){
    .ak_slider {
        height: 400px;
    }

    .container {
        max-width: 90%!important;
    }

    .mobile-off-canvas-active .header-mobile-aside-wrap .mobile-menu-wrap .slinky-mobile-menu > ul > li > a {
        font-size: 20px;
    }

    .box_istanze .istanza_corso{
        margin-bottom: 20px;
    }

    #col_2_slider{
        display: none;
    }

    .ak_slider .vertical-center{
        position: relative;
    }
}



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

    .container {
        max-width: 96%!important;
    }

    h1, .h1 {
        font-size: 22px;
    }

    h2, .h2 {
        font-size: 20px;
    }

    h3, .h3 {
        font-size: 18px;
    }

    h4, .h4 {
        font-size: 16px;
    }

    h5, .h5 {
        font-size: 15px;
    }

    p, li {
        font-size: 15px;
        line-height: 20px;
    }

    .ak_slider{
        height: 450px;
    }

    .logo img{
        max-width: 200px;
        margin-left: 23px;
    }
    .login-form{
        padding: 20px;
    }
}

@media only screen and (max-width: 500px) {
    .ak_slider {
        height: 500px;
    }

    .ak_slider .riga_btn a{
        width: 100%;
    }
}


@media only screen and (max-width: 450px) {
    .ak_slider {
        height: 520px;
    }
}



@media only screen and (max-width: 350px) {
    .ak_slider {
        height: 480px;
    }
}