@charset "utf-8";

/* Docstring
Use the Unistra graphic charter. See the given links below for more details.
https://www.unistra.fr/
https://langagevisuel.unistra.fr/

# Swatch color (Nuancier)
Unistra proposes 16 color themes. The 1st (shades of grey) and 9th (shades of blue) are used with the following shades :
Shades of blue
dark:		#333332
bright:		#929292
layette:	#CACACA
light:		#F6F6F6
saturated:	#696260

Shades of blue
dark:		#003F75
bright:		#0070B9
layette:	#8CD3F6
light:		#E2F3FC
saturated:	#0095FF

# Fonts
/*
Exo for title or menu text (tag -> element).
Open for sentence text (tag -> sentence).
 
NOTE: CSS variables are disabled and values are hardcoded because IE11
can't handles them.
*/

/* CSS variables init */
:root {
	/* Colors */
	/*--dark-blue: #003F75;
	--bright-blue: #0070B9;
	--layette-blue: #8CD3F6;
	--light-blue: #E2F3FC;
	--saturated-blue: #0095FF;
	
	--dark-grey: #333332;
	--bright-grey: #929292;
	--layette-grey: #CACACA;
	--light-grey: #F6F6F6;
	--saturated-grey: #696260;*/

	/* General */
	/*--main-padding: 18px;*/
	
	/* Length */
	/*--colla-margin: 49px;
	--sketcher-length: 510px;
	--sketcher-min-length: 370px;
	--dropdown-min-width: 160px;
	--dropdown-max-width: 160px;*/

	/* Dropdown
	It's quite touchy due to the absolute positionning of
	the searchlist conainer*/
	/*--searchlist-border-thikness: 1px;*/
	/*--searchlist-input-padding: 20px;*/

	/*--dropdown-width: 180px;*/

	/* value: 178px*/
	/*--dropdown-searchlist-width: calc(
		  var(--dropdown-width)
		- var(--searchlist-border-thikness) * 2);*/

	/* value: 138px */
	/*--dropdown-searchlist-input-width: calc(
		  var(--dropdown-searchlist-width)
		- var(--searchlist-input-padding) * 2);*/
}

/* Main tag */
html {
	overflow-y: scroll;
}

html, body {	
	font-family: 'Open Sans', sans-serif;
	color: #010101;
	background-color: #F6F6F6;
}

header, article, footer, nav {
	background-color: white;
	margin-right: auto;
	margin-left: auto;
	width: 80%;
}  

header {
	padding: 18px;
	border: 1px solid #929292;
	border-bottom: none;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

article {
	padding: 18px;
	border: 1px solid #929292;
	border-top: none;
}

footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 12px;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 18px;
	padding-right: 18px;
	border: 1px solid #929292;
}

.headertitle > h1 {
	font-family: 'Exo', sans-serif;
	font-style: normal;
	font-weight: 900;
	font-size: 54px;
	margin: 0px;
}

.headertitle > h2 {
	font-family: 'Exo',sans-serif;
	font-weight: bold;
	font-size: 24px;
	margin: 0px;
}

#institution.sublogo {
	display: flex;
	flex: 0 0 auto;
	flex-flow: row wrap;
	justify-content: space-around;
}

#institution.sublogo > img {
	margin: 6px;
	height: 45px;
	width: auto;
	align-self: center;
	flex: 0 0 auto;
}

#powered.sublogo {
	display: block;
/*	display: flex;
	flex-flow: column wrap;
	justify-content: space-around;*/
}

#powered.sublogo > img {
	margin: 6px;
	height: 18px;
	width: auto;
/*	align-self: flex-end;
	flex: 0 0;*/
}

/* Nav */
nav {
	border-left: 1px solid #003F75;
	border-right: 1px solid #003F75;
	
	padding: 0px 18px;
	display: flex;
	justify-content: space-around;
	background-color: #003F75;
}

a.nav {
	font-family: 'Exo',sans-serif;
	font-size: 20px;
	text-decoration: none;
	padding: 10px 20px;
	color: white;
}

a.nav:hover {
	background-color: #0070B9;
}

/* Button */
button {
	color: white;
	font-family: 'Exo',sans-serif;
	background-color: #333332;
	font-size: 14px;
	padding: 10px;
	border: none;
	cursor: pointer;	
}

button:hover {
	background-color: #929292;
}

button#submit {
	font-weight: bold;
	font-size: 18px;
	padding: 12px;
	background-color: #0070B9;
}

button#submit:hover {
	background-color: #003F75;
}

/* Title */
h1 {
	font-family: 'Open Sans',sans-serif;
	font-size: 28px;
}

h2 {
	font-family: 'Open Sans',sans-serif;
	font-size: 24px;
}

h3 {
	font-family: 'Open Sans',sans-serif;
	font-size: 20px;
}

h4 {
	font-family: 'Open Sans',sans-serif;
	font-size: 18px;
}

/* Info */
/*
.info {
	display: flex;
	flex-flow: column nowrap;
	table-layout: fixed;
}

.info>div {
	display: flex;
	flex-flow: row nowrap;
}

.info>div>* {
	flex-grow: 1;
	flex-shrink: 0;
	flex-basis: 100px;
}*/

/* Sketcher */
#sketch {
	flex: 1 1 auto;
	min-width: 300px;
	min-height: 300px;

	width: 100%;
	height: 510px;
}

/* Collabox */
.collabox {
	display: flex;
	flex-flow: column nowrap;
	border-bottom: 1px solid #CACACA;
}

.collaheader {
	display: flex;
	flex-flow: row nowrap;
	background-color: white;
	font-size: 18px;
	
}

.collaheader > button {
	padding: 0px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: row nowrap;
	flex: 0 0 49px;
}

.collaheader > h2 {
	display: flex;
	flex-flow: row nowrap;
	flex-grow: 1;
	flex-basis: 0;
	
	color: #0070B9;
	margin: 0px;
	padding: 8px;
	border: none;
	display: inline;
	vertical-align: middle;
}

.collacontent {
	display: flex;
	flex-flow: row nowrap;
	margin: 0px;
}

.collamargin {
	background-color: #CACACA;
	display: flex;
	flex-flow: row nowrap;
	flex: 0 0 49px;
}

.collabody {
	flex: 1 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	background-color: white;
	padding: 8px 8px 8px 12px;
}

/* Frame */
.frame {
	/*border: 3px solid var(--layette-grey);*/
	padding: 18px;
	flex: 1 0 auto;
	margin: 0px 8px;
}

.frame > h3 {
	margin: 0px 0px 18px 0px 
}

#heatmap .framebody {
	display: flex;
	flex-flow: row nowrap;
}

/* Browser */
/*.browser {
	display: inline;
	float: none; 
}

.browser > div {
	position: relative;
	display: inline;	
}*/

/* Dropdown menu */
.dropdown {
	position: relative;
	display: inline-block;	
}

.dropbutton {
	background-color: #0070B9;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden; 
	text-align: justify;
	min-width: 180px;
	max-width: 180px;
	height: 42px;
}

.dropbutton:disabled {
	background-color: #929292;
}

.dropbutton:hover {
	background-color: #003F75;
}

.dropbutton:disabled:hover {
	cursor: not-allowed;
	background-color: #929292;
}

.dropdown > .searchlist {
	position: absolute;

	min-width: 178px;
	max-width: 178px;
}

.dropdown > .searchlist > .searchinput {
	min-width: 138px;
	max-width: 138px;
}


/* Info table */
table.info {

}

table.info>*>tr>td, table.info>*>tr>th {
	padding: 6px;
}
/*
table.info {
	display: flex;
	flex-flow: column nowrap;
	table-layout: fixed;
}

table.info>thead, table.info>tbody {
	flex: 1 0 0;
	display: flex;
	flex-flow: column nowrap;
}

table.info>thead>tr, table.info>tbody>tr {
	display: flex;
	flex-flow: row nowrap;
}

table.info>*>tr>td, table.info>*>tr>th {
	flex: 0.5 0 130px;
	min-width: 130px;
}*/

/* SearchList */
.searchlist {
	background-color: #f6f6f6;
	overflow: auto;
	border: 1px solid #ddd;
	z-index: 1;
}

.searchinput {
	/*border-box: box-sizing;*/
	background-position: 14px 12px;
	background-repeat: no-repeat;
	font-size: 14px;
	padding:
		10px
		20px
		8px
		20px;
	border: none;
	border-bottom: 1px solid #ddd;
}

.searchinput:focus {
	outline: 3px solid #ddd;
}

.select {
	overflow-y: scroll;
	max-height: 400px;
}

.select a {
	font-size: 14px;
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.select a:hover {
	background-color: #fff;
	cursor: pointer;
}

/* Dynaform */
.dynaform {
	display: flex;
	flex-flow: column nowrap;
}

.dynarow {
	padding: 6px 0px;
	display: flex;
	align-items: center;
	flex-flow: row wrap;
}

.dynarow > * {
	flex-grow: 0;
	flex-shrink: 0;
}

.dynarow > span {
	flex-basis: 120px;
}

/* CheckList */
.checkitem {
	padding-left: 20px;
	list-style-type: none;
}

/* Others */
#direct > .framebody {
	display: flex;
	flex-flow: row wrap;
}

#direct > * {
}

#viewport {
	flex: 1 1 auto;
	min-width: 510px;
	min-height: 510px;
	width: 100%;
}
