.boxcell {
    background: url("../img/sfondo-boxcell.png") repeat-x bottom center;
    padding-bottom: 20px
}

.boxcell .cell {
    background: url("../img/boxcell.png") no-repeat bottom center;
    background-size: contain;
    text-align: center;
    margin-bottom: 10px;
}

.boxcell .cell a {
    color: #fff;
    position:relative;
    top: 10px;
    background: #E30E22;
    font-size:1.3rem;
    padding: 0 10px
}

.boxcell .carousel-control {
    background-image: none !important;
    filter: none
}

.boxcell .cell p {
    color: #fff; margin: 0
}

.boxcell .cell p.newprice {
    font-size: 1.8rem;
}

.boxcell .cell p.newprice strong {
    font-size: 3rem;
}

.boxcell .cell p.oldprice {
    text-decoration: line-through;
    font-size: 1.2rem;
}

.boxcell .cell p.oldprice strong {
    text-decoration: line-through;
    font-size: 1.8rem;
}

.boxcell .carousel.slide {
    width: 90%;
    margin: 0 auto;
}

.boxcell .carousel.slide .lSAction > .lSPrev {
    background: url("../img/icon-frecciatondo-sx.png") no-repeat center center;
    left: -15%;
}

.boxcell .carousel.slide .lSAction > .lSNext {
    background: url("../img/icon-frecciatondo-dx.png") no-repeat center center;
    right: -15%;
}

.boxcell .carousel.slide .lSAction > a {
    opacity: 1 !important;
}

.boxcell .glyphicon-chevron-right:before, .boxcell .glyphicon-chevron-left:before {
    content: "";
}

.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right {
    width: auto;
    height: auto;
}

.boxcell h2 {
    color:  #E30E22;
    font-weight: 300;
    font-size: 2.5rem;
}

.boxcell .button {
    background: #E30E22;
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    position: absolute;
    right: 50%;
    bottom: -14px;
    font-size: 1.3rem;
}

.boxcell {
    text-align: center;
}

.rd h3 {
    font-family: "grota_sans_rd";
    color: #E30E22;
    font-size: 5rem;
    font-weight: 300;
    padding: 20px 0;
    margin-bottom: 30px;
    background: url("../img/linea.png") no-repeat bottom left;
}

.semprefacil {
    text-align: center;
}

.semprefacilp {
    margin: 50px 0;
}

.semprefacil img {
    margin: 10px 0;
}

.sfondo {
    background: url("../img/sfondo-1.jpg") no-repeat center center;
    padding-bottom: 40px;
}

.sfondogrigio {
    background: url("../img/sfondo-piani.jpg") no-repeat top center;
    background-size: contain;
}

.mtop20 {
    margin-top: 20px;
}

.mright20 {
    margin-right: 20px;
}

.text-center img {
    margin: 0 auto;
}

.fs2rem {
    font-size: 2rem;
}

.ptopbottom20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.prelative {
    position: relative;
}

.fs25rem {
    font-size: 2.5rem !important;
}

.fs20rem {
    font-size: 2rem !important;
}

.know-more {
    text-align: center;
    margin-bottom: 40px;
    margin-top:40px;
}

@media only screen and (min-width: 768px) {
    .know-more {
        -ms-transform: rotate(-90deg); /* IE 9 */
        -webkit-transform: rotate(-90deg); /* Safari */
        transform: rotate(-90deg);
        text-align: center;
        float: left;
        position: absolute;
        top: 25%;
        left: -13%;
        margin-bottom: 0
    }
}

@media only screen and (max-width: 767px) {
    .know-more h3 {
        width: 90%;
        margin: 0 auto !important;
    }

    .cornersxtrasp {
        display:none;
    }

    .cornerdxtrasp {
        display:none;
    }
    .red-title-container {
        width:100%;
        clear:both;
        margin:0 auto;
        float:none;
    }
}

.know-more h3 {
    background: #8B8E8E;
    color: #fff;
    border-radius: 10px;
    padding: 10px 50px;
    font-weight: 300;
    margin: 0;
    z-index: 99;
    position: relative;
}

.know-more a {
    color: #fff;
    border-radius: 10px;
    padding: 12px 20px 5px 20px;
    z-index: 1;
    position: relative;
}

.large-size-plan .box-plan p {
    font-size: 3.5rem;
}

.small-size-plan .box-plan p {
    font-size: 1.8rem;
}

.small-margin-plan .box-plan {
    margin: 50px 0;
}

.box-plan {
    border-radius: 20px;
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
    color: #4F5252;
    padding: 0 40px
}

.box-plan h3 {
    margin-top: -52px;
    margin-bottom: 20px;
}

.box-plan p {
    font-size: 3rem;
    margin:0;
}

.box-plan .mb:before {
    padding-right: 10px;
    vertical-align: middle;
}

.box-plan .cell2movi:before {
    padding-right: 10px;
    vertical-align: middle;
}

.box-plan .at:before {
    padding-right: 15px;
    padding-left:5px;
    vertical-align: middle;
}

.box-plan .world:before {
    padding-right: 15px;
    padding-left:5px;
    vertical-align: middle;
}

.box-plan .sms:before {
    padding-right: 15px;
    padding-left:5px;
    vertical-align: middle;
}

.box-plan .cell2cell:before {
    padding-right: 7px;
    vertical-align: middle;
}

.box-plan .movi2movi:before {
    padding-right: 10px;
    vertical-align: middle;
}

.bigfontpiano p {
    font-size:3.5rem;
}

.box-plan .recharge-interval span {
    color: #fff;
    padding: 10px 10px 3px 10px;
    font-size: 2rem;
    position: relative;
    bottom: -17px;
}

.box-plan .bottom-box {
    position: absolute;
    font-size: 1.3rem !important;
    width: 90%;
    color: grey;
    left: 5%;
    text-align: center;
    margin-top: -18px;
}

.box-plan .bottom-box span {
    background: #DB1735;
    color: #fff;
    padding: 5px 10px;
    font-size: 1.5rem;
    position: relative;
    bottom: 0;
    display: inline-block;
    border-radius: 15px;
}

.box-plan .bottom-box p {
    margin: 10px 0 0 0;
    display: block;
    font-size: 1.3rem !important;
    text-align: center;
}

@media only screen and (min-width: 768px) {
    .activation-text {
        position: relative;
        top: 60px;
    }
}

.activation-text h4 {
    border-bottom:2px solid #595C5B;
    font-weight: 300;
    font-size: 2rem;
    padding: 10px 0;
}

.activation-text p {
    margin: 0;
}

.master-plan-wallpaper {
    background: no-repeat center top;
    background-size: 100%;
    padding-bottom: 60px;
}

.master-plan-wallpaper.wall-center {
    background-position: center center;
}

.master-plan-wallpaper.wall-roaming {
    background-size: unset;
    padding-bottom: 0;
}

@media only screen and (min-width: 992px) { /* per menu desktop */
    .know-more {
        left: -8%;
    }

    .boxcell .iconcell {
        color: #fff;
    }

    .boxcell .iconcell img {
        margin-top: 27%;
        margin-bottom: 10%;
    }

    .boxcell .iconcell span {
        position: relative;
        bottom: -290px;
        color: #E30E22;
        font-size: 3rem;
        font-weight: bold;
    }

    .dflex {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 991px) { /* collapse menu da 1000 in giÃ¹ */
    .rd p {
        float: left;
        width: 50%;
        padding: 20px 0;
        font-size: 2.2rem;
    }

    .rd h3 {
        border-right: 2px solid red;
        margin-right: 20px;
        padding-right: 20px;
        text-align: left;
        background: none;
        float:left;
        width: 43%;
        font-size: 3.8rem;
    }
}



/******************************/
/*********** ICONS ************/
/******************************/

/* Default color */
.box-plan .at:before        {content: url("/img/master_plans/icons/at-icon.png");}
.box-plan .sms:before       {content: url("/img/master_plans/icons/sms-icon.png");}
.box-plan .cell2cell:before {content: url("/img/master_plans/icons/cell2cell-icon.png");}
.box-plan .movi2movi:before {content: url("/img/master_plans/icons/movi2movi-icon.png");}
.box-plan .cell2movi:before {content: url("/img/master_plans/icons/cell2movi-icon.png");}
.box-plan .world:before     {content: url("/img/master_plans/icons/cell-world-icon.png");}

/* Red color */
.red.box-plan .at:before        {content: url("/img/master_plans/icons/at-icon-red.png");}
.red.box-plan .sms:before       {content: url("/img/master_plans/icons/sms-icon-red.png");}
.red.box-plan .cell2cell:before {content: url("/img/master_plans/icons/cell2cell-icon-red.png");}
.red.box-plan .movi2movi:before {content: url("/img/master_plans/icons/movi2movi-icon-red.png");}
.red.box-plan .cell2movi:before {content: url("/img/master_plans/icons/cell2movi-icon-red.png");}
.red.box-plan .world:before     {content: url("/img/master_plans/icons/cell-world-icon-red.png");}

/* Blue color*/
.blue.box-plan .at:before        {content: url("/img/master_plans/icons/at-icon-blue.png");}
.blue.box-plan .sms:before       {content: url("/img/master_plans/icons/sms-icon-blue.png");}
.blue.box-plan .cell2cell:before {content: url("/img/master_plans/icons/cell2cell-icon-blue.png");}
.blue.box-plan .movi2movi:before {content: url("/img/master_plans/icons/movi2movi-icon-blue.png");}
.blue.box-plan .cell2movi:before {content: url("/img/master_plans/icons/cell2movi-icon-blue.png");}
.blue.box-plan .world:before     {content: url("/img/master_plans/icons/cell-world-icon-blue.png");}

/* Green color */
.green.box-plan .at:before        {content: url("/img/master_plans/icons/at-icon-green.png");}
.green.box-plan .sms:before       {content: url("/img/master_plans/icons/sms-icon-green.png");}
.green.box-plan .cell2cell:before {content: url("/img/master_plans/icons/cell2cell-icon-green.png");}
.green.box-plan .movi2movi:before {content: url("/img/master_plans/icons/movi2movi-icon-green.png");}
.green.box-plan .cell2movi:before {content: url("/img/master_plans/icons/cell2movi-icon-green.png");}
.green.box-plan .world:before     {content: url("/img/master_plans/icons/cell-world-icon-green.png");}

/* Dark Green color */
/*.dark-green.box-plan .at:before        {content: url("/img/master_plans/icons/at-icon-dark-green.png");}
.dark-green.box-plan .sms:before       {content: url("/img/master_plans/icons/sms-icon-dark-green.png");}
.dark-green.box-plan .cell2cell:before {content: url("/img/master_plans/icons/cell2cell-icon-dark-green.png");}
.dark-green.box-plan .movi2movi:before {content: url("/img/master_plans/icons/movi2movi-icon-dark-green.png");}
.dark-green.box-plan .cell2movi:before {content: url("/img/master_plans/icons/cell2movi-icon-dark-green.png");}
.dark-green.box-plan .world:before       {content: url("/img/master_plans/icons/cell-world-icon-dark-green.png");}
*/
/* Dark turquois color*/
/*.dark-turquoise.box-plan .at:before        {content: url("/img/master_plans/icons/at-icon-dark-turquoise.png");}
.dark-turquoise.box-plan .sms:before       {content: url("/img/master_plans/icons/sms-icon-dark-turquoise.png");}
.dark-turquoise.box-plan .cell2cell:before {content: url("/img/master_plans/icons/cell2cell-icon-dark-turquoise.png");}
.dark-turquoise.box-plan .movi2movi:before {content: url("/img/master_plans/icons/movi2movi-icon-dark-turquoise.png");}
.dark-turquoise.box-plan .cell2movi:before {content: url("/img/master_plans/icons/cell2movi-icon-dark-turquoise.png");}
.dark-turquoise.box-plan .world:before       {content: url("/img/master_plans/icons/cell-world-icon-dark-turquoise.png");}
*/
/* Turquois color*/
/*.turquoise.box-plan .at:before        {content: url("/img/master_plans/icons/at-icon-turquoise.png");}
.turquoise.box-plan .sms:before       {content: url("/img/master_plans/icons/sms-icon-turquoise.png");}
.turquoise.box-plan .cell2cell:before {content: url("/img/master_plans/icons/cell2cell-icon-turquoise.png");}
.turquoise.box-plan .movi2movi:before {content: url("/img/master_plans/icons/movi2movi-icon-turquoise.png");}
.turquoise.box-plan .cell2movi:before {content: url("/img/master_plans/icons/cell2movi-icon-turquoise.png");}
.turquoise.box-plan .world:before       {content: url("/img/master_plans/icons/cell-world-icon-turquoise.png");}
*/
/****************/
/**** Colors ****/
/****************/
.red            { color: #DB0C24; }
.blue           { color: #205197; }
.green          { color: #42a149; }
/*.dark-green     { color: #2C7334; }
.turquoise      { color: #37aeaa; }
.dark-turquoise { color: #0b7073; }*/

.box-plan.red            { border-color: #DB0C24; }
.box-plan.blue           { border-color: #205197; }
.box-plan.green          { border-color: #42a149; }
/*.box-plan.dark-red       { border-color: #5d130e; }
.box-plan.dark-green     { border-color: #2C7334; }
.box-plan.turquoise      { border-color: #37aeaa; }
.box-plan.dark-turquoise { border-color: #0b7073; }*/

.box-plan.red .recharge-interval span            { background-color: #DB0C24; }
.box-plan.blue .recharge-interval span           { background-color: #205197; }
.box-plan.green .recharge-interval span          { background-color: #42a149; }
/*.box-plan.dark-red .recharge-interval span     { background-color: #5d130e; }
.box-plan.dark-green .recharge-interval span     { background-color: #2C7334; }
.box-plan.turquoise .recharge-interval span      { background-color: #37aeaa; }
.box-plan.dark-turquoise .recharge-interval span { background-color: #0b7073; }*/

/******************/
/*** COMPONENTS ***/
/******************/
.box-plan .icontondo {
    position: absolute;
    left: -30px;
    top: calc(50% - 30px);
}