  .thankyou-modal {
    display: none;
    position: fixed;
    z-index: 100;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
  }
  /* #thankyou-modal1 {
    display: block;
  }
  */

  /* thankyou-modal Content */
  .thankyou-modal-content {
    position: relative;
    background-color: #ffffff;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px  10px 0 10px;
    /* border: 5px solid #FDA300; */
    /* border-radius: 8px; */
    width: 900px;
    box-shadow: 0 4px 15px 0 rgb(0 0 0 / 52%),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
  }
  .thankyou-modal .checkmark {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #465268;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -30px;
    z-index: 10;
  }
  .thankyou-modal .checkmark img {
    width: 50px;
  }
  .thankyou-modal .tort-row {
    display: flex;
    width: 80%;
    flex-direction: row;
    justify-content: space-between;

  }
  .thankyou-modal .tort-row a {
    text-decoration: none;
    color: white;
    width: 32%;
  }

  .thankyou-modal .tort {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #000;
    box-shadow: 1px 1px 14px 0 #0000006b;

  }
  .thankyou-modal .elmiron {
    background-color: #2387b5;
  }
  .thankyou-modal .cpap {
    background-color: #00438c;
  }
  .thankyou-modal .roundup {
    background-color: #f3f32c;
  }
  .thankyou-modal .paraquat {
    background-color: #c49c36;
  }
  .thankyou-modal .clergy {
    background-color: #b8b8b8;
  }
  .thankyou-modal .birth {
    background-color: #b4d033;
  }
  .thankyou-modal .hernia {
    background-color: #cf1b22;
  }
  .thankyou-modal .zantac {
    background-color: #6667ab;
  }

  .thankyou-modal .inside-tort {
    background-image: url();
    background-size: cover;
    background-position-y: bottom;
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }
  .thankyou-modal .elmiron .inside-tort {
    background-image: url("/assets/modal/img/elmironpic.jpg");
  }
  .thankyou-modal .cpap .inside-tort {
    background-image: url("/assets/modal/img/cpappic.jpg");
  }
  .thankyou-modal .birth .inside-tort {
    background-image: url("/assets/modal/img/birthpic.jpg");
  }
  .thankyou-modal .hernia .inside-tort {
    background-image: url("/assets/modal/img/herniapic.jpg");
  }
  .thankyou-modal .paraquat .inside-tort {
    background-image: url("/assets/modal/img/paraquatpic.jpg");
  }
  .thankyou-modal .roundup .inside-tort {
    background-image: url("/assets/modal/img/rounduppic.jpg");
  }
  .thankyou-modal .clergy .inside-tort {
    background-image: url("/assets/modal/img/clergypic.jpg");
  }
  .thankyou-modal .zantac .inside-tort {
    background-image: url("/assets/modal/img/zantacpic.jpg");
  }
  .thankyou-modal .inside-tort h4 {
    font-size: 1.3em;
    margin: 10px 0;
    font-weight: 700;
    text-shadow: 1px 1px 6px black;
    line-height: 1.2;
  }
  .thankyou-modal .inside-tort h5 {
    font-size: .9em;
    font-weight: 400;
    text-shadow: 0 0 black;
    text-shadow: 1px 1px 6px black;
    width: 96%;
    line-height: 1.2;
  }
  .thankyou-modal .learn  {
    font-size: 1.1em;
    font-weight: 500;
    padding: 5px 0;
    text-align: center;
    text-shadow: 1px 1px 6px black;
  }
  .thankyou-modal .close-button {
    cursor: pointer;
    width: 80%;
    background: #465268;
    color: white;
    padding: 8px 0;
    text-align: center;
    margin: 15px 0;
    font-size: 1.1em;
    font-weight: bold;
    box-shadow: 1px 1px 14px 0 #0000006b;
  }

  /* Add Animation */
  @-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }

  @keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }


  .thankyou-modal h2 {
      color:#465268;
      font-size: 1.7em;
      font-weight: bold;
      text-align: center;
      margin: 18px 0px 10px 0;
  }
  .thankyou-modal h3 {
    color:#000;
    font-size: 1.2em;
    font-weight: normal;
    text-align: center;
  }
  .thankyou-modal p {
    color:#000;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    margin: 10px 0px 20px 0;
  }

  .modal-body {padding: 2px 16px;}
  @media only screen and (max-width: 1100px) {
      .thankyou-modal {
        padding-top: 40px;
      }
      .thankyou-modal-content {
          width: 90%;
          padding: 15px 5px 0 5px;
      }
      .thankyou-modal .checkmark {
        top: -25px;
        width: 50px;
        height: 50px;
      }
      .thankyou-modal .checkmark img {
        width: 30px;

      }
      .thankyou-modal .inside-tort {
        height: 160px;
      }
      .thankyou-modal .tort-row {
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-around;

      }
      .thankyou-modal .tort {
        width: 100%;
        margin-bottom: 6px;
      }

      .thankyou-modal .tort-row a {
        width: 49%;
      }
      .thankyou-modal .tort-row .tort3 {
        width: 98%;
      }
      .thankyou-modal .tort3 .inside-tort {
        height: 100px;
      }
      .thankyou-modal .tort3 .inside-tort h4 {
        margin: 6px 0;
      }

      .thankyou-modal .inside-tort h5 {
        font-size: .9em;
      }
      .thankyou-modal h2 {
        font-size: 1.6em;
      }
      .thankyou-modal h3 {
        font-size: 1.1em;
      }
      .thankyou-modal p {
        font-size: 1.1em;
      }

      .thankyou-modal .close-button {
          width: 100%;
          font-size: 1.1em;
          padding: 6px 0;
      }
  }