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 */
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	nav{width:100%;}
    #nav > li {
        float: none;
        border-bottom: 0;
        margin-bottom: 0;
    }
    #nav ul.subs {
        position: relative;
        top: 0;
    }
    #nav li:hover ul.subs {
        display: none;
    }
    #nav li #s1:target + ul.subs,
    #nav li #s2:target + ul.subs {
        display: block;
    }

    #nav ul.subs > li {
        display: block;
        width: auto;
   
}
}

@media only screen and (max-width: 767px) {
	header {height: 150px;}
	header #logo, header #search-box{margin:0 auto; text-align:center;}
        header #logo {margin-top: 2px;font-size: 40px;}
	nav {width:100%;margin-bottom: 315px;}
	.rslides li {height:100px;}
	#content{}
	
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	header #logo {margin: 2px;font-size: 32px;}
.rslides li {height:100px;}
nav {width:100%;margin-bottom: 315px;}
}