html {
   -webkit-text-size-adjust: none;
}
.video embed,
.video object,
.video iframe {
   width: 100%;
   height: auto;
}
img{
	max-width:100%;
	height: auto;
   	width: auto\9; /* ie8 */
}

#thanks header .wrap-header{
	min-height: 40px;}
#thanks footer .copyright{
	color:#333;
	background-color:#ccc;
	padding: 50px 0;
}
.img_w80 {
	max-width:80%;
}

@media only screen and (max-width: 959px) {
nav .wrap-nav{
		float: left; 
		}
}

@media only screen and (max-width: 800px) {
header .wrap-header{
	min-height: 80px;}
nav .wrap-nav{
		padding-top: 10px;}
#main-content article.extra {
	min-height: 15.5em; 
	padding:10px;
	}	
}


@media only screen and (max-width: 640px) {
header .wrap-header{
	min-height: 170px;}
#sidebar{
	width: 100%;}
#main-content article.extra {
	background: #FFF;
	background-image:none;
	min-height: 14.7em; 
	padding:10px;
	border: none;
	border-bottom: #DDD solid 1px;
	}
	
nav .wrap-nav{
	clear:both:
	margin: 0;
	padding: 0 4px;
	}

.menu ul {
	height: 30px;
	line-height:30px;
	margin:0;
	padding:0px;
	display:block;}

.menu  ul li {
	width:32%;	
	position: relative;
	float: left;
	line-height:30px;
	padding:2px 0;
	margin:0px 2px;
	background:#111;
	display:block;
	}
.menu  ul li a {
	position: relative;
	font-weight:bold;
	height: 30px;
	line-height:30px;
	color: #FFF;
	padding: 0 10px;
	text-align:center;
	border: #999 1px solid;
	display: block;
	z-index: 6;
	}

.menu  ul li a:hover {
	color: #FFF;
	text-decoration: none;
	background-color:#666;
	}
	
.menu  ul li#curent a {
	color: #BB0000;}
}

@media only screen and (max-width: 480px) {
.img_w80 {
	max-width:100%;
}
.menu  ul li {
	width:48%;
}
#main-content article.extra {
	min-height: 15.7em; 
	}
}

@media only screen and (max-width: 360px) {
header .wrap-header{
	min-height: 200px;}
.menu  ul li {
	width:48%;
}
.bxslider{
	display:none;}
}
