@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Average&family=Crimson+Text&display=swap');

:root {
--szin_oldalhatter: #efece7;
--szin_sotetkek: #024;
--szin_kek: #145a8d;
--szin_szurke: #878787;
--szin_ezust: #a9a9a9;
--szin_sotetpiros: #da251c;
--szin_piros: red;
--szin_arnyek: #d5dbdb;

--kiemel_piros: #ed008c;
--kiemel_zold: #b4c81b;
}

.kozepre {text-align: center; margin: 0 auto;}

/* cookie_sor */
#cookie-bar {background: rgba(0,0,0,0.6); height:auto; color:#fff; text-align:center; padding:3px 0;}
#cookie-bar.fixed {position:fixed; top:0; left:0; width:100%;}
#cookie-bar.fixed.bottom {bottom:0; top:auto;}
#cookie-bar p {margin:5px auto; padding:0; width: 90%;}

body{font-family: 'Oswald', sans-serif; color: #878787; background: var(szin_oldalhatter); -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto;}

/*mobil*/
@media (max-width: 767px) {
	body{ background: radial-gradient(#000 16%, transparent 17%),radial-gradient(#444 16%, transparent 17%) 0px 1px,radial-gradient(#000 16%, transparent 17%) 8px 8px,radial-gradient(#444 16%, transparent 17%) 8px 9px;
		background-color: #422727; background-size: 16px 16px;}
}

a:hover, a:active, a:focus{text-decoration: none; outline: none;}

.info {display: flex; text-align: center; align-items: center; justify-content: space-between; background: var(--szin_sotetkek); width: 100%; height: 35px; margin: 0 auto; z-index: 100;}
.felsomenu {display: flex; align-items: center; margin-right: 5px;	margin: 0 auto;}
.felsomenu a {color: yellow; font-size: 2rem; font-weight: 500; padding: 0 7px;}

.sticky {position: fixed; top: 0; width: 100%;}

/* Social media icon */
.social {width: 30px; padding: 2px;}
.social:hover{ width: 40px; margin-top: 10px;}

#logo{margin-top: 5px; height: 120px;}
header{margin-bottom: 5px;}
.header-top{position: relative; z-index: 99;}

#main-content{margin-top:5px; z-index: 99; position: relative;}
@media (width >= 767px) {
	#main-content {background: rgba(0, 0, 0, 0.3);}
}

h1{font-family: 'Average', sans-serif; font-weight: 300; color: white; text-align: center; font-size: 16pt; background: rgba(0,0,0,0.6); padding: 5px 0; border-radius: 5px; margin: 0;}

/* Mozgó háttér */
#animated-bg {}
@media (width >= 768px) {
	#animated-bg {background-size: cover; background-position: top left; animation: mymove 40s infinite;}
}	
@keyframes mymove {
	0% {background-position: top left;}
	50% {background-position: right bottom;}
	99% {background-position: top left;}
}

#news-widget{ margin-top: 5px;}
#news-widget p{color: #878787; margin: 0px;}
#news-widget .top{font-size: 15pt; font-weight: 700; color: var(--kiemel_piros);}
#news-widget .middle{font-size: 14pt; font-weight: 300; letter-spacing: 1px;}
#news-widget .bottom{font-size: 20pt; font-weight: 700;}

#lang-container{text-align: center; position: absolute; top: 20px; right: 10px;}

h2{ font-weight: 400; margin: 0; padding: 10px 0; text-align: center; color: white; position: relative; overflow: hidden; font-size: 1em;}
h2 .bg{position: absolute; height: 100%; width:0%; left:0px; top: 0px; -moz-transition: all .3s; -webkit-transition: all .3s; transition: all .3s; }
h2 .title{position: relative;}
h2 img{position: relative;}

/* Gyorshír */
.gyorshir {width: 100%; border-top: 5px solid red; border-bottom: 5px solid red; padding: 5px 3px; background: var(--szin_oldalhatter); color: red; font-size: 16px; margin-top: 5px;}

.bezargomb {position: static; float: right; display: flex; align-items: center; justify-content: center; border-radius: 100%; border: 2px solid red; padding: 15px; width: 40px; height: 40px;
	 background: var(--szin_kek); cursor:pointer;}
.bezargomb::before {color: white; content: "X";}

.label {float:left; padding:6px 15px; background:#D6002A; color:#FFF; font-weight: bold; text-transform: uppercase;}

/* Riasztás mágia */
.ripple {position: relative; overflow: hidden; border-radius: 10px;}
.ripple:after {content: ''; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; background: rgba(255, 255, 255, .5); opacity: 0; border-radius: 100%; transform: scale(1, 1) translate(-50%);transform-origin: 50% 50%;}

@keyframes ripple {
	0% {transform: scale(0, 0); opacity: 1;}
	20% {transform: scale(25, 25); opacity: 1;}
	100% {opacity: 0; transform: scale(40, 40);}
}

.ripple::after {animation: ripple 1.5s ease-out  infinite;}

/* Nagybox */
.nagybox-container { display: flex; height: 100%; justify-content: center; flex-flow: row wrap; margin: auto; }
.nagybox { width: 22%; height: 220px; border: 1px solid black; margin: 10px auto 10px auto; border-radius: 5px; box-shadow: 5px 5px 0 var(--szin_arnyek); overflow: hidden; text-align: center; }
.nagybox:hover{ transform: scale(1.1);}

.nagybox:nth-of-type(odd) { background: var(--szin_kek); } /* kék kezd */
.nagybox:hover:nth-of-type(odd) {background: var(--szin_sotetkek);
	background-position: left; background: linear-gradient(to left, var(--szin_sotetkek) 50%, var(--szin_kek) 50%) right; background-size: 200%; transition: .3s ease-out; }

.nagybox:nth-of-type(even) { background: var(--szin_piros); }
.nagybox:hover:nth-of-type(even) { background: var(--szin_sotetpiros);
	background-position: left; background: linear-gradient(to left, var(--szin_sotetpiros) 50%, var(--szin_piros) 50%) right; background-size: 200%; transition: .3s ease-out; }

.nagyfelbox{height: 140px; background: white;}
/*mobil*/
@media (max-width: 767px) {.nagyfelbox {display: none; }}

.nagykep {width: 50%; object-fit: cover; object-position: center center; padding: 10px;}
.nagybox h2{letter-spacing: 4px;}

/* Kisbox */
.kisbox-container {display: flex; height: 100%; justify-content: center; flex-flow: row wrap; margin: auto;}
.kisbox {width: 19%; height: 160px; border: 1px solid black; margin: 10px auto; border-radius: 0.25rem; box-shadow: 5px 5px var(--szin_arnyek); text-align: center;}
.kisbox:hover{transform: scale(1.1);}

.kisbox:nth-of-type(odd) {background: var(--szin_kek);} /* kék kezd */
.kisbox:hover:nth-of-type(odd) {background: var(--szin_sotetkek);
	background-position: left; background: linear-gradient(to left, var(--szin_sotetkek) 50%, var(--szin_kek) 50%) right; background-size: 200%; transition: .3s ease-out;}

.kisbox:nth-of-type(even) {background: var(--szin_piros);}
.kisbox:hover:nth-of-type(even) {background: var(--szin_sotetpiros);
	background-position: left; background: linear-gradient(to left, var(--szin_sotetpiros) 50%, var(--szin_piros) 50%) right; background-size: 200%; transition: .3s ease-out;}

/* .kisbox {width: 50%; height: 100px; object-fit: cover; object-position: center center; margin: 10px; border-radius: 5%; background: var(--szin_oldalhatter);} */
.kisfelbox{height: 80px; margin-bottom: 15px; background: white;}
/*mobil*/
@media (max-width: 767px) {.kisfelbox {display: none;}}

.kiskep {width: 30%; object-fit: cover; object-position: center center; border-radius: 5%; margin-top: 10px;}

.kisbox h2{text-align: center; margin-top: -12px;}
.kisbox h2 img{position: absolute; right: 5px; top:50%; margin-top:-10px; display: none;}

/* Footer */
footer{padding: 10px 0; text-align: center; color: #878787; font-weight: 300; background-color: var(--szin_kek);}
#copy-logo .kepmutat{display: inline-block; width: 100px;}

#impresszum-btn, #adatvedelem-btn{color: white; cursor: pointer;}
#impresszum {font-weight: 300; font-size: 12pt; color: black;}
#impresszum h3{font-weight: 300; text-align: center; font-size: 18pt;}
#impresszum .close{font-size: 50pt; margin-top: -20px; color: black;}
footer p{margin: 0px; color: var(--szin_oldalhatter);}

/*monitor*/
@media (max-width: 1920px) {
	#main-content{margin-top: 10px;}
}

/*laptop*/
@media (max-width: 1299px) {
	h1{margin-bottom: 20px; margin-top: -10px;}
	h2{font-size: 12pt;}
}

/*tablet*/
@media (max-width: 992px) {
	h1{font-size: 25pt; margin-top: 0px;}
	.nagybox{width:31%; margin-bottom: 25px;}
	.kisbox{width: 30%; padding: 0 1% 0 1%;}
}

/*mobil*/
@media (max-width: 767px) {
	#main-content{margin-top: -24px; text-align: center;}
	#logo{width: 90px; height: auto;}
	.goog-te-combo {width: 135px;}
	#news-widget p{text-align: center;}
	h1{font-size: 14pt; margin-top: 25px; padding: 15px;}
	.nagybox-container img {display: none; }
	.nagybox{width: 90%; height: 70px; margin: 10px auto !important;}
	.nagybox-container .arrow {display: none;}
	.kisbox-container .kiskep {display: none;}
	.kisbox{width: 92%; height: auto; padding: 0 1% 0 1%;}
	.kisbox h2 {margin: 0;}
	footer p{font-size: 10px;}
}

/* egészségügy */
#tartalom {width: 98%; top: 0; display: none; margin: 0 auto;}

#tartalom h3 {color: white; background: var(--szin_sotetkek); text-align: center; height: 30px; border-radius: 5px 5px 0 0; font-size: 1.3em; margin: 0 auto;}
.box {justify-content: center; border-bottom: 1px solid black; line-height: 180%; padding-bottom: 10px;}
.box:first-line {font-weight: bold; color: black; font-size: 1em;}

section{ padding: 5px;}
.more{display: none;}
.post{font-size: 1em; margin: 20px auto; box-shadow: 0 5px 15px 0 #777; padding-bottom: 10px;}
.post:not(:last-child){ margin-bottom: 10px;}

button{display: block; background-color: var(--szin_piros); color: white; border:none; outline: none; padding: 8px 10px; text-transform: capitalize; cursor: pointer; font-size: 1em; border-radius: 5px; margin-bottom: 10px;}
.read {margin: 5px auto;}

.grid {display:grid; grid-template-columns: 1fr 1.7fr; grid-template-rows: auto auto; grid-gap: 1rem; height: auto; padding-left: 10px;}
@media (max-width: 600px) {
	.grid {grid-template-columns: repeat(1, 1fr);}
	.post{font-size: 0.9em; margin: 10px auto;}
}

/* Cards */
.posts-box { max-width: 1024px; margin: 0 auto; padding: 40px 10px; text-align: center; list-style: none;}
.posts-box li { display: inline-block; width: 320px; max-width: 100%; padding: 10px; vertical-align: top;}

.card {text-align: left; border-radius: 5px 5px; background: white; box-shadow: 0 2px 4px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.22); cursor: pointer;}
.card img {display: block; width: 100%; height: 210px; object-fit: cover; object-position: center center; border-radius: 5px 5px 0 0;}
.card div {padding: 16px 20px; }
.card_focim {margin: 8px 0; font-size: .9em; color: black; background: none;}
.card div p {margin: 8px 0; font-size: .9em; white-space: pre-wrap; text-align: justify;}

.card_footer {background: var(--szin_sotetkek);}

.button {color: white; text-decoration: none;}
.button:hover {opacity: .7;}

.szep_hr {clear: both; border: 0; height: 1px; background-image: linear-gradient(to right,rgba(0,0,0,0),rgba(0,0,0,.75),rgba(0,0,0,0)); }
.qrcode {padding: 10px;}
.qrcode img {margin: 0 auto;}

.programajanlo{color: white !important; font-size: 15pt; font-weight: 700; transform: scale(1); animation: pulse 2s infinite; margin: 3px;}
@keyframes pulse {
	0% {transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);}
	70% {transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);}
	100% {transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);}
}

.ajanlo {border: 1px solid black; margin: 10px; border-radius: 0.25rem; box-shadow: 5px 5px var(--szin_arnyek); text-align: center; background: var(--szin_kek);}
.ajanlo:hover {background: var(--szin_sotetkek); transition: .3s ease-out;}

.ajanlo_text {color: white !important;}
.ajanlo_elvalaszto {margin: 5px;}

.link_kiemel {color: yellow; font-size: 12pt;}
.link_kiemel:hover {color: red;}

.ajanlo_datum {color: var(--kiemel_piros) !important; font-size: 12pt; font-weight: 700;}

.ajanlo .bezar {color: white!important;}

.progajanlo-gomb{background: var(--szin_kek); color: #fff; font-size: 20px; font-weight:700; display:inline-block; padding:0 5px; border-radius:2px; transform: scale(1); animation: pulse 2s infinite;}
.progajanlo-txt{color: #black; font-size: 18px;}

/* Felső hamburger menü */
* {box-sizing: border-box;}
a.outer-menu,
a.outer-menu:visited,
a.outer-menu:hover,
a.outer-menu:active {color: inherit; text-decoration: none;}

.outer-menu {position: fixed; top: 0; left: 0; z-index: 100;}
.outer-menu .checkbox-toggle {position: absolute; top: 0; left: 0; z-index: 101; cursor: pointer; width: 40px; height: 40px; opacity: 0;}
.outer-menu .checkbox-toggle:checked + .hamburger > div {transform: rotate(135deg);}
.outer-menu .checkbox-toggle:checked + .hamburger > div:before,
.outer-menu .checkbox-toggle:checked + .hamburger > div:after {top: 0; transform: rotate(90deg);}
.outer-menu .checkbox-toggle:checked + .hamburger > div:after {opacity: 0;}
.outer-menu .checkbox-toggle:checked ~ .menu2 {pointer-events: auto; visibility: visible;}
.outer-menu .checkbox-toggle:checked ~ .menu2 > div {transform: scale(1); transition-duration: .75s;}
.outer-menu .checkbox-toggle:checked ~ .menu2 > div > div {opacity: 1; transition: opacity 0.4s ease 0.4s;}
.outer-menu .checkbox-toggle:hover + .hamburger {box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);}
.outer-menu .checkbox-toggle:checked:hover + .hamburger > div {transform: rotate(225deg);}
.outer-menu .hamburger {position: absolute; top: 0; left: 0; z-index: 1; width: 40px; height: 40px; padding-left: 10px; background: none; cursor: pointer;
	transition: box-shadow 0.4s ease; backface-visibility: hidden; display: flex; align-items: center; justify-content: center;}
/* Középső pálca */	
.outer-menu .hamburger > div {position: relative; flex: none; width: 100%; height: 4px; background: yellow; transition: all 0.4s ease; display: flex; align-items: center; justify-content: center;}
/* Szélső pálcák */
.outer-menu .hamburger > div:before,
.outer-menu .hamburger > div:after {content: ''; position: absolute; z-index: 1; top: -10px; left: 0; width: 100%; height: 4px; background: yellow; transition: all 0.4s ease; border-radius: 5px;}
.outer-menu .hamburger > div:after {top: 10px;}

.outer-menu .menu2 {position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; visibility: hidden; overflow: hidden; backface-visibility: hidden;
	outline: 1px solid transparent; display: flex; align-items: center; justify-content: center;}
.outer-menu .menu2 > div {width: 200vw; height: 260vw; color: #fefefe; border-radius: 50%; transition: all 0.4s ease; flex: none; transform: scale(0);
	backface-visibility: hidden; overflow: hidden; display: flex; align-items: center; justify-content: center;
		background: radial-gradient(#000 16%, transparent 17%),radial-gradient(#444 16%, transparent 17%) 0px 1px,radial-gradient(#000 16%, transparent 17%) 8px 8px,radial-gradient(#444 16%, transparent 17%) 8px 9px;
		background-color: #422727; background-size: 16px 16px; line-height: 26px;
	}
.outer-menu .menu2 > div > div {text-align: center; max-width: 90vw; max-height: 100vh; opacity: 0; transition: opacity 0.4s ease; overflow-y: auto; flex: none; display: flex;
	align-items: center; justify-content: center;}
 
.outer-menu .menu2 > div > div > ul {list-style: none; padding: 0 1em; margin: 0; display: block; max-height: 100vh;}
.outer-menu .menu2 > div > div > ul > li {padding: 0; margin: 1em; font-size: 24px; display: block;}
.outer-menu .menu2 > div > div > ul > li > a {position: relative; display: inline; cursor: pointer; transition: color 0.4s ease;}
.outer-menu .menu2 > div > div > ul > li > a:hover {color: #e5e5e5;}
.outer-menu .menu2 > div > div > ul > li > a:hover:after {width: 100%;}
.outer-menu .menu2 > div > div > ul > li > a:after {content: ''; position: absolute; z-index: 1; bottom: -0.15em; left: 0; width: 0; height: 2px; background: #e5e5e5; transition: width 0.4s ease;}

.hmenu{list-style-type: none; text-align:center; font-size: 2rem; width: 100%;}
.hmenu li{margin: 0 auto; padding: 10px;}
.hmenu li:hover {background: var(--hatter); width: 100%;}
.hmenu li a{color: yellow;}

/* Alsó menü */
.alsobox {background: #fff; border-radius: 0; font-size: 1em; color: #262626; height: 100%; text-align: center; width: 100%; background-color: #fff; letter-spacing: 1.5px;}
.alsobox span {font-size: 1em;}

.appMenu {width: 100%; background: var(--szin_sotetkek); bottom: 0; left: 0; font-size: 0;}

.appMenu a {display: inline-block; width: 25%; height: 50px; padding: 10px 0; text-align: center !important; color: rgba(255, 255, 255, 1); font-size: 22px !important; text-decoration: none;
		background: radial-gradient(#000 16%, transparent 17%),radial-gradient(#444 16%, transparent 17%) 0px 1px,radial-gradient(#000 16%, transparent 17%) 8px 8px,radial-gradient(#444 16%, transparent 17%) 8px 9px;
		background-color: #422727; background-size: 16px 16px; line-height: 26px;
	}
.appMenu a:nth-child(2) {border-left: 1px solid white;}

.row1 a:nth-child(2) {color: #ffab00;}

.appMenu a:nth-child(2),
.appMenu a:nth-child(3) {border-right: 1px solid white;}

#nav-toggle {cursor: pointer;}

#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {cursor: pointer; height: 3px; width: 30px; background: yellow; position: absolute; content: '';}

#nav-toggle span {margin-top: 12px; padding-right: 10px;}
#nav-toggle span:before {top: -10px;}
#nav-toggle span:after {bottom: -10px;}

#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {transition: all 700ms ease-in-out;}

#nav-toggle.active span {background-color: transparent;}
#nav-toggle.active span:before,
#nav-toggle.active span:after {top: 0;}

#nav-toggle.active span:before {transform: rotate(45deg);}

#nav-toggle.active span:after {transform: rotate(-45deg);}
a #nav-toggle.active {background: #ffab00;}

.row2, .row3{border-top: 1px solid white;}
.row2, .row3, .text {display:none;}

.row3 {height: 80px; background-color: #222222; border-top: 1px solid white;}

.text {font-size: 12px; color: white;}

.focused {background-color: var(--szin_kek) !important; color: gray !important;}

.display {display: none;}

.head {content: ""; float: left; width: 50px; height: 50px; margin: 15px 20px; background: url("http://vot.hu/et/et/12/1.jpg") no-repeat center;
	background-size: 50px; border-radius: 100%;}

.name {color: #fff !important; font-size: 14px !important; margin-top: 27px;}
.name span {font-size: 10px;}

.fa-external-link {font-size: 22px; color: #fff; position: relative; left: 230px; bottom: 26px;}

/* Kicsi ikon a főmenüben */
.kisikon {font-size: 28px; display: none;}
/*mobil*/
@media (max-width: 767px) {
	.kisikon {display: inline; padding-top: 20px;}
}

/* Bonyhád cimke */
.bonyhad-cimke {background: white; color: var(--szin_sotetkek); font-size: 1rem; font-weight: 600; border-radius: 4px; margin: 0.2rem; 
	transition: all 0.5s ease; letter-spacing: 2px; text-align: center; padding: 8px; border: 1px dotted black;}
.bonyhad-cimke:hover {cursor:pointer; background: var(--szin_sotetkek); color: white; transform: scale(1.1);}
.bonyhad-cimke a {color: inherit; text-decoration: none;}

/* Bonyhád box */
.bonyhad-box {background: white; text-align: left; display: flex; flex-direction: column; width: 16rem; border: 1px dotted black; padding: 5px; border-radius: 5px; margin: 5px;}
.bonyhad-focim {color: white; background: var(--szin_sotetkek); font-size: 1.5rem; text-align: center; text-transform: uppercase;}
.bonyhad-menu {align-items: flex-start; display: flex; flex-direction: column;}	
.bonyhad-menupont {list-style-type: none; color: var(--szin_sotetkek);}
.bonyhad-menupont:hover {background: var(--szin_kek); color: white; width: 100%;}
.bonyhad-menupont .bonyhad-menulink {font-size: 1.1rem; padding-bottom: 0.25rem; padding-left: 1.25rem; padding-top: 0.25rem; position: relative;}	
.bonyhad-menulink {color: inherit; display: block; padding: 0.5rem 1rem; text-decoration: none; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;}
.bonyhad-menu .bonyhad-menupont .bonyhad-menulink:before {color: inherit; content: "\276F"; display: inline-block; font-size: .9rem; font-weight: 600; left: 0; position: absolute; top: 0; transform: translateY(5px);}	
