#wrapper {z-index: 2;
position: relative;}
#content {
padding: 10px;}
#logo {
position: absolute;
z-index: 90;
left: 230px;
}




#top {
position: fixed;
z-index: 90;

}

#top #top-nav {
float: right;
}

body.logged-in #top {
top: 28px !important;
}

#navigation {
	position: fixed;
z-index: 90;
top: 60px;
right: 155px;
}

#navigation ul.nav > li a {
color: #fff;
text-shadow: none;
}

#main-nav {
background: rgba(0, 0, 0, 0.4) !important;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)" !important;
-webkit-border-radius: 1em !important;
border-radius: 1em !important;
-moz-background-clip: padding !important;
-webkit-background-clip: padding-box !important;
background-clip: padding-box !important;
}

.single-portfolio .portfolio {
float: none;
width: 100%;
}




#header {
z-index: 89;
}



#himage {
margin: 0;
max-width: 100%;
z-index: 1;
position: static;
/* height: 434px; */

}



#pgallery img {
	padding: 5px;
}

.single-portfolio-gallery img {
	
	padding: 1px 0;

}

.single-portfolio .single-portfolio-gallery {
float: right;
width: 100%;
}

#portfolio-gallery .portfolio-item {
	max-width: 444px;
}

#sticky-posts-4, #sticky-posts-5 {
	overflow: auto;
}

#sticky-posts-4 li, #sticky-posts-5 li {
	float: left;
	width: 240px;
	padding: 0 7px;
}

#sticky-posts-5 .upw-posts article, #sticky-posts-4 .upw-posts article {
float: left;
	width: 230px;
  padding: 0 7px;
  margin: 0 5px;
}



/* #content {
margin-top: 10% !important; 
} */


#factbox p, #pgallery p {
font: 300 1.1em/1.5em 'PT Serif Caption', arial, sans-serif;
}

#factbox {
padding-top: 2.38em;
}

/* #header .nav-toggle {
display: none;
} */

.section-title p span {
font: normal 1.4em/1.5em 'Bevan', arial, sans-serif;
}

#footer-widgets .widget h3, #social h3, .widget h3 span {
/*  font-family: "Bevan", sans-serif; */
font: normal 1.1em/1.387em 'Bevan', arial, sans-serif !important;
/*  font: bold 1.3em/1.387em 'Bevan', arial, sans-serif;*/ 
}

.widget h3 {

text-transform: none;
}

#sub-feature #features .widget_woothemes_features .features .feature h3, #respond #reply-title  {
 font-family: "Bevan", sans-serif;
}

#pgallery p {
	margin: 0 0 0.5em 0;
}

.fsubt {
	font-weight: bold;
}

.archive-header  h1, .single-portfolio header h1  {
font-family: "Bevan", sans-serif;
font-weight: normal;
}

.archive-header { margin: 0; padding: 0;}

@media (max-width: 1350px) {}
@media (min-width: 1024px) {
#sub-feature #features ul li, #sub-feature #features .feature {
		width: 20.58%;
}
}

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

.post .article-inner, .type-page .article-inner, .type-features .article-inner, .search-results .features .article-inner, .search-results .page .article-inner, .search-results .type-product .article-inner, .search-results .type-portfolio .article-inner {
padding: 2.244em 2.244em 1.618em 2em;
}

#post-entries {
padding: 0 1.618em 1.618em 1.618em;
}

#head-wrap p {

top: 175px;

left: 150px;
font-size: 18px;

}


#main {
	width: 70%;
}

#sidebar { 
	width: 28%;
}

#sub-feature #features ul li, #sub-feature #features .feature {
		width: 20.58%;
}

#sticky-posts-4 li, #sticky-posts-5 li {
	
	width: 22%;

}


}
@media (max-width: 800px) {
#sticky-posts-5 .upw-posts article, #sticky-posts-4 .upw-posts article {
float: left;
	width: 45%;
	
}
}

@media (max-width: 600px) {
#sticky-posts-5 .upw-posts article, #sticky-posts-4 .upw-posts article {
float: left;
	width: 96%;
	
}
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {

#logo {left: 30px}

#sticky-posts-2 li, #sticky-posts-5 li {
	float: none;
	width: 85%;
	padding: 0 7px;
	margin: 0 auto;
}

.post header h1, .post header h1 a:link, .post header h1 a:visited {
font: bold 1.2em/1.387em 'Merriweather', arial, sans-serif;
color: #191919;
}

#hero-wrap p {
	display: none;
}

#top {
position: inherit;
}
#logo {
position: inherit;

left: inherit;
}
#header #logo {

margin-bottom: 5.618em;
}
#header .nav-toggle {
display: none;
}

#sticky-posts-5 .upw-posts article, #sticky-posts-4 .upw-posts article {
float: left;
	width: 96%;
	
}
#sticky-posts-4 li, #sticky-posts-5 li {
	
	width: 100%;
	
}

}