@import url('https://fonts.googleapis.com/css?family=Raleway:300');
@import url("https://fonts.googleapis.com/css?family=Roboto");

html {
    position: relative;
    min-height: 100%;
}

form[name="whowhat"] {
	width: 500px;
	margin: 0 auto;
}

fieldset {
	border: 1px solid #D4D5D6;
	border-radius: 10px;
	margin-top: 20px;
}

#send {
    border-radius: 20px;
}

#email {
    margin-left: 20px;
}

legend {
	text-align: right;
}

form fieldset input[type="submit"] {
	font-family: 'Raleway', 'Roboto', sans-serif;
	text-align: center;
	font-size: 16px;
	background-color: #D4D5D6;
	border: 1px solid #D4D5D6;
	color: #204056;
	border-radius: 10px;
	padding: 12px 20px;
	margin-top: 10px;
}

form fieldset input[type="submit"]:hover {
	cursor: pointer;
	background-color: #BEBFC0;
	border: 1px solid #BEBFC0;
}

form fieldset input[type="text"], form fieldset input[type="email"] {
	font-family: 'Raleway', 'Roboto', sans-serif;
	font-size: 16px;
	color: #204056;
	background-color: #D4D5D6;
	border: 1px solid #D4D5D6;
	border-radius: 10px;
	padding: 12px 20px;
	margin-top: 10px;
}

table {
	margin-top: 10px;
}

input:focus {
	outline: none;
}

td, th {
	text-align: center;
	padding: 10px;
}

h4 {
	line-height: 30px;
}

p {
	line-height: 0;
}

.codelabel {
	display: inline;
}

input[type="radio"] {
	margin-top: 5px;
}

input[type="checkbox"] {
	margin-right: 5px;
	margin-left: 10px;
}

.wide {
	width: 430px;
}

#stand {
	margin-bottom: 100px;
}

select {
	font-family: 'Raleway', 'Roboto', sans-serif;
	margin-top: 10px;
	color: #204056;
	background-color: #D4D5D6;
	padding: 12px;
	font-size: 16px;
	line-height: 1;
	border: 0;
	border-radius: 10px;
	-webkit-appearance: none;
}

select:focus {
	outline: none;
}

textarea {
	width: 430px;
	height: 130px;
	resize: none;
	font-family: 'Raleway', 'Roboto', sans-serif;
	font-size: 16px;
	color: #204056;
	background-color: #D4D5D6;
	border: 1px solid #D4D5D6;
	border-radius: 10px;
	padding: 12px 20px;
	margin-top: 10px;
}

textarea:focus {
	outline: none;
}

body {
	background-color: #E9EAEA;
	margin: 0 0 10vh;
	color: #204056;
	font-family: 'Raleway', 'Roboto', sans-serif;
	font-size: 14pt;
}

footer {
	margin: 0;
	font-size: 10pt;
	background-color: #D4D5D6;
	position: absolute;
	left: 0;
	bottom: 0;
	height: 10vh;
	width: 100%;
	overflow:hidden;
}

footer h1 {
	font-size: 6vh;
	margin: 2vh;
	float: left;
}

footer a {
	float: right;
}

footer a img {
	margin-left: 10pt;
	max-height: 10vh;
	width: auto;
}

img.gray {
  	opacity: 0.5;
}

img.gray:hover {
 	opacity: 1.0;
}

.grayscale {
  	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
    filter: gray; /* IE6-9 */
    	-webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
}

#color:hover {
  	filter: none;
    	-webkit-filter: grayscale(0%);
}

.black:hover {
    -webkit-filter: contrast(10000%);
}

.centerMe {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.lowerMe {
	margin-top: 2%;
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%);
}

::-webkit-input-placeholder {
	color: #204056;
}

.cta {
	background: white;
	font-weight: bold;
	border-radius: 25px;
	line-height: 60px;
	height: 60px;
	width: 170px;
	text-align: center;
	transition: width .2s ease-in-out;
	cursor: pointer;
}

.cta .hide {
	display: none;
}

.cta form {
	display: flex;
}

.cta span {
	opacity: 0;
	width: 100%;
	text-align: center;
	animation: fadeIn .3s ease-in-out;
	animation-delay: .2s;
	animation-fill-mode: forwards;
}

.cta .input {
	display: none;
	opacity: 0;
	flex: 3;
	text-align: left;
}

.cta .input input {
	font-size: 10pt;
	background: white;
	border: 0;
	width: 240px;
	height: 50px;
	margin: 0 0 0 25px;
	outline: none;
	color: #204056;
}

.cta .button {
	display: none;
	opacity: 0;
	flex: 1;
}

.cta .button button {
	outline: none;
	float: right;
	padding: 0 20px;
	height: 50px;
	background: #34B3A0;
	border-radius: 25px;
	color: white;
	border: 0;
	margin: 5px;
	cursor: pointer;
	transition: all .2s ease-in-out;
}

.cta .button button:disabled {
	color: #2dcab2;
	border: 1px solid #2dcab2;
	background-color: white;
}

.cta.sent {
	cursor: default;
	width: 250pt;
}

.cta.active {
	width: 350px;
	text-align: left;
	transition: width .2s ease-in-out;
	cursor: default;
}

.cta.active span {
	display: none;
}

.cta.active .input, .cta.active .button {
	display: block;
	animation: fadeIn .3s ease-in-out;
	animation-delay: .1s;
	animation-fill-mode: forwards;
}

#help-text {
	max-height: 70vh;
	margin-left: 15vw;
	text-align: left;
	max-width: 70vw;
	height: auto;
}

h5 {
	font-size: 16pt;
	line-height: 22pt;
}

#help {
	font-size: 10pt;
	margin-left: 43%;
}

#help:hover {
	cursor: pointer; 
	opacity: .7;
}

@keyframes fadeIn {
	0% {
		opacity: 0;
		transform: scale(0.7);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}