.content-header {
    display: none;
}

.content-wrapper {
    padding-top: 20px;
}

.tooltipTeldat {
    position: absolute;
    padding: 5px;
    background-color: #555;
    color: #fff;
    border-radius: 6px;
    z-index: 1000;
    pointer-events: none;
}

.tooltip-container {
    position: relative;
}

.tooltipTeldat::before {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    border-width: 0 10px 10px 0;
    border-style: solid;
    border-color: transparent transparent rgb(85 85 85) transparent;
    transform: rotate(90deg);
}

input[readonly] {
    cursor: auto;
}

input[readonly]:focus {
    background-color: #f1f1f1;
    border-color: #ced4da;
    box-shadow: none;
}

.card.ew-card.ew-grid {
    width: 100%;
}

body {
    overflow-x: hidden;
}

.ew-message-dialog {
    display: none;
}

@keyframes blink {
    0% {
        background-color: green;
    }

    50% {
        background-color: transparent;
    }

    100% {
        background-color: green;
    }
}

@keyframes panic {
    0% {
        background-color: #ff3333;
    }

    50% {
        background-color: transparent;
    }

    100% {
        background-color: #ff3333;
    }
}

.circle {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid #7a7a7a;
    margin-right: 5px;
}

.circleGreen {
    background-color: green;
    animation: blink 2s linear infinite;
}

.circleGray {
    background-color: #666;
}

.circleOrange {
    background-color: #ff8902;
}

.circleYellow {
    background-color: #fbff02;
}

.circleRed {
    background-color: #ff3333;
    animation: panic 1s linear infinite;
}

.centrado {
    display: flex;
    align-items: center;
}

div#ew-list {
    box-shadow: 0 0 10px 0 #8e8e8e;
    border-radius: 5px;
}

tr:nth-child(2n) {
    background-color: #e3eeff;
}

tr:nth-child(2n):hover {
    --bs-table-accent-bg: rgba(0, 0, 0, 0.075);
    color: var(--bs-table-color);
}

tr:nth-child(2n+1) {
    --bs-table-striped-bg: #fbfbfb;
}

.card-body.ew-grid-middle-panel.table-responsive.h-auto {
    max-height: 500px;
    overflow-y: auto;
}

.nav-tabs,
.nav-pills {
    margin-bottom: 0;
}

.nav-tabs .nav-link.active,
button.nav-link.active:focus {
    color: #fbfbfb;
    background-color: #0c66ea;
    border-color: #16315a;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    color: #3c3c3c;
    transform: none !important;
    background-color: #deecff;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link.active:hover {
    color: #fbfbfb;
    transform: none !important;
    background-color: #0c66ea;
    cursor: auto;
}

.nav-tabs .nav-link {
    transition: background-color 0.75s !important;
}

.ew-form:not(.ew-list-form):not(.ew-user-priv-form),
table.ew-master-table.ew-vertical,
.query-builder {
    max-width: 100%;
}

.msgWarning {
    background-color: #fff6f6;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-top: -10px;
    border: 1px solid #d0d0d0;
    box-shadow: 0 0 3px 0 #ff0000;
    font-weight: bold;
    color: #ab0b0b;
}

body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper,
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer,
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
    margin-left: 0;
}

#details_Page .nav .nav-item .nav-link {
    background-color: transparent !important;
    color: black !important;
    border: transparent !important;
    font-weight: bold !important;
    padding-bottom: 1px !important;
    margin-bottom: 15px !important;
    margin-right: 10px;
}

#details_Page .nav .nav-item .nav-link:hover {
    border-bottom: 3px solid #3780ef !important;
}

#details_Page .nav .nav-item .nav-link.active {
    border-bottom: 3px solid #1154b8 !important;
}

.card-header {
    background-color: #d0e3ff;
    border-bottom: 0px;
}

.tabulator-tableholder {
    max-height: 600px;
}

.tabulator-header {
    background-color: #d0e3ff !important;
    border: transparent !important;
}

.information {
    margin-left: 10px;
}

.ew-no-record div#ew-list {
    box-shadow: unset !important;
}

#r_id_dir_facturacion {
    display: none;
}

ol.breadcrumb.float-sm-end.ew-breadcrumbs {
    display: none;
}

a.nav-link.active {
    color: white;
    transition: transform 0.5s;
    border-bottom: 2px solid #403457;
}

footer.main-footer {
    width: 100%;
    margin: auto;
    position: absolute;
    box-shadow: 0 0 11px 5px #cccccc;
    box-shadow: 10px 0 11px 0px #cccccc, -10px 0 17px -5px #cccccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.content-newRMA {
    color: #343434;
    /* margin-right: -3500px; */
    margin-right: 0;
    margin-bottom: 40px;
    transition: margin-right 1.5s, height 1s;
    background-color: #f0f0f0;
    box-shadow: 0 0 10px 0 #636363;
    width: 95%;
    padding: 20px 0;
    border-radius: 10px;
}

#ew-nav-link-user i.fa-solid.fa-user {
    color: white;
}

div#r_id_parent_irreparable,
div#r_id_rma {
    display: none;
}

.modal-body div div .btn-group.btn-group-sm.ew-btn-group.ew-list-options {
    display: none;
}

.btn-toolbar.ew-toolbar {
    display: none;
}

button#cancel-buttonconfirmModal {
    margin-left: 15px;
}

.hidden {
    display: none;
}

.ui-widget-overlay {
    opacity: 1 !important;
    background-color: rgba(119, 119, 119, 0.5) !important;
}

/* En principio esto es para ocultarlo de la tabla, ya que no quiero que salga, falta probar que igual el PHPMaker lo tome, que entiendo que si.*/
tr#r_id_rma {
    display: none;
}

#r_whoDo {
    display: none;
}

div#toastsContainerTopRight {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: rgb(128, 128, 128, 0.5); */
}

.toast.ew-toast {
    height: 25%;
    width: 25%;
}

.toast-body {
    padding: var(--bs-toast-padding-x);
    word-wrap: break-word;
}

.titlePage {
    font-weight: bold;
    color: #32244a;
}

body {
    color: #5d5d5d;
}

aside.main-sidebar.sidebar-dark-lightblue {
    display: none;
}

.titlePage {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.headerContent {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-bottom: 20px;
}

body {
    /* Barra de desplazamiento completa */
    scrollbar-width: thin;
    scrollbar-color: blue transparent;
    height: 60vh;
    /* Adjust this value as needed */
    overflow-y: auto;

    /* Configuración para navegadores Webkit */
    ::-webkit-scrollbar {
        width: 8px;
        /* Ancho de la barra de desplazamiento */
    }

    ::-webkit-scrollbar-thumb {
        background-color: #32244a;
        /* Color del indicador (la "barra" que se mueve) */
        border-radius: 8px;
        /* Redondeo de las esquinas del indicador */
    }

    ::-webkit-scrollbar-track {
        background-color: transparent;
        /* Color del "rastro" que queda cuando se mueve el indicador */
    }

}

/* Estilo global de barra de desplazamiento */
html, * {
    scrollbar-width: thin;
    scrollbar-color: blue transparent;
}

html::-webkit-scrollbar, *::-webkit-scrollbar {
    width: 10px;
}

html::-webkit-scrollbar-thumb, *::-webkit-scrollbar-thumb {
    background-color: #32244a;
    border: 1px solid white;
    border-radius: 10px;
}

html::-webkit-scrollbar-track, *::-webkit-scrollbar-track {
    background-color: transparent;
}

/* Configuración específica para el body (como el height y overflow-y) */
body {
    height: 60vh;
    overflow-y: auto;
}


.line {
    border-color: black;
    height: 1px;
    border-width: 1px;
    border: 1px solid #6c97c1;
    border-style: dashed;
    width: 100%;
    margin-bottom: 10px;
}

.mainContent.user {
    background-color: #ffffff;
    margin: 80px;
    margin-bottom: 0;
    border-radius: 2em;
    padding: 4em;
}

body.pace-done.ew-layout-top-nav {
    background-color: white;
}

.padding {
    padding: 20px;
}

.content-wrapper {
    background-color: #fff;
}

.row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 5px;
    ;
}

.required {
    color: red;
}

.column {
    flex: 50%;
}

input[type='radio'] {
    cursor: pointer;
}

label {
    min-width: 10%;
}

.alignCenter {
    text-align: center;
}

.centerContent {
    display: flex;
    align-items: center;
    justify-content: center;
}

i.fas.fa-file-pdf {
    font-size: 30px;
    color: #c70000;
    transition: scale 0.2s;
}

i.fas.fa-file-pdf:hover {
    scale: 1.2;
}

/* CSS DE LAS TABLAS */
.table-container {
    overflow-x: scroll;
}

.fixed_headers {
    table-layout: fixed;
    width: 100%;
}

.fixed_headers th,
.fixed_headers td {
    width: 20%;
    padding: 5px;
    text-align: left;
    overflow: hidden;
}

.fixed_headers th:nth-child(1),
.fixed_headers td:nth-child(1) {
    width: 25%;
}

.fixed_headers th:nth-child(2),
.fixed_headers td:nth-child(2) {
    width: 20%;
}

.fixed_headers th:nth-child(3),
.fixed_headers td:nth-child(3) {
    width: 20%;
}

.fixed_headers th:nth-child(4),
.fixed_headers td:nth-child(4) {
    width: 35%;
}

.fixed_headers thead {
    background-color: #32244a;
    color: #FDFDFD;
}

.fixed_headers tbody {
    height: auto;
    max-height: 400px;
    overflow: auto;
}

.fixed_headers tbody tr:nth-child(even) {
    background-color: #DDD;
}

.old_ie_wrapper {
    height: 300px;
    width: 750px;
    overflow-x: hidden;
    overflow-y: auto;
}

@media only screen and (max-width: 590px) {
    .mainContent.user {
        overflow-x: scroll;
    }
    .fixed_headers {
        width: auto;
    }

    .table-container{
        height: 500px;
    }
}

/* FIN CSS TABLAS */

.errorMsg,
.showMsg {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
    width: 100%;
}

.errorMsg {
    background-color: #ffe2e2;
    border: 1px solid #b52d2d;
    color: #e20000;
}

.showMsg {
    background-color: #9be089;
    border: 1px solid #1b6e05;
    color: #292929;
}

.hideMsg{
    animation: hide 1s forwards;
}

@keyframes hide {
    0% {
        transform: scaleY(1);
    }

    99% {
        transform: scaleY(0);
    }

    100% {
        transform: scaleY(0);
        display: none;
    }
}

/* FIN CSS DE LAS TABLAS */

form {
    width: 100%;
}

.errorDiv {
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 30px;
}

.fileDiv{
    border-bottom: 1px solid #e7ffff;
}

i.fa-solid.fa-arrow-right-to-bracket.ew-icon {
    display: none;
}

.centerRow{
    justify-content: center;
}

.specialColumn{
    flex: none;
    width: auto;
}

.flexStartRow{
    justify-content: flex-start;
}

.autocomplete-items {
    position: absolute;
    background-color: #d5d5d5;
    max-height: 30vh;
    border: 1px solid #666666;
    z-index: 15;
    overflow-y: scroll;
    width: 100%;
    box-shadow: 0px 4px 5px 0px #848484;
    color: black;
    padding-left: 10px;
}

.textInput.selectText {
    position: relative;
    padding-right: 30px; /* Ajusta este valor según lo necesites */
}

.selectText {
    position: relative; /* Necesario para el posicionamiento del pseudo-elemento */
}

.hidden{
    display: none;
}

.content-wrapper {
    height: auto!important;
}

.content-wrapper > .content {
    margin-top:160px;
}

.content > .container-fluid{
    padding-bottom: 120px;
}

.mt-100{
    margin-top: 100px;
}

.mt-50{
    margin-top: 50px;
}

.mt-25{
    margin-top: 25px;
}

.readonly{
    background-color: #dcdcdc !important;
    border-radius: 5px 5px 0px 0px;
}

a:hover{
    color: #786c8a;
}

.width90{
    width: 90% !important;
}

.textFile {
    font-size: 1em;
    font-weight: 200;
    font-style: italic;
    max-width: 100%;
}