/* FIXED WIDTH CONTENT WITH BACKGROUND IMAGE */
body > #wrap {
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
	background: #ffffff;
}
#footerWrapper {
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
/*
body 
{
	background: url("../media/background.jpg") top right;
	-ms-background-position-x: left;
	-ms-background-position-y: top;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: fixed;
	background-attachment: fixed;
}
*/
/* prevent background image from applying to help popup */
#helptextcontainer {
    background-color: white;
}

.login-logo {
	background-color: #0B0A0F;
}

/* Two-column login page */
.login-panel-split {
	margin-top: 80px;
	margin-bottom: 40px;
}
.login-panel-split .login-logo img {
	max-width: 100%;
}
.login-panel-split .login-welcome {
	color: #ffffff;
	font-size: 15px;
	line-height: 22px;
}
.login-panel-split .login-welcome ul {
	margin: 10px 0 0 20px;
}
.login-panel-split .login-welcome li {
	margin-bottom: 8px;
}
.login-panel-split .login-columns {
	display: flex;
	align-items: center;
}
.login-panel-split .login-columns:before,
.login-panel-split .login-columns:after {
	display: none;
}
.login-panel-split .login-help {
	margin-top: 30px;
	text-align: center;
	color: #ffffff;
	font-size: 15px;
}
.login-panel-split .login-help a {
	color: #5AA0E0;
}
@media (max-width: 979px) {
	.login-panel-split,
	.login-panel-split .row,
	.login-panel-split [class*="span"] {
		float: none;
		width: auto;
		margin-left: 0;
	}
	.login-panel-split {
		margin: 30px 16px;
	}
	.login-panel-split .login-columns {
		display: block;
	}
}

.header .header-title-and-search h3 {
	color: #ffffff;
}

.btn-primary, .btn.button-continue {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    background-color: #2B71B6;
    background-image: -moz-linear-gradient(top, #2B71B6, #15406D);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#2B71B6), to(#15406D));
    background-image: -webkit-linear-gradient(top, #2B71B6, #15406D);
    background-image: -o-linear-gradient(top, #2B71B6, #15406D);
    background-image: linear-gradient(to bottom,#2B71B6,#15406D);
    background-image: -ms-linear-gradient(top, #2B71B6, #15406D);
    background-repeat: repeat-x;
    border-color: #2B71B6 #2B71B6 #184D7B;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2B71B6',endColorstr='#15406D',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled], .btn.button-continue:hover, .btn.button-continue:active, .btn.button-continue.active, .btn.button-continue.disabled, .btn.button-continue[disabled] {
    color: #ffffff;
    background-color: #15406D;
}

a {
	color: #184D7B;
}

.main .cart-summary-information .button-container .btn.button-continue {
	background-color: #15406D;
}


/** START - CUSTOMISATIONS **/

/* Switch background between solid color and image */
/*
body.background-image {
	background: #000000;
}

body.background-image {
	background: url('../media/background.jpg') top right;
}
*/
.header .img-polaroid {
	display: none;
}

/* hide Out Of Stock label icon */
.label-out-of-stock {
	display: none;
}

/* hide category heading when category banner images are used */
.category-header h1 {
	color: transparent;
}

/* increase header logo width */
.span4 { width: 600px; }
.span8 { width: 320px; }

/* Hide Browse Products tab */
#BrowseProductsMenu1 {
	display: none;
}

/* Hide Bulk Add button */
.bulk-add {
	display: none;
}

/** END - CUSTOMISATIONS **/



/** START  - COLOURS **/

/* header strip behind logo */
.header {
	background-color: rgb(11,10,15);  /*first color*/
}

/* top menu bar strip (and inactive menu items) */
.menu-bar {
	background-color: rgb(245,245,245);   /*fifth color*/
}

/* top menu bar - active item */
.navbar .nav>.active>a {
	background-color: rgb(51,51,51);    /*second color*/
}

/* top menu bar - hover over active item */
.navbar .nav>.active>a:hover {
	background-color: rgb(154,157,158);   /*third color*/
}

/* top menu bar - hover over non-active item */
.navbar .nav>li>a:hover {
	background-color: rgb(154,157,158);   /*third color*/
}

/* top menu bar - dropdown open */
.navbar .nav li.dropdown.open>.dropdown-toggle {
	background-color: rgb(51,51,51);    /*second color*/
}

/* top menu bar - dropdown active item */
.navbar .nav li.dropdown.open>.dropdown-toggle, .navbar .nav li.dropdown.active>.dropdown-toggle, .navbar .nav li.dropdown.open.active>.dropdown-toggle {
	background-color: rgb(51,51,51);    /*second color*/
}

/* top menu bar - dropdown list */
.navbar .dropdown-menu {
	background-color: rgb(241,241,241);   /*sixth color*/
}

/* top menu bar - dropdown list - hover over item */
.navbar .dropdown-menu li>a:hover {
	background-color: rgb(154,157,158);   /*third color*/
}

/* category side bar - active item */
.nav-tabs.nav-stacked li.active>a {
	background-color: rgb(51,51,51);    /*second color*/
}

/* category side bar - inactive item */
.nav-tabs.nav-stacked li a {
	background-color: rgb(245,245,245);   /*fifth color*/
}

/* category side bar - hover over active and inactive items */
.nav-tabs.nav-stacked li a:hover {
	background-color: rgb(154,157,158);   /*third color*/
}

/* category side bar - sub categories */
.nav-tabs.nav-stacked .nav-sub {
	background-color: rgb(241,241,241);   /*sixth color*/
}

/* Shopping Cart - Progress Bar - Completed Steps */
.main .cart-progress li.active {
	background-color: rgb(154,157,158);   /*third color*/
}

/** END - COLOURS **/



/** START - EXTRA FIELD LABEL WIDTHS **/


/* Fit custom field labels - auto width - not aligned */
/*
.main .product-display .product-description .dl-horizontal dt,
.main .product-page-header .dl-large dt,
.dl-horizontal dt
{
    width: auto;
    padding-right: 5px;
}
*/

/* Fit custom field labels - custom width */
.main .product-display .product-description .dl-horizontal dt,
.main .product-page-header .dl-large dt,
.dl-horizontal dt
{
    width: 8em;
    padding-right: 5px;
}


/* Use auto-width for 'Code' field on product details page */
.main .product-page-header .dl-large dt:first-child
{
    width: auto;
    padding-right: 5px;
}



/** END - EXTRA FIELD LABEL WIDTHS **/



/** START - SEARCH AND ADVANCED SEARCH AREA **/

.well .dl-horizontal dt {
   width: 100px;
   padding-right: 0px;
}

.header .header-advanced-search .btn-advanced-search,
.header .header-advanced-search .open .btn-advanced-search,
.header .header-advanced-search .btn-advanced-search:hover,
.header .header-advanced-search .open .btn-advanced-search:hover {
    background-color: transparent;
    border: 1px solid rgb(255, 255, 255);
    color: rgb(255, 255, 255);
}
    .header .header-advanced-search .btn-advanced-search .caret,
    .header .header-advanced-search .open .btn-advanced-search .caret {
        border-top-color: rgb(255, 255, 255);
        border-bottom-color: rgb(255, 255, 255);
    }
.header .header-search .input-append input {
    color: rgb(51, 51, 51);
}
    .header .header-search .input-append input::-webkit-input-placeholder { /* WebKit, Blink, Edge */
        color: rgb(51, 51, 51);
    }
    .header .header-search .input-append input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
       color: rgb(51, 51, 51);
       opacity: 1;
    }
    .header .header-search .input-append input::-moz-placeholder { /* Mozilla Firefox 19+ */
       color: rgb(51, 51, 51);
       opacity: 1;
    }
    .header .header-search .input-append input:-ms-input-placeholder { /* Internet Explorer 10-11 */
       color: rgb(51, 51, 51);
    }
.header .header-search .input-append input,
.header .header-search .input-append .btn-simple-search
{
    background-color: rgb(217,217,217);
}

/* Header layout: logo narrower, right-hand area holds the reward bar, wallet and search box */
.header .span4 { width: 280px; }
.header .span8 { width: 640px; }

.header .header-items {
    height: 120px;  /* logo height, so the top row lines up with the logo's middle */
    right: 0;
}
    .header .header-items .header-items-top {
        vertical-align: middle;
    }

/* Reward progress bar + wallet sit centred in the gap between the logo and the search box */
.header .header-items {
    width: 100%;
}
.header .header-items-top-row {
    width: 678px;  /* .span8 width (640px) + 40px, extending left to the logo's right edge */
    max-width: none;  /* bootstrap caps tables at 100% */
    margin-left: -40px;
}
    .header .header-items-top-row > tbody > tr > td {
        vertical-align: middle;
    }
    /* loyalty cell (only present when the progress bar is shown) */
    .header .header-items-top-row > tbody > tr > td:first-child:not(:last-child) {
        text-align: center;
    }
    /* search cell: shrink to fit and stay on the right */
    .header .header-items-top-row > tbody > tr > td:last-child {
        width: 1%;
        text-align: right;
    }
    .header .header-items-top-row .header-loyalty-points {
        display: inline-block;
        margin-top: 0;
        text-align: left;
        position: relative;
        top: 14px;  /* align the progress bar's vertical centre with the search box's */
    }
    .header .header-items-top-row .header-loyalty-points .header-loyalty-points-inner {
        margin-left: 0;
    }

/* Rounded progress bar, matching the search box (6px). The track is a table cell, and
   border-radius is ignored on cells while bootstrap's border-collapse: collapse applies. */
.header .header-loyalty-points .header-loyalty-points-inner table {
    border-collapse: separate;
    border-spacing: 0;
}
    .header .header-loyalty-points .header-loyalty-points--progress {
        border-radius: 6px;
    }
        .header .header-loyalty-points .header-loyalty-points--progress .header-loyalty-points--progress-bar {
            border-radius: 3px;  /* inner radius: track radius less its ~4px padding */
        }
    /* hide the "0" minimum left of the bar, and the blank spacer cell beneath it */
    .header .header-loyalty-points .header-loyalty-points--min,
    .header .header-loyalty-points .header-loyalty-points-inner table tr:last-child > td:first-child:not(.header-loyalty-points--description) {
        display: none;
    }
    /* space between the max points ("2000") and the wallet */
    .header .header-loyalty-points .header-loyalty-points--wallet {
        padding-left: 12px;
    }

/* Inline vehicle selector (replaces the Product Finder popup): its own row below the logo, centred */
.header .header-vehicle-selector-row {
    padding: 4px 0 12px 0;
}
.header .header-vehicle-selector form {
    margin: 0;
}
.header .header-vehicle-selector .vehicle-selector {
    margin: 0 auto;
}
    .header .header-vehicle-selector .vehicle-selector td {
        vertical-align: middle;
        padding-left: 4px;
    }
    .header .header-vehicle-selector .vehicle-selector--label {
        color: rgb(255, 255, 255);
        font-family: AvenirLTStd-Heavy;
        font-size: 14px;
        white-space: nowrap;
    }
    .header .header-vehicle-selector .selectboxit-container .selectboxit,
    .header .header-vehicle-selector select {
        width: 150px !important;
    }
    /* Keep long values (e.g. "03/2011-12/2015") beside the arrow; otherwise the floated
       text drops below it and the box looks blank. Overflow is truncated with an ellipsis. */
    .header .header-vehicle-selector .selectboxit-container .selectboxit-text {
        max-width: calc(100% - 35px) !important;
    }
    .header .header-vehicle-selector .btn.search,
    .header .header-vehicle-selector .btn.reset {
        background-color: transparent;
        background-image: none;
        border: 1px solid rgb(255, 255, 255);
        color: rgb(255, 255, 255);
        font-family: AvenirLTStd-Heavy;
        text-shadow: none;
        height: 30px;
        min-width: 0;  /* site.css sets min-width: 130px on .span12 buttons on the orders/details pages */
    }
    .header .header-vehicle-selector .btn.search {
        width: 96px;
    }
    /* square reset button, same height as Search */
    .header .header-vehicle-selector .btn.reset {
        width: 30px;
        padding-left: 0;
        padding-right: 0;
    }

/** END - SEARCH AND ADVANCED SEARCH AREA **/