/* Style the module of reviews view */
.ModuleGlobalReviewsView {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: rgba(57, 61, 65, 0.9);

    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 99;

    width: 100%;
    height: 100%;

    padding: 17px;

    opacity: 0.0;
    transition: 0.4s;
}

@media screen and (max-width: 550px){
    .ModuleGlobalReviewsView {
        padding: unset;
    }
}

    .ModuleGlobalReviewsView__Body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;

        background: url( '/wp-content/themes/sizif-app-version/assets/images/system/themes/sizif-themes-background-box-350x250-v2.svg' ), rgb(56, 60, 64);
        background-size: cover;
        background-position: top right;
        background-repeat: no-repeat;
        border-radius: 3px;

        position: relative;

        width: 100%;
        height: 100%;
        max-width: 450px;
        max-height: 550px;

        padding: 17px;

        scale: 0.0;
        opacity: 0.0;
        transition: 0.4s;
        filter: drop-shadow(0px 0px 37px rgba(255, 237, 177, 0.7));
    }

    @media screen and (max-width: 550px){
        .ModuleGlobalReviewsView__Body {
            height: 100%;
            max-width: unset;
            max-height: unset;
        }
    }

        .ModuleGlobalReviewsViewBody__Header {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;

            width: 100%;

            margin-bottom: 27px;
        }

            .ModuleGlobalReviewsViewBodyHeader__Title {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: flex-start;

                background: rgb(60, 64, 68);
                border-radius: 3px;

                width: 100%;
                height: 100%;

                padding-left: 17px;
                padding-right: 17px;
                margin-right: 17px;
            }

            .ModuleGlobalReviewsViewBodyHeader__Functions {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: flex-end;
            }

        .ModuleGlobalReviewsViewBody__Block {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;

            width: 100%;
            height: 100%;
        }

            .ModuleGlobalReviewsViewBodyBlock__Profil {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: flex-start;

                border-bottom: 1px solid rgb(64, 68, 72);

                width: 100%;

                padding-bottom: 7px;
                margin-bottom: 7px;
            }

                .ModuleGlobalReviewsViewBodyBlockProfil__Photo {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-content: center;

                    border: 2px solid rgb(64, 68, 72);
                    
                    border-radius: 3px;
                    margin-right: 14px;
                }

                    .ModuleGlobalReviewsViewBodyBlockProfil__Photo > img {
                        border-radius: 3px;

                        width: 100%;
                        height: auto;
                        max-width: 68px;

                        filter: grayscale(0.7);
                    }

                    .ModuleGlobalReviewsViewBodyBlockProfil__PhotoDefault {
                        width: 53px !important;
                        height: 53px !important;
                        max-width: 53px !important;
                        object-fit: contain;
                    }

                .ModuleGlobalReviewsViewBodyBlockProfil__Data {
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    justify-content: center;

                    width: 100%;
                }

                    .ModuleGlobalReviewsViewBodyBlockProfilData__Name {
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                        justify-content: flex-start;

                        color: rgb(247, 197, 47);
                        font-weight: 500;
                        text-align: left;

                        width: 100%;
                    }

                    .ModuleGlobalReviewsViewBodyBlockProfilData__Date {
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                        justify-content: flex-start;

                        color: rgb(97, 107, 117);
                        text-align: left;

                        width: 100%;
                    }

            .ModuleGlobalReviewsViewBodyBlock__Content {
                display: block;
                text-align: left;

                width: 100%;
                height: 100%;
                max-height: 350px;

                overflow-y: auto;
                overflow-x: hidden;

                word-break: break-all;

                padding-right: 7px;
            }

            @media screen and (max-width: 550px){
                .ModuleGlobalReviewsViewBodyBlock__Content {
                    max-height: unset;
                    margin-bottom: 77px;
                }
            }

            .ModuleGlobalReviewsViewBodyBlock__Content::-webkit-scrollbar { width: 7px; }
            .ModuleGlobalReviewsViewBodyBlock__Content::-webkit-scrollbar-thumb { background: rgb(255, 237, 177, 0.1); }
