@keyframes modal-show {
    0% {
        transform: scale(.7)
    }

    45% {
        transform: scale(1.05)
    }

    80% {
        transform: scale(.95)
    }

    100% {
        transform: scale(1)
    }
}
@keyframes modal-hide {
    0% {
        transform: scale(1);
        opacity: 1
    }

    100% {
        transform: scale(.5);
        opacity: 0
    }
}
.modal-container {
    display: flex;
	align-items: center;
	overflow: hidden;
    position: fixed;
    z-index: 99999999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow-x: hidden;
    transition: background-color .1s;
    -webkit-overflow-scrolling: touch;
	webkit-tap-highlight-color: transparent;
}
.modal-container.show {
    background: rgba(0,0,0,.4);
}
.modal-popup {
    display: flex;
    position: relative;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    width: 320px;
    max-width: 100%;
    padding: 20px;
    border: none;
    border-radius: 5px;
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
	margin: auto;
	animation: modal-hide .15s forwards
}
.modal-inner {
    display: flex;
    box-sizing: border-box;
	flex-direction: column;
    align-items: center;
	justify-content: center;
	font-size: 16px;
	text-align: center;
	margin: 0 auto 20px;
	line-height: 2;
}
.modal-title {
    position: relative;
    max-width: 100%;
    margin: 0 0 10px;
    padding: 0;
    color: #595959;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    text-transform: none;
}
.modal-icon .icon {
    font-size: 60px;
    width: auto;
    height: auto;
    margin-bottom: 15px;
}
.modal-icon .icon.success {
	color: #18ca41;
}
.modal-icon .icon.error {
	color: #fb5151;
}
.modal-icon .icon.info {
	color: #0080FF;
}
.modal-content {
    color: #545454;
    font-size: 17px;
    font-weight: 400;
    line-height: normal;
    text-align: center;	
}
.modal-confirm {
    border: 0;
    border-radius: 4px;
    background: initial;
    background-color: #2778c4;
    color: #fff;
    font-size: 16px;
	display: inline-block;
	cursor: pointer;
    margin: 5px;
    padding: 10px 18px;
    box-shadow: none;
    font-weight: 500;
}
.modal-confirm:hover {
	color: #fff;
	background-color: #1f69af;
}
.modal-confirm:active {
	outline: none;
	opacity: .9
}
.modal-confirm:focus {
	outline: none;
}
.modal-container.show .modal-popup {
	animation: modal-show .3s;
}