@media screen and (max-width: 980px) { #pagewrap {
max-width: 100%;
}
.pagewidth,
.sidebar-none .loops-wrapper.list-post .section-inner,
.single .section-inner {
max-width: 94%;
}
.full_width.sidebar-none .loops-wrapper .section-inner {
max-width: 100% !important;
}
#header.pagewidth {
max-width: 100%;
width: 100%;
} .pagewidth #nav-bar {
padding: 0 3% \9;
left: -3% \9;
} #content {
padding: 7% 0 5%;
width: 67.8%;
} #sidebar {
padding: 7% 0 5%;
width: 26.2%;
}
#sidebar .secondary {
width: 47.4%;
}  .section-post.video {
min-height: 0;
}
}
@media screen and (max-width: 830px) {  .loops-wrapper.highlight.grid4 .post {
width: auto;
margin-left: 0;
float: none;
}
}
@media screen and (max-width: 768px) { #content {
width: 100%;
max-width: 100%;
float: none;
clear: both;
} #sidebar {
width: 100%;
max-width: 100%;
float: none;
clear: both;
}  #header .social-widget, 
#site-logo, 
#site-description  {
position: static !important;
float: none;
clear: both;
}
#headerwrap #site-logo {
font-size: 2.8em;
} .mobile-button {
position: relative;
height: 20px;
margin: auto;
display: inline-block;
cursor: pointer;
padding: 20px 0;
white-space: nowrap;
text-align: left;
}
.mobile-button:after {
padding: 1px;
content: "";
width: 100%;
height: 100%;
position: absolute;
top: -1px;
left: -1px;
z-index: -1;
}
.mobile-button {
color: #fff;
text-transform: uppercase;
} #pagewrap #main-nav-wrap {
position: absolute;
top: 5px;
right: 95px;
z-index: 1000;
}
#pagewrap nav {
text-align: center;
} #menu-icon:before {
content: "\f0c9";
font: normal 21px/1em FontAwesome;
width: 1em;
height: 1em;
vertical-align: middle;
display: inline-block;
margin: -4px 5px 0 0;
} #pagewrap #main-nav {
clear: both;
position: absolute;
width: 180px;
height: auto;
z-index: 1000;
padding: 10px 12px;
background-color: #fff;
display: none;
left: 50%;
margin-left: -100px;
border: solid 1px #ccc;
}
#pagewrap #main-nav li {
clear: both;
float: none;
padding: 5px 0;
position: static;
display: block;
border-top: 1px solid #e5e5e5;
}
#pagewrap #main-nav li:first-child {
border: none;
}
#pagewrap #main-nav a, 
#pagewrap #main-nav ul a {
font: inherit;
font-size: .85em;
text-transform: inherit;
background: none;
width: auto;
display: block;
padding: 0;
color: #666;
border: none;
}
#pagewrap #main-nav a:hover, 
#pagewrap #main-nav ul a:hover {
background: none;
color: #000;
} #pagewrap #main-nav ul {
position: static;
display: block;
margin: 0;
padding: 0;
background: none;
border: none;
}
#pagewrap #main-nav ul ul {
margin: 0;
text-align: center;
}
#pagewrap #main-nav ul ul:before {
display: none;
} #pagewrap #main-nav {
top: auto;
bottom: 60px;
max-height: 420px;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
.no-header #pagewrap #main-nav,
.fixed-header-on #pagewrap #main-nav {
position: absolute;
top: 60px;
bottom: auto;
}  .section-inner {
padding-top: 100px; } .section-post.message {
font-size: 1em;
}  .loops-wrapper.grid4 .post,
.loops-wrapper.grid3 .post {
width: auto;
margin-left: 0;
float: none;
}
}
@media screen and (max-width: 768px) and (max-height: 600px) { #pagewrap #main-nav {
max-height: 320px;
}
}
@media screen and (max-width: 600px) { h1 {
font-size: 1.8em;
}
h2 {
font-size: 1.6em;
}
h3 {
font-size: 1.4em;
}
h4 {
font-size: 1.2em;
} .col4-1,
.col4-2, .col2-1,
.col4-3,
.col3-1,
.col3-2	 {
margin-left: 0 !important;
width: 100% !important;
max-width: 100% !important;
} #headerwrap {
z-index: 998;
} .social-widget {
position: static;
float: none;
padding: 0;
} .admin-bar.no-header #nav-bar,
.admin-bar #nav-bar.fixed-nav-bar {
top: 0;
} .loops-wrapper {
margin-left: 0 !important;
} .post {
width: auto !important;
max-width: 100% !important;
margin-left: 0 !important;
float: none !important;
}
.loops-wrapper.list-post .post-content {
overflow: visible;
}
.single-portfolio-expanded .post-image,
.single-portfolio .post-image,
.loops-wrapper.list-post .post-image {
max-width: 100%;
width: 100%;
float: none;
margin-right: 0%;
} .loops-wrapper.grid2-thumb .post-image {
width: auto;
max-width: auto;
min-width: 0;
}
.loops-wrapper.grid2-thumb .post-content {
overflow: visible;
}  .section-title,
.section-post.message .section-title {
font-size: 2.2em;
}
.section-subhead,
.section-post.message .section-subhead {
font-size: 1.2em;
} .post-nav .prev, 
.post-nav .next {
display: block;
width: 100%;
clear: both;
margin-bottom: 10px;
} .commentlist {
padding-left: 0;
}
.commentlist .commententry {
clear: left;
}
.commentlist ul,
.commentlist ol {
margin: 0 0 0 5%;
}
.commentlist .avatar {
float: left;
width: 40px;
height: 40px;
margin: 0 10px 10px 0;
} #body .gallery-columns-1 img {
max-width: 50px;
padding: 3px;
} #footer-logo {
position: static;
}
.footer-nav {
padding: 0;
}
#footer .widget {
margin: 0;
} .woocommerce #content div.product div.images,
.woocommerce #content div.product div.summary {
float: none !important;
width: 100% !important;
}
}
@media screen and (min-width: 769px) { #main-nav {
display: block !important;
}
#menu-icon span {
display: none;
}
}