/* TABLE OF CONTENTS:

2. Default tag's settings
3. Form fields settings
4. WP styles and Screen readers
5. Theme grid
6. Page layouts
7. Section's decorations
   7.1 Header: Logo and Menu
   7.2 Sliders
   7.3 Post info (page/post title, category or tag name, author, meta, etc.)
   7.4 Post Formats
   7.5 Paginations
8. Single page parts
   8.1 Post header
   8.2 Post footer
   8.3 Post author
   8.4 Related posts
   8.5 Comments
   8.6 Page 404
   8.7 Page 'No search results' and 'No archive results'
   8.8 Author's page
9. Sidebars
10. Footer areas
11. Utils
12. Registration and Login popups
13. Third part plugins

-------------------------------------------------------------- */


@import "../../../css/_mixins.scss";
@import "../../../css/_theme-vars.scss";


/* 2. Default tag's settings
-------------------------------------------------------------- */

html {
    font-size: 16px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

article,
aside,
details,
footer,
header,
hgroup,
nav,
section {
    display: block;
}


/* Lists */
li > p + p {
    margin-top: 0.5em;
}

ol,
ul {
    padding-left: 1.5em;
    font-weight: 500;
}

li > ol,
li > ul,
dl > dd {
    margin-bottom: 0;
}

li > p {
    margin-bottom: 0;
}


/* Links */
a {
    text-decoration: none;
    background: transparent;
}

a,
a:hover,
:focus,
a:focus,
:active,
a:active {
    outline: 0;
}

body.show_outline :focus,
body.show_outline a:focus {
    outline: thin dotted !important;
}

a img {
    border: none;
}

a,
button,
input[type="button"],
input[type="submit"] {
    @include transition-colors;
}

h1 > a,
h2 > a,
h3 > a,
h4 > a,
h5 > a,
h6 > a {
    display: block;
}


a[href="javascript:void(0)"] {
    cursor: default;
}

/* Tables */
table {
    border-collapse: collapse;
}

table td,
table th {
    padding: 1.7em;
    font-weight: 400;
}

table th {
    border: none;
    text-align: center;
}

table td {
    border: 1px solid #ddd;
    text-align: center;
}

table > p {
    margin: 0 !important;
}

table thead + tbody > tr:first-child > td {
    border-top: none;
}


.sc_table {
    overflow-x: inherit;
}

.sc_table table tr:first-child th,
.sc_table table tr:first-child td {
    font-weight: 400;
}

caption {
    font-weight: 500;
    text-align: center;
}


/* Blockquotes*/
blockquote {
    position: relative;
    text-align: left;
}

figure.wp-block-pullquote {
    @include border-radius(5px);
}

blockquote,
blockquote[class*="wp-block-quote"][class*="is-style-"],
blockquote[class*="wp-block-quote"][class*="is-"],
.wp-block-quote:not(.is-large):not(.is-style-large),
.wp-block-freeform.block-library-rich-text__tinymce blockquote,
.wp-block-quote.is-style-large:not(.is-style-plain) {
    padding: 3.25em 3.25em 3.35em 8.2em;
    @include border-box;
    @include border-radius(5px);

    .wp-block-column & {
        padding: 2.25em 2.25em 2.35em 4.2em;
    }
}

.sidebar_inner, .footer_wrap {
    blockquote {
        margin-left: 0;
        margin-right: 0;
        padding-right: 2em!important;
        p.has-background {
            padding: 7px;
        }
    }
}

blockquote:before {
    content: '\e9a3';
    font-family: $theme_icons;
    font-size: 1.75em;
    display: block;
    @include abs-lt(2.3em, 2.2em);

    .wp-block-column & {
        @include abs-lt(.8em, 1.6em);
    }
}

blockquote[class*="wp-block-quote"][class*="is-style-large"],
blockquote[class*="wp-block-quote"][class*="is-large"] {
    margin: 0 0 2em 0;
}

.wp-block-pullquote.is-style-solid-color > blockquote,
.wp-block-column blockquote {
    margin: 0 !important;
    max-width: none !important;
}

.blog_mode_post blockquote,
.blog_mode_page blockquote {
    margin: 2em 0;
}

.blog_mode_page blockquote {
    margin-top: 8px;
}

.blog_mode_post .comments_list blockquote,
.blog_mode_page .comments_list blockquote {
    margin: 1.2em 0;
}

blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: """";
}

blockquote p {
    margin: 0;
    @include font(24px, 1.417em, 400);
}

blockquote > cite,
blockquote > p > cite,
blockquote > .wp-block-pullquote__citation,
.wp-block-quote .wp-block-quote__citation {
    display: block;
    @include font(14px, 1.35em, 500, normal);
    text-transform: none;
    margin-top: 1.38em;
    letter-spacing: 0;
}

blockquote .block-library-pullquote__content {
    margin-bottom: 2.5em;
}

.wp-block-quote.is-large .wp-block-quote__citation {
    text-align: right;
    font-size: inherit;
}

.wp-block-pullquote {
    padding: 0;
}

.wp-block-pullquote[class*="align"] blockquote {
    margin-left: 0;
    margin-right: 0;
}

blockquote .wp-block-pullquote__citation {
    margin-top: 0;
}


/* Other tags */
dd {
    margin-left: 1.5em;
}

dt,
b,
strong {
    font-weight: bold;
}

dfn,
em,
i {
    font-style: italic;
}

pre,
code,
kbd,
tt,
var,
samp {
    font-family: "Courier New", Courier, monospace;
    font-size: 1em;
    letter-spacing: 0;
}

pre {
    overflow: auto;
    max-width: 100%;
}

code {
    overflow: auto;
    max-width: 100%;
    padding: 4px 1em;
    border: 1px solid #888;
    background-color: #f7f7f7;
    display: inline-block;
    vertical-align: middle;
    word-wrap: break-word;
}

pre > code {
    display: block;
    vertical-align: top;
    padding: 1em;
}

abbr,
acronym {
    border-bottom: 1px dotted;
    cursor: help;
}

mark,
ins {
    background-color: transparent;
    text-decoration: none;
}

sup,
sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    bottom: 1ex;
}

sub {
    top: .5ex;
}

small {
    font-size: 80%;
}

big {
    font-size: 120%;
}

[hidden],
template {
    display: none;
}

hr {
    @include content-box;
    height: 0;
    border: none;
    border-top: 1px solid #eee;
    margin: 6.7857em 0 !important;
}

.wp-block-separator:not([class*="is-style"]) {
    width: 15%;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.wp-block-gallery .blocks-gallery-image figure,
.wp-block-gallery .blocks-gallery-item figure {
    @include flex;
    @include flex-direction(column);
    @include flex-align-items(flex-start); // Old value is center
    @include flex-justify-content(flex-start);
    @include border-radius(4px);

    > img {
        @include border-radius(4px);
    }
}

img[class*="wp-image"],
.wp-block-image figure,
.wp-block-image figure > img {
    @include border-radius(4px);
}

.wp-block-gallery[class*="align"] {
    @include flex;
}

figure,
.wp-caption,
.wp-caption-overlay .wp-caption {
    border: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    @include flex;
    @include flex-direction(column);
    @include flex-align-items(center);
    @include flex-justify-content(flex-start);
}

figure:not([class*="align"]) {
    @include flex-align-items(flex-start);
}

.wp-block-image {
    @include border-radius(4px);
    margin-bottom: 30px;
}

figure figcaption,
.wp-block-image figcaption,
.wp-block-audio figcaption,
.wp-block-video figcaption,
.wp-block-embed figcaption,
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption,
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption,
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption,
.wp-caption .wp-caption-text,
.wp-caption .wp-caption-dd,
.wp-caption-overlay .wp-caption .wp-caption-text,
.wp-caption-overlay .wp-caption .wp-caption-dd {
    @include font(16px, 20px, 500, normal);
    @include border-box;
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    display: block;
    width: 100%;
    margin: 0;
    text-align: left;
    padding: 12px 0 8px !important;
    background: none;
    max-height: 6em;
    overflow-x: hidden;
    overflow-y: auto;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{
	font-size: 12px;
}

.alignfull figure figcaption,
.wp-block-image.alignfull figcaption,
.wp-block-audio.alignfull figcaption,
.wp-block-video.alignfull figcaption,
.wp-block-embed.alignfull figcaption,
.wp-block-gallery.alignfull .blocks-gallery-image figcaption,
.wp-block-gallery.alignfull .blocks-gallery-item figcaption,
.alignfull .wp-caption .wp-caption-text,
.alignfull .wp-caption .wp-caption-dd,
.alignfull .wp-caption-overlay .wp-caption .wp-caption-text,
.alignfull .wp-caption-overlay .wp-caption .wp-caption-dd {
	padding: 6px !important;
}

.wp-block-image .alignleft figcaption,
img.alignleft figcaption,
.wp-block-image .alignright figcaption,
img.alignright figcaption,
.wp-block-image .aligncenter figcaption,
img.aligncenter figcaption,
.wp-block-image.is-resized figcaption {
    display: block;
}

.wp-block-freeform.block-library-rich-text__tinymce dd.wp-caption-dd a {
    display: inline;
}

.wp-caption > img {
    @include border-radius(5px);
}

svg:not(:root) {
    overflow: hidden;
}

/* Gallery */
.gallery {
    margin: 0 -5px;
    @include flex;
    @include flex-direction(row);
    @include flex-align-items(flex-start);
    @include flex-justify-content(center);
    @include flex-wrap(wrap);
}

.gallery-item {
    overflow: hidden;
    @include border-box;
}

figure.gallery-item {
    @include flex-align-items(center);
}

@for $i from 9 through 1 {
    .gallery-columns-#{$i} .gallery-item {
        width: 100% / $i !important;
    }
}

.gallery-item a {
    display: block;
    @include border-radius(4px);
}

.gallery-item a img {
    border: none !important;
    display: block;
    width: 100%;
    @include border-radius(4px);
}

.gallery-item .gallery-caption {
    left: 0;
    right: 0;
	 padding: 6px 0 0 !important;
    @include box-sizing(border-box);
    @include transform-none;
}

.gallery-columns-9 .gallery-caption {
    font-size: 0.8em;
}

.gallery-columns-8 .gallery-caption {
    font-size: 0.8em;
}

.gallery-columns-7 .gallery-caption {
    font-size: 0.9em;
}

.gallery-columns-6 .gallery-caption {
    font-size: 0.9em;
}

figcaption.blocks-gallery-caption {
    padding-top: 0 !important;
    margin-bottom: 1.2em;
}

.textwidget img {
    @include border-radius(4px);

}

figure, .wp-caption{
  margin-bottom: 1em;
}

/* Audio and Video */
audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

iframe,
video,
embed {
    max-width: 100%;
    min-height: 100px;
    vertical-align: top;
}

.wp-block-embed.alignwide iframe,
.wp-block-embed.alignfull iframe {
    width: 100%;
}

figure.wp-block-audio {
    margin-bottom: 1.2em;
}

figure.wp-block-audio,
figure.wp-block-video,
figure.wp-block-embed {
    video {
        overflow: hidden;
        @include border-radius(4px);
    }

    overflow: visible;
    @include border-radius(4px);
}

figure.wp-block-audio {
    display: block;
}

figure.wp-block-audio figcaption,
figure.wp-block-video figcaption,
figure.wp-block-embed figcaption {
    margin: 1em 0 0 !important;
    padding: 0 !important;
}


/* Embed blocks */
.wp-block-embed.wp-has-aspect-ratio {
    display: block;
}

.wp-block-embed .wp-block-embed__wrapper {
    position: relative;
    max-width: 100%;
}

.wp-block-embed.alignwide .wp-block-embed__wrapper iframe,
.wp-block-embed.alignfull .wp-block-embed__wrapper iframe,
.wp-block-embed[class*="wp-embed-aspect-"] .wp-block-embed__wrapper iframe {
    @include abs-cover;
    @include box(100%, 100%);
    @include border-radius(4px);
}

.wp-block-embed.is-type-video.alignwide .wp-block-embed__wrapper:before,
.wp-block-embed.is-type-video.alignfull .wp-block-embed__wrapper:before,
.wp-block-embed.is-type-video[class*="wp-embed-aspect-"] .wp-block-embed__wrapper:before {
    content: "";
    display: block;
    width: 0;
}

.wp-block-embed.is-type-video.alignwide .wp-block-embed__wrapper:before,
.wp-block-embed.is-type-video.alignfull .wp-block-embed__wrapper:before,
.wp-block-embed.is-type-video.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before {
    padding-top: 56.25%;
}

.wp-block-embed.is-type-video.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before {
    padding-top: 42.85%;
}

.wp-block-embed.is-type-video.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,
.wp-block-embed.is-type-video.wp-embed-aspect-2-1 .wp-block-embed__wrapper:before {
    padding-top: 50%;
}

.wp-block-embed.is-type-video.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before {
    padding-top: 75%;
}

.wp-block-embed.is-type-video.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before {
    padding-top: 100%;
}

.wp-block-embed.is-type-video.wp-embed-aspect-3-4 .wp-block-embed__wrapper:before {
    padding-top: 133.33%;
}

.wp-block-embed.is-type-video.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before {
    padding-top: 177.77%;
}

.wp-block-embed.is-type-video.wp-embed-aspect-9-18 .wp-block-embed__wrapper:before,
.wp-block-embed.is-type-video.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before {
    padding-top: 200%;
}

.wp-block-embed.is-type-video.wp-embed-aspect-9-21 .wp-block-embed__wrapper:before {
    padding-top: 233.33%;
}

/* WordPress Playlist */
.wp-playlist .wp-playlist-current-item img {
    background-color: #fff;
}

/* Blocks */
.has-large-font-size,
.has-huge-font-size {
    line-height: 1.4em;
}


/* Fontello icons */
[class^="icon-"]:before,
[class*=" icon-"]:before {
    @include font(inherit, inherit !important, inherit, inherit);
    display: inline-block;
    vertical-align: top;
    width: auto;
    margin: 0;
}


/* 3. Form fields settings
-------------------------------------------------------------- */

/* Common rules */
form {
    margin-bottom: 0;
}

button,
input,
optgroup,
select,
textarea,
textarea.wp-editor-area {
    font-family: inherit;
    font-size: 1em;
    /* Corrects font size not being inherited in all browsers */
    margin: 0;
    /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
    vertical-align: baseline;
    /* Improves appearance and consistency in all browsers */
}

button {
    overflow: visible;
}

/* Buttons */
#btn-buy,
form button:not(.components-button),
input[type="button"],
input[type="reset"],
input[type="submit"],
.theme_button,
.post_item .more-link,
/* BB PRess */
#buddypress .comment-reply-link,
#buddypress .generic-button a,
#buddypress a.button,
#buddypress button,
#buddypress input[type="button"],
#buddypress input[type="reset"],
#buddypress input[type="submit"],
#buddypress ul.button-nav li a,
#buddypress div.activity-meta a,
a.bp-title-button,
/* Booked */
body #booked-profile-page input[type="submit"],
body #booked-profile-page button,
body .booked-list-view input[type="submit"],
body .booked-list-view button,
body table.booked-calendar input[type="submit"],
body table.booked-calendar button,
body .booked-modal input[type="submit"],
body .booked-modal button,
/* Learn Press */
button.write-a-review,
.learnpress-page .lp-button,
.learnpress-page .wishlist-button,
/* MailChimp */
.mc4wp-form .mc4wp-form-fields input[type="submit"],
/* ThemeREX Addons*/
.sc_button,
.sc_form button,
.sc_portfolio_preview_show .post_readmore,
/* Tour Master */
.tourmaster-tour-search-wrap input.tourmaster-tour-search-submit[type="submit"],
/* Tribe Events */
#tribe-bar-form .tribe-bar-submit input[type="submit"],
#tribe-bar-form.tribe-bar-mini .tribe-bar-submit input[type="submit"],
#tribe-bar-form button,
#tribe-bar-form a,
#tribe-bar-form input,
#tribe-bar-form .tribe-bar-views-toggle,
#tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a,
.tribe-bar-mini #tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a,
#tribe-events .tribe-events-button,
.tribe-events-button,
.tribe-events-cal-links a,
.tribe-events-sub-nav li a,
.tribe-events-read-more,
#tribe-events-footer ~ a.tribe-events-ical.tribe-events-button,
/* EDD buttons */
.edd_download_purchase_form .button,
#edd-purchase-button,
.edd-submit.button,
.widget_edd_cart_widget .edd_checkout a,
/* WooCommerce buttons */
.woocommerce .button,
.woocommerce-page .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce input[type="button"],
.woocommerce-page input[type="button"],
.woocommerce input[type="submit"],
.woocommerce-page input[type="submit"],
.woocommerce .woocommerce-message .button,
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart .button,
.woocommerce #review_form #respond p.form-submit input[type="submit"],
.woocommerce-page #review_form #respond p.form-submit input[type="submit"],
.woocommerce table.my_account_orders .order-actions .button,
.woocommerce table.cart td.actions .button,
#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button,
/* Disabled state */
.woocommerce #respond input#submit.disabled,
.woocommerce #respond input#submit:disabled,
.woocommerce #respond input#submit[disabled]:disabled,
.woocommerce a.button.disabled,
.woocommerce a.button:disabled,
.woocommerce a.button[disabled]:disabled,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button[disabled]:disabled,
.woocommerce input.button.disabled,
.woocommerce input.button:disabled,
.woocommerce input.button[disabled]:disabled,
.yith-woocompare-widget a.clear-all,
.sc_igenerator_form_field_prompt .sc_igenerator_form_field_inner .sc_igenerator_form_field_prompt_button,
.sc_tgenerator_form_field_prompt .sc_tgenerator_form_field_inner .sc_tgenerator_form_field_prompt_button,
.sc_chat_form_field_prompt .sc_chat_form_field_inner .sc_chat_form_field_prompt_button{
    -webkit-appearance: none;
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    @include font(16px, 20px, 500);
    @include border-box;
    text-transform: none;
    white-space: nowrap;
    padding: 1.23em 1.9em;
    letter-spacing: 0;
    height: auto;
    border-width: 0 !important;
    max-width: 100%;
    @include border-radius(4px);
}

.cc-btn {
    border-width: 0 !important;
}

.sc_button.sc_button_size_small,
.theme_button.theme_button_small {
    padding: 0.8em 1.6em;
}

.wp-block-cover,
.wp-block-cover-image {
    @include border-radius(4px);
}

.wp-block-cover-image,
.wp-block-cover {
    color: #fff;
}

/* Bordered button */
.sc_button.sc_button_bordered,
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: none !important;
}
.sc_button.sc_button_bordered {
    border-width: 2px !important;
    padding: 1.3em 2.8em;
}

.sc_layouts_row_type_narrow .sc_button.sc_button_bordered,
.sc_layouts_row_type_narrow .wp-block-button.is-style-outline > .wp-block-button__link {
    padding: 0.8em 1.8em;
}

.sc_button.sc_button_bordered.sc_button_size_small {
    padding: 0.6em 1.4em;
}

/* Simple button */
.sc_button_simple {
    @include font(16px, 20px, 500, normal);
    letter-spacing: 0;
    text-transform: none;
    border: none;
    padding: 0 1.1em 0 0;
}

.sc_button_simple:before,
.sc_button_simple:after {
    content: '\e93a';
    font-family: $theme_icons;
    font-style: normal;
}

.sc_button.sc_button_simple:before,
.sc_button.sc_button_simple:after {
    content: '\e9aa';
    font-family: $theme_icons;
    font-style: normal;
    font-weight: 400;
    margin: 0;
    line-height: 20px;
    color: inherit;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    font-size: 8px;
    @include transition-all(0.3s);
}

.ua_gecko {

    .sc_button.sc_button_simple:before,
    .sc_button.sc_button_simple:after {
        top: 1px;
    }
}

.sc_button.sc_button_simple:before {
    right: 15px;
    opacity: 0;
}

.sc_button.sc_button_simple:hover:after {
    opacity: 0;
    right: -15px;
}

.sc_button.sc_button_simple:hover:before {
    opacity: 1;
    right: 0;
}


/* Buttons in widgets */

.widget.woocommerce .buttons {
    margin-top: 2em;
}

.widget.woocommerce .buttons .button {
    width: 47%;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;

    + .button {
        margin-left: 6%;
    }
}

.widget.woocommerce .button + .button {
    margin-left: 3px;
}

/* Text fields */
.fileform .wpcf7-file,
input[type="text"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="password"],
input[type="search"],
select,
textarea,
textarea.wp-editor-area,
/* MailChimp */
form.mc4wp-form .mc4wp-form-fields input[type="email"],
/* Tour Master */
.tourmaster-form-field input[type="text"],
.tourmaster-form-field input[type="email"],
.tourmaster-form-field input[type="password"],
.tourmaster-form-field textarea,
.tourmaster-form-field select,
.tourmaster-form-field.tourmaster-with-border input[type="text"],
.tourmaster-form-field.tourmaster-with-border input[type="email"],
.tourmaster-form-field.tourmaster-with-border input[type="password"],
.tourmaster-form-field.tourmaster-with-border textarea,
.tourmaster-form-field.tourmaster-with-border select,
/* WooCommerce */
.woocommerce table.cart td.actions .coupon .input-text,
.woocommerce #content table.cart td.actions .coupon .input-text,
.woocommerce-page table.cart td.actions .coupon .input-text,
.woocommerce-page #content table.cart td.actions .coupon .input-text,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select,
/* BB Press*/
#buddypress div.dir-search input[type="search"],
#buddypress div.dir-search input[type="text"],
#buddypress li.groups-members-search input[type="search"],
#buddypress li.groups-members-search input[type="text"],
#buddypress .standard-form input[type="color"],
#buddypress .standard-form input[type="date"],
#buddypress .standard-form input[type="datetime-local"],
#buddypress .standard-form input[type="datetime"],
#buddypress .standard-form input[type="email"],
#buddypress .standard-form input[type="month"],
#buddypress .standard-form input[type="number"],
#buddypress .standard-form input[type="password"],
#buddypress .standard-form input[type="range"],
#buddypress .standard-form input[type="search"],
#buddypress .standard-form input[type="tel"],
#buddypress .standard-form input[type="text"],
#buddypress .standard-form input[type="time"],
#buddypress .standard-form input[type="url"],
#buddypress .standard-form input[type="week"],
#buddypress .standard-form select,
#buddypress .standard-form textarea,
/* Give */
#give-recurring-form .form-row input[type="email"],
#give-recurring-form .form-row input[type="password"],
#give-recurring-form .form-row input[type="tel"],
#give-recurring-form .form-row input[type="text"],
#give-recurring-form .form-row input[type="url"],
#give-recurring-form .form-row select,
#give-recurring-form .form-row textarea,
form.give-form .form-row input[type="email"],
form.give-form .form-row input[type="password"],
form.give-form .form-row input[type="tel"],
form.give-form .form-row input[type="text"],
form.give-form .form-row input[type="url"],
form.give-form .form-row select,
form.give-form .form-row textarea,
form[id*="give-form"] .form-row input[type="email"],
form[id*="give-form"] .form-row input[type="password"],
form[id*="give-form"] .form-row input[type="tel"],
form[id*="give-form"] .form-row input[type="text"],
form[id*="give-form"] .form-row input[type="url"],
form[id*="give-form"] .form-row select,
form[id*="give-form"] .form-row textarea,
form[id*="give-form"] .give-donation-amount #give-amount,
form[id*="give-form"] .give-donation-amount #give-amount-text,
form[id*="give-form"] #give-final-total-wrap .give-final-total-amount,
form[id*="give-form"] .give-donation-amount .give-currency-symbol,
form[id*="give-form"] .give-donation-amount .give-currency-symbol.give-currency-position-before,
form[id*="give-form"] .give-donation-amount .give-currency-symbol.give-currency-position-after,
form[id*="give-form"] #give-final-total-wrap .give-donation-total-label {
    padding: 1.1em 1.8em;
    border: 1px solid #ddd;
    @include border-radius(4px);
}

textarea,
textarea.wp-editor-area {
    overflow: auto;
    /* Removes default vertical scrollbar in IE6/7/8/9 */
    vertical-align: top;
    /* Improves readability and alignment in all browsers */
    min-height: 10em;
}

/* Text fields in widgets */
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input,
.widget input[type="text"],
.widget input[type="number"],
.widget input[type="email"],
.widget input[type="url"],
.widget input[type="tel"],
.widget input[type="password"],
.widget input[type="search"],
.widget select,
.widget textarea,
.widget textarea.wp-editor-area {
    padding: 1em 1.2em;
}

input[placeholder]::-webkit-input-placeholder,
textarea[placeholder]::-webkit-input-placeholder {
    text-overflow: ellipsis;
}

input[placeholder]::-moz-placeholder,
textarea[placeholder]::-moz-placeholder {
    text-overflow: ellipsis;
}

input[placeholder]:-ms-input-placeholder,
textarea[placeholder]:-ms-input-placeholder {
    text-overflow: ellipsis;
}

input[placeholder]::placeholder,
textarea[placeholder]::placeholder {
    text-overflow: ellipsis;
}

input[placeholder],
textarea[placeholder] {
    text-overflow: ellipsis;
}

textarea,
textarea.wp-editor-area,
select,
option,
input[type="text"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="password"],
input[type="checkbox"],
input[type="radio"],
.sc_igenerator_form_field_prompt input[type="text"],
.sc_tgenerator_form_field_prompt input[type="text"],
.sc_chat_form_field_prompt input[type="text"],
.sc_tgenerator_text {
    @include transition-colors;
    @include border-box;
    @include border-radius(4px);
}

input[type="checkbox"],
input[type="radio"] {
    padding: 0;
    /* Addresses excess padding in IE8/9 */
}

input[type="number"]::-webkit-outer-spin-button {
    height: 50%;
}

input[type="number"],
input[type="search"] {
    -webkit-appearance: none;
    /* Addresses appearance set to searchfield in S5, Chrome */
    -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
    border: 0;
    padding: 0;
}

button[disabled],
html input[disabled] {
    cursor: default !important;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="password"],
input[type="search"],
select,
textarea,
.sc_igenerator_form_field_prompt input[type="text"],
.sc_tgenerator_form_field_prompt input[type="text"],
.sc_chat_form_field_prompt input[type="text"],
.sc_tgenerator_text {
    -webkit-appearance: none;
    outline: none;
    resize: none;
}

button:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus,
.sc_igenerator_form_field_prompt input[type="text"]:focus,
.sc_tgenerator_form_field_prompt input[type="text"]:focus,
.sc_chat_form_field_prompt input[type="text"]:focus,
.sc_tgenerator_text:focus {
    outline: 0;
}

body.show_outline {

    button:focus,
    input:focus,
    select:focus,
    textarea:focus,
    textarea.wp-editor-area:focus {
        outline: thin dotted !important;
    }
}

/* Radio buttons and checkboxes */
.mc4wp-form input[type="checkbox"],
input[type="radio"],
input[type="checkbox"],
.edd_price_options ul > li > label > input[type="radio"],
.edd_price_options ul > li > label > input[type="checkbox"],
.wpcf7-radio input[type="radio"],
.wpcf7-checkbox input[type="checkbox"],
.wpcf7-acceptance input[type="checkbox"] {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    margin: 0 !important;
    padding: 0 !important;
}

label > input[type="radio"],
label > input[type="checkbox"],
input[type="checkbox"].wpcf7-acceptance {
    display: inline-block;
    vertical-align: baseline;
    position: static !important;
    clip: auto;
}

.wpcf7-radio .wpcf7-list-item-label,
.wpcf7-checkbox .wpcf7-list-item-label {
    cursor: pointer;
}

.edd_price_options ul > li > label > input[type="radio"] + span,
.edd_price_options ul > li > label > input[type="checkbox"] + span {
    display: inline-block;
    vertical-align: baseline;
}

.mc4wp-form label:has( > input[type="checkbox"] ),
#gdpr_woo_consent_field label.woocommerce-form__label-for-checkbox:has( > input[type="checkbox"] ),
label.woocommerce-form__label-for-checkbox > input[type="checkbox"] + span,
input[type="radio"] + label,
input[type="checkbox"] + label,
input[type="radio"] + .wpcf7-list-item-label,
input[type="checkbox"] + .wpcf7-list-item-label,
.edd_price_options ul > li > label > input[type="radio"] + span,
.edd_price_options ul > li > label > input[type="checkbox"] + span,
.gdpr-terms-container {
    position: relative;
    padding-left: 34px;
    line-height: 1.4em;
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
}

label.woocommerce-form__label-for-checkbox > input[type="checkbox"] + span {
    font-size: 20px;
}

.wpcf7-list-item-label.wpcf7-list-item-right {
    position: relative;
    padding-right: 1.4em;
    display: inline-block;
    vertical-align: top;
}

label.woocommerce-form__label-for-checkbox > input[type="checkbox"] {
    display: none !important;
}
#gdpr_woo_consent_field label.woocommerce-form__label-for-checkbox input[type="checkbox"] {
    display: block!important;
}

.mc4wp-form label:has( > input[type="checkbox"] ):before,
label.woocommerce-form__label-for-checkbox > input[type="checkbox"] + span:before,
input[type="radio"] + label:before,
input[type="checkbox"] + label:before,
input[type="radio"] + .wpcf7-list-item-label:before,
input[type="checkbox"] + .wpcf7-list-item-label:before,
.wpcf7-list-item-label.wpcf7-list-item-right:before,
.edd_price_options ul > li > label > input[type="radio"] + span:before,
.edd_price_options ul > li > label > input[type="checkbox"] + span:before,
.gdpr-terms-container input[type="checkbox"]:before,
#gdpr_woo_consent_field label input[type="checkbox"]:before {
    content: ' ';
    font-family: $theme_icons;
    font-size: 0.625em;
    display: block;
    text-align: center;
    border: 1px solid #e6e9e9;
    @include box(1.8em, 1.8em, 1.8em);
    @include abs-lt(0, 0.25em);
    @include border-radius(50%);
    @include box-sizing(border-box);
    background: #fff;
    color: #4f5252;
}

body.show_outline {

    input[type="radio"]:focus + label:before,
    input[type="checkbox"]:focus + label:before,
    input[type="radio"]:focus + .wpcf7-list-item-label:before,
    input[type="checkbox"]:focus + .wpcf7-list-item-label:before,
    .edd_price_options ul > li > label > input[type="radio"]:focus + span:before,
    .edd_price_options ul > li > label > input[type="checkbox"]:focus + span:before {
        outline: 0 !important;
        box-shadow: 0 0 0 1px #000;
    }
}

.wpcf7-list-item-label.wpcf7-list-item-right:before {
    left: auto;
    right: 0;
}

input[type="radio"] + label:before,
input[type="radio"] + .wpcf7-list-item-label:before,
.wpcf7-radio .wpcf7-list-item-label.wpcf7-list-item-right:before,
.edd_price_options ul > li > label > input[type="radio"] + span:before {
    @include border-round;
}

.mc4wp-form label:has( > input[type="checkbox"]:checked ):before,
label.woocommerce-form__label-for-checkbox > input[type="checkbox"]:checked + span:before,
input[type="checkbox"]:checked + label:before,
input[type="checkbox"]:checked + .wpcf7-list-item-label:before,
.wpcf7-checkbox .wpcf7-list-item-checked.wpcf7-list-item-right:before,
.edd_price_options ul > li > label > input[type="checkbox"]:checked + span:before,
.gdpr-terms-container input[type="checkbox"]:checked:before,
#gdpr_woo_consent_field label input[type="checkbox"]:checked:before {
    content: '\e9a9';
}

input[type="radio"]:checked + label:before,
input[type="radio"]:checked + .wpcf7-list-item-label:before,
.wpcf7-radio .wpcf7-list-item-checked.wpcf7-list-item-right:before,
.edd_price_options ul > li > label > input[type="radio"]:checked + span:before {
    content: '\e9a9';
}


/* GDPR */
.cc-header {
    margin-right: 1em;
}
.cc-revoke, .cc-window {
    z-index: 999999;
}

.woocommerce form .form-row label.checkbox,
.woocommerce-page form .form-row label.checkbox,
.comment-form .wpgdprc-checkbox {
    display: inline-block;
}
.comment-form .wpgdprc-checkbox label,
.comment-form .gdpr-terms-container,
.comment-form .comments_field.comments_i_agree_privacy_policy label {
    position: relative;
    font-weight: 400;
}
#gdpr_woo_consent_field label input[type="checkbox"],
.gdpr-terms-container input[type="checkbox"] {
    display: block;
    position: absolute !important;
    top: 0;
    left: 0;
    clip: auto;
    visibility: hidden;
    appearance: none;
}
#gdpr_woo_consent_field label input[type="checkbox"]:before,
.gdpr-terms-container input[type="checkbox"]:before {
    visibility: visible;
    cursor: pointer;
}

.gdpr-terms-container {
    clear: both;
    margin: 1em 0 !important;
}

.comments_field.comments_i_agree_privacy_policy {
    clear: both;
}

/* Select container (dropdown) */
select {
    text-overflow: ellipsis;
    white-space: nowrap;
}

select::-ms-expand {
    display: none;
}

/* Hide all select fields while page loading */
select:not(.esg-sorting-select):not([class*="trx_addons_attrib_"]):not([size]) {
	visibility:hidden;
}
/* Show all select fields when they inside an our wrapper */
.select_container select:not(.esg-sorting-select):not([class*="trx_addons_attrib_"]):not([size]) {
	visibility:visible;
}

.wc-blocks-components-select .select_container .wc-blocks-components-select__select {
    line-height: 2em!important;
}
.wc-block-components-checkbox .wc-block-components-checkbox__label, .wc-block-components-checkbox > span {
    padding-left: 1em;
}

/* Our wrapper to decorate select fields */
.select_container {
    width: 100%;
    position: relative;
}

.select_container,
.select_container:after,
.select_container select {
    @include transition-all;
}

.select_container:before {
    content: ' ';
    display: block;
    @include abs-pos(2px, 2px, 2px, auto);
    width: 3em;
    z-index: 1;
    pointer-events: none;
    cursor: pointer;
}

.sc_input_hover_accent .select_container::before {
    right: 2px;
    top: 2px;
    bottom: 2px;
    @include border-sharp;
}

.select_container:after {
    content: '\e828';
    font-family: $theme_icons;
    display: block;
    @include abs-rt(1.5em, 50%, 2);
    @include square(1em);
    margin-top: -0.4em;
    pointer-events: none;
    cursor: pointer;
}

.select_container select {
    background: none !important;
    width: 100% !important;
    max-width: none !important;
    padding-right: 3em !important;
    @include border-box;
}

.widget .select_container select {
    padding-right: 2em !important;
    padding-top: 0.75em;
    padding-bottom: 0.75em;
}

.widget .select_container:before {
    width: 2em;
}

.widget .select_container:after {
    right: 0.5em;
}

/* Select2 - Advanced select with search */
.select2-container {
    width: 100% !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0;
}

.select2-container .select2-selection--single{
    height: auto;
    border: 1px solid #ddd;
    padding: 0.4985em 0 0.4985em 1.4em;
    @include border-radius(4px);
	 margin: 0;
	 padding: 1.063em 1.8em;
	 box-sizing: border-box;
	 line-height: 1.5em;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    display: inline-block;
}

.select2-container--default .select2-selection--single span.select2-selection__rendered {
    color: inherit;
    line-height: inherit;
	 padding-left: 0;
}

.select2-container.select2-container--default .select2-selection .select2-selection__arrow {
    top: 50%;
    @include translateY;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 15px;
}

.select2-drop-active {
    border: none;
}

.select2-dropdown {
    border: 1px solid #ddd;
}

.select2-search {
    padding: 10px;
}


.select2-results__option {
    padding: 5px 10px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #f75389;
}



.shipping-calculator-form {
    p {
        position: relative;
    }

    #calc_shipping_state_field > .select_container {
        position: absolute;
        height: 100%;
    }
}

/* Required fields */
label.required:after {
    content: '*';
    display: none;
    vertical-align: text-top;
    font-size: 80%;
    color: #da6f5b;
}

/* Field set */
fieldset {
    padding: 1em 1.5em;
    margin: 1.5em 0.2em;
    border: 1px solid #ddd;
    position: relative;
}

fieldset legend {
    @include abs-lt(1.5em, -0.6em);
    background-color: #fff;
    font-weight: 400;
    font-style: italic;
    padding: 0 0.2em;
    letter-spacing: 0;
}




/* 4. WP styles and Screen readers
-------------------------------------------------------------- */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    margin: 0 !important;
    padding: 0 !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
    display: block;
    top: 5px;
    left: 5px;
    @include box(auto, auto);
    @include font(0.8em, normal);
    padding: 1em 1.5em;
    color: inherit;
    background-color: #f1f1f1;
    border-radius: 3px;
    clip: auto !important;
    text-decoration: none;
    /* Above WP toolbar */
    z-index: 100000;
    @include box-shadow(0 0 2px 2px rgba(0, 0, 0, 0.6));
}

.fribbo_skip_link {
    @include abs-lt(6px, 6px, 999999);
    @include translateY(-100px);
    @include transition-property(transform);
}

.fribbo_skip_link:focus {
    @include translateY(0);
    outline-offset: -1px;
    display: block;
    @include box(auto, auto);
    font-size: 1em;
    font-weight: 400;
    padding: 1em 1.5em;
    background: #f1f1f1;
    color: #0073aa;
    line-height: normal;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
}

a.fribbo_skip_link_anchor {
    position: absolute;
    @include box(0, 0);
}

.alignleft {
    display: inline-block;
    vertical-align: top;
    float: left;
    margin-right: 2em !important;
    margin-bottom: 1em !important;
}

.alignright {
    display: inline-block;
    vertical-align: top;
    float: right;
    margin-left: 2em !important;
    margin-bottom: 1em !important;
}

.aligncenter {
    display: block;
    text-align: center;
    clear: both;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 1em !important;
}

figure.alignleft,
figure.alignright {
    margin-top: 0.5em !important;
}

.wp-block-gallery.alignleft,
.wp-block-gallery.aligncenter,
.wp-block-gallery.alignright {
    @include flex;
}





/* 5. Theme grid
-------------------------------------------------------------- */
.container,
.container-fluid {
    margin-right: auto;
    margin-left: auto;
    padding-left: $grid_gap / 2;
    padding-right: $grid_gap / 2;
}

.row,
.columns_wrap {
    margin-left: 0px;
    margin-right: -$grid_gap;
}

.row > [class*="column-"],
.columns_wrap > [class*="column-"] {

    display: inline-block;
    vertical-align: top;

    position: relative;
    z-index: 20;

    min-height: 1px;
    padding-left: 0px;
    padding-right: $grid_gap;
    @include border-box;
}

.row.columns_padding_left,
.columns_wrap.columns_padding_left,
.vc_row.columns_padding_left {
    margin-left: -$grid_gap;
    margin-right: 0;
}

.vc_row.columns_padding_left .vc_column_container > .vc_column-inner,
.row.columns_padding_left > [class*="column-"],
.columns_wrap.columns_padding_left > [class*="column-"],
.row > [class*="column-"].columns_padding_left,
.columns_wrap > [class*="column-"].columns_padding_left {
    padding-left: $grid_gap;
    padding-right: 0;
}

.vc_row.columns_padding_right,
.row.columns_padding_right,
.columns_wrap.columns_padding_right {
    margin-left: 0;
    margin-right: -$grid_gap;
}

.vc_row.columns_padding_right .vc_column_container > .vc_column-inner,
.row.columns_padding_right > [class*="column-"],
.columns_wrap.columns_padding_right > [class*="column-"],
.row > [class*="column-"].columns_padding_right,
.columns_wrap > [class*="column-"].columns_padding_right {
    padding-left: 0;
    padding-right: $grid_gap;
}

.vc_row,
.row.columns_padding_center,
.columns_wrap.columns_padding_center {
    margin-left: -$grid_gap / 2;
    margin-right: -$grid_gap / 2;
}

.vc_column_container > .vc_column-inner,
.row.columns_padding_center > [class*="column-"],
.columns_wrap.columns_padding_center > [class*="column-"],
.row > [class*="column-"].columns_padding_center,
.columns_wrap > [class*="column-"].columns_padding_center {
    padding-left: $grid_gap / 2;
    padding-right: $grid_gap / 2;
}

.row.columns_padding_bottom > [class*="column-"],
.columns_wrap.columns_padding_bottom > [class*="column-"],
.row > [class*="column-"].columns_padding_bottom,
.columns_wrap > [class*="column-"].columns_padding_bottom {
    padding-bottom: $grid_gap;
}

.row.columns_padding_bottom.columns_in_single_row > [class*="column-"],
.columns_wrap.columns_padding_bottom.columns_in_single_row > [class*="column-"] {
    padding-bottom: 0;
}

.sc_blogger.no_margin .row,
.sc_blogger.no_margin .columns_wrap,
.row.no_margin,
.columns_wrap.no_margin {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.sc_blogger.no_margin .row > [class*="column-"],
.sc_blogger.no_margin .columns_wrap > [class*="column-"],
.row.no_margin > [class*="column-"],
.columns_wrap.no_margin > [class*="column-"] {
    padding: 0 !important;
}

/* Columns, push, pull and offset sizes */
@for $i from 1 through 12 {
    @for $j from $i through 12 {
        $s: 100% / $j * $i;

        @if $j==1 {

            .column-#{$i},
            .column-#{$i}_#{$j} {
                width: $s;
            }
        }

        @else {
            .column-#{$i}_#{$j} {
                width: $s;
            }

            @if ($i < $j) {
                .push-#{$i}_#{$j} {
                    left: $s
                }

                .pull-#{$i}_#{$j} {
                    right: $s;
                }

                .offset-#{$i}_#{$j} {
                    margin-left: $s;
                }
            }
        }
    }
}

/* Utils */

.clearfix:after,
.container:after,
.container-fluid:after,
.row:after,
.columns_wrap:after {
    content: " ";
    @include clear;
}

.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

.affix {
    position: fixed;
    @include translate3d(0, 0, 0);
}

.visible {
    visibility: visible;
}

.invisible {
    visibility: hidden;
}

.show {
    display: block !important;
}

.hide {
    display: none !important;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.text-hide {
    @include font(0, 0);
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.vertical-centered {
    overflow: hidden;
}

.vertical-centered:before {
    content: ' ';
    @include box(0, 100%);
    margin-left: -0.3em;
}

.vertical-centered:before,
.vertical-centered > * {
    display: inline-block;
    vertical-align: middle;
}

.fribbo_loading,
.trx_addons_loading {
    background-image: url(../../../images/preloader3.png) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.theme_button_close,
.trx_addons_button_close,
.review-form a.close {
    display: block;
    cursor: pointer;
    @include square(3rem);
    @include abs-rt;
    margin: 0 !important;
}

.sc_layouts_cart_widget_close {
    @include square(2rem);
}

.mfp-close,
.review-form a.close {
    text-indent: -100px;
    overflow: hidden !important;
    @include transition-property(transform);
    @include transform-origin(50% 50%);
}

.theme_button_close_icon,
.trx_addons_button_close_icon {
    @include abs-lt(25%, 25%, 2);
    @include square(50%);
    @include border-box;
    @include transition-property(transform);
    @include transform-origin(50% 50%);
}

.theme_button_close:hover .theme_button_close_icon,
.trx_addons_button_close:hover .trx_addons_button_close_icon,
.mfp-close:hover,
.review-form a.close:hover {
    @include rotate(-180deg);
}

.theme_button_close_icon:before,
.theme_button_close_icon:after,
.trx_addons_button_close_icon:before,
.trx_addons_button_close_icon:after,
.mfp-close:before,
.mfp-close:after,
.review-form a.close:before,
.review-form a.close:after {
    content: ' ';
    @include abs-lt(0, 50%);
    @include transform-origin(50% 50%);
    @include box(100%, 0);
    @include border-box;
    margin-top: -1px;
    border-top: 2px solid #fff;
    @include transition-property(border-color);
}

.mfp-close:before,
.mfp-close:after,
.review-form a.close:before,
.review-form a.close:after {
    left: 25%;
    width: 50%;
}

.theme_button_close_icon:before,
.trx_addons_button_close_icon:before,
.mfp-close:before,
.review-form a.close:before {
    @include rotate(45deg);
}

.theme_button_close_icon:after,
.trx_addons_button_close_icon:after,
.mfp-close:after,
.review-form a.close:after {
    @include rotate(-45deg);
}



/* 6. Page layouts
-------------------------------------------------------------- */
.page_wrap {
    min-height: 100vh;
    @include border-box;
}

.page_wrap,
.content_wrap {
    margin: 0 auto;
}

.body_style_boxed {
    background-color: #f0f0f0;
    background-attachment: fixed;
    @include bg-cover(center top);
}

.body_style_boxed .page_wrap {
    width: $page_boxed;
    max-width: 100%;
}

.page_content_wrap {
    padding-top: 120px;
    padding-bottom: 120px;
}

.remove_margins .page_content_wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.content_wrap,
.content_container {
    width: $page;
    max-width: 100%;
    margin: 0 auto;
}

.content_wrap .content_wrap,
.content_wrap .content_container,
.content_container .content_wrap,
.content_container .content_container {
    width: 100%;
}

.content_wrap:after,
.content_container:after {
    content: " ";
    @include clear;
}

.body_style_fullwide .content_wrap {
    max-width: $page_fullwide; // To prevent stretching content on the extra wide screen
    margin: 0 auto;
    width: 100% !important;
    padding-left: $paddings_fullwide;
    padding-right: $paddings_fullwide;
    @include border-box;
}

.content,
.sidebar,
.sidebar_inner {
    @include border-box;
}

.sidebar_fixed_placeholder {
    min-height: 1px;
}

.page_content_wrap .content_wrap,
.page_content_wrap .content_wrap_fullscreen {
    position: relative;
}

/* Content and Sidebar */
body.body_style_wide:not(.expand_content) [class*="content_wrap"] > .content,
body.body_style_boxed:not(.expand_content) [class*="content_wrap"] > .content {
    width: $content;
}


[class*="content_wrap"] > .sidebar {
    width: $sidebar;
}

.sidebar_hide [class*="content_wrap"] > .content {
    margin-left: auto;
    margin-right: auto;
}

.sidebar_right [class*="content_wrap"] > .content {
    float: left;
}

.sidebar_right [class*="content_wrap"] > .sidebar {
    float: right;
}

.sidebar_left [class*="content_wrap"] > .content {
    float: right;
}

.sidebar_left [class*="content_wrap"] > .sidebar {
    float: left;
}

/* Fullwide or Fullscreen with sidebar */
.body_style_fullwide [class*="content_wrap"] > .content,
.body_style_fullscreen [class*="content_wrap"] > .content {
    width: 100%;
}

.body_style_fullwide.sidebar_right [class*="content_wrap"] > .content,
.body_style_fullscreen.sidebar_right [class*="content_wrap"] > .content {
    padding-right: $gap + $sidebar;
}

.body_style_fullwide.sidebar_right [class*="content_wrap"] > .sidebar,
.body_style_fullscreen.sidebar_right [class*="content_wrap"] > .sidebar {
    margin-left: -$sidebar;
}

.body_style_fullwide.sidebar_left [class*="content_wrap"] > .content,
.body_style_fullscreen.sidebar_left [class*="content_wrap"] > .content {
    padding-left: $gap + $sidebar;
}

.body_style_fullwide.sidebar_left [class*="content_wrap"] > .sidebar,
.body_style_fullscreen.sidebar_left [class*="content_wrap"] > .sidebar {
    margin-right: -$sidebar;
}

.body_style_fullscreen .page_content_wrap {
    overflow: hidden;
    padding: 0;
    position: relative;
    /* Need to correct 'sticky' sidebar position */
}

/* Boxed style for articles and sidebar */
.body_style_fullscreen [class*="content_wrap"] > .content > article.page {
    padding: 0;
}

/* Sticky sidebar */
.fixed_blocks_sticky .sidebar {
    position: sticky;
    top: 0;
}

.fixed_blocks_sticky.admin-bar .sidebar {
    top: 32px;
}

/* Sidebar control to show/hide sidebar on mobile devices */
.sidebar_control {
    display: none;
}




/* 7. Section's decorations
=============================================================== */


/* 7.1 Header
-------------------------------------------------------------- */

/* Top panel */
.top_panel {
    position: relative;
    z-index: 8000; // Essential grid lightbox use 8010
    padding: 0.02px 0; // Incapsulate margins inside the block without 'overflow: hidden'. Min value is 0.01 for Firefox, 0.02 for Chrome
    @include bg-cover;
}

.top_panel .row > [class*="column-"],
.top_panel .columns_wrap > [class*="column-"] {
    vertical-align: middle;
}

.top_panel.with_bg_image:before {
    content: ' ';
    @include bg-mask(#000, 0.7, -1);
}


/* Background video in the header */
#background_video {
    object-fit: cover;
    overflow: hidden;
    @include abs-cc(-1 !important);
    @include box(100%, 100%);
}

div#background_video {
    position: absolute !important;
}

div#background_video:after {
    content: ' ';
    @include abs-lt(0, 0, 2);
    @include box(100%, 100%);
    background-color: rgba(255, 255, 255, 0.3);
}

div#background_video iframe,
div#background_video video {
    @include abs-cc(1,  !important);
    max-width: none;
}

#tubular-container {
    display: none;
}

.top_panel.with_bg_video {
    background: #000;
}


/* Header positions */
.header_position_over .page_wrap {
    position: relative;
}

.header_position_over .top_panel {
    @include abs-lt(0, 0, 8000);
    width: 100%;
}

.header_position_over .top_panel .sc_layouts_row[class*="scheme_"]:not(.sc_layouts_row_fixed_on) {
    background-color: transparent;
}

.header_position_under .top_panel {
    position: relative;
    z-index: 2;
    @include border-box;
}

.header_position_under .top_panel_mask {
    display: none;
    background-color: #000;
    opacity: 0;
    pointer-events: none;
    @include abs-cover(9999);
}

.header_position_under .page_content_wrap {
    position: relative;
    z-index: 4;
}

.header_position_under .footer_wrap {
    position: relative;
    z-index: 3;
}


/* Default header layouts
---------------------------------------------- */

/* Add transition to the default header */
.top_panel_default .sc_layouts_row_fixed_on {
    @include transition-property(padding);
}

.top_panel_default .sc_layouts_row .custom-logo-link img,
.top_panel_default .sc_layouts_row .sc_layouts_logo img {
    @include transition-property(max-height);
}

/* Main menu in the default header */
.top_panel_default .sc_layouts_menu_nav > li.menu-item-has-children > a:after {
    content: '\e828';
    font-family: $theme_icons;
}

.top_panel_default .sc_layouts_menu_nav li li.menu-item-has-children > a:after {
    content: '\e836';
    font-family: $theme_icons;
}

.top_panel_default .sc_layouts_menu_mobile_button .sc_layouts_item_icon:before {
    content: '\e8ba';
    font-family: $theme_icons;
}

/* Vertical menus */
.sc_layouts_menu_dir_vertical .sc_layouts_menu_nav li.menu-item-has-children > a > .open_child_menu {
    display: none;
    @include abs-rt(0, 0, 2);
    bottom: 0;
    width: 2.2em;
}


/* Side menu
----------------------------------------------------------- */
body.menu_side_present {
    width: auto;
    @include content-box;
}

body.menu_side_left {
    margin-left: 6rem;
}

body.menu_side_right {
    margin-right: 6rem;
}

.menu_side_present .body_wrap {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.menu_side_present .menu_side_wrap {
    @include fixed-pos(0, auto, 0, 0, 20000);
    width: 6rem;
    @include transition-properties(left, right);
}

.menu_side_right .menu_side_wrap {
    left: auto;
    right: 0;
}

.admin-bar .menu_side_wrap {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .menu_side_wrap {
        top: 46px;
    }
}

@media (max-width: 600px) {
    .admin-bar .menu_side_wrap {
        top: 0;
    }
}

.menu_side_wrap .menu_side_inner {
    display: block;
    @include abs-cover;
    @include border-box;
}

.menu_side_present .menu_side_wrap .sc_layouts_logo {
    display: block;
    padding: 25% 10%;
    text-align: center;
    border-bottom: 1px solid #ddd;
    position: relative;
    z-index: 1;
}

.menu_side_present .menu_side_wrap .logo_text {
    font-size: 1em;
    letter-spacing: 0;
    text-align: center;
    @include rotate(-90deg);
}

.menu_side_present .menu_side_wrap .logo_slogan {
    display: none;
}

.menu_side_wrap .menu_mobile_button {
    display: block;
    position: relative;
    left: 0;
    right: auto;
    top: 0;
}

.menu_side_wrap .menu_side_button {
    display: none;
    font-size: 16px;
    margin-top: -1.5em;
    overflow: hidden;
    cursor: pointer;
    @include abs-lt(-1.5em, 50%);
    @include square(3em);
    @include border-box;
    @include transition-properties(left, right);
}

.menu_side_right .menu_side_wrap .menu_side_button {
    text-align: left;
    padding-left: 10px;
    @include border-radius(4px 0 0 4px);
}

.menu_side_left .menu_side_wrap .menu_side_button {
    left: auto;
    right: -1.5em;
    text-align: right;
    padding-right: 10px;
    @include border-radius(0 4px 4px 0);
}

.menu_side_right .menu_side_wrap .menu_side_button:before {
    content: '\e837';
}

.menu_side_right .menu_side_wrap.opened .menu_side_button:before {
    content: '\e836';
}

.menu_side_left .menu_side_wrap .menu_side_button:before {
    content: '\e836';
}

.menu_side_left .menu_side_wrap.opened .menu_side_button:before {
    content: '\e837';
}


// TOC menu items
#toc_menu {
    display: none;
    @include abs-lt(50%, 50%, '');
    width: 100%;
    margin: -50% 0 0 -50%;
}

.toc_menu_item {
    position: relative;
    z-index: 1;
}

.toc_menu_item .toc_menu_icon {
    display: block;
    position: relative;
    color: #888;
    height: 1.5em;
    line-height: 1.5em;
    text-align: center;
}

.toc_menu_item .toc_menu_icon:before {
    display: inline-block;
    line-height: inherit;
    color: inherit;
}

.toc_menu_item .toc_menu_icon_default:before {
    content: ' ';
    margin-top: 0.75em;
    @include box(0.5em, 1px);
    background-color: #888;
}

.toc_menu_item:hover .toc_menu_icon,
.toc_menu_item_active .toc_menu_icon {
    color: #292929;
}

.toc_menu_item:hover .toc_menu_icon_default:before,
.toc_menu_item_active .toc_menu_icon_default:before {
    background-color: #292929;
}

.toc_menu_item_active .toc_menu_icon_default:before {
    width: 1.5em;
}

.toc_menu_item .toc_menu_description {
    @include abs-rt(-20em, 0, '');
    opacity: 0;
    white-space: nowrap;
    @include transition-all(.6s, ease-out);
}

.toc_menu_item:hover .toc_menu_description {
    right: 100%;
    margin-right: 1.5em;
    opacity: 1;
}

// TOC menu in the side menu
.menu_side_inner #toc_menu {
    display: block;
    position: relative;
    z-index: 0;
    @include transition-property(top);
}

.menu_side_icons #toc_menu {
    left: 0;
    top: 0;
    margin: 0;
}

.menu_side_icons .toc_menu_item .toc_menu_description {
    height: 6rem;
    @include font(1.0667em, 6rem, bold);
    text-transform: uppercase;
    top: 0;
}

.menu_side_icons .toc_menu_item:hover .toc_menu_description {
    margin-right: 0;
}

.menu_side_icons .toc_menu_item .toc_menu_description span {
    display: inline-block;
    vertical-align: middle;
    padding: 0 3em;
    letter-spacing: 1px;
}

.menu_side_icons .toc_menu_item .toc_menu_icon {
    @include box(100%, 6rem, 6rem);
    @include content-box;
    border-bottom: 1px solid #ddd;
}

.menu_side_icons .toc_menu_item .toc_menu_icon:before {
    @include font(2rem, inherit, normal);
}

.menu_side_dots #toc_menu .toc_menu_item .toc_menu_icon {
    text-align: center;
}

.menu_side_dots #toc_menu .toc_menu_item .toc_menu_icon_default:before {
    content: ' ';
    @include box(5px, 5px, inherit);
    @include border-round;
}

.menu_side_dots #toc_menu .toc_menu_item_active .toc_menu_icon_default:before {
    @include square(9px);
}

.menu_side_left .toc_menu_item .toc_menu_description {
    left: -20em;
    right: auto;
}

.menu_side_left .toc_menu_item:hover .toc_menu_description {
    left: 100%;
    right: auto;
}


/* Mobile header
---------------------------------------- */
.top_panel_mobile_info p {
    margin: 0;
}

/* Mobile menu
---------------------------------------- */
body.mobile_layout.menu_side_left {
    margin-left: 0;
}

body.mobile_layout.menu_side_right {
    margin-right: 0;
}

body.mobile_layout.menu_side_right .menu_side_wrap {
    right: -6rem;
}

body.mobile_layout.menu_side_left .menu_side_wrap {
    left: -6rem;
}

body.mobile_layout.menu_side_right .menu_side_wrap.opened {
    right: 0;
}

body.mobile_layout.menu_side_left .menu_side_wrap.opened {
    left: 0;
}

body.mobile_layout.menu_side_present .menu_side_wrap .menu_side_button {
    display: block;
}

body.mobile_layout.menu_side_left .menu_side_wrap .menu_side_button:hover {
    right: -2em;
}

body.mobile_layout.menu_side_right .menu_side_wrap .menu_side_button:hover {
    left: -2em;
}

.menu_mobile_overlay {
    display: none !important;
    @include fixed-mask(#000, 0.8);
    z-index: 100000;
}

.menu_mobile {
    @include fixed-lt(0, 0, 100002);
    @include box(100%, 0);
    @include transition-property(height);
}

.menu_mobile.opened {
    height: 100%;
}

.admin-bar .menu_mobile {
    top: 32px;
}

.admin-bar .menu_mobile.opened {
    height: calc(100% - 32px);
}

@media (max-width: 782px) {
    .admin-bar .menu_mobile {
        top: 46px;
    }

    .admin-bar .menu_mobile.opened {
        height: calc(100% - 46px);
    }
}

@media (max-width: 600px) {
    .admin-bar .menu_mobile {
        top: 0;
    }

    .admin-bar .menu_mobile.opened {
        height: 100%;
    }
}

.menu_mobile_inner {
    @include abs-cover;
    text-align: center;
    overflow: hidden;
}

.menu_mobile li > a {
    display: block;
}

.menu_mobile [class*="sc_fly_"]:not(.sc_fly_static) {
    position: static !important;
    @include transform-none;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
}

.menu_mobile:not(.opened) .theme_button_close_icon {
    @include transform(scale(0.2) rotate(-45deg));
}

.menu_mobile .sc_layouts_logo {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    margin: 4.4rem 0 0;
    font-size: 1em !important;
    /* Remove this rule if you want to zoom this logo too */
    max-width: 90%;
}

.menu_mobile .menu_mobile_nav_area {
    @include abs-lt(0, 48%, 1);
    @include box(100%, auto);
    @include translateY;
    max-height: 49%;
    padding-right: 20px;
    /* Hide scrollbar */
    overflow-y: scroll;
}

.menu_mobile .menu_mobile_nav_area ul {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    width: auto;
}

.menu_mobile .menu_mobile_nav_area ul ul {
    margin: 0;
    display: none;
}

.menu_mobile .menu_mobile_nav_area li {
    margin-bottom: 0;
    width: auto;
}

.menu_mobile .menu_mobile_nav_area li > a {
    @include font(1.25em, 1.5em);
    padding: 4px 2.4em 4px 0;
    letter-spacing: 0;
    position: relative;
    display: inline-block;
    width: 28rem;
    text-align: left;
    @include border-box;
}

.menu_mobile .menu_mobile_nav_area > ul > li > a {
    @include font(2em, 1.5em);
}

.menu_mobile .menu_mobile_nav_area li[class*="icon-"] {
    position: relative;
}

.menu_mobile .menu_mobile_nav_area > ul > li[class*="icon-"]:before {
    @include transition-color;
}

.menu_mobile .menu_mobile_nav_area > ul > li[class*="icon-"] > a {
    padding-left: 1.5em;
}

.menu_mobile .menu_mobile_nav_area > ul > li[class*="icon-"]:before {
    display: inline-block;
    padding: 0;
    width: 1em;
    line-height: inherit;
    @include abs-lt(2em, 0);
}

.menu_mobile .menu_mobile_nav_area > ul > li[class*="columns-"][class*="icon-"]:before {
    position: static;
    margin: 0 0 0 0.5em;
    float: left;
}

.menu_mobile .menu_mobile_nav_area > ul > li[class*="columns-"][class*="icon-"] > a {
    float: left;
    margin-left: -1.5em;
}

.menu_mobile .menu_mobile_nav_area > ul > li li > a {
    padding-left: 1em;
    padding-top: 0.15em;
    padding-bottom: 0.15em;
}

.menu_mobile .menu_mobile_nav_area > ul > li li[class*="icon-"]:before {
    @include abs-lc(4em);
}

.menu_mobile .menu_mobile_nav_area > ul > li li[class*="icon-"] > a {
    padding-left: 3.5em;
}

.menu_mobile .menu_mobile_nav_area > ul > li li[class*="image-"] > a {
    background-position: 1.6667em center;
    padding-left: 3.5em;
}

.menu_mobile .menu_mobile_nav_area > ul > li li li > a {
    padding-left: 2em;
}

.menu_mobile .menu_mobile_nav_area > ul > li li li[class*="icon-"]:before {
    @include abs-lc(5em);
}

.menu_mobile .menu_mobile_nav_area > ul > li li li[class*="icon-"] > a {
    padding-left: 4.5em;
}

.menu_mobile .menu_mobile_nav_area > ul > li li li[class*="image-"] > a {
    background-position: 1.6667em center;
    padding-left: 4.5em;
}

.menu_mobile .menu_mobile_nav_area > ul > li li li li > a {
    padding-left: 4em;
}

.menu_mobile .menu_mobile_nav_area > ul > li li li li[class*="icon-"]:before {
    @include abs-lc(6em);
}

.menu_mobile .menu_mobile_nav_area > ul > li li li li[class*="icon-"] > a {
    padding-left: 5.5em;
}

.menu_mobile .menu_mobile_nav_area > ul > li li li li[class*="image-"] > a {
    background-position: 1.6667em center;
    padding-left: 5.5em;
}

.menu_mobile .menu_mobile_nav_area li[class*="image-"] > a {
    background-position: 1em center;
    background-repeat: no-repeat;
    background-size: 1em;
    padding-left: 2.3em;
}

.menu_mobile .menu_mobile_nav_area > ul > li li.menu-delimiter {
    margin-top: 0 !important;
    padding-top: 0 !important;
    text-align: center;
    overflow: hidden;
}

.menu_mobile .menu_mobile_nav_area > ul > li li.menu-delimiter > a {
    overflow: hidden;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    padding-right: 0.5em;
    height: 1px;
}

.menu_mobile .menu_mobile_nav_area > ul > li li.menu-delimiter > a:before {
    content: ' ';
    display: block;
    border-top: 1px solid #f0f0f0;
    @include box(100%, 0);
}

.menu_mobile .menu_mobile_nav_area > ul > li li.menu-delimiter > a > * {
    display: none;
}

.menu_mobile .menu_mobile_nav_area .open_child_menu {
    display: block;
    @include abs-rt;
    @include square(1em);
    padding: 0.3em;
    @include transition-colors;
}

.menu_mobile .menu_mobile_nav_area li li .open_child_menu {
    background-color: transparent;
    padding: 0.5em;
}

.menu_mobile .menu_mobile_nav_area a:hover > .open_child_menu {
    outline: none;
}

.menu_mobile .menu_mobile_nav_area .open_child_menu:before {
    font-family: $theme_icons;
    content: '\e828';
}

.menu_mobile .menu_mobile_nav_area li.opened > a > .open_child_menu:before {
    content: '\e835';
}

// Layouts as submenu
.menu_mobile .menu_mobile_nav_area ul.sc_layouts_submenu {
    display: none;
    width: 26rem;
    text-align: left;
    padding: 1em;
    margin: 0 auto;
}

.menu_mobile .menu_mobile_nav_area ul.sc_layouts_submenu .sc_content {
    width: 100% !important;
}

.menu_mobile .menu_mobile_nav_area ul.sc_layouts_submenu .wpb_column:not([class*="vc_col-xs-"]),
.menu_mobile .menu_mobile_nav_area ul.sc_layouts_submenu .elementor-column:not([class*="elementor-xs-"]) {
    width: 100%;
    float: none;
}

.menu_mobile .menu_mobile_nav_area ul.sc_layouts_submenu .wpb_column:not([class*="vc_col-xs-"]) + .wpb_column:not([class*="vc_col-xs-"]),
.menu_mobile .menu_mobile_nav_area ul.sc_layouts_submenu .elementor-column:not([class*="elementor-xs-"]) + .elementor-column:not([class*="elementor-xs-"]) {
    margin-top: 2em;
}

.menu_mobile .search_mobile {
    @include abs-lb(50%, 8rem);
    width: 28rem;
    margin-left: -14.5rem;
}

.menu_mobile .search_mobile form {
    position: relative;
}

.menu_mobile .search_mobile .search_field {
    width: 100%;
    padding: 1.5em 3em 1.5em 1.5em !important;
}

.menu_mobile .search_mobile .search_submit {
    @include abs-pos(0, 0, auto, auto);
    font-size: 0.8667em;
    padding: 2em 1.8em;
    background-color: transparent;
}

.menu_mobile .socials_mobile {
    @include abs-lb(0, 4rem);
    text-align: center;
    display: block;
    width: 100%;
}

.menu_mobile .social_item {
    display: inline-block;
    margin: 1em 1em 0 0;
}

.menu_mobile .social_item:last-child {
    margin-right: 0;
}

.menu_mobile .social_item .social_icon {
    display: block;
    font-size: 1em;
    @include square(1em);
}

.menu_mobile_inner .social_item .social_icon {
    @include transition-all(0.3s);
}

.menu_mobile_close {
    @include square(5em);
}


/* Menu mobile 'Narrow' */
.menu_mobile_narrow {
    margin-top: 0;
    margin-left: -320px;
    @include box(320px, 100%);
    @include transition-properties(margin-left, margin-right);
}

.menu_mobile_narrow.opened {
    margin-left: 0;
}

.menu_side_right .menu_mobile_narrow {
    margin-right: -320px;
    margin-left: 0;
    left: auto;
    right: 0;
}

.menu_side_right .menu_mobile_narrow.opened {
    margin-right: 0;
}

.menu_mobile_narrow .menu_mobile_close {
    @include square(4em);
}

.menu_mobile_narrow .menu_mobile_nav_area li > a {
    @include font(1em, 1.5em);
    text-transform: none;
    letter-spacing: 0px;
    width: 18rem;
}

.menu_mobile_narrow .menu_mobile_nav_area > ul > li > a {
    @include font(1.25em, 1.5em);
}

.menu_mobile_narrow .menu_mobile_nav_area > ul > li > a > .open_child_menu:before {
    @include font(1em, inherit);
}

.menu_mobile_narrow .menu_mobile_nav_area li li .open_child_menu {
    padding: 0.4em;
}

.menu_mobile_narrow .search_mobile {
    width: 18rem;
    margin-left: -9rem;
}

/* Menu mobile in mobile layout */
.mobile_device .menu_mobile .menu_mobile_nav_area,
.mobile_layout .menu_mobile .menu_mobile_nav_area {
    position: relative;
    top: auto;
    max-height: none;
    margin: 4em 0 0;
    @include transform-none;
}

.mobile_device .menu_mobile .search_mobile,
.mobile_layout .menu_mobile .search_mobile {
    position: relative;
    bottom: auto;
    left: 0;
    margin: 3em auto 0;
}

.mobile_device .menu_mobile .socials_mobile,
.mobile_layout .menu_mobile .socials_mobile {
    position: relative;
    bottom: auto;
    margin: 1em 0 0;
}


/* Widgets in the Header
------------------------------------------------------------- */
.header_widgets_wrap {
    position: relative;
    z-index: 2;
}

.header_widgets_wrap.header_fullwidth {
    overflow: hidden;
}

.header_widgets_wrap.header_fullwidth .widget {
    margin-bottom: 0;
}



/* 7.2 Sliders
-------------------------------------------------------------- */
/* Revolution slider */
.slider_wrap .rev_slider_wrapper {
    z-index: 0;
}

.slider_alias_second,
.slider_alias_main {
    cursor: grab;
}




/* 7.3 Post info (page/post title, category or tag name, author, meta, etc.)
-------------------------------------------------------------- */

/* Common styles */
.blog_archive {
    padding-bottom: 3em;
}

.elementor-text-editor .blog_archive {
    padding-bottom: 0;
}

.post_item > .post_title {
    margin-top: 0;
}

.post_item .more-link,
.sc_portfolio_preview_show .post_readmore {
    margin-top: 2em;
}

/* Post info block */
.post_meta_label {
    display: none;
}

a.post_meta_item {
    @include transition-all(0.3s);
}

.post_meta .post_meta_item,
.post_meta .vc_inline-link {
    font-size: inherit; // Need for Gutenberg editor
    margin-left: 0;
    white-space: normal;
    @include transition-all(0.3s);
    display: inline-block;
}

.post_categories > a,
.post_meta .post_meta_item:not(.post_date):not(.post_author):not(.post_categories) {
    padding: 8px 11px;
    display: inline-block;
    @include border-radius(4px);
}

.post_meta .post_meta_item.post_share .socials_caption {
    padding: 8px 11px;
    margin: -8px -11px;
    @include border-radius(4px);
}

.ua_gecko {

    .post_meta .post_meta_item.post_categories,
    .post_meta .post_meta_item.post_author,
    .post_meta .post_meta_item.post_date {
        position: relative;
        top: 0.5px;
    }

    .post_meta.sc_layouts_meta {

        .post_meta .post_meta_item.post_categories,
        .post_meta .post_meta_item.post_author,
        .post_meta .post_meta_item.post_date {
            top: 0;
        }
    }
}

.post_meta_item.post_categories,
.post_meta_item.post_author,
.post_meta_item.post_date {
    font-size: 14px;
    line-height: 14px;
}

.post_meta .post_meta_item:after,
.post_meta .post_meta_item.post_edit:after,
.post_meta .vc_inline-link:after {
    content: '';
    margin: 0;
    padding: 0;
    display: inline-block;
}

.post_meta .post_meta_item {
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.post_meta .post_meta_item.post_date:not(:first-child) {
    margin-left: 8px;
}

.post_meta .post_meta_item.post_author:not(:first-child) {
    margin-left: 20px;
}

.post_meta_item.post_categories {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.post_meta .post_meta_item:last-child {
    margin-right: 0 !important;
}

.post_meta .post_meta_item:last-child:after,
.post_meta .post_meta_item.post_edit:last-child:after,
.post_meta .vc_inline-link:last-child:after {
    display: none;
}

.post_meta a.post_meta_item:before,
.post_meta .vc_inline-link:before,
.post_meta a.post_meta_item > .post_counters_number {
    margin-right: 6px;
    font-weight: 400;
    font-size: 12px;
}

.post_meta .vc_inline-link:before {
    content: '\e8bb';
    font-family: $theme_icons;
}

.post_meta .post_meta_views:before {
    content: '\e9a5';
    font-family: $theme_icons;
    font-size: 14px;
    line-height: 10px !important;
}

.post_meta .post_meta_comments:before {
    content: '\e9a7';
    font-family: $theme_icons;
    font-size: 11px !important;
}

.post_meta .post_meta_emotions:before {
    content: '\e9a4';
    font-family: $theme_icons;
    font-size: 11px;
}

.post_meta .post_meta_download:before {
    content: '\e9b3';
    font-family: $theme_icons;
    font-size: 11px;
}

.post_meta .post_meta_item .post_author_avatar {
    display: inline-block;
    vertical-align: middle;
    line-height: inherit;
    margin-right: 9px;
    margin-top: -2px;
}

.post_meta .post_meta_item .post_author_avatar > img {
    @include border-round;
    @include box(30px, 30px);
}

.post_meta .post_meta_item .post_meta_number + .post_meta_label {
    margin-left: 0.3em;
}

.post_categories > a {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 10px;
    font-size: 14px;
    line-height: 14px;
    text-transform: lowercase;
}

.post_categories > a:last-child {
    margin-right: 0;
}

/* Taxonomy */
.post_categories > a:has( > .trx_addons_extended_taxonomy_bg) {
    padding: 7px 11px 9px;
}
.trx_addons_extended_taxonomy_bg {
    padding: 7px 11px 9px;
    @include border-radius(4px);
    color: #ffffff;
    overflow: visible;
    display: inline-block;
    @include transition-all(0.3s);
}

.post_categories > a > .trx_addons_extended_taxonomy_bg {
    display: block;
    margin: -7px -11px -9px;
}




/* Socials share in the post meta */
.post_meta_item.post_share {
    @include transition-all(0.3s);
}

.post_share .social_items {
    font-size: 1em;
}

.socials_share.socials_type_drop .social_items {
    padding: 0.8em 1em;
}

.post_share .social_items .social_item .social_icon i {
    font-style: normal;
    text-transform: capitalize;
}

.post_meta .socials_share {
    display: inline;
    vertical-align: baseline;
}

.post_meta_item .socials_share .social_items {
    bottom: auto;
    top: 2.5em;
}

.post_meta_item .socials_share .social_items:before {
    bottom: auto;
    top: -5px;
    @include rotate(135deg);
}

/* Tabs (internal and Essential Grid) */
.mptt-navigation-tabs,
div.fribbo_tabs .fribbo_tabs_titles {
    list-style-type: none;
    padding: 0;
    text-align: center;
    letter-spacing: 0;
    margin: 0em 0 3em;
}

div.esg-filter-wrapper .esg-filterbutton,
.mptt-navigation-tabs li,
div.fribbo_tabs .fribbo_tabs_titles li {
    display: inline-block;
    margin: 0 0 3px;
    @include font(12px, 1.4em, normal);
    text-transform: uppercase;
    padding: 0;
    border: none;
    @include border-radius(0);
}

div.esg-filter-wrapper .esg-filterbutton:hover,
div.esg-filter-wrapper .esg-filterbutton.selected {
    @include box-shadow(none);
}

div.esg-filter-wrapper .esg-filterbutton + .esg-filterbutton,
.mptt-navigation-tabs li + li,
div.fribbo_tabs .fribbo_tabs_titles li + li {
    margin-left: 3px;
}

div.esg-filter-wrapper .esg-filterbutton > span,
.mptt-navigation-tabs li a,
div.fribbo_tabs .fribbo_tabs_titles li a,
div.fribbo_tabs .fribbo_tabs_titles li a.ui-tabs-anchor {
    display: block;
    float: none;
    padding: 1.75em 3em;
    @include transition-colors;
}

div.fribbo_tabs .fribbo_tabs_content {
    padding: 0;
}

div.fribbo_tabs .fribbo_tab_content_remove {
    opacity: 0;
}

div.fribbo_tabs .nav-links {
    margin-top: 1em;
}

/* Post's banners */
.page_content_wrap {
    position: relative;
}

.content .before_post_header_banner_wrap {
    margin-bottom: 2em;
}

.content .after_post_header_banner_wrap {
    margin-bottom: 2em;
}

.custom-background .page_content_wrap {
    background-color: transparent !important;
}

.custom-background .content_wrap > .content,
.background_banner_wrap ~ .content_wrap > .content {
    padding: 4rem;
    @include border-box;
}

/* Post featured block */
.post_featured {
    overflow: hidden;
    position: relative;
    margin-bottom: 1.6em;
    @include border-radius(4px);
}

.post_featured > p {
    margin: 0;
    height: 0;
}

.post_featured_bg {
    @include bg-cover;
}

.post_featured_bg:before {
    content: ' ';
    @include box(0, 0);
    padding-top: 56.25%;
    display: inline-block;
    vertical-align: top;
    margin-left: -0.3em;
}

.post_featured_right {
    float: right;
    width: 50%;
    margin-left: 4.3478%;
}

.post_featured_left {
    float: left;
    width: 50%;
    margin-right: 4.3478%;
}

.post_featured .mask {
    background-color: #f5f7f7;
}


/* 7.4 Post Formats
-------------------------------------------------------------- */

/* Sticky posts */
.sticky_wrap {
    margin-bottom: 5em;
    position: relative;
    z-index: 1; // Need to place share menu over next post
}

.sticky {
    position: relative;
    border: 2px solid #ddd;
    padding: 2em;
    @include border-radius(4px);
    overflow: hidden;
}

.sidebar_hide .sticky_wrap .sticky,
.body_style_fullwide .sticky_wrap .sticky,
.body_style_fullscreen .sticky_wrap .sticky {
    text-align: center;
}

.sticky .label_sticky {
    display: block;
    @include abs-rt(-14px, -14px);
    @include box(0, 0);
    border: 12px solid transparent;
    border-top-color: #ddd;
    @include rotate(225deg);
}

.sticky_wrap .sticky .post_featured {
    display: inline-block;
}

.sticky_wrap .sticky .post_categories {
    margin-top: 1em;
}

.sticky_wrap .sticky .post_title {
    margin-top: 0.5em;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Post with password */
.post-password-form label {
    display: inline-block;
    vertical-align: top;
}

.post-password-form input[type="submit"] {
    display: inline-block;
    margin-left: 0.2em;
    font-size: 1em;
    line-height: calc(1.5em + 2px);
    padding: 1.1em 1.9em;
}


/* Media elements
-------------------------------------- */
// Media elements hook for Safary
.me-plugin {
    position: absolute;
    @include box(0, 0);
}

.mejs-controls {
    padding: 0;
}

.mejs-horizontal-volume-total,
.mejs-time-buffering,
.mejs-time-current,
.mejs-time-hovered,
.mejs-time-loaded,
.mejs-time-marker,
.mejs-time-total {
    height: 6px !important;
}

.mejs-time-handle-content {
    border-width: 3px;
    height: 6px;
    width: 6px;
}

.mejs-time-float-corner {
    display: none;
}

.mejs-controls .mejs-time {
    font-weight: 400;
    font-size: 16px;
}

.mejs-controls {
    padding: 5px !important;
}

.audio_info + .audio_wrap,
.trx_addons_audio_player {
    .mejs-controls {
        padding: 0 !important;
    }
}

.mejs-container.mejs-audio,
.mejs-controls {
    height: 45px !important;
}

.mejs-horizontal-volume-total {
    top: 15px;
}

body:not(.trx_addons_present) {

    .mejs-container.mejs-audio,
    .mejs-controls {
        height: 54px !important;
    }

    .mejs-controls {
        padding: 9px !important;
    }
}

.mejs-container .mejs-controls,
.mejs-container {
    @include border-radius(4px);
}

.wp-video .mejs-container {
    overflow: hidden;
}

.wp-video .mejs-container .mejs-controls {
    @include border-radius(0);
}

// Icons instead bg image
.mejs-button {
    width: 40px;
    @include border-radius(4px);
}

.mejs-controls .mejs-button > button {
    background: none !important;
    padding: 0 !important;
    text-align: center;
    @include font(16px, 38px);
    width: 37px;
    height: 37px;
    text-indent: 1px;
    @include border-radius(50%);
    @include box-shadow(0 0 16px 0 rgba(0, 0, 0, 0.1));
    margin: -1px 0 0 0 !important;
}

.mejs-controls .mejs-playpause-button.mejs-play > button,
.mejs-controls .mejs-playpause-button.mejs-replay > button,
.mejs-controls .mejs-playpause-button.mejs-pause > button {
    font-size: 15px;
    text-indent: 2px;
}

.mejs-controls .mejs-playpause-button.mejs-play > button,
.mejs-controls .mejs-playpause-button.mejs-replay > button {
    text-indent: 4px;
}

.mejs-controls .mejs-playpause-button.mejs-play > button:before,
.mejs-controls .mejs-playpause-button.mejs-replay > button:before {
    content: '\e9ad';
    font-family: $theme_icons;
}

.mejs-controls .mejs-playpause-button.mejs-pause > button:before {
    content: '\e9b0';
    font-family: $theme_icons;
}

.mejs-controls .mejs-volume-button.mejs-mute > button:before {
    content: '\e9b2';
    font-family: $theme_icons;
}

.mejs-controls .mejs-volume-button.mejs-unmute > button:before {
    content: '\e9b1';
    font-family: $theme_icons;
}

.mejs-controls .mejs-button.mejs-fullscreen-button > button:before {
    content: '\f0b2';
    font-family: $theme_icons;
}

.mejs-controls .mejs-button.mejs-unfullscreen > button:before {
    content: '\e918';
    font-family: $theme_icons;
}

.wp-playlist .mejs-container .mejs-controls {
    background: rgba(0, 0, 0, 0.7);
}

// Time
.mejs-controls .mejs-time {
    margin-top: -3px;
    padding-left: 17px;
    padding-right: 0;

    &.mejs-duration-container {
        padding-left: 0;
        padding-right: 17px;
    }
}

.mejs-button.mejs-volume-button {
    margin-right: 7px !important;
}


/* Audio */
.format-audio .post_featured {
    position: relative;
    max-height: 26em;
}

.single .format-audio .post_featured {
    max-height: none;
}

.format-audio .post_featured img {
    position: relative;
}

.format-audio .post_featured.with_thumb .mask {
    background-color: rgba(0, 0, 0, 0.6);
}

.format-audio .post_featured .mask {
    opacity: 1;
}

.format-audio .post_featured .post_audio.with_iframe .post_audio_author,
.format-audio .post_featured .post_audio.with_iframe .post_audio_title,
.sc_layouts_blog_item_featured .post_featured .post_audio.with_iframe .post_audio_author,
.sc_layouts_blog_item_featured .post_featured .post_audio.with_iframe .post_audio_title {
    display: none;
}

.format-audio .post_featured .post_audio_author,
.trx_addons_audio_player .audio_author,
.sc_layouts_blog_item_featured .post_featured .post_audio_author {
    @include font(1em, '', 500, normal);
}

.trx_addons_audio_player .audio_author,
.sc_layouts_blog_item_featured .audio_author {
    margin-left: 0;
    margin-right: 0;
    text-transform: none;
}

.format-audio .post_featured .post_audio_title,
.trx_addons_audio_player .audio_caption,
.sc_layouts_blog_item_featured .post_featured .post_audio_title {
    @include font(24px, 1.35em, 400);
    letter-spacing: 0;
    text-transform: none;
}

.format-audio .post_featured .post_audio_title {
    font-size: 24px;
    line-height: 1.35em;
    margin-top: 0.7em;
    margin-bottom: 1.4em;
}

.trx_addons_audio_player .audio_author,
.trx_addons_audio_player .audio_caption {
    margin: 0 0 1em;
}

.format-audio .post_featured.with_thumb .post_audio_author,
.trx_addons_audio_player.with_cover .audio_author,
.format-audio .post_featured.with_thumb .post_audio_title,
.trx_addons_audio_player.with_cover .audio_caption,
.sc_layouts_blog_item_featured .post_featured.with_thumb .post_audio_author,
.sc_layouts_blog_item_featured .post_featured.with_thumb .post_audio_title {
    color: #ffffff;
}

.vc_row .trx_addons_audio_player .audio_caption {
    @include font(1.2em, 1.35em);
}

.trx_addons_audio_player .audio_author + .audio_caption {
    margin: 0 0 0.8em;
}

.format-audio .post_featured.with_thumb .post_audio,
.sc_layouts_blog_item_featured .post_featured.with_thumb .post_audio {
    @include abs-pos(auto, 6%, 2em, 6%, 1000);
    text-align: left;
}

.format-audio .post_featured.without_thumb .post_audio:not(.with_iframe),
.sc_layouts_blog_item_featured .post_featured.without_thumb .post_audio:not(.with_iframe) {
    padding: 3.5em 3.7em;
    border: none
}

/* Shortcode "Audio" */
.trx_addons_audio_player {
    padding: 3.5em 3.7em 3.4em;
}

.trx_addons_audio_player.without_cover {
    border: none;
}

// Media elements
.post_featured.with_thumb .mejs-container,
.post_featured.with_thumb .mejs-controls,
.post_featured > div > .mejs-container,
.post_featured > div > .mejs-container .mejs-controls,
.post_featured > div > div > .mejs-container,
.post_featured > div > div > .mejs-container .mejs-controls,
.trx_addons_audio_player.with_cover .mejs-container,
.trx_addons_audio_player.with_cover .mejs-controls {
    background: none;
}

.sidebar .mejs-controls .mejs-time,
.footer_wrap .mejs-controls .mejs-time {
    display: none;
}

.mejs-button > button {
    @include border-sharp;
    background-color: transparent !important;
}

/* Video */
.post_featured.without_thumb {
    display: block;
}

.post_featured.with_thumb {
    position: relative;
}

.post_featured.with_thumb .post_video,
.sc_layouts_blog_item_featured .post_featured.with_thumb .post_video {
    @include flex;
    @include flex-align-items(center);

    @include abs-cover;
    @include transition-all;
    text-align: center;
    opacity: 0;
    overflow: hidden;
}

.post_featured.with_thumb .post_video:before,
.sc_layouts_blog_item_featured .post_featured.with_thumb .post_video:before {
    content: ' ';
    display: inline-block;
    padding-top: 55%;
    @include box(0, 0);
}

.post_featured.with_thumb img,
.sc_layouts_blog_item_featured .post_featured.with_thumb img {
    position: relative;
    z-index: 2;
}

.post_featured.with_thumb .mask,
.sc_layouts_blog_item_featured .post_featured.with_thumb .mask {
    z-index: 3;
    background-color: #f5f7f7;
    opacity: 0;
}

.post_featured.with_thumb:hover .mask,
.sc_layouts_blog_item_featured .post_featured.with_thumb:hover .mask {
    opacity: 0.9;
}

.trx_addons_video_player.with_cover .video_hover,
.post_featured.with_thumb .post_video_hover,
.sc_layouts_blog_item_featured .post_featured.with_thumb .post_video_hover {
    @include square(44px);
    @include border-round;
    @include transition-all;
    @include abs-lt(50%, 50%, 20);
    @include transform-none;
    margin: -22px 0 0 -22px;
    font-size: 15px;
    opacity: 1;
    cursor: pointer;
    overflow: hidden;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    text-indent: 3px;
}

.trx_addons_video_player.with_cover {
    position: relative;
    overflow: hidden;
}

.trx_addons_video_player.with_cover:hover .video_hover,
.post_featured.with_thumb:hover .post_video_hover,
.sc_layouts_blog_item_featured .post_featured.with_thumb:hover .post_video_hover {
    opacity: 1;
    margin-top: -22px;
}

.trx_addons_video_player.with_cover .video_hover,
.body_style_fullwide .post_featured.with_thumb .post_video_hover,
.post_layout_excerpt .post_featured.with_thumb .post_video_hover {
    font-size: 15px;
    @include square(44px);
    @include box-shadow(0 0 16px 0 rgba(0, 0, 0, 0.1));
}

.widget_video .trx_addons_video_player.with_cover .video_hover {
    font-size: 15px;
}

.sidebar .trx_addons_video_player.with_cover .video_hover,
.footer_wrap .trx_addons_video_player.with_cover .video_hover {
    font-size: 15px;
}

.trx_addons_video_player.with_cover .video_hover:before,
.post_featured.with_thumb .post_video_hover:before,
.sc_layouts_blog_item_featured .post_featured.with_thumb .post_video_hover:before {
    content: '\e9ad';
    font-family: $theme_icons;
}

.post_featured.with_thumb .post_video_hover > a,
.sc_layouts_blog_item_featured .post_featured.with_thumb .post_video_hover > a {
    display: block;
    @include abs-cover;
}

.post_featured.post_video_play .post_video,
.sc_layouts_blog_item_featured .post_featured.post_video_play .post_video {
    opacity: 1;
    z-index: 100;
}

.post_featured.post_video_play .mask,
.sc_layouts_blog_item_featured .post_featured.post_video_play .mask {
    opacity: 1;
    background-color: #000;
}

.post_featured.post_video_play .post_video_hover,
.sc_layouts_blog_item_featured .post_featured.post_video_play .post_video_hover {
    display: none;
}

/* Gallery */
.format-gallery .post_featured.with_thumb .slider_outer {
    @include abs-cc(1000);
    width: 100%;
}

/* Aside, Link, Status, Quote */
.format-quote .post_content,
.format-aside .post_content,
.format-link .post_content,
.format-status .post_content {
    padding: 0;
    text-align: left;
}

.format-aside .post_content_inner,
.post_item_single.format-aside .post_content > p,
.format-link .post_content_inner,
.post_item_single.format-link .post_content > p,
.format-status .post_content_inner,
.post_item_single.format-status .post_content > p {
    @include font(1.4rem, 1.4em);
}

.format-aside .post_content_inner {
    padding: 1.1em 1.4em;
}

.format-quote .post_content p,
.format-aside .post_content p,
.format-link .post_content p,
.format-status .post_content p {
    margin-bottom: 0;
}

.format-aside .post_content p + p,
.format-link .post_content p + p,
.format-status .post_content p + p {
    margin-top: 1em;
}

.format-aside .post_content_inner:after {
    display: none;
}

.format-aside .post_content_inner + .post_meta,
.format-link .post_content_inner + .post_meta,
.format-status .post_content_inner + .post_meta {
    margin-top: 1.6em;
}

/* Chat */
.format-chat p {
    margin-bottom: 0;
}

.format-chat p > em,
.format-chat p > b,
.format-chat p > strong {
    display: inline-block;
    margin-top: 1.7em;
}

.format-chat p:first-child > em,
.format-chat p:first-child > b,
.format-chat p:first-child > strong {
    margin-top: 0;
}


/* 7.5 Paginations
-------------------------------------------------------------- */

/* Blog pagination: Load more and Infinite */
.nav-links-more,
.woocommerce-links-more {
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 2em;
}

[class*="blog_style_classic"] .nav-links-more,
[class*="blog_style_masonry"] .nav-links-more {
    margin-top: 0;
}

.nav-links-more.nav-links-infinite,
.woocommerce-links-more.woocommerce-links-infinite {
    display: none;
}

.nav-links-more a,
.woocommerce-links-more a {
    display: inline-block;
    padding-top: 2em;
    position: relative;
}

.nav-links-more a:before,
.woocommerce-links-more a:before {
    content: '\e929';
    font-family: $theme_icons;
    font-size: 1.6em;
    font-weight: normal;
    display: block;
    text-align: center;
    margin-left: -0.5em;
    @include abs-lt(50%, 0);
    @include square(1em);
}

.nav-links-more a:hover,
.woocommerce-links-more a:hover {
    @include animation(squat 0.5s 1 cubic-bezier(0.2, -0.8, 0.6, -1.2));
}

.nav-links-more.loading a:before,
.woocommerce-links-more.loading a:before {
    content: '\e82d';
    @include animation(spin 2s infinite linear);
}

.nav-links-infinite a span,
.woocommerce-links-infinite a span {
    opacity: 0;
}

.nav-links-infinite.loading,
.woocommerce-links-infinite.loading {
    display: block;
}

/* Blog pagination: Prev/Next links */
.nav-links-old {
    overflow: hidden;
    font-size: 0.9333em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3em;
}

body[class*="blog_style_portfolio"] .nav-links-old,
body[class*="blog_style_classic"] .nav-links-old {
    margin-top: 1.3em;
}

.nav-links-old .nav-prev a:before,
.nav-links-old .nav-next a:after {
    font-family: $theme_icons;
    font-weight: normal;
    display: inline;
    @include abs-lt;
}

.nav-links-old .nav-prev {
    float: left;
    position: relative;
    padding-left: 2em;
}

.nav-links-old .nav-prev a:before {
    content: '\e939';
}

.nav-links-old .nav-next {
    float: right;
    position: relative;
    padding-right: 2em;
}

.nav-links-old .nav-next a:after {
    content: '\e93a';
    left: auto;
    right: 0;
}

.nav-links-old a {
    border-bottom: 1px dotted transparent;
}

/* Blog pagination: Page numbers */
div.esg-filters,
.woocommerce nav.woocommerce-pagination ul,
.comments_pagination,
.nav-links,
.page_links {
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 5em;
    text-align: left;
    border: none;
    list-style-type: none;
    clear: both;
}

body[class*="blog_style_portfolio"] .nav-links,
body[class*="blog_style_classic"] .nav-links {
    margin-top: 2em;
}

.page_links {
    margin-top: 0;
    padding-top: 2.5em;
}

.page_links .page_links_title {
    display: inline-block;
    vertical-align: top;
    margin: 1.5em 1.1em 0 0;
}

.esg-filters div.esg-navigationbutton,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.current,
.page_links > span:not(.page_links_title),
.page_links > a,
.comments_pagination .page-numbers,
.nav-links .page-numbers {
    display: inline-block;
    vertical-align: top;
    font-size: inherit;
    font-weight: inherit;
    margin: 12px 12px 0 0;
    padding: 0;
    border: none;
    @include square(36px);
    @include border-round();
    @include transition-properties(color, background-color, border-color, background-position);
}

.nav-links .page-numbers:last-child {
    margin-right: 0;
}

.esg-filters div.esg-navigationbutton:hover,
.esg-filters div.esg-navigationbutton.selected,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current,
.page_links > a:hover,
.page_links > span:not(.page_links_title),
.comments_pagination a.page-numbers:hover,
.comments_pagination .page-numbers.current,
.nav-links a.page-numbers:hover,
.nav-links .page-numbers.current {
    @include box-shadow(0 0 16px 0 #edf2f2);
}

.esg-filters .esg-navigationbutton i[class*="eg-icon-"] {
    color: inherit;
}

.esg-filters .esg-navigationbutton i.eg-icon-left-open:before {
    content: '\e939';
    font-family: $theme_icons;
}

.esg-filters .esg-navigationbutton i.eg-icon-right-open:before {
    content: '\e93a';
    font-family: $theme_icons;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    display: inline-block;
    margin: 0 12px 12px 0;

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

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.current {
    margin: 0 !important;
}

.esg-filters div.esg-navigationbutton:hover,
.esg-filters div.esg-navigationbutton.selected {
    @include box-shadow(none);
}

.nav-links .page-numbers.first,
.nav-links .page-numbers.prev,
.nav-links .page-numbers.next,
.nav-links .page-numbers.last,
.comments_pagination .page-numbers.first,
.comments_pagination .page-numbers.prev,
.comments_pagination .page-numbers.next,
.comments_pagination .page-numbers.last,
.woocommerce nav.woocommerce-pagination ul li a.first,
.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next,
.woocommerce nav.woocommerce-pagination ul li a.last {
    text-indent: -200px;
    overflow: hidden;
    position: relative;
}

.nav-links .page-numbers.first:before,
.nav-links .page-numbers.prev:before,
.nav-links .page-numbers.next:before,
.nav-links .page-numbers.last:before,
.comments_pagination .page-numbers.first:before,
.comments_pagination .page-numbers.prev:before,
.comments_pagination .page-numbers.next:before,
.comments_pagination .page-numbers.last:before,
.woocommerce nav.woocommerce-pagination ul li a.first:before,
.woocommerce nav.woocommerce-pagination ul li a.prev:before,
.woocommerce nav.woocommerce-pagination ul li a.next:before,
.woocommerce nav.woocommerce-pagination ul li a.last:before {
    font-family: $theme_icons;
    @include abs-lt;
    width: 100%;
    text-align: center;
    text-indent: 0;
    font-size: 1.1em;
}

.nav-links .page-numbers.first:before,
.comments_pagination .page-numbers.first:before,
.woocommerce nav.woocommerce-pagination ul li a.first:before {
    content: '\e8af';
}

.nav-links .page-numbers.prev:before,
.comments_pagination .page-numbers.prev:before,
.woocommerce nav.woocommerce-pagination ul li a.prev:before {
    content: '\e837';
    text-indent: -2px;
}

.nav-links .page-numbers.next:before,
.comments_pagination .page-numbers.next:before,
.woocommerce nav.woocommerce-pagination ul li a.next:before {
    content: '\e836';
    text-indent: 2px;
}

.nav-links .page-numbers.last:before,
.comments_pagination .page-numbers.last:before,
.woocommerce nav.woocommerce-pagination ul li a.last:before {
    content: '\e8b0';
}

.woocommerce nav.woocommerce-pagination {
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    margin-top: 2em;
    font-weight: 400;
}


/* Single page Prev/Next navigation */
.nav-links-single .nav-links .screen-reader-text:hover,
.nav-links-single .nav-links .screen-reader-text {
    clip: auto !important;
    top: 0 !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    position: relative !important;
    padding: 0 !important;
    border: none !important;
    -webkit-box-shadow: none !important;
    -ms-box-shadow: none !important;
    box-shadow: none !important;
    font-size: 14px !important;
    line-height: 16px !important;
    font-weight: 500 !important;
    -webkit-border-radius: 0 !important;
    -ms-border-radius: 0 !important;
    border-radius: 0 !important;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin-bottom: 0 !important;
    display: inline-block !important;
    margin-top: 0 !important;
}

.nav-links-single .nav-links .screen-reader-text:before {
    position: absolute;
    z-index: 1;
    top: 0;
    font-size: 16px;
    font-weight: 400;
    font-family: $theme_icons;
}

.nav-links-single .nav-links .nav-previous .screen-reader-text {
    padding-left: 13px !important;
}

.nav-links-single .nav-links .nav-previous .screen-reader-text:before {
    content: '\e93f';
    left: 1px;
}

.nav-links-single .nav-links .nav-next .screen-reader-text {
    padding-right: 13px !important;
}

.nav-links-single .nav-links .nav-next .screen-reader-text:before {
    content: '\e940';
    right: 1px;
    left: auto;
}

.nav-links-single .nav-links {
    font-size: 0;
    text-align: left;
    margin-top: 5rem;
    overflow: hidden;
    text-transform: none;
}

.nav-links-single .nav-links a {
    display: block;
    position: relative;
    min-height: 80px;
    z-index: 1;
}

.nav-links-single .nav-links a .nav-arrow {
    @include box(100px, 80px, 80px);
    overflow: hidden;
    text-align: center;
    @include abs-lt;
    @include bg-cover;
    @include border-radius(4px);
    border: none !important;
}

.nav-links-single .nav-links a .nav-arrow:before {
    content: ' ';
    background-color: #fff;
    opacity: 0;
    @include abs-cover;
    @include transition-all;
    display: none;
}

.nav-links-single .nav-links a:hover .nav-arrow:before {
    opacity: 0.5;
}

.nav-links-single .nav-links a .nav-arrow:after {
    content: '\e939';
    font-family: $theme_icons;
    position: relative;
    z-index: 2;
    top: 3em;
    opacity: 0;
    color: #292929;
    @include transition-all;
    display: none;
}

.nav-links-single .nav-links a:hover .nav-arrow:after {
    top: 0;
    opacity: 1;
}

.nav-links-single .nav-links .nav-next a .nav-arrow {
    right: 0;
    left: auto;
}

.nav-links-single .nav-links .nav-next a .nav-arrow:after {
    content: '\e93a';
}

.nav-links-single .nav-links .nav-previous,
.nav-links-single .nav-links .nav-next {
    width: 50%;
    @include border-box;
}

.nav-links-single .nav-links .nav-previous {
    float: left;
    text-align: left;
    padding-right: 15px;
}

.nav-links-single .nav-links .nav-previous a {
    padding-left: 130px;
}

.nav-links-single .nav-links .nav-previous .post-title {
    text-align: left;
}

.nav-links-single .nav-links .nav-next {
    float: right;
    text-align: right;
    padding-left: 15px;
}

.nav-links-single .nav-links .nav-next a {
    padding-right: 130px;
}

.nav-links-single .nav-links .nav-next .post-title {
    text-align: right;
}

.nav-links-single .nav-links .post-title,
.nav-links-single .nav-links .post_date {
    @include transition-colors;
}

.nav-links-single .nav-links .post-title {
    margin: 7px 0 0 0;
    font-size: 18px;
    font-weight: 500;
}

.nav-links-single .nav-links .meta-nav,
.nav-links-single .nav-links .post_date {
    font-size: 0.9286em;
    font-weight: normal;
    display: none;
}

.nav-links-single.nav-links-fixed {
    position: fixed;
    z-index: 99;
    bottom: 115px;
    left: 0;
    right: 0;
    opacity: 0;
    @include transition-property(opacity);
}

.menu_side_left .nav-links-single.nav-links-fixed {
    margin-left: 6rem;
}

.menu_side_right .nav-links-single.nav-links-fixed {
    margin-right: 6rem;
}

.nav-links-single.nav-links-fixed.nav-links-visible {
    opacity: 1;
}

.nav-links-single.nav-links-fixed .nav-links {
    padding: 0;
    margin: 0;
    border-width: 0;
}

.nav-links-single.nav-links-fixed .nav-links .nav-previous,
.nav-links-single.nav-links-fixed .nav-links .nav-next {
    @include abs-lb;
    width: 235px;
    padding: 0;
    border: none;
    background-color: #fff;
    @include transition-properties(left, right);
}

.nav-links-single.nav-links-fixed .nav-links .nav-previous {
    left: -300px;
}

.nav-links-single.nav-links-fixed.nav-links-visible .nav-links .nav-previous {
    left: 0;
    @include border-radius(0 4px 4px 0);

    & .nav-arrow {
        @include border-radius(0 4px 0 0);
    }
}

.nav-links-single.nav-links-fixed .nav-links .nav-next {
    left: auto;
    right: -300px;
}

.nav-links-single.nav-links-fixed.nav-links-visible .nav-links .nav-next {
    right: 0;
    @include border-radius(4px 0 0 4px);

    & .nav-arrow {
        @include border-radius(4px 0 0 0);
    }
}

.nav-links-single.nav-links-fixed .nav-links .nav-previous a,
.nav-links-single.nav-links-fixed .nav-links .nav-next a {
    padding: 165px 40px 32px;
}

.nav-links-single.nav-links-fixed {
    .nav-links a .nav-arrow {
        position: absolute;
        display: block;
        width: 100%;
        height: 130px;
        margin: 0;
        @include border-radius(4px 4px 0 0);
    }
}


.nav-links-single-scroll.fribbo_loading {
    min-height: 70px;
    margin-top: 4em;
    background-size: contain;
}

.previous_post_content {
    margin-top: 6em;
    padding-top: 6em;
    border-top: 2px solid #ddd;
}


/* Attachments navigation */
.image-navigation .nav-previous,
.image-navigation .nav-next {
    float: none;
    width: auto;
    text-align: left;
    padding: 0;
    margin: 0;
    @include abs-lc(1.5em);
}

.image-navigation .nav-next {
    left: auto;
    right: 1.5em;
    text-align: right;
}

.image-navigation .nav-previous a,
.image-navigation .nav-next a {
    display: block;
    padding: 1.1em 1em;
    width: 0;
    max-width: 20em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid rgba(0, 0, 0, 0);
    color: #fff;
    @include border-radius(50%);
}

.image-navigation .nav-previous a:hover,
.image-navigation .nav-next a:hover {
    width: auto;
    color: #fff;
    ;
    background-color: rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 0, 0, 0.6);
    @include border-radius(2em);
}

.image-navigation .nav-previous a:hover {
    padding-left: 3.5em;
}

.image-navigation .nav-next a:hover {
    padding-right: 3.5em;
}

.image-navigation .nav-previous a:after,
.image-navigation .nav-next a:after {
    content: '\e8ef';
    font-family: $theme_icons;
    @include abs-lc;
    @include square(4em);
    @include border-round;
    border: 1px solid #000;
    background-color: #333;
    color: #fff;
}

.image-navigation .nav-next a:after {
    content: '\e8f0';
    left: auto;
    right: 0;
}

.image-navigation .nav-previous a:hover:after,
.image-navigation .nav-next a:hover:after {
    border-color: transparent;
    background-color: transparent;
}


/* 7.6 Full post in the blog
------------------------------------------------------ */
.full_post_loading {
    position: relative;
}

.full_post_loading:after {
    content: ' ';
    @include bg-mask(#fff, 0.7, 9999);
    background-image: url(../../../images/preloader2.png);
    background-position: center;
    background-repeat: no-repeat;
}

.full_post_content {
    position: relative;
}

.posts_container .full_post_content {
    margin-top: 7em;
    padding-top: 7em;
    border-top: 1px solid #ccc;
}

.posts_container .full_post_content:not(:last-child) {
    margin-bottom: 7em;
    padding-bottom: 7em;
    border-bottom: 1px solid #ccc;
}

.sc_item_posts_container .full_post_content:not(:last-child) {
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid #ccc;
}

.full_post_opened:first-child + .full_post_content {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.full_post_read {
    overflow: visible;
}

.sc_blogger_item.full_post_read .entry-title,
// posts in shortcode Blogger
.full_post_read .post_title,
// blog posts
.full_post_read .sc_layouts_blog_item_title {
    // custom posts layouts
    position: relative;
}

.full_post_read .sc_layouts_blog_item_title {
    display: inline-block;
    vertical-align: top;
}

.sc_blogger_item.full_post_read .entry-title:after,
// posts in shortcode Blogger
.full_post_read .post_title:after,
// blog posts
.full_post_read .sc_layouts_blog_item_title:after {
    // custom posts layouts
    content: ' ';
    @include box(2em, 1em);
    @include abs-lt(-0.5em, -0.2em);
    @include rotate(-20deg);
    opacity: 0.7;
    background-image: url(../../../images/read.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    display: none; // Hide read marker by default
}

.full_post_read .sc_layouts_blog_item_title .post_title:after {
    display: none;
}

button.full_post_close {
    @include square(50px);
    @include border-box;
    border-radius: 50% !important;
    -webkit-position: sticky;
    position: sticky;
    top: 12em;
    z-index: 1000;
    @include box-shadow(0 2px 4px 0 rgba(0, 0, 0, 0.2));
    float: right;
    margin: 0 0 1em 2em;
    cursor: pointer;
}

button.full_post_close:after {
    content: '\e916';
    font-family: $theme_icons;
}

.full_post_progress {
    @include abs-lt(0, 0, -1);
    pointer-events: none;
    display: block;
    @include square(100%);
    @include border-round;
    @include rotate(-90deg);
    -webkit-backface-visibility: hidden;
}

.full_post_progress svg {
    fill: currentColor;
}

.full_post_progress_bar {
    fill: transparent;
    stroke-width: 2;
    stroke-dashoffset: 0;
    stroke-dasharray: 137.4;
}

button.full_post_read_complete:after {
    content: '\e8ab';
}

.full_post_read_complete .full_post_progress {
    display: none;
}



/* 8. Single page parts
-------------------------------------------------------------- */

.structured_data_snippets {
    display: none;
}

.post_item_single::after {
    content: ' ';
    display: block;
    width: 100%;
    height: 0;
    clear: both;
}

.post_item_single.format-aside .post_content,
.post_item_single.format-link .post_content,
.post_item_single.format-status .post_content {
    padding: 0;
    text-align: left;
}

.post_item_single.format-quote .post_content {
    background-color: transparent;
    padding-top: 0;
}

.section_title {
    margin: 0 0 1.4em;
    text-align: left;
    font-size: 30px;
}

.sidebar_hide.narrow_content .content_single .content_inner {
    width: 75%;
    margin: 0 auto;
}


/* 8.1 Post header
------------------------------------------------------ */
.post_item_single > .post_featured {
    margin-bottom: 2.8em;
    text-align: center; // Align the featured image to the center if its width less then width of the content area
}

.post_item_single > .post_featured > img {
    width: auto;
    max-height: 80vh;
}

.post_featured.post_attachment {
    margin-bottom: 0.5em;
}

.entry-caption {
    text-align: center;
    font-style: italic;
}

.post_item_single .post_header_single {
    margin-bottom: 2.5em;
}

.post_item_single .post_content > h1:first-child,
.post_item_single .post_content > h2:first-child,
.post_item_single .post_content > h3:first-child,
.post_item_single .post_content > h4:first-child,
.post_item_single .post_content > h5:first-child,
.post_item_single .post_content > h6:first-child,
.post_item_single .post_content > .vc_row:first-child h1:first-child,
.post_item_single .post_content > .vc_row:first-child h2:first-child,
.post_item_single .post_content > .vc_row:first-child h3:first-child,
.post_item_single .post_content > .vc_row:first-child h4:first-child,
.post_item_single .post_content > .vc_row:first-child h5:first-child,
.post_item_single .post_content > .vc_row:first-child h6:first-child,
.post_item_single .post_content .elementor-text-editor > h1:first-child,
.post_item_single .post_content .elementor-text-editor > h2:first-child,
.post_item_single .post_content .elementor-text-editor > h3:first-child,
.post_item_single .post_content .elementor-text-editor > h4:first-child,
.post_item_single .post_content .elementor-text-editor > h5:first-child,
.post_item_single .post_content .elementor-text-editor > h6:first-child,
.post_item_single .post_content .elementor-widget-text-editor .elementor-widget-container > h1:first-child,
.post_item_single .post_content .elementor-widget-text-editor .elementor-widget-container > h2:first-child,
.post_item_single .post_content .elementor-widget-text-editor .elementor-widget-container > h3:first-child,
.post_item_single .post_content .elementor-widget-text-editor .elementor-widget-container > h4:first-child,
.post_item_single .post_content .elementor-widget-text-editor .elementor-widget-container > h5:first-child,
.post_item_single .post_content .elementor-widget-text-editor .elementor-widget-container > h6:first-child,
.post_item_single .post_title {
    margin-top: -0.2em;
}

.post_item_single .post_header_single .post_title {
    margin-bottom: 0;
}


/* 8.2 Post footer
------------------------------------------------------ */
.post_item_single .post_content > .post_meta_single {
    @include font(1em, 1.3em);
    padding-top: 68px;
    letter-spacing: 0;
    overflow: hidden;
    clear: both;
}

.post_meta.post_meta_single .post_meta_item {
    padding: 0 !important;
    margin: 0 !important;
    @include border-radius(0 !important);
    background: none !important;
}

.post_item_single .post_content > .post_meta_single .post_tags {
    float: left;
    display: block;
    max-width: 50%;
    margin-top: 12px !important;

    a {
        display: inline-block;
        padding: 7px 10px;
        margin: 0 10px 10px 0;
        @include font(14px !important, 16px, 500);
        letter-spacing: 0;
        text-transform: none;
        @include border-radius(4px);

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

.post_item_single .post_content > .post_meta_single .post_tags:after {
    display: none;
}

/* Social share in the single post/page */
.post_item_single .post_content > .post_meta_single .post_meta_item.post_share {
    float: right;
    display: block;
    max-width: 47%;
    background: none !important;
}

.post_item_single .post_content > .post_meta_single .post_share:before {
    display: none;
}

.post_item_single .post_content > .post_meta_single .post_share .social_item {
    margin: 5px 0 5px 10px;
}

.post_item_single .post_content > .post_meta_single .post_share .social_item .social_icon {
    display: block;
    @include square(44px);
    font-size: 15px;
}

body {
    .post_item_single .post_content .post_meta .post_share .socials_type_block .social_item .social_icon.social_icon_twitter {
        background-color: #5dcaca;
    }

    .post_item_single .post_content .post_meta .post_share .socials_type_block .social_item .social_icon.social_icon_facebook {
        background-color: #3d9ae7;
    }

    .post_item_single .post_content .post_meta .post_share .socials_type_block .social_item .social_icon.social_icon_pinterest {
        background-color: #ea6262;
    }

    .post_item_single .post_content .post_meta .post_share .socials_type_block .social_item .social_icon.social_icon_pinterest-circled {
        background-color: #ea6262;
    }
}

/* 8.3 Post author
------------------------------------------------------ */

.author_info {
    margin-top: 4em;
    padding: 3.5em;
    position: relative;
    @include border-radius(4px);
    min-height: 120px;

    .author_avatar {
        @include square(120px);
        @include abs-lt(3.7rem, 3.7rem);
        @include border-radius(4px);
        overflow: hidden;
    }

    .author_avatar img {
        @include box(100%, auto);
    }

    .author_description {
        padding-left: 10.2rem;
    }

    .author_title {
        margin-top: 0;
        margin-bottom: 1.15em;
        font-size: 18px;
        font-weight: 500;
        line-height: 22px;
    }

    .author_bio p {
        margin: 0;
    }

    .author_bio p + p {
        margin-top: 0.6em;
    }

    .author_bio .author_link {
        font-size: 14px;
        display: inline-block;
        margin-top: 1.3em;
        font-style: normal;
        letter-spacing: 0;
        font-weight: 500;
        padding-left: 1px;
    }

    .author_bio .socials_wrap {
        margin-top: 1em;
    }
}

/* 8.4 Related posts
------------------------------------------------------ */
.related_wrap {
    margin-top: 4.3em;
}

.related_wrap .post_featured {
    max-width: 100%;
}

.post_content .related_wrap {
    margin: 2em 0 1em;
    padding: 0.02px 0;
    border-top: none;
}

.post_content .related_wrap_slider {
    margin-bottom: 1em;
}

.post_content .related_wrap.related_position_inside_left {
    float: left;
    margin: 1em 2em 1em 0;
    max-width: 18em;
}

.post_content .related_wrap.related_position_inside_right {
    float: right;
    margin: 1em 0 1em 2em;
    max-width: 18em;
}

.post_content .related_wrap.related_position_inside_left .slider_container:not(.slider_multi):not(.slider_type_images),
.post_content .related_wrap.related_position_inside_left .slider_container:not(.slider_multi):not(.slider_type_images) .slider-slide,
.post_content .related_wrap.related_position_inside_right .slider_container:not(.slider_multi):not(.slider_type_images),
.post_content .related_wrap.related_position_inside_right .slider_container:not(.slider_multi):not(.slider_type_images) .slider-slide {
    min-height: 5em;
}

.related_wrap_slider {

    .related_posts_wrap_slider.slider_container.slider_pagination_pos_bottom > .swiper-pagination-bullets,
    .related_posts_wrap_slider.slider_outer.slider_outer_pagination_pos_bottom > .swiper-pagination-bullets,
    .related_posts_wrap_slider.slider_outer.slider_outer_pagination_pos_bottom_outside > .swiper-pagination-bullets {
        bottom: 0;
    }
}

.related_wrap .related_item {
    text-align: center;
}

.related_wrap .post_title {
    margin: 0;
}

.related_wrap .post_meta [class^="icon-"] {
    @include font(1.2em, inherit);
    margin-right: .3em;
    margin-left: 0;
    vertical-align: middle;
}

.sc_blogger_columns_wrap,
.related_wrap {

    .format-audio .post_featured.without_thumb .post_audio:not(.with_iframe),
    .sc_layouts_blog_item_featured .post_featured.without_thumb .post_audio:not(.with_iframe) {
        padding: 1.5em .5em 1.2em;
    }

    .format-audio .post_featured .post_audio_title {
        font-size: 18px;
        line-height: 1.3em;
        margin-top: 0.4em;
        margin-bottom: 1em;
    }

    .format-audio .post_featured .post_audio_author,
    .trx_addons_audio_player .audio_author,
    .sc_layouts_blog_item_featured .post_featured .post_audio_author {
        font-size: 14px;
    }
}

/* Style 1: Modern */
.related_wrap.related_style_modern .post_featured {
    margin-bottom: 0;
}

.related_wrap.related_style_modern .post_featured .post_header {
    display: block;
    width: 70%;
    padding: 1.5em;
    @include abs-cc(8);
    @include border-box;
    @include transition-all;
}

.related_wrap.related_style_modern .format-audio .post_featured .post_header {
    display: none;
}

.related_wrap.related_style_modern .post_title {
    margin: 0.5em 0;
    letter-spacing: 0;
    line-height: 1.25em;
}

/* Style 2: Classic */
.related_wrap.related_style_classic .columns_padding_bottom {
    margin-bottom: -30px;
}

.related_wrap.related_style_classic .post_featured {
    margin-bottom: 1.45em;
}

.related_wrap.related_style_classic .post_featured[class*="hover_"] {
    display: inline-block;
    vertical-align: top;
}

.related_wrap.related_style_classic .post_featured img {
    max-width: 100%;
    height: auto;
}

.related_wrap.related_style_classic .post_format_gallery .post_featured.with_thumb > img {
    opacity: 0;
}

.related_wrap.related_style_classic .post_meta {
    margin-top: 8px;
}

.related_wrap.related_style_classic .related_item {
    text-align: left;
}

/* Style 3: Wide */
.related_wrap.related_style_wide .related_item {
    @include flex;
    @include flex-direction(row);
    @include flex-justify-content(flex-start);
    @include flex-align-items(flex-start);
    text-align: left;
}

.related_wrap.related_style_wide .post_featured {
    margin: 0 1em 0 0;
    width: 6em;
}

.related_wrap.related_style_wide .post_featured[class*="hover_"] {
    display: block;
}

.related_wrap.related_style_wide .post_featured img {
    width: 100%;
}

.related_wrap.related_style_wide .post_title {
    margin: -0.25em 0 0;
}

.post_content .related_wrap.related_style_wide .columns_wrap.columns_padding_bottom > [class*="column-"],
.post_content .related_wrap.related_style_wide .columns_wrap > [class*="column-"].columns_padding_bottom {
    padding-bottom: 1em;
}

/* Style 4: List */
.related_wrap.related_style_list .related_item {
    text-align: left;
    padding: 0 0 0 1.5em;
    position: relative;
}

.related_wrap.related_style_list .related_item:before {
    content: ' ';
    @include abs-lt(0, 0.75em);
    @include square(6px);
    @include border-round;
    background-color: #ff0000;
}

.post_content .related_wrap.related_style_list .columns_wrap.columns_padding_bottom > [class*="column-"],
.post_content .related_wrap.related_style_list .columns_wrap > [class*="column-"].columns_padding_bottom {
    padding-bottom: 1em;
}

/* Style 5: Short */
.related_wrap.related_style_short .related_item {
    text-align: left;
    padding-bottom: 1em;
    border-bottom: 1px solid #c1c1c1;
    margin-bottom: 1em;
}

.related_wrap .related_wrap_slider .related_item_style_short.related_item {
    border-bottom: none;
}

.related_wrap.related_style_short .columns_wrap .column-1_4:last-child .related_item,
.related_wrap.related_style_short .columns_wrap .column-1_4:nth-last-child(2) .related_item,
.related_wrap.related_style_short .columns_wrap .column-1_4:nth-last-child(3) .related_item,
.related_wrap.related_style_short .columns_wrap .column-1_4:nth-last-child(4) .related_item,
.related_wrap.related_style_short .columns_wrap .column-1_3:last-child .related_item,
.related_wrap.related_style_short .columns_wrap .column-1_3:nth-last-child(2) .related_item,
.related_wrap.related_style_short .columns_wrap .column-1_3:nth-last-child(3) .related_item,
.related_wrap.related_style_short .columns_wrap .column-1_2:last-child .related_item,
.related_wrap.related_style_short .columns_wrap .column-1_2:nth-last-child(2) .related_item,
.related_wrap.related_style_short .columns_wrap .column-1_1:last-child .related_item {
    border-bottom: none;
}

.post_content .related_wrap.related_style_short .columns_wrap.columns_padding_bottom > [class*="column-"],
.post_content .related_wrap.related_style_short .columns_wrap > [class*="column-"].columns_padding_bottom {
    padding-bottom: 1em;
}


/* 8.5 Comments
-------------------------------------------------------- */
.body_style_fullscreen .comments_wrap {
    margin-bottom: 3em;
}

/* Show comments button in full post */
.show_comments_single {
    text-align: center;
    margin: 3em auto;
}


.scroll_posts_navigation {
    .trx_addons_emotions {
        text-align: center;
    }

    &.share_fixed .post_item_single .post_content > .post_meta_single {
        .post_meta_item.post_share {
            display: none;
        }

        .post_tags {
            max-width: 100%;
            width: 100%;
            text-align: center;
            margin-top: 8px !important;
        }

        .trx_addons_emotions {
            margin-top: 1.7em;
            margin-bottom: 3.8em;
        }
    }
}


/* Comment list */
.comments_list_wrap {
    margin-top: 3.8em;
    overflow: hidden;
}

.comments_list_wrap .comments_closed {
    margin-top: 2em;
    color: #1d1d1d;
}

.comments_list_wrap > ul {
    padding: 0;
    margin: 0;
    list-style: none;
    font-weight: 400;
}

.comments_list_wrap ul li + li,
.comments_list_wrap li > ul > li {
    padding-top: 0;
}

.comments_list_wrap ul > li {
    display: block; // If set to 'list-item' - in Chrome author's name is shifting down (below the top of the avatar). In Firefox - all OK
    overflow: hidden;
    position: relative;
    min-height: 60px;
}

.comments_list_wrap ul > li:before {
    display: none;
}

.comments_list_wrap ul ul {
    margin-left: 50px; // This way for short border under previous item
    padding-left: 0;
    font-weight: 400;
}

.comments_list_wrap ul ul ul ul ul {
    margin-left: 0; // This way for short border under previous item
}

.comments_list_wrap li + li,
.comments_list_wrap li ul {
    margin-top: 38px;
}

.comments_list_wrap .comment_author_avatar {
    @include abs-lt;
    @include square(60px);
    @include border-radius(4px);
    overflow: hidden;
}

.comments_list_wrap ul li + li > .comment_body > .comment_author_avatar,
.comments_list_wrap li > ul > li > .comment_body > .comment_author_avatar {
    top: 0;
}

.comments_list_wrap .bypostauthor > .comment_body .comment_author_avatar:after {
    content: ' ';
    display: block;
    border: 12px solid transparent;
    border-top-color: #ddd;
    @include abs-rt(-14px, -14px);
    @include box(0, 0);
    @include rotate(225deg);
    will-change: transform;
}

.comments_list_wrap .comment_author_avatar img {
    width: 100%;
}

.comments_list_wrap .comment_content {
    padding-left: 90px;
    overflow: hidden;
    position: relative;
}

.comments_list_wrap .comment_info {
    margin: 0 0 1em;
    padding-right: 50px;
    position: relative;
    line-height: 16px;
}

.comments_list_wrap .comment_author {
    margin: 0 0.5em 0 0;
    display: inline-block;
}

.comments_list_wrap .comment_posted {
    display: inline-block;
    position: relative;
    letter-spacing: 0;
    vertical-align: baseline;
}

.comments_list_wrap .comment_author,
.comments_list_wrap .comment_posted {
    @include font(14px, 16px, 500, normal);
}

.comments_list_wrap .comment_posted_label {
    display: none;
}

.comments_list_wrap .comment_counters,
.comments_list_wrap .comment_date,
.comments_list_wrap .comment_time {
    display: inline-block;
    vertical-align: baseline;
}

.comments_list_wrap .comment_counters_item:before {
    margin: 0 0.3em 0 0;
    font-style: normal;
}

.comments_list_wrap .comment_counters_item .comment_counters_number_separator {
    margin: 0 0.2em;
}

.comments_list_wrap .comment_date,
.comments_list_wrap .comment_time {
    margin-right: 0.3em;
}

.comments_list_wrap .comment_counters,
.comments_list_wrap .comment_time {
    display: none;
}

.comments_list_wrap .comment_not_approved {
    padding: 0.2em 0 0.5em 0;
    font-style: italic;
}

.comments_list_wrap .comment_text {
    margin-bottom: 0;
}

.comments_list_wrap .comment_text p {
    margin: 0;
}

.comments_list_wrap .comment_text p + p {
    margin-top: 0.6em;
}

.comments_list_wrap .comment_text ul,
.comments_list_wrap .comment_text ol {
    margin: 0;
    padding: 0 0 0 1.5em;
}

.comments_list_wrap .comment_text ul > li,
.comments_list_wrap .comment_text ol > li {
    display: list-item;
}

.comments_list_wrap .comment_text ul {
    list-style: disc outside;
}

.comments_list_wrap .comment_text ul ul {
    list-style-type: circle;
}

.comments_list_wrap .comment_text ul ul ul {
    list-style-type: square;
}

.comments_list_wrap .comment_text ul ul ul ul {
    list-style-type: disc;
}

.comments_list_wrap .comment_text ol {
    list-style: decimal outside;
}

.comments_list_wrap .comment_text ul > li > ul,
.comments_list_wrap .comment_text ol > li > ol {
    margin-top: 0.5em;
}

.comments_list_wrap .comment_text ul > li,
.comments_list_wrap .comment_text ol > li {
    min-height: 0;
    padding: 0;
    margin: 0 0 0.5em 0;
    overflow: visible;
}

.comments_list_wrap .comment_text ul,
.comments_list_wrap .comment_text ul > li,
.comments_list_wrap .comment_text ol,
.comments_list_wrap .comment_text ol > li {
    border: none;
}

.comments_list_wrap .comment_reply {
    @include font(14px, 16px, 500, normal);
    letter-spacing: 0;
    margin-top: 0;
    position: absolute;
    top: 0;
    right: 0;
}

.comments_list_wrap .comment_reply a:before {
    content: '\e802';
    font-family: $theme_icons;
    margin-right: 0.2em;
    display: none;
}

/* Trackbacks and pingbacks */
.comments_list > li.pingback,
.comments_list > li.trackback {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    padding-right: 4em;
    padding-top: 2px;
    min-height: 0;
    position: relative;
}

.comments_list > li.pingback + li,
.comments_list > li.trackback + li {
    margin-top: 1em;
}

.comments_list > li.pingback p,
.comments_list > li.trackback p {
    font-style: italic;
    padding-bottom: 0.8em;
}

.comments_list > li.pingback p a,
.comments_list > li.trackback p a {
    font-style: normal;
}

.comments_list > li.pingback .edit-link,
.comments_list > li.trackback .edit-link {
    @include abs-rt(0, 2px);
}


/* Comments form */
.comments_form_wrap {
    margin-top: 3.8em;
    overflow: hidden;
}

.comments_form_wrap form {
    position: relative;
}

.comments_wrap .comments_list_wrap .comments_form_title {
    margin-top: 1.5em;
    position: relative;
}

.comments_wrap #cancel-comment-reply-link {
    font-size: 0;
    line-height: 0;
}

.comments_wrap #cancel-comment-reply-link:before {
    content: '\e916';
    font-family: $theme_icons;
    font-size: 18px;
    display: block;
    @include abs-rt;
    @include square(2em);
}

.comments_wrap .comments_notes {
    font-size: 0.8667em;
}

.comments_wrap .comments_field {
    margin-bottom: 20px;
}

.comments_wrap .comments_author,
.comments_wrap .comments_email {
    width: 49%;
    float: left;
}

.comments_wrap .comments_email {
    float: right;
}

.comments_wrap .comments_url {
    clear: both;
}

.comments_wrap .comments_comment:before {
    content: ' ';
    @include clear;
}

.comments_wrap .comments_field label {
    display: none;
}

.comments_wrap .comments_field input[type="checkbox"] + label,
.comments_wrap .comments_field input[type="radio"] + label {
    display: block;
}

.comments_wrap .comments_field input,
.comments_wrap .comments_field textarea {
    width: 100%;
    padding: 1.1em 1.8em;
}

.comments_wrap .comments_field textarea {
    min-height: 8em;
}

/* Submit button */
.comments_wrap .form-submit {
    margin: 2.5em 0 0;
}

.comments_wrap .form-submit:before {
    content: ' ';
    @include clear;
}

.comments_wrap .form-submit input[type="submit"] {
    display: inline-block;
}

form .error_field {
    border-color: #f75389 !important;
}


/* Rating in the comment form */
.comments_wrap .trx_addons_reviews_mark {
    display: block;
}

.comments_wrap form .trx_addons_reviews_mark {
    margin: -1.5em 0 1em;
}

/* Social login in the comment form */
.comments_form_wrap form .wp-social-login-widget {
    @include abs-rt(0, -6.2em);
}

.comments_form_wrap form .wp-social-login-widget .wp-social-login-connect-with {
    display: none;
}

.comments_form_wrap form .wp-social-login-widget .wp-social-login-provider-list {
    padding: 0;
}



/* 8.6 Page 404
-------------------------------------------------------------- */
.post_item_404 .post_content {
    padding: 0;
    overflow: hidden;
}


.post_item_404 .page_title {
    float: left;
    width: 50%;
    @include font(17em, 0.9em);
    margin: 0;
    margin-top: 0 !important;
    letter-spacing: 0;
    text-align: center;
    hyphens: none;
}

.post_item_404 .page_info {
    float: left;
    width: 50%;
    text-align: left;
    padding: 0 0 0 5rem;
    @include border-box;
}


.post_item_404 .page_subtitle {
    margin: 0;
}

.post_item_404 .page_description {
    margin-top: 1em;
    margin-bottom: 1.5em;
}


.search-no-results .post_item_404 .post_content {
	display: flex;
	align-items: center;
}

.search-no-results .post_item_404 .page_title,
.search-no-results .post_item_404 .page_info {
	float: none;
}

.search-no-results .post_item_404 .page_title {
	font-size: 6em !important;
}

/* 8.7 Page 'No search results' and 'No archive results'
-------------------------------------------------------- */
.post_item_none_search .post_content {
    padding: 1.5em 0;
}

.post_item_none_search .page_title,
.post_item_none_archive .page_title {
    font-size: 9.5em;
    line-height: 0.9em;
    margin-top: -9px !important;
}


/* 8.8 Author's page
------------------------------------------------------ */
.author_page {
    @include flex;
    @include flex-direction(column);
    @include flex-align-items(center);
    margin-bottom: 5em;

    .author_avatar {
        @include border-round;
        margin-bottom: 1em;
        overflow: hidden;
    }

    .author_title {
        margin-top: 0;
        margin-bottom: 0.55em;
    }

    .author_bio {
        margin-bottom: 0.95em;
    }

    .author_bio p {
        margin: 0;
    }

    .author_bio p + p {
        margin-top: 0.6em;
    }

    .author_details {
        text-align: center;

        .author_posts_total,
        .author_socials {
            display: inline-block;
            vertical-align: top;
            text-transform: capitalize;
        }

        .author_posts_total_value {
            font-weight: 500;
        }

        .author_posts_total + .author_socials {
            &:before {
                content: '|';
                display: inline-block;
                vertical-align: baseline;
                margin: 0 1em;
            }

            .socials_wrap {
                display: inline-block;
                vertical-align: baseline;
                margin-left: 0.75em;

                .social_item {
                    margin: 0 0.75em 0 0;

                    .social_icon {
                        background-color: transparent;
                        @include box(auto, auto, inherit);
                        text-align: left;
                    }
                }
            }
        }
    }
}



/* 9. Sidebars
-------------------------------------------------------------- */

aside .post_item + .post_item {
    margin-top: 29px;
}


/* Common rules */
.sidebar_default[class*="scheme_"] .sidebar_inner {
    padding: 50px 0;
    @include border-radius(4px);
}

.sidebar_default[class*="scheme_"] .widget {
    padding: 0 60px;
}

.sidebar_default[class*="scheme_"] .widget .widget {
    padding: 0;
}

.sidebar .widget + .widget,
.sidebar_default[class*="scheme_"] .widget + .widget {
    margin-top: 3.3rem;
}

.sidebar .widget + .widget.widget_bg_image,
.sidebar_default[class*="scheme_"] .widget + .widget.widget_bg_image,
.sidebar .widget + .widget.widget_fullwidth,
.sidebar_default[class*="scheme_"] .widget + .widget.widget_fullwidth {
    padding-top: 4rem;
}

.sidebar .widget.widget_bg_image + .widget,
.sidebar_default[class*="scheme_"] .widget.widget_bg_image + .widget,
.sidebar .widget.widget_fullwidth + .widget,
.sidebar_default[class*="scheme_"] .widget.widget_fullwidth + .widget {
    border-top: none;
    margin-top: 0;
}

.widget p {
    margin: 0;
}

.widget p + p,
.widget p + div,
.widget p + form {
    margin-top: 1em;
}

.widget .widgettitle {
    @include font(24px, 1.35em);
}

.widget .widget_title,
.widget .widgettitle {
    margin-top: 0;
    margin-bottom: 0.9em;
}

.widget_fullwidth .widget_title,
.widget_fullwidth .widgettitle {
    text-align: center;
}

.widget ul {
    margin: 0;
    padding-left: 1.2em;
    list-style-type: none;
}
.widget ul ul {
    padding-left: 1em;
}

.widget li {
    position: relative;
    margin: 20px 0;

    &:first-child {
        margin-top: 0;
    }

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

    ul {
        margin-top: 20px;
    }
}

.widget ul > li:before {
    display: block;
    @include abs-lt(-18px, 0);
    content: '\e9aa';
    font-size: 8px;
    left: -18px;
    font-family: $theme_icons;
}

.widget li a img {
    vertical-align: baseline;
}

.widget_recent_comments ul li:before {
    content: "";
    width: 6px;
    height: 6px;
    @include border-radius(50%);
    top: 9px;
}

.widget_recent_comments ul li {
    font-weight: 400;

    * {
        font-weight: 500;
    }
}

.widget_archive li,
.product-categories li,
.widget_categories li {
    text-align: right;
    font-size: 14px;
    font-weight: 400;

    &:after {
        content: " ";
        display: table;
        clear: both;
    }

    > a {
        display: inline-block;
        float: left;
        font-weight: 500;
        font-size: 16px;
    }
}

/* Widgets above and below the page (content and sidebar) */
.widgets_above_page_wrap,
.widgets_above_content_wrap {
    font-size: 1em;
    margin-bottom: 5em;
}

.widgets_below_content_wrap,
.widgets_below_page_wrap {
    font-size: 1em;
    margin-top: 5em;
}

.widgets_below_page_wrap {
    clear: both;
}

/* Widget: Calendar */
.widget_calendar table {
    width: 100%;
    position: relative;
}

.wp-block-calendar caption,
.widget_calendar caption {
    padding-bottom: 0.8em;
    font-weight: 500;
}

.wp-block-calendar table th {
    font-weight: 500;
}

.wp-block-calendar tbody td,
.wp-block-calendar th {
    border: none !important;
}

.widget_calendar table > thead > tr {
    background-color: transparent !important;
}

.wp-block-calendar th,
.wp-block-calendar td,
.widget_calendar th,
.widget_calendar td {
    @include font(1em !important, 1.5em, 400 !important, normal);
    text-align: center;
    text-transform: uppercase;
    padding: 2px;
    border: none !important;
    background-color: transparent !important;
    width: 14.2857%;
    @include border-box;
}

.wp-block-calendar th,
.widget_calendar th {
    font-weight: 500 !important;
    padding-bottom: 10px;
}

.wp-block-calendar tbody td,
.wp-block-calendar td,
.widget_calendar td {
    line-height: 2.74em;
    padding: 0;
}

.wp-block-calendar tbody td a,
.widget_calendar tbody td a {
    display: block;
    position: relative;
    font-weight: normal;
    @include border-box;
}

.wp-block-calendar tbody td a:after,
.widget_calendar tbody td a:after {
    content: ' ';
    @include abs-lb(45%, 3px);
    @include square(6px);
    @include border-radius(50%);
    @include transition-bg-color;
}

.wp-block-calendar tbody td a:after {
    @include abs-lb(47%, 3px);
}

.wp-block-calendar td#today,
.widget_calendar td#today {
    position: relative;
    z-index: 2;

    a:after {
        bottom: 7px;
    }
}

.wp-block-calendar td#today:before,
.widget_calendar td#today:before {
    content: ' ';
    @include abs-cc(-1);
    @include square(2.2em);
    @include border-radius(50%);
}

.widget_calendar tfoot {
    position: relative;
    top: 0;
}

.widget_calendar tfoot td {
    text-transform: none !important;
}

.widget_calendar td#prev {
    text-align: left;
    overflow: hidden;
}

.widget_calendar td#next {
    text-align: right;
}

.widget_calendar .wp-calendar-nav-next a,
.widget_calendar .wp-calendar-nav-prev a,
.wp-calendar-nav-prev a,
.wp-calendar-nav-next a,
.widget_calendar td#prev a,
.widget_calendar td#next a {
    position: relative;
    font-weight: 500;
}

.widget_calendar .wp-calendar-nav-prev a,
.wp-calendar-nav-prev a,
.widget_calendar td#prev a {
    padding-left: 0.2em;
}

.widget_calendar .wp-calendar-nav-next a,
.wp-calendar-nav-next a,
.widget_calendar td#next a {
    padding-right: 0.2em;
}

.widget_calendar .wp-calendar-nav-prev a:before,
.widget_calendar .wp-calendar-nav-next a:before,
.wp-block-calendar .wp-calendar-nav-prev a:before,
.wp-block-calendar .wp-calendar-nav-next a:before,
.widget_calendar td#prev a:before,
.widget_calendar td#next a:before {
    @include abs-lt;
    @include box(1em, 1em, 1.2em);
    display: inline-block;
    text-align: center;
}

.widget_calendar .wp-calendar-nav-prev a:before,
.wp-block-calendar .wp-calendar-nav-prev a:before,
.widget_calendar td#prev a:before {
    content: '\e837';
    font-family: $theme_icons;
}

.widget_calendar .wp-calendar-nav-next a:before,
.wp-block-calendar .wp-calendar-nav-next a:before,
.widget_calendar td#next a:before {
    content: '\e836';
    font-family: $theme_icons;
    left: auto;
    right: 0;
}

.wp-block-calendar a {
    text-decoration: none;
}

.wp-calendar-nav {
    display: flex;
	 flex-wrap: wrap;
    justify-content: space-between;
}

/* Widget: Recent Posts */
.widget_recent_entries .post-date {
    display: inline-block;
    margin-left: 0.5em;
}

/* Widgets: WP Search, WooCommerce Products Search and bbPress Forums Search */
.widget_search form,
.wp-block-search,
.woocommerce.widget_product_search form,
.widget_display_search form,
#bbpress-forums #bbp-search-form {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.widget_search form:after,
.woocommerce.widget_product_search form:after,
.widget_display_search form:after,
#bbpress-forums #bbp-search-form:after {
    content: '\e9a6';
    font-family: $theme_icons;
    display: block;
    @include abs-lt(2em, 50%, 0);
    margin-top: -0.45em;
    @include square(1em);
    pointer-events: none;
    cursor: pointer;
    @include transition-all;
    font-size: 14px;
}

.widget_search .search-field,
.woocommerce.widget_product_search .search_field,
.widget_display_search #bbp_search,
#bbpress-forums #bbp-search-form #bbp_search {
    width: 100%;
    padding: 1.05em 1.5em;
    padding-left: 3.8em !important;
    @include border-box;
}

.widget_search input.search-submit,
.woocommerce.widget_product_search .search_button,
.widget_display_search #bbp_search_submit,
#bbpress-forums #bbp-search-form #bbp_search_submit {
    display: block;
    text-indent: -1000px;
    @include abs-lt;
    @include box(3.8em, 100%);
    padding: 0;
    border: none !important;
    background: none !important;
    cursor: pointer;
}

/* Widget: RSS */
.widget_rss .widget_title a {
    display: inline-block;
    margin-right: 6px;
}

.widget_rss .widget_title a:first-child:before {
    content: '\e8ed';
    font-family: $theme_icons;
    display: inline-block;
    font-size: 0.9em;
}

.widget_rss .widget_title img {
    display: none;
}

.widget_rss ul,
.widget_rss li {
    padding-left: 0
}

.widget_rss ul > li:before {
    display: none;
}

.widget_rss ul > li + li {
    margin-top: 1.2em;
}

.post_content ul.wp-block-rss.wp-block-rss {
    padding-left: 0;
}

/* Widgets: WP Tag Cloud and WooCommerce Tag Cloud */
.widget_product_tag_cloud,
.wp-block-tag-cloud,
.widget_tag_cloud {
    overflow: hidden;
}

.sc_igenerator_form_field_tags_item,
.sc_edd_details .downloads_page_tags .downloads_page_data > a,
.widget_product_tag_cloud a,
.wp-block-tag-cloud a,
.widget_tag_cloud a {
    display: block;
    float: left;
    padding: 7px 10px;
    margin: 0 10px 10px 0;
    @include font(14px !important, 16px, 500);
    letter-spacing: 0;
    text-transform: none;
    @include border-radius(4px);
}

.sc_igenerator_form_field_tags{
	align-items: baseline;
}


/* Widget: Instagram Feed */
#sb_instagram .sbi_header_text {
    padding-top: 0 !important;
    margin-top: -2px;
}

#sb_instagram .sb_instagram_header {
    padding: 0 !important;
    margin-bottom: 0.5em !important;
}

.footer_fullwidth #sb_instagram .sb_instagram_header {
    float: none;
    text-align: center;
    overflow: hidden;
}

.footer_fullwidth #sb_instagram .sb_instagram_header > a {
    float: none;
    display: inline-block;
    overflow: hidden;
}

#sb_instagram .sb_instagram_header h3 {
    font-size: 1.2308em;
    line-height: 1.5em;
}

#sb_instagram .sb_instagram_header p {
    font-size: 1em;
    line-height: 1.5em;
}

#sb_instagram #sbi_load {
    margin-top: 0.5em;
}

/* Widget: Instagram */
ul.instagram-pics {
    margin-right: -5px;
}

ul.instagram-pics li {
    float: left;
    padding: 0 5px 5px 0;
    margin: 0;
    overflow: hidden;
    @include box(33.3333%, auto);
    @include border-box;
}

.column-1_3 ul.instagram-pics li {
    width: 25%;
}

.column-1_2 ul.instagram-pics li {
    width: 20%;
}

.column-1_1 ul.instagram-pics li {
    width: 16.6666%;
}

ul.instagram-pics li:before {
    display: none;
}

/* Cookie Information */
table.wpgdprc-table {
    margin-bottom: 2em;
}

div.wpgdprc .wpgdprc-checkbox {
    display: inline;
}

.wpgdprc-checkbox label {
    position: relative;
    display: inline-block!important;
    padding-bottom: 0 !important;
    padding-left: 32px;
    line-height: 1.4em;
    vertical-align: top;
    font-size: 14px;
}

.wpgdprc-checkbox label input[type="checkbox"] {
    position: static !important;
    clip: auto;
    width: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.wpgdprc-checkbox label input[type="checkbox"]:before {
    content: ' ';
    font-family: $theme_icons;
    font-size: 0.625em;
    display: block;
    text-align: center;
    border: 1px solid #e6e9e9;
    @include box(1.8em, 1.8em, 1.8em);
    @include abs-lt(0, 0.25em);
    @include border-radius(50%);
    @include box-sizing(border-box);
    background: #fff;
    color: #4f5252;
}

.wpgdprc-checkbox label input[type="checkbox"]:checked:before {
    content: '\e9a9';
}

.ua_edge .wpgdprc-checkbox label,
.ua_ie .wpgdprc-checkbox label {
    padding-left: 0;
}

.ua_edge .wpgdprc-checkbox input[type="checkbox"],
.ua_ie .wpgdprc-checkbox input[type="checkbox"] {
    width: auto;
}

.ua_edge .wpgdprc-checkbox input[type="checkbox"]:before,
.ua_ie .wpgdprc-checkbox input[type="checkbox"]:before {
    display: none;
}


/* 10. Footer areas
-------------------------------------------------------------- */

.footer_wrap {
    position: relative;
}

.footer_default.footer_wrap .widget[class*="column-"] {
    margin: 2em 0 !important;
}

.footer_default > .sc_layouts_row_type_normal {
    padding: 3em 0;
}


/* Footer widgets */
.footer_wrap p {
    margin: 0;
}

.footer_wrap .widget[class*="column-"] {
    margin: 1.5em 0;
}

.footer_wrap .vc_col-sm-4 .widget li {
    display: inline-block;
    width: 45%;
    margin-right: 3%;
    vertical-align: top;
}

.footer_wrap .vc_col-sm-4 .widget li li {
    display: block;
    width: 100%;
    margin-right: 0%;
}

.footer_wrap .footer_fullwidth {
    overflow: hidden;
}

.footer_wrap .widget_title,
.footer_wrap .widgettitle {
    text-align: left;
}

.footer_wrap .footer_fullwidth .widget_title,
.footer_wrap .footer_fullwidth .widgettitle {
    text-align: center;
    margin-bottom: 1.5em;
}

/* Footer logo */
.footer_logo_inner {
    padding: 4em 0;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.footer_widgets_wrap + .footer_logo_wrap .footer_logo_inner {
    border-top-width: 1px;
    border-top-style: solid;
}

.footer_logo_inner:after {
    content: ' ';
    @include abs-lb(50%, 0);
    @include box(1px, 3em);
}

.trx_addons_absent .footer_logo_inner {
    padding: 1em 0;
}

.trx_addons_absent .footer_logo_inner:after {
    display: none;
}

.footer_logo_inner img {
    max-width: 25%;
}

.logo_footer_text {
    @include font(3.3333em, 1em);
    letter-spacing: 6px;
    margin: 0;
}

.logo_footer_image + .logo_footer_text {
    margin: 0.63em 0 2em;
}

/* Socials in the default footer */
.footer_socials_inner {
    padding: 2em 0 3em;
    text-align: center;
}

/* Menu in the default footer */
.footer_menu_inner {
    padding: 2em 0;
    text-align: center;
}

.menu_footer_nav_area > ul,
.footer_wrap .sc_layouts_menu > ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.menu_footer_nav_area > ul > li,
.footer_wrap .sc_layouts_menu > ul > li {
    display: inline-block;
    vertical-align: baseline;
    font-size: 16px;
    z-index: auto !important;
}

.menu_footer_nav_area > ul > li + li:before,
.footer_wrap .sc_layouts_menu > ul > li + li:before {
    content: ' ';
    display: inline-block;
    @include box(0, 0.8em);
    margin: 0;
    vertical-align: baseline;
    border-left: 1px dotted #ddd;
    display: none;
}

.menu_footer_nav_area > ul > li > a,
.footer_wrap .sc_layouts_menu > ul > li > a {
    padding: 0.5em 1.2em;
    display: inline-block;
}

.mobile_layout .menu_footer_nav_area > ul > li > a,
.mobile_layout .footer_wrap .sc_layouts_menu > ul > li > a {
    padding: 0.5em 1em;
}

.menu_footer_nav_area > ul > li.menu-item-has-children > a,
.footer_wrap .sc_layouts_menu > ul > li.menu-item-has-children > a {
    padding-right: 3.5em;
}

.mobile_layout .menu_footer_nav_area > ul > li.menu-item-has-children > a,
.mobile_layout .footer_wrap .sc_layouts_menu > ul > li.menu-item-has-children > a {
    padding-right: 2em;
}

.menu_footer_nav_area > ul > li.menu-item-has-children > a:after,
.footer_wrap .sc_layouts_menu > ul > li.menu-item-has-children > a:after {
    content: '\e828';
    font-family: $theme_icons;
    right: 2em;
}

.mobile_layout .menu_footer_nav_area > ul > li.menu-item-has-children > a:after,
.mobile_layout .footer_wrap .sc_layouts_menu > ul > li.menu-item-has-children > a:after {
    right: 0.5em;
}

.menu_footer_nav_area li li.menu-item-has-children > a:after,
.footer_wrap .sc_layouts_menu li li.menu-item-has-children > a:after {
    content: '\e836';
    font-family: $theme_icons;
}

.menu_footer_nav_area > ul > li ul,
.footer_wrap .sc_layouts_menu > ul > li ul {
    top: auto;
    bottom: 3em;
    border: 1px solid #ddd;
}

.menu_footer_nav_area > ul > li ul ul,
.footer_wrap .sc_layouts_menu > ul > li ul ul {
    top: auto;
    bottom: -1.4em;
    margin-left: 2px;
}

.menu_footer_nav_area > ul > li ul ul.submenu_left,
.footer_wrap .sc_layouts_menu > ul > li ul ul.submenu_left {
    margin-left: -2px;
}

.menu_footer_nav_area > ul > li ul > li,
.menu_footer_nav_area > ul > li ul > li > a,
.footer_wrap .sc_layouts_menu > ul > li ul > li,
.footer_wrap .sc_layouts_menu > ul > li ul > li > a {
    font-size: 12px;
}

.menu_footer_nav_area > ul > li ul > li > a,
.footer_wrap .sc_layouts_menu > ul > li ul > li > a {
    display: block;
}

.sc_layouts_column_align_left .elementor-widget-wrap > .sc_layouts_item:first-child .sc_layouts_menu.sc_layouts_menu_dir_horizontal {
    > ul > li:first-child > a {
        padding-left: 0;
    }
}

/* Copyright area in the default footer */
.footer_widgets_wrap + .footer_copyright_wrap .footer_copyright_inner,
.footer_logo_wrap + .footer_copyright_wrap .footer_copyright_inner,
.footer_socials_wrap + .footer_copyright_wrap .footer_copyright_inner,
.footer_menu_wrap + .footer_copyright_wrap .footer_copyright_inner {
    border-top-width: 1px;
    border-top-style: solid;
}

.footer_copyright_inner {
    font-size: 0.9333em;
    padding: 2em 0;
    overflow: hidden;
    text-align: center;
}

.footer_copyright_wrap p {
    margin: 0;
}




/* 11. Utils
-------------------------------------------------------------- */

/* Customizer message */
.fribbo_customizer_message {
    padding: 2em;
    margin: 0 auto;
    max-width: 60%;
    background-color: #f3e6ce;
    color: #996600;
    border-left: 3px solid #666600;
}

.fribbo_customizer_message b {
    color: #333300;
}

/* Debug window */
#debug_log {
    @include fixed-lt(0, 0, 1000000);
    display: block;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

.admin-bar #debug_log {
    top: 32px;
}

#debug_log_close {
    @include abs-rt(0, -6px);
    @include square(20px);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

#debug_log_content {
    @include font(12px, 15px);
    max-height: 66px;
    padding: 16px 16px 6px;
    overflow: auto;
    word-wrap: normal;
    white-space: pre-line;
}





/* 12. Registration and Login popups
-------------------------------------------------------------- */
.popup_wrap {
    @include abs-rt(0, 3.3333em);
    width: 37.5em;
    padding: 3em 2.5em 2em;
    display: none;
}

.popup_registration {
    right: -5.5em;
}

.popup_wrap .popup_close {
    display: block;
    font-size: 1.25em;
    @include square(1em);
    @include abs-rt;
    margin: 0.5em 0.5em 0 0;
    color: #cccccc;
    border: 2px solid #ebebeb;
    background-color: #f4f7f9;
}

.popup_wrap .popup_close:hover {
    color: #909090;
    border: 2px solid #cccccc;
    background-color: #ffffff;
}

.popup_wrap .popup_close:before {
    content: '\e8ac';
    font-family: $theme_icons;
    line-height: 1em;
    padding: 0 !important;
    margin: 0 !important;
}

.popup_wrap .form_wrap {
    position: relative;
    overflow: hidden;
}

.popup_wrap .form_left {
    float: left;
    padding-right: 2.5em;
    width: 54%;
    border-right: 1px solid #e0e0e0;
    @include border-box;
}

.popup_wrap .form_right {
    float: right;
    padding-left: 2.5em;
    width: 45%;
    @include border-box;
}

.popup_wrap.popup_registration .form_left {
    width: 50%;
    padding-right: 5px;
    border-right: none;
}

.popup_wrap.popup_registration .form_right {
    width: 50%;
    padding-left: 5px;
}

.popup_wrap .popup_form_field {
    margin-bottom: 0.625em;
}

.popup_wrap input[type="text"],
.popup_wrap input[type="email"],
.popup_wrap input[type="url"],
.popup_wrap input[type="password"] {
    width: 100%;
    border: 2px solid #ebebeb;
    background-color: #fafafa;
}

.popup_wrap input:not([type="submit"]):focus {
    background-color: #ffffff;
}

.popup_wrap .popup_form_field.iconed_field {
    position: relative;
}

.popup_wrap .popup_form_field.iconed_field:before {
    @include abs-rt(8px, 10px);
    margin-right: 0;
    color: #c9c9c9;
    width: 1em;
}

.popup_wrap .popup_form_field.iconed_field input {
    padding-right: 30px;
}

.popup_wrap .popup_form_field .forgot_password {
    float: right;
    line-height: 1.5em;
}

.popup_wrap .popup_form_field.submit_field {
    padding: 1em 0 4px 4px;
}

.popup_wrap .popup_form_field .submit_button {
    width: 100%;
}

.popup_wrap .login_socials_title {
    color: #222222;
    @include font(1.5em, 1.3em);
    margin-bottom: 0.5em;
}

.popup_wrap .login_socials_problem {
    line-height: 1.3em;
}

.popup_wrap .popup_form_field.remember_field {
    margin-top: 1.2em;
}





/* 13. Third part plugins
------------------------------------------------------------------------------------ */

/* WPBakery PageBuilder */
.wpb_row,
.wpb_text_column,
.wpb_content_element,
ul.wpb_thumbnails-fluid > li,
.last_toggle_el_margin,
.wpb_button {
    margin-bottom: 0 !important;
}

.sc_gap .vc_row {
    margin-left: 0;
    margin-right: 0;
}

.sc_gap .vc_column_container {
    padding-left: 0;
    padding-right: 0;
}

h1 .wpb_text_column p,
h2 .wpb_text_column p,
h3 .wpb_text_column p,
h4 .wpb_text_column p,
h5 .wpb_text_column p,
h6 .wpb_text_column p {
    padding-bottom: 0 !important;
}

.top_panel > .vc_row > .wpb_column {
    z-index: 10;
}

.top_panel > .vc_row:nth-child(2) > .wpb_column {
    z-index: 9;
}

.top_panel > .vc_row:nth-child(3) > .wpb_column {
    z-index: 8;
}

.top_panel > .vc_row:nth-child(4) > .wpb_column {
    z-index: 7;
}

.top_panel > .vc_row:nth-child(5) > .wpb_column {
    z-index: 6;
}

.top_panel > .vc_row:nth-child(6) > .wpb_column {
    z-index: 5;
}

.top_panel > .vc_row:nth-child(7) > .wpb_column {
    z-index: 4;
}

.top_panel > .vc_row:nth-child(8) > .wpb_column {
    z-index: 3;
}

.top_panel > .vc_row:nth-child(9) > .wpb_column {
    z-index: 2;
}

.top_panel > .vc_row:nth-child(10) > .wpb_column {
    z-index: 1;
}

.post_item_single .post_edit .vc_inline-link {
    display: none;
}


/* Google conversion */
iframe[name="google_conversion_frame"] {
    height: 1px;
    min-height: 0px;
    display: none;
}


/* Magnific popup */
.mfp-bg {
    z-index: 200001;
}

.mfp-wrap {
    z-index: 200002;
}

.mfp-arrow {
    background-color: transparent !important;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    right: -20px;
    padding: 0;
    width: 44px;
    text-align: center;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    background: none !important;
}

.mfp-figure img.mfp-img {
    padding-bottom: 0;
    max-height: 75vh;
}



/* The GDPR Framework */
.gdpr-terms-container {
    clear: both;
    margin: 1em 0 !important;
}


/* Scroll button on the RevSlider */
.theme_scroll_down {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    @include font(11px !important, 15px !important);
    letter-spacing: 2px;
}

.theme_scroll_down:after {
    content: '\e938';
    font-family: $theme_icons;
    @include font(16px !important, 30px !important);
    display: block;
    text-align: center;
}

.theme_scroll_down:hover {
    @include animation(squat 0.5s 1 cubic-bezier(0.2, -0.8, 0.6, -1.2));
}


.no-content {
    display: none;
}





/* form wpcf7 */
.wpcf7 .columns_wrap > [class*="column-"] {
    padding-right: 20px;
}

.wpcf7 .columns_wrap {
    letter-spacing: -10px;
    margin-right: -20px;
}

.wpcf7 .columns_wrap *:not(input):not(textarea) {
    letter-spacing: 0;
}

.wpcf7-form > p {
    margin-bottom: 0;
}

.wpcf7 .select_container,
.wpcf7 textarea,
.wpcf7 input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]) {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.wpcf7 textarea {
    margin-bottom: 22px !important;
}

.wpcf7 .wpcf7-not-valid {
    margin-bottom: 2px !important;
}

.wpcf7-not-valid-tip {
    font-weight: 500;
}

.wpcf7 .wpcf7-not-valid + .wpcf7-not-valid-tip {
    margin-bottom: 1em;
}

.wpcf7 textarea {
    height: 8.2em;
    min-height: 4em;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="search"],
.wpcf7-form input[type="password"],
.wpcf7-form textarea,
.wpcf7-form select {
    outline: none;
}

.wpcf7 .wpcf7-submit {
    margin: 1.9em auto 0;
    display: block;
}

div.wpcf7 .ajax-loader {
    display: block;
    margin: 10px auto -26px;
}

.wpgdprc-checkbox {
    margin-bottom: 1em;
}

.wpcf7-acceptance label,
.wpgdprc-checkbox label {
    display: block;
    width: 100%;
}

.wpcf7 .wpcf7-submit.default {
    width: auto;
    margin-top: 4.65em;
}

div.wpcf7-mail-sent-ok,
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
    border-width: 1px;
}

.trx_addons_field_error,
.wpcf7-not-valid,
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
    border-color: #f75389 !important;
}

span.wpcf7-not-valid-tip {
    color: #f75389 !important;
}

div.wpcf7-mail-sent-ok {
    border: 1px solid #1DD5CA;
}

.trx_addons_field_error,
.wpcf7-not-valid {
    @include box-shadow(none);
}

div.wpcf7-response-output {
    margin: 1em 0 1em;
    padding: 1em;
}

.wpcf7 div.wpcf7-response-output {
    margin: 18px 0 0;
    padding: 20px 22px;
    line-height: 1.2em;
    font-size: 14px;
    @include border-radius(4px);
    @include box-shadow(0 0 16px 0px rgba(0, 0, 0, 0.07));
}

.wpcf7-acceptance span.wpcf7-list-item {
    margin: 0;
}

.wpcf7 .align-right .ajax-loader {
    width: 100%;
    background-repeat: no-repeat;
    text-align: right;
    background-position: right;
}

.wpcf7 .align-right {
    text-align: right;
}

.wpcf7 .align-right .wpcf7-list-item-label {
    text-align: left;
}

span.wpcf7-not-valid-tip {
    font-size: 14px;
}

.wpcf7-form-control-wrap.acceptance {
    display: block;
    text-align: center;
}

.wpcf7-form .wpgdprc .wpcf7-list-item {
    margin-left: 0;
}

.wpcf7-form .wpcf7-spinner {
    display: none;
}

.comment-form .wpgdprc-checkbox label,
body .wpgdprc {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
}


.columns_align_left {
    .wpcf7-form-control-wrap.acceptance {
        text-align: left;
    }

    .wpcf7-submit {
        margin-left: 0 !important;
        margin-top: 1em !important;
    }

    .ajax-loader {
        margin-left: 0 !important;
    }
}



/* Style For File Input */
.fileform {
    display: block;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    text-align: left;
    width: auto;
    margin-bottom: 20px;
    @include border-radius(4px);
}

.fileform + .wpcf7-not-valid-tip {
    display: block;
    margin-top: -18px;
}

.fileform #fileformlabel {
    float: left;
    height: auto;
    line-height: inherit;
    overflow: hidden;
    text-align: left;
    vertical-align: middle;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    padding: 0 1.8em;
    z-index: 0;
    @include box-sizing(border-box);
    @include transform(translateY(-50%));
}

.fileform .selectbutton {
    display: none;
}

.fileform .wpcf7-file {
    opacity: 1;
    text-indent: -10000000px;
    height: 100%;
    margin: 0 !important;
    position: relative;
    z-index: 1;
    color: transparent !important;

    &.wpcf7-not-valid {
        opacity: 1;
    }
}


/* Menu */
.sc_layouts_menu_nav > li > ul {
    top: 3.8em;
    left: 50%;
    margin-left: -7.2em !important;
}

.sc_layouts_menu_nav > li.menu-item-has-children > a,
.sc_layouts_menu_nav > li > a {
    padding: 1em 1.2em;
}

.sc_layouts_menu_nav > li.menu-item-has-children > a:after {
    display: none !important;
}

.sc_layouts_menu_popup .sc_layouts_menu_nav,
.sc_layouts_menu_nav > li ul:not(.sc_item_filters_tabs) {
    position: absolute;
    display: none;
    z-index: 10000;
    width: 15.4em;
    padding: 1.7em 0;
    @include box-shadow(0 0 16px 0 rgba(0, 0, 0, 0.05));
    @include border-radius(4px);
}

.sc_layouts_menu_popup li aside ul,
.sc_layouts_menu_nav li aside ul {
    padding: 0 !important;
    margin: 0 !important;
    @include box-shadow(none !important);
    width: auto;
    position: relative;
}

.menu_mobile_nav li > ul.sc_layouts_submenu,
.sc_layouts_menu li > ul.sc_layouts_submenu {
    width: auto;
    max-width: 75em;
}

.sc_layouts_menu_popup .sc_layouts_menu_nav,
.sc_layouts_menu_popup .sc_layouts_menu_nav > li > ul,
.sc_layouts_menu_nav > li > ul ul {
    top: -1.7em;
}

.sc_layouts_menu_popup .sc_layouts_menu_nav > li > a,
.sc_layouts_menu_nav > li li > a {
    padding: 0.4em 2.4em;
}

.sc_layouts_menu_popup .sc_layouts_menu_nav > li.menu-item-has-children > a,
.sc_layouts_menu_nav li li.menu-item-has-children > a {
    padding-right: 3em;
}

.sc_layouts_menu_popup .sc_layouts_menu_nav > li.menu-item-has-children > a:after,
.sc_layouts_menu_nav li li.menu-item-has-children > a:after {
    top: 0.42em;
    right: 2.7em;
}

.sc_layouts_menu_popup .sc_layouts_menu_nav,
.sc_layouts_menu_popup .sc_layouts_menu_nav > li > ul,
.sc_layouts_menu_nav > li > ul ul {
    left: 15.4em;
    margin: 0 0 0 4px !important;
}

.sc_layouts_menu_nav > li > ul ul.submenu_left {
    left: -15.4em;
    margin: 0 0 0 -4px !important;
}





/* Compact */
.sc_layouts_row_type_compact .sc_layouts_item_icon {
    font-size: 15px;
}

.sc_layouts_row_type_compact .sc_layouts_menu_mobile_button .sc_layouts_item_icon {
    font-size: 24px;
}


/* Cart */
.sc_layouts_row_type_compact .sc_layouts_cart {
    .sc_layouts_cart_items_short {
        display: none;
    }

    .sc_layouts_item_icon + .sc_layouts_item_details {
        margin-left: 2px;
    }
}

.sc_layouts_row_type_compact .sc_layouts_cart_details {
    display: inline-block;

    .sc_layouts_cart_label {
        display: none;
    }

    .sc_layouts_cart_totals {
        margin: 1px 0 0 0;
        @include transition-all(0.3s);
    }

    .sc_layouts_cart_items {
        display: none;
    }

    .woocommerce-Price-currencySymbol {
        position: relative;
        top: -6px;
        font-size: 10px;
    }
}

.sc_layouts_cart .sc_layouts_cart_icon:before {
    content: '\e9ac';
    font-family: $theme_icons;
}



/* Search */
.search_wrap .search_submit:before {
    content: '\e9a6';
    font-family: $theme_icons;
}

.sc_layouts_row_type_compact .search_wrap .search_submit {
    font-size: 13px;
}

.search_style_fullscreen .search_submit,
.search_style_fullscreen .search_submit::before,
.search_style_fullscreen .search_submit:active,
.search_style_fullscreen .search_submit:focus,
.search_style_fullscreen .search_submit:hover,
.search_style_fullscreen .search_submit:hover::before {
    -webkit-transition: color 0.2s ease;
    -ms-transition: color 0.2s ease;
    transition: color 0.2s ease;
}


/* fullscreen */
.sc_layouts_row_type_normal .sc_layouts_column .search_style_fullscreen .search_field {
    height: 2.773em;
    line-height: 2.773em;
}

.sc_layouts_row_type_normal .sc_layouts_column .search_style_fullscreen:not(.search_opened) .search_field {
    padding: 0 1.2em !important;
}

.search_style_fullscreen:not(.search_opened) .search_form_wrap {
    text-align: center;
}

.sc_layouts_column .search_style_fullscreen:not(.search_opened) .search_field {
    padding: 0 0.5em !important;
    border: none !important;
}

.sc_layouts_column .search_style_fullscreen:not(.search_opened) .search_submit {
    width: 1.5em;
}

.search_style_fullscreen .search_submit,
.search_style_fullscreen .search_submit:before,
.search_style_fullscreen .search_submit:active,
.search_style_fullscreen .search_submit:focus,
.search_style_fullscreen .search_submit:hover,
.search_style_fullscreen .search_submit:hover:before {
    @include transition-color(0.2s);
}

.sc_layouts_row_type_normal .search_style_fullscreen.search_opened .search_submit:before {
    font-size: inherit !important;
}

.sc_layouts_row_type_normal .sc_layouts_column .search_style_fullscreen.search_opened .search_field,
.search_style_fullscreen.search_opened .search_field {
    font-size: 24px !important;
    font-weight: 400 !important;
    width: 100%;
    letter-spacing: 0;
    height: 2.7em;
    line-height: 2.7em !important;
}

.search_style_fullscreen.search_opened .search_form {
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

.search_style_fullscreen.search_opened .search_field {
    padding: 0 0 0 1.8em !important;
}

.search_style_fullscreen.search_opened .search_submit {
    width: 1em !important;
    height: 1em !important;
    line-height: 1em !important;
    font-size: 25px !important;
    left: 0 !important;
    top: 49% !important;
}

.search_style_fullscreen.search_opened .search_form {
    width: 40%;
}

.search_style_fullscreen .search_submit,
.search_style_fullscreen .search_field {
    background-color: transparent !important;
    -webkit-transition: none !important;
    -ms-transition: none !important;
    transition: none !important;
}

.search_style_fullscreen.search_opened .search_form {
    z-index: 3;
}

.search_style_fullscreen.search_opened .search_close:before {
    font-family: $theme_icons;
    content: '\e9b4';
}

.search_style_fullscreen.search_opened .search_close {
    top: 3em;
    right: 3em;
    width: 25px;
    height: 25px;
    line-height: 25px;
    font-size: 22px;
    text-align: center;
}

.search_style_fullscreen.layouts_search {
    min-width: 1.5em;
}

.rs-layer .post_meta_item.post_categories {
    letter-spacing: -10px;
    color: transparent;

    a {
        letter-spacing: 0;
    }
}


/* Message */
.trx_addons_message_box_error {
    border: 1px solid #f75389;
}

.trx_addons_message_box_success {
    border: 1px solid #1DD5CA !important;
    box-shadow: 4px 4px 16px 0 rgba(29, 213, 202, 0.3)!important;
}

.trx_addons_message_box {
    padding: 20px 22px;
    line-height: 1.2em;
    font-size: 14px;
    @include border-radius(4px);
    @include box-shadow(0 0 16px 0px rgba(0, 0, 0, 0.1));
}

.trx_addons_message_box p {
    margin: 0 !important;

    + p {
        margin-top: 10px !important;
    }
}


.posts_container .post_header .price {
    font-weight: 500;
}


/* Demo */
.list-line-height {
    ul[class*="trx_addons_list"] {
        li {
            margin: 14px 0;

            &:first-child {
                margin-top: 0;
            }

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

.extra-line-height {
    line-height: 1.9em;
}

.extra-margin-col {
    margin-bottom: -20px;

    &.wp-block-gallery {
        margin-bottom: -15px;
    }
}

.extra-margin-bottom {
    margin-bottom: 8px;
}

.extra-wide-space {
    padding: 0 18%;
}

.shift-menu-right {
    margin-right: -1.2em !important;
}

.width-auto .elementor-widget {
    width: auto;
}

.hide-title .widget_title {
    display: none;
}


/* Side Share - FIX */
.side_share {
    .social_item .social_icon {
        display: block;
        @include square(44px);
        font-size: 15px;
    }

    .socials_wrap {
        position: absolute;
    }

    .socials_wrap .social_item {
        display: block;
        margin: 0;

        + .social_item {
            margin-top: 10px;
        }
    }
}

body {
    .side_share.post_share .socials_type_block .social_item .social_icon.social_icon_twitter {
        background-color: #5dcaca;
    }

    .side_share.post_share .socials_type_block .social_item .social_icon.social_icon_facebook {
        background-color: #3d9ae7;
    }

    .side_share.post_share .socials_type_block .social_item .social_icon.social_icon_pinterest {
        background-color: #ea6262;
    }

    .side_share.post_share .socials_type_block .social_item .social_icon.social_icon_pinterest-circled {
        background-color: #ea6262;
    }
}


body:not(.share_original) {
    .side_share {
        position: fixed;
        top: 11em;
        left: 3em;
        display: block;
        line-height: 0;
        z-index: 9999;
    }

    &.body_style_wide:not(.expand_content):not(.sidebar_show) {
        .side_share {
            z-index: 999;
        }

        .content.content_single {
            position: relative;
            right: -125px;
        }

        .side_share {
            -webkit-position: sticky;
            position: sticky;
            top: 8em;
            left: 0;
            margin-left: 130px;
            margin-bottom: 3.5em;
        }
    }
}

.absolute-always {
    position: absolute !important;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
}



.ua_ie_11,
.ua_ie_win,
.ua_ie {
    .wp-block-gallery {
        display: block;

        .blocks-gallery-item {
            img {
                height: 100%;
            }
        }
    }
}


/* Title */
.top_panel_default .sc_layouts_title_breadcrumbs {
    margin-bottom: 10px;
}

.top_panel_default .top_panel_title .sc_layouts_item {
    margin: 1.5em 0 !important;
}

/* Widget wp-widget-nav_menu */
.page_content_wrap .wp-widget-nav_menu {
    & ul {
        margin: 0 auto;
        padding: 0;
        list-style: none;
        width: auto;
    }

    & ul ul {
        margin: 20px 0 0 0;
        padding-bottom: 1px;
        display: none;
        font-weight: 400;
    }

    & ul ul ul {
        padding-left: 0;
        margin: 5px 0;
    }

    & li {
        margin-top: 4px;
        margin-bottom: 4px;
        width: auto;
    }

    & li a {
        font-size: 14px;
        line-height: 18px;
    }

    & li li {
        padding-left: 20px;
    }

    & li li:before {
        display: none;
    }

    & li ul > li:first-child {
        margin-top: 0;
    }

    & li ul > li:last-child {
        margin-bottom: 0;
    }

    & .menu > li {
        margin-top: 20px;
        margin-bottom: 20px;

        &:before {
            display: none;
        }
    }

    & .menu > li > a {
        font-size: 16px;
        line-height: 20px;
        font-weight: 400;
    }

    & li > a {
        width: 100%;
        display: inline-block;
        cursor: pointer;
    }

    & .open_child_menu {
        display: block;
        @include abs-rt;
        @include square(1.5em);
        padding: 0;
        font-size: 14px;
        font-weight: 400;
        top: 2px;
        @include transition-color(0.3s);
    }

    & .open_child_menu:before {
        font-family: $theme_icons;
        content: '\e836';
    }

    & li.opened > a > .open_child_menu:before {
        content: '\e828';
        position: relative;
        top: -1px;
    }

    .text-in {
        visibility: inherit !important;
    }
}

.sc_layouts_menu_nav > li.current-menu-item > a,
.sc_layouts_menu_nav > li.current-menu-parent > a,
.sc_layouts_menu_nav > li.current-menu-ancestor > a {
    font-weight: 400 !important;
}

.rs-layer > .post_meta {
    margin-left: 3px;
}

@media (min-width: 1281px) and (max-width: 1368px) {
    body .rs-row-extra {
        padding-left: 115px !important;
    }
    body sr7-row.rs-row-extra {
		padding-left: 0!important;
		sr7-row-con {
            padding-left: 115px !important;
		}
	}

    body .slider_alias_second .f-image.horizontal,
    body .slider_alias_second .sr7-bullets.f-image.sr7-ndh.sr7-nphl.sr7-npvb,
    body .slider_alias_main .fribbo.horizontal,
    body .slider_alias_main .sr7-bullets.fribbo.sr7-ndh.sr7-nphl.sr7-npvb {
        margin-left: 85px !important;
    }
}

// for 1136
@media (min-width: 1100px) and (max-width: 1170px) {
    body .rs-row-extra {
        padding-left: 85px !important;
    }

    body sr7-row.rs-row-extra {
		padding-left: 0!important;
		sr7-row-con {
            padding-left: 85px !important;
		}
	}

    body .slider_alias_second .f-image.horizontal,
    body .slider_alias_second .sr7-bullets.f-image.sr7-ndh.sr7-nphl.sr7-npvb,
    body .slider_alias_main .fribbo.horizontal,
    body .slider_alias_main .sr7-bullets.fribbo.sr7-ndh.sr7-nphl.sr7-npvb {
        margin-left: 57px !important;
    }

    .rs-layer > .post_meta {
        margin-left: 1px;
    }
}

.post_format_audio .post_featured > .icons {
    display: none !important;
}


.sidebar .wp-block-latest-posts.wp-block-latest-posts__list {
    padding-left: 1.2em;
}

.widget_block.widget_search form:after {
    display: none;
}

.wp-block-group.has-background {
    padding: 1.5em 2em;
}

.wp-block-group.has-background .wp-block-group__inner-container>*:last-child{
	margin-bottom: 0;
}
.is-style-squared > .wp-block-button__link {
    border-radius: unset;
}

.post_content > .wp-block-cover {
    box-sizing: border-box;
}

.wp-block-search .wp-block-search__input {
    max-width: 100%;
}

.has-drop-cap:not(:focus):first-letter {
    font-size: 5em;
    line-height: .8;
}

.trx_addons_absent .post_item_single > .post_content > p:last-child > img.alignright {
    margin-top: 3em;
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input {
    @include border-box;
    @include border-radius(4px);
}

ul.wp-block-social-links {
    padding-left: 0;

    li {
        margin: 0;
    }

    li:before {
        display: none;
    }
}

/* Gallery */
figure.wp-block-gallery {
    @include flex;
    @include flex-direction(row);
    @include flex-wrap(wrap);
    @include flex-justify-content(flex-start);
    @include flex-align-items(stretch);
}

.widget.widget_block {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin-top: 0;
    }
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
	-webkit-transition: background-color 50000s ease-in-out 90000s, color 50000s ease-in-out 90000s;
	-o-transition: background-color 50000s ease-in-out 90000s, color 50000s ease-in-out 90000s;
	transition: background-color 50000s ease-in-out 90000s, color 50000s ease-in-out 90000s;
}

.wp-block-search__button-inside .wp-block-search__inside-wrapper{
	border: 1px solid #949494;
	box-sizing: border-box;
}

:is(.sidebar_inner) .wp-block-search{
	float: none;
	margin: 0!important;
}

.comments_wrap .form-submit input[type="submit"][disabled]:hover,
.sc_igenerator_form_inner .sc_igenerator_form_field_prompt .sc_igenerator_form_field_prompt_button_disabled:hover,
.sc_tgenerator_form_field_prompt .sc_tgenerator_form_field_prompt_button_disabled:hover,
.sc_chat_form_field_prompt .sc_chat_form_field_prompt_button_disabled:hover {
    cursor: not-allowed;
}

.sidebar .trx_addons_audio_player.with_cover {
	padding-left: 1em;
	padding-right: 1em;

	.mejs-container {
		background: transparent !important;
	}

	.mejs-controls {
		padding-top: 5px !important;

		.mejs-horizontal-volume-slider {
			width: 35px;

			.mejs-horizontal-volume-total {
				width: 30px;
			}
		}
	}
}

.widget_contacts .contacts_info .contacts_left, 
.widget_contacts .contacts_info .contacts_right{
	white-space: inherit;
}

.gallery-item {
	overflow: hidden;
	box-sizing: border-box;
	padding: 0 5px;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    text-shadow: none;
}