:root {
	--dark-blue: #0f253e;
	--light-blue: #73b4ee;
	--red: #e1656f;
	--grey: #FAFAFA;
}

/* width */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
	background: var(--light-blue);
}

body {
	margin: 0;
	padding: 0;
	font-family: 'HK Grotesk', sans-serif;
}

img {
	width: 100%;
}

a,
button,
input,
textarea,
button {
	outline: none;
}

img.logo {
	width: 60px;
}

img.infos {
	width: 40px;
	position: absolute;
	right: 2%;
	top: 2%;
	cursor: pointer;
	z-index: 901;
}

.rel {
	position: relative;
}

.abs {
	position: absolute;
}

.fixed {
	position: fixed;
	z-index: 900;
}

/************************* ERROR AND SUCCESS *************************/

.error,
.confirm {
	color: white;
	text-align: center;
	margin-top: 1em;
}

.error {
	background: var(--red);
}

.confirm {
	background: var(--light-blue);
}

/************************* CONNEXION *************************/

.page-connexion .wrapper {
	width: 100vw;
	height: 100vh;
	background: var(--dark-blue);
	color: white;
}

.page-connexion img {
	width: 100%;
}

.page-connexion .content h1 {
	font-family: 'Comfortaa';
	line-height: 1.4;
	font-size: 35px;
}

.page-connexion .content input {
	width: 50%;
	border: none;
	padding: 0.7em 1em;
}

.page-connexion .content input[type="submit"] {
	width: 100%;
	border: none;
	padding: 0.7em 1em;
	background: var(--light-blue);
	text-align: center;
}

/************************* AGENDA (rows, cols, cells) *************************/

.planner-wrapper {
	width: 100vw;
	overflow-x: auto;
	overflow-y: auto;
	height: 100vh;
}

.top-row {
	height: 60px;
	position: sticky;
	left: 0;
	top: 90px;
	color: white;
	background: var(--dark-blue);
	z-index: 998;
}

.planner table td.day,
.planner table th.day {
	font-family: 'Comfortaa';
	font-weight: 700;
	padding: 0 1.27em;
	position: relative;
}

.planner .content td.day {
	padding: 0;
}

.planner .content td.day div {
	height: 50px;
	margin: 12px 0;
}

.headcol {
	position: sticky;
	left: 0;
	background: white;
	z-index: 60;
	padding: 2em 1em;
	color: var(--dark-blue);
}

th.headcol.left {
	width: 250px;
	font-style: italic;
	cursor: pointer;
}

.headcol.top {
	height: 150px;
	position: fixed;
	top: 0;
	z-index: 899;
	width: 135px;
	left: 0;
	background: var(--dark-blue);
}

.all-months {
	background: var(--dark-blue);
	color: white;
	height: 90px;
	padding-left: 135px;
}

.all-months .month {
	width: 100vw;
	display: flex;
	justify-content: center;
	font-size: 2.5em;
}

.single-month {
	width: fit-content;
	z-index: 2;
	font-family: 'Comfortaa';
}

.single-month::after {
	width: 100%;
	height: 20%;
	position: absolute;
	bottom: 10px;
	left: 0;
	content: '';
	background-color: var(--light-blue);
	z-index: -1;
}

.all-months .month:nth-child(2) {
	width: 85vw;
}

.months-wrapper {
	position: sticky;
	top: 0;
	z-index: 900;
}

/************************* TABLE *************************/

table {
	border-collapse: separate;
	border-spacing: 0;
}

td,
th {
	margin: 0;
	white-space: nowrap;
	border-top-width: 0px;
}

tbody.content tr:nth-child(2n),
tbody.content tr:nth-child(2n) .headcol {
	background: var(--grey) !important;
}


/************************* MODALS *************************/

img.add-project {
	position: fixed;
	bottom: 2%;
	right: 2%;
	width: 65px;
	transition: .2s ease-in-out;
	cursor: pointer;
	z-index: 100;
}

img.add-project:hover {
	transform: scale(.9);
}

.black-screen {
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, .8);
	width: 100%;
	z-index: 999;
	height: 100vh;
}

.add-project-modal,
.add-task-modal,
.edit-project-modal,
.edit-task-modal,
.infos-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	background: white;
	z-index: 1000;
	padding: 6em 8em;
	transform: translate(-50%, -50%);
}

.add-project-modal h2,
.add-task-modal h2,
.edit-project-modal h2,
.edit-task-modal h2,
.infos-modal h2 {
	font-size: 3em;
	position: relative;
	font-family: 'Comfortaa';
	width: fit-content;
	z-index: 1;
}

.add-project-modal h2::after,
.add-task-modal h2::after,
.edit-project-modal h2::after,
.edit-task-modal h2::after,
.infos-modal h2::after {
	content: '';
	width: 100%;
	height: 30%;
	bottom: 5px;
	left: 0;
	position: absolute;
	background: var(--light-blue);
	z-index: -1;
}

.add-project-modal .add-project-name,
.add-task-modal input,
.add-task-modal textarea,
.edit-project-modal input,
.edit-project-modal textarea,
.add-task-modal select,
.edit-task-modal input,
.edit-task-modal select,
.edit-task-modal textarea{
	border: none;
	background: var(--grey);
	padding: 1em 1.5em;
	text-align: center;
	color: var(--dark-blue);
	font-weight: 500;
}

.add-task-modal input,
.add-task-modal select, 
.edit-task-modal input,
.edit-task-modal select {
	width: 50%;
}

.add-task-modal textarea,
.edit-task-modal textarea {
	width: 100%;
}

input[type="submit"] {
	border: none;
	background: var(--dark-blue);
	color: white;
	padding: .75em;
	transition: .2s ease-in-out;
}

.add-task-modal input[type="submit"] {
	width: 100%;
}

.edit-project-modal #deleteProject,
.edit-task-modal #deleteTask {
	background: var(--red);
}

.edit-project-modal #editProject,
.edit-project-modal #deleteProject,
.edit-task-modal #editTask,
.edit-task-modal #deleteTask  {
	width: 50%;
}

input[type="submit"]:hover {
	transform: scale(.98);
}

.add-task-modal form,
.edit-task-modal form {
	width: 900px;
}

.infos-modal {
	padding: 3em 6em;
}

.infos-modal h3{
	font-size: 1.1em;
	padding: .5em .8em;
	color: white;
}

.infos-modal .web h3 {
	background-color: #f4bd38;
} 
.infos-modal .audiovisuel h3 {
	background-color: #2e8de4;
} 
.infos-modal .strategie h3 {
	background-color: #f47fbe;
} 
.infos-modal .marketing h3 {
	background-color: #B1DA34;
} 
.infos-modal .graphisme h3 {
	background-color: #37CED0;
} 
.infos-modal .previsionnel h3 {
	background-color: #4d4d4d;
} 

/************************* TASKS *************************/

.task-name {
	left: 0;
	color: white;
	position: absolute;
	top: 14px;
	left: 10px;
	z-index: 50;
	font-weight: 600;
	font-family: 'HK Grotesk';
}

.task.web {
	background-color: #f4bd38;
}
.task.audiovisuel {
	background-color: #2e8de4;
}
.task.marketing {
	background-color: #B1DA34
}
.task.strategie {
	background-color: #f47fbe;
}
.task.graphisme {
	background-color: #37CED0;
}
.task.previsionnel {
	background-color: #4d4d4d;
}

img.infos2 {
	width: 40px;
	position: absolute;
	right: 5%;
	top: 2%;
	cursor: pointer;
	z-index: 901;
}

img.infos3 {
	width: 40px;
	position: absolute;
	right: 8%;
	top: 2%;
	cursor: pointer;
	z-index: 901;
}

.z-indexup div{
    display: none;
}

.daycolor{
    background-color: rgba(155, 155, 155, 0.306);
}