/* This CSS is included in blog pages only */

/* Top panel */
.contrib-filter {
    background-color: #f1f4f6;
    border-radius: 5px;
    padding: 5px;
}
.contrib-filter .b-requests-btn {
	margin-left: 5px;
}
.contrib-filter .button.button-active {
	background: #1698d9;
	border-color: #1698d9;
	color: #fff;
}
.contrib-filter .button.button-active:hover,
.contrib-filter .button.button-active:focus {
	color: #fff;
	text-decoration: none;
}
.sort-option {
    display: inline-block;
    margin-left: 5px;
    margin-top: 2px;
    padding: 3px;
}
.sort-option::after {
    content: "\f0dc";
	font-family: FontAwesome;
}
.sort-option .dropdown-toggle {
    cursor: pointer;
    padding: 5px 0;
}
.sort-option a.active {
	background: #ecf3f7;
	border-radius: 3px;
}
.sort-option li.active, .sort-option li.active + li {
	border-color: transparent;
}
.rightside {
    float: right;
}


/* ============================================================================================= */
/* Index: left column */
.categories {
    box-sizing: border-box;
    float: left;
    font-size: 1.2em;
    width: 25%;
}
@media (max-width: 700px) {
	.categories {
		float: none;
		margin: 0 auto;
		width: 100%;
	}
}
.b-cat-menu {
	padding: 5px;
}
@media (min-width: 701px) {
	.b-cat-menu,
	.b-cat-menu + div {
		margin-top: 4px;
		margin-bottom: 10px;
	}
}
.b-cat-menu a {
	display: flex;
	padding: 3px 3px 3px 5px; 
	clear: both;
}
.b-cat-menu a:hover,
.b-cat-menu a:focus {
	text-decoration: none;
}
.b-cat-menu a:hover span:first-of-type {
	text-decoration: underline;
}
.b-cat-menu a.current {
	background: #1698d9;
	border-radius: 3px;
	color: #FFFFFF !important;
}
.b-cat-menu a span:first-of-type {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 4px;
}
.b-cat-menu a i {
	min-width: 16px;
	height: 14px;
	text-align: right;
	opacity: 0.8;
}


/* ============================================================================================= */
/* Index: main column */
.contrib-list-container {
    box-sizing: border-box;
    display: inline-block;
    padding-left: 10px;
    width: 75%;
}
@media (max-width: 700px) {
	.contrib-list-container {
		padding-left: 0;
		width: 100%;
	}
}
.contrib-list-container .action-bar:first-child {
    margin-bottom: 8px;
}
.contrib-list-container h2 {
	margin: 0.2em 0 0.2em 0;
}
.b-cat-desc {
	font-size: 1.1em;
	margin: 4px 0 0px;
}
.contrib-quickview::after, .contrib-list-container .action-bar {
    clear: both;
    content: '';
    display: block;
}
.contrib-quickview {
    background-color: #ECF3F7;
    border-radius: 7px;
    box-sizing: border-box;
    padding: 10px;
    position: relative;
}
.quickview-title {
    font-size: 1.2em;
    position: relative;
    display: block;
    text-overflow: ellipsis;
    overflow-x: hidden;
    white-space: nowrap;
	font-weight: bold;
}
.quickview-preview {
    margin-top: 5px;
    margin-bottom: 6px;
}
.quickview-image {

}
.quickview-desc {
	font-size: 11px;
	line-height: 15px;
	text-align: left;
}
	/* Center text vertically */
	.quickview-desc {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	.quickview-desc::before, .quickview-desc::after {
		content: ' ';
	}
.quickview-desc-fade {
	height: 10px;
	margin-top: -10px;
	position: relative;
	background: linear-gradient(transparent, #ecf3f7);
}
.reported .quickview-desc-fade {
	background: linear-gradient(transparent, #f7ecef);
}
.deleted .quickview-desc-fade {
	background: linear-gradient(transparent, #e3e3e3);
}
.quickview-desc .inline-attachment img.postimage {
	max-height: 50px;
}
.quickview-image img {
    height: 150px;
	box-sizing: border-box;
}
.quickview-label {
    background-color: #FFFFFF;
    /* border: 1px solid #c9cacb; */
    border-radius: 5px;
    display: inline-block;
    padding: 4px;
}
.quickview-stats {
	line-height: 18px;
	white-space: nowrap;
	opacity: 0.8;
}
.quickview-stats i {
	vertical-align: -1px;
}
.quickview-notices {
	position: absolute;
	top: 8px;
	right: 8px;
	line-height: 18px;
	text-align: right;
	z-index: 1;
}
.quickview-notices i {
	color: #EC3A66;
}
.quickview-sale-badge {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 50px;
    background: #ff4381;
    color: #fff;
    font-size: 18px;
    border-radius: 0 18px 18px 0;
	padding: 6px 8px;
}
.quickview-sale-badge:hover,
.quickview-sale-badge:focus {
    color: #fff;
	text-decoration: none;
}
.quickview-sale-badge2 {
	float: left;
	clear: both;
	margin: 5px 0 5px -10px;
	padding: 5px 10px;
    border-radius: 0 13px 13px 0;
    background: #ff4381;
    color: #fff;
    font-size: 13px;
}

/* Requests cards: stable two-column layout (content + actions). */
.request-card {
	display: block;
	padding: 12px;
}

.request-card-main {
	flex: 1 1 auto;
	min-width: 0;
}

.request-headline-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: nowrap;
}

.request-headline-row .quickview-title {
	min-width: 0;
	padding-right: 8px;
}

.request-file-info {
	margin-top: 6px;
}

.request-file-info li {
	word-break: break-word;
}

.request-file-info li strong {
	min-width: 130px;
}

.request-status {
	font-weight: 700;
}

.request-status-moderation {
	color: #c62828;
}

.request-status-published {
	color: #2e7d32;
}

.request-status-neutral {
	color: #666;
}

.request-desc {
	display: inline-block;
	vertical-align: top;
	max-width: calc(100% - 28px);
	word-break: break-word;
	line-height: 1.35;
}

.request-desc-collapsed {
	max-height: 2.7em;
	overflow: hidden;
}

.request-desc-expanded {
	max-height: none;
}

.request-desc-toggle {
	margin-left: 6px;
	min-width: 22px;
	width: 22px;
	height: 22px;
	padding: 0;
	vertical-align: top;
}

.request-card .b-file-info {
	width: 100%;
}

.request-card-actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	white-space: nowrap;
}

.request-card-actions .button2,
.request-card-actions .button {
	margin: 0;
}

.request-card-actions .button2 {
	width: auto;
	text-align: center;
	white-space: nowrap;
}

.request-card-actions .button-icon-only {
	min-width: 34px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.request-tools-menu {
	position: relative;
	display: inline-flex;
}

.request-tools-toggle {
	gap: 0;
}

.request-tools-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	min-width: 220px;
	z-index: 20;
	background: #fff;
	border: 1px solid #c7d3df;
	border-radius: 4px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

.request-tools-dropdown a {
	display: block;
	padding: 8px 10px;
	text-decoration: none;
	white-space: nowrap;
}

.request-tools-dropdown a:hover,
.request-tools-dropdown a:focus {
	background: #eef5fa;
}

.request-form-card {
	margin-bottom: 10px;
}

.requests-page {
	width: 100%;
	padding-left: 0;
}

.requests-page .contrib-list {
	width: 100%;
}

.requests-page .request-card .postbody,
.requests-page .request-card-main.postbody {
	width: 100% !important;
	float: none;
	max-width: 100%;
}

.requests-page.list .request-card .quickview-title {
	margin-left: 0;
}

.requests-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.requests-toolbar .search-box {
	float: none;
	flex: 1 1 640px;
	max-width: 100%;
}

.requests-toolbar .requests-filters-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.requests-toolbar .requests-filters-row .inputbox,
.requests-toolbar .requests-filters-row select,
.requests-toolbar .button-search,
.requests-toolbar .requests-add-wrap .button {
	min-height: 34px;
	height: 34px;
	box-sizing: border-box;
}

.requests-toolbar .button-search {
	min-width: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
}

.requests-toolbar .requests-filters-row .search.tiny {
	min-width: 210px;
	flex: 1 1 260px;
}

.requests-toolbar .requests-filters-row label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.requests-toolbar .requests-add-wrap {
	float: none;
	margin-left: auto;
}

.requests-page .request-file-info li {
	display: flex;
	align-items: flex-start;
	white-space: normal;
	line-height: 1.35;
	overflow: visible;
	text-overflow: clip;
}

.requests-page .request-file-info li strong {
	flex: 0 0 170px;
	width: 170px;
	max-width: 170px;
	min-width: 170px;
}

.requests-page .request-desc {
	flex: 1 1 auto;
	max-width: none;
	width: auto;
}

.requests-page .request-card-actions .button2,
.requests-page .request-card-actions .button,
.requests-page .request-card-actions .request-tools-toggle {
	min-height: 34px;
	height: 34px;
	box-sizing: border-box;
	line-height: 34px;
	padding-top: 0;
	padding-bottom: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.requests-page .request-card-actions .button-icon-only,
.requests-page .request-card-actions .request-tools-toggle {
	width: 34px;
	min-width: 34px;
	padding-left: 0;
	padding-right: 0;
}

.requests-page .request-card-actions .request-tools-toggle .fa-caret-down {
	display: none;
}

.request-inline-form {
	margin-top: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.request-inline-form .inputbox {
	max-width: 100%;
}

@media (max-width: 780px) {
	.request-card {
		padding: 10px;
	}

	.request-headline-row {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.request-card-actions {
		width: 100%;
		align-items: center;
		justify-content: flex-end;
	}

	.request-tools-dropdown {
		min-width: 190px;
	}
}


/* ============================================================================================= */
/* Index: main column: grid view */
.contrib-list-container.grid .contrib-list {
    display: grid;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-template-columns: 1fr 1fr;
	margin-bottom: 10px;
}
@media (max-width: 485px) {
	.contrib-list-container.grid .contrib-list {
		grid-template-columns: 1fr;
	}
}
@media (min-width: 1100px) {
	.contrib-list-container.grid .contrib-list {
		grid-template-columns: 1fr 1fr 1fr;
	}
}
.contrib-list-container.grid .contrib-quickview {
	display: flex;
	flex-direction: column;
	overflow: hidden; /* Equal column width */
    text-align: center;
}
.contrib-list-container.grid .quickview-preview {
    height: 150px;
	background: inherit;
}
.contrib-list-container.grid .quickview-image {
    height: 100%;
	position: relative;
	z-index: 1;
	overflow: hidden;
	background: inherit;
	opacity: 1;
	transition: opacity 300ms;

	display: flex;
	align-items: center;
	justify-content: center;
}
.contrib-list-container.grid .quickview-preview:hover .quickview-image {
	opacity: 0;
}
.contrib-list-container.grid .quickview-desc {
	height: 150px;
	margin-top: -150px;
	overflow: hidden;
	padding: 0px 15px;
}
.contrib-list-container.grid .quickview-desc .inline-attachment {
	/* display: none; */
}
.contrib-list-container.grid .quickview-footer {
    display: flex;
    justify-content: space-between;
	align-items: flex-end;
	margin-top: auto; /* Align item to bottom in flex container */
	max-width: 100%;
}
.contrib-list-container.grid .quickview-labels {
	overflow: hidden;
	max-height: 20px;
	text-align: left;
	margin-top: 5px;
}
table.b-file-info {
	margin: 6px auto 4px;
	font-size: 1.1em;
	line-height: 16px;
}
table.b-file-info td:first-of-type {
    text-align: right;
    padding-right: 4px;
    border-right: 1px solid #919da9;
}
table.b-file-info td:last-of-type {
    text-align: left;
    padding-left: 4px;
}


/* ============================================================================================= */
/* Index: main column: list view */
.contrib-list-container.list .contrib-quickview {
    margin-bottom: 10px;
}
.contrib-list-container.list .quickview-title {
    margin-left: 120px;
}
.contrib-list-container.list .quickview-preview {
    height: 50px;
}
.contrib-list-container.list .quickview-image {
	float: left;
	margin: -17px 10px 0 0;
	position: relative;
	z-index: 1;

	/* Centered images */
	width: 110px;
	height: 110px;
	overflow: hidden;
	border: 1px solid #FFF;
	background: #FFF;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
}
.contrib-list-container.list .quickview-image img {
	height: 108px;
	padding: 0px;
	border: none;
}
.contrib-list-container.list .quickview-desc {
	overflow: hidden;
	height: 100%;
}
.contrib-list-container.list table.b-file-info {
	float: left;
	margin: 0;
}
.contrib-list-container.list .b-rating {
	float: right;
}
.contrib-list-container.list .quickview-footer {
	float: right;
	clear: right;
	display: flex;
	margin-top: 5px;
	align-items: end;
	max-width: 100%;
}
.contrib-list-container.list .quickview-labels {
	overflow: hidden;
	max-height: 20px;
	margin-top: 3px;
}
.contrib-list-container.list .blog-tag {
	margin-bottom: 0;
}
.contrib-list-container.list .quickview-stats {
	margin-left: 10px;
}
.contrib-list-container.list .quickview-sale-badge {
	top: 30px;
	font-size: 15px;
}


/* ============================================================================================= */
/* Index: main column: comments view */
.contrib-list-container.comments .post {
	overflow: hidden;
}


/* ============================================================================================= */
/* Post: right column */
.b-right-column * {
    box-sizing: border-box;
}
.b-right-column {
    width: 280px;
	color: #666666;
	margin: 5px 0 10px 0;
	min-height: 80px;
	border-left: 1px solid #FFF;
	padding: 0 0 0 8px;
	float: right;
	text-align: center;
}
@media (min-width: 701px) and (max-width: 900px) {
	.b-right-column {
		width: 240px;
	}
}
.b-right-column dt img {
	max-width: 100%;
}
.b-download-button {
	display: block;
	padding: 6px;
	background-color: #4ba64b;
	background: linear-gradient(#77c577, #3b983b);
	margin: 10px 2px;
	border-radius: 7px;
	text-align: left;
	font-size: 13px;
	line-height: 15px;
	color: #FFF;
	transition: filter 0.1s;

	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.b-download-button:hover {
	filter: brightness(1.05);
	color: #FFF;
	text-decoration: none;
}
.b-download-button:active,
.b-download-button:focus {
	color: #FFF;
	text-decoration: none;
}
.b-download-button i {
	font-size: 24px;
	line-height: 30px;
	float: left;
	margin-right: 5px;
}
.b-download-button-small {
	font-size: 11px;
	opacity: 0.75;
}
.b-download-button.b-buy-button {
	margin-bottom: 0;
	/* background-color: #039dea; */
	/* background: linear-gradient(#2eb3f5, #0291d8); */
	text-align: center;
	line-height: inherit;

	background: #fff;
	color: #43a6df;
	font-weight: bold;
	border: 1px solid #43a6df;
}
.b-buy-info {
    margin: 8px 2px 0;
    opacity: 0.7;
    font-size: 11px;
}
@media (max-width: 700px) {
	.b-downloads .b-right-column {
		width: auto;
		border-left: none;
		padding-bottom: 5px;
		margin: 0 0 5px 0;
		padding: 0 0 5px 0;
		min-height: 40px;
		overflow: hidden;
		float: none;
	}
	.b-downloads .b-right-column dt,
	.b-downloads .b-right-column dd {
		max-width: 280px;
	}
}
.b-video video {
	background: #FFF;
	max-width: 100%;
}
@media (min-width: 900px) {
	.b-video video {
		max-width: 80%;
	}
}


/* ============================================================================================= */
/* Post: left column */
.b-file-page .content {
	margin-bottom: 10px;
}
.b-file-page .postbody::after {
	clear: both;
	content: '';
	display: block;
}
@media (min-width: 901px) {
	.b-file-page .postbody {
		width: calc(100% - 280px - 1px - 16px);
	}
}
@media (min-width: 701px) and (max-width: 900px) {
	.b-file-page .postbody {
		width: calc(100% - 240px - 1px - 16px);
	}
}
.hasjs .b-file-page .postbody .post-buttons {
    max-width: 29%;
}
.b-file-page .b-file-info {
	margin: 8px 4px 14px 2px;
	clear: both;
}
/* @SEARCH EXTRA DATA */
.b-search-results-container .b-file-info {
	margin: 8px 4px 14px 2px;
	clear: both;
}
.b-search-results-container .postbody h3 {
	float: none;
}
@media (max-width: 700px) {
	.b-file-page .b-file-info {
		margin: 8px 0 14px;
	}
}
.b-file-info li {
	list-style: none;
	display: block;
	margin-bottom: 1px;
	font-size: 1.1em;
	line-height: 24px;
	background: #FFF;
	overflow: hidden;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.b-file-info li strong {
    width: 25%;
    display: block;
	float: left;
    background-color: #F6FAFC;
    padding-left: 8px;
    margin-right: 8px;
	text-align: right;
	padding-right: 8px;
	border-right: 1px solid #e1ebf2;
	overflow: hidden;
	text-overflow: ellipsis;
}


/* ============================================================================================= */
/* Post: attachbox */
.attachbox {
	border: none;
	border-radius: 6px;
}
.attachbox.attach-images {
	width: 100%;
	padding: 3px 3px 3px;
}
.attachbox.attach-images > dt { /* Attachbox title */
	padding-left: 3px;
	font-size: 11px;
}
.attachbox > dd { /* Downloadable file wrapper */
    /* padding: 3px; */
}
.attachbox.attach-images dd { /* Image wrapper */
    border: none;
    clear: none;
    float: left;
    margin: 0;
    padding: 0;
}
dl.thumbnail dd,
dt.attach-image + dd { /* Image comment */
    display: none;
}
.attachbox img.postimage,
.inline-attachment img.postimage {
	max-height: 153px;
}


/* ============================================================================================= */
/* Posting */
@media (max-width: 700px) {
	.smiley-box strong,
	.smiley-box strong + br {
		display: none;
	}
	.b-bbcode-status {
		display: none;
	}
}
.format-buttons {
	margin: 2px 0 2px 0;
}
#postingbox dd { /* File description */
	color: gray;
}
.b-posting-help {
	max-height: 0px;
	overflow: hidden;
	transition: max-height 0.3s cubic-bezier(.65,.05,.36,1);
}
.b-posting-help .panel {
	font-size: 1.1em;
	line-height: 1.4em;
	margin-bottom: 8px;
	border: 1px solid #B4BAC0;
	background: #fff;
}


/* ============================================================================================= */
/* Misc */
.content,
.message-box textarea,
.postbody h3 {
	font-family: inherit; /* Verdana */
}
.no-results {
	font-size: 1.1em;
	padding: 15px;
	text-align: center;
}
dl.thumbnail img,
dl.file img {
	border-color: transparent;
	background: #FFF;
	padding: 2px;
}
.quickview-image dl.thumbnail a:hover img {
	border-color: transparent;
}
@media (max-width: 700px) {
	.pagination > ul {
		margin: 0;
	}
}
.b-comments-container .post:target, .b-comments-container #unread:target + .unreadpost {
    animation: highlight 3s ease;
}
@keyframes highlight {
  0% { background-color: #f9d8d8; }
}
.dropdown-extended { /* phpBB notifications */
    z-index: 2;
}

/*
.phpbb_alert {
	border-radius: 8px;
	border: none;
}
.phpbb_alert .alert_close {
    margin-right: -26px;
    margin-top: 6px;
    opacity: 0.7;
}
.phpbb_alert .alert_close i {
    font-size: 16px;
}
.phpbb_alert .alert_title {
	border: none;
}
*/
.phpbb_alert .b-alert-buttons {
	display: block;
	margin: 15px auto -8px;
	text-align: center;
}


/* ============================================================================================= */
/* Videos and photos */
.b-videos .b-right-column,
.b-photos .b-right-column {
	width: auto;
	border-left: none;
	padding: 0 0 5px 0;
	float: none;
	overflow: hidden;
}
.b-videos .b-file-page .postbody,
.b-photos .b-file-page .postbody {
	width: auto;
	float: none;
}
.b-videos .b-file-page .b-rating,
.b-photos .b-file-page .b-rating {
	float: left;
	margin: 10px 5px 0;
}
.b-videos .b-file-page .b-buy-button,
.b-photos .b-file-page .b-buy-button {
	float: right;
	margin: 8px 5px 0;
}
.b-videos .b-file-page .b-buy-info,
.b-photos .b-file-page .b-buy-info {
	float: right;
	margin: 14px 5px 0;
}
@media (min-width: 1100px) {
	.b-videos .contrib-list-container.grid .contrib-list {
		grid-template-columns: 1fr 1fr;
	}
}
@media (min-width: 550px) {
	.b-videos .contrib-list-container.list .quickview-image,
	.b-photos .contrib-list-container.list .quickview-image {
		width: 190px;
	}
	.b-videos .contrib-list-container.list .quickview-title,
	.b-photos .contrib-list-container.list .quickview-title {
		margin-left: 200px;
	}
}

.b-prevnext {
	clear: both;
	overflow: hidden;
	margin: 0 -4px;
	padding: 5px 0 5px;
	font-size: 13px;
}

.b_bonus_label {
	background: #ffcbcb;
	padding: 8px;
	display: inline-block;
}