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


//@mixin trx_addons--lg() {
@media #{$media_lg} {
	/* ThemeREX Addons */

	ul[class*="trx_addons_list_success"] {
		padding-left: 30px;
		> li {
			margin: 5px 0;
		}
	}

	/* Recent News on expanded pages */
	body.expand_content .sc_recent_news_style_news-announce .post_size_full {	height: 540px; }
	body.expand_content .sc_recent_news_style_news-announce .post_size_big {	height: 270px;  }
	body.expand_content .sc_recent_news_style_news-announce .post_size_medium,
	body.expand_content .sc_recent_news_style_news-announce .post_size_small {	height: 135px;  }


    /* Content Area: Tablet */
	.sc-tablet_inner_width_1_1 > .elementor-column-wrap, .sc-tablet_inner_width_1_1 > .elementor-widget-wrap {	width: var(--theme-var-page); }
	.sc-tablet_inner_width_1_2 > .elementor-column-wrap, .sc-tablet_inner_width_1_2 > .elementor-widget-wrap {	width: calc( var(--theme-var-page) / 2 ); }
	.sc-tablet_inner_width_1_3 > .elementor-column-wrap, .sc-tablet_inner_width_1_3 > .elementor-widget-wrap {	width: calc( var(--theme-var-page) / 3 ); }
	.sc-tablet_inner_width_2_3 > .elementor-column-wrap, .sc-tablet_inner_width_2_3 > .elementor-widget-wrap {	width: calc( var(--theme-var-page) / 3 * 2 ); }
	.sc-tablet_inner_width_1_4 > .elementor-column-wrap, .sc-tablet_inner_width_1_4 > .elementor-widget-wrap {	width: calc( var(--theme-var-page) / 4 ); }
	.sc-tablet_inner_width_3_4 > .elementor-column-wrap, .sc-tablet_inner_width_3_4 > .elementor-widget-wrap {	width: calc( var(--theme-var-page) / 4 * 3 ); }

	.sc-tablet_inner_width_none > .elementor-column-wrap, .sc-tablet_inner_width_none > .elementor-widget-wrap {	width: 100%; }
	.menu_side_present .sc-tablet_inner_width_none > .elementor-column-wrap, .menu_side_present .sc-tablet_inner_width_none > .elementor-widget-wrap {	width: calc( 100% - var(--theme-var-menu_side) ); }
}

//@mixin trx_addons--md() {
@media #{$media_md} {
	/* ThemeREX Addons */

	/* Recent News on expanded pages */
	body.expand_content .sc_recent_news_style_news-announce .post_size_full {	width: 100%; height: 198px; }
	body.expand_content .sc_recent_news_style_news-announce .post_size_big {	width: 100%; height: 198px;  }
	body.expand_content .sc_recent_news_style_news-announce .post_size_medium,
	body.expand_content .sc_recent_news_style_news-announce .post_size_small {	width: 100%; height: 198px;  }

	.sc_layouts_title_link {
		margin: 2em 0 0.5em;
	}
	.sc_blogger.sc_item_filters_tabs_left .sc_item_filters_tabs li > a {
		margin-bottom: 0;
	}
	.sc_portfolio_preview .sc_portfolio_preview_description .portfolio_page_details_item_title {
		width: 40%;
	}
	.sc_portfolio_preview .sc_portfolio_preview_description .portfolio_page_details_item_value {
		width: 60%;
	}
	.sc_portfolio_preview_show .post_description {
		font-size: 1em;
	}
}

//@mixin trx_addons--sm() {
@media #{$media_sm} {
	/* ThemeREX Addons */

	/* CPT */
	.post-type-archive-cpt_portfolio .sc_portfolio_default,
	.post-type-archive-cpt_services .sc_services_default,
	.post-type-archive-cpt_team .sc_team_default {
		.trx_addons_columns_wrap {
			margin-bottom: -20px;
		}
	}

	/* Recent News on expanded pages */
	body.expand_content .sc_recent_news_style_news-announce .post_size_full {	width: 100%; height: 124px; }
	body.expand_content .sc_recent_news_style_news-announce .post_size_big {	width: 100%; height: 124px;  }
	body.expand_content .sc_recent_news_style_news-announce .post_size_medium,
	body.expand_content .sc_recent_news_style_news-announce .post_size_small {	width: 100%; height: 124px;  }

    /* Content Area: Mobile */
	.sc-mobile_inner_width_1_1 > .elementor-column-wrap, .sc-mobile_inner_width_1_1 > .elementor-widget-wrap {	width: var(--theme-var-page); }
	.sc-mobile_inner_width_1_2 > .elementor-column-wrap, .sc-mobile_inner_width_1_2 > .elementor-widget-wrap {	width: calc( var(--theme-var-page) / 2 ); }
	.sc-mobile_inner_width_1_3 > .elementor-column-wrap, .sc-mobile_inner_width_1_3 > .elementor-widget-wrap {	width: calc( var(--theme-var-page) / 3 ); }
	.sc-mobile_inner_width_2_3 > .elementor-column-wrap, .sc-mobile_inner_width_2_3 > .elementor-widget-wrap {	width: calc( var(--theme-var-page) / 3 * 2 ); }
	.sc-mobile_inner_width_1_4 > .elementor-column-wrap, .sc-mobile_inner_width_1_4 > .elementor-widget-wrap {	width: calc( var(--theme-var-page) / 4 ); }
	.sc-mobile_inner_width_3_4 > .elementor-column-wrap, .sc-mobile_inner_width_3_4 > .elementor-widget-wrap {	width: calc( var(--theme-var-page) / 4 * 3 ); }
	.sc-mobile_inner_width_none > .elementor-column-wrap, .sc-mobile_inner_width_none > .elementor-widget-wrap,
	.menu_side_present .sc-mobile_inner_width_none > .elementor-column-wrap, .menu_side_present .sc-mobile_inner_width_none > .elementor-widget-wrap {	width: 100%; }

	/* Stack rows */
	.menu_side_right .sc_stack_section_fixed {		right: 0 !important; }
	.menu_side_left .sc_stack_section_fixed {		left: 0 !important; }

	/* Video player in narrow content */
	.narrow_content .trx_addons_video_list_controller_bottom .trx_addons_video_list_controller_wrap .trx_addons_video_list_controller_item {
		.trx_addons_video_list_image {
			width: 30%;
		}
		.trx_addons_video_list_subtitle,
		.trx_addons_video_list_meta {
			display: none;
		}
	}

	/* Video sticky */
	.trx_addons_video_sticky_on {
		.trx_addons_video_sticky_inner {
			.trx_addons_video_list_title_wrap {
				background-color: var(--theme-color-bg_color_09);

				.trx_addons_video_list_title {
					color: var(--theme-color-text_dark);
				}
			}
		}
	}

	/* Services: Style 'Callouts' */
	.sc_services_callouts.sc_services_featured_top,
	.sc_services_callouts.sc_services_featured_bottom {
		.row.columns_padding_bottom.columns_in_single_row > [class*="column-"],
		.columns_wrap.columns_padding_bottom.columns_in_single_row > [class*="column-"],
		.trx_addons_columns_wrap.columns_padding_bottom.columns_in_single_row > [class*="trx_addons_column-"] {
			padding-bottom: calc( 2 * var(--theme-var-grid_gap) );
		}
	}

	/* filter */
	.sc_item_filters_align_left .sc_item_filters_header, .sc_item_filters_align_right .sc_item_filters_header {
		flex-basis: auto;
	}
	.sc_item_filters_align_right .sc_item_filters_tabs li,
	.sc_item_filters_tabs li {
		padding: 0 0.5em;
	}
	.sc_blogger.sc_item_filters_tabs_left .sc_item_filters_tabs li > a {
		margin-bottom: 0;
	}
	.sc_item_filters_align_right .sc_item_filters_tabs,
	.sc_item_filters_align_right .sc_item_filters_more_link_wrap {
		order: 2;
		margin-bottom: 0 !important;
	}
	.sc_portfolio_preview {
		overflow-y: scroll;
	}

	.slider_outer.slider_outer_pagination_pos_bottom_outside .swiper-pagination-custom,
	.sc_item_slider.slider_outer_pagination_pos_bottom .swiper-pagination {
		margin-top: 1em;
	}
	.sc_blogger .slider_outer.slider_outer_pagination_pos_bottom_outside .swiper-pagination-bullets {
		margin-top: 1em;
	}
}

//@mixin trx_addons--xs() {
@media #{$media_xs} {
	/* ThemeREX Addons */

	/* Video player in narrow content */
	.narrow_content .trx_addons_video_list_controller_bottom .trx_addons_video_list_controller_wrap .trx_addons_video_list_controller_item {
		.trx_addons_video_list_image {
			width: 50%;
		}
	}

	/* Search */
	.search_wrap .search_results {
		padding: 2em 1em;
	}

	.sc_portfolio_preview_show .post_title {
		font-size: 20px;
		line-height: 24px;
	}
}
