/** Belinda Eisen Acupuncture 
 *   @author:   Kinetic Kolour Web Media
 *   @date:     Feb 2018
 *   @version:  2.0.2
 */
 
@import url('https://fonts.googleapis.com/css?family=Raleway:400,600');

* {
	color: #666;
	font-size: 18px;
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1.5em;
	padding: 0;
	margin: 0;
}
body {
    overflow: hidden;
}
p {
    margin: 0.5em auto;
}
a {
	color: #444;
	text-decoration: none;
}
a:hover {	
	color: #333;
	text-decoration: underline;
}
a:active, a:focus {
	outline: none;
}
a.u {
	text-decoration: underline;
}
h1 {
    color: #6a6a6a;
    font-size: 2em;
}
h2 {
	color: #444;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}
#bg {
    height: 100vh;
    background: #64aa6f;
    background: linear-gradient(to bottom, #375b41 0%,#2c7538 7%,#64aa6f 100%);

}
/* Header */
header {
    position: relative;
	height: 100px;
	padding: 10px 25px;
	background-color: #fff;
	border-bottom: 8px solid #64AA6F;
	z-index: 5;
}
#site-logo img {
    display: inline-block;
}
#site-logo #title {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 300px;
    line-height: 1;
    padding-left: 20px;
    margin: 0;
}

div.error { 
	font-size: 16px;
	color: red;
	padding-left: .5em;
	display: inline-block;
	position: absolute;
	left: 150px;
}
.footnotes {
	color: #666;
	font-size: 10px;
	font-weight: 100;
}
ul {
    position: relative;
    left: 20px;
}
li {
    text-indent: 5px;
}
.listHeading {
	position: relative;
	left: -20px;
}
tr.tableHeader td {
	vertical-align: middle;
	font-weight: bold;
}
td {
    font-size: 0.9em !important;
	margin: 0;
	padding: 0;
	vertical-align: text-top;
}
td a {
    font-size: 1em !important;
    color: #666 !important;
}
img {
	border: 0px;
	outline: 0px;
	max-height: 100%;
}
hr {
	color: #ddd;
	background-color: #000;
}
.right {
/*	float: right;*/
	text-align: right !important;
}

/* middle */
#wrapper {
	position: relative;
	top: 71px;
	height: 600px;
	width: 960px;
	background-color: #eee;
	background-repeat: no-repeat;
	background-size: cover;
	margin-left: auto;
	margin-right: auto;
}
#content_bg {
	position: relative;
	top: 35px;
	left: 5px;
	padding: 0px 0px 40px 0px;
	width: 820px;
	/*min-height: 300px;
	max-height: 420px;*/
	background-color: rgba(255, 255, 255, 0.60);
	margin-left: auto;
	margin-right: auto;
}
#content {
	position: relative;
	padding: 20px;
	width: 767px;
	/*height: 100%;*/
	max-height: 387px;
	overflow: auto;
}
img.thumbnail {
    float: left;
    padding: 4px 15px 10px 0;
    width: 155px;
}
.email {
	padding-bottom: 15px;
	background: url('../images/torn_edge.png') repeat-x 0 bottom;
}
.email .e-content {
	background-color: #fff; 
	padding: 10px 10px 30px 10px;
	-moz-box-shadow: 1px -2px 2px #dad7d4;
	-webkit-box-shadow: 1px -2px 2px #dad7d4;
	box-shadow: 1px -2px 2px #dad7d4;
}
/* navigation */
#main_nav {
	position: absolute;
	display: block;
	height: 88px;
	width: 999px;
	top: 500px;
	left: -19px;
}
#main_nav a.btn {
	position: absolute;
	width: 240px;
	height: 88px;
	background-repeat: no-repeat;
	overflow: hidden;
}
#nav_left {
	position: absolute;
	width: 19px;
	left: 0px;
	height: 88px;
	background-image: url('../images/nav_left.png');
}
#nav_home {	
	left: 19px;
	background-image: url('../images/nav_home.png');
	background-position: 0px -88px;
}
#nav_health {
	left:259px;
	background-image: url('../images/nav_health.png');
	background-position: 0px -88px;
}
#nav_faq {
	left: 499px;
	background-image: url('../images/nav_faq.png');
	background-position: 0px -88px;
}
#nav_contact {
	left: 739px;
	background-image: url('../images/nav_contact.png');
	background-position: 0px -88px;
}
#nav_home:hover, #nav_health:hover, #nav_faq:hover, #nav_contact:hover {
	background-position: 0px 0px;
}
#nav_right {
	position: absolute;
	width: 19px;
	left: 979px;
	height: 88px;
	background-image: url('../images/nav_right.png');
}
#nav_home:active, #nav_health:active, #nav_faq:active, #nav_contact:active, a.submenu {
	outline-style: none;
}
#nav_home:focus, #nav_health:focus, #nav_faq:focus, #nav_contact:focus, a.submenu {
	outline-style: none;
}
/* Submenus */
#main_nav span {
	visibility: hidden;
	position: absolute;
	bottom: 75px;
	width: 240px;
	background-image : url('../images/nav_sub_bg.png');
	background-repeat: no-repeat;
	background-position: bottom center;
	text-align: left;
	line-height: 20px;
	z-index: 60;
}
span#health_menu {
	left: 259px;
	height: 80px;
}
span#contact_menu {
	left: 739px;
/*	height: 100px;*/
	padding-bottom: 20px;
}
div.menuIndent1 {
	font-family: Century Gothic, Verdana, Arial, sans-serif;
	text-indent: 40px;
	text-decoration: none;
}
a:hover div.menuIndent1 {
	text-decoration: underline;
}

/* Responsive Nav */
nav#responsive {
    display: none;
}
#menuToggle {
  display: block;
  position: absolute;
  top: 50px;
  right: 50px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}
#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  -webkit-touch-callout: none;
}
/* Just a quick hamburger... */
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #6a6a6a;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}
#menuToggle span:first-child {
  transform-origin: 0% 0%;
}
#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}
/* Transform all the slices of hamburger into a crossmark */
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  /*background: #232323;*/
}
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}
/* at the top right of the screen */
#menu {
  position: absolute;
  width: 240px;
  height: 100vh;
  margin: -100px 0 0 70px;
  padding: 50px;
  padding-top: 125px;
  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  transform-origin: 0% 0%;
  transform: none;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    -moz-box-shadow: -1px 1px 2px black;
  box-shadow: -3px 0px 8px rgba(0, 0, 0, .20);
}
#menu li {
  padding: 10px 0;
  font-size: 22px;
}
/* And let's slide it in */
#menuToggle input:checked ~ ul {
  transform: translate(-100%, 0);
}

/* Footer */
div#aboutIcon {
	position: absolute;
	bottom: -25px;
	right: 0;
	font-size: 0.75em;
}
/*div#aboutIcon span {
	position: relative;
	color: #666;
}*/
div#aboutIcon img {
    position: relative;
    top: 7px;
	width: 25px;
}

/* Form / CAPTCHA */
input#email, textarea {
    padding: 3px 5px;
    font-size: 0.9em;
    line-height: 1.3;
}
input:focus {
    outline-color: #b9b3ac;
}
#submit-btn {
	position: relative;
	top: -32px;
	border-radius: 5px;
	width: 120px;
	font-size: 14px;
	padding: 4px 15px;
	background-color: rgba(255, 250, 245, 0.75);
	cursor: pointer;
}
form .btn:hover {
	color: #222;
}
/* iPad / tablet: landscape */
@media screen and (max-width: 1024px) {
    #wrapper { top: 35px; }
}

/* < iPad / tablet: landscape */
@media screen and (max-width: 1023px) {
    header { height: 70px; }
    h1#title { font-size: 1.4em; }
    #menuToggle { top: 37px; }
    nav#main_nav { display: none; }
    nav#responsive { display: block; }
    #wrapper {
        top: -5px;
        width: 100%;
        height: calc(100% - 90px); /* minus header total height */
    }
    #content_bg {
        left: 0;
        width: 90%;
        height: 80%;
        max-height: none;
    }
    #content {
        width: calc(100% - 40px); /* minus padding */
        height: 100%;
        max-height: none;
    }
    div#aboutIcon {
        bottom: 2px;
        right: 2px;
    }    
}

/* large phone: portrait */
@media screen and (max-width: 414px)  {
    #menuToggle { right: 25px; }
    p {
        margin: 0.25em auto;
        font-size: 16px;
        line-height: 1.35;
    }
    img.thumbnail { width: 125px; }
}

/* phone: landscape */
@media screen and (max-height: 500px) {
    header { 
        padding: 10px;
        height: 50px;
    }
    #site-logo h1#title {
        font-size: 1.2em;
        width: 180px;
        padding-left: 8px;
    }
    #menuToggle {
        top: 25px;
        right: 15px;
    }
    #menu li {
        padding: 5px 0;
        font-size: 20px;
    }
    #wrapper { height: calc(100% - 70px); /* minus header total height */ }
    #content_bg { 
        top: 22px;
        height: 70%;
        padding: 0px 0px 30px 0px;
    }
    #content {
        padding: 10px;
        width: calc(100% - 20px); /* minus padding */
    }
    p {
        margin: 0.25em auto;
        font-size: 16px;
        line-height: 1.35;
    }
    img.thumbnail {
        padding: 7px 10px 5px 0;
        width: 100px;
    }
}

/* small phone: portrait */
@media screen and (max-width: 320px)  {
    header { 
        padding: 10px;
        height: 50px;
    }
    #site-logo h1#title {
        font-size: 1.2em;
        width: 180px;
        padding-left: 8px;
    }
    #menuToggle {
        top: 25px;
        right: 15px;
    }
    #wrapper { height: calc(100% - 70px); /* minus header total height */ }
    #content_bg { 
        top: 22px;
        height: 78%;
        /*padding: 0px 0px 30px 0px;*/
    }
    #content {
        padding: 10px;
        width: calc(100% - 20px); /* minus padding */
    }
    img.thumbnail {
        padding: 7px 10px 5px 0;
        width: 100px;
    }
}


