/* ------------------------------------------------------------*/
/* ############# Additional CSS for Home Section ############# */
/* ------------------------------------------------------------*/

#home-page #homeSlider .carousel-caption{
    height: auto;
    left: 50%;
    bottom: 10%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
    padding: 20px;
    width: 75%;
    text-align: center;
}

#home-page #homeSlider .carousel-caption h4{
    margin: 0;
    color: #fff;
    font-size: 24px;
}

#home-page #homeSlider .carousel-caption h4 a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    letter-spacing: 0;
}

#home-page #homeSlider .carousel-caption p {
    color: #fff;
    font-size: 12px;
    margin: 5px 0 0 0;
}

#home-page .slider-overlay{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    background-color: #000;
}

#home-page .overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    opacity: calc( 90/100 );
    background-color: transparent;
    background-image: linear-gradient(180deg, #00000000 0%, #303F9F 100%);
}
/* Keep section titles (Learning Cards, Series, etc.) matching live site badges */
#home-page .sidebar-header {
    overflow: hidden;
    clear: both;
    min-height: 36px;
}

#home-page .sidebar-header a.home-section-header-text {
    text-decoration: none;
    color: inherit;
}

#home-page .sidebar-header a.home-section-header-text span {
    display: inline-block;
    position: relative;
    margin-bottom: -2px;
    background-color: #313131;
    color: #fff;
    border: 0;
    line-height: 34px;
    text-transform: uppercase;
    font-size: 14px;
    padding: 0 15px;
}

#home-page .sidebar-header a.home-section-header-text span:before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-bottom: 34px solid #000;
    border-right: 20px solid transparent;
    z-index: 1;
    right: -20px;
    opacity: 0.7;
    background-color: transparent !important;
}

#home-page .mySwiper {
    width: 100%;
    padding-bottom: 2rem;
}

#home-page .mySwiper .swiper-slide {
    text-align: center;
    background: #fff;
}

#home-page .mySwiper .swiper-slide img {
    max-width: 100%;
    height: 480px;
    object-fit: contain;
}

#home-page ul.navigation{
    float: right;
    position: relative;
    bottom: -5px;
}
#home-page ul.navigation li{
    display: inline-block;
}
#home-page ul.navigation li a {
    display: inline-block;
    padding: 0 10px;
    color: #313131;
    opacity: 0.6;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 14px;
    text-transform: capitalize;
    font-weight: normal;
}
#home-page ul.navigation li a:hover {
    color: #303F9F;
}

#home-page .side-item-text{
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 15px 15px 0 15px;
    width: 100%;
}
#home-page .side-item-text h4{
    font-size: 18px;
    margin: 0;
    color: #ffffff;
}
#home-page .side-item-text .views,
#home-page .side-item-text time{
    color: #ffffff;
    font-size: 12px;
}
#home-page .side-item-text .views a,
#home-page .side-item-text time a{
    text-decoration: none;
    color: #ffffff;
}
#home-page .side-item-text .views a:hover,
#home-page .side-item-text time a:hover{
    color: #303F9F;
}

#home-page .trending.card .header{
    margin-bottom: 15px;
    border-bottom: 3px solid #888888;
}

#home-page .trending.card .header h3{
    position: relative;
    font-size: 14px;
    color: #313131;
    margin: 0;
    text-transform: uppercase;
    padding: 0 0 8px 0;
}

.trending.card .header h3::before{
    content: '';
    width: 40px;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: -3px;
    background: #303F9F;
}
#home-page .trending.card ul li{
    line-height: 1;
    margin-bottom: 10px;
}
#home-page .trending.card ul li a{
    color: #313131;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    font-size: 13px;
}
#home-page .trending.card ul li a:hover{
    color: #303F9F; 
}

#home-page .related-post-section.big a.d-block{
    font-size: 18px;
}

#home-page .related-post-section p{
    font-size: 14px;
}

/* Responsive */

@media (max-width:768px){
    #home-page #homeSlider .carousel-caption h4{
        line-height: 0;
    }
    #home-page #homeSlider .carousel-caption h4 a,
    #home-page #homeSlider .carousel-caption p{
        font-size: 60%;
        line-height: 1.2;
    }
}