
/*
	* Style settings of Kreatura Modal Window
	*
	* (c) 2019 George Krupa, John Gera & Kreatura Media
	*
*/



/* Modal Window */

	.kmw-modal-outer {
		position: fixed;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		pointer-events: none;
		transform-style: flat !important;
	}

	.kmw-modal-container {
		display: none;
		position: fixed;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		pointer-events: none;
		transform-style: preserve-3d !important;
	}

	.kmw-modal {
		position: absolute;
		left: 50%;
		top: 50%;
		box-sizing: border-box;
		transform: translate(-50%,-50%);
		pointer-events: auto;
	}

	.kmw-modal-inner {
		box-sizing: border-box;
		overflow: auto;
	}

	.kmw-modal-title {
		position: relative;
	}

	.kmw-modal-content {
		box-sizing: border-box;
		position: relative;
		min-height: 100%;
		overflow: hidden;
	}

	.kmw-modal-content:before,
	.kmw-modal-content:after {
		content: '';
		width: 100%;
		height: 0.00000001px;
		display: block;
	}

	.kmw-modal-close {
		position: absolute;
		top: 0;
		right: 0;
		cursor: pointer;
		z-index: 10;
		border-radius: 1em !important;
		width: 1em !important;
		height: 1em !important;
		opacity: .65;
		transition: opacity .25s ease-in-out;
		transform: translate(-10px,10px);
	}

	.kmw-modal-close.fa {
		text-align: center;
		padding: 0.1em;
	}

	.kmw-modal-close:hover {
		opacity: 1;
	}

	.kmw-prevent-scroll {
		overflow: hidden !important;
	}

	.animating-in .kmw-modal,
	.animating-out .kmw-modal {
		pointer-events: none;
	}

	/* Modal Style */

	.kmw-modal {
		border-radius: 10px;
	}

	.kmw-modal-title input {
		-webkit-appearance: none;
		border: 0;
		padding: 0 5px;
		margin: 0;
		font-size: inherit;
		color: inherit;
		font-weight: inherit;
		border-radius: 5px;
		transition: all .2s ease-in-out;
		outline: 0;
		background: transparent;
	}

	.kmw-modal-title input:first-child {
		margin-left: -5px;
	}

	.kmw-modal-close-2 {
		border: 2px solid transparent;
	}

	/* Default Style */

	/* Light Theme */

	.kmw-modal.kmw-theme-light {
		background-color: white;
		box-shadow: 0 10px 100px rgba(0,0,0,.2);
	}

	.kmw-theme-light .kmw-modal-close-1 {
		background: #aaa;
		color: #fff;
	}

	.kmw-theme-light .kmw-modal-close-2 {
		color: #999;
		border-color: #999;
	}

	.kmw-theme-light .kmw-modal-title {
		color: #555;
	}

	.kmw-theme-light .kmw-modal-title input:hover,
	.kmw-theme-light .kmw-modal-title input:focus {
		background: rgba(0,0,0,.075);
	}

	/* Dark Theme */

	.kmw-modal.kmw-theme-dark {
		background-color: #111;
	}

	.kmw-theme-dark .kmw-modal-close-1 {
		background: #777;
		color: #111;
	}

	.kmw-theme-dark .kmw-modal-close-2 {
		color: #777;
		border-color: #777;
	}

	.kmw-theme-dark .kmw-modal-title {
		color: #aaa;
	}

	.kmw-theme-dark .kmw-modal-content {
		color: #aaa;
	}

	.kmw-theme-dark .kmw-modal-title input:hover,
	.kmw-theme-dark .kmw-modal-title input:focus {
		background: rgba(255,255,255,.1);
	}



/* Overlay */

	.kmw-overlay {
		display: none;
		position: fixed;
		width: 100%;
		height: 100%;
		left: 0;
		top: 0;
	}

	/* custom styles */

	.kmw-overlay.kmw-theme-light {
		background-color: rgba(0,0,0,.75);
	}

	.kmw-overlay.kmw-theme-dark {
		background-color: rgba(255,255,255,.75);
	}
