/******************************************************************************
* Generic styles
*******************************************************************************/

.z-hide { display: none !important; }
.z-show { display: inherit !important; }
.z-center { text-align: center !important; }
.z-left { text-align: left !important; }
.z-right { text-align: right !important; }
.z-nowrap { white-space: nowrap !important; }
.z-italic { font-style: italic !important; }
.z-bold { font-weight: bold !important; }
.z-underline { text-decoration: underline !important; }
.z-line-through { text-decoration: line-through !important; }
.z-normal { font-weight: normal !important; font-style: normal !important; }
.z-floatleft { float: left; }
.z-floatright { float: right; }
.z-gap { margin: 1em 0 !important; padding: 1em 0 !important; }

/******************************************************************************
* IMG Float styles, e.g. for the positioning of images in articles
*******************************************************************************/

img.z-floatleft {
    display: inline;
    float: left;
    margin-bottom: 0.15em;
    margin-right: 1em;
}

img.z-floatright {
    display: inline;
    float: right;
    margin-bottom: 0.15em;
    margin-left: 1em;
}

/******************************************************************************
* Zikula general clearfix solution
* http://perishablepress.com/press/2009/12/06/new-clearfix-hack/
*******************************************************************************/

.z-clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/******************************************************************************
* Overflow-Method to clear float environments, Generic clearer
*******************************************************************************/

.z-floatbox { overflow: hidden; }
.z-clearer { clear: both; }

/******************************************************************************
* Miscellaneous, Generic secondary text
*******************************************************************************/

.z-sub {
    color: #777;
    font-size: 0.9em;
}

.z-calendarimg { background-color: transparent; }
.z-calendarimg:hover { background-color: blue; }

/******************************************************************************
* Class to show a sortable li or div. Has to be set in the js code to avoid
* wrong css in non javascript environments
*******************************************************************************/

.z-sortable { /* cursor: move; */ }

/*******************************************************************************/
/* Styles for z-menulinks
/*******************************************************************************/

ul.z-menulinks {
    background: url("../images/global/menubg_grey.gif") repeat-x scroll 0 0 #E6E6E6; /*non-CSS3 browsers*/
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefefe', endColorstr='#E6E6E6'); /*IE*/
    background: -webkit-gradient(linear,left top, left bottom,from(#fefefe), to(#E6E6E6)); /*webkit*/
    background: -moz-linear-gradient(top, #fefefe, #E6E6E6); /*gecko*/
    background: linear-gradient(#fefefe, #E6E6E6); /*CSS3*/
    border: 1px solid #ccc;
    color: #aaa;
    height: auto !important;
    line-height: 23px !important;
    list-style: none outside none;
    margin: 1em 0 !important;
    min-height: 23px !important;
    padding:0 5px !important;
}

ul.z-menulinks li {
    background: none !important;
    border-right:1px solid #aaa;
    display:inline;
    padding:0 10px !important;
    margin:0 !important;
}

/*
ul.z-menulinks li a {
    color: #555;
}

ul.z-menulinks li a:hover {
    color: #000;
}
*/

ul.z-menulinks li:first-child {
    border-left:1px solid #aaa;
    margin-left:5px;
}

ul.z-menulinks li.z-ml-disabled a,
ul.z-menulinks li.z-ml-disabled a:hover {
    text-decoration:line-through !important;
}

/*******************************************************************************/
/* Styles for the old module menus based on the SPAN tag
/*******************************************************************************/

.z-menu {
    color: #aaa;
    text-align: left;
    width: 100%;
    margin-bottom: 1.5em;
}

.z-menuitem-title {
    background: url("../images/global/menubg_grey.gif") repeat-x scroll 0 0 #E6E6E6;
    border: 1px solid #ccc;
    display: block;
    height: auto !important;
    line-height: 23px;
    min-height: 23px;
    padding:0 5px;
}

.z-menu a {
    padding: 3px;
}

/******************************************************************************
* CSS Based Messages
*******************************************************************************/

.z-errormsg {
    background: #F7CBCA url("../images/icons/extrasmall/error.gif") 13px 50% no-repeat !important;
    border: 1px solid #CC0000 !important;
    color: #880000 !important;
    margin: 5px 0 10px !important;
    padding: 5px 5px 5px 36px !important;
}
.z-errormsg p,
.z-errormsg h1,
.z-errormsg h2,
.z-errormsg h3 {
    color:#880000 !important;
    margin:0.5em 0 !important;
    padding:0 !important;
}
.z-errormsg ul {
    margin:0 !important;
    padding:0 !important;
}
.z-informationmsg {
    background: #e6e6ff url('../images/icons/extrasmall/info.gif') 13px 50% no-repeat !important;
    border: 1px solid #9bb8d9 !important;
    color: #27427D !important;
    padding: 5px 5px 5px 36px !important;
    margin: 5px 0 10px !important;
}
.z-informationmsg p,
.z-informationmsg h1,
.z-informationmsg h2,
.z-informationmsg h3 {
    color: #27427D !important;
    margin:0.5em 0 !important;
    padding:0 !important;
}
.z-statusmsg {
    background: #DFF2BF url('../images/icons/extrasmall/button_ok.gif') 13px 50% no-repeat !important;
    border: 1px solid #99CC99 !important;
    color: #264409 !important;
    padding: 5px 5px 5px 36px !important;
    margin: 5px 0 10px !important;
}
.z-statusmsg p,
.z-statusmsg h1,
.z-statusmsg h2,
.z-statusmsg h3 {
    color: #264409 !important;
    margin: 0.5em 0 !important;
    padding: 0 !important;
}
.z-warningmsg {
    background: #FEEFB3 url('../images/icons/extrasmall/bell.gif') 13px 50% no-repeat !important;
    border: 1px solid #EED324 !important;
    color: #514721 !important;
    padding: 5px 5px 5px 36px !important;
    margin: 5px 0 !important;
}
.z-warningmsg p,
.z-warningmsg h1,
.z-warningmsg h2,
.z-warningmsg h3 {
    color: #514721 !important;
    margin: 0.5em 0 !important;
    padding: 0 !important;
}

/******************************************************************************
* Classes to define two colors for alternating rows in views
*******************************************************************************/

.z-even {
    background-color: #fff;
    color: #222;
}
.z-odd {
    background-color: #f3f3f3;
    color: #222;
}

/******************************************************************************
* User-Frontend-Tables: z-datatable
* 'z-admintable' is deprecated since 1.3.0
*******************************************************************************/

table.z-datatable,
table.z-admintable {
    border:1px solid #CCCCCC;
    border-spacing:1px 0;
    color:inherit;
    margin:1em 0;
    padding:0;
    width:100%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

table.z-datatable caption,
table.z-admintable caption {
    background-color: #f3f3f3;
    font-weight: bold;
    border-bottom: 2px solid #CFCFCF;
    text-transform: uppercase;
    padding:10px;
}

table.z-datatable thead,
table.z-admintable thead {
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

table.z-datatable thead tr,
table.z-admintable thead tr {
    background-color: #CFCFCF;
}

table.z-datatable td,
table.z-datatable th,
table.z-admintable td,
table.z-admintable th {
    padding: 5px;
    border-width: 0px;
    vertical-align: middle;
}

table.z-datatable thead th,
table.z-admintable thead th {
    background: #CFCFCF; /*non-CSS3 browsers*/
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#CFCFCF'); /*IE*/
    background: -webkit-gradient(linear,left top, left bottom,from(#fafafa),to(#CFCFCF)); /*webkit*/
    background: -moz-linear-gradient(top, #fafafa, #CFCFCF); /*gecko*/
    background: linear-gradient(#fafafa, #CFCFCF); /*CSS3*/
    font-size: 0.9em;
    padding: 7px 5px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

table.z-datatable tr.z-datatableempty,
table.z-admintable tr.z-admintableempty {
    background-color:#F3F3F3;
    font-size:0.9em;
    font-weight:bold;
    text-align:center;
    text-shadow:0 1px 0 rgba(255, 255, 255, 0.8);
}

table.z-datatable tbody tr.z-defaulttablerow,
table.z-admintable tbody tr.z-defaulttablerow {
    background-color: #C2FFBF;
    color: #055F00;
}

table.z-datatable tbody tr:hover {
    background-color: #eee;
    color: #000;
}

table.z-datatable ul,
table.z-admintable ul {
    margin: 0;
}

/******************************************************************************
* Generic Form Style: z-form
*******************************************************************************/

.z-form {
    margin: 0;
    padding: 0;
}

.z-form fieldset,
.z-form .z-fieldset {
    border: 1px #ddd solid;
    margin: 0 0 1em 0;
    padding: 0.5em 1em;
    color: #333;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #fafafa; /*non-CSS3 browsers*/
    background: -webkit-gradient(linear,left top, left bottom,from(#fafafa),to(#f2f2f2)); /*webkit*/
    background: -moz-linear-gradient(top, #fafafa, #f2f2f2); /*gecko*/
    background: linear-gradient(#fafafa, #f2f2f2); /*CSS3*/
}

.z-form legend {
    font-size: 1.25em;
    font-weight: normal;
    color: #000;
    background: transparent;
    border: 0;
    text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.8);
}

.z-form .z-formrow .z-mandatorysym {
    color: #f00;
    font-weight: bold;
    padding-left: 3px;
    display: inline;
}

.z-form .z-formrow input,
.z-form .z-formrow textarea,
.z-form .z-formrow select {
    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    border: 1px solid #ddd;
    font-size: 1em;
    margin: 0;
    max-width: none;
}

.z-form .z-formrow input[type=checkbox] {
    display:inline;
    margin:0.5em 0;
    width:auto;
}

.z-form .z-formrow input[type=radio] {
    width: auto;
    border: 1px solid #fafafa;
}

.z-form .z-formrow select optgroup {
    font-style: normal;
    font-weight: bold;
}

.z-form div.z-formrow input:focus,
.z-form div.z-formrow select:focus,
.z-form div.z-formrow textarea:focus,
.z-form div.z-formrow input:hover,
.z-form div.z-formrow select:hover,
.z-form div.z-formrow textarea:hover,
.z-form div.z-formrow input:active,
.z-form div.z-formrow select:active,
.z-form div.z-formrow textarea:active {
    border: 1px solid #aaa;
    background: #fff;
}

/* hide hidden fields (firefox) */
.z-form input[type=hidden] {
    display: none !important;
}

div.z-formrow,
div.z-buttonrow,
div.z-formbuttons {
    padding: 0.5em 0;
    min-height: 2em;
}

div.z-formlist label {
    display: inline;
}

/******************************************************************************
* Integrated clearfix solution for z-formrow and z-formbuttons
*******************************************************************************/

div.z-formrow:after,
div.z-formbuttons:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/******************************************************************************
* Styles for the buttons in(!) a z-form
*******************************************************************************/

.z-formbuttons {
    text-align: left;
    display: block;
    margin-left: 29%;
}

.z-formbuttons input,
.z-formbuttons img {
    text-align: center;
    margin: 5px;
    width: auto;
    cursor: pointer;
}

button.z-imagebutton, /* Buttons in inline 'ajax' forms */
.z-formbuttons button {
    border: 0px;
    padding: 0px;
    background-color: transparent;
    width: auto;
    cursor: pointer;
}

/******************************************************************************
* Form styles (Two-column-view = default)
*******************************************************************************/

.z-form label {
    cursor: pointer;
}

.z-form div.z-formrow .z-label,
.z-form div.z-formrow label {
    display: block;
    float: left;
    padding: 0.3em 1% 0.3em 0;
    text-align: right;
    width: 28%;
    font-weight: normal;
    color: #333;
    overflow: hidden;
}

.z-form .z-formlist {
    margin-left: 29%;
}

.z-form .z-formnote {
    display: block;
    margin-left: 29% !important;
}

.z-form div.z-formrow input,
.z-form div.z-formrow textarea {
    padding: 0.3em 0.3em;
    width: 67.8%;
    display: block;
    position: relative;
}

.z-form div.z-formrow input[type=text].z-mandatoryinput,
.z-form div.z-formrow select.z-mandatoryinput,
.z-form div.z-formrow textarea.z-mandatoryinput {
    width: 66%;
}

.z-form div.z-formrow select {
    padding: 0.3em 2px 0.3em 1px;
    cursor: pointer;
    width: 68.6%;
    display: block;
    position: relative;
}

.z-form div.z-formlist input {
    width: auto;
}

.z-form div.z-formrow .z-listselector {
    list-style: none;
}

.z-form div.z-formrow > span,
.z-form div.z-formrow > div {
    display: block;
    padding-bottom: 0.3em;
    padding-top: 0.3em;
}

.z-form div.z-formrow span label,
.z-form div.z-formrow div label {
    display: inline;
    float: none;
    padding: 0 1em;
    width: auto;
}

.z-form div.z-formrow span input,
.z-form div.z-formrow span textarea,
.z-form div.z-formrow span select,
.z-form div.z-formrow div input,
.z-form div.z-formrow div textarea,
.z-form div.z-formrow div select {
    display: inline;
    width: auto;
}

.z-form .z-formrow .readonly {
    background: #FAFAFA;
    color: #AAAAAA;
    cursor: not-allowed;
}

.z-form .z-formrow .error {
    background: #ffe1da;
    border: 1px solid #f34f4f;
}

.validationSummary label {
    cursor: pointer;
}

/******************************************************************************
* Form styles (linearize elements / use additional class 'z-linear')
*******************************************************************************/

.z-linear div.z-formrow .z-label,
.z-linear div.z-formrow label {
    float: none;
    width: auto;
    display: block;
    padding: 0.3em 0;
    text-align: left;
}

.z-linear div.z-formrow input ,
.z-linear div.z-formrow textarea {
    display: block;
    width: 98%;
    padding: 0.3em;
}

.z-linear div.z-formrow .z-listselector,
.z-linear div.z-formrow .z-listselector li {
    margin-left: 0;
}

.z-linear div.z-formrow select {
    display: block;
    width: 99%;
}

.z-linear .z-formnote,
.z-linear .z-formlist {
    margin: 0 !important;
}

.z-linear .z-formbuttons {
    padding: 0;
    margin: 0;
}

/******************************************************************************
* Itemlist styles
*******************************************************************************/

.z-itemlist {
    border: 1px solid #ccc;
    padding: 0 !important;
    margin: 1em 0  !important;
    list-style: none !important;
}
.z-itemlist li {
    font-size: 1em;
    border: 1px dotted #999999;
    line-height: 2em;
    margin: 0.5em !important;
    padding: 0.2em !important;
}
.z-itemlist li.z-itemheader {
    font-size: 0.9em;
    background: #CFCFCF;
    border: 1px solid #999999;
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.z-itemlist li.z-itemsort {
    background-image:url("../images/icons/extrasmall/move.gif");
    background-position:5px 50%;
    background-repeat:no-repeat;
    padding-left: 30px !important;
    cursor: move;
}
.z-itemlist li.z-itemsortheader {
    padding-left: 30px !important;
}
.z-itemlist li:hover {
    background-color: #CFCFCF;
}
.z-itemlist li input,
.z-itemlist li textarea,
.z-itemlist li select {
    max-width:90%;
}
.z-itemlist li  * {
    margin: 0 !important;
    vertical-align: middle;
}
.z-itemlist .z-itemcell {
    float: left;
    margin: 0;
    text-align: left;
    overflow: hidden;
}

/******************************************************************************
* Widths styles
*******************************************************************************/

.z-w90 { width: 90%; }
.z-w85 { width: 85%; }
.z-w80 { width: 80%; }
.z-w75 { width: 75%; }
.z-w70 { width: 70%; }
.z-w66 { width: 66%; }
.z-w60 { width: 60%; }
.z-w50 { width: 50%; }
.z-w45 { width: 45%; }
.z-w40 { width: 40%; }
.z-w35 { width: 35%; }
.z-w33 { width: 33%; }
.z-w30 { width: 30%; }
.z-w25 { width: 25%; }
.z-w22 { width: 22%; }
.z-w20 { width: 20%; }
.z-w15 { width: 15%; }
.z-w10 { width: 10%; }
.z-w08 { width: 8%; }
.z-w07 { width: 7%; }
.z-w06 { width: 6%; }
.z-w05 { width: 5%; }
.z-w04 { width: 4%; }
.z-w02 { width: 2%; }

/******************************************************************************
* Icon styles (es=extrasmall). Used in menulinks navigation bar
*******************************************************************************/

.z-icon-es-ok {
    background: url("../images/icons/extrasmall/button_ok.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-cancel {
    background: url("../images/icons/extrasmall/button_cancel.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-help {
    background: url("../images/icons/extrasmall/agt_support.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-info {
    background: url("../images/icons/extrasmall/info.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-locked {
    background: url("../images/icons/extrasmall/locked.png") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-warning {
    background: url("../images/icons/extrasmall/bell.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-error {
    background: url("../images/icons/extrasmall/error.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-config {
    background: url("../images/icons/extrasmall/configure.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-home {
    background: url("../images/icons/extrasmall/home.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-archive {
    background: url("../images/icons/extrasmall/folder.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-list {
    background: url("../images/icons/extrasmall/windowlist.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-view {
    background: url("../images/icons/extrasmall/demo.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-preview {
    background: url("../images/icons/extrasmall/14_layer_visible.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-new {
    background: url("../images/icons/extrasmall/filenew.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-edit {
    background: url("../images/icons/extrasmall/edit.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-save {
    background: url("../images/icons/extrasmall/filesave.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-delete {
    background: url("../images/icons/extrasmall/14_layer_deletelayer.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-flag {
    background: url("../images/icons/extrasmall/flag.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-favorite {
    background: url("../images/icons/extrasmall/favorites.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-profile {
    background: url("../images/icons/extrasmall/personal.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-password {
    background: url("../images/icons/extrasmall/password.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-user {
    background: url("../images/icons/extrasmall/edit_user.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-adduser {
    background: url("../images/icons/extrasmall/add_user.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-group {
    background: url("../images/icons/extrasmall/edit_group.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-refresh {
    background: url("../images/icons/extrasmall/recur.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-regenerate {
    background: url("../images/icons/extrasmall/agt_update-product.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-exec {
    background: url("../images/icons/extrasmall/exec.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-export {
    background: url("../images/icons/extrasmall/db_update.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-import {
    background: url("../images/icons/extrasmall/db_comit.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-attach {
    background: url("../images/icons/extrasmall/attach.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-mail {
    background: url("../images/icons/extrasmall/mail_generic.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-search {
    background: url("../images/icons/extrasmall/search.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-package {
    background: url("../images/icons/extrasmall/package.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-world {
    background: url("../images/icons/extrasmall/agt_internet.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-cubes {
    background: url("../images/icons/extrasmall/kcmdf.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}
.z-icon-es-log {
    background: url("../images/icons/extrasmall/easymoblog.gif") no-repeat scroll 0 50% transparent;
    padding: 2px 0 2px 20px;
}

/******************************************************************************
* Buttons styles
*******************************************************************************/

.z-button,
.z-buttons a,
.z-buttons a:link,
.z-buttons a:visited,
.z-buttons input,
.z-buttons button {
    display: inline-block;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    line-height:130%;
    font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    text-decoration: none !important;
    text-align: center;
    font-weight: bold;
    margin: 0 5px 0 0;
    padding: 5px 10px 6px 10px;
    color: #444;
    border-color:#CCCCCC #B9B9B9 #B9B9B9 #CCCCCC;
    border-style: solid;
    border-width: 1px;
    background: #dfdfdf; /*non-CSS3 browsers*/
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dfdfdf)); /*webkit*/
    background: -moz-linear-gradient(top, #ffffff, #dfdfdf); /*gecko*/
    background: linear-gradient(#FFFFFF, #dfdfdf); /*CSS3*/
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.z-buttons .z-bt-small,
.z-button.z-bt-small {
    margin: 0 1px 0 0;
    padding: 3px 8px 4px 8px !important;
}

.z-buttons button[type] {
    padding: 4px 10px 5px 10px; /* Firefox */
    line-height: 17px; /* Safari */
}

.z-buttons button {
    width: auto;
    overflow: visible;
}

.z-button:hover,
.z-buttons a:hover,
.z-buttons input:hover,
.z-buttons button:hover {
    color: #222;
    text-decoration: none !important;
    background: #cfcfcf; /*non-CSS3 browsers*/
    background: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#cfcfcf)); /*webkit*/
    background: -moz-linear-gradient(top, #fafafa, #cfcfcf); /*gecko*/
    background: linear-gradient(#fafafa, #cfcfcf); /*CSS3*/
}

.z-button:active,
.z-buttons a:active,
.z-buttons input:active,
.z-buttons button:active {
    color: #000;
    background: #fafafa; /*non-CSS3 browsers*/
    background: -webkit-gradient(linear, left top, left bottom, from(#cfcfcf), to(#fafafa)); /*webkit*/
    background: -moz-linear-gradient(top, #cfcfcf, #fafafa); /*gecko*/
    background: linear-gradient(#cfcfcf, #fafafa); /*CSS3*/
}

.z-button img,
.z-buttons button img,
.z-buttons a img {
    margin: 0 3px -3px 0 !important;
    padding: 0;
    border: none;
    height: 16px;
    width: 16px;
}

/******************************************************************************
* Colored button: Red
*******************************************************************************/

.z-buttons .z-btred,
.z-buttons .z-btred:link,
.z-buttons .z-btred:visited {
    color: #d12f19;
}
.z-buttons .z-btred:hover {
    color: #d12f19;
    border: 1px solid #EF7868;
    background: #fbc2c4;
    background: -webkit-gradient(linear, left top, left bottom, from(#fbc2c4), to(#fbe3e4));
    background: -moz-linear-gradient(top, #fbc2c4, #fbe3e4);
    background: linear-gradient(#fbc2c4, #fbe3e4);
}
.z-buttons .z-btred:active {
    color: #d12f19;
    border: 1px solid #EF7868;
    background: #EFA4A7;
    background: -webkit-gradient(linear, left top, left bottom, from(#EFA4A7), to(#EFC2C5));
    background: -moz-linear-gradient(top, #EFA4A7, #EFC2C5);
    background: linear-gradient(#EFA4A7, #EFC2C5);
}

/******************************************************************************
* Colored button: Blue
*******************************************************************************/

.z-buttons .z-btblue,
.z-buttons .z-btblue:link,
.z-buttons .z-btblue:visited {
    color: #336699;
}
.z-buttons .z-btblue:hover {
    color: #336699;
    border: 1px solid #6FA7DF;
    background: #c2e1ef;
    background: -webkit-gradient(linear, left top, left bottom, from(#c2e1ef), to(#dff4ff));
    background: -moz-linear-gradient(top, #c2e1ef, #dff4ff);
    background: linear-gradient(#c2e1ef, #dff4ff);
}
.z-buttons .z-btblue:active {
    color: #336699;
    border: 1px solid #6FA7DF;
    background: #A7CEDF;
    background: -webkit-gradient(linear, left top, left bottom, from(#A7CEDF), to(#C2E0EF));
    background: -moz-linear-gradient(top, #A7CEDF, #C2E0EF);
    background: linear-gradient(#A7CEDF, #C2E0EF);
}

/******************************************************************************
* Colored button: Green
*******************************************************************************/

.z-buttons .z-btgreen,
.z-buttons .z-btgreen:link,
.z-buttons .z-btgreen:visited {
    color: #529214;
}
.z-buttons .z-btgreen:hover {
    color: #529214;
    border: 1px solid #A0DF61;
    background: #D1EFD2;
    background: -webkit-gradient(linear, left top, left bottom, from(#D1EFD2), to(#EFFFEF));
    background: -moz-linear-gradient(top, #D1EFD2, #EFFFEF);
    background: linear-gradient(#D1EFD2, #EFFFEF);
}
.z-buttons .z-btgreen:active {
    color: #529214;
    border: 1px solid #A0DF61;
    background-color:#C2EFC3;
    background: -webkit-gradient(linear, left top, left bottom, from(#C2EFC3), to(#D1EFD1));
    background: -moz-linear-gradient(top, #C2EFC3, #D1EFD1);
    background: linear-gradient(#C2EFC3, #D1EFD1);
}

/******************************************************************************
* Buttons based on HTML tag: Input
*******************************************************************************/

.z-buttons input.z-bt-ok,
.z-buttons input.z-bt-cancel,
.z-buttons input.z-bt-preview,
.z-buttons input.z-bt-new,
.z-buttons input.z-bt-save,
.z-buttons input.z-bt-edit,
.z-buttons input.z-bt-archive,
.z-buttons input.z-bt-delete,
.z-buttons input.z-bt-icon {
    padding: 5px 7px 5px 32px;
}

.z-buttons input.z-bt-ok.z-bt-small,
.z-buttons input.z-bt-cancel.z-bt-small,
.z-buttons input.z-bt-preview.z-bt-small,
.z-buttons input.z-bt-new.z-bt-small,
.z-buttons input.z-bt-save.z-bt-small,
.z-buttons input.z-bt-edit.z-bt-small,
.z-buttons input.z-bt-archive.z-bt-small,
.z-buttons input.z-bt-delete.z-bt-small,
.z-buttons input.z-bt-icon.z-bt-small {
    margin: 0 1px 0 0;
    padding: 3px 8px 4px 27px !important;
}

.z-buttons input.z-bt-ok {
    background: url("../images/icons/extrasmall/button_ok.gif") #dfdfdf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/button_ok.gif") 10px 50% no-repeat, -moz-linear-gradient(center top , #ffffff, #dfdfdf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/button_ok.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dfdfdf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/button_ok.gif") 10px 50% no-repeat, linear-gradient(#ffffff, #dfdfdf); /*CSS3*/
}
.z-buttons input.z-bt-ok:hover {
    background: url("../images/icons/extrasmall/button_ok.gif") #cfcfcf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/button_ok.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #fafafa, #cfcfcf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/button_ok.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#cfcfcf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/button_ok.gif") 10px 50% no-repeat, linear-gradient(#fafafa, #cfcfcf); /*CSS3*/
}

.z-buttons input.z-bt-ok:active {
    background: url("../images/icons/extrasmall/button_ok.gif") #fafafa 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/button_ok.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #cfcfcf, #fafafa) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/button_ok.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#cfcfcf), to(#fafafa)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/button_ok.gif") 10px 50% no-repeat, linear-gradient(#cfcfcf, #fafafa); /*CSS3*/
}

.z-buttons input.z-bt-cancel {
    background: url("../images/icons/extrasmall/button_cancel.gif") #dfdfdf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/button_cancel.gif") 10px 50% no-repeat, -moz-linear-gradient(center top , #ffffff, #dfdfdf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/button_cancel.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dfdfdf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/button_cancel.gif") 10px 50% no-repeat, linear-gradient(#ffffff, #dfdfdf); /*CSS3*/
}

.z-buttons input.z-bt-cancel:hover {
    background: url("../images/icons/extrasmall/button_cancel.gif") #cfcfcf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/button_cancel.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #fafafa, #cfcfcf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/button_cancel.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#cfcfcf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/button_cancel.gif") 10px 50% no-repeat, linear-gradient(#fafafa, #cfcfcf); /*CSS3*/
}

.z-buttons input.z-bt-cancel:active {
    background: url("../images/icons/extrasmall/button_cancel.gif") #fafafa 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/button_cancel.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #cfcfcf, #fafafa) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/button_cancel.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#cfcfcf), to(#fafafa)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/button_cancel.gif") 10px 50% no-repeat, linear-gradient(#cfcfcf, #fafafa); /*CSS3*/
}

.z-buttons input.z-bt-preview {
    background: url("../images/icons/extrasmall/14_layer_visible.gif") #dfdfdf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/14_layer_visible.gif") 10px 50% no-repeat, -moz-linear-gradient(center top , #ffffff, #dfdfdf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/14_layer_visible.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dfdfdf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/14_layer_visible.gif") 10px 50% no-repeat, linear-gradient(#ffffff, #dfdfdf); /*CSS3*/
}

.z-buttons input.z-bt-preview:hover {
    background: url("../images/icons/extrasmall/14_layer_visible.gif") #cfcfcf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/14_layer_visible.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #fafafa, #cfcfcf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/14_layer_visible.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#cfcfcf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/14_layer_visible.gif") 10px 50% no-repeat, linear-gradient(#fafafa, #cfcfcf); /*CSS3*/
}

.z-buttons input.z-bt-preview:active {
    background: url("../images/icons/extrasmall/14_layer_visible.gif") #fafafa 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/14_layer_visible.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #cfcfcf, #fafafa) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/14_layer_visible.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#cfcfcf), to(#fafafa)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/14_layer_visible.gif") 10px 50% no-repeat, linear-gradient(#cfcfcf, #fafafa); /*CSS3*/
}

.z-buttons input.z-bt-new {
    background: url("../images/icons/extrasmall/filenew.gif") #dfdfdf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/filenew.gif") 10px 50% no-repeat, -moz-linear-gradient(center top , #ffffff, #dfdfdf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/filenew.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dfdfdf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/filenew.gif") 10px 50% no-repeat, linear-gradient(#ffffff, #dfdfdf); /*CSS3*/
}

.z-buttons input.z-bt-new:hover {
    background: url("../images/icons/extrasmall/filenew.gif") #cfcfcf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/filenew.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #fafafa, #cfcfcf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/filenew.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#cfcfcf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/filenew.gif") 10px 50% no-repeat, linear-gradient(#fafafa, #cfcfcf); /*CSS3*/
}

.z-buttons input.z-bt-new:active {
    background: url("../images/icons/extrasmall/filenew.gif") #fafafa 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/filenew.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #cfcfcf, #fafafa) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/filenew.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#cfcfcf), to(#fafafa)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/filenew.gif") 10px 50% no-repeat, linear-gradient(#cfcfcf, #fafafa); /*CSS3*/
}

.z-buttons input.z-bt-save {
    background: url("../images/icons/extrasmall/filesave.gif") #dfdfdf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/filesave.gif") 10px 50% no-repeat, -moz-linear-gradient(center top , #ffffff, #dfdfdf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/filesave.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dfdfdf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/filesave.gif") 10px 50% no-repeat, linear-gradient(#ffffff, #dfdfdf); /*CSS3*/
}

.z-buttons input.z-bt-save:hover {
    background: url("../images/icons/extrasmall/filesave.gif") #cfcfcf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/filesave.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #fafafa, #cfcfcf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/filesave.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#cfcfcf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/filesave.gif") 10px 50% no-repeat, linear-gradient(#fafafa, #cfcfcf); /*CSS3*/
}

.z-buttons input.z-bt-save:active {
    background: url("../images/icons/extrasmall/filesave.gif") #fafafa 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/filesave.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #cfcfcf, #fafafa) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/filesave.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#cfcfcf), to(#fafafa)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/filesave.gif") 10px 50% no-repeat, linear-gradient(#cfcfcf, #fafafa); /*CSS3*/
}

.z-buttons input.z-bt-edit {
    background: url("../images/icons/extrasmall/edit.gif") #dfdfdf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/edit.gif") 10px 50% no-repeat, -moz-linear-gradient(center top , #ffffff, #dfdfdf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/edit.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dfdfdf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/edit.gif") 10px 50% no-repeat, linear-gradient(#ffffff, #dfdfdf); /*CSS3*/
}

.z-buttons input.z-bt-edit:hover {
    background: url("../images/icons/extrasmall/edit.gif") #cfcfcf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/edit.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #fafafa, #cfcfcf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/edit.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#cfcfcf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/edit.gif") 10px 50% no-repeat, linear-gradient(#fafafa, #cfcfcf); /*CSS3*/
}

.z-buttons input.z-bt-edit:active {
    background: url("../images/icons/extrasmall/edit.gif") #fafafa 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/edit.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #cfcfcf, #fafafa) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/edit.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#cfcfcf), to(#fafafa)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/edit.gif") 10px 50% no-repeat, linear-gradient(#cfcfcf, #fafafa); /*CSS3*/
}

.z-buttons input.z-bt-archive {
    background: url("../images/icons/extrasmall/folder.gif") #dfdfdf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/folder.gif") 10px 50% no-repeat, -moz-linear-gradient(center top , #ffffff, #dfdfdf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/folder.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dfdfdf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/folder.gif") 10px 50% no-repeat, linear-gradient(#ffffff, #dfdfdf); /*CSS3*/
}

.z-buttons input.z-bt-archive:hover {
    background: url("../images/icons/extrasmall/folder.gif") #cfcfcf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/folder.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #fafafa, #cfcfcf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/folder.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#cfcfcf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/folder.gif") 10px 50% no-repeat, linear-gradient(#fafafa, #cfcfcf); /*CSS3*/
}

.z-buttons input.z-bt-archive:active {
    background: url("../images/icons/extrasmall/folder.gif") #fafafa 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/folder.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #cfcfcf, #fafafa) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/folder.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#cfcfcf), to(#fafafa)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/folder.gif") 10px 50% no-repeat, linear-gradient(#cfcfcf, #fafafa); /*CSS3*/
}

.z-buttons input.z-bt-delete {
    background: url("../images/icons/extrasmall/14_layer_deletelayer.gif") #dfdfdf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/14_layer_deletelayer.gif") 10px 50% no-repeat, -moz-linear-gradient(center top , #ffffff, #dfdfdf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/14_layer_deletelayer.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dfdfdf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/14_layer_deletelayer.gif") 10px 50% no-repeat, linear-gradient(#ffffff, #dfdfdf); /*CSS3*/
}

.z-buttons input.z-bt-delete:hover {
    background: url("../images/icons/extrasmall/14_layer_deletelayer.gif") #cfcfcf 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/14_layer_deletelayer.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #fafafa, #cfcfcf) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/14_layer_deletelayer.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#cfcfcf)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/14_layer_deletelayer.gif") 10px 50% no-repeat, linear-gradient(#fafafa, #cfcfcf); /*CSS3*/
}

.z-buttons input.z-bt-delete:active {
    background: url("../images/icons/extrasmall/14_layer_deletelayer.gif") #fafafa 10px 50% no-repeat; /*non-CSS3 browsers*/
    background: url("../images/icons/extrasmall/14_layer_deletelayer.gif") 10px 50% no-repeat, -moz-linear-gradient(top,  #cfcfcf, #fafafa) repeat scroll 0 0 transparent; /*gecko*/
    background: url("../images/icons/extrasmall/14_layer_deletelayer.gif") 10px 50% no-repeat, -webkit-gradient(linear, left top, left bottom, from(#cfcfcf), to(#fafafa)) repeat scroll 0 0 transparent; /*webkit*/
    background: url("../images/icons/extrasmall/14_layer_deletelayer.gif") 10px 50% no-repeat, linear-gradient(#cfcfcf, #fafafa); /*CSS3*/
}

/* Old input image buttons. Backward compatibility < Zikula 1.3 */

.z-buttons input[type=image] {
    float: left;
}

/*******************************************************************************/
/* Zikula.UI styles
/*******************************************************************************/

.z-tooltip {
    background: #ddd; /*non-CSS3 browsers*/
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cfcfcf'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#cfcfcf)); /*webkit*/
    background: -moz-linear-gradient(top, #fff, #cfcfcf); /*gecko*/
    background: linear-gradient(#fff, #cfcfcf); /*CSS3*/
    border: solid 1px #b4b4b4;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    text-align: left;
    padding: 2px 5px;
    margin: 0;
    color: #333;
    font-weight: normal;
    max-width: 40em;
}

.z-window {
    background-color: #FAFAFA; /*non-CSS3 browsers*/
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#f2f2f2'); /* for IE */
    background: -webkit-gradient(linear,left top, left bottom,from(#FAFAFA),to(#f2f2f2)); /*webkit*/
    background: -moz-linear-gradient(center top , #FAFAFA, #F2F2F2) repeat scroll 0 0 transparent; /*gecko*/
    background: linear-gradient(#FAFAFA, #F2F2F2); /*CSS3*/
    border: solid 1px #b4b4b4;
    -moz-box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.3);
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.3);
    padding: 0;
    text-align: left;
    font-family: "Lucida Grande",Verdana;
    font-size: 12px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    min-width: 200px;
    min-height: 100px;
    overflow: hidden;
}

.z-window:focus {
    outline: none;
}

.z-window.z-modal {
    -moz-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}
.z-window .z-window-body {
    background: #fff;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    overflow: auto;
}

.z-window .z-window-body.iframe {
    padding: 0;
    overflow: visible;
}

.z-window .z-window-body.iframe iframe{
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%
}

.z-window .z-window-header {
    background: #DDDDDD; /*non-CSS3 browsers*/
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#DDDDDD', endColorstr='#f2f2f2'); /* for IE */
    background: -webkit-gradient(linear,left top, left bottom,from(#ddd),to(#f2f2f2)); /*webkit*/
    background: -moz-linear-gradient(center top, #ddd, #F2F2F2) repeat scroll 0 0 transparent; /*gecko*/
    background: linear-gradient(#ddd, #F2F2F2); /*CSS3*/
    font-weight: bold;
    text-align: center;
    padding: 5px;
    height: 16px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.z-window .z-window-footer {
    text-align: center;
    min-height: 12px;
    padding: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.z-window .z-window-title {
    font-size: 12px;
}

.z-window.z-draggable .z-window-title {
    cursor: move;
}

.z-window .z-window-control {
    display: block;
    position: absolute;
    top: 5px;
    height: 16px;
    width: 16px;
    background-position: 69px 0;
    background-position: 48px 0;
    cursor: pointer;
}

.z-window .z-window-control:hover {
    background-position: 32px 0;
    background-position: 0 0;
}

.z-window .z-window-close {
    right: 10px;
    background-image: url("../images/ui/window.close.png");
}

.z-window .z-window-maximize {
    right: 30px;
    background-image: url("../images/ui/window.max.png");
}

.z-window .z-window-minimize {
    right: 50px;
    background-image: url("../images/ui/window.min.png");
}

.z-window.z-minimized .z-window-minimize,
.z-window.z-maximized .z-window-maximize {
    background-image: url("../images/ui/window.restore.png");
}

.z-window .resizable_handle {
    display: block;
    position: absolute;
    bottom: 4px;
    right: 5px;
    height: 13px;
    width: 13px;
    background-image: url("../images/ui/window.resize.png");
    background-repeat: no-repeat;
    background-position: 100% 100%;
    cursor: pointer;
    cursor: nw-resize;
}

.z-window .iframe-overlay,
.z-window .resizable_handle.onresize {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: auto;
    height: auto;
    position: absolute;
    z-index: 1000;
}

.z-window.z-minimized {
    height: auto !important;
    min-height:0 !important;
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
}

.z-window.z-maximized {
    position: fixed !important;
    max-height: none !important;
    max-width: none !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    height: auto !important;
}

.z-window.z-minimized .z-window-header {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    position: static;
}

.z-window.z-minimized .z-window-body,
.z-window.z-minimized .z-window-footer,
.z-window.z-minimized .resizable_handle,
.z-window.z-maximized .resizable_handle {
    display: none;
}

.z-window .z-window-header,
.z-window .z-window-footer {
    position: absolute;
    left: 0;
    right: 0;
}

.z-window .z-window-header {
    top: 0;
}

.z-window .z-window-footer {
    bottom: 0;
}

.z-window .z-window-body {
    top: 26px;
    bottom: 26px;
    left: 0;
    right: 0;
}

.z-window.z-dialog .z-window-body {
    bottom: 35px;
}

.z-window-indicator {
    background: #fff url(../images/ui/zktimer_48px_white_rounded.gif) no-repeat 50% 50%;
    opacity: 0.8;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.z-alert .z-window-body {
    background: #F7CBCA;
    background: -webkit-gradient(linear, left top, left bottom, from(#F7CBCA), to(#fbe3e4));
    background: -moz-linear-gradient(top, #F7CBCA, #fbe3e4);
    background: linear-gradient(#F7CBCA, #fbe3e4);
}

.z-alert .z-window-header {
    color: #d12f19;
}

.z-dialog .z-window-title {
    background: url("../images/icons/extrasmall/info.gif") no-repeat scroll 0 50% transparent;
}

.z-alert .z-window-title {
    background: url("../images/icons/extrasmall/error.gif") no-repeat scroll 0 50% transparent;
}

.z-confirm .z-window-title {
    background: url("../images/icons/extrasmall/agt_support.gif") no-repeat scroll 0 50% transparent;
}

#control_overlay {
    background-color: #000;
}

.z-select-multiple.z-form {
    padding: 0;
    margin: 0;
}

.z-select-multiple.z-form z-formrow {
    padding: 0;
}

.z-select-multiple.z-form .z-formrow.selected {
    background: #DCDCDC;
}

.z-tabs {
    background: url("../images/ui/tab_bottom.gif") repeat-x scroll center bottom transparent;
    margin:0 !important;
    padding:0 !important;
    width: 100%;
    overflow: hidden;
}

.z-tabs li {
    background-color: #F3F3F3;
    border: 1px solid #ccc;
    float: left;
    list-style-type: none;
    margin: 0 5px 0 0;
    padding: 0;
    z-index: 1000;
}

.z-tabs li > a {
    border-right: 1px solid transparent;
    color: #666666;
    float: left;
    font-weight: bold;
    padding: 5px;
    position: relative;
    text-decoration: none;
}

.z-tabs li > a:hover {
    background: #fff !important;
    border-right: 1px solid #ccc;
    color: #000;
    text-decoration: none;
}

.z-tabs li.active {
    background: none repeat scroll 0 0 #fff;
    border-bottom: 1px solid #fff;
    z-index: 2000;
}

.z-tabs li.active a:hover {
    border-right: 1px solid transparent;
}

.z-accordion .header {
    background: url("../images/global/menubg_grey.gif") repeat-x scroll 0 0 #E6E6E6; /*non-CSS3 browsers*/
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefefe', endColorstr='#E6E6E6'); /*IE*/
    background: -webkit-gradient(linear,left top, left bottom,from(#fefefe), to(#E6E6E6)); /*webkit*/
    background: -moz-linear-gradient(top, #fefefe, #E6E6E6); /*gecko*/
    background: linear-gradient(#fefefe, #E6E6E6); /*CSS3*/
    border: 1px solid #ccc;
    line-height: 1.8em;
    margin: 0.2em 0;
    padding: 0 15px;
    cursor: pointer;
}
.z-accordion .header.active {
    background: #FFFFFF;
}


/******************************************************************************
* Order styles
*******************************************************************************/

.z-order-asc {
    background: url("../images/global/order_asc.gif") transparent right 50% no-repeat;
    padding-right: 14px;
}
.z-order-desc {
    background: url("../images/global/order_desc.gif") transparent right 50% no-repeat;
    padding-right: 14px;
}
.z-order-unsorted {
    padding-right: 14px;
}

/******************************************************************************
* Toggle styles
* TODO: Do we still need this? (herr.vorragend)
*******************************************************************************/

.z-toggle {
    display: block;
    background-image: url("../images/global/toggle.gif");
    background-repeat: no-repeat;
    background-position: 0px;
    border: 0pt none;
    margin: 0pt;
    padding: 0pt;
    width: 27px;
    height: 25px;
}
.z-toggle-open,
.z-toggle-open:link,
.z-toggle-open:visited {
    background-position: 0pt -18px;
    height: 25px;
    width: 27px;
}
.z-toggle-link,
.z-toggle-link:link,
.z-toggle-link:visited {
    background-image: url("../images/global/toggle.gif");
    background-repeat: no-repeat;
    background-position: right top;
    padding-right: 25px;
    border: 0pt none;
}
.z-toggle-link-open,
.z-toggle-link-open:link,
.z-toggle-link-open:visited {
    background-position: right -18px;
}

/******************************************************************************
* Styles for pager plugins
* TODO: Do we still need this? (herr.vorragend)
*******************************************************************************/

.z-pager {
    color: #999;
    padding: 5px 4px;
    text-align: center;
}
/* style for the selected item of the pager abc plugin */
.z-pager a.z-pagerselected {
    font-weight: bold;
    text-decoration: underline;
}
/* style for the selected item of the pager plugin */
.z-pager span.z-pagerselected {
    font-weight: bold;
}

/******************************************************************************
* Drop-Down
*******************************************************************************/

.z-drop {
    background: url("../images/global/arrow.png") no-repeat scroll 0 50% transparent;
    cursor: pointer;
    padding: 0 5px;
    position: relative;
}

.z-drop:hover {
    background: url("../images/global/arrow_hover.png") no-repeat scroll 0 50% transparent;
}

/******************************************************************************
* Livepipe Control.ContextMenu
*******************************************************************************/

#control_contextmenu {
    background: #ddd; /*non-CSS3 browsers*/
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cfcfcf'); /*IE*/
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#cfcfcf)); /*webkit*/
    background: -moz-linear-gradient(top,  #fff,  #cfcfcf); /*gecko*/
    background: linear-gradient(top,  #fff,  #cfcfcf); /*CSS3*/
    border: solid 1px #b4b4b4;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    min-width: 100px;
}

#control_contextmenu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
}

#control_contextmenu ul li {
    list-style: none !important;
    font-size: 0.9em;
    text-align: left;
    padding: 2px 10px 2px 10px !important;
    margin: 0 !important;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    font-weight: normal;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

#control_contextmenu ul li.selected,
#control_contextmenu ul li:hover {
    background-color:#3875D7;
    color:#FFFFFF;
    cursor:pointer;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

#control_contextmenu ul li.selected:hover {
    color: #333;
    background-color: #f3f3f3;
    cursor: pointer;
}

#control_contextmenu ul li.disabled,
#control_contextmenu ul li:hover.disabled {
    background-color: #eee;
    color: #999;
    cursor: pointer;
}

