@CHARSET "UTF-8";

/* GENERAL */

body {
    font-family: OpenSansRegular, sans-serif;
	color: #333;
	font-size: 16px;
	margin-top: 60px;
	min-width: 500px;
}

a {
	color: darkcyan;
	text-decoration: none;
}

a:hover {
	color: darksalmon;
}

.hidden {
	display: none;
}

.textleft {
	text-align: left;
}

.textright {
	text-align: right;
}

.textcenter {
	text-align: center;
}

.nowrap {
	white-space: nowrap;
}

.full {
	width: 100%;
}

.w50 {
	width: 50px;
}

.w150 {
	width: 150px;
}

.w100 {
	width: 100px;
}

.left {
	float: left;
	margin-right: 10px;
}

.clear {
	clear: both;
}

.w200 {
	width: 200px;
}

.todo {
	color: red;
}

.goodnews {
	color: green;
}

.bold {
	font-weight: bold;
}

/* LOGIN STRUCTURE */

#container, #login-container {
	width: 80%;
	margin: auto;
	display: flex;
}

#login-left {
	flex: 2;
	margin-right: 10px;	
}

#login-left img {
	height: 100%;
	max-height: 100%;
	width: 100%;
	object-fit: cover;
	border-radius: 10px 0 0 10px;
}

#login-right {
	flex: 1;
	display: flex;
	flex-direction: column;
}

#login-right-upper {
	flex: 1;
	display: flex;
	flex-direction: column;
}

#login-right-title {
	color: white;
	background: darkcyan;
	text-align: right;
	font-size: 24px;
	border-radius: 0 10px 0 0;
	padding-right: 10px;
	height: 40px;
	line-height: 40px;
	flex: 0;
}

#login-right-main {
	border: 2px solid darkcyan;
	background: #eee;
	flex: 1;
}

#login-left-main-outer {
	border: 2px solid darkcyan;
	border-radius: 10px 0 0 10px;
	height: 100%;
	background: #eee;
}

#login-right-main-inner, #login-left-main-inner {
	padding: 20px;
}

#login-right-sub {
	height: 80px;
	margin-top: 10px;
	display: flex;
}

#login-right-sub1, #login-right-sub2 {
	display: block;
	height: 80px;
	line-height: 80px;
	background: darkcyan;
	flex: 1;
	color: white;
	text-align: center;
	text-decoration: none;
}

#login-right-sub1 {
	margin-right: 10px;
}

#login-right-sub1:hover, #login-right-sub2:hover {
	background: darksalmon;
}

/* NEM LOGIN STRUCTURE */

#title {
	font-size: 30px;
	text-align: right;
	width: 80%;
	margin: auto auto 5px auto;
	background: url("../images/etc/mksz.png") no-repeat;
	background-size: auto 70px;
	height: 70px;
	line-height: 70px;
	color: darkcyan;
}
#title img {
	margin-top: 15px;
}

#menu {
	display: none;
}

#content {
	flex: 1;
	border: 2px solid darkcyan;
	margin-right: 10px;
	padding: 20px;
	background: #eee;
}

#maintitle {

}

#main {
	height: 500px;
	border: 1px solid darkcyan;
	margin-bottom: 10px;
	padding: 20px;
}

.button {
	margin-top: 20px;
	text-align: right;
}

#submain {
	display: flex;
}

#rights {
	width: 300px;
	display: flex;
	flex-direction: column;
}

#right1, #right2, #right3, #right4 {
	border: 2px solid darkcyan;
	background: #eee;
	font-size: 18px;
}

#right1 {
	/*height: 50px;*/
	flex: 0;
	margin-bottom: 10px;
}

#right2 {
	/*height: 400px;*/
	flex: 0;
	margin-bottom: 10px;
}

#right3 {
	flex: 0;
	margin-bottom: 10px;
}

#right4 {
	/*height: 50px;*/
	flex: 2;
}

.right-title {
	background: darkcyan;
	color: white;
	text-align: right;
	padding-right: 10px;
	height: 30px;
	line-height: 30px;
}

.right-content {
	padding: 10px;
}

#subfooter {
	display: none;
}

#footer {
	clear: both;
	width: 80%;
	margin: 10px auto 20px auto;
	font-size: 16px;
	color: #aaa;
}

#footer a {
	color: #aaa;
	text-decoration: none;
}

#footer-left {
	float: left;
}

#footer-right {
	float: right;
	text-align: right;
}

#logout {
	position: relative;
	top: 4px;
}

/* FORM */

input, select, textarea {
	font-family: OpenSansRegular, sans-serif;
	color: seagreen;
	font-size: 16px;
	padding: 10px;
	margin-bottom: 20px; 
	margin-top: 5px;
	border: 1px solid #ddd;
	border-radius: 2px;
	background: white;
}

input {
	width: 300px;
}

select {
	width: 320px;
}

textarea {
	width: 300px;
}

.datepicker {
	width: 300px;
  	background-image: url("../images/icons/calendar.png");
  	background-position: right 10px center;
  	background-repeat: no-repeat;
}

#login-right input {
	width: 100%;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

input[type=file] {
	border: none;
	background: none;
}

select {
	padding: 9px 10px 9px 10px;
}

.form-buttons {
	text-align: right;
	padding: 10px;
	margin-bottom: 5px;
}

.form-buttons a {
	cursor: pointer;
	padding-top: 9px;
	padding-bottom: 8px;
	background: darkcyan;
	width: 100px;
	color: white;
	display: inline-block;
	text-align: center;
}

.form-buttons a.secondary {
	background: darkgrey;
}

.form-buttons a:hover {
	background: darksalmon;
}

button {
	cursor: pointer;
	padding: 10px;
	background: darkcyan;
	width: 100px;
	border: none;
	border-radius: 2px;
	font-size: 16px;
	color: white;
	margin-bottom: 5px;
}

.secondary {
	background: darkgrey;
}

button:hover {
	background: darksalmon;
}

.buttons2 {
	margin-top: 10px;
	text-align: right;
}

.button2 {
	background: darkcyan;
	padding: 3px 5px 3px 5px;
	color: white;
	/*font-weight: bold;*/
	border-radius: 2px;
	margin-bottom: 5px;
}

.button2:hover {
	background: darksalmon;
	color: white;
}

.kotelezo input, .kotelezo select {
	/*background: lightpink;*/
}

.disabled input, .disabled select {
	color: #666;
}

.hiba, .hiba ul {
	color: red;
	list-style: none;
	padding: 0;
	margin: -10px 0 10px 0;
}

.page-title {
	clear: both;
	float: left;
	font-size: 24px;
	color: darkcyan;
	font-weight: bold;
	margin-bottom: 10px;
}

.page-subtitle {
	clear: both;
	font-size: 18px;
	color: darkcyan;
	font-weight: bold;
	margin-top: 30px;
}

.szekcio {
	border-bottom: 1px solid #ddd;
	margin-bottom: 10px;
	margin-top: 20px;
	clear: both;
	font-size: 20px;
	font-variant: small-caps;
	color: cadetblue;
}

.unit {
	margin-top: 3px;
	margin-bottom: 5px;
}

.cimke {
	font-style: italic;
}

.ertek {

}

.idpicture {
	width: 90%;
}

/* LIST */

.lista {
	margin-top: 5px;
	width: 100%;
	/*table-layout: fixed;*/
	border-collapse: collapse;
	clear: both;
}

.lista tbody .hover:hover td {
	background: #fffddd;
}

.lista th, .noresult {
	background: #ddd;
	height: 20px;
	line-height: 20px;
	font-size: 16px;
	font-style: italic;
	font-weight: normal;
	padding: 3px 5px 3px 5px;
	/*text-align: left;*/
	clear: both;
	white-space: nowrap;
}

.lista td {
	/*height: 20px;*/
	/*line-height: 20px;*/
	border-bottom: 1px solid #ddd;
	vertical-align: top;
	padding: 5px;
}

.lista td a {
	display: block;
	width: 100%;
	/*height: 20px;*/
	/*padding: 5px;*/
	color: #333;
	cursor: pointer;
}

@media only screen and (max-width: 1000px) {

	body {
		margin: 20px;
	}
	
	/* Menüsor, ami csak kis méretben jelenik meg */
	
	#menu {
		display: flex;
		height: 30px;
		line-height: 30px;
	}
	
	#menu1, #menu2 {
		padding-left: 10px;
		padding-right: 10px;
		background: darkcyan;
		/*margin-right: 5px;*/
		color: white;
		flex 0;
	}
	
	#menu-idle {
		padding-left: 10px;
		padding-right: 10px;
		flex: 1;
		background: darkcyan;	
	}
	
	#menu3 {
		padding-left: 10px;
		padding-right: 10px;
		/*margin-right: 5px;*/
		flex: 0;
		background: darkcyan;
		text-align: right;
		color: white;
	}
	
	#menu4 {
		background: darkcyan;
		flex: 0;
		/*width: 30px;*/
		padding-right: 5px;
		padding-left: 5px;
	}
	
	#menu1:hover, #menu2:hover, #menu3:hover, #menu4:hover {
		background: darksalmon;
	}
	
	#title {
		width: 100%;
	}
	
	.page-title {
		display: none;
	}
	
	/* Struktúra */
	
	#container {
		width: 100%;
		margin: auto;
		display: block;
	}
	
	#content {
		margin-right: 0;
		height: 100%;
	}
	
	#rights {
		display: none;
	}
		
	#login-container {
		width: 100%;
		margin: auto;
		flex-direction: column-reverse;
	}
	
	#login-left-main-outer {
		border-top: none;
	}
	
	#login-left {
		margin-right: 0;
		/*margin-top: 5px;*/
	}
	
	#login-left img {
		border-radius: 0;
		display: none;
	}
	
	#login-left-main-outer {
		border-radius: 0;
	}
	
	#login-right-title {
		border-radius: 0;
	}
	
	#login-right-main {
		border-bottom: none;
	}
	
	#login-right-sub {
		display: none;
	}
	
	#subfooter {
		height: 80px;
		margin-top: 10px;
		display: flex;
	}
	
	#subfooter1, #subfooter2 {
		display: block;
		height: 80px;
		line-height: 80px;
		background: darkcyan;
		flex: 1;
		color: white;
		text-align: center;
		text-decoration: none;
	}
	
	#subfooter1 {
		margin-right: 10px;
	}
	
	#login-right-sub1:hover, #login-right-sub2:hover {
		background: darksalmon;
	}
		
	#footer-left, #footer-right {
		float: none;
		text-align: center;
	}
	
	#footer-right {
		margin-top: 10px;
	}
	
	/* Form dolgok */
	
	.form-buttons {
		display: none;
	}
	
	.form-buttons-after {
		display: block;
		text-align: center;
	}
	
	.form-buttons-after a {
		cursor: pointer;
		padding-top: 9px;
		padding-bottom: 8px;
		background: darkcyan;
		width: 100px;
		color: white;
		display: inline-block;
		text-align: center;
	}

	.form-buttons-after a:hover {
		background: darksalmon;
	}

	.line {
		border-bottom: 2px solid darkcyan;
	}
}



