.page-container, .flex-container, .flex-header-container, .list-container, .gallery-container, .row-container, .supersearch-container {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

 body {
		margin: auto;	
/*		font-size:18px;*/
	    }

.column1{
		display: none;
	}


a:link, a:visited, a:hover, a:active {
  text-decoration: none;
  color: black;
}

label {
	padding: 5px;
}
/*input[type=text]
input[type=password] {
	padding: 5px;
	margin: 8px;
	width: 25%;
}*/

@media screen and (min-width: 184px) {
	body {
	/*	background-color: darkorange;*/
		background-color: white;
		width:98%;
	}
	/* 1 oszlop */
	.gallery-item-container{
		width: 100%;
	}
	.supersearch-container{
		row-gap: 2px;
	}
	.supersearch-item-container{
		width: 100%;
	}
}

@media screen and (min-width: 368px) {
	body {
	/*	background-color: lightgreen;*/
	/*	width:98%;*/
	}
	/* 2 oszlop 50% volt*/
	.gallery-item-container{
	/*	width: 47.5%;*/
		width: calc((100% - 6px)/2);
	}
	.column1{
		visibility: visible;
		display: inline-block;
	}
	.supersearch-container{
		column-gap: 6px;
		row-gap: 2px;
	}
	.supersearch-item-container{
		width: calc((100% - 6px)/2);
	}
}

@media screen and (min-width: 552px) {
	body {
	/*	background-color: red;*/
	}
	/* 3 oszlop 33% VOLT*/
	.gallery-item-container{
	/*	width: 31%; */
		width: calc((100% - 12px)/3);
	}
	.supersearch-item-container{
		width: calc((100% - 12px)/3);
	}
}

@media screen and (min-width: 736px) {
	body {
	/*	background-color: white;*/
	}
	/* 4 oszlop */
	.gallery-item-container{
	/*	width: 25%;*/
		width: calc((100% - 18px)/4);
	}
	.supersearch-item-container{
		width: calc((100% - 18px)/4);
	}
}

@media screen and (min-width: 920px) {
	body {
	/*	background-color: white;*/
	}
	/* 5 oszlop */
	.gallery-item-container{
	/*	width: 20%; */
		width: calc((100% - 24px)/5);
	}
	.supersearch-item-container{
		width: calc((100% - 24px)/5);
	}
}

@media screen and (min-width: 1104px) {
	body {
	/*	background-color: white;*/
		width:70%;
	}
	.label{
		width: 150px;
	}
	.gallery-item-container{
	/*	width: 19%;*/
	/*	width: calc((100% - 24px)/5);*/
	}
	.gallery-item-pic {
		align-self: center;
	}
}


.page-container {	
/*    background-color: purple; */
	flex-direction: column;
	/*width: 75%; */
	/*margin: auto;*/
	}
	
.flex-container-other {
    background-color: WhiteSmoke;
	}


.flex-header-container {
	/* ez a fejlec hatterszine */
    background-color: WhiteSmoke;
	}
	
.flex-header-logo {
	visibility: visible;
	background-color: grey;
    width: 150px;
	height: 75px;
	margin: 10px;
	margin-right: auto;
}
.flex-header-item {
	background-color: dimgrey;
	flex-basis:200px;
	margin: 10px;
    height: 40px;
	/*align-items: flex-end;*/
	justify-content: center;	/* horizontal */
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	display: inline-flex;	/* vertical */
	align-items: center;	/* vertical */
	}
	
.flex-header-item a {
	color: white;
	text-transform: uppercase;
}

.hreftest {
	display: block;
}

.flex-header-searchbox {
	break-before: always;
	background-color: dimgrey;
    height: 40px;
	margin: 10px 10px 10px 10px;
	/*align-items: flex-end;*/
	/*justify-content: center;*/
	position: relative;
}

div.flex-header-searchbox input{
	padding: 4px;
	width: 70%;
}

.flex-browse {
	 flex-direction: column;
	 background-color: WhiteSmoke;
	 margin: auto;
	}
/*
.XXXflex-browse-header {
	 flex-direction: column;
	 background-color: lightgrey;
	 margin: auto;
	}
.XXXflex-browse-main {
	flex-direction: column;
	 background-color: lightgrey;
    margin: auto;
	}
*/
.supersearch-container{
	flex-flow: row wrap;
	flex-wrap: wrap;
	display: flex;
}

.row-container {
	/* supersearch-on van hasznalatban*/
    /*background-color: whitesmoke;*/
	/*justify-content: space-between;*/
	/*webkit-flex-wrap: wrap;*/
	/*flex-wrap: wrap;*/
	flex-flow: row wrap;
	flex-wrap: wrap;
	display: flex;
}
/*
.XXXcolumn-container{
	flex-direction: column;
	webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	background-color: lightgrey;	
}
*/	
.list-container {
	flex-direction: column;
}
	
.list-item-container {
	display: flex;
	/* ez a lista megjelenites hatterszine*/
	flex-flow: row wrap;
	background-color: whitesmoke;
	margin: 0 0 6px 0;
	}
.list-item-pic {
	margin: 10px;
	flex-grow: 0;
	flex-shrink: 0;
	}
.list-item-pic {
	cursor: zoom-in;
	}
.list-item-data {
	/* ez az ahol a felsoroloasban a cim, szerzo es hasonlok vannak */
	margin: 10px;
	flex-grow: 1;
	flex-shrink: 1;
	word-wrap: break-word;
	}
.list-item-checkbox {
	/*background-color: pink;*/
	margin: 10px;
	align-self: flex-start;
	margin-left:auto;
	flex-grow: 0;
	flex-shrink: 0;
	}	
.list-item-container:hover {
	background-color: WhiteSmoke;
	}
.list-item-container:hover .list-item-pic {
	background-color: WhiteSmoke;
	}
.list-item-container:hover .list-item-data {
	background-color: WhiteSmoke;
	}


#title:hover, #title>div:hover {
	
	}
#title, #title>div {
	background-color: #e6e6e6;
	}

/* ez az alap gallery ami csak egy oszopnal jelenhet meg, megegyezik a list*-al */
.supersearch-item-container{
	display: flex;
	flex-flow: row wrap;
/*	background-color: whitesmoke;*/
	margin: 0 0 6px 0;
	overflow-y: scroll;
	flex-direction: column;
}

.supersearch-top-label{
	display: inline-block;
	background-color: lightgrey;
	width: 100px;
}

.supersearch-radio{
	padding: 5px;
	margin: 8px;	
}

.supersearch-text{
	padding: 5px;
	margin: 8px;
	width: 45%;
}

.supersearch-label{
	display: inline-block;
	background-color: lightgrey;
	position: -webkit-sticky; /* Safari */
	position: sticky;
	top: 0;
/*display: flex;*/
/*	float: left;*/
}

.gallery-container {
	/*background-color: purple;*/
	flex-direction: column;
}
.gallery-item-container{
	display: flex;
	flex-flow: row wrap;
	background-color: whitesmoke;
	margin: 0 0 6px 0;
}	
.gallery-item-pic {
	margin: 10px;
	flex-grow: 0;
	flex-shrink: 0;
	cursor: zoom-in;
	}
.gallery-item-data {
	margin: 10px;
	flex-grow: 1;
	flex-shrink: 1;
	word-wrap: break-word;
	}
.gallery-item-checkbox {
	margin: 10px;
	align-self: flex-start;
	margin-left:auto;
	flex-grow: 0;
	flex-shrink: 0;
	}	
.gallery-item-container:hover {
	background-color: WhiteSmoke;
	}
.gallery-item-container:hover .gallery-item-pic {
	background-color: WhiteSmoke;
	}
.gallery-item-container:hover .gallery-item-data {
	background-color: WhiteSmoke;
	}
/* egy oszlopos gallery ami list eddig */


@media screen and (min-width: 368px) {
.gallery-container {
	flex-direction: row;
	/*background-color: cadetblue;*/
	/* ez azt csinalja, hogy a gallerynel tordelje tobb sorba*/
    /*background-color: whitesmoke;*/
	/*justify-content: space-between;*/
	/*webkit-flex-wrap: wrap;*/
	/*flex-wrap: wrap;*/
	flex-flow: row wrap;
	flex-wrap: wrap;
	display: flex;
	/*gap: 6px;*/
	column-gap: 6px;
	row-gap: 2px;
}
	
.gallery-item-container{
	flex-flow: column; /* utni a kisfelbontasut*/
	
	flex-shrink: 1;
	
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-color: whitesmoke;
/*	margin: 1px;*/
	/*margin: 0 6px 6px 0;*/
}	
/*
.row-container > div {
  flex: 1 1 220px;
  margin: 6px; 
}
.row-container > div:last-child {
  flex: 0 0 220px;
}
*/

.gallery-item-container:after{
/*	content: ""; ez mi a fenet csinal, nem latok valtozast, tenyleg kell?*/
/*	content: "";*/
	content: "";
/*flex: auto;*/
}

.gallery-item-pic {
	margin: 10px;
	flex-grow: 0;
	flex-shrink: 1;
	
	cursor: zoom-in;
	/*background-color: lightgreen;*/
	/*margin: 10px;*/
	margin-top: 10px;
	/*flex-grow: 0;*/
	/*flex-shrink: 0;*/
	align-self: center;
	}
   	
.gallery-item-data {
	flex-grow: 0;
	flex-shrink: 1;
	word-wrap: normal;
	
	
	/* ez az ahol a felsoroloasban a cim, szerzo es hasonlok vannak */
	background-color: WhiteSmoke;
	margin: 10px 10px auto 10px;
	/*flex-grow: 1;*/
	/*flex-shrink: 1;*/
	word-wrap: break-word;
	}
.gallery-item-checkbox {
	align-self: flex-start;
	flex-grow: 0;
	flex-shrink: 1;
	
	
	background-color: WhiteSmoke;
	margin: auto 10px 10px 10px;
	/*flex-grow: 0;*/
	/*flex-shrink: 0;*/
	}	

.gallery-item-container:hover {
	background-color: WhiteSmoke;
	}
.gallery-item-container:hover .gallery-item-pic {
	background-color: WhiteSmoke;
	}
.gallery-item-container:hover .gallery-item-data {
	background-color: WhiteSmoke;
	}
} /* min552 vege */	
	
.input-text {
	width:215px;
/*	height:27px;*/
	padding: 5px;
	margin: 8px;
/*	border:3px solid #999;
	outline:none;
	border-radius:2px;*/
	}
.input-text:focus {
	border:1px solid #000;
	box-shadow:0px 0px 10px #999;
	}

.input-password {
	width:215px;
	padding: 5px;
	margin: 8px;
/*	width: 25%;*/
}
.input-password:focus {
	padding: 5px;
	margin: 8px;
	width: 25%;
}		
.input-checkbox {
/*	padding: 5px;*/
	margin: 8px;
}

.drop_menu {
	background: dimgrey;
	padding:0;
	margin:0;
	list-style-type:none;
	height:30px;
}
.drop_menu li { float:left; }
.drop_menu li a {
	padding:9px 20px;
	display:block;
	color:#fff;
	text-decoration:none;
	font:12px arial, verdana, sans-serif;
}

/* Submenu */
.drop_menu ul {
	position:absolute;
	left:-9999px;
	top:-9999px;
	list-style-type:none;
}
.drop_menu li:hover { position:relative; background: gray; }
.drop_menu li:hover ul {
	left:0px;
	top:30px;
	background: gray;
	padding:0px;
}

.drop_menu li:hover ul li a {
	padding:5px;
	display:block;
	width:168px;
	text-indent:15px;
	background-color:gray;
}
.drop_menu li:hover ul li a:hover { background: #555; }

.drop_menu li a.active {
    background-color: grey;
    color: white;
}
.drop_menu li a:hover:not(.active) {
    background-color: #555;
    color: white;
}


.flip{
        -moz-transform: scaleX(-1);
        -o-transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
        filter: FlipH;
        -ms-filter: "FlipH";
}

.tabs .field{
	display: inline-block;
	background: whitesmoke;
	width: 150px;
	padding: 0px;
	margin-right: 0px;
	cursor: auto;
}

.profile-label{
	display: inline-block;
	background: WhiteSmoke;
	width: 150px;
}

.label{
	display: inline-block;
/*	float: left;*/
}
.data{
	display: inline-block;
	
/*	float: right;*/
}
/*
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}
*/
/* Tabs */
.tabs {
	display: flex;
	flex-wrap: wrap; /*/ make sure it wraps*/
}
/* .tabs label volt*/
.tabs label {
	order: 1; /*/ Put the labels first*/
	display: block;
	/*padding: 1rem 2rem;
	margin-right: 0.2rem;*/
	padding: 8px;
	margin-right: 5px;
	cursor: pointer;
	background: #e6e6e6;
  
	transition: background ease 0.2s;
}
.tabs .tab {
	order: 99; /*/ Put the tabs last*/
	flex-grow: 1;
	width: 100%;
	display: none;
	padding: 1rem;
	background: whitesmoke;
}
.tabs input[type="radio"] {
	display: none;
}
.tabs .myradio input[type="radio"] {
	background-color: WhiteSmoke;
	color: WhiteSmoke;
	display: inline-block;
}
.tabs input[type="radio"]:checked + label {
	background: whitesmoke;
	font-weight: bold;
}
.tabs input[type="radio"]:checked + label + .tab {
	display: block;
}

@media (max-width: 45em) {
  .tabs .tab,
  .tabs label {
    order: initial;
  }
  .tabs label {
    width: 100%;
    margin-right: 0;
    margin-top: 0.2rem;
  }
}

/**
 * Generic Styling
*/
/* ezt en most kiveszem...
body {
  background: white;
  min-height: 100vh;
	box-sizing: border-box;
	padding-top: 10vh;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
  font-weight: 300;
  line-height: 1.5;
  max-width: 60rem;
  margin: 0 auto;
  font-size: 112%;
}*/
.checkbox-scroll { 
	border:2px solid #ccc; 
/*	width:300px; */
	height: 100px; 
/*	overflow-y: scroll;*/
	border: none;
}
.button-navi-active {
	color: black;
    background-color: transparent;
    background-repeat:no-repeat;
    border: none;
    cursor:pointer;
    overflow: hidden;
    outline:none;
}
.button-navi-active:hover {
  background-color: whitesmoke;
}
.button-navi-disabled {
	color: darkgrey;
    background-color: transparent;
    background-repeat:no-repeat;
    border: none;
    overflow: hidden;
    outline:none;
}

/* ------------------------------ UJ (HAMBURGER) MENU ------------------------------ */
/* szerintem az after/before-ra ninsz szukseg, raadasul kinyirja a text input paddingot */
/**,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}*/

.html {
  font-size: 62.5%;
}

/* ///////////..utility classes../////////// */

.container {
  max-width: 1200px;
  width: 90%;
}


/* ............/navbar/............ *

/* desktop mode............/// */

.fullmenu {
	visibility: visible;
/*	display: inline-flex;*/
}
.smallmenu {
	display: none;
}
.search-container {
	display: none;
}


.navbar input[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}

.navbar {
  width: 55px;  /* 100%, a hamburgert tartalmazo doboz szelessege, 65pxnel meg belog a menu */
  background: WhiteSmoke;
  color:white;
  margin: 0px 10px 10px 10px;
  height: 40px;
  z-index: 9;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  height: 40px;
  align-items: center;
}

.menu-items {
  order: 2;
  display: flex;
}

.menu-items li {
	background: dimgrey;
	list-style: none;
}

.menu-items a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.menu-items a:hover {
	background: gray;
	transition: color 0.3s ease-in-out;
}

.logo {
	order: 1;
	font-size: 2.3rem;
	margin-bottom: 0.5rem;
}



/* ......../ media query /.......... */

@media (max-width: 768px) {
body {
/*		background-color: green;*/
	}
.flex-header-item {
/*	background-color: pink;*/
	margin: 0px 10px 10px 10px;
/*	margin-left: auto; */
}	
.flex-header-item a {
	color: black;
}
.flex-header-logo {
	visibility: visible;
	background-color: grey;
    width: 150px;
	height: 40px;
	margin: 0px 10px 10px 10px;
	margin-right: auto;
}



.fullmenu {
	display: none;
}
.smallmenu {
	display: flex;
}

.search-container {
	display: inline-block;
}
.pushright{
	margin-left: auto;
}


	
  .navbar {
    opacity: 0.95;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: block;
	position: relative;
    height: 64px; 
	width: 65px; /*hamburger megjelenitest nem befolyasolja */
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 10px;		/* 20px pozicionalja a kattinthato reszt a hamburgerhez kepest */
    left: 10px;		/* 20px */
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 23px;
    width: 35px; 						/* 35px ez is a vonalak szelessege */
    position: absolute;
    top: 7px;							/* 17px a vonalakat viszi feljebb, de a kattinthato mashol van */
    left: 11px;							/* 20px */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%; 					/* ez a vonalak szelessege */
    border-radius: 10px;
    background: black; 				/* ez a vonalak szine */
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 100px;			/* hol van az elso menupont */
    background: WhiteSmoke;
    height: 100vh;				/* ez a megnyitott menu magassaga */
    max-width: 300px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 30px; 		/* 50pxa menupont dobozok bal szele */
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #aaa;
  }

  .navbar .menu-items li {
    margin-bottom: 0.7rem;		/* 1.5rem menupontok egymastol valo tavolsaga */
    font-size: 1.3rem;
    font-weight: 500;
  }

  .logo {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 2rem;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg);
  }

}

@media (max-width: 500px) {
  html {
    font-size: 65%;
  }

  .navbar .menu-items li{
      font-size: 0.8rem;			/* 1.6rem menupontok egymastol valo tavolsaga */
  }

  .logo {
    position: absolute;
    top: 06px;
    right: 15px;
    font-size: 3rem;
  }

  .navbar .menu-items li {
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    font-weight: 500;
  }
  
}

@media (min-width: 769px) and (max-width: 1200px) {

}

@media (orientation: landscape) and (max-height: 500px) {

}


/* KERESO GOMB KIS MENUBEN */

.button {
	display: inline-block;
	font-size: 14px;
/*	padding-left: 32px;
	padding-right: 32px;*/
	height: 40px;
	line-height: 40px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.search-container {
	background: WhiteSmoke;
	position: relative;
/*	display: inline-block; elkoltozott max-widthbe */
/*	margin: auto; /* 10px; volt */
	height: 40px;
	width: 50px;
	vertical-align: bottom;
/*	margin-left: auto; */ /*kivettem, mert az editprofilenak is van ilyenje */
}

.mglass {
	display: inline-block;
	pointer-events: none;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
}

.searchbutton {
	position: absolute;
	font-size: 22px;
	width: 100%;
/*	margin: 0;	*/
	padding: 0;
}

.search:focus + .searchbutton {
	/* ez a megnyomott gomb*/
	transition-duration: 0.4s;
	-moz-transition-duration: 0.4s;
	-webkit-transition-duration: 0.4s;
	-o-transition-duration: 0.4s;
	background-color: white;
	color: black;
}

.search {
	/* ez a kereso sor */
	position: absolute;
	left: 49px; /* Button width-1px (Not 50px/100% because that will sometimes show a 1px line between the search box and button) */
	background-color: white;
	outline: none;
	border: none;
	padding: 0;
	width: 0;
	height: 100%;
	z-index: 10;
	transition-duration: 0.4s;
	-moz-transition-duration: 0.4s;
	-webkit-transition-duration: 0.4s;
	-o-transition-duration: 0.4s;
}

.search:focus {
	/* ez a megnyitott kereso sor */
	background-color: WhiteSmoke;
	width: 250px; /* Bar width+1px 363 eredetileg*/
	padding: 0 16px 0 0;
}

.expandright {
	left: auto;
	right: 49px; /* Button width-1px */
}

.expandright:focus {
	padding: 0 0 0 16px;
}