
html, body, textarea {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: #f5f4ef;
}
body {
    min-height: 100vh;
}
textarea {
    box-sizing: content-box;
}

/* BASE CSS */
    .muted {
        opacity: 0.4;
        -pointer-events: none;
    }
    .faded {
        opacity: 0.4;
    }
    .text-center {
        text-align: center;
    }
    .text-left {
        text-align: left;
    }
    .text-right {
        text-align: right;
    }
    .text-small {
        font-size: 70%;
    }
    .text-mini {
        font-size: 50%;
    }
    .text-bold {
        font-weight: bold;
    }

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

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #5771D5; /* #666; */

        border-bottom: 2px solid #888;
        width: 100%;
        height: 50px;
    }
    .nav a {
        text-decoration: none;
    }
    .nav a:hover {
        text-decoration: underline;
    }
    .nav .brand {
        margin: 0;
        padding: 0;
        width: 250px;
    }
    .nav ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        padding-top: 15px;
        height: 35px;

        display: flex;
        justify-content: space-around;
    }
    .nav ul li {
        -float: left;
        margin: 0 10px;
    }
    .nav .right-separator {
        border-right: 2px solid #888;
        margin-right: 15px;
        padding-right: 15px;
    }
    .nav .left-separator {
        border-left: 2px solid #888;
        margin-left: 15px;
        padding-left: 15px;
    }
    .nav .full-width {
        margin-left: auto;
        margin-right: auto;
        width: calc(100% - 550px);
    }
    .nav ul.brand li {
        margin: 0;
        padding: 0;
    }

    .nav .credentials {
        width: 250px;
    }

    .nav .credentials .logout {
    }

    .sidebar {
        top: 52px;
        bottom: 10px;
        background: #06682D; /* #333; */
        width: calc(25% - 10px);
        margin: 0;
        padding: 0 0 10px;
    }

    .sidebar .menu-item {
        font-size: 0.9em;
        border-bottom: 1px solid #FFF3;
        padding-bottom: 10px;
    }
    .sidebar .menu-item.hello {
        margin-top: 40px;
    }
    .sidebar .menu-item.logout {
        /*position: fixed;
        bottom: 30px;
        left: 0;
        width: 200px;*/
        border-bottom: none;
        /*right: 0;*/
    }

    .sidebar .menu-item.logo {
        text-align: center;
    }
    .sidebar .brand {
        text-align: center;
    }
    .sidebar .menu-item.brand .logo {
        width: 100%;
    }
    .sidebar .menu-item.brand .logo-wrapper {
        padding: 20px;
        margin-bottom: 20px;
    }
    .sidebar .brand .mark {
        text-transform: uppercase;
        font-size: 1.75em;
        font-weight: bold;
    }

    .sidebar .heading {
        /* text-transform: uppercase; */
        font-size: 1em;
        margin-bottom: 5px;
        margin-top: 0px;
    }
    .sidebar .heading:not(:first-child) {
        margin-top: 30px;
        padding-bottom: 30px;
    }
    .sidebar .sub-heading {
        text-transform: uppercase;
        font-size: 20px;
        padding-left: 10px;
        margin-bottom: 5px;
        margin-top: 10px;
    }

    .clickable-item {
        text-decoration: underline;
        text-decoration-style: dotted;
        text-decoration-color: #0003;
    }
    .clickable-item:hover, .menu-item:hover {
        text-decoration: underline;
        text-decoration-style: unset;

        cursor: pointer;
    }
    .step-order {
        cursor: pointer;
        opacity: 0.25;
    }
    .step-order:hover {
        opacity: 1.0;
    }


    .sidebar-left {
        left: 0;
        /* flex: 1; 
        z-index: 100; */
        width: 200px;
        text-align: center;
    }
    .sidebar-right {
        right: 0;
        flex: 5.5;
        padding: 0;
    }
    .sidebar-right.full-size {
        flex: 9;
    }
    .sidebar-right.full-size > .workspace {
        min-height: 100%;
    }

    .workspace {
        padding: 80px 0px 100px;
        flex: 7;
        position: relative;
        min-height: calc(100% - 80px - 100px);
    }
    .workspace .heading {
        font-size: 40px;
        text-align: left;
        margin-bottom: 10px;
        padding-bottom: 5px;
    }
    .workspace .heading .heading-detail,
    .workspace .heading ~ .heading-detail {
        font-size: 16px;
        font-family: sans-serif;

        /*
        font-size: 18px;
        font-family: Agrandir-light;
        */
    }
    .workspace .footing {
        border-top: 1px solid #0003;
        margin-top: 0px;
        padding-top: 5px;
    }
    .workspace .workspace-section:not(:first-child),
    .workspace-section > form > .input-group:not(:first-child) {
        margin-top: 25px;
    }
    .workspace-section {
        padding: 10px;
        border-radius: 5px;
        position: relative;
    }

    .input-group .input-label {
        width: 100%;
        margin-left: 1px;
        margin-bottom: 3px;
        font-size: 20px;
    }
    .input-group > input,
    .input-group > textarea,
    .input-group > select,
    .input-group .input-block,
    [content-item-key] {
        width: 100%;
    }

    .input-group > input,
    .input-group > textarea,
    .input-group > select,
    [content-item-key] {
        background: #FFFD;
        border: 1px solid #000A;
        border-radius: 3px;
        padding: 7px 3px;
        margin: 3px 0;
        
        font-size: 18px;

        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .input-group > .input-block {
        float: left;
    }
    .input-group {
        margin: 10px 0;
    }
    .input-group > .input-group {
        margin-bottom: 20px;
    }
    .input-group > .input-group:last-child {
        margin-bottom: 0;
    }

    .input-block-mini .input-group {
        font-size: 80%;
    }
    .input-block-mini .input-group .input-label {
        width: 100px;
    }
    .input-block-mini .input-group > input,
    .input-block-mini .input-group > textarea,
    .input-block-mini .input-group > select,
    .input-block-mini .input-group .input-block,
    .input-block-mini [content-item-key] {
        width: calc(100% - 110px);
    }

    .input-block-horizontal .input-group {
        display: inline-block;
        /* width: calc(50% - 3px); */
        margin-bottom: 0;
    }

    .content-item-container {
        margin-bottom: 10px;
    }
    .content-item-container .content-description {
        width: 100%;
    }

    .footer {
        position: fixed;
        bottom:0;
        left:0;
        right:0;
        height: 14px;
        line-height: 14px;
        font-size: 10px;

        text-align: center;
        background: #333;

        z-index: 9999;
    }

    .btn {
        cursor: pointer;

        width: 100px;
        border: 1px solid #000A;
        border-radius: 3px;
        text-align: center;

        padding: 3px 0;
        margin: 5px 0;

        background-color: #FFF3;
    }
    .btn.disabled {
        pointer-events: none;    
        background-color: #9993;
        border: 1px solid #999F;
        color: #FFF3;
        cursor: not-allowed;
    }

    .btn-full-width {
        width: 100%;
    }
    .btn-dynamic-width {
        width: unset;
        padding-left: 10px;
        padding-right: 10px;
    }

    .btn-row .btn {
        width: unset;flex-grow: 1;
    }

    .btn-row {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        column-gap: 10px;
    }
    .footing .btn {
        display: inline-block;
        padding-left: 10px;
        padding-right: 10px;
    }


    table {
        width: 100%;
        border-spacing: 0 5px;
    }
    table thead tr th {
        text-align: left;
        /* border-bottom: 1px solid #0003; */
    }
    table tbody tr:nth-child(odd) {
        /* background: #EEE;
        background-color: #2222; */
    }

    table td {
        padding: 3px;
    }

    table td:first-child, td:last-child {
        /* padding: 3px 10px; */
    }


    .pull-right {
        float: right;
    }
    .pull-left {
        float: left;
    }
    .hide {
        display: none!important;
    }
    .clearfix::after,
    .input-group::after {
        content: "";
        clear: both;
        display: table;
    }

    .auth {
        text-align: center;
        margin:50px;
    }
    .auth img {
        margin: 50px;
        background: black;
        border-radius: 500px;
        border: solid 3px #888;
    }

    .button-block {
        display: flex;
        justify-content: space-around;
        column-gap: 5px;
    }
    .button-block.border-shift {
        width: calc(100% + 4px);
    }
    .button-block .btn {

    }

    .spinner {
        text-align: center;
        display: block;
        margin: 0 auto;
    }
    .spinner-mini {
        max-height: 28.5px;
    }


    .tingle-modal {
        background: #0009;
    }

    a {
        text-decoration: none;
    }


    /* content boxes */

        .content-container {
            width: 100%;
            max-width: 850px;
            margin-left: auto;
            margin-right: auto;
        }
        .workspace > .content-container {
            margin-top: -100px;
        }

        .content-container .content-title {
            text-align: center;
            font-size: 20px;

            display: block;
            margin-left: auto;
            margin-right: auto;
            width: fit-content;
        }
        .content-container .content-title:after {
            content: "⏷";
            margin-left: 20px;
            padding: 2px 10px;
            border: 1px solid #CCC0;
        }
        .content-container .content-title-no-menu.content-title:after {
            content: "";
            padding: 0;
            margin: 0;
        }

        .content-box {
            position: relative;
            padding: 20px;
            margin: 20px 0px;
            border-radius: 35px;
        }
        .content-box code,
        .content-box pre {
            white-space: pre-line;
        }

        .content-box:first-child {
            margin-top: 0px;
        }

        .content-box.content-info {
            border: solid 1px #5771D5;
            background: #f7f8fd;
            color: #161C35;
            border-radius: 10px;
        }
        .content-box.content-request {
            background: #3D4F95;
            color: #EEF1FB;
        }
        .content-box.content-response {
            background: #5771D5;
            color: #EEF1FB;
        }

        .content-box.content-response .table,
        .content-box.content-request .table {
            color: #EEF1FB;
        }

        .content-box .title {
            font-weight:  bold;
            font-size: 24px;
        }

        .content-box .content-content {
            font-size: 14px;
        }

        .content-box .controls > .btn {
            display: inline-block;
            flex-grow: 1;
        }

        .content-box .controls {
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            gap: 10px;
        }

        .content-box .prompt .btn {
            float: right;
            display: inline-block;
            margin: 0;
            padding: 5px 20px;
            font-size: 75%;
        }

        .content-box .prompt {

        }

        .content-box .table .btn {
            width: unset;
            padding: 2px 5px;
            font-size: 75%;
        }

        .content-box .table input {
            width: 100%;
        }

        .content-content > .btn {
            width: 100%;
            font-size: 75%;
        }

        .converastion-break {
            border-top: 1px solid #CCC;
            margin-top: 40px;
            position: relative;
            padding-top: 15px;
        }

        .converastion-break-label {
            position: absolute;
            top: -10px;
            left: 40%;
            right: 40%;
            text-align: center;
            background: #f5f4ef;
            padding: 2px 10px;
            color: #666;
            font-size: 80%;
        }


        .content-content.content-content-row {
            display: flex;
            flex-direction: row;
            align-content: flex-start;
            justify-content: space-around;
            margin-top: 10px;
        }

        .content-visualization:hover {
            background: #f1efe9;
            border: 1px solid #CCC;
        }

        .content-visualization {
            padding: 10px 5px;
            cursor: pointer;
            border-radius: 10px;
            border: 1px solid #0000;
        }
        .content-visualization .content-visualization-label {
            text-align: center;
            margin-top: 10px;
        }
        .content-visualization .content-visualization-content {
            text-align: center;
            -background: #ccc;
            width: 150px;
            height: 150px;
            border-radius: 10px;
            margin-left: auto;
            margin-right: auto;
        }




        .content-title-container {
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
            padding: 0 20px;
        }

        .content-title-links {
          display: none;
          position: relative;
          background-color: #f9f9f9;
          box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
          z-index: 1;
          right: -135px;
          border-radius: 10px;
          top: -10px;
          width: 175px;
        }

        .content-title-links a {
          color: black;
          padding: 12px 16px;
          text-decoration: none;
          display: block;
        }

        .content-title-links a:hover {
          background-color: #f1f1f1;
          border-radius: 10px;
        }

        .content-title-container:hover .content-title-links {
          display: inline-block;
          float: right;
          text-align: center;
        }
        
        .content-title-container:hover .content-title:after {
            background: #f1efe9;
            border: 1px solid #CCC;
            border-radius: 10px;
            z-index: 99999;
            position: relative;
        }



        .content-status-scheduled .btn-change,
        .content-status-active .btn-change,
        .content-status-gathering .btn-change,
        .content-status-analyzing .btn-change,
        .content-status-complete .btn-change {
            display: none !important;
        }

    .content-box.content-info input {
        padding-left: 15px;
    }



    .btn-chunky {
        width: 300px;
        padding: 16px;
        font-size: 18px;
    }
    .content-box .btn {
        display: block;
        padding: 10px 0;
        font-size: 16px;
    }

    .input-group .input-label:first-child {
        margin-bottom: 10px;
    }

    .workspace-section.workspace-header .input-group .input-label:first-child {
        margin-bottom: 0px;
    }


    .input-description {
        opacity: 0.7;
        font-size: 70%;
    }


/* menu */
    .auth .lds-ellipsis div {
        background-color: #3D4F95;
    }

    .auth .lds-ellipsis {
        margin-top: 100px;
    }

    .menu-column {
        width: 100%;
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 25px;
    }

    .user-profile-btn {
        position: absolute;
        top: 64px;
        right: 64px;
        height: 48px;
        width: 48px;

        border-radius: 16px;
        font-size: 24px;
        line-height: 48px;
        text-align: center;
        text-decoration: none;
        
        background: #3D4F95;
        color: #EEF1FB;
        border: 1px solid #333;

        cursor: pointer;
        z-index: 10;
    }
    .user-profile-btn:hover,
    .user-profile-btn:focus, /* For keyboard navigation */
    .user-profile-btn:active /* For tap on mobile */ {
        background: #5771D5;
        border-color: #666;
        color: white;
    }


    .user-profile-links {
      display: none;
      position: absolute;
      background-color: #f9f9f9;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      z-index: 1;
      right: calc(64px - 16px);
      top: calc(64px + 40px);
      border-radius: 10px;
    }

    .user-profile-links a {
      color: black;
      padding: 12px 16px;
      text-decoration: none;
      display: block;
    }

    .user-profile-links a:hover {
      background-color: #f1f1f1;
      border-radius: 10px;
    }

    .user-profile-container:hover .user-profile-links,
    .user-profile-container:focus .user-profile-links, /* For keyboard navigation */
    .user-profile-container:active .user-profile-links /* For tap on mobile */ {
      display: block;
    }


    .brand-container {
        display: flex;
        justify-content: center;
        align-items: center;

        text-align: center;
        font-size: 24px;

        /*
        background: #4d4d4d;
        */
        background: #343434;

        height: 40px;
        line-height: 40px;
        margin-bottom:40px;

        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;

        font-family: serif;
    }

    .brand-title {
        /*color: #f0eade;*/
        color: #fff;
        position: relative;
        white-space: nowrap;
    }

    .brand-container .text-mini {
        position: absolute;
        left: 100%;
        margin-left: 10px;
    }

    .brand-title:hover {
        color: white;
    }
    .menu-greeting {
        text-align: center;
        font-size: 45px;
        margin-bottom:10px;
    }
    .menu-new {
        text-align: center;
        position: relative;

        transition: height 0.3s ease-in-out; 
        height: auto;
    }
    .menu-new input,
    .menu-new [name='goal'] {
        width: 100%;
        line-height: 26px;
        font-size: 16px;
        border-radius: 10px;
        border: 1px solid #CCC;
        padding: 10px 20px;
        box-sizing: border-box;
    }
    .menu-new input::placeholder,
    .menu-new [name='goal']::placeholder {
        font-size: 12px;
    }
    .menu-new input:focus,
    .menu-new [name='goal']:focus {
        outline: none !important;
    }
    .menu-button-start {
        position:absolute;
        right: 20px;
        bottom: 10px;
        padding: 5px 25px;
        border-radius: 10px;
        border: 1px solid #333;
        cursor: pointer;
        color: #EEF1FB;

        background: #3D4F95;
        border-color: #333;
    }
    .menu-button-start:hover {
        background: #5771D5;
        border-color: #666;
    }
    .menu-intro-container {
        position:relative;
        padding: 25px;
        margin-top: 45px;
        border: 1px solid #5771D5;
        border-radius: 10px;
        background: #ebeae0;
        display: flex;
        flex-direction: row;
        align-content: flex-start;
        justify-content: space-around;
    }
    .menu-intro-title {
        position:absolute;
        padding: 5px;
        left: 20%;
        right: 20%;
        top: -15px;
        text-align: center;
        border: 1px solid #5771D5;
        border-radius: 10px;

        background: #4d4d4d;
        /*color: #f0eade;*/
        color: #fff;
    }
    .menu-intro-item {
        padding: 10px 5px;
        cursor: pointer;
        border-radius: 10px;
        border: 1px solid #0000;
    }
    .menu-intro-item:hover {
        background: #f1efe9;
        border: 1px solid #CCC;
    }
    .menu-intro-item a {
        background: #f7f8fd;
        color: #161C35;
    }
    .menu-intro-item-title {
        text-align: center;
    }
    .menu-intro-item-image {
        text-align: center;
        -background: #ccc;
        width: 150px;
        height:  150px;
        border-radius: 10px;
    }
    .menu-previous {
        border-top: 1px solid #CCC;
        margin-top: 40px;
        position: relative;
        padding-top: 15px;
    }
    .menu-previous-label {
        position: absolute;
        top: -10px;
        left: 40%;
        right: 40%;
        text-align: center;
        background: #f5f4ef;
        padding: 2px 10px;
        color: #666;
        font-size: 80%;
        text-transform: lowercase;
    }
    .menu-previous-label.wide-label {
        left: 20%;
        right: 20%;
        font-weight: bold;
        text-transform: unset;
    }
    .menu-previous-container {

    }
    .menu-previous-item {
        border: 1px solid #CCC;
        margin: 15px auto;
        border-radius: 10px;
        padding: 10px 45px 10px 25px;
        position: relative;
        cursor: pointer;
        display: block;
        color: #161C35;
    }
    .menu-previous-item:hover {
        background: #fff;
        border: 1px solid #5771D5;
    }
    .menu-previous-item-label {

    }
    .menu-previous-item-status {
        position: absolute;
        right: 10px;
        top: 15px;
        font-size:  50%;
    }
    .menu-item-tag {
        position: absolute;
        font-size: 50%;
        background: #3D4F95;
        color: #EEF1FB;
        padding: 2px 10px;
        border-radius: 5px;
        top: -7px;
        left: 10px;
    }
    .menu-item-tag-invert {
        border: solid 1px #5771D5;
        background: #f7f8fd;
        color: #161C35;
    }


/* general ui */
    .floating-container {
        position: fixed;
    }

    .location-top-left {
        top: 0;
        left: 0;
    }

    .location-bottom-right {
        bottom: 0;
        right: 0;
    }

    .orientation-vertical {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
    }

    .dividing {
        border-bottom: 0px solid #f0eade;
    }
    .header {
        font-family: serif;
        text-transform: uppercase;
    }


/* application */

    .application {

    }
    .application > .container {

    }



    .card-collection > .title {
        padding-left: 10px;
        margin-bottom: 7px;
        margin-top: 13px;

        font-family: serif;
        text-transform: uppercase;
    }

    .hub {
        /* min-height: 570px; */
    }

    .card {
        --card-color: #0d5259;
        /*--card-content: #f0eade;*/
        --card-content: #fff;
        --card-height: 450px;
        --card-width: 300px;

        position: relative;
        overflow: hidden;

        width: var(--card-width);
        height: var(--card-height);

        border-radius: 5px;
        transition: all 0.4s cubic-bezier(0.63, 0.15, 0.03, 1.12);
        /*background-color: #f0eade;*/
        background-color: #fff;

        transition-delay: 0.05s;
        margin: 15px;

        /*
        box-shadow: 0 0 0 1px #ddd, 0px -0.3em 0px 0px var(--card-color) inset;
        */

        border: 0px solid var(--card-color);

        display: flex;
        flex-direction: column;
        z-index: 1;
    }
    .card > .descriptor,
    .card > .content {
        padding: 0 10px;
        min-height: 25px;
    }
    .card > * {
        flex-grow: 0;
    }
    .card > .content {
        flex-grow: 1;
        font-size: 14px;
        color: var(--foreground-color);
    }
    .card > .header {
        position: relative;

        /*
        min-height: calc(61% + 30px);
        */
        height: calc(61% + 10px);
        padding: 10px;

        background-color: var(--card-color);
        color: var(--background-color);
    }

    .card > .descriptor .meta {
        color: #AAA;
    }

    .card > .descriptor .title {
        margin-top: 10px;
        font-size: 20px;
        font-weight: bold;
    }
    .card > .handle {
        width: 100%;
        border-bottom: 2px solid #666;
        margin: 10px 0;
        position: relative;
    }
    .card > .handle:after {
        content: "";
        position: absolute;
        left:  40%;
        right: 40%;
        height: 6px;
        background-color: #666;
        margin-top: -2px;
        border-radius: 5px;
    }







.header .content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.header .content-wrapper > * {
    max-width: 100%;
    max-height: 100%;
}
.content-wrapper.content-video video {
    border-radius: 15px;
    border: 2px solid;
    object-fit: cover;
}

.card > .content > .content-line {
    width: 100%;
    margin: 5px;
}

.card > .content > .content-line > .icon {
    min-width:30px;
    margin-right: 5px;
}
.card > .content > .content-line > .text, .card > .content > .content-line > .text * {
    color: var(--foreground-color);
}
.card .header > .content {
    height: 90%;
    width:  100%;
    align-items: center;
    justify-content: center;
}
.card > .header > .content, 
.card > .header > .content * {
    color: var(--background-color);
    font-family: sans-serif;
    text-transform: none;
}







    .card-wrapper {
        position: relative;
    }

    .card-wrapper .external-decorators,
    .card-wrapper .internal-decorators {
        overflow: visible;
    }

    .cards {
        counter-reset: card_sequence;

        display: grid;
        grid-template-rows: 1fr;
        grid-auto-flow: column;
        grid-auto-columns: 345px;
        grid-column-gap: 8px;

        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        transition: 1000ms;

        padding: 0 10px;
        /*
        -justify-content: space-evenly;
        -overflow: visible;
        */
    }
    .cards > div {
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }
    /*
    .cards > .card:first-child {
        -margin-left: 5px;
    }
    .cards > .card:last-child {
        -margin-right: 5px;
    }
    */



    .deck > .card {
        position: absolute;
    }

    .deck {
        position: relative;
        overflow: visible;
    }

    .deck > .tilt-right {
        /*
        transform: rotate(-3deg);
        transform: translateX(-10px) translateY(-10px) rotate(-1deg);
        */

        transform: translateX(-10px) translateY(-10px);
    }

    .deck > .tilt-left {
        /*
        transform: rotate(3deg);
        transform: translateX(10px) translateY(10px) rotate(-1deg);
        */

        transform: translateX(10px) translateY(10px);
    }





    .card > .header > .title {
        /*
        margin-top: 10px;
        */
        font-size: 20px;
        font-weight: bold;
        color: var(--card-content);
        text-align: center;
        font-family: sans-serif;
    }

    .card .controls {
        position: relative;
        /* top: 0; */
        /* left: 0; */
        /* right: 0; */
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-start;
        column-gap: 20px;
        /*
        margin-right: 10px;
        */
        margin-top: -25px;
        z-index: 100;
    }

    .card .control {
        border-radius: 15px;
        height: 50px;
        width: 50px;
        background-color: var(--action-color);
        /*
        box-shadow: 0 0 0 1px #ddd, 0px -0.3em 0px 0px var(--card-color) inset;
        box-shadow: 0 0 0 1px #ddd, 0px -0.3em 0px 0px #ddd inset;
        */
        cursor: pointer;
    }

    .card .control > .label {
        display: none;
    }

    .card .control:hover {
        /*
        box-shadow: 0 0 0 1px #ddd;
        */
    }

    .card .control > .icon {
        display: flex;
        justify-content: center;
        align-items: center;
        align-content: center;
        flex-direction: column;
        width: 100%;
        height: 100%;
    }

    .card .control > .icon img {
        width: 30px;
        height: 30px;
        /*
        margin-top: 10px;
        margin-left: 10px;
        */
    }


    .card > .descriptor .title {
        margin-top: 10px;
        font-size: 20px;
        font-weight: bold;
    }


/* specific cards */
    .card.person-card {
    }
    .card.person-card > .header {
        height: 50%;
        min-height: unset;
        text-align: center;
    }
    .card.person-card > .header > .title {
        margin-top: 20px;
        font-size: 20px;
        font-weight: bold;
        color: white;
        text-align: center;
    }
    .card.person-card > .header .profile-image {
        /* background: linear-gradient(180deg, var(--card-color) 40%, #FFF 40%); */
        padding-top: 50px;
    }
    .card.person-card > .header .profile-image img {
        border-radius: 175px;
        height: calc( 300px * 0.8 );;
        width: calc( 300px * 0.8 );
        object-fit: cover;

        display: block;
        margin-left: auto;
        margin-right:auto;
    }
    .card.person-card > .descriptor {
        margin-top: 50%;
        text-align: center;
    }
    .card.person-card > .descriptor > .title {
        display: none;
    }


    .card.info-card > .header,
    .card.info-card > .meta,
    .card.info-card > .content {
        padding: 10px;
    }


    .card > .header .task-cta {
        text-align: center;
        font-size: 30px;
        color: #FFF9;
        position: absolute;
        top: calc(50% - 15px);
        left: 0;
        right: 0;
        font-family: sans-serif;
        text-transform: none;
    }


    .card.carousel-card {

    }
    .card.carousel-card > .header > .carousel-item.active {
        position: absolute;
        top: 40px;
        left: 10px;
        right: 10px;
        bottom: 40px;
        /*
        background: #fff1;
        */
        border-radius: 15px;
    }





    .card.art-card {
        transition: background 0.5s;
    }

    .card.art-card .image, .card.art-card .header  {
        position: absolute;
        top:0;
        bottom:0;
        left:0;
        right:0;
        
        display: flex;
        justify-content: center;
        align-items: center;

        background-color: var(--background-color);
    }


    .card.art-card .header {
        -bottom: 5px;
    }
    .card.art-card .image {
        overflow: hidden;
        transition: background-color 0.5s;
    }

    .card.art-card .image img {
        margin-left: auto;
        margin-right: auto;
        display: block;
        width: 100%;
        background-size: cover;
        transition: opacity 0.5s;
    }

    .card.art-card .content {
        text-align: center;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .card.art-card .content .title {
        font-size: 32px;
        font-weight: bold;

        margin-top: 15px;
        color: #161C35;

        text-transform: uppercase;
        transition: color 0.1s;
    }
    .card.art-card .content .subtext {
        width: 100%;
        color: #666;
    }

    .card.art-card.card-small .content {
        left: 0px;
        right: 0px;
        top: 0;
        /*
        display: block;
        */

        display: flex;
        align-items: center;
        justify-content: center;
    }
    .card.art-card.card-small .content .title {
        font-size: 18px;
        padding-bottom: 10px;

        font-family: serif;
        letter-spacing: 1px;
        font-weight: normal;
    }
    .card.art-card.card-small .content .subtext {
        font-size: 14px;
    }

    .card.art-card.selected .image img {
        opacity: 0;
    }

    .card.art-card.selected .image {
        background-color: var(--card-color);
    }

    .card.art-card.selected .content .title {
        color: var(--background-color);
    }


.no-scroll-snap {
    scroll-snap-type: none;
}
/*
.application > .container.module-container .hub.card-collection > .cards .card-wrapper:first-child > .card > .header > .title {
    display: none;
}
*/

.application > .container.header-title > .header.standalone {
    position: fixed;
    left: 0;
    right: 0;
    top: 26px;
    text-align: center;
    padding: 10px 0;
    font-weight: normal;
    font-size: 16px;
    cursor: pointer;
    z-index: 999;

    border-top: 2px solid #4d4d4d;
}


    .card-overview {
        display: inline-block;
    }

    .deck-menu .menu {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 3px;
        justify-content: space-around;
        padding-top: 10px;
    }
    .deck-menu .menu .card.card-small {
        position: relative;
        /* top: -6px; */
        /* right: -6px; */
        border: 5px solid var(--card-color);
        background-color: var(--card-content);
    }

    .shadow-card {
        position: absolute;
        top: 0px;
        left: 0px;
        
        height: 450px;
        width: 300px;

        border: 4px solid var(--card-color);
        background-color: var(--card-content);

        z-index: 0;
        opacity: 0.6;
        border-radius: 5px;
    }

    .shadow-card:last-child {
        bottom: 0px;
        right: 0px;
        left: unset;
        top: unset;
        opacity: 0.2;
    }

@media only screen and (orientation: portrait) and (max-width: 767.98px) {
    .brand-title .text-mini {
        display: none;
    }
    .workspace {
        position: fixed;
        top: 40px;
        bottom: 12px;
        left: 0;
        right: 0;
        padding: 0;
    }
    .hub {
        padding-top: 7px;
    }
    .card {
        --card-height: 67vh;
        --card-width: 80vw;
    }
    .module-container .card {
        margin-top: 3px;
        margin-bottom: 7px;
    }
    .cards {
        grid-auto-columns: 88vw;
        scroll-snap-align: end;
    }

    .application > .container {
        overflow-y: scroll;
        scroll-snap-type: y mandatory;
        transition: 1000ms;

        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        padding-bottom: 10px;
    }
    .application > .container .hub {
        scroll-snap-align: center;
        scroll-snap-stop: always;
        min-height: unset;
        padding-bottom: 10px;
    }
    .application > .container.no-scroll-snap {
        scroll-snap-type: none;
        padding-bottom: 20px;
        padding-top: 30px;
    }
    .application > .container.header-title {
        padding-top: 50px;
    }
    .application > .container.header-title > .header.standalone {
        position: fixed;
        top: 0;
        padding: 3px 0;
        font-size: 14px;
        margin-top: 40px;
    }
}


@media only screen and (orientation: portrait) and (max-width: 767.98px) {
    .card.card-small {
        /*
        width: 40vw;
        height: 64vw;
        */
        width: 85vw;
        height: 10vh;
        margin: 10px;

        border: 5px solid var(--card-color);
        background-color: var(--card-content);
    }

    .shadow-card {
        /*
        width: 41vw;
        height: 64vw;
        */
        width: 85vw;
        height: 10vh;
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    ::-webkit-scrollbar {
        display: none;
    }

    /* Hide scrollbar for IE, Edge and Firefox */
    .html {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

}


.floating-container {
    position: fixed;
    bottom: 23px;
    right: 15px;
    background-color: var(--background-color);
    border: 3px solid var(--foreground-color);

    background-image: url(https://cdn.thrive.teamoptix.com/static/img/icon/action_closed.png);
    background-position: center;
    background-size: cover;
}

.floating-container.active {
    background-color: var(--action-color);
    border-color: var(--action-color);

    background-image: url(https://cdn.thrive.teamoptix.com/static/img/icon/action_open.png);
}

.floating-container .container {
    display: none;
}

.floating-container.active .container {
    display: flex;
    position: absolute;
    bottom: 65px;
    flex-direction: column;
    gap: 10px;
    color: var(--foreground-color);
}

.floating-container.active .container:before {
    content: " ";
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: -5px;
    right: -5px;
    border-radius: 15px;
    background-color: var(--background-color);
    /*
    border: 1px solid var(--foreground-color);
    */
    opacity: 0.8;
}

.button-wrapper {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.button-wrapper > .label {
    text-align: center;
    margin-top: 2px;
    /*
    font-weight: bold;
    */
    font-size: 14px;
}

.button {
    border-radius: 15px;
    height: 44px;
    width: 44px;
    background-color: var(--background-color);
    /*
    border: 3px solid var(--foreground-color);
    */
    border: 3px solid #343434;
    cursor: pointer;
    z-index: 9;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 10px;
}

.button > .label {
    display: none;
}

.button > .icon {
    background-position: center;
    background-size: cover;
    height: 75%;
    width: 75%;
}

.button.add_icon .icon {
    background-image: url(https://cdn.thrive.teamoptix.com/static/img/icon/add.png);
}
.button.chat_icon .icon {
    background-image: url(https://cdn.thrive.teamoptix.com/static/img/icon/chat.png);
}
.button.alert_icon .icon {
    background-image: url(https://cdn.thrive.teamoptix.com/static/img/icon/alert.png);
}
.button.modules_icon .icon {
    background-image: url(https://cdn.thrive.teamoptix.com/static/img/icon/modules.png);
}

.button.add_icon:hover .icon {
    background-image: url(https://cdn.thrive.teamoptix.com/static/img/icon/add_active.png);
}
.button.chat_icon:hover .icon {
    background-image: url(https://cdn.thrive.teamoptix.com/static/img/icon/chat_active.png);
}
.button.alert_icon:hover .icon {
    background-image: url(https://cdn.thrive.teamoptix.com/static/img/icon/alert_active.png);
}
.button.modules_icon:hover .icon {
    background-image: url(https://cdn.thrive.teamoptix.com/static/img/icon/modules_active.png);
}


.floating-container > .container > .button {
    margin-bottom: 20px;
}

.control:hover {
    background-color: #ff4e11;
}

.floating-container .button:hover {
    background-color: var(--action-color);
    border-color: var(--action-color);
}






.control {
   -webkit-transition: top 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, right 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, background-color 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0s, margin 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s;
   -moz-transition: top 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, right 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, background-color 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0s, margin 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s;
   -o-transition: top 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, right 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, background-color 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0s, margin 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s;
   -ms-transition: top 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, right 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, background-color 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0s, margin 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s;
   transition: top 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, right 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, background-color 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0s, margin 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s;
}






.action-content {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background: var(--action-color);
    padding: 10px;
    font-family: sans-serif;
    text-align: center;
}

.action-content.active {
    opacity: 1;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;

    animation: circular-wipe 0.3s forwards;
}

.card.control-active .control {
    display: none;
}

.card.control-active .control.active {
    position: absolute;
    top: calc(-41vh);
    left: 0;
    display: block;
    background: none;
}

.card.control-active .control.active > * {
    display: none;
}

.card.control-active .control.active:after {
    content: "<";
    color: var(--background-color);
    height: 50px;
    width: 50px;
    z-index: 9999999;
    font-size: 34px;
}

@keyframes circular-wipe {
    0% {
        transform: scale(0);
        opacity: 0;
        border-radius: 100%;
    }
    50% {
        border-radius: 80%;
    }
    100% {
        transform: scale(1);
        opacity: 1;
        border-radius: 0;
    }
}


.action-content > * {
    max-height: 100%;
    max-width: 100%;
}

.slider-container {
    height: 100%;
    width: 100%;
}

.slider-container > .slider-image {
    height: 75%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.slider-container > .slider-image img {
    max-width: 100%;
    max-height: 70%;
}

.slider-container .slider-control {
    margin: 5px 0;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.slider-control input[type="range"] {
    width: 100%;
    margin: 0;
    padding: 0;
}

.control.active:hover {
    background-color: var(--action-color);
}








input[type="range"] {
  --g: 8px; /* the gap */
  --l: 5px; /* line thickness*/
  --s: 30px; /* thumb size*/
  
  width: 400px;
  height: var(--s); /* needed for Firefox*/
  --_c: color-mix(in srgb, var(--foreground-color), #000 var(--p,0%));
  -webkit-appearance :none;
  -moz-appearance :none;
  appearance :none;
  background: none;
  cursor: pointer;
  overflow: hidden;
}
input:focus-visible,
input:hover{
  --p: 25%;
}
input:active,
input:focus-visible{
  --_b: var(--s)
}
/* chromium */
input[type="range" i]::-webkit-slider-thumb{
  height: var(--s);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 var(--_b,var(--l)) inset var(--_c);
  border-image: linear-gradient(90deg,var(--_c) 50%, var(--background-color) 0) 0 1/calc(50% - var(--l)/2) 100vw/0 calc(100vw + var(--g));
  -webkit-appearance: none;
  appearance: none;
  transition: .3s;
}
/* Firefox */
input[type="range"]::-moz-range-thumb {
  height: var(--s);
  width: var(--s);
  background: none;
  border-radius: 50%;
  box-shadow: 0 0 0 var(--_b,var(--l)) inset var(--_c);
  border-image: linear-gradient(90deg,var(--_c) 50%, var(--background-color) 0) 0 1/calc(50% - var(--l)/2) 100vw/0 calc(100vw + var(--g));
  -moz-appearance: none;
  appearance: none;
  transition: .3s;
}
@supports not (color: color-mix(in srgb,red,red)) {
  input {
    --_c: var(--foreground-color);
  }
}


.action-content.active > .control {
    display: unset;
    border: 3px solid var(--foreground-color);
    height: 40px;
    width: 40px;
    position: absolute;
    bottom: -25px;
    right: 10px;
}

.action-content.active .control > .icon img {
    width: 25px;
    height: 25px;
    /*
    margin-top: 8px;
    margin-left: 8px;
    */
}
.card > .content > .content-header {
    margin-top: -27px;
    padding-bottom: 6px;
    font-weight: bold;
    font-size: 18px;
}