
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 400;
	src: url("font/OpenSans-Regular.ttf") format("truetype");
	font-display: swap;
}

html, body {
	height: 100%;
	display: flex;
	flex-direction: column;
	font: 18px "Open Sans", sans-serif;
	scroll-behavior: smooth;
	margin: 0;
}

body.valami {
	overflow-y: scroll;
	overflow-x: hidden;
}

.link {
	cursor: pointer;
	color: #0066cc;
	text-decoration: underline;
}

img.logo {
	margin: 7px 0 0 10px;
	width: 106px;
	height: 88px;
}

div.menu_jobb {
	padding: 7px 10px 0 10px;
}

@media (max-width: 690px) {
	div.menu_jobb {
		display: none;
	}
}

div.menu a {
	font-size: 14px;
	padding-bottom: 5px;	/* hogy a szövegtől  kissé lejjebb legyen a vonal */
	color: #000;
	text-decoration: none;
	background-image: linear-gradient(#000, #000);
	background-size: 0% 0.15em;
	background-position: 100% 100%;
	background-repeat: no-repeat;
	transition: background-size 0.2s ease-in-out;
}

div.menu a.active, div.menu a:hover, div.menu a:focus {
	background-size: 100% 0.15em;
	background-position-x: 0%;
}

/* ============= KEZDŐOLDAL ============= */

div.kezd1 {
	display: flex;
	align-items: center;
}

@media (max-width: 589px) {
	div.kezd1 {
		display: block;
		text-align: left;
	}
	
	div.kezd1 img {
		display: block;
	}
}

table.esem {
	display: table;
	backdrop-filter: blur(10px);
	margin: 0 auto;
	border-radius: 15px;
	padding: 15px 20px;
	box-shadow: 0 0 20px #666;
	border-spacing: 0 5px;
}

tr.bgr, tr#last {
	cursor: pointer;
}

table.esem tr.bgr:nth-child(even) {
	background-color: rgba(255, 255, 255, 0.3);
}

/* ============= RENDEZVÉNYEINK, ARCHÍVUM ============= */

div.rendezv-container {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
}

div.rendezv_fejlec {
	font-size: 16px;
	line-height: 2.5;
	text-align: center;
	border-radius: 10px 10px 0 0;
}

div.rendezv {
	width: 234px;
	box-shadow: 0 0 20px #555;
	border-radius: 10px 10px 0 0;
	margin: 80px 50px 0;
}

div.hirbox_fejlec, div.rendezv_fejlec {
	background: linear-gradient(to bottom, rgba(0, 161, 0, 1) 0%, rgba(0, 100, 0, 1) 70%);
	color: #ffff;
}

div.hirbox_fejlec {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	line-height: 3;
	padding: 0 20px;
	border-radius: 15px 15px 0 0;
}

input.enis {
	font-size: 14px;
	height: 30px;
	border: 0;
	border-radius: 5px;
	background: #fff;
	padding: 0 10px;
	cursor: pointer;
}

input.enis:hover, div.submit:hover, div.submit2:hover, input[type="file"]::file-selector-button:hover, label#text:hover {
	background: #ddd;
}


div.hirbox_content {
	display: grid;
	grid-template-columns: max-content auto;
	gap: 20px 30px;
	line-height: 1.8;
	border-radius: 0 0 15px 15px;
	padding: 30px 20px 15px;
}


div.hirbox_content div:nth-child(odd), div.kapcs2 div:nth-child(odd), div.imp1 div:nth-child(odd), div.adat1 div:nth-child(odd) {
	text-align: right;
}

div.hirbox_content div:nth-child(even), div.kapcs2 div:nth-child(even), div.adat1 div:nth-child(even) {
	/*text-align: justify;*/
	hyphens: auto;
}

@media (max-width: 540px) {
	div.hirbox_fejlec {
		line-height: 2;
	}
	
	div.hirbox_content {
		display: flex;
		flex-direction: column;
	}
	
	div.hirbox_content div:nth-child(odd) {
		font-weight: bold;
		text-decoration: underline;
		text-align: left;
	}
}

div.navbar {
	display: grid;
	grid-template-columns: 100fr 1fr;
	position: fixed;
	top: 0;
	left: 0;
	opacity: 1;
	z-index: 100;
}

div#visib1 {
	display: grid;
	grid-template-columns: max-content auto max-content;
}

main#visib2 {
	flex: 1;
}

div.cim {
	margin: 150px 0 80px;
	text-align: center;
	font: bold 22px "Open Sans";
}

div.cim2 {
	margin: 150px 0 0;
	text-align: center;
	font: bold 22px "Open Sans";
}

div.cim img, div.cim2 img {
	width: 30px;
	height: 30px;
	vertical-align: -7px;
	cursor: pointer;
	margin-left: 15px;
}

div.menu, div.menu form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

div.menu div {
	cursor: pointer;
}

div.menu div.norm, div.dropdown {
	margin: 5px 20px;
}

div.elv {
	border-right: 1px solid transparent;
	border-image: linear-gradient(to bottom, rgba(100, 100, 100, 0), rgba(100, 100, 100, 1), rgba(100, 100, 100, 0)) 1 100%;
}

/* ============= dropdown menu ============= */

div.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f1f1f1;
	box-shadow: 0 0 20px rgba(102,102,102,1);
	z-index: 90;
}

div.dropdown-content a {
	display: block;
	padding: 12px 23px;
}

div.dropdown-content a:hover {
	background: #ddd;
}

div.dropdown:hover div.dropdown-content {
	display: block;
}


/* ============= fejlécben levő csúszka ============= */

input#slider {
	width: 100px;
	appearance: none;
	height: 7px;
	background: #009000;
	margin: 0;
}

/* ============= menüben lefelé mutató nyíl ============= */

div.down {
	display: inline-block;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid black;
	margin-left: 4px;
}

div.select-wrap {
	position: relative;
}

select:focus {
	outline: 0 !important;
}

select {
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	border: 0;
	height: 20px;
	margin-bottom: 14px;
	padding: 0 20px 0 5px;
	border-radius: 4px;
	background: #fff;
	font: 14px "Open Sans";
}

form#yyy select {
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	border: 0;
	height: 26px;
	padding: 0 24px 0 5px;
	border-radius: 4px;
	background: #fff;
	font: 16px "Open Sans";
}

form#yyy > div.select-wrap:after {			/* ez a select lefelé mutató nyila a rendezvényeink oldalon */
	content: "";
	position: relative;
	top: 17px;
	right: 20px;
	border-top: 5px solid #000;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	pointer-events: none;
}

div.select-wrap:after {			/* ez a select lefelé mutató nyila a háttérhez */
	content: "";
	position: absolute;
	top: 13px;
	right: 6px;
	border-top: 5px solid #000;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	pointer-events: none;
}



div#opac {
	font-size: 12px;
	text-align: center;
}

div.hirbox, div.kapcs0 {
	max-width: 1000px;
	backdrop-filter: blur(10px);
	box-shadow: 0 0 20px #666;
	border-radius: 15px;
	margin: 80px auto 0;
}

/* ============= KAPCSOLAT ============= */

div.kapcs0 {
	display: flex;
	flex-wrap: wrap;
	line-height: 2;
	padding: 30px 0;
}

div.kapcs1 {
	flex: 1;
	min-width:  315px;
	padding: 0 20px;
}

div.kapcs2 {
	display: grid;
	grid-template-columns: max-content auto;
	gap: 17px 10px;
}

div.kapcs3 {
	text-align: center;
	text-decoration: underline;
	margin-bottom: 20px;
}

div.kapcs4 {
	border-right: 1px solid transparent;
	border-image: linear-gradient(to bottom, rgba(100, 100, 100, 0), rgba(100, 100, 100, 1), rgba(100, 100, 100, 0)) 20 100%;
}

div.kapcs5 {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	margin-top: 10px;
}

input#file {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

input#file + label {
	display: inline-block;
	background: #fff;
	font: 14px "Open Sans";
	padding: 5px 0;
	cursor: pointer;
	border-radius: 4px;
}



@media (max-width: 748px) {
	div.kapcs4 {
		border: 0;
		margin-bottom: 50px;
	}
}

div.kapcs1 iframe {
	width: 100%;
	height: 298px;
	margin: 20px 0 0;
	border: 0;
	border-radius: 4px;
}

form#kapcsolat input[type=text] {
	display: block;
	width: calc(100% - 10px);
	max-width: 300px;
	height: 30px;
	padding-left: 10px;
	margin: 22px 0;
}

form#kapcsolat input#nev::placeholder, input#email::placeholder, textarea::placeholder {
	color: red;
	opacity: 0.8;
}

form#kapcsolat textarea {
	width: calc(100% - 10px);	/* mert a padding-left is 10px */
	min-height: 180px;
	padding: 8px 0 0 10px;
	resize: vertical;
}

form#kapcsolat input[type=text], form#kapcsolat textarea {
	font: 16px "Open Sans";
	outline: 0;
	border: none;
	border-bottom: 1px solid #686868;
	background: transparent;
}

input[type=checkbox].custom_checkbox {
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	display: inline-block;
	position: relative;
	background-color: #fff;
	color: #666;
	top: 1px;
	height: 16px;
	width: 16px;
	cursor: pointer;
	border: 1px solid #909090;
	border-radius: 4px;
	outline: 0;
	margin: 0;
}

.custom_checkbox:checked::before {	/* pipa behelyezése az új checkboxba */
	position: absolute;
	left: 2px;
	top: -2px;
	content: "\2713";
	font-weight: bold;
}

div.submit {
	display: table;
	font: 14px "Open Sans";
	border-radius: 4px;
	background: #fff;
	padding: 7px 15px;
	margin: 20px auto 0;
	cursor: pointer;
}

div.submit2 {
	display: inline;
	font: 14px "Open Sans";
	border-radius: 4px;
	background: #fff;
	padding: 7px 15px;
	color: #000;
	cursor: pointer;
}

input[type="file"]::file-selector-button {
	background: #fff;
	font: 14px "Open Sans" ;
	cursor: pointer;
	border-radius: 4px;
	padding: 5px 8px;
	margin-right: 15px;
	border: 0;
}

div.vkr {
	display: grid;
	grid-template-columns: max-content auto;
	grid-gap: 10px 10px;
}

/* ============= IMPRESSZUM ============= */

div.imp1 {
	display: grid;
	grid-template-columns: max-content auto;
	line-height: 1.8;
	gap: 20px 30px;
}

@media (max-width: 644px) {
	div.imp1 {
		display: flex;
		flex-direction: column;
	}
	
	div.imp1 div:nth-child(odd) {
		text-decoration: underline;
		text-align: left;
	}
}

/* ============= ADATKEZELÉS ============= */

div.adat1 {
	display: grid;
	grid-template-columns: max-content auto;
	line-height: 1.8;
	padding: 40px 20px 20px;
	gap: 30px 10px;
}

/* ============= VIDEÓ ============= */

div.vid {
	display: table;
	margin: 0 auto 40px;
	line-height: 1.8;
}

div.vid a {
	font-weight: bold;
	text-decoration: underline;
	cursor: pointer;
}

div.vid div {
	text-align: center;
	font-weight: bold;
}

div.vid li {
	margin: 0;
	padding:  0;
}

div.vid ul {
	margin:  0;
	padding-left: 20px;
}

iframe#vid {
	width: 100%;
	max-width: 900px;
	aspect-ratio: 16/9;
	margin: 50px auto 0;
	border: 0;
	box-shadow: 0 0 30px #000;
}

/* ============= FOOTER ============= */

footer {
	backdrop-filter: blur(10px);
	margin-top: 100px;
	padding: 10px;
	font-size: 14px;
}

div.foot0 {
	max-width: 900px;
	margin: auto;
	display: grid;
	justify-content: space-between;
	grid-template-columns: 1fr max-content 1fr;
}

div.foot1 {
	display: block;
	text-align: center;
}

div.foot2 {
	display: flex;
	justify-content: center;
	align-items: center;
}

@media (max-width: 749px) {
	div.foot0 {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	
	div.foot3 {
		display: block;
		text-align: center;
		margin: 15px 0;
	}
}

img.back-to-top {
	position: fixed;
	top: 50%;
	right: 15px;
	background: #000;
	padding: 8px 6px;
	width: 15px;
	border-radius: 4px;
	display: none;
	opacity: 0.5;
	cursor: pointer;
	z-index: 9999;
}

img.facebook {
	width: 25px;
	height: 25px;
}

/* ============= MODAL ============= https://github.com/jorgechavz/pure-css-modal */

/*img.closeicon {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	cursor: pointer;
}*/

.mod_al .checkbox{
	display: none;
}

.mod_al-fejlec {
	display: flex;
	align-items: center;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;				/* itt is állítani kell */
}

/* Gray background */
.mod_al .mod_al-overlay {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -100;
	/*background-color: rgba(0,0,0,0.3);*/
}

/* Box */
.mod_al .mod_al-wrap {
	width: 100%;
	position: relative;
	/*background: #fff;*/	/* ez kell !!! */
	font: 16px Open Sans, sans-serif;
	align-self: center;
	border-radius: 6px;							/* itt is állítani kell */
}

/* Close button */
.mod_al .mod_al-overlay .close {
	font: bold 13px Open Sans, sans-serif;
	margin: 0 15px;
}

.mod_al .mod_al-overlay .close:hover {
	cursor: pointer;
}

 .mod_al .o-close {
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	z-index: -100;
 }

.mod_al input:checked ~ .o-close {
	z-index: 9998;
}

.mod_al input:checked ~ .mod_al-overlay {
	z-index: 9997;
	overflow: hidden;
	display: flex;
 }

.mod_al input:checked ~ .mod_al-overlay .mod_al-wrap {
	z-index: 9999;
}

.mod_al-title {
	font: 15px Open Sans, sans-serif;
	flex: 100;
	text-align: center;
	padding: 10px 0 10px 45px;
	cursor: move;
}
