/* ---------- Bootstrap defaults ---------- */
body {
    -ms-overflow-style: scrollbar;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

.navbar-brand {
    padding: 0px;
}

.navbar-brand > img {
    height: 50px;
    width: auto;
}

.navbar {
    border: 10px solid #3498db;
    border-width: 0px 0px 10px 0px;
    border-radius: 0px;
    margin-bottom: 0px;
}

.navbar-toggle {
    border-color: #666;
    background-color: #eee;
    margin-right: 0px;
}

.navbar-toggle.collapsed {
    background-color: transparent;
}

.navbar-toggle .icon-bar {
    background-color: #666;
}
.navbar-toggle:hover .icon-bar {
    background-color: #333;
}

.carousel-inner > .item > a > img {
    margin: 0 auto;
}

.btn-primary {
    background: transparent linear-gradient(to bottom, #ff366a 100%, #f62a5f 100%) repeat scroll 0% 0%;
    border-color: #ff5989;
    color: #fff;
    text-shadow: 1px 1px 3px #666;
}

.btn-primary:hover {
    background: transparent linear-gradient(to bottom, #e53061 100%, #db2556 100%) repeat scroll 0% 0%;
    border-color: #bf4366;
}

.btn-default {
    color: #fff;
    background-color: #4c5b83;
    border-color: #4c546b;
}

.btn-default:hover {
    color: #fff;
    background-color: #35446c;
    border-color: #2c3859;
}

.btn-default.disabled:hover {
    background-color: #35446c;
}

.text-light {
    color: #777;
}

hr {
    border-top-color: #888;
}
/* ---------- Site CSS  ---------- */

textarea {
    min-height: 100px;
}

.margin-top {
    margin-top: 1em;
}

.margin-bottom {
    margin-bottom: 1em;
}

.inline-block {
    display: inline-block;
}

.help-block {
    margin-top: 0px;
    margin-bottom: 0px;
}

#main-menu > li > ul > li > a > span {
    color: #999;
}

#main-menu > li > ul > li.active > a > span {
    color: #ddd;
}

#main-menu > .active > a, #main-menu > li > a:hover {
    background-color: #3498db;
    color: #fff;
}

.navbar-shopping-cart {
    margin-top: 8px;
    margin-right: 15px;
    background-color: transparent;
    border: 1px solid #666;
    color: #666;
}

#title {
    background-color: #d2ecfe;
    padding-left: 15px;
    padding-top: 5px;
    padding-bottom: 15px;
}

#title > h1 {
    color: #3498db;
}

footer {
    background-color: #222;
    border-top: 4px solid #3498db;
    margin-top: 30px;
    padding: 30px 0;
    color: #e6dede;
    font-weight: bold;
}

footer h3 {
    color: #3498db;
}

footer a {
    color: #e6dede;
    text-decoration: underline;
}

footer a:hover {
    color: #aaaaaa;
}

footer small {
    color: #aaaaaa;
    padding-right: 10px;
}

body .blueimp-gallery > .indicator > li {
    width: 32px;
    height: 32px;
}

.infobox {
    background-color: #efefe3;
    border: 1px solid #d4d3d3;
    padding: 10px 15px;
}

#category-menu, #filter-menu {
    border: 1px solid #ddd;
}

#filter-menu {
    border-bottom: 2px solid #ddd;
}

#category-menu > li, #filter-menu > li {
    border-bottom: 1px solid #ddd;
}

#filter-menu > li {
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 15px;
    margin-left: 15px;
    margin-right: 15px;
    border-bottom: 3px solid #666;
}

#filter-menu > li:last-child {
    border-bottom: 0px solid #333;
}

#category-menu > li > a > span, #filter-menu > li span {
    color: #999;
}

#category-menu > li.active > a {
    background-color: #3498db;
    color: #fff;
}

#category-menu > li.active > a > span {
    color: #ddd;
}

#filter-menu label {
    font-weight: normal;
}

#filter-menu > li {
    padding-left: 15px;
}

/* end of common elements */

.product-list {
    margin-right: -5px;
    margin-left: -5px;
}

.product-list *[class^='col-']{
    padding-left: 5px;
    padding-right: 5px;
}

.product-list-item {
    border: 1px solid #ccc;
    margin-bottom: 15px;
    padding: 5px 5px;
    border-radius: 3px;
    text-align: center;
    color: #666;
}

.number {
    text-align: left;
}

.image {
    margin-bottom: 10px;
}

.price {
    color: #3498db;
    font-weight: bold;
    text-align: center;
}

.misc-price {
    margin-bottom: 10px;
}

.original-price {
    text-decoration: line-through;
    color: #a1a1a1;
    font-weight: normal;
    margin-bottom: 0px;
}

.special-price {
    display: inline-block;
    color: #3498db;
}

.special-price.large {
    font-size: 36px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.buy {
    color: #666;
    font-weight: bold;
    text-align: center;
}

.buy .form-group {
    margin-bottom: 10px;
}

.buy .form-inline input, .buy .form-inline .input-group-addon {
    border-color: #ff5989;
}

.buy .form-inline input {
    border-right-width: 0;
}

.checkout-steps > li {
    padding: 10px 15px;
}

.checkout-steps span {
    font-size: 20px;
    padding: 5px 15px;;
    background: #ccc;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    float: left;
}

.checkout-steps .active span {
    background: #ff5989;
}
.checkout-steps .active p {
    color: #ff5989;
}

.checkout-steps p {
    color: #aaa;
    font-weight: bold;
    font-size: 12px;
    padding: 2px 5px;
    float: left;
}

#shopping-cart {
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

#shopping-cart th, #shopping-cart td {
    border-right: 1px solid #ddd;
}

#shopping-cart td {
    display: block;
    vertical-align: middle;
}

#shopping-cart form {
    display: inline-block;
}

#shopping-cart > tbody > tr > td:before {
        content: attr(data-th);
        font-weight: bold;
        display: inline-block;
}

#shopping-cart-total td {
    border-top: none;
}

#shopping-cart-total .grand-total {
    font-size: 22px;
    border-bottom: 1px solid #333;
}

#shopping-cart-total tr:nth-child(3) td {
    font-size: 22px;
}

#shopping-cart-total small {
    color: #666;
}

#shopping-cart .alert {
    margin-bottom: 0px;
}

#shopping-cart input.quantity {
    width: 8rem;
}

.checkout h1, .checkout h2, .checkout h3, .checkout h4, .checkout h5, .checkout h6 {
    margin-top: 10px;
}

.checkout label {
    font-weight: normal;
}

.checkout .selection:hover, .checkout .selected {
    cursor: pointer;
    background-color: #d7e9f7;
}
.checkout .selected {
    background-color: #FBF689;
}

.order-total-right {
    text-align: right;
}

.ac-image {
    float: left;
    padding-right: 4px;
    height: 32px;
}

.ui-autocomplete > LI.ui-menu-item {
    line-height: 32px;
}

.ui-slider-range.ui-widget-header {
    background-color: #53a1d1;
}

.ui-slider-handle.ui-state-default {
    background-color: #53a1d1;
}

.ui-slider-tooltip {
    padding-bottom: 3px;
}

.ui-slider-tooltip.ui-slider-tooltip-left {
    float: left;
}

.ui-slider-tooltip.ui-slider-tooltip-right {
    float: right;
}

.ui-slider.ui-slider-horizontal.ui-widget {
    clear: both;
}


#product-energy-saving input {
    width: 50px;
    text-align: right;
}

#product-energy-saving table:last-of-type td {
    vertical-align: middle;
}

#product-energy-saving #cost_return, #product-energy-saving #cost_diff {
    background: #26982b;
    color: #fff;
    font-size: 150%;
    white-space: nowrap;
    padding: 15px 30px;
}

.grecaptcha-badge { visibility: hidden; }

.faded {
    opacity: 0.5;
}

#cookie-banner {
    width: 100%;
    position: fixed;
    bottom: 0;
    background: #f8f8f8;
    z-index: 9999;
    color: #555;
    transform: translate(0, 0);
    transition: all .3s;
    max-height: 0;
    border-top: 0px solid #ddd;
}

#cookie-banner > div {
    padding-top: 15px;
    padding-bottom: 15px;
}

#cookie-banner.show {
    max-height: 100px;
    border-top: 1px solid #ddd;
}

/* img-responsive for product description images */
#description img {
    display: inline-block;
    max-width: 100%;
    height: auto !important;
    margin: 0 auto;
}

@media print {
    a[href]:after {
        content: "";
    }
    
    .alert {
        display: none;
    }
    
    .avoid-page-break {
        page-break-inside: avoid;
    }

    #shopping-cart td {
        display: table-cell;
    }
    
    #shopping-cart > tbody > tr > td:before {
        display: none;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
    body {
        padding-top: 10px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .navbar {
        min-height: 74px;
    }
    
    .navbar-brand > img {
        height: auto;
    }
    
    .navbar-shopping-cart:before {
        font-family: 'Glyphicons Halflings';
        content: "\e116";
    }
    
    .navbar-shopping-cart {
        margin: 0px;
        border: none;
        width: 100px;
        text-align: center;
        display: inline-block;
        color: #337AB7;
        padding-top: 10px;
    }
    
    .navbar-nav > li > a {
        margin-left: 10px;
        border-radius: 3px;
        padding: 10px;
    }
    
    #account-menu > li > a {
        padding: 5px 10px;
        margin-bottom: 5px;
    }    
    
    #account-submenu > li.active > a {
        font-weight: bold;
    }
    
    #main-menu {
        padding-top: 10px;
    }
    
    #title {
        padding-left: 50px;
    }
    
    .product-list-item {
        min-height: 345px;
    }
    
    .buy .form-inline input {
        max-width: 60px;
    }
    
    .buy .form-group {
        margin-bottom: 0px;
    }    
    
    #shopping-cart td {
        display: table-cell;
    }
    
    #shopping-cart > tbody > tr > td:before {
        display: none;
    }
    
    #shopping-cart .unit-price, #shopping-cart .unit, #shopping-cart .quantity, #shopping-cart .delete {
        text-align: center;
    }

    #shopping-cart .total {
        text-align: right;
    }
    
    .header-search {
        padding-right: 0px;
    }
    
    .header-search input.form-control {
        width: 260px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 30px;
    }
    
    .product-list-item {
        min-height: 360px;
    }
    
    .product-list-item .buy .form-group {
        margin-bottom: 0px;
    }
    
    .header-search {
        margin-top: 12px;
    }
    #filter-menu {
        display: block;
    }
    
    #shopping-cart input.quantity {
        width: 5rem;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
    .product-list-item {
        min-height: 345px;
    }
    
    .product-list-item .buy .form-group {
        margin-bottom: 0px;
    }
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-responsive {
    display: inline-block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}