html {
	overflow-y: scroll;
}

div {
	font-family: 'Open Sans', arial, sans-serif;
}

body {
	margin: 0;
	color: #545454;
	-webkit-text-size-adjust: 100%;
	background-image:url('/images/background.jpg');
	background-size: cover;
	background-repeat: no-repeat;
    background-attachment: fixed;
}

nav, footer, main, artice{
	display: block;
}

nav.nav {
	margin-top: 20px;
	font-size: 12px;
}
nav.nav .right {  }

a { color: #005526; text-decoration: none; }

h1 { font-size: 24px; font-weight: bold;}
h2 { font-size: 16px; font-weight: bold;}
h3 { font-size: 14px; font-weight: bold; margin:0; color: #000;}

strong { font-weight: 600; }

div.left { float: left; }
div.right { float: right; }

.img150left{
	width: 150px;
	float: left;
	margin-bottom: 5px;
	margin-right: 10px;
}

.img150right{
	width: 150px;
	float: right;
	margin-bottom: 5px;
	margin-left: 5px;
}

.img300right{
	width: 300px;
	float: right;
	margin-bottom: 5px;
	margin-left: 5px;
}

.img300left{
	width: 300px;
	float: left;
	margin-bottom: 5px;
	margin-right: 10px;
}

.img500right{
	width: 500px;
	float: right;
	margin-bottom: 5px;
	margin-left: 5px;
}

.img500left{
	width: 500px;
	float: left;
	margin-bottom: 5px;
	margin-right: 10px;
}

.imgfullwidth{
	width: 100%;
}

.cf:after {
  content: "";
  display: table;
  clear: both;
}

.main_wrap {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	padding: 0;
}

.logo {
	margin-top:0;

}

.menubody{
	display: block;
	padding: 122px 0 0 85px;
}

.menubg{
	background-image:url('/images/main_logo.png');
	background-repeat: no-repeat;
	height: 220px;
}

.menu_head {
	position: relative;
	float: left;
	width: 19%;
	height: 36px;
	line-height: 36px;
	padding: 0 .5%;
	background-image:url('/images/menuoff.png');
	background-size: cover;
	background-repeat: no-repeat;
	cursor: pointer;
	font-size: 12px;
	max-width: 800px;
	-webkit-box-shadow: 3px 0px 3px 0 rgba(0,0,0,0.1);
	-moz-box-shadow: 3px 0px 3px 0 rgba(0,0,0,0.1);
	box-shadow: 3px 0px 3px 0 rgba(0,0,0,0.1);
}

.this_page{
	background-image:url('/images/menuon.png');
	background-size: cover;
}

.menu_head .inner {
	white-space: nowrap;
	color: #000;
	text-align: center;
	text-overflow: ellipsis;
	overflow-x: hidden;
}
.menu_head:hover {
	background-image:url('/images/menuover.png');
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
}

.menu_head .inner:hover {
	color: #fff;
} 
.menu_head a { display: block; }

ul.menu {
	position: absolute;
	top: 36px;
	left: 1px;
	line-height: 24px;
	background: rgba(254, 232, 212, 1);
	width: 99%;
	list-style-type: none;
	margin: 0;
	padding: 0;
	-webkit-box-shadow: 3px 3px 3px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: 3px 3px 3px 0 rgba(0,0,0,0.3);
	box-shadow: 3px 3px 3px 0 rgba(0,0,0,0.3);	
	z-index: 100;
	display: none;
}
ul.menu li { padding: 0 2%; }
ul.menu li a { display:block; white-space: nowrap; overflow-x: hidden; text-overflow: ellipsis; color: #000;}
ul.menu li:hover { background: rgba(220, 119, 77, 0.5) }
ul.menu li:hover a { color: #fff }

.menu550 {
	display:block; 
	display: none;
	margin-top:20px;
	float:right; 
}

.banner {
	position: relative;
	margin-top: 20px;
	height: 250px;
	background-color: #ccc;
	background-position: center;
	background-size: 3000px 250px;
	overflow: hidden;
}

.banner .tmp_bgnd {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 250px;
	background-position: center;
	background-size: 3000px 250px;
	display: none;
}

.banner .wrap {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	height: 250px;
}

.banner .wrap .slide {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 250px;
	background-position: center;
}

.banner .wrap .slide .image {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 320px;
	height: 250px;
	background-position: center;
	background-size: 100%;
	background-repeat: no-repeat;
}
.banner .wrap .slide .text {
	position: absolute;
	right: 0px;
	bottom: 0px;
	margin-right: 20px;
	margin-bottom: 50px;
	color: #fff;
	font-family: verdana, helvetica, sans-serif;
	text-align: right;
}

.banner .wrap .pages {
	position: absolute;
	right: 12px;
	bottom: 20px;
}

.banner .wrap .pages .page {
	float: left;
	border-style: solid;
    border-width: 1px;
	border-color: #ccc;
	border-radius: 50%;
	width: 12px;
	height: 12px;
	background: #fff;
	margin-right: 8px;
	cursor: pointer;
}
.banner .wrap .pages .page.active {
	background: #000;
}

.page_bg{
	background: #FEE8D4;
	background-image: url('/images/watermark.gif');
	background-repeat: no-repeat;
}

.page_content{
	font-size: 14px;
	margin: 0 2% 20px 2%;
	padding-top: 1px;	
}

.black_outer{
	border: 1px solid black;
	margin-top: 1px;
}

.home_content{
	float: left;
	width: 98%;
	font-size: 14px;
	margin: 0 .5% 10px .5%;	
}
.page_content p, .home_content p {
	line-height: 20px;
}

.home_services{
	float: left;
	width: 33%;
	margin: 0 .5% 10px .5%;
}

.home_services .item {
	display: block;
	padding: 10px 0px 10px 10px;
	margin: 10px 0 0 0;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
}

.home_services .item:hover { text-decoration: underline; }

.home_services .blue {
	background: #1c3a85;
}

.home_services .grey {
	background: #666666;
}

.home_services .pink {
	background: #005526;
}

.home_services .item .image {
	float:left; 
	display:block; 
	margin: 0 10px 0 0; 
	border-radius: 15px;
}

.product_element{
	margin: 0;
	float: left;
	width: 100%;
	padding: 16px 0 16px 0;
}

.product_element img {
	float: left;
	width: 158px;
	padding: 4px 8px 0 0;
}

.product_element .formatIcons{
	width: 120px;
}

.formatIcons{
	padding: 8px 8px 8px 0;
}


.footer {
	background: rgba(0, 0, 0, 0.5);
	color: rgba(254, 232, 212, 0.5);
	font-size: 11px;
}

.footer a { color: rgba(254, 232, 212, 0.5); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: none; }

.footer .menu_items {
	float: left;
	width: 19%;
	margin: 10px .5%;
	font-size: 12px;
	line-height: 18px;
}

.footer .logo {
	position: absolute;
	bottom: 15px;
	right: .5%;
}

.footer hr {
display: block;
margin: 0;
padding: 0;
height: 1px;
border: none;
/*border-top: 1px solid #c7ced6;*/
border-bottom: 1px solid rgba(254, 232, 212, 0.5);
}

.footer .social {
	float: left;
	margin: 0 .5%;
}

.footer .social .item {
	float:left; 
	display:block;
	margin: 0 4px 0 0;
}

.footer .right {
	position: absolute;
	right:.5%; 
	bottom: 10px;
}

.footer .contact {
	float: left;
	margin: 0 .5% 10px .5%;
}

.footer550{
	display: none;
	background: rgba(0, 0, 0, 0.5);
	color: rgba(254, 232, 212, 0.5);
	padding: 10px 0 0 0;
	font-size: 14px;	
}

.footer550 a { color: rgba(254, 232, 212, 0.5); text-decoration: none; }
.footer550 a:hover { color: #fff; text-decoration: none; }

.footer550 .social {
	width: 100%;
}

.footer550 .social .item {
	float:left; 
	display:block;
	margin: 0 5px 0 0;
}

.footer550 .contact {
	margin: 0 0 10px 0;
}

#mobile_menu {
	position: absolute;
	top: 0;
	right: 0;
	width: 192px;
	margin: 0;
	padding: 0;
	height: 100%;
	list-style: none;
	color: #fff;
	background: #444;
	font-family: 'Open Sans', arial, sans-serif;
	z-index: 10;
	visibility:hidden;
}
#mobile_menu li {
	padding: 5px;
	border-top: 1px solid #666;
	border-bottom: 1px solid #222;
}
#mobile_menu li a {
	display: block;
	text-decoration: none;
	color: #fff;
}

ul.mobilePanel {
	display: none;
}

#page {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 20;
	-webkit-backface-visibility: hidden;
	-webkit-perspective: 1000;	
}
#page.menu_visible {
	left: -192px;
}
#page.anim {
	transition: transform .25s ease-in-out;
	-webkit-transition: -webkit-transform .25s ease-in-out;
}
#page.anim.left {
	transform: translate3d(-192px, 0, 0);
	-webkit-transform: translate3d(-192px, 0, 0);
}
#page.anim.right {
	transform: translate3d(192px, 0, 0);
	-webkit-transform: translate3d(192px, 0, 0);
}

ul.offer {
    list-style-type: none;
    padding: 0px;
    margin: 0 10px 10px 0;
	display: block;
	float: left;
	background:#e00;
	border-radius: 5px;
	font-size: 18px;
	font-weight: bold;
	color: #fff;
}
ul.offer li {
    background-image: url('/images/icon_tick.png');
    background-repeat: no-repeat;
    background-position: 0px center;
	padding: 5px 5px 5px 25px;
	margin: 5px;	
}

/* -- gallery 0 start -- */
.gal0 { clear: both; }
.gal0 .cont {
	float: left;
	width: 24%;	margin: .5%;
	height: 200px;
	background-size: cover;
	background-position: top;
	overflow: hidden;
}
#gal-box {
	position: fixed;
	background: rgba(0,0,0,0.95);
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 200;
	display: none;
}
#gal-img {
	position: fixed;
	top: 0px;
	left: 0px;
}
#gal-desc {
	position: fixed;
	bottom: 0px;
	width:100%;
	padding: 10px;
	text-align: center;
	color: #fff;
	font-size: 14px;
}
#gal-next {
	position: fixed;
	width: 64px;
	height: 100%;
	right: 0px;
	top: 0px;
	opacity: 0.5;
	background: url('/images/gal-next.png') center no-repeat;
}
#gal-prev {
	position: fixed;
	width: 64px;
	height: 100%;
	left: 0px;
	top: 0px;
	opacity: 0.5;
	background: url('/images/gal-prev.png') center no-repeat;
}
#gal-next.act, #gal-prev.act { opacity: 1; }
/* -- gallery 0 end -- */

/* gallery 1 start */
.gal1 {
	position: relative;
	clear: both;
	width: 100%;
	overflow-x: hidden;
}
.gal1 .disp {
	position: relative;
	background: #eee;
}
.gal1 .disp img {
	position: absolute;
}
.gal1 .disp .gal-prev {
	position: absolute;
	top: 0px;
	left: 0px;
	background: red;
	width: 64px;
	opacity: 0.5;
	background: url('/images/gal-prev.png') center no-repeat;
}
.gal1 .disp .gal-next {
	position: absolute;
	top: 0px;
	right: 0px;
	background: green;
	width: 64px;
	opacity: 0.5;
	background: url('/images/gal-next.png') center no-repeat;
}
.gal1 .disp .gal-next.act,.gal1 .disp .gal-prev.act { opacity: 1; }
.gal1 .disp .desc {
	position: absolute;
	left: 0px;
	bottom: 0px;
	width: 100%;
	font-size: 14px;
	text-align: center;
	color: #545454;
	
}

.gal1 .strip {
	width: 100%;
	height: 128px;
	overflow-x: hidden;
}
.gal1 .gal-right, .gal1 .gal-left {
	position: absolute;
	width: 32px;
	height: 128px;
	background-color: rgba(0,0,0,0.25);
}
.gal1 .gal-right {
	bottom: 0px;
	left: 0px;
	background-image:  url('/images/gal-prev.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100%;
}
.gal1 .gal-left {
	bottom: 0px;
	right: 0px;
	background-image:  url('/images/gal-next.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100%;
}
.gal1 .strip .inner {
	width: 3000px;
	height: 128px;
	background: #fff;
}
.gal1 .strip .inner .cont {
	float: left;
	width: 196px;
	height: 128px;
	background-size: cover;
	background-position: top;
	float: left;
}
.gal1 .strip .inner .cont.act { opacity: 0.5; }


/* gallery 1 end */

/* blog / news / events */

.news_left {
	float: left;
	width:73%;
	padding-right:2%;
}
.news_right {
  float: left;
  width: 24%;
  margin: 1% 0.5%;
  background-image: url('/images/media_banner.jpg');
  background-position: top;
  background-size: cover;
  height: 480px;
}

article.main {
	min-height: 150px;
	border-bottom: 1px dotted #aaa;
	margin: 0 0 10px 0;
}

article.sub {
	width:48%; 
}

article.left {
	padding: 0 1% 0 0;
	float:left;
}

article.right {
	padding: 0 0 0 1%; 
	float:right;
	border-left: 1px dotted #aaa;
}

article.reg {
	border-top: 1px dotted #aaa;
}

article.blog {
	font-size: 14px;
	line-height: 20px;
}
article.blog h2 { 
	margin: 10px 0 0 0;
	font-size: 18px
}
article.blog .blog_date {
	color: #999;
}


.archive_sel {
	float: right;
	font-size: 12px;
	margin: 24px 0 0 0;
}

.related {
	background-color: #ddd;
	padding: 1px 20px 1px 20px;	
	clear: both;	
}

/* blog / news / events end */

/* mod forms */
.cms_form {
	display: inline-block;
	border: 1px solid #ccc;
	padding: 10px;
}
.cms_form .row { margin-bottom: 10px; }
.cms_form .row.end { margin-bottom: 0px; }
.cms_form .row.rgt { text-align: right; }
.cms_form .row.ctr { text-align: center; }
.cms_form .row label { display: inline-block; }

input[type="button"], input[type="submit"], input[type="text"], input[type="password"], textarea {
	-webkit-appearance: none;
	background: #fff;
	border: 1px solid #ccc;
	min-width: 64px;
	padding: 4px;
	font-weight: normal;
}
input.err {
	color: red;
	border-color: red;
	background: #fcc;
}
input[type="button"], input[type="submit"] {
	color: white;
	background: #005526;
	border: 1px solid black;
	cursor: pointer;
}
input[type="button"].disabled, input[type="submit"].disabled {
	color: #888;
	background: #ccc;
	border: 1px solid #888;
}
/* mod forms end */


/* tablets and low res desktops */
@media screen and (min-width:641px) and (max-width:800px) {
	.img500right { width: 300px;}
	.img500left { width: 300px;}
	.banner, .banner .tmp_bgnd, .banner .wrap, .banner .wrap .slide { height: 188px; }
	.banner, .banner .tmp_bgnd { background-size: 2256px 188px;}
	.banner .wrap .slide .image { width: 240px; height: 188px; }
	.footer .logo { right: 14px; }
	.news_left { width: 100% }
	.news_right { display: none; }
	.black_outer { border: 0; }
	.menubg { background-size: 100%; background-position: 6px 0; }
}
/* landscape smartphones */
@media screen and (min-width:551px) and (max-width:640px) {
	.img300right { width: 250px;}
	.img300left { width: 250px;}
	.img500right { width: 250px;}
	.img500left { width: 250px;}
	.banner, .banner .tmp_bgnd, .banner .wrap, .banner .wrap .slide { height: 188px; }
	.banner, .banner .tmp_bgnd { background-size: 2256px 188px;}
	.banner .wrap .slide .image { width: 240px; height: 188px; }
	.home_services { display: none; }
	.home_content { width: 100%; }
	.footer .logo { right: 13px; }
	ul.offer { float: none; margin: 0 0 10px 0; }
	.gal0 .cont { width: 32%; height: 160px; margin: .6%; }
	.news_left { width: 100% }
	.news_right { display: none; }
	.black_outer { border: 0; }
	.menubg { background-size: 100%; height: 170px; background-position: 6px 0; }
	.menubody {padding: 92px 0 0 72px;}
	
}

/* portrait smartphones */
@media screen and (max-width:550px) {
	.img150right { width: 100px;}
	.img150left { width: 100px;}
	.img300right { width: 200px;}
	.img300left { width: 200px;}
	.img500right { width: 200px;}
	.img500left { width: 200px;}
	.banner, .home_services, .footer, .menu_head { display: none; }
	.home_content { width: 100%; }
	.footer550, .menu550 { display:block; }
	ul.offer { float: none; margin: 0 0 10px 0; }
	.gal0 .cont { width: 49%; margin: .5%; }
	.news_left { width: 100% }
	.news_right { display: none; }
	.product{ width: 50%; }
	.black_outer { border: 0; }
	.menubg { background-size: 100%; height: 150px; background-position: 6px 0;  }
	.product_element img{ width:33%;}
	.product_element .formatIcons { width:96px;}
	.formatIcons { width:96px;}
}

@media screen and (max-width:460px) {
	.img150right { width: 50px;}
	.img150left { width: 50px;}
	.img300right { width: 100%; margin: 0;}
	.img300left { width: 100%; margin: 0;}
	.img500right { width: 100%; margin: 0;}
	.img500left { width: 100%; margin: 0;}
	ul.offer { float: none; margin: 0 0 10px 0; }	
	.gal0 .cont { width: 100%; margin: .5% 0; }
	.news_left { width: 100% }
	.news_right { display: none; }
	.menubg { height: 125px; }
}

/* blog ratings */
.rating {
	display: inline-block;
	margin: 0 0 0 10px;
	height: 19px;
	background-image:  url('/images/star-rating.png');
}

.amazon {
	position: relative;
	padding-bottom: 540px;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
.amazon iframe {
	position: absolute;
	top: 0;
	left: 0;
	border:none;
	width: 100% !important;
	height: 540px !important;
}

.vid {
	position: relative;
	padding-bottom: 56.25%;
	/*padding-top: 30px;*/
	height: 0;
	overflow: hidden;
}

.vid iframe, .vid object, .vid embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
