html, body {
	margin:0;
	padding:0;
}
body{
	text-align: center;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Helvetica, Arial, sans-serif;
	background-color: #eee;
	color: #444;
	font-size: 75%;
}
a{
	color: #27D;
	text-decoration: none;
}
a:focus, a:hover, a:active {
	text-decoration: underline;
}
p, li {
	line-height: 1.8em;
}
h1, h2 {
	font-family: "Trebuchet MS", Verdana, sans-serif;
	margin: 0 0 10px 0;
	letter-spacing:-1px;
}
h1 {
	padding: 0;
	font-size: 2em;
	color: #F60;
}
h2 {
	padding-top: 10px;
	font-size:1.3em;
}
pre {
	font-size: 1.2em;
	line-height: 1.2em;
	overflow-x: auto;
}
div#page {
	max-width:1003px !important;
	background-color: #fff;
	margin: 0 auto;
	text-align: left;
	border-color: #ddd;
	border-style: none solid solid;
	border-width: medium 1px 1px;
}
div#container {
	padding: 20px;
}
div#ads {
	clear: both;
	padding: 12px 0 12px 66px;
}
div#footer {
	clear: both;
	color: #777;
	margin: 0 auto;
	padding: 20px 0 40px;
	text-align: center;
}

img{ max-width:100%; height:auto; }

ul.thumbs img{ height:75px !important; }

@media only screen and (max-width: 320px) {
ul.thumbs li.selected a.thumb{ background:none !important; border:1px #fff solid; margin:-1px;}
ul.thumbs{ clear:both; float:none; padding:0 !important; margin:5px 0 !important;}
ul.thumbs img{ max-width:100% !important;  float:left;height:30px !important;}
ul.thumbs li{ float:left; width:22.5%;}
div.slideshow-container{  height:25em !important ;} 
div.caption-container, span.image-caption{ clear:both; width:99% !important ; margin-top:25px; float:none;  float:none !important;}
.advance-link img{ width:280px; height:180px; position:absolute; left:0; top:10px;}
div.navigation{ padding:0; margin:0;}
div.navigation-container{padding:0; margin:0;  }

div.navigation a.prev, div.navigation a.next{ display:none !important; }
ul.thumbs li.selected a.thumb{ overflow:hidden;}
.image-title{ float:left; width:40px;}
.image-desc{ float:left; width:80%;  padding:3px 0 0 0 !important; margin:0 !important; line-height:14px; }


}
@media only screen and (min-width: 321px) and (max-width: 480px){
ul.thumbs{ clear:both; float:none; padding:0 !important; margin:10px 0 !important;}
ul.thumbs li.selected a.thumb{ background:none !important; border:1px #fff solid; margin:-1px;}
ul.thumbs img{ max-width:100% !important;  float:left;height:45px !important;  }
ul.thumbs li{ float:left; width:22.5%;}
div.slideshow-container{  height:25em !important ;} 
div.caption-container, span.image-caption{ clear:both; width:99% !important ; margin-top:25px; float:none;  float:none !important;}
.advance-link img{ width:300px; height:200px; position:absolute; left:2%; top:15px;}
div.navigation{ padding:0; margin:0;}
div.navigation-container{padding:0; margin:0;  }

div.navigation a.prev, div.navigation a.next{ display:none !important; }
ul.thumbs li.selected a.thumb{ overflow:hidden;}
.image-title{ float:left; width:40px;}
.image-desc{ float:left; width:80%;  padding:3px 0 0 0 !important; margin:0 !important; line-height:14px; }

}

@media only screen and (min-width: 481px) and (max-width: 770px) {
ul.thumbs{ clear:both; float:none; padding:0 !important; margin:10px 0 !important;}
ul.thumbs img{ max-width:100% !important;  float:left;}
ul.thumbs li{ float:left; width:22.5%;}
div.slideshow-container{  height:52em !important ; } 
div.caption-container, span.image-caption{ clear:both; width:99% !important ; margin-top:15px; float:none;  float:none !important;}
.advance-link img{ width:520px;  position:absolute; left:2% !important; top:10px; }
div.navigation{ padding:0; margin:0;}
div.navigation-container{padding:0; margin:0;  }

div.navigation a.prev, div.navigation a.next{ display:none !important; }
ul.thumbs li.selected a.thumb{ overflow:hidden;}
.image-title{ float:left; width:40px;}
.image-desc{ float:left; width:80%;  padding:3px 0 0 0 !important; margin:0 !important; line-height:14px; }

}

@media only screen and (min-width: 771px) and (max-width: 960px) {		

ul.thumbs{ clear:both; float:none; padding:0 !important; margin:10px 0 !important;}
ul.thumbs img{ max-width:100% !important;  float:left;}
ul.thumbs li{ float:left; width:20%;}

div.caption-container, span.image-caption{ clear:both; width:99% !important ; margin-top:15px; float:none;  float:none !important;}
.advance-link img{   position:absolute; left:8%; top:5px;}
div.navigation{ padding:0; margin:0;}
div.navigation-container{padding:0; margin:0;  }

div.navigation a.prev, div.navigation a.next{ display:none !important; }
ul.thumbs li.selected a.thumb{ overflow:hidden;}
.image-title{ float:left; width:40px;}
.image-desc{ float:left; width:80%;  padding:3px 0 0 0 !important; margin:0 !important; line-height:14px; }
}
@media only screen and (min-width: 961px) and (max-width: 1024px) {		
ul.thumbs li{ float:left; width:20%; height:50px; }
}

