/* This file is style-specific and can be modified in other styles. */
/* Styling for some features of QuickReply Reloaded. */
.qr_dropdown {
	display: block;
}

.qr_dropdown a {
	font-size: 11px !important;
}

.post.hidden_subject .postbody p.author {
	padding-top: 10px;
	padding-bottom: 5px;
}

.button.qr-quickquote .icon {
	color: #0A8ED0;
}

.pagination_next {
	text-align: center;
}

.pagination_next a.button {
	background: #ECEDEE;
	border-color: #B4BAC0;
	box-shadow: none;
	text-shadow: none;
	float: none;
	padding: 5px 0;
	margin: 0;
	margin-bottom: 4px;
	width: calc(100% - 2px);
	font-size: 1.5em;
}

.pagination_next a.button:hover {
	border-color: #0A8ED0;
}

/* Fixed form style. */

/* Compact form style. */

/* Fullscreen form style. */

/* Metro styling */

.file-list-container th.attach-status {
	padding: 0 6px !important;
}

.file-list-container tr.attach-row > *:not(:first-child) {
	border-left: 1px solid var(--border-color-1);
}

.file-list-container td.attach-name > *:last-child {
	display: none;
}

.file-list-container td.attach-name .file-name {
	max-width: none;
	white-space: normal;
}

.file-list-container td.attach-buttons .attach-controls {
	display: flex;
	gap: 3px;
	justify-content: end;
	float: none;
	font-size: 0;
	margin: 0;
}

#qr_text_action_box {
	display: none !important;
}

.qr_fixed_form {
	box-shadow: 0 -8px 15px -10px var(--shadow-color-02);
}

#qr_postform.qr_fixed_form #message-box {
	padding-left: 0;
}

#qr_action_box_container {
	right: 6px;
}

#qr_action_box_container .qr_fullscreen_button {
	display: none;
}

.pagination_next {
	background-color: var(--background-color-primary);
	margin-bottom: 12px;
}

.pagination_next:hover {
	background-color: var(--background-color-secondary);
}

.pagination_next a.button {
	background-color: var(--background-color-primary);
	color: var(--text-color-white);
	font-size: 1.3rem;
	font-weight: bold;
	margin: 0;
}

.pagination_next a.button:hover {
	border-color: var(--border-color-secondary);
	background-color: var(--background-color-secondary);
}


@media only screen and (max-width: 700px) {
	.file-list-container tr.attach-row > td:not(:first-child) {
	  border-left: 0 none;
	}

	.file-list-container table.table1 tbody tr:first-child td:not(:first-child) {
	  border-top-color: inherit;
	}
}



/*_*/
#qr_postform:not(.qr_compact_form) #attach-panel {
	display: block !important;
	background-color: var(--background-color-main);
	border: 1px solid var(--border-color-1);
	margin: 6px 0 0;
}
#qr_postform table.table1 tbody td {
	border-color: transparent;
}
#qr_postform .message-box {
	width: 100%;
	position: relative;
	box-sizing: border-box;
}
#qr_postform .panel-container table.table1 {
	margin: 0;
}
#qr_postform #file-list-container.panel {
	margin: 0;
}
@media (min-width: 701px) {
	#qr_postform #attach-panel #file-list-container .inner {
		border-top: 1px solid var(--border-color-1);
	}
}
#qr_postform .submit-buttons button[name=post] {
	padding: 6px 12px;
}
@media (max-width: 500px) {
	#qr_postform .submit-buttons button[name=post] {
		width: 100%;
	}
}
#qr_action_box_container {
	display: none;
}
#qr_attach_notice {
	font-size: 1.3rem;
	font-style: normal;
	background: var(--background-color-2);
	margin: 0 1px 0;
	padding: 0 0 15px;
	line-height: 1;
	transition: height, padding 0.2s;
	color: var(--text-color-3);
}
.qr_compact_form #qr_attach_notice {
	height: 0;
	padding: 0;
}
.qr_fixed_form > .panel:not(#attach-panel) {
	border-bottom: none;
}
@media (max-width: 700px) {
	.qr_fixed_form > .panel:not(#attach-panel) {
		border-left: none;
		border-right: none;
	}
}

#qr_postform #message-box textarea {
	height: 48px;
}
#qr_postform #message-box textarea#message {
	padding: 12px 12px 8px;
	min-height: 8em;
	overflow-y: auto;
}
#qr_postform.qr_compact_form #message-box textarea#message {
	padding: 12px 12px 12px;
	min-height: 0;
}
.qr_fixed_form {
	max-height: 70vh;
}

@media (min-width: 700px) {
	#qr_postform.qr_fixed_form {
		margin: 0;
	}
}

#qr_attach_notice {
	display: none !important;
}

#qr_postform fieldset.submit-buttons {
	text-align: left;
	margin: 9px 0 0;
}


#qr_postform {
	opacity: 0;
}
body.hasjs #qr_postform {
	animation: qr_fadein 0.3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes qr_fadein {
	0% { opacity: 0 }
	100% { opacity: 1 }
}