.buttons a, .buttons button{
    display:block;
    float:left;
    margin:0 7px 0 0;
    border:1px solid #888888;
    border-top:1px solid #cccccc;
    border-left:1px solid #cccccc;
    font-family:"Lucida Grande", Licinda, Arial, Verdana, tahoma, times, sans-serif;
    font-size:.85em;
    line-height:1em;
    text-decoration:none;
    font-weight:normal;
    color:#330000;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #AAAAAA;
    /* Mozilla: */
    background: -moz-linear-gradient(top, #EEEEEE, #AAAAAA);
    /* Chrome, Safari:*/
    background: -webkit-gradient(linear,left top, left bottom, from(#EEEEEE), to(#AAAAAA));
    /* MSIE */
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#EEEEEE', EndColorStr='#AAAAAA', GradientType=0);
}

.buttons a:hover, .buttons button:hover {
    text-decoration: none;
    background: #0000AA;
    /* Mozilla: */
    background: -moz-linear-gradient(top, #0000CC, #000066);
    /* Chrome, Safari:*/
    background: -webkit-gradient(linear,left top, left bottom, from(#0000CC), to(#000066));
    /* MSIE */
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#0000CC', EndColorStr='#000066', GradientType=0);
    color:#FFFFFF;
    background: #5BA1D2;
    /* Mozilla: */
    background: -moz-linear-gradient(top, #6BB1E2, #0033CC);
    /* Chrome, Safari:*/
    background: -webkit-gradient(linear,left top, left bottom, from(#6BB1E2), to(#0033CC));
    /* MSIE */
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#6BB1E2', EndColorStr='#0033CC', GradientType=0);
    -moz-box-shadow: 3px 3px 4px #000;
    -webkit-box-shadow: 3px 3px 4px #000;
    box-shadow: 3px 3px 4px #000;
    /* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
    /* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');
}

.buttons .standard a, .buttons .standard button {
    min-width:82px;
}

.buttons .small {
    padding:2px 5px 2px 5px;
}

.buttons .lightblue {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size:1.2em;
    display:inline-block;
    color: #FFFFFF;
    float:none;
    padding:0.5em 1em;
    background: #5BA1D2;
    /* Mozilla: */
    background: -moz-linear-gradient(top, #6BB1E2, #0033CC);
    /* Chrome, Safari:*/
    background: -webkit-gradient(linear,left top, left bottom, from(#6BB1E2), to(#0033CC));
    /* MSIE */
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#6BB1E2', EndColorStr='#0033CC', GradientType=0);
}

.buttons a.lightblue:hover,.buttons button.lightblue:hover  {
    color: #FFFFFF;
    background: #5BA1D2;
    /* Mozilla: */
    background: -moz-linear-gradient(top, #6BB1E2, #0033CC);
    /* Chrome, Safari:*/
    background: -webkit-gradient(linear,left top, left bottom, from(#6BB1E2), to(#0033CC));
    /* MSIE */
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#6BB1E2', EndColorStr='#0033CC', GradientType=0);
    text-decoration: none;
}


.alert button, .alert a {
    color:#CC0000;
    font-weight:bold;
}

.nofloat button, .nofloat a {
    display:inline-block;
    float:none;
    clear:both;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    /* line-height:2.2em; */
}


.buttons .over {
    color:#333333;
    background-color:#C3FDB8;
    background: url("/sysimages/bluebutton.gif")
}

.buttons .overalert {
    color:#333333;
    background-color:#F62817;
    background: url("/sysimages/redbutton.gif")
}

.buttons button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
    padding:5px 10px 6px 7px; /* IE6 */
}

.buttons xbutton[type]{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}

*:first-child+html button[type]{
    padding:4px 10px 3px 7px; /* IE7 */
    padding:5px 10px 6px 7px; /* IE7 */
}

.buttons button img, .buttons a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}


