﻿/* 
   This is part of an example to demonstrate how to overlay a button image with 
   any text value. It is an annotated version of the stylesheet indended for 
   example purposes. For a complete example, you also need buttonoverlay.html.
   
   Author: Dave Nicolette  http://www.davenicolette.net
   
   The author places this work in the public domain. 
   This work is offered without charge and without warranty of any kind.  
*/


/* use in conjunction with a button container/group class
   to position a set of buttons on the document */
   
.left {
    float:left;
}

.right {
    float: right;
}

/* container for a group of buttons */

.buttoncontainer { 
    background:transparent;    
}

/* specify the desired spacing between buttons */

.horizontalbuttonspacing { 
    margin-left:0px;
    margin-right:0px;
}

.verticalbuttonspacing { 
    margin-top:4px;
    margin-bottom:4px;
}

/* place button img tags in an element using this class */

.buttonimagecontainer {
    position:relative;
    z-index:1;
}

/* place button text in an element using this class */

.buttontext {
    position:relative;        /* don't change this */
    z-index:2;                /* don't change this */
    left : -100;             /* adjust to align text vertically over the image */
    height:0;                 /* adjust to control the bottom edge of the hover area */
    font-family:Arial;        /* from here down, adjust per your design */
    color:#000000;
    font-size:14px;
    font-weight:bold;
    text-align:center;
}



/* use these to ensure text on buttons doesn't inherit the attributes of normal anchor tags */
a.anchortext:link {
    text-decoration:none;
}
a.anchortext:visited {
    text-decoration:none;
}
a.anchortext:hover {
    text-decoration:none;
}
a.anchortext:active {
    text-decoration:none;
}



.actionbuttonenabled
{
	xfloat:right;
	height:27px;
	background-repeat:repeat-x; 
	background-image: url('images/buttons/actionButton/newButton/Toolbar/middle.jpg');
	border-bottom: solid 0px #f00;
	float:left;
	text-align: center;
	overflow:visible;
	position: relative;
	margin-right:0px;
	
	padding-top: 8px;
	
	voice-family: "\"}\"";
	voice-family: inherit;
	
	height:24px;
	padding-top: 3px;
}

.actionbuttonhover
{
	height:27px;
	background-repeat:repeat-x; 
	background-image: url('images/buttons/actionButton/newButton/Toolbar/middle_hover.jpg');
	border-bottom: 0px solid #00f;
	cursor:pointer;
	float:left;
	text-align: center;
	overflow:visible;
	position: relative;
	margin-right:0px;
	
	padding-top: 8px;
	
	voice-family: "\"}\"";
	voice-family: inherit;
	
	height:24px;
	padding-top: 3px;
	color: White;
}


.actionbutton_l_enabled
{
	width:13px;
	height:27px;
	background-repeat:no-repeat; 
	background-image: url('images/buttons/actionButton/newButton/Toolbar/left.jpg');
	border-bottom: 0px solid #f00;
	float:left;
	text-align: center;
	overflow:visible;
	position: relative;
	margin-right:0px;
}

.actionbutton_l_hover
{
	width:13px;
	height:27px;
	background-repeat:no-repeat; 
	background-image: url('images/buttons/actionButton/newButton/Toolbar/left_hover.jpg');
	border-bottom: 0px solid #00f;
	cursor:pointer;
	float:left;
	text-align: center;
	overflow:visible;
	position: relative;
	margin-right:0px;
}

.actionbutton_r_enabled
{
	width:13px;
	height:27px;
	background-repeat:no-repeat; 
	background-image: url('images/buttons/actionButton/newButton/Toolbar/right.jpg');
	border-bottom: 0px solid #f00;
	float:left;
	text-align: center;
	overflow:visible;
	position: relative;
	margin-right:0px;
}

.actionbutton_r_hover
{
	width:13px;
	height:27px;
	background-repeat:no-repeat; 
	background-image: url('images/buttons/actionButton/newButton/Toolbar/right_hover.jpg');
	border-bottom: 0px solid #00f;
	cursor:pointer;
	float:left;
	text-align: center;
	overflow:visible;
	position: relative;
	margin-right:0px;
}



.buttonicon
{
	width:16px;
	height:16px;
	vertical-align:middle;
	margin-right:5px;
}