// Visibility Classes
@media (max-width: 575px) {
    .gs-books--hide-xxs {
        display: none !important;
    }
}
@media (min-width: 576px) and (max-width: 767px) {
    .gs-books--hide-xs {
        display: none !important;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .gs-books--hide-sm {
        display: none !important;
    }
}
@media (min-width: 1025px) {
    .gs-books--hide-md {
        display: none !important;
    }
}

@media (min-width: 1024px) and (max-width: 1220px) {
    .gs-book-popup--style_five {
    
        .mfp-content--container {
            
            .gs-containeer-f {

                .gsb-author-details {
    
                    .gs-auth-img-desc {
    
                        .gs-book-authordes {
    
                            .gsb-author-info-wrapper {
                                flex-direction: column;
    
                                .gsb-author-right {
                                    padding-left: 0;
                                }
                            }
                        }
                    }
                }

            } /* End Of gs-container-f */
        }        
    }
}

@media (min-width: 768px) and (max-width: 1023px) {

    .gs-book-popup--style_four {

        .gsb-author-details {

            .gsb-author-details {
    
                .gs-auth-img-desc {

                    .gs-book-authordes {

                        .gsb-author-info-wrapper {
                            flex-direction: column;

                            .gsb-author-right {
                                padding-left: 0;
                            }
                        }
                    }
                }
            }
        }
    }

    .gs-book-popup--style_five {
    
        .mfp-content--container {
            
            .gs-containeer-f {
    
                .gsb-author-details {
    
                    .gs-auth-img-desc {
    
                        .gs-book-authordes {
    
                            .gsb-author-info-wrapper {
                                flex-direction: column;
    
                                .gsb-author-right {
                                    padding-left: 0;
                                }
                            }
                        }
                    }
                }

            } /* End Of gs-container-f */
        }        
    }

    /* gs-single --style three */
    .gs-single--style_three {

        .gsb-single3-wrapper {
         
            .gs-roow.gsb-single3-imginfo {

                .gs-col-md-4 {
                    width: 100%;
                    max-width: 250px;
                    padding: 32px;
                    border: 1px solid #e5e5e5;
                    margin-right: 15px;
                    margin-left: 15px;
                }
    
                .gs-col-md-8 {
                    width: 100%;
                    max-width: 441px;
                    padding: 32px;
                    border: 1px solid #e5e5e5;
                    margin-left: 15px;
                    margin-right: 15px;
                }
            }
    
            .gsb-single3-imginfo {
                background-color: #ffffff;
            }
    
            .gs-book-desc,
            .gs-book-review,
            .gsb-author-details {
                padding: 32px 30px;
                background-color: #ffffff;  
                margin-top: 30px;
                border: 1px solid #e5e5e5;
            }
    
            .gsb-author-info-wrapper {
                margin-top: 0px;
    
                .gsb-author-left {
    
                    .gs_book_author_img {
                        
                        img {
                            border-radius: 50%;
                        }
                    }
                }
            }         
        }
    }
}

@media (max-width: 992px) {

    .three_d_style_four {

        .single-bookshowcase {
    
            .gs-bookshowcase-image-wrapper {

                .gsbooks--book-thumb:after {
                    padding-bottom: 150%;
                }
            }
        }
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    .gs-book-popup--style_four {
        .gsb-author-details {
            .gsb-author-details {
    
                .gs-auth-img-desc {

                    .gs-book-authordes {

                        .gsb-author-info-wrapper {
                            flex-direction: column;

                            .gsb-author-right {
                                padding-left: 0;
                            }
                        }
                    }
                }
            }
        }
    }

    .mfp-content--container {
            
        .gs-containeer-f {

            .gsb-author-details {

                .gs-auth-img-desc {

                    .gs-book-authordes {

                        .gsb-author-info-wrapper {
                            flex-direction: column;

                            .gsb-author-right {
                                padding-left: 0;
                            }
                        }
                    }
                }
            }

        } /* End Of gs-container-f */
    }

    .gs-book-popup--style_five {

        .gs_book_popup {
            padding: 18px 0px !important;
        }
    
        .mfp-container {
    
            .mfp-content {
                padding-top: 50px;

                .mfp-close {
                    
                    svg {
                        width: 16px;
                        height: 16px;
                    }
                }
            }
        }
    
        .mfp-content--container {
            
            .gs-containeer-f {
    
                .gsb-right-section {
                    flex-direction: column;
    
                    .gsb-right-content-left {
                        width: 100%;
                        padding-right: 0px;
                        padding-left: 0px;
                        border-right: none;
                        margin-top: 30px;
                    }

                    .gsb-right-content-right {
                        width: 100%;
                        padding-left: 0px;
                        padding-right: 0px;
                        overflow: initial;
                        max-height: initial;
                    }
                }
    
                .gsb-author-details {
    
                    .gs-auth-img-desc {
    
                        .gs-book-authordes {
    
                            .gsb-author-info-wrapper {
                                flex-direction: column;
    
                                .gsb-author-right {
                                    padding-left: 0;
                                }
                            }
                        }
                    }
                }

            } /* End Of gs-container-f */
        }        
    } 

    .flip_two {

        .single-bookshowcase {

            .bookshowcase-back {
                top: 324px;
            }

            &:hover .bookshowcase-back {
                top: 54px;
            }
        }
    }

    .three_d_style_three {

        .single-bookshowcase {
    
            .gs-bookshowcase-image-wrapper {
                width: 50%;
            }
    
            .gs-bookshowcase-info {
                width: 50%;
            }
        }
    }

    .three_d_style_four {

        .single-bookshowcase {
    
            .gs-bookshowcase-image-wrapper {
                width: 100%;

                .gsbooks--book-thumb:after {
                    padding-bottom: 150%;
                }
            }
    
            .gs-bookshowcase-info {
                width: 100%;
            }
        }
    } 
}

@media (min-width: 480px) and (max-width: 767px) {

    .gs-single--style_three {
        padding-left: 0;
        padding-right: 0;

        .gs-roow.gsb-single3-imginfo {
            margin: 0 15px;
            

            .gs-col-md-4 {
                width: 100%;
                padding: 20px;
                margin: 0;
            }
    
            .gs-col-md-8 {
                width: 100%;
                padding: 20px;
                margin-top: 24px;
               margin-left: 0;
            }
        } 
    }


    .flip_two {

        .single-bookshowcase {

            .bookshowcase-back {
                top: 670px;
            }

            &:hover .bookshowcase-back {
                top: 422px;
            }
        }
    }

    .three_d_style_three {

        .single-bookshowcase {
            flex-direction: column;
            padding: 20px;
    
            .gs-bookshowcase-image-wrapper {
                width: 100%;
            }
    
            .gs-bookshowcase-info {
                width: 100%;
                padding: 0;
                padding-top: 20px;
            }
        }
    }

    .three_d_style_four {

        .single-bookshowcase {
            flex-direction: column;
    
            .gs-bookshowcase-image-wrapper {
                width: 100%;
            }
    
            .gs-bookshowcase-info {
                width: 100%;
                padding: 0;
            }
        }
    }

}

@media (max-width: 479px){

    /* Common */

    .single-bookshowcase {

        .gs-bookshowcase-name {

            h3 {
                font-size: 20px;
            }
        }
    }
    
    /* Horizontal */
    .horizontal_one,
    .horizontal_two,
    .horizontal_three {

        .single-bookshowcase {
            flex-direction: column;

            .gs-bookshowcase-image-wrapper {
                width: 100%;
            }

            .gs-bookshowcase-info {
                width: 100%;
                padding: 28px 20px;
            }
        }
    } /* End of Horizontal */
    
    .horizontal_three {

        .single-bookshowcase {

            .gs-bookshowcase-info {
                padding: 20px 0px;
            }
        }  
    }

    .horizontal_four {

        .single-bookshowcase {
            flex-direction: column;
            padding: 0 16px;

            .gs-bookshowcase-image-wrapper {
                width: 100%;
            }
            
            .gs-bookshowcase-info {
                padding: 0;
                padding-bottom: 24px;
            }

            ::after {
                left: 0;
            }
        }
    } /* End of horizontal four */

    .flip_two .single-bookshowcase:hover .bookshowcase-back {
        top: 290px;
    } /* End Of Flip 2 */

    .three_d_style_one {

        .single-bookshowcase {
            flex-direction: column;
    
            .gs-bookshowcase-image-wrapper {
                position: relative;
                width: 100%;
            }
    
            .gs-bookshowcase-info {
                width: 100%;
            }
        }
    }

    .three_d_style_three {

        .single-bookshowcase {
            flex-direction: column;
            padding: 20px;
    
            .gs-bookshowcase-image-wrapper {
                width: 100%;
            }
    
            .gs-bookshowcase-info {
                width: 100%;
                padding: 0;
                padding-top: 20px;
            }
        }
    }

    .three_d_style_four {

        .single-bookshowcase {
            flex-direction: column;
    
            .gs-bookshowcase-image-wrapper {
                width: 100%;
            }
    
            .gs-bookshowcase-info {
                width: 100%;
                padding: 0;
            }
        }
    }

    .gs-book-popup--style_one,
    .gs-book-popup--style_two,
    .gs-book-popup--style_three,
    .gs-book-popup--style_four {

        .gs_book_popup {
            padding: 24px!important;
        }

        .mfp-content--container {
    
            .gs-containeer-f {
    
                .gs-col-md-4,
                .gs-col-md-12 {
                    padding: 0;
                }
    
                .gs-col-md-4 {
                    width: 100%;
                }
    
                .gs-col-md-8 {
                    width: 100%;
                    padding: 0;
                    margin-top: 20px;
                }
    
                .gs-book-details {
                    padding-left: 0;
    
                    .gs-bookshowcase-name {

                        h3 {
                            font-size: 24px;
                        }
                    }
                }

                .gsb-author-details {
    
                    .gs-auth-img-desc {
                    
                        .gs-book-authordes {
    
                            .gsb-author-info-wrapper {
                                flex-direction: column;
                                align-items: flex-start;

                                .gsb-author-right {
                                    padding-left: 0;
                                    margin-top: 20px;
                                }
                            }
                        }
                    }
                }
    
            }
        }
    }

    .gs-book-popup--style_two {

        .mfp-container {

            .mfp-content {
                .mfp-close {
                    top: 12px !important;
                    right: 8px !important;
                    
                    svg {
                        width: 16px;
                        height: 16px;
                    }
                }
            }
        }

        .gs-containeer-f {
            .popup-navigation {
                padding-bottom: 6px;
                margin-bottom: 20px;
            }
        }
    }

    .gs-book-popup--style_three {

        .mfp-container {

            .mfp-content {
                .mfp-close {
                    top: -10px !important;
                    right: 10px !important;
                    
                    svg {
                        width: 16px;
                        height: 16px;
                    }
                }
            }
        }

        .mfp-content--container {
            .gs-containeer-f {
                .gsb-section-top {
                    flex-direction: column-reverse;
                }
            }
        }
    }

    .gs-book-popup--style_four {

        .mfp-container {

            .mfp-content {
                .mfp-close {
                    top: -10px !important;
                    right: 10px !important;
                    
                    svg {
                        width: 16px;
                        height: 16px;
                    }
                }
            }
        }

        .mfp-content--container {
            .gs-containeer-f {
                .gsb-section-top {
                    flex-direction: column-reverse;
                }

                .gsb-right-section {
                    flex-direction: column;
                    overflow: initial;
                    max-height: initial;
                }               

                .gs-book-details {
    
                    .gs-bookshowcase-name {

                        h3 {
                            font-size: 20px;
                        }
                    }
                }

                .popup-navigation {
                    margin-top: -25px;
                    margin-right: 12px;

                    .popup-nav {
                        svg {
                            height: 15px !important;
                            width: 15px !important;
                        }
                    }

                } 
            }
        }        
    }

    .gs-book-popup--style_five {

        .gs_book_popup {
            padding: 18px 0px !important;
        }
    
        .mfp-container {
    
            .mfp-content {
                padding-top: 50px;

                .mfp-close {
                    
                    svg {
                        width: 16px;
                        height: 16px;
                    }
                }
            }
        }
    
        .mfp-content--container {
            
            .gs-containeer-f {
    
                .gs-col-md-4 {
                    width: 100%;
                }
                
                .gs-col-md-8 {
                    width: 100%;
                }
    
                .gsb-right-section {
                    flex-direction: column;
    
                    .gsb-right-content-left {
                        width: 100%;
                        padding-right: 0px;
                        padding-left: 0px;
                        border-right: none;
                        margin-top: 30px;
                    }

                    .gsb-right-content-right {
                        width: 100%;
                        padding-left: 0px;
                        padding-right: 0px;
                        overflow: initial;
                        max-height: initial;
                    }
                }
    
                .gs-book-details {
    
                    .gs-bookshowcase-name {
    
                        h3 {
                            font-size: 24px;
                        }
                    }
                }
    
                .gsb-author-details {
    
                    .gs-auth-img-desc {
    
                        .gs-book-authordes {
    
                            .gsb-author-info-wrapper {
                                flex-direction: column;
    
                                .gsb-author-right {
                                    padding-left: 0;
                                }
                            }
                        }
                    }
                }

            } /* End Of gs-container-f */
        }        
    }

    /* End Of Popup Style */
    // .gs-single--style_one,
    // .gs-single--style_two,
    // .gs-single--style_three {

    //     .gs-roow {
    //         .gs-col-md-8 {
    //             padding-left: 15px;
    //         }
    //     }
    
    //     .gs-book-name {
    
    //         h1 {
    //             font-size: 24px;
    //             margin-top: 20px;
    //         }
    //     } 

    
    //     .gsb-author-info-wrapper {
    //         flex-direction: column;
    
    //         .gsb-author-right {
    //             padding-left: 0;
    //         }
    //     }
    // }

    // .gs-single--style_two {

    //     .gsb-single2-imginfo {
    //         padding: 30px 10px;
    //     }   
    // }

    // .gs-single--style_three {
    //     padding-left: 0;
    //     padding-right: 0;

    //     .gsb-single3-wrapper {

    //         .gs-roow.gsb-single3-imginfo {
    //             margin: 0 15px;
                
    
    //             .gs-col-md-4 {
    //                 width: 100%;
    //                 padding: 20px;
    //                 margin: 0;
    //             }
        
    //             .gs-col-md-8 {
    //                 width: 100%;
    //                 padding: 20px;
    //                 margin-top: 24px;
    //                 margin-left: 0;
    //             }
    //         }
            
    //         .gs-roow.gsb-single3-descinfo {
    //             margin-left: 0;
    //             margin-right: 0;
    //         }
    //     }


    //     .gs-related-books {
    //         padding: 0 15px;
    //     }
    // }

    .gs-single--default,
    .gs-single--style_one {

        .gs-roow {

            .gs-col-md-8 {
                padding: 24px !important;
            }
        }
        
        .gsb-sp-top-content {

            .gsp-thumb-slider {
                width: 100% !important;
            }
        }

        .gsb-sp-info-details {

            .gsb-sp-info-details-top {

                .gsb-book-info {

                    .gsb-info-single {
                        flex-direction: row !important;

                        .gsb-info-single-name {
                            margin-bottom: 0 !important;
                            width: 50% !important;
                        }

                        .gsb-info-single-value {
                            width: 50% !important;
                        }
                    }
                }
            }
        }

        .gsb-sp-info-details-top.gsb--scrollbar {
            max-height: fit-content !important;
        }
    }
}

/* Responsive */
@media only screen and (max-width: 320px) {

    .gs-single--default,
    .gs-single--style_one,
    .gs-book-popup--style_one {

        .gs-roow {

            .gs-col-md-8 {
                padding: 24px !important;
            }
        }
        
        .gsb-sp-top-content {

            .gsp-thumb-slider {
                width: 100% !important;
            }
        }

        .gsb-sp-info-details {

            .gsb-sp-info-details-top {

                .gsb-book-info {

                    .gsb-info-single {
                        flex-direction: row !important;

                        .gsb-info-single-name {
                            margin-bottom: 0 !important;
                            width: 50% !important;
                        }

                        .gsb-info-single-value {
                            width: 50% !important;
                        }
                    }
                }
            }
        }

        .gsb-sp-info-details-top.gsb--scrollbar {
            max-height: fit-content !important;
        }
    }

    // .author-style-02 {

    //     .gs_bookshowcase {

    //         .authors-wrapper {

    //             .gsb-authors-single {

    //                 .gsb-authors-img-wrapper {

    //                     .gsb_author_image {

    //                         img {
    //                             border-radius: 5px;
    //                         }
    //                     }
    //                 }
    //             }
    //         }
    //     }
    // }
}