/*
*  STYLE FOR COUNTER
*
*
*  [Table of contents]
*
*  [&. Content / #key]
*  [Let press Ctrl + f and type of paste the key, then press Enter to search the content ]
*
*  Summary:
*
*
*  1. Counter
*  2. Counter Left
*  3. Counter Right
*  4. Override CSS grass theme
*  n. Responsive
*
*
*/


/*----------  1. Counter  ---------------*/
    .slz-counter-item-1 {
        text-align: center;
    }

    .slz-counter-item-1 .wrapper-icon {
        font-size: 60px;
    }

    .slz-counter-item-1 .icon-cell,
    .slz-counter-item-1 .img-cell {
        display: block;
        text-align: center;
    }

    .slz-counter-item-1 .icon-cell + .content-cell,
    .slz-counter-item-1 .img-cell + .content-cell {
        margin-top: 15px;
    }

    .slz-counter-item-1 .content-cell + .icon-cell,
    .slz-counter-item-1 .content-cell + .img-cell {
        margin-top: 15px;
    }

    .slz-counter-item-1 .content-cell .number {
        line-height: 1;
        font-size: 40px;
        font-weight: 600;
        color: #18364a;
        display: inline-block;
    }

    .slz-counter-item-1 .suffix {
        display: inline-block;
        font-size: 40px;
        font-weight: 600;
        line-height: 1;
        color: #18364a;
        margin-left: 15px;
    }

    .slz-counter-item-1 .content-cell .title {
        font-size: 16px;
        text-transform: capitalize;
    }

    .slz-counter-item-1 .line {
        width: 50px;
        height: 2px;
        background-color: #18364a;
        margin: 5px 0; 
        display: inline-block;
    }
    
/*----------  2. Counter Left  ----------*/
    .slz-counter-item-1.counter-left {
        display: table;
        width: 100%;
        text-align: left;
    }

    .slz-counter-item-1.counter-left .icon-cell,
    .slz-counter-item-1.counter-left .img-cell,
    .slz-counter-item-1.counter-left .content-cell {
        display: table-cell;
        vertical-align: middle;
    }

    .slz-counter-item-1.counter-left .icon-cell,
    .slz-counter-item-1.counter-left .img-cell {
        width: 100px;
        float: left;
    }

    .slz-counter-item-1.counter-left .content-cell {
        margin-top: 0;
        padding-left: 15px;
        width: calc(100% - 100px);
        float: left;
    }

    .slz-counter-item-1.layout-2.counter-left {
        direction: rtl;
    }
    .slz-counter-item-1.layout-2.counter-left .content-number {
        direction: ltr;
    }

/*----------  3. Counter Right  ---------*/
    .slz-counter-item-1.counter-right {
        display: table;
        width: 100%;
        text-align: right;
    }

    .slz-counter-item-1.counter-right .icon-cell,
    .slz-counter-item-1.counter-right .img-cell,
    .slz-counter-item-1.counter-right .content-cell {
        display: table-cell;
        vertical-align: middle;
    }

    .slz-counter-item-1.counter-right .icon-cell,
    .slz-counter-item-1.counter-right .img-cell {
        width: 100px;
        float: right;
    }

    .slz-counter-item-1.counter-right .content-cell {
        margin-top: 0;
        padding-left: 0;
        padding-right: 15px;
        float: right;
        width: calc(100% - 100px);
    }

    .slz-counter-item-1.layout-2.counter-right .icon-cell {
        float: none;
    }


/*----------  4. Override CSS grass theme  ----------*/
    .slz-counter-item-1 .content-cell .number {
        position: relative;
        z-index: 2;
    }
    
    .sc_counter.slz-list-block > .item {
        padding: 0;
    }
    .slz-counter-item-1 .content-cell .number,
    .slz-counter-item-1 .content-cell .suffix,
    .slz-counter-item-1 .content-cell .prefix {
        font-size: 70px;
        color: #6eb804;
        position: relative;
    }

    .slz-counter-item-1 .content-cell .suffix,
    .slz-counter-item-1 .content-cell .prefix {
        font-size: 55px;
        line-height: 1;
    }

    .slz-counter-item-1 .content-cell .prefix {
        margin-right: 5px;
        display: inline-block;
    }

    .slz-counter-item-1 .content-cell .suffix {
        margin-left: 5px;
    }

    .slz-counter-item-1 .content-cell .title {
        font-size: 17px;
        color: #2c2c2c;
    }

    .slz-counter-item-1 .content-number {
        position: relative;
        display: inline-block;
    }

    .slz-counter-item-1 .content-number .icon-cell,
    .slz-counter-item-1.counter-center .content-number .icon-cell,
    .slz-counter-item-1 .content-number .img-cell {
        position: absolute;
        left: auto;
        right:-35px;
        transform: translateY(-30px);
    }

    .slz-counter-item-1 .content-number .icon-cell {
        z-index: 0;
        color: #eaeaea;
    }

    .slz-counter-item-1.counter-left .content-number .icon-cell,
    .slz-counter-item-1.counter-left .img-cell {
        left: -35px;
        right: auto;
    }

    .slz-counter-item-1.counter-center .content-number .icon-cell,
    .slz-counter-item-1.counter-center .content-number .img-cell {
        left: 0;
        right: 0;
    }

    .slz-list-block.sc_counter.layout-2 {
        margin: 0;
    }

    .slz-list-block.sc_counter.layout-2 > .item {
        margin-bottom: 0;
    }

    .sc_counter.layout-2 .item .slz-counter-item-1 {
        position: relative;
        padding: 25px;
    }

    .slz-counter-item-1.counter-left .content-cell,
    .slz-counter-item-1.counter-right .content-cell {
        width: 100%;
    }

    .sc_counter.layout-2 .item .slz-counter-item-1:before {
        content: '';
        position: absolute;
        width: calc(100% - 12px);
        height: 1px;
        bottom: 0px;
        left: 6px;
        background-color: #626261;
    }

    .sc_counter.layout-2 .item .slz-counter-item-1:after {
        content: '';
        position: absolute;
        width: 1px;
        height: calc(100% - 12px);
        top: 6px;
        right: 0px;
        background-color: #626261;
    }

    .sc_counter.slz-column-4.layout-2 .item:nth-last-child(-n+4) .slz-counter-item-1:before,
    .sc_counter.slz-column-4.layout-2 .item:nth-child(4n) .slz-counter-item-1:after,
    .sc_counter.slz-column-3.layout-2 .item:nth-last-child(-n+2) .slz-counter-item-1:before,
    .sc_counter.slz-column-3.layout-2 .item:nth-child(3n) .slz-counter-item-1:after,
    .sc_counter.slz-column-2.layout-2 .item:nth-last-child(-n+2) .slz-counter-item-1:before,
    .sc_counter.slz-column-2.layout-2 .item:nth-child(2n) .slz-counter-item-1:after {
        content: none;
    }


/*=====================================
=            n. Responsive            =
=====================================*/

    @media screen and (max-width: 991px) {
        .sc_counter.layout-2 .item .slz-counter-item-1 {
            padding: 25px 5px;
        }
        .slz-counter-item-1.counter-right .content-cell .title {
            white-space: nowrap;
        }
    }

    @media screen and (max-width: 767px) {
        .slz-counter-item-1 .content-cell .title {
            max-width: none;
        }
    }

    @media screen and (max-width: 480px) {
        .slz-counter-item-1.counter-left .icon-cell,
        .slz-counter-item-1.counter-left .img-cell,
        .slz-counter-item-1.counter-right .icon-cell,
        .slz-counter-item-1.counter-right .img-cell {
            width: 80px;
        }

        .slz-counter-item-1.counter-left .content-cell,
        .slz-counter-item-1.counter-right .content-cell {
            width: 100%;
            padding: 0;
        }

        .sc_counter.layout-2 .item .slz-counter-item-1:before,
        .sc_counter.layout-2 .item .slz-counter-item-1:after {
            content: none;
        }

        .sc_counter.layout-2 .item {
            margin-bottom: 20px;
        }
        .sc_counter.layout-2 .item:last-child {
            margin-bottom: 0;
        }
        .slz-counter-item-1.counter-right {
            text-align: center;
            padding: 15px 0;
        }
    }
    
/*=====  End of n. Responsive  ======*/
