/* ===================================
DEFAULT
==================================== */

.d-none {
    display: none;
}
.mt-5 {
    margin-top: 2rem!important;
}

.text-right {
    text-align: right;
}

@media screen and (min-width: 928px) {
   .d-md-block {
        display: block;
    } 
    .d-md-none {
        display: none;
    }
}

.dx-widget,
.dxbButton {
    font-family: var(--font-btns) !important;
    font-size: 15px;
    font-weight: 400;
}

a,
a:hover,
a:focus,
a:active,
footer a.text-link:hover,
strike,
.post-meta span a:hover,
footer a.text-link,
ul.meta-post li a:hover,
ul.cat li a:hover,
ul.recent li h6 a:hover,
ul.portfolio-categ li.active a,
ul.portfolio-categ li.active a:hover,
ul.portfolio-categ li a:hover,
ul.related-post li h4 a:hover,
span.highlight,
article .post-heading h3 a:hover,
.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > li > a:hover,
.navbar .nav > li > a:focus,
.navbar .nav > .active > a:focus,
.validation {
    color: var(--text-link);
}

.navbar-brand span {
    color: var(--primary);
}

header .nav li a:hover,
header .nav li a:focus,
header .nav li.active a,
header .nav li.active a:hover,
header .nav li a.dropdown-toggle:hover,
header .nav li a.dropdown-toggle:focus,
header .nav li.active ul.dropdown-menu li a:hover,
header .nav li.active ul.dropdown-menu li.active a {
    color: var(--secondary);
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover {
    color: var(--secondary);
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover {
    color: var(--primary);
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover {
    color: var(--primary);
}
/* === background color === */

.custom-carousel-nav.right:hover,
.custom-carousel-nav.left:hover,
.dropdown-menu li a:hover,
.dropdown-menu li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover,
.pagination ul > .active > a:hover,
.pagination ul > .active > a,
.pagination ul > .active > span,
.flex-control-nav li a:hover,
.flex-control-nav li a.active {
    background-color: transparent;
}

.logo-row .dropdown-menu li:hover {
    background: var(--primary);
    color: #fff;
}

.breadcrumb {
    background-color: var(--primary);
}
/* === border color === */

.pagination ul > li.active > a,
.pagination ul > li.active > span,
a.thumbnail:hover,
input[type="text"].search-form:focus {
    border: 1px solid var(--primary);
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
    border-color: var(--primary);
}

input:focus {
    border-color: var(--primary);
}

#sendmessage {
    color: var(--primary);
}

.pullquote-left {
    border-left: 5px solid var(--primary);
}

.pullquote-right {
    border-right: 5px solid var(--primary);
}
/* cta */

.cta-text h2 {
    font-size: 2em;
}

    .cta-text h2 span {
        color: var(--primary);
    }

ul.clients li:hover {
    border: 4px solid var(--primary);
}
/* news panel */

.panel-body {
    font-size: 18px;
    font-weight: 300;
}
/* box */

#loginDetails {
    margin-bottom: 1em;
}

.dx-field-value.login {
    float: none;
    padding: 0;
}

#cancelButton,
.btn-secondary {
    background-color: var(--secondary-btn) !important;
    color: var(--secondary-btn-text) !important;
}

/* buttons */

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    background: var(--dark-gray);
    border: 1px solid var(--dark-gray);
    color: var(--text-light);
}

.btn-theme {
    border: 1px solid var(--primary-btn);
    background: var(--primary-btn);
    color: var(--primary-btn-text);
}
/* modal styled */

.modal.styled .modal-header {
    background-color: var(--primary);
}
/* blog */

.post-meta {
    border-top: 4px solid var(--primary);
}

    .post-meta .comments a:hover {
        color: var(--primary);
    }

.widget ul.tags li a:hover {
    background: var(--primary);
}

.recent-post .text h5 a:hover {
    color: var(--primary);
}
/* pricing box */

.pricing-box-alt.special .pricing-heading {
    background: var(--primary);
}
/* portfolio */

.item-thumbs .hover-wrap .overlay-img-thumb {
    background: var(--primary);
}
/* pagination */

#pagination a:hover {
    background: var(--primary);
}
/* pricing box */

.pricing-box.special .pricing-offer {
    background: var(--primary);
}
/* fontawesome icons */

.icon-square:hover,
.icon-rounded:hover,
.icon-circled:hover {
    background-color: var(--primary);
}

[class^="icon-"].active,
[class*=" icon-"].active {
    background-color: var(--primary);
}
/* fancybox */

.fancybox-close:hover {
    background-color: var(--primary);
}

.fancybox-nav:hover span {
    background-color: var(--primary);
}
/* parallax c slider */

.da-slide .da-link:hover {
    background: var(--primary);
    border: 4px solid var(--primary);
}

.da-dots span {
    background: var(--primary);
}
/* flexslider */

#featured .flexslider .slide-caption {
    border-left: 5px solid var(--primary);
}
#featured#homepageSlider {
    padding: 0;
}
/* Nivo slider */

.nivo-directionNav a:hover {
    background-color: var(--primary);
}

.nivo-caption,
.caption {
    border-bottom: var(--primary) 0px solid;
}

    .nivo-caption h3 {
        color: var(--white);
        margin-top: 5px;
    }
/* footer */

footer {
    background: var(--footer);
    color: var(--black);
}

#sub-footer {
    background: var(--bottom-footer);
}

/* ===================================
1. General
==================================== */

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-color);
}

a:active {
    outline: 0;
}

.clear {
    clear: both;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.1em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

h1 {
    font-size: 32px;
}
/* ===================================
2. layout
==================================== */

.container {
    padding: 0 20px 0 20px;
    position: relative;
}

#wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 180px);
}

.row.nomargin,
.row-fluid.nomargin {
    margin-bottom: 0;
}
/* ===================================
3. Responsive media
==================================== */

.video-container,
.map-container,
.embed-container {
    position: relative;
    margin: 0 0 15px 0;
    padding-bottom: 51%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    border: none;
}

    .embed-container iframe,
    .embed-container object,
    .embed-container embed,
    .video-container iframe,
    .map-container iframe,
    .map-container object,
    .map-container embed,
    .video-container object,
    .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

iframe {
    border: none;
}

img.img-polaroid {
    margin: 0 0 20px 0;
}

.img-box {
    max-width: 100%;
}
/* ===================================
4. Header
==================================== */
/* --- header -- */
.col-sm-8.navWrapper {
    position: unset;
}

header .navbar {
    margin-bottom: 0;
    z-index: 10;
    position: static;
}

header .navbar-toggle {
    margin-right: 0;
}

.navbar-default {
    border: none;
}

.navbar-collapse {
    width: 100%;
}

header .navbar-collapse ul.navbar-nav {
    float: right;
    margin-right: 0;
    border-width: 0;
    position: unset;
}
/*This fixes the menu so that when you open it, the menu items don't appear to move*/
header .navbar .collapsing {
    border: none;
    width: 100%;
    float: right;
}

header .navbar-default {
    background-color: var(--main-nav);
}

header .nav li a:hover,
header .nav li a:focus,
header .nav li.active a,
header .nav li.active a:hover,
header .nav li a.dropdown-toggle:hover,
header .nav li a.dropdown-toggle:focus,
header .nav li.active ul.dropdown-menu li a:hover,
header .nav li.active ul.dropdown-menu li.active a {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

header .navbar-default .navbar-nav > .open > a,
header .navbar-default .navbar-nav > .open > a:hover,
header .navbar-default .navbar-nav > .open > a:focus {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

header .navbar-nav > li > a {
    padding-bottom: 6px;
    padding-top: 5px;
    font-weight: 700;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    color: var(--white) !important;
}

header .nav .caret {
    border-bottom-color: var(--primary);
    border-top-color: var(--primary);
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background-color: var(--white);
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default li.full-width.open,
.navbar-default li.dropdown.flyout.open {
    background-color: var(--main-nav-dropdown) !important;
    color: var(--main-nav-dropdown-text) !important;
}

.dropdown-menu {
    box-shadow: none;
    border-radius: 0;
    border: none;
}

header .nav li .dropdown-menu {
    padding: 0;
}

    header .nav li .dropdown-menu li a {
        line-height: 28px;
        padding: 3px 12px;
        color: var(--white);
        font-size: 1.2em;
    }

.navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: var(--white);
}
/* --- menu --- */

header .navigation {
    float: right;
}

header ul.nav li {
    border: none;
    margin: 0;
}

    header ul.nav li a {
        font-size: 12px;
        border: none;
        font-weight: 600;
        text-transform: uppercase;
    }

    header ul.nav li ul li a {
        font-size: 12px;
        border: none;
        font-weight: 300;
        text-transform: uppercase;
    }

    header ul.nav li a:hover,
    header ul.nav li a:focus {
        color: var(--main-nav-dropdown-hover) !important;
    }

.navbar .nav > li > a,
.navbar .nav a {
    color: var(--white);
    text-shadow: none;
}

    .navbar .nav a:hover,
    .navbar .nav a {
        background: none;
    }

.navbar .nav > .active > a,
.navbar .nav > .active > a:hover {
    background: none;
    font-weight: 700;
}

    .navbar .nav > .active > a:active,
    .navbar .nav > .active > a:focus {
        background: none;
        outline: 0;
        font-weight: 700;
    }

.navbar .nav li .dropdown-menu {
    z-index: 2000;
}

.menu3dmega .full-width .dropdown-menu {
    left: 0;
}

header ul.nav li ul li ul {
    margin: 0;
}

.menu3dmega > ul > li > .dropdown-menu {
    left: -15px;
    right: -15px;
}

.dropdown-menu .dropdown i {
    position: absolute;
    right: 0;
    margin-top: 3px;
    padding-left: 20px;
}

.navbar .nav > li > .dropdown-menu:before {
    display: inline-block;
    border-right: none;
    border-bottom: none;
    border-left: none;
    border-bottom-color: none;
    content: none;
}

.nav.navbar-nav {
    float: right;
}

select.selectmenu {
    display: none;
}

.panel-body {
    background-color: var(--light-gray);
}
/* ===================================
5. Section: Featured
==================================== */

#featured {
    width: 100%;
    background: var(--white);
    position: relative;
    padding: 30px 0;
}

.homepage div.CatalogFeaturedItemImgWrap {
    height: 100%;
    overflow: hidden;
}
/* ===================================
6. Slider
==================================== */
/* --- nivoslider --- */

#featured .nivoSlider {
    padding: 0;
    margin: 50px 0 30px;
    background: var(--white);
    position: relative;
    zoom: 1;
}

.nivo-caption {
    background: none;
    -ms-filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#4C000000, endColorstr=#4C000000);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#4C000000, endColorstr=#4C000000);
    zoom: 1;
}

.nivo-caption {
    bottom: 35px;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--white);
    margin: 0;
    padding: 25px 25px 25px 30px;
    position: absolute;
    right: 0;
    width: 295px;
}

    .nivo-caption h3 {
        color: var(--white);
        letter-spacing: 1px;
        margin-bottom: 8px;
        text-transform: uppercase;
    }

    .nivo-caption p {
        margin: 0 0 15px;
        font-size: 14px !important;
        line-height: 22px;
        font-weight: 300;
        color: var(--white);
    }

/* ===================================
7. Section: home page intro
==================================== */

.home-intro {
    text-align: center;
    margin: 50px auto;
    padding: 0 20px;
    width: 100%;
    max-width: 900px;
}

.home-quote-content {
    background: var(--primary);
    color: var(--text-light);
    padding: 50px 20px;
}

.home-marketing-content {
    padding: 50px 20px;
}

.home-quote-content h2,
.home-quote-content a {
    color: var(--text-light);
}

.home-quote-content a {
    text-decoration: underline;
}

.flex-cols {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 20px;
}

    .flex-cols .content-col {
        flex: 1;
    }

@media screen and (min-width: 728px) {
    .flex-cols .content-col {
        min-width: 400px;
    }
}

.flex-cols img {
    max-width: 100%;
}

/* ===================================
7. Section: call action
==================================== */

section.callaction {
    background: var(--light-gray);
    padding: 30px 20px;
}

    section.callaction p {
        font-size: 14px;
        line-height: 1.6;
    }

section.subpageCallAction {
    background: var(--light-gray);
    margin: 0;
}

section.callaction h2 {
    color: var(--text-color);
}

section.subpageCallAction .row {
    margin: 0;
}

.dealBox {
    color: var(--dark-gray);
}
/* ===================================
8. Section: Content
==================================== */

#content {
    position: relative;
    background: var(--white);
    padding: 50px 0 40px 0;
}

    #content img {
        max-width: 100%;
        height: auto;
    }

#subpagecontent {
    position: relative;
    background: var(--white);
    padding: 0px 0 40px 0;
}

img.CatalogProductTileListPicture.pre-load {
    max-height: none;
}
/* --- Call to action --- */

.cta-text {
    text-align: center;
}

.big-cta .cta {
    margin-top: 10px;
}
/* --- box --- */

.topDeals {
    width: 100%;
    max-width: 1750px;
    margin: auto;
    margin-bottom: 40px;
}

.box {
    width: 100%;
}

.box-gray {
    padding: 0;
}

    .box-gray h4,
    .box-gray i {
        margin-bottom: 20px;
    }

.box-bottom {
    text-align: center;
    border-radius: 5px;
}

    .box-bottom a {
        color: var(--white);
        font-weight: 700;
    }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(335px, 1fr));
    grid-gap: 20px;
}

.dealBox {
    flex: 1 0 20%;
}

.ValidationMessage {
    margin: 0;
    height: auto !important;
    width: auto !important;
}

    .ValidationMessage ul {
        list-style: none;
        padding: 0;
    }

/* ---  sidebar  --- */

.side-bar .row {
    margin: 0;
}

.side-bar .productnav {
    padding: 0;
}

.side-bar .search {
    float: right;
    margin: 0;
    padding: 0;
}

.sidePromo {
    padding: 0;
    margin: 30px 0;
}

.side-bar .item-thumbs {
    margin-bottom: 0px;
    padding: 0;
}

.dxgvPagerBottomPanel {
    background-color: var(--white);
}

.dxpLite .dxp-summary,
.dxpLite .dxp-ellip {
    white-space: nowrap;
    padding: 3px 12px 2px 4px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 300;
}
/* ===================================
9. Section: Bottom
==================================== */

#bottom {
    background: var(--light-gray);
    padding: 50px 0 0;
}
/* twitter */

#twitter-wrapper {
    text-align: center;
    width: 70%;
    margin: 0 auto;
}

#twitter em {
    font-style: normal;
    font-size: 13px;
}

    #twitter em.twitterTime a {
        font-weight: 600;
    }

#twitter ul {
    padding: 0;
    list-style: none;
}

    #twitter ul li {
        font-size: 20px;
        line-height: 1.6em;
        font-weight: 300;
        margin-bottom: 20px;
        position: relative;
        word-break: break-word;
    }
/* ===================================
10. Inner - Section: page headline
==================================== */

#inner-headline {
    background: var(--black);
    position: relative;
    margin: 0;
    padding: 0;
    color: var(--text-light);
}

    #inner-headline .inner-heading h2 {
        color: var(--text-light);
        margin: 20px 0 0 0;
    }
    /* --- breadcrumbs --- */

    #inner-headline ul.breadcrumb {
        margin: 30px 0 0;
        float: left;
    }

        #inner-headline ul.breadcrumb li {
            margin-bottom: 0;
            padding-bottom: 0;
        }

        #inner-headline ul.breadcrumb li {
            font-size: 13px;
            color: var(--text-light);
        }

            #inner-headline ul.breadcrumb li i {
                color: var(--text-muted);
            }

            #inner-headline ul.breadcrumb li a {
                color: var(--text-light);
            }

ul.breadcrumb li a:hover {
    text-decoration: none;
}
/* ============================
11. Forms
============================= */
/* --- contact form  ---- */

form#contactform input[type="text"] {
    width: 100%;
    border: 1px solid var(--light-gray);
    min-height: 40px;
    padding-left: 20px;
    font-size: 13px;
    padding-right: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

form#contactform textarea {
    border: 1px solid var(--light-gray);
    width: 100%;
    padding-left: 20px;
    padding-top: 10px;
    font-size: 13px;
    padding-right: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

form#contactform .validation {
    font-size: 11px;
}

#contactForm .controls {
    display: flex;
    grid-gap: 5px;
}

#sendmessage {
    border: 1px solid var(--gray);
    background: var(--light-gray);
    display: none;
    text-align: center;
    padding: 15px 12px 15px 65px;
    margin: 10px 0;
    font-weight: 600;
    margin-bottom: 30px;
}

    #sendmessage.show,
    .show {
        display: block;
    }
/* --- comment form ---- */

form#commentform input[type="text"] {
    width: 100%;
    min-height: 40px;
    padding-left: 20px;
    font-size: 13px;
    padding-right: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 2px 2px 2px 2px;
    -moz-border-radius: 2px 2px 2px 2px;
    border-radius: 2px 2px 2px 2px;
}

form#commentform textarea {
    width: 100%;
    padding-left: 20px;
    padding-top: 10px;
    font-size: 13px;
    padding-right: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 2px 2px 2px 2px;
    -moz-border-radius: 2px 2px 2px 2px;
    border-radius: 2px 2px 2px 2px;
}
/* --- search form --- */

.search {
    float: right;
    margin: 35px 0 0;
    padding-bottom: 0;
}

#inner-headline form.input-append {
    margin: 0;
    padding: 0;
}
/* ===============================
12. Portfolio
================================ */

.work-nav #filters {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .work-nav #filters li {
        margin: 0 10px 30px 0;
        padding: 0;
        float: left;
    }

        .work-nav #filters li a {
            color: var(--text-link);
            font-size: 16px;
            display: block;
        }

            .work-nav #filters li a.selected {
                color: var(--secondary);
            }

#thumbs {
    margin: 0;
    padding: 0;
}

    #thumbs li {
        list-style-type: none;
    }

.item-thumbs {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .item-thumbs a + img {
        width: 100%;
    }

    .item-thumbs .hover-wrap {
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        opacity: 0;
        filter: alpha(opacity=0);
        -webkit-transition: all 450ms ease-out 0s;
        -moz-transition: all 450ms ease-out 0s;
        -o-transition: all 450ms ease-out 0s;
        transition: all 450ms ease-out 0s;
        -webkit-transform: rotateY(180deg) scale(0.5, 0.5);
        -moz-transform: rotateY(180deg) scale(0.5, 0.5);
        -ms-transform: rotateY(180deg) scale(0.5, 0.5);
        -o-transform: rotateY(180deg) scale(0.5, 0.5);
        transform: rotateY(180deg) scale(0.5, 0.5);
    }

    .item-thumbs:hover .hover-wrap,
    .item-thumbs.active .hover-wrap {
        opacity: 1;
        filter: alpha(opacity=100);
        -webkit-transform: rotateY(0deg) scale(1, 1);
        -moz-transform: rotateY(0deg) scale(1, 1);
        -ms-transform: rotateY(0deg) scale(1, 1);
        -o-transform: rotateY(0deg) scale(1, 1);
        transform: rotateY(0deg) scale(1, 1);
    }

    .item-thumbs .hover-wrap .overlay-img {
        position: absolute;
        width: 50%;
        height: 100%;
        opacity: 0.8;
        filter: alpha(opacity=80);
        background: var(--black);
    }

span.overlay-img {
    color: var(--white);
    font-size: 12px;
    padding: 5px;
}

.right-sidebar span.overlay-img {
    font-size: 14px;
    line-height: 2em;
}

.item-thumbs .hover-wrap .overlay-img-thumb {
    position: absolute;
    border-radius: 60px;
    top: 50%;
    left: 50%;
    margin: -16px 0 0 -16px;
    color: var(--white);
    font-size: 32px;
    line-height: 1em;
    opacity: 1;
    filter: alpha(opacity=100);
}
/* --- Portolio filter --- */

ul.portfolio-categ {
    margin: 10px 0 30px 0;
    padding: 0;
    float: left;
    list-style: none;
}

    ul.portfolio-categ li {
        margin: 0;
        padding: 0 20px 0 0;
        float: left;
        list-style: none;
        font-size: 13px;
        font-weight: 600;
    }

        ul.portfolio-categ li a {
            display: block;
            padding: 35x 0 35x 0;
            color: var(--text-dark);
        }

            ul.portfolio-categ li.active a:hover,
            ul.portfolio-categ li a:hover,
            ul.portfolio-categ li a:focus,
            ul.portfolio-categ li a:active {
                text-decoration: none;
                outline: 0;
            }
/* --- portfolio detail --- */

.top-wrapper {
    margin-bottom: 20px;
}
/* ===============================
13. Elements
================================ */
/* --- blockquote --- */

blockquote {
    font-size: 16px;
    font-weight: 400;
    font-family: var(--font-headings);
    font-style: italic;
    padding-left: 0;
    color: var(--text-muted);
    line-height: 1.6em;
    border: none;
}

    blockquote cite {
        display: block;
        font-size: 12px;
        color: var(--text-color);
        margin-top: 10px;
    }

        blockquote cite:before {
            content: "\2014 \0020";
        }

        blockquote cite a,
        blockquote cite a:visited,
        blockquote cite a:visited {
            color: var(--text-link);
        }
/* --- pullquotes --- */

.pullquote-left {
    display: block;
    color: var(--text-muted);
    font-family: var(--font-headings);
    font-size: 14px;
    line-height: 1.6em;
    padding-left: 20px;
}

.pullquote-right {
    display: block;
    color: var(--text-muted);
    font-family: var(--font-headings);
    font-size: 14px;
    line-height: 1.6em;
    padding-right: 20px;
}

/* --- list style --- */

ul.general {
    list-style: none;
    margin-left: 0;
}

ul.link-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    ul.link-list li {
        margin: 0;
        padding: 2px 0 2px 0;
        list-style: none;
    }

footer ul.link-list li a {
    color: var(--footer-text);
}

    footer ul.link-list li a:hover {
        color: var(--footer-hover);
    }
/* --- Heading style --- */

h4.heading {
    font-weight: 700;
}

.heading {
    margin-bottom: 30px;
}

.heading {
    position: relative;
}

.widgetheading {
    width: 100%;
    padding: 0;
}

#bottom .widgetheading {
    position: relative;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 9px;
}

aside .widgetheading {
    position: relative;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 9px;
}

footer .widgetheading {
    position: relative;
}

footer .widget .social-network {
    position: relative;
}

#bottom .widget .widgetheading span,
aside .widget .widgetheading span,
footer .widget .widgetheading span {
    position: absolute;
    width: 60px;
    height: 1px;
    bottom: -1px;
    right: 0;
}
/* --- Map --- */

.map {
    position: relative;
    margin-top: -50px;
    margin-bottom: 40px;
}

    .map iframe {
        width: 100%;
        height: 450px;
        border: none;
    }

.map-grid iframe {
    width: 100%;
    height: 350px;
    border: none;
    margin: 0 0 -5px 0;
    padding: 0;
}
/* --- our team --- */

ul.team-detail {
    margin: -10px 0 0 0;
    padding: 0;
    list-style: none;
}

    ul.team-detail li {
        border-bottom: 1px dotted var(--light-gray);
        margin: 0 0 15px 0;
        padding: 0 0 15px 0;
        list-style: none;
    }

        ul.team-detail li label {
            font-size: 13px;
        }

        ul.team-detail li h4,
        ul.team-detail li label {
            margin-bottom: 0;
        }

        ul.team-detail li ul.social-network {
            border: none;
            margin: 0;
            padding: 0;
        }

            ul.team-detail li ul.social-network li {
                border: none;
                margin: 0;
            }

                ul.team-detail li ul.social-network li i {
                    margin: 0;
                }
/* --- Pricing box --- */

.pricing-title {
    background: var(--white);
    text-align: center;
    padding: 10px 0 10px 0;
}

    .pricing-title h3 {
        font-weight: 600;
        margin-bottom: 0;
    }

.pricing-offer {
    background: var(--light-gray);
    text-align: center;
    padding: 40px 0 40px 0;
    font-size: 18px;
}

.pricing-box.special .pricing-offer {
    color: var(--text-light);
}

.pricing-offer strong {
    font-size: 78px;
    line-height: 89px;
}

.pricing-offer sup {
    font-size: 28px;
}

.pricing-content {
    background: var(--white);
    text-align: center;
    font-size: 14px;
}

    .pricing-content strong {
        color: var(--text-dark);
    }

    .pricing-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .pricing-content ul li {
            border-bottom: 1px solid var(--light-gray);
            list-style: none;
            padding: 15px 0 15px 0;
            margin: 0 0 0 0;
            color: var(--text-muted);
        }

.pricing-action {
    margin: 0;
    background: var(--light-gray);
    text-align: center;
    padding: 20px 0 30px 0;
}

.pricing-wrapp {
    margin: 0 auto;
    width: 100%;
    background: var(--error);
}
/* --- pricing box alt 1 --- */

.pricing-box-alt {
    border: 1px solid var(--gray);
    background: var(--light-gray);
    position: relative;
    margin: 0 0 20px 0;
    padding: 0;
    -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
    -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    .pricing-box-alt .pricing-heading {
        background: var(--light-gray);
        text-align: center;
        padding: 40px 0 0px 0;
        display: block;
    }

    .pricing-box-alt.special .pricing-heading {
        background: var(--light-gray);
        text-align: center;
        padding: 40px 0 1px 0;
        border-bottom: none;
        display: block;
        color: var(--text-light);
    }

        .pricing-box-alt.special .pricing-heading h3 {
            color: var(--text-light);
        }

    .pricing-box-alt .pricing-heading h3 strong {
        font-size: 32px;
        font-weight: 700;
        letter-spacing: -1px;
    }

    .pricing-box-alt .pricing-heading h3 {
        font-size: 32px;
        font-weight: 300;
        letter-spacing: -1px;
    }

    .pricing-box-alt .pricing-terms {
        text-align: center;
        background: var(--dark-gray);
        display: block;
        overflow: hidden;
        padding: 30px 0 20px;
    }

        .pricing-box-alt .pricing-terms h6 {
            font-style: italic;
            margin-top: 10px;
            color: var(--text-light);
        }

    .pricing-box-alt .icon .price-circled {
        margin: 10px 10px 10px 0;
        display: inline-block !important;
        text-align: center !important;
        color: var(--white);
        width: 68px;
        height: 68px;
        padding: 12px;
        font-size: 16px;
        font-weight: 700;
        line-height: 68px;
        text-shadow: none;
        cursor: pointer;
        background-color: var(--gray);
        border-radius: 64px;
        -moz-border-radius: 64px;
        -webkit-border-radius: 64px;
    }

    .pricing-box-alt .pricing-action {
        margin: 0;
        text-align: center;
        padding: 30px 0 30px 0;
    }
/* ===============================
14. Blog & article
================================ */

article {
    margin-bottom: 40px;
}

    article .post-heading h3 {
        margin-bottom: 20px;
    }

        article .post-heading h3 a {
            font-weight: 700;
            color: var(--text-color);
        }

            article .post-heading h3 a:hover {
                text-decoration: none;
            }
/* --- post meta --- */

.post-meta {
    background: var(--light-gray);
    border: 1px solid var(--gray);
    border-top: none;
    text-align: center;
}

    .post-meta .format {
        border-bottom: 1px solid var(--gray);
        padding: 10px 0 10px;
    }

    .post-meta i {
        margin: 0;
    }

    .post-meta .date {
        border-bottom: 1px solid var(--light-gray);
        padding: 10px 0 10px;
    }

        .post-meta .date span {
            text-align: center;
            color: var(--text-muted);
            font-size: 12px;
            font-weight: 600;
        }

    .post-meta .comments {
        padding: 10px 0 10px;
    }

        .post-meta .comments a {
            color: var(--text-muted);
            font-size: 12px;
            font-weight: 700;
        }

            .post-meta .comments a:hover {
                text-decoration: none;
            }
/* --- post format --- */

.post-image {
    margin-bottom: 20px;
}

.post-quote {
    margin-bottom: 20px;
}

.post-video {
    margin-bottom: 20px;
}

.post-audio {
    margin-bottom: 20px;
}

.post-link {
    margin-bottom: 20px;
}

.post-slider {
    margin-bottom: 20px;
}

.post-quote blockquote {
    font-size: 16px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6em;
}

.post-image img:hover {
    -webkit-box-shadow: 0 0 2px var(--gray);
    -moz-box-shadow: 0 0 2px var(--gray);
    box-shadow: 0 0 2px var(--gray);
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

ul.meta-post {
    float: left;
    margin: 0;
    padding: 0;
    list-style: none;
}

    ul.meta-post li {
        float: left;
        margin: 0 10px 0 0;
        padding: 0;
        list-style: none;
        border-right: 1px dotted var(--light-gray);
        padding-right: 10px;
    }

        ul.meta-post li i {
            float: left;
            font-size: 12px;
            margin: 2px 5px 0 0;
        }

        ul.meta-post li a {
            color: var(--text-muted);
            float: left;
            font-size: 12px;
            font-weight: 600;
        }
/* --- single post --- */

.bottom-article {
    overflow: hidden;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    padding: 10px 0 10px 0;
    margin-top: 20px;
}
/* --- author info --- */

.about-author {
    border: 1px solid var(--light-gray);
    padding: 20px;
    float: left;
    margin-bottom: 5px;
}

    .about-author h5 {
        margin-bottom: 10px;
    }
/* --- Comment --- */

.comment-area {
    float: left;
    width: 100%;
    margin-top: 30px;
}

.media-content {
    overflow: hidden;
    margin-left: 12px;
    border-bottom: 1px dotted var(--light-gray);
    padding-bottom: 20px;
}

    .media-content h6 {
        font-size: 14px;
        font-weight: 700;
    }

    .media-content span {
        color: var(--text-muted);
        font-size: 14px;
        font-weight: 300;
    }

.comment-area .thumbnail > img {
    display: block;
    width: 60px;
    height: 60px;
}

.filter-list {
    margin-top: 20px;
}
/* --- pagination --- */

#pagination a,
#pagination span {
    display: block;
    float: left;
    margin: 0 7px 0 0;
    padding: 7px 10px 6px 10px;
    font-size: 12px;
    line-height: 12px;
    color: var(--text-color);
    font-weight: 600;
}

    #pagination a:hover {
        color: var(--text-light);
        text-decoration: none;
    }

    #pagination span.current {
        background: var(--dark-gray);
        color: var(--text-light);
        font-weight: bold;
    }
/* ===============================
15. Aside, sidebar
================================ */

aside {
    position: relative;
    margin-bottom: 40px;
}

.sidebar-nav {
    float: left;
    width: 100%;
}

.right-sidebar {
    border-left: 1px solid var(--light-gray);
    padding: 0 0 0 30px;
    -webkit-box-shadow: inset 1px 0 0 0 rgba(0, 0, 0, 0.01);
    box-shadow: inset 1px 0 0 0 rgba(0, 0, 0, 0.01);
}

.left-sidebar {
    border-right: 1px solid var(--light-gray);
    padding: 0 30px 0 0;
    -webkit-box-shadow: inset 1px 0 0 0 rgba(0, 0, 0, 0.01);
    box-shadow: inset 1px 0 0 0 rgba(0, 0, 0, 0.01);
}

    .left-sidebar .widget h3,
    .left-sidebar .widget .widget-content {
        padding-right: 20px;
    }

aside .widget {
    margin-bottom: 40px;
}

ul.cat,
ul.recent,
ul.folio-detail,
ul.contact-info {
    margin: 0;
    padding: 0;
    list-style: none;
}

    ul.cat li,
    ul.recent li,
    ul.folio-detail li,
    ul.contact-info li {
        margin: 0 0 15px 0;
        list-style: none;
    }

        ul.cat li a,
        ul.folio-detail li a {
            color: var(--text-muted);
        }

        ul.folio-detail li label {
            display: inline;
            cursor: default;
            color: var(--text-color);
            font-weight: bold;
        }

.widget ul.recent li {
    margin-bottom: 20px;
}

ul.recent li h6 {
    margin: 0 0 10px 0;
}

    ul.recent li h6 a {
        color: var(--text-color);
        font-size: 16px;
        font-weight: 600;
    }

.widget ul.tags {
    list-style: none;
    margin: 0;
    margin-left: 0;
    padding-left: 0;
}

    .widget ul.tags li {
        margin: 0 5px 15px 0;
        display: inline-block;
    }

        .widget ul.tags li a {
            background: var(--light-gray);
            color: var(--text-color);
            padding: 5px 10px;
        }

            .widget ul.tags li a:hover {
                text-decoration: none;
                color: var(--text-light);
            }
/* ===== Widgets ===== */
/* --- flickr --- */

.widget .flickr_badge {
    width: 100%;
}

    .widget .flickr_badge img {
        margin: 0 9px 20px 0;
    }

footer .widget .flickr_badge {
    width: 100%;
}

    footer .widget .flickr_badge img {
        margin: 0 9px 20px 0;
    }

.flickr_badge img {
    width: 50px;
    height: 50px;
    float: left;
    margin: 0 9px 20px 0;
}
/* --- latest tweet widget --- */

.twitter ul {
    margin-left: 0;
    list-style: none;
}

.twitter img {
    float: left;
    margin-right: 15px;
}

.twitter span.tweet_time {
    display: block;
    padding-bottom: 5px;
}

.twitter li {
    border-bottom: 1px dashed var(--light-gray);
    padding-bottom: 20px;
    margin-bottom: 20px;
    list-style: none;
}

    .twitter li:last-child {
        border: none;
    }
/* --- Recent post widget --- */

.recent-post {
    margin: 20px 0 0 0;
    padding: 0;
    line-height: 18px;
}

    .recent-post h5 a:hover {
        text-decoration: none;
    }

    .recent-post .text h5 a {
        color: var(--text-color);
    }

ul.time-post {
    float: left;
    width: 120px;
    padding: 0;
    list-style: none;
    margin: 0 20px 0 0;
    text-align: center;
    color: var(--text-color);
}

    ul.time-post li {
        float: none;
        background: var(--light-gray);
        list-style: none;
        margin: 0 0 2px 0;
        padding: 0;
    }

        ul.time-post li a img:hover {
            opacity: 0.8;
            /* For IE 5-7 */

            filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=80);
            /* For IE 8 8 */

            -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        }

        ul.time-post li.time {
            float: none;
            padding: 5px 0 5px 0;
            text-shadow: none;
        }

.recent-post ul.time-post li.time {
    color: var(--text-color);
}

.post-meta {
    margin-bottom: 20px;
}

    .post-meta span {
        padding: 0 10px 0 10px;
        margin-bottom: 10px;
    }

        .post-meta span a {
            color: var(--text-muted);
        }

    .post-meta strong {
        font-weight: 200px;
        color: var(--text-muted);
    }

.item .text {
    margin-left: 140px;
    margin-bottom: 20px;
}
/* ===============================
16. Footer
================================ */

footer {
    color: var(--footer-text);
}

    footer a {
        color: var(--footer-text);
    }

        footer a:hover {
            color: var(--footer-hover);
            text-decoration: underline;
        }

    footer h1,
    footer h2,
    footer h3,
    footer h4,
    footer h5,
    footer h6 {
        color: var(--footer-text);
    }

    footer address {
        line-height: 1.6em;
    }

    footer h5 a:hover,
    footer a:hover {
        text-decoration: none;
    }

.footerWidgets > .col-lg-12 {
    padding: 0;
}

ul.social-network {
    list-style: none;
    margin: 0;
    padding: 0;
}

    ul.social-network li {
        display: inline;
        margin: 0 5px;
    }

.btn-footer {
    background-color: var(--primary-btn) !important;
}

    .btn-footer:hover {
        background-color: var(--primary-btn-hover) !important;
    }

#sub-footer {
    text-shadow: none;
    color: var(--bottom-footer-text);
    padding: 10px 0;
    margin: 20px 0 0 0;
}

    #sub-footer p {
        margin: 0;
        padding: 0;
    }

    #sub-footer span {
        color: var(--bottom-footer-text);
    }

.copyright {
    text-align: left;
    font-size: 12px;
}

#sub-footer ul.social-network {
    float: right;
}
/* ===============================
 Live preview purpose
================================ */
/* --- buttons --- */

.bs-docs-example {
    margin: 0 0 10px 0;
}

.demobtn a.btn {
    margin: 0 10px 10px 0;
}

section.demogrid .col-lg-1,
section.demogrid .col-lg-2,
section.demogrid .col-lg-3,
section.demogrid .col-lg-4,
section.demogrid .col-lg-5,
section.demogrid .col-lg-6,
section.demogrid .col-lg-7,
section.demogrid .col-lg-8,
section.demogrid .col-lg-9,
section.demogrid .col-lg-10,
section.demogrid .col-lg-11 {
    background: var(--light-gray);
    text-align: center;
    padding: 20px 0 20px;
}

section.demogrid .show-grid .row,
section.demogrid .show-grid .row-fluid {
    margin-bottom: 0;
}

section.demogrid .show-grid .nest {
    background: var(--gray);
    text-align: center;
    padding: 20px 0 20px;
}

section.demogrid .col-lg-12.nest {
    background: var(--light-gray);
    text-align: center;
    padding: 20px 0 0;
}

.demoinline p {
    display: inline;
    margin-right: 20px;
}
/* ===============================
17. Divider, Line & Misc
================================ */

.solidline {
    border-top: 1px solid var(--light-gray);
    margin: 0 0 30px;
}

.dottedline {
    border-top: 1px dotted var(--light-gray);
    margin: 0 0 30px;
}

.dashedline {
    border-top: 1px dashed var(--light-gray);
    margin: 0 0 30px;
}

.blankline {
    height: 1px;
    margin: 0 0 30px;
}
/* scroll to top */

.scrollup {
    position: fixed;
    width: 32px;
    height: 32px;
    bottom: 0px;
    right: 20px;
    background: var(--dark-gray);
}

a.scrollup {
    outline: 0;
    text-align: center;
}

    a.scrollup:hover,
    a.scrollup:active,
    a.scrollup:focus {
        opacity: 1;
        text-decoration: none;
    }

    a.scrollup i {
        margin-top: 10px;
        color: var(--white);
    }

        a.scrollup i:hover {
            text-decoration: none;
        }
/* =============================
18. Position & alignment
============================= */

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.aligncenter {
    text-align: center;
}

    .aligncenter span {
        margin-left: 0;
    }

.floatright {
    float: right;
}

.floatleft {
    float: left;
}

.floatnone {
    float: none;
}

.aligncenter {
    text-align: center;
}
/* --- Image allignment style --- */

img.pull-left,
.align-left {
    float: left;
    margin: 0 15px 15px 0;
}

.widget img.pull-left {
    float: left;
    margin: 0 15px 15px 0;
}

img.pull-right,
.align-right {
    float: right;
    margin: 0 0 15px 15px;
}

article img.pull-left,
article .align-left {
    float: left;
    margin: 5px 15px 15px 0;
}

article img.pull-right,
article .align-right {
    float: right;
    margin: 5px 0 15px 15px;
}
/* =============================
20. Spacer, margin
============================= */

.clear-marginbot {
    margin-bottom: 0;
}

.marginbot10 {
    margin-bottom: 10px;
}

.marginbot20 {
    margin-bottom: 20px;
}

.marginbot30 {
    margin-bottom: 30px;
}

.marginbot40 {
    margin-bottom: 40px;
}

.clear-margintop {
    margin-top: 0;
}

.margintop10 {
    margin-top: 10px;
}

.margintop20 {
    margin-top: 20px;
}

.margintop30 {
    margin-top: 30px;
}

.margintop40 {
    margin-top: 40px;
}

.ListingGroupSubCategoryHeader {
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.dxrpControl td.dxrpHeader,
.dxrpControl > tbody > tr > .dxrpcontent {
    border-left: 0px solid var(--gray) !important;
    border-right: 0px solid var(--gray) !important;
    border-bottom: 0px solid var(--gray);
}

.dxrpControl > tbody > tr > .dxrpcontent {
    background-image: none !important;
    background-color: var(--white) !important;
}
/* =============================
21. Media queries 
============================= */

/*This fixes ONLY ON MOBILE the issue with the menu looking distorted in certain sizes*/
@media only screen and (min-width: 768px) and (max-width: 789px) {
    header .navbar-collapse {
        border: none;
    }

    .navbar-collapse.in,
    .navbar-nav {
        width: 100%;
    }

    header .navbar-nav > li {
        padding-bottom: 0px !important;
        padding-top: 0px !important;
    }
}

@media (max-width: 993px) {
    .logo {
        height: 60px;
        padding: 0;
        margin: 0;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    a.detail {
        background: none;
        width: 100%;
    }

    footer .widget form input#appendedInputButton {
        display: block;
        width: 91%;
        -webkit-border-radius: 4px 4px 4px 4px;
        -moz-border-radius: 4px 4px 4px 4px;
        border-radius: 4px 4px 4px 4px;
    }

    footer .widget form .input-append .btn {
        display: block;
        width: 100%;
        padding-right: 0;
        padding-left: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        margin-top: 10px;
    }

    ul.related-folio li {
        width: 156px;
        margin: 0 20px 0 0;
    }
}

@media (max-width: 767px) {
    body {
        padding-right: 0;
        padding-left: 0;
    }

    header .navbar-collapse {
        position: absolute;
        background: var(--main-nav-dropdown);
        left: 0;
        right: 0;
        top: 50px;
    }

    .navbar-brand {
        margin-top: 0px;
        border-bottom: none;
        height: 80px;
    }

    .navbar-header {
        border-bottom: none;
    }

    .navbar-nav {
        border-top: none;
        float: none;
        width: 100%;
    }

    header .navbar-nav > li {
        padding-bottom: 0;
        padding-top: 0;
    }

    header .nav li .dropdown-menu {
        margin-top: 0;
    }

    .dropdown-menu {
        position: absolute;
        top: 0;
        left: 40px;
        z-index: 1000;
        display: none;
        float: left;
        min-width: 160px;
        padding: 5px 0;
        margin: 2px 0 0;
        font-size: 13px;
        list-style: none;
        background-color: var(--white);
        background-clip: padding-box;
        border: 1px solid var(--light-gray);
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 0;
        -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    }

    .top-links .dropdown-menu {
        left: 0;
        background-color: #333333;
        top: 30px;
    }

    .navbar-collapse.collapse {
        border: none;
        overflow: hidden;
    }

    #featured .flexslider .slide-caption {
        width: 90%;
        padding: 2%;
        position: absolute;
        left: 0;
        bottom: -40px;
    }

    #inner-headline .breadcrumb {
        float: left;
        clear: both;
        width: 100%;
    }

    .breadcrumb > li {
        font-size: 13px;
    }

    ul.portfolio li article a i.icon-48 {
        width: 20px;
        height: 20px;
        font-size: 16px;
        line-height: 20px;
    }

    .left-sidebar {
        border-right: none;
        padding: 0 0 0 0;
        border-bottom: 1px dotted var(--light-gray);
        padding-bottom: 10px;
        margin-bottom: 40px;
    }

    .right-sidebar {
        margin-top: 30px;
        border-left: none;
        padding: 0 0 0 0;
    }

    footer .col-lg-1,
    footer .col-lg-2,
    footer .col-lg-3,
    footer .col-lg-4,
    footer .col-lg-5,
    footer .col-lg-6,
    footer .col-lg-7,
    footer .col-lg-8,
    footer .col-lg-9,
    footer .col-lg-10,
    footer .col-lg-11,
    footer .col-lg-12 {
        margin-bottom: 20px;
    }

    #sub-footer ul.social-network {
        float: left;
    }

    [class*="span"] {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .bottom-article a.pull-right {
        float: left;
        margin-top: 20px;
    }

    .search {
        float: left;
    }

    .flexslider .flex-caption {
        display: none;
    }

    .cta-text {
        margin: 0 auto;
        text-align: center;
    }

    ul.portfolio li article a i {
        width: 20px;
        height: 20px;
        font-size: 14px;
    }
}

div#divWrapper_RmaHistoryGrid {
    padding: 0 20px;
}

/*  DT BUTTON  */

.DT-Button,
.dx-dialog-button,
.DT-Button.dx-link,
#DTButton,
.DT-Button .dx-button-text,
.ContactFormSubmitButton,
.paymentSubmit :is(.dx-button) {
    color: var(--white) !important;
    background-color: var(--primary) !important;
    border-radius: 2px !important;
    border-width: 0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
    font-family: var(--font-btns) !important;
    font-size: 14px !important;
    outline: 0px !important;
    background-image: none !important;
    padding: 4px 2px !important;
}

.paymentSubmit :is(.dx-button),
.paymentCancel :is(.dx-button) {
    font-size: 14px !important;
}

.paymentSubmit :is(.dx-state-hover),
.DT-Button.dx-state-hover,
.dx-dialog-button.dx-state-hover,
.DT-Button.dx-state-focused.dx-state-active,
.DT-Button:hover,
#DTButton,
.ContactFormSubmitButton:hover {
    color: var(--white) !important;
    background-color: var(--secondary) !important;
    border-width: 0 !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.DT-Button.dx-button-has-text .dx-button-content {
    padding: 5px 15px 5px;
}

.DT-Button.dx-state-focused .dx-button-text,
.DT-Button.dx-state-hover .dx-button-text,
.DT-Button.dx-state-focused.dx-state-active .dx-button-text {
    background-color: transparent !important;
}

input#cancelButton.DT-Button {
    padding: 8px;
    font-size: 16px;
}

#goToCartBtn,
#addToCartBtn {
    width: auto !important;
}

.ShoppingCartSavedCartTable input.DT-Button {
    width: 58px;
    padding: 5px 2px !important;
    background: var(--primary);
    background-color: var(--primary);
    color: var(--white);
    border-width: 0;
    font: 12px Tahoma, Geneva, sans-serif;
}

.SavedCartWrapper .DT-Button {
    padding: 5px 2px !important;
    margin-bottom: 5px;
}

.dxbButton.DT-Button.secondary-btn-theme,
.paymentCancel :is(.dx-button) {
    background: var(--secondary-btn) !important;
    color: var(--secondary-btn-text);
}

    .dxbButton.DT-Button.secondary-btn-theme.dxbButtonHover,
    .paymentCancel :is(.dx-state-hover) {
        background: var(--secondary-btn-hover) !important;
    }

.dxpc-mainDiv.createList.dxpc-shadow {
    width: 375px;
}

.createList .dxpc-header.dxpc-withBtn {
    background: var(--dark-gray) !important;
}

#btnListItemsAddToCart.DT-Button {
    padding: 8px !important;
}

.dxeHyperlink {
    font-family: inherit !important;
    font-size: 14px !important;
}

.dxbButtonHover_Metropolis {
    background: var(--secondary) !important;
}

#clbkItemListDetails p {
    font-size: 14px;
    width: 67%;
}

.changepasswordlabel {
    font-size: 14px;
    text-align: right;
    line-height: inherit !important;
}

.changepasswordsteponewrapper {
    padding: 0;
}

@media screen and (max-width: 768px) {
    .changepasswordlabel {
        text-align: left !important;
    }
}

div#dateSearchBtn,
#poSearchBtn,
#onSearchBtn,
#btnPruchaseOrderNumber,
#btnOrderNumber {
    margin: 0;
}

.dx-popup-content .outer .btnholder.DT-Button {
    background-color: transparent!important;
    padding: 0!important;
}


/*  DT Calendar  */

.dx-calendar-navigator
.dx-calendar-caption-button.dx-button
.dx-button-content
.dx-button-text,
.dx-calendar-navigator-next-month.dx-button .dx-icon,
.dx-calendar-navigator-next-view.dx-button .dx-icon,
.dx-calendar-navigator-previous-month.dx-button .dx-icon,
.dx-calendar-navigator-previous-view.dx-button .dx-icon {
    color: var(--primary) !important;
}

.dx-calendar-cell.dx-calendar-selected-date.dx-calendar-contoured-date,
.dx-calendar-cell.dx-calendar-selected-date.dx-calendar-today.dx-calendar-contoured-date {
    -webkit-box-shadow: inset 0 0 0 1px var(--light-gray), inset 0 0 0 1000px var(--primary) !important;
    box-shadow: inset 0 0 0 1px var(--light-gray), inset 0 0 0 1000px var(--primary) !important;
}


@media screen and (max-width: 728px) {
    .orderHistory ~ .dx-overlay-wrapper .divTableRow.invoiceDetails {
        display: flex;
        flex-direction: column;
    }

    .orderHistory ~ .dx-overlay-wrapper .orderdisplayLabel.shipToLabel {
        text-align: left;
    }

    .orderHistory ~ .dx-overlay-wrapper .divTableCell.logo {
        width: 100% !important;
        max-width: 250px;
    }

    .orderHistory ~ .dx-overlay-wrapper .logoWrapper {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .orderHistory ~ .dx-overlay-wrapper .divTableCell.title {
        font-size: 18px !important;
        padding-left: 0 !important;
    }

    .orderHistory ~ .dx-overlay-wrapper .Order-box {
        max-width: 100% !important;
    }

    .orderHistory ~ .dx-overlay-wrapper .divTableCell {
        padding-left: 0 !important;
    }

    .orderHistory ~ .dx-overlay-wrapper .detailRow {
        display: flex !important;
        flex-direction: column;
    }
}

.orderHistory ~ .dx-overlay-wrapper .dx-overlay-content .dx-popup-content {
    padding: 0 !important;
    overflow: auto !important;
}

.orderHistory tbody tr:nth-child(even) {
    background: var(--light-gray);
}


/* Home Page */
#homeShopByCategory .categoryContainer {
    background: #f2f2f2;
    padding: 1em 1em 2em;
    text-align: center;
}
#homeShopByCategory h4 {
    margin-bottom: 5px;
}
.categoryTiles {
    display: grid;
    grid-gap: 1em;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.categoryTile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.categoryTile {
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--light-gray);
    overflow: hidden;
}
.categoryTileContent {
    padding: 20px 15px;
}
#serviceParts {
    text-align: center;
    padding: 2em 0;
}
#serviceParts .box {
    background: var(--light-gray);
    padding: 1em 1em 1.5em;
    border-radius: 10px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
}
#serviceParts h4 {
    margin-bottom: 5px;
}
#serviceParts .container {
    max-width: 1320px;
}
#serviceParts .box-contatiner {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    grid-gap: 20px;
}
#brands-footer {
    background: var(--light-gray);
    text-align: center;
    margin-top: 3em;
    padding: 3em 0;
}
#brands-footer img {
    max-width: 70px;
    height: auto;
}
#brands-footer .brand-logos {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 1em;
    align-items: center;
    justify-content: center;
}

@media screen and (min-width: 728px) {
    #brands-footer img { 
        max-width: 100px;
    }
    #brands-footer .brand-logos { 
        grid-gap: 2em;
    }
    #serviceParts .box-contatiner {
        flex-direction: row;
    }
    #serviceParts .box {
        flex: 1 0 30%;
    }
}

@media screen and (min-width: 960px) {
    #homeShopByCategory {
        padding: 0 1em;
    }
    #homeShopByCategory .categoryContainer {
        width: 100%;
        max-width: 1280px;
        margin: -80px auto;
        position: relative;
        z-index: 5;
        border-radius: 10px;
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
        padding: 1em 2em 2em;
    }
    #homepageSlider {
        z-index: 2;
    }
    .categoryTiles {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    #serviceParts {
        margin-top: 100px;
    }
}