/**
 * ========================
 * = MolluscaBase Styling =
 * ========================
 *
 * CSS used here will be applied after bootstrap.css
 */

:root {
	--color-one: #0087b5;
	--color-two: #34a1c4;
	--color-three: #cae4ee;
	--color-four: #02857b;
	--color-five: #4aa196;
	--color-six: #cfe4e1;
}

.row-eq-height {
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.quick_search_placeholder {
	margin-top: auto;
	margin-bottom: 0;
}
.main_padder {
	padding-left: 20px;
}

body{
	font-family: Verdana, serif;
	font-size: 14px;
	color: #375763;
}

#wrapper{
	width: 100%; 
	height: auto;
    display: table;
}

a {
	text-decoration: none;
	color: #3E9CC0;
}

a:hover {
	text-decoration: underline;
	color: #3E9CC0;
}

.line {
	width: 100%;
	height: 1px;
	background: #3E9CC0;
	overflow: hidden;
	margin-top: 5px;
}

@font-face {
	font-family: MelbourneBold;
	src: url(fonts/Melbourne_bold.ttf);
}

#header {
	max-height: 200px;
}

.header-background {
	max-height: 200px;
	object-fit: cover;
	width: 100%;
}

.img-overlay-wrapper {
	position: relative;
}

.mollusca-base-logo-svg {
	position: absolute;
	top: 0;
	left: 0;
}

.header-title {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: row;
	gap: 2rem;
	padding: 1.5rem 3rem 0 0;
}

.mollusca-base-title {
	font-family: MelbourneBold, Verdana, sans-serif;
	font-size: 4.7rem;
	line-height: 0.9;
	color: white
}

.worms-logo-inline {
	max-height: 1.6rem;
	vertical-align: text-bottom;
}

.align-bottom {
	display: flex;
	align-items: flex-end;
}

.part-of-worms {
	font-family: Verdana, sans-serif;
	font-size: 2rem;
	color: white;
	line-height: 1.7rem;
}

.header-bottom-bar {
	position: absolute;
	bottom: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	align-items: end;
	gap: 1rem;
	padding: 0 2rem 1rem 0;
	max-width: 80%;
}

#aphia-quick-search-form {
	padding: 0 !important;
	margin: 0 !important;
}

.side-bar-container {
	position: sticky;
	top: 0;
}

.side-bar {
	background: whitesmoke;
	padding: 2rem;
	border: 1px solid lightgray;
}

@media (min-width: 767px) {
	#collapsed-header {
		display: none;
	}
	.side-bar {
		border-top: unset !important;
	}
}

@media (max-width: 767px) {
	.header-bottom-bar {
		padding: 0 2rem 0 0;
	}

	.mollusca-base-title {
		font-size: 3rem;
	}

	.part-of-worms {
		font-size: 1.2rem;
		line-height: 1.2rem;
	}

	.worms-logo-inline {
		max-height: 1rem;
	}

	.header-title {
		gap: 1rem;
		padding: 1rem 2rem 0 0;
	}

	.side-bar {
		margin-top: 1rem;
	}
}

@media (max-width: 400px) {
	#aphia-quick-search-form {
		display: none;
	}

	.header-title {
		display: none;
	}
}

#main-container {
	min-width: 85%;
}

.rss-latest-taxa-additions ul.list-group {
	font-size: 1.3rem;
}

.molluscabase-stats-text {
	font-size: 1.2rem;
}
.molluscabase-stats ul {
	padding-top: 1rem;
	padding-left: 2rem;
}

#main-container .panel {
	-webkit-box-shadow: unset !important;
	box-shadow: unset !important;
}

.socials {
	padding: 0.5rem;
	text-align: end;
}

.header-title {
	width: 500px;
	max-width: 75%;
}

#header-title-img {
	max-width: 100%;
}

div.link-to-worms {
	width: 18%;
	height: 40%;
	position: absolute;
	right: 19%;
	bottom: 2px;
}

#aphia-quick-search-form .dropdown-menu {
	right: 0;
	left: auto;
}