body {
	background: #FFFFFF;
	font-family: Arial, sans-serif;
	font-size: 12px;
	line-height: 1.4em;
	color: #555555;
	margin: 0;
	padding: 0;
	text-align: left;
}
a {
	color: #404040;
	text-decoration: underline;
}
a:hover {
	color: #404040;
	text-decoration: none;
}
input {
	border: 1px solid #C4C4C4;
	color: #4D4D4D;
	background: #FFFFFF;
	padding: 4px 6px;
}
input[type='text'], input[type='password'], input[type='email'] {
	width: 200px;
}
/* nice similar buttons */
/*
button, input[type='submit'] {
	padding: 3px 5px;
	background: #FFFFFF url(../img/bBg.png) repeat-x;
	border: 1px solid #C4C4C4;
	color: #4D4D4D;
}
button:hover, input[type='submit']:hover {
	border: 1px solid #ABABAB;
	box-shadow: 0px 0px 3px #A3A3A3;
	-webkit-box-shadow: 0px 0px 3px #A3A3A3;
	-moz-box-shadow: 0px 0px 3px #A3A3A3;
}
*/
button img {
	height: 16px;
	width: 16px;
	vertical-align: top;
}
/* multiple buttons next to eachother */
/*
.buttonsGroup {
	margin-right: 6px;
	margin-top: 3px;
	margin-bottom: 3px;
}
.buttonsGroup>input[type='submit'], .buttonsGroup>button {
	border-left: 0;
	display: inline-block;
	margin: 0;
}
.buttonsGroup>input[type='submit']:first-child, .buttonsGroup>button:first-child {
	border-left: 1px solid #C4C4C4;
}
*/

a.buttonBig, button, input[type='submit'] {
	text-decoration: none;
	color: #FFFFFF;
	border: 2px solid #ed3c0c;
	background: #ed3c0c;
	padding: 10px;
	border-radius: 3px;
	display: inline-block;
	cursor: pointer;
}
a.buttonBig:hover, button:hover, input[type='submit']:hover  {
	background: #FFFFFF;
	color: #ed3c0c;
}
a.buttonBig .material-icons {
	vertical-align: middle;
	margin-right: 8px;
	font-size: 20px;
}

input {
	border: 2px solid #ed3c0c;
	padding: 8px;
	border-radius: 3px;
}

.buttonsGroup>button {
	border-radius: 0;
}
.buttonsGroup>button:first-child {
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}
.buttonsGroup>button:last-child {
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
}

/* headers */
/*
h1 {
	font-size: 12px;
	font-weight: bold;
	text-align: left;
	margin: 6px 0;
}
h1 a {
	text-decoration: none;
}
h1 a:hover {
	text-decoration: underline;
}*/
h2 {
	font-size: 12px;
	font-weight: bold;
	text-align: left;
	margin: 3px 0;
}
h3, h4, h5 {
	font-size: 11px;
	font-weight: bold;
	text-align: left;
	margin: 3px 0;
}
p {
	margin: 4px 0;
}
ul {
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left: 20px;
	margin-right: 0;
	padding: 0;
	list-style-type: square;
}
.clear {
  height: 0;
  font-size: 0;
  clear: both;
}
.center {
	text-align: center;
}
.txtRight {
	text-align: right;
}
.txtLine {
	text-decoration: line-through;
}
.bold {
	font-weight: bold;
}
/* contents line */
.line {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0;
}
.line p {
	margin: 0;

}
.line p:first-child {
	width: 125px;
	font-weight: bold;
	flex-shrink: 0;
}
.line p:last-child {
	flex: 1;
}
.separator {
	margin: 12px 0;
	border-bottom: 1px solid #E6E6E6
}
/* error messages */
.error {
	margin-bottom: 16px;
	padding: 16px 20px;
	border: none;
	border-left: 4px solid #F44336;
	background: #FFEBEE;
	color: #C62828;
	font-weight: 500;
	border-radius: 6px;
	box-shadow: 0 2px 4px rgba(244, 67, 54, 0.1);
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	line-height: 1.4;
}
.errorGreen {
	margin-bottom: 16px;
	padding: 16px 20px;
	border: none;
	border-left: 4px solid #4CAF50;
	background: #E8F5E8;
	color: #2E7D32;
	font-weight: 500;
	border-radius: 6px;
	box-shadow: 0 2px 4px rgba(76, 175, 80, 0.1);
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	line-height: 1.4;
}
.errorInfo {
	margin-bottom: 16px;
	padding: 16px 20px;
	border: none;
	border-left: 4px solid #2196F3;
	background: #E3F2FD;
	color: #0D47A1;
	font-weight: 500;
	border-radius: 6px;
	box-shadow: 0 2px 4px rgba(33, 150, 243, 0.1);
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	line-height: 1.4;
}
/* tables */
table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	padding: 0;
	border-left: 1px solid #EDEDED;
	border-right: 1px solid #EDEDED;
}
table thead {
	text-align: center;
	font-weight: bold;
	background: #FAFAFA;
}
table tbody {
	text-align: left;
}
table td {
	padding: 4px;
	border: 1px solid #EDEDED;
}
table td.editable {
	cursor: pointer;
}
table .editable:hover{
	background: #F5F5F5;
}
/* information bubble */
#bubble, .bubble {
	position: absolute;
	padding: 6px;
	width: 250px;
	background: rgb(255, 255, 255); /* #FCFCFC */
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #CCCCCC;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	box-shadow: 0 0 15px #CCCCCC;
	-webkit-box-shadow: 0 0 15px #CCCCCC;
	-moz-box-shadow: 0 0 15px #CCCCCC;
	z-index: 10;

	behavior: url(/PIE.htc);
}
/* overlay behind bubble */
#overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
	background-color: #000;
	opacity: 0.25;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
}
/* small images */
.simg {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url(../img/smallButtons.png);
	vertical-align: middle;
	background-position: 0px 0px;
	background-repeat: no-repeat;
}
.simg.edit {
	background-position: 0px 0px;
}
.simg.download {
	background-position: 0px -16px;
}

#header {
	width: 790px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 25px;
	padding: 0;
}
#header img {
	width: 300px;
	height: 66px;
	border: 0;
}
.main {
	width: 790px;
	margin-left: auto;
	margin-right: auto;
}

/* menu with different parts of sites */
#mainMenu {
	text-align: center;
	margin: 0;
	padding: 0;
	font-weight: bold;
	color: #DD3708;
	border-top: 0 solid #333333;
	border-bottom: 0 solid #333333;
	overflow: auto;
	font-size: 1.1em;
	z-index: 100;
}
#mainMenu li {
	list-style-type: none;
	float: left;
}
#mainMenu a {
	color: #DD3708;
	text-decoration: none;
	padding: 8px;
	display: block;
	border-right: 0 solid #333333;

}
#mainMenu li:first-child a {
	border-left: 0 solid #333333;

}
#mainMenu a:hover {
	color: #FFFFFF;
	text-decoration: none;
	background: #ed3c0c;

}
#mainMenu #closeMobileMenu {
	display: none;
}
#mobileMenu {
	display: none;
	cursor: pointer;
	z-index: 99;
}

#mainBar {
	color: #FFFFFF;
	background: #ed3c0c;
	background: -moz-linear-gradient(top, #ed3c0c, #F37452);
	background: -webkit-linear-gradient(top, #ed3c0c, #F37452);
	background: -o-linear-gradient(top, #ed3c0c, #F37452);
	background: -ms-linear-gradient(top, #ed3c0c, #F37452);
	background: linear-gradient(to bottom, #ed3c0c, #F37452);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ed3c0c', endColorstr='#F37452',GradientType=0 );
	padding: 6px;
}

/* main part of the site */




/* preview box on index page */
#preview {
	overflow: auto;
}
/* slider on index page */
#intro_slider {
	position: relative;
	overflow: hidden;
	width: 280px;
	height: 289px;
	float: left;
	margin-right: 4px;
}
#intro_slider ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#intro_sliderContent {
	width: 280px;
	position: absolute;
	top: 0;
	margin-left: 0;
}
.intro_sliderImage {
   float: left;
   position: relative;
   display: none;
}
.intro_sliderImage img {
   width: 280px;
   height: 289px;
}
.intro_sliderImage span {
   position: absolute;
   left: 0;
   font: 1.2em/1.5em Arial, Helvetica, sans-serif;
   padding: 10px 13px;
   width: 374px;
   background-color: #000;
   filter: alpha(opacity=70);
   opacity: 0.7;
   color: #fff;
   display: none;
   bottom: 0;
}

.previewMessage {
	float: right;
	width: 490px;
	font-size: 2em;
	line-height: 1.2em;
	padding-top: 40px;
}
.previewMessage .huge {
	font-size: 2em;
	line-height: 1.3em;
}
.previewMessage a {
	text-decoration: none;
	color: #FFF;
	border: 2px solid #FFF;
	padding: 8px;
	border-radius: 5px;
	display: inline-block;
}
.previewMessage a:hover {
	background: #FFFFFF;
	color: #ed3c0c;
}
.previewMessage .buttons {
	text-align: center;
	margin-top: 20px;
}

h1 {
	font-size: 2em;
	line-height: 1.3em;
	margin: 0;
	padding: 0;
}

/* Content */
#content {
	padding: 6px;
}
.content {
	border: 1px solid #E6E6E6;
	background: #FFFFFF;
	padding: 6px;
	margin: 6px;
	display: inline-block;
	vertical-align: top;
}
.content.full {
	display: block;
}
.content.half {
	width: 363px;
}
.content.third {
	width: 233px;
}
.content.twoThirds {
	width: 493px;
}
.center {
	text-align: center;
}

/* features list */
.features {
	margin: 2em 0;
}
.features>div {
	display: inline-block;
	width: 236px;
	vertical-align: top;
	padding: 4px;
}
.features>div>img {
	width: 40px;
	height: 40px;
}
.features>div>span.material-icons {
	font-size: 48px;
	color: #ed3c0c;
	display: table-cell;
	vertical-align: top;
	padding: 4px;
	width: 60px;
}
.features>div>span {
	display: table-cell;
	vertical-align: top;
	padding: 4px;
}

/* demo section */
.content p .material-icons {
	vertical-align: middle;
	margin-right: 8px;
}



/* site content box */
.contentLeft, .contentRight {
	border: 1px solid #E6E6E6;
	background: #FFFFFF;
	padding: 0.6em;
}
/* content column with side panel */
.contentLeft {
	float: left;
	width: 560px;
}
.contentRight {
	float: right;
	width: 200px;
}
/* 2 equal columens */
.columnLeft {
	float: left;
	width: 50%;
}
.columnRight {
	float: right;
	width: 49%;
}
/* 3 equal columns */
.column {
	width: 33.3%;
	float: left;
}



/* More testimonials link on index page */
.moreTestimonials {
	margin-top: 10px;
	display: block;
	text-align: right;
}
.testimonial {
	margin: 10px 0;
}
/* clients menu */
#clientsMenu {
	margin: 0 0 30px 0;
	padding: 0;
	color: #DD3708;
}
#clientsMenu li {
	padding: 4px 8px;
	margin: 0;
	list-style-type: none;
	display: inline;
}
#clientsMenu .material-icons {
	vertical-align: middle;
	margin-right: 12px;
	font-size: 28px;
}
.bimg {
	display: inline-block;
	width: 32px;
	height: 32px;
	background-image: url(../img/buttons.png);
	vertical-align: middle;
	background-position: 0px 0px;
	background-repeat: no-repeat;
}
.bimg.licenses {
	background-position: 0px 0px;
}
.bimg.settings {
	background-position: 0px -32px;
}
.bimg.order {
	background-position: 0px -64px;
}
.bimg.forums {
	background-position: 0px -96px;
}
.bimg.wiki {
	background-position: 0px -128px;
}
.bimg.languages {
	background-position: 0px -160px;
}
/* client email and log out link */
.clientInfo {
	margin-bottom: 10px;
}
/* downloadable item in download bubble */
.downloadLine {
	margin: 2px 0;
	padding: 2px 0;
	border-bottom: 1px solid #EDEDED;
	position: relative;
}
.downloadLine span {
	position: absolute;
	top: 12px;
	left: 0;
}
.downloadLine p {
	margin-left: 20px;
}
.downloadLine a {
	font-weight: bold;
}
/* language page */
img.langFlag {
	width: 80px;
	float: left;
	margin-right: 4px;
}

/* order page */
.licenseText {
	height: 150px;
	overflow: auto;
	border: 1px solid #BABABA;
	background: #FCFCFC;
	padding: 4px;
	margin: 4px;
}
/* list in agreement */
.lAgreementList {
	list-style-type: lower-roman;
	margin-top: 4px;
	margin-bottom: 4px;
	margin-right: 0;
	margin-left: 25px;
	padding: 0;
}

#news_title {
	border-bottom: 1px solid #66CCFF;
	width: 30%;
	margin-top: 5px;
	font-weight: bold;
}

#copyright_notice {
	text-align: center;
}

#footer {
	color: #FFFFFF;
	background: #ed3c0c;
	background: -moz-linear-gradient(top, #ed3c0c, #F37452);
	background: -webkit-linear-gradient(top, #ed3c0c, #F37452);
	background: -o-linear-gradient(top, #ed3c0c, #F37452);
	background: -ms-linear-gradient(top, #ed3c0c, #F37452);
	background: linear-gradient(to bottom, #ed3c0c, #F37452);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ed3c0c', endColorstr='#F37452',GradientType=0 );
	padding: 6px;
}

#footer a {
	color: #FFF;
}
#footer a:hover {
	color: #FFF;
}

/* Mobile version */
@media (max-width: 800px) {
	*  {
		box-sizing: border-box;
	}
	.main, #header {
		width: 100%;

	}

	#mainMenu {
		position: fixed;
		bottom: 0;
		right: 0;
		width: 75%;
		text-align: left;
		border-left: 1px solid #C8C8C8;
		border-top: 1px solid #C8C8C8;
		line-height: 2em;
		display: none;
		-webkit-box-shadow: 0px 0px 4px #C8C8C8;
		box-shadow: 0px 0px 4px #C8C8C8;
	}
	#mainMenu li {
		float: none;
		background: #FFFFFF;
	}
	#mainMenu li#closeMobileMenu {
		display: block;
	}
	#mainMenu li#closeMobileMenu a {
		height: 42px;
		background-image: url('../img/close.png');
		background-repeat: no-repeat;
		background-position: 1% 50%;
	}
	#mainMenu li#closeMobileMenu a:hover {
		background-image: url('../img/close2.png');
	}

	#mobileMenu {
		display: block;
		position: fixed;
		bottom: 0;
		right: 0;
		width: 60px;
		height: 60px;
		text-align: left;
		border-left: 1px solid #C8C8C8;
		border-top: 1px solid #C8C8C8;
		background-color: #FFFFFF;
		background-image: url('../img/mobile_menu.png');
		background-repeat: no-repeat;
		background-position: 50% 50%;
		-webkit-box-shadow: 0px 0px 4px #C8C8C8;
		box-shadow: 0px 0px 4px #C8C8C8;
	}
	#mainMenu.mobileShow {
		display: block;
	}

	#intro_slider {
		display: none;
	}
	.previewMessage {
		float: none;
		width: 100%;
		padding: 4px;
	}

	.features>div {
		width: 100%;
	}

	.content {
		display: block;
		margin: 6px 0;
	}
	.content.half {
		width: 100%;
	}
	.content.third {
		width: 100%;
	}
	.content.twoThirds {
		width: 100%;
	}
}

/* News Item Styling - Fits with existing onArcade.com design */
.newsItem {
	border: 1px solid #E6E6E6;
	background: #FFFFFF;
	padding: 12px;
	margin: 8px 0;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.2s ease;
}

/* Alternating background colors for news items */
.newsItem:nth-child(even) {
	background: #F8F8F8;
}

.newsItem:hover {
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	border-color: #D4D4D4;
}

.newsItem h3 {
	font-size: 13px;
	font-weight: bold;
	color: #DD3708;
	margin: 0 0 8px 0;
	line-height: 1.3em;
}

.newsItem h3 a {
	color: #DD3708;
	text-decoration: none;
}

.newsItem h3 a:hover {
	color: #FF3300;
	text-decoration: underline;
}

.newsItem h2 a {
	color: #DD3708;
	text-decoration: none;
}

.newsItem h2 a:hover {
	color: #FF3300;
	text-decoration: underline;
}

.newsItem .date {
	font-size: 11px;
	color: #888888;
	margin-bottom: 8px;
	font-weight: normal;
}

.newsItem .excerpt {
	font-size: 12px;
	line-height: 1.4em;
	color: #555555;
	margin-bottom: 8px;
}

.newsItem .readMore {
	font-size: 11px;
	font-weight: bold;
}

.newsItem .readMore a {
	color: #404040;
	text-decoration: underline;
}

.newsItem .readMore a:hover {
	color: #DD3708;
	text-decoration: none;
}

/* Alternate styling for featured news items */
.newsItem.featured {
	border-color: #DD3708;
	background: #FEFEFE;
	border-width: 2px;
}

.newsItem.featured h3 {
	font-size: 14px;
}

/* Compact news item for sidebars */
.newsItem.compact {
	padding: 8px;
	margin: 4px 0;
}

.newsItem.compact h3 {
	font-size: 12px;
	margin-bottom: 4px;
}

.newsItem.compact .date {
	font-size: 10px;
	margin-bottom: 4px;
}

.newsItem.compact .excerpt {
	font-size: 11px;
	margin-bottom: 4px;
}

/* Back Button Styles */
.backButton {
	margin-bottom: 10px;
}

.backBtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: #F5F5F5;
	border: 1px solid #DDD;
	border-radius: 4px;
	text-decoration: none;
	color: #333;
	font-size: 14px;
	transition: all 0.2s ease;
}

.backBtn:hover {
	background: #EEEEEE;
	border-color: #CCC;
	text-decoration: none;
}

.backBtn .material-icons {
	font-size: 18px;
}

/* Thread Item Styling - Based on newsItem design */
.threadItem {
	border: 1px solid #E6E6E6;
	background: #FFFFFF;
	padding: 12px;
	margin: 8px 0;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.2s ease;
}
/* Alternating background colors for thread items */
.threadItem:nth-child(even) {
	background: #F8F8F8;
}

.threadItem:hover {
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	border-color: #D4D4D4;
}

.threadItem h2 {
	font-size: 14px;
	font-weight: bold;
	color: #DD3708;
	margin: 0 0 8px 0;
	line-height: 1.3em;
}

.threadItem h1 {
	font-size: 16px;
	font-weight: bold;
	color: #DD3708;
	margin: 0 0 8px 0;
	line-height: 1.3em;
}

.threadItem h1 a {
	color: #DD3708;
	text-decoration: none;
}

.threadItem h1 a:hover {
	color: #FF3300;
	text-decoration: underline;
}

.threadDate {
	font-size: 11px;
	font-weight: normal;
	color: #888888;
	margin-left: 10px;
}

.threadUpdated {
	font-size: 10px;
	font-style: italic;
	color: #888888;
	opacity: 0.8;
}
.threadItem .content {
	margin: 0;
	display: block;
}

.threadStatus {
	font-size: 16px !important;
	margin-right: 8px;
	vertical-align: middle;
}

.threadStatus.pinned {
	color: #F44336;
}

.threadStatus.locked {
	color: #F44336;
}

.threadItem h2 a {
	color: #DD3708;
	text-decoration: none;
}

.threadItem h2 a:hover {
	color: #FF3300;
	text-decoration: underline;
}

.threadItem .date {
	font-size: 11px;
	color: #888888;
	margin-bottom: 8px;
	font-weight: normal;
}

.threadItem .author {
	font-size: 13px;
	color: #666666;
	margin: 0 0 4px 0;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 6px;
}

.threadItem .author .material-icons {
	font-size: 16px;
	color: #4CAF50;
}

.threadItem .content {
	font-size: 12px;
	line-height: 1.4em;
	color: #555555;
	margin-bottom: 8px;
	max-height: 50px;
	overflow: hidden;
	position: relative;
	border: none;
	background: none;
	padding: 0;
}
.threadItem .content.expanded {
	max-height: none;
}
.threadItem .content-fade {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 20px;
	background: linear-gradient(transparent, #FFFFFF);
	pointer-events: none;
}

.threadItem.pinned .content-fade {
	background: linear-gradient(transparent, #FFF8E1);
}

.threadItem.pinned:nth-child(even) .content-fade {
	background: linear-gradient(transparent, #FFF3C4);
}

.threadItem .expandBtn {
	background: transparent;
	border: none;
	color: #DD3708;
	font-size: 11px;
	font-weight: bold;
	cursor: pointer;
	padding: 2px 0;
	margin-bottom: 8px;
	text-decoration: underline;
	display: block;
}

.threadItem .expandBtn:hover {
	color: #FF3300;
}

/* Alternate styling for featured thread items */
.threadItem.featured {
	border-color: #DD3708;
	background: #FEFEFE;
	border-width: 2px;
}

.threadItem.featured h2 {
	font-size: 15px;
}

/* Pinned thread styling */
.threadItem.pinned {
	background: #FFF8E1;
	border-color: #FFB74D;
}

.threadItem.pinned:nth-child(even) {
	background: #FFF3C4;
}

.threadItem.pinned:hover {
	background: #FFECB3;
}

/* Thread Rating Styles */
.threadRating {
	margin-top: 15px;
	padding-top: 10px;
	border-top: 1px solid #E6E6E6;
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: flex-start;
}

.threadRatingSeparator {
	width: 1px;
	height: 25px;
	background: #E6E6E6;
	margin: 0 10px;
}

.threadReplyCount {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #555555;
	text-decoration: none;
	transition: color 0.2s ease;
}

.threadReplyCount:hover {
	color: #333333;
	text-decoration: none;
}

.threadReplyCount .material-icons {
	font-size: 18px;
	color: #777777;
}

.replyCount {
	font-weight: bold;
	min-width: 20px;
	text-align: center;
}

.threadRatingBtn {
	display: flex;
	align-items: center;
	gap: 5px;
	background: transparent;
	border: none;
	border-radius: 4px;
	padding: 8px 12px;
	cursor: default;
	font-size: 12px;
	color: #555555;
	transition: all 0.2s ease;
}
.threadRating .threadRatingBtn:hover {
	background: transparent;
}
.threadRating.logged-in .threadRatingBtn:hover {
	background: transparent;
	cursor: pointer;
}
.threadRatingBtn .material-icons {
	font-size: 18px;
	color: #777777;
	transition: color 0.2s ease;
}

.threadRating.logged-in .threadRatingBtn:hover .material-icons {
	color: #555555;
}

.threadRating.logged-in .threadRatingBtn[data-reaction="up"]:hover .material-icons {
	color: #4CAF50;
}

.threadRating.logged-in .threadRatingBtn[data-reaction="down"]:hover .material-icons {
	color: #F44336;
}

.threadRating.logged-in .threadRatingBtn[data-reaction="favorite"]:hover .material-icons {
	color: #E91E63;
}

.threadRating.logged-in .threadRatingBtn[data-reaction="dissatisfied"]:hover .material-icons {
	color: #FF9800;
}

.threadRating.logged-in .threadRatingBtn[data-reaction="mood"]:hover .material-icons {
	color: #2196F3;
}
/* not yet used */
.threadRatingBtn.active[data-reaction="up"] {
	background: transparent;
	border: none;
	color: #4CAF50;
}

.threadRatingBtn.active[data-reaction="up"] .material-icons {
	color: #4CAF50;
}
.threadRatingBtn.active[data-reaction="down"] {
	background: transparent;
	border: none;
	color: #F44336;
}
.threadRatingBtn.active[data-reaction="down"] .material-icons {
	color: #F44336;
}
.threadRatingBtn.active[data-reaction="favorite"] {
	background: transparent;
	border: none;
	color: #E91E63;
}

.threadRatingBtn.active[data-reaction="favorite"] .material-icons {
	color: #E91E63;
}

.threadRatingBtn.active[data-reaction="dissatisfied"] {
	background: transparent;
	border: none;
	color: #FF9800;
}

.threadRatingBtn.active[data-reaction="dissatisfied"] .material-icons {
	color: #FF9800;
}

.threadRatingBtn.active[data-reaction="mood"] {
	background: transparent;
	border: none;
	color: #2196F3;
}

.threadRatingBtn.active[data-reaction="mood"] .material-icons {
	color: #2196F3;
}

/* News Rating Styles */
.newsRating {
	margin-top: 15px;
	padding-top: 10px;
	border-top: 1px solid #E6E6E6;
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: center;
}

.newsRatingBtn {
	display: flex;
	align-items: center;
	gap: 5px;
	background: transparent;
	border: none;
	border-radius: 4px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 12px;
	color: #555555;
	transition: all 0.2s ease;
}

.newsRatingBtn:hover {
	background: transparent;
}

.newsRatingBtn .material-icons {
	font-size: 18px;
	color: #777777;
	transition: color 0.2s ease;
}

.newsRatingBtn:hover .material-icons {
	color: #555555;
}

.newsRatingBtn[data-rating="up"]:hover .material-icons {
	color: #4CAF50;
}

.newsRatingBtn[data-rating="down"]:hover .material-icons {
	color: #F44336;
}

.newsRatingBtn[data-rating="favorite"]:hover .material-icons {
	color: #E91E63;
}

.newsRatingBtn[data-rating="dissatisfied"]:hover .material-icons {
	color: #FF9800;
}

.newsRatingBtn[data-rating="mood"]:hover .material-icons {
	color: #2196F3;
}

.newsRatingBtn.active[data-rating="up"] {
	background: transparent;
	border: none;
	color: #4CAF50;
}

.newsRatingBtn.active[data-rating="up"] .material-icons {
	color: #4CAF50;
}

.newsRatingBtn.active[data-rating="down"] {
	background: transparent;
	border: none;
	color: #F44336;
}

.newsRatingBtn.active[data-rating="down"] .material-icons {
	color: #F44336;
}

.newsRatingBtn.active[data-rating="favorite"] {
	background: transparent;
	border: none;
	color: #E91E63;
}

.newsRatingBtn.active[data-rating="favorite"] .material-icons {
	color: #E91E63;
}

.newsRatingBtn.active[data-rating="dissatisfied"] {
	background: transparent;
	border: none;
	color: #FF9800;
}

.newsRatingBtn.active[data-rating="dissatisfied"] .material-icons {
	color: #FF9800;
}

.newsRatingBtn.active[data-rating="mood"] {
	background: transparent;
	border: none;
	color: #2196F3;
}

.newsRatingBtn.active[data-rating="mood"] .material-icons {
	color: #2196F3;
}

.ratingCount {
	font-weight: bold;
	min-width: 20px;
	text-align: center;
}

/* News links in sidebar spacing */
.content.third p {
	margin-bottom: 0.8em;
}

/* Pagination styling */
.pagination {
	margin-top: 2em;
	margin-bottom: 1em;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5em;
}

.pagBtn, .pagNum {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	padding: 0.5em 0.8em;
	text-decoration: none;
	color: #404040;
	border: 1px solid #ddd;
	border-radius: 4px;
	transition: all 0.2s ease;
	font-size: 0.9em;
	min-width: 2.5em;
	text-align: center;
	justify-content: center;
}

.pagBtn:hover, .pagNum:hover {
	color: #DD3708;
	border-color: #DD3708;
	text-decoration: none;
}

.pagNum.current {
	background-color: #DD3708;
	color: white;
	border-color: #DD3708;
	font-weight: bold;
}

.pagDots {
	color: #888;
	padding: 0.5em 0.3em;
}

/* Thread Replies Styles */
.threadReplies {
	margin-top: 20px;
	border-top: 1px solid #E6E6E6;
}

.threadReply {
	background: #F8F8F8;
	border: 1px solid #E6E6E6;
	border-radius: 3px;
	padding: 12px;
	margin-bottom: 12px;
	font-size: 12px;
}

.threadReply:last-child {
	margin-bottom: 0;
}

.replyAuthor {
	margin-bottom: 6px;
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
}

.replyUsername {
	font-weight: bold;
	color: #666666;
}

.replyDate {
	color: #888888;
	font-size: 11px;
}

.replyUpdated {
	color: #888888;
	font-size: 10px;
	font-style: italic;
	margin-left: 8px;
	opacity: 0.8;
	display: block;
}

/* Unified Menu Styling (for both Thread and Reply menus) */
.menu {
	position: relative;
	margin-left: auto;
}

.menuBtn {
	background: none;
	border: none;
	color: #888888;
	cursor: pointer;
	padding: 4px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s, color 0.2s;
}

.menuBtn:hover {
	background-color: #E0E0E0;
	color: #555555;
}

.menuBtn .material-icons {
	font-size: 16px;
}

.menuDropdown {
	position: absolute;
	top: 100%;
	right: 0;
	background: white;
	border: 1px solid #E0E0E0;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	min-width: 130px;
	display: none;
}

.menuDropdown.show {
	display: block;
}

.menuAction {
	width: 100%;
	background: none;
	border: none;
	padding: 8px 12px;
	text-align: left;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #555555;
	font-size: 12px;
	transition: background-color 0.2s;
}

.menuAction:hover {
	background-color: #F5F5F5;
}

.menuAction .material-icons {
	font-size: 14px;
}

.menuAction[data-action="delete"] {
	color: #D32F2F;
}

.menuAction[data-action="delete"]:hover {
	background-color: #FFEBEE;
}

/* Thread Actions Styling */
.threadActions {
	margin-bottom: 10px;
	display: flex;
	justify-content: flex-start;
}
.createThreadBtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	background: #DD3708;
	border: none;
	border-radius: 6px;
	color: white;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	box-shadow: 0 2px 4px rgba(221, 55, 8, 0.2);
}

.createThreadBtn:hover {
	background: #C52F06;
	color: #FFFFFF;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(221, 55, 8, 0.3);
	text-decoration: none;
}

.createThreadBtn:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(221, 55, 8, 0.2);
}

.createThreadBtn .material-icons {
	font-size: 18px;
}

/* Create Thread Form Styling */
.createThreadForm {
	background: #FFFFFF;
	border: 1px solid #E6E6E6;
	border-radius: 6px;
	padding: 20px;
	margin-top: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.createThreadForm h2 {
	color: #DD3708;
	font-size: 18px;
	margin: 0 0 20px 0;
	font-weight: 500;
}

.formGroup {
	margin-bottom: 20px;
}

.formGroup label {
	display: block;
	font-weight: bold;
	margin-bottom: 6px;
	color: #555555;
	font-size: 14px;
}

.formGroup input[type="text"],
.formGroup textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #DDD;
	border-radius: 4px;
	font-size: 14px;
	font-family: Arial, sans-serif;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}

.formGroup input[type="text"]:focus,
.formGroup textarea:focus {
	outline: none;
	border-color: #DD3708;
	box-shadow: 0 0 0 2px rgba(221, 55, 8, 0.1);
}

.formGroup textarea {
	resize: vertical;
	min-height: 120px;
}

.formActions {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 24px;
}

.submitBtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: #4CAF50;
	border: none;
	border-radius: 4px;
	color: white;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}

.submitBtn:hover {
	background: #45A049;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.submitBtn .material-icons {
	font-size: 16px;
}

.cancelBtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: #F5F5F5;
	border: 1px solid #DDD;
	border-radius: 4px;
	color: #555555;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}

.cancelBtn:hover {
	background: #EEEEEE;
	border-color: #CCC;
	text-decoration: none;
}

.cancelBtn .material-icons {
	font-size: 16px;
}

/* Specific positioning for reply menus */
.replyMenu {
	position: relative;
	margin-left: auto;
}

/* Thread-specific styles */
.threadHeader {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 10px;
}

.threadInfo {
	flex: 1;
}

.threadInfo .author {
	font-size: 13px;
	color: #666666;
	margin: 0 0 4px 0;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 6px;
}

.threadInfo .author .material-icons {
	font-size: 16px;
	color: #4CAF50;
}

.threadMenu {
	position: relative;
	margin-left: 10px;
}

/* Reply Edit Form Styling */
.replyEditForm, .threadEditForm {
	margin-top: 8px;
}

.replyEditForm textarea, .threadEditForm textarea {
	width: 100%;
	min-height: 80px;
	padding: 8px;
	border: 1px solid #DDDDDD;
	border-radius: 4px;
	font-family: inherit;
	font-size: 12px;
	resize: vertical;
	box-sizing: border-box;
}
.threadEditForm input[type="text"] {
	width: 100%;
	padding: 8px;
	border: 1px solid #DDDDDD;
	border-radius: 4px;
	font-family: inherit;
	font-size: 12px;
	box-sizing: border-box;
}

.replyEditForm textarea:focus, .threadEditForm textarea:focus {
	outline: none;
	border-color: #007ACC;
}

.editActions {
	margin-top: 8px;
	display: flex;
	gap: 8px;
}

.editActions button {
	padding: 6px 12px;
	border: none;
	border-radius: 4px;
	font-size: 12px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.editActions .saveBtn {
	background-color: #007ACC;
	color: white;
}

.editActions .saveBtn:hover {
	background-color: #005A9E;
}

.editActions .cancelBtn {
	background-color: #E0E0E0;
	color: #555555;
}

.editActions .cancelBtn:hover {
	background-color: #CCCCCC;
}

.replyContent {
	color: #555555;
	line-height: 1.4em;
}

/* Blockquote Styling */
blockquote {
	margin: 10px 0;
	padding: 8px 12px;
	border-left: 4px solid #DDDDDD;
	background: #F8F8F8;
	color: #666666;
	font-style: italic;
	border-radius: 0 4px 4px 0;
}

blockquote p {
	margin: 0;
}

blockquote:before {
	content: '"';
	font-size: 1.2em;
	color: #BBBBBB;
}

blockquote:after {
	content: '"';
	font-size: 1.2em;
	color: #BBBBBB;
}

/* Reply Form Styling */
.replyForm {
	margin-top: 30px;
	padding: 20px;
	border: 1px solid #E6E6E6;
	border-radius: 4px;
	background: #FAFAFA;
}

.replyForm h3 {
	margin: 0 0 15px 0;
	color: #333333;
	font-size: 16px;
}

.formGroup {
	margin-bottom: 15px;
}

.formGroup label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	color: #555555;
	font-size: 14px;
}

.formGroup textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	border: 1px solid #DDD;
	border-radius: 4px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
	resize: vertical;
	min-height: 80px;
}

.formGroup textarea:focus {
	outline: none;
	border-color: #4CAF50;
	box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}
.formActions {
	text-align: right;
}

/* Login and Username Action Buttons */
.loginBtn, .usernameBtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.loginBtn {
	background: #2196F3;
	color: white;
}

.loginBtn:hover {
	background: #1976D2;
	text-decoration: none;
}

.usernameBtn {
	background: #FF9800;
	color: white;
}

.usernameBtn:hover {
	background: #F57C00;
	text-decoration: none;
}

.loginBtn .material-icons,
.usernameBtn .material-icons {
	font-size: 18px;
}

/* Locked Thread Message */
.lockedMessage {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px;
	background: #F5F5F5;
	border: 1px solid #E0E0E0;
	border-radius: 4px;
	color: #666666;
	font-style: italic;
}

.lockedMessage .material-icons {
	font-size: 20px;
	color: #999999;
}
