/* Dialog Polyfill 
--------------------------------------*/
dialog { background:var(--sky-blue); border:none; box-shadow:0 0 7px rgba(0,0,0,.7); display:block; left:0; margin:auto; max-height:90vh; max-width:90vw; overflow: visible; padding:0; position:fixed; right:0; /*width:fit-content; height:fit-content;*/ top:10vh }
dialog[open] { animation:dialogShow .25s ease-out;}
dialog:not([open]) { display:none; }
dialog.fixed { position:fixed; top:50%; transform:translateY(-50%); }
dialog+.backdrop { bottom:0; left:0; position:fixed; right:0; top:0;  }
dialog+.backdrop,dialog::backdrop { background:rgba(8,22,41,.7); }
._dialog_overlay { bottom:0; left:0; position:fixed; right:0; top:0; }
.has-open-dialog .page-main { z-index:auto; }
.dialog-item { position: relative; }
.dialog-close {position:absolute; right:-1rem; top:-5vh;}
.dialog-close button { animation: dialogEnter .3s; border: 0; }
.dialog-close.offset { right:-.7rem; top:-1.6rem; }
.dialog-close.offset button { height:1em; line-height:1em;width:1em; }
.dialog-frame { height:auto; max-height:90vh; overflow-y:auto;}
.dialog-body { padding:1rem; }
.dialog-image img { margin-top: 2rem; width:100%; }
@keyframes dialogEnter { 
  0% { opacity:0; transform:translate3d(0, -1em, 0); }
  to { opacity:1; transform:translateZ(0); }
}
@keyframes dialogShow { 
  0% {opacity:0;} 
  to {opacity:1;} 
}
/* Default Style 
--------------------------------------*/
/* People Modal */
.dialog-name { margin: .25rem 0; padding: 0; }
.dialog-team { color: var(--gray); font-size: .9em; letter-spacing: .08em; margin-bottom: 0; text-transform: uppercase; }
.dialog-title { color: var(--brand-blue); font-weight: 700; }
.dialog-pager { display:flex; flex-flow:row wrap; justify-content:space-between; }
.no-js .dialog-pager,[data-team=""] .dialog-pager-team {display:none;}
.dialog-pager-team { margin-top: 2rem; width:100%; }
/* Video Modal */
.dialog-video { background:transparent; max-width:80vw; width:800px; }
/* Alternate Style 1
--------------------------------------*/
/* People Modal */
dialog.style1 { background: transparent; box-shadow: none; }
.style1 .dialog-name { color: #fff; }
.style1 .dialog-team { color: var(--gray-light); }
.style1 .dialog-title { color: #fff; }
.style1 .dialog-image.image-circle img { border-radius: 50%; overflow: hidden; }
.style1 .dialog-bio,.style1 .dialog-body,.style1 .dialog-desc { color: #fff; }
.style1 .dialog-bio a,.style1 .dialog-body a,.style1 .dialog-desc a { color:var(--sky-blue-light); }
.style1+.backdrop { background: rgba(8,22,41,.98); }
.style1::backdrop { background: rgba(8,22,41,.98); }
.style1 h2,.style1 h3,.style1 h4,.style1 h5,.style1 h6 { color: #fff; }
.style1 .dialog-frame .btn { color:var(--brand-blue); }
.style1 .dialog-pager-team { border-bottom: 1px solid var(--sky-blue-dark); color: var(--gray-light); }
.style1 .dialog-pager .btn { color:#fff; }
.style1 .dialog-pager .btn:hover { background: var(--brand-blue-light); }
.style2 .dialog-frame .btn-inline:hover { background: var(--sky-blue-light); }
/* 480px
----------------------------------------------------*/
@media only screen and (min-width:30em) {
  /* People Modal */
  .dialog-person { display:flex; flex-flow:row; max-width:80vw;overflow:visible; }
    .dialog-person .dialog-image {margin:-1rem 1rem 0 -1rem; width:40%; }
    .dialog-person .dialog-body { overflow-y:auto; padding:2rem 2rem 2rem 1rem; width:60%; }
  .dialog-person .dialog-frame { display:flex; flex-flow:row; height:auto; overflow:visible; padding:0; }

}
/* 700px
----------------------------------------------------*/
@media only screen and (min-width:40em) {
  .dialog-content,.dialog-person { display:flex; flex-flow:row; max-width:80vw;overflow:visible; }
    .dialog-person .dialog-image { margin:-1rem 1rem 0 -1rem; width:40%; }
    .dialog-content .dialog-image { margin: 4rem 1rem 0 -1rem; }
    .dialog-content .dialog-body,.dialog-person .dialog-body { max-height: 85vh; overflow-y:auto; padding:2rem 2rem 2rem 1rem; width:60%; }
  .dialog-content .dialog-frame,.dialog-person .dialog-frame { align-items: flex-start; display:flex; flex-flow:row; height:auto; max-width: 90vw; overflow:visible; padding:0; }
}
/* 768px
----------------------------------------------------*/
@media only screen and (min-width:48em) {
  /* People Modal */
  .dialog-content .dialog-image,.dialog-person .dialog-image { width:33%; }
  .dialog-content .dialog-image,.dialog-person .dialog-body { width:67%; }
  .dialog-content .dialog-image { order: 2; }
}
/* 960px
----------------------------------------------------*/
@media only screen and (min-width:60em) {
  .page-section { margin-bottom: 4rem; margin-top: 4rem; }
  .page-section:last-of-type { margin-bottom: 0; }
  .news-events .page-main { padding-bottom: 0; }
}
/* 1600px
----------------------------------------------------*/
@media only screen and (min-width:100em) {
  .dialog-person {max-width:108rem; }
}
/* 1920px
----------------------------------------------------*/
@media only screen and (min-width:120em) {
  .dialog-content,.dialog-person {max-width:108rem; }
}