/* Dialog Polyfill 
--------------------------------------*/
.dialog-item { position:relative; }
dialog { background:var(--sky-blue); border:none; box-shadow:0 0 7px rgba(0,0,0,.7); display:block; height:-moz-fit-content; height:fit-content; left:0; margin:auto; max-height:90vh; max-width:90vw; overflow:visible; padding:0; position:fixed; right:0; top:10vh; width:-moz-fit-content; width:fit-content; }
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-close { margin:0; position:absolute; right:-1rem; top:-1rem;
}
.dialog-close button { animation:dialogEnter .3s; background:var(--brand-blue); border:2px solid #fff; border-radius:50%; color:#fff; font-size:2.25rem; height:3rem; line-height:1em; padding:0; width:3rem; }
.dialog-close.offset { right:-.7rem; top:-1.6rem; }
.dialog-close.offset button { height:1em; line-height:1em; width:1em; }
.dialog-content { 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 
--------------------------------------*/
.dialog-heading { margin:.25rem 0; padding:0; }
.dialog-title { font-weight:700; }
/* Video Modal */
.dialog-video { background:transparent; max-width:80vw; width:800px; }
/* Alternate Style 1
--------------------------------------*/
/* People Modal */
.style1 { background:transparent; box-shadow:none;
}
.style1 .dialog-heading { 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-content .btn { color:var(--brand-blue); }
.style1 .dialog-pager .btn { color:#fff; }
.style1 .dialog-pager .btn:hover { background:var(--brand-blue-light); }
/* 480px
----------------------------------------------------*/
@media only screen and (min-width:30em) {
  .dialog { max-width:80vw;
  }
    .dialog,.dialog .dialog-content { display:flex; flex-flow:row; overflow:visible; }
    .dialog .dialog-content { height:auto; padding:0; }
    .dialog .dialog-image { margin:-1rem 1rem 0 -1rem; width:40%; }
    .dialog .dialog-body { overflow-y:auto; padding:2rem 2rem 2rem 1rem; width:60%; }
}
/* 700px
----------------------------------------------------*/
@media only screen and (min-width:40em) {
  .dialog-content { align-items:flex-start; display:flex; flex-flow:row; height:auto; max-width:90vw; overflow:visible; padding:0;
  }
    .dialog-content .dialog-image { margin:-1rem 1rem 0 -1rem; width:40%; }
    .dialog-content .dialog-body { max-height:85vh; overflow-y:auto; padding:2rem 2rem 2rem 1rem; width:60%; }
}
/* 768px
----------------------------------------------------*/
@media only screen and (min-width:48em) {
  .dialog-content .dialog-image { width:33%; }
  .dialog-content .dialog-body { order:2; width:67%; }
}
/* 1600px
----------------------------------------------------*/
@media only screen and (min-width:100em) {
  .dialog-content {max-width:108rem; }
}
