.dk_modal:before {
	content: "";
	display: block;
	position: fixed;
	height: 100%;
	width: 100%;
	background-color: #000;
	top: 0px;
	z-index: 200;
	opacity: 0.7;
}

.dk_modal--wrapper {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
	z-index: 201;
	padding: 15px;
	border-radius: 4px;
	border: solid 1px #c5c5c5;
	height: auto;
	max-width: 285px;
	width: 100%;
}

.dk_modal--titlebar {
	border-bottom: solid 1px #ccc;
	padding-bottom: 5px;
}

.dk_modal--title {
	font-weight: bold;
	font-size: 16px;
}

.dk_modal--close {
	float: right;
	color: #333;
	font-size: 14px;
}

.dk_modal--close:hover {
	color: #000;
	cursor: pointer;
}

.dk_modal--content p {
	margin: 20px 0;
}

.dk_modal--buttons .button.primary {
	text-align: right;
	display: block;
	/*! margin: 10px auto; */
	padding: 7px 8px;
	font-size: 14px;
	font-weight: bold;
	color: white;
	background: #c00;
	border: 2px solid #c00;
	border-radius: 50em;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	width: 70px;
	float: right;
}


.dk_modal--buttons .button.primary:hover {
    background-color: #a30000;
    color: white;
    border-color: #a30000;
}


@media screen and (max-width:768px) {

.dk_modal--wrapper {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
	z-index: 201;
	padding: 15px;
	border-radius: 4px;
	border: solid 1px #c5c5c5;
	height: auto;
/* 	max-width: 285px; */
	width: 100%;
}
	
}

@media screen and (max-width:450px) {

.dk_modal--wrapper {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
	z-index: 201;
	padding: 15px;
	border-radius: 4px;
	border: solid 1px #c5c5c5;
	height: auto;
max-width: 80%;
	width: 100%;
}
	
}
