/**
 * zoolu web
 * base core stylesheet
 */

/* #### base styles #### */
* {
    padding: 0;
    margin: 0;
}
a img {
    border: 0;
}
body {
    font-family: Verdana, Tahoma, Arial, sans-serif;
    font-size: small;
    text-align: center;
}
p {
    margin-bottom: 10px;
}
ul {
    padding: 0 20px 0 20px;
}
ul ul {
    margin-bottom: 0;
}
dt, dd {
    margin-left: 20px;
}
dt {
    font-weight: bold;
}
dd {
    margin-bottom: 20px;
}
div.debug, #page-error pre, #page-error-bootstrap pre {
    border: 5px blue solid;
    background: #000;
    color: #1AEF0E;
    font-size: 14px;
    font-family: monospace;
    position: relative;
    white-space: pre;
    width: 600px;
    margin: 10px;
    padding: 10px;
    overflow: auto;
    text-align: left;
}
#page-error pre, #page-error-bootstrap pre {
    width: auto;
}


/* #### helper classes #### */
.error {
    font-weight: bold;
    color: red;
}
.hover {
    background: #ffff99 !important;
    cursor: pointer;
}
img.copy, div.copy {
    margin: 5px;
    padding: 5px;
}

img.copy.right {
    margin-right: 0;
}
img.copy.left {
    margin-right: 15px;
}

.border {
    border: 1px #ccc solid;
}
.clear-full {
    clear: both;
}
.clear-left {
    clear: left;
}
.clear-right {
    clear: right;
}
.right {
    float: right;
}
.left {
    float: left;
}
.center {
    text-align: center;
    margin: auto;
}
.hidden {
    display: none;
}
.loading.big, .js #MB_loading {
    background: url(http://assets.zooluserver.com/zoolu/loading/bigrotation2.gif) no-repeat;
}
.disabled, .text.disabled {
    background: #eee;
    color: #999;
}
.pointer, .close {
    cursor: pointer;
}
.last {
    border: 0 !important;
}

.msg-box {
    border: 1px #ccc solid;
    padding: 10px;
    background: #eee;
    margin: 10px;
}

/* \*/
 * html .gainlayout { height: 1%; }
/* */


/* #### base layout specific styles #### */
#canvas {
   margin: auto;
   width: 1000px;
   text-align: left;
   background: #fff;
}
.content {
   padding: 10px;
}

.footer {
   margin-top: 40px;
   text-align: center;
   padding: 20px;
   font-size: 10px;
   color: #666;
}

#tinymce {
   text-align: left;
   background: #fff;
   padding: 5px;
}

.header, .content, .footer {
   clear: both;
   position: relative;
}

#wgt-breadcrumbs {
    position: absolute;
    top: 10px;
    right: 0;
    margin-bottom: 10px;
    margin-left: 14px;
}
#wgt--breadcrumbs ul {
    list-style: none;
    display: inline;
    padding: 0;
}
#wgt-breadcrumbs ul li {
    display: inline;
}

/* #### base form styles #### */
fieldset {
    border: 1px #ccc solid;
    padding: 10px;
    padding-top: 14px;
    margin-bottom: 10px;
    position: relative;
}
fieldset .blind {
    position: absolute;
    top: -13px;
    font-weight: bold;
    font-size: 14px;
    border: 1px #ccc solid;
    height: 18px;
    width: 18px;
    text-align: center;
    border-right: 1px black solid;
    border-bottom: 1px black solid;
    right: 20px;
}
legend {
    color: #666;
    font-weight: bold;
    font-size: 90%;
}

input.prompt {
    color: #999;
}

ul.formfields, ol.formfields {
    list-style: none;
    padding: 0;
}

ul.formfields li, ol.formfields li {
    margin-bottom: 10px;
}

label {
    font-weight: bold;
    display: block;
    float: left;
    width: 120px;
}
label.top {
    float: none;
    clear: both;
    width: auto;
}

.text {
    width: 300px;
    font-family: Verdana, Tahoma, Arial, sans-serif;
    font-size: 100%;
}

/* cross your fingers */
.text, label {
    padding:2px;
}
textarea.text {
    height: 130px;
}
label {
    font-weight: bold;
    float: left;
    width: 150px;
}
/* margin-left must be same width as label above */
.submit {
    margin-left: 150px;
}

input.checkbox {
    vertical-align:-2px;
}

label.checkbox {
    cursor: pointer;
    margin-left:5px;
    float: none;
    font-weight: normal;
    display: inline !important;
}

ul.multiselect.checkbox {
    list-style: none;
}

button, .button-anchor {
    cursor: pointer;
    cursor: hand;
}

/* stylized select styles */
.stylized-select {
    position: relative;
}
.stylized-select .optionContainer {
    left: 0;
    top: 21px;
    position: absolute;
    display: none;
    background: #fff;
    border: 1px #000 solid;
    z-index: 9999;
}
.stylized-select .optionContainer .option {
    border-bottom: 1px #ccc solid;
    padding: 4px;
}
.stylized-select .ico {
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0px;
    top: 2px;
    display: block;
    border-left: 1px #ccc dotted;
    cursor: pointer;
    background: #fff url(http://assets.zooluserver.com/zoolu/icons/select-arrow.gif) no-repeat;   
}
.stylized-select .option.selected {
    background: blue !important;
    color: white;
}
.stylized-select .text {
    top: 0;
    vertical-align: top;
}

/* ########################################### */

.ico.folder-24 {
    background: url(http://assets.zooluserver.com/zoolu/icons/tango.gif) -397px -301px;
    height: 24px;
    width: 24px;
}
.ico.home-24 {
    background: url(http://assets.zooluserver.com/zoolu/icons/tango.gif) -307px -330px;
    height: 24px;
    width: 24px;
    cursor: pointer;
}
.ico.up-dir-24 {
    background: url(http://assets.zooluserver.com/zoolu/icons/tango.gif) -456px -449px;
    height: 24px;
    width: 24px;
    cursor: pointer;
}

.bg-ico {
    float: left;
    padding-left: 28px;
    line-height: 24px;
}
.bg-ico.size-16 {
    float: left;
    padding-left: 18px;
    line-height: 16px;
}
.bg-ico.success-24 {
   background: url(http://assets.zooluserver.com/zoolu/icons/success-24.png) no-repeat;
   padding-left: 28px;
   height: 24px;
   line-height: 24px;
   color: #009832;
}
a.ico-remove {
    background:transparent url(http://assets.zooluserver.com/zoolu/icons/trash_16.gif) no-repeat scroll 0 0 !important;
    display:block;
    height:17px;
    margin:auto;
    outline-color:-moz-use-text-color;
    outline-style:none;
    outline-width:medium;
    text-indent:-9999px;
    width:18px;
}
.asset-select.text {
    height: auto;
    width: 80%;
    overflow: hidden;
    color: #000;
    background: #fff;
    position: relative;
    margin-bottom: 10px;
}

.asset-select p {
    margin-left: 20px;
}

.asset-select.loading .loading {
    position: absolute;
    top: 32px;
    left: 50px; 
    background: url(http://assets.zooluserver.com/zoolu/loading/bigrotation2.gif) no-repeat !important;
    display: block;
    height: 27px;
    padding-top: 5px;
    padding-left: 40px;
}

.content .asset-select ul {
    margin: 0 5px 0 5px;
    padding: 0;
    overflow: hidden;
}

.content .asset-select.loading ul {
    /* visibility: hidden; */
    opacity: .4;
    filter: alpha(opacity=40)    
}

.asset-select li {
    list-style: none;
    clear: none;
    display: inline;
    position: relative;
    margin: 0 !important;
}

.asset-select li.tree {
    float: left;
    width: 30%;
}
.asset-select li.File {
    float: left;
    display: inline;
}

.asset-select li .item-tree {
    padding: 2px;    
}

.asset-select h3 {
    position: relative;
    margin-top: 0;
    background: #eee;
    padding: 4px;
}
.asset-select h3 .toolbar {
    position: absolute;
    right: 5px;
    top: 0;
    padding: 4px;
}
.asset-select li .item-file {
    margin: 5px;
    padding: 2px;
    border: 1px #ccc solid;
}
.asset-select li.clear-left {
    margin-top: 10px;
    clear: left !important;    
}
.asset-select li .item-file.selected {
    border: 1px blue solid;
    background: blue;
}

.form-err {
    border: 1px red solid;
    color: #000;
    font-size: 10px;
    margin-bottom: 10px;
    padding: 15px;
}

.text, select {
    background: url(http://assets.zooluserver.com/zoolu/bg/input-bg.gif) #fff 0px 0px;
    border: 1px #666 solid;
    border-bottom: 1px #bbb solid;
    border-right: 1px #bbb solid;
    width: 250px;
}
textarea.text {
    width: 80%;
}

textarea.content {
    width: 99%;
    height: 500px;
}

select option {
    background: #fff;
}

.multientry .text, .multientry select, #MB_content .multientry .text,  #MB_content  .multientry select {
    width: 80%;
}

.date {
    width: 100px;
}

form li, form p {
    clear: both;
}

.multientry label {
    float: none;
    margin-left: 5px;
}
table.multi-entry {
    width: auto;
    width: 380px;
    margin-left: 150px;
    background: url(/img/input-bg.gif) #fff;
    border: 1px #666 solid;
    border-bottom: 1px #bbb solid;
    border-right: 1px #bbb solid;
    font-size: 10px;
}

table.multi-entry .hover {
    cursor: text;
}

table.multi-entry th {
    background: none;
}

/* scal(date input) styles */
#scal-calendar {
    position: absolute;

    display: none;
    z-index:99999;
}

#scal-calendar.tinyscal {
    width: 295px;
    font-size: 14px;
}

#scal-calendar.scal .dayboxname  {
    background-color: #2C497A;
    border: 1px #2C497A solid;
}
#scal-calendar  .daybox {
    width: 40px;
}

#scal-calendar .calheader {
    font-weight: bold;
}

#scal-calendar .calheader .calclose {
    border: 0;
    margin-top: -3px;
}

#scal-calendar  .dayboxdate {
    margin-top: 5px;
    height: 25px;
}

#scal-calendar .calweekswrapper .daybox {
    border: 1px #eee solid;
}


/* #### list styles #### */

/* list.table styles */
table.zoo { 
   width: 100%;
   margin: 5px 0 10px 0;
}

th {
   color: #003E7E;
   border-bottom: 2px #003E7E solid;
   background: #EFF7FF;    
}

th, td {
  padding: 2px 5px 2px 5px;
}

tr.group td {
    border-top: 1px #0E4E93 dotted;
    border-bottom: 1px #0E4E93 dotted;
    font-size: 12px;
    text-transform: uppercase;
    padding-top: 5px;
    padding-bottom: 5px;
}

tbody {
    margin: 0;
    padding: 0;
}

tr.odd {
   background: #eee;
}

/* thumbnail styles */
ul.zoo.thumbnail {
   list-style: none;
   float: left;
   clear: both;
}
.list-thumbnail {
    float: left;
    margin: 10px;
    width: 200px;
    height: 240px;
    text-align: center;
    vertical-align: middle;
}
.list-thumbnail .item-thumbnail {
    position: relative;
    width: 200px;
    height: 200px;
    line-height: 200px;
    text-align: center;
    vertical-align: middle;
    vertical-align: middle;
    display: table-cell;
}
.list-thumbnail .item-description {
    line-height: 12px;
}
.list-thumbnail .item-thumbnail * {
    vertical-align: middle;

}
.item-thumbnail.File img {
    vertical-align: middle;
    border: 0;
}
.item-thumbnail.image-jpeg img, .item-thumbnail.image-gif img, .item-thumbnail.image-png img {
    border: 1px #666 solid;
}

ul.zoo.thumbnail .item-description {
    font-size: 10px;
    font-style: italic;
}

/* view styles */
#canvas .content #asset-view-info .detail {
    float: left;
    width: 300px;
}

#canvas .content #asset-view-info .preview {
    float: left;
    width: 600px;
    text-align: right;
    float: right;
    margin: 5px;
    margin-top: 0;
}
#canvas .content #asset-view-info .preview.copy {
    padding: 20px;
    border:2px #eee solid;
    width: 540px;
    text-align: left;
}

#canvas .content #asset-view-info .preview.audio {
    margin-top: 55px;
}

#canvas .content #asset-view-info .preview-img img {
    border: 4px #eee solid;
    padding: 2px;
}

#canvas .content #asset-view-info .detail p {
    margin: 2px;
}

#canvas .content h1, #canvas .content h2, #canvas .content h3 {
    margin-bottom: 10px;
}

/* #### icon styles #### */
span.ico {
    float: left;
    display: inline;
    width: 16px;
    height: 16px;
    text-indent: -9999px;
    margin-right: 5px;
}
span.ico.pdf {
    background: url(http://assets.zooluserver.com/zoolu/icons/pdf-small-ico.gif) no-repeat;
}

.date-ico {
    margin-left: 4px;
    position: absolute;
    cursor: pointer;
}

/* anchor styles */
a.ico.attachment {
    padding-left: 20px;
    background: url('http://assets.zooluserver.com/zoolu/admin/attachment_16.gif') no-repeat;
}

/* #### dialog styles #### */
.dlg {
    text-align: left;
    border: 2px #ccc solid;
    z-index: 999;
    background: #fff;
    color: #000;
    position: absolute;
    left: 0;
    top: 0;
}
.dlg h1.dlg-title-bar {
    padding: 4px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 1em;
    background: #ccc;
    cursor: move;
    position: relative;
}

.dlg h1 .title {
    margin-right: 15px;
}

.dlg h1.dlg-title-bar .close {
    position: absolute;
    right: 5px;
}

.dlg div.content {
    text-align: left;
    padding: 10px;
}



