/* mystyle.css - CSS for nutripunctureasia.com
modified: anita, 28 Feb 2014
*/

/* HTML5 elements in non-HTML5 browsers are styled as 'display:inline' by default */
section, article, aside, footer, header, nav, hgroup {
	display: block;
}

a.ext {
	/* i.e. <a href="http://www.link.com" title="title" class="ext">External link here</a> */
	background: url(images/extlink.png) right center no-repeat;
	padding-right: 12px;
}

a.sidemenu {
	display: block;
	width: 100px;
	font-weight: 700;
	background-color: none;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 15px;
	padding: 12px;
}

a.sidemenu:link {
	color: #000;
	text-decoration: none;
}

a.sidemenu:visited {
	color: #000;
	text-decoration: none;
}

a.sidemenu:hover, a:active {
	color: #39c;
	text-decoration: underline;
}

aside { 
	/* placeholder */
}

aside#left {
	float: left;
}

aside#right {
	float: right;
}

body {
	width: 960px;
	margin: 0 auto;
	font-family: Calibri, Arial, Helvetica, sans-serif;
	background-color: #f3f9fc;
}

footer { 
	margin-right: auto;
	margin-left: auto;
	position: relative;
	width: 100%;
}

footer a {
	color: #fff;
}

footer a:link, a:visited {
	color: #fff;
	text-decoration: none;
}

footer a:hover, a:active {
	color: #fff;
	text-decoration: underline;
}

h1 {
	color: #000;
	text-align: center;
	font-family: Calibri, Arial, Helvetica, sans-serif;
	font-size: 24px;
}

h2 {
	color: #000;
	text-align: left;
	font-family: Calibri, Arial, Helvetica, sans-serif;
	font-size: 21px;
}

h3 {
	color: #000;
	text-align: left;
	font-family: Calibri, Arial, Helvetica, sans-serif;
	font-size: 18px;
}

header { 
	/* placeholder */
}

img.left-floating {
	float: left;
	margin-top: 0;
	margin-right: 20px;
	margin-bottom: 10px;
	margin-left: 0;
	clear: left;
}

img.right-floating {
	float: right;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 20px;
	clear: right;
}

img.centred {
	float: none;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
	display: block;
	clear: both;
}

img.displayed {
	width: 960px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.imginfo {
	box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.35);
	-webkit-box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.35);
}

img.imgperson {
	margin-right: 1.6em;
	box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.35);
	-webkit-box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.35);
}

img.imgproduct {
	margin-right: 1.6em;
	box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.35);
	-webkit-box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.35);
}

img.productpage{
	margin-right: 2.7em;
	margin-top: 1em;
	box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.35);
	-webkit-box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.35);
}


nav {
	color: #fff;
}

nav a {
	display: block;
	width: 960px;
}

nav a:link, a:visited {
	display: block;
	font-weight: 700;  /* 700 - bold */
	color: #fff;
	background-color: #39c;
	width: 100%;
	text-align: center;
	padding: 4px;
	text-decoration: none;
	text-transform: uppercase;
}

nav a:hover, a:active {
	color: #fff;
	background-color: #6cf;
	text-decoration: none;
}

nav li {
	float: left;
	display: table-cell;
	width: 190px;  /* note: change value if you change number of links on nav bar */
}

nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-align: center;
	display: table;
	width: 100%;
	position: relative;
}

nav ul li:hover ul {
	display: block;
	position: absolute;
	z-index: 100;
	width: 190px;  /* note: change value if you change number of links on nav bar */
}

nav ul ul {
	display: none;
	margin: 0;
	padding: 0;
}

p {
	font-family: Calibri, Arial, Helvetica, sans-serif;
	font-size: 15px;
	text-align: justify;
}

p.under {
	text-decoration: underline;
}

section { 
	/* placeholder */
}

section a {
	/* placeholder */
}

section a:link {
	color: blue;
	text-decoration: none;
}

section a:visited {
	color: purple;
	text-decoration: none;
}

section a:hover, a:active {
	text-decoration: underline;
}

table {
  /* placeholder */
}

table.footermenu {
	border-collapse: separate;	
	border-spacing: 1em .5em;
}

table.prodinfo {
	border-collapse: separate;	
	border-spacing: 1em .5em;
}

td, th, tr {
	text-align: left;
	vertical-align: top;
}

td, th {
	empty-cells: show;
}

td.footercol1 {
	width: 180px;
	text-align: right;
}

td.footercol2 {
	width: 80px;
	text-align: center;
}

ul.links {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

ul.footermenu {
	list-style-type: none;
	margin: 0;
	text-align: right;
	width: 180px;
	padding-top: 40px;
}

ul.sidemenu {
	list-style-type: none;
	margin: 5px;
	padding: 0;
	overflow: hidden;
}

.error {
	color: #ff0;
	background-color: red;
	font-weight: 500;
}

.footerwrapper {
	width: 100%;
	background-color: #83cbee;
	color: #fff;
	box-shadow: inset 3px -3px 20px 2px rgba(0, 0, 0, 0.35);
	-webkit-box-shadow: inset 3px -3px 20px 2px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: inset 3px -3px 20px 2px rgba(0, 0, 0, 0.35);
}

.note {
	color: red;
	text-decoration: underline;
}

.search {
	display:none;
}

.ui-autocomplete {
	padding: 0;
	list-style: none;
	background-color: #fff;
	width: 218px;
	border: 1px solid #B0BECA;
	max-height: 350px;
	overflow-y: scroll;
}

.ui-autocomplete .ui-menu-item a {
	border-top: 1px solid #B0BECA;
	display: block;
	padding: 4px 6px;
	color: #353D44;
	cursor: pointer;
}

.ui-autocomplete .ui-menu-item:first-child a {
	border-top: none;
}

.ui-autocomplete .ui-menu-item a.ui-state-hover {
	background-color: #D5E5F4;
	color: #161A1C;
}
    
.username {
	color: blue;
	font-weight: 600;
}

#slideshow {
	position: relative;
	height: 200px;
	width: 100%;
}

#slideshow img {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8;
	width: 100%;
}

#slideshow img.active {
	z-index: 10;
}

#slideshow img.last-active {
	z-index: 9;
}