/* --- EMERGENCY OVERFLOW FIX --- */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Force the search box to be flexible on phones */
@media (max-width: 767px) {
    #searchBox,
    .site-header .container .row .useraccount-wrapper #searchBox {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .container, .row {
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
/*
** Bootstrap over-rides
*/

html, body {
    height: 100%;
}
body {
    display: flex;
    height: 100%;
    flex-direction: column;
}
#skip a
{
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}
#skip a:focus
{
    position:static;
    width:auto;
    height:auto;
}
.page-content {
    flex: 1 0 auto;
}
footer {
    flex-shrink: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #000;
    line-height: 1.3;
    font-size: 16px;
}
h1 {
    font-size: 30px;
}

.titles {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
}

.subcategories {
    border-bottom: 1px solid #ececec;
    padding: 0 0 30px;
}
.subcategories > ul > li > a {
    color: #000;
    text-decoration: none;
    display: block;
    -webkit-transition: all .25s ease-out;
    transition: all .25s ease-out;
}
.subcategories > ul > li > a:hover {
    opacity: 0.8;
}
.subcategories > ul > li span.name {
    color: #000;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}



@media (min-width: 1200px) {
    .container {
        width: 1200px;
    }
}
.form-control {
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    height: 36px;
    padding: 7px 12px;
}
.form-control.search-text {
    border:1px solid #ececec;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn {
    font-size: 13px;
    padding: 8px 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.btn-default,
.btn-primary:focus,
.btn-primary:active:focus {
    border-color: #7b7065;
    background-color: #fff;
    color: #7b7065;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:hover:focus,
.btn-default.focus {
    color: #fff;
    background-color: #7b7065;
    border-color: #7b7065;
}
.btn-default.btn-inverse,
.btn-primary {
    color: #fff;
    background-color: #7b7065;
    border-color: #7b7065;
}
.btn-default.btn-inverse:hover,
.btn-primary:hover {
    color: #fff;
    background-color: #7b7065;
    border-color: #7b7065;
    opacity: 0.8;
}
.navbar {
    min-height: 0;
}
section.navbar-wrapper {
    background-color: #135193;color: #fff;
}
section.navbar-wrapper.affix {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
}
.navbar.navbar-inverse {
    margin-bottom: 0;
    border: none;
    background-color: #135193;
}
.navbar-inverse .navbar-nav > li > a {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 1;
    min-height: 0;
}
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
    color: #fff;
    background-color: #0098DA;
}
.dropdown-menu > li > a {
    font-size: 12px;
    padding: 6px 20px;
    text-transform: uppercase;
}
.dropdown-menu {
    background-color: #0098DA;
    border: none;
    padding: 0;
}
.dropdown-menu > li > a {
    color: #fff;
    padding: 10px 15px;
}
.dropdown-menu > li > a:hover {
    color: #fff;
    background-color: #135193;
}
.navbar-nav > li.dropdown > a:after {
    content: "\f107";
    font-family: "fontello";
    font-size: 13px;
    line-height: 1;
    margin-left: 5px;
}
@media (max-width: 1023px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
    }
    .navbar-nav>li {
        float: none;
    }
    .collapse.in{
        display:block !important;
    }
    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #9d9d9d;
    }
    .navbar-nav .open .dropdown-menu > li > a {
        line-height: 20px;
    }
    .navbar-nav .open .dropdown-menu > li > a, .navbar-nav .open .dropdown-menu .dropdown-header {
        padding: 5px 15px 5px 25px;
    }
}
/*
** Template code
*/
.logo {
    height: 70px;
    position: relative;
    overflow: hidden;
}
.logo img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}
.logo a:hover img {
    opacity: 0.6;
}
.top-nav {
    border-bottom: 1px solid #ececec;
}
.top-nav ul {
    padding: 15px 0;
    margin: 0;
    list-style: none;
    font-size: 12px;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-align: right;
}
.top-nav ul li {
    margin-left: 10px;
    padding-left: 10px;
    display: inline-block;
    border-left: 1px solid #000;
}
.top-nav ul li:first-child {
    border: none;
    margin: 0;
    padding: 0;
}
.top-nav ul li a {
    color: #000;
}

.useraccount {
    text-align: right;
    font-size: 12px;
    margin: 0 0 12px;
}
.useraccount > ul {
    margin: 0;
}
.useraccount > ul > li {
    margin-left: 10px;
    padding-left: 10px;
    display: inline-block;
    border-left: 1px solid #000;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
}
.useraccount > ul > li:first-child {
    border: none;
    margin: 0;
    padding: 0;
}
.useraccount > ul > li > a {
    color: #000;
}
.useraccount > ul > li i {
    color: #7b7065;
    font-size: 16px;
    vertical-align: middle;
}

.minicart {
    margin: 0 0 12px;
}
a.minicart-inner-top {
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}
a.minicart-inner-top i {
    color: #7b7065;
    font-size: 16px;
    vertical-align: middle;
}

.site-header {
    padding: 10px 0 20px;
}

.searchBox {
    padding: 0;
    max-width: 305px;
    float: right;
    position: relative;
}
.searchBox div.searchlight-balloon {
    padding: 0;
}
.search-form {
    position: relative;
}
.search-form .search-text {
    padding: 0 62px 0 12px;
    height: 36px;
    margin: 0;
}
.search-form .search-submit {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    text-align: center;
    font-size: 22px;
    padding: 0;
    border: none;
    background: none;
    color: #7b7065;
}


.minicart {
    text-align: right;
}
.minicart-inner {
    display: block;
    color: #000;
    text-transform: uppercase;
    cursor: pointer;
}
.minicart-inner:hover {
    color: #000;
    opacity: 0.8;
}

.minicart .cart-details {
    display: block;
    float: left;
}



.site-footer {
    background-color: #141414;
    padding: 55px 0 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}
div#FRAME_LINKS {
    max-width: 560px;
}
ul.extrapages li {
    line-height: 1;
    margin: 0 0 15px;
}
ul.extrapages li a {
    color: #959595;
    font-size: 14px;
}
.footer-devider {
    border-top: 1px solid #3c3c3c;
    margin-top: 50px;
    margin-bottom: 20px;
}
.copyright {
    padding-bottom: 20px;
    color: #959595;
    font-size: 12px;
}
.copyright > p {
    margin: 0;
}

.mailist-box {
    width: 350px;
    float: right;
    margin-bottom: 10px;
}
.mailist-box h3,
.social_icons h3 {
    margin: 0 0 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
}
.mailinglist-input.form-control {
    background-color: transparent;
    border-color: #2d2d2d;
    max-width: 265px;
    color: #fff;
    float: left;
}
.mailinglist-submit {
    background-color: #135193;
    color: #fff !important;
    float: right;
    width: 78px;
    border: 1px solid white !important;
}
.btn-default.mailinglist-submit:hover,
.btn-default.mailinglist-submit:focus {
    background-color: #0098DA;
}
.mailinglist-response {
    display: none;
}
.maillist-options {
    margin: 15px 0 0;
}
.subscribe {
    float: left;
    margin-right: 20px;
    line-height: 13px;
}
.subscribe input[type="radio"] {
    margin: 0;
    vertical-align: middle;
}
.subscribe label {
    margin: 0;
    font-size: 12px;
    line-height: 13px;
    font-weight: 300;
    margin-left: 3px;
    color: #ccc;
    cursor: pointer;
}

.social_icons {
    width: 350px;
    float: right;
    margin: 0 0 20px;
}
.social_icons h3 {
}
.footer-social ul {
    margin: 0;
}
ul.payment-icons {
    margin: 10px 0 0;
}
ul.payment-icons li {
    font-size: 34px;
    line-height: 36px;
    vertical-align: middle;
    padding: 0;
    margin-right: 5px;
}

ul.payment-icons li.payment-icons-label,
ul.social-icons li.social-icons-label {
    font-size: 18px;
    vertical-align: middle;
    /*font-family: 'Montserrat', sans-serif;*/
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    margin-right: 20px;
}
ul.payment-icons li span:before {
    margin: 0;
    width: auto;
}
.social-icons {
}
.social-icons li a {
    color: #141414;
    background-color: #135193;
    width: 26px;
    height: 26px;
    line-height: 26px;
    border-radius: 6px;
    display: block;
    text-align: center;
    font-size: 18px;
}
.social-icons li a:hover {
    background-color: #0098DA;
}


/*.product-item .reviews-stars:before {
    font-family: "fontello";
    content: "\e803 \e803 \e803 \e803 \e803";
    color: #b8b8b8;
}
.product-item .reviews-stars {
    color: #000;
}*/

.reviews-stars:before {
    font-family: "fontello";
    content: "\e803 \e803 \e803 \e803 \e803";
    color: #b8b8b8;
}
.rating:hover .rating-star:hover,
.rating:hover .rating-star:hover ~ .rating-star,
.rating-input:checked ~ .rating-star,
.reviews-stars {
    color: #7b7065;
}

.product-item .name a {
    color: #000;
}
.product-item del.regular-price {
    text-decoration: line-through;
}
.product-item .on-sale-badge{background-color: #8E2538;}
.sale-price {
    color: #d04b64;
}
del.original-price {
    font-weight: 500;
}
span.freeshipping {
    color: #00a888;
}
.product-item .status span:before {
    content: "-";
}
.product-item .status {
    font-size: 12px;
}
.product-item .price {
    font-size: 16px;
    font-weight: bold;
}
.product-item .img {
    min-height: 220px;
    position: relative;
    border: 1px solid #ececec;
    background-color: #fff;
}
.product-item .img a {
    display: block;
}
.product-item .img img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
}
.product-item .action .btn {
    min-width: 150px;
}
.head-mobile-nav > a {
    color: #000;
    font-size: 24px;
    line-height: 1;
}

.extrapages-shower a {
    display: block;
    background-color: #2d2d2d;
    color: #fff;
    padding: 10px 18px;
    text-decoration: none !important;
}
.extrapages-shower a:after {
    content: "\f106";
    font-family: "fontello";
    float: right;
}
.extrapages-shower a.collapsed:after {
    content: "\f107";
}
@media(max-width: 991px) {
    .navbar-inverse .navbar-nav > li > a {
        font-size: 14px;
        min-height: 0;
    }
    .navbar-nav > li.dropdown > a:after {
        float: right;
    }
    .mailist-box {
        float: none;
        padding: 30px 0;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    .footer-social {
        text-align: center;
    }
    .social_icons {
        float: none;
        margin: 20px auto;
    }
}
@media(max-width: 767px) {
    .logo {
        text-align: center;
        height: auto;
    }
    .logo img {
        position: static;
    }
    .useraccount-wrapper {
        clear: both;
    }
    .flex-direction-nav a:before {
        font-size: 24px;
    }
    .flex-direction-nav a {
        width: 24px;
        height: 24px;
        line-height: 24px;
        margin: -12px 0 0;
    }
    .mailinglist-input.form-control {
        width: 200px;
        width: calc(100% - 90px);
    }
    .social-icons li a {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 12px;
    }
    .footer-social ul li {
        padding: 0 4px;
    }
    .extrapages {
        display: none;
    }
    .home-page-content .category-header {
        padding: 15px 0;
    }
    .extrapages-shower a {
        display: block;
    }
    ul.extrapages {
        margin: 0;
        padding: 15px 0;
    }
    ul.extrapages li a {
        font-size: 14px;
    }
}
@media(max-width: 567px) {
    .product-items.product-items-1 .product-item,
    .product-items.product-items-2 .product-item,
    .product-items.product-items-3 .product-item,
    .product-items.product-items-4 .product-item,
    .product-items.product-items-5 .product-item,
    .product-items.product-items-6 .product-item {
        max-width: 270px;
    }
}

.menu-open {
    overflow: hidden;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    background-color: rgba(0,0,0,0.5);
}
.menu-open .mobile-menu {
    overflow-x: hidden;
    overflow-y: auto;
}
.mobile-menu-inner {
    background-color: #fff;
    padding: 30px 20px;
    width: 250px;
    margin-left: auto;
    margin-right: 0;
    min-height: 100vh;
    position: relative;

    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition: -o-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: translate(250px,0);
    -ms-transform: translate(250px,0);
    -o-transform: translate(250px,0);
    transform: translate(250px,0);
}
.menu-open .mobile-menu-inner {
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
}

.mobile-menu-close a {
    color: #000;
    display: inline-block;
    line-height: 1;
    font-size: 24px;
    text-decoration: none;
}
.mobile-menu-close a:after {
    content: '\e805';
    font-family: "fontello";
}
.mobile-menu-widget {
    margin: 30px 0;
}
.mobile-menu-widget h3 {
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 10px;
    line-height: 1;
    border-bottom: 1px solid #ececec;
}
.mobile-menu-widget ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.mobile-menu-widget ul li {
    margin: 0 0 10px;
}
.mobile-menu-widget ul li a {
    padding: 0;
    line-height: 1;
    font-size: 13px;
    background-color: transparent !important;
    display: block;
    color: #555;
    text-decoration: none !important;
}
.mobile-menu-widget ul li a:hover {
    color: #333;
}
.mobile-menu-widget ul ul {
    display: none !important;
}
.mobile-menu-widget ul li a:after {
    display: none;
}

.mailinglist-response {
    margin: 10px 0;
    padding: 10px 20px;
    font-size: 12px;
    background-color: #2d2d2d;
    color: #ccc;
}
.mailinglist-error span {
    color: #8a6d3b;
}
.mailinglist-subscribed span,
.mailinglist-unsubscribed span {
    color: #3c763d;
}
.mailinglist-response,
.mailinglist-response div {
}

.floating-cart {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 999;
    background-color: #101010;
    color: #fff;
    border-radius: 20px 0 0 20px;
    padding: 15px;
    text-align: center;
    width: 90px;
    display: none;
}
.floating-cart a,
.floating-cart a:hover {
    color: #ececec;
    text-decoration: none;
}
.floating-cart a:hover {
    opacity: 0.6;
}
.floating-cart span.cart-icon {
    display: block;
    font-size: 30px;
    line-height: 1;
}
.floating-cart span.cart-details {
    font-size: 12px;
    text-transform: none;
    display: block;
    margin: 5px 0 0;
}

.paging {
    float: right;
}
.paging strong,
.paging a {}
.paging strong,
.paging a:hover {
    color: #fff;
    background-color: #0f0f0f;
    text-decoration: none;
}

/*
    Homepage Styles
*/
.home-page-content {
    padding-bottom: 0;
}
.home-page-content .products-section {
    padding: 15px 0;
}
.home-page-content .products-section .product-item .img {
    min-height: 212px;
    position: relative;
    border: none;
    background-color: transparent;
}
.home-page-content .products-section .product-items .product-item {
    margin-bottom: 35px;
}
.home-page-content .products-section h2,.home-page-content .products-section h1 {
    margin: 0;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0 0 45px;
}
/*.home-page-content .category-footer {
    padding: 40px 0 60px;
}*/
.home-page-content .category-footer h3 {
    font-size: 20px;
    line-height: 1;
    margin: 0 0 20px;
    font-weight: bold;
}
.home-page-content .category-footer p {
    margin: 0 0 30px;
    text-align: justify;
}
.home-page-content .category-footer a:hover img {
    opacity: 0.7;
}
.home-page-content .category-header img {
    margin: 0 auto;
}
#hp-slides > li {
    background-position: center;
    background-repeat: no-repeat;
    /*background-attachment: fixed;*/
    background-size: cover;
}
.hp-slider-text-outer {
    display: table;
    height: 650px;
}
.hp-slider-text {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.hp-slider-text h3 {
    font-size: 72px;
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.15;
}
.hp-slider-text h3 > span {
    display: block;
    font-weight: 500;
}
.hp-slider-text p {
    margin: 25px auto;
}
.hp-slider-img {
    height: 650px;
    position: relative;
}
.hp-slider-img img {
    max-height: 650px;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.hp-slider-cta a {
    min-width: 150px;
}

.home-category-header {
    padding: 30px 0;
}
.homepage-category > a {
    display: block;
}
.homepage-category > a:hover {
    opacity: 0.7;
}
.hp-full-banner {
    background-position: top right;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-color: #135195;
}
.hp-full-banner-text {
    color: #fff;
    text-align: center;
    width: 60%;
    padding: 100px 0;
}
.hp-full-banner-text h2 {
    font-size: 60px;
    margin: 0 0 30px;
    line-height: 1.15;
    text-transform: uppercase;
    font-weight: bold;
}
.hp-full-banner-text h2 span {
    font-weight: normal;
    display: block;
}
.hp-full-banner-cta a {
    color: #fff !important;
    border: 2px solid #fff;
    min-width: 160px;
}
.hp-full-banner-cta a:hover {
    background-color: #0098DA;
}
.hp-brands-slider {
    padding: 10px 0;
}
.hp-brands-slider h2 {
    font-size: 18px;
    margin: 0 0 40px;
    text-transform: uppercase;
    font-weight: bold;
}
.hp-brands-flexslider {
    padding: 0 50px;
}
.hp-brands-flexslider .slides > li > a {
    display: block;
    height: 40px;
    position: relative;
}
.hp-brands-flexslider .slides > li > a > img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    max-width: 90%;
    max-height: 100%;
}
.hp-brands-flexslider .flex-direction-nav .flex-prev {
    left: 0 !important;
    opacity: 1;
}
.hp-brands-flexslider .flex-direction-nav .flex-next {
    right: 0 !important;
    opacity: 1;
}
.SnapWidget iframe {
    display: block;
}
.revealOnScroll {
    opacity: 0;
}
.product-items {
    overflow: hidden;
}
@media(max-width: 991px) {
    .hp-slider-text-outer,
    .hp-slider-text {
        display: block;
        height: auto;
    }
    .hp-slider-text {
        padding: 30px;
    }
    .hp-slider-text h3 {
        font-size: 48px;
    }
    .hp-full-banner {
        background-image: none !important;
    }
    .hp-full-banner-text {
        width: 100%;
        padding: 50px 0;
    }
    .hp-full-banner-text h2 {
        font-size: 42px;
    }
    .home-category-header > .container{
        overflow-x:hidden;
    }
}
@media(max-width: 767px) {
    .hp-slider-text h3 {
        font-size: 36px;
    }
    .home-category-header {
        padding: 15px 0;
    }
    .homepage-category {
        padding-top: 7.5px;
        padding-bottom: 7.5px;
        text-align: center;
    }
    .homepage-category > a {
        display: inline-block;
    }
}
/*
** Custom CSS
*/

.home-page-content .products-section
{
    background-color: #eee;
    padding: 25px 0;
}
.home-page-content .products-section h2, .home-page-content .products-section h1 {
    text-align: center;
}
.home-page-content .products-section .product-item .img
{
    background-color: #fff;
    border: 4px solid #fff;
    height: 212px;
    position: relative;
    width: 100%;
}
.home-page-content .products-section .product-item .img .inner-img
{
    border: 2px solid #ccc;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}
.home-page-content .products-section .product-item a
{
    background-color: #fff;
}
.home-page-content .products-section .product-item .name a
{
    background-color: transparent;
}
.home-page-content .products-section .product-item .img:hover {
    border: 4px solid #ccc;
    box-shadow: 0 0 2px #ccc;
}
.site-header .container .row {
    display: flex;
}
.site-header .container .row .col-sm-3{
    flex: 0 0 25%;
}
.site-header .container .row .useraccount-wrapper{
    flex: 0 0 75%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
/* CLEANED CODE */
@media (min-width: 768px) {
    .site-header .container .row .useraccount-wrapper #searchBox {
        min-width: 450px;
    }
}
.extrapages-shower{
    margin-bottom: 10px;
}
.product-details-logo-image {
    max-width: 200px;
    max-height: 70px;
    margin-bottom: 15px;
}
.addl-images ul.slides li{
    box-sizing: border-box;
}
.addl-images ul.slides li a img{
    box-sizing: border-box;
    padding: 0;
    border: none;
}
.addl-images ul.slides li a{
    border: 1px solid #e1e1e1;
    box-sizing: border-box;
}
.addl-images ul.slides li a:hover{
}
#large{
    max-height: 475px !important;
}
#listing_main_image_link > figure > img{
    max-height: 475px !important;
}
.listing-page {
    background: #eee;
}
figure.mz-figure {
    border: 1px solid #e1e1e1;
}
/*
	rTabs
*/
#rTabs .r-tabs-panel h1 span{
    color: #04293a !important;
}
#rTabs .r-tabs-panel h2 span{
    color: #04293a !important;
}
#rTabs .r-tabs-panel h3 span{
    color: #04293a !important;
}
.r-tabs-nav{
    margin: 0;
    list-style-type: none;
    background-color: #fff;
    position: relative;
    padding-left: 0;
}
.listing-page #rTabs li {
    font-size: 16px;
}
.listing-page #rTabs .r-tabs-nav li:first-child {
    padding-left: 0;
}
.rTabs .r-tabs-nav li {
    width: 100%;
    position: relative;
    text-align: center;
    margin: 0;
    padding: 0;
    float: left;
    display: inline-block;
    font-size: 16px;
    color: #444;
    font-family: calibre regular,helvetica neue,Helvetica,Arial,sans-serif;
}

@media screen and (min-width: 750px){
    .rTabs .r-tabs-nav li {
        width: 16.66666666667%;
        padding: 0 2px;
        font-size: 11px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
}

.rTabs .r-tabs-nav .r-tabs-state-active, .rTabs .r-tabs-nav li a:hover {
    background-color: #393939 !important;
    color: #fff !important;
    border: 0 !important;
}

@media screen and (min-width: 1100px){
    .rTabs .r-tabs-nav li a {
        font-size: 14px;
    }
}
@media screen and (min-width: 750px){
    .rTabs .r-tabs-nav li a {
        font-size: 11px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
}
@media screen and (min-width: 750px){
    .rTabs .r-tabs-nav li {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
}
.rTabs .r-tabs-nav li a {
    background-color: #e1e1e1 !important;
    width: 100%;
    display: block !important;
    padding: 15px 0 9px !important;
    color: #8d8d8d !important;
    text-transform: uppercase;
    text-decoration: none !important;
    letter-spacing: .5px;
    font-size: 14px;
    font-family: calibre medium,helvetica neue,Helvetica,Arial,sans-serif;
    font-weight: 400 !important;
}
.r-tabs .r-tabs-nav .r-tabs-state-active .r-tabs-anchor {
    border-top: 0 !important;
}
.listing-page{
    background: #eee;
}
.rTabs .r-tabs-nav .r-tabs-state-active a {
    background: #393939 !important;
    margin-bottom: 0 !important;
    font-weight: bold;
    color: white !important;
}
.category-page{
    background-color: #eee;
}
.subcategories > ul > li > a {
    /*border: 4px solid #fff;*/
}
.subcategories > ul > li > a:hover {
    /*background-color: #fff;*/
    /*border: 2px solid #ccc;*/
}
@font-face {
    font-family: Calibre Bold;
    src: url(Calibre-Bold.woff);
}
@font-face {
    font-family: Calibre Regular;
    src: url(Calibre-Regular.woff);
}
@font-face {
    font-family: Calibre Medium;
    src: url(Calibre-Medium.woff);
}
.clear{
    clear:both;
}
.embed_pdf_container {
    margin: 0 auto;
    width: 70%;
    max-width: 70%;
}
.breadcrumnb{
    margin: 40px 0;
}
.likebutton {
    margin-top: 0;
}
#category .category-header table{
    margin-left: 20px !important;
    margin-top: 20px !important;
    width: calc(100% - 20px) !important;
    display: block !important;
}
.category-header{
    background-color: white;
    border-top: 1px solid transparent;
}
.category_hide{
    display: none;
}
.product-items .product-item{
    margin-bottom: 30px;
}
#category .category-products .inner-img img:hover{
    opacity: 0.8;
}
.addl-images .flexslider {
    padding: 0 36px;
}
#listing .relatedBlock .product-item .img{
    background-color: #ececec;
}
#listing .relatedBlock .product-item:hover{
    opacity: 0.8;
}
/* Styling for the new mobile search row */
.mobile-search-row {
    margin-top: 10px; /* Space between logo row and search bar */
    margin-bottom: 10px;
    border-top: 1px solid #ddd; /* Optional separator line */
}

/* Ensure the input group displays correctly on all mobiles */
.mobile-search-wrapper .input-group {
    width: 100%;
}
.mobile-search-wrapper{
    background-color: white !important;
}
/* --- Mobile Fix: Horizontal Scrolling for Tables in Tab-1 --- */
@media (max-width: 768px) {
    .site-header {
        padding-bottom: 0px;
    }
    /* Target the content area of Tab-1 */
    #tab-1 {
        /* Ensure the container doesn't try to stretch wide */
        width: 100%;
        box-sizing: border-box;

        /* Apply the scroll behavior to the content holder */
        overflow-x: auto; /* Shows horizontal scrollbar only when content overflows */
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch; /* Better scrolling on iOS */
    }

    /* Optional: If the parent container has padding, you might need to adjust or remove it
       to give the scrolling table maximum space. */
    /* #tab-1 .info {
        padding: 0;
    } */

    /* Ensure the table itself can be wider than the viewport if needed */
    #tab-1 table {
        /* Set a reasonable minimum width so the table doesn't collapse too much */
        min-width: 400px;
        /* Allows the table to stretch beyond the viewport width if it has wide content */
        width: auto;
    }
}
/* 1. Target a container that holds user-generated content (e.g., the main content div) */
/* Replace .main-content-area with the actual class/ID of your site's main body container */
.category-footer iframe
{
    /* Apply base sizing and aspect ratio to all direct iframes */
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;

    /* Fallback for older browsers (to prevent massive fixed height) */
    min-height: 200px;
}

/* 2. Target YouTube iframes specifically (by checking the source URL) */
iframe[src*="youtube.com/embed"],
iframe[src*="youtu.be"] {
    /* This modern CSS property is the cleanest way to enforce aspect ratio */
    aspect-ratio: 16 / 9;

    /* Ensure old fixed height attributes are overridden */
    height: auto !important;
}
/* Targets screen widths larger than 768px (Desktop/Large Tablet) */
@media (min-width: 769px) {
    iframe[src*="youtube.com/embed"],
    iframe[src*="youtu.be"] {
        /* Set a maximum width for the video on large screens */
        max-width: 750px !important;

        /* Center the video within its container */
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
.homeCarousel .flex-control-nav{
    display: none;
}

/* --- A. Global & 80% Centering Rules --- */

.homeCarousel {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 0 !important;
    overflow: hidden;
}
.homeCarousel ul.slides#hp-slides {
    /* Ensure the UL container itself does not cause vertical overflow */
    padding-bottom: 0 !important;
}
#hp-slides > li {
    /* 3. CRUCIAL: Makes the li the parent for absolute positioning */
    position: relative;

    /* 4. Base height-defining rules (to be overridden by desktop media query) */
    height: 0 !important;
    padding-bottom: 43.07% !important;
    overflow: hidden;
}

/* 5. Rules for the full-covering <img> tag (mobile and desktop) */
.full-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* 6. Rules for the full-covering <a> link tag */
#hp-slides > li > a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* --- B. Mobile/Tablet Media Query --- */
@media (max-width: 768px) {
    /* Set the carousel back to full screen on small devices,
       as 80% often looks too small on mobile phones. */
    .homeCarousel {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Ensure the padding hack is only applied to the LI (redundant, but safe) */
    #hp-slides > li {
        padding-bottom: 43.07% !important;
    }
}
@media (min-width: 1200px) {
    .homeCarousel {
        padding-bottom: 0 !important;
        height: auto !important;
        min-height: auto !important;
    }
    /* Instead, we explicitly disable the desktop override! */
    #hp-slides > li
    {
        padding-bottom: 43.07% !important; /* Force the responsive height */
        min-height: auto !important; /* Ensure min-height is not set */
        height: 0 !important; /* Ensure height remains 0 */
    }
}
.homepage-slider {
    margin-top: 30px;
}

.home-page .home-category-footer .hp-full-banner {
    background-position: 83% 0%;
}
.home-page .home-category-footer{
    margin-bottom: 30px;
}
/* --- MOBILE RESPONSIVE FIXES 4 FOOTER --- */
@media (max-width: 991px) {

    /* 1. Reset fixed widths and floats */
    .mailist-box,
    .social_icons {
        width: 100% !important;
        float: none !important;
        text-align: center;
        margin: 0 auto 30px;
    }

    /* 2. Center the mailing list input and button */
    .mailinglist-form {
        display: flex;
        justify-content: center;
        gap: 5px;
    }

    .mailinglist-input.form-control {
        float: none !important;
        max-width: 70%; /* Allow it to be flexible */
    }

    .mailinglist-submit {
        float: none !important;
        width: auto !important;
        padding: 0 15px;
    }

    /* 3. Center social icons and payment icons */
    ul.social-icons,
    ul.payment-icons {
        text-align: center;
        padding: 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* 4. Fix mailing list radio buttons */
    .maillist-options {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    /* 5. Center copyright and footer menus */
    .copyright,
    .footer-menu {
        text-align: center;
        margin-bottom: 20px;
    }

    .extrapages-shower {
        font-weight: bold;
        margin-bottom: 10px;
    }
    .footer-devider{
        margin-top: 10px;
    }
}
/* --- TABLET ALIGNMENT (768px to 991px) --- */
@media (min-width: 768px) and (max-width: 991px) {

}
section#message .button .btn{
    border: none;
    background-color: #135193;
    color: #fff;
}
section#message .button .btn:hover{
    background-color: #0098DA;
}
.btn-default.btn-inverse,
.btn-primary,
.btn-default{
    border: none;
    background-color: #135193;
    color: #fff;
}
.btn-default.btn-inverse:hover,
.btn-primary:hover,
.btn-default:hover{
    background-color: #0098DA;
}
.action--compare-add,
.check-hidden{
    cursor: pointer;
}
.product--selected {
    background-color: #0098DA;
    border: none;
    border-top: 5px solid #0098DA;
}
.compare__item .action-button input{
    background-color: #135193 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}
.compare__item .action-button input:hover{
    background-color: #0098DA !important;
}
.compare{
    z-index: 10000 !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}
/* Force the navbar to hide immediately when the compare class is active */
body.product-compare-open .navbar{
    visibility: hidden !important;
    opacity: 0 !important;
    transition: none !important;
}
.compare .compare__item .img a{
    display: inline-block;
}
.action--remove {
    background-color: #135193;
}
.action--remove:hover {
    background-color: #00abd7;
    opacity: 1 !important;
}
.action--compare-add {
    color: #135193;
}
.action--compare-add:hover {
    color: #00abd7;
}
.action--compare--active {
    background-color: #135193;
}
.action--compare--active:hover {
    background-color: #00abd7;
    opacity: 1 !important;
}
.stock-header{
    display: block;
    margin: 15px 0;
}
.product-details .extrafieldsBlock .extra_field {
    margin-bottom: 15px;
}
.category-products .product-items .product-item .img {
    background-color: #fff;
    border: 4px solid #fff;
    min-height: 212px;
    position: relative;
    width: 100%;
}
.category-products .product-items .product-item .img:hover {
border: 4px solid #ccc;
box-shadow: 0 0 2px #ccc;
}
.category-products .product-items .product-item .img .inner-img {
    border: 2px solid #ccc;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}
/* FORCE CATEGORY IMAGES TO MATCH HOMEPAGE */
.category-products .product-items .product-item .img,
.product-item .img {
    height: 212px !important;
    width: 100% !important;
    display: block !important;
    overflow: hidden !important;
    background-color: #fff !important;
    border: 4px solid #fff !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease; /* Added for smooth hover */
}

/* Updated Hover Selector for Category Pages */
.category-products .product-items .product-item .img:hover,
.product-item .img:hover {
    border: 4px solid #ccc !important;
    box-shadow: 0 0 5px rgba(204, 204, 204, 0.5) !important;
    cursor: pointer;
}

.category-products .product-items .product-item .img .inner-img,
.product-item .img .inner-img {
    border: 2px solid #ccc !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.category-products .product-items .product-item .img .inner-img img,
.product-item .img .inner-img img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
    margin: auto !important;
}
/* High-specificity override to remove grey border on selected items */
.category-products .product-items .product-item.product--selected .img .inner-img,
.product-item.product--selected .img .inner-img {
    border: none !important;
    border-color: transparent !important;
}
/* 1. Hide the checkmark by default and show the plus sign */
.action--compare-add .fa-check {
    display: none !important;
}
.action--compare-add .fa-plus {
    display: inline-block !important;
    color: #135193 !important; /* Original dark blue */
}

/* 2. When active, swap the icons and color them light blue */
.action--compare-add.active-fa .fa-plus {
    display: none !important;
}
.action--compare-add.active-fa .fa-check {
    display: inline-block !important;
    color: #0098DA !important; /* Light blue */
}

/* 3. Ensure the icon remains white if it's inside the blue background area */
.product--selected .action--compare-add.active-fa .fa-check {
    color: #fff !important;
}