/*
*	Bartók Brigitta - NaraShina
*	 | NaraShina.OpiPC.hu
*	 | webfejlesztes@opipc.hu
*
*	Opolczer Dániel - OpiPC
*	 | OpiPC.hu
*	 | webfejlesztes@opipc.hu
*
* Tesztelős rózsaszín: rgba(250,12,79,1);
* Sárga: rgba(253,244,41,1);
* Világoskék: rgba(43,69,217,1);
* Sötétkék: rgba(18,31,101,1);
* Háttérkék: rgba(0,10,59,1);
* Betűszín: rgba(179,179,179,1);
*
*/



* {	margin: 0;	padding: 0;	border: 0; outline: 0; }
.clear { clear: both; }
.clear:before,
.clear:after {
	content: " ";
	display: table;
}
.clear:after { clear: both; }

::selection {
	color: rgba(19,19,19,1);
	background: rgba(253,244,41,1);
}
::-moz-selection {
	color: rgba(19,19,19,1);
	background: rgba(253,244,41,1);
}

html {
	scroll-behavior: smooth;
}

body {
	/* background: url('../img/background.webp') no-repeat center center fixed; */
		/* background-size: cover; */
		/* backdrop-filter: blur(10px); */
		/* -webkit-backdrop-filter: blur(10px); /* Safari */
	background: rgba(19,19,19,1);
	color: rgba(179,179,179,1);
	font-family: Arial;
	font-size: 18px;
	line-height: 1.5;
}

::-webkit-scrollbar {
	width: 12px;
}

::-webkit-scrollbar-track {
	background: rgba(1,1,1,1);
	border: 13px solid transparent;
	border-image: url('../img/keret_grey_vertical.png') 10 round;
}

/* TODO */

::-webkit-scrollbar-thumb {
	/* background-color: rgba(252,210,29,1); */
	/* border: 3px solid rgba(35,35,35,1); */
	border: 13px solid transparent;
	/* border-image: url('../img/keret_transparent.png') 20 round; */
	/* border-image: url('../img/train-top-red-2.png') 100; */
	border-image: url('../img/train-top-2.png') 100;
}


#cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(25,25,25,1);
	color: rgba(253,244,41,1);
	padding: 20px;
	text-align: center;
	z-index: 15;
	font-size: 20px;
	display: none;
	border-top: 13px solid transparent;
	border-image: url('../img/keret_colored.png') 20 round;
}

#cookie-banner button {
	margin-left: 20px;
	background: rgba(252,210,29,1);
	color: rgba(35,35,35,1);
	border: none;
	padding: 10px 20px;
	cursor: pointer;
	font-weight: bold;
	border-radius: 5px;
}

#cookie-banner button:hover {
	background: rgba(18,31,101,1);
	color: rgba(253,244,41,1);
}



/* SECTION */

a {
	text-decoration: none;
	color: rgba(253,244,41,1);
}
a:hover {
	color: rgba(253,244,41,1);
	transition: background .5s ease-in-out, color .5s ease-in-out;
}

h1 {
	color: black;
	font-size: 30px;
	text-transform: uppercase;
	margin: 40px auto 20px auto;
	letter-spacing: 1px;
	font-weight: bold;
	padding-left: 5px;
	background: -webkit-linear-gradient(left, rgba(200,200,200,1) 0%, rgba(39,39,39,1)  100%);
}

p {
	text-align: justify;
}

.home-p ol, ul {
	list-style-image: url('../img/list-train-white-30px.png');
	background-color: transparent;
	margin: 5px 60px;
	padding: 5px;
	text-align: justify;
}

span {
	font-weight: bold;
}




/* MENÜ */

nav {
	z-index: 10;
	position: sticky;
    top: 0;
	text-transform: uppercase;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	padding: 5px 0px;
	background: rgba(39,39,39,1);
    align-items: center;
	border-bottom: 13px solid transparent;
	border-image: url('../img/keret_grey.png') 20 round;
}

nav ul {
	display: flex;
	gap: 70px;
}

.nav-ul {
	margin: 0px;
	padding: 0px;
	height: 50px;
	align-items: center;
}

.nav-ul li {
    list-style-type: none;
	list-style-image: none;
}

nav ul li a {
    text-decoration: none;
}

nav .logo img {
	height: 50px;
	position: fixed;
	top: 0.5%;
	left: 1%;
}

copyright {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 150;
	width: 270px;
	margin-top: 2px;
	font-size: 10px;
	padding-left: 10px;
	border-left: 8px solid transparent;
	border-image: url('../img/keret_grey_vertical.png') 20 round;
}

copyright a {
	font-size: 15px;
}




/* HOME */

#home,
#gallery {
	padding-top: 50px;
	padding-bottom: 5px;
}

.home-div {
	width: 80%;
	padding: 1%;
	margin: 50px auto;
	/* border-left: 2px solid white; */
	/* border-right: 2px solid white; */
	border: 13px solid transparent;
	border-image: url('../img/keret_inverted.png') 20 round;
	background: rgba(1,1,1,0.3);
}

.home-p p {
	width: 95%;
	margin: 0px auto 0px auto;
	padding: 10px;
	
}

.img_src {
	display: flex;
	justify-content: space-around;
}

.img_src img {
	max-width: 30%;
	margin: 50px auto;
}

.gallery {
	width: 90%;
	margin: 50px auto;
	padding: 1%;
	backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px); /* Safari */
}

.gallery-in {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.gallery-dir {
	width: 22%;
	margin: 5px auto;
	padding: 1%;
	float: left;
	background: rgba(39,39,39,1);
	border-radius: 10px;
	cursor: pointer;
	/* max-height: 150px; */
	overflow: hidden;
}

.gallery-dir-title a {
	font-size: 20px;
	float: left;
	width: 50%;
}

.gallery-dir-img img {
	width: 50%;
	height: auto;
	margin: 5px auto;
	float: right;
}

.gallery-imgs {
	width: 30%;
	margin: 5px auto;
	padding: 1%;
	float: left;
	background: rgba(39,39,39,1);
	border-radius: 10px;
	/* max-height: 150px; */
	overflow: hidden;
}

.gallery-imgs-title {
	font-size: 15px;
	width: 70%;
	float: left;
}

.gallery-img-small {
	max-height: 300px;
	margin: 5px auto;
	float: right;
}

.gallery-img-small-navigation {
	width: 50px;
	cursor: pointer;
}

.pswp__caption {
	font-size: 15px;
	text-align: center;
	color: white;
	background: rgba(29,29,29,0.8);
	padding: 18px;
	backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px); /* Safari */
}



/* BLOG */


.blog-main-title {
	font-size: 30px;
	text-align: center;
	margin: 20px auto;
	padding: 5px;
	text-transform: uppercase;
	letter-spacing: 10px;
}

/* FŐ BLOG KONTÉNERE */
#posts-container,
#blog_loading {
	width: 90%;
	margin: 50px auto;
	padding: 1%;
	backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px); /* Safari */
}


#posts-container {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.blog-post {
	width: 30%;
	margin: 5px auto;
	padding: 1%;
	overflow: none;
	float: left;
	background: rgba(39,39,39,1);
	border-radius: 10px;
	cursor: pointer;
}

/* hr { */
	/* border: 5px solid transparent; */
	/* border-image: url('../img/keret_grey_vertical.png') 10 round; */
/* } */

.blog-post img {
	max-width: 100%;
	height: auto;
	margin: 5px auto;
	border-radius: 10px;
}

#blog_loading {
	margin-top: 100px;
}


/* BETÖLTÉS / UTOLSÓ BEJEGYZÉS */
.blog-last-post {
	color: red;
	text-align: center;
}

/* ÖSSZES FELSOROLT BEJEGYZÉS CÍME */
.blog-title {
	font-size: 25px;
	text-align: center;
	margin-top: 50px;
	padding-top: 30px;
	border-top: 1px solid rgba(253,244,41,1);
	margin-bottom: 50px;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(253,244,41,1);
}

/* ÖSSZES FELSOROLT BEJEGYZÉS DÁTUMA a címben */
.blog-title-date {
	font-size: 15px;
}

/* ÖSSZES FELSOROLT BEJEGYZÉS TARTALMÁNAK ELŐNÉZETE */
.blog-data {
	/* első két bekezdés pl... */
	position: relative;
}

/* TARTALOM MEGJELENÍTÉSE: MEGNYITÁS GOMB */
.blog-data-show {
}

/* ÖSSZES FELSOROLT BEJEGYZÉS TARTALMÁNAK ELŐNÉZETE: ... */
/* .fadeout-text { */
	/* display: inline-block; */
	/* max-width: 100%; */
	/* white-space: nowrap; */
	/* overflow: hidden; */
	/* text-overflow: ellipsis; */
	/* position: relative; */
	/* -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%); */
	/* mask-image: linear-gradient(to right, black 80%, transparent 100%); */
/* } */


/* BLOG BEJEGYZÉS TARTALMÁNAK TELJES MEGJELENÍTÉSE */

.blog-unique {
	width: 90%;
	margin: 50px auto;
	padding: 1%;
	background: rgba(39,39,39,1);
	border-radius: 10px;
}

.blog-unique-title {
	width: 90%;
	font-size: 25px;
	text-align: center;
	margin: 50px auto;
	padding-top: 30px;
	border-top: 1px solid rgba(253,244,41,1);
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(253,244,41,1);
}

.blog-unique-title-date {
	font-size: 12px;
}

.blog-unique-data {
	width: 90%;
	margin: 5px auto;
}

.blog-unique-data h1,
.blog-unique-data h2,
.blog-unique-data h3 {
	color: rgba(235,235,235,1);
	width: 90%;
	margin: 5px auto;
	padding-left: 5px;
	text-align: justify;
	font-weight: normal;
	background: -webkit-linear-gradient(left, rgba(59,59,59,1) 0%, rgba(39,39,39,1) 100%);
	letter-spacing: 1px;
	border-radius: 5px;
}

.blog-unique-data p {
	width: 90%;
	margin: 5px auto;
	padding: 5px;
	text-align: justify;
}

.blog-unique-data img {
	max-width: 70%;
	height: auto;
	max-height: 45%;
	width: auto;
	padding: 5px;
	margin: 5px auto;
	justify-content: space-around;
	display: grid;
	border-radius: 15px;
}

.blog-unique-data ul {
	margin-left: 50px;
}

.blog-unique-data ul li {
	margin-left: 80px;
}


/* BEJEGYZÉSEK KÖZTI NAVIGÁCIÓ */

.blog-switch {
	display: flex;
}

.blog-switch-close {
	width: 50px;
	cursor: pointer;
}

.blog-switch-back {
	position: fixed;
	left: 130px;
	top: 55%;
	transform: translate(-50%, -50%);
}

.blog-switch-next {
	position: fixed;
	right: 80px;
	top: 55%;
	transform: translate(-50%, -50%);
}

.blog-switch-unique-button {
	background: none;
	float: left;
}

.blog-switch-unique-button img {
	width: 50px;
	cursor: pointer;
}

.blog-missing {
	width: 250px;
}

.missing {
	background: transparent;
}

.missing img {
	display: grid;
	width: 150px;
	cursor: pointer;
}

#blog_back_img {
    padding: 5px;
    z-index: 10;
}

#blog_back_img p {
	position: fixed;
	left: 80px;
	top: 180%;
	z-index: 100;
	transform: translate(-50%, -50%);
	width: 200px;
	color: rgba(255,255,255,0.8);
	text-align: center;
	background: rgba(29,29,29,0.5);
	padding: 5px;
	backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px); /* Safari */
}

#blog_back_img img {
	position: fixed;
	left: 80px;
	top: 300%;
	transform: translate(-50%, -50%);
    max-width: 200px;
    max-height: auto;
	text-align: center;
	background: rgba(29,29,29,0.9);
	padding: 5px;
}

#blog_next_img {
    padding: 5px;
    z-index: 10;
}

#blog_next_img p {
	position: fixed;
	right: -130px;
	top: 180%;
	z-index: 100;
	transform: translate(-50%, -50%);
	width: 200px;
	color: rgba(255,255,255,0.8);
	text-align: center;
	background: rgba(29,29,29,0.5);
	padding: 5px;
	backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px); /* Safari */
}

#blog_next_img img {
	position: fixed;
	right: -130px;
	top: 300%;
	transform: translate(-50%, -50%);
    max-width: 200px;
    max-height: auto;
	text-align: center;
	background: rgba(29,29,29,0.9);
	padding: 5px;
}

#lightboxOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.85);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	cursor: grab;
	overflow: hidden;
}

#lightboxOverlay img {
	max-width: 90%;
	max-height: 90%;
	transition: transform 0.2s ease;
	cursor: grab;
	user-select: none;
	pointer-events: none;
}










/* HIBAÜZENET */
.error-msg {
	margin: 20px auto 40px auto;
	text-align: center;
	width: 70%;
	font-size: 20px;
	padding: 20px;
	border-right: 2px solid red;
	border-left: 2px solid red;
}

.error-msg p {
	text-align: center;
	padding: 20px 0px;
}





/* FB megosztás */








/* FOOTER */

footer {
	width: 100%;
	margin: 100px auto 50px auto;
	border-top: 13px solid transparent;
	border-image: url('../img/keret_colored.png') 20 round;
}

footer p {
	text-transform: uppercase;
	font-size: 30px;
	margin-top: 50px;
	margin-bottom: 20px;
	text-align: center;
}





/* ADMIN */

.admin-blog-hidden-display {
	color: red;	
}


/* TABLET NÉZET */


@media (min-width: 1001px) and (max-width: 1600px) {
	* {
		font-size: 15px;
	}
	
	nav {
		width: 100%;
		padding: 9px 0px;
	}
	
	.blog-post {
		width: 85%;
		padding: 30px;
		margin-bottom: 50px;
	}
	.blog-post img {
		width: 85%;
		padding: 20px;
		height: auto;
		display: grid;
	}
	.blog-title {
		font-size: 35px;
		font-weight: bold;
	}
	.blog-post p {
		font-size: 22px;
	}
}




/* TELEFONOS NÉZET */

@media (max-width: 1000px) {
	* {
		font-size: 30px;
	}
	
	nav {
		width: 100%;
		padding: 12px 0px;
		height: 60px;
	}
	nav ul {
		position: fixed;
		top: 1.5%;
		left: 15%;
	}
	
	nav .logo img {
		top: 1%;
		left: 3%;
	}
	
	h1 {
		font-size: 35px;
	}
	
	.home-p p {
		font-size: 30px;
	}
	
	
	.blog-main-title {
		font-size: 55px;
	}
	
	.blog-post {
		width: 90%;
		padding: 30px;
		margin-bottom: 50px;
	}
	.blog-post img {
		width: 85%;
		padding: 20px;
		height: auto;
		display: grid;
	}
	.blog-title {
		font-size: 50px;
		font-weight: bold;
	}
	.blog-post p {
		font-size: 30px;
	}
	
	.blog-unique-title {
		font-size: 50px;
		font-weight: bold;
	}
	
	.blog-unique-title-date {
		font-size: 20px;
		font-weight: normal;
	}
	
	.gallery-dir {
		width: 100%;
	}
	
	.gallery-dir-title a {
		font-size: 27px;
		width: 70%;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 200px;
	}
	
	.gallery-dir-img img {
		width: 30%;
	}

	.gallery-imgs { /*todo*/
		width: 45%;

	}

	.gallery-imgs-title { /*todo*/
		font-size: 25px;
		width: 70%;
		float: left;
	}

	.gallery-img-small { /*todo*/
		width: 100%;
		float: right;
	}
}