body { padding: 0; background: #eee; font-family: 'Open Sans', sans-serif; font-size: 14px; }
a:hover { text-decoration: none; }

h1,h2,h3,h4,h5 { font-weight: 700; }

.nav-tabs .nav-link.invalid{
    color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: center right calc(.375em + .1875rem);
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
    padding-right: 30px;
}

.nav-tabs .nav-link.valid{
    color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center right calc(.375em + .1875rem);
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
    padding-right: 30px;
}


tbody tr td a{color: #212529; display: block;}
.table td, .table th {padding: .50rem;}

.container-fluid { padding: 0; }

.bloquear_tela{ position: fixed; width:100%; height: 100%; z-index:1101; background: url(../../imagens/ajax-loader.gif) no-repeat center #000; opacity: 0.5; display:none;}

#main-logo { float: left; display: block; background: #fff; }
#main-logo img { height: 30px; }

.bar-top { background: #fff; z-index: 1002; width: 100%; position: fixed; padding: 0; -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); }
.bar-top .main { font-size: 14px; border-radius: 0; padding: 20px 10px; display: block; text-decoration: none; color: #111; }
.bar-top .main:hover,
.bar-top .main.active { background: #eee; }
.bar-top .main:before { float: right; font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f078"; font-size: 12px; margin: 3px 0 0 10px; }
.bar-top img { float: left; height: 18px; margin-right: 10px; }

.bar-top .top-item { float: left; position: relative; }
.bar-top .top-item nav { background: #fff; position: absolute; display: none; width: 130px; -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); }
.bar-top .top-item nav a { color: #555; font-size: 14px; display: block; padding: 10px; }
.bar-top .top-item nav li { display: block; width: 100%; }
.bar-top .top-item nav a:hover { background: #eee; }

.bar-top .top-item.menu .main:before { display: none; }
.bar-top .top-item.menu i { font-size: 20px; }

aside { float: left; width: 240px; min-height: 100vh; -webkit-transition: width 0.5s; /* For Safari 3.1 to 6.0 */ transition: width 0.5s; }
aside::before {
    /*content: "";*/
    position: fixed;
    height: 100%;
    top: 0;
    bottom: 0;
    width: inherit;
    background-color: inherit;
    border: inherit;
    z-index: -1; }

aside.aberto { width: 50px; -webkit-transition: width 0.5s; transition: width 0.5s;  }
aside.aberto .sidebar .nav a { line-height: 20px; padding: 15px 15px; }
/*aside.aberto .sidebar .nav a:hover { -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0); -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0); box-shadow: 0px 0px 10px 0px rgba(0,0,0,0); }*/
aside.aberto .sidebar .nav a span { opacity: 0; }
aside.aberto .sidebar .nav a:before { opacity: 0; }
aside.aberto .sidebar .scroll { overflow: hidden; }
aside.aberto .sidebar .nav a i { margin: 0 }
aside.aberto .sidebar .nav .nav-item:hover a { opacity: 1 !important; }
aside.aberto .sidebar .nav .nav-item.active { background-color: rgba(0,0,0,0); }

aside.aberto .sidebar .nav .nav-item .nav-sub { padding-bottom: 0; display: none; background: var(--white); color: var(--dark); -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); }
aside.aberto .sidebar .nav .nav-item:hover .nav-sub { background: var(--dark); position: absolute; left: 50px; z-index: 1001; margin-top: -50px; display: block!important; -webkit-transition: width 0.5s; transition: width 0.5s; }
aside.aberto .sidebar .nav .nav-sub a { padding: 10px; background: var(--white); color: var(--dark); }
aside.aberto .sidebar .nav .nav-sub a:hover { background-color: var(--dark); color: var(--white); }
aside.aberto .sidebar .nav .nav-sub a span { opacity: 1; }

.sidebar { background: transparent; margin: 80px 0 0; float: left; }
.sidebar .scroll { overflow-y: auto; overflow-x: hidden; height: 90%; padding-bottom: 5%; }
.sidebar .nav a { color: #fff; display: block; padding: 10px 15px; font-size: 14px; text-decoration: none; opacity: 0.7; }
.sidebar .nav a:hover { background-color: rgba(0,0,0,0.0); -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5); -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5); box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5); }
.sidebar .nav a:before { float: right; font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f078"; font-size: 8px; margin-top: 6px; }
.sidebar .nav a i { width: 15px; display: block; float: left; margin: 3px 0 0; }
.sidebar .nav a:hover { opacity: 1; }

.sidebar .nav .nav-sub { display: none; padding-bottom: 10px; }
/*.sidebar .nav li:active .nav-sub { display: block; }*/
.sidebar .nav .nav-sub a { padding: 6px; padding-left: 55px; font-size: 14px; display: block; }
.sidebar .nav .nav-sub a:before { display: none; }
.sidebar .nav .nav-item { display: block; width: 240px; }
.sidebar .nav .nav-item.active { background-color: rgba(0,0,0,0.5); }
.scroll::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.scroll::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
.scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.5);
  border: 0px none #ffffff;
  border-radius: 50px;
}
.scroll::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
}
.scroll::-webkit-scrollbar-thumb:active {
  background: #000000;
}
.scroll::-webkit-scrollbar-track {
  background: transparent;
  border: 0px none #ffffff;
  border-radius: 50px;
}
.scroll::-webkit-scrollbar-track:hover {
  background: #666666;
}
.scroll::-webkit-scrollbar-track:active {
  background: #333333;
}
.scroll::-webkit-scrollbar-corner {
  background: transparent;
}

.main-content { padding-top: 90px; min-height: 100vh; }
.function { text-align: center; }
.function .icon { margin: 20px 0; }
.function .icon i { font-size: 40px; }
.function .card-title { font-size: 14px; }

.dropdown-item { font-size: 12px; }

header .card-title { text-transform: uppercase; font-size: 16px; margin-top: 15px; }

table { font-size: 12px; }
table .badge {  font-size: 12px; }

.categorias table { font-size: 12px; }
table .sub { padding-left: 3%; }
.obs { font-size: 11px; }

footer { border-top: 1px solid #ddd; background: #fff; margin: 40px 0 0; padding: 15px; font-size: 11px; color: #111; }

/**
 * Nestable
 */

.dd { position: relative; display: block; margin: 0; padding: 0 0 20px; list-style: none; font-size: 13px; line-height: 20px; }

.dd-list { display: block; position: relative; margin: 0; padding: 0; list-style: none; }
.dd-list .dd-list { padding-left: 30px; }
.dd-collapsed .dd-list { display: none; }

.dd-item,
.dd-empty,
.dd-placeholder { display: block; position: relative; margin: 0; padding: 0; min-height: 20px; font-size: 13px; line-height: 20px; }

.dd-handle { display: block; height: 30px; margin: 5px 0; padding: 5px 10px; color: #333; text-decoration: none; font-weight: bold; border: 1px solid #ccc;
    background: #fafafa;
    background: -webkit-linear-gradient(top, #fafafa 0%, #eee 100%);
    background:    -moz-linear-gradient(top, #fafafa 0%, #eee 100%);
    background:         linear-gradient(top, #fafafa 0%, #eee 100%);
    -webkit-border-radius: 3px;
            border-radius: 3px;
    box-sizing: border-box; -moz-box-sizing: border-box;
}
.dd-handle:hover { color: #2ea8e5; background: #fff; }

.dd-item > button { display: block; position: relative; cursor: pointer; float: left; width: 25px; height: 20px; margin: 5px 0; padding: 0; text-indent: 100%; white-space: nowrap; overflow: hidden; border: 0; background: transparent; font-size: 12px; line-height: 1; text-align: center; font-weight: bold; }
.dd-item > button:before { content: '+'; display: block; position: absolute; width: 100%; text-align: center; text-indent: 0; }
.dd-item > button[data-action="collapse"]:before { content: '-'; }

.dd-placeholder,
.dd-empty { margin: 5px 0; padding: 0; min-height: 30px; background: #f2fbff; border: 1px dashed #b6bcbf; box-sizing: border-box; -moz-box-sizing: border-box; }
.dd-empty { border: 1px dashed #bbb; min-height: 100px; background-color: #e5e5e5;
    background-image: -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
                      -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image:    -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
                         -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image:         linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
                              linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.dd-dragel { position: absolute; pointer-events: none; z-index: 9999; }
.dd-dragel > .dd-item .dd-handle { margin-top: 0; }
.dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
            box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
}

/**
 * Nestable Extras
 */

.nestable-lists { display: block; clear: both; padding: 20px 0 0; width: 100%; border: 0; }

#nestable-menu { padding: 0; margin: 20px 0; }

#nestable-output,
#nestable2-output { width: 100%; height: 7em; font-size: 0.75em; line-height: 1.333333em; font-family: Consolas, monospace; padding: 5px; box-sizing: border-box; -moz-box-sizing: border-box; }

#nestable2 .dd-handle {
    color: #fff;
    border: 1px solid #999;
    background: #bbb;
    background: -webkit-linear-gradient(top, #bbb 0%, #999 100%);
    background:    -moz-linear-gradient(top, #bbb 0%, #999 100%);
    background:         linear-gradient(top, #bbb 0%, #999 100%);
}
#nestable2 .dd-handle:hover { background: #bbb; }
#nestable2 .dd-item > button:before { color: #fff; }

.dd-hover > .dd-handle { background: #2ea8e5 !important; }

/**
 * Nestable Draggable Handles
 */

.dd3-content { display: block; height: 30px; margin: 5px 0; padding: 5px 10px 5px 40px; color: #333; text-decoration: none; font-weight: bold; border: 1px solid #ccc;
    background: #fafafa;
    background: -webkit-linear-gradient(top, #fafafa 0%, #eee 100%);
    background:    -moz-linear-gradient(top, #fafafa 0%, #eee 100%);
    background:         linear-gradient(top, #fafafa 0%, #eee 100%);
    -webkit-border-radius: 3px;
            border-radius: 3px;
    box-sizing: border-box; -moz-box-sizing: border-box;
}
.dd3-content:hover { color: #2ea8e5; background: #fff; }

.dd-dragel > .dd3-item > .dd3-content { margin: 0; }

.dd3-item > button { margin-left: 30px; }

.dd3-handle { position: absolute; margin: 0; left: 0; top: 0; cursor: pointer; width: 30px; text-indent: 100%; white-space: nowrap; overflow: hidden;
    border: 1px solid #aaa;
    background: #ddd;
    background: -webkit-linear-gradient(top, #ddd 0%, #bbb 100%);
    background:    -moz-linear-gradient(top, #ddd 0%, #bbb 100%);
    background:         linear-gradient(top, #ddd 0%, #bbb 100%);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.dd3-handle:before { content: '≡'; display: block; position: absolute; left: 0; top: 3px; width: 100%; text-align: center; text-indent: 0; color: #fff; font-size: 20px; font-weight: normal; }
.dd3-handle:hover { background: #ddd; }

#area-login {
  background: #fff;
  padding: 40px;
  border-radius: 5%;
}
.filtro, .filtro * {
  font-size: 12px;
}
.filtro .avancado {
  width: 100%;
  text-align: left;
  right: 1%;
  position: absolute;
  background: #eee;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  display: none;
  z-index: 1000;
}
.filtro.active .avancado {
  display: block;
}

@media only screen and (max-width: 768px) {
  section.links {
    display: none;
  }
  #menu-lateral { 
    opacity: 0; 
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear; 
    position: absolute;
    left: -240px;
    width: 240px;
  }
  #menu-lateral.aberto {
    left: 0;
    opacity: 1;
    z-index: 1000;
  }
  aside.aberto .sidebar .nav a {
    padding: 12px 15px;
  }
  aside.aberto .sidebar .nav a span {
    opacity: 1;
  }
  aside.aberto .sidebar .nav a:before {
    opacity: 1;
    margin-top: 0;
  }
  aside.aberto .sidebar .nav .nav-item .nav-sub { padding-bottom: 0; display: block; background: var(--dark); color: var(--white); -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
  aside.aberto .sidebar .nav .nav-item:hover .nav-sub { background: rgba(0,0,0,0.3); position: inherit; left: inherit; z-index: 1001; margin-top: 0; display: none; -webkit-transition: width 0; transition: width 0s; }
  aside.aberto .sidebar .nav .nav-sub a { padding: 10px 10px 10px 50px; background: none; color: var(--white); }
  aside.aberto .sidebar .nav .nav-sub a:hover { background-color: none; color: var(--white); }
  aside.aberto .sidebar .nav .nav-sub a span { opacity: 1; }
  aside.aberto .sidebar .nav a:hover {
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5); 
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5); 
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
  }
  aside.aberto .sidebar .nav .nav-item.active {
    background-color: rgba(0,0,0,0.5);
  }

  .container-fluid { padding: 90px 5% 0; }

  .nav-top .body-content { 
    position: fixed; 
    bottom: 0; 
    right: -240px; 
    background: #fff; 
    width: 240px; 
    z-index: 1000; 
    top: 62px; 
    opacity: 0; 
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear; 
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); 
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); 
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); 
  }
  .nav-top.active .body-content { 
    right: 0;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear; 
    opacity: 1; 
  }
  .nav-top .menu-itens { color: var(--dark); font-size: 20px; position: absolute; right: 0; padding: 16px; }
  .bar-top .nav-top .top-item {  width: 100%; }
  .nav-top .menu-itens:hover, .nav-top.active .menu-itens { background: #eee; }
  .bar-top .top-item nav { float: left;  position: inherit; }

  .filtro {
    padding: 10px;
    border-radius: 5px;
    background: #eee;
    border: 1px solid #ddd;
  }

  .filtro .btn {
    width: 100%;
    margin-top: 5px;
  }

  .filtro .avancado {
    position: inherit;
    border: none;
    padding: 0;
    margin-top: 10px;
  }
}