#wrapper { min-width: 320px; }

/* ------------------------------------------------------------------------- *
 *  Sidebar : 960px > 480px
/* ------------------------------------------------------------------------- */
@media only screen and (max-width: 1024px) {
	#wrapper { margin: 0; padding: 0; border-radius: 0; }
	#wrapper-inner { border-radius: 0; }
}

@media only screen and (max-width: 960px) {
	#wrapper { padding: 0; }
	#wrapper-inner { padding: 20px; border-radius: 0; }
	#wrapper-inner,
	#wrapper-inner-inner { display: block; }
	#wrapper-inner:before { display: none; }
	#header .header-search input { margin: 0; }
	#header #move-sidebar-header,
	#header .s1 { display: none; }
	#header { float: left; min-width: 100%; max-width: 100%; padding-bottom: 0; }
	#header .social-links { text-align: center; }
	#header .social-links li { width: auto; display: inline-block; }
	#header .social-links li .social-tooltip { padding-left: 15px; padding-right: 15px; }
	#header .social-links .social-tooltip:hover:after,
	#header .social-links .social-tooltip:hover:before { display: none; }
	#header-inner { padding: 10px 30px; }
	.site-title { padding-bottom: 10px; }
	.site-description { padding-bottom: 0; }
	#header .social-links { margin-top: 0; }
	#header .social-links .social-tooltip { font-size: 16px; padding: 10px; }
	#header .header-search input { padding: 10px 10px 10px 56px; }
	#header .header-search .themeform.searchform div:after { padding: 8px 14px; top: 0; left: 1px; }
	.main { float: left; }
	.s1 { margin: 0; }
}

/* ------------------------------------------------------------------------- *
 *  Mobile (Mid Res) : 719px > 0px (480px & 320px)
/* ------------------------------------------------------------------------- */
@media only screen and (max-width: 719px) {
	
	/* layout */
	#wrapper { padding: 0; }
	#wrapper-inner { padding: 0; }
	#wrapper-inner,
	#wrapper-inner-inner { border-radius: 0; }
	.main-inner { display: block; }
	.sidebar .widget { margin-top: 0; border-width: 1px 0 0 0; }
	.container { padding: 0; }
	.grid { width: 100%; margin: 0 0 10px; }
	.pagination { margin-left: 20px; margin-right: 20px; }
	
	/* hide */
	.site-description,
	.image-caption { display: none; }
	
	/* base */
	.pad { padding: 20px 20px 10px; }
	.notebox { margin-bottom: 20px; }
	.entry { font-size: 15px; }
	
	/* text */
	.entry h1 { font-size: 30px; letter-spacing: -0.7px; }
	.entry h2 { font-size: 26px; letter-spacing: -0.5px; }
	.entry h3 { font-size: 24px; letter-spacing: -0.3px; }
	.entry h4 { font-size: 22px; letter-spacing: -0.3px; }
	.entry h5 { font-size: 18px; }
	.entry h6 { font-size: 16px; text-transform: uppercase; }

	/* header */
	#header,
	#header .pad { padding: 0; }
	.site-title { padding: 10px 0; margin: 0; width: 100%; float: none; line-height: 50px; }
	.site-title a { text-align: center; }
	.site-title a img { margin: 0 auto; }
	.header-search { top: 4px; left: 0; right: auto; }
	.toggle-search { border-radius: 0 30px 30px 0; }
	.search-expand { top: 2px; left: 64px; right: auto; width: 194px; }
	
	/* footer */
	#footer .pad { padding: 40px; }
	#nav-footer.nav-container { padding: 0; }
	#footer-bottom .pad { padding-top: 50px; padding-bottom: 40px; }
	#footer-bottom .one-half.last { margin-bottom: 0; }
	#footer-bottom { text-align: center; }
	#footer-bottom #footer-logo { margin-left: auto; margin-right: auto; }
	#footer-bottom .social-links { float: none; }
	#footer-bottom .social-links li { margin-left: 4px; margin-right: 4px; }
	
	/* comments */
	.comment-tabs { font-size: 14px; }
	.commentlist li { font-size: 13px; }
	.commentlist li ul li { padding-left: 10px; }
	
	/* page */
	.page-title { font-size: 18px; margin-bottom: 0; }
	.notebox { font-size: 15px; }
	
	#profile-name { font-size: 24px; }
	
	#profile,
	.content,
	.entry-header,
	.entry-footer,
	.entry-content,
	.sidebar .widget { padding-left: 40px; padding-right: 40px; }
	
	/* blog */
	.content > article { padding-left: 0; padding-right: 0; }
	.entry .more-link { font-size: 15px; } 
	
	.featured-post { bottom: 0; }
	.featured-post-title { font-size: 14px; }
	.slick-posts { margin-top: 0; }
	.entry-header { margin-bottom: 20px; }
	.entry-header .entry-title { font-size: 28px; margin-bottom: 10px; }
	.entry-header .entry-meta { font-size: 15px; }
	.entry-media { margin-bottom: 30px; }
	
	.front-widget-col { width: 100%; }
	.front-widget-inner { margin: 0; }
	
	/* single */
	.post-nav li a strong,
	.sharrre .count:after { display: none; }
	.sharrre .box { padding-top: 16px; padding-bottom: 6px; }
	.sharrre .box { padding-left: 0; padding-right: 0; }
	.sharrre .count { width: 70%; margin: 0 15%; }
	.sharrre .share { width: 100%; margin-left: 0; margin-top: 0; }

	.post-nav li { width: 100%; -webkit-box-shadow: none!important; box-shadow: none!important; }
	.post-nav li a { min-height: 0; }
	.post-nav li.previous { border-top: 1px solid #eee; }
	
	.related-posts li { width: 50%; }
	.related-posts li:nth-child(2) article { border-right-color: transparent; } 
	.related-posts li:nth-child(3) { display: none; }
	
	.author-bio .bio-desc { font-size: 16px; }
	
}

/* ------------------------------------------------------------------------- *
 *  Mobile (Low Res) : 479px > 0 (320px)
/* ------------------------------------------------------------------------- */
@media only screen and (max-width: 479px) {
	
	/* layout */
	.content,
	.sidebar.s1 { width: 100%; float: none; margin-right: 0!important; margin-left: 0!important; }
	.sidebar.s1 { width: 100%; display: block; float: left; }
	.main,
	.main-inner { padding: 0!important;  }
	.sidebar .widget { margin-top: 0; border-radius: 0!important; }
	
	/* hide */
	.mobile-sidebar-hide-s1 .s1,
	.mobile-sidebar-hide .sidebar,
	.gallery-caption { display: none; }
	
	/* base */
	.page-title h1, 
	.page-title h2,
	.page-title h3, 
	.page-title h4 { font-size: 18px; }
	.page-title .notebox { font-size: 15px; }
	
	/* header */
	.site-title { font-size: 32px; }
	
	#profile-inner { margin: 0; }
	#profile-image { margin: 0 auto; float: none; width: 112px; }
	#profile-name { text-align: center; margin-top: 10px; }
	#profile-description { text-align: center; }
	
	/* blog */
	#profile,
	.content,
	.entry-header, 
	.entry-footer,
	.entry-content { padding-left: 20px; padding-right: 20px; }
	
	.entry > .alignfull { margin-left: -20px; margin-right: -20px; }
	
	.entry-header,
	.entry-content,
	.entry-footer { padding-right: 20px; padding-left: 20px; }
	
	.entry-header { margin-top: 40px; }
	.entry-header .entry-title { font-size: 32px; }
	
	.entry-list .entry-title a { font-size: 22px; }
	.entry-list-inner.entry-thumbnail-enabled { padding-left: 60px; }
	.entry-list .entry-thumbnail { height: 40px; width: 40px; top: 30px; }
	.entry-list .entry-thumbnail img { height: 40px; width: 40px; }
	
}

