
html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
	font-family: 'Cormorant', serif;
	font-size: 21px;
	color: #4F3C26;
	justify-content: center; /* align horizontal */
	align-items: center;
	text-align: center;
	height: 100%;
}
a {
	text-decoration: none!important;	
}
p {
	font-family: 'Cormorant', serif!important;
	font-style: italic;
	letter-spacing: 1.6px;
}
/*go-to-top*/
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  background-color: #605342;
  font-style: normal!important;
}
.arrow {
	width: 25px;
	height: 25px;
}

/*menu*/
.main-menu {
	display: block;
  	background: #F2ECE1;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9998;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
}
/* .main-menu:after {
	position: absolute;
	background-image: url('../img/lace.svg');
	background-position: top left;
	background-repeat: repeat-x;
	content: "";
	width: 100%;
	height: 80px;
	bottom: -74px;
	left: 0;
	overflow: hidden;
}
 */
.scrollUp {
  transform: translateY(-130px);	
  background: #605342;
}
.main-menu a {
	color: #605342;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 17px;
}
.container-menu {
  width:93%;
  margin:0 auto;
}
.main-menu:before,.main-menu:after{
  display: table;
  line-height: 0;
  content: "";
}
.core-menu {
  text-align:center;
  overflow:hidden;
}
.core-menu li {
  list-style:none;
  display:inline-block;
  cursor:pointer;
}
.core-menu li a {
  display:inline-block;
  padding:1em;
}
.core-menu li a:hover {
  background:#fff!important;
}
li span.toggle {
  padding-left:1em;
}
.toggle:before {
  content:"\f107";

}
.dropdown {
  position:absolute;
  width:230px;
  background: #fff;
  text-align:left;
  display:none;
}
.dropdown li {
  display:block;
  }
.dropdown li a {
  display:block;
}
.dropdown2 {
  position:absolute;
  width:230px;
  background:#ddd1c2;
  text-align:left;
  display:none;
  right:-100%;
  top:0;
}
.dropdown2 li {
  display:block;
  }
.dropdown2 li a {
  display:block;
}
li span.toggle2 {
  position:absolute;
  right:0;
  margin-right:20px;
}
.toggle2:before {
  content:"\f105";
}
.hamburger-menu {
  padding:25px;
  display:none;
  text-transform:uppercase;
}
@media(max-width:1000px) {
  .main-menu:after {
	display: none;	
  }
}
@media(max-width:789px) {
  .main-menu {
    height:50px;
  }

  .container-menu {
    width:100%;
  }
  .navigation {
    float:left;
    display:block;
    width:100%;
  }
  .core-menu {
    float:right;
    width:100%;
  	background: #ddd1c2;
    margin:auto;
    display:none;
  }  
  .core-menu li {
    width:100%;
    display:block;
  }
  .core-menu li a{
    display:block;
    margin:auto;
  }
  .hamburger-menu {
    display:block;
    text-align:center;
    padding-right:60px;
    float:none;
    width:100%;
  }
  .burger-1, .burger-2, .burger-3 {
  display:block;
  position:absolute;
  width:20px;
  height:3px;
  border-radius:30px;
  right:0;
  margin-right:25px;
  background:#fff;
    -webkit-transition:.2s ease;
    -ms-transition:.2s ease;
    -moz-transition:.2s ease;
    -o-transition:.2s ease;
  transition:.2s ease; 
  } 
  .burger-1 {
  top:15px;
  }
  .burger-2 {
  top:23px;
  }
  .burger-3 {
  top:31px;
  }  
  .burger-1.open, .burger-2.open, .burger-3.open {
  -webkit-transition:.2s ease;
  -ms-transition:.2s ease;
  -moz-transition:.2s ease;
  -o-transition:.2s ease;
    transition:.2s ease;
    transform-origin:50% 50%;
  }
  .burger-1.open {
    top:25px;
    width:23px;
    transform:rotate(45deg);
    -webkit-transform:rotate(45deg); 
    -ms-transform:rotate(45deg); 
    -moz-transform:rotate(45deg); 
    -o-transform:rotate(45deg); 
  }
  .burger-2.open {
    opacity:0;
  }
  .burger-3.open {
    top:25px;
    width:23px;
    transform:rotate(-45deg);
  }
  .dropdown {
    width:100%;
    background:#ddd1c2;
    text-align:center;
    position:relative;
  }
  .dropdown2 {
    right:0;
    top:0;
    width:100%;
    position:relative;
    padding:0 20px;
	}
}

/*body*/
p {
	color: #605342;
	font-size: 21px;
	line-height: 1.7;
	padding-bottom: 10px;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display SC', serif!important;
}
h1 {
	font-size: 120px;
	text-transform: uppercase;
	line-height: 1;
	font-weight: lighter;
	position: relative;
	z-index: 20;
	letter-spacing: 10px;

}
h2 {
	font-size: 40px;
	text-align: center;
	position: relative;
	z-index: 20;
	padding: 15px 0;
	line-height: 1;
	color: #fff;
	letter-spacing: 2px;
}
h3 {
	font-size: 38px;
	text-align: center;
	position: relative;
	z-index: 20;
	color: #605342;
	padding-bottom: 20px;
	letter-spacing: 2px;
}
h5 {
	font-size: 95px;
	text-align: center;
	color: #F2ECE1;
	text-transform: uppercase;
	line-height: 1.5;
	padding: 30px 0 0 0;
	letter-spacing: 10px;	
}
h4 {
	font-size: 65px;
	text-transform: uppercase;
	line-height: 1;
	position: relative;
	z-index: 20;
	padding: 70px 0 0 0;
	letter-spacing: 2px;
}

h6 {
	font-size: 26px;
	/* text-transform: uppercase; */
	line-height: 1.4;
	position: relative;
	z-index: 20;
	padding: 10px;
	letter-spacing: 2px;
}

/*fejléc*/

header {
	height: 800px;
	width: 100%;
	background-image: url('../img/fokep.jpg');	
	background-size: cover;
	/* The url is relative to the document, not to the css file! */
	/* Prefer absolute urls to avoid confusion. */
	-ms-behavior: url(/backgroundsize.min.htc);
	overflow: hidden;
	background-position: center;	
	background-attachment: fixed;
	background-repeat: no-repeat;
	color: #fff;
	display: flex;
	justify-content: center; /* align horizontal */
	align-items: center;
	text-align: center;
}

header:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 800px;
	background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(0,0,0,0.53) 100%); 
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(0,0,0,0.53) 100%); 
	background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(0,0,0,0.53) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#87000000',GradientType=0 );
	z-index: 0;
}


span#black {
	color: #F2ECE1!important;
}
#date {
	width: 100%;
	height: auto;
	text-align: center;
	display: block;
	position: absolute;
	top: 720px;
	left: 0;
	margin: 0 auto;	
}
#date2 {
	width: 100%;
	height: auto;
	text-align: center;
	display: block;
	position: absolute;
	top: 590px;
	left: 0;
	margin: 0 auto;	
}
#date3 {
	width: 100%;
	height: auto;
	text-align: center;
	display: block;
	position: absolute;
	top: 520px;
	left: 0;
	margin: 0 auto;	
}
/*1. Rolunk*/

#1rolunk {
	display: block;
	width: 100%;
	height: auto;
	min-height: 300px;
	display: absolute;
}
.cim {
	color: #fff;
	display: block;
	text-align: center;
	clear: both;
}
#orni {
	margin: 0 auto;
	display: block;
	padding: 0px;
	width:600px;
	height: auto;
	margin-top: 5px;
	margin-bottom: 20px;
}
.box {
	margin: 0 5% 60px 5%;
	display: flex;
	overflow: hidden;
	width: 85%;
	height: auto;
	position: relative;
	z-index: 22;
	justify-content: center; /* align horizontal */
	align-items: center;
}

#img-rolunk {
	display: block;
	content: "";
	min-height: 300px;
	border: 10px solid white;
	background-image: url('../img/2eskuvo.jpg');
	background-size: cover;
	background-position: center, center;
	padding: 10px;
	overflow: visible;	
}

/*2. Programok*/
#kepsav-programok {
	background-image: url('../img/2progik.jpg');
}
#kepsav-lakodalom {
	background-image: url('../img/4lakodalom.jpg');	
}
#kepsav-programok, #kepsav-lakodalom {
	margin: 0!important;
	padding: 0!important;
	display: block;
	height:auto;
	width: 100%;	
	background-size: cover;
	background-position: center, center;
	-ms-behavior: url(/backgroundsize.min.htc);
	overflow: hidden;
	background-position: center;	
	background-attachment: fixed;
	background-repeat: no-repeat;
	color: #fff;
	text-align: center;
	vertical-align: middle;
}
#fokep-programok, #fokep-lakodalom {
	height: 100%;
	width: 100%;
	content: "";
	background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(0,0,0,0.53) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(0,0,0,0.53) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(0,0,0,0.53) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#87000000',GradientType=0 ); /* IE6-9 */
	text-align: center;
	vertical-align: middle;	
	padding: 50px 150px;
}
#fokep-programok {
	padding: 50px 150px;
}
#fokep-lakodalom {	
	padding: 250px 10px;
}

.center-box-border {
	display: block;
	width: 80%;
	height: auto;
	margin: -100px 10% 40px 10%!important;
	padding: 120px 20px 0px 20px;
	border: 1px solid #b3b3b3;
	box-shadow: 0 0 1px rgba(0,0,0, 0.3);
	position: relative;
	z-index: 44;
}
.center-box-row {
	display: flex;
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0px;
	justify-content: center; /* align horizontal */
	align-items: center;
	overflow: hidden;
}
#img-programok {
	display: block;
	content: "";
	min-height: 400px;
	border: 10px solid white;
	background-image: url('../img/4lakodalom.jpg');
	background-size: cover;
	background-position: center, center;
	padding: 10px;
	overflow: visible;
}
#center-programok {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center; /* align horizontal */
	align-items: center;
	text-align: center;
	color: white;
	padding: 80px;
}

/*3 helyszinek*/ 

#img-helyszinek {
	display: block;
	content: "";
	min-height: 400px;
	border: 10px solid white;
	background-image: url('../img/5kozl2.jpg');
	background-size: cover;
	background-position: center, center;
	padding: 10px;
	overflow: visible;
}
.mapouter {
	margin: 10px auto;
}
/*Lakodalom*/
#center-lakodalom {
	display: block;
	width: 100%;
	height: auto;
}
h5#lakodalom {
	color: #fff!important;
	position: relative;
	z-index: 20;
}
.center-box {
	padding: 20px;
	width: 100%;
}
.twothird {
	width: 60%;
	height: auto;
	display: block;
	float: left;
	margin: 0 auto;
	padding: 20px;

}
.onethird {
	width: 40%;
	height: auto;
	display: block;
	float: left;
	margin: 0 auto;
	padding: 20px;
}
.twothird-right {
	width: 60%;
	height: auto;
	display: block;
	float: right;
	margin: 0 auto;
	padding: 20px;

}
.onethird-right {
	width: 40%;
	height: auto;
	display: block;
	float: right;
	margin: 0 auto;
	padding: 20px;
}
#img-megkozelites {
	display: block;
	content: "";
	min-height: 300px;
	width: 100%;
	background-image: url('../img/5kozl4.jpg');
	background-size: cover;
	background-position: center, center;
	margin: 10px 0;
	overflow: visible;
}
#img-ajik {
	display: block;
	content: "";
	min-height: 300px;
	width: 100%;
	background-image: url('../img/3ajik2.jpg');
	background-size: cover;
	background-position: center, center;
	margin: 10px 0;
	overflow: visible;
}
#img-aniko {
	display: block;
	content: "";
	min-height: 300px;
	width: 80%;
	background-image: url('../img/aniko.jpg');
	background-size: cover;
	background-position: top, center;
	margin: 10px 0;
	overflow: visible;
	margin: auto;
}
#kontakt.center-box {
	display: block;
	background-image: url('../img/4kapcs.jpg');
	background-size: cover;
	background-position: center, center;
	width: 100%;
	padding: 40px 0 0 0;
	margin-top: 10px!important;
	color: #fff;
	margin-left: 0 auto!important;
	margin-right: 0 auto!important;
	font-size: 18px!important;
	opacity: 0;
	animation: 2s fadein ease 0s forwards;
	-webkit-animation: 2s fadein ease 0s forwards;
	-moz-animation: 2s fadein ease 0s forwards;
	-o-animation: 2s fadein ease 0s forwards;
}
form {
	max-width: 600px!important;
	margin: 0 auto;
}
#kontakt-bg {
	background-image: url('../img/1enter.jpg');
	background-size: cover;
	background-position: center, center;
	width: 100%;
	padding: 40px 0;
	color: #fff;
	margin: 0 auto;
	font-size: 18px!important;
	opacity: 0;
	animation: 2s fadein ease 0s forwards;
	-webkit-animation: 2s fadein ease 0s forwards;
	-moz-animation: 2s fadein ease 0s forwards;
	-o-animation: 2s fadein ease 0s forwards;	
	display: flex;
	justify-content: center; /* align horizontal */
	align-items: center;
	text-align: center;
	overflow:hidden;
    min-height:100%;
    height:100%;
}

#form.centerbox {
	display: block;
	margin: 0 auto!important;
	height: auto;
	padding: 10px 0px 30px 0;
	text-align: center;
}
form input#kod{
	width: 90%;
	border: solid 1px rgba(0, 0, 0, 0.1);
	margin: 10px;	
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
	padding: 15px!important;
	text-align: center;
}
label {
	margin-bottom: 20px;

}
input, textarea {
	font-size: 16px!important;
	font-family: 'Cormorant', serif!important;
	font-style: italic;
	display: block;
	padding: 8px;
}
form input[type="text"], form input[type="email"] {
	width: 90%;
	border: solid 1px rgba(0, 0, 0, 0.1);
	margin: 0 5% 10px 5%;	
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}
textarea.uzi {
	display: block;
	width: 90%;
	height: 100px;
	border: solid 1px rgba(0, 0, 0, 0.1);
	margin: 0 5% 10px 5%;	
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}
form input[type="submit"] {
	display: block;
	margin: 0 auto!important;
	margin-top: 10px;
	margin-bottom: 10px;
	background-color: #605342;
	padding: 14px;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 7px;
	border: none;
	font-size: 19px;
	font-weight: normal;
	cursor: pointer;
	font-style: normal!important;
}
form input[type="submit"]:hover {
	opacity: 0.8;	
	-ms-transform: scale(1.05, 1.05); /* IE 9 */
	-webkit-transform: scale(1.05, 1.05);  /* Safari */
	-o-transform: scale(1.05, 1.05); 
	-moz-transform: scale(1.05, 1.05); 
	transform: scale(1.05, 1.05); 
	cursor: pointer;
}

/*kontakt gomb*/
button.contact a {
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 18px;
}
button.contact {
	display: block;
	margin: 0 auto;
	text-transform: uppercase;
	padding: 14px;
	border: none;
	border-radius: 11px;
	background-color: #1ac8bd;
	text-align: center;
}
.no-border {
	border: none!important;
	box-shadow: none!important;
}
.no-top {
	margin-top: 0!important;
	padding-top: 20px!important;
}

/*footer*/
footer {
	width: 100%;
	margin: 0 auto;
	padding: 13px 20px 20px 20px;
	background-color: #605342;
}
.footer-center-box {
	display: block;
	max-width: 700px;
	min-height: 1px;
	margin: 0 auto;
	text-align: center;
	padding: 15px;
}
footer a p {
	color: #F2ECE1!important; 
}
footer p {
	padding: 0!important;	
	color: white!important;
	font-size: 14px!important;
	text-transform: uppercase;
	line-height: 1!important;
}
/*pop up box*/
.box {
  width: 40%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}
.content p {
	color: #605342!important;
	font-size: 20px;
	line-height: 1.5;
}
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 999;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 100px auto;
  padding: 20px 40px 60px 40px;
  background: #fff;
  border-radius: 5px;
  width: 50%;
  position: relative;
  transition: all 5s ease-in-out;
}
.popup#contact {
  margin: 100px auto;
  padding: 40px 30px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #062335;
}
.popup .close:hover {
  color: #1ac8bd;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}
.content h4 {
	font-size: 22px;
	color: #605342;
	font-weight: bold;
	margin: 0 40px;
	line-height: 1.5;
	text-transform: none!important;
	font-family: 'Cormorant', serif!important;
}
@media screen and (max-width: 789px){
  .box{
    width: 90%;
  }
  .popup{
    width: 85%;
	margin-top: 80px;
	margin-left: 0 auto!important;
	margin-right: 0 auto!important;
	padding: 20px 10px 40px 10px;
  }
  .popup#contact {
    width: 85%;
	margin-top: 60px;
	margin-left: 0 auto;
	margin-right: 0 auto;
	padding: 30px 10px;
}
  .content p {
	font-size: 17px!important;
	}
  .content h4 {
	font-size: 18px!important;
	}
}

@keyframes fadein {
	0%{ opacity: 0;}
	100%{ opacity: 1;}
}
@-webkit-keyframes fadein {
	0%{ opacity: 0;}
	100%{ opacity: 1;}
}
@-moz-keyframes fadein {
	0%{ opacity: 0;}
	100%{ opacity: 1;}
}
@-o-keyframes fadein {
	0%{ opacity: 0;}
	100%{ opacity: 1;}
}

@media only screen and (min-width: 550px) and (max-width: 800px){
	#img-aniko {
		width: 70%;
		margin: auto;
	}
}

@media only screen and (max-width: 550px){
	#img-aniko {
		width: 100%;
		margin: auto;
	}
	
	#fokep-programok {
		padding: 20px 20px!important;
	}
	#fokep-lakodalom {	
		padding: 120px 5px!important;
	}
	#center-programok.center-box {
		padding: 10px;
		display: block;
	}
	h4 {
	font-size: 40px!important;
	padding: 30px 0 0 0!important;
	}
	
	h6 {
		font-size: 19px!important;
		padding:7px!important;
	}
	#duma {
    padding: 30px;

	}
}
@media screen and (max-width: 1024px) {
	header, #fokep-programok, #fokep-lakodalom, #kepsav-programok, #kepsav-lakodalom, .mappa {
		background-attachment: scroll!important;
	
    }
}
@media screen and (max-width: 1000px) {	
	header, header:before {
		height: 500px;
	}
 	#fokep-programok {
		padding: 30px 50px;
	}
	#fokep-lakodalom {	
		padding: 200px 10px;
	}
	#center-programok {
	padding: 20px;
}
	#date {
		top: 430px;
	}
	
	.box {
		padding: 20px;
		width: 100%!important;
		margin: 0 auto;
		display: block;
	}

	h4 {
	font-size: 53px;
	line-height: 1;
	padding: 45px 0 0 0;
	}
	
	h6 {
		font-size: 21px;
	}

	 .center-box-border {
	 border: none!important;
	 margin-left: 0!important;
	 margin-right: 0!important;
	 margin-bottom: 20px!important;
	 width: 100%;
	 box-shadow: none;
	}
	#date2, #date3 {
		display: none;
	}
}

@media only screen and (max-width: 799px) {
	p {
		font-size: 17px;
		padding-bottom: 0!important;
	}
	h1{
		font-size: 18vw!important;
		letter-spacing: 3px!important;
	}
	h5 {
		font-size: 12vw!important;
		letter-spacing: 3px!important;
		padding-top: 15px!important;
	}
	h2 {
		font-size: 30px;
	}
	h3 {
		font-size: 30px;
	}
	.cim {
	 	padding-bottom: 30px;
	}
	header, header:before {
		height: 500px;
	}
	header:after {
		top: 400px;	
	}

	#orni {
		width:85vw;
		margin-bottom: -20px!important;
	}	
	.box {
		padding: 20px;
		width: 100%!important;
		margin: 0 auto;
		display: block;
	}
	.megkozelites {
		width: 100%;
		float: none;
	}

	.mappa .center-box {
		display: block!important;
	}
	.onethird, .twothird {
		width: 100%!important;
		float: none!important;
		padding: 20px 20px!important;
	}

	.hide {
		display: none!important;
	}
	.center-box-row {
		display: block;
	}
}
@media only screen and (max-width: 767px) {
	/*footer*/
	footer {
		padding: 8px;
	}
	.footer-center-box {
		padding: 8px;
	}
	footer p {
		padding: 8px!important;
		font-size: 12px;
	}
		
}
@media only screen and(max-width: 420px){
	 #form.centerbox {
		width: 100%!important;
	}
}