@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Urbanist:wght@300;400;500;600;700&display=swap');

* {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
}

html {
	min-height: 100vh;
}

html,
body {
	width: 100%;
	font-feature-settings: normal;
	font-variation-settings: normal;
}

body {
	background: var(--main-bg-color);
	color: var(--main-color);
	transition: background 0.3s ease;
	font-family: "Urbanist", sans-serif;
	overflow-y: scroll;
}

a {
	color: var(--main-color);
	text-decoration: none;
}

.light .logo-dark,
.light .light-icon {
	display: none;
	pointer-events: none;
	user-select: none;
	outline: none;
	text-decoration: none;
}

.dark .logo-light,
.dark .dark-icon {
	display: none;
	pointer-events: none;
	user-select: none;
	outline: none;
	text-decoration: none;
}


/* ------------------ NAVBAR  -------------------- */
.navbar {
	display: flex;
	flex-direction: row;
	background: var(--second-bg-color);
	color: var(--second-color);
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 101;
	box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 4px 1px;
}

.navbar-nav {
	list-style: none;
	display: flex;
	flex-direction: row;
	justify-content: center;
	padding-left: 0;
	margin-bottom: 0;
	margin-top: 0;
}

.nav-item {
	display: flex;
	justify-content: center;
	align-items: center;
}

.breadcrumb {
	display: flex;
	flex-direction: column;
	align-items: start;
	margin-left: 10px;
}

.breadcrumb h2 {
	font-size: 24px;
}

.nav-link {
	float: left;
	text-align: center;
	padding: 21px 10px;
	text-decoration: none;
	font-size: 16px;
	color: var(--second-color);
	position: relative;
}

.nav-link:hover {
	cursor: pointer;
}

.navbar-nav i {
	font-size: 1.8rem;
}

.nav-right {
	margin-left: auto;
}

.logo {
	width: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.logo:focus {
	outline: none;
}

.logo img {
	width: 160px;
	padding: 10px;
}

.user {
	padding: 11px;
}

.user-area {
	display: flex;
	font-size: 16px;
}

.user-data {
	display: flex;
	flex-direction: column;
	padding: 0 10px;
}

@media (max-width: 768px) {
	.logo {
		width: 100%;
	}

	.breadcrumb {
		display: none;
	}

	.user-data {
		display: none;
	}
}

.user img {
	width: 39px;
	height: 39px;
	border-radius: 50%;
}

.user-data span {
	font-size: 14px;
}

.dropdown {
	position: relative;
}

.dropdown:hover {
	cursor: pointer;
}

.dropdown-menu {
	list-style: none;
	display: none;
	flex-direction: column;
	position: absolute;
	right: 5%;
	top: 90%;
	background: var(--main-bg-color);
	max-width: 250px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
	padding: unset;
	border-radius: 10px;
	border: 0.125px solid var(--second-bg-color);
}

.dropdown-menu hr {
	border: solid var(--main-color) 1px;
	margin: 5px 10px;
}

.dropdown-expand {
	display: flex;
}

.dropdown-menu-content {
	max-height: 500px;
	overflow-y: auto;
}

.dropdown-menu-item {
	width: 100%;
}

.dropdown-menu-link {
	display: flex;
	flex-direction: row;
	align-items: center;
	text-decoration: none;
	color: var(--main-color);
}

.dropdown-menu-link div {
	min-width: 82px;
	height: 50px;
	position: relative;
}

.dropdown-menu-link i {
	font-size: 1.25rem;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.dropdown-menu-link span {
	font-size: 15px;
	width: 298px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dropdown-menu-link span>span {
	font-size: 10px;
}

.dropdown-menu-link:hover {
	cursor: pointer;
	background: var(--second-bg-color);
}

.dropdown-menu-header {
	padding: 20px;
	text-align: center;
	border-bottom: 1px solid var(--second-bg-color);
}

.dropdown-menu-footer {
	padding: 20px;
	text-align: center;
	border-top: 1px solid var(--second-bg-color);
}


/* ------------------ SIDEBAR  -------------------- */
.sidebar {
	width: 75px;
	min-height: 100%;
	position: fixed;
	background: var(--second-bg-color);
	color: var(--second-color);
	box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 4px 1px;
	overflow: hidden;
	z-index: 100;
	transition: width .5s;
}

.sidebar:hover {
	width: 250px;
}

.sidebar-content {
	display: relative;
	height: 100%;
	width: 100%;
}

.sidebar-nav {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: calc(100vh - 200px);
	overflow-y: scroll;
	overflow-x: hidden;
}

.sidebar-nav::-webkit-scrollbar {
	display: none;
	/* Hide scrollbar */
}

.sidebar-nav hr {
	width: 95%;
	border: solid var(--main-color) 1px;
	margin: 15px 10px;
}

.sidebar-nav-item {
	width: 100%;
	cursor: pointer;
}

.sidebar-nav-link {
	display: flex;
	align-items: center;
	color: var(--second-color);
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
}

.sidebar-nav-link i {
	font-size: 1.5rem;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.sidebar-nav-link div {
	min-width: 82px;
	height: 60px;
	position: relative;
}

.sidebar-nav-link:hover {
	background: var(--main-bg-color);
	color: var(--primary);
}

.sidebar-nav-link.active {
	background: var(--main-bg-color);
	color: var(--primary);
}

.sidebar-nav-link.active div {
	border-left: 8px solid var(--primary);
}

.sidebar-nav-link.active i {
	color: var(--primary);
	margin-left: -5px;
}

.sidebar-expand .sidebar {
	width: 250px;
}

.sidebar-expand .wrapper {
	margin-left: 260px;
}

.sidebar-submenu {
	margin-left: 5px;
	border-left: solid 5px var(--main-color);
}

.sidebar-bottom {
	position: absolute;
	bottom: 100px;
	left: 0px;
	color: var(--main-color);
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	z-index: 100;
}

.sidebar-bottom p a {
	text-decoration: none;
	color: var(--main-color);
}


/* ------------------ MAIN  -------------------- */
.container {
  width: 100%;
  height: 100%;
}

.wrapper {
  margin-left: 82px;
  margin-top: 84px;
  margin-right: 10px;
  background: var(--main-bg-color);
  transition: margin-left .5s;
  height: calc(100vh - 90px);
  /* box-shadow: rgba(0,0,0,0.12) 0px 1px 4px 1px; */
}

.row {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  /* gap: 10px;
  margin-bottom: 10px; */
  /*justify-content: space-between;*/
}

.row:after,
.row:before {
  box-sizing: border-box;
}

[class*="col-"] {
  padding: 10px;
  flex-grow: 1;
  box-sizing: border-box;
  min-width: 0;
}

/* Extra small devices <= 600px */
@media only screen and (max-width: 700px) {
  .sidebar {
    width: 0 !important;
  }

  .sidebar-expand .sidebar {
    width: 250px !important;
  }

  .wrapper {
    margin-left: 10px;
    margin-right: 10px;
  }

  .sidebar-expand .wrapper {
    margin-left: 10px;
  }

  [class*="col-"] {
    width: 100%
  }
}

.col-1 {
  flex-basis: calc(8.33% - 7px);
}

.col-2 {
  flex-basis: calc(16.66% - 7px);
}

.col-3 {
  flex-basis: calc(25% - 7px);
}

.col-4 {
  flex-basis: calc(33.33% - 7px);
}

.col-5 {
  flex-basis: calc(41.66% - 7px);
}

.col-6 {
  flex-basis: calc(50% - 7px);
}

.col-7 {
  flex-basis: calc(58.33% - 7px);
}

.col-8 {
  flex-basis: calc(66.66% - 7px);
}

.col-9 {
  flex-basis: calc(75% - 7px);
}

.col-10 {
  flex-basis: calc(83.33% - 7px);
}

.col-11 {
  flex-basis: calc(91.66% - 7px);
}

.col-12 {
  flex-basis: calc(100% - 7px);
}

/* Small devices >= 600px */
@media only screen and (min-width: 600px) {
  .col-sm-1 {
    flex-basis: calc(8.33% - 7px);
  }

  .col-sm-2 {
    flex-basis: calc(16.66% - 7px);
  }

  .col-sm-3 {
    flex-basis: calc(25% - 7px);
  }

  .col-sm-4 {
    flex-basis: calc(33.33% - 7px);
  }

  .col-sm-5 {
    flex-basis: calc(41.66% - 7px);
  }

  .col-sm-6 {
    flex-basis: calc(50% - 7px);
  }

  .col-sm-7 {
    flex-basis: calc(58.33% - 7px);
  }

  .col-sm-8 {
    flex-basis: calc(66.66% - 7px);
  }

  .col-sm-9 {
    flex-basis: calc(75% - 7px);
  }

  .col-sm-10 {
    flex-basis: calc(83.33% - 7px);
  }

  .col-sm-11 {
    flex-basis: calc(91.66% - 7px);
  }

  .col-sm-12 {
    flex-basis: calc(100% - 7px);
  }
}

/* Medium devices >= 768px */
@media only screen and (min-width: 768px) {
  .col-md-1 {
    flex-basis: calc(8.33% - 7px);
  }

  .col-md-2 {
    flex-basis: calc(16.66% - 7px);
  }

  .col-md-3 {
    flex-basis: calc(25% - 7px);
  }

  .col-md-4 {
    flex-basis: calc(33.33% - 7px);
  }

  .col-md-5 {
    flex-basis: calc(41.66% - 7px);
  }

  .col-md-6 {
    flex-basis: calc(50% - 7px);
  }

  .col-md-7 {
    flex-basis: calc(58.33% - 7px);
  }

  .col-md-8 {
    flex-basis: calc(66.66% - 7px);
  }

  .col-md-9 {
    flex-basis: calc(75% - 7px);
  }

  .col-md-10 {
    flex-basis: calc(83.33% - 7px);
  }

  .col-md-11 {
    flex-basis: calc(91.66% - 7px);
  }

  .col-md-12 {
    flex-basis: calc(100% - 7px);
  }
}

/* laptops/desktops >= 992px */
@media only screen and (min-width: 992px) {
  .col-lg-1 {
    flex-basis: calc(8.33% - 7px);
  }

  .col-lg-2 {
    flex-basis: calc(16.66% - 7px);
  }

  .col-lg-3 {
    flex-basis: calc(25% - 7px);
  }

  .col-lg-4 {
    flex-basis: calc(33.33% - 7px);
  }

  .col-lg-5 {
    flex-basis: calc(41.66% - 7px);
  }

  .col-lg-6 {
    flex-basis: calc(50% - 7px);
  }

  .col-lg-7 {
    flex-basis: calc(58.33% - 7px);
  }

  .col-lg-8 {
    flex-basis: calc(66.66% - 7px);
  }

  .col-lg-9 {
    flex-basis: calc(75% - 7px);
  }

  .col-lg-10 {
    flex-basis: calc(83.33% - 7px);
  }

  .col-lg-11 {
    flex-basis: calc(91.66% - 7px);
  }

  .col-lg-12 {
    flex-basis: calc(100% - 7px);
  }
}

/* large laptops and desktops >= 1200px */
@media only screen and (min-width: 1400px) {
  .col-xl-1 {
    flex-basis: calc(8.33% - 7px);
  }

  .col-xl-2 {
    flex-basis: calc(16.66% - 7px);
  }

  .col-xl-3 {
    flex-basis: calc(25% - 7px);
  }

  .col-xl-4 {
    flex-basis: calc(33.33% - 7px);
  }

  .col-xl-5 {
    flex-basis: calc(41.66% - 7px);
  }

  .col-xl-6 {
    flex-basis: calc(50% - 7px);
  }

  .col-xl-7 {
    flex-basis: calc(58.33% - 7px);
  }

  .col-xl-8 {
    flex-basis: calc(66.66% - 7px);
  }

  .col-xl-9 {
    flex-basis: calc(75% - 7px);
  }

  .col-xl-10 {
    flex-basis: calc(83.33% - 7px);
  }

  .col-xl-11 {
    flex-basis: calc(91.66% - 7px);
  }

  .col-xl-12 {
    flex-basis: calc(100% - 7px);
  }
}

.bg-secondary {
	background: var(--second-bg-color);
}

.swal2-container,
.swal2-popup {
	background: var(--main-bg-color);
	color: var(--main-color);
}

td a {
	text-decoration: none;
	color: var(--main-color);
}

td a:hover {
	color: var(--second-color);
}

a.bx {
	font-size: 20px !important;
}

.fit {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	justify-content: center;
	height: 100%;
}

.btn {
	background-color: var(--main-bg-color);
	color: var(--dark-second-color);
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease;
	padding: 10px 30px;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.btn-sm {
	background-color: var(--main-bg-color);
	color: var(--dark-second-color);
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease;
	padding: 2px 10px;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn:hover,
.btn-sm:hover {
	color: var(--dark-color);
}

.btn-primary {
	background-color: var(--primary);
}

.btn-primary:hover {
	background-color: var(--primary-hover);
}

.btn-danger {
	background-color: var(--danger);
}

.btn-danger:hover {
	background-color: var(--danger-hover);
}

.btn-info {
	background-color: var(--info);
}

.btn-info:hover {
	background-color: var(--info-hover);
}

.btn-warning {
	background-color: var(--warning);
}

.btn-warning:hover {
	background-color: var(--warning-hover);
}

.btn i {
	font-size: 18px;
}

.p-0 {
	padding: 0;
}

.px-0 {
	padding-left: 0;
	padding-right: 0;
}

.px-10 {
	padding-left: 10px;
	padding-right: 10px;
}

.px-20 {
	padding-left: 20px;
	padding-right: 20px;
}

.py-0 {
	padding-top: 0;
	padding-bottom: 0;
}

.mt-10 {
	margin-top: 10px;
}

.mt-20 {
	margin-top: 20px;
}

.mb-10 {
	margin-bottom: 10px;
}

.mb-20 {
	margin-bottom: 20px;
}

.mx-10 {
	margin-left: 10px;
	margin-right: 10px;
}

.my-10 {
	margin-top: 10px;
	margin-bottom: 10px;
}

.my-20 {
	margin-top: 20px;
	margin-bottom: 20px;
}

.me-10 {
	margin-right: 10px;
}

.ms-10 {
	margin-left: 10px;
}

.w-100 {
	width: 100%;
}

.g-10 {
	gap: 10px;
}

.form-group {
	display: flex;
	flex-direction: column;
	font-size: 14px;
}

.form-group label {
	margin-bottom: 10px;
}

.form-group input:not([type="checkbox"]),
.form-group select {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid var(--cinza-claro);
	border-radius: 5px;
	/* margin-bottom: 1rem; */
	transition: background 0.3s ease, color 0.3s ease;
	background-color: var(--main-bg-color);
	color: var(--main-color);
}

.form-checked {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.form-checked label {
	margin-bottom: 0;
}

.text-primary {
	color: var(--primary);
}

.text-danger {
	color: var(--danger);
}

.text-info {
	color: var(--info);
}

.text-warning {
	color: var(--warning);
}

.d-flex-row {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.d-flex-column {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.fs-20 {
	font-size: 20px;
}

.fs-40 {
	font-size: 40px;
}

.ambientes {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 0 10px;
	padding-bottom: 15px;
	border: solid 4px var(--main-bg-color);
	border-radius: 5px;
}

.ambientes .form-group {
	width: 100%;
}

#foto-avatar {
	cursor: pointer;
}

input:disabled,
input:read-only {
	background-color: var(--second-bg-color) !important;
}

.box-button {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around;
	gap: 20px;
	padding: 10px;
}

.box-button button {
	width: 100%;
}

.d-none {
	display: none;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	/* Escurece a tela */
	z-index: 999;
	/* Atrás do loader */
	display: none;
}

.loader {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1000;
	width: 200px;
	height: 200px;
	margin: -100px 0 0 -100px;
	border: 30px solid #f3f3f3;
	border-radius: 50%;
	border-top: 30px solid var(--verde-escuro);
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
	display: none;
}

@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}








.checkbox-wrapper-4 * {
	box-sizing: border-box;
}

.checkbox-wrapper-4 {
	width: fit-content;
}

.checkbox-wrapper-4 .cbx {
	-webkit-user-select: none;
	user-select: none;
	cursor: pointer;
	padding: 6px 8px;
	border-radius: 6px;
	overflow: hidden;
	transition: all 0.2s ease;
	display: inline-block;
}

.checkbox-wrapper-4 .cbx:hover {
	background: rgba(0, 255, 26, 0.06);
}

.checkbox-wrapper-4 .cbx span {
	float: left;
	vertical-align: middle;
	transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-4 .cbx span:first-child {
	position: relative;
	width: 15px;
	height: 15px;
	border-radius: 4px;
	transform: scale(1);
	border: 1px solid #cccfdb;
	transition: all 0.2s ease;
	box-shadow: 0 1px 1px rgba(0, 255, 26, 0.06);
}

.checkbox-wrapper-4 .cbx span:first-child svg {
	position: absolute;
	top: 2px;
	left: 1px;
	fill: none;
	stroke: #fff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 16px;
	stroke-dashoffset: 16px;
	transition: all 0.3s ease;
	transition-delay: 0.1s;
	transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-4 .cbx span:last-child {
	padding-left: 8px;
	line-height: 15px;
}

.checkbox-wrapper-4 .cbx:hover span:first-child {
	border-color: var(--primary);
}

.checkbox-wrapper-4 .inp-cbx {
	position: absolute;
	visibility: hidden;
}

.checkbox-wrapper-4 .inp-cbx:checked+.cbx span:first-child {
	background: var(--primary);
	border-color: var(--primary);
	animation: wave-4 0.4s ease;
}

.checkbox-wrapper-4 .inp-cbx:checked+.cbx span:first-child svg {
	stroke-dashoffset: 0;
}

.checkbox-wrapper-4 .inline-svg {
	position: absolute;
	width: 0;
	height: 0;
	pointer-events: none;
	user-select: none;
}

@media screen and (max-width: 640px) {
	.checkbox-wrapper-4 .cbx {
		width: 100%;
		display: inline-block;
	}
}

@-moz-keyframes wave-4 {
	50% {
		transform: scale(0.9);
	}
}

@-webkit-keyframes wave-4 {
	50% {
		transform: scale(0.9);
	}
}

@-o-keyframes wave-4 {
	50% {
		transform: scale(0.9);
	}
}

@keyframes wave-4 {
	50% {
		transform: scale(0.9);
	}
}



.print-section {
	/* background: white !important; */
	box-sizing: border-box;
	page-break-inside: avoid;
	margin-bottom: 10px;
}



@media only screen and (max-width: 720px) {
	#table_wrapper {
		font-size: 12px;
	}

	#table thead {
		font-size: 14px;
	}

	#table tbody {
		font-size: 12px;
	}

	#table .bx {
		font-size: 16px !important;
	}
}

table {
	font-size: inherit !important;
}

table tbody tr:hover, table tbody tr:hover td a {
	background-color: #165B22;
	color: #fff;
}


table.dataTable thead th {
	background-color: #165B22 !important;
	text-transform: uppercase;
	color: white !important;
}

/* CORREÇÃO DEFINITIVA - EVITA FLICKER */
html.preload .sidebar,
html.preload .wrapper {
	transition: none !important;
}


.card-row {
  display: flex;
  padding: 40px 20px;
  border-radius: 10px;
  align-items: center;
  cursor: pointer;
  flex-direction: row;
}

.card-column {
  display: flex;
  padding: 40px 20px;
  border-radius: 10px;
  align-items: center;
  cursor: pointer;
  flex-direction: column;
}

.card-title {
	font-size: 20px;
	margin-top: 10px;
}