/*  
Theme Name: A Balanced Body Health Services
Theme URI: https://www.alexleuschner.com
Version: 1.0.0
Author: Alex Leuschner

COLOR SCHEME
Light Green: 
Dark Green: #576941;
*/

body {
	margin: 0 45px;
	background-color: #b0ac67;
	font-family: 'Verdana', sans-serif;
}

ul {
	line-height: 200%;
}

a:link, a:visited {
	color: #6b6721;
}

a:hover {
	color: #938e42;
}

.container {
	width: calc(100% - 42px);
	overflow: auto;
	border: solid 1px #000;
	padding: 20px;
	margin-bottom: 30px;
}

.flex {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
}

.sidebar {
	width: 198px;
	margin: 0 20px 30px 20px;
	background-color: #d2cf9c;
	border: solid 1px #000;
	padding-right: 20px;
}

.sidebar h2 {
	text-align: center;
}

.content {
	width: calc(100% - 302px);
	background-color: #d2cf9c;
	border: solid 1px #000;
	padding: 30px;
}

img.alignright {
	float: right;
}

img.alignleft {
	float: left;
}

.content img {
	border: solid 1px #000;
	margin: 2px 0 5px 20px;
}

.sub-menu {
	display: flex;
	flex-direction: reverse;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: flex-start;
	padding-bottom: 18px;
}

.sub-menu a {
	text-decoration: none;
	font-size: 14px;
	padding-right: 12px;
	text-align: right;
	line-height: 200%;
}

.sub-menu a:after {
	content: ' \007c';
	white-space: pre;
}

.sub-menu a:last-child:after {
	content: ' ';
	white-space: pre;
}

.sub-menu a:link, .sub-menu a:visited {
	color: #e8e6ac;
}

.sub-menu a:hover {
	color: #ff0;
}

#note {
	background: url('https://abalancedbodyhealthservices.ca/wp-content/uploads/2019/04/Sticky_Note_Pad.jpg') no-repeat; 
	margin: -50px 0pt 25px 15px; 
	padding: 10px; 
	width: 223px; 
	height: 223px; 
	float: right;
}

@media only screen and (max-width: 1023px) {
	body {
		margin: 0;
	}
	.container {
		width: 92%;
		padding: 4%;
		border-left: none;
		border-right: none;
	}
	
	.flex {
		flex-wrap: wrap;
	}
	
	.sidebar {
		width: calc(98% - 32px);
		padding: 15px;
		margin: 20px 0 0;
	}
	
	.content {
		width: calc(98% - 32px);
		padding: 15px;
	}
	
	.sub-menu {
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: center;
		line-height: 160%;
	}
	
	.content img {

	}
	
	#note { 
		margin: 15px; 
		padding: 10px; 
		width: 223px; 
		height: 223px; 
		float: none;
	}
	
	.elementor-73 .elementor-element.elementor-element-020e432.elementor-column > .elementor-column-wrap > .elementor-widget-wrap {
		justify-content: center !important;
	}
}

@media only screen and (max-width: 767px) {
	body {
		margin: 0;
	}
	.container {
		width: 92%;
		padding: 4%;
		border-left: none;
		border-right: none;
	}
	
	.flex {
		flex-wrap: wrap;
	}
	
	.sidebar {
		width: calc(98% - 32px);
		padding: 15px;
		margin: 20px 0 0;
	}
	
	.content {
		width: calc(98% - 32px);
		padding: 15px;
	}
	
	.sub-menu {
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: left;
		line-height: 160%;
	}
	
	.content img {
		float: none;
		width: 90% !important;
		height: auto !important;
		margin: 15px 5%;
		display: block;
	}
	
	#note { 
		margin: 15px; 
		padding: 10px; 
		width: 223px; 
		height: 223px; 
		float: none;
	}
	
	.elementor-73 .elementor-element.elementor-element-020e432.elementor-column > .elementor-column-wrap > .elementor-widget-wrap {
		justify-content: center !important;
	}
}

@media only screen and (max-width: 470px) {
	.elementor-element-3f5cfa3 h2 {
		font-size: 1em !important;
	}
	
	.elementor-element-cb96dae h1 {
		font-size: 1.2em !important;
	}
}

ul.rss-aggregator {
	padding-left: 20px;
}

.wp-rss-aggregator li {
	line-height: 18px;
	list-style-type: none;
}

.wp-rss-aggregator li a {
	font-size: 0.9em;
	text-decoration: none;
}

.wp-rss-aggregator li a:link, .wp-rss-aggregator li a:visited {
	color: #000;
}

.wp-rss-aggregator li a:hover {
	color: #b0ac67;
}

.wp-rss-aggregator li div.wprss-feed-meta {
	display: none;
}

.nav-links {
	margin-left: 20px;
}