body { 
  font-family: 'Open Sans', sans-serif;
  color: #666;
}

.langimg
{
	margin-right: 5px;
	border: solid 1px #ccc;
}

/* STRUCTURE */

#pagewrap {
	padding: 5px;
	width: 960px;
	margin: 5px auto;
}
#header {
	height: 120px;
	padding: 0 15px;
}

#header_left
{
	float: left;
	height: 120px;
    /* width: 160px;  */
    /* background-color: #b0e0cc; */
}

#header_right
{
    float: right;
	height: 120px;
    /* width: 500px; */
    /* background-color: #b0e0e6; */
}

#content {
	width: 287px;
	float: left;
	padding: 5px 15px;
}

#middle {
	width: 286px; /* Account for margins + border values */
	float: left;
	padding: 5px 15px;
	margin: 0px 5px 5px 5px;
	background-color: #ff7f27;
	color: white;
}

#sidebar {
	width: 287px;
	padding: 5px 15px;
	float: left;
}

#details
{
	clear: both;
	/* padding: 0px 0px 15px 15px; */
}

#detail_1
{
	display: none;
}

#detail_2
{
	display: none;
}

#detail_3
{
	display: none;
}

#footer 
{
	clear: both;	
	padding: 0 15px;
	height: 100px;
	min-height: 100px;
	max-height: 100px;
}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {
	
	#pagewrap {
		width: 94%;
	}
	#content {
		width: 41%;
		padding: 1% 4%;
	}
	#middle {
		width: 41%;
		padding: 1% 4%;
		margin: 0px 0px 5px 5px;
		float: right;
	}
	
	#sidebar {
		clear: both;
		padding: 1% 4%;
		width: auto;
		float: none;
	}

	#header, #footer {
		padding: 1% 4%;
	}
}

/* for 700px or less */
@media screen and (max-width: 600px) {

	#content {
		width: auto;
		float: none;
	}
	
	#middle {
		width: auto;
		float: none;
		margin-left: 0px;
	}
	
	#sidebar {
		width: auto;
		float: none;
	}

}

/* for 480px or less */
@media screen and (max-width: 480px) {

	#header {
		height: auto;
	}
	h1 {
		font-size: 2em;
	}
	#sidebar {
		display: none;
	}

}


#content 
{
	background: #f8f8f8;
}

#sidebar
{
	background: #f0efef;
}

#header, #content, #middle, #sidebar , #title
{
	margin-bottom: 10px;
}

#footer{
	border-top: solid 1px #ccc;
	text-align: center;
}

#header{
	border-bottom: solid 1px #ccc;
}

#pagewrap, #content, #middle, #sidebar{
	border: solid 0px #ccc;
}