@media only screen and (max-width: 768px) {
#wrapper0 {
	text-align: left;
	width: 100%;
	max-width: 768px;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	display: inline-block;
}
#wrapper0a {
	position: relative;
	height: auto;
	width: 100%;
	left: 0px;
	top: 0px;
	overflow: visible;
}
#wrapper0b{
	float: left;
	width: 100%;
	display: inline-block;
	margin: 0px;
}
#header {
	width: 100%;
	float: left;
	height: auto;
	font-family: "Impact", "Arial Narrow", "Helvetica Narrow", sans-serif;
	font-size: 12px;
	color: #FFF;
	padding-top: 7px;
	letter-spacing: 1px;
	text-align: center;
	overflow: hidden;
}
.spacer {
	padding-left: 5px;
	padding-right: 5px;
}
#footer{
	font-family: "Impact", "Arial Narrow", "Helvetica Narrow", sans-serif;
	text-align: center;
	width: 100%;
	margin-top: 0;
	display: block;
	height: auto;
	color: #ffffff;
	font-size: 14px;
	letter-spacing: 1px;
	padding-top: 10px;
	background-image: url(../images/footer-back.png);
	background-repeat: no repeat;
	background-size: 100% 100%;
	line-height: 20px;
	clear: both;
	float: left;
}
#main {
	width: 100%;
	max-width: 768px;
	background-image: none;
}
#textbox {
	display: inline;
	float: right;
	width: 100%;
	line-height: 15px;
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 100% auto;
}
#title {
	text-align: center;
	display: inline-block;
	float: right;
	width: 96%!important;
	margin-right: 2%!important;
	margin-left: 2%!important;
	color: #1e489e;
	line-height: 23px;
	margin-top: 25px;
}
#title h1 {
	font-size: 19px;
	line-height: 21px;
	display: block;
	margin-bottom: 10px;
}
#main-text {
	width: 96%;
	margin-top: 20px;
	margin-left: 2%;
	margin-right: 2%;
	padding-left: 0;
	font-size: 12px;
	line-height: 18px;
}
#main-text h1 {
	font-family: ArenaBlackExtendedRegular;
	margin-left: 0px;
	font-size: 13px;
	display: block;
	margin-bottom: 10px;
	font-weight: normal;
}
#sidebar1a{
	width: 100%;
	float: left;
	display: inline;
	background-color: #FFF;
}
#sidebar1b{
	width: 100%;
	float: left;
	display: inline;
	background-image: url(../images/sidebar-back.png);
	background-repeat: no-repeat;
	background-position: 104% bottom;
	padding-bottom: 0px;
}
#sidebar1c{
	width: 96%;
	float: left;
	display: inline;
	background-image: none;
	margin-right: 3.8%;
}
#sidebar {
	width: 100%;
	float: left;
	display: inline;
	text-align: right;
	background-repeat: repeat-x;
	background-position: left top;
}
#logo {
	background-image: url(../images/logo-short.png);
	background-repeat: no-repeat;
	position: relative;
	height: 89px;
	width: 100%;
	max-width: 300px;
	left: 0px;
	top: 5px;
	background-size: 100% auto;
	background-color: #ffffff;
	background-position: center center;
}
#menu-button {
	width: 96%;
	margin-left: 2%;
	float: left;
	height: 46px;
	background-color: #1f489f;
	display:inline-block;
	margin-top: 5px;
}
#menu-button p {
	color: #FFFFFF;
	text-align: center;
	font-size: 18px;
	line-height: 18px;
	margin-top: 14px;
	cursor: pointer;
}
#menu-button p:before {
	content: url(../images/menu-button.png);
	padding-right: 5px;
}
#navbar {
	width: 100%;
	text-align: center;
	float: none;
	margin-top: 10px;
	display: none;
	padding: 0;
}
#navbar ul {
	position: relative;
}
#navbar li {
	clear: both;
	float: none;
	position: relative;
	margin-left: 2%;
	padding-left: 0;
	margin-right: 0;
	padding-top: 6px;
	padding-right: 0;
	padding-bottom: 5px;
	display: block;
	width: 100%;
	margin-bottom: 2px;
	text-align: center;
}
#navbar li:hover, #navbar li.current {
	background-color: #ddd7c8;
}
#navbar li a, #navbar li a:visited, #navbar li a:hover {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #1f489e;
	font-style: italic;
	font-weight: bold;
	text-decoration: none;
}

#quotebox {
	background: #1f4893;
	width: 135px;
	margin-right: 25px;
	margin-bottom: 10px;
	margin-top: 10px;
	padding: 20px;
	float: left
}

#quotebox h2 {
	font-weight: bold;
	font-style: italic;
	color: #FFFFFF;
	margin-left: 0px;
	font-size: 15px;
	line-height: 22px;
}
#home #textbox {
	height: 360px;	
}	
#projects .projects img {
	width: 96%!important;
	height: auto;	
}
#projects .projects .pad, #projects .projects .pad2 {
	padding-left: 0!important;
	padding-right: 0!important;
}
#projects #main-text {
	text-align: center;
	float: left;
	width: 96%;
	margin-top: 0px;
	margin-left: 2%;
	padding-left: 0px;
	margin-right: 2%;
	margin-bottom: 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 18px;
	font-weight: bold;
	color: #a02a31;
}
#projects #title {
	width: 90%;
	text-align: center;
	float: left;
}
#projects #title h1 {
	text-align: center;
	padding: 0px;
	margin: 0px;
	float: none;
}
#projects #photo {
	display: none;
}
#contact #textbox {
	height: 400px;
}
#contact #photo {
	display: none;
}
#pics {
	float: left;
	width: 80%;
	margin-left: 5%;
	margin-top: 10px;
	font-style: italic;
	font-weight: bold;
}
#pics img {
	width: 80%;
	height: auto;
}

}
