
/* ======================================================================
									Flat UI Pro theme style overwrites
====================================================================== */
body {
	line-height: 1.231;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: 400;
}

small, .small {
	line-height: 1.5em !important;
}

.btn-primary, .btn-primary:focus, .btn-info, .btn-info:focus {
	background: #59554e !important;
	color: #D9A600 !important;
}
.btn-primary:hover, .btn-primary:active, .btn-info:hover, .btn-info:active {
	background: #736E65 !important;
	color: #FFC400 !important;
	outline:0;
    outline:none;
}
.btn-outline, .btn-outline:focus {
	background: none;
	border: 1px solid #59554e !important;
	color: #59554e !important;
}
.btn-outline:hover, .btn-outline:active {
	background: #59554e !important;
	color: #D9A600 !important;
}
.open .dropdown-toggle.btn-primary {
	background: #5E5E5E;
}
.btn-primary:focus, .open .dropdown-toggle.btn-primary {
	color: #FFF9E3;
	background-color: #5E5E5E;
	border-color: #5E5E5E;
}
.btn-default {
	background: #E8E0C8;
	color: #5E5E5E;
}
.btn-default:hover, .btn-default:active, .btn-default:focus, .current {
	background-color: #D7D0B9;
	color: #fff;
	outline:0;
    outline:none;
}

.btn,
.btn-hg,
.btn-lg,
.btn-sm,
.btn-xs,
.btn-group-xs > .btn,
.btn-group-sm > .btn,
.btn-group-lg > .btn,
.btn-group-gh > .btn,
.select .btn .dropdown-toggle,
.input-sm,
.input-lg,
.input-hg,
.input-group-hg > .form-control,
.input-group-hg > .input-group-addon,
.input-group-hg > .input-group-btn > .btn,
.input-group-lg > .form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn,
.input-group-sm > .form-control,
.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn,
.input-group-addon,
.input-group-sm .input-group-addon,
.pagination ul,
.tooltip-inner,
.img-rounded {
	border-radius: 2px 2px 2px 2px;
  	-moz-border-radius: 2px 2px 2px 2px;
  	-webkit-border-radius: 2px 2px 2px 2px;
}
.input-hg {
	height: 52px;
}
@-moz-document url-prefix() {
  	.input-hg {
		height: 53px;
	}
}

.dropdown-arrow-inverse {
	border-bottom-color: #5E5E5E !important;
	border-top-color: #5E5E5E !important;
}
.dropdown-inverse {
	background-color: #5E5E5E;
	color: #fff;
	-webkit-box-shadow: 0px 5px 15px 0px rgba(31,31,31,1);
	-moz-box-shadow: 0px 5px 15px 0px rgba(31,31,31,1);
	box-shadow: 0px 5px 15px 0px rgba(31,31,31,1);
}
.select .caret {
	border-bottom-color: #D9A600;
	border-top-color: #D9A600;
}
.dropdown-inverse li > a {
	color: #FFF9E3;
}
.dropdown-inverse li > a:hover {
	background: #808080;
	color: #fff;
}
.dropdown-inverse li.selected > a {
	background: #D7D0B9;
	color: #5E5E5E;
}
.dropdown-inverse li.selected > a:hover {
	background: #fffcdc;
	color: #5E5E5E;
}
.dropdown-inverse li .divider {
	background-color: #D7D0B9;
	border-bottom-color: #D7D0B9;
}

.pagination ul li:first-child > a,
.pagination ul li:first-child > span,
.pagination-minimal > ul > li:first-child {
	border-radius: 2px 0 0 2px;
  	-moz-border-radius: 2px 0 0 2px;
  	-webkit-border-radius: 2px 0 0 2px;
}


.form-control, .form-control.flat, .form-control.flat:hover {
	border: 2px solid #5E5E5E;
	color: #5E5E5E;
	border-radius: 2px 2px 2px 2px;
  	-moz-border-radius: 2px 2px 2px 2px;
  	-webkit-border-radius: 2px 2px 2px 2px;
}
.form-control:focus, .form-control.flat:focus {
	border: 2px solid #808080;
}
.form-control + .input-icon {
	background: none;
}
.col-lg-2 button#search-submit {
	width: 106%;
}

.select {
	display: inline-block;
	margin-bottom: 0;
}
.modal-backdrop {
  background-color: #5E5E5E;
}
.modal-content {
    -webkit-box-shadow: 0px 9px 28px 1px rgba(0,0,0,0.69);
	-moz-box-shadow: 0px 9px 28px 1px rgba(0,0,0,0.69);
	box-shadow: 0px 9px 28px 1px rgba(0,0,0,0.69);
	background: #F4F1E7;
}
.modal-header {
	border-bottom: 1px solid #D7D0B9;
}
.modal-header .close {
	color: #E74C3C;
}
.modal-footer {
	background: #D7D0B9;
}
.mbl {
	margin-bottom: 10px;
}
.mlm {
	margin-left: 0;
}
.badge {
	font-size: 12px;
	font-weight: 100;
	color: #ffffff;
	line-height: 20px;
	background-color: #BDC3C7;
	border-radius: 4px;
	padding: 0 5px;
}

.nav-list > li {
	line-height: 1.5;
	font-weight: 700;
	font-size: 14px;
	margin-left: -13px;
	margin-right: -13px;
	padding: 2px 13px 2px 9px;
	text-shadow: none;
}
.nav-list > li:hover,
.nav-list > li:focus {
  background-color: #071624;
  color: #ffffff;
}

.alert {
	color: #59554e;
	background-color: #fff;
	border: 2px solid #e2e3d9;
	padding: 15px;
}
.alert-info hr {
	border-top-color: #E2E3D9;
}
.alert-error {
	color:#fff;
	background-color: #E74C3C;
	border: 2px solid #69170F;
	padding: 5px;
}
.alert-success {
	color:#fff;
	background-color: #12DE00;
	border: 2px solid #0C6604;
	padding: 5px;
}
.checkbox.primary .icons {
	color: #59554E;
}
.checkbox.checked .second-icon {
	color: #D9A600;
}
.checkbox.primary.checked {
	color: #59554E;
}
.checkbox.checked, .radio.checked {
	color: #59554E;
}

/* ======================================================================
											Bootstrap style overwrites
====================================================================== */
.navbar {
	display: none;
	position: relative;
	z-index: 1000;
	min-height: 30px;
	padding: 5px 0;
	margin-bottom: 0;
	border: 1px solid transparent;
}
.row {
	margin-right: 0;
  	margin-left: 0;
}
.col-lg-4 {
	width: 33.1%;
	margin: 0 .11%;
}
.col-xs-1,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12 {
	position: relative;
	min-height: 1px;
	padding-left: 0;
	padding-right: 0;
}
.dropdown-menu > li > a {
	white-space: normal;
}
body.modal-open,
.modal-open .navbar-fixed-top,
.modal-open .navbar-fixed-bottom {
  	margin-right: 0;
}

/* ======================================================================
												Pictoscope custom styles
====================================================================== */
html {
	height: 100%;
	min-height: 100%;
}
body {
	background: url("img/bg-texture.jpg") #D7D0B9;
	height: 100%;
	min-height: 100%;
	color: #59554E;
}
a {
	color: #59554E;
}

a:hover, a:active, a:focus {
	color: #302E2B;
	outline:0;
    outline:none;
}
img.shadow {
	-webkit-box-shadow: 0 4px 10px 0 #59554E;
	box-shadow: 0 4px 10px 0 #59554E;
}
ol li {
	padding-bottom: 10px;
}

/* --------------------------- image replacement LOGO styles */
.ir {
	text-indent: -9999px;
	white-space: nowrap;
	overflow: hidden;
}
/* --------------- large logo on main search screen */
h1.logo-lg {
	width: 420px;
	height: 248px;
	background: url('img/logo-lg.png') no-repeat;
	display: block;
	background-size: 420px;
	margin:0 auto;
	position: relative;
	top: 10px;
}
span#beta-lg {
	font-size: 17px;
	position: relative;
	left: 215px;
	bottom: 22px;
	font-family: 'Georgia', serif;
	font-style: italic;
	color: #4A3600;
}
/* --------------- small logo on user (login, create account, forgot password) screens */
h1.logo-md {
	width: 200px;
	height: 119px;
	background: url('img/logo-mid.png');
	display: block;
	background-size: 200px;
	margin:0 auto;
	position: relative;
	top: 10px;
}
h1.logo-md {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-indent: -9999px;
}
span#beta-md {
	font-size: 13px;
	position: relative;
	left: 117px;
	bottom: 15px;
	font-family: 'Georgia', serif;
	font-style: italic;
	color: #4A3600;
}
/* --------------- small logo in the thin header bar */
h1.logo-sm {
	width: 107px;
	height: 20px;
	background: url('img/logo-sm.png');
	display: block;
	background-size: 107px;
	float: left;
	position: absolute;
	top: -20px;
	left: 15px;
}
h1.logo-sm a {
	width: 107px;
	height: 20px;
	display: block;
	border-bottom: none;
}
span#beta {
	font-size: 11px;
	position: relative;
	left: 125px;
	top: 7px;
	font-family: 'Georgia', serif;
	font-style: italic;
	color: #4A3600;
}
h2#tagline {
	color: #6d492f;
	font-size: 17px;
	text-align: center;
	font-family: 'Georgia', serif;
	font-style: italic;
}
#user_login {
	width:50%;
	text-align:center;
	margin: -20px auto;
}
#user_login a {
	font-size: 13px;
}
.alert-error a {
	color: #fff;
	text-decoration: underline;
}
.alert-error a:hover {
	text-decoration: none;
}


/* ---------------------------------------- thin header bar */
.header-color {
	background: url("img/bg-texture.jpg") #D7D0B9;
	padding: 2px 0 2px 0;
	height: 40px;
}

/* fixed header on the search results page */
#header-fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: block;
	z-index: 1020;
	background: url("img/bg-texture.jpg") #D7D0B9;
	padding: 0 0 2px 0;
}
#user-info {
	position: absolute;
	right: 15px;
	top: 8px;
}
span.license_display {
	padding: 6px;
	background-color:#12DE00;
	color:#fff;
	font-size: 12px;
	position: relative;
	top:-17px;
}

.container-color {
	background-color: #FEFFEF;
	padding: 30px 0;
}


/* ------------------------ search autocomplete */
#autocomplete_container {
	position: absolute;
	top: 51px;
	left: 0;
	background-color: #fff;
	border: 1px solid #5E5E5E;
	max-width: 90%;
	display: block;
	border-radius: 0 0 2px 2px;
  	-moz-border-radius: 0 0 2px 2px;
  	-webkit-border-radius: 0 0 2px 2px;
  	z-index: 5000;
  	display: none;
  	-webkit-box-shadow: 0px 2px 5px 0px rgba(50, 50, 50, 0.49);
	-moz-box-shadow:    0px 2px 5px 0px rgba(50, 50, 50, 0.49);
	box-shadow:         0px 2px 5px 0px rgba(50, 50, 50, 0.49);
}
ul#autocomplete_results {
	margin-left: -40px;
}
ul#autocomplete_results li {
	list-style-type: none;
	font-size: 13px;
	padding: 0 10px;
}
ul#autocomplete_results li a {
	color: #808080;
	font-size: 13px;
	padding: 8px 0;
	display: block;
}
ul#autocomplete_results li.autocomplete_entry:hover, ul#autocomplete_results li.selected  {
	background-color: #EDEDED;
	color: #696969;
}
strong.autocomplete_term {
	color: #3B3B3B;
}
span#search_examples {
	font-size: 12px;
	margin-top: -15px;
	display: block;
}

/* footer */
footer {
	background: #59554E;
	padding: 0 20px;
}
.bottom-menu {
	background: #59554E;
}
.bottom-menu a {
	color: #FFF9E3;
	border-bottom: none;
}
.bottom-menu a:hover, .bottom-menu a:active, .bottom-menu a:focus {
	color: #fff;
}
#license_message {
	color: #fff;
	font-size: 15px;
}
p#ala_survey {
	color: #fff;
}
p#copyright {
	line-height: 15px;
	padding: 10px 0;
	font-size: 13px;
	color: #ADA699;
	float: left;
}
p#version_indicator {
	font-size: 13px;
	float: right;
	color: #858585;
	padding: 10px 0;
}


/* ======================================================================
													Custom Media Queries
====================================================================== */

@media (min-width: 0px) and (max-width: 320px) {

	h1.logo-sm {
		position: absolute;
		left: 2px;
	}
	span#beta {
		position: relative;
		left: 112px;
		top: 7px;
	}
	#user-info {
		position: absolute;
		right: 2px;
		top: 8px;
	}
	span.license_display {
		display: none;
	}

}

@media (min-width: 0px) and (max-width: 420px) {

	.col-lg-6, .col-lg-4 {
		margin-bottom: 2px;
		width: 100%;
	}

}

/* ------------------------- Flat UI button overwrite */
@media (max-width: 480px) {

	/* homepage logo */
	h1.logo-lg {
		width: 200px;
		height: 119px;
		background: url('img/logo-mid.png');
		display: block;
		background-size: 200px;
		margin-top: -20px;
	}
	h1.logo-lg {
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
		text-indent: -9999px;
	}
	span#beta-lg {
		font-size: 13px;
		position: relative;
		left: 117px;
		bottom: 15px;
		font-family: 'Georgia', serif;
		font-style: italic;
		color: #4A3600;
	}
	h2#tagline {
		font-size: 11px;
		margin: 18px 0 10px 0;
	}
	span#search_examples {
		text-align: center;
	}

	/* --------------- small logo on user (login, create account, forgot password) screens */
	h1.logo-md {
		display: none;
		visibility: hidden;
	}
	h1.logo-md {
		display: none;
		visibility: hidden;
	}
	span#beta-md {
		display: none;
		visibility: hidden;
	}

	#user_login {
		width:100%;
	}



	.btn.btn-block {
    	margin: 0;
  	}
  	/* this css snippet STACKS the search input and FIND button */
  	.col-xs-9, .col-xs-3 {
		float: none;
		display: block;
		width: 100%;
	}

}

@media (min-width: 321px) and (max-width: 767px) {

	.col-lg-4 {
		margin: 0;
	}

	.col-lg-6, .col-lg-4 {
		margin-bottom: 2px;
		width: 100%;
	}

}

@media (min-width: 0px) and (max-width: 991px) {

	#header-fixed {
		-webkit-box-shadow: 0px -2px 13px 7px rgba(0,0,0,0.61);
		-moz-box-shadow: 0px -2px 13px 7px rgba(0,0,0,0.61);
		box-shadow: 0px -2px 13px 7px rgba(0,0,0,0.61);
	}

}
