/*
Theme Name:     Basix
Theme URI:      https://themeforest.net/item/basix-responsive-wordpress-theme/8041961
Description:    Multipurpose Responsive WordPress theme with WPBakery Page Builder
Version:        4.0.1.30
Author:         Artivity
Author URI:     https://themeforest.net/user/artivity
License:        This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
License URI:    License.txt
Text Domain:    basix-td
Tags:           visual-composer, wpbakery, page-builder, responsive, 2018, business, corporate, clean, multipurpose, multi-purpose
*/

/* CSS Reset
*****************************************************************************/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

:focus {
    outline: 0;
}

ins {
    text-decoration: none;
}

del, del * {
    text-decoration: line-through;
}

small:empty {
    display: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

figure {
    margin-before: 0;
    margin-after: 0;
    margin-start: 0;
    margin-end: 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
}

* {
    -webkit-tap-highlight-color: transparent;
}

/* General CSS (body, links, common classes etc.)
*****************************************************************************/

html {
    overflow-x: auto;
    height: 100%;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 15px;
    text-rendering: optimizeLegibility;
    width: 100%;
    text-align: center;
}

body.force_footer {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 100%;
}

body.force_footer .main-container {
    display: flex;
    flex-direction: column;
}

i, *:before, *:after {
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a, h1, h2, h3, h4, h5, .vc_toggle, .topnav li a {
    -webkit-transition: all .1s linear;
    transition: all .1s linear;
}

.dark-bg .main-content {
    color: rgba(255, 255, 255, 0.8);
}

.dark-bg .main-content a:hover {
    color: #FFFFFF !important;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

a, a:after, .ubtn-text, i, a i, a h2, a h3, button {
    text-decoration: none;
}

a:hover.accent-color {
    color: inherit !important;
}

a.underline {
    border-bottom: 1px dotted;
}

a img {
    border: none;
}

.dark-bg h1, .dark-bg h2, .dark-bg h3, .dark-bg h4, .dark-bg h5, .dark-bg h6, .dark-bg h1 a, .dark-bg h2 a, .dark-bg h3 a, .dark-bg h4 a, .dark-bg h5 a, .dark-bg h6 a {
    color: #FFFFFF;
}

.dark-bg .main-content a:hover {
    color: #FFFFFF;
}

.dark-bg i {
    color: rgba(255, 255, 255, 1);
}

h2 a, h3 a {
    display: block;
}

h2 a.accent-color {
    border-bottom: 1px dotted;
}

.main-content h1 {
    line-height: 1.3em;
    width: 100%;
    margin-bottom: 3rem;
}

h2.inner-title a {
    display: block;
}

.grid .blog-post h2.inner-title {
    margin-bottom: 0;
    flex-grow: 1;
}

.grid.boxed .blog-post h2.inner-title {
    margin-bottom: 0;
    z-index: 9;
}

body.center_page_title:not(.single-post):not(.single-post):not(.single-product) .main-content h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

body.center_page_title.single-post:not(.reduced_content_widths):not(.no_sidebar) .main-content h1 {
    text-align: left;
}

body.single-portfolio .column-container h1 {
    padding-left: 0;
    padding-right: 0;
}

body.center_page_title .main-content .wpb_text_column h1 {
    padding-left: 0;
    padding-right: 0;
}

body.center_page_title .main-content h1.bordered, body.center_page_title .main-content h1.title_bordered {
    border-bottom: none;
    margin-top: 0rem;
}

body.center_page_title .main-content h1.bordered:before, body.center_page_title .main-content h1.title_bordered:before, body.single-post.center_page_title .title_bordered .blog-meta:before, body.center_page_title .title_bordered .portfolio-filtering:before {
    display: none;
}

body.center_page_title .title_excerpt {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    border-top: none;
    margin-top: -5.5em;
    margin-bottom: 6em;
}

@media only screen and (min-width: 1025px) {
    body.center_page_title .title_excerpt {
        padding-left: 20% !important;
        padding-right: 20% !important;
    }
}

.main-content h1.bordered {
    margin: 0 auto 3rem auto;
    position: relative;
}

body.left_page_title .main-content h1.bordered {
    margin-bottom: 1.5em;
}

@media only screen and (min-width: 1025px) {
    body.left_page_title .main-content h1.bordered {
        padding-right: 12%;
    }
}

@media only screen and (min-width: 768px) {
    body.center_page_title .main-content h1.bordered, body.center_page_title .main-content h1.title_bordered, body.center_page_title.single .main-content h1.inner-title {
        margin-bottom: 4.5rem;
    }
}

@media only screen and (min-width: 1025px) {
    body.center_page_title .main-content h1.bordered, body.center_page_title .main-content h1.title_bordered, body.center_page_title.single .main-content h1.inner-title {
        margin-top: 0rem;
    }
}

@media only screen and (max-width: 767px) {
    .page-template-template-blog-standard .main-content h1.bordered {
        padding-bottom: 0 !important;
    }
}

html body.stretched_title.single .title-container .blog-meta {
    margin-top: 1.5em;
    margin-bottom: 0 !important;
}

html body.stretched_title.center_page_title.single.reduced_content_widths .blog-meta {
    text-align: center !important;
}

@media only screen and (max-width: 767px) {
    html body.center_page_title.stretched_title.single .blog-meta {
        margin-top: 1em !important;
        font-size: 1em !important;
    }
}

.main-content .title-container {
    display: flex;
    width: 100%;
    text-align: left;
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding-top: 8em;
    padding-bottom: 8em;
    margin-bottom: 4.5em;
}

.main-content .title-container .content-width {
    z-index: 10;
    position: relative;
}

body.matching_title_body .main-content .title-container {
    padding-top: 7em;
    padding-bottom: 7em;
}

/*body.matching_title_body.matching_header_title:not(.has_thumbnail) .main-content .title-container {
    padding-bottom: 7em;
    }*/

    body.has_thumbnail.display_thumbnail:not(.woocommerce):not(.archive):not(.blog):not(.single-post):not(.single-portfolio) .main-content .title-container {
        padding-top: 24vh;
        padding-bottom: 24vh;
    }

    body.transparent_header.has_thumbnail.display_thumbnail:not(.woocommerce):not(.archive):not(.blog):not(.single-post):not(.single-portfolio) .main-content .title-container {
        padding-top: calc(24vh + 4em);
    }

    @media only screen and (min-width: 1346px) {
        body.left_page_title.contained .main-content .title-container .content-width {
            padding-left: 60px;
        }
    }

/*@media only screen and (min-width: 1025px) {
    body.center_page_title .main-content .title-container h1 {
        padding-left: 10%;
        padding-right: 10%;
    }
    }*/

/*body.center_page_title.accent_color:not(.transparent_header_margin) .main-content .title-container,
body.center_page_title.main_color:not(.transparent_header_margin) .main-content .title-container {
    text-align: center;
    padding-top: 16vh;
    padding-bottom: 16vh;
    }*/

    body.center_page_title.transparent_header_margin .main-content .title-container {
        padding-top: calc(16vh + 3.5em);
    }

    @media only screen and (max-width: 767px) {
        body.center_page_title .main-content .title-container {
            padding-top: 4em;
            padding-bottom: 4em;
        }
        html body.stretched_title.matching_header_title:not(.stretched_image_title) .title-container {
            padding-top: 3em;
            padding-bottom: 5em;
        }
    }

/*body.stretched_title.matching_header_title .title-container {
    padding-top: 5.5em;
    }*/

    body.stretched_image_title.has_thumbnail.display_thumbnail:not(.woocommerce):not(.single-portfolio):not(.archive):not(.blog) .title-container {
        z-index: 1;
    }

    body.stretched_image_title.transparent_header_margin .title-container {
        padding-top: calc(10em + 4em);
    }

    @media only screen and (max-width: 768px) {
        body.stretched_image_title.transparent_header_margin .title-container {
            padding-bottom: 2em;
        }
    }

    body.stretched_image_title.has_thumbnail_display_thumbnail:not(.woocommerce) .title-container {
        padding-top: 23vh;
        padding-bottom: 20vh;
    }

    body.stretched_image_title:not(.woocommerce):not(.archive):not(.blog).has_thumbnail.display_thumbnail .title-container:before {
        width: 100%;
        height: 100%;
        content: "";
        position: absolute;
        left: 0;
        top: auto;
        bottom: 0;
        pointer-events: none;
        z-index: 0;
        background: -moz-linear-gradient(top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
        background: -webkit-linear-gradient(top, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0.3) 100%);
        background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0.3) 100%);
    }

    .main-content .title-container h1, .main-content .title-container h2 {
        margin-bottom: 0;
    }

    .main-content .title-container h1 {
        color: #FFFFFF;
        padding: 0;
    }

    h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
        margin-top: 0;
    }

    h2 {
        margin-bottom: 1.35em;
        line-height: 1.4em;
        width: 100%;
    }

    h3, th, .wpb_tlinearr_grid h2.post-title, h2.wpb_heading {
        margin-bottom: 0.8em;
        line-height: 1.4em;
    }

    .widget h3, .widget h2, .wpb_widgetised_column h2 {
        margin-bottom: 1.5em;
    }

    h4 {
        margin-bottom: 1.1em;
        line-height: 1.6em;
    }

    h4.vc_tta-panel-title {
        opacity: 1;
    }

    .dark-bg h4 {
        color: #fff;
        opacity: 1;
    }

    h5 {
        font-size: 1em !important;
        margin-bottom: 1.1em;
        line-height: 1.6em;
    }

    h6 {
        font-size: 0.9em !important;
        font-weight: initial;
        margin-bottom: 1em;
        line-height: 1.6em;
    }

    .dark-bg h1 a:hover, .dark-bg h2 a:hover, .dark-bg h3 a:hover, .dark-bg h4 a:hover {
        color: #fff !important;
    }

    .topnav .sub-menu a[href=""] {
        cursor: default !important;
        opacity: inherit !important;
    }

    .vc_separator h4 {
        margin-bottom: 0;
        line-height: 1em;
        opacity: 1;
    }

    p, header,
    #bbpress-forums div.bbp-topic-content div, #bbpress-forums div.bbp-reply-content div {
        margin-bottom: 3em;
        line-height: 1.8em;
    }

    p:empty {
        display: none;
    }

    header {
        font-size: 1.2em;
    }

    q {
        font-style: italic;
        width: 100%;
        display: block;
    }

    blockquote {
        padding-left: 0;
        border-left: 0;
        margin-bottom: 1em;
        line-height: 1.6em;
        border-radius: 0;
    }

    .blog-post blockquote {
        margin-bottom: 1.5em;
        padding-left: 1.5em;
        border-left: 2px solid;
        font-size: 1.4em
    }

    .blog-post blockquote p {
        line-height: 1.6em;
    }

    blockquote:last-child {
        margin-bottom: 0;
    }

    html body .main-content blockquote p {
        margin-bottom: 1em;
    }

    blockquote cite {
        display: block;
        margin-top: 1em;
        font-size: 0.8em;
        opacity: 0.6;
    }

    address {
        margin-bottom: 1.6em;
        line-height: 1.6em;
    }

    pre {
        font-weight: initial;
        line-height: 1.5em;
        padding: 1.5em;
        width: 100%;
        overflow-x: auto;
        margin-top: 0.5em;
        margin-bottom: 2.5em;
        display: inline-block;
    }

    pre:first-child {
        margin-top: 6px;
    }

    .light-bg pre {
        background: #eaeaea;
    }

    .dark-bg pre {
        background: rgba(255, 255, 255, 0.1) !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    code {
        font-weight: bold;
    }

    iframe {
        max-width: 100%;
    }

    table {
        width: 100%;
    }

    table:only-child {
        margin-bottom: 0;
        margin-top: 0;
    }

    .alignleft {
        float: left;
        margin-right: 1em;
        margin-bottom: 1em;
    }

    .alignright {
        float: right;
        margin-left: 1em;
        margin-bottom: 1em;
    }

    .aligncenter {
        margin-left: auto;
        margin-right: auto;
        display: block;
        clear: both;
        text-align: center;
    }

    .clear {
        clear: both;
        display: block;
        font-size: 0;
        height: 0;
        line-height: 0;
        width: 100%;
    }

    embed {
        max-width: 100%;
    }

    .table {
        display: table;
        float: left;
    }

    .table-row {
        display: table-row;
    }

    .table-cell {
        display: table-cell;
    }

    .middle {
        vertical-align: middle;
    }

    .fullheight {
        height: 100%;
    }

    .fullwidth {
        width: 100%;
    }

    .center {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .relative {
        position: relative;
    }

    .no-margin {
        margin-bottom: 0 !important;
    }

    .vertical-center {
        vertical-align: middle !important;
    }

    .content-width {
        width: 100%;
        padding-left: 2rem;
        padding-right: 2rem;
        margin: 0 auto;
        display: block;
        display: flex;
        flex-direction: column;
    }

    .main-content-inner * .content-width {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    @media only screen and (min-width: 1346px) {
        body.contained .header {
            width: inherit;
        }
    }

    @media only screen and (min-width: 1200px) {
        .content-width {
            width: 1160px;
        }
    }

    @media only screen and (min-width: 1100px) {
        /* Contained Title Padding */
        body.center_page_title:not(.single-post):not(.single-portfolio) .main-content .title-container h1 {
            padding-left: 14%;
            padding-right: 14%;
        }
    }

    @media only screen and (min-width: 1400px) {
        /* Content Container */
        body.stretched .content-width {
            width: 1300px;
        }
    }

    @media only screen and (min-width: 1400px) {
        /* Content Container */
        body.ultra_stretched .content-width {
            width: 100%;
            max-width: 1500px;
        }
        body.ultra_stretched p,
        body.ultra_stretched header,
        body.ultra_stretched #bbpress-forums div.bbp-topic-content div,
        body.ultra_stretched #bbpress-forums div.bbp-reply-content div,
        body.ultra_stretched .basix_icon_text .text {
            line-height: 1.9em;
        }
        html body.ultra_stretched.matching_title_body .main-content .title-container,
        body.ultra_stretched.matching_title_body.matching_header_title:not(.has_thumbnail) .main-content .title-container {
            padding-top: 8em;
            padding-bottom: 8em;
        }
        body.ultra_stretched .page-template-template-blog-grid-no-sidebar-featured:not(.paged) .blog-list.grid li.grid-item:first-child .blog-content {
            font-size: 110%;
        }
        body.ultra_stretched .page-template-template-blog-grid-no-sidebar-featured:not(.paged) .blog-list.grid li.grid-item:first-child .blog-content h2.inner-title {
            font-size: 350%;
        }
        body.ultra_stretched[class*="no-sidebar"] ul.grid li.grid-item {
            width: calc(100% / 4);
        }
        body.ultra_stretched[class*="page-template-template-blog"][class*="no-sidebar"] ul.grid.masonry li.grid-item {
            width: calc(100% / 4 - 25px) !important;
        }
    }

    @media only screen and (min-width: 1700px) {
        /* Boxed Grid Bottom Margin */
        .blog-list.grid.boxed .blog-post {
            margin-bottom: 40px !important;
        }
    }

    .content-container {
        float: left;
        width: 100%;
    }

    hr {
        margin-top: 44px;
        margin-bottom: 44px;
        height: 1px;
        border: none;
    }

    .divider {
        margin-top: 0;
        margin-bottom: 12px;
        height: 2px;
        width: 100%;
        position: relative;
        clear: both;
        float: left;
        border: none;
    }

    .wpb_row .divider {
        margin-top: 1em;
        margin-bottom: 3.5em;
    }

    body.page-template-template-stretched .wpb_row .divider {
        margin-top: 1.7em;
        margin-bottom: 3.5em;
    }

    body.single .divider {
        margin-top: 38px;
        margin-bottom: 40px !important;
    }

    .light-bg .divider, .light-bg hr {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .dark-bg .divider, .dark-bg hr {
        background-color: rgba(255, 255, 255, 0.2) !important;
    }

    .divider:after {
        content: "";
        width: 40px;
        height: 2px;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .spacer {
        clear: both;
        display: block;
        height: 20px;
    }

    .image-wrapper {
        margin-bottom: 10px;
    }

    .image-wrapper img {
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
    }

    .inline-block {
        display: inline-block;
    }

    .flex {
        display: flex;
        height: 100%;
        align-items: center;
    }

    .screen-reader-text {
        overflow: hidden;
        display: none;
    }

/* Containers

/* Main Container
*****************************************************************************/

.main-container {
    width: 100%;
    position: relative;
    min-height: 100%;
    margin: 0 auto 0 auto;
    overflow: hidden;
    text-align: left;
}

/* Safari SUCKS */
.main-container:not(:root:root) {
    display: inline-block;
}

.light-bg .main-container, .light-bg .jcarousel-nav.separator-with-text, .light-bg .footer-shortcode {
    background-color: #F9F9F9;
}

.wpb_row.light-bg .jcarousel-nav {
    background-image: none;
    background-color: transparent;
}

.wpb_row.dark-bg .jcarousel-nav {
    background-image: none;
    background-color: transparent;
}

.dark-bg a {
    color: #FFFFFF;
}

html body .dark-bg a:hover {
    color: rgba(255,255,255,0.8);
}

@media only screen and (min-width: 1346px) {
    body.contained .main-container {
        width: 1316px;
        box-shadow: 0 0 46px 0 rgba(0, 0, 0, 0.05);
        overflow-y: hidden;
    }
    body.contained .content-width {
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }
    body.contained.boxed_logo .topbar.content-width {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media only screen and (min-width: 1346px) {
    body.contained .main-container:before {
        content: '';
        position: absolute;
        left: -10px;
        top: 0;
        width: 10px;
        height: 100%;
        background: rgba(0,0,0,0.1);
    }
}

/* Content Container
*****************************************************************************/

.main-content {
    width: 100%;
    text-align: center;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

html body.header_off .main-content {
    margin-top: 0 !important;
}

body.transparent_header_margin .main-content,
html body.has_infobar.transparent_header_margin .main-content {
    margin-top: 0 !important;
}

.main-content-inner {
    width: 100%;
}

body.no_content_padding .main-content-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.page-template-template-login .main-content-inner,
body.page-template-template-logout .main-content-inner,
body.page-template-template-register .main-content-inner {
    padding-top: 4em;
}

/*body.stretched_title:not(.matching_title_body) .title-container {
    margin-bottom: 4em;
    }*/

    @media only screen and (min-width: 1346px) {
        body.contained:not(.bordered_content):not(.boxed_logo) .content-width {
            padding-left: 40px !important;
            padding-right: 40px !important;
        }
        body.contained:not(.bordered_content) .content-width .content-width {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
    }

    body.bordered .main-content-inner,
    body.stretched_title.no_woo_h_title .main-content.shop_home .main-content-inner {
        padding-top: 4.5em;
    }

    body.matching_title_body .title-container {
        margin-bottom: 0;
    }

    body[class*="page-template-template-blog"].hide_blog_title .main-content-inner {
        padding-top: 4.5em;
    }

    body.has_thumbnail.display_thumbnail:not(.woocommerce):not(.archive):not(.blog) .title-container {
        margin-bottom: 4.5em;
    }

    .main-content-inner img {
        max-width: 100%;
    }

/*body.single:not(.buddypress) .main-content-inner img:not(.bbc_emoticon):not(.wpml_ico):not(.attachment-d4p-bbp-thumb) {
    width: 100%;
    height: auto;
    }*/

    body.single .main-content-inner > .column-container > .sidebar img:not(.empty):not(.empty1):not(.empty2):not(.empty3) {
        width: auto;
    }

    body.page-template-template-no-padding-php .main-content-inner {
        padding-top: 0;
    }

/* Top Bar
*****************************************************************************/

.header {
    z-index: 500;
    position: relative;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}
@media only screen and (min-width: 1346px) {
    body.contained .header {
        left: auto;
        right: auto;
    }
}

html body .header.cloned {
    top: -100px;
    display: none;
    background-color: #000 !important;
    position: fixed;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* --------------------------------------------
   Increase padding for topbar
   ----------------------------------------- */

   html body.header_padding:not(.solid_header_stretched_image_title):not(.buddypress):not(.has_infobar):not(.dark_header):not(.header_border_enabled) .header:not(.drop_header),
   html body.error404:not(.has_infobar).matching_header_body.matching_title_body.header_border_disabled:not(.dark_header):not(.header_border_enabled) .header:not(.drop_header) {
    padding-top: 1em;
    padding-bottom: 1em;
}

html body.header_padding.transparent_header .header:not(.drop_header) {
    padding-top: 1em;
    padding-bottom: 1em;
}

body.transparent_header.semitrans_header .header {
    padding-top: 0 !important;
    padding-bottom: 0 !important
}

body.admin-bar .header.drop_header {
    top: 32px !important;
}

.topbar {
    margin: 0 auto 0 auto;
    opacity: 1 !important;
    position: relative;
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 767px) {
    html body .topbar {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

.topbar .topbar-content-container {
    display: -webkit-flex;
    /* Safari */
    -webkit-flex-wrap: nowrap;
    /* Safari 6.1+ */
    display: flex;
    flex-wrap: nowrap;
    flex-wrap: nowrap;
    align-items: center;
    position: relative;
    width: 100%;
}

.topbar-content-container > * {
    display: flex;
}

.topbar-content-container > [class*="menu"] {
    order: 3;
    flex-grow: 1;
    display: inline-block;
    margin-left: 0.75em;
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

.topbar-content-container > [class*="menu"].nostretch {
    flex-grow: 0 !important;
}

.topbar-content-container > .stretch {
    flex-grow: 10;
}

/* Header Search --------- */

.header .search-click {
    order: 99;
    display: inline-block;
    height: 100%;
    font-size: 1.4em;
    text-align: right;
    display: inline-block;
    margin-left: 1.5rem;
    position: relative;
    cursor: pointer;
}

@media only screen and (max-width: 1024px) {
    .header .search-click {
        margin-left: 1.5rem;
    }
}

@media only screen and (max-width: 767px) {
    .header .search-click {
        margin-left: 1.5rem;
    }
}

@media only screen and (max-width: 330px) {
    .header .search-click {
        margin-left: 0.75rem;
    }
}

.header .search-click .activate:after {
    content: '\f002';
    font-family: "FontAwesome";
    display: inline-block;
    font-weight: normal;
}

.header .search-click .activate {
    display: inline-block;
    width: 100%;
    height: 100%;
}

#header_search {
    position: fixed;
    text-align: center;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    /*-webkit-transform: translate(0px, -100%) scale(1, 0);
    -moz-transform: translate(0px, -100%) scale(1, 0);
    -o-transform: translate(0px, -100%) scale(1, 0);
    -ms-transform: translate(0px, -100%) scale(1, 0);
    transform: translate(0px, -100%) scale(1, 0);*/
    opacity: 0;
    visibility: hidden;
    z-index: 99999;
}

#header_search.open {
    /*-webkit-transform: translate(0px, 0px) scale(1, 1);
    -moz-transform: translate(0px, 0px) scale(1, 1);
    -o-transform: translate(0px, 0px) scale(1, 1);
    -ms-transform: translate(0px, 0px) scale(1, 1);
    transform: translate(0px, 0px) scale(1, 1);*/
    opacity: 1;
    visibility: visible;
}

#header_search form {
    display: flex;
    height: 100%;
    align-content: center;
}

#header_search input[type="text"] {
    width: 100%;
    color: rgb(255, 255, 255) !important;
    background: rgba(0, 0, 0, 0);
    font-size: 3em;
    text-align: center;
    border: 0px !important;
    box-shadow: none !important;
    margin: 0px auto;
    padding-left: 30px;
    padding-right: 30px;
    outline: none;
    display: inline-block;
}

@media only screen and (max-width: 767px) {
    #header_search input[type="text"] {
        font-size: 1.5em;
    }
    #header_search .close {
        padding: 0.2em 0.2em !important;
    }
}

/* Search submit - hidden by default  */
#header_search .btn {
    display: none;
    position: relative;
    margin-top: 2em;
}

#header_search .btn:after {
    content: '\f002';
    position: relative;
    top: 0;
    margin-left: 1em;
    right: 0;
    font-family: 'FontAwesome';
    font-weight: normal;
}

#header_search .close {
    position: fixed;
    top: 0;
    right: 0;
    color: #fff;
    opacity: 0.6;
    background-color: transparent;
    padding: 0.3em 0.5em 0.5em 0.5em !important;
    font-size: 40px;
    box-shadow: none;
    margin: 0;
    z-index: 99;
}

#header_search .close:hover {
    opacity: 1;
}

/* Header CTAs
*****************************************************************************/

.header_cta_section {
    order: 200;
    height: auto !important;
    margin-left: 1.8rem;
    display: inline-flex;
    align-self: center;
    position: relative;
    flex-shrink: 0;
}

@media only screen and (max-width: 600px) {
    .header_cta_section {
        display: none;
    }
}

.header a.header_cta {
    padding: 0 1.4em;
    margin-right: 0;
    margin-bottom: 0;
    float: right;
    border: 2px solid transparent;
    background-color: transparent;
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

.header a.header_cta:hover {
    background-image: none;
}

.header a.header_cta:nth-child(2n) {
    margin-left: 0.5em;
}

/* White Top Bar Properties
*****************************************************************************/

.header.white {
    background-color: rgba(255, 255, 255, 1);
}

@media only screen and (max-width: 1024px) {
    .header.white {
        background-color: #FFFFFF;
    }
}

body.header_border_enabled .header:not(.drop_header),
body.header_border_scroll_enabled.header_down .header.drop_header {
    -moz-box-shadow: 0 0 40px 0px rgba(0, 0, 0, .11);
    -webkit-box-shadow: 0 0 40px 0px rgba(0, 0, 0, .11);
    box-shadow: 0 0 40px 0px rgba(0, 0, 0, .11);
}

/* Logo
*****************************************************************************/

.header .logo {
    font-family: inherit;
    font-size: 23px;
    display: inline-block;
    display: inline-flex;
    align-items: center;
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

.header .logo > a {
    line-height: 0;
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

body.boxed_logo .header .logo > a {
    color: #fff;
}

html body.boxed_logo .header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.header .dark .logo, .dark .logo a, .header .dark .logo a:hover {
    color: #FFFFFF;
}

.transparent_header .dark .logo span, .transparent_header .dark .logo a span {
    color: #FFFFFF !important;
}

.header .alternate_logo {
    display: none;
}

.sticky_header_logo_alternate .header.drop_header .standard_logo {
    display: none !important;
}

.sticky_header_logo_alternate .header.drop_header .alternate_logo {
    display: inline-block !important;
}

/* Top Bar Social Icons
*****************************************************************************/

.topsocial {
    padding: 0 0 0 2rem;
    position: relative;
    order: 0;
    align-self: center;
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
    display: flex;
}

.topsocial li a {
    display: inline-block;
}

.topsocial li a i {
    line-height: inherit;
}

body.boxed_logo.header_nav_right .topsocial {
    padding-left: 1.5em;
}


body.header_nav_left .topsocial {
    padding-right: 1.75rem;
    margin-right: 0.1rem;
    padding-left: 0;
    order: 2;
}

body.header_nav_left .header .topsocial:after {
    content: '';
    position: absolute;
    right: 0;
    top: calc(50% - 1.25em);
    height: 2.5em;
    width: 1px;
    background-color: rgba(255,255,255,0.15);
}

body.header_nav_left .header.white .topsocial:after {
    background-color: rgba(0,0,0,0.1);
}

@media only screen and (max-width: 650px) {
    .topsocial {
        display: none;
    }
}

.topsocial li {
    list-style: none;
    display: inline-block;
    margin-right: 0.25em;
    font-size: 1.0em;
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

.topsocial li:last-child {
    margin-right: 0;
}

.topsocial li a {
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

.topsocial li a i {
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

.topsocial li:last-child {
    padding-right: 0;
}

/*circular*/
body.header_social_borders .topsocial li a {
    position: relative;
    display: inline-block;
    width: 2em;
    height: 2em;
    line-height: calc(2em - 4px);
    vertical-align: middle;
    text-align: center;
    border-radius: 50%;
    padding-top: 0;
}
body.header_social_borders .header.dark .topsocial li a {
    border: 2px solid rgba(255,255,255,0.3);
}
body.header_social_borders .header.white .topsocial li a {
    border: 2px solid rgba(0,0,0,0.15);
}
body.header_social_borders .header.dark .topsocial li a:hover {
    border: 2px solid rgba(255,255,255,1);
}
body.header_social_borders .header.white .topsocial li a:hover {
    border: 2px solid rgba(0,0,0,0.2);
}

/* White Top Bar Social Icons
*****************************************************************************/

.header.white .topsocial li a i {
    opacity: 1;
}

/* Dark Top Bar
*****************************************************************************/

.header.dark .topsocial li i {
    color: #FFFFFF;
}

.header.dark .topsocial li a:hover i {
    color: #fff;
}

/* Transparent Top Bar
*****************************************************************************/

body.transparent_header .header:not(.drop_header) {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

body.transparent_header .header {
    margin-top: 0px;
}

body.transparent_header .header:after {
    content: '';
    display: none;
}

html body.transparent_header.semitrans_header .header.dark {
    background-color: rgba(0,0,0,0.3) !important;
}

/* Top Bar Navigation
*****************************************************************************/

/* Animation ----------------- */

.topnav a, .header img, .header .search-click .activate:after {
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

/* ----------------------------- */

body.header_nav_off .header .topnav.main {
    display: none !important;
}

.header .topnav.main > li.new:before {
    content: '- new';
    position: absolute;
    top: 18%;
    left: 0.5rem;
    /*background: rgba(255,255,255,0.2);*/
    padding: 0.8em 0.4em;
    line-height: 0;
    border-radius: 3px;
    font-size: 0.65em;
    color: rgba(0,0,0,0.4);
}

.header.dark .topnav.main > li.new:before {
    color: rgba(255,255,255,0.4);
}

body.header_nav_left .topnav.main {
    width: 100%;
}

body.header_nav_left .topbar-content-container > [class*="menu"] {
    margin-left: 0;
}

body.header_nav_left:not(.boxed_logo) .topnav.main {
    margin-left: 1.75em;
}

body.header_nav_right .topnav.main {
    float: right;
}

body.header_nav_left .topnav.main > ul {
    float: left;
}

body.header_nav_center .topnav.main > ul {
    width: auto;
    display: inline-block;
    margin: 0 auto;
    float: none;
    left: 50%;
    position: absolute;
    transform: translateX(calc(-50% + 0.5px));
    top: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.topnav li {
    list-style: none;
    float: left;
    vertical-align: middle;
    padding: 0 1em;
    text-transform: none;
    position: relative;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media only screen and (max-width: 1024px) {
    .topnav li {
        padding-left: 0;
    }
}

.body:not(.centered_dropdowns) .topnav > li:last-child {
    padding-right: 0;
}

.topnav li a {
    vertical-align: middle;
    float: left;
    z-index: 100;
}

.topnav > li > a {
    white-space: nowrap;
    display: flex !important;
}

.header.white .topnav > li > a {
    opacity: 1;
}

.header.dark .topnav > li:hover > a {
    opacity: 1;
}

.topnav li a i {
    display: inline-block;
    line-height: inherit;
    margin-right: 0;
    color: inherit;
}

.topnav li li i {
    display: none;
}

.topnav li.menu-item-has-children a {
    position: relative;
}

/* New dropdown arrows */
body.dropdown_arrows .topnav > li.menu-item-has-children:after,
body.dropdown_arrows .topnav.members > li:after {
    content: '';
    height: 100%;
    width: 0;
    display: block;
    position: relative;
    border-style: solid;
    bottom: 0;
    left: 0em;
    border-width: 0 8px 8px;
    border-color: #fff transparent;
    opacity: 0;
    z-index: 1;
}
body.dropdown_arrows .topnav > li.menu-item-has-children:hover:after,
body.dropdown_arrows .topnav.members > li:hover:after {
    opacity: 1;
}

body.dropdown_arrows .topnav.members > li:after {
    left: auto;
    right: -5px;
}

body.centered_dropdowns.dropdown_arrows .topnav > li.menu-item-has-children:after,
body.centered_dropdowns.dropdown_arrows .topnav.members > li:after {
    transform: translate(-52%, 0) !important;
    left: 50%;
}

body.centered_dropdowns .topnav > li.menu-item-has-children:last-child > ul {
    margin-left: -0.5em;
}

body.header_nav_left.centered_dropdowns .topnav > li.menu-item-has-children:last-child > ul {
    margin-left: -0.4rem;
}

.topnav > li.menu-item-has-children > a:after {
    content: '\f078';
    font-family: 'FontAwesome';
    font-size: 0.5em;
    font-weight: normal !important;
    display: inline-block;
    padding-left: 0.7em;
    padding-top: 0.00em;
    float: right;
}

.header.white .topnav li a:hover {
    opacity: 1;
}

.header.white .topnav li.current-menu-item > a, .header.white .topnav li.current-menu-ancestor > a, .header.white .topnav li.current_page_parent > a, .header.white .topnav li.current-menu-parent > a {
    opacity: 1 !important;
}

.header.white .topnav li a:hover:after {
    opacity: 1;
}

.topnav > li:hover > a, .topnav > li:hover > a:after {
    opacity: 1 !important;
}

/* Current Menu Parent */
body.nav_underline .header .topnav > li.current-menu-parent:before,
body.nav_underline .header .topnav > li.current-menu-item:before,
body.nav_underline .header .topnav > li.current-menu-ancestor:before {
    content: '';
    position: relative;
    top: calc(50% + 0.75em);
    left: 0;
    height: 2px;
    width: 100%;
    display: inherit;
    margin-top: -2px;
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

    /*body.nav_underline .header .topnav.main:hover > li.current-menu-parent:before,
    body.nav_underline .header .topnav.main:hover > li.current-menu-item:before,
    body.nav_underline .header .topnav.main:hover > li.current-menu-ancestor:before {
        opacity: 0;
        }*/

        body.nav_underline .header .topnav > li.menu-item-has-children.current-menu-parent:before,
        body.nav_underline .header .topnav > li.menu-item-has-children.current-menu-item:before,
        body.nav_underline .header .topnav > li.menu-item-has-children.current-menu-ancestor:before {
            width: calc(100% - 0.7em);
        }

        body .header .topnav.members > li > ul:before {
            left: auto;
            right: 1.4em;
        }

        .header .topnav > li > ul > li a:hover {
            opacity: 1;
        }

/* Dark Top Bar Navigation
*****************************************************************************/

.header.dark .topnav > li > a {
    color: #FFFFFF;
}

.header.dark .topnav > li:hover > a {
    color: #FFFFFF;
    opacity: 1 !important;
}

.header.dark .topnav li.menu-item-has-children a:after {
    color: #FFFFFF !important;
    opacity: 0.5;
}

.header.dark .topnav li.current-menu-item > a:after {
    color: #FFFFFF;
    opacity: 1;
}

.header.dark .topnav li a:hover:after {
    color: #FFFFFF;
    opacity: 1;
}

/* Sub Menus
*****************************************************************************/

.topnav > li > ul {
    list-style: none;
    margin: 0 0 0 0;
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    left: -0.4em;
    padding: 1.8rem 2rem 1.8rem 1.4rem;
    visibility: hidden;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.topnav li:hover > ul {
    visibility: visible;
    opacity: 1;
}

body.dropdown_topline .topnav > li:hover > ul:before {
    content: '';
    position: absolute;
    top: -4px;
    height: 4px;
    width: 100%;
    left: 0;
    background: #ccc;
}

/* ---------------------------------------------------------------
/* Dark Dropdowns
--------------------------------------------------------------- */

body.dropdown_dark .topnav li > ul {
    border: 1px solid transparent !important;
    border-top: 0 !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

body.dropdown_dark .header .topnav ul li a {
    color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
}

body.dropdown_dark .header .topnav ul li a:hover {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

body.dropdown_dark .topnav ul li.menu-item-has-children:after {
    color: rgba(255, 255, 255, 0.7) !important;
    -webkit-transition: all .08s linear;
    transition: all .08s linear;
}

body.dropdown_dark .topnav ul li.menu-item-has-children:hover:after {
    color: #FFFFFF !important;
}
html body.dropdown_dark .header .topnav li > ul li.current-menu-item a {
    color: #FFFFFF !important;
}

body.dropdown_dark .header .topnav li.mega > ul .content-width > li > a {
    color: #FFFFFF !important;
}

/* ---------------------------------------------------------------
White dropdowns
--------------------------------------------------------------- */

body.dropdown_light .topnav li > ul {
    background-color: #FFFFFF;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.07);
}

.topnav li:not(.mega):not(.wide) .sub-menu .sub-menu {
    top: -1.8rem;
    left: calc(100% + 2rem + 3px) !important;
    padding: 1.8rem 2rem 1.8rem 1.4rem;
}

html body .topnav li:not(.mega)  li.wide .sub-menu {
    padding-right: 1.4rem !important;
}

.topnav li:not(.mega):not(.wide) .sub-menu .sub-menu:before {
    content: '';
    position: absolute;
    top: 0;
    left: -2.5em;
    bottom: 0;
    width: 4.5em;
    background: transparent;
}

body.dropdown_dark .topnav li:not(.mega):not(.wide) .sub-menu .sub-menu:before {
    width: 3em;
    left: calc(-3em + 1px);
}

body .header .mobilenav li {
    width: 100%;
    line-height: 1em;
}

body .header ul.sub-menu li > a {
    display: inline-block;
    width: 100%;
    white-space: nowrap;
}

body .header ul.sub-menu li.current-menu-item > a, body .header ul.sub-menu li.current_page_item > a {
    opacity: 1 !important;
}

body .header ul.sub-menu li > a:hover {
    opacity: 1 !important;
}

body.dropdown_light .header .topnav ul li a:hover {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

body.dropdown_dark .header .topnav ul li a:hover {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

/* --------------------------------------------------------------- */

.topnav li > ul li {
    position: relative;
}

body .topnav li > ul li.separate {
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 0.5em;
    padding-top: 0.5em;
}

body.dropdown_dark .topnav li > ul li.separate {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.topnav li > ul li {
    display: inline-block;
    width: 100%;
    height: auto;
    padding: 0 0 0 0;
    margin: 0;
    border-top: none;
    position: relative;
    line-height: 1;
}

.topnav li > ul li a {
    line-height: 1.4em !important;
}

.topnav li > ul li:last-child {
    border-bottom: none;
}

.topnav li > ul li a {
    display: block;
    width: 100%;
    height: auto;
    white-space: normal;
    padding: 0.6rem 0 !important;
}

.topnav li:not(.mega):not(.wide) > ul > li.menu-item-has-children > a {
    padding-right: 3.5em !important;
}

body.dropdown_dark .topnav li > ul li a {
    color: rgba(255, 255, 255, 1) !important;
}

.topnav li > ul li a:after {
    content: '';
    display: none;
}

.topnav li > ul li.current-menu-item a {
    opacity: 1 !important;
}

.topnav li > ul li a:hover {
    opacity: 1;
}

/* Reduced dropdown margin */
body.dropdown_negative_margin .header .topnav > li > ul {
    margin-top: -0.4em;
}
body.dropdown_negative_margin.dropdown_arrows .topnav > li.menu-item-has-children:after,
body.dropdown_negative_margin.dropdown_arrows .topnav.members > li:after {
    bottom: calc(0.3em + 1px);
}

/* Extra dropdown margin */
body.dropdown_positive_margin .header .topnav > li > ul {
    margin-top: 0.6em;
}
body.dropdown_positive_margin .header .topnav > li > ul:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -0.6em;
    height: 0.6em;
}
body.dropdown_positive_margin.dropdown_arrows .topnav > li.menu-item-has-children:after,
body.dropdown_positive_margin.dropdown_arrows .topnav.members > li:after {
    bottom: calc(-0.6em + 0px);
}

/* Inner Sub Menus
*****************************************************************************/

.topnav ul li > ul {
    left: 100%;
    right: auto;
    top: 0;
    position: absolute;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}

.topnav ul li:hover > ul {
    opacity: 1;
    visibility: visible;
}

.topnav ul li.menu-item-has-children:after {
    content: '\f054';
    font-family: 'FontAwesome';
    position: absolute;
    right: -1em;
    padding-left: 1em;
    font-size: 7.5px;
    height: 100%;
    font-weight: normal;
    display: flex;
    align-items: center;
    z-index: 100;
    cursor: pointer;
}

.topnav ul li.menu-item-has-children:hover:after {
    opacity: 1;
}

body.dark-bg .topnav ul li > ul {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: none;
    top: -1px;
}

/* Wide & Mega Menus
*****************************************************************************/

.topnav li.wide > a, .topnav li.mega > a {
    position: relative !important;
}

.topnav li.wide, .topnav li.mega {
    text-align: left !important;
    position: relative;
}

.topnav li.mega > ul > li > a:hover, body .topnav li.mega > ul .content-width > li > a:hover {
    background-color: transparent !important;
}

.sub-menu .mega-container {
    padding-left: 0;
    padding-right: 0;
    display: inline-block;
    display: flex;
    width: auto;
}

.mobilenav .sub-menu .mega-container {
    display: inline-block;
    width: 100%;
}

body .topnav li.wide > ul, body .topnav li.mega > ul {
    display: flex;
    flex-direction: column;
    width: auto;
}

body .topnav li.wide > ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

body .topnav li.edge > ul.sub-menu, body .topnav li.edge > ul.sub-menu {
    right: 0;
    left: auto;
}

body .topnav > li.edge, body .topnav > li.edge {
    position: initial;
}

/* Wide and mega dropdown widths */

body .topnav li.wide.col-2 > ul.sub-menu, body .topnav li.mega.col-2 > ul.sub-menu {
    width: calc(12rem * 2);
}

body .topnav li.wide.col-3 > ul.sub-menu, body .topnav li.mega.col-3 > ul.sub-menu {
    width: calc(12rem * 3);
}

body .topnav li.wide.col-4 > ul.sub-menu, body .topnav li.mega.col-4 > ul.sub-menu {
    width: calc(12em * 4);
}

body .topnav li.wide.col-5 > ul.sub-menu, body .topnav li.mega.col-5 > ul.sub-menu {
    width: calc(12rem * 5);
}

body .topnav li.wide.col-6 > ul.sub-menu, body .topnav li.mega.col-6 > ul.sub-menu {
    width: calc(12rem * 6);
}

body .topnav li.wide > ul ul, body .topnav li.mega > ul ul {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

/* ---------------------------
Ultra/Mega Menu
--------------------------- */

body .topnav li.mega > ul .mega-container ul {
    width: auto;
    left: auto !important;
    position: relative;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-direction: column !important;
    margin-top: 0.4em !important;
    border: none !important;
    background-color: transparent !important;
}

body .topnav li.mega:hover > ul .mega-container ul {
    visibility: visible !important;
    opacity: 1 !important;
    padding-bottom: 0;
}

body .header .topnav li.mega > ul .mega-container > li > a {
    cursor: default;
    background-color: transparent !important;
    color: initial !important;
    opacity: 1 !important;
}

body .header .topnav li.mega > ul .mega-container > li > a:before {
    display: none !important;
}

body.dropdown_dark .header .topnav li.mega > ul .mega-container > li > a {
    color: #FFFFFF !important;
}

body .header.dark .topnav li > ul li.current-menu-item a, body .header.white .topnav li > ul li.current-menu-item a {
    color: initial !important;
}

body .topnav li:hover ul li {
    max-height: initial !important;
}

/* Dropdown Hover Effect */
/* Disabled - For now */
body .topnav li ul li a:hover:before {
    content: '';
    display: none;
    position: absolute;
    left: -1.4rem;
    top: 0.5em;
    bottom: 0.5em;
    width: 2px;
    background: #111111;
}

body .topnav li.mega ul li a:hover:before {
    left: calc(-1.4rem - 2px);
}

body .topnav li.mega .mega-container > li:first-child a:hover:before {
    left: calc(-1.4rem - 0px) !important;
}

.topnav li.wide > ul li, .topnav li.mega > ul li {
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: inline-block;
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.topnav li.mega > ul > .mega-container > li {
    padding-left: 1.4em !important;
    padding-right: 1.4em !important;
    box-sizing: content-box;
    width: 10rem;
}

.topnav li.mega > ul > .mega-container > li li {
    width: 100%;
}

.topnav li.mega > ul > .mega-container > li:first-child {
    padding-left: 0 !important;
}

.topnav li.mega > ul > .mega-container > li:last-child {
    padding-right: 0 !important;
}

/* Divider - Disabled for now */
.topnav li.mega > ul > .mega-container > li:before {
    /*content: '';*/
    position: absolute;
    left: -3px;
    top: -1.6rem;
    bottom: -1.6rem;
    width: 1px;
    background: rgba(0,0,0,0.08) !important;
}

body.dropdown_dark .topnav li.mega > ul > .mega-container > li:before {
    background: rgba(255,255,255,0.05) !important;
}

.topnav li.mega > ul > .mega-container > li:first-child:before {
    display: none;
}

.topnav li.wide.col-2 > ul li, .topnav li.mega.col-2 > ul li {
    width: 50%;
}

.topnav li.wide.col-3 > ul li, .topnav li.mega.col-3 > ul li {
    width: calc(100% / 3);
}

.topnav li.wide.col-4 > ul li, .topnav li.mega.col-4 > ul li {
    width: 25%;
}

.topnav li.wide.col-5 > ul li, .topnav li.mega.col-5 > ul li {
    width: 20%;
}

.topnav li.wide.col-6 > ul li, .topnav li.mega.col-6 > ul li {
    width: 16.6%;
}

.topnav li.mega > ul > li > a {
    opacity: 1 !important;
}

.topnav li.mega > ul > li > ul {
    width: 100% !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    visibility: inherit;
    opacity: inherit;
    background: none !important;
}

.topnav li.mega > ul > li > ul li {
    width: 100% !important;
    position: relative;
    display: block;
    clear: both;
}

.topnav li.mega ul li.menu-item-has-children:after {
    content: '';
    display: none;
}

.header .topnav:not(.main) {
    margin-left: 1.5rem;
}

.header .topnav.messages {
    margin-left: 2em;
}

@media only screen and (max-width: 1024px) {
    .header .topnav:not(.main) {
        margin-left: 1.2em;
    }
}

/*****************************************************************************
* Stretched Dropdowns
*****************************************************************************/

body.stretched_dropdowns.dropdown_light .header .topnav > li > ul:before {
    content: '';
    position: absolute;
    left: -1800px;
    top: 0;
    right: -1800px;
    height: 1px;
    background-color: rgba(0,0,0,0.06);
    z-index: 0;
}

body.stretched_dropdowns .topnav > li > ul {
    left: -0.6rem;
}

body.stretched_dropdowns .topnav ul li > ul {
    left: calc(100% + 1.5em);
    padding-bottom: 2.5em;
}

body.stretched_dropdowns .header .topnav > li > ul:after {
    content: '';
    position: absolute;
    left: -1800px;
    top: 0;
    right: -1800px;
    bottom: -4px;
    background-color: inherit;
    z-index: -8;
}

body.stretched_dropdowns .header .topnav li .sub-menu .sub-menu:before {
    content: '' !important;
    position: absolute !important;
    left: -1800px !important;
    top: 0 !important;
    right: -1800px !important;
    bottom: -4px !important;
    background-color: inherit !important;
    z-index: -8 !important;
    pointer-events: none;
    width: initial !important;
}

body.stretched_dropdowns .header .topnav > li > .sub-menu {
    padding-top: 2.5em;
    padding-bottom: 2.5em;
}

body.stretched_dropdowns .topnav li > ul {
    box-shadow: none;
}
body.stretched_dropdowns:not(.dropdown_custom) .header .topnav > li > ul:after {
    box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.03);
}

body.stretched_dropdowns.dropdown_arrows .topnav > li.menu-item-has-children:after,
body.stretched_dropdowns.dropdown_arrows .topnav.members > li:after {
    bottom: -1px;
}

/* ¬Stretched Dropdown Column Sizes */

/*@media only screen and (min-width: 1025px) {
    body.stretched_dropdowns .topnav > li:not(.mega):not(.wide) > ul li {
        width: 10em !important;
    }
    }*/

    /* Mega */
    html body.stretched_dropdowns .topnav li.mega.col-5 > ul.sub-menu {
        width: calc(25em * 5);
    }
    html body.stretched_dropdowns .topnav li.mega.col-4 > ul.sub-menu {
        width: calc(25em * 4);
    }
    html body.stretched_dropdowns .topnav li.mega.col-3 > ul.sub-menu {
        width: calc(25em * 3);
    }
    html body.stretched_dropdowns .topnav li.mega.col-2 > ul.sub-menu {
        width: calc(25em * 2);
    }

/*****************************************************************************
* Header Cart Section (WooCommerce)
*****************************************************************************/

.header .topnav.header_cart {
    float: right;
    display: block;
    order: 4;
}

.header .topnav:not(.main) > li {
    padding: 0;
}

.topnav:not(.main) > li > a i {
    opacity: 1;
    -webkit-transition: all .08s linear;
    transition: all .08s linear;
}

.topnav.header_cart .counter {
    position: absolute;
    top: calc(50% - 1.4rem);
    left: 0.7rem;
    font-size: 9px;
    font-weight: bold;
    line-height: 18px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0, 0.2);
}

.topnav.header_cart a.cart-contents {
    position: relative;
    font-size: 1em;
    letter-spacing: 0.02em;
}

.topnav.header_cart a.cart-contents .amount {
    padding-left: 0.5em;
    font-size: 0.9rem;
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

@media only screen and (max-width: 767px) {
    .topnav.header_cart a.cart-contents .amount {
        position: absolute;
        text-indent: -200vw;
    }
}

.header.dark .topnav.header_cart > li > a:hover {
    color: rgba(255,255,255,1);
}

/* Header Member Section */

.header .user-profile {
    order: 100;
}

@media only screen and (min-width: 1025px) {
    .header .topnav.members > li.menu-item {
        padding-left: 1.5rem;
        cursor: pointer;
    }
    .header .topnav.members {
        margin-left: 0.25em;
    }
}

.header .user-profile img.avatar {
    border-radius: 50%;
    display: flex;
    padding: 2px;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(0, 0, 0, 0.15);
}

@media only screen and (max-width: 400px) {
    .header .user-profile img.avatar {
        width: 25px;
        height: 25px;
    }
}

body.logged-in .header .user-profile img.avatar {
    margin-right: 0.5em;
}

@media only screen and (max-width: 767px) {
    .header .topnav.members > li > a {
        text-indent: -100vw;
        overflow: hidden;
    }
    body.logged-in .header .user-profile img.avatar {
        margin-right: 0;
    }
}

.topnav.members > li > a {
    align-items: center;
    text-transform: inherit;
    letter-spacing: inherit;
    font-size: 1em;
}

.header.dark .user-profile img.avatar {
    border-color: rgba(255, 255, 255, 0.4);
}

.header.dark .user-profile .topnav > li:hover img.avatar {
    border-color: rgba(255, 255, 255, 1);
}

.topnav.members .sub-menu.user-menu {
    right: -1em !important;
    left: auto;
}

.header a.button {
    margin-bottom: 0;
}

.header .member_register {
    order: 100;
    margin-left: 1.2rem;
}

.header .member_register a.button {
    border: 2px solid;
    border-color: transparent;
    background-color: transparent;
}

@media only screen and (max-width: 500px) {
    .header .member_register a.button {
        padding: 0 1em !important;
    }
}

/* Member Menu */

.header .topnav.members .sub-menu {
    right: -0.7em !important;
    left: auto !important;
}

.header .topnav.members .sub-menu > li {
    width: 9em;
}

@media only screen and (max-width: 600px) {
    .topnav.members li > ul li a {
        padding-top: 0.75em !important;
        padding-bottom: 0.75em !important;
    }
}

/* Menu Animations */

body.animated_dropdowns .topnav > li > ul {
    transform: translateY(0.5em);
    transition: none;
}

body.animated_dropdowns .topnav li:hover > ul {
  transform: translateY(0);
  transition: all 0.15s ease-in-out;
}

body.animated_dropdowns .topnav > li:not(.mega):not(.wide) > ul li ul {
    transform: translateX(-1em);
}

body.animated_dropdowns .topnav > li:not(.mega):not(.wide) > ul li:hover ul {
    transform: translateX(0);
    transition: all 0.15s ease-in-out;
}

body.animated_dropdowns.dropdown_arrows .topnav > li.menu-item-has-children:after,
body.animated_dropdowns.dropdown_arrows .topnav.members > li:after {
    transition: none;
    transform: translateY(1em);
}

body.animated_dropdowns.dropdown_arrows .topnav > li.menu-item-has-children:hover:after,
body.animated_dropdowns.dropdown_arrows .topnav.members > li:hover:after {
    transition: all 0.2s linear;
    transition-delay: 0.14s;
    transform: translateY(0);
}

/* BuddyPress Messages */

@media only screen and (max-width: 767px) {
    .topnav.messages {
        display: inline-block !important;
    }
}

@media only screen and (max-width: 330px) {
    html body .topnav.messages {
        display: none !important;
    }
}

.header .user-messages {
    order: 3;
}

@media only screen and (max-width: 370px) {
    .header .user-messages {
        display: none;
    }
}

.topnav.messages > li > a i {
    font-size: 1.0rem;
    opacity: 1;
}

.topnav.messages .counter {
    position: absolute;
    top: calc(50% - 1.5rem);
    right: -0.5rem;
    font-size: 0.7rem;
    font-weight: bold;
    line-height: 1.2rem;
    border-radius: 50%;
    width: 1.2rem;
    height: 1.2rem;
    text-align: center;
    color: #fff;
    letter-spacing: -0.1em;
    padding-right: 0.2em;
}

/* Log In / Sign Up
*****************************************************************************/

.login-container {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 3em;
}

.login-container form {
    margin: 0;
}

body:not(.material_form_inputs) .login-container form button {
    border-radius: 4px !important;
}

.login-container input, .login-container button {
    width: 100%;
}

.login-links {
    line-height: 1.8em;
}

.login-container .status {
    display: inline-block !important;
    background: transparent;
    width: 100%;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 1em;
}

.login-container .status:empty {
    display: none !important;
}

/* Top Info Bar
*****************************************************************************/

.top-info-bar {
    padding: 10px 0;
    border-bottom: 1px solid #DDDDDD;
}

.header.dark .top-info-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile Navigation
*****************************************************************************/

html.stop-scrolling {
    overflow: hidden !important;
}

html {
    overflow-x: hidden;
}

body {
    position: relative;
}

.mobilenav-container-outer {
    position: fixed;
    right: -100%;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999999;
    transition: all 0.3s;
    overflow-y: auto;
}

html.show-mobile-nav {
    overflow: hidden;
}

html.show-mobile-nav .mobilenav-container-outer {
    right: 0;
}

html.show-mobile-nav body.header_nav_left:not(.boxed_logo) .mobilenav-container-outer {
    right: auto;
    left: 0;
}

html.header_nav_left:not(.boxed_logo) .mobilenav-container-outer {
    left: -100%;
    right: auto;
}

.mobilenav-container {
    min-height: 100vh;
    width: 100%;
    z-index: 800;
    background-color: #fff;
    display: flex;
    align-items: center;
}

.mobilenav-container .close {
    display: inline-block;
    font-size: 1.5em;
    position: absolute;
    top: 1.9rem;
    right: 1.5rem;
    cursor: pointer;
}

.mobilenav-container .close:before {
    font-family: 'FontAwesome';
    content: "\f00d";
    transition: all .1s;
    color: rgba(0,0,0,0.2);
}

.mobilenav-container .close:hover:before {
    color: #fb313a;
}

.mobilenav-bg {
    position: absolute;
    display: none !important;
    content: '';
    top: 0;
    height: 100%;
    left: 0;
    width: 100%;
    z-index: 900;
    transition: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.mobilenav {
    padding: 3em 0;
    text-align: left;
    display: inline-block;
    width: 100%;
    max-width: 350px;
    z-index: 6000;
    margin: 0 auto;
}

.mobilenav li i {
    display: none;
}

.mobilenav li a {
    display: block;
    line-height: 1.4em !important;
    padding: 1.2em 1.8rem;
    position: relative;
    color: rgba(0,0,0,0.7);
}

.mobilenav li a a {
    padding: 1.6em 1.8rem;
}

.mobilenav li.current-menu-item > a,
.mobilenav li.current-menu-parent > a {
    color: #111;
}

.mobilenav .sub-menu {
    padding-left: 0em;
    margin-left: 0em;
    margin-bottom: 1.5em;
}

.mobilenav .sub-menu .sub-menu {
    font-size: 1em;
    margin-bottom: 0;
}

.mobilenav li > ul {
    display: none;
}

.mobilenav li > ul li {
    border-top: none !important;
    cursor: pointer;
    font-size: 0.94em !important;
}

.mobilenav li > ul li a {
    padding-right: 5em;
}

.mobilenav li > ul li ul li a {
    padding-left: 3em;
}

.mobilenav li > ul li ul li ul li a {
    padding-left: 4em;
}

.mobilenav li a:after {
    /*content: '\f105';*/
    font-family: 'FontAwesome';
    font-size: 0.6em;
    color: rgba(0,0,0,0.2);
    position: absolute;
    right: 1.5rem;
    width: 1em;
    height: 1em;
    top: calc(50% - 1.1em);
}

.mobilenav li ul.sub-menu a:after {
    color: rgba(0,0,0,0.2);
}

.mobilenav li.menu-item-has-children > a:after {
    content: '\f067';
}

.mobilenav ul.sub-menu li.menu-item-has-children > a:after {
    font-size: 0.6rem;
}

.mobilenav > li.mega.menu-item-has-children > ul > li.menu-item-has-children > a:after {
    content: '\f067';
}

.header .topbar .mobilenav-click {
    order: 200;
    padding-left: 1.5rem;
    display: inline-flex;
    align-content: center;
    align-items: center;
    align-self: center;
}

@media only screen and (min-width: 1025px) {
    .header .topbar .mobilenav-click {
        display: none !important;
    }
}

body.header_nav_left:not(.boxed_logo) .header .topbar .mobilenav-click {
    order: -1;
    padding-left: 0;
    padding-right: 1.0em;
    margin-left: 0;
    margin-right: 0.3em;
}

@media only screen and (max-width: 600px) {
    html body.header_nav_left:not(.boxed_logo) .header .topbar .mobilenav-click {
        padding-right: 10px;
        margin-right: 10px;
    }
}

.header.stretched .topbar .mobilenav-click {
    display: flex;
}

body.transparent_header .header.dark .topbar .mobilenav-click {
    background-color: transparent !important;
}

@media only screen and (min-width: 1025px) {
    body.hide_mob_nav .header .topbar .mobilenav-click {
        display: none !important;
    }
}

.mobilenav-button-container {
    width: 20px;
    display: flex;
    align-self: center;
    right: 20px;
}

.mobilenav-button-inner {
    width: 20px;
    height: 100%;
    vertical-align: middle;
}

.mobilenav-button {
    width: 20px;
    position: relative;
    height: 2px;
    right: 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;

}

.mobilenav-button:before {
    content: '';
    width: 13px;
    height: 2px;
    display: block;
    position: absolute;
    top: -6px;
    right: 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.mobilenav-button:after {
    content: '';
    width: 16px;
    height: 2px;
    position: absolute;
    top: 6px;
    right: 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.mobilenav-click .mobilenav-button:before,
.mobilenav-click .mobilenav-button:after,
.mobilenav-click .mobilenav-button {
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

.mobilenav-click:hover .mobilenav-button:before,
.mobilenav-click:hover .mobilenav-button:after,
.mobilenav-click:hover .mobilenav-button {
    width: 20px;
}

body.header_nav_left:not(.boxed_logo) .mobilenav-button:before,
body.header_nav_left:not(.boxed_logo) .mobilenav-button:after,
body.header_nav_left:not(.boxed_logo) .mobilenav-button {
    left: 0;
    right: auto;
}

/* Dark Nav Bar Settings
*****************************************************************************/

.dark .mobilenav-button, .dark .mobilenav-button:before, .dark .mobilenav-button:after {
    background-color: #FFFFFF;
}

/* Home Page CTA Bar (Call to action)
*****************************************************************************/

.home-cta-bar {
    padding: 1.2em 0 1.10em 0;
    line-height: 1.4em;

    font-size: 1.34em;
    z-index: 20;
    position: relative;
    width: 100%;
}

.home-cta-bar.inline .content-width > div {
    display: inline;
}

.home-cta-bar.inline .content-width {
    text-align: center;
}

@media only screen and (min-width: 768px) {
    .home-cta-bar.inline .content-width {
        display: table;
    }
}

@media only screen and (max-width: 1023px) {
    .home-cta-bar.inline .text {
        padding-right: 0;
        display: inline-block !important;
    }
    .home-cta-bar.inline .button-container {
        text-align: center;
        display: inline-block !important;
        float: none;
    }
    .home-cta-bar.inline .button {
        float: none;
        display: inline-block;
        margin-top: 0 !important;
    }
    .home-cta-bar {
        padding-top: 2em;
        padding-bottom: 2em;
    }
    .home-cta-bar .text {
        display: block;
        margin-bottom: 1em;
    }
    .home-cta-bar .button {
        float: left;
        display: block;
        margin-top: 1em !important;
        margin-bottom: 2em !important;
    }
}

.home-cta-bar:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 100%;
    bottom: 0;
    left: -1000px;
    background-color: inherit;
}

.home-cta-bar:after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: -1000px;
    bottom: 0;
    left: 100%;
    background-color: inherit;
}

.home-cta-bar .content-width {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

@media only screen and (min-width: 1024px) {
    .home-cta-bar .content-width {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}
.home-cta-bar .text {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
    line-height: 1.5em;
    padding-right: 20px;
    width: 100%;
}

.home-cta-bar .button-container {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
    text-align: right;
}

@media only screen and (max-width: 1023px) {
    .home-cta-bar .button-container {
        text-align: left;
    }
}

html body .home-cta-bar a.button {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0;
}

.home-cta-spacer {
    content: '';
    width: 100%;
    height: 42px;
}

/* White
----------------------------------- */

.home-cta-bar.white {
    background-color: #FFFFFF;
}

/* Accent
----------------------------------- */

.home-cta-bar.accent {
    color: #FFFFFF;
}

/* Main
----------------------------------- */

.home-cta-bar.main {
    color: #FFFFFF;
    background-image: url(images/cta-bar-main-overlay.png);
}

/* Grey
----------------------------------- */

.home-cta-bar.grey {
    background-color: #E4E4E4;
}

/* Imagery
*****************************************************************************/

.link_image {
    position: relative;
    display: block;
    line-height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    padding-bottom: 0 !important;
    max-width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #f3f3f3;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}

.zoomContainer {
    overflow: hidden;
}

.zoomContainer .link_image {
    transform: scale(1);
    -webkit-filter: none;
    filter: none;
}

.zoomContainer .link_image:hover {
    transform: scale(1.1);
    -webkit-filter: none;
    filter: none;
}

.link_image img {
    padding-bottom: 0 !important;
    max-width: 100%;
    width: 100%;
    height: auto;
}

a.link_image:before {
    content: '';
    position: absolute;
    opacity: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #fff;
    -webkit-transition: all .1s linear;
    -moz-transition: all .1s linear;
    -o-transition: all .1s linear;
    -ms-transition: all .1s linear;
    transition: all .1s linear;
}

a.link_image:hover:before {
    opacity: 0.12;
}

a.link_image:after {
    content: '...';
    font-size: 1rem;
    width: 1em;
    height: 1em;
    text-align: center;
    font-weight: bold;
    position: absolute;
    line-height: 1;
    bottom: 30px;
    right: 30px;
    opacity: 0;
    color: rgba(255,255,255,0.85);
    -webkit-transition: opacity .1s linear;
    -moz-transition: opacity .1s linear;
    -o-transition: opacity .1s linear;
    -ms-transition: opacity .1s linear;
    transition: opacity .1s linear;
}

.wpb_gallery a.link_image {
    margin-bottom: 25px;
}

.wpb_gallery a.link_image:after {
    font-family: 'FontAwesome';
    font-size: 0.6rem;
    font-weight: normal;
    right: 2.45em;
    bottom: 2.25em;
    content: '\f067';
}

.link_image:hover:after {
    opacity: 1;
}

.link_image.no_link:hover {
    cursor: default;
}

.link_image.no_link:hover:after, .link_image.no_link:hover:before {
    display: none;
}

img.attachment-large, img.attachment-medium, img.attachment-thumbnail {
    max-width: 100%;
    height: auto;
}

/* Shortcodes

/* Bullet List
*****************************************************************************/

.main-content-inner ul {
    list-style: disc;
    list-style-position: outside;
    margin-left: 1em;
}

.main-content-inner ul li {
    line-height: 1.8em;
    margin-bottom: 0.3em;
    padding-left: 0.5em;
}

.main-content-inner ul, .main-content-inner ol, .main-content-inner dl {
    margin-bottom: 2.2em;
}

.main-content-inner ul:last-child, .main-content-inner ol:last-child, .main-content-inner dl:last-child {
    margin-bottom: 0;
}

.main-content-inner li ul, .main-content-inner li ol {
    margin-top: 0.9em;
}

/* Ordered List
*****************************************************************************/

.main-content-inner ol {
    list-style-type: decimal;
    list-style-position: outside;
    margin-left: 1em;
}

.main-content-inner ol li {
    display: list-item;
    line-height: 1.8em;
    margin-bottom: 0.9em;
    padding-left: 0.5em;
}

/* Definition List
*****************************************************************************/

.main-content-inner dl {
    line-height: 1.8em;
}

.main-content-inner dl dt {
    margin-bottom: 0.4em;
}

.main-content-inner dl dd {
    margin-bottom: 1.8em;
}

/* Form Elements
*****************************************************************************/

.form-submit {
    margin-bottom: 0;
    margin-top: 2em;
}

form {
    clear: both;
}

input[type="radio"],
input[type="checkbox"] {
    margin-bottom: 0;
}

input, textarea, select, .select2-container--default .select2-selection--single {
    font-family: inherit;
    padding: 1.1em 1em;
    border: none;
    font-size: 1em;
    border-radius: 4px;
    margin: 0 0 1em 0;
    outline: none;
    -webkit-transition: all 10ms ease-out;
    -moz-transition: all 100ms ease-out;
    -o-transition: all 100ms ease-out;
    transition: all 100ms ease-out;
}

html body .select2-container--default .select2-selection--single {
    height: auto;
}

/* Autofill - Be Gone! */

@-webkit-keyframes autofill {
    to {

        background: transparent;
    }
}
@-webkit-keyframes autofill_standard {
    to {
        background: rgba(0, 0, 0, 0.06);
    }
}
input:-webkit-autofill {
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}
body.standard-form-inputs input:-webkit-autofill,
body.standard-form-inputs input:focus:-webkit-autofill {
    -webkit-animation-name: autofill_standard;
    -webkit-animation-fill-mode: both;
}

html body input[type="file"] {
    background-color: transparent !important;
}

textarea {
    line-height: 1.7em;
}

input[type="checkbox"] {
    display: inline-block;
    float: left;
    margin-top: 0.1em;
    margin-right: 0.5em !important;
    box-shadow: none !important;
    width: auto !important;
}

.sidebar input, .sidebar textarea, .sidebar select, .footer input, .footer textarea, .footer select {
    width: 100%;
    padding-top: 0.9em;
    padding-bottom: 0.9em;
}

.light-bg input, .light-bg textarea, .light-bg select {
    background-color: rgba(0, 0, 0, 0.06);
    color: #6F6F6F;
    border: none;
}

.white-form-inputs .main-content input,
.white-form-inputs .main-content textarea,
.white-form-inputs .main-content select,
.white-form-inputs .footer.white input,
.white-form-inputs .footer.light input,
.white-form-inputs .footer.white textarea,
.white-form-inputs .footer.light textarea,
.white-form-inputs .footer.white select,
.white-form-inputs .footer.light select,
.white-form-inputs input,
.light-bg.white-form-inputs textarea,
.light-bg.white-form-inputs select,
.white-form-inputs input:focus,
.white-form-inputs textarea:focus,
.white-form-inputs select:focus,
.select2-container--default .select2-selection--single {
    background-color: #FFFFFF;
    border: 2px solid rgba(0, 0, 0, 0.14);
    /*box-shadow: inset 0 3px 3px rgba(0, 0, 0, 0.03);*/
}

/* White form input focus border */

.white-form-inputs .footer.light input {
    background-color: #FFFFFF;
}

input:focus, textarea:focus, select:focus {
    background-color: rgba(0, 0, 0, 0.075);
}

input[type="submit"] {
    outline: none;
    border: none;
    margin: 0;
    color: #FFFFFF !important;
}

.light-bg input[type="submit"], .dark-bg input[type="submit"] {
    color: #FFFFFF !important;
}

input[type="submit"]:focus {
    color: #FFFFFF !important;
}

textarea {
    width: 100%;
    max-width: 100%;
    height: 10em;
    clear: both;
}

select {
    margin-left: 0;
    margin-right: 0;
    padding: 0.5em;
}

label.error {
    color: #e63041;
    font-weight: inherit;
}

/* White Form on dark bg ------ */

.white-form-inputs .main-content .dark-bg input, .white-form-inputs .main-content .dark-bg textarea, .white-form-inputs .main-content .dark-bg select {
    border: none !important;
}

.white-form-inputs .main-content .dark-bg input:focus, .white-form-inputs .main-content .dark-bg textarea:focus, .white-form-inputs .main-content .dark-bg select:focus {
    border: none !important;
    background-color: fff !important
}

/* Dark BG based formfields ------------------ */

body.standard-form-inputs .dark-bg form input:not([type="submit"]):not([type="button"]),
body.standard-form-inputs .dark-bg form textarea {
    color: #fff;
    background-color: rgba(255,255,255,0.15);
    border: none;
}

body.standard-form-inputs .dark-bg form input:focus:not([type="submit"]):not([type="button"]),
body.standard-form-inputs .dark-bg form textarea:focus {
    background-color: #fff;
    border: none;
}

body.standard-form-inputs .dark-bg ::-webkit-input-placeholder {
    color: #fff !important;
    opacity: 0.85;
}

body.standard-form-inputs .dark-bg *:focus::-webkit-input-placeholder {
    color: inherit !important;
    opacity: 1;
}

body.standard-form-inputs .dark-bg label.error {
    color: #fff;
}

/*------------------------*/
/* Form Labels
/*------------------------*/

form label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
}

/*------------------------*/
/* Form Placeholders
/*------------------------*/

::-webkit-input-placeholder, body.white-form-inputs .dark-bg::-webkit-input-placeholder {
    color: inherit !important;
    opacity: 0.6;
}

/*------------------------*/
/* Browser Required / Invalid
/*------------------------*/

form .error-message {
    position: relative;
    left: 20px;
    bottom: -0.75em;
    width: 100%;
    font-size: 0.8em;
    line-height: 1.2em;
    font-weight: 500;
    color: #e62235;
    letter-spacing: 0.01em;
    z-index: 3;
}

body.center_page_title form .error-message {
    left: 0;
    text-align: center;
}

/* Material
*****************************************************************************/

body.material_form_inputs form input:not([type="submit"]):not([type="button"]),
body.material_form_inputs textarea,
body.material_form_inputs select {
    border-top-width: 0 !important;
    border-right-width: 0 !important;
    border-left-width: 0 !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 2em;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    background-color: transparent !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.material_form_inputs form input:hover:not([type="submit"]):not([type="button"]),
body.material_form_inputs form textarea:hover {
    background-color: transparent !important;
}

body.material_form_inputs .dark-bg form input:not([type="submit"]):not([type="button"]),
body.material_form_inputs .dark-bg form textarea {
    border-bottom: 2px solid rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
}

html body.material_form_inputs .dark-bg form input:hover:not([type="submit"]):not([type="button"]),
html body.material_form_inputs .dark-bg form textarea:hover {
    border-bottom: 2px solid rgba(255, 255, 255, 1) !important;
}

html body.material_form_inputs .dark-bg form input:focus:not([type="submit"]):not([type="button"]),
html body.material_form_inputs .dark-bg form textarea:focus {
    border-bottom: 2px solid rgba(255, 255, 255, 1) !important;
}

html body.material_form_inputs #searchsubmit {
    padding-right: 1em !important;
    text-align: right;
}

html body.material_form_inputs .widget_basix_newsletter_widget #submit {
    height: auto;
    padding: 0.1em 0 1em 1em !important;
    color: inherit !important;
    line-height: 1;
    background-color: transparent !important;
    opacity: 0.5;
    font-size: 1em !important;
    box-shadow: none !important;
}

html body.material_form_inputs .widget_basix_newsletter_widget #submit:hover {
    opacity: 1;
    background-color: transparent !important;
    background: transparent !important;
}

html body.material_form_inputs .widget_basix_newsletter_widget #submit i {
    margin-right: 0;
}

body.material_form_inputs .dark-bg ::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1 !important;
}

body.material_form_inputs .dark-bg :-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1 !important;
}

body.material_form_inputs .dark-bg ::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1 !important;
}

body.material_form_inputs .dark-bg :-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1 !important;
}

body.material_form_inputs .dark-bg *:focus::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 1) !important;
    opacity: 1 !important;
}

body.material_form_inputs .dark-bg .contactform label.error {
    color: #fff !important;
}

/* Buttons
*****************************************************************************/

a.button, input[type="submit"],
button, .vc_btn3-container a,
#tribe-events .tribe-events-button,
.tribe-events-button, .tribe-events-read-more, #buddypress #item-buttons a {
    padding: 0 1.9em !important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    outline: none;
    border: none;
    font-family: inherit;
    font-size: 1em;
    font-weight: 600;
    display: inline-block;
    margin: 0 0 3rem 0;
    cursor: pointer;
    white-space: nowrap;
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
    color: #fff;
}

.basix_button.left {
    float: left;
}

html body .main-content .button:focus, html body .main-content input[type="submit"]:focus {
    border: none !important;
}

input[disabled="true"], button[disabled="disabled"], input[disabled] {
    opacity: 0.2;
}

.vc_btn3.vc_btn3-size-md .vc_btn3-icon {
    padding-right: 5px;
}

.centered > a.button, .centered > input[type="submit"], .centered > button {
    margin-right: 0;
}

a.button:focus, input[type="submit"]:focus, button:focus {
    border: inherit;
}

a.button:only-child, input[type="submit"]:only-child, a.button:last-child, input[type="submit"]:last-child {
    margin-right: 0 !important;
}

.light-bg form input[type="submit"], .dark-bg form input[type="submit"] {
    border: 0 !important;
}

.light-bg form input[type="submit"] {
    color: #FFFFFF;
}

a.button.accent, button.accent, input.accent[type="submit"] {
    color: #FFFFFF !important;
}

a.button.main, button.main, input.main[type="submit"], .tribe-events-read-more {
    color: #FFFFFF !important;
}

a.button.blue, button.blue, input.blue[type="submit"] {
    color: #FFFFFF;
    background-color: #425fca;
    box-shadow: inset 0 0 0em rgba(0,0,0,0), 0 0 50px #425fca73;
}

a.button.blue:hover, button.blue:hover, input.blue[type="submit"]:hover {
    box-shadow: inset 0 0 7em rgba(0,0,0,0.1), 0 0 50px #425fca73;
}

a.button.green, button.green, input.green[type="submit"] {
    color: #FFFFFF;
    background-color: #3ab777;
    box-shadow: inset 0 0 0em rgba(0,0,0,0), 0 0 50px #3ab77773;
}

a.button.green:hover, button.green:hover, input.green[type="submit"]:hover {
    box-shadow: inset 0 0 7em rgba(0,0,0,0.1), 0 0 50px #3ab77773;
}

a.button.red, button.red, input.red[type="submit"] {
    color: #FFFFFF;
    background-color: #ea3b4b;
    box-shadow: inset 0 0 0em rgba(0,0,0,0), 0 0 50px #ea3b4b73;
}

a.button.red:hover, button.red:hover, input.red[type="submit"]:hover {
    box-shadow: inset 0 0 7em rgba(0,0,0,0.1), 0 0 50px #ea3b4b73;
}

a.button.purple, button.purple, input.purple[type="submit"] {
    color: #FFFFFF;
    background-color: #7d47a2;
    box-shadow: inset 0 0 0em rgba(0,0,0,0), 0 0 50px #7d47a273;
}

a.button.purple:hover, button.purple:hover, input.purple[type="submit"]:hover {
    box-shadow: inset 0 0 7em rgba(0,0,0,0.1), 0 0 50px #7d47a273;
}

a.button.cyan, button.cyan, input.cyan[type="submit"] {
    color: #FFFFFF;
    background-color: #43c3d0;
    box-shadow: inset 0 0 0em rgba(0,0,0,0), 0 0 50px #43c3d073;
}

a.button.cyan:hover, button.cyan:hover, input.cyan[type="submit"]:hover {
    box-shadow: inset 0 0 7em rgba(0,0,0,0.1), 0 0 50px #43c3d073;
}

a.button.yellow, button.yellow, input.yellow[type="submit"] {
    background-color: #f7d268;
    color: #50472b;
    box-shadow: inset 0 0 0em rgba(0,0,0,0), 0 0 50px #f7d26873;
}

a.button.yellow:hover, button.yellow:hover, input.yellow[type="submit"]:hover {
    box-shadow: inset 0 0 7em rgba(0,0,0,0.06), 0 0 50px #f7d26873;
}

a.button.transparent, button.transparent, input.transparent[type="submit"] {
    background-color: transparent !important;
    color: #FFFFFF !important;
    -webkit-box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 1) !important;
    -moz-box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 1) !important;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 1) !important;
}

a.button.transparent:hover, button.transparent:hover, input.transparent[type="submit"]:hover {
    -webkit-box-shadow: inset 0 0 0 2px #FFFFFF !important;
    -moz-box-shadow: inset 0 0 0 2px #FFFFFF !important;
    box-shadow: inset 0 0 0 2px #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none;
}

a.button.grey, button.grey, input.grey[type="submit"] {
    background-color: #d2d2d2 !important;
    color: #363636 !important;
    box-shadow: 0 0 50px #d2d2d273;
}

a:hover.button.grey, button:hover.grey, input:hover.grey[type="submit"] {
    background-color: #c5c5c5 !important;
    color: #363636 !important;
}

a.button.white, button.white, input.white[type="submit"] {
    background-color: #FFFFFF !important;
}

a.button.bordered, button.bordered, input.bordered[type="submit"] {
    background-color: transparent;
    background-image: none;
    box-shadow: 0 0 40px rgba(0,0,0,0);
}

a.button i, button i, input[type="submit"] i {
    margin-right: 0.6em;
    color: inherit;
    position: relative;
    line-height: 0;
    font-size: 1em;
    top: 1px;
}

a.button i.right, button i.right, input[type="submit"] i.right {
    margin-left: 0.3em;
    margin-right: 0;
}

a.button.yellow i, button.yellow i, input.yellow[type="submit"] i {
    color: #575140;
}

a.button.grey i, button.grey i, input.grey[type="submit"] i {
    color: #555555;
}

.button.no_bg {
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: transparent !important;
    margin-top: 1em !important;
}

.button.no_bg:hover {
    box-shadow: none !important;
}

.dark-bg .button.no_bg {
    color: #fff !important;
}

/* Small
/* --------------- */

a.button.small {
    font-size: 1em !important;
    line-height: 0.6em;
}

/* Large
/* --------------- */

a.button.large, button.large, input[type="submit"].button.large {
    font-size: 1.3em !important;
    line-height: 3.2em;
    padding: 0 2em !important;
}

@media only screen and (max-width: 768px) {
    a.button.large, button.large, input[type="submit"].button.large {
        font-size: 1em !important;
    }
}

/*****************************************************************************
*                                BuddyPress                                *
*****************************************************************************/

/* Cover Image ------------------------- */

#buddypress #cover-image-container {
    position: initial;
}

#buddypress #header-cover-image {
    height: 400px;
    background-color: #333;
    cursor: default;
    pointer-events: none; /* Disable link */
}

@media only screen and (max-width: 782px) {
    #buddypress #header-cover-image {
        height: 200px;
    }
}

#buddypress #item-header-cover-image {
    padding: 0;
}

@media only screen and (min-width: 783px) {
    #buddypress #item-header-cover-image #item-header-avatar {
        margin-top: 318px;
        margin-left: -5px;
    }
}

@media only screen and (min-width: 0) and (max-width: 782px) {
    #buddypress #item-header-cover-image #item-header-avatar {
        margin-top: 120px;
        margin-left: 0;
    }
}

body.buddypress.bp-user .title-container {
    display: none;
}

body.buddypress.bp-user .main-content-inner {
    padding-top: 0 !important;
}

/*#buddypress span.activity {
    margin-top: 1em;
    }*/

    #buddypress div#item-header div#item-meta {
        font-size: 1em;
        margin: 0.5em 0 0 0;
    }

    #buddypress div#item-header img.avatar {
        border-radius: 50%;
        border-width: 5px !important;
    }

    .bp-user #buddypress #item-header {
        margin-bottom: 0;
    }

    /* Item Nav */
    @media only screen and (min-width: 783px) {
        #buddypress #item-nav {
            width: 170px;
        }
    }

    #buddypress div.item-list-tabs:not(#subnav) ul li {
        float: none;
        display: inline-block;
        width: 100%;
        margin-bottom: 0.5em;
    }

    @media only screen and (max-width: 782px) {
        #buddypress #item-nav div.item-list-tabs {
            background-color: rgba(0,0,0,0.06);
            border-radius: 4px;
            overflow: hidden;
        }
        #buddypress div.item-list-tabs:not(#subnav) ul li {
            float: left;
            width: 25%;
            font-size: 0.8em;
            text-align: center;
            padding: 0.5em;
            margin-bottom: 0;
            border-right: 1px solid #fff;
            border-bottom: 1px solid #fff;
            line-height: 2em;
            height: 3em;
        }
        #buddypress div.item-list-tabs:not(#subnav) ul li:nth-child(5),
        #buddypress div.item-list-tabs:not(#subnav) ul li:nth-child(6),
        #buddypress div.item-list-tabs:not(#subnav) ul li:nth-child(7),
        #buddypress div.item-list-tabs:not(#subnav) ul li:nth-child(8) {
            border-bottom: none;
        }
        #buddypress div.item-list-tabs:not(#subnav) ul li:nth-child(5) {
            clear: both;
        }
        #buddypress #item-nav {
            width: 100%;
        }
    }

    #buddypress div.item-list-tabs ul li a, #buddypress div.item-list-tabs ul li span {
        padding: 0;
    }

    #buddypress div.item-list-tabs#subnav {
        margin: 0 0 1em 0;
    }

    @media only screen and (max-width: 782px) {
        #buddypress div.item-list-tabs#subnav {
            margin-bottom: 2em;
        }
    }

    #buddypress div.item-list-tabs#subnav ul li {
        margin-right: 1.1em;
        line-height: 3em;
    }

    @media only screen and (max-width: 960px) {
        #buddypress div.item-list-tabs#subnav ul li {
            line-height: 2em;
            float: left;
        }
        #buddypress div.item-list-tabs#subnav ul li.last {
            width: 100%;
            margin-top: 1em !important;
        }
    }

    @media only screen and (max-width: 960px) {
        #buddypress div[role="navigation"] li.last,
        #buddypress div.message-search {
            background-color: rgba(0,0,0,0.05);
            padding: 0.5em;
            margin-top: 1em;
            border-radius: 4px;
            width: 100%;
        }
        #buddypress div[role="navigation"] li.last label {
            display: none;
        }
        #buddypress div[role="navigation"] li.last select {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0;
            height: 2em;
        }
        html body #buddypress div.message-search input[type="text"] {
            width: 68%;
        }
        html body #buddypress div.message-search input[type="submit"] {
            width: 30%;
        }
    }

    @media only screen and (max-width: 440px) {
        html body #buddypress div.message-search input[type="submit"] {
            width: 30%;
            font-size: 0.8em;
            line-height: 2.8em;
            padding-left: 1em !important;
            padding-right: 1em !important;
        }
    }

    #buddypress #messages-bulk-management {
        padding: 0 !important;
        background-color: transparent !important;
    }

    /* General Styling */

    #buddypress {
        margin-bottom: 3em;
    }

    #buddypress div.item-list-tabs ul li.current a, #buddypress div.item-list-tabs ul li.selected a {
        background-color: transparent;
    }

    html body #buddypress #item-nav {
        display: inline-block;
        float: left;
        margin-bottom: 3em;
        padding-top: 0.5rem;
        position: relative;
    }

    @media only screen and (max-width: 782px) {
        #buddypress #item-nav {
            display: none;
        }
        #buddypress #item-nav:before {
            display: none;
        }
    }

    #buddypress #item-nav:before {
        content: '';
        width: 1px;
        background-color: rgba(0,0,0,0.1);
        height: 100%;
        position: absolute;
        top: 0;
        right: 30px;
        z-index: 10;
    }

    @media only screen and (min-width: 783px) {
        #buddypress #item-body {
            overflow: hidden;
        }
    }

    #buddypress #item-nav, #buddypress #item-body {
        padding-top: 0;
    }

    #buddypress img.avatar {
        border-radius: 50%;
    }

    #buddypress #activity-stream p {
        margin: 0;
    }

    #buddypress .activity-header a {
        display: inline-block;
    }

    #buddypress .activity-list .activity-content .activity-inner {
        margin: 0;
    }

    #buddypress .activity-list .activity-content .activity-inner p, #buddypress .activity-list .activity-content blockquote {
        margin-top: 1.5em !important;
    }

    #buddypress .activity-list .activity-content .activity-inner p:nth-child(2),
    #buddypress .activity-list .activity-content .activity-inner p:nth-child(3),
    #buddypress .activity-list .activity-content .activity-inner p:nth-child(4) {
        display: none;
    }

    #buddypress .activity-list .activity-content .activity-inner img {
        margin-top: 2em !important;
    }

    html body #buddypress ul.activity-list li:first-child {
        padding-top: 0 !important;
    }

    #buddypress ul.item-list li:last-child {
        margin-bottom: 0;
        border-bottom: none;
    }

    #buddypress div.item-list-tabs#subnav ul li.last {
        margin-top: 0;
        margin-right: 0;
    }

    #buddypress #bbpress-forums, #bbpress-forums .bbp-pagination {
        margin-bottom: 0;
    }

/*#buddypress table tr td:first-child {
    padding-left: 0;
    }*/

    #buddypress .comment-reply-link, #buddypress .generic-button a, #buddypress .standard-form button, #buddypress a.button, #buddypress input[type=button], #buddypress input[type=reset], #buddypress input[type=submit], #buddypress ul.button-nav li a, a.bp-title-button {
        font-size: inherit;
        color: #fff;
    }

    #buddypress form label {
        display: inline-block;
    }

    #buddypress form label:first-child {
        margin-top: 0;
    }

    @media only screen and (min-width: 768px) {
        #buddypress form input:not([type="submit"]):not([type="checkbox"]):not([name="s"]) {
            width: 50%;
            margin-bottom: 1em;
        }
    }

    @media only screen and (max-width: 767px) {
        #buddypress form input:not([name="s"]):not([type="submit"]):not([type="radio"]) {
            width: 100%;
        }
        #buddypress form input#pass2 {
            margin-top: 1em;
        }
    }

    html body ul.acfb-holder li {
        float: none;
    }

    #buddypress form .description {
        line-height: 1.4em;
    }

    #buddypress table td, #buddypress table th {
        padding: 1em;
        vertical-align: middle;
        line-height: 1.4em;
    }

    #buddypress table tr {
        border-bottom: 1px solid rgba(0,0,0,0.05);
        background-color: rgba(0,0,0,0.03);
    }

    #buddypress #avatar-upload-form {
        display: none;
    }

    #buddypress #message-threads span.from {
        display: none;
    }

    @media only screen and (min-width: 768px) {
        #buddypress .standard-form input[type="password"] {
            margin-bottom: 1em;
        }
    }

    #buddypress a.bp-primary-action span, #buddypress #reply-title small a span {
        border-radius: 10px;
    }

    #buddypress #item-buttons a {
        color: #fff;
    }

    #buddypress .button, #buddypress button {
        margin-bottom: 0;
    }

    #buddypress .item-meta {
        line-height: 1;
    }

    ul.avatar-nav-items {
        margin-left: 0;
    }

    div.bp-avatar-status p.success, div.bp-cover-image-status p.success {
        border: none !important;
        border-radius: 5px;
        background-color: #d0e4be;
        color: #41463e;
    }

    #buddypress p.warning, body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning, body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
        font-weight: normal;
        margin-top: 3px;
        text-decoration: none;
        background-color: #e6e6d5;
        border: none;
        color: #61615a;
        border-radius: 5px;
    }

    #buddypress .activity-meta a.button {
        background-color: rgba(0,0,0,0.07);
        color: inherit;
        text-transform: none;
        font-size: 0.9em;
        margin-bottom: 0.5em;
    }

    #buddypress .activity-header a, #buddypress .comment-meta a, #buddypress .acomment-meta a {
        font-size: inherit !important;
    }

    #buddypress .register-section input:not([type="submit"]) {
        width: 100% !important;
    }

    #buddypress #signup_form {
        max-width: 450px;
        margin: 0 auto;
        background-color: rgba(0,0,0,0.05);
        padding: 2em;
        border-radius: 5px;
    }

    #buddypress #signup_form p {
        display: none;
    }

    #buddypress form:not(#notifications-sort-order):not(#search-message-form):not(#activity-loop-form) {
        padding: 2em 1.5em 1.5em 1.5em;
        width: 100%;
        background-color: rgba(0,0,0,0.05);
        border-radius: 5px;
        margin-bottom: 1.5em;
    }

    @media only screen and (max-width: 767px) {
        #buddypress form:not(#notifications-sort-order):not(#search-message-form):not(#activity-loop-form) {
            padding: 2em 1em 1em 1em;
        }
    }

    #buddypress form#send-reply {
        padding: 0;
    }

    #buddypress #send_message_form p {
        margin-bottom: 0;
    }

    #buddypress #send_message_form label {
        margin-top: 1.5em;
    }

    #buddypress #send_message_form label:first-child {
        margin-top: 0;
    }

    body.directory.activity #buddypress form#whats-new-form {
        margin-bottom: 2em;
    }

    #buddypress form input[type="submit"] {
        margin-bottom: 1em;
    }

    #buddypress #activity-loop-form {
        background-color: transparent;
        padding: 0;
    }

    body.directory.activity .item-list-tabs.activity-type-tabs {
        display: none;
    }

    /* BuddyPress Avatar Borders */
    #buddypress img.avatar {
        border: 2px solid;
        padding: 2px;
    }

    #buddypress .activity-item.mini img.avatar {
        border: 1px solid;
    }

    #buddypress #item-header-avatar img.avatar {
        border-color: #fff !important;
    }

    #buddypress #latest-update {
        line-height: 1.4em;
    }

    #buddypress #latest-update a[rel="nofollow"] {
        display: none;
    }

    #buddypress .messages-options-nav,
    #buddypress .notifications-options-nav {
        margin-top: 2em;
    }

    #buddypress .notifications tbody tr {
        background-color: #fff;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    #buddypress .thread-from {
        position: relative;
    }

    #buddypress .thread-from .activity {
        display: block;
    }

    #buddypress input[type="checkbox"] {
        margin: 0 1em 0 0;
    }

    #buddypress .messages input[type="checkbox"] {
        margin: 0 !important;
    }

    #buddypress form p {
        line-height: 1;
    }

    #buddypress div#item-header-cover-image .user-nicename a, #buddypress div#item-header-cover-image .user-nicename {
        font-size: 2.4em;
        color: #fff;
        margin: 0 0 0.6em;
        text-rendering: optimizelegibility;
        text-shadow: 0 0 3px rgba( 0, 0, 0, 0.8 );
    }

    #buddypress #messages-bulk-manage {
        line-height: 2em;
        padding-left: 1.4em !important;
        padding-right: 1.4em !important;
    }

    #buddypress #messages-select {
        height: 2.2em;
    }

    @media only screen and (max-width: 500px) {
        #buddypress #messages-bulk-management {
            padding: 0 !important;
            background-color: transparent !important;
        }
    }

    #buddypress th {
        font-size: 1rem;
    }

    @media only screen and (max-width: 782px) {
        #buddypress .thread-options {
            display: none;
        }
    }

    html body #buddypress form .message-box .avatar-box img.avatar {
        margin-top: -0.5em !important;
    }

    html body #buddypress form .message-box .avatar-box {
        margin-bottom: 1em !important;
    }

    @media only screen and (max-width: 782px) {
        #buddypress div#item-header-cover-image .user-nicename a, #buddypress div#item-header-cover-image .user-nicename {
            text-shadow: none;
            color: inherit;
        }
    }

    html body #buddypress #item-buttons a {
        margin-bottom: 1em;
    }

    #buddypress div#item-header div.generic-button, #buddypress div#item-header a.button {
        margin-top: 0;
    }

    #buddypress blockquote {
        font-size: 1em;
    }

/*****************************************************************************
*                                  bbPress                                 *
*****************************************************************************/

/* Forum Stats ------------------------- */

.forum_stats {
    text-align: center;
}

.forum_stats dl {
    display: inline-flex;
    flex-flow: row wrap;
}

.forum_stats dt {
    margin-right: 0.5em;
}

.forum_stats dd {
    margin-right: 2em;
}

/* Pagination ------------------------ */

#bbpress-forums .bbp-pagination {
    text-align: center;
    margin-top: 2em;
    margin-bottom: 3em;
    float: none;
}

.bbp-pagination-count {
    display: inline-block;
    width: 100%;
    margin-bottom: 2em;
    float: none;
    border: 0;
}

.bbp-pagination-links {
    display: inline-block;
    float: none;
    text-align: center;
}

.bbp-pagination-links span.current {
    margin-left: 0;
    border: none;
    background: transparent;
}

#threaded-pagination-links {
    text-align: center;
    margin-bottom: 3em;
}

#threaded-pagination-links .custom-pagination {
    display: inline-block;
}

.bbp-pagination-links a:hover, .bbp-pagination-links span.current {
    opacity: 1;
    border: 1px solid transparent;
}

/* Topic pagination in title */
body .bbp-topic-pagination {
    display: inline-block;
    margin-left: 0;
    margin-bottom: 0;
}

/* Info Notice */
#bbpress-forums div.bbp-template-notice.info {
    display: none;
}

/* Empty li with lead post shown */
#bbpress-forums ul.bbp-replies li.bbp-body {
    display: none;
}

/* No topics notice */
body.single-forum #bbpress-forums .bbp-template-notice:nth-child(3), body.single-forum #bbpress-forums .bbp-template-notice:nth-child(4), body.single-forum #bbpress-forums .bbp-template-notice:nth-child(5), body.single-forum #bbpress-forums .bbp-template-notice:nth-child(6) {
    display: none;
}

/* New Column Arrangement ------------- */

body.stretched_title #bbpress-forums li.bbp-header {
    display: none;
}

body.stretched_title.forum-archive.matching_header_body .main-content-inner {
    padding-top: 2em;
}

#bbpress-forums li.bbp-header ul.forum-titles {
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    opacity: 0.7;
}

#bbpress-forums li {
    line-height: 1;
}

#bbpress-forums .bbp-topic-content li,
#bbpress-forums .bbp-reply-content li {
    line-height: 1.6em;
}

li.bbp-forum-info,
li.bbp-topic-title,
li.bbp-forum-topic-count,
li.bbp-forum-reply-count,
li.bbp-forum-freshness {
    display: flex;
    flex-direction: column;
}

html body .main-container #bbpress-forums .forum-titles li {
    line-height: inherit;
    padding-left: 0;
}

#bbpress-forums li.bbp-header ul.forum-titles li.bbp-topic-title, #bbpress-forums li.bbp-header ul.forum-titles li.bbp-forum-info {
    order: 2;
}

#bbpress-forums li.bbp-header ul.forum-titles li.bbp-topic-voice-count, #bbpress-forums li.bbp-header ul.forum-titles li.bbp-forum-topic-count {
    order: 3;
}

#bbpress-forums li.bbp-header ul.forum-titles li.bbp-topic-reply-count, #bbpress-forums li.bbp-header ul.forum-titles li.bbp-forum-reply-count {
    order: 1;
}

#bbpress-forums li.bbp-header ul.forum-titles li.bbp-topic-freshness, #bbpress-forums li.bbp-header ul.forum-titles li.bbp-forum-freshness {
    order: 4;
}

html body #bbpress-forums li.bbp-topic-reply-count, html body #bbpress-forums li.bbp-forum-reply-count {
    text-align: left;
    width: 16.5%;
    padding-left: 2.2em;
}

@media only screen and (min-width: 768px) {
    #bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic {
        display: flex;
    }
}

#bbpress-forums ul.topic li.bbp-topic-title, #bbpress-forums ul.forum li.bbp-forum-info {
    order: 2;

}

#bbpress-forums ul.topic li.bbp-topic-voice-count, #bbpress-forums ul.forum li.bbp-forum-topic-count {
    order: 3;
}

#bbpress-forums ul.topic li.bbp-topic-reply-count, #bbpress-forums ul.forum li.bbp-forum-reply-count {
    order: 1;
    width: 14%;
}

#bbpress-forums ul.topic li.bbp-topic-freshness, #bbpress-forums ul.forum li.bbp-forum-freshness {
    order: 4;
}

#bbpress-forums ul.bbp-has-subforums > li.bbp-forum-info {
    order: 0;
    margin-bottom: 2.5em;
    margin-top: 0.5em;
}

@media only screen and (max-width: 767px) {
    #bbpress-forums ul.bbp-has-subforums > li.bbp-forum-info {
        order: 0;
        margin-left: 0;
    }
}

@media only screen and (min-width: 768px) {
    #bbpress-forums ul.bbp-has-subforums > li.bbp-forum-info {
        order: 0;
        margin-left: 13.5%;
        width: 86.5%;
    }
}

#bbpress-forums ul.topic li.bbp-topic-reply-count:before, #bbpress-forums ul.forum li.bbp-forum-reply-count:before {
    content: '\f27b';
    font-family: 'FontAwesome';
    display: inline-block;
    font-size: 1.5em;
    margin-right: 0.5em;
    position: absolute;
    left: 0;
    margin-top: -0.23em;
}

#bbpress-forums ul.topic li.bbp-topic-reply-count.empty:before, #bbpress-forums ul.forum li.bbp-forum-reply-count.empty:before {
    color: inherit;
    opacity: 0.5;
    display: inline-block;
    display: inline-flex;
    margin-top: -0.15em;
}

/* New Sub Forum Layout ---------------- */

/* Container */

#bbpress-forums ul.subforums {
    padding-top: 2.0em;
    font-size: 1em;
    clear: both;
    display: inline-block;
    display: flex;
    width: 100%;
}

/* Mobile Mods */

@media only screen and (max-width: 767px) {
    #bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer {
        display: none !important;
    }
    li.bbp-forum-info, li.bbp-topic-title {
        width: 100%;
    }
    li.bbp-topic-voice-count, li.bbp-topic-reply-count, li.bbp-forum-topic-count, li.bbp-forum-reply-count {
        text-align: left !important;
        width: auto !important;
        margin-right: 1em !important;
        display: none !important;
        /* Gone for now */
    }
    li.bbp-forum-freshness, li.bbp-topic-freshness {
        text-align: left !important;
        width: 100% !important;
        margin-top: 1em !important;
        font-size: 0.86em !important;
        display: inline-block !important;
    }
    li.bbp-forum-freshness:before, li.bbp-topic-freshness:before {
        content: 'Last post: ';
        opacity: 0.7;
    }
    li.bbp-topic-freshness p.bbp-topic-meta {
        display: none !important;
    }
    li.bbp-forum-freshness p.bbp-topic-meta:before, .bbp-topic-freshness-author {
        content: 'Posted by ';
    }
    #bbpress-forums ul.subforums {
        display: inline-block !important;
    }
    #bbpress-forums div.bbp-reply-author img.avatar {
        position: inherit;
        top: 15px;
        left: 0;
        width: inherit;
        height: auto;
    }
}

/* First sub forum needs to have less spacing from parent */

#bbpress-forums ul.bbp-has-subforums ul.subforums:nth-child(2) {
    margin-top: -1rem;
}

#bbpress-forums ul.bbp-has-subforums > .bbp-forum-info .bbp-forum-content {
    display: none;
}

/* Top level topic */

#bbpress-forums ul.bbp-has-subforums > li.bbp-forum-info > a.bbp-forum-title {
    font-size: 1.6em !important;
}

/* bbPress General Mods --------------------- */

/* Breadcrumb */

#bbpress-forums .status-trash, #bbpress-forums .status-spam {
    padding: 1em;
    border-radius: 4px;
}

#bbpress-forums .status-trash > div, #bbpress-forums .status-spam > div {
    border-bottom: none !important;
}

#bbpress-forums .bbp-breadcrumb a {
    color: #999;
}

/* Paragraphs */
.bbp-topic-content p,
.bbp-reply-content p {
    line-height: 1.7em;
    margin-bottom: 1.2em;
}

.bbp-topic-content p:last-child, .bbp-reply-content p:last-child {
    margin-bottom: 0;
}

/* Forum Title Bar */

ul.forum-titles li {
    text-transform: uppercase !important;
}

/* Closed topics */

#bbpress-forums .status-closed {
    color: inherit;
}

/* bbPress Base CSS  ------------------- */

#bbpress-forums {
    font-size: inherit;
    margin: 0 0 4em 0;
    overflow: visible;
    display: inline-block;
    width: 100%;
    position: relative;
}

.vc_row #bbpress-forums {
    margin-bottom: 0;
}

body.bbpress.forum-archive #bbpress-forums {
    margin: 1em 0 0 0;
}
html body #bbpress-forums ul.bbp-lead-topic {
    font-size: 1.1em;
}

#bbpress-forums #bbp-search-form div {
    position: relative;
}

/*body.stretched_title.forum-archive .main-content-inner {
    padding-top: 1em;
    }*/

    /* Errors */

    div.bbp-template-notice.error, div.bbp-template-notice.warning {
        position: fixed;
        margin: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        text-align: center;
        z-index: 99;
    }

    li.bbp-topic-freshness a:hover, li.bbp-forum-freshness a:hover {
        opacity: 1;
    }

    a.bbp-author-name {
        opacity: 1 !important;
    }

    .bbp-author-avatar {
        opacity: 1 !important;
    }

    #bbpress-forums .bbp-breadcrumb {
        margin: 0;
        font-size: 1em;
        width: 100%;
        position: relative;
        z-index: 1;
    }

    body #bbpress-forums .bbp-breadcrumb {
        text-align: center;
        margin-top: -1em;
        margin-bottom: 4em;
        top: -2em;
    }

    body.stretched_title.center_page_title #bbpress-forums .bbp-breadcrumb {
        top: -24em;
        margin-top: 0;
    }

    body.forum-archive .bbp-breadcrumb {
        display: none;
    }

    #bbpress-forums div.bbp-breadcrumb p {
        margin-bottom: 1em;
        line-height: 1.5em;
        padding: 0 10%;
    }

    #bbpress-forums .bbp-forum-info .bbp-forum-content, #bbpress-forums p.bbp-topic-meta {
        font-size: 0.94em;
        margin: 0.3em 0 0 0;
    }

    #bbpress-forums .bbp-topic-voice-count,
    #bbpress-forums .bbp-topic-reply-count ,
    #bbpress-forums .bbp-topic-freshness,
    #bbpress-forums .bbp-forum-voice-count,
    #bbpress-forums .bbp-forum-reply-count ,
    #bbpress-forums .bbp-forum-freshness {
        font-size: 0.9em;
    }

    #bbpress-forums > li {
        display: flex;
        flex-direction: column;
        line-height: inherit;
    }

    #bbpress-forums .bbp_topic_title {
        width: 100%;
        margin-bottom: 20px !important;
    }

    div.bbp-template-notice p {
        font-size: 0.94em;
        width: 100%;
    }

    div.bbp-template-notice a {
        display: inline-block;
    }

    #bbpress-forums div.bbp-template-notice img.avatar {
        margin-bottom: -2px;
    }

    #bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums ul.bbp-reply-revision-log img.avatar, #bbpress-forums ul.bbp-topic-revision-log img.avatar, #bbpress-forums div.bbp-template-notice img.avatar, #bbpress-forums .widget_display_topics img.avatar, #bbpress-forums .widget_display_replies img.avatar {
        border-radius: 50%;
        border: 2px solid #ddd;
        padding: 2px;
        width: 20px;
        height: 20px;
        margin-bottom: -5px;
        margin-right: 0.1em;
    }

    #bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content {
        font-size: 1em;
    }

    #bbpress-forums label {
        padding-top: 0.6em;
        display: inline-block;
    }

    #bbpress-forums .bbp-the-content {
        min-height: 200px;
    }

    div.bbp-submit-wrapper {
        float: left;
        margin-top: 2em;
    }

    #bbpress-forums ul {
        margin: 0;
        position: relative;
    }

    li.bbp-header > #bbpress-forums ul > li {
        margin-left: 20px;
    }

    #bbpress-forums ul.bbp-forums {
        float: left;
        clear: both;
        width: 100%;
        margin: 0 0 3em 0;
        border: 1px solid #dcdcdc;
        border-width: 0 1px;
    }

    #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-replies {
        margin: 0 0 2em 0;
    }

    #bbpress-forums li.bbp-body ul.forum:last-child {
        border-bottom: none;
    }

    #bbpress-forums button {
        color: #fff;
        border: none;
        margin-bottom: 1em;
    }

    .wp-editor-area {
        border: 1px solid #eee !important;
    }

    /* Rounded avatar */

    #bbpress-forums div.bbp-forum-author img.avatar, #bbpress-forums div.bbp-topic-author img.avatar, #bbpress-forums div.bbp-reply-author img.avatar {
        border-radius: 50% !important;
    }

    /* Avatar on mobile */

    #bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results {
        font-size: 1em;
    }

    #bbpress-forums fieldset.bbp-form p, #bbpress-forums fieldset.bbp-form textarea, #bbpress-forums fieldset.bbp-form select, #bbpress-forums fieldset.bbp-form input {
        margin: 10px 0 20px 0;
    }

    html body #bbpress-forums input[type="file"] {
        margin: 1em 0 0 0 !important;
        border: none !important;
        padding: 0;
        box-shadow: none;
        width: 100%;
        background-color: transparent !important;
    }

    #bbpress-forums fieldset.bbp-form input[type="text"] {
        width: 100%;
    }

    #bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer {
        background: transparent;
        border-top: none !important;
        padding: 0 0 20px 0;
        display: flex;
        flex-direction: column;
    }

    #bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer {
        font-weight: inherit;
    }

    body:not(.forum-archive) #bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer {
        margin-bottom: 2em;
    }

    #bbpress-forums li.bbp-header ul li, #bbpress-forums li.bbp-footer ul li {
        font-size: 0.9em;
    }

    #bbpress-forums li.bbp-header ul li.bbp-forum-info {
        margin: 0 0 0 20px;
        text-align: left;
    }

    #bbpress-forums li.bbp-header ul li.bbp-forum-info:first-child {
        margin-left: 0;
    }

    li.bbp-forum-topic-count, li.bbp-topic-voice-count, li.bbp-forum-reply-count, li.bbp-topic-reply-count {
        text-align: center;
    }

    li.bbp-topic-voice-count, li.bbp-topic-reply-count {
        text-align: center;
    }

    #bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer {
        border-bottom: 1px solid rgba(0,0,0,0.1);
        padding-right: 0;
    }

    body:not(.bbpress.archive) #bbpress-forums li.bbp-header {
        margin-bottom: 2.0em;
    }

    #bbpress-forums li.bbp-footer {
        margin-bottom: 20px;
        display: none;
    }

    li.bbp-forum-topic-count,
    li.bbp-topic-voice-count,
    li.bbp-forum-reply-count,
    li.bbp-topic-reply-count {
        font-size: 0.9em;
    }

    ul.forum-titles li {
        font-size: 1em;
        line-height: 110%;
    }

    #bbpress-forums .bbp-forum-info .bbp-forum-content {
        line-height: 160%;
        margin: 0.5em 0 0 0;
    }

    #bbpress-forums .bbp-forum-info .bbp-forum-content p {
        line-height: inherit;
        margin-bottom: 0;
    }

    #bbpress-forums .bbp-forum-info .bbp-forum-content:empty {
        display: none;
    }

    #bbpress-forums div.bbp-reply-author a.bbp-author-name {
        font-size: 1em;
    }

    #bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic {
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 2em 0;
        margin: 0;
        display: inline-block;
        position: relative;
        width: 100%;
    }

    @media only screen and (max-width: 767px) {
        #bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic {
            padding: 1em 0;
        }
    }

    body:not(.single-forum) #bbpress-forums li.bbp-body ul.forum {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    @media only screen and (max-width: 767px) {
        body:not(.single-forum) #bbpress-forums li.bbp-body ul.forum:first-child {
            padding-top: 0;
        }
        body:not(.single-forum) #bbpress-forums li.bbp-body ul.forum {
            padding-top: 2rem;
            padding-bottom: 2rem;
        }
    }

    body.bbp-user-page #bbpress-forums ul.subforums {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 2.0em 0 2.0em 0;
    }

    body.bbp-user-page #bbpress-forums ul.subforums:last-child {
        border-bottom: none;
    }

    @media only screen and (min-width: 767px) {
        #bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic {
            display: inline-block;
            display: flex;
        }
    }

    #bbpress-forums li.bbp-body ul.forum {
        flex-direction: row;
    }

    #bbpress-forums li.bbp-body ul.forum.bbp-has-subforums {
        flex-direction: column;
    }

    @media only screen and (min-width: 768px) and (max-width: 768px) {
        li.bbp-forum-topic-count, li.bbp-topic-voice-count, li.bbp-forum-reply-count, li.bbp-topic-reply-count {
            width: 14%;
        }
    }

    #bbpress-forums li.bbp-body ul.forum:first-child, #bbpress-forums li.bbp-body ul.topic:first-child {
        padding-top: 0;
    }

    #bbpress-forums li.bbp-body ul.forum:last-child, #bbpress-forums li.bbp-body ul.topic:last-child {
        border-bottom: 0;
    }

    #bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results {
        border: none;
    }

    #bbpress-forums div.reply {
        padding: 0;
    }

    #bbpress-forums div.odd, #bbpress-forums ul.odd {
        background: transparent;
    }

    #bbpress-forums div.even, #bbpress-forums ul.even {
        background-color: transparent;
    }

    #bbpress-forums div.bbp-topic-tags {
        display: none;
    }

    div.bbp-reply-header {
        border-top: none;
        border-radius: 4px;
        padding: 0;
        background: transparent !important;
        margin-top: 0.5em;
    }

    li.bbp-forum-freshness, li.bbp-topic-freshness {
        font-size: 1em;
        text-align: right;
        width: 25%;
    }

    #bbpress-forums .bbp-reply-post-date, .bbp-reply-header a.bbp-reply-permalink {
        font-size: 1em;
    }

    div.bbp-template-notice.info {
        margin: 20px 0;
    }

    div.bbp-template-notice.info:nth-child(3) {
        display: none;
    }

    #
    #bbpress-forums p.bbp-topic-meta {
        line-height: 1.5;
    }

    .bbp-forum-header a.bbp-forum-permalink, .bbp-topic-header a.bbp-topic-permalink, .bbp-reply-header a.bbp-reply-permalink {
        margin-left: 20px;
    }

    html body #bbpress-forums li.bbp-forum-info a.bbp-forum-title, html body #bbpress-forums li.bbp-topic-title a.bbp-topic-permalink {
        margin-top: -0.2em;
    }

    .bbp-login-form .bbp-username input, .bbp-login-form .bbp-email input, .bbp-login-form .bbp-password input {
        padding: 1em 0.7em;
        width: 100%;
    }

    #bbpress-forums #bbp-search-form #bbp_search {
        clear: both;
    }

    .bbp-submit-wrapper button.user-submit {
        padding: 6px 10px 6px 10px !important;
    }

    #bbp-search-form {
        width: 100%;
        clear: both;
        position: relative;
    }

    #bbp-search-form #bbp_search {
        width: 100% !important;
    }

    #bbpress-forums #bbp-your-profile fieldset input, #bbpress-forums #bbp-your-profile fieldset select, #bbpress-forums #bbp-your-profile fieldset textarea {
        background: #fff;
        border: 1px solid rgba(0,0,0,0.15) !important;
        border-radius: 4px !important;
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
        -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    }

    #bbpress-forums .bbp-forums-list {
        line-height: 2;
        margin: 0 0;
        border-left: none;
        padding-left: 0;
    }

    #bbpress-forums fieldset.bbp-form {
        padding: 2em !important;
        border: none !important;
        margin-top: -4em;
        background-color: rgba(0, 0, 0, 0.04) !important;
        border-radius: 4px;
        display: inline-block;
        width: 100%;
    }

    @media only screen and (max-width: 767px) {
        #bbpress-forums fieldset.bbp-form {
            padding: 2em 1em !important;
        }
    }

    body.single-forum #bbpress-forums fieldset.bbp-form {
        margin-top: -4em;
    }

    @media only screen and (max-width: 767px) {
        body.single-forum #bbpress-forums fieldset.bbp-form {
            margin-top: -6em;
        }
    }

    body.topic-edit #bbpress-forums fieldset.bbp-form {
        margin-top: -6em;
    }

    body.topic-edit #bbpress-forums fieldset.bbp-form fieldset.bbp-form {
        margin-top: -4em;
    }

    body.topic-edit #bbpress-forums fieldset.bbp-form fieldset.bbp-form legend {
        padding-top: 4em;
    }

    #bbpress-forums fieldset.bbp-form input, #bbpress-forums fieldset.bbp-form textarea, #bbpress-forums fieldset.bbp-form select {
        background-color: #fff !important;
        border: 1px solid rgba(0,0,0,0.15);
    }

    #bbpress-forums #bbp-user-wrapper {
        margin-top: 0;
    }

    #bbpress-forums #bbp-user-body {
        border-left: 0;
        padding-left: 0;
        margin-left: 0;

    }

    #bbpress-forums #bbp-your-profile fieldset {
        border: none;
        background-color: #f3f3f3;
    }

    div.bbp-template-notice, div.indicator-hint, div.bbp-template-notice.info, div.bbp-template-notice.important {
        background: rgba(0, 0, 0, 0.06);
        padding: 10px;
        border-radius: 4px;
        border: none;
        border-left: none;
        color: #666;
    }

    div.bbp-template-notice.error, div.bbp-template-notice.warning {
        color: #bd3a3a;
    }

    #bbpress-forums #bbp-user-wrapper ul.bbp-lead-topic, #bbpress-forums #bbp-user-wrapper ul.bbp-topics, #bbpress-forums #bbp-user-wrapper ul.bbp-forums, #bbpress-forums #bbp-user-wrapper ul.bbp-replies, #bbpress-forums #bbp-user-wrapper fieldset.bbp-form {
        clear: both;
    }

    #bbp-your-profile h2.entry-title:first-child {
        padding-top: 0 !important;
    }

    .widget_display_stats dd {
        text-align: right;
        width: 100%;
        padding-bottom: 20px;
        border-bottom: solid 1px #ccc;
        margin-bottom: 12px;
    }

    .widget_display_stats dt {
        float: left;
    }

    .widget_display_forums ul li a i {
        margin-right: 8px;
        font-size: 1em;
    }

    .widget_display_replies ul li i, .widget_display_topics ul li i {
        margin-right: 6px;
        font-size: 1em;
    }

    .bbp_widget_login .bbp-logged-in h4 {
        margin-bottom: 0;
    }

    .bbp_widget_login form {
        float: left;
        clear: both;
        width: 100%;
    }

    .bbp_widget_login a.button {
        background: none !important;
        font-weight: 400 !important;
        text-transform: none !important;
        padding: 0;
    }

    .footer-widget label.screen-reader-text.hidden, .widget label.screen-reader-text.hidden {
        display: none;
    }

    .bbp-pagination-links a, .bbp-pagination-links span.current {
        padding: 4px 10px;
    }

    .widget_display_topics ul {
        padding-left: 0;
    }

    .widget_display_topics ul li {
        margin-bottom: 10px;
    }

    .widget_display_topics ul li a {
        font-size: 1em;
    }

    .bbpress .post-title {
        margin-top: 0;
    }

    .bbp-breadcrumb-sep {
        display: inline-block;
        margin: 0 3px;
    }

    #bbpress-forums #bbp-your-profile fieldset.submit {
        padding: 20px 0;
        background-color: transparent;
        text-align: left;
    }

    #bbpress-forums #bbp-your-profile fieldset.submit button {
        float: left;
    }

    p.bbp-user-forum-role, p.bbp-user-topic-count {
        margin-bottom: 1em;
    }

    #bbpress-forums #bbp-your-profile fieldset span.description {
        font-style: inherit;
        font-size: 0.9em;
        line-height: 1.4em;
        padding: 10px;
        border-radius: 4px;
        background-color: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.05);
    }

    #bbpress-forums #bbp-single-user-details #bbp-user-avatar img.avatar {
        border-radius: 50%;
    }

    #bbpress-forums #bbp-your-profile fieldset input, #bbpress-forums #bbp-your-profile fieldset textarea {
        width: 100%;
        padding: 15px 10px !important;
    }

    #bbpress-forums #bbp-your-profile fieldset label[for] {
        width: 100%;
        text-align: left;
    }

    #bbpress-forums div.bbp-topic-content, #bbpress-forums div.bbp-reply-content {
        padding: 0 !important;
        margin-top: 1em;
        display: inline-block;
        display: flex;
        flex-direction: column;
        text-align: left !important;
    }

    #bbpress-forums div.bbp-topic-content *, #bbpress-forums div.bbp-reply-content * {
        text-align: left !important;
        color: inherit !important;
        font-size: 1em !important;
        text-decoration: none !important;
        letter-spacing: inherit;
    }

    #bbpress-forums div.bbp-topic-content *:not(.d4pbbc-quote p), #bbpress-forums div.bbp-reply-content *:not(.d4pbbc-quote p) {
        font-style: normal;
    }

    #bbpress-forums div.bbp-topic-content table,
    #bbpress-forums div.bbp-reply-content table {
        width: 100%;
        background-color: rgba(0,0,0,0.1);
        margin-bottom: 2em;
        margin-top: 2em;
        border-radius: 4px;
    }

    #bbpress-forums div.bbp-topic-content td,
    #bbpress-forums div.bbp-reply-content td {
        padding: 1em;
        line-height: 1;
    }

    #bbpress-forums div.bbp-topic-content td p,
    #bbpress-forums div.bbp-reply-content td p {
        line-height: 1;
        margin-top: 0.5em;
    }

    #bbpress-forums div.bbp-topic-content tr,
    #bbpress-forums div.bbp-reply-content tr {
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    #bbpress-forums div.bbp-topic-content tr:last-child,
    #bbpress-forums div.bbp-reply-content tr:last-child {
        border-bottom: none;
    }

    #bbpress-forums div.bbp-topic-content .aligncenter, #bbpress-forums div.bbp-reply-content .aligncenter {
        margin-left: 0;
        margin-right: 0;
    }

    #bbpress-forums div.bbp-topic-content div, #bbpress-forums div.bbp-reply-content div {
        margin: 0 0 2em 0;
    }

    #bbpress-forums div.bbp-topic-content div:last-child,
    #bbpress-forums div.bbp-reply-content div:last-child {
        margin-bottom: 0;
    }

    #bbpress-forums div.bbp-topic-content h1,
    #bbpress-forums div.bbp-topic-content h2,
    #bbpress-forums div.bbp-topic-content h3,
    #bbpress-forums div.bbp-reply-content h1,
    #bbpress-forums div.bbp-reply-content h2,
    #bbpress-forums div.bbp-reply-content h3 {
        margin-top: 0;
    }

    #bbpress-forums div.bbp-topic-content blockquote,
    #bbpress-forums div.bbp-reply-content blockquote {
        font-size: 1.0em;
        margin-bottom: 2em;
    }

    #bbpress-forums .bbp-forums-list li {
        font-size: 1em;
    }

    /* Threaded replies */

    #bbpress-forums ul.bbp-threaded-replies {
        margin: 3em 0 0 0;
        padding-left: 2.6em;

    }

    #bbpress-forums ul.bbp-threaded-replies > li {
        margin-top: 2em;
    }

    #bbpress-forums ul.bbp-threaded-replies > li:first-child {
        margin-top: 0;
    }

    /* Standard replies */

    #bbpress-forums ul.bbp-replies > li {
        margin-bottom: 3em;
    }

    /* Auto linked images */

    #bbpress-forums div.bbp-topic-content img, #bbpress-forums div.bbp-reply-content img {
        height: auto;
        width: 100%;
        margin-bottom: 1em;
        border-radius: 4px;
    }

    #bbpress-forums div.bbp-topic-content p img,
    #bbpress-forums div.bbp-reply-content p img {
        margin-bottom: 0;
    }

    #bbpress-forums .bbp-body iframe, #bbpress-forums .bbp-body video, #bbpress-forums .bbp-body img {
        max-width: 100%;
        border-radius: 4px;
        overflow: hidden;
    }

    /* Author Column */

    #bbpress-forums div.bbp-topic-author, #bbpress-forums div.bbp-reply-author {
        float: none;
        text-align: left;
        width: 100%;
        display: inline-block;
        display: flex;
        align-items: center;
        position: relative;
        margin-bottom: 2em;
    }

    #bbpress-forums div.bbp-topic-author > *, #bbpress-forums div.bbp-reply-author > * {
        margin-top: 0 !important;
        line-height: 1 !important;
        font-size: 1em !important;
        text-align: left !important;
    }

    #bbpress-forums div.bbp-topic-author .bbp-author-avatar,
    #bbpress-forums div.bbp-reply-author .bbp-author-avatar,
    #bbpress-forums div.bbp-topic-author > img,
    #bbpress-forums div.bbp-reply-author > img {
        margin-right: 0.7em !important;
    }

    #bbpress-forums p.bbp-topic-meta .bbp-author-avatar {
        margin-right: 0.2em !important;
        margin-left: 0.2em;
    }

/*@media only screen and (min-width: 1024px) {
    #bbpress-forums div.bbp-topic-author .bbp-author-avatar,
    #bbpress-forums div.bbp-reply-author .bbp-author-avatar {
        margin-left: -42px;
    }
    }*/

    #bbpress-forums div.bbp-forum-author, #bbpress-forums div.bbp-topic-author, #bbpress-forums div.bbp-reply-author {
        text-align: inherit;
    }

    /* Content Column */

    #bbpress-forums div.bbp-forum-content, #bbpress-forums div.bbp-topic-content, #bbpress-forums div.bbp-reply-content {
        margin-left: 0;
    }

    #bbpress-forums div.bbp-topic-content {
        border-bottom: 1px solid rgba(0,0,0,0.1);
        padding-bottom: 3em !important;
    }
    #bbpress-forums ul.bbp-replies > li {
        border-bottom: 1px solid rgba(0,0,0,0.1);
        padding-bottom: 3em;
    }
    #bbpress-forums ul li {
        position: relative;
    }
/*#bbpress-forums ul.bbp-replies > li:nth-last-child(2) {
    border-bottom: none;
    padding-bottom: 0;
    }*/

    .bbp-topic-ip, .bbp-reply-ip {
        margin-top: 0;
    }

    #bbpress-forums div.bbp-forum-author .bbp-author-role, #bbpress-forums div.bbp-topic-author .bbp-author-role, #bbpress-forums div.bbp-reply-author .bbp-author-role {
        margin-top: 0.4em;
        font-size: 0.8em !important;
        padding: 0.3em 0.5em;
        background-color: rgba(0,0,0,0.05);
        border-radius: 3px;
        font-style: inherit;
        line-height: 1;
        color: #999;
    }

    html body #bbpress-forums a.bbp-reply-permalink, html body #bbpress-forums a.bbp-reply-permalink {
        order: 100;
        flex-grow: 100;
        text-align: right !important;
        color: inherit;
        opacity: 0.5;
        font-size: 0.9em !important;
    }

    html body #bbpress-forums a.bbp-reply-permalink:hover, html body #bbpress-forums a.bbp-reply-permalink:hover {
        opacity: 1;
    }

    #bbpress-forums .bbp-user-section li.bbp-header {
        display: none;
    }

    body.center_page_title:not(.buddypress) #bbpress-forums .bbp-user-section {
        text-align: center;
    }

    body #bbpress-forums .bbp-user-subscriptions h2:nth-child(3) {
        margin-top: 2em;
    }

    li.bbp-header div.bbp-topic-content span#subscription-toggle, li.bbp-header div.bbp-topic-content span#favorite-toggle, li.bbp-header div.bbp-reply-content span#subscription-toggle, li.bbp-header div.bbp-reply-content span#favorite-toggle {
        float: none;
    }

    #bbpress-forums div.bbp-topic-author img.avatar, #bbpress-forums div.bbp-reply-author img.avatar {
        margin: 0;
        max-width: 30px;
        width: 30px;
        height: 30px;
        border: 2px solid #ddd;
        padding: 2px;
    }

    #bbpress-forums div.bbp-topic-author > br, #bbpress-forums div.bbp-reply-author > br {
        display: none;
    }

    span#subscription-toggle, span#favorite-toggle {
        position: relative;
        margin-bottom: 3em;
        right: 0;
        padding: 0;
        z-index: 10;
        line-height: 0;
        float: none;
        display: table;
        margin-left: auto;
        margin-right: auto;
    }

    body.stretched_title span#subscription-toggle, body.stretched_title span#favorite-toggle {
        left: 0;
        right: 0;
        margin-bottom: 0;
    }

    body.stretched_title.center_page_title span#subscription-toggle, body.stretched_title.center_page_title span#favorite-toggle {
        text-align: center;
    }

    body.stretched_title:not(.single-topic) span#subscription-toggle,
    body.stretched_title:not(.single-topic) span#favorite-toggle {
        margin-bottom: 5em;
        margin-top: -6em;
    }

    span#subscription-toggle span, span#favorite-toggle span {
        display: inline-block;
    }

    @media only screen and (min-width: 768px) {
        span#subscription-toggle span, span#favorite-toggle span {
            margin-left: 4px;
        }
    }

    span#subscription-toggle a, span#favorite-toggle a {
        padding: 0 1.6em !important;
        font-size: 0.8em !important;
        line-height: 2.7rem !important;
        display: inline-block;
        border: 2px solid !important;
        border-color: rgba(0,0,0,0.1) !important;
        border-radius: 4px;
        background-color: #fff;
    }

    body:not(.stretched_title) span#subscription-toggle,
    body:not(.stretched_title) span#favorite-toggle {
        margin-top: -2em;
    }

    span#subscription-toggle a:before, span#favorite-toggle a:before {
        padding-top: 1px;
        margin-right: 0.5em;
        font-family: "FontAwesome";
        font-size: 1.1em;
        display: inline-block;
    }

    span#subscription-toggle a:before {
        content: '\f006';
    }

    span#subscription-toggle .is-subscribed a:before {
        content: '\f005';
    }

    span#favorite-toggle a:before {
        content: '\f10c';
    }

    span#favorite-toggle .is-favorite a:before {
        content: '\f05d';
    }

    /* Subscription/favorites on single topic */
    body.center_page_title #bbpress-forums .fav-sub-container {
        text-align: center;
    }

    body:not(.stretched_title) #bbpress-forums .fav-sub-container {
        margin-top: -1.5rem;
        margin-bottom: 2em;
    }

    @media only screen and (max-width: 767px) {
        body.not(.stretched_title) #bbpress-forums .fav-sub-container {
            margin-top: -1.5em;
        }
    }

    body.stretched_title #bbpress-forums .fav-sub-container {
        text-align: center;
        width: 100%;
        left: 0;
        margin-bottom: 3em;
        margin-top: -6em;
    }

    body.single.stretched_title #bbpress-forums .fav-sub-container {
        margin-top: -4em;
    }

    body.stretched_title.matching_header_body #bbpress-forums .fav-sub-container {
        margin-top: -3rem;
    }

    .fav-sub-container span#subscription-toggle, .fav-sub-container span#favorite-toggle {
        display: inline-block;
        position: relative !important;
    }

    /* Subscription/favorites button on profile page */

    body.bbp-user-page .bbp-row-actions {
        display: none;
    }

    /* Fieldset legends */

    html body #bbpress-forums fieldset.bbp-form legend {
        padding: 6em 0 0 0;
    }

    /* MCE Editor */

    #bbpress-forums .mce-toolbar .mce-btn button {
        padding: 0.5em !important;
        background-color: rgba(0, 0, 0, 0.1);
    }

    #bbpress-forums .mce-btn.mce-active {
        border: none;
    }

    #bbpress-forums div.mce-toolbar-grp, #bbpress-forums div.mce-panel {
        background-color: transparent;
        background: transparent;
    }

    #bbpress-forums div.wp-editor-container {
        background-color: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
        padding: 0.6em;
        margin-bottom: 2em;
    }

    #bbpress-forums .wp-editor-tabs {
        position: absolute;
        right: 0;
        top: 1em;
        width: 110px;
        text-align: right;
        margin-right: 1em;
    }

    #bbpress-forums .wp-switch-editor {
        background: transparent;
        color: inherit;
        font-size: 1em;
        text-transform: none;
        letter-spacing: inherit;
        font-weight: inherit;
        font-family: inherit;
        padding: 0 !important;
        margin-left: 0.7em;
        top: -0.2em;
        opacity: 0.75;
        float: right;
    }

    #bbpress-forums .wp-switch-editor:hover {
        opacity: 1;
    }

    #bbpress-forums .mce-toolbar .mce-btn-group .mce-btn:focus, #bbpress-forums .mce-toolbar .mce-btn-group .mce-btn:hover, #bbpress-forums .qt-dfw:focus, .qt-dfw:hover {
        background: transparent;
        border: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        outline: none;
        top: 1px;
        margin: 2px 3px 0 3px;
        padding: auto;
    }

    #bbpress-forums .quicktags-toolbar {
        background: transparent;
    }

    .bbp-topic-started-in {
        display: inline-block;

    }

    .bbp-topic-started-in a {
        color: inherit;
    }

    html body #bbpress-forums .quicktags-toolbar input {
        margin-top: 0;
        margin-bottom: 0.5em;
    }

    /* Form labels */

    html body #bbpress-forums label {
        font-size: 1rem;
        padding-top: 0.5em;
    }

    /* Attachements */

    #bbpress-forums div.bbp-topic-content img:after, #bbpress-forums div.bbp-reply-content img:after {
        content: '';
        display: inline-block;
        clear: both;
    }

    #bbpress-forums .bbp-attachments ol.with-icons {
        overflow: hidden;
    }

    /* Topic Reply Admin links */

    span.bbp-admin-links {
        float: none;
    }

    span.bbp-admin-links {
        display: inline-block;
        /* width: 100%; */
        position: absolute;
        right: 0;
        background: rgba(0,0,0,0.05);
        border-radius: 4px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding: 0.5em;
        bottom: 0;
        font-size: 14px;
    }

    body span.bbp-admin-links a {
        color: rgba(0, 0, 0, 0.6) !important;
        font-size: 0.9em;
        font-weight: inherit;
        text-transform: none;
    }

    span.bbp-admin-links a:hover {
        color: rgba(0, 0, 0, 0.8) !important;
    }

    /* Author name */

    #bbpress-forums div.bbp-forum-author a.bbp-author-name, #bbpress-forums div.bbp-topic-author a.bbp-author-name, #bbpress-forums div.bbp-reply-author a.bbp-author-name {
        margin: 0 0.5em 0 0;
    }

    /* Topic revision */

    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li, #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li, #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li {
        display: inline-block;
        padding-left: 0;
        width: 100%;
    }

    /* Revision Log */

    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log, #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log, #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
        padding-top: 0;
        margin-top: 1em;
        order: 10;
        border-top: 0;
        font-size: 0.86em !important;
    }

    /* Attachments */

    #bbpress-forums .bbp-attachments-count {
        background: none !important;
    /*width: auto !important;
    height: auto !important;
    margin-right: 0.5em !important;
    line-height: 1.4 !important;*/
    position: absolute;
    margin-left: -1.2em;
    margin-top: -0.1em;
}

@media only screen and (max-width: 767px) {
    #bbpress-forums .bbp-attachments-count {
        left: auto;
        right: 0;
    }
}

#bbpress-forums .bbp-attachments-count:before {
    font-size: 0.9em;
    color: inherit;
    content: '\f0c6';
    display: inline-block;
    line-height: 0;
    font-family: "FontAwesome";
}

/* Topic and reply content lists */

#bbpress-forums div.bbp-topic-content ul, #bbpress-forums div.bbp-reply-content ul, #bbpress-forums div.bbp-topic-content ol, #bbpress-forums div.bbp-reply-content ol {
    margin: 0 0 2em 2em;
}

#bbpress-forums div.bbp-topic-content ul:last-child,
#bbpress-forums div.bbp-reply-content ul:last-child,
#bbpress-forums div.bbp-topic-content ol:last-child,
#bbpress-forums div.bbp-reply-content ol:last-child {
    margin-bottom: 0;
}

#bbpress-forums div.bbp-topic-content ul li, #bbpress-forums div.bbp-reply-content ul li, #bbpress-forums div.bbp-topic-content ol li, #bbpress-forums div.bbp-reply-content ol li {
    padding-left: 1em;
}

/* Replies */

#bbpress-forums ul.bbp-replies {
    /*padding-left: 40px;*/
    margin: 3em auto 1em auto !important;
}

body.bbp-user-page #bbpress-forums ul.bbp-replies {
    padding-left: 0;
}

#bbpress-forums input[type="checkbox"] {
    width: auto !important;
    height: auto !important;
}

/* Lead Topic */

#bbpress-forums ul.bbp-lead-topic {
    margin-bottom: 3em;
}

/* Get rid of container hidden content (used for avatars mainly) */

#bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results {
    overflow: visible;
}

div.bbp-forum-header, div.bbp-topic-header, div.bbp-reply-header, li.bbp-body div.hentry {
    overflow: visible;
}

.forums.bbp-replies > li {
    margin-bottom: 3em;
}

span.bbp-author-ip {
    font-size: 0.7em;
    font-weight: inherit;
    margin-left: 1em;
    color: inherit;
    opacity: 0.7;
    vertical-align: top;
}

.new-bbp-reply-date {
    opacity: 0.6;
    font-size: 0.86em;
    margin-top: 0;
    margin-bottom: 0 !important;
}

#bbpress-forums fieldset.bbp-form label {
    display: inline-block;
}

#bbpress-forums fieldset.bbp-form label[for="bbp_topic_subscription"] {
    display: block;
    margin-top: 0;
    padding-left: 1.5em;
}

div.bbp-forum-header, div.bbp-topic-header, div.bbp-reply-header, li.bbp-body div.hentry {
    padding: 0;
}

#bbpress-forums div.bbp-topic-content a, #bbpress-forums div.bbp-reply-content a {
    font-weight: inherit;
}

/* Sticky topics */

.bbp-topics-front ul.super-sticky, .bbp-topics ul.super-sticky, .bbp-topics ul.sticky, .bbp-forum-content ul.sticky {
    font-size: 1em;
    background-color: transparent !important;
}

/**
* Place a pin icon next to title and remove this border
*/

.bbp-topics-front ul.super-sticky .bbp-topic-title > a:before, .bbp-topics ul.super-sticky .bbp-topic-title > a:before, .bbp-topics ul.sticky .bbp-topic-title > a:before, .bbp-forum-content ul.sticky .bbp-topic-title > a:before {
    content: '\f24a';
    display: inline-block;
    position: relative;
    margin-right: 0.5em;
    font-size: 0.7em;
    font-family: 'FontAwesome';
    color: inherit;
    top: -0.15em;
}

.bbp-topics-front ul.super-sticky .bbp-topic-title > a:before, .bbp-topics ul.super-sticky .bbp-topic-title > a:before {
    content: '\f249';
}

/* get rid of overflow hidden */

#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic {
    overflow: visible;
}

/* Keep a log title */

#bbp_log_topic_edit label {
    font-size: 1rem;
    padding-top: 1rem;
}

/* Profile Management */

#bbpress-forums #bbp-your-profile {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#bbpress-forums .bbp-user-section {
    overflow: visible;
}

h2.bbph1h2 {
    text-align: center;
    margin-bottom: 0.2em;
}

#bbpress-forums #bbp-user-wrapper h2.entry-title {
    padding-bottom: 0;
    margin-bottom: 2em;
}

body.center_page_title #bbpress-forums #bbp-user-wrapper h2.entry-title {
    text-align: center;
}

body.bbp-user-edit #bbpress-forums #bbp-user-wrapper h2.entry-title {
    display: none;
}

#bbpress-forums #bbp-your-profile fieldset legend {
    display: inline-block;
}

#bbpress-forums #bbp-single-user-details {
    width: 100%;
}

#bbpress-forums #bbp-single-user-details #bbp-user-navigation {
    text-align: center;
}

#bbpress-forums #bbp-single-user-details #bbp-user-navigation ul {
    display: inline-block;
    margin: 0 auto;
}

#bbpress-forums #bbp-single-user-details #bbp-user-navigation li {
    float: left;
}

.bbp-user-description {
    max-width: 500px;
    margin: 0 auto 0 auto;
}

body.bbp-user-page #bbpress-forums ul.bbp-replies {
    margin-top: 0 !important;
}

#bbpress-forums #bbp-your-profile fieldset fieldset.password {
    width: 100%;
    margin-top: 0.5em;
}

#bbpress-forums #bbp-your-profile .submit button[type="submit"] {

    margin: 0 auto;
    float: none;
    display: inherit;
}

#bbpress-forums #bbp-your-profile .submit legend {
    display: none;
}

#bbpress-forums .profile-user-role {
    text-align: center;
    margin-bottom: 3em;
    opacity: 0.6;
}

@media only screen and (max-width: 767px) {
    #bbpress-forums .profile-user-role {
        margin-bottom: 2em;
    }
}

.bbp-template-notice.updated {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    margin: 0;
    text-align: center;
    background-color: #75d69c;
    color: #fff;
}

html body #bbpress-forums #bbp-your-profile span.description.indicator-hint {
    background-color: #b97ebb;
    color: #fff;
}

/* Hide h1 on user profile -------------- */

body.bbp-user-page h1, body.bbp-user-edit h1,
body.bbp-user-page .title-container, body.bbp-user-edit .title-container {
    display: none;
}

/* Profile Avatar -------------- */

body.bbp-user-page .vcard, body.bbp-user-edit .vcard {
    text-align: center;
    width: 100%;
    display: inline-block;
    margin-bottom: 1em;
}

body.bbp-user-page .vcard img, body.bbp-user-edit .vcard img, .ci_choose_image {
    height: 150px;
    width: 150px;
    max-width: 150px;
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, 0.1);
    padding: 2px;
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

/* bbPress Search */
#bbpress-forums div.bbp-search-form {
    float: none;
    border: none !important;
    margin-bottom: 3em;
    background-color: rgba(0,0,0,0.07);
    padding: 0.25em;
    border-radius: 34px;
}

#bbpress-forums #bbp-search-form #bbp_search {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: 1em;
    padding: 0.9em 90px 0.9em 1em !important;
    box-shadow: none;
    border-radius: 34px;
}

#bbp-search-form #bbp_search_submit {
    margin: 0;
    position: absolute;
    top: 0.5em;
    bottom: 0.5em;
    right: 0.5em;
    font-size: 0.9em;
    line-height: inherit !important;
}

/* Misc */

/* Vertical accent divider */
@media only screen and (min-width: 769px) {
    .vc_column_container.accent-divide:after {
        content: '' !important;
        position: absolute !important;
        top: 0;
        bottom: 0;
        left: -1px;
        width: 2px;
        background-color: #444444;
    }
}

.activity-list li.bbp_topic_create .activity-content .activity-inner, .activity-list li.bbp_reply_create .activity-content .activity-inner {
    padding-left: 1em;
    margin-top: 1.5em !important;
    border-color: rgba(0,0,0,0.1);
}

.woocommerce-product-search input[type="submit"] {
    margin-bottom: 0;
    display: none;
}

body.bordered.page-template-template-home .main-content-inner,
body.bordered.page-template-template-stretched .main-content-inner {
    padding-top: 0 !important;
}

/* Clean Login */

html body .cleanlogin-container {
    padding: 0;
    border: none;
    box-shadow: none !important;
    margin-bottom: 4em;
}

html body .cleanlogin-field {
    margin-bottom: 0;
}

html body .cleanlogin-form input[type="text"],
html body .cleanlogin-form input[type="password"],
html body .cleanlogin-form input[type="email"],
html body .cleanlogin-form input[type="submit"] {
    height: auto;
    padding: 1.1em 1em;
    background-image: none;
}

html body .cleanlogin-form input[type="text"],
html body .cleanlogin-form input[type="password"],
html body .cleanlogin-form input[type="email"] {
    padding-left: 1em !important;
}

html body .cleanlogin-container.cleanlogin-full-width {
    max-width: 600px
}

html body .cleanlogin-full-width form .cleanlogin-field {
    width: 48%;
    margin-left: 2%;
}

html body .cleanlogin-full-width form fieldset {
    margin-left: -2%;
}

/* WPPB Login */

.wppb-alert {
    text-align: center;
    margin-bottom: 5em;
}

.wppb-warning {

}

.wppb-user-forms,
.wppb_holder {
    max-width: 400px;
    margin: 0 auto 5em auto;
}

.wppb-user-forms ul {
    margin-left: 0;
    margin-bottom: 0 !important;
}

.wppb-user-forms li {
    list-style: none;
    padding-left: 0 !important;
}

.wppb-user-forms input {
    width: 100%;
    margin-bottom: 0 !important;
}

.wppb-user-forms p {
    margin-bottom: 1em;
}

.wppb-user-forms input[type="submit"] {
    margin-top: 1em;
}

.wppb-user-forms .form-submit {
    margin-top: 0;
}

div.lost-password {
    text-align: center;
    display: block;
    margin-top: -2em;
    margin-bottom: 5em;
}

#wppb-recover-password br {
    display: inline;
    padding-left: 1em;
}

.wppb-form-field h4 {
    margin-top: 2em;
}

#wppb-register-user input {
    margin-bottom: 1em !important;
}

.wppb-form-field #pass-strength-result {
    margin-bottom: 1em;
    display: inline-block;
}

.wppb-success {
    text-align: center;
}

/* WooCommerce No Shop Home Header */
body.no_woo_h_title .standard-title-container {
    display: none;
}

/*****************************************************************************
*                           WP User Avatar Plugin                          *
*****************************************************************************/

#bbpress-forums .avatar_container i {
    background: transparent !important;
}

#bbpress-forums .avatar_container {
    margin-bottom: 0 !important;
}

/*****************************************************************************
*                       GD bbpress Attachments Plugin                      *
*****************************************************************************/

html body #bbpress-forums .bbp-attachments ol li.bbp-atthumb.bbp-inline {
    margin-right: 1em !important;
    text-align: center;
}

html body #bbpress-forums .bbp-attachments h6 {
    margin-bottom: 1em !important;
}

#bbpress-forums .bbp-attachments ol li.bbp-atthumb.bbp-inline {
    float: none;
}

#bbpress-forums .bbp-attachments li a {
    font-size: 0.9em;
}

#bbpress-forums .bbp-attachments, #bbpress-forums .bbp-attachments-errors {
    margin-top: 0;
    margin-bottom: 1em;
    border: none;
    padding: 0;
}

.bbp-attachments img {
    margin-bottom: 10px;
}

#bbpress-forums .bbp-attachments ol li.bbp-atthumb .wp-caption p.wp-caption-text {
    font-size: 0.8em !important;
    text-align: center !important;
}

#bbpress-forums .bbp-attachments ol li.bbp-atthumb .wp-caption {
    width: auto !important;
}

/*****************************************************************************
*                          GD bbPress Tools Plugin                         *
*****************************************************************************/

html body #bbpress-forums div.bbp-signature {
    font-size: 0.8em !important;
    border: none;
    /*padding: 2em 0 2em 0;*/
}

body div.bbp-signature p {
    margin-bottom: 1em;
}

body div.bbp-signature p:last-child {
    margin-bottom: 0;
}

body .d4p-bbt-quote-title {
    font-weight: inherit;
    border-bottom: 0;
    margin-bottom: 0 !important;
}

body .d4p-bbt-quote-title a {
    color: inherit;
}

body .d4pbbc-quote {
    background: rgba(0,0,0,0.05);
    padding: 1em;
    border-radius: 4px;
    margin-bottom: 1em;
}

/*****************************************************************************
*                            Tribe Events Plugin                           *
*****************************************************************************/

body.center_page_title #tribe-events #tribe-events-bar {
    text-align: center;
}

body.center_page_title #tribe-events .tribe-bar-disabled {
    display: none;
}

body.center_page_title #tribe-events #tribe-bar-form {
    margin: 0 auto;
    display: inline-block;
}

html body .tribe-events-calendar td a {
    font-size: 0.9em;
}

#tribe-events .tribe-events-page-title {
    display: none;
}

#tribe-events .tribe-events-notices {
    display: none;
}

/* Events Manager Plugin */

table.fullcalendar {
    border-radius: 4px;
}

table.fullcalendar tr.days-names td {
    height: auto;
}

table.fullcalendar td {
    width: calc(100% / 7);
}

table.fullcalendar thead td {
    padding: 0;
    text-align: center;
    border: none;
    padding-bottom: 1em;
}

table.fullcalendar tbody td {
    padding: 0.4em;
    height: 7em;
}

table.em-calendar ul {
    list-style: none;
    margin-left: 0;
}

table.em-calendar li {
    line-height: inherit;
    font-size: 0.9em;
}

body.tribe-events-page-template .main-content-inner {
    padding-bottom: 4em;
}

body.center_page_title .tribe-events-back {
    text-align: center;
}

body.center_page_title .tribe-events-schedule h2 {
    text-align: center;
}

.tribe-events-adv-list-widget .tribe-events-widget-link a, .tribe-events-back a, .tribe-events-list-widget .tribe-events-widget-link a, ul.tribe-events-sub-nav a {
    font-size: 1em;
    font-weight: inherit;
}

h2.tribe-events-page-title {
    display: none; /* Strange fuckers */
}

.tribe-bar-disabled {
    float: none !important;
    z-index: 0;
}

body.center_page_title .next_3_events {
    text-align: center;
    -webkit-justify-content: center;
    justify-content: center;
}

/* ----------------------------------------------------
Disabling for now - it's rubbish!
---------------------------------------------------- */

#tribe-events-bar {
    display: none !important;
}

/* ------------------------------------------------- */

.tribe-bar-disabled #tribe-events-bar {
    width: 100%;
}

body.center_page_title.bordered #tribe-events-bar {
    margin-top: -2em;
    margin-bottom: 3em;
}

body.center_page_title .tribe-bar-disabled #tribe-events-bar {
    text-align: center;
}

body.center_page_title #tribe-bar-form {
    display: inline-block;
    margin: 0 auto !important;
    text-align: left;
}

.tribe-bar-disabled #tribe-bar-form .tribe-bar-filters input[type=text] {
    font-size: 1em;
    font-weight: inherit;
    font-style: normal;
}

.tribe-bar-disabled #tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a {
    padding: 0 10px 2px 10px;
}

.tribe-bar-view-list a[class*=tribe-icon-], .tribe-bar-views-list span[class^=tribe-icon-], .tribe-select2-results-views span[class^=tribe-icon-] {
    min-height: auto;
    padding-left: 20px;
}

.tribe-events-list-separator-month {
    padding: 0;
    margin: 0;
    margin-bottom: 3em;
    background-color: transparent;
    font-weight: inherit;
}

#tribe-bar-views li.tribe-bar-views-option {
    line-height: 1.4em;
    font-size: 0.9em;
}

#tribe-bar-views .tribe-bar-views-list {
    padding-left: 0;
}

.tribe-events-notices {
    display: none; /* Utterly pointless */
}

.events-archive.events-gridview #tribe-events-content table .type-tribe_events {
    padding: 6px 6px;
    margin: 0;
}

#tribe-events-content table.tribe-events-calendar {
    font-size: 0.94em !important;
}

#tribe-events-content .tribe-events-calendar td, #tribe-events-content table.tribe-events-calendar {
    border: 1px solid #eaeaea;
}

.tribe-events-calendar th {
    letter-spacing: inherit;
    width: calc(100% / 7);
    font-size: 0.9em;
    background-color: transparent;
    padding: 0.8em 0;
}

#tribe-events-footer ul.tribe-events-sub-nav {
    display: none;
}

body.events-gridview .main-content-inner .content-width {
    width: 100% !important;
}

#tribe-events-content .tribe-events-calendar td {
    height: 10em;
    font-size: 1em;
    width: calc(100% / 7);
}

#tribe-events-content .tribe-events-calendar th {
    width: calc(100% / 7);
}

.tribe-events-calendar div[id*=tribe-events-daynum-], .tribe-events-calendar div[id*=tribe-events-daynum-] a {
    font-size: 1em;
}

/* Current day */
.tribe-events-calendar td.tribe-events-present, .tribe-events-calendar td.tribe-events-present {
    background-color: rgba(0,0,0,0.03);
}

@media only screen and (max-width: 767px) {
    .tribe-events-calendar th {
        overflow: hidden;
        position: relative;
        font-size: 0;
        height: 2rem;
    }
    .tribe-events-calendar th:after {
        content: attr(data-day-abbr);
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: #fff;
        text-align: center;
        padding-top: 0.7em;
        font-size: 10px;
        line-height: 1rem;
    }
    #tribe-events-content .tribe-events-calendar td {
        height: 5em;
    }
    #tribe-events-content dl dt {
        margin-bottom: 0;
    }
    .single-tribe_events #tribe-events-content .tribe-events-event-meta dd {
        float: left !important;
    }
    .tribe-events-calendar .tribe-events-has-events:after {
        content: "";
        display: block;
        height: 8px;
        width: 8px;
        padding: 0;
        border-radius: 50%;
        background-color: #333;
        margin: 5px auto;
    }
    .tribe-events-calendar td .tribe-events-viewmore, .tribe-events-calendar td .type-tribe_events {
        display: none;
    }
    .tribe-events-calendar div[id*=tribe-events-daynum-], .tribe-events-calendar div[id*=tribe-events-daynum-] a {
        background-color: transparent !important;
    }
    .tribe-events-calendar td div[id*=tribe-events-daynum-] {
        text-align: center;
    }
}

#tribe-events .tribe-events-button, .tribe-events-button {
    color: #fff !important;
}

#tribe-events-content .tribe-events-calendar div[id*=tribe-events-event-] h3.tribe-events-month-event-title {
    font-size: 1em !important;
    font-weight: inherit !important;
}

.single-tribe_events #tribe-events-content .tribe-events-event-meta dt {
    float: left;
    line-height: inherit;
    margin-right: 0.5em;
}

.single-tribe_events #tribe-events-content .tribe-events-event-meta dd {
    float: none;
    margin-bottom: 1em;
    line-height: inherit;
    font-weight: inherit;
    width: 90%;
    overflow: hidden;
}

.single-tribe_events .tribe-events-event-meta {
    font-size: 1em;
}

.single-tribe_events .tribe-events-event-meta {
    border: none;
    background-color: #f3f3f3;
    border-radius: 4px;
    padding: 3em 2em 2em 2em;
    overflow: hidden;
}

.single-tribe_events .tribe-events-event-meta:not(.primary) {
    margin-top: 2em;
}

html .tribe-events-event-meta .column, html .tribe-events-event-meta .tribe-events-meta-group {
    padding: 0;
    margin: 0;
    float: left;
    margin-bottom: 2em;
}

html body .tribe-events-event-meta .tribe-events-meta-group:only-child {
    display: none;
}

.single-tribe_events .tribe-events-event-meta {
    margin: 0;
}

html .tribe-events-venue .tribe-events-map-wrap {
    border: none;
    border-radius: 4px;
    overflow: hidden;
    padding: 0;
    background: transparent;
}

html .tribe-events-venue-meta address {
    line-height: 1.6em !important;
    font-weight: 500;
}

/* Disabled as doesn't work - what a surprise */
.tribe-events-cal-links {
    display: none;
}

body.center_page_title .tribe-events-cal-links {
    text-align: center;
}

a.tribe-events-ical {
    display: none;
}

body.single .type-tribe_events.hentry {
    display: flex;
    flex-direction: column;
}

body.single .tribe-events-content {
    order: 1;
    margin-bottom: 1em;
}

body.single .tribe-events-content {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

body.single .tribe-events-cal-links {
    order: 0;
    margin-top: -2em;
    margin-bottom: 3em;
}

body.single .tribe-events-single-event-description .tribe-events-event-meta.tribe-clearfix {
    display: none;
}

body.single.center_page_title.bordered .tribe-events-cal-links {
    margin-top: 1em;
    margin-bottom: 4.5em;
    display: none; /* Hidden for now */
}

body.single .tribe-events-event-meta {
    order: 2;
}

.tribe-events-button {
    margin: 0 0;
}

.tribe-events-day {
    padding: 0;
}

.tribe-bar-disabled #tribe-bar-form .tribe-bar-filters input[type=text] {
    width: 140px;
}

.tribe-events-loop .tribe-events-event-meta {
    font-size: 1em;
    font-weight: inherit;
    line-height: inherit;
}

.tribe-events-list .time-details, .tribe-events-list .tribe-events-venue-details {
    line-height: 1.6em;
    margin-top: 2em;
}

.tribe-events-meta-group .tribe-events-single-section-title {
    margin: 0 0 1em 0;
}

.tribe-events-meta-group-details {
    width: 50%;
}

.tribe-events-meta-group-venue {
    width: 50%;
}

.tribe-events-meta-group-gmap {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0 !important;
    border: 2px solid rgba(0,0,0,0.1);
}

a.tribe-events-gcal, a.tribe-events-ical {
    margin-top: 0;
}

#tribe-events-footer {
    display: none;
}

#tribe-events-content {
    margin-bottom: 0;
}

.single-tribe_events .tribe-events-schedule {
    background-color: transparent !important;
    border: none !important;
    margin: -1.5em 0 2em 0;
    padding: 0;
}

.single-tribe_events .title-container {
    display: none !important;
}

#tribe-events-footer~a.tribe-events-ical.tribe-events-button {
    display: none !important;
}

.tribe-events-calendar div[id*=tribe-events-daynum-] {
    background-color: rgba(0,0,0,0.05);
}

.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-] {
    background-color: rgba(0,0,0,0.05);
}

.tribe-events-day .tribe-events-day-time-slot .type-tribe_events {
    margin-left: 0;
}

.tribe-events-day .tribe-events-day-time-slot h5 {
    border-radius: 3px;
}

.single-tribe_events #tribe-events-header {
    display: none;
}

.single-tribe_events .tribe-events-schedule .tribe-events-cost {
    display: none;
}

.tribe-events-list .type-tribe_events {
    border: none !important;
    padding: 0;
}

html .tribe-events-list-separator-month+.type-tribe_events.tribe-events-first {
    padding-top: 0;
}

.tribe-events-list .tribe-events-loop .tribe-event-featured {
    padding: 2em 2em 4em 2em !important;
    border-radius: 3px;
}

html .tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-meta {
    color: rgba(255,255,255,0.9);
    font-weight: inherit;
}

.tribe-events-list .tribe-events-loop .tribe-event-featured a {
    color: #fff !important;
}

html #tribe-events-content.tribe-events-list {
    padding: 0;
    margin-bottom: 0;
}

.tribe-events-list .type-tribe_events {
    padding-bottom: 0;
    margin-bottom: 2em !important;
}

.tribe-events-list .type-tribe_events:last-child {
    margin-bottom: 0 !important;
}

.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-cost span {
    background: #fff;
    font-weight: 700;
}

.tribe-events-list .tribe-events-event-cost span {
    border: none !important;
    color: #fff;
    border-radius: 3px;
}

.tribe-events-list .tribe-events-event-cost {
    position: absolute;
    right: 0;
    margin-top: 0 !important;
}

.tribe-events-list .tribe-event-featured .tribe-events-event-cost {
    margin-top: 1em !important;
    right: 2em;
}

.tribe-events-list-event-title {
    padding-right: 3em;
}

.single-tribe_venue .tribe-events-loop .tribe-events-content p {
    margin-bottom: 2em;
}

.tribe-events-event-meta-desc .tribe-events-gmap, .tribe-events-event-meta .tribe-events-gmap {
    margin-bottom: 1em;
    display: inline-block;
}

.tribe-events-day .tribe-events-day-time-slot h5 {
    padding: 0;
    text-transform: none;
    background-color: transparent;
    margin-top: 0;
    margin-bottom: 3em;
    font-weight: inherit;
}

/* Calendar Events Pro Specific */

.events_calendar_pro .tribe-mini-calendar-event.first {
    margin-top: 0;
}

.events_calendar_pro .tribe-mini-calendar-event {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.events_calendar_pro {
    margin-bottom: 3em;
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
}

@media only screen and (max-width: 600px) {
    .events_calendar_pro {
        flex-direction: column;
    }
    .events_calendar_pro .type-tribe_events {
        width: 100% !important;
    }
    .events_calendar_pro .type-tribe_events {
        margin-bottom: 3em !important;
    }
    .events_calendar_pro {
        margin-bottom: 0;
    }
}

#tribe-events-content .tribe-events-abbr {
    text-decoration: none;
}

.events_calendar_pro .type-tribe_events {
    width: calc(100% / 3);
    display: inline-block;
    padding-right: 15px;
    padding-left: 15px;
}

.events_calendar_pro .tribe-mini-calendar-event .list-date {
    border-radius: 4px;

    width: 100%;
    padding: 3em;
    margin-bottom: 1.5rem;
    text-align: center;
}

.events_calendar_pro .tribe-mini-calendar-event .list-date .list-dayname {
    font-size: 1em;
    background-color: transparent;
    color: #fff;
    width: 100%;
    display: inline-block;
}

.events_calendar_pro .tribe-mini-calendar-event .list-date .list-daynumber {
    font-size: 5em;
    line-height: 1em;
    display: inline-block;
    color: #fff;
}

.events_calendar_pro .tribe-mini-calendar-event .list-info {
    font-size: 1em;
    width: 100%;
}

body.center_page_title .events_calendar_pro .tribe-mini-calendar-event .list-info {
    text-align: center;
}

.events_calendar_pro .tribe-mini-calendar-event .list-info h2 {
    margin-bottom: 0.2em;
}

.events_calendar_pro .tribe-events-widget-link {
    display: none;
}

/* Event Tickets (Events Calendar Addon) ------------------------ */

html .single-tribe_events #tribe-events-content div.cart, html .single-tribe_events #tribe-events-content form.cart {
    margin: 0 0 3em 0;
    order: 1;
    padding: 2.5em 2em 2em 2em;
    background-color: #fff;
    border: 6px solid rgba(0,0,0,0.05);
    border-radius: 4px;
    position: relative;
}

.tickets-unavailable {
    font-style: inherit !important;
    margin-bottom: 2em;
    padding: 1em;
    background: #ffeced;
    border-radius: 3px;
}

html .tribe-events-tickets tr {
    border-top: none !important;
    padding: 0 !important
    ;
}

html .tribe-events-style-full .tribe-events-tickets td {
    border-bottom: none;
}

html .tribe-events-tickets td {
    padding: 0;
    vertical-align: initial;
}

html .tribe-events-tickets td.woocommerce {
    position: relative;
}

html .tribe-events-tickets .tribe-tickets-remaining {
    width: 400px;
    position: absolute;
    top: 2em;
    left: 4.5em;
}

html .tribe-events-tickets td.tickets_name {
    position: absolute;
    left: 2rem;
    top: 2.5rem;
    color: inherit;
    padding: 0;
}

html .tribe-events-tickets .quantity {
    float: left;
}

html .tribe-events-tickets .tickets_price {
    font-style: inherit;
    font-weight: inherit;
    color: inherit;
}

html .tribe-events-tickets .tickets_price .amount {
    position: absolute;
    left: 4.3em;
    font-size: 1.5em;
    padding-top: 0.1em;
}

html .tribe-events-tickets td.woocommerce.add-to-cart {
    text-align: right;
    width: 100%;
}

html .tribe-events-tickets td.woocommerce.add-to-cart .button {
    margin-bottom: 0;
}

html h2.tribe-events-tickets-title {
    margin: 0.5em 0 1em 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1em;
}

html .tribe-events-tickets tbody {
    display: flex;
}

html .tribe-events-tickets tbody tr {
    display: inline-flex;
    width: 50%;
}

@media (max-width: 489px) {
    html .tribe-events-tickets tbody {
        display: inline-block;
    }
}

/*****************************************************************************
* Bordered Content
*****************************************************************************/
@media only screen and (min-width: 1346px) {

    html body.bordered_content:not(.contained) .vc_row_outer {
        margin-left: 2em !important;
        margin-right: -2em !important;
    }

    html body.bordered_content:not(.contained) .vc_row_outer > .vc_row[data-vc-full-width="true"]:not([data-vc-stretch-content="true"]) {
        box-sizing: content-box !important;
        width: calc(100% + 4em) !important;
        margin-left: -4em !important;
        margin-right: -4em !important;
    }

    /*html body.bordered_content .content-container {
        margin-left: -2em;
        margin-right: -2em;
        }*/

        body.bordered_content .vc_col-has-fill.vc_column_container > .vc_column-inner.expanded {
            padding-left: 2em;
            padding-right: 2em;
        }

        body.bordered_content.contained .vc_col-has-fill.vc_column_container > .vc_column-inner.expanded {
            padding-left: 1em;
            padding-right: 1em;
        }

    /*body.bordered_content .content-container {
        margin-left: -2em !important;
        margin-right: -2em !important;
        }*/

        /*body.bordered_content .content-container {
            margin-left: -2em !important;
            }*/

            body.bordered_content .vc_row {
                margin-left: -2em !important;
                margin-right: -2em !important;
            }

            body.bordered_content:not(.contained) .vc_row_outer > .vc_row {
                margin-left: -4em !important;
                margin-right: -0em !important;
            }

            body.bordered_content .column-container {
                margin-left: -2em !important;
                margin-right: -2em !important;
            }

            body.bordered_content .vc_span1,
            body.bordered_content .vc_span2,
            body.bordered_content .vc_span3,
            body.bordered_content .vc_span4,
            body.bordered_content .vc_span5,
            body.bordered_content .vc_span6,
            body.bordered_content .vc_span7,
            body.bordered_content .vc_span8,
            body.bordered_content .vc_span9,
            body.bordered_content .vc_span10,
            body.bordered_content .vc_span11,
            body.bordered_content .vc_span12,
            body.bordered_content .vc_span13,
            body.bordered_content .vc_span14,
            body.bordered_content .vc_span15,
            body.bordered_content .vc_span16,
            body.bordered_content .vc_col-lg-1,
            body.bordered_content .vc_col-lg-10,
            body.bordered_content .vc_col-lg-11,
            body.bordered_content .vc_col-lg-12,
            body.bordered_content .vc_col-lg-2,
            body.bordered_content .vc_col-lg-3,
            body.bordered_content .vc_col-lg-4,
            body.bordered_content .vc_col-lg-5,
            body.bordered_content .vc_col-lg-6,
            body.bordered_content .vc_col-lg-7,
            body.bordered_content .vc_col-lg-8,
            body.bordered_content .vc_col-lg-9,
            body.bordered_content .vc_col-md-1,
            body.bordered_content .vc_col-md-10,
            body.bordered_content .vc_col-md-11,
            body.bordered_content .vc_col-md-12,
            body.bordered_content .vc_col-md-2,
            body.bordered_content .vc_col-md-3,
            body.bordered_content .vc_col-md-4,
            body.bordered_content .vc_col-md-5,
            body.bordered_content .vc_col-md-6,
            body.bordered_content .vc_col-md-7,
            body.bordered_content .vc_col-md-8,
            body.bordered_content .vc_col-md-9,
            body.bordered_content .vc_col-sm-1,
            body.bordered_content .vc_col-sm-10,
            body.bordered_content .vc_col-sm-11,
            body.bordered_content .vc_col-sm-12,
            body.bordered_content .vc_col-sm-2,
            body.bordered_content .vc_col-sm-3,
            body.bordered_content .vc_col-sm-4,
            body.bordered_content .vc_col-sm-5,
            body.bordered_content .vc_col-sm-6,
            body.bordered_content .vc_col-sm-7,
            body.bordered_content .vc_col-sm-8,
            body.bordered_content .vc_col-sm-9,
            body.bordered_content .vc_col-xs-1,
            body.bordered_content .vc_col-xs-10,
            body.bordered_content .vc_col-xs-11,
            body.bordered_content .vc_col-xs-12,
            body.bordered_content .vc_col-xs-2,
            body.bordered_content .vc_col-xs-3,
            body.bordered_content .vc_col-xs-4,
            body.bordered_content .vc_col-xs-5,
            body.bordered_content .vc_col-xs-6,
            body.bordered_content .vc_col-xs-7,
            body.bordered_content .vc_col-xs-8,
            body.bordered_content .vc_col-xs-9 {
                padding-left: 2em !important;
                padding-right: 2em !important;
            }

            html body.bordered_content ul.grid,
            html body.bordered_content #portfolio {
                margin-right: -1em !important;
                margin-left: -1em !important;
            }

            body.bordered_content ul.grid li.grid-item,
            body.bordered_content #portfolio > li {
                padding-left: 1em !important;
                padding-right: 1em !important;
            }

            body.bordered_content.contained.reduced_widths .main-content .title-container .content-width {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }

            html body.bordered_content .main-content-inner > .column-container {
                margin-right: -2em !important;
                margin-left: -2em !important;
            }

            .column-full-width, .column-one-half, .column-one-third, .column-one-fourth, .column-one-fifth, .column-one-sixth, .column-two-third, .column-three-qtr {
                padding-left: 2em !important;
                padding-right: 2em !important;
            }

            body.bordered_content.contained .vc_row_outer > .vc_row[data-vc-full-width="true"] {
                padding-left: 2em !important;
                padding-right: 2em !important;
                left: 0 !important;
            }

            body.bordered_content.contained .footer-shortcode .vc_row_outer > .vc_row[data-vc-full-width="true"] {
                padding-left: 1em !important;
                padding-right: 1em !important;
            }

            body.bordered_content.contained .vc_row_outer {
                margin-left: 0 !important;
                width: calc(100% - 0em) !important;
            }

            body.bordered_content.contained .vc_row_outer > .vc_row[data-vc-full-width="true"] {
                margin-left: 0 !important;
                margin-right: 0 !important;
                width: calc(100% + 0em) !important;
            }

            body.bordered_content.contained .vc_row_outer > .vc_row[data-vc-full-width="true"][data-vc-stretch-content="true"] {
                margin-left: -4em !important;
                width: calc(100% + 8em) !important;
                padding: 0 !important;
            }

            body.bordered_content.contained .vc_row_outer > .vc_row[data-vc-full-width="true"][data-vc-stretch-content="true"] .vc_col-sm-12 .wpb_content_element .grid-wrapper {
                width: calc(100% - 4em);
                left: 2em;
            }

            body.bordered_content .vc_row.vc_row-no-padding .vc_row {
                margin-left: 0 !important;
                margin-right: 0 !important;
            }

            body.bordered_content .main-content,
            body.bordered_content .footer-shortcode {
                border-left: 2em solid #fff;
                border-right: 2em solid #fff;
            }

            body.bordered_content .topbar {
                padding-left: 2em !important;
                padding-right: 2em !important;
            }

            body.contained.transparent_header.bordered_content .header:not(.drop_header) .topbar {
                padding-left: 4em !important;
                padding-right: 4em !important;
            }

            body.bordered_content.contained .vc_col-sm-12 .wpb_content_element .grid-wrapper {
                margin-left: -2em;
                margin-right: -4em;
            }

            body.bordered_content.contained .vc_col-sm-12 .wpb_content_element.carousel-holder {
                margin-left: -2em;
                margin-right: -2em;
                width: calc(100% + 4em);
            }

            body.bordered_content.reduced_widths.single-portfolio .column-container {
                display: flex;
                margin-right: -2em !important;
                margin-left: -2em !important;
            }

            body.bordered_content .content-width {
                padding-left: 2em !important;
                padding-right: 2em !important;
            }

            body.bordered_content .column-full-width,
            body.bordered_content .column-one-half,
            body.bordered_content .column-one-third,
            body.bordered_content .column-one-fourth,
            body.bordered_content .column-one-fifth,
            body.bordered_content .column-one-sixth,
            body.bordered_content .column-two-third,
            body.bordered_content .column-three-qtr {
                padding-left: 2em !important;
                padding-right: 2em !important;
            }

            body.bordered_content.contained .main-content > .content-width {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }

            body.bordered_content .main-content,
            body.bordered_content .footer-shortcode {
                overflow-x: hidden;
            }

            body[class*="page-template-template-portfolio"].matching_title_body.bordered_content:not(.has_thumbnail.display_thumbnail) .title-container,
            body[class*="page-template-template-blog"].matching_title_body.bordered_content:not(.has_thumbnail.display_thumbnail) .title-container {
                margin-bottom: 0 !important;
            }

            body.bordered_content.contained .vc_row[data-vc-stretch-content] {
                left: 0 !important;
                width: calc(100% + 2em) !important;
                padding-left: 0 !important;
                padding-right: 0 !important;
            }

            body.bordered_content .left-inner-override {
                margin-left: 2em !important;
            }

            body.bordered_content .right-inner-override {
                margin-left: -2em !important;
            }

            body.bordered_content.contained .left-inner-override {
                margin-left: 3em !important;
            }

            body.bordered_content.contained .right-inner-override {
                margin-left: -3em !important;
            }

            html body.bordered_content.contained .rev_slider_wrapper.fullwidthbanner-container,
            html body.bordered_content.contained .rev_slider_wrapper.fullscreen-container {
                width: calc(100% + 8em ) !important;
                left: -4em !important;
            }

        /*body.bordered_content.contained.reduced_widths.single-post .column-container.no-sidebar .column-three-qtr .vc_row_outer,
        body.bordered_content.contained.reduced_widths.single-portfolio .column-container .column-full-width .vc_row_outer {
            margin-left: -4em !important;
            margin-right: -4em !important;
            width: unset !important;
            }*/

            body.bordered_content .grid-holder .grid-wrapper {
                margin-left: -1em;
                margin-right: -1em;
            }

            html body.bordered_content .main-content li.grid-item {
                padding-left: 1em !important;
                padding-right: 1em !important;
            }

            html body.bordered_content .vc_row-no-padding {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }

            html body.bordered_content .vc_row-no-padding .vc_column-inner {
                margin-right: 2em !important;
                margin-left: -2em !important;
            }

            html body.bordered_content.contained .vc_row-no-padding .vc_column-inner {
                margin-right: 0 !important;
                margin-left: 0 !important;
            }

            body.bordered_content:not(.boxed_logo):not(.contained) .header.stretched .topbar {
                padding-left: 4em !important;
                padding-right: 4em !important;
            }

        }

/*****************************************************************************
* Misc
*****************************************************************************/

/* No padding */
html body *.nopadding {
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
}

/* Force left aligned VC text on mobile */
@media only screen and (max-width: 767px) {
    .wpb_wrapper.force_left * {
        text-align: left !important;
    }
}

/* No header/footer */
body.page-template-template-no-header-footer .header,
body.page-template-template-no-header-footer .footer,
body.page-template-template-no-header-footer .footer-shortcode {
    display: none !important;
}

/* PrettyPhoto */
html body div.pp_default .pp_content {
    background-color: #f8f8f8;
}

.basix_centered_container .button_container {
    margin-left: 0.5em;
}

.basix_centered_container .button_container:first-child {
    margin-left: 0;
}

/* Strong */

body strong {
    color: inherit;
}

/* RPWE Widget */

.rpwe-block ul.rpwe-ul li.rpwe-li {
    margin-bottom: 1.5em;
    border-bottom: none;
}

.rpwe-block ul.rpwe-ul li.rpwe-li:last-child {
    margin-bottom: 0;
}

.rpwe-li > *:not(.rpwe-img) {
 display: block;
}

.rpwe-li > *:not(.rpwe-img) {
    margin-right: calc(45px + 1em);
}

.rpwe-thumb {
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0.2em 0 0 0;
    width: 45px;
    height: 45px;
}

.rpwe-img {
    float: right;
    width: 45px;
}

.rpwe-time {
    margin-top: 0.2em;
    opacity: 0.65;
    font-size: 0.9em;
}

.rpwe-comment {
    font-size: 0.9em;
}

.rpwe-block ul.rpwe-ul .rpwe-title {
    margin-bottom: 0.2em;
}

/* VC Box Shadow */
.vc_row .box_shadow > .vc_column-inner {
    -webkit-box-shadow: 0 0 60px 0 rgba(0,0,0,.07);
    box-shadow: 0 0 60px 0 rgba(0,0,0,.07);
    -webkit-transition: all .08s linear;
    transition: all .08s linear;
    overflow: hidden;
}

.vc_row .box_shadow > .vc_column-inner:hover {
    -webkit-box-shadow: 0 0 60px 0 rgba(0,0,0,.1);
    box-shadow: 0 0 60px 0 rgba(0,0,0,.1);
}

/*****************************************************************************
* Basix Custom Fonts Overides - Yes, I have OCD.
*****************************************************************************/

/* Metropolis */
body.nav_font_metropolis .topnav.main > li,
body.nav_font_metropolis .header_cta_section a,
body.nav_font_metropolis .button {
    padding-top: 1px !important;
}
body.nav_font_metropolis .topnav > li.menu-item-has-children > a:after {
    margin-top: -0.1em;
}

/* Encode Sans */
body.buttons_font_encode_sans a.button,
body.buttons_font_encode_sans input[type="submit"],
body.buttons_font_encode_sans button,
body.buttons_font_encode_sans .vc_btn3-container a,
body.buttons_font_encode_sans #tribe-events .tribe-events-button,
body.buttons_font_encode_sans .tribe-events-button,
body.buttons_font_encode_sans .tribe-events-read-more,
body.buttons_font_encode_sans #buddypress #item-buttons a,
body.buttons_font_encode_sans .header_cta {
    padding-bottom: 1.5px !important;
}

/*****************************************************************************
*                           Featherlight Lightbox                          *
*****************************************************************************/

html body .featherlight {
    padding: 2em;
}

html body .featherlight .featherlight-content {
    margin: 0;
    border-bottom: 6px solid #fff !important;
    border-radius: 5px;
    padding: 5px !important;
    max-height: 100%;
    overflow: hidden;
}

html body .featherlight .featherlight-close-icon {
    background: #fff;
    width: auto;
    line-height: 1;
    padding: 1em !important;
    margin-bottom: 0;
    border-radius: 0 !important;
    border-bottom-left-radius: 3px !important;
}

.featherlight-last-slide.featherlight-first-slide .featherlight-previous, .featherlight-last-slide.featherlight-first-slide .featherlight-next {
    display: none !important;
}

/*****************************************************************************
*                                 Tooltips                                 *
*****************************************************************************/

ul.topsocial li a, ul.social li a, ul.social-icons li a, ul.post-sharing li a {
    position: relative;
}

.basix-tooltip {
    position: absolute;
    top: -35px;
    left: -5px;
    padding: 6px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: inherit;
    letter-spacing: normal;
    line-height: 11px;
    color: #FFFFFF;
    white-space: nowrap;
    opacity: 0;
    display: none;
    z-index: 99999;
}

.basix-tooltip:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent;
    top: 20px;
    left: 4px;
}

ul.topsocial li a:hover > .basix-tooltip, ul.social li a:hover > .basix-tooltip, ul.social-icons li a:hover > .basix-tooltip, ul.post-sharing li a:hover > .basix-tooltip {
    opacity: 1;
    display: none;
    /* Disabled for now - Maybe for good! */
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

ul.topsocial .basix-tooltip {
    top: 36px;
    left: -5px;
}

ul.topsocial .basix-tooltip:after {
    border-color: transparent transparent transparent;
    top: -12px;
    left: 4px;
}

@media only screen and (min-width: 768px) {
    .button_bottom {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin-bottom: 3em;
    }
}

/*****************************************************************************
*                          Reduced content widths                          *
*****************************************************************************/

@media only screen and (min-width: 1100px) {
    body.reduced_widths.single-post .main-content-inner,
    body.reduced_widths.single-post .title-container-inner,
    body.reduced_widths.single-portfolio .main-content-inner,
    body.reduced_widths.single-portfolio .title-container-inner,
    body.reduced_widths.bbpress .main-content-inner,
    body.reduced_widths.home #bbpress-forums {
        padding-left: 10em !important;
        padding-right: 10em !important;
    }
    body.reduced_widths.single-post .column-container.no-sidebar .column-three-qtr,
    body.reduced_widths.single-portfolio .column-container .column-full-width {
        width: inherit !important;
    }
    body.reduced_widths.single-post .post_featured_image,
    body.reduced_widths.single-portfolio .post_featured_image {
        margin-bottom: 3em;
    }
}

/*****************************************************************************
* Breadcrumbs
*****************************************************************************/

.main-content .breadcrumbs {
    max-width: 70%;
    margin: 0 auto 1em auto;
    text-align: left;
    font-size: 0.86em;
    line-height: 1.4em;
}

body.left_page_title .main-content .breadcrumbs {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.4em;
}

body.bbp-user-page .main-content .breadcrumbs {
    display: none;
}

body.bbp-user-page .main-content .breadcrumbs {
    display: none;
}

body.center_page_title:not(.single-post) .main-content .breadcrumbs {
    text-align: center;
}

body.center_page_title.single-post .main-content .breadcrumbs,
body.center_page_title.single-portfolio .main-content .breadcrumbs {
    text-align: left;
    padding: 0;
    max-width: 100%;
}

body.single-product .main-content .breadcrumbs {
    text-align: left;
    display: inline-block;
}

@media only screen and (max-width: 767px) {
    .main-content .breadcrumbs {
        max-width: 100%;
    }
}

.single-portfolio .main-content .breadcrumbs {
    max-width: 100%;
    width: 100%;
}

.main-content .breadcrumbs:empty {
    display: none;
}

.main-content .breadcrumbs > span:before {
    content: "\00bb";
    display: inline-block;
    margin: 0 0.5em;
    opacity: 0.5;
}

.main-content .breadcrumbs > span:first-child:before {
    display: none;
    content: '';
}

.main-content .breadcrumbs a {
    color: inherit;
}

body.stretched_title .title-container.dark-bg .breadcrumbs a {
    color: #fff;
}

body.stretched_title .title-container.dark-bg .breadcrumbs > span:before {
    color: #fff;
}

html body.stretched_header.has_thumbnail.display_thumbnail:not(.archive):not(.tag) .title-container .breadcrumbs a {
    color: rgba(255,255,255,0.8) !important;
}

html body.stretched_header.has_thumbnail.display_thumbnail:not(.archive):not(.tag) .title-container .breadcrumbs a:hover {
    color: rgba(255,255,255,1) !important;
}

body.stretched_header.accent_color .main-content .breadcrumbs,
body.stretched_header.main_color .main-content .breadcrumbs {
    color: rgba(255,255,255,0.8);
}

body.stretched_header.accent_color .main-content .breadcrumbs a,
body.stretched_header.main_color .main-content .breadcrumbs a {
    color: rgba(255,255,255,0.9);
}

body.stretched_header.accent_color .main-content .breadcrumbs a:hover,
body.stretched_header.main_color .main-content .breadcrumbs a:hover {
    color: rgba(255,255,255,1);
}

/* Hide breadcrumbs on various pages */
body.woocommerce-account .main-content .breadcrumbs,
body[class*=bbp-user-] .main-content .breadcrumbs {
    display: none;
}

/* Hide blog meta on portfolio detail page */
body.single-portfolio .main-content .blog-meta {
    display: none;
}

body.single-product.bordered .main-content .breadcrumbs {
    text-align: left;
    max-width: 100%;
}

/*****************************************************************************
*                                  Columns                                 *
*****************************************************************************/

.column-container {
    margin-right: -2em !important;
    margin-left: -2em !important;
    display: flow-root;
}

.column-container.no-sidebar .column-two-third,
.column-container.no-sidebar .column-three-qtr {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100% !important;
}

.column-full-width {
    width: 100% !important;
}

.column-one-half {
    width: 50% !important;
}

.column-one-third {
    width: calc(100% / 3);
}

.column-one-fourth {
    width: 25% !important;
}

.column-one-fifth {
    width: 20% !important;
}

.column-one-sixth {
    width: 16.666666666666664% !important;
}

.column-two-third {
    width: 66.66% !important;
}

.column-three-qtr {
    width: 75% !important;
}

.column-full-width, .column-one-half, .column-one-third, .column-one-fourth, .column-one-fifth, .column-one-sixth, .column-two-third, .column-three-qtr {
    display: inline-block;
    float: left;
    padding-left: 2em !important;
    padding-right: 2em !important;
}

@media only screen and (min-width: 768px) {
    .column-full-width, .column-one-half, .column-one-third, .column-one-fourth, .column-one-fifth, .column-one-sixth, .column-two-third, .column-three-qtr {
        float: left;
    }
}

.column-container [class*="column"] .wp-caption {
    max-width: 100% !important;
}

/*****************************************************************************
*                                 CTA Bars                                 *
*****************************************************************************/

.cta-bar {
    display: table;
    width: 100%;
    padding: 22px 20px;
    margin-bottom: 20px;
    text-align: left;
    font-size: 1.2em;
    line-height: 1.2em;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.cta-bar-text {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
    font-weight: 500;
}

.cta-bar-button {
    text-align: right;
    white-space: nowrap;
}

.cta-bar p {
    margin: 0;
}

.cta-bar-button a.button {
    margin: 0 !important;
    float: right;
}

/* Main Color CTA Bar */

.light-bg .cta-bar.main {
    color: #FFFFFF;
}

.dark-bg .cta-bar.main {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

/* Accent Color CTA Bar */

.cta-bar.accent {
    color: #FFFFFF;
}

/* Grey Color CTA Bar */

.light-bg .cta-bar.grey {
    background-color: #E2E2E2;
}

.dark-bg .cta-bar.grey {
    background-color: rgba(255, 255, 255, 0.2);
}

.dark-bg .cta-bar.grey .cta-bar-text {
    color: #FFFFFF;
}

/*****************************************************************************
*                                  Tables                                  *
*****************************************************************************/

.table-style-1 {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    display: table;
    table-layout: fixed;
}

.dark-bg .table-style-1 th {
    color: rgba(255, 255, 255, 0.9) !important;
}

.table-style-1 th, .table-style-1 td {
    text-align: left;
    padding: 14px 8px 14px 14px;
    border-left: 1px solid;
    display: table-cell;
}

.table-style-1 th:first-child, .table-style-1 td:first-child {
    border-left: 0;
    padding-left: 0;
}

.table-style-1 tr {
    border-bottom: 1px solid;
}

.light-bg .table-style-1 tr:first-child, .dark-bg .table-style-1 tr:first-child {
    border-top: none;
}

.light-bg .table-style-1 tr:last-child, .dark-bg .table-style-1 tr:last-child {
    border-bottom: none;
}

.light-bg .table-style-1 th, .light-bg .table-style-1 td, .light-bg .table-style-1 tr {
    border-color: rgba(0, 0, 0, 0.1);
}

.dark-bg .table-style-1 th, .dark-bg .table-style-1 td, .dark-bg .table-style-1 tr {
    border-color: rgba(255, 255, 255, 0.1);
}

/*****************************************************************************
*                                  Alerts                                  *
*****************************************************************************/

.alert {
    padding: 1.6em 38px 1.6em 1em;
    display: block;
    width: 100%;
    clear: both;
    margin-bottom: 3em;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    line-height: 18px;
    color: #FFFFFF;
}

.alert.accent {
    color: #FFFFFF;
}

.alert.red {
    background-color: #e62739;
    color: #FFFFFF;
}

.alert.amber {
    background-color: #ECD9A0;
    color: #60583E;
}

.alert.green {
    background-color: #BCD6B0;
    color: #5A754D;
}

.alert.transparent {
    background-color: transparent;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.light-bg .alert.transparent {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dark-bg .alert.transparent {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.01);
}

.alert span.close {
    position: absolute;
    right: 1em;
    top: 1.5em;
    cursor: pointer;
    display: inline;
}

.alert span.close:after {
    font-size: 14px;
    content: '\f00d';
    font-family: 'FontAwesome';
    color: inherit;
}

/* Google Maps
*****************************************************************************/

.basix-map {
    width: 100%;
    overflow: hidden !important;
    z-index: 1;
    display: flex;
}

@media only screen and (max-width: 767px) {
    .basix-map.expand_right, .basix-map.expand_left {
        min-height: 80vh;
    }
    .basix-map.expand_right {
        margin-left: -25px;
    }
    .basix-map.expand_left {
        margin-right: -25px;
    }
}

/* Testimonials
*****************************************************************************/

.testimonial-text {
    line-height: 1.7em;
    margin-bottom: 1em;
}

.dark-bg .testimonial-text {
    color: rgba(255, 255, 255, 1);
}

.testimonial-name {
    display: inline-block;
    font-size: 0.9rem;
}

/* Header Infobar
*****************************************************************************/

.header-infobar {
    display: block;
    background-color: #e2e2e2;
    font-size: 0.86em;
    height: 30px;
    line-height: 1em;
    color: #888;
    width: 100%;
    z-index: 5;
}

body.transparent_header .header-infobar {
    position: absolute;
}

.header-infobar:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.07);
}

body.has_infobar .header.drop_header .header-infobar {
    display: none !important;
}

body.has_infobar.transparent_header .header:not(.drop_header),
body.has_infobar.matching_header_title:not(.page-template-template-home):not(.page-template-template-stretched).header_border_disabled .header:not(.drop_header) {
    margin-top: 30px !important;
}

body.dark_transparent_header .header-infobar {
    background-color: rgba(0,0,0,0.5);
}

body.light_transparent_header .header-infobar {
    background-color: rgba(0,0,0,0.1);
}

/* Sticky Header
*****************************************************************************/

body.sticky_header #header {
    top: 0;
    left: 0;
    right: 0;
    z-index: 899;
    text-align: left;
}

body.sticky_header #header.drop_header {
    position: fixed;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    z-index: 899;
}

body.sticky_header.header_up #header.drop_header {
    opacity: 0;
    transform: translateY(-100%);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    z-index: -1;
}

body.sticky_header.header_down #header.drop_header {
    opacity: 1;
    transform: translateY(0);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Portfolio
*****************************************************************************/

body.hide_portfolio_title[class*="page-template-template-portfolio"]:not(.woocommerce) .title-container {
    display: none;
}

/*html body.matching_header_title.hide_portfolio_title[class*="page-template-template-portfolio"]:not(.woocommerce) .header:not(.sticky) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    }*/

    body.hide_portfolio_title[class*="page-template-template-portfolio"]:not(.woocommerce) .title-container {
        display: none;
    }

    body.hide_portfolio_title[class*="page-template-template-portfolio"]:not([class*="page-template-template-portfolio-no-spacing-no-text-stretched"]):not(.woocommerce) .main-content-inner {
        margin-top: 4.5em;
    }

    body.page-template-template-portfolio-3-col-no-text #portfolio .link_image,
    body.page-template-template-portfolio-4-col-no-text #portfolio .link_image {
       margin-bottom: 0;
   }

   body.page-template-template-portfolio-3-col-no-text #portfolio > li,
   body.page-template-template-portfolio-4-col-no-text #portfolio > li {
       margin-bottom: 2em;
   }

   body.portfolio_h1_left.single-portfolio .main-content h1 {
    text-align: left !important;
}

body.portfolio_h1_center.single-portfolio .main-content h1 {
    text-align: center !important;
}

body.portfolio_h1_right.single-portfolio .main-content h1 {
    text-align: right !important;
}

#portfolio .link_image {
    width: 100%;
}

.portfolio-grid li.grid-item {
    margin-bottom: 2em;
}

#portfolio .column-one-third {
    width: calc(100% / 3);
}

@media only screen and (min-width: 600px) and (max-width: 1023px) {
    #portfolio .column-one-third,
    #portfolio .column-one-fourth,
    .portfolio-grid li.grid-item {
        width: 50% !important;
    }
}

@media only screen and (max-width: 767px) {
    html body #portfolio .column-one-third,
    html body #portfolio .column-one-fourth,
    html body .portfolio-grid li.grid-item {
        width: 100% !important;
    }
}

body.matching_title_body.single-portfolio .main-content-inner {
    padding-top: 0 !important;
}

#portfolio.column-container {
    margin-left: -1em !important;
    margin-right: -1em !important;
    margin-bottom: 4em;
}

#portfolio > li {
    margin-bottom: 3em;
    padding-left: 1em !important;
    padding-right: 1em !important;
}

@media only screen and (max-width: 767px) {
    #portfolio.column-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #portfolio > li {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

[class*="page-template-template-portfolio-no-spacing"] #portfolio li.grid-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex;
}

[class*="page-template-template-portfolio-no-spacing"] #portfolio li.grid-item .portfolio {
    width: 100%;
}

[class*="page-template-template-portfolio-no-spacing"] .link_image {
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

[class*="page-template-template-portfolio-no-spacing"] .main-content #portfolio.column-container {
    width: 100%;
    margin-left: 0 !important;
    margin-bottom: 4em;
}

#portfolio.column-container.x-col-no-text-no-spacing {
    margin-bottom: 7em !important;
}

[class*="page-template-template-portfolio-no-spacing-no-text"] #portfolio > li {
    margin-bottom: 0;
}

[class*="page-template-template-portfolio-no-spacing-no-text"] #portfolio > li .link_image {
    margin-bottom: 0;
}

[class*="page-template-template-portfolio-no-spacing-no-text-stretched"] .main-content-inner h1,
[class*="page-template-template-portfolio-no-spacing-no-text-stretched"] .main-content-inner title-container {
    display: none;
}

body.contained[class*="page-template-template-portfolio-no-spacing-no-text-stretched"] .main-content-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

[class*="page-template-template-portfolio-no-spacing-no-text-stretched"] .main-content-inner {
    padding-top: 0 !important;
}

[class*="page-template-template-portfolio-no-spacing-no-text-stretched"] .main-content-inner .content-width.portfolio-outer {
    position: relative;
    width: calc(100% + 50px) !important;
    max-width: 100%;
    padding-top: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media only screen and (max-width: 767px) {
    [class*="page-template-template-portfolio-no-spacing-no-text-stretched"] .main-content-inner .content-width.portfolio-outer {
        left: -15px;
        width: calc(100% + 25px) !important;
    }
}

html body[class*="page-template-template-portfolio-no-spacing-no-text-stretched"] .main-content-inner {
    padding-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

[class*="page-template-template-portfolio-no-spacing-no-text-stretched"].stretched_title .main-content-inner {
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: inline-block;
    float: left;
}

[class*="page-template-template-portfolio-no-spacing-no-text-stretched"] #portfolio {
    margin-bottom: 0 !important;
}

[class*="page-template-template-portfolio-no-spacing-no-text-stretched"] .main-content .breadcrumbs {
    display: none;
}

[class*="page-template-template-portfolio-no-spacing-no-text-stretched"] .grid-item > div {
    width: 100.5%;
}

/* Filtering
*****************************************************************************/

.portfolio-filtering {

    position: relative;
    width: 100%;
    margin-top: -1em;
    line-height: 1.8em;
}

body.center_page_title .portfolio-filtering {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border-top: none;
    margin-top: 0;
}

/* END Stretched Title Meta Bar ------------ */

.portfolio-details .wpb_row:nth-last-child(2) {
    margin-bottom: 0;
}

#portfolio-filters {
    list-style: none;
    margin-left: 0;
    display: inline-block;
    display: inline-flex;
}

#portfolio-filters li {
    float: left;
    margin-right: 20px;
    margin-bottom: 0;
}

#portfolio-filters li:last-child {
    margin-right: 0;
}

#portfolio-filters li span {
    cursor: pointer;

}

.dark-bg #portfolio-filters li span:hover {
    color: #FFFFFF !important;
}

.dark-bg #portfolio-filters li span.active {
    color: #FFFFFF !important;
}

.title-container #portfolio-filters li span.active, .title-container #portfolio-filters li span:hover {
    opacity: 1;
}

/* Navigation
*****************************************************************************/

.jcarousel-nav.portfolio {
    top: 8px;
    background-color: transparent !important;
}

.title-container .jcarousel-nav.portfolio {
    top: 2.6em;
}

.title-container .jcarousel-nav.portfolio a:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Portfolio Details
*****************************************************************************/

body.single-portfolio .main-content .column-full-width {
    margin-bottom: 0 !important;
}

@media only screen and (min-width: 1025px) {
    .single-portfolio .column-one-third {
        padding-right: 40px !important;
    }
}

body.single-portfolio .main-content .link_image {
    margin-bottom: 3em;
}

.portfolio-cats {
    float: left;
    display: block;
    font-size: 0.9em;
    width: 100%;
    margin-bottom: 6em;
    padding-left: 2em;
    padding-bottom: 1em;
    border-left: 2px solid #ccc;
}

@media only screen and (max-width: 767px) {
    body.single-portfolio .portfolio-cats {
        margin-bottom: 4em !important;
    }
}

.portfolio-cats .title {
    float: left;
    display: inline-block;
    width: 100%;
}

.dark-bg .portfolio-cats-title {
    color: rgba(255, 255, 255, 0.5) !important;
}

.portfolio-cats a {
    display: inline;
}

.single-portfolio .main-content-inner {
    padding-bottom: 5em;
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .single-portfolio .main-content .column-one-third, .single-portfolio .main-content .column-two-third {
        width: 100% !important;
        margin-top: 2em;
    }
}

/* Carousel
*****************************************************************************/

.portfolio-related {
    clear: both;
    margin-bottom: -2em;
    margin-top: 2em;
}

.portfolio-related h2 {
    margin-bottom: 2.4rem;
}

@media only screen and (max-width: 767px) {
    .portfolio-related .jcarousel-outer {
        margin-bottom: 0;
    }
}

/* Blog */

/*@media only screen and (min-width: 1024px) {
    .single-post .main-content-inner .column-three-qtr {
        padding-right: 2em !important;
    }
    }*/

/* Blog Post
*****************************************************************************/

body[class*="page-template-template-blog"].stretched_title.matching_header_body:not(.hide_blog_title) .main-content-inner {
    padding-top: 0 !important;
}

html body[class*="page-template-template-blog-grid-no-sidebar-featured"].dark_header.solid_header .main-content .main-content-inner {
    padding-top: 4.5em !important;
}

.actual-post {
    display: block;
    float: left;
    padding-bottom: 48px;
    margin-bottom: 48px !important;
    width: 100%;
    position: relative;
}

body.page-template-template-blog-grid-no-sidebar-featured.matching_header_body.header_padding.header_border_disabled .main-content-inner {
    padding-top: 2.5em !important;
}

ul.blog-list {
    list-style: none;
    padding: 0;
    margin-left: 0;
}

ul:not(.grid) li.blog-post {
    padding: 2em 0;
    margin: 0;
}

ul:not(.grid) li.blog-post:first-child {
    padding-top: 0;
}

ul:not(.grid) li.blog-post h2 {
    margin-bottom: 0.3em;
}

ul:not(.grid) li.blog-post .blog-meta .meta-item.author {
    width: 100%;
}

ul:not(.grid) li.blog-post .grid-cat {
    margin-bottom: 0.75em;
}

.boxed .no-image {
    height: 26px;
}

.blog-post:after {
    content: "";
    width: 94px;
    height: 1px;
    position: absolute;
    bottom: -1px;
    left: 0;
}

.blog-post:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
}

.blog-post:last-child:after, .actual-post:after {
    display: none;
}

.blog-post.actual-post {
    margin-bottom: 0 !important;
    padding-bottom: 0;
    border-bottom: none;
}

body.single-post:not(.reduced_widths) .column-container.no-sidebar .column-three-qtr {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    float: none;
    display: block;
}

body.single-post .post_featured_image {
    margin-bottom: 3em;
}

body.single-post.has_thumbnail.display_thumbnail.center_page_title:not(.reduced_content_widths) .title-container h1 {
    text-align: left !important;
    padding-left: 0 !important;
}

.blog-post.actual-post .blog-content {
    float: left;
    display: block;
}

.blog-post .grid-item .link_image, body.single-portfolio .top-section .link_image {
    margin-bottom: 2.4em !important;
}

.blog-post h1 {
    margin-bottom: 0.5em;
}

.blog-post h1.quote, .blog-post h2.inner-title.quote, body.single .title-container h1.quote {
    font-style: normal;
}

.blog-post .sticky h1:before, .blog-post .sticky h2:before {
    content: '\f08d';
    font-family: 'FontAwesome';
    margin-right: 0.2em;
}

.format-link .blog-content a {
    font-size: 1.2em;
    font-weight: bold;
}

body.center_page_title p.no-posts {
    text-align: center;
}

/* Related Posts */
body.single-post #related_posts {
    display: block;
    border-top: 2px solid rgba(0,0,0,0.08);
    padding-top: 3em;
    margin-top: 1em;
}

@media only screen and (min-width: 1500px) {
    body.stretched.single-post #related_posts li.grid-item:not([class*="vc_col-sm-"]) {
        width: calc(100% / 3);
    }
}

@media only screen and (max-width: 1499px) {
    .single-post #related_posts li.grid-item:nth-child(3) {
        display: none !important;
    }
}

body:not(.stretched).single-post #related_posts li.grid-item:not([class*="vc_col-sm-"]):nth-child(3) {
    display: none !important;
}

body.single-post #related_posts h3 {
    margin-bottom: 1.5em;
}

/* Disqus Comments Plugin */
#disqus_thread {
    margin-bottom: 3em;
    padding-top: 1em;
}

/* Blog Meta
*****************************************************************************/

.blog-meta {
    margin-bottom: 0;

}

.actual-post .blog-meta {
    margin-bottom: 3.0em;
}

body.bordered .actual-post .blog-meta {
    padding-bottom: 0;
}

.blog-meta.title-block {
    margin-bottom: 24px;
    padding: 0 0 0 0;
    border-bottom: none;
    margin-top: -12px;
}

.blog-meta.title-block:after {
    height: 0;
    display: none;
}

.light-bg .blog-meta.title-block {
    margin-bottom: 0;
    padding: 14px 0 14px 0;
    border-bottom: none;
    margin-top: 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-meta .meta-item {
    display: inline-block;
    padding: 0 0 0 0;
    margin-right: 0;
}

.blog-meta .meta-item.published .meta-title:before {
    display: none;
}

@media only screen and (max-width: 767px) {
    .blog-meta .meta-item {
        line-height: 2em;
        margin-right: 0;
    }
}

.blog-meta .meta-item:last-child {
    border-right: none;
}

.blog-meta .meta-item .meta-title {
    display: inline;
    margin: 0 0 0 0;
}

.blog-meta.title-block .meta-item {
    color: #FFFFFF;
}

.blog-meta.title-block .meta-item a {
    color: #FFFFFF;
}

.blog-meta.title-block .meta-item a:hover {
    color: #FFFFFF;
    border-bottom: 1px dotted #FFFFFF;
}

.blog-meta.title-block .meta-item .meta-title:before {
    color: #FFFFFF;
}

.blog-meta .meta-item .meta-title.comments:before,
.blog-meta .meta-item .meta-title.views:before {
    font-weight: normal;
}

.blog-meta .meta-item .meta-title:before {
    content: '/';
    font-family: inherit;
    margin: 0 0.6em;
}

.dark-bg .blog-meta .meta-item .meta-title:before {
    color: rgba(255,255,255,0.6) !important;
}

.blog-meta .meta-item:first-child .meta-title:before {
    content: '' !important;
    display: none !important;
}

/* Titled Border Style Only */

body.single-post .title_bordered .blog-meta, .title_bordered .portfolio-filtering {
    line-height: 1.8em;
    position: relative;
    width: 100%;
}

body.single-post.bordered.left_page_title .main-content-inner {
    padding-top: 3em;
}

body.single-post.bordered.center_page_title .main-content-inner {
    padding-top: 4em;
}

body.single-post.bordered.left_page_title .blog-meta,
body.bordered.left_page_title .portfolio-filtering {
    padding-top: 0;
    margin-top: -2em;
}

@media only screen and (max-width: 767px) {
    body.single-post.bordered.left_page_title .blog-meta,
    body.bordered.left_page_title .portfolio-filtering {
        margin-top: -2em;
    }
}

/*body.single-post.bordered.left_page_title .blog-meta:before,
    body.bordered.left_page_title .portfolio-filtering:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1.2em;
    width: 3rem;
    height: 2px;
    background-color: #222;
    }*/

    /* Titled Border Style Only */

    body.center_page_title.single-post.bordered .standard-title-container .blog-meta,
    body.center_page_title.bordered .standard-title-container .portfolio-filtering {
        border-bottom: none;
        margin-bottom: 4rem;
        padding-bottom: 0;
        margin-left: auto;
        margin-right: auto;
        display: block;
        margin-top: -3rem;
    }

    .blog-list .blog-post:after {
        display: none;
    }

    .blog-list .blog-post:last-child {
        border-bottom: none !important;
    }

    /* Featured */

    body.page-template-template-blog-grid-no-sidebar-featured:not(.paged) .blog-list.grid li.grid-item:first-child {
        width: calc(100% / 1);
    }

    @media only screen and (min-width: 1024px) {
        body.page-template-template-blog-grid-no-sidebar-featured:not(.paged) .blog-list.grid li.grid-item:first-child .image-container {
            width: 75%;
        }
        body.page-template-template-blog-grid-no-sidebar-featured:not(.paged) .blog-list.grid li.grid-item:first-child .blog-content {
            width: 50%;
            padding-left: 40px;
            padding-top: 2em;
        }
    }

    @media only screen and (max-width: 1023px) {
        body.page-template-template-blog-grid-no-sidebar-featured:not(.paged) .blog-list.grid li.grid-item:first-child .post {
            display: inline-block !important;
        }
        body.page-template-template-blog-grid-no-sidebar-featured:not(.paged) .blog-list.grid li.grid-item:first-child .image-container {
            width: 100%;
        }
        body.page-template-template-blog-grid-no-sidebar-featured:not(.paged) .blog-list.grid li.grid-item:first-child .blog-content {
            width: 100%;
            padding-left: 0;
        }
    }

    body.page-template-template-blog-grid-no-sidebar-featured:not(.paged) .blog-list.grid li.grid-item:first-child .inner-title {
        flex-grow: 0;
        font-size: 2.2em;
        line-height: 1.2em;
    }

    @media only screen and (min-width: 1500px) {
        body.stretched.page-template-template-blog-grid-no-sidebar-featured:not(.paged) .blog-list.grid li.grid-item:first-child .inner-title {
            font-size: 2.6em;
        }
    }

    body.page-template-template-blog-grid-no-sidebar-featured:not(.paged) .blog-list.grid li.grid-item:first-child .post {
        display: flex;
        flex-direction: row;
    }

    body.page-template-template-blog-grid-no-sidebar-featured .blog-list.grid li.grid-item .excerpt {
        display: none;
    }

    body.page-template-template-blog-grid-no-sidebar-featured:not(.paged) .blog-list.grid li.grid-item h2 {
        margin-bottom: 0.25em;
    }

    body.page-template-template-blog-grid-no-sidebar-featured:not(.paged) .blog-list.grid li.grid-item:first-child .excerpt {
        display: inline-block;
    }

/* Stretched Image Title
*****************************************************************************/

body.stretched_title.single.has_thumbnail.display_thumbnail.stretched_image_title .title-container,
body.stretched_title.single.has_thumbnail.display_thumbnail.stretched_image_title .title-container {
    padding-top: 40vh;
    padding-bottom: 4em;
}

body.stretched_title.single-portfolio.has_thumbnail.display_thumbnail.stretched_image_title .title-container {
    padding-top: 55vh;
}

@media only screen and (max-width: 768px) {
    body.stretched_title.single.has_thumbnail.display_thumbnail.stretched_image_title .title-container {
        padding-bottom: 2em;
    }
}

@media only screen and (min-width: 1025px) {
    body.stretched_title.single.has_thumbnail.display_thumbnail.stretched_image_title:not(.center_page_title) .title-container .content-width {
        padding-right: 16%;
    }
}

@media only screen and (min-width: 1025px) {
    body.stretched_title.single.has_thumbnail.display_thumbnail.stretched_image_title.center_page_title.erduced_content_widths .title-container .content-width {
        padding-left: 6%;
        padding-right: 6%;
    }
}

body.stretched_title.single.has_thumbnail.display_thumbnail.stretched_image_title .title-container * {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 0 15px rgba( 0, 0, 0, 0.1 );
}

body.stretched_title.single.has_thumbnail.display_thumbnail.stretched_image_title .title-container *:before {
    color: rgba(255,255,255,1);
    opacity: 0.5;
}

body.stretched_title.single.has_thumbnail.display_thumbnail.stretched_image_title .title-container a {
    color: #fff;
}

body.stretched_title.single.has_thumbnail.display_thumbnail.stretched_image_title .title-container a:hover {
    opacity: 0.8;
}

body.stretched_title.single.has_thumbnail.display_thumbnail.stretched_image_title .title-container .breadcrumbs a {
    color: rgba(255,255,255,0.85);
}

body.stretched_title.single.has_thumbnail.display_thumbnail.stretched_image_title .title-container .breadcrumbs a:hover {
    color: rgba(255,255,255,1);
}

/* Blog Content
*****************************************************************************/

.blog-post .blog-content {
    width: 100%;
    clear: both;
    display: inline-block;
}

.blog-post .blog-content a.button {
    margin-bottom: 0;
    margin-top: 5px;
}

video, audio {
    float: left;
    max-width: 100%;
}

.blog-post a.read-more {
    margin-top: 2.0em;
    clear: both;
    display: inline-block;
}

.blog-post .blog-content .size-large, .blog-post .blog-content .size-medium, .blog-post .blog-content .size-small, .blog-post .blog-content .size-full {
    margin-top: 6px;
}

/*body.hide_blog_title[class*="page-template-template-blog"] .header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    }*/

/* External Video
----------------------------------- */

.external-video-embed-wrapper {
    margin-bottom: 30px;
    display: block;
    width: 100%;
}

.external-video-embed {
    padding-top: 56%;
    position: relative;
}

.external-video-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    margin: 0;
    top: 0;
    left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Self-Hosted Video
----------------------------------- */

.self-hosted-video-embed {
    margin-top: 6px;
    display: inline-block;
    max-width: 100%;
}

/* Self-Hosted Audio
----------------------------------- */

.self-hosted-audio-embed {
    margin-bottom: 30px !important;
    padding-top: 6px;
}

/* Media Element Media Player
----------------------------------- */

.mejs-container {
    margin-bottom: 30px !important;
}

.mejs-container, .mejs-embed, .mejs-embed body {
    background: rgba(0, 0, 0, 0.2) !important;
}

.mejs-container:only-child {
    margin-bottom: 0 !important;
}

.mejs-time-total {
    background: rgba(255, 255, 255, 0.1) !important;
}

.mejs-time-loaded {
    background: rgba(255, 255, 255, 0.2) !important;
}

.mejs-controls {
    overflow: hidden;
}

.mejs-controls button {
    outline: none !important;
}

.mejs-overlay-button {
    background: none !important;
}

.mejs-overlay-play {
    display: table;
    width: 100% !important;
    height: 100% !important;
}

.mejs-overlay-play:after {
    display: table-cell;
    vertical-align: middle;
    font-family: 'FontAwesome';
    content: '\f144';
    font-size: 68px;
    text-align: center;
}

@media only screen and (max-width: 767px) {
    .mejs-overlay-play {
        display: none !important;
    }
}

/* Grid
*****************************************************************************/

ul.grid {
    list-style: none;
    margin-bottom: 2em !important;
    display: flex;
    flex-wrap: wrap;
}

@media only screen and (min-width: 768px) {
    ul.grid {
        margin-left: -1em;
        margin-right: -1em;
    }
}

@media only screen and (max-width: 767px) {
    ul.grid {
        margin-left: 0;
        margin-right: 0;
    }
}

ul.grid li.grid-item {
    display: inline-flex;
    border: none !important;
    margin-bottom: 2.5em;
    padding-bottom: 0;
}

ul.grid.boxed li.grid-item {
    margin-bottom: 3em;
}

@media only screen and (min-width: 768px) {
    ul.grid li.grid-item {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }
}

@media only screen and (max-width: 767px) {
    ul.grid li.grid-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

ul.grid.masonry {
	margin-left: 0 !important;
    margin-right: 0 !important;
}

ul.grid.masonry li.grid-item.masonry-item {
	padding-left: 0 !important;
    padding-right: 0 !important;
}

ul.grid li.grid-item:not([class*="vc_col-sm-"]) {
    width: calc(100% / 2);
}

@media only screen and (max-width: 1023px) {
    ul.grid li.grid-item.vc_col-sm-4 {
        width: calc(100% / 2);
    }
    ul.grid li.grid-item.vc_col-sm-4:nth-child(1) {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    html body .main-content ul.grid li.grid-item {
        width: 100%;
    }
}

/* Masonry Blog */
@media only screen and (min-width: 768px) {
    ul.grid.masonry li.grid-item {
        margin: 0 !important;
        margin-bottom: 2em !important;
    }
    body[class*="page-template-template-blog"] ul.grid.masonry li.grid-item {
        width: calc(100% / 2 - 15px);
    }
    body[class*="page-template-template-blog"][class*="no-sidebar"] ul.grid.masonry li.grid-item {
        width: calc(100% / 3 - 20px) !important;
    }
}

body[class*="page-template-template-blog"] ul.grid li.grid-item {
    width: calc(100% / 2);
}

body[class*="no-sidebar"] ul.grid li.grid-item {
    width: calc(100% / 3);
}

@media only screen and (min-width: 1500px) {
    body[class*="no-sidebar"].wide:not(.page-template page-template-template-blog-grid-no-sidebar-featured) ul.grid li.grid-item {
        width: calc(100% / 4);
    }
}

ul.grid .blog-post .post {
    width: 100%;
    position: relative;
}

/* Grid Category */

.grid-item .grid-cat, .jcarousel-item .grid-cat {
    line-height: 1;
    top: 0;
    left: 0;
}

.boxed .grid-item .grid-cat a, .boxed .jcarousel-item .grid-cat a {
    line-height: 1.1em;
}
ul.grid .blog-meta {
    margin-bottom: 1.5em;
    margin-top: 0.5em;
    order: 2;
}

@media only screen and (max-width: 330px) {
    .blog-meta .meta-item {
        font-size: 0.86em;
    }
}

.blog-list.grid .blog-post a.read-more {
    margin-top: 1em;
    display: none;
}

.blog-list.grid .blog-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1000;
    /* vertical */
    position: relative;

}

.blog-list.grid.boxed .blog-content {
    position: initial;
}

.blog-list.grid .link_image, .blog-grid .link_image {
    margin-bottom: 2rem !important;
}

.blog-list.grid.boxed .blog-content, .blog-carousel.boxed .blog-content {
    padding: 0 1.8em 0.5em 1.8em;
}

@media only screen and (max-width: 767px) {
    .blog-list.grid.boxed .blog-content, .blog-carousel.boxed .blog-content {
        padding: 0.5em 1.2em 0em 1.2em;
    }
}

.blog-list.grid .blog-content p {
    padding: 0 !important;
    margin-bottom: 1em !important;
    order: 1;

}

.dark-bg .grid-cat a {
    color: rgba(255,255,255,0.75);
}

.dark-bg .grid-cat a:hover {
    color: #fff !important;
}

.blog-carousel .blog-content {
    padding-bottom: 0 !important;
    display: inline-block;
}

.blog-carousel.boxed .blog-content {
    padding-bottom: 2.2em !important;
}

.blog-list.grid.boxed .link_image,
.blog-list.grid.boxed .external-video-embed-wrapper {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    top: 0;
    left: 0;
    width: 100%;
    max-width: inherit;
}

.blog-list.grid.boxed .link_image img {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    margin-bottom: 0;
}

.blog-list.grid .blog-meta .meta-item.cats {
    display: none;
}

.blog-list.grid .blog-meta .meta-item.comments {
    padding-right: 0;
    margin-right: 0;
}

.blog-list.grid .blog-meta .meta-item.comments, .blog-list.grid .blog-meta .meta-item.views {
    font-size: 0.86em;
    margin-top: 1.25rem;
}

.blog-list.grid .blog-meta .meta-item.views {
    position: absolute;
    left: 0;
    display: none;
}

.blog-list.grid .blog-meta .meta-item.published {
    clear: both;
    font-size: 0.8em;
    line-height: 1.1em;
}

.blog-list.grid .blog-meta .meta-item.comments {
    position: absolute;
    right: 0;
    padding-top: 0;
}

.blog-list.grid .blog-meta .meta-item .meta-title:before {
    margin: 0 0.2em 0 0;
}

.blog-list.grid.boxed .blog-meta .meta-item.views {
    left: 1.4em;
}

.blog-list.grid.boxed .blog-meta .meta-item.comments {
    right: 1.4em;
}

.blog-list.grid .blog-meta .meta-item {
    float: left;
}

.blog-list.grid .blog-meta .meta-item {
    float: left;
}

.blog-list.grid .blog-meta .meta-item.views {
    clear: both;
    opacity: 0.7;
}

.blog-list.grid .blog-meta .meta-item .meta-title.views:before {
    display: none;
}

/* Boxed */

@media only screen and (max-width: 1024px) {
    .blog-list.grid.boxed .blog-post {
        margin-bottom: 2em !important;
    }
}

.blog-list.grid.boxed .blog-post .post {
    display: inline-flex;
    flex-shrink: 0;
    flex-direction: column;
    flex-grow: 10;
    padding: 0 0 0 0;
    position: relative;
    overflow: hidden;

}

.jcarousel-item .date:before, .grid-item .date:before, .jcarousel-item .categories:before, .grid-item .categories:before {
    font-family: 'FontAwesome';
    display: none;
    margin-right: 0.4em;
    padding-left: 1px;
    font-size: 1em;
    position: relative;
    float: left;
}

.jcarousel-item .date:before, .grid-item .date:before {
    content: '\f017';
}

.jcarousel-item .categories:before, .grid-item .categories:before {
    content: '\f114';
}

/* Blog Navigation
*****************************************************************************/

.blog-nav {
    display: inline-block;
    float: left;
    margin-top: 1em;
    margin-bottom: 4em;
}

.blog-nav a.prev-posts {
    float: left;
    margin-right: 10px;
    padding-right: 10px;
}

.blog-nav .old-and-new {
    display: inline;
}

.light-bg .blog-nav .old-and-new a.prev-posts {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.dark-bg .blog-nav .old-and-new a.prev-posts {
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.blog-nav a.next-posts {
    float: left;
}

.blog-nav a.prev-posts:before, .blog-nav a.next-posts:after {
    font-family: 'FontAwesome';
    font-size: 10px;
}

.light-bg .blog-nav a:hover.back:before, .light-bg .blog-nav > a:hover.next:after {

}

.dark-bg .blog-nav a:hover.back:before, .dark-bg .blog-nav a:hover.next:after {
    color: #FFFFFF !important;

}

.blog-nav a.prev-posts:before {
    content: '\f053';
    padding-right: 6px;
}

.blog-nav a.next-posts:after {
    font-family: 'FontAwesome';
    content: '\f054';
    padding-left: 6px;
}

/* Blog Comments
*****************************************************************************/

body:not(.single-product) #comments {
    display: inline-block;
    width: 100%;
    margin-bottom: 5em;
    border-top: 2px solid rgba(0,0,0,0.08);
    padding-top: 3em;
    position: relative;
    z-index: 1;
    border-radius: 4px;
}

#comments.empty {
    display: none !important;
}

#comments input[type="text"] {
    display: block;
}

#comments input[type="submit"] {
    margin-bottom: 0;
}

#comments .form-submit {
    margin-top: 1em;
}

body.material_form_inputs #comments .form-submit {
    margin-top: 3em;
}

#comments h3 {
    display: inline-block;
    margin-top: 0.5em;
    margin-bottom: 1.5em;
}

#comments h3,
body.single-post #related_posts h3,
html body.single #comments h2 {
    font-size: 1.3em;
}

#comments ul {
    list-style: none !important;
    padding-bottom: 0;
    list-style: none;
    margin: 0 0 0 0;
}

#comments li {
    padding-left: 0;
}

#comments .comment-body {
    margin-bottom: 2em;
}

#comments p {
    margin-bottom: 1em;
}

#comments .comment-form-comment {
    margin-bottom: 0;
    position: relative;
}

#comments .avatar {
    float: left;
    margin-right: 9px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    margin-top: 0.4em;
    border: 2px solid rgba(0,0,0,0.1);
    padding: 2px;
}

#comments p {
    clear: both;
}

#comments .fn {
    font-style: normal;
    font-weight: 600;
}

#comments .comment-meta {
    line-height: 18px;
    font-size: 11px;
    margin-bottom: 10px;
}

.light-bg #comments .comment-meta a:first-child {
    color: #AAAAAA;
}

.dark-bg #comments .comment-meta a:first-child {
    color: rgba(255, 255, 255, 0.3) !important;
}

#comments .comments-closed {
    padding: 14px 38px 14px 12px;
    display: block;
    width: 100%;
    clear: both;
    float: left;
    margin: 14px 0 20px 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    position: relative;
    font-weight: 500;
    line-height: 18px;
}

.light-bg #comments .comments-closed {
    background-color: #E2E2E2;
}

.dark-bg #comments .comments-closed {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

#comments .comment-reply-title a {
    float: none;
    display: inline;
}

#comments a#cancel-comment-reply-link {
    font-size: 11px;
    float: right;
}

#comments .children {
    margin-left: 30px;
}

#comments .children:last-child {
    padding-bottom: 0 !important;
}

#comments .pingback {
    margin-bottom: 1.6em;
}

#comments h2 {
    margin-bottom: 1.5em;
}

/* Blog Comment Form
*****************************************************************************/

#comments #respond {
    display: block;
    margin-bottom: 25px;
}

.comment-form input[type="submit"] {
    margin-right: 0;
}

/* Blog Post Tags
*****************************************************************************/

.post-tags {
    display: block;
    float: left;
    clear: both;
    margin-bottom: 2.4em;
}

.post-tags-title {
    float: left;
    line-height: inherit;
    margin: 4px 0.8em 0 0 !important;
}

a.post-tag {
    display: inline;
    margin: 4px 0.6em 0 0;
    float: left;
}

/* Blog Post Pagination
*****************************************************************************/

.blog-pagination {
    margin-top: 2em;
    display: inline-block;
    width: 100%;
    font-size: 1.2em;
    font-weight: bold;
}

.blog-pagination .page {
    margin-right: 0.6em;
    float: left;
}

/* Blog Post Sharing
*****************************************************************************/

ul.post-sharing {
    display: flex;
    float: left;
    clear: both;
    list-style: none;
    margin: 0;
    margin-top: 1em;
    margin-bottom: 1em;
    font-size: 1.2em;
    width: 100%;
}

.post-sharing li {
    position: relative;
    float: left;
    margin-right: 1em;
    margin-left: 0;
    margin-bottom: 0 !important;
    font-size: 1.2em;
    line-height: inherit !important;
}

.dark-bg .post-sharing a i {
    color: rgba(255, 255, 255, 0.4) !important;
}

.dark-bg .post-sharing a:hover i {
    color: #FFFFFF !important;
}

/* Blog Sidebar
*****************************************************************************/

.main-content .widget {
    width: 100%;
    display: block;
    float: left;
}

.sidebar {
    float: right;
    position: relative;
    /*overflow: hidden;*/
}

@media only screen and (min-width: 1024px) {
    body.gradient-sidebar .main-content .main-column {
        width: 72% !important;
    }
    body.gradient-sidebar .main-content .nosidebar .main-column {
        width: 100% !important;
    }
    body.gradient-sidebar .sidebar .gradient-divider {
        opacity: 0.3;
        position: absolute;
        top: -4em;
        left: 1em;
        bottom: -8em;
    }
    body.gradient-sidebar .sidebar .gradient-divider:before,
    body.gradient-sidebar .sidebar .gradient-divider:after {
        content: '';
        position: absolute;
        left: -2em;
        width: 2em;
    }
    body.gradient-sidebar .sidebar .gradient-divider:before {
        top: 0;
        height: 50%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 70%, transparent 100%);
    }
    body.gradient-sidebar .sidebar .gradient-divider:after {
        top: 50%;
        height: 50%;
        background: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.12) 70%, rgba(0, 0, 0, 0.12) 100%);
    }
    body.gradient-sidebar .sidebar .gradient-divider .inner {
        position: absolute;
        top: 0;
        left: -2em;
        height: 100%;
        width: 2em;
        z-index: 2;
        background: linear-gradient(to left, rgba(0,0,0,1) 0%,rgb(255, 255, 255) 1%,rgba(0,0,0,0) 100%);
    }
}

.sidebar input,
.sidebar textarea,
.sidebar select {
    line-height: 1em;
}

/* One Third Sidebar with Border */
/*@media only screen and (min-width: 1024px) {
    body:not(.page-template-template-page-left-sidebar) .sidebar {
        padding-left: 2.5em !important;
        border-left: 1px solid rgba(0,0,0,0.08);
        margin-left: 1.5em;
        width: calc(100% / 3 - 1.5em);
    }
    body.page-template-template-page-left-sidebar .sidebar {
        padding-right: 2.5em !important;
        border-right: 1px solid rgba(0,0,0,0.08);
        margin-right: 1.5em;
        width: calc(100% / 3 - 1.5em);
    }
    }*/

    .sidebar .widget {
        margin-bottom: 3.5em;
    /*padding-top: 3em;
    border-top: 2px solid rgba(0,0,0,0.08);*/
}

/*.sidebar .widget:first-child {
    border-top: none;
    padding-top: 0;
    }*/

    .sidebar.left {
        float: left;
    }

    .main-column {

        padding-bottom: 1em;
    }

    .main-column.right {
        float: right;
        text-align: left;
    }

    .sidebar ul {
        padding-bottom: 0 !important;
        margin-bottom: 0;
    }

    .sidebar .widget form {
        clear: both;
    }

    .sidebar .widget h3.sub-title {
        margin-bottom: 2px;
        line-height: 18px;
        font-size: 13px;
    }

    .dark-bg .sidebar .widget h3.sub-title, .dark-bg .sidebar .widget h3.sub-title a {
        color: rgba(255, 255, 255, 0.7) !important;
    }

    .dark-bg .sidebar .widget h3.sub-title a:hover {
        color: #FFFFFF !important;
    }

    .sidebar .widget li:last-child {
        margin-bottom: 0;
    }

    .dark-bg .sidebar span {
        color: rgba(255, 255, 255, 0.4) !important;
    }

/* Quote Format
*****************************************************************************/

.blog-post.actual-post .format-quote blockquote:first-child {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    font-size: 2em;
}

.blog-post.actual-post cite {
    opacity: 0.7;
}

/* Search Results
*****************************************************************************/

body.search ol {
    list-style-type: none;
    margin: 0 0 0 0;
}

@media only screen and (min-width: 1024px) {
    body.search ol {
        padding: 0 16%;
    }
}

body.search ol > li:last-child {
    margin-bottom: 5em;
    border-bottom: none !important;
}

.search-results li.search-result {
    padding: 0 0 2.5em 0;
    margin-bottom: 2.5em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.search-results .search-result h3 {
    margin-bottom: 0em !important;
    order: 1;
}

.search-results .search-result .author {
    margin: 1em 0 0 0;
    order: 5;
    font-size: 0.8em;
    opacity: 0.5;
    text-align: right;
}

.search-results .search-result .type {
    margin: 0 0 1.5em 0;
    border-radius: 3px;
    font-size: 0.8em;
    line-height: 1 !important;
    opacity: 0.7;
    order: 0;
}

.search-results .search-result a.url_link {
    margin: 0.5em 0 1em 0;
    display: block;
    font-size: 0.8em;
    line-height: 1.5em;
    order: 2;
}

.search-results .search-result a.url_link:last-child {
    margin-bottom: 0;
}

.search-results li.search-result p {
    margin: 1em 0 0 0;
}

.search-results .blog-meta {
    margin: 0;
    order: 4;
}

.search-results .blog-meta:after {
    content: "";
    display: none;
}

.search-results .search-result-text {
    width: 100%;
    display: block;
    order: 3;
}

.search-results .meta-title.cats {
    display: none;
}

/* Contact Form
*****************************************************************************/

html body .contactform {
    display: inline-block;
    width: 100%;
}

.contactform .column-full-width, .contactform .column-one-half, .contactform .column-one-third, .contactform .column-one-fourth, .contactform .column-one-fifth {
    position: relative;
}

.contactform input {
    width: 100%;
    float: left;
    margin-bottom: 1em;

}

.contactform .holder {
    margin-left: -0.5em;
    margin-right: -0.5em;
    display: inline-block;
}

.contactform .column-full-width, .contactform .column-one-half, .contactform .column-one-third, .contactform .column-one-fourth, .contactform .column-one-fifth {
    position: relative;
    padding-left: 0.5em !important;
    padding-right: 0.5em !important;
}

.material_form_inputs .contactform input {
    margin-bottom: 1em;
}

body.material_form_inputs .contactform .holder {
    margin-left: -1em;
    margin-right: -1em;
}

body.material_form_inputs .contactform .column-full-width, body.material_form_inputs .contactform .column-one-half, body.material_form_inputs .contactform .column-one-third, body.material_form_inputs .contactform .column-one-fourth, body.material_form_inputs .contactform .column-one-fifth {
    padding-left: 1em !important;
    padding-right: 1em !important;
}

body.material_form_inputs .contactform input[type="submit"] {
    margin-top: 1.5em !important;
}

.contactform input:nth-child(3n+3) {
    margin-right: 0;
}

.contactform input[type="submit"], .contactform button.button {
    margin-right: 0 !important;
    margin-bottom: 0;
    margin-top: 0.75em;
}

.contactform label.error {
    position: absolute;
    right: 30px;
    top: 0px;
    font-size: 0.94em;
    line-height: 1;
    height: calc(100% - 1em);
    display: flex;
    align-content: center;
    align-items: center;
}

.contactform label.error[for="message_text"] {
    top: 1rem;
    display: inline-block;
}

.material_form_inputs .contactform label.error {
    height: calc(100% - 23px);
    right: 15px;
}

.standard-form-inputs .contactform label.error {
    height: calc(100% - 14px);
}

.contactform .alert {
    display: none;
}

.contactform .alert i {
    margin-right: 8px;
}

/* Footer
*****************************************************************************/

.footer-container {
    width: 100%;
}

.footer-shortcode {
    margin-top: 0;
}

@media only screen and (max-width: 1024px) {
    body.fixed_footer .main-content {
        margin-bottom: 0 !important;
    }
}

@media only screen and (min-width: 1025px) {
    body.fixed_footer .footer-shortcode {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }
}

.footer-shortcode .vc_separator {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@media only screen and (max-width: 1279px) {
    .footer [class*="column-one"]:empty {
        display: none;
    }
}

.footer {
    padding: 5rem 0 0 0;
    float: left;
    display: table;
    width: 100%;
    position: relative;
}

.footer [class*="column-one"] {
    flex-grow: 1;
}

.column-container [class*="column"] .wp-caption {
    max-width: 100% !important;
}

.footer.dark {
    color: rgba(255, 255, 255, 0.6);
    background-color: rgba(0, 0, 0, 0.20);
}

.footer.white {
    background-color: #FFFFFF;
    background-image: none;
}

.footer.light .footer-lower-container.solid, .footer.white .footer-lower-container.solid {
    background-color: rgba(0, 0, 0, 0.03);
}

.footer.light {
    background-color: #F2F2F2;
    background-image: none;
}

.footer.light .footer-lower-container a {
    opacity: 0.65 !important;
}

.footer.light .footer-lower-container a:hover {
    opacity: 1 !important;
}

.footer .logo {
    margin-bottom: 15px;
    max-width: 150px;
}

.footer h3 {
    margin-bottom: 1.0em;
}

@media only screen and (max-width: 767px) {
    .footer h3 {
        margin-bottom: 1.4em;
    }
}

.footer.dark h3 {
    color: #FFFFFF;
}

.footer p {
    margin-bottom: 1.1em;
    line-height: 1.8em;
}

.footer p:last-child {
    margin-bottom: 0 !important;
}

.footer.dark a:hover {
    color: #FFFFFF;
}

.footer .column-container {
    display: flex;
    flex-wrap: nowrap;
    min-width: 100%;
    padding-bottom: 3.0rem;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .footer [class*="column-one"] {
        width: 50% !important;
    }
}

@media only screen and (max-width: 1023px) {
    .footer .column-container {
        flex-wrap: wrap;
    }
}

.footer-lower-container {
    clear: both;
    font-size: 1em;
    display: block;
    width: 100%;
    float: left;
}

.footer.light .footer-lower a, .footer.light .footer-lower-inner a, .footer.white .footer-lower a, .footer.white .footer-lower-inner a {
    opacity: 0.8;
}

.footer.light .footer-lower a:hover, .footer.light .footer-lower-inner a:hover, .footer.white .footer-lower a:hover, .footer.white .footer-lower-inner a:hover {
    opacity: 1;
}

.footer.dark .footer-lower-container.solid {
    background-color: rgba(0, 0, 0, 0.3);
}

.footer-lower-inner {
    padding: 2.2em 0 2.1em 0;
    display: table;
    text-align: left;
    line-height: 1.4em;
    position: relative;
    font-size: 0.94em;
    width: 100%;
}

.footer-lower-left {
    float: left;
}

.footer-lower-right {
    float: right;
    white-space: nowrap;
}

@media only screen and (max-width: 1023px) {
    .footer-lower-left, .footer-lower-right {
        width: 100%;
        text-align: center;
    }
    .footer-lower-right {
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        font-size: 0.9em;
        opacity: 0.8;
    }
}

.footer.dark .footer-lower-inner.trans:before {
    content: '';
    height: 2px;
    left: 0;
    right: 0;
    position: absolute;
    top: 0;
    background: rgba(255, 255, 255, 0.1);
}

.footer.light .footer-lower-inner.trans:before, .footer.white .footer-lower-inner.trans:before {
    content: '';
    height: 2px;
    left: 0;
    right: 0;
    position: absolute;
    top: 0;
    background: rgba(0, 0, 0, 0.1);
}

.footer.light .footer-lower-inner.trans:before, .footer.white .footer-lower-inner.trans:before {
    background: rgba(0, 0, 0, 0.06);
}

.footer-lower li {
    float: left;
    margin-right: 25px;
}

.footer.dark .footer-lower-inner a {
    color: rgba(255, 255, 255, 0.6);
}

.footer.dark .footer-lower li a:hover, .footer.dark .footer-lower-inner a:hover {
    color: #FFFFFF;
}

.footer-lower-inner {
    float: right;
}

.footer.dark .footer-lower-inner {
    color: rgba(255, 255, 255, 0.6);
}

.footer .footer-lower-inner {
    color: rgba(0, 0, 0, 0.6);
}

@media only screen and (max-width: 1023px) {
    .footer-lower-inner {
        display: block;
        float: left;
        width: 100%;
        padding: 2em 0 1.5em 0;
        text-align:
    }
}

.footer.no-widgets {
    padding-top: 0 !important;
}

.footer-lower-container.no-widgets {
    border-top: none !important;
}

/* Footer Lists (Remove formatting for easy menus) */
html body .footer-shortcode ul,
html body .footer ul {
    list-style: none;
    margin-left: 0;
}

html body .footer-shortcode li,
html body .footer li {
    padding-left: 0;
    line-height: 1.5em;
    margin-bottom: 1em;
}

/* Footer Infobar
----------------------------------- */

.footer-infobar {
    clear: both;
    width: 100%;
    font-size: 1.3em;
    text-align: left;
    line-height: 1.4em;
    padding: 26px 0 26px 0;
    margin: 0;
    position: relative;
    top: 0;
    z-index: 1;
}

.footer-infobar a {
    border-bottom: 1px dotted;
}

.footer-infobar.accent a, .footer-infobar.accent a:hover, .footer-infobar.main a, .footer-infobar.main a:hover {
    color: inherit !important;
    border-bottom: 1px dotted;
}

.footer-infobar.accent, .footer-infobar.main {
    color: #FFFFFF;
}

.light-bg .footer-infobar.alternate {
    background-color: #E7E7E7;
}

.light-bg.wh .footer-infobar.alternate {
    background-color: #E8E8E8;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dark-bg .footer-infobar.alternate {
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
}

.light-bg .footer-infobar:after {
    border-color: #F7F7F7 transparent transparent transparent;
}

.light-bg.wh .footer-infobar:after {
    border-color: #FFFFFF transparent transparent transparent;
}

/* Basix Widgets

/* Featured Portfolio Item
----------------------------------- */

.portfolio-featured-widget h3 {
    font-size: 1.1em !important;
    display: inline-block;
    width: 100%;
    margin-bottom: 0 !important;
}

.portfolio-featured-widget .link_image {
    margin-bottom: 16px !important;
}

.portfolio-featured-widget .categories {
    margin-top: 0.6em;
    font-size: 0.85em;
    line-height: 1em;
    padding-bottom: 4px;
}

.portfolio-featured-widget .categories .category {
    display: inline;
    margin: 0;
}

.portfolio-featured-widget .categories .category:after {
    content: ', ';
}

.portfolio-featured-widget .categories .category:last-child:after {
    content: '';
    display: none;
}

.main-content .light-bg .portfolio-featured-widget .categories .category, .footer.light .portfolio-featured-widget .categories .category, .footer.white .portfolio-featured-widget .categories .category {
    color: #9C9C9C;
}

.main-content .dark-bg .portfolio-featured-widget .categories .category, .footer.dark .portfolio-featured-widget .categories .category {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Twitter
----------------------------------- */

.widget_basix_twitter_widget .twitter-feed {
    width: 100%;
    float: left;
    list-style: none;
}

.widget_basix_twitter_widget p {
    margin-bottom: 0;
}

.widget_basix_twitter_widget .twitter-feed > li {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.footer .widget_basix_twitter_widget .twitter-feed li {
    margin-bottom: 2em;
}

.widget_basix_twitter_widget .twitter-feed li:last-child {
    margin-bottom: 0;
}

.twitter-pic {
    float: left;
    width: 33px;
    height: 33px;
    margin-top: 4px;
    position: relative;
}

.twitter-pic img {
    width: 33px;
    height: 33px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.tweet-time a {
    clear: both;
    line-height: 1;
}

.footer.dark .tweet-time a, .darg-bg .main-content .tweet-time a {
    color: rgba(255, 255, 255, 0.4) !important;
}

.footer.dark .tweet-time a:hover, .darg-bg .main-content .tweet-time a:hover {
    color: rgba(255, 255, 255, 0.5) !important;
}

.footer.white .tweet-time a, .footer.light .tweet-time a, .light-bg .main-content .tweet-time a {
    color: inherit !important;
}

.footer.white .tweet-time a:hover, .footer.light .tweet-time a:hover, .light-bg .main-content .tweet-time a:hover {
    color: inherit !important;
}

/* Portfolio
----------------------------------- */

.portfolio-widget-container {
    overflow: hidden;
    width: auto;
    margin-left: -5px;
    margin-right: -5px;
    padding-top: 4px;
}

.portfolio-widget-item {
    width: 25%;
    padding: 0 5px 10px 5px;
    float: left;
}

.portfolio-widget-item .link_image {
    margin-bottom: 0 !important;
}

@media only screen and (max-width: 1024px) {
    .portfolio-widget-item {
        width: calc(100% / 3) !important;
    }
}

.portfolio-widget-item a.link_image:after {
    font-size: 14px;
}

/* Newsletter
----------------------------------- */

.widget_basix_newsletter_widget .container {
    position: relative;
    margin: 4px 0 6px 0;
    float: left;
    width: 100%;
}

.widget_basix_newsletter_widget .textbox {
    font-size: 1em;
    margin: 0 !important;
    width: 100%;
    float: left;
}

.widget_basix_newsletter_widget .text p {
    margin-bottom: 0;
    line-height: 1.5em;
}

.widget_basix_newsletter_widget label.error, .widget_basix_newsletter_widget .ajax-output {
    margin-top: 1em;
    margin-bottom: 0.4em;
    display: inline-block;
    width: 100%;
}

.widget_basix_newsletter_widget label.error:empty, .widget_basix_newsletter_widget .ajax-output:empty {
    display: none;
}

.widget_basix_newsletter_widget .text {
    font-size: 0.89em;
    margin-top: 0.65em;
    display: inline-block;
    padding-right: 1em;
}

.footer.dark .widget_basix_newsletter_widget .text {
    opacity: 0.7;
}

html body .widget_basix_newsletter_widget button[type="submit"] {
    width: auto;
    border: 0;
    color: inherit !important;
    font-size: 0.94em;
    background: none !important;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.5 !important;
    padding: 0 1.2em !important;
    height: calc(100%);
    margin: 0 !important;
    line-height: 0;
    cursor: pointer;
    border-radius: 0 3px 3px 0 !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    text-transform: none;
    letter-spacing: inherit;
}

html body .widget_basix_newsletter_widget button[type="submit"]:hover {
    box-shadow: none !important;
    opacity: 1 !important;
}

html body .widget_basix_newsletter_widget button[type="submit"] i {
    margin-right: 0;
}

html body .widget_basix_newsletter_widget button[type="submit"]:hover, html body .widget_basix_newsletter_widget button[type="submit"]:focus {
    opacity: 1;
}

html body .footer.dark .widget_basix_newsletter_widget button[type="submit"]:hover {
    color: #FFFFFF !important;
}

.widget_basix_newsletter_widget input, .widget_basix_newsletter_widget input:focus {
    outline: 0;
}

body.material_form_inputs .widget_basix_newsletter_widget input {
    padding-top: 0 !important;
}

body.standard-form-inputs .footer.dark .widget_basix_newsletter_widget input, body.standard-form-inputs .footer.dark .widget_basix_newsletter_widget input:focus {
    background-color: rgba(255, 255, 255, 1);
    width: 98%;
    border: 0 !important;
}

.footer.dark .widget_basix_newsletter_widget input:focus {
    border-color: rgba(255, 255, 255, 1) !important;
}

.footer.dark label.error {
    color: #fff;
}

.footer.dark .widget_basix_newsletter_widget button[type="submit"] {
    border: none !important;
}

/* Social Icons
----------------------------------- */

.social-icons i {
    font-size: 1.4em;
}

@media only screen and (max-width: 767px) {
    .social-icons {
        float: none !important;
    }
}

@media only screen and (max-width: 1024px) {
    .big_icons .social-icons {
        justify-content: flex-start;
    }
}

ul.social-icons {
    margin-left: 0;
}

.footer.light .social-icons i, .footer.white .social-icons i {
    opacity: 0.3;
}

.footer.light .social-icons i:hover, .footer.white .social-icons i:hover {
    opacity: 1;
}

.big_icons .social-icons li {
    border-radius: 50%;
}

.big_icons .social-icons i {
    font-size: 1.2em;
    width: 100%;
    text-align: center;
}

.big_icons .social-icons li {
    margin-right: 0.5em;
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
    background-color: rgba(0,0,0,0.05);
}

.big_icons .social-icons li:hover {
    background-color: rgba(0,0,0,0.1);
}

.social-icons li {
    display: inline-block;
    margin-right: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1;
}

.social-icons li:last-child {
    margin-right: 0;
}

.social-icons li a:hover {
    opacity: 1 !important;
}

.social-icons li i {
    -webkit-transition: all .08s ease;
    transition: all .08s ease;
}

.dark-bg .social-icons li i {
    color: rgba(255, 255, 255, 0.9);
}

.dark-bg .social-icons li a:hover i {
    color: rgba(255, 255, 255, 1);
}

.dark-bg .big_icons .social-icons li i {
    color: rgba(255, 255, 255, 1);
    opacity: 1;
}

.dark-bg .big_icons .social-icons li:hover i, .dark-bg .big_icons .social-icons li:hover a i {
    color: rgba(255, 255, 255, 1);
}

.dark-bg .big_icons .social-icons li {
    background: rgba(255, 255, 255, 0.12);
}

.dark-bg .big_icons .social-icons li:hover {
    background: rgba(255, 255, 255, 0.17);
}

.social-icons li:last-child .basix-tooltip {
    left: inherit;
    right: 0;
}

.social-icons li:last-child .basix-tooltip:after {
    left: inherit;
    right: 4px;
}

.social-icons li a:hover {
    border-bottom: none !important;
}

/* Form Processing Animation (Ajax)
----------------------------------- */

.basix-ajax-loader {
    -webkit-animation-name: basix-ajax-spin;
    -webkit-animation-duration: 400ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: basix-ajax-spin;
    -moz-animation-duration: 400ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: basix-ajax-spin;
    -ms-animation-duration: 400ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
}

@-moz-keyframes basix-ajax-spin {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes basix-ajax-spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes basix-ajax-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* WordPress Standard Widgets
*****************************************************************************/

.footer .widget {
    margin-bottom: 2.5em;
}

.footer .widget li {
    clear: both;
}

.footer .widget li, .footer .widget li {
    line-height: 2.1em !important;
}

.footer .widget li:last-child {
    margin-bottom: 0;
}

.footer .widget span {
    display: block;
}

.footer.dark .widget span {
    color: rgba(255, 255, 255, 0.4);
}

html body .widget li {
    padding-left: 0;
}

/* Text Widget
----------------------------------- */

.main-content .textwidget {
    line-height: 1.8em;
}

.footer .textwidget {
    line-height: 18px;
}

/* Archives
----------------------------------- */

.widget_archive select {
    width: 100%;
}

/* Recent Entries
----------------------------------- */

.widget_recent_entries li span {
    font-size: 0.9em;
}

.widget_recent_entries a {
    display: block;
}

/* Calendar
----------------------------------- */

.widget_calendar {
    position: relative;
    overflow: hidden;
}

.widget_calendar #calendar_wrap {
    margin-top: -2.7em;
}

.widget_calendar caption {
    font-size: 11px;
    font-size: 11px;
    text-align: right;
    margin-bottom: 2em;
    margin-right: 1em;
    padding-top: 0.1em;
}

.widget_calendar table {
    width: 100%;
    font-size: 11px;
}

.widget_calendar table {
    width: 100%;
}

.widget_calendar thead {
    display: none;
}

.widget_calendar tbody td {
    padding: 0.8em 0;
}

.widget_calendar .pad {
    background: none !important;
}

.widget_calendar tfoot td {
    padding-top: 1.8em;
    background: none !important;
}

.widget_calendar #next {
    text-align: right;
    padding-right: 15px;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .widget_calendar tbody td {
        padding: 5px;
    }
    .widget_calendar #next {
        padding-right: 5px;
    }
}

/* Tags
----------------------------------- */

.widget_tag_cloud {
    line-height: 1.6em;
}

.widget_tag_cloud a {
    display: inline-block;
    font-size: inherit !important;
}

/* Search
----------------------------------- */

.widget_search .searchform {
    position: relative;
    float: left;
    width: 100%;
}

.widget_search #s {
    margin-bottom: 1px !important;
    width: 100%;
}

.widget_search #searchsubmit {
    font-family: 'FontAwesome';
    font-size: 1em;
    font-weight: initial;
    background-color: transparent !important;
    position: absolute;
    right: 0;
    top: 0;
    line-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100%;
    width: 45px;
    border: none;
    opacity: 0.5;
    border-radius: 0 0 0 0 !important;
    background: none;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.widget_search #searchsubmit:hover {
    opacity: 1;
}

.widget_search label {
    display: none;
}

.dark-bg .widget_search #searchsubmit, .light-bg .footer .widget_search #searchsubmit {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Menu
----------------------------------- */

.widget_nav_menu li.current-menu-item {
    position: relative;
}

.main-content .widget_nav_menu li.current-menu-item a {
    border-bottom: 1px dotted;
}

.dark-bg .widget_nav_menu li.current-menu-item a {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

/* Gallery
----------------------------------- */

.gallery {
    margin-right: -20px !important;
    margin-left: -20px !important;
}

.gallery:before, .gallery:after {
    content: " ";
    display: table;
}

.gallery-item {
    display: inline-block;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-bottom: 34px;
}

.gallery-item img {
    border: none !important;
}

.gallery.gallery-columns-3 .gallery-item {
    width: calc(100% / 3) !important;
}

.gallery-caption {
    margin-top: 8px;
}

body.attachment p.attachment {
    margin-top: 6px !important;
}

li.blog-post .gallery {
    display: none;
}

/* Categories
----------------------------------- */

.light-bg .widget_categories {
    color: #BBBBBB;
}

.dark-bg .widget_categories {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Article Sharing
----------------------------------- */

.basix_article_sharing_wrapper {
    margin: 1em 0 3em 0;
    display: inline-block;
    width: 100%;
}

.basix_article_sharing {
    list-style: none;
    display: flex;
    margin: 0 -0.25em;
}

.basix_article_sharing a {
    line-height: 1;
    margin: 0 0.25em;
    float: left;
    width: 33%;
    font-size: 0.86em;
    padding: 1em 2em;
    text-align: center;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
}

.basix_article_sharing a:hover {
    color: #fff;
}

.basix_article_sharing a.facebook {
    background-color: #3b5999;
}

.basix_article_sharing a.twitter {
    background-color: #55acee;
}

.basix_article_sharing a.pinterest {
    background-color: #d01328;
}

/* Misc
----------------------------------- */

.widget {
    width: 100%;
    float: left;
}

.widget ul {
    list-style: none;
    margin: 0;
}

.main-content .widget li,
.main-content .widget li.menu-item,
.wpb_row .menu li.menu-item,
.main-content .widget li.cat-item,
.basix_icon_list_item {
    margin-bottom: 0.6em;
    clear: both;
    line-height: 1.5em;
}

.main-content .widget li:last-child {
    margin-bottom: 0;
}

body .footer.dark .widget li > a {
    color: rgba(255, 255, 255, 0.7) !important;
    border-bottom: none !important;
}

.footer.dark .widget li > a:hover {
    color: rgba(255, 255, 255, 1) !important;
}

.widget.widget_recent_entries li {
    margin-bottom: 1.5em;
}

.widget li > ul {
    margin-top: 12px;
    margin-left: 10px;
}

.widget .post-date, .widget .tweet-time {
    display: block;
    font-size: 0.9em;
    opacity: 0.75;
    margin-top: 0.5em;
}

.widget .tweet-time {
    margin-top: 0.5em;
    opacity: 0.8;
}

.widget .tweet-time .time {
    order: 1;
}

.widget .post-date:before, .widget .tweet-time:before {
    font-family: 'FontAwesome';
    margin-right: 0.4em;
    content: '\f017';
    line-height: 1;
}

.footer.light .widget .tweet-time, .footer.white .widget .tweet-time {
    opacity: 0.7;
}

.footer.light .widget .tweet-time:hover, .footer.white .widget .tweet-time:hover {
    opacity: 1;
}

/* Required
----------------------------------- */

.wp-caption-text, .sticky, .gallery-caption, .bypostauthor {
    display: inline-block;
    width: 100%;
}

.wp-caption {
    margin-bottom: 1.6em;
}

/* Left align titles on specific templates
*****************************************************************************/

html body.bordered.center_page_title.page-template-template-page-left-sidebar h1, html body.bordered.center_page_title.page-template-template-page-right-sidebar h1, html body.bordered.center_page_title.page-template-template-page-left-sidebar h1.bordered, html body.bordered.center_page_title.page-template-template-page-right-sidebar h1.bordered {
    text-align: left !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0;
    margin-bottom: 5.5rem;
}

/* Top of Page Link
*****************************************************************************/

.top-of-page-link {
    position: fixed;
    opacity: 0;
    right: 2em;
    bottom: 2em;
    width: 2em;
    height: 2em;
    line-height: 1;
    text-align: center;
    border-radius: 50%;
    color: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
    z-index: 300;
    background: #666;
    transform: translateY(200%);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

@media only screen and (max-width: 1024px) {
    .top-of-page-link {
        right: 1em;
        bottom: 1em;
    }
}

.top-of-page-link:hover {
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
    margin-bottom: 0.2em;
}

.top-of-page-link i {
    font-size: 0.5em;
    color: #FFFFFF;
    line-height: 1;
    position: absolute;
    right: calc(50% - 0.5em);
    bottom: calc(50% - 0.4em);
}

.top-of-page-link.show {
    opacity: 1;
    transform: translateY(0);
}

/* 404 Error Page
*****************************************************************************/

body.error404 .main-content {
    display: flex;
}

body.error404 .main-content-inner {
    flex: 1;
    align-self: center;
    padding-top: 0;
}

.error-404-container {
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 3rem;
    flex: 1;
}

.error-404-container i {
    font-size: 206px;
    margin-bottom: 20px;
    display: block;
}

.error-404-container h1 {
    margin-bottom: 0.5em;
    padding-right: 0;
}

.error-404-container p {
    font-size: 1.1em;
    margin-bottom: 2em;
}

/* Visual Composer
*****************************************************************************/

/* v5.2.1 Flexbox fix */
.vc_column-inner::after, .vc_column-inner::before {
    display: none !important;
}

html body .vc_empty-placeholder {
    margin-bottom: 0;
}

html body .wpb_raw_code {
    width: 0;
    height: 0;
    margin-bottom: 0 !important;
    display: initial;
}

.vc_row {
    margin-left: -1.5rem !important;
    margin-right: -1.5rem !important;
    clear: both;
}

@media only screen and (max-width: 767px) {
    .vc_row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.vc_row.vc_row-flex {
    justify-content: center;
}

html body .vc_row[data-vc-full-width] {
    overflow: visible;
}

.vc_row[data-vc-full-width] {
    padding-top: 7.0rem;
    padding-bottom: 4.0rem;
}

.vc_row[data-vc-full-width="true"][data-vc-stretch-content="true"] {
    padding-top: 0;
    padding-bottom: 0;
}

@media only screen and (min-width: 1346px) {
    body.contained .vc_row[data-vc-stretch-content] {
        width: calc(100% + 8em) !important;
        left: -4em !important;
    }
    body.contained .vc_row[data-vc-stretch-content="true"] > .vc_column_container {
        padding-left: 4em !important;
        padding-right: 4em !important;
    }
    body.contained .vc_row[data-vc-stretch-content="true"] .vc_col-sm-12 .grid-holder {
        margin-left: -2em;
        margin-right: -2em;
    }
}

.vc_row_outer > .vc_row-no-padding > .vc_column_container > .vc_column-inner {
    margin-left: -2em !important;
    margin-right: -2em !important;
}

html body .wpb_column.disable_column_padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wpb_column.vc_column_container.vc_col-has-fill.stretched_column {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.column_container.vertical-middle {
    display: table-cell;
    height: 100%;
    float: none !important;
    vertical-align: middle;
}

@media only screen and (max-width: 767px) {
    .column_container.vertical-middle {
        display: block;
    }
    .stretched_column > .expanded.right {
        left: -30px !important;
    }
    .stretched_column > .expanded.left {
        right: -30px !important;
    }
}

body .wpb_content_element {
    line-height: 1.8em;
    margin-bottom: 3em;
}

.wpb_content_element.wpb_revslider_element {
    display: block;
    margin-bottom: 0;
}

.wpb_row .categories_filter {
    margin-left: 20px !important;
    margin-bottom: 30px !important;
}

.dark-bg .categories_filter li.active a {
    color: #FFFFFF !important;
}

a.vc_read_more {
    display: block !important;
    margin-top: 20px !important;
}

.wpb_thumbnails a.link_image:after {
    font-size: 38px;
}

.vc_separator {
    margin-top: 1em !important;
    margin-bottom: 3em !important;
}

.light-bg .vc_separator.vc_sep_color_grey .vc_sep_line {
    border-color: rgba(0, 0, 0, 0.1);
}

.dark-bg .vc_separator.vc_sep_color_grey .vc_sep_line {
    border-color: rgba(255, 255, 255, 0.2);
}

.wpb_alert {
    padding: 1em 14px !important;
}

.wpb_alert .messagebox_text, .wpb_alert-warning .messagebox_text {
    padding-left: 26px !important;
}

/* Image Gallery - Grid */

.wpb_image_grid {
    display: block;
}

.wpb_image_grid .isotope-item {
    width: calc(100% / 4);
    margin-bottom: 20px !important;
    line-height: 0;
}

.wpb_image_grid .isotope-item .link_image {
    margin-bottom: 0 !important;
}

.wpb_image_grid .isotope-item img {
    border-radius: 0 !important;
}

@media only screen and (max-width: 767px) {
    .wpb_image_grid .isotope-item {
        width: 100%;
    }
}

.wpb_image_grid img.attachment-large, .wpb_image_grid img.attachment-medium, .wpb_image_grid img.attachment-thumbnail {
    border-radius: 0;
}

.flexslider, .nivoSlider {
    margin: 0 !important;
    position: absolute;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.flexslider a.link_image, .nivoSlider a.link_image {
    margin-bottom: 0;
}

.flexslider .slides {
    overflow: hidden;
}

.flexslider .slides img {
    width: 100%;
    height: auto;
    border-radius: 3px;
}

ol.flex-control-paging {
    list-style: none !important;
    margin: 0 !important;
    top: inherit !important;
    display: none;
}

.flexslider:hover ol.flex-control-paging {
    display: block;
}

.flex-control-paging li {
    display: inline-block !important;
    line-height: inherit !important;
    margin-bottom: 0 !important;
}

.flex-control-paging li a {
    background: rgba(255, 255, 255, 0.5) !important;
    box-shadow: none !important;
}

.flex-control-paging li a:hover {
    background: rgba(255, 255, 255, 0.8) !important;
}

.flex-control-paging li a.flex-active {
    background: #FFFFFF !important;
}

.flex-control-nav {
    position: absolute;
    bottom: 2% !important;
    z-index: 10;
}

.wpb_slider_nivo {
    position: relative;
}

.nivoSlider img {
    height: auto !important;
}

.nivo-controlNav {
    position: absolute;
    bottom: 2% !important;
    width: 100%;
    left: 0;
    z-index: 10;
}

/* VC Masonry Image Gallery */
@media only screen and (min-width: 768px) {
    ul.wpb_masonry_gallery li.masonry-item {
        width: calc(100% / 3 - 14px);
        padding: 0 !important;
    }
}
@media only screen and (max-width: 767px) {
    ul.wpb_masonry_gallery li.masonry-item {
        width: 100%;
    }
}

ul.wpb_thumbnails.wpb_thumbnails-fluid.vc_clearfix.isotope {
    overflow: hidden !important;
}

.vc_progress_bar .vc_single_bar {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.vc_progress_bar .vc_single_bar .vc_label {
    text-shadow: none !important;
}

.vc_single_bar .vc_label, .vc_progress_bar.wpb_content_element.accent .vc_single_bar .vc_label, .vc_progress_bar.wpb_content_element.main .vc_single_bar .vc_label {
    color: #FFFFFF;
}

.dark-bg .vc_progress_bar.main .vc_single_bar .vc_bar {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.light-bg .vc_single_bar.bar_grey .vc_label {
    color: inherit;
}

.wpb_wrapper .vc_progress_bar {
    margin-bottom: 11px;
}

.wpb_wrapper .vc_progress_bar:only-child {
    margin-bottom: 3em;
}

/*@media only screen and (max-width: 1024px) {
    body .vc_column_container > .expanded:first-child {
        right: -10px !important;
        left: -10px !important;
    }
    }*/

    .vc_row-o-full-height .expanded {
        top: -900px !important;
        bottom: -900px !important;
    }

    body .vc_column_container > .vc_column-inner {
        padding-left: 0;
        padding-right: 0;
        width: auto;
    }

    body .vc_column_container > .vc_column-inner {
        padding-left: 0;
        padding-right: 0;
    }

    body .vc_col-has-fill.vc_column_container > .vc_column-inner {
        padding-left: 3em;
        padding-right: 3em;
        padding-top: 3em;
    }

    @media only screen and (max-width: 1024px) {
        body .vc_col-has-fill.vc_column_container > .vc_column-inner:not(.expanded) {
            padding-left: 1em !important;
            padding-right: 1em !important;
        }
    }

    body .vc_col-has-fill.vc_column_container > .vc_column-inner.expanded {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        background: none !important;
        position: relative;
    }

    @media only screen and (min-width: 768px) and (max-width: 1024px) {
        body .vc_col-has-fill.vc_column_container > .vc_column-inner.expanded {
            padding-left: 30px !important;
            padding-right: 30px !important;
        }
    }

    body .vc_row-o-full-height .vc_col-has-fill.vc_column_container > .vc_column-inner.expanded {
        position: initial;
    }

    .vc_span1 h2, .vc_span2 h2, .vc_span3 h2, .vc_span4 h2, .vc_span5 h2, .aio-icon-header h3.aio-icon-title {
        margin-bottom: 18px !important;
    }

    .aio-icon-box.default-icon h3.aio-icon-title {
        margin-bottom: 0 !important;
    }

    .vc_span1, .vc_span2, .vc_span3, .vc_span4, .vc_span5, .vc_span6, .vc_span7, .vc_span8, .vc_span9, .vc_span10, .vc_span11, .vc_span12, .vc_span13, .vc_span14, .vc_span15, .vc_span16, .vc_col-lg-1, .vc_col-lg-10, .vc_col-lg-11, .vc_col-lg-12, .vc_col-lg-2, .vc_col-lg-3, .vc_col-lg-4, .vc_col-lg-5, .vc_col-lg-6, .vc_col-lg-7, .vc_col-lg-8, .vc_col-lg-9, .vc_col-md-1, .vc_col-md-10, .vc_col-md-11, .vc_col-md-12, .vc_col-md-2, .vc_col-md-3, .vc_col-md-4, .vc_col-md-5, .vc_col-md-6, .vc_col-md-7, .vc_col-md-8, .vc_col-md-9, .vc_col-sm-1, .vc_col-sm-10, .vc_col-sm-11, .vc_col-sm-12, .vc_col-sm-2, .vc_col-sm-3, .vc_col-sm-4, .vc_col-sm-5, .vc_col-sm-6, .vc_col-sm-7, .vc_col-sm-8, .vc_col-sm-9, .vc_col-xs-1, .vc_col-xs-10, .vc_col-xs-11, .vc_col-xs-12, .vc_col-xs-2, .vc_col-xs-3, .vc_col-xs-4, .vc_col-xs-5, .vc_col-xs-6, .vc_col-xs-7, .vc_col-xs-8, .vc_col-xs-9 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    @media only screen and (min-width: 768px) and (max-width: 1024px) {
        .vc_row {
            margin-left: -30px !important;
            margin-right: -30px !important;
        }
        .vc_span1, .vc_span2, .vc_span3, .vc_span4, .vc_span5, .vc_span6, .vc_span7, .vc_span8, .vc_span9, .vc_span10, .vc_span11, .vc_span12, .vc_span13, .vc_span14, .vc_span15, .vc_span16, .vc_col-lg-1, .vc_col-lg-10, .vc_col-lg-11, .vc_col-lg-12, .vc_col-lg-2, .vc_col-lg-3, .vc_col-lg-4, .vc_col-lg-5, .vc_col-lg-6, .vc_col-lg-7, .vc_col-lg-8, .vc_col-lg-9, .vc_col-md-1, .vc_col-md-10, .vc_col-md-11, .vc_col-md-12, .vc_col-md-2, .vc_col-md-3, .vc_col-md-4, .vc_col-md-5, .vc_col-md-6, .vc_col-md-7, .vc_col-md-8, .vc_col-md-9, .vc_col-sm-1, .vc_col-sm-10, .vc_col-sm-11, .vc_col-sm-12, .vc_col-sm-2, .vc_col-sm-3, .vc_col-sm-4, .vc_col-sm-5, .vc_col-sm-6, .vc_col-sm-7, .vc_col-sm-8, .vc_col-sm-9, .vc_col-xs-1, .vc_col-xs-10, .vc_col-xs-11, .vc_col-xs-12, .vc_col-xs-2, .vc_col-xs-3, .vc_col-xs-4, .vc_col-xs-5, .vc_col-xs-6, .vc_col-xs-7, .vc_col-xs-8, .vc_col-xs-9 {
            padding-left: 30px !important;
            padding-right: 30px !important;
        }
    }

    @media only screen and (max-width: 767px) {
        .vc_span1, .vc_span2, .vc_span3, .vc_span4, .vc_span5, .vc_span6, .vc_span7, .vc_span8, .vc_span9, .vc_span10, .vc_span11, .vc_span12, .vc_span13, .vc_span14, .vc_span15, .vc_span16, .vc_col-lg-1, .vc_col-lg-10, .vc_col-lg-11, .vc_col-lg-12, .vc_col-lg-2, .vc_col-lg-3, .vc_col-lg-4, .vc_col-lg-5, .vc_col-lg-6, .vc_col-lg-7, .vc_col-lg-8, .vc_col-lg-9, .vc_col-md-1, .vc_col-md-10, .vc_col-md-11, .vc_col-md-12, .vc_col-md-2, .vc_col-md-3, .vc_col-md-4, .vc_col-md-5, .vc_col-md-6, .vc_col-md-7, .vc_col-md-8, .vc_col-md-9, .vc_col-sm-1, .vc_col-sm-10, .vc_col-sm-11, .vc_col-sm-12, .vc_col-sm-2, .vc_col-sm-3, .vc_col-sm-4, .vc_col-sm-5, .vc_col-sm-6, .vc_col-sm-7, .vc_col-sm-8, .vc_col-sm-9, .vc_col-xs-1, .vc_col-xs-10, .vc_col-xs-11, .vc_col-xs-12, .vc_col-xs-2, .vc_col-xs-3, .vc_col-xs-4, .vc_col-xs-5, .vc_col-xs-6, .vc_col-xs-7, .vc_col-xs-8, .vc_col-xs-9 {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
    }

    .vc_span1 a.link_image:after, .vc_span2 a.link_image:after, .vc_span3 a.link_image:after, .vc_span4 a.link_image:after, .vc_span5 a.link_image:after {
        font-size: 24px;
    }

    li.isotope-item a.link_image {
        margin-bottom: 18px !important;
    }

    /* Lower decimal place figure to suit sidebar pages */

    .isotope-item.vc_span4 {
        width: calc(100% / 3) !important;
    }

    @media only screen and (max-width: 767px) {
        /* All columns apart from full width - Mobile Only */
        .vc_span1:last-child, .vc_span2:last-child, .vc_span3:last-child, .vc_span4:last-child, .vc_span5:last-child, .vc_span6:last-child, .vc_span7:last-child, .vc_span8:last-child, .vc_span9:last-child, .vc_span10:last-child, .vc_span11:last-child {
            margin-bottom: 0 !important;
        }
    }

    .wpb_gmaps_widget .wpb_map_wraper {
        margin-bottom: -2px;
    }

    .wpb_gmaps_widget .wpb_wrapper {
        background-color: transparent !important;
        padding: 0 !important;
    }

    .vc_span1 .vc_pie_chart .vc_pie_chart_value, .vc_span2 .vc_pie_chart .vc_pie_chart_value {
        font-size: 100%;
    }

    @media only screen and (max-width: 767px) {
        .vc_pie_chart .vc_pie_chart_value {
            font-size: 180% !important;
        }
    }

    .vc_box_circle {
        border-radius: 50%;
    }

    .wpb_pie_chart_heading {
        margin-top: 0.6em;
    }

    @media only screen and (max-width: 1024px) {
        .flex-direction-nav, .nivo-directionNav {
            display: none;
        }
    }

    .flex-direction-nav a, .nivo-directionNav a {
        width: 25px !important;
        height: 40px !important;
        margin: -20px 0 0 0 !important;
        display: block !important;
        background-image: none !important;
        background-color: rgba(0, 0, 0, 0.3) !important;
        font-family: 'FontAwesome' !important;
        font-size: 13px !important;
        color: #FFFFFF !important;
        top: 50% !important;
        z-index: 10 !important;
        cursor: pointer !important;
        text-indent: -9999px !important;
        text-align: inherit !important;
        opacity: 0;

    }

    .flex-direction-nav a:before, .nivo-directionNav a:before {
        font-family: 'FontAwesome' !important;
        font-size: 13px !important;
        text-indent: 0;
        line-height: 40px !important;
        text-align: center;
        width: 25px !important;
        height: 40px !important;
        position: absolute;
        top: 0;
        left: 0;
    }

    .flex-direction-nav a.flex-prev, .nivo-directionNav a.nivo-prevNav {
        left: 0 !important;
        -webkit-top-right-border-radius: 3px;
        -moz-top-right-border-radius: 3px;
        border-top-right-radius: 3px;
        -webkit-bottom-right-border-radius: 3px;
        -moz-bottom-right-border-radius: 3px;
        border-bottom-right-radius: 3px;
    }

    .flex-direction-nav a.flex-next, .nivo-directionNav a.nivo-nextNav {
        right: 0 !important;
        -webkit-top-left-border-radius: 3px;
        -moz-top-left-border-radius: 3px;
        border-top-left-radius: 3px;
        -webkit-bottom-left-border-radius: 3px;
        -moz-bottom-left-border-radius: 3px;
        border-bottom-left-radius: 3px;
    }

    .flex-direction-nav a.flex-prev:before, .nivo-directionNav a.nivo-prevNav:before {
        content: '\f053' !important;
    }

    .flex-direction-nav a.flex-next:before, .nivo-directionNav a.nivo-nextNav:before {
        content: '\f054' !important;
    }

    .vc-carousel-slideline {
        display: block;
        float: left;
    }

    .vc-carousel-indicators {
        display: none !important;
    }

    .vc_carousel_horizontal {
        float: left;
        display: inline-block;
        overflow: hidden !important;
        max-width: 100%;
    }

    .vc-carousel {
        margin-left: -20px !important;
        margin-right: -20px !important;
    }

    .vc-carousel .vc-carousel-inner .vc-carousel-slideline .vc-carousel-slideline-inner {
        float: left;
        display: inline-block;
    }

    .vc-carousel.vc-build .vc-carousel-slideline .vc-carousel-slideline-inner > .vc-item {
        padding-left: 20px !important;
        padding-right: 20px !important;
        display: inline-block !important;
        float: left !important;
    }

    .vc-carousel.vc-per-view-more .vc-carousel-slideline .vc-carousel-slideline-inner > .vc-item > .vc-inner {
        margin: 0 !important;
    }

    .vc_toggle {
        background-color: inherit !important;
        margin-bottom: 0 0 2em 0 !important;
    }

    .vc_toggle:last-of-type {
        margin-bottom: 4em !important;
    }

    .vc_toggle_title {
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        padding: 0 0 !important;
        line-height: 1.4em;
        background-image: none !important;
        font-size: 1em !important;
        position: relative;
    }

    body .vc_toggle_title > h4 {
        opacity: 1;
        font-size: 1em;
    }

    .vc_toggle_title:before {
        content: '\f055';
        font-family: 'FontAwesome';
        font-weight: initial;
        position: absolute;
        right: 0;
        top: calc(50% - 0.7em);
        width: 16px;
        height: 16px;
    }

    .vc_toggle_active .vc_toggle_title:before {
        content: '\f056';
    }

    .vc_toggle {
        width: 100%;
    }

    .vc_toggle p:last-child {
        margin-bottom: 1em;
    }

    i.vc_toggle_icon {
        display: none;
        visibility: hidden;
    }

    .light-bg .vc_toggle_title {
        background-color: transparent;
    }

    .light-bg .vc_toggle_title:hover {
        background-color: transparent;
    }

    .dark-bg .vc_toggle_title {
        background-color: transparent;
    }

    .dark-bg .vc_toggle_title:hover {
        background-color: transparent;
    }

    .dark-bg .vc_toggle_title:before {
        color: #FFFFFF !important;
    }

    .vc_toggle_content {
        padding-left: 0 !important;
    }

    .vc_toggle_content:before {
        content: '';
        height: 5px;
        width: 100%;
        float: left;
    }

    .vc_toggle_content:after {
        content: '';
        height: 5px;
        width: 100%;
        float: left;
    }

    h2.wpb_accordion_heading {
        margin-bottom: 22px !important;
    }

    div:not(.dark-bg) a.ui-tabs-anchor {
        color: rgba(0,0,0,0.7);
    }

    .wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header a {
        padding-top: 1.3em !important;
        padding-bottom: 1.3em !important;
        padding-left: 1em !important;
        padding-right: 2.8em !important;
    }

    .wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header {
        margin-bottom: 4px !important;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 3px;
    }

    h3.wpb_accordion_header {
        width: 100%;
    }

    body.center_page_title .main-content .vc_custom_heading {
        padding-left: 0;
        padding-right: 0;
    }

    .wpb_accordion .wpb_accordion_wrapper .ui-icon {
        text-indent: 0 !important;
    }

    .dark-bg h3.wpb_accordion_header a {
        color: inherit !important;
    }

    .light-bg .wpb_content_element .wpb_accordion_wrapper .wpb_accordion_header {
        background-color: rgba(0, 0, 0, 0.04);
    }

    .light-bg .wpb_content_element .wpb_accordion_wrapper .wpb_accordion_header:hover {
        background-color: rgba(0, 0, 0, 0.07);
    }

    .dark-bg .wpb_content_element .wpb_accordion_wrapper .wpb_accordion_header {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }

    .dark-bg .wpb_accordion .wpb_accordion_wrapper .ui-state-default:hover {
        background-color: rgba(255, 255, 255, 0.15) !important;
    }

    .dark-bg .wpb_accordion .wpb_accordion_wrapper .ui-state-default:hover .ui-icon {
        color: #FFFFFF !important;
    }

    .wpb_accordion h3.ui-accordion-header-active {
        border: none !important;
    }

    .wpb_accordion h3.ui-accordion-header-active a {
        color: #FFFFFF !important;
    }

    .wpb_accordion h3.ui-accordion-header-active .ui-icon:before {
        color: #FFFFFF !important;
    }

    .wpb_content_element .wpb_accordion_wrapper .wpb_accordion_content {
        padding-left: 0.6em !important;
    }

    .wpb_content_element .wpb_accordion_wrapper .wpb_accordion_content:after {
        content: '';
        height: 10px;
        width: 100%;
    }

    .wpb_accordion .wpb_accordion_wrapper .ui-state-default .ui-icon {
        background-image: none !important;
        position: relative;
        top: 1.15em !important;
    }

    .wpb_accordion .wpb_accordion_wrapper .ui-state-default .ui-icon:before {
        content: '\f055';
        font-family: 'FontAwesome';
        position: absolute;
    }

    .wpb_accordion .wpb_accordion_wrapper .ui-state-active .ui-icon, .wpb_accordion .wpb_accordion_wrapper .ui-state-default .ui-icon {
        top: 1.55em !important;
        right: 1em !important;
    }

    .wpb_accordion .wpb_accordion_wrapper .ui-state-active .ui-icon {
        background-image: none !important;
        position: relative;
    }

    .wpb_accordion .wpb_accordion_wrapper .ui-state-active .ui-icon:before {
        content: '\f056';
        font-family: 'FontAwesome';
        position: absolute;
        top: -2px;
    }

    .wpb_tab {
        -webkit-border-bottom-left-radius: 0px;
        -moz-border-bottom-left-radius: 0px;
        border-bottom-left-radius: 0px;
        -webkit-border-bottom-right-radius: 0px;
        -moz-border-bottom-right-radius: 0px;
        border-bottom-right-radius: 0px;
        -webkit-border-top-right-radius: 0px;
        -moz-border-top-right-radius: 0px;
        border-top-right-radius: 0px;
    }

    .main-content .wpb_content_element .wpb_accordion_wrapper .wpb_accordion_header, .main-content .wpb_content_element .wpb_tabs_nav li.ui-tabs-active, .main-content .wpb_content_element .wpb_tabs_nav li:hover, .main-content .wpb_content_element.wpb_tabs .wpb_tour_tabs_wrapper .wpb_tab {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .pp_pic_holder {
        z-index: 999999 !important;
    }

    .pp_pic_holder .ppt {
        font-size: 0;
    }

    .wpb_video_widget .wpb_wrapper .wpb_video_wrapper {
        padding-top: 56%;
        position: relative;
    }

    .wpb_video_widget iframe {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        margin: 0;
        top: 0;
        left: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .vc_chart .vc_chart-legend {
        font-size: 13px !important;
    }

    .vc_tta-panels-container {
        margin-bottom: 3em;
    }

    .vc_tta-tab {
        font-weight: bold;
    }

    .vc_tta-color-white.vc_tta-style-flat .vc_tta-panel-heading {
        background-color: #FFFFFF !important;
    }

    .vc_tta-color-white .vc_tta-panel .vc_tta-panel-heading:hover {
        background-color: #FBFBFB !important;
    }

    .vc_tta-panel-body:before, .vc_tta-panel-body:after {
        content: '' !important;
        height: 15px !important;
        width: 100% !important;
        display: block !important;
        float: left !important;
        position: relative !important;
    }

    .vc_tta-color-grey .vc_tta-panel.vc_active .vc_tta-panel-body, .vc_tta-color-grey .vc_tta-panel.vc_active .vc_tta-panel-heading {
        background-color: #FFFFFF !important;
    }

    .vc_tta-color-grey * {
        border-color: rgba(0, 0, 0, 0.1) !important;
    }

    .vc_row[data-vc-stretch-content="true"] > .vc_column_container {
        padding-left: 2em !important;
        padding-right: 2em !important;
    }

    /* VC Grids ---------------------------- */

    html body .main-content .wpb_content_element.vc_masonry_grid {
        padding-top: 20px;
    }

    html body .main-content .wpb_content_element.vc_masonry_grid .vc_grid-item.vc_clearfix {
        padding-top: 0 !important;
    }

    .vc_grid .vc_gitem-post-data h4 {
        opacity: 1;
        margin-bottom: 0;
    }

    .vc_gitem-post-data {
        margin-top: 1.3em !important;
        margin-bottom: 1em !important;
    }

    .vc_gitem-post-data-source-post_excerpt {
        margin-top: 0 !important;
    }

    .vc_basix_grid_mouseover title {
        display: none;
    }

    .vc_basix_grid_item_mouseover h3 {
        color: #FFFFFF;
    }

    .vc_basix_grid_item_mouseover_date, .vc_basix_grid_item_mouseover_author {
        color: rgba(255, 255, 255, 0.7);
    }

    .vc_basix_grid_item_mouseover_author {
        display: inherit;
        text-align: center;
    }

    .vc_basix_grid_item_mouseover_author div {
        display: inline-block;
    }

    .vc_basix_grid_item_mouseover_author:before {
        content: 'by ';
        display: inline;
    }

    html body .vc_grid.vc_row .vc_grid-item {
        padding: 0px 0px !important;
    }

    .vc_grid.vc_row .vc_grid-item * {
        border-radius: 0;
    }

    .vc_grid-item .vc_basix_masonry_item_image:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
    }

    .vc_grid-item .vc_is-hover .vc_basix_masonry_item_image:before {
        opacity: 0.2;
    }

    html body .vc_grid.vc_row.vc_grid-gutter-1px .vc_grid-item {
        padding: 1px 1px !important;
        border-radius: 0 !important;
    }

    html body .vc_grid.vc_row.vc_grid-gutter-2px .vc_grid-item {
        padding: 2px 2px !important;
        border-radius: 0 !important;
    }

    html body .vc_grid.vc_row.vc_grid-gutter-3px .vc_grid-item {
        padding: 3px 3px !important;
        border-radius: 0 !important;
    }

    html body .vc_grid.vc_row.vc_grid-gutter-4px .vc_grid-item {
        padding: 4px 4px !important;
        border-radius: 0 !important;
    }

    html body .vc_grid.vc_row.vc_grid-gutter-5px .vc_grid-item {
        padding: 5px 5px !important;
    }

    html body .vc_grid.vc_row.vc_grid-gutter-10px .vc_grid-item {
        padding: 10px 10px !important;
    }

    html body .vc_grid.vc_row.vc_grid-gutter-15px .vc_grid-item {
        padding: 15px 15px !important;
    }

    html body .vc_grid.vc_row.vc_grid-gutter-20px .vc_grid-item {
        padding: 20px 20px !important;
    }

    html body .vc_grid.vc_row.vc_grid-gutter-25px .vc_grid-item {
        padding: 25px 25px !important;
    }

    html body .vc_grid.vc_row.vc_grid-gutter-30px .vc_grid-item {
        padding: 30px 30px !important;
    }

    html body .vc_grid.vc_row.vc_grid-gutter-35px .vc_grid-item {
        padding: 35px 35px !important;
    }

    @media only screen and (min-width: 768px) {
        html body .vc_grid.vc_row .vc_pageable-slide-wrapper {
            margin: 0 0 !important;
        }
    }

    @media only screen and (max-width: 767px) {
        html body .vc_grid.vc_row .vc_pageable-slide-wrapper {
            margin: 0 0 !important;
        }
    }

    html body .vc_grid .vc_pageable-load-more-btn {
        margin-top: 1em;
        margin-bottom: 2em;
    }

    .vc_grid.vc_row {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .vc_grid.vc_row.vc_grid-gutter-1px {
        margin-top: -1px !important;
        margin-bottom: -1px !important;
        margin-left: -1px !important;
        margin-right: -1px !important;
    }

    .vc_grid.vc_row.vc_grid-gutter-2px {
        margin-top: -2px !important;
        margin-bottom: -2px !important;
        margin-left: -2px !important;
        margin-right: -2px !important;
    }

    .vc_grid.vc_row.vc_grid-gutter-3px {
        margin-top: -3px !important;
        margin-bottom: -3px !important;
        margin-left: -3px !important;
        margin-right: -3px !important;
    }

    .vc_grid.vc_row.vc_grid-gutter-4px {
        margin-top: -4px !important;
        margin-bottom: -4px !important;
        margin-left: -4px !important;
        margin-right: -4px !important;
    }

    .vc_grid.vc_row.vc_grid-gutter-5px {
        margin-top: -5px !important;
        margin-bottom: -5px !important;
        margin-left: -5px !important;
        margin-right: -5px !important;
    }

    .vc_grid.vc_row.vc_grid-gutter-10px {
        margin-top: -10px !important;
        margin-bottom: -10px !important;
        margin-left: -10px !important;
        margin-right: -10px !important;
    }

    .vc_grid.vc_row.vc_grid-gutter-15px {
        margin-top: -15px !important;
        margin-bottom: -15px !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
    }

    .vc_grid.vc_row.vc_grid-gutter-20px {
        margin-top: -20px !important;
        margin-bottom: -20px !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
    }

    .vc_grid.vc_row.vc_grid-gutter-25px {
        margin-top: -25px !important;
        margin-bottom: -25px !important;
        margin-left: -25px !important;
        margin-right: -25px !important;
    }

    .vc_grid.vc_row.vc_grid-gutter-30px {
        margin-top: -30px !important;
        margin-bottom: -30px !important;
        margin-left: -30px !important;
        margin-right: -30px !important;
    }

    .vc_grid.vc_row.vc_grid-gutter-35px {
        margin-top: -35px !important;
        margin-bottom: -35px !important;
        margin-left: -35px !important;
        margin-right: -35px !important;
    }

    html body .vc_grid-item p {
        margin-bottom: 0;
    }

    .vc_pageable-load-more-btn .vc_btn3 {
        padding-left: 20px !important;
    }

    .vc_gitem-zone .vc_custom_heading h3 {
        padding: 0 20px;
    }

    .vc_grid-btn-load_more {
        margin-top: 2em;
    }

    .vc_gitem-post-data {
        margin-top: 15px;
    }

    .vc_grid-item .vc_btn3 {
        display: none !important;
    }

    /* ------- */

    body .vc_btn3.vc_btn3-icon-left .vc_btn3-icon, body .vc_btn3.vc_btn3-icon-right .vc_btn3-icon {
        display: inline;
        position: initial;
        color: #FFFFFF;
    }

    body .vc_general.vc_btn3, body .vc_general.vc_btn3 {
        border: none;
    }

    body .vc_general.vc_btn3:focus, body .vc_general.vc_btn3:hover {
        border: none;
    }

    body .vc_basic_grid .vc_gitem-zone {
        background-color: transparent !important;
    }

    body .vc_col-has-fill > .vc_column-inner, body .vc_row-has-fill + .vc_row-full-width + .vc_row > .vc_column_container > .vc_column-inner, body .vc_row-has-fill + .vc_row > .vc_column_container > .vc_column-inner, body .vc_row-has-fill + .vc_vc_row > .vc_row > .vc_vc_column > .vc_column_container > .vc_column-inner, body .vc_row-has-fill + .vc_vc_row_inner > .vc_row > .vc_vc_column_inner > .vc_column_container > .vc_column-inner, body .vc_row-has-fill > .vc_column_container > .vc_column-inner, body .vc_row-has-fill > .vc_row > .vc_vc_column > .vc_column_container > .vc_column-inner, body .vc_row-has-fill > .vc_vc_column_inner > .vc_column_container > .vc_column-inner {
        padding-top: 0;
    }

    @media only screen and (max-width: 520px) {
        .vc_col-xs-6 {
            width: 100% !important;
        }
    }

    /* Disable left and right custom padding on elements below 1025px */

    @media only screen and (max-width: 1024px) {
        body .wpb_content_element[class*="vc_custom"], body .wpb_content_element.wpb_text_column[class*="vc_custom"], body .vc_row.vc_inner[class*="vc_custom"], body h1[class*="vc_custom"], body h2[class*="vc_custom"], body h3[class*="vc_custom"] {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
        body .vc_column-inner[class*="vc_custom"] {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
    }

    html body .wpb_text_column {
        margin-bottom: 3em;
    }

    .wpb_image_grid .wpb_image_grid_ul .isotope-item {
        margin: 0 !important;
    }

    /* Custom Column Gaps -------------------------------- */

    .vc_column_container.overflow-hidden .vc_column-inner {
        overflow: hidden;
    }

    @media only screen and (min-width: 768px) {
        /* 0px ----- */
        html body .vc_row.no_spacing {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
        html body .vc_row.no_spacing > .vc_column_container {
            padding: 0 !important;
        }
        /* 1px ----- */
        html body .vc_row.vc_column-gap-1 {
            margin-left: -0.5px;
            margin-right: -0.5px;
        }
        .vc_row.vc_column-gap-1 > .vc_column_container {
            padding: 0.5px !important;
        }
        /* 2px ----- */
        .vc_row.vc_column-gap-2 {
            margin-left: -1px !important;
            margin-right: -1px !important;
        }
        .vc_row.vc_column-gap-2 > .vc_column_container {
            padding: 1px !important;
        }
        /* 3px ----- */
        .vc_row.vc_column-gap-3 {
            margin-left: -1.5px !important;
            margin-right: -1.5px !important;
        }
        .vc_row.vc_column-gap-3 > .vc_column_container {
            padding: 1.5px !important;
        }
        /* 4px ----- */
        .vc_row.vc_column-gap-4 {
            margin-left: -2px !important;
            margin-right: -2px !important;
        }
        .vc_row.vc_column-gap-4 > .vc_column_container {
            padding: 2px !important;
        }
        /* 5px ----- */
        .vc_row.vc_column-gap-5 {
            margin-left: -2.5px !important;
            margin-right: -2.5px !important;
        }
        .vc_row.vc_column-gap-5 > .vc_column_container {
            padding: 2.5px !important;
        }
        /* 10px ----- */
        .vc_row.vc_column-gap-10 {
            margin-left: -5px !important;
            margin-right: -5px !important;
        }
        .vc_row.vc_column-gap-10 > .vc_column_container {
            padding: 5px !important;
        }
        /* 15px ----- */
        .vc_row.vc_column-gap-15 {
            margin-left: -7.5px !important;
            margin-right: -7.5px !important;
        }
        .vc_row.vc_column-gap-15 > .vc_column_container {
            padding: 7.5px !important;
        }
        /* 20px ----- */
        .vc_row.vc_column-gap-20 {
            margin-left: -10px !important;
            margin-right: -10px !important;
        }
        .vc_row.vc_column-gap-20 > .vc_column_container {
            padding: 10px !important;
        }
        /* 25px ----- */
        .vc_row.vc_column-gap-25 {
            margin-left: -12.5px !important;
            margin-right: -12.5px !important;
        }
        .vc_row.vc_column-gap-25 > .vc_column_container {
            padding: 12.5px !important;
        }
        /* 30px ----- */
        .vc_row.vc_column-gap-30 {
            margin-left: -15px !important;
            margin-right: -15px !important;
        }
        .vc_row.vc_column-gap-30 > .vc_column_container {
            padding: 15px !important;
        }
        /* 35px ----- */
        .vc_row.vc_column-gap-35 {
            margin-left: -17.5px !important;
            margin-right: -17.5px !important;
        }
        .vc_row.vc_column-gap-35 > .vc_column_container {
            padding: 17.5px !important;
        }
    }

    .vc_row-flex.vc_row > .vc_column_container > .vc_column-inner {
        -ms-flex-direction: inherit !important;
    }

    html body .main-content [class*=vc_column-gap-] > .vc_column_container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* VC Responsive Options for "Extra Small" forced to 100% */

    @media only screen and (max-width: 386px) {
        html body [class*=vc_col-xs-] {
            width: 100% !important;
        }
    }

    /* Standard Page Template - Last row bottom margin */

    body.page-template-default .main-content .vc_row_outer:last-child .vc_row {
        margin-bottom: 2em;
    }

    /* Custom menus */
    html body .vc_row .widget {
        margin-bottom: 0;
    }

    .vc_wp_custommenu {
        display: inline-block;
    }

    .vc_wp_custommenu.horizontal_layout {
        display: inline-block;
        padding: 0;
        margin-bottom: 0.8em;
        width: 100%;
    }
    html body .vc_wp_custommenu.horizontal_layout li {
        display: inline-block;
        margin: inherit;
        margin-bottom: 0;
        margin-right: 1.5em;
        padding: inherit;
    }

    .vc_wp_custommenu.horizontal_layout li:last-child {
        margin-right: 0;
    }

/*****************************************************************************
* Slider Revolution
*****************************************************************************/

/* Slider Navigation
----------------------------------- */

/* Boxed Layout */

@media only screen and (min-width: 1346px) {
    body.contained .rev_slider_wrapper.fullwidthbanner-container,
    body.contained .rev_slider_wrapper.fullscreen-container {
        width: calc(100% + 80px) !important;
        left: -40px !important;
    }
}

.tp-caption strong,
.tp-caption span {
    font-size: inherit !important;
}

.rev-btn.accent {
    color: #fff !important;
}

.rev-btn {
    -webkit-transition: background-color .08s linear, color .08s linear, box-shadow .08s linear !important;
    transition: background-color .08s linear, color .08s linear, box-shadow .08s linear !important;
}

@media only screen and (max-width: 1023px) {
    .rev_slider_wrapper .tparrows {
        display: none !important;
    }
}

.rev_slider_wrapper .tp-leftarrow, .rev_slider_wrapper .tp-rightarrow {
    width: 2em !important;
    height: 4em !important;
    display: block;
    transform: none !important;
    background: none !important;
    background-color: rgba(0,0,0,0.4) !important;
    font-family: 'FontAwesome' !important;
    font-size: 1em !important;
    color: #FFFFFF !important;
    left: inherit !important;
    top: calc(50% - 3em) !important;
    z-index: 100 !important;
    cursor: pointer !important;
    text-indent: -9999px !important;
    opacity: 0.5 !important;
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

.rev_slider_wrapper .tp-leftarrow:hover,
.rev_slider_wrapper .tp-rightarrow:hover {
    background-color: rgba(255,255,255,0.1) !important;
}

.wpb_revslider_element.light-bg .rev_slider_wrapper .tp-leftarrow, .wpb_revslider_element.light-bg .rev_slider_wrapper .tp-rightarrow {
    background-color: rgba(0, 0, 0, 0.05) !important;
    color: rgba(0, 0, 0, 0.3) !important;
    opacity: 1 !important;
}

.wpb_revslider_element.light-bg .rev_slider_wrapper .tp-leftarrow:hover, .wpb_revslider_element.light-bg .rev_slider_wrapper .tp-rightarrow:hover {
    background-color: rgba(0, 0, 0, 0.1) !important;
}

html body .tparrows:before {
    color: inherit !important;
}

body.transparent_header .rev_slider_wrapper .tp-leftarrow, body.transparent_header .rev_slider_wrapper .tp-rightarrow {
    top: calc(50% - 35px) !important;
}

/*.rev_slider_wrapper:hover .tp-leftarrow, .rev_slider_wrapper:hover .tp-rightarrow {
    opacity: 0.7 !important;
    }*/

    .rev_slider_wrapper .tp-leftarrow:hover, .rev_slider_wrapper .tp-rightarrow:hover {
        opacity: 1 !important;
    }

    .rev_slider_wrapper .tp-leftarrow {
        left: 0 !important;
        -webkit-top-right-border-radius: 3px;
        -moz-top-right-border-radius: 3px;
        border-top-right-radius: 3px;
        -webkit-bottom-right-border-radius: 3px;
        -moz-bottom-right-border-radius: 3px;
        border-bottom-right-radius: 3px;
    }

    .rev_slider_wrapper .tp-rightarrow {
        right: 0 !important;
        -webkit-top-left-border-radius: 3px;
        -moz-top-left-border-radius: 3px;
        border-top-left-radius: 3px;
        -webkit-bottom-left-border-radius: 3px;
        -moz-bottom-left-border-radius: 3px;
        border-bottom-left-radius: 3px;
    }

    .rev_slider_wrapper .tp-leftarrow:before,
    .rev_slider_wrapper .tp-rightarrow:before {
        text-indent: 0;
        font-family: 'FontAwesome';
        font-size: 0.8em;
        line-height: 1em;
        text-align: center;
        width: 1em !important;
        height: 1em !important;
        position: absolute;
        top: 2em;
        left: 0.8em;
        -webkit-transition: all .08s linear;
        -moz-transition: all .08s linear;
        -o-transition: all .08s linear;
        -ms-transition: all .08s linear;
        transition: all .08s linear;
    }

    .rev_slider_wrapper .tp-leftarrow:before {
        content: '\f053' !important;
        text-indent: -2px;
    }

    .rev_slider_wrapper .tp-rightarrow:before {
        content: '\f054' !important;
    }

    .tp-bullet {
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.6);
        width: 12px;
        height: 12px;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -o-border-radius: 50%;
        border-radius: 50%;
        margin-right: 6px;
        float: none;
        display: inline-block;
    }

    .wpb_revslider_element.white-bg .tp-bullets .tp-bullet {
        border-color: rgba(0, 0, 0, 0.1);
    }

    .rev_slider_wrapper .tp-bullets .tp-bullet:last-child {
        margin-right: 0 !important;
    }

    .rev_slider_wrapper .tp-bullets .tp-bullet.selected {
        background: #FFFFFF !important;
    }

    .rev_slider_wrapper .tp-bullets .tp-bullet:hover {
        border: 2px solid rgba(255, 255, 255, 0.4);
    }

    .wpb_revslider_element.white-bg .tp-bullets .tp-bullet:hover {
        border: 2px solid rgba(0, 0, 0, 0.3);
    }

    .wpb_revslider_element.white-bg .tp-bullets .tp-bullet.selected {
        background: #FFFFFF !important;
        border: none !important;
    }

    @media only screen and (max-width: 768px) {
        .rev_slider_wrapper:not(.fullscreen-container) .tp-bullets.nav-pos-ver-bottom {
            top: 101% !important;
        }
        .rev_slider_wrapper .tp-bullets .tp-bullet {
            width: 8px !important;
            height: 8px !important;
        }
    }

    @media only screen and (max-width: 480px) {
        .rev_slider_wrapper .tp-bullets .tp-bullet {
            margin-right: 2px;
        }
    }

    @media only screen and (max-width: 480px) {
        .tparrows {
            display: none !important;
        }
    }

    .rev_slider_wrapper .tp-leftarrow.round, .rev_slider_wrapper .tp-rightarrow.round {
        color: #FFFFFF;
        font-family: 'FontAwesome';
        background: none;
        width: 14px;
        height: 14px;
        line-height: 14px;
        position: relative;
        opacity: 0.6;
    }

    .rev_slider_wrapper .tp-leftarrow.round:hover, .rev_slider_wrapper .tp-rightarrow.round:hover {
        opacity: 1;
    }

    .rev_slider_wrapper .tp-leftarrow.round:before {
        position: absolute;
        right: 0;
        top: 0;
        margin-right: 8px;
        content: '\f053';
    }

    .rev_slider_wrapper .tp-rightarrow.round:before {
        position: absolute;
        left: 0;
        top: 0;
        content: '\f054';
    }

    /* Left Aligned Items */

    .left-inner-override {
        position: relative;
        top: 0;
        left: 0;
    }

/*.left-inner-override > * {
    left: 0 !important;
    }*/

    .left-inner-override .tp-mask-wrap {
        left: 0 !important;
    }

    /* Right Aligned Items */

    .right-inner-override {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .right-inner-override > * {
        left: 0 !important;
        right: 0 !important;
        width: 100%;
    }

    .right-inner-override > * > * {
        left: auto !important;
        right: 0 !important;
    }

    .right-inner-override .tp-mask-wrap {
        right: 0 !important;
        left: auto !important;
    }

    /* Bullets Override */

    .left-bullets-override,
    .right-bullets-override {
        display: none;
    }

    .tp-bullets.nav-pos-hor-left.nav-pos-ver-bottom,
    .rev_slider .tp-bullets.nav-pos-ver-left.nav-pos-ver-bottom,
    .tp-bullets.nav-pos-hor-right.nav-pos-ver-bottom,
    .rev_slider .tp-bullets.nav-pos-ver-right.nav-pos-ver-bottom {
        display: none;
    }

    .left-bullets-override .tp-bullets.nav-pos-hor-left.nav-pos-ver-bottom,
    .left-bullets-override .rev_slider .tp-bullets.nav-pos-ver-left.nav-pos-ver-bottom,
    .right-bullets-override .tp-bullets.nav-pos-hor-right.nav-pos-ver-bottom,
    .right-bullets-override .rev_slider .tp-bullets.nav-pos-ver-right.nav-pos-ver-bottom {
        display: block;
    }

    .left-bullets-override.bottom,
    .right-bullets-override.bottom {
        top: calc(100% - 60px) !important;
    }

    @media only screen and (max-width: 1024px) {
        .left-bullets-override.bottom,
        .right-bullets-override.bottom {
            top: calc(100% - 40px) !important;
        }
    }

    .left-bullets-override .tp-bullets,
    .right-bullets-override .tp-bullets {
        transform: none !important;
    }

    /* Light BG Style */

    .wpb_revslider_element.light-bg .rev_slider_wrapper .tp-bullets .tp-bullet {
        border: none;
        background-color: rgba(0, 0, 0, 0.1);
    }

    .wpb_revslider_element.light-bg .rev_slider_wrapper .tp-bullets .tp-bullet.selected {
        background-color: #000;
    }

/* Basix Shortcodes

/* Carousels

/* General
----------------------------------- */

body .carousel-holder {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 3em;
}

.jcarousel-outer {
    width: 100% !important;
    position: relative;
    float: left;
    /*overflow: hidden;*/
}

.jcarousel-wrapper {
    margin: 0 -15px;
    position: relative;
}

.jcarousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.jcarousel > ul {
    width: 10000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.jcarousel > ul:after {
    content: "";
    display: block;
    clear: both;
}

.jcarousel ul li.jcarousel-item {
    float: left;
    z-index: 10;
    margin-bottom: 0 !important;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
}

.carousel-holder.boxed .jcarousel-item {
    margin-top: 20px;
    margin-bottom: 20px;
}

.jcarousel ul li.jcarousel-item > div {
    width: 100%;
}

.boxed .jcarousel {
    padding-bottom: 1em;
}

.boxed .jcarousel-item .post, .boxed .grid-item .post {
    display: inline-block;
    width: 100%;
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

.boxed .jcarousel-item .post, .boxed .grid-item .post {
    background-color: #ffffff;
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.07);
}

.boxed .jcarousel-item .post, .boxed .grid-item .post {
    background-color: #fff;
}

.boxed .jcarousel-item:hover .post,
.boxed .grid-item:hover .post {
    box-shadow: 0 0 80px rgba(0,0,0,0.15);
}

.boxed .jcarousel-item .post p, .boxed .grid-item .post p {
    margin-bottom: 0;
}

.jcarousel-item .categories, .grid-item .categories, .jcarousel-item .grid-cat, .grid-item .grid-cat {
    font-size: 0.8rem;
    margin-bottom: 1em;
}

.boxed .jcarousel-item .link_image {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.boxed .jcarousel-item h3, .boxed .grid-item h3 {
    margin-top: 0 !important;
}

.boxed .jcarousel-item .link_image, .boxed .grid-item .link_image {
    margin-bottom: 2.2em !important;
}

@media only screen and (max-width: 767px) {
    .boxed .jcarousel-item .link_image, .boxed .grid-item .link_image {
        margin-bottom: 1.6em !important;
    }
}

.boxed .jcarousel-item .post .date, .boxed .grid-item .post .date {
    padding: 0 1.6rem 2em 1.6rem;
}

li.jcarousel-item:last-child {
    padding-bottom: 0 !important;
}

.carousel-title {
    position: relative;
    padding-right: 52px;
}

html body .carousel-title h2 {
    margin-bottom: 2.0rem;
    font-size: 1.4em;
    font-weight: inherit;
}

@media only screen and (max-width: 767px) {
    .carousel-title {
        padding-right: 0;
    }
}

.image-carousel .jcarousel-item .link_image {
    margin-bottom: 0 !important;
}

.jcarousel-item .date, .grid-item .date, .grid-item .categories, .jcarousel-item .categories {
    line-height: 1em;
    margin-bottom: 0;
    display: inline-block;
}

.jcarousel-item .category, .grid-item .category {
    float: left;
}

.jcarousel-item .category:before, .grid-item .category:before {
    content: '/';
    margin: 0 6px;
}

.grid-item .blog-meta .meta-item .meta-title.comments:before,
.jcarousel-item .blog-meta .meta-item .meta-title.comments:before {
    content: '\f0e6';
    font-family: 'FontAwesome';
}

.grid-item .blog-meta .meta-item.comments .c-text,
.jcarousel-item .blog-meta .meta-item.comments .c-text {
    display: none;
}

.jcarousel-item .category:first-child:before, .grid-item .category:first-child:before {
    content: '';
    margin: 0;
}

body.center_page_title .portfolio-grid .jcarousel-item,
body.center_page_title .portfolio-grid .grid-item,
body.center_page_title .portfolio-carousel .jcarousel-item,
body.center_page_title #portfolio .grid-item {
    text-align: center;
}

.dark-bg .jcarousel-item .date, .dark-bg .jcarousel-item .date i {
    color: rgba(255, 255, 255, 0.5) !important;
}

.jcarousel-item p, .grid-item p {
    margin-bottom: 0em;
    margin-top: 0.6em;
    float: left;
    width: 100%;
}

.page-template-template-blog-standard .grid-item p, .page-template-template-blog-standard-no-sidebar .grid-item p {
    margin-top: 0;
}

/* Nav

/* Only display on desktop */

.jcarousel-nav-holder {
    display: block;
    position: absolute;
    top: calc(-4.2em);
    width: 100%;
    height: 1.5em;
    float: left;
}

.jcarousel-nav-holder.standard {
    top: calc(50% - 1.5em);
}

.testimonials-carousel .jcarousel-nav-holder.standard {
    top: calc(50% - 5em);
}

@media only screen and (min-width: 500px) {
    .jcarousel-nav {
        position: absolute;
        right: 0;
        line-height: 0;
        width: auto;
        padding-left: 10px;
        z-index: 10;
    }
    /* Align to title */
    .jcarousel-nav.shortcode-title {
        top: calc(300% - 0.2rem);
        width: auto !important;
    }
    /* Align to separator or accent divider */
    .jcarousel-nav.separator, .jcarousel-nav.accent-divider {
        top: calc(-100% - -1.3em);
    }
    /* Align to separator with text */
    .jcarousel-nav.separator-with-text {
        display: flex;
        align-items: center;
        height: 100%;
        top: 0;
    }
}

/* Hide on mobile */

@media only screen and (max-width: 499px) {
    .jcarousel-nav {
        display: none;
    }
}

a.jcarousel-next, a.jcarousel-prev {
    text-indent: -100000px !important;
    display: inline-block;
    padding: 0.8em;
    line-height: 0 !important;
}

a.jcarousel-next, a.jcarousel-prev, a.next, a.prev, body:not(.woocommerce) .page-numbers {
    margin-left: 3px;
    position: relative;
    font-size: 1.1em;
    line-height: 1.5em;
    text-align: center;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

a.jcarousel-next, a.jcarousel-prev, a.next, a.prev {
    font-family: 'FontAwesome';
}

.page-numbers, .page-numbers.next, .page-numbers.prev {
    font-size: 1em;
    text-indent: 0;
    line-height: 0 !important;
    padding: 1.4em 1.15em !important;
    display: inline-block;
    margin-left: 0.4em;
}

.page-numbers:first-child {
    margin-left: 0;
}

.page-numbers.next, .page-numbers.prev {
    font-family: 'FontAwesome' !important;
    font-weight: normal !important;
    text-indent: -99999px;
    padding: 1.4em !important;
}

.page-numbers.next:after, .page-numbers.prev:after {
    line-height: 2.6em;
}

.page-numbers.next:hover:after, .page-numbers.prev:hover:after {
    color: #fff !important;
}

nav.navigation {
    margin-bottom: 4em;
    display: inline-block;
    width: 100%;
    text-align: center;
}

nav.navigation .nav-links {
    display: inline-flex;
}

.page-numbers {
    border-radius: 3px;
}

.light-bg nav a.page-numbers:hover {
    color: #FFFFFF;
}

a.jcarousel-prev:after, a.jcarousel-next:after, a.prev:after, a.next:after {
    color: #FFFFFF;
    position: absolute;
    top: 50%;
    left: 0;
    bottom: 0;
    right: 0;
    text-indent: 0;
}

a.jcarousel-prev:after, a.jcarousel-next:after {
    font-size: 1.2rem;
}

a.jcarousel-prev:hover:after, a.jcarousel-next:hover:after {
    color: #fff !important;
}

a.prev:after, a.next:after {
    top: 0.1em;
}

a.jcarousel-prev:after, a.prev:after {
    content: '\f104';
    left: -1px;
}

a.jcarousel-next:after, a.next:after {
    content: '\f105';
    left: 0;
}

.light-bg a.jcarousel-next, .light-bg a.jcarousel-prev, .page-numbers.current {
    border: none;
    background-color: rgba(0, 0, 0, 0.08);
}

.light-bg .jcarousel-nav-holder.standard a.jcarousel-next, .light-bg .jcarousel-nav-holder.standard a.next {
    border: none !important;
}

.light-bg a.jcarousel-next:after, .light-bg a.jcarousel-prev:after, .light-bg a.next:after, .light-bg a.prev:after {
    color: rgba(0, 0, 0, 0.24);
}

.dark-bg a.jcarousel-next, .dark-bg a.jcarousel-prev, .dark-bg a.next, .dark-bg a.prev {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.dark-bg a.jcarousel-next:hover, .dark-bg a.jcarousel-prev:hover, .dark-bg a.next:hover, .dark-bg a.prev:hover {
    background-color: rgba(255, 255, 255, 0.4) !important;
}

.dark-bg a.standard-nav.jcarousel-next:hover, .dark-bg a.standard-nav.jcarousel-prev:hover, .dark-bg a.standard-nav.jcarousel-next:hover:after, .dark-bg a.standard-nav.jcarousel-prev:hover:after, .dark-bg .clients-carousel a.jcarousel-prev:hover:after, .dark-bg .clients-carousel a.jcarousel-next:hover:after, .dark-bg .clients-carousel a.jcarousel-prev:hover, .dark-bg .clients-carousel a.jcarousel-next:hover {
    background-color: transparent !important;
    color: #FFFFFF !important;
}

.stretched-page.dark-bg a.standard-nav.jcarousel-next:hover:after, .stretched-page.dark-bg a.standard-nav.jcarousel-prev:hover:after {
    color: #FFFFFF !important;
}

.dark-bg .carousel-holder .mobile-pagination li:hover {
    background-color: #FFFFFF;
}

.dark-bg .carousel-holder .mobile-pagination li.active {
    background-color: #fff;
}

/* Standard Nav
----------------------------------- */

a.standard-nav.jcarousel-prev, a.standard-nav.jcarousel-next {
    width: 1em;
    position: absolute;
    top: 0;
    font-family: 'FontAwesome';
    font-size: 2em;
    text-align: center;
    text-indent: -9999px;
    background-color: transparent !important;
    border: none;
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
    a.standard-nav.jcarousel-prev, a.standard-nav.jcarousel-next {
        top: 24%;
    }
}

@media only screen and (max-width: 1024px) {
    a.standard-nav.jcarousel-prev, a.standard-nav.jcarousel-next {
        display: none;
    }
}

a.standard-nav.jcarousel-prev {
    left: -20px;
    margin-left: 0;
}

a.standard-nav.jcarousel-next {
    right: -19px;
    margin-left: 0;
}

a.standard-nav.jcarousel-prev:after, a.standard-nav.jcarousel-next:after {
    font-size: 1.4em;
}

@media only screen and (min-width: 1024px) {
    a.standard-nav.jcarousel-prev {
        left: -3em;
        margin-left: 0;
    }
    a.standard-nav.jcarousel-next {
        right: -3em;
        margin-left: 0;
    }
}

a.standard-nav.jcarousel-prev:after, a.standard-nav.jcarousel-next:after {
    position: absolute;
    top: 50%;
    left: 0;
    bottom: 0;
    right: 0;
    text-indent: 0;
}

.light-bg a.standard-nav.jcarousel-prev:after, .light-bg a.standard-nav.jcarousel-next:after {
    color: rgba(0,0,0,0.2) !important;
    text-indent: 0;
}

.dark-bg a.standard-nav.jcarousel-prev:after, .dark-bg a.standard-nav.jcarousel-next:after {
    color: rgba(255, 255, 255, 0.3) !important;
}

a.standard-nav.jcarousel-prev:after {
    content: '\f104';
}

a.standard-nav.jcarousel-next:after {
    content: '\f105';
}

@media only screen and (max-width: 767px) {
    .testimonials-carousel a.standard-nav {
        display: none;
    }
}

.image-carousel a.standard-nav.jcarousel-prev, .image-carousel a.standard-nav.jcarousel-next {
    top: 50%;
    margin-top: -11px;
}

@media only screen and (max-width: 1024px) {
    .image-carousel a.standard-nav {
        display: none;
    }
}

.portfolio-carousel .jcarousel-nav-holder.standard {
    top: calc(35% - 12px);
}

/* Mobile Pagination / Status
----------------------------------- */

.carousel-holder .mobile-pagination {
    display: block;
}

@media only screen and (min-width: 1025px) {
    .carousel-holder .mobile-pagination {
        display: none;
    }
}

@media only screen and (min-width: 1025px) {
    .carousel-holder.testimonials-carousel .mobile-pagination {
        display: block;
    }
}

.carousel-holder .mobile-pagination {
    text-align: center;
    width: 100%;
    float: left;
    margin-top: 2em;
}

.carousel-holder .mobile-pagination ul {
    list-style: none;
}

.carousel-holder .mobile-pagination li {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
    line-height: 0;
    cursor: pointer;
    text-decoration: none;
    -webkit-transition: all .08s linear;
    -moz-transition: all .08s linear;
    -o-transition: all .08s linear;
    -ms-transition: all .08s linear;
    transition: all .08s linear;
}

.carousel-holder .mobile-pagination li:last-child {
    margin-right: 0;
}

.light-bg .carousel-holder .mobile-pagination li {
    background-color: rgba(0,0,0,0.1);
}

.dark-bg .carousel-holder .mobile-pagination li {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Clients Carousel
----------------------------------- */

.clients-carousel {
    position: relative;
    display: block !important;
    float: none;
    padding: 0.2em 0;
    margin-bottom: 0 !important;
}

.clients-carousel.bottom:after {
    content: "";
    height: 20px;
    display: inline-block;
    width: 100%;
    clear: both;
}

.clients-carousel-title {
    display: table;
    margin-top: 20px;
    margin-bottom: 36px;
}

.clients-carousel-title h4 {
    line-height: 1em;
    font-size: 11px !important;
    display: table-cell;
    white-space: pre;
    padding: 0 0.8em;
    margin-bottom: 20px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.clients-carousel-title-side {
    display: table-cell;
    height: 2px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

.clients-carousel-title-line {
    height: 1px;
    border-top: 2px solid;
    display: block;
    position: relative;
    top: 1px;
    width: 100%;
}

.light-bg .clients-carousel-title-line {
    border-color: rgba(0, 0, 0, 0.1);
}

.dark-bg .clients-carousel-title-line {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.clients-carousel .jcarousel-nav {
    background-color: transparent !important;
}

.clients-carousel li {
    display: table !important;
    height: 40px;
}

.clients-carousel .logo-inner {
    display: table-cell;
    height: 100%;
    width: 100%;
    text-align: center;
    vertical-align: middle;
}

.clients-carousel .logo-inner img {
    position: relative;
}

/* Aspect Ratios
----------------------------------- */

.aspect_16-9 {
    height: 0;
    padding-bottom: calc(56.25% + 1%) !important;
}

.aspect_16-10 {
    height: 0;
    padding-bottom: calc(62.5% + 1%)!important;
}

.aspect_4-3 {
    height: 0;
    padding-bottom: calc(75% + 1%) !important;
}

.aspect_square {
    height: 0;
    padding-bottom: 100% + 1%) !important;
}

.aspect_original {
    height: auto;
    padding-bottom: 0 !important;
}

/* Nav
----------------------------------- */

.clients-carousel a.jcarousel-prev, .clients-carousel a.jcarousel-next {
    width: 1em;
    height: 1em;
    position: absolute;
    font-family: 'FontAwesome';
    top: 50%;
    text-align: center;
    text-indent: -9999px;
    background-color: transparent !important;
    border: none !important;
}

.clients-carousel.bottom a.jcarousel-prev, .clients-carousel.bottom a.jcarousel-next {
    top: calc(50% - 12px);
}

.clients-carousel a.jcarousel-prev {
    left: -30px;
    margin-left: 0;
}

.clients-carousel a.jcarousel-next {
    right: -30px;
    margin-left: 0;
}

.clients-carousel a.jcarousel-prev:after, .clients-carousel a.jcarousel-next:after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-indent: 0;
    font-size: 2em;
}

.light-bg .clients-carousel a.jcarousel-prev:after, .light-bg .clients-carousel a.jcarousel-next:after {
    color: rgba(0, 0, 0, 0.2) !important;
    text-indent: 0;
}

.dark-bg .clients-carousel a.jcarousel-prev:after, .dark-bg .clients-carousel a.jcarousel-next:after {
    color: rgba(255, 255, 255, 0.4) !important;
}

.clients-carousel a.jcarousel-prev:after {
    content: '\f104';
}

.clients-carousel a.jcarousel-next:after {
    content: '\f105';
}

@media only screen and (max-width: 1023px) {
    .clients-carousel a.jcarousel-prev, .clients-carousel a.jcarousel-next {
        display: none;
    }
}

/* Grids
----------------------------------- */

.grid-title {
    margin-bottom: 1.1em;
}

.grid-title {
    margin-bottom: 2em;
}

.grid-holder .grid-title h3 {
    margin-bottom: 1.1em !important;
}

body .grid-holder {
    width: auto;
    min-width: 100%;
}

body .grid-holder .grid-wrapper {
    margin-left: -15px;
    margin-right: -15px;
}

.grid-holder.no-spacing .grid-wrapper, .carousel-holder.no-spacing .grid-wrapper, .carousel-holder.no-spacing .jcarousel-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block;
}

.carousel-holder.no-spacing {
    float: left;
}

.no-spacing a.link_image {
    margin-bottom: 0 !important;
}

.grid-holder.no-spacing {
    margin-bottom: 0;
}

.grid-wrapper {
    margin: 0;
    position: relative;
}

@media only screen and (max-width: 767px) {
    .grid-holder {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.main-content .grid-holder.no-spacing .grid-wrapper > ul > li.grid-item, .main-content .carousel-holder.no-spacing .jcarousel-wrapper ul > li.jcarousel-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 0 !important;
}

.grid-holder ul {
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    overflow: hidden;
}

.main-content .grid-holder .grid-item {
    float: left;
    display: inline-block;
    margin-bottom: 3em;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.grid-item p {
    line-height: 1.75em;
}

.grid-item .link_image, .jcarousel-item .link_image {

    margin-bottom: 1.4em;
    background-size: cover;
    background-position: center center;
    opacity: 1;
    float: none;
    -webkit-backface-visibility: hidden;
}

.grid-item h3, .jcarousel-item h3 {
    display: inline-block;
    width: 100%;
    flex-grow: 1;
    margin-bottom: 0;
}

.grid-item p {
    margin-bottom: 1.4em;
}

.light-bg .grid-item .date, .light-bg .grid-item .date i {
    color: #9C9C9C;
}

.dark-bg .grid-item .date, .dark-bg .grid-item .date i {
    color: rgba(255, 255, 255, 0.7) !important;
}

.light-bg .grid-item .categories .category, .light-bg .categories i {
    color: rgba(0, 0, 0, 0.5);
}

.dark-bg .grid-item .categories .category, .dark-bg .categories i {
    color: rgba(255, 255, 255, 0.7) !important;
}

.light-bg .jcarousel-item .categories:before, .light-bg .grid-item .categories:before {
    color: rgba(0, 0, 0, 0.5);
}

.dark-bg .jcarousel-item .categories:before, .dark-bg .grid-item .categories:before {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Icon List Item
----------------------------------- */

.basix_icon_list_item {
    display: flex !important;
    width: 100%;
}

.basix_icon_list_item .icon {
    display: inline-block;
    vertical-align: top;
    font-size: 1.1em;
    width: 1.75em;
}

.dark-bg .basix_icon_list_item .icon i {
    color: inherit;
}

.basix_icon_list_item .text {
    display: inline;
    vertical-align: top;
}

.basix_identical_icon_list ul {
    list-style: none;
    margin-left: 0;
}

/* Icon & Text
----------------------------------- */

html body .basix_icon_standard {
    line-height: 1em;
    margin-bottom: 2.4em;
}

html body .basix_icon_text {
    display: inline-block;
    width: 100%;
    position: relative;
    margin-bottom: 3em;
    z-index: 2;
}

.basix_icon_text .icon.custom {
    margin-bottom: 1.5em;
}

.basix_icon_text .icon.inline-block {
    display: inline-block;
}

.basix_icon_text .text {
    line-height: 1.7em;
}

.basix_icon_text .text p {
    margin-bottom: 0;
}

.basix_icon_text.center {
    text-align: center;
}

.basix_icon_text.left-icon .icon {
    display: table-cell;
    vertical-align: top;
    text-align: center;
}

.basix_icon_text.left-icon .text {
    display: table-cell;
    vertical-align: top;
    padding-left: 1em;
}

.basix_icon_text.left-icon h3 {
    margin-bottom: 0.5em !important;
}

.basix_icon_text.title-left-icon .title-holder {
    display: table;
    margin-bottom: 1.1em;
}

.basix_icon_text.title-left-icon .icon {
    display: table-cell;
    vertical-align: middle;
}

.basix_icon_text.title-left-icon .icon i {
    display: block;
    margin-top: 0.1em;
}

.basix_icon_text.title-left-icon .title {
    display: table-cell;
    vertical-align: middle;
    padding-left: 10px;
}

.basix_icon_text.title-left-icon .title h3, .basix_icon_text.title-left-icon .title h2 {
    margin-bottom: 0 !important;
}

.basix_icon_text.top-icon .title {
    display: block;
}

.basix_icon_text.top-icon .title h3 {
    margin-bottom: 0.5em;
}

.basix_icon_text p a:only-child {
    margin-top: 20px;
    display: inline-block;
}

.basix_icon_text .icon-bg {
    display: table;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.07);
    text-align: left;
}

.basix_icon_text .icon-bg .icon-holder {
    display: table;
    text-align: center;
    vertical-align: middle !important;
    height: 100%;
}

.basix_icon_text .icon-bg .icon-holder-inner {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
    line-height: 1em;
}

.basix_icon_text .icon-bg i {
    display: inline-block;
}

.basix_icon_text .icon-bg img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.basix_icon_text.top-icon .icon-bg, .basix_icon_text.left-icon .icon-bg {
    padding: 1.2em;
}

.basix_icon_text.title-left-icon .icon-bg {
    padding: 0.4em;
}

/* Contact Form 7
----------------------------------- */

div.wpcf7 {
    margin: 0;
    padding: 0;
    display: inline-block;
    width: 100%;
    float: left;
    margin-bottom: 3em;
}

div.wpcf7 p {
    margin-bottom: 1em;
}

div.wpcf7 input[type="submit"] {
    padding-left: 1.4em !important;
    padding-right: 1.4em !important;
}

.wpcf7 br {
    display: none;
}

.wpcf7-form h3 {
    font-size: 1.0em;
}

.wpcf7-form-control-wrap {
    display: block !important;
    margin-bottom: 1.4em;
}

.wpcf7 .wpcf7-not-valid-tip {
    margin-bottom: 1em !important;
    margin-top: -9px;
}

.wpcf7 .wpcf7-validation-errors {
    padding: 14px 38px 14px 12px;
    display: block;
    width: 100%;
    clear: both;
    margin: 0;
    border: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    position: relative;
    font-weight: 500;
    line-height: 18px;
    background-color: #ECD9A0;
    color: #60583E;
}

.wpcf7 .wpcf7-mail-sent-ok {
    padding: 14px 38px 14px 12px;
    display: block;
    width: 100%;
    clear: both;
    margin: 0;
    border: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    position: relative;
    font-weight: 500;
    line-height: 18px;
    background-color: #BCD6B0;
    color: #5A754D;
}

/* Headings - No Margin
----------------------------------- */

h1.nm {
    margin-bottom: 0.1em !important;
}

h2.nm {
    margin-bottom: 0.1em !important;
}

h3.nm {
    margin-bottom: 0.1em !important;
}

h1.nm.center {
    text-align: center;
}

h2.nm.center {
    text-align: center;
}

h3.nm.center {
    text-align: center;
}

h1.nm.right {
    text-align: right;
}

h2.nm.right {
    text-align: right;
}

h3.nm.right {
    text-align: right;
}

/* Mini Divider
----------------------------------- */

.wpb_content_element.basix_mini_divider {
    line-height: 1;
}

.mini-divider {
    height: 2px;
    width: 3em;
    display: inline-block;
    border-radius: 3px;
    margin-bottom: 0;
}

/* Basix SVG
----------------------------------- */

html body .basix_svg {
    line-height: 1;
}

html body .vc_column-inner .vc_column-inner .basix_svg img {
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    -ms-transition: all .2s linear;
    transition: all .2s linear;
}

/* Ultimate Addons for Visual Composer
*****************************************************************************/

/* Timeline
----------------------------------- */

.wpb_column .wpb_wrapper .smile-icon-timeline-wrap .timeline-wrapper .timeline-block {
    border: none !important;
}

.timeline-item-spt {
    line-height: 1.6em;
}

body .timeline-block .timeline-header {
    padding: 1.6em;
}

body .ult-timeline-arrow s {
    display: none;
}

body .ult-timeline-arrow l {
    top: 0 !important;
}

body .timeline-post-left .timeline-dot {
    right: -27px;
}

body .timeline-post-right .timeline-dot {
    left: -25px;
}

/* Owl Carousel
*****************************************************************************/

.owl-nav {
    position: absolute;
    top: calc(50% - 62px);
    width: 100%;
    z-index: -1;
}

@media only screen and (max-width: 1279px) {
    .owl-nav {
        display: none !important;
    }
}

.owl-prev, .owl-next {
    border-radius: 50% !important;
    line-height: 0 !important;
    padding: 14px !important;
    position: absolute;
    font-family: 'FontAwesome' !important;
}

.owl-prev {
    left: -100px;
}

.owl-prev:before {
    content: '\f104';
    text-indent: 0;
}

.owl-next {
    right: -100px;
}

.owl-next:before {
    content: '\f105';
    text-indent: 0;
}

.owl-prev:before, .owl-next:before {
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 1em;
}

.owl-theme .owl-controls .owl-nav [class*=owl-] {
    background-color: transparent !important;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    color: rgba(0, 0, 0, 0.3) !important;
}

.owl-theme .owl-controls .owl-nav [class*=owl-]:hover {
    background-color: transparent !important;
}

.dark-bg .owl-theme .owl-controls .owl-nav [class*=owl-] {
    background-color: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.dark-bg .owl-theme .owl-controls .owl-nav [class*=owl-]:hover {
    background-color: #FFFFFF !important;
}

.owl-theme .owl-dots .owl-dot span {
    margin: 0px 3px !important;
}

.dark-bg .owl-theme .owl-dots .owl-dot span {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.dark-bg .owl-theme .owl-dots .owl-dot.active span, .dark-bg .owl-theme .owl-dots .owl-dot:hover span {
    background-color: #FFFFFF !important;
}

/* Misc
*****************************************************************************/

.categories i, .date i {
    float: left;
    display: block;
    font-size: 14px;
    opacity: 0.75;
}

.categories i {
    margin-right: 0.4em;
    line-height: 0.9em;
}

.centered, .centered * {
    text-align: center !important;
}

.date i {
    margin-right: 0.2em;
    line-height: 0.85em;
}

.title_excerpt {
    width: 100%;
    padding-top: 2em;
    padding-bottom: 0.2em;
}

body.bordered .title_excerpt {
    margin-bottom: 5.5rem;
}

@media only screen and (min-width: 1200px) {
    body.bordered .title_excerpt {
        padding-right: 54%;
    }
}

@media only screen and (max-width: 767px) {
    body.bordered .title_excerpt {
        margin-top: -3em;
        padding: 0;
    }
}

.title-container.accent .title_excerpt, .title-container.main .title_excerpt {
    color: rgba(255, 255, 255, 0.9);
}

.title-container.accent .title_excerpt, .title-container.main .title_excerpt, .title-container.custom .title_excerpt {
    width: 60%;
}

body.has_thumbnail.display_thumbnail:not(.woocommerce):not(.archive):not(.blog) .title-container.custom h1 {
    color: #ffffff;
}

body.center_page_title .title-container.accent .title_excerpt, body.center_page_title .title-container.main .title_excerpt, body.center_page_title .title-container.custom .title_excerpt {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

body.center_page_title.transparent_header_margin .title-container.accent .title_excerpt, body.center_page_title.transparent_header_margin .title-container.main .title_excerpt, body.center_page_title.transparent_header_margin .title-container.custom .title_excerpt {
    margin-bottom: 3em;
}

@media only screen and (min-width: 600px) and (max-width: 1024px) {
    .title_excerpt {
        width: 80%;
    }
}

@media only screen and (max-width: 599px) {
    .title_excerpt {
        width: 100%;
    }
}

body.page-template-template-standard-no-header-margin .title-container {
    margin-bottom: 0 !important;
}

/* Stretched Page Template
*****************************************************************************/

.main-content {
    text-align: left;
}

.vc_row-fluid[data-vc-full-width="true"] {
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
}

.vc_row .vc_column-inner .vc_row.vc_inner.no-spacing {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
}

.vc_row .vc_column-inner .vc_row.vc_inner.no-spacing .wpb_column {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.vc_row .vc_column-inner .vc_row.vc_inner.no-spacing .vc_column-inner {
    padding-right: 20px;
    padding-left: 20px;
}

.vc_row[data-vc-stretch-content] .vc_column-inner {
    padding-right: 20px;
    padding-left: 20px;
}

img.attachment-large, img.attachment-medium, img.attachment-thumbnail {
    border-radius: 0;
}

.dark-bg, .vc_row-has-fill.dark-bg {
    color: rgba(255, 255, 255, 0.85);
}

.footer-shortcode .dark-bg {
    color: rgba(255, 255, 255, 0.8);
}

.footer-shortcode .dark-bg a {
    color: rgba(255, 255, 255, 1);
}

.footer-shortcode .dark-bg a:not(.button):hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Fit column contents to main container (VC column setting) */

.vc_column_container.fit-column > .vc_column-inner > .wpb_wrapper {
    width: calc(100% / 2);
    padding-left: 20px;
    padding-right: 20px;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .vc_column_container.fit-column > .vc_column-inner > .wpb_wrapper {
        width: 100%;

    }
}

@media only screen and (max-width: 767px) {
    .vc_column_container.fit-column > .vc_column-inner > .wpb_wrapper {
        width: 100%;
    }
}

@media only screen and (min-width: 1110px) {
    .vc_column_container.fit-column > .vc_column-inner > .wpb_wrapper {
        width: calc(100% / 2);
    }
}

@media only screen and (min-width: 1346px) {
    .vc_column_container.fit-column > .vc_column-inner > .wpb_wrapper {
        width: calc(1280px / 2);
    }
}

/* Tags all in one plugin */

.tags-all-in-one {
    line-height: 1.8em;
}

/* WP Smart Preloader Plugin */

body.ajax-page.wp-smart-body {
    visibility: visible !important;
}

/* Official MailChimp WordPress Plugin */

#mc_subheader {
    margin-top: -1em;
    margin-bottom: 2em;
    line-height: 1.4em;
}

#mc-indicates-required {
    margin-bottom: 1em;
}

.mc_error_msg {
    margin-bottom: 1em;
    display: inline-block;
}

.mc_signup_submit input[type="submit"] {
    margin-bottom: 2em;
}

#mc_unsub_link, #mc_display_rewards {
    font-size: 0.86em;
}

/* MailChimp for WordPress Plugin  ---------- */
/* One of the shittest plugins ever made */

form.mc4wp-form {
    margin-bottom: 0;
}

mc4wp-form p {
    display: none;
}

.mc4wp-form-fields {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 0;
}

.mc4wp-form-fields input {
    margin-bottom: 1rem;
}

.mc4wp-form-fields input[type="email"] {
    width: 100%;
}

body.standard-form-inputs .mc4wp-form-fields input[type="submit"],
body.white-form-inputs .mc4wp-form-fields input[type="submit"] {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 1rem;
    line-height: inherit;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-bottom: 0;
}

.mc4wp-form-fields label {
    margin-bottom: 0.2em;
    display: none;
}

.mc4wp-form-fields p {
    margin-bottom: 1em;
}

body.center_page_title .mc4wp-response {
    text-align: center;
}

/* Tablet & Low Res Desktop CSS
*****************************************************************************/

@media only screen and (max-width: 768px) {
    .basix_icon_text.title-left-icon .icon i {
        display: block;
        line-height: 1.4em;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    /* Main Container
    ----------------------------------- */
    .main-container {
        width: 100%;
        margin: 0 auto 0 auto;

    }
    body.contained .main-container {
        width: 100%;
    }
    body.contained .header {
        width: 100%;
    }
    body.contained {
        background-image: none;
    }
    /* Tablet Content Width
    ----------------------------------- */
    .content-width {
        width: 100%;
        padding-left: 25px;
        padding-right: 25px;
    }
    /* Hide Desktop Navigation
    ----------------------------------- */
    .topnav.main {
        display: none !important;
    }
    .topnav.members {
        display: inline-block !important;
    }
    .mobilenav li {
        width: 100%;
        margin: 0 auto;
    }
    /* Footer
    ----------------------------------- */
    .widget_basix_newsletter_widget .textbox {
        padding-right: 40%;
    }
    /* Sliders
    ----------------------------------- */
    .slide-outer {
        padding-top: 0 !important;
    }
    .slide-style-1 h1 {
        font-size: 48px;
        line-height: 52px;
        width: 90%;
    }
    .slide-style-1 p {
        font-size: 20px;
        line-height: 30px;
        margin-top: 16px;
        width: 60%;
    }
    .slide-style-3 .left-column {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    /* 1/4 Sidebar
    ----------------------------------- */
    .column-one-fourth.sidebar {
        width: 33.33333% !important;
    }
    div[class*="column-"].main-column {
        width: 66.66666% !important;
    }
}

/* Smartphones CSS
*****************************************************************************/

@media only screen and (max-width: 767px) {
    body {
        /* Stop iPhone increasing text size as it sees fit! */
        -webkit-text-size-adjust: 100%;
    }
    body:not(.woocommerce.archive) .main-content h2 {
        font-size: 1.7rem;
    }
    body.page-template-template-blog-grid-no-sidebar-featured:not(.paged) .blog-list.grid li.grid-item:first-child .inner-title {
        font-size: 1.7rem !important;
    }
    body .main-content h3 {
        font-size: 1.15em;
    }
    body .main-content h4 {
        font-size: 1em;
    }

    /* Main Container
    ----------------------------------- */
    .main-container {
        margin: 0 auto 0 auto;
    }
    body.contained .main-container {
        width: 100%;
    }
    body.contained .header {
        width: 100%;
    }
    body.contained {
        background-image: none;
    }
    /* Content Container
    ----------------------------------- */
    .main-content {
        width: 100%;
    }
    /* Mobile Padding Classes
    ----------------------------------- */
    .mobile-top-margin {
        margin-top: 10px;
    }
    /* Grids
    ----------------------------------- */
    .grid-holder ul li {
        display: inline-block;
        margin-bottom: 26px;
    }
    /* Title Bar
    ----------------------------------- */
    .main-content .title-container {
        margin-top: 0;
    }
    body.page-template-template-home-php .main-content-inner {
        padding-top: 0;
    }
    /* Mobile Content Width
    ----------------------------------- */
    .content-width {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    /* Hide Desktop Navigation
    ----------------------------------- */
    .topnav:not(.header_cart) {
        display: none !important;
    }
    .topnav.members {
        display: inline-block !important;
    }
    /* Mobile Nav
    ----------------------------------- */
    .mobilenav li:first-child {
        border-top: none;
    }
    /* Columns
    ----------------------------------- */
    .column-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .column-full-width, .column-one-half, .column-one-third, .column-one-fourth, .column-one-fifth, .column-one-sixth, .column-two-third, .column-three-qtr {
        width: 100% !important;
        margin-bottom: 2em;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Footer Infobar
    ----------------------------------- */
    .footer-infobar {
        font-size: 1em;
    }
    /* Footer
    ----------------------------------- */
    .footer-lower-container {
        border-top: 0 !important;
        margin-top: 0;
    }
    .footer-lower-inner {
        padding-top: 1.5em;
    }
    .footer {
        font-size: 1em;
    }
    .footer .column-one-half, .footer .column-one-third, .footer .column-one-fourth, .footer .column-one-fifth, .footer .column-one-sixth {
        margin-bottom: 2rem;
    }
    .footer .column-container {
        padding-bottom: 0;
    }
    .footer .column-container > div:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    .footer-lower li {
        float: none;
        margin: 0;
        border: 0;
    }
    .footer-lower li a {
        float: none;
        margin-right: 0;
        display: block;
        padding: 16px 0;
        width: 100%;
    }
    .footer-lower li:last-child {
        margin-bottom: 30px;
    }
    .footer.light .footer-lower li a {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    .footer.dark .footer-lower li a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .footer .widget {
        padding-bottom: 3rem;
    }
    /* Widgets
    ----------------------------------- */
    .portfolio-widget-container {
        overflow: hidden;
        width: auto;
        margin-left: -5px;
        margin-right: -5px;
    }
    .portfolio-widget-item {
        width: calc(100% / 3);
        padding: 0 5px 10px 5px !important;
        float: left;
    }
    .portfolio-widget-item img {
        width: 100%;
        height: auto;
    }
    .widget_basix_newsletter_widget .textbox {
        padding-right: 62px;
    }
    /* Sidebar
    ----------------------------------- */
    .sidebar {
        margin-top: -20px;
        padding-top: 35px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .light-bg .sidebar {
        border-top: 3px solid #E2E2E2;
    }
    .dark-bg .sidebar {
        border-top: 3px solid rgba(255, 255, 255, 0.15);
    }
    /* Blog Comment Form
    ----------------------------------- */
    .comment-form input {
        width: 100%;
    }
    /* Contact Form
    ----------------------------------- */
    .contactform input {
        width: 100%;
        margin-right: 0;
    }
    .contactform .column-full-width, .contactform .column-one-half, .contactform .column-one-third, .contactform .column-one-fourth, .contactform .column-one-fifth {
        margin-bottom: 0;
    }
    /* CTA Bars
    ----------------------------------- */
    .cta-bar-text {
        display: block;
    }
    .cta-bar-button {
        display: block;
        padding-left: 0;
        margin-top: 20px;
    }
    .cta-bar-button a.button {
        float: left;
    }
    /* Carousels
    ----------------------------------- */
    .wpb_column:last-child .jcarousel-outer {
        margin-bottom: 0 !important;
    }
    /* Portfolio
    ----------------------------------- */
    #portfolio > li:last-child {
        padding-bottom: 0;
    }
    /* Portfolio Back/Next
    ----------------------------------- */
    .jcarousel-nav.portfolio {
        top: 54px;
    }
}