body {
background:url(backdrop.jpg) #ffdab6;
background-size:cover;
background-attachment:fixed;
text-align:center;
margin:35px 0px;
}

body, html, p, td, div, input, select, textarea {
font-family:'Source Sans Pro';
font-size:15px;
line-height:1.2;
}

img {
border:none;
}

b {
font-weight:800;
}

li {
padding-bottom:5px;
}

h1, h2, h6 {
margin:25px 0px 5px 0px;
font-size:25px;
font-weight:bold;
line-height:1;
}

h2 {
margin:25px 0px 0px 0px;
}

h6 {
margin:0px;
font-size:100%;
font-style:italic;
font-weight:normal;
}

a {
text-decoration:underline;
color:#0000CC;
outline:none;
}

a:hover {
text-decoration:underline;
color:#37442c;
}

#layout {
width:100%;
max-width:875px;
border:1px solid #ffffff;
box-sizing:border-box;
margin:auto;
text-align:left;
background:#ffffff;
border-radius:7px 7px 0px 0px;
box-shadow:0px 10px 40px #564D45;
}

#header {
position:relative;
height:125px;
background:url(site-header.jpg) bottom no-repeat;
}

#header a {
position:absolute;
bottom:0px;
left:0px;
}

#site-enidblyton {
width:100%;
max-width:520px;
display:block;
}

#site-lashings {
position:absolute;
bottom:13px;
right:30px;
border:none;
}

#navbar {
background:#2840a8;
background:linear-gradient(#425fdd, #2840a8);
padding:0px 10px;
line-height:2;
color:#bfb6ae;
}

#navbar span {
float:right;
}

#navbar a {
color:#ece1d7;
text-decoration:none;
font-weight:800;
padding:0px 3px;
}

#navbar a:hover {
color:#ffffff;
text-shadow:0px 0px 6px #ffffff;
}

#page {
display:table;
background:#ffffff;
width:100%;
height:5px;
border-bottom:5px solid #2840a8;
}

.table-row {
display:table-row;
}

#leftside {
display:table-cell;
vertical-align:top;
width:185px;
text-align:center;
padding:0px 0px 50px 0px;
background:#adc8ff;
}

#leftside div {
margin:10px 10px 0px 10px;
font-size:25px;
line-height:2;
color:#856c56;
}

#leftside a {
display:block;
margin:5px 20px;
}

#banner {
width:171px;
height:204px;
margin:5px;
}

.button {
display:block;
margin:20px auto 5px auto;
}

.style {
border:2px solid #ffffff;
box-shadow:0px 0px 8px #888888;
}

#content {
display:table-cell;
vertical-align:top;
padding:0px 25px 50px 25px;
}

#quick-change {
margin-top:25px;
}

#book-list {
border-spacing:15px;
}

#book-list td {
padding:0px;
}

#book-list td.bl1 {
vertical-align:top;
}

#book-list td.bl2 {
vertical-align:middle;
}

.menu-item {
display:block;
padding:7px 0px 0px 0px;
line-height:1;
}

.menu-subitem {
display:block;
font-size:80%;
line-height:1;
}

#mobile-menu {
display:none;
margin:-30px 40px 40px 40px;
font-size:15px;
line-height:1.2;
}

#illustrations {
float:right;
width:125px;
margin:25px 0px 15px 25px;
}

#illustrations p {
margin:30px 2px;
font-size:80%;
line-height:1.1;
text-align:center;
color:#666666;
}

#illustrations img {
margin:0px 0px 5px 0px;
}

#text-with-illustrations {
margin:25px 0px 0px 0px;
width:auto;
}

#text-with-illustrations-hidden {
margin:25px 0px 0px 0px;
}

#footer {
color:#000000;
padding:20px;
}

#footer span {
white-space:nowrap;
}

#buttons {
margin:10px 0px 0px 0px;
}

#buttons span {
display:inline-block;
vertical-align:top;
margin:12px;
text-align:center;
font-weight:bold;
}

#buttons span img {
width:100px;
display:block;
margin:auto;
border-radius:5px;
box-shadow:0px 0px 8px #888888;
}

.img-float-right {
float:right;
margin:0px 0px 15px 15px;
text-align:center;
}

.img-float-left {
float:left;
margin:0px 15px 15px 0px;
text-align:center;
}

.img-center {
text-align:center;
}


/* rules for smaller screens */

@media (max-width:875px) {


body {
background:#ffffff;
}

#layout {
border:none;
border-radius:0px;
box-shadow:none;
}

#buttons span {
margin:10px 5px;
font-weight:normal;
}

#buttons span img {
width:90px;
}

}

@media (max-width:800px) {

#site-lashings {
display:none;
outline:1px solid red;
}

#leftside {
display:none;
}

#mobile-menu {
display:block;
}

.menu-item {
padding:7px 0px 0px 0px;
line-height:1.2;
}

.menu-subitem {
font-size:100%;
padding:0px 0px 0px 15px;
line-height:1.2;
}

}

@media (max-width:550px) {

body {
margin:20px 0px 0px 0px;
}

#navbar span {
float:none;
position:absolute;
top:10px;
right:10px;
}

#navbar span a {
color:#888888;
outline:none;
}

#navbar span a:hover, #navbar span a:active {
color:#000000;
}

#illustrations {
display:none;
}

#quick-change select {
width:100%;
}

}

@media (max-width:400px) {

body {
margin:10px 0px 0px 0px;
}

h1, h2 {
font-size:20px;
}

#header {
height:115px;
}

#navbar span {
top:2px;
}

.img-float-right, .img-float-left, .img-center {
float:none;
display:block;
margin:25px auto;
}

}
