
.container{
    background: url("../img/bck-tinta.png") repeat-y;
    background-size: 100% auto;*/
}

.section-title{
     font-family: "Comic Sans MS", cursive, sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    background-color: #A2DDED;
    color:#3391aa;
    width: 100%;
    margin-right: auto;
    mergin-left:auto;
    margin-bottom: 15px;
    margin-top: 40px;
    height: auto;
}

.box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: content-box;
    width: auto;
    /*border: 1px solid #ccc;*/
    text-align: center;
}

ul {
    margin: auto;
    padding: 0;
    list-style-type: none;
}

.corsi ul#timetable{
    width: 80%;
}

form {
    padding-top: 50px;
    padding-bottom: 30px;
}

ul#timetable li {
    margin: 0 0;
   float: left;
}

.hbox-1 {
   height: 200px;
}

.hbox-2 {
    height: 400px;
}

.box-12 {
    width: 100%;
}

.box-6 {
    width: 50%;
}

.box-4 {
    width: 33.3333333%;
}

.box-8 {
    width: 66.666666%;
}

.line-1{
    background-color: #C0FFD0;
    border: 2px solid #4EA365;
}

.line-2{
    background-color: #E4E0A0;
    border: 2px solid #746B0D;
}

.line-3{
    background-color: #FEAC87;
    border: 2px solid #752D07;
}

.line-4{
    background-color: #FFC2C7;
    border: 2px solid #C00F17;
}


ul#timetable label {
    height: 100%;
    width: auto;
    border-radius:  0px 0px 5px 5px ;
}

.box .labelbox {
    height: 100%;
    width: auto;
    display: block;
    /*background-image: url("../img/bck.jpg"); /* The image used */

}

.box .title {
    font-size: 0.9em;
    color: black;
    font-weight: 300;
}

.box .orario {
    font-size:0.8em;
    color: #0f0f0f;
    background-color: white;
}

.box .discipline {
    margin-top: 0.8em;
    font-weight: 500;
    /*font-family: "Comic Sans MS", cursive, sans-serif;*/
    color: #3391aa;
}

.box .teacher {
    margin-top: 0.8em;
    font-size:0.8em;
    font-weight: 500;
    font-family: "Comic Sans MS", cursive, sans-serif;
    font-style: italic;
    color: #DC3447;
}

.box .level {
    font-size:0.6em;
    color: #646262;
}

.labelpack input {
    visibility: hidden;
    opacity: 0;
    cursor: pointer;
}

.labelpack input:checked ~ .labelbox{
    background-color: #d9d94a;
}

.labelpack input:disabled ~ .labelbox{
    opacity: 0.2;
    filter: alpha(opacity=20);
}


.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

.giorno {
    font-family: "Comic Sans MS", cursive, sans-serif; 
     background-color: #A2DDED;
    color:#3391aa;
    border-radius: 4px 12px 8px;
    font-size: 1.5em;
    padding-top: 10px;
    padding-bottom: 5px;
    text-align: center;
    font-weight: bold;

}


.pacchetti {
    margin: auto;
    width: 90%;
    height: auto;
}

.pacchetti li label{
    width: 100%;
    text-align: center;
}

.pacchetti .titolo{
    font-size: 1.2em;
    font-style: italic;
    font-weight: bold;
    color: white;
}

.pacchetti .prezzo{
    font-size: 1.5em;
    border: 1px solid #0b0b0b;
    background-color: #c4e3f3;
    color: #761c19;
}

.pacchetti .descrizione{
    font-size: 0.9em;
    background-color: #3391aa;
}

.notify-badge{
    position: absolute;
    right:-20px;
    top:10px;
    background:red;
    text-align: center;
    /*border-radius: 30px 30px 30px 30px;*/
    color:white;
    padding:5px 10px;
    font-size:20px;
}

.badge{
   background-color: #A31;
   background-image: radial-gradient(25% 25%, circle, hsla(0,0%,100%,.3), hsla(0,0%,0%,.3));
   /*color: red;*/
   box-shadow: inset 0px 0px 5px;
}


.badgebox + .badge
{
    visibility: hidden;
    /* Move the check mark away when unchecked
    text-indent: -999999px;
    /* Makes the badge's width stay the same checked and unchecked */
    width: 27px;
}

.badgebox:checked + .badge
{
    /* Move the check mark back when checked */
    /*text-indent: 0;*/
    visibility: visible;

}

.badgebox:checked ~ .titolo{
   color: #A31;
}

.soldout {
    text-align: center;
    position: relative;
    color: black;
    font: bold 1.0em Georgia;
    top: 50px;
    margin-left:10px;
    background-color:red;
    z-index:100;
    transform:rotate(20deg);
    width: 80%;
}



.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.sticky + .corsi {
    padding-top: 60px;
}

.barremaining {
    margin: auto;
    width: content-box;
    color: white;
    background-color: black;
    opacity: 0.8;
    z-index:999;
}

.readonly{
    background-color: transparent;
    border: none;
    text-align: center;
    color: white;
}


#conferma.row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    margin: 0 -16px;
}

#conferma .container {
    background-color: #f2f2f2;
    padding: 5px 20px 15px 20px;
    border: 1px solid lightgrey;
    border-radius: 3px;
    margin-top: 20px;
    margin-bottom: 20px;
}



#conferma span.price {
    float: right;
    color: grey;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other (and change the direction - make the "cart" column go on top) */
@media (max-width: 800px) {

    .corsi ul#timetable{
        width: 100%;
    }
}

ul#pacchettoconferma{
    margin-bottom: 15px;
}

ul#pacchettoconferma li{
    padding: 3px;
    border: 0.3px solid black;
    margin-top: 5px;
    font: 0.6em italic;
}

ul#pacchettoconferma li .title{
    font: 1.1em bold;
}

ul#pacchettoconferma li .description{
    font: 1em Arial;
}

/* PAGAMENTI SECTION -------------------- */
.bottonepagamento{
    margin: auto auto;
}

#competizioni li{
    font: 0.8em italic;
    padding: 3px;
    border: 0.3px solid black;
    margin-top: 5px;

}

.pagamenti {
   border: 1px solid #1D7E58;
}

.labelpack {
    display: block;
    margin-bottom: 12px;
    cursor: pointer;
    height: auto;
    font-size: 1em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.labelpack input {
    visibility: hidden;
    opacity: 0;
    cursor: pointer;
}

.text {
    display: inline-block;
    vertical-align: middle;
    padding-left: 10px;
    width: 70%;
}


ul li .titolopagamenti{
    /*background-color: #4CAF50;*/
    border: none;
    color: white;
    padding: 15px 32px;
    font-family:Georgia,serif;
    color:#2E1C1C;
    font: 1.1em bold ;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font: 1.1em bold ;
    margin: 4px 2px;
    cursor: pointer;
}


ul li .descrpagamenti{
    border-top: 0.5px solid;
    font-family: "Helvetica Neue", "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
    font-size: 0.8em;
    margin-top: 1em; color: #666;
    padding: 4px;
}

.labelpack .button {
    background-color: #0086A3;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}