/*
*	Nombre Fuente: general.css
*	Copyright Empresa: Veolia-Interagua
*	Fecha en Producción: 06/12/2023 - LC
*	Fecha Fin Programación: 20/11/2023
*	Autor: Franklin Lucero
*	Referencia: REQ 2023-035536
*	Descripción general: Arreglo de descuadre entre seccion de filtros y tabla de datos
*/

html[data-theme="light"],
:root {
    --secondary: #00B7CE;
    --nav-sidebar-bg: rgb(13,190,195);
    --menu-item: rgb(13,190,195);
    --menu-header: rgb(13,190,195);
    --menu-header-color: white;
    --menu-header-color-hover: black;
    --menu-item-color: white;
    --menu-item-color-hover: black;
    --border-interagua:  0 15px;
    --search: #7F488C;
    --new-register: #009AF0;
    --export-list: #57892E;
    --action-font-color: white;
}
.historylink {
    display: none !important;
}
#header {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    height: 4rem;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 2rem;
    color: white;
}

#header .section {
    color: white;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}
#header .logo.interagua   {
    width: 6.178rem;
    height: 2.859rem;
}
#header .logo.veolia-white   {
    width: 8.438rem;
    height: 2.5rem;
}
#header .icon.burguer {
    width: 2rem;
    height: 2rem;
    display: none;
}
#header .username {
    font-size: 1rem;
    text-transform: capitalize;
    text-align: right;
}
.logo-letter {
    color: rgb(0, 183, 206);
    display: flex;
    width: 3rem;
    height: 3rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background-color: white;
    border-radius: 50%;
    text-transform: uppercase;
}
#user-tools .section {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}
.submit-row input,
.submit-row a.deletelink,
.submit-row a.closelink,
#toolbar input[type="submit"],
.changelist-filter-items input[type="submit"],
.object-tools a,
.changelist-filter-actions a,
#btnExportJS {
    border-radius: var(--border-interagua);
    padding: 13px 26px !important;
    color: var(--action-font-color) !important;
    font-size: 13px;
    margin: 0;
    margin-top: auto;
    margin-bottom: auto;
}
.changelist-filter-items {
    display: flex;
    flex-wrap: wrap;
}
.object-tools {
    margin-top: -71px;
}
.object-tools a.addlink {
    border-radius: var(--border-interagua);
    background-color: var(--new-register);
}
#btnExportJS,
a.export_link {
    border: none;
    cursor: pointer;
    background-color: var(--export-list);
}
input[type="submit"].search,
button[type="submit"].search {
    background-color: var(--search) !important;
    color: white !important;
    border-radius: var(--border-interagua);
    padding: 13px 26px;
    margin: 0;
    margin-top: auto;
    margin-bottom: auto;
    border: none;
    cursor: pointer;
}
#toolbar form input[type="submit"] {
    padding: 4px 25px;
}
.submit-row input {
    height: unset;
}
.changelist-filter-actions {
    padding-left: 1rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
@media (max-width: 1160px) or (orientation:portrait) {
    #header {
        justify-content: space-between !important;
    }
    #header #branding .section:first-child {
        flex-direction: column;
        gap: 0;
    }
    #header .logo.interagua   {
        width: 4rem;
        height: 2rem;
    }
    #header .logo.veolia-white   {
        width: 5rem;
        height: 2rem;
    }
    #header .icon.burguer {
        display: flex;
    }
    #user-tools .section {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.25rem;
    }
    #header .username {
        font-size: 0.75rem;
    }
    .logo-letter {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.5rem;
    }
}

.container.update_password {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(246, 246, 246);
}
.container.update_password .form-container {
    background-color: white;
    border-top-right-radius: 3rem;
    border-bottom-left-radius: 3rem;
    padding: 2.5rem;
    max-width: 30%;
}
#update_password {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#update_password .form-row {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
}
#update_password .form-row label {
    font-size: 0.75rem;
    line-height: 1rem;
    margin-left: 0.3rem;
    padding-bottom: 0.1rem;
    color: black;
    font-weight: 600;
}
#update_password .form-row input {
    background-color: rgb(246, 246, 246);
}
#update_password .form-row input[type="text"],
#update_password .form-row input[type="password"] {
    width: 100%;
    border-radius: 0.375rem;
    height: 2rem;
    border: none;
    padding-left: 0.75rem;
}
#update_password .form-row input[type=text]:hover,
#update_password .form-row input[type="password"]:hover {
    box-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    --tw-ring-color: rgb(165 180 252);
    opacity: 0.5;
    border-color: rgb(165 180 252);
}
#update_password .submit-row,
.container.update_password .Form-footer {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.log-out {
    background-color: #9a6565 !important;
}
.log-out:hover {
    background-color: #a24848  !important;
}
ul.messagesx {
    list-style-type: none;
    padding-left: 0; 
}
ul.messages li.error {
    color: red;
}
body.login .messagelist {
    display: none;
}
form#login-form .messagelist {
    display: block;
}
@media (max-width: 1160px) or (orientation:portrait) {
    .container.update_password .form-container {
        max-width: unset;
    }
}
a.interagua.button {
    display: flex;
}
td {
    vertical-align: middle;
}
td svg,
th svg {
    width: 1rem;
    height: 1rem;
}
.input-filter,
.money-filter,
.date-filter, 
.date-from-filter,
.date-end-filter {
    display: flex;
    flex-direction: column;
}
#changelist-filter {
    margin: 0;
}