/**
 * 
 * All content on this website (including text, images, source
 * code and any other original works), unless otherwise noted,
 * is licensed under a Creative Commons License.
 * 
 * http://creativecommons.org/licenses/by-nc-sa/2.5/
 * 
 * Copyright (C) Open-Xchange Inc., 2006-2011
 * Mail: info@open-xchange.com 
 * 
 * @author Matthias Biggeleben <matthias.biggeleben@open-xchange.com>
 * 
 */

#toolbar_container, #window_toolbar_container {
    height: 90px;
}

table.panel {
    border-spacing: 0px;
    border-style: collapse;
    border: 1px solid black;
}
table.panelSection {
    border-spacing: 0px;
    border-style: collapse;
}
div.panelSectionPopup {
    position: absolute;
    z-index: 100;
    -moz-box-shadow: #555 5px 5px 10px;
    -webkit-box-shadow: #555 5px 5px 10px;
    visibility: hidden;
    background-color: #fff;
    border: 1px solid black;
    border-top: 0px none;
    padding: 2px 10px 2px 10px;
    margin: 1px -1px 0px -1px;
}
table.panel > thead > tr > th, table.panel > tbody > tr > td, table.panel > tfoot > tr > td {
    vertical-align: top;
    padding: 2px 10px 2px 10px;
    border-right: 1px solid red;
}
table.panel > thead > tr > th.last, table.panel > tbody > tr > td.last, table.panel > tfoot > tr > td.last {
    border-right: 0px none;
}
table.panel > tfoot > tr > td {
    border-top: 1px solid red;
    text-align: center;
    vertical-align: middle;
}
table.panel th {
    font-weight: normal;
    text-align: left;
    background-color: #ccc;
    color: black;
}

.fill {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    overflow: auto;
}

div.oxTabControl {
    z-index: 2;
}

div.oxTabControl table {
    height: 26px;
}

div.oxTabControlPageContainer {
    background-color: white;
    border-bottom: 1px solid #ccc;
    z-index: 1;
    top: -1px;
}

div.oxTabControlPageContainerInHover {
    margin: 0px 0px 20px 0px; /* room for the shadow */
    -moz-box-shadow: #555 8px 8px 15px;
    -webkit-box-shadow: #555 8px 8px 15px;
}

div.oxTabControlPageHover {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    overflow: hidden;
    z-index: 18;
    display: none;
}

div.oxTabControlPageHoverUnderlay {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow: hidden;
    z-index: 17;
    display: none;
    /* opacity: 0.5; background-color: yellow; */ /* for debugging */
}

div.oxTabControl td.oxTab, div.oxTabControl td.oxTabLast {
    color: #eee;
    background-color: transparent;
    padding: 1px 10px 1px 10px;
    text-align: left;
    vertical-align: middle;
    cursor: pointer;
    font-size: 9pt;
}

div.oxTabControl td.oxTabLast {
}

div.oxTabControl a {
    text-decoration: none;
    white-space: nowrap;
}

div.oxTabControl td.oxTabCurrent a {
    text-decoration: none;
    color: black;
}

div.oxTabControl td.oxTab:hover, div.oxTabControl td.oxTabLast:hover {
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
}

div.oxTabControl td.oxTabCurrent, div.oxTabControl td.oxTabCurrent:hover {
    color: #000;
    background-color: white;
    border-top: 2px solid #ccc;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
}

div.oxTabControl td.oxTabCurrent:focus {
    color: black;
}

table.panelMenu {
    background-color: white;
    margin-top: 4px;
}

.panelSectionContainer {
    vertical-align: top;
    border-right: 1px solid #ccc;
    padding: 0px 5px 0px 5px;
    height: 60px;
}

panelSectionContainer.last {
    border-right: 0px none;
}

.panelSectionContainer > div, .panelSectionContainer > div > table {
    height: 100%;
}


table.panelMenu tfoot td.panelMenuSectionName {
    background-color: #eee;
    font-size: 8pt;
    color: #555;
    padding: 0px 5px 0px 5px;
    border-right: 1px solid #ccc;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

table.panelMenuSection {
    margin: 0px;
}

table.panelMenuSection td {
    padding: 0x;
    vertical-align: middle;
}

table.panelMenuSection td.bottom {
    vertical-align: top;
}

/*
 * Menu items
 */

.menu-item {
    color: black;
    line-height: 1.1em;
    padding: 2px 5px 2px 5px;
    border: 1px solid transparent;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    cursor: pointer !important;
}

/* over */
.menu-item.menu-item-over {
    border: 1px solid #ccc;
    background-color: #eee;
    cursor: pointer !important;
}

/* disabled */
.menu-item.menu-item-disabled {
    color: #aaa !important;
    cursor: default !important;
}

.menu-item.menu-item-disabled .menu-item-icon,
.menu-item.menu-item-disabled .menu-item-icon-large {
    opacity: 0.20 !important;
}

/* checked */
.menu-item.menu-item-checked {
    border: 1px solid #97a8bb;
    background-color: #bdd3eb;
}

/* mousedown */
.panelMenu .menu-item.menu-item-down {
    padding: 2px 9px 0px 11px !important;
    background-color: #ddd !important;
}

/* inside toolbar sections */
.panelMenu .menu-item {
    padding: 1px 10px;
	min-width: 30px;
}

.panelMenuItem.large {
    vertical-align: top;
}

/* icons */
.menu-item-icon {
    border: 0px none;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.menu-item-icon-large {
    margin-bottom: 1px;
    border: 0px none;
    width: 24px; /* 24 instead of 32 */
    height: 24px;
}

/* popup arrow */
.menu-item-arrow {
    border: 0px none;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-top: -2px;
}

/*
 * Menu strip
 */

div.menustrip {
    position: absolute; 
    z-index: 10001;
    background-color: #fff;
    padding: 5px;
    border: 2px solid #ccc;
    min-width: 100px;
    visibility: hidden;
    -moz-box-shadow: 10px 10px 20px #333;
    -moz-border-radius: 5px;
    -webkit-box-shadow: 10px 10px 20px #333;
    -webkit-border-radius: 5px;
}
