/*! HTML5 Boilerplate v5.2.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.
 */

/* ==========================================================================
   Global And Basic Styles
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}
figure {
    margin: 0;
}
textarea {
    resize: vertical;
}
img {
    max-width: 100%;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}
::-moz-selection {
    background: #a67c52;
    color: white;
    text-shadow: none;
}
::selection {
    background: #a67c52;
    color: white;
    text-shadow: none;
}

/**********************************************************************************************
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
                                        SCSS VARIABLES 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
***********************************************************************************************/
$primaryColor: #333333;
$secondryColor: #a67c52;
$thirtaryColor: #656565;
$borderColor: #eeeeee;
$oswaldFont: 'Oswald', Helvetica, Arial, sans-serif;
$montserratFont: 'Montserrat', Helvetica, Arial, sans-serif;
$openSansFont: 'Open Sans', Helvetica, Arial, sans-serif;

/**********************************************************************************************
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
                                        ANIMATIONS
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
***********************************************************************************************/
@-webkit-keyframes stickyNavFadeIn {

    from {
        -webkit-transform: translateY(-100%);
        -ms-transform:     translateY(-100%);
        transform:         translateY(-100%);
        visibility: hidden;
        opacity: 0;
    }
    to {
        -webkit-transform: translateY(0);
        -ms-transform:     translateY(0);
        transform:         translateY(0);
        visibility: visible;
        opacity: 1;
    }
}
@keyframes stickyNavFadeIn {

    from {
        -webkit-transform: translateY(-100%);
        -ms-transform:     translateY(-100%);
        transform:         translateY(-100%);
        visibility: hidden;
        opacity: 0;
    }
    to {
        -webkit-transform: translateY(0);
        -ms-transform:     translateY(0);
        transform:         translateY(0);
        visibility: visible;
        opacity: 1;
    }
}



/**********************************************************************************************
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
                                         BASE STYLES
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
***********************************************************************************************/
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: $montserratFont;
    font-size: 13px;
    font-weight: 400;
    background: #333333;
    overflow-x: hidden;
}
section {
    overflow: hidden;
}
a {
    color: $primaryColor;

    -webkit-transition: all 0.3s ease;
    -moz-transition:    all 0.3s ease;
    transition:         all 0.3s ease;

    &:active,
    &:focus,
    &:hover {
        color: $secondryColor;
        text-decoration: none;
    }
}
input, textarea {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;

    &:focus {
        outline: none;
    }
}
input,
input[type=text],
input[type=email],
input[type=tel],
input[type=search] {
    -webkit-appearance: none;
    border-radius: 0;
}

/* Typography */
h1,h2,h3,h4,h5,h6{ margin-bottom: 0.5em; line-height: 1.5; }
h1 { font-size: 25px; }
h2 { font-size: 22px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p { margin: 0 0 2em 0; }
ul, ol { margin: 0 0 0.3em 0; padding: 0; }

/* Shortcodes */
.grey-bg {
    background: #787878;
}

.align-left {
    text-align: left !important;
}
.align-center {
    text-align: center !important;
}
.align-right {
    text-align: right !important;
}

.uppercase {
    text-transform: uppercase !important;
}

/**********************************************************************************************
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
                                        LAYOUT STYLES 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
***********************************************************************************************/
#wrapper {
    background: #ffffff;
    position: relative;
    overflow-x: hidden;

    &:after {
        content: '';
        display: inline-block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 15;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        -webkit-transition: all 0.5s cubic-bezier(.57,.21,.39,.84);
        -moz-transition:    all 0.5s cubic-bezier(.57,.21,.39,.84);
        transition:         all 0.5s cubic-bezier(.57,.21,.39,.84);
    }
}
#main-header {
    position: relative;

    > .container {

        > .row {

            [class^=col-] {
                position: static;
            }
        }
    }
}
.sidebar {
    margin-bottom: 90px;
}
#sideheader {
    display: block;
    width: 300px;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    background: #ffffff;
    -webkit-transition: all 0.5s cubic-bezier(.57,.21,.39,.84);
    -moz-transition:    all 0.5s cubic-bezier(.57,.21,.39,.84);
    transition:         all 0.5s cubic-bezier(.57,.21,.39,.84);
    -webkit-transform: translateX(-100%);
    -ms-transform:     translateX(-100%);
    transform:         translateX(-100%);
}
#main-footer, #bottom-footer {
    background: #282828;
    color: $thirtaryColor;

    a {
        color: $thirtaryColor;

        &:hover {
            color: #ffffff !important;
        }
    }
}
#main-footer {
    padding-top: 53px;

    .row {
        margin-right: -30px;
        margin-left: -30px;
    }
    [class^=col-] {
        padding: 0 30px;
    }
}

/**********************************************************************************************
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
                                        MODULES STYLES 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
***********************************************************************************************/

/* Section Title */
.section-title {
    text-align: center;

    h4 {
        font-family: $montserratFont;
        font-size: 14px;
        text-transform: uppercase;
        position: relative;

    }
    .section-title-inner {
        display: table;
        width: 100%;

        h4,
        > span {
            display: table-cell;
            vertical-align: middle;
            width: 1%;
            padding: 0;
            white-space: nowrap;
        }
        h4 {
            width: 0.1%;
        }
        > span {
            height: 1px;

            span {
                display: block;
                height: 1px;
                width: 100%;
                background-color: #d2d2d2;
            }
        }
    }
}

/* Text Block */
.text-block {

    p {
        font-family: $openSansFont;
        font-size: 14px;
        line-height: 24px;
    }
}

/* Header Holder */
.header-holder {
    display: none;

    & + .header-holder {
        display: none;
    }
}

/* Button */
.button {
    display: inline-block;
    padding: 13px 35px;
    border: 1px solid #777777;
    font-size: 12px;
    color: $secondryColor;
    text-transform: uppercase;

    &:hover {
        background-color: $primaryColor;
        border-color: $primaryColor;
    }
}

/* Top Nav */
.top-nav-wrapper {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    align-content: center;
    -webkit-align-content: center;
    height: 56px;
    border-top: 6px solid #333333;
    border-bottom: 1px solid #d2d2d2;

    .top-nav {
        float: left;

        li {
            display: inline-block;
            margin-right: 26px;
            font-size: 12px;
            vertical-align: middle;

            i {
                font-size: 19px;
            }
        }
    }
}

/* Search Container */
.search-container {
    float: right;
    position: relative;

    form {
        position: relative;
        float: right;

        input[type=search] {
            padding: 4px 10px;
            border: 1px solid $borderColor;
            font-size: 11px;
            position: absolute;
            top: 0;
            right: 0;
            z-index: 20;
            -webkit-transform-origin: right center;
            -moz-transform-origin:    right center;
            -ms-transform-origin:     right center;
            transform-origin:         right center;
            -webkit-transform: scaleX(0);
            -ms-transform:     scaleX(0);
            transform:         scaleX(0);
            -webkit-transition: all 0.3s cubic-bezier(0,.01,.14,.74);
            -moz-transition:    all 0.3s cubic-bezier(0,.01,.14,.74);
            transition:         all 0.3s cubic-bezier(0,.01,.14,.74);

            &::-webkit-input-placeholder { color: #888888; }
            &:-moz-placeholder { color: #888888; }
            &::-moz-placeholder { color: #888888; }
            &:-ms-input-placeholder { color: #888888; }
        }
    }
    .trigger {
        margin-left: 12px;
        float: right;
        font-size: 16px;
        line-height: 1.5;
    }
    & + .modules {
        margin-right: 10px;
        padding-right: 35px;
        border-right: 1px solid #d2d2d2;
    }
}
.nav-trigger {
    display: inline-block;
    margin-right: 30px;
    float: left;

    .bars {
        display: inline-block;
        width: 16px;
        height: 20px;
        padding-top: 3px;

        span {
            display: inline-block;
            width: 16px;
            height: 3px;
            float: left;
            margin-bottom: 2px;
            background: $primaryColor;
        }
    }
}

/* Sticky Nav */
.sticky-nav {
    display: flex;
    align-items: center;
    height: 56px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    border-top: 6px solid #333333;
    border-bottom: 1px solid #d2d2d2;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;

    .logo-container,
    .main-nav-items {
        float: left;
    }
    .logo-container {
        margin-right: 25px;
    }
    .main-nav-items {

        li {
            font-size: 15px;
            padding: 3px 0;

            ul {


            }
        }
        &:after {
            content: none;
        }
    }
    .search-container {

        form {

            input[type=search] {
                top: 36px;
                right: -30px;
                left: auto;
                -webkit-transform-origin: top center;
                -moz-transform-origin:       top center;
                -ms-transform-origin:       top center;
                transform-origin:           top center;
                -webkit-transform: scaleY(0);
                -ms-transform:     scaleY(0);
                transform:         scaleY(0);
            }
        }
    }
}

/* Main Nav */
.main-nav {
    margin-bottom: 42px;
    text-align: center;

    .logo-wrapper {
        padding: 45px 0;
    }
    .social-icons {
        display: inline-block;
        margin-left: 10px;
    }
}

/* Main nav items */
.main-nav-items {
    display: inline-block;
    margin: 0;
    padding-right: 10px;
    position: relative;

    &:after {
        content: '';
        display: inline-block;
        width: 1px;
        height: 17px;
        background: #858585;
    }
    li {
        display: inline-block;
        margin-right: 30px;
        padding: 8px 0;
        font-family: $oswaldFont;
        font-size: 18px;
        text-transform: uppercase;
        position: relative;

        ul {
            position: absolute;
            top: 100%;
            left: 0;
            z-index: 10;
            padding: 5px 0;
            border: 1px solid $borderColor;
            text-align: left;
            background: #fff;
            opacity: 0;
            visibility: hidden;
            -webkit-transition: all 0.2s ease;
            -moz-transition:    all 0.2s ease;
            transition:         all 0.2s ease;
            -webkit-transform: translateY(10px);
            -ms-transform:     translateY(10px);
            transform:         translateY(10px);

            li {
                display: block;
                margin: 0;
                padding: 0;
                font-size: 14px;

                a{
                    display: block;
                    padding: 10px 85px 10px 20px;

                    &:hover {
                        background: #f5f5f5;
                        color: $primaryColor;
                    }
                }
                ul {
                    top: 0;
                    left: 100%;
                    -webkit-transform: translateX(10px);
                    -ms-transform:     translateX(10px);
                    transform:         translateX(10px);
                }
            }
        }
        &.active {

            > a {
                color: $secondryColor;
            }
        }
        &.has-children {

            > a:after {
                content: '\f107';
                font: normal normal normal 18px/1 FontAwesome;
                padding-left: 3px;
            }
        }
        &:hover {

            > ul {
                opacity: 1;
                visibility: visible;
                -webkit-transform: translateX(0) translateY(0);
                -ms-transform:     translateX(0) translateY(0);
                transform:         translateX(0) translateY(0);
            }
        }
    }
}

/* Mobile Nav Trigger */
.mobile-nav-trigger {
    display: block;
    margin: 0 auto 50px;

    .bars {
        display: inline-block;
        width: 25px;

        span {
            display: inline-block;
            width: 25px;
            height: 3px;
            float: left;
            margin-bottom: 3px;
            background: $primaryColor;

            &:last-child {
                margin-bottom: 0;
            }
        }
    }
}

/* Header Modules */
.modules {
    margin-top: 5px;
    float: right;

    > div {
        float: left;
        margin-left: 25px;
        position: relative;
    }
    .cart {
        padding-bottom: 5px;

        > a {

            span {

                i {
                    color: $secondryColor;
                }
            }
        }
        .cart-items-container {
            padding: 15px 0 0;
            min-width: 300px;
            position: absolute;
            top: 100%;
            right: 0;
            z-index: 99;
            border: 1px solid #dfdfdf;
            background-color: #ffffff;
            opacity: 0;
            visibility: hidden;
            -webkit-transition: all 0.3s ease;
            -moz-transition:    all 0.3s ease;
            transition:         all 0.3s ease;
            -webkit-transform: translateY(30px);
            -moz-transform:    translateY(30px);
            -ms-transform:     translateY(30px);
            transform:         translateY(30px);

            .cart-item {
                margin: 0 15px 15px;
                padding-bottom: 15px;
                border-bottom: 1px dotted #d6d6d6;
                position: relative;

                &:before,
                &:after {
                    content: '';
                    display: table;
                }
                &:after {
                    clear: both;
                }
                a.remove-link {
                    position: absolute;
                    top: 0;
                    right: 0;
                    color: #d2d2d2;

                    &:hover {
                        color: $primaryColor;
                    }
                }
                figure {
                    float: left;
                    width: 78px;
                    height: auto;
                    margin-right: 18px;
                }
                .item-info {
                    font-size: 10px;
                    font-weight: 400;
                    overflow: hidden;

                    p {
                        margin: 0 0 16px;
                        color: #333333;
                    }
                    ins {
                        border-bottom: none;
                        text-decoration: none;
                    }
                    .categories {
                        margin-bottom: 10px;

                        li {
                            font-family: $montserratFont;
                            text-transform: uppercase;

                            &:after {
                                content: ',';
                            }
                            &:last-child:after {
                                content: none;
                            }
                            a {
                                color: $secondryColor;
                            }
                        }
                    }
                    h6 {
                        margin-bottom: 12px;
                        font-family: $openSansFont;
                        font-size: 10px;
                        font-weight: 400;

                        a {
                            color: #666666;
                        }
                    }
                }
            }
            .cart-footer {
                border-top: 1px solid #dfdfdf;
                margin-top: -16px;
                padding: 15px;

                a {
                    display: block;
                    padding: 13px;
                    border: 1px solid #dfdfdf;
                    text-align: center;
                    text-transform: uppercase;

                    &:hover {
                        color: $secondryColor;
                        background-color: $primaryColor;
                        border-color: $primaryColor;
                    }
                }
            }
        }
        &:hover {

            .cart-items-container {
                opacity: 1;
                visibility: visible;
                -webkit-transform: translateY(0);
                -moz-transform:    translateY(0);
                -ms-transform:     translateY(0);
                transform:         translateY(0);
            }
        }
    }
}

/* Sideheader */
#sideheader {

    header {
        position: relative;
        margin-bottom: 18px;

        .logo-container {
            padding: 16px;
            border-bottom: 1px solid #d2d2d2;
            text-align: center;

            img {
                max-width: 170px;
            }
        }
        .sideheader-close-btn {
            display: inline-block;
            width: 17px;
            height: 17px;
            position: absolute;
            top: 50%;
            right: 20px;
            padding-top: 10px;
            margin-top: -9px;
            -webkit-transition: all 0.3s ease;
            -moz-transition:    all 0.3s ease;
            transition:         all 0.3s ease;

            span {
                display: inline-block;
                width: 17px;
                height: 1px;
                float: left;
                margin-top: -2px;
                background: #868686;
                -webkit-transition: all 0.3s ease;
                -moz-transition:    all 0.3s ease;
                transition:         all 0.3s ease;
                -webkit-transform: rotateZ(45deg);
                -ms-transform:     rotateZ(45deg);
                transform:         rotateZ(45deg);

                &:nth-child(2) {
                    -webkit-transform: rotateZ(-45deg);
                    -ms-transform:     rotateZ(-45deg);
                    transform:         rotateZ(-45deg);
                }
            }
            &:hover {

                span {
                    background: $primaryColor;
                }
            }
        }
    }
    .widget {
        margin-bottom: 15px;
        padding-top: 15px;
        padding-left: 30px;
        padding-right: 30px;
        border-bottom: 1px solid #d2d2d2;

        ul {
            margin-bottom: 18px;

            li {
                padding-bottom: 12px;
                margin-bottom: 12px;
                border-bottom: none;
            }
        }
        &.widget_socials {
            text-align: center;

            ul {
                padding-left: 0;
                padding-right: 0;
                margin-bottom: 4px;
            }
        }
        &.widget_customAd {
            padding-bottom: 30px;
            text-align: center;
        }
    }
    .copyright {
        padding-top: 6px;
        margin-bottom: 22px;
        text-align: center;
        color: #656565;
        font-size: 12px;
    }
}

/* Social Icons */
.social-icons {
    margin: 0;

    li {
        display: inline-block;
        margin: 0 6px;
        font-size: 16px;
    }
    &.small {

        li {
            font-size: 14px;
        }
    }
    &.style2 {

        li {
            margin: 3px 3px 3px 0;

            a {
                display: inline-block;
                padding: 6px 21px;
                border: 1px solid #777777;
                font-size: 11px;

                i {
                    display: inline-block;
                    margin-right: 6px;
                    font-size: 12px;
                }
                &:hover {
                    border-color: $primaryColor;
                    background: $primaryColor;
                    color: $secondryColor;
                }
            }
        }
    }
}

/* Blog Posts Container */
.contents-inner {
    margin-right: -15px;
    margin-left: -15px;
    margin-bottom: 30px;
}

/* Blog Post */
.blog-post {
    margin-bottom: 30px;
    position: relative;
    text-align: center;

    header {

        img {
            width: 100%;
            margin-bottom: 15px;
        }
        h3 {
            font-family: $oswaldFont;
            padding: 0 15px;

        }
        .categories {
            margin-bottom: 0.5em;

            li {

                a {
                    display: inline-block;
                    padding: 6px 12px 5px;
                    border: 1px solid #777777;
                    font-size: 10px;
                    color: $secondryColor;
                    text-transform: uppercase;

                    &:hover {
                        background: $primaryColor;
                        border-color: $primaryColor;
                    }
                }
            }
        }
        iframe {
            width: 100%;
            height: auto;
            min-height: 390px;
            margin-bottom: 25px;
        }
    }
    .post-content {
        font-family: $openSansFont;
        line-height: 18px;
    }
    aside {
        float: left;
    }
    .meta {
        font-size: 12px;
        margin-bottom: 13px;
        color: #808080;

        span {

            &:after {
                content: '/';
                padding-left: 5px;
            }
            &:last-child {

                &:after {
                    content: none;
                }
            }
        }
        a {
            color: #808080;

            &:hover {
                color: $primaryColor;
            }
        }
    }
    footer {

        .meta {
            margin-bottom: 0;
        }
    }
    .post-share {
        padding-bottom: 35px;
        border-bottom: 1px solid $borderColor;

        .counter {
            float: left;
            margin-right: 13px;
            text-align: center;
            margin-bottom: 0;

            span {
                display: block;
                font-size: 20px;
            }
        }
    }
    .post-meta {
        padding-top: 18px;
        padding-bottom: 18px;
        margin-bottom: 60px;
        border-bottom: 1px solid $borderColor;
        font-family: $openSansFont;
        text-align: left;

        .author,
        .post-tags {
            display: inline-block;
        }
        .author {
            margin-right: 20px;

            a {
                color: $secondryColor
            }
        }
        .post-tags {

            ul {
                display: inline-block;
                margin-left: 3px;

                li {
                    display: inline-block;

                    &:after {
                        content: ',';
                    }
                    &:last-child:after {
                        content: none;
                    }
                }
            }
        }
        p {
            margin-bottom: 0;
        }
    }
    .post-author {
        padding-bottom: 60px;
        margin-bottom: 35px;
        border-bottom: 1px solid $borderColor;

        .avatar {
            float: left;
            margin-right: 30px;
        }
        .author-details {
            overflow: hidden;

            h2 {
                margin-top: 14px;
                font-size: 14px;
                text-transform: uppercase;
            }
            p {
                margin-bottom: 10px;
                font-family: $openSansFont;
                font-size: 12px;
                line-height: 22px;
            }
            .social-icons {

                a {
                    color: #bbbbbb;

                    &:hover {
                        color: $primaryColor
                    }
                }
            }
        }
    }
    .related-posts {
        margin-bottom: 40px;
        border-bottom: 1px solid $borderColor;
        text-align: center;

        > h6 {
            margin-bottom: 30px;
            text-transform: uppercase;
        }
        article {
            margin-bottom: 25px;
            text-align: center;

            header {
                
                img {
                    margin-bottom: 15px;
                }
                h3 {
                    padding: 0 10px;
                    margin-bottom: 10px;
                    font-family: $montserratFont;
                    font-size: 13px;
                }
            }
            .meta {
                font-size: 11px;
            }
        }
    }
    .post-comments {

        > h6 {
            margin-bottom: 28px;
            text-transform: uppercase;
            text-align: center;
        }
        .comments-list {
            margin-bottom: 65px;

            .comment {
                padding-bottom: 15px;
                margin-bottom: 35px;
                border-bottom: 1px dotted $borderColor;
                font-family: $openSansFont;
                font-size: 12px;
                line-height: 22px;

                figure {
                    float: left;
                    margin-right: 22px;
                }
                .comment-content {
                    overflow: hidden;

                    .comment-author {
                        margin-bottom: 0;
                        margin-top: 5px;
                        font-family: $montserratFont;
                        font-size: 13px;
                        text-transform: uppercase;
                    }
                    .comment-meta {
                        margin-bottom: 6px;
                        font-family: $openSansFont;
                        font-size: 11px;
                        color: #999999;

                        time {
                            margin-right: 5px;

                            &:after {
                                content: '|';
                                margin-left: 5px;
                            }
                        }
                        a {
                            color: #999999;

                            &:hover {
                                color: $primaryColor;
                            }
                        }
                    }
                }
            }
        }
        .comment-form-container {

            > h6 {
                text-transform: uppercase;
                margin-bottom: 45px;
            }
        }
    }
    &.featured-post {
        margin-bottom: 20px;

        header {

            img {
                margin-bottom: 7px;
            }
            h3 {
                padding: 0 45px;
                font-family: $montserratFont;
                font-size: 14px;
            }
        }
    }
}

/* Blog Post Slider */
.blog-post-slider {
    margin-bottom: 120px;
    overflow: hidden;

    .blog-post {
        margin-bottom: 0;

        header {

            img {
                margin-bottom: 23px;
            }
            h3 {
                padding: 0 85px;
                margin-bottom: 0.47em;
                font-size: 25px;
                line-height: 1.4em;
            }
            .categories {
                margin-bottom: 10px;
            }
        }
    }
    &:hover {

        .slick-prev,
        .slick-next {
            -webkit-transform: translateX(0);
            -ms-transform:     translateX(0);
            transform:         translateX(0);
        }
    }
}
.slick-prev,
.slick-next {
    width: 35px;
    height: 70px;
    background: #eeeeee;
    top: 34%;
    -webkit-transition: all 0.3s ease;
    -moz-transition:    all 0.3s ease;
    transition:         all 0.3s ease;

    &:before,
    &:after {
        font-size: 28px;
        color: #333333;
        opacity: 1;
    }
    &:hover {
        background: #ffffff;
    }
}
.slick-prev {
    -webkit-transform: translateX(-100%);
    -ms-transform:     translateX(-100%);
    transform:         translateX(-100%);
}
.slick-next {
    -webkit-transform: translateX(100%);
    -ms-transform:     translateX(100%);
    transform:         translateX(100%);
}

/* Blog Tabs */
.blog-tabs {
    margin-bottom: 35px;
    text-align: center;

    a {
        display: inline-block;
        width: 50%;
        float: left;
        padding: 17px 0;
        border: 1px solid $borderColor;
        font-family: $oswaldFont;
        font-size: 22px;
        text-transform: uppercase;
        color: #e0e0e0;

        &.active {
            color: $primaryColor;
        }
        &:last-child {
            border-left: none;
        }
        &:hover {
            background: $primaryColor;
            border-color: $primaryColor;
            color: #ffffff;
        }
    }
}

/* Tab Contents */
.tab-contents {
    display: none;

    &.active {
        display: block;
    }
}

/* Blog Navigation */
.blog-navigation {
    display: block;
    width: 100%;
    margin-bottom: 55px;

    .ajax-load-more {
        display: block;
        width: 100%;
        padding: 18px;
        border: 1px solid #777777;
        font-size: 13px;
        text-transform: uppercase;
        text-align: center;
        color: $secondryColor;

        &:hover {
            background: $primaryColor;
            border-color: $primaryColor;
            color: #ffffff;
        }
    }
    .blog-navigation-link {
        display: inline-block;
        padding: 12px 22px;
        margin-top: 30px;
        border: 1px solid #777777;
        font-size: 12px;
        text-transform: uppercase;

        i {
            display: inline-block;
            font-size: 1.2em;
            color: $secondryColor;
        }
        &.newer-posts {
            float: left;

            i {
                margin-right: 6px;
            }
        }
        &.older-posts {
            float: right;

            i {
                margin-left: 6px;
            }
        }
        &:hover {
            background: $primaryColor;
            border-color: $primaryColor;
            color: $secondryColor;
        }
    }
}

/* Blockquote */
blockquote {
    padding-left: 20px;
    border-left: 3px solid $borderColor;
    font-family: $openSansFont;
    font-size: 17px;
    line-height: 27px;
    color: #888888;

    p {
        margin-bottom: 1em;
    }
}

/* Widgets */
.widget {
    margin-bottom: 30px;

    > h5 {
        margin-bottom: 30px;
        padding-bottom: 12px;
        border-bottom: 1px solid $borderColor;
        font-size: 16px;
        text-transform: uppercase;
    }
    ul {

        li {
            padding-bottom: 15px;
            margin-bottom: 15px;
            border-bottom: 1px dotted $borderColor;
        }
    }
}
.widget_customAd {
    margin-bottom: 40px;
    text-align: center;
}
.widget_search {

    form {
        position: relative;
        display: block;
        margin-bottom: 60px;

        input[type=search] {
            display: block;
            width: 100%;
            padding: 7px 12px;
            border: 1px solid #777777;
            font-size: 11px;
            -webkit-transition: all 0.3s ease;
            -moz-transition:    all 0.3s ease;
            transition:         all 0.3s ease;

            &::-webkit-input-placeholder { color: #444444; }
            &:-moz-placeholder { color: #444444; }
            &::-moz-placeholder { color: #444444; }
            &:-ms-input-placeholder { color: #444444; }

            &:focus {
                border-color: $secondryColor;
            }
        }
        input[type=submit] {
            display: inline-block;
            width: 30px;
            height: 30px;
            position: absolute;
            top: 50%;
            right: 0;
            background: transparent;
            border: none;
            font: normal normal normal 13px/1 FontAwesome;

            -webkit-transform: translateY(-50%);
            -ms-transform:     translateY(-50%);
            transform:         translateY(-50%);
            -webkit-transition: all 0.3s ease;
            -moz-transition:    all 0.3s ease;
            transition:         all 0.3s ease;

            &:hover {
                color: $secondryColor;
            }
        }
    }
}
.widget_socials {
    display: block;

    ul {
        text-align: center;
        
        li {
            padding-top: 0;
            font-size: 14px;
            border-bottom: none;
        }
    }
}
.widget_latest_posts_entries {
    margin-bottom: 40px;

    li {

        &:before,
        &:after {
            content: ' ';
            display: table;
        }
        &:after {
            clear: both;
        }
        &:last-child {
            border-bottom: none;
        }
    }
    .featured-image {
        float: left;
        margin-right: 16px;
    }
    .post-content {

        p {
            line-height: 1.5;
            margin-bottom: 4px;
        }
        span {
            font-size: 11px;
            color: $secondryColor;

            &:after {
                content: '/';
                margin-left: 4px;
            }
            &:last-child:after {
                content: none;
            }
        }
    }
}
.widget_categories {
    margin-bottom: 50px;

    ul {

        li {
            color: $secondryColor;

            a {
                padding-right: 2px;
                color: #656565;

                &:hover {
                    color: $secondryColor;
                }
            }
        }
    }
}
.widget_tag_cloud {
    margin-bottom: 45px;

    a {
        display: inline-block;
        padding: 6px 14px;
        margin: 0 2px 6px 0;
        border: 1px solid #777777;
        font-family: $openSansFont;
        font-size: 10px;
        text-transform: uppercase;
        color: $secondryColor;

        &:hover {
            background: $primaryColor;
            border-color: $primaryColor;
        }
    }
}
.widget_text {

    p {
        margin-bottom: 20px;
        font-family: $openSansFont;
        font-size: 13px;
        line-height: 24px;
    }
    img {
        margin: 10px 0 25px;

        &.small {
            margin: 0;
        }
    }
    ul {

        li {
            border-bottom: none;
        }
    }
    .contact-info {
        margin-bottom: 25px;

        li {
            margin-bottom: 13px;
            padding-bottom: 0;

            i {
                display: inline-block;
                width: 26px;
                height: 26px;
                margin-right: 10px;
                line-height: 26px;
                text-align: center;
                border: 1px solid #808080;
                border-radius: 50em;
            }
        }
    }
}
.subscribe-form {
    position: relative;
    margin-top: 30px;

    input {
        display: block;
        width: 100%;
        padding: 11px 15px;
        border: 1px solid $borderColor;
        background: transparent;
        -webkit-transition: all 0.3s ease;
        -moz-transition:    all 0.3s ease;
        transition:         all 0.3s ease;

        &::-webkit-input-placeholder { color: #444444; }
        &:-moz-placeholder { color: #444444; }
        &::-moz-placeholder { color: #444444; }
        &:-ms-input-placeholder { color: #444444; }
    }
    input[type=submit] {
        display: inline-block;
        width: 40px;
        height: 40px;
        position: absolute;
        top: 0;
        right: 0;
        font: normal normal normal 18px/1 FontAwesome;

        &:hover {
            background: $primaryColor;
            border-color: $primaryColor;
            color: #ffffff;
        }
    }
    label {
        display: block;
        margin-top: 15px;
    }
}

/* CustomAd Container */
.customAd-container {
    text-align: center;
    margin-bottom: 50px;

    img {
        width: auto;
    }
}

/* Bottom Footer */
#bottom-footer {
    padding-top: 20px;
    padding-bottom: 25px;
    text-align: center;

    p {
        margin-bottom: 0;
        font-size: 12px;
    }
    .social-icons {
        padding: 25px;
        margin-bottom: 25px;
        border-top: 1px solid #404040;
        border-bottom: 1px solid #404040;

        li {

            a {
                color: $secondryColor;
            }
        }
    }
}

/* Form */
.solstice-form {

    label {
        display: block;
        margin-bottom: 5px;
        font-family: $openSansFont;
    }
    input,
    textarea {
        width: 100%;
        margin-bottom: 40px;
        padding: 5px 10px;
        border: 1px solid #cccccc;
        -webkit-transition: all 0.3s ease;
        -moz-transition:    all 0.3s ease;
        transition:         all 0.3s ease;

        &:focus {
            border-color: $primaryColor
        }
    }
    input {
        height: 35px;

        &[type=submit] {
            width: auto;
            height: auto;
            padding: 10px 28px;
            background: transparent;

            &:hover {
                border-color: $primaryColor;
                background: $primaryColor;
                color: $secondryColor;
            }
        }
    }
    textarea {
        padding: 10px;
        margin-bottom: 35px;
    }
}

/* Heading */
.heading {
    margin-bottom: 35px;
    text-align: center;

    a{
        display: block;
        width: 100%;
        padding: 17px;
        border: 1px solid $borderColor;
        font-family: $oswaldFont;
        font-size: 22px;
        text-transform: uppercase;
    }
}

/* Top Message */
.top-message {
    display: block;
    padding: 15px 17px;
    background: #787878;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    position: relative;

    p,
    a {
        color: white;
        margin: 0;
    }
    .close-btn {
        display: inline-block;
        width: 12px;
        height: 12px;
        position: absolute;
        top: 50%;
        right: 15px;
        margin-top: -6px;
        background: url(../img/theme-assets/close-btn.png) no-repeat;
        cursor: pointer;
    }

    > .container {

        > .row > .col-md-12 {
            position: static;
        }
    }
    ::-moz-selection {
        background: $primaryColor;
        color: white;
        text-shadow: none;
    }
    ::selection {
        background: $primaryColor;
        color: white;
        text-shadow: none;
    }
}

/* Image Slider */
.image-slider {
    overflow: hidden;

    .slide {
        position: relative;
        color: #ffffff;

        .texts {
            position: absolute;
            top: 50%;
            left: 125px;
            -webkit-transform: translateY(-50%);
            -moz-transform:    translateY(-50%);
            -ms-transform:     translateY(-50%);
            transform:         translateY(-50%);

            p {
                padding-bottom: 18px;
                margin-bottom: 12px;
                font-size: 12px;
                font-family: $montserratFont;
                text-transform: uppercase;
                position: relative;

                &:after {
                    content: '';
                    display: inline-block;
                    width: 50px;
                    height: 2px;
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    background-color: #ffffff;
                }
            }
            .button,
            h4,
            h5 {
                font-family: 'Open Sans Condensed', sans-serif;
                line-height: 1;
                text-transform: uppercase;
                margin: 0;
                color: #ffffff;
            }
            h4 {
                margin-bottom: 5px;
                font-size: 48px;
            }
            h5 {
                margin-bottom: 7px;
                font-size: 34px;
            }
            h6 {
                margin-bottom: 12px;
                font-size: 12px;
                text-transform: uppercase;
            }
            .button {
                display: inline-block;
                padding: 9px 35px;
                border: 2px solid #ffffff;
            }
        }
    }
    .slick-prev,
    .slick-next {
        top: 50%;
        margin-top: -35px;
    }
    .slick-prev {
        -webkit-transform: translateX(0);
        -ms-transform:     translateX(0);
        transform:         translateX(0);
    }
    .slick-next {
        -webkit-transform: translateX(0);
        -ms-transform:     translateX(0);
        transform:         translateX(0);
    }
}

/* Promo Box */
.promo-box {
    position: relative;
    text-align: center;
    margin-bottom: 30px;

    img {
        width: 100%;
        height: auto;
    }
    .content {
        display: -webkit-flex;
        display: flex;
        align-items: center;
        -webkit-align-items: center;
        align-content: center;
        -webkit-align-content: center;
        justify-content: center;
        -webkit-justify-content: center;
        flex-direction: column;
        -webkit-flex-direction: column;
        padding: 15px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        position: absolute;
        top: 10px;
        left: 10px;
        bottom: 10px;
        right: 10px;
        color: #ffffff;

        &:before {
            content: '';
            display: inline-block;
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 0;
            background-color: #ffffff;
            -webkit-transition: all 0.3s ease;
            -moz-transition:    all 0.3s ease;
            transition:         all 0.3s ease;
            -webkit-transform: scaleX(0);
            -moz-transform:    scaleX(0);
            -ms-transform:     scaleX(0);
            transform:         scaleX(0);
        }
        h5,
        h6 {
            margin: 0;
            position: relative;
            z-index: 2;
        }
        h6 {
            margin: 0;
            font-family: $montserratFont;
            font-size: 12px;
            text-transform: uppercase;
        }
        h5 {
            margin: 0;
            font-family: $oswaldFont;
            font-size: 22px;
            text-transform: uppercase;
        }
        &:hover {
            color: $primaryColor;

            &:before {
                -webkit-transform: scaleX(1);
                -moz-transform:    scaleX(1);
                -ms-transform:     scaleX(1);
                transform:         scaleX(1);
            }
        }
    }
    &.big {

        .content {

            h5 {
                font-size: 29px;
            }
        }
    }
}

/* Brands */
.brands {
    margin-bottom: 50px;

    .brand {
        width: 20%;
        padding: 60px 0;
        float: left;
        text-align: center;
        border: 1px solid #dfdfdf;
        border-left-width: 0;

        &:first-child {
            border-left-width: 1px;
        }
    }
}

/* Product */
.product {
    margin-bottom: 50px;
    position: relative;
    text-align: center;

    .onsale,
    .new {
        display: inline-block;
        width: 40px;
        height: 40px;
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 2;
        border-radius: 50em;
        line-height: 40px;
        font-family: $montserratFont;
        font-size: 11px;
        text-transform: uppercase;
        text-align: center;
        background-color: $secondryColor;
        color: #ffffff;
    }
    .new {
        right: auto;
        left: 15px;
    }
    figure {
        margin-bottom: 23px;
        position: relative;

        img {
            width: 100%;
            height: auto;
        }
        .overlay {
            display: inline-block;
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 0;
            opacity: 0;
            visibility: hidden;
            color: #ffffff;
            background-color: rgba(0, 0, 0, 0.6);
            -webkit-transition: all 0.3s ease;
            -moz-transition:    all 0.3s ease;
            transition:         all 0.3s ease;

            .overlay-inner {
                display: -webkit-flex;
                display: flex;
                height: 100%;
                flex-direction: column;
                -webkit-flex-direction: column;
                align-items: center;
                -webkit-align-items: center;
                align-content: center;
                -webkit-align-content: center;
                justify-content: center;
                -webkit-justify-content: center;

                a {
                    display: inline-block;
                    padding: 10px 20px;
                    margin-bottom: 15px;
                    border: 1px solid #ffffff;
                    font-size: 10px;
                    text-transform: uppercase;
                    color: #ffffff;
                    -webkit-transform: translateY(-10px);
                    -moz-transform:    translateY(-10px);
                    -ms-transform:     translateY(-10px);
                    transform:         translateY(-10px);

                    &:hover {
                        background-color: #ffffff;
                        color: $primaryColor;
                    }
                }
                ul {
                    -webkit-transition: all 0.3s ease;
                    -moz-transition:    all 0.3s ease;
                    transition:         all 0.3s ease;
                    -webkit-transform: translateY(10px);
                    -moz-transform:    translateY(10px);
                    -ms-transform:     translateY(10px);
                    transform:         translateY(10px);

                    li {
                        display: inline-block;
                    }
                }
            }
        }
    }
    .category {
        margin-bottom: 6px;

        li {
            font-family: $montserratFont;
            font-size: 10px;
            text-transform: uppercase;

            a {
                color: $secondryColor;
            }
            &:after {
                content: ',';
            }
            &:last-child:after {
                content: none;
            }
        }
    }
    h3 {
        font-family: $openSansFont;
        font-size: 13px;
        font-weight: 400;

        a {
            color: #444444;

            &:hover {
                color: $secondryColor;
            }
        }
    }
    .price {
        font-family: $openSansFont;
        font-size: 12px;
        font-weight: 400;
    }
    del {
        color: #808080;
        margin-right: 8px;
    }
    ins {
        text-decoration: none;
    }
    &:hover {

        figure {

            .overlay {
                opacity: 1;
                visibility: visible;

                .overlay-inner {

                    a,
                    ul {
                        -webkit-transform: translateY(0);
                        -moz-transform:    translateY(0);
                        -ms-transform:     translateY(0);
                        transform:         translateY(0);
                    }
                }
            }
        }
    }
}

/* Shop Widget */
.shop-widget {

    > h3 {
        margin-bottom: 22px;
        padding-bottom: 14px;
        font-family: $montserratFont;
        font-size: 14px;
        text-transform: uppercase;
        border-bottom: 1px solid #dfdfdf;
    }
    > ul {

        li {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px dotted #dfdfdf;

            &:before,
            &:after {
                content: '';
                display: table;
            }
            &:after {
                clear: both;
            }
            figure {
                float: left;
                width: 60px;
                height: auto;
                margin-right: 11px;
            }
            .content {
                padding-top: 7px;
                overflow: hidden;

                .category {
                    margin-bottom: 4px;

                    li {
                        padding: 0;
                        margin: 0;
                        font-size: 10px;
                        text-transform: uppercase;

                        a {
                            color: $secondryColor;
                        }
                    }
                }
                h6 {
                    font-size: 11px;

                    a {
                        color: #555555;
                    }
                }
                .price {
                    margin: 0;
                    font-size: 11px;
                }
                del {
                    margin-right: 10px;
                    color: #808080;
                }
                ins {
                    text-decoration: none;
                }
            }
            &:last-child {
                border-bottom: none;    
            }
        }
    }
}

/**********************************************************************************************
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
                                        STATE RULES 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
***********************************************************************************************/

/* Sideheader */
.sideheader-is-visible {

    #wrapper {

        &:after {
            opacity: 1;
            visibility: visible;
        }
    }
    #sideheader {
        -webkit-transform: translateX(0);
        -ms-transform:     translateX(0);
        transform:         translateX(0);
    }
}

/* Search Container */
.search-container.form-is-showing {

    form {

        input[type=search] {
            -webkit-transform: scaleX(1);
            -ms-transform:     scaleX(1);
            transform:         scaleX(1);
        }
    }
}

/* Sticky Nav */
.sticky-nav {

    .search-container.form-is-showing {

        form {

            input[type=search] {
                -webkit-transform: scaleY(1);
                -ms-transform:     scaleY(1);
                transform:         scaleY(1);
            }
        }
    }
    &.sticky-nav-showing {
        -webkit-animation: stickyNavFadeIn 1s ease alternate both;
        animation: stickyNavFadeIn 1s ease alternate both;
    }
}

/* Blog Posts In List-view Mode */
.contents-inner.list-view {

    .blog-post {
        display: table;
        width: 100%;
        text-align: left;
        padding-bottom: 30px;
        margin-bottom: 30px;

        &:after {
            content: '';
            height: 1px;
            position: absolute;
            bottom: 0;
            left: 15px;
            right: 15px;
            background: $borderColor;
        }
        aside {
            width: 310px;
            margin-right: 30px;
        }
        .contents {
            overflow: hidden;
            text-align: left;
        }
        header {
            padding-top: 17px;
            margin-bottom: 5px;

            .categories {
                margin-bottom: 21px;
            }
            h3 {
                padding: 0;
                margin-bottom: 21px;
                font-size: 22px;
            }
            .meta {
                margin-bottom: 15px;
                color: #808080;

                span,
                a {
                    color: #808080;
                }
                a {

                    &:hover {
                        color: $primaryColor;
                    }
                }
            }
        }
        .post-content {
            font-family: $openSansFont;

            p {
                margin-bottom: 0;
                line-height: 18px;
            }
        }
    }
}

/* Main Footer */
#main-footer {

    .widget {
        margin-bottom: 30px;

        > h5 {
            border-bottom-color: #404040;
        }
        ul {

            li {
                border-bottom-color: #404040;
            }
        }
        form {

            input {
                border-color: #404040;
                color: #656565;

                &::-webkit-input-placeholder { color: #444444; }
                &:-moz-placeholder { color: #444444; }
                &::-moz-placeholder { color: #444444; }
                &:-ms-input-placeholder { color: #444444; }
            }
            input[type=submit]{

                &:hover {
                    background: $secondryColor;
                    border-color: $secondryColor;
                    color: #ffffff;
                }
            }
        }
        &.widget_tag_cloud {

            a:hover {
                border-color: $secondryColor;
                background-color: $secondryColor;
                color: #ffffff;
            }
        }
    }
}

/* Single And Archive Pages */
.archive,
.single {

    .main-nav {
        padding-bottom: 38px;
        margin-bottom: 50px;
        border-bottom: 1px solid $borderColor;
    }
    .blog-post {
        text-align: left;

        header {

            img {
                margin-bottom: 32px;
            }
            h3 {
                padding: 0;
            }
            .meta {
                margin-bottom: 35px;
                color: $secondryColor;

                span,
                a {
                    color: $secondryColor;
                }
            }
            .blog-post-slider {
                margin-bottom: 30px;

                figure {

                    img {
                        margin-bottom: 0;
                    }
                }
                .slick-prev,
                .slick-next {
                    top: 50%;
                    margin-top: -35px;
                }
            }
        }
        .post-content {
            font-family: $openSansFont;
            font-size: 14px;
            line-height: 25px;

            h1,
            h2,
            h3,
            h4,
            h5,
            h6 {
                font-family: $oswaldFont;
                margin-bottom: 1em;
            }
            p {
                margin-bottom: 1.65em;
            }
            a {
                color: $secondryColor;
            }
        }
    }
}
.single {

    .blog-post {

        header {

            h3 {
                font-size: 25px;
            }
        }
    }
}
.archive {

    .solstice-form {
        margin-top: 38px;
    }
}

/* Fallbacks for browsers that not support flexbox */
.no-flexbox {

    .top-nav-wrapper {

        > .container,
        > .container > .row,
        > .container > .row > [class^=col-] {
            height: 100%;
        }
        > .container > .row {
            width: 100%;
        }
        > .container > .row > [class^=col-] {
            display: block;
        }
        .top-nav li,
        .nav-trigger .bars{
            height: 100%;
            display: table-cell;
            vertical-align: middle;
        }
        .search-container {

            form,
            .trigger {
                display: table;
                height: 50px;
            }
            form .input-container,
            .trigger i {
                display: table-cell;
                vertical-align: middle;
                height: 100%;
            }
            form input[type=search] {
                top: 50%;
                -webkit-transform: translateY(-50%) scaleX(0);
                -ms-transform:     translateY(-50%) scaleX(0);
                transform:         translateY(-50%) scaleX(0);
            }
        }
        .search-container.form-is-showing form input[type=search] {
            -webkit-transform: translateY(-50%) scaleX(1);
            -ms-transform:     translateY(-50%) scaleX(1);
            transform:         translateY(-50%) scaleX(1);    
        }
        .top-nav li {
            padding-right: 26px;
        }
    }
    .nav-trigger,
    .top-nav,
    .search-container {
        height: 100%;
        display: table;
    }
    .sticky-nav {

        > .container,
        > .container > .row,
        > .container > .row > .col-md-12,
        > .container > .row > .col-md-12,
        .search-container .trigger,
        .search-container form,
        .main-nav-items,
        .logo-container {
            display: table;
            height: 100%;
        }
        .nav-trigger .bars,
        .logo-container a,
        .search-container .trigger i,
        .main-nav-items > li {
            display: table-cell;
            vertical-align: middle;
        }
        .search-container form input[type=search] {
            top: 49px;
        }
        .main-nav-items > li {
            padding-right: 30px;
        }
    }
}

/**********************************************************************************************
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
                                        Media Queries 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
***********************************************************************************************/
@media screen and (min-width: 992px) and (max-width: 1199px) {

    .main-nav-items li {
        margin-right: 20px;
    }
    .no-flexbox .sticky-nav .main-nav-items > li {
        padding-right: 32px;
    }
}
@media screen and (min-width: 992px) {

    #main-header {

        .search-container {
            display: none;
        }
    }
    .main-nav {

        .mobile-nav-trigger {display: none;}
        
        .main-nav-items { 
            display: inline-block !important;
            padding: 0;

            li {

                ul {
                    display: block !important;
                }
            }
        }
    }
}
@media screen and (max-width: 991px) {

    .header-holder {
      display: block;
    }
    .top-nav-wrapper {
        display: none;
    }
    #main-header {
        border-top: 6px solid #333333;

        &.sticky {

            .main-nav {
                position: fixed;
                padding: 0 15px;
                width: 100%;
                left: 0;
                border-top: 6px solid #333333;
                border-bottom: 1px solid #d2d2d2;
                background: #ffffff;

                .logo-wrapper {
                    padding: 15px 0;
                }
                .mobile-nav-trigger {
                    margin: 15px 0;
                }
            }
        }
        .search-container {
            display: block;
        }
    }
    .main-nav {
        display: flex;
        position: relative;
        top: 0;
        left: auto;
        z-index: 12;
        margin-bottom: 0;
        align-items: center;

        .logo-wrapper,
        .search-container,
        .mobile-nav-trigger {width: 33.33333333333333%; text-align: left;}
        .logo-wrapper {float: right;}
        .mobile-nav-trigger {float: left;}

        .mobile-nav-trigger { margin-top: 45px; margin-bottom: 45px; text-align: left;}

        .search-container {
            position: static;

            .trigger {
                font-size: 20px;
            }
            form {
                position: static;

                input[type=search] {
                    top: 100%;
                    right: 0;
                    width: 100%;
                    height: 35px;
                    -webkit-transform-origin: center top;
                    -moz-transform-origin: center top;
                    -ms-transform-origin: center top;
                    transform-origin: center top;
                    -webkit-transform: scaleX(1) scaleY(0);
                    -ms-transform: scaleX(1) scaleY(0);
                    transform: scaleX(1) scaleY(0);
                }
            }
            &.form-is-showing {

                form {

                    input[type=search] {
                        -webkit-transform: scaleX(1) scaleY(1);
                        -ms-transform: scaleX(1) scaleY(1);
                        transform: scaleX(1) scaleY(1);
                    }
                }
            }
        }

        .main-nav-items {
            display: none;
            width: 100%;
            // height: 270px;
            position: absolute;
            top: 100%;
            left: 0;
            margin-top: -1px;
            padding-right: 0;
            z-index: 12;
            background: #ffffff;

            .ps-scrollbar-x-rail,
            .ps-scrollbar-y-rail {
                display: none;
            }
            &:after {
                content: none;
            }
            li {
                display: block;
                width: 100%;
                padding: 0;
                position: relative;

                a {
                    display: block;
                    padding: 15px;
                    border-bottom: 1px dotted $borderColor;
                }
                ul {
                    display: none;
                    width: 100%;
                    margin: 0;
                    border: none;
                    position: relative;
                    top: auto;
                    left: auto;
                    opacity: 1;
                    visibility: visible;
                    text-align: center;
                    -webkit-transition: none !important;
                    -moz-transition:    none !important;
                    transition:         none !important;
                    -webkit-transform: translateX(0) translateY(0) !important;
                    -ms-transform:     translateX(0) translateY(0) !important;
                    transform:         translateX(0) translateY(0) !important;

                    li {
                        font-size: 18px;

                        a {
                            padding: 15px;

                            &:hover {
                                color: $secondryColor;
                            }
                        }
                        ul {
                            position: relative;
                            top: auto;
                            left: auto;
                        }
                        &:hover {

                            a {
                                background: none;
                            }
                        }
                    }

                }
            }
        }
        &.position-absolute {
            position: absolute;
        }
        .social-icons {display: none;}
    }

    .sticky-nav {
        display: none;
    }

    .blog-post-slider {
        margin-bottom: 80px;

        .blog-post header h3 {padding: 0 15px;}
    }

    .blog-tabs a {
        display: block;
        width: 100%;

        &:last-child {
            border-left: 1px solid $borderColor;
            border-top: none;
        }
    }

    .archive,
    .single {

        .header-holder {
            margin-bottom: 38px;
        }
        .main-nav {
            padding-bottom: 0;
        }
    }

    .no-flexbox {

        .main-nav {
            display: table;

            .logo-wrapper,
            .mobile-nav-trigger {display: table-cell; vertical-align: middle;}
        }
    }
    .brands {

        .brand {
            width: 33.33333333333333%;

            &:nth-child(4n) {
                border-left-width: 1px;
            }
        }
    }
    .image-slider {

        .slide {

            .texts {

                h4 {
                    font-size: 40px;
                }
                h5 {
                    font-size: 26px;
                }
            }
        }
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {

    .main-nav {
        width: 720px;
    }
}
@media screen and (max-width: 767px) {

    #main-header {

        .search-container {

            .trigger {
                font-size: 16px;
            }
        }
    }
    .main-nav {
        width: 100%;
        left: 0;
        padding: 0 15px;
    }
    .top-nav-wrapper {
        height: auto;
    }
    .nav-trigger,
    .top-nav,
    .search-container {
        display: none;
    }
    .mobile-nav-trigger {

        .bars {

            span {
                width: 18px;
                height: 2px;
            }
        }
    }
    .blog-post-slider {
        padding-bottom: 100px;
        margin-bottom: 30px;
    }
    .blog-post-slider .slick-prev,
    .blog-post-slider .slick-next {
        top: 100% !important;
        margin-top: -70px !important;
        width: 120px;
        height: auto;
        padding: 15px;
        text-indent: 0;
        text-align: center;
        font-size: 13px;
        color: $primaryColor;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);

        &:before,
        &:after {
            font-size: 14px;
            padding: 0 10px;
            position: relative;
            top: 1px;
        }
        &:hover {
            background: $primaryColor;
            color: #ffffff;

            &:before,
            &:after {
                color: #ffffff;
            }
        }
    }
    .brands {

        .brand {
            border-left-width: 1px;
            width: 100%;
        }
    }
    .image-slider {

        .slide {

            .texts {
                left: 80px;

                h4 {
                    font-size: 32px;
                }
                h5 {
                    font-size: 18px;
                }
            }
        }
    }
}

@media screen and (max-width: 675px) {


    .contents-inner.list-view {
        
        .blog-post {

            aside,
            header {
                float: none;
                display: block;
            }
            aside {
                width: 100%;

                figure {

                    img {
                        width: 100%;
                    }
                }
            }
        }
    }
    .image-slider {

        .slide {

            .texts {
                display: none;
            }
        }
    }
    .promo-box {

        h6 {
            display: none;
        }
        h5 {
            font-size: 18px;
        }
        &.big {

            h5 {
                font-size: 12px !important;
            }
        }
    }
}

@media screen and (max-width: 479px) {

    .blog-navigation {

        .blog-navigation-link {
            display: block;
            width: 100%;
            float: none;
            text-align: center;
            margin-top: 10px;
        }
    }
}

/**********************************************************************************************
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
                                    Custom Margin / Paddings 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
***********************************************************************************************/

/* Margin Top */
.mt-5 {
    margin-top: 5px;
}
.mt-10 {
    margin-top: 10px;
}
.mt-15 {
    margin-top: 15px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-25 {
    margin-top: 25px;
}
.mt-30 {
    margin-top: 30px;
}
.mt-35 {
    margin-top: 35px;
}
.mt-40 {
    margin-top: 40px;
}
.mt-45 {
    margin-top: 45px;
}
.mt-50 {
    margin-top: 50px;
}

/* Margin Bottom */
.mb-5 {
    margin-bottom: 5px;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-15 {
    margin-bottom: 15px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-25 {
    margin-bottom: 25px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mb-35 {
    margin-bottom: 35px;
}
.mb-40 {
    margin-bottom: 40px;
}
.mb-45 {
    margin-bottom: 45px;
}
.mb-50 {
    margin-bottom: 50px;
}

/* Padding Top */
.pt-5 {
    padding-top: 5px;
}
.pt-10 {
    padding-top: 10px;
}
.pt-15 {
    padding-top: 15px;
}
.pt-20 {
    padding-top: 20px;
}
.pt-25 {
    padding-top: 25px;
}
.pt-30 {
    padding-top: 30px;
}
.pt-35 {
    padding-top: 35px;
}
.pt-40 {
    padding-top: 40px;
}
.pt-45 {
    padding-top: 45px;
}
.pt-50 {
    padding-top: 50px;
}

/* Padding Bottom */
.pb-5 {
    padding-bottom: 5px;
}
.pb-10 {
    padding-bottom: 10px;
}
.pb-15 {
    padding-bottom: 15px;
}
.pb-20 {
    padding-bottom: 20px;
}
.pb-25 {
    padding-bottom: 25px;
}
.pb-30 {
    padding-bottom: 30px;
}
.pb-35 {
    padding-bottom: 35px;
}
.pb-40 {
    padding-bottom: 40px;
}
.pb-45 {
    padding-bottom: 45px;
}
.pb-50 {
    padding-bottom: 50px;
}