#modal, .modal-browsable {
    transition: all .2s;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 20000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 1;
}

.modal-browsable {
	visibility: hidden;
}

#modal-background, .modal-background {
	width: 100%;
    background: rgba(0,0,0,.4);
    position: absolute;
	top: 0;
	left: 0;
    height: 100%;
    z-index: 10;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
    opacity: 1;
}

#modal-content, .modal-content {
	-webkit-transition: all .2s;
    transition: all .2s;
    z-index: 100;
    width: 600px;
	margin: 10px;
	padding: 20px;
    max-width: calc(100% - 30px);
    max-height: calc(100% - 30px);
    border-radius: 6px;
    -webkit-box-shadow: 4px 3px 0 0 rgba(0, 0, 0, 0.16);
    box-shadow: 4px 3px 0 0 rgba(0, 0, 0, 0.16);
    background: #fff;
    -webkit-animation: rebound .3s;
    animation: rebound .3s;
}

#modal-content p , .modal-content p {
	margin-bottom: 10px;
}

#modal .close, .modal-browsable .close {
	cursor: pointer;
}