﻿
/* Modal Footer*/
.modal-footer {
    margin-top: 0 !important;
}

/* BOOTSTRAP HEADER ADMIN LTE MAS GRANDE DE BLOCK A INLINE*/
.hidden-xs {
    display: inline !important;
}

.panel {
    margin-bottom: 0 !important;
}


.dropup {
    position: relative;
}

.field-validation-error {
    color: #ff4242;
    font-size: 10px;
}

#SQLRESULT {
    height: 200px;
    border-left: 1px solid gray;
    border-right: 1px solid gray;
    border-top: 1px solid gray;
    resize: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-family: monospace;
    white-space: pre;
}

[magicgrid-group-drop] > td:empty:before {
    content: 'Arrastrar Columna para Agrupar';
}

[magicgrid-group-drag][dropped] {
    border: 1px solid #7e7e7e;
    background: #cccccc;
    border-radius: 3px;
    padding: 2px;
    margin-right: 3px;
}

[magicgrid-group]:hover {
    cursor: pointer;
}

.grid table tr[magicgrid-td-hide] {
    display: none;
}

[magicgrid-group='open']:before {
    content: "\f13a";
}

[magicgrid-group='close']:before {
    content: "\f138";
}

@font-face {
    font-family: "rubik";
    src: url(../fonts/rubik/Rubik-Regular.ttf);
}

body {
    font-size: 1.15em;
    font-family: rubik;
}

.table-responsive {
    overflow-x: auto;
}

    .table-responsive .dropdown-menu {
        /*position: absolute !important;*/
    }

.dropdown-menu {
    border: 1px solid rgba(0,0,0,.15) !important;
}

/* validation */
input[data-val-required][value=''] {
    background-color: #fffacf;
}

.xelect[data-val-required][value=''] + .xelect-container .xelect-single {
    background: -webkit-linear-gradient(top, #fffacf 20%, #fffacf 50%, #fffacf 52%, #fffacf 100%);
}

/*CALENDARIO*/
.fc-day-grid-event .fc-content {
    white-space: normal !important;
}

/*.tooltip > div {
    background-color: rgba(0,0,0,0.0) !important;
}*/

.divider {
    background-color: #bdbdbd !important;
}

.grid-button {
    color: white;
    background-color: #7e7e7e;
    width: 20px !important;
    display: inline-block;
    text-align: center;
    border-radius: 2px;
}

    .grid-button:hover {
        color: white;
        background: #00758b;
        cursor: pointer;
    }

.grid-button-danger:hover {
    color: white;
    background: #B64545;
    cursor: pointer;
}

.grid .table tbody tr:hover {
    background-color: #eaf7ff;
}

.pagination {
    margin: 0 !important;
}

.grid .table > thead > tr > th,
.grid .table > tbody > tr > th,
.grid .table > tfoot > tr > th,
.grid .table > thead > tr > td,
.grid .table > tbody > tr > td,
.grid .table > tfoot > tr > td {
    padding: 5px;
    white-space: nowrap;
}

td.magic-inline-fixed {
    padding: 0px !important;
}

.grid table .actiontd {
    width: 1px;
}

.active.magic-inline-open > td {
    background-color: #c1dccd !important;
}

/*.magic-grid-header {
    background-color: #00758b !important;
}

    .magic-grid-header a {
        color: white;
    }*/

.grid-upload .magic-grid-header {
    background-color: #f39c12;
}

    .grid-upload .magic-grid-header a {
        color: white;
    }

.grid .box-body {
    padding-bottom: 0;
}

.grid .box-success {
    border-radius: 0px;
}

.grid {
    border-left: 3px solid #00758b;
    border-right: 3px solid #00758b;
    border-bottom: 3px solid #00758b;
}

    .grid h4 {
        margin-top: 7px;
        margin-bottom: 5px;
    }

.grid-upload {
    border-left: 3px solid #f39c12;
    border-right: 3px solid #f39c12;
    border-bottom: 3px solid #f39c12;
}

.grid h4 {
    margin-top: 7px;
    margin-bottom: 5px;
}


[data-notify="progressbar"] {
    margin-bottom: 0px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 5px;
}

.animated {
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-backface-visibility: hidden; /* Chrome, Safari, Opera */
    backface-visibility: hidden;
}

@-webkit-keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
}

@-webkit-keyframes fadeOutUp {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
}

.fadeOutUp {
    -webkit-animation-name: fadeOutUp;
    animation-name: fadeOutUp;
}


/* MODAL TEST*/
.modal-dialog {
    overflow-x: hidden;
    width: 90% !important;
}

.modal-content-extra {
    position: relative;
    display: none;
}

@keyframes rotatehide {
    from {
        -webkit-transform: none;
        transform: none;
        animation-timing-function: ease-in;
    }

    to {
        -webkit-transform: rotate3d(0, 1, 0, 90deg);
        transform: rotate3d(0, 1, 0, 90deg);
    }
}

.rotatehide {
    -webkit-animation-name: rotatehide;
    animation-name: rotatehide;
}

@keyframes rotateshow {
    from {
        -webkit-transform: rotate3d(0, 1, 0, 90deg);
        transform: rotate3d(0, 1, 0, 90deg);
        animation-timing-function: ease-out;
    }

    to {
        -webkit-transform: none;
        transform: none;
    }
}

.rotateshow {
    -webkit-animation-name: rotateshow;
    animation-name: rotateshow;
}

.grid .box {
    margin-bottom: 0px !important;
}

    .grid .box .box-header {
        background-color: #D8ECDE;
    }

.grid-upload .box .box-header {
    background-color: #ECE5D8;
}



.fileUpload {
    position: relative;
    overflow: hidden;
    margin-right: 10px;
}

    .fileUpload input.upload {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0;
        font-size: 20px;
        cursor: pointer;
        opacity: 0;
        filter: alpha(opacity=0);
    }

.dropdown-menu .fileUpload {
    border-radius: 0;
}

.progress-bar {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}


.checkOnNullOff {
    z-index: 200;
    width: 100%;
    height: 34px;
    background: #dcdcdc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
    -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
}

    .checkOnNullOff span {
        font: 17px/34px Arial, sans-serif;
        width: 50%;
        text-align: center;
        display: block;
        z-index: 0;
        font-weight: bold;
        cursor: pointer;
        color: gray;
    }

        .checkOnNullOff span.no {
            right: 0px;
            float: right;
        }

        .checkOnNullOff span.yes {
            left: 0px;
            float: left;
        }

    .checkOnNullOff.yes span.yes {
        display: block;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        -webkit-transition: all 0.4s ease;
        -moz-transition: all 0.4s ease;
        -o-transition: all 0.4s ease;
        -ms-transition: all 0.4s ease;
        transition: all 0.4s ease;
        position: absolute;
        cursor: pointer;
        z-index: 1;
        -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
        background: -webkit-linear-gradient( top, #d2ffd5 0%, #9ef58b 40%, #538c57 100%);
        color: #0c690b;
        left: 0px;
    }

    .checkOnNullOff.no span.no {
        display: block;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        -webkit-transition: all 0.4s ease;
        -moz-transition: all 0.4s ease;
        -o-transition: all 0.4s ease;
        -ms-transition: all 0.4s ease;
        transition: all 0.4s ease;
        position: absolute;
        cursor: pointer;
        z-index: 1;
        -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
        background: -webkit-linear-gradient( top, #ffd2d2 0%, #f58b8b 40%, #8c5353 100%);
        color: #6f0c0c;
        right: 0px;
    }

.checkOnNullOffContainer select {
    z-index: 100;
    position: absolute;
    width: 10px;
    height: 10px;
    top: 7px;
    left: 46px;
    /*visibility: hidden;*/
}

.checkOnNullOffContainer {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: -5px !important;
}


/* SLIDE THREE */
.checkOnOff {
    width: 80px;
    height: 26px;
    background: #C5BC96;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    position: relative;
    -webkit-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.2);
    -moz-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.2);
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.2);
}

    .checkOnOff:after {
        content: 'OFF';
        font: 12px/26px Arial, sans-serif;
        color: #000;
        position: absolute;
        right: 10px;
        z-index: 0;
        font-weight: bold;
        text-shadow: 1px 1px 0px rgba(255,255,255,.15);
    }

    .checkOnOff:before {
        content: 'ON';
        font: 12px/26px Arial, sans-serif;
        color: #00bf00;
        position: absolute;
        left: 10px;
        z-index: 0;
        font-weight: bold;
    }

    .checkOnOff label {
        display: block;
        width: 34px;
        height: 20px;
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        -webkit-transition: all .4s ease;
        -moz-transition: all .4s ease;
        -o-transition: all .4s ease;
        -ms-transition: all .4s ease;
        transition: all .4s ease;
        cursor: pointer;
        position: absolute;
        top: 3px;
        left: 3px;
        z-index: 1;
        -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
        -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
        box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
        background: #fcfff4;
        background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        background: -moz-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        background: -o-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        background: -ms-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 );
    }

    .checkOnOff input[type=checkbox] {
        visibility: hidden;
    }

        .checkOnOff input[type=checkbox]:checked ~ label {
            left: 43px;
        }

.view .form-control-static {
    width: 100%;
    background-color: #E7E7F0;
    border-radius: 3px;
    border: 1px solid #CDCDCD;
    padding-left: 3px;
    min-height: 25px !important;
    padding-top: 1px !important;
    padding-bottom: 0px;
}


/*XELECT*/
.xelect-container.disabled li.search-field {
    height: 23px;
    line-height: 23px;
}

.grid-button-badge {
    position: absolute;
    background: #504646;
    color: #ffffff;
    font-size: 9px;
    padding-left: 2px;
    padding-right: 2px;
    right: -4px;
    border-radius: 3px;
    top: -3px;
}

@media (max-width: 500px) {
    .grid-button {
        width: 40px !important;
        /*height: 45px;*/
        font-size: 20px;
    }
}

.content {
    padding: 5px 5px 5px 5px !important;
}

.table > thead > tr > th {
    border-bottom: 0;
}




/*HIGHLIGHT THEME*/
.hljs {
    display: block;
    overflow-x: auto;
    padding: 0.5em;
    background: #3f3f3f;
    color: #dcdcdc;
}

.hljs-keyword, .hljs-selector-tag, .hljs-tag {
    color: #e3ceab;
}

.hljs-template-tag {
    color: #dcdcdc;
}

.hljs-number {
    color: #8cd0d3;
}

.hljs-variable, .hljs-template-variable, .hljs-attribute {
    color: #efdcbc;
}

.hljs-literal {
    color: #efefaf;
}

.hljs-subst {
    color: #8f8f8f;
}

.hljs-title, .hljs-name, .hljs-selector-id, .hljs-selector-class, .hljs-section, .hljs-type {
    color: #efef8f;
}

.hljs-symbol, .hljs-bullet, .hljs-link {
    color: #dca3a3;
}

.hljs-deletion, .hljs-string, .hljs-built_in, .hljs-builtin-name {
    color: #cc9393;
}

.hljs-addition, .hljs-comment, .hljs-quote, .hljs-meta {
    color: #7f9f7f;
}

.hljs-emphasis {
    font-style: italic;
}

.hljs-strong {
    font-weight: bold;
}

.validation-summary-valid {
    display: none;
}


.breadcrumb {
    float: none;
    top: unset;
    right: unset;
    background-color: transparent;
    margin-bottom: 0;
}



.skin-green .content-header {
    position: relative;
    padding: 0px !important;
}

.callout a {
    text-decoration: none;
    cursor: pointer;
}

/*.box-primary .magicgrid thead {
    background-color: #3c8dbc !important;
}

.magicgrid thead tr a {
    color:white;
}
.magicgrid thead tr th {
    border:0px;
}

.box-header.with-border {
    border-bottom: 0px solid #f4f4f4;
}*/


.CamelCase {
    text-transform: capitalize;
}

.vertical-align td {
    vertical-align: middle;
    line-height: 34px;
}


@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
        top: 40px;
        margin-left: 0;
    }

    [type="date"] {
        font-size: 10px;
        padding: 3px 0px 0px 2px;
    }
}

.btn-action {
    cursor: pointer;
}

    .btn-action:hover {
        color: #00758b;
    }

.table-compras td {
    font-size: 16px;
}



@media print {
    footer {
        display: none;
    }
    
    .pagebreak { page-break-before: always; } /* page-break-after works, as well */
}
