/* 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";
@import "_skin-vars.scss";


/* 2. Default tag's settings
-------------------------------------------------------------- */
html {
	font-size: 16px;
}
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* Next rule make text bolder in Mozilla on MacOS */
	
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
	display: block;
}
.extra-clear {
	clear: both;
}
.fontello-span {
	font-family: $theme_icons;
}

/* Lists */
li > p+p {
	margin-top:0.5em;
}
ol, ul {
	padding-left:1.5em;
}
li > ol, li > ul, li > dl, dl > dl {
	margin-bottom:0 !important;
}
li > p {
	margin-bottom:0;
}
ul[class*="wp-block-"] {
	padding-left: 0;
	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.8em 1em;
}
table th+th, table th+td, table td+th, table td+td {
	border-left: 1px solid #ddd;
}
table > p {
	margin: 0 !important;
}
table td, table th {
	padding: 1.8em 1em;
}
table th {
	@include font(1.125rem, '', 700, normal);
	text-align: center;
}
caption {
	font-weight: 700;
	text-align: center;
}

/* Blockquotes*/
blockquote {
	position:relative;
	text-align:left;
}
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 {
	padding: 4.1em 4.2em 4.1em 7.2em;
	font-size: 1.125rem;
}
blockquote:before {
    content: '"';
    font-size: 4em;
    display: block;
    position: absolute;
    z-index: 1;
    top: 1.25em;
    left: 1.05em;
    font-weight: 600;
}
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: 3em 0;
}
.blog_mode_post .comments_list blockquote,
.blog_mode_page .comments_list blockquote {
	margin: 1.5em 0;
}
blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
blockquote p {
	margin: 0;
	@include font(1em, 1.35em, 600);
}
blockquote > cite, blockquote > p > cite,
blockquote > .wp-block-pullquote__citation,
.wp-block-quote .wp-block-quote__citation {
	display: block;
	@include font(0.8em, initial, 600, normal);
	text-transform: capitalize;
	margin-top: 2.4em;
	letter-spacing: -0.01em;
}
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;
}
blockquote .block-library-pullquote__content {
	margin-bottom: 2.6em;
}

.blog_mode_post blockquote,
.blog_mode_page blockquote {
	margin: 0;
}
.blog_mode_post .comments_list blockquote,
.blog_mode_page .comments_list blockquote {
	margin: 1.5em 0;
}
.post_content blockquote {
	margin-top: 2.3rem;
	margin-bottom: 2.3rem;
}

/* 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: 0 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%;
}


/* Fontello icons */
.ua_ie .sc_icons.sc_icons_default.sc_icons_size_medium .sc_icons_item .sc_icons_icon {
	font-size: 2px !important;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
	@include font(inherit, inherit !important, inherit, inherit);
	display: inline-block;
	vertical-align: top;
	width:auto;
	margin:0;
}

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

.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);
}

figure,
.elementor img,
.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);	
}
figure,
.wp-caption {
	margin-bottom: 1em;
}
figure:hover,
.wp-caption:hover {

	& > .wp-caption-text,
	& > figcaption {
		opacity: 0;

		&:hover {
			opacity: 1;
		}
	}
}
p figure,
p .wp-caption {
	margin-bottom: 0;
}
figure figcaption,
.wp-block-image figcaption,
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .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 abs-pos(auto, 0, 0, 0);
	@include font(1.125rem, initial, 600, normal);
	@include transition-property(margin-bottom);
	@include border-box;
	margin-bottom: 0;
	text-align:center;
	padding: 1em 0.5em !important;
	overflow: hidden;
}
figure figcaption:hover,
.wp-caption .wp-caption-text:hover,
.wp-caption .wp-caption-dd:hover,
.wp-caption-overlay .wp-caption .wp-caption-text:hover,
.wp-caption-overlay .wp-caption .wp-caption-dd:hover {
	margin-bottom: 0;
}
.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;
}

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;
	padding: 0 5px;
}
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;
}
.gallery-item a img {
    border: none !important;
    display: block;
    width: 100%;
}
.gallery-columns-9 .gallery-caption { font-size: 0.625em; line-height: 1.75em; }
.gallery-columns-8 .gallery-caption { font-size: 0.6875em; line-height: 1.75em; }
.gallery-columns-7 .gallery-caption { font-size: 0.75em; line-height: 1.75em; }
.gallery-columns-6 .gallery-caption { font-size: 0.8125em; line-height: 1.75em; }


/* 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,
figure.wp-block-video,
figure.wp-block-embed {
	overflow: visible;
}
figure.wp-block-audio {
	display: block;	
}
figure.wp-block-audio figcaption,
figure.wp-block-video figcaption,
figure.wp-block-embed figcaption {
	position: static;
	@include transition(none);
	background: none !important;
	margin: 0.5em 0 0;
}
figure.wp-block-audio:hover figcaption,
figure.wp-block-video:hover figcaption,
figure.wp-block-embed:hover figcaption {
	margin: 0.5em 0 0;
}


/* Embed blocks */
.wp-block-embed.wp-has-aspect-ratio {
	display: block;
}
.wp-block-embed .wp-block-embed__wrapper {
	position: relative;
}
.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%);
}
.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;
}

/* Cover image */
.wp-block-cover-image,
.wp-block-cover {
	color: #fff;
}
.wp-block-cover-image .wp-block-cover-text,
.wp-block-cover .wp-block-cover-text {
	max-width: 90%;
	@include border-box;
}
.wp-block-cover-image p,
.wp-block-cover p {
	margin-bottom: 0 !important;
	line-height: 1.5em !important;
}
.wp-block-cover-image p + p,
.wp-block-cover p + p {
	margin-top: 1em !important;
}
.wp-block-cover-image a,
.wp-block-cover a {
	color: inherit;
}

/* Media & Text */
.wp-block-media-text .has-medium-font-size {
	line-height: 1.5em;
}
.wp-block-media-text .has-large-font-size {
	line-height: 1.4em;
}
.wp-block-media-text .has-huge-font-size {
	line-height: 1.3em;
}

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

/* Core columns */
.wp-block-columns {
	@include flex-wrap(nowrap);
	margin-bottom: 0;
}
.wp-block-column:nth-child(odd) {	margin-right: 0; }
.wp-block-column:nth-child(even) {	margin-left: 0; }
.wp-block-column:not(:first-child) {margin-left: $grid_gap / 2; }
.wp-block-column:not(:last-child) {	margin-right: $grid_gap / 2; }

/* Kadence columns in the editor */
.kt-gutter-default > .innerblocks-wrap > .editor-inner-blocks > .editor-block-list__layout > [data-type="kadence/column"] {
	margin-right: $grid_gap;		
}
/* Kadence columns in the frontend */
.kt-gutter-default > .wp-block-kadence-column {
	margin-right: $grid_gap;
}

/* CoBlocks columns in the frontend */
.has-small-gutter > [class*="wp-block-coblocks-"]:not(:first-child) {
	margin-left: $grid_gap / 2;
}
.has-small-gutter > [class*="wp-block-coblocks-"]:not(:last-child) {
	margin-right: $grid_gap / 2; 
}

/* Groups */
.wp-block-group.has-background {
	padding: 1.5em 2em;
	margin-bottom: 1.5em;
}

/* Alignment */
.alignleft {
	display: inline-block;
	vertical-align: top;
	float: left;
	margin-right: 2em !important;
	margin-bottom: 1em !important;
	margin-top: 0.5em !important;
}
.alignright {
	display: inline-block;
	vertical-align: top;
	float: right;
	margin-left: 2em !important;
	margin-bottom: 1em !important;
	margin-top: 0.5em !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[class*="align"] {
	@include flex;
}


/* Align left and right inside narrow content without sidebars */
.sidebar_hide.narrow_content .alignleft,
.sidebar_hide.narrow_content .alignright {
	max-width: ( $page - $content_narrow ) / 2 - 30px;
}
.sidebar_hide.narrow_content .alignleft {
	float: left;
	margin: 1em 1em 1em ( $page - $content_narrow ) / -2;
}
.sidebar_hide.narrow_content .alignright {
	float: right;
	margin: 1em ( $page - $content_narrow ) / -2 1em 2em;
}
.sidebar_hide.narrow_content .wp-block-image > .alignleft,
.sidebar_hide.narrow_content .wp-block-image > .alignright {
	max-width: none !important;
}


/* Align left and right inside normal content without sidebars */
.sidebar_hide.normal_content .alignleft {
	float: left;
	margin: 1em 1em 1em 0;
}
.sidebar_hide.normal_content .alignright {
	float: right;
	margin: 1em 0 1em 2em;
}


/* Wide and Full blocks */
.alignfull > img,
.alignwide > img {
	max-width: none;
	width: 100%;
}
body.sidebar_hide .alignwide {
	position: relative;
	left: calc( -88vw / 2 + 100% / 2 );
	width: 88vw;
	max-width: none;
}
body.sidebar_hide.narrow_content .alignwide,
body.sidebar_hide.normal_content .alignwide {
	left: calc( #{$page} / -2 + 50% );
	width: $page;
}
.sidebar_hide.normal_content .post_info_vertical_present .alignwide {
	left: calc( #{$page} / -2 + 50% - 8.8235% );
}
body.sidebar_hide .alignfull {
	margin-left : calc( -100vw / 2 + 100% / 2 + 8px );
	margin-right : calc( -100vw / 2 + 100% / 2 + 8px );
	width: calc( 100vw - 16px );
	max-width : calc( 100vw - 16px );
}
.sidebar_hide.normal_content .post_info_vertical_present .alignfull {
	margin-left: calc( -100vw / 2 + 100% / 2 + 8px - 8.8235% );
}



/* 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; 
}
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"] {
	@include transition-colors;
	@include border-box;
	@include border-sharp;
}
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;
}
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,
textarea.wp-editor-area:focus {
	outline: none;
}
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 {
	-webkit-appearance: none;
	outline: none;
	resize: none;
}

/* 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;
}

/* Theme buttons */
.theme_button_template {
	-webkit-appearance: none;
	cursor: pointer;
	display:inline-block;
	vertical-align: top;
	@include font(12px, 22px, 400);
	@include border-box;
	text-transform:uppercase;
	white-space:nowrap;
	letter-spacing:0;
	height: auto;
	max-width: 100%;
}
.theme_button_filled {
	@extend .theme_button_template;
	border-width: 0 !important;
	padding:1.5em 3em;
}
.theme_button_bordered {
	@extend .theme_button_template;
	background: none !important;
	border-width: 2px !important;
	border-style: solid;
	padding: 1.3em 2.8em;
}


.minimal-light .esg-navigationbutton.esg-loadmore,
/* Buttons */
form button:not(.components-button),
input[type="button"],
input[type="reset"],
input[type="submit"],
.theme_button,
.post_item .more-link,
.gallery_preview_show .post_readmore,
.wp-block-button__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,
table.booked-calendar button.new-appt.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,
#btn-buy,
.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,
/* Events Calendar */
.tribe-events-header .tribe-events-header__events-bar  button,
.tribe-events-c-ical a,
/* 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 {
	-webkit-appearance: none;
	cursor: pointer;
	display:inline-block;
	vertical-align: top;
	@include font(12px, 22px, 400);
	@include border-box;
	text-transform: capitalize;
	white-space:nowrap;
	padding:1.5em 3em;
	letter-spacing:0;
	height: auto;
	border-width: 0 !important;
}
.sc_button.sc_button_size_small:not(.sc_button_simple),
.theme_button.theme_button_small {
	padding:14px 46px;
}
.sc_button.sc_button_simple {
	padding-top:0;
	padding-bottom:0;
}
/* Bordered button */
table.booked-calendar button.new-appt.button,
.sc_button.sc_button_bordered,
#btn-buy,
.wp-block-button.is-style-outline > .wp-block-button__link {
	border-width: 2px !important;
	padding: 1.3em 2.8em;
	border-style: solid;
}
.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: 12px 44px;
}
/* Simple button */
.sc_button_simple {
	@include font(1em, 1.25em, 400, italic);
	letter-spacing:0;
	text-transform:none;
	border: none !important;
	padding: 0 1.8em 0 0;
}
.sc_button_simple:before,
.sc_button_simple:after {
	content:'\e93a';
	font-family:$theme_icons;
	font-style:normal;
}
/* Buttons in widgets */
.widget.WOOCS_CONVERTER .button,
.widget.yith-woocompare-widget a.button,
.widget.yith-woocompare-widget a.clear-all {
	@include font(11px, 16px);
	padding:10px 16px;
}

/* Text fields */
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,
/* 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.3em 2.2em;
	border-width: 1px;
	border-style: solid;
	border-radius: 1em;
	line-height: normal;
}
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;
}
label {
	font-size: 0.875em;
    font-weight: 600;
}

/* Text fields in widgets */
.sidebar .widget_product_search button.search_button,
.sidebar .widget_search .search-submit {
	width: 2.9rem;
    height: 2.9rem;
    top: 0.25rem;
    right: 0.25rem;
}
.sidebar .widget_product_search form.search_form:after,
.sidebar .widget_search form:after {
	z-index: 1;
    font-size: 1.3rem;
    right: 1rem;
    top: 1.7rem;
}


/* Radio buttons and checkboxes */
.mc4wp-form-fields 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"] {
	display:none;
}
label > input[type="radio"],
label > input[type="checkbox"],
input[type="checkbox"].wpcf7-acceptance {
	display: inline-block;
	vertical-align:baseline;
	position: static !important;
	clip: auto;
}
.mc4wp-3-list-item-label,
.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-3-list-item-label,
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 {
    position: relative;
    padding-left: 2em;
    line-height: initial;
    display: inline-block;
    vertical-align: top;
    font-size: 0.875rem;
    font-weight: 500;
}
.mc4wp-3-list-item-label a,
input[type="radio"] + label a,
input[type="checkbox"] + label a,
input[type="radio"]+.wpcf7-list-item-label a,
input[type="checkbox"]+.wpcf7-list-item-label a,
.edd_price_options ul > li > label > input[type="radio"] + span a,
.edd_price_options ul > li > label > input[type="checkbox"] + span a {
	text-decoration: underline;
}
.wpcf7-list-item-label.wpcf7-list-item-right {
	position:relative;
	padding-right:1.4em;
	display: inline-block;
	vertical-align: top;	
}
.mc4wp-3-list-item-label:before,
.wpgdprc-checkbox input[type="checkbox"]: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 {
	content:' ';
	font-size: 1rem;
	display: block;
	text-align: center;
	border: 0.125rem solid #D6D9DF;
	@include box(1.1rem, 1.1rem, initial);
	@include abs-lt(0, -2px);
	@include border-box;
	border-radius: 0.313rem;
}
.ua_ie input[type="checkbox"]:checked + .mc4wp-3-list-item-label:before,
.ua_ie .wpgdprc-checkbox input[type="checkbox"]:checked:before,
.ua_ie input[type="checkbox"]:checked + label:before,
.ua_ie input[type="checkbox"]:checked+.wpcf7-list-item-label:before,
.ua_ie .wpcf7-checkbox .wpcf7-list-item-checked.wpcf7-list-item-right:before,
.ua_ie .edd_price_options ul > li > label > input[type="checkbox"]:checked + span:before,
.ua_ie .mc4wp-3-list-item-label:before,
.ua_ie .wpgdprc-checkbox input[type="checkbox"]:before,
.ua_ie input[type="radio"] + label:before,
.ua_ie input[type="checkbox"] + label:before,
.ua_ie input[type="radio"]+.wpcf7-list-item-label:before,
.ua_ie input[type="checkbox"]+.wpcf7-list-item-label:before,
.ua_ie .wpcf7-list-item-label.wpcf7-list-item-right:before,
.ua_ie .edd_price_options ul > li > label > input[type="radio"] + span:before,
.ua_ie .edd_price_options ul > li > label > input[type="checkbox"] + span:before {
	top: 5px;
}
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;
}
input[type="checkbox"]:checked + .mc4wp-3-list-item-label:before,
.wpgdprc-checkbox input[type="checkbox"]:checked: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 {
	content: '\e814';
    font-family: $theme_icons;
    font-size: 0.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
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:'\e83c';
	font-family: $theme_icons;
	font-size: 2rem;
	line-height: 0.9rem !important;
}

/* 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_"]) {
	visibility:hidden;
}
/* Show all select fields when they inside an our wrapper */
.select_container select:not(.esg-sorting-select):not([class*="trx_addons_attrib_"]) {
	visibility:visible;
}
/* 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(0, 0, 0, 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(1em, 50%, 2);
	@include square(1em);
	margin-top:-0.5em;
	pointer-events: none;
	cursor:pointer;
}
.select_container select {
	background:none !important;
	border-color: transparent !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;
}
.woocommerce .variations .select_container,
.select2-container.select2-container--default span.select2-choice,
.select2-container.select2-container--default span.select2-selection {
	height: auto;
	border: 2px solid #ddd;
	@include border-sharp;
}
.select2-container.select2-container--default span.select2-choice,
.select2-container.select2-container--default span.select2-selection {
	padding:0.4985em 0 0.4985em 1.4em;
}
.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: 2.86em;
}
.select2-container.select2-container--default .select2-selection .select2-selection__arrow {
	top: 50%;
	@include translateY;
}
.select2-drop-active {
	border: none;
}
.select2-dropdown {
	border: 1px solid #ddd;
}
.select2-search {
	padding: 4px 0;
}

/* 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: #21759b;
	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));
}

.amuli_skip_link  {
	@include abs-lt(6px, 6px, 999999);
	@include translateY(-200%);
	@include transition-property(transform);
}
.amuli_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.amuli_skip_link_anchor {
	position: absolute;
	@include box(0,0);
}

.alignleft {
	display: inline-block;
	float: left;
	margin-right: 2em !important;
	margin-bottom: 1em !important;
}
.alignright {
	display: inline-block;
	float: right;
	margin-left: 2em !important;
	margin-bottom: 1em !important;
}
.aligncenter {
	clear: both;
	margin-left: auto !important;
	margin-right:auto !important;
	margin-bottom: 1em !important;
	text-align:center;
}
figure.alignleft,
figure.alignright {
	margin-top: 0.5em !important;
}
figure.alignnone {
	margin-bottom: 1em;
}

/* Sticky posts */
.sticky_wrap {
	margin-bottom: 5em;
	position: relative;
	z-index: 1;		// Need to place share menu over next post
}
.sticky .post_header {
	padding: 0 2em;
}
.sticky .post_content {
	padding: 0 2em 2em 2em;
}
.sidebar_hide .sticky_wrap .sticky,
.body_style_fullwide .sticky_wrap .sticky,
.body_style_fullscreen .sticky_wrap .sticky {
	text-align:center;
}
.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;
}
.sticky .sc_button {
	border-width: 2px !important;
	border-style: solid;
}

/* Gallery */
.gallery {
	margin: 0 -5px;
}
.gallery-item {
	display: inline-block;
	vertical-align:top;
	overflow:hidden;
	@include border-box;
}

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

.gallery-item a {
	display: block;
}
.gallery-item a img {
    border: none !important;
    display: block;
    width: 100%;
}
.gallery-item .gallery-icon {
	margin: 5px 0;
}
.gallery-item .gallery-caption {
	max-height: 53px;
	left: 5px;
	right: 5px;
	bottom:5px;
}
.gallery-columns-9 .gallery-caption { font-size: 0.625em; }
.gallery-columns-8 .gallery-caption { font-size: 0.6875em; }
.gallery-columns-7 .gallery-caption { font-size: 0.75em; }
.gallery-columns-6 .gallery-caption { font-size: 0.8125em; }


/* 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;
}






/* 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: $grid_gap;
}
.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;
}

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

.theme_button_close,
.trx_addons_button_close,
.review-form a.close,
#cancel-comment-reply-link {
	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,
#cancel-comment-reply-link {
	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,
#cancel-comment-reply-link: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,
#cancel-comment-reply-link:before,
#cancel-comment-reply-link: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,
#cancel-comment-reply-link:before,
#cancel-comment-reply-link:after {
	left: 25%;
	width: 50%;
}
.theme_button_close_icon:before,
.trx_addons_button_close_icon:before,
.mfp-close:before,
.review-form a.close:before,
#cancel-comment-reply-link:before {
	@include rotate(45deg);
}
.theme_button_close_icon:after,
.trx_addons_button_close_icon:after,
.mfp-close:after,
.review-form a.close:after,
#cancel-comment-reply-link: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: 7.1rem;
	padding-bottom: 7.4rem;
}
.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);
}
header.top_panel_default .top_panel_title {
	padding-top: 4em;
	padding-bottom: 4em;
}


/* 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%;
	background: rgba(0,0,0,0) !important;
}
.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
---------------------------------------------- */
.menu_main_nav>li>a:hover,
.menu_main_nav>li>a:focus,
.sc_layouts_row:not(.sc_layouts_row_type_narrow) .sc_layouts_menu_nav>li>a:hover,
.sc_layouts_row:not(.sc_layouts_row_type_narrow) .sc_layouts_menu_nav>li>a:focus {
	opacity: 0.7;
}

.sc_layouts_row_type_narrow {
	font-size: 14px;
}
.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: 600 !important;
}

/* 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;
}
.sc_layouts_menu_nav > li.menu-item-has-children > a {
	padding-right: 1.6em;
}
.sc_layouts_menu_nav > li > a {
    padding: 1em 1.6em;
}
.sc_layouts_menu_nav.menu_main_nav > li.menu-item-has-children > a:after {
	content: '';
}
.sc_layouts_menu_nav .sub-menu {
	border-style: solid;
	border-width: 0px;
	border-top-width: 2px;
	text-align: center !important;
}
.sc_layouts_menu_nav > .menu-item > .sub-menu {
	left: 50%;
    margin-left: -5.6rem;
}
.sc_layouts_item_link .sc_layouts_item_icon.trx_addons_icon-menu {
    font-size: 25px;
    font-weight: 500;
}


/* 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 .menu-item > 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 */
}
.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 .menu-item > a {
	padding: 1px 2.5em 1px 0;
	letter-spacing:1px;
	position:relative;
	display: inline-block;
	text-align:left;
	width: 28rem;
	@include border-box;
}
.menu_mobile .menu_mobile_nav_area > ul {
	width: 100%;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item > a {
	@include font(18px, 1.5em);
	font-weight: 600;
    text-transform: capitalize;
}
.menu_mobile .menu_mobile_nav_area .menu-item[class*="icon-"] {
	position: relative;
}
.menu_mobile .menu_mobile_nav_area .menu-item[class*="icon-"]:before {
	display:inline-block;
	padding: 0;
	width: 1em;
	line-height:inherit;
	@include abs-lt(50%, 0);
	@include translateX(-14rem);
	@include transition-color;
}

.menu_mobile .menu_mobile_nav_area .menu-item[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 > .menu-item[class*="icon-"] > a {
	padding-left: 1.5em;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item[class*="columns-"][class*="icon-"]:before {
	position:static;
	margin:0 0 0 0.5em;
	float:left;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item[class*="columns-"][class*="icon-"] > a {
	float:left;
	margin-left: -1.5em;
}

.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item > a {
	padding-left: 1em;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item[class*="icon-"]:before {
	margin-left: 2em;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item[class*="icon-"] > a {
	padding-left: 3.5em;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item[class*="image-"] > a {
	background-position: 1.6667em center;
	padding-left: 3.5em;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item .menu-item > a {
	padding-left: 2em;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item .menu-item[class*="icon-"]:before {
	margin-left: 3em;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item .menu-item[class*="icon-"] > a {
	padding-left: 4.5em;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item .menu-item[class*="image-"] > a {
	background-position: 1.6667em center;
	padding-left: 4.5em;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item .menu-item .menu-item > a {
	padding-left: 4em;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item .menu-item .menu-item[class*="icon-"]:before {
	margin-left: 4em;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item .menu-item .menu-item[class*="icon-"] > a {
	padding-left: 5.5em;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item .menu-item .menu-item[class*="image-"] > a {
	background-position: 1.6667em center;
	padding-left: 5.5em;
}

.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item.menu-delimiter {
    margin-top: 0 !important;
    padding-top: 0 !important;
    text-align: center;
    overflow: hidden;
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item.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 > .menu-item .menu-item.menu-delimiter > a:before {
	content: ' ';
	display: block;
    border-top: 1px solid #f0f0f0;
	@include box(100%, 0);
	
}
.menu_mobile .menu_mobile_nav_area > ul > .menu-item .menu-item.menu-delimiter > a > * {
	display: none;
}

.menu_mobile .menu_mobile_nav_area .open_child_menu {
	display:block;
	@include abs-rt;
	@include square(1em);
	padding:0.25em;
	background-color: rgba(255,255,255,0.1);
	@include transition-colors;
}
.menu_mobile .menu_mobile_nav_area .menu-item .menu-item .open_child_menu {
	background-color:transparent;
	padding: 0.25em 0.5em;
}
.menu_mobile .menu_mobile_nav_area a:hover > .open_child_menu {
	background-color: rgba(255,255,255,0.2);
}
.menu_mobile .menu_mobile_nav_area .open_child_menu:before {
	font-family:$theme_icons;
	content:'\e828';
}
.menu_mobile .menu_mobile_nav_area .menu-item.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_narrow .menu_mobile_nav_area ul.sc_layouts_submenu .vc_row,
.menu_mobile_narrow .menu_mobile_nav_area ul.sc_layouts_submenu .elementor-row {
	display: block;
}
.menu_mobile .menu_mobile_nav_area ul.sc_layouts_submenu .columns_wrap [class*="column-"],
.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 {
    position: absolute;
    z-index: 1;
    bottom: auto;
    left: auto;
    font-size: 0.8667em;
    padding: 2em 1.8em;
    background-color: transparent;
    width: 2.9rem;
    height: 2.9rem;
    top: 0.3rem;
	right: 0.3rem;
	cursor: pointer;
}
.menu_mobile .search_mobile .search_submit:before {
	font-size: 1.3rem;
    right: 1.1rem;
    top: 0.7rem;
    position: absolute;
}

.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_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 .menu_mobile_nav_area ul.sc_layouts_submenu {
	width: 18rem;
}
.menu_mobile_narrow .menu_mobile_nav_area .menu-item > a {
	@include font(1em, 1.5em);
	text-transform: none;
	letter-spacing:0px;
	width: 18rem;
}
.menu_mobile_narrow .menu_mobile_nav_area .menu-item[class*="icon-"]:before {
	@include translateX(-9rem);
}
.menu_mobile_narrow .menu_mobile_nav_area > ul > .menu-item > a {
	@include font(1.25em, 1.5em);
}
.menu_mobile_narrow .menu_mobile_nav_area > ul > .menu-item > a > .open_child_menu:before {
	@include font(1em, inherit);
}
.menu_mobile_narrow .menu_mobile_nav_area .menu-item .menu-item .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;
}




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

/* Common styles */
.blog_archive {
	padding-bottom: 4em;
}
.post_item p {
	margin-bottom:0;
}
.post_item > .post_title {
	margin-top:0;
}
.post_item .more-link,
.sc_portfolio_preview_show .post_readmore,
.gallery_preview_show .post_readmore {
	margin-top: 2.5em;
}

/* Tabs (internal and Essential Grid) */
div.esg-filter-wrapper {
	border-style: solid;
	border-width: 0;
	border-bottom-width: 1px;
	margin-bottom: 70px;
}
.esg-loadmore-wrapper {
	margin-top: 60px;
}
.mptt-navigation-tabs,
div.amuli_tabs .amuli_tabs_titles {
	list-style-type:none;
	padding:0;
	text-align:center;
	letter-spacing:0;
	margin: -0.85em 0 3.2em;
}
div.esg-filter-wrapper .esg-filterbutton,
.mptt-navigation-tabs li,
div.amuli_tabs .amuli_tabs_titles li {
	display: inline-block;
	margin: 3px 0 0;
	@include font(16px, 1.4em, 600);
	text-transform:uppercase;
	padding: 0;
	border-style: solid;
	border-width: 0;
	border-bottom-width: 5px;
	@include border-radius(0);
}
div.esg-filter-wrapper .esg-filterbutton {
	background-color: transparent !important;
}
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.amuli_tabs .amuli_tabs_titles li+li {
	margin-left:3px;
}
div.esg-filter-wrapper .esg-filterbutton > span,
.mptt-navigation-tabs li a,
div.amuli_tabs .amuli_tabs_titles li a,
div.amuli_tabs .amuli_tabs_titles li a.ui-tabs-anchor {
	display:block;
	float: none;
	padding: 1.75em 4.5em;
	@include transition-colors;
}
div.amuli_tabs .amuli_tabs_content {
	padding: 0;
}
div.amuli_tabs .amuli_tab_content_remove {
	opacity: 0;
}
div.amuli_tabs .nav-links {
	margin-top:1em;
}
.minimal-light .esg-navigationbutton.esg-loadmore {
	font-family: "Montserrat",sans-serif;
	font-size: 0.875em;
	font-weight: 600;
	font-style: normal;
	line-height: initial;
	text-decoration: none;
	text-transform: capitalize;
}


/* Post's banners */
.page_content_wrap {
	position: relative;
}
[class*="_banner_wrap"] {
	position: relative;
	text-align: center;
}
[class*="_banner_wrap"] .banner_link {
	display: block;
	@include abs-cover('');
}
.banner_with_image:before {
	content: ' ';
	@include bg-mask(#000, 0.3, 1);
	@include transition-property(background-color);
}
.banner_with_image:hover:before {
	background-color: rgba(0,0,0,0.1);
}
.banner_with_image > * {
	position: relative;
	z-index: 2;
	color: #fff !important;
}
.page_banner_wrap {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	padding: 30px;
	background-size: 100% auto;
	background-repeat: repeat-y;
	background-attachment: fixed;
}
.custom-background .page_content_wrap {
	background-color: transparent !important;
}
.custom-background .content_wrap > .content,
.page_banner_wrap ~ .content_wrap > .content {
	padding: 4rem;
	@include border-box;
}
.header_banner_wrap,
.sidebar_banner_wrap,
.footer_banner_wrap {
	padding: 30px;
	background-position: center;
	background-size: cover;
}
.sidebar_banner_wrap {
	margin-bottom: 30px;
}

/* Post featured block */
.post_featured {
	overflow:hidden;
	position:relative;
	margin-bottom: 3.6em;
}
.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;
}
// Uncomment this if you want to stretch images to the block's width
.post_featured_right {
	float: right;
	width: 50%;
	margin-left: 4.3478%;
}
.post_featured_left {
	float: left;
	width: 50%;
	margin-right: 4.3478%;
}

/* Post info block */
.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-property(color);
}
.post_meta .post_meta_item:after,
.post_meta .post_meta_item.post_edit:after,
.post_meta .vc_inline-link:after {
	content: '/';
	display:inline;
	font-family:inherit;
	@include font(inherit, '', 400, normal);
	vertical-align:baseline;
	margin: 0 0.5em;
}
.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: 0.3em;
}
.post_meta .vc_inline-link:before {
	content: '\e8bb';
	font-family: $theme_icons;
}
.post_meta .post_meta_item .post_author_avatar {
	display: inline-block;
	vertical-align: middle;
	line-height: inherit;
	margin-right: 0.3em;
}
.post_meta .post_meta_item .post_author_avatar > img {
	@include border-round;
	@include box(1.25em, 1.25em);
}
.post_meta .post_meta_item .post_meta_number + .post_meta_label {
	margin-left: 0.3em;
}

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

/* Sponsored content */
.post_meta_item .post_sponsored_label {
	@include font(11px, 15px, bold);
	text-transform: uppercase;
}
.single-post .post_meta_item .post_sponsored_label {
	padding: 2px 8px;
	@include font(10px, 15px, bold);
	text-transform: uppercase;
}

/* Socials share in the post meta */
.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);
}
.single_style_out-over-fullwidth .post_header_single .post_meta {
	font-size: 1.125rem;
}

/* 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;
}

// Uncomment this if you want to stretch images to the block's width
.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: rgba(0,0,0,0.5);
}


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

/* Sticky posts */
.sticky_wrap {
	margin-bottom: 5em;
	position: relative;
	z-index: 1;		// Need to place share menu over next post
}
.sidebar_hide .sticky_wrap .sticky,
.body_style_fullwide .sticky_wrap .sticky,
.body_style_fullscreen .sticky_wrap .sticky {
	text-align:center;
}
.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;
}

ul.sc_layouts_submenu .sticky {
	border: none;
	padding: 0;
}
ul.sc_layouts_submenu .sticky .label_sticky {
	display: none;
}

/* 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;
}


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

.mejs-controls {
	padding: 0;
}

// Icons instead bg image
.mejs-controls .mejs-button > button {
	background: none !important;
	padding: 0 !important;
	text-align:center;
	@include font(1.5em, 20px);
}
.mejs-controls .mejs-playpause-button.mejs-play > button:before,
.mejs-controls .mejs-playpause-button.mejs-replay > button:before {
	content: '\e988';
	font-family:$theme_icons;
}
.mejs-controls .mejs-playpause-button.mejs-pause > button:before {
	content: '\e8e3';
	font-family:$theme_icons;
}
.mejs-controls .mejs-volume-button.mejs-mute > button:before {
	content: '\e905';
	font-family:$theme_icons;
}
.mejs-controls .mejs-volume-button.mejs-unmute > button:before {
	content: '\e904';
	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:-1px;
	padding-left: 0;
	padding-right: 0;
}


/* Audio */
.format-audio .post_featured {
	position:relative;
	max-height: 16em;
}
.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, '', 400, italic);
	margin-bottom: 2em;
}
.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 {
	font-size: 1.125em;
    line-height: 1.35em;
    font-weight: 600;
    text-transform: none;
    margin: 0;
}
.format-audio .post_featured .post_audio_title {
	@include font(1.2em, 1.5em);
	margin-top: 0.4em;
	margin-bottom: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_captionm
.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.6em 0 0.25em;
}
.post_audio .audio_info {
	display: flex;
    flex-direction: column-reverse;
}


.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: 2em 2.5em;
	border: 1px solid #ddd;
}

/* Shortcode "Audio" */
.trx_addons_audio_player {
	padding:1.5em 2.5em;
}
.trx_addons_audio_player.without_cover {
	border: 1px solid #ddd;
}

// 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;
}

/* Audio Player */
.mejs-time-buffering,
.mejs-time-current,
.mejs-time-float,
.mejs-time-float-corner,
.mejs-time-float-current,
.mejs-time-hovered,
.mejs-time-loaded,
.mejs-time-marker,
.mejs-time-total {
	height: 8px;
}
.trx_addons_audio_player .audio_info + .audio_embed,
.trx_addons_audio_player .audio_info + .audio_frame {
    margin-top: 32px;
}
.related_item.post_format_audio,
.post_item.format-audio .post_featured.without_thumb .post_audio,
.trx_addons_audio_player {
	padding: 54px 58px;

	.mejs-time-rail {
		width: 36px;
	}

	.mejs-time {
		width: 42px;
	}

	.mejs-horizontal-volume-slider {
		width: 46px;

		.mejs-horizontal-volume-total {
			width: 46px;
		}
	}

	.mejs-time-rail {
		margin: 0;
	}

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

	.mejs-time-handle-content {
		height: 8px;
	}

	.mejs-time-float {
		height: 18px;
	}

	button {
		width: 20px;
		height: 20px;
		background: none !important;
		padding: 0 !important;
		text-align: center;
		line-height: 20px;
	}

	button:before {
		width: 20px;
		height: 20px;
		border-radius: 50%;
		display: inline-block;
		line-height: 22px;
    	letter-spacing: 14px;
	}

	.mejs-controls {
		padding: 0;

		& > div {
			margin-right: 10px;
		}
	}
}
.mejs-time-handle-content {
	max-height: 8px;
}
.mejs-time-float {
	height: 18px;
}
.blog_style_excerpt .post_format_audio .mejs-container button {
	margin-top: 8px !important;
}
.trx_addons_audio_player.without_cover {

	.mejs-time {
		color: inherit;
	}
}
.mejs-controls .mejs-button > button {
	font-size: 18px;
}
.mejs-button:not(.mejs-fullscreen-button) > button {
	background: none !important;
}
.mejs-controls .mejs-button.mejs-play > button {
    font-size: 30px;
}
.related_item.post_format_audio {
	padding: 0;

	.post_audio {
		padding: 15px !important;
	}

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

	.mejs-horizontal-volume-slider {
		display: none !important;
	}
}
.mejs-controls .mejs-volume-button.mejs-mute > button:before {
    content: '\e905';
    font-family: $theme_icons;
}
.mejs-controls .mejs-volume-button.mejs-unmute > button:before {
    content: '\e904';
    font-family: $theme_icons;
}
.mejs-controls .mejs-playpause-button.mejs-play > button:before, .mejs-controls .mejs-playpause-button.mejs-replay > button:before {
    content: '\e8e1';
    font-family: $theme_icons;
}
.mejs-controls .mejs-playpause-button.mejs-pause > button:before {
    content: '\e8e3';
    font-family: $theme_icons;
}




/* 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 {
	// Next 2 rows added to avoid using translate(-50%, -50%) on the inner iframe
	// because it move video to the left top corner in the fullscreen mode
	@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: rgba(0,0,0,0.5);
	opacity:0;
}
.post_featured.with_thumb:hover .mask,
.sc_layouts_blog_item_featured .post_featured.with_thumb:hover .mask {
	opacity:1;
}
.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(2em);
	@include border-round;
	@include transition-all;
	@include abs-lt(50%, 50%, 20);
	@include transform-none;
	// translate make the bad antialias on Webkit, use the negative margin instead
	
	margin: 2em 0 0 -1em;
	font-size:2em;
	opacity: 0;
	cursor: pointer;
	overflow:hidden;
	color: #fff;
	background-color: rgba(0,0,0,0.5);
	border: none;
}
.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:-1em;
}
.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,
.post_layout_chess_1 .post_featured.with_thumb .post_video_hover {
	font-size:3em;
	@include square(2em);
}
.widget_video .trx_addons_video_player.with_cover .video_hover {
	font-size: 2.4em;
}
.sidebar .trx_addons_video_player.with_cover .video_hover,
.footer_wrap .trx_addons_video_player.with_cover .video_hover {
	font-size: 1.8em;
}
.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: '\e8e1';
	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.6667rem, 1.4em);
}
.format-aside .post_content_inner {
	padding: 1em 1.3158em;
}
.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;
}
.post_content_inner_quote {
	margin-bottom: 3.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: '\e810';
	@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: 0.875rem;
	text-transform:uppercase;
	margin-top: 2.5em;
	text-align: left;
	border:none;
	list-style-type:none;
	clear: both;
	font-weight: 600;
}
.page_links {
	margin-top: 0;
	padding-top: 2.5em;
}
.page_links + .post_tags_single {
	margin-top: 0;
	padding-top: 2.5em;
}
.page_links .page_links_title {
	display: inline-block;
	vertical-align: top;
	margin: 0.8em 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: 0.2em 0.2em 0 0;
	padding: 0;
	border: none;
	@include square(42px);
	border-radius: 50%;
	@include transition-properties(color, background-color, border-color, background-position);
}
.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 0.6667em 0 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.current {
	margin-right: 0;
}
.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;
}
.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:'\e939';
}
.nav-links .page-numbers.next:before,
.comments_pagination .page-numbers.next:before,
.woocommerce nav.woocommerce-pagination ul li a.next:before {
	content:'\e93a';
}
.nav-links .page-numbers.last:before,
.comments_pagination .page-numbers.last:before,
.woocommerce nav.woocommerce-pagination ul li a.last:before {
	content:'\e8b0';
}


/* Single page Prev/Next navigation */
.nav-links-single .nav-links {
	font-size:0.8667em;
	text-align: left;
	margin-top: 3.4em;
	overflow:hidden;
	text-transform:none;
}
.nav-links-single .nav-links a {
	position:relative;
	min-height: 5em;
	z-index:1;
	display: flex;
    flex-direction: column;
    padding: 0;
}
.nav-links-single .nav-links a .nav-arrow {
    width: 40px;
    height: 40px;
    border-width: 0 !important;
    border-radius: 100%;
}
.nav-links-single .nav-links a .nav-arrow:before {
	content: ' ';
	display:block;
	background-color:#fff;
	opacity:0;
	@include abs-cover;
	@include transition-all;
}
.nav-links-single .nav-links a .nav-arrow:after {
	content: '\e96f';
	font-family: $theme_icons;
	display:inline-block;
	position:relative;
	z-index:2;
	top: 3em;
	color: #292929;
	@include transition-all;
}
.nav-links-single .nav-links .nav-previous a .nav-arrow:after {
	top: 5px;
    left: 14px;
}
.nav-links-single .nav-links .nav-next a .nav-arrow:after {
	top: 5px;
    right: 14px;
}
.nav-links-single .nav-links .nav-next a {
	align-items: flex-end;
}

.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: '\e956';
}

.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 .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 .post-title {
	text-align:right;
	font-size: 1.875rem;
}

.nav-links-single .nav-links .post-title,
.nav-links-single .nav-links .post_date {
	@include transition-colors;
}
.nav-links-single .nav-links .post-title {
	font-size: 1.875rem;
	margin: 0.9em 0 0 0;
	word-break: break-word;
}

.nav-links-single .nav-links .nav-arrow-label {
	font-size: 1.125rem;
    line-height: initial;
	text-transform: capitalize;
	margin-top: 1.1em;
}
.nav-links-single .nav-links .meta-nav,
.nav-links-single .nav-links .post_date {
	font-size:0.9286em;
	font-weight:normal;
}

.nav-links-single.nav-links-fixed {
	position: fixed;
	z-index: 10;
	bottom: 100px;
	left: 20px;
	right: 20px;
	opacity: 0;
	@include transition-property(opacity);
}
.menu_style_left .nav-links-single.nav-links-fixed {
	margin-left: 6rem;
}
.menu_style_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: 220px;
	padding: 15px;
	border: 1px solid #e5e5e5;
	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;
}
.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;
}

.nav-links-single-scroll.amuli_loading {
	min-height: 2em;
	margin-top: 4em;
}
.previous_post_content {
	margin-top: 6em;
	padding-top: 6em;
	border-top: 1px 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 0.8em;
	text-align:left;
}

.sidebar_hide.narrow_content .post_item_single.post_type_post {
	width: 75%;
	margin: 0 auto;
}

.post_content_single:after {
	content: ' ';
	display: block;
	@include box(100%, 0);
	clear: both;
}

/* Vertical share */
.sidebar_hide.narrow_content .post_info_vertical {
	@include abs-lt(-$padding_narrow, 0);
}
.sidebar_show .post_info_vertical,
.sidebar_hide:not(.narrow_content) .post_info_vertical {
	@include abs-lt;
}
.sidebar_show .post_info_vertical_present,
.sidebar_show .post_info_vertical_present + .post_footer,
.sidebar_hide:not(.narrow_content) .post_info_vertical_present,
.sidebar_hide:not(.narrow_content) .post_info_vertical_present + .post_footer {
	padding-left: 15%;
}
.post_info_vertical_present {
	position: relative;
}


/* 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_title {
	margin-top:-0.2em;
}
.post_item_single .post_header_single .post_title {
	margin-bottom: 0;
}


/* 8.2 Post footer
------------------------------------------------------ */
.post_item_single .post_footer_single {
	margin-top: 3em;
	overflow:hidden;
	clear: both;
}
.post_item_single .post_footer_single .post_tags_single {
	@include font(1.0667em, 1.375em);
	font-weight: 600;
	letter-spacing:0;
	float:left;
	display:block;
	max-width:50%;

	& > a {
		text-transform: capitalize;
		font-size: 0.875rem;
		padding: 0.5em 1em;
		line-height: initial;
		display: inline-block;
		margin: 0 0.8em 0.8em 0;
	}
}
.post_item_single .post_footer_single .post_tags_single:after {
	display: none;
}

/* Social share in the single post/page */
.post_item_single .post_footer_single .post_meta_single {
	float: right;
	display:block;
	max-width:47%;
}
.post_item_single .post_footer_single .post_meta_single:before {
	display:none;
}
.post_item_single .post_footer_single .post_meta_single .social_item {
	margin: 0 0 0.5em 0.5em;
	font-size: 0.7rem;
}
.post_item_single .post_footer_single .post_meta_single .social_item .social_icon {
	display:block;
	@include square(2.8em);
}
	
	

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

.author_info {
	margin-top: 2.3em;
	padding: 3.2em 3.2em;
	position:relative;
}
.author_info .author_description .author_label {
	display: none;
}
.author_avatar {
	@include square(6rem);
	@include abs-lt(3.4rem, 3.6rem);
}
.author_avatar img {
	@include box(100%, auto);
}
.author_description {
	padding-left: 8.2rem;
}
.author_title {
	margin-top: 0;
	margin-bottom:1em;
	font-size: 1.125rem;
}
.author_bio p {
	margin:0;
}
.author_bio p+p {
	margin-top:0.6em;
}
.author_bio .author_link {
	display:block;
	margin-top:0.8em;
	letter-spacing:0;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: capitalize;
	
	.more-icon {
		font-family: $theme_icons;
		margin-left: 10px;
	}
}
.author_bio .socials_wrap {
	margin-top: 1em;
}

/* 8.4 Related posts
------------------------------------------------------ */
.related_wrap {
	margin-top: 3.3em;
	padding-top: 3.3em;
	border-top: 1px solid #eee;
	// Don't hide, because related services are cut while rotate

}
.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;
}

.slider_container .slide_info,
.slider_container .slide_content {
	line-height: inherit;
	text-align: left;
}

.related_wrap .related_item {
	text-align:center;
}
.related_wrap .post_categories {
	text-transform:uppercase;
	font-size:12px;
}
.related_wrap .post_categories ul {
	margin: 0;
	padding:0;
	list-style:none;
	display:inline-block;
	vertical-align: top;
}
.related_wrap .post_categories li {
	display:inline-block;
	vertical-align: top;
	margin: 0;
}
.related_wrap .post_categories li+li {
	margin-left: 0.5em;
}
.related_wrap .post_categories li:nth-child(n+3) {
	display:none;	// Hide more then 2 categories
}
.related_wrap .post_title {
	margin: 0;
}
.related_wrap .post_meta {
	@include font(12px, 1.4em);
}
.related_wrap .post_meta [class^="icon-"] {
	@include font(1.2em, inherit);
	margin-right: .3em;
	margin-left: 0;
	vertical-align: middle;
}

/* Style 1: Modern */
.related_wrap.related_style_modern .post_featured {
	margin-bottom: 0;
}
.related_wrap.related_style_modern .related_item .post_featured {
	height: 370px;
}
.related_wrap.related_style_modern .post_featured .post_header.has_tumb {
	display: block;
	width: 70%;
	padding: 16%;
	background: rgba(0, 0, 0, 0.35);
    height: 80%;
    position: absolute;
    z-index: 8;
    top: 0;
	left: 0;
	transition: all 0.3s ease;
}
.related_wrap.related_style_modern .format-audio .post_featured .post_header {
	display: none;
}

.related_wrap.related_style_modern .post_header.has_tumb {
	padding: 56px 60px;
	width: 100%;
}

.related_wrap.related_style_modern .post_meta {
    text-align: left;
    font-size: 0.875rem;
}

.related_wrap.related_style_modern .post_title {
	letter-spacing:0;
	line-height:1.25em;
	font-size: 1.875rem;
    text-align: left;
}
.related_wrap.related_style_modern .post_audio {
	margin-top: 80px;
}

/* Style 2: Classic */
.related_wrap.related_style_classic .post_featured {
	margin-bottom: 1em;
}
.related_wrap.related_style_classic .post_featured[class*="hover_"] {
	display: block;
}
.related_wrap.related_style_classic .post_featured img {
	width:100%;
}
.related_wrap.related_style_classic .post_meta {
	font-weight: bold;
	text-transform:uppercase;
	margin-bottom: 0.5em;
}

/* 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;
}

.comments_wrap .comment_body {
	min-height: 100px;
}
.comments_wrap {
	display:none;

	&.opened {
		display: block;
	}
}

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

	.show_comments_button {
		display: block;
		padding: 2em;
		@include border-box;
		border: 2px solid #ddd;
		text-transform: uppercase;
		@include font(11px, 18px, bold);
		letter-spacing: 1px;
	}
	.show_comments_button:after {
		content: '\e828';
		font-family: $theme_icons;
		display: inline-block;
		vertical-align: top;
		margin-left: 1em;
	}
	.show_comments_button.opened:after {
		content: '\e835';
	}
}

/* Comment list */
.comments_list_wrap {
	margin-top: 2em;
	padding-top: 3.3em;
	border-top: 1px solid #eee;
	overflow:hidden;
}
.comments_list_wrap .comments_closed {
	margin-top:2em;
	color:#1d1d1d;
}
.comments_list_wrap > ul {
	padding: 0;
	margin:0;
	list-style: none;
}
.comments_list_wrap ul li + li,
.comments_list_wrap li > ul > li {
	padding-top: 2.4em;
}
.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:6em;
}
.comments_list_wrap ul > li:before {
	display:none;
}
.comments_list_wrap ul ul {
		// This way for long border under previous item
	margin-left:8em;		// This way for short border under previous item
	padding-left:0;
}
.comments_list_wrap ul ul ul ul ul {
		// This way for long border under previous item
	margin-left:0;			// This way for short border under previous item
}
.comments_list_wrap li + li,
.comments_list_wrap li ul {
	margin-top: 1.3em;
	border-top: 1px solid #eee;
}

.comments_list_wrap .comment_author_avatar {
	@include abs-lt;
	@include square(6em);
	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: 2.6em;
}
.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);
}
.comments_list_wrap .comment_author_avatar img {
	width: 100%;
}
.comments_list_wrap .comment_content {
	padding-left:8em;
	overflow:hidden;
}

.comments_list_wrap .comment_info {
	margin: -0.2em 0 1.2em;
	position:relative;
	line-height: initial;
}
.comments_list_wrap .comment_author {
	margin:0 0 0 1.5em;
	display:inline-block;
	font-size: 0.875rem;
	font-weight: 600;
	font-style: normal;
}
.comments_list_wrap .comment_reply {
	float: right;
	margin: 0 !important;
}
.comments_list_wrap .comment_reply .comment-reply-link {
	font-size: 0.875rem;
	font-weight: 600;
	font-style: normal;
}
.comments_list_wrap .comment_author {
	margin: 0;
}
.comments_list_wrap .comment_posted {
	display:inline-block;
	position:relative;
	letter-spacing:0;
	vertical-align:baseline;
	@include font(0.8667em, inherit, '', italic);
}
.comments_list_wrap .comment_posted_label {
	display:none;
}
.comments_list_wrap .comment_counters,
.comments_list_wrap .comment_date,
.comments_list_wrap .comment_time,
.comments_list_wrap .comment_time_label {
	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;
	font-size: 0.875rem;
	font-weight: 600;
	font-style: normal;
}
.comments_list_wrap .comment_time_label,
.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 .trx_addons_reviews_text {
	font-weight: bold;
}

.comments_list_wrap .comment_text {
	margin-bottom:0.5em;
}
.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 ol ol {
	list-style-type: lower-alpha;
}
.comments_list_wrap .comment_text ol ol ol {
	list-style-type: upper-roman;
}
.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_counters {
	display:inline-block;
	vertical-align:middle;
	margin-right: 1em;
}
.comments_list_wrap .comment_counters_item:before {
	margin: 0 0.3em 0 0;
	font-style: normal;
}
.comments_list_wrap .comment_counters .comment_counters_label {
	display: none;
}
.comments_list_wrap .comment_counters_item .comment_counters_number_separator {
	margin: 0 0.2em;
}

.comments_list_wrap .comment_reply {
	@include font(1.0667em, 1.2em, '', italic);
	letter-spacing:0;
	margin-top: 1em;
}
.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: 1em;
	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, 1em);
}


/* Comments form */
.comments_form_wrap {
    margin-top: 3em;
    padding-top: 3.4em;
	border-top: 1px solid #eee;
	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;
}
.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:2em;
}
.comments_wrap .comments_author,
.comments_wrap .comments_email {
	width: 48%;
	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.5em 2em;
}
.comments_wrap .comments_field textarea {
	min-height:11em;
}

/* Submit button */
.comments_wrap .form-submit { 
	margin:2em 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: #CC6868 !important;
	@include box-shadow(0px 0px 8px 0px rgba(200, 100, 100, 0.2));
}


/* 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;
}

.show_comments_single .show_comments_button {
	border-radius: 40px;
}



/* 8.6 Page 404
-------------------------------------------------------------- */
.post_item_404 .post_content {
	padding: 6em 0 5em;
	overflow:hidden;
}
.post_item_404 .page_title {
	float: left;
	width:50%;
	@include font(17em, 1em);
	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;
	letter-spacing:1px;
}
.post_item_404 .page_description {
	margin-top: 1em;
	margin-bottom: 2em;
	text-transform:uppercase;
	letter-spacing:1px;
	line-height:1.8em;
}
.post_item_404 .go_home:after {
	content:'\e93a';
	font-family:$theme_icons;
	margin-left: 0.5em;
	line-height: inherit;
}


/* 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: 7em;
	line-height:1.2em;
}


/* 8.8 Author's page
------------------------------------------------------ */
.author_page {
	@include flex;
	@include flex-direction(column);
	@include flex-align-items(center);
	margin-bottom: 7em;

	.author_avatar {
		@include border-round;
		margin-bottom:1em;
		overflow: hidden;
	}
	.author_title {
		margin-top: 0;
		margin-bottom:1em;
	}
	.author_bio {
		margin-bottom:1em;
	}
	.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: bold;
		}
		.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
-------------------------------------------------------------- */

/* Common rules */
.sidebar_default .widget {
	padding: 3rem;
}
.sidebar_default .widget .widget {
	padding: 0;
}
.sidebar .widget+.widget,
.sidebar_default .widget + .widget {
	padding-top: 3rem;
	margin-top: 1.7rem;
	border-top: none;
}
.sidebar .widget + .widget.widget_bg_image,
.sidebar_default .widget + .widget.widget_bg_image,
.sidebar .widget + .widget.widget_fullwidth,
.sidebar_default .widget + .widget.widget_fullwidth {
	border-top: none;
	padding-top: 4rem;
	padding-bottom: 4rem;
}
.sidebar .widget.widget_bg_image + .widget,
.sidebar_default .widget.widget_bg_image + .widget,
.sidebar .widget.widget_fullwidth + .widget,
.sidebar_default .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(1.4286em, 1.35em);
}
.widget .widget_title,
.widget .widgettitle {
	margin-top:0;
	margin-bottom:0.75em;
	font-size: 1.875em;
}
.widget_fullwidth .widget_title,
.widget_fullwidth .widgettitle{
	text-align:center;
}
.widget ul {
	margin:0;
	padding-left: 38px;
	list-style-type:none;
}
.widget ul ul {
	padding-left: 18px;
}
/* Uncomment next rules
   if you want to remove padding (hierarhy)
   for the levels 4+
*/
.widget ul ul ul ul ul ul ul ul ul ul ul ul {
	padding-left: 0;
}
.widget li {
	position:relative;
	font-size: 0.875rem;
    font-weight: 600;
}
.widget ul > li:before {
    content: ' ';
	display: block;
	width: 0.938em;
	height: 0.125em;
	@include abs-lt(-2.2em, 0.9em);
	font-size: 1rem;
}
.widget li a img {
	vertical-align:baseline;
}



/* 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: Comments */
.widget_recent_comments {
	font-size: 1rem;

	ul {
		padding: 0;

		li.recentcomments {
			font-size: 0.875rem;
			border-bottom-width: 0.01em;
			border-style: solid;
			padding-bottom: 2em;
			margin-bottom: 2em;

			a {
				display: block !important;
				font-size: 1.125rem;
				line-height: 1.8rem;
			}
		}

		li:last-child {
			border-bottom-width: 0;
			padding-bottom: 0;
			margin-bottom: 0;
		}
	}

	ul > li:before {
		content: none;
	}
}


/* Widget: Calendar */
.widget_calendar table {
	width: 100%;
	position:relative;
}
.wp-block-calendar caption,
.widget_calendar caption {
	padding-bottom:1.14rem;
	font-size: 0.875rem;
	font-weight: 600;
}
.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(1rem !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: 700 !important;
}
.wp-block-calendar td,
.widget_calendar td {
	line-height:2em;
	padding:0.44rem 0;
}
.widget_calendar tbody td a {
	display:block;
	position:relative;
	font-weight:normal;
	@include border-box;
}
.widget_calendar tbody td a:after {
	content: ' ';
	@include abs-lb(48%, 1px);
	@include square(3px);
	@include transition-bg-color;
}
.widget_calendar td#today {
	position:relative;
	z-index:2;
}
.widget_calendar td#today:before {
	content:' ';
	@include abs-cc(-1);
	@include square(2.2em);
	border-radius: 50%;
}
.widget_calendar tfoot {
	position:relative;
	top: 0.6em;
}
.widget_calendar tfoot td {
	text-transform: none !important;
	padding: 0.7rem 0 0;
}
.wp-block-calendar .wp-calendar-nav-prev a,
.wp-block-calendar .wp-calendar-nav-next a {
	text-decoration: none;
}
.wp-block-calendar .wp-calendar-nav-prev,
.widget_calendar .wp-calendar-nav-prev {
	text-align:left;
	overflow:hidden;
}
.wp-block-calendar .wp-calendar-nav-next,
.widget_calendar .wp-calendar-nav-next {
	text-align:right;
}
.wp-block-calendar .wp-calendar-nav-prev a,
.wp-block-calendar .wp-calendar-nav-next a,
.widget_calendar .wp-calendar-nav-prev a,
.widget_calendar .wp-calendar-nav-next a {
	position:relative;
}
.wp-block-calendar .wp-calendar-nav-prev a,
.widget_calendar .wp-calendar-nav-prev a {
	padding-left: 0.6em;
}
.wp-block-calendar .wp-calendar-nav-next a,
.widget_calendar .wp-calendar-nav-next a {
	padding-right: 0.6em;
}
.wp-block-calendar .wp-calendar-nav-prev a:before,
.wp-block-calendar .wp-calendar-nav-next a:before,
.widget_calendar .wp-calendar-nav-prev a:before,
.widget_calendar .wp-calendar-nav-next a:before {
	@include abs-lt;
	@include box(1.2em, 1em, 1.4em);
	display: none;
}
.wp-block-calendar .wp-calendar-nav-prev a:before,
.widget_calendar .wp-calendar-nav-prev a:before {
	content: '\e939';
	font-family:$theme_icons;
}
.wp-block-calendar .wp-calendar-nav-next a:before,
.widget_calendar .wp-calendar-nav-next a:before {
	content: '\e93a';
	font-family:$theme_icons;
	left: auto;
	right: 0;
}
.calendar-arrows {
	font-family:$theme_icons;
}

/* 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,
.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:'\e8eb';
	font-family: $theme_icons;
	display:block;
	@include abs-rt(1.2em, 50%, 0);
	margin-top:-0.5em;
	@include square(1em);
	pointer-events: none;
	cursor:pointer;
	@include transition-all;
}
.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.25em 1.5em;
	padding-right: 4em !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-rt;
	@include box(4em, 100%);
	padding:0;
	border: none !important;
	background:none !important;
	cursor:pointer;
}

.search .masonry_wrap .masonry_item {
	padding: 0 30px 60px 0;
}

/* 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:2em;
}

/* Widgets: WP Tag Cloud and WooCommerce Tag Cloud */
.widget_product_tag_cloud,
.widget_tag_cloud {
	overflow:hidden;
}
.widget_product_tag_cloud .widget_title,
.widget_tag_cloud .widget_title {
	margin-bottom:1em;
}
.sc_edd_details .downloads_page_tags .downloads_page_data,
.widget_product_tag_cloud .tagcloud,
.wp-block-tag-cloud,
.widget_tag_cloud .tagcloud {
	display: flex;
	flex-wrap: wrap;
	& > a {
		display:block;
		padding: 8px 14px;
		margin: 0 8px 10px 0;
		@include font(14px !important, 18px, 600);
		text-transform: capitalize;
	}
}


/* 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;
}

/* WP GDPR Compliance */
table.wpgdprc-table {
	margin-bottom: 2em;
}
div.wpgdprc .wpgdprc-checkbox {
	display: inline;
}
.wpgdprc-checkbox label {
	padding-left: 1.25em;
	position: relative;
	padding-bottom: 0 !important;
}
.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: 1.5em;
	display: block;
	text-align: center;
	border: 1px solid #eee;
	@include box(0.6em, 0.6em, 0.53em);
	@include abs-lt(0, 2px);
	@include border-box;
}
.wpgdprc-checkbox label input[type="checkbox"]:checked:before {
	content: '\e8ab';
}
.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 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;
	font-size: 1.5rem;
	margin-bottom: 1.1em;
}
.footer_wrap .footer_fullwidth .widget_title,
.footer_wrap .footer_fullwidth .widgettitle {
	text-align:center;
	margin-bottom:1.5em;
}

.footer_wrap .widget_custom_links .custom_links_list_item_link {
	padding: 0;
}

.footer_wrap .widget.widget_contacts {

	.contacts_info {
		font-size: 0.875rem;
		font-weight: 600;

		.contacts_address {
			padding-left: 0;
		}

		.contacts_email {
			padding-left: 0;
		}

		.contacts_phone {
			font-size: 1.125rem;
			line-height: 2.7em;
		}
	}
}
.footer_wrap .widget_contacts .contacts_info span.contacts_address:before,
.footer_wrap .widget_contacts .contacts_info span.contacts_email:before {
	content: '';
}
.widget_contacts .contacts_info span.contacts_phone:before, .widget_contacts .contacts_info a.contacts_phone:before {
    content: '\e970';
	font-family: $theme_icons;
	transition: inherit;
}

/* 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: 12px;
	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;
}
.menu_footer_nav_area > ul > li > a,
.footer_wrap .sc_layouts_menu > ul > li > a {
	padding: 0.5em 2.5em;
	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;
}


/* 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 */
.amuli_customizer_message {
	padding: 2em;
	margin:0 auto;
	max-width:60%;
	background-color: #f3e6ce;
	color:#996600;
	border-left: 3px solid #666600;
}
.amuli_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;
}

/* WP GDPR Compliance */
table.wpgdprc-table {
	margin-bottom: 2em;
}
div.wpgdprc .wpgdprc-checkbox {
	display: inline;
}
.wpgdprc-checkbox label {
	padding-left: 2em;
    line-height: initial;
    display: inline-block;
    vertical-align: top;
    font-size: 0.875rem;
    font-weight: 500;
	position: relative;
	padding-bottom: 0 !important;
}
.wpgdprc-checkbox label input[type="checkbox"] {
	width: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
}
.wpgdprc-checkbox label input[type="checkbox"]:before {
	content: '';
    font-family: $theme_icons;
    display: block;
    border: 1px solid #ddd;
    width: 14px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    position: absolute;
    z-index: 1;
    top: 7px;
    left: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transform: translateY(-55%);
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.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;
}


/* 14. Predefined classes for users
-------------------------------------------------------------- */

/* Round object corners */
.rounded_none {
	@include border-sharp;
}
.rounded_tiny {
	@include border-radius(4px);
}
.rounded_small {
	@include border-radius(6px);
}
.rounded_medium {
	@include border-radius(10px);
}
.rounded_large {
	@include border-radius(15px);
}
.rounded {
	@include border-radius(50%);
}

/* Overflow hidden */
.overflow_hidden {
	overflow: hidden !important;
}
.overflow_x_hidden {
	overflow-x: hidden !important;
}
.overflow_y_hidden {
	overflow-y: hidden !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';	/*'\e929';*/
	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));
}
/* Makeup image */
#makeup {
	@include abs-ct(0, 1000000);
	pointer-events: none;
	opacity:0.5;
}
.admin-bar #makeup { 
	top:32px; 
}
#makeup {
	// Correct this value to position makeup image
	margin-left: 0px;
	margin-top: 0px;
}

/* Mailchimp */
.mc4wp-form-wrapper {
	display: flex;

	& > input:first-child {
		border-bottom-right-radius: 0 !important;
		border-top-right-radius: 0 !important;
	}

	& > input:last-child {
		border-bottom-left-radius: 0 !important;
    	border-top-left-radius: 0 !important;
	}
}
.mc4wp-form-wrapper + .check_form {
	margin-top: 12px;
}
form.mc4wp-form .mc4wp-form-fields input[type="submit"] {
	max-width: none !important;
}

/* Slider Controls */
.sc_slider_controls .slider_controls_wrap > a {
	width: 2.5rem;
    height: 2.5rem;
    border-radius: 50% !important;
}
.sc_slider_controls .slider_controls_wrap > a.slider_prev:before {
	content: "\e96f";
    font-family: $theme_icons;
	font-size: 16px;
	position: relative;
    top: -1px;
    left: 12px;
}
.sc_slider_controls .slider_controls_wrap > a.slider_next {
	margin-left: 72px;
}
.sc_slider_controls .slider_controls_wrap > a.slider_next:before {
	content: "\e956";
    font-family: $theme_icons;
    top: -1px;
    right: 24px;
	position: relative;
	font-size: 16px;
}



/* Floatin Right Inner elements */
.float-inner-elements-right .elementor-widget-wrap {
	display: flex;
	justify-content: flex-end;
	
	.elementor-element {
		width: auto;
	}
}


.sc_widget_custom_links .custom_links_list_item_link .custom_links_list_item_icon {
	height: 2.2em;
}

.booked-calendar-shortcode-wrap .booked-appt-list .timeslot .timeslot-people button.new-appt.button {
	margin: 0 0 0 10px;
	border-style: solid;
	white-space: nowrap;
	border-width: 2px !important;
	padding: 1.3em 2.8em;
}
@media #{$media_sm} {
	.booked-calendar-shortcode-wrap .booked-appt-list .timeslot .timeslot-people button.new-appt.button {
		padding: 1em;
		margin: 0 auto;
	}
}
.booked-calendar-shortcode-wrap .booked-appt-list .timeslot .timeslot-people {
	margin-bottom: 12px !important;
}

// Fix elementor V.3.0.0
.elementor-widget-divider .elementor-divider {
	font-size: 0;
}
.elementor-widget:not(:last-child) {
	margin-bottom: 0;
}

.wp-block-button.is-style-squared > a {
	border-radius: 0;
}

figure[class*="wp-block-embed"] figcaption,
figure.wp-block-video figcaption,
figure.wp-block-gallery > figcaption.blocks-gallery-caption {
	position: initial;
	opacity: 1 !important;
	width: 100%;
}
figure.wp-block-gallery:hover .blocks-gallery-item figure figcaption.blocks-gallery-item__caption {
	opacity: 1;
}
figure.wp-block-gallery .blocks-gallery-item figure:hover figcaption.blocks-gallery-item__caption {
	opacity: 0;
}
figure.wp-block-gallery .blocks-gallery-item figure figcaption.blocks-gallery-item__caption:hover {
	opacity: 1;
}
.wp-block-gallery.columns-6 .blocks-gallery-item figcaption.blocks-gallery-item__caption,
.wp-block-gallery.columns-7 .blocks-gallery-item figcaption.blocks-gallery-item__caption,
.wp-block-gallery.columns-8 .blocks-gallery-item figcaption.blocks-gallery-item__caption {
	max-height: calc(1.8em * 2);
}

.post_content .has-drop-cap + * {
	clear: both;
	padding-top: 1em;
}

.post_content > .gallery,
.post_content > [class^=" wp-block-"],
.post_content > [class^="wp-block-"] {
	margin-bottom: 1em;
}

.wp-block-latest-posts,
.wp-block-latest-comments,
.wp-block-latest-comments {
	padding-left: 0;
}
