/* Water Sustainability and Climate: content styles on top of the UW Standard HTML Template (uw-style.css).
   Colours: Badger Red #C5050C, Dark Red #9B0000, Light Gray #E1E5E7, Black #121212, plus the template's #282728/#646569 greys. */

.wsc-archive-banner {background: #E1E5E7; color: #121212; font-size: .875rem; line-height: 1.4; padding: .4rem 1rem; text-align: center;}

/* header: WSC logo in place of the template's site title, social icons on the right */
.wsc-brand .uw-site-title {margin: 0;}
.wsc-logo {display: block; max-height: 90px; width: auto; max-width: 100%;}
.uw-header-container {align-items: center;}
.wsc-header-social .uw-social-icons {display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0;}
.wsc-header-social svg {width: 1.5rem; height: 1.5rem; fill: #282728;}
.wsc-header-social a:hover svg, .wsc-header-social a:focus svg {fill: #C5050C;}

.wsc-nsf img {float: left; margin: 0 1rem .5rem 0;}
.wsc-nsf p {font-size: .8rem; line-height: 1.45;}
@media (max-width: 40em) {.wsc-header-social {display: none;}}

/* general content */
.wsc-content img, .wsc-content video {max-width: 100%; height: auto;}
.wsc-content iframe {max-width: 100%;}
.wsc-content table {max-width: 100%; width: auto !important; border-collapse: collapse;}
.wsc-content table, .wsc-content td, .wsc-content th {border: 0;}
.wsc-content td {vertical-align: top; padding: .5rem 1rem .5rem 0;}
.wsc-content h6 {font-size: .875rem; text-transform: uppercase; letter-spacing: .05em; color: #646569; margin: 0 0 .5rem;}
.wsc-node {margin-bottom: 3rem;}
.wsc-node::after {content: ""; display: table; clear: both;}
.wsc-button {display: inline-block; background: #C5050C; color: #fff !important; text-decoration: none; padding: .5rem 1rem; border-radius: 3px; font-weight: 600; margin: .25rem 0 .75rem;}
.wsc-button:hover, .wsc-button:focus {background: #9B0000;}
.wsc-float-right {float: right; margin-left: 1rem;}
.wsc-audio {font-weight: 600;}
.wsc-follow {font-weight: 600;}

/* two-column pages: section menu + video on the left, text on the right */
#pageLeft {float: left; width: 30%; max-width: 300px; margin: 0 3% 2rem 0;}
#pageRight {overflow: hidden;}
#pageLeft h6 {font-size: 1rem; color: #C5050C; border-bottom: 2px solid #C5050C; padding-bottom: .35rem; margin-bottom: .75rem;}
#pageLeft ul.menu {list-style: none; margin: 0 0 1.5rem; padding: 0;}
#pageLeft ul.menu li {margin: 0; border-bottom: 1px solid #E1E5E7;}
#pageLeft ul.menu li a {display: block; padding: .45rem .25rem; text-decoration: none; color: #282728;}
#pageLeft ul.menu li a:hover, #pageLeft ul.menu li a.active {color: #C5050C;}
#pageLeft ul.menu li a.active {font-weight: 700;}
#pageLeft ul.menu li a::first-letter {text-transform: uppercase;}
#pageRight h2 {margin-top: 1.5rem;}
@media (max-width: 50em) {#pageLeft {float: none; width: auto; max-width: none; margin-right: 0;}}

/* side boxes with videos */
.videoBox, .sideBox {background: #F7F7F7; border-top: 4px solid #C5050C; padding: 1rem; margin: 1.5rem 0;}
.videoBox h1, .sideBox h1 {font-size: 1.1rem; text-transform: uppercase; margin: 0 0 .75rem;}
.sideBoxText {font-size: .95rem;}
.sideBoxText iframe {display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; margin-bottom: .5rem;}

/* home page */
#indexContent {display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem; margin-top: 1.5rem;}
#indexLeft > br {display: none;}
.wsc-index-heading {margin-top: 0;}
#indexLeft {display: flex; flex-wrap: wrap; gap: 1rem; align-content: flex-start;}
#indexLeft > h2 {flex-basis: 100%;}
.indexResearch {flex: 1 1 calc(50% - 1rem);}
.indexResearch a {display: block; text-decoration: none; color: #282728;}
.indexResearch img {display: block; width: 100%; height: auto;}


.indexWatershed {background: #282728; color: #fff; padding-bottom: 1rem;}
.indexWatershed img {display: block; width: 100%; height: auto;}
.indexWatershed p {padding: 0 1.25rem; margin: 1rem 0 0; font-size: .95rem; line-height: 1.55;}
.indexWatershed a {color: #fff;}
@media (max-width: 50em) {#indexContent {grid-template-columns: 1fr;}}

/* people */
.person {display: inline-block; vertical-align: top; width: 185px; background: #F7F7F7; text-align: center; margin: 0 .75rem 1rem 0; padding: .75rem; font-size: .875rem; line-height: 1.45;}
.person img {display: block; margin: 0 auto .5rem;}
.bioPhoto {float: left; width: 150px; margin: 0 1.25rem 1rem 0;}
.bioDetails {overflow: hidden;}
.ra {color: #9B0000;}

/* news */
#newsContent h1 {font-size: 1.75rem;}
#newsContent h3 {color: #9B0000; text-transform: uppercase; font-size: 1rem;}
#newsDate {font-size: .875rem; color: #646569;}
#newsHeadline {font-size: 1.75rem; color: #282728;}
.mainHead {float: left; width: 33%; padding-right: 1.5rem;}
.mainPhoto {overflow: hidden;}
.mainHead::after, .mainPhoto::after {content: ""; display: table; clear: both;}
#newsIndexLeft {clear: both; float: left; width: 28%; padding-right: 1.5rem; font-size: .9rem;}
#newsIndexLeft h2 {font-size: 1.1rem; margin-top: 1.5rem;}
#newsIndexRight {overflow: hidden; border-left: 1px solid #E1E5E7; padding-left: 1.5rem; margin-top: 1.5rem;}
.wsc-news-list {list-style: none; margin: 0; padding: 0;}
.wsc-news-list li {margin: 0 0 1rem; line-height: 1.4;}
.wsc-news-date {font-size: .8rem; color: #646569;}
.wsc-news-outlet {font-size: .8rem; text-transform: uppercase; letter-spacing: .03em;}
.newsTitle {font-weight: 700;}
.newsPhoto {width: 150px;}
.readmore, .back {font-size: .8rem;}
@media (max-width: 50em) {.mainHead, #newsIndexLeft {float: none; width: auto; padding: 0;} #newsIndexRight {border: 0; padding: 0;}}

/* related publications on research pages */
.wsc-related-pubs {clear: both; border-top: 1px solid #E1E5E7; margin-top: 2rem; padding-top: 1rem;}
.wsc-related-pubs h2 {font-size: 1.2rem;}

/* publications page */
.wsc-pub-filters {display: flex; flex-wrap: wrap; align-items: end; gap: .5rem 1rem; background: #F7F7F7; padding: 1rem; margin: 1rem 0;}
.wsc-pub-filters label {font-weight: 600; font-size: .875rem; margin: 0;}
.wsc-pub-filters select {min-width: 12rem; margin-right: .5rem;}
.wsc-pub-list {padding-left: 1.25rem;}
.wsc-pub {margin-bottom: .9rem; line-height: 1.45;}
.wsc-pub-title {font-weight: 600;}
.wsc-pub[hidden] {display: none;}

/* interactive infographic: fixed artwork, scroll sideways on small screens */
#bg {max-width: none; margin: 0 auto;}
#pageRight:has(#bg) {overflow-x: auto;}

/* The WSC logo has white lettering (made for the 2012 dark header), so the header band is UW dark grey. */
#branding.uw-header {background: #282728;}
#branding .uw-header-container {padding-top: .75rem; padding-bottom: .75rem;}
.wsc-header-social svg {fill: #fff;}
.wsc-header-social a {background: transparent !important;}
.wsc-header-social a:hover svg, .wsc-header-social a:focus svg {fill: #E1E5E7;}
.uw-footer .uw-social-icons a {background: #fff;}
.uw-footer .uw-social-icons svg {fill: #282728;}

/* Interactive infographic hotspots (infographics-shifting-drivers.html), from the 2012 theme */
#bg {position: relative; background-image: url('../images/1.png'); background-repeat: no-repeat; width: 600px; height: 1800px;}
*[id^='o-'] {position: absolute; width: 120px; height: 120px; background-position: 0 0;}
*[id^='b-'] {position: absolute; width: 120px; height: 120px; background-position: 0 0;}
*[id^='b-'] a, *[id^='o-'] a  {display: block; width: 100%; height: 100%;}
#o-1:hover, #o-2:hover, #o-3:hover, #o-4:hover, #o-5:hover, #o-6:hover, #b-1:hover, #b-2:hover, #b-3:hover, #b-4:hover, #b-5:hover, #b-6:hover {background-position: 0 -120px;}
#b-1 {background: url('../images/icons_blue01.png') no-repeat; top: 412px; left: -14px;}
#b-2 {background: url('../images/icons_blue02.png') no-repeat; top: 555px; left: 10px;}
#b-3 {background: url('../images/icons_blue03.png') no-repeat; top: 676px; left: 50px;}
#b-4 {background: url('../images/icons_blue04.png') no-repeat; top: 775px; left: 95px;}
#b-5 {background: url('../images/icons_blue05.png') no-repeat; top: 867px; left: 1px;}
#b-6 {background: url('../images/icons_blue06.png') no-repeat; top: 968px; left: 104px;}
#o-1 {background: url('../images/icons_orange01.png') no-repeat; top: 268px; left: 487px;}
#o-2 {background: url('../images/icons_orange02.png') no-repeat; top: 415px; left: 488px;}
#o-3 {background: url('../images/icons_orange03.png') no-repeat; top: 550px; left: 463px;}
#o-4 {background: url('../images/icons_orange04.png') no-repeat; top: 678px; left: 432px;}
#o-5 {background: url('../images/icons_orange05.png') no-repeat; top: 818px; left: 471px;}
#o-6 {background: url('../images/icons_orange06.png') no-repeat; top: 944px; left: 379px;}
