@charset "utf-8";
/* CSS Document */

/*--------------------------------------------------------------
	## modal-windows
--------------------------------------------------------------*/
.modal {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
	z-index: 100;
}
.modal_bg{
    background: rgba(0,0,0,0.5);
    height: 100vh;
	/*position: absolute;*/
    width: 100%;
}
.modal_contents {
	margin: 1em auto;
	position: fixed;
    overflow-y: scroll;
	top: .5em;
	bottom: .5em;
    left: .5em;
	right: .5em;
	max-width: 1140px;
	border-radius: 15px;
    border-top: 4px solid #2f99a2;
    border-left: 4px solid #2f99a2;
    border-bottom: 4px solid #2f99a2;
    background: #fff;
    padding: 2em;
}

.modal_contents::-webkit-scrollbar {
    width: 6px;
}
.modal_contents::-webkit-scrollbar-track {
    background: rgba(220, 240, 249 .5);
	box-shadow: 0 0 6px #999 inset;
	border-radius: 3px;
}

.modal_contents::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: #5088ab;
}


.close_modal {
	color: white;
    background: #333;
    font-size: 2rem;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
	position: fixed;
	top: .5em;
    right: .5em;
	z-index: 3;
}

.close_modal:hover {
	cursor: pointer;
}

.modal_bg {
	position: absolute;
}


@media screen and (max-width: 479px) {
    .modal_contents {
        padding: 1em;
    }
	
} /* end media query */


