/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

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


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

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

}

/* Only Phones and Tablets (Portrait) */
@media (max-width: 768px) {
	.wrapper {
	background:#fff;
	}
	#jp-right {
		margin-left: 0;
		max-width: 100%;
		float: none;
		clear: both;
		background:#FFFFFF
	}
	
	#jp-left {
		display: block;
		float: none;
		clear: both;
		width: 100%;
		box-sizing: border-box;
		padding: 0;
		margin: 0;
		background: #f8f8f8;
		border-bottom: 1px solid #ddd;
	}

	#jp-left #logo,
	#jp-left #sidebar-left {
		display: none !important;
	}

	#header-responsive {
		display: none;
	}

	#menu {
		display: block;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.menu-dropdown {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.menu-dropdown,
	.menu-dropdown .level1,
	.menu-dropdown .level1 > span {
		float: none;
		width: 100%;
	}

	.menu-dropdown li.level1 {
		float: none;
		width: 100%;
		margin: 0;
		padding: 0;
		border-bottom: 1px solid #e0e0e0;
	}

	.menu-dropdown a.level1,
	.menu-dropdown span.level1 {
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 14px 15px;
		color: #333;
		background: #fff;
		line-height: 1.4;
	}

	.menu-dropdown li.level1:hover .level1 {
		padding-left: 15px;
	}

	.menu-dropdown span.icon {
		display: none;
	}

	.menu-dropdown li.parent:not(.is-open) > .dropdown {
		display: none !important;
	}

	.menu-dropdown .dropdown {
		display: none;
		position: static !important;
		left: auto !important;
		top: auto !important;
		width: 100% !important;
		margin: 0;
		padding: 0;
		border: none;
		background: #f3f3f3;
	}

	.menu-dropdown li.parent.is-open > .dropdown {
		display: block !important;
	}

	.menu-dropdown .dropdown > div,
	.menu-dropdown .dropdown-bg,
	.menu-dropdown .dropdown-bg > div,
	.menu-dropdown .dropdown-bg > div > div {
		display: block !important;
		position: static !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
		opacity: 1 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: none;
		background: transparent;
	}

	.menu-dropdown ul.level2 {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.menu-dropdown li.level2 {
		border-top: 1px solid #e8e8e8;
	}

	.menu-dropdown li.level2 .level2,
	.menu-dropdown a.level2,
	.menu-dropdown span.level2 {
		display: block;
		padding: 12px 15px 12px 25px;
		color: #444;
		line-height: 1.4;
	}

	.menu-dropdown li.parent > .separator.level1,
	.menu-dropdown li.parent > a.level1 {
		cursor: pointer;
	}
}

/* Only Tablets (Portrait) */
@media (min-width: 768px) and (max-width: 959px) {
	h1.colorfull,
	h2,
	h3 {line-height:100%; font-size:100%;}

}

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

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

}

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

	/* Layout */
	#toolbar,
	#headerbar,
	#menubar,
	#breadcrumbs,
	#totop-scroller { display: none; }
	h1.colorfull,
	h2,
	h3 {line-height:100%; font-size:100%;}


}

/* Only Phones (Landscape) */
@media (min-width: 480px) and (max-width: 767px) {
	/* Menu */
	.menu-responsive {
		width: 100%;
		font-size: 14px;
	}

}

/* Only Phones (Portrait) */
@media (max-width: 479px) {
	#jp-right {
		max-width: 99%;
	}

	/* Menu */
	.menu-responsive {
		width: 100%;
		font-size: 14px;
	}
	#header-responsive .logo { margin:0;margin-bottom:2%; width:50%; }

	#header-responsive .searchbox {display: none}
	
	/* System */
	#system .items .item,
	#system .items .item:first-child {
		margin-top: 12px;
		padding-top: 18px;
		border-top-width: 1px;
	}

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

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

}