/* RCButton Color System */

/*
Gradient Buttons Inspired by: Web Designer Wall's great article:
http://www.webdesignerwall.com/tutorials/css3-gradient-buttons/

Positioning and Image Buttons Inspired by: Oscar Alexander's great article:
http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html
*/

/*Mod & Nav Buttons*/
/* --- Common --- */
a.rcbutton {
	white-space: nowrap;
	
	border: 1px solid black;

	color: black;
	height: 20px;
	padding: 10px 8px 0 8px;
	margin: 0px 2px 2px 0px; /* provide 2px spacing between buttons left to right */
	
	display: block;
	float: left;
	text-decoration: none;
	
	cursor: pointer;
	outline: none; /* hide dotted outline in Firefox */
}
.boxfooter a.rcbutton, .buttonrow a.rcbutton {
	margin-right: 6px;
}
a.floatright {
	float: right;
	margin: 0px 0px 2px 2px; /* provide 2px spacing between buttons right to left */
}
.boxfooter a.floatright, .buttonrow a.floatright {
	margin: 3px 3px 2px 2px;*
}
a.rcbutton span {
	background: transparent no-repeat scroll;
	
	display: block;
	line-height: 14px;
	
	cursor: pointer;
	outline: none; /* hide dotted outline in Firefox */
}
a.rcbutton:active span {
	padding: 4px 0 3px 4px;
}

/* --- Mod Buttons --- */

a.modbutton:link, a.modbutton:visited
{
	background: #e9e9e9;
	
	border-color: #d0d0d0;
}
a.modbutton:hover
{
	background: #e9e9e9;
}
a.modbutton:active, .rcbutton_toggled
{
	background: #c0c0c0;
}
a.modbutton:link span, a.modbutton:visited span
{
	color: black;
}

/* -- Delete Buttons --*/
a.delbutton:link, a.delbutton:visited
{
	background: #F05D5E;
	
	border: 1px solid #ea2f10;
}
a.delbutton:hover
{
	background: #F05D5E;
}
a.delbutton:active
{
	background: #b74700;
}
a.delbutton:link span, a.delbutton:visited span
{
	color: white;
}

/* --- Add Button --- */
a.addbutton:link, a.addbutton:visited,
a.bigaddbutton:link, a.bigaddbutton:visited
{
	background: #4B4B4B;
	
	border: 1px solid #2b5372;
}
a.addbutton:hover,
a.bigaddbutton:hover
{
	background: #4B4B4B;
}
a.addbutton:active,
a.bigaddbutton:active
{
	background: #2b5372;
}
a.addbutton:link span, a.addbutton:visited span,
a.bigaddbutton:link span, a.bigaddbutton:visited span
{
	color: white;
}

/* --- Big Buttons --- */
a.bigaddbutton:link, a.bigaddbutton:visited, a.bigbutton:link, a.bigbutton:visited
{
	height: 33px;
	padding: 0 10px 0 0;
}
a.bigaddbutton:link span, a.bigaddbutton:visited span, a.bigbutton:link span, a.bigbutton:visited span
{
	font-size: 1.5em;
	line-height: 18px;
	padding: 6px 0 9px 10px;
}
a.bigaddbutton:active span, a.bigaddbutton:visited span
{
	padding: 7px 0 8px 10px;
}

/* --- Disabled --- */
a.disabled:link, a.disabled:visited, a.disabled:hover, a.disabled:active
{
	background: #999999;
	
	border-color: #999999;
	
	cursor: default;
}

a.disabled:link span, a.disabled:visited span, a.disabled:hover span, a.disabled:active span
{
	color: #333;
	cursor: default;
}
a.rcbutton:active span {
	padding: 3px 0 4px 4px;
}

/* --- Icon Button --- */
a.iconbutton:link, a.iconbutton:visited
{
	background: transparent none no-repeat;
	color: white;
	height: 33px;
	padding: 0;
}
a.iconbutton:link span, a.iconbutton:visited span
{
	background: transparent none no-repeat;
	display: block;
}
a.iconbutton:active span
{
}

a.iconbutton:link span.disabled, a.iconbutton:visited span.disabled, a.iconbutton:hover span.disabled, a.iconbutton:active span.disabled
{
	opacity: 50%;
}

/* --- Drop Button --- */
a.dropbutton:link, a.dropbutton:visited
{
	background: #e9e9e9;
	
	border: 1px solid #d0d0d0;

	color: black;
	height: 21px;
	padding: 0px 5px 0px 0px;
}
a.dropbutton:link span, a.dropbutton:visited span
{
	background: transparent no-repeat scroll;
	background-image: url(/images/menudownarrow.png);
	background-position: right 47%;
	background-repeat: no-repeat;
	
	color: black;
	display: block;
	font-size: 0.9em;
	line-height: 14px;
	padding: 3px 12px 5px 6px;
	font-weight: bold;
}
a.dropbutton:hover
{
	background: #e9e9e9;
}
a.dropbutton:active {
	background: #c0c0c0;
}
a.dropbutton:active > span
{
	padding: 4px 12px 4px 6px;
	background-position: right 55%;
}
a.dropbutton:link span.disabled, a.dropbutton:visited span.disabled, a.dropbutton:hover span.disabled, a.dropbutton:active span.disabled
{
	color: #333;
	padding: 3px 0 5px 6px;
	outline: none;
}

div.dropwindow_container
{
	position: relative;
	padding: 0;
	margin: 0;
}

div.dropwindow
{
	z-index: 500; /* less than menu */
	
	margin-top: 2px;

	border: 3px solid #666;
	
	-moz-box-shadow: 0px 4px 16px #333333;
	-webkit-box-shadow: 0px 4px 16px #333333;
	box-shadow: 0px 4px 16px #333333;
}

/* --- XButton --- */
a.xbutton {
	width: 16px;
}
a.xbutton:link span, a.xbutton:visited span
{
	padding-left: 5px;
	font-size: 14px;
	color: white;
}

/* --- Other --- */
input.rcmobilesubmit {
	/* fallback submit button; position this like a normal rcbutton */
	float: left;
}

/*Disabled State*/

/*Button Icons*/
.rcbutton span img.rcicon
{
	margin: -3px 4px 0px 0px;
	float: left;
	border: none;
	padding-right: 3px;
}
/*Icon Buttons*/
a.rciconbttn {
	border: none;
}
a.rciconbttn span img.rcicon {
	margin-top: 0px;
	padding: 0;
}


/*Floating images, like the X button, when needing to be aligned with an adjacent RCButton*/
img.floatimgbtn {
	float:left;
	margin-top: 2px;
	margin-left: 2px;
}

.rcbuttonfontwrapper {
	font-size: 14px; /* for cases where the font size is not right */
}

.rcdynamicrow a.rcdr_removebtn
{
	margin: 0px 15px;
}

div.rcdialog_submit
{
	margin-top: 10px;
	display:inline;
}

/*RCTripleBox Admin Buttons*/
.boxheader .rc_tb_adminbtn {
	font-weight: normal;
	float: none;
	display: inline-block;
	margin: 0;
	border-width: 0;
	border-left-width: 1px;
	border-bottom-width: 1px;
	height: 25px;
	padding: 12px 8px 0px;
}
