﻿
/* Document */
html, body {
    height: 100%;
}

body {
    position: relative;
}

.header {
    margin: 0;
    padding: 0;
    color: #a3b3bd !important;
}

    .header .container-fluid {
        margin: 0 10px;
    }

.container-fluid {
    padding: 0 20px;
}

.header img {
    float: left;
    margin-bottom: 15px;
}

.header h2 {
    float: left;
    margin: 43px 5px 0 70px;
    font-size: 28px;
    font-weight: 400;
}

.header h4 {
    float: left;
    margin: 52px 30px 0 0;
}

.header .buttons-right {
    padding: 5px 0 0 0;
}

.header .btn-user {
    padding: 0 20px 5px 5px !important;
}

    .header .btn-user h6 {
        font-size: 12px;
        margin: 4px;
    }

        .header .btn-user h6.user {
            margin-top: 15px;
            font-weight: 600;
        }

        .header .btn-user h6.day {
            font-size: 11px;
            margin-top: 8px;
        }

.header img.img-circle {
    margin-top: 5px;
    padding: 3px;
    border: 1px solid #cddce6;
}

.header .btn-sn-bg.btn-info {
    color: #f1acae;
    background-color: transparent;
}

    .header .btn-sn-bg.btn-info:hover {
        color: #de8487;
    }

body {
    background-color: #f4f4f4;
    overflow-x: hidden;
}

.sn-padding {
    padding: 0 !important;
}


/* Navs */
.nav-tabs > li > a {
    color: #475156;
}

.nav > li > a:hover, .nav > li > a:focus {
    color: #0f69b4;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    border-top: 2px solid #0f69b4;
}


/* Navbar */
.navbar {
    margin-bottom: 0;
    min-height: 42px;
}

.navbar-default {
    border: 1px solid #eee;
}

    .navbar-default .navbar-toggle {
        border: none;
        margin-right: 0;
    }

        .navbar-default .navbar-toggle .icon-bar {
            background-color: #0f69b4;
        }

    .navbar-default .navbar-nav > li > a {
        margin-bottom: -2px;
        padding: 10px 20px;
    }

        .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
            border-bottom: 2px solid #0f69b4;
        }

        .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
            color: #0f69b4;
            background-color: transparent;
        }

.sidebar-nav .navbar-default .navbar-nav > .active > a {
    background-color: #0f69b4;
    color: #FFF;
    border: none;
    border-bottom: 2px solid #064a82;
}

.sidebar-nav .navbar-default {
    background-color: transparent;
    border: none;
}

.sidebar-nav .navbar li {
    background-color: #fff;
    margin-bottom: 3px;
}

    .sidebar-nav .navbar li a {
        border-right: none;
    }


/* Breadcrumb */
.breadcrumb {
    font-size: 12px;
    margin-bottom: 0px;
}

    .breadcrumb a:hover, .breadcrumb a:focus {
        color: #0f69b4;
        text-decoration: none;
    }

/* Float */
.fl {
    float: left;
}

.fr {
    float: right;
}


/* Error */
.validation-error {
    color: #a94442;
}

.error_span {
    font-size: 10px;
    padding-left: 15px;
    color: #ea3b44;
    position: absolute;
}


/* Form */
textarea {
    resize: none;
}

.control-label {
    font-size: 11px;
    font-weight: normal;
    color: #5D5D5D;
}

.btn-default {
    font-size: 11px;
    background-image: none;
}

.btn {
    font-size: 11px;
    background-image: none;
}

    .btn.disabled, .btn[disabled], fieldset[disabled] .btn {
        pointer-events: none;
    }

.form-control {
    font-size: 14px;
    color: #5D5D5D;
}

.form-control-sm {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.form-control.disabled, .form-control.readonly, fieldset.disabled .form-control {
    background-color: #eee;
    opacity: 1;
}

ol.form-control {
    height: auto !important;
    min-height: 30px;
    padding-left: 20px !important;
}

    ol.form-control li:not(:first-child) {
        margin-top: 3px;
    }

/*.input-group-sm > .form-control, .input-group-sm > .input-group-addon, .input-group-sm > .input-group-btn > .btn, .form-group-sm .form-control {*/
.input-group-sm > .form-control, .form-group-sm .form-control {
    font-size: 14px;
}

.panel-heading input[type=checkbox], .panel-heading input[type=radio] {
    margin: 2px 0 0 -20px;
}

.btn-group .dropdown-menu li a {
    font-size: 11px;
}

    .btn-group .dropdown-menu li a:hover {
        font-weight: bold;
    }

.row.row-center-20 {
    padding-left: 20%;
    padding-right: 20%;
}

.hover-hl-info .form-control:hover {
    background-color: #d9edf7;
}

.empty-message:empty::after {
    content: attr(data-empty);
    color: #999;
}

.anchor:not(:empty):hover {
    color: #0f69b4;
    text-decoration: underline;
    cursor: pointer;
}

/* helpers */
.m-0 {
    margin: 0;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/* Panel */
.panel-default {
    border: 1px solid #ddd !important;
    padding: 4px !important;
}

    .panel-default > .panel-heading {
        background: rgb(0, 98, 171) !important;
    }

        .panel-default > .panel-heading > .panel-title {
            font-size: 18px !important; /*font-size: 14px !important;*/
            /*font-weight: bold;*/
            color: #FFF;
        }

.panel-disabled {
    border-color: rgb(36, 85, 128);
}

    .panel-disabled > .panel-heading {
        color: rgb(137, 148, 154);
        opacity: .65;
        background-color: #265a88;
        border-color: #265a88;
    }

.panel > .help-block {
    padding-left: 5px;
}

.panel-heading .btn {
    padding: 4px 8px 3px 8px;
    margin-top: -5px;
}

    .panel-heading .btn > .fa {
        font-size: 18px;
    }


 /* Modal */
.modal {
    text-align: center;
    padding: 0 !important;
}

    .modal:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -4px;
    }

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.modal-header.bg-deafult, .modal-header.bg-primary, .modal-header.bg-success, .modal-header.bg-info, .modal-header.bg-warning, .modal-header.bg-danger {
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.modal-header .btn-sm {
    font-size: 14px;
    padding: 3px 5px 1px;
}

.modal-header .pull-right button.times {
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
    margin: -2px 0 0 50px;
}

.modal-dialog {
    overflow-y: initial;
}

.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.modal-footer .btn-group + .btn {
    margin-bottom: 0;
    margin-left: 5px;
}

.modal-dialog .alert {
    padding: 5px;
    margin-bottom: 0;
}

/* Table */
table {
    width: 100% !important;
    border-left: 0px !important;
    border-right: 0px !important;
}

.table th {
    border-bottom: none
}

tablecustom thead tr th, .table thead tr th {
    background-color: #337ab7;
    border-top-color: #337ab7;
    border-bottom-color: #337ab7;
    color: #FFF;
    vertical-align: middle;
    font-size: 12px;
}

tablecustom thead tr td, .table tbody tr td {
    border-top: 0px;
    padding: 5px;
    color: #5D5D5D;
    vertical-align: middle;
    font-size: 14px; /*font-size: 11px;*/
}

.paginate_button {
    font-size: 11px !important;
    font-weight: normal !important;
}

.even td {
    border-right: 1px solid #FFF;
}

.odd td {
    border-right: 1px solid #FFF;
}

.has-error .dataTables_scroll {
    border-color: #b94a48 !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #ECECEC;
}

table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
    background-color: #fffdc7;
}

    table.dataTable.hover.pointer tbody tr:hover, table.dataTable.display tbody tr:hover.pointer {
        cursor: pointer;
    }

table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
    background-color: #AAD2E8;
}

.dataTables_wrapper label, .dataTables_info {
    font-size: 11px !important;
    font-weight: normal !important;
    color: #5D5D5D;
}

.dataTables_wrapper .dataTables_scroll {
    border: 1px solid #ccc;
    margin: 1.5rem 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-color: rgb(0, 98, 171);
    border-bottom-color: #ccc;
    border-left-color: #ccc;
    border-right-color: #ccc;
}

.dataTables_scrollHeadInner {
    background-color: #337ab7;
}

.dataTables_scrollHead table.dataTable {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    border: 0 !important;
}

    .dataTables_scrollHead table.dataTable caption {
        caption-side: top;
        color: #fff;
        text-align: center;
        font-size: 1.3em;
        font-weight: 700;
        padding-top: 2px;
        padding-bottom: 2px;
    }

.dataTables_scrollBody {
    overflow-x: hidden !important;
    border-top: 1px solid #ccc;
}

.dataTables_empty {
    pointer-events: none;
}

td.controlBox a > span.glyphicon {
    padding-top: 2px;
}

.column-search {
    height: 20px;
    padding: 2px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    width: 100% !important;
}

.dtDom-top {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 0 0 0;
    margin-left: 0;
    margin-right: 0;
    background: #f4f4f4;
}

    .dtDom-top .dt-buttons {
        float: right !important;
    }

.alert .dataTables_scroll {
    margin: 0.5rem 0;
}

.buttons-html5 {
    padding: 4px 9px 2px 9px;
}

.buttons-html5 i {
    font-size: 20px;
}

/* Footer */
.footer {
    padding: 0 10px 0;
    background: url(../img/linea_colores.jpg) no-repeat top center;
    font-size: 12px;
}

    .footer a {
        color: #89949a;
    }

        .footer a:hover, .footer a:focus {
            color: #0f69b4;
            text-decoration: none;
        }

    .footer .container-fluid {
        margin: 10px 10px 0;
        padding: 20px 10px 0;
    }

    .footer .img-footer {
        font-size: 8px;
    }

/* datetimepicker */
.sw-container.tab-content {
    overflow: inherit !important;
}

.input-group.datepickerField input[data-datepicker][disabled] + span.input-group-addon {
    cursor: not-allowed;
}

/* square buttons */
.btn-sq-lg {
    width: 150px !important;
    height: 150px !important;
}

.btn-sq {
    width: 100px !important;
    height: 100px !important;
    font-size: 14px;
}

.btn-sq-sm {
    width: 50px !important;
    height: 50px !important;
    font-size: 10px;
}

.btn-sq-xs {
    width: 25px !important;
    height: 25px !important;
    padding: 2px;
}

/* Bootbox messagebox */
.bootbox-body .col-message {
    height: 48px;
    display: table-cell;
    float: none;
    vertical-align: middle;
    padding-left: 30px;
}

/* Toggle */
.toggle.ios, .toggle-on.ios, .toggle-off.ios {
    border-radius: 20px;
}

    .toggle.ios .toggle-handle {
        border-radius: 20px;
    }

.checkbox > small, .checkbox-inline > small {
    margin-right: 20px;
}

.checkbox.pull-right .toggle, .checkbox-inline.pull-right .toggle {
    margin-right: 0;
}

.form-group .checkbox {
    display: inline;
}

.checkbox .toggle-group > label, .checkbox-inline .toggle-group > label {
    padding: 1px 5px;
}

/* Callouts */
.bs-callout {
    padding: 10px;
    margin: 20px 0 20px 5%;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code {
        border-radius: 3px;
    }

    .bs-callout + .bs-callout {
        margin-top: -5px;
    }

.bs-callout-default {
    border-left-color: #777;
}

    .bs-callout-default h4 {
        color: #777;
    }

.bs-callout-primary {
    border-left-color: #337ab7;
}

    .bs-callout-primary h4 {
        color: #337ab7;
    }

.bs-callout-success {
    border-left-color: #5cb85c;
}

    .bs-callout-success h4 {
        color: #5cb85c;
    }

.bs-callout-danger {
    border-left-color: #d9534f;
}

    .bs-callout-danger h4 {
        color: #d9534f;
    }

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

    .bs-callout-warning h4 {
        color: #f0ad4e;
    }

.bs-callout-info {
    border-left-color: #5bc0de;
}

    .bs-callout-info h4 {
        color: #5bc0de;
    }

/* Smart Wizard*/
.sw-theme-dots > ul.step-anchor > li.active > a {
    color: #337ab7 !important;
}

    .sw-theme-dots > ul.step-anchor > li.active > a:after {
        background: #337ab7 !important;
    }

.sw-theme-dots > ul.step-anchor > li.done > a {
    color: #00b300 !important;
}

    .sw-theme-dots > ul.step-anchor > li.done > a:after {
        background: #00b300 !important;
    }

/* Bootstrap-select */
.bootstrap-select .dropdown-menu {
    /*font-size: 11px;*/
}

/* Typeahead */
.typeahead.dropdown-menu {
    /*font-size: 11px !important;*/
}

/* Radio & Checkbox */
.fa-radio, .fa-checkbox, .fa-radio[disabled], .fa-checkbox[disabled] {
    opacity: 0;
    position: absolute;
}

    .fa-radio, .fa-radio + label, .fa-radio + span, .fa-checkbox, .fa-checkbox + label, .fa-checkbox + span {
        display: inline-block;
        cursor: pointer;
        padding-left: 0;
    }

        .fa-radio + label:before, .fa-checkbox + label:before, .fa-radio + span:before, .fa-checkbox + span:before {
            display: inline-block;
            vertical-align: middle;
            text-align: center;
            font-weight: bold;
            font-family: "Font Awesome 5 Free";
        }

        .fa-radio + label:before, .fa-checkbox + label:before {
            padding: 0 1px;
            margin: 0 5px 2px 0;
            font-size: 1.2em;
        }

        .fa-radio + label:before, .fa-radio + span:before {
            content: "\f111";
        }

        .fa-radio:checked + label:before, .fa-radio:checked + span:before {
            content: "\f192";
        }

        .fa-checkbox + label:before, .fa-checkbox + span:before {
            content: "\f0c8";
        }

        .fa-checkbox:checked + label:before, .fa-checkbox:checked + span:before {
            content: "\f14a";
        }

        .fa-radio + label:before, .fa-checkbox + label:before {
            color: #5D5D5D;
        }

        .fa-radio:checked + label:before, .fa-checkbox:checked + label:before {
            color: #337ab7
        }

        .fa-radio[disabled] + label:before, .fa-checkbox[disabled] + label:before {
            cursor: not-allowed;
        }

.btn.fa-radio + label:before, .btn.fa-checkbox + label:before {
    font-size: 1em;
    border: 1px solid #fff;
    background: #eee;
    border-radius: 50%;
    text-shadow: 0 1px 0 #fff;
    border-color: #aaa;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
}

.btn.fa-radio + label:hover:before, .btn.fa-checkbox + label:hover:before, .btn.fa-radio + label:focus:before, .btn.fa-checkbox + label:focus:before {
    background-color: #d0d0d0;
}

.btn.fa-radio + label:active:hover:before, .btn.fa-checkbox + label:active:hover:before, .btn.fa-radio + label:active:focus:before, .btn.fa-checkbox + label:active:focus:before {
    color: #064a82;
    background-color: #d4d4d4;
    border-color: #8c8c8c;
}

.input-group-addon .fa-radio + span:before, .input-group-addon .fa-checkbox + span:before {
    font-size: 1.4em;
}

.input-group-addon .fa-radio + span:before, .input-group-addon .fa-checkbox + span:before {
    color: #5D5D5D;
}

.input-group-addon .fa-radio:checked + span:before, .input-group-addon .fa-checkbox:checked + span:before {
    color: #337ab7
}

.input-group-addon input.fa-radio, .input-group-addon input.fa-checkbox {
    margin: 5px 0 0;
}

.input-group-sm > .input-group-addon.checkbox-radio-addon {
    padding: 1px 10px;
}

.btn-xs .fa-radio, .btn-xs .fa-checkbox {
    margin: 2px 0 0 -2px;
}

/* jsTree */
.jstree-default .jstree-disabled.jstree-clicked {
    background: none !important;
}

.popover-content .jstree {
    pointer-events: none;
}

/* DragAndDrop */
.fileUpload.is-dragover {
    outline: 2px dashed #5bc0de;
}

.fileUpload .fileUploadTitle {
    display: none;
}

    .fileUpload .fileUploadTitle i {
        font-size: 1.4em;
    }

.fileUpload.is-dragover .fileUploadTitle {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.fileUpload.is-dragover .fileUploadInner {
    opacity: 20%;
    pointer-events: none;
}

/* Summary */
table.summary {
    border: 1px solid;
    margin-bottom: 10px;
}

    table.summary th, table.summary td {
        border: 1px solid;
        padding: 0 2px;
    }

    table.summary th {
        background: #eaeaea;
    }

/* Child row */
ul.dtr-details {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

    ul.dtr-details li.dtr-head {
        margin-bottom: 10px;
        font-size: 12px;
    }

    ul.dtr-details li {
        margin-bottom: 5px;
    }

    ul.dtr-details .dtr-title {
        display: inline-block;
        min-width: 70px;
        font-weight: bold;
        font-size: 12px;
    }

    ul.dtr-details .dtr-data {
        margin-left: 10px;
        display: inline;
    }

.row.boxset .row {
    padding: 0 15px;
}

.row.boxset .row .table-bordered{
    padding: 5px 0;
}