/* QUERIES FOR IPAD/TABLETPC LANDSCAPE */
@media only screen and (max-width: 1024px), only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {


#page-single { width: 690px; }
.single-layout-fixed { width: 690px; }
.single-layout-fixed .entry-text { width: 380px; }
.single-layout-fixed .entry-meta { width: 190px; }
}


/* 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) {

.wrapper { /* margin: 0 30px;*/ }
.seperator { margin-top: 30px; }
#top #top-inner { padding-top: 30px; padding-bottom: 30px; }
header { /*padding: 30px 0 40px 0;*/ }
#footer-inner { padding: 30px 0px; }
#totop { right: 30px; }
.searchfor { margin-bottom: 30px; }
/*nav#main-nav { margin-bottom: 30px;	}*/
#page-single { padding-bottom: 30px; }
#page-single-fullwidth { padding-bottom: 30px; }
.page-header, .page-content { padding: 0px 0px; }
.page-header { padding-top: 15px; }
.page-content { margin-top: 30px; }
#blog-single .entry-aside { padding: 30px; }
#portfolio-single, #blog-single { padding: 20px 0 0 0px; }
.entry-body { margin-top: 30px; }
.single-layout-fixed .entry-right-inner { padding: 30px 0px; }
.single-layout-fixed .entry-header, .single-layout-fixed .entry-body { padding: 0px 30px; }
.single-layout-fixed .entry-body { margin-top: 30px; }
.single-layout-fixed .entry-password { padding: 30px; }
.masonry > .masonry-item { margin-right: 30px; margin-bottom: 30px; }
#comment-section { padding: 30px; margin-top: 60px; }
.single-layout-fixed #comments  { padding: 30px; }
.single-layout-fixed #leavecomment  { padding: 0 30px; }
.entry-meta {  padding-bottom: 30px; }
.single-layout-fullwidth .entry-header .entry-meta {  margin-top: 15px; }
.single-layout-fullwidth .entry-body .entry-meta {  margin-top: 30px; }
.meta_link { margin-top: 30px !important; }
.single-layout-fullwidth .meta_link { margin-top: 0px !important; margin-bottom: 0px !important; }
.sharelinks li.sharetitle { margin-right: 30px !important; }

#page-single { width: 100%; }
.single-layout-fixed { width: 100%; }
.single-layout-fixed .entry-text { width: 100%; float: none; }
.single-layout-fixed .entry-meta { width: 100%; float: none; }

}


@media only screen and (max-width: 1180px) {
	#claim{
		left:0px !important;
		top:-22px !important;
		display:none;
	}
	.filter {
	  	margin-top: -49px;
	}
	
	#main-inner {
		margin-top:-7px;
	}
	
	.divider_top{
		margin-top:20px !important;
	}
	
	#welcome{
		margin-top:20px !important;
	}
}


@media only screen and (max-width: 1000px) { 
.header-top {
  /*background-color: #669900;*/
  height: 22px;
  position: relative;
  width: 200px;
}
	nav#main-nav { display: none; }
	.dropdown-menu { display: block; }
	.wrapper { margin: 0 10px; }
	.menu { padding: 0 0px; }
	#responsive-nav { margin: 0 10px 0 0; }
	#facebook{right:10px !important;}
}

@media only screen and (max-width: 640px) {
	.width2 .entry-text { display: none; }
      .width2 .back{
        max-width: 100%;
        max-height: 100%;
    }
}

@media only screen and (max-width: 768px) {
    /*
    #portfolio-grid{
        width: calc(100%);
    }
    */
    /*
    .textbox{
        max-width: calc(50% - 4px);
    }
    */
    #welcome-text h1 {
	font-size: 2.5em;
    }
    .entry-header .entry-title h2, h1 {
	font-size: 28px;
    }
    .descr {
	font-size: 1.4em;
    }
    portfolio-grid .turnaround.small .entry-content h4 {
        font-size: 1.8em;
    }
}

@media only screen and (max-width: 385px) {

.filter a.openfilter {
	z-index: 18;
	background: transparent;
	text-align: right;
	color: #999999;
	font-size: 14px;
	line-height: 20px;
	display: block;
	width: 90px;
	padding: 5px 0px 20px 20px ;
	z-index: 11;
	}
	
.filter a.openfilter span {
    display: block;
    float: left;
    height: 11px;
    margin-left: 48px;
    margin-top: 24px;
    width: 16px;
	position:absolute;
}

.filter ul {
	z-index: 17;
	position: absolute;
	top: 40px;
	right: 0px;
	text-align: right;
	background: #ffffff;
	width: 134px;
	height: auto;
	padding: 0px 5px 15px 5px;
	display: none;
	margin-right:-5px;
	}
	}
	
@media only screen and (max-width: 1540px) {
	#welcome-text{
		width:50% !important;
	}
}
	
@media only screen and (min-width: 1001px) {
#responsive-nav, #menu-overlay{
	display:none !important;
}
}

@media only screen and (max-width: 700px) {
	
h1 { font-size: 34px; line-height: 40px; }
h2 { font-size: 24px; line-height: 30px; }
h3 { font-size: 20px; line-height: 24px; }
h4 { font-size: 18px; line-height: 22px; }
h5 { font-size: 16px; line-height: 19px; }
h6 { font-size: 14px; line-height: 18px; }

#logo { width: 100%; }
#logo img { max-width: 100%; }

#header-responsive  { display: block; }
.header-top .menu  { display: none; }
/*.header-bottom .filter  { display: none; }*/
#headline {	width: 100%; }

.entry-left, .entry-right { width: 100%; }
.entry-left { float: none; }
.entry-right { float: none; margin-top: 15px; }
.single-layout-fixed .entry-right { margin-top: 0px; }
.entry-left-inner { padding-right: 0px; }
.entry-right-inner { padding-left: 0px; }
.entry-header .entry-title { width: 50%; }

.entry-meta li { float: left; margin: 0 20px 5px 0; }
.meta_link { width: 100%; margin-top: 15px !important; }
.meta_share { display: block; width: 100%; }
.sharelinks li.sharetitle { margin-right: 20px !important; display: inherit !important; width: inherit !important; }

footer .left_float { float: none; }
footer .right_float { float: none; }
#footer-inner {	height: auto; line-height: 21px; }
footer .right_float { float: none; }
.widget-bottom {margin-left: 0px;margin-top: 20px;}
footer .socialmedia-widget li { margin-right: 8px; margin-left: 0px; }
.flex-caption { display: none; }
.flex-direction-nav { display: none; }

#badge {
	display:none;
}

#welcome-text{
	width:100% !important;
}

.descr { padding-right:0 !important; }

.filter a.openfilter {
  float:right;
  padding: 5px 0 15px 20px;
}

#header-responsive .filter ul {
  right: 0;
  left:auto;
}

#header-responsive .filter {
  margin-top: -40px;
}

#top #top-inner {
	margin-right:40px;
}

}



/* QUERIES FOR IHONE/SMARTPHONES */
@media only screen and (max-width: 480px), only screen and (min-device-width : 320px) and (max-device-width : 480px) {

#header-responsive  { display: block; }
.header-top .menu  { display: none; }
/*.header-bottom .filter  { display: none; }*/

.column { 
	margin-right: 0;
	float: none;
	}

.one_full { width: 100%; float: none; margin-right: 0; }
.one_half  { width: 100%; }
.one_third { width: 100%; }
#top #top-inner {
  margin-right: 10px;
}
.two_third { width: 100%; }
.one_fourth { width: 100%; }
.two_fourth { width: 100%; }
.three_fourth { width: 100%; }

#top .column { padding-top: 40px; }
#top .column:first-child { padding-top: 0px; }

.notfound h1 { font-size: 120px; line-height: 150px; }

#totop { bottom: 30px; }

#loading { 
	display: none;
	opacity: 0 !important;
	filter: alpha(opacity=0) !important;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)" !important;
}
.page-template-template-portfolio-php #iphone-loading, .blog #iphone-loading, .archive #iphone-loading, .search #iphone-loading, .page-template-template-gallery-php #iphone-loading { 
	display: block;
	opacity: 1 !important;
	filter: alpha(opacity=1) !important;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)" !important;
}


}