/*
  alone : web application framework for small embedded systems.
               Copyright (c) 2009 Inas Co Ltd. All Rights Reserved.

 This file is destributed under BSD License. Please read the COPYRIGHT file.

*/

body {
    color: #000;
    background-color: #ffe;
}

.al-page-header {
    color: #fff;
    background-color: #008;
    font-size: 120%;
    margin-bottom: 1em;
    padding: 3px;
}

/***** login screen *****/
.al-login-body {
    border: 1px solid black;
    padding-left: 15px;
}

/***** form table *****/
.al-form-table {
    border-collapse: collapse;
}

.al-form-table th, .al-form-table td {
    border: 1px solid black;
}

.al-form-table td.al-form-label {
    background-color: #eee;
    padding: 0px 10px;
}

.al-form-table td.al-form-label-error {
    background-color: #f88;
    padding: 0px 10px;
}

.al-form-table .al-form-value {
}

/***** sheet table *****/
.al-sheet-table {
    border-collapse: collapse;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.al-sheet-table td {
    border-bottom: 1px dotted black;
}

.al-sheet-table tr.al-line-even {
    background-color: #fff;
}

.al-sheet-table tr.al-line-odd {
    background-color: #eef;
}

.al-sheet-table td.al-sheet-label {
    padding: 0px 10px;
}

/***** list table *****/
.al-list-table {
    border-collapse: collapse;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.al-list-table th {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    color: #000;
    background-color: #eee;
}

.al-list-table td {
    border-bottom: 1px dotted black;
    padding: 0em 0.5em;
}

/***** error display *****/
h1.al-error-display {
    margin: 0;
    background-color: #f99;
    padding: 5px 0px 5px 5px;
}

h2.al-error-display {
    margin: 5px 0px;
    border: 1px solid;
    padding: 3px 0px 3px 15px;
    counter-increment: h2count;
}

h2.al-error-display:before {
    content: counter(h2count) ". ";
}

pre.al-error-display {
    margin: 5px 0px 20px 0px;
}

/***** mif *****/
.al-navigation a:link, .al-navigation a:visited {
    color: #00f;
}

.al-navigation .al-inactive {
    color: #aaa;
}
