@charset "UTF-8";

:root {
  --clr-orange: #ff8e63;
  --clr-blue: #63D4FF;
  --clr-light-blue: #2c649d;
  --clr-dark-blue: #1a4f87;
  --clr-beige: #f8f0e4;
  --clr-gray: #2e3030;
  --clr-primary: #212121;
  --clr-primary-rgb: 33, 33, 33;
  --clr-secondary: #2d2d2d;
  --clr-secondary-rgb: 45, 45, 45;
  --clr-wt-bl: #ffffff;
  /* --clr-primary: #eeeeee;
  --clr-primary-rgb: 238, 238, 238;
  --clr-secondary: #d3d6d6;
  --clr-secondary-rgb: 227, 230, 230;
  --clr-wt-bl: #000000; */
  --filter-orange: invert(74%) sepia(19%) saturate(3703%) hue-rotate(317deg) brightness(102%) contrast(101%);
  --filter: invert(1);
  --radius-outer: 1.2rem;
  --radius-inner: 1rem;
  --radius-small: 0.8rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

html {
    font-size: calc(11px + 0.2vw);
}

.input-hidden {
    width: 0;
    height: 0;
    display: none;
    opacity: 0;
}

input, select, 
input:active, select:active, 
input:hover, select:hover, 
input:focus, select:focus {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
input:-internal-autofill-selected {
    background-color: transparent !important;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 100%;
    background-color: var(--clr-primary);
    color: var(--clr-wt-bl);
    margin: 0;
    padding: 0;
}

.dataTables_filter {
    display: none;
}

table.dataTable thead th {
    position: relative;
}

table.dataTable thead .sorting_asc::after {
    content: "";
    width: 0.9rem;
    height: 0.9rem;
    top: 50%;
    right: 2.2rem;
    transform: translateY(-50%);
    position: absolute;
    display: inline-block;
    background-image: url("../icons/sort_asc.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    filter: var(--filter);
    opacity: 0.5;
}
 
table.dataTable thead .sorting_desc::after {
    content: "";
    width: 0.9rem;
    height: 0.9rem;
    top: 50%;
    right: 2.2rem;
    transform: translateY(-50%);
    position: absolute;
    display: inline-block;
    background-image: url("../icons/sort_desc.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    filter: var(--filter);
    opacity: 0.5;
}
 
table.dataTable thead .sorting::after {
    content: "";
    width: 0.9rem;
    height: 0.9rem;
    top: 50%;
    right: 2.2rem;
    transform: translateY(-50%);
    position: absolute;
    display: inline-block;
    background-image: url("../icons/sort.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    filter: var(--filter);
    opacity: 0.5;
}
 
table.dataTable thead .sorting_asc_disabled::after {
    content: "";
    width: 0.9rem;
    height: 0.9rem;
    top: 50%;
    right: 2.2rem;
    transform: translateY(-50%);
    position: absolute;
    display: inline-block;
    background-image: url("../icons/sort_dis.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    filter: var(--filter);
    opacity: 0.5;
}
 
table.dataTable thead .sorting_desc_disabled::after {
    content: "";
    width: 0.9rem;
    height: 0.9rem;
    top: 50%;
    right: 2.2rem;
    transform: translateY(-50%);
    position: absolute;
    display: inline-block;
    background-image: url("../icons/sort_dis.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    filter: var(--filter);
    opacity: 0.5;
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 2rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.3rem 0.6rem;
    margin: 1rem 0.2rem;
    border-radius: var(--radius-inner);
    color: var(--clr-beige);
    border: solid var(--clr-beige) 0.1rem;
    opacity: 0.4;
    font-family: 'Rethink Sans', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: var(--clr-beige);
    color: var(--clr-primary);
    opacity: 1;
    transition: all 0.2s ease-out;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    padding: 0.2rem 0.5rem;
    margin: 1.1rem 0.3rem;
    transition: all 0.2s ease-out;
}

.dataTables_wrapper .dataTables_paginate .current {
    opacity: 1;
    position: relative;
}

.dataTables_wrapper .dataTables_paginate .current::after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: var(--radius-inner);
    opacity: 0.1;
    background-color: var(--clr-beige);
}



/*- BUTTONS & ICONS -*/
.icn {
    filter: var(--filter);
}

.search-icn {
    width: 2.4rem;
    height: 2.4rem;
    padding: 0.6rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.search-icn img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    filter: var(--filter);
}

.search-icn:hover {
    background-color: var(--clr-secondary);
    transition: all 0.2s ease-out;
}

.search-icn:hover img {
    filter: var(--filter-orange);
}

.search-icn:active {
    transform: scale(0.96);
    transition: all 0.2s ease-out;
}

.small-btn {
    margin: 0 0.4rem 0 0;
    padding: 0.3rem 1rem;
    text-align: center;
    display: inline-block;
    border: solid var(--clr-beige) 0.1rem;
    border-radius: var(--radius-inner);
    color: var(--clr-beige);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.small-btn:hover {
    background-color: var(--clr-beige);
    color: var(--clr-gray);
    transition: all 0.2s ease-out;
}

.small-btn:active {
    transform: scale(0.96);
    transition: all 0.2s ease-out;
}

.delete-sm-btn, .save-sm-btn, .save-group-btnp-btn, .save-group-btn {
    border: solid var(--clr-orange) 0.1rem;
    color: var(--clr-orange);
    transition: all 0.2s ease-out;
}

.delete-sm-btn:hover, .save-sm-btn:hover, .delete-group-btn:hover, .save-group-btn:hover {
    color: var(--clr-primary);
    background-color: var(--clr-orange);
    transition: all 0.2s ease-out;
}

.add-sm-btn {
    border: solid var(--clr-blue) 0.1rem;
    color: var(--clr-blue);
}

.add-sm-btn:hover {
    color: var(--clr-primary);
    background-color: var(--clr-blue);
}

.more {
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.more:hover {
    opacity: 0.6;
    transition: all 0.2s ease-out;
}



/*- NAVIGATION -*/
nav {
    height: 4rem;
    width: calc(100% - 2.4rem);
    margin: 0 auto;
    display: flex;
    align-items: center;
    font-family: 'Rethink Sans', sans-serif;
}

nav img, .side-nav img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
    min-height: 100%;
    min-width: 100%;
}

.nav-logo {
    height: 2.2rem;
    width: 9rem;
    margin: 1rem 2.3rem 2rem;
}

.nav-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.nav-menu {
    /* display: flex; */
    margin: auto auto auto 1.4rem;
}

.nav-menu-item {
    margin: 0.8rem 1.2rem;
    cursor: pointer;
}

.nav-right {
    display: flex;
    align-items: center;
    margin: auto 0 auto auto;
}

.nav-notifications {
    height: 1.2rem;
    width: 1.2rem;
    margin: 0 1.2rem 0 0;
    border-radius: 50%;
    cursor: pointer;
}

.nav-notifications img {
    object-fit: contain;
}

.nav-profile {
    height: 2.2rem;
    width: 2.2rem;
    border-radius: 50%;
    background-color: var(--clr-dark-blue);
    overflow: hidden;
    cursor: pointer;
}

.side-nav {
    width: 14.6rem;
    height: 100%;
    margin: 0.2rem auto auto 1.2rem;
    position: absolute;
    top: -0.2rem;
    left: -1.2rem;
    padding: 1.4rem 0;
    display: flex;
    flex-direction: column;
    background-color: var(--clr-secondary);
    /* border-radius: var(--radius-outer); */
    font-family: 'Rethink Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.2s ease-out;
}

.side-nav-bottom {
    margin: auto 0 0;
}

.side-nav .active {
    /* color: var(--clr-orange); */
    opacity: 1;
    transition: all 0.2s ease-out;
}

/* .side-nav .active:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: var(--radius-small);
    border: solid var(--clr-orange) 0.1rem;
    transition: all 0.2s ease-out;
} */

.side-nav .active img {
    filter: var(--filter-orange);
}

.side-nav-item {
    margin: 0.4rem 1rem;
    padding: 0.6rem 1.6rem;
    display: flex;
    align-items: center;
    border-radius: var(--radius-small);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease-out;
    opacity: 0.4;
}

/* .side-nav-item:hover:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: var(--radius-small);
    border: solid var(--clr-beige) 0.1rem;
    transition: all 0.2s ease-out;
} */

.side-nav-item:hover {
    opacity: 0.8;
    transition: all 0.2s ease-out;
}

.side-nav .active:hover {
    color: var(--clr-beige);
    transition: all 0.2s ease-out;
}

.side-nav .active:hover .icn {
    /* filter: var(--filter); */
    transition: all 0.2s ease-out;
}

.side-nav-item img {
    height: 1.2rem;
    width: 1.2rem;
    min-width: auto;
    min-height: auto;
    margin-right: 0.8rem;
}



/*- MAIN -*/
main {
    width: auto;
    height: calc(100vh - 4.8rem);
    margin: 2.4rem 2.4rem 2.4rem 17rem;
    overflow: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

main::-webkit-scrollbar {
    display: none;
}

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



/*- LOGIN -*/
.login-main-container {
    height: 100%;
    width: 100%;
    border-radius: var(--radius-outer);
    background-image: url("../icons/login.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
    background-color: var(--clr-primary);
    opacity: 0.4;
}

.login-container {
    width: 24rem;
    height: 36rem;
    margin: auto;
    padding: 4rem 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--radius-outer);
    background-color: var(--clr-secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.login-container .title {
    margin-bottom: 2rem;
    font-size: 2rem;
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 500;
}

.login-input-container {
    width: 100%;
    margin: 1rem;
    position: relative;
}

.login-input-container input {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: transparent;
    border: solid var(--clr-wt-bl) 0.1rem;
    outline: none;
    border-radius: var(--radius-small);
    color: var(--clr-wt-bl);
    font-size: 1rem;
}

.login-input-container label {
    padding: 0.1rem 0.4rem;
    top: -0.7rem;
    left: 0.8rem;
    position: absolute;
    background-color: var(--clr-secondary);
    color: var(--clr-beige);
    font-size: 0.8rem;
}

.login-container .more {
    margin: 0 auto 3rem;
    font-size: 0.9rem;
    text-align: center;
}

.login-btns {
    width: 100%;
    margin: 1rem 1rem 0;
}

.login-btns>* {
    width: 100%;
    margin: 0.4rem 0;
    padding: 0.5rem 1rem;
}

.login-btn {
    padding: 0.4rem 1rem 0.5rem;
    font-size: 1rem;
    background-color: var(--clr-beige);
    color: var(--clr-primary);
}

.login-btn:hover {
    background-color: var(--clr-orange);
    border: solid var(--clr-orange) 0.1rem;
}

.login-container a {
    display: block;
    text-align: center;
    cursor: pointer;
}



/*- DASHBOARD -*/
.dash {
    height: 100%;
    display: flex;
}

.dash-cont-left {
    width: auto;
    height: 100%;
    margin-right: 1.2rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.dash-cont-right {
    width: 56%;
    min-width: 52rem;
    position: relative;
}

.dash-nav {
    width: 100%;
    margin-bottom: 1.2rem;
    padding: 2rem 0.4rem;
    border-radius: var(--radius-outer);
    display: flex;
    justify-content: center;
    background-color: var(--clr-secondary);
    font-size: 1.1rem;
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease-out;
}

.dash-nav .active {
    color: var(--clr-orange);
    border-bottom: solid var(--clr-orange) 0.1rem;
    transition: all 0.2s ease-out;
}

.dash-nav-item {
    margin: 0 1rem;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.dash-nav-item:hover {
    opacity: 0.6;
    border-bottom: solid var(--clr-wt-bl) 0.1rem;
    transition: all 0.2s ease-out;
}

.dash-nav .active:hover {
    color: var(--clr-beige);
    border-bottom: solid var(--clr-orange) 0.1rem;
    opacity: 1;
    transition: all 0.2s ease-out;
}

.dash-map-view {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-outer);
    position: relative;
    flex: 1 1 auto;
    background-color: var(--clr-secondary);
}

.dash-map-view-item {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.dash-map-view .active {
    opacity: 0.8;
    pointer-events: all;
}

.dash-map-view-item iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-outer);
}

.dash-view {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    border-radius: var(--radius-outer);
    background-color: var(--clr-secondary);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.dash-cont-right .active {
    opacity: 100%;
    pointer-events: all;
}

.dash-info-view {
    width: 100%;
    position: relative;
    flex: 1 1 auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-outer);
}

.dash-info-bg-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgb(0,0,0);
    background: linear-gradient(15deg, rgba(0,0,0,1) 0%, rgba(255,255,255,0) 44%, rgba(255,255,255,0) 100%);
    border-radius: var(--radius-outer);
}

.dash-info-view-text {
    position: absolute;
    right: 1.2rem;
    left: 1.2rem;
    bottom: 1.8rem;
    line-height: 1rem;
}

.dash-info-view-name {
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 600;
    font-size: 1.7rem;
    line-height: 2rem;
}

.dash-info-view-description, .dash-info-view-location {
    font-weight: 300;
    line-height: 1.4rem;
}

.dash-weather-view {
    width: auto;
    margin: 1.2rem 1.2rem 1.2rem;
    padding: 1.2rem 1.6rem;
    display: flex;
    align-items: center;
    background-color: var(--clr-dark-blue);
    background: linear-gradient(55deg, #000 -90%, var(--clr-dark-blue) 10%, var(--clr-light-blue) 86%, #fff 200%);
    border-radius: var(--radius-inner);
}

.dash-weather-temperature {
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 500;
    font-size: 1.7rem;
    line-height: 1.5rem;
}

.dash-weather-status {
    margin-bottom: 0.8rem;
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.5rem;
}

.dash-weather-humidity, .dash-weather-wind {
    font-size: 0.9rem;
}

.dash-weather-wrapper-right {
    height: 5rem;
    width: 5rem;
    margin-left: 3.2rem;
}

.dash-weather-wrapper-right img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.dash-users-view {
    width: calc(100% - 2.4rem);
    margin: 0 1.2rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--clr-primary);
    border-radius: var(--radius-inner);
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 500;
}

.dash-users-active {
    height: 10rem;
    width: 10rem;
    margin: 1.8rem;
    position: relative;
    border-radius: 50%;
}

.dash-users-center {
    height: 6.6rem;
    width: 6.6rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--clr-primary);
    line-height: 1.1rem;
}

.dash-users-active-of {
    font-size: 1.7rem;
    line-height: 1.9rem;
}

.dash-users-table {
    flex: 1 1 auto;
    margin-right: 1.2rem;
    font-weight: 400;
    color: var(--clr-beige);
}

.dash-user-row {
    margin: 0rem 0;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-small);
    display: flex;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.dash-user-row:hover {
    background-color: var(--clr-secondary);
    transition: all 0.2s ease-out;
}

.dash-user-cl {
    flex: 1 1 25%;
    padding: 0 0.6rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.dash-user-row .more {
    flex: 0 0 auto;
}

.dash-user-active-dot {
    margin-right: 0.2rem;
    display: inline-block;
}

.dash-journal-view {
    width: calc(100% - 2.4rem);
    margin: 0 1.2rem 1.2rem;
    padding: 1.6rem 2.2rem;
    display: flex;
    background-color: var(--clr-primary);
    border-radius: var(--radius-inner);
}

.dash-journal-wrapper-left {
    width: 10.8rem;
    margin: 0.1rem 1rem 0 1.2rem;
    line-height: 1.6rem;
}

.dash-journal-company-name, .dash-journal-company-job {
    font-size: 0.9rem;
    line-height: 1.6rem;
    font-weight: 300;
    color: var(--clr-beige);
}

.dash-journal-wrapper-right {
    width: calc(100% - 12rem);
}

.dash-journal-title {
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
}

.dash-journal-input {
    color: var(--clr-beige);
    font-weight: 400;
    line-height: 1.6rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dash-journal-buttons {
    margin: 1.6rem -0.4rem 0;
    display: flex;
}

.dash-camera-view {
    width: calc(100% - 1.2rem);
    margin: 0 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    border-radius: var(--radius-inner);
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 500;
    overflow: hidden;
}

.dash-camera-view-item {
    width: calc((100%/3) - 1.2rem);
    margin: 0 0.6rem;
    border-radius: var(--radius-inner);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease-out;
}

.dash-camera-view-item video {
    width: 100%;
    height: auto;
}

.dash-camera-view-item:hover::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    border-radius: var(--radius-inner);
    opacity: 0.6;
    background-color: var(--clr-primary);
    background-image: url('../icons/focus.png');
    background-size: 30%;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.2s ease-out;
}



/*- CONSTRUCTORS -*/
.cnst {
    margin: 0 -0.6rem;
    display: flex;
    flex-wrap: wrap;
}

.cnst-cont {
    margin: 0 0.6rem 1.2rem;
    padding: 1.6rem 2.2rem 1.6rem 1.6rem;
    background-color: var(--clr-secondary);
    border-radius: var(--radius-outer);
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 500;
}

.cnst-item-img {
    width: 8rem;
    height: 8rem;
    margin: 0 0 1.8rem;
    border-radius: var(--radius-inner);
    overflow: hidden;
    background-color: var(--clr-primary);
}

.cnst-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cnst-item-icn {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0 0.6rem 0 0;
    display: inline-block;
    filter: var(--filter);
}

.cnst-item-name {
    font-size: 1.4rem;
}

.cnst-item-job {
    margin-bottom: 2.2rem;
}

.cnst-item-contact {
    margin: 1.2rem 0;
    display: flex;
    align-items: center;
}

.cnst-item-contact >* {
    display: flex;
    justify-content: center;
}

.cnst-item-companynr {
    margin-top: 2.2rem;
}

.cnst-item-vat, .cnst-item-trr, .cnst-item-companynr {
    margin-bottom: 0.2rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
}

.cnst-item-btns {
    margin: 2.2rem -0.2rem 0;
    display: flex;
}

.add-cnst {
    padding-left: 2.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.2s ease-out;
}

.add-cnst:hover {
    background-color: var(--clr-beige);
    color: var(--clr-primary);
    transition: all 0.2s ease-out;
}

.add-cnst:active {
    opacity: 0.6;
    transform: scale(0.96);
    font-size: 1.1rem;
    transition: all 0.2s ease-out;
}



/*- WORKERS -*/
.cnst-lst {
    max-width: 100%;
    overflow-x: scroll;
    margin-bottom: 1rem;
    padding-bottom: 0.2rem;
    display: flex;
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 500;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cnst-lst::-webkit-scrollbar {
    display: none;
}

.cnst-lst-item {
    width: auto;
    white-space: nowrap;
    padding: 1.4rem;
    margin: 0 1.2rem 0 0;
    display: flex;
    align-items: center;
    background-color: var(--clr-secondary);
    border-radius: var(--radius-outer);
    cursor: pointer;
    position: relative;
    scroll-snap-align: start;
    transition: all 0.2s ease-out;
}

.cnst-lst-img {
    height: 5rem;
    width: 5rem;
    margin-right: 1.2rem;
    overflow: hidden;
    background-color: var(--clr-primary);
    border-radius: var(--radius-inner);
}

.cnst-lst-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cnst-lst-name {
    font-size: 1.2rem;
    line-height: 1.4rem;
}

.cnst-lst-job {
    font-size: 0.8rem;
    color: var(--clr-beige);
    opacity: 0.8;
}

.cnst-lst-item input {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.cnst-lst-item:has(input:hover) {
    background-color: rgba(var(--clr-secondary-rgb), 0.5);
    transition: all 0.2s ease-out;
}

.cnst-lst-item:has(input:active) {
    transform: scale(0.96);
    transition: all 0.2s ease-out;
}

.cnst-lst-item:has(input:checked):after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: var(--radius-outer);
    border: solid var(--clr-orange) 0.1rem;
    pointer-events: none;
    transition: all 0.2s ease-out;
}

.users-view, .jrnl-view, .plans-view {
    display: flex;
    align-items: flex-start;
    /* flex-wrap: wrap; */
    max-height: calc(100vh - 14rem);
    margin-bottom: 1.2rem;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.users-view::-webkit-scrollbar, .jrnl-view::-webkit-scrollbar, .plans-view::-webkit-scrollbar {
    display: none;
}

.users-action-cont, .users-data-cont {
    display: flex;
    flex-direction: column;
}

.users-action-items {
    width: calc(12rem + 4.4rem);
    margin: 1.2rem 1.2rem 0 0;
}

.users-active-cont {
    margin: 0 1.2rem 0 0;
    background-color: var(--clr-secondary);
    border-radius: var(--radius-outer);
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 500;
}

.user-active-hours-visual {
    height: 12rem;
    width: 12rem;
    margin: 4rem auto;
    position: relative;
    border-radius: 50%;
}

.user-active-graph-center {
    height: 7rem;
    width: 7rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--clr-primary);
    color: var(--clr-beige);
    line-height: 1.1rem;
}

.user-active-hours-in {
    width: auto;
    margin: 2.4rem 1.2rem;
    font-family: 'Rethink Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.users-active-title {
    margin: 2.2rem 0 2rem;
    text-align: center;
}

.users-active {
    height: 12rem;
    width: 12rem;
    margin: 0 2.2rem 2.8rem;
    position: relative;
    border-radius: 50%;
}

.users-center {
    height: 7rem;
    width: 7rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--clr-primary);
    color: var(--clr-beige);
    line-height: 1.1rem;
}

.users-active-of {
    font-size: 1.7rem;
    line-height: 1.9rem;
}

.users-table-cont, .jrnl-table-cont, .plans-table-cont {
    width: 100%;
    /* width: calc(100% - 17.6rem); */
    padding: 2.2rem;
    border-radius: var(--radius-outer);
    background-color: var(--clr-secondary);
}

.users-table, .jrnl-table, .plans-table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    text-align: left;
    table-layout: fixed;
}

.users-table th, .jrnl-table th, .plans-table th {
    padding: 1.2rem 0.8rem;
    background-color: var(--clr-primary);
    cursor: pointer;
}

.users-table th:first-of-type, .users-table td:first-of-type, .jrnl-table th:first-of-type, .jrnl-table td:first-of-type, .plans-table th:first-of-type, .plans-table td:first-of-type {
    border-radius: var(--radius-inner) 0 0 var(--radius-inner);
    margin-right: -1px;
}

.users-table th:last-of-type, .users-table td:last-of-type, .jrnl-table th:last-of-type, .jrnl-table td:last-of-type, .plans-table th:last-of-type, .plans-table td:last-of-type {
    /* width: 14.6rem; */
    border-radius: 0 var(--radius-inner) var(--radius-inner) 0;
    margin-left: -1px;
}

.users-table td, .jrnl-table td, .plans-table td {
    font-size: 0.9rem;
    padding: 1.2rem 0.8rem;
    border-bottom: solid 1px var(--clr-beige);
}

.users-table .small-btn, .jrnl-table .small-btn, .plans-table .small-btn {
    font-size: 0.8rem;
    margin-right: 0;
    margin-left: 0.6rem;
    padding: 0.3rem 0.6rem;
    float: right;
}

.users-table input, .jrnl-table input, .plans-table input {
    color: var(--clr-wt-bl);
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-family: 'Open Sans', sans-serif;
}

.users-table .search, .jrnl-table .search, .plans-table .search {
    height: 2.4rem;
    width: 2.4rem;
    padding: 0 0.8rem;
    float: right;
    border-radius: 1.2rem;
    background-color: var(--clr-secondary);
    transition: all 0.2s ease-out;
}


.users-table .search-icn:hover + .search, .jrnl-table .search-icn:hover + .search, .plans-table .search-icn:hover + .search {
    background-color: var(--clr-secondary);
    transition: all 0.2s ease-out;
}

.users-table .search-icn:hover, .jrnl-table .search-icn:hover, .plans-table .search-icn:hover {
    background-color: transparent;
}

.users-table .search-icn, .jrnl-table .search-icn, .plans-table .search-icn {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.users-table .search-icn:active, .jrnl-table .search-icn:active, .plans-table .search-icn:active {
    transform: scale(0.9) translateY(-50%);
    transition: all 0.2s ease-out;
}

.users-table .search-icn:active + .search, .jrnl-table .search-icn:active + .search, .plans-table .search-icn:active + .search {
    transform: scale(0.9);
    transition: all 0.2s ease-out;
}

.users-table td img {
    width: 2.4rem;
    height: 2.4rem;
    margin-top: 0.3rem;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.users-table th:first-of-type {
    width: 3.2rem !important;
}

.user-item-img img {
    background-color: var(--clr-primary);
}

.users-activity-cont {
    width: 100%;
    /* width: calc(100% - 17.6rem); */
    height: auto;
    padding: 2.2rem 2.2rem 1.6rem;
    margin: 1.2rem 0 0 0;
    border-radius: var(--radius-outer);
    background-color: var(--clr-secondary);
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.activity-graph-data {
    width: calc(100% - 3.2rem);
    margin: 0 auto;
    padding: 1.4rem 1.6rem 1rem;
    display: flex;
    justify-content: space-between;
    color: var(--clr-beige);
}

.activity-graph-data-day {
    width: calc(100% / 10 - 4.8rem);
    min-width: 4.8rem;
    height: 0;
    margin: auto auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-inner);
    background-color: var(--clr-orange);
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.activity-graph-axis {
    width: calc(100% - 3.2rem);
    margin: 0 auto;
    padding: 1.6rem 1.6rem 0;
    display: flex;
    justify-content: space-between;
    border-top: solid 0.1rem var(--clr-beige);
    color: var(--clr-beige);
}

.activity-graph-day {
    width: 6rem;
    margin: auto;
    text-align: center;
}



/*- JOURNAL -*/
.jrnl, .plans {
    height: 100%;
}

.jrnl-nav, .plans-nav {
    width: 100%;
    margin-bottom: 1.2rem;
    padding: 2rem 1.4rem;
    border-radius: var(--radius-outer);
    display: flex;
    justify-content: flex-start;
    background-color: var(--clr-secondary);
    font-size: 1.1rem;
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease-out;
}

.jrnl-nav .active, .plans-nav .active {
    color: var(--clr-orange);
    border-bottom: solid var(--clr-orange) 0.1rem;
    transition: all 0.2s ease-out;
}

.jrnl-nav-item, .plans-nav-item {
    margin: 0 1rem;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.jrnl-nav-item:hover, .plans-nav-item:hover {
    opacity: 0.6;
    border-bottom: solid var(--clr-wt-bl) 0.1rem;
    transition: all 0.2s ease-out;
}

.jrnl-nav .active:hover, .plans-nav .active:hover {
    color: var(--clr-beige);
    border-bottom: solid var(--clr-orange) 0.1rem;
    opacity: 1;
    transition: all 0.2s ease-out;
}

.jrnl-view, .plans-view {
    display: none;
    opacity: 0;
}

.jrnl .active, .plans .active {
    display: flex;
    opacity: 1;
}

.jrnl-table-cont, .plans-table-cont {
    width: calc(100% - 24.4rem);
}

.jrnl-action-items, .plans-action-items {
    width: 20rem;
    margin: 0 1.2rem 0 0;
}

.user-action-items {
    width: 16rem;
    margin: 1rem 2.2rem;
}

.jrnl-add-btn, .plans-add-btn, .users-add-btn, .user-add-btn {
    margin: 0;
    padding: 2.8rem 3.2rem;
    background-color: var(--clr-secondary);
    border-radius: var(--radius-outer);
    border: solid 0.1rem var(--clr-orange);
    color: var(--clr-orange);
    text-align: center;
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 500;
    cursor: pointer;
}

.user-add-btn {
    padding: 1.4rem 1.6rem;
}

.user-action-items:last-of-type {
    margin-bottom: 2.4rem;
}

.jrnl-add-btn:hover, .plans-add-btn:hover, .users-add-btn:hover, .user-add-btn:hover {
    background-color: var(--clr-orange);
    color: var(--clr-primary);
    transition: all 0.2s ease-out;
}

.jrnl-add-btn:active, .plans-add-btn:active, .users-add-btn:active, .user-add-btn:active {
    transform: scale(0.96);
    transition: all 0.2s ease-out;
}

.jrnl-table-cont, .plans-table-cont {
    flex: 1 1 auto;
}

.plans-today {
    background-color: var(--clr-secondary);
    padding: 1.8rem 1.2rem;
    margin-bottom: 1.2rem;
    border-radius: var(--radius-outer);
    font-size: 0.9rem;
}

.plans-today h3 {
    margin: 0 0 0.4rem;
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
}

.plans-today-creator {
    margin: 0 0 0.1rem;
    font-family: 'Rethink Sans', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
}



/*- POPUPS -*/
.cnst-popup {
    width: 70vw;
    max-width: 60rem;
    height: auto;
    display: flex;
    justify-content: center;
    position: fixed;
    margin: auto;
    padding: 2.8rem 3.2rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-color: var(--clr-secondary);
    filter: drop-shadow(0 0 5rem #000);
    border-radius: var(--radius-outer);
}

.cnst-popup-left {
    width: 16rem;
    margin-right: 2.4rem;
}

.cnst-popup-right {
    width: calc(100% - 18.4rem);
    display: flex;
    flex-direction: column;
}

.cnst-popup-image {
    width: 16rem;
    height: 16rem;
    position: relative;
    background-color: var(--clr-primary);
    border-radius: var(--radius-inner);
    overflow: hidden;
}

.cnst-popup-image img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-inner);
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    transition: all 0.2s ease-out;
}

.cnst-popup-image-text {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: var(--radius-inner);
    background-color: rgba(var(--clr-secondary-rgb), 0.4);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: all 0.2s ease-out;
}

.cnst-popup-image input {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    transition: all 0.2s ease-out;
    outline: none;
    border: none;
}

.cnst-popup-image input:hover ~ .cnst-popup-image-text {
    opacity: 1;
    transition: all 0.2s ease-out;
    -webkit-backdrop-filter: blur(2rem);
    backdrop-filter: blur(2rem);
}

.cnst-popup-input {
    width: 100%;
    position: relative;
}

.cnst-popup-input-label {
    padding: 0.1rem 0.4rem;
    position: absolute;
    top: -0.6rem;
    left: 1rem;
    font-size: 0.7rem;
    background-color: var(--clr-secondary);
    z-index: 2;
}

.cnst-popup-input input, .cnst-popup-input select, .cnst-group-table {
    width: 100%;
    margin: 0 0 1.2rem;
    padding: 0.6rem 1.2rem;
    border: 0.1rem solid var(--clr-beige);
    background-color: transparent;
    color: var(--clr-beige);
    border-radius: var(--radius-small);
    font-size: 1rem;
}

.cnst-group-table {
    max-height: 8.7rem;
    padding: 0.6rem 0.2rem 0.6rem 1.2rem;
    position: relative;
}

.cnst-group-table-container {
    height: 100%;
    overflow-y: scroll;    
    scrollbar-width: auto;
    scrollbar-color: var(--clr-beige) var(--clr-secondary);
}

.cnst-group-table-container::-webkit-scrollbar {
    width: 0.4rem;
}

.cnst-group-table-container::-webkit-scrollbar-track {
    background: var(--clr-secondary);
}

.cnst-group-table-container::-webkit-scrollbar-thumb {
    background-color: var(--clr-beige);
    border-radius: 50%;
    border: 0.1rem solid var(--clr-secondary);
}

.cnst-group-table table {
    width: 100%;
}

.cnst-group-table td {
    width: 100%;
    padding: 0.4rem 0;
    border-top: solid 0.1rem var(--clr-beige);
}

.cnst-group-table tr:first-of-type td {
    border: none;
}

.cnst-group-table input {
    border: none;
    background-color: transparent;
    color: var(--clr-beige);
    font-size: 1rem;
}

.cnst-group-table .small-btn {
    margin: 0.1rem 0.4rem 0 0;
    padding: 0.2rem 1rem 0.3rem;
}

.delete-group-btn, .save-group-btn {
    border: none;
}

.cnst-popup-btns {
    display: flex;
    justify-content: flex-end;
}

.cnst-popup-btns .small-btn {
    font-size: 0.9rem;
}

.delete-popup {
    /* width: 30rem; */
    height: auto;
    margin: auto;
    padding: 2.5rem 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-color: var(--clr-secondary);
    filter: drop-shadow(0 0 5rem #000);
    border-radius: var(--radius-outer);
}

.delete-popup-btns {
    margin-top: 1.8rem;
    display: flex;
    justify-content: center;
}

.delete-popup-btns .small-btn {
    font-size: 0.9rem;
}

.delete-dlt-btn {
    margin-right: 0;
    margin-left: 0.4rem;
    border: solid var(--clr-orange) 0.1rem;
    color: var(--clr-orange);
    transition: all 0.2s ease-out;
}

.delete-dlt-btn:hover {
    color: var(--clr-primary);
    background-color: var(--clr-orange);
    transition: all 0.2s ease-out;
}