/* SWITCH */
/* SWITCH */
/* SWITCH */
.switch {
	position: absolute;
	right: 0px;
	top: 0px;
	height: 100%;
	font-size: 2em;
	padding: 1em;
	color: var(--clr-main-100);

	display: flex;
	align-items: center;
	justify-content: center;

	text-decoration: none;
	transition: all 0.25s linear;
}
.switch:hover {
	background-color: white;
	color: black;
}

/* HEADER */
/* HEADER */
/* HEADER */
header {
	position: relative;
	width: 100%;
	min-height: 75px;

	border-bottom: 1px solid var(--clr-main-50);
	color: black;

	display: grid;
	grid-template-columns: auto 1fr auto;
}

header > div:first-child a {
	height: 100%;
	padding: 1em;
	border-left: 10px solid var(--clr-main-100);
	border-right: 1px solid var(--clr-main-50);
	min-width: 250px;
	box-sizing: padding-box;
	text-decoration: none;
	border-bottom: 0px;
	margin: 0;

	display: grid;
	grid-template-columns: 1fr auto;
}
header > div:first-child a div:first-child {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;

	font-size: 1.3em;
	line-height: 1em;
	font-weight: 500;
}
header > div:first-child a div:last-child i {
	display: block;
	margin-top: 0.5em;
	font-size: 0.75em;
	line-height: 1em;
}
header > div:first-child div span {
	font-size: 0.75em;
	font-weight: 300;
	display: block;
}

header > div:last-child {
	min-width: 300px;
}

header h1 {
}

header .global_search {
	display: block;
	text-align: center;
}
header .global_search .input_group {
	display: inline-block;
	width: 75%;
	margin: 1em;
}
header .global_search .input_group::before {
	content: '\f002';
	font-family: 'Font Awesome 5 Free';
	font-weight: normal;
	opacity: 0.5;
	position: absolute;
	left: -1em;
	top: 0.5em;
}

.profile {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 300;
}
.profile i {
	margin-left: 0.5em;
}
.profile div {
	line-height: 1em;
}
.profile a {
	font-size: 0.75em;
}
.profile::before {
	content: '\f007';
	float: left;
	font-family: 'Font Awesome 5 Free';
	font-weight: 200;
	font-size: 1.25em;
	margin-right: 0.5em;
	padding: 1em;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.25);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
/*
header > div {
	min-width: 100px;
}

header h1 {
	font-weight: 300;
	line-height: 1.5em;
	height: 100%;
	color: var(--clr-text);
	color: black;
}
header h1 span {
	padding-left: 1rem;
	margin-left: 1rem;
	margin-right: 0.5rem;
	border-left: 1px solid var(--clr-main-100);
	font-weight: 700;
	color: black;
}
*/

/* NAVIGATION */
/* NAVIGATION */
/* NAVIGATION */
nav > a {
	display: block;
	color: black;
	font-weight: 300;
	text-decoration: none;
	padding-left: 2rem;
	padding-right: 2rem;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	text-align: left;
}
nav > nav > a {
	font-size: 0.9em;
	text-indent: 1.5em;
}
nav > nav > nav > a {
	font-size: 0.8em;
	text-indent: 3em;
}
nav a:hover {
	background-color: rgba(0, 0, 0, 0.05);
	color: black;
	text-align: left;
}
nav a.active {
	background-color: var(--clr-main-100);
	color: var(--clr-text);
	text-align: left;
}
nav a.active:hover {
	background-color: var(--clr-main-75);
}

/* CONTAINER */
/* CONTAINER */
/* CONTAINER */

.container {
	position: relative;
	width: 100%;
}

/* LAYOUT : 2 columns */
.container.layout-2col {
	display: grid;
	grid-template-columns: auto 1fr;
}

/* LAYOUT : 2 columns : column 1 */
.container .col1 {
	position: relative;
	inset: 0;
	color: black;
	min-width: 250px;
	border-right: 1px solid var(--clr-main-50);
}
.container .col1 h2 {
	margin-top: 1.5rem;
	margin-left: 2rem;
	margin-right: 2rem;
	margin-bottom: 1.5rem;
}

.container .col2 {
	position: relative;
	padding-left: 2rem;
	padding-right: 2rem;
	color: black;
}
.container .col2 h2 {
	margin-top: 1.5rem;
	margin-left: 0;
	margin-right: 2rem;
}

/* FILTER BAR */
/* FILTER BAR */
/* FILTER BAR */

a.button {
	border: 2px solid black;
	color: black;
	padding: 0.5em;
	padding-left: 1em;
	padding-right: 1em;
	border-radius: 2em;
	font-weight: 300;
	text-decoration: none;
}
a.button.add {
	float: right;
	margin-top: 1em;
	border: 4px solid var(--clr-main-100);
	transition: all 0.1s linear;
}
a.button.add::before {
	content: '\2b';
	margin-right: 0.25em;
}
a.button.add:hover {
	background-color: var(--clr-main-100);
	color: var(--clr-text);
}
a.button.download {
	border-color: red;
	color: red;
}
a.button.download:hover {
	background-color: rgba(255, 0, 0, 0.1);
}

/* TABLE price */
/* TABLE price */
/* TABLE price */
table.price {
	width: 100%;
	border: 1px solid var(--green-100);
}
table.price td::before {
	content: '\f1ec';
	font-family: 'Font Awesome 5 Free';
	font-weight: normal;
	font-size: 1em;
	float: left;
	background-color: var(--green-100);
	color: white;
	margin-right: 1em;
	padding: 0.5em;
	padding-left: 1em;
	padding-right: 1em;
	border-radius: 0.5em;
}
table.price td {
	background-color: var(--green-10);
	color: black;
	padding: 0.5em;
	font-size: 1.5em;
}
table.price td b {
	color: black;
	font-weight: 600;
	font-size: 1.25em;
}

/* TABLE overview */
/* TABLE overview */
/* TABLE overview */

table.archive,
table.overview {
	width: 100%;
}
table.overview th {
	text-align: left;
	padding: 1em;
	border-bottom: 1px solid var(--clr-main-100);
}
table.overview th:last-child {
	text-align: right;
	padding-right: 2em;
}
table.overview td .color {
	position: relative;
	top: 2px;
	background-color: var(--bg);
	width: 20px;
	height: 20px;
	display: inline-block;
	margin-left: 0.5em;
	border-radius: 50%;
}
table.overview td {
	text-align: left;
	background-color: white;
	padding: 1em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
table.overview td:last-child {
	text-align: right;
}
table.overview tr:hover td {
	background-color: rgba(0, 0, 0, 0.05);
}
table.overview td:last-child a {
	margin-left: 0.5em;
	background-color: white;
	color: black;

	border-radius: 2em;
	padding: 0.25em;
	padding-left: 1em;
	padding-right: 1em;
}
table.overview td:last-child a:hover {
	background-color: var(--clr-main-100);
	color: var(--clr-text);
}

table.overview.small th,
table.overview.small td {
	padding: 0.25em;
	padding-left: 1em;
	border: 0px;
}
table.overview.small th:last-child,
table.overview.small td:last-child {
	text-align: left;
}

.archive {
	background-color: rgba(255, 0, 0, 0.05);
	padding: 1em;
}
.archive table.overview tr,
.archive table.overview tr td {
	background-color: transparent;
}

.overview .right {
	/* border: 1px solid red; */
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}
.overview .right div span {
	background-color: var(--bg);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: inline-block;
}
.overview tr.edit td {
	background-color: rgba(0, 0, 0, 0.05);
}

.rights {
	display: grid;
	gap: 0.5em;
}
.rights em {
	opacity: 0.25;
}
.rights .client {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.5em;
}
.checkbox label span,
.version span,
.rights .client span {
	display: inline-block;
	position: relative;
	top: 5px;
	width: 15px;
	height: 15px;
	background-color: var(--bg);
	border-radius: 50%;
}

.clients {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.5em;
}
.clients .checkbox {
	grid-column: 1;
}
.clients .select {
	grid-column: 2;
}
.clients .branches {
	grid-column: 2;
}

.clients .selection .checkbox {
	display: block;
}
.clients .selection {
	display: none;
	columns: 4;
}
.clients .selection.open {
	display: block;
}

/* FOOTER */
/* FOOTER */
/* FOOTER */
footer {
	border-top: 3px solid var(--clr-main-100);
	background-color: rgba(0, 0, 0, 1);
	min-height: 200px;
	color: white;
	padding: 2em;

	display: grid;
	grid-template-columns: auto 25% 25% 25% auto;
}
footer > div {
	display: flex;
	justify-content: center;
}
footer > div div {
	text-align: left;
	line-height: 2em;
}
footer a {
	color: var(--clr-main-100);
}
footer a:hover {
	color: white;
}
