﻿html { font-size: 15px; }
html, body { height: 100%; min-height: 100%; }
body { display:flex; flex-direction:column;}

h1, .h1, h2, .h2 {
    font-weight: 300;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    text-decoration: none;
}

.autocomplete {
    position: relative;
    z-index: 1100;
}
.autocomplete .list-group {
    cursor: pointer;
    position: absolute;
        z-index: 9999;
        top: 100%;
        left: 0;
        right: 0;
    max-height: 80vh;
    overflow-y: auto;
}
.autocomplete .list-group .list-group-item {
    padding: .375rem 1rem;
}
.list-group-item-action:focus,
.list-group-item-action:hover {
    background: #fafae0;
}

.autocomplete-suggestions {
    background: #f9f9f9;
    border: 1px solid #ddd;
    cursor: default;
    max-height: 350px;
    overflow-x: auto;
    overflow-y: scroll;
    text-align: left;
    box-shadow: 0 0 2px grey;
    line-height: 0.9rem;
}
.autocomplete-suggestion ,
.autocomplete-no-suggestion {
    padding: 0.5rem 1rem;
    min-height: 2.5rem;
}
.autocomplete-no-suggestion > .autocomplete-suggestion {
    padding: 0;
    min-height: initial;
}
.autocomplete-suggestion small {
    color: grey;
}
.autocomplete-suggestion:hover small,
.autocomplete-suggestion:hover,
.autocomplete-no-suggestion:only-child
{
    background: #0275d8;
    color: #fff;
    cursor: default;
}
.autocomplete-suggestion:hover .text-muted {
    color: #FFF!important;
}

.breadcrumb {
    background-color: inherit;
    display: block;
    font-size: .9rem;
    padding-left: 0;
    margin-bottom: .5rem;
    overflow-x: auto;
    white-space: nowrap;
}
    .breadcrumb a {
        color: #6c757d;
    }

.breadcrumb-item+.breadcrumb-item::before {
    color: #ffc107;
    content: "\203A";
    display: inline-block;
    font-size: 2rem;
    line-height: .2;
    padding-right: .5rem;
    vertical-align: -50%;
}

.card-group .product-card {
    max-width: 290px;
}

.card-img-top {
    display: block;
    overflow: hidden;
}
.card-img-top img {
    width: 100%;
    object-fit: cover;
}

#CommentCount {
    color: #343a40;
    display: inline-block;
    text-decoration: underline;
}

.comment p {
    margin-bottom: .5rem;
}
.comment-header > * {
    margin-right: 1rem;
}
.comment-author {
    font-size: 1.2rem;
}
.comment-header .star-rating {
    font-size: .8rem;
}

.custom-control {
    padding-left: 2rem;
}
.custom-control-label:after,
.custom-control-label:before {
    width: 1.1rem;
    height: 1.1rem;
    left: -2rem;
}
.custom-control-label:before {
    border: 1px solid #ccc;
    background-color: #fff;
}

#Banner {
    border-bottom: 1px solid #d9d9de;
    max-height: 600px;
}

.badge-yellow {
    background: #ff0!important;
    color: #272727;
}
.bg-yellow {
    background: #ff0!important;
}

#BodyFooter {
    background: #f5f5f5;
    border-top: 1px solid #c3c3c3;
    box-shadow: inset 0 1px 6px 0 #d8d8d8;
    font-size: .9rem;
    box-sizing: border-box;
    margin-top: auto;
    padding: 2em 0;
    width: 100%;
}

#CartButton, #FavButton {
    position: relative;
}
#CartButton .badge,
#FavButton .badge {
    background: #ffc107;
    border: 2px solid #ffc107;
    color: #000;
    position: absolute;
        right: 0;
        top: 0;
}

#FavButton .badge {
    background: #ffc107;
}

#Features .custom-control-label {
    line-height: 1;
    padding-bottom: .25rem;
}
#Features .custom-control-label a {
    display: inline-block;
    padding-top: .25rem;
}

.feature-name span.d-block {
    width: 85%;
    overflow: hidden;
    text-overflow: ellipsis;
}

#FronHeaderNavbar {
    background: #000!important;
}

i.req:before {
    color: #fe0000;
    content: '*';
    font-size: 16px;
}

.callout {
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-left-width: .25rem;
    border-radius: .25rem
}
    .callout h4 {
        margin-top: 0;
        margin-bottom: .25rem
    }
    .callout p:last-child {
        margin-bottom: 0
    }
    .callout+.callout {
        margin-top: -.25rem
    }
    .callout-primary {
        border-left-color: #007bff
    }
    .callout-primary h4 {
        color: #007bff
    }
    .callout-success {
        border-left-color: #28a745
    }
    .callout-success h4 {
        color: #28a745
    }
    .callout-info {
        border-left-color: #5bc0de
    }
    .callout-info h4 {
        color: #5bc0de
    }
    .callout-warning {
        border-left-color: #f0ad4e
    }
    .callout-warning h4 {
        color: #f0ad4e
    }

    .callout-danger {
        border-left-color: #d9534f
    }
    .callout-danger h4 {
        color: #d9534f
    }

#Curtain {
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
    position: fixed;
    top:0;
    left:0;
    z-index: 1050;
    background: rgba(144,189,72,0.2);
}
#Curtain.black {
    background: rgba(0,0,0,0.5);
}


.dropdown-toggle::after {
    color: #17a2b8;
}

.feature-value {
    padding-top: 2px;
    padding-bottom: 1px;
}

.font-size-09rem {
    font-size: .9rem;
}

#FrontHeader:hover {
    background: #272727;
}
#FrontHeaderSearch {
    border-bottom: 1px solid #ccc;
}
#FrontHeaderSearch input {
    border: none;
}
#FrontHeaderSearch input:focus {
    border: 0;
    box-shadow: none;
}
#FrontHeaderMenu .modal-dialog {
    position: fixed;
    margin: auto;
    width: 320px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}
    #FrontHeaderMenu .modal-content {
        height: 100%;
        overflow: hidden;
    }
    #FrontHeaderMenu .modal-body {
        height: 100%;
        overflow-y: scroll;
        overflow-x: hidden;
    }
    #FrontHeaderMenu.show .modal-dialog {
        left: 0;
    }
#FrontHeaderMenu .nav-link {
    margin: 0 -.5rem;
    padding: .4rem .5rem;
    color: #272727;
}
#FrontHeaderMenu .nav-link:hover {
    text-decoration: underline;
}
#FrontHeaderMenuCategories .nav-link,
#IndexNav .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#FrontHeaderMenuCategories .nav-link:not(.active):hover {
    background: #fcfcee;
    text-decoration: none;
}

#FrontHeaderPhone .btn {
    font-size: 1rem;
}

#IndexNav {
    margin-left: -0.5rem;
}

#ItemContainer {
    margin: 0 auto;
}

#UnFilter {
    font-size: .9rem;
}


#ProductThumbs img {
    max-height: 12vmin;
    border: 1px dashed #e5e5e5;
}

/* for vertical layout
#ProductThumbs {
    max-height: 360px;
}
#ProductThumbs img {
    max-height: 10vmax;
}
*/

.product-card {
    position: relative;
}
.product-card .card-promo {
    position: absolute;
    top: .5rem;
    left: 1rem;
    /*
    padding-top: .5rem;
    padding-left: 1rem;
    */
}
    .card-promo {
        text-transform: uppercase;
    }
    .card-promo .badge {
        color: #fff!important;
        padding: .4rem .6rem .3rem;
        font-size: .7rem;
    }
    .card-promo .badge-light,
    .card-promo .badge-yellow {
        color: black!important;
    }
.product-card .star-rating > * {
    padding: 0 1px;
}


#ProductMainInfo .star-rating {
    /* font-size: 0.6rem!important; */
}
.product-card .star-rating {
    font-size: 0.75rem!important;
}

.carousel-inner {
    max-height: 300px !important;
}

.carousel-caption {
    left: 10%;
    top: 20px;
}
.carousel-caption h1 {
    display: inline-block;
    /* background: #007bff; */
    background: rgba(0, 0, 0, .7);
    padding: 0 10px 5px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.product-carousel .carousel-item {
    margin: 0;
}
.product-carousel .carousel-control-prev,
.product-carousel .carousel-control-next {
    z-index: 100;
    width: auto;
    top: 35%;
    bottom: auto;
    opacity: inherit;
}
.product-carousel .carousel-control-prev {
    left: -2.3rem;
}
.product-carousel .carousel-control-next {
    right: -2.3rem;
}

    .carousel-caption.text-right {
        left: 10%;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background: url(../data/images/arrows-v2.png) no-repeat;
        cursor: pointer;
        height: 64px;
        margin: -40px 0 0;
        overflow: hidden;
        transition: all 0.2s ease-in-out 0s;
        width: 32px;
        position: absolute;
        top: 50%;
        z-index: 101;
    }
    .carousel-control-prev-icon:hover,
    .carousel-control-next-icon:hover {
        opacity: 1;
    }
    .carousel-control-next-icon {
        background-position: right top;
    }
    .carousel-control-prev-icon {
        background-position: left top;
    }
    #Banner .carousel-item {
        height: 300px;
        background-color: #eee;
    }
    .carousel-item img {
        object-fit:cover;
        height: 300px;
    }

.cat {
    color: #666;
    float: left;
    font-size: 85%;
    line-height: 0.95;
    width: 200px;
    height: 140px;
    padding: 0 5px;
}
.cat img {
    width: 100%;
    max-height: 105px;
    margin-bottom: 3px;
}
.cat h3 {
    color: inherit;
    font-family: inherit;
    font-size: 100%;
}

.card-deck .card + .card {
    border-left: 1px solid lightgrey !important;
    padding-left: 2rem;
}

.dashed, a.dashed { border-bottom: 1px dashed #999; text-decoration: none; }
a.dashed:hover {text-decoration: none}

.drag-handle {
    cursor: move;
}

figure > img {
    max-width: 100%;
}
figure.table td {
    /*
    border-top: 0;
    padding: 0 .5rem .5rem 0;
    */
}

.fixed-table-loading {
    display: none;
    position: absolute;
    top: 42px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    background-color: #fff;
    text-align: center;
}

.image-style-side {
    float: right;
    margin-right: 10%;
}

.image-remove {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}
.image-actions {
    position: absolute;
    top:0;
    left:0;
    z-index: 3;
    background: rgba(33, 33, 33, 0.55);
    transition: opacity 0.2s ease;
    opacity: 0;
}
.image-actions:hover {
    opacity: 1;
}

#IndexSidebar {
    border-right: 1px solid #eee;
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
        -ms-flex-item-align: end;
    align-self: flex-end;
        -webkit-transform: translateZ(0);
    transform: translateZ(0);
    height: 100vh;
}
#IndexNav .nav-link i {
    margin-right: 0;
}

/* loading animation */
@keyframes colorchange {
    0% { color: #0065ff }
    25% { color: #de1c24 }
    50% { color: #ffc220 }
    75% { color: #2a8703 }
    to { color: #0065ff }
}
.loading {
    display: none;
    animation: colorchange 3.5s infinite, fa-spin .7s infinite steps(8);
}


a.product-info_title {
    display: block;
    min-height: 38px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    font-size: 1.2rem;
    line-height: 19px;
    color: #333;
}

.nav-link {
    color: #0a0a0a;
}

#OfferFeatures dt {
    font-weight: 600;
}

.page-link {
    color: #000;
}
.page-item.active .page-link {
    color: #097bff;
    background-color: transparent;
    border: 1px solid #dee2e6;
    font-weight: 700;
}

#PostCommentRating {
    font-size: 2.5rem;
}

.product-promo-section > div {
    padding-bottom: 1rem!important;
    padding-top: 1rem!important;
}
.product-promo-section > div:nth-child(odd){
    background-color: #f8f9fa!important;
    margin-left: -1rem!important;
    margin-right: -1rem!important;
    padding: 1rem!important;
}


#ProductTabs {
    overflow-y: hidden;
    overflow-x: auto;
}
#ProductTabs .nav-link {
    border-bottom: 3px solid transparent;
    color: #6c757d;
    padding-right: 0;
    padding-left: 0;
}
#ProductTabs .nav-link:hover {
    color: #495057;
    border-color: transparent;
    border-bottom: 1px solid #000;
}
#ProductTabs .nav-link.active,
#ProductTabs .nav-link.active:hover {
    background: none;
    border: 0;
    border-color: transparent;
    border-bottom: 3px solid #000;
    color: #000;
}
#ProductTabs .nav-item + .nav-item {
    margin-left: 1.5rem;
}


.rotate {
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.rotate.down {
    -moz-transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

#ShareLinks > a {
    color: #ccc;
}
#ShareLinks > a:hover {
    color: #007bff;
}
#ShareLinks > a.danger:hover {
    color: #dc3545;
}
#ShareLinks > a.warning:hover {
    color: #ffc107;
}

.sidebar {
    /* border-right: 1px solid #eee; */
}
    .sidebar .nav {
        margin-bottom: 20px;
    }
    .sidebar .nav-item {
        width: 100%;
    }
    .sidebar .nav-item + .nav-item {
        margin-left: 0;
    }
    .sidebar .nav-link {
        border-radius: 0;
        padding: .3rem .5rem;
        line-height: 1.2;
    }
    .sidebar .nav-link:not(.active):hover {
        background: #fcfcee;
    }
    .sidebar .nav-link i {
        margin-right: 0.8vw;
    }

small {
    font-size: 85%;
}

.sortTable .fht-cell {
    vertical-align: middle;
    height: 2.5em;
    font-weight: normal;
    padding-top: 1px;
}

.star-rating {
    display: inline-block;
    white-space: nowrap!important;
}
.star-rating-active {
    direction: rtl;
    unicode-bidi: bidi-override;
    color: #cdcdcd;
    max-width: 300px;
    margin: 0 auto;
}
.star-rating-active input {
    display: none;
}
.star-rating-active label {
    direction: ltr;
    flex: 1 1 0;
}
.star-rating-active small {
    display: block;
    font-size: .7rem;
    line-height: .7;
    color: #cdcdcd!important;
}
.star-rating-active label:hover,
.star-rating-active label:hover ~ label,
.star-rating-active input:checked + label,
.star-rating-active input:checked + label ~ label {
    cursor: pointer!important;
    color: #ffc107;
}
.star-rating-active input:checked + label small {
    color: #ffc107!important;
}


.sticky-top-offset {
    top: 47px;
}


.text-yellow {
    color: #ff0!important;
}

#Timetable {
    font-size: .9rem;
}
#Timetable dt {
    font-weight: 400;
}

.top-break {
    background: #f5f5f5;
    border-top: 1px solid #c3c3c3;
    box-shadow: inset 0 1px 6px 0 #d8d8d8;
    overflow: hidden;
}


@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 2rem;
        line-height: 1;
        padding-bottom: 5px;
        padding-top: 5px;
    }
    .card-group .product-card {
        margin-left: 0!important;
        margin-right: 0!important;
        max-width: 100%;
    }
}
@media (min-width: 576px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
}
@media (min-width: 768px) {
    .sticky-top-offset {
        top: 38px;
    }
    .carousel-caption h1 {
        font-size: 2rem;
    }
    .font-size-md-1rem {
        font-size: 1rem;
    }
    .md-h2 {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    #ProductTabsRow.sticky-top {
        position: static;
    }
}

@media only screen and (min-width: 1800px) {
    .col-xxl-10 {
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }
    .col-xxl-2 {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
}