/*-------------------------------------------------------------
						
						CSS Reset
						
--------------------------------------------------------------*/

/* http://meyerweb.com/eric/tools/css/reset/ 2. v2.0 | 20110126
  License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*-------  Further CSS Reset  ---------*/

a {
	text-decoration: none;
	color: #2D2D2E;
}

/*-------------  Colors  ---------------
red:
#d90000

darkgrey:
#252525
--------------------------------------*/


/*-------------------------------------------------------------
						
						Body
						
--------------------------------------------------------------*/

body {
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    color: #2D2D2E;
    background-color: #ffffff;
}





header {
	display: block;
	width: 100%;
	height: 120px;
	background: white;
	position: fixed;
	top: 0;
	left: 0;
	box-shadow: 0px 5px 0px rgba(0, 0, 0, 0.10);
	box-sizing: border-box;
	padding: 0 20px;
	z-index: 100;
}

header img {
	display: inline-block;
	height: 90px;
	margin-top: 15px;
	width: auto;
}

header nav {
	float: right;
	text-align: right;
	display: inline-block;
}

header nav a {
	margin: 0 12px;
	font-weight: bold;
	text-decoration: none;
	display: inline-block;
	height: 120px;
	line-height: 120px;
	vertical-align: top;
	font-size: 16px;
	transition-property: color;
	transition-duration: .3s;
	transition-timing-function: ease-out;
}


/*-------------------------------------------------------------
						
						Clearfix
						
--------------------------------------------------------------*/

.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	clear: both;
	*zoom: 1;
}







#success {
	min-height: calc(100vh - 230px);
}

#menubutton {
	display: none;
}





aside {
	display: inline-block;
	height: 100%;
	width: 20%;
	vertical-align: top;
	background-color: #161f30;
	color: white;
	padding: 30px 40px;
	box-sizing: border-box;
	overflow-y: scroll;
}

aside a {
	color: white;
	display: block;
	line-height: 25px;
	transition-property: color;
	transition-duration: .3s;
	transition-timing-function: ease-out;
	position: relative;
	margin-bottom: 7px;
	padding-left: 7px;
}

a:hover {
	cursor: pointer;
	color: #53b8e5;
}

.focused {
	border: 1px dashed #53b8e5;
		padding: 7px;
		padding-right: 0;
}

.focused .existing, .focused .new {
	top: 9.5px;
	
}

aside h3 {
	display: block;
	font-size: 22px;
	line-height: 25px;
	font-weight: bold;
	margin-bottom: 15px;
	padding-left: 7px;
}

.existing, .new {
	display: block;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	position: absolute;
	top: 2.5px;
	font-size: 12px;
	color: white;
	
}

.existing {
	right: 10px;
	background: #2d2d2e;
}

.new {
	right: 40px;
	border-radius: 20px;
	background: #53b8e5;
}





section {
	display: inline-block;
	height: auto;
	width: 100%;
	background: white;
	padding: 40px 100px;
	margin-top: 120px;
	box-sizing: border-box;
	
}



.ui-datepicker {
  width: 240px;/*216px*/
  height: auto;
  margin: 5px auto 0;
  font: 9pt Arial, sans-serif;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
}

.ui-datepicker a {
  text-decoration: none;
}

.ui-datepicker table {
  width: 100%;
}

.ui-datepicker-header {
  background: #488aeb;
  color: white;
  font-weight: bold;
  -webkit-box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, 2);
  -moz-box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, .2);
  box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, .2);
  filter: dropshadow(color=#000, offx=1, offy=-1);
  line-height: 30px;
  border-width: 1px 0 0 0;
  border-style: solid;
  border-color: #111;
  width: 100%;
}

.ui-datepicker-title {
  text-align: center;
  border: 1px solid black;
  border-top: none;
  border-bottom: none;
  box-sizing: border-box;
}

.ui-datepicker-prev, .ui-datepicker-next {
  display: inline-block;
  width: 30px;
  height: 30px;
  text-align: center;
  cursor: pointer;
  background-repeat: no-repeat;
  line-height: 600%;
  overflow: hidden;
     background-size: 12px auto;
     	cursor: pointer;
	transition-property: opacity;
	transition-duration: .3s;
	transition-timing-function: ease-out;
}


.ui-datepicker-prev:hover, .ui-datepicker-next:hover {
	opacity: .55;
}


.ui-datepicker-prev {
  float: left;
  background-position: center center;
   background-image: url('../img/icons/leftarrow.png');


}
.ui-datepicker-next {
  float: right;
  background-position: center center;
  background-image: url('../img/icons/rightarrow.png');
 

}


.ui-datepicker thead {
  background: white;
  border-bottom: 1px solid #bbb;
  width: 100%;
}

.ui-datepicker th {
  text-transform: uppercase;
  font-size: 7pt;
  padding: 5px 0;
  color: #666666;
  text-shadow: 1px 0px 0px #fff;
  filter: dropshadow(color=#fff, offx=1, offy=0);
  width: 100%;
}



.ui-datepicker tbody td {
  padding: 0;
  border: 0;
  background: #f1f1f1;
  padding: 1px;
}

.ui-datepicker tbody td:last-child {
  border-right: 0px;
}


ui-datepicker tbody tr {
  border-bottom: 1px solid #bbb;
}
.ui-datepicker tbody tr:last-child {
  border-bottom: 0px;
}


.ui-datepicker td span, .ui-datepicker td a {
  display: inline-block;
  font-weight: bold;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 30px;
  color: #666666;
  border: 1px solid #d3d3d3;
}
.ui-datepicker-calendar .ui-state-default {
  background: #eeeeee;

}
.ui-datepicker-unselectable .ui-state-default {
  background: #f9f9f9;
  color: white;
}


.ui-datepicker-calendar .ui-state-hover {
  background: #f7f7f7;
}


.ui-datepicker-calendar .ui-state-active {
  background: white;
  border: 1px solid #488aeb;
  position: relative;
  color: #488aeb;
}








input::-webkit-calendar-picker-indicator{
    display: none;
}

input[type="date"]::-webkit-input-placeholder{ 
    visibility: hidden !important;
}

input[type=date]::-webkit-inner-spin-button, 
input[type=date]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

.asterisk {
	display: inline-block;
	width: 10px;
	height: auto;
}

input {
	font-family: 'Open Sans', sans-serif;
	display: inline-block;
	height: 40px;
	line-height: 20px;
	font-size: 16px;
	width: 250px;
	background: #fafafa;
	border: 1.5px solid #c6c6c6;
	border-radius: 3px;
	color: #757575;
	font-weight: bold;
	box-sizing: border-box;
	padding: 10px;
	margin-bottom: 20px;
	margin-right: 15px;
	padding-right: 30px;
	background-image: url('../img/icons/asterisk.png');
	background-position: right 10px center;
	background-size: 10px 10px;
	background-repeat: no-repeat;
}

.notrequired {
	background-image: none;
	padding-right: 10px;
}

input:nth-of-type(2n) {
	margin-right: 0;
}

input:focus {
	border-color: #488aeb;
	outline: none;
}

input::placeholder {
	color: #757575;
}


form button {
	display: block;
	margin: 0;
	width: 515px;
	background: #488aeb;
	transition-property: none;
	border: 0;
	height: 46px;
	font-size: 16px;
	font-weight: bold;
	border-radius: 3px;
}

form button:hover {
	color: white;
	background: #4787e4;
	cursor: pointer;
}

p {
	margin: 17px 0;
}

form {
	margin: 30px 0;
}


footer {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

#legal {
	display: block;
	width: 100%;
	height: 70px;
	background: #333333;
	padding: 0 50px;
	box-sizing: border-box;
}

#legal a {
	line-height: 70px;
	color: #aaaaaa;
	font-weight: bold;
	font-size: 14px;
	transition-property: color;
	transition-duration: .3s;
	transition-timing-function: ease-out;
	margin-right: 20px;
}

#legal a:last-of-type {
	margin-right: 0px;
}


#info {
	display: block;
	width: 100%;
	height: 40px;
	padding: 0 50px;
	background: #232323;
	box-sizing: border-box;
}

#info a, #info span {
	color: #aaaaaa;
	line-height: 40px;
	font-size: 12px;
	transition-property: color;
	transition-duration: .3s;
	transition-timing-function: ease-out;
}

#legal a:hover, #info a:hover {
	color: #53b8e5;
}

#info .blue {
	color: #53b8e5;
}


section h2 {
	display: block;
	font-size: 25px;
	line-height: 30px;
	font-weight: bold;
	margin-bottom: 30px;
	margin-top: 15px;
	color: #53b8e5;
	text-align: center;
}





section div {
	display: block;
	background: white;
	width 100%;
	padding: 20px;
	box-sizing: border-box;
	margin-bottom: 30px;
	position: relative;
}

section div:last-of-type {
	margin-bottom: 0;
}


section div h3 {
	display: block;
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
	font-size: 20px;
}

section div span, section div h4 {
	display: inline-block;
	width: 33.33%;
	margin: 10px 0;
}


b {
	font-weight: bold;
}


/*.name, .email, .telefon {
	width: 33.33%;
}

.erkezes, .tavozas {
	width: 50%;
}*/


section div img {
	display: block;
	height: 20px;
	width: auto;
	position: absolute;	
	right: 20px;
}

.print {
	top: 20px;
}

.edit {
	top: 60px;
}

.trash {
	top: 100px;
}

.opacity {
	cursor: pointer;
	transition-property: opacity;
	transition-duration: .3s;
	transition-timing-function: ease-out;
}

.opacity:hover {
	opacity: .55;
}



h5 {
	display: inline-block;
	padding: 15px;
	box-sizing: border-box;
	width: 50%;
	border: 1px solid #53b8e5;
	text-align: center;
	margin-top: 20px;
}

.active {
	background: #53b8e5;
	color: white;
	text-align: center;
}

.passive {
	color: #2D2D2E;
	border: 1px solid #2d2d2e;
	transition-property: color, border-color;
	transition-duration: .3s;
	transition-timing-function: ease-out;
}

.passive:hover {
	color: #53b8e5;
	border-color: #53b8e5;
	cursor: pointer;
}


#today span, #today a {
	display: inline-block;
	width: 28%;
}

#today span {
	width: 16%;
}


#tavozasok, #erkezesek {
	display: block;
	width: 100%;
	overflow-y: hidden;
	height: auto;
	padding: 0;
	margin: 0;
	background: none;
	margin-top: 30px;
}

#tavozasok {
	display: none;
}

#printed {
	width: 100%;
	padding: 0;
	background: white;
}

#printed .reservation {
	border-bottom: 1px solid #2d2d2e;
	margin-bottom: 0;
	padding: 5px;
}

#printed h2 {
	text-align: center;
	margin-bottom: 10px;
	margin-top: 10px;
}

#printed img {
	display: none;
	padding-right: 0;
}




#printed span, #printed h4 {
	width: 25%;
}

#printed h4 {
	width: 30%;
}

#printed .erkezes, #printed .tavozas {
	width: 35%;
}


.newfoglalas {
	border-top: 2px solid #53b8e5;
}

.newfoglalasuj {
	display: block;
	height: 20px;
	width: 25px;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	color: white;
	background:#53b8e5;
	font-size: 12px;
	line-height: 20px;
}



#printed #adatlap img, #printed .adatlap img {
	display: block;
	position: relative;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
}

#logo {
	width: 120px;
	height: auto;
	vertical-align: top;
}

#auto {
	width: 200px;
	height: auto;
}

#adatlap, .adatlap {
	display: block;
	width: 840px;
	height: 1188px;
	padding: 50px 70px;
	position: relative;
}

table {
	width: 100%;
	border: 1.5px solid #2D2D2E;
}

td {
	border: 1.5px solid #2D2D2E;
	padding: 8px;
}

#ceginfo {
	display: block;
	position: relative;
}
/*
#info {
	display: block;
	width: 300px;
	height: auto;
	position: absolute;
	top: 0;
	right: 0;
}*/

p {
	font-size: 16px;
	line-height: 24px;
}

#sign, #checkboxes {
	border: none;
}

#sign td {
	text-align: center;
	border: none;
}

#checkboxes td {
	border: none;
	font-size: 12px;
	line-height: 16px;
	padding: 0;
}

#printed #adatlap #checkboxes img, #printed .adatlap #checkboxes img {
	display: inline-block;
	width: 20px;
	height: 20px;
	position: relative;
	top: 6px;
}

#aprobetu {
	font-size: 14px;
	line-height: 20px;
}

#paddingtr td {
	padding-bottom: 5px;
}


#shadow {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	align-content: center;
	align-items: center;
	justify-content: center;
	z-index: 100;
}

#editform {
	position: relative;
	display: block;
	width: 400px;
	height: auto;
	padding: 30px;
	background: white;
}

#editform h6 {
	display: block;
	margin-top: 10px;
	margin-bottom: 5px;
}

#editform input {
	display: inline-block;
	width: 45%;
	border: 1px solid #2d2d2e;
	background: white;
	padding: 5px 10px;
	font-size: 14px;
	line-height: 14px;
}

#inputid {
	visibility: hidden;
}

#cancel {
	display: block;
	height: 20px;
	width: auto;
	position: absolute;	
	right: 20px;
	top: 20px;
}


button {
	width: 50%;
	font-size: 14px;
	line-height: 14px;
	display: block;
	padding: 10px;
	background: #53b8e5;
	border: 2px solid #53b8e5;
	color: white;
	transition-property: color, background;
	transition-duration: .3s;
	transition-timing-function: ease-out;
	margin: 0 auto;
	margin-top: 20px;
}

button:hover {
	color: #53b8e5;
	background: white; 
	cursor: pointer;
}

#printheader {
	display: block;
	width: 100%;
	height: 150px;
	box-shadow: 0px 1px 5px 0px #000000;
	margin: 0;
	z-index: 100;
	position: fixed;
	top: 0;
	left: 0;
}

#printed #printheader h3 {
	margin-top: 20px;
	font-weight: normal;
	font-size: 16px;
}

#pdfview {
	display: block;
	width: 100%;
	height: auto;
	background: #e6e6e6;
	vertical-align: top;
	margin-top: 150px;
}


#printed .adatlap {
	margin: 20px auto;
}





ul {
	list-style: disc;
	margin-left: 30px;
}

ul li {
	margin-bottom: 10px;
	line-height: 22px;
}

section h3 {
	display: block;
	font-weight: bold;
	color: #53b8e5;
	font-size: 20px;
	line-height: 30px;
	margin-top: 40px;
	margin-bottom: 10px;
}



/*-------------------------------------------------------------
						
						Table
						
--------------------------------------------------------------*/

.tablecontainer {
	display: block;
	width: 100%;
	overflow-x: scroll;
	padding: 0;
}

table {
	min-width: 800px;
	margin-bottom: 20px;
	margin-top: 20px;
}

thead tr {
	background: #181f33; 
	color: white;
	font-weight: bold;
}

thead td {
	border: 1px solid #181f33;
	text-align: center;
}

td {
	padding: 20px;
	border: 1px solid #2d2d2e;
	line-height: 22px;
}



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

	header nav {
		display: none;
		text-align: center;
		width: 100%;
		position: absolute;
		top: 120px;
		left: 0;
		background: white;
		z-index: 100;
		border: 1px solid #2d2d2e;
		border-right: none;
		border-left: none;
	}
	
	header nav a {
		display: block;
		line-height: 30px;
		height: 30px;
	}
	
	#menubutton {
		float: right;
		display: inline-block;
		cursor: pointer;
		background: #53b8e5;
		color: white;
		height: 50px;
		line-height: 50px;
		margin-top: 35px;
		padding: 0 10px;
		border-radius: 3px;
	}
	
	#menubutton img {
		width: 30px;
		height: auto;
		vertical-align: top;
		margin-top: 10px;
		margin-right: 10px;
	}
	
	
	
}


@media screen and (max-width: 860px) {
	#info {
		height: auto;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	
	#info a, #info span {
		height: auto;
		line-height: 25px;
	}
	
	section {
		padding: 40px 40px;
	}
}



@media screen and (max-width: 620px) {
	input, form button {
		width: 80%;
		margin-right: 0;
	}
}


@media screen and (max-width: 560px) {
	input, form button {
		width: 100%;
		margin-right: 0;
	}
	
}

@media screen and (max-width: 800px) {
	
	#legal {
		height: auto;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	
	#legal a {
		height: 35px;
		line-height: 35px;
		display: block;
		margin-right: 0;
	}
}

@media screen and (max-width: 400px) {

	#legal a {
		font-size: 11px;
	}

}