/* ==========================================================================
   Remodal's default mobile first theme
   ========================================================================== */
/* Default theme styles for the background */
.remodal-bg.remodal-is-opening, .remodal-bg.remodal-is-opened {
    filter: blur(3px);
  }
  /* Default theme styles of the overlay */
  .remodal-overlay {
    background-color: rgba(0, 0, 0, 0.8);
  }
  .remodal-overlay.remodal-is-opening, .remodal-overlay.remodal-is-closing {
    animation-duration: 0.1s;
    animation-fill-mode: forwards;
  }
  .remodal-overlay.remodal-is-opening {
    animation-name: remodal-overlay-opening-keyframes;
  }
  .remodal-overlay.remodal-is-closing {
    animation-name: remodal-overlay-closing-keyframes;
  }
  /* Default theme styles of the wrapper */
  .remodal-wrapper {
    padding: 60px 10px 0px;
  }
  /* Default theme styles of the modal dialog */
  .remodal {
    box-sizing: border-box;
    width: 100%;
    padding-top: 42px;
    padding-right: 35px;
    padding-left: 35px;
    padding-bottom: 45px;
    transform: translate3d(0, 0, 0);
    color: #fff;
    background-repeat: repeat-y;
    background-size: 100%;
  }
  .remodal.remodal-is-opening, .remodal.remodal-is-closing {
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
  }
  .remodal.remodal-is-opening {
    animation-name: remodal-opening-keyframes;
  }
  .remodal.remodal-is-closing {
    animation-name: remodal-closing-keyframes;
  }
  /* Vertical align of the modal dialog */
  .remodal, .remodal-wrapper:after {
    vertical-align: middle;
  }
  /* Close button */
  .remodal-close {
    position: absolute;
    top: -68px;
    right: 0px;
    display: block;
    overflow: visible;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
    color: #95979c;
    border: 0;
    outline: 0;
    background: transparent;
  }
  .remodal-close:hover {
    color: #ED4C1A;
  }
  .remodal-close:focus {
    color: #2b2e38;
  }
  .remodal-close:before {
    width: 50px;
    height: 50px;
    position: absolute;
    content: '';
    background-size: contain;
    top: 0;
    right: 0px;
  }
  /* Dialog buttons */
  .remodal-confirm, .remodal-cancel {
    font: inherit;
    display: inline-block;
    overflow: visible;
    min-width: 110px;
    margin: 0;
    padding: 12px 0;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    border: 0;
    outline: 0;
  }
  .remodal-confirm {
    color: #fff;
    background: #81c784;
  }
  .remodal-confirm:hover, .remodal-confirm:focus {
    background: #66bb6a;
  }
  .remodal-cancel {
    color: #fff;
    background: #e57373;
  }
  .remodal-cancel:hover, .remodal-cancel:focus {
    background: #ef5350;
  }
  /* Remove inner padding and border in Firefox 4+ for the button tag. */
  .remodal-confirm::-moz-focus-inner, .remodal-cancel::-moz-focus-inner, .remodal-close::-moz-focus-inner {
    padding: 0;
    border: 0;
  }
  /* Keyframes
     ========================================================================== */
  @keyframes remodal-opening-keyframes {
    from {
      transform: scale(1.05);
      opacity: 0;
    }
    to {
      transform: none;
      opacity: 1;
      filter: blur(0);
    }
  }
  @keyframes remodal-closing-keyframes {
    from {
      transform: scale(1);
      opacity: 1;
    }
    to {
      transform: scale(0.95);
      opacity: 0;
      filter: blur(0);
    }
  }
  @keyframes remodal-overlay-opening-keyframes {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  @keyframes remodal-overlay-closing-keyframes {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
  /* Media queries
     ========================================================================== */
  @media screen and (min-width: 770px) {
    .remodal {
      max-width: 800px;
    }
    .remodal .img {
      float: left;
      width: 183px;
      margin: auto auto auto 0;
    }
    .remodal .s_img img {
      padding: 0 10px;
    }
    .remodal .text_box {
      width: 517px;
      font-size: 15px;
      line-height: 1.9;
      text-align: left;
      margin: auto 0 auto auto;
    }
    .remodal .text_box h5 {
      font-size: 28px;
      line-height: 1.46;
      margin-bottom: 16px;
      padding-bottom: 16px;
      border-bottom: 1px solid #d5ae22;
      border-image: linear-gradient(to right, #d5ae22, #e9d087, #d5ae22, #e9d087, #d5ae22);
      border-image-slice: 1;
    }
    .remodal .box {
      width: 460px;
      text-align: left;
    }
    .remodal .box .bg {
      background-color: #F2F2F2;
      padding: 10px 0 6px 14px;
      margin-bottom: 24px;
    }
    .remodal .box .bg .name {
      font-size: 22px;
      margin-top: -4px;
    }
    .remodal .box span {
      font-size: 11px;
    }
    .remodal .outer {
      font-size: 15px;
    }
    .remodal .outer .single {
      border: 2px solid #000000;
      padding: 20px 0 18px;
      margin-bottom: 20px;
    }
    .remodal .outer .single .title {
      font-size: 24px;
      line-height: 30px;
      font-weight: bold;
      color: #000 !important;
      border-bottom: 5px solid #000000;
      display: inline-block;
    }
    .remodal .outer .single .text {
      color: #000 !important;
      margin: 0;
    }
    .remodal .outer .single .left {
      display: inline-block;
      text-align: left;
      width: 90%;
      margin-top: 10px;
    }
    .remodal .outer .red {
      color: #e70306 !important;
    }
    .remodal dl {
      font-size: 14px;
      margin: 0 20px;
    }
    .remodal dl dt {
      white-space: nowrap;
      float: left;
      clear: both;
      width: 30%;
      text-align: left;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      margin: 14px 0 10px;
      font-weight: bold !important;
    }
    .remodal dl dd {
      line-height: 24px;
      margin-top: -2px;
      word-wrap: break-word;
      float: left;
      width: 70%;
      text-align: left;
      margin: 14px 0 12px;
    }
    .remodal table {
      width: 100%;
      border-collapse: collapse;
    }
    .remodal table tr {
      text-align: center;
    }
    .remodal table tr th {
      background-color: #efefef;
    }
    .remodal table tr th, .remodal table tr td {
      text-align: center;
      border: 1px solid #e4e5e5;
      padding: 5px 0 3px;
      vertical-align: middle;
    }
    .remodal table tr .wide {
      width: 35%;
    }
    .remodal table tr td:first-of-type {
      text-align: left;
      padding: 5px 8px 3px;
    }
    .tel_box .box:nth-of-type(2) {
      margin-bottom: 0;
    }
    .tel_box .box dt {
      display: inline-block;
      vertical-align: middle;
      font-size: 12px;
      font-weight: bold;
      line-height: 1.3;
      padding-top: 3px;
    }
    .tel_box .box dd {
      display: inline-block;
      width: 220px;
      vertical-align: middle;
    }
  }
  @media screen and (max-width: 769px) {
    .remodal {
      box-sizing: border-box;
      width: 100%;
      margin-bottom: 10px;
      padding-top: 30px;
      padding-right: 5%;
      padding-left: 5%;
      padding-bottom: 30px;
      transform: translate3d(0, 0, 0);
      color: #fff;
      background-repeat: repeat-y;
      background-size: 100%;
    }
    .remodal .img {
      width: 153px;
      margin: 0 auto 21px;
    }
    .text_box {
      line-height: 1.7;
      text-align: left;
    }
    .text_box h5 {
      font-size: 2rem;
      line-height: 1.4;
      text-align: center;
      margin-bottom: 14px;
      padding-bottom: 14px;
      border-bottom: 1px solid #d5ae22;
      border-image: linear-gradient(to right, #d5ae22, #e9d087, #d5ae22, #e9d087, #d5ae22);
      border-image-slice: 1;
    }
    .remodal-wrapper {
      padding: 30px 8% 0;
    }
    .remodal img {
      width: 100%;
    }
    .remodal .outer {
      font-size: 14px;
      line-height: 20px;
    }
    .remodal .outer .single {
      border: 2px solid #000000;
      padding: 18px 12px 18px;
      margin-bottom: 20px;
    }
    .remodal .outer .single .title {
      font-size: 18px;
      line-height: 24px;
      font-weight: bold;
      color: #000 !important;
      border-bottom: 5px solid #000000;
      display: inline-block;
    }
    .remodal .outer .single .text {
      color: #000 !important;
      margin: 0;
    }
    .remodal .outer .single .left {
      display: inline-block;
      text-align: left;
    }
    .remodal .outer .red {
      color: #e70306 !important;
    }
    .remodal dl dt {
      word-wrap: break-word;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      margin: 14px 0 10px 0;
      padding: 10px 0 8px;
      color: #fff;
      background-color: #b4a966;
      font-weight: bold !important;
    }
    .remodal dl dd .tel_number {
      font-size: 1.6rem;
    }
    .remodal table {
      width: 100%;
      border-collapse: collapse;
    }
    .remodal table tr {
      text-align: center;
    }
    .remodal table tr th {
      background-color: #efefef;
    }
    .remodal table tr th, .remodal table tr td {
      text-align: center;
      border: 1px solid #e4e5e5;
      padding: 5px 0 3px;
      vertical-align: middle;
    }
    .remodal table tr .wide {
      width: 35%;
    }
    .remodal table tr td:first-of-type {
      text-align: left;
      padding: 5px 8px 3px;
    }
    .remodal-close {
      position: absolute;
      top: 12px;
      right: 12px;
      display: block;
      overflow: visible;
      width: 30px;
      height: 30px;
      margin: 0;
      padding: 0;
      cursor: pointer;
      transition: color 0.2s;
      text-decoration: none;
      color: #95979c;
      border: 0;
      outline: 0;
      background: transparent;
    }
    .remodal-close:before {
      background-image: url("../img/share/cross.png");
      width: 34px;
      height: 34px;
      position: absolute;
      content: '';
      background-size: contain;
      top: 0;
      right: 0px;
    }
    .tel_box .box img {
      width: 50px;
      margin: 10px auto 0 auto;
    }
  }
  /* IE8
     ========================================================================== */
  .lt-ie9 .remodal-overlay {
    background: #2b2e38;
  }
  .lt-ie9 .remodal {
    width: 700px;
  }