﻿/* BasicRWD CSS - CSS styles for Responsive Web Design */
/* Copyright (c) 2015 by David Ball - all rights reserved */

* { box-sizing: border-box; } /* Include border in box size */


/* note RWD is based on a 12 column approach */

/* For mobile phones: width is always 100% */
[class*="col-"] {
    width: 100%;
}

/* for tablets or screen wider than 600 pixels */
@media only screen and (min-width: 600px) {
    .col-m-1 {width: 8.33%;}
    .col-m-2 {width: 16.66%;}
    .col-m-3 {width: 25%;}
    .col-m-4 {width: 33.33%;}
    .col-m-5 {width: 41.66%;}
    .col-m-6 {width: 50%;}
    .col-m-7 {width: 58.33%;}
    .col-m-8 {width: 66.66%;}
    .col-m-9 {width: 75%;}
    .col-m-10 {width: 83.33%;}
    .col-m-11 {width: 91.66%;}
    .col-m-12 {width: 100%;}
}

/* for desktops or screen wider than 768 pixels */
@media only screen and (min-width: 768px) {
	.col-1 {width: 8.33%;}
	.col-2 {width: 16.66%;}
	.col-3 {width: 25%;}
	.col-4 {width: 33.33%;}
	.col-5 {width: 41.66%;}
	.col-6 {width: 50%;}
	.col-7 {width: 58.33%;}
	.col-8 {width: 66.66%;}
	.col-9 {width: 75%;}
	.col-10 {width: 83.33%;}
	.col-11 {width: 91.66%;}
	.col-12 {width: 100%;}
}

[class*="col-"] {
    float: left;
    padding: 1em;
    border: none;
}

/* use 100% if lesss than 800 pixels */
@media only screen and (max-width: 799px) {
    div.fullpagediv {
		max-width:100%;
		padding:5px;
	    margin-top:0px;margin-bottom:0px;margin-left:auto;margin-right:auto;
	    border:0px;

    }
}


/* drop down to 800 if 801 or more */
@media only screen and (min-width: 801px) {
    div.fullpagediv {
		max-width: 800px;
		padding:5px;
	    margin-top:0px;margin-bottom:0px;margin-left:auto;margin-right:auto;
	    border:0px;
    }
}

/* drop down to 960 if 961 or more */
@media only screen and (min-width: 961px) {
    div.fullpagediv {
		max-width: 960px;
		padding:5px;
	    margin-top:0px;margin-bottom:0px;margin-left:auto;margin-right:auto;
	    border:0px;
    }
}


/* clear the flow after each row */

div.row:after {
    content: "";
    clear: both;
    display: block;
}


span.RecentlyAddedToDatabase {
	color: #800080;
	background-color: #FFFF99;
	font-size: small;
	text-transform: uppercase;
	font-weight: bold;
}

/* set default values for page, including font info */
BODY {
	/* note: CSS defaults font-size to 16 px */
	font-family: "Comic Sans MS", Helvetica, Arial, sans-serif;
	font-style:normal;
	text-transform:none;
	text-decoration:none;
	color: black;
	background-color: #ffffcc;
	margin:0px 0px 0px 0px;
	padding:5px 5px 5px 5px;
	border:4px black double;
}
A:visited, A:link, A:hover, A:active {
	font-weight: bold;
	background: transparent;
}
A:visited, A:active {
	color: #800000;
	text-decoration: none;
}
A:link {
	color: #804040;
	text-decoration: none;
}
A:hover {
	color: #804040;
	text-decoration: underline;
}
H1, H2, H3, H4, H5, H6 {
	color: #545799;
	background: transparent;
	font-weight: bold;
	line-height: 100%;
	margin-top: 3px;
	margin-bottom: 3px;
}
h1 {clear:both}

HR {
	color: #000000;
}

.BookHeading {
	color: #ffffff;
	font-weight: bold;
	background: #545799;
}
/* formatting for menu bars */
.MenuTable, .MenuTable A, .MenuTable A:link, .MenuTable A:visited, .MenuTable A:active, .MenuTable P {
	background: maroon;
	color: white;
	font-weight: bold;
	font-family: Arial, Helvetica, Geneva, Swiss, sans-serif;
	font-size: small;
	text-align: center;
}
TABLE.MenuTable {
	color: #000000;
	line-height: 100%;
	background-color: maroon;
	margin-right: 0px;
	margin-left: 0px;
	padding-right: 4px;
	padding-left: 4px;
	border: solid 2px black;
	text-align: center;
	clear: both;
	float: none;
}
TD.MenuTable {
	color: #000000;
	background-color: maroon;
	padding-right: 10px;
	padding-left: 10px;
	border-left: 5px solid black;
	text-align: center;
}
TD.MenuTableLeft {
	border-right: 1px solid purple;
}
TD.MenuTableRight {
	border-left: 5px solid black;
}
/* formatting for tables which replace buttons */
.ButtonTable, .ButtonTable A, .ButtonTable A:link, .ButtonTable A:visited, .ButtonTable A:active {
	color: yellow;
	font-family: Verdana, Arial, Helvetica, Geneva, Swiss, sans-serif;
	font-weight: bold;
	font-size: small;
	line-height: 100%;
	background: #545799;
	border-right: 1px solid black;
	border-left: 1px solid black;
}
/* formatting for tables which replace buttons */
.ButtonTable2, .ButtonTable2 A, .ButtonTable2 A:link, .ButtonTable2 A:visited, .ButtonTable2 A:active {
	background: black;
	color: yellow;
	font-family: Verdana, Arial, Helvetica, Geneva, Swiss, sans-serif;
	font-weight: bold;
	font-size: small;
	line-height: 100%;
	border-right: 1px solid black;
	border-left: 1px solid black;
}
/* formatting for leadin to book review links */
span.BookReviewLinkLeadin {
	font-weight: bold;
}
/* formatting for book review links */
A.BookReviewLink, A:visited.BookReviewLink {
	color: #FFFF00;
	font-family: Verdana, Arial, Helvetica, Geneva, Swiss, sans-serif;
	font-weight: bold;
	font-size: smaller;
	background: #990033;
	border-right: 1px solid #000000;
	border-left: 1px solid #000000;
	text-transform: uppercase;
}
/* formating for book data table */
TABLE.BookDataTable {
	border-style: none;
}
.BookTitle {
	font-weight: bold;
}
.BookInfoDetail {
	font-size: smaller;
}
/* formating for author index table on author pages */
TABLE.AuthorIndex {
	border: 1px solid #990033;
	text-align: center;
	width: 125px;
}
TD.AuthorIndexHeading {
	color: #FFFFFF;
	background-color: #000000;
	width: 100%;
	font-size: smaller;
}
/* formatting for author picture and caption */
div.authorpic {
	border-style: outset;
	border-width: 1px;
	float: left;
	background-color: #FFCC66;
	text-align: center;
	margin-right: 1em;
}
div.authorpic address {
	color: #800000;
	font-weight: bold;
	font-size: smaller;
}
div.BookBlurb {
	padding: 0em 0.5em 0em 0.5em;
	margin: 0px 10% 0px 10%;
	text-indent: 0.25in;
	font-family: Georgia, serif;
	background-color: #CCCCFF;
	font-size: medium;
	text-decoration: none;
}
table.centered, p.centered, div.centered, td.centered thead.centered {
	text-align: center;
}
img.noborder {
	border: 0px;
}
td.width34pc {
	width: 34%;
}
td.width37pc {
	width: 37%;
}
td.width100pc, thead.width100pc {
	width: 100%;
}
table.pageheaderfullwidth {
	width: 100%;
}
table.pageheaderfullwidth, table.pageheaderfullwidth tr, table.pageheaderfullwidth tr td, table.pageheaderfullwidth tr td p, table.pageheaderfullwidth tr td p a, table.pageheaderfullwidth tr td p a img {
	margin: 0px;
	padding: 0px;
	border: 0px;
	clear: both;
	border-spacing: 0px;
	vertical-align: top;
	text-align: center;
}
table.centeredwidth100pc {
	width: 100%;
	text-align: center;
	display: table;
	clear: both;
	border-spacing: 1px;
}
div.centeredwidth100pc {
	width: 100%;
	text-align: center;
}
hr.notoppadding {
	margin: 0px;
	padding: 0px;
	color: black;
}
p.verticalmenuparagraph {
	margin: 3px;
	padding: 0px;
}
/*------------------------------------------------------------------*/
/*                                                                  */
/* FROM THIS POINT ON IS EXPERIMENTAL - NOT USED IN PRODUCTION SITE */
/*                                                                  */
/*------------------------------------------------------------------*/
/*class="noborder"*/
/* container to make display area 800 (775) pixels wide */
/*.container800 {width:775px; border-width:0px 1px 0px 1px; border-color:#000000; border-style:solid; margin:0px 0px 0px 0px; padding:0px 0px 0px 0px}*/
/* formatting for shadowed divisions */
/*
.NoBorderMargin {border-color:#000000;  border-width: 0px 0px 0px 0px; border-style:none; margin:0px}
#shadowbox1 {background:#708090; position:relative; border:none; margin-right: 7px; margin-top: 7px;}
#shadowbox2 {position:relative; left: +7px; top: -7px; background: #ffffcc; z-index:2; border-width:2px 2px 2px 2px; border-color:black}
*/

.BookBoxParagraph 
(
	padding-left: 2em;
	text-indent: -2em;
}
