body {
	margin:0;
}
#header {
	background: white url("../img/CanWorkLogo.png") no-repeat scroll 50px center;
	color: rgb(4,49,71);
	border-bottom: 1px solid #CCCCCC;
  	background-size: 175px;
	margin-top: 82px;
	transform: translateY(-82px);
}
#header #logo .css_bold {
	font-weight: normal;
	font-size: 24px;
}
#header small {
	font-size: 16px;
	color: rgb(44,163,45);
}
#breadcrumb {
	margin-top: 42px;
	transform: translateY(-42px);
}
#calendrierPatient {
	transform: translateY(40px);
}
#footer {
	border-top: 1px solid #CCCCCC;
	background: rgb(4,49,71);
	color: white;
}
#header a {
	color: rgb(4,49,71);
}
#header a:hover{
	color: rgb(176,174,174);
}

a:link, a:visited, .elementMenu {
	color: #666666;
}
a:hover {
	color: rgb(4,49,71);
}
#menu-patient {
	background: #EEEEEE;
	display: flex;
	height: unset;
}
#menu-patient li a {
	color: #666666;
	padding: .5rem 1rem;
	height: unset;
}
#menu-patient li a:hover {
	color: rgb(4,49,71);
	background: #FDFDFD;
}
#logo{
	left: 250px;
}
#logo .css_bold{
	padding-top: 7px;
	display:inline-block;
}
#corps {
	width: calc(100% - 235px - .5rem);
}
.connexion h2 {
    color:  rgb(4,49,71);
}
.information_haut{
	background-color: rgb(4,49,71);
}

.titrebox {
	background-color: rgb(4,49,71);
}

.elementMenu {
	border-color: rgb(4,49,71);
	background-color: #EEEEEE;
}

.elementMenu ul li a:hover {
	background-color: rgb(44,163,45);
	color: white;
}

.calendrier-groupe-pere {
	background-color: rgb(4,49,71);
}
.calendrier-sous-groupe {
	color: rgb(17,165,231);
}
#contenuPage tr td.tdtit{
	background-color: rgb(4,49,71);
}
table.scrollTab, #scrollTab, table.scrollTab td, #scrollTab td {
	border: thin solid rgb(4,49,71);
	color: #333333 !important;
}
table.scrollTab th, #scrollTab th, table.scrollTab thead tr, #scrollTab thead tr, table.scrollTab thead tr td, #scrollTab thead tr td {
    background-color: rgb(4,49,71) !important;
    border: thin solid rgb(4,49,71);
    color: white !important;
}
table.scrollTab tbody tr:nth-child(2n+1), #scrollTab tbody tr:nth-child(2n+1), table.scrollTab tr:nth-child(2n+1), #scrollTab tr:nth-child(2n+1) {
	background: #EEEEEE;
}
table.scrollTab tbody td.td-rouge, #scrollTab tbody td.td-rouge {
	background: #FFCCCC;
	color: red;
}
button, input[type="submit"], input[type="reset"], input[type="button"] {
    color: rgb(4,49,71);
    font-weight: bold;
    background: #E0E0E0;
    border: 1px solid #999999;
}

button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
    background-color: rgb(4,49,71);
}
.titresNouvelleConversation {
    color: white;
    background-color: rgb(4,49,71);
}

.Gras{
    font-weight: bold;
}

.frame-formulaire {
	width: 100%;
	height: 98%;
}
#contenuPage {
	position: relative;
	width: 100%;
	float: left;
}

#span-erreur {
	padding: .25rem;
	color: red
}
/*Consignes des bordereaux*/
.consigne-wrapper {
    width: calc(100% - 48px);
  	margin-left: 38px;
	border: thin solid #2A6887;
}
.tabitm.consigne-wrapper {
    margin: 1.5rem auto;  
}
.display-instr, .hide-instr {
    display: block;
    margin: auto;
}
.consigne-content {
    display: block;
    background: #FCFCFC;
    padding: 10px 22px;
    margin: auto;
    border: 1px solid #FCFCFC;
}

.consigne-content.hidden {
    display: none;
}
.consigne-wrapper h2 {
    font-family: 'Nexa', Verdana, sans-serif;
    font-variant-caps: small-caps;
    font-size: 13pt;
    font-weight: normal;
}
.consigne-content hr {
    border-color: #003a80;
}

.consigne-content p{
   display: inline-block;
    margin: 0;
}
.consigne-content .consignes-pic {
    margin: 0;
    margin-right: 15px;
    vertical-align: bottom; 
    display: inline-block;
}
.consigne-content{
    background: white;
    color: #2A6887;
}
.consigne-title {
    margin: auto;
    background: #2A6887;
    padding: 10px 22px;
    color: white;
    font-weight: bolder;
}
.consigne-title:hover {
    cursor: pointer;
}
.consigne-title .fa-hand-point-right {
    font-size: 16px;
    margin-right: 5px;
}
.consigne-title .fa-hand-point-right {
    vertical-align: bottom;
}
.consigne-title .fa-chevron-up, .consigne-title .fa-chevron-down {
    font-size: 16px;
    float: right;
}

.consigne-wrapper p, .consigne-wrapper li {
    font-size: 12pt;
}

/*** Création & gestion de comptes ***/
#divCompteEpro {
	max-width: 600px;
}
#divCompteEpro .row {
	justify-content: space-around;
}
.input-wrapper input, .row input {
	margin-left: 1rem;
}
.input-wrapper label, .row label {
	display: inline-block;
	min-width: 100px;
}
#creerCodesPatient {
	display: block;
	margin: 1rem auto .5rem;
}

.Titretab {
    background-color: rgb(201, 199, 227);
}
.consent-row-input, #consent-body section p, #signAcceptMessage, .consent-sign-input, #token-wrapper {
	font-size: 11pt;
}

.consent-row-input {
	display: grid;
	grid-template-columns: 4fr 1.25fr;
	margin-bottom: 1rem;
}

.input-container {
	padding-left: 1rem;
}

#eSignatureForm h2 i {
	margin-right: .5rem;
}

#signAcceptMessage {
	width: 85%;
	margin-bottom: 1rem;
}

#token-wrapper {
	width: 83%;
	margin: auto;
}

#pdf-wrapper embed {
	width: 100%;
	height: 80vh;
}
.consent-b-u {
	font-weight: bold;
	text-decoration: underline;
}

#toutAfficher, #toutMasquer {
	display: inline-block;
	margin-top: 40.5px;
}

/** Echelles **/
.echelle {
	display: inline-block;
	margin-top: 15px;
	margin-bottom: 15px;
	width: 100%;
}
#corps #contenuPage table .echelle img {
	vertical-align: top;
}
.libBold {
	font-weight: bold;
}
#contenuPage .tabitm tr td.no-border {
	border-bottom: unset;
}
.slider {
	height: 394px;
	margin: 1rem 0;
}
.simple-slider {
	margin: auto;
	max-width: 1200px;
}
#contenuPage .tabitm tr td.simple-slider {
	padding: .5rem 1rem;
}
.ui-widget-content.ui-slider-vertical {
	margin: 0 auto;
	margin-top: 10px;
	background: rgba(0, 0, 0, 0) url("/specif/SUPPORT/img/slider.png") no-repeat scroll center center;
	width: 20px;
	height: 394px;
	display: inline-block;
}
.ui-widget-content.ui-slider-vertical .ui-slider-handle {
	background: red !important;
	border-radius: 50px !important;
	width: 0.7em;
	height: 0.7em;
	left: 5px;
	margin-bottom: -8px;
}
input.echelle_score_disabled {
    background: white none repeat scroll 0 0;
    color: black;
    font-size: 24px;
    text-align: center;
	border: 2px solid black;
}
#scoreHealth{
	margin:auto;
	padding: 10px;
	margin: 0 auto;
	color: white;
	font-weight: bold;
	text-align: center;
}
#sliderV6__ {
	border: none;
}
.scale-V6__ {
	color: black;
	border: none;
}
#scoreHealthContainer {
	text-align: right;
	margin-right: 10px;
}
.labelAnswers {
  min-width: 80%;
  display: inline-block;
  margin-bottom: 10px;
}
#explicationScale {
	width: 50%;
}
#explScale {
	margin: auto;
  	width: fit-content;
}
.slider-caption, .slider-score {
	display: flex;
	justify-content: space-between;
}
.slider-caption {
	margin-bottom: .5rem;
}
.slider-score div:not(.score-wrapper) {
	font-size: 12pt;
	padding-top: .5rem;
}
#menuOuvrir, #menuFermer {
	display: none;
}
.row {
	width: 80vw;
	margin: 1rem auto;
}
#maj-coord {
	margin-left: unset;
}

#btn-wrapper {
	padding-bottom: .5rem;
}
#create-centre {
	margin-left: 0;
}
#content.full-window {
	padding: unset;
	width: unset;
}
#corps.full-width {
	width: 100%;
	margin-left: unset;
}
table[id^="tableCi"] {
	width: 100% !important;
}

/*** Compat mobile ***/
@media only screen  and (orientation: portrait) {
	body, #content {
		width: 100vw !important;
	}
	#logo {
		display: none;
	}
	#header {
		background-position-x: center;
		width: 100vw;
	}
	#banner {
		width: auto;
	}
	#content {
		padding-top: 5rem;
		padding-left: unset;
	}
	#corps {
		width: 100%;
		margin: auto;
	}
	#contenuPage form > .tabitm, #contenuPage .tabitmscroll {
		width: 45vw;
    	margin-left: 1.5vw;
	}
	#contenuPage {
		float: unset;
	}
	#consent-body section h2 {
		font-size: 20pt;
	}
	.titre-important {
		font-size: 16pt;
	}
	.checkboxEcrf {
		margin-right: .5rem;
	}
	label[for^="CK"] {
		vertical-align: super;
	}
	.connexion {
		width: 95vw;
		margin:auto
	}
	#msg-connexion {
		width: unset;
		font-size: 12pt;
		line-height: 1rem;
	}
	
	#corps {
		width: 100%;
		margin: auto;
	}
	#corps center h1, #contenuPage {
		width: 95vw;
		margin: auto;
	}
	#corps center h1 {
		font-size: 22pt;
		margin-top: 1rem;
	}
	#header {
		margin-top: 82px;
		transform: translateY(-82px);
	}
	#menu-patient {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		height: unset;
		position: unset;
		margin-bottom: 0;
	}
	#menu-patient li {
		text-align: center;
	}
	#menu-patient li:nth-child(odd) {
		border-right: 1px solid #DDDDDD;
	}
	#menu-patient li {
		border-bottom: 1px solid #DDDDDD;
	}
	#menu-patient li a {
		padding: .5rem 0;
		border-right: unset;
	}
	#contenuPage .tabitmscroll > .tabitm {
		table-layout: fixed;
		width: 100%;
	}
	td.tdlibitm {
		white-space: normal;
	}
	#contenuPage form > .tabitm, #contenuPage .tabitmscroll {
		width: 90vw;
    	margin-left: 1.5vw;
	}
	#contenuPage .tabitmscroll > .tabitm {
		table-layout: fixed;
		width: 100%;
	}
	td.tdlibitm {
		white-space: normal;
	}
	#validFormButtons, #consent-commands {
		margin-bottom: 3rem;
	}
	#title_delete {
		width: 10vw;
	}
	.ligne_observation .hasDatepicker, .ligne_observation textarea {
		max-width: 15vw;
        font-size: 10px;
	}
	#pdf-wrapper embed {
		height: unset;
	}
	.cal_patient_ul {
		padding-left: unset;
	}
	.cal_patient_li a {
		font-size: 22pt;
		padding: 1rem 2rem;
		margin-bottom: 2.5rem;
	}
	#consent-body {
		width: 95vw;
    	margin: auto;
	}
	.input-container input[type="checkbox"] {
		transform: scale(1.2);
	}
	.form-label {
		min-width: 25vw;
	}
	.row {
		width: 85vw;
    	margin: 1rem auto;
	}
	.row label {
		min-width: 15vw;
	}
	#calendrierPatient {
		transform: translateY(-5px);
	}
	#maj-coord {
		display: block;
		margin: 1.5rem auto;
	}
	#contactSupport .contact-element-titre {
		min-width: 32vw;
	}
	#contactSupport .contact-element-valeur {
		margin-left: 1rem;
	}
	.ligne_observation_entete .tdtit {
		font-size: 7.5pt;
    	word-break: break-word;
    	font-weight: normal !important;
	}
	.connexion label, .consent-sign-input .form_label {
		width: 30vw;
		min-width: unset;
	}
	.connexion input {
		max-width: 40vw;
	}
	#msg-pwd {
		width: 80vw;
		min-width: unset;
	}
	#ch-mdp .row {
		margin-left: 5vw;;
	}
	#ch-mdp .row input {
		margin-left: unset;
	}
	#ch-mdp .row-label {
		width: 40vw;
		margin-right: 2rem;
		text-align: right;
	}
	#ch-mdp .row:last-child .row-label {
		display: none;
	}
	#ch-mdp .row:last-child .row-content {
		text-align: center;
	}
	.consent-button-wrapper, #validFormButtons {
		text-align: unset;
		display: flex;
		justify-content: space-around;
	}
	
	.tdlibitm select {
		max-width: 92.5%;
	}

	/*** Table override ***/
	table.tabitm:not(#OBSERVATION) {
		line-height: 1.75rem;
    	font-size: 14pt;
	}
	#contenuPage .tabitm:not(#OBSERVATION) tr {
		background: #FCFCFC;
		display: flex;
		flex-direction: column;
	}
	#contenuPage table.tabitm:not(#OBSERVATION) tr td {
		display: block;
		width:auto;
		background-color: #FCFCFC;
		padding: .5rem 1rem 1.5rem;
	}
	#contenuPage table.tabitm:not(#OBSERVATION) tr td:first-child {
		padding: .75rem .5rem;
		background-color: #EEEEEE;
	}
	#contenuPage table.tabitm:not(#OBSERVATION) tr td.tdtit {
		background-color: #003a80 !important;
	}
	table.tabitm:not(#OBSERVATION) .checkboxEcrf {
		display: inline-block;
		vertical-align: top;
		transform: scale(1.5);
        margin-top: .35rem;
	}
	table.tabitm:not(#OBSERVATION) input, table.tabitm:not(#OBSERVATION) textarea {
		font-size: 14pt;
        display: inline-block;
	}
	table.tabitm:not(#OBSERVATION) input {
        margin-right: .5rem;
	}
	table.tabitm:not(#OBSERVATION) textarea {
		width: 90%;
	}
	table.tabitm:not(#OBSERVATION) label[for^="CK"] {
        display: inline-block;
        margin-left: .5rem;
		max-width: 65vw;
	}
	table.tabitm:not(#OBSERVATION) td.tdlibitm .checkboxEcrf:nth-child(4) {
		margin-left: 2rem;
	}
	#contenuPage table.tabitm:not(#OBSERVATION) tr {
		height: unset;
	}
	.consent-button-wrapper button, form[name^="CANWORK_"]:not(form[name="CANWORK_11"]) #validFormButtons button {
		padding: .5rem 1rem;
        font-size: 14pt;
	}
	form[name="CANWORK_11"] #validFormButtons button {
		padding: .5rem;
	}
	#TRVSCALE {
		display: flex;
  		flex-direction: column-reverse;
	}
	#sliderTd {
		display: flex;
  		flex-direction: column;
	}
	.consigne-wrapper {
		margin: 1rem auto 1.5rem;  
		width: 90vw;
	}
}