/* Different panel sizes -->
------------------------------------------------------------------*/
.panels {
    font-size: 10px;
    border: 0;
    padding: 0;
    margin: 0;
    line-height: 17px;
    clear: both;
}

.panels-3-columns {
    padding: 0;
    margin: 0;
    overflow: auto;
}

.panels-1-column {
    float: right;
    width: 227px;
    padding: 3px 0 0 20px;
}

.panel3 {
    border: 0;
    padding: 6px 12px;
    margin: 0;
    position: relative;
}

.panel4 {
    clear: both;
    border: 0;
    padding: 3px 12px;
    margin: 0;
    position: relative;
}

.panel2-subpanel {
    border: 0;
    padding: 6px 12px;
    margin: 0;
}

.panel2-nofloat {
    border: 0;
    padding: 3px 12px;
    margin: 0;
    overflow: auto;
}

.panel2-left {
    width: 48%;
    border: 0;
    padding: 3px 1%;
    margin: 0;
    float: left;
    position: relative;
}

.panel2-right {
    width: 48%;
    border: 0;
    padding: 3px 1%;
    margin: 0;
    float: right;
    position: relative;
}

.panel3-left {
    width: 729px;
    border: 0;
    padding: 3px 12px;
    margin: 0;
    float: left;
    position: relative;
}

.panel35-nofloat {
    border: 0;
    padding: 3px 12px;
    margin: 0;
    overflow: auto;
    position: relative;
}

.panel35-left {
    width: 830px;
    border: 0;
    padding: 3px 12px;
    margin: 0;
    float: left;
    position: relative;
}

.panel35-right {
    width: 830px;
    border: 0;
    padding: 3px 12px;
    margin: 0;
    float: right;
    position: relative;
}

.panel3-right {
    width: 729px;
    border: 0;
    padding: 3px 12px;
    margin: 0;
    float: right;
    position: relative;
}

.panel1-left {
    width: 227px;
    border: 0;
    padding: 3px 12px;
    margin: 0;
    float: left;
    position: relative;
}

.panel05-left {
    width: 126px;
    border: 0;
    padding: 3px 12px;
    margin: 0;
    float: left;
    position: relative;
}

.panel05-right {
    width: 126px;
    border: 0;
    padding: 3px 12px;
    margin: 0;
    float: right;
    position: relative;
}

.panel1-right {
    width: 227px;
    border: 0;
    padding: 3px 12px;
    margin: 0;
    float: right;
    position: relative;
}

/* Panel top/header
------------------------------------------------------------------*/
.paneltop {
    /*width:100%;*/
    background: url(../images/panel/tabletop.gif) repeat-x;
    padding: 0;
    margin: 0;
    height: 28px;
}

.paneltop-left {
    float: left;
    width: 6px;
    background: url(../images/panel/tabletop-left.gif) no-repeat;
    padding: 0;
    margin: 0;
    height: 28px;
    z-index: 2;
}

.paneltop-center {
    float: left;
    vertical-align: bottom;
    height: 28px;
    text-align: left;
    padding: 0 0 0 0;
    margin: 0;
}

.paneltop-center-pages {
    float: left;
    width:calc(100% - 15px);
    padding-bottom: 0;
    vertical-align: bottom;
    height: 28px;
    text-align: left;
}

.paneltop-right {
    float: right;
    width: 6px;
    background: transparent url(../images/panel/tabletop-right.gif) 0 0
        no-repeat;
    padding: 0;
    margin: 0;
    height: 28px;
}

.panel2-left .content .panel-topright-link,
.panel2-right .content .panel-topright-link,
.panel2-nofloat .content .panel-topright-link,
.panel3 .content .panel-topright-link,
.panel35-nofloat .content .panel-topright-link,
.panel4 .content .panel-topright-link {
    position: absolute;
    right: 20px;
    top: 10px;
}

.title {
    padding: 6px 0 0 6px;
    font-size: 11px;
    font-weight: bold;
    text-align: left;
    float: left;
}

.bottom-title {
    padding: 0;
    padding-left: 6px;
    padding-top: 4px;
    font-size: 11px;
    font-weight: bold;
    text-align: left;
    float: left;
}

.pages {
    padding: 6px 6px 0 0;
    font-size: 10px;
    font-weight: bold;
    text-align: right;
    float: right;
    height: 22px;
}

.bottom-pages {
    padding: 4px 6px 0 0;
    font-size: 10px;
    font-weight: bold;
    text-align: right;
    float: right;
    height: 22px;
}

.panel-footer-text {
    float: left;
    padding: 6px 0px 0 6px;
    font-size: 10px;
    font-weight: bold;
    height: 22px;
}

/* Panel bottoms
------------------------------------------------------------------*/
.panelbottom {
    width: 100%;
    background: url(../images/panel/tablebottom.gif) repeat-x;
    padding: 0;
    height: 27px;
    margin: 0 0 15px;
}

.panelbottom-left {
    float: left;
    width: 6px;
    background: url(../images/panel/tablebottom-left.gif) no-repeat;
    padding: 0;
    margin: 0;
    height: 27px;
    z-index: 2;
}

.panelbottom-center-pages {
    float: left;
    width:calc(100% - 15px);
    padding-top: 0;
    vertical-align: bottom;
    height: 27px;
    text-align: left;
}

.panelbottom-center {}

.panelbottom-center label {
    display: inline;
    line-height: 27px;
    float: left;
}

.panelbottom-right {
    float: right;
    width: 6px;
    background: transparent url(../images/panel/tablebottom-right.gif) 0 0
        no-repeat;
    padding: 0;
    margin: 0;
    height: 27px;
}

.panelbottom_lightgrey {
    width: 100%;
    background: url(../images/panel/lightgreybottom.gif) repeat-x;
    padding: 0;
    height: 12px;
    margin: 0 0 15px;
}

.panelbottom_lightgrey-left {
    float: left;
    width: 6px;
    background: url(../images/panel/lightgreybottom-left.gif) no-repeat;
    padding: 0;
    margin: 0;
    height: 12px;
    z-index: 2;
}

.panelbottom_lightgrey-center-pages {
    float: left;
    width: 955px;
    padding-top: 0;
    vertical-align: bottom;
    height: 12px;
    text-align: left;
}

.panelbottom_lightgrey-right {
    float: right;
    width: 6px;
    background: transparent url(../images/panel/lightgreybottom-right.gif) 0
        0 no-repeat;
    padding: 0;
    margin: 0;
    height: 12px;
}

.panelbottom_grey {
    width: 100%;
    background: url(../images/panel/greybottom.gif) repeat-x;
    padding: 0;
    height: 12px;
    margin: 0 0 12px;
}

.panelbottom_grey-left {
    float: left;
    width: 6px;
    background: url(../images/panel/greybottom-left.gif) no-repeat;
    padding: 0;
    margin: 0;
    height: 12px;
    z-index: 2;
}

.panelbottom_grey-right {
    float: right;
    width: 6px;
    background: transparent url(../images/panel/greybottom-right.gif) 0 0
        no-repeat;
    padding: 0;
    margin: 0;
    height: 12px;
}

.panelbottom_white {
    width: 100%;
    background: url(../images/panel/whitebottom.gif) repeat-x;
    padding: 0;
    height: 12px;
    margin: 0 0 15px;
}

.panelbottom_white-left {
    float: left;
    width: 6px;
    background: url(../images/panel/whitebottom-left.gif) no-repeat;
    padding: 0;
    margin: 0;
    height: 12px;
    z-index: 2;
}

.panelbottom_white-right {
    float: right;
    width: 6px;
    background: transparent url(../images/panel/whitebottom-right.gif) 0 0
        no-repeat;
    padding: 0;
    margin: 0;
    height: 12px;
}

.panel-bar {
    margin: 0;
    padding: 4px 4px 4px 8px;
    background-color: #fffbe6;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

tr.panel-bar {
    border-left: 0;
    border-right: 0;
}

tr.panel-bar td {
    border-bottom: 1px solid #ccc;
}

.panel-bar .panel-bar-left {
    float: left;
}

.panel-bar .panel-bar-right {
    float: right;
}

/* Panel boxes
------------------------------------------------------------------*/
.content {
    clear: both;
    width: 100%;
    border: 0;
    text-align: left;
}

.content-table {
    clear: both;
    width: 100%;
    border: 0;
    text-align: left;
}

.galleryTable .content-table {
    overflow: visible;
}

.panelbox-background-books {
    padding: 12px 12px 12px 12px;
    background: url('../images/panel/panel-home-welcome-bg.png') repeat right bottom;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    margin-bottom: 12px;
}

.panelbox-background-gradient {
    padding: 12px 12px 12px 12px;
    background: #f4f4f4 url('../images/panel/panel-gradient-bg.png')
        repeat-x center top;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin-bottom: 12px;
}

.panelbox-grey {
    padding: 12px 12px 4px;
    background: #eeeeee url(../images/panel/bg-box.gif) bottom repeat-x;
    border: 0;
}

.content-table .panelbox-grey {
    padding: 4px;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
}

.panelbox-grey-nopadding {
    padding: 0;
    background: #dadada url(../images/panel/bg-box.gif) top repeat-x;
    border: 0;
}

.panelbox-white {
    padding: 12px 12px 4px;
    background-color: #FFFFFF;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    border-top: 0;
    border-bottom: 0;
}

.content-table .panelbox-white {
    padding: 4px;
}

.panelbox-lightgrey {
    padding: 12px 12px 4px;
    border-right: 1px solid #C2C2C4;
    border-left: 1px solid #C2C2C4;
    border-top: 0;
    border-bottom: 0;
    background: #f9f9f9 url(../images/panel/bg_top-lightgrey.gif) top
        repeat-x;
}

.panelbox-white-nopadding {
    padding: 0;
    background-color: #FFFFFF;
    border: 1px solid #C2C2C4;
    border-top: 0;
}

.panel-minmax {
    padding-top: 6px;
    float: right;
    width: 200px;
    height: 22px;
    text-align: right;
}

.box-title {
    font-size: 10px;
    font-weight: bold;
    color: #000;
}

.panel4-paneltop-link {
    width: 1004px;
    text-align: right;
    position: absolute;
    z-index: 100;
}

.panel4-paneltop-link a {
    display: inline-block;
    padding-right: 20px;
    padding-top: 11px;
}

/* Dialog
------------------------------------------------------------------*/

.dojoDialog .panel2-left,
.dojoDialog .panel2-right {
    width: 500px;
}

.dojoDialog .panel3-left,
.dojoDialog .panel3-right{
    width: 700px;
}

.dojoDialog .panel4 {
    width: 940px;
}

.dialog-panel {
    font-size: 10px;
    line-height: 17px;
}

.dialogtop-left {
    float: left;
    width: 6px;
    background: url(../images/panel/dialogtop-left.png) 0 0 no-repeat;
    padding: 0;
    margin: 0;
    height: 28px;
    z-index: 2;
}

.dialogtop-right {
    float: right;
    width: 6px;
    background: url(../images/panel/dialogtop-right.png) 0 0 no-repeat;
    padding: 0;
    margin: 0;
    height: 28px;
}

.dialogbottom_grey {
    width: 100%;
    background: url(../images/panel/greybottom.gif) repeat-x;
    padding: 0;
    height: 12px;
    margin: 0 0 12px;
}

.dialogbottom_grey-left {
    float: left;
    width: 6px;
    background: url(../images/panel/dialog-greybottom-left.png) no-repeat;
    padding: 0;
    margin: 0;
    height: 12px;
    z-index: 2;
}

.dialogbottom_grey-right {
    float: right;
    width: 6px;
    background: url(../images/panel/dialog-greybottom-right.png) 0 0
        no-repeat;
    padding: 0;
    margin: 0;
    height: 12px;
}

.dialog-title {
    padding: 6px 0 0 6px;
    font-size: 11px;
    font-weight: bold;
    text-align: left;
    float: left;
    width: 460px;
    height: 15px;
    overflow: hidden;
}

.dojoDialog .dialog-panel {
    max-height: 80vh;
    overflow-y: auto;
}

/* Dialog content
------------------------------------------------------------------*/
.dialog-buttons-right {
    float: right;
    padding: 0;
    margin: 18px 0 0;
}

.dialog-palette {
    white-space: normal;
    padding: 0 3px;
}

.dialog-fieldset {
    float: left;
    margin-bottom: 10px;
}

.busyDialog {
    width: 400px;
}

.busyDialogTop {
    height: 28px;
    background: url(../images/panel/dialogtop.gif) no-repeat;
}

.busyDialogContent {
    text-align: center;
    background-color: #FFFFFF;
    padding: 10px 30px 20px 20px;
}

.busyDialogContent p {
    text-align: center;
    font-size: 10px;
}

.busyDialogBottom {
    background: url(../images/panel/windowbottom.gif) no-repeat;
    height: 28px;
}

/* Narrow panels
------------------------------------------------------------------*/
.panels.panels-compact {
    width: 754px;
}

.panels-compact .panel4 {
    padding: 3px 12px;
}

.panels-compact .panel4 .panelbottom_grey {
    margin: 0 0 6px;
}

.panels-compact .panelbox-grey {
    padding: 6px 6px 0 8px;
}

.panels-compact .tagcontainer {
    min-height: 22px;
    line-height: 20px;
}

.panels-compact .tagcontainer input,
.panels-compact .tagcontainer select {
    margin-top: 2px;
}

/* Fix for white dialog panel */
.dialog-panel-white-override .dialogbottom_grey {
    background: url(../images/panel/whitebottom.gif) repeat-x;
}

.dialog-panel-white-override .dialogbottom_grey-left {
    background: url(../images/panel/dialog-whitebottom-left.png) no-repeat;
}

.dialog-panel-white-override .dialogbottom_grey-right {
    background: url(../images/panel/dialog-whitebottom-right.png) 0 0
        no-repeat;
}

/* Panel column */
.panel-column {
    width: 50%;
    float: left;
}

/* Panel centered */


.panels-centered {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
}

.panels-centered-cell {
    display: table-cell;
    vertical-align: middle;
}

.panels-centered-cell > div {
    margin: 0 auto;
}

.panels-centered-cell .panel2-centered {
    width: 500px;
}

.panels-centered-cell .panel3-centered {
    width: 700px;
}

.panels-centered-cell .panel4-centered {
    width: 900px;
}

.panels-centered .panels-centered-cell > * > div {
    /* any panel in panels-centered should use full width */
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.panels-centered .panels-centered-cell > * > .buttonwrap .buttons-left {
    padding-left: 0;
}

.panels-centered .panels-centered-cell > * > .buttonwrap .buttons-right {
    padding-right: 0;
}