:root {
    --primary: #00BCF0;
    --white: #FFF;
    --50: #F8FAFC;
    --100: #F1F6F9;
    --200: #E1EAEF;
    --300: #CBD9E1;
    --400: #94ABB8;
    --500: #657D8B;
    --600: #485E6A;
    --700: #344956;
    --800: #1F2F38;
    --900: #131E25;

    --blue: #549FF8;
    --green: #00C87E;
    --yellow: #F0AD4E;
    --invalid: #CE7A63;
}

.menu-lang {
    width: 100%;
    text-align: center;
    font-size: 10px;
}

li {
    list-style: none;
}

#logoEmpresa {
    max-height: 25px;
    margin: 5px;
}

.btn-novo {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 99999;
}

.breadcrumb {
    background-color: transparent;
}

table td > img {
    max-height: 70px;
}

table td > a > img {
    max-height: 70px;
}

/*margin padding*/
.p-l-0 {
    padding-left: 0;
}

.m-t-10 {
    margin-bottom: 10px;
}

.m-r-10 {
    margin-right: 10px;
}

.m-b-10 {
    margin-bottom: 10px;
}

.m-l-10 {
    margin-left: 10px;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

/*margin padding*/

/*auto complete*/
.ui-autocomplete {
    max-height: 200px;
    overflow: auto;
    background-color: var(--white);
    z-index: 999;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
}

@media only screen and (max-width: 1440px) {
    .ui-autocomplete {
        width: 90% !important;
    }
}

@media only screen and (min-width: 1440px) {
    .ui-autocomplete {
        width: 50% !important;
    }
}

.ui-autocomplete li {
    position: relative;
    display: block;
    padding: .75rem 1.25rem;
    margin-bottom: -1px;
    background-color: var(--white);
    border: 1px solid #ddd;
    cursor: pointer;
}

.ui-autocomplete li:hover {
    background-color: #eee;
}

.ui-helper-hidden-accessible {
    display: none;
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 2px 5px;
    cursor: pointer;
    background-color: ghostwhite;
    width: 150px;
    text-align: center;
}

/*scrollbar*/
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background-color: #eaeaea;
    border-left: 1px solid #ccc;
}

::-webkit-scrollbar-thumb {
    background-color: #ccc;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}

/*scrollbar*/

/*file upload*/
.recorte-imagem-out {
    display: none;
}

.recorte-imagem-in {
    display: block;
}

#recorte-imagem {
    display: none;
}

#dropzone-progress {
    position: absolute;
    width: 0;
    height: 95px;
    background-color: #009688;
    z-index: 2;
}

#dropzone-percentual {
    position: absolute;
    z-index: 3;
    text-align: center;
    width: 100%;
    line-height: 100px;
    font-weight: bold;
}

.imagem-atual {
    width: 100px;
    height: 100px;
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -50px;
}

#imagem-atual p {
    font-size: 13px;
    text-align: center;
    margin-top: 15px;
}

#preview-pane {
    max-width: 112px;
    padding: 6px;
    background-color: #2a3142;
    position: absolute;
    left: 50%;
    margin-left: -56px;
}

.recorte-imagem-relative {
    position: relative;
    height: 110px;
}

#imagem-atual p {
    padding-bottom: 10px;
}

#fileupload {
    display: none;
}

#preview-pane .preview-container {
    width: 100px;
    height: 100px;
    overflow: hidden;
}

#dropzone {
    background-color: #f5f5f5;
    border: 3px dashed #FFFFFF;
    width: 100%;
    height: 250px;
    text-align: center;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    position: relative;
    margin-top: 37px;
    cursor: pointer;
}

#dropzone-info {
    margin-top: 10%;
}

#dropzone-info p {
    font-size: 16px;
    font-weight: bold;
}

#dropzone.in {
    width: 100%;
    height: 200px;
    line-height: 200px;
    font-size: larger;
}

#dropzone.hover {
    background: lawngreen;
}

#dropzone.fade {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    opacity: 1;
}

#imagem-atual {
    position: absolute;
    width: 100%;
    height: 250px;
    opacity: 0.2;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/*file upload*/

#notificacao-content {
    max-height: 410px;
    overflow: auto;
}

.post blockquote {
    max-height: 250px;
    overflow: hidden;
}

table.dataTable.dtr-inline.collapsed tbody td:first-child:before, table.dataTable.dtr-inline.collapsed tbody th:first-child:before {
    top: calc(50% - 8px);
    background-color: var(--primary);
}

table.clickable tr {
    cursor: pointer;
}

.grafico {
    height: 400px;
}

/*Export amcharts*/
.selectTypeChart {
    right: 45px !important;
    z-index: 1 !important;
}

.amcharts-export-menu {
    opacity: 1 !important;
}

.amcharts-export-menu .export-main {
    top: -12px !important;
    right: -5px !important;
}

.selectTypeChart .export-main > a {
    background-image: url('../images/chart_black-f03762334c229626bb8ce9b8eebb1145.png') !important;
}

.selectTypeChart .export-main:hover > a {
    background-image: url('../images/chart_white-e604bd4d2be653ea2ab018a0d3b9c233.png') !important;
}

.scroll {
    overflow: auto;
}

.pace .pace-progress {
    background: var(--primary);
}

#ir-loading {
    width: 100%;
    height: 100vh;
    background: rgba(44, 51, 59, 0.4);
    position: absolute;
    z-index: 999999;
    text-align: center;
    color: #2c333b;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center
}

#ir-loading-body {
    margin: 0;
}

/*======================================================
 Fernando - AG-313 - Melhoria » Otimizar responsividade do Portal do Produtor. */
.menu-mobile-link {
    width: 100%;
    height: 100%;
}

.menu-mobile-div {
    border-radius: 0 !important;
    position: fixed;
    float: left;
    width: 12px;
    height: 100% !important;
    top: 7%;
}

@media only screen and (min-width: 320px) {
    .overflow-table {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        direction: ltr;
    }
}

@media only screen and (max-width: 950px) {
    #ir-loading {
        height: 100% !important;
    }
}

.table-scrollbar::-webkit-scrollbar {
    width: 0;
    height: 13px;
    background-color: #F5F5F5;
}

.table-scrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.table-scrollbar::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    background-color: #e5e6e6;
}

.menu-scrollbar {
    overflow-y: auto;
    height: 90%
}

.colored-rows > tbody > tr:nth-child(odd) {
    background-color: #f2f2f285;
}

.menu-scrollbar::-webkit-scrollbar {
    width: 0;
    height: 13px;
    background-color: rgb(43, 50, 58);
}

.menu-scrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px;
    background-color: rgb(43, 50, 58);
}

.menu-scrollbar::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgb(43, 50, 58);
}

/*======================================================*/


/*=====================================================
          --- AQUI COMEÇA O LAYOUT MOBILE ---
=====================================================*/

.mobile-bottom-nav, #notificacao-mobile, #mobile-back {
    display: none;
}

.tools .btn-group a i.ph {
    font-size: 14px;
}

.movegadget .tools, .movegadget .tools .btn-group .btn-group {
    padding: 0;
    display: flex;
    flex-direction: row;
    width: calc((100% / 4));
    justify-content: flex-end;
}

.movegadget .tools .btn-group {
    padding: 10px 0;
    display: flex;
    gap: 10px;
    justify-content: space-evenly;
}

.movegadget .tools .btn-group a {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.jsTituloPortal {
    color: var(--primary);
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0 !important;
}

@media (max-width: 767px) {
    body {
        background-color: #F4F7FA;
    }

    #base {
        min-height: calc(100vh - 112px) !important;
    }

    #base.base-mobile {
        min-height: calc(100vh - 56px) !important;
    }

    #content {
        /*padding-bottom: 76px;*/
        padding-bottom: 0!important;
        min-height: calc(100vh - 112px) !important;
    }

    #content.base-mobile {
        min-height: calc(100vh - 56px) !important;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 56px;
        display: flex;
        z-index: 1001;
        align-items: center;
        background: var(--white);
        justify-content: space-around;
        box-shadow: 0 0 15px -3px #838383;
    }

    .mobile-bottom-nav__item {
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: #6B7A8C !important;
        text-decoration: none;
        font-weight: 600;
        font-size: 12px;
        border-top: 3px solid transparent;
        transition: color 0.2s ease, border-top-color 0.2s ease;
    }

    .mobile-bottom-nav__item i {
        font-size: 22px;
        line-height: 1;
    }

    .mobile-bottom-nav__item.active {
        color: var(--primary) !important;
        text-decoration: none;
        border-top-color: var(--primary);
    }

    .mobile-bottom-nav__item:active, .mobile-bottom-nav__item:focus, .mobile-bottom-nav__item:hover {
        text-decoration: none;
    }

    .menubar-toggle, .headerbar-right, .menubar-inverse {
        display: none !important;
    }

    div#content {
        padding: 10px 0 64px;
        background-color: var(--100);
        min-height: calc(100vh - 112px) !important;
    }

    .menu-filho {
        display: flex;
        aspect-ratio: 1;
        font-size: 1.3rem;
        border-radius: 6px;
        align-items: center;
        flex-direction: column;
        background-color: var(--primary);
        justify-content: space-evenly;
    }

    a.menu-filho {
        text-decoration: none;
        color: var(--white);
        text-align: center;
        padding: 0 4px;
    }

    .menu-filho a:active, .menu-filho a:focus {
        color: var(--white);
    }

    .menu-pai {
        display: grid;
        grid-gap: 10px;
        padding: 10px 0;
        grid-template-columns: repeat(3, calc((100% - 20px) / 3));
    }

    .menu-filho .ph-duotone, .menu-line .ph-duotone {
        font-size: 2.75rem;
        color: var(--white);
    }

    .menu-filho > a > div.title {
        font-size: 1.25rem;
    }

    .menu-line .ph-duotone {
        margin: 10px;
    }

    .menu-line {
        display: flex;
        font-size: 1.3rem;
        border-radius: 6px;
        align-items: center;
        background-color: var(--primary);
        justify-content: flex-start;
    }

    .menu-line > div {
        color: var(--white);
        display: flex;
        margin-left: 10px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .menu-line > a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: var(--white) !important;
        width: -webkit-fill-available;
        height: -webkit-fill-available;
    }

    .menu-line > img {
        width: 64px;
        height: 64px;
        margin: 10px;
        object-fit: cover;
        border-radius: 64px;
    }

    .menu-logout {
        bottom: 74px;
        margin: 0 10px;
        box-shadow: none;
    }

    .title-menu-pai {
        color: var(--primary);
        font-size: 1.3rem;
        font-weight: bold;
    }

    .headerbar-left {
        display: flex;
        justify-content: center;
    }

    #mobile-btn-back {
        text-decoration: none !important;
    }

    #notificacao-btn-mobile .ph-duotone, #mobile-btn-back .ph {
        font-size: 25px;
        color: var(--primary);
    }

    #notificacao-count-mobile {
        color: var(--invalid);
        font-size: 64px;
        position: absolute;
        left: -10px;
        top: -27px;
    }

    #notificacao-mobile, #mobile-back {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        top: 15px;
    }

    #notificacao-mobile {
        right: 15px;
    }

    #mobile-back {
        left: 15px;
    }

    .header-nav-options {
        margin: 0;
    }

    .animation-expand {
        left: -85px;
    }

    #verMaisNotificacoes-mobile, li.dropdown-header {
        display: block;
        padding: .5rem 1rem;
        margin-bottom: 0;
        font-size: 1.5rem;
        color: #6c757d;
        text-decoration: none;
    }

    #verMaisNotificacoes-mobile span {
        margin: 0 5px 0 0;
    }

    .col-6 .card-gadget-icon {
        display: none;
    }

    .text-xl {
        font-size: 20px !important;
    }

    .card-body div.alert {
        display: flex !important;
        padding: 0 !important;
        flex-wrap: wrap;
        justify-content: center !important;
        align-content: center;
    }

    .card-body div.alert .card-gadget-content {
        display: flex !important;
        padding: 0 !important;
        flex-wrap: wrap;
        justify-content: center !important;
        align-content: center;
    }

    a.btn.btn-icon-toggle.dropdown-toggle {
        display: none;
    }

    #btn-gadget {
        bottom: 71px !important;
    }

    button.ink-reaction > i.ph {
        font-size: 18px;
    }

    section.mobile > div {
        width: 100%;
        padding: 0 10px;
    }
}