@import url('/assets/fonts/montserrat/montserrat');

body{
    background-color: #f1f1f1;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;

}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 250px;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    background: #004b8d;
}

h4{
    font-weight: 600; 
    margin-top: 25px;
}

a {
    color: #004B8D;
}

.bold {
    font-weight: 600;
}

.menu {
    border-top: 1px solid #ffffff12;
}

.menu ul {
    clear: left;
    padding: 0;
    list-style: none;
}

.menu li {
    position: relative;
    margin: 0;
    padding: 0;
    border-left: 3px solid transparent;
}

.menu li:hover,
.menu li a:hover,
.menu .menu-active,
.menu .menu-active a {
    border-color: #50575f;
    color: #cecece;
    text-decoration: none;
}

.menu .menu-active {
    background: #24272b;
}

.menu .menu-active a {
    color:#ececec;
}

.menu li a {
    font-size: 14px;
    font-weight: 400;
    width:100%;
    padding: 15px 16px;
    display: table;
    color: #fff;
}

.menu-icon {
    float: left;
    width: 36px;
    margin: 0;
    text-align: center;
}

.menu-name {
    display: table;
    font-size: 13px;
    padding-left: 4px;
    font-weight: 500;
}

.menu li a:active,
.menu li a:focus {
    text-decoration: none;
}

.menu li.selected {
    border-left: 3px solid #fff;
}

.menu li.selected a {
    color:#fff;
}

.menu .menu-icon i {
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 1;
    text-decoration: inherit;
    font-weight: 400;
    font-style: normal;
    vertical-align: top;
    text-align: center;
}

.menu li.selected a {
    background: #0e2e58;
}

.menu li:before {
    font-family: FontAwesome;
    content: "\f105";
    position: absolute;
    right: 22px;
    line-height: 50px;
    color: #ffffff30;
}

.menu ul {
    margin-bottom:0;
}

.menu .line {
    color: #ffffff59;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 11px;
    border-top: 1px solid #ffffff0f;
    padding: 0px 30px;
    width: 100%;
}

.menu .line span {
    margin: 10px 0;
    display: table;
}

div.logo { 
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#wrapper,
#sidebar-wrapper {
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.navbar.header {
    background-color: #fff;
    box-shadow: 0px 1px 8px #ccc;
    border-radius: 0px;
    height: 65px;
}
.navbar-brand {
    color: #848484!important;
}

.toggleSidebar.bars {
    background-color: #fff;
    border: 1px solid #989898;
    color: #989898;
    margin-top: 8px;
    border-radius: 5px;
    height: 27px;
    width: 27px;
    margin-right: 10px;
}

.toggleSidebar.text {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    margin: 15px 0;
    border-radius: 5px;
    padding: 7px 15px;
}

#dropdown-menu {
    background-color: #fff;
    color: #505050;
    outline: none;
    padding: 2px 10px;
    border-radius: 15px;

}

.container-fechar-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.area {
    background-color: #fff;
    margin-top: 20px;
    border-radius: 7px;
    box-shadow: 2px 2px 4px #ccc;
    padding: 10px;
}
.row.cadastro {
    margin-bottom: 16px;
}
input.cadastro, 
input.search,
select.cadastro,
select.search,
textarea.cadastro,
textarea.search
{
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #dce2e7;
    outline-color: #004a8d;
    border-radius: 0px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}
span.select2-container{
    width: 100% !important; 
    outline-color: #004a8d;
}
.minWidth {
    width: initial!important;
}
.area-header {
    border-bottom: 1px solid #eee;
    padding: 7px 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.area-title {
    color: #004b8d;
    font-weight: 600;
    margin:0;
    margin-top: 0.5em;
}

.btn-blue {
    border: 1px solid #004b8d;
    background: linear-gradient(0deg, rgba(49,97,140,1) 0%, rgba(0,75,141,1) 100%);
    border-radius: 7px;
    color: #fff;
    font-weight: 600;
    padding: 5px 20px;
    outline: #004b8d;
}

.dt-button {
    border: 1px solid #004b8d!important;
    background: linear-gradient(0deg, rgba(49,97,140,1) 0%, rgba(0,75,141,1) 100%)!important;
    border-radius: 7px!important;
    color: #fff!important;
    font-weight: 600!important;
    padding: 5px 20px!important;
    outline: #004b8d!important;
}
.dz-preview-image {
	border: 3px solid green; /* Define a borda verde por padrão */
	}

.dz-preview.dz-error .dz-preview-image {
	border: 3px solid red; /* Define a borda vermelha em caso de erro */
}
.down{
	background-color: #dfd;
}
.popup {
    position : fixed ;
    top : 0 ; bottom : 0 ;
    left : 0 ; right : 0 ;
    margin : auto ;
    width : 850px ;
    height : 300px ;
    padding : 20px ;
    border : solid 1px #004b8d ;
    border-radius: 10px;
    background : #fff ;
    display : block ;
}
.back {
    position : fixed ;
    top : 0 ; bottom : 0 ;
    left : 0 ; right : 0 ;
    background : #858585 ;
    opacity: 30%;
    display : block ;
}

.btn-gray {
    border: 1px solid #d1d1d1;
    background-color: transparent;
    border-radius: 7px;
    color: #d1d1d1;
    font-weight: 600;
    padding: 5px 20px;
    outline: #d1d1d1;
}

.btn-red {
    border: 1px solid #860404;
    background-color: transparent;
    border-radius: 7px;
    color: #860404;
    font-weight: 600;
    padding: 5px 20px;
    outline: #860404;
}

.btn-blue:hover,
.btn-red:hover {
    cursor: pointer;
}

.btn-table {
    padding: 3px 7px;
}

div.alerts{
    position: absolute;
    top: 65px;
    right: 15px;
    z-index: 9999;
    min-width: 20%;
}

.search-element {
    margin-bottom: 16px;
}

.area-search {
    align-items: center;
}

span.check{
    display: inline;
    padding: .2em .6em .3em;
    font-weight: 500;
    line-height: 1;
    color: #6f6f6f;
    text-align: center;
    vertical-align: text-top;
    border-radius: .25em;
    font-size: 13px;
 }

label.permissoes{
    font-weight: 400;
    font-size: 13px;
}
.title-permissao{
    font-weight: 600;
}

i.com_permissao{
    margin-right: 5px;
    color: #004a8d;
}

i.sem_permissao{
    margin-right: 5px;
    color: #a92525;
}

table.list-view {
    width: 100%;
    border: 1px solid #ddd;
}
table.list-view td {
    padding: 3px 10px;
}
table.list-view tr.bordered {
    border-bottom: 1px solid #ddd;
}

.btn-gray-noborder {
    font-weight: 600;
    border: none;
    background-color: transparent;
    border-radius: 7px;
    outline: #888;
    color: #888;
}

table.agenda-sm td.title,
table.agenda-sm td a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #000;
}

table.agenda-sm td a:hover {
    cursor: pointer;
    text-decoration: none;
}
/** Loading */
div#loading {
    background: #333;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    display: none;
    z-index: 9999;
}

div#loading.active {
    display: block;
}

div#loading svg { /* centraliza no meio da tela */
    position: absolute;
    top: 50%;
    left: 50%;
}

@media only screen and (max-width: 768px) {
    #sidebar-wrapper {
        width: 80%;
    }
}

@media only screen and (max-width: 992px) {
    .title-permissao{
        margin-top: 10px;
    }

    #sidebar-wrapper {
        margin: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        display: none;
    }

    #sidebar-wrapper .logo {
        display:none;
    }

    #toggle-wrapper {
        display:none;
    }
}

@media only screen and (min-width:992px) {
    #wrapper {
        padding-left: 250px;
    }

    #sidebar-wrapper {
        width: 250px;
    }
    
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    border: 1px solid #111;
    background-color: #585858;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));
    background: -webkit-linear-gradient(top, #007bff 0%, #004B8D 100%);
    background: -moz-linear-gradient(top, #007bff 0%, #004B8D 100%);
    background: -ms-linear-gradient(top, #007bff 0%, #004B8D 100%);
    background: -o-linear-gradient(top, #007bff 0%, #004B8D 100%);
    background: linear-gradient(to bottom, #007bff 0%, #004B8D 100%);
}

.center {
    margin-top: 10px;
    text-align: center;
}

.pagination {
    display: inline-block;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    margin: 0 4px;
}

.pagination a.active {
    background-color: #004b8d;
    color: white;
    border: 1px solid #004b8d;
}

.pagination a:hover:not(.active) {background-color: #ddd;}

.table tr{
    background-color: white;
}

/*scroll bar style*/
*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-track {
    background: #004b8d00;
}

*::-webkit-scrollbar-thumb {
    background-color: #9999aa;
    border-radius: 20px;
    border: 2px solid #004b8d;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0); 
}

body::-webkit-scrollbar-thumb {
    background-color: rgb(124, 124, 124); 
    border-radius: 20px; 
    border: 2px solid white;
}


.notification-row {
    margin-bottom: 6px;
    padding: 5px;
    border: 1px solid #d8d8d8;
    display: flex;
}

.notification-item {
    border-bottom: 2px solid #d8d8d8;
    padding: 10px 10px;
}

.nav_tabs{
    background-color: #fff;
    position: relative;
}

.nav_tabs ul{
    list-style: none;
}

.nav_tabs ul li{
    float: left;
}

.tab_label{
    display: block;
    background-color: #fff;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 17px;
    color:#000;
    cursor: pointer;
    text-align: center;
    margin:0;
}

.nav_tabs .rd_tab { 
    display:none;
    position: relative;
}

.nav_tabs .rd_tab:checked ~ label { 
    background-color: #004b8d;
    color:#fff;
}

.tab-content{
    margin: 10px 0 0 0;
    background-color: #fff;
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;	
}

.rd_tab:checked ~ .tab-content{
    display: block; 
}
.tab-content h6{
    color: #004b8d;
}
.tab-content article{
    color: #555;
}

.modal-body {
    overflow-y: auto;
    height:100%;
    max-height: 625px;;
    margin-bottom: 70px;
}

.modal-overlay{
    background-color:#00000080;
    height:100%;
    width:100%;
    top: 0px;
    left: 0px; 
    position: fixed; 
    z-index: 1001
}
.modal-header {
    border-radius: 10px 10px 0 0;
}
.modal-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1002;
    background-color: #fff;
    border-radius: 10px;
}
.modal-content {
    height:80%;
    width:75%;
    position: fixed!important;
    top: 50px;
    left: 300px;
    z-index: 1002;
    border-radius: 15px!important;
}
.modal-footer {
    display: flex; 
    justify-content: flex-end;
    position: absolute; 
    background: #fff;
    border-radius: 0 0 10px 10px;
    bottom:0;
    right: 0;
    left: 0;
}

.tab-content label {
    margin:0.3em 0 0 0;
}
.input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.375rem 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
.liner-separa {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 1em;
    align-content: space-between;
    margin-top: 1em;
}

.liner-separa::after,.liner-separa::before {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ced4da
}
.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}
.input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.375rem 0.75rem;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    width:80px;
} 
.required::after  {
    content: '*';
    color: red;
}

.modal-header {
    background: linear-gradient(0deg, rgba(49,97,140,1) 0%, rgba(0,75,141,1) 100%);
    color: white;
}

/*dark-mode*/

.dark-mode .pagination a.active {
    background-color: #000020;
    color: white;
    border: 1px solid #000020;
}

.dark-mode .navbar.header{
    background-color: rgb(0, 0, 0);
}

.dark-mode #sidebar-wrapper{
    background: #000020;
}

.dark-mode .menu li.selected a {
    background: #555555;
}

.dark-mode body {
    background-color: rgb(97, 97, 102);
    color: white;
}

.dark-mode .area {
    background-color: rgb(75, 75, 80);
    box-shadow: 2px 2px 4px rgb(24, 24, 24);
}

.dark-mode .navbar.header {
    background-color: #000020;
    box-shadow: 0px 1px 8px rgb(44, 44, 44);
}

.dark-mode .area-title {
    color: #ffffff;
}

.dark-mode h4 {
    color: #ffffff;
}

.dark-mode .area-header {
    border-bottom: 1px solid rgb(255, 255, 255);
}

.dark-mode input.cadastro, .dark-mode input.search, .dark-mode select.cadastro, .dark-mode select.search, .dark-mode textarea.cadastro, .dark-mode textarea.search {
    background-color: rgb(75, 75, 80);
    color: white;
}

.dark-mode .table tr{
    background-color: rgb(75, 75, 80);
}

.dark-mode .table th {
    border-bottom: 2px solid #ffffff;
    border-top: 1px solid #ffffff;
}

.dark-mode .table thead th {
    border-bottom: 2px solid #ffffff;
}

.dark-mode .btn-blue {
    border: 1px solid #87CEFA;
    color: #87CEFA;
    background: rgba(0,0,32,1);
}

.dark-mode .modal-header {
    background: rgba(0,0,32,1);
}

.dark-mode .modal-content {
    background-color: rgb(75, 75, 80);
}

.dark-mode .modal-content input{
    background-color: rgb(90, 90, 95);
}

.dark-mode .modal-content select{
    color: #fff;
    background-color: rgb(90, 90, 95);
}

.dark-mode a{
    color: rgb(255, 255, 255);
}

.dark-mode p{
    color: rgb(255, 255, 255);
}

.dark-mode h6{
    color: rgb(255, 255, 255);
}