@import "../../../css/_mixins.scss";
@import "../../../css/_trx_addons.vars.scss";

@media #{$media_desktop} {
    /* Elementor */
	body.elementor-editor-active .elementor-hidden-desktop:not(.elementor-element-edit-mode) {	display: none !important; }

	.elementor-section.hide_bg_image_on_desktop,
	.elementor-column.hide_bg_image_on_desktop > .elementor-column-wrap {
		background-image: none !important;
	}
	.elementor-section.hide_bg_image_on_desktop[class*="sc_bg_mask_"]:before,
	.elementor-column.hide_bg_image_on_desktop[class*="sc_bg_mask_"] > .elementor-column-wrap:before {
		display:none !important;
	}
}

@media #{$media_notebook} {
    /* Elementor */
	body.elementor-editor-active .elementor-hidden-desktop:not(.elementor-element-edit-mode) {	display: none !important; }
}

@media #{$media_tablet} {
    /* Elementor */
	body.elementor-editor-active .elementor-hidden-tablet:not(.elementor-element-edit-mode) {	display: none !important; }
}

@media #{$media_mobile} {
    /* Elementor */
	body.elementor-editor-active .elementor-hidden-phone:not(.elementor-element-edit-mode) {	display: none !important; }
}

@media #{$media_lg} {
    /* Elementor */
	.elementor-section[class*="sc_extra_bg_"]:after,
	.elementor-column[class*="sc_extra_bg_"] > .elementor-column-wrap:after,
	.elementor-widget-text-editor[class*="sc_extra_bg_"]:after {
		display:none;
	}
	.elementor-section[class*="sc_extra_bg_"][class*="sc_bg_mask_"]:before,
	.elementor-column[class*="sc_extra_bg_"][class*="sc_bg_mask_"] > .elementor-column-wrap:before,
	.elementor-widget-text-editor[class*="sc_extra_bg_"][class*="sc_bg_mask_"]:before {
		left: 0; top: 0; right: 0; bottom: 0;
	}
	.elementor-section.sc_extra_bg_tiny,
	.elementor-column.sc_extra_bg_tiny > .elementor-column-wrap,
	.elementor-widget-text-editor.sc_extra_bg_tiny {		padding: 1em !important; }
	.elementor-section.sc_extra_bg_small,
	.elementor-column.sc_extra_bg_small > .elementor-column-wrap,
	.elementor-widget-text-editor.sc_extra_bg_small {		padding: 2em !important; }
	.elementor-section.sc_extra_bg_medium,
	.elementor-column.sc_extra_bg_medium > .elementor-column-wrap,
	.elementor-widget-text-editor.sc_extra_bg_medium {		padding: 3em !important; }
	.elementor-section.sc_extra_bg_large,
	.elementor-column.sc_extra_bg_large > .elementor-column-wrap,
	.elementor-widget-text-editor.sc_extra_bg_large {		padding: 4em !important; }

	.elementor-widget-spacer.sc_height_tiny .elementor-spacer-inner { 	height: 1em !important; }
	.elementor-widget-spacer.sc_height_small .elementor-spacer-inner { 	height: 2em !important; }
	.elementor-widget-spacer.sc_height_medium .elementor-spacer-inner {	height: 3em !important; }
	.elementor-widget-spacer.sc_height_large .elementor-spacer-inner,
	.elementor-widget-spacer.sc_height_big .elementor-spacer-inner { 	height: 4em !important; }
	.elementor-widget-spacer.sc_height_huge .elementor-spacer-inner { 	height: 5em !important; }

	.elementor-widget-divider.sc_height_tiny .elementor-divider { 	padding: 1rem 0 !important; }
	.elementor-widget-divider.sc_height_small .elementor-divider { 	padding: 2rem 0 !important; }
	.elementor-widget-divider.sc_height_medium .elementor-divider {	padding: 3rem 0 !important; }
	.elementor-widget-divider.sc_height_large .elementor-divider,
	.elementor-widget-divider.sc_height_big .elementor-divider { 	padding: 4rem 0 !important; }
	.elementor-widget-divider.sc_height_huge .elementor-divider { 	padding: 5rem 0 !important; }
}

@media #{$media_md_lg} {
    /* Elementor */

	/* Horizontal align items in columns */
	.sc-tablet_content_align_center[class*="sc_inner_width_"],
	.sc-tablet_content_align_center.elementor-column .elementor-widget-wrap {
		@include flex-justify-content(center);
	}
	.sc-tablet_content_align_left[class*="sc_inner_width_"],
	.sc-tablet_content_align_left.elementor-column .elementor-widget-wrap {
		@include flex-justify-content(flex-start);
	}
	.sc-tablet_content_align_right[class*="sc_inner_width_"],
	.sc-tablet_content_align_right.elementor-column .elementor-widget-wrap {
		@include flex-justify-content(flex-end);
	}

	/* Hide bg image */
	.elementor-section.hide_bg_image_on_tablet,
	.elementor-column.hide_bg_image_on_tablet > .elementor-column-wrap {
		background-image: none !important;
	}
	.elementor-section.hide_bg_image_on_tablet[class*="sc_bg_mask_"]:before,
	.elementor-column.hide_bg_image_on_tablet[class*="sc_bg_mask_"] > .elementor-column-wrap:before {
		display:none !important;
	}
}

@media #{$media_sm} {
    /* Elementor */
	.elementor-section.hide_bg_image_on_mobile,
	.elementor-column.hide_bg_image_on_mobile > .elementor-column-wrap {
		background-image: none !important;
	}
	.elementor-section.hide_bg_image_on_mobile[class*="sc_bg_mask_"]:before,
	.elementor-column.hide_bg_image_on_mobile[class*="sc_bg_mask_"] > .elementor-column-wrap:before {
		display:none !important;
	}
	/* Horizontal align items in columns */
	.sc-mobile_content_align_center[class*="sc_inner_width_"],
	.sc-mobile_content_align_center.elementor-column .elementor-widget-wrap {
		@include flex-justify-content(center);
	}
	.sc-mobile_content_align_left[class*="sc_inner_width_"],
	.sc-mobile_content_align_left.elementor-column .elementor-widget-wrap {
		@include flex-justify-content(flex-start);
	}
	.sc-mobile_content_align_right[class*="sc_inner_width_"],
	.sc-mobile_content_align_right.elementor-column .elementor-widget-wrap {
		@include flex-justify-content(flex-end);
	}
}
