.titolo {
	display: block;
	font-size: 24px;
	font-weight: 500;
	margin: 10px 0px;
	text-align: center;
}

.lastupdate {
	text-align: center;
	font-size: 14px;
	margin-bottom: 30px;
}

.titolino {
    display: block;
    font-size: 18px;
    font-weight: 500;
    margin: 10px 0px;
    text-align: center;
}

.bz_content {
	position: relative;
	width:  100%;
	margin: 20px 0px;
}

.form-container {
    position: relative;
    margin: 0 auto;
    margin-top: 20px;
    max-width: 400px
}

.content_box_ajax_select {
    position: relative;
}

.box_ajax_select {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    max-height: 250px;
    overflow: auto;
    background-color: #FAFAFA;
    z-index: 50;
}

.ajax_select {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    border-bottom: 1px solid #EEEEEE;
    cursor: pointer;
}

.ajax_select:hover {
    background: #FFFFFF;
}

.select_nom_scu,
.select_tip_scu {
    width: 100%;
    margin-top: 20px;
}

.button_classi {
    display: inline-block;
    border: 2px solid #757575;
    color: #FFFFFF;
    line-height: 35px;
    background: #757575;
    height: 40px;
    width: 50px;
    text-align: center;
    margin-top: 0px;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -ms-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
}

.button_classi:hover {
    color: #757575;
    background: transparent;
}

#lbl_info_classe_selezionata,
.lbl_combinazione {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    padding-left: 15px;
    cursor: pointer;
}

.lbl_combinazione:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; 
    content: "\f138";
    padding-right: 10px;
}

.lbl_combinazione.open:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; 
    content: "\f13a";
}

.contenitore_classi {
    display: none;  
}

.lbl_ad_info_scuola {
    font-weight: 500;
    margin-left: 10px;
}

table tr td {
    padding: 3px 5px;
}

.intestazione {
    font-weight: 600;
    margin: 0;
    font-size: 12px;
}

.box_lista_adozioni {
    font-size: 12px;
    min-height: 60px;
    position: relative;
    clear: both;
    margin: 0px;
    border-right: 4px solid #CCC;
}

div.box_lista_adozioni.acquistare_si {
    border-right-color: #6EA554;
}

div.box_lista_adozioni.acquistare_no {
    border-right-color: #71ACCE;
}

table#content_box_lista_adozioni tr th,
table#content_box_lista_adozioni tr td {
    padding: 5px 5px;
    text-align: left;
    font-size: 12px;
}

table#content_box_lista_adozioni tr th {
    padding: 12px 5px;
}

table#content_box_lista_adozioni thead {
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
}

table#content_box_lista_adozioni tr {
    border-bottom: 1px solid #EAEAEA;
}

th.lbl_ad_titolo,
td.lbl_ad_titolo {
    width: 35%;
}

td.lbl_ad_codice {
    width: 10%;
}

div.copertina {
    margin-left: 5px;
    width: 60px;
    float: left;
}

th.copertina,
div.copertina img, 
td.copertina img {
    max-width: 60px;
}

th.lbl_ad_autori,
td.lbl_ad_autori {
    width: 30%;
}

th.lbl_ad_prezzo,
td.lbl_ad_prezzo {
    width: 18%;
}

th.dati_adozione,
td.dati_adozione {
    width: 15%;
}

#content_box_ricerca_avanzata {
    border: 1px solid #EAEAEA;
    margin-top: 20px;
    padding-bottom: 13px;
    margin-bottom: 60px;
    line-height: 1.2em;
}

#content_box_ricerca_avanzata .card {
    margin-bottom: 20px;
}

#contenitore_tabella_adozioni {
    display: none;
    padding: 0px;   
}

.chkbox {
    margin-top: 10px;
}

.chkbox .disponibile, .chkbox .prenotabile {
    padding: 2px 4px;
    font-size: 10px;
    margin-top: 0px;
    max-width: 70px;
    text-align: center;
    line-height: 1em;
}

.chkbox .disponibile {
    background: #6EA554;
    color: #FFF;
}

.chkbox .prenotabile {
    background: #FFBF00;
    color: #000;
}

.chkbox .non_disponibile {
    background: #F60000;
    color: #FFF;
}

.chkbox .condizione {
    position: relative;
    display: inline-block;
    top: -2px;
    font-size: 12px;
    left: 5px;
    min-width: 70px;
}

.chkbox .pre_ado {
    display: inline-block;
    font-size: 16px;
    position: relative;
    font-weight: 500;
}

.bz_content.adozioni button.add-to-cart {
    position: absolute;
    right: 0;
    margin-top: -42px;
}

.bz_content.adozioni button.add-to-cart.sotto {
    margin-top: 25px;
}

.bz_content.adozioni button.add-to-cart:active,
.bz_content.adozioni button.add-to-cart:hover {
    background-color: var(--button-bg-color);
}

#contenitore_tabella_adozioni button {
    border-radius: 0px;
    padding: 11.5px 30px;
}

div.evidenzia {
    width: 20px;
    background: #CCC;
    display: inline-block;
    float: left;
}

div.evidenzia {
    width: 10px;
    background: #CCC;
}

span.acquistare_si {
    color: #6EA554;
    font-weight: 500;
}

span.acquistare_no {
    color: #71ACCE;
    font-weight: 500;
}

div.evidenzia.acquistare_si {
    background: #6EA554;
}

div.evidenzia.acquistare_no {
    background: #71ACCE;
}

#msg_adozioni {
    font-size: : 18px;
    text-align: center;
    display: none;
}

.attesa_adozioni {
    display: block;
    width: 100%;
    padding-top: 23.75%;
    background-image: url(../img/adozioni_in_arrivo.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#loading_carrello {
    display: none;
    width: 100%;
    height: 80px;
    background-image: url(../img/loading_carrello.gif);
    background-repeat: no-repeat;
    background-size: 50px;
    background-position: center bottom;
    text-align: center;
    margin: 50px 0px;
}

@media (max-width: 700px) {
    div.copertina {
        margin-right: 20px;
    }

    .box_lista_adozioni .col-md-2 {
        margin-bottom: 10px;
        text-align: center;
    }

    .chkbox .disponibile, .chkbox .prenotabile { 
        margin:  0 auto;
    }

    .bz_content.adozioni button.add-to-cart {
        display: none;
    }

    .bz_content.adozioni button.add-to-cart.sotto {
        position: relative;
        right: auto;
        display: block;
        margin:  0 auto;
    }    
}
@media (max-width: 400px) {

    #contenitore_tabella_adozioni {
        text-align: center;
    }
    .row.intestazione {
        display: none;
    }

    div.copertina {
        margin-left: 0px;
        float: none;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .box_lista_adozioni {
        font-size: 14px;
        text-align: center;
    }

    .box_lista_adozioni .col-md-4,
    .box_lista_adozioni .col-md-3,
    .box_lista_adozioni .col-md-2 {
        margin-bottom: 10px;
    }

}