/*
Copyright (c) 2023 Carwyn Venter

All rights reserved

This file contains modified code from Aybüke Ceylan
The following is the original code's license:

    Copyright (c) 2023 by Aybüke Ceylan (https://codepen.io/aybukeceylan/pen/PopNYeJ)

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap");
* {
	box-sizing: border-box;
}
:root {
	--app-bg: #101827;
	--sidebar: rgba(21, 30, 47,1);
	--sidebar-main-color: #fff;
	--table-border: #1a2131;
	--table-header: #1a2131;
	--app-content-main-color: #fff;
	--sidebar-link: #fff;
	--sidebar-active-link: #1d283c;
	--sidebar-hover-link: #1a2539;
	--action-color: #2869ff;
	--action-color-hover: #6291fd;
	--app-content-secondary-color: #1d283c;
	--filter-reset: #2c394f;
	--filter-shadow: rgba(16, 24, 39, 0.8) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
	--form-bg-color: #000725;
}
.light:root {
	--app-bg: #fff;
	--sidebar: #f3f6fd;
	--app-content-secondary-color: #f3f6fd;
	--app-content-main-color: #1f1c2e;
	--sidebar-link: #1f1c2e;
	--sidebar-hover-link: rgba(195, 207, 244, 0.5);
	--sidebar-active-link: rgba(195, 207, 244, 1);
	--sidebar-main-color: #1f1c2e;
	--filter-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	--form-bg-color: #d1d1d1;
	--table-header: #dadada;
}

html {
	scroll-behavior: smooth;
}

body, html {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
}
body {
	overflow: hidden;
	font-family: 'Poppins', sans-serif !important;
	background-color: var(--app-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.app-container {
	border-radius: 4px;
	width: 100%;
	height: 100%;
	max-height: 100%;
	max-width: 1280px;
	display: flex;
	overflow: hidden;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	max-width: 2000px;
	margin: 0 auto;
}
.sidebar {
	flex-basis: 200px;
	max-width: 200px;
	flex-shrink: 0;
	background-color: var(--sidebar);
	display: flex;
	flex-direction: column;
}
.sidebar-header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 16px;
}
.sidebar-list {
	list-style-type: none;
	padding: 0;
}
.sidebar-list-item {
	position: relative;
	margin-bottom: 4px;
}
.sidebar-list-item a {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 10px 16px;
	color: var(--sidebar-link);
	text-decoration: none;
	font-size: 14px;
	line-height: 24px;
}
.sidebar-list-item svg {
	margin-right: 8px;
}
.sidebar-list-item:hover {
	background-color: var(--sidebar-hover-link);
}
.sidebar-list-item.active {
	background-color: var(--sidebar-active-link);
}
.sidebar-list-item.active:before {
	content: '';
	position: absolute;
	right: 0;
	background-color: var(--action-color);
	height: 100%;
	width: 4px;
}

.sidebar-show {
	display: none;
}

@media screen and (max-width: 1024px) {
	.sidebar {
		width: fit-content !important;
		min-height: 100vh;
		position: fixed;
		left: -200px;
		z-index: 10000;
		transition: all 0.4s ease-in-out;
	}

	.sidebar-show {
		display: block;
		position: fixed;
		top: 2%;
		left: 2%;
		z-index: 9999;
		color: var(--app-content-main-color);
	}
	.sidebar-show {
		color: var(--action-color-hover);
	}

	.sidebar:hover {
		left: 0;
	}

	.sidebar-show:focus ~ .sidebar {
		left: 0;
	}

}
.mode-switch {
	background-color: transparent;
	border: none;
	padding: 0;
	color: var(--app-content-main-color);
	display: flex;
	justify-content: center;
	align-items: center;
	margin-left: auto;
	margin-right: 8px;
	cursor: pointer;
}
.mode-switch .moon {
	fill: var(--app-content-main-color);
}
.mode-switch.active .moon {
	fill: none;
}
.account-info {
	display: flex;
	align-items: center;
	padding: 16px;
	margin-top: auto;
}
.account-info-picture {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}
.account-info-picture img {
	width: 100%;
	height: 100%;
	object-fit: fill;
}
.account-info-name {
	font-size: 14px;
	color: var(--sidebar-main-color);
	margin: 0 8px;
	overflow: hidden;
	max-width: 100%;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.account-info-more {
	color: var(--sidebar-main-color);
	padding: 0;
	border: none;
	background-color: transparent;
	margin-left: auto;
}
.app-icon {
	color: var(--sidebar-main-color);
}
.app-icon svg {
	width: 24px;
	height: 24px;
}
.app-content {
	padding: 10px;
	background-color: var(--app-bg);
	height: 100%;
	flex: 1;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	overflow-x: hidden;
}
.app-content-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 4px;
}
.app-content-headerText {
	color: var(--app-content-main-color);
	font-size: 24px;
	line-height: 32px;
	margin: 0;
}
.app-content-headerButton {
	background-color: var(--action-color);
	color: #fff;
	font-size: 14px;
	line-height: 24px;
	border: none;
	border-radius: 4px;
	height: 32px;
	padding: 0 16px;
	transition: .2s;
	cursor: pointer;
}
.app-content-headerButton:hover {
	background-color: var(--action-color-hover);
}
.app-content-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 4px;
}
.app-content-actions-wrapper {
	display: flex;
	align-items: center;
	margin-left: auto;
}
@media screen and (max-width: 520px) {
	.app-content-actions {
		flex-direction: column;
	}
	.app-content-actions .search-bar {
		max-width: 100%;
		order: 2;
		margin-bottom: 4px;
	}
	.app-content-actions .app-content-actions-wrapper {
		padding-bottom: 16px;
		order: 1;
	}
}
.search-bar {
	background-color: var(--app-content-secondary-color);
	border: 1px solid var(--app-content-secondary-color);
	color: var(--app-content-main-color);
	font-size: 14px;
	line-height: 24px;
	border-radius: 4px;
	padding: 0px 10px 0px 32px;
	height: 32px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-search'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
	background-size: 16px;
	background-repeat: no-repeat;
	background-position: left 10px center;
	width: 100%;
	max-width: 320px;
	transition: .2s;
}
.light .search-bar {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231f1c2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-search'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}
.search-bar:placeholder {
	color: var(--app-content-main-color);
}
.search-bar:hover {
	border-color: var(--action-color-hover);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236291fd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-search'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}
.search-bar:focus {
	outline: none;
	border-color: var(--action-color);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232869ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-search'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}
.action-button {
	border-radius: 4px;
	height: 32px;
	background-color: var(--app-content-secondary-color);
	border: 1px solid var(--app-content-secondary-color);
	display: flex;
	align-items: center;
	color: var(--app-content-main-color);
	font-size: 14px;
	margin-left: 8px;
	cursor: pointer;
}
.action-button span {
	margin-right: 4px;
}
.action-button:hover {
	border-color: var(--action-color-hover);
}
.action-button:focus, .action-button.active {
	outline: none;
	color: var(--action-color);
	border-color: var(--action-color);
}
.filter-button-wrapper {
	position: relative;
}
.filter-menu {
	background-color: var(--app-content-secondary-color);
	position: absolute;
	top: calc(100% + 16px);
	right: 0px;
	border-radius: 4px;
	padding: 8px;
	width: 220px;
	z-index: 2;
	box-shadow: var(--filter-shadow);
	visibility: hidden;
	opacity: 0;
	transition: .2s;
}
.filter-menu:before {
	content: '';
	position: absolute;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid var(--app-content-secondary-color);
	bottom: 100%;
	left: 83%;
	transform: translatex(-50%);
}
.filter-menu.active {
	visibility: visible;
	opacity: 1;
	top: calc(100% + 8px);
}
.filter-menu label {
	display: block;
	font-size: 14px;
	color: var(--app-content-main-color);
	margin-bottom: 8px;
}
.filter-menu select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	padding: 8px 24px 8px 8px;
	background-position: right 4px center;
	border: 1px solid var(--app-content-main-color);
	border-radius: 4px;
	color: var(--app-content-main-color);
	font-size: 12px;
	background-color: transparent;
	margin-bottom: 16px;
	width: 100%;
}
.filter-menu select option {
	font-size: 14px;
}
.light .filter-menu select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231f1c2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.filter-menu select:hover {
	border-color: var(--action-color-hover);
}
.filter-menu select:focus, .filter-menu select.active {
	outline: none;
	color: var(--action-color);
	border-color: var(--action-color);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232869ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.filter-menu-buttons {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.filter-button {
	border-radius: 2px;
	font-size: 12px;
	padding: 4px 8px;
	cursor: pointer;
	border: none;
	color: #fff;
}
.filter-button.apply {
	background-color: var(--action-color);
}
.filter-button.reset {
	background-color: var(--filter-reset);
}
.table-area-wrapper {
	width: 100%;
	max-height: 100vh;
	overflow: auto;
	padding: 0 4px;
}
.tableView .table-header {
	display: flex;
	align-items: center;
	border-radius: 4px;
	background-color: var(--app-content-secondary-color);
	position: sticky;
	top: 0;
}
.tableView .table-row {
	display: flex;
	align-items: center;
	border-radius: 4px;
	width: 100%;
	border: 1px solid var(--app-content-secondary-color);
}
.tableView .table-row:hover {
	box-shadow: var(--filter-shadow);
	background-color: var(--app-content-secondary-color);
}
.tableView .table-row .cell-more-button {
	display: none;
}
.tableView .table-cell {
	flex: 1;
	padding: 8px 16px;
	color: var(--app-content-main-color);
	font-size: 14px;
	display: flex;
	align-items: center;
	min-width: 125px;
	overflow-wrap: anywhere;
	border-right: 1px solid var(--table-header);
}

.tableView .status-cell {
	flex-direction: column;
	align-items: start;
}

.tableView .status-header {
	flex-direction: row !important;
}

.tableView .table-cell img {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	margin-right: 6px;
}
@media screen and (max-width: 780px) {
	.tableView .table-cell {
		font-size: 12px;
	}
	.tableView .table-cell.image {
		flex: 0.2;
	}
}
@media screen and (max-width: 520px) {
	.tableView .table-header {
		width: fit-content;
	}
	.tableView .table-cell.status-cell {
		flex: 0.4;
	}
	.tableView .table-cell.start-date, .tableView .table-cell.closed-date {
		flex: 0.2;
	}
}
@media screen and (max-width: 480px) {
	.tableView .table-cell.closed-date {
		flex: 0.4;
	}
}
.tableView .sort-button {
	padding: 0;
	background-color: transparent;
	border: none;
	cursor: pointer;
	color: var(--app-content-main-color);
	margin-left: 4px;
	display: flex;
	align-items: center;
}
.tableView .sort-button:hover {
	color: var(--action-color);
}
.tableView .sort-button svg {
	width: 12px;
}
.tableView .cell-label {
	display: none;
}
.status {
	border-radius: 4px;
	display: flex;
	align-items: center;
	padding: 4px 8px;
	font-size: 12px;
}
.status:before {
	content: '';
	width: 4px;
	height: 4px;
	border-radius: 50%;
	margin-right: 4px;
}
.status.active {
	color: #2ba972;
	background-color: rgba(43, 169, 114, 0.2);
}
.status.active:before {
	background-color: #2ba972;
}
.status.disabled {
	color: #59719d;
	background-color: rgba(89, 113, 157, 0.2);
}
.status.disabled:before {
	background-color: #59719d;
}
.status.closed {
	color: #a92b2b;
	background-color: rgba(169, 43, 43, 0.2);
}
.status.closed:before {
	background-color: #a92b2b;
}
.status.pending {
	color: #a9962b;
	background-color: rgba(169, 150, 43, 0.2);
}
.status.pending:before {
	background-color: #a9962b;
}
.gridView {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -8px;
}
@media screen and (max-width: 520px) {
	.gridView {
		margin: 0;
	}
}
.gridView .table-header {
	display: none;
}
.gridView .table-row {
	margin: 8px;
	width: calc(25% - 16px);
	background-color: var(--app-content-secondary-color);
	padding: 8px;
	border-radius: 4px;
	cursor: pointer;
	transition: transform .2s;
	position: relative;
}
.gridView .table-row:hover {
	transform: scale(1.01);
	box-shadow: var(--filter-shadow);
}
.gridView .table-row:hover .cell-more-button {
	display: none;
}
@media screen and (max-width: 1024px) {
	.gridView .table-row {
		width: calc(33.3% - 16px);
	}
}
@media screen and (max-width: 820px) {
	.gridView .table-row {
		width: calc(50% - 16px);
	}
}
@media screen and (max-width: 520px) {
	.gridView .table-row {
		width: 100%;
		margin: 8px 0;
	}

	.header-box {
		margin-bottom: 20px;
	}

	.gridView .table-row:hover {
		transform: none;
	}
}
.gridView .table-row .cell-more-button {
	border: none;
	padding: 0;
	border-radius: 4px;
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background-color: rgba(16, 24, 39, 0.7);
	color: #fff;
	cursor: pointer;
	display: none;
}
.gridView .table-cell {
	color: var(--app-content-main-color);
	font-size: 14px;
	margin-bottom: 8px;
}
.gridView .table-cell:not(.image) {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.gridView .table-cell.image span {
	font-size: 18px;
	line-height: 24px;
}
.gridView .table-cell img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 16px;
}
.gridView .cell-label {
	opacity: 0.6;
}

#hellobar-bar {
    font-family: "Open Sans", sans-serif;
	top: 0;
    width: 100%;
    margin: 0;
	margin-bottom: 1em;
    height: 30px;
    display: table;
    font-size: 17px;
    font-weight: 400;
    padding: .33em .5em;
    -webkit-font-smoothing: antialiased;
    color: #5c5e60;
    position: relative;
    background-color: var(--app-content-secondary-color);
    box-shadow: 0 1px 3px 2px rgba(0,0,0,0.15);
}
#hellobar-bar.regular {
    height: 30px;
    font-size: 14px;
    padding: .2em .5em;
}
.hb-content-wrapper {
    text-align: center;
    text-align: center;
    position: relative;
    display: table-cell;
    vertical-align: middle;
}
.hb-content-wrapper p {
    margin-top: 0;
    margin-bottom: 0;
}
.hb-text-wrapper {
    margin-right: .67em;
    display: inline-block;
    line-height: 1.3;
	color: var(--app-content-main-color);
}
.hb-text-wrapper .hb-headline-text {
    font-size: 1em;
    display: inline-block;
    vertical-align: middle;
}

.hb-text-wrapper .hb-headline-text p {
    overflow-wrap: anywhere;
}

.hb-cta-button .hb-text-holder {
    border-radius: inherit;
    padding: 5px 15px;
}

.toplevel {
	z-index: 1001;
	position: absolute;
	width: 75%;
	top: 10px;
}

#ct {
	color: var(--app-content-main-color);
	text-align: center;
	font-family: "Open Sans", sans-serif;
}

#cd {
	color: var(--app-content-main-color);
	text-align: center;
	font-family: "Open Sans", sans-serif;
}

#ct-container {
	margin-left: 15%;
	display: flex;
	flex-direction: column;
}

.header-box {
	color: var(--app-content-main-color);
}

.header-box {
	display: flex;
	flex-direction: row !important;
	justify-content: flex-start !important;
	align-items: center !important;
	width: 100%;
}

.header-box select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	padding: 8px 24px 8px 8px;
	background-position: right 4px center;
	border: none;
	color: var(--app-content-main-color);
	font-size: 12px;
	background-color: var(--app-content-secondary-color);
	width: 100%;
}

.header-box select option {
	color: var(--action-color);
}

.simple-list {
	margin: 0;
	padding-left: 1.2rem;
}
  
.simple-list li {
	position: relative;
	list-style-type: none;
	padding-left: 0rem;
	margin-bottom: 0.5rem;
}
