@media (max-width: 510px){
#wrapper #header{
	float:left;
	width:100%;
	min-height:145px;
	height:auto !important;
	background:url(../images/bg_news1.png);
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
	}
#wrapper #header #logo{
	float:left;
	width:25%;
	height:72px;
	position:absolute;
	
	/*background:url(../images/trivandrum_homestay_logo-2.png);*/
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
	}
	#wrapper #header #call_box{
	float:right;
	width:35%;
	height:113px;
	margin-right:3.3%;
	}
	#wrapper #header #call_box #social{
	float:left;
	width:100%;
	height:30px;
	margin-top:17%;
	}
	#wrapper #header #call_box #social #img1{
	float:right;
	width:12%;
	height:35px;
	margin-right:3%;
	margin-top:6px;
	background:url(../images/icon_twitter.png);
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
	}
	#wrapper #header #call_box #social #img2{
	float:right;
	width:7%;
	height:39px;
	margin-top:4px;
	margin-right:3%;
	background:url(../images/icon_facebook.png);
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
	}
	#wrapper #header #call_box #social #img3{
	float:right;
	width:15%;
	height:32px;
	margin-top:8px;
	margin-right:3%;
	background:url(../images/icon_tripadvisor.png);
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
	}
	#wrapper #header #call_box #social #img4{
	float:right;
	width:9%;
	height:35px;
	margin-top:3px;
	margin-right:3%;
	background:url(../images/icon_flipkey.png);
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
	}
	#wrapper #header #call_box #social #img5{
	float:right;
	width:20%;
	height:25px;
	margin-top:11px;
	margin-right:3%;
	background:url(../images/icon_youtube.png);
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
	}
	#wrapper #header #call_box #call{
	float:right;
	width:100%;
	height:18px;
	margin-top:6%;
	}
	#wrapper #header #call_box #call h1{
	color:#157D9F;
	font-size:10px;
	text-align:right;
	margin-right:3%;
	}
	#wrapper #header #menu{
	float:left;
	width:97%;
	height:34px;
	margin-right:1%;
	margin-left:2%;
	background-image:url(../images/menu_bg.png);
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
	}
		/*--------------------*/
/*for dropdown menu*/
ul.menu {list-style:none; margin:0; padding:0}
ul.menu * {margin:0; padding:0}
ul.menu a {display:block; color:#2A5B00; text-decoration:none;}
ul.menu li {position:relative; margin-right:2px; list-style:none}
ul.menu ul {position:absolute; top:30px; left:0; background:#00D7CE; display:none; opacity:0; list-style:none}
ul.menu ul li {position:relative; border-bottom:1px solid #ffffff; width:190px; margin:0; font-size:14px;font-family:"Copperplate Gothic Light";}
ul.menu ul li a {display:block; padding:3px 7px 5px 1px; background-color:#868277; text-align:center; font-weight:bold;}
ul.menu ul li a:hover {background-color:#868277; color:#2A5B00;}
ul.menu ul ul {left:150px; top:0}
ul.menu .menulink {
		float:left;
		padding-left:9px;
		text-decoration:none;
		color:#D6FFFF;
		font-family:"Copperplate Gothic Light";
		padding-top:8px;
		font-size:7px;
		font-weight:bold;
		
}

ul.menu .menulink:hover, ul.menu .menulink1:hover, ul.menu .menuhover {
color:#000000;
}

ul.menu .sub {background:#085196 url(../images/arrow.gif) 16px 8px no-repeat; color:#cccccc;}
ul.menu .topline {border-top:1px solid #aaa}
	/*for dropdown menu*/
	
ul.menu .menulink1 {
		float:left;
		padding-right:7px;
		text-decoration:none;
		color:#D6FFFF;
		font-family:"Times New Roman", Times, serif;
		padding-top:10px;
		font-size:12px;
}
ul.menu .menulink1:hover{
color:#000000;
text-decoration:none;
}
ul.menu .menulink2 {
		float:left;
		padding-right:7px;
		text-decoration:none;
		color:#D6FFFF;
		font-family:font-family:Verdana, Arial, serif;
		padding-top:5px;
		font-size:10px;
}
ul.menu .menulink2:hover{
color:#000000;
text-decoration:none;
}
.menu_in{
color:#D6FFFF ;
font-size:7px;
float:right;
}
.menu_inn{
color:#D6FFFF ;
font-size:7px;
margin-top:5px;
float:right;
}
/*for dropdown menu*/
/*--------------------*/
#wrapper #cnt #left{
	float:right;
	width:0%;
	height:165px;
	margin-top:686px;
	background:url(../images/serviced-apartments_trivandrum.png);
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
	}
	#wrapper #cnt #right #button{
	float:left;
	width:89%;
	height:32px;
	margin-left:5%;
	
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
	}
    #wrapper #cnt #right #button h3 {
    color: #E7FFFF;
    height: 15px;
    padding-top:8px;
    text-align: center;
	font-size:14px;
	font-weight:bold;
    }
	#wrapper #cnt #right #button_1{
	float:left;
	width:89%;
	height:32px;
	margin-left:5%;
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
	}
    #wrapper #cnt #right #button_1 h3 {
    color: #E7FFFF;
    height: 15px;
    padding-top:8px;
    text-align: center;
	font-size:14px;
	font-weight:bold;
    }

	#wrapper #cnt #right #button_2{
	float:left;
	width:89%;
	height:32px;
	margin-left:5%;
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
	}
    #wrapper #cnt #right #button_2 h3 {
    color: #E7FFFF;
    height: 15px;
    padding-top:8px;
    text-align: center;
	font-size:14px;
	font-weight:bold;
    }

	#wrapper #cnt #middile #villa{
	float:left;
	width:135%;
	min-height:260px;
	height:auto !important;
	margin-left:5%;
	margin-top:15px;
	}
	#wrapper #cnt #middile #head{
	float:left;
	width:110%;
	height:20px;
	margin-left:5%;
	margin-top:-5px;
	font-size:12px;
	font-weight:bold;
	color:#363C48;
	}
	#wrapper #cnt #right{
	float:left;
	width:95%;
	min-height:500px;
	height:auto !important;
	margin-left:5px;
	margin-top:20px;
	}
	#wrapper #cnt #middile{
	float:left;
	width:68%;
	min-height:290px;
	height:auto !important;
	margin-left:10px;
	}
	#wrapper #cnt #right #news_title{
	float:left;
	width:95%;
	height:25px;
	margin-top:15px;
	margin-bottom:10px;
	}
	#wrapper #cnt #right #news_title h4{
	color:#6495A3;
	font-size:18px;
	text-align:right;
	}
	#wrapper #cnt #right #news_head{
	float:left;
	width:98%;
	min-height:50px;
	height:auto !important;
	margin-bottom:10px;
	margin-left:2%
	}
		#footer1 h3{
	 color: #DFFFFF;
    font-family:"Times New Roman", Times, serif;
    font-size: 16px;
	margin-bottom:15px;
	}
	#footer1 p {
    color: #DFFFFF;
     font-family:"Times New Roman", Times, serif;
    font-size: 12px;
    text-align: justify;
	font-weight:900;
	margin-bottom:20px;
   }
   #footer2 h3{
	 color: #DFFFFF;
     font-family:"Times New Roman", Times, serif;
    font-size: 16px;
	margin-bottom:15px;
	margin-left:0px;
	}
	#footer2 p {
	float:left;
	width:80%;
	height:100px;
	margin-top:1%;
    color: #F9F1CC;
     font-family:"Times New Roman", Times, serif;
    font-size: 14px;
    font-style: italic;
    font-weight: bold;
    line-height: 1.5em;
	margin-bottom:20px;
   }
   #footer2 #img1 {
   float:left;
	width:5%;
	height:26px;
	background:url(../images/arrow.jpg);
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
   }
   #footer2 #img2 {
    float:left;
	width:5%;
	height:25px;
	margin-top:17%;
	background:url(../images/arrow1.jpg);
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
   }
   #footer{
	float:left;
	width:100%;
	height:auto;
	background:url(../images/serviced_apartments_bg.png);
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
	margin-top:200px;
	}
	#list_img #list_img2 h3 {
    color: #157E9B;
    font-family: Verdana,Arial,serif;
	font-size:9px;
    }
	#list_img #list_img3 {
    float: left;
    height: 15px;
    margin-left: 0px;
    margin-top: 2px;
    width: 88%;
   }
	#list_img #list_img3 p {
    color: #9DA0A7;
    font-family: Verdana,Arial,serif;
    font-size: 9px;
    font-style: italic;
    font-weight: bold;
   }
   #list_img #list_img2 {
    float: left;
    height: 12px;
    margin-left: 15px;
    margin-top: 5px;
    overflow: hidden;
    width: 88%;
    }
	 #left_list #search h3 {
    color: #D46A42;
    float: left;
    font-family: Verdana,Arial,serif;
    margin-left: 10px;
    margin-top: 25px;
	font-size:10px;
   }
   #list_img #list_img1 {
    float: left;
    height: 80px;
    margin-left: 15px;
    margin-top: 20px;
    width: 86%;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
    }
	#list_img #list_img4 {
    float: left;
    height: 20px;
    margin-left: 13px;
    margin-top: 2px;
    width: 86%;
   }
   #list_img {
    background-image: url("../images/p_bg.png");
    float: left;
    height: 200px;
    margin-left: 10px;
    width: 47.5%;
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
   }
   #footer7{
	float:left;
	width:100%;
	min-height:125px;
	height:auto !important;
	background:url(../images/serviced_apartments_bg.png);
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto; 
    -moz-background-size: 100% auto;
     background-size: 100% auto;
	 position:absolute;
	 margin-top:500px;
	}
	 #footer8{
   float:left;
   width:100%;
   min-height:60px;
   height:auto !important;
   background-color:#147D9B;
   margin-top:90px;
   }
   #footer9{
	float:left;
	width:100%;
	height:auto;
	background:url(../images/serviced_apartments_bg.png);
	 position:absolute;
	 margin-top:500px;
	}
	#blankdiv{
	float:left;
	width:100%;
	height:50px;
	}
	#left_list h1{
	font-size:16px;
	margin-left:15px;
	color: #147D9B;
	font-family:Verdana, Arial, serif;
	}
	#left_list #contact {
   float:left;
   width:90%;
   height:325px;
   margin-top:20px;
   margin-left:10%;
   /*border: 1px solid #147D9B;
    border-radius: 7px 7px 7px 7px;
    box-shadow: 0 0 2px 2px #147D9B;*/
   }
   #faclty #images {
    float: left;
    height: 40px;
    padding: 7px;
    width: 8%;
    }
	#faclty {
    height: 60px;
    }
	#formheading {
    font-size: 17px;
    }
    #photo1{
	float:left;
	width:98%;
	height:150px;
	margin-left:5px;
	margin-bottom:10px;
	border: 1px solid #B0B0B0;
    border-radius: 7px 7px 7px 7px;
    box-shadow: 0 0 2px 2px #B0B0B0;
	}
	#photo2{
	float:left;
	width:94.5%;
	height:140px;
	margin-left:5px;
	margin-top:5px;
	border-radius: 7px 7px 7px 7px;
	}
	#photo3{
	float:left;
	width:25%;
	height:50px;
	margin-top:5px;
	margin-right:5px;
	border: 1px solid #B0B0B0;
    border-radius: 7px 7px 7px 7px;
    box-shadow: 0 0 2px 2px #B0B0B0;
	}
	#photo4{
	float:left;
	width:87%;
	height:44px;
	margin-top:3px;
	margin-left:3px;
	border-radius: 7px 7px 7px 7px;
	background-color:#00CC33;
	}
	#photo2 img{
	width:100%;
	height:140px;
	border-radius: 7px 7px 7px 7px;
	}
	#left_list #heading #image_reser{
   margin-top:25px;
   }
	}