﻿.article14 {
    width: 100%;
    display: flex;
    padding: 3rem 0;
    align-items: center;
    flex-direction: column;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

    .article14 .article-container {
        width: 100%;
        display: flex;
        direction: rtl;
        margin: 2rem 0;
        max-width: 1200px;
        flex-direction : column ;
        align-items: center;
        justify-content: flex-start;
    }

    .article14 .horizantal-tabs {
        display: flex;
        direction: rtl;
        width: 100%;
        padding: 0;
        align-items: flex-start;
        position: relative;
        list-style: none;
    }

    .article14 .content-holder {
        width: 100%;
        display: flex;
        direction: rtl;
        flex-direction: column;
        align-items: flex-start;
        min-height: 300px;
        padding-top : 3rem
    }
    .article14 .horizantal-tabs .horizantal-tab-item {
        flex: 1;
        position: relative;
        overflow: hidden;
    }

    .article14 .horizantal-tabs .tablink {
        color: #000;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 17px;
        font-size: 14px;
        font-weight: 700;
        transition: 0.4s;
        background-color: inherit;
        text-align: center;
        width: 100%;
        border-bottom: 2px solid #c3c3c3;
    }
        .article14 .horizantal-tabs .horizantal-tab-item .before, .article14 .horizantal-tabs .horizantal-tab-item .after {
            display: block;
            position: absolute;
            background-color: #000;
            left: -50%;
            height: 3px;
            width: 50%;
            bottom: 0;
            transition: left .4s ease-in-out, right .4s ease-in-out;
            -webkit-transition: left .4s ease-in-out, right .4s ease-in-out;
        }
    .article14 .horizantal-tabs .horizantal-tab-item .after {
        left: auto;
        right: -50%;
    }
        .article14 .horizantal-tabs .horizantal-tab-item:hover .before {
            left: 0
        }
        .article14 .horizantal-tabs .horizantal-tab-item:hover .after {
            right: 0
        }

    .article14 .horizantal-tabs .horizantal-tab-item:hover {
        background-color: #77777708;
    }

    .article14 .horizantal-tabs .horizantal-tab-item.active {
        background-color: #77777708;
    }
        .article14 .horizantal-tabs .horizantal-tab-item.active .before{
            left : 0 ;
        }
        .article14 .horizantal-tabs .horizantal-tab-item.active .after {
            right : 0 ;
            left : auto ;
        }

        .article14 .tab-content {
            width: 100%;
            height: 100%;
            display: none;
            align-items: flex-start;
            justify-content: space-around;
        }
        .article14 .tab-content.animated{
            display:flex ;
            animation : slideUp .5s ease-in
        }
        @keyframes slideUp {
            from{
                opacity : 0 ;
                transform : translateY(100%)
            }
            to {
                opacity: 1;
                transform: translateY(0)
            }
        }


    .article14 .tab-detail {
        display: flex;
        direction: rtl;
        padding-left: 3rem;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .article14 .tab-title {
        width: 100%;
        direction: rtl;
        font-size: 22px;
        font-weight: 700;
        text-align: start;
        margin-bottom :1rem;
    }

    .article14 .tab-divider {
        width: 100%;
        height: 1px;
        color: #282828;
    }

    .article14 .tab-description {
        width: 100%;
        color: #000;
        font-size: 13px;
        line-height: 40px;
        text-align: justify;
        white-space: pre-wrap;
        direction: rtl;
    }

    .article14 .tab-image {
        width: 250px;
        height: 100%;
        border-radius: 12px;
    }

@media (max-width : 992px) {
    .article14 .article-container {
        margin: 0;
        width: 80%;
        align-items: center;
        flex-direction: column;
    }

    .article14 .horizantal-tabs {
        width: 80%;
        flex-direction : column ;
        max-width: 600px;
        margin-bottom: 1rem;
        background-color: #f5f5f5;
    }

        .article14 .horizantal-tabs .horizantal-tab-item {
            border: none;
            width: 100%;
            transition: .3s all ease-in;
        }

            .article14 .horizantal-tabs .horizantal-tab-item.active {
                color: #fff;
                border: none;
            }

    .article14 .tab-content {
        align-items: center;
        flex-direction: column-reverse;
    }

    .article14 .tab-image {
        width: 70%;
        height: auto;
    }

    .article14 .tab-detail {
        padding: 3rem 0;
    }

    .article14 .tab-title {
        text-align: center;
    }
}

@media (max-width : 576px) {
    .article14 {
        min-height: auto !important;
    }

        .article14 .article-container {
            width: 95% !important;
            max-width : 95% !important;
        }
}
