@charset "utf-8";

#online-form > div {
	padding-top: 0;
}

form {
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
}

form > div {
	width: 100%;
}


form .td1 {
	font-size: 1.25em;
	font-weight: 300;
	line-height: 1.5;
	margin: 10px;
}

form .td2 {
	position: relative;
/* 	border: 1px solid silver; */
}

form .td2 input,
form .td2 select {
	height: 60px;
}
	
form .td2 textarea {
	display: block;
	resize: none;
	height: 120px;
}

form .td2 input,
form .td2 textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	
	margin: 0;
	padding: 20px 10px;
	border: none;
	outline: none;
	background-color: #eee;
	font-size: 1em;
	line-height: 20px;
	
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

form .td2 select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	
	margin: 0;
	padding: 20px 10px;
	border: none;
	outline: none;
	background-color: #eee;
	font-size: 1em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

form .td2 input#lbl-first-name,
form .td2 select.day,
form .td2 select.month,
form #f-booking .td2 select.year,
form .td2 select.time {
	background-image: url('form-line.png');
	background-position: right center;
	background-repeat: no-repeat;
}

form .td2 input,
form .td2 textarea {
	width: 100%;
}

form .td2b, 
form .td2c {
	line-height: 1.5;
	margin-left: 10px;
	padding-top: 10px;
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

form .day,
form .month,
form .year,
form .time,
form .people,
form .duration {
	width: 20%;
}

form #birthday .month {
	width: 50%;
}

#f-name input {
	width: 50%;
}

#newsletter {
	display: none;
}

form .td3 {
	position: relative;
	color: #fff;
	background-color: #E30613;
}

form .error-msg {
	display: block;
	padding: 5px 10px;
	line-height: 20px;
}

form .error-msg span {
	position: absolute;
	top: -10px;
	left: 10px;
	width: 0;
	height: 0;
	padding: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 10px solid #E30613;
}

form #f-button .td2 {
	border: none;
}

form #f-button input {
/* 	width: 50%; */
	margin: 0;
	line-height: 20px;
	background-color: #666;
	color: #fff;
}

form #f-button input:last-of-type {
	display: none;
}

form #conf-email,
form #f-date {
	display: none;
}

form .help {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 30px;
	padding: 5px;
	line-height: 20px;
	text-align: center;
	background-color: #666;
	
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}

form .help * {
	color: #fff;
	text-decoration: none;
}

form .help-msg {
	position: absolute;
	z-index: 1;
	top: 60px;
	right: 0;
	width: 100%;
	padding: 5px 10px;
	line-height: 20px;
	display: none;
	color: #fff;
	background-color: #666;
}

form .help-msg span {
	position: absolute;
	top: -10px;
	right: 22px;
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 10px solid #666;
}

form .help:hover + .help-msg {
	display: block;
}


/* ########## mobile ########## */


@media screen and (max-device-width: 640px) {
	
	
	form .td1 {
		font-size: 1em;
	}
	
	form .td2 select, form .td2b, form .td2c {
		font-size: 0.8em;
	}
}


/* ########## tablet ########## */


@media screen and (min-device-width : 768px) and (max-device-width : 1024px) {

}


/* ########## desktop ########## */


/* @media screen and (min-device-width: 1224px) { */
@media screen and (min-device-width : 768px) {
	
	form #f-name, 
	form #f-email, 
	form #f-phone, 
	form #f-booking {
		width: 50%;
	}
	
	form #f-name .td2 input#lbl-last-name, 
	form #f-phone .td2 input {
		background-image: url('form-line-dark.png');
		background-position: right center;
		background-repeat: no-repeat;
	}
	
	form #f-button input:hover {
		background-color: #202020;
	}
}