/*----------------------------------*/
/* Basic setup*/
/*----------------------------------*/
/* reset styles to get a common starting point */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
        margin: 0;
        padding: 0;
        border: 0;
        font-weight: inherit;
        font-style: inherit;
        font-size: 100%;
        font-family: inherit;
        vertical-align: baseline;
}

body {
        /*font-family: "Georgia", "Palatino", "Times New Roman", serif;*/
        font-family: "Times New Roman", serif;
        /*font-family: "Verdana", sans-serif;*/
        /*font-family: "Lucida Grande", sans-serif;*/
        font-size: 100%;
}

/*----------------------------------*/
/* Title lines */
/*----------------------------------*/
.pageTitle {
    text-align: center;
    font-size: x-large;
    font_wieght: bold;
    color: green;
    margin:10px;
}
div.section-title {
    background-color:#ddd;
    /*text-align:center;*/
    padding: 0px 0px 0px 30px;
    margin: 10px 0px 0px 0px;
}
#popupMessageBox {
    display:none;
    background-color:#ffaaaa;
    color:black;
    position:absolute;
    font: bold 14pt Verdana, Ariel, sans-serif;
    padding:5px;
    top:5px;
    left:5px;
}

/*----------------------------------*/
/* page section*/
/*----------------------------------*/
.page-section {
    border:4px solid #ddd;
    margin:0px 0px 5px 0px;
    padding:0px;
    /*max-height:400px;*/
    overflow:auto;
}
div.section-table {
    height:350px;
    margin:10px;
    border:1px solid #aaa;
    overflow:auto;
}
div.control-box {
    background-color:#fff;
}

/*----------------------------------*/
/* controls box*/
/*----------------------------------*/
div.controls-box {
    margin:5px 10px 10px 10px;
    /*border: 1px solid #aaa;*/
    float: left;
}
div#books-edit-form {
    float:left;
}
div#books-edit-buttons {
    float:left;
    border: 1px solid gray;
}
div.page-section input {
    margin:8px;
}

/*----------------------------------*/
/* form edit boxes */
/*----------------------------------*/
div.edit-form {
    /*display:none;*/
    /*margin:10px 0px;*/
    /*padding:5px;*/
    border: 1px solid #aaa;
}
div.edit-form input {
    margin-top:5px;
    margin-bottom:5px;
    margin-left:7px;
    margin-right:5px;
}
div.edit-form input.tightRight {
    margin-right:0px;
}
div.edit-form input.tightLeft {
    margin-left:0px;
}
div.edit-form .form-title {
    background-color:#ddd;
    text-align:center;
}
.text-input-title {
    margin-left:7px;
    vertical-align:top;
}

/*----------------------------------*/
/* Main table */
/*----------------------------------*/
table.booktable {
    border-collapse:collapse;
    /*border: 2px solid gray;*/
}

/****** Table rows ******/
table.booktable tr.selected {
    background-color: #ddd;
}

/****** Table cells ******/
table.booktable td, table.booktable th {
    text-align: left;
    padding: 2px 10px 2px 5px;
}

table.booktable th {
    background-color: #ccc; /* gray */
    text-align: left;
    border: 1px solid gray;
}
table.booktable td {
    /*padding: 4px 5px 4px 5px;*/
    border: 1px solid gray;
}
table.booktable .hover {
    color: white;
    background-color: #888;
}


/*----------------------------------*/
/* alternating table row colors */
/*----------------------------------*/
.odd {
    background-color: #ffc; /* pale yellow */
}
.even {
    background-color: #cef; /* pale blue */
}

/*----------------------------------*/
/* utilities */
/*----------------------------------*/
.clickable {
    cursor: pointer;
}
.centered {
    text-align: center;
}

/*----------------------------------*/
/* two or three column layout */
/*----------------------------------*/
.leftSideDiv {
    border: solid 2px #ddd;
    width: 200px;
    margin: 10px;
}
.middleWithBoth {
    margin-left: 220px;
    margin-right: 220px;
    /*min-width: 350px;*/
}
.leftSideBar {
    float: left;
    width: 200px;
    /*border: solid 2px #eee;*/
}
.rightSideBar {
    float: right;
    margin-left: 20px;
    width: 200px;
    border: solid 2px #ccc;
}
.middleWithLeft {
    margin-left: 220px;
}
.middleWithRight {
    margin-right: 220px;
}

