/*
* AUTHOR: Nicolas Justin <https://nicolasjustin.ga>
* SINCE: 2019/05/09
* VERSION: 1.0.0.1
*/

/* ==================
*
*		CUSTOM IMPORTS
*
* ================= */
@font-face {
	font-family: 'Exo_2';
	src: url("../fonts/Exo_2/Exo2-Regular.ttf");
}

@font-face {
	font-family: 'Exo';
	src: url("../fonts/Exo/Exo-Regular.ttf");
}

@font-face {
	font-family: 'Oxygen';
	src: url("../fonts/Oxygen/Oxygen-Regular.ttf");
}

@font-face {
	font-family: 'Fira_Sans';
	src: url("../fonts/Fira_Sans/FiraSans-Regular.ttf");
}

@font-face {
	font-family: 'Oxygen_Mono';
	src: url("../fonts/Oxygen_Mono/OxygenMono-Regular.ttf");
}

@font-face {
	font-family: 'Fira_Mono';
	src: url("../fonts/Fira_Mono/FiraMono-Regular.ttf");
}

@font-face {
	font-family: 'Raleway';
	src: url("../fonts/Raleway/Raleway-Regular.ttf");
}

/* =================
*
*		CUSTOM RESET
*
* ================ */
*,
*::after,
*::before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
	user-select: none;
}

body {
	font-size: 16px;
	font-family: 'Exo_2', 'Exo', 'Oxygen', 'Fira_Sans', 'Raleway', 'Fira Code', Roboto, sans-serif;
	color: #495057;
	background: #f0f2f5 !important;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	cursor: pointer;
	color: #007BFF;
}

.container-fluid {
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}

.container {
	padding: 40px 30px;
	margin-top: 50px;
	margin-bottom: 50px;
	border-radius: 14px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
	border: 1px solid #e2e8f0;
	text-align: center;
	background: #ffffff;
	overflow: hidden;
}

@media (min-width: 576px) {
	.container {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	.container {
		max-width: 720px;
		padding: 40px 30px;
	}
}

@media (min-width: 992px) {
	.container {
		max-width: 960px;
		padding: 70px 50px;
	}
}

/* @media (min-width: 1200px) {
	.container {
		max-width: 1140px;
	}
} */


/* ==================
*
*		CUSTOM LOADING
*
* ================= */
.loading-etm {
	position: absolute;
	background-color: #2A3F54;
	z-index: 999;
	width: 100%;
	height: 100%;
}

.loading-etm-img {
	position: relative;
	margin: 0 auto;
	top: 30%;
	background-image: url("../images/loading.gif");
	background-repeat: no-repeat;
	width: 128px;
	height: 128px;
}

.loading-etm-text {
	position: relative;
	text-align: center;
	top: 35%;
	font-size: 1.5em;
	margin-left: 10px;
	color: #DDD;
}


/* ====================
*
*		CUSTOM BG-COLORS
*
* =================== */
.bg-default {
	background-color: #DDD;
}

.bg-verde {
	background-color: #1E995B;
}

.bg-vermelho {
	background-color: #991E1E;
}

.bg-laranja {
	background-color: #CC5928;
}

.bg-azul {
	background-color: #195D7F;
}

.bg-azul-etm {
	background-color: #2A3F54;
}

.bg-verde-etm {
	background-color: #95C11E;
}


/* =================
*
*		CUSTOM COLORS
*
* ================ */
.c-default {
	color: #DDD;
}

.c-verde {
	color: #1E995B;
}

.c-vermelho {
	color: #991E1E;
}

.c-laranja {
	color: #CC5928;
}

.c-azul {
	color: #195D7F;
}

.c-azul-bs {
	color: #007BFF;
}

.c-azul-etm {
	color: #2A3F54;
}

.c-verde-etm {
	color: #95C11E;
}

/* Separador */
.separador-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 1rem;
}

.separador {
	content: '';
	width: 30px;
	height: 2px;
	border-radius: 2px;
	background-color: #007BFF;
}

.instrucao-icon {
	font-size: 1.25rem;
}

/* ===================
*
*		CUSTOM BACK-TOP
*
* ================== */
.subir {
	position: fixed;
	z-index: 1000;
	width: 35px;
	height: 35px;
	min-width: 35px;
	min-height: 35px;
	background-color: #2A3F54;
	bottom: 10px;
	right: 10px;
	border-radius: 50%;
	opacity: .8;
	border: 1px solid #DDD;
	display: none;
}

.subir:before {
	content: "";
	position: absolute;
	width: 12px;
	height: 3px;
	left: 8px;
	top: 50%;
	border-radius: 3px;
	transform: rotate(-45deg) translate(0, -50%);
	background-color: #DDD;
	z-index: 100;
}

.subir:after {
	content: "";
	position: absolute;
	width: 12px;
	height: 3px;
	right: 8px;
	top: 50%;
	border-radius: 3px;
	transform: rotate(45deg) translate(0, -50%);
	background-color: #DDD;
}

.subir:hover {
	opacity: 1;
	cursor: pointer;
	background-color: #2A3F54;
}

@media only screen and (max-width: 600px) {
	/* Subir */
	.subir {
		width: 40px;
		height: 40px;
		min-width: 35px;
		min-height: 35px;
	}

	.subir:before {
		width: 18px;
		left: 5px;
	}

	.subir:after {
		width: 18px;
		right: 5px;
	}
}

/*  Cursor Pointer */
.h-pointer {
	cursor: pointer;
}

/* User Select */
.us-none {
	user-select: none;
}

.ol-none {
	outline: none;
}

.of-x-hidden {
	overflow-x: hidden;
}

.of-y-hidden {
	overflow-y: hidden;
}


/* =================
*
*		CUSTOM MODAL
*
* ================ */
.modal-etm {
	background-color: #ffffff;
	color: #1e293b;
	border-radius: 14px;
}

.modal-etm input[type=text], .modal-etm textarea {
	background-color: #f8fafc;
	color: #1e293b;
	border: 1px solid #e2e8f0;
}

.modal-etm input[type=text]:focus, .modal-etm textarea:focus {
	background-color: #ffffff;
	color: #1e293b;
	border-color: #007BFF;
}

/* Modal Bootstrap */
.modal-header, .modal-body, .modal-footer {
	border: none;
}

.modal-header button.close {
	color: #64748b;
	opacity: .6;
	text-shadow: none;
}


/* =================
*
*		CUSTOM TABLE
*
* ================ */
table {
	border-radius: 10px;
}

.table td, .table th {
	border: none;
}

.table-etm {
	color: #1e293b;
	background-color: #ffffff;
}


/* =================
*
*		CUSTOM ALERTS
*
* ================ */
.alert-etm {
	display: flex;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	justify-content: center;
	align-items: center;
	z-index: 99999;
}

.alert-etm > div {
	position: relative;
	padding: 20px;
	border: 2px solid;
	border-radius: 10px;
}

.alert-etm > div > i {
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
	font-size: 2.5rem;
}

.alert-etm > div > span {
	font-size: 1.5rem;
}

.alert-etm > div > button {
	position: absolute;
	right: 15px;
	top: 5px;
	background-color: transparent;
	border: none;
	color: currentColor;
	opacity: .6;
	font-size: 1.125rem;
}

.alert-etm > div > button:hover {
	opacity: 1;
}

/* Colors */
.success-alert {
	color: #DDD;
	background-color: #1E995B;
}

.danger-alert {
	color: #DDD;
	background-color: #991E1E;
}

.warning-alert {
	color: #DDD;
	background: #CC5928;
}

/* Responsive */
@media only screen and (max-width: 430px) {

	.alert-etm > div {
		padding: 20px 15px;
	}

	.alert-etm > div > i {
		margin-bottom: 5px;
		font-size: 2rem;
	}

	.alert-etm > div > span {
		font-size: 1.125rem;
	}

}

/* Fixed Notifications */
.fixed-notifications {
	position: fixed;
	display: flex;
	min-width: 100%;
	bottom: 0;
	justify-content: center;
	align-items: center;
	margin: 0;
	z-index: 1000;
	transition: .5s;
}

.fixed-notifications-trigger {
	position: absolute;
	text-align: center;
	bottom: 0;
	border-radius: 10px 10px 0 0;
	background-color: #007BFF;
	height: 30px;
	width: 60px;
	cursor: pointer;
	color: #CCC;
	font-size: 1.3rem;
	z-index: 1;
}

.fixed-notifications-trigger i {
	animation: pulsate 1.5s ease;
	animation-iteration-count: infinite;
}

@keyframes pulsate {
	0% {
		transform: scale(1, 1)
	}

	50% {
		transform: scale(1.2, 1.2)
	}

	100% {
		transform: scale(1, 1)
	}
}

.fixed-notifications-item {
	position: absolute;
	bottom: -200px;
	background-color: #007BFF;
	height: 200px;
	padding: 20px;
	color: #CCC;
	font-size: 0.875rem;
	text-align: center;
	border-radius: 10px 10px 0 0;
}

.fixed-notifications-item div i {
	font-size: 1rem;
	margin-left: 10px;
	cursor: pointer;
}

.fixed-notifications-item div i:active,
.fixed-notifications-item div i:focus {
	color: #DDD;
}

/* Connection Alert */
.offline-connection,
.online-connection {
  display: flex;
  position: fixed;
  bottom: 0;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  color: #ddd;
  z-index: 1001;
  transition: 1s ease;
  animation: 1s slide-bottom ease forwards;
}
.offline-connection {
	background: #991E1E;
}
.online-connection {
	background: #1E995B;
}

@keyframes slide-bottom {
	0% {
		transform: translateY(100px)
	}
	100% {
		transform: translateY(0);
	}
}