/* Change general styles or theme styles */
body {
	font-size: 14px;
}

h1 {
	font-size: 26px;
	font-weight:400;
}

h2 {
	font-size: 22px;
	font-weight:400;
}

.fixed-top-header {
	position: static;
}

/* Hover for links */
a:hover {
	color: #fff;
	background: #4b6f9e !important;
}

/* Text size for normal text */
.panel-body {
	line-height: 1.8em;
	color: #7f7f7f;
}

/* Text size in the menu */
.main-menu .navbar-collapse > ul > li > a {
	line-height:20px;	
	font-size: 16px;
	padding-top: 30px;
	padding-bottom: 30px;		
}

/* Box with the explanation on top */
.well {
	background: #fff;
	margin-top: 10px;
}

.well p {
	margin: 0;
}	

.well i.fa {
	font-size: 16px;
}	


.main-menu {
	margin-top: 8px;
}

/* Large header div */
.factfish-general-header-large {
	margin-top: 5px;
}

/* Logo in the header */
.factfish-general-header-large img, .factfish-general-logo-xs img {
 	max-width: 190px;
}

.factfish-general-logo-sm img {
	max-width: 160px;
}

/* Line for xs */
.factfish-general-header-xs  hr {
	margin-top: 10px;
	margin-bottom: 10px;
}

/* Font size, color for social and language texts */
.factfish-general-social, 
.factfish-general-language {  
	font-size: 13px;
}

.factfish-general-social a:hover, .factfish-general-language a:hover {
	background: none !important;
	color: #f8b544;	
}

/* Social logos */
.factfish-general-social i {
	font-size: 18px;
}

/* Social padding for 2nd logo */
.factfish-general-social a:nth-child(2) i {
	padding-left: 7px;
}

/* Flags for language changing */
.factfish-general-language img {
	max-height: 15px; 
	margin-left: 8px; 
	margin-top: -2px;	
}

/* Search form in the navigation */
.factfish-general-navigation-search {
	 display: inline;
}

.factfish-general-navigation-search input[type="text"], 
.factfish-general-navigation-search button {
	font-size: 14px;
} 

.factfish-general-navigation-search input[type="text"] {
	border: 1px solid #e3e3e3;
	background: #f5f5f5;
	color: #7f7f7f;
	padding: 1px;
	margin-left: 5px;	
}

.factfish-general-navigation-search button {
	padding-top: 5px !important;
	padding-bottom: 5px !important;
	margin-top: -5px;
	margin-left: 20px;
	margin-right: 20px;	
}

/* Search for xs */
.col-xs-12 .factfish-general-navigation-search input {
	width: 100%; 
	margin-bottom: 10px;
} 

.col-xs-12 .factfish-general-navigation-search button {
	width: 100%; 
	margin-left: 5px;
}	

/* Small navigation */
.factfish-general-navigation-small {
	margin-bottom: 10px;
}

.factfish-general-navigation-small a {
	color: #a6a6a6;
	font-size: 18px;
	width: 120px;
	display: inline-block;
	padding-left: 10px;
	white-space: nowrap;	
}

.factfish-general-navigation-small a:hover {
	color: #fff;
	
}

/* Breadcrumb selected color */
.breadcrumb li:last-child {
	color: #f69322; 	
}

/* Breadcrumb arrow */
.breadcrumb > li + li:before {
	padding:0 5px;
	color:#ccc;
	content: "\00bb\00a0";
}

/* Progress bar */
.progress {
	height: 16px;
	margin: 3px 10px 0;
	
}

.progress-bar {
	background: #f8b544;
}

/* Style for the bootstrap tabs */
.nav-tabs {
	margin-bottom: 10px;
}

.nav-tabs > li > a {
	color: #7f7f7f;
	border: 1px solid #eee;
    border-radius: 4px 4px 0 0;
    border-bottom: none;
    margin-left: 8px;
		
}

.nav-tabs > li > a:hover {
	color: #fff;	
}	

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
	background: #4b6f9e;
	color: #fff;
}

/* Footer */
.main-footer .footer-bottom {
	padding-bottom: 20px;
} 

.footer-logo {
	padding-top: 20px;	
}

/* Styles for the data table */
.dataTables_info, .dataTables_paginate {
	color: #444; 
	line-height: 1.3; 	
}

.paginate_button, .paginate_active {
	padding: 0.3em 1em !important;
	margin-left: 4px !important;
	margin-bottom: 10px !important;
	border: 1px solid #000;	
}

.paginate_button {	
	background: #c6c6c6;
}

.paginate_active  {	
	color: #fff;
	background: #4b6f9e;	
}

/* data table filter field */
.dataTables_filter {
	float: left !important;
	margin-bottom: 10px;
}

.dataTables_filter label {
	color: #7f7f7f;
}

.dataTables_filter input { 
	border: 1px solid #e3e3e3;
	background: #f5f5f5;
}
	
/* factfish specific styles */
/* Ranking Badge */
.factfish-general-ranking {
	background: #b7b7b7;
}	 

/* Alert icon is always in red */
.fa-exclamation-triangle {
	color: #bb0000;
}

/* Drilldown button */
.factfish-general-drilldown {
	background: #608eca; 
	color: #fff;
	border-radius: 2px;
	border-bottom: 3px solid #adc7e6 !important;
}

.factfish-general-drilldown:hover {
	background: #f69322; 
	color: #fff;
	border-radius: 2px;
	border-bottom: 3px solid #adc7e6 !important;
}

.factfish-general-drilldown .fa {
	font-size: 20px;
}

.factfish-general-drilldown img {
	max-width: 20px;
}	

/* Superscript for the index if we have multiple sources */
.factfish-general-super {
	vertical-align: super; 
	font-size: 10px;
}	

/* Error */
.factfish-general-error { 
	color: #ff0000 !important;
}	

/* Local search form */
.factfish-local-search input[type="text"] {
	border: 1px solid #e3e3e3;
	background: #f5f5f5;
	color: #7f7f7f;
	padding: 2px;
	margin-left: 5px;
	font-size: 18px;
	width: 260px;	
}

.factfish-local-search button {
	padding-top: 6px !important;
	padding-bottom: 6px !important;
	margin-top: -6px;
	margin-left: 20px;
}

/* Font color for normal texts in a paragraph, table or well */
.factfish-general-container p, .factfish-general-container table, .well {
	color: #7f7f7f;
}

/* For the leaflep popup we don't need a background color */
.leaflet-popup a:hover {
	background: none !important;
}

@media only screen and (max-width: 1023px) {
	.main-menu .navbar-collapse > ul > li > a {
		font-size: 14px;
	}
}	

/* For xs we display the button in a separate row */
@media (max-width: 767px) {
	.factfish-local-search input[type="text"] {
		width: 100%;
	}
	
	.factfish-local-search button {
		margin-top: 15px;
		margin-left: 5px;		
	}
}	

