/* STRUCTURE */
.ehead {
	width: 1170px;
	margin: 0 auto;
}
#pagewrap {
	padding: 15px;
	width: 1200px;
	margin: 15px auto;
	line-height: 28px;
	padding-bottom: 0px;
}
#header {
	height: 90px;
	text-align: left;
	padding: 15px;
	border-bottom: 1px solid rgba(0,0,0,.05);
	border-top: 1px solid rgba(0,0,0,.05);
}
#header img{
	max-height: 100%; 
}

#icontent {
	width: 580px;
	float: left;
	padding: 0 15px;
	padding-bottom: 10px;
	font-size: 1.1em;
	margin: 0 15px;
}

#icontent img {
	max-width: 100%;
}
#imiddle {
	width: 250px; /* Account for margins + border values */
	float: left;
	padding: 15px 15px;
}

#isidebar {
	width: 250px;
	padding: 15px 15px;
	float: left;
}
#ifooter {
	clear: both;
}

/************************************************************************************
 MEDIA QUERIES
 *************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {

	#pagewrap {
		width: 100%;
		padding: 0;
	}

	#icontent {
		clear: both;
		padding: 2% 4%;
		width: auto;
		float: none;
		margin-left: 0;
		margin-right: 0;
	}
	#imiddle {
		clear: both;
		padding: 2% 4%;
		width: auto;
		float: none;
	}

	#isidebar {
		clear: both;
		padding: 2% 4%;
		width: auto;
		float: none;
	}

	#header, #ifooter {
		padding: 1% 4%;
	}

}

/* for 700px or less */
@media screen and (max-width: 600px) {

	#isidebar, #imiddle, #icontent {
		clear: both;
		padding: 2% 4%;
		width: auto;
		float: none;
	}

}

/* for 480px or less */
@media screen and (max-width: 480px) {

	#header {
		height: auto;
		text-align: center;
	}
	h1 {
		font-size: 2em;
	}
	#icontent, #isidebar, #imiddle {
		background: #FFFFFF;
		margin-left: 0;
		margin-right: 0;
	}

}

#icontent {
	background: #FFFFFF;
}
#isidebar {
	background: #FFFFFF;
}
#imiddle {
	background: #FEFEFE;
	/*
	 box-shadow: inset 0 0 0px 4px #FFFFFF, inset 0 0 7px #878889;
	 -moz-box-shadow: inset 0 0 0px 4px #FFFFFF, inset 0 0 7px #878889;
	 -webkit-box-shadow: inset 0 0 0px 4px #FFFFFF, inset 0 0 7px #878889;
	 */
}
#ifooter {
}
#header, #icontent, #imiddle, #isidebar {
	margin-bottom: 15px;
	background-color: #FFFFFF;
}
#pagewrap, #icontent, #imiddle, #isidebar, #slide-service {
	-moz-box-shadow: inset 0px 0px 0px 1px #F2F2F2, 0 5px 5px -5px #CECECE;
	-webkit-box-shadow: inset 0px 0px 0px 1px #F2F2F2, 0 5px 5px -5px #CECECE;
	box-shadow: inset 0px 0px 0px 1px #F2F2F2, 0 5px 5px -5px #CECECE;
	border-bottom: 2px solid #DCDCDC;
} 