body {
	padding:0;
	margin:0;
	font-family: "Helvetica Neue", Helvetica, Arial, Sans-Serif;
	font-size: 120%; /* this works pretty well for touch screen*/
}
body, html {
	overflow: hidden;
    position: relative;
    height: 100%;
	cursor: none;
	touch-action: pan-x pan-y; /* removes pinching and other gestures */
}

div {
	/* makes it impossible to select text */
	-webkit-user-select: none; /* Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+/Edge */
	user-select: none; /* Standard */
	//cursor: none;
    outline: none !important;
	touch-action: pan-x pan-y; /* removes pinching and other gestures? */
}

input, label, select, option, button {
	cursor: none !important;
    outline: none !important;
}

.greenblue1 {
	background: #007a87;
}

.greenblue2 {
	background: #439b96;
}

.greenyellow {
	background: #82bca6;
}

.green1 {
	background: #40b170;
}

.green2 {
	background: #259568;
}


.growlbox {
	background: rgba(0,122,135,.8);
	background: rgba(90,158,134,.8);
	background: rgba(64,112,98,.8);
	box-shadow: 0 0 1em rgba(0,0,0,.7);
	border-radius: 1em;
	color: white;
}

.growlbox a, .growlbox b {
	color: white;
}


#tagline sub {
	font-size: .8em;
	color: #c0c0c0;
	font-weight: normal;
	letter-spacing: normal;
}

#map {
	position: absolute;
	left:0px;
	top:0px;
	right:0px;
	bottom:0px;
	background-color: gray;
	cursor: none;

}

.controls {
	position: absolute;
}

.left {
	left: -5em;
	padding-left: 4em;
}

.top {
	top: 0px;
	padding-top: .5em;	
}

.bottom {
	bottom: 0px;
	padding-bottom: 1em;	
}

.options {
	font-size: 10pt;
	position: relative;
	font-size: 1em;
	line-height: 1.5em;
	padding: 1em;
	padding-left: 2em;
	width: 18em;
	margin-bottom: 1em;
}

#tagline {
	padding-left: 2em;
	height: 3.4em;
	padding-right: 1em;
	width: 13em;
	margin-bottom: 1em;
}


#welcome{
	line-height: .9;
	padding-top: .5em;
	padding-bottom: .5em;
}

#welcome p {
	margin: 0;
	padding: 0;
	font-size: .8em;
	letter-spacing: 0.1em;
	opacity: .8;
}

#title {
	font-family: "Helvetica Neue", Helvetica, Arial, Sans-Serif;
	font-size: 2.2em !important;
	letter-spacing: .05em;
	font-weight: 200;
	padding: 0;
	margin: 0;
	color: white;
	text-shadow: 1.5px 1.5px 0px gray;
	opacity: 1 !important;
}

#reset,#clear {
	width: 7em;
	font-size: 1.2em;
	height: .5em;
	border-radius: .75em;
	margin-bottom: .3em;
}


#reset a,#clear a {
	font-size: 1.5em;
	font-weight: 200;
	letter-spacing: .1em;
	color: white;
	text-decoration: none;
	position:absolute;
	top:.3em;
}





.options b {
	text-shadow: 1px 1px 0px gray;
}

#option_warhead select, #option_location select {
	font-size: 1.5em;
	font-size: 1.4em;
	border-width: .4em;
	border-color: #fff;
	background-color: #fff;
	width: 11.5em;
	width: 12.3em;
}

#option_warhead label {
	line-height: 2.5em;
}

#kt, #hob {
	width: 45px;
}


.btn-danger {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #da4f49;
	*background-color: #bd362f;
	background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
	background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
	background-repeat: repeat-x;
	border-color: #bd362f #bd362f #802420;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	border-radius: 5px;
}

.btn-danger:hover,
.btn-danger:active,
.btn-danger.active,
.btn-danger.disabled,
.btn-danger[disabled] {
color: #ffffff;
background-color: #bd362f;
*background-color: #a9302a;
text-shadow: 0px 1px 1px rgba(0, 0, 0, 1);
}

.btn-danger:active,
.btn-danger.active {
	background-color: #942a25 \9;
}

#about, #lookup, #yieldpicker {
	display: none;
}

.modalbox {
	position: absolute;
	width: 50%;
	font-weight: normal;
	color: white;
	padding: 2em;
	margin-left: 25%;
	margin-top: 1%;


  position: relative;
  top: 50%;
  transform: translateY(-50%);


}

.big_button {
	font-size: 1.1em;
	margin: 0;
	width: 10em;
	height: 3em;
	border-radius: 1em;
	box-shadow: 0 0 1em rgba(0,0,0,.3);
	border-width: 1px;
	background-color: white;
}
#address_button {
	font-size: .9em;
	margin-top: .5em;
	width: 19.2em;
} 

.modalbox h2 {
	margin: 0;
	text-shadow: 1px 1px 0px gray;
}

#grayout {
	display: none;
	position: absolute;
	background-color: rgba(30,30,30,.7);
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	touch-action: pan-x pan-y; /* removes pinching and other gestures? */
}

select {
	border-radius: .5em;
	-moz-appearance:none;
	border-width: 1px;
	padding: 1px;
}


hr {
	border: none;
	/*border-bottom: 1px solid rgba(255,255,255,.5);*/
}

#address,#yield {
	font-size: 4em;
	width: 100%;
}

#casualties_info {
	position: fixed;
	pointer-events: none;
	left: 50%;
	bottom: -1em;
	transform: translate(-50%, -0%);
	margin: 0 auto;

	text-align: center;
	color: white;
	text-shadow: 2px 2px 0px gray;
	padding-left: 1.5em;
	padding-right: 1.5em;
	font-size: 80%;
}

#fatalities_info {
	position: relative;
	float: left;
	text-align: center;   
	margin-bottom: 0;

}
#injuries_info {
	position: relative;
	float: right;
	margin-left: 2em;
	text-align: center;   
	margin-bottom: 0;
}

#fatalities_info b, #casualties_info b {
	font-weight: normal;
}

#fatalities_count, #injuries_count {
	font-size: 3em;
}

#casualties_bottom {
	opacity: .9;
	margin:0;
	margin-bottom: 1em;
	letter-spacing: .05em;
	clear: both;
}
#photo {
	display: none;
	position: absolute;	
	text-align: center;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
}
#photo img {
	max-width: 65%;
	position: relative;
	margin-top: 2%;
	box-shadow: 0 0 2em rgba(0,0,0,.7);
}

#photobox {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

#photo #photo_caption {
	position: relative;
	bottom: 0px;
	text-align: center;
	color: white;
	font-size: .8em;
	margin-top: .5em;
	text-shadow: 0px 0px 1px #000;
}


#effects_list {
	position: absolute;
	top: 0px;
	right: -5em;
	padding-right: 4em;
	padding-top: 1em;
}

#effect_head h2 {
	text-transform: uppercase;
	font-size: 1.3em;
	font-weight: 200;
	letter-spacing: .1em;
	text-shadow: 1px 1px 0px gray;
}

#effect_head p {
	font-size: .8em;
	display: block;
}

.effect_caption {
	width: 18em;
	padding: 1em;
	margin-bottom: 1em;
}

.effect_caption h2 {
	margin: 0;
	font-size: 1.1em;
	font-weight: normal;
}

.effect_caption small {
	color:rgba(255,255,255,.7);
	color: white;
	margin-bottom: .2em;
}

.focused_effect {
	font-size: 1.4em !important;
	font-weight: bold !important;
	text-shadow: 1px 1px 0px gray;
}

.effect_caption p {
	margin: 0;
	padding-right: 1em;
}

.hidden {
	display: none;
}

.error {
	color: #ff0000 !important;
	text-shadow: 1px 1px 0px black;
}

#googlecredit {
	position: absolute;
	right: 0;
	bottom: 0;
	height: 1em;
	background-color: rgba(255,255,255,0);
	padding-left: 12.5em;
}

.fallout_legend {
	border: 1px solid #ff5d2e;
	display: inline-block;
	width: 1em;
	height: .6em;
	border-radius: 1em;
}

#zooms {
	position: absolute;
	right: 1em;
	bottom: 1.3em;

}

.pressed {
	color: black;
	box-shadow: 0 0 1em rgba(0,0,0,.9);

}


#zoom_in {
	float: left;
	margin-right: 0.3em;
}
#zoom_out {
	float: right;
}

#zoom_in, #zoom_out {	
	text-align: center;
	font-size: 3em;
	text-shadow: 1.5px 1.5px 0px gray;
	width: 1.5em;
	height: 1.45em;	padding-top: .05em; /* tweaked to center text in chrome */
	border-radius: .5em; 
}

.option_button {
	font-size: .9em;
	margin-top: .5em;
	background-color: white;
	width: 19.2em;
}

.option_button.toggled {
	color: white;
	background-color: #259568;
}

#yield_list {
	margin-top: .2em;
}

#splash {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #007a87;
	background-color: #5a9e86;
	background: radial-gradient(#5a9e86, #013d31);

	color: white;
	text-align: center;
	font-weight: 200;
	letter-spacing: 0em;
}

#splash_tag1, #splash_tag,#splash_tag2,#splash_tag3 {
	position: relative;
	width: 100%;
}

#splash_tag1 {
	top: 3em;
	font-size: 4em;
	font-weight: bold;
}

#splash_tag {
	top: 6em;
	font-size: 2.5em;
}
#splash_tag2 {
	top: 9em;
	font-size: 2em;
}
#splash_icon {
	position: relative;
	top: 21em;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
#splash_tag3 {
	top: 12em;
	font-size: 2em;
}

#splash_title {
	font-weight: 200;
}

.effect_caption_p {
	padding-top: .5em;
}

.effect_radius {
	display: inline-block;
	border-radius: 1em;
	border: 3px solid #000;
	box-shadow: 0 0 5px rgba(255,255,255,.8);
	margin-right: .5em;
	width: 1em;
	height: 1em;
	margin-bottom: -.3em;
}

.fallout_effect_head {

}

.effect_distance {
	display: block;
	margin-bottom: -.8em;
}