html {
	height: 101%;
	background-color: #466494;
	scroll-padding-top: 4.5rem;
}

.header-link {
	background-image: url("./images/cloudy_light.svg");
	background-position: 0 100%;
	background-size: cover;
}

.header-carousel {
	background-image: url("./images/meteor_light.svg");
}

/*.card-header {*/
/*	background-color: #d9def2 !important;*/
/*}*/

/*.card-footer {*/
/*	background-color: #e9f0fa !important;*/
/*}*/

.logo img {
	height: 48px;
}

/*div.card, .card-header, .card-footer {*/
/*	border-radius: 0 !important;*/
/*}*/

.card-title {
	/*border-bottom: 4px solid;*/
	/*border-image: linear-gradient(to right, #6c757d 40%, #d3d3d3 40%, #d3d3d3 75%) 4;*/
}

img {
	max-width: 100%;
	height: auto;
}

.fancyhr {
	border: 0;
	height: 2px;
	text-align: center;
	background: linear-gradient(to right, #eee, #555, #ccc);
}

.fancyhr:after {
	content: "\2022 \2022 \2022";
	display: inline-block;
	position: relative;
	top: -14px;
	padding: 0 10px;
	background: #fff;
}

.username-coloured {
	font-weight: 600;
}

.bg1 {
	background-color: #f6f8fc;
}

.bg2, .card.bg2, .list-group-item.bg2, .action-bar .btn.btn-lg:hover, #format-buttons .btn:hover {
	background-color: #e9f0fa;
}

.row-item .folder {
	padding-left: 68px;
}

.rtl .row-item .folder {
	padding-left: 0;
	padding-right: 68px;
}

.folder, .content {
	min-height: 4rem;
}

.row-item .forum-image img {
	width: 70px;
	height: auto;
}

.row-item .forum-image img:hover {
	cursor: zoom-in;
}

.notification-block a.mark_read {
	display: none;
	margin-top: -30px;
	position: absolute;
	z-index: 2;
	right: 5px;
	top: 50%;
}

.rtl .notification-block a.mark_read {
	right: 85%;
}

.notification-block:hover a.mark_read {
	display: block;
}

.notification-text img {
	max-width: 50px;
	height: auto;
}

#format-buttons .btn, .action-bar .btn {
	border: 0;
}

.action-bar strong {
	font-weight: normal;
}

.display-options select {
	min-width: 150px;
}

.post-ignore .postbody, .dark-mode {
	display: none;
}

.posthilit {
	padding: 0 2px 1px 2px;
	color: #f2dede;
	background-color: #a94442;
}

span.online {
	letter-spacing: 1px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
	box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.contact-button:hover .alert-primary {
	border-color: #cfe2ff !important;
}

.codebox pre, .blockquote:first-of-type {
	overflow: auto;
	max-height: 70vh;
}

.card.blockquote {
	font-size: 0.875rem;
	border-left: 6px solid #dee2e6;
	filter: brightness(99%);
}

.rtl .card.blockquote {
	border-left: 1px solid #dee2e6;
	border-right: 6px solid #dee2e6;
}

blockquote:before {
	font-family: FontAwesome;
	font-size: 19px;
	filter: alpha(opacity=10);
	opacity: .1;
	content: "\f10d";
}

.rtl blockquote:before {
	display: inline-block;
}

.blockquote .blockquote {
	filter: brightness(98%);
}

.blockquote .blockquote .blockquote {
	filter: brightness(97%);
}

.emoji {
	min-height: 18px;
	min-width: 18px;
	height: 1em;
	width: 1em;
}

.topic-icon {
	width: 17px;
	height: auto;
}

.smilies {
	vertical-align: text-bottom;
}

#topicreview {
	height: 300px;
}

#post_details, .dropdown-contents {
	max-height: 300px;
	overflow-y: auto;
}

#color_palette_placeholder table {
	border-collapse: separate;
	border-spacing: 1px;
}

#color_palette_placeholder td {
	padding: 4px 2px;
}

/*select, select.form-select, input.form-control, input.inputbox {*/
/*	display: inline-block;*/
/*	width: auto;*/
/*}*/

select, input.inputbox {
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 0.25rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

select {
	padding: 0.375rem 2.25rem 0.375rem 0.75rem;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
	background-size: 16px 12px;
	background-position: right 0.75rem center;
	background-repeat: no-repeat;
}

.rtl select {
	padding: 0.375rem 0.75rem 0.375rem 2.25rem;
	background-position: left 0.75rem center;
}


select:focus, input.inputbox:focus {
	border-color: #86b7fe;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.syntaxbg		{color: #FFFFFF;}
.syntaxcomment	{color: #FF8000;}
.syntaxdefault	{color: #0000BB;}
.syntaxhtml		{color: #000000;}
.syntaxkeyword	{color: #007700;}
.syntaxstring	{color: #DD0000;}

a.postlink:visited {
	color: #7393B1;
}

a.postlink:hover, a.postlink:focus {
	color: #23527c;
}

.list-group-item .jumpbox a, .list-group-item .jumpbox a:hover {
	color: #444;
}

.list-group-item .jumpbox a.active, .list-group-item .jumpbox a:active {
	color: #fff;
}

.progress-bar {
	animation: animate-positive 2s;
}

@keyframes animate-positive {
	0%{width: 0;}
}

.timeline-post,  .rtl .switch-profile.timeline-post {
	margin-right: 0;
	margin-left: 180px;
	text-align: left;
}

.switch-profile.timeline-post, .rtl .timeline-post {
	margin-left: 0;
	margin-right: 180px;
	text-align: right;
}

.timeline-post:before {
	content: '';
	position: absolute;
	width: 7px;
	background: #fff;
	top: 20px;
	bottom: 0;
	margin-left: -4px;
}

.rtl .timeline-post:before {
	margin-left: 0;
	margin-right: -4px;
}

.timeline-entry-inner, .rtl .switch-profile .timeline-entry-inner {
	margin-right: 0;
	margin-left: -31px;
}

.switch-profile .timeline-entry-inner, .rtl .timeline-entry-inner {
	margin-left: 0;
	margin-right: -31px;
}

.timeline-user, .rtl .switch-profile .timeline-user {
	width: 140px;
	right: 100%;
	left: -170px;
	text-align: right;
}

.switch-profile .timeline-user, .rtl .timeline-user {
	left: 100%;
	right: -170px;
	text-align: left;
}

.timeline-username a {
	word-spacing: 100vw;
}

.timeline-entry-inner .timeline-icon, .rtl .switch-profile .timeline-entry-inner .timeline-icon {
	float: left;
	width: 60px;
	height: 60px;
	border-width: 7px !important;
}

.switch-profile .timeline-entry-inner .timeline-icon, .rtl .timeline-entry-inner .timeline-icon {
	float: right;
}

.timeline-icon img.avatar {
	transform: translateY(-50%);
}

.timeline-postbody, .rtl .switch-profile .timeline-postbody {
	margin-right: 0;
	margin-left: 85px;
}

.switch-profile .timeline-postbody, .rtl .timeline-postbody {
	margin-left: 0;
	margin-right: 85px;
}

.timeline-postbody {
	text-align: left;
}

.rtl .timeline-postbody {
	text-align: right;
}

.timeline-postbody:after, .rtl .switch-profile .timeline-postbody:after {
	content: '';
	position: absolute;
	left: 0;
	top: 18px;
	margin-left: -12px;
	border-style: solid;
	border-width: 13px 13px 13px 0;
	border-color: transparent #fff transparent transparent;
}

.switch-profile .timeline-postbody:after, .rtl .timeline-postbody:after {
	left: 100%;
	margin-left: 0;
	margin-right: -12px;
	border-width: 13px 0 13px 13px;
	border-color: transparent transparent transparent #fff;
}

.timeline-online, .rtl .switch-profile .timeline-online {
	width: 20px;
	height: 20px;
	top: 5px;
	right: inherit;
	left: 30px;
	z-index: 1;
}

.switch-profile .timeline-online, .rtl .timeline-online {
	left: inherit;
	right: 30px;
}

.timeline-online {
	left: 50px;
}

.rtl .timeline-online {
	left: 100%;
	right: 50px;
}

.page-footer {
	background-color: #466494;
}

.footer-links {
	background-color: #5b7bac;
}

.page-footer, .page-footer a, .footer-links, .footer-links a {
	color: #e0e0e0;
}

.footer-links .list-group-flush .list-group-item {
	background: none !important;
	border-color: #a4aeb8;
}

.footer-links a {
	text-decoration: none;
}

.page-footer a:hover, .footer-links a:hover {
	color: #fff;
}

.toggle-plus .fa-minus, .toggle-minus .fa-plus {
	display: none;
}

.toggle-minus .fa-minus {
	display: inline;
}

/* jQuery popups
---------------------------------------- */
.phpbb_alert, #login-popup {
	top: 150px;
}

.phpbb_alert {
	display: none;
	z-index: 50;
	/*width: 600px;*/
}

.darkenwrapper {
	display: none;
	z-index: 44;
}

.darken {
	opacity: 0.5;
	z-index: 45;
}

.loading_indicator {
	background: #000000 url("./images/loading.gif") center center no-repeat;
	border-radius: 5px;
	display: none;
	opacity: 0.8;
	margin-top: -50px;
	margin-left: -50px;
	height: 50px;
	width: 50px;
	position: fixed;
	left: 50%;
	top: 50%;
	z-index: 51;
}

@media (max-width: 991.98px) {
	#color_palette_placeholder td:nth-child(2n) {
		display: none;
	}
}

@media (max-width: 767.98px) {
	.row-item .hidden-folder {
		padding-left: 5px;
	}

	.row-item .hidden-folder.folder:before, .row-item .hidden-folder.folder:after {
		content: "";
		background: none !important;
		border: 0;
		animation: none;
	}

	.notification-text {
		width: auto;
	}

	.timeline-post, .rtl .switch-profile.timeline-post {
		margin-left: 30px !important;
		margin-right: 0 !important;
	}

	.switch-profile, .rtl .timeline-post {
		margin-left: 0 !important;
		margin-right: 30px !important;
	}

	/*.avatar img {*/
	/*	max-height: 50px;*/
	/*	max-width: 50px;*/
	/*}*/

	div.postbody {
		border: none !important;
	}

	.jumpbox a {
		max-width: 460px;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.phpbb_alert, #login-popup {
		top: 0;
		width: auto;
		margin: 10px;
	}
}

@media (max-width: 575.98px) {
	.jumpbox a {
		max-width: 300px;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}
