/* $Header: /local/cvs_repository/caf/modules/web_dashboard/web_static/css/web_dashboard.css,v 1.11 2011/11/03 14:16:35 sacha Exp $ */

/* globals */

div.dashboard-body {
    width: 100%;
}

div.dashboard-body a:link,
div.dashboard-body a:visited,
div.dashboard-body a:hover,
div.dashboard-body a:active {
    color: #00f;
}


/* header */

div.dashboard-box {
    border-style: solid;
    border-width: 1px;
}


/* top toolbar */

div.dashboard-toolbar {
    background-color: black;
    padding: 10px;
    font-weight: bold;

    /* float container stuff */
    zoom: 1;
    overflow: hidden;
}

div.dashboard-toolbar a:link,
div.dashboard-toolbar a:visited,
div.dashboard-toolbar a:active {
    color: #fff;
    text-decoration: none;
}
div.dashboard-toolbar a:hover {
    text-decoration: underline;
}
a#ci_link:link,
a#ci_link:visited,
a#ci_link:hover,
a#ci_link:active {
    font-size: 131%;
    margin-right: 1em;
}
span.product-name-part1 {
    color: #fff;
}
span.product-name-part2 {
    color: #bbb;
}
a#dash_link {
    font-size: 131%;
    color: red;
    font-style: italic;
}
a#dash_link:hover {
    color: red;
}
div.dashboard-menu1 {
    float: left;
}
.ext-ie7 div.dashboard-menu1 {
    padding-right: 1em; /* prevents italics being clipped in IE7 */
}
div.dashboard-menu2 {
    float: right;
    font-size: 100%;
    padding-top: 2px;
    color: white;
}
div.dashboard-menu2 ul {
    padding-bottom: 5px;
}
div.dashboard-menu2 ul li {
    display: inline;
    padding: 0px 2px;
    margin: 0px 5px;
}
div.dashboard-menu2 li.selected {
    border-style: none none solid none;
    border-color: red;
    border-width: 2px;
}
div.dashboard-menu2 a:link,
div.dashboard-menu2 a:visited,
div.dashboard-menu2 a:active {
    color: white;
    text-decoration: none;
}
div.dashboard-menu2 a:hover {
    color: white;
    text-decoration: underline;
}
div.dashboard-menu2 li.selected a:hover {
    text-decoration: none;
}


/* logged-in user account controls */

div.dashboard-body ul#account-controls {
    float: right;
    font-family: Verdana, sans-serif;
    font-size: 85%;
}
div.dashboard-body ul#account-controls li {
    display: block;
    float: left;
    min-height: 16px;
    padding-left: 1em;
}
div.dashboard-body ul#account-controls li#username {
    list-style-type: none;
    padding-left: 16px;
    background-image: url('../../img/extjs/icons/user_green.png');
    background-repeat: no-repeat;
    background-position: middle left;
}


/* dashboard innards */

div.dashboard-contents {
    padding: 10px;
    min-height: 400px;
    background-color: #fff;

    /* floatcontainer */
    zoom:1; /* for IE6 to trigger overflow */
    overflow: hidden;
}


/*----------------------------------------------------------------------*/

div.dashboard-body h1#pagetitle {
    font-size: 131%;
    font-weight: bold;
    margin-bottom: 1em;
}

div.dashboard-body h2 {
    font-size: 116%;
    font-weight: bold;
}

div#dashboard-lhs {
    width: 630px;
}

div#dashboard-lhs p {
    margin-bottom: 1em;
}

div#dashboard-credits {
    clear: both;
}

div#dashboard-intro {
    width: 630px;
}

div#dashboard-news {
    width: 570px; /* slightly narrow or it peeps out behind splash */
    padding: 9px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

    -moz-box-shadow: 0px 0px 5px #ccc;
    -webkit-box-shadow: 0px 0px 5px #ccc;
    box-shadow: 0px 0px 5px #ccc;
}

div#dashboard-message-top {
    background-color: #fe9;
    border: 1px solid #ccc;
    width: 420px;
    padding: 9px;
    margin-bottom: 2em;

    -moz-box-shadow: 3px  3px 3px #ccc;
    -webkit-box-shadow: 3px 3px 3px #ccc;
    box-shadow: 3px 3px 3px #ccc;
}

div#dashboard-message {
    clear: both;
    float: right;
    width: 270px;
    padding: 9px;
    margin-bottom: 2em;
}

div#dashboard-message {
    -moz-box-shadow: 3px  3px 3px #ccc;
    -webkit-box-shadow: 3px 3px 3px #ccc;
    box-shadow: 3px 3px 3px #ccc;

    background-color: #fe9;
    border: 1px solid #ccc;
}




/* Dashboard login page */

div#dashboard-login h2 {
    font-weight: bold;
    margin-bottom: 1em;
}

div#login-form {
    width: 420px;
    margin: 20px 0px;
}



/* Dashboard 403 page */

div#dashboard-tnc {
    border: solid 1px #ccc;
    width: 620px;
    height: 200px;
    overflow: auto;
    padding: 10px;
    background-color: #eee;
    margin: 10px 0px;
    font-family: monospace;

    -moz-box-shadow: 0px 0px 5px #ccc;
    -webkit-box-shadow: 0px 0px 5px #ccc;
    box-shadow: 0px 0px 5px #ccc;
}
div#dashboard-tnc p {
    margin-bottom: 1em;
}
div#dashboard-tnc ul li {
    list-style-type: disc;
    list-style-position: outside;
    margin-left: 1em;
    margin-bottom: 0.5em;
}

/* Dashboard page */

.project-splash img {
    -moz-box-shadow: 3px  3px 3px #999;
    -webkit-box-shadow: 3px 3px 3px #999;
    box-shadow: 3px 3px 3px #999;
}

div#dashboard ul li {
    margin-bottom: 1em;
}

div#dashboard h2 {
    margin-bottom: 1em;
}


/* Record manager page */

div.dashboard-body div#type-title {
    font-weight: bold;
    padding-bottom: 12px;
    font-size: 131%;
}

div#dashboard-recman ul li {
    margin-bottom: 1em;
}

div#dashboard-recman-contents a,
div#dashboard-recman-contents a:link,
div#dashboard-recman-contents a:visited,
div#dashboard-recman-contents a:active  {
    color: red;
}


/*
div#dashboard-recman a.toggleon,
div#dashboard-recman a.toggleoff {
    padding-left: 16px;
    background-repeat: no-repeat;
    background-position: middle left;
}
div#dashboard-recman a.toggleon {
    background-image: url('../../img/extjs/icons/bullet_toggle_minus.png');
}
div#dashboard-recman a.toggleoff {
    background-image: url('../../img/extjs/icons/bullet_toggle_plus.png');
}
*/

.dashboard-recman-form {
    margin-top: 0.5em;
}

div#dashboard-recman form.upload-form {
    width: 588px;
    border: solid 1px #d0d0d0; /* to match extjs grey forms */
    background-color: #eaeaea;
    padding: 5px;
}

a.dashboard-recman-control {
    display: block;
    float: left;
    white-space: nowrap;
    margin-right: 0.8em;
    margin-bottom: 0.5em;
}


/* Search results */

div.dashboard-body div#type-title {
    margin-bottom: 1em;
}
div#dashboard-search-result div#result-controls {
    margin-bottom: 1em;
}
div#dashboard-search-result div#failed-message,
div#dashboard-search-result table#recordbrowse {
    border: solid 1px #ccc;
    background-color: #f0f0f0;
}
div#dashboard-search-result div#failed-message {
    width: 608px;
    padding: 10px;
}
div#dashboard-search-result table#recordbrowse {
    border-collapse: collapse;
    width: 100%;
}
div#dashboard-search-result table#recordbrowse th,
div#dashboard-search-result table#recordbrowse td {
    padding: 5px;
}
div#dashboard-search-result table#recordbrowse th {
    background-color: #e0e0e0;
    font-weight: bold;
    white-space: nowrap;
}
div#dashboard-search-result table#recordbrowse tr.row-odd {
    background-color: #f8f8f8;
}
div#dashboard-search-result table#recordbrowse tr.row-even {
    background-color: #f0f0f0;
}
div#dashboard-search-result table#recordbrowse td {
    border-top: dotted 1px #ccc;
}
div#dashboard-search-result tr {
    vertical-align: top;
}
div#dashboard-search-result td.cell-id {
    width: 20%;
}
div#dashboard-search-result td.cell-image img {
    max-height: 70px;
    _height: 70px;
    width: auto;
    max-width: 140px;
}
div#dashboard-search-result td.cell-links {
    width: 20%;
}

div.dashboard-record-secondary-data {
    color: #666;
    font-size: 0.8em;
    font-style: italic;
    word-wrap: break-word;
}

#dashboard-search-result-tools {
    width: 608px;
    border: solid 1px #ccc;
    /* border-top: none; */
    padding: 10px;

    background-color: #e0e0e0;

    -moz-border-radius: 0px 0px 5px 5px;
    -webkit-border-radius: 0px 0px 5px 5px;
    border-radius: 0px 0px 5px 5px;
}

#dashboard-search-result-tools label {
    margin-right: 1em;
}

ul#dashboard-recman-toolbox-top {
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: solid 1px #ccc;
}

div.dashboard-recman-toolbox h2 {
    margin-bottom: 1em;
}


/* splash popup */

div#dashboard-splash {
    width: 300px;
}
div#dashboard-splash div.product-info {
    padding: 5px;
    line-height: 150%;
}
div#dashboard-splash a:hover {
    text-decoration: underline;
}



/*----------------------------------------------------------------------*/
/* Rendered CAF views (web_dform.i) */

div.dashboard-rendered-view {
}

div.dashboard-rendered-view h2.section-fullname {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

div.dashboard-rendered-view div.field {
    /* floatcontainer stuff */
    zoom:1; /* for IE6 to trigger overflow */
    overflow: hidden;

    margin-bottom: 0.25em;
}

div.dashboard-rendered-view div.field-fullname {
    width: 25%;
    float: left;
}
div.dashboard-rendered-view div.field-value {
    width: 75%;
    float: left;
}
div.dashboard-rendered-view div.sequence-fullname {
    width: 100%;
    font-style: italics;
}
div.dashboard-rendered-view ul.sequence-members {
    margin-left: 10%;
    width: 90%;
}


ul#record-tools {
    margin-top: 2em;
    padding-top: 0.5em;
    border-top: solid 1px #ccc;
}
ul#record-tools li {
    margin-bottom: 0.5em;
}

/* Bigger, bolder, more visible buttons in toolbars?  - C24 M5 WF018 */

.dashboard-rendered-view-toolbar button {
    width: 200px;
    height: 30px !important;
    font-weight: bold;
    font-size: 1.4em;
}
.dashboard-rendered-view-toolbar .x-btn {
    margin: 10px !important;
}

.x-toolbar .x-btn-tl { background-position: 0 0; }
.x-toolbar .x-btn-tr { background-position: -3px 0; }
.x-toolbar .x-btn-tc { background-position: 0 -6px; }
.x-toolbar .x-btn-ml { background-position: 0 -24px; }
.x-toolbar .x-btn-mr { background-position: -3px -24px; }
.x-toolbar .x-btn-mc { background-position: 0 -1096px; }
.x-toolbar .x-btn-bl { background-position: 0 -3px; }
.x-toolbar .x-btn-br { background-position: -3px -3px; }
.x-toolbar .x-btn-bc { background-position: 0 -15px; }
