/* SVN FILE: $Id: cake.generic.css 688 2009-11-11 11:25:45Z marc $ */
/**
 *
 * PHP versions 4 and 5
 *
 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @filesource
 * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.app.webroot.css
 * @since         CakePHP(tm)
 * @version       $Revision: 7805 $
 * @modifiedby    $LastChangedBy: AD7six $
 * @lastmodified  $Date: 2008-10-30 18:30:26 +0100 (jeu., 30 oct. 2008) $
 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
 */

* {
    margin:0;
    padding:0;
}

/* General Style Info */
body {
        background: #003d4c;
    color: #fff;
    font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
    font-size:90%;
    margin: 0;
}
a {
    /*background:#fff;*/
    color: #003d4c;
    text-decoration: underline;
    font-weight: bold;
}
a:hover {
    background:#fff;
    color: #003d4c;
    text-decoration:none;
}
a img {
    border:none;
    vertical-align:text-bottom;
    opacity: 0.8; #filter: alpha(opacity=80);
}
a:hover img{
    opacity: 1; #filter: alpha(opacity=100);
}
h1, h2, h3, h4 {
    font-weight: normal;
}
h1 {
    background:#fff;
    color: #003d4c;
    font-size: 100%;
    margin: 0.1em 0;
}
h2 {
    background:#fff;
    color: #e32;
    font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
    font-size: 190%;
    margin: 0.3em 0;
    padding-top: 0.8em;
}
h3 {
    color: #993;
    font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
    font-size: 165%;
    padding-top: 1.5em;
}
h4 {
    color: #993;
    font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
    font-size: 120%;
    font-weight: normal;
    padding-top: 0.5em;
}
h4.underline { border-bottom: 1px solid ; }
ul, li {
    margin: 0 6px;
}

/* Layout */
#container {
    text-align: left;
}

#header{
    padding: 1em;
}
#header h1 {
    background: #003d4c url('../img/cake.icon.gif') no-repeat left;
    color: #fff;
    padding: 0px 30px;
}
#header h1 a {
    color: #fff;
    background: #003d4c;
    font-weight: normal;
    text-decoration: none;
}
#header h1 a:hover {
    color: #fff;
    background: #003d4c;
    text-decoration: underline;
}
#content{
    background: #fff;
    clear: both;
    color: #333;
    padding: 10px 20px 40px 20px;
    overflow: auto;
}
#footer {
    clear: both;
    padding: 6px 10px;
    text-align: right;
}

/* Tables */
table {
    background: #fff;
    border:1px solid #ccc;
    border-right:0;
    clear: both;
    color: #333;
    margin-bottom: 10px;
    width: 100%;
}
th {
    background: #f2f2f2;
    border:1px solid #bbb;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    text-align: center;
}
th.left { text-align: left !important; padding-left: 2px !important; }
th a {
    background:#f2f2f2;
    display: block;
    padding: 2px 4px;
    text-decoration: none;
}
th a:hover {
    background: #ccc;
    color: #333;
    text-decoration: none;
}
table tr td {
    background: #fff;
    border-right: 1px solid #ccc;
    padding: 4px;
    text-align: center;
    vertical-align: top;
}
table tr.altrow td, tr.altrow td.actions {
    background: #f4f4f4;
}
td.actions {
    text-align: center;
    white-space: nowrap;
    background: #f4f4f4;}
td.actions a {
    margin: 0px 6px;
}
td.actions .icons a { margin: 0; }

.cake-sql-log table {
    background: #f4f4f4;
}
.cake-sql-log td {
    padding: 4px 8px;
    text-align: left;
}

table.nostyle, table.nostyle > tbody > tr > th, table.nostyle > tbody > tr >  td { border: 0;}
table.nostyle > tbody > tr > td { text-align: inherit; }
table.nostyle > tbody > tr > td.actions { text-align: center; }
/* Paging */
div.paging {
    background:#fff;
    color: #ccc;
    margin-bottom: 2em;
    text-align: center;
}
div.paging div.disabled {
    color: #ddd;
    display: inline;
}
div.paging span {
}
div.paging span.current {
    color: #000;
}
div.paging span a {
    margin: 0 3px;
}
div.paging > p {
    line-height:1.5em;
    padding: 0.7em;
    text-align: center;
}

/* Scaffold View */
dl {
    line-height: 2em;
    margin: 0em 0em;
    width: 60%;
}
dl.altrow {
    background: #f4f4f4;
}
dt {
    font-weight: bold;
    padding-left: 4px;
    vertical-align: top;
}
dd {
    margin-left: 10em;
    margin-top: -2em;
    vertical-align: top;
}

/* Forms */
form {
    clear: both;
    /*margin-right: 20px;*/
    margin: 0 1.5em;
    padding: 0;
    /*width: 80%;*/
}
fieldset {
    border: 1px solid #ccc;
    margin-top: 30px;
    padding: 16px 20px;
}
fieldset legend {
    background:#fff;
    color: #e32;
    font-size: 160%;
    font-weight: bold;
}
fieldset fieldset {
    margin-top: 0px;
    margin-bottom: 20px;
    padding: 16px 10px;
}
fieldset fieldset legend {
    font-size: 120%;
    font-weight: normal;
}
fieldset fieldset div {
    clear: left;
    margin: 0 20px;
}
form div {
    clear: both;
    /*margin-bottom: 1em;*/
    padding: .5em;
    vertical-align: text-top;
}
form div.input {
    color: #444;
}
form div.required {
    color: #333;
    font-weight: bold;
}
form div.submit {
    border: 0;
    clear: both;
    margin-top: 10px;
    /*margin-left: 140px;*/
}
label {
    display: block;
    /*font-size: 110%;*/
    padding-right: 18px;
}
input[type=radio] + label, input[type=checkbox] + label { cursor: pointer; }
input, textarea {
    clear: both;
    /*font-size: 140%;*/
    font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
    padding: 2px;
    width: 100%;
}
select {
    /*clear: both;
    vertical-align: text-bottom;*/
    font-size: 100%;
}
select[multiple=multiple] {
    width: 100%;
}
option {
    font-size: 100%;
    padding: 0 3px;
}
input[type=checkbox] {
    clear: left;
    float: left;
    margin: 0px 6px 7px 2px;
    width: auto;
}
input[type=radio] {
    float:left;
    width:auto;
    margin: 0 3px 7px 0;
}
div.radio label {
    margin: 0 0 6px 20px;
}
input[type=submit] {
    display: inline;
    font-size: 110%;
    padding: 2px 5px;
    width: auto;
    vertical-align: bottom;
}

/* Notices and Errors */
div.message {
    clear: both;
    color: #900;
    font-size: 140%;
    font-weight: bold;
    margin: 1em 0;
}
div.error-message {
    clear: both;
    color: #900;
    font-weight: bold;
}
p.error {
    background-color: #e32;
    color: #fff;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}
p.error em {
    color: #000;
    font-weight: normal;
    line-height: 140%;
}
.notice {
    background: #ffcc00;
    color: #000;
    display: block;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}
.success {
    background: green;
    color: #fff;
}

/*  Actions  */
div.actions ul {
    margin: 0px 0;
    padding: 0;
}
div.actions li {
    display: inline-block;
    #display:inline;
    list-style-type: none;
    line-height: 2em;
    margin: 0 1em 0 0;
    white-space: nowrap;
    font-size:90%;
}
div.actions ul li a {
    background:#fff;
    color: #003d4c;
    text-decoration: none;
}
div.actions ul li a:hover {
    color: #333;
    text-decoration: underline;
}

/* Related */
div.related {
    clear: both;
    display: block;
}

/* Debugging */
pre {
    color: #000;
    background: #f0f0f0;
    padding: 1em;
}
pre.cake-debug {
    background: #ffcc00;
    font-size: 120%;
    line-height: 140%;
    margin-top: 1em;
    overflow: auto;
    position: relative;
}
div.cake-stack-trace {
    background: #fff;
    border: 4px dotted #ffcc00;
    color: #333;
    margin: 0px;
    padding: 6px;
    font-size: 120%;
    line-height: 140%;
    overflow: auto;
    position: relative;
}
div.cake-code-dump pre {
    position: relative;
    overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
    color: #000;
    background-color: #F0F0F0;
    margin: 0px;
    padding: 1em;
    overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
    clear: both;
    font-size: 12px;
    line-height: 15px;
    margin: 4px 2px;
    padding: 4px;
    overflow: auto;
}
div.cake-code-dump span.code-highlight {
    background-color: #ff0;
    padding: 4px;
}
div.code-coverage-results div.code-line {
    padding-left:5px;
    display:block;
    margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
    background:#ecc;
}
div.code-coverage-results div.covered span.content {
    background:#cec;
}
div.code-coverage-results div.ignored span.content {
    color:#aaa;
}
div.code-coverage-results span.line-num {
    color:#666;
    display:block;
    float:left;
    width:20px;
    text-align:right;
    margin-right:5px;
}
div.code-coverage-results span.line-num strong {
    color:#666;
}
div.code-coverage-results div.start {
    border:1px solid #aaa;
    border-width:1px 1px 0px 1px;
    margin-top:30px;
    padding-top:5px;
}
div.code-coverage-results div.end {
    border:1px solid #aaa;
    border-width:0px 1px 1px 1px;
    margin-bottom:30px;
    padding-bottom:5px;
}
div.code-coverage-results div.realstart {
    margin-top:0px;
}
div.code-coverage-results p.note {
    color:#bbb;
    padding:5px;
    margin:5px 0 10px;
    font-size:10px;
}
div.code-coverage-results span.result-bad {
    color: #a00;
}
div.code-coverage-results span.result-ok {
    color: #fa0;
}
div.code-coverage-results span.result-good {
    color: #0a0;
}

/*
 * navigations
 */

.navigation{
    height:30px;
    line-height:30px;
    padding:0 15px;
}

.navigation li{
    display:block;
    float:left;
    margin: 0;
}

.navigation a{
    background: transparent;
    font-weight: normal;
    display:block;
    float:left;
    padding:0 12px;
    text-decoration:none;
}
.navigation a:hover {
    text-decoration: underline;
}
.navigation a#loggedInAs {
    color: #fff;
}

#main_nav{
    font-size:13px;
    height:30px;
    line-height:30px;
    background:#cc6;
    padding-top: 9px;
    width:100%;
}
#main_nav .navigation {
    /*float: right;
    margin-left: 330px;*/
    font-weight: bold;
}
#main_nav .navigation a:hover, .navigation a.active {
    background: #f4f4f4;
    text-decoration: none;
    white-space: nowrap;
}
#main_nav .navigation li.activeMenuAction {
    padding: 0 6px;
}

#secondary_nav{
    font-size:11px;
    position:absolute;
    top: 2em;
    right:0;
    z-index:5;
    background:transparent;
}

#secondary_nav a {
    color:#c0c25b;
}

#secondary_nav span {
    text-transform: uppercase;
    font-weight: bold;
}


#sites_nav{
    position:absolute;
    font-size:11px;
    top:0px;
    left:0px;
    height:40px;
    margin-left:180px;
}
#sites_nav .navigation {
    margin-left: 10px;
}
#sites_nav a {
    color:#e77844;
}

#sites_nav li.current a{
    color:#fff;

}

#search {
    position:absolute;
    top:42px;
    height:40px;
    line-height:40px;
    right:0;
    padding-right:15px;
    min-width: 100px;
}

#search input {
    display: inline;
    font-size: 100%;
    padding: 0;
}

#footer a.lowlight {
    color:grey;
    border-bottom:1px dashed;
    background:transparent;
    font-weight: normal;
    text-decoration: none;
}

/* ------ custom style ----- */

.small { font-size: 80%; }
.right, td.right { text-align: right; }
.center, td.center { text-align: center; }
.normal { font-weight: normal; }

select.intext{  color: inherit; vertical-align: baseline; border:1px solid #CCCCCC; }

table.permissions           { width: auto; }
table.permissions td        { width: 150px; }
table.permissions th        { width: 150px; }
table.permissions th.title  { text-align: left; width: 300px; padding-left:0.5em; }

td.allowed { background-color: darkgreen; color:white; font-weight: bold; }
td.denied  { background-color: darkred;   color:white; font-weight: bold; }
td.allowed a, td.denied a { background-color: lightgray; color: black; text-decoration: none; padding: 1px; opacity: 0.8; #filter: alpha(opacity=80); }
td.allowed a:hover, td.denied a:hover { opacity: 1; filter: alpha(opacity=100); }

td.light   { opacity: 0.60; #filter: alpha(opacity=60); }

div.coresoft{
    width: 912px;
    margin: 0 auto;
    height: 100%;
    background: white;
    padding: 20px;
}
div.wide {
    width: 100%;
    padding: 20px 10px;
}

div.coresoft h3 { padding: 0; }

/* descrition lists: title with specific style + js to toggle the desc item */
dl.description {
    line-height: 1.1em;
    margin: 0em 0em;
    width: 100%;
}
dl.description > dt {
    border-bottom:1px solid;
    font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
    font-size: 120%;
    font-weight: bold;
    margin-bottom:0.5em;
    padding: 0.5em 0 0.2em;
    color: #999933;
}
dl.description > dt > span {
    float:right;
    font-size: 11pt;
}
dl.description > dd {
    margin-left: 2.5em;
    margin-top: 0;
    vertical-align: top;
}

.coresoft .compact_form label{ display: inline; padding-right: 1em;}
.coresoft .compact_form div.text label,
    .coresoft .compact_form div.password label,
    .coresoft .compact_form div.select label,
    .coresoft label.viewlabel { display: inline-block; width: 150px; padding: 0; }
.coresoft label.viewlabel { border-bottom:1px dotted #F0F0F0; }
.coresoft .compact_form input{ width: auto; }
.coresoft .compact_form input[type="radio"], .coresoft .compact_form input[type="checkbox"] { float:none; }
.coresoft .compact_form div.checkbox { padding: 0; }
.coresoft .compact_form td { padding: 0;}
.coresoft .compact_form form div { padding: 2px; }

.compact_form div.select div.checkbox{ display: inline-block; }

span.spacer { width: 3em; display: inline-block; }

.coresoft .viewvalue { font-weight: bold; }
.coresoft .notsel, .coresoft .empty { font-size: 90%; color: gray; }
.coresoft .empty { font-weight: normal; }

.coresoft p { line-height: 1.5em; padding: 0.5em 1em; }

.compact_form div.error_message {
    display:inline;
    background: #33ffff url('../img/error.png') no-repeat left;
}

.search label, .compact_form .search label{
    display: inline-block;
    font-size: 100%;
    padding-left: 5px;
    width: 100px;
    text-align: right;
}
.search p { padding-top: 1.5em; }
.search input, input.search {
    font-size: 100%;
    width: auto;
}

.captcha_input {display:inline-block; text-align: center; }
.captcha_input .image { background-color: #D4AC0E; display:inline-block; }
.captcha_input .image img{ padding: 0 5px; vertical-align: middle; }
.captcha_input .image img.refresh{ padding: 5px; border: solid 1px white; cursor: pointer; }

/* --- steps --- */

div.stepper { margin: 0.5em 0 1.5em 0; }
.stepper div {
    height:39px;
    color:#ccc;
    float:left;
    padding: 0 25px 0 5px;
    text-align:center;
    font-weight:bold;
    font-size:15px;
    border:0px;
    clear: none;
}

.stepper div.step {
    background: #E9E9E9 url("../img/step.gif") top right no-repeat;
    background-color:#E9E9E9;
}


.stepper div.current {
    background: #D4AC0E url("../img/stepcurrent.gif") top right no-repeat;
    color:#ffffff;
    cursor:pointer;
}
.stepper div.prev {
    background: #E9E9E9 url("../img/stepprev.gif") top right no-repeat;
}

.stepper div.last{
    background:url("../img/steplast.gif") top right no-repeat;
    background-color:#E9E9E9;
}

.stepper div.currentlast {
    background: #D4AC0E url("../img/stepcurrentlast.gif") top right no-repeat;
    color:#ffffff;
    cursor:pointer;
}

.stepper .subtitle{
    font-size:12px;
    padding: 0;
    line-height: auto;
    margin: 0 0 0.5em 0;
    text-indent:0;
}

div.languages { padding-top: 40px; }

.ie7 fieldset, .ie7 label, .ie7 table.nostyle td { text-align: left; }

.ie7 dl.description dt { margin: 0; }
.ie7 dl.description dt span { top: -1.2em; position: relative; }

.available {
    background-color:#EEEEEE;
    color:green;
    padding:0.2em;
}
.not_available {
    background-color:#EEEEEE;
    color:darkred;
    padding:0.2em;
    font-weight:bold;
}



/* ON/OFF button */
button.yes_no {
    cursor: pointer;
    border:0 none;
    padding:2px 4px;
    text-align: left;
    background-image:-moz-linear-gradient(center top , #FCFCFC, #CFCFCF);
    filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr=#fcfcfc,endColorStr=#cfcfcf);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FCFCFC), to(#CFCFCF));
}
button.yes_no:active {
    border: 0;
}
button.yes_no img {
    background: transparent url('../img/onoff.gif') no-repeat left;
    background-position:0 0;
    vertical-align:middle;
    height: 11px;
    width: 20px;
    margin-right:4px;
}
button.yes_no img.off {
    background-position:-20px 0;
}
button.yes_no label {
    display:inline;
    padding: 0;
}
input[type=checkbox].yes_no {
    position:absolute;
    left: -20px;
}

.ie6 button.yes_no, .ie7 button.yes_no {
    color: black;
    padding:4px 0 2px;
}
.ie6 button.yes_no img.off, .ie7 button.yes_no img.off {
    background-position:-19px 0;
}

.ie8 button.yes_no {
    padding: 4px;
}

div.chart{ border: solid 1px #dedede; }


/* --- Printing specific styles --- */
@media print{
    div#header, div#footer, div#sites_nav, div#secondary_nav, div#main_nav, div#debug-kit-toolbar { display: none; }
    *.hide_on_print { display: none; }
    /* Hide sections such as actions list, collapse/expand tool bar when printing */
    div.paging, div.actions, a.action, td.actions, th.actions { display: none; }
    div.toolbar { display: none; }
    dl.description > dt > span.collapse, dl.description > dt >span.expand { display: none; }

    /* Make all setions visible, hide the expand/collapse characters */
    dl.description dl { display: block;}
    dl.description dt span { display: none; }

    .notsel { font-size: 80%; text-decoration: line-through }
    .empty  { font-size: 80%; }

    div.coresoft{ min-height: 0; height: auto; width: auto; }

    /* show whole scrollable content */
    div.scrollable { height: auto; }
}
/* --- Printing end styles --- */
