/*#####rrmsb_lib.css, installed by ###Mod Settings Blocks, by Robin Richmond
Style rules that support features installed by the Mod Settings Blocks mod:
Inner Mod Menus, New Tab Flags, Field Buttons, and Mods Used.
Styles for Mod Settings Blocks themselves are a separate stylesheet that is only needed by admin_genconfig.php.

This stylesheet's <link> tag is place in every TNG page's <head> element by either
genlib.php or admninlib.php.

There's a strong argument that these rules should be in genstyle.css, but I am loathe too
add any more rules to that bloated stylesheet
***See the Mod Settings Blocks wiki article and documentgtion in the mod's subfolder. */

/*********************** ###Field Buttons *********************/
.rrbtn {color:#222; background-color:#eee;
	border:1px solid grey;
	text-decoration:none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	font-weight:bold; font-size:115%;
	font-family:'Lucida Console',monospace;
}
/* Style that flags form fields that have been edited */
.rredited {background-color:#fcc;
}

/********************** ###Inner Mod Menus ********************/
#rrimmMenu {float:right; padding-right:8px; position:relative;}
.rrimmMenuX {padding-left:5px; float:right;
	cursor:pointer;
	width:15px;height:15px;}
#rrimmDrop {z-index:200;
	position:absolute; top:30px; right:-1.3em;
	min-width:16em;
	padding:2px 6px;
	border-radius:5px;
	margin-right:15px;
	line-height:1.4em;
	display:none;}
.rrimmlink {text-decoration:none!important;}
.rrimmlink:hover {text-decoration:underline;}
.rrimmWikIcon {cursor:pointer;
	width:1.3em; height:1.3em;
	xborder:2px solid #444;
	position:relative; top:1px;}
.rrimmWikiLink {text-decoration:none;
	color:black; font-size:110%;
	font-weight:bold;}
.rrimmWikiLink:hover {text-decoration:underline;}
.rrimmNotLink{color:black; font-size:110%;
	font-weight:bold;}
/* Styles for the LITBox used to display text about mod changes*/
.rrimmLitBox {font-family:sans-serif;
	font-size:108%;
	padding:0 5px;
}
.rrimmLitBox code {background-color:lightBlue;
	font-weight:bold; white-space:no-wrap;
}
.rrimmLitBox ol {margin-top:1ex; margin-bottom:0;
	margin-right:5px;
	margin-left:8px; padding-left:8px;
}

/********************** ###New Tab Flags ********************/
/* The flag, which is part of the label of a tab installed by a mod */
.rrimmNewTab {display:block;
	float:right;
	position: relative;
}
/* Format the the  popup */
.rrimmNewTab .rrimmNewModname {
	position: absolute;
	display:none;
	white-space:nowrap;
	color:black;
	top:-2em;
	left:-4em;
	background: #ffffff;
	padding: 2px;
	border:thin solid grey;
	z-index: 1001;
}
/********************** ###Show Mod Names ********************/
/* For the mod name hyperlinks */
#rrmodnamelist {margin-bottom:1ex; margin-right:8px;}
#rrmodnamelist a {
	text-decoration:underline;
	white-space:nowrap;
}
.rrsmnmod {position:relative; display:inline;}
.rrsmnmod>div {position:absolute;
	top:16px; left:-10px;
	z-index:120;
	padding:1px 4px;
	display:none;
}
/* Use css to display the popup that displays the mod name */
.rrimmNewTab>div:hover>.rrimmNewModname{
	display:block;
}

/********************** ###General Purpose *******************/
/*** These rules define styles that I find handy in my mods ***/
/* Prevent an element from printing, even when TNG's print format flag is on. */
@media print {
	.rrnoprint, .rrNoPrint{display:none;}
}
/* A button styled from scratch - for inline tags, esp a & span */
.rrButton {color:black; background-color:#eee;
	text-decoration:none;
	padding:1px 4px;
	border:1px solid #999; border-radius:7px;
	box-shadow: 1px 1px 3px 0px #999;
	cursor:pointer;
}
.rrButton:hover {color:#080836; background-color:#ccc;}
.rrsnlink { color:black;
	background-color:#e0e0f7;
	text-decoration:none;
	padding:1px 4px;
	border:1px solid #999;
	border-radius:5px; cursor:pointer;}
	box-shadow: 1px 1px 3px 0px #999;
}

/**** Make lists look like they are part of a paragraph: ****/
div.rrp {margin:1ex 0}
div.rrp p, div.rrp h4, div.rrp h3, div.rrp h2, div.rrp h1 {margin:0;}
div.p ol, div.p ul, div.p dl, div.p blockquote
	{margin-top:0; margin-bottom:0;} 
**** .p on lists double-spaces the list elements. ****/
ol.p>li {margin-top:1ex; margin-bottom:1ex;}
ul.p>li {margin-top:1ex; margin-bottom:1ex;}

/********* For help text litboxes ********/
.rrlitboxHint {
	font-size:108%;
	padding:0 5px;
}
.rrlitboxHint code {background-color:lightBlue;
	font-weight:bold; white-space:no-wrap;
}
.rrlitboxHint ol {margin-top:1ex; margin-bottom:0;
	margin-right:5px;
}
.rrlitboxHint footer {font-size:85%;
	margin-top:1ex;
	border-top:1px solid gray;
	text-align:center;
}
/*  Misc simple styles */
fieldset {border:thin solid grey;} /* Make Firefox fieldset borders visible */
.rrGreyedOut { color:#ccc;} /* "Greyed-out text */
.rrPointer {cursor:pointer;}  /* For non-a tags that have an conclick action */
.rrNoVertical {margin-top:0; margin-bottom:0;}
.rrNoBottom {margin-bottom:0;}
.rr90 {font-size:90%;}
.rrHide {display:none;} /*Same as TNG's .hidden */
.rrShowBlock {display:block;}
.rrShowInline {display:inline;}
.rrLightBorder {border:1px dotted #aaa;}
.rrCode {font-family:courier new,monospace;} /** make <code> look more like code. **/

