/*--------------------------------------------------------------
# Geral
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
  --new-primary-color: #004979;
}

.fancybox__container {
  --fancybox-bg: #0000005c;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  background: #F5F8FB !important;
  color: #444444;
}

h1,h2,h3,h4,h5,h6 {
  font-family: "Roboto", sans-serif;
}

.form-control {
  color: #9CAEC4;
  font-size: 12px;
}

.form-select {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"%3E%3Cpath fill="%239CAEC4" d="M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"%3E%3C/path%3E%3C/svg%3E');
  color: #9CAEC4;
  font-size: 12px;
}

.btn {
  font-size: 12px;
}

a {
  color: #004979;
  text-decoration: none;
}

a:hover {
  color: #004979;
  text-decoration: none;
}

input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0; 
}

.form-select {
  transition: box-shadow 0.3s ease-in-out;
}

.form-select:hover {
  box-shadow: 0 0 5px 2px rgba(0, 123, 255, 0.5);
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #004979 !important;
  transition: all 0.3s ease;
}

input:hover {
  box-shadow: 0 0 5px 2px rgba(0, 123, 255, 0.5);
}

legend {
  font-size: 1.3rem 
}

/*--------------------------------------------------------------
# Colors
--------------------------------------------------------------*/
.bg-blue-faint {
  background-color: #F5F8FB !important;
}

.text-primary {
  color: var(--new-primary-color) !important;
}

.bg-primary {
  background-color: var(--new-primary-color) !important;
}

.border-primary {
  border-color: var(--new-primary-color) !important;
}

.btn-primary, .btn-outline-primary:hover, .alert-primary, .badge-primary, .progress-bar.bg-primary {
  background-color: #6985a4 !important;
  border-color: #6985a4 !important;
}

input:disabled, input[readonly], textarea:disabled, textarea[readonly], select:disabled, select[readonly] {
  background-color: #F5F8FB !important;
}

.page-link {
  color: #004979;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 65px;
  padding: 20px 20px 0px 20px;
  transition: all 0.3s;
}

@media (max-width: 1199px) {
  #main {
    padding: 20px 20px 0px 20px;
  }
}

/*--------------------------------------------------------------
# Animação de carregamento
--------------------------------------------------------------*/
.overlay {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  text-align: center;
  padding-top: 20%;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

/*--------------------------------------------------------------
# Botão voltar ao topo
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #004979;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6985a4;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Substituir alguns estilos padrão do Bootstrap
--------------------------------------------------------------*/

/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #F5F8FB;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/* Card */
.card {
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.borda {
  border: 1px solid #ced4da;
  border-radius: 5px;
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 500;
  color: #004979;
  font-family: "Roboto", sans-serif;
}

.card-title span {
  color: #90a7bc;
  font-size: 14px;
  font-weight: 400;
}

.card-body {
  padding: 12px 20px 20px 20px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

.card-mini-title {
  inset: -20px auto auto auto; 
  padding: 3px 0;
}

.card-separa-mini-title {
  border-left: 1px solid #00000040; 
  height: 30px;
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
}

.empty-message {
  background-color: #e9ecef;
  border: 1px dashed #adb5bd;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  color: #6c757d;
  margin: 1rem 0;
}

.empty-message i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Close Button */
.btn-filtro {
  border-radius: 5px;
  border: 1px solid #ccc;
  color: #9CAEC4;
}

.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #004979;
  background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #004979;
}

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  color: #90a7bc;
  font-weight: 600;
}

.breadcrumb a {
  color: #90a7bc;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #90a7bc;
}

.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #004979;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #004979;
  border-bottom: 2px solid #004979;
}

.subRamificacao > a {
  padding: 10px 15px !important;
}

.subRamificacao > a > i {
  font-size: 16px !important;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
[class^="bi-"]::before, [class*=" bi-"]::before {
  line-height: 1.5;
}

tr td [class^="bi-"]::before, [class*=" bi-"]::before {
  line-height: 1.3;
}

[class="fa-solid fa-gear"]::before {
  line-height: 1.5;
}

.icoHeader {
  font-size: 25px;
  margin: 0 7px 0 7px;
}

.logo {
  line-height: 1;
}

.logo img {
  width: 120px;
  height: 40px;
  margin-right: 10px;
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 63px;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
  background: #fff;
  padding-left: 10px;
}

.header .toggle-sidebar-btn {
  transition: all 0.3s;
  font-size: 32px;
  cursor: pointer;
  color: #004979;
}

.header .search-bar {
  min-width: 200px;
  margin: 0 7px 0 7px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 63px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  border: 0;
  font-size: 13px;
  color: #004979;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 4px 33px 4px 4px;
  border-radius: 5px;
  transition: 0.3s;
  width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.header .search-form button i {
  color: #004979;
}

.headerFixed {
  position: fixed;
  top: 63px;
  background-color: white;
  padding: 10px 20px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: auto;
}

.click:hover {
	cursor: pointer; 
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 30px;
  color: #004979;
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: #004979;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 15px;
  font-weight: 600;
}

.header-nav .nav-profile span:nth-child(2) {
  color: #777; 
  font-size: 12px; 
  font-weight: 400;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .outros .outro-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
  width: 100%;
}

.header-nav .outros .outro-item a {
  margin-right: 0px;
  width: 100%;
}

.header-nav .outros .outro-item a div{
  margin: 0 0 0 20px;
  width: 100%;
}

.header-nav .outros .outro-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .outros .outro-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .outros .outro-item:hover {
  background-color: #f6f9ff;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Notificacoes
--------------------------------------------------------------*/
.notification-dropdown {
  width: 350px;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
}

.notification-badge {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(25%, -25%);
}

.notification-icon {
  position: relative;
}

.notification-item {
  border-left: 3px solid transparent;
  transition: all 0.2s;
}

.notification-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.notification-item.dropdown-item {
  white-space: unset !important;
}

.notification-item.unread {
  border-left-color: #0d6efd;
  background-color: rgba(13, 110, 253, 0.05);
}

.notification-time {
  font-size: 0.75rem;
}

.notification-empty {
  padding: 20px;
  text-align: center;
  color: #999;
}
  
/* Ajuste para o dropdown não fechar ao clicar dentro dele */
.dropdown-menu[data-bs-popper] {
  top: 100%;
  left: auto;
  right: 0;
  margin-top: 0.125rem;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 55px;
  left: 0;
  bottom: 0;
  width: 55px;
  z-index: 996;
  transition: all 0.3s;
  padding: 20px 0 20px 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #aab7cf transparent;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
  background-color: #deeaf5;
}

@media (max-width: 1199px) {
  .sidebar {
    left: -250px;
  }
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #deeaf5;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #aab7cf;
}

@media (min-width: 1200px) {

  #main,
  #footer {
    margin-left: 55px;
  }
}

@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}

@media (min-width: 1200px) {

  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 100px;
  }

  .toggle-sidebar .sidebar > ul > li > a > span {
    display: block !important;
  }
  
  .toggle-sidebar .sidebar {
    width: 100px;
  }

  .expandirLateral .sidebar-nav .nav-link i {
    font-size: 18px;
    margin-right: 10px;
    color: #90a7bc;
  }
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-item {
  margin-bottom: 5px;
}

.sidebar-nav .nav-item > .nav-link > span {
  display: none;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: #90a7bc;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}

.expanded-nav-link {
  flex-direction: row !important;
  justify-content: unset !important;
  padding: 10px 5px;
}

.sidebar-nav .expanded-nav-link i {
  margin-right: 5px;
}

.sidebar-nav .nav-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #004979;
  transition: 0.3;
  border-radius: 4px;
}

.sidebar-nav .nav-link i {
  font-size: 22px;
  color: #90a7bc;
}

.sidebar-nav .nav-link.collapsed {
  color: #004979;
  background-color: #deeaf5;
}

.sidebar-nav .nav-link.collapsed i {
  color: #90a7bc;
}

.sidebar-nav .nav-link:hover {
  color: #004979;
  background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
  color: #004979;
}

.sidebar-nav .nav-link .fa-caret-down {
  font-size: small;
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .fa-caret-down {
  transform: rotate(180deg);
}

.expandirLateral {
  width: 250px !important;
  display: block !important;
  text-align: unset !important;
}

.sidebar-nav .nav-content {
  padding: 5px 0 0 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #004979;
  transition: 0.3;
  padding: 10px 0 10px 40px;
  transition: 0.3s;
}

.sidebar-nav .nav-content a i {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: #004979;
}

.sidebar-nav .nav-content a.active i {
  background-color: #004979;
}

.nav-link {
  padding: 0.5rem 0.5rem;
  color: #004979;
}

/*--------------------------------------------------------------
# Input
--------------------------------------------------------------*/
.row {
  --bs-gutter-x: 1rem;
	margin-right: 0;
	margin-left: 0;
}

.input-group:hover {
  box-shadow: 0 0 5px 2px rgba(0, 123, 255, 0.5);
  border-radius: 5px;
}

.input-group .form-control, .input-group .form-select, .row .btn-group span {
  padding: 5px;
}

.input-group input:hover, .input-group select:hover {
  box-shadow: none;
}

.row .input-group-text {
  font-weight: bold;
  padding: 5px;
  color: #9CAEC4;
  border: 1px solid #ced4da;
  font-size: 12px;
  background: white;
}

.row .btn-group span {
  border-start-end-radius: 0px;
  border-end-end-radius: 0px;
}

.row .btn-group div {
  margin-right: 5px;
  padding: 5px;
  background-color: transparent; 
  color: #9CAEC4;
  border: 1px solid #ced4da;
}

/*--------------------------------------------------------------
# Modal
--------------------------------------------------------------*/
.modal {
  z-index: 1050 !important;
}

/*--------------------------------------------------------------
# Table
--------------------------------------------------------------*/
.table > tbody > tr:hover > * {
  background-color: #f9f9f9 !important;
}

.table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
  padding: 8px !important;
  border-top: 1px solid #ddd;
}

.table > thead > tr > th {
  min-width: 130px;
  vertical-align: bottom;
  border-bottom: 2px solid #ddd !important;
}

.table > tbody > tr:nth-of-type(2n+1) > * {
  box-shadow: inset 0 0 0 9999px #0d6efd0d !important;
}

/*--------------------------------------------------------------
# Editor ckeditor
--------------------------------------------------------------*/
@media print {
	body {
		margin: 0 !important;
	}
}

.ck .ck-powered-by {
  display: none;
}

.main-container {
	font-family: "Roboto", sans-serif;
}

.ck-content p {
  margin: 0;
}

.ck-content {
	font-family: "Roboto", sans-serif;
	line-height: 1.6;
	word-break: break-word;
  min-height: 300px;
  max-height: 400px;
}

.ck-editor__editable .ck-source-editing-area {
  max-height: 400px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}

.show {
  display: block;
}