/*-- BODY AND BASICS start --*/
html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	min-width: 360px; /*HU-EN*//*min-width: 320px;*/
}

body * {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

body {
	background: url(../design/mainbg.jpg) fixed 50% 0 no-repeat #000;
}

#container {
	position: relative;
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	background-color: #eff1f2;
	-webkit-box-shadow: 10px 0 14px 0 rgba(0,0,0,0.6), -10px 0 14px 0 rgba(0,0,0,0.6);
	box-shadow: 10px 0 14px 0 rgba(0,0,0,0.6), -10px 0 14px 0 rgba(0,0,0,0.6);
	min-height: 100%;
    height: auto !important;
    height: 100%;
}

#header, #menu, #main, #footer {
	display: block;
	width: 100%;
}

/* Cookie Consent override default css */
.cc_container {
	font-size: 0.8em !important;
	padding: 5px 30px !important;
}

/*-- BODY AND BASICS end ----*/


/*-- HEADER start ----*/
#header {
	height: 248px;
	background: url(../design/headerbg.jpg) 50% 0 no-repeat;
	background-size: auto 100%; 
	-webkit-background-size: auto 100%;
}

#header div {
	display: block;
	float: left;
}

.headinfo {
	position: absolute;
	display: block;
	width: 100%;
	padding: 6px 20px 8px 20px;
	font-family: "Open Sans", sans-serif;
	font-size: 1.06em;
	font-weight: 600;
	vertical-align: middle;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
	color: #fff;
	background-color: rgba(0,0,0,0.26);
}

.headinfo > div {
	display: table-cell;
	width: 50%;
}

.headleft {text-align: left}
.headright {text-align: right}

.headlogo {
	position: relative;
	/*V2.0*//* width: 166px; */
	/*V2.0*//* height: 190px; */
	/*V2.0*//* margin: 44px 0 0 -80px; /* margin-left = -(width x 1/2) */
	/*V1.0*/ width: 200px;
	/*V1.0*/ height: 248px;
	/*V1.0*/ margin: 0 0 0 -100px; /* margin-left = -(width x 1/2) */
	left: 50%;
	background: url(../design/headerlogo.png) 50% 50% no-repeat;
	/*V1.0*/ background-size: 196px auto;
	-webkit-background-size: 196px auto;
	/*V2.0*//* background-size: 166px auto;
	-webkit-background-size: 166px auto; */
}

.headlogo a {
	position: absolute;
	left: 0;
	width: inherit;
	height: inherit;
	text-indent: -1000px;
	overflow: hidden;
	color: #000000;
	font-size: 10px;
}
/*-- HEADER end ------*/


/*-- MENU start ----*/
#menu {
	text-align: center;
	height: 55px;
	background: url(../design/menubg.png) repeat-x;
}

.menu {
	display: inline-block;
	height: 45px;
	line-height: 42px;
	padding: 0 20px; /*HU-EN*//*padding: 0 28px;*/
	font-size: 14.5px; /*HU-EN*//*font-size: 15px;*/
	font-family: "Open Sans", sans-serif;
	font-weight: 600;
	color: #ffffff;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
	text-transform: uppercase;
	-webkit-transition: background-color 0.3s;
	-o-transition: background-color 0.3s;
	-moz-transition: background-color 0.3s;
	transition: background-color 0.3s;
	background-color: transparent;
}

.menu:hover {
	background-color: rgba(0,0,0,0.1);
}
/*-- MENU end ------*/

/*---- WMUSlider start ---*/
#intro {
	display: block;
	position: relative;
	height: 229px;
	margin: -10px auto 0 auto;
	overflow: hidden;
	background-color: #eff1f2;
}

.imgbox {
	position: absolute;
	width: 100%;
	height: 100%;
}

.imgbox img {
	display: block;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1.6s ease;
    -webkit-transition: opacity 1.6s ease;
	-o-transition: opacity 1.6s ease;
}

.imgbox.opaque img {
	opacity: 1;
}

p.lbox2gallery {overflow: hidden}

.galstepper {
	display: block;
	position: absolute;
	top: 50%;
	width: 36px;
	height: 36px;
	margin-top: -3px; /* Ennél a slidernél épp 36px felső eltartással kezdődnek a .PNG képek + 3px-es keret van rajtuk, így lettek megszerkesztve! Így nem kell "height/2" margin-top érték! */
	opacity: 0.3;
	transition: opacity 0.25s ease, margin 0.4s ease;
    -webkit-transition: opacity 0.25s ease, margin 0.4s ease;
}

#prev {
	background: url(../design/intropic_prev.png) no-repeat 50% 50% / cover;
	left: 0;
	margin-left: -50px;
	text-indent: -100px;
}

#next {
	background: url(../design/intropic_next.png) no-repeat 50% 50% / cover;
	right: 0;
	margin-right: -50px;
	text-indent: 100px;
}

#intro:hover .galstepper {
	opacity: 0.8;
}

#intro:hover #prev {
	margin-left: 10px;
}

#intro:hover #next{
	margin-right: 10px;
}

#intro #prev:hover, #intro #next:hover {
	opacity: 1;
}
/*---- WMUSlider end ----*/

/*-- MAIN start ----*/
#main {
	background-color: #eff1f2;
	min-height: 400px;
	overflow: hidden;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	color: #404040;
	opacity: 0; /* for the "fadein" animation */
	-webkit-transition: opacity 0.25s ease;
	-o-transition: opacity 0.25s ease;
	-moz-transition: opacity 0.25s ease;
	transition: opacity 0.25s ease;
}

#maincontent {
	padding: 36px 60px 286px 60px;
}

h1, h2 {
	clear: both;
	padding-bottom: 4px;
	border-bottom: 2px solid #9fcc00;
	margin-bottom: 14px;
}

h1 {
	font-size: 20px;
}

h2 {
	font-size: 16px;
}

h2:not(:first-of-type) {
	margin-top: 26px;
}

p {
	margin-top: 24px;
	line-height: 24px;
}

.anchor {
	color: #7fb800;
	font-weight: 700;
	position: relative;
	-webkit-transition: color 0.2s ease;
	-o-transition: color 0.2s ease;
	-moz-transition: color 0.2s ease;
	transition: color 0.2s ease;
}

.anchor::after {
	display: block;
	content: "";
	position: absolute;
	left: 0;
	top: 100%;
	width: 0;
	height: 1px;
	background-color: #7fb800;
	-webkit-transition: width 0.2s;
	-o-transition: width 0.2s;
	-moz-transition: width 0.2s;
	transition: width 0.2s;
}

.anchor:hover {
	color: #404040;
}

.anchor:hover::after {
	width: 100%;
}

ul li {
	line-height: 26px;
	margin-left: 15px;
}

li::before {
	content: " ";
	display: block;
	position: relative;
	top: 15px;
	left: -13px;
	width: 4px;
	height: 4px;
	background-color: #8fcc00;
}

.sublist li {
	font-size: 0.9em;
	padding-left: 5px;
}

.sublist li:before {
	top: 14px;
	height: 2px;
} 

.firmname {
	white-space: nowrap;
	font-weight: 700;
}

.partners {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.partnerlogo {
	display: table; /* Korábban: display: block; */
	float: left;
	width: 155px;
	height: 215px;
	margin: 0 0 16px 16px;
	border: 1px solid #9d9d9d;
	background-position: 50% 10px;
	padding: 150px 10px 10px 10px;
	color: #788999;
	font-weight: 400;
	font-size: 12px;
	text-align: center;
	background-color: #ffffff;
	vertical-align: top;
}

.partnerlogo:nth-of-type(5n+1) {
	margin-left: 0;
}

.partnerlogo em {
	font-style: normal;
	display: table-cell;
	vertical-align: middle;
	height: 50px;
}

.galpic, .familyfirms {/* Animations */
	-webkit-box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.2);
	box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.2);
	-webkit-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.galpic {
	display: block;
	width: 256px;
	height: 192px;
	float: left;
	margin: 0 0 36px 36px;
	border: 3px solid #ffffff;
	background-position: 50%;
	background-color: #ffffff;
}

.galpic:hover {
	border-color: #9fcc00;
}

.galpic:nth-of-type(3n+1) {
	margin-left: 0;
}

.isopic {
	background-position: 50% 0%;
}

.tuvgal {
	display: inline-block;
	margin-bottom: -36px;
}

.tuvpic:nth-of-type(1),.tuvpic:nth-of-type(2) {
	background-position: 50% 88%; /* az 1. és 2. TÜV bélyegkép bgpos függ. alulra */
}

.tuvpic:nth-of-type(n+3){
	background-position: 50% 2%; /* a 3. TÜV bélyegképtől a bgpos függ. felülre */
}

.lbox2help {
	display: block;
	font-size: 10px;
	color: #6d6d6d;
}

.lbox2help em {
	font-style: normal;
	text-transform: uppercase;
	border: 1px solid #8d8d8d;
	padding: 1px 4px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

.sz2020_details.sz2020_erfa {background-image: url(../design/palyazat/sz2020_erfa/szechenyi2020_300.png)}
.sz2020_details.sz2020_esza {background-image: url(../design/palyazat/sz2020_esza/szechenyi2020_300.png)}

.sz2020_details {
	background-repeat: no-repeat;
	background-position: 100% 0;
	background-size: auto 280px;
	-webkit-background-size: auto 280px;
}

.sz2020_details li span {font-weight: 600}
.sz2020_details li {margin-bottom: 15px}

hr.dashed {border: 0}

hr.dashed::after {
	display: block;
	content: "";
	border-bottom: 1px dashed #a0a0a0;
}

.familyfirms {
	display: block;
	float: left;
	width: 269px;
	height: 292px;
	margin-left: 16px;
	padding: 200px 10px 10px 10px;
	color: #404040;
	font-weight: 600;
	text-align: center;
	border: 3px solid #ffffff;
}

.familyfirms:hover {
	border-color: #9fcc00;
}

.familyfirms .text {
	display: table-cell;
	vertical-align: middle;
	width: inherit;
	height: 76px;
}

.condensed {
	font-family: "Roboto Condensed", sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #6d6d6d;
}

.firm-1 {
	margin-left: 0;
	background: url(../design/familylogos/logo_fmly_DeluxeVill.png) no-repeat 50% 7px #ffffff;
}

.firm-2 {
	background: url(../design/familylogos/logo_fmly_Siad.png) no-repeat 50% 7px #ffffff;
}

.firm-3 {
	background: url(../design/familylogos/logo_fmly_CovimCaffe.png) no-repeat 50% 7px #ffffff;
}

.fixwidthspan {
	display: inline-block;
	/* width: 155px; */ /* .HU */
	width: 200px; /* .EU */
	line-height: 1.5em;
}

.contacts-centerdiv {
	width: 100%;
	text-align: center;
	border-bottom: 1px dashed #a0a0a0;
	padding: 10px 0 40px 0;
}

.fa:not(.fa-at) {
	color: #9fcc00;
	margin-right: 5px;
}

.memberbox {
	display: inline-block;
	width: 50%;
	height: 100%;
	text-align: center;
}

.memberbox img {
	display: inline-block;
	border: 2px solid #ffffff;
	margin: 10px;
	width: 120px;
	height: 120px;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

.memberbox span {
	display: block;
	font-size: 14px;
	line-height: 24px;
}

.memberbox span:first-of-type {
	font-weight: 600;
	font-size: 16px;
}

.memberbox span:nth-of-type(2) {
	font-size: 12px;
}

.memberbox span:nth-of-type(3) {
	margin-top: 10px;
}

.googlemaps {
	text-align: center;
	margin-bottom: 40px;
}

.googlemaps .fa {
	margin-left: -20px;
}

.theMap {
	position: relative;
	display: block;
	border: 2px solid #9fcc00;
	margin: 20px auto;
	width: 70%;
	height: 300px;
	background: url(../design/googlemaps.png) no-repeat 60% 50%;
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	background-size: 140%;
	-webkit-background-size: 140%;
}

.theMap:hover {
	background-size: 120%;
	-webkit-background-size: 120%;
}

.gmapstext {
	position: absolute;
	bottom: 4px;
	right: 8px;
	color: #404040;
	background-color: rgba(255, 255, 255, 0.4);
	padding: 2px 10px;
	font-size: 10px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

/*-- MAIN end ------*/

/*-- FOOTER start ----*/
#footer {
	position: absolute;
	bottom: 0;
	height: 236px;
	text-align: center;
	background: url(../design/footerbg.jpg) no-repeat;
}

.footertextbox {
	display: inline-block;
	height: 150px;
	margin-top: 60px;
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
	line-height: 16px;
	font-weight: 400;
	text-align: center;
	color: #9fcc00;
	vertical-align: top;
}

.footertextbox em {
	font-style: normal;
	font-size: 12px;
	text-transform: uppercase;
	color: #c8ccd0;
}

.textbox-left, .textbox-right {
	width: 280px;
}

.textbox-center {
	position: relative;
	width: 240px;
	height: 150px;
	margin: 52px 3% 0 3%;
}

a.footerlogo {
	position: absolute;
	left: 0;
	top: 0;
	width: 224px;
	/* height: 66px; */ /* .HU */
	height: 62px; /* .EU */
	margin: 12px calc(50% - 112px) 0;
	/* background: url(../design/footerlogo.png) 50% 50% no-repeat; */ /* .HU */
	background: url(../design/footerlogo.png) 50% 0% no-repeat; /* .EU */
	overflow: hidden;
	text-indent: -1000px;
	color: #000000;
	font-size: 10px;
}

.textbox-center span {
	display: block;
	position: absolute;
	bottom: 12px;
	width: 100%;
	text-align: center;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 12px;
	color: #c8ccd0;
}

.textbox-center > span > a {
	color: #c8ccd0;
	margin: 0 1px;
	-webkit-transition: color 0.3s;
	-o-transition: color 0.3s;
	-moz-transition: color 0.3s;
	transition: color 0.3s;
}
.textbox-center > span > a:hover { color: #9fcc00; }

#websupport, .websupatag {
	display: none;
	visibility: hidden;
	width: 0;
	height: 0;
}
/*-- FOOTER end ------*/


/*---- RESPONSIVE VIEW FOR [...] WIDE RESOLUTION ----- */

/* > 960 */
@media screen and (min-width: 960px) {
	p.lbox2gallery + p {margin-top: 0}
}

/* < 960 */
@media screen and (max-width: 960px) {
	#intro {
		height: auto;
	}

	.imgbox {
		height: auto;
	}

	.familyfirms {
		display: block;
		float: none;
		margin: 20px auto;
		min-width: 269px;
		width: 60%;
	}
	
	.familyfirms .text {
		width: inherit;
		padding: 0 20px;
	}
	
	.partnerlogo {
		display: inline-block;
		height: 155px;
		width: calc((100% - 39px)/4);
		padding: 10px;
		float: none;
	}
	
	.partnerlogo, .partnerlogo:nth-of-type(5n+1) {
		margin: 0 0 13px 13px;
	}
	
	.partnerlogo  em {
		display: none;
	}
	
	.lbox2gallery {
		text-align: center;
	}
	
	.galpic {
		display: inline-block;
		float: none;
		margin: 10px 10px 10px 10px;
	}

	.galpic:nth-of-type(3n+1) {
		margin-left: 10px;
	}
	
	.tuvgal {
		margin-bottom: -12px;
	}
}

/* 801-960 */
@media screen and (min-width: 801px) and (max-width: 960px) {
	#header {
		text-align: center;
	}
	
	.menu {
		padding: 0 15px;
	}

	.partnerlogo:nth-of-type(4n+1) {
		margin-left: 0;
	}
	
	.textbox-left, .textbox-right {
		width: 240px;
	}
}

/* < 800 */
@media screen and (max-width: 800px) {
	#header {
		height: 200px;
	}
	
	.headlogo {
		width: 160px;
		height: 180px;
		margin: 10px 0 0 -80px; /* margin-left = -(width x 1/2) */
		background: url(../design/headerlogo_mobile.png) no-repeat 50% 50%;
		background-size: 100% auto;
		-webkit-background-size: 100% auto;
	}
	
	#menu {
		height: auto;
		margin-bottom: 10px;
		background: #9fcc00;
		-webkit-box-shadow: 0 2px 6px 0 rgba(0,0,0,0.2);
		box-shadow: 0 2px 6px 0 rgba(0,0,0,0.2);
	}
	
	.menu {
		font-size: 14px;
		padding: 0;
		margin: 1px;
		width: calc(50% - 2px);
		min-width: 156px;
		height: 32px;
		line-height: 30px;
		-webkit-border-radius: 2px;
		border-radius: 2px;
	}
	
	#maincontent {
		padding: 29px 26px 570px 26px;
	}
	
	.partnerlogo, .partnerlogo:nth-of-type(5n+1), .partnerlogo:nth-of-type(4n+1) {
		margin: 0 0 10px 10px;
	}
	
	.partnerlogo:nth-of-type(3n+1) {
		margin-left: 0;
	}
	
	.partnerlogo {
		width: calc((100% - 20px)/3);
	}
	
	.theMap, .theMap:hover {
		background-size: cover;
		-webkit-background-size: cover;
	}
	
	#footer {
		position: absolute;
		bottom: 0;
		height: 520px;
		text-align: center;
		background: url(../design/footerbg4mobil.jpg) no-repeat;
	}
	
	.footertextbox {
		display: block;
	}
	
	.textbox-left {
		/* margin-top: 50px; */
		margin-top: 150px;
	}
	
	.textbox-right {
		margin-top: 0;
	}
	
	.textbox-center {
		position: absolute;
		bottom: 0;
		width: 100%;
		margin: 0 auto 15px auto;
	}
	
	a.footerlogo {
		margin-top: -300px;
	}
}

/* < 700 */
@media screen and (max-width: 700px) {
	.headinfo {
		font-family: "Roboto Condensed", sans-serif;
		font-size: 1em;
		font-weight: 400;
		padding: 6px 12px;
	}
}

/* < 600 */ /* ONLY in .EU */
@media screen and (max-width: 600px) {
	.fixwidthspan {
		display: block;
		margin-top: 20px;
	}
}

/* 481-800 */
@media screen and (min-width: 481px) and (max-width: 800px) {
	.menu {
		display: inline-block;
		float: none;
		width: auto;
		min-width: 0;
		padding: 0 16px;
		font-size: 14px;
	}
	
	#maincontent {
		padding: 29px 26px 410px 26px;
	}
	
	#footer {
		height: 360px;
		background-size: 100% 370px;
		-webkit-background-size: 100% 370px;
	}
	
	.textbox-left, .textbox-right {
		/* margin-top: 50px; */
		width: 50%;
		margin-top: 135px;
		margin-bottom: 20px;
		float: left;
	}
	
	.textbox-center {
		left: 0;
	}
	
	a.footerlogo {
		margin-top: -150px;
	}
	
	.sz2020_details {
		background-size: 50% auto;
		-webkit-background-size: 50% auto;
	}
}

/* 481-600 */
@media screen and (min-width: 481px) and (max-width: 600px) {
	.galstepper {
		width: 18px;
		height: 32px;
		margin-top: -6px;
	}
	
	.sz2020_details {
		padding-top: 200px;
		background-size: auto 200px;
		-webkit-background-size: auto 200px;
	}
}

/* < 480 */
@media screen and (max-width: 480px) {
	#intro {
		margin-top: 0;
	}
	
	.headinfo {
		font-size: 0.92em;
	}
	
	.headinfo > div > .fa-envelope, .headinfo > div > .fa-phone {
		display: none;
	}
	
	.galstepper {
		width: 16px;
		height: 26px;
		margin-top: -6px;
	}
	
	#prev {
		left: -5px;
	}
	
	#next {
		right: -5px;
	}
	
	.sz2020_details {
		padding-top: 60%;
		background-size: 80% auto;
		-webkit-background-size: 80% auto;
	}
	
	.memberbox {
		display: block;
		width: 100%;
	}
	
	.memberbox:last-child {
		margin-top: 30px;
	}
	
	/* ONLY in .HU*/
	/*.fixwidthspan {
		display: block;
		margin-top: 20px;
	}*/
	
	.theMap {
		width: 90%;
	}
	
	.galpic {
		margin: 10px auto!important;
	}
	
	.partnerlogo {
		width: calc(50% - 5px);
		margin: 0 0 10px 10px !important;
	}
	
	.partnerlogo:nth-of-type(odd) {
		margin-left: 0!important;
	}
	
	.textbox-left, .textbox-right {
		width: 100%;
	}
}

/* < 360 */
@media screen and (max-width: 360px) {
	.partnerlogo {
		height: 136px;
		background-size: 110px 110px;
		-webkit-background-size: 110px 110px;
	}
}

/* < 320 */ /* DEUTSCH: body/html = min-width: 360px ! */
/* @media screen and (max-width: 320px) {
	.partnerlogo {
		height: 120px;
		background-size: 100px 100px;
		-webkit-background-size: 100px 100px;
	}
} */