/* ABBC3 Markup Styles
---------------------------------------- */

.helpline {
	width: 100%;
	overflow: hidden;
	background-color: transparent !important;
	border-style: none;
	font-size: 10px;
	padding-bottom:5px;
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/* For Safari */
	resize: none;
}

.helpline:hover {
	border-style: none;
}

hr.hrabbc3 {
	border: 0 none #cccccc;
	border-top: 1px solid  #cccccc;
	margin: 5px 0;
	clear: both;
	height: 1px;
	display: block;
}

hr.hrdashed {
	border: 0 none #cccccc;
	border-top: 1px dashed #cccccc;
	margin: 5px 0;
	clear: both;
	height: 1px;
	display: block;
}

hr.hrdotted {
	border: 0 none #cccccc;
	border-top: 1px dotted #cccccc;
	margin: 5px 0;
	clear: both;
	height: 1px;
	display: block;
}
/* IE7 Only */
*:first-child + html hr {
	margin: 0;
}

#helpbox {
	font-family: Verdana, Helvetica, Arial, sans-serif;
}

#message-box textarea.inputbox {
	width: 100%;
/*	Never set a default height for the textarea, will break the function textbox_resize() */
	height: auto; /* use of auto will override fixed height set in forms.css of phpbb */
	/* For Safari */
	resize: none;
}

#abbc3posttable {
	border: 1px solid #C0C0C0;
	border-collapse: collapse;
	vertical-align: top;
}

#abbc3posttable select {
	height: 20px;
	margin: 3px 0;
	padding: 1px;
	font-size: 11px; /*1.0em*/
}

#acp #abbc3posttable select {
	font-size: 11px; /*1.0em*/
	padding: 0;
}

#abbc3posttable option {
/*	background-color: #eeeeee;	*/
	color: black;
	padding-top: 1px;
	padding-bottom: 1px;
}

#abbc3posttable option.selected {
	color: black;
	font-weight: bold;
	font-style: italic;
}
#abbc3posttable tr, #abbc3posttable td, #abbc3posttable div {
	border: 1px solid #C0C0C0;
	height: 29px;
	margin: 0;
	padding: 0 0 0 2px;
	vertical-align: top;
}

#abbc3posttable .btnbbcode3, #abbc3posttable .option.genmed {
	height: 20px;
	vertical-align: top;
	margin: 3px 0 4px 0;
	cursor: pointer;
	background-color: transparent !important;
	padding: 1px;
}

#abbc3posttable .button2 {
	margin: 5px 0 4px 0;
	padding: 2px 5px;
	max-height: 20px;
}

#abbc3posttable .btnlite {
	margin: 5px 0 4px 0;
	padding: 2px 5px;
}

.abbc3_link {
	float: right;
	margin: 8px 4px 0 0;
	padding: 0;
}

.editor_Button:hover {
	background: #FAFAFA url("images/abbc3/bg_button.gif");
}

/* MOD: add button over - START */
/* DELETE ME 1
.editor_Button {
	background: url("images/bg/button_background.gif");
	border: 1px solid #6593CF;
	padding: 1px;
}
.editor_Button:hover {
	background: #FCEEC1 url("images/bg/button_over.gif");
	border: 1px solid #FFBD69;
}
DELETE ME 2 */
/* MOD: add button over - END */

#abbc3posttable .dot {
	margin: 3px 0;
	padding: 0;
	cursor: default;
	background-color: transparent !important;
}

/* abbcode_compact - Start */
._selector {
	list-style: none;
	display: inline-table !important;
	margin: 6px 0 6px 0;
	padding: 0;
	vertical-align: middle;
}
/* IE7 & IE8 with "Compatibility Mode" turned off */
*:first-child + html ._selector { display: inline; }

#button_selector.button2, 
#button_highlight.button2, 
#button_colour.button2 {
	padding: 2px;
	text-align: center;
	text-decoration: none;
	color: #000000;
	background-image: url("images/abbc3/bg_tabs.gif");
	border: 1px solid #666666;
}
#button_selector.button2:hover, 
#button_highlight.button2:hover, 
#button_colour.button2:hover {
	background-position: 0 100%;
	border-color: #BC2A4D;
	color: #BC2A4D;
}
#button_selector.btnlite, 
#button_highlight.btnlite, 
#button_colour.btnlite {
	padding: 4px 2px 2px 2px;
}
/* IE7 & IE8 with "Compatibility Mode" turned off */
*:first-child + html .li_selector { display: inline; }

._selector:hover .ul_selector {
	display: list-item;
	left: auto;
}

.rtl ._selector:hover .ul_selector {
	display: list-item;
	right: auto;
}

.ul_selector {
	display: none;
	list-style: none;
	line-height: 120%;
	border: 1px solid #666666;
	margin: 1px 0 0 0;
	width: 250px;
	height: 200px;
	overflow-y: auto;
	font-weight: normal;
	padding: 0.5em;
	position: absolute;
	left: -999em;
	z-index: 1000;
}
/* IE7 & IE8 with "Compatibility Mode" turned off */
*:first-child + html .ul_selector { margin: 27px 0 0 -100px; }

.rtl .ul_selector {
	right: -999em;
}

/* IE7 & IE8 with "Compatibility Mode" turned off */
*:first-child + html .rtl .ul_selector { margin: 27px -100px 0 0; }

.ABBC3Help .gotimage, .ABBC3Help2 .gotimage, 
.ul_selector li {
	background-image: none;
	background-position: 0 0;
	background-repeat: no-repeat;
}
#ul_highlight_selector li, 
#ul_color_selector li {
	margin: 2px 0;
	cursor: pointer;
}
.rtl .ABBC3Help .gotimage,
.rtl .ABBC3Help2 .gotimage, 
.rtl .ul_selector li {
	background-position: 100% 0;
}

.ul_selector li:hover {
	background-color: #ffffff;
}

.ABBC3Help .gotimage,
.ABBC3Help2 .gotimage, 
.ul_selector li a {
	line-height: 25px;
	vertical-align: middle;
	padding: 0 0 0 25px;
}

.rtl .ABBC3Help .gotimage,
.rtl .ABBC3Help2 .gotimage, 
.rtl .ul_selector li a {
	padding: 0 25px 0 0;
}
/* abbcode_compact - End */

/* in-post Wizards - Start */
#ABBC3_Ajax_indicator {
	margin: 0;
	padding: 0;
}
/* in-post Wizards - End */

/* Tooltip - Start */
#_tooltip_container {
	z-index: 1000;
}
.tooltip {
	font-size: 11px;
	width: 400px;
	color: #000;
	text-align: center;
	border: 1px solid #AAA;
}

.tooltip span.top {
	font-weight: bold;
	padding: 2px;
	background: #FAFAFA url("images/abbc3/bg_tabs.gif") 0 0;
}

.tooltip span.bottom {
	padding: 5px;
	color: #000000;
	background: #FFFFFF;
}
/* Tooltip - End */

/* wizards - Start */
#abbcode_wizards {
	font-size: inherit;
}
#abbcode_wizards option.disabled-options {
	background-color: gray;
}
#abbcode_wizards #grad_preview {
	text-align: center;
	height: 100%;
	padding: 0;
	margin: 0;
	font-size: 20px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}
/* wizards - End */

.fade_link {
	display: inline-block !important;
}

/* Testlink Start */
dl.testlink {
	margin: 0 1px;
	padding: 5px;
	height: auto;
	width: 99%;
	overflow: hidden; /* Place the testlink files in a scroll box */
	display: block;
	white-space: nowrap;
	font: 0.9em Monaco, "Andale Mono","Courier New", Courier, mono;
	background-color: #FFFFFF;
	border: 1px solid #dbdbdb;
}

.abbc3_wrong {
	color: #ff0000; 
	font-size: 1em;;
}
.abbc3_good {
	color: #2E8B57; 
	font-size: 1em;
}
/* Testlink End */

/* Spoiler - START */
.spoilwrapper {
/*	margin: 5px; */
	padding: 0;
	color: #333333;
	border: 1px solid #dbdbdb;
	background-color: #ffffff;
	line-height: 1.4em;
}

.spoiltitle {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #CCCCCC;
	width: 100%;
}

.btnspoil {
	margin: 2px 5px;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: bold;
	display: block;
}

.btnspoil a {
	text-decoration: none;
	color: #333333
}

.btnspoil a:hover {
	text-decoration: none;
	color: #d31141
}

.spoilcontent {	
	color: #333333;
}
/* Spoiler - END */

/* Img - START */
div.abbc3-center {
	text-align: center;
	display: table;
	margin-left: auto;
	margin-right: auto;
}

div.abbc3-left {
	text-align: left;
	display: table;
	margin-right: auto;
}

div.abbc3-right {
	text-align: right;
	display: table;
	margin-left: auto;
}
/* Img - END */

div.Rainbow {
	display: inline;
}

/* NFO bbcode - START */
.NFOTable { width: 100%; }
/* IE6 Only */
* html.nfo {
	line-height: 86%;
	letter-spacing: -2.9px;
	font-size: 10px;
	font-family: Terminal;
}
/* IE7 Only */
*:first-child + html .nfo {
	line-height: 86%;
	letter-spacing: -2.9px;
	font-size: 10px;
	font-family: Terminal;
}
.nfotitle {
	font-weight: bold;
}
.nfo {
	color: #000000;
	font-weight: normal;
	line-height: 70%;
	letter-spacing: -2.5px;
	font-size: 9px;
	font-family: "Courier New";
	background-color: #ffffff;
}
/* NFO bbcode - END */

/* ed2k bbcode - START */
.ed2k_img {
	vertical-align: text-bottom; 
	border: 0;
}
.ed2k_div1 {
	margin: 5px 0 0 0;
	padding :5px 0;
	color: #ffffff;
	border: 1px solid #999999;
	text-align: center;
	background-color: #dbdbdb;
	font-size: 0.9em;
	font-weight: bold;
}
.ed2k_div2 {
	margin: 0;
	padding: 0;
	color: #000000;
	border: 1px solid #dbdbdb;
	display: none;
	background-color: #E4F9DB;
}
.ed2k_table {
	margin: 0;
	padding: 5px;
	border-collapse: collapse;
	width: 100%;
}
.ed2k_col1 {
	width: 5%;
	border: 1px solid #999999;
	text-align: center;
}
.ed2k_col2 {
	padding: 0 5px;
	width: 94%;
	border: 1px solid #999999;
	text-align: left;
}
.ed2k_col1.ed2k_end { padding: 5px 0; }
/* ed2k bbcode - END */

/* Moderator bbcode - START */
.ModTable {
	background-color: #FFFFFF;
	border: 1px solid #000000;
	font-size: 0.9em;
	font-weight: normal;
	color: #333333;
	overflow: hidden;
}

.ModTable .exclamation {
	background-color: #ff6060;
	font-weight: bold;
	font-family: "Times New Roman", Verdana;
	font-size: 4em;
	color: #ffffff;
	vertical-align: middle;
	text-align: center;
	width: 1%;
}

.ModTable .rowuser {
	border-bottom: 1px solid #000000;
	font-weight: bold;
}
/* Moderator bbcode - END */

/* Offtopic bbcode - START */
.OffTopic {
	position: relative;
	font-size: 0.9em;
	font-weight: normal;
	padding: 15px 5px 5px 5px;
	margin: 1em 1px 0 25px;
	background: #fff;
	border: 2px solid #dbdbdb;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px;
}

.OffTopicTitle {
	position: absolute;
	top: -12px;
	left: 10px;
	height: 18px;
	font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 12px;
	line-height: 18px;
	color: #2277DD;
	background: #fff;
	padding: 1px 10px 0 10px;
	border: solid 2px #dbdbdb;
	-moz-border-radius: 16px;
	-webkit-border-radius: 16px;
	border-radius: 16px;
}

.OffTopicText {
	padding: 5px 10px;
	color: #333333;
}
/* Offtopic bbcode - END */

/* Marquee bbcode - Start */
.abbc3-marquee {
	margin: 10px 0;
	padding: 5px;
	display: -moz-inline-box; /* For FF<3 */
	-moz-box-orient: vertical; /* For FF<3 */
	display: inline-block; /* IE <8 needs this tripped back to display: inline; to make it work on block elements */
}
/* Marquee bbcode - End */

/* thumbnails - START */
.hoverbox {
	cursor: pointer;
	background-color: #eeeeee;
	color: inherit;
	border-color: #dddddd #bbbbbb #aaaaaa #cccccc;
	border-style: solid;
	border-width: 1px;
	margin: 3px;
	padding: 5px;
}
/* thumbnails - END */

/* gallery - Start */
ul.abbc3-gallery,
ul.abbc3-gallery li {
	display: inline;
	margin: 0;
	padding: 0;
}

ul.abbc3-gallery img {
	margin: 1px;
	padding: 2px;
	border: 1px dotted #ccc;
	background-color: #FAFAFA;
}
/* gallery - Start */

/* Image Resizer JS - START */
.resized-div           { margin: 0; padding: 0; border: 0; background-color: #000000; width: 100%; /*width: auto;*/ height: 24px; -moz-border-radius: 7px 7px 0 0; -webkit-border-radius: 7px 7px 0 0; border-radius: 7px 7px 0 0; text-align: left; }
.resized-txt           { background: url("images/abbc3/zoom_in.gif") 5px 0 no-repeat; padding: 0 0 5px 24px; color: #ffffff; font-size: 10px; font-weight: normal; text-decoration: none; font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; vertical-align: middle; font-variant: normal; text-transform: none; line-height: 22px; text-align: left; }
.resized-div img       { background-color: transparent !important; border: 1px solid transparent !important; margin: 2px 5px 0 10px; }
.resized-div img:hover { border: 1px solid transparent !important; }
.resized-div a:link,
.resized-div a:visited,
.resized-div a:hover,
.resized-div a:active  { border-width: 0; margin: 0; padding: 0; text-decoration: none; }
/*
.resized-div a img     { background-color: transparent; border-color: #dddddd #bbbbbb #aaaaaa #cccccc; border-style: dotted; border-width: 1px; margin: 3px; padding: 5px; }
*/
.resized, .hoverbox { cursor: url("images/abbc3/zoomin.cur"), pointer !important; }
/* Image Resizer JS - END */

/* AdvancedBox JS - START */
#AB-BackGround        { position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 100%; background-color: #000; }
#AB-Overlay           { position: absolute; top: 0; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0; }
#AB-ToolBar           { position: absolute; top: 0; left: 0; height: 20px; width: 100%; z-index: 10; }
#AB-ImageName1        { float: right; margin: 0; padding: 0 5px; width: auto; height: 18px; color: #f1f1f1; line-height: 150%; font-size: 13px;}
#AB-ImageName2        { float: right; margin: 0; padding: 2px 0; width: auto; height: 18px; color: #f1f1f1; line-height: 150%; font-size: 13px;}
#AB-OuterContainer    { position: relative; width: 250px; height: 250px; margin: auto auto; border: 4px solid white; background-color: white; }
#AB-LoadingLink       { z-index: 1000; position: absolute; top: 52%; left: 49%; width: 20px; height: 20px; margin: 0; padding: 0; background: transparent url("advancedbox_blank.gif") no-repeat; /* Trick IE into showing hover */ }
#AB-LoadingLink       { background: url("advancedbox_icon_loading.gif") top left no-repeat; }
#AB-CloserLink, #AB-ZoomLink, #AB-PrevLink, #AB-NextLink, #AB-PlayLink, #AB-PauseLink { z-index: 104; margin: 0; padding: 0; width: 20px; height: 20px; float: left; background: transparent url("advancedbox_blank.gif") no-repeat; /* Trick IE into showing hover */ }
#AB-CloserLink        { background: url("advancedbox_icon_close.gif") top left no-repeat; }
#AB-ZoomLink          { background: url("advancedbox_icon_zoom.gif")  top left no-repeat; }
#AB-PrevLink          { background: url("advancedbox_icon_prev.gif")  top left no-repeat; }
#AB-NextLink          { background: url("advancedbox_icon_next.gif")  top left no-repeat; }
#AB-PlayLink          { background: url("advancedbox_icon_play.gif")  top left no-repeat; }
#AB-PauseLink         { background: url("advancedbox_icon_pause.gif") top left no-repeat; }
#AB-nOnText           { margin: 0; padding: 0 5px; width: auto; min-width: 50px; height: 18px; color: #666; float: left; line-height: 150%; border: 1px solid #999; background: #f1f1f1 url("advancedbox_blank.gif") no-repeat; /* Trick IE into showing hover */ }
#AB-ToolBar a:visited { border: 0; cursor: pointer; background-position: 100% 0; }
#AB-ToolBar a:hover   { border: 0; cursor: pointer; background-position: 0 100%; }
#AB-ToolBar a.disabled{ cursor: default; background-position: 100% 0; }
/* AdvancedBox JS - END */

/* Hidden block - Start */
.hiddenbox, .unhiddenbox {
	padding: 8px;
	font-size: 1em;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	color: #333333;
}

.hidden, .unhidden {
	margin-bottom: 8px;
	font-weight: bold;
	display: block;
}

.hiddenbox {
	background-color: #f3e3e6;
	border: 1px solid #e599aa;
}

.hidden {
	color: #80001c;
}

.unhiddenbox {
	background-color: #c5e3bf;
	border: 1px solid #548b54;
}

.unhidden {
	color: #2f4f2f;
}

.hiddentext {
	color: #80001c;
}
/* Hidden block - End */

/* Anchor - Start */
a.anchor {
	color: #ff0000;
}

span.anchor {
	border-bottom: 1px #000000 dashed;
}
/* Anchor - End */

/* bbvideo - Start */
.bbvideotitle {
	padding: 5px;
	background-color: #ffffff;
	border: 1px solid #555555;
	clear: both;
	text-align: left;
}

.bbvideotitle img {
	float: left;
	margin-right: 5px;
}

.bbvideocontent {
	padding: 0;
	background-color: #555555;
	line-height: 0em;
	font-size: 0px;
	overflow: hidden;
}

.bbvideo_thumb {
	width: 130px;
	height: 97px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	cursor: url("images/abbc3/zoomin.cur"), pointer !important;
}
/* bbvideo - End */

/* Scrippet.css - Start
   Scrippet is a CSS template designed for including short sections of screenplay-formatted material in blog posts.
   Originally developed by John August - johnaugust.com
   Last modified 8/21/08
*/
#scrippet {
	width: 500px;
	color: #000000;
	margin-bottom: 16px !important;
	margin-left: 20px !important;
	padding: 5px 14px 15px 14px;
	margin-bottom: 16px;
	margin-left: 40px;
}
#scrippet .scrippet-shadow {
	border: none;
	background: url("images/scrippet/shadowAlpha.png") no-repeat bottom right !important;
	padding: 0 6px 6px 0 !important;
}
#scrippet .inner-shadow {
	background-color: #fffffc;
	border: 1px solid #aaaaaa;
	padding: 5px !important;
}
#scrippet p {
	font: .9em/1.3em Courier, "Courier New", monospace;
	margin: 0;
}

#scrippet .sceneheader {
	font-weight: bold;
}

#scrippet .sceneheader, 
#scrippet .action, 
#scrippet .character {
	padding-top: 1.5ex;
}

#scrippet .action {
	padding-right: 5%;
}

#scrippet .character {
	margin-left: 40%;
}

#scrippet .dialogue {
	margin-left: 15%;
	padding-right: 15%;
}

#scrippet .parenthetical {
	margin-left: 32%;
	padding-right: 30%;
}

#scrippet .dialogue + .parenthetical {
	padding-bottom: 0;
}

#scrippet .transition {
	padding-top: 3ex;
	margin-left: 65%;
	padding-bottom: 1.5ex;
}
/* Scrippet.css - End */

/* SimpleTabs: default style - Start
   Code based off :
		http://pirex.com.br/wordpress-plugins/post-tabs/
		http://labs.komrade.gr/simpletabs/
*/

div.simpleTabs {
	padding: 10px;
}

div.simpleTabsContent.currentTab {
	display: block;
}

div.simpleTabsContent {
	display: none;
	border: 1px solid #cccccc;
	margin-top: 0 !important;
	padding: 1em !important;
	background-color: #ffffff;
	color: #333333;
}

div.simpleTabsContent .simpleTabsTitles {
	display: none;
}

ul.simpleTabsNavigation {
	margin: 5px 2px 3px 1.5em !important;
	font-size: 1.0em;
	list-style-type: none !important;
	line-height: normal;
	text-align: left;
	display: block !important;
	background: none;
	color: #ff0000;
}

ul.simpleTabsNavigation li {
	list-style: none;
	display: inline !important;
	font-weight: bold;
	line-height: normal;
	background: none;
	padding: 0;
	margin: 0;
}

ul.simpleTabsNavigation li:before {
	content: none;
}

ul.simpleTabsNavigation li a {
	padding: 0.2em 0.5em !important;
	cursor: pointer;
	text-decoration: none;
	color: #777777;
	border: 1px solid #cccccc;
	background-image: url("images/bg/tab-inactive.png");
}

ul.simpleTabsNavigation li a:hover, ul.simpleTabsNavigation li a:focus {
	color: #666666;
	outline: 0;
	background: #ffffff none !important;
}

ul.simpleTabsNavigation li a.current {
	color: #000000 !important;
	border-bottom: 1px solid #ffffff;
	background: #ffffff url("images/bg/tab-active.png");
}
/* SimpleTabs: default style - End */

/* disable text selection/highlighting in the ACP, improves the jQuery drag and drop UI */
#acp_bbcodes_table {
	-o-user-select: none;
	-ms-user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}
