body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    width: 100%;
    background-color: #f9f9f9;
}

@media (min-width: 1200px) {
    .container {
        width: 100%;
        max-width: 147rem;
        margin: 0 auto;
        padding: 0 1rem;
    }
}


h1, h2, h3, h4, h5, h6 {
    color: #222;
    font-weight: 700;
}

/* Default font size for FontAwesome icons */
.fa {
    font-size: 16px;
}

/* Override the Bootstrap defaults */
h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

legend {
    font-size: 20px;
    padding: 10px 0;
}

label {
    font-size: 14px;
    font-weight: normal;
}

select.form-control,
textarea.form-control,
input[type="text"].form-control,
input[type="password"].form-control,
input[type="datetime"].form-control,
input[type="datetime-local"].form-control,
input[type="date"].form-control,
input[type="month"].form-control,
input[type="time"].form-control,
input[type="week"].form-control,
input[type="number"].form-control,
input[type="email"].form-control,
input[type="url"].form-control,
input[type="search"].form-control,
input[type="tel"].form-control,
input[type="color"].form-control {
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ced4da;
    padding: 1rem 2rem;
    height: 5rem;
}

.input-group input,
.input-group select,
.input-group .dropdown-menu,
.input-group .popover {
    font-size: 14px;
}

.input-group .input-group-addon {
    font-size: 14px;
    height: 40px;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
}

.form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
}

/* Fix some Bootstrap issues */
span.hidden-xs,
span.hidden-sm,
span.hidden-md,
span.hidden-lg {
    display: inline;
}

a:active,
a:focus {
    outline: none;
}

textarea {
    resize: vertical;
}

.btn:active,
.btn:focus {
    outline: none;
}

button:active,
button:focus {
    outline: none !important;
}

input,
textarea {
    outline: none;
}

input:active,
textarea:active {
    outline: none;
}

input[type=checkbox],
input[type=radio],
.checkbox input[type=checkbox],
.checkbox-inline input[type=checkbox],
.radio input[type=radio],
.radio-inline input[type=radio] {
    cursor: pointer;
}

.nav-tabs {
    margin-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    border: 1px solid #dee2e6;
    border-bottom-color: transparent;
    background-color: #f8f9fa;
}

.nav > li > a:focus,
.nav > li > a:hover {
    background-color: #f8f9fa;
}

.nav-tabs > li > a:hover {
    border-color: #dee2e6;
}

div.required .control-label:before {
    content: '* ';
    color: #dc3545;
    font-weight: bold;
}

/* Gradient to all drop-down menus */
.dropdown-menu li > a:hover {
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
}

/* Top bar */
#top {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 5px 0;
    margin-bottom: 20px;
    min-height: 50px;
}

#top .container {
    padding: 0 15px;
}

#top .btn-link,
#top-links li,
#top-links a,
#head-links li,
#head-links a {
    background-color: transparent;
    color: #6c757d;
    font-size: 14px;
    text-decoration: none;
}

#top .btn-link:hover,
#top-links a:hover,
#head-links .btn-link:hover,
#head-links a:hover {
    color: #343a40;
}

#top-links .dropdown-menu a {
    color: #343a40;
}

#top .btn-link strong {
    font-size: 16px;
    line-height: 16px;
}

#top-links,
#head-links {
    padding-top: 10px;
}

#top-links a + a,
#head-links a + a {
    margin-left: 15px;
}

#top-links hr {
    margin: 5px 15px;
}

/* Logo */
#logo {
    margin: 0 0 10px 0;
}

#logo .img-responsive {
    width: 200px;
    padding-bottom: 10px;
}

@media (max-width: 767px) {
    #logo {
        text-align: center;
    }

    #logo img {
        display: inline-block;
    }

    #contact {
        text-align: center;
        font-size: 25px;
        padding: 5px 0 15px;
        display: inherit;
    }
}

#contact {
    font-weight: 700;
    line-height: 39px;
    font-size: 18px;
}

#contact a {
    text-decoration: none;
}

#contact a i {
    font-size: 22px;
    vertical-align: middle;
    display: inline;
}

@media (min-width: 992px) {
    #logo {
        float: left;
    }

    #contact {
        float: left;
        margin-left: 30px;
    }

    #search {
        margin-left: -35px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #logo {
        float: left;
    }

    #contact {
        float: right;
    }
}

/* Search */
#search {
    margin-bottom: 10px;
}

#search .input-lg {
    height: 50px;
    line-height: 20px;
    padding: 0 15px;
    border-radius: 4px;
}

#search .btn-lg {
    font-size: 16px;
    line-height: 18px;
    padding: 12px 20px;
    text-shadow: none;
    border-radius: 4px;
}

/* Cart */
#cart {
    margin-bottom: 10px;
}

#cart > .btn {
    font-size: 14px;
    line-height: 18px;
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
    border-radius: 4px;
}

#cart.open > .btn {
    background-color: #fff;
    border: 1px solid #ced4da;
    color: #343a40;
}

#cart.open > .btn:hover {
    color: #007bff;
}

#cart .dropdown-menu {
    background: #fff;
    z-index: 1001;
    border: 1px solid #ced4da;
    padding: 15px;
    width: 100%;
    min-width: 60rem;
}

@media (max-width: 478px) {
    #cart .dropdown-menu {
        width: 100%;
    }
}

#cart .dropdown-menu table {
    margin-bottom: 10px;
}

#cart .dropdown-menu li > div {
    min-width: 250px;
    padding: 0 10px;
}

@media (max-width: 478px) {
    #cart .dropdown-menu li > div {
        min-width: 100%;
    }
}

#cart .dropdown-menu li p {
    margin: 20px 0;
}

/* Menu */
#menu {
    background-color: #343a40;
    border-color: #343a40;
    min-height: 50px;
}

#menu .nav > li > a {
    color: #fff;
    padding: 15px 20px;
    background-color: transparent;
}

#menu .nav > li > a:hover,
#menu .nav > li.open > a {
    background-color: #495057;
}

#menu .dropdown-menu {
    padding-bottom: 0;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

#menu .dropdown-inner {
    display: table;
    min-width: 30rem;
    max-width: 90%;
}

#menu .dropdown-inner ul {
    display: table-cell;
    vertical-align: top;
}

#menu .dropdown-inner a {
    min-width: 160px;
    display: block;
    padding: 5px 20px;
    clear: both;
    line-height: 20px;
    color: #343a40;
    font-size: 14px;
}

#menu .dropdown-inner li a:hover {
    color: #fff;
    background-color: #007bff;
}

#menu .see-all {
    display: block;
    margin-top: 0.5em;
    border-top: 1px solid #dee2e6;
    padding: 10px 20px;
    font-size: 14px;
    color: #007bff;
}

#menu .see-all:hover,
#menu .see-all:focus {
    text-decoration: none;
    color: #0056b3;
    background-color: #e9ecef;
}

#menu #category {
    float: left;
    padding-left: 15px;
    font-size: 18px;
    font-weight: 700;
    line-height: 50px;
    color: #fff;
}

#menu .btn-navbar {
    font-size: 18px;
    color: #fff;
    padding: 5px 15px;
    float: right;
    background-color: #343a40;
    border: none;
}

#menu .btn-navbar:hover,
#menu .btn-navbar:focus,
#menu .btn-navbar:active {
    color: #fff;
    background-color: #495057;
}

@media (min-width: 768px) {
    #menu .dropdown:hover .dropdown-menu {
        display: block;
    }
}

@media (max-width: 767px) {
    #menu {
        border-radius: 4px;
    }

    #menu .dropdown-inner > ul.list-unstyled {
        display: block;
    }

    #menu .dropdown-menu {
        margin-left: 0 !important;
        padding-bottom: 10px;
        background-color: #343a40;
    }

    #menu .dropdown-inner {
        display: block;
    }

    #menu .dropdown-inner a {
        width: 100%;
        color: #fff;
    }

    #menu .dropdown-menu a:hover,
    #menu .dropdown-menu ul li a:hover {
        background: #495057;
    }

    #menu .see-all {
        margin-top: 0;
        border: none;
        border-radius: 0;
        color: #fff;
    }
}

/* Content */
#content {
    min-height: 600px;
}

/* Footer */
footer {
    margin-top: 30px;
    padding-top: 30px;
    background-color: #343a40;
    border-top: 1px solid #dee2e6;
    color: #ced4da;
}

footer hr {
    border-top: 1px solid #495057;
    border-bottom: 1px solid #495057;
}

footer a {
    color: #adb5bd;
}

footer a:hover,
footer a:focus {
    color: #fff;
}

footer .title {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

footer .list-unstyled {
    padding-left: 0;
    list-style: none;
}

footer p {
    text-align: right;
}

/* Alert */
.alert {
    padding: 15px;
    border-radius: 4px;
    border: 1px solid transparent;
}

/* Breadcrumb */
.breadcrumb {
    margin: 0 0 20px 0;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    background-color: #e9ecef;
    border-radius: 4px;
}

.breadcrumb i {
    font-size: 16px;
}

.breadcrumb > li {
    padding: 0 10px;
    position: relative;
    display: inline-block;
    color: #6c757d;
}

.breadcrumb > li + li:before {
    content: '/';
    padding: 0 5px;
    color: #6c757d;
}

.pagination {
    margin: 0;
    border-radius: 4px;
}

/* Buttons */
.buttons {
    margin: 1em 0;
}

.btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.btn-xs {
    font-size: 12px;
}

.btn-sm {
    font-size: 14px;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 18px;
}

.btn-default {
    color: #343a40;
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

.btn-default:hover {
    color: #343a40;
    background-color: #d6d8db;
    border-color: #c6c8ca;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-warning {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-warning:hover {
    color: #212529;
    background-color: #e0a800;
    border-color: #d39e00;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-info:hover {
    color: #fff;
    background-color: #138496;
    border-color: #117a8b;
}

.btn-link {
    color: #007bff;
    border-radius: 0;
}

.btn-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* List group */
.list-group a {
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 10px 15px;
    border-radius: 4px;
}

.list-group a.active,
.list-group a.active:hover,
.list-group a:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

/* Carousel */
#common-home .slideshow.swiper-viewport,
#content .swiper-viewport {
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.carousel-caption {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.carousel img {
    display: block;
    width: 100%;
    height: auto;
}

.swiper-viewport .swiper-button-next::before,
.swiper-viewport .swiper-button-prev::before {
    color: #007bff;
}

.swiper-pagination .swiper-pagination-bullet {
    background-color: #ced4da;
}

.swiper-pagination .swiper-pagination-bullet-active {
    background-color: #007bff;
}

/* Product list */
.product-thumb {
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #fff;
}

.product-thumb:hover {
    border-color: #ced4da;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}

.product-thumb .image {
    text-align: center;
    padding: 15px;
}

.product-thumb .image a {
    display: block;
}

.product-thumb .image img {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

.product-grid .product-thumb .image {
    float: none;
}

.thumbnail,
.img-thumbnail {
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

@media (min-width: 767px) {
    .product-list .product-thumb .image {
        float: left;
        padding: 0 20px;
    }
}

.product-thumb h4 {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
}

.product-thumb .caption {
    padding: 0 20px;
    min-height: 200px;
}

.product-list .product-thumb .caption {
    margin-left: 270px;
}

@media (max-width: 1200px) {
    .product-grid .product-thumb .caption {
        min-height: 210px;
        padding: 0 15px;
    }
}

@media (max-width: 767px) {
    .product-list .product-thumb .caption {
        min-height: 0;
        margin-left: 0;
        padding: 0 15px;
    }

    .product-grid .product-thumb .caption {
        min-height: 0;
    }
}

.product-thumb .rating {
    padding-bottom: 5px;
}

.rating .fa-stack {
    font-size: 14px;
}

.rating .fa-star-o {
    color: #ddd;
    font-size: 16px;
}

.rating .fa-star {
    color: #ffc107;
    font-size: 16px;
}

.rating .fa-star + .fa-star-o {
    color: #e0a800;
}

.product-thumb .price {
    color: #28a745;
    font-size: 18px;
    font-weight: bold;
}

.product-thumb .price-old {
    color: #6c757d;
    text-decoration: line-through;
    margin-left: 10px;
}

.product-thumb .price-tax {
    color: #6c757d;
    font-size: 14px;
    display: block;
}

.product-thumb .button-group {
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
    overflow: auto;
}

.product-list .product-thumb .button-group {
    border-left: 1px solid #dee2e6;
}

@media (max-width: 768px) {
    .product-list .product-thumb .button-group {
        border-left: none;
    }
}

.product-thumb .button-group button {
    width: 50%;
    border: none;
    display: inline-block;
    float: left;
    background-color: #007bff;
    color: #fff;
    line-height: 45px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    border-radius: 0;
}

.product-thumb .button-group button + button {
    width: 25%;
    border-left: 1px solid #dee2e6;
    background-color: #28a745;
}

.product-thumb .button-group button:hover {
    background-color: #0056b3;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .product-thumb .button-group button,
    .product-thumb .button-group button + button {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .product-thumb .button-group button,
    .product-thumb .button-group button + button {
        width: 50%;
    }
}

/* Thumbnails */
.thumbnails {
    overflow: auto;
    clear: both;
    list-style: none;
    padding: 0;
    margin: 0;
}

.thumbnails > li {
    margin-left: 20px;
}

.thumbnails {
    margin-left: -20px;
}

.thumbnails > img {
    width: 100%;
}

.image-additional a {
    margin-bottom: 20px;
    padding: 5px;
    display: block;
    border: 1px solid #dee2e6;
}

.image-additional {
    max-width: 78px;
}

.thumbnails .image-additional {
    float: left;
    margin-left: 20px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    #column-left .product-layout .col-md-3,
    #column-right .product-layout .col-md-3 {
        width: 100%;
    }

    #column-left + #content .product-layout .col-md-3,
    #content + #column-right .product-layout .col-md-3 {
        width: 50%;
    }
}

/* RTL adjustments */
html[dir=rtl] .checkbox input[type="checkbox"],
html[dir=rtl] .checkbox-inline input[type="checkbox"],
html[dir=rtl] .radio input[type="radio"],
html[dir=rtl] .radio-inline input[type="radio"] {
    position: absolute;
    margin-top: 4px\9;
    margin-right: -20px;
}

html[dir=rtl] .input-group-btn:last-child > .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

html[dir=rtl] .input-group .form-control:first-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

html[dir=rtl] .container .row:first-child .col-sm-4,
html[dir=rtl] .container .row:first-child .col-sm-5 {
    float: right;
}

html[dir=rtl] #cart .dropdown-menu {
    left: 0;
    right: auto;
}

@media (min-width: 768px) {
    html[dir=rtl] .navbar-nav {
        float: right;
        margin: 0;
    }

    html[dir=rtl] .navbar-nav > li {
        float: right;
    }
}

.manufacturer-letter {
    font-size: 27px;
    margin-top: 20px;
    margin-bottom: 10px;
}
