* {
    margin: 0;
    padding: 0;
}

body {
    background: url('../images/bg2.png');
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    margin: 0;
}
a {
    color: #333333;
    text-decoration: underline;
    font-weight: bold;
}
a:hover {
    color: #0033cc;
    text-decoration: none;
}
a img {
    border:none;
}
h1, h2, h3, h4 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: bold;
    margin-bottom: 0.5em;
}
h1 {
    color: #f58220;
    font-size: 18px;
}
h2 {
    color: #f58220;
    font-size: 14px;
}
h3 {
    color: #f58220;
    font-size: 12px;
}
h4 {
    color: #f58220;
    font-weight: normal;
}
ul, li {
    margin: 0 12px;
}

/** Layout **/
#container {
    width: 980px;
    margin: 10px auto;
}

#header {
    height: 35px;
    width: 980px;
    background: #000;
    margin-bottom: 10px;
    -moz-border-radius: 5px;
    -moz-box-shadow: 0px 0px 5px #666666;
}
#header ul {
    padding: 7px;
    margin: 0;
    list-style: none;
}
#header ul li {
    margin: 0;
    display: inline;
}
#header ul li a {
    border-left: 1px solid #fff;
    padding: 3px 20px;
    text-decoration: underline;
    color: #fff;
    background: #000;
    float: right;
}
#header ul li a:hover {
    color: #fff;
    background-color: #f58220;
}

#menu {
    clear: both;
    background: #f58220;
    float: left;
    width: 250px;
    margin-bottom: 10px;
    display: block;
    min-height: 400px;
    -moz-border-radius: 5px;
    -moz-box-shadow: 0px 0px 5px #666666;
}
#menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
#menu ul li {
    margin: 0;
}
#menu ul li a {
    border-bottom: 1px solid #f58220;
    padding: 5px 10px;
    text-decoration: underline;
    color: #000;
    background: #fff;
    display: block;
}
#menu ul li a:hover {
    color: #fff;
    background-color: #f58220;
}
#menu-logo {
    height: 190px;
    width: 250px;
    background: #fff url('../images/logo.png') no-repeat center;
    margin: 0;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-topleft: 5px;
}
#menu-a {
    clear: both;
    background: #da202d;
    display: table;
    width: 100%;
    /*margin-top: 10px;*/
}
#menu-a ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
#menu-a ul li {
    margin: 0;
    display: inline;
}
#menu-a ul li a {
    float: left;
    border-right: 1px dotted #000;
    padding: 5px 10px;
    text-decoration: underline;
    color: #fff;
    background: #da202d;
}
#menu-a ul li a:hover {
    color: #fff;
    background-color: #000;
}
#content {
    color: #333;
    background: #fff;
    padding: 5px 20px 40px 20px;
    /*margin-top: 10px;*/
    margin-left: 260px;
    margin-bottom: 10px;
    overflow: auto;
    min-height: 355px;
    -moz-border-radius: 5px;
    -moz-box-shadow: 0px 0px 5px #666666;
}
#footer {
    clear: both;
    background: #f58220;
    color: #fff;
    padding: 5px 10px;
    text-align: right;
    margin-bottom: 10px;
    -moz-border-radius: 5px;
    -moz-box-shadow: 0px 0px 5px #666;
}
#footer a {
    color: #fff;
}
#footer a:hover {
    color: #da202d;
}

/** containers **/
div.form,
div.index,
div.view {
    float:right;
    width:76%;
    border-left:1px solid #666;
    padding:10px 2%;
}
div.actions {
    float: left;
    width: 16%;
    padding: 10px 1.5%;
}
div.actions h3 {
    padding-top:0;
    color:#777;
}

/** Tables **/
table {
    background: #fff;
    border-right:0;
    clear: both;
    color: #333;
    margin-bottom: 10px;
    width: 100%;
}
th {
    border:0;
    border-bottom:2px solid #555;
    text-align: left;
    padding:4px;
}
th a {
    display: block;
    padding: 2px 4px;
    text-decoration: none;
}
th a.asc:after {
    content: ' ⇣';
}
th a.desc:after {
    content: ' ⇡';
}
table tr td {
    background: #fff;
    padding: 6px;
    text-align: left;
    vertical-align: top;
    border-bottom:1px solid #ddd;
}
table tr:nth-child(2n) td {
    background: #f5f5f5;
}
table .altrow td {
    background: #f5f5f5;
}
td.actions {
    text-align: center;
    white-space: nowrap;
}
table td.actions a {
    margin: 0px 6px;
    padding:2px 5px;
}

/** Forms **/
form {
    padding: 0;
}
fieldset {
    border: 1px solid #ccc;
    padding: 10px 20px;
    margin: 0;
    margin-bottom: 10px;
}
fieldset legend {
    background: #fff;
    color: #336699;
    font-size: 120%;
    font-weight: bold;
}
fieldset fieldset {
    padding: 10px;
}
fieldset fieldset legend {
    font-size: 120%;
    font-weight: normal;
}
fieldset fieldset div {
    clear: left;
    margin: 10px;
}
form div {
    margin-bottom: 1em;
    padding: 0;
}
form .input {
    color: #444;
}
form .required {
    font-weight: bold;
}
form .required label:after {
    color: #e32;
    content: '*';
    display: inline;
}
form div.submit {
    border: 0;
    clear: both;
    margin-top: 10px;
    text-align: center;
}
label, input, textarea, select {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
}
label {
    display: inline-block;
    width: 150px;
    vertical-align: top;
}
input, textarea {
    clear: both;
    padding: 3px;
    width: 70%;
}
select {
    clear: both;
}
select[multiple=multiple] {
    width: 100%;
}
option {
    font-size: 120%;
    padding: 0 3px;
}
input[type=checkbox] {
    clear: left;
    float: left;
    margin: 0px 6px 7px 2px;
    width: auto;
}
div.checkbox label {
    display: inline;
}
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: 100%;
    width: auto;
}
form .submit input[type=submit] {
    background: #336699;
    border-color: #336699;
    color: #fff;
    text-shadow: #000 0px 1px 0px;
}

/** Notices and Errors **/
div.message {
    clear: both;
    color: #000000;
    margin: 0 0 1em 0;
    background: #ffee60 url('../img/info.png') no-repeat 7px 7px;
    padding: 10px;
    padding-left: 35px;
}
div.error-message {
    clear: both;
    color: #fff;
    font-weight: bold;
    background: #c73e14;
}
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: 0;
    padding: 0;
}
div.actions li {
    margin:0 0 0.5em 0;
    list-style-type: none;
    white-space: nowrap;
    padding: 0;
}
div.actions ul li a {
    font-weight: normal;
    display: block;
    clear: both;
}
div.actions ul li a:hover {
    text-decoration: underline;
}

input[type=submit],
div.actions ul li a,
td.actions a {
    font-weight:normal;
    padding: 4px 8px;
    background:#e6e49f;
    background: -webkit-gradient(linear, left top, left bottom, from(#f1f1d4), to(#e6e49f));
    background-image: -moz-linear-gradient(top, #f1f1d4, #e6e49f);
    color:#333;
    border:1px solid #aaac62;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    border-radius:8px;
    text-decoration:none;
    text-shadow: #fff 0px 1px 0px;
    min-width: 0;
}
input[type=submit]:hover,
div.actions ul li a:hover,
td.actions a:hover {
    background: #f0f09a;
    background: -webkit-gradient(linear, left top, left bottom, from(#f7f7e1), to(#eeeca9));
}

/** Related **/
div.related {
    clear: both;
    display: block;
}
