/* General */

html, body, #root, .app, .content {
	background: #FAFAFA;
    display: flex;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    width: 100vw;
    overflow-x: hidden;
}

a {
    color: #555;
    text-decoration: none;
}

h1 {
    font-size: 48px;
    margin: 35px 0;
}

em {
	color: #555;
	font-size: 12px;
	margin-top: 7px;
	padding: 4px;
}

header {
	background: #FFF;
	border-right: 1px solid #E0E0E0;
    box-shadow: 0 0 10px #EEE;
    position: fixed;
    overflow: hidden;
	height: 100vh;
    width: 350px;
}

main {
    overflow: hidden;
    padding: 50px 50px 50px 400px;
    width: calc(100% - 450px);
	transition: width ease .5s;
}

main.asideOpen {
	width: calc(100% - 800px);
}

/* Side Nav */
.nav {
    
    display: flex;
    position: fixed;
    flex-direction: column;
    height: 100vh;
    width: 350px;
}

.navHeader img {
    cursor:pointer;
    width: 60%;
}

.nav ul {
    list-style: none;
}

.navHeader .title {
    font-size: 28px;
    font-weight: 700;
}

.navHeader {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 30px 0px;
}

.nav .childList {
    height: 80vh;
}

.childList .titleList {
    margin-left: 30px;
    font-weight: 800;
    font-size: 22px;
}

.nav .childList li a:not(.nav .childList li:last-child a) {
    color: #333;
}

.nav .childList li a svg {
    margin-right: 10px;
}

.nav a {
    display: inline-block;
    padding: 5px 0;
}

/* Home */

.homePupilList h3 {
	color: #333;
	margin: 0;
}

.homePupilList svg, 
.btnIco {
	float: right;
}

.homePupilList {
	justify-content: space-between;
}

.homePupilList .actions {
    display: flex;
    flex-direction: row;
}

.homePupilList .actions button {
    background: transparent;
    border: none;
    flex-direction: column;
    display: flex;
    cursor:pointer;
}

.homePupilList .actions button span {
    margin-top: 10px;
    font-family:  'Source Sans Pro', sans-serif;
    font-size: 14px
}

.searchResult {
	cursor: pointer;
}

.backLink {
    position: fixed;
    top: 30px;
    left: 30px;
    font-size: 12px;
    color: #AAA;
}

/* Main Content*/

p.preTitle {
    color: #555;
    font-size: 14px;
    margin-bottom: -35px;
    text-transform: uppercase;
}

.formContainer:not(.nobg) {
	background: #FFF;
	border-right: 1px solid #E0E0E0;
	box-shadow: 0 0 10px #EEE;
	border-radius: 10px;
	margin-bottom: 30px;
}

.formHeader {
	align-content: center;
	color: #555;
	cursor: pointer;
	display: flex;
	font-size: 18px;
	gap: 20px;
	padding: 20px;
}

.formHeader svg, 
.btnIco {
	cursor: pointer;
	height: 24px;
	width: 24px;
}

.formBody {
	height: 0;
	overflow: hidden;
}

.formContainer.active .formHeader {
	border-bottom: 1px solid #E0E0E0;
}

.formContainer.active .formBody {
	height: auto;
}


.formPage .formContainer {
	max-width: 90vw;
}

.flexContainer {
	display: flex;
	gap: 20px;
	padding: 20px;
	flex-shrink: 0;
}

.flexContainer.eq > * {
	flex: 1;
}

.flexCol {
	display: flex;
	gap: 20px;
	padding: 20px;
	flex-direction: column;
}

.generalContainer {
	display: flex;
	gap: 50px;
	padding: 50px 0;
	flex-direction: column;
	flex-shrink: 0;
}

.generalContainer > * {
	flex: 1;
}

.groupInput,
.groupTextarea,
.groupAddress {
	margin-bottom: 20px;
	padding-top: 10px;
	position: relative;
}

.groupHidden {
	display: none;
}

label {
	background: #FFF;
	box-shadow: 0 0 5px #fff;
	color: #555;
	left: 10px;
	position: absolute;
	top: 0px;
	z-index: 99;
}

input[type="text"],
input[type="mail"],
input[type="password"],
textarea,
.selectCustom, 
.inputBlock  {
	border-radius: 10px;
	border: 1px solid #E0E0E0;
	font-size: 22px;
	outline: none;
	padding: 10px;
	position: relative;
	transition: all ease .6s;
	width: calc(100% - 22px);
}

input[type="text"]:hover,
input[type="mail"]:hover,
input[type="password"]:hover,
input[type="text"]:focus,
input[type="mail"]:focus,
input[type="password"]:focus,
textarea:hover,
textarea:focus,
.selectCustom:hover,
.selectCustom:focus, 
.inputBlock:hover,
.inputBlock:focus {
	border-color: #fa9221;
} 

.ctt_drop {
	border-radius: 6px;
	border: 1px dashed #E0E0E0;
	cursor: pointer;
	height: 65px;
}

.ctt_drop::after {
	content: "Cliquez ou déposez votre CV, votre dernier diplôme, une lettre de motivation...";
	color: #555;
	display: flex;
	justify-content: center;
	padding: 20px;
}

.file_block {
	background: url('attach.svg') no-repeat 10px center / 30px;
	border-radius: 10px;
	margin: 20px 0;
	padding: 8px 8px 8px 60px;
	border: 1px solid #E0E0E0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.buttons_container {
	text-align: right;
}

.file_block button {
	background: no-repeat center center / contain transparent;
	height: 25px;
	border: none;
	width: 20px;
	margin: 0 10px;
}

.file_block .open_doc {
	background-image: url('see.svg');
}

.file_block .delete_doc {
	background-image: url('trash.svg');
}


textarea {
	height: 180px;
}

.calendar {
	border-radius: 10px;
	border: 1px solid #E0E0E0;
	padding: 10px;
	width: calc(100% - 22px);
}

.inputError {
	border-color: #E00 !important
}

.selectCustom {
	height: 46px;
	padding: 0;
	overflow: hidden;
	transition: height ease .5s;
	width: calc(100% - 2px);
}

.selectCustom .option {
	padding: 9px 10px;
	font-size: 22px;
	cursor: pointer;
	transition: all ease .5s;
}

.selectCustom.open .option:hover {
	background: #F6F6F6;
}

.selectCustom.multi .option {
	padding-left: 30px;
}

.selectCustom.multi .option.selected {
	background: url('done.svg') no-repeat left center / auto 45%;
}

.groupSelect {
	position: relative;
}

.groupSelect svg {
	position: absolute;
	cursor: pointer;
	top: 25px;
	right: 10px;
	height: 20px;
	width: 20px;
}

.groupAddress .postal_code {
	margin: 3% 3% 0 0 ;
	width: calc(30% - 22px);
}

.groupAddress .city {
	margin: 3% 0 0 0 ;
	width: calc(65% - 22px);
}

.searchresult {
	pointer-events: none;
	opacity: 0;
	transition: .5s ease;
    z-index: 555;overflow: hidden;
}

.moduleAddress  .searchresult {
	position: absolute;
}

.searchresult.open {
    background: #FFF;
	opacity: 1;
	pointer-events: initial;
    padding: 10px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
}

.searchresult .line_result {
	padding: 8px 0;
	cursor: pointer;
}

.schoolResult {
	overflow: scroll;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.schoolResul::-webkit-scrollbar {
	display: none;
}


.groupSchool {
	cursor: pointer;
}

.groupSchool input {
	pointer-events: none;
}

/* Teach El */

.teachersContent {
    display: flex;
}

.teachersContainer .titleResult {
	margin: 20px;
	font-size: 24px;
	font-weight: bold;
}

.teachersContent .teachEl {
    background: #FFF;
    border-right: 1px solid #E0E0E0;
    box-shadow: 0 0 10px #EEE;
    border-radius: 10px;
    margin: 10px;
    padding: 2px 20px;
    cursor: not-allowed;
	position: relative;
	overflow: hidden;
    width: calc(25% - 60px);
}

.teachersContent .teachEl:first-child {
    margin-left: 20px
}

.teachersContent .teachEl.pointer {
    cursor: pointer;
}

.teachersContent .teacherGender {
	text-align: center;
	font-weight: bold;
	font-size: 14px;
	margin-bottom: 0;
	color: #333;
}

.teachersContent .teacherName {
	text-align: center;
	font-weight: bold;
	font-size: 24px;
	margin-top: 4px;
	margin-bottom: 8px;
	height: 58px;
	overflow: hidden;
}

.teachersContent .teacherTitle {
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	color: #555;
	margin-top: 8px;
	height: 55px;
	overflow: hidden;
}

.teachersContent .teacherAvailable {
	text-align: center;
	height: 44px;
	color: #d35400;
}

.teachersContent .teachEl.pointer .teacherAvailable {
	color: #080;
}

.queryContainer {
	transition: ease .5s;
}

.queryContainer.noEvent {
	opacity: .4;
	pointer-events: none;
	filter:blur(1px)
}

.btn_book_session {
    background: transparent;
    border: none;
    font-size: 14px;
    padding-top: 50px;
    position: relative;
}

.btn_book_session.select {
	color: #27ae6055;
}

.btn_book_session.select::before {
	content: '';
	background: url('done-green.svg') no-repeat center center / contain;
	position: absolute;
	bottom: 0;
	left: 0;
	top: 0;
	height: 25px;
	width: 25px;
	margin: auto;
	right: 0;
}

.btn_onsite {
	background: url('onsite-neutral.svg') no-repeat center top / 40px;
}

.btn_onsite.select {
	background: url('onsite-selected.svg') no-repeat center top / 40px;
}

.btn_remote {
	background: url('remote-neutral.svg') no-repeat center top / 40px;
}

.btn_remote.select {
	background: url('remote-selected.svg') no-repeat center top / 40px;
}

/* -- Button -- */

button.primary {
	background: #fa9221;
	border: transparent;
	color: #FFF;
	text-shadow: 0 0 3px #3338;
	cursor: pointer;
	font-family: 'Source Sans pro', sans-serif;
	font-size: 16px;
	padding: 6px 14px;
	border-radius: 10px;
}

button.secondary {
	background: transparent;
	color: #fa9221;
	border: transparent;
	cursor: pointer;
	font-family: 'Source Sans pro', sans-serif;
	font-size: 16px;
	padding: 6px 14px;
	border-radius: 10px;
}

button.addParentToPupil,
button.addPlage {
	background: url('more.svg') no-repeat left 8px / 15px;
	border: none;
	cursor: pointer;
	padding: 8px 8px 8px 25px;
	opacity: .3;
	transition: ease opacity .5s;
}

button.addParentToPupil:hover,
button.addPlage:hover {
	opacity: .6;
}



/* ---------- Notification ---------- */

.ctn_notification {
	border-radius: 10px;
	opacity: 0;
	padding: 20px 25px;
	position: fixed;
	right: -50px;
	top: 30px;
	transition: all cubic-bezier(.3,.1,.33,1) .5s;
	z-index: 99;
}

.ctn_notification.checked {
	opacity: 1;
	right: 10px;
}

.ctt_ico,
.ctt_message {
	float: left;
}

.ctt_ico {
	padding-right: 15px;
}

.ctt_message {
	color: #FFF;
	white-space: nowrap
}

.ctt_message a {
	color: #FFF;
	display: block;
	font-size: 12px;
	margin: 4px 0;
}


.red {
	background-color: #e74c3c;
}

.green {
	background-color: #27ae60;
}

.orange {
	background-color: #d35400;
}

.blue {
	background-color: #3498db;
}

.grey {
	background-color: #333333;
}


/* -- Table -- */

table {
	background: #FFF;
	border-right: 1px solid #E0E0E0;
	box-shadow: 0 0 10px #EEE;
	border-spacing: 0;
	border-radius: 10px;
	width: 100%;
}

table td {
	padding: 15px;
	border-bottom: 1px solid #E0E0E0;
}

table tr:last-child td {
	border-bottom: none;
}

table td span {
	color: #555;
	font-size: 14px;
	text-transform: uppercase;
	display: block;
}

/* -- Action button -- */

td.actions div {
	display: flex;
	justify-content: flex-end;
}

button.action {
	background: transparent;
	border: transparent;
	cursor: pointer;
}

button.action svg {
	height: 25px;
	margin-bottom: 7px;
	width: 25px;
}


button.action span {
	font-size: 12px;
}

/* -- Badge -- */

.badge {
	background: #EEE;
	font-size: 14px;
	padding: 6px 9px;
	text-align: center;
	border-radius: 10px;
}

.badge.orange {
	background: #fa9221;
	color: #FFF;
	text-shadow: 0 0 3px #3338;
}


.badge.green {
	background: #60D18A;
}

aside {
	position: fixed;
	overflow-x: hidden;
	opacity: 0;
	right:0;
	transition: ease .5s all;
	width: 0;
} 

aside button.close {
	height: 30px;
	width: 300px;
	background: url('close_icon.png') no-repeat right center / 12px transparent;
	position: fixed;
	top: 0;
	right: 0;
	padding: 10px 25px 10px 5px;
	text-align: right;
	font-size: 12px;
	margin-right: 20px;
	line-height: 12px;
	opacity: .3;
	transition: opacity ease .5s;
	cursor: pointer;
	border: none;
	z-index: 99;
}

aside button.close:hover {
	opacity: .7;
}

aside > div {
	padding: 20px;
	width: 300px;
	position: fixed;
	overflow-y: auto;
	height: calc(100% - 40px);
	-ms-overflow-style: none;
	scrollbar-width: none;
}

aside > div::-webkit-scrollbar {
	display: none;
}

aside.open {
	background: linear-gradient(90deg, #EEE6 0px, #FFF 10px);
	border-left: 1px solid #E0E0E0;
	opacity: 1;
	height: 100vh;
	width: 350px;
}

/* logoutConfirm */

div.logoutConfirm {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #E00;
    color: #FFF;
    padding: 8px 32px;
    border-radius: 10px; 
}

div.logoutConfirm button {
    border: none;
    background: transparent;
    font-size: 18px;
    color: #FFF;
    margin: 0  25px 0 0;
    cursor:pointer;
}

div.logoutConfirm .btn_yes {
    border:1px solid #FFF;
    border-radius: 10px
}

/* -- Action button -- */

td.actions div {
	display: flex;
	justify-content: flex-end;
	gap: 20px;
}

button.action {
	background: transparent;
	border: transparent;
	cursor: pointer;
}

button.action svg {
	height: 25px;
	margin-bottom: 7px;
	width: 25px;
}


.actions button, .cta {
	background:transparent;
	border: 1px solid #999;
	outline: none;
	border-radius: 10px;
	font-size: 15px;
}

a.cta {
	padding-top: 2px;
	padding-right: 6px;
	padding-bottom: 3px;
	padding-left: 6px;
}

tr.hide {
	display: none;
}
/* --- Dropzone --- */

.dropzone {
	background: url('file.svg') no-repeat center center / 50px; 
	border: 1px dashed #E0E0E0;
	border-radius: 5px;
	height: 150px;
	cursor: pointer;
	width: 100%;
}

.hidden_input_dropzone {
	display: none;
}

/* Results */

.results {
    background: #FFF;
    box-shadow: 0 0 20px #3333;
    position: absolute;
    width: 100%;
    border-radius: 10px;
    opacity: 0;
    pointer-events: none;
    z-index: 555;
}

.results > div {
	cursor: pointer;
    padding: 10px 20px;
}

.results.open {
    opacity: 1;
    pointer-events: initial;
}

/* Week days */

.week_days {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    display: flex;
    
    overflow: hidden;
}

.week_days li {
    font-size: 10px;
    padding: 17px 10px;
    cursor: pointer;
    flex: 1;
	text-align: center;
}

.week_days li.selected {
	background: rgba(0, 144, 0, 0.318);
}

.phone {
	display: none;
}

@media only screen and (max-width:1700px) {
	.generalContainer {
		flex-direction: column;
	} 
}


@media only screen and (max-width:600px) {

	header {
		position: fixed;
		width: 100%;
		left: -100%;
		overflow-y: scroll;
		transition: all ease .5s;
		opacity: 0;
		z-index: 555;
	}

	header.open {
		left: 0%;
		opacity: 1;
	}

	main, 
	main.asideOpen {
		padding: 50px 20px 20px;
		width: 100%;
	}
	
	aside {
		pointer-events: none;
		position: fixed;
		right: 0;
		z-index: 99;
	}

	.nav {
		position: relative;
		height: calc(100vh -  100px);
		overflow-y: scroll;
		padding-bottom: 100px;


		-ms-overflow-style: none;
    	scrollbar-width: none;
	}

	.nav::-webkit-scrollbar {
		display: none;
	}

	aside.open {
		pointer-events: initial;
		width: 100%;
	}

	aside > div {
		width: calc(100% - 40px);
	} 

	.flexContainer {
		flex-direction: column;
	}

	.teachersContent {
		flex-direction: column;
	}

	.teachersContent .teachEl {
		width: calc(100% - 60px);
	}

	.teachersContent .teachEl:first-child {
		margin-left: 10px;
	}
	
	table tr td {
		display: block;
		text-align: center;
		border: none;
	}
	
	table tr td:last-child {
		border-bottom: 1px solid #E0E0E0
	}

	td.actions div {
		justify-content: center;
	}

	.desk {
		display: none;
	}

	.phone {
		display: initial;
	}

	.backNav {
		background: url('back.svg') no-repeat 10% center / auto 50%;
		position: fixed;
		color: #555;
		padding: 10px 10px 10px 40px;
		cursor: pointer;
		left: 0;
		right: 50%;
		margin: auto;
		transition: all ease .5s;
		z-index: 5559;
	}

	.backNav.headerOpen {
		left: 50%;
		right: 0;
		padding: 10px 40px 10px 10px;
		background: url('back.svg') no-repeat 90% center / auto 50%;
	}

	.ctn_notification {
		border-radius: 0 0 10px 10px;
		top: -150px;
		right: 0px;
		z-index: 99;
		width: calc(100% - 50px);
		height: auto;
		z-index: 55599;
	}

	.ctn_notification.checked {
		top: 0px;
		right: 0px;
	}

	.ctt_message {
		white-space: initial;
	}
	
	div.logoutConfirm {
        right: 20px;
        z-index: 555;
    }
}