

/*------------------------------------------------------*/
/*video modal--------------*/
.btnModal{cursor: pointer;}

.wrap_modalV2 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    z-index: 50;
    display: none;
  }

  .wrap_modalV2 img {
    max-width: 100%;
  }

  .wrap_modalV2 .modal_bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
  }


  body.stop {
    overflow-y: hidden;
  }
  @media screen and (min-width: 768px) {
    .wrap_modalV2 .modal_item_wrap {
      /* max-width: 800px; */
      width: 100%;
      /*80vw: 0;*/
      /* max-height: 480px; */
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto;
      /*display: flex;
      justify-content: center;
      align-items: center;
      */
      overflow-y: auto;
      padding: 70px 0;
    }
  
    .btn_close {
      position: absolute;
      right: 0;
      left: auto;
      top: -60px;
      border-radius: 50%;
      height: 50px;
      width: 50px;
      margin: auto;
      cursor: pointer;
    }
  
    .wrap_modalV2 > .btn_close {
      position: absolute;
      right: 0;
      left: 0;
      top: auto;
      bottom:0;
      background-color: #000;
      border-radius: 50%;
      height: 60px;
      width: 60px;
      margin: auto;
    }
    .mdlV2Inner{
      max-width:980px ;
      width: 90%;
      margin: 0 auto; 
      background: #FBF8EA;
      position: relative;
      padding: 50px;
  }
  .mdlV2Inner > .boxModal{
    max-width: 580px;
    margin: 0 auto;
  }
  }

  @media screen and (min-width: 0px) and (max-width: 767.98px) {
	
    .wrap_modalV2 .modal_item_wrap {
      /* max-width: 800px; */
      width: 100%;
      /*80vw: 0;*/
      /* max-height: 480px; */
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto;
      /*display: flex;
      justify-content: center;
      align-items: center;
      */
      overflow-y: auto;
      padding: 9vw 0 25vh;
    }
  
    .btn_close {
      position: absolute;
      right: 0;
      left: auto;
      top: -8vw;
      border-radius: 50%;
      height: 7vw;
      width: 7vw;
      margin: auto;
      cursor: pointer;
    }
  
 
    .mdlV2Inner{
      width: 90%;
      margin: 0 auto; 
      background: #FBF8EA;
      position: relative;
      padding: 5vw;
  }
  .mdlV2Inner > .boxModal{
    margin: 0 auto;
  }
  }