@import url(//fonts.googleapis.com/css?family=Open+Sans:400,700);

/*
 * Base structure
 */

 html { height: 100% }

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
}
a,
a:hover { color:#0095A7 }

.color-primary,
.text-primary  { color: #0095A7  } 

.btn-primary,
.list-group-item.active, 
.list-group-item.active:focus, 
.list-group-item.active:hover {
  border-color: #0095A7 !important;
  background-color: #0095A7 !important;
}

.nav-pills>li.active>a, 
.nav-pills>li.active>a:focus, 
.nav-pills>li.active>a:hover {
  background-color: #0095A7 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active { box-shadow: inset 0 0 100rem rgba(0,0,0,.125) }

.badge.bg-light { color: rgba(0,0,0,.5)}

.badge.fw-light { font-weight: normal }

.dropdown-menu>.active>a, 
.dropdown-menu>.active>a:focus, 
.dropdown-menu>.active>a:hover { background-color: #0095A7 !important }

.list-group-item.active a { color: #FFF }

.home nav {
  position: absolute;
  top: 0; left: 0;
  width: 100%
}

.home .wrapper { 
  display: flex
}

@media(min-width:1024px){
  /* .navbar-nav li:hover > ul.dropdown-menu {
    display: block;
  } */
  .navbar-nav li:hover > ul.dropdown-menu {
    display: none !important;
  }
  .navbar-nav li.open > ul.dropdown-menu {
    display: block !important;
  }
  .dropdown-submenu {
    position: relative;
  }
  .dropdown-submenu>.dropdown-menu {
    top:0;
    left: 98%;
    margin-top:-6px;
    display: none;
  }
  .dropdown-submenu.open > .dropdown-menu {
    display: block;
  }
}

.navbar-top { 
  border: 0;
  border-radius: 0;
  margin: 0 }

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
Anotações
*/
#toggleIcon {
  position: fixed;
  bottom: 1%;
  right: 1%;
  width: 55px;
  height: 55px;
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 22px;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

/* Efeito hover */
#toggleIcon:hover {
  background-color: #0056b3;
  transform: scale(1.1);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
}

/* Efeito de clique */
#toggleIcon:active {
  transform: scale(0.95);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Container da textarea */
/* Container da textarea */
#textAreaContainer {
  position: fixed;
  bottom: 1%;
  right: 1%;
  width: 90vw;
  max-width: 59rem;
  height: 70vh; /* ← adaptável à altura da tela */
  background: white;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  padding: 10px;
  display: flex;
  flex-direction: column; /* ← permite organizar os filhos (textarea + botões) */
  
  /* Animação inicial */
  opacity: 0;
  transform: scale(0.2) translate(50%, 50%);
  pointer-events: none;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

#textAreaContainer.active {
  opacity: 1;
  transform: scale(1) translate(0, 0);
  pointer-events: all;
}

textarea {
  flex: 1; /* ← ocupa o espaço restante no container */
  resize: none;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 8px;
  font-size: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

/* Botões na parte inferior do container */
.buttons-area {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

#closeBtn,
#saveBtn {
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.5rem;
}

@media (max-height: 600px) {
  #textAreaContainer {
    height: 60vh;
  }

  textarea {
    font-size: 1.25rem;
  }

  #closeBtn,
  #saveBtn {
    font-size: 1.25rem;
    padding: 8px 12px;
  }
}



/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #F5F5F5;
    border-right: 1px solid #DDD;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 5px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  color: #333;
  font-weight: 700;
  padding: 3px 20px;
}
.nav-sidebar > li > a:hover { background: #E5E5E5 }

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover {
  color: #fff;
  background-color: #428bca;
}

/*Nav da parte de lançamento de obrigacoes fiscal e contabeis*/
.nav > .active > button,
.nav > .active > button:hover {
  color: #fff;
  background-color: #428bca;
}

.dropdown-menu .divider,
.nav .divider {
  display: block;
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}

/*
 * Main content
 */


.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}

@media (max-width: 767px) {
  .page-header .btn { margin-top: -10px }
}

.home .jumbotron h1 {
  letter-spacing: -2px;
  font-size: 40px }

.home .jumbotron p { font-size: 20px }

.modal-body { background-color: #EEE }

.modal-footer { 
  margin:0;
  background-color: #222 }

.page-header button { margin-left: 5px }
.page-header .search  { padding: 0 }

.page-header { margin-top: 0px !important}

@media (max-width: 767px) { 
    h1.page-header { 
      border:0;
      margin-bottom: 0;
      font-size: 20px }

    #filter .nav.navbar-nav {
      margin-top: 0;
      margin-bottom: 0 }

    #filter .nav.navbar-nav.pull-right { float:none !important }

    #filter .search > * { padding: 10px 10px 0 10px } 

    #filter .nav .dropdown .active a { 
      color:#FFF;
      background: #428bca }

    .filter {
      margin-bottom: 0 !important;
      border-radius: 5px }

    .table { border:0  }

    .del.btn { margin-bottom: 10px  }

    th { font-size: 11px }

    .navbar-brand { font-size: 14px }

    .modulos .btn-group { 
      clear: both;
      width: 100%;
      margin:0 }

    .modulos .btn-group .btn { 
      clear: both;
      width: 100%;
      margin:-1px 0 0 0;
      border-radius: 0 }

    .home .jumbotron h1 { 
      letter-spacing: -1px;
      font-size: 20px }

    .home .jumbotron p  { font-size: 14px }

    .home .jumbotron { padding: 10px }

    .jumbotron .container .glyphicon-remove {
      top: 15px !important; 
      right: 15px !important }

    .home .table-responsive {
      padding: 0;
    }

  .navbar-collapse.navbar-top ul.nav ul.dropdown-menu { background-color: #111 }
  .navbar-collapse.navbar-top ul.nav ul.dropdown-menu li.dropdown-header { color: #333 }
  .navbar-collapse.navbar-top ul.nav ul.dropdown-menu li.divider { background-color: #222 !important }

}

.link-edit .glyphicon,
.link-edit .btn { 
  margin-right: 3px;
  display: none }

.link-edit .glyphicon.glyphicon-trash { 
  color: #CC0000;
  float: right  }

/* tr td.link-edit:hover { box-shadow: inset  0 0 30px rgba(0,0,0,0.15) } */

/* tr:hover td.link-edit .glyphicon,
tr:hover td.link-edit .btn,
li.link-edit:hover .glyphicon,
li.link-edit:hover .btn { display: inline-block } */

/* .wrapper .nav-tabs.centerd {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: -42px } */


th:not(.module th){ 
  font-size: 80%;
  background: #F6F6F6 }

.table-bordered>tbody>tr>td,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>td,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>thead>tr>th { border: 1px solid rgba(0,0,0,.125) }

.module .table>tbody>tr>td, 
.module .table>tbody>tr>th, 
.module .table>tfoot>tr>td, 
.module .table>tfoot>tr>th, 
.module .table>thead>tr>td, 
.module .table>thead>tr>th {
  /* width: auto !important;  */
  padding-top: 1rem;
  padding-bottom: 1rem }

.module .table>tbody>tr:first-child>td,  
.module .table>tbody>tr:first-child>th,  
.module .table>tfoot>tr:first-child>td,  
.module .table>tfoot>tr:first-child>th,  
.module .table>thead>tr:first-child>td,  
.module .table>thead>tr:first-child>th { border-top: 0 }

table:has(tr:nth-child(20)) td {
  padding-top: .5rem; 
  padding-bottom: .5rem  }

.module thead:not(:has(tr>*:nth-child(4))) { display: none }

.module table tr>*:first-child,
.module table:not(:has(tr>*:nth-child(4))) tr > *:last-child {
  width: 0 !important
}

table.table-fixed {
  table-layout: fixed;
}

tr [type="checkbox"],
tr .pub { visibility: hidden }
tr .duplicate { visibility: hidden }

tr:hover [type="checkbox"],
tr [type="checkbox"]:checked,
tr:hover [type="checkbox"]:checked,
tr:hover .pub  { visibility: visible }
tr:hover .duplicate  { visibility: visible }

td.text-vcenter { vertical-align: middle !important }

table .dropdown-menu > div { 
  padding: 3px 20px;
  font-weight: 400;
  line-height: 1.42857143;
  color: #333;
  white-space: nowrap } 

.navbar-nav li .del { margin: 4px 5px 0 5px }

.del { display:none }

.navbar-nav li.paging { margin: 4px -11px 0 5px  }
  
.navbar.filter { 
  margin-bottom: 10px;
  min-height: 30px !important }

.slideshow .filter { margin-top: 10px }

.filter .navbar-nav > li > a {
  padding: 5px 12px;
  line-height: auto }

.filter .navbar-brand {
  float: left;
  height: auto;
  color: #333;
  font-size: 14px;
  padding: 7px 15px;
  line-height: auto }

.pub,
.duplicate,
.dpub { font-size: 17px }

.pub  { color: #66CC00 }
.dpub { color: #CCC }

@media (min-width: 768px) {
  nav.filter .navbar-collapse { margin: 0 -15px !important }
}

.filter .navbar-toggle {
  position: relative;
  float: right;
  padding: 6px 5px;
  margin-top: 5px;
  margin-right: 10px;
  margin-bottom: 5px;
  border-radius: 4px;
}
.filter .navbar-toggle .icon-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
}
.filter .navbar-toggle .icon-bar + .icon-bar {
  margin-top: 2px;
}

.filter .filterChange {
  color: #FFF;
  font-size: 10px;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 2px 5px;
  background-color: #428bca }

.nav-sidebar .dropdown-header { 
  font-size: 10px;
  text-transform: uppercase }

.breadcrumb {
  padding: 8px 0;
  margin-bottom: 15px;
  border-bottom: 1px solid #EEE;
  border-radius: 0;
  background: none;
}

.dropdown-menu.paging { 
  min-width: 100%  !important }

textarea { resize: none }

.imgPreview {
  padding: 10px;
  line-height: 250px;
  background: #FFF;
  border: 1px solid #CCC;
  border-radius: 3px;
  text-align: center;
}

img.imgPreviewList {
  max-height: 40px;
  max-width: 100px;
}

.imgPreview img {
  max-height: 250px;
  max-width: 100%;
}

.btn-group .btn:active,
.btn-group .btn.active {
  color: #FFF;
  background-color: #428bca }

.period { display: none }

.imgInfo { 
  font-weight: normal; 
  color: #FFF;
  background-color: #AAA;
  border-radius: 50px;
  padding: 2px 0 2px 7px  }

.imgInfo span {
  font-weight: bold; 
  border-radius: 50px;
  padding: 2px 7px;
  margin-left: 3px;
  background-color: #428bca;
  text-transform: none  }

.imgInfo span.incompatible { background-color: #CC0000  }

.statsHost {
  margin: 15px 0 0 0;
}

.progress { border: 1px solid #DDD }

.progress-lg { 
  margin-bottom:0;
  height: 35px }

.progress-lg .progress-bar { line-height: 35px }

.progress-bar.remaining { 
  color:#666;
  background: #D9D9D9 }

.progress.usoEmail { margin: 0 0 0 -30px }

.sample { 
  font-style:italic;
  color: #AAA }

.required > label:after {
  position: relative;
  margin-left: 3px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-size: 10px;
}
.required > label:after {
  content: " \2a";
  color: #428bca;
}

/* .form-group  label { 
  font-weight: bold;
  color: #333;
  display: inline-block;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 11px;
} */

small.rule { 
  font-size: 10px;
  font-weight: normal;
  color: #666;
  text-transform: none   }

.modulos label.btn { text-transform: none }

.modulos .btn-group { 
  margin-top: -1px;
  padding: 0 !important }

.home .jumbotron { 
  color:#FFF;
  border-radius: 5px;

  background: #428bca; /* Old browsers */
  background: -moz-linear-gradient(top,  #428bca 29%, #72b8ff 84%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(29%,#428bca), color-stop(84%,#72b8ff)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #428bca 29%,#72b8ff 84%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #428bca 29%,#72b8ff 84%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #428bca 29%,#72b8ff 84%); /* IE10+ */
  background: linear-gradient(to bottom,  #428bca 29%,#72b8ff 84%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#428bca', endColorstr='#72b8ff',GradientType=0 ); /* IE6-9 */ 
}

a.btn-start {
  margin-bottom: 20px;
  display: block;
  border-radius: 10px;
  padding: 35px 0;
  text-align: center;
  border: 1px solid #CCC;

  background: #ffffff; /* Old browsers */
  background: -moz-radial-gradient(center, ellipse cover,  #ffffff 29%, #dddddd 85%); /* FF3.6+ */
  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(29%,#ffffff), color-stop(85%,#dddddd)); /* Chrome,Safari4+ */
  background: -webkit-radial-gradient(center, ellipse cover,  #ffffff 29%,#dddddd 85%); /* Chrome10+,Safari5.1+ */
  background: -o-radial-gradient(center, ellipse cover,  #ffffff 29%,#dddddd 85%); /* Opera 12+ */
  background: -ms-radial-gradient(center, ellipse cover,  #ffffff 29%,#dddddd 85%); /* IE10+ */
  background: radial-gradient(ellipse at center,  #ffffff 29%,#dddddd 85%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dddddd',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

a.btn-start:hover { 
  background: #72b8ff; /* Old browsers */
  background: -moz-radial-gradient(center, ellipse cover,  #72b8ff 29%, #428bca 85%); /* FF3.6+ */
  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(29%,#72b8ff), color-stop(85%,#428bca)); /* Chrome,Safari4+ */
  background: -webkit-radial-gradient(center, ellipse cover,  #72b8ff 29%,#428bca 85%); /* Chrome10+,Safari5.1+ */
  background: -o-radial-gradient(center, ellipse cover,  #72b8ff 29%,#428bca 85%); /* Opera 12+ */
  background: -ms-radial-gradient(center, ellipse cover,  #72b8ff 29%,#428bca 85%); /* IE10+ */
  background: radial-gradient(ellipse at center,  #72b8ff 29%,#428bca 85%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#72b8ff', endColorstr='#428bca',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  border-color:#428bca;
  color: #FFF;
  text-decoration: none }

a.btn-start > span {
  font-size: 16px;
  display:block }

a.btn-start .glyphicon { 
  margin-bottom: 10px;
  font-size: 50px }

 .wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -40px; /* the bottom margin is the negative value of the footer's height */
} 

#footer, 
.push-footer {
    min-height: 30px; 
    line-height: 30px; 
}

#footer {
  color:#999;
  font-size:10px;
  text-transform: uppercase;
  text-align: center;
  background: #FFF;
  box-shadow: 0 0 10px #CCC;
  filter: alpha(opacity=95);
  opacity: .9;
}

#footer a { color:#999 }

#addcat { z-index: 1051 }

.jumbotron .container { position: relative }

.jumbotron .container .glyphicon-remove {
  position:absolute;
  color: #FFF;
  top:-20px; 
  right: -15px }

.chart { height: 200px }

.chart img {
  max-width: 100%;
  height: 100% }



/*
 * LOGIN
 */
 body.login { 
  padding: 0;
  background-color: #222;
  background-repeat: no-repeat;
  background-position: 240px center;
  background-size: cover } 

.auth {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #FFF;
  height: 100vh;
  padding: 4.5rem 5rem;
  max-width: 480px }

.auth h1 { 
  font-weight: bold;
  font-size: 125% }  

.auth p { 
  margin-bottom: 2rem;
  opacity: .75 }  

.auth .form-control { 
  height: 46px;
  margin-bottom: .5rem }  

@media(max-width:767.98px){
  .auth { max-width: 100% }
}


.main .home {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100vh - 120px) }

.main .home .d-flex {  display: flex }

.main .home > * { width: 100% }

.main .home h1 { margin-bottom: 2rem }

.main .home p.large { 
  margin-bottom: 2rem;
  opacity: .5;
  font-size: 150% }

.main .home-apps {  margin: 3rem 0 }  

.main .home-apps h3 { margin: 0 0 2rem !important }  

.main .home-apps a { 
  text-decoration: none;
  text-align: center;
  display: block;
  border: 1px solid #EEE;
  border-radius: 5px;
  padding: 3rem 2rem }

.main .home-apps a:hover { border: 1px solid #DDD }

.main .home-apps a p { 
  color: #222;
  margin: 0;
  opacity: .5;
  font-size: 95% }  

.main .home-apps img  { 
  height: 30px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 1rem }

.main .home-apps .row > div { margin-bottom: 2.5rem }

.main .home .alert h3 { margin-top: 0 }

@media(min-width:768px){
  .main .home .d-flex > div:first-child { margin-right: 5rem }
}

@media(max-width:767.98px){
  .main .home .d-flex { flex-direction: column }
}

.thumbs > div { margin-bottom: 15px }

.thumbs > div img { margin-bottom: 5px }

.thumbs > div .glyphicon-info-sign { 
  font-size: 18px;
  color: rgba(255,255,255,0,8);
  float: right  }

.thumbs .row { padding: 0 15px }

.form-group .btn-xs.addcat {
  position: absolute;
  bottom: 6px;
  right: 55px; }


#showMessage {
    position: fixed; 
    top: 30px; 
    width: 300px;
    left: 50%;
    margin-left: -150px;
    z-index: 99999 }

#loading {
    background:#cc3300;
    width: 100px;
    position: fixed;
    top: 0px;
    height: 20px;
    font-family: Arial;
    text-align: center;
    font-weight: bold;
    color: #fff;
    display: none;
    left: 45% }

input.error,
textarea.error,
select.error { background: #FFDFDF url(img/ico-required.png) no-repeat right 13px }

table a.btn-danger:has(>.glyphicon-erase){ opacity:0 }
table tr:hover .btn-danger:has(>.glyphicon-erase){ opacity:1 }

.nav-tabs { margin-top: 1rem }

.nav-tabs>li>a { margin: 0 }
.nav-tabs>li:not(:first-child) { margin-left: .5rem }

.nav>li>a:focus, 
.nav>li>a:hover {
  border-top-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
  background: #F3F3F3
}


.tab-content.border-top { border-top: 1px solid #DDD }

.tab-content { 
  background: #FFF;
  border-left: 1px solid #DDD;
  border-right: 1px solid #DDD;
  border-bottom: 1px solid #DDD }

.modal .tab-pane { padding: 20px }

.tab-pane table { margin:0 }

.plupload_container { padding: 0  !important }

.list-group-item a[title*="Excluir"] { opacity: 0 }
.list-group-item:hover a[title*="Excluir"] { opacity: 1 }

.placeholder {
    border: 1px solid 999;
    background: #FFF;
    box-shadow: 0px 0px 10px #428bca }

.tile { cursor: pointer }

.grid, .gridI { margin-top: .5rem }

#imagem_atual .btn {
  position: absolute;
  top: 40px; right: 30px }

/* AUTO COMPLETE
 /////////////////////////////////////////////////////////////////////////////*/
.ui-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 99999 !important;
  float: left;
  display: none;
  min-width: 160px;
  _width: 160px;
  padding: 4px 0;
  margin: 2px 0 0 0;
  list-style: none;
  background-color: #ffffff;
  border-color: #ccc;
  border-color: rgba(0, 0, 0, 0.2);
  border-style: solid;
  border-width: 1px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;
  border-right-width: 2px;
  border-bottom-width: 2px;
}
.ui-helper-hidden-accessible{
    display:none;
}
.ui-menu {
    padding: 5px;
}
td.ui-state-highlight .ui-state-default{
  background: #ff3333 !important;
  box-shadow:none !important;
}

/* Janela de notificações*/
.glyphicon-refresh-animate {
  -animation: spin .7s infinite linear;
  -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
  from { -webkit-transform: rotate(0deg);}
  to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
  from { transform: rotate(0deg);}
  to { transform: rotate(360deg);}
}

#notificacao-box {
  width: 400px;
  max-height: 400px;
  overflow-y: auto;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  background: #fff;
}

#notificacao-box .notificacao-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  transition: background 0.2s ease-in-out;
  position: relative;
}

#notificacao-box .notificacao-item:hover {
  background-color: #f5f5f5;
}

#notificacao-box .notificacao-item.nao-lida::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 5px;
  width: 6px;
  height: 6px;
  background-color: #1877f2;
  border-radius: 50%;
}

.icone-notificacao {
  margin-top: 4px;
  color: #1877f2;
  font-size: 18px;
}

.conteudo-notificacao {
  flex: 1;
}

.titulo-notificacao {
  font-weight: bold;
  font-size: 14px;
}

.descricao-notificacao {
  font-size: 13px;
  color: #555;
  margin-top: 3px;
}

.acoes-notificacao {
  margin-left: auto;
  margin-top: 2px;
}

#btn-carregar-mais {
  background-color: #f0f2f5;
  border: 1px solid #ccc;
  font-size: 13px;
  padding: 6px 10px;
  transition: background 0.2s ease-in-out;
}

#btn-carregar-mais:hover {
  background-color: #e4e6eb;
}

#loading {
    background:#cc3300;
    width: 100px;
    position: fixed;
    top: 0px;
    height: 20px;
    font-family: Arial;
    text-align: center;
    font-weight: bold;
    color: #fff;
    display: none;
    left: 45% }

body.modal-open {
    padding-right: 0 !important;
    overflow: hidden;
}

.modal-open .navbar-fixed-top,
.modal-open .navbar-fixed-bottom {
    margin-right: 0;
}

.modal {
    overflow-y: auto;
}


table.finance-group tr .td-name .glyphicon-trash { display: none }
table.finance-group tr:hover .td-name .glyphicon-trash { display: inline }

.btn-add-lg {
  z-index: 1000;
  text-align: center;
  font-size: 150%;
  border-radius: 100%;
  width: 80px;
  height: 80px;
  padding: 0;
  line-height: 80px;
  position: fixed;
  bottom: 30px;
  right: 30px } 

body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
    margin-right: 0;
}

.modal {
    overflow-y: auto;
}





h1  { font-size: clamp(100%, 3vw, 125%) !important }
h2  { font-size: clamp(100%, 3vw, 112.5%) !important }
h3  { font-size: clamp(100%, 3vw, 105%) !important}
h4  { font-size: clamp(100%, 3vw, 100%) !important }

h1 .small { font-size: 80% }

h1,h2,h3,h4 { 
  margin: 0 0 1.5rem;
  font-weight: bold }


.fw-bold { font-weight: bold !important }

.text-black-50 { color: rgba(0,0,0,.5) }

.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
  
.w-100 { width: 100% }
.h-100 { height: 100% }
.h-90 { height: 90% }
.h-60 { height: 60% }
.h-40 { height: 40% }

.d-flex  { display: flex !important }
.d-none { display: none !important }

.flex-wrap { flex-wrap: wrap }

.flex-grow-1 { flex-grow: 1 !important }
.flex-shrink-1 { flex-shrink: 1 }

.flex-column { flex-direction: column }

.gap-1 { gap: .25rem }
.gap-2 { gap: .5rem }
.gap-3 { gap: 1rem }
.gap-4 { gap: 1.5rem }
.gap-5 { gap: 3rem }

.border { border: 1px solid rgba(0,0,0,.125) }
.border-top { border-top: 1px solid rgba(0,0,0,.125) }
.border-bottom { border-bottom: 1px solid rgba(0,0,0,.125) }

.rounded-1 { border-radius: .25rem }
.rounded-2 { border-radius: .5rem }
.rounded-3 { border-radius: 1rem }

.justify-content-between { justify-content: space-between }
.justify-content-center { justify-content: center }
.justify-content-end { justify-content: flex-end }

.align-items-center { align-items: center }
.align-items-start { align-items: flex-start }
.align-items-stretch { align-items: stretch }

.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important }

.bg-white { background-color: #fff!important }
.bg-light { background-color: #E6EBF0!important }
.bg-lighter { background-color: #eef2f7 !important }

.bg-light-gradient { 
  background: rgb(230,235,240);
  background: linear-gradient(180deg, rgba(230,235,240,1) 80%, rgba(255,255,255,1) 100%) }

.progress { 
  background: #CCC;
  text-shadow: 0 0 2px rgba(0,0,0,0.75);
  font-size: 85%;
  font-weight: bold;
  height: 17px;
  line-height: 17px }

.p-0 { padding: 0 !important }
.p-1 { padding: .25rem !important }
.p-2 { padding: .5rem !important }
.p-3 { padding: 1rem !important }
.p-4 { padding: 1.5rem !important }
.p-5 { padding: 3rem !important }

.pt-0 { padding-top: 0}
.pt-1 { padding-top: .25rem }
.pt-2 { padding-top: .5rem }
.pt-3 { padding-top: 1rem }
.pt-4 { padding-top: 1.5rem }
.pt-5 { padding-top: 3rem }

.pb-0 { padding-bottom: 0}
.pb-1 { padding-bottom: .25rem }
.pb-2 { padding-bottom: .5rem }
.pb-3 { padding-bottom: 1rem }
.pb-4 { padding-bottom: 1.5rem }
.pb-5 { padding-bottom: 3rem }

.pl-0 { padding-left: 0 !important }
.pl-1 { padding-left: .25rem !important  }
.pl-2 { padding-left: .5rem }
.pl-3 { padding-left: 1rem }
.pl-4 { padding-left: 1.5rem }
.pl-5 { padding-left: 3rem }

.pr-0 { padding-right: 0 !important }
.pr-1 { padding-right: .25rem !important  }
.pr-2 { padding-right: .5rem }
.pr-3 { padding-right: 1rem }
.pr-4 { padding-right: 1.5rem }
.pr-5 { padding-right: 3rem }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important }
.py-1 { padding-top: .25rem; padding-bottom: .25rem }
.py-2 { padding-top: .5rem; padding-bottom: .5rem  }
.py-3 { padding-top: 1rem; padding-bottom: 1rem  }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem  }
.py-5 { padding-top: 3rem; padding-bottom: 3rem  }

.px-0 { padding-left: 0; padding-right: 0 }
.px-1 { padding-left: .25rem; padding-right: .25rem }
.px-2 { padding-left: .5rem; padding-right: .5rem  }
.px-3 { padding-left: 1rem; padding-right: 1rem  }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem  }
.px-5 { padding-left: 3rem; padding-right: 3rem  }

.pt-0 { padding-top: 0 }

.m-0 { margin: 0 !important }

.my-0 { margin-bottom: 0;  margin-top: 0; }
.my-1 { margin-bottom: .25rem; margin-top: .25rem }
.my-2 { margin-bottom: .5rem; margin-top: .5rem }
.my-3 { margin-bottom: 1rem; margin-top: 1rem }
.my-4 { margin-bottom: 1.5rem; margin-top: 1.5rem }
.my-5 { margin-bottom: 3rem; margin-top: 3rem }

.mt-0 { margin-top: 0}
.mt-1 { margin-top: .25rem }
.mt-2 { margin-top: .5rem }
.mt-3 { margin-top: 1rem }
.mt-4 { margin-top: 1.5rem }
.mt-5 { margin-top: 3rem }

.mb-0 { margin-bottom: 0}
.mb-1 { margin-bottom: .25rem }
.mb-2 { margin-bottom: .5rem }
.mb-3 { margin-bottom: 1rem }
.mb-4 { margin-bottom: 1.5rem }
.mb-5 { margin-bottom: 3rem }

.ml-auto { margin-left: auto }

.mr-1 { margin-right: .25rem  }
.mr-2 { margin-right: .5rem  }
.mr-3 { margin-right: 1rem  }
.mr-4 { margin-right: 1.5rem  }
.mr-5 { margin-right: 3rem  }

.border-bottom { border-bottom: 1px solid rgba(0,0,0,.125) }

.fw-bold { font-weight: bold }

.opacity-50 { opacity: .5 }

@media(min-width:768px){

  header { height: 70px }
  main { height: calc(100% - 70px) }
  
  .flex-md-row { flex-direction: row }

  .flex-md-column { flex-direction: column }
 
  .overflow-x { overflow-x: auto }
  .overflow-y { overflow-y: auto }

  .gap-md-4 { gap: 1.5rem }

}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  display: flex;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  color: #FFF;
  justify-content: center;
  align-items: center
}


.row { margin: 0 -1rem }
.row > * { padding: 0 1rem }
.d-flex > [class*="col"] { padding: 0 }



form.filter .form-control { width: auto !important }

.ui-sortable { position: relative !important }