/* [hidden] hide BBCode */
.hidebox {
	position: relative;
	margin: 5px 0;
	font-weight: normal;
	padding: 39px 19px 14px;
	background-color: #c5e3bf;
	border: 1px solid #72B173;
	border-radius: 4px;
}
.hidebox_title {
	position: absolute;
	top: -1px;
	left: -1px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 12px;
	color: #2f4f2f;
	padding: 5px 12px;
	border: 1px solid #72B173;
	border-radius: 4px 0 4px 0;
}
.hidebox_hidden {
	background-color: #f2dede;
	border-color: #ebccd1;
	color: #80001c;
}

.hidebox_visible { color: #2f4f2f }

/* [spoil] spoiler BBCode */
.spoilbtn:hover { color: #d31141 !important; }

/* [fade] fade text in/out effect */
.fadeEffect {
	-webkit-animation: fade 2s infinite;
	-moz-animation: fade 2s infinite;
	animation: fade 2s infinite;
}
@-webkit-keyframes fade {
	50% {
		opacity: 0;
	}
}
@keyframes fade {
	50% {
		opacity: 0;
	}
}

/* Hide native phpbb BBCode buttons */
#format-buttons,
#core-bbcode-buttons,
#custom-bbcode-buttons { display: none }

/* ABBC3 BBCode buttons */
#abbc3_buttons {
	background-color: rgba(0, 0, 0, 0.02);
	border-radius: 0 0 3px 3px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin: 18px -18px -18px;
	padding: 6px;
}
.quickreply-box #abbc3_buttons {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	border-top: none;
	border-radius: 3px 3px 0 0;
	margin-bottom: 18px;
	margin-top: -18px;
}
#abbc3_buttons select {
	margin: 4px;
	padding: 0;
	height: 22px;
	background-color: #fff !important;
	border: 1px solid #b4bac0;
	color: #000 !important;
}
.abbc3_button {
	border-radius: 3px;
	margin: 0;
	padding: 0 9px;
	min-width: 36px;
	height: 36px;
	background: transparent no-repeat center;
	background-size: 21px;
	font-size: 11px;
	transition:
		background-color .18s cubic-bezier(0.6,0,.1,1);
}
.abbc3_button + .abbc3_button,
.abbc3_button + .chosen-container,
.abbc3_select + .chosen-container,
.chosen-container + .abbc3_button {
	margin-left: 3px;
}
.abbc3_button:hover {
	background-color: rgba(0, 0, 0, 0.1);
	cursor: pointer;
}
.abbc3_buttons_row {
	margin: 0 !important;
	min-height: 30px;
	width: 100%;
	padding: 0;
	display: block;
	clear: both;
}
.abbc3_buttons_row:after {
	clear: both;
	content: "";
	display: block;
}
.abbc3_buttons_row + .abbc3_buttons_row {
	padding-top: 3px;
}
.abbc3_buttons_row > * {
	display: block;
	float: left;
}

.abbc3_font_menu_btn {
	position: relative;
}

.abbc3_buttons_row .open > .chosen-drop {
	display: block;
}

.smilies-button {
	line-height: 34px;
	text-align: center;
}
.smilies-button > span {
	margin: 0;
}
/* tweaks for subsilver styles */
form td .abbc3_buttons_row { width: 98% }
/* tweaks for ACP bbcode editor */
#main #abbc3_buttons { margin-left: 96px }
#main #abbc3_buttons .abbc3_buttons_row { width: 95% }

/* BBCode wizard */
#bbcode_wizard {
	font-size: 0.9em;
	display: none;
	background: white;
	background-color: #FFFFFF;
	box-shadow:
		0 0 6px rgba(0,0,0,0.18),
		0 1px 1px rgba(0,0,0,0.06);
	border-radius: 2px;
	padding: 15px 18px;
	position: absolute;
	width: 500px;
	margin: 0 auto;
	left: 0;
	right: 0;
	z-index: 500;
}

#bbcode_wizard p {
	font-size: 1.3rem;
}

#bbcode_wizard h3 {
	font-size: 1.3rem;
	margin: 9px 0;
}

#bbcode_wizard pre {
	font-size: 1.3rem;
}

#bbcode_wizard select {
	cursor: pointer;
}

/* responsive design */
@media only screen and (max-width: 500px), only screen and (max-device-width: 500px) {
	#bbcode_wizard {
		width: 300px !important;
	}
}
