html body {
    background-image: none;
    background: #fff;
}

A {
    text-decoration: none;
}
A:hover {
    text-decoration: underline;
}

.wrapper #messages .info {
    width: 900px;
}

#popupCart {
    overflow:auto;
    max-height:500px;
}
#popupCart .cart-link {
    text-align: right;
    padding:5px;
}

#topbar {
    z-index: 100;
}

#banner {
    width: 100%;
    height:100%;
    position: absolute;
    overflow: hidden;
    background-size: 100%;
    background-position: top;
    z-index: -1;
    background-repeat: no-repeat;
}

#main-logo-inner {
    height: 120px;
    margin-top: 0 !important;
}

#main-logo * {
    vertical-align: middle;
}

#outside {
    width: 100%;
    z-index: 0;
    margin-top: 30px;
}

body.popup-small #outside {
    margin-top: 8px;
}

#outside DIV.wrapper {
    width: 960px;
    margin: 0 auto;
    position: relative;
}

body.wide #outside DIV.wrapper {
    width: 1283px;
}

body.popup #outside DIV.wrapper {
    width: 640px;
}

body.popup-small #outside DIV.wrapper {
    width: 450px; 
}

/* There are quite a number of style overloads around that
 have a 70px left/right padding to turn some stuff white or something? sure messes up
 small popups, so we'll override here, at the cost of some slight ugliness, but at least
 things will fit. I guess those style overrides can be mended at some stage?
*/
body.popup-small #outside DIV.wrapper {
    padding: 1px 0;
}

#outside DIV.wrapper > DIV {
    margin-top: 20px;
}

body.popup-small #outside DIV.wrapper > DIV {
    margin-top: 0;
}

.main-spacer {
    display: none;
}
.main-spacer DIV.wrapper > DIV {
    height: 1px;
}

.items-group {
}
.items-group .folder {
    display: inline-block;
}

DIV#main {
    background:none;
    padding:0;
}

#main > div {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0;
}
#main > div:first-of-type {
    margin-top: 0 !important;
}

DIV#main-header {
    display: none;
    position: relative;
    padding: 10px;
    margin-top: 0 !important;
    margin-bottom: 0;
    border-bottom: 0;
    border-radius: 0;
    border-top-left-radius: 5px;
    /*border-top-right-radius: 5px;*/
    box-shadow: none;
}

DIV.folders-menu {
    margin-bottom: 0;
    padding: 10px 0px;
    background-color: #444;
    border:1px solid #ddd;
}

DIV.folders-menu SPAN.folder {
    margin: 0;
    padding: 0px 5px;
    border-right: 1px dotted #bbb;
}

DIV.folders-menu SPAN.folder:first-child {
    padding-left: 0;
}

DIV.folders-menu SPAN.folder:last-child {
    border: none;
}

DIV.folders-menu SPAN.folder a {
    text-decoration: none;
    color: white;
}

DIV.folders-menu SPAN.folder:first-child {
    border-left: none;
    margin-left: 10px;
}

#main-folders {
    position: relative;
    margin-top: 20px;
}
#outside .main-folders .wrapper > DIV {
    margin-top: 0;
}

#main-folders-hover {
    position: fixed;
    top: 0;
    width: 100%;
    margin-top: 30px;
    z-index: 100;
}

.child-indicator {
    border:1px solid black;
    padding: 2px;
}

DIV#home {
    float: left;
}

DIV#search {
    text-align: right;
}
DIV#search-outer {
    width: 100%;
    position: absolute;
    z-index: 10;
}
DIV#search .wrapper {
    background: none;
}
DIV#main-breadcrumbs DIV#search {
    float: right;
}
#searchText {
    margin-right: 0;
    padding: 2px 8px;
    border-radius: 5px 0 0 5px;
    height: 20px;
    width: 140px;
    border: 1px solid #888;
    border-right: none;
}
DIV#search BUTTON {
    margin-top: -1px;
    border-radius: 0 5px 5px 0;
    border: none;
    background: #666;
    color: #fff;
    height: 26px;
}
DIV#search BUTTON I {
    position: relative;
    top: -1px;
}
DIV#search BUTTON:hover {
    cursor: pointer;
    background: #888;
}

.searchForm_advanced_hidden {
    display: none;
}

#outside DIV.breadcrumb {
    border-radius: 0;
    box-shadow: none;
}
DIV.breadcrumb * {
    text-decoration: none;
    height: 30px;
    box-sizing: border-box;
    display: inline-block;
    padding: 0;
    margin: 0;
    vertical-align: middle;
}
DIV.breadcrumb .crumb-content {
    padding: 0 5px;
}
DIV.breadcrumb .crumb-content A {
    padding-top: 8px;
}
.crumb, .crumb * {
    border-color: #eee;
    background-color: #eee;
}
.crumb:hover, .crumb:hover * {
    border-color: #ddd;
    background-color: #ddd;
}
DIV.breadcrumb DIV.crumb {
    background: none;
}
DIV.breadcrumb .crumb .crumb-start, DIV.breadcrumb .crumb .crumb-end {
    border: 15px solid;
    border-color: inherit;
    background: none;
}
DIV.breadcrumb .crumb .crumb-start {
    border-left-color: transparent;
    border-right: none;
}
DIV.breadcrumb .crumb .crumb-end {
    border-color: transparent;
    border-left-color: inherit;
    border-right: none;
}
.crumb:first-child .crumb-start {
    display: none;
}
DIV.breadcrumb A:hover {
    background: none;
}
DIV.breadcrumb A::before {
    content:'';
}

DIV#info-header {
    margin: 0;
    padding: 0;
    border: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    text-align: right;
    background: none;
}

#info-header DIV.info-content {
    background-color: white;
    /*display: inline;*/
    padding: 0 10px;
    border-top-left-radius: 5px;
    width: 960px;
    margin: 0 auto;
}

#logout {
    position: relative;
    display: inline;
    top: 0;
    right: 0;
    margin: 0;
    margin-right: 5px;
}

#cart-summary {
    background-color: white;
    line-height: 30px;
    margin-left: 5px;
    padding: 5px;
    position: relative;
}

#cart-summary IMG {
    margin-bottom: -2px;
}

#cart-summary:hover {
    cursor: pointer;
}

#popup-cart {
    position: absolute;
    top: 23px;
    right: -1px;
    background-color: white;
    border: 1px solid black;
    z-index: 10;
    width: 300px;
}

#popup-cart .widget {
    text-align: left;
    padding: 20px;
}

#home {
    margin: 0;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.topmenu .topmenuItem .topmenuLabel A {
    color: inherit;
    text-decoration: inherit;
}

.topmenu .topmenuItem.shown .caret {
    border-top: none;
    border-bottom: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}


#wrapper DIV.row {
    margin-top: 40px;
}

DIV.row DIV.row-title {
    font-size: 20pt;
    margin-bottom: 10px;
}

#messages .info,
DIV.text,
DIV.text * {
    margin: 0 auto;
    font-size: 16pt;
    width: 960px;
}

#messages .info {
    width: 900px;
}

#outside > DIV.highlight {
    margin: 40px 0;
    width: 100%;
    background-color: #eee;
    padding: 30px 0;
}

#outside #main-links-inner {
    margin: 60px auto 0;
    border-top: 1px solid #e4e4e4;
    text-align: center;
    border-radius:0px;
    box-shadow: none;
}
#main-links-inner UL {
    border-right:none;
    text-align: left;
}
#main-links-inner UL:last-child {
    border: none;
}

.carousel {
    /*background:white;*/
}
.carousel button:before {
    color: black;
}

.slick-slide img {
    display: inline;
}
.carousel .product-box {
    text-align: center;
}
.carousel .product-box .img {
    text-align: center;
    overflow: hidden;
    height: 150px;
}
.carousel .product-box .img img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.carousel .product-box .img img.source-pdf {
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.carousel .product-box .description {
    display: none;
}
.carousel A .title, .carousel A:visited .title {
    color: black;
}
.carousel .bottom-row {
    display: none;
}
.carousel .bottom-row A {
    text-decoration: none;
    background-color: #444;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    /*line-height: 16px;*/
}
.carousel A:hover {
    text-decoration: underline;
    cursor: pointer;
}
.carousel .bottom-row {
    position: relative;
    height: 60px;
}
.carousel .buttons {
    position: absolute;
    bottom: 10px;
    width: 100%;
}


.grid-layout .product-box {
    text-align: center;
    margin: 10px 0;
}
.grid-layout .product-box .img {
    text-align: center;
    overflow: hidden;
    height: 150px;
}
.grid-layout .product-box .img img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.grid-layout .product-box .img img.source-pdf {
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.grid-layout .product-box .description {
    display: none;
}
.grid-layout A .title, .carousel A:visited .title {
    color: black;
}
.grid-layout .bottom-row {
    display: none;
}
.grid-layout .bottom-row A {
    text-decoration: none;
    background-color: #444;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    /*line-height: 16px;*/
}
.grid-layout A:hover {
    text-decoration: underline;
    cursor: pointer;
}
.grid-layout .bottom-row {
    position: relative;
    height: 60px;
}
.grid-layout .buttons {
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.grid-layout-inner {
    display: flex;
    flex-wrap: wrap;
}

.grid-align-LEFT {
    justify-content: flex-start;
}
.grid-align-CENTRE {
    justify-content: center;
}
.grid-align-RIGHT {
    justify-content: flex-end;
}


A.product {
    text-decoration: none;
    text-align: center;
    color: #666666;
}
A.product:hover {
    text-decoration: underline;
    color: #666666;
}
A.product:active {
    color: #666666;
}
DIV.products DIV IMG.source-pdf {
    border:1px solid #ddd;
    /*box-shadow: 1px 0px 5px #bbb;*/
}
A.product IMG {
    overflow: hidden;
}
A.product DIV.title {
    margin-top: 5px;
    font-family: 'Raleway', serif;
}
A.product DIV.description {

}

DIV.bottom-row DIV.price {
    font-size: 20px;
    vertical-align: middle;
}
DIV.bottom-row A {

}

DIV#main-cart-inner {
    border: 1px solid #ddd !important;
    background-color: white;
    display: block;
    box-shadow: none;
    padding-bottom: 10px;
}

DIV#main-products-inner {
    background-color: white;
    display: block;
    box-shadow: none;
    padding: 10px;
}
#main-products-inner .text-content {
    margin:20px;
}
#main-products-inner .text-content h2 {
    margin-bottom:10px;
}
DIV#main-products-inner>form {
    width: 645px;
    display: inline-block;
    padding:10px;
}
DIV#main-products-inner>form .pageHeader {
    margin:24px 0;
}
DIV#main-products-inner #cart {
    width: 248px;
    display: inline-block;
    vertical-align: top;
    padding: 10px;
    box-shadow: 1px 0px 5px #bbb;
}
DIV#main-products-inner .cartView #cart {
    width:auto;
    display:block;
    box-shadow:none;
}
DIV.panel {
    width: 196px !important;
    border:none;
    text-align: center;
    position:relative;
    /*border:1px solid black;*/
}
DIV.panel > DIV {
    border-right:none;
    padding: 0;
}
DIV.panel:nth-child(3n+1) > DIV {
    padding-left: 0;
}
DIV.panel:nth-child(3n) > DIV {
    padding-right: 0;
}
DIV.panel:nth-child(3n) {
    margin-right: 0;
}
DIV.panel IMG, .folder.block IMG {
    box-shadow: none;
}
DIV.panel .img {
    width: auto;
}
DIV.panel .name {
    text-align: center;
}
DIV.panel .price {
    text-align: center;
}
DIV.product .price {
    font-size: 18px;
    padding: 5px 0 5px 0;
}
DIV.product.tabular .price {
    font-size: 15px;
    padding: 0;
    text-align: right;
}
DIV.panel .info {
    padding: 0 5px;
}
DIV.product .name a {
    color: inherit;
}
DIV.product .name a:visited {
    color: inherit;
}
DIV.product .name, DIV.product .name * {
    overflow-x:hidden;
    font-weight: bold;
    font-size: 17px;
}
DIV.product.tabular .name {
    position: absolute;
}
DIV.product.tabular .name, DIV.product.tabular .name * {
    font-weight: normal;
}
DIV.panel .add {
    white-space: nowrap;
    text-align: center;
    vertical-align: bottom;
    bottom: 0;
    /*position: absolute;*/
    width: 100%;
    left: 0;
    right: 0;
    height: 30px;
    /*border: 1px solid red;*/
    padding-top:0;
}
DIV.panel .add .ui-widget {
    margin-right:1px;
}
.product .ui-widget input, .product .ui-widget select, .product .ui-widget textarea, .product .ui-widget button {
    font-size: 0.8em;
}
.add A {
    display: inline-block;
}

.cart-widget .lineItems .lineItem .name a {
    text-decoration: underline;
}
.cart-widget .lineItems .lineItem .description {
    font-size: 9pt;
    padding:5px 0;
    padding-left:10px;
}

.saved-cart-widget .lineItems .lineItem .description {
    padding-left:25px;
}

.cart-widget .lineItem .legend {
    font-style: italic;
}

.cart-widget .message {
    text-align: center;
}

.products-list .folder {
    display: inline-block;
    width:166px;
    line-height: 16px;
    border-bottom:none;
    margin:0 5px;
    padding:5px 10px;
    vertical-align: middle;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
}
.presentationStyle-regular .products-list .products {
    display: flex;
    flex-wrap: wrap;
}
.product-view .header {
    margin:0 20px;
}
.product-view .header .description {
    margin: 20px 30px;
}
.product-view .message {
    margin:0 20px;
}
.folder .icon {
    display: table-cell;
    vertical-align: middle;
}
.folder .folderThumbnail {
    box-shadow: 0 0 2px 0 rgba(0,0,0,0.75);
}
.folder .name {
    display: table-cell;
    vertical-align: middle;
    padding-left:10px;
    white-space: normal;
}

.products-menu {
    vertical-align: top;
    display:inline-block;
    width:151px;
    border-right: 2px solid #ebebeb;
}
.products-menu * {
    font-size: 9pt;
}
.products-menu .root {
    padding: 5px;
}
.products-menu .root:last-child {
    border-bottom: none;
}
.products-menu DIV.folders {
    margin-top: 0;
}
.products-menu .folders .folders {
    padding-left: 10px;
}
.products-menu .folders .folder {
    line-height: 16px;
    padding-top:5px;
    padding-bottom:5px;
    padding-left: 5px;
    border-radius: 0;
    margin: 0 0 -5px -10px;
    border-left: 5px solid rgba(1,1,1,0);
    overflow: hidden;
}
.products-menu .folders .folder:last-child {
    margin-bottom: 5px;
}
.products-menu > .folders > .folder:last-child {
    margin-bottom: 0;
}
.products-menu .folders .folder.selected {
    border-color: #444 !important;
    background: #ebebeb;
}
.products-menu .folders .folder:hover {
    border-color: #aaa;
    text-decoration: none;
}
.products-menu .folders .folders {
    border-bottom: none;
}
.products-menu .folder A {
    text-decoration: none;
}

.product-view {
    display:inline-block;
    width:786px;
}

#popupUser UL {
    list-style: none;
    padding: 0 30px;
    margin-top:0;
}
#popupUser UL LI {
    line-height: 30px;
    white-space: nowrap;
}

#popupUser UL LI I {
    font-size: 14px;
    margin-right:3px;
}
.content_table {
    margin-top:10px;
}
.container_title {
    padding:0;
    background-color:white;
    font-size:18px !important;
    font-weight: normal;
    border-bottom: none;
    font-family: helvetica, arial, sans-serif;
}
.container {
    padding: 10px !important;
    background-color: white;
}
TABLE.content_table > TBODY > TR > TD {
    padding: 5px;
}
#pagedButtonTable {
    background-color:white;
}

DIV#main DIV.print {
    box-shadow: none;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd !important;
    border-radius: 0;
    padding: 4px 10px;
    float: right;
}
DIV#main DIV.print:hover {
    box-shadow: none;
    background: rgba(0, 0, 0, 0.05);
}

DIV#main DIV.search {
    box-shadow: none;
    padding: 0 10px;
    cursor: pointer;
    border-radius: 0;
    float: right;
}
DIV.search INPUT[type=button] {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 4px 10px;
}

DIV.search INPUT[type=button]:hover {
    box-shadow: none;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.05);
}

#main > div, #widgets > .widget {
    box-shadow: none;
    border-radius: 0;
}
DIV#content {
    /*margin-top:20px !important;*/
}

.cart A.checkout, .cart A.continueCheckout {
    width:200px;
    margin:0 auto;
}
.cart .button-row {
    text-align: left;
}
.cart-widget .button-row A.cartQtyUpdateButton {
    border-color: darkorange;
    padding: 5px;
    background: #E6E6E6;
    border-radius: 5px;
    border: 1px solid #B3B3B3;
    display: inline;
    text-align: center;
    color: #333333;
    margin:0 !important;
}
.cart-widget .button-row A.cartQtyUpdateButton:hover {
    background-color: darkorange;
}

.cart-widget .button-row  A.restoreOriginalQuantities {
    padding: 5px;
    display: inline;
    text-align: center;
    color: #333333;
    margin:0;
    white-space: nowrap;
}
.cart-widget .restoreOriginalQuantities:hover {
    text-decoration: underline;
}

#popupCart #updateQuantitiesControl A {
    margin:0 auto;
    display: block;
}



DIV.receipt {

}
DIV.receipt .feedback-line {
    padding:5px 0;
}
DIV.receipt .feedback-line .order-id {
    display: block;
    margin:20px 50px;
    padding: 10px;
    box-shadow: 1px 0px 5px #bbb;
    font-size: 18pt;
    font-weight: bold;
    text-align: center;
}
DIV.receipt .item-line {
    font-size: 16px;
    font-weight: bold;
}
DIV.receipt .item-feedback-line {
    margin-left: 50px;
}

.item:hover {
    background:none !important;
    color:black;
}

/* Float: default float-right behaviour doesn't work well in our position at the bottom of a div with no accompanying text */
.frontBodyAdminControl {
    float: none;
}
.frontViewAdminButtons {
    margin-top: -4px;
}


#popupCart {
    width: 230px;
    padding: 0;
}

#main-cart .container_title {
    padding: 10px 20px;
    text-align: center;
}

.cart-widget .lineItem  {
    padding: 10px;
}

.cart-widget.saved-cart-widget .lineItem  {
    padding: 5px;
}

.cart-widget .lineItem.subLineItem {
    margin-left: 20px;
    border-left: 1px solid #e6e6e6;
}

.cart-widget .lineItem.subLineItem + .lineItem {
    border-top: 1px solid #e6e6e6;
    margin-top: 10px;
}
.cart-widget .lineItem.subLineItem + .lineItem.subLineItem {
    border-top: none;
    margin-top: 0;
}

.cart-widget .total {
    padding: 15px 10px;
}

.cart-widget .button-row {
    padding: 0 10px;
}

#popupCart .cart-link {
    padding: 10px;
}

#cartModeNotice div.wrapper #cartModeNotice-inner {
    margin-top: 0;
    text-align: right;
}

#cartModeNotice .cartModeMessage {
    text-align: left;
}

#cartModeNotice * {
    font-size: 18px;
}

#cartModeNotice .frontHelpText {
    font-size: 90%;
    opacity: 0.7;
}

#cartModeNotice button {
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 90%;
    cursor: pointer;
}

#outside #cartModeNotice div.wrapper {
    background: rgba(0,0,0,0.03);
    padding-top: 20px;
    padding-bottom: 20px;
}




DIV.notice DIV.wrapper DIV {
    margin-top: 0;
}

DIV.notice DIV.button-bar {
    text-align: right;
}

DIV.notice * {
    font-size: 16px;
}

DIV.notice .subMessage {
    font-size: 95%;
    opacity: 0.8;
}

DIV.notice DIV.button-bar BUTTON {
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 90%;
    cursor: pointer;
}

#outside DIV.notice DIV.wrapper {
    background: rgba(0,0,0,0.03);
    padding-top: 20px;
    padding-bottom: 20px;
}


#sourceDropNotice-pre {
    display: none;
}


#main-cart .container_message {
    background-color: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-style: normal;
    padding: 12px;
    margin: 24px;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#main-cart .container_message.bottomMessage {
    background-color: transparent;
}

.published-field-title::after {
    content: ': ';
}


/* sign in */

.loginPopup {
    box-sizing: border-box;
    width: 400px;
    padding: 30px 40px 40px 40px;
}

.loginPopup_title {
    text-align: center;
    font-size: 150%;
    font-weight: bold;
    margin-bottom: 30px;
}

.loginPopup LABEL {
    display: none;
}
#loginPopup_password .loginPopup_option_title {
    display: none;
}

.loginPopup_option_title {
    text-align: center;
    margin: 10px 0;
}

.loginPopup_option_field {
    margin: 10px 0;
}

.loginPopup_input, .loginPopup_button {
    box-sizing: border-box;
    width: 100%;
    font-size: 14px;
    padding: 8px;
}

.loginPopup_button {
    cursor: pointer;
}

.loginPopup_separator {
    margin: 30px 0;
    text-align: center;
    color: #aaa;
    height: 1px;
    background: #aaa;
}
.loginPopup_separator::after {
    content: "or";
    padding: 0 0.5em;
    background-color: #fff;
    position: relative;
    top: -0.55em;
}

#checkoutLogin .loginPopup_title {
    display: none;
}
#checkoutLogin .loginPopup {
    margin: 0 auto;
}
.checkoutLogin_message {
    box-sizing: border-box;
    width: 400px;
    padding: 30px 40px 0 40px;
    margin: 0 auto;
}

DIV.customTableList DIV.customTableSearch {
    margin: 20px 0;
}

TABLE.customTableList {
    font-size: 85%;
    background: #fff;
    width: 100%;
}

TABLE.customTableList TH {
    background: #e2e2e2;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.1;
    text-align: left;
    vertical-align: bottom;
    padding: 12px 0 12px 6px;
}
TABLE.customTableList TH:last-child {
    padding-right: 6px;
}

TABLE.customTableList TD {
    line-height: 1.3;
    vertical-align: baseline;
    padding: 6px;
}

TABLE.customTableList TBODY TR.even {
    background: #e2e2e2;
}
