/* Buttons */
.mybuttonfix{ margin-top:5px; margin-bottom:5px;}
.mybutton {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;    
    -moz-box-shadow:inset 1px 1px 0 rgba(255,255,255,0.3);
    -webkit-box-shadow:inset 1px 1px 0 rgba(255,255,255,0.3);
    box-shadow:inset 1px 1px 0 rgba(255,255,255,0.3);
    -moz-box-sizing: border-box !important;
    cursor: pointer;
    display: inline-block;
    font: 13px/100% 'Lucida Grande', 'Lucida Sans Unicode', 'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif;
    line-height: 16px;
    outline: none !important;
    padding: 4px 10px;
    position: relative;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}
.mybutton:hover{text-decoration: none;}
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; }

.mybutton-round {
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    -khtml-border-radius: 16px;
    border-radius: 16px;
    padding: 7px 0;
    width: 30px;
}


.mybutton-gray {
    background: #f1f1f1;
    background: -webkit-gradient(linear, left top, left bottom, from(#e9e9e9), to(#d1d1d1));
    background: -moz-linear-gradient(top,  #e9e9e9,  #d1d1d1);
    -pie-background: linear-gradient(top,  #e9e9e9,  #d1d1d1);
    border: 1px solid #bbb;
    color: #555;
    text-shadow: 0 1px 0 #fff;
}
.mybutton-gray:hover, .mybutton-gray:focus, .mybutton-gray.hover {
    border: 1px solid #aaa;
    background: #ececec;
    background: -webkit-gradient(linear, left top, left bottom, from(#e1e1e1), to(#c1c1c1));
    background: -moz-linear-gradient(top,  #e1e1e1,  #c1c1c1);
    -pie-background: linear-gradient(top,  #e1e1e1,  #c1c1c1);
    border: 1px solid #999;
    color: #555;
}
.mybutton-gray:active, .mybutton-gray.active, .mybutton-gray.current {
    background: #ddd;
    background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#e9e9e9));
    background: -moz-linear-gradient(top,  #ccc,  #e9e9e9);
    -pie-background: linear-gradient(top,  #ccc,  #e9e9e9);
    border: 1px solid #999;
    color: #555;
}

.mybutton-orange {
    background: #f78d1d;
    background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20));
    background: -moz-linear-gradient(top, #faa51a, #f47a20);
    -pie-background: linear-gradient(top, #faa51a, #f47a20);
    border: solid 1px #dd6611;
    color: #fef4e9;
    text-shadow: 0 1px 1px rgba(0,0,0,0.25);
}
.mybutton-orange:hover, .mybutton-orange:focus, button-orange.hover {
    background: #f47c20;
    background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015));
    background: -moz-linear-gradient(top,  #f88e11,  #f06015);
    -pie-background: linear-gradient(top,  #f88e11,  #f06015);
    border: solid 1px #aa5511;
    color: #fef4e9;
}
.mybutton-orange:active, .mybutton-orange.active, .mybutton-orange.current {
    background: #f47a20;
    background: -webkit-gradient(linear, left top, left bottom, from(#f47a20), to(#faa51a));
    background: -moz-linear-gradient(top,  #f47a20, #faa51a);
    -pie-background: linear-gradient(top,  #f47a20, #faa51a);
    border: solid 1px #aa5511;
    color: #fef4e9;
}

.mybutton-red {
    background-color: #C44747;
    background: -moz-linear-gradient(top, #DD5F5F 10%, #A92C2C 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #DD5F5F), color-stop(0.9, #A92C2C));
    -pie-background: linear-gradient(top, #DD5F5F 10%, #A92C2C 90%);
    border: 1px solid #A92C2C; 
    color: #fef4e9;
    text-shadow: 0 1px 1px rgba(0,0,0,0.25);
}
.mybutton-red:hover, .mybutton-red:focus, button-red.hover {
    background-color: #C44747;
    background: -moz-linear-gradient(top, #DD4141 10%, #A92121 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #DD4141), color-stop(0.9, #A92121));
    -pie-background: linear-gradient(top, #DD4141 10%, #A92121 90%);
    border: 1px solid #711; 
    color: #fef4e9;
}
.mybutton-red:active, .mybutton-red.active, .mybutton-red.current {
    background-color: #C44747;
    background: -moz-linear-gradient(top, #A92C2C 10%, #DD5F5F 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #A92C2C), color-stop(0.9, #DD5F5F));
    -pie-background: linear-gradient(top, #A92C2C 10%, #DD5F5F 90%);
    border: 1px solid #711; 
    color: #fef4e9;
}

.mybutton-blue {
    background: #0095cd;
    background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
    background: -moz-linear-gradient(top,  #00adee,  #0078a5);
    -pie-background: linear-gradient(top,  #00adee,  #0078a5);
    border: 1px solid #034462;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,0.25);
}
.mybutton-blue:hover, .mybutton-blue:focus, .mybutton-blue.hover {
    background: #007ead;
    background: -webkit-gradient(linear, left top, left bottom, from(#0095cc), to(#00678e));
    background: -moz-linear-gradient(top,  #0095cc,  #00678e);
    -pie-background: linear-gradient(top,  #0095cc,  #00678e);
    border: 1px solid #234;
    color: #fff;
}
.mybutton-blue:active, .mybutton-blue.active, .mybutton-blue.current {
    background: #80bed6;
    background: -webkit-gradient(linear, left top, left bottom, from(#0078a5), to(#00adee));
    background: -moz-linear-gradient(top,  #0078a5,  #00adee);
    -pie-background: linear-gradient(top,  #0078a5,  #00adee);
    border: 1px solid #234;
    color: #fff;
}

.mybutton-green {
    color: #fff;
    background: #8fc857;
    background: -webkit-gradient(linear, left top, left bottom, from(#8fc857), to(#5c9425));
    background: -moz-linear-gradient(top,  #8fc857,  #5c9425);
    -pie-background: linear-gradient(top,  #8fc857,  #5c9425);
    text-shadow: 0 1px 1px rgba(0,0,0,0.25);
    border:1px solid #561;
}
.mybutton-green:hover, .mybutton-green:focus, .mybutton-green.hover {
    border:1px solid #556611;
    background: #8fbb44;
    background: -webkit-gradient(linear, left top, left bottom, from(#8fbb44), to(#5c8825));
    background: -moz-linear-gradient(top,  #8fbb44,  #5c8825);
    -pie-background: linear-gradient(top,  #8fbb44,  #5c8825);
    border:1px solid #342;
}
.mybutton-green:active, .mybutton-green.active, .mybutton-green.current {
    background: #8fbb44;
    background: -webkit-gradient(linear, left top, left bottom, from(#5c8825), to(#8fbb44));
    background: -moz-linear-gradient(top,  #5c8825,  #8fbb44);
    -pie-background: linear-gradient(top,  #5c8825,  #8fbb44);
    border:1px solid #342;
}

/* Action Buttons */
.mybutton span {display: inline-block; float: left; *float: none; height: 16px; margin-right: 5px; position: relative;  width: 16px;  zoom: 1; *display: inline;}
a.mybutton.no-text {display:block;font-size:0;text-indent:-999em;padding:0;line-height:24px;*line-height:0; _height: 24px;overflow: hidden;}
.mybutton.no-text span { display: block; float: none; margin: 0; height: 24px;width: 24px;}
.mybutton span.accept {background: transparent url(../images/icons/accept.png) no-repeat center center;}
.mybutton span.add {background: transparent url(../images/icons/add.png) no-repeat center center;}
.mybutton span.pencil {background: transparent url(../images/icons/pencil.png) no-repeat center center;}
.mybutton span.bin {background: transparent url(../images/icons/bin.png) no-repeat center center;}
.mybutton span.calendar {background: transparent url(../images/icons/calendar.png) no-repeat center center;}
.mybutton span.calendar-view-day {background: transparent url(../images/icons/calendar_view_day.png) no-repeat center center;}
.mybutton span.calendar-view-month {background: transparent url(../images/icons/calendar_view_month.png) no-repeat center center;}
.mybutton span.calendar-view-week {background: transparent url(../images/icons/calendar_view_week.png) no-repeat center center;}
.mybutton span.chart-bar {background: transparent url(../images/icons/chart_bar.png) no-repeat center center;}
.mybutton span.chart-curve {background: transparent url(../images/icons/chart_curve.png) no-repeat center center;}
.mybutton span.chart-line {background: transparent url(../images/icons/chart_line.png) no-repeat center center;}
.mybutton span.chart-org {background: transparent url(../images/icons/chart_organisation.png) no-repeat center center;}
.mybutton span.chart-pie {background: transparent url(../images/icons/chart_pie.png) no-repeat center center;}
.mybutton span.color-swatch {background: transparent url(../images/icons/color_swatch.png) no-repeat center center;}
.mybutton span.disk {background: transparent url(../images/icons/disk.png) no-repeat center center;}
.mybutton span.help {background: transparent url(../images/icons/help.png) no-repeat center center;}
.mybutton span.view-list {background: transparent url(../images/icons/application_view_list.png) no-repeat center center;}
.mybutton span.view-grid {background: transparent url(../images/icons/application_view_tile.png) no-repeat center center;}
.mybutton span.wrench {background: transparent url(../images/icons/wrench.png) no-repeat center center;}

ul.action-buttons {list-style-type: none;padding: 0;}
ul.action-buttons li {display: block;float: left; margin: 0 2px; height: 26px; line-height: 24px;}
ul.action-buttons li:first-child { margin-left: 0;}
ul.action-buttons li:last-child {margin-right: 0;}
ul.action-buttons.small li {height: 15px; width: 15px; line-height: 14px;}
ul.action-buttons.small li a {-moz-border-radius: 3px;-webkit-border-radius: 3px;-khtml-border-radius: 3px; border-radius: 3px;  display: block; border: 1px solid #bbb;line-height: 14px; overflow: hidden;}
ul.action-buttons.small li a:hover { background: #bbb; border: 1px solid #999;}
ul.action-buttons.small a span { display: block;float: left;height: 15px;margin: 0; position: relative;height: 14px;width: 14px;}
ul.action-buttons.small a span.close {background: transparent url(../images/cross-small.png) no-repeat center center;}