/*--------------------------------------------------
  IPD - Global
--------------------------------------------------*/

.ipd-section {
  position: relative;
  width: 100%;
  max-width: 1300px;
  max-height: 850px;
  margin: 0 auto;
  border: 1px solid var(--gray);
  border-radius: 1.5rem;
  outline: solid 1px transparent;
  overflow: hidden;

  .ipd-container {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }

  /*--------------------------------------------------
  Title Banner
--------------------------------------------------*/

  .ipd-title-banner {
    position: absolute;
    top: 0;
    left: 0;
    font-weight: 700;
    font-size: 1.538vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #000;
    background-color: var(--white);
    border-bottom: 1px solid var(--gray);
    width: 100%;
    padding: 0 30px;
    height: 4.762vw;
    z-index: 10;
  }

  .close-btn {
    position: absolute;
    top: 50%;
    right: 20px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
    max-width: 24px;

    img {
      width: 100%;
    }
  }
}

/*--------------------------------------------------
  Hide / Show Buttons
--------------------------------------------------*/

.ipd-section {
  .ipd-layer-1 {
    .ipd-btn_l1.inactive {
      opacity: 0;
    }
  }

  .ipd-layer-2 {
    .ipd-btn_l2.inactive {
      opacity: 0;
    }
  }
}

/*--------------------------------------------------
  min-width: 1300px
--------------------------------------------------*/

@media only screen and (min-width: 81.25em) {
  .ipd-section {
    .ipd-title-banner {
      font-size: 20px;
      height: 60px;
    }
  }
}
