/*
Theme Name: HanaHealth
Theme URI: http://HanaHealth.org
Description: Theme for HanaHealth

Version: 1.0
Author: HanaHealth
Author URI: http://HanaHealth.com
*/


* {
	box-sizing: border-box;
}
body {
	background: #fff;
	color: #453319;
	font-family: sans-serif;
	font-size: 100%;
	font-weight: 400;
	margin: 0;
	padding: 0;
}

a,
a:visited,
a:active {
	color: #000;
	text-decoration: none;
}
a:hover {
	color: green;
}

/* 
---------------------------------------------------------------- */

html, body {

}

#page {
	height: auto !important;
	margin: 0 auto -30px;
	
	width: 1023px;
}
#footer, #push {
	height: 35px;
}
.nav {
	padding-top: 30px;
	margin: 0 0 0 58px;
	width: 521px;
}
.nav:after {content: "."; display: block; height: 0; clear: both; visibility: hidden; font-size: 1px; }
#footer {
	width: 100%;
	height: 60px;
	text-align: right;
}
.footer-content {
	height: 30px; 
	line-height: 30px; 
	margin: 0 auto;
	max-width: 1024px;
	font-size: 12px;
	padding: 0 0 0 30px;
}

#sub-background {
	margin: 0 auto;
	width: 1024px;
}

#sub-content {
	width: 1024px;
	min-height: 605px;
}
#sub-content:after {content: "."; display: block; height: 0; clear: both; visibility: hidden; font-size: 1px; }

#content-body {
	float: left;
	width: 380px;
	padding-top: 37px;
	color: #4d4d4d;
	margin-bottom: 2em;
	font-size: 11pt;
	line-height: 15pt;
}

#content-sidebar {
	float: left;
	width: auto;
}

#page-content {
	background:url(images/background-pages.png) 0 156px no-repeat;
}

/* 
---------------------------------------------------------------- */
#home-link {
	display: block;
	width: 110px;
	height: 107px;
}

#logo {
	float: left;
	background-image:url(images/nav.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	width: 110px;
	height: 107px;
	margin: 0;
	padding: 0;
}


#menu-site-menu {
  	margin: 0 0 0 145px;
  	padding: 0;
  	float: left;
	width: 250px;
	list-style: none;
}
#menu-site-menu li {
	float: left;
	background-image:url(images/nav.png);
	background-repeat: no-repeat;
	margin:0 0 3px 0;
	width: 192px;
	height: 33px;
}
#menu-site-menu li:first-child {
	margin-top: 17px;
}
#menu-site-menu li a {
	display: block;
	text-indent: -9999px;
	overflow: hidden;
	width: 192px;
	height: 33px;
}
#menu-site-menu li.site-hana-health {
	background-position: -112px 0;
}
#menu-site-menu li.site-hana-fresh {
	background-position: -112px -36px;
}
#menu-site-menu li.site-about-us {
	background-position: -112px -72px;
}
#menu-site-menu li.site-hana-health a:hover {
	background-position: -332px 0;
}
#menu-site-menu li.site-hana-fresh a:hover {
	background-position: -332px -36px;
}
#menu-site-menu li.site-about-us a:hover {
	background-position: -332px -72px;
}
#menu-site-menu li.site-hana-health.current-page-ancestor,
#menu-site-menu li.site-hana-health.current-menu-item {
	background-position: -332px 0;
}
#menu-site-menu li.site-hana-fresh.current-page-ancestor,
#menu-site-menu li.site-hana-fresh.current-menu-item {
	background-position: -332px -36px;
}
#menu-site-menu li.site-about-us.current-page-ancestor,
#menu-site-menu li.site-about-us.current-menu-item {
	background-position: -332px -72px;
}


/* 
---------------------------------------------------------------- */

.section-menu {
	float: left;
	margin-left: 64px;
	padding-top: 2px;
	width: 248px;
}

.section-image {
	width: 200px;
	height: 280px;
}

.section-menu .menu {
	width: 200px;
}
.section-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.section-menu li a {
	display: block;
	border-bottom: 0px solid #5A634D;
	margin-bottom: 13px;
	padding-bottom: 2px;
	padding-left: 30px;
	font-weight: bold;
	color: #006837;
	font-size: 13px;
}

.section-menu .current-menu-item a {
	color: #e89929;
}

/* 
---------------------------------------------------------------- */

.sidebar {
	margin: 210px 0 50px 107px;
	width: 185px;
}
.sb-top {
	background:url(images/sidebar.png) left top no-repeat;
	height: 22px;
	width: 100%;
	overflow: hidden;
}
.sb-bottom {
	background:url(images/sidebar.png) left bottom no-repeat;
	height: 2px;
	width: 100%;
	overflow: hidden;
}
.sb-content {
	padding: 5px 10px 10px 25px;
	background:url(images/sidebar.png) -185px top repeat-y;
	overflow: hidden;
	font-size: 70%;
	line-height: 1.3;
}
.sb-content p {
	margin: 10px 0;
}



/* front-page.php
----------------------------------------------------------------*/

.home #page {
	background: none;
}

#home-page {
	margin: 0 auto;
	min-height: 1202px;
	width: 1022px;
}

.home-content {
	float: left;
  	width: 218px;
  	margin-left: 64px;
  	margin-right: 30px;
  	padding-top: 20px;
  	position: relative;
	color: #006837;
}
.home-content p {
	font-size: 11pt;
	margin: 0 0 14pt 0;
  	line-height: 1.5em !important;
}
.home-col-1 {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 210px;

	font-size: 11pt;
  	line-height: 1.5em !important;
}
.home-col-1 h2 {
  	line-height: 1.2em !important;
	margin-bottom:5px;
}
.home-col-2 {
	font-size: 11pt;
	height: 1200px;
	left: 249px;
	line-height: 1.3em !important;
	position: absolute;
	top: 2px;
	width: 710px;
}

.home-image {
	float: left;
	max-width: 710px;
	padding-left: 0px;
	padding-top: 2px;
}

@media only screen and (max-width : 667px) {

	.home-col-1 {
	  	line-height: 1.3em !important;
  		margin: 1em 0;
		position: static;
  		width: auto;
	}

	.home-col-2 {
  		display: none;
		
	}

	#home-page {
		width: auto;
		min-height: 1;
		background: none !important;
	}

	.home-content {
		float: none;
		margin: 0;
		padding: 0;
		width: auto;
	}

	.home-image {
		width: auto
	}
	.home-image img {
		max-width: 100%;
		height: auto;
	}

	#home-page {
		display: -webkit-box;
	    display: -moz-box;
	    display: -ms-flexbox;
	    display: -webkit-flex;
	    display: flex;
	    -webkit-box-orient: vertical;
	    -moz-box-orient: vertical;
	    -webkit-flex-direction: column;
	    -ms-flex-direction: column;
	    flex-direction: column;
	    /* optional */
	    -webkit-box-align: start;
	    -moz-box-align: start;
	    -ms-flex-align: start;
	    -webkit-align-items: flex-start;
	    align-items: flex-start;		
	}

	#home-page .home-content {
	    -webkit-box-ordinal-group: 2;
	    -moz-box-ordinal-group: 2;
	    -ms-flex-order: 2;
	    -webkit-order: 2;
	    order: 2;
	}

	#home-page .home-image {
	    -webkit-box-ordinal-group: 1;
	    -moz-box-ordinal-group: 1;
	    -ms-flex-order: 1;
	    -webkit-order: 1;
	    order: 1;
	}	

}

/* CMS/WYSIWYG
----------------------------------------------------------------*/

#content-body input[type=text] {
	padding: 8px 10px;
	border: 1px solid #ccc;
	font-size: 14px;
    -webkit-appearance: none;
    border-radius: 0;
}

#content-body a {
	color: #006837;
	text-decoration: underline;
}

#content-body p {
	margin: 0 0 14pt 0;
	line-height: 1.3;
}

#content-body h2 {
	font-size: 14pt;
	line-height: 16pt;
	margin: 0;
}

#content-body h3 {
	color: #006837;
	font-family: 'Times New Roman', 'sans-serif';
	font-weight: normal;
	line-height: 18pt;
	font-size: 14pt;
	margin: 0;
}

#content-body hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}


/* page specific: patient-portal */
#portal-button,
#portal-button:visited,
#portal-button:hover,
#portal-button:active
{
	background: #006837;
	border-radius: 2px;
	color: #fff !important;
	display: block;
	line-height: 40px;
	text-align: center;
	text-decoration: none !important;
	width: 150px;
}

.food-stand-menu {
	padding: 30px 0 0 0;
	font-size: 14px;
	line-height: 1.5;
}

.page-id-243 #content-body table, /* weekday */
.page-id-245 #content-body table, /* saturday */
.page-id-241 #content-body table, /* all day */
.page-id-164 #content-body table 
{
	border-collapse: collapse;
	margin: 0 0 20px 0;
	padding: 0;
	width: 100%;
}
.page-id-243 #content-body table td,
.page-id-245 #content-body table td,
.page-id-241 #content-body table td,
.page-id-164 #content-body table td 
{
	margin: 0;
	padding: 0;
	vertical-align: top;
}
.page-id-243 #content-body table td:first-child,
.page-id-245 #content-body table td:first-child,
.page-id-241 #content-body table td:first-child,
.page-id-164 #content-body table td:first-child 
{
	min-width: 93%;
}
.page-id-243 #content-body table td:nth-child(2),
.page-id-245 #content-body table td:nth-child(2),
.page-id-241 #content-body table td:nth-child(2),
.page-id-164 #content-body table td:nth-child(2)
{
	min-width: 6%;
	text-align: right;
}
.page-id-243 #content-body h4, 
.page-id-245 #content-body h4, 
.page-id-241 #content-body h4, 
.page-id-164 #content-body h4 
{
	font-family: 'Times New Roman','sans-serif';
	color: #F5964F;
	font-size: 18px;
	margin: 20px 0 1em 0;
}
.page-id-243 #content-body h5,
.page-id-245 #content-body h5,
.page-id-241 #content-body h5,
.page-id-164 #content-body h5
{
	font-size: 16px;
	font-weight: 600;
	margin: 0;
}

.superfoods {

}

.superfoods div {
	margin-bottom: 0.5em;
}


@media only screen and (max-width : 667px) {


	body {
		background:url(images/background-pages.png) 0 120px no-repeat;
	}

	body.home {
		background:url(images/background-pages.png) 0 120px no-repeat;
	}

	#page {
		width: auto;
		padding: 10px;
		background: none;
	}

	#page-content {
		background: none;
	}

	#page-background {
		background: none !important;
	}


	#footer {
		position: relative;
		padding: 0 10px;
	}

	.nav {
		width: auto;
		padding: 0;
		margin: 0;
	}

	#menu-site-menu {
		margin: 0 0 0 10px;
		width: 175px;
		overflow: hidden;
	}
	#menu-site-menu li:first-child {
		margin-top: 0;
	}


	#sub-background {
		width: auto;
	}

	#sub-content {
		width: auto;
		padding: 0 10px;
	}

	.section-menu {
		float: none;
		margin: 0;
		padding: 10px 0 0 0;
		width: 100%;
	}

	.section-image {
		height: auto;
		text-align: center;
		width: 100%;
		padding: 4px 0;
	}
	.section-image img {
		max-width: 100%;
		height: auto;
		margin: 0 auto;
	}

	.section-menu .menu {
		width: auto;
	}
	.section-menu .menu li {
		margin: 0;
	}
	.section-menu .menu li:first-child {
		border-top: 1px solid #ccc;
	}
	.section-menu li a {
		display: block;
		border-bottom: 1px solid #ccc;
		padding: 12px 0;
		width: auto;
		margin: 0;
	}

	#content-body {
		width: auto;
		float: none;
	}

	#content-body input[type=text] {
		width: 100%;
		font-size: 16px;
	}


	#content-sidebar {
		float: none;
		width: auto;
	}
	.sidebar {
		margin: 20px -10px 0 -10px;
		width: auto;
		background: #fff;
		border: 1px dashed #FCB03C;
	}
	.sb-top {
		display: none;
	}
	.sb-content {
		background: none;
		font-size: 14px;
		padding: 5px 10px;
	}
	.sb-bottom {
		display: none;
	}

	.footer-content {
		padding: 0 0 0 10px;
	}

	#sub-content {
		display: -webkit-box;
	    display: -moz-box;
	    display: -ms-flexbox;
	    display: -webkit-flex;
	    display: flex;
	    -webkit-box-orient: vertical;
	    -moz-box-orient: vertical;
	    -webkit-flex-direction: column;
	    -ms-flex-direction: column;
	    flex-direction: column;
	    /* optional */
	    -webkit-box-align: start;
	    -moz-box-align: start;
	    -ms-flex-align: start;
	    -webkit-align-items: flex-start;
	    align-items: flex-start;		
	}

	#sub-content #content-body {
	    -webkit-box-ordinal-group: 2;
	    -moz-box-ordinal-group: 2;
	    -ms-flex-order: 2;
	    -webkit-order: 2;
	    order: 2;
	}

	#sub-content #content-sidebar {
	    -webkit-box-ordinal-group: 1;
	    -moz-box-ordinal-group: 1;
	    -ms-flex-order: 1;
	    -webkit-order: 1;
	    order: 1;
	}	


}


