
.modal{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}
.modal__bg{
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}
.modal__content{
	background: none;
    left: 50%;
    padding: 0px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 60%;
}
.modal__content.content_portrait{
    width: 40%;
}

.js-modal-close {
    position: absolute;
    top: 0;
    right: 0
}
.js-modal-close.close_btn{
	position: absolute;
	display: block;
	top: 0px; right: 0px;
   width: 60px; 
   height: 60px;
   background: url(./modal_close.png) 0 0 no-repeat;
   background-size: contain;
   overflow: hidden;
   text-indent: -9999px;
}
.js-modal-close.close_btn:hover{
   background: url(./modal_close_hover.png) 0 0 no-repeat;
   background-size: contain;
}

@media screen and (max-width: 700px) {
	.modal__content{
	 left: 50%;
    padding: 0px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
    }
    .modal__content.content_portrait{
        width: 90%;
    }
}