/*
Free Html5 Responsive Templates
Author: Kimmy Tran
Author URI: http://www.zerotheme.com/
*/
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 (max-width: 959px) {
.menu_block {
		style="right: 0px; clear: left; position: absolute; bottom: 0px;"
	}
	
}
@media only screen and (max-width: 820px){
	
	.slider_wrapper h2{font-size: 40px;}
	
	
}
@media only screen and (max-width: 600px) {
	.slider_wrapper {-webkit-overflow-scrolling:touch;}
	.slider_wrapper h2{font-size: 25px;}
	.sf-menu>li>a{
		font-size: 14px;
		line-height: 20px;
		padding: 8px 8px 6px;
	}
	/*h1 {padding-top: 68px;}*/
	.menu_block {
		right: 0px; clear: left; padding-top: 20px; bottom: 0px; position: absolute;
	}
	header h1 {max-width:165px;}
	#page1 {padding-top:55px;}
	#page2 {padding-top:55px;}
	#page3 {padding-top:55px;}
	#page4 {padding-top:55px;}
	#page5 {padding-top:55px;}
	#page1 .swipeForMobile {display:block;}
	.map figure  {display:none;}
	#page1  ul h2 {
padding-top:20px
background: -webkit-linear-gradient( rgba(0,0,0,1), rgba(0,0,0,0)); /* For Safari */
background: -o-linear-gradient( rgba(0,0,0,1), rgba(0,0,0,0)); /* For Opera 11.1 to 12.0 */
background: -moz-linear-gradient( rgba(0,0,0,1), rgba(0,0,0,0))); /* For Firefox 3.6 to 15 */
background: linear-gradient( rgba(0,0,0,1), rgba(0,0,0,0)); /* Standard syntax (must be last) */
position: relative;
font-size: 150%;
top: 0px;
height: 35px;
line-height:100%;

}
}
@media only screen and (max-width: 420px) {
	.sf-menu>li>a{
		font-size: 13px;
		line-height: 16px;
		padding: 6px 6px 4px;
	}
	/*h1 {padding-top: 30px;}*/
	#page1 h2 {
	font-size:24px;
	}
	header h1 {max-width:415px;}
	header h1 img {padding-bottom:0px;}
	.menu_block {
		left: 0px; clear: left; bottom: 0px; position:relative;
	}
	
	#page1 {padding-top:145px;}
	#page1 img {max-height:175px;}
	#page1 .swipeForMobile {display:block;}
	#page2 .box img {   
	    max-width: 115px;
	    max-height:115px;}
	.map figure {display:none;}
	#page1  ul {width:1150px;}
	#page1  ul h2 {padding-top:0px
background: -webkit-linear-gradient( rgba(0,0,0,0), rgba(0,0,0,1)); /* For Safari */
background: -o-linear-gradient( rgba(0,0,0,0), rgba(0,0,0,1)); /* For Opera 11.1 to 12.0 */
background: -moz-linear-gradient( rgba(0,0,0,0), rgba(0,0,0,1))); /* For Firefox 3.6 to 15 */
background: linear-gradient( rgba(0,0,0,0), rgba(0,0,0,1)); /* Standard syntax (must be last) */
position: relative;
font-size: 150%;
top: 165px;
height: 35px;
line-height:100%;
}