/*=============================================
	Author: 	Jono Gould
	URL: 		https://jonogould.com
	Date:		10 July 2014
=============================================*/


body {
	font-family: 'Helvetica Neue', Helvetica, Arial, san-serif;
	font-weight: 300;
}

a {
	color: #72B151;
}

a:hover {
	color: #007448;
}

.visible {
	visibility: visible;
}

.text-centered {
	text-align: center;
}

section, article {
	position: relative;
	padding-top: 40px;
	padding-bottom: 40px;

	font-size: 18px;
	line-height: 24px;
}

h1 {
	margin: 0 0 30px;
	font-family: 'Raleway', 'Roboto', 'Helvetica Neue', Helvetica, Arial, san-serif;
	font-weight: 300;
	font-size: 2.3em;
	color: #007448;
}

h2 {
	margin: 0 0 30px;
	font-family: 'Raleway', 'Roboto', 'Helvetica Neue', Helvetica, Arial, san-serif;
	font-weight: 300;
	font-size: 1.7em;
	color: #007448;
}

h2.smaller {
	font-size: 1.3em;
	margin-top: 40px;
}

.dark-green {
	color: #007448;
}

.light-green {
	color: #72B151;
}

@media (min-width: 768px) {
	h1 {
		font-size: 3.6em;
	}

	h2 {
		font-size: 2.8em;
	}

	h2.smaller {
		font-size: 2.5em;
	}
}


/*=============================================
	HEADER
=============================================*/

.navbar {
	border: 0;
	font-size: 16px;
	z-index: 1000;
}

.nav > li > a:hover, .nav > li > a:focus {
	background-color: #72B151;
	color: #fff;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-ms-border-radius: 8px;
	-o-border-radius: 8px;
	border-radius: 8px;
}

.navbar .navbar-toggle .icon-bar {
	background-color: #72B151;
}

.navbar li {
	margin-left: 1px;
	margin-right: 1px;
}

.navbar li.active {
	background-color: #72B151;

	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-ms-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
}

.navbar li.active a {
	color: #fff;
}

.navbar .navbar-collapse {
	margin-bottom: 40px;
}

.navbar .navbar-toggle {
	margin-top: 5px;
	margin-bottom: 0;
	margin-right: 5px;
}

.navbar li.social {
	text-align: center;
	margin-bottom: 10px;
}

.navbar li.social a {
	display: inline-block;
}

.navbar li.social a img {
	width: 40px;
	height: auto;
}

.navbar .dropdown-menu {
	background: #fff;

	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-ms-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
}

.nav .open>a, .nav .open>a:hover, .nav .open>a:focus {
	background: #007448 !important;
	color: #fff !important;
}

.navbar .dropdown-menu > li > a {
	padding: 10px 20px;
	font-weight: 300;
	color: #72B151;
}

.navbar .dropdown-menu > li.active {
	background: #415e99;
}

.navbar .dropdown-menu > li.active > a {
	color: #fff;
}

@media (min-width: 768px) {
	.navbar {
		margin-top: 20px;
	}

	.navbar li.active {
		-webkit-border-radius: 8px;
		-moz-border-radius: 8px;
		-ms-border-radius: 8px;
		-o-border-radius: 8px;
		border-radius: 8px;
	}

	.navbar-right .dropdown-menu {
		right: auto;
	}
}



/*=============================================
	HEADER
=============================================*/

header {
	background: #fff;
	padding: 0;
	margin-top: 20px;
	position: relative;
}

#logo {
	text-indent: -9999px;
	background: url('https://www.emilydietician.co.za/wp-content/themes/emilydietician/assets/img/logo.png') left center no-repeat;
	width: auto;
	height: 115px;
	margin-top: -70px;
}

@media (max-width: 767px) {
	header {
		padding-bottom: 15px;
	}
}

@media (max-width: 480px) {
	header {
		padding-bottom: 0;
	}
	
	#logo {
		background-size: 100%;
	}
}

@media (min-width: 768px) {
	header {
		padding: 0 0 20px;
	}

	.navbar .navbar-collapse {
		margin-bottom: 0;
	}

	.navbar li.social a {
		padding-left: 5px;
		padding-right: 5px;
	}

	.navbar li.social a img {
		width: 20px;
		height: auto;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	#logo {
		width: 360px;
	}
}


/*=============================================
	COVER
=============================================*/

section.cover {
	background: #72B151;
	position: relative;
	padding: 0;
	height: 200px;
}

section.cover-bg {
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

section.cover-huge {
	height: 30em;
	min-height: 200px;
}

section.cover-page {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	/*height: 260px;*/
}

section.cover .cover-inner {
	position: relative;
}

section.cover .apple {
	background: url('https://www.emilydietician.co.za/wp-content/themes/emilydietician/assets/img/apple.png') center center no-repeat;
	position: absolute;
	top: -60px;
	right: 40px;
	width: 268px;
	height: 247px;
}

section.cover .graphic {
	position: absolute;
	top: 0;
	left: 0;
	background: url('https://www.emilydietician.co.za/wp-content/themes/emilydietician/assets/img/covers/new/cover-2.png') center center no-repeat;
	width: 580px;
	height: 300px;
}

section.cover .graphic.graphic-home {
	background-image: url('https://www.emilydietician.co.za/wp-content/themes/emilydietician/assets/img/covers/new/cover-2.png');
}

section.cover .text {
	position: absolute;
	top: 122px;
	left: 500px;
	background: url('https://www.emilydietician.co.za/wp-content/themes/emilydietician/assets/img/covers/cover-home-text.png') center center no-repeat;
	width: 315px;
	height: 57px;
}

section.cover .text.text-home {
	background-image: url('https://www.emilydietician.co.za/wp-content/themes/emilydietician/assets/img/covers/cover-home-text.png');
}

@media (max-width: 767px) {
	.home section.cover-page {
		background-position: 61% 0;
	}
}

@media (min-width: 768px) {
	section.cover {
		height: 300px;
	}

	section.cover-huge {
		height: 400px;
	}
	section.cover-bg {
		background-attachment: fixed;
	}
}

@media (min-width: 1200px) {
	section.cover-huge {
		height: 500px;
	}
}


/*=============================================
	MAIN
=============================================*/

/*
	Content
*/

section.content {
	background: #fff;
	padding-top: 30px;
	padding-bottom: 30px;
}

section.content .content-inner {
	background: #fff;
	padding-left: 15px;
	padding-right: 15px;
}

section.content .content-inner h1 {
	/*text-transform: uppercase;*/
}

section.content .content-inner p {
	font-size: 1em;
	line-height: 1.5em;
	margin-bottom: 20px;
}

section.content .content-inner p.lead {
	font-family: 'Raleway', 'Roboto', 'Helvetica Neue', Helvetica, Arial, san-serif;
	font-weight: 200;
	font-size: 1.2em;
	line-height: 1.5em;
	color: #007448;
	margin-bottom: 20px;
}

section.content ul li {
	line-height: 1.8em;
}

section.content dl dd {
	line-height: 1.8;
	margin-bottom: 20px;
	font-size: 16px;
}

@media (min-width: 768px) {
	section.content .content-inner {
		padding: 30px;
	}

	section.content .content-inner p.lead {
		font-size: 1.5em;
	}
}


/*
	COVER BOTTOM
*/

section.cover-bottom {
	background: url('https://www.emilydietician.co.za/wp-content/themes/emilydietician/assets/img/map.jpg') center top no-repeat;
	background-attachment: fixed;
	background-size: 100%;
	background-size: cover;
	
	padding-top: 160px;
	padding-bottom: 160px;
	height: 600px;
}

section.cover-bottom.map {
	background: #eee;
	
	padding: 0;
	height: 500px;
	overflow: hidden;
}

section.cover-bottom.map #map {
	padding: 0;
	margin: 0;
	height: 500px;
}

section.cover-bottom.map .overlay {
	font-size: 16px;
}

section.cover-bottom.map .overlay address {
	margin: 0;
}

.overlay {
  background-color: #ffffff;
  border-radius: 8px;
  color: #007448;
  font-size: 14px;
  padding: 10px 15px;
  position: relative;
}

.overlay::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 0);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #007448;
}

/*=============================================
	BLOG
=============================================*/

section.blog {
	background: #eee;
	padding-top: 40px;
	padding-bottom: 0;
}

section.blog h1 {
	/*text-transform: uppercase;*/
	margin: 0;
}

section.blog ul li {
	margin-bottom: 15px;
}

article.post {
	padding-top: 30px;
	padding-bottom: 30px;
	background: #eee;
}

article.post .post-inner {
	background: #fff;
	padding: 30px 15px;

	-webkit-box-shadow: 0 10px 10px rgba(100, 100, 100, 0.3);
	-moz-box-shadow: 0 10px 10px rgba(100, 100, 100, 0.3);
	-ms-box-shadow: 0 10px 10px rgba(100, 100, 100, 0.3);
	-o-box-shadow: 0 10px 10px rgba(100, 100, 100, 0.3);
	box-shadow: 0 10px 10px rgba(100, 100, 100, 0.3);
}

article.post .post-inner header {
	background: none;
	margin: 0;
	padding: 0;
}

article.post .post-inner header h2 a {
    text-decoration: none;
}

article.post .post-inner .cover {
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100%;
	background-size: cover;
	
	margin: -30px -30px 20px;
	height: 300px;
}

article.post .post-inner header .meta {
	padding: 10px 0;
	font-size: 14px;
	color: #999;
}

article.post .post-inner header .post-body {
	font-size: 18px;
	line-height: 24px;
}

article.post .post-inner footer {
	background: none;
	padding: 0;
	margin-top: 30px;
}

article.post .post-inner footer a {
	text-decoration: none;
	padding: 12px 12px;
	border: 1px solid #72B151;
}

article.post .post-inner footer a:hover {
	text-decoration: none;
	background: #72B151;
	color: #fff;

	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

article.blog-body {
	margin-top: -100px;
	font-size: 18px;
	line-height: 1.5;
	background: #eee;
}

article.blog-body .container {
	background: #fff;
	border: 1px solid #ddd;
	border-bottom: 3px solid #ddd;
	padding: 30px;
	padding-left: 15px;
	padding-right: 15px;
	min-height: 300px;
}

article.blog-body h1 {
	margin-top: 0;
	font-family: 'Raleway', 'Roboto', 'Helvetica Neue', Helvetica, Arial, san-serif;
	font-weight: 300;
	font-size: 2em;
	/*text-transform: uppercase;*/
	/*color: #72B151;*/
}

article.blog-body h1:before {
	margin-right: 20px;
	color: #f06292;
}

article.blog-body .meta, section.content .meta {
	margin-bottom: 10px;
	font-size: 12px;
	color: #888;
}

article.blog-body .blog-body-inner .cover {
	margin: -15px -15px 25px;
}

article.blog-body .blog-body-inner .cover img {
	width: 100%;
	height: auto;
}

article.blog-body .wp-caption-text {
	font-size: 14px;
	line-height: 1.3;
	color: #777;
	text-align: center;
	margin: 5px 0 10px;
}



.img-half {
	width: 45%;
	height: auto;
}

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

.latest-posts {
	margin-top: 60px;
}

.latest-posts a .latest-post-inner {
	background: #eee;
	text-align: left;
	padding: 20px;
	margin-bottom: 10px;
}

.latest-posts a:hover {
	text-decoration: none;
}

.latest-posts a:hover .latest-post-inner {
	background: #f2f2f2;
}

@media (min-width: 768px) {
	article.post {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	article.post .post-inner {
		padding: 30px;
	}

	article.post .post-inner .cover {
		height: 500px;
	}

	article.blog-body {
		font-size: 20px;
		line-height: 1.8em;
	}

	article.blog-body .container {
		padding: 30px;
	}

	article.blog-body h1 {
		font-size: 3.6em;
	}

	article.blog-body .back {
		margin: -15px 0 15px;
		display: block;
	}

	article.blog-body .meta, section.content .meta {
		font-size: 16px;
	}

	article.blog-body .blog-body-inner .cover {
		margin: -30px -30px 25px;
	}

	.latest-posts a .latest-post-inner {
		text-align: center;
		min-height: 150px;
	}
}


/*=============================================
	CONTENT FOCUS (grey background, centered)
=============================================*/

.content-focus {
	background: #eee;
	text-align: center;
	color: #ccc;
	font-weight: 300;
	font-size: 24px;
	padding: 20px 0;
}

.content-focus .social-icons {
	display: flex;
	justify-content: center;
	width: auto;
	list-style: none;
	margin: 0;
	padding: 0;
}

.content-focus .social-icons li {
	margin: 0 10px;
}

.content-focus .social-icon {
	width: 24px;
	height: 24px;
}

@media (min-width: 768px) {
	.content-focus .social-icons li {
		margin: 0 15px;
	}

	.content-focus .social-icon {
		width: 32px;
		height: 32px;
	}
}


/*=============================================
	TESTIMONIALS
=============================================*/

section.testimonials .testimonial .meta {
	text-align: right;
	padding-top: 15px;
	color: #333;
	font-weight: 400;
}

section.testimonials .testimonial .meta span {
	display: block;
	font-size: 13px;
	line-height: 13px;
	font-weight: 300;
}

section.testimonials .testimonial.switched .meta {
	text-align: left;
	float: right;
}

section.testimonials .testimonial .content h4 {
	margin-top: 0;
}

section.testimonials .testimonial .content blockquote {
	position: relative;
	background: #eee;
	border: 0;
	padding: 20px;
	min-height: 100px;
	margin-bottom: 50px;
	font-size: 16px;
}

section.testimonials .testimonial.normal .content blockquote .caret {
	position: absolute;
	top: 20px;
	left: -15px;

	border-right: 15px solid #eee;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	border-left: 0;
}

section.testimonials .testimonial.switched .content blockquote .caret {
	position: absolute;
	top: 20px;
	right: -15px;

	border-left: 15px solid #eee;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	border-right: 0;
}


/*
	MEDIA
*/

section.media .media-list .media-item {
	background: #eee;
	border: 1px solid #eee;
	padding: 15px;
	margin-bottom: 30px;
}

section.media .media-list .media-item header {
	margin: -15px -15px 15px;
	background-position: center center;
	background-repeat: none;
	background-size: cover;

	height: 200px;
}

section.media .media-list .media-item .content {
	min-height: 52px;
}

section.media .media-list .col-sm-8 .media-item header, section.media .media-list .col-sm-12 .media-item header {
	height: 300px;
}


/*=============================================
	FOOTER
=============================================*/

footer {
	padding-top: 40px;
	padding-bottom: 40px;
	background: #72B151;
	text-align: center;
	color: #fff;
}

footer .made-by span {
	color: #f06292;
}

footer a {
	color: #007448;
}

footer .footer-card .description, footer .footer-card .address {
	margin-bottom: 5px;
	font-size: 11px;
}

@media (min-width: 768px) {
	footer {
		text-align: inherit;
	}

	footer .made-by {
		text-align: right;
	}
}


/*=============================================
	MISC
=============================================*/

#map-canvas {
	width: 100%;
	height: 350px;
}


/*=============================================
	SIDEBAR
=============================================*/

.sidebar {
	border-left: 2px solid #eee;
	/*padding-top: 20px;*/
	padding-left: 0;
}

.widget {
	margin-bottom: 20px;
}

.widget h4 {
	color: #007448;
	padding-left: 10px;
}

.widget ul li a {
	border-top: 1px solid #eee;
	padding: 10px 10px;
	width: 100%;
	display: block;
	text-decoration: none;
	font-size: 15px;
	line-height: 1.5;
}

.widget ul li a:hover {
	background: #72B151;
	color: #fff;
	text-decoration: none;
}

.snapwidget-widget {
	height: 268px;
	padding-left: 10px;
}

.widget ul.widget-social li {
	float: left;
}

.widget ul.widget-social li a {
	border: 0;
	color: #ccc;
}

.widget ul.widget-social li a:hover {
	background: none;
	color: #007448;
	text-decoration: none;
}

aside .sidebar {
	background: #fff;
	margin-top: 30px;
	margin-bottom: 30px;
	padding: 15px;
}

aside .sidebar .widget {
	margin-bottom: 0;
}

@media (max-width: 480px) {
	.widget {
		text-align: center;
		margin-bottom: 0;
	}

	.widget .widget-social {
		display: inline-block;
		margin: 0;
	}

	.widget .widget-social li a {
		padding: 0 10px;
	}
}

@media (min-width: 768px) {
	aside .sidebar {
		margin-top: 60px;
		margin-bottom: 60px;
	}
}


/*=============================================
	SOCIAL BUTTONS
=============================================*/

.social {
	margin-bottom: 15px;
	line-height: 1;
}

.social > div, .social > iframe {
	float: left!important;
}

.social > iframe {
	max-width: 85px!important;
}

.fb-like {
	margin-right: 5px;
}



/*=============================================
	SOCIAL MEDIA ICONS
=============================================*/

.social-icons {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;
}

.social-icons li {
    display: inline-block;
}

.social-icon {
    display: block;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}

.social-icon:hover {
    opacity: 1;
}

.icon-facebook {
    background-image: url('../img/icon-facebook.svg');
}

.icon-instagram {
    background-image: url('../img/icon-instagram.svg');
}

.icon-linkedin {
    background-image: url('../img/icon-linkedin.svg');
}

.icon-x {
    background-image: url('../img/icon-x.svg');
}


/*==============================================
	SPECIAL CASES
==============================================*/

nav.paging-navigation {
	text-align: center;
}

nav.paging-navigation .pagination>.active>a, nav.paging-navigation .pagination>.active>span, nav.paging-navigation .pagination>.active>a:hover, nav.paging-navigation .pagination>.active>span:hover, nav.paging-navigation .pagination>.active>a:focus, nav.paging-navigation .pagination>.active>span:focus {
  z-index: 2;
  color: #FFF;
  cursor: default;
  background-color: #72B151;
  border-color: #72B151;
}

nav.paging-navigation .pagination>li>a, nav.paging-navigation .pagination>li>span {
  color: #72B151;
}

.navbar li {
	padding: 15px;
}

.navbar li a {
	text-decoration: none;;
}

/* Instagram Feed */
.wdi_image_info_container1 {
	display: block !important;
}

.wdi_image_description, .wdi_image_description * {
	font-family: 'Helvetica Neue', Helvetica, Arial, san-serif !important;
}

.wdi_feed_info {
	display: none !important;
}


/*
.postid-272 section.cover-huge {
	background-attachment: initial;
	background-size: contain;
	height: 65vh;
}

#post-272 .cover {
	background-size: contain;
}
*/

/*=============================================
	TESTIMONIALS PAGE
=============================================*/

section.testimonials .content-inner {
	margin-bottom: 30px;
}

section.testimonials .content-inner h1 {
	margin-bottom: 20px;
}
