/* settings */

body {	font-family: 'Just Me Again Down Here', cursive; font-weight: 400; font-size:100%;
}
.left {float: left; max-width:60%; margin-left:2px; padding:4px;
}
.right {float: right; margin-right:2px; padding:4px;
}
.center {text-align: center; margin:0 auto;
}

.center img {max-width:300px; max-height:400px; }
.right  img {max-width:300px; max-height:400px; }
.left  img {max-width:300px; max-height:400px; }

/* global */

ol, ul {list-style: none;} caption {vertical-align:text-bottom; }
h3, h4, h5, h6 {line-height:1.20em; padding-left:0.32em; } h1,h2 {padding-left:12px; } p {line-height:1.2em; font-size:115%; padding-left:0.32em;}
hr {border-top: 1px dashed #843; }

/* unique */

#picturebox {
   width:1022px;
   float: left;
   display: inline-block;
}
#picturebox td, th { text-align: center; vertical-align: middle; width:337px; }
#picturebox img {max-width:300px; max-height:400px; }
.bg1 {background:#444; }
.bgf {background:#eef; }
.bgred {background:#930; }
.bgaa4 {padding:0; }
.med {margin:22px auto; max-width:92% }
.bgaa4 a {display:block; height:1.42em; color:blue; background:#aa5; font-size:22px; padding:0 4px; }
.grid-10.bgpaper {background:#e3f6ce; }
.bgx {background:transparent;  }
.bgx p {font-size:122%; margin-top:-12px; }
.fs20 {font-size:20px; }
.white {color:white; font-size:18px; }
.white a {color:white; font-size:18px; }
.clearfix {clear:both;}
.foota {vertical-align:top; color:white; }
.brown {color:brown; }
.black {color:black; }
.brdbw p{height:30px; width:auto; background:url(img/brdbw.png); padding:6px;}
.imgbtm {height:29px; margin-bottom:-5px; }
//.brdbw p {margin-top:-3px; }
/*end unique */
.header {max-height:168px; }
.righttop {float:right; position:relative; top:-138px; right:0; }
#navig {display:block; margin-left:-2.68em; }
#navig li {margin-bottom:3px; }
#navig a {display:block; height:1.42em; color:blue; background:#aa5; font-size:22px; padding:0 4px; }
#navig a:hover {background:#efa; }
#navig a:visited {color:blue; }

.foot {background:#971; height:168px; }
.container {
       margin:10px auto;
       width:1024px;
	height: 100%;
}
.grids {
  min-width:101%;
  margin-left: 1.65%;
  list-style: none;  /* Makes grids out of lists. */
  overflow: hidden;  /* Clears floats */
}
 .grids [class*="grid-"] {
  display: inline-block;
  margin-top:2px;
  -webkit-box-sizing: border-box; /* Give padding & borders to grids without breaking. IE8+ */
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: top;
  border: 2px solid white;
  
}
/* .grids [class*="grid-"] :last-child {margin-left: 0px;}
.grids [class*="grid-"] :first-child {margin-right: 0px;} */



/* Grids */
.grid-10 {
  width: 1022px;
  background:#5d5e5a;
  padding:5px;
  color:#eeeeee;
}
.copyright {height:4em; margin-bottom:1em; }
