/* CSS styling for v2 of the exit survey */

:root {
	--form-control-color: #005eb8;
	background-color: #efefef;
}

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


hr {
	width: 80%;
	background-color: #005eb8;
	height: 5px;
	border-width: 0;
}

textarea {
  width: 50%;
  height: 150px;
  padding: 0.2em;
  margin: 0.2em;
  margin-top: 1em;
  margin-left: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  font-size: 16px;
  resize: none;
}

.esfoot {
	display: flex;
	padding: 20px;
	justify-content: center;
	align-items: center;
	gap: 2em;
}

.social-icons {
	display: flex;
	
	justify-content: center;
	align-items: center;
	gap: 1em;
}

body, p {
	font-family: "Frutiger W01", Arial, sans-serif;
	font-size: 1em;
	line-height: 2;
	margin: 0;
	padding: 0;
	
}

.hidden {
	opacity: 0;
	filter: blur(3px);
	transform: translateX(5%);
	transition: all 0.5s;
}

.show {
	opacity: 1;
	filter: blur(0);
	transform: translateX(0);
}


.head-title {
	padding: 1em;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	flex-wrap: wrap;
	background-color: #f8f8f8;
}

h1 {
	font-family: "Frutiger W01", Arial, sans-serif;
	font-size: 2.5rem;
	color: #005eb8;
	text-align: center;
	background-color:rgba(232, 237, 238, 0.2);
	margin: auto;
}

h2 {
	font-family: "Frutiger W01", Arial, sans-serif;
	font-size: 1.2em;
	padding: 0;
}

.center-80 {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
	background-color: #f8f8f8;
	
}



.survey-form {
	display: flex;
	flex-direction: column;
	background-color: #f8f8f8;
	padding: 1em;
}

.section {
	margin: 0em;
	padding: 0;
}

.section-title {
	margin-bottom: 0.1em;
	font-weight: bold;
	color: #005eb8;
}

.question {
	border-radius: 5px;
	padding-left: 5px;
	margin-bottom: 0.25em;
	margin-top: 2em;
	margin-left: 0.9em;
	margin-right: 1.4em;
	font-size: 1.2em;
	color: #231f20;
	background-color: transparent;
	font-weight: bold;
	//border: 1px solid rgba(35, 31, 32, 0.4);
}

.question-label {
	display: grid;
	font-weight: bold;
	line-height: 1.0em;
	color: #fff;
	background-color: #003087;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	padding: 0.5em;
	padding-left: 0.5em;
	margin-top: 0px;
}

.question-input {
	display: flex;
	flex-direction: column;
	background-color: rgba(232, 237, 238, 0.6);
	border-radius: 5px;
	margin-top: 0.25em;
	margin-left: 1em;
	margin-right: 1.5em;
	margin-bottom: 0.4em;
	border: 1px solid rgba(35, 31, 32, 0.4);
	color: #231f20;
	padding: 0.2em;
	
}

.qcon {
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
	border-radius: 5px;
	margin-bottom: 2em;
	margin-left: 2em;
	margin-right: 2em;
	padding-bottom: 2em;
	background-color: #fff;
}

.logo {
	width: 500px;
	height: 200px;
	padding-right: 0;
	margin-right: 1em;
	margin-left: 1em;
}

.text-center {
	text-align: center;
	vertical-align: center;
}

.submit-button {


	margin-top: 20px;
	text-align: center;
}

.nobutton {


	margin-top: 20px;
	text-align: center;
}


.column {
	flex-direction: column;
}



.roundpic {
	border-radius: 50%;
	width: 200px;
	height: 200px;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

select {

	/* styling */
	background-color: white;
	border: thin solid rgba(35, 31, 32, 0.4);
	border-radius: 4px;
	display: inline-block;
	font: inherit;
	line-height: 1.5em;
	padding: 0.5em 3.5em 0.5em 1em;

	/* reset */

	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
}


/* arrows */

select.classic {
	background-image:
		linear-gradient(45deg, transparent 50%, #ffffff),
		linear-gradient(135deg, #ffffff, transparent 50%),
		linear-gradient(to right, #0072ce, #0072ce);
	background-position:
		calc(100% - 20px) calc(1em + 2px),
		calc(100% - 15px) calc(1em + 2px),
		100% 0;
	background-size:
		5px 5px,
		5px 5px,
		2.5em 2.5em;
	background-repeat: no-repeat;
}

select.classic:focus {
	background-image:
		linear-gradient(45deg, white 50%, transparent 50%),
		linear-gradient(135deg, transparent 50%, white 50%),
		linear-gradient(to right, gray, gray);
	background-position:
		calc(100% - 15px) 1em,
		calc(100% - 20px) 1em,
		100% 0;
	background-size:
		5px 5px,
		5px 5px,
		2.5em 2.5em;
	background-repeat: no-repeat;
	border-color: grey;
	outline: 0;
}




select.round {
	background-image:
		linear-gradient(45deg, transparent 50%, gray 50%),
		linear-gradient(135deg, gray 50%, transparent 50%),
		radial-gradient(#ddd 70%, transparent 72%);
	background-position:
		calc(100% - 20px) calc(1em + 2px),
		calc(100% - 15px) calc(1em + 2px),
		calc(100% - .5em) .5em;
	background-size:
		5px 5px,
		5px 5px,
		1.5em 1.5em;
	background-repeat: no-repeat;
}

select.round:focus {
	background-image:
		linear-gradient(45deg, white 50%, transparent 50%),
		linear-gradient(135deg, transparent 50%, white 50%),
		radial-gradient(gray 70%, transparent 72%);
	background-position:
		calc(100% - 15px) 1em,
		calc(100% - 20px) 1em,
		calc(100% - .5em) .5em;
	background-size:
		5px 5px,
		5px 5px,
		1.5em 1.5em;
	background-repeat: no-repeat;
	border-color: green;
	outline: 0;
}





select.minimal {
	background-image:
		linear-gradient(45deg, transparent 50%, gray 50%),
		linear-gradient(135deg, gray 50%, transparent 50%),
		linear-gradient(to right, #ccc, #ccc);
	background-position:
		calc(100% - 20px) calc(1em + 2px),
		calc(100% - 15px) calc(1em + 2px),
		calc(100% - 2.5em) 0.5em;
	background-size:
		5px 5px,
		5px 5px,
		1px 1.5em;
	background-repeat: no-repeat;
}

select.minimal:focus {
	background-image:
		linear-gradient(45deg, green 50%, transparent 50%),
		linear-gradient(135deg, transparent 50%, green 50%),
		linear-gradient(to right, #ccc, #ccc);
	background-position:
		calc(100% - 15px) 1em,
		calc(100% - 20px) 1em,
		calc(100% - 2.5em) 0.5em;
	background-size:
		5px 5px,
		5px 5px,
		1px 1.5em;
	background-repeat: no-repeat;
	border-color: green;
	outline: 0;
}


select:-moz-focusring {
	color: transparent;
	text-shadow: 0 0 0 #000;
}

input[type="date"] {
	background-color: #fff;
	padding: 10px;
	margin: 0em;
	top: 50%;
	left: 50%;
	font-family: inherit;
	color: #000;
	font-size: 18px;
	border: 1px solid rgba(35, 31, 32, 0.4);
	outline: none;
	border-radius: 5px;
	width: 175px;
}

::-webkit-calendar-picker-indicator {
	background-color: #ffffff;
	padding: 5px;
	cursor: pointer;
	border-radius: 3px;
}

.year {
	font: inherit;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.option-input {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	position: relative;
	top: 0px;
	right: 0;
	bottom: 0;
	left: 0;
	height: 20px;
	width: 20px;
	transition: all 0.15s ease-out 0s;
	background: #cbd1d8;
	border: none;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	margin-right: 0.5rem;
	outline: none;
	position: relative;
	z-index: 1000;
	vertical-align: middle;
}

.option-input:hover {
	background: #9faab7;
}

.option-input:checked {
	background: #005eb8;
}

.option-input:checked::before {
	width: 20px;
	height: 20px;
	display: flex;
	content: '\2713';
	font-size: 15px;
	font-weight: bold;
	position: absolute;
	align-items: center;
	justify-content: center;
	vertical-align: middle;

}

.option-input:checked::after {
	-webkit-animation: click-wave 0.65s;
	-moz-animation: click-wave 0.65s;
	animation: click-wave 0.65s;
	background: #005eb8;
	content: '';
	display: block;
	position: relative;
	z-index: 100;
	vertical-align: middle;
}

.option-input.radio {
	border-radius: 50%;
	vertical-align: middle;
}

.option-input.radio::after {
	border-radius: 50%;
	vertical-align: middle;
}

label {
  font-size: 18px;
  vertical-align: middle;
}

input[type="radio"] {
  vertical-align: middle;
}


@keyframes click-wave {
	0% {
		height: 20px;
		width: 20px;
		opacity: 0.35;
		position: relative;
	}

	100% {
		height: 200px;
		width: 200px;
		margin-left: -90px;
		margin-top: -90px;
		opacity: 0;
	}
}

.about-you {
	background-color: #41b6e6;
	color: #fff;
	padding: 10px;
	margin: 20px;
	text-align: center;
	font-size: 1.2em;
	border-radius: 5px;
	font-weight: bold;
}

.stayrow {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	gap: 1em;
}

.opt-out {
	background-color: #ed8b00;
	color: #fff;
	padding-left: 15px;
	font-size: 1.1em;
	font-weight: bold;
	margin-left: 20px;
	margin-right: 20px;
	text-align: center;
	border-radius: 5px;
}

.submit-button {
	margin-top: 20px;
	text-align: center;
	
}

.submit-button input[type="submit"] {
	background-color: #005eb8;
	color: #ffffff;
	border: none;
	padding: 10px 20px;
	font-size: 1.2em;
	font-weight: bold;
	border-radius: 5px;
	cursor: pointer;
}

.nobutton {
	margin-top: 20px;
	text-align: center;
	
}

.nobutton input {
	background-color: #005eb8;
	color: #ffffff;
	border: none;
	padding: 10px 20px;
	font-size: 1.2em;
	font-weight: bold;
	border-radius: 5px;
	cursor: pointer;
}



@media screen and (max-width: 600px) {
	
	textarea {
		width: 95%;
	}
	
	.section {
		margin: 0;
		padding: 0;
	}
	
	.qcon {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	
	.esfoot {
		flex-direction: column;
		padding-top: 3em;
	}
	
	.social-icons {
		display: flex;
		gap: 0.2em;
		
	}
	
	form {
		width: 100%;
		margin: 0;
		padding: 0;
	}
	
	.question {
		margin-left: 0;
		margin-right: 0;
		border-radius: 0;
	}
	
	.question-input {
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 0;
		margin-top: 0.5em;
		border-radius: 0;
		border: 0;
		padding: 10px;
	}
	
	.question-label {
		padding: 15px;
		font-size: 1.5em;
		border-radius: 0;
	}
	
	.center-80 {
		width: auto;
		margin-left: auto;
		margin-right: auto;
	}
	
	.head-title {
		flex-direction: column;
		align-items: center;
		padding: 2em;
	}
	
	.logo {
		width: 300px;
		height: 100px;	
		margin: 0;
		margin-bottom: 1em;
	}
	
	.survey-form {
		padding: 0;
	}
	
	.hidden {
		opacity: 0;
		filter: blur(3px);
		transform: translateX(0%);
		transition: all 0.5s;
	}
	
	.show {
		opacity: 1;
		filter: blur(0);
		transform: translateX(0);
	}
	
	.roundpic {
		border-radius: 50%;
		width: 100px;
		height: 100px;
		box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
	}
}


