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

#maincontent, #header, #footer {
    padding: 0 20px;
}
 
#header {
    background-color: #8bbbd1;
    margin-bottom: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
} 

#footer {
    /*
    border-top: 1px rgb(201, 215, 241) solid;
    */
    color: #666;
    margin-top: 10px;
    padding-top: 10px;
    text-align: center
}

a:link {
    color: #588ba0; 
} 

a:visited {
    color: #8bbbd1;
}
 

ul {
    list-style: none;
    text-indent: -1em;
}

#warning {
    padding: 20px 0px 20px 0px; 
    color: #333;
    font-size: large;
} 

#acknowledgement {
    padding: 20px 0px 20px 0px;
    color: #333;
    font-size: large;
} 

div#spinner {
  background-color: rgba(55, 46, 74, 0.8);
  position: absolute;
  width: 100px;
  height: 100px;
  top: 225px;
  left: 50%;
  margin-left: -300px;
  display: none;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius:20px;
}

div#spinner img {
  margin: 34px;
}

div#loader {
  background-color: rgba(55, 46, 74, 0.8);
  width: 100px;
  height: 100px;
  display: none;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius:20px;
}

div#loader img {
  margin: 34px;
}

div#sponsor {
  text-align: center;
  padding: 6px;
  width: 300px;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
}


/* font sizes */

.xxsmall {
    font-size: xx-small;
}

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

.small {
    font-size: small;
}

.medium {
    font-size: medium;
}

.large {
    font-size: large;
}

.xlarge {
    font-size: x-large;
}

.xxlarge {
    font-size: xx-large;
}


/* colors */

.white {
    color: #fff;
}

.red {
    color: #ff1f0f;
}

.darkBlue {
    color: #09526d;
}

.lightGray {
    color: #ccc;
}

.gray {
    color: #999;
}

.green {
    color: #009d57;
}


/*
  image drop shadows
  based on: http://www.alistapart.com/articles/cssdropshadows/
*/

.img-shadow {
  float:left;
  background: url(../images/shadow_alpha.png) no-repeat bottom right !important;
  background: url(../images/shadow.gif) no-repeat bottom right;
  margin: 10px 0 0 10px !important;
  margin: 10px 0 0 5px;
}

.img-shadow img {
  display: block;
  position: relative;
  background-color: #fff;
  border: 1px solid #a9a9a9;
  margin: -6px 6px 6px -6px;
  padding: 4px;
} 


/* for index page book carousel */

#books ul {
    list-style-type: none;
}

#books ul li {
    float: left;
    padding: 10px;
}

a.prev {
    float: left;
    text-decoration: none;
    color: #ff1f0f;
}

a.prev:hover {
    color: #009d57;
}

a.next {
    float: right;
    text-decoration: none;
    color: #ff1f0f;
}

a.next:hover {
    color: #009d57;
}


/*
  buttons
  based on: http://particletree.com/features/rediscovering-the-button-element/
*/

.buttons a, .buttons button{
    display:block;
    float:left;
    margin:0 7px 0 0;
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;

    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:100%;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
}

.buttons button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}

.buttons button[type]{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}

*:first-child+html button[type]{
    padding:4px 10px 3px 7px; /* IE7 */
}

.buttons button img, .buttons a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}

/* standard buttons */

button:hover, .buttons a:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}

.buttons a:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}

/* positive buttons */

button.positive, .buttons a.positive{
    color:#529214;
}

.buttons a.positive:hover, button.positive:hover{
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}

.buttons a.positive:active{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}

/* negative buttons */

.buttons a.negative, button.negative{
    color:#d12f19;
}

.buttons a.negative:hover, button.negative:hover{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}

.buttons a.negative:active{
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}
