body {
	height: 100vh;
	color:#69696c;
	font-family: sans-serif;
}

h2 {
	text-align: center;
}

.content {
	display:flex;
	max-width: 1080px;
  margin: 40px;
  line-height: 2em;
}

/*Header*/
header, footer, .flexbox {
	display: flex;
	justify-content: center;
	align-items:center;
}

header > a > img {
	transition: all 2s;
}

header > a > img:hover {
	transform: scale(1.1, 1.1);
}

div.header-title {
	text-align: center;
}

/* Nav */
nav {
	display: flex;
	justify-content: center;
	align-items:center;
	background-color: #747474;
}

nav > ul{
	list-style:none;
}

nav > ul > li {
	text-align: center;
	margin: 15px;
	float:left;
}

nav > ul > li > a {
	display:block;
	min-width: 150px;
	text-decoration: none;
	color: #ffffff;
	font-family: sans-serif;
	text-transform: uppercase;
	font-size: 20px;
	padding: 10px;
	border: none;
	position: relative;
	transition-property: border;
	transition-duration: 2s;
	overflow: hidden;
}


nav > ul > li > a::before,
nav > ul > li > a::after {
  content: "";
  position: absolute;
  display: block;
  border: 0 solid transparent;
  width: 0%;
  height: 0%;
  transition: all 0.3s ease;
}

nav > ul > li > a::after {
  top: 0;
  left: 0;
  border-top: 2px solid transparent;
  border-left: 2px solid transparent;
}

nav > ul > li > a::before {
  right: 0;
  bottom: 0;
  border-bottom: 2px solid transparent;
  border-right: 2px solid transparent;
}

nav > ul > li > a:hover::before,
nav > ul > li > a:hover::after {
  width: 10px;
  height: 10px;
  border-color: #b28353;
}

.mobile-container {
	display:none;
}

/* Almenü alapértelmezett rejtése */
.submenu {
    display: none;
    position: absolute; /* Az almenü megjelenik a főmenü alatt */
    background-color: #fff;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

ul.submenu{
	list-style: none;
}

ul.submenu > li{
	margin: 5px;
  	padding: 5px;
}

ul.submenu > li > a{
	text-decoration: none;
	color:#b28353;
	display: block;
	padding: 10px;
}

ul.submenu > li > a:hover {
	color:#ffffff;
	background-color: #b28353;
}

/* Asztali nézethez hover */

li:hover .submenu {
    display: block;
}

/* Mobil nézethez marad a show osztály */
.submenu.show {
    display: block;
}

.youtube-video {
  aspect-ratio: 16 / 9;
  width: 50%;
}


/* pdfek */

object.programfuzet {
	width:100%;
	height: 457px;
}

object.minsized {
	width: 600px;
}

/* Home */
img.openimg {
	float: left;
  width: 25.2%;
  padding-right: 36.8px;
  margin-top: -36px;
}


/* táblázat */

td {
	padding: 10px;
}



/* helyszínek és programok */

iframe.travel_map {
	width: 80%;
  height: 330px;
}

.flex-container-helyszinek {
	max-width: 1020px;
	display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, rgba(0,212,255,0) 99%, rgb(240, 78, 37) 103%);
}

.flex-container-organisers {
	max-width: 1020px;
	display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 20px;
}

.flex-text {
	flex: 68%;
}

.flex-image {
	flex: 20%;
}

	@media (max-width: 800px) {
  .flex-image, .flex-text {
    flex: 100%;
  }
}

/* támogatók */
.tamogatok-flex {
	display:flex;
	flex-wrap: wrap;
	max-width:900px;
}

.tamogatok-flex > div {
	text-align: center;
}

.tamogatok-p {
	max-width: 160px;
  font-size: 13px;
  margin-top: -8px;
}

/* Contact */
div.flex-container.organiser_comitee {
	display: flex; 
	flex-direction: column;
	width: 800px;
}

/* GYIK */

details.gyik-details {
	max-width: 800px;
}

summary.gyik-summary {
	max-width: 800px;
}

details.gyik-details > p {
	text-align: justify;
	padding-left: 10px;
}


footer {
	margin-top: 45px;
}

footer > p > a {
	text-decoration: none;
	color: #2e7354;
	display: inline-block;
}

footer > p > a:hover {
	font-style: italic;
}

/* Content */
div.textbody {
  max-width: 900px;
}

hr {
	color: #cacaca;
	margin: 40px;
}

p.bold {
	line-height: 1.8;
	font-weight: 501;
}

.flex-container {
	display: flex;
	justify-content: center;
}

.center-justify-blocktext {
	font-family: sans-serif;
	font-size: 15px;
	max-width: 800px;
	text-align: justify;
	line-height: 1.6;
	animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
 	}
}

	/*content-programs*/
	p.program-text {
		line-height:2em;
	}

/* Links */
#link-1 {
	font-size:10px;
	text-align: left;
}

a.link {
	color: #b28353;
}

/* Button */
a.buttonlink {
	display:block;
	margin: 10px;
	float:left;
}

a.buttonlink:hover {
	cursor: pointer;
}

a.buttonlink > button {
	background-color: #f04e25;
	color: #fff;
	font-weight: bold;
	padding: 10px;
	border-radius: 0;
	border: 0px;
}

a.buttonlink > button:hover {
	background-color: #69696c;
	cursor: pointer;
}

/* Images */
.images-right > img{
	max-width: 400px;
}

img.full-width-image {
	width: 99vw;
}


/* Text on the image */
.midimage{
	position: relative;
	animation-name: slidein;
    animation-duration: 3s;
    animation-iteration-count: 1;
}

@keyframes slidein {
  0%   {left:-100%;}
  100% {left:0;}
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0a0a0a;
  padding: 5px 20px;
  background: #ffffff;
  border: 3px solid #f04e25;
  text-align:center;
}

/* Gallery */
div.flex-container-galery {
	display: flex-wrap;
	justify-content: center;
}

div.flex-container-galeria-main {
	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
}

div.flex-container-galeria-main > div {
	width: 300px;
    background-color: #8080800d;
    margin: 10px;
    padding: 10px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    box-shadow: 0 0 22px -8px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 0 22px -8px rgba(0,0,0,0.3);
	-moz-box-shadow: 0 0 22px -8px rgba(0,0,0,0.3);
    text-align: center;
    position: relative;
	animation-name: slidedown;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

@keyframes slidedown {
  0%   {top:-50%; opacity: 0;}
  100% {top:0; opacity: 100%;}
}

div.flex-container-galeria-main > a:hover {
	font-style: italic;
}

/* Details */
summary {
	padding: 15px;
	text-decoration: none;
	background: transparent;
	border: 3px solid #5c5c5c;
	color: #5c5c5c;
	font-family: sans-serif;
	font-weight: bold;
	letter-spacing: 0.2em;
	cursor:pointer;
	transition: all 1s;
	max-width: 98px;
	margin: 5px;
}

summary:hover {
	background-color: #7c7c7c;
	color: #ffffff;
}

summary, slot[name="internal-main-summary"]::slotted(summary) {
	list-style: none;
}


/* Jubileumi kötet */
div.kotet-images-opener {
}

div.kotet-images-opener > img {
	height: 200px;
	margin-top: 40px;
	margin-bottom:40px;
}

img.kotet-image-left {
	rotate: z -18deg;
	transition: all 1.4s;
	position: relative;
	z-index: 1;
	margin-left: -100px;
}

img.kotet-image-left:hover {
	rotate: z 0deg;
	transform: scale(1.5, 1.5);
}

img.kotet-image-right {
	rotate: z 6deg;
		position: absolute;
	margin-left: -20px;
	transition: all 1.4s;
}

img.kotet-image-right:hover {
	rotate: z 0deg;
	z-index: 20;
	transform: scale(1.5, 1.5);
}

div.kotet-koszonto-kepek > div.galery-images-small > div.column > img {
	border: 1px solid #ddd;
  border-radius: 4px;
  padding: 2px;
}

img#expandedImg {
	text-align:center;
}


/* Home */
p.homeback {
	text-align: center;
	margin-top: 4em;
}

p.homeback > a.link {
	padding:10px;
	border: 3px solid #69696c;
	text-decoration: none;
}

p.homeback > a.link:hover {
	background-color: #e1e1e1;
}


/* Oppenens */
.opponensi-leiras {
max-width: 950px;
}

.row.colored {
	background-color: #f2f2f2;
	padding-top: 7px;
  margin-bottom: 7px;
}

.content.basic-content {
	min-height: 300px;
  max-width: 800px;
}

fieldset {
	border: 1px solid #f2f2f2!important;
	padding: 10px !important;
  margin: 10px !important;
}

input[type="checkbox"]:hover {
	-webkit-box-shadow: 0px 0px 8px 0px rgba(178,131,83,1);
-moz-box-shadow: 0px 0px 8px 0px rgba(178,131,83,1);
box-shadow: 0px 0px 8px 0px rgba(178,131,83,1);
border: 1px solid #f04e25;
}

.form-control::placeholder {
  color: rgba(163, 163, 163, 0.75)!important;
}

/* Tagozatok */
summary.tagozatok_summary {
		max-width: 100%;
	}


/* Hírek */

.hirekcontainer {
	display: flex;
  flex-wrap: wrap;
  justify-content: center;
} 

.hirbox_full {
	text-align: center;
	margin:10px;
	float: left;
	max-width: 210px;
	min-height: 345px;
}

img.hirbox_img {
	border-radius: 50%;
  width: 200px;
  height: 200px;
  border: 7px solid #b28353;
  transition: all 0.4s;
  margin-bottom:15px;
}

img.hirbox_img:hover {
	transform: scale(1.1, 1.1);
}

img.organiser_img {
	border-radius: 50%;
  width: 200px;
  height: 200px;
  border: 7px solid #b28353;
  transition: all 0.4s;
  margin-bottom:15px;
}

img.organiser_img:hover {
	transform: scale(1.1, 1.1);
}

a.hir_link {
	display:block;
	text-decoration: none;
	color: #69696c;
}

a.hir_link:hover > span.hirbox_hircim {
	color:#f04e25;
}

span.hirbox_hircim {
	font-weight: bold;
}

span.hirbox_hirdatum, .vissza {
	font-style: italic;
	font-size: 12px;
}

.hirbox_tartalom {
	max-width: 900px;
}

.hirbox_tartalom > h3 {
	text-align: center;
}

img.hirsubimg {
	max-width:700px;
}

.vissza {
	margin-top:10px;
}

.vissza > a {
	text-decoration: none;
	color: #f04e25;
}

/* Footer */
img.separator {
	margin-top:15px;
	max-height: 40px;
	margin-bottom: -10px;
}

.footerlogok {
	margin: 10px;
}

.footernmhh {
	text-align: right;
	font-size: 12px;
}

.otdk70logo {
	margin-bottom: 44px;
}