/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

@import url(../warp/css/responsive.css);


/* Breakpoints
----------------------------------------------------------------------------------------------------*/

/* All except large Screens */
@media (max-width: 1220px) {

}

/* Only Phones and Tablets (Portrait) */
@media (max-width: 959px) {

	/* Modules */
	#sidebar-a .grid-v:first-child > .mod-line:before,
	#sidebar-b .grid-v:first-child > .mod-line:before { display: block; }
	
	/* Mega Drop-Down Menu */
	.menu-dropdown li.level1 { margin-right: 5px; }

	.menu-dropdown a.level1,
	.menu-dropdown span.level1 { font-size: 18px; }

}

/* Only Tablets (Portrait) */
@media (min-width: 768px) and (max-width: 959px) {

}

/* Only Tablets (Portrait) and Phones (Landscape) */
@media (min-width: 480px) and (max-width: 959px) {

	/* Layout */
	#search { display: none; }

	.sidebars-1 #sidebar-a:before,
	.sidebars-1 #sidebar-b:before,
	.sidebars-2 #sidebar-b:before { display: none; }

	/* Modules */
	.grid-h:not(.width33):nth-child(odd) > .mod-line:before { display: none; }

	.grid-h.width25:first-child > .mod-line:before {
		display: block;
		top: auto;
		bottom: -20px;
		left: 0;
		right: 0;
		width: 200%;
		padding: 0 20px;
		border-width: 1px 0 0 0;
	}

}

/* Only Phones */
@media (max-width: 767px) {

	#header-responsive { margin-bottom: 10px; }

	#toolbar,
	#logo,
	#menubar,
	#breadcrumbs { display: none; }

}

/* Only Phones (Landscape) */
@media (min-width: 480px) and (max-width: 767px) {

}

/* Only Phones (Portrait) */
@media (max-width: 479px) {

	.module {
		margin-top: 10px;
		margin-bottom: 10px;
	}

	#sidebar-a:before,
	#sidebar-b:before { display: none; }

	/* Modules */
	.grid-h .mod-line:before {
		display: block;
		top: -20px;
		bottom: auto;
		left: 0;
		right: 0;
		border-top-width: 1px;
	}

	/* System */
	#system .items .item,
	#system .items .item:first-child {
		margin-top: 10px;
		border-top-width: 1px;
	}

	#system .items :first-child .item:first-child {
		margin-top: 0;
		border-width: 0;
	}

	#system .items .leading .item {
		margin-bottom: 0;
		border-width: 0;
	}

	#system .item > .links a { margin-top: 5px; }

}
