@media only screen and (max-width: 1110px) and (min-width: 960px) {
	.boxed-wrapper, .page-template-template-home .footer {
		width: 960px;
	}
	.page-wrapper {
		padding: 30px 70px;
	}
	.footer-inside {
		padding: 20px 70px;
	}
	.page-title-wrapper {
		padding: 20px 70px 20px;
	}
	.index-wrapper {
		width: 537px;
	}
	.index-wrapper .posts-wrapper {
		margin-left: -14.5px;
		margin-right: -14.5px;
	}
	.index-wrapper .posts-wrapper .post-wrap {
		padding: 0 14.5px;
	}
	.sidebar {
		width: 254px;
		margin-left: 29px; 
	}
	.post-single-details, .post-single-under-thumb {
		margin: 0 120px;
	}
	.posts-wrapper .post-wrap {
		min-height: auto;
	}
}


@media only screen and (max-width: 959px)  {
	.boxed-wrapper, .page-template-template-home .footer {
		width: 748px;
	}
	.footer-inside {
		padding: 20px 30px;
	}
	.page-wrapper {
		padding: 30px;
	}
	.page-title-wrapper {
		padding: 20px 30px 20px;
	}
	.index-wrapper {
		width: 442px;
	}
	.sidebar {
		width: 206px;
	}
	.post-single-details, .post-single-under-thumb {
		margin: 0 30px;
	}
	.posts-wrapper .post-wrap {
		width: 50%;
	}
	.portfolio-wrap {
		width: 50%;
	}
	
	/*
	.page-template-template-home .header-inside {
		padding: 30px 0 170px;
	}
	*/
	.posts-wrapper .post-wrap {
		min-height: auto;
	}
	.page-title h1 {
		font-size: 48px;
	}
	
	.every-second {
		display: block;
	}
	.every-third {
		display: none;
	}
	
	
}





@media only screen and (max-width: 768px) {
	.boxed-wrapper  {
		width: 95%;
	}
	.index-wrapper, .footer, .page-template-template-home .footer {
		width: 100%;
	}
	.sidebar {
		max-width: 300px !important; 
		width: 100% !important; 
		margin-left: -150px; 
		left: 50%; 
		position: relative; 
		padding: 0 20px;  
		margin-top: 50px; 
	}
	.vc_row {  margin-left: 0 !important; margin-right: 0 !important; }
	.vc_col-sm-1, .vc_col-sm-2, .vc_col-sm-3, .vc_col-sm-4, .vc_col-sm-5,
    .vc_col-sm-6 , .vc_col-sm-7, .vc_col-sm-8, .vc_col-sm-9, .vc_col-sm-10,
    .vc_col-sm-11, .vc_col-sm-12, .vc_col-sm-4.isotope-item { 
    	width: 100% !important;  
    	padding-left: 0 !important; 
    	padding-right: 0 !important; 
    }
	.header-inside {
		display: block;
	}
	.header-inside .logo {
		display: block;
		text-align: center;
		padding: 0 30px;
	}
	.main-menu select { 
		display: inline-block; 
	}
  	.main-menu .sf-menu { 
  		display: none; 
  	}
  	.menu-icons { 
  		display: none;
  	}
  	.menu-wrapper {
  		width: 100%;
		display: block;
  	}
  	.main-menu { 
  		float: none; 
		width: 100%;
		margin: 0;
		text-align: center;
  	}
  	.page-template-template-home .menu-wrapper {
  		margin-top: 30px;
  	} 
  	.contact-details {
  		width: 100%;
		float: none;
		margin: 0 auto 30px;
		max-width: 300px;
  	}
  	.contact-maps {
  		width: 100%;
		margin-top: 30px;
		margin:0 auto;
		float: none;
		max-width: 450px;
  	}
  	.comment-form-author, .comment-form-email, .comment-form-url {
		width: 100%;
		margin-right: 0;
	}
	.error-content1 {
		font-size: 80px;
	}
	.vc_resumy_button {
		text-align: center !important;
	}
	.blockquote.type3 { padding: 0; }
	.blockquote.type3  p { margin-left: 0; width: 100%; text-align: center; }
	.blockquote.type3 .icon_holder { float: none; margin: 0 auto 20px; }
	.search-item {  text-align: center; }
	.search-item .search-thumb { text-align: center; float: none; margin: 0 auto 15px; display: block; }
	.search-item .single-search-item-details { margin-left: 0; }
	
	h1.type-wrap span {
		font-size: 40px;
	}

	h1.type-wrap span b {
		font-size: 20px;
	}
	.page-title h1 {
		font-size: 38px;
	}
	

}
@media only screen and (max-width: 600px) {
	.footer-inside {
		padding: 20px 15px;
	}
	.page-wrapper {
		padding: 15px;
	}
	.page-title-wrapper {
		padding: 20px 15px 20px;
	}
	.post-single-details, .post-single-under-thumb {
		margin: 0 15px;
	}
	.posts-wrapper {
		margin: 0;
	}
	.posts-wrapper .post-wrap, .index-wrapper .posts-wrapper .post-wrap {
		width: 100%;
		max-width: 330px;
		position: relative !important;
		padding: 0;
		top: auto !important;
		left: auto !important;
		float: none;
		margin: 0 auto 50px;
		clear: both;
		transform: none !important;
	}
	.every-second, .every-second-on-index {
		display: none;
	}
	
	.post-single-details {
		text-align: center;
	}
	
	.post-single-categories {
		width: 100%;
		text-align: center;
		float: left;
	}
	
	.post-single-date {
		margin-left: 0;
		display: inline-block;
		width: 100%;
	}
	
	.post-single-separator {
		display: none;
	}
	
	.post-single-comments-number {
		text-align: center;
		width: 100%;
	}
	.portfolio-wrap {
		width: 100%;
	} 
	.portfolio-filter .filter-cat a {
		padding: 5px 10px 6px;
	}
	.socials-wrap li {
		margin-right: 10px;
	}
	span.nextprev-portfolio-title {
		display: none;
	}
	
	h1.type-wrap span {
		font-size: 30px;
	}

	h1.type-wrap span b {
		font-size: 20px;
	}
	
	.footer, .footer a { font-size: 12px; }
	
	.logo {
		max-width: 200px;
		margin: 0 auto;
	}
	.footer-inside { padding: 10px; }
	.page-template-template-home .header-inside .logo {
		margin-top: 150px;
	}
}

@media only screen and (max-width: 400px) {
	
	h1, .page-title h1, h1.post-single-title {  font-size: 24px; }
	h2 { font-size: 22px; }
	h3 { font-size: 20px; }
	h4 { font-size: 18px; }
	h5 { font-size: 16px; }
	h6 { font-size: 14px; }
	.page-title h1 {
		font-size: 24px;
	}
	
	.post-single-details {
		text-align: center;
	}
	.post-single-categories {
		display: inline-block;
	}
}


@media screen and (max-width: 959px)   {
	.page-template-template-home .header-inside1 {
		padding: 30px 0 170px;
	}
}



@media screen and (max-height: 900px) {
	.page-template-template-home .header-inside1 {
		padding: 30px 0 70px;
	}
}


@media screen and (max-height: 801px) {
	h1.type-wrap span {
		font-size: 60px;
	}

	h1.type-wrap span b {
		font-size: 40px;
	}
	.global-wrapper {
		min-height: 630px;
	}
	
}


@media screen and (max-width: 601px) {
	h1.type-wrap span {
		font-size: 40px;
	}

	h1.type-wrap span b {
		font-size: 20px;
	}
	
}




@media screen and (max-width: 801px)  and (max-height: 620px) {  
	.page-template-template-home .header-inside .logo {
		margin-top: 150px;
	}
}



@media screen and (max-height: 701px) {
	.page-template-template-home .header-inside1 {
		padding: 30px 0 200px;
	}
	.logo {
		max-width: 200px;
		margin: 0 auto;
	}
	
	body.page-template-template-home  {
		min-height: 670px;
	}
	
}

@media screen and (max-height: 601px) {
	.page-template-template-home .header-inside1 {
		padding: 30px 0 150px;
	}
	
	body.page-template-template-home  {
		min-height: 570px;
	}
	
}

@media screen and (max-height: 501px) {
	.page-template-template-home .header-inside1 {
		padding: 30px 0 70px;
	}
	
	body.page-template-template-home  {
		min-height: 470px;
	}
	
}

@media screen and (min-width: 700px)  and (max-height: 620px) {  
	.page-template-template-home .header-inside .logo {
		margin-top: 150px;
	}
}

