@import url('https://fonts.googleapis.com/css2?family=Carme&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --main-color: #0082f1 !important;
    --main-color-green: #50c91e !important;
    --main-color-green-hover: #58d525 !important;
    --main-color-green-gradient: linear-gradient(180deg, #59df22, #3ead10) !important;
    --main-color-dark: #003f75 !important;
    --main-color-hover: #006bc7 !important;
    --main-color-gray-gradient: linear-gradient(180deg, #ffffff, #e1e0e0) !important;
    --box-shadow-color: #0082f140 !important;
    --text-title-gray-color: #686767 !important;
}

* {
    font-family: 'Roboto';
    font-size: 14px;
    color: rgb(121, 121, 121);
    margin: 0px;
}

*,
::after,
::before {
    box-sizing: border-box;
}

div:hover::-webkit-scrollbar-thumb,
textarea:hover::-webkit-scrollbar-thumb {
    background-color: rgb(200, 200, 200);
    border-radius: 20px;
    border: 3px solid white;
}

div::-webkit-scrollbar,
textarea::-webkit-scrollbar {
    width: 13px;
}

/* FIREFOX */
body {
    scrollbar-width: thin;
    scrollbar-color: rgb(190, 190, 190) white;
}

a:disabled,
input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
    filter: opacity(80%);
    pointer-events: none;
}

header {
    position: fixed;
    width: 100%;
    z-index: 999;
}

.body {
    position: absolute;
    width: 100%;
    padding: 0px 10%;
}

.main-container {
    position: relative;
    width: auto;
    height: auto;
    overflow: hidden;
    min-height: calc(770px + 80px);
    background-color: rgb(248, 248, 248);
    border-radius: 7px;
    margin-top: 65px;
    margin-bottom: .7%;
    margin-left: .5%;
    margin-right: .5%;
    padding: 2%;
    box-shadow: 0 0 3px rgba(128, 128, 128, 0.829);
    z-index: 2;
}

header div.menu-bar {
    position: absolute;
    width: 100%;
    height: 55px;
    background-color: var(--main-color);
    padding: .3%;
}

.bar-itens {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-right: .3%;
}

.menu-button {
    position: relative;
    width: fit-content;
    max-width: 210px;
    border-radius: 5px;
    background-color: var(--main-color);
    color: white;
    font-size: 13px;
    padding: 6px 20px;
    margin-left: 10px;
    border: 0px solid;
    transition: all 500ms;
    cursor: pointer;
}

.menu-button:hover {
    background-color: var(--main-color-hover);
    color: white;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.164);
}

body .menu-button:focus,
body button:focus {
    outline-offset: none;
    outline-width: 0px;
}

.menu-button#excluir {
    background-color: red;
}

.div-item1 .menu-button {
    width: 200px;
}

.adm-button button.menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    background-color: var(--main-color-dark);
    margin-right: 2%;
}

.adm-icon {
    width: 20px;
    margin-right: 5px;
}

.logo {
    position: relative;
    --debug: 100px;
    width: var(--debug);
    height: calc(var(--debug) / 2.5);
    margin-top: 2px;
    margin-left: 1%;
    box-shadow: inset 0 0 0px rgb(255, 255, 255), 0 0 0px rgb(255, 255, 255);
    background: url(../../images/ged_logo_p.png);
    background-size: 100% 100%;
    opacity: 88%;
    transition: all 100ms;
    cursor: pointer;
}

.logo-sistema {
    display: flex;
    width: 169px;
    height: 55px;
    margin-left: -.3%;
    margin-top: -.3%;
}

.logo-sistema img {
    width: 100%;
}

.titulo {
    font-family: 'Impact';
    font-size: 32px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-left: 1%;
}

.div-item1#tutorial {
    flex-direction: column;
    align-items: center;
    width: 98%;
    border-radius: 15px;
    padding: 0%;
}

.tutorial-container {
    width: 50%;
    margin: 3%;
    text-align: center;
}

h2#tutorial {
    margin-bottom: 2%;
}

.content-grid {
    display: flex;
    flex-direction: row;
    margin-bottom: 80px;
}

.div-item-box {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 99%;
    height: fit-content;
    margin: 1%;
    padding: 5%;
    background-color: white;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.24);
    transition: all 100ms;
}

.div-item-box#select-itens {
    align-items: center;
    width: 50%;
}

.item-box-text {
    text-align: center;
}

.text-title {
    position: relative;
    width: auto;
    height: 45px;
    font-family: 'Impact';
    font-size: 28px;
    text-transform: uppercase;
    color: white;
    padding: 5px;
    padding-top: 1px;
    padding-left: 15px;
    margin: -2.2%;
    margin-bottom: 2%;
    background-color: var(--main-color-green);
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.24);
    z-index: 1;
}

select,
input,
textarea {
    width: 100%;
    height: 25px;
    color: rgb(107, 107, 107);
    background-color: white;
    border-radius: 6px;
    border: 1px solid rgb(175, 175, 175);
    transition: all 500ms;
}

input[type="text"], input[type="password"] {
    padding: 5px;
}

select {
    cursor: pointer;
}

input[type="date"] {
    cursor: text;
}

input[type="checkbox"] {
    cursor: pointer;
}

.login-field input {
    margin-bottom: 5px;
}

select:hover,
input:hover,
textarea:hover {
    box-shadow: inset 0 0 3px var(--box-shadow-color);
}

select:focus,
input:focus,
textarea:focus,
button {
    outline-offset: unset;
    outline-width: 0;
}

.select-itens {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
    height: fit-content;
    padding: 5% 2%;
    margin-bottom: 2%;
    margin-top: 2%;
    border-radius: 10px;
    background-color: rgb(245, 245, 245);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.24);
}

.select-itens select {
    margin-bottom: 2%;
}

.select-itens button {
    margin-top: 10px;
}

.button-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.img-bigbox {
    width: 31%;
    margin-bottom: 5%;
}

.img-bigbox#exclamacao {
    width: 45%;
}

.img-smallbox {
    width: 30%;
    margin-bottom: 4%;
}

/*FILEGRID*/
.filegrid {
    width: 100%;
    max-height: 570px;
    overflow: auto;
    margin-bottom: 20px;
}

.filegrid-row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    margin: 20px 0px;
}

.filegrid-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30%;
    min-width: 30%;
    text-align: center;
    border-radius: 10px;
    padding: 2%;
    box-shadow: 0px 0px 5px gray;
    cursor: pointer;
    transition: all 250ms;
}

.filegrid-column:hover {
    background-color: rgb(250, 250, 250);
}

.filegrid-column button {
    padding: 6px 0px;
    margin-top: 10px;
}

.filegrid-column button img {
    width: 15%;
}

.filegrid-img {
    width: 20%;
}

.filegrid-title {
    width: 100%;
    text-align: center;
    font-weight: bold;
    word-break: break-all;
    border-bottom: solid 1px gray;
    margin-bottom: 10px;
    margin-top: 5px;
}

/*FOOTER*/
.footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 80px;
    background-color: rgb(221, 221, 221);
    margin: -2.1%;
    margin-top: 5%;
    margin-bottom: 0px;
    padding: 2%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.footer-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: -1%;
}

.footer-columm {
    display: flex;
    flex-direction: column;
    width: 300px;
    transition: all 100ms;
}

.contact-row {
    display: flex;
    flex-direction: row;
    margin-bottom: 2%;
}

.tel-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0%);
    margin-top: 2px;
}

.mail-icon {
    width: 20px;
    height: 20px;
    margin-top: 1%;
    filter: brightness(0%);
}

.footer-row h4#footer-contact {
    margin: 1.3%;
    color: black;
    font-size: 13px;
}

.footer-contact-text h4 {
    color: black;
    font-size: 13px;
    line-height: 25px;
}

.logo-simweb-small {
    width: auto;
    height: 50px;
}

.logo-simweb-small-img {
    height: 100%;
}

.button-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/*SEARCHBAR*/
.search-bar-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 100%;
    color: rgb(107, 107, 107);
    background-color: white;
    border-radius: 6px;
    border: 1px solid rgb(175, 175, 175);
    transition: all 500ms;
}

.search-bar-row:hover {
    box-shadow: inset 0 0 3px var(--box-shadow-color);
}

.search-bar-row:focus {
    outline-offset: unset;
    outline-width: 0;
}

.search-bar-row input:hover {
    box-shadow: none;
}

.search-bar-row .search-img {
    height: 23px;
}

.search-bar-row input {
    width: 100%;
    height: 100%;
    color: rgb(107, 107, 107);
    background-color: transparent;
    border: none;
    padding-left: 5px;
    transition: none;
}

.search-bar-row button {
    display: flex;
    justify-content: center;
    width: 100px;
    height: 100%;
    border-radius: 4px;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    background-color: #0082f1;
}

/*FIM DE PADRÃO*/

/*COLLAPSE*/
.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show.btn-primary.dropdown-toggle {
    color: unset;
    background-color: transparent;
    border-color: transparent;
    border-bottom: solid 1px #b7b7b7;
    box-shadow: none;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show.btn-primary.dropdown-toggle:focus {
    box-shadow: none;
    filter: opacity(80%);
}

.btn-primary:hover {
    color: unset;
    background-color: rgb(240, 240, 240);
    border-color: transparent;
    border-bottom: solid 1px rgba(128, 128, 128, 0.8);
    filter: opacity(80%);
}

button#collapse-busca {
    width: 100%;
    color: rgb(121, 121, 121);
    text-align: left;
    font-weight: bold;
    background-color: white;
}

.collapse {
    margin-bottom: 1%;
}

.collapse.show,
.collapsing {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 98%;
    transition: all 250ms;
    padding-bottom: 20px;
    border-bottom: solid 1px #cfcfcf;
}

.collapse.show#collapsecontent {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 98%;
    padding-bottom: 20px;
    border-bottom: solid 1px #cfcfcf;
}

button#collapse-busca img {
    width: 10px;
    margin-right: 5px;
    filter: brightness(35%);
}

.collapse-select-div {
    width: 100%;
    margin-bottom: 20px;
    padding: 0px 40px;
}

.collapse-select-div .form-row {
    justify-content: space-between;
}

.collapse-select-div .form-item-column {
    width: 48%;
}

/*FORM*/
.form-item-column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/*TABLE*/
table {
    width: 100%;
}

table tr {
    cursor: pointer;
    transition: all 150ms;
}

table tr:hover {
    filter: brightness(95%);
}

table tr#title {
    font-weight: bold;
    border-bottom: solid 1px gray;
    cursor: none;
    pointer-events: none;
}

table th,
table td {
    display: inline-flex;
    border-left: solid 1px rgb(200, 200, 200);
}

table th div,
table td div {
    align-content: center;
    padding: 7px 10px;
}

table td button#download-min-button {
    border-radius: 100px;
}

table td button#download-max-button {
    border-radius: 10px;
}

table td button#download-max-button img {
    width: 15px;
}

/*PAGINACAO*/
.pag-buttons {
    margin-bottom: 25px;
}

.pag-buttons .pag-button {
    width: fit-content;
    color: rgb(94, 94, 94);
    font-size: 12px;
    background-color: rgb(250, 250, 250);
    border-radius: 3px;
    border: none;
    box-shadow: 0 0 3px gray;
    padding: 5px;
    margin: 0px 5px;
    margin-bottom: 5px;
    cursor: pointer;
}

.pag-buttons .pag-button:hover {
    filter: brightness(95%);
}

.buscaresult tbody {
    display: block;
    height: 400px;
    overflow: scroll;
}

.buscaresult thead, tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;/* even columns width , fix width of table too*/
}

.buscaresult thead {
    width: calc( 100% - 1em )/* scrollbar is average 1em/16px width, remove it from thead width */
}

.buscaresult table {
    width: 100%;
}

/*Design 2.0*/
h4 {
    font-weight: 400 !important;
}

.text-title {
    background: var(--main-color-gray-gradient);
    color: var(--text-title-gray-color);
}

.menu-button, .search-bar-row button {
    background-color: var(--main-color-green);
}

.menu-button:hover, .search-bar-row button:hover {
    background-color: var(--main-color-green-hover);
}

@media screen and (max-width: 1450px) and (orientation: landscape) {
    .main-container {
        min-height: 650px !important;
    }

    .form-item-column {
        font-size: 10px !important;
    }

    .form-item-column span {
        font-size: 12px;
    }

    .file-upload-container label {
        font-size: 10px;
        padding-top: 4px;
    }

    .file-upload-container input[type="text"] {
        font-size: 7px !important;
    }
}

@media screen and (max-width: 1500px) and (orientation: portrait) {
    header div.menu-bar {
        height: 110px;
        max-width: 100vw;
    }

    .logo {
        width: 110px;
        height: 90px;
        margin-top: 6px;
        background: url(../../images/ged_logo_g.png) no-repeat;
        background-size: auto 100%;
        box-shadow: inset 0 0 0px rgb(255, 255, 255), 0 0 0px rgb(255, 255, 255);
    }

    .adm-button button.menu-button {
        display: flex;
        flex-direction: column;
        width: 75px;
        height: 70px;
        margin-top: 5%;
        font-size: 10px;
    }

    .adm-icon {
        width: 38%;
        margin-bottom: 2%;
    }

    .titulo {
        font-size: 25px;
        text-align: center;
        margin-top: 4%;
        margin-right: 3%;
    }

    .main-container {
        width: 99%;
        margin-top: 115px;
    }

    .content-grid {
        flex-direction: column;
    }

    .text-title {
        font-size: 20px;
        text-align: center;
        padding-top: 5px;
    }

    .div-item-box {
        align-items: center;
        text-align: center;
    }

    .div-item-box#select-itens {
        width: 99%;
    }

    .footer-tutorial div#right,
    .footer-tutorial div#right b,
    .footer-tutorial div b,
    .footer-tutorial div {
        font-size: 8px;
    }

    .footer-row h4#footer-contact b {
        font-size: 10px !important;
    }

    .footer-contact-text h4 {
        font-size: 10px !important;
        line-height: 15px;
    }

    .logo-simweb-small {
        width: 17%;
        height: auto;
        margin-right: 7%;
    }

    /*FIM DE PADRÃO*/

    .button-field#exemplos {
        justify-content: center;
    }

    .footer {
        bottom: -1.5%;
    }

    .bar-itens {
        padding: 0px 2%;
    }

    .filegrid-row {
        flex-direction: column;
        align-items: center;
    }

    .filegrid-column {
        width: 80%;
    }

    .main-container {
        min-height: calc(720px + 80px);
    }

    .logo-simweb-small-img {
        display: none;
    }

}