.mobile_advert {
	display: none;
}
#ej-header-mobile-main {
	display: none;
}
.mobile-only {
	display: none;
}
.edpick-inline {
	display: none;
}
.phone-only {
	display: none;
}
@media screen and (max-width: 1024px){
	.container div.sidebar {
		display: none;
	}
	.logos h1.site-brand {
		margin: 15px auto;
		max-width: 100%;
	}
	.social-wrapper, .ele-social {
		float: none !important;
		clear: both !important;
		width: 100% !important;
		max-width: 100% !important;
		text-align: center !important;
	}

    .single-page-content-wrap iframe[src*='player.vimeo.com'],
    .single-page-content-wrap iframe[src*='youtube.com'],
    .single-page-content-wrap iframe[src*='youtube-nocookie.com'],
    .single-page-content-wrap iframe[src*='kickstarter.com'][src*='video.html'],
    .single-page-content-wrap object,
    .single-page-content-wrap embed {
    	width: 100%;
		min-height: 210px;
    }
	
	#relephant-content {
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	.mobile-only {
		display: block;
	}
	.header-wrapper .topnav ul {
		text-align: center;
	}
	.logos h1.site-brand {
		max-width: 98% !important;
		width: 98%;
		margin: 0 auto;
		background-size: contain;
	}
	.logos h1.site-brand a {
		background-size: contain !important;
		height: 50px !important;
	}
	header.group .ele-social a.ej-market,
	header.group .ele-social a.submit-story,
	header.group .ele-social a#btnLogin {
		height: 20px;
	}
	header.group .ele-social a.ej-market {
		width: 40px;
	}
	header.group .ele-social a.submit-story {
		width: 45px;
	}
	header.group .ele-social a#btnLogin {
		width: 65px;
	}
	header.group .ele-social a#waylatest {
		width: 125px;
		height: 23px;
	}
	
	header.group .ele-social .instagram,
	header.group .ele-social .facebook {
		height: 20px;
		width: 20px;
		background-size: contain !important;
	}
	header.group .ele-social .facebook {
		background: url('../images/fb-icon.png');
	}

	.social-wrapper, .ele-social {
		width: 100% !important;
		max-width: 100% !important;
	}
	.ele-social {
		margin: 0 auto 15px !important;
	}
	.header-wrapper .topnav ul.mobile {
		display: block;
	}
	.header-wrapper .topnav ul.desktop {
		display: none;
	}
	.header-wrapper .topnav ul.mobile li {
		padding: 0 2px;
	}
	header.group .logos {
		padding: 10px 0;
	}
	.show-mobile {
		display: inline-block !important;
	}
	.footer .col.second {
		display: none;
	}
	.footer .col.last {
		display: block !important;
		width: 90%;
		float: none;
		margin: 0 auto;
	}
	.newsletter-article-footer {
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	.newsletter-article-footer form input[type=text],
	.newsletter-footer form input[type=text],
	.newsletter-article-footer form input[type=submit],
	.newsletter-footer form input[type=submit]{
		width: 100%;
		float: none;
	}
	.newsletter-article-footer form input[type=submit],
	.newsletter-footer form input[type=submit]{
		margin-top: 5px;
	}
	
	.ej-post-meta .hearting {
		margin: 0;
		padding: 0px 10px;
		background: #EBEFF0;
	}
	.ej-post-meta .meta-reads {
		margin: 0;
		padding: 0px 10px;
		float: inherit;
	}
	.ej-post-meta .meta-shares {
		margin: 0;
		padding: 0px 10px 0px 0;
	}
	.ej-post-meta .meta-wrap {
		display: block;
		width: 100%;
		background: #F8FAFA;
		vertical-align: middle;
	}
	.ej-post-meta .hearting,
	.ej-post-meta .meta-shares,
	.ej-post-meta .meta-reads {
		height: auto;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	.ej-post-meta.bottom-article {
		opacity: 0;
	}
	.ej-post-meta.bottom-article.in-place {
		opacity: 1;
		padding: 0;
	}
	#score-bar-bottom .single-meta.mr-fixit {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 999;
		opacity: 1;
	}
	.container.single > h1 {
		margin: 0 30px 20px;
	}
	.ej-post-meta {
		margin: 20px 20px 20px 30px;
	}
	#score-bar {
		padding: 0 10px 0 15px;
	}
	.rating-bar {
		margin: 0;
		padding: 0 10px;
		overflow: hidden;
	}
	.rating-bar .score-bar {
		height: 18px;
	}
	.single .content-wrap {
		width: 100%;
		margin: 0 auto;
		float: none;
		position: relative;
	}
	.single-page-content-wrap,
	#article-credits,
	#respond {
		padding: 0 30px;
	}
	.fb-comments {
		display: block;
		width: 95%;
		margin: 10px auto;
	}
	.fb-comments iframe {
		max-width: 100% !important;
	}
	.community-postback {
		padding: 25px 0px;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	.author.large .author-bio-wrap {
		padding: 20px 20px 0;
	}
	.newsletter-article-footer form input[type=submit] {
		margin-bottom: 10px;
	}
	.single .content-wrap img {
		max-width: 100%;
		height: auto;
	}
	.single-post .author.large {
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	.single-post .author.large .entry_author_image {
		float: none;
		margin: 15px auto 0;
		height: 200px;
		width: 200px;
	}
	.single-post .author.large h3 {
		font-size: 24px;
		line-height: 30px;
		text-align: center;
		margin: 10px 0 20px;
	}
	#trending-wrapper {
		background: #E8E8E8;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	.pop-item-wrap {
		background: #FFF;
		padding: 0;
		margin: 10px 0;
		width: 100%;
		height: 105px;
	}
	.pop-item-wrap .popicon {
		margin-left: 0px;
	}
	.popicon .score {
		line-height: 105px;
	}
	.pop-thumb {
		width: 65px;
		height: 68px;
		margin: 20px 0px 0 10px;
	}
	.pop-view-count .share-btn {
		display: none;
	}
	.pop-item-wrap .ecoscore .icon {
		background-size: auto 38%;
	}
	.pop-item-wrap .pop-title {
		width: calc(100% - 75px - 40px);
		float: right;
		margin: 20px 0 0;
		padding: 0px 10px 0 20px;
		border-left: 0px solid #AAA;
		font-size: 13px;
		line-height: 17px;
		min-height: 60px;
	}
	#fwf-pull-quote p {
		font-weight: 400;
		font-family: "Open Sans";
	}
	.copyright-bar p {
		font-family: "Open Sans"; 
		font-weight: 400; 
		font-size: 10px; 
		line-height: 15px;
	}
	.score-bar-left {
		width: 480px;
	}
	#score-bar-bottom .score-bar-left .meta-item {
		width: 25%;
	}
	#score-bar .sep {
		display: none;
	}
	
}

@media screen and (max-width: 768px){
	.desktop-only {
		display: none;
	}
}

@media screen and (max-width: 480px){
	#score-bar {
		padding-left: 5px;
	}
	.container.single > h1 {
		width: auto;
		margin: 0 18px 20px;
	}
	.ej-post-meta {
		margin: 20px;
	}	
	.single-page-content-wrap,
	#article-credits,
	#respond {
		padding: 0 20px;
	}
	.newsletter-article-footer form {
		padding: 0;
	}
	.newsletter-article-footer .info h3.trending {
		font-size: 14px;
	}
	#score-bar-bottom .score-bar-left,
	.score-bar-left {
		width: 100%;
	}
	.score-bar-left .meta-item {
		width: 25%;
	}
	#score-bar .sep, 
	.score-bar-left .meta-item.reads {
		display: none;
	}
	
	.score-bar-right,
	.score-bar-left .meta-item.editors-pick {
		display: none;
	}
	
	.edpick-inline {
		display: inline-block;
	}
	.meta-item.editors-pick {
		display: inline-block;
		vertical-align: top;
		line-height: 25px;
		margin: 7px 0 0;
	}
	.meta-item.editors-pick .editors-pick {
		display: inline-block;
		height: 25px;
	}
	.meta-item.editors-pick .icon {
		display: inline-block;
		width: 25px;
		height: 25px;
		position: relative;
		top: 6px;
		margin: 0 0 0 10px;
		background: url("../images/eco-star-icon.png") center no-repeat transparent;
		background-size: 90% auto;
	}
	.eco-featured-image {
		max-height: 300px;
	}
	.eco-featured-image img.eco-featured-fg.portrait {
		max-height: 300px;
	}
	
	.mobile_advert {
		display: block;
	}
	.desktop_advert {
		display: none;
	}
	#ej-header {
		display: none;
	}
	#ej-header-mobile-main {
		display: block;
	}
	#mobile-search {
		display: block;
	}
	/* author byline */
	.ej-post-meta {
		background: transparent;
		margin: 0 0 5px;
		position: relative;
	}
	.ej-post-meta > .meta-author {
		display: block;
		margin: 0 20px 0px 20px;
		padding-bottom: 23px;
		width: calc(100% - 40px);
		border-bottom: 1px solid #DEDEDE;
	}
	.ej-post-meta .meta-author .author-thumb {
		position: relative;
		top: 5px;
		left: 0;
		width: 40px;
		height: 40px;
	}
	.ej-post-meta .meta-author .via {
		vertical-align: top;
		margin: 0;
		width: calc(100% - 66px);
	}
	.ej-post-meta .meta-author .via .meta-author {
		width: 100%;
		margin-top: 8px;
		margin-left: 10px;
	}
	.ej-post-meta .meta-author .via .leader {
		margin-left: 10px;
	}
	.ej-post-meta .meta-author .meta-date {
		position: relative;
		vertical-align: top;
		margin-top: 2px;
		margin-left: 10px;
	}
	.ej-post-meta .meta-item.editors-pick {
		display: none;
	}
	.ej-post-meta .meta-item.editors-pick .count-copy {
		top: 1px;
	}
	.ej-post-meta .meta-item.editors-pick .icon {
		margin-left: 0;
	}
	.ej-post-meta {
		margin-top: 5px;
	}
	.ej-page-author .author.large .entry_author_image {
		float: none;
		margin: 0 auto;
	}
	.ej-page-author .author.large h3 {
		line-height: 40px;
		margin-top: 15px;
		text-align: center;
	}
	.ej-page-author .author.large {
		margin-bottom: 0px;
		margin-top: 0px;
	}
	.phone-only {
		display: block;
	}
	.desktop-only {
		display: none;
	}
}

/* iPhone 5 and 5s (and smaller devices specifically) */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait) {
	.ej-post-meta .meta-reads {
		display: none;
	}
	.mobile-utility .sublink-wrapper {
		padding-right: 5px;
	}
	.mobile-utility .fb-link {
		margin-left: 5px;
	}
}