@CHARSET "UTF-8";


.mod-allegro .all-box-holder .item {
    background: white;
    border-radius: 12px;
    position: relative;
    text-align: center;
    margin: 25px 0;
    padding: 0 30px 15px 30px;
}

.mod-allegro .all-box-holder .item.special {
    margin: 85px 0 45px;
}

.mod-allegro .all-box-holder .item.special:before {
    display: inline-block;
    position: absolute;
    content: "";
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 60px;
    width: 190px;
    background: #ff5a00 url(../images/all-text.png) center no-repeat;
    background-size: auto 44px;
    border-radius: 8px 8px 0 0;
}

.mod-allegro .all-box-holder .item.special:after {
    display: inline-block;
    position: absolute;
    content: "";
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 30px;
    width: 190px;
    background: #ff5a00;
    border-radius: 0 0 8px 8px;
}

.mod-allegro .all-box-holder .item .number {
    display: inline-block;
    position: absolute;
    left: 0;
    background: #B5D5FB;
    color: #1162C0;
    padding: .5em 1em;
    border-radius: 6px 20px 20px 0;
    font-size: 22px;
    font-family: 'teleneomedium'

}

.mod-allegro .all-box-holder .item .ico {
    height: 156px;
}

.mod-allegro .all-box-holder .item .text {
    font-size: 20px;
    letter-spacing: .5px;
}

.all-link i {
    font-family: 'teleneomedium';
    display: inline-block;
    height: 1em;
    position: relative;
    top: .1em;
    width: .35em;
    margin-left: .2em;
    background: url('data:image/svg+xml,<svg width="7" height="10" viewBox="0 0 7 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 10L0.9375 8.9375L4.875 5L0.9375 1.0625L2 0L7 5L2 10Z" fill="%23E20074"/></svg>') center /contain no-repeat;
}

/* -------------- MOBILE ------------------------------------------------*/

@media screen and (min-width: 600px) {
    /* ------------------------------ 640 --------------------------------*/

    .mod-allegro .all-box-holder {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
    }

    .mod-allegro .all-box-holder .item {
        flex: calc(50% - 15px) 0 0;
        height: 275px;
        line-height: 1.35em;
    }

    .mod-allegro .all-box-holder .item.special:before {
        height: 85px;
        background-size: auto 45px;
    }

    .mod-allegro .all-box-holder .item.special:after {
        height: 55px;
    }

    .mod-allegro .all-box-holder .item:nth-child(odd) {
        margin-right: 30px;
    }
}

@media screen and (min-width: 960px) {

    /* ------------------------------ 960 --------------------------------*/
    .mod-allegro .content.styled {
        max-width: 960px;
    }

    .mod-allegro .all-box-holder .item {
        flex: calc(50% - 15px) 0 0;
        height: 230px;
        padding: 0 20px 15px 20px;
    }
}

@media screen and (min-width: 1200px) {

    /* ------------------------------ 1200 --------------------------------*/
    .mod-allegro .content.styled {
        max-width: 1200px;
    }

    .mod-allegro h2 {
        max-width: 700px;
    }

    .mod-allegro .all-box-holder {
        margin-top: -80px
    }

    .mod-allegro .all-box-holder .item {
        flex: 1 0 0;
        height: 280px;
        padding: 0 20px 15px 20px;
    }

    .mod-allegro .all-box-holder .item:nth-child(odd) {
        margin: 0;
    }

    .mod-allegro .all-box-holder .item+.item {
        margin-left: 30px;
    }

    .mod-allegro .all-box-holder .item.special:before {
        height: 125px;
        background-size: auto 54px;
    }

    .mod-allegro .all-box-holder .item:nth-child(3),
    .mod-allegro .all-box-holder .item:nth-child(4) {
        padding-left: 30px;
        padding-right: 30px;
    }

}

@media screen and (min-width: 1590px) {

    /* ------------------------------ 1560 --------------------------------*/
    .mod-allegro h2 {
        max-width: 1200px;
    }

    .mod-allegro .all-box-holder {
        margin-top: -50px
    }

    .mod-allegro .all-box-holder .item {
        height: 260px;
    }
}
