.is-mobile-menu {

    .mobile-overlay { 
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: fixed;
        visibility: hidden;
        opacity: 0;
        z-index: 99999;
        overflow: hidden;
        @include transition;

        .close-bar {
            width: calc(100% - 56px);
            position: relative;

            @include flex;
            @include flex-just(space-between);

            .search-global {
                display: block;
            }
        }

        .overlay {
            position: fixed;
            background-color: rgba($color-black, 0.9);
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .holder {
            position: absolute;
            top: 0;
            height: 100vh;
            z-index: 1;
            background-color: $color-white;
            width: calc(100% - 56px);
            text-align: left;
            overflow-y: auto;
            padding: 94px 20px;
            transform: translateX(-50px);
            transition-duration: .25s;
            opacity: 0;
        }

        &.visible {
            visibility: visible;
            opacity: 1;

            .holder {
                transform: none;
                opacity: 1;
            }
        }

        // Content

        .copyright {
            font-weight: normal;
            font-size: $font-size-small;
        }

        .copyright,
        select {
            margin: 1rem 0 0 0;
        }

        // Social networks
        
        > .social-bar {
            transform-origin: right bottom;
            transform: rotate(-90deg) translate(50%, 0);
            margin: 0;
            position: absolute;
            top: 50%;
            right: 1rem;
            z-index: 1;

            * {
                color: $color-white;
            } 
        }
    }

    // With admin bar

    &.admin-bar {

        .mobile-overlay {

            &, 
            .overlay {

                @include sm-screen {
                    
                    height: calc(100% - #{$admin-bar-mobile});
                    top: $admin-bar-mobile;
                }

                @include md-screen {

                    height: calc(100% - #{$admin-bar});
                    top: $admin-bar;
                }
            }
        }
    }
}
