html {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 62.5%;
  vertical-align: baseline;	
  line-height: 1;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
}
body {
	background-color: #F7F5F5;
	color: #000000;
	font-size: 14px;
	font-size: 1.4rem;
	font-family: "open sans", sans-serif;
	height: 100%;
	padding: 0px;
	margin: 0px auto 4px auto;
	text-align: center;
	line-height: 1.25em;
	width: 100%;
}
.container {
	width: 98.5%;
	max-width: 1020px;
	min-width: 316px;
	margin: 0px auto 8px auto;
}
#top {
    width: 100%;
    margin: 2px auto 6px;
    text-align: center;
    border-bottom-style: solid;
    border-color: #000000;
    border-width: 1px;
}
#top img {
    width: 100%;
    max-width: 800px;
}
#footer {
    width: 100%;
    margin: auto;
    text-align: center;
    clear: both;
    border-top-style: solid;
    border-color: #000000;
    border-width: 1px;
    font-size: 13px;
}
.contents {
	float: left;	
	width: 96.5%;
	max-width: 800px;
	min-width: 314px;
	text-align: left;
	background-color: #fff;
	border: 1px solid #CCD7E0;
	margin: 0px 0.2% 0px 0.2%;
	padding: 8px 8px 16px;
}

h1 {
	font-weight:600;
	font-size:21px;
	text-decoration:none;
	line-height:120%;
	color:#cc6600;
	margin: 2px 2px 12px;
}

h2 {
	font-weight:600;
	font-size:17px;
	margin: 14px 2px 8px;
}

h3 {
	font-weight:600;
	font-size:14px;
	text-align:left;
	margin: 2px 2px 4px;
}

h4 {
	font-weight: 600;
	font-size: 13px;
	margin: 2px;
	text-align: center;
}

p {
	margin: 2px 2px 8px;
}

.leftdiv {
	float: left;	
	width: 99%;
	max-width: 600px;
}
.leftdiv p {
	margin: 0px 0px 8px;
	padding: 0px;
}

.rightpic {
	float:right;
	width:207px;
	margin-left:4px;
	font-size: 13px;
	font-style: italic;
}

div.light {
	background-color: #eee;
	padding: 1%;
	margin: 1%;
}
div.dark {
	background-color: #ddd;
	padding: 1%;
	margin: 1%;
}

div.form {
    font-weight: normal;
    margin-bottom: 0px;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    margin-left: 0.6%;
}
form.zeroform {
    margin: 0px;
    padding: 0px;
    text-indent: 0px;
}
select, input[type=text], input[type=password], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=date], input[type=time], input[type=datetime], input[type=month], textarea {
    border-color: #0032CA;
    color: #001866;
    font-family: "open sans", sans-serif;
    font-size: 14.5px;
    font-size: 1.45rem;
    border-style: solid;
    border-width: 1px;
    padding: 3px 2px;
}
input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
	cursor: pointer;
	border-style: solid;
	background-color:#cc6600;
}
input.textbox, select.textbox {
    width: 98%;
    max-width: 285px;
}
textarea {
    width: 98%;
    height: 7em;
}
.secret {
    display: none;
}
.button1, .button3, .button4, .button4b, .button5, .button6, .searchbutton {
    border: 1px solid;
    font-size: 14px;
    font-size: 1.4rem;
    font-family: "open sans", sans-serif;
    margin: 5px auto 4px auto;
    padding: 0px 0.5em 0.1em 0.5em;
    font-weight: 600;
    line-height: 24px;
    height: 26px;
    vertical-align: middle;
    border-color: #0032CA;
    color: #000;
    background-color: #E8EFFF;
}
input.button3, select.button3 {
    width: 121px;
}

.clear {
    clear: both;
    padding: 0px;
    margin: 0px;
    font-size: 8px;
}
.red {
	color: #cc0000;
}

ul {
margin-left:5px;
padding:0;
}

li {
margin-left:10px;
margin-top:4px;
margin-bottom:4px;
list-style-position:outside;
list-style-type:disc;
padding:0;
}

.textinput {
font-family:"Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
font-size:100%;
border:1px solid #D1D7DC;
padding-right:3px;
padding-left:3px;
}

.listbox {
font-family:"Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
font-size:100%;
border:1px solid #D1D7DC;
vertical-align:middle;
}

.button {
font-family:Arial, Helvetica, sans-serif;
font-size:100%;
border:1px solid #CCD7E0;
background-image:url(images/button_bg.gif);
background-position:bottom;
}

.comment_button {
font-family:Arial, Helvetica, sans-serif;
font-size:100%;
border:1px solid #CCD7E0;
background-image:url(images/button_bg.gif);
background-position:bottom;
padding-left:3px;
padding-right:3px;
}

a.topnav {
color:#800;
text-decoration:none;
font-size:14px;
font-weight:700;
font-family:Arial, sans-serif;
}

a.topnav:hover {
color:#911;
text-decoration:underline;
}

.album_stat {
font-size:85%;
margin:5px 0;
}

.thumb_filename {
font-size:80%;
display:block;
}

.thumb_title {
font-weight:700;
font-size:100%;
display:block;
padding:2px;
}

.thumb_caption {
font-size:80%;
display:block;
padding:1px;
}

.thumb_num_comments {
font-weight:400;
font-size:85%;
font-style:italic;
display:block;
padding:2px;
}

.user_thumb_infobox {
margin-top:1px;
margin-bottom:1px;
}

.user_thumb_infobox th {
font-weight:700;
font-size:100%;
margin-top:1px;
margin-bottom:1px;
text-align:center;
}

.user_thumb_infobox td {
font-size:85%;
margin-top:1px;
margin-bottom:1px;
text-align:center;
}

.sortorder_cell {
_background:#8AA5B5;
background:#880000;
background-image:url(rubbg.jpg);
background-position:top;
color:#FFF;
margin:0;
padding:0 20px 0 0;
}

.sortorder_options {
font-family:Verdana, Arial, Helvetica, sans-serif;
_background:#8AA5B5;
background:#880000;
background-image:url(rubbg.jpg);
background-position:top;
color:#FFF;
font-weight:400;
font-size:80%;
white-space:nowrap;
margin:0;
padding:0;
}

.navmenu {
font-family:"Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
color:#FFF;
font-weight:700;
_background:#8AA5B5;
background:#880000;
background-image:url(rubbg.jpg);
background-position:top;
border-style:none;
}

.navmenu img {
margin:1px 5px;
}

.navmenu a {
position:relative;
display:block;
text-decoration:none;
color:#FFF;
padding:2px 5px;
}

.navmenu a:hover {
background:#F7F5F5;
text-decoration:none;
color:#000;
}

.admin_menu_thumb {
font-family:Arial, Helvetica, sans-serif;
font-size:90%;
border:1px solid #CCD7E0;
background-image:url(images/button_bg.gif);
background-position:bottom;
color:#000;
font-weight:700;
margin-top:0;
margin-bottom:0;
width:85px;
}

.admin_menu_thumb a {
color:#000;
text-decoration:none;
display:block;
position:relative;
padding:1px 10px;
}

.admin_menu {
font-family:Arial, Helvetica, sans-serif;
font-size:90%;
border:1px solid #CCD7E0;
background-image:url(images/button_bg.gif);
background-position:bottom;
background-repeat:repeat-x;
background-color:#FFF;
color:#000;
margin-top:0;
margin-bottom:0;
text-align:center;
}

.admin_menu a {
color:#000;
text-decoration:none;
display:block;
position:relative;
padding:1px 2px;
}

td #admin_menu_anim {
background-image:url(images/button_bg_anim.gif);
}

.comment_date {
color:#5F5F5F;
font-size:90%;
vertical-align:middle;
}

.image {
border-color:#000;
border-style:solid;
border-width:1px;
margin:2px;
}

.imageborder {
border:1px solid #000;
background-color:#FFF;
margin-top:30px;
margin-bottom:30px;
}

.thumbnails {
background:#F7F5F5;
padding:5px;
}

.footer {
font-size:9px;
}

.statlink {
color:#FFF;
}

.statlink a {
text-decoration:none;
color:#FFF;
}

.statlink a:hover {
color:#FFF;
text-decoration:underline;
}

.catlink {
display:block;
margin-bottom:2px;
font-size:15px;
}

.topmenu {
font-family:"Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
line-height:130%;
font-size:110%;
}

.img_caption_table {
border:none;
background-color:#FFF;
width:100%;
margin:0;
}

.img_caption_table th {
background:#D1D7DC;
font-size:100%;
color:#000;
border-top:1px solid #FFF;
padding:4px 10px;
}

.img_caption_table td {
background:#F7F5F5;
border-top:1px solid #FFF;
white-space:normal;
padding:6px 10px;
}

.debug_text {
border:#BDBEBD;
background-color:#EFEFEF;
width:100%;
margin:0;
}

.clickable_option {
cursor:default;
}

.listbox_lang {
color:#000666;
background-color:#F7F5F5;
border:1px solid #F7F5F5;
font-size:80%;
font-family:Arial, Helvetica, sans-serif;
vertical-align:middle;
}

#vanity a {
display:block;
width:57px;
height:20px;
margin:3px 20px;
}

.radio,.checkbox {
font-family:"Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
font-size:100%;
vertical-align:middle;
}

a,bblink a,.topmenu a {
color:#00C;
text-decoration:none;
}

a:hover,bblink a:hover,.topmenu a:hover {
color:#00C;
text-decoration:underline;
}

.tableh2,.catrow_noalb {
_background:#CBD7DE;
background:#eee8e8;
background-image:url(_bigbg.jpg);
background-position:bottom;
color:#000;
padding:3px 10px;
}

.tableb,.catrow,.display_media {
background:#F7F5F5;
padding:3px 10px;
}

.thumb_caption a,.alblink a,.catlink a {
text-decoration:none;
color:#800;
}

.user_thumb_infobox a,.footer a {
text-decoration:none;
color:#800;
}

.user_thumb_infobox a:hover,.admin_menu_thumb a:hover,.admin_menu a:hover,.footer a:hover,.alblink a:hover,.catlink a:hover {
color:#800;
text-decoration:underline;
}

@media screen and (min-width: 600px) {
	.contents {
		width: 67%;
		margin: 0px 1% 0px 1.5%;
		min-height: 620px;
	}
	.leftdiv {
		width: 160px;
		max-width: 160px;
	}
}
@media screen and (min-width: 700px) {
	.contents {
		width: 71%;
	}
}
@media screen and (min-width: 850px) {
	.contents {
		width: 76%;
	}
}
@media screen and (min-width: 970px) {
	.contents {
		width: 78%;
	}
}
@media screen and (min-width: 1070px) {
	.contents {
		width: 90%;
	}
}