html {
	background: #3c3c5a;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
	background: #3c3c5a;
	color: #fff;
}

a {
	color: #99f;
}

a:hover {
	color: #bbf;
}

textarea, input, select {
	background: #222228;
	color: #fff;
	border-color: rgba(136,136,221,0.8);
	margin: 5px 0;
}

textarea, input {
	padding: 0.1rem 0.15rem;
}

textarea:focus, input:focus {
	outline: none;
    box-shadow: 0 0 10px #558;
}

button {
	background: #334;
	color: #fff;
	border-color: #558;
}

form {
	margin: 0;
}

/* Scrollbar CSS */

/* width */
::-webkit-scrollbar {
	width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
	background: #282830;
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: #558;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: #447;
}

/* End Scrollbar CSS */

::-webkit-resizer {
	background-image: url(/images/resize_tool.png);
	background-size: 10px;
	background-position: bottom right;
	background-repeat: no-repeat;
}

.btn-primary {
	background-color: #66a;
    border-color: #77c;
}

.btn-primary:hover {
	background-color: #447;
    border-color: #559;
}

/* Modal CSS */

.modal-content {
	background-color: #334;
}

.modal-header {
	border-bottom: 2px solid #558;
}

.modal-footer {
	border-top: 2px solid #558;
}

.close {
	color: #fff;
	text-shadow: 0 1px 0 #558;
}

/* End Modal CSS */

/* Nav Tabs CSS */

.nav-tabs {
	border-bottom: 1px solid #445;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
	color: white;
	background-color: #445;
	border-color: #558;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: #558;
}

/* End Nav Tabs CSS */

/* Card CSS */

.card {
	background-color: rgba(136,136,221,0.3);
}

/* End Card CSS */

.list-group-item {
	background-color: #222228;
}

.progress {
	background-color: #444;
}

.content {
	flex: 1;
	background-image: linear-gradient(#222, #222228);
}

.navbar {
	background-image: radial-gradient(ellipse at bottom, #3c3c4b,#3c3c5a);
	position: relative;
}

.navbar-dark .navbar-nav .nav-link{
	border-bottom: 0.1em solid transparent;
	color: rgba(255,255,255,0.8);
}

.navbar-dark .navbar-nav .nav-link:hover {
	border-bottom: 0.1em solid rgba(255,255,255,0.8);
	color: #fff;
}

.navbar-brand, .navbar-brand:hover {
	color: #fff;
}

.navbar-toggler {
	border: none;
}

.dropdown-menu {
	margin: 0;
	border-radius: 0 0 .25rem .25rem;
	background: #3c3c5a;
}

.dropdown-title-bar {
	text-align: center;
	width: 100%;
	padding: 2px 0;
	background: rgba(200,200,255,0.3);
	color: #FFF;
}

.dropdown-item {
	color: rgba(255,255,255,0.8);
}

.dropdown-item:hover {
	background: #88b;
}

.dropdown-gap {
	height: 5px;
}

.logoutbtn {
	padding: 0;
	border: none;
	display: block;
	width: 100%;
	padding: .25rem 1.5rem;
	clear: both;
	font-weight: 400;
	color: rgba(255,255,255,0.8);
	text-align: inherit;
	white-space: nowrap;
	background-color: transparent;
	border: 0;
}

.logoutbtn:hover {
	color: #16181b;
	text-decoration: none;
	background-color: #88b;
}

.navbar-brand {
	line-height: 31px;
	height: 32px;
}

.dropdown-toggle {
	cursor: pointer;
}

footer {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	left: 0;
	bottom: 0;
	width: 100%;
	min-height: 40px; /* Set the fixed height of the footer here */
	background-image: radial-gradient(ellipse at top, #3c3c4b,#3c3c5a);
	padding:10px;
}

.footer-link, .footer-link:hover {
	color: white;
}

.collapsible-group {
	display: flex;
	flex-direction: column;
	padding: 2px 0;
}

.collapsible-section-background-image {
	flex: 1;
	background-position: center;
	background-size: cover;
	align-items: center;
	margin: 2px 0;
	display: flex;
	flex-direction: column;
	transition: 0.5s;
	min-height: 180px;
}

.collapsible-section-background-image-expand {
	flex: 10;
	min-height: 800px;
}

.collapsible-section-expand {
	min-height: 800px;
	padding: var(--hidden_padding);
}

.collapsible-section {
	flex: 1;
	min-height: 180px;
	backdrop-filter: blur(5px);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1810px 1018px;
	transition: 0.5s;
	max-height: 1000px;
	width: 100%;
	display: flex;
	align-items: center;
	--hidden_padding: 0;
}

.collapsible-section > div {
	flex: 1;
	cursor: pointer;
}

.hidden-section {
	transition: 1s;
	opacity: 0; 
	max-height: 0;
	overflow: hidden;
	position: relative;
}

.collapsible-section-expand > * > .hidden-section {
	opacity: 1;
	overflow: visible;
}

.image-row {
	display:flex;
	flex-direction:row;
	flex-wrap: wrap;
	justify-content: space-around;
}

.image-row > img {
	margin: 5px;
}

.horizontal-line {
	height: 3px;
	width: 100%;
	background: linear-gradient(to right, #446,#447, #446);
	margin: 0 0 10px 0;
}

.thin-horizontal-line {
	height: 1px;
	width: 100%;
	background: linear-gradient(to right, #446,#447, #446);
	margin: 0.1rem 0;
}

.profile-page-image {
	margin: 0 0 0 5px;
}

@media (min-width: 576px)
{
	.profile-page-image {
		margin: 0;
	}
}

.main-page {
	width: 100%;
	padding: 10px 10px 0 10px;
	margin-right: auto;
	margin-left: auto;
}

@media (min-width: 576px) {
	.main-page {
		max-width: 540px;
		padding: 10px 0 0 0;
	}
}

@media (min-width: 768px) {
	.main-page {
		max-width: 720px;
		padding: 10px 0 0 0;
	}
}

@media (min-width: 992px) {
	.main-page {
		max-width: 960px;
		padding: 10px 0 0 0;
	}
}

@media (min-width: 1200px) {
	.main-page {
		max-width: 1140px;
		padding: 10px 0 0 0;
	}
}

.link-circle {
	height: 100px;
	width: 100px;
	background-color: #447;
	border-radius: 50%;
	margin: 10px;
	transition: 0.2s;
}

.link-circle:hover {
	background-color: #282860;
}

.menu-item {
	display: block;
	margin: 10px 0;
	padding: 0.5rem;
	background-color: #444468;
	width: 100%;
	min-height: 3rem;
	border-radius: 0.5rem;
	transition: 0.1s;
	color: rgba(255,255,255,0.8);
	text-decoration: none;
}

.menu-item:hover {
	background-color: #585888;
	color: #fff;
	text-decoration: none;
}

.menu-header {
	display:flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.menu-divider {
	height: 2px;
	width: 100%;
	background: linear-gradient(to right, #335, #336, #335);
	margin: 0;
}

.menu-headline {
	padding: 0.4rem;
	font-size: 0.8rem;
	background-color: #222238;
	border-radius: 0 0 3px 3px;
	width: 100%;
}

.page-button {
	margin: 3px;
	padding: 0.25rem;
	min-width: 1.5rem;
	min-height: 1.5rem;
	text-align: center;
	vertical-align: middle;
	color: #fff;
	border-radius: 0.75rem;
}

.page-button-link {
	background-color: #447;
	text-decoration: none;
	transition: 0.1s;
}

.page-button-link:hover {
	color: #fff;
	background-color: #669;
	text-decoration: none;
}

.page-button-current {
	background-color: #77a;
}

.page-buttons {
	display: flex;
	justify-content: center;
	margin: 0 0 10px 0;
}

.cpage-button {
	margin: 3px;
	padding: 0.25rem;
	min-width: 1.5rem;
	min-height: 1.5rem;
	text-align: center;
	vertical-align: middle;
	color: #fff;
	border-radius: 0.75rem;
}

.cpage-button-link {
	background-color: #447;
	text-decoration: none;
	transition: 0.1s;
	cursor: pointer;
}

.cpage-button-link:hover {
	color: #fff;
	background-color: #669;
	text-decoration: none;
}

.cpage-button-current {
	background-color: #77a;
	cursor: default;
}

.cpage-buttons {
	display: flex;
	justify-content: center;
	margin: 0 0 10px 0;
}

.info-box {
	display: flex;
	flex-direction: column;
	margin: 10px 0;
	padding: 0.5rem;
	background-color: rgba(136,136,221,0.3);
	width: 100%;
	min-height: 3rem;
	border-radius: 0.5rem;
	align-items: center;
	justify-content: center;
}

.leave-comment-box {
	margin: 3px 0;
	width:100%;
	height:5rem;
	resize:none;
}

.comment-panel {
	display: flex;
	flex-wrap: wrap;
	padding: 0.25rem;
	border-radius: 0.5rem;
	margin: 10px 0;
	width: 100%;
	background-color: rgba(136,136,221,0.2);
}

.comment-info {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	margin: 0.25rem;
	width: 100%;
}

.comment-content {
	flex: 1;
	padding: 0.25rem;
	margin: 0.25rem;
	background-color: #222228;
	border-radius: 0.25rem;
}

.comment-content img {
	max-width: 100%;
	height: auto;
}

.comment-info img {
	width: 32px;
	height: 32px;
	margin: 0 0.25rem 0 0;
}

@media (min-width: 500px) {
	.comment-info {
		flex-wrap: nowrap;
		width: 150px;
		flex-direction: column;
	}

	.comment-info img {
		margin: 0 0 0.25rem 0;
	}
}

.comment-footer {
	display: flex;
	flex-wrap: wrap;
	width:100%;
	padding: 0 0.25rem;
	align-items: center;
}

.comment-footer a {
	color: #88b;
}

.highlighted-comment {
	border: solid rgb(136,136,221);
	border-width: 0.1rem;
}

.comment-edit-date {
	font-size: 0.7rem;
	padding: 0 0.3rem;
}

.account-comment-panel {
	display: flex;
	flex-wrap: wrap;
	padding: 0.25rem;
	border-radius: 0.5rem;
	margin: 10px 0;
	width: 100%;
	background-color: rgba(136,136,221,0.2);
	cursor: pointer;
}

.account-comment-info {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	margin: 0.25rem;
	width: 100%;
}

#drop-area {
	border: 2px dashed #88d;
	border-radius: 20px;
	width: 480px;
	font-family: sans-serif;
	margin: 0 auto;
	padding: 20px;
}

#drop-area.highlight {
	background-color: rgba(136,136,221,0.3);
}

.file-upload-p {
	margin-top: 0;
}

.file-upload-button {
	display: inline-block;
	padding: 10px;
	background: #66a;
	cursor: pointer;
	border-radius: 5px;
	border: 1px solid #77c;
	margin-bottom: 18px;
}

.file-upload-button:hover {
	background: #447;
    border-color: #559;
}

#fileElem {
	display: none;
}

.article-content img {
	max-width: 100%;
	height: auto;
}

.manage-articles-header {
	display: flex;
	width: 100%;
	margin: 10px 0;
	padding: 0.5rem;
	background-color: rgba(136,136,221,0.3);
	border-radius: 0.5rem;
}

.header-sort-button {
	border-radius: 0.5rem;
	padding: 0.25rem;
	cursor: pointer;
	text-align: center;
}

.header-sort-button.selected {
	background-color: rgba(136,136,221,0.4);
}

.header-sort-button:hover {
	background-color: rgba(136,136,221,0.6);
}

.page-block-segment {
	width: 100%;
	margin: 10px 0;
	padding: 0.5rem;
	background-color: rgba(136,136,221,0.3);
	border-radius: 0.5rem;
}

.page-block-segment.even {
	background-color: rgba(136,136,221,0.2);
}

.page-block-segment-top {
	display: flex;
	width: 100%;
}

.page-block-segment-header {
	width: 100%;
	padding: 0.25rem;
	margin: 0.25rem 0;
	background-color: #222228;
	border-radius: 0.25rem;
	min-height: 1.5rem;
}

.header-id {
	margin: 0 3px;
	flex:1;
	text-align: center;
	min-width: 30px;
}

.header-type {
	margin: 0 3px;
	flex:3;
	text-align: center;
	min-width: 90px;
}

.header-title {
	font-weight: bold;
	margin: 0 3px;
	flex:3;
	text-align: center;
	min-width: 80px;
}

.header-customurl {
	margin: 0 3px;
	flex:2;
	text-align: center;
	min-width: 80px;
}

.header-lastedit {
	margin: 0 3px;
	flex:1;
	text-align: center;
	min-width: 60px;
}

.header-dateposted {
	margin: 0 3px;
	flex:1;
	text-align: center;
	min-width: 60px;
}

.header-author {
	margin: 0 3px;
	flex:1;
	text-align: center;
	min-width: 100px;
}

.profile-info-line {
	text-align: center;
	max-width: 172px;
}

.profile-settings-card {
	flex:1;
	min-width: 100%;
	margin:0 0 5px 0;
}

@media (min-width: 300px) {
	.profile-settings-card {
		min-width: 260px;
		margin:0 5px 5px 5px;
	}
}

.front-page-small-image {
	width:320px;
	height:180px;
	border: solid white;
	border-width: 2px;
}

.front-page-link {
	color: white;
	text-decoration: underline;
}

/* Tooltip container */

/* Tooltip text */
.nav-link .nav-link-hidden-text {
	visibility: hidden;
	max-width: 300px;
	background-color: rgba(65,65,80,0.9);
	color: rgba(255,255,255,.9);
	text-align: center;
	padding: 5px;
	margin: 10px 0 0 0; 
	border-radius: 6px;

	/* Position the tooltip text - see examples below! */
	position: absolute;
	z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.nav-link:hover .nav-link-hidden-text {
	visibility: visible;
}

.list-group{
    max-height: 100px;
    margin-bottom: 10px;
    overflow-y:scroll;
	-webkit-overflow-scrolling: touch;
}

.map_name_field {
	display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: .5rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
	border-radius: .25rem;
	margin-right: 0.2rem;
}