/* Custom overrides of existing CSS from the UW theme */
/* Dave Helmers Oct 2018 */

/* uw-theme puts too much padding at the top below page title - looks bad */
.uw-outer-row, .uw-outer-row:first-child {
  padding-top: 0.5rem;
}

/* set max width of all pages to 1280px and center content */
body.uw-light-gray-bg, body.uw-white-bg {
  max-width: 1200px;
  border: 1px solid #ccc;
  margin: auto;    /* to center all content on page */
}

/* all pages have white background on light gray margins */
#page, #page.page-builder {
  background-color: #ffffff;
}

/* center all image captions on site */
.wp-caption { text-align: center; }

/* match styling of published lists */
.uw-link-list li p {
    /* text-transform: uppercase; */
    font-weight: 700;
    font-size: .95rem;
}

.uw-link-list li a {
  text-transform: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.silvis-citation {
  font-size: 0.95rem;
  text-transform: none;
  font-weight: 700;
  font-family: Verlag,"Helvetica Neue",Helvetica,Arial,sans-serif;
}
.entry-content p, .uw-pe-text_block li {
  font-family: Verlag,"Helvetica Neue",Helvetica,Arial,sans-serif;
}

#page.data main {
  padding: 0!important;
}

#page.data .entry-header {
  padding-left: 1em;
}

/*.single .entry-content dd, .single .entry-content dt, .single .entry-content li, .single .entry-content p {
    font-family: Verlag,Georgia,Times New Roman,Times,serif;
    -webkit-font-smoothing: auto;
}*/

/* front page hero headline */
.uw-hero-inset-wrapper .uw-hero-headline .uw-hero-inset-content p {
  /* background-color: red; */
  font-size: 1.2em;
  text-align: center;
}
.uw-hero-inset-wrapper.uw-hero-headline-wrapper {
  bottom: 0px;
}
.uw-hero-inset-wrapper {
  max-width: 100%;
}
#left-border-black1px {
	border-left: black solid 1px;
}

.table-center-link {
  text-align: center;
}

/* move scale bar to bottom right of OpenLayers map*/
/* .ol-scale-line {
  position: absolute;
  bottom: 8px;
  left: 950px;
} */
/* move zoom buttons to the rught of the map */
/* .ol-zoom {
  left: 69.5em;
} */

.button {
  margin: 0px;
}

/* In the News page styling */
div#news-list {
  /* background-color: blue; */
  height: 75px;
  line-height: 75px;
  /* text-align: center; */
  /* border: 2px dashed #f69c55; */
}
#news-list span {
  /* background-color: red; */
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
  /* border: 2px solid #ff0000; */
}


/* -------------------------------------------  pulled from (old) datamaps.css file --------------------------------------------- */

#map-container {
	display: grid;
	grid-template-areas:
		"controls map"
		"legend map";
	grid-template-rows: 50% 50%;
	grid-template-columns: 20% 80%;
	font-size: 0.9em;
	/* border-top: 1px 0px solid #cccccc; */
	/* border-bottom: 1px solid #cccccc; */
}

#webmap-container {
	display: grid;
	grid-template-areas:
		"controls map"
		"legend map";
	grid-template-rows: 45% 55%;
	grid-template-columns: 20% 80%;
	font-size: 0.9em;
	/* border-top: 1px 0px solid #cccccc; */
	/* border-bottom: 1px solid #cccccc; */
}

#webmap-container2 {
	display: grid;
	grid-template-areas:
		"controls map";
	grid-template-columns: 20% 80%;
	font-size: 0.9em;
	/* border-top: 1px 0px solid #cccccc; */
	/* border-bottom: 1px solid #cccccc; */
}


@media all and (max-width: 900px) {
	#map-container {
		display: grid;
		grid-template-areas:
			"map map"
			"controls legend";
		grid-template-rows: 540px 1fr;
		grid-template-columns: 50% 50%;
		/* font-size: 1em; */
	}
}

#climate-container {
	display: grid;
	grid-template-areas:
		"controls map"
		"controls map";
	grid-template-rows: 55% 45%;
	grid-template-columns: 25% 75%;
	font-size: 0.9em;
	/* border-top: 1px 0px solid #cccccc; */
	/* border-bottom: 1px solid #cccccc; */
}

@media all and (max-width: 900px) {
	#climate-container {
		display: grid;
		grid-template-areas:
			"map map"
			"controls controls";
		grid-template-rows: 540px 1fr;
		grid-template-columns: 50% 50%;
		/* font-size: 1em; */
	}
}

#map-controls {
	grid-area: controls;
}
#webmap, #climatemap, #birdsmap {
	grid-area: map;
	height: 540px;
}
#map-legend, #map-legend2 {
	grid-area: legend;
	background-color: #eeeeee;
	/* font-size: 0.88em; */
}

#map-controls, #map-legend {
	padding: 5px;
	background-color: #eeeeee;
	/* min-width: 20%; */
	/* height: 100%; */
	/* flex: 0 1 240px; */
	/* font-size: 0.9em; */
	/* position: relative; */
}

#map-controls p {
	/* background-color: yellow; */
	margin-bottom: 0.75rem;
}

#map-controls2 {
	padding: 5px;
	background-color: #cccccc;
	border-bottom: solid 1px black;
}
#webmap-container3 {
	position: relative;
	border: solid 1px black;
}
#map-legend3 {
	position: absolute;
	bottom: 0px;
	opacity: 0.9;
}


.row-separator {
	border: 1px solid #cccccc;
}

.map-radio {
	padding-right: 0.3em;
	margin: 0 0 0.5rem;
}

.map-select {
	font-family: Verlag, Arial, sans-serif;
	margin: 0 0 0;
	height: 2rem;
	font-size: 0.8rem;
}

.map-select2 {
	font-family: Verlag, Arial, sans-serif;
	margin: 0 0 0;
	margin-right: 10px;
	width: 24%;
}
.map-select3 {
	font-family: Verlag, Arial, sans-serif;
	margin: 0 0 0;
	margin-right: 10px;
	/* width: auto; */
	width: 18%;
}
span.map-select2 {
	display: inline-block;
}
.selectLabel {
	margin-right: 3px;
}

.layer-opacity {
	float: right;
	margin-top: 8px;
	width: 80px;
}


/* #downloads-section h3,  */
#downloads-section h5 {
	margin-top: 1rem;
}

#downloads-section, #related-pubs {
	padding-left: 16px;
	padding-right: 16px;
}


/* WUI and housing webmaps */
#wui-stats-grid {
	display: grid;
	grid-template-areas:
		"data-desc stat-files"
		"data-desc metadata";
		grid-template-rows: auto auto;
		grid-template-columns: 70% 30%;
		grid-gap: 2vw;
}
@media all and (max-width: 900px) {
	#wui-stats-grid {
		display: grid;
		grid-template-areas:
			"data-desc data-desc"
			"stat-files metadata";
			grid-template-rows: auto auto;
			grid-template-columns: 50% 50%;
			grid-gap: 2vw;
	}
}
@media all and (max-width: 550px) {
	#wui-stats-grid {
		display: grid;
		grid-template-areas:
			"data-desc"
			"stat-files"
			"metadata";
			grid-template-rows: auto auto auto;
			grid-template-columns: auto;
			grid-gap: 2vw;
	}
}

#wui-data-description {
	grid-area: data-desc;
}
#wui-stats-files {
	grid-area: stat-files;
}
#wui-metadata {
	grid-area: metadata;
}

#wui-map-grid {
	display: grid;
	grid-template-areas:
		"state gis black90 black00 black10 black2020 white90 white00 white10 white2020";
	grid-template-rows: 1fr;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	/* grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); */
	grid-gap: 1vw;
	align-items: center;
}
@media all and (max-width: 700px) {
	#wui-map-grid {
		grid-template-areas:
			"state black90 black00 black10 black2020"
			"gis white90 white00 white10 white2020";
		grid-template-rows: 50% 50%;
		grid-template-columns: 20% 1fr 1fr 1fr 1fr;
		grid-gap: 1vw;
		align-items: center;
	}
}
@media all and (max-width: 450px) {
	#wui-map-grid {
		grid-template-areas:
			"state gis"
			"black90 white90"
			"black00 white00"
			"black10 white10"
			"black2020 white2020";
			grid-template-rows: 20% 1fr 1fr 1fr;
			grid-template-columns: 50% 50%;
		grid-gap: 1vw;
		align-items: center;
	}
}
#state-name {
	grid-area: state;
	/* text-transform: uppercase; */
}
#gis-links {
	grid-area: gis;
}
#wui-map-grid > div {
  text-align: center;
}


/* PBG */
#pbg-map-grid {
	display: grid;
	grid-template-areas:
		"state pbg_gis . . . . . . . . . . ."
		"black1940 black1950 black1960 black1970 black1980 black90 black00 black10 black2020 black2030 black2040 black2050 black2060"
		"white1940 white1950 white1960 white1970 white1980 white90 white00 white10 white2020 white2030 white2040 white2050 white2060";
	grid-template-rows: 1fr 1fr 1fr;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	/* grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); */
	grid-gap: 1vw;
	align-items: center;
}

@media all and (max-width: 800px) {
	#pbg-map-grid {
		display: grid;
		grid-template-areas:
			"state pbg_gis . ."
			"black1940 black1950 black1960 black1970"
			"black1980 black90 black00 black10"
			"black2020 black2030 black2040 black2050"
			"black2060 . . ."
			"white1940 white1950 white1960 white1970"
			"white1980 white90 white00 white10"
			"white2020 white2030 white2040 white2050"
			"white2060 . . .";
		grid-template-rows: 25% 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
		grid-template-columns: 1fr 1fr 1fr 1fr;
		/* grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); */
		grid-gap: 1vw;
		align-items: center;
	}
}

@media all and (max-width: 400px) {
	#pbg-map-grid {
		display: grid;
		grid-template-areas:
			"state pbg_gis ."
			"black1940 black1950 black1960"
			"black1970 black1980 black90"
			"black00 black10 black2020"
			"black2030 black2040 black2050"
			"black2060 . . ."
			"white1940 white1950 white1960"
			"white1970 white1980 white90"
			"white00 white10 white2020"
			"white2030 white2040 white2050"
			"white2060 . . .";
		grid-template-rows: 25% 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
		grid-template-columns: 1fr 1fr 1fr;
		/* grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); */
		grid-gap: 1vw;
		align-items: center;
	}
}

#black1990 {
	grid-area: black90;
}
#black2000 {
	grid-area: black00;
}
#black2010 {
	grid-area: black10;
}
#white1990 {
	grid-area: white90;
}
#white2000 {
	grid-area: white00;
}
#white2010 {
	grid-area: white10;
}

#pbg-map-grid > div {
  text-align: center;
}
#pbg-links {
	grid-area: pbg_gis;
}
#black1940 {
	grid-area: black1940;
}
#black1950 {
	grid-area: black1950;
}
#black1960 {
	grid-area: black1960;
}
#black1970 {
	grid-area: black1970;
}
#black1980 {
	grid-area: black1980;
}
#black2020 {
	grid-area: black2020;
}
#black2030 {
	grid-area: black2030;
}
#black2040 {
	grid-area: black2040;
}
#black2050 {
	grid-area: black2050;
}
#black2060 {
	grid-area: black2060;
}
#white1940 {
	grid-area: white1940;
}
#white1950 {
	grid-area: white1950;
}
#white1960 {
	grid-area: white1960;
}
#white1970 {
	grid-area: white1970;
}
#white1980 {
	grid-area: white1980;
}
#white2020 {
	grid-area: white2020;
}
#white2030 {
	grid-area: white2030;
}
#white2040 {
	grid-area: white2040;
}
#white2050 {
	grid-area: white2050;
}
#white2060 {
	grid-area: white2060;
}

/* DHIs */
#dhi-annual-container {
	display: flex;
	flex-wrap: wrap;
}
#dhi-annual-item {
	flex: 0 1 50px;
	text-align: center;
}
#dhi-composite-item {
	flex: 0 1 200px;
	text-align: center;
}

/* Carpathians */
#carp-grid {
	display: grid;
	grid-template-areas:
		"map1860 map1930 map1960"
		"tif1860 tif1930 tif1960";
		grid-template-rows: auto auto;
		grid-template-columns: 33% 33% 33%;
		grid-gap: 1vw;
}
@media all and (max-width: 950px) {
	#carp-grid {
		display: grid;
		grid-template-areas:
			"map1860"
			"tif1860"
			"map1930"
			"tif1930"
			"map1960"
			"tif1960";
			grid-template-rows: auto auto auto auto auto auto;
			grid-template-columns: 1fr;
			grid-gap: 1vw;
	}
}
#map1860 {
	grid-area: map1860;
}
#map1930 {
	grid-area: map1930;
}
#map1960 {
	grid-area: map1960;
}
#tif1860 {
	grid-area: tif1860;
	/* text-align: center; */
}
#tif1930 {
	grid-area: tif1930;
	/* text-align: center; */
}
#tif1960 {
	grid-area: tif1960;
	/* text-align: center; */
}

#ssp-links-grid {
	display: grid;
	grid-template-areas:
		"state pbgzip pbganim1 pbganim2 pbgppt blkhzip blkhanim blkhppt blkpzip blkpanim blkpppt";
	grid-template-rows: 1fr;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	/* grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); */
	grid-gap: 1vw;
	align-items: center;
}
#pbgzip {
	grid-area: pbgzip;
}
#pbganim1 {
	grid-area: pbganim1;
}
#pbganim2 {
	grid-area: pbganim2;
}
#pbgppt {
	grid-area: pbgppt;
}
#blkhzip {
	grid-area: blkhzip;
}
#blkhanim {
	grid-area: blkhanim;
}
#blkhppt {
	grid-area: blkhppt;
}
#blkhpzip {
	grid-area: blkpzip;
}
#blkpanim {
	grid-area: blkpanim;
}
#blkpppt {
	grid-area: blkpppt;
}

/* -------------------------------------------  pulled from (old) map_legends.css file --------------------------------------------- */

.poly_symbol {
	margin: 2px 5px 2px 2px;
  float: left;
  width: 20px;
  height: 15px;
	outline: 1px solid #333333;
}

.webmap-legend {
	/* font-size: 0.9em; */
	/* position: absolute; */
	/* bottom: 5px; */
}

/* WUI */
#wuiyellow{
background-color: #F7EC1C;
}

#wuiorange{
background-color: #F58220;
}

#wuigreen{
background-color: #8CAD8F;
}

#wuilightgreen{
background-color: #CED8BA;
}

#wuitan{
background-color: #F2F6D9;
}

#wuired{
background-color: #94120F;
}

#wuiblue{
background-color: #8ED8F8;
}

#wuigray-dark{
background-color: #000000;
opacity: 0.7;
}
#wuigray-light{
background-color: #222222;
opacity: 0.7;
}


/* HOUSING */
#hden_blue1 {
    background-color: #343434;
}
#hden_blue2 {
    background-color: #64778c;
}
#hden_blue3 {
    background-color: #a3bbcc;
}
#hden_blue4 {
    background-color: #fff1d6;
}
#hden_blue5 {
    background-color: #ffd37f;
}
#hden_blue6 {
    background-color: #ff8700;
}
#hden_blue7 {
    background-color: #c80000;
}
#hden_water {
    background-color: #000000;
}

#pbg_grey1 {
	background-color: #343434;
}
#pbg_grey2 {
	background-color: #828282;
}
#pbg_grey3 {
	background-color: #b2b2b2;
}
#pbg_grey4 {
	background-color: #e1e1e1;
}
#pbg_water {
	background-color: #000000;
}


/* BIRDS */
#birds_c1 {
	background-color: #0c1078;
}
#birds_c2 {
	background-color: #216e9e;
}
#birds_c3 {
	background-color: #3db868;
}
#birds_c4 {
	background-color: #71eb2f;
}
#birds_c5 {
	background-color: #ffff80;
}

/* CARPATHIANS */
#carp_red {
	background-color: #990000;
}
#carp_orange {
	background-color: #ffab00;
}
#carp_tan {
	background-color: #d7d79e;
}
#carp_ltgreen {
	background-color: #d3ffbe;
}
#carp_dkgreen {
	background-color: #009900;
}
#carp_teal {
	background-color: #00c5ff;
}
#carp_blue {
	background-color: #000099;
}
#carp_gray {
	background-color: #999999;
}

#popdiff1 {
background-color: #b35806;
}
#popdiff2 {
background-color: #e08214;
}
#popdiff3 {
background-color: #fdb863;
}
#popdiff4 {
background-color: #fee0b6;
}
#popdiff5 {
background-color: #f7f7f7;
}
#popdiff6 {
background-color: #d8daeb;
}
#popdiff7 {
background-color: #b2abd2;
}
#popdiff8 {
background-color: #8073ac;
}
#popdiff9 {
background-color: #542788;
}

/* color ramps */
div.MAGramp{
margin: 2px 5px 2px 2px;
float: left;
width: 180px;
height: 20px;
/* background: linear-gradient(#f7fcb9,#78c679,#004529); /* green gradient */
/* background: linear-gradient(to right,#f7fbff,#6baed6,#08306b); /* blue gradient */
/*background: linear-gradient(#ffeda0,#feb24c,#f03b20); /* red gradient */
/*background: linear-gradient(#7f3b08,#b35806,#fdb863,#d8daeb,#b2abd2,#542755,#2d004b); /* orange to purple */
/*background: linear-gradient(#8e0152,#c51b7d,#f1b6da,#e6f5d0,#7fbc41,#4d9221,#276419); /* pink to green */
/* background: linear-gradient(#a50026,#d73027,#fdae61,#e0f3f8,#abd9e9,#4574b4,#313695); /* red to blue */
}

/* div.blue_gradient {
	background: linear-gradient(to right,#f7fbff,#6baed6,#08306b);
} */
div.red_gradient {
	background: linear-gradient(to right,#ffeda0,#feb24c,#f03b20);
}
div.red_gradient2 {
	background: linear-gradient(to right,#FFFFCC,#FED06D,#FD7134,#DB141E,#800026);
}
/* div.green_gradient {
	background: linear-gradient(to right,#f7fcb9,#78c679,#004529);
} */

/* div.snow_gradient { */
	/* background: linear-gradient(to right,#999999,#99ccff,#0000cc); */
/* } */
/* div.non_snow_gradient { */
	/* background: linear-gradient(to right,#999999,#fde0dd,#c51b8a); */
/* } */
div.freeze_gradient {
	background: linear-gradient(to right,#e9ffbe,#cdff70,#99ffad,#4affad,#2ed2ff,#3b90ff,#3355ff,#0000ff,#000099);
}
#freeze_brown {
	background-color: #734c00;
}#freeze_orange {
	background-color: #ffaa00;
}


/* div.orange2purple { */
	/* background: linear-gradient(to right,#7f3b08,#b35806,#fdb863,#d8daeb,#b2abd2,#542755,#2d004b); */
/* } */
/* div.pink2green { */
	/* background: linear-gradient(to right,#8e0152,#c51b7d,#f1b6da,#e6f5d0,#7fbc41,#4d9221,#276419); */
/* } */
/* div.red2blue { */
	/* background: linear-gradient(to right,#a50026,#d73027,#fdae61,#e0f3f8,#abd9e9,#4574b4,#313695); */
/* } */
div.MultiColor {
	background: linear-gradient(to right,#ffccff,#ff9eff,#ff6bff,#ff29ff,#dd00ff,#ae00ff,#7b00ff,#4400ff,#1c24ff,#365eff,#3b93ff,#30cbff,#0dfffb,#2bffc3,#30ff8d,#29ff5b,#0dff15,#55ff00,#8cff00,#bbff00,#eaff00,#ffee00,#ffd000,#ffb300,#ff9500,#f77800,#d65900,#b84000,#9c2700,#800600);
	/* margin: 2px 5px 2px 2px;
	float: left;
	width: 200px;
	height: 20px; */
}

#ramp_value {
	/* float: left; */
	display: inline-block;
	width: 37px;
}
#high_val {
	float: right;
	padding-right: 15px;
}

#structure_dot {
  height: 5px;
  width: 5px;
  background-color: #0000ff;
  border-radius: 50%;
  display: inline-block;
	opacity: 0.6;
}

#left-border td {
	border-left: black solid 1px;
}

/* Container holds buttons tightly together */
.btn-group {
  display: inline-flex;
  border-radius: 4px;
  overflow: hidden; /* Ensures outer corners remain rounded */
}

/* Base button styling */
.map-btn {
  background-color: #ffffff;
  color: #000000;
  padding: 10px 24px;
  cursor: pointer;
  border: 2px solid #000000;
  font-size: 16px;
  transition: background 0.2s;
  font-family: var(--uwDisplayFont);
}

/* Remove overlapping borders between middle buttons */
.btn-group .map-btn:not(:last-child) {
  border-right: none; 
}

/* Interaction feedback */
.map-btn:hover {
  background-color: #444444;
  color: white;
}

/* The style applied to the LAST clicked button */
.map-btn.active-btn {
  background-color: #c5050c;
  color: white;
}

/*span {
	font-family: var(--uwDisplayFont);
}*/

