/* iPhone Size */

@media only screen and (max-width:750px) {
	
	/* ===[ Header Styles ]===================================================== */
	
	.main-wrapper {
		width: 300px;
		overflow: hidden;
	}
	
	.header-hidden {
		width: 280px;
	}
	.header-hidden-toggle-wrap {
		width: 300px;
	}
	#header-slider, .gallery-wrap, .portfolio-big-slide, .okvideo {
		background: none;
		min-height: 0px;
	}
	.header-hidden-left {
		width: 100%;
		margin-bottom: 10px;
		text-align: center;
	}
	.header-hidden-right {
		width: 100%;
		text-align: center;
	}
	.social-icons {
		text-align: center;
	}
	.header-hidden-right .social-icons a {
		float: none;
	}
	.header {
		width: 300px;
	}
	.header-left {
		float: none;
		margin: 0 auto;
	}
	.menu-header-container {
		text-align: center;
	}
	.page-title {
		text-align: center !important;
	}
	.page-title h2 {
		margin-bottom: 0px;
		font-size: 20px;
		line-height: 28px;
	}
	.page-title h3 {
		font-size: 14px;
		line-height: 18px;
		margin-top: 10px;
	}
	.header-left h1 {
		text-align: center;
	}
	
	.title-meta h2 {
		font-size: 20px;
	}
	
	/* ===[ Navigation Styles ]===================================================== */
	
	.select-menu, .select {
		display: block;
	}
	
	#nav {
		display: none;
	}
	
	.menu-header-container {
		position: relative;
	}
	
	.select-menu {
		width: 100%;
		margin: 25px 0;
	}
	
	/* all form DIVs have position property set to relative so we can easily position newly created SPAN */
	.header-right form div{position:relative;} 
	
	/* setting the width and height of the SELECT element to match the replacing graphics */
	.header-right select.select-menu{
	    position:relative;
	    z-index:10;
	    width:300px !important;
	    height:41px !important;
	    line-height:26px;
	}
	
	/* dynamically created SPAN, placed below the SELECT */
	.header-right span.select{
	    position: absolute;
	    bottom: 0;
	    float: left;
	    left: 0;
	    width: 300px;
	    height: 41px;
	    line-height: 43px;
	    text-transform: uppercase;
	    font-size: 11px;
	    letter-spacing: 2px;
	    color: #717171;
	    text-shadow: 1px 1px white;
	    text-indent: 10px;
	    background: url(images/select.png) no-repeat center;
	    cursor: default;
	    z-index: 1;
	}
	
	/* ===[ Section Styles ]===================================================== */
	
	.container {
	    width: 300px;
	}
	#sections {
	    width: 300px;
	    overflow: hidden;
	}
	.section .column {
	    width: 300px;
	    margin-right: 0;
	}
	.services-wrap {
		width: 300px;
	}
	
	.section-title {
		letter-spacing: 2px;
		font-size: 13px;
	}
	
	.portfolio-full, .content-full {
	width: 300px !important;
	}
	
	.content-full .one-quarter {
		margin-right: 27px;
	}
	
	.content-full .one-half, .content .one-half {
		width: 300px !important;
		margin-right: 0px;
	}
	
	.content-full .one-third {
		width: auto;
	}
	
	/* ===[ Portfolio Styles ]===================================================== */
	
	.portfolio-sidebar {
		margin-top: 15px;
		float: left;
		width: 300px;
	}
	
	.portfolio-meta {
		float: left;
		width: 300px;
	}
	
	#portfolio-slider {
		width: 300px;
	}
	
	.mobile-slide {
		display: block !important;
		margin:0 0 25px 2px !important;
	}
	
	.box-portfolio li li {
		margin: 0 0 25px 2px;
	}
	
	.box-portfolio li li:hover {
		
	}
	
	#portfolio-slider .flex-control-nav {
		width: 300px !important;
	}
	
	.portfolio-big-slide {
		display: none;
	}
	
	.portfolio-big-title {
		text-align: center;
		margin-bottom: 35px;
		padding: 0;
	}
	
	.portfolio-big-title h2 {
		margin-bottom: 10px;
		line-height: 26px;
	}
	
	.flex-direction-nav {
		display: none;
	}
	
	.flex-control-nav li a {
		width: 15px !important;
		height: 15px !important;		
	}
	
	.post-nav {
		clear: both;
		position: static;
		border-top: solid 1px #eee;
		border-bottom: solid 1px #eee;
		margin-top: 15px;
	}
	
	.post-nav a {
		margin: 0;
		float: right;
	}
	
	.post-nav .prev-span {
		float: right;
	}
	.post-nav .next-span {
		float: left;
	}
	
	.single .page-title h3 {
		margin-bottom: 30px;
	}
	
	/* ===[ Blog Styles ]===================================================== */
	
	#blog-slider {
		width: 300px;
	}
	
	.home-blog-post {
		width: 268px;
		margin: 0 0 20px 0 !important;
	}
	
	.blog-thumb img {
		margin: 0 auto;
	}
	
	#blog-slider .flex-control-nav {
		width: 300px;
	}
	
	.content .blog-text {
		width: 100%;
	}
	
	.blog-meta {
		width: 100%;
		margin: 0;
	}
	
	.blog-post .portfolio-meta {
		display: block;
		background: #f7f7f7;
		padding: 10px;
	}
	
	.meta-links {
		display: none;
	}
	
	.meta-mobile {
		display: block;
	}
	
	.blog-meta ul li {
		text-align: left;
		display: inline;
		float: none;
	}
	
	.post-share {
		padding: 5px 12px;
		margin-top: 0;
		background: #f7f7f7;
	}
	
	/* ===[ Sidebar Styles ]===================================================== */
	
	#sidebar-wrap {
		float: left;	
	}
	
	#sidebar {
		background: #f5f5f5;
		padding: 28px 38px 0px 38px;
		margin-top: 30px;
	}
	
	.tab-wrapper li a {
		background: #eee;
	}
	
	#sidebar .flexslider {
		background: #f7f7f7;
	}
	
	
	.content {
		width: 300px;
	}
	
	/* ===[ Footer Styles ]===================================================== */
	
	.footer-widgets {
		width: 300px;
	}
	
	.footer-widgets-wrap {
		width: 300px;
	}
	
	.footer-widget {
		width: 300px;
	}
	
	.footer-text {
		width: 300px;
	}
	
	.footer-text-left ul {
		text-align: center;
		line-height: 18px;
		float: none;
	}
	
	.footer-text-left ul li {
		float: none;
		margin: 0 0 0 0;
		white-space: nowrap;
	}
	
	.footer-text-left ul li a {
		text-transform: none;
		color: #4c4c4c;
		font-size: 12px;
	}

	
	.footer-text-left ul li a:hover {
		color: #777;
	}
	
	.footer-text-left {
		width: 300px;
	}
	
	.footer-text-right {
		text-align: center;
		width: 100%;
	}
	.nav-footer {
		text-align: center;
	}
	.copyright {
		margin-top: 15px;
	}
	
	/* ===[ Comment Styles ]===================================================== */
	
	.comments {
	    margin: 0 0px 25px 0px;
		width: 280px;    
	    padding: 25px 10px 35px 10px;
	}
	
	.vcard {
		width: 100%;
	}
	#respond {
		padding: 0;
	}
	
	#respond input[type="text"], #respond textarea {
		box-sizing: border-box;
		width: 100%;
	}
	
	#cancel-comment-reply {
		float: none;
	}
	
	#respond h3 {
		text-align: center;
	}
	
	.wpcf7 input[type="text"] {
		width: 100%;
	}
	
	.allowed {
		width: 300px;
	}
	
}
 
/* iPad Size */
 
@media screen and (min-width:751px) and (max-width:970px) {
	
	/* ===[ Header Styles ]===================================================== */
	
	.header-hidden {
		width: 650px;
	}
	.header-hidden-toggle-wrap {
		width: 670px;
	}
	.header-hidden-left {
		width: 480px;
	}
	.header {
		width: 670px;
	}
	.header-left {
		float: none;
		margin: 0 auto;
	}
	.menu-header-container {
		text-align: center;
	}
	
	.page-title {
		text-align: center !important;
	}
	
	/* ===[ Navigation Styles ]===================================================== */
	
	#nav li {
		float: none;
		display: inline-block;
	}
	.header-left h1 {
		text-align: center;
	}
	.header-right {
		margin-top: 20px;
		width:100%;
	}
	#nav {
		clear: both;
		float: none;
		border-top: solid 1px #EEE;
		padding-top: 15px;
	}
	
	/* ===[ Section Styles ]===================================================== */
	
	.container {
	    width: 670px;
	}
	#sections {
	    width: 670px;
	}
	.section .column {
	    width: 315px;
	    margin-right: 38px;
	}
	.services-wrap {
		width: 706px;
	}
	
	.portfolio-full, .content-full {
	width: 670px !important;
	}
	
	/* ===[ Portfolio Styles ]===================================================== */
	
	#portfolio-slider {
		width: 694px;
	}
	
	.box-portfolio li li {
		border: solid 13px #F7F7F7;
	}
	
	.box-portfolio li li:hover {
		border: solid 13px #fff;
	}
	
	#portfolio-slider .flex-control-nav {
		width: 667px !important;
	}
	
	#portfolio-slider .flex-direction-nav li a {
		top: 43.5% !important;
	}
	
	.portfolio-big-slide .mosaic-block {
		width: 670px;
		height: 218px;
	}
	
	.portfolio-big-slide .details .pictogram {
		margin: 50px 0 15px 0;
	}
	
	.content-tablet {
		width: 400px;
	}
	
	.post-nav {
		clear: both;
		position: static;
		border-top: solid 1px #eee;
		border-bottom: solid 1px #eee;
	}
	
	.post-nav a {
		margin: 0;
		float: right;
	}
	
	.post-nav .prev-span {
		float: right;
	}
	.post-nav .next-span {
		float: left;
	}
	
	.single .page-title h3 {
		margin-bottom: 30px;
	}
	
	/* ===[ Homepage Blog Styles ]===================================================== */
	
	#blog-slider {
		width: 694px;
	}
	
	.home-blog-post {
		width: 112px;
		margin-right: ;
	}
	
	#blog-slider .flex-control-nav {
		width: 670px;
	}
	
	/* ===[ Sidebar Styles ]===================================================== */
	
	#sidebar-wrap {
		position: fixed;
		right: -305px;
		top: 122px;
		z-index: 9999;
		-webkit-overflow-scrolling: touch;
	}
	
	#sidebar-wrap * {
		-webkit-transform: translate3d(0,0,0);
	}
	
	#sidebar {
		background: #fff;
		color: #aaa;
		padding: 40px;
		height: 450px;
		overflow-y: auto;
		overflow-x: hidden;
		width: 225px;
		box-shadow: rgba(0,0,0, 0.3) 0px 0px 4px;
		-moz-box-shadow: rgba(0,0,0, 0.3) 0px 0px 4px;
		-webkit-box-shadow: rgba(0,0,0, 0.3) 0px 0px 4px;
		-webkit-border-radius: 3px; 
		-moz-border-radius: 3px; 
		border-radius: 3px;
	}
	#sidebar-mid {
		position: relative;
	}
	#sidebar-close {
		display: block;
		background: url(images/big-plus-button.png) no-repeat center center;
		height: 40px;
		width: 40px;
		position: absolute;
		left: -55px;
		top: 0;
		-webkit-transition: .2s ease-in;  
		-moz-transition: .2s ease-in;  
		-o-transition: .2s ease-in;  
		transition: .2s ease-in; 
	}
	#sidebar-close:hover {
		-webkit-transform: rotate(-90deg); 
		-moz-transform: rotate(-90deg);
		-webkit-transition: .2s ease-in;  
		-moz-transition: .2s ease-in;  
		-o-transition: .2s ease-in;  
		transition: .2s ease-in; 
		cursor: pointer !important;
	}
	
	body.sidebar-panel-open {
	    overflow: hidden;
	}
	
	.show-sidebar #sidebar-close {
		right: 50% !important;
		top: 0;
		position: absolute;
		-webkit-transform: rotate(-135deg); 
		-moz-transform: rotate(-135deg);
		-webkit-transition: .2s ease-in;  
		-moz-transition: .2s ease-in;  
		-o-transition: .2s ease-in;  
		transition: .2s ease-in; 
		line-height: 28px;
	}
	.show-sidebar {
		right: 325px !important;
	}
	.show-sidebar #sticky {
		position: relative !important;
	}
	.show-sidebar #sidebar {
		position: fixed;
		padding-bottom: 15px !important;
	}
	.hide-sidebar {
		-webkit-transition: .2s ease-in;  
		-moz-transition: .2s ease-in;  
		-o-transition: .2s ease-in;  
		transition: .2s ease-in; 
	}
	
	#sidebar .widget {
		width: 225px;
	}
	
	.content {
		-webkit-transition: .2s ease-in;  
		-moz-transition: .2s ease-in;  
		-o-transition: .2s ease-in;  
		transition: .2s ease-in; 
	}
	
	.content-fade {
		opacity: .2;
		-webkit-transition: .2s ease-in;  
		-moz-transition: .2s ease-in;  
		-o-transition: .2s ease-in;  
		transition: .2s ease-in; 
	}
	
	.content-fade-off {
		opacity: 1 ;
		-webkit-transition: .2s ease-in;  
		-moz-transition: .2s ease-in;  
		-o-transition: .2s ease-in;  
		transition: .2s ease-in; 
	}
	
	/* ===[ Footer Styles ]===================================================== */
	
	.footer-widgets {
		width: 670px;
	}
	
	.footer-widgets-wrap {
		width: 695px;
	}
	
	.footer-widget {
		width: 141px;
	}
	
	.footer-text {
		width: 670px;
	}
	
	.footer-text-left {
		width: 400px;
	}
	
	
}