/* QUERIES FOR IPAD/TABLETPC PORTRAIT */
@media only screen and (max-width: 1024px), only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

header { position: relative;	bottom: inherit; left: inherit; }
footer { position: relative;	bottom: inherit; left: inherit; }

}



/* QUERIES FOR IPAD/TABLETPC PORTRAIT */
@media only screen and (max-width: 768px), only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {

.maincontent { width: 100%; height: auto; float: none; }
.mainside {	width: 100%; float: none;}
.mainside-bg { width: 100%; }
.single .mainside, .single .mainside-bg, .page-template-default .mainside, .page-template-default .mainside-bg { width: 100% !important; }
.single .maincontent, .halfcontent { width: 100% !important; }
.fullcontent { width: 100% !important; }
#fullscreen-bg { width: 100% !important; }
header { position: relative;	bottom: inherit; left: inherit; }
footer { position: relative;	bottom: inherit; left: inherit; }
#map { width: 100% !important; height: 300px; position: relative; }
#fullscreen-bg { width: 100% !important; height: 300px; position: inherit; top: inherit; z-index: 1; overflow: hidden; }
#loading { position: absolute; }

}



@media only screen and (max-width: 700px) {

nav#main-nav { display: none; }
#dropdown-menu { display: block; }
.filter-seperator { background: none; }	
#footer-inner { height: auto; line-height: 21px; text-align: center; }
#totop { position: inherit; top: 0px; display: block; }
footer .left_float, footer .right_float { float: none; margin-top: 20px ; }
.one_fourth { width: 100%; }
.two_fourth { width: 100%; }
.three_fourth { width: 100%; }
#single-pagination { position: inherit; top:  inherit; right: inherit; margin-bottom: 20px; }
#single-pagination ul li { margin-left: 0px; margin-right: 1px; }
.entry-title { width: 100%; }

}



/* QUERIES FOR IHONE/SMARTPHONES */
@media only screen and (max-width: 480px), only screen and (min-device-width : 320px) and (max-device-width : 480px) {

header { position: relative;	bottom: inherit; left: inherit; text-align: center; }
header .left_float, header .right_float { float: none !important; margin-top: 20px ; }
#dropdown-menu { width: 100%; padding: 0px; text-align: center; float: none; }
#responsive-nav { width: 100%; text-align: left; }
.filter {float: none; width: 100%; }
.filter ul li { padding-right: 0px; padding-left: 10px; }
.filter ul { width: 100%; text-align: left; }
.filter ul li a { padding-right: 0px; padding-left: 20px; }
.filter ul li a.active { background-position: left center; }
.filter-seperator { display: none; }	
#logo { display: inline-block; }
#main { padding-top: 0px; }
#map { width: 100%; height: 200px; position: relative; }

.flex-direction-nav li { margin-top: -32px; width: 50px; height: 65px; }
.flex-direction-nav li a { width: 50px; height: 65px; }
.flex-direction-nav li .flex-next {background-position: -95px -17px; }
.flex-direction-nav li .flex-prev {background-position: -15px -17px; }

.masonry-item .flex-direction-nav li { width: 30px;	height: 30px; margin-top: -15px; }
.masonry-item .flex-direction-nav li a { width: 30px;	height: 30px; }
.masonry-item .flex-direction-nav li .flex-next { background-position: -190px 0px; }
.masonry-item .flex-direction-nav li .flex-prev { background-position: -160px 0px; }

.fancybox-prev span, .fancybox-next span { width: 50px; height: 65px; margin-top: -32px; }
.fancybox-prev span { background-position: -15px -17px; }
.fancybox-next span { background-position: -95px -17px; }

.column { 
	margin-right: 0;
	float: none;
	}

.one_full { width: 100%; float: none; margin-right: 0; }
.one_half  { width: 100%; }
.one_third { width: 100%; }
.two_third { width: 100%; }
.one_fourth { width: 100%; }
.two_fourth { width: 100%; }
.three_fourth { width: 100%; }

#loading { z-index: 101; }

.notfound h1 { font-size: 120px; line-height: 150px; }

}