/* Icon Box Shortcode CSS */

.icon-box-shortcode-wrap {
    // Style 1
    &.style_1 {
        .icon-box-container {
            .icon-wrap {
                float: left;
                font-size: 35px;
                line-height: 0;
                span {
                    //color: @primary_color;
                    padding-left: 1px
                }
                @media( min-width:768px) and (max-width:991px) {
                    padding: 10px 5px;
                }
            }
            .icon-content {
                margin-left: 65px;
                .icon-title {
                    text-transform: uppercase;
                    color: @white;
                    margin: 0;
                    font-size: 18px;
                    font-weight: bold;
                    padding-bottom: 15px;
                }
                .icon-description {
                    color: lighten(@text_color, 10%)
                }
                @media( min-width:768px) and (max-width:991px) {
                    padding-left: 15px;
                    margin-left: 50px;
                }
            }
            @media( min-width:480px) and (max-width:767px) {
                width: 100%;
                .icon-wrap {
                    width: 50%;
                    text-align: center;
                }
                .icon-content {
                    width: 50%;
                    float: left;
                    margin-left: 0;
                }
            }
            @media(max-width:767px) {
               margin-top: 15px;
               margin-bottom: 15px;
            } 
        }
    }
    // Style 2
    &.style_2 {
        .icon-box-container {
            .icon-wrap {
                float: left;
                font-size: 35px;
                line-height: 0;
                span {
                    //color: @primary_color;
                    padding-left: 1px
                }
                span {
                    position: relative;
                    width: 55px;
                    height: 55px;
                    font-size: 18px;
                    border: 1px solid;
                    .rounded(@radius: 50%);
                    &:before {
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        .translate(-50%;-50%);
                        text-align: center;
                        color: @white!important;
                    }
                }
                @media (min-width:480px) and (max-width:767px){
                   width: 50%;
                   text-align: center;
                }  
            }
            .icon-content {
                margin-left: 90px;
               .icon-title {
                    text-transform: uppercase;
                    color: @white;
                    margin: 0;
                    font-size: 18px;
                    font-weight: bold;
                    padding-bottom: 10px;
                }
                @media (min-width:480px) and (max-width:767px){
                   width: 50%;
                   margin-left: 0;
                   display: inline-block;
                }  
            }
            @media( max-width:767px ){
                margin: 15px 0; 
            }
        }      
    }
    // Style 3
    &.style_3 {
        &:hover {
            .icon-box-container {
                &:before {
                    width: 100%;
                }
                .icon-wrap {
                    span {}
                }
                h2 {}
            }
        }
        .icon-box-container {
            position: relative;
            &:before {
                content: "";
                position: absolute;
                display: block;
                bottom: 0;
                left: 0;
                width: 42px;
                height: 1px;
                background-color: @text_color;
                .transition( all 0.35s ease);
            }
            .icon-wrap {
                span {
                    color: @text_color;
                    display: inline-block;
                    font-size: 36px;
                    padding-right: 15px;
                }
                .icon-title {
                    font-weight: bold;
                    line-height: 36px;
                    text-transform: uppercase;
                    display: inline-block;
                    color: @text_color;
                    margin: 0;
                    font-size: 14px;
                }
            }
            .icon-description {
                color: lighten(@text_color, 25%);
                margin-top: 10px;
                padding-bottom: 20px;
            }
        }
    }
    // Style 4
    &.style_4 {
        &:hover {}
        .icon-box-container {
            .icon-wrap {
                float: left;
                font-size: 25px;
                line-height: 25px;
                span {
                    color: @secondary_color!important;
                }
                @media( min-width:768px) and (max-width:991px) {
                    padding: 10px 5px;
                }
            }
            .icon-content {
                margin-left: 70px;
                .icon-title {
                    text-transform: uppercase;
                    color: @secondary_color;
                    margin: 0;
                    font-size: 18px;
                    font-weight: bold;
                    padding-bottom: 15px;
                }
                @media( min-width:768px) and (max-width:991px) {
                    padding-left: 15px;
                    margin-left: 50px;
                }
            }
            @media( min-width:480px) and (max-width:767px) {
                width: 100%;
                .icon-wrap {
                    width: 50%;
                    text-align: center;
                }
                .icon-content {
                    width: 50%;
                    float: left;
                    margin-left: 0;
                }
            }
        }
    }
    // Style 5
    &.style_5 {
        position: relative;
        text-align: center;
        height: 200px;
        cursor: pointer;
        &:after{
            content: '';
            height: 2px;
            width: 50px;
            position: absolute;
            background-color: @secondary_color;
            top: 55%;
            left: 50%;
            .transition( all 0.35s ease);
            opacity: 0;
            .transform(translate(-50%, 0) scale(0));
        }
        &:hover {
            &:after{
                top: 65%;
                opacity: 1;
                .transform(translate(-50%, 0) scale(1));
            }
            .icon-box-container{
                .icon-wrap {
                    top: 25%;
                    .content-polygon{
                        opacity: 0;
                        visibility: hidden;
                    }
                    span {
                        &:before{
                            opacity: 1;
                            font-size: 36px;
                        }
                    }
                }
                .icon-title {
                    color: @secondary_color;
                    top: 50%;
                    position: absolute;
                    font-weight: bold;
                    .transition(all 0.35s ease);
                    a{
                        color: @secondary_color !important;
                    }
                }
                .icon-description{
                    top: 75%;
                    height: auto;
                    opacity: 1;
                }
            }   
        }
        .icon-box-container {
            .icon-wrap {
                .transition( all 0.35s ease);
                text-align: center;
                position: absolute;
                top: 50%;
                left: 50%;
                .translate(-50%,-50%);
                span {
                    .transition( all 0.35s ease);
                    &:before{
                        font-size: 100px;
                        opacity: 0.35;
                        position: relative;
                        z-index: 1;
                    }

                }
            }
            .icon-title {
                a{  
                    color:@secondary_color;
                    &:hover{
                        color: @primary_color !important
                    }
                }
                font-size: 14px;
                font-weight: 700;
                position: absolute;
                top: 50%;
                left: 0;
                width: 100%;
                .translate( 0, -50%);
                text-transform: uppercase;
                color: @secondary_color;
                margin: 0;
                margin-bottom: 10px;
                .transition( all 0.35s ease-in-out);
            }
            .icon-description{
                color: lighten(@secondary_color, 30%);
                top: 55%;
                position: absolute;
                opacity: 0;
                height: 0;
                .transition( all 0.35s ease-in-out);
                width: 100%;
                p{
                    text-align: center;
                }
            }
        } 
    }
     // Style 6
    &.style_6 {
        position: relative;
        text-align: center;
        height: 200px;
        cursor: pointer;
        padding: 10px;
        border: 1px solid @border_color;
        .transition(all 0.35s ease);
        &:hover {
            background-color: @primary_color;
            border-color: @primary_color;
            .icon-box-container{
                background-color: @primary_color;
                .icon-wrap {
                    .content-polygon{
                        opacity: 0;
                        visibility: hidden;
                    }
                    span{
                        opacity: 0.6;
                    }
                }
                .icon-content{
                    .icon-title {
                        color: @white;
                        a{
                            color: @secondary_color !important;
                        }
                    }
                    .icon-description{
                        p{
                            color: @white;
                        }  
                    }
                }
                
            }   
        }
        .icon-box-container {
            background-color: @border_color;
            height: 100%;
            .transition(all 0.35s ease);
            .icon-wrap {
                text-align: center;
                position: absolute;
                top: 50%;
                left: 50%;
                .translate(-50%,-50%);
                span {
                    .transition( all 0.35s ease);
                    &:before{
                        font-size: 100px;
                        opacity: 1;
                        position: relative;
                        z-index: 1;
                    }

                }
            }
            .icon-content{
                position:absolute;
                top: 30%;
                .icon-title {
                    a{  
                        color:@secondary_color;
                        &:hover{
                            color: @primary_color !important
                        }
                    }
                    font-size: 18px;
                    font-weight: 700;
                    position: relative;
                    text-transform: uppercase;
                    color: @secondary_color;
                    margin: 0;
                    margin-bottom: 10px;
                    .transition( all 0.35s ease-in-out);
                }
                .icon-description{
                    font-size: 16px;
                    margin: 0 auto;
                    width: 75%;
                    color: @secondary_color;
                    position: relative;  
                    p{
                        text-align: center;
                        .transition( all 0.35s ease-in-out);
                    }
                    @media(max-width:479px){
                        width: 100%;
                    }
                }
            }   
        } 
        @media(max-width:767px){
            margin: 15px 0;
        }
    }
}

