﻿/*classi card sprint2 AIIA003 */


/*#region CARD CORSI */

.cardCorso {
    position: relative;
}

.cartaCorso {
    /*width: 31vmin;*/
    height: 40vh !important;
    width: 225px !important;
    border-radius: 2vmin;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: white;
    overflow: hidden;
    border: 1px solid lightgrey;
    /*margin: 3vmin 5vmin;*/
    margin-top: 3vmin;
    margin-bottom: 3vmin;
    margin-left: 3vmin;
}


.tagNovita {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px;
    border-color: #1BACE4 #1BACE4 transparent transparent;
    float: left;
    position: absolute;
    top: 0px;
    right: 0px;
    border-radius: 0px 15px 0px 0px;
}

.tagReview {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px;
    border-color: #006198 #006198 transparent transparent;
    float: left;
    position: absolute;
    top: 0px;
    right: 0px;
    border-radius: 0px 15px 0px 0px;
}

.tagOnDemand {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px;
    border-color: #006198 #006198 transparent transparent;
    float: left;
    position: absolute;
    top: 0px;
    right: 0px;
    border-radius: 0px 15px 0px 0px;
}

.rotate1 {
    font-size: 12px;
    transform: rotateZ( 45deg);
    position: absolute;
    top: -16px;
    left: -14px;
    color: white;
    text-transform: uppercase;
}

.rotate2 {
    font-size: 12px;
    transform: rotateZ( 45deg);
    position: absolute;
    top: -20px;
    left: -10px;
    color: white;
    text-transform: uppercase;
}

.headerCartaCorso {
    width: 100%;
    height: 55%;
    padding: 2vmin;
    overflow: hidden;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
}

.piuModuli {
    position: absolute;
    bottom: 0px;
    right: 10px;
    color: white;
    /*font-size: 2vmin;*/
}

.titoloCartaCorso {
    /*        color: white;*/
    font-weight: bold;
    padding-right: 3vmin;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.bodyCartaCorso {
    width: 100%;
    height: 30%;
    background-color: white;
    border-top: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.contenitoreTempoCartaCorso {
    height: 100%;
    width: 50%;
    padding: 2vmin;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testoTempoCartaCorso {
    text-align: center;
    color: black;
    font-weight: bold;
}

.contenitoreDonutCartaCorso {
    height: 100%;
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footerCartaCorso {
    width: 100%;
    height: 15%;
    background-color: #9ACA3C;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.vediContenutoCartaCorso {
    cursor: pointer;
}

/*SM*/
@media (min-width: 576px) {
    .cartaCorso {
        /*width: 31vmin;*/
        height: 40vh !important;
        width: 225px !important;
    }
}
/*MD*/
@media (min-width: 768px) {
    .cartaCorso {
        /*width: 31vmin;*/
        height: 35vh !important;
        width: 250px !important;
    }
}
/*LG*/
@media (min-width: 992px) {
    .cartaCorso {
        /*width: 31vmin;*/
        height: 35vmin !important;
        width: 250px !important;
    }
}
/*XL*/
@media (min-width: 1200px) {
    .cartaCorso {
        /*width: 31vmin;*/
        height: 35vmin !important;
        width: 250px !important;
    }
}
/*XXL*/
@media (min-width: 1440px) {
    .cartaCorso {
        /*width: 31vmin;*/
        height: 35vmin !important;
        width: 250px !important;
    }
}

/*#endregion */



/*#region CARD PROFILO UTENTE */

.cardProfilo {
    /*width: 31vmin;*/
    height: 25vh !important;
    width: 225px !important;
    border-radius: 2vmin;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: white;
    overflow: hidden;
    border: 1px solid lightgrey;
    /*margin: 3vmin 5vmin;*/
    /*margin-top: 3vmin;*/
    /*margin-bottom: 3vmin;*/
    /*margin-left: 3vmin;*/
}

.headerCardProfilo {
    width: 100%;
    height: 85%;
    padding: 1vmin 2vmin;
    overflow: hidden;
    position: relative;
    background-color: white;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /*box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);*/
}

.immagineCardProfilo {
    height: 50%;
    width: 60%;
    border-radius: 50%;
    margin: 0 auto;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
}

.testoCardProfilo {
    height: 50%;
}

.nomeCardProfilo {
    font-weight: 700;
    font-size: 1.5em;
    padding-top: 10px;
}

.footerCardProfilo {
    width: 100%;
    height: 15%;
    background-color: #9ACA3C;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

/*#endregion */

/*#region CARD INDIRIZZI CARRELLO */

.cardIndirizzoCarrello {
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 15px;
    min-height: 10vh;
    height: 100%;
    text-align: initial;
    padding: 0 2vmin;
    overflow: auto;
}

/*#endregion */

