/***** BODY *****/
body {font-size: 12px; background: #ccc; margin-bottom: 0px;}
.btn-primary {background-color: #2C445B;}
a {color: #2C445B;}
.btn {font-size: 15px; padding: 5px 10px;}

/***** HEADER *****/
header {margin-top: 0px; padding-bottom: 10px; width: 970px; background: #fff; margin: 0 auto;}
header .container {margin-top: 0px; padding-top: 10px; background: #fff;}
.header-basket {margin-top: 10px;}
.header-basket a {color: #2C445B; line-height: 33px; font-size: 15px;}
.navbar-myaccount {margin-right: 0px; margin-top: 0px; margin-bottom: 0px; padding: 0px; color: inherit; float: none;}
.navbar-myaccount i {color: #2C445B;}
.yamm {margin-top: 0px;}
.navbar-default {background-color: #fff; border-color: #fff; margin-right: -15px;}
.header-basket-text {float: right;}
.toplinks-bar li {float: right; margin-left: 10px; line-height: 25px;}
.toplinks-bar li a {color: #666;}
#SearchResults {left: 0; border: 1px solid; border-color: #ccc!important; border-top: 0px; text-align: left;}
#SearchResults a {line-height: 25px;}
.yamm .nav-heading a {padding-left: 0px!important; line-height: 20px!important; color: #2C445B; background: none!important;}
.yamm .level3 a {padding-left: 0px!important; line-height: 20px!important; color: #444; background: none!important;}
.navbar .level1 { width: 148px; margin-right: 10px; text-align: center;}
.navbar .level1 a {padding: 0px; line-height: 45px; background: url(../images/topnav-li-bg.png) no-repeat top left; padding-left: 6px;}
.navbar .level1 a span {background: url(../images/topnav-li-bg.png) no-repeat top right; display: block; white-space: nowrap; color: darkgray;}
.navbar .level1 a span:hover {background-position: right -59px; color: #fff;}
.navbar .level1 a:hover {background-position: 0 -59px;}
.navbar-default .navbar-nav > li > a {color: #fff;}
.yamm .level1:last-child {margin-right: 0px;}
.navbar-nav > li {float: left!important;}
.toplinks-bar {clear: both;}
.navbar-logout {margin-top: 0px; margin-bottom: 0px;}
.header-search {width: 100%;}
.input-group .form-control[name="searchterm"] {width: 75%; float: right;}

/***** CONTENT *****/
.main {padding: 0px;}
.page-home .main-content {
    float: left!important;
    padding-right: 0px;
}
.container {background: #fff; width:970px!important;}
.main-heading {color: #2C445B;}
.home-sections {margin-top: 10px;}
.home-section {display: block; width: 305px; float: left; background: url(../images/section-bg.jpg) repeat-x top left;}
.home-section .section-container {margin: 10px;}
.home-section .section-container a {padding: 10px; background-color: #2C445B; color: #fff; line-height: 32px;}
.home-section .section-container a:hover {background: #01639E; text-decoration: none;}
.home-section .section-container img {width: 285px;}
.middle-section {margin: 0px 12px;}
.home-section h3 {margin-top: 0px; font-size: 18px; color: #2C445B;}
.home-category-list-item {display: block; width: 148px; float: left; margin-right: 10px; height: 200px; background: #2C445B; padding: 10px; text-align: center;}
.home-category-list-item:hover {background: #01639E;}
.home-category-list-item:last-child {margin-right: 0px;}
.home-category-list-item a {color: #fff; font-weight: bold;}
.home-category-list-item h5 {color: #fff; font-weight: bold;}
.home-category-list-item img {}
.price-label {text-align: center;}
.plist-item .caption h4 {height: 110px;}
.thumbnail {height: 400px;}
.inner-box {height: 380px;}


/***** FOOTER *****/
footer {position: relative; clear: both; width: 970px; background: #fff; height: auto; padding-top: 0px; padding-left: 10px; padding-right: 10px; margin: 0 auto;}
#footer {padding-top: 20px; padding-bottom: 30px; border-top: 5px solid #2C445B; background: none; width: 940px!important;}
.footer-left {display: block; float: left; width: 67%;margin: 60px 0px 0px 0px;}
.footer-middle {display: block; float: left; width: 55%; text-align: right;}
.footer-right {display: block; float: right; width: 35%; text-align: right;}

.page-delivery #leftsidebar,
.page-terms #leftsidebar,
.page-contact_us #leftsidebar,
.catalogue-quote-request #leftsidebar,
.page-privacy_policy #leftsidebar,
.page-subject_access_request_form #leftsidebar { display: none; }

.page-delivery .main-content,
.page-terms .main-content,
.page-contact_us .main-content,
.catalogue-quote-request .main-content,
.page-privacy_policy .main-content,
.page-subject_access_request_form .main-content { float: none !important; width: 693px; margin: 0 auto; }

/*.footer-more {*/
/*    display: block;*/
/*    float: left;*/
/*    margin: -163px 0px 0px 0px;*/
/*}*/
ul, ol {
    list-style: none;
}
#searchform{
    float: right;
}
/*Home Catalogues Index Page*/
.catalogues {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.catalogues > h3 {
    width: 100%;
    text-align: center;
    background-color: #2C445B;
    color: #fff;
    padding: 5px 0 5px 0;
}

.catalogue-links {
    display: flex;
}


/*Fengate Footer Bottom Formatting*/

.fbb-hr {
    height: 3px;
    background-color: #2C445B;
    margin-bottom: 10px;
}

/** UPPER FOOTER **/
.fengate-topper-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.fengate-topper-bottom > div:not(:last-child) {
    margin-bottom: 10px;
}

.fengate-topper-bottom span a {
    font-weight: 600;
}

/** LOWER FOOTER **/
.fengate-footer-bottom {
    display: flex;
    justify-content: flex-end;
    align-content: center;
}

.fengate-footer-bottom > div {
    width: 30%;
    height: 16rem;
}

.ffb-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ffb-right > div {
    width: 100%;
}

.ffb-cards {
    display: flex;
    justify-content: center;
    align-content: center;
}

.ffb-cards > img {
    height: 50px;
}

.ffb-logos {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.ffb-logos > img {
    height: 40px;
}

.ffb-iso {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ffb-iso > img {
    height: 80px;
}

/*Product Group Page*/
.category-box .cat-caption h2 {
    text-align: center;
}

/*Navbar collapse override*/
.navbar-collapse.collapse {
    display: block !important;
}
