@charset "UTF-8";

/* Overlay para carregamento */
.loading_overlay {
	position: fixed;
	float: none;
	left: 0px;
	right: auto;
	top: 0px;
	bottom: auto;
	width: 100%;
	/* width:100vw; */
	height: 100%;
	height: 100vh;
	margin: 0px;
	padding: 0px;
	background: rgba(0, 0, 0, .75);
	color: #FFF;
	border: none;
	border-radius: 0px;
	box-sizing: border-box;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	text-shadow: 1px 1px 2px #000, -1px -1px 2px #000, -1px 1px 2px #000, 1px -1px 2px #000;
	z-index: 9999;

	div & {
		position: absolute;
		width: 100%;
		height: 100%;
	}

	&.loading_overlay_light {
		background: rgba(255, 255, 255, .75);
		color: #000;
	}

	& * {
		position: static;
		float: none;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
		width: auto;
		height: auto;
		margin: 0px;
		padding: 0px;
		background: transparent;
		color: inherit;
		font: inherit;
		border: none;
		border-radius: 0px;
		box-sizing: border-box;
		text-align: center;
		text-shadow: inherit;
	}
	& .loading_overlay_container {
		display: table;
		width: 100%;
		height: 100%;
	}
	& .loading_overlay_content {
		display: table-cell;
		width: 100%;
		max-height: 100%;
		vertical-align: middle;
	}

	& .loading_overlay_message {
		display: block;
		position: relative;
		width: 100%;
		overflow: auto;
		&:empty {
			display: none !important;
			visibility: hidden !important;
			opacity: 0 !important;
			position: absolute !important;
			top: 0px !important;
			left: 0px !important;
			width: 0px !important;
			height: 0px !important;
			overflow: hidden !important;
		}
	}
	& .loading_overlay_message_content {
		white-space: pre;
	}
	& .loading_overlay_message_content p {
		white-space: normal;
	}

	& .loading_overlay_animation {
		display: block;
		position: relative;
		width: 100%;
		height: 52px;
	}
	& .loading_overlay_animation:before {
		content: '';
		position: absolute;
		left: 49%;
		left: calc(50% - 22px);
		top: 4px;
		width: 44px;
		height: 44px;
		border: 8px solid #FFF;
		border-bottom-color: #000;
		border-right-color: #000;
		border-radius: 50%;
		box-sizing: border-box;
		box-shadow: 0px 0px 4px #000, inset 0px 0px 4px #000;
		-webkit-animation: loading_overlay 1s infinite linear;
		animation: loading_overlay 1s infinite linear;
	}
	& .loading_overlay_pequeno .loading_overlay_animation {
		height: 24px;
	}
	& .loading_overlay_pequeno .loading_overlay_animation:before {
		left: 49%;
		left: calc(50% - 12px);
		top: 49%;
		top: calc(50% - 12px);
		width: 24px;
		height: 24px;
		border-width: 3px;
	}

	& .loading_overlay_button {
		display: block;
		position: fixed;
		top: 5px;
		right: 5px;
		text-align: center;
		& a {
			display: inline-block;
			background: transparent;
			border: none;
			text-decoration: none;
		}
		& a:hover {
			text-decoration: none;
		}
		& a:before {
			content: 'X';
			display: block;
			width: 24px;
			height: 24px;
			line-height: 24px;
			background: transparent;
			color: #FFF;
			border: 2px solid #FFF;
			border-radius: 24px;
			box-sizing: content-box;
			font-family: monospace;
			font-size: 21px;
			box-shadow: 1px 1px 2px #000, -1px -1px 2px #000, -1px 1px 2px #000, 1px -1px 2px #000, inset 1px 1px 2px #000, inset -1px -1px 2px #000, inset -1px 1px 2px #000, inset 1px -1px 2px #000;
		}
		& a span {
			display: none !important;
			visibility: hidden !important;
			opacity: 0 !important;
			position: absolute !important;
			top: 0px !important;
			left: 0px !important;
			width: 0px !important;
			height: 0px !important;
			overflow: hidden !important;
		}
	}
	div & .loading_overlay_button {
		position: absolute;
	}

}

@-webkit-keyframes loading_overlay {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(359deg);
		transform: rotate(359deg);
	}
}
@keyframes loading_overlay {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(359deg);
		transform: rotate(359deg);
	}
}
