/*
	Common styles - if you need to override these then just be more specific,
	e.g. if you want to override .team-member then use #outer .team-member
	for example.
	
	For the popup styles (e.g. the lead boxes) target the additional .custom
	class that is on the popup body tag, e.g. ".popup.custom .leadbox" etc.
*/

#website-container{
	z-index: 0;
}

.popup {
	background-color: #fff;
	color: #2F2F2F;
}

.information p, .error p, .success p { color: black; margin: 0; }
.information ul, .error ul, .success ul { margin: 0; }
.information, .error, .success {
	line-height: 1.2em !important;
	color: black;
	margin: 10px 0;
	border-radius: 10px;
	border-width: 1px;
	border-style: solid;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
	padding: 10px 10px 10px 34px;
	position: relative;
	behavior: url( /theme/PIE.htc );
}

.success {
	border: 1px #8a8 solid;
	background: #efe url(/images/icons/success.png) no-repeat 10px center;
}

.error a {
	color: red !important;
	font-weight: normal !important;
	text-decoration: underline !important;
}
.success a {
	color: green !important;
	font-weight: normal !important;
	text-decoration: underline !important;
}
.information a {
	color: orange !important;
	font-weight: normal !important;
	text-decoration: underline !important;
}

.information {
	border-color: #BDB337;
	background: #fff8d7 url(/images/icons/information.png) no-repeat 10px center;
}

.error {
	border: 1px #f88 solid;
	background: #fee url(/images/icons/error.png) no-repeat 10px center;
}

.imageControls
{
	display: none;
	border: 1px red solid;
	background-color: #ff0;
}

.ajax-message {
	border: 5px gray solid;
	background-color: #ff8;
	padding: 10px; margin: 10px;
	position: fixed;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	font-size: 14pt;
	font-weight: bold;
	top: 150px;
}

.subscriber-update-message
{
	background: #ffffaa;
	color: #404040;
	border: 2px #404040 solid;
	font-size: 110%;
	padding: 10px;
	width: 70%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 20px;
}

.team-member
{
	clear:both;
}

.article-category {
	overflow:auto;
}

.attachment {
	min-height: 20px;
}

/* Control all teasers */
.teaser {
	clear: both;
	padding-bottom: 10px;
}

/* Common styles for Twitter Teaser */
.teaser .tweet {
	min-height: 48px;
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 1px #cccccc dashed;
}

/* Common styles for Social Links Teaser */
.teaser.social a {
	display: inline-block;
	background-repeat: no-repeat;
	background-position: left middle;
	padding-left: 22px;
}

.teaser.social li.twitter a { background-image: url( /theme/images/icons/social/16x16/twitter.png ); }
.teaser.social li.google a { background-image: url( /theme/images/icons/social/16x16/googleplus.png ); }
.teaser.social li.linkedin a { background-image: url( /theme/images/icons/social/16x16/linkedin.png ); }
.teaser.social li.youtube a { background-image: url( /theme/images/icons/social/16x16/youtube.png ); }
.teaser.social li.instagram a { background-image: url( /theme/images/icons/social/16x16/instagram.png ); }
.teaser.social li.facebook a { background-image: url( /theme/images/icons/social/16x16/facebook.png ); }
.teaser.social li.pinterest a { background-image: url( /theme/images/icons/social/16x16/pinterest.png ); }

.validation-failed {
	border: 2px red solid !important;
}

.turboweb-sig {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* Lead Box Styles */
.teaser.leadbox {
	padding: 10px;
}

.teaser.leadbox h3 {
	padding: 0;
	margin: 0;
}

.teaser.leadbox a.colorbox {
	display: inline-block;
	margin-top: 30px;
}

.teaser.leadbox img {
	width: 100%;
}

.teaser.leadbox a.colorbox:after {
	content: '  \00bb';
} 

.teaser.leadbox .leadbox-content {
	position: relative;
	background-repeat: no-repeat;
	background-position: right center;
}

.popup .leadbox {
	padding: 10px;
	background-color: #fff;
}
.popup .leadbox .table {
	padding: 10px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	background-color: #F5F5F6;
	background-repeat: no-repeat;
	background-position: right bottom;
}

.popup .leadbox .table th {
	text-align: left;
	width: 150px;
}
.popup .leadbox .table input {
	border: 1px #ccc solid;
	background-color: #fff;
	margin-right: 10px;
	padding: 6px;
	margin: 2px 0;
	border-radius: 0 10px 10px 0;
	-webkit-border-radius: 0 10px 10px 0;
	-moz-border-radius: 0 10px 10px 0;
}

.btn-primary {
	padding: 0 10px;
	-moz-box-shadow: 0px 0px 4px rgba(0,0,0,0.15), 0px 0px 20px rgba(0,0,0,0.15) inset;
	-webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15), 0px 0px 20px rgba(0, 0, 0, 0.15) inset;
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15), 0px 0px 20px rgba(0, 0, 0, 0.15) inset;
	background-color: #F2F2F2;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#F2F2F2), to(#CCC));
	background-image: -webkit-linear-gradient(top, #F2F2F2, #CCC);
	background-image: -moz-linear-gradient(top, #F2F2F2, #CCC);
	background-image: -ms-linear-gradient(top, #F2F2F2, #CCC);
	background-image: -o-linear-gradient(top, #F2F2F2, #CCC);
	background-image: linear-gradient(top, #F2F2F2, #CCC);
}

/* Default styles for nivo direction controls */
/* Note: Styles are prefixed with .slider-wrapper to be more specific than the defaults defined in nivo-slider.css */

.slider-wrapper .nivo-directionNav { display: none; }
.slider-wrapper:hover .nivo-directionNav { display: block; }
.slider-wrapper .nivo-directionNav a { top: 50%; margin-top: -23px; }
.slider-wrapper .nivo-prevNav,
.slider-wrapper .nivo-nextNav {
	width:33px;
	height:47px;
	text-indent:-99999px;
	display:block;
}
.slider-wrapper .nivo-prevNav {background:url(images/bgno_slidernav_prev.png) no-repeat 0 0;}
.slider-wrapper .nivo-nextNav {background:url(images/bgno_slidernav_next.png) no-repeat 0 0;}

.slider-wrapper.item-count-1 .nivo-directionNav { display: none; }

/* Nivo uses div's for .nivo-caption but we've overriden it to use h2. */
h2.nivo-caption { margin: 0; }

/* Fix for images wrong size if wider than their container - ref: http://stackoverflow.com/questions/14872634/nivo-slider-first-image-is-scaled-unproportional-when-displayed-the-first-time */
.nivo-main-image { height: auto; }

/* Fix for IE8 not showing links as clickable */
.is-ie8 .nivoSlider a.nivo-imageLink,
.is-ie9 .nivoSlider a.nivo-imageLink,
.is-ie10 .nivoSlider a.nivo-imageLink {
	border:0;
	display:block;
	background-color: #fff;
	filter:alpha(opacity=0);
	opacity: 0;
	-webkit-opacity:0;
	-moz-opacity:0;
	-khtml-opacity:0;
}

/* Common store styles */
.product-bottom-right {
	text-align: right;
}
a.product-option-add-to-cart {
	border: 1px solid #b6b6b6;
	background: #f1f1f1;
	padding: 0 10px;
	margin: 0 10px;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	display: inline-block;
	color: black;
}

td.product-bottom-left,
td.product-header-right {
	width: 150px;
}

.store.terms {
	padding: 10px;
	margin: 10px 0;
	border: 1px #C4C1BC solid;
	max-height: 100px;
	overflow: auto;
}

/*
 * Captcha: make good defaults for Captcha forms.
 */
#captcha-code {
	text-transform: uppercase;
	font-size: 1.5em;
	width: 150px;
	box-sizing: border-box;
}

.cart .coupon {
	padding: 10px 0;
}

.cart .coupon .f-field.f-text {
	width: 80px;
	text-transform: uppercase;
}

.developer .swm-view { }
.developer .swm-view .template-path-hint {
	top: 0;
	left: 0;
	position: relative;
	display: none;
}

.developer .swm-view:hover .template-path-hint {
	display: block;
}

.developer .swm-view:hover {
	box-sizing: border-box;
	background-color: yellow;
	border: 1px red dotted;
}

/* /pages/2/Contact */
.contact-form td.column50 {
	width: 50%;
	vertical-align: top;
}

.contact-form div.column50 {
	width: 50%;
	float: left;
	margin-bottom: 10px;
	box-sizing: border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
}

.contact-form #map, 
.contact-form #nomap {
	width: 100%;
	height: 300px;
	border: 1px #999 solid;
	overflow: auto;
}

.contact-form #nomap {
	display:none;
	text-align: center;
}

.contact-form #nomap span {
	display: block;
	padding-top: 120px;
}


.contact-form#formtable label {
	display: block;
	font-weight: bold;
}

.contact-form .column50 ul{
	margin-top: 0px;
}

.contact-form .inputbox.small { width: 90%; }

/* /subscribe */
/* First Name and Last Name Sub Table */
.subscribe #formtable table.firstlast { width: 300px; }
.subscribe #formtable table.firstlast td { padding: 0px; width: 120px; }
.subscribe .f-email, .subscribe .f-company { width: 260px; }

.simple-products .item { clear: both; float: left; width: 100%; }

/* Featured Categories */
.item-list.category.featured.default {
	float: right;
	position: relative;
	left: -50%;
}
.item-list.category.featured.default .items-container {
	position: relative;
	left: 50%;
}
.item-list.category.featured.default .item {
	float: left;
	width: 160px;
	height: 300px;
	text-align: center;
}

