@charset "utf-8";

/* set up the fonts */
body{
	font-family:Verdana, sans-serif;
}
h1,h2,h3,h4{
	font-family:Georgia, serif;
}

/*style a few links */
.box a{
	color:#212020;
	text-decoration:none;
}
.box a:hover{
	text-decoration:underline;
}



box {
float: left;
margin: 6px; /* tweak this to fit screen */
padding: 10px;
width: 285px; height: 315px;
border: 1px solid black;
background-color: white; /* this is new! */
}

/* position the content */
.wrapper{
margin:0 auto;
width:960px;
padding:0 10px;
}

#content{
float:left;
width:100%;
background-color:#F0ECEC;
}

/* style the header and footer */
#footer, #header{
	float:left;
	clear:both;
	padding: 10px;
	text-align:center;
	width:100%;
}

/* create the floating boxes */
.box {
   float: left;
   margin: 5px;
   padding: 10px;
   width: 285px;
   height: 315px;
   border: 1px solid black;
} 
/* style the box content */ 
.box img{
	width: 280px; /* alternatively set the image width in your HTML */
}
.box h3, .box p{
	text-align:center;
}

@media screen and (max-width: 640px){
.wrapper{
width:320px;
}
h1, h2, h3, h4, p{
word-wrap:break-word;
}
#header{
padding:0;
}
}