/* Dialog Polyfill 
--------------------------------------*/
dialog { background:var(--sky-blue); border:none; bottom:0; 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:100vh; transform:translateY(-50vh); width:-moz-fit-content; width:fit-content; }
dialog[open] { animation:dialogShow .25s ease-out;}
dialog:not([open]) { display:none; }
dialog.fixed { bottom:0; position:fixed; top:100vh; transform:translateY(-50vh); }
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 { margin:0; position:absolute; right:1rem; top:1rem;
}
.dialog-close button { animation:dialogEnter .3s; background:var(--brand-blue) url(images/dialog-close.svg) 50% 50% / 1rem no-repeat; border:2px solid #fff; border-radius:50%; color:#fff; font-size:2.25rem; height:3rem; line-height:1em; padding:0; text-indent:-999vw; width:3rem; }
.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,.dialog-image .dialog-image-content { padding:1rem; }
@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%; }
@media screen and (min-width:40rem) { 
  .dialog-dine { display:flex; flex-flow:row; height:-moz-fit-content; height:fit-content; max-width:80vw;overflow:visible; }
    .dialog-dine .dialog-image { padding:0 1.5rem; width:40%;
    } 
      .dialog-dine .dialog-image img { margin:-1rem -1.5rem 1.5rem -2.5rem; max-width:none; width:calc(100% + 4rem); }
    .dialog-dine .dialog-body { overflow-y:auto; padding:2rem; width:60%; }
    .dialog-dine .dialog-title { padding-top:0; }
  .dialog-dine .dialog-frame { display:flex; flex-flow:row; height:-moz-fit-content; height:fit-content; overflow:visible; padding:0; }
}
@media screen and (min-width:48rem) { 
  .dialog-dine .dialog-image { width:35%; }
  .dialog-dine .dialog-body { width:67%; }
}
@media screen and (min-width:120rem) { 
 .dialog-dine {max-width:108rem; }
}
/* Video Modal */
.dialog-video { background:transparent; max-width:80vw; width:800px; }
/* Alternate Style 1
--------------------------------------*/
/* People Modal */
dialog.style1 { background:transparent; box-shadow:none;
}
/*h2, h3, h4, h5, h6, .dialog-name, .dialog-title, .dialog-bio, .dialog-body, .dialog-desc, .dialog-pager .btn, .dialog-frame .btn { color:white; 
    a { color:var(--sky-blue-light); }
  }
  .dialog-team, .card-label { color:var(--gray-light); }*/
dialog.style1 .dialog-frame { background-color:#fff; }
dialog.style1 .dialog-pager-team { border-bottom:1px solid var(--sky-blue-dark); color:var(--gray-light); }
dialog.style1 .dialog-pager .btn:hover { background:var(--brand-blue-light); }
dialog.style1+.backdrop,dialog.style1::backdrop { background:rgba(8,22,41,.98); }
