/*
* Responsive layout for Patti 
*/

/* Table of Contents
==================================================

    #Mobile - 240px
    #Mobile - 320px	
    #Mobile - 480px	
	#Tablet - 768px	
	*/



/* #Mobile - 240px
================================================== */

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

	html #wrapper {
		width:100%;
		margin:0 auto;
	}
    
    #about {
      background:#fcfcfc;
    }

    #work {
      background:#efefef;
   }
    
    .logo img {
        max-width:85%;
    }	

	.centered-wrapper {
		width:95%;
		padding:0 10px;
	}	

    .videoFrame {
     display:none;
	}	
    
.percent-one-third-pic { width: 100%; } 

	.tparrows {
		display:none;
	}
	
	.tp-bullets {
		display:none;
	}

	#flickr li {
		margin: 0 10px 9px 0;
	}

	ul#social {
		float: none;
		text-align: center;
		margin-bottom:30px;
	}

	ul#social li {
		display: inline-block;
	}

	h1 {
		font-size:24px;
		line-height:30px;
		margin-bottom:13px;	
	}

	h2 {
		font-size:18px;
		line-height:24px;	
		margin-bottom:20px;	
	}

	h3 {
		font-size:16px;
		line-height:22px;
	}

	h4 {
		font-size:12px;
		line-height:20px;
	}

	.space {
		height:40px;
	}

	blockquote {
		margin: 10px 20px;
		padding: 0 0 5px 10px;
	}
	
	.portfolio li.item-wide h1 {
		font-size:26px;
		line-height:28px;
	}
	
	.portfolio li.item-long h1 {
		font-size:14px;
	}

	div.jp-audio div.jp-type-single div.jp-progress, div.jp-duration {
		display:none;
	}
	
	.author-bio {
		padding:15px;
	}

	.authorp {
		width:100%;
	
		margin-top: 10px;
}

	.authorp h2 {
		font-size:14px;
	}

	.author-bio img {
		margin: 0 15px 0 0;
	}
	
	.commentwrap {
		margin: 0 0 0 80px; 
	}

	.avatar img {
		width:60px;
		height:60px;
	}

	.author-bio img {
		width:60px;
		height:60px;
	}
	
	.contact-info {
		margin-bottom:30px;
	}
	
	.single-post .widget {
		margin-top:40px;
		margin-bottom:0px;
	}	

	.separator {
		width:100%;
		height:1px;
		clear:both;
		margin:30px 0;
		display:inline-block;
	}

	.double-separator {
		width:100%;
		height:1px;
		clear:both;
		margin:30px 0;
	}
	
	ul#social {
		margin:30px 0 10px;
	}

}

	
/*  #Mobile - 320px
================================================== */

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

	html #wrapper {
		width:100%;
		margin:0 auto;
	}
 
    #about {
      background:#fcfcfc;
    }

    #work {
      background:#efefef;
   } 
   
   .videoFrame {
     display:none;
     visibility:hidden;
	}	
    
.portfolio-image-high {
    border:solid;
    border-color:black;
    width:95%;
}  

.big-text h1 {
    font-size: 31px;
    color: #fff;
    text-transform: uppercase;
    border: 0px solid #fff;
    font-weight: 500;
    padding: 0px 20px;
    margin-top: -120px;
    margin-right:20px;
    margin-bottom:0px;
	text-align: center;
    text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.2em black;
}
    
.main-about { 
width: 100%; 
float: center;
margin-left: 0px;
}

.percent-one-half { 
width: 100%;
clear: left;
float: left; 
margin-left: 0px;
display: inline;
}


.percent-one-half-left { 
width: 100%;
clear: left;
float: left; 
margin-left: 0px;
display: inline;
}

.percent-one-half-right { 
width: 100%;
float: right; 
display: inline;
margin-left: 0px;
margin-right: 20px;
}

.section-title-about {
    text-align: center;
    font-size: 30px;
    font-weight: 380;
    line-space: 0.08em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-left: -10px;
}

.section-title-sub {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-left: -10px;
    margin-top: 10px;
}
    
    .dt-service-hover {
    height:200px;

}
    
    .logo img {
        max-width: 80%;
    }

	#header .one-fourth {
		width:320px;
	}
    
	.centered-wrapper {
		width:90%;
		padding:0 10px;
	}	

    .centered-wrapper-portfolio {
	width: 100%;
   background-color:#bcbcbc;
	margin:0 0 0 0;
}


.percent-one-third-pic { width: 100%; } 
  
	.tparrows {
		display:none;
	}
	
	.tp-bullets {
		display:none;
	}

	#flickr li {
		margin: 0 10px 9px 0;
	}

	ul#social {
		float: none;
		text-align: center;
		margin-bottom:30px;
	}

	ul#social li {
		display: inline-block;
	}

	.portfolio li.item-wide h1 {
		font-size:20px;
		line-height:28px;
	}
	
	.portfolio li.item-long h1 {
		font-size:18px;
	}

	div.jp-duration {
		display:none;
	}
	div.jp-audio div.jp-type-single div.jp-progress {
		width: 25% !important;
		left: 34% !important;
	}
	
	.widget {
		margin-bottom:0;
		margin-top:30px;
	}

	.authorp h2 {
		font-size: 16px;
	}

	.author-bio img {
		margin: 0 15px 0 0;
		width: 13%;
}
	
	
	ul#social {
		margin:30px 0 10px;
	}

}



/* #Mobile - 480px
================================================== */

@media only screen and ( max-width: 1006px ) { 
  #navigation.mobile {
       max-height: 330px;
       overflow-y: scroll;
       width:94%;
  }
}

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

	html #wrapper {
		width:100%;
		margin: 0 auto;
}

.percent-two-fifth, .percent-five-sixth {
  background:#fcfcfc;
  margin-right:0px;

}

.portfolio-image-high {
    border:solid;
    border-color:black;
    width:95%;
} 

.grid-item-on-hover h1 {
	font-weight:500;
	color:#fff;
	font-size:23px;
	line-height:30px;
	text-transform:uppercase;	
	position:relative;
	display: inline-block;
	padding: 4px 5px 0px -10px;
	border: 0px solid #fff;
	letter-spacing: 1px;
    text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.2em black;
}

.big-text h1 {
    font-size: 31px;
    color: #fff;
    text-transform: uppercase;
    border: 0px solid #fff;
    font-weight: 500;
    padding: 0px 20px;
    margin-top: -70px;
    margin-right:20px;
    margin-bottom:0px;
	text-align: center;
    text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.2em black;
}

.main-about { 
width: 100%; 
float: center;
margin-left: 0px;
}


.percent-one-half-left { 
width: 100%;
clear: left;
float: left; 
margin-left: 0px;
display: inline;
}

.percent-one-half-right { 
width: 100%;
float: right; 
display: inline;
margin-left: 0px;
margin-right: 20px;
}

.section-title-about {
    text-align: center;
    font-size: 37px;
    font-weight: 380;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-left: -10px;
}

.section-title-sub {
    text-align: center;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-left: -10px;
    margin-top: 10px;
}

    .dt-service-hover {
    height:150px;

}

    .centered-wrapper-portfolio {
	width: 100%;
   background-color:#bcbcbc;
	margin:0px 0 0 0;
}

	html #footer {
		width:100%;
	}		

	.centered-wrapper {
		width:90%;
		padding:0 10px;
	}	
    
    .percent-one-third-pic { 
    width: 95%; 
    margin-left:0px;
    }
    
.percent-one-half-left { 
width: 100%;
clear: left;
float: left; 
margin-left: 0px;
display: inline;
}

.percent-one-half-right { 
width: 100%;
float: right; 
display: inline;
margin-left: 0px;
margin-right: 30px;
}

	.tparrows {
		display:none;
	}
	
	.tp-bullets {
		display:none;
	}

	ul#social {
		float: none;
		text-align: center;
		margin-bottom:30px;
	}

	ul#social li {
		display: inline-block;
	}

	.portfolio li.item-wide h1 {
		font-size:20px;
		line-height:28px;
	}
	
	.portfolio li.item-long h1 {
		font-size:14px;
	}

	.widget {
		margin-bottom:0;
		margin-top:30px;
	}

	.author-bio {
		padding:15px;
	}

	.authorp {
		width:340px;
	}

	.authorp h2 {
		font-size:14px;
	}

	.author-bio img {
		margin: 0 15px 0 0;
	}
	
	ul#social {
		margin:30px 0 10px;
	}
    
    .team-avatar {
    margin-left: 3px;
}

}



/* #Tablet - 768px
================================================== */

@media only screen and (min-width: 768px) and (max-width: 1023px) {

	.percent-one-half { width: 100%; }
	.percent-one-third { width: 27.66%; }
    .percent-one-third-pic { width: 27.66%; }
	.percent-two-third { width: 55.33%; }
	.percent-one-fourth { width: 22%; }
	.percent-three-fourth { width: 74%; }
	.percent-one-fifth { width: 16.8%; }
    .percent-one-fifth-contact { width: 24.8%; }
	.percent-two-fifth { width: 30.6%; }
	.percent-three-fifth { width: 57.4%; }
	.percent-four-fifth { width: 72.2%; }
	.percent-one-sixth { width: 13.33%; }
	.percent-five-sixth { width: 82.67%; }

	.percent-one-half,
    .percent-one-half-left,
     .percent-one-half-right,
	.percent-one-third,
	.percent-two-third,
	.percent-three-fourth,
	.percent-one-fourth,
	.percent-one-fifth,
    .percent-one-fifth-contact,    
	.percent-two-fifth,
	.percent-three-fifth,
	.percent-four-fifth,
	.percent-one-sixth,
	.percent-five-sixth {
		position: relative;
		margin-right: 2%;
		float: left;
		min-height:1px;
	}
    

   
.grid-item-on-hover h1 {
	font-weight:500;
	color:#fff;
	font-size:21px;
	line-height:30px;
	text-transform:uppercase;	
	position:relative;
	display: inline-block;
	padding: 4px 5px 0px -10px;
	border: 0px solid #fff;
	letter-spacing: 1px;
    text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.2em black;
}
    
.big-text h1 {
    font-size: 31px;
    color: #fff;
    text-transform: uppercase;
    border: 0px solid #fff;
    font-weight: 500;
    padding: 10px 40px;
    margin-top:-20px;
    margin-right:20px;
    margin-bottom:10px;
	text-align: center;
    text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.2em black;
}    
    
.main-about { 
width: 100%; 
float: center;
margin-left: 10px;
}

    .percent-one-third-pic { 
    background: #fefefe;
    margin-right:40px;
    padding-left:0px;
    padding-right:5px;
    margin-left: 0px;
    
}	

.percent-one-half-left { 
width: 100%;
clear: left;
float: left; 
margin-left: 5px;
display: inline;
}

.percent-one-half-right { 
width: 97%;
float: right; 
display: inline;
padding-left: 0px;
margin-right: 20px;
}
    
		
	html #wrapper {
		width:100%;
		margin:0 auto;
	}

	.centered-wrapper {
		width: 95%;
		padding: 0 10px;
	}	

	ul#social {
		float: right;
		text-align: center;
		margin-bottom:30px;
	}

	ul#social li {
		display: inline-block;
	}
	
	.on-three-columns .jp-duration {
		display: none;
	}

	.widget {
		margin-top:40px;
		margin-bottom:0px;
	}

}

@media only screen and (min-width: 1024px) and (max-width: 1279px) {
	html #wrapper {
		width:100%;
		margin:0 auto;
	}
    
    .grid-item-on-hover h1 {
	font-weight:500;
	color:#fff;
	font-size:20px;
	line-height:30px;
	text-transform:uppercase;	
	position:relative;
	display: inline-block;
	padding: 4px 5px 0px -10px;
	border: 0px solid #fff;
	letter-spacing: 1px;
    text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.2em black;
}
    
    .big-text h1 {
    font-size: 31px;
    color: #fff;
    text-transform: uppercase;
    border: 0px solid #fff;
    font-weight: 500;
    padding: 10px 40px;
    margin-top:20px;
    margin-right:40px;
    margin-bottom:10px;
	text-align: center;
    text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.2em black;
}    
  
	.centered-wrapper {
		width: 95%;
		padding: 0 10px;
	}	
    
    .percent-one-third-pic { 
    background: #fefefe;
    padding-left:0px;
    padding-right:10px;
    margin-left: 0px;
    
}	

}

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

	.percent-one-half { width: 100%; }
    .percent-one-half-left { width: 100%; }
    .percent-one-half-right { width: 100%; }
	.percent-one-third { width: 100%; }
    .percent-one-third-pic { width: 100%; }
	.percent-two-third { width: 100%; }
	.percent-one-fourth { width: 100%; }
	.percent-three-fourth { width: 100%; }
	.percent-one-fifth { width: 100%; }
	.percent-two-fifth { width: 100%; }
	.percent-three-fifth { width: 100%; }
	.percent-four-fifth { width: 100%; }
	.percent-one-sixth { width: 100%; }
	.percent-five-sixth { width: 100%; }

	.percent-one-half, .percent-one-half-left, .percent-one-half-right, .percent-one-third, .percent-two-third, .percent-three-fourth, .percent-one-fourth, .percent-one-fifth, .percent-two-fifth,
	.percent-three-fifth, .percent-four-fifth, .percent-one-sixth, .percent-five-sixth {
		position: relative;
		margin-right: 0;
		float: left;
		min-height:1px;
		margin-bottom:20px;
	}


.percent-one-third-pic { 
    background: #fefefe;
    padding-left:10px;
    padding-right:0px;
    margin-left: 0px;
    
}

	ul#filters li {
		margin: 0 5px 15px 0;
		float: center;
	}	

	.pricing-column.cols-4 {
		width: 100%;
		margin-bottom: 20px;
	}
	
	.package-value, .package-features, .pricing-column .signup {
		border-left: 1px solid #DBDBDB;
	}
	
	ul#social li a {
		margin: 0 10px;
	}
	
	#bottomfooter p {
		text-align: center;
		float: none;
	}
    
}

@media only screen and (min-width: 1023px) {
	.nav-btn {
		margin: -1px;
		overflow: hidden;
		position: absolute;
		width: 1px;
		height: 1px;		
	}
    
 .percent-one-half {
  background:#fcfcfc;
  margin-right:0px;
  width:100%;
  }   
   
    .big-text h1 {
    font-size: 31px;
    color: #fff;
    text-transform: uppercase;
    border: 0px solid #fff;
    font-weight: 500;
    padding: 10px 40px;
    margin-top:-10px;
    margin-right:30px;
    margin-bottom:10px;
	text-align: center;
    text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.2em black;
  } 
}

@media only screen and (max-width: 767px) {
	.float-left {
		float: none;
		text-align: center;
	}
	.page-title-subtitle h2 {
		line-height: 30px !important;
	}
    
    .percent-one-fifth-contact {
	position: relative;
	margin-right: 3%;
	float: left;
    margin-left: 1%;
}
   
}

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

	ul.tabs li {
    width: 100%;
	
	
}
	
	ul.tabs li a {
    border: 1px solid #efefef;
	padding-top: 15px;
    padding-bottom: 15px;
}
	
	ul.tabs li.active {
    background:rgba(0,0,0,0.6);		
	}

	.percent-blog, #percent-sidebar {
		width: 100%;
		margin: 0;
		clear:both;
	}
	
	.page-title-subtitle h2 {
		line-height: 50px;
	}

	#navigation {
		margin-top: 15px;
		width: 100%;
        background:transparent;
	}

	ul#mainnav {
		padding-top: 0;
		width: 100%;
		margin-right: 0;
}
	
	ul#mainnav > li {
    background:rgba(0,0,0,0.6)!important;
	width: 100%;
	border-bottom: 1px solid #EFEFEF;
	}
	
	ul#mainnav > li:last-child {
		border: 0;
	}
	
	 ul#mainnav li a {
		padding: 8px 0;
		display: block;
		margin: 0;
		height: auto;
		line-height: inherit;
        background: transparent;
}
	
	ul#mainnav li ul {
		display: block !important;
		position: relative;
		padding: 0;
		width: 95%;
}
	ul#mainnav li ul li {
		border-top: 1px solid #EFEFEF;
		background: transparent;
}
	
	ul#mainnav li ul li a, ul#mainnav li ul li ul li a, ul#mainnav li ul li a:visited, ul#mainnav li ul li a:active	 {
    width: 100%;
    padding: 8px 0;
    font-size: 13px !important;
    background:transparent;
}
	.sf-menu ul {
    left: 5%;
    background: transparent;

	}



	#header .percent-three-fourth {
		width: 100%;
		clear: both;
		margin-bottom: 0px;

	}
	
	#header .centered-wrapper {
		position: relative;
	}
	
	#header {
		width: 100%;

	}
	
	#header .percent-one-fourth {
		margin-bottom: 0px;
	}

	
	
}

@media only screen and (min-width: 1400px) {

    .portfolio {
    float: center;
	margin:0 5% 0 5%;
}
	
}