/*
Couleurs IRSTEA :
marine : 	#003A80; rgb(0,58,128)
ocean:		#009EE0; rgb(0,158,224)
prairie :	#A4C400; rgb(164,196,0)
red: #D1041D, rgb(213,19,23);
*/
/* Wrapper for page content to push down footer */
html,
body {
	height: 99%;
}

/*@media (max-width: 991px) {
    .form-control, .btn, li, ul, .dropdown-menu, .center-block,
    #message, label, div {font-size: 1.1em;}
}
@media (max-width: 991px) {
	select {min-height: 2em;}
}
*/

#wrap {
	min-height: 100%;
	height: auto !important;
	height: 99%;
	/* Negative indent footer by its height */
	margin: 0 auto -80px;
	/* Pad bottom by footer height */
	padding: 0 0 80px;
}

#footer {
	height: 80px;
}

.form-horizontal {
	border-style: solid;
	border-width: 1px;
	/*background:  #98c1e9;*/
	background-color: rgba(0, 158, 224, 0.1);
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

.red {
	color: #D1041D;
}

.blue {
	color: #003A80;
}

.green {
	color: #A4C400;
}

.message {
	font-style: italic;
	color: #003A80;
}

.messageError {
	color: #D1041D;
}

/* italique gris petit*/
.messagebas {
	color: #A4C400;
	font-size: small;
	font-style: italic;
}

h1 {
	font-size: x-large;
}

h2 {
	font-size: x-large;
}

h3 {
	font-size: large;
}

legend {
	font-size: large;
	color: #003A80;
}

.textareaDisplay {
	white-space: break-spaces;
	display: normal;
}

.tableTextarea {
	white-space: pre-wrap;
}

/*
 * Affichage des informations dans un masque
 */
.form-display {
	border-style: solid;
	border-width: 1px;
	/*background:  #98c1e9;*/
	background-color: rgba(0, 158, 224, 0.3);
}


.form-display dt {
	white-space: pre-wrap;
	text-overflow: clip;
}

.form-display dd {
	word-wrap: break-word;
	border-style: solid;
	border-width: 1px;
	/*min-height: 20px;*/
	border-radius: 0.4em;
	background-color: white;
}

/*.form-display > row > label {
	text-align: right;
	word-wrap: break-word;
}*/
.display {
	word-wrap: break-word;
	border-style: solid;
	border-width: 1px;
	min-height: 20px;
	border-radius: 0.4em;
	background-color: white;
}

/* Ajouts pour le composant datetimepicker */
.datepicker {
	background-image: url("images/calendar-small.gif");
	background-size: 1em;
	background-repeat: no-repeat;
	background-position: 100% 50%;
}

.datetimepicker {
	background-image: url("images/clock.png");
	background-size: 1em;
	background-repeat: no-repeat;
	background-position: 100% 50%;
}

/* Ajouts pour le composant combobox */
.ui-state-default,
.ui-button {
	background: white;
}

.custom-combobox {
	position: relative;
	display: inline-block;
	width: 95%;
}

.custom-combobox-toggle {
	position: absolute;
	top: 0;
	bottom: 0;
	padding: 0;
	right: -1px;
}

/* Espacement entre deux lignes */
.top5 {
	margin-top: 5em;
}

.top10 {
	margin-top: 10em;
}


.mapDisplay {
	/*Affichage des cartes OSM*/
	width: 400px;
	height: 400px;
}

.map {
	/*Affichage des cartes OSM*/
	width: 100%;
	min-height: 400px;
	height: 80%;

}

.mapSearch {
	position: relative;
	height: 250px;
	width: 90%;
}

.scrolltotop {
	position: fixed;
	bottom: 5px;
	right: 5px;
}

.lexique dd {
	margin-bottom: 1em;
}

.lexique dt {
	white-space: pre-wrap;
	text-overflow: clip;
}

td a {
	display: inline-block;
	height: 100%;
	width: 100%;
}

/* Affichage de la structure de la base de donnees */
.tablename {
	margin-top: 1em;
	background: #003A80;
	font-size: large;
	color: white;
}

.tablecomment {
	color: #009EE0;
}

.itemSelected {
	background: #009EE0;
}

meter {
	/* Reset the default appearance */
	/*-webkit-appearance: none;*/
	-moz-appearance: none;
	appearance: none;
	margin: 0 auto 1em;
	width: 100%;
	height: .5em;
	/* Applicable only to Firefox */
	background: none;
	background-color: rgba(0, 0, 0, 0.1);
}

meter::-webkit-meter-bar {
	background: rgba(0, 0, 0, 0.1);
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2) inset;
	border-radius: 3px;
}

meter::-webkit-meter-optimum-value {
	background: #009EE0;
}

meter::-webkit-meter-suboptimum-value {
	background: #009EE0;
}

meter::-webkit-meter-even-less-good-value {
	background: #009EE0;
}

meter[value="1"]::-moz-meter-bar {
	background: #D1041D;
}

meter[value="2"]::-moz-meter-bar {
	background: #003A80;
}

meter[value="3"]::-moz-meter-bar {
	background: #009EE0;
}

meter[value="4"]::-moz-meter-bar {
	background: #A4C400;
}

.messageLevel1 {
	color: #D1041D;
}

.messageLevel0 {
	color: #D1041D;
}

.messageLevel2 {
	color: #003A80;
}

.messageLevel3 {
	color: #009EE0;
}

.messageLevel4 {
	color: #A4C400;
}

/* Nav */

.tab-content {
	/*background-color: rgba(0, 158, 224, 0.1);*/
	border-top: 2px solid rgba(0, 158, 224);
	border-right: 0px;
	padding: 10px;
}

.tab-content-white {
	background-color: white;
	padding: 5px
}

.nav-tabs>li>a {
	border: medium none;
	background-color: rgba(0, 158, 224, 0.2) !important;
}

.nav-tabs>li.active a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:visited {
	background-color: rgba(0, 158, 224) !important;
	color: #fff;
	border: medium none;
	border-radius: 0.5;
}

.trashed {
	background-color: rgba(213, 19, 23, 0.5);
}

.tooltiplink {
	text-decoration: underline dotted;
	vertical-align: top;
}

.ui-tooltip {
	max-width: 1200px;
}

.ui-tooltip-content {
	max-width: 1200px;
}

.nowrap {
	white-space: nowrap;
}

.top {
	vertical-align: text-top;
}

table {
	width: 100%;
}

table a {
	text-decoration: underline;
}

table a:hover {
	/*text-decoration: underline;*/
	color: #003A80;
}

table a:visited {
	/*text-decoration: none;*/
	color: #009EE0;
}

.tableinput {
	width: 100%;
}

.lexical {
	/* display a question image into the field */
	background-image: url("images/question.png");
	background-size: 4pt 7pt;
	background-repeat: no-repeat;
	background-position: 100% 50%;
}

thead {
	/*background-color: #fff;*/
	color: rgb(0, 58, 128);
}

th {
	font-weight: normal;
	text-align: center;
}

tr {
	width: 70%;
}

.hover {
	cursor: pointer;
}

/* bootstrap hack: fix content width inside hidden tabs */
.tab-content>.tab-pane:not(.active),
.pill-content>.pill-pane:not(.active) {
	display: block;
	height: 0;
	overflow-y: hidden;
}

/* bootstrap hack end */

.submenu {
	border-bottom: solid;
	border-right: solid;
	border-bottom-color: rgba(0, 158, 224);
	border-right-color: rgba(0, 158, 224);
	background-color: rgba(0, 158, 224, 0.1);
	list-style: none;
}

.metadataDescription {
	color: #aaa;
	font-size: 12px;
}

.brmetadata {
	content: "";
	display: block;
	height: 5em;
}

input:invalid {
	border: 1px solid red;
}

.move:hover {
	cursor: move;
}

.disabled {
	color: gray;
	/* Change text color for disabled tab */
	pointer-events: none;
	/* Prevent any interaction */
}