:root{
	--font: "Roboto", sans-serif;
}
.app{
	position: absolute;
	inset: 0;
	font-family: var(--font);
	font-weight: 400;
	font-size: 16px;
	color: #113a62;
	background: #fff;
}
input:not([type="checkbox"]), textarea, select {
	display: block;
	height: 40px;
	width: 100%;
	border: 2px solid #aecbe6;
	color: #113a62;
	font-family: var(--font);
	font-weight: 400;
	font-size: 16px;
	border-radius: 10px;
	padding: 0 5px;
	margin: 0 0 10px 0;
}
a, a:visited, a:active {
	text-decoration: none;
	color: inherit;
}
.btn{
	width: fit-content;
	padding: 10px 25px;
	background: #0a75ad;
	color: #fff;
	font-weight: 600;
	border-radius: 9px;
}


/*=== LOGIN ===*/
.login{
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.login-img{
	width: 100%;
	height: 45%;
	background: url("../../clientside/images/login_bg.jpeg") no-repeat center /cover;
	clip-path: polygon(0 0, 0 100%, 100% 80%, 100% 0);
}
.login-form{
	width: 100%;
	height: 55%;
	padding: 10px 20px;
}
.login-logo{
	text-align: center;
	font-size: 36px;

}
.login-logo > span{
	font-weight: 600;
	color: #0a75ad;
}
.login-btn{
	margin: 30px auto 0;
}

/*=== HOME ===*/
.home{
	height: 100%;
	background: #e9eff3;
}

.header-content{
	background: #fff;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 10px;

}
section{
	height: 100%;
	position: relative;
	display: flex;
	align-items: stretch;
	--navWidth: 260px;
}
nav{
	height: 100%;
	width: var(--navWidth);
	background: #234464;
	color: #fff8;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
}
.navButton{
	margin: 10px;
	padding: 5px 10px;
	display: flex;
	align-items: center;
	font-size: 16px;
	cursor: pointer;
	border-radius: 9px;
	font-weight: 300;
	position: relative;
}
.navButton:hover{
	background: #0002;
}
.navButton.navActive {
	color: #fff;
}
.navMarker{
	position: absolute;
	top: 0;
	bottom: 0;
	right: -5px;
	width: 5px;
	background: #219fd5;
	border-radius: 20px;
	display: none;
}
.navButton.navActive .navMarker{
	display: block;
}
.navButtonIcon{
	--size: 27px;
	display: flex;
}
.navButtonIcon .material-symbols-rounded{
	font-size: var(--size);
	height: var(--size);
	width: var(--size);
	overflow: hidden;
}
.navButtonText{
	padding: 0 0 0 6px;
}
.navDown{
	margin: auto 0 0 0;
}
.consultButton{
	background: #219fd5;
	color: #fff;
	margin: 15px auto 10px;
	padding: 8px 20px;
	display: flex;
	align-items: center;
	font-size: 16px;
	cursor: pointer;
	border-radius: 30px;
	font-weight: 300;
	width: fit-content;

}
.logoutButton{
	margin: 0 0 0 auto;
}
.logoutButton:hover{
	color: #219fd5;
}
main{
	height: 100%;
	position: relative;
	width: calc(100% - var(--navWidth));
}
.logo{
	font-size: 26px;
	padding: 5px 0;
	text-align: center;
	color: #fff;
	background: #0002;
}
.logo > span{
	font-weight: 600;
	color: #0a75ad;
}
.tile-menu{
	padding: 5px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.tile{
	width: 100%;
	background: #fff;
	margin: 20px;
	border-radius: 9px;
	padding: 40px 0;
	text-align: center;
	cursor: pointer;
}

/*=== HISTORIQUE ===*/
.histo-vp{
	height: 100%;
	position: relative;
}
.histo-header{
	height: 40px;
	background: #fff;
	border-top: 1px solid #e9e9e9;
}
.histo-body{
	height: calc(100% - 100px);
}
.histo-footer{
	height: 60px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}


/*=== Consultation ===*/
.consult-vp{
	height: 100%;
	overflow: auto;
}
.consult-top{
	height: calc(100% - 60px);
	padding: 5px;
	display: flex;
	flex-direction: column;
}
.consult-top textarea.consult-content{
	height: 100%;
	resize: none;
	flex-grow: 1;
	margin: 0;
}
.consult-bot{
	height: 60px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.consult-form-patient{
	--nbRows: 1;
	margin: 5px;
	padding: 10px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 1px 3px #0002;
}
.consult-vp h2{
	font-size: 38px;
	font-weight: 100;
	opacity: .9;
	text-align: center;
	padding: 20px 0;
}
.myInput-empty{
	padding: 5px 10px;
}
.consult-btn{
	text-align: center;
	background: #def;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.consult-hidden-patient{
	display: none;
}
.consult-patient-recap{
	font-size: 14px;
	line-height: 18px;
	flex-shrink: 0;
}
.consult-numsecu{
	color: #0a75ad;
}
.consult-form-patient-flex{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
.consult-genre{
	text-align: right;
	line-height: 14px;
}
.consult-buttongroup{
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
}
.consult-buttongroup button{
	background: #e0e0e0;
	border: none;
	padding: 10px 15px;
	margin: 0;
	cursor: pointer;
}
.consult-buttongroup button:first-child{
	border-radius: 10px 0 0 10px;
}
.consult-buttongroup button:last-child{
	border-radius: 0 10px 10px 0;
}
.consult-buttongroup button[selected]{
	background: #0a75ad;
	color: #fff;
}
.consult-buttongroup button:not(:first-child){
	border-left: 1px solid #0003;
}
.consult-center{
	width: calc(100% - 20px);
	max-width: 1000px;
	margin: 0 auto;
}
.consult-transcription-player{
	padding: 15px;
	background: #fff;
	border-radius: 9px;
	margin: 0 0 15px 0;
}
.consult-player-graph{
	height: 150px;
	width: 100%;
}
.consult-button{
	background: #0a75ad;
	color: #fff;
	border-radius: 20px;
	width: fit-content;
	padding: 5px 20px;
	cursor: pointer;
}
.consult-button-gotoform{
	margin: 15px auto 0;
}
.consult-button-record{
	transition: transform 330ms ease-in-out;
}
.consult-button-record.active{
	background: #a92323;
	outline: solid rgba(169, 35, 35, 0.38);
	outline-width: 0;
	animation: 1s linear pulseOutline infinite;
}
.consult-transcription-input{
	resize: vertical;
	height: 600px;
	padding: 5px;
}
.consult-form-patient-content {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
}
.consult-form-patient-content label {
	width: calc(100% / var(--nbRows));
	padding: 0 5px;
}

/* === PATIENT === */
.patient-vp{
	height: 100%;
	overflow: auto;
}
.patient-form{
	padding: 8px;
}

/* === UI === */
.list-grid{
	margin: 8px;
	border: 1px solid #1e3b57;
	border-radius: 6px;
	overflow: hidden;
}
.list-row {
	display: flex;
	align-items: stretch;
}
.list-cell {
	padding: 5px;
}
.list-header{
	background: #1e3b57;
	color: #fff;
}
.list-hcell{
	font-weight: 500;
}
.list-body > .list-row:nth-child(odd){
	background: #fff6;
}
.list-action{
	cursor: pointer;
}
.dialog {
	--footHeadSize: 95px;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 9px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	background-color: #fff;
	z-index: 1000;
	min-width: 350px;
}

.dialog-modal{
	position: fixed;
	inset: 0;
	background: #3597fa5c;
	z-index: 900;
}

.dialog-header {
	padding: 6px 10px;
	cursor: move;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.dialog-title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}

.dialog-close {
	cursor: pointer;
	font-size: 20px;
	padding: 0 5px;
}

.dialog-body {
	padding: 10px;
	min-height: calc(100% - var(--footHeadSize));
	overflow: auto;
}
.dialog-content {
	min-height: 50px;
}

.dialog-footer {
	padding: 10px;
	text-align: right;
	border-top: 1px solid #eee;
}

.dialog-footer button {
	--hoverColor: #0a75ad;
	margin-left: 5px;
	border: none;
	padding: 8px 18px;
	border-radius: 9px;
	cursor: pointer;
	transition: .2s;
}
.dialog-footer button:hover{
	background: var(--hoverColor);
	color: #fff;
}


@keyframes pulseOutline {
	0% {
		outline-width: 0;
	}
	40% {
		outline-width: 3px;
	}
	80% {
		outline-width: 8px;
	}
	100% {
		outline-width: 0;
	}
}
@media all and (min-width: 550px) {

}
@media all and (min-width: 750px) {
	.login{
		flex-direction: row;
	}
	.login-img{
		width: 45%;
		height: 100%;
		clip-path: polygon(0 0, 0 100%, 100% 100%, 80% 0);
	}
	.login-form{
		width: 55%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.login-form-content{
		width: 100%;
		max-width: 300px;
	}
}
@media all and (min-width: 1000px) {

}
@media all and (min-width: 1200px) {
	.login-img{
		width: 65%;
	}
	.login-form{
		width: 35%;
	}
}
@media all and (min-width: 1400px) {

}
@media print{
	.mybo-mate{
		display: none !important;
	}
	.consult-form-patient{
		box-shadow: none !important;
	}
}