/* ---    MainApp --- */

html, body
{
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100vh;
}

body
{
    /*background-color: #757575;*/
    /*background-color: rgba(117, 117, 117, 0.2);*/
    background-image: url(../images/PetroBG_LogIn.jpg);
    background-size: 100% 100%;
}

div
{
/*    border-style:solid;
    border-width:1px;
    border-color:red;*/
}

.mud-layout
{
    opacity: 0.96;
}

.footer
{
    margin-top: 0.5vh;
    position: fixed;
    width: inherit;
    bottom: 2px;
    opacity: 0.98;
}

.footer-div
{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    padding-left: 10px;
    padding-right: 15px;
}

.div-logos-institucionais
{
    order: 1;
}

.logos-institucionais
{
    width: 250px;
    height: 25px;
}

.social-media-buttons
{
    order: 3;
    direction: rtl;
}

.footer-fill
{
    order: 2;
    flex-grow: 10;
}

.footer-copyright
{
    text-align: center;
    font-size: small;
}

@media (max-width: 960px)
{
    .footer
    {
        margin-top: 0.5vh;
        position: fixed;
        width: inherit;
        bottom: 2px;
        opacity: 0.95;
    }

    .footer-div
    {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        padding-left: 2px;
        padding-right: 2px;
    }

    .div-logos-institucionais
    {
        padding-left: 5px;
        width: 60%;
        order: 1;
    }

    .logos-institucionais
    {
        width: inherit;
        height: inherit;
    }


    .social-media-buttons
    {
        direction: rtl;
        width: 35%;
        order: 3;
    }

    .footer-fill
    {
        order: 2;
    }

    .footer-copyright
    {
        padding-left: 10px;
        padding-right: 5px;
        font-size: smaller;
    }
}

.btn-primario
{
    font-size: medium;
    color: white !important;
    background-color: #757575;
}


a, .btn-link
{
    color: #ffffff;
}

    /* unvisited link */
    a:link
    {
        color: #ffffff;
        text-decoration: none;
    }

    /* visited link */
    a:visited
    {
        color: #ffffff;
        text-decoration: none;
    }

    /* mouse over link */
    a:hover
    {
        color: #0f6068;
        text-decoration: none;
    }

    /* selected link */
    a:active
    {
        color: #0f6068;
        text-decoration: none;
    }

.btn-primary
{
    color: #fff;
    background-color: #0f6068;
}

    .btn-primary:active
    {
        color: #fff;
        background-color: #0f6068;
    }
/*
.btn-primary-color {
    color: #0f6068;
}

.btn-primary-bg {
}*/

.btn-primary-border
{
    color: #0f6068;
}

    .btn-primary-border:active
    {
        color: #0f6068;
    }


.btn:focus, btn:active, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus
{
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #0f6068;
}

.btn-associar
{
    background-color: teal;
    height: fit-content;
    color: white;
    border-color: transparent;
    position: center;
    object-fit: scale-down;
}

    .btn-associar:hover
    {
        background-color: teal;
        height: fit-content;
        color: white;
        border-color: teal;
        position: center;
        object-fit: scale-down;
    }

.content
{
    padding-top: 1.1rem;
}

h1:focus
{
    outline: none;
}

.valid.modified:not([type=checkbox])
{
    outline: 1px solid #26b050;
}

.invalid
{
    outline: 1px solid #e50000;
}

.validation-message
{
    color: #e50000;
}



.blazor-error-boundary
{
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxI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RkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after
    {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input
{
    border-color: #929292;
}

.centrado
{
    position: absolute;
    flex-direction: row;
    z-index: 15;
}

.table-header-class
{
    font-weight: bold !important;
    background-color: rgba(255,255,255,1);
}

.div-title
{
    text-align: left;
    font-weight: bold;
    font-size: larger;
    /*color: rgba(3, 55, 31, 1);*/
    background-color: rgba(169, 169, 169, 0.4);
    margin-bottom: 0px;
    padding-left: 5px;
    width: 100%;
    /*    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgba(3, 55, 31, 0.25);*/
}

.td-line
{
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgba(220, 220, 220, 1);
    vertical-align: top;
    display: flex;
    font-size: 0.9rem !important;
}

.td-nome
{
    font-weight: bold;
    width: 25%;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 1px;
    padding: 1px;
    padding-left: 6px;
    word-wrap: normal;
    overflow: hidden;
    font-size: 0.9rem !important;
}

.td-info-long
{
    display: inline-block;
    vertical-align: top;
    border-style: solid;
    border-color: white;
    border-width: 1px;
    margin-bottom: 1px;
    padding: 1px;
    padding-left: 10px;
    height: inherit;
    min-width: 20px;
    font-size: 0.9rem !important;
}


.td-info-short
{
    display: inline-block;
    vertical-align: top;
    border-style: solid;
    border-color: white;
    border-width: 1px;
    border-radius: 5px;
    margin-bottom: 1px;
    padding: 1px;
    padding-left: 10px;
    height: inherit;
    min-width: 15px;
    font-size: 0.9rem !important;
}

.td-info-text-wrap
{
    display: inline-block;
    vertical-align: top;
    padding: 1px;
    width: 75%;
    word-wrap: break-word;
    overflow: hidden;
    font-size: 0.9rem !important;
}

.list-title
{
    color: rgba(3, 55, 31, 1);
    text-align: center;
}


@media (max-width: 960px)
{
    .list-title
    {
        font-size: xx-large;
        color: rgba(3, 55, 31, 0.75);
        text-align: center;
    }

    .td-nome{
        width:42%;
    }
/*
    .td-info-text-wrap
    {
        position: relative;
        float: right;
        text-align:right;
    }*/
}

.toolbar
{
    background-color: rgba(255,255,255,1) !important;
}

#components-reconnect-modal
{
    display: none !important;
}

.mud-table-toolbar
{
    height: fit-content;
    margin: 1px;
}

.mud-sort-index
{
    color: white;
    font-size: x-small;
}


.mud-tab
{
    font-weight: bold;
}

.mud-tab-active
{
    color: teal !important;
}

.mud-tab-slider
{
    color: teal !important;
    border-bottom-color: teal;
}

.mud-tab-slider-horizontal
{
    color: teal !important;
}

.mud-card-header
{
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0px;
}

.mud-card-content
{
    padding-top: 0px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.mud-overlay-content{
    text-align:center;
}

.pedido-card
{
    background-color: white;
    padding-left: 0px;
    width: 40vw;
}

.cadastro-card
{
    background-color: white;
    padding-left: 0px;
    width: 60vw;
}

.cancel-card
{
    width: 60vw;
    height: fit-content;
}

.cancel-actions
{
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.search-field
{
    width: 20vw;
    margin-top: auto;
    margin-bottom: auto;
}

.status-filter
{
    width: 15vw;
    margin-top: auto;
    margin-bottom: auto;
}

.menu-list-pedidos
{
}

.select-country
{
    width: fit-content;
    margin-top: auto;
    margin-bottom: auto;
}

.toolbar
{
    background-color: rgb(255,255,255) !important;
    height: fit-content;
}

.new-pedido-form
{
    width: 40vw;
}

@media (max-width: 960px)
{
    .pedido-card
    {
        background-color: white;
        width: 98vw;
        height: 91vh;
        overflow-y: scroll;
    }

    .cadastro-card
    {
        background-color: white;
        padding-left: 0px;
        width: 98vw;
        height: 91vh;
        overflow-y: scroll;
    }

    .cancel-card
    {
        width: 95vw;
        height: fit-content;
        overflow-y: scroll;
    }

    .search-field
    {
        /*width: 75vw !important;*/
        margin-top: auto;
        margin-bottom: auto;
    }

    .status-filter
    {
        width: 85vw;
        margin-top: auto;
        margin-bottom: auto;
    }

    .menu-list-pedidos
    {
        width: 90vw !important;
    }

    .new-pedido-form
    {
        width: 95vw;
    }
}

.bg-color
{
    background-color: rgba(117, 117, 117, 1);
}

.bg-top
{
    /*Darken Tertiary */
    /*background-color: #17a686;*/
    background-color: rgba(210, 240, 228, 1);
}

.bg-drawer
{
    background-color: rgba(160, 222, 197, 1);
    /*background-color: rgba(210, 240, 228, 1);*/
}


/*------------------------*/


/*Begin App NO MainLayout*/

.top-menu
{
    width: 100%;
    height: 2%;
    display: flex;
}

.login-center
{
    width: 100px;
    height: 100%;
    padding-left: 25%;
    margin-left: 1%;
    margin-right: auto;
    text-align: left;
}

.login-form
{
    width: 25vw;
    height: fit-content;
    margin: auto;
    /*vertical-align: central;*/
    background-color: rgba(255, 255, 255, 0.5);
}

.login-logo
{
    display: block;
    width: 50%;
    height: 50%;
    margin-left: auto;
    margin-right: auto;
}

.login-backgound
{
    background-image: url(../images/PetroBG_LogIn.jpg);
}

@media (max-width: 960px)
{
    .login-backgound
    {
        background-image: url(../images/PetroBG_LogIn.jpg);
    }

    .login-form
    {
        width: 90vw;
        height: max-content;
        margin: auto;
        /*margin-top: vh;*/
        background-color: rgba(255, 255, 255, 0.5);
    }
}
/*------------------------*/



/*Begin App MainLayout Top*/
.mud-nav-link-text
{
    color: rgba(0, 82, 33, 0.90);
}

.mud-select
{
    flex-grow: 0;
    margin-top: 0;
    appearance: none;
}

.container-culture-selector-top .mud-select
{
    flex-grow: 0;
    margin-top: 0;
    appearance: none;
}

.culture-selector-top
{
    flex-grow: 0;
    max-width: 110px;
    height: 32px;
    align-content: end;
    border: none;
}

.container-culture-selector-top .mud-input-control-input-container .mud-input
{
    /*height: 32px;*/
    padding: 2px 2px 2px 2px;
    border: none;
    border-bottom: none;
}

    /*    .container-culture-selector-top .mud-input-control-input-container .mud-input.mud-input-underline:before {
        border: none;
        border-bottom: none;
    }
*/
    /*    .container-culture-selector-top .mud-input-control-input-container .mud-input .mud-input-slot {
        height: 32px;
        padding: 2px 2px 2px 2px;
    }
*/
    .container-culture-selector-top .mud-input-control-input-container .mud-input .mud-input-slot .mud-image
    {
        height: 26px;
        width: 40px;
        margin-top: 10px;
    }

/*.culture-selector-top .mud-icon-root .mud-svg-icon {
    color: rgba(255,255,255,1);
}*/

.popover-top
{
    width: 40px;
    background-color: rgba(210, 240, 228, 1);
}

.culture-select
{
    /*font-weight: bold;*/
    font-size: 1rem !important;
    color: rgba(0, 82, 33, 0.90);
    -webkit-text-decoration: none;
}

@media (max-width: 960px)
{
    body
    {
        font-size: 0.85rem !important;
    }

    .mud-typography
    {
        font-size: 0.85em !important;
    }

    .mud-typography-input
    {
        font-size: 0.85em !important;
    }
}

/*------------------------*/


/*Begin MainLayout General */


.top-row
{
    background-image: linear-gradient(100deg, #0f6068 20%, #1f8c73 80%);
    height: 30px;
    display: flex;
    border-radius: 5px;
    margin-top: 4px;
}

    .top-row .mud-typography
    {
        font-size: medium;
        font-weight: bolder;
        color: rgba(0, 82, 33, 0.90);
        padding-left: 8px;
        padding-right: 8px;
    }


#blazor-error-ui
{
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss
    {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* ------------------------------------ */



/* ------    DataGrid General   ------ */

.container_data_grid .mud-table-container
{
    width: 100% !important;
}

.head_data_grid tr.mud-table-row th.mud-table-cell
{
    font-weight: bold;
    font-size: medium;
    /*background: #e8e8e8 !important;*/
    background: rgb(255,255,255) !important;
}

.filtro-datas
{
    width: 20vw;
    border-width: 1px;
    border-radius: 4px;
    color: rgba(189, 189, 189, 1);
}

    .filtro-datas:active
    {
        border-width: 1px;
        border-radius: 4px;
        color: rgba(3, 55, 31, 1);
    }

    .filtro-datas:hover
    {
        border-width: 1px;
        border-radius: 4px;
        color: rgba(3, 55, 31, 1);
    }

.only-mobile-display
{
    display: none !important;
}

.status-column
{
    background-color: red !important;
}

@media (max-width: 960px)
{
    .mud-table-row
    {
        margin-bottom: 4px;
        border: 3px solid lightgrey;
    }

    .mud-table-cell
    {
        padding: 3px !important;
        font-weight: normal !important;
        font-size: 0.85em !important;
    }

    .not-mobile-display
    {
        display: none !important;
    }

    .only-mobile-display
    {
        display: contents !important;
    }

    .mud-table-cell .mud-ripple
    {
        padding-right: 4px !important;
        color: white !important;
        margin: 3px !important;
        background-color: #1d846c !important;
    }

        .mud-table-cell .mud-ripple .mud-icon-button-label .mud-icon-root
        {
            font-size: 0.5em !important;
        }

    .filtro-datas
    {
        width: 75vw;
    }
}


/*------------------------*/

/* ------    Change Password   ------ */

.formpassword
{
    width: 50vw;
    height: fit-content;
    background-color: white;
}

@media (max-width: 960px)
{

    .formpassword
    {
        width: inherit;
    }
}

.pass-form-container
{
    max-width: inherit !important;
}

/*------------------------*/

/* ------    Admin Page   ------ */

.btn-admin-add .mud-button-label
{
    color: teal;
}

.text-associar
{
    max-width: 50% !important;
}

.simple-table
{
    width: inherit;
}

.simple-table-header
{
    font-weight: bold !important;
    background-color: #d9d9d9;
}

.popover-form
{
    align-content: center;
    width: 40vw;
}

@media (max-width: 960px)
{
    .simple-table tr td
    {
        padding: 0px !important;
        padding-top: 2px;
    }

    .mud-simple-table table * tr > td
    {
        font-size: 0.75rem;
    }

    .popover-form
    {
        align-content: center;
        width: 90vw;
    }
}

/*------------------------*/

.mud-message-box__yes-button 
{
    background-color: rgba(41,122,90, 1);
}

.mud-message-box__yes-button .mud-button-label
{
    color: rgba(255,255,255, 1);
}




