body {
	overflow-x: hidden;
}

* {
	box-sizing: border-box;
}

#hamburgerMenuToggle {
	display: none;
}

#wrapper,
#header,
#topMenuContainerr,
#mainContainer,
#mainContent,
#banner_right,
#footer,
#footerContainer {
	min-width: 0;
	max-width: 100%;
	float: none;
}

#header {
	display: flex;
	justify-content: space-between;
}

#footer {
	padding: 20px;
}

#wrapper {
	min-width: 0;
}

#topMenuLeft,
#topMenuRight {
	width: auto;
}

#mainContainer,
#mainContent {
	display: flex;
	flex-wrap: wrap;
}

#mainContent {
	flex: 0 0 91%;
	width: 91%;
}

#banner_right {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	flex: 0 0 9%;
	width: 9%;
}

.item,
.item_admin {
	width: auto;
	height: auto;
}

.flex {
	display: flex;
	flex-wrap: wrap;
}

.col100 {
	flex: 0 0 100% !important;
}
.col75 {
	flex: 0 0 75% !important;
}
.col66 {
	flex: 0 0 66.6% !important;
}
.col50 {
	flex: 0 0 50% !important;
}
.col37 {
	flex: 0 0 37.5% !important;
}
.col33 {
	flex: 0 0 33.3% !important;
}
.col25 {
	flex: 0 0 25% !important;
}

.simpleBox.flex h1 {
	width: 100%;
	flex: 0 0 100%;
}

.flex-2 > * {
	width: calc(50% - 4px);
	flex: 0 0 calc(50% - 4px);
}

.flex-3 > * {
	width: calc(33.3% - 4px);
	flex: 0 0 calc(33.3% - 4px);
}

.flex-6 > * {
	width: calc(16.6% - 4px);
	flex: 0 0 calc(16.6% - 4px);
}

.elmenyindex,
.simpleBox .comment {
	display: flex;
	flex-wrap: wrap;
}

.elmenyindex .item {
	flex: 0 0 calc(33% - 5px);
	width: calc(33% - 5px);
}

.elmenyindex .jobb {
	flex: 0 0 67%;
	width: 67%;
}

.elmenyindex .myBtn {
	float: none;
	margin-left: auto;
}

.elmenyindex .lead {
	height: auto;
}

.simpleBox .comment .image {
	flex: 0 0 23%;
	width: 23%;
}

.simpleBox .comment .content {
	flex: 0 0 74%;
	width: 74%;
}

.simpleBox .comment .content > * {
	margin-left: 6px;
}

.valtozasok_box {
	display: flex;
	flex-wrap: wrap;
	height: auto;
}

.valtozasok_box h3,
.valtozasok_box p {
	width: 100%;
}

.valtozasok_box_jobb {
	margin-left: 4px;
}

#belepes_div_tartalom {
	max-width: 100%;
}

.btn_nagy {
	height: auto;
}

.gombsor {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

#userNotificationWindow,
#userWindow {
	margin: 0;
}

.box.gombok a {
	display: block;
}


.item_admin.flex-3 a img {
	display: block;
	width: 100%;
	float: none;
	padding: 12px;
}

.item_admin.flex-3 .box {
	padding: 12px;
}

.myForm,
#hirdetes_szerkesztes_form > div {
	max-width: 100%;
}

textarea,
input {
	max-width: 100%;
}

/**
 * Tablet
 */

@media (max-width: 1140px){
	#topMenuContainer {
		display: none;
	}

	#hamburgerMenuToggle {
		display: block;
		float: right;
		width: 36px;
		height: 36px;
		margin: 18px;
		cursor: pointer;
		border: none;
		background-color: transparent;
		background-image: url('/public/drakoon/media/bars-solid.svg');
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
	}

	#headerLeft,
	#headerLeft a {
		display: block;
		height: 100%;
	}

	#headerLeft img {
		display: block;
		height: 100%;
		object-fit: contain;
	}

	#headerRight {
		display: none;
	}

	#topMenuContainer,
	#topMenuContainerr,
	#userBar {
		height: auto;
	}

	#userBar ul {
		line-height: 48px;
	}

	#userBar a.userBtn {
		background-color: transparent !important;
		padding: 0 20px !important;
	}

	#topMenuRight {
		height: 150px;
		margin-left: 7px;
	}

	#topMenuLeft,
	#topMenuRight {
		width: 100%;
		float: none;
	}

	#userBar ul {
		display: block;
		width: 100%;
		text-align: left;
	}

	.navHorizontalDD ul li,
	#userBar li {
		display: block;
		float: none;
	}

	.navHorizontalDD ul li ul {
		position: static;
		margin-left: 7px;
	}

	#mainContent,
	#banner_right {
		flex: 0 0 100%;
		width: 100%;
	}

	#banner_right {
		flex-direction: row;
	}

	#banner_right a {
		flex: 1 0 auto;
		display: block;
		padding: 20px;
	}

	#banner_right a img {
		width: 100%;
	}

	.elmenyindex .item,
	.elmenyindex .jobb,
	.simpleBox .comment .image,
	.simpleBox .comment .content,
	.valtozasok_box_bal,
	.valtozasok_box_jobb {
		flex: 0 0 100%;
		width: 100%;
	}

	.elmenyindex .item,
	.elmenyindex .item_admin,
	.valtozasok_box_bal .item {
		width: 100%;
		height: auto;
	}

	.flex-6 > * {
		width: calc(33.3% - 4px);
		flex: 0 0 calc(33.3% - 4px);
	}
}

/**
 * Mobile
 */

@media (max-width: 765px) {
	#headerLeft img {
		width: 240px;
	}
	.col75,
	.col66,
	.col50,
	.col37,
	.col33,
	.col25,
	.flex-2 > *,
	.flex-3 > *,
	.flex-6 > * {
		flex: 0 0 100% !important;
		width: 100%;
	}
	.myForm label {
		text-align: left;
		width: auto;
		float: none;
	}

	.keresoTable tbody,
	.keresoTable tr,
	.keresoTable td {
		display: block;
	}
	.keresoTable td > * {
		width: 100% !important;
	}
	.gombsor {
		flex-direction: column;
	}
}
