@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: local('Material Icons'),
        local('MaterialIcons-Regular'),
        url(../font/MaterialIconsOutlined-Regular.otf) format("opentype"),
        url(../font/MaterialIconsRound-Regular.otf) format("opentype"),
        url(../font/MaterialIconsSharp-Regular.otf) format("opentype"),
        url(../font/MaterialIconsTwoTone-Regular.otf) format("opentype"),
        url(../font/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-size: 24px;
    /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

body {
    font-size: 16px;
    background-color: #fff !important;
    margin: 0;
}

input[type="text"], input[type="search"] {
    background-color: #ffe5bd;
    color: #000;
}

img {
    width: 100%;
}

.btn.btn-primary:not(.btn-initial) {
    background-color: #343a40;
    border-color: unset;
}

.btn.btn-primary:not(.btn-initial):hover {
    background-color: #212529;
}

.btn.btn-primary:not(.btn-initial):active {
    background-color: #000 !important;
    border-color: #ff9900 !important;
}

.tooltip {
    z-index: 9999;
}

/*INPUT RADIO*/

.input-radio {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

.input-radio input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #999;
    border-radius: 50%;
    margin-right: 5px;
    transition: 0.2s all linear;
}

.input-radio input[type="radio"]:checked {
    border: 6px solid #ff9900;
}

.input-radio label {
    margin: 0;
}

/*SEPARATOR*/

.hSeparator {
    margin: 0 15px;
}

/*CUSTOM BADGE*/

.custom-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    height: 20px;
    background-color: #000;
    color: #fff;
    padding: 2px 5px;
    border-radius: 5px;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
}

.custom-badge-grey {
    background-color: #808080;
}

.custom-badge-blue {
    background-color: #64B5F6;
}

.custom-badge-green {
    background-color: #81c784;
}

.custom-badge-yellow {
    background-color: #f6f664;
    color: #000;
}

.custom-badge-orange {
    background-color: #ffb74d;
}

.custom-badge-red {
    background-color: #e57373;
}

/*LOGIN*/

.login-columns .row {
    margin: 0 25%;
}

#loginForm {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
}

#loginForm img {
    border-radius: 10px;
}

.form-control:focus {
    border-color: #343a40;
    box-shadow: 0 0 0 0.2rem #343a4040;
}

#loginEmail,
#loginPass,
#loginButton {
    border-radius: 10px;
}

#loginEmail,
#loginPass {
    margin-bottom: 1rem;
}

.invalid-feedback {
    margin: 1rem 0;
}

/*ALERTAS*/

.swal-text {
    text-align: center;
}

/*LOADER*/

.loader-wrap {
    background: rgba(255, 255, 255, .6);
    position: fixed;
    overflow: hidden;
    height: 100%;
    width: 100%;
    z-index: 9999;
}

.loader {
    top: 50%;
    right: 10%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    margin: 0 auto;
    width: 32px;
    height: 32px;
    position: relative;
}

.cube1,
.cube2,
.cube3,
.cube4,
.cube5 {
    background-color: #000;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    -webkit-animation: cubemove 2s infinite ease-in-out;
    animation: cubemove 2s infinite ease-in-out;
}

.cube2 {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.cube3 {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.cube4 {
    -webkit-animation-delay: -1.5s;
    animation-delay: -1.5s;
}

.cube5 {
    -webkit-animation-delay: -2s;
    animation-delay: -2s;
}

@keyframes cubemove {
    0% {
        -webkit-transform: translateX(-120px);
        transform: translateX(-120px);
    }

    50% {
        -webkit-transform: translateX(0px) rotate(180deg) scale(2.2);
        background: #5f5342;
        opacity: 1;
    }

    100% {
        -webkit-transform: translateX(120px);
        transform: translateX(120px);
    }
}

body>.loader-wrap>.loader {
    right: 0;
}

/*MENÚ IZQUIERDA*/

#sidebar {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
}

#sidebar li {
    border-bottom: 1px solid #a7b1c2;
}

#sidebar li.active {
    border-color: #ff9900;
}

.nav-header {
    display: flex !important;
    justify-content: center;
    background-color: #fff;
    background-image: none;
}

#brandImage {
    width: 70%;
}

/*CONTENIDO*/

#navbarBrand {
    display: flex;
    align-items: center;
    padding: 0 25px;
}

#projectsForm {
    display: flex;
    flex-flow: row nowrap;
    gap: 20px;
}

/*TABLA*/

thead th {
    background-color: #293846 !important;
    color: #fff;
    border-radius: 0 !important;
}

.combo {
    display: inline-block;
    width: auto;
    margin: 20px;
}

.combo:first-child {
    margin-left: 0;
    margin-right: 0;
}

/*SEARCHER*/

#searchButton {
    position: absolute;
    bottom: 0;
    height: 35px;
    margin-bottom: 1rem;
}

#goPrevBatch {
    font-size: 25px;
    margin: 10px 0;
    cursor: pointer;
}

#goPrevBatch:hover {
    color: #000;
}

.ibox-tools {
    top: 7px;
}

#downloadBatches {
    margin: 0 20px;
}

#docsTable th {
    background-color: #1ab394 !important;
}

.table-doc-id, .table-batch-id {
    cursor: pointer;
}

.table-doc-id:hover, .table-batch-id:hover {
    color: #ff9900;
}

.table-doc-date {
    white-space: nowrap;
}

/*doc-img-preview*/

.doc-img-preview {
    display: none;
    position: fixed;
    top: 50%;
    width: 65%;
    transform: translate(0, -50%);
    z-index: 9999;
}

.doc-img-preview.shown {
    display: block;
}

/*docsModal*/

#docsModal {
    padding: 0 !important;
}

#docsModal .modal-dialog {
    width: inherit;
    max-width: none;
    height: 100%;
    margin: 0 !important;
    border-radius: 0 !important;
}

#docsModal .modal-content {
    height: 100%;
}

#docsModal .modal-header {
    height: 50px;
    padding: 10px;
}

#docsModal .change-element-container {
    display: flex;
    align-items: center;
    margin-left: auto;
    user-select: none;
}

.docs-modal-title {
    font-weight: 600;
    margin: 0;
    user-select: text;
}

#docsModal .go-prev,
#docsModal .go-next {
    font-size: 30px;
    margin: 0 50px;
    cursor: pointer;
}

#docsModal .go-prev[disabled],
#docsModal .go-next[disabled] {
    color: rgba(0, 0, 0, 0.14);
    cursor: initial;
}

.modal-element-position {
    user-select: text;
}

#docsModal button.close {
    user-select: none;
}

#docsModal .modal-body {
    display: flex;
    flex-flow: row nowrap;
    max-height: calc(100% - 50px);
    padding: 0;
}

.docs-modal-image-container {
    display: flex;
    justify-content: center;
    width: 85%;
    height: 100%;
    background-color: lightgrey;
    padding: 20px;
    user-select: none;
}

.docs-modal-image-container img {
    width: auto;
    box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.2);
}

.docs-modal-fields-container {
    width: 15%;
    height: 100%;
    padding: 20px;
    overflow: overlay;
    user-select: none;
}

.docs-modal-fields-container h1 {
    font-weight: 500;
    border-bottom: 1px solid;
    margin: 20px 0;
    user-select: text;
}

.docs-modal-fields {
    user-select: text;
}

.docs-modal-field-value {
    margin: 0 5px;
    vertical-align: middle;
}