/*
  HTML5 Reset :: style.css
  ----------------------------------------------------------
  We have learned much from/been inspired by/taken code where offered from:
  
  Eric Meyer          :: http://ericmeyer.com
  HTML5 Doctor        :: http://html5doctor.com
  and the HTML5 Boilerplate :: http://html5boilerplate.com
  
-------------------------------------------------------------------------------*/

/* Let's default this puppy out
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ul, li, fieldset, form, label, legend, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;  
}

article, aside, figure, footer, header, hgroup, nav, section {display: block;}

/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites.
   If this default setting for images is causing issues, you might want to replace it with a .responsive class instead. */
/*img*/
object,
embed {max-width: 100%;}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren't bulleted. 
  don't forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before, 
blockquote:after, 
q:before, 
q:after {content: ''; content: none;}

a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: middle;}
td {font-weight: normal; vertical-align: top;}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

/*select, input, textarea {font: 99% sans-serif;}*/

table {font-size: inherit; font: 100%;}
 
/* Accessible focus treatment
  people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {outline: none;}

small {font-size: 85%;}

strong, th {font-weight: bold;}

td, td img {vertical-align: top;} 

/* Make sure sup and sub don't screw with your line-heights
  gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}
 
/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}

/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.clearfix:after { clear: both; }  
.clearfix { zoom: 1; }  

/* Global push containers with inline images 
.text .outer-image-wrapper:before, .text .outer-image-wrapper:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.text .outer-image-wrapper:after { clear: both; }  
.text .outer-image-wrapper { zoom: 1; }*/

/*Global min width for text fields*/
.text {min-height: 18px;min-width: 18px;}  
/*Fix for iframe ebmed overlay*/
.text .blockOverlay{display: none !important;}
.text.text-edit-active .blockOverlay{display: block !important;}
/*Nav fix for new ul li a div*/
.wrapbg .navigation-bonline li a div {display: inline;}

.wrapbg .main-nav ul ul{
  min-height: 0px;
  padding-bottom: 0px;
}

/* Inline images inserted by the user have a fixed width of 150 - override in url*/
.wrapbg .text .outer-image-wrapper, .wrapbg .service-table-element .outer-image-wrapper {padding: 0px 0px 5px 0px; margin-right: 10px; float:left; resize: none; clear:left;}

/* Inline videos inserted by the user */
iframe, embed {
  float: left;
  vertical-align: top;
  margin-right: 10px;
}
[style="text-align: center;"] > iframe {
   float:none;
}

[style="text-align: right;"] > iframe {
   float:right;
}
.wrapbg div iframe { position:relative;}

/*Apple Style*/
.Apple-style-span {
  margin: 0;
  padding: 0;
}  
/*Twitter iFrame */
.wrapbg section.el-twitter-widget iframe {
  position: relative;
  margin-bottom:10px;
}

/*upload icon resize fixed*/
.slides_container div {
  display:block;
  z-index: 1;
}

.slides_container div.wrap-replace.private {
  display:none;
}

.slides_container div img
{

}

/*applies to all carousel ul.pagination li*/
ul.pagination li {
display: inline;
}

/*
.removed, .hidden {display:none;}
*/

.hidden, .private, .removed, .private-default.default {display:none;}
/*old button code*/

/* Page Header */
.page-header{padding-bottom:5px;margin:18px 0;border-bottom:1px solid #eeeeee;}
.page-header h1{line-height:1;}
/* Form Actions *Popups* */
.form-actions{
  padding:17px 15px 15px;
  margin-top:18px;
  margin-bottom:0px;
  background-color:#f5f5f5;
  border-top:1px solid #ddd;
  -webkit-border-radius: 0 0 10px 10px;
  -moz-border-radius: 0 0 10px 10px;
  border-radius: 0 0 10px 10px;
}



/* Footer Default Styles */
footer#basefooter ul li, footer#basefooter ul li a, #legal-info, #copyright-info {
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: grey;
}
footer#basefooter ul li a:hover {text-decoration:underline;}
/* Contact Page Form Styles */
.wrapbg form#form-main ul.errorlist, .wrapbg form#form-main .contact-form-details li {
    list-style: none;
    list-style-image: none;
}
form#form-main ul.errorlist li {
  color:red;
}
#legal-info {margin-left:2px;min-height:18px;}

/*bOnline version number */
.wrapbg footer#base-footer .bonline-version-number {text-decoration: none; opacity:0.6;}

/* Get Directions Popover Styles */
section#directions {color:#333333; font-family:Arial,sans-serif;}
section#directions form.google-directions {padding-left:15px; margin-bottom:10px;}
section#directions #directions-popup {
  width:750px;
  height:600px;
}
div#directions-panel table tbody tr td img {
  margin-right:23px;
}
/* Common across all forms */
div.fieldwrapper .form-field-error input, div.fieldwrapper .form-field-error textarea {
    border: 1px solid red;
    background-color: #ffb6c1;
    color: #000;
    opacity: 0.5
}

td.centred {
    text-align: center;
}

/*Gallery Pages*/
.project-images .gallery {cursor:pointer;}

.wrapbg form#form-main .contact-form-details input[type="radio"], .wrapbg form#form-main .contact-form-details input[type="checkbox"] {
  float: left;
  width: auto !important;
  height:auto;
  margin-right: 10px;
  list-style: none;
  /* Cross browser fix to remove padding background and border - only ie renders these */
  background: none;
  border: none;
  padding: 0;
  /* end style */
}

.wrapbg form#form-main .contact-form-details input[type="file"] {
  /* Style to avoid chrome bug http://code.google.com/p/chromium/issues/detail?id=160385 */
  height: auto;
  padding: 0;
  line-height: normal;
  /* end style */
  width: auto;
}

/* BON-9036
   style from settingsbar to prevent difference in views */
p {line-height: 18px;}

body#contacts .wrapbg .contact-form li {list-style: none;clear:left;}

.wrapbg .ui-datepicker table {width:100%;}
body#contacts .wrapbg .contact-form li select {width:auto;}
.wrapbg .booking-calendar { margin-top:15px; margin-bottom:15px;}

.wrapbg .booking-calendar .booking-time {min-width: 100px;}

//body .wrapbg #thank-you {background-color: white;}
//body .wrapbg #thank-you p {color:black;}

.free-text {margin-bottom: 20px;margin-top:5px;width:100%;float:left;}

img.zoom, .overlay-background.enabled, .social-overlay {cursor: pointer;}

/* E-COMMERCE CONTAINER */
.container-heading-tools {margin: 0 auto;width: auto;max-width: 940px;}
.wrap-tools {height:auto;max-height: 35px;}

/* BUTTON STYLES // CATEGORY PAGE - ARTICLE PAGE - BASKET - CHECKOUT */
.wrapbg .btn-cart, .basket-checkout {
  box-shadow: none;
  margin-top: 5px;
  cursor: pointer;
  display: inline-block;
  background-repeat: no-repeat;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  padding: 10px 20px;
  line-height: 16px;
  float: right;
  color: #fff;
  border: 1px solid rgb(121, 172, 33);
  padding: 7px 10px 7px 5px;
  background: #8fc929;
  margin-bottom: 15px;
}

.wrapbg .btn-cart:hover {
  border-color: rgb(185, 218, 129);
  background: #8fc929;
}

/* ARTICLE / PRODUCT PAGE */
div.article-gallery {width: 320px; float:left;}
div.article-gallery img {width:320px;}

div.article-details {float: left; margin-left:20px; width:570px;}
div.article-details p {padding-bottom: 15px;}
div.article-details h1 {border-bottom: 1px solid black; padding-bottom: 10px;}
div.article-details select {width: 100px;}
div.article-details p.article-stock {padding-top: 15px;}
div.article-details p.article-code {border-bottom: 1px solid black;}
body#article .wrapbg .article-content .article-details .article-description {float:left;clear:left;}
.wrapbg div.article-buttons {margin-top: 5px;float:left;clear:left;}

.wrapbg .share-item {float: left;margin-top: 15px;clear: both;border: 1px solid black;padding: 8px;padding-bottom: 3px;}
.wrapbg .share-item ul li {list-style-type: none;float:left;margin-right:12px;}
.wrapbg .share-item ul li iframe {margin-right:0px;position:relative;}

.wrapbg .quantity-cart {float:left;background-color: #f7f7f5;border: 1px solid rgb(121, 172, 33);padding:8px 8px;margin-top:5px;margin-right:5px;}
.wrapbg .quantity-cart p {width: 65px;display: inline-block;padding:0px;}
.wrapbg .quantity-cart input {width:38px;display: inline-block;margin:0px;}
.wrapbg .quantity-cart.out-stock input {background: #dddddd;color: #999999;}




.wrapbg .btn-cart.btn-big { 
  padding: 10px 20px;
  font-size: 14px;
  line-height: 16px;
  float: left;
  color: #fff;
  border: 1px solid rgb(121, 172, 33);
  border-radius: 0px;
  padding: 5px 10px 4px 5px;
  background: #8fc929;
  width: auto;
  min-width:250px;
  text-align: center;
}
.wrapbg .btn-cart.btn-big select {
  border: 1px solid rgb(121, 172, 33);
  border-radius: 0;
  width: auto;
  min-width: 111px;
  margin-right: 2px;
  max-width: 350px;
}

.wrapbg .btn-cart.btn-big select.hidden + span {
  display: block;
  line-height: 29px;
  padding: 0 5px;
}

.wrapbg .btn-cart.btn-big.simplified-cart-button {
  width: auto;padding: 0px;font-size: 12px;float:right;min-width:120px;
}

.wrapbg .btn-cart.btn-big i.icon-shopping-cart, .wrapbg .btn-cart.btn-big.simplified-cart-button i.icon-shopping-cart {
  width: 20px;
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
  padding: 2px 0;
  margin: 0;
}
.wrapbg .btn-cart.btn-big.simplified-cart-button i.icon-shopping-cart {padding:0px;padding-left:4px;}

.wrapbg .btn-cart.btn-big:hover, .basket-checkout:hover, .basket-checkout button:hover {
  border-color: rgb(185, 218, 129);
  background: #8fc929;
}


.wrapbg div .article-content div .article-buttons .btn-cart.btn-big.out-stock,
.wrapbg div .article-content div .article-buttons .btn-cart.btn-big.out-stock:hover,
.wrapbg .quantity-cart.out-stock {background: #cccccc;border-color: #999999;color: #999999;}


.wrapbg .confirmation-box {
  text-shadow: none;
  box-shadow: none;
  padding: 15px;
  float: left;
  clear: both;
  border: 1px solid rgb(121, 172, 33);
  color: #333;
  background: #f7f7f5;
  font-size: 12px;
  width: 250px;
  max-width: 100%;
  border-radius: 0px;
  margin: 5px 0 15px;
}
.wrapbg .confirmation-box h3 {
  color: #333;
  font-weight: bold;
}

.wrapbg .btn-cart.confirmation-checkout {
  width:215px;
  max-width: 100%;
  text-align:center;
  font-size: 14px;
  margin-bottom: 0;
}

body#article .article-details ol li, body#article .article-details ul li {margin-left:2em;}
body#article .article-details .share-item ul li {margin-left:0px;}


.wrapbg .var-group .variant-label {
  float: left;
  margin-right: 10px;
  padding-top: 7px;
}

.wrapbg .var-group {margin-bottom:10px;}

.wrapbg .var-group select {width:auto;}
/* BASKET - CHECKOUT */
.el-basket { width:160px;margin:0 auto;display:block;float:right;padding:4px 0px;}

.basket-wrapper {text-align: center;background-color: #fff;border: 2px solid #ddd;position:relative;}
.basket-wrapper ul li { width:auto;min-width:14px;display:inline-table;color:black;margin:0px;margin-right:2px;}

.basket-list, .checkout-list {position: absolute;top: 0;left: 0;z-index: 1010;width: 360px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  border:1px solid #D3D3D3;
  font-family: Ubuntu, cursive;
}

.basket-list {top:22px;left: -204px;max-height: 270px;}

.basket-list .basket-title, .checkout-list .checkout-title {
  padding: 9px 15px;
  line-height: 1;
  background-color: #dddddd;
  border-bottom: 1px solid #d3d3d3;
  margin-right:0px;
}

.basket-list .basket-content, .checkout-list .checkout-content{
  padding: 10px;
  background-color: #f7f7f5;
  margin-right:0px;
  padding-top: 0px;
}

.basket-header {cursor: pointer;}
.basket-list .basket-content {max-height:228px;}

/*Low stock warning in the checkout*/
.low-stock {color: Tomato;}

.basket-list .basket-content:before, .basket-list .basket-content:after,
.checkout-list .checkout-content:before, .checkout-list .checkout-content:after,
.confirm-wrapper:before, .confirm-wrapper:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  

.basket-list .basket-content:after, .checkout-list .checkout-content:after, .confirm-wrapper:after { clear: both; }  
.basket-list .basket-content, .checkout-list .checkout-content, .confirm-wrapper { zoom: 1; }

.basket-list .basket-body,
.checkout-wrapper .checkout-body {float:left;width:100%;display: table;}

.basket-list .basket-body .row.header,
.checkout-wrapper .checkout-body .row.header {font-weight: 700;width:100%;border-top:0px;}

.basket-list .basket-body .row,
.checkout-wrapper .checkout-body .row {display:table-row;float:left;width:100%;
  margin-left:0px;
  border-top: 1px dashed #d3d3d3;
}

.basket-list .basket-body .row {max-width: 330px;}
.checkout-wrapper .checkout-body .row {max-width: 676px;}

.basket-list .basket-body .row .cell,
.checkout-wrapper .checkout-body .row .cell {display:table-cell;float:left;width:25%;
  line-height: 20px;
  text-align: left;
  padding:2.5%;
  word-break:break-word;
}

.basket-list .basket-body .row .cell a,
.checkout-wrapper .checkout-body .row .cell a {color:black;}

.basket-list .basket-body .row .cell a:hover,
.checkout-wrapper .checkout-body .row .cell a:hover {text-decoration: none;}

.checkout-wrapper .checkout-body .row .cell {width:15%;padding:2%;}

.basket-list .basket-body .row .cell.quantity,
.checkout-wrapper .checkout-body .row .cell.quantity {text-align: center;}

.basket-list .basket-body .row .cell.remove-item,
.checkout-wrapper .checkout-body .row .cell.remove-item {width:1%;cursor: pointer;}

.basket-list .basket-body .row .cell.remove-item {margin-left: 3%;}

.checkout-wrapper .checkout-body img {max-width: 80px;max-height: 80px;}

.checkout-wrapper .checkout-body .row.header,
.checkout-wrapper .checkout-body .row.footer {width:100%;font-weight: 700;}

.checkout-wrapper .footer-checkout {border-top:1px dashed #D3D3D3;padding-top:10px;}
.checkout-wrapper .footer-checkout .row {border:0px;}
.checkout-wrapper .footer-checkout .row .cell {font-weight: 700;}
.checkout-wrapper .footer-checkout .row .cell.quantity {padding:0% 2%;word-break:normal;}

.confirm-wrapper #digital-download-email {
  float:left;
  display: block;
  width:100%;
  text-align: left;
}
.confirm-wrapper #digital-download-email .email-input {
  margin-bottom: 5px;
  text-align: left;
  width:100%;
  max-width: 200px;
}
.confirm-wrapper #digital-download-email label {
  font-weight: 700;
  font-family: inherit;
  padding:10px 0px;
  cursor:inherit;
}
.confirm-wrapper #digital-download-email .required-field, 
.confirm-wrapper #digital-download-email .invalid-format {
  margin-left:0px;
  text-align: left;
  margin-bottom:5px;
}
#terms-div {
  width: 100%;
  float:right;
  position:relative;
  text-align: right;
  margin:10px 0px;
}
#terms-div label {
  display: inline-block;
  padding-right: 5px;
}
#terms-div span.help-inline {
  text-align: right;
}


.checkout-list {border:0px;box-shadow:none;width:100%;margin:0 auto;background:none;position:absolute;top:185px;max-height: 100%;}
.checkout-list .checkout-wrapper {max-width:710px;
    margin:0 auto;
    width:100%;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #D3D3D3;
    max-height: 100%;
}
.checkout-list input {width: 40px;min-width: 10px;text-align:center;}

.checkout-options {
  float:left;width:100%;margin-bottom:20px;
}

.checkout-options .form-control {
  float:left;margin:5px;margin-left:0px;width:100%;
}

.checkout-options .form-control input {
  margin-bottom:0px;padding:2px;
}

.checkout-options .form-control #voucher-input {max-width: 232px;width:100%;float:left;margin-right:5px;margin-bottom:5px;}

.checkout-options .add-voucher {
  background-color: #dddddd;padding: 5px;color: #5f5f5f;text-decoration: none;border: 1px solid Lightgray;font:99% sans-serif;
}

.checkout-options .voucher-added {
  float:left;width:100%;
}
.checkout-list #enquiry-form {
  float:left;
  width:100%;
}
.checkout-list div.enquiry-checkout {
  float:left;
  clear: both;
}
.checkout-list .enquiry-form {
  width:225px;
  display: inline-table;
  vertical-align: top;
  margin-top: 15px;
}

.checkout-list .enquiry-form label,
.checkout-list .enquiry-form input,
.checkout-list .enquiry-form span,
.checkout-list .enquiry-form select,
.checkout-list .enquiry-form textarea {
  float:left;
  clear:left;
  resize:none;
  width:85%;
  text-align: left;
}
.checkout-list .enquiry-form label {
  cursor: default;
  margin-bottom:3px;
}
.checkout-list .enquiry-form .input-span input {
  width:auto;
  margin-right:10px;
  margin-top:2px;
}

.checkout-list .enquiry-form span.input-span {
  width: 40%;
  float: left;
  clear: none;
  margin-left: 0px;
  margin-right: 10px;
  margin-bottom: 5px;
}

.checkout-list .enquiry-form span.input-span div {
  text-align: left;
  float:right;
  width:65px;
  word-break:break-word;
}

#checkout-modal .enquiry-form .help-inline {
  margin-left:0px;
  padding:0px;
  margin-top:3px;
}

.footer-delivery select {
  display: inline-block;width: 210px;padding: 4px;font-size: 13px;line-height: 18px;color: #555;border: 1px solid #CCC;-webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px;
}

.confirm-wrapper {display:block;text-align:center;margin-bottom:0px;float:left;clear:both;width:100%;}
.continue-shopping-button {
  display: inline-table;
  float: left;
  margin-top: 14px;
  background-color: #dddddd;
  padding: 7px;
  color: white;
  text-decoration: none;
  border: 1px solid Lightgray;
  margin-bottom:10px;
}
.continue-shopping-button:hover {border-color:rgb(151, 151, 151);}

.continue-shopping-button a {color:#5f5f5f;text-decoration: none;}
.continue-shopping-button a:hover {color:#5f5f5f;}

.basket-checkout, .basket-checkout button {
  margin-top:15px;
  width:100%;
  max-width: 320px;
  text-align: center;
}
.basket-checkout button {
  border:0;
  margin:0;
  padding:0;
  font-family: Ubuntu, cursive;
  font-size:13px;
  background: none;
  color: #fff;
  margin-top: -3px;
}
.basket-checkout.confirm {padding:5px 9px; float:right;}
.paypal-checkout {width: 100%;max-width:435px;float: right;border-top: 1px dashed Lightgray;padding-top:3px;background:white;}
.paypal-checkout b {width: 100%;float:left;text-align: left;margin-top:5px;margin-bottom:10px;}
.paypal-checkout form {display:inline-block;float:left;width:100%;max-width: 135px;}
/* -- Amazon button -- */
.paypal-checkout div#cbaButton1 {display:inline-block;float:left;width:100%;max-width:135px;margin-top:10px; }
.paypal-checkout form button {border:0px;}
.paypal-checkout form button img {width:150px;max-width:150px;}
.empty-basket {padding:20px;padding-bottom:0px;}

.wrapper-scroll-basket {overflow: auto;width: 100%;padding-right: 5px;margin-top: 1px;height:auto;min-height:35px;max-height:148px;}
.wrapper-scroll-checkout {overflow: auto;width: 100%;padding-right: 9px;margin-top: 1px;height:auto;min-height:35px;max-height:427px;}
.scrollbar-list::-webkit-scrollbar {width: 7px; height: 6px;}
.scrollbar-list::-webkit-scrollbar-button:start:decrement,
.scrollbar-list::-webkit-scrollbar-button:end:increment {display: block; height: 10px;}
.scrollbar-list::-webkit-scrollbar-button:vertical:increment {background-color: #fff;}
.scrollbar-list::-webkit-scrollbar-track-piece {background-color: #eee; -webkit-border-radius: 3px;}
.scrollbar-list::-webkit-scrollbar-thumb:vertical {height: 50px; background-color: #ccc; -webkit-border-radius: 3px;}
.scrollbar-list::-webkit-scrollbar-thumb:horizontal {width: 50px; background-color: #ccc; -webkit-border-radius: 3px;}

/* Business Hours alignment checkboxes */
#edit-hours-table td input[type="checkbox"],
#edit-business-hours-info #form-container #site-preferences p input[type="checkbox"] {margin-top:0px;}

/* display/hide contact widget */
body#contacts .wrapbg #location-map.hide,
body#contacts .wrapbg #contact-page-address a.internal.hide, 
body#contacts #contact-page-address .popup-content.vcard.hide {display:none;}

/* Carousel CTA Positions */
body#home .wrapbg #carousel .single-carousel-content.top {
    top:0px;
    bottom:0px;
}
body#home .wrapbg #carousel .single-carousel-content.bottom {
    bottom:20px;
    top: auto;
}
body#home .wrapbg #carousel .single-carousel-content.left {
    left:0px;
    top:0px;
    width:100px;
    padding:0px 10px;
    display:none;
}
body#home .wrapbg #carousel .single-carousel-content.right {
    right:20px;
    left:auto;
    top:0px;
    width:100px;
    padding:0px 10px;
    display: none;
}
body#home .wrapbg #carousel .single-carousel-content.left .call-to-action-v,
body#home .wrapbg #carousel .single-carousel-content.right .call-to-action-v {
    width:100px;
    min-width: 100px;
}
body#home .wrapbg #carousel .single-carousel-content.left .call-to-action-v .promo header,
body#home .wrapbg #carousel .single-carousel-content.left .call-to-action-v .carousel-description,
body#home .wrapbg #carousel .single-carousel-content.right .call-to-action-v .promo header,
body#home .wrapbg #carousel .single-carousel-content.right .call-to-action-v .carousel-description  {
    width:100px;
    margin:0px;
    margin-top:10px;
}
body#home .wrapbg #carousel .single-carousel-content.left .call-to-action-v .promo header h2 div,
body#home .wrapbg #carousel .single-carousel-content.left .call-to-action-v .carousel-description,
body#home .wrapbg #carousel .single-carousel-content.left .call-to-action-v .carousel-description p,
body#home .wrapbg #carousel .single-carousel-content.right .call-to-action-v .promo header h2 div,
body#home .wrapbg #carousel .single-carousel-content.right .call-to-action-v .carousel-description,
body#home .wrapbg #carousel .single-carousel-content.right .call-to-action-v .carousel-description p {
    overflow: hidden;
}
body#home .wrapbg #carousel .single-carousel-content.left .cta-button,
body#home .wrapbg #carousel .single-carousel-content.right .cta-button {
    margin:0 auto;
    float:left;
    width:100px;
    text-align: center;
    margin-top:5px;
}
/* Widget Custom Form */
.wrapbg .text .insertwidget-wrapper.protected-data,
.wrapbg .text .contact-form.protected-data,
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data,
.wrapbg #base-footer .text .contact-form.protected-data,
.wrapbg .text .insertwidget-wrapper.protected-data #form-main,
.wrapbg .text .contact-form.protected-data #form-main,
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main,
.wrapbg #base-footer .text .contact-form.protected-data #form-main, 
.wrapbg .text .insertwidget-wrapper.protected-data #form-main fieldset,
.wrapbg .text .contact-form.protected-data #form-main fieldset,
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main fieldset,
.wrapbg #base-footer .text .contact-form.protected-data #form-main fieldset, 
.wrapbg .text .insertwidget-wrapper.protected-data #form-main fieldset .contact-form-details,
.wrapbg .text .contact-form.protected-data #form-main fieldset .contact-form-details,
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main fieldset .contact-form-details,
.wrapbg #base-footer .text .contact-form.protected-data #form-main fieldset .contact-form-details {
  margin:0 auto;
  padding:0px;
  width:auto;
  float:left;
  text-align: left;
} 

.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details ul,
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details ul,
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details ul,
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details ul { 
  overflow: inherit;
  margin:0 20px;
  float:left;
  clear:both;
  font-size:14px;
  width:auto;
  display:block;
  text-align: left;
}

.wrapbg .text .insertwidget-wrapper.protected-data form#form-main ul.errorlist,
.wrapbg .text .contact-form.protected-data form#form-main ul.errorlist,
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data form#form-main ul.errorlist,
.wrapbg #base-footer .text .contact-form.protected-data form#form-main ul.errorlist {margin-left:0px;font-size:12px;font-weight: 400;}

.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details li,
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details li,
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details li,
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details li {margin-left:0px;width:100%;text-align:left;margin-bottom:10px;float:left;display:block;padding:0px;}

.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details li.hidden-field,
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details li.hidden-field,
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details li.hidden-field,
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details li.hidden-field {
    display: none;
}

.wrapbg .text .insertwidget-wrapper.protected-data form#form-main label,
.wrapbg .text .contact-form.protected-data form#form-main label,
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data form#form-main label,
.wrapbg #base-footer .text .contact-form.protected-data form#form-main label {cursor:text;text-decoration: none;float:left;margin:0 auto;}

.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details select, 
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details select,
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details select, 
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details select,
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details textarea, 
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details textarea,
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details textarea, 
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details textarea,
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="text"], 
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="text"],
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="text"], 
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="text"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="file"], 
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="file"],
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="file"], 
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="file"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="password"], 
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="password"],
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="password"], 
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="password"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="datetime"], 
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="datetime"],
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="datetime"], 
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="datetime"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="datetime-local"], 
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="datetime-local"],
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="datetime-local"], 
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="datetime-local"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="date"],
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="date"],
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="date"],
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="date"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="month"],
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="month"],
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="month"],
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="month"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="time"],
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="time"],
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="time"],
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="time"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="week"],
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="week"],
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="week"],
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="week"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="number"],
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="number"], 
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="number"],
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="number"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="email"], 
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="email"], 
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="email"], 
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="email"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="url"],
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="url"], 
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="url"],
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="url"], 
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="search"], 
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="search"], 
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="search"], 
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="search"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="tel"], 
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="tel"], 
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="tel"], 
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="tel"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="color"], 
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="color"], 
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="color"], 
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="color"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details .uneditable-input,
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details .uneditable-input 
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details .uneditable-input,
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details .uneditable-input {
    width:100%;
    padding: 4px 0px;
    margin:10px auto;
    height: auto;
}
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="file"],
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="file"],
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="file"],
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="file"] {
    padding:0px;
}
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="radio"],
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="radio"],
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="radio"],
.wrapbg #base-foote .text .contact-form.protected-data #form-main .contact-form-details input[type="radio"],
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="checkbox"],
.wrapbg .text .contact-form.protected-data #form-main .contact-form-details input[type="checkbox"],
.wrapbg #base-footer.text .insertwidget-wrapper.protected-data #form-main .contact-form-details input[type="checkbox"],
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-form-details input[type="checkbox"] {
    margin-top:2px;
}
.wrapbg .text .insertwidget-wrapper.protected-data form#form-main .contact-form-details input.contact-textinput[type="text"],
.wrapbg .text .contact-form.protected-data form#form-main .contact-form-details input.contact-textinput[type="text"],
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data form#form-main .contact-form-details input.contact-textinput[type="text"],
.wrapbg #base-footer .text .contact-form.protected-data form#form-main .contact-form-details input.contact-textinput[type="text"],
.wrapbg .text .insertwidget-wrapper.protected-data form#form-main .contact-form-details textarea.contact-textarea,
.wrapbg .text .contact-form.protected-data form#form-main .contact-form-details textarea.contact-textarea,
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data form#form-main .contact-form-details textarea.contact-textarea,
.wrapbg #base-footer .text .contact-form.protected-data form#form-main .contact-form-details textarea.contact-textarea {
    padding:0px;
    height:0px;
    margin:0px;
}
.wrapbg .text .insertwidget-wrapper.protected-data #form-main .buttons, 
.wrapbg .text .contact-form.protected-data #form-main .buttons,
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .buttons, 
.wrapbg #base-footer .text .contact-form.protected-data #form-main .buttons { 
  margin: 0 20px;
  position:relative;
  top:-55px;
  text-align: left;
  background: none;
  padding: 0px;
  float: right;
}

.wrapbg .text .insertwidget-wrapper.protected-data #form-main .contact-button#submit-message,
.wrapbg .text .contact-form.protected-data #form-main .contact-button#submit-message,
.wrapbg #base-footer .text .insertwidget-wrapper.protected-data #form-main .contact-button#submit-message,
.wrapbg #base-footer .text .contact-form.protected-data #form-main .contact-button#submit-message {
    margin:0 auto;
    padding: 6px 10px;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    font-weight: bold;
    background:none;
    background-color:#2e3944;
    color:white;
    font-size: 14px;
    width: 70px;
}

/* iPad Fixes */
.wrapbg a[href^=tel] { text-decoration: inherit;color: inherit;}


/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

/* new Linux- and Windows-friendly sans-serif font stack: http://mky.be/fontstack */
body {font: 13px Helmet, Freesans, sans-serif;}

/* using local fonts? make sure to read up on Paul Irish's 
  Bulletproof @font-face syntax: http://mky.be/font-face/bulletproof/ */

/* we like off-black for text */
body, select, input, textarea {color: #333;}

a {color: #03f;}
a:hover {color: #69f;}

/* Custom text-selection colors (remove any text shadows: twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: #fcd700; color: #fff; text-shadow: none;}
::selection {background: #fcd700; color: #fff; text-shadow: none;} 

/*  j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #fcd700;} 

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}


/* IE8 Fix Images */
/*.wrapbg #carousel img, .wrapbg #content-wrapper .project img {max-width: inherit;}
 commented out for resizable images change*/


/* Print styles!
-------------------------------------------------------------------------------*/
@media print {



}


/* Media queries!
-------------------------------------------------------------------------------*/

/* Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {
  
    
}

@media all and (orientation: portrait) {
  
}

@media all and (orientation: landscape) {
  
}

/* Social media links */
.social-links {
  display:none;
}

.social-links button {
    background-color:#333333;
    color:white;
    border: 1px solid white;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    line-height: 30px;
    padding: 0 20px;
    font-size: 12px;
    font-weight: bold;
    width: 190px;
    height: 30px;
    margin-left: -100px;
}

.social-links ul {
    padding: 0;
    text-align: right;
    height: 25px;
}

.social-links li {
    list-style-type: none;
    float:left;
}

.social-links ul li {width:28px;}

.social-links ul li + li {
    padding-left: 1px;
}

.social-links ul li img {
    height: 25px;
    width: 25px;
    max-width: 25px;
    max-height: 25px;
}

.social-wrap.socialhide {
  opacity: 0.4;
}

/*  override bootstrap style
    for positioning our carousel overlay
    with integrated carousel */
.wrap-content-carousel .carousel {
  position: static;
}

/* carousel edit tool */
body.edit-mode .wrapbg #carousel-control {
    color: white;
    padding: 3px 0px;
    background: black;
    border-radius:5px 5px 0px 0px;
    min-height:22px;
}

body.edit-mode .wrapbg #carousel-control .strip {
    width: 200px;
    margin: 0px auto;
    float: right;
}

body.edit-mode .wrapbg #carousel-control .strip input {
    margin: 2px 5px 2px 20px;
    padding-right: 10px;
}

body.edit-mode .wrapbg #carousel-control .ctl.strip {
    margin: 0 auto;
    padding: 0px;
    width: 200px;
    float:none;
}

body.edit-mode .wrapbg #carousel-control #retreat { margin-right: 10px; cursor:pointer;}

body.edit-mode .wrapbg #carousel-control #advance { margin-left: 10px; cursor:pointer;}

.child-link a {cursor:pointer;}

div.slide-wrap {
    display:none;
}

div.slide-wrap.first-slide {
    display:block;
}

form#form-main .fileupload-progress, form#form-main .fileupload-cancel{
  display:none;
}

.search-container {
  width: 100%;
  text-align: right;
  padding: 5px 0;
}

.search-container form {
  margin: 0 auto;
}

.search-container .typeahead {
  text-align: left;
}

.search-container #search-form .btn, .search-container #search-form-ecommerce .btn{
  float: right;
  margin: 0 0 0 5px;
}

.search-container #search-form input, .search-container #search-form-ecommerce input {
  padding: 0 3px;
}

body#product-page .our-team-aside.private:hover .overlay-background.enabled,
body#product-page .team-wrapper:hover .overlay-background.enabled {
  display: inline;
  height: 0;
  width: 0;
  left: 50%;
  top: 15%;
}

/*Password Login Popup*/

div.login-details input#id_password { width:170px;}
div.login-details {padding:10px; margin-bottom:5px;}
#submit-password {float:right; margin:-7px 10px 10px 0;}
.forbidden-alert {color:red;}

section.login-form header {margin-bottom: -10px;}

.wrapbg a.ui-state-default, .wrapbg .ui-widget-content a.ui-state-default, .wrapbg .ui-widget-header a.ui-state-default  {
  background: #3E83F1;
  color:white;
}

.wrapbg a.ui-state-default.ui-state-active, .wrapbg .ui-widget-content a.ui-state-default.ui-state-active, .wrapbg .ui-widget-header a.ui-state-default.ui-state-active {
  background: green;
}

/* Alignment of inline images */
.text .outer-image-wrapper.left{
    float:left !important;
}
.text .outer-image-wrapper.right{
    float:right !important;
}
.text .outer-image-wrapper.center{
    display:table !important;
    margin-left:auto !important;
    margin-right:auto !important;
    float:none !important;
}
.text .outer-image-wrapper.justify{
    float:none !important;
    display: inline-block !important;
}
/* Alignment of inline faicon */
.text .outer-faicon-wrapper.left{
    float:left !important;
}
.text .outer-faicon-wrapper.right{
    float:right !important;
}
.text .outer-faicon-wrapper.center{
    display:table !important;
    margin-left:auto !important;
    margin-right:auto !important;
    float:none !important;
}
.text .outer-faicon-wrapper.justify{
    float:none !important;
    display: inline-block !important;
}

/* Pagination styles copied from Bootstrap v2.0.1
    Still needed in some designs  */
.wrapbg .pagination {
  height: 36px;
}

.wrapbg .pagination a {
  float: left;
  padding: 0 14px;
  line-height: 34px;
  text-decoration: none;
  border: 1px solid #DDD;
  border-left-width: 0;
}

/* Hide Geo coordinates on contact us page. */
#contact-page-address div.geo{
    display: none;
}

/* Required cue for form fields. */
.wrapbg .required > label:after,
.wrapbg p.required > label:after { content: '*';
        font-weight: bold;
        color: red;
}

/* These styles allow customers to resize their images */

/* Head Logo */
.wrapbg .head_logo .frame {
  display:block;
  overflow:hidden;
  position:relative;
}

.wrapbg .head_logo .frame img {
  position: absolute;
  left: 0;
  top:0;
  max-width: none; /* override bootstrap */
}

/* Carousel */
.wrapbg .carousel .frame {
  /*  set width per design
      set height per design */
  display: block;
  overflow: hidden;
  position: relative;
}
.wrapbg .carousel .frame img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none; /* override bootstrap */
}

/* Projects  */
.wrapbg .project .frame {
  /*  set width per design
      set height per design */
  display: block;
  overflow: hidden;
  position: relative;
}

.wrapbg .project .frame img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none; /* override bootstrap */
}

/* Our team aside (Team, Sections, Product pages) */
.wrapbg .our-team-aside .frame {
    width: 120px;
    height: 80px;
    overflow: hidden;
    position: relative;
}

/* Stops position styles of link from affecting image when a link is added to it */
.wrapbg .frame a,
.wrapbg .project-description .frame a { /* some styles need to be more specific like this one */
  position: static;
}

#product-page .wrapbg .our-team-aside .frame {
    height: 120px; /* overrides team styles for product page */
}

.wrapbg .carousel, 
.wrapbg .project span.upload,
.wrapbg .our-team-aside {
    display: inline-block;
}

/* Paypal button styles */
form[target="paypal"] input, form[target="paypal"] textarea, form[target="paypal"] select, form[target="paypal"] .uneditable-input {
  width: auto;
  padding: 0px;
  font-size: 14px;
  line-height: 20px;
  color: #333;
  border: 1px solid #CCC;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

form[target="paypal"] input[type="image"] {
  border: none;
}

form[target="paypal"] select {
  width: 100%;
  min-width: 100px;
  padding: 4px 6px;
}

.wrapbg .frame {
    z-index: 1;
}
.wrapbg .text .frame, .wrapbg .service-table-element .frame{
    overflow: hidden;
    position: relative;
    text-align: left;
}
div.enabled-image img{
    cursor:pointer;
}

/* stop email or long address breaking outside of contact box */
#contact-page-address {
  -ms-word-break: break-all;
  /* word-break: break-all; Removed to prevent breaking at char instead of word */
  /* Non standard for webkit */
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  word-wrap: break-word;
}

/* edit mode table border so its not invisible */
.wrapbg .text-edit-active table,
.wrapbg .text-edit-active tr,
.wrapbg .text-edit-active table th,
.wrapbg .text-edit-active table td,
.wrapbg .text-edit-active thead,
.wrapbg .text-edit-active tbody {
  border: 1px dashed blue;
}

button.cardsave-button {
    background: url(../../images/checkout/cardsave.png) no-repeat;
    width: 100%;
    max-width: 136px;
    height: 35px;
   }
button.worldpay-button {
    background: url(../../images/checkout/worldpay.png) no-repeat;
    width: 100%;
    max-width: 136px;
    height: 45px;
   }
button.paypal-button {
    background: url(../../images/checkout/paypal.png) no-repeat;
    width: 100%;
    max-width: 134px;
    height: 45px;
   }
button.barclays-button {
    background: url(../../images/checkout/barclays.png) no-repeat;
    width: 100%;
    max-width: 136px;
    height: 35px;
   }
button.sagepay-button {
    background: url(../../images/checkout/sagepay.png) no-repeat;
    width: 100%;
    max-width: 100px;
    height: 58px;
   }
button.molpay-button {
    background: url(../../images/checkout/molpay-logo.png) no-repeat;
    width: 100%;
    max-width: 136px;
    height: 45px;
   }
div .confirm-wrapper form {
  margin-right: 10px;
}
.accepted-cards {
  margin: 0 40px;
}

#checkout-modal .delivery-checkout .controls {
  width: 46%;
  float: left;
  margin-bottom: 10px;
  padding:0 2%;
  text-align: left;
}

#checkout-modal .delivery-checkout .controls.controls-row {
  width: 100%;
}


#checkout-modal #delivery-form {
  margin-top: 10px;
  float:left;
  width:100%;
}

#checkout-modal #delivery-form label {
  width: 100%;
  max-width: 90px;
  text-align: left;
}

#checkout-modal #delivery-form label.required:after {
  content: '*';
  font-weight: bold;
  color: red;
}

#checkout-modal #delivery-form select {
  max-width: 182px;
  width: 100%;
}

#checkout-modal .help-inline {
  text-align: left;
  display: block;
  color: red;
  padding:0px;
}

#checkout-modal .help-inline.hidden {
  display: none;
}

#checkout-modal #delivery-form input[type="text"] {
  text-align: left;
  max-width: 169px;
  width:100%;
}

#checkout-modal #delivery-form input[type="submit"] {
  background-color: #dddddd;
  padding: 7px;
  border: 1px solid Lightgray;
  color: #5f5f5f;
  margin: 0 auto;
  width: 200px;
  display: block;
  margin-top:15px;
}

/* Hide contact us spam protection fields */
.wrapbg form#form-main .contact-form-details textarea.contact-textarea {
  width: 0px;
  height: 0px;
  padding: 0px;
  margin: 0px;
  border: 0px;
}

.wrapbg form#form-main .contact-form-details input.contact-checkbox[type="checkbox"] {
  position:absolute;
  left:-10000px;
}

.wrapbg form#form-main .contact-form-details input.contact-textinput[type="text"]{
  width:auto;
  max-height: 0px;
  border:none;
  padding:0px;
  margin: 0px;
  overflow:hidden;
  cursor:none;
}
/* Separate style because ie8 doesn't support last-of-type */
.wrapbg form#form-main .contact-form-details > li:last-of-type {
  width:auto;
  max-height: 0px;
  border:none;
  padding:0px;
  margin: 0px;
  overflow:hidden;
  cursor:none;
}

.wrapbg form#form-main .contact-form-details ul.errorlist li {
  max-height: 20px;
  cursor:inherit;
}

/* Map error info box scrolls so that text doesn't overlap box */
.wrapbg #map-error {
overflow: auto;
max-height: 100%;
}

/* Article page custom product form for ecommerce*/
body#article .wrapbg .custom-product-form {
    clear: left;
}

body#article .wrapbg .custom-product-form ul,
.custom-product-form li {
    list-style: none;
}

body#article .wrapbg .custom-product-form input[type="text"],
body#article .wrapbg .custom-product-form textarea,
body#article .wrapbg .custom-product-form select{
    width: 100%;
    padding: 7px 5px;
    height: 36px;
}

body#article .wrapbg .custom-product-form ul li,
body#article .wrapbg .custom-product-form li {
    margin: 0 0 10px 0;
}

body#article .wrapbg .custom-product-form input[type="radio"],
body#article .wrapbg .custom-product-form input[type="checkbox"] {
}

body#article .wrapbg .custom-product-form label {
    margin-bottom: 5px;
    cursor:inherit;
}

/* Blog archive */
.wrapbg .pager {
  float: right;
  clear: both;
}

.wrapbg .blog-archive {
  clear: both;
  display: inline-block;
}

.wrapbg .blog-archive li {
  list-style: none;
  clear: both;
}

.wrapbg .blog-archive .parent-link a {
  cursor: default;
  text-decoration: none;
}

.wrapbg .blog-archive .child-link .child-link {
  margin-left: 10px;
}

.wrapbg .secondary-nav.blog-archive ol li.child-link {
  list-style: none;
}

.wrapbg #feed .share-item iframe {
  margin: 0;
}

/* Facebook comments */
.wrapbg .facebook-comments {
  clear: both;
  margin-top: 10px;
  display: inline-block;
  width: 100%;
}

.wrapbg .fb_iframe_widget {
  background: #ffffff;
}

/* BON-8659 carousel z-index always lower */
.wrapbg .slides_container {
  z-index: 5 !important;
}

/* custom form styles */
.wrapbg .text .protected-data #form-main .contact-form-details, .wrapbg .text .protected-data #form-main .contact-form-details > ul{
    width:100%;
}

.wrapbg .text .protected-data form#form-main input, .wrapbg .text .protected-data #form-main textarea {
    width:95%;
}

.wrapbg .text .protected-data form#form-main .contact-form-details input.contact-textinput[type="text"]{
    width:95%;
}

.wrapbg  .text .protected-data form#form-main label{
    width:95%;
}

.wrapbg .text .protected-data #form-main .contact-form-details textarea{
    resize: none;
}


/* contact page address section editable text box */
body#contacts .wrapbg #contacts-content .contact-page-address .contact-free-text {
  clear:both;
  display: block;
}

/* Map re-sizable styles */
.wrapbg #map {
  max-width: 100%;
}

 
nav.main-nav span.mainnav-icon-wrapper{
    float:left;
    margin-right:5px;
}
.wrapbg nav.main-nav ul ul li span.mainnav-icon-wrapper.private{
    display:none;
}

.wrapbg nav.main-nav .navigation-bonline li span.mainnav-icon-wrapper.private {
  display: none;
}

/* remove big gaps in search results */
.wrapbg .single-search-item .team-wrapper > div {
  min-height: 0;
}