@import url('https://fonts.googleapis.com/css?family=Anton|Open+Sans:400,700');

body {
    width: 100%;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 10pt;
    background: url("../../imagens/background.png") repeat;
}

html {
    width: 100%;
    height: 100%;
}

#page-footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    background: #247b7b; /*4598ce; */
    color: #fff;
    z-index: 10;
    -webkit-box-shadow: 0px -5px 30px -10px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px -5px 30px -10px rgba(0,0,0,0.75);
    box-shadow: 0px -5px 30px -10px rgba(0,0,0,0.75);
}

#ruralbit-logo {
    width: 2.5%;
    position: fixed;
    bottom: 25px;
    z-index: 1;
}

.glyphicon:not(.bootstrap-datetimepicker-widget .glyphicon) {
    display: none;
}

.navbar-brand > img {
    display: block;
    height: 70px;
    width: auto;
    transform: translateY(-35%);
    background: rgba(255,255,255,0.5);
    border-radius: 10px;
    padding: 2px;
}

.navbar-brand-top > img {
    height: 50px;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #fff;
}

@media(min-width:768px) {
    .navbar {
        padding: 20px 0 10px 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }

    .top-nav-collapse {
        padding: 0;
    }
}

.navbar-brand {
    display: flex;
    font-family: sans-serif;
    font-size: 16pt;
    margin-left:10px !important;
    font-weight: 600;
}

.nav > li > a {
    padding: 8px 10px;
}

.navbar-nav > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
}

@media(max-width:767px) {
    .navbar-brand > img {
        display: block;
        height: 45px;
        width: auto;
        transform: translateY(-30%);
        background: rgba(255,255,255,0.5);
        border-radius: 10px;
        padding: 2px;
    }
}

@media (min-width: 768px) {
    .navbar .navbar-nav {
        display: inline-block;
        float: none;
        vertical-align: top;
    }

    .navbar .navbar-collapse, .navbar .navbar-brand {
        text-align: center;
    }
}

#user-menu {
    font-size: 75%;
}

.intro-section {
    height: 90%;
    /*padding-top: 150px;*/
    padding-top: 100px;
    margin-bottom: 75px;
}

.intro-section > .container, .intro-section > .container-fluid {
    background: rgba(255,255,255,0.5);
    border-radius: 10px;
}

#menu-app {
    background: #247b7b;
    color: #fff;
    -webkit-box-shadow: 0px 5px 30px -10px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 5px 30px -10px rgba(0,0,0,0.75);
    box-shadow: 0px 5px 30px -10px rgba(0,0,0,0.75);
    border: 0;
}

#menu-app .dropdown-menu {
    background: #247b7b;
}

#menu-app .dropdown-menu a:hover, #menu-app .dropdown.open .dropdown-toggle, #menu-app .active>a {
    color: #555;
}

#menu-app .navbar-nav a:hover {
    background-color: #e7e7e7;
    color: #555;
}

a.navbar-brand:hover {
    background-color: rgba(255,255,255,0) !important;
}

#menu-app ul.navbar-nav > li {
    margin-right: 5px;
}

#menu-app ul.navbar-nav > li.open,
#menu-app ul.navbar-nav > li > a:hover, 
#menu-app ul.navbar-nav > li.active > a {
    border-radius: 4px;
}

#menu-app a {
    color: #fff;
}

.typeahead.dropdown-menu {
    max-height: 100px;
    overflow-y: scroll;
}

.isRequired {
    border: 1px solid red;
}

.bg-danger, .bg-success, .bg-warning, .bg-info {
    padding: 10px 15px;
}

.form-wrapper{
    -webkit-box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.15);
    border:1px solid #eee;
    border-radius:4px;
    padding:5px;
}

/********************************************************/
/************ Datatables SQL Resultados *****************/
/********************************************************/

.sql_datatables_input {
    width: 100%;
}

.sql_datatables {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    font-size: 11pt;
}

.sql_datatables_filters {
    width: 100%;
    display: none;
    padding-top: 10px;
    padding-bottom: 10px;
}

.sql_datatables td {
    padding: 5px;
}

.dataTables_wrapper {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    width: auto;
}

.sql_datatables_filter, .sql_datatables_clear {
    font-size: 12px;
}

span.isloading-wrapper {
    position: fixed;
    top: 50% !important;
    -webkit-box-shadow: 5px 10px 25px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 10px 25px 0px rgba(0,0,0,0.75);
    box-shadow: 5px 10px 25px 0px rgba(0,0,0,0.75);
    z-index: 999;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    left: 50%;
    transform: translateX(-50%);
}

/************ Datatables SQL Resultados *****************/

/********************************************************/
/****************** SQL forms ***************************/
/********************************************************/

.sql_form thead th,
.sql_form tbody td 
{
    padding: 5px;
}

.custom-combobox-toggle {
    padding: 2px 10px;
}

#ajaxExtra {
    position: absolute;
    right: 15px;
    top: 0;
    z-index: 2;
}

#ajaxExtra #conteudo {
    background: #247b7b;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

#ajaxExtra button {
    color: #fff;
    padding: 4px !important;
    /*position: absolute;
    right: 5px;
    line-height: 0;*/
    font-size: 7pt;
}

#ajaxExtra li {
    margin-right: 25px;
}

.ajaxClose {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.event-important{
    background-color:#fa1c1c !important;
}
.event-info{
    background-color:#1e90ff !important;
}
.event-warning{
    background-color:#fff404 !important;
}
.event-inverse{
    background-color:#1b1b1b !important;
}
.event-success{
    background-color:#00a800 !important;
}
.event-special{
    background-color:#800080 !important;
}

.isloading-overlay {
    animation-name: fadeIn;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.owl-noticias .item {
    max-height: 225px;
}

.chosen-container-single .chosen-single span {
    margin-right: 40px;
}

.select2-container .select2-selection--single {
    height:34px !important;
}

.chosen-select {
    display:none !important;
}

.sql_form {
    border-color: #ddd;
    background-color: #fff;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.15);
    box-shadow: 0 1px 1px rgba(0,0,0,.15);
    padding-top: 5px;
}

.form-horizontal .form-group {
    margin-right: 0;
    margin-left: 0;
}

.btn-primary {
    background-image: -webkit-linear-gradient(top,#2c9e9e 0, #247b7b 100%);
    background-image: -o-linear-gradient(top,#2c9e9e 0,#247b7b 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#2c9e9e),to(#247b7b));
    background-image: linear-gradient(to bottom,#2c9e9e 0, #247b7b 100%);
    background-repeat: repeat-x;
    border-color: #247b7b;
}

.btn-primary:focus, .btn-primary:hover {
    background-color: #247b7b;
    background-position: 0 -15px;
}

.pagination > li > a, .pagination > li > span {
    color: #2c9e9e;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    background-color: #2c9e9e;
    border-color: #2c9e9e;
}

.sql_datatables th {
    padding: 7.5px 5px;
    padding-right: 5px;
    background: rgb(230,126,34);
    background: -moz-linear-gradient(top, #2c9e9e 0%, #247b7b 97%);
    background: -webkit-linear-gradient(top, #2c9e9e 0%,#247b7b 97%);
    background: linear-gradient(to bottom, #2c9e9e 0%,#247b7b 97%);
    color: #FFF;
}

.sql_datatables > thead > tr > th:first-child {
    border-radius: 5px 0px 0px 0px;
    -moz-border-radius: 5px 0px 0px 0px;
    -webkit-border-radius: 5px 0px 0px 0px;
    border: 0px solid #000000;
}

.sql_datatables > thead > tr > th:last-child {
    border-radius: 0px 5px 0px 0px;
    -moz-border-radius: 0px 5px 0px 0px;
    -webkit-border-radius: 0px 5px 0px 0px;
    border: 0px solid #000000;
}

.panel-body {
    padding: 10px !important;
    margin: 0 !important;
}

.text-white {
    color: #fff !important;
}

.text-white a {
    color: #fff !important;   
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-orange {
    background-color: orange !important;
}

.bg-warning {
    background-color: #ffc107 !important;   
}

.bg-success {
    background-color: #28a745 !important;
}

.text-color-danger {
    color: #dc3545 !important;
}

.text-color-orange {
    color: orange !important;
}

.text-color-warning {
    color: #ffc107 !important;   
}

.text-color-success {
    color: #28a745 !important;
}

.card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    padding: 0 !important;
    margin: 2px 2px 8px 2px !important;
}

.card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}

.card-header {
    padding: 5px !important;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.card-body {
    padding: 5px !important;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.card-body i {
    width: 15px;
}

.card-footer:last-child {
    border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px);
}

.card-footer {
    padding: 5px !important;
    background-color: rgba(0,0,0,.03);
    border-top: 1px solid rgba(0,0,0,.125);
}

.font-size-x-small {
    font-size: x-small;;
}

.float-right {
    float:right;
}

.panel-alertas {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*
    justify-content: space-between;
    align-items: flex-start;
    */
    align-content: stretch;
}

.card-alert {
    /*width: 425px;*/
    /*width: 100%;*/
    width: 49%;
    /*min-width: 425px;*/
}

/*
@media (max-width: 1365px) {
    .card-alert {
        width: 100%;
    }    
}
*/

.control-label,
.sqlform label,
#rels_config label 
{
    padding-right: 7px !important;
    padding-left: 7px !important;
    padding-top: 7px !important;
    margin-bottom: 0;
}

.jconfirm .control-label {
    padding-left: 0px !important;
}

.col-md-0 {
    display: none !important;
}

.field-has-error,
.revisao-certificado 
{
    display: flex;
    flex-direction: column;
}

.field-has-error label.error,
.revisao-certificado label.data-erro  
{
    font-size: x-small;
    color: red;
    padding: 0 !important;
    margin: 0 !important;
    float: right;
    order: 999;
}

.sqlform .checkboxes-horizontal .checkbox {
    display: inline-block !important;
}

.sqlform .checkboxes-horizontal .checkbox label input {
    margin-left: unset !important;
}

.sqlform .checkboxes-horizontal .checkbox label span {
    margin-left: 20px !important;
}

.form-horizontal .checkbox, .form-horizontal .checkbox-inline, .form-horizontal .radio, .form-horizontal .radio-inline {
    padding-top: 0px !important;
}

div.sql_form.sql_form2 {
    padding-right: 5px;
    padding-left: 5px;
}

div.sql_form.sql_form2 div.panel-body {
    padding: 0px !important;
}

.sql_form div.alert {
    padding: 10px !important;
}

div.sql-form-alert > h4 {
    cursor: pointer;
}

/*
h1.alert-heading,
h2.alert-heading,
h3.alert-heading,
h4.alert-heading
{
    margin: 0px !important;
    padding: 0px !important;
}
*/

.sqlform .form-group h1.alert-heading, 
.sqlform .form-group h2.alert-heading, 
.sqlform .form-group h3.alert-heading, 
.sqlform .form-group h4.alert-heading, 
.sqlform .form-group h5.alert-heading 
{
    margin: 0px !important;
    padding: 0px !important;
}

div.sql-form-alert .alert-heading:hover,
div.sql-form-alert .alert-heading .alert-collapse:hover {
    text-decoration: underline;
}

div.sql-form-alert .alert-body {
    margin-top: 10px !important;
}

div.sql-form-alert .alert-body table {
    font-size: small;
    width: 100%;
}

div.sql-form-alert .alert-body table tbody tr td {
    vertical-align: top;
}

div.sql-form-alert .alert-heading .alert-collapse {
    float: right;
    font-size: small;
    position: absolute;
    top: 10px;
    right: 20px;
}

.alert-show-hide,
.alert-show-hide-all {
    float: right;
    font-size: small;
    margin-right: 20px;
    margin-bottom: 10px;    
}

div.sql_form2_action {
    width: 100%;
}

div.sql_form2_action > *:first-child {
    margin-left: 20px;
}

div.sql_form2_action > a {
    margin-left: 10px;
}

.verificacoes {
    font-size: small;
}

/*
@media (min-width: 1500px) {
    section.intro-section > div.container {
        width: 1500px !important;
    }
}

@media (min-width: 1700px) {
    section.intro-section > div.container {
        width: 1700px !important;
    }
}

@media (min-width: 1800px) {
    section.intro-section > div.container {
        width: 1800px !important;
    }
}
*/

section.intro-section, 
section.intro-section > div.container {
    width: 100% !important;
}

.sql-form2-alert .alert-body label {
    /*padding-left: 0px !important;*/
}

.sql_form label,
.rels_config label {
    cursor: pointer;
}

.form-control-checkbox {
    height: 24px;
    width: 24px;
    cursor: pointer;
}

.card-alert .card-body .card-text {
    margin: 0 0 5px !important;
}

.badge-total-controlos {
    border-radius: 5px;
    padding: 5px 10px;
    margin: 0px 5px 0px 0px;
}

/*
a.link-editar-controlo:before {
    font-family: "FontAwesome";
    content: "\f044\00a0";
}
*/

table.sql_datatables a.ficha-do-operador:before,
a.link-ficha-do-operador:before {
    font-family: "FontAwesome";
    content: "\f007\00a0";
}

table.sql_datatables a.controlos-do-operador:before,
table.sql_datatables a.ver-controlo:before 
{
    font-family: "FontAwesome";
    content: "\f022\00a0";
}

table.sql_datatables .controlo-tipo,
table.sql_datatables .operador-codigo 
{
    font-weight: bold;
}

table.sql_datatables .operador-codigo,
table.sql_datatables .operador-esquema,
table.sql_datatables .ficha-do-operador,
table.sql_datatables .controlos-do-operador,
table.sql_datatables .tecnico-controlo,
table.sql_datatables .estado-controlo,
table.sql_datatables .ver-controlo,
table.sql_datatables .risco-controlo,
table.sql_datatables .operador-concelho-exploracao,
table.sql_datatables .operador-data-contrato
{
    font-size: small;
}

.link-checklist:before {
    font-family: "FontAwesome";
    content: "\f0ae\00a0"; 
}

.link-avaliacoes-risco:before {
    font-family: "FontAwesome";
    content: "\f0cb\00a0";
}

.short-link {
    margin: 2px;
}

a.link-analises:before {
    font-family: "Font Awesome 5 Free";
    content: "\f493\00a0";    
    font-weight: 900;
}

.link-pac:before {
    font-family: "Font Awesome 5 Free" !important;
    content: "\f2b5\00a0" !important;    
    font-weight: 900 !important;    
    color: black !important;
}

.row.sql-form-buttons {
    padding: 15px;
}

a.link-documento-pac:before {
    font-family: "FontAwesome";
    content: "\f1c1\00a0";
    color: #b40404; 
}

a.link-editar-controlo:before,
a.link-editar:before,
a.link-editar-pac:before {
    /*
    font-family: "Font Awesome 5 Free";
    content: "\f044\00a0";
    */

    font-family: "FontAwesome";
    content: "\f044\00a0";    
}

a.link-ver:before {
    font-family: "FontAwesome";
    content: "\f08e\00a0";    
}

a.link-registo-rcampo:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f3cd\00a0";        
}

a.link-historico:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f1da\00a0";        
}

.link-pdf:before,
.obter-pdf:before {
    font-family: "FontAwesome";
    content: "\f1c1\00a0";
    color: #b40404;
    font-weight: normal;
}

.obter-excel:before {
    font-family: "FontAwesome";
    content: "\f1c3\00a0";
    color: #1F7043;
}

.sql-subform .panel.sql_form2 {
    border: none;
}

.sql-subform {
    margin-bottom: 0px !important;
}

.sql_form .sql-form-submit {
    display: block;
    position: sticky;
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    width: 100%;
    padding-bottom: 10px;
    background-color: white;
    margin-right: 0px !important;
    margin-left: 0px !important;
    z-index: 10;
}

.sql_form .sql-form-submit > div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px;
}

.sql-form-alias-en {
    font-size: small;
    color: gray;
    font-weight: normal;
    font-style: italic;
}

label[for] {
    cursor: pointer;
}

.fotografia-eliminar {
    color: red;
}

a.link-certificar:before {
    font-family: "Font Awesome 5 Free";
    content: "\f559\00a0";
    font-weight: 900;
    color: darkorange;
}

a.link-rever:before {
    font-family: "Font Awesome 5 Free";
    content: "\f058\00a0";
    font-weight: 900;
}

.dropdown-menu .divider {
    margin: 0 !important;
}

.dropdown-menu > li > a {
    padding: 6px 10px !important;
}

.controlo-estado small,
.certificado-estado small {
    font-weight: normal;
}

.dataTable .controlo-estado,
.dataTable .certificado-estado,
.dataTable .controlo-alerta 
{
    font-size: small;
    padding: 2px 2px;
    line-height: 1.20;
}

.controlo-estado,
.certificado-estado {
    border: 1px solid #17a2b8;
    border-radius: 5px;
    padding: 4px;
    font-weight:normal;
    margin-top: 3px;
    display: block;
    width: fit-content;
}

.controlo-estado.controlo-estado-0 {
    border-color: #17a2b8;
}

.controlo-estado.controlo-estado-1,
.controlo-estado.controlo-estado-5
{
    color: green;
    border-color: green;
    font-weight: bold !important;
}

.controlo-estado.controlo-estado-2,
.controlo-estado.controlo-estado-3,
.controlo-estado.controlo-estado-6,
.controlo-estado.controlo-estado-7
{
    color: darkorange;
    border-color: darkorange;
    font-weight: bold !important;
}

.controlo-decisao-1,
.certificado-estado.certificado-1,
.certificado-estado.nao-certificado
{
    color: red !important;
    border-color: red !important;
}

.certificado-estado:before {
    font-family: "Font Awesome 5 Free";
    content: "\f559\00a0";
    font-weight: 900;
}

.certificado-estado.certificado-2,
.certificado-estado.certificado 
{
    /*
    color: darkorange;
    border-color: darkorange;
    */
    color: green;
    border-color: green;
    font-weight: bold !important;
}

.certificado-estado.certificado-3,
.certificado-estado.certificado-suspenso
{
    color: darkorange;
    border-color: darkorange;
    font-weight: bold !important;
}

.panel-alertas .controlo-estado,
.panel-alertas .certificado-estado {
    border: 0px !important;
    border-radius: 0px !important;
    padding: 2px !important;
}

ul.nav.navbar-nav {
    width: 100%;
}

ul.nav.navbar-nav > li.menu-logo {
    display: none;
}


.navbar .navbar-nav .open .dropdown-menu > .active > a, .navbar .navbar-nav .open .dropdown-menu > .active > a:focus, .navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    background-image: linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);
}

.navbar-entidade-nome {
    padding: 9px 10px;
    margin-right: 15px;
    margin-top: 8px;
    margin-bottom: 8px;
    display: inline-block;
    float: none;
    height: auto !important;
}

@media (min-width: 768px) {
    .navbar-entidade-nome {
        display: none !important;
    }
    
    ul.nav.navbar-nav {
        padding: 0px 10px;
    }

    ul.nav.navbar-nav > li.menu-logo {
        display: block;
    }

    ul.nav.navbar-nav > li.menu-100,
    ul.nav.navbar-nav > li.menu-104 {
        float: right;
    }
}

.navbar-brand-top > img {
    height: 40px;
    margin-top: 10px;
}

.top-nav-collapse ul.nav.navbar-nav > li:not(.menu-logo) > a,
.navbar-brand-top > nobr {
    margin-top: 5px;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding-left: 10px;
    padding-right: 10px;
}

.form-control {
    padding: 6px 6px;
}

.signature-empty {

}

.signature {
    max-width: 350px;
    max-height: 150px;
}

.signature-date {
    margin-top: 5px;
    display: block;
}

.ocultar {
    display: none;
}

.sql-form-view {
  /*border: 0 !important;*/
  box-shadow: none !important;
  margin-bottom: 0px !important;
}

.dropdown-menu-right {
    right: auto !important;
    left: 100% !important;
    top: 0 !important;
}

/*
@media all and (min-width: 992px) {
    .dropdown .dropdown-menu li { 
        position: relative;
    }

    .dropdown .submenu {  
        display: none;
        position: absolute;
        left:100%; top:-7px;
    }

    .dropdown .submenu-left { 
        right:100%; left:auto;
    }

    .dropdown .dropdown-menu > li:hover{ 
        background-color: #f1f1f1 
    }

    .dropdown .dropdown-menu > li:hover > .submenu{ 
        display: block; 
    }
}   

@media (max-width: 991px) {
  .dropdown-menu .dropdown-menu{
      margin-left:0.7rem; margin-right:0.7rem; margin-bottom: .5rem;
  }
}  
*/

.submenu-itens > a 
{
    display: table-cell !important;
}

.submenu-itens > a,
.submenu-itens-2 > a 
{
    padding: 6px 5px 6px 5px !important;
}

.submenu-itens > a:first-child,
.submenu-itens-2 > a:first-child 
{
    padding: 6px 5px 6px 10px !important;
}

.submenu-itens-2 > a:first-child span 
{
    display: inline-block;
}

.submenu-itens > a:first-child,
.submenu-itens-2 > a:first-child span
{
    width: 95% !important;
}

.submenu-itens > a:last-child 
{
    padding: 6px 10px 6px 5px !important;
}

.submenu-itens.submenu-item-header,
.submenu-itens-2.submenu-item-header 
{
    padding: 6px 5px 6px 5px !important;
}

.sqlform .form-group h1,
.sqlform .form-group h2,
.sqlform .form-group h3,
.sqlform .form-group h4,
.sqlform .form-group h5 {
    padding: 7px !important;
    margin: 10px 0px !important;
}

.cert-info {
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
    font-size: 85%;
}

.nci.operador-info {
    font-size: medium;
}

.nci.operador-info .operador-nif,
.nci.operador-info .operador-codigo
{
    font-weight: bold;
}

.nci.operador-info .nci-estado {
    /*font-size: small;*/
}

.nci.operador-info .nci-estado-0 {
    color: gray;
}

.nci.operador-info .nci-estado-0:before {
    font-family: 'Font Awesome 5 Free';
    content: "\f02e";
    color: darkorange;
    width: 20px;
    display: inline-block;
    text-align: center;
}

.nci.operador-info .nci-estado-1 {
    color: green;
    font-weight: bold;
}

.nci.operador-info .nci-estado-1:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f02e";
    color: darkgreen;
    width: 20px;
    display: inline-block;
    text-align: center;
}

.nci.operador-info .nci-user:before {
    font-family: 'Font Awesome 5 Free';
    content: "\f017";
    width: 20px;
    display: inline-block;
    text-align: center;
}

.font-size-smaller {
    font-size: smaller;
}

.sql-form-alert .operador-observacoes {
    margin: 0px;
    padding: 0px 7px;
}

.sql-form-alert .operador-observacoes:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f05a";
    width: 20px;
    display: inline-block;
    color: darkorange;
}

.alert-info .obter-pdf,
.alert-info .obter-excel 

{
    padding: 7px 7px 0px 7px;
    display: inline-block;
}

div.chosen-container.chosen-container-multi ul.chosen-choices li.search-field input.chosen-search-input.default {
    color: #777777;
}

form.filtrar-controlos .row {
    margin-bottom: 10px;
}

.fa-file-excel-o {
    color: #1F7043;
}

.fa-file-pdf-o {
    color: #D51B15;
}

.fa-file-text-o {
    color: #585858;
}

div.mensagens .title {
    padding: 7px 0px;
    font-weight: bold;
}

div.mensagens .mensagem {
    font-size: small;
}

.no-padding {
    padding: 0px !important;
}

table.sql_datatables .risco-controlo,
table.sql_datatables .operador-data-contrato 
{
    color: gray;
}

table.sql_datatables .operador-data-contrato.operador-data-rescisao {
    color: darkorange;
}

.nci-nc-tipo {
    font-size: x-large;
    font-weight: bold;
}

.partilhar-pagina {
    padding: 5px;
}

.partilhar-pagina .partilha-link.partilha-link-estado-0 {
    border: 1px solid #f5c6cb;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 5px;
    padding: 5px;
}

.partilhar-pagina .partilha-link.partilha-link-estado-1 {
    border: 1px solid #c3e6cb;
    background-color: #d4edda;
    color: #155724;
    border-radius: 5px;
    padding: 3px;
}

div.html-alert {
    margin-top: 10px;
}

div.html-alert div.alert {
    padding: 10px !important;
    margin: 0px !important;
    margin-bottom: 0px !important;
}

.sql-form-sub-description {
    display: block;
    font-size: smaller;
    color: gray;
}

.ellipsis-h {
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 80%;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
}

.ellipsis {
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    height: 21px;
}

.helper-sticky-top {
    position: sticky;
    top: 40px;
    z-index: 9;
}

.helper-sticky-top > * {
    /*background-color: white;*/
    background-color: lightgray;
    border-radius: 4px;
}

.display-initial {
    display: initial;
}

@media(max-width:1141px) {
    .helper-sticky-top {
        top: 80px;
    }
}

@media(max-width:991px) {
    .helper-sticky-top {
        top: 90px;
    }
}


@media(max-width:767px) {
    .helper-sticky-top {
        top: 54px;
    }    
}

form.sql_form div[data-table="checklists_itens"][data-folha="CLBIO"] div.folha-item-subitem div.form-group {
    margin-left: 2%;
}

form.sql_form a.legal {
    text-decoration: underline;
}

.form-filter li.operador-com-data-rescisao {
    color: red;
    text-decoration: line-through;
}