[class*="z-"]:not([class*="z-icon-"]) {
  font-family: Ubuntu, sans-serif;
  font-size: 13px;
}

body.breeze,
body.iceblue {
  margin: 0px;
  padding: 0px !important;
}

div.z-popup a,
div.z-window a,
div.z-page a {
  color: #334;
  text-decoration: none;
}

div.z-popup a:hover,
div.z-window a:hover,
div.z-page a:hover {
  color: #433;
  text-decoration: none;
  /*text-decoration: underline;*/
}

div.z-popup .invalid,
div.z-window .invalid,
div.z-page .invalid {
  font-style: oblique;  
}

/* Frame */

.bbframe {
  margin: 0px;
  border: none;
}

.bbframetop {
  margin: 0px;
  border: none;
  /*height: 60px;*/
}

.bbframecenter {
  margin: 0px;
  border: none;
  background-color: #e1e1e1;
}

.bbframebottom {
  margin: 0px;
  border: none;
  border-top: solid 1px #bbb;
  background-color: #eaead8;
  padding: 3px;
}

/* Containers */

.bbcontbox {
  border: none;
  padding: 5px 0px 0px 0px;
  margin: 0px;
}

.bbconttabs {
  border: none;
  margin-left: 10px;
}

.bbcontpanels {
  border: none;
}

.bbcontpanel {
  border: none;
  padding: 0px;
}

/* Captions */

div.z-page .caption {
  font-size: 14px;
  font-weight: bold;
  color: #666;
}

div.z-page .captionBox {
  background-color: #eee;
  border-bottom: solid 1px #ccc;
  padding: 5px;
  min-height: 30px;
}

div.z-page .captionBox * {
  color: #666;
  font-size: 14px;
  font-weight: bold;
}

/* Menu popup 

.z-menu-popup-cnt .z-menu-separator-inner {
  border-bottom:1px solid #F0F0F0;
  margin:2px 0 3px 24px;
}
*/

/* Main Toolbar */

div.z-page .mainToolbar {
  padding: 5px;
  padding-left: 10px;
}

/* Main Statusbar */

div.z-page .mainStatusbar {
  padding: 3px;
}

/* Toolbar 

.z-toolbar {
}

.z-toolbar-body {
  padding: 2px;
  padding-top: 3px;
}

.z-toolbar a {
  background: none;
  padding: 3px;
  margin-left: 2px;
}

.z-toolbar a:hover {
  padding: 3px;
}

.z-toolbar * {
  font-size: 11px;
}
*/

/* Control bar */

div.z-page .control-bar {
  padding: 3px;
  width: 100%;
  /*background-color: #c5e6ef;*/
}

div.z-page .control-bar * {
  font-size: 12px;
}

/* Group grid */

.z-group-icon {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 999;
  text-align: left;
  padding: 6px;
}

.z-group-content > .z-label {
  margin-left: 20px;
}

/* FilterGrid */

div.z-page .filterGrid {
  border: none !important;
}

/* EditableGrid */

div.z-page .editableGrid {
  /*font-size: 11px;*/
}

div.z-page .editableGrid select,
div.z-page .editableGrid input,
div.z-page .editableGrid checkbox {
  /*padding: 0;*/
  /*margin: 0;*/
}

.z-grid .grid-editor {
  box-shadow: 0 0 3pt 2pt #bbb;
}

div.z-page .editableGrid td.z-row-inner,
div.z-page .editableGrid td.z-group-foot-inner {
  /*padding: 0px;*/
  /*padding-right: 1px;*/
  /*height: 20px;*/
}

div.z-page .editableGrid .invalid * {
  font-style: oblique;
  color: #668;
}

div.z-page .editableGrid .z-row-content {
  min-height: 25px;  
}

/* InputBox */

div.z-page .inputDialogContainer .buttonDialogContainer {
}

div.z-page .inputDialogContainer {
  width: 300px;
}

.inputDialogContainer span.z-label {
  display: inline-block;
  margin-top: 8px;
  color: #444;
}

/* Labels */

div.z-page .tinyLabel {
  font-size: 11px !important;
  color: #668 !important;
}

div.z-page .softLabel,
div.z-page .softLabel * {
  font-size: 12px !important;
  color: #668 !important;
}

div.z-page .captionLabel {
  font-size: 14px !important;
  font-weight: bold !important;
  color: #668 !important;
}

div.z-page .small-caption {
  font-size: 11px;
  font-weight: bold;
  color: #0075b0;
}

/* Draft */

div.z-page .draft * {
  font-style: oblique !important;
  color: #446 !important;
}

/* Disabled */

.z-spinner-disd, 
.z-spinner-disd *, 
.z-timebox-disd, 
.z-timebox-disd *, 
.z-datebox-disd, 
.z-datebox-disd *, 
.z-bandbox-disd, 
.z-bandbox-disd *, 
.z-textbox-disd, 
.z-textbox-disd *, 
.z-combo-item-disd, 
.z-combo-item-disd *, 
.z-combobox-disd, 
.z-combobox-disd * {
  color:#555 !important;
}

/* TD padding for ZK 5 */

/*
tr.z-row td.z-row-inner {
  padding: 2px;
}
*/

/* Hlayout default vertical align */

/*div.z-hlayout-inner {
  vertical-align: top;
}*/

/* A image margin */

a.z-a {
  font-weight: normal;
}

a.z-a img {
  margin-right: 5px;
}

/* Toolbar button image */
/*
.z-toolbarbutton-cnt {
  padding-top: 5px;
}

.z-toolbarbutton-cnt img {
  margin-top: -3px;
}

.tagitLabel .z-toolbarbutton-cnt {
  padding: 1px;
}

.tagitLabel .z-toolbarbutton-cnt img {
  margin: 0px;
}
*/

/* Attachments */

div.z-page .attachVersions * {
  font-size: 12px;
}

div.z-page .detailBox {
  width:100%;
  color:#444444;
  background-color:white;
  background-repeat:no-repeat;
  padding:10px;
  border-bottom:solid 1px #aaa;
}

/* Tree menu */

.treeMenu .z-tree-body {
  background-color: #e8ebed;
}

.treeMenu .z-tree-body .z-treechildren {
  background-color: #e8ebed;
}

.treeMenu .z-treerow * {
  background: none !important;
  white-space: nowrap;
}

.treeMenu .z-treerow:hover {
  background-color: #d8dbdd;
}

.treeMenu .z-treerow-selected {
  background-color: #6F97D2;
  background-image: none;
}

.treeMenu .z-treerow-selected .z-treecell-text {
  color: white;
}

.treeMenu .z-treerow-selected:hover {
  background-color: #6F97D2;
}

.treeMenu .z-treerow-selected .z-treecell-text:hover {
  color: yellow;
}

/* List menu */

.listMenu .z-listbox-body {
  background-color: #e8ebed;
}

.listMenu .z-listbox-body table {
  background-color: #e8ebed;
}

/* GridLayout */

div.z-popup .grid-layout .grid-caption,
div.z-window .grid-layout .grid-caption,
div.z-page .grid-layout .grid-caption {
  color: gray;
  padding-right: 5px;
}

/*
.grid-layout .z-row-inner {
  padding: 3px;
}

.grid-layout .grid-caption {
  color: gray;
  padding-right: 5px;
}

.grid-layout .z-grid-faker th {
  width: 0px;
}

.detailMini * {
  font-size: 10px !important;
}

.grid-layout .z-button .z-button-tl {
  line-height: 0px;
}
*/
/* Wizard */

div.z-window .wizard,
div.z-page .wizard {
  padding: 10px;
  border: none;
}

div.z-window .wtabs .z-tab,
div.z-page .wtabs .z-tab {
  border: none;
  background: none;
}

div.z-window .wtabs ,z-tab,
div.z-page .wtabs .z-tabs {
  border: none;
  border-bottom: none;
}

div.z-window .wtabs .z-tabs-content,
div.z-page .wtabs .z-tabs-content {
  border: none;
  border-bottom: none;
}

div.z-window .wizard .z-tabpanel,
div.z-page .wizard .z-tabpanel {
  border: none;
  padding: 10px;
}

div.z-window .wizard .z-tab-text,
div.z-page .wizard .z-tab-text {
  padding: 10px;
  padding-right: 30px;
  color: #333;
  font-weight: bold;
  font-size: 14px;
  background: url('../images/forward.png') right center no-repeat;
  opacity: 0.3;
}

div.z-window .wizard .wpcurrent .z-tab-text,
div.z-page .wizard .wpcurrent .z-tab-text {
  color:#c60;
  opacity: 1;
}

div.z-window .wizard .wppending .z-tab-text,
div.z-page .wizard .wppending .z-tab-text {
  color: #333;
  opacity: 0.3;
}

div.z-window .wizard .wpdone .z-tab-text,
div.z-page .wizard .wpdone .z-tab-text {
  opacity: 0.8;
}

/* Tabbox */

.z-tab-text {
  line-height: 16px;
  padding: 2px 12px 2px;
}

/* Tabbox Look */

.tabboxLook .z-panelchildren {
  background-color: #ececf0;
  padding: 0px;
}

.tabboxLook .z-grid {
  background-color: #fff;
}

.tabboxLook .z-tabbox {
  padding-top: 8px;
  margin-bottom: 0px;
}

.tabboxLook .z-tabs {
  padding-left: 20px;
}

.tabboxLook .z-tabbox-ver {
  padding-left: 8px;
}

.tabboxLook .z-tabs-ver {
  width: 30px;
  padding-top: 20px;
}

.tabboxLook .z-tabpanels {
  background-color: #fff;
}

.tabboxLook .z-tabpanel {
  margin: 0px;
  padding: 0px;
}

.tabboxLook .grid-layout {
  border: none;
}

.tabboxLook .grid-layout .z-cell {
  border: none;
}

.tabboxLook .headerBar {
  border: none;
  border-bottom: solid 1px #ccc;
}

/* GroupboxArrow */

div.z-page .gbarrow .open-false,
div.z-page .gbarrow .open-true {
  background: url(arrow.png) no-repeat left 0;
  background-position: left 2px;
  height: 23px;
  padding-left: 20px;
  font-weight: bold;
  text-align: left;
} 
div.z-page .gbarrow div.open-false {
  background-position: left -12px;
  padding-left: 20px;
}

.gbarrow .z-groupbox-header .z-caption, 
.gbarrow .z-groupbox-header .z-groupbox-title {
  line-height: 16px;
}

.gbarrow td.z-caption-l {
  display: none;
}

.gbarrow td.z-caption-r {
  padding-left: 10px;
}

/* List cells */

.z-listcell,
.z-listcell-content {
  color: inherit!important;
}

/* Portal Container */

div.z-page .portalContainer {
  background-color: #efeff5;
}

.portalContainer .z-panel {
  margin-bottom: 5px;
}

.portalContainer .z-panelchildren {
  padding: 5px;
  border-color: #eee;
  /*overflow: auto;*/
}

/* Panels */

.z-panel .z-panel-head {
  border-color: #eee;
  border-bottom: solid 1px #ccc;
}

.z-panel .z-panel-header {
  padding: 0px;
}

.z-panel .z-panel-maximize,
.z-panel .z-panel-expand {
  font-size: 13px;
}

/* Timeline */

div.z-page .timeline-container * {
  font-size: 12px;
  font-family: Ubuntu;
}

div.z-page .simileAjax-bubble-container * {
  font-size: 12px;
  font-family: Ubuntu;
}

/* Extra styles */

div.z-page .boxRound {
  -moz-border-radius: 5px;
  -khtml-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

div.z-page .boxRaised {
  -moz-box-shadow: 0px 0px 12px #e4e4e4;
  -khtml-box-shadow: 0px 0px 12px #e4e4e4;
  -webkit-box-shadow: 0px 0px 12px #e4e4e4;
  box-shadow: 0px 0px 12px #e4e4e4;
}

div.z-page .textH1,
div.z-page .textH1 *,
div.z-popup .textH1,
div.z-popup .textH1 * {
  font-size:2em !important;
  font-weight:normal !important;
  color:#333 !important;
}

div.z-page .textH2,
div.z-page .textH2 *,
div.z-popup .textH2,
div.z-popup .textH2 * {
  font-size:1.5em !important;
  font-weight:normal !important;
  color:#333 !important;
}

div.z-page .textH3,
div.z-page .textH3 *,
div.z-popup .textH3,
div.z-popup .textH3 * {
  font-size:1.17em !important;
  font-weight:normal !important;
  color:#333 !important;
}

div.z-page .textCaption1,
div.z-page .textCaption1 *,
div.z-popup .textCaption1,
div.z-popup .textCaption1 * {
  font-size:24px !important;
  font-weight:normal !important;
  color:#0075b0 !important;
}

div.z-page .textSubCaption1,
div.z-page .textSubCaption1 *,
div.z-popup .textSubCaption1,
div.z-popup .textSubCaption1 * {
  font-size:18px !important;
  font-weight:normal !important;
  color:#697b84 !important;
}

div.z-page .textCaption2,
div.z-page .textCaption2 *,
div.z-popup .textCaption2,
div.z-popup .textCaption2 * {
  font-size:18px !important;
  font-weight:normal !important;
  color:#005782 !important;
}

div.z-page .textSubCaption2,
div.z-page .textSubCaption2 *,
div.z-popup .textSubCaption2,
div.z-popup .textSubCaption2 * {
  font-size:14px !important;
  font-weight:normal !important;
  color:#697b84 !important;
}

div.z-page .textCaption3,
div.z-page .textCaption3 *,
div.z-popup .textCaption3,
div.z-popup .textCaption3 * {
  font-size:14px !important;
  font-weight:normal !important;
  color:#005782 !important;
}

div.z-page .textSubCaption3,
div.z-page .textSubCaption3 *,
div.z-popup .textSubCaption3,
div.z-popup .textSubCaption3 * {
  font-size:12px !important;
  font-weight:normal !important;
  color:#697b84 !important;
}

div.z-page .textAlert,
div.z-page .textAlert *,
div.z-popup .textAlert,
div.z-popup .textAlert * {
  font-size:14px !important;
  font-weight:bold !important;
  color:#955 !important;
}

div.z-page .textInset,
div.z-popup .textInset {
  text-shadow: 1px 1px 1px #FFF;
}

div.z-page .textShadow,
div.z-popup .textShadow {
  text-shadow: 1px 1px 2px #aaa;
}

.z-panel-tl, .z-panel-tr,
.z-panel-hl, .z-panel-hm, .z-panel-hr {
  background: transparent;
}

.z-panel-hl {
  background-image: url('toolbar_cyan.png');
  border-left: solid 1px #ccc;
  border-right: solid 1px #ccc;
}

.z-panel-hm {
  padding-top: 5px;
}

/* Vote It */

div.z-page .voteit-container {
  text-align: center;
  line-height: 90%;
  padding-top: 3px;
  background: #eaeada;
  -moz-border-radius: 5px;
  -khtml-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

div.z-page .voteit-container * {
  font-family: sans-serif;
}

div.z-page .voteit-container .voteit-votes {
  font-size: 22px;
  font-weight: bold;
}

div.z-page .voteit-container .voteit-string {
  font-size: 10px;
}

div.z-page .voteit-container .voteit-bar {
  height: 8px;
  margin-left: 2px;
}
 
div.z-page .voteit-container .voteit-positive {
  background: #11f605;
  height: 8px;
}
 
div.z-page .voteit-container .voteit-nocare {
  background: #ffa327;
  height: 8px;
}
 
div.z-page .voteit-container .voteit-negative {
  background: #f00900;
  height: 8px;
}

/* Editor */

div.z-page textarea, pre { -moz-tab-size:2; -o-tab-size:2; -webkit-tab-size:2; tab-size:2; }

/* Buttons */

.onweb tr.z-row td.z-row-inner, .onweb tr.z-row .z-cell {
  line-height: initial;
}

/* Grid */

.grid-header-wrap div.z-grid-header th.z-column {
  white-space: normal;
}

.z-grid-autopaging .z-row-cnt {
    height: 50px;
    overflow: auto;
}

.z-grid-autopaging .z-group-cnt, 
.z-grid-autopaging .z-groupfoot-cnt {
  height: 18px;
}

/* Checkbox */

.z-checkbox input {
  vertical-align: middle;  
  margin-right: 5px;
}

.z-checkbox label {
  vertical-align: middle;  
}

/* Select */

.z-select {
  border-radius: 3px;
  padding: 3px;
  background-color: white;
}

/* Notification */

.z-notification-content {
  width: auto;
}

/* Menu as button */

div.z-page .menu-button ul {
  padding: 0px;
  margin: 0px;
}

/* Wiki editor */

.wikiEditor .wikiBox {
  font-size: 13px;
  font-family: monospace;
  line-height: 1.2em;
}

/* Toast */

.z-toast-icon.z-icon-info-circle {
  color: #007bd8;
}

.z-toast-icon.z-icon-exclamation-circle {
  color: #E37601;
}

.z-toast-icon.z-icon-times-circle {
  color: #F53142;
}

.z-toast .z-toast-content {
  color: #333;
  background-color: #fff;
}

.z-toast .z-toast-close {
  color: #333;
  background-color: #fff;
}

/* Fomantic modals */

.ui.dimmer.modals {
  z-index: 9998 !important;
}
.ui.modal {
  z-index: 9999 !important;
}