

h1, p, body, html {
	margin:0;
	padding:0;
	min-width: 210px;
	background: #FFFFFF;
}

h2 {
font-weight: bolder;
font-size: 19px;
}
.share-heading {
	text-align: center;
	font: 15px Verdana, Helvetica, sans-serif;
	font-weight: bold;
	color: #C20000;
	text-transform: uppercase;
	margin-bottom: 2px;
	}
.share-bottom {
	text-align: left;
	}

a { color: #920000; text-decoration: none; -webkit-transition: all 0.2s linear; -moz-transition: all 0.2s linear; -o-transition: all 0.3s linear; transition: all 0.3s linear; }
a:hover { color: #D00000; }

img {
   border: none;
}
/**Responsive Image Thumbnails**/
.container {
    width: 80%;
    margin: 30px auto;
    overflow: hidden;
}
.galleryItem {
    color: #797478;
    font: 10px/1.5 Verdana, Helvetica, sans-serif;
    float: left;
	width: 21%; /***For 5 Column use 16%***/
    margin:  2% 2% -10px 2%;
	height: 310px;
}
/* MEDIA QUERIES*/
@media only screen and (max-width : 940px),
only screen and (max-device-width : 940px){
    .galleryItem {width: 21%;}
}
 
@media only screen and (max-width : 720px),
only screen and (max-device-width : 720px){
    .galleryItem {width: 29.33333%; height: 290px; }
}
 
@media only screen and (max-width : 530px),
only screen and (max-device-width : 530px){
    .galleryItem {width: 46%; height: 350px; }
}
 
@media only screen and (max-width : 295px),
only screen and (max-device-width : 295px){
    .galleryItem {width: 96%; height: 100%;}
    .galleryItem img {width: 75%; margin: 0 auto;}
    .galleryItem h3 {font-size: 18px;}
    .galleryItem p {font-size: 18px;}
}
 /******************END MEDIA QUERIES*****************/
.galleryItem h3 {
    text-transform: none;
}
 
.galleryItem img {
    max-width: 100%;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 3px 3px 4px #000;
    -webkit-box-shadow: 3px 3px 4px #000;
    box-shadow: 3px 3px 4px #000;
/* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
/* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');
}
/**************************************************/


.shadow img {
-moz-box-shadow: 3px 3px 4px #000;
-webkit-box-shadow: 3px 3px 4px #000;
box-shadow: 3px 3px 4px #000;
/* For IE 8 */
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
/* For IE 5.5 - 7 */
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');
}

.maxwidth {
    margin: 0 auto;
	width: auto;
	max-width: 520px;
	text-align: center;
}
#headerlogo {
	float:left;
	background: url(logo.jpg) no-repeat;
	padding:0px;
	height: 86px;
	width: 218px;
	min-width: 280px;
	margin-left: 10%;
	margin-top: 10px;
	}
#headerbg {
	height:116px;
	background:url(header.gif) repeat-x;
	text-align:center;
	width: 100%;
	min-width: 280px;
	font-size: 38px;
	font-weight: bold;
	-moz-box-shadow: 0px 1px 4px #000;
	-webkit-box-shadow: 0px 1px 4px #000;
	box-shadow: 0px 1px 4px #000;
	}
#header-content {
	margin: 0 auto;
	text-align:center;
	padding:0px;
	height:auto;
	width: 880px;
	min-width: 280px;
	background: url(main.gif) no-repeat;
	background-position: center bottom;
	max-width: 950px;
	}
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
#header-left {
	float:left;
	width: auto;
	height: auto;
	padding: 20px;
	padding-top: 36px;
	text-align: center;
	margin-top: 5px;
	text-align: center;
	font-size: 30px;
	font-weight: bold
}

#header-right {
	display: block;
	float: right;
	width: 280px;
	height: 125px;
	padding: 3px;
	text-align: center;
	margin-top: 5px;
	margin-bottom: 30px;
}
.fade:hover {
	opacity: 0.5;
	-webkit-opacity: 0.5;
	-moz-opacity: 0.5;
	filter: alpha(opacity=50);
}
#chaptercontent {
	text-align:center;
	padding:25px;
	text-align:center; 
	color:#232323;
	min-width: 210px;
}
#description {
	text-align: justify;
	font-size: 15px;
	font-weight: 500;
}
.hidestuff {visibility:hidden;}
/********FOOTER STUFF*************/
#footer {
	display: table;
	background:url(ftr.gif) repeat-x; height:53px; color:#fff; 
	min-width: 280px;
	width: 100%; 
	text-align: center;
	}
.footer-content {
	color:#FFFFFF; 
	text-shadow: 0px 0px 0px #FFF;
	display: table-cell;
	vertical-align: middle;
	}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {
#header-content {
	width: 94%;
	margin-bottom: 30px;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
}
#header-left {
	width: auto;
	float: left;
}
#header-right {
	width: 280px;
	float: right;
}

}

/* for 880px or less */
@media screen and (max-width: 880px) {

#header-left {
	width: auto;
	float: none;
}
#header-right {
	width: 280px;
	float: none;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px
}

}

}
/*****************************************end media queries*****************************************/