#mainmenu .menu ul li.has_submenu:hover ul li{
    padding-right: 0px;
}
.nivo-controlNav,
.nivo-caption{
    display: none !important;
}
@media only screen and (min-width:768px) and (max-width:1024px) {

	body{
		min-width: 100%;
	}

	#wrapper{
		position: relative;
		width: 96%;
	}
	#mainmenu .wrapper,
	.wrapper,
	#menu-bg,
	#menu-container,
	#content-bottom,
	#logo-container{
		width:100%;
	}

	#mainmenu .menu ul li{
		width:120px;
	}
	#mainmenu .menu ul li a{
		font-size: 15px;
	}
	.dropdown_arrow{
		margin: 20px 15px 0 0;
	}
	#address_bar{
		font-size: 20px;
	}
    #address_bar .dot_img a{
        color: #ffffff;
    }
	#slider{
		width:100% !important;
		margin: 0 auto;
	}
	#footer{
    	width:100%;
    	height: auto;
    }
    #footer #fronttext-devider1{
    	left:33.33%;
    }
    #footer #fronttext-devider2{
    	left: 66.66%
    }
    .fronttext{
    	width: 33.33%;
    	box-sizing:border-box;
    	-webkit-box-sizing:border-box;
    	-moz-box-sizing:border-box;
    }
    #footer_title{
    	background-size: 100% 100% !important;
    }
	
}

@media only screen and (min-width:320px) and (max-width:767px) {


	body{
		min-width: 100%;
	}

	#wrapper{
		position: relative;
		width: 96%;
	}
	#mainmenu .wrapper,
	.wrapper,
	#menu-bg,
	#menu-container,
	#content-bottom{
		width:100%;
	}

	#logo-container{
		width: 100%;
		background: transparent;
		padding-left: 0px;
		margin: 10px auto;
		height: 130px;
	}
	#logo a{
		display: block;
		text-align: center;
	}
	#tagline{
		width: 100%;
		display: block;
		text-align: center;
		position: relative;
		margin: 0;
	}
	#tagline img,
	#tagline img.top_info{
		float: none;
		margin-bottom: 10px;
	}
	#address_bar{
		font-size: 10px;
	}
    #address_bar .dot_img a{
        color: #ffffff;
    }
	#slider{
		width:100% !important;
		margin: 0 auto;
	}
    #slider .nivo-directionNav{
        display:none !important;
    }
	#top{
		height: 215px;
	}
	#menu-container{
		top:10px;
	}
	#mainmenu{
		top:175px;
	}
	#menu-bg {
        position: absolute;
        z-index: 99999;
    }
    #menu-bg::after {
        content: "";
        cursor: pointer;
        float: right;
        font-family: FontAwesome;
        font-size: 25px;
        position: absolute;
        right: 25px;
        top: 7px;
    }
    #mainmenu .menu ul {
        background: #423a2d none repeat scroll 0 0;
        display: none;
        height: auto;
        position: absolute;
        top: 40px;
        width: 100%;
    }
    
    #mainmenu .menu ul li {
        display: block;
        margin: 0;
        line-height: 30px;
        text-align: left;
        width: 100%;
    }
    #mainmenu .menu ul li.has_submenu ul li {
        width: 100%;
    }
    #mainmenu .menu ul li.current_page_item {
        background: #423a2d none repeat scroll 0 0;
        height: auto;
    }
     #mainmenu .menu ul li.has_submenu ul li.current_page_item {
        width: 100%;
    }
    #mainmenu .menu ul li a {
        color: #fff;
        display: block;
        font-size: 18px;
       padding: 6px 1px 6px 15px;
    }        
    #mainmenu .menu ul li ul {
         background: #423a2d none repeat scroll 0 0;
        display: none;
        padding: 0;
        overflow: hidden;
        position: relative;
        top: 0;
        width: 100%;
    }
    #mainmenu .menu ul li.has_submenu:hover {
        padding-bottom: 0;
    }
    #mainmenu .menu ul li.has_submenu:hover ul {
        display: none;
    }
     #mainmenu .menu ul li.has_submenu ul li a {
        border: 0 none;
        color: #ffffff !important;
        display: block;
        padding: 5px 40px !important;
    }  
    #mainmenu .menu ul li:hover .menu-overlap {
        display: none;
    }
    #mainmenu .menu ul li a:hover, #mainmenu .menu ul li:hover a {
        color: #000 !important;
    }
    #mainmenu .menu ul li a:hover {
        background: #F4CC86 none repeat scroll 0 0;
    }
    #mainmenu .menu ul li.has_submenu ul li a:hover {
        background: #ede6d4 none repeat scroll 0 0;
        color: #333333 !important;
    }
    #footer{
    	width:100%;
    	height: auto;
    }
    #fronttext-devider1,
    #fronttext-devider2{
    	display: none;
    }
    .fronttext{
    	width: 100%;
    	box-sizing:border-box;
    	-webkit-box-sizing:border-box;
    	-moz-box-sizing:border-box;
    }
    #footer_title{
    	background-size: 100% 100% !important;
    }

}


@media only screen and (min-width:320px) and (max-width:1024px) {
		/* css for page */
	.fullwidthpage{
		padding: 0 30px;
	}
	#content-top,
	#content-border,
	#content,
	.fullwidthpage .post, 
	.fullwidthpage #post-container{
		width: 100%;
	}
	#content{
		border-width:0px; 
	}
	.fullwidthpage #post-container{
		padding: 0 30px;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}
	.ngg-gallery-thumbnail-box{
		float: none !important;
		display: inline-block;
	}
	.ngg-galleryoverview br{
		clear:none;
		display: none;
	}

	#post-383 .post-content img,
	#post-39  .post-content img{
		width: 100%;
		height: auto;
		max-width: 400px;
	}

	#post-671 .post-content img,
	#post-379 .post-content img,
	#post-439 .post-content img{
		width: 100%;
		height: auto;
		max-width: 543px;
	}

	#post-399 .post-content img{
		width: 100%;
		height: auto;
		max-width: 770px;
	}

	#post-408 .post-content img{
		width: 100%;
		height: auto;
		max-width: 700px;
	}

	#post-353 .post-content img,
	#post-394 .post-content img{
		width: 100%;
		height: auto;
		max-width: 705px;
	}

	#post-41 .post-content img{
		width: 100%;
		height: auto;
		max-width: 754px;
	}

	#post-320 .post-content img{
		width: 100%;
		height: auto;
		max-width: 743px;
	}
}