.md-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 50%;
  max-width: 630px;
  min-width: 320px;
  height: auto;
  z-index: 2000;
  visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.md-show {
  visibility: visible;
}

.md-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  visibility: hidden;
  top: 0;
  left: 0;
  z-index: 1000;
  opacity: 0;
  background: rgba(40,43,49,.8);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.md-show ~ .md-overlay {
  opacity: 1;
  visibility: visible;
}

/* Content styles */
.md-content {
  color: #333;
  background: #fff;
}

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
  -webkit-transform: scale(0.7);
  -ms-transform: scale(0.7);
  transform: scale(0.7);
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.md-show.md-effect-1 .md-content {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

#modaltampil{
      /*display: flex;
      position: fixed;
      top: 0px;
      width: 100%;
      height: 100vh;
      background: rgba(12,12,12,.8);
      align-items: center;
      justify-content: center;*/

      width: 100%;
      height: 100vh;
      background: rgba(12,12,12,.8);
      text-align: center;
      box-sizing: border-box;
      /*padding: 10px;*/
      border: 1px solid #333;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
      display: none;
    }
    #modaltampil .modal-top, #modaltampil .modal-bottom{
     /* width: 100%;
      position: relative;*/
    }
    #modaltampil .modal-top #btntutup{
     position: absolute;
     top: 0px;
     right: 0px;
     background: transparent;
     border: 0px;
     padding: 4px 8px;
     font-size: 40px;
     color: #fff;
     cursor: pointer;
   }

   #modaltampil .modal-top #btntutup:hover {
    color: white;
    text-shadow: 0 0 15px white;
  }

  #modaltampil .modal-isi{
   display: flex;
   width: 100%;
   height: 100vh;
   align-items: center;
   justify-content: center;
 }
 #modaltampil .modal-isi iframe{
  width: 50%;
}