﻿#section3 {
    background-color: var(--primary-bg-color);
    padding: 2rem;
}

.highlights-container {
    display: none;
    flex-direction: row-reverse;
    justify-content: center;
    margin: 30px auto 0;
   
}
.content-title {
    text-align: left;
    margin: 0% 4%;
}


.RTL .content-title {
    text-align: right;
}

.sec3-high-title{
    overflow:hidden;
	padding-bottom:1.5px;
}
#highlightsActive {
    display: flex;
}
.highlights-slider {
    position: relative;
    height: 35rem;
    width: calc(35rem * 0.99);
    background-color: var(--secondary-bg-color);
    animation: fadeInAnimation ease 1.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    z-index:12;
    
}
.highlights-container-hidden{
    display:none;
}
.highlights-slide {
    position: absolute;
    top: 25%;
    width: 100%;
    height: 50%;
    background-color: var(--secondary-bg-color);
    transition: all 0.5s ease-out;
    padding: 2rem 1rem;
}

.slide--active {
    opacity: 1;
    z-index: 9;
    background-color: white;
    /*left: -10px;*/
    transform: scale(1.1);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

.high-prev,
.high-next {
    opacity: 1;
    cursor: pointer;
}
    .high-prev .sec3-high-title, .high-next .sec3-high-title {
        font-size:1.1rem!important;
    }
.high-prev {
    transform: translate(0, -50%) scale(1);
    background-color: var(--secondary-bg-color);
    z-index: 5;
}

.high-next {
    transform: translate(0, 50%) scale(1);
    background-color: var(--secondary-bg-color);
    z-index: 6;
}

#section3 {
    background-color: var(--primary-bg-color);
    padding: 2rem;
}


.sec3-date {
    color: #333333b0;
    font-weight: bold;
}

.sec3-card {
    text-align: left;
}

.RTL .sec3-card {
    text-align: right;
}

    .sec3-card p {
        font-size: 0.8rem !important;
    }

.sec3-btn {
    border: none;
    background-color: #3CA835;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    color: var(--primary-font-color);
    background-image: linear-gradient(to right,#166195, #3CA835);
    margin-top: 0.5rem;
}

.slider-btns-container{
    display:flex;
    /*flex-direction:row-reverse*/;
    justify-content:center;
}

.RTL .slider-btns-container {
    flex-direction: row;
}


.sec3-short-desc, .sec3-btn {
    display: none;
}

.slide--active .sec3-high-title {
    margin-bottom: 1rem !important;
}


.high-next .sec3-card {
    margin-top: 25%;
}

.slide--active .sec3-short-desc, .slide--active .sec3-btn {
    display: initial;
    opacity: 1;
    /*transition: display 0.5s, opacity 0.5s linear;*/
}

.highlights-image-container, .highlights-image-container img {
    height: 35rem;
    width: calc(35rem * 0.99);
}

    .highlights-image-container img {
        position: absolute;
        animation: fadeInAnimation ease 1.5s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInAnimationSmallScreen {
    0% {
        opacity: 0;

    }
    30% {
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}
@keyframes textIn {
    from {
        display: contents;
        opacity: 0.1;
    }

    to {
        opacity: 1;
    }
}
@keyframes textOut {
    from {
        opacity: 1;

    }

    to {
        opacity: 0.1;
        display:none;
    }
}
.animate-text-in {
    animation-duration: 3s;
    animation-name: textIn;
}
.animate-text-out {
    animation-duration: 3s;
    animation-name: textOut;
}

.sec3-btn {
    border: none;
    background-color: #3CA835;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    color: var(--primary-font-color);
    background-image: linear-gradient(to right,#166195, #3CA835);
    margin-top:1rem;
}


.slider-btns {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

    .slider-btns button {
        border: none;
        background-color: transparent;
        color: var(--primary-font-color);
        margin: 0.5rem;
        width: 35px;
        height: 35px;
        font-weight: bold;
        border-radius: 5px;
    }

        .slider-btns button:hover, .active_btn {
            background-color: var(--primary-font-color) !important;
            color: var(--primary-bg-color) !important;
        }
.highlights-images-sm {
    display: none;
}
@media(max-width:1160px) and (min-width: 700px) {
    .highlights-image-container, .highlights-image-container img {
        height: 24rem;
        width: calc(24rem * 0.99);
    }

    .highlights-slider {
        height: 24rem;
        width: calc(24rem * 0.99);
    }

    
     .highlights-slide {
        padding: 1rem 1rem;
    }

    .sec3-btn {
        margin-top: 0.5rem;
        padding:0.2rem 0.5rem;
        font-size:0.8rem;
    }

    .slide--active .sec3-high-title {
        margin-bottom: 0.5rem !important;
        font-size:1rem!important;
    }

    .sec3-card p {
        font-size: 0.7rem !important;
    }

    .high-prev .sec3-high-title, .high-next .sec3-high-title {
        font-size: 0.9rem !important;
    }

    .sec3-date{
        margin-bottom:0.2rem!important;
    }

    .high-next .sec3-card {
        margin-top: 30%;
    }
    
}

@media(max-width:700px) {
    .highlights-image-container {
        display: none;
    }

    .sec3-short-desc, .sec3-btn {
        animation: fadeInAnimationSmallScreen 1s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }
    .slide--active .highlights-images-sm {
        display: block;
    }
    .highlights-slide {
        padding: 1rem 1rem;
        top: 10%;
        height: 33%;
        /*transition: transform 0s ease-out;*/
    }

    .slide--active .sec3-short-desc, .slide--active .sec3-btn {
       
    }
    

    .slide--active {
        height: 68%;
        transform: translate(0, 8%) scale(1.1);
    }

    .highlights-images-sm{
        margin:auto;
        width:100%;
    }

    .sec3-btn {
        margin-top: 0.3rem;
        padding: 0.3rem 0.5rem;
        font-size: 0.6rem;
    }

    .slide--active .sec3-high-title {
        margin-bottom: 0.2rem !important;
        font-size: 0.8rem !important;
    }

    .sec3-card p {
        font-size: 0.6rem !important;
    }

    .high-prev .sec3-high-title, .high-next .sec3-high-title {
        font-size: 0.7rem !important;
    }

    .sec3-date {
        margin-bottom: 0.1rem !important;
    }

    

    .high-prev {
        transform: translate(0, -30%) scale(1);
        z-index: 6;
    }
    .high-next {
        transform: translate(0, 140%) scale(1);
        z-index: 5;
    }
    .highlights-slider {
        
    }
}
@media(max-width:700px) and (min-width: 570px) {
    .highlights-slider {
        height: 530px;
        width: 21rem;
        /*width: calc(24rem * 0.99);*/
    }

    .high-next .sec3-card {
        margin-top: 52%;
    }
}
    
@media(max-width:570px) and (min-width: 500px) {
    .highlights-slider {
        height: 530px;
        width: 21rem;
        /*width: calc(580px * 0.99);*/
    }

    .high-next .sec3-card {
        margin-top: 52%;
    }
}

@media(max-width:500px) and (min-width: 425px) {
    .highlights-slider {
        height: 530px;
        width: 20rem;
        /*width: calc(530px * 0.99);*/
    }

    .slider-btns button {
        margin: 0.3rem;
    }

    .high-next .sec3-card {
        margin-top: 53%;
    }
}

@media(max-width:425px) {
    .highlights-slider {
        height: 500px;
        width: 19rem;
        /*width: calc(530px * 0.99);*/
    }

    .slide--active {
        height: 65%;
        transform: translate(0, 10%) scale(1.1);
    }
    .slider-btns button {
        margin: 0.2rem;
    }
    #section3 {
        padding: 1rem;
    }

    .high-next .sec3-card {
        margin-top: 50%;
    }
}

@media(max-width:375px) {
    .highlights-slider {
        height: 480px;
        width: 18rem;
        /*width: calc(480px * 0.99);*/
    }
    .high-next .sec3-card {
        margin-top: 50%;
    }
}
@media(max-width:330px) {
  

    .high-next .sec3-card {
        margin-top: 56%;
    }
}
@media (max-width: 320px) {
    .slider-btns button {
        margin: 0rem;
    }
    
}
    /*
    
.section3-container-ssc {
    display: none;
}

.section3-content {
    background-color: var(--secondary-bg-color);
    text-align: right;
    padding: 2rem;
    height: 560px;
    width: 520px;
    position: relative;
}

.section3-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    flex-direction: row-reverse;
}

.highlights-images {
    height:35rem;
    width: calc(35rem * 0.99);
}

.sec3-date {
color: #333333b0;
font-weight: bold;
}

.sec3-card {
    background-color: var(--primary-font-color);
    margin: 8.5rem 35rem 0rem 0rem;
    padding: 2rem 4rem;
    position: absolute;
    width: 540px;
    text-align: right;
}

.sec3-btn {
    border: none;
    background-color: #3CA835;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    color: var(--primary-font-color);
    background-image: linear-gradient(to right,#166195, #3CA835)
}

.section3-subcontent {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
}

.section3-content h6 {
    padding-left: 5rem;
}

.slider-btns {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

    .slider-btns button {
        border: none;
        background-color: transparent;
        color: var(--primary-font-color);
       
        margin: 0.5rem;
        width: 35px;
        height: 35px;
        font-weight: bold;
        border-radius: 5px;
    }

        .slider-btns button:hover, .active_btn {
            background-color: var(--primary-font-color) !important;
            color: var(--primary-bg-color) !important;
        }

@media(max-width:1160px) and (min-width: 750px) {
    .highlights-images {
        width: 24rem;
        height: 24rem;
    }

    .section3-content {
        width: 20rem;
        padding: 1rem;
        height: 24rem;
    }

        .section3-content p {
            font-size: 0.8rem;
        }

    .sec3-card {
        width: 21rem;
        margin: 5.5rem 24rem 0rem 0rem;
        padding: 1rem 1rem;
    }

        .sec3-card h4 {
            font-size: 0.9rem !important;
        }

        .sec3-card p {
            font-size: 0.7rem !important;
        }

    .section3-content h6 {
        padding-left: 0rem;
        font-size: 0.8rem !important;
    }

    .sec3-btn {
        font-size: 0.8rem;
    }

    .section3-subcontent {
        bottom: 1.5rem;
    }
}


@media(max-width:750px) and (min-width: 425px) {
    .section3-container-ssc {
        display: block;
        margin: 0rem;
        position: relative;
    }

    .section3-container {
        display: none !important;
    }

    .sec3-card {
       
        margin: auto;
        top: 17%;
        left: 50%;
        transform: translateX(-50%);
        width: 400px;
        padding: 1rem;
    }

    .section3-content {
        padding: 1rem;
        height: 700px;
        margin: auto;
        width: 360px;
    }

        .section3-content h6 {
            padding-left: 0rem;
            font-size: 1rem;
        }
}

@media (max-width: 425px) {
    .section3-container-ssc {
        display: block;
        margin: 0rem;
        position: relative;
    }

    .section3-container {
        display: none !important;
    }

    .sec3-card {
        
        margin: auto;
        top: 18%;
        
        left: 50%;
        transform: translateX(-50%);
        width: 340px;
        padding: 1rem;
    }

    .section3-content {
        padding: 1rem;
        height: 640px;
        margin: auto;
        width: 310px;
    }

        .section3-content h6 {
            padding-left: 0rem;
            font-size: 1rem;
        }

    .slider-btns button {
        margin: 0.2rem;
    }
}

@media (max-width: 375px) {

    #section3 {
        padding: 1rem;
    }
}

*/