﻿html {
    font-size: 12px;
}

/* DASHBOARD */

#dashboard {
    /*position: fixed;*/
    z-index: 100;
}

#navbarSupportedContent {
    padding-top: 4px;
}

#info {
    background-color: #dbe1e7;
    position: fixed;
    height: 25px;
    /*bottom: 0;*/
    left: 0;
    right: 0;
    z-index: 100;
    text-align: left;
}

#header {
    height: 4.25rem;
    position: fixed;
    top: 25px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    z-index: 50;
    border-bottom: 3px solid #eee;
    width: 100vw;
}

#busqTransaccion {
    font-size: 10px;
    border: none;
    width: 200px;
}

#menu {
    width: 85px;
    background: #e5e5e5;
    position: fixed;
    z-index: 150;
    top: 0;
    bottom: 0;
    left: 0;
    transition: all .3s ease-in;
    transform: translate3d(-100%, 0, 0);
}

#menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: #e5e5e5;
    transform: translate3d(-100%, 0, 0);
    box-shadow: 0 0 !important;
}

#dashboard + #content {
    padding-top: 6.25rem;
}

@media (min-width: 1200px) {
    #navbarSupportedContent {
        padding-top: 4px;
    }

    #info {
        bottom: auto;
        top: 0;
        left: 85px;
        text-align: left;
        position: fixed;
    }

    #header {
        top: 25px;
        left: 85px;
        height: 6.25rem;
        width: auto;
    }

    #menu-wrapper {
        transform: translate3d(0, 0, 0);
    }

    #dashboard + #content {
        padding-left: 85px;
        padding-top: 8.25rem;
        padding-bottom: 0;
    }
}
/* HEADER CONTROLS */

.controls {
    height: 100%;
    overflow: auto;
    display: none;
    margin-left: auto;
}

    .controls ul {
        margin: 0;
        padding: 0;
        display: flex;
        height: 100%;
    }

        .controls ul li {
            display: block;
            height: 100%;
            text-align: center;
            position: relative;
        }

            .controls ul li a {
                text-decoration: none;
                color: #4f4e4e;
                cursor: pointer;
                background: #fff;
                width: 100%;
                height: 100%;
                display: flex;
                align-items: center;
                padding: 0 .75rem;
            }

            .controls ul li i {
                background: url(../Images/spritesheet.png) 0 0 no-repeat;
                width: 2.75rem;
                height: 2.75rem;
                display: block;
                background-size: 11.25rem;
                margin-right: .5rem;
            }

                .controls ul li i.back-btn {
                    background-position: -6.75rem -32.7rem;
                    background-size: 13rem;
                }

                .controls ul li i.xls-btn {
                    background-position: -103px -372px;
                }

                .controls ul li i.pdf-btn {
                    background-position: -102px -338px;
                }

                .controls ul li i.print-btn {
                    background-position: 0px -337px;
                }

                .controls ul li i.exe-btn {
                    background-position: -102px -438px;
                }

                .controls ul li i.add-btn {
                    background-position: -35px -338px;
                }

                .controls ul li i.save-btn {
                    background-position: 0 -33.75rem;
                }

                .controls ul li i.up-btn {
                    background-position: 0px -438px;
                }

                .controls ul li i.cancel-btn {
                    background-position: -68px -438px;
                }

            .controls ul li span {
                line-height: 1rem;
            }


@media (min-width: 576px) {
    .controls {
        display: block;
    }
}

@media (min-width: 1200px) {

    .controls {
        overflow: visible;
    }

        .controls ul li a {
            width: 6.25rem;
            flex-direction: column;
            justify-content: center;
        }

        .controls ul li i {
            margin-right: 0;
            margin-bottom: .5rem;
        }
}

/* LOADER */

#loader {
    display: none;
    z-index: 5000;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0,0,0,.6);
    align-items: center;
    justify-content: center;
    opacity: 0;
}

    #loader .content {
        padding: 15px;
        border-radius: 10px;
        background-color: rgba(0, 0, 0, .5);
        color: #fff;
    }

/* ALERTS */

#alerts {
    position: fixed;
    min-width: 50%;
    width: 30rem;
    max-width: 100%;
    right: 0;
    z-index: 100;
   visibility:hidden;
}


/* BUTTONS */

.btn {
    padding: .75rem 1.25rem;
}

/*.btn > .glyphicon {
        display: inline-block;
        margin-right: .375rem;
        width: 14px;
        height: 14px;
    }

        .btn > .glyphicon::before {
            font-size: 12px;
            line-height: 14px;
        }*/


.btn-inicio {
    background-color: #504f4f;
}

.btn-logout {
    background-color: #bf360c;
}

.btn-success {
    background-color: #7bc242;
}


.btn-primary {
    background-color: #0192d3;
}

    .btn-primary:hover {
        background-color: #0480b7;
    }


.btn-action {
    border: 1px solid #bcbcbc;
    background-color: #e8e8e8;
}

    .btn-action:hover {
        background-color: #504f4f;
        color: #fff;
    }

    .btn-action:focus {
        outline: 0 none !important;
    }



@media (min-width: 768px) {
    .btn-sm-inline {
        display: inline-block;
        width: auto;
    }
}



@media (min-width: 1200px) {
    .btn {
        padding: .375rem .75rem;
    }
}

/* INPUTS */
.input-group {
}

    .input-group > label {
        display: flex;
        margin-bottom: 0;
        flex: 0 0 50%;
        align-items: center;
        justify-content: flex-end;
        padding: 0 .75rem;
        background-color: #eee;
        border: 1px solid #ccc;
        border-radius: 2px 0 0 2px;
        margin-right: -1px;
        line-height: 1em;
        text-align: right;
    }

    .input-group > .form-control {
        border-radius: 2px;
        padding: .75rem .75rem;
        height: auto;
    }

        .input-group > .form-control:focus {
            box-shadow: 0 0 !important;
        }


    .input-group > .form-check {
        display: flex;
        align-items: center;
    }

        .input-group > .form-check input {
            margin: .2085rem 0;
        }

    .input-group .addon {
        background-color: #eee;
    }

    .input-group input + .addon {
        border: 1px solid #ccc;
        border-left: 0 none;
        border-radius: 0 2px 2px 0;
    }

    .input-group select {
        -webkit-appearance: none;
    }

    .input-group > .btn {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        flex: 1 1 auto;
        width: 1%;
    }


.image-input-file {
    display: flex;
    position: relative;
    min-height: 29px;
    align-items: center;
}

    .image-input-file input {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        cursor: pointer;
    }

    .image-input-file > .btn {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

.colorpicker-addon {
    flex: 0 0;
    padding: .5rem .75rem;
}

    .colorpicker-addon i {
        border: 1px solid #ccc;
        display: block;
        cursor: pointer;
        height: 100%;
        width: 3.5rem;
    }


.form-control.loading {
    background-image: url(../Images/preloader.gif);
    background-position: .75rem center;
    background-repeat: no-repeat;
    color: transparent;
}

.form-control.opcional {
    background-color: #e2f2ff;
}

.form-control.obligatorio {
    background-color: #faffbd;
}

.form-control.error {
    box-shadow: inset 0 0 0 1px #ff3333 !important;
}

.form-control:disabled {
    background-color: #d0d0d0;
}


@media (min-width: 1200px) {

    .input-group > .form-control {
        border-radius: 2px;
        padding: .375rem .75rem;
        height: auto;
    }
}

/*.form-group-custom {
    display: flex;
    border: 1px solid #ccc;
    align-items: stretch !important;
    height: 3rem;
    min-height: 3rem;
    margin-bottom: 1rem;
    border-radius: .12rem;
}

    .form-group-custom label {
        margin: 0;
        background-color: #eee;
        padding: 0 .75rem;
        border-right: 1px solid #ccc;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1 0 50%;
        text-align: right;
        line-height: 1rem;
    }


    .form-group-custom input {
        border: 0 none;
        box-shadow: 0 0 !important;
        border-radius: 0;
        height: auto;
        flex-shrink: 1;
        flex-grow: 1;
    }

        .form-group-custom input:focus {
            box-shadow: 0 0 !important;
        }

    .form-group-custom .btn {
        width: auto;
        border: 0 none;
        border-radius: 0;
        padding-top: 0;
        padding-bottom: 0;
    }


    .form-group-custom .form-check {
        flex: 0 50%;
        padding: 0;
        display: flex;
        flex-shrink: 1;
        flex-grow: 1;
        align-items: center;
        padding: 0 .75rem;
    }

    .form-group-custom .form-check-input {
        margin: 0;
    }

    .form-group-custom select {
        border: 0 none;
        box-shadow: 0 0 !important;
        padding-top: 0;
        padding-left: .3rem;
        padding-bottom: 0;
        height: auto;
        flex-shrink: 1;
        flex-grow: 1;
    }

    .form-group-custom .image-input-file {
        height: auto;
        flex-shrink: 1;
        flex-grow: 1;
    }








/*.image-input-file {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .image-input-file input + img {
        margin-top: 1.5rem;
    }*/



/*@media (min-width: 1200px) {
    .form-group-custom {
        height: 2rem;
        min-height: 2rem;
    }

        .form-group-custom label {
            line-height: .9rem;
        }

    .colorpicker-addon {
        padding: .4rem .5rem;
    }
}*/

/* PILLS */

.nav-pills-custom {
    background-color: #f1f1f1;
    border-radius: 0;
}

    .nav-pills-custom .nav-item {
        flex: 1 1 1%;
    }

    .nav-pills-custom .nav-link {
        color: #504f4f !important;
        font-weight: bold;
        padding: .75rem 1.25rem;
        border-radius: 0;
        height: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1rem;
    }

        /*.nav-pills-custom .nav-item:first-child .nav-link {
        border-top-left-radius: 2px;
        border-bottom-left-radius: 2px;
    }

    .nav-pills-custom .nav-item:last-child .nav-link {
        border-top-right-radius: 2px;
        border-bottom-right-radius: 2px;
    }*/

        .nav-pills-custom .nav-link.active, .nav-pills-custom .nav-link:hover.show:hover {
            background-color: #504f4f;
            color: #fff !important;
            cursor: pointer;
        }


@media (min-width: 1200px) {
    .nav-pills-custom .nav-item {
        flex: 0 0 auto;
    }

    .nav-pills-custom .nav-link {
        line-height: 1.5rem;
        padding: .25rem .75rem !important;
    }
}

/* CARDS */

.card-custom {
    margin-bottom: 1.5rem;
    border: 1px solid #504f4f;
    border-radius: 2px;
}

    .card-custom:last-child {
        margin-bottom: 0;
    }

    .card-custom > .card-header {
        background: #504f4f;
        color: white;
        font-weight: bold;
    }

        .card-custom > .card-header.collapser {
            position: relative;
        }

            .card-custom > .card-header.collapser::after {
                cursor: pointer;
                position: absolute;
                display: block;
                font-family: "Glyphicons Halflings";
                content: "\e114";
                width: 20px;
                height: 20px;
                line-height: 20px;
                top: 50%;
                margin-top: -10px;
                right: .25rem;
                text-align: center;
                transition: all .3s linear;
            }

            .card-custom > .card-header.collapser.in::after {
                transform: rotate(-90deg);
            }

    .card-custom > .card-body + .card-body {
        border-top: 1px solid #504f4f;
    }

@media (min-width: 1200px) {
    .card-custom .card-header {
        padding: .25rem .75rem;
    }
}

.card-group > .card-custom {
    margin-bottom: 0;
}

.card-group-flush > .card {
    border-top: 0 none;
    border-bottom: 0 none;
    border-radius: 0;
}

    .card-group-flush > .card:first-child {
        border-left: 0 none;
    }

    .card-group-flush > .card:last-child {
        border-right: 0 none;
    }

    .card-group-flush > .card > .card-header {
        border-radius: 0;
    }

/* TABLAS */

.table-default tbody + tbody, .table-default td, .table-default th, .table-default thead th {
    border-color: #dee2e6;
}

.table-md td, .table-md th {
    padding-top: .3rem;
    padding-bottom: .3rem;
    padding-left: .5rem;
    padding-right: .5rem;
}

table.align-middle td, table.align-middle th {
    vertical-align: middle;
}

table.table-border-bottom tr:last-child td, table.table-border-bottom tr:last-child td {
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

table.table-loader {
    height: 150px;
    width: 100%;
    background-image: url(../Images/loading.gif);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 50px;
}

td.table-loader {
    height: 150px;
    background-image: url(../Images/loading.gif);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 50px;
}

.border-bottom-only {
    border: 0 none;
    border-bottom: 1px solid #dee2e6;
}

.bg-info {
    background-color: #d6edf8;
}



/* Especial classes for Mobile */
/*@media (max-width: 577px) and (orientation: portrait), (max-device-width : 812px) and (orientation : landscape) {

    .border-xs {
        border: 0 none;
    }

    .w-xs-100{
        width: 100%;
    }
}*/


/*  INFRAGISTICS */

.ui-widget {
    font-size: 1rem !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.grid {
    width: 100%;
    table-layout: auto !important;
}

.ui-iggrid thead th {
    background-color: #504f4f !important;
    color: white !important;
    border: 0 none !important;
    font-weight: bold !important;
    padding: .75rem 1.25rem !important;
    border-right: 1px solid rgba(0,0,0,.125) !important;
}

.grid-primary thead th {
    background-color: #064b8c !important;
}


.ui-iggrid .ui-iggrid-filterrow,
.ui-iggrid .ui-iggrid-filtercell,
.ui-iggrid .ui-iggrid-filtercell .ui-igedit {
    height: auto !important;
    background-color: transparent !important;
    border: 0 none !important;
}

    .ui-iggrid .ui-iggrid-filtercell .ui-igedit {
        border-top: 1px solid #dadada !important;
        display: flex !important;
    }

html .ui-iggrid .ui-iggrid-filtercell .ui-igeditor-input-container {
    width: 100%;
}

    html .ui-iggrid .ui-iggrid-filtercell .ui-igeditor-input-container span {
        display: block;
    }

    html .ui-iggrid .ui-iggrid-filtercell .ui-igeditor-input-container .ui-iggrid-filtereditor {
        padding: .75rem 1.25rem !important;
        margin: 0 !important;
        font-size: 12px;
        background-color: transparent !important;
    }

.ui-iggrid-filtercell .ui-iggrid-indicatorcontainer {
    min-width: unset !important;
    margin: 0 !important;
    display: block;
}

    .ui-iggrid-filtercell .ui-iggrid-indicatorcontainer a {
        margin: 0 !important;
        float: none !important;
        display: flex !important;
        height: 100% !important;
        justify-content: center;
        align-items: center;
        padding: .75rem 1rem !important;
        border-left: 1px solid #dadada !important;
        border-right: 1px solid #dadada !important;
    }

        .ui-iggrid-filtercell .ui-iggrid-indicatorcontainer a::before {
            display: none;
        }


html .ui-iggrid-filtercell .ui-iggrid-indicatorcontainer a .ui-icon {
    border: 0 none !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    left: 0 !important;
    display: block;
}


.ui-iggrid tbody td {
    padding: .75rem 1.25rem !important;
    border-bottom: 0 none !important;
    border-left: 0 none !important;
    border-right: 0 none !important;
}

    .ui-iggrid tbody td:focus {
        outline: 0 none !important;
    }

    .ui-iggrid tbody td.col-action {
        padding: .25rem 0 !important;
        width: auto;
    }

        .ui-iggrid tbody td.col-action:last-child {
            padding-right: 1.25rem !important;
        }

        .ui-iggrid tbody td.col-action .btn {
        }

            .ui-iggrid tbody td.col-action .btn .glyphicon {
                margin: 0;
            }


.ui-iggrid-groupedrow td {
    font-weight: bold !important;
    color: #212529 !important;
}

.ui-iggrid .ui-iggrid-pager {
    border: 0 none !important;
    background-color: transparent !important;
    padding: .75rem 1.25rem !important;
    border-top: 1px solid #dadada !important;
}

#__ig_wm__ {
    opacity: 0 !important;
}

@media (min-width: 1200px) {
    .ui-iggrid thead th {
        padding: .25rem .75rem !important;
    }

    .ui-iggrid tbody td {
        padding: .25rem .75rem !important;
    }

    .ui-iggrid .ui-iggrid-pager {
        padding: .25rem .75rem !important;
    }


    html .ui-iggrid .ui-iggrid-filtercell .ui-igeditor-input-container .ui-iggrid-filtereditor {
        padding: .25rem .75rem !important;
    }

    .ui-iggrid-filtercell .ui-iggrid-indicatorcontainer a {
        padding: .25rem .5rem !important;
    }

    .ui-iggrid tbody td.col-action {
        padding: .25rem 0 !important;
    }

        .ui-iggrid tbody td.col-action:last-child {
            padding-right: .75rem !important;
        }
}


/* ANIMACIONES */

.anima-clip {
    position: absolute;
    right: 0;
    top: 0;
    margin-top: -105px;
    margin-right: -105px;
    z-index: -1;
}

    .anima-clip .rotator {
        background-color: #00bbaf;
        width: 82px;
        height: 82px;
        position: absolute;
        right: 0px;
        top: 3px;
        animation: rotator 5s linear infinite;
    }

        .anima-clip .rotator.color2 {
            width: 39px;
            height: 39px;
            background: #0094d3;
            margin-right: 130px;
            margin-top: 1px;
        }

        .anima-clip .rotator.color3 {
            width: 17px;
            height: 17px;
            margin-top: 230px;
            margin-right: 24px;
        }


    .anima-clip .animation2 {
        animation-delay: 1s;
    }

    .anima-clip .animation3 {
        animation-delay: 2s;
    }

@keyframes rotator {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    20% {
        transform: rotateX(180deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(180deg) rotateY(0deg);
    }
}

@keyframes rotator2 {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    20% {
        transform: rotateX(0deg) rotateY(180deg);
    }

    100% {
        transform: rotateX(0deg) rotateY(180deg);
    }
}
