@media (max-width:1200px) {

    .home-content-bx{
        padding-left: 0;
        text-align: center;
    }
    .speshr {
        margin: 20px auto 30px;
    }

    .home-content-bx > a{
        margin: 20px auto 0; 
    }
}

@media (max-width:1124px) {
    .menu-bar-ul {
        display: none;
    }

    .menu-icon {
        display: -webkit-inline-box;
        display: -ms-inline-flexbox;
        display: inline-flex;
    }

    #sidebar,
    .overlay {
        display: block;
    }
}

@media (max-width:1024px) {
    .home-section{
        padding: 0px 0 0 !important;
    }

    .home-section .col-lg-4 {
        display: none !important;
    }

    .home-section .col-lg-8 {
        width: 100%;
        max-width: 100% !important;
        flex: 0 0 100%;
    }
    
    .ep-st {
        padding: 0 0px !important;
    }

    .video-slider{
        border-radius: 0;
        overflow: hidden;
    }

    .owl-s2 .owl-nav .owl-prev{
        left: 0 !important;
    }

    .owl-s2 .owl-nav .owl-next{
        right: 0 !important;
    }

    .owl-s2 .owl-prev,
    .owl-s2 .owl-next {
        color: #4090ca !important;

    }
    
    .owl-s2 .owl-prev:hover,
    .owl-s2 .owl-next:hover {
        background-color: #00000000 !important;
        border-color: transparent !important;
        color: #006997 !important;
        opacity: 1;
    }
}

@media (max-width:992px) {
    .other-books {
        margin-bottom: 5px !important;
    }

    .other-books .book-container-new {
        margin-bottom: 40px !important;
    }
}

@media (max-width:880px) {
    .book-container-new {
        margin-bottom: 10px;
    }
}

@media (max-width:768px) {
    .contact-right {
        margin-top: 30px;
    }

    .book-left{
        margin-bottom: 50px;
    }

    .book-right{
        text-align: center;
    }

    .book-right a{
        margin: auto;
    }

    .author-img{
        margin-bottom: 40px;
    }

    .about-left{
        text-align: center;
    }

    .my-book-btn{
        margin: 20px auto 0;
    }

    .home-content-bx h3 {
        color: white;
        font-size: 36px;
        font-weight: 700;
        line-height: 40px;
    }

    .form-right-popup{
        display: none;
    }

    .custom-form {
        border-radius:5px 5px 0px 0px;
    }
    
    .contact-info-bx {
        border-radius: 0px 0 5px 5px;
    }
}

@media (max-width:576px) {
    .buy-now-btn{
        padding: 8px 10px 8px;
    }

}

@media (max-width:400px) {
    .home-content-bx h3 {
        color: white;
        font-size: 28px;
        font-weight: 700;
        line-height: 32px;
    }
}

@media (max-width:393px) {
    .buy-detail-page {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-bottom: -20px;
    }
    .buy-detail-page .book-container-new{
        margin-bottom: 20px;
    }
}

@media (max-width:380px) {
    .buy-now-btn{
        display: none;
    }
}


@media (orientation: landscape) and (max-height:400px) {
    .social-bx {
        position: relative;
    }
}