/**
 * Based on conversation styles in
 * A Murder in Logic from
 * collegemathgames.com
 */
.overlay-convo
{
    box-sizing: border-box;
    width: 360px;
    height: 480px;
    padding: 12px 20px 0;
    border-radius: 10px;

    position: fixed;
	z-index: 2000;
    left: calc(100vw / 2 - 360px / 2);
	top: 20px;

    font: 20px/30px Arial, sans-serif;
	color: white;
    background: rgba(0, 0, 0, 0.82);
    box-shadow: 0px 0px 4.7vh rgba(255, 255, 255, 0.6);
	
	position: absolute;
    top: 280px;
    left: calc(50vw - 300px / 2);
    width: 300px;
    height: 100px;
	background: none;
    color: black;
    font: 14px / 21px PressStart2P, Arial, sans-serif;
}

.subtitle-convo
{
	width: 320px;
	height: 32px;
	padding: 0;
	border-radius: 6px;
	
    position: fixed;
	z-index: 2000;
	top: 440px;
	left: calc(100vw / 2 - 320px / 2);

	font: 24px/32px Arial, sans-serif;
	text-align: center;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
	color: white;
	background: rgba(0, 0, 0, 0.5);
}

.response-form-div footer
{
	color: rgb(225, 225, 252);
    position: absolute;
    bottom: 20px;
    text-align: center;
    left: 0;
    width: 100%;
    font-size: 16px;
}

/* Create a cool fade-in/fade-out effect for the current choices */
@-webkit-keyframes flashing-choice
{
	0%
	{
		opacity: 1.0;
	}

	50%
	{
		opacity: 0.5;
	}

	100%
	{
		opacity: 1.0;
	}
}

@keyframes flashing-choice
{
	0%
	{
		opacity: 1.0;
	}

	50%
	{
		opacity: 0.5;
	}

	100%
	{
		opacity: 1.0;
	}
}

.response-form-div
{
	box-sizing: border-box;
	width: 360px;
	height: 480px;
	padding: 12px 20px 0;
	z-index: 3000;

	position: fixed;
	top: 20px;
	left: calc(100vw / 2 - 360px / 2);

	text-align: center;
    font: 20px/30px Arial, sans-serif;
    background: rgba(0, 0, 0, 0.82);
}

.response-form-div h4
{
	padding-bottom: 1.33em;
}

.convo-choice-span
{
	display: inline-block;
	position: static;
	border-radius: 1.3vh;
	margin-bottom: 16px;
	padding: 8px 12px;
	z-index: 3000;

	font-size: 20px;
	line-height: 30px;
	text-align: center;
	color: rgb(254, 253, 253);	
	background: rgba(100, 100, 100, 0.5);
	opacity: 1.0;

	-webkit-animation-name: flashing-choice;
	-webkit-animation-duration: 2s;
	-webkit-animation-iteration-count: 2;

	animation-name: flashing-choice;
	animation-duration: 2s;
	animation-iteration-count: 2;
}

.convo-choice-span:first-of-type
{
	top: calc(48px + 0 * 32px);
	
	-webkit-animation-delay: 0.5s;
	animation-delay: 0.5s;
}

.convo-choice-span:nth-of-type(2)
{
	top: calc(48px + 1 * 32px);
	
	-webkit-animation-delay: 1.5s;
	animation-delay: 1.5s;
}

.convo-choice-span:nth-of-type(3)
{
	top: calc(48px + 2 * 32px);
	
	-webkit-animation-delay: 2.5s;
	animation-delay: 2.5s;
}

.convo-choice-span:nth-of-type(4)
{
	top: calc(48px + 3 * 32px);

	-webkit-animation-delay: 3.5s;
	animation-delay: 3.5s;
}

.convo-form-input
{
	box-sizing: border-box;
	width: 50%;
	height: 30px;
	left-padding: 1.3vh;
	border: .3vh solid rgba(254, 253, 253, 0.6);

	font: 20px/30px Arial, sans-serif;

	color: rgb(254, 253, 253);
	text-align: left;
	text-align-last: left;
	background: transparent;
}

button.submit
{
	padding: 2.7vh;
	border-radius: 2.7vh;

	color: white;
	background-color: #049404;
}

button.cancel
{
	padding: 2.7vh;
	border-radius: 2.7vh;

	color: white;
	background-color: red;
}