body {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

/************** Box Model ***************/
*,
*:after,
*:before {
	box-sizing: border-box;
}

/***************** Map ******************/
#map {
	position: absolute;
	margin: 0;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	height: 100%;
	z-index: 0;
}

/********** Widget Base Styles **********/

/* Permenant widget properties*/
/* Widget Closed */
.widget {
	position: relative;
	height: 25px;
	width: 25px;
	margin-top: 10px;
	background-color: rgba(255,255,255,0);
	font-family: 'Roboto Condensed', sans-serif;
	border-radius: 4px;
	z-index: 1;
	overflow:hidden;
	transition: 0.75s linear;
	border: none;
}

/* Widget Open */
.widget.on {
	background-color: #fff;
	background-color: rgba(255,255,255,1);
	border: 1px solid #e1e3e3;
}

.left {
	left: 10px;
}

.right {
	right: 10px;
}

.widget .title {
	position: absolute;
	left: 38px;
	right: 0;
	top: 10px;
	font-size: 16px;
	color: #1b75bb;
	font-weight: normal; /* TODO: DELETE /*/
}

/* Widget Icons */
.widget .toggle {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 25px;
	height: 25px;
	cursor: pointer;
	transition: 0.75s linear;
}

.widget.on .toggle {
	left: 8px;
	top: 8px;
}

/* Upper Right Close Button */
.widget .close {
	display: none;
	position: absolute;
	content: "";
	right: 2px;
	top: 2px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 9px 0 0 9px;
	border-color: transparent transparent transparent #939598;
	cursor: pointer;
	-webkit-transform:rotate(360deg); /* Better anti-aliasing*/
}

.widget.on .close {
	display: block;
}

.widget .content {
	margin-top: 48px;
}

/************ Widget Header *************/

.widget.header {
	font-weight: 700;
	color: #1b75bb;
	height: 130px;
	width: 614px;
}

/* No Close button */
.widget.header:after {
	content: none;
}

.widget.header div {
	display: inline-block;
	vertical-align: middle;
    margin-top: 14px;
	margin-left: 20px;
}

.widget.header .logo {
	height: 102px;
	width: 200px;
	background: #fff url("SC2_logo.png") no-repeat;
}

.widget.header .tagline {
    font-size: 27px;
}

/********* Widget Flood Scenario ********/

.widget.scenario.on {
	width: 365px;
	height: 280px;
}

.widget.scenario .scenario-title {
	color: #1b75bb;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
    text-align: center;
}

.widget.scenario .scenario-title.levee {
	margin-top: 11px;
    margin-bottom: 6px;
	letter-spacing: -0.4px;
	text-transform: uppercase;
}

.info-icon {
    position: relative;
    top: -3px;
	left: -2px;
    display: inline-block;
	height: 15px;
    width: 15px;
	cursor: pointer;
	background: url("icons/ICON_AdditionalInfo_ON_NoBorder.svg") 1px 1px;
}

.widget.scenario span.toggle.scenario {
	background: url("icons/ICON_FloodScenario_OFF.svg") no-repeat;
}
	
.widget.scenario.on span.toggle.scenario {
	background: url("icons/ICON_FloodScenario_ON.svg") no-repeat;
}

.widget.scenario hr.up, .widget.scenario hr.down {
	text-align:center;
	margin: -2px 15px;
	border: none;
	border-top: 2px solid #e1e3e3;
}

.widget.scenario hr.up:after, .widget.scenario hr.down:after {
	content: "|";
	display: inline-block;
	position: relative;
	font-size: 11px;
	color: #e1e3e3;
	font-size: 8px;
}

.widget.scenario hr.up:after {
	top: -10px;
	top: -10px;
}

.widget.scenario hr.down {
	margin-bottom: 0;
	margin-top: 4px;
}

.widget.scenario hr.down:after {
	top: -3px;
}


/*** Sliders */

.widget.scenario .scenario-sliders {
	position: relative;
	text-transform: uppercase;
}

.widget.scenario .scenario-titles {
	cursor: pointer;
}

.widget.scenario .scenario-titles.top {
	height: 40px;
}

.widget.scenario .scenario-titles.top span{
	position: absolute;
	text-align: center;
	font-size: 13.5px;
	line-height: 1
}

.widget.scenario .scenario-titles.top span:nth-of-type(1) {
	left: 26px;
}

.widget.scenario .scenario-titles.top span:nth-of-type(2) {
	left: 108px;
}

.widget.scenario .scenario-titles.top span:nth-of-type(3) {
	left: 191px;
}

.widget.scenario .scenario-titles.top span:nth-of-type(4) {
	left: 283px;
	top: 14px
}

.widget.scenario .scenario-sliders .scenario.slider .slider-path {
	position: absolute;
	left: 57px;
	right: 50px;
	z-index: -1;
	border: none;
	height: 2.5px;
    background-color: #d1d3d4;
}

.widget.scenario .slider.scenario {
	height: 22px;
	position: relative;
	z-index: 1;
}

.widget.scenario .slider.scenario input{
	display: none;
}

.widget.scenario .scenario-select {
	position: absolute;
	border-radius: 50%;
	height: 14px;
	width: 14px;
	background-color: #939598;
	cursor: pointer;
}

.widget.scenario .scenario-select.on {
	height: 12px;
    width: 12px;
	background-color: #fff;
	top: 1px;
}

.widget.scenario .scenario-select.on:before {
	content: "";
	display: inline-block;
	border-radius: 50%;
	margin-left: -5px;
    margin-top: -5px;
    height: 22px;
    width: 22px;
	background-color: #1b75bb;
	cursor: pointer;
	position: absolute;
	z-index: -1;
}

.widget.scenario .slider.scenario .scenario-select:nth-of-type(1) {
	left: 54px;
}

.widget.scenario .slider.scenario .scenario-select:nth-of-type(2) {
	left: 139px;
}

.widget.scenario .slider.scenario .scenario-select:nth-of-type(3) {
	left: 224px;
}

.widget.scenario .slider.scenario .scenario-select:nth-of-type(4) {
	left: 309px;
}

.widget.scenario .slider.year {
	margin-top: 17px;
	height: 22px;
	position: relative;
	z-index: 1;
}

.widget.scenario .slider.year .slider-path {
	position: absolute;
	left: 93px;
	right: 93px;
	z-index: -1;
	border: none;
    height: 2.5px;
    background-color: #d1d3d4;
}

.widget.scenario .slider.year input{
	display: none;
}

.widget.scenario .slider.year .scenario-select:nth-of-type(1) {
	left: 93px;
}

.widget.scenario .slider.year .scenario-select:nth-of-type(2) {
	left: 180px;
}

.widget.scenario .slider.year .scenario-select:nth-of-type(3) {
	left: 265px;
}

.widget.scenario .scenario-titles.bottom {
	height: 38px;
	margin-top: -4px;
}

.widget.scenario .scenario-titles.bottom .depth {
	font-size: 12px;
	text-transform: none;
}

.widget.scenario .scenario-titles.bottom > span{
	position: absolute;
	text-align: center;
	font-size: 13.5px;
}

.widget.scenario .scenario-titles.bottom > span:nth-of-type(1) {
	left: 75px;
}

.widget.scenario .scenario-titles.bottom > span:nth-of-type(2) {
	left: 171px;
}

.widget.scenario .scenario-titles.bottom > span:nth-of-type(3) {
	left: 255px;
}

/********************* Inundation Chart ******************/
.widget.inundation-chart.on {
    width: 315px;
    height: 254px;
}

.widget.inundation-chart span.toggle.inundation-chart {
	background: url("icons/ICON_Graph_OFF.svg") no-repeat;
}
	
.widget.inundation-chart.on span.toggle.inundation-chart {
	background: url("icons/ICON_Graph_ON.svg") no-repeat;
}

#graph {
	width: 270px;
    margin-left: 17px;
    height: 186px;
}

.chart-x-label {
	position: relative;
    top: -7px;
    font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}
/********************* Additional Info *********************/

.widget.info.on {
    width: 365px;
    height: 382px;
	max-height: 45%;
}

.widget.info .text-section {
	color: #383838;
}

.widget.info span.toggle.info {
	background: url("icons/ICON_AdditionalInfo_OFF.svg") no-repeat;
}

.widget.info.on span.toggle.info {
	background: url("icons/ICON_AdditionalInfo_ON.svg") no-repeat;
}

.widget.left.info .info-download {
	display: none;
}

.widget.left.info.on .info-download {
	display: block;
}

.info-download {
    position: absolute;
    top: 0;
    right: 26px;
    width: 20px;
    height: 20px;
	cursor: pointer;
	background: url("icons/ICON_Download_OFF_noborder.svg") no-repeat;
}



.info-download:hover {
	background: url("icons/ICON_Download_ON_noborder.svg") no-repeat;
}

.widget.data {
    position: absolute;
	top: 237px;
}

.widget.data.on {
    
    width: 240px;
    height: 173px;
}

.data-section-header {
    background-color: #d1d3d4;
    font-size: 14px;
    padding: 2px 7px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-user-select: none;
	text-transform: uppercase;
}

.data-section {
	padding: 10px;
}

.widget.data span.toggle.data {
	background: url("icons/ICON_Download_ON.svg") no-repeat;
}


.legend-section-header,
.text-section-header {
	position: relative;
	background-color: #d1d3d4;
    font-size: 14px;
    padding: 2px 7px;
    font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.legend-section-header + .legend-section,
.text-section-header + .text-section {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease;
}

.legend-section-header.open + .legend-section,
.text-section-header.open + .text-section {
	max-height: 1000px;
}

/* Header closed arrow */
.legend-section-header:after,
.text-section-header:after {
	position: absolute;
	content: "";
	right: 7px;
	top: 5px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 7px 6px 0;
	border-color: transparent #939598 transparent transparent;
	-webkit-transform:rotate(360deg); /* Better anti-aliasing */
}

/*  Header open arrow */
.legend-section-header.open:after,
.text-section-header.open:after {
	top: 8px;
	border-width: 7px 6px 0px 6px;
	border-color: #939598 transparent transparent transparent;
}

.widget.info .content {
	overflow-y: scroll;
    position: absolute;
	margin-top: 0;
    top: 35px;
    bottom: 0;
	padding: 8px;
}

/************** Widget Legend *******************/
.widget.legend {
	position: absolute;
	top: 50%;
}

.widget.legend.on {
	bottom: 10px;
    width: 240px;
	max-height: 430px;
    height: 50%;
}

.widget.legend.toggle {
	right: 0px;
	left: auto;
}

.widget.legend span.toggle.legend {
	background: url("icons/ICON_Legend_OFF.svg") no-repeat;
}

.widget.legend.on span.toggle.legend {
	background: url("icons/ICON_Legend_ON.svg") no-repeat;
}

/* Legend Header styles are controlled in the info widget section */

.widget.legend .point-icon {
	text-transform: uppercase;
	height: 20px;
	line-height: 20px;
	margin: 5px 0;
}

.widget.legend .point-icon:before {
	position: relative;
	top: -1px;
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-left: 25px;
	margin-right: 8px;
	vertical-align: middle;
}

.widget.legend .schools:before {
	background: url("icons/ICON_School.svg") no-repeat;
}

.widget.legend .fire:before {
	background: url("icons/ICON_FireStation.svg") no-repeat;
}

.widget.legend .hospitals:before {
	background: url("icons/ICON_Hospital.svg") no-repeat;
}

.widget.legend .polyline {
	height: 18px;
	line-height: 18px;
	margin: 5px 0;
}

.widget.legend .polygon,
.widget.legend .polyline {
	height: 18px;
	line-height: 18px;
	margin: 5px 0;
}

.widget.legend .polygon:before,
.widget.legend .polyline:before {
	position: relative;
	content: "";
	display: inline-block;
	width: 24px;
	height: 14px;
	margin-left: 25px;
	margin-right: 8px;
	vertical-align: middle;
}

.widget.legend .extent:before {
	background: url("icons/LEGEND_Model_Extent.svg") 0 3px no-repeat;
}

.widget.legend .open-water:before {
	background-color: #41B6C4;
}

.widget.legend .less-than-1:before {
	background-color: #edf8fb;
}

.widget.legend .four:before {
	background-color: #bfd3e6;
}

.widget.legend .eight:before {
	background-color: #9ebcda;
}

.widget.legend .twelve:before {
	background-color: #8c96c6;
}

.widget.legend .sixteen:before {
	background-color: #8856a7;
}

.widget.legend .twenty-five:before {
	background-color: #810f7c;
}

.widget.legend .layer-transparency {
	margin-top: 15px;
	text-align: center;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 700;
}

.transparency-slider {
	margin: 8px 25px;
	border-radius: 4px;
	border: 1px solid #aaaaaa;
	color: #222222;
	position: relative;
    text-align: left;
	height: 10px;
}

.transparency-slider .ui-slider-range {
	position: absolute;
    display: block;
	top: 0;
    height: 100%;
    z-index: 1;
    font-size: .7em;
    border: 0;
    background-position: 0 0;
	border-radius: 4px;
	background: #1f83e0;
}

.transparency-slider .ui-slider-handle {
	position: absolute;
    z-index: 2;
    width: 1.2em;
    height: 1.2em;
    cursor: default;
    -ms-touch-action: none;
    touch-action: none;
	border-radius: 4px;
	background-color: #1b75bb;
	top: -.3em;
    margin-left: -.6em;
	cursor: pointer;
}

/**************** Basemap select ****************/
.basemap-select {
    position: absolute;
    top: 8px;
    background-color: #fff;
	z-index:2;
	width: 161px;
	border-radius: 6px;
    margin: 0 auto;
    padding: 4px 32px;
    cursor: pointer;
    outline: none;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	letter-spacing: 0.4px;
}

.basemap-select span {
	text-transform: uppercase;
	font-size: 15px;
}

.basemap-select.active  {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.basemap-select:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    left: 12px;
    top: 50%;
    margin-top: -3px;
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: grey transparent;
	-webkit-transform:rotate(360deg); /* Better anti-aliasing*/
}

.basemap-select .dropdown {
    position: absolute;
    top: 10px;
    right: 0px;
	left: 0px;
    transition: all 0.3s ease-out;
	background-color: #fff;
    list-style: none;
    height: 0;
	padding: 0;
    pointer-events: none;
	border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
	overflow: hidden;
}

.basemap-select .dropdown li {
	padding: 2px 0px 0px 32px;
	font-size: 15px;
	font-weight: normal;
}

.basemap-select .dropdown li:hover {
	background-color: #1b75bb;
	color: #fff;
}

.basemap-select.active .dropdown {
    height: 66px;
    pointer-events: auto;
}

/******* Control Buttons *********/
.button {
	position: absolute;
	width: 24px;
	height: 24px;
	z-index: 1;
	cursor: pointer;
	border-radius: 4px;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.btn-search {
	top: 50px;
	background: url("icons/ICON_Search_ON.svg") no-repeat;
}

#geocode-input {
	position: absolute;
	top: 47px;
	right: 6px;
	height: 30px;
	width: 0px;
	border-radius: 4px;
	padding: 0;
	border-width: 0;
	transition: box-shadow 0.4s, border 0.4s, width 1.5s, padding 1.5s;
	font-family: "roboto", san-serif;
}

#geocode-input.open {
	width: 275px;
	padding: 10px;
	border: 1px solid #dcdcdc;
}

#geocode-input:focus {
	border: 1px solid #707070;
	-webkit-box-shadow: 0 0 5px 1px #969696;
    -moz-box-shadow: 0 0 5px 1px #969696;
    box-shadow: 0 0 5px 1px #969696;
}

.btn-zoom-in {
	top: 107px;
	background: url("icons/ICON_ZoomIn_ON.svg") no-repeat;
}

.btn-zoom-default {
	top: 136px;
	background: url("icons/ICON_DefaultZoom_ON.svg") no-repeat;
}

.btn-zoom-out {
	top: 165px;
	background: url("icons/ICON_ZoomOut_ON.svg") no-repeat;
}

.btn-help {
	top: 218px;
	background: url("icons/ICON_Help_ON.svg") no-repeat;
}

.btn-download {
	top: 247px;
	background: url("icons/ICON_Download_ON.svg") no-repeat;
}

/************************ Overlay *****************/
.overlay {    
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0.5;
    z-index: 2;
}

.disclaimer {
	position: absolute;
	width: 500px;
	height: 330px;
	z-index: 3;
	top: 50%;
	left: 50%;
	background-color: #fff;
	margin: -165px 0 0 -250px;
	border-radius: 4px;
	border: 3px solid #1b75bb;
	padding: 36px;
	font-family: 'roboto', arial;
	font-size: 12px;
	line-height: 18px;
}

.disclaimer-title {
	text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 13px;
    color: #1b75bb;
    font-family: "Roboto condensed";
    font-weight: 700;
    letter-spacing: 1.5px;
}

.message-continue,
.disclaimer-continue {
	text-align: center;
    margin-top: 19px;
    color: 1b75bb;
    font-size: 14px;
    font-family: "roboto condensed";
    text-transform: uppercase;
    cursor: pointer;
}

/******************** HELP **********************/

.help {
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    color: #fff;
	font-family: 'Shadows Into Light', cursive;
	text-transform: uppercase;
	text-align: center;
	font-size: 28px;
    line-height: 30px;
}

.help-close {
	position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    background-color: rgba(0,0,0,0.8);
    width: 332px;
    height: 100px;
    vertical-align: middle;
    line-height: 100px;
    padding-left: 24px;
    font-size: 44px;
	cursor: pointer;
}

.help-close:before {
	content: "X";
    font-size: 72px;
    vertical-align: middle;
    position: absolute;
    left: 35px;
    font-family: arial, sans-serif;
}

.help-scenario {
	position: absolute;
    top: 365px;
    left: 325px;
}

.help-scenario:before {
	position: absolute;
	content: "";
	background: url("help/Arrow01.svg") no-repeat;
	left: -44px;
    top: -130px;
    height: 203px;
    width: 256px;
}

.help-basemap {
	position: absolute;
    right: 237px;
    top: 14px;
}

.help-basemap:before {
	position: absolute;
	content: "";
	background: url("help/Arrow_basemap.svg") no-repeat;
	left: 96px;
    top: -88px;
    height: 203px;
    width: 256px;
}

.help-zoom {
	position: absolute;
    right: 65px;
    top: 174px;
}

.help-zoom:before {
	position: absolute;
	content: "";
	background: url("help/Arrow_zoom.svg") no-repeat;
	left: 22px;
    top: -127px;
    height: 203px;
    width: 256px;
}

.help-address {
	position: absolute;
    right: 116px;
    top: 105px;
}

.help-address:before {
	position: absolute;
	content: "";
	background: url("help/Arrow_address.svg") no-repeat;
	left: 145px;
    top: -127px;
    height: 203px;
    width: 256px;
}

.help-download {
	position: absolute;
    top: 300px;
    right: 110px;
}

.help-download:before {
	position: absolute;
	content: "";
	background: url("help/Arrow03.svg") no-repeat;
	left: 22px;
    top: -89px;
    height: 203px;
    width: 256px;
}

.help-legend {
	position: absolute;
    bottom: 195px;
    right: 269px;
}

.help-legend:before {
	position: absolute;
	content: "";
	background: url("help/Arrow02.svg") no-repeat;
	left: 238px;
    top: -160px;
    height: 203px;
    width: 256px;
}

/****************** MESSAGES ********************/

.message.open {
	position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 150px;
    margin-left: -150px;
    margin-top: -75px;
    z-index: 4;
    background-color: #fff;
    padding: 17px;
    border: 3px solid #1b75bb;
    font-family: 'roboto', arial;
    line-height: 23px;
}

/**************** UTFGRID HOVER *****************/
.attribute-hover {
	position: absolute;
	top: 50%;
    left: 50%;
    margin-left: -225px;
    margin-top: -28px;
	display: none;
	width: 450px;
	height: 56px;
	background-color: #fff;
	padding: 8px;
	border-radius: 4px;
	border: 1px solid #e1e3e3;
	-webkit-box-shadow: 6px 6px 9px -4px rgba(0,0,0,0.75);
	-moz-box-shadow: 6px 6px 9px -4px rgba(0,0,0,0.75);
	box-shadow: 6px 6px 9px -4px rgba(0,0,0,0.75);
	font-family: 'roboto', arial;
}

.attribute-hover .close-button {
	position: absolute;
	display: block;
    right: 2px;
    top: 2px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 0 9px;
    border-color: transparent transparent transparent #939598;
    cursor: pointer;
    -webkit-transform: rotate(360deg);
}