.modal_obj {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
}

.modal_opened{
    overflow-y:hidden;
}

.modal_background{
    height: 100vh;
    width: 100vw;
    background:rgba(50, 50, 50, .85);
    cursor: pointer;
}

.modal_box{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    background-color:white;
    border-radius:3vh;
    
}
.modal_contents{
    display:grid;
    text-align:center;
    width: 100%;
    height:100%;
}
.main_image{
    height:60vh;
    width:60vh;
    grid-row: 1;
    grid-column: 1;
    display:flex;
    justify-content:center;
    align-items:center;
    border: 1px solid #f0f0f0;
    margin:5vh 8vw 5vh 8vw;
    
    
    
}
.thumbnail_image{
    grid-row: 2;
    grid-column: 1;
    margin:0 0 5vh 0

}


.modal_contents .main_image img{
    width:100%;
    height:100%;
    object-fit:contain;
    
}



.thumbnail_image ul{
    display:flex;
    justify-content:center;
    align-items:center;

}
.thumbnail_image li{ 
    height:18vh;
    width:18vh;
    border: 1px solid #f0f0f0;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 1vw;
}
.thumbnail_image li.selected{
    border: 2px solid #ffae0a;
}

.modal_contents .thumbnail_image img{
    
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    cursor: pointer;
    
}

.close_modal{
    position:absolute;
    
    right: 1vw;
    font-size: 5vh;
    cursor: pointer;
    z-index:20;

}


body.news-detail .newsdetail-right-box img{
	width:100%;
	max-height:65vh;
	object-fit:contain;

}
body.news-detail .newsdetail-right-box{
    height:70vh;
    display:flex;
    align-items:center;
}

.slick-track{
    display:flex;
    align-items:center;
}

*{
    min-height:0;
    min-width:0;
}
