/* GENERAL */

body {
    background: transparent url(../images/body-bg.gif) no-repeat scroll center top;
    height: 742px;
    width: 100%;
}

h1, h2, h3 {
    color: #f26198;
}

.spinner {
    padding: 5px;
    position: absolute;
    right: 0;
}

input:focus, select:focus, textarea:focus {
    border: 1px solid #b2d1ff;
}

/* NAVIGATION MENU */

.nav {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    border-style: solid none solid none;	
    margin-top: 5px;
    padding: 7px 12px;
}

.menuButton {
    font-size: 10px;
    padding: 0 5px;
}
.menuButton a {
    color: #333;
    padding: 4px 6px;
}
.menuButton a.home {
    background: url(../images/skin/house.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}
.menuButton a.list {
    background: url(../images/skin/database_table.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}
.menuButton a.create {
    background: url(../images/skin/database_add.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

/* MESSAGES AND ERRORS */

.message {
    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
    border: 1px solid #b2d1ff;
    color: #006dba;
    margin: 10px 0 5px 0;
    padding: 5px 5px 5px 30px
}

div.errors {
    background: #fff3f3;
    border: 1px solid red;
    color: #cc0000;
    margin: 10px 0 5px 0;
    padding: 5px 0 5px 0;
}
div.errors ul {
    list-style: none;
    padding: 0;	
}
div.errors li {
	background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
    line-height: 16px;
    padding-left: 30px;
}

td.errors select {
    border: 1px solid red;
}
td.errors input {
    border: 1px solid red;
}

/* TABLES */

table {
    border: 1px solid #ccc;
    width: 100%
}
tr {
    border: 0;
}
td, th { 
    font: 11px verdana, arial, helvetica, sans-serif;
    line-height: 12px;
    padding: 5px 6px;
    text-align: left;
    vertical-align: top;
}
th {
    background: #fff url(../images/skin/shadow.jpg);
    color: #666;
    font-size: 11px;
    font-weight: bold;
    line-height: 17px;
    padding: 2px 6px;
}
th a:link, th a:visited, th a:hover {
    color: #333;
    display: block;
    font-size: 10px;
    text-decoration: none;
    width: 100%;
}
th.asc a, th.desc a {
    background-position: right;
    background-repeat: no-repeat;
}
th.asc a {
    background-image: url(../images/skin/sorted_asc.gif);
}
th.desc a {
    background-image: url(../images/skin/sorted_desc.gif);
}

.odd {
    background: #f7f7f7;
}
.even {
    background: #fff;
}

/* LIST */

.list table {
    border-collapse: collapse;
}
.list th, .list td {
    border-left: 1px solid #ddd;
}
.list th:hover, .list tr:hover {
    background: #b2d1ff;
}

/* PAGINATION */

.paginateButtons {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    border-top: 0;
    color: #666;
    font-size: 10px;
    overflow: hidden;
    padding: 10px 3px;
}
.paginateButtons a {
    background: #fff;
    border: 1px solid #ccc;
    border-color: #ccc #aaa #aaa #ccc;
    color: #666;
    margin: 0 3px;
    padding: 2px 6px;
}
.paginateButtons span {
    padding: 2px 3px;
}

/* DIALOG */

.dialog table {
    padding: 5px 0;
}

.prop {
    padding: 5px;
}
.prop .name {
    text-align: left;
    width: 15%;
    white-space: nowrap;
}
.prop .value {
    text-align: left;
    width: 85%;
}

/* ACTION BUTTONS */

.buttons {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    color: #666;
    font-size: 10px;
    margin-top: 5px;
    overflow: hidden;
    padding: 0;
}

.buttons input {
    background: #fff;
    border: 0;
    color: #333;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    margin-left: 3px;
    overflow: visible;
    padding: 2px 6px;
}
.buttons input.delete {
    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.edit {
    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.save {
    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
    padding-left: 28px;
}

/* GENERAL */
li {
    list-style-type: none;
    margin-bottom: 1em;
}
ul {
    padding-left: 0px;
}
img {
    border: 1px solid #000;
}

label{
    display: inline-block;
    width:120px;
}

ul.inline li {
    display: inline;
}

/* MASTHEAD */
#masthead {
    margin-top: 23px;
    background: #FFFFFF url(../images/logo.gif) no-repeat scroll 0 0;
    clear: both;
    position:relative;
    width:100%;    
}
#masthead h1 {
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    text-indent: -9000px;
    height: 122px;
}
#masthead h1 a {
    color: #000;
    text-decoration: none;
}
#masthead ul {
    margin: 2.333em 0 0 0;
    text-align: right;
}

/* NAV WRAP */
#nav-wrap ul {
    margin: 0;
    padding: 0 0 9px 0;
    text-align:center;
    border-bottom: 1px solid #000;
}
#nav-wrap li {
    display: inline-block;
    width: 180px;
    text-align: center;
    border-right: 1px solid #000;
}
#nav-wrap li.last-el {
    border-right: none;
}
#nav-wrap a {
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
}

#content {
    padding-top: 1em;
}

/* FOOTER */
#footer {
    text-align: center;
    border-top: 1px solid #000;
    margin-bottom: 18px;
    margin-top: 18px;
}
#footer ul {
    display: inline;
    padding-left: 119px;
}
#footer li {
    margin-right: 2em;
}
#footer .digital-tomato {
    float: right;
}
#footer .digital-tomato a {
    text-decoration: none;
}

.erroneous  {
    padding: 4px;
    margin-bottom:9px;
    border: 2px solid #9E0005;
}
li .field-helper {
    display:none;
}

li.erroneous .field-helper {
    font-weight: bold;
    color: #9E0005;
    display:block;
    padding: 10px 14px 0px 14px;
    margin: 4px 0px 0px 0px;
    border-top: 1px solid #9E0005;
}

ul.alist li {
    list-style-type: disc;
    margin-left: 1em;
    margin-bottom: 0em;
}

img.the-book {
    float: left;
    margin: 0 18px 18px 0;
}

.button {
    width: 200px;
    text-align: center;
    padding-left: 36px;
    margin: 0;
    display: inline-block;    
}

.button h3 {
    margin: 0;
    padding: 9px;
    color: #fff;
    border: 1px solid #fff;
    background-color: #927D88;    
}