/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

    /*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

    .visuallyhidden.focusable:active,
    .visuallyhidden.focusable:focus {
        clip: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        position: static;
        width: auto;
        white-space: inherit;
    }

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

        a[href]:after {
            content: " (" attr(href) ")";
        }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


/*RATING STAR*/
.rate {
    display: inline-block;
    font-weight: 500;
}

.rating-star {
    font-size: 14px;
    height: 16px;
    width: 75px;
    line-height: 1;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    top: 4px;
}

    .rating-star::before,
    .rating-star span::before {
        color: #c0c0c0;
        content: "\f005\f005\f005\f005\f005";
        float: left;
        font-family: fontawesome;
        left: 0;
        letter-spacing: 2px;
        position: absolute;
        top: 0;
    }

    .rating-star span {
        float: left;
        left: 0;
        overflow: hidden;
        padding-top: 1.5em;
        position: absolute;
        top: 0;
    }

        .rating-star span::before {
            color: #ffc300 !important;
        }
/*END RATING STAR*/

/*Carousal slider*/

.owl-controls .owl-buttons {
    text-align: center;
    margin-top: 34px;
}

    .owl-controls .owl-buttons .owl-prev {
        background: #f5f5f5;
        position: absolute;
        bottom: -10%;
        left: 10px;
        padding: 0 12px;
        box-shadow: 1px 1px 1px rgb(0 0 0 / 10%);
        transition: background 0.5s ease 0s;
    }

    .owl-controls .owl-buttons .owl-next {
        background: #f5f5f5;
        position: absolute;
        bottom: -10%;
        right: 10px;
        padding: 0 12px;
        box-shadow: 1px 1px 1px rgb(0 0 0 / 10%);
        transition: background 0.5s ease 0s;
    }

        .owl-controls .owl-buttons .owl-prev:after,
        .owl-controls .owl-buttons .owl-next:after {
            content: "\f104";
            font-family: FontAwesome;
            color: #333;
            font-size: 30px;
        }

        .owl-controls .owl-buttons .owl-next:after {
            content: "\f105";
        }

.post-slide {
    background: #fff;
    margin: 0 10px;
}


.product-grid {
    background-color: #fff;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    padding: 0;
    margin-bottom: 15px;
    border: 1px solid #b7b7b76b;
    transition: all 0.3s ease 0s;
}

    .product-grid:hover {
        border-color: #2c44748f;
    }

    .product-grid .product-image {
        overflow: hidden;
        position: relative;
    }

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

        .product-grid .product-image img {
            width: 100%;
            height: auto;
        }

    .product-grid .product-quick-view {
        color: #2a9d8f;
        background-color: rgba(255,255,255,0.7);
        font-size: 13px;
        font-weight: 600;
        text-transform: capitalize;
        width: 100%;
        padding: 5px 0;
        position: absolute;
        left: 0;
        bottom: -50px;
        z-index: 1;
        transition: all 0.3s ease 0s;
    }

        .product-grid .product-quick-view:hover {
            text-shadow: 3px 3px rgba(0,0,0,0.3);
        }

    .product-grid:hover .product-quick-view {
        bottom: 0;
    }

    .product-grid .product-labels {
        padding: 0;
        margin: 0;
        list-style: none;
        position: absolute;
        left: 5px;
        bottom: 0;
    }

        .product-grid .product-labels li {
            color: #fff;
            background-color: #ffa701;
            font-size: 13px;
            padding: 3px 5px;
            margin: 5px 0;
            border-radius: 2px;
        }

            .product-grid .product-labels li.discount {
                background-color: #191343;
            }

    .product-grid .product-content {
        text-align: left;
        padding: 10px 7px 10px 10px;
    }

        .product-grid .product-content h2 {
               font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
        }

    .product-grid .title {
        font-size: 13px;
        font-weight: 500;
        text-transform: capitalize;
        letter-spacing: 0;
        margin: 0 0 8px;
    }

        .product-grid .title a {
            color: #111;
            transition: all 0.3s ease 0s;
        }

            .product-grid .title a:hover {
                color: #2a9d8f;
            }

    .product-grid .rating {
        color: #efb123;
        font-size: 13px;
        padding: 0;
        margin: 0 0 8px;
        list-style: none;
    }

        .product-grid .rating li:last-child {
            color: #111;
            display: inline-block;
        }

    .product-grid .price {
        color: #e51e3b;
        font-size: 15px;
        font-weight: 600;
        width: calc(100% - 30px);
        margin: 0 0 8px;
        display: inline-block;
    }

        .product-grid .price span {
            text-decoration: line-through;
            opacity: 0.6;
        }

    .product-grid .product-links {
        padding: 0;
        margin: 0;
        list-style: none;
    }

        .product-grid .product-links li {
            display: inline-block;
            transform: scale(0);
            transition: all 0.3s ease 0s;
        }

            .product-grid .product-links li:first-child,
            .product-grid:hover .product-links li {
                transform: scale(1);
            }

            .product-grid .product-links li a {
                color: #042954;
                font-size: 13px;
                font-weight: 500;
                text-align: center;
                line-height: 29px;
                height: 30px;
                width: 30px;
                border: 1px solid #042954;
                display: block;
                transition: all 0.3s ease 0s;
            }

                .product-grid .product-links li a:hover {
                    color: #fff;
                    background: #08297e;
                }

            .product-grid .product-links li:first-child a {
                color: #fff;
                background-color: #08297e;
                width: auto;
                padding: 0 8px;
                border-color: #013b7e;
                border-radius: 4px;
            }

                .product-grid .product-links li:first-child a:hover {
                    color: #fff;
                    background: #60bdc8;
                    border-color: #60bdc8;
                }

@media screen and (max-width: 990px) {
    .product-grid {
        margin: 0 0 15px;
    }
}

/*END*/
