/*------------------------------------*\
    #BODY
\*------------------------------------*/

body,
html {
	color: @color-gray-3;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: subpixel-antialiased;
	position: relative;
	height: 100%;
	max-height: 100%;
	font-family: Helvetica Neue, Helvetica, Arial, sans-serif; /* Defines the fallback font */
	.typography-rule(1);
	&.sidebarOverlay {
      overflow:hidden;
		.sidebar {
			.translate3d(0,0,0);
			.transition(all 0.5s);
		}
	}
	&.categoriesOverlay {
		.dropdown_categories_holder {
			.transition(all 0.5s);
		}
	}
}

/* Switch to the custom font when it's loaded */
.wf-active body
{
	font-family: @font-family;
}




/*------------------------------------*\
    #SHELL
\*------------------------------------*/

.shell_content {
	position: relative;
	max-width: @shell-width;
	margin: 0 auto;
    padding: 0 10px 0 10px;
}

.shell_content--small {
	max-width: 1024px;
}





/*------------------------------------*\
    #HOMEPAGE
\*------------------------------------*/

.shell_content--homepage {
	border: 1px solid @color-gray-9;
}





/*------------------------------------*\
    #MAIN WRAPPER
\*------------------------------------*/
#wrapper {
	position: relative;
	min-height: 100%;
	.respond-to("large";
		{
			width: 100%;
			overflow: hidden;
		}
	);

}


#cnt-holder {
	width: 100vw;
}





/*------------------------------------*\
    #POPUPS WRAPPER
\*------------------------------------*/
.overlay {
	display: none;
	opacity: 0;
	filter: alpha(opacity=0);
	background: @overlay-background;
	width: 100vw;
	height: 100%;
	position: fixed;
	z-index: 100000;
	top: 0;
	overflow-x: hidden;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	&.overlay--visible {
		opacity: 1;
		display: block;
	}
	&.overlay--solid {
		background: @color_main;
	}
}





/*------------------------------------*\
    #TABS CONTENT
\*------------------------------------*/

.tabs__content {
	display: none !important;
	&.active {
		display: block !important;
	}
}