/*
**
**
**
**
**
** Virtual Browser Wrapper
** =================================
*/

#TL-Browser {
    display: block;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 66px;
    margin: 0;
    width: calc(100vw - 66px);
    min-width: 430px;
    height: 100vh;
    background-color: var(--Backdrop-Color);
    opacity: 0;
    overflow-x: hidden;
    overflow-y: visible;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: -webkit-transform 600ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 350ms ease;
    -moz-transition: -moz-transform 600ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 350ms ease;
    transition: transform 600ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 350ms ease;
    -webkit-transform: scale(0) translateY(500px);
    -moz-transform: scale(0) translateY(500px);
    transform: scale(0) translateY(500px);
}
body:not([data-home="true"]) > #TL-Browser {
    opacity: 1;
    -webkit-transform: scale(1) translateY(0);
    -moz-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
}

#TL-Browser:not(.guest-nav-visible):not(.app-nav-hidden) {
    top: 52px;
    height: calc(100vh - 52px);
}

#TL-Browser > iframe[name="TL-Browser"] {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: -webkit-transform 150ms ease, opacity 150ms ease;
    -moz-transition: -moz-transform 150ms ease, opacity 150ms ease;
    transition: transform 150ms ease, opacity 150ms ease;
}

body:not([data-home="true"]) > #TL-Browser.start-page-transition > iframe[name="TL-Browser"] {
    opacity: 0;
    -webkit-transform: translateX(50px);
    -moz-transform: translateX(50px);
    transform: translateX(50px);
}
body:not([data-home="true"]) > #TL-Browser.end-page-transition > iframe[name="TL-Browser"] {
    -webkit-transform: translateX(-50px);
    -moz-transform: translateX(-50px);
    transform: translateX(-50px);
}

/*
**
**
**
**
**
** Home Screen
** =================================
*/

#TL-Home {
    position: fixed;
    top: 0;
    left: 66px;
    width: calc(100vw - 66px);
    height: 100vh;
    background-color: #f0f0f0;
    background-image: url(../resources/backdrops/testbg4.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: auto;
}
body[theme="dark"] #TL-Home {
    background-color: var(--Dark-Theme-Background);
    background-image: url(../resources/backdrops/Blur-Backdrop-3.jpg);
}

#TL-Home > .wrapper {
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
    width: 96%;
    max-width: 1700px;
    height: auto;
    min-height: 100%;
    padding: 50px 0 150px 0;
}

/* Daily Summary */

.daily-summary-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: calc(100% - 220px);
    max-width: 1680px;
    height: 100%;
    -webkit-transition: -webkit-transform 400ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 200ms ease;
    -moz-transition: -moz-transform 400ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 200ms ease;
    transition: transform 400ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 200ms ease;
}
.daily-summary {
    position: sticky;
    z-index: 2;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 430px;
    height: 100%;
    padding: 50px 0;
    background-color: transparent;
    overflow: auto;
}
/* WebKit-based browsers (Chrome, Safari, Edge) */
.daily-summary::-webkit-scrollbar {
    width: 12px;
}

.daily-summary::-webkit-scrollbar-track {
    background: none; /* Ensure the track is transparent */
}

.daily-summary::-webkit-scrollbar-thumb {
    background-color: #f0f0f2;
    border-radius: 10px;
}

.daily-summary:hover::-webkit-scrollbar-thumb {
    background-color: #d8d8da;
    border-radius: 10px;
}

/* Firefox */
.daily-summary {
    scrollbar-width: thin; /* Makes scrollbar thinner */
    scrollbar-color: #f0f0f2 transparent; /* thumb color, track color */
}
.daily-summary > header {
    position: relative;
    margin: 0 auto 32px auto;
    width: calc(100% - 50px);
    height: auto;
    padding: 0;
    text-align: left;
    opacity: 0;
    -webkit-transition: -webkit-transform 600ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 200ms ease;
    -moz-transition: -moz-transform 600ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 200ms ease;
    transition: transform 600ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 200ms ease;
    -webkit-transform: translateY(50px);
    -moz-transform: translateY(50px);
    transform: translateY(50px);
}
body[data-home="true"] .daily-summary > header {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
}

.daily-summary > header > h1 {
    font-family: var(--Theme-Font);
    font-size: 32px;
    color: #181818;
    /* color: #fff; */
    font-weight: 600;
    line-height: 38px;
}
.daily-summary > header > h2 {
    font-size: 16px;
    color: #68686a;
    /* color: #fff; */
    font-weight: 500;
    line-height: 20px;
}

/* Daily Summary - Zero Results Message */

.daily-summary .zero-results {
    display: none;
    position: relative;
    margin: 50px 0;
    width: 100%;
    height: auto;
    text-align: center;
}
.daily-summary-wrapper.zero-results .zero-results {
    display: block;
}
.daily-summary .zero-results > img {
    width: 350px;
}
.daily-summary .zero-results > h3 {
    margin: -22px 0 0 0;
    font-family: var(--Theme-Font);
    font-size: 22px;
    color: #181818;
    font-weight: 400;
    line-height: 24px;
}
.daily-summary .zero-results > button.view-all-messages {
    display: inline-block;
    margin: 12px 12px 0 0;
    vertical-align: top;
    width: auto;
    min-width: 60px;
    height: 38px;
    padding: 0 10px;
    background: linear-gradient(160deg, #8e98ff, #8577f9);
    font-size: 12.5px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.2px;
    border-radius: 5px;
    box-shadow: 0 1px 2px 0 rgba(30, 10, 100, 0.24);
}

/* Daily Summary - Notifications / Messages */

.TL-Message-Preview-Home {
    position: relative;
    box-sizing: border-box;
    margin: 0 auto 24px auto;
    width: calc(100% - 50px);
    height: auto;
    min-height: 104px;
    padding: 14px;
    background-color: #fdfdfd;
    /* background-color: rgba(248, 248, 252, 0.42); */
    opacity: 0;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 0 12px 26px -3px rgba(10, 10, 10, 0.16);
    -webkit-transition: -webkit-transform 400ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 300ms ease;
    -moz-transition: -moz-transform 400ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 300ms ease;
    transition: transform 400ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 300ms ease;
    -webkit-transform: translateY(80px);
    -moz-transform: translateY(80px);
    transform: translateY(80px);
}
.TL-Message-Preview-Home.hide {
    display: none !important;
}
body[data-home="true"] .TL-Message-Preview-Home {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
}
.TL-Message-Preview-Home > .labels {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 100px;
    height: 28px;
    background-color: transparent;
    text-align: right;
}
.TL-Message-Preview-Home > .labels > img {
    display: none;
    vertical-align: top;
    margin: 6px 4px 0 0;
    width: 22px;
    height: 22px;
}
.TL-Message-Preview-Home[important="true"] > .labels > img.important,
.TL-Message-Preview-Home[favorite="true"] > .labels > img.favorite {
    display: inline-block;
}
.TL-Message-Preview-Home > .sender {
    position: absolute;
    z-index: 3;
    top: 18px;
    left: 22px;
    margin: 0;
    width: 40px;
    height: 40px;
}
.TL-Message-Preview-Home > .sender > .user-photo {
    width: 100%;
    height: 100%;
    box-shadow: 0 1px 3px 0 rgba(20, 20, 22, 0.28);
}
.TL-Message-Preview-Home > .sender > figure.app-icon {
    position: absolute;
    z-index: 3;
    top: -16px;
    left: -16px;
    margin: 0;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    padding: 4px 0 0 0;
    background-color: #fdfdfd;
    text-align: center;
    border-radius: 100%;
    /*box-shadow: 0 2px 8px 0 rgba(20, 20, 22, 0.18);*/
}
.TL-Message-Preview-Home > .sender > figure.app-icon > img {
    width: 22px;
    height: auto;
}
.TL-Message-Preview-Home > header,
.TL-Message-Preview-Home > .text-body {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    text-align: left;
}
.TL-Message-Preview-Home > header {
    padding: 8px 0 0 56px;
}
.TL-Message-Preview-Home > header > h1 {
    font-size: 15px;
    color: #28282a;
    font-weight: 500;
    line-height: 20px;
}
.TL-Message-Preview-Home > header > h2 {
    text-transform: capitalize;
    font-size: 12.5px;
    color: #484848;
    font-weight: 400;
    line-height: 14px;
}
.TL-Message-Preview-Home > .text-body {
    padding: 4px 0 0 56px;
}
.TL-Message-Preview-Home > .text-body > p {
    font-size: 12.5px;
    color: #28282a;
    font-weight: 400;
    line-height: 18px;
}

/* Tasks Card (Daily Summary) */

.TL-Task-Daily-Summary {
}
.TL-Task-Daily-Summary > header > h1 > span.task-count {
    padding: 0 4px;
    background-color: #e11717;
    color: #fff;
    border-radius: 6px;
}

/* Apps Wrapper */

#TL-Home .apps {
    position: relative;
    z-index: 1;
    margin: 0 0 0 450px;
    width: calc(100% - 450px);
    height: auto;
    padding: 0;
    -webkit-transition: -webkit-transform 360ms cubic-bezier(0.28, 0.28, 0.12, 1.06);
    -moz-transition: -moz-transform 360ms cubic-bezier(0.28, 0.28, 0.12, 1.06);
    transition: transform 360ms cubic-bezier(0.28, 0.28, 0.12, 1.06);
}

/* App Icon Style */

.TL-App {
    display: inline-block;
    position: relative;
    margin: 0;
    box-sizing: border-box;
    width: 152px;
    height: 152px;
    padding: 12px;
    background-color: transparent;
    cursor: pointer;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: -webkit-transform 300ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 300ms ease;
    -moz-transition: -moz-transform 300ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 300ms ease;
    transition: transform 300ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 300ms ease;
    -webkit-transform: translateY(50px);
    -moz-transform: translateY(50px);
    transform: translateY(50px);
}
body[data-home="true"] .TL-App {
    pointer-events: all;
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
}
.TL-App > figure.icon {
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
    width: 78px;
    height: 78px;
    padding: 18px 0 0 0;
    background-color: #fff;
    text-align: center;
    border-radius: 100%;
    box-shadow: 0 1px 3px -1px rgba(20, 20, 22, 0.38);
    -webkit-transition: -webkit-transform 200ms cubic-bezier(0.28, 0.28, 0.12, 1.8);
    -moz-transition: -moz-transform 200ms cubic-bezier(0.28, 0.28, 0.12, 1.8);
    transition: transform 200ms cubic-bezier(0.28, 0.28, 0.12, 1.8);
}
body[theme="dark"] .TL-App > figure.icon {
    background-color: var(--Dark-Theme-Foreground);
}
.TL-App:not([data-external=""]) > figure.icon::after {
    content: "";
    display: block;
    position: absolute;
    top: -5px;
    right: -5px;
    width: 16px;
    height: 16px;
    padding: 3px;
    background-color: #6271ff;
    background-image: url("../resources/icons/outline/link.white.png");
    background-repeat: no-repeat;
    background-size: 16px auto;
    background-position: center;
    border-radius: 7px;
    box-shadow: 0 2px 8px -1px rgba(80, 80, 100, 0.58);
}
.TL-App[beta-enabled="0"] > figure.icon::after {
    content: "";
    display: block;
    position: absolute;
    top: -5px;
    right: -5px;
    width: 16px;
    height: 16px;
    padding: 3px;
    background-color: #e86450;
    background-image: url("../resources/icons/outline/lock.white.png");
    background-repeat: no-repeat;
    background-size: 16px auto;
    background-position: center;
    border-radius: 7px;
    box-shadow: 0 2px 8px -1px rgba(80, 80, 100, 0.58);
}
.TL-App:hover > figure.icon {
    box-shadow: 0 12px 22px -2px rgba(20, 20, 20, 0.14);
    -webkit-transform: scale(1.08) translateY(-4px);
    -moz-transform: scale(1.08) translateY(-4px);
    transform: scale(1.08) translateY(-4px);
}
.TL-App > figure.icon > img {
    width: 42px;
    height: auto;
    -webkit-transition: -webkit-transform 150ms ease, filter 150ms ease;
    -moz-transition: -moz-transform 150ms ease, filter 150ms ease;
    transition: transform 150ms ease, filter 150ms ease;
}
.TL-App:hover > figure.icon > img {
    -webkit-filter: drop-shadow(0 8px 6px rgba(10, 10, 10, 0.22));
    -moz-filter: drop-shadow(0 8px 6px rgba(10, 10, 10, 0.22));
    filter: drop-shadow(0 8px 6px rgba(10, 10, 10, 0.22));
    -webkit-transform: scale(1.16) translateY(-2px);
    -moz-transform: scale(1.16) translateY(-2px);
    transform: scale(1.16) translateY(-2px);
}
.TL-App > .text-body {
    position: relative;
    width: 100%;
    height: 32px;
    padding: 10px 0 0 0;
    text-align: center;
}
.TL-App > .text-body > h1 {
    font-size: 13.5px;
    color: #383838;
    /* color: #fff; */
    font-weight: 500;
    line-height: 14px;
}
/* .TL-App[data-app="evaluations"] > .text-body > h1, */
.TL-App > .text-body > h2.inventory-status {
    display: inline-block;
    margin: 3px 0 0 0;
    vertical-align: top;
    padding: 2px 6px;
    text-transform: uppercase;
    text-align: center;
    font-size: 10px;
    color: #fff;
    font-weight: 500;
    line-height: 12px;
    border-radius: 30px;
}

/* Evaluations - There is stuff to do! */

/* .TL-App[data-app="evaluations"] > .text-body > h1 {
    background-color: #f5a521;
    animation: EvaluationsActive 2s infinite;
}
@keyframes EvaluationsActive {
    0% {
        background-color: #f5a521;
    }
    50% {
        background-color: #fff;
        color: #a96c07;
    }
    100% {
        background-color: #f5a521;
    }
} */

/* Inventory Specific Style */

.TL-App > .text-body > h2.inventory-status[status="DISABLED"] {
    background-color: #e0382d;
}
.TL-App > .text-body > h2.inventory-status[status="ENABLED"] {
    background-color: #09cd45;
    animation: InventoryEnabled 2s infinite;
}
@keyframes InventoryEnabled {
    0% {
        background-color: #1b8346;
    }
    50% {
        background-color: #dbf5e5;
        color: #0c6431;
    }
    100% {
        background-color: #1b8346;
    }
}

/* W2 Specific Style */

.TL-App[data-app="w2"] > figure {
    /* background: linear-gradient(160deg, #38cae5, #07426e); */
}

.TL-App[data-app="w2"] > .text-body > h1 {
    display: inline-block;
    margin: 0;
    vertical-align: top;
    min-width: 46px;
    padding: 2px 6px;
    background: linear-gradient(160deg, #38cae5, #07426e);
    text-transform: uppercase;
    text-align: center;
    font-size: 10px;
    color: #fff;
    font-weight: 500;
    line-height: 12px;
    border-radius: 30px;
}

.TL-App[data-app="w2"] > figure::before {
    content: "";
    display: none;
    z-index: 0;
    position: absolute;
    margin: auto;
    top: -100px;
    bottom: -100px;
    left: -100px;
    right: -100px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    /* background: linear-gradient(160deg, #0cc517, #0cc5bd); */
    border: 4px solid #0cc517;
    border-radius: 20px;
}

/*
**
**
**
**
**
** Pinned App
** ========================================
*/

#TL-Pinned-App-Wrapper {
    display: none;
    position: fixed;
    z-index: 25;
    bottom: 12px;
    right: 12px;
    width: 64px;
    height: 64px;
}
#TL-Pinned-App-Wrapper.active {
    display: block;
}
.TL-Pinned-App {
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
    -webkit-transition: -webkit-transform 380ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 200ms ease;
    -moz-transition: -moz-transform 380ms cubic-bezier(0.28, 0.28, 0.12, 1.06), opacity 200ms ease;
    transition: transform 380ms cubic-bezier(0.28, 0.28, 0.12, 1.12), opacity 200ms ease;
    -webkit-transform: translate(0, 0) scale(0);
    -moz-transform: translate(0, 0) scale(0);
    transform: translate(0, 0) scale(0);
}
#TL-Pinned-App-Wrapper.animate-1 > .TL-Pinned-App {
    -webkit-transform: translate(-200px, -200px);
    -moz-transform: translate(-200px, -200px);
    transform: translate(-200px, -200px);
}
#TL-Pinned-App-Wrapper.animate-2 > .TL-Pinned-App {
    opacity: 1;
    -webkit-transform: translate(-200px, -200px) scale(1.8);
    -moz-transform: translate(-200px, -200px) scale(1.8);
    transform: translate(-200px, -200px) scale(1.8);
}
#TL-Pinned-App-Wrapper.animate-3 > .TL-Pinned-App {
    opacity: 1;
    -webkit-transform: translate(0, 0) scale(1);
    -moz-transform: translate(0, 0) scale(1);
    transform: translate(0, 0) scale(1);
}
.TL-Pinned-App > button.dismiss {
    position: absolute;
    z-index: 4;
    top: -4px;
    left: -4px;
    margin: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    background-color: #fff;
    background-image: url("../resources/icons/outline/x.black.png");
    background-repeat: no-repeat;
    background-size: 16px auto;
    background-position: center;
    text-align: center;
    border-radius: 100%;
    box-shadow: 0 1px 3px -1px rgba(20, 20, 22, 0.18);
}
.TL-Pinned-App > figure.icon {
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
    width: 64px;
    height: 64px;
    padding: 11px 0 0 0;
    background-color: #fff;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 1px 3px -1px rgba(20, 20, 22, 0.38);
}
.TL-Pinned-App > figure.icon > img {
    width: 42px;
    height: auto;
}

/*
**
**
**
**
**
** Banner Notifications
** ========================================
*/

#TL-Banner-Notification {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 400px;
    height: auto;
    padding: 0;
    background: none;
    text-align: center;
    font-size: 0;
}
.TL-Banner {
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    top: 0;
    width: 100%;
    height: auto;
    min-height: 30px;
    padding: 8px;
    margin: 0;
    margin-top: -400px;
    vertical-align: top;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 10px 18px -4px rgba(20, 20, 22, 0.18);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transform: scale(0);
    -webkit-transition: -webkit-transform 280ms ease, margin-top 280ms ease;
    -moz-transition: -moz-transform 280ms ease, margin-top 280ms ease;
    transition: transform 280ms ease, margin-top 280ms ease;
}
.TL-Banner[data-active="true"] {
    margin-top: 16px;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
    -webkit-transition: -webkit-transform 500ms cubic-bezier(0.28, 0.28, 0.08, 1.12) 120ms, margin-top 380ms ease;
    -moz-transition: -moz-transform 500ms cubic-bezier(0.28, 0.28, 0.08, 1.12) 120ms, margin-top 380ms ease;
    transition: transform 500ms cubic-bezier(0.28, 0.28, 0.08, 1.12) 120ms, margin-top 380ms ease;
}
.TL-Banner .dismiss {
    position: absolute;
    z-index: 2;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    background-color: #fff;
    background-image: url("../resources/icons/outline/x.black.png");
    background-repeat: no-repeat;
    background-size: 16px auto;
    background-position: center;
    cursor: pointer;
    box-shadow: 0 1px 3px 0 rgba(20, 20, 22, 0.22);
}
.TL-Banner .dismiss:hover {
}
.TL-Banner > .content-zone {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 50px;
    padding: 8px 18px 12px 28px;
    margin: 0;
    text-align: left;
    overflow: hidden;
    border-radius: 30px;
}
.TL-Banner[theme="DEFAULT"] > .content-zone {
    background: linear-gradient(160deg, #bd5540, #d88f5d) !important;
    box-shadow: 0 4px 18px 0 rgba(180, 76, 20, 0.52) !important;
}
.TL-Banner[theme="ERROR"] > .content-zone {
    background: linear-gradient(160deg, #e3844e, #b94517);
    box-shadow: 0 4px 18px 0 rgba(180, 50, 20, 0.52);
}
.TL-Banner[theme="SUCCESS"] > .content-zone {
    background: linear-gradient(160deg, #48c791, #1a816a);
    box-shadow: 0 4px 18px 0 rgba(20, 180, 80, 0.52);
}
.TL-Banner > .content-zone > .dust-texture {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}
.TL-Banner > .content-zone > .heading,
.TL-Banner > .content-zone > .body {
    display: inline-block;
    position: relative;
    z-index: 4;
    width: 100%;
}
.TL-Banner > .content-zone > .heading {
    font-family: var(--Theme-Font);
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 20px;
}
.TL-Banner > .content-zone > .body {
    padding-top: 2px;
    font-size: 14.5px;
    color: #fff;
    font-weight: 500;
    line-height: 18px;
}
.TL-Banner > .content-zone > button {
    display: none;
    position: relative;
    z-index: 5;
    margin: 12px 0 4px 0;
    width: 100%;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-size: 14px;
    color: #282828;
    font-weight: 500;
    cursor: pointer;
    border-radius: 30px;
}
.TL-Banner > .content-zone > button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}
.TL-Banner[has-link="true"] > .content-zone > button {
    display: block;
}

/*
**
**
**
**
**
** Browser Initializing Loading 
** =================================
*/

#TL-Browser-Initializing {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    padding: 0;
    /* background-color: #000; */
    background-color: #f6f6f6;
}
body[theme="dark"] #TL-Browser-Initializing {
    background-color: var(--Dark-Theme-Background-1);
}
#TL-Browser-Initializing > .content-zone {
    position: absolute;
    z-index: 4;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 400px;
    height: 150px;
    text-align: center;
}
#TL-Browser-Initializing > .content-zone > * {
    -webkit-transition: transform 600ms cubic-bezier(0.28, 0.28, 0.08, 1.12), opacity 180ms ease;
    -moz-transition: transform 600ms cubic-bezier(0.28, 0.28, 0.08, 1.12), opacity 180ms ease;
    transition: transform 600ms cubic-bezier(0.28, 0.28, 0.08, 1.12), opacity 180ms ease;
}
#TL-Browser-Initializing > .content-zone > img {
    width: 64px;
    height: auto;
    margin-bottom: 1em;
}
#TL-Browser-Initializing > .content-zone > h1 {
    display: inline-block;
    width: 100%;
    padding: 0;
    font-family: var(--Theme-Font);
    font-size: 24px;
    color: #fff;
    /* color: #000; */
    font-weight: 600;
    line-height: 28px;
    transition-delay: 100ms;
}
#TL-Browser-Initializing > .content-zone > h2 {
    display: inline-block;
    width: 100%;
    padding: 0;
    font-size: 22px;
    color: #000;
    color: #fff;
    font-weight: 300;
    line-height: 26px;
    transition-delay: 100ms;
}
#TL-Browser-Initializing.animate-out > .content-zone > * {
    transform: translateY(-250px);
    opacity: 0;
}
#TL-Browser-Initializing > .orb-thing {
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 280px;
    height: 280px;
    filter: blur(calc(280px / 5));
    background-image: linear-gradient(#37eba9, #5b37eb);
    /* background-image: linear-gradient(#eeb551, #c65b1e); */
    /* background-image: linear-gradient(62deg, #8ec5fc 0%, #e0c3fc 100%); */
    animation: InitializationAnimation 8s cubic-bezier(0.2, 0.2, 0.2, 0.8) alternate infinite;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transition: all 0.25s ease-out;
}
@keyframes InitializationAnimation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*
**
**
**
**
**
** Responsive
** =================================
*/

@media only screen and (max-width: 1050px) {
    #TL-Home > .wrapper {
        left: 0;
        width: 100%;
    }
    #TL-Home .apps {
        margin: 0;
        width: 100%;
    }
    #TL-Home.expand-daily-summary {
        overflow: hidden;
    }
    #TL-Home.expand-daily-summary .apps {
        -webkit-filter: blur(3px);
        -moz-filter: blur(3px);
        filter: blur(3px);
        -webkit-transform: translateX(350px);
        -moz-transform: translateX(350px);
        transform: translateX(350px);
    }
    .daily-summary-wrapper {
        z-index: 3;
        width: 100%;
    }
    #TL-Home:not(.expand-daily-summary) .daily-summary-wrapper {
        display: none;
        opacity: 0;
        -webkit-transform: translateX(-400px);
        -moz-transform: translateX(-400px);
        transform: translateX(-400px);
    }
}

@media only screen and (max-width: 900px) {
    #TL-Browser,
    #TL-Home {
        left: 0;
        width: 100vw;
        height: calc(100vh - 60px);
    }

    /* Adjust the browser based on the navigation showing / hiding */
    /* The height is already 52px shorter than usual from style set above */
    /* But now we need to add the primary nav options which are an additional 60px */
    #TL-Browser:not(.app-nav-hidden) {
        top: 0 !important;
        height: calc(100vh - 112px) !important;
    }
    #TL-Browser.guest-nav-visible {
        height: 100vh !important;
    }
    #TL-Pinned-App-Wrapper {
        display: none !important;
    }
}

@media only screen and (max-width: 500px) {
    /* Adjust the browser based on the navigation showing / hiding */
    /* The height of the pages navigation expands to 64px here - we need to adjust the frame with it */
    #TL-Browser:not(.app-nav-hidden) {
        height: calc(100vh - 124px) !important;
    }
    #TL-Browser.guest-nav-visible {
        height: 100vh !important;
    }

    .daily-summary {
        width: 100%;
    }
    #TL-Home.expand-daily-summary .apps {
        -webkit-transform: translateX(500px);
        -moz-transform: translateX(500px);
        transform: translateX(500px);
    }

    .TL-App {
        width: 33%;
        height: 135px;
    }
}
