/* BBCode - Responsive iframe video
--------------------------------------------- */
.video-wrapper {
	margin: 0 auto;
	max-width: 100%;
	width: 640px;
}

.video-container {
	height: 0;
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
}

.video-container iframe, .video-container object, .video-container embed {
	border: 0;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

/* Board Rules
--------------------------------------------- */
.mini-panel {
	background-color: #f0ece0;
	border: 1px solid #f3f0e6;
	border-radius: 4px;
}

.boardrules-menu {
	border: none;
}

.boardrules-menu li {
	border-color: #c7bdaa;
}

.boardrules-container .content {
	font-size: 1.05em;
}

.highlight {
	background: #f4f3f2;
	border-radius: 4px;
}

/* Board Announcements
--------------------------------------------- */
#phpbb_announcement {
	background-color: #d07b01;
	background-image: linear-gradient(#d07b01, #f3a900);
	border: none;
	border-radius: 5px;
	box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.3);
	color: #013f5b;
}

#phpbb_announcement a.postlink:hover {
	border-color: #00c0ff;
}

/* Welcome Guest
--------------------------------------------- */
.welcome-box {
	border-width: 3px;
	border-radius: 4px;
}


/* Extension - Board3 Portal by Marc Alexander
--------------------------------------------- */
#portal-body .forabg > .inner > ul.forums, #portal-body .forabg > .inner > ul.bg1, #portal-body .forabg > .inner > ul.topiclist + div {
	background-color: #f0ece0;
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
	border-bottom: 1px solid #e8e1cf;
	border-top: 1px solid #fff;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
	margin-top: 3px;
}

#portal-body .forabg > .inner .bg1 .bg1, #portal-body .forabg > .inner > div > div {
	background: none;
	box-shadow: none;
}

#portal-body + .copyright {
	clear: both;
}

#portal-body select ~ input {
	margin: 2px 0;
}

@media (max-width: 895px) {
	#portal-body .forabg > .inner > ul.topiclist, #portal-body .forabg > .inner > ul.topiclist li, #portal-body .forabg > .inner > ul.topiclist + div {
		border-radius: 0;
	}
}

@media (max-width: 700px) {
	#portal-left li.header dt, #portal-right li.header dt {
		font-size: 1.05em;
		text-transform: none;
	}
}

@media (max-width: 350px) {
	#portal-left select, #portal-right select {
		max-width: 150px;
	}
	#portal-left .inputbox, #portal-right .inputbox {
		max-width: 140px;
	}
}


/* mChat
--------------------------------------------- */
.mchat-wrapper {
	margin-bottom: 10px;
}

#mchat-body {
	background-color: #f0ece0;
	border-bottom: 1px solid #e8e1cf;
	border-top: 1px solid #fff;
	border-radius: 4px;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	margin-top: 3px;
	padding: 0 5px 5px;
	width: auto;
}

#mchat-panel {
	background: none;
	border-top: 1px solid #dfd7bd;
	box-shadow: none;
}

.mchat-wrapper ul.topiclist li.row {
	background-color: #e6dfcb;
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2));
	border-bottom-color: #fdfcfb;
	border-top-color: #d0c39e;
	box-shadow: none;
}

.mchat-wrapper ul.topiclist li.row:hover {
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
}

.mchat-wrapper ul.topiclist li.mchat-no-messages {
	background: none;
	border: 0;
}

.mchat-wrapper .mchat-text {
	font-size: 1.1em;
}

.mchat-wrapper .mchat-text blockquote {
	background-position: 5px 5px;
}

/* Profile Side Switcher
--------------------------------------------- */
.leftsided .panel.online, .leftsided .post.online {
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
}

.leftsided .post.online:before {
	left: -1px;
	right: auto;
	transform: rotate(-90deg);
}

.leftsided .post.online .postprofile {
	background-image: none;
}

@media (max-width: 700px) {
	.leftsided .post.online:before {
		left: auto;
		right: -1px;
		transform: none;
	}
}

/* Post Edit Log
--------------------------------------------- */
#edit-content {
	border: 1px solid #c7bda7;
	border-radius: 4px;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
	color: #271b08;
	margin-top: 3px;
	padding: 10px 10px 5px;
}

#edit-compare th {
	padding: 5px;
}

.edit-reason, .edit-reason, .old-subject, .edit-time {
	text-align: left;
}
