/* --- Pricing Plans --- */

.pricing-plans {
    padding: 0;
    width: 100%;
}

.pricing-tables {
    display: flex;
    flex-flow: column;
    padding-top: 1em;
}

.pricing-plan {
    background-color: #f6f6f6;
    border: 2px solid #DDD;
    border-bottom: 2px solid #DDD;
    display: block;
    padding: 1em 0;
    text-align: center;
    max-width: 100%;
}

.no-flexbox .pricing-plan {
    float: left;
}

.prezzo-titolo {
    font-size: 1em;
    letter-spacing: -0.05em;
    margin: 0;
    padding: 0.75em 1em 1.9em;
    text-transform: uppercase;
    font-weight: 700;
}

.plan-cost {
    background-color: white;
    color: #77b9dd;
    font-size: 1.15em;
    font-weight: 700;
    padding: 1.25em 1em;
    text-transform: uppercase;
}

.plan-cost span {
    display: none;
}

.plan-prezzo {
    font-size: 3em;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 0;
}

.plan-type {
    border: 0.313em solid #DDD;
    color: #999;
    display: inline-block;
    font-size: 0.75em;
    margin: 0.75em 0 0 0.75em;
    padding: 0.3em 0.4em 0.25em;
    width: auto;
}

.pricing-plan ul {
    margin: 0;
    padding: 1em 1em 1em;
}

.pricing-plan li {
    list-style-type: none;
    border-bottom: 1px solid #DDD;
    margin-bottom: 0.5em;
    padding-bottom: 0.75em;
    color: #555;
    display: block;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: .9em;
    font-weight: normal;
    line-height: 1.3;
}

.prezzo-descrizione i {
    font-size: 1.5em;
}

.featured-plan {
    background-color: #eef7fc;
    border-top: 5px solid #8cd0f5;
    border-right: 0 solid transparent;
    border-bottom: 5px solid #8cd0f5;
    border-left: 0 solid transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    transition: transform 400ms ease;
}

.featured-ribbon {
    width: 200px;
    background: #1B8DC8;
    position: absolute;
    top: 15px;
    left: -60px;
    text-align: center;
    line-height: 35px;
    letter-spacing: 0.01em;
    font-size: 1em;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    /* Custom styles */
    /* Different positions */
}

.featured-ribbon.sticky {
    position: fixed;
}

.featured-ribbon.shadow {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.featured-ribbon.top-left {
    top: 25px;
    left: -50px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.featured-ribbon.top-right {
    top: 25px;
    right: -50px;
    left: auto;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.featured-ribbon.bottom-left {
    top: auto;
    bottom: 25px;
    left: -50px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.featured-ribbon.bottom-right {
    top: auto;
    right: -50px;
    bottom: 25px;
    left: auto;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

@media (min-width: 400px) {
    .pricing-plans {
        width: 100%;
    }

    .featured-plan {
        transform: scale(1.05);
    }
}

@media (min-width: 33.75em) {
    .pricing-plans .module-title {
        margin-bottom: 1em;
    }

    .pricing-tables {
        flex-flow: row wrap;
    }

    .pricing-plan {
        flex-grow: 1;
        width: 100%;
    }

    .pricing-plan:hover {
        top: 0;
        transition: none;
    }


    .featured-plan {
        margin-top: 0.6em;
        order: 0;
    }

    .no-flexbox .pricing-plan {
        width: 48%;
    }

    .prezzo-titolo {
        font-size: 0.875em;
    }
}

@media (min-width: 48em) {
    .no-flexbox .pricing-plan {
        width: 24%;
    }

    .plan-type {
        font-size: 0.7em;
        margin: 0.5em 0 0 1em;
        padding-bottom: 0.2em;
    }

    .featured-ribbon {
        font-size: 0.95em;
    }
}

@media (min-width: 62em) {
    .pricing-tables {
        padding-top: 3em;
    }

    .pricing-plan {
        flex-grow: 1;
        width: 25%;
    }

    .featured-plan {
        margin-top: 0;
        order: 0;
    }

    .pricing-plan .prezzo-descrizione span {
        display: block !important;
    }

    .plan-cost {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        justify-content: center;
        font-size: 1em;
    }

    .plan-cost span {
        color: #BBB;
        font-size: 1.5em;
        font-weight: 400;
        padding-right: 0.15em;
        padding-left: 0.15em;
    }

    .plan-prezzo {
        font-size: 3.25em;
    }

    .featured-ribbon {
        font-size: 0.85em;
        left: -68px;
        line-height: 25px;
    }
}

@media (min-width: 75em) {
    .plan-cost {
        font-size: 1em;
    }
}

@media (min-width: 100em) {
    .pricing-tables {
        margin: 0 auto;
        max-width: 75.00em;
    }
}

.pricing-plan:hover{
    position: relative;
    top: -15px;
    background-color: #77b9dd;
    color:#fff !important;
    transition: all 0.7s;
}
.disabled:hover {
    position: relative;
    top: 0;
    background-color: #f6f6f6;
    transition: none;
}
.disabled li {
    color:lightgray !important;
}
.pricing-plan:hover li {
    color: white;
}
