/* Modals
----------------------------------------------*/

[data-ml-modal] {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	z-index: 999;
	width: 0;
	height: 0;
	opacity: 0;
}

[data-ml-modal]:target {
	width: auto;
	height: auto;
	opacity: 1;
	-webkit-transition: opacity 1s ease;
	transition: opacity 1s ease;
}

[data-ml-modal]:target .modal-overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	cursor: pointer;
	background-color: #000;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 1;
}

[data-ml-modal] .modal-dialog {
	border-radius: 6px;
	box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);
	position: relative;
	width: 90%;
	max-width: 660px;
	max-height: 70%;
	margin: 10% auto;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 2;
}

.modal-dialog-lg {
	max-width: 820px !important;
}

.modal-dialog-lg {
	max-width: 500px !important;
}

[data-ml-modal] .modal-dialog>h3 {
	background-color: #282828;
	border-bottom: 1px solid rgb(255 214 156);
	font-size: 24px;
	font-weight: 400;
	margin: 0;
	color: #FFD69C;
	padding: 0.8em 56px 0.8em 27px;
}

[data-ml-modal] .modal-content strong {
	color: #fff;
}

[data-ml-modal] .modal-content {
	background: #282828;
	padding: 30px;
	color: #9e9b99;
	font-weight: 400;
	font-size: 13px;
	text-align: left !important;
}

[data-ml-modal] .modal-content a {
	color: #FDDA95;
	font-weight: 400;
	display: inline;
	float: left;
	margin-right: 10px;
}

[data-ml-modal] .modal-close {
	position: absolute;
	top: 13px;
	right: 13px;
	color: #000;
	background-color: #fff;
	border-radius: 50%;
	height: 40px;
	width: 40px;
	font-size: 30px;
	line-height: 37px;
	text-align: center;
	-webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	text-decoration: none;
}

[data-ml-modal] .modal-close:hover {
	background-color: #000;
	color: #fff;
	cursor: pointer;
}

[data-ml-modal] p:first-child,
[data-ml-modal] p:last-child {
	margin: 0;
}

@media (max-width:767px) {
	[data-ml-modal] .modal-dialog {
		margin: 20% auto;
	}
}

/* End Modals ------------------------------*/