
/*
	* Style settings of Kreatura Modal Window
	*
	* (c) 2021 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;
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	}

	.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%;
	}

	.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);
		box-sizing: content-box;
	}

	.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 */

	.kmw-modal {

		text-align: justify;
	}

	/*.kmw-modal *:not(.dashicons) {
		font-family: inherit;
		box-shadow: none !important;
		outline: 0;
	}*/

	.kmw-modal-close {
		font-size: 23px;
		font-smooth: always;
		-webkit-font-smoothing: subpixel-antialiased;
		-moz-osx-font-smoothing: auto;
	}

	.kmw-modal-close:before {
		line-height: 24px;
	}

	.kmw-modal-title {
		font-size: 22px;
		font-weight: 400;
	}

	.kmw-modal-title input {
		width: 250px;
	}

	.kmw-modal-content {
		font-size: 15px;
		color: #777 !important;
		line-height: 1.5em;
	}

	.kmw-modal-content a {
		text-decoration: none;
	}

	.kmw-modal-content p {
		padding: 0;
		border: 0;
		margin: 0 auto;
		line-height: inherit;
		text-align: inherit;
		font-size: inherit;
		color: inherit;
	}

	.kmw-modal-content p,
	.kmw-modal-content ul,
	.kmw-modal-content .ls-notification {
		margin-bottom: 2em !important;
	}

	.kmw-modal-content .ls-notification {
		border-top: 0;
		border-right: 0;
		border-bottom: 0;
		padding: 0 !important;
		box-shadow: none;
		margin-left: 0;
	}

	.kmw-modal-content .ls-notification div {
		padding-left: 1em !important;
		font-size: 90%;
	}

	.kmw-modal-content button,
	.kmw-modal-content .button {
		border-radius: 100px;
		box-shadow: none !important;
		outline: 0;
	}

	.kmw-modal-content small,
	.kmw-modal-content .small {
		font-size: 80%;
		line-height: 1.6em;
	}

	.kmw-modal-content .italic {
		font-style: italic;
	}

	.kmw-modal-content .dim {
		opacity: .75;
	}

	.kmw-modal-content .ls-center,
	.kmw-modal-content .centered,
	.kmw-modal-content .center {
		text-align: center;
	}

	.kmw-modal-content .file {
		width: 100%;
		max-width: 500px;
		height: 40px;
		margin: 0 auto;
		border-radius: 100px;
		transition: all 0.3s ease-in-out;
		position: relative;
		border: 2px solid #ddd;
	}

	.kmw-modal-content .file .file-text {
		position: absolute;
		z-index: 1;
		text-align: center;
		line-height: 40px;
		font-size: 90%;
		left: 20px;
		top: 0;
		bottom: 0;
		right: 20px;
		text-overflow: ellipsis;
		overflow: hidden;
		transition: color 0.3s ease-in-out;
	}

	.kmw-modal-content .file:hover,
	.kmw-modal-content .file-chosen {
		border-color: rgba(0, 142, 194, 0.75);
		background-color: rgba(0, 142, 194, 0.03);
	}

	.kmw-modal-content .file:hover .file-text,
	.kmw-modal-content .file-chosen .file-text {
		color: rgb(0, 142, 194);
	}

	.kmw-modal-content input[type=file] {
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
		opacity: 0;
		position: relative;
		z-index: 2;
	}

	.kmw-modal-content .file:after {
		content: '';
		display: block;
		visibility: hidden;
		position: absolute;
		left: -2px;
		top: -2px;
		right: -2px;
		bottom: -2px;
		border: 2px solid rgba(0, 142, 194, 0.75);
		border-radius: 100px;
		z-index: -1;
		transition: all 0.5s ease-in-out;
	}

	.kmw-modal-content .file-chosen:after {
		visibility: visible;
		transform: scale(1.05,1.5);
		opacity: 0;
	}


	/* 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);
	}
