﻿/*  COLORES */
:root {
    --colorPrimaryLight: #851629; /*#0678c6;*/
    --colorPrimary: #851629; /*#015289;*/
    --colorPrimaryDark: #851629; /*#034978;*/
    --colorTextLight: #696969; /**/
    --colorTextDark: #16181b; /**/
    --colorTextPrimary: #bea261;
    --colorTextPrimaryDark: #967e46;
    --colorBackgroundButton: #720d1f;
}



/*
    SITE STYLE
*/

.right {
    float: right;
}

.footer-grid {
    background-color: #eee;
    height: 30px;
    position: relative;
}

.gridAdaptivity {
    max-width: 100%;
    position: relative;
}

a:visited {
    color: unset;
}

.hidden {
    display: none;
}

img[id$="imgProfile"] {
}

nav.navbar .container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}

.dropdown-toggle::after {
    color: var(--colorTextDark);
}

#userAdmin .icon-user {
    font-size: 18px;
    margin-top: 14px;
    color: #FFF;
}

#userAdmin a:visited span, #userAdmin a span {
    color: #FFF !important;
}

#userAdmin.show a:visited h5, #userAdmin.show a:visited small {
    color: #FFF !important;
}

#userAdmin .float-left {
    width: 45px;
    text-align: center;
}

#userAdmin .info-user {
    float: left;
    width: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    padding: 10px 0px;
}

#userAdmin #dropDownUser {
    width: 100%;
    padding: 0px 4px;
    border-radius: 0;
    height: 50px;
}

#userAdmin .dropdown-toggle::after {
    color: #FFF !important;
}

#userAdmin .dropdown-menu {
    width: 100%;
    font-size: 12px;
    position: absolute;
    right: 0;
    left: unset;
    padding-bottom: 0px;
    padding-top: 0px;
    text-transform: uppercase;
}

.dropdown-menu .dropdown-item {
    padding: .4rem 1.5rem;
}

    .dropdown-menu .dropdown-item:last-child {
        text-align: center;
        text-transform: uppercase;
        border-top: 1px solid #EEE;
        padding-top: 10px;
        font-size: 13px;
        padding-bottom: 10px;
    }

img.img-profile {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    border: none;
    float: left;
    border: 1px solid #888;
    margin-right: 17px;
    object-fit: cover;
}

.img-circle {
    border-radius: 100%;
}

#userAdmin h5 {
    font-size: 1em;
    margin: 0px;
    line-height: 28px;
}

#userAdmin small {
    font-size: 0.7em;
}

.navbar {
    padding: 0px 4px !important;
    background-color: var(--colorPrimaryDark) !important;
    border-bottom: 1px solid #D9DEE4;
}

.btn-menu {
    color: #CCC;
    box-shadow: none !important;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
}

    .btn-menu:hover {
        color: #FFF;
    }

.sidebar-header h3 {
    font-size: 1em;
}

.sidebar-header img {
    max-width: 100%;
    height: 100%;
}

body {
    background: #fafafa;
}

p {
    /*font-family: 'Poppins', sans-serif;*/
    font-weight: 300;
    line-height: 1.4em;
    color: #999;
}

.list-unstyled a,
.list-unstyled a:hover,
.list-unstyled a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 15px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

/*.wrapper > div {
        width: 100%;
    }*/

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #FFF;
    color: var(--colorTextDark);
    transition: all 0.3s;
}

    #sidebar span[id$="lblSiteName"] {
        font-size: 20px !important;
        font-weight: 600;
    }

    #sidebar.active {
        margin-left: -250px;
    }

    #sidebar .sidebar-header {
        padding: 5px;
        background-color: var(--colorPrimaryDark) !important;
        text-align: center;
        height: 50px;
    }

    #sidebar ul.components {
        padding: 0px 0 20px 0;
    }

        #sidebar ul.components li:last-child {
            border-bottom: 1px solid rgba(200,200,200,0.3);
        }

    #sidebar ul p {
        color: #fff !important;
        padding: 10px;
    }

    #sidebar ul li a {
        padding: 10px;
        font-size: 14px !important;
        display: block;
        color: #FFF;
    }

    #sidebar > ul > li:not(:first-child) > a:hover {
        color: #FFF !important;
        background: var(--colorPrimaryDark);
    }

    #sidebar ul > li:not(:first-child) > a:hover::after {
        color: #FFF !important;
    }

    #sidebar > ul > li {
        border-bottom: 1px solid #EFEFEF;
    }

    #sidebar ul > li > a {
        color: var(--colorTextDark);
    }

    #sidebar ul > li > a {
        color: var(--colorTextDark);
    }

    #sidebar ul li.active > a,
    #sidebar a[aria-expanded="true"] {
        color: #FFF !important;
        background: var(--colorPrimaryDark);
        box-shadow: none !important;
    }

a[data-bs-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.dropdown-toggle {
    box-shadow: none;
}

ul ul a:not(.dxtc-link) {
    font-size: 0.8em !important;
    padding-left: 40px !important;
}

ul.CTAs {
    padding: 20px;
}

    ul.CTAs a {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    height: fit-content;
    transition: all .3s;
    background-color: #f7f7f7;
    position: relative;
    padding-bottom: 58px;
    min-height: 100vh;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

        #sidebar.active {
            margin-left: 0;
        }

    #sidebarCollapse span {
        display: none;
    }

    /*.col-xs-6 {
                width: 50%;
                flex: 0 0 50%;
            }*/

    .gridAdaptivity.dxgvTable, .gridAdaptivity .dxgvTable {
        table-layout: fixed;
    }

    .gridAdaptivity td {
        float: left;
        width: 100%;
        display: contents;
    }

    .gridAdaptivity .photoBlog {
        width: max-content;
        text-align: center;
        max-width: 100%;
    }

    .gridAdaptivity .tdBlogLt {
        max-width: 100% !important;
    }

    .gridAdaptivity .footer-grid {
        display: block;
    }
}

#infoLeftUser h6 {
    margin-bottom: 0px;
    font-size: 13px;
    margin-top: 4px;
    color: var(--colorTextDark);
}

#infoLeftUser span {
    text-transform: capitalize;
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 600;
    color: var(--colorTextDark);
}

.textEntry, .passwordEntry {
    max-width: 100%;
}

.container-body {
    background-color: #FFF;
    border: 1px solid #E6E9ED;
    padding: 10px;
    padding-bottom: 20px !important;
    margin-bottom: 5px;
}

.pageName {
    font-weight: 500;
    color: var(--colorPrimary);
    font-size: 1.8em;
    letter-spacing: 2px;
    margin-left: 7px;
    margin-bottom: 15px;
    display: block;
    text-transform: capitalize;
}

#lblUser {
    text-transform: capitalize;
}

.BoxGeneral {
    font-size: 14px;
}

.panel-default {
    width: 100%;
    display: inline-block;
}

.panel-title {
    font-size: 16px;
    padding: 4px;
}

.panel-default > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #ddd;
}

.panel-group .panel-heading + .panel-collapse > .panel-body {
    border-top: 1px solid #ddd;
}

.panel-body {
    padding: 15px;
}

.tab-overflow-visible, div.dxtc-content {
    overflow: visible !important;
}

@media (max-height: 740px) {
    .dxflFormLayout_Moderno.dxhe-mediaDialog .dxic-control {
        height: 380px;
    }

    div.dxflFormLayout_Moderno.dxhe-dialog > table.dxhe-dialogLG.dxflGroupSys {
        padding: 1px;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 5px;
    }

    .dxflItem_Moderno {
        padding: 1px 0;
    }

    .dxflGroupBox_Moderno {
        margin: 10px 0;
        margin-top: 0px;
    }

    div.dxflFormLayout_Moderno.dxhe-dialog .dxhe-dialogButtonsContainer {
        padding: 0px;
    }

    .dxhe-dialogLG {
        font: 12px;
    }
}

.modal-big-medium .modal-dialog {
    width: 900px;
    max-width: 98%;
    height: 98%;
}


ul.list-unstyled > li > a, ul.list-unstyled > li > a > * {
    text-transform: capitalize !important;
}

.col-buscador {
    width: 100%;
}

#txtBuscarCliente {
    font-size: 14px;
}

#divContentSearch ul li a h4 {
    font-size: 13px;
}

ul.list-unstyled.sub-menu > li:hover {
    background-color: var(--colorPrimaryLight);
}

ul.list-unstyled.sub-menu  {
    background-color: #EEE;
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-tabs > li {
    float: left;
    margin-bottom: -1px;
    font-size: 13px;
}

.nav > li {
    position: relative;
    display: block;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #555;
    cursor: default;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}

.nav-tabs > li > a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 15px;
}

.tab-content > .active {
    display: block;
}

.tab-content > .tab-pane {
    display: none;
}

.fade.show {
}

.tab-content > .active {
    display: block;
}

.show {
    display: block !important;
}

.fade {
    transition: opacity .15s linear;
}

.searchspan {
    float: left;
    margin-left: 8px;
    position: absolute;
    top: 10px;
    color: #AAA;
    top: 8px !important;
    font-size: 16px;
}

.btn-primary {
    color: #FFFFFF !important;
    background-color: var(--colorBackgroundButton);
    height: auto !important;
    font-size: 14px;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.btn-SoneERP i {
    margin-right: 10px !important;
    font-size: 15px;
}

.btn-SoneERP {
    color: #FFFFFF !important;
    background-color: var(--colorBackgroundButton);
    height: auto !important;
    font-size: 14px;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

    .btn-SoneERP:not(.btn-round) i {
        margin-right: 8px;
    }

    .btn-SoneERP:hover {
        color: #FFFFFF;
        background-color: var(--colorBackgroundButton);
        cursor: pointer;
    }

.dxbButton {
    border-radius: 4px;
    padding: 0px;
}

    .dxbButton .dxb {
        height: 30px;
    }

    .dxbButton:not(.dxBtn-xl) .dxb span {
        text-transform: none;
        font-size: 14px;
        /*display: inline !important;*/
    }

span.rol-info {
    font-size: 11px !important;
    color: var(--colorTextPrimary) !important;
    font-weight: bolder !important;
    cursor: pointer;
}

    span.rol-info:hover {
        text-decoration: underline;
    }

.form-control {
    font-size: 14px;
}

.btn-danger, .btn-danger:hover, .btn-danger:focus {
    color: #FFF !important;
}

.btn-primary, .btn-primary:hover, .btn-primary:focus {
    color: #FFF !important;
}


#screen-modal-optional {
    background-color: rgba(0,0,0,.6);
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}


.modal-content > .wrapper > div {
    width: 100%;
}

.dxeEditArea_Material {
    background-color: transparent !important;
}



.vertical-items-center {
    display: flex;
    align-items: center;
}

.transparent-focused-row {
    background-color: transparent !important;
    color: #000 !important;
}

    .transparent-focused-row span:not(.dxeBase) {
        color: #009688 !important;
    }

.dx-table-striped .dxgvDataRow_Material:nth-child(2n+1) {
    background-color: rgba(0,0,0,.05);
}
