/* ==========================================================================
   Cserta Optika - temporary Beez3 re-skin
   Approximates the previous (Shaper Helix3) design while the site runs on
   the Beez3 template, until the new Drupal site is ready.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Minimal Bootstrap-3-compatible grid
   SP Page Builder content markup (sppb-row / sppb-col-md-4 / col-sm-12 ...)
   expects a Bootstrap grid that Beez3 does not ship. This recreates just
   the grid + clearfix, not the whole Bootstrap reset, to avoid clashing
   with the rest of Beez3.
   -------------------------------------------------------------------------- */
.sppb-row-container { width: 100%; }

.row, .sppb-row {
	margin-left: -15px;
	margin-right: -15px;
}
.row:before, .row:after,
.sppb-row:before, .sppb-row:after {
	content: " ";
	display: table;
}
.row:after, .sppb-row:after { clear: both; }

[class*="col-"], [class*="sppb-col-"] {
	position: relative;
	min-height: 1px;
	padding-left: 15px;
	padding-right: 15px;
	width: 100%;
	float: left;
	box-sizing: border-box;
}

/* Generated 1-12 column widths, shared by plain and sppb- prefixed classes */
.col-xs-1, .sppb-col-xs-1 { width: 8.3333%; }
.col-xs-2, .sppb-col-xs-2 { width: 16.6667%; }
.col-xs-3, .sppb-col-xs-3 { width: 25%; }
.col-xs-4, .sppb-col-xs-4 { width: 33.3333%; }
.col-xs-5, .sppb-col-xs-5 { width: 41.6667%; }
.col-xs-6, .sppb-col-xs-6 { width: 50%; }
.col-xs-7, .sppb-col-xs-7 { width: 58.3333%; }
.col-xs-8, .sppb-col-xs-8 { width: 66.6667%; }
.col-xs-9, .sppb-col-xs-9 { width: 75%; }
.col-xs-10, .sppb-col-xs-10 { width: 83.3333%; }
.col-xs-11, .sppb-col-xs-11 { width: 91.6667%; }
.col-xs-12, .sppb-col-xs-12 { width: 100%; }

@media (min-width: 768px) {
	.col-sm-1, .sppb-col-sm-1 { width: 8.3333%; }
	.col-sm-2, .sppb-col-sm-2 { width: 16.6667%; }
	.col-sm-3, .sppb-col-sm-3 { width: 25%; }
	.col-sm-4, .sppb-col-sm-4 { width: 33.3333%; }
	.col-sm-5, .sppb-col-sm-5 { width: 41.6667%; }
	.col-sm-6, .sppb-col-sm-6 { width: 50%; }
	.col-sm-7, .sppb-col-sm-7 { width: 58.3333%; }
	.col-sm-8, .sppb-col-sm-8 { width: 66.6667%; }
	.col-sm-9, .sppb-col-sm-9 { width: 75%; }
	.col-sm-10, .sppb-col-sm-10 { width: 83.3333%; }
	.col-sm-11, .sppb-col-sm-11 { width: 91.6667%; }
	.col-sm-12, .sppb-col-sm-12 { width: 100%; }
}

@media (min-width: 992px) {
	.col-md-1, .sppb-col-md-1 { width: 8.3333%; }
	.col-md-2, .sppb-col-md-2 { width: 16.6667%; }
	.col-md-3, .sppb-col-md-3 { width: 25%; }
	.col-md-4, .sppb-col-md-4 { width: 33.3333%; }
	.col-md-5, .sppb-col-md-5 { width: 41.6667%; }
	.col-md-6, .sppb-col-md-6 { width: 50%; }
	.col-md-7, .sppb-col-md-7 { width: 58.3333%; }
	.col-md-8, .sppb-col-md-8 { width: 66.6667%; }
	.col-md-9, .sppb-col-md-9 { width: 75%; }
	.col-md-10, .sppb-col-md-10 { width: 83.3333%; }
	.col-md-11, .sppb-col-md-11 { width: 91.6667%; }
	.col-md-12, .sppb-col-md-12 { width: 100%; }
}

/* --------------------------------------------------------------------------
   2. Base / typography / colours
   -------------------------------------------------------------------------- */
body {
	font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #333;
	background: #fff;
}
body a { color: #ee6749; }
body a:hover { color: #50403a; }

#all {
	max-width: 1300px;
}

#contentarea, #contentarea2 {
	padding: 0 20px !important;
}

#wrapper, #wrapper2 {
	width: 100% !important;
	float: none !important;
}
#wrapper2 .item-page {
	max-width: none;
}
#main {
	padding-top: 0;
}

/* --------------------------------------------------------------------------
   3. Header / logo / navigation
   -------------------------------------------------------------------------- */
#header {
	padding: 0 !important;
	background: #fff;
	border-bottom: 1px solid #eee;
	overflow: visible;
}
.site-header-inner {
	max-width: 1300px;
	margin: 0 auto;
	padding: 15px 20px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.logoheader {
	margin-right: auto;
}
#logo {
	margin: 0;
	padding: 0;
	width: auto;
	font-size: 1em;
}
#logo a {
	display: inline-block;
}
#logo img {
	display: block;
	max-height: 60px;
	width: auto;
}
#logo .header1 {
	display: none;
}

/* hide the stock Beez3 font-size switcher and search box to match the
   previous design, which only showed the menu */
#line { display: none; }

input.nav-toggle,
#header input.nav-toggle { position: absolute; left: -9999px; display: none !important; }
.nav-toggle-label {
	display: none;
	width: 34px;
	height: 26px;
	position: relative;
	cursor: pointer;
	margin-left: 15px;
}
.nav-toggle-label span,
.nav-toggle-label span:before,
.nav-toggle-label span:after {
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	background: #ee6749;
	border-radius: 2px;
	transition: all 0.2s ease-in-out;
}
.nav-toggle-label span { top: 11.5px; }
.nav-toggle-label span:before { content: ""; top: -9px; }
.nav-toggle-label span:after { content: ""; top: 9px; }
.nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
.nav-toggle:checked ~ .nav-toggle-label span:before { transform: rotate(45deg); top: 0; }
.nav-toggle:checked ~ .nav-toggle-label span:after { transform: rotate(-45deg); top: 0; }

#header .main-nav,
#header .main-nav #menuwrapper,
#header .main-nav ul.menu {
	position: static;
}
#header .main-nav ul.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	text-align: left;
	top: auto;
	left: auto;
	right: auto;
}
#header .main-nav ul.menu li {
	position: relative;
	margin: 0;
	padding: 0;
}
#header .main-nav ul.menu li a {
	display: block;
	padding: 10px 14px;
	color: #50403a;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.5px;
	text-decoration: none;
	white-space: nowrap;
	border-right: none;
	box-shadow: none;
	border-radius: 0;
}
#header .main-nav ul.menu li a:hover,
#header .main-nav ul.menu li.active > a,
#header .main-nav ul.menu li.current > a {
	color: #ee6749;
}

/* dropdown submenus (desktop) */
#header .main-nav ul.menu li ul.menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	background: #ee6749;
	padding: 8px 0;
	z-index: 100;
	flex-direction: column;
	box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
#header .main-nav ul.menu li:hover > ul.menu {
	display: flex;
}
#header .main-nav ul.menu li ul.menu li a {
	color: #fff;
	padding: 8px 18px;
	text-transform: none;
	font-weight: 400;
	font-size: 14px;
}
#header .main-nav ul.menu li ul.menu li a:hover {
	background: #50403a;
	color: #fff;
}

/* mobile nav */
@media (max-width: 991px) {
	.nav-toggle-label { display: block; order: 2; }
	.main-nav {
		display: none;
		width: 100%;
		order: 3;
	}
	.nav-toggle:checked ~ .main-nav {
		display: block;
	}
	#header .main-nav ul.menu {
		display: block;
	}
	#header .main-nav ul.menu li a {
		border-bottom: 1px solid #f2f2f2;
	}
	#header .main-nav ul.menu li ul.menu {
		display: block;
		position: static;
		box-shadow: none;
		padding-left: 15px;
	}
}

/* --------------------------------------------------------------------------
   4. Content: carousel / feature boxes / news / stores / brands
   Ported from the previous Helix3 template's custom.css so the SP Page
   Builder content (unchanged on the server) keeps its original look.
   -------------------------------------------------------------------------- */

/* SP Page Builder's carousel addon assumes Bootstrap's carousel CSS, which
   Beez3 does not ship. Without it every slide stacks at once and the
   arrows/dots have no positioning. This recreates just the carousel
   mechanics (Bootstrap-3 compatible), matching the sppb-carousel-* classes
   emitted by the component so the existing sppagebuilder.js keeps working. */
.sppb-carousel {
	position: relative;
}
.sppb-carousel-inner {
	position: relative;
	width: 100%;
	overflow: hidden;
	display: grid;
}
/* All slides are stacked in the same grid cell (rather than toggled with
   display:none) so the container's height always matches the tallest
   slide. The component's JS briefly removes the "active" class from the
   outgoing slide before adding it to the incoming one; with display:none
   that gap collapsed the whole carousel to 0 height for a moment. */
.sppb-carousel-inner > .sppb-item {
	grid-area: 1 / 1;
	position: relative;
	width: 100%;
	visibility: hidden;
	opacity: 0;
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.4s ease;
}
.sppb-carousel-inner > .sppb-item.active {
	visibility: visible;
	opacity: 1;
	z-index: 2;
	pointer-events: auto;
}
.sppb-carousel-inner > .sppb-item > img {
	display: block;
	width: 100%;
	height: auto;
}
.sppb-item.sppb-item-has-bg {
	position: relative;
}
.sppb-item.sppb-item-has-bg > img {
	width: 100%;
	height: auto;
}
.sppb-item.sppb-item-has-bg .sppb-carousel-item-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.sppb-carousel-item-inner {
	padding: 40px 0;
}

.sppb-carousel-control.sppb-carousel-arrow {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 20;
	text-decoration: none;
}
.sppb-carousel-control.sppb-carousel-arrow.left { left: 0; }
.sppb-carousel-control.sppb-carousel-arrow.right { right: 0; }

.sppb-carousel-indicators {
	position: absolute;
	bottom: 15px;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
	z-index: 20;
}
.sppb-carousel-indicators li {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 0 4px;
	border-radius: 50%;
	background: rgba(80, 64, 58, 0.3);
	cursor: pointer;
}
.sppb-carousel-indicators li.active {
	background: #ee6749;
}

.sppb-carousel-arrow {
	text-shadow: none;
	color: #ee6749;
	font-size: 40px;
}
.sppb-carousel-arrow .fa-chevron-left,
.sppb-carousel-arrow .fa-chevron-right {
	margin: 0;
}

@media (max-width: 767px) {
	.sppb-carousel-control.sppb-carousel-arrow { width: 36px; }
	.sppb-carousel-arrow { font-size: 26px; }
}

.sppb-btn-default {
	background: #ee6749;
	color: #fff;
	text-transform: uppercase;
	font-size: smaller;
	font-weight: 500;
	letter-spacing: 2px;
	border: none;
	display: inline-block;
	padding: 10px 20px;
	text-decoration: none;
	border-radius: 4px;
}
.sppb-btn-default:hover { background: #50403a; color: #fff; }

.sppb-carousel-pro-text h2 { font-size: 36px; line-height: 44px; }
.sppb-carousel-pro-text p { margin: 25px 0; }

a.brown, a.btn-default {
	padding: 12px 22px;
	border-radius: 4px;
	background: #50403a;
	color: #fff;
	margin-top: 10px;
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-decoration: none;
	transition: all 0.3s;
}
a.orange, a.readmore {
	padding: 12px 22px;
	border-radius: 4px;
	background: #ee6749;
	color: #fff;
	margin-top: 10px;
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-decoration: none;
	transition: all 0.3s;
}
a.readmore { margin-bottom: 30px; }
a.btn-default:hover { background: #ee6749; color: #fff; }
a.orange:hover, a.readmore:hover { background: #50403a; color: #fff; }
a.brown:hover { background: #eee; color: #50403a; }

.doboz {
	padding: 30px 20px;
	background: #fff;
	min-height: 275px;
}
.doboz1, .doboz2, .doboz3 {
	padding: 20px;
	background: #efefef;
	min-height: 340px;
}
.doboz1 { background: #50403a; color: #fff; }
.doboz2 { background: #ee6749; color: #fff; }
.doboz2 .fa { color: #50403a; }
.doboz3 { background: #eee; }
.doboz h3.sppb-addon-title { margin-top: 0; }

.sppb-addon-feature { min-height: 340px; }
.sppb-addon-feature .sppb-icon .sppb-icon-container i { font-size: 50px; }
.sppb-addon-feature .sppb-addon-title { margin: 15px 0; }

h3.newsflash-title, .newsflash-title a {
	color: #333;
	font-size: 28px;
	line-height: 1.3;
	text-decoration: none;
}
@media (min-width: 641px) {
	.newsflash img {
		width: 360px;
		max-width: 100%;
		float: left;
		margin: 0 40px 20px 0;
	}
	h3.newsflash-title {
		clear: both;
	}
}

.shop { margin-bottom: 50px; }
.shop h3 {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #d4d4d4;
	font-size: 28px;
	font-weight: 400;
}
.shop a { color: #333; }
.nyitva { display: block; }

img.marka {
	float: left;
	max-width: 110px;
	margin-right: 20px;
	margin-bottom: 10px;
}

.sppb-addon-header .sppb-addon-title {
	font-weight: 400;
}

@media (max-width: 991px) {
	.sppb-addon-feature, .doboz { margin-bottom: 15px; }
}
