/* @import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,700i,900,900i'); */

/* @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i'); */


.topic-head {
    background: #fff;
    padding: 20px 0 0;
    
}

.topic-head .line {
    border-bottom: dashed 1px #b0b0b0;
}

.topic-area {
    width: 100%;
    position: relative;
    display: block;
    backdrop-filter: blur(2px);
    height: 440px;
    padding: 0  0 20px 0;
    background-color: #818181;
}

.carousel {
    width: 100%;
    height: 100%;
    display: flex;
    max-width: 900px;
    max-height: 400px;   
    overflow: hidden;
  /* position: relative; */
}

.carousel-item {
  visibility:visible;
    display: flex;
    width: 100%;
    height: 400px;
    align-items: center;
    justify-content: center;
      -webkit-align-items: center;
    -webkit-justify-content: center;
    position: relative;
    background-color: #fff;
    flex-shrink: 0;
   -webkit-flex-shrink: 0;
    position: absolute;
    z-index: 0;
  transition: 0.6s all linear;
}

.carousel-item__info {
  height: 400px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  
    display: -webkit-flex;
  -webkit-justify-content: center;
  -webkit-flex-direction: column;
  
  order: 1;
  left: 0;
  margin: 0;
  padding: 0 40px 0 0;
  width: 60%;
  max-width: 600px;

}

.carousel-item__image {
    width: 600px;
    height: 400px;
    order: 2;
    align-self: flex-end;
    flex-basis: 60%;
  
      -webkit-order: 2;
    -webkit-align-self: flex-end;
    -webkit-flex-basis: 600px;
  
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
   position:relative;
  transform: translateX(100%);
  transition: 0.6s all ease-in-out;
}

.carousel-item__subtitle {
    /* font-family: 'Open Sans', sans-serif; */
    letter-spacing: 3px;
    font-size: 10px;
    text-transform: uppercase;
    margin: 0;
    color: #7E7E7E;    
    font-weight: 700;
    transform: translateY(25%);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s all ease-in-out;
}

.carousel-item__title {
    margin: 15px 0 0 0;
    /* font-family: 'Playfair Display', serif; */
    font-size: 4rem;
    line-height: 1;
    letter-spacing: 3px;
    font-weight: 700;
    color: #2C2C2C;
    transform: translateY(25%);
    opacity: 0;
    visibility: hidden;
    transition: 0.6s all ease-in-out;
}

.carousel-item__description {
    transform: translateY(25%);
    opacity: 0;
    visibility: hidden;
    transition: 0.6s all ease-in-out;
    margin-top: 35px;
    /* font-family: 'Open Sans', sans-serif; */
    font-size: 13px;
    color: #7e7e7e;
    line-height: 22px;
    margin-bottom: 35px;
}

.carousel-item--1 .carousel-item__image{
  background-image: url('../img/topic-img01.png');
}


.carousel-item--2 .carousel-item__image{
  background-image: url('../img/topic-img02.png');
}


.carousel-item__container{

}

.carousel-item__btn {
    width: 35%;
    color: #2C2C2C;
    /* font-family: 'Open Sans', sans-serif; */
    letter-spacing: 3px;
    font-size: 11px;
    text-transform: uppercase;
    margin: 0;
    width: 35%;
    font-weight: 700;
  text-decoration: none;
      transform: translateY(25%);
    opacity: 0;
    visibility: hidden;
    transition: 0.6s all ease-in-out;
}

.carousel__nav {
    position: absolute;
    right: calc((100% - 1200px) / 2);;
    z-index: 2;
    background-color: #696969;
    top: -45px;
}

.carousel__icon {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
  fill: #fff;
}

.carousel__arrow {
    cursor: pointer;
    display: inline-block;
    padding: 11px 15px;
    position: relative;
}

.carousel__arrow:nth-child(1):after {
    content:'';
    right: -3px;
    position: absolute;
    width: 1px;
    background-color: #b0b0b0;
    height: 14px;
    top: 50%;
    margin-top: -7px;
}

.active{
   z-index: 1;
  display: flex;
  visibility:visible;
}

.active .carousel-item__subtitle, .active .carousel-item__title, .active .carousel-item__description,.active .carousel-item__btn{
    transform: translateY(0);
    opacity: 1;
  transition: 0.6s all ease-in-out;
    visibility: visible;
}

.active .carousel-item__subtitle{
    display: none;
}

.active .carousel-item__image{ 
transition: 0.6s all ease-in-out;
transform: translateX(0);
}

@media screen and (max-width: 768px){
    .topic-head {
    background: #fff;
    padding: 20px 0 ;
    
    }

    .topic-head .line {
        border-bottom: unset;
    }

    .topic-head .cmn-heading {
        border-bottom: dashed 1px #b0b0b0;
        padding: 0 0 15px;
    }

    .topic-head .cmn-heading .en {
        display: none;
    }

    .topic-area {
        width: 100%;
        position: relative;
        display: block;
        backdrop-filter: blur(2px);
        height: 545px;
        padding: 20px 0;
        background-color: transparent;
    }

    .carousel {
        width: 100%;
        height: auto;
        display: block;
        max-width: 900px;
        max-height: unset;   
        overflow: unset;
    /* position: relative; */
    }


    .carousel-item {

        display: flex;
        flex-wrap: wrap;
        height: auto;
    }

    .carousel-item__info {
        height: auto;
        padding: 0;
        width: 100%;
        max-width: unset;
        }

    .active{
        top: 0;
        /* display: block; */
    }

    .carousel-item__container{
        /* position: absolute; */
        top: 0;
        padding: 0 15px;
        order: 1;
        width: 100%;
    }

    .active .carousel-item__image{ 
        /* margin: 120px 0 0; */
        transition: 0.6s all ease-in-out;
        transform: translateX(0);
        padding: 0 0 120px;
        height: 270px;
        order: 2;
    }

    .active .carousel-item__subtitle{
        display: block;
    }


    .carousel-item__title {
        font-size: 2.4rem;
    }

    .carousel-item__description {
        margin-top: 15px;
        font-size: 1.3rem;
        color: #7e7e7e;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .active .carousel-item__subtitle, .active .carousel-item__title, .active .carousel-item__description,.active .carousel-item__btn{
        margin: 0 0 20px;
        display: block;
    }


    .carousel__nav {
        /* bottom: 96px; */
        bottom: unset;
        top: -10px;
        right: 10px;
    }

}