:root {
	--narancs: orange;
	--zold: #92c500;
	--sotetkek: #00283a;
}
.sotetkek {color: var(--sotetkek);}
.feher {color: white;}
.hatterkek {background-color: var(--sotetkek);}
.zold {color: var(--zold);}
.kozepre {text-align: center;}
.kiemel-kek {color: white; background: var(--sotetkek);}
.kiemel-feher {color: var(--sotetkek); background: white;}

a.white-btn {border: 1px solid #fff; border-radius: 3px; color: #fff; display: block; font-size: 0.85em; margin-top: 1.25em; padding: 0.625em 1.25em; transition: all 0.20s linear 0s;}
a.white-btn:hover {background: none repeat scroll 0 0 rgba(255, 255, 255, 0.1);}
a.color-btn, form.customform button.color-btn {background: none; border: 1px solid #001925; border-radius: 3px; color: #001925; display: block; font-size: 0.85em; padding: 0.625em 1.25em; transition: all 0.20s linear 0s;}
a.color-btn:hover, form.customform button.color-btn:hover {border: 1px solid var(--zold); color: var(--zold);}

.social {font-size: large; 
	a {text-decoration: none;}
}

#topbar {background: none repeat scroll 0 0 #012232; border-bottom: 1px solid #001925; padding: 0.3125em 0;
	p {color: #fff; font-size: 1em; opacity: 0.9; position: relative; top: 2px;}
	p strong {font-weight: 600;}
	i {color: var(--narancs); font-size: 1.6em; transition: all 0.20s linear 0s;}
	i:hover {color: var(--zold); cursor: pointer; opacity: 1;}
	a {color: var(--narancs);}
	a:hover {color: var(--zold); cursor: pointer; opacity: 1;}
}
nav {background: none repeat scroll 0 0 #00283a; font-size: medium;}
header {border-bottom: 4px solid rgba(0, 40, 58, 0.53); position: fixed; width: 100%; z-index: 10;}
p.logo {color: #fff; font-size: 1.7em; font-weight: 300;}
p.logo strong {font-weight: 700;}
.top-nav li a {border-top: 2px solid #00283a; color: #fff; font-size: medium; font-weight: 600; padding: 1.5em 1em 1.5em; transition: all 0.20s linear 0s;}
.top-nav li a:hover, .top-nav li.active-item a {background: none repeat scroll 0 0 #00283a; border-top: 2px solid var(--zold); color: var(--zold); position: relative;}
@media screen and (max-width: 480px) {
	.top-nav li a {padding: 0.8em;}
}

#carousel .text {position: absolute; top: 40%; z-index: 10;}
.item {overflow: hidden; width: 100%;}
.item img {object-fit: cover;}
.prev-arrow, .next-arrow {background: none repeat scroll 0 0 #00283a; cursor: pointer; float: left; height: 30px; line-height: 30px; margin-right: 1px; text-align: center; width: 30px;}
#carousel .text h2 {background: none repeat scroll 0 0 rgba(146, 197, 0, 0.8); color: #fff; display: inline-block; font-size: 2em; font-weight: 300; margin: 1px 0; max-width: 600px; padding: 10px 20px; width: 100%;}
#carousel .text p {background: none repeat scroll 0 0 #00283a; color: #fff; max-width: 600px; padding: 10px 20px; width: 100%;}
#carousel .owl-theme .owl-controls {background: none repeat scroll 0 0 rgba(0, 40, 58, 0.53); bottom: 0; margin: 0; padding: 0.625em 0; position: absolute; width: 100%;}
.owl-theme .owl-controls .owl-page span {background: none repeat scroll 0 0 rgba(0, 0, 0, 0); border: 3px solid rgba(0, 40, 58, 0.57); height: 18px; margin: 0 0.3125em; opacity: 1; width: 18px;}
.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span {background: none repeat scroll 0 0 var(--zold);}

#features {background: none repeat scroll 0 0 #fff; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5); padding: 6em 2em; position: relative; text-align: center; z-index: 2;}
#features i {background: none repeat scroll 0 0 var(--zold); border-radius: 100px; box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.3) inset; color: #fff; display: inline-block; font-size: 2em; height: 100px;
	line-height: 100px; text-align: center; width: 100px;
}
#features h2 {font-size: 1em; font-weight: 600; margin: 1.25em 0; text-transform: uppercase;}
#features p {color: #777; font-size: 0.85em; line-height: 1.5em;}

/* Cégtörténet */
#cegtortenet {background: none repeat scroll 0 0 #00283a; clear: both;}
#cegtortenet:after {clear: both; content: "."; display: block; height: 0; line-height: 0; visibility: hidden;}
#cegtortenet article {padding: 3em;}
.cegtortenet-icons i {border: 2px solid var(--zold); border-radius: 100px; color: var(--zold); display: block; float: left; font-size: 1.6em; height: 60px; line-height: 60px; margin-right: 0.625em; text-align: center; width: 60px;}
.cegtortenet-icons {display: flex; justify-content: center; margin-top: 2em;}
h2.section-title:after {background: #00283a none repeat scroll 0 0; content: ""; display: block; height: 1px; margin: 0.31225em auto 0; position: relative; width: 100px;}
h2.section-title {font-size: 3em; font-weight: 700; letter-spacing: -1px; margin: 0 0 1em; text-align: center;}

article h2 {font-size: 3em; font-weight: 900; letter-spacing: -2px; line-height: 0.9; margin: 0 0 0.625em 0}
article h1, article h2, article h3, article h4, article h5, article h6 {color: #fff;}
.media-container {overflow: hidden;}
.media-container video, .media-container img {display: block; height: 100%; min-width: 100%; width: auto;}
article p, article li {color: #fff; font-size: 1em; text-align: center;}
article ul {padding: 1.25em 0;}
article ul li {list-style-type: none; margin: 0.625em 0; padding: 0 0 0 1em;}
article ul li:before {background: #00283a none repeat scroll 0 0; color: #fff; content: "\f006"; display: inline-block; font-family: "mfg"; font-size: 0.8em; height: 20px; line-height: 20px;
	margin-left: -1em; margin-right: 0.625em; text-align: center; width: 20px;}

/* Csoportok */
#termekek {padding: 6em 2em; position: relative;
	.container {display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;}
	.container::before {content: none;}
	.csoport {border: 1px solid #ccc; text-align: center; box-shadow: 0 0 10px rgba(0,0,0,.2)}
	.csoport img {width: 100%; height: 200px; display: block;}
	.csoport-nev {background: var(--sotetkek); color: white; padding: 10px; font-size: 16px; height: 60px;}
	
	@media screen and (max-width: 768px) {
		.container {grid-template-columns: repeat(3, 1fr);}
	}
	@media screen and (max-width: 480px) {
		.container {grid-template-columns: repeat(2, 1fr);}
		.csoport img {height: 100px;}
	}
}
#webshop {margin-top: 10px; background: none repeat scroll 0 0 #00283a; padding: 3em 2em; text-align: center;
	h1 {color: #fff; font-size: 2em; font-weight: 300;}
	
	.link-choose {border-color: var(--zold); transition: transform .2s; max-width: 98%; display: -webkit-box; display: flex; justify-content: center; align-items: center; font-size: 200%; text-decoration: none;
		line-height: 27px; border-radius: 20px; border-style: solid; border-left-width: 8px; border-right-width: 8px; border-top-width: 3px; border-bottom-width: 3px; height: 80px; margin: 0 auto 30px; padding: 5px;
		@media (min-width: 768px) {
			.link-choose {font-size: 250%;}
		}
	}	
}

#pdfkata {background: white; color: var(--sotetkek); box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5); padding: 6em 2em; text-align: center; margin-top: 20px;
	h1 { font-size: 2em; font-weight: 300;}
	ul li {list-style: none;}
}
 
#csapatunk {background: var(--zold); box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5); padding: 3em 1em 1em 1em;
	h2 {color: #fff; margin: 0 0 .5em;}
	i {background: none repeat scroll 0 0 #fff; border-radius: 80px; color: #6f9600; display: block; float: left; font-size: 1.8em; height: 80px; line-height: 80px; margin-right: 0.625em;	text-align: center; width: 80px;}
	.service-text {display: table; position: relative;}
	h3 {color: #fff; font-size: 1em; font-weight: 700;}
	p {color: #fff; margin: 0;}
	.email, .tel {color: var(--sotetkek);}
	ul li {list-style: none; position: relative; padding: 3px 0 2px 20px; color: white;}
	ul li::before {content: '*'; position: absolute; top: 6px; left: 0;}
}	
	
/* Accordion */
.row {display: flex; flex-wrap: wrap; gap: 20px; margin-top: 1rem; justify-content: center;}

/* Accordion container */
.accordion {width: 100%; margin: 0 auto; border: 1px solid #ddd; border-radius: 5px; overflow: hidden;}

/* Accordion item */
.accordion-item {}

/* Rejtett checkbox az interakcióhoz */
.accordion-toggle {display: none;}
/* Ha a checkbox checked állapotú, akkor jelenjen meg a tartalom */
.accordion-toggle:checked + .accordion-header + .accordion-content {padding: 15px; max-height: 1800px; /* A tartalom magassága, állítsd szükség szerint */}
/* A nyíl elfordítása a kinyitott állapotban */
.accordion-toggle:checked + .accordion-header::after {transform: rotate(45deg); content: '−'; /* Váltás pluszról mínuszra */}

/* Accordion header (címek) */
.accordion-header {display: block; padding: 15px; background-color: var(--sotetkek); color: white; font-size: 16px; font-weight: bold; cursor: pointer; position: relative; user-select: none; 
	transition: background-color 0.3s ease; text-align: center;}
.accordion-header:hover {background-color: white; color: var(--sotetkek);}
/* Plusz ikon vagy nyíl a címekhez */
.accordion-header::after {content: '+'; position: absolute; right: 20px; font-size: 18px; transition: transform 0.3s ease;}

/* Content alapstílus (rejtve alapértelmezett állapotban) */
.accordion-content {max-height: 0; overflow: hidden; padding: 0 15px; background-color: #fff; color: #333; font-size: 14px; line-height: 1.5; transition: max-height 0.3s ease, padding 0.3s ease;}

/* Profil kártya  */
.contact-profile {text-align: center; flex: 1 1 calc(25% - 20px); /* Egy sorban 4 elem (100% / 4) */ max-width: calc(25% - 20px);
	.avatar {border-radius: 25px; box-shadow: 0px 5px 16px rgba(0, 0, 0, .06), 0px 10px 9px rgba(0, 0, 0, .06); max-width: 170px; margin-bottom: 20px;}
	img {display: unset;}

	.name {font-size: 14px; font-weight: bold; margin-bottom: 5px; color: var(--sotetkek) !important;}
	.position {height: 40px; font-weight: normal; font-size: 14px; letter-spacing: 2px; background-color: var(--sotetkek);}
	.email, .telephone {display: block; font-size: 16px; color: var(--sotetkek); text-decoration: none; margin-top: 5px; transition: color 0.3s ease;}
	.email:hover, .telephone:hover {color: var(--narancs);}
}

/* Tablet (max 1024px) – 3 oszlop */
@media (max-width: 1024px) {
    .contact-profile {flex: 1 1 calc(33.33% - 20px); max-width: calc(33.33% - 20px);}
}

/* Telefon (max 768px) – 2 oszlop */
@media (max-width: 768px) {
    .contact-profile {flex: 1 1 calc(50% - 20px); max-width: calc(50% - 20px);}
}

/* Kis telefon (max 480px) – 1 oszlop */
@media (max-width: 480px) {
    .contact-profile {flex: 1 1 100%; max-width: 100%;}
}
/* /Csapatunk */

/* Blog */
#blog {background: #f3f3f3 none repeat scroll 0 0; box-shadow: 0px -10px 9px -11px rgba(0, 0, 0, 0.5); padding: 4em 1em; position: relative;}

.blogcontainer {display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px;}
@media screen and (max-width: 1024px) {.blogcontainer {grid-template-columns: 1fr 1fr;}}
@media screen and (max-width: 480px) {.blogcontainer {grid-template-columns: 1fr;}}
h2 {font-size: 24px; padding: 5px; text-align: center; margin: 0;}
.blog-card {position: relative;}
.blog-date {background: #6f9600 none repeat scroll 0 0; color: #fff; display: block; float: none; padding: 0.625em 0; text-align: center; width: 100%;}
.blog-kep {height: 250px; background-position: center center; background-size: cover; background-repeat: no-repeat;}
.blog-szoveg {height: 240px; text-align: center; padding: 10px; font-size: medium; background: white; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5); margin: 0; overflow: hidden;}

.modal {display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); overflow-y: scroll;}
.modal-content {background-color: white; margin: 1% auto; padding: 20px; width: 80%; position: relative;}
.modal .blog-kep {height: 50vh; background-size: contain;}
.modal .blog-szoveg {height: auto;}
.close {position: fixed; top: 15px; right: 20px; font-size: 26px; cursor: pointer; color: var(--narancs); opacity: 1; z-index: 1001;}
.close:hover {color: var(--zold); opacity: 1;}
@media (max-width: 480px) {
	.modal-content {padding: 2px; width: 100%;}
    .close {right: 10px; font-size: 36px;}
}

.day {font-size: 2.5em; font-weight: 700;}
.month, .year {font-size: 0.85em;}
.blog-text {background: #fff none repeat scroll 0 0; border-bottom: 1px solid #e0e0e0; border-right: 1px solid #e0e0e0; border-top: 1px solid #e0e0e0; min-height: 150px; padding: 0.625em 1.25em;}
.blog-text p {color: #777; font-size: 0.85em;}
.read-more {height: 40px; font-size: large; width: 100%; border-radius: 0 0 30px 30px;}
.read-more:hover {color: var(--narancs);}

/* Lapozó */
#pagination {text-align: center; margin-top: 20px;}
#pagination a, #pagination span {display: inline-block; padding: 8px 12px; margin: 0 4px; text-decoration: none; border-radius: 5px; background: #007bff; color: white; font-weight: bold; transition: 0.3s;}
#pagination a:hover {background: #0056b3;}
#pagination .disabled {background: #ccc; color: #666; cursor: not-allowed;}

#contact {box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5); padding: 6em 2em; position: relative; z-index: 2; font-size: medium;
	input, #contact textarea {background: none repeat scroll 0 0 rgba(0, 0, 0, 0); border-radius: 3px;}
	form.customform button.color-btn {height: auto; margin-top: 0;}
	h2 {margin: 0 0 1em;}
	h3 {color: var(--zold); font-size: 1em; font-weight: 700; margin: 0 0 0.625em; text-decoration: underline;}
	p {font-size: 0.85em; font-style: normal; line-height: 1.8em;}
	p strong {font-weight: 700;}
	i {background: var(--sotetkek); color: var(--narancs); border-radius: 100%; display: inline-block; margin-bottom: 0.5em; text-align: center; width: 26px;}
}

#map-block {
	/*
	filter: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="g"><feColorMatrix type="matrix" values="0.3 0.3 0.3 0 0 0.3 0.3 0.3 0 0 0.3 0.3 0.3 0 0 0 0 0 1 0"/></filter></svg>#g');
	-webkit-filter: grayscale(100%); filter: grayscale(100%); filter: progid:DXImageTransform.Microsoft.BasicImage(grayScale=1);
	*/
}

footer {background: var(--sotetkek); padding: 1em 0; margin-top: -10px;
	h4 {text-decoration-line: underline;}
	.container {display: flex; gap: 10px; flex-wrap: wrap; width: 90%;}
	.column {flex: 1; min-width: calc(33.33% - 10px); /* 3 oszlop */ padding: 20px; box-sizing: border-box; border: 1px dotted var(--narancs);}

	/* Két oszlop 768px alatt */
	@media (max-width: 768px) {
		.container {width: 100%; gap: 0px;}
		.column {min-width: calc(50% - 10px);}
	}

	/* Egy oszlop 480px alatt */
	@media (max-width: 480px) {.column {min-width: 100%;}}
}

footer p, footer a:visited, footer a, footer a:hover {color: var(--zold); font-size: 1em;}
footer ul {list-style-type: none;}
#latogatok {display: flex; flex-direction: column; color: var(--narancs); justify-content: center; align-items: center; font-size: large;
	img {height: 200px;}
}

/* Jobb oldali szalagmenü */
.jobb-menu {position: fixed; top: 50%; right: 0; transform: translateX(-30%); z-index: 1005;}
.jobb-menu a {display: flex; justify-content: center; align-items: center; width: 50px; height: 50px; padding: 0; margin: 0; line-height: 0px; background-color: #ffffff; border: 1px solid #cbcbcb;
	box-shadow: 2px 2px 12px rgba(0, 0, 0, .2); text-decoration: none;}
.jobb-menu-icons i, .jobb-menu i {color: var(--orange); transition: all .5s ease;}		
.jobb-menu a:nth-child(1) {border-radius: 5px 5px 0 0;}		
.jobb-menu a:nth-last-child(1) {border-radius: 0 0 5px 5px;} /* Utolsó elem */		

@media screen and (max-width: 768px) {
	header {position: relative;}
	.top-nav li a {background: #05374e none repeat scroll 0 0; text-align: center; font-size: 1em;}
	#carousel .text {font-size: 0.8em; top: 20%;}
	.owl-controls.clickable {display: none!important;}
	.right {float: none;}
	.social.right {float: right;}
	#cegtortenet article {padding: 3em 2.5em;}
}
@media screen and (max-width: 480px) {
	#topbar {line-height: 1.625em; text-align: center;}
	#topbar p {font-size: 0.9em;}
	h2.section-title {font-size: 2em;}
	article h2 {font-size: 2em;}
	.social.right {float: none;}
	p.logo, p.nav-text {text-align: center;}
}
