/* Calenco V2.1+ UI CSS Styles */

/* Reset styles */
html, body, #main, #preloader {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font: 10pt Arial,Myriad,Tahoma,Verdana,sans-serif;
}

/* Preloader spinner */
#preloader {
    background: #fff url("/res/img/wait.gif") no-repeat center center;
    position: absolute;
    z-index: 999;
}

/* Footer */
#footer {
    background-color: #b7cdee;
    color: #333;
    padding: 3px;
}

#teamlink
{
    font-weight: bold;
    color: #a63600;
}

/* Bold text */
em.bold {
    font-weight: bold;
}

/* Non-displayable content */
.nodisp {
    display: none;
}

/* Button rows on dialogs */
.brow-top {
    padding-top:2px;
    padding-bottom:7px;
    overflow: hidden;
}

.brow {
    text-align: center;
}

/* Dialog contents */
.dlg-cont {
    margin:2px;
    padding:3px;
    padding-top:0;
}

/* Preferences dialog forms */
.frow {
    padding:1%;
    clear:both;
}

.uflabl {
    width:35%;
    float:left;
    text-align:right;
    padding-right:5px;
    white-space:nowrap;
}

/* Publications dialog forms */
.pfrow {
    padding:1%;
    clear:both;
}

.pflabl {
    width:35%;
    float:left;
    text-align:right;
    padding-right:5px;
    white-space:nowrap;
}

/* Dialog labels */
.flabl {
    width:35%;
    float:left;
    text-align:right;
    padding-right:5px;
    white-space:nowrap;
}

/* Dialog action (img) buttons */
.buttoni {
    border:0;
    cursor:pointer;
}

/* Pubs and 'generic list' dialog tables */
table.pubs, table.list {
    width: 100%;
    margin-bottom: 10px;
}

table.pubs th, table.list th {
    background-color: #4f8ce5;
    color: #fff;
    text-align: center;
    padding: 2px;
    margin: 0;
    font-weight: bold !important;
}

table.pubs td, table.list td {
    text-align: center;
    padding: 2px;
}

table.pubs tr.on, table.list tr {
    background-color: #eee;
    color: #000;
}

table.pubs tr.brk {
    background-color: #c99;
    color: #fff;
}

table.pubs tr.brk a {
    color: #fff;
}

table.pubs tr.prunning {
    background-color: #ccffa0;
    color: #000;
}

table.pubs tr.pqueued {
    background-color: #ffcc66;
    color: #000;
}

table.pubs tr.prunning a, table.pubs tr.pqueued a {
    color: #000;
}

table.list tr.off {
    background-color: #ccc;
    color: #999;
}

table.list tr.off a {
    color: #999;
}

table.pubs td span.manual {
    display: inline-block;
    width: 14px;
    height: 14px;
    padding: 1px;
    background-image: url("/res/img/fa-hand-pointer-o.png");
    background-size: cover;
    margin-left: 2px;
}

table.pubs td span.outdated {
    display: inline-block;
    width: 14px;
    height: 14px;
    padding: 1px;
    background-image: url("/res/img/fa-clock-o.png");
    background-size: cover;
    margin-left: 2px;
}

table.pubs td span.auto {
    display: inline-block;
    width: 14px;
    height: 14px;
    padding: 1px;
    background-image: url("/res/img/fa-bolt.png");
    background-size: cover;
    margin-left: 2px;
}

table.list tr:hover
{
    background: #bbb;
}

/* Sysinfo dialog table */
table.si {
    margin:2px;
    width:100%;
}

table.si td {
    background: #eee;
    margin: 2px;
    padding: 5px;
}

table.si td.h {
    background: #225289;
    color: #fff;
    font-weight: bold;
    text-align: right;
    padding-right: 5px;
}

/* Error, Warning, Informational dialogs */
.warn, .error, .info {
    overflow: hidden;
    padding: 2px;
    border-width: 1px;
    border-style: solid;
    font-weight: bold;
}

.error {
    background-color:#fcc;
    border-color: red;
    font-weight: bolder;
}

.warn {
    background-color:#ffc;
    border-color: orange;
}

.info {
    background-color:#cff;
    border-color: blue;
}

.warn .admon, .error .admon, .info .admon {
    width: 45px;
    height: 45px;
    float: left;
}

.warn .msg, .error .msg, .info .msg {
    padding: 5px;
}

/* Menu entry with a checkmark */
.check {
    background: url('/res/img/check.gif') no-repeat top;
}

/* Links */
a {
    color: #225289;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Index page styles */

#idxcont {
    width: 960px;
    margin: 10px auto 0;
}

#idxcont a {
    color: #225289;
    text-decoration: none;
}

#idxcont a:hover {
    text-decoration: underline;
}

#idxcont .header {
    width: 960px;
    height: 100px;
    background: transparent url("/res/img/header.jpg");
    position: relative;
}

#idxcont .header h1 {
    display: none;
}

#idxcont #slogan {
    position: absolute;
    top: 45px;
    right: 120px;
    
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    color: #D9901A/*F38F1D*/;
}

#idxcont .content {
    width: 930px;
    margin: 0 10px 0 auto;
    padding: 15px;
    
    background: #EFF1F0 url("/res/img/main-background-pattern.png");
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

#idxcont #footer {
    padding: 25px 0 0 15px;
    
    background: transparent url("/res/img/footer-background.png") no-repeat;
}

#idxcont #footer p {
    margin: 7px 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

#fontsDiv {
    width: 380px;
    margin: 5px;
    padding: 5px;
    overflow:auto;
}

#import-warns,
#import-warns-row
{
    margin: 5px;
    padding: 5px;
    overflow: auto;
}

#import-warns-row
{
    max-height: 250px;
}

/* Float-containment fix */
#fontsDiv:after, #import-warns:after, #import-warns-row:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.fontrow, .warnrow {
    padding: 1px;
    border-bottom: 1px solid #ccc;
    white-space: normal;
}

/* Admin password form */
#passform {
    width: 500px;
    margin: 0 auto;
    padding: 10px;
    border: 1px solid #225289;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

#passform label {
    display: block;
    width: 200px;
    padding-right: 5px;
    float: left;
    text-align: right;
}

/* File preview box */
#previewPane {
    padding: 5px;
    
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    
    background: #225289;
    
    position: absolute;
    top: 140px;
    right: 20px;

    z-index:200;
}

#previewPane .previewTitle {
    margin: 0 10px 5px 2px;
    padding-top: 2px;
    height: 24px;
    
    color: #FFF;
    
    font-weight: bold;
    font-size: 14px;
    
    float: left;
}

#previewPane .previewClose {
    margin: 0 2px 5px;
    height: 24px;
    
    color: #fff;
    
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 14px;

    cursor: pointer;
    
    float: right;
}

#previewPaneCont, #previewPaneMSG {
    padding: 5px;
    margin: 0 auto;
    
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

    background: #FFF;
    
    position: relative;
}

.highlight {
    background-color: yellow;
}

.highlightCurrent {
    background-color: #80FF80;
}

.previewitemright {
    position: relative;
}

#previewPaneCont ul.cp-asref-menu,
#previewPaneCont ul.cp-mod-asref-menu {
    background: #eee;
    color: #000;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 150px;
    border-radius: 5px;
    position: absolute;
    top: 20px;
}

#previewPaneCont ul.cp-asref-menu {
    right: 5px;
}

#previewPaneCont ul.cp-mod-asref-menu {
    left: 5px;
}

#previewPaneCont ul.cp-asref-menu li,
#previewPaneCont ul.cp-mod-asref-menu li {
    margin: 5px;
    background: #ddd;
    border-radius: 5px;
}

#previewPaneCont ul.cp-asref-menu li a,
#previewPaneCont ul.cp-mod-asref-menu li a {
    text-decoration: none;
    display: block;
    padding: 3px 5px;
    min-height: 20px;
    line-height: 20px;
    color: #000;
    text-align: center;
    border-radius: 5px;
}

#previewPaneCont ul.cp-asref-menu li a:hover,
#previewPaneCont ul.cp-mod-asref-menu li a:hover {
    color: #225289;
    background: #b7cdee;
}

/* Simple Text Editor */
#editTxtOverlay {
    position: absolute;
    top: 0;
    left: 0;
    
    width: 100%;
    height: 100%;
    
    z-index: 199;
    
    background: rgb(128, 128, 128); /* For browsers not supporting RGBa */
    background: rgba(128, 128, 128, 0.5);
}

#editTxt {
    padding: 5px;
    
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    
    background: #225289;
    
    position: absolute; /* top and left properties are set dynamically, according to available space */

    z-index:200;
}

#editTxt .previewTitle {
    width: 95%;
    margin: 0 10px 5px 2px;
    padding-top: 2px;
    height: 24px;
    
    color: #fff;
    
    font-weight: bold;
    font-size: 14px;
    
    float: left;
}

#editTxt .previewClose {
    margin: 0 2px 5px;
    height: 24px;
    
    color: #fff;
    
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 14px;

    cursor: pointer;
    
    float: right;
}

#editTxtTXT {
    width: 99%;
    padding: 5px;
    margin: 0 auto;
    
    overflow: auto;
    
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

    background: #fff;    
}

/* Selected accordion title bigger to hilight it, and also to make room for buttons on title */
.dijitAccordionTitleSelected {
    font-size: 11pt;
}

/* Pub list dialog non-valid-xml warn/info */
span.p-is-valid-xml {
    display: inline-block;
    height: 32px;
    line-height: 32px;
    font-weight: bold;
    float: right;
    padding-right: 10px;
    
    color: #c00;
}

span.p-is-valid-xml img {
    height: 24px;
    width: 24px;
    vertical-align: middle;
}

/* Grid/Tree action buttons */
#rld-grid,
#rld-tree,
#rld-pgrid,
#search-grid
{
/*    float: right;*/
    margin: -2px 5px 1px;
    padding: 1px;
    border: 1px solid #888;
    cursor: pointer;
    zoom: 1;
    filter: alpha(opacity=90);
    opacity: 0.9;
    width: 16px;
}

.rldBtnIcon
{
    background-image: url("/res/img/view-refresh.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 14px;
    height: 14px;
}

.rldBtnIcon.disabled
{
    background-image: url("/res/img/view-refresh-d.png");
    background-position: center;
    background-repeat: no-repeat;
    width: 14px;
    height: 14px;
}

#rld-grid:hover,
#rld-tree:hover,
#rld-pgrid:hover,
#search-grid:hover,
#cf-rld-lck-status:hover {
    border: 1px solid #225289;
    zoom: 1;
    filter: alpha(opacity=100);
    opacity: 1;
}

pre {
    white-space: pre-wrap;
    tab-size: 4;
}

th.sortable
{
    background: #4f8ce5;
    cursor: pointer;
}

th.sortable div
{
    display: inline-block;
    height: 14px;
    margin-left: 3px;
}

th.sortable div .chevron
{
    display: block;
    margin: 1px auto;
    border-style: solid;
    border-width: 5px;
    vertical-align: middle;
}

th.sortable div .chevron:first-child
{
    border-color: transparent transparent #000;
}

th.sortable div .chevron:last-child
{
    border-color: #000 transparent transparent;
}

th.sortable.asc div .chevron:first-child
{
    border-color: transparent transparent #0c0;
}

th.sortable.asc div .chevron:last-child
{
    visibility: hidden;
}

th.sortable.desc div .chevron:first-child
{
    visibility: hidden;
}

th.sortable.desc div .chevron:last-child
{
    border-color: #0c0 transparent transparent;
}

.pub-thumb-cont
{
    width: 236px;
    height: 296px;
    float: left;
}

.pub-thumb
{
    width: 220px;
    height: 250px;
    margin: 5px;
    padding: 2px;
    border: 1px solid #ccc;
    border-radius: 5px;
    
    position: relative;
    z-index: 1099;
    
}

.pub-thumb-cont.outdated
{
    background-color: #ffc;
}

.pub-title
{
    font-weight: bold;
    text-align: center;
}

.pub-thumb .pub-thumb-overlay
{
    width: 98%;
    height: 250px;
    padding: 0 1%;
    margin: 0 auto;

    background: #fff;
    border-radius: 5px;

    position: absolute;
    top: 0;
    left: 0;
    z-index: 1100;
    
    opacity: 0;
    
    transition: opacity .25s ease;
}

.pub-thumb .pub-thumb-overlay:hover
{
    opacity: 0.8;
}

.pub-thumb .pub-thumb-overlay div
{
    width: 98%;
    padding: 0 1%;
    margin: 5px auto;
    border-radius: 2px;

    background: #000;
    color: #fff;
    
    opacity: 1;
}

.pub-thumb .pub-thumb-overlay div span.pname
{
    display: block;
    width: 99%;
    margin: 0 auto;
    padding: 2px 0 0 0;

    text-align: center;
    
    font-weight: bold;
}

.pub-thumb .pub-thumb-overlay div.action-buttons
{
    width: 98%;
    margin: 5px auto;
    overflow: hidden;
    padding: 2px;
}

.pub-thumb .pub-thumb-overlay div.action-buttons a
{
    width: 32px;
    height: 32px;
    margin-right: 3px;
    display: block;

    float: left;

    background: none repeat scroll 0 0 #fff;
    
    border-radius: 2px;
    text-align: center;
}

.pub-thumb .pub-thumb-overlay div.action-buttons a
{
    background-color: #FFF;
    background-repeat: no-repeat;
    background-position: center;
    
}

.pub-thumb .pub-thumb-overlay div.action-buttons a.pub-dld-btn
{
    background-image: url(/res/img/save.png);    
}

.pub-thumb .pub-thumb-overlay div.action-buttons a.pub-dld-btn.dis
{
    background-image: url(/res/img/save-d.png);
    cursor: not-allowed;
}

.pub-thumb .pub-thumb-overlay div.action-buttons a.pub-browse-btn
{
    background-image: url(/res/img/mime/text-html.png);    
}

.pub-thumb .pub-thumb-overlay div.action-buttons a.pub-log-btn
{
    background-image: url(/res/img/view-log.png);
    
}

.pub-thumb .pub-thumb-overlay div.action-buttons a.pub-log-btn.dis
{
    background-image: url(/res/img/view-log-d.png);
    cursor: not-allowed;
}

.pub-thumb .pub-thumb-overlay div.action-buttons a.pub-gen-btn
{
    background-image: url(/res/img/view-refresh.png);
}

.pub-thumb .pub-thumb-overlay div.action-buttons a.pub-gen-btn.dis
{
    background-image: url(/res/img/view-refresh-d.png);
    cursor: not-allowed;
}

.pub-thumb .pub-thumb-overlay div.action-buttons a.pub-edt-btn
{
    background-image: url(/res/img/edit.png);
}

.pub-thumb .pub-thumb-overlay div.action-buttons a.pub-edt-btn.dis
{
    background-image: url(/res/img/edit-d.png);
    cursor: not-allowed;
}

.pub-thumb .pub-thumb-overlay div.action-buttons a.pub-del-btn
{
    background-image: url(/res/img/list-remove.png);
}

.pub-thumb .pub-thumb-overlay div.action-buttons a.pub-del-btn.dis
{
    background-image: url(/res/img/list-remove-d.png);
    cursor: not-allowed;
}

.pub-thumb .pub-thumb-overlay div.action-buttons a span
{
    display: none;
}

a.browse-pub {
    margin-left: 5px;
    background: url(/res/img/browse-html-pub.png) no-repeat;
    background-size: cover;
    width: 18px;
    height: 18px;
    border: 1px solid #225289;
    border-radius: 2px;
    display: inline-block;
}

a.browse-pub span
{
    display: none;
}

a.btn-send-publog
{
    margin-left: 5px;
    background: url(/res/img/fa-envelope.png) no-repeat;
    background-size: cover;
    width: 18px;
    height: 18px;
    display: inline-block;
}

a.btn-send-publog.logsent
{
    background-image: url(/res/img/fa-envelope-dis.png);
    cursor: not-allowed;
}

a.btn-send-publog span
{
    display: none;
}

.not-published-yet
{
    width: 50%;
    margin: 0 auto;
    padding: 1%;
    background: #b7cdee;
    border-radius: 5px;
    text-align: center;
}

.not-published-yet h2
{
    font-size: 2em;
    color: #225289;
}

.not-published-yet p
{
    font-size: 1.2em;
    text-align: left;
}

/* Storage server URL */
td.s-srvname
{
    position: relative;
}

td.s-srvname a.btn
{
    margin-left: 5px;
    background: url(/res/img/server.png) no-repeat;
    width: 24px;
    height: 24px;
    /*
    border: 1px solid #225289;
    border-radius: 2px;
    */
    display: inline-block;
}

td.s-srvname a.btn span
{
    display: none;
}

div.shref
{
    width: 700px;
    height: 23px;
    line-height: 23px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #225289;
    background: #e2f2ff;
    color: #000;
    z-index: 1500;
    position: absolute;
    left: 60px;
}

/* Add-hoc tabs */
div.tabs
{
    width: 100%;
    height: 100%;
    display: inline-block;
}

/* Clearfix: sometimes with display: inline-block browsers add 7px of margin */
div.tabs ul:after
{
    display: block;
    clear: both;
    content: '';
}

div.tabs ul
{
    margin: 0;
    border-bottom: 1px solid #abd6ff;
}

div.tabs ul li
{
    list-style: none;
    float: left;
}

div.tabs ul li a
{
    display: inline-block;
    line-height: 1.5em;
    text-decoration: none;
    padding: 3px 6px;
    min-width: 60px;
    text-align: center;
    margin-right: 1px;
    border: 1px solid #b5bcc7;
    border-radius: 2px 2px 0 0;
    border-bottom: 0;
    
    color: #999;
    background-color: #b7cdee;
    background-image: url("/res/dojo-release/dijit/themes/claro/images/titlebar.png");
    background-repeat: repeat-x;
    
    white-space: nowrap;
}

div.tabs ul li.active a
{
    font-weight: bold;
    color: #000;
    background-color: #abd6ff;
}

div.tabs ul li a:hover
{
    background-color: #e2f2ff;
}

div.tabs div.tab
{
    display: none;
    border: 1px solid #abd6ff;
    border-top: 0;
}

div.tabs div.tab.active
{
    display: block;
}

/* Workspace publications dialog */
#wplist-list,
#wpubs-cont
{
    padding: 5px;
}

/* Buttons and icons */
img[src='/res/img/usrs.png'],
img[src='/res/img/view-refresh.png'],
img[src='/res/img/view-refresh-d.png'],
img[src='/res/img/lock.png'],
img[src='/res/img/search_closed.png'],
#btn-mydesktop img,
#btn-usr-mod img,
#btn-usr-mgmt img,
#btn-logout img
{
    width: 16px;
}


/* Fragment summary table */

#fragSumTable table
{
    width: 100%;
    margin: 0;
    padding: 0;
}

#fragSumTable table thead tr th
{
    background-color: #4f8ce5;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 0.25em;
}

#fragSumTable table tbody tr:nth-of-type(odd)
{
    background-color: #e2f2ff;
}

#fragSumTable table tbody td
{
    padding: 0.25em;
    text-overflow: ellipsis;
}

#fragSumTable table thead tr th:first-of-type,
#fragSumTable table tbody tr td:first-of-type
{
    width: 25%;
}

#fragSumTable table thead tr th:last-of-type,
#fragSumTable table tbody tr td:last-of-type
{
    width: 50%;
}

#frag-sum-csv
{
    display: inline-block;
    cursor: pointer;
    background-image: url("/res/img/fa-file-excel-o.png");
    background-size: cover;
    
    margin: -2px 5px 1px;
    padding: 1px;
    border: 1px solid #888;
    cursor: pointer;
    zoom: 1;
    filter: alpha(opacity=90);
    opacity: 0.9;
    width: 16px;
    height: 16px;
}

#frag-sum-csv span
{
    display: none;
}