html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

html, body {height: 100%; min-height: 100%; position: relative; font-family: "Lucida Grande","Lucida Sans Unicode",arial,sans-serif;}

p {margin-bottom: 20px;}
a {color: #FF931E; text-decoration: none;}
a:hover {text-decoration: underline;}


#map {width: 100%; position: relative; background: #4f81cd; /* Old browsers */
background: -moz-linear-gradient(top, #4f81cd 0%, #a6cff0 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #4f81cd 0%,#a6cff0 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #4f81cd 0%,#a6cff0 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4f81cd', endColorstr='#a6cff0',GradientType=0 ); /* IE6-9 */}
#map img {width: 100%; height: auto;}
#top {height: 100px; width: 100%; background-color: #01202D; padding: 10px; box-sizing: border-box; font-size: 18px; color: #fff; border-bottom: 1px solid #333;}
.topElements {max-width: 1200px; margin: auto; margin-top: 13px;}
.logo {max-width: 300px; float: left; padding-top: 8px;}
.logo img {width: 100%; height: auto;}
.text {margin-left: 320px; max-width: 800px;}

.icon {width: 100px; height: 100px; position: absolute; cursor: pointer;}

.food {left: 23vw; top: 16vw;}
.lake {left: 32.3vw; top: 20.3vw;}
.river {left: 79vw; top: 20vw;}
.climate {left: 67vw; top: 22vw;}
.flood {left: 47vw; top: 21vw;}
.biofuel {left: 65vw; top: 31vw;}
.quality {left: 29vw; top: 35vw;}
.supply {left: 7vw; top: 31vw;}

.iconText {display: none;}


h1 {font-weight: bold; font-size: 22px; margin-bottom: 15px;}
h2 {text-transform: uppercase; background-color: #01202D; color: #fff; padding: 5px;}


#details {width: 100%; position: absolute; top: 0;}
.flyout {max-width: 20%; float: left; border: 1px solid #000; background-color: #eee; padding: 5px; box-sizing: border-box;}
.icon {text-align: center;}

.bubbleClick {background-color: #cacaca; width: 100%; display: block; margin-top: 5px; padding: 5px 0;}

#overlay {background-color: rgba(0,0,0,.7); width: 100%; height: 100%; position: fixed; z-index: 20000; display: none; top: 0; left: 0;}
#modal {background-color: #f8f8f8; height: 100%; width: 70%; margin: auto; border-left: 1px solid #000; border-right: 1px solid #000; position: relative; padding: 45px 45px 20px 20px; overflow: scroll; box-sizing: border-box;}
#modal img {width: 100%; height: auto;}

.noScroll {overflow: hidden;}

#close {position: fixed; top: 0; width: 70%; padding-right: 45px; cursor: pointer; text-align: right; margin: auto; box-sizing: border-box;}
#close img {width: auto;}



@media all and (max-width: 990px)  {
	.icon {height: 110px; width: 100%; position: relative; cursor: pointer; background-color: #eee; display: block; left; 0; box-sizing: border-box; text-align: center;}
	.icon:hover {background-color: #ddd;}
	.iconText {display: block; text-align: center;}
	.icon img {width: 70px !important; height: auto; margin: auto;}
	
	.food, .lake, .river, .climate, .flood, .biofuel, .quality, .supply {left: 0; top: 0px; margin-top: 10px; text-align: center; padding: 20px; overflow: auto;}
	
	#top {height: auto; width: 100%; text-align: center;}
	.topElements {max-width: 100%;}
	.logo {max-width: 300px; float: none; margin: auto;}
	.logo img {width: 100%; height: auto;}
	.text {margin-left: 0px; max-width: 100%;}
	
	.sBubble {display: none;}
}