html
{
	position: relative;
	min-height: 100%;
}

body
{
	background: #fff;
	margin-top: 80px;
	margin-bottom: 70px;
}

#main-menu
{
	background: #333;
}

#footer
{
	/* Set the fixed height of the footer here */
	font-size: 80%;
	text-align: center;
	width: 100%;
	background-color: transparent;
	text-shadow: 0 0 3px #fff;
	position: absolute; bottom: 0;
	padding: 25px;
	color: rgba(0, 0, 0, .84);
	text-shadow: 0 0 3px rgba(255, 255, 255, .42);
}

#footer a
{
	color: rgba(0, 0, 0, .7);
}


#query-parameters-layer
{
	display: none;
}

/* reset labels paddings & margins */
label
{
	margin: 0; padding: 0;
}

.row
{
	margin-top: 7px;
}

a.label
{
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

/* fix checkboxes and radio in label-buttons */
label.btn
{
	padding: 5px 10px;
}

label.btn input[type="checkbox"], label.btn input[type="radio"]
{
	position: relative;
	top: 1px;
}

/* fix margin in dropdowns */
.dropdown-menu input[type="text"],
.dropdown-menu input[type="password"],
.dropdown-menu input[type="submit"]
{
	margin-bottom: 2px;
	min-width: 150px;
}

/* fix labels in dropdowns */
.dropdown-menu label
{
	display: block;
	white-space: nowrap;
	font-weight: normal;
	cursor: pointer;
}

/* fix buttons margin */
.btn
{
	margin-bottom: 5px;
}

/* fix modal scrollbars */
.modal
{
	overflow-y: auto;
}

/* accordion tab link to container width */
#help-accordion .panel-heading a
{
	display: block;
}

/* popovers */
.popover-content
{
	font-size: 80%;
}

.popover-content ul
{
	margin: 0; padding: 5px 0 0 15px;
	list-style-position: outside;
}

/* datepickers */
.ui-datepicker
{
	font-size: 90%;
}

/* selectpickers */
.selectpicker
{
	max-width: 100%;
	margin-bottom: -5px;
}

.bootstrap-select .dropdown-menu
{
	top: 15px;
	overflow-x: hidden;
	font-size: 95%;
}

.bootstrap-select .dropdown-menu>li>a:hover, .bootstrap-select .dropdown-menu>li>a:focus
{
	color: #fff;
	background: #5bc0de;
	outline: none;
	border: 0;
}

.selectpicker span.label.pull-right
{
	position: absolute;
	top: 2px; right: 0;
}


/* custom rules */
.nomargin
{
	margin: 0;
}

input[type="date"]
{
	height: 1.5em;
}

th
{
	white-space: nowrap;
}

th .glyphicon:hover
{
	color: #5bc0de;
	cursor: pointer;
}

td.ul-name a
{
	display: block;
}


#banner {
	display: none;
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 2;
}
#banner > a {
	display: block;
	width: 100%;
}
#banner > a > img {
	width: 100%;
}

#banner .close {
	position: absolute;
	top: 23px;
	right: 10px;
}
#banner .close {
	opacity: 1;
}
#banner .close a {
	font-size: 24px;
	color: #f00;
	text-decoration: none;
}

.news .date { font-style: italic; color: #00a; margin: 0; padding: 0; }
.news hr { margin-bottom: 0; }
