html { font-size: 100%; }
body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 62.5%;
	margin: 0;
	padding: 0;
	background-image: url(../images/page-background.jpg);
}
#container {
	width: 100%;
	margin: 0 auto 0 auto;
}
h1#header {
	margin: 0px;
	height: 95px;
	padding-bottom: 20px;
}
#logo {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	width:406px;
	height:126px;
}
#sm_logo {
	/* display:none; */
	width: 0px;
	height: 0px;
}

#contact_btn_div {
	/*clear:left;*/
 margin:auto;
	width: 100%;
	padding: 30px 0 30px 0;
}
#contact_btn {
	display: block; /* needed for margin:auto to work */
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: #000;
  background: #CCC;
  font-size: 21px;
  padding: 5px 15px 5px 15px;
  /* border: solid #fff 1px; */
  border-radius: 8px;
  text-decoration: none;
  text-align:center;
  
  width: 120px; /* width required for margin:auto to work */
  margin:auto;
}
#contact_btn:hover {
  color: #CCC;
  background: #000;
  text-decoration: none;
}

.contact_and_smlogo{
	display:block;
	width:300px;
	margin-left: auto;	
	margin-right: auto; 
}
@media screen and (max-width: 415px) { /* all iPhones are 414 or less in portrait*/
    #logo {
        width:264px; 
	height: 82px;
	margin-top: 4px;
    }
	h1#header {
		height: 65px;
		padding-bottom: 10px;
	}
}
@media screen and (max-height: 525px) {/*iPhn 4 portrait or any device in landscape*/
    #logo { /* get rid of header and logo */
        width:0px;
		height: 0px;
		margin-left: 0px;
		margin-top: 0px;
		display: none;
    }
	h1#header {
		height: 0px;
		padding-bottom: 0px;
	}
	.contactbtn {
		display:inline-block;
		margin-left: auto;	
		margin-right: auto; 
		margin-top: 5px;
	}
	#contact {
	/*	display:inline-block; */
		margin-left: auto;	
	}
	#sm_logo {
		width: 164px;
		height: 25px;
		margin-top: 5px;
		margin-bottom: -5px;
		margin-left: 78px; /*320(iphn4width) - 164(smlogo.width)=180,half=78 (each margin)*/
		margin-right: auto; 
	}
}

#game {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 0px;
}
#content {
	margin-top: 20px;
}
#content .gradient, #footer {
	font-size: 1.0em;
	/* font-weight: bold; */
	color: #FFF;
}

#main {
	/* width: 442px; */
	display:block;
	margin-left: auto;
	margin-right: auto;
	/* width: 100%; */
	/* margin: 0 10px 0 10px; */
	/* float: left; */
	font-size: 1.2em;
	color: #444;
	margin-top: 30px;
	margin-bottom: 30px;
}
.clear {
	/*No floating elements allowed on either left or right side of <p> element*/
	clear: both; 
}
#content .gradient {
	height: 24px;
	border: 1px solid #191bcb;
	margin: 0;
}

#footer {
	/* display:block; */
display:inline-block;
   /* font-family: 'Open Sans', sans-serif !important; */
   font-size:14px;
	/* margin-bottom: 0px; */
	bottom: 0px;
	/* position: absolute; */
	/* border: 1px solid #666633; */
	height: 20px;
	padding: 0px 0px 10px 0px;
	/* background: #404ac0 url('layout/footer_gradient.png'); */
	width: 100%;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #CCC;
	/* font-size: 100%; */
	/* margin: 0; */
}
#footer a{
        font-size:16px;
	color: #CCC;
	text-decoration: none;
}
#footer a:hover {
    text-decoration: underline;
}
ul#menu {
	margin: 5px 0 5px 0;
	padding: 0;
}
ul#menu li {
	margin-bottom: 4px;
	list-style-type: none;
}
ul#menu li a {
	display: block;
	padding: 3px;
	text-decoration: none;
}
ul#menu li a:hover {
	background-color: #7071ec;
	color: #FFF;
}
ul#menu li.alt a:link, ul#menu li.alt a:visited {
	 background: #CCC;
}
#right .box {
	margin-top: 3px;
	border: 1px solid #AAA;
	background: #DCDCDC;
	color: #333333;
	padding: 4px;
}
#content h1 {
	font-size: 1.8em;
	font-weight: bold;
	border-bottom: 2px dotted #acace5;
}
#content h2 {
	font-size: 1.6em;
	font-weight: normal;
	border-bottom: 1px solid #acace5;
}
#content h3 {
	font-size: 1.3em;
	font-weight: bold;
}
#content img {
	border: 1px dotted #CCC;
	padding: 4px;
	margin: 3px;
}
#main p {
	line-height: 1.8em;
}