/* 
Theme Name: Yeah...ImmaEatThat 2018
Theme URL: http://www.immaeatthat.com/
Description: Custom theme for Yeah...ImmaEatThat.
Author: 
Author URI: 
Version: 2.0
*/

/* 
font-family: 'Karla', sans-serif;
font-family: 'Judson', serif; 
font-family: 'Nickainley-Normal' , sans-serif;
*/

@import "./style-original.css";

/* Header */
.top-header {
	position: relative;
	display: block;
}

/* Sidebar */
.sidebar .textwidget img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.sidebar-pin .textwidget > span {
	display: block;
	margin-left: auto;
	margin-right: auto;	
}

/* Nutrition Counseling */
.panel-grid.panel-no-style {
	justify-content: space-around;
}

#pgc-23478-1-0, #pgc-23478-1-1, #pgc-23478-2-0, #pgc-23478-2-1 {
	width: auto !important;
}

/* Responsive */
.container {
    max-width: 100%;
    margin: 0 auto
}

.wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 1070px;
}

/* Comments */
.comment-form-cookies-consent input#wp-comment-cookies-consent {
	width: auto;
}

.comment-form-cookies-consent label {
	font-size: 12px;
}

/* Disordered Eating Post */
.disordered-eating-img {
	margin-bottom: 25px;
}

.disordered-eating-img img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

@media(min-width : 801px) {
	.wrapper {
		padding-left: 15px;
		padding-right: 15px;
	}
	
    .span_content {
        margin-left: 0;
		max-width: 680px;
		width: calc(100% - 320px);
        float: left;
	}
	
	.span_sidebar {
        width: 300px;
        float: right;
        clear: right;
        display: block
	} 
	
	.footer-internal-wrapper {
		flex-flow: initial;
	}

	.mobile-menu {
		display: none;
	}
}


@media(max-width : 800px) {
	.span_content  {
        float: none;
		width: 100%;
		padding-left: 15px;
		padding-right: 15px;
    }

    .span_sidebar {
		display: block;
        clear: both;
        width: 100%;
        max-width: 300px;
        float: none;
		margin: 0 auto;
		padding-left: 15px;
		padding-right: 15px;
	}

	/* Header */
	.header {
		border-bottom: 1px solid #a68066;
	}

	.social, 
	nav.mainmenu {
		display: none;
	}

	/* Post */
	.featured-post .posttitle .date {
		float: none;
		margin-left: auto;
		margin-right: auto;
	}

	.featured-post .posttitle h2 {
		text-align: center;
		margin: 10px 0;
	}

	.featured-post .posttitle h2 a {
		font-size: 26px;
	}

	.teaserpost {
		width: 48%;
		float: left;
		display: block;
		text-align: center;
		margin-left: 1%;
		margin-right: 1%;
		margin-bottom: 0;
	}

	.teaserpost:nth-of-type(2n) {
		clear: both;
	}

	.teaserpost .postthumb,
	.teaserpost .postcontent {
		width: 100%;
		z-index: 1;
		position: relative;
	}

	.teaserpost .posttitle .postmeta,
	.teaserpost .posttitle .more {
		display: none;
	}

	.teaserpost .postcontent {
		margin-top: -27px;
		z-index: 2;
	}
	
	.posttitle h2 a {
		font-size: 16px;
	}

	/* Archive */
	.archivepost {
		margin-right: 3.5%;
		margin-bottom: 25px;
		width: 46%;
		float: left;
	}

	.archivepost:nth-child(3n) {
		margin-right: 3.5%;
	}

	.archivepost:nth-child(2n) {
		margin-right: 0;
	}

	.archivepost:nth-child(3n+1) {
		clear: none;
	}

	.archivepost:nth-child(2n+1) {
		clear: both;
	}


	.archivepost h4.posttitle {
		font-size: 20px;
	}

	/* Related Posts */
	.relatedposts .archivepost:nth-child(2n+1) {
		clear: none;
		margin-right: 0;
	}

	.relatedposts .archivepost:nth-child(2n) {
		margin-right: 3.5%;
	}

	.relatedposts .archivepost:nth-child(3n+1) {
		clear: both;
	}

	/* Footer */
	.footer-internal-wrapper {
		flex-flow: wrap;
		flex-direction: column;
	}

	.footer-left {
		display: block;
		margin-left: auto;
		margin-right: auto;		
	}

	.footernav {
		margin: 25px 0;
	}

	.footernav li {
		display: block;
		text-align: center;
	}

	.footer .copyright {
		margin-left: 0;
		text-align: center;
	}

	/* How to Eat */
	.page-id-22085 .course-video {
		margin-top: 15px;
		margin-bottom: 15px;
	}

	.page-id-22085 .restore-relationship h2 {
		font-size: 16px;
	}

	.page-id-22085 #course-overview ul {
		padding: 0;
	}

	.page-id-22085 #course-overview ul li {
		width: 45%;
	}

	/* Nutrition Counseling */
	.nutrition-options {
		width: 340px;
		background-size: 100%;
		padding: 2em;
	}

	.nutrition-options .pkgTitle {
		margin-bottom: 0;
	}

	.nutrition-options .pkgTitle ~ h1 {
		margin: 0;
	}

	/* Recipes */
	.subcategories li ul {
		column-count: 2;
	}
}
