* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}

.short{
	max-width: 5em;
}

i.sort {
	font-size: 1.5em;
	margin-right: 0.3em;
	color: #39CCCC;
}

/*NEXT BUTTON FROM OG VERSION*/
/*#next{*/
input[type="button"]:disabled {
	background-color: grey;
	cursor: not-allowed;
}

a.button i {
	font-size: 1.3em;
	margin: 0.15em;
}
a.button.edit i {
	color: #39CCCC;
}
a.button.remove i {
	color: #FF4136;
}
a.button.print i {
	color: #AAAAAA;
}
i.fa-check{
	color: #2ECC40;
}
/*
input {
	border: 1px solid black;
	padding-left: 0.2em;
}
*/
form.app input:focus {
	background-color: rgb(204,204,204);
}

input#rendszam {
	text-transform: uppercase;
}
input.main.rendszam,
form[name="adduser"] input[type="text"] {
	padding: 0.2em 0.1em;
}
#appleMail th {
	font-size: 0.85em;
}

/*
header, nav, section, article, aside, footer {
	display: block;
}
*/
body {
	font: 12px Arial, Tahoma, Verdana, sans-serif;
	width: 100%;
	height: 100%;
}
/*
a {
	color: blue;
	outline: none;
	text-decoration: underline;
}
*/
a:hover {
	text-decoration: none;
}

footer a{
	color: black;
	text-decoration: none !important;
}

/*WILL NEED CHANGING*/
div.tableSummary{
	margin-bottom: 15em;
}

/* ?? WHY AGAIN
p {
	margin: 0 0 18px
}
img {
	border: none;
}
input {
	vertical-align: middle;
}
*/
#wrapper {
	width: 800px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

/*
header{
	height: min-content;
}
TEMPORARILY REMOVE THIS BELOW
*/
main.main{
	font:normal normal normal 14.0pt 'Myriad Pro';
	color: #696969;
	flex: 1;
	display: flex;
    flex-direction: column;
	margin: 0 2.5em;
}

table{
	width: 100%;
	border-collapse: collapse;
}

table td,
table th{
	border: 1px solid black;
}

label > span.serv-new {
	color: red;
	margin-left: 0.5em;
}

.new {
	border: 1px solid #000000;
	background: #F60;
}
.verynew {
	border: 1px solid #000000;
	background: #F0F;
}
.ready {
	border: 1px solid #000000;
	background: #AFA;
}
.locale {
	border: 1px solid #000000;
	background: #FF3;
}
.future {
	border: 1px solid #000000;
	background: #0FF;
}
/*
#content {
	padding: 0 0 50px;
}
*/


/*CONTENT FROM DESIGN.CSS*/

a link,
a img,
a visited,
a active,
a hover {
	text-decoration: none
}

body,html{
	height:100%;
	display: flex;
	flex-direction: column;
}


/*????? WHYYY
body {
	overflow:hidden;
}
*/
.input {
	border: 1px solid #ccc;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-moz-box-shadow: 2px 2px 3px #666;
	-webkit-box-shadow: 2px 2px 3px #666;
	box-shadow: 2px 2px 3px #666;
	font-size: 20px;
	padding: .25em;
	outline: 0;
	-webkit-appearance: none;

}
/* START OF INDEX CSS */
#outer {
    position: relative;
}
#outer a {
    position: absolute;
    top: 50%;
	transform: translateY(-50%);
    right: 5.05em;
	text-decoration:none;
}

main.index{
	font:normal normal normal 12.0pt 'Myriad Pro';
	width:100%;
	height:100%;
	display: flex;
	/*color: #000;
	background-image:url(login_bg_grad_v1.png);
	background-position:center;
	background-repeat:no-repeat;*/
}

#loginbox {
	margin: auto;
	text-align: center;
}

#login_form label{
	color: #666666;
}

/* END OF INDEX CSS */
/*END OF CONTENT FROM DESIGN.CSS*/

/* HEADER.PHP STYLE*/
/* APPLE STYLE NAVIGATION MENU */
header,
footer{
	height: min-content;
}
header nav{
	display: flex;
	width: 100%;
	padding: 0 2.5em;
	box-sizing: border-box;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}

/*USER TABLE*/
#appleMail{
	border-collapse: collapse;
    width: 100%;
    outline: 1px solid black;
    cursor: default;
    margin: 1em auto;
}


#appleMail th {
	background:transparent;
	font-family: "Century Gothic", Verdana, Arial, Helvetica, sans-serif;
	letter-spacing:-0.5px;
}
#appleMail tr:first-child{
	font-size: 1.25em !important;
}

#appleMail tr {
	background:transparent;
	height: 1.5em;
	font-size: 1em !important;
	font-family: "Century Gothic", Verdana, Arial, Helvetica, sans-serif;
	letter-spacing:-0.5px;
	font-size:10px;
}

#appleMail td {
	text-align: center;
}

#appleMail tr:hover {

	background-image: linear-gradient(bottom, #4C96E6 0%, #FFFFFF 85%);
	background-image: -o-linear-gradient(bottom, #4C96E6 0%, #FFFFFF 85%);
	background-image: -moz-linear-gradient(bottom, #4C96E6 0%, #FFFFFF 85%);
	background-image: -webkit-linear-gradient(bottom, #4C96E6 0%, #FFFFFF 85%);
	background-image: -ms-linear-gradient(bottom, #4C96E6 0%, #FFFFFF 85%);

	background-image: -webkit-gradient(
		linear,
		left bottom,
		left ,
		color-stop(0, #4C96E6),
		color-stop(0.85, #FFFFFF)
	);


}
/* END OF HEADER.PHP STYLE*/
/* INLINE CLASSES */
div.horizontalDivider{
	width:100%;
	display:block;
	position: relative;
	border-bottom: 1px;
	border-bottom-style:groove;
	border-bottom-color:#000;
	margin: 0 0 1em;
}

div.row{
	display: flex;
	justify-content: space-between;
	/*margin-top: .5em;*/
}

section#csomagok,
section.szolgaltatasok{
	/* width: max-content; */
    margin: 1em auto 0;
    text-align: left;
}
article.service{
	display: block;
	padding-bottom: .5em;
}

article.service > input{
	float: left;
	height: 2em;
	width: 2em;
	margin-right: 1em;
}

input#polir_elem {
	width: 3.5em;
}

article#expectedIncome {
	width: max-content;
}

article#expectedIncome div{
	/* pointless after above property was added
	box-sizing: border-box;
	padding: 0 2.5em;
	width: 30%;
	*/
}

article#expectedIncome p{
	float: right;
}

article#expectedIncome span,
article#expectedIncome p{
	display: inline-block;
}


/* Smaller iPhones portrait, pointless really*/
@media only screen and (max-device-width: 540px) and (-webkit-min-device-pixel-ratio: 2) {
	/*body{
		background-color: blue;
	}*/
}

/* Smaller iPhones landscape*/
@media only
screen and (max-device-width: 540px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape){
	#reklam > .products{
		display: flex;
	    flex-direction: row;
	    width: 100%;
	}

	#reklam > .products > .productImage{
		width: 30%;
	}

	#reklam > .products > .productImage img{
		width: 100%;
	}

	main.main > a {
		text-align: center;
		font-size: 2em;
	}

	/*body{
		background-color: red;
	}
	form input[type="submit"],
	form input[type="button"],
	a.button{
		padding: 0;
		cursor: pointer;
		color: #000;
		border: 1px solid #000;
		background-color: #FFF;
		font-family: Century Gothic, sans serif;
		line-height: normal !important;
		height: auto !important;
	}*/

	#next{
		width: min-content;
		padding: 0.25em 1em;
		cursor: pointer;
		color: #000;
		border: 1px solid #000;
		background-color: #FFF;
		font-family: Century Gothic, sans serif;
	}

	main.main{
		font-size: 12px !important;
	}
	section.orderContainer{
		margin: 2.5em 0;
		border: 2px solid black;
		border-bottom: 1px solid black;
	}

	article.row{
		width: 100%;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		font-size: 3em;
		border-bottom: 1px solid black;
	}

	article.row > aside{
		padding-left: 1em;
		padding-top: .5em;
		padding-bottom: .5em;
		box-sizing: border-box;
	}

	article.row > aside.left{
		flex-basis: 30%;
	}

	article.row > aside.right{
		flex-basis: 70%;
	}

	article.row > aside.accountLeft{
		flex-basis: 40%;
	}

	article.row > aside.accountRight{
		flex-basis: 60%;
	}

	article.row > aside.right > button{
		font-size: 1em;
	}

	article.listContainer > h2{
		font-size: 3em;
		margin: 1em 0;
		text-align: center;
	}

	#legend{
		font-weight: bold;
		text-align: center;
		font-size: 2em;
	}

	.main.list nav{
		margin: 1em auto;
	}

	.main nav a{
		background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
		background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
		background-color: #5f5f5f;
		color: white;
		text-decoration: none;
		display: inline-block;
		padding: .5em;
	}

	.main nav a,
	.main.list input,
	.main.list select{
		font-size: 2em;
	}

	article.colorCodes{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		font-size: 2em;
		justify-content: center;
	}

	input.short{
		width: 4em;
	}

	input.long{
		width: 8em;
	}

	.main.list label,
	.main.list h3{
		font-size: 3em;
	}

	article.listContainer{
		font:normal normal normal 7.5pt 'Century Gothic';
		color:#000;
	}

	div.buttonFiters{
		text-align: center;
		margin: 1em 0;
	}

	div.filters{
		/*
		display: flex;
		flex-direction: column;
		*/
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		/*align-items: center;*/

	}

	div.filters form{
		justify-content: center;
		margin: 0 auto;
	}

	form > h3{
		width: 100%;
		text-align: center;
	}

	#dateRange{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
	}

	#dateRange > article:last-child{
		margin: auto 0;
	}

	#numberPlateSection form > input[type="text"]{
		width: 10em;
	}

	#timeSetter{
		display: block;
		margin-top: 1em;
	}

	#carDetails{
		width: max-content;
		font-size: 1.5em;
		margin-top: -.25em;
	}

	div.row{
		margin-top: .25em;
	}

	div.row > input,
	div.row > select{
		font-size: .75em;
	}

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

	#calendar{
		text-align: center;
    	font-size: 1.5em;
	}

	#calendar select{
		font-size: 1em;
	}

	#calendar select#hour{
		margin: 0 .5em;
	}

	section.szolgaltatasok {
	    width: 45%;
	}

	article.service {
	    font-size: 1.5em;
	}

	#services{
		display: flex;
	    flex-direction: row;
	    flex-wrap: wrap;
	}

	#services h2{
		width: 100%;
		text-align: center;
		font-size: 2.5em;
	}

	#extraInfo{
		width: 100%;
		text-align: center;
	}

	#extraInfo > div{
		margin: 1em 0;
	}

	#extraInfo textarea{
		width: 80%;
		min-height: 5em;
		resize: vertical;
		font-size: 1.5em;
	}

	#extraInfo input{
		padding: 0.5em;
		font-size: 1em;
	}

	body, html {
		height: 100%;
		display: block;
	}

	main.main{
		font:normal normal normal 14.0pt 'Myriad Pro';
		color: #696969;
		flex: 1;
		display: flex;
	    flex-direction: column;
		margin: 0 2.5em;
	}

	.statusMessage{
		text-align: center;
		font-size: 1.5em;
		margin: 1em 0;
	}

	#addusr{
		text-align: center;
		margin: 0 auto;
		width: 100%;
	}
	#addusr article{
		display: flex;
		justify-content: space-between;
	}

	#addusr aside{
		width: 45%;
		font-size: 2em;
		text-align: center;
	}

	#addusr article input{
		display: block;
		font-size: 1em;
		width: 100%;
	}
	#addusr input[type="checkbox"]{
		width: 1em;
		height: 1em;
		margin: 0 auto;
	}

	#addusr input[type="submit"]{
		font-size: 1.5em;
		padding: 0.5em;
		margin-top: 1em;
	}

	body, html {
		height: 100%;
		display: block;
	}

	main.main{
		font:normal normal normal 14.0pt 'Myriad Pro';
		color: #696969;
		flex: 1;
		display: flex;
		flex-direction: column;
		margin: 0 2.5em;
	}

	#numberPlateSection{
		margin: 2em auto;
		text-align: center;
	}

	#numberPlateSection form input{
		font-size: 1.5em;
	}

	/* APPLE STYLE NAVIGATION MENU */
	#headerNav {
		/* Lucinda Grande is the font used on the website from Apple. */
		font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; letter-spacing:-0.5px; font-size:13px;
	}

	#headerNav li{
		/* Gradient backgrounds for the buttons. Generated using http://gradients.glrzad.com/ */
	   background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
	   background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
	   background-color:#5f5f5f; /* Fallback */
	}

	#headerNav > li {
		display:block;
		float:left;
		padding: 1em;
		height: 3em;
		border-right:1px solid #5d5d5d;
		border-left:1px solid #929292;
		border-bottom:1px solid #575757;
		border-top:1px solid #797979;
		color:white;
		text-decoration:none;
		text-align:center;
	}

	/* Set the states when hovering, except for the last item in the list (the search bar), since it doesn't need to change */

	#headerNav li:hover {
		background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
		background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
		background-color:#383838; /* Fallback */

		/* We use the inset of the box shadow to create a subtle inner glow when hovering */
		-moz-box-shadow: inset 0 0 5px 5px #535353;
		-webkit-box-shadow: inset 0 0 5px 5px #535353;
		box-shadow: inset 0 0 5px 5px #535353;
	}

	/* When the user clicks the button, we simply change the box inset (compared to the "hover") */
	#headerNav li:active {
		background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
		background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
		background-color:#383838; /* Fallback */

		-moz-box-shadow: inset 0 1px 2px 2px #000;
		-webkit-box-shadow: inset 0 1px 2px 2px #000;
		box-shadow: inset 0 1px 2px 2px #000;

	}

	#headerNav li a {
		color:white;
		text-decoration:none;
		text-align:center;
		display:block;
		font-size: 3em
	}

	#headerNav > li > ul {
		display: none;
		margin: 0;
		padding: 0;
		position: relative;
		top: 1px;
		left: 0;
		z-index:999;
		color: red;
	}

	#headerNav li:hover > ul {
		display: block;
	}

	#headerNav li#dropdownButton{
		position: relative;
	}

	#headerNav ul#dropdown{
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
	}

	#headerNav ul#dropdown > li {
		position: relative;
		border:none;
		color: black;
		list-style-type: none;
	}

	#headerNav ul#dropdown > li > a{
		padding: .25em .5em;
		box-sizing: border-box;
	}

	#headerNav ul a {
		color:white;
		text-decoration:none;
		text-align:center;
		display:block;
	}

	#jobb img{
		height: 5rem;
	}

	#jobb{
		width: /*100%*/ auto !important;
	}

	#jobb ul{
		display: flex;
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;
		font-size: 3em;
	}
	/*HEADER END*/
	/* FOOTER START*/
	footer {
		width: 100%;
		font-family: 'Myriad Pro';
		font-size: 3em;
		color: #000;
		/*height: 3e;*/
		height: min-content;
	}

	footer nav{
		margin: 2.5em 0;
	}

	footer #footerTop,
	footer #footerMiddle,
	footer #footerBottom{
		width: 100%;
		text-align: center;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-top: 1em;
	}

	footer ul{
		display: flex;
	}

	footer li{
		display: inline-block;
		align-items: center;
	}

	footer li img{
		height: 3em;
	}
	/*FOOTER END*/

	/*SETTINGS PAGE START*/

	.calendar{
		display: flex;
		flex-direction: column;
		text-align: center;
	}

	.calendar > h1{
		font-size: 3em;

	}

	.calendar > h2{
		font-size: 2em;
	}

	.calendar > form#calendarSettings{
		text-align: center;
		font-size: 2.5em;
		margin: 1.5em 0;
	}

	.calendar > form#calendarSettings select,
	.calendar > form#calendarSettings input,
	.summaries > form > select,
	.summaries > form > input{
		height: 2em;
		font-size: .5em;
	}

	.calendar input{
		padding: 0 0.5em;
	}

	#div_date2{
		margin: 0 auto;
		width: 350px !important;
		height: 380px !important;
	}

	#calendar-page{
		transform: scale(2);
		transform-origin: top left;
	}

	.summaries{
		font-size: 2.5em;
	}

	#outer {
	    position: relative;
	}
	#outer a {
	    position: absolute;
	    top: 50%;
		transform: translateY(-50%);
	    right: 0em;
		text-decoration:none;
	}

	main.index{
		font:normal normal normal 12.0pt 'Myriad Pro';
		width:100%;
		height:100%;
		display: flex;
		/*color: #000;
		background-image:url(login_bg_grad_v1.png);
		background-position:center;
		background-repeat:no-repeat;*/
	}

	#loginbox {
		width: 60%;
		height: auto;
		margin: auto;
		text-align: center;
	}

	#loginbox img{
		width: 80%;
		height: auto;
	}

	#login_form input{
		font-size: 2.5em;
		width: 100%;
	}

	#outer > a > img{
		height: 3em;
		width: auto;
		margin-right: 1em;
	}
/*
	#login_form input[type="password"]{
		background: url(../design/submit.png) no-repeat scroll;
	    background-position: right;
	    background-size: auto 50%;
		background-color: white;
	}
*/
	#login_form input[type="checkbox"]{
		width: 1em;
		height: 1em;
	}

	#login_form label{
		color: #666666;
		font-size: 3em;
	}

}


@media only
screen and (min-device-width: 540px) and (-webkit-min-device-pixel-ratio: 2) and (orientation : landscape){
	/*
	body{
		background-color: pink;
	}
	*/
	main.main > a {
	    text-align: center;
		font-size: 2em;
	}

	#reklam > .products{
		display: flex;
	    flex-direction: row;
	    width: 100%;
	}

	#reklam > .products > .productImage{
		width: 30%;
	}

	#reklam > .products > .productImage img{
		width: 100%;
	}

	#next{
		width: min-content;
	    padding: 0.25em 1em;
	    cursor: pointer;
	    color: #000;
	    border: 1px solid #000;
	    background-color: #FFF;
	    font-family: Century Gothic, sans serif;
	}
	main.main{
		font-size: 12px !important;
	}

	section.orderContainer{
		margin: 2.5em 0;
		border: 2px solid black;
		border-bottom: 1px solid black;
	}

	article.row{
		width: 100%;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		font-size: 3em;
		border-bottom: 1px solid black;
	}

	article.row > aside{
		padding-left: 1em;
		padding-top: .5em;
		padding-bottom: .5em;
		box-sizing: border-box;
	}

	article.row > aside.left{
		flex-basis: 30%;
	}

	article.row > aside.right{
		flex-basis: 70%;
	}

	article.row > aside.accountLeft{
		flex-basis: 40%;
	}

	article.row > aside.accountRight{
		flex-basis: 60%;
	}

	article.row > aside.right > button{
		font-size: 1em;
	}

	#legend{
		font-weight: bold;
		text-align: center;
		font-size: 2em;
	}

	.main.list nav{
		margin: 1em auto;
	}

	.main nav a{
		background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
		background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
		background-color: #5f5f5f;
		color: white;
		text-decoration: none;
		display: inline-block;
		padding: .5em;
	}

	.main nav a,
	.main.list input,
	.main.list select{
		font-size: 2em;
	}

	article.colorCodes{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		font-size: 2em;
		justify-content: center;
	}

	input.short{
		width: 4em;
	}

	input.long{
		width: 8em;
	}

	.main.list label,
	.main.list h3{
		font-size: 3em;
	}

	article.listContainer{
		font:normal normal normal 7.5pt 'Century Gothic';
		color:#000;
	}

	article.listContainer > h2{
		font-size: 3em;
		margin: 1em 0;
		text-align: center;
	}

	div.buttonFiters{
		text-align: center;
		margin: 1em 0;
	}

	div.filters{
		/*
		display: flex;
		flex-direction: column;
		*/
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		/*align-items: center;*/

	}

	div.filters form{
		justify-content: center;
		margin: 0 auto;
	}

	form > h3{
		width: 100%;
		text-align: center;
	}

	#dateRange{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
	}

	#dateRange > article:last-child{
		margin: auto 0;
	}

	#numberPlateSection form > input[type="text"]{
		width: 10em;
	}

	#carDetails{
		width: max-content;
		font-size: 1.5em;
		margin-top: -.25em;
	}

	div.row{
		margin-top: .25em;
	}

	div.row > input,
	div.row > select{
		font-size: .75em;
	}

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

	#calendar{
		text-align: center;
    	font-size: 1.5em;
	}

	#calendar select{
		font-size: 1em;
	}

	#calendar select#hour{
		margin: 0 .5em;
	}

	section.szolgaltatasok {
	    width: 45%;
	}

	article.service {
	    font-size: 1.5em;
	}

	#services{
		display: flex;
	    flex-direction: row;
	    flex-wrap: wrap;
	}

	#services h2{
		width: 100%;
		text-align: center;
		font-size: 2.5em;
	}

	#extraInfo{
		width: 100%;
		text-align: center;
	}

	#extraInfo > div{
		margin: 1em 0;
	}

	#extraInfo textarea{
		width: 80%;
		min-height: 5em;
		resize: vertical;
		font-size: 1.5em;
	}

	#extraInfo input{
		padding: 0.5em;
		font-size: 1em;
	}

	main.main a{
		text-align: center;
	}

	article.service > input {
	    float: left;
	    height: 3em;
	    width: 3em;
	    margin-right: 1em;
	}
/*
	#addusr{
		text-align: center;
		margin: 0 auto;
		width: 80%;
	}
	#addusr article{
		display: flex;
		justify-content: space-between;
	}

	#addusr aside{
		width: 45%;
	}

	#addusr aside label{
		padding-right: 1em;
	}
	aside.left{
		text-align: right;
	}

	aside.right{
		    text-align: left;
	}
	#addusr article > input{
		display: block;
	}
*/

	.statusMessage{
		text-align: center;
		font-size: 1.5em;
		margin: 1em 0;
	}

	#addusr{
		text-align: center;
		margin: 0 auto;
		width: 100%;
	}
	#addusr article{
		display: flex;
		justify-content: space-between;
	}

	#addusr aside{
		width: 45%;
		font-size: 2em;
		text-align: center;
	}

	#addusr article input{
		display: block;
		font-size: 1em;
		width: 100%;
	}
	#addusr input[type="checkbox"]{
		width: 1em;
		height: 1em;
		margin: 0 auto;
	}

	#addusr input[type="submit"]{
		font-size: 1.5em;
		padding: 0.5em;
		margin-top: 1em;
	}

	body, html {
	    height: 100%;
	    display: block;
	}

	main.main{
		font:normal normal normal 14.0pt 'Myriad Pro';
		color: #696969;
		flex: 1;
		display: flex;
	    flex-direction: column;
		margin: 0 2.5em;
	}

	#numberPlateSection{
		margin: 2em auto;
		text-align: center;
	}

	#numberPlateSection form input{
		font-size: 1.5em;
	}

	/* APPLE STYLE NAVIGATION MENU */
	#headerNav {
	    /* Lucinda Grande is the font used on the website from Apple. */
	    font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; letter-spacing:-0.5px; font-size:13px;
	}

	#headerNav li{
		/* Gradient backgrounds for the buttons. Generated using http://gradients.glrzad.com/ */
	   background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
	   background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
	   background-color:#5f5f5f; /* Fallback */
	}

	#headerNav > li {
	    display:block;
		float:left;
		padding: 1em;
		height: 3em;
		border-right:1px solid #5d5d5d;
		border-left:1px solid #929292;
		border-bottom:1px solid #575757;
		border-top:1px solid #797979;
		color:white;
		text-decoration:none;
		text-align:center;
	}

	/* Set the states when hovering, except for the last item in the list (the search bar), since it doesn't need to change */

	#headerNav li:hover {
	    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
	    background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
	    background-color:#383838; /* Fallback */

	    /* We use the inset of the box shadow to create a subtle inner glow when hovering */
	    -moz-box-shadow: inset 0 0 5px 5px #535353;
	    -webkit-box-shadow: inset 0 0 5px 5px #535353;
	    box-shadow: inset 0 0 5px 5px #535353;
	}

	/* When the user clicks the button, we simply change the box inset (compared to the "hover") */
	#headerNav li:active {
	    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
	    background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
	    background-color:#383838; /* Fallback */

	    -moz-box-shadow: inset 0 1px 2px 2px #000;
	    -webkit-box-shadow: inset 0 1px 2px 2px #000;
	    box-shadow: inset 0 1px 2px 2px #000;

	}

	#headerNav li a {
	    color:white;
		text-decoration:none;
		text-align:center;
		display:block;
		font-size: 3em
	}

	#headerNav > li > ul {
		display: none;
		margin: 0;
		padding: 0;
		position: relative;
		top: 1px;
		left: 0;
		z-index:999;
		color: red;
	}

	#headerNav li:hover > ul {
		display: block;
	}

	#headerNav li#dropdownButton{
		position: relative;
	}

	#headerNav ul#dropdown{
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
	}

	#headerNav ul#dropdown > li {
		position: relative;
		border:none;
		color: black;
		list-style-type: none;
	}

	#headerNav ul#dropdown > li > a{
		padding: .25em .5em;
		box-sizing: border-box;
	}

	#headerNav ul a {
		color:white;
		text-decoration:none;
		text-align:center;
		display:block;
	}

	#jobb img{
		height: 5rem;
	}

	#jobb{
		width: /*100%*/ auto !important;
	}

	#jobb ul{
		display: flex;
	    flex-direction: row;
	    justify-content: flex-end;
	    align-items: center;
	    font-size: 3em;
	}
	/*HEADER END*/
	/* FOOTER START*/
	footer {
		width: 100%;
		font-family: 'Myriad Pro';
		font-size: 3em;
		color: #000;
		/*height: 3e;*/
		height: min-content;
	}

	footer nav{
		margin: 2.5em 0;
	}

	footer #footerTop,
	footer #footerMiddle,
	footer #footerBottom{
		width: 100%;
		text-align: center;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-top: 1em;
	}

	footer ul{
		display: flex;
	}

	footer li{
		display: inline-block;
		align-items: center;
	}

	footer li img{
		height: 3em;
	}
	/*FOOTER END*/

	/*SETTINGS PAGE START*/

	.calendar{
		display: flex;
		flex-direction: column;
		text-align: center;
	}

	.calendar > h1{
		font-size: 3em;

	}

	.calendar > h2{
		font-size: 2em;
	}

	.calendar > form#calendarSettings{
		text-align: center;
	    font-size: 2.5em;
		margin: 1.5em 0;
	}

	.calendar > form#calendarSettings select,
	.calendar > form#calendarSettings input,
	.summaries > form > select,
	.summaries > form > input{
		height: 2em;
		font-size: .5em;
	}

	.calendar input{
		padding: 0 0.5em;
	}


	#div_date2{
		margin: 0 auto;
		width: 350px !important;
	    height: 380px !important;
	}

	#calendar-page{
		transform: scale(2);
	    transform-origin: top left;
	}

	.summaries{
		font-size: 2.5em;
	}
	/*SETTINGS PAGE END*/
}

/*iPhone portrait*/
@media only
screen and (max-device-width: 540px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait){
	/*body{
		background-color: brown;
	}*/
/*
	tr.tdContainer{
		display: none;
	}
*/
main.main > a {
	text-align: center;
	font-size: 2em;
}

#reklam > .products{
	display: flex;
	flex-direction: row;
	width: 100%;
}

#reklam > .products > .productImage{
	width: 30%;
}

#reklam > .products > .productImage img{
	width: 100%;
}

#next{
	width: min-content;
	padding: 0.25em 1em;
	cursor: pointer;
	color: #000;
	border: 1px solid #000;
	background-color: #FFF;
	font-family: Century Gothic, sans serif;
}

	main.main{
		font-size: 16px !important;
	}

	/*
		#ordersTable{
			display: flex;
			flex-direction: row;
			flex-wrap: wrap;
			width: 100%;
		}

	#ordersTable{
		margin: 0 auto;
		text-align: center;
	}

	#ordersTable tr > th,
	#ordersTable tr > td{
		display: block;
		font-weight: 400;
	}
	#ordersTable tr{
		display: inline-block;
		font-size: 1em !important;
		margin: 0 auto;
	}

	#ordersTable tr:nth-child(odd){
		width: 30%;
	}

	#ordersTable tr:nth-child(even){
		width: 65%;
	}
	*/

	section.orderContainer{
		margin: 2.5em 0;
		border: 2px solid black;
		border-bottom: 1px solid black;
	}

	article.row{
		width: 100%;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		font-size: 3em;
		border-bottom: 1px solid black;
	}

	article.row > aside{
		padding-left: 1em;
		padding-top: .5em;
		padding-bottom: .5em;
		box-sizing: border-box;
	}

	article.row > aside.left{
		flex-basis: 30%;
	}

	article.row > aside.right{
		flex-basis: 70%;
	}

	article.row > aside.accountLeft{
		flex-basis: 40%;
	}

	article.row > aside.accountRight{
		flex-basis: 60%;
	}

	article.row > aside.right > button{
		font-size: 1em;
	}

	#legend{
		font-weight: bold;
		text-align: center;
		font-size: 2em;
	}

	.main.list nav{
		margin: 1em auto;
	}

	.main nav a{
		background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
		background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
		background-color: #5f5f5f;
		color: white;
		text-decoration: none;
		display: inline-block;
		padding: .5em;
	}

	.main nav a,
	.main.list input,
	.main.list select{
		font-size: 2em;
	}

	article.colorCodes{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		font-size: 2em;
		justify-content: center;
	}

	input.short{
		width: 4em;
	}

	input.long{
		width: 8em;
	}

	.main.list label,
	.main.list h3{
		font-size: 3em;
	}

	article.listContainer{
		font:normal normal normal 7.5pt 'Century Gothic';
		color:#000;
	}

	article.listContainer > h2{
		font-size: 3em;
		margin: 1em 0;
		text-align: center;
	}

	div.buttonFiters{
		text-align: center;
		margin: 1em 0;
	}

	div.filters{
		/*
		display: flex;
		flex-direction: column;
		*/
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		/*align-items: center;*/

	}

	div.filters form{
		justify-content: center;
		margin: 0 auto;
	}

	form > h3{
		width: 100%;
		text-align: center;
	}

	#dateRange{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
	}

	#dateRange > article:last-child{
		margin: auto 0;
	}


	.hideOnMobile{
		display: none;
	}

	table td{
		font-size: 1.5em;
	}

	article.service > label{
		font-size: 1.25em
	}

	article.service > input {
	    float: left;
	    height: 3em;
	    width: 3em;
	    margin-right: 1em;
	}

	main.main > a{
		text-align: center;
	}

	#carDetails{
		width: max-content;
		font-size: 1.5em;
		margin-top: -.25em;
	}

	div.row{
		margin-top: .25em;
	}

	div.row > input,
	div.row > select{
		font-size: .75em;
	}

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

	#calendar{
		text-align: center;
    	font-size: 1.5em;
	}

	#calendar select{
		font-size: 1em;
	}

	#calendar select#hour{
		margin: 0 .5em;
	}

	section.szolgaltatasok {
	    width: 45%;
	}

	article.service {
	    font-size: 1.5em;
	}

	#services{
		display: flex;
	    flex-direction: row;
	    flex-wrap: wrap;
	}

	#services h2{
		width: 100%;
		text-align: center;
		font-size: 2.5em;
	}

	#extraInfo{
		width: 100%;
		text-align: center;
	}

	#extraInfo > div{
		margin: 1em 0;
	}

	#extraInfo textarea{
		width: 80%;
		min-height: 5em;
		resize: vertical;
		font-size: 1.5em;
	}

	#extraInfo input{
		padding: 0.5em;
		font-size: 1em;
	}

	#timeSetter{
		display: block;
		margin-top: 1em;
	}

	section.calendar #exampleCalendar h2{
		font-size: 2em;
	}

	section.calendar .summaries > h1{
		margin: 1em 0;
	}

	#numberPlateSection > h2{
		font-size: 1.5em;
	}

	#numberPlateSection form > input[type="text"]{
		width: 10em;
	}

	.statusMessage{
		text-align: center;
		font-size: 2em;
		margin: 1em 0;
	}

	#addusr{
		text-align: center;
		margin: 0 auto;
		width: 100%;
	}

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

	#addusr aside{
		width: 45%;
		font-size: 2em;
		text-align: center;
	}

	#addusr article input{
		display: block;
		font-size: 1em;
		width: 100%;
	}
	#addusr input[type="checkbox"]{
		width: 1em;
		height: 1em;
		margin: 0 auto;
	}

	#addusr input[type="submit"]{
		font-size: 1.5em;
		padding: 0.5em;
		margin-top: 1em;
	}

	body, html {
	    height: 100%;
		display: block;
	}

	main.main{
		font:normal normal normal 14.0pt 'Myriad Pro';
		color: #696969;
		flex: 1;
		display: flex;
	    flex-direction: column;
		margin: 0 2.5em;
	}

	#numberPlateSection{
		margin: /*2em*/ auto;
		text-align: center;
	}

	#numberPlateSection form input{
		font-size: 1.5em;
	}
	/*SETTINGS PAGE START*/

	.calendar{
		display: flex;
		flex-direction: column;
		text-align: center;
	}

	.calendar > h1{
		font-size: 3em;
	}

	.calendar > h2{
		font-size: 2em;
	}

	.calendar > form#calendarSettings{
		text-align: center;
	    font-size: 2.5em;
		margin: 1.5em 0;
	}

	.calendar > form#calendarSettings select,
	.calendar > form#calendarSettings input,
	.summaries > form > select,
	.summaries > form > input{
		height: 2em;
		font-size: .5em;
	}

	.calendar input{
		padding: 0 0.5em;
	}


	#div_date2{
		margin: 0 auto;
		width: 350px !important;
	    height: 380px !important;
	}

	#calendar-page{
		transform: scale(2);
	    transform-origin: top left;
	}

	.summaries{
		font-size: 2.5em;
	}
	/*SETTINGS PAGE END*/

	/* APPLE STYLE NAVIGATION MENU */
	#headerNav {
	    /* Lucinda Grande is the font used on the website from Apple. */
	    font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; letter-spacing:-0.5px; font-size:13px;
	}

	#headerNav li{
		/* Gradient backgrounds for the buttons. Generated using http://gradients.glrzad.com/ */
	   background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
	   background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
	   background-color:#5f5f5f; /* Fallback */
	}

	#headerNav > li {
	    display:block;
		float:left;
		padding: 1em;
		height: 3em;
		border-right:1px solid #5d5d5d;
		border-left:1px solid #929292;
		border-bottom:1px solid #575757;
		border-top:1px solid #797979;
		color:white;
		text-decoration:none;
		text-align:center;
	}

	/* Set the states when hovering, except for the last item in the list (the search bar), since it doesn't need to change */

	#headerNav li:hover {
	    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
	    background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
	    background-color:#383838; /* Fallback */

	    /* We use the inset of the box shadow to create a subtle inner glow when hovering */
	    -moz-box-shadow: inset 0 0 5px 5px #535353;
	    -webkit-box-shadow: inset 0 0 5px 5px #535353;
	    box-shadow: inset 0 0 5px 5px #535353;
	}

	/* When the user clicks the button, we simply change the box inset (compared to the "hover") */
	#headerNav li:active {
	    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
	    background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
	    background-color:#383838; /* Fallback */

	    -moz-box-shadow: inset 0 1px 2px 2px #000;
	    -webkit-box-shadow: inset 0 1px 2px 2px #000;
	    box-shadow: inset 0 1px 2px 2px #000;

	}

	#headerNav li a {
	    color:white;
		text-decoration:none;
		text-align:center;
		display:block;
		font-size: 3em
	}

	#headerNav > li > ul {
		display: none;
		margin: 0;
		padding: 0;
		position: relative;
		top: 1px;
		left: 0;
		z-index:999;
		color: red;
	}

	#headerNav li:hover > ul {
		display: block;
	}

	#headerNav li#dropdownButton{
		position: relative;
	}

	#headerNav ul#dropdown{
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
	}

	#headerNav ul#dropdown > li {
		position: relative;
		border:none;
		color: black;
		list-style-type: none;
	}

	#headerNav ul#dropdown > li > a{
		padding: .25em .5em;
		box-sizing: border-box;
	}

	#headerNav ul a {
		color:white;
		text-decoration:none;
		text-align:center;
		display:block;
	}

	#jobb img{
		height: 5rem;
	}

	#jobb{
		width: /*100%*/ auto !important;
	}

	#jobb ul{
		display: flex;
	    flex-direction: row;
	    justify-content: flex-end;
	    align-items: center;
	    font-size: 3em;
	}
	/*HEADER END*/
	/* FOOTER START*/
	footer {
		width: 100%;
		font-family: 'Myriad Pro';
		font-size: 3em;
		color: #000;
		/*height: 3e;*/
		height: min-content;
	}

	footer nav{
		margin: 2.5em 0;
	}

	footer #footerTop,
	footer #footerMiddle,
	footer #footerBottom{
		width: 100%;
		text-align: center;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-top: 1em;
	}

	footer ul{
		display: flex;
	}

	footer li{
		display: inline-block;
		align-items: center;
	}

	footer li img{
		height: 3em;
	}
	/*FOOTER END*/
	#outer {
	    position: relative;
	}
	#outer a {
	    position: absolute;
	    top: 50%;
		transform: translateY(-50%);
	    right: 0em;
		text-decoration:none;
	}

	main.index{
		font:normal normal normal 12.0pt 'Myriad Pro';
		width:100%;
		height:100%;
		display: flex;
		/*color: #000;
		background-image:url(login_bg_grad_v1.png);
		background-position:center;
		background-repeat:no-repeat;*/
	}

	#loginbox {
		width: 80%;
		height: auto;
		margin: auto;
		text-align: center;
	}

	#loginbox img{
		width: 100%;
		height: auto;
	}

	#login_form input{
		font-size: 5em;
		width: 100%;
	}

	#outer > a > img{
		height: 5em;
		width: auto;
		margin-right: 1em;
	}
/*
	#login_form input[type="password"]{
		background: url(../design/submit.png) no-repeat scroll;
	    background-position: right;
	    background-size: auto 50%;
		background-color: white;
	}
*/
	#login_form input[type="checkbox"]{
		width: 1em;
		height: 1em;
	}

	#login_form label{
		color: #666666;
		font-size: 3.5em;
	}

}

/* iPhone and iPads landscape*/
@media only
screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 2) and (orientation : landscape)/*,
screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 1)*/{
	body,html{
		height: 100%;
		display: flex;
		flex-direction: column;
	}

	/*body{
		background-color: purple !important;
	}*/
	/*
	/* APPLE STYLE NAVIGATION MENU */
	#headerNav {
		/* Lucinda Grande is the font used on the website from Apple. */
		font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; letter-spacing:-0.5px; font-size:13px;
	}

	#headerNav li{
		/* Gradient backgrounds for the buttons. Generated using http://gradients.glrzad.com/ */
	   background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
	   background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
	   background-color:#5f5f5f; /* Fallback */
	}

	#headerNav > li {
		display:block;
		float:left;
		padding: 0 !important;
		height: 3em !important*/;
		border-right:1px solid #5d5d5d;
		border-left:1px solid #929292;
		border-bottom:1px solid #575757;
		border-top:1px solid #797979;
		color:white;
		text-decoration:none;
		text-align:center;
	}

	/* Set the states when hovering, except for the last item in the list (the search bar), since it doesn't need to change */

	#headerNav li:hover {
		background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
		background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
		background-color:#383838; /* Fallback */

		/* We use the inset of the box shadow to create a subtle inner glow when hovering */
		-moz-box-shadow: inset 0 0 5px 5px #535353;
		-webkit-box-shadow: inset 0 0 5px 5px #535353;
		box-shadow: inset 0 0 5px 5px #535353;
	}

	/* When the user clicks the button, we simply change the box inset (compared to the "hover") */
	#headerNav li:active {
		background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
		background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
		background-color:#383838; /* Fallback */

		-moz-box-shadow: inset 0 1px 2px 2px #000;
		-webkit-box-shadow: inset 0 1px 2px 2px #000;
		box-shadow: inset 0 1px 2px 2px #000;

	}

	#headerNav li a {
		color:white;
		text-decoration:none;
		text-align:center;
		display:block;
		/*padding: 0.25em !important;*/
		height: 1em !important;
		font-size: 1em !important;
	}

	#headerNav > li > ul {
		display: none;
		margin: 0;
		padding: 0;
		position: relative;
		top: 1px;
		left: 0;
		z-index:999;
		color: red;
	}

	#headerNav li:hover > ul {
		display: block;
	}

	#headerNav li#dropdownButton{
		position: relative;
	}

	#headerNav ul#dropdown{
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
	}

	#headerNav ul#dropdown > li {
		position: relative;
		border:none;
		color: black;
		list-style-type: none;
	}

	#headerNav ul#dropdown > li > a{
		padding: .25em .5em;
		box-sizing: border-box;
		height: min-content !important;
	}

	#headerNav ul a {
		color:white;
		text-decoration:none;
		text-align:center;
		display:block;
	}

	#jobb img{
		height: 5rem;
	}

	#jobb{
		width: /*100%*/ auto !important;
	}

	#jobb ul{
		display: flex;
		flex-direction: row;
		justify-content: flex-end !important;
		align-items: center;
		font-size: /*3em*/1.5em !important;
	}

	section.szolgaltatasok {
	    width: 30% !important;
	}

	article.service {
	    font-size: 1.5em;
	}

	#services{
		display: flex;
	    flex-direction: row;
	    flex-wrap: wrap;
	}

	#services h2{
		width: 100%;
		text-align: center;
		font-size: 2.5em;
	}

	#extraInfo{
		width: 100%;
		text-align: center;
	}

	#extraInfo > div{
		margin: 1em 0;
	}

	#extraInfo textarea{
		width: 80%;
		min-height: 5em;
		resize: vertical;
		font-size: 1.5em;
	}

	#extraInfo input{
		padding: 0.5em;
		font-size: 1em;
	}

	main.main a{
		text-align: center;
	}

	article.service > input {
	    float: left;
	    height: 3em;
	    width: 3em;
	    margin-right: 1em;
	}

	article.service > label,
	#next,
	.products > aside.productText{
		font-size: 1.5em !important;
	}

	#form1 > h2,
	#extraInfo > p{
		font-size: 3em !important;
	}

	#numberPlateSection form input {
    	font-size: 1em !important;
	}
	#addusr article input {
	    display: block;
	    font-size: .5em !important;
	    width: 50% !important;
		margin: 0 auto;
	}

	#addusr aside label {
    	padding-right: 0 !important;
	}

	#addusr input#next {
	    font-size: 1.5em !important;
	    padding: 0.5em !important;
	    margin-top: 1em !important;
	}

	/*.calendar > form#calendarSettings select,
	.calendar > form#calendarSettings input,
	.summaries > form > select,
	.summaries > form > input
 	{
	    height: auto !important;
	    font-size: 1em !important;
	}*/

	section.calendar h2{
		font-size: 1.5em !important;
	}

	section.calendar h1{
		font-size: 1em !important;
	}

	.main.list label,
	.main.list h3,
	section.calendar > h1{
		font-size: 2.5em !important;
	}

	div.filters > form{
		font-size: .75em;
	}

	.summaries label,
	.summaries > p,
	.summaries > form > #next{
		height: auto !important;
		font-size: .5em !important;
	}


	.summaries > form > select,
	.summaries > form > input,
	.calendar > form#calendarSettings select,
	.calendar > form#calendarSettings input{
		height: auto !important;
		font-size: .5em !important;
	}

	/*SETTINGS PAGE START*/

	.calendar{
		display: flex;
		flex-direction: column;
		text-align: center;
	}

	.calendar > h1{
		font-size: 3em;
	}

	.calendar > h2{
		font-size: 2em;
	}

	.calendar > form#calendarSettings{
		text-align: center;
	    font-size: 1.5em !important;
		margin: 1.5em 0;
	}

	.calendar input{
		padding: 0 0.5em;
	}


	#div_date2{
		margin: 0 auto;
		width: 175px !important;
	    height: 190px !important;
	}

	#calendar-page{
		transform: scale(2);
	    transform-origin: top left;
	}

	.summaries{
		font-size: 2.5em;
	}
}

/* iPad portrait*/
@media only
screen and (min-device-width : 540px) and (-webkit-min-device-pixel-ratio : 2) and (orientation : portrait) {
	/*body{
		background-color: purple;
	}*/
}

/*@media only screen and (min-device-width : 768px) and (-webkit-device-pixel-ratio : 3) and (orientation : landscape) {}*/

@media only screen and (max-width: 540px){
	main.main{
		margin: 0;
	}

	main.list{
		text-align: center;
	}

	article.grid{
		width: 80%;
		margin: 1em auto;
		text-align: center;
	}
	article#calendar,
	article#carDetails{
		width: 80% !important;
		display: block !important;
	}

	article#calendar{
		float: none !important;
	}
}

@media only screen and (max-width: 767px){
	main.main{
		margin: 0;
	}

	form input[type="submit"],
	form input[type="button"],
	a.button{
		width: 70px;
		padding: 0;
		cursor: pointer;
		color: #000;
		border: 1px solid #000;
		background-color: #FFF;
		font-family: Century Gothic, sans serif;
		font-size: 9pt;
		line-height: 8px;
		height: 20px;
	}

	.list nav,
	article.colorCodes{
		text-align: center;
	}
	/*listdetail is the page that's accessible through list.php when the button is clicked from a row*/
	div#listDetail a,
	.main nav a{
		background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
		background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
		background-color: #5f5f5f;
		color: white;
		text-decoration: none;
		display: inline-block;
		padding: .5em;
	}

	div#listDetail a{
		font-size: 1.5em;
	}
	div#listDetail form{
		width: max-content;
	}
	div#listDetail form div{
		/*display: block;*/
		display: flex;
		justify-content: space-between;
		flex-direction: row;
		font-size: 1.5em;
	    padding-bottom: .25em;
	}
	div#listDetail textarea{
		min-height: 3em;
		width: 100%;
		margin-left: 1em;
		resize: vertical;
	}
	div#listDetail input[type="submit"]{
		margin: 0 auto;
	}

	div.filters,
	div.buttonFiters{
		text-align: center;
	}

	#numberPlateSection h2{
		font-size: 1.25em;
	}

	#next{
		width: min-content;
		padding: 0.25em 1em;
		cursor: pointer;
		color: #000;
		border: 1px solid #000;
		background-color: #FFF;
		font-family: Century Gothic, sans serif;
	}

	.hideOnDesktop{
		display: none;
	}

	section#numberPlateSection{
		margin: auto;
		text-align: center;
	}

	#legend{
		font-weight: bold;
		text-align: center;
		/*font-size: 2em;*/
	}

	/* APPLE STYLE NAVIGATION MENU */
	#headerNav {
	    /* Lucinda Grande is the font used on the website from Apple. */
	    font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; letter-spacing:-0.5px; font-size:13px;
	}

	#headerNav li{
		/* Gradient backgrounds for the buttons. Generated using http://gradients.glrzad.com/ */
	   background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
	   background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
	   background-color:#5f5f5f; /* Fallback */
	}

	#headerNav > li {
	    display:block;
		float:left;
		border-right:1px solid #5d5d5d;
		border-left:1px solid #929292;
		border-bottom:1px solid #575757;
		border-top:1px solid #797979;
		color:white;
		text-decoration:none;
		text-align:center;
	}

	/* Set the states when hovering, except for the last item in the list (the search bar), since it doesn't need to change */

	#headerNav li:hover {
	    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
	    background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
	    background-color:#383838; /* Fallback */

	    /* We use the inset of the box shadow to create a subtle inner glow when hovering */
	    -moz-box-shadow: inset 0 0 5px 5px #535353;
	    -webkit-box-shadow: inset 0 0 5px 5px #535353;
	    box-shadow: inset 0 0 5px 5px #535353;
	}

	/* When the user clicks the button, we simply change the box inset (compared to the "hover") */
	#headerNav li:active {
	    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
	    background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
	    background-color:#383838; /* Fallback */

	    -moz-box-shadow: inset 0 1px 2px 2px #000;
	    -webkit-box-shadow: inset 0 1px 2px 2px #000;
	    box-shadow: inset 0 1px 2px 2px #000;

	}

	#headerNav li a {
		color: white;
	    text-decoration: none;
	    text-align: center;
	    display: block;
	    padding: 1em;
	    height: 1em;
	}

	#headerNav > li > ul {
		display: none;
		margin: 0;
		padding: 0;
		position: relative;
		top: 1px;
		left: 0;
		z-index:999;
		color: red;
	}

	#headerNav li:hover > ul {
		display: block;
	}

	#headerNav li#dropdownButton{
		position: relative;
	}

	#headerNav ul#dropdown{
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
	}

	#headerNav ul#dropdown > li {
		position: relative;
		border:none;
		color: black;
		list-style-type: none;
	}

	#headerNav ul#dropdown > li > a{
		padding: .25em .5em;
		box-sizing: border-box;
	}

	#headerNav ul a {
		color:white;
		text-decoration:none;
		text-align:center;
		display:block;
	}

	#jobb img{
		height: 3rem;
	}

	#jobb ul{
		display: flex;
	    flex-direction: row;
	    justify-content: center;
	    align-items: center;
	    font-size: 1.5em;
	}

	main.main > a{
		text-align: center;
	}

	article#calendar{
		float: right;
		margin: 0 auto;
		text-align: center;
	}

	article#calendar,
	article#carDetails{
		width: 50%;
		display: inline-block;
	}

	article.grid > div#div_date2{
		margin: 0 auto;
	}

	article#extraInfo{
		text-align: left;
	}
	article#extraInfo > textarea{
		resize: vertical;
		min-height: 5em;
		width: 100%;
	}

	#addusr{
		text-align: center;
		margin: 0 auto;
		width: 100%;
	}
	#addusr article{
		display: flex;
		justify-content: space-around;
		flex-wrap: wrap;
	}

	#addusr aside{
		width: min-content;
	}

	aside.left{
		text-align: right;
	}

	aside.right{
		text-align: left;
	}
	#addusr article > input{
		display: block;
	}

	footer {
		width: 100%;
		font:normal normal normal 10.0pt 'Myriad Pro'; color: #000;
		/*height: 3em;*/
		height: min-content;
	}

	footer nav{
		margin: 2.5em 0;
	}

	footer #footerTop,
	footer #footerMiddle,
	footer #footerBottom{
		width: 100%;
		text-align: center;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-top: 1em;
	}

	footer ul{
		display: flex;
	}

	footer li{
		display: inline-block;
		align-items: center;
	}

	footer li img{
		height: 3em;
	}

	p.phone{
		display: block;
		text-align: left;
		padding:0 .5em;
	}

	#productSection{
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		width: 80%;
		margin: 0 auto;
	}
	.products{
		display: flex;
		justify-content: space-around;
		flex-basis: 100%;
		 /* THE BELOW PROPERTY IS TO NOT STRETCH TO THE HEIGHT OF THE CONTAINER*/
		/*align-self: flex-start*/
	}

	.products > aside.productImage{
		width: 20%;
		text-align: center;
	}

	.products > aside.productImage > img{
		width: auto;
		max-width: 100%;
		height: auto;
	}

	.products > aside.productText{
		width: 70%;
	}

	div#div_date2{
		margin-top: 1em;
	}

	div#listDetail a{
		padding: .5em;
		font-size: 1.5em;
		background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
		background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
		background-color: #5f5f5f;
		color: white;
		text-decoration: none;
		display: inline-block;
	}

	div#listDetail form{
		width: max-content;
	}
	div#listDetail form div{
		/*display: block;*/
		display: flex;
		justify-content: space-between;
		flex-direction: row;
		flex-wrap: wrap;
		font-size: 1.5em;
	    padding-bottom: .25em;
	}

	div#listDetail textarea{
		min-height: 3em;
		width: 100%;
		margin-left: 1em;
		resize: vertical;
	}
	div#listDetail input[type="submit"]{
		margin: 0 auto;
	}
}

@media only
screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 1){
	/*body {
	    background-color: pink !important;
	}*/
	section.szolgaltatasok {
	    width: 25% !important;
		font-size: 0.8em;
	}
	#form1 > #extraInfo {
		display: block;
	    width: 70%;
	    margin: 0 auto;
	}
	footer{
		display: block;
	}
	article.service > input {
	    float: left;
	    height: 2em;
	    width: 2em;
	    margin-right: 1em;
	}
	#form1 > h2,
	#extraInfo > p {
	    font-size: 2em !important;
	}
}
@media only screen and (min-device-width: 768px) and (min-width: 768px){
/* basically #next
	form input[type="submit"],
	form input[type="button"],
	a.button{
		padding: 0;
		cursor: pointer;
		color: #000;
		border: 1px solid #000;
		background-color: #FFF;
		font-family: Century Gothic, sans serif;
	}
*/
	#orderHolder{
		display: flex;
		flex-direction:row;
		width: 100%;
	}

	#orderDetails{
		flex: 3;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	#bookingDetails{
		flex: 4;
	}

	.hideOnDesktop{
		display: none;
	}

	#next{
		width: min-content;
	    padding: 0.25em 1em;
	    cursor: pointer;
	    color: #000;
	    border: 1px solid #000;
	    background-color: #FFF;
	    font-family: Century Gothic, sans serif;
	}
	#legend{
		font-weight: bold;
		text-align: center;
		/*font-size: 2em;*/
		margin: 1em 0 -1em;
	}

	article.listContainer{
		font:normal normal normal 7.5pt 'Century Gothic';
		color:#000;
	}

	div.buttonFiters{
		text-align: center;
		margin: 1em 0;
	}

	div.filters{

		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
/*
		display: grid;/*
		grid-template-columns: 1fr 1fr;
		/*align-items: center;*/
	}

	div.filters form{
		justify-content: center;
		margin: 0 auto;
		width: 45%;
		text-align: center;
	}

	form > h3{
		width: 100%;
		text-align: center;
	}

	#dateRange{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
	}

	#dateRange > article:last-child{
		margin: auto 0;
	}

	.main.list{
		width: 100%;
		margin: 0;
		text-align: center;
	}

	article.colorCodes,
	.main nav{
		margin: 1em auto 0;
		text-align: center;
	}

	div#listDetail a,
	.main nav a{
		background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
		background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
		background-color: #5f5f5f;
		color: white;
		text-decoration: none;
		display: inline-block;
		padding: .5em;
	}

	div#listDetail a{
		font-size: 1.5em;
	}
	div#listDetail form{
		width: max-content;
	}
	div#listDetail form div{
		/*display: block;*/
		display: flex;
		justify-content: space-between;
		flex-direction: row;
		font-size: 1.5em;
	    padding-bottom: .25em;
	}
	div#listDetail textarea{
		min-height: 3em;
		width: 100%;
		margin-left: 1em;
		resize: vertical;
	}
	div#listDetail input[type="submit"]{
		margin: 0 auto;
	}

	section#numberPlateSection{
		margin: auto;
		text-align: center;
	}

	div#exampleCalendar,
	div.summaries,
	section.calendar h1{
		padding-top: 1em;
	}

	section.calendar h2{
		font-size: 1em;
		padding: 0 0 1em;
	}


	/* APPLE STYLE NAVIGATION MENU */
	#headerNav {
	    /* Lucinda Grande is the font used on the website from Apple. */
	    font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; letter-spacing:-0.5px; font-size:13px;
	}

	#headerNav li{
		/* Gradient backgrounds for the buttons. Generated using http://gradients.glrzad.com/ */
	   background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
	   background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
	   background-color:#5f5f5f; /* Fallback */
	}

	#headerNav > li {
	    display:block;
		float:left;
		border-right:1px solid #5d5d5d;
		border-left:1px solid #929292;
		border-bottom:1px solid #575757;
		border-top:1px solid #797979;
		color:white;
		text-decoration:none;
		text-align:center;
	}

	/* Set the states when hovering, except for the last item in the list (the search bar), since it doesn't need to change */

	#headerNav li:hover {
	    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
	    background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
	    background-color:#383838; /* Fallback */

	    /* We use the inset of the box shadow to create a subtle inner glow when hovering */
	    -moz-box-shadow: inset 0 0 5px 5px #535353;
	    -webkit-box-shadow: inset 0 0 5px 5px #535353;
	    box-shadow: inset 0 0 5px 5px #535353;
	}

	/* When the user clicks the button, we simply change the box inset (compared to the "hover") */
	#headerNav li:active {
	    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
	    background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
	    background-color:#383838; /* Fallback */

	    -moz-box-shadow: inset 0 1px 2px 2px #000;
	    -webkit-box-shadow: inset 0 1px 2px 2px #000;
	    box-shadow: inset 0 1px 2px 2px #000;

	}

	#headerNav li a {
	    color:white;
		text-decoration:none;
		text-align:center;
		display:block;
		padding: 1em;
		height: 1em;
	}

	#headerNav > li > ul {
		display: none;
		margin: 0;
		padding: 0;
		position: relative;
		top: 1px;
		left: 0;
		z-index:999;
		color: red;
	}

	#headerNav li:hover > ul {
		display: block;
	}

	#headerNav li#dropdownButton{
		position: relative;
	}

	#headerNav ul#dropdown{
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
	}

	#headerNav ul#dropdown > li {
		position: relative;
		border:none;
		color: black;
		list-style-type: none;
	}
/*
	#headerNav ul#dropdown > li > a{
		padding: .25em .5em;
		box-sizing: border-box;
	}
*/
	#headerNav ul a {
		color:white;
		text-decoration:none;
		text-align:center;
		display:block;
		height: 1em;
		padding: 1em;
	}

	#jobb img{
		height: 3rem;
	}

	#jobb ul{
		display: flex;
	    flex-direction: row;
	    justify-content: center;
	    align-items: center;
	    font-size: 1.5em;
	}

	#form1{
		display: flex;
		justify-content: space-between;
		flex-direction: row;
		flex-wrap: wrap;
		width: 100%;
	}

	#form1 > #cardetails > div.row{
		margin-bottom: .5em;
	}

	#form1 > #cardetails,
	#form1 > #calendar{
		width:40%;
		align-items: flex-start;
		margin: 0 auto;
		text-align: center;
	}

	#form1 > #calendar > div#div_date2{
		margin: 0 auto;
	}

	#form1 > #reklam{
		width: 100%;/*changed from 70 after putting h2 tag in booking outside of article tag*/
		margin: 0 auto;
	}

	#form1 > #reklam > img{
		float: left;
	}

	#form1 > #services{
		display: flex;
		justify-content: space-between;
		flex-direction: row;
		flex-wrap: wrap;
	}

	#form1 > #services > div{
		text-align: center;
		width: 100%;
		margin: 1em 0;
		font-size: 1.5em;
	}

	#form1 > #services > div > span{
		color: red;
	}

	#form1 > #services > .szolgaltatasok{
		/*width: 45%;*/
		flex-grow: 1;
	}

	#form1 > #extraInfo{
		width: 70%;
		margin: 0 auto;
	}

	#form1 > #extraInfo > textarea{
		resize: vertical;
		min-height: 5em;
		width: 100%;
	}

	main.main > a{
		text-align: center;
	}

	#addusr{
		text-align: center;
		margin: 0 auto;
		width: 100%;
	}
	#addusr article{
		display: flex;
		justify-content: space-between;
	}

	#addusr aside{
		width: 45%;
	}

	#addusr aside label{
		padding-right: 1em;
	}
	aside.left{
		text-align: right;
	}

	aside.right{
		    text-align: left;
	}
	#addusr article > input{
		display: block;
	}

	footer {
		width: 100%;
		font:normal normal normal 10.0pt 'Myriad Pro'; color: #000;
		height: min-content;
	}

	footer nav{
		margin: 2.5em 0;
	}

	footer #footerTop,
	footer #footerMiddle,
	footer #footerBottom{
		width: 100%;
		text-align: center;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-top: 1em;
	}

	footer ul{
		display: flex;
	}

	footer li{
		display: inline-block;
		align-items: center;
	}

	footer li img{
		height: 3em;
	}

	p.phone{
		display: block;
		text-align: left;
		padding:0 .5em;
	}

	#productSection{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		width: 100%;
		margin: -1em auto 0;
		justify-content: space-around;
	}

	.products{
		display: flex;
		flex-basis: 45%;
		margin-top: 1em;
		box-sizing: border-box;
		padding: .5em;
		border: 1px solid black;
	}

	.products > aside.productImage{
		width: 20%;
		text-align: center;
	}

	.products > aside.productImage > img{
		width: auto;
		max-width: 100%;
		height: auto;
	}

	.products > aside.productText{
		width: 80%;
	}

	main.fix{
		display: block !important;
	}
}

@media only screen and (min-device-width: 1024px) and (min-width: 1024px){
	div.filters{
		/*
		display: flex;
		flex-direction: column;
		*/
		display: grid;
		grid-template-columns:1fr 1fr 1fr;
		/*align-items: center;*/
	}
	div.filters form{
		justify-content: center;
		margin: 0 auto;
		width: 100%;
		text-align: center;
	}

	#ordersTable{
		font-size: 1.25em;
	}

	#form1 > #cardetails,
	#form1 > #calendar,
	#form1 > #reklam{
		width:30%;
		align-items:center;
	}

	#form1 > #services{
		width: 100%;
	}

	footer {
		width: 100%;
		font:normal normal normal 10.0pt 'Myriad Pro'; color: #000;
		height: min-content;
	}

	footer nav{
		margin: 2.5em 0;
		box-sizing: border-box;
		padding: 0 2.5em;
		display: flex;
	    justify-content: space-between;
	}

	footer #footerTop,
	footer #footerMiddle,
	footer #footerBottom{
		width: 30%;
		text-align: center;
		display: flex;
		/*justify-content: center;*/
		align-items: center;
		margin-top: 1em;
	}

	footer ul{
		display: flex;
	}

	footer li{
		display: inline-block;
		align-items: center;
	}

	footer li img{
		height: 3em;
	}

	p.phone{
		display: block;
		text-align: left;
		padding:0 .5em;
	}
	#form1 > #services > .szolgaltatasok{
		/*width: 20%;*/
		flex-grow: 2;
	}
	/*
	#form1 > #services > .csomagok{
		flex-grow: 1;
	}
	*/
}

@media only screen and (min-device-width: 1200px) and (min-width: 1200px){

}

@media only screen and (min-device-width: 1600px) and (min-width: 1600px){
	.products{
		flex-basis: 30%;
	}

	body{
		width: 70%;
		margin: 0 auto;
	}

	footer{
		width: 100%;
		margin: 0 auto;
	}

	footer nav{
		padding: 0;
	}
}

i.fa-newspaper {
	margin-right: 10px;
	color: red;
}
