body {
    background: #fff url(../images/top.jpg) repeat-x top left;
    color: #000;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: "Lucida Grande", Myriad, "Andale Sans", "Luxi Sans", "Bitstream Vera Sans", Tahoma, "Toga Sans", Helvetica, Arial, sans-serif;
    font-size: 1em;
}

/* ----- CONTAINER ----- */
#container {
    background: transparent;
    margin: 0 auto;
    padding: 0;
    display: block;
    text-align: left;
    width: 758px;
    font-size: smaller;
}

html>body #container{
    width: 748px;
}

/* ----- HEADER ----- */
#header {
    width: 758px;
    min-height: 72px;
    height: 72px;
    display: block;
    margin: 0 auto;
    padding: 0;
    text-align: left;
    font-size: smaller;
}

#header h1 {
    margin: 0;
    padding-top: 20px;
    color: #fff;
    font-weight: bold;
    font-size: 14pt;
}

#header h1 a, #header h1 a:hover {
    color: #fff;
    text-decoration: none;
}

#header p {
    font-size: smaller;
    color: #fff;
    margin: 0px;
}

/* ----- FOOTER ----- */
#footer {
    letter-spacing: 1px;
    border-top: 1px dotted #babdb6;
    margin-top: 40px;
    color: #888a85;
    padding: 10px;
}

#footer a, #footer a:hover {
    text-decoration: none;
}

#footer p {
    font-size: smaller;
    margin: 0 0 10px 0;
}

/* ----- LOGIN BOX ----- */
#login {
    border: 0;
    width: 270px;
    padding: 10px;
    display: block;
    margin: auto;
    margin-top: 50px;
    text-align: center;
}

#login fieldset {
    width: 190px;
    max-width: 190px;
    font-size: x-small;
}

#login fieldset label {
    display: block;
    font-size: 100%;
    font-weight: bold;
    cursor: pointer;
    text-align: left;
}

#login fieldset input {
    width: 160px;
}

#login .login-footer {
    clear: both;
    text-align: center;
    font-size: 80%;
    color: #babdb6;
}

#site-info {
    float: left;
}

/* ----- SIDEBAR ----- */
#sidebar {
    background-color: #f7f7f7;
    color: #000;
    border: 1px solid #d3d7cf;
    padding: 5px;
    float: right;
    width: 240px;
    font-size: small;
}

#sidebar h1 {
    color: #555753;
}

#sidebar #user_info {
    display: block;
    clear: both;
    height: 64px;
    padding: 4px;
    background-color: #fff;
    color: #000;
    border: 1px solid #c7c7c7;
}

#sidebar #user_info img {
    margin: 4px;
    border: 1px solid #c7c7c7;
    background-color: #fff;
    float: left;
}

#sidebar #user_info span {
    padding: 2px;
}

/* ----- LOGIN INFO ----- */
#login-info {
    color: #fff;
    float: right;
    background: #729fcf;
    border: 1px solid #3465a4;
    padding: 2px;
    margin: 5px;
    padding-right: 20px;
}

#login-info a {
    color: #fff;
    text-decoration: none;
}

#login-info a:hover {
    text-decoration: underline;
}

#login-info img {
    border: 1px solid #3465a4;
    background-color: #fff;
    padding: 2px;
    margin-right: 5px;
    float: left;
}

#login-info .name {
    margin-top: 5px;
}

#login-info .logout {
    text-align: right;
    margin-top: 10px;
    font-size: .8em;
}

/* ----- CLEARFIX ----- */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* ----- COLOR DEFINITION ----- */
.light-color        { color: #729fcf; }
.medium-color       { color: #3465a4; }
.dark-color         { color: #3465a4; }
.light-background   { background-color: #729fcf; color: #3465a4; }
.medium-background  { background-color: #3465a4; color: #fff; }
.dark-background    { background-color: #3465a4; color: #fff; }
.accent-color       { color: #cee14b; }
.accent-background  { background-color: #cee14b; color: #9db029; }
.strong-color {
    background: #3465a4;
    color: #fff; padding: 4px;
    font-weight: bold;
}

/* ----- MAIN SECTION ----- */
#main-section {
    /*width: 90%;
    padding: 10px;
    padding-top: 20px; */
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* ------ COMMON ----- */
a { color: #3465a4; }
a:hover { color: #9db029; }
h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
    color: #3465a4;
}
h1 { font-size: large;   }
h2 { font-size: medium;  }
h3 { font-size: small;   }
h4 { font-size: x-small; }
hr { display: none; }
table { text-align: left; }
img { border: 0; }

/* ----- MAIN MENU ----- */
#body {
    width: 580px;
}

.main-menu {
    display: block;
    clear: left;
}

.main-menu-header {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* ----- START HACK BY RYAN WAKEFIELD ----- */
.main-item {
    text-decoration: none;
    width: 60px; /* Was 68px */
    height: 75px;
    padding: 5px;
    color: #000;
    float: left;
    font-size: x-small;
    display: block;
    border: 1px solid #fff;
    text-align: center;
}
/* -----  END  HACK BY RYAN WAKEFIELD ----- */

.main-item:hover {
    background-color: #f7f7f7;
    color: #888a85;
    border: 1px solid #d3d7cf;
    -moz-border-radius: 4px;
    cursor: pointer;
}

.main-item-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    max-height: 48px;
    display: block;
    margin: 0 auto;
    margin-bottom: 1px;
}

/* ----- MENUBAR ----- */
.jaws-menubar {
    text-align: left;
    background: #d3d7cf url(../images/menubar-bg.jpg) repeat-x bottom left;
    padding-left: 5px;
    padding-right: 10px;
    margin-bottom: 5px;
    border: 1px solid #d3d7cf;
    white-space: nowrap;
    list-style-type: none;
    height: 2.5em;
}

.jaws-menubar span {
    border: 1px solid transparent;
    float: left;
    padding: .3em;
    white-space: nowrap;
    display: table-cell;
    vertical-align: middle;
    padding-left: 6px;
    padding-right: 6px;
    border-left: 1px solid #ddd;
}

.jaws-menubar li:first-child {
    border-left: 0px;
}

.jaws-menubar li img {
    border: 0;
    vertical-align: middle;
}

.jaws-menubar .jaws-menuoption {
    border: 0px;
}

.jaws-menubar .jaws-menuoption a {
    text-decoration: none;
    color: #555753;
}

.jaws-menubar .jaws-menuoption:hover {
    background: #fff;
    cursor: pointer;
}

.jaws-menubar .jaws-menuoption:hover a {
    color: #000;
}


.jaws-menubar .jaws-menuoption-active {
    border: 0px;
    background: #fff;
    font-weight: bold;
}

.jaws-menubar .jaws-menuoption-active a {
    border: 0px;
    text-decoration: none;
    color: #000;
}

/* ----- FORM ELEMENTS ----- */
input, button, textarea, select {
    background-color: #fff;
    color: #000;
    padding: 2px;
    font-family: "Lucida Grande", Myriad, "Andale Sans", "Luxi Sans", "Bitstream Vera Sans", Tahoma, "Toga Sans", Helvetica, Arial, sans-serif;
    font-size: small;
}

button, input[type="button"], input[type="submit"]  {
    background: #fcfcfc url(../images/button.png) repeat-x top left;
    color: #888a85;
    border: 1px solid #babdb6;
    border-top: 1px solid #d3d7cf;
    border-left: 1px solid #d3d7cf;
    font-weight: bold;
    margin-left: 2px;
    margin-right: 2px;
    font-family: "Lucida Grande", Myriad, "Andale Sans", "Luxi Sans", "Bitstream Vera Sans", Tahoma, "Toga Sans", Helvetica, Arial, sans-serif;
    cursor: pointer;
    font-size: small;
    min-height: 20px;
}

select {
    cursor: pointer;
}

button:hover, input[type="button"]:hover, input[type="submit"]:hover  {
    background: #fafafa url(../images/button-hover.png) repeat-x top left;
    color: #333;
}

button:active, input[type="button"]:active, input[type="submit"]:active {
    background: #e4e6e1 url(../images/button-hover.png) repeat-x top left;
    color: #555;
}

.widetable {
    width: 100%;
}

table.tableform .button {
    text-align: center;
}

input[type="text"], input[type="password"], textarea, select {
    color: #333;
    background:#fff url(../images/field-bg.png) repeat-x top;
    border-top: 1px solid #999;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ddd;
    padding: 3px;
}

input[type="text"]:focus, input[type="password"]:focus, textarea:focus  {
    color: #000;
    background-color: #fff;
    border: 1px solid #3465a4;
}

input[disabled], select[disabled] {
    color: #999;
    background-color: #eee;
}

textarea {
    width: inherit;
}

fieldset {
    position: relative;
    border: 1px solid #d3d7cf;
    padding: 0;
    padding-bottom: 1em;
    margin-top: 1.2em;
    margin-bottom: 1em;
    font-size: small;
}

legend {
    position: relative;
    background: #fff url(../images/fieldset-legend.png) repeat-x top left;
    font-weight: bold;
    font-size: 110%;
    padding: .2em;
    padding-left: .5em;
    padding-right: .5em;
    border-top: 1px solid #d3d7cf;
    border-left: 1px solid #d3d7cf;
    border-right: 1px solid #d3d7cf;
    margin: 0;
    margin-left: -1px;
    margin-top: -1.2em;
    margin-bottom: 0.4em;
}

label {
    font-weight: bold;
    cursor: pointer;
}

fieldset td {
    padding: 1px;
}

fieldset br {
    display : none;
}

fieldset label {
    display: block;
    font-size: 100%;
}

div.oneline label, div.oneline_no_width label {
    margin: 0;
    margin-right: .6em;
    display: block;
    text-align: right;
    float: left;
    font-size: 100%;
    font-weight: bold;
    cursor: pointer;
}

div.oneline label {
    width: 15em;
}

div.w2em label { width: 2em; }
div.w3em label { width: 3em; }
div.w4em label { width: 4em; }
div.w5em label { width: 5em; }
div.w6em label { width: 6em; }
div.w7em label { width: 7em; }
div.w8em label { width: 8em; }

div.oneline_no_width label {
    text-align: left;
}


div.checkbox label {
    margin: 0;
    display: block;
    width: 13em;
    text-align: right;
}

div.checkbox .el {
    margin-left: 13em;
}

div.checkbox .el label, div.checkbox_el label {
    font-weight: normal;
    display: block;
    margin: 0;
    text-align: left;
}

div.radiobox label {
    display: inline;
}

div.radiobox input {
    vertical-align: middle;
}

div hr {
    border-color: black;
}

div.buttons {
    clear: both;
    padding-top: 10px;
    padding-right: 11px;
    float: right;
}

fieldset div {
    clear: left;
    padding: 0 1em;
    padding-bottom: 6px;
}

fieldset div strong {
    font-size: 100%
}

fieldset div span.form-error {
    display: block;
    color: #F00;
    font-weight: bold;
    letter-spacing: 1px;
}

fieldset div span.comment {
    display: none;
}

fieldset div:hover span.comment {
    font-size: 95%;
    color: #c96;
    background-color: #faf0e6;
    /*  \*/
    margin-left: 3em;
    /*  */
    padding: .2em .5em .3em;
    border: 1px solid #c96;
    display: block;
    position: absolute;
    z-index: 100;
    float: right;
    -moz-border-radius: 4px;
}
* html fieldset div span.comment {
    font-size: 95%;
    color: #c96;
    margin-left: 3em;
    padding: .3em;
    border-left: 1px solid #c96;
    display: block;
}

div#requiredNote {
    font-size: 100%;
    letter-spacing: 0.5px;
    /* clear: both; */
    margin-top: 10px;
}

label.mandat, span.mandat {
    color: #930;
    font-weight: bold;
}

label.mandat:after, span.mandat:after {
    content: "*";
}

.removed {
    display: none !important;
}

input[type="checkbox"] + label, input[type="checkbox"] + label + br, fieldset div strong + br  {
    display: inline;
}

input[type="checkbox"], select {
    -moz-border-top-colors: #babdb6 transparent;
    -moz-border-left-colors: #babdb6 transparent;
    -moz-border-bottom-colors: #d3d7cf transparent;
    -moz-border-right-colors: #d3d7cf transparent;


    -moz-border-top-colors: #999 transparent;
    -moz-border-left-colors: #ccc transparent;
    -moz-border-right-colors: #ccc transparent;
    -moz-border-bottom-colors: #ddd transparent;
    font-family: "Lucida Grande", Myriad, "Andale Sans", "Luxi Sans", "Bitstream Vera Sans", Tahoma, "Toga Sans", Helvetica, Arial, sans-serif;
}

input[type="checkbox"]:focus {
    -moz-border-top-colors: #3465a4 transparent;
    -moz-border-left-colors: #3465a4 transparent;
    -moz-border-bottom-colors: #3465a4 transparent;
    -moz-border-right-colors: #3465a4 transparent;
}

.form_comment {
    font-size: x-small;
}

table td label {
    padding-right: 6px;
}

.tableform td {
    display: table-cell;
    vertical-align: top;
}

/* ----- CONTROL PANEL ----- */
#control-panel-title {
    font-size: 14px;
    color: #3465a4;
    height: 48px;
    min-height: 48px;
    display: block;
    font-weight: bold;
}

#control-panel-title  a {
    color: #3465a4;
    text-decoration: none;
}

#control-panel-title a:hover {
    text-decoration: underline;
    color: #3465a4;
}

.control-panel-message {
    background-color: #cee14b;
    color: #9db029;
    border: 1px solid #9db029;
    padding: 10px;
    font-size: 11px;
}

.gadget-description {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* ----- HIGHLIGHT CODE ------ */
.terminal {
    margin-top: 15px;
    padding: 15px;
    font-size: small;
    font-family: "Courier New", Courier;
    background: #000;
    border: solid 1px #d3d7cf;
    line-height: 110%;
    color: white;
    width: 90%;
}

.code, .xml, .script {
    margin: 16px;
    padding: 16px;
    font-size: small;
    font-family: "Courier New", Courier;
    background: #fff;
    border: solid 1px #d3d7cf;
    line-height: 100%;
    color: #000dbd;
    width: 90%;
}

.keyword {
    color: #00a20b;
}

.comment {
    color:red;
}

.literal {
    color: purple;
}

.term-box {
    background-color: #fafafa;
    color: #3465a4;
    border: 1px solid #9db029;
    padding: 10px;
    font-size: 11px;
    width: 95%;
}

/* ----- NOTIFY BOX ----- */
.notify-box {
    padding: 1px;
    background: #fff;
    border: 1px solid #d3d7cf;
}

.notify-box h1.notify-title {
    padding: 4px;
    color: #fff !important;
    background-color: #3465a4;
    font-weight: bold;
    margin: 0;
    font-size: small;
}

.notify-box td {
    font-size: small;
}

/* ----- MESSAGE BOX ----- */
#msgbox-wrapper {
    margin-top: -15px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    height: 25px;
}

#msgbox {
}

/* ----- NOTIFICATIONS ----- */
.error-message, .warning-message, .notice-message, .working-message {
    -moz-border-radius: 4px;
    font-weight: bold;
    display: inline;
    text-align: left;
    line-height: 25px;
    padding-left: 26px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 3px;
    background-repeat: no-repeat;
    background-position: 2px 0px;
}

.notice-message {
    border: 1px solid #9db029;
    background-color: #e6f0a5;
    background-image: url("../../../images/stock/info-small.png");
}

.warning-message {
    border: 1px solid #fce94f;
    background-color: #fdf4a7;
    background-image: url("../../../images/stock/warning-small.png");
}

.error-message {
    border: 1px solid #cc0000;
    background-color: #fabfbf;
    background-image: url("../../../images/stock/error-small.png");
}

.working-message {
    color: #888a85;
    background-image: url("../../../images/loading.gif");
    background-repeat: no-repeat;
    background-position: 4px 2px;
}

#working_notification {
    display: none;
    background: #fafafa url("../../../images/loading.gif") no-repeat 2px center;
    color: #888a85;
    font-size: x-small;
    padding: 4px;
    padding-left: 24px;
    border: 1px solid #888a85;
    position: fixed;
    top: 0;
    right: 0px;
}

/*TODO: Options for menubar, these classes are disabled, to enable just uncomment the line in the Widget*/
.menubar-option-nonactive {
    border: 1px solid #d3d7cf;
    padding: 4px;
    font-weight: bold;
    text-decoration: none;
    background: #fff;
    white-space: nowrap;
}

.menubar-option-nonactive:active {
    text-decoration: none;
    color: #000;
}

.menubar-option-active {
    border: 1px solid #fafafa;
    padding: 4px;
    white-space: nowrap;
}

.menubar-option-active:active {
    color: #3465a4;
}

.menubar-option-active:hover {
    border: 1px solid #d3d7cf;
    background: #000;
}

.menubar-option-active:hover:active {
        color: #3465a4;
}

/* ----- DEBUG ----- */
#debug-table {
    background-color: white;
    color: black;
    font-size: x-small;
}

#debug-table pre {
    font-size: small;
}

pre.var_dump {
    line-height:1.8em;
}

pre.var_dump span.type {
    color:#006600;
    background:transparent;
}

pre.var_dump span.value {
    padding: 2px;
    color: #339900;
    background: #F0F0F0;
    border: 1px dashed #CCCCCC;
}

/* ----- DATAGRID ----- */
.jawsDatagrid {
  -moz-border-radius: 4px;
  padding:    2px;
  background: #edf3fe;
  border:     1px dashed #ccc;
  border-spacing: 0px;
  margin-top: 1em;
  margin-bottom: 1em;
}

.jawsDatagrid tbody {
  border: 0px;
}

.jawsDatagrid td {
  padding:  3px 5px;
  border-bottom: 1px solid #fff;
}

.jawsDatagrid thead td {
  border-bottom: 1px solid #3465a4;
  background-color: #3465a4;
  color: #fff;
  font-weight: bold;
  text-align: left;
  cursor: pointer;
}

/* ----- TABBED PANELS ----------- */
.tabpanel {
  border-spacing: 0px;
  width: 100%;
}

.tabpanel_tab {
    background: #fff url(../images/fieldset-legend.png) repeat-x top left;
    padding: .25em;
    padding-left: .5em;
    padding-right: .5em;
    border: 1px solid #d3d7cf;
    margin-bottom: 1.6em;
    filter: alpha(opacity=50);
    opacity:.50;
}

.tabpanel_tab_active {
    background: #fff url(../images/fieldset-legend.png) repeat-x top left;
    padding: .25em;
    padding-left: .5em;
    padding-right: .5em;
    border: 1px solid #d3d7cf;
    margin-bottom: 1.6em;
}

.tabpanel_tab, .tabpanel_tab_active:hover {
    cursor: pointer;
}

.tabpanel_tabs {
  font-size: 90%;
  font-weight: bold;
  border-spacing: 0px;
  border: 0px;
}

/*------------------ No Permission ------------------ */
.nopermission {
  background: #f4f4f4;
  border: 1px solid #b2b2b2;
  margin: 5em auto;
  padding: 1.9em;
  width: 45em;
}

/*------------------ Piwi Menu Bar ------------------*/
.ddmx {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ddmx .item1,
.ddmx .item1:hover,
.ddmx .item1-active,
.ddmx .item1-active:hover {
    padding: 3px 10px 3px 10px;
    background-color: #3465a4;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    position: relative;
}

.ddmx .item2,
.ddmx .item2:hover,
.ddmx .item2-active,
.ddmx .item2-active:hover {
    padding: 3px 8px 4px 8px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    position: relative;
    z-index: 500;
}

.ddmx .item2 {
    background-color: #729fcf;
    color: #fff;
}
.ddmx .item2:hover,
.ddmx .item2-active,
.ddmx .item2-active:hover {
    background-color: #cee14b;
    color: #3465a4;
}

.ddmx .arrow,
.ddmx .arrow:hover {
    padding: 3px 16px 4px 8px;
}

.ddmx .item2 img,
.ddmx .item2-active img {
    position: absolute;
    top: 4px;
    right: 1px;
    border: 0;
}

.ddmx .section {
    border: 1px solid #3465a4;
    position: absolute;
    visibility: hidden;
    z-index: -1;
}

* html .ddmx td {
    position: relative;
} /* ie 5.0 fix */
