/**************************\
  Basic Modal Styles
\**************************/

.modal {
    /* font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif; */
  }
  
  .modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .modal__container {
    background-color: #fff;
    margin: 10px;
    /* max-width: 800px;
    max-height: 100vh; */
    border-radius: 32px;
    overflow-y: auto;
    box-sizing: border-box;
  }

  @media screen and (max-width: 768px) {
      .modal__container {
          margin-top: 80px;
          border-radius: 16px;
        }
  }

  .modal__container_large {
    background-color: #fff;
    padding: 30px;
    max-width: 1350px;
    max-height: 100vh;
    border-radius: 4px;
    overflow-y: auto;
    box-sizing: border-box;
  }
  
  .modal__container a:link{
    text-decoration: underline;
  }
  .modal__header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .modal__title {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 2rem;
    color: #00449e;
    box-sizing: border-box;
  }

  .modal__footer {
        text-align: center;
        width: 100%;
  }
  
  .modal__close {
    position: absolute;
    left: 50%;
    bottom: -20px;
    background: #FFF500;
    border: 0;
  }
  
  .modal__header .modal__close:before {
    color: #000;
    content: "\2715"; font-weight: bold;}
  
  .modal__content {
    line-height: 1.5;
    color: rgba(0,0,0,.8);
  }
  .modal__content .iframe-area{
    max-width: 100%;
    width: 800px;
    height: 450px;
    margin-bottom: 0;
  }
  @media screen and (max-width: 768px) {
  .modal__content .iframe-area{
    width: 600px;
    height: 338px;
  }
  }
  @media screen and (max-width: 400px) {
  .modal__content .iframe-area{
    width: 320px;
    height: 180px;
  }
  }
  .modal__content .iframe-area iframe,
  .modal__content .iframe-area video{
    position: relative;
  }
  
  .modal__btn {
    position: absolute;
    left: 50%;
    bottom: calc(50% - 300px);
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: #FFF500;
    border: 0;
    transform: translateX(-50%);
  }
    .modal__btn:before,
    .modal__btn:after {
    content: "";
    display: inline-block;
    width: 3rem;
    height: 1px;
    background: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(30deg);
  }
    .modal__btn:after {
    transform: translate(-50%,-50%) rotate(-30deg);
  }
  
  .modal__btn:focus, .modal__btn:hover {
    -webkit-transform: translateX(-50%) scale(1.05);
    transform: translateX(-50%) scale(1.05);
  }
  
  .modal__btn-primary {
    background-color: #00449e;
    color: #fff;
  }
  
  
  
  /**************************\
    Demo Animation Style
  \**************************/
  @keyframes mmfadeIn {
      from { opacity: 0; }
        to { opacity: 1; }
  }
  
  @keyframes mmfadeOut {
      from { opacity: 1; }
        to { opacity: 0; }
  }
  
  @keyframes mmslideIn {
    from { transform: translateY(15%); }
      to { transform: translateY(0); }
  }
  
  @keyframes mmslideOut {
      from { transform: translateY(0); }
      to { transform: translateY(-10%); }
  }
  
  .micromodal-slide {
    /* display: none; */
    opacity: 0;
    pointer-events: none;
  }
  
  .micromodal-slide.is-open {
    /* display: block; */
    opacity: 1;
    pointer-events: auto;
  }
  
  .micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
    z-index: 30;
  }
  
  .micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
  }
  
  .micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
  }
  
  .micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
  }
  
  .micromodal-slide .modal__container,
  .micromodal-slide .modal__overlay {
    will-change: transform;
  }