/* ==========================================================================
   Accordion shortcode start styles
   ========================================================================== */
.edgtf-accordion-holder{
    position: relative;

    .edgtf-accordion-content{
        margin: 0;
        padding: 0 20px;

        p {
            line-height: 25px;
        }

        .edgtf-accordion-content-inner {
            padding:19px 0;
        }
    }

    .edgtf-title-holder {
        cursor: pointer;
        position: relative;
        height: 50px;
        line-height: 45px;
        color: $first-main-color;
        padding: 0;
        margin: 15px 0 0;
        box-sizing: border-box;
        background-color: transparent;
        border: 3px solid $first-main-color;
        box-sizing: border-box;
        @include edgtfTransform(translateZ(0px));
        @include edgtfTransition(color .15s ease-out, background-color .15s ease-out);

        &:first-child{
            margin: 0;
        }

        .edgtf-tab-title,
        .edgtf-tab-title-inner{
            color: inherit;
            line-height: inherit;
        }

        .edgtf-tab-title{
            padding: 0 0 0 20px;
            display: inline-table;
            table-layout: fixed;
            height: 100%;
            width: calc(100% - 41px);
            box-sizing: border-box;
            text-align: left;

            span.edgtf-tab-title-inner{
                position: relative;
                @include edgtfTableCellLayout;
                text-align : left;
            }
        }

        .edgtf-accordion-mark {
            display: inline-block;
            vertical-align: top;
            width: 30px;
            height: 100%;
            line-height:inherit;
            color: inherit;
            box-sizing: border-box;
        }

        .edgtf-accordion-mark-icon {
            position: relative;
            display: block;
            width:100%;
            height: 100%;
            font-size: 22px;
            font-weight: 700;
            line-height:inherit;
            text-align: center;
            @include edgtfTransition(transform 0.3s);
        }

        .edgtf-accordion-mark-icon span{
            position: absolute;
            display: block;
            width: 100%;
            height: 100%;
            line-height:inherit;
            margin-left: -1px;
        }

    }

    .edgtf-title-holder.ui-state-active,
    .edgtf-title-holder.ui-state-hover{
        color: #fff;
        background-color: $first-main-color;
    }

    &.edgtf-style-grey,
    &.edgtf-style-white{

        .edgtf-title-holder.ui-state-active,
        .edgtf-title-holder.ui-state-hover{
            color: #fff;
            background-color: #303030;
        }
    }

    &.edgtf-style-grey{
        .edgtf-title-holder {
            color: #f6f6f6;
        	border: 3px solid #f6f6f6;
        }
    }

    &.edgtf-style-white{
        .edgtf-title-holder {
            color: #fff;
        	border: 3px solid #fff;
        }
    }

    .edgtf-title-holder.ui-state-active{

        .edgtf-accordion-mark-icon {
            @include edgtfTransform(rotate(45deg));
        }
    }
}