html{
	box-sizing: border-box;
}

*,*:before,*: after{
	box-sizing: inherit;
}

html{
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
}

html, body{
	margin: 0;
	padding: 0;
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
	background: white;
	color: #303030;
}

.clear{
	clear: both;
}

::-moz-selection {
  background: #ddd;
}

::selection {
  background: #ddd;
}

table {
	max-width: 100%;
}

img {
	max-width: 100%;
	height: auto;
}

#sidebar-left {
	padding: 0;
	margin: 0;
}

#sidebar-right {
	font-size: 13px;
	padding: 0;
}

	#sidebar-right img {
		margin: 5px 0;
	}

	#sidebar p {
		margin: 6px 0px 0px 0px;
	}
	
.search {
	border: 1px solid #909090;
	border-radius: 5px; 
	max-width: 240px;
	width: 100%; 
	height: 20px;
	margin: 10px 0; 
	font-size: 16px; 
	font-weight: 600; 
	color: #909090; 
	text-align: center;
}

div.messages {
	border: 1px solid #808080;
	margin-bottom: 20px;
	max-width: 1160px;
	padding: 15px 20px 5px 20px;
}

	div.messages p {
		margin: 5px;
	}

	div.messages p.error {
		text-align: left;
		color: red;
	}

	div.messages p.warning {
		color: #4267b2;
	}

	div.messages p.info {
		color: green;
	}

	div.messages p.notice {
		color: #808080;
	}

#main {
	font-size: 14px;
	padding: 0;
	min-height: 400px;
}

	#main h1 {
		font-size: 28px;
		margin: 20px 0px 20px 0px;
		text-transform: uppercase;
	}

	#main h2 {
		font-size: 24px;
		margin: 20px 0px 18px 0px;
	}

	#main h3 {
		font-size: 20px;
		margin: 20px 0px 16px 0px;
	}

	#main h4 {
		font-size: 16px;
		margin: 20px 0px 14px 0px;
	}

	#main p {
		margin: 0px 0px 10px 0px;
		line-height: 1.6;
	}

	#main ul li {
		margin-top: 6px;
	}
	
	#main a {
		text-decoration: none;
		color: #000;
		font-weight: 600;
	}

	#main a:hover {
		text-decoration: underline;
	}

#footer{
	margin: 0;
	font-family: 'Oswald', sans-serif;
	font-weight: 400;
	text-align: right;
	color: #909090;
	background-color: #303030;
}

	#footer p {
		margin: 0;
	}
	
	#footer h3 {
		font-size: 22px;
		margin-top: 23px;
		text-transform: uppercase;
	}
	
	#footer img {
		height: 15px;
		width: auto;
		margin: 0 5px 0 5px;
	}

	#footer ul {
		list-style: none;
		padding: 0;
		margin-bottom: 30px;
	}
	
	#footer a {
		text-decoration: none;
		color: #ccc;
		font-weight: 600;
	}

	#footer a:hover {
		text-decoration: underline;
	}


div.youtube-video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
	margin-bottom: 15px;
}

	div.youtube-video-container iframe,
	div.youtube-video-container object,
	div.youtube-video-container embed {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

table.registration {
	border: 1px solid #a0a0a0;
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

	table.registration td {
		font-size: 14px;
		border: 1px solid #a0a0a0;
		padding: 5px 10px 5px 5px;
	}

	table.registration th {
		font-size: 14px;
		text-align: right;
		padding: 5px 10px 5px 5px;
		width: 35%;
	}

	table.previous-registrations th {
		text-align: left;
	}

	table.temporary-registration th {
		background: #faff69;
	}

	table.expired-registration th {
		background: #f64b4b;
	}




	div#main div.home-rss-box p.title {
		font-size: 14px;
		margin: 8px 0px 0px 0px;
	}

	div#main div.home-rss-box p.date {
		font-family: Verdana, Helvetica, Arial;
		font-size: 12px;
		margin: 0;
		color: #808080;
	}




div.home-news-box {
	margin: 0px 0px 20px 0px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
}

div.news-container div.news-item {
	float: left;
	margin: 0px 20px 10px 0px;
	font-size: 14px;
}

	div.news-container div.news-item img {
		max-width: 100%;
	}

	div.news-item div.news-head {
		margin-bottom: 10px;
	}

	div#main div.news-item div.news-head h3.news-title {
		margin: 0;
		font-size: 16px;
	}

	div#main div.news-item p {
		margin: 0px;
	}

	div#main div.news-item div.news-head p.date {
		font-family: Verdana, Helvetica, Arial;
		font-size: 12px;
		margin: 0px;
		color: #808080;
	}

	div.news-item div.news-content {
	}

		div.news-item div.news-content div.img {
			float: left;
		}

		div.news-item div.news-content div.desc {
		}

div#news-container div.news-item {
	margin: 10px 0px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e0e0e0;
}

	div#news-container div.news-item div.news-head {
		margin-bottom: 10px;
		margin-top: 10px;
	}

		div#news-container div.news-item div.news-head h2.news-title {
			margin-bottom: 6px;
		}

	div#news-container div.news-item div.news-body {
		margin-top: 12px;
	}

		div#news-container div.news-item div.news-body p {
			line-height: 1.5em;
			margin-top: 8px;
		}


div.actions {
	margin: 20px 0px;
	font-size: 13px;
}

p.error {
	margin: 10px 0px;
	text-align: center;
	color: red;
}


/* Pályázatok */

html.menu-item-136,
body.menu-item-136 {
	background-color: black;
	background-image: url(/static/img/default/palyazatok/palyazatok-bg.jpg);
}

body.menu-item-136 ul.overlay-content li a {
	background: transparent;
}

div.palyazatok .red {
	color: #ff7c70;
}

div.palyazatok .green {
	color: #40e49d;
}

table.palyazatok-1 {
	margin-left: auto;
}

table.palyazatok-1 td {
	line-height: 1.6;
	padding: 4px 8px;
	vertical-align: top;
}

html.menu-item-136 #main div.palyazatok .green a {
	color: #40e49d;
}

table.palyazatok-2 {
	margin-right: auto;
}

table.palyazatok-2 td {
	line-height: 1.6;
	padding: 4px 8px;
	vertical-align: top;
}

#main div.palyazatok p.p-1 {
}
#main div.palyazatok p.p-2 {
	text-align: right;
}
#main div.palyazatok p.p-3 {
}
#main div.palyazatok p.p-4 {
	text-align: right;
}
#main div.palyazatok p.p-5 {
}
#main div.palyazatok h3.h-1 {
	text-align: right;
}
#main div.palyazatok p.p-6 {
	text-align: right;
}
#main div.palyazatok h3.h-2 {
	text-align: right;
}
#main div.palyazatok h3.h-3 {
	text-align: right;
}
#main div.palyazatok p.p-7 {
	text-align: right;
}
#main div.palyazatok h3.h-4 {
	text-align: right;
}
#main div.palyazatok p.p-8 {
	text-align: right;
}

#main div.palyazatok div.vetes-linkek {
	text-align: center;
}

#main div.palyazatok div.forgo-linkek {
	text-align: center;
}

#main div.palyazatok div.vetes-linkek a.segedanyagok,
#main div.palyazatok div.forgo-linkek a.segedanyagok {
	border: 1px solid #ff7c70;
	color: #ff7c70;
	display: block;
	padding: 10px;
}

#main div.palyazatok div.vetes-linkek a.felhivas,
#main div.palyazatok div.forgo-linkek a.felhivas {
	border: 1px solid #40e49d;
	color: #40e49d;
	display: block;
	margin-top: 10px;
	padding: 10px;
}




/* registration */

div.device-container {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

	div.device-container div.box {
		background-color: #f0f0f0;
		border-radius: 20px;
		border-color: #d0d0d0;
		border-style: solid;
		border-width: 1px;

		color: #404040;
		/* font-weight: 400; */
		/* margin: 20px 10px; */
		min-height: 200px;
		padding: 10px;
		width: 300px;
	}

		div.device-container div.box div.data {
			margin-top: 20px;
			min-height: 120px;
			overflow: hidden;
		}

		#main div.device-container div.box h2 {
			align-items: center;
			display: flex;
			justify-content: space-between;

			background-color: #e8e8e8;
			background-image: linear-gradient(to right, #d8d8d8, #e8e8e8 ); 
			border-radius: 10px;
			font-size: 12pt;
			font-weight: 600;
			/* letter-spacing: 0.1em; */
			margin: 0px 0px 15px 0px;
			padding: 8px 10px;
			height: 24px;
		}

		div.device-container div.box svg.device {
			width: 36px;
			height: auto;
		}

	div.device-container svg.icon {
		width: 20px;
		height: auto;
	}



	 /* The switch - the box around the slider */
	div.device-container .switch {
		position: relative;
		display: inline-block;
		width: 60px;
		height: 30px;
	}

	/* Hide default HTML checkbox */
	div.device-container .switch input {
		opacity: 0;
		width: 0;
		height: 0;
	}

	/* The slider */
	div.device-container .slider {
		position: absolute;
		cursor: pointer;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: #ccc;
		-webkit-transition: .4s;
		transition: .4s;
	}

	div.device-container .slider:before {
		position: absolute;
		content: "";
		height: 22px;
		width: 22px;
		left: 4px;
		bottom: 4px;
		background-color: white;
		-webkit-transition: .4s;
		transition: .4s;
	}

	div.device-container input:checked + .slider {
		background-color: #008000;
	}

	div.device-container input:focus + .slider {
		box-shadow: 0 0 1px #404040;
	}

	div.device-container input:checked + .slider:before {
		-webkit-transform: translateX(26px);
		-ms-transform: translateX(26px);
		transform: translateX(26px);
	}

	/* Rounded sliders */
	div.device-container .slider.round {
		border-radius: 30px;
	}

	div.device-container .slider.round:before {
		border-radius: 50%;
	}

	div.device-container div.device-icon-container {
		align-items: center;
		display: flex;
		justify-content: space-between;
		margin-top: 10px;
	}

	div.device-container div.device-icon-container svg.unselected {
		opacity: 0.2;
	}


	div.device-container div.actions {
		display: flex;
		justify-content: space-between;
		margin: 20px 0px 0px 0px;
	}

		#main div.device-container div.actions a {
			display: flex;
			align-items:center;

			background-color: #e0e0e0;
			border-color: #c0c0c0;
			border-radius: 10px;
			border-style: solid;
			border-width: 1px;
			color: #404040;
			padding: 8px;
		}

		#main div.device-container div.actions a:hover {
			background-color: #d0d0d0;
			color: black;
			text-decoration: none;
		}

			div.device-container div.actions a img {
				margin-right: 8px;
			}

	div.button-container {
		margin: 30px 0px;
	}

		div.button-container input {
			background-color: bisque;
			border-color: #c0c0c0;
			border-radius: 10px;
			border-style: solid;
			border-width: 1px;
			color: black;
			padding: 10px 40px;
		}

form#new_device_form input[type="text"] {
	border-color: #c0c0c0;
	border-radius: 10px;
	border-style: solid;
	border-width: 1px;
	font-size: 10pt;
	padding: 4px 6px;
	width: 160px;
}

/*
input[type="text"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="datetime-local"],
textarea {
	border: 1px solid #bfbfbf;
	font-family: 'Open Sans', sans-serif;
	font-size: 10pt;
	margin: 0;
	padding: 4px;
}

input[type="number"] {
	width: 80px;
}

input[type="button"],
input[type="submit"],
input[type="reset"],
button.reset-form {
	background-color: #c0c0c0;
	border: 1px solid #bfbfbf;
	cursor: pointer;
	font-family: 'Open Sans', sans-serif;
	font-size: 10pt;
	margin: 0;
	padding: 4px;
}
*/

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #b0b0b0;
	margin: 2em 0;
	padding: 0;
}

div.new-device-icon {
	text-align: center;
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

table.data th {
	color: #808080;
	font-weight: normal;
	padding: 5px 10px 5px 0px;
	text-align: left;
	white-space: nowrap;
}

table.data td {
	padding: 5px 0px 5px 0px;
	white-space: nowrap;
}

div#new_device_form_container {
	height: 100%;
	position: relative;
}

	div#new_device_form_container div.actions {
		position: absolute;
		bottom: 0px;
	}


form#new_device_form {
	height: 100%;
}

	div#new_device_form_container div.mac_address_container {
		align-items: center;
		display: flex;
		justify-content: space-between;
	}

div.net-contacts {
	margin-top: 40px;
}

	div.net-contacts div {
		margin-top: 20px;
	}

		div.net-contacts div p {
			margin: 5px 0 0 0;
		}

		div.net-contacts div p.floor {
			font-weight: bold;
		}

		div.net-contacts div p.name {
			font-weight: normal;
		}

div.switch-container {
	align-items: center;
	display: flex;
	justify-content: space-between;
	gap: 10px;
}
