/* ========================================================================== *
 * 2. Layout
 * ========================================================================== */

#mpcth_page_wrap {
	min-height: 100%;
	background: #ffffff;

	a {
		outline: none;
		text-decoration: none;

		@extend .transition;

		&:hover {
			color: inherit;
		}
	}

	&.mpcth-boxed {
		margin-left: auto;
		margin-right: auto;
		width: 960px;
		box-shadow: $hover_shadow;

		&.mpcth-floating-boxed {
			margin-top: 2em;
			margin-bottom: 2em;
		}

		@media #{$screen-large} {
			.mpcth-responsive & {
				width: 1200px;
			}
		}
		@media #{$screen-normal} {
			.mpcth-responsive & {
				width: 768px;
			}
		}
		@media #{$screen-medium} {
			.mpcth-responsive & {
				width: 100%;

				&.mpcth-floating-boxed {
					margin-top: 0;
					margin-bottom: 0;
				}
			}
		}
	}
}

#mpcth_content_wrap {
	padding: 0 20px;
}

#mpcth_main_container {
	&:after {
		@extend .after-clear;
	}
}

#mpcth_main_container,
#mpcth_header_area,
#mpcth_footer_container .mpcth-footer-wrap,
#mpcth_page_header_container .mpcth-header-wrap,
.mpcth-boxed.mpcth-transparent-header #mpcth_page_header_wrap > div {
	width: 960px;
	margin: 0 auto;

	@media #{$screen-large} {
		.mpcth-responsive & {
			width: 1200px;
		}
	}
	@media #{$screen-normal} {
		.mpcth-responsive & {
			width: 768px;
		}
	}
	@media #{$screen-medium} {
		.mpcth-responsive & {
			width: 100%;
		}
	}
}
.mpcth-full-width-header #mpcth_page_header_container .mpcth-header-wrap {
	width: 100%;
}

.page-template-template-maintenance-php.page-template-template-fullwidth-php {
	.mpcth-page {
		padding-top: 0 !important;
	}

    .mpcth-page .mpcth-page-content {
        padding-bottom: 0;
        padding-top: 0;
    }

    #mpcth_page_header_wrap_spacer,
    #mpcth_page_header_wrap {
        display: none;
    }

}

/* Fix for Wordpress Editor Content */
html:not(.vc_transform) .mpcth-page-content {
	padding: 0 20px !important;
	max-width: 1200px !important;
}

html:not(.vc_transform) .woocommerce-cart .mpcth-page-content {
	padding: 0 !important;
	max-width: 100% !important;
}

/* Maintenance mode */
.page-template-template-maintenance .mpcth-page-content {
	width: 100% !important;
	padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Breadcrumbs */
#mpcth_breadcrumbs {
    float: right;
    max-width: 50%;
    font-size: .75em;
    font-weight: normal;
    color: #666666;
    margin: .25em 1em 0 0;
    opacity: .5;
	filter: alpha( opacity=50 );
	text-transform: uppercase;
    white-space: nowrap;
}

@media screen and (max-width: 989px) {
	#mpcth_breadcrumbs {
		width: 75%;
		max-width: 75%;
		float: left;
		margin: -1.5em 1em 0 0;
	}
}

/* VC inner */
.vc_row.wpb_row.vc_inner.vc_row-fluid {
	width: 100% !important;
}

/* Search */
#mpcth_archive_header {
	padding-top: 2em;
}
.search.search-no-results .mpcth-post-content {
	padding-bottom: 2em;
}
#mpcth_archive_title > span > em {
    padding-left: .5em;
}

/* Stretch Row fix */
.vc_row[data-vc-full-width="true"]:not([data-vc-stretch-content="true"]) .mpcth-stretch-row_content {
    max-width: 960px;
    margin: 0 auto;
}
.mpcth-responsive .vc_row[data-vc-full-width="true"]:not([data-vc-stretch-content="true"]) .mpcth-stretch-row_content {
    max-width: 1200px;
    margin: 0 auto;
}

/* RTL */
#mpcth_page_wrap #mpcth_mega_menu .widget .menu-item a,
.woocommerce-page #mpcth_page_wrap #mpcth_content .mpcth-products-info .woocommerce-breadcrumb​ {
	white-space: nowrap;
}