/*
 *
 * Zodan plugin styles
 *
 *
 */



/*
 * Modals
 * ======================================================== */
 .modal-open body {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}
#modals {
	overflow: hidden;
}
.modal {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
	
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	z-index: 1001;
	background-color: rgba(0,0,0,0.5);
	box-shadow: 0 0 0 9999px rgba(0,0,0,0.5);	
	padding: 8rem 0;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	/* overflow-x: hidden;
	overflow-y: scroll; */
	overflow: hidden;
	display: flex;
	display: none;
}
.modal.open {
	display: flex;
}
.modal-inner {
	position: relative;
	min-width: 25rem;
	width: 90%;
	min-height: 50%;
	height: auto;	
}
@media only screen and (min-width : 890px) {
	.modal-inner {
		max-width: 800px;
	}
}
@media only screen and (min-width : 1200px) {
	.modal-inner {
		max-width: 1070px;
	}
}
.close-modal {
	position: absolute;
	cursor: pointer;
}
@media only screen and (max-width : 400px) {
	.close-modal {
		background-color: rgba(0,0,0,0.5);
		border-radius: 4px;
	}
	.modal-inner .close-modal {
		background-color: rgba(0,0,0,0);
		border-radius: 0px;
	}
}
.close-modal-cross {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    right: 1rem;
    top: 1rem;
    width: 4rem;
    height: 4rem;
    color: #000;
	padding: 0;
    font-size: 3rem;
    opacity: 0.7;
	background-color: transparent;
	border-color: transparent;
}
.close-modal:hover {
	background-color: transparent;
	border-color: transparent;
    opacity: 1;
}
.modal-opener-inline,
a.modal-opener-inline {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    color: var(--z-body-accent);
	text-decoration: none;
	padding: 0 1rem;
    margin: 0 2rem;
	background-color: transparent;
	border-color: transparent;
	transform-origin: center center;
	transform: scale(1.35);
}
.modal-opener-inline:hover,
a.modal-opener-inline:hover {
    color: #000;
	text-decoration: none;
	background-color: transparent;
	border-color: transparent;
	transform: scale(1.45);

}
/* .primary.inline.close-modal {
    position: absolute;
    right: 10px;
    bottom: 10px;
	padding: 10px 19px;
} */
.modal-form {
    background: #fff;
    min-width: 800px;
    min-height: 400px;
    box-shadow: 0 0 6px 1px rgba(0,0,0,1);
    padding: 30px 40px;
    position: relative;
}
.modal-content {
	position: relative;
	border: 2px solid rgba(0,0,0,0);
	background: white;
	padding: 5rem;
	border-radius: 1.5rem;
	min-height: 100%;
	height: auto;
	overflow-x: hidden;
	overflow-y: scroll;
	max-height: 100%;
}
.modal-content {
    min-width: 100%;
    min-height: 100%;
}

@media only screen and (max-width : 840px) {
	.modal-content {
		min-height: 60vh;
		padding: 2rem;
	}	

}