﻿/**
 * Buttons
 */
.button {
    -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;
}
.button:hover {
    text-decoration: none;
}
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; }

.button-round {
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    -khtml-border-radius: 16px;
    border-radius: 16px;
    padding: 7px 0;
    width: 30px;
}

.button-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;
}
.button-gray:hover, .button-gray:focus, .button-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;
}
.button-gray:active, .button-gray.active, .button-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;
}

.button-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);
}
.button-orange:hover, .button-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;
}
.button-orange:active, .button-orange.active, .button-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;
}

.button-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);
}
.button-red:hover, .button-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;
}
.button-red:active, .button-red.active, .button-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;
}

.button-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);
}
.button-blue:hover, .button-blue:focus, .button-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;
}
.button-blue:active, .button-blue.active, .button-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;
}

.button-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;
}
.button-green:hover, .button-green:focus, .button-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;
}
.button-green:active, .button-green.active, .button-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
 */
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;
}
.button span {
    display: inline-block;
    float: left;
    *float: none;
    height: 16px;
    margin-right: 5px;
    position: relative;
    width: 16px;
    zoom: 1;
    *display: inline;
}
a.button.no-text {
    display: block;
    font-size: 0;
    text-indent: -999em;
    padding: 0;
    line-height: 24px;
    *line-height: 0;
    _height: 24px;
    overflow: hidden;
}
.button.no-text span {
    display: block;
    float: none;
    margin: 0;
    height: 24px;
    width: 24px;
}
.button span.accept {
    background: transparent url(Images/icons/accept.png) no-repeat center center;
}
.button span.add {
    background: transparent url(Images/icons/add.png) no-repeat center center;
}
.button span.pencil {
    background: transparent url(Images/icons/pencil.png) no-repeat center center;
}
.button span.bin {
    background: transparent url(Images/icons/bin.png) no-repeat center center;
}
.button span.calendar {
    background: transparent url(Images/icons/calendar.png) no-repeat center center;
}
.button span.calendar-view-day {
    background: transparent url(Images/icons/calendar_view_day.png) no-repeat center center;
}
.button span.calendar-view-month {
    background: transparent url(Images/icons/calendar_view_month.png) no-repeat center center;
}
.button span.calendar-view-week {
    background: transparent url(Images/icons/calendar_view_week.png) no-repeat center center;
}
.button span.chart-bar {
    background: transparent url(Images/icons/chart_bar.png) no-repeat center center;
}
.button span.chart-curve {
    background: transparent url(Images/icons/chart_curve.png) no-repeat center center;
}
.button span.chart-line {
    background: transparent url(Images/icons/chart_line.png) no-repeat center center;
}
.button span.chart-org {
    background: transparent url(Images/icons/chart_organisation.png) no-repeat center center;
}
.button span.chart-pie {
    background: transparent url(Images/icons/chart_pie.png) no-repeat center center;
}
.button span.color-swatch {
    background: transparent url(Images/icons/color_swatch.png) no-repeat center center;
}
.button span.disk {
    background: transparent url(Images/icons/disk.png) no-repeat center center;
}
.button span.help {
    background: transparent url(Images/icons/help.png) no-repeat center center;
}
.button span.view-list {
    background: transparent url(Images/icons/application_view_list.png) no-repeat center center;
}
.button span.view-grid {
    background: transparent url(Images/icons/application_view_tile.png) no-repeat center center;
}
.button span.wrench {
    background: transparent url(Images/icons/wrench.png) no-repeat center center;
}

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;
}