.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 80px;
    left: 0;
    top: 0;
    bottom: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: hsla(0,0%,0%,0.3);
}

.popup_wrap {
    max-width: 100%;
    width:768px;
    margin: 0 auto;
    height: auto;
    background: #fff;
    position: relative;
    box-shadow: 0 1px 6px 0 hsla(0,0%,0%,0.1);
    border-radius: 6px;
}

.adm_popup_container {
    text-align: center;
    padding: 36px 24px;
    position: relative;
}

.adm_popup_container .adm_small_inner{max-width:100%; width:580px;}
.adm_popup_container h4 {
    padding-bottom: 16px;
    font-weight: 500;
}

.board_btn_container{padding-top:24px;}







/* Img Modal */

.modal2 {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top:0;
    width: 100%;  height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7); 
    padding:40px 60px 40px 60px;
  }
  
  /* Modal Content */
  .modal2 .modal_content{
    margin: auto;
    border:none;
    position: relative;
    max-width:100%;
    padding:60px;
  }
  
  .modal2 .modal_content .modal_image{
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center center;
    width:1200px; max-width:100%; height:800px;
  }
  
  .modal2 .modal_text{text-align: center; text-align:center; width:100%; padding:20px 0;}
  .modal2 .modal_text .title{font-size:19px;  color:#fff;}
  .modal2 .modal_text .name, .modal_text .year{display: inline-block; color:#fff;}
  
  .modal2 .close {
    color: #fff;
    top:30px; right:20px;
    position: absolute;
    cursor: pointer;
  }
  
  .modal2 .close > img{width:20px; height:20px;}




  @media screen and (max-width: 600px){

    .modal2{padding:0;}
    .modal2 .modal_content{padding:60px 20px;}

  }