﻿

.hero
{
	width: 100%;
	display: inline-block;
	background-size: cover;
    color: white;
	overflow: hidden;
}
.hero > * {
	background: rgba(0,62,126,0.8);
}
.hero > h1 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
	font-family: 'Times New Roman', Times, serif;
	font-size: 2.7em;
}
/*2018-01-25 TMD extra specificity because of .RecordContainer > header > thingy in presentation.css*/
header.hero > .content-type {
	padding: 0.5rem 1rem;
	color: #aaa;
	font-family: 'Oswald';
	font-weight: 500;
	letter-spacing: 0.12rem;
}
header.hero > h2 {
	padding-left: 1rem;
	color: #aaa;
	font-family: 'Oswald';
	font-weight: 500;
}

.big-hero > ul > li {
    
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 1em;
}

.big-hero {
    margin-bottom: 1rem;
    overflow: hidden;
}

.big-hero > * {
    background-color: rgba(0,62,126,0.8);
    color: white;
}
.big-hero > h1 {
    font-family: Times New Roman;
    letter-spacing: 0.05em;
    font-size: 2.7em;
    padding: 1.5rem 25px 10px !important;
}
.big-hero > ul {
    padding: 0 0 2rem;
    display: flex;
    justify-content: center;
    margin: 0;
    list-style: none;
}

.big-hero a {
    color: white;
}

.big-hero > ul > li { 
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 1em;
}
.big-hero > ul > li:last-child {
    border-left: 2px solid white;
    padding-top: 0;
    width:33%
}

.big-hero > ul > li:first-child {
    width: 57%
}

.big-hero > ul > li > form > [type="text"] {
    font-size: 1.4rem;
    line-height: 1.4rem;
    width: 200px;
    padding: 6px 0 4px;
}
.big-hero > ul > li > form > a {
    display: block;
}

@media (max-width: 800px) {
    .big-hero > ul {
        flex-wrap: wrap;
    } 
    
    .big-hero > ul > li:first-child {
        width: 100%;
    }
    
    .big-hero > ul > li:last-child {
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
    }
}

.cms-article img {
    max-width: 100%;
}

#dynamicBooks {
    overflow: hidden;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    overflow-x: scroll;
    counter-reset: item;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-top: 2px;
}

#dynamicBooks>.related-record {
    border: none;
    padding: 0;
    margin:0;
    width: 300px;
    flex-shrink: 0;
}

#dynamicBooks h2 {
    text-align: center;
    font-size: 1rem;
    position: absolute;
    right: -10000px;
}

#dynamicBooks img {
   filter:none; 
}

#dynamicBooks a:hover img {
    filter: drop-shadow(0 0 3px rgba(0,0,0,.25));
    border-radius: 3px;
}

#dynamicEvents li {
    padding: 1rem;
    border-bottom: 5px solid #003e7e;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgb(0 0 0 / 20%);
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

#dynamicEvents li > a {
    font-size: 1rem;
    text-align: left;
}

#dynamicEvents p {
    margin-inline-end: 1rem;
    background: #0a79bf;
    padding: 1rem;
    width: min-content;
    border-radius: 5px;
    float: left;
    color: #fff;
    font-weight: bold;
    margin-bottom: 0px;
}

#dynamicNews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

#dynamicNews > .related-record:first-child {
    position: absolute;
}

/* Twitter Widget Styling */
ol.timeline-TweetList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

p.timeline-Tweet-text {
    height: 7rem;
    overflow: hidden;
    font-size: 1rem;
}

.SandboxRoot.env-bp-550 .timeline-Tweet-text {
    font-size: 1rem;
}

.search-within-form > [name="terms"] {
    width: 77%;
    height: 2em;
    padding-left: 1em;
    font-size: 1.7em;
    line-height: 1.7em;
}
.search-within-box > a {
    line-height:2em;
}

.tooltip {
    position: relative;
    display: inline-block;
    PADDING-LEFT: .25em;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 20em;
    bottom: 140%;
    left: 50%;
    margin-left: -15em;
    background-color: #5c5c5c;
    color: #fff;
    text-align: center;
    padding: 5px 5px 5px 5px;
    border-radius: 6px;
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
    font: .5em/1.7 Verdana, Geneva, Arial, Helvetica, sans-serif !important;
    box-shadow: 0 0 5px 0px #fff;
}

/* Show the tooltip text when you mouse over the tooltip container */
a:focus .tooltip > .tooltiptext, .tooltip:hover .tooltiptext {
    visibility: visible;
 }
.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 15em;
    border-width: 5px;
    border-style: solid;
    border-color: #5c5c5c transparent transparent transparent;
}

.no-hero-header {
    position: absolute;
    margin-left: -3000px;
}
.no-hero-header form {
    display:inline-block;
    margin: 3px 20px 0 0;
}

.cms-article > header + div > h2, .cms-article > header + div > p {
padding: 7px;
}/*may not be needed*/ 

/*Statewide Engagement*/
.engagement-menu > div > ul > li>a {
    color: white;
    font-family: Oswald;
    font-size: 15px;
    /* margin-right: 20px; */
    text-transform: uppercase;
    line-height: 1em;
    vertical-align: text-top;
}
.engagement-menu > div > ul > li:hover,.engagement-menu > div > ul > li:focus, .engagement-menu > div > ul > li.active{
    border-bottom: 	#9ca35e solid 5px;
    padding-bottom: 4px;

}
	.engagement-menu > div > ul > li {
    float: left;
}

.engagement-map-dot{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-radius: 50%;
    height: 35px;
    width: 35px;
    position: relative;
    width:300px;
}
.engagement-map-dot{
    overflow: overlay;
    width:35px;
    height:35px;
    overflow: visible;
    
}
.engagement-map-dot > div> img, .engagement-map-dot > div> div{
    width:300px;
    height:185px
}
.engagement-map-dot .map-dot-tall{
    width:300px;
    height:370px;
}
.engagement-map-dot .map-dot-wide{
    width:600px;
    height:185px;
}
.engagement-map-dot:hover, .engagement-map-dot:focus{
    border: 3px solid white;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.engagement-map-dot .hidden-map-box{
    display:none;
}
.hidden-map-box div{
    background-color: #0a79bf;
}
.hidden-map-box div a{
    color: white;
    font-size:30px;
    font-family: Oswald;
    line-height: 30px;
    width:100%;
    padding-left:30px;
}
.hidden-map-box div a em{
    padding-top:25px;
    width:35px;
}
.hidden-map-box:hover,.hidden-map-box:focus,.engagement-map-dot:hover .hidden-map-box, .engagement-map-dot:focus .hidden-map-box{
    display:inline-block;
}

.left-dot-box:after {
	left: 15px;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-right-color: #0a79bf;
	border-width: 15px;
	margin-top: -15px;
}

.right-dot-box:after {
    left: -15px;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-left-color: #0a79bf;
    border-width: 15px;
    margin-top: -15px;
}
.hidden-box-right{
    margin-left:-355px;
}
/*END Statewide Engagement*/

/*Grid for Support us Pages*/

@supports (display: grid) {
    	.wrapper {
    		display: inline-block;
    		grid-template-columns: repeat(auto, [col] 100%);
    		grid-template-rows: auto;
    		background-color: #fff;
            margin-left: 5%;
            margin-right: 5%;
    		margin-top: 25px;
    		font-size: 1rem;
    	}

    	.a {
    		border-bottom: 1px solid #ccc;
    		min-height: 175px;
    	}
    	.b {
    		border-bottom: 1px solid #ccc;
    		min-height: 175px;
    	}
    	.c {
    		border-bottom: 1px solid #ccc;
    		min-height: 175px;
    	}
    	.d {
    		min-height: 175px;
    	}
	@media screen and (min-width: 53rem) {
        .wrapper {
            display: grid;
            grid-template-columns: repeat(2, [col] 50%);
            grid-template-rows: repeat(2, [row] auto);
            background-color: #fff;
            font-size: .7rem;
        }

        .box {
            padding: 20px;
            font-size: 100%;
        }  

        .a {
            border-bottom: 1px solid #ccc;
            border-right: 1px solid #ccc;
            grid-column: col 1 / span 1;
            grid-row: row 1;
            padding-left: 0px;
        }
        .b {
            border-bottom: 1px solid #ccc;
            grid-column: col 2 / span 1;
            grid-row: row 1;
            padding-right: 0px;
        }
        .c {
            border-right: 1px solid #ccc;
            grid-column: col 1 / span 1;
            grid-row: row 2;
            border-bottom: none;
            padding-left: 0px;
        }
        .d {
            grid-column: col 2 / span 1;
            grid-row: row 2;
            padding-right: 0px;
        }
    }
}

/*END Grid Support us Pages */

/*Grid for the Press book pages*/

@supports (display: grid) {
	@media screen and (min-width: 53rem) {
        .wrapper-press-books {
        display: grid;
        grid-template-columns: repeat(3, [col] 33.34%);
        grid-template-rows: repeat(2, [row] auto);
        background-color: #fff;
        }

        .wrapper-press-books .related-record {
            margin-top: 1rem;
            border-top: none;
        }
    }
}

/*END Grid for the Press book pages*/

/*Share Your Voice dropdown menu*/

.share-voice {
    list-style: none;
}
  
li > .dropdown-menu {
    display: none;
}
  
.dropdown-menu > li > a {
    display: block;
    text-decoration: none;
    color: white;
    background-color: var(--primary-color);
    white-space: nowrap;
    line-height: 1.5rem;
    margin-bottom: 0px;
}
  
li:hover .dropdown-menu {
      display: block;
      position: absolute;
      list-style: none;
}

.dropdown-item:hover a {
    background-color: #0a79bf;
}

/*Monthly Celebration Pages*/
.chunk {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	grid-gap: 1rem;
 }

    .large {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .small {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
 
    .half, .video, .sites {
    grid-template-columns: repeat(auto-fit, minmax(49%, 1fr));
    }
 
 .chunk img {
   width: 100%;
   filter: drop-shadow(0 0 3px rgba(0,0,0,.25));
 }

 .fig img {
     height: 100%;
 }
 
 .chunk a:hover img {
   filter: sepia(100%) hue-rotate(190deg) saturate(100%) drop-shadow(0 0 3px rgba(0,0,0,.25));
 }
 
 .chunk a:hover figcaption {
   background: hsl(210, 100%, 25%);
 }
 
 .chunk a:hover .figcaption {
   background: hsl(210, 100%, 25%);
 }
 
 .chunk > figure {
   overflow: hidden;
   position: relative;
   margin: 0;
   padding: 0;
 }
 
 .chunk > .fig {
   overflow: hidden;
   position: relative;
   margin: 0;
   padding: 0;
 }

 .figcaption {
	position: absolute;
	bottom: 0;
	background-color: rgba(0, 64, 128, 0.74);
	width: 100%;
  }

  .RecordContainer .figcaption > h3 {
	color: white;
	text-align: center;
	display: block;
	margin-block-start: .5em;
	margin-block-end: .5em;
	padding: 0 .5rem;
	font-size: 1rem;
    text-transform: none;
  }

  button.prominent {
	background: hsl(1, 62%, 42%);
  	color: white;
  	text-transform: uppercase;
  	padding: 1rem 1.5rem;
  	border: white; 
  	font-weight: bold;
  }

  button.prominent:hover {
	background: hsl(1, 62%, 35%);
  }

  .reverse {
    color:#ffffff;
    border-color: #ffffff;
    text-transform: uppercase;
  }


h2 {
    padding-top: 2rem;
}
/* Pull Quote */
p.pull-quote:first-letter {
  color: var(--primary-color);
  float: left;
  font-size: 4rem;
  line-height: 3.5rem;
  padding-top: .25rem;
  padding-right: 0.25rem;
  }

p.pull-quote {
  color: var(--primary-color);
  margin: 0 3rem 2rem 3rem;
  background: #003e7e0f;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 15px;
  line-height: 2rem;
  font-size: 1.25rem;
  font-weight: bold;
  font-family: 'Domine', Georgia, serif;
  }

.section {
    text-align: center; 
    padding-top: 0; 
    border-bottom: 1px solid var(--primary-color); 
    line-height: 0.1em; 
    margin: 4rem 0 2.5rem; 
    font-size: 1.75rem; 
    color: var(--primary-color);
  }

  .section span {
    background: white; padding: 0 2rem;
  }

  .sites .figcaption {
      padding: 1rem 0;
  } 

  @media (min-width: 365px) {
    .RecordContainer .sites .figcaption > h3 {
      font-size: 1.25rem;
    }
  }

  @media (max-width: 500px) {

    .section {
        line-height: 2rem; 
        text-align: center;
        border: none;
      }
    
      .section span {
          background: #fff;
          padding: 0;
      }

  }

#art-display {
    background: url(../jpg/brick-background.jpg);
    padding: 4rem 0;
    margin: 4rem 0 2rem 0;
    color: white;
}

/* 175 Campaign */

.one-seven-five {
    padding: 2rem 3rem 4rem;
  }
  
    .one-seven-five h2 {
        text-align: center;
        font-size: 3rem;
        text-transform: uppercase;
        font-family: 'Oswald', sans-serif;
        font-weight: 500;
    }

    .one-seven-five .chunk {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-gap: 3rem;
    }


    .button-bar .visionaries {
        background: #9ca35e;border: #0A79BF;color: white; flex-basis: 12rem;
    }

    .button-bar .changemakers {
        background: #CF7028;border: #CF7028;color: white; flex-basis: 12rem;
    }

    .button-bar .storytellers {
        background: #008C99;border: #008C99;color: white; flex-basis: 12rem;
    }


.bubble img {
    border-radius: 100%;
    width: 100%;
  }
  
  .bubble p {
    text-align: center;
    padding: 0;
    margin: 1rem 0 0; 
    font-family: sans-serif;
    color: #037881;
  }
  
  .bubble {
      box-sixing: border-box;
  }

  #storytellers {
    background: #D8F3F3;
  }

  #storytellers h2, #storytellers h3, #storytellers .bubble p {
    color: #037881;
  }

  #storytellers .bubble img {
      box-shadow: 0px 0px 0px 10px #008c99;
  }

  #visionaries {
    background: #edeee2;
  }

  #visionaries h2, #visionaries h3, #visionaries .bubble p {
    color: #666D2B;
  }
  
  #visionaries .bubble img {
      box-shadow: 0px 0px 0px 10px #9ca35e;
  }

  #changemakers {
    background: #ffede0;
  }

  #changemakers h2, #changemakers h3, #changemakers .bubble p {
    color: #bb5c21; 
  }
  
  #changemakers .bubble img {
      box-shadow: 0px 0px 0px 10px #cf7028;
  }

  #LGBTQ {
    background: linear-gradient(124deg, #ff220042, #e81d1d42, #e8b91d65, #e3e81d65, #1de83f50, #1de8bf45, #1d7be842, #1d4ce842, #39067442, #74066d42);
    background-size: 300%;
    -webkit-animation: rainbow 30s ease infinite;
    -z-animation: rainbow 30s ease infinite;
    -o-animation: rainbow 30s ease infinite;
    animation: rainbow 30s ease infinite;}

    @-webkit-keyframes rainbow {
        0%{
    background-position:0% 82%;}
        50%{
    background-position:100% 19%;}
        100%{
    background-position:0% 82%;}
    }
    @-moz-keyframes rainbow {
        0%{
    background-position:0% 82%;}
        50%{
    background-position:100% 19%;}
        100%{
    background-position:0% 82%;}
    }
    @-o-keyframes rainbow {
        0%{
    background-position:0% 82%;}
        50%{
    background-position:100% 19%;}
        100%{
    background-position:0% 82%;}
    }
    @keyframes rainbow { 
        0%{
    background-position:0% 82%;}
        50%{
    background-position:100% 19%;}
        100%{
    background-position:0% 82%;}
    }

  #LGBTQ h2, #LGBTQ h3, #LGBTQ .bubble p {
    color: #002041; 
  }
  
  #LGBTQ .bubble img {
      box-shadow: 0px 0px 0px 10px #fff;
  }

#visionaries h3, #storytellers h3, #changemakers h3, #LGBTQ h3 {
    padding: 0;
    text-align: center;
    text-transform: none;
}

/* Stupid Sites Page box.... fml */
.fancy-frame {
    border: 9px solid #aa2828;
    outline: 9px solid #aa2828;
    outline-offset: .75rem;
    border-radius: 2rem;
    padding: 2rem;
    margin: 4rem 2rem 2rem;
    background-image: url('../png/whf%202021%20holiday%20graphics_website%20background%201280x560.png');
    background-repeat: no-repeat, repeat;
    background-position: center;
    background-size: cover;
}

.fancy-frame h2 {
    font-size: 2.5rem;
    font-family: 'Baskerville', serif;
    color: #fff;
    margin-bottom: 1rem;
    padding-top: 0;
}

@media (max-width: 500px) {
    .fancy-frame {
        border: none;
        padding: 0 0 1rem;
        margin: 2rem 0;
    }
    
    .fancy-frame h2 {
        font-size: 1.5rem;
    }

    .fancy-frame h3 {
        font-size: 1rem;
    }
}

