.modal {
	display: none;
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
    bottom: 0;
    right: 0;
	width: 100vw;
	height: 100vh;
    margin: auto;
	background-color: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #fefefe;
    position: fixed;
    border: 1px solid #888;
    width: 80%;
    max-width: 720px;
    max-height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
body.theme-light .modal-content {
	background-color: #fefefe;
	margin: auto;
	border: 1px solid #888;
}
body.theme-dark .modal-content {
	background-color: #222222;
	border: 1px solid #444444;
}
@media screen and (max-width: 600px) {
	body.theme-light .modal-content {
		width: calc(100% - 20px);
		padding: 10px;
	}
	body.theme-dark .modal-content {
		width: calc(100% - 20px);
		padding: 10px;
	}
}
.modal-footer {
	display: flex;
	padding: 0 20px;
    margin-bottom: 20px;
	justify-content: space-between;
}
@media screen and (max-width: 600px) {
	.modal-footer {
		padding: 0;
	}
	.modal-footer {
		justify-content: space-around;
	}
}
.modal-close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
    padding: 10px;
    margin-right: 10px;
    margin-left: -10px;
}
body.theme-light .modal-close:hover,
body.theme-light .modal-close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
	background-color: transparent;
}
body.theme-dark .modal-close:hover,
body.theme-dark .modal-close:focus {
	color: #666666;
	text-decoration: none;
	cursor: pointer;
	background-color: transparent;
}
.modal label {
	text-align: start;
	float: left;
	margin-top: 20px;
}
.modal h2, .modal h3 {
    text-align: center;
    margin: 0;
    padding: 0;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10;
}
.modal-body {
    margin: 0;
    text-align: center;
    font-size:1.1rem;
    margin-bottom: 20px;
}
.cancel-action, .confirm-action {
	max-width: 180px;
    padding: 10px;
    border: none;
    min-height: 36px;
    min-width: 120px;
    flex: 1;
    width: calc(100% - 20px);
    border-radius: 8px;
    border-width: 0;
    font-size: 1.1rem;
    cursor: pointer;
}
.cancel-action:hover, .cancel-action:focus {
    opacity: 0.7;
}
.confirm-action {
	background-color: rebeccapurple!important;
	color: white;
}
.confirm-action:hover,
.confirm-action:focus {
	background-color: #4d2c76!important;
}
.cancel-action {
    background-color: rgb(0,122,255);
	color: white;
}
.modal .cancel{
    background-color: #f44336!important;
    color: white;
}
