/*
 * Sx Buttons
 * 
 * DESCRIPTION:
 *  Sx, skinnable HTML/CSS buttons with icons.
 * 
 * AUTHOR:
 *  Richard Davies
 *  http://www.richarddavies.us
 *  Richard@richarddavies.us
 * 
 * VERSION:
 *  1.1
 * 
 * LICENSE:
 *  Apache License 2.0  (http://www.apache.org/licenses/LICENSE-2.0)
 *  Creative Commons 3.0 Attribution  (http://creativecommons.org/licenses/by/3.0/)
 * 
*/

.sxbutton.sxsimple.sxinep { margin-right: 7px; background-color: #B7CAB7; padding: 2px 10px !important; }
.sxbutton.sxsimple.sxinep span { height: 16px; padding-top: 4px; }

.sxbutton {
    display: inline-block;
    margin: 0;
    padding: 0 3px 0 0;
    font: bold 13px "Helvetica Neue", Helvetica, Arial, clean, sans-serif !important;
    text-decoration: none !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.20);
    background: none;
    border: none;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    
    /* Fix extra width padding in IE */
    _width: 0;
    overflow: visible;
}

.sxbutton span {
    display: block;                     /* Prevents :active from working in IE--oh well! */
    height: 24px;
    padding-right: 12px;
    background-repeat: no-repeat;
    background-position: right top;
}

.sxbutton span span {
    padding-right: 0;
    padding-left: 12px;
    line-height: 24px;
    background-position: left top;
}

.sxbutton span span span {
    padding-left: 21px;
    background-image: none;
    background-repeat: no-repeat;
    background-position: left center;
    /* IE6 still requires a PNG transparency fix */ 
    /* _background-image: none;     Or just hide icons from the undeserving IE6 */
    /* _padding-left: 0;                    Or just hide icons from the undeserving IE6 */
}

.sxbutton span span span.after {
    padding-left: 0px;
    padding-right: 21px;
    background-position: right center;
    /* IE6 still requires a PNG transparency fix */ 
    /* _padding-right: 0;                   Or just hide icons from the undeserving IE6 */
}

.sxbutton[disabled],
.sxbutton[disabled]:hover,
.sxbutton[disabled]:focus,
.sxbutton[disabled]:active,
.sxbutton.disabled,
.sxbutton.disabled:hover,
.sxbutton.disabled:focus,
.sxbutton.disabled:active {
    color: #333 !important;
    cursor: inherit;
    text-shadow: none; 
    opacity: 0.33;
}

.sxbutton:hover span,
.sxbutton:focus span {
    background-position: 100% -24px;
}

.sxbutton:hover span span,
.sxbutton:focus span span {
    background-position: 0% -24px;
}

.sxbutton:active span {
    background-position: 100% -48px;
}

.sxbutton:active span span {
    background-position: 0% -48px;
}

.sxbutton[disabled] span,
.sxbutton.disabled span {
    background-position: 100% -72px;
}

.sxbutton[disabled] span span,
.sxbutton.disabled span span {
    background-position: 0% -72px;
}

.sxbutton:hover span span span,
.sxbutton:focus span span span,
.sxbutton:active span span span,
.sxbutton[disabled] span span span,
.sxbutton.disabled span span span {
    background-position: left center;
}

.sxbutton:hover span span span.after,
.sxbutton:focus span span span.after,
.sxbutton:active span span span.after,
.sxbutton[disabled] span span span.after,
.sxbutton.disabled span span span.after {
    background-position: right center;
}

.sxbutton img {
    margin-right: 5px;
    vertical-align: text-top;
    /* IE6 Hack */
    _margin-top: 4px;
    _vertical-align: text-bottom;
    /* IE6 still requires a PNG transparency fix */ 
    /* _display: none;      Or just hide icons from the undeserving IE6 */
}

.sxbutton img.after {
    margin-right: 0;
    margin-left: 5px;
    /* IE6 still requires a PNG transparency fix */ 
    /* _margin-left: 0;     Or just hide icons from the undeserving IE6 */
}

.sxbutton.sxmedium  { font-size: 15px !important; }
.sxbutton.sxlarge   { font-size: 18px !important; }


/*
 * Button Skins
 * 
 * .PNG background images with alpha transparency are also supplied if you'd rather use them instead of the 
 * default .GIF images. (Just beware of IE6's lack of support.) 
 * 
 * Additional skins can be added below. The images/skins/ButtonTemplate.psd can be used to create new skins.
 * Prefix the skin name with "sx" to avoid any potential conflicts with other class names. 
 */

/* Silver Button Skin (the default skin) */

.sxbutton,
.sxbutton.sxsilver {
    color: #666 !important;
}
    
.sxbutton:hover,
.sxbutton:focus,
.sxbutton.sxsilver:hover,
.sxbutton.sxsilver:focus {
    color: #333 !important;
}
    
.sxbutton span,
.sxbutton.sxsilver span {
    background-image: url(../img/buttons/skins/silver/button_right.gif);
}

.sxbutton span span,
.sxbutton.sxsilver span span {
    background-image: url(../img/buttons/skins/silver/button_left.gif);
}

/* Orange Button Skin */

.sxbutton.sxorange,
.sxbutton.sxorange:hover,
.sxbutton.sxorange:focus {
    color: white !important;
}
    
.sxbutton.sxorange[disabled],
.sxbutton.sxorange[disabled]:hover,
.sxbutton.sxorange[disabled]:active,
.sxbutton.sxorange[disabled]:focus,
.sxbutton.sxorange.disabled,
.sxbutton.sxorange.disabled:hover,
.sxbutton.sxorange.disabled:active,
.sxbutton.sxorange.disabled:focus {
    color: #333 !important;
}
    
.sxbutton.sxorange span {
    background-image: url(../img/buttons/skins/orange/button_right.gif);
}

.sxbutton.sxorange span span {
    background-image: url(../img/buttons/skins/orange/button_left.gif);
}

/* Yellow Button Skin */

.sxbutton.sxyellow,
.sxbutton.sxyellow:hover,
.sxbutton.sxyellow:focus {
    color: #994800 !important;
}
    
.sxbutton.sxyellow span {
    background-image: url(../img/buttons/skins/yellow/button_right.gif);
}

.sxbutton.sxyellow span span {
    background-image: url(../img/buttons/skins/yellow/button_left.gif);
}


/* 
 * Simple Skin Buttons
 */

.sxbutton.sxsimple { 
    position: relative; 
    padding: 5px 10px 5px;
    font: inherit;
    font-size: 13px !important;
    font-style: normal !important; 
    font-weight: bold !important; 
    color: #000 !important;
    /*color: #fff !important;*/
    line-height: 1; 
    background-image: url(../img/buttons/skins/simple/awesome-overlay-sprite.png);
    background-repeat: repeat-x;
    background-position: 0 0;
    
    /* Special effects */
    text-shadow: 0 -1px 1px rgba(0,0,0,0.25), -2px 0 1px rgba(0,0,0,0.25); 
    border-radius: 5px; 
    -moz-border-radius: 5px; 
    -webkit-border-radius: 5px; 
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.5); 
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
    
    /* IE only stuff */
    border-bottom: 1px solid transparent\9;
    _background-image: none;
    
    /* Cross browser inline block hack - http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/ */
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    *display: inline !important;
    position: relative;
    
    /* Force hasLayout in IE */
    zoom: 1;
    
    /* Disable text selection (Firefox only)*/
    -moz-user-select: none;
}

.sxbutton.sxsimple::selection {
    background: transparent;
}

.sxbutton.sxsimple:hover,
.sxbutton.sxsimple:focus {
    background-position: 0 -50px; 
   color: #566E61 !important;
   /*color: #fff !important;*/
}

.sxbutton.sxsimple:active { 
    background-position: 0 -100px; 
    -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.7); 
    /* Unfortunately, Safari doesn't support inset yet */
    -webkit-box-shadow: none;
    
    /* IE only stuff */
    border-bottom: 0\9;
    border-top: 1px solid #666\9;
}

.sxbutton.sxsimple[disabled], 
.sxbutton.sxsimple.disabled { 
    background-position: 0 -150px; 
    color: #333 !important;
    text-shadow: none; 
}

.sxbutton.sxsimple[disabled]:hover,
.sxbutton.sxsimple[disabled]:focus,
.sxbutton.sxsimple[disabled]:active,
.sxbutton.sxsimple.disabled:hover,
.sxbutton.sxsimple.disabled:focus,
.sxbutton.sxsimple.disabled:active {
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.5); 
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
} 

.sxbutton.sxsimple span {
    height: auto;
    padding-left: 24px;
    padding-right: 0;
    background-position: left center;
    background-repeat: no-repeat;
    /* IE6 still requires a PNG transparency fix */ 
    /* _padding-left: 0;        Or just hide icons from the undeserving IE6 */
}

.sxbutton.sxsimple span.after {
    padding-left: 0;
    padding-right: 24px;
    background-position: right center;
    /* IE6 still requires a PNG transparency fix */ 
    /* _padding-right: 0;       Or just hide icons from the undeserving IE6 */
}

/* Simple button colors */
.sxbutton.sxsimple              { background-color: #333; }     /* Default */
.sxbutton.sxsimple.sxblack      { background-color: #333; }
.sxbutton.sxsimple.sxred        { background-color: #a90118; }
.sxbutton.sxsimple.sxbni      { background-color: #a90118; }
.sxbutton.sxsimple.sxorange { background-color: #ff8a00; }
.sxbutton.sxsimple.sxyellow { background-color: #ffb515; }
.sxbutton.sxsimple.sxgreen      { background-color: #59a901; }
.sxbutton.sxsimple.sxblue       { background-color: #015ea9; }
.sxbutton.sxsimple.sxteal       { background-color: #2daebf; }
.sxbutton.sxsimple.sxmagenta    { background-color: #a9014b; }
.sxbutton.sxsimple.sxpurple { background-color: #9d01a9; }

/* Simple button sizes */
.sxbutton.sxsimple.sxsmall          { padding: 4px 7px 5px; font-size: 10px !important; }
.sxbutton.sxsimple.sxsmall:active   { padding: 5px 7px 4px; }
.sxbutton.sxsimple                    { /* default */ }
.sxbutton.sxsimple:active             { padding: 6px 10px 4px; }
.sxbutton.sxsimple.sxmedium         { /* default */ }
.sxbutton.sxsimple.sxmedium:active  { padding: 6px 10px 4px; }
.sxbutton.sxsimple.sxlarge          { padding: 8px 14px 8px; font-size: 14px !important; }
.sxbutton.sxsimple.sxlarge:active   { padding: 9px 14px 7px; }
.sxbutton.sxsimple.sxxl             { padding: 8px 14px 8px; font-size: 16px !important;}
.sxbutton.sxsimple.sxxl:active      { padding: 9px 14px 7px; }
.sxbutton.sxsimple.sxxxl            { padding: 8px 14px 8px; font-size: 20px !important; }
.sxbutton.sxsimple.sxxxl:active     { padding: 9px 14px 7px; }
.sxbutton.sxsimple.sxxxxl           { padding: 8px 14px 8px; font-size: 26px !important; }
.sxbutton.sxsimple.sxxxxl:active    { padding: 9px 14px 7px; }

.sxbutton.sxsimple.sxsmall[disabled]:active,
.sxbutton.sxsimple.sxsmall.disabled:active      { padding: 4px 7px 5px; }
.sxbutton.sxsimple[disabled]:active,
.sxbutton.sxsimple.disabled:active              { padding: 5px 10px 5px; }
.sxbutton.sxsimple.sxmedium[disabled]:active,
.sxbutton.sxsimple.sxmedium.disabled:active         { padding: 6px 10px 4px; }
.sxbutton.sxsimple.sxlarge[disabled]:active,
.sxbutton.sxsimple.sxlarge.disabled:active      { padding: 8px 14px 8px; }
.sxbutton.sxsimple.sxxl[disabled]:active,
.sxbutton.sxsimple.sxxl.disabled:active       { padding: 8px 14px 8px; }
.sxbutton.sxsimple.sxxxl[disabled]:active,
.sxbutton.sxsimple.sxxxl.disabled:active           { padding: 8px 14px 8px; }
.sxbutton.sxsimple.sxxxxl[disabled]:active,
.sxbutton.sxsimple.sxxxxl.disabled:active       { padding: 8px 14px 8px; }


/*
 * Icon Definitions
 */

/* Silk Icons - http://www.famfamfam.com/lab/icons/silk/ */
/* (Obviously not all Silk icons are defined here. Feel free to define any other icons that you may need.) */

.sxbutton span.ok               { background-image: url(../img/buttons/icons/silk/tick.png) !important; }
.sxbutton span.cancel           { background-image: url(../img/buttons/icons/silk/cross.png) !important; }
.sxbutton span.add              { background-image: url(../img/buttons/icons/silk/add.png) !important; }
.sxbutton span.delete           { background-image: url(../img/buttons/icons/silk/delete.png) !important; }
.sxbutton span.download     { background-image: url(../img/buttons/icons/silk/arrow_down.png) !important; }
.sxbutton span.download2        { background-image: url(../img/buttons/icons/silk/package_down.png) !important; }
.sxbutton span.upload           { background-image: url(../img/buttons/icons/silk/arrow_up.png) !important; }
.sxbutton span.search           { background-image: url(../img/buttons/icons/silk/magnifier.png) !important; }
.sxbutton span.find         { background-image: url(../img/buttons/icons/silk/find.png) !important; }
.sxbutton span.first            { background-image: url(../img/buttons/icons/silk/resultset_first.png) !important; }
.sxbutton span.prev         { background-image: url(../img/buttons/icons/silk/resultset_previous.png) !important; }
.sxbutton span.next         { background-image: url(../img/buttons/icons/silk/resultset_next.png) !important; }
.sxbutton span.last         { background-image: url(../img/buttons/icons/silk/resultset_last.png) !important; }
.sxbutton span.play         { background-image: url(../img/buttons/icons/silk/play_blue.png) !important; }
.sxbutton span.pause            { background-image: url(../img/buttons/icons/silk/pause_blue.png) !important; }
.sxbutton span.rewind           { background-image: url(../img/buttons/icons/silk/rewind_blue.png) !important; }
.sxbutton span.forward      { background-image: url(../img/buttons/icons/silk/forward_blue.png) !important; }
.sxbutton span.stop         { background-image: url(../img/buttons/icons/silk/stop_blue.png) !important; }
.sxbutton span.reload           { background-image: url(../img/buttons/icons/silk/reload.png) !important; }
.sxbutton span.sync         { background-image: url(../img/buttons/icons/silk/arrow_refresh.png) !important; }
.sxbutton span.save         { background-image: url(../img/buttons/icons/silk/disk.png) !important; }
.sxbutton span.email            { background-image: url(../img/buttons/icons/silk/email.png) !important; }
.sxbutton span.print            { background-image: url(../img/buttons/icons/silk/printer.png) !important; }
.sxbutton span.heart            { background-image: url(../img/buttons/icons/silk/heart.png) !important; }
.sxbutton span.like         { background-image: url(../img/buttons/icons/silk/thumb_up.png) !important; }
.sxbutton span.dislike      { background-image: url(../img/buttons/icons/silk/thumb_down.png) !important; }
.sxbutton span.accept           { background-image: url(../img/buttons/icons/silk/accept.png) !important; }
.sxbutton span.decline      { background-image: url(../img/buttons/icons/silk/decline.png) !important; }
.sxbutton span.help         { background-image: url(../img/buttons/icons/silk/help.png) !important; }
.sxbutton span.home         { background-image: url(../img/buttons/icons/silk/house.png) !important; }
.sxbutton span.info         { background-image: url(../img/buttons/icons/silk/information.png) !important; }
.sxbutton span.cut              { background-image: url(../img/buttons/icons/silk/cut.png) !important; }
.sxbutton span.copy         { background-image: url(../img/buttons/icons/silk/page_white_copy.png) !important; }
.sxbutton span.paste            { background-image: url(../img/buttons/icons/silk/paste_plain.png) !important; }
.sxbutton span.erase            { background-image: url(../img/buttons/icons/silk/erase.png) !important; }
.sxbutton span.undo         { background-image: url(../img/buttons/icons/silk/arrow_undo.png) !important; }
.sxbutton span.redo         { background-image: url(../img/buttons/icons/silk/arrow_redo.png) !important; }
.sxbutton span.edit         { background-image: url(../img/buttons/icons/silk/pencil.png) !important; }
.sxbutton span.calendar     { background-image: url(../img/buttons/icons/silk/date.png) !important; }
.sxbutton span.calendar_add     { background-image: url(../img/buttons/icons/silk/date_add.png) !important; }
.sxbutton span.calendar_delete  { background-image: url(../img/buttons/icons/silk/date_delete.png) !important; }
.sxbutton span.calendar_edit    { background-image: url(../img/buttons/icons/silk/date_edit.png) !important; }
.sxbutton span.calendar_link    { background-image: url(../img/buttons/icons/silk/date_link.png) !important; }
.sxbutton span.user         { background-image: url(../img/buttons/icons/silk/user.png) !important; }
.sxbutton span.settings     { background-image: url(../img/buttons/icons/silk/cog.png) !important; }
.sxbutton span.cart         { background-image: url(../img/buttons/icons/silk/cart.png) !important; }
.sxbutton span.wand         { background-image: url(../img/buttons/icons/silk/wand.png) !important; }
.sxbutton span.wrench           { background-image: url(../img/buttons/icons/silk/wrench.png) !important; }
.sxbutton span.usergo       { background-image: url(../img/buttons/icons/silk/user_go.png) !important; }
.sxbutton span.usercross    { background-image: url(../img/buttons/icons/silk/user_cross.png) !important; }
.sxbutton span.key       { background-image: url(../img/buttons/icons/silk/key.png) !important; }
.sxbutton span.building_add       { background-image: url(../img/buttons/icons/silk/building_add.png) !important; }
.sxbutton span.work       { background-image: url(../img/buttons/icons/silk/user_suit.png) !important; }
.sxbutton span.layoutAdd       { background-image: url(../img/buttons/icons/silk/layout_add.png) !important; }
.sxbutton span.layoutDelete      { background-image: url(../img/buttons/icons/silk/layout_delete.png) !important; }
.sxbutton span.layoutEdit       { background-image: url(../img/buttons/icons/silk/layout_edit.png) !important; }
.sxbutton span.visuaizar       { background-image: url(../img/buttons/icons/silk/zoom.png) !important; }
.sxbutton span.sair       { background-image: url(../img/buttons/icons/silk/door_out.png) !important; }