/* Base Styles — Your existing code stays here */

h2 {
    font-family: roboto;
    font-size: 30px
}


a {
    color: inherit;
}

p {
    font-family: inherit;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    color: #767676;
    margin: 0;
    line-height: 21px;

}

.knowmore {
    font-size: 14px;
    font-weight: 500;
}

.knowmore img {
    padding-left: 10px;
}


.swiper-pagination-bullet-active {
    opacity: 1;
    background: #FFFFFF !important;
}

.swiper-pagination-bullet {
    background: #FFFFFF !important;
    opacity: .2;

}

.grid-container-hm {
    max-width: 100%;
    margin: 0 2rem;
}

.main-slider .swiper-pagination {
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    left: 50%;
    bottom: 1%;
    color: #FFFFFF;

}


.project-content .mySwiper .swiper-pagination {
    display: none;
}

/*
.main-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 100%;
    margin: 0 5px;
    color: #FFFFFF;
}
*/

.main-slider .swiper-container {
    height: 86vh;
}

.main-slider .caption {
    background: #f3f3f3;
    padding: 7rem 2.5rem;
    margin: 2rem 0 0 0;
}

.main-slider .caption,
h3 {
    font-size: 30px;
    line-height: inherit;
}


.project-content {
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
    list-style: none;
    z-index: 1;
}

.mySwiper-media {
    margin: 5rem 0;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}



.project-content .caption {
    padding-top: 20px !important;
}

.project-content .swiper-pagination-bullet {
    background-color: black !important;
    margin: 0 5px;
}

.project-content .mySwiper {
    margin-top: 2rem;
}




.btn {
    border: 1px solid #767676;
    padding: 8px 25px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #555555;
    margin: 10px 0;
    text-transform: uppercase;
}

.viewmore {
    border: 1px solid #767676;
    padding: 8px 0;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #767676;
    width: 100px;
    /*    margin-top: 17rem;*/
    text-transform: uppercase;
}

.flex-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.project-content .cell {
    height: auto;
    /* fixed invalid 'none' */
}




h5 {
    text-transform: none;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    text-transform: inherit;

}


.explore{
  padding: 2.5rem 0 2.5rem 0;
    background: #f3f3f3;
}
.exolore-content .cell:last-child {
    text-align: end;
}


.media-list {
/*    padding: 2.5rem 0 2.5rem 0;*/
    margin: 2.5rem 0;
/*    background: #f3f3f3;*/
}

.media-list p {
    margin: 10px 0;
}

.media-list .border {
    min-width: 100%;
    height: 0;
    margin: 0 0 1.5rem 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid #767676;
    opacity: 0.3;
}

.media-list .grid-x {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}



.media-list .grid-x img {
    min-width: 100%;
}


.media-list .media-info {
    margin: 0 1rem 2rem auto;
}


/*responsive*/

@media (max-width: 990px) {
    .main-slider .swiper-container {
        height: auto;
    }

    .exolore-content img {
        margin: 10px 0;
    }

}

/* Tablets (landscape & portrait) */
@media (max-width: 1024px) {

    .main-slider .swiper-container img {
        height: 100%;
    }

    .main-slider .caption,
    h3 {
        font-size: 36px;
    }

    .grid-container-hm {
        margin: 0;
        padding: 0 10px;
    }

    .viewmore {
        margin-top: 3rem;
        display: none;

    }

    .media-list .media-info {
        margin: 0 0 2rem 0;
    }

    .caption {
        margin-bottom: 1rem;
    }


}

/* Mobile (large) */
@media (max-width: 768px) {
    .main-slider .swiper-container img {
        height: 100%;
    }



    .main-slider .caption,
    h3 {
        font-size: 28px;
    }

    .main-slider .caption {
        margin-top: 2rem;
        padding: 2rem 1rem;
    }

    .grid-container-hm {
        margin: 0;
        padding: 0 10px;
    }

    .mySwiper .swiper-slide {
        align-items: flex-start;
        text-align: start;
        margin: 1rem 0;
    }

    .viewmore {
        margin-top: 3rem;
        display: none;

    }

    .media-list .media-info {
        margin: 0 0 2rem 0;
    }

    .exolore-content {
        margin: 0 0 2rem 0;
    }

    .exolore-content img {
        margin: 10px 0;
    }

    h2 {
        font-size: 22px;
    }

    .mySwiper .swiper-slide {
        min-width: 100%;
    }

    .mySwiper .swiper-slide {
        min-width: 100%;
    }

    .mySwiper .swiper-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        z-index: 1;
        display: flex;
        transition-property: transform, -webkit-transform;
        box-sizing: content-box;
    }

    .project-content .mySwiper img {
        width: 100%;
    }

    
    .project-content {
        margin:0;
        padding: 2.5rem 0 0 0;
    }

    .project-content .mySwiper {
        margin-top: 15px;
    }

    .caption {
        margin-bottom: 1rem;
    }

  
    .media-list {
        margin: 2.5rem 0 0 0;
    }
    
    .media-list .media-detail .cell{
        margin-bottom: 2rem;
    }
}

    /* Mobile (small) */
    @media (max-width: 480px) {
        .main-slider .swiper-container img {
            height: 100%;
        }

        .main-slider .caption,
        h3 {
            font-size: 22px;
            letter-spacing: 0;
        }

        .main-slider .swiper-pagination-bullet {
            width: 8px;
            height: 8px;
            margin: 0 3px;
        }

        .project-content .caption .btn,
        .viewmore {
            font-size: 12px;
            padding: 8px 15px;
        }

        .viewmore {
            margin-top: 3rem;
            display: none;

        }


        .exolore-content {
            margin: 2rem 0;
        }
    }
