﻿
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html, body {
    font-family: 'Roboto', sans-serif;
    font-size: .875rem;
}

/*Font Solver*/

.font-roboto {
    font-family: 'Roboto', sans-serif !important;
}

.font-raleway {
    font-family: 'Raleway', sans-serif !important;
}

/*Colors Solver*/
.color-red {
    color: #C20821 !important;
}

/*Login Styles*/
.body-login {
    height: 100vh;
    padding: 0;
    margin: 0;
    transform-origin: 0 0;
    transition: transform .25s, visibility .25s ease-in;
    overflow: hidden;
}

.body-login-background {
    background-image: url("../img/background_login.png");
    background-size: cover;
    border-top-right-radius: 5rem;
    border-bottom-right-radius: 5rem;
}

.logo-theme-img {
    background-image: url('../img/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 6.5rem;
}

.body-login-form {
    display: table;
    height: 100vh;
}

    .body-login-form .box {
        vertical-align: middle;
        display: table-cell;
    }

        .body-login-form .box .box-img {
            background-image: url('../img/logo.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            height: 6.5rem;
        }

        .body-login-form .box .box-title {
            font-family: "Futura";
            font-size: 2.5rem;
            font-weight: bold;
            text-transform: uppercase;
        }

        .body-login-form .box form {
            background-color: white;
            border-radius: 3rem !important;
        }

        .body-login-form .box .parent-form {
            background-color: rgb(214,209,209);
            border-radius: 3rem !important;
            overflow: hidden;
        }

        .body-login-form .box form .form-control {
            background-color: #f0f0f0;
        }

        .body-login-form .box form .input-floating-label .floating-label {
            background-color: #f0f0f0;
        }

/*Buttons*/
.btn {
    border-radius: 1rem;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 500;
}

.btn-danger {
    color: white;
    background-color: rgb(183,28,28);
    border-color: rgb(183,28,28);
}

    .btn-danger:hover, .btn-danger:active, .btn-danger:focus {
        color: white;
        background-color: rgba(183,28,28,0.95);
        border-color: rgba(183,28,28,0.95);
    }

.btn-danger-light {
    color: white;
    background-color: rgb(227,79,79);
    border-color: rgb(227,79,79);
}

    .btn-danger-light:hover, .btn-danger-light:active, .btn-danger-light:focus {
        color: white;
        background-color: rgba(227,79,79,0.95);
        border-color: rgba(227,79,79,0.95);
    }

.btn-gray {
    background-color: rgb(155,164,166);
    border-color: rgb(155,164,166);
    color: white;
}

    .btn-gray:hover, .btn-gray:active, .btn-gray:focus {
        color: white;
        background-color: rgba(155,164,166,0.95);
        border-color: rgba(155,164,166,0.95);
    }

.btn-orange {
    background-color: rgb(255,124,20);
    border-color: rgb(255,124,20);
    color: white;
}

    .btn-orange:hover, .btn-orange:active, .btn-orange:focus {
        color: white;
        background-color: rgba(255,124,20,0.95);
        border-color: rgba(255,124,20,0.95);
    }

.btn-turquesa {
    background-color: rgb(4,139,168);
    border-color: rgb(4,139,168);
    color: white;
}

    .btn-turquesa:hover, .btn-turquesa:active, .btn-turquesa:focus {
        color: white;
        background-color: rgb(4,139,168);
        border-color: rgb(4,139,168);
    }

.btn-green {
    background-color: rgb(22,219,147);
    border-color: rgb(22,219,147);
    color: white;
}

    .btn-green:hover, .btn-green:active, .btn-green:focus {
        color: white;
        background-color: rgb(22,219,147);
        border-color: rgb(22,219,147);
    }

/*Inputs*/
.form-control:focus {
    border-color: rgba(183,28,28,0.4) !important;
    outline: 0;
}

/*Sidebar*/
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 60px 0 0; /* Height of navbar */
    /*box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);*/
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #727272;
    }

    .sidebar .nav-link.active {
        color: #007bff;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*Navbar*/
.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    /*background-color: rgba(0, 0, 0, .08);*/
    /*box-shadow: inset -1px 0 0 rgb(0 0 0 / 10%);*/
}

.navbar-dark .navbar-toggler {
    border-color: rgb(183,28,28);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28183, 28, 28, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 0rem;
}

/*Backgrounds*/
.bg-solver {
    background-color: #ECEBEB;
}

.bg-solver-red {
    background-color: #E34F4F;
    color: white;
}

.bg-solver-orange {
    background-color: #FF7C14;
    color: white;
}

.bg-solver-blue {
    background-color: #048BA8;
    color: white;
}

.bg-solver-green {
    background-color: #16DB93;
    color: white;
}

/*Shadows*/
.shadow-solver {
    box-shadow: 0px 5px 7px 1px rgba(150,123,123,0.94);
    -webkit-box-shadow: 0px 5px 7px 1px rgba(150,123,123,0.94);
    -moz-box-shadow: 0px 5px 7px 1px rgba(150,123,123,0.94);
}

/*Cards para Seleccionar Empresa*/
.card-company {
    border-radius: 1.5rem;
    overflow: hidden;
}

    .card-company .card-body {
        min-height: 21rem;
    }

        .card-company .card-body .title {
            height: 2.3rem;
            overflow: hidden;
        }

/*Titulo y SubTitulo en Menu Superior*/
.navbar-text .title-header {
    color: rgb(183,28,28);
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: 800;
}

.navbar-text .subtitle-header {
    color: rgb(155,164,166);
    text-transform: uppercase;
}

/*Menu Usuario*/
.menu-solver {
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    overflow: hidden;
}

    .menu-solver .title {
        font-size: 0.8rem;
        cursor: pointer !important;
        font-weight: bold;
    }

    .menu-solver .box {
        min-height: 7rem;
        max-height: 7.4rem;
        border-radius: 0.85rem;
        cursor: pointer;
    }

        .menu-solver .box .title {
            font-size: 0.7rem;
            font-weight: normal;
            min-height: 2.2rem;
            overflow: hidden;
        }

.text-footer {
    font-size: 1rem;
}

    .text-footer .text-danger {
        color: #E34F4F;
        font-weight: bold;
    }

.btn-burger {
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    border-radius: .28rem;
    overflow: hidden;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    transition: background-color .15s;
    color: rgb(33, 37, 41);
    padding: 0;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28183, 28, 28, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e) !important;
    filter: grayscale(1);
}

.modal-header {
    /*border-bottom-color: #f7f7f7;*/
    border-bottom-color: rgb(183,28,28) !important;
    /*background-color: #2087c5;
    color: white;*/
    background-color: rgb(183,28,28) !important;
    color: white !important;
}
/*
.ajs-error {
    width: 400px !important;
    font-size: 20px;
    font-weight: 400
}*/

/* Agregado para mejorar solver core */

/*JqxGrid*/
.jqx-widget-content {
    font-size: 0.9rem;
    font-family: "Open Sans",Arial,sans-serif;
}

.jqx-grid-table {
    font-size: 0.9rem;
    font-family: "Open Sans",Arial,sans-serif;
    border-right: 1px solid #c8c7c7 !important;
}

.jqx-listitem-state-selected-arctic, .jqx-menu-item-selected-arctic, .jqx-tree-item-selected-arctic, .jqx-calendar-cell-selected-arctic, .jqx-grid-cell-selected-arctic, .jqx-menu-vertical-arctic .jqx-menu-item-top-selected-arctic, .jqx-grid-selectionarea-arctic, .jqx-input-button-header-arctic, .jqx-input-button-innerHeader-arctic {
    color: #5c5c5c !important;
    background-color: #2087c5;
    background-color: #003399;
    background-repeat: repeat-x;
    border-color: #e1e1e1 #e1e1e1 #e1e1e1 !important;
    background: #efae4378;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.jqx-listitem-state-selected-bootstrap, .jqx-menu-item-selected-bootstrap, .jqx-tree-item-selected-bootstrap, .jqx-calendar-cell-selected-bootstrap, .jqx-grid-cell-selected-bootstrap, .jqx-menu-vertical-bootstrap .jqx-menu-item-top-selected-bootstrap, .jqx-grid-selectionarea-bootstrap {
    color: #333 !important;
    background-color: #f9e4c1 !important;
    border-color: #c8c7c7 !important;
    font-size: 0.9rem;
    font-family: "Open Sans",Arial,sans-serif;
}

.jqx-fill-state-hover-bootstrap {
    font-size: 0.9rem;
    font-family: "Open Sans",Arial,sans-serif;
}

.jqx-widget .jqx-grid-cell, .jqx-widget .jqx-grid-column-header, .jqx-widget .jqx-grid-group-cell {
    border-color: #c8c7c7;
}

.jqx-grid-pager-bootstrap {
    background: #f7f7f7 !important;
    color: #333;
    font-weight: normal
}

.jqx-widget-bootstrap .jqx-grid-group-expand-bootstrap, .jqx-grid-group-expand-bootstrap, .jqx-grid-column-menubutton-bootstrap, .jqx-grid-column-sortdescbutton-bootstrap, .jqx-expander-arrow-top-bootstrap, .jqx-window-collapse-button-collapsed-bootstrap, .jqx-menu-item-arrow-down-bootstrap, .jqx-menu-item-arrow-down-selected-bootstrap, .jqx-menu-item-arrow-down-bootstrap, .jqx-icon-arrow-down-bootstrap, .jqx-icon-arrow-down-hover-bootstrap, .jqx-icon-arrow-down-selected-bootstrap {
    filter: brightness(0.5);
}

.jqx-grid-column-sortascbutton-bootstrap, .jqx-expander-arrow-bottom-bootstrap, .jqx-window-collapse-button-bootstrap, .jqx-menu-item-arrow-up-bootstrap, .jqx-menu-item-arrow-up-selected-bootstrap, .jqx-menu-item-arrow-top-up-bootstrap, .jqx-icon-arrow-up-bootstrap, .jqx-icon-arrow-up-hover-bootstrap, .jqx-icon-arrow-up-selected-bootstrap {
    filter: brightness(0.5);
}

/* CSS - RESPONSIVE */

@media (max-width: 1500px) {
    .jqx-grid-table {
        font-size: 0.8rem;
        font-family: "Open Sans",Arial,sans-serif;
        border-right: 1px solid #c8c7c7 !important;
    }
}

@media (max-width: 1024px) {
    .jqx-grid-table {
        font-size: 0.7rem;
        font-family: "Open Sans",Arial,sans-serif;
        border-right: 1px solid #c8c7c7 !important;
    }
}

@media (max-width: 960px) {
    .jqx-grid-table {
        font-size: 0.6rem;
        font-family: "Open Sans",Arial,sans-serif;
        border-right: 1px solid #c8c7c7 !important;
    }
}

/*Statusbar*/
.status-bar-app {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 999999;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(52,58,64,0.75);
    overflow-x: hidden;
    transition: 0.5s;
    display: table;
}

    .status-bar-app .text {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        color: white;
        transition: 0.5s;
    }

/*Modals*/
.modal-header {
    border-bottom-color: #f7f7f7;
    background-color: #2087c5;
    color: white;
}

    .modal-header .close {
        padding: 0.5rem 0.5rem;
        margin: -1rem -1rem -1rem auto;
        position: absolute;
        right: 0.5em;
        font-size: 3rem;
        color: black;
    }

.modal-content {
    border: inherit;
}

/*Error label*/
label.error {
    color: rgb(207, 48, 33);
    font-size: 0.8em;
    background-color: #FFEB3B;
    margin-bottom: 0;
    padding: 0.2em;
    border-radius: 0.3em;
}

/*Editor de Querys*/
.CodeMirror {
    height: auto;
    border: 1px solid #ddd;
}

.CodeMirror-scroll {
    min-height: 50vh;
}

.CodeMirror pre {
    padding-left: 7px;
    line-height: 1.25;
}

.tab-content {
    border-left: 1px solid #c5d0dc;
    border-right: 1px solid #c5d0dc;
    border-bottom: 1px solid #c5d0dc;
    padding: 1rem;
    background-color: white;
}

/*.dropdown-toggle::after {
    display: none !important;
}
*/

.modal-25.modal.show .modal-dialog {
    max-width: 25%;
}

.modal-50.modal.show .modal-dialog {
    max-width: 50%;
}

.modal-60.modal.show .modal-dialog {
    max-width: 60%;
}

.modal-65.modal.show .modal-dialog {
    max-width: 65%;
}

.modal-75.modal.show .modal-dialog {
    max-width: 75%;
}

.modal-80.modal.show .modal-dialog {
    max-width: 80%;
}

.modal-85.modal.show .modal-dialog {
    max-width: 85%;
}

.modal-90.modal.show .modal-dialog {
    max-width: 90%;
}

.modal-95.modal.show .modal-dialog {
    max-width: 95%;
}

.modal-100.modal.show .modal-dialog {
    max-width: 100%;
}

.modal-search-30 .modal-dialog {
    max-width: 30%;
}

.modal-search-40 .modal-dialog {
    max-width: 40%;
}

.modal-search-50 .modal-dialog {
    max-width: 50%;
}

.modal-search-60 .modal-dialog {
    max-width: 60%;
    margin-top: 130px;
}

.modal-search-70 .modal-dialog {
    max-width: 70%;
}

.modal-search-80 .modal-dialog {
    max-width: 80%;
}

.modal-search-90 .modal-dialog {
    max-width: 90%;
}

.modal-search-95 .modal-dialog {
    max-width: 95%;
}

.modal-search-100 .modal-dialog {
    max-width: 100%;
}

.almacen-box {
    background-color: #f9e4c1
}


.listbox-solver {
}

    .listbox-solver .header {
        background-color: #e9ecef;
    }

    .listbox-solver .body {
        height: 120px;
        overflow-y: auto;
    }

        .listbox-solver .body .list-group-item.active {
            z-index: 2;
            color: black;
            background-color: white;
            border-color: rgba(0,0,0,.125);
        }

            .listbox-solver .body .list-group-item.active:after {
                font-family: "FontAwesome";
                font-size: inherit;
                content: "\f00c";
                float: right;
            }

        .listbox-solver .body .list-group-item {
            cursor: pointer;
            padding-top: 0.8rem;
            padding-bottom: 0.8rem;
        }

            .listbox-solver .body .list-group-item:hover {
                background-color: #f0f0f0;
            }

    .listbox-solver .header .form-control {
        background-color: #e9ecef;
    }

        .listbox-solver .header .form-control:focus {
            color: #495057;
            background-color: #e9ecef;
            border-color: #80bdff;
            outline: 0;
            box-shadow: none;
        }

    .listbox-solver .body::-webkit-scrollbar {
        width: 8px;
    }

    /* Track */
    .listbox-solver .body::-webkit-scrollbar-track {
        box-shadow: inset 0 0 1px grey;
        border-radius: 0px;
    }

    /* Handle */
    .listbox-solver .body::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 0px;
    }

        /* Handle on hover */
        .listbox-solver .body::-webkit-scrollbar-thumb:hover {
            background: #7b7777;
        }