#myg-logo-in-wrapper {
    display: none;

    width: 80px;
    top: 5svh;
    left: 5%;
    position: absolute;
}

#myg-footer-in-wrapper {
    display: none;

    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    margin-top: -100px;
    width: 100%;
    height: 200px;
}

#myg-footer-in-wrapper #myg-footer-topbar {
    width: 100%;
    height: 230px;
    background: url('https://www.mygoodbye.com/assets/css/img/top-rounded-shape-dropshadow-mg.png') no-repeat center bottom;
    background-size: cover;
}

@media (min-width: 768px) {
    :root {
        --boxed-app-viewport-width: 460px;
    }

    #myg-logo-in-wrapper {
        display: inline-block;
    }

    #myg-footer-in-wrapper {
        display: inline-block;
    }

    html:has(#desktop-boxed-app-display), body:has(#desktop-boxed-app-display) {
        background: #FFF;
    }

    body:has(#desktop-boxed-app-display) {
        overflow: hidden;
        touch-action: pan-x pan-y;
    }

    #desktop-boxed-app-display {
        background: var(--primary-background-color);
    }

    #desktop-boxed-app-display {
        width: 472px;
        height: 90svh;
        display: inline-block;
        border: 6px solid #333;
        border-radius: 20px;
        overflow: auto;
        box-shadow: 2px 4px 4px rgba(33,33,33,.3);
        margin: auto;
        display: block;
        position: relative;
        margin-top: 5svh;
        left: 0;
        right: 0;
    }

    #desktop-boxed-app-display .login-bg,
    #desktop-boxed-app-display .topbar,
    #desktop-boxed-app-display .footer-menu,
    #desktop-boxed-app-display .fixed-tab-holder,
    #desktop-boxed-app-display .modal,
    #desktop-boxed-app-display .modal .modal-footer,
    body:has(#desktop-boxed-app-display) .sidenav-overlay,
    body:has(#desktop-boxed-app-display) .modal-overlay,
    body:has(#desktop-boxed-app-display) .swal2-backdrop-show {
        width: var(--boxed-app-viewport-width) !important;
    }

    #desktop-boxed-app-display .login-bg {
        min-width: var(--boxed-app-viewport-width) !important;
        min-height: calc(90svh - 12px);
        height: calc(90svh - 12px);
        border-radius: 15px;
        top: calc(5svh + 6px);
    }

    #desktop-boxed-app-display .content-area .container {
        width: 90% !important;
    }

    #desktop-boxed-app-display .myGoodbye-login-action-buttons {
        width: 100% !important;
        left: 0;
        right: 0;
        bottom: 5svh;
    }

    #desktop-boxed-app-display .nav-wrapper.container {
        width: 90% !important;
    }

    #desktop-boxed-app-display nav .brand-logo {
        left: 50% !important;
        -webkit-transform: translateX(-50%) !important;
        transform: translateX(-50%) !important;
    }

    #desktop-boxed-app-display nav .navicon.back-button {
        margin: 10px 18px 10px -15px;
    }

    #desktop-boxed-app-display nav .navicon.sidenav-trigger {
        margin: 10px 18px 10px -15px;
        line-height: 2.5em;
    }

    .menu-full.menu-open #desktop-boxed-app-display .desktop-boxed-app-display-sidebar-container {
        border-radius: 15px;
        height: calc(90svh - 12px);
    }

    .menu-full.menu-open #desktop-boxed-app-display .desktop-boxed-app-display-sidebar-container .sidenav {
        height: calc(90svh - 12px);
        border-radius: 15px;
    }

    .menu-full.menu-open #desktop-boxed-app-display .sidemenu {
        position: absolute;
    }

    .menu-full.menu-open #desktop-boxed-app-display {
        overflow: hidden;
    }

    /*.menu-full.menu-open #desktop-boxed-app-display .desktop-boxed-app-display-sidebar-container {
        border-radius: 15px;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        height: calc(90svh - 12px);
    }*/

    #desktop-boxed-app-display .fixed-tab-holder {
        bottom: calc(60px + 5svh);
    }

    #desktop-boxed-app-display .footer-menu {
        margin-bottom: calc(6px + 5svh);
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    #desktop-boxed-app-display .footer-menu ul li:first-child {
        border-bottom-left-radius: 20px;
    }

    #desktop-boxed-app-display .footer-menu ul li:last-child {
        border-bottom-right-radius: 20px;
    }

    #desktop-boxed-app-display .modal {
        max-height: 85% !important;
        margin-left: auto;
        margin-right: auto;
    }

    #desktop-boxed-app-display .modal,
    #desktop-boxed-app-display .modal .modal-footer {
        margin-bottom: calc(6px + 5svh);
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    body:has(#desktop-boxed-app-display) .sidenav-overlay {
        height: calc(90svh - 6px);
        margin-top: 5svh;
        margin-left: auto;
        margin-right: auto;
        border-radius: 15px;
/*        z-index: 4;*/
        z-index: 1;
    }

    body:has(#desktop-boxed-app-display) .modal-overlay {
        position: absolute;
        margin: auto;
        border-radius: 15px;
    }

    body:has(#desktop-boxed-app-display) .swal2-container {
        margin: 5svh auto;
        border-radius: 15px;
    }

    #desktop-boxed-app-display .footer-menu li.selected {
        height: 58px;
    }

    #desktop-boxed-app-display .row .col.m6 {
        width: 50%;
    }

    #desktop-boxed-app-display .row .col.m12 {
        width: 100%;
    }

    #desktop-boxed-app-display a:hover, #desktop-boxed-app-display .progress-block:hover {
        cursor: pointer;
    }

    #desktop-boxed-app-display .tabs .tab a:not(.active):hover {
        color: var(--dark-700);
    }

    .menu-full.menu-open #desktop-boxed-app-display .menu-close {
        bottom: calc(5vh + 40px);
    }
}

/*@media (max-width: 768px) {
    #desktop-boxed-app-display {
        width: 350px;
        height: 650px;
    }
}*/

/*@media (max-width: 600px) {
    #desktop-boxed-app-display {
        width: 375px;
        height: 550px;
    }
}*/