:root {
    --cor-padrao: var(--cor-padrao);
}

html,
body {
    background: #f5f7fa;
}

.ngdialog-open {
    overflow: initial !important;
}


.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* HEADER */
.header {
    background-color: var(--cor-padrao);
    color: #fff;
}

.header a,
.header a:hover {
    color: #fff;
    text-decoration: none;
}

.header-inner {
    display: flex;
    flex-wrap: nowrap;
    padding: 0 28px;
}

.header-left,
.header-center,
.header-right {
    display: flex;
    width: 33.33%;
}

.header-left { }

.header-center {
    justify-content: center;
}

.header-right {
    justify-content: flex-end;
}

.header-item {
    float: left;
    -webkit-transition: background-color .5s ease;
    -moz-transition: background-color .5s ease;
    -ms-transition: background-color .5s ease;
    -o-transition: background-color .5s ease;
    transition: background-color .5s ease;
}

.header-left .header-item {
    border-right: 1px solid var(--cor-padrao);
}

.header-right .header-item {
    border-left: 1px solid var(--cor-padrao);
}

.header-item.active,
.header-item.ativo,
.header-item:focus,
.header-item:hover,
.header-item.open {
    background-color: #0000003b !important;
    /*filter: brightness(0.8);*/
    cursor: pointer;
}

/*.header-item.open{*/
/*    background-color: var(--cor-padrao) !important;*/
/*    filter: none;*/
/*}*/

.header-item.atalhos-acesso .dropdown-header {
    font-weight: bold;
    color: #60705ed4;
}

.header-item-inner {
    color: #fff;
    display: block;
    font-size: 16px;
    font-weight: normal;
    line-height: 34px;
    min-height: 56px;
    padding: 12px;
    vertical-align: middle;
}

.header-item-inner:focus,
.header-item-inner:active {
    color: #fff;
}

.header .dropdown-toggle {
    max-width: none;
}

.header .dropdown-menu {
    top: 100%;
    margin: 0;
}

.header .dropdown-menu > li > a {
    font-size: 15px;
    line-height: 22px;
    height: auto;
}

.header .dropdown-menu > li {
}

/* farm-select */
.farm-select {
    position: relative;
}
.farm-select:after {
    border-width: 7px 12px 0 12px;
    border-color: var(--cor-padrao) transparent transparent transparent;
    border-style: solid;
    content: "";
    display: block;
    line-height: 0;
    margin-left: -12px;
    width: 24px;
    height: 7px;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transition: border-top-color .5s ease;
    -moz-transition: border-top-color .5s ease;
    -ms-transition: border-top-color .5s ease;
    -o-transition: border-top-color .5s ease;
    transition: border-top-color .5s ease;
}
.farm-select:hover:after {
    border-top-color: var(--cor-padrao);
    filter: brightness(0.8);
}
.farm-selected-container {
    margin-bottom: -15px;
    text-align: center;
}
.farm-selected-container .farm-selected-name {
    font-size: 18px;
    text-transform: capitalize;
    display: block;
}
.farm-selected-container .farm-selected-name.farm-selected-name-log {
    line-height: 18px;
    margin-top: -3px;
}

/* find-animals */
.find-animals a {
    display: block;
    float: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 5px;
    text-transform: capitalize;
    max-width: 155px;
}

/* logged-user-name */
.logged-user-name {
    display: block;
    float: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 5px;
    text-transform: capitalize;
    max-width: 105px;
}

.logged-user-name.logged-user-name-first-name {
    display: none;
}

/* login form */
.has-feedback.password-field .form-control {
    padding-right: 70px;
}
.has-feedback.password-field span.form-control-feedback.show-password {
    right: 35px;
    pointer-events: all;
}

/* -------------- */
/* Funcionalidade */
/* -------------- */

.wrapNavegacao {
    background-color: #E6EDE4;
    -webkit-box-shadow: 0px 3px 3px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 3px 3px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0px 3px 3px 0 rgba(0, 0, 0, 0.2);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.wrapNavegacao > .container > .row,
.wrapNavegacao > .row {
    margin-left: 0;
    margin-right: 0;
}
.wrapNavegacao > .container > .row > [class*='col-'],
.wrapNavegacao > .row > [class*='col-'],
.wrapNavegacao > [class*='col-'] {
    padding-left: 0;
    padding-right: 0;
}

.funcionalidade {

}

.funcionalidade .navegacao {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    height: 60px;
}

.funcionalidade .navegacao > div {
    display: flex;
}

.funcionalidade .navegacao > div > div { 
    display:flex;
    flex-direction: column;
    justify-content: center;
}

/* niveis */

.funcionalidade .navegacao .niveis {
    
}

.funcionalidade .navegacao .niveis > div {
    font-size: 16px;
    color: var(--cor-padrao);
}

.funcionalidade .navegacao .niveis > div + div {
    padding-left: 10px; 
}

.funcionalidade .navegacao .grupo-dashboard > div {
    font-size: 16px;
    color: var(--cor-padrao);
}

.funcionalidade .navegacao .grupo-dashboard > div + div {
    padding-left: 25px;
}

.funcionalidade .navegacao .niveis .fa-chevron-right {
    font-size: 10px;
    margin-top: 2px;
}

/* subsecoes */

.funcionalidade .navegacao .subsecoes {
    
}

.funcionalidade .navegacao .subsecoes > div {
    padding: 0 5px;
    border-bottom: 3px solid transparent;
}

.funcionalidade .navegacao .subsecoes > div:not(.desabilitar-efeito-clique) {
    cursor: pointer;
}

.funcionalidade .navegacao .subsecoes > div:not(.desabilitar-efeito-clique):hover {
    background-color: #d7ded5;
}

.funcionalidade .navegacao .subsecoes > div + div {
    margin-left: 5px;
}

.funcionalidade .navegacao .subsecoes > div.selecionada {
    border-bottom: 3px solid var(--cor-padrao);
}



.funcionalidade .conteudo {
    margin-top: 15px;
}

.funcionalidade .conteudo:before,
.funcionalidade .conteudo:after {
    content: "";
    display: table;
    line-height: 0;
}

.funcionalidade .conteudo:after {
    clear: both;
}


@media (max-width: 936px) {
    .menuMBWeb .menu-features-text {
        display: none !important;
    }

    .menuMBWeb .menu-features-icon {
        display: inline-block !important;
    }

    .logged-user-name.logged-user-name-full-name {
        display: none;
    }
    .logged-user-name.logged-user-name-first-name {
        display: block;
    }
}

@media (max-width: 767px) {
    .header-inner {
        padding-right: 0;
        padding-left: 0;
    }

    .farm-selected-name {
        font-size: 18px;
    }

    .header-left,
    .header-right {
        width: 25%;
    }

    .header-center {
        width: 50%;
    }
}

@media (max-width: 450px) {
    .farm-selected-name {
        font-size: 16px;
    }
}

@media (max-width: 385px) {
    .header-item-inner {
        padding-right: 9px;
        padding-left: 9px;
    }
}


/********* Notificações do sistema *********/

.alertas-sistema {
    animation: fadeInAnimation 300ms ease;
}

.badge-notificacoes {
    position: sticky;
    margin-top: -27px;
    margin-left: 20px;
    text-decoration: none;
    padding: 2px 5px;
    color: white;
    font-weight: 500;
    /*text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);*/
    /*background: linear-gradient(to bottom, rgb(191 95 95 / 0.6), rgb(161 64 64 / 0.6));*/
    background: #ff9400;
    border-radius: 999px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);*/
    user-select: none;
    font-size: 12px;
    line-height: 14px;

    box-sizing: border-box;
}
/*.badge-notificacoes:before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    z-index: -1;*/
/*    background: linear-gradient(30deg, rgb(197 109 109 / 0.6) 60%, rgb(255 255 255 / 0.6));*/
/*    top: -1px;*/
/*    right: -1px;*/
/*    bottom: -1px;*/
/*    left: -1px;*/
/*    border-radius: 999px;*/

/*    box-sizing: border-box;*/
/*}*/
.badge-notificacoes span {
    width: 25px;
    height: 25px;
    position: absolute;
    top: -12px;
    right: -9px;
    transform: rotate(-20deg);
    filter: blur(0.5px);
    animation: fadeInAnimation 3s ease-in-out infinite alternate;

    box-sizing: border-box;
}
.badge-notificacoes span:before, .badge-notificacoes span:after {
    content: "";
    position: absolute;

    box-sizing: border-box;
}
.badge-notificacoes span:before {
    width: 1px;
    height: 100%;
    left: 12px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.7), transparent);

    box-sizing: border-box;
}
.badge-notificacoes span:after {
    width: 100%;
    height: 1px;
    top: 12px;
    background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.7), transparent);

    box-sizing: border-box;
}
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.lista-alertas-dropdown {
    padding: 10px !important;
    min-width: 200px !important;
    animation: fadeInAnimation 100ms ease-out;
    left: auto !important;
}
.lista-alertas-dropdown:before,
.lista-alertas-dropdown:after {
    border-style: solid;
    border-color: transparent;
    content: "";
    display: block;
    line-height: 0;
    position: absolute;
}
.lista-alertas-dropdown:before {
    border-width: 0 8px 6px 8px;
    border-bottom-color: #fff;
    top: -6px;
    right: 22px;
    z-index: 1;
}
.lista-alertas-dropdown:after {
    border-width: 0 9px 7px 9px;
    border-bottom-color: #ccc;
    top: -7px;
    right: 21px;
    z-index: 0;
}

.lista-alertas-dropdown .row:not(:last-of-type) {
    margin-bottom: 10px;
}

.lista-alertas-dropdown .header-item-error,
.lista-alertas-dropdown .header-item-alert {
    width: auto;
    border-radius: 3px;
    padding: 3px;
}

.lista-alertas-dropdown li a {
    padding: 6px 15px;
    display: block;
    color: black;
}
.lista-alertas-dropdown li a:hover {
    background-color: #fafbfc;
    color: black;
}


/********* Mensagens de Confirmação (Sweet Alert) *********/

.sweet-overlay {
    z-index: 99998;
}