﻿
/*############################# MAIN THEME ###################################*/

/* === fontawesome === */
@import url('font-awesome.css');
/* === custom icon === */
@import url('custom-fonts.css');


/* ----------------------GENERAL-----------------------*/
body, html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Arial !important;
    font-size: 12px !important;
}

p {
    font-size: 12px;
    line-height: 24px;
    color: #313b3d;
    font-weight: 300;
}

    p span {
        font-size: 12px;
        line-height: 24px;
        color: #fc3615;
        font-weight: 300;
    }

h1 {
    color: #313b3d;
    font-size: 24px;
    font-weight: 300;
    margin: 0px;
}

h2 {
    font-size: 20px;
    font-weight: 300;
    color: #313b3d;
    margin-bottom: 10px;
}

h3 {
    font-size: 18px;
    font-weight: 300;
    color: #313b3d;
    margin: 0px;
}


.space-top {
    margin-top: 20px;
}

.space-left {
    padding-left: 30px;
}

.space {
    margin: 40px 0;
}

.no-padding {
    padding: 0;
}

.container-fluid {
    margin-left: auto;
    margin-right: auto;
}

.row-eq-height {
    display: flex;
}

.huge {
    margin-top: 20px;
}

@media (max-width: 480px) {
    .huge {
        margin-top: 12px;
    }
}

.text-right {
    text-align: right;
}

.fa {
    font-size: 15px;
    color: #6d6e70;
}

.hide {
    display: none;
}

/*navbar*/
.navbar {
    border: 1px solid transparent;
    margin-bottom: 20px;
    min-height: 60px;
    padding-top: 10px;
    padding-left: 10px;
    position: relative;
}

.navbar-default {
    background-color: #fff;
    border-color: #fff;
}

.navbar-top-links li a {
    min-height: 50px;
    padding: 15px;
    display: inline-block;
}

.navbar-top-links li {
    width: 100%;
    display: inline-block;
}

.nav > li > a {
    display: block;
    padding: 10px 15px;
    position: relative;
}

.navbar-top-links {
    margin-right: 0;
}

.navbar-alerts {
    float: left;
    height: 40px;
    width: 50px;
    padding: 10px;
}

.footer .nav {
    border: none;
    margin-bottom: 10px !important;
}

.footer .nav-left {
    width: 50%;
    float: left;
    text-align: left;
    padding-left: 15px;
}

.footer .nav-right {
    width: 50%;
    float: right;
    text-align: right;
    padding-right: 15px;
}

.cabecera {
    background-color: #009ad6;
    color: white;
    font-weight: bold;
}

.user i {
    padding-left: 5px;
}

#languages {
    padding-top: 15px;
}

    #languages img {
        margin-right: 5px;
    }

.input_search {
    background: #f4f8f9;
    border: none;
    border-radius: 15px;
    padding: 10px 25px;
    width: 100%;
}

#search {
    position: relative;
    width: 100%;
    margin-top: 5px;
}

.button_search {
    position: absolute;
    border: none;
    background: transparent;
    border-radius: 15px;
    top: 10px;
    right: 10px;
}

.titlepanel li {
    display: inline-block;
    list-style: none;
    padding: 0 15px;
}

    .titlepanel li.actived {
        border-bottom: 2px solid #00c0f1;
    }

    .titlepanel li a {
        font-size: 16px;
        color: #313b3d;
        padding: 20px;
        display: inline-block;
        text-decoration: none;
    }

.titlepanel a i.fa-times-circle {
    color: #f46521;
    position: relative;
    top: -10px;
    right: -10px;
}

.titlepanel ul {
    margin: 0px;
    padding: 0px;
}

.titlepanel .fa {
    padding-right: 8px;
    font-size: 18px !important;
}

.badge {
    background-color: #ec4e1b;
    border-radius: 18px;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    min-width: 10px;
    padding: 5px 8px;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;
    position: absolute;
    top: 12px;
}

.badge-green {
    background-color: #7cbe31;
    border-radius: 18px;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    min-width: 10px;
    padding: 5px 8px;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;
    position: absolute;
    top: 12px;
}

/* ----------------------panels-----------------------*/
.panel-default > .panel-heading {
    background-color: #fff;
    border-color: #ddd;
    color: #313b3d;
    font-size: 20px;
}

.panel-footer {
    background-color: #fff;
    padding-top: 15px;
}

.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    border: 0px solid #fff;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    border-top: 5px solid #fff;
    line-height: 1.42857;
    padding: 8px;
    vertical-align: top;
    background-color: #f5f8f9;
}


.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}
/*LOGIN*/

#login header {
    text-align: center;
    margin-bottom: 30px;
}

#login img {
    margin-top: 20px;
    max-height: 100px;
}

#login #logo {
    max-height: 70px;
}

#login .btn {
    color: white;
    background-color: #004485;
    width: 100% !important;
}


.tab-content {
    border-bottom: solid 1px #ddd;
    border-left: solid 1px #ddd;
    border-right: solid 1px #ddd;
    border-radius: 0 0px 4px 4px;
    min-height: 270px;
    padding: 30px;
    background-color: #fff;
}

.nav > li > a {
    display: block;
    position: relative;
}

.nav-tabs {
    border-bottom: 2px solid #004485;
}

    .nav-tabs > li {
        margin-left: 0px;
        border-radius: 4px 4px 0 0;
        color: white;
        background-color: #004485;
    }

        .nav-tabs > li > a {
            border-radius: 4px 4px 0 0;
            margin-right: 0;
            border: none;
            font-size: medium;
        }

/*END LOGIN*/

/* ----------------------home-----------------------*/

.panel-default {
    border-color: #ddd;
}

    .panel-default > .card-header {
        background-color: #fff;
        border-color: #ddd;
        color: #313b3d;
        font-size: 20px;
    }

.borderbox {
    border: 3px solid #9e9e9e;
    border-radius: 40px;
    display: inline-block;
    margin: 50px 0;
    padding: 20px 30px;
}

.boxicon {
    background-color: #fff;
    padding: 8px;
    margin-bottom: 15px;
}

    .boxicon img {
        float: left;
    }

.general {
    padding: 20px 15px;
}

.col-sm-4 p {
    font-size: 18px;
    line-height: 26px;
    color: #313b3d;
    margin-bottom: 20px;
    font-weight: 300;
}

.titlepanel {
    background-color: #f2f6f7;
    border-bottom: solid 1px #ddd;
}


.title {
    background-color: #ecedf0;
    padding: 40px 0;
    margin-bottom: 30px;
}

.gris {
    background-color: #eee;
    padding: 40px 0;
    margin-bottom: 30px;
}

.borderimg {
    border: solid 1px #ddd;
    ;
    margin-bottom: 20px;
    text-align: center;
    display: inline-block;
}


.btn-default {
    background-color: #009ad6;
    border-radius: 8px;
    border: solid 3px #fff;
    padding: 8px 12px;
    font-weight: 400;
    color: #fff;
    font-size: 16px;
}

    .btn-default i {
        color: #fff;
    }


footer .contact-footer {
    background-color: #009ad6;
}

footer .legal-footer {
    background-color: #fff;
    color: #454545;
    padding: 20px 0;
    border-top: solid 1px #ddd;
}

    footer .legal-footer p {
        font-size: 16px;
    }

.cursor-pointer {
    cursor: pointer;
}


/*------------------------------Favorites--------------------------*/
#production {
    border-radius: 5px;
    background-color: #57b8e2;
}

#energy {
    border-radius: 5px;
    background-color: #84a555;
}

#general {
    border-radius: 5px;
    background-color: #8b8b8b;
}

h2 {
    color: #fff;
}

h3 {
    font-size: 26px;
}

#production .row, #energy .row, #general .row {
    margin: 0px;
}

#production .border-radius, #energy .border-radius, #general .border-radius {
    border-radius: 5px;
    background: #fff;
    padding-top: 15px;
    padding-bottom: 15px;
}
/*------------------------------Favorites--------------------------*/

/* PERMISOS */
#permisos .card-header {
    background-color: #ffffff;
    border-bottom: none;
}

    #permisos .card-header h2 {
        color: #000;
        float: left;
    }

#permisos h3 {
    font-size: 15px;
    margin-bottom: 15px;
}

#permisos #perfiles ul {
    list-style: none;
    padding: 0px;
}

    #permisos #perfiles ul li {
        padding: 10px;
        margin-bottom: 5px;
        background: #009ad6;
        color: #fff;
        display: block;
        text-decoration: none;
        cursor: pointer;
    }

        #permisos #perfiles ul li.active, #permisos #perfiles ul li:hover {
            background: #0072bb;
        }

#permisos table {
    width: 100% !important;
}

#permisos .node {
    font-size: 13px;
}

#permisos th {
    font-weight: 100;
}

#permisos .node td, #permisos th {
    padding: 5px 10px;
}

    #permisos .node td div {
        padding-left: 0px;
    }

#permisos .node.firstNode {
    background-color: #f2f6f7;
}

    #permisos .node.firstNode td:first-child {
        font-size: 16px;
    }

@media (max-width:441px) {
    #permisos th, #permisos td, #permisos .node.firstNode td:first-child {
        font-size: 11px;
    }
}

#permisos .node.secondNode {
    background-color: #FDF4E3 !important;
}

@media (max-width:375px) {
    #permisos th, #permisos td, #permisos .node.firstNode td:first-child {
        font-size: 9px;
        padding: 5px;
    }
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: none;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
    border: 1px solid #009ad6;
    border-radius: 10px;
}

    .checkbox .cr .cr-icon,
    .radio .cr .cr-icon {
        position: absolute;
        font-size: 1.2em;
        line-height: 0;
        top: 52%;
        left: -4%;
        color: #009ad6;
        font-size: 1.5em;
    }

    .radio .cr .cr-icon {
        margin-left: 0.04em;
    }

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

    .checkbox label input[type="checkbox"] + .cr > .cr-icon,
    .radio label input[type="radio"] + .cr > .cr-icon {
        transform: scale(3) rotateZ(-20deg);
        opacity: 0;
        transition: all .3s ease-in;
    }

    .checkbox label input[type="checkbox"][checked="checked"] + .cr > .cr-icon,
    .radio label input[type="radio"][checked="checked"] + .cr > .cr-icon {
        transform: scale(1) rotateZ(0deg);
        opacity: 1;
    }

    .checkbox label input[type="checkbox"]:disabled + .cr,
    .radio label input[type="radio"]:disabled + .cr {
        opacity: .5;
    }
/* FIN PERMISOS */

/*------------------------------LISTADOS--------------------------*/
.k-grid tbody .k-grid-edit,
.k-grid tbody .k-grid-update,
.k-grid tbody .k-grid-cancel,
.k-grid tbody .k-grid-delete {
    min-width: 0;
}

    .k-grid tbody .k-grid-edit .k-icon,
    .k-grid tbody .k-grid-update .k-icon,
    .k-grid tbody .k-grid-cancel .k-icon,
    .k-grid tbody .k-grid-delete .k-icon {
        margin: 0;
    }

.k-command-cell {
    text-align: center;
}

.k-grid tbody .k-button {
    min-width: 0 !important;
}

.k-grid-header th {
    white-space: break-spaces !important;
}

.k-header.k-grid-toolbar {
    background-color: #009ad6 !important;
}

    .k-header.k-grid-toolbar.k-grid-top,
    .k-grid .k-header .k-button {
        background-color: #009ad6 !important;
        border-color: #009ad6 !important;
    }

.k-grid .k-grid-update {
    background-color: #017BAA !important;
    border-color: #017BAA !important;
}

.k-filter-menu .k-button {
    border-color: #f0f0f0 !important;
}

.btn-add {
    display: inline-block;
    background-color: #0072bb;
    color: #fff !important;
    padding: 8px;
    border-radius: 2px;
    margin-top: 5px;
    cursor: pointer;
}

    .btn-add i,
    .btn i {
        color: #fff;
    }

.bital-grid {
    padding: 10px;
}

.top-actions {
    padding: 5px 10px 5px 10px;
}

.k-button.k-primary {
    border-color: #017BAA !important;
    background-color: #017BAA !important;
}

.k-filter-menu .k-button.k-primary {
    border-color: #f0f0f0 !important;
    background-color: #009ad6 !important;
}

.k-window-titlebar {
    background-color: #009ad6 !important;
    border-color: #009ad6 !important;
}

.k-edit-form-container .k-primary, .k-popup .k-primary {
    color: #ffffff !important;
    background-color: #009ad6 !important;
    border-color: #009ad6 !important;
}

.k-edit-checkbox {
    padding: .4em 0 1em !important;
}

.checkbox-disabled {
    pointer-events: none;
}

.k-grid tr:hover {
    /*background-color: #F0F9FB !important;*/
    background-color: #F4FAFC !important;
}

.k-edit-label {
    font-weight: bold;
}

.fa-grid-icon {
    font-size: 25px;
    cursor: pointer;
}
/*------------------------------Listados--------------------------*/
/*------------------------------Formularios--------------------------*/
.panelForm {
    padding: 25px 50px 25px 50px;
}

.search_form .form-group {
    padding-left: 5px;
    padding-right: 5px;
}

.search_form select, .search_form input, .search_form textarea {
    padding: 5px 10px;
    width: 100%;
    border: 1px solid #dedede;
    border-radius: 5px;
    outline: none;
}

.search_form input {
    padding: 5px 10px;
}

.search_form textarea {
    resize: vertical;
}

.login-usuario #Login {
    background-color: #FFFFFF !important;
}

.btn-form {
    width: 44px;
    color: #fff;
    background: #009ad6;
    height: 29px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    border-radius: 5px !important;
}

.btn-form-ok {
    color: #FFF;
    height: 27px;
    float: right;
    width: 100px;
    margin-left: 10px;
    border: none;
}

.btn-ok {
    width: 100px !important;
    background-color: #5db74f;
    color: #FFF;
}

.btn-cancelar {
    background-color: #ef3434;
}

.serverErr {
    color: #ff4141;
    font-weight: 100;
    display: inline-block;
    padding: 10px;
    margin-top: 10px;
    clear: left;
}

.serverMen {
    color: #04B404;
    font-weight: 100;
}

.serverErrModal {
    color: #ff4141;
    font-weight: 100;
    margin-top: 20px;
}

.field-validation-error {
    color: red;
    margin-top: 5px;
    display: inline-block;
}

/*Multiselect*/
form .k-multiselect.k-header {
    border: 1px solid #dedede;
}

form .k-multiselect-wrap {
    border-radius: 5px !important;
}

/*Treeview*/
div.k-treeview {
    height: 300px;
    border-width: 1px !important;
}
/*------------------------------Formularios--------------------------*/
/*############################# RESPONSIVE ###################################*/
@media (min-width: 1220px) {
    .navbar-search {
        width: 500px;
        margin-right: 30px;
    }
}

@media (min-width: 768px) {
    #listados .form-group {
        padding-left: 5px;
        padding-right: 5px;
        width: 20%;
    }
}

@media (max-width: 1720px) {
    .description_general p {
        font-size: 12px;
    }

    .description_general h3 {
        font-size: 18px;
    }
}

@media (max-width: 1400px) {
    .description_general p {
        font-size: 11px;
    }

    .description_general h3 {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    header .float-right {
        float: none !important;
    }

    h3 {
        font-size: 18px;
    }
}

@media (max-width: 1366px) {
    p {
        font-size: 15px;
        line-height: 22px;
    }
}

@media (max-width: 1024px) {
    navbar-nav {
        margin-top: 0px;
    }

    .navbar-nav > li > a {
        padding: 0px;
        margin: 10px 18px 20px 18px;
    }
}

@media (max-width: 480px) {
    h3 {
        font-size: 15px;
        font-weight: 700;
    }

    h1 {
        font-size: 40px;
    }

    td {
        max-width: 10px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
}

@media only screen and (min-width: 767px) and (max-width: 992px), only screen and (min-width: 480px) and (max-width: 767px), only screen and (min-width: 280px) and (max-width: 380px), only screen and (min-width: 380px) and (max-width: 480px) {
}


@media only screen and (min-width: 480px) and (max-width: 767px) {
    .home-section .mobile-bg {
        display: table;
        height: 46vh;
    }
}

@media only screen and (min-width: 380px) and (max-width: 480px) {
    .home-section .mobile-bg {
        display: table;
        height: 60vh;
    }
}

@media only screen and (min-width: 280px) and (max-width: 380px) {
    .home-section .mobile-bg {
        display: table;
        height: 66vh;
        padding: 0 6px;
    }
}

@media only screen and (min-width: 767px) and (max-width: 992px), only screen and (min-width: 480px) and (max-width: 767px), only screen and (min-width: 380px) and (max-width: 480px), only screen and (min-width: 280px) and (max-width: 380px) {
    .row-eq-height {
        display: block;
    }
}

@media (max-width:960px) {
    .navbar-header, .navbar-right {
        float: left;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

        .navbar-collapse.collapse {
            display: none !important;
        }

    .navbar-nav {
        margin: 7.5px 0;
    }

        .navbar-nav > li {
            float: none;
        }

            .navbar-nav > li > a {
                padding-top: 10px;
                padding-bottom: 10px;
            }

    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .collapsing {
        overflow: hidden !important;
    }
}


.titlepanel {
    display: none;
}

p.error {
    color: #ff4141;
}

p.success {
    color: #84a555;
}

a.list-column-sort {
    color: #fff;
}

.ewHighlightSearch {
    font-weight: bold;
    background-color: #ff0;
}

#ui-datepicker-div {
    background-color: #fff;
    padding: 11px;
    border: 1px solid #009ad6;
    display: none;
    min-width: 222px;
}

.ui-datepicker-title {
    margin-top: 2px;
    margin-bottom: 6px;
    text-align: center;
}

.ui-datepicker-prev {
    cursor: pointer;
    font-size: 22px;
    float: left;
}

.ui-datepicker-next {
    cursor: pointer;
    font-size: 22px;
    float: right;
}

.ui-datepicker-calendar th, .ui-datepicker-calendar td {
    padding: 2px 3px;
    text-align: right;
}

.ui-datepicker-month {
    margin-right: 5px;
}

.ui-datepicker-month, .ui-datepicker-year {
    border-color: #009ad6;
}

.ui-datepicker-today {
    background-color: #ffde65;
}

.ui-datepicker-current-day {
    background-color: #009ad6;
}

    .ui-datepicker-current-day > a {
        color: #fff;
    }


/*TIME PICKER*/
.ui-timepicker-div .ui-widget-header {
    margin-bottom: 8px;
}

.ui-timepicker-div dl {
    text-align: left;
}

    .ui-timepicker-div dl dt {
        float: left;
        clear: left;
        padding: 0 0 0 5px;
    }

    .ui-timepicker-div dl dd {
        margin: 0 10px 10px 40%;
    }

.ui-timepicker-div td {
    font-size: 90%;
}

.ui-tpicker-grid-label {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
}

.ui-timepicker-div .ui_tpicker_unit_hide {
    display: none;
}

.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input {
    background: none;
    color: inherit;
    border: none;
    outline: none;
    border-bottom: solid 1px #555;
    width: 95%;
}

    .ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus {
        border-bottom-color: #aaa;
    }

.ui-timepicker-rtl {
    direction: rtl;
}

    .ui-timepicker-rtl dl {
        text-align: right;
        padding: 0 5px 0 0;
    }

        .ui-timepicker-rtl dl dt {
            float: right;
            clear: right;
        }

        .ui-timepicker-rtl dl dd {
            margin: 0 40% 10px 10px;
        }

/* Shortened version style */
.ui-timepicker-div.ui-timepicker-oneLine {
    padding-right: 2px;
}

    .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time,
    .ui-timepicker-div.ui-timepicker-oneLine dt {
        display: none;
    }

    .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label {
        display: block;
        padding-top: 2px;
    }

    .ui-timepicker-div.ui-timepicker-oneLine dl {
        text-align: right;
    }

        .ui-timepicker-div.ui-timepicker-oneLine dl dd,
        .ui-timepicker-div.ui-timepicker-oneLine dl dd > div {
            display: inline-block;
            margin: 0;
        }

            .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before,
            .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before {
                content: ':';
                display: inline-block;
            }

            .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before,
            .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before {
                content: '.';
                display: inline-block;
            }

    .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide,
    .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before {
        display: none;
    }

.ui_tpicker_hour_slider > select, .ui_tpicker_minute_slider > select, .ui_tpicker_second_slider > select {
    border-color: #009ad6;
}

.ui-datepicker-close {
    float: right;
    border: none;
    background-color: #84a555;
    color: #fff;
    padding: 5px;
}

button.ui-datepicker-current {
    border: none;
    background-color: #ffde65;
    padding: 5px;
}

.ui-datepicker-calendar {
    margin: 0 auto;
}

.popover {
    max-width: none;
    width: auto;
    font-weight: normal;
}

    .popover .ewListOptionBody, .popover .ewPreviewLowerPanel, .popover .ewListOptionHeader {
        display: none;
    }

.k-progressbar {
    width: 100% !important;
    background-color: #dddddd !important;
    border-color: #c6c6c6 !important;
}

.kpi {
    display: inline-block;
    max-width: 325px;
    min-width: 325px;
    border-radius: 5px;
    padding: 0px;
}

@media (max-width: 480px) {
    .kpi {
        min-width: 100%;
    }
}

#production .kpi {
    border: 15px solid #57b8e2;
}

#energy .kpi {
    border: 15px solid #84a555;
}

#general .kpi {
    border: 15px solid #8b8b8b;
}

#favoritos {
    padding: 0px;
}

#favoritos {
    padding: 0px;
}

.a-mapa-normal {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: calc(100% - 70px);
}

/* MAPA SITIO */
#mapasitio ul {
    list-style: none;
    padding-left: 26px;
    margin: 0px;
}

    #mapasitio ul li {
        margin-bottom: 4px;
    }

#mapasitio .glyphicon {
    top: 3px;
}

#mapasitio .fa {
    font-size: 20px;
    color: #313b3d;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.node-box {
    font-size: 14px;
}

.node-list .a-mapa-normal {
    float: left;
    line-height: 35px;
}

.node-list img {
    float: right;
}

.img-fav-mapa {
    opacity: 0.4;
    cursor: pointer;
}

.node-fav {
    opacity: 1;
}

.fix-panel {
    margin-bottom: -15px;
}

#searchMapaSitio {
    border: 1px solid #dddddd;
    background: #fff;
    outline: none;
}
/* FIN MAPA SITIO */

.quick-search input:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.quick-search .dropdown-toggle {
    background-color: #009ad6;
    color: #FFFFFF;
}

.quick-search .dropdown-menu > .active > a {
    background-color: #0072bb;
}

.quick-search #psearch {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}

#btnAction, .ewPopupBtnOk {
    background-color: #52aa39 !important;
    border: 0;
    color: #FFFFFF;
    padding: 10px;
    margin-right: 20px;
}

#btnCancel, .ewPopupBtnCancel {
    background-color: #f55353 !important;
    border: 0;
    color: #FFFFFF;
    padding: 10px;
}

.options-down {
    background-color: #fdecae;
}

/*ALERTIFY - AVISOS*/
.ajs-message.ajs-error {
    color: white !important;
}

.alertify-notifier .ajs-message.ajs-success {
    color: white !important;
}
/*FIN ALERTIFY - AVISOS*/

/*EXPORTAR A PDF*/
/* Evita que se muestre al exportar a pdf los iconos de filtro*/
.k-pdf-export .k-command-cell,
.k-pdf-export .k-button,
.k-pdf-export .k-grid-filter,
.k-pdf-export .k-grid-pager,
.k-pdf-export .k-grid-top,
.k-pdf-export .grid-command {
    display: none !important;
}

/* para el template.*/
.titleinformes {
    /*background-color: #009ad6;*/
    padding: 5px;
    /*font-weight:bold;*/
    color: black;
    font-size: 20px;
    /*margin-bottom: 10px;*/
}

.pageinformes {
    padding: 20px;
    font-size: 12px;
}

#logo img {
    max-height: 60px;
    width: auto;
}

.page-template {
    /*   position: absolute;*/
    width: 100%;
    height: 100%;
    top: -10px;
    left: 0px;
}

    .page-template .header {
        position: absolute;
        top: 0px;
        left: 30px;
        right: 30px;
        height: 100px;
        text-align: center;
        color: black;
        font-size: 24px;
    }

    .page-template .footer {
        position: absolute;
        bottom: 30px;
        left: 30px;
        right: 30px;
        border-top: 1px solid #888;
        text-align: center;
        color: #888;
    }

    .page-template .watermark {
        font-weight: bold;
        font-size: 400%;
        text-align: center;
        margin-top: 30%;
        color: #aaaaaa;
        opacity: 0.1;
        transform: rotate(-35deg) scale(1.7, 1.5);
    }

/*FIN EXPORTAR A PDF*/

/*LAYOUT*/
.blue {
    background-color: #009ad6;
}

.wrapper {
    display: flex;
    flex-grow: 1;
    align-items: stretch;
}

#content {
    flex-grow: 1;
    overflow-x: hidden; /* La clase row añade el margin derecho 15px y hace que salga el scroll */
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    background-color: whitesmoke;
}

#content-body {
    flex-grow: 1;
    margin: 10px;
}

#footer {
    padding: 20px;
}

/*SIDEBAR*/
.sidebar-header {
    background-color: white;
}

    .sidebar-header img {
        max-width: 250px;
    }

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background-color: #009ad6;
    color: #fff !important;
    transition: all 0.3s;
}

    #sidebar.active {
        margin-left: -250px;
    }

    #sidebar ul li a {
        padding: 7px;
        padding-left: 20px;
        font-size: 1em;
        display: block;
        color: #fff !important;
        text-decoration: none;
        cursor: pointer;
    }

        #sidebar ul li a.second-level {
            padding-left: 30px;
        }

        #sidebar ul li a.third-level {
            padding-left: 40px;
        }

        #sidebar ul li a.fourth-level {
            padding-left: 50px;
        }

        #sidebar ul li a:hover {
            background: #7dd5fb;
            border-right: 3px solid white;
        }

    #sidebar ul li.active {
        background: #017baa;
    }

    #sidebar .fa, #sidebar .glyphicon {
        font-size: 16px;
        color: #fff;
        padding-right: 10px;
    }

    #sidebar a:hover > .fa, #sidebar a:hover > .glyphicon {
        color: #017baa;
    }

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

        #sidebar.active {
            margin-left: 0;
        }
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

/*CABECERA*/
#cabecera {
    background-color: white;
}

    #cabecera .navbar {
        margin-bottom: 0px;
        padding-bottom: 0px;
    }

#cabecera-title {
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
    padding-left: 20px;
}

#cabecera ul li a {
    text-decoration: none;
}

#cabecera ul li:hover {
    background-color: whitesmoke;
}

#cabecera .dropdown-menu {
    min-width: 160px;
    left: auto;
    right: 0;
    margin: 1px 0 0;
    font-size: 14px;
}

    #cabecera .dropdown-menu li a {
        color: #333;
    }

#cabecera ul li {
    padding: 8px;
}

    #cabecera ul li a {
        display: initial;
    }

#cabecera .nav .open > a, #cabecera .nav .open > a:hover, #cabecera .nav .open > a:focus {
    background-color: #eee;
    border-color: #428bca;
}

/*LOADER*/
.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.5);
    filter: alpha(opacity=0);
    z-index: 10004;
}

.loaderModal {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.5);
    filter: alpha(opacity=0);
    z-index: 10004;
}

.spinner {
    color: #004485;
    position: absolute;
    margin: 0px auto;
    left: 50%;
    top: 10%;
}

/*FORMULARIO BÚSQUEDA*/
.form-filter {
    background-color: white;
    padding: 20px;
}

    .form-filter label {
        font-weight: bold;
        width: 100%
    }

    .form-filter .searchBtn {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        width: 99%;
    }

        .form-filter .searchBtn input {
            color: white !important;
        }

    .form-filter .k-widget, .form-filter .k-picker-wrap {
        width: 95%;
        border-color: lightgrey !important;
    }

    .form-filter .k-dropdown-wrap {
        border-color: lightgrey !important;
    }

.k-input, .k-multiselect-wrap, .k-textarea, .k-textarea > textarea, .k-textbox, .k-textbox > input {
    background-color: #fafafa !important;
}


/*Dashboard Styles*/
.dx-datagrid-headers {
    background-color: #DDD !important;
    color: #666 !important;
    font-weight: bold !important;
    font-size: 13px !important;
}

.dx-dashboard-caption-toolbar {
    background-color: #017baa !important;
}

    .dx-dashboard-caption-toolbar .dx-button,
    .dx-dashboard-caption-toolbar .dx-dashboard-ellipsis {
        color: white !important;
    }

    .dx-dashboard-caption-toolbar .dx-toolbar-item {
        color: white !important;
        font-weight: bold !important;
    }

.dx-header-row td {
    text-align: center !important;
}

.dx-data-row td {
    text-align: center !important;
}

.dx-button-cotent {
    color: white !important;
}

.dx-dashboard-viewer td, .dx-dashboard-viewer tr {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #ddd !important;
}
/*FIN Dashboard Styles*/


.dx-dashboard-item-container :not(.dx-popup-wrapper).dx-overlay-shader {
    display: none !important;
}

.dx-dashboard-item-loading-panel {
    display: none !important;
}


/* COMPONENTES CUSTOM */
/*Parameter Item Custom*/
.dx-datagrid-text-content {
    background-color: #ecedf0 !important;
    background-color: #017baa !important;
    padding: 0px !important;
    margin-bottom: 0px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
}

.dx-cell-focus-disabled {
    background-color: #017baa !important;
}

/*Parameter Item Custom*/
.lista-variables {
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .lista-variables .title {
        background-color: #017baa !important;
        padding: 6px !important;
        margin-bottom: 0px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
    }

    .lista-variables ol {
        list-style: none;
        margin: 0 !important;
        font-size: 14px;
        font-weight: 400;
        padding: 5px 10px !important;
        display: flex;
        flex-direction: column;
        overflow: auto;
    }

    .lista-variables li {
        padding: 4px 0px !important;
        /*flex-basis: fit-content;*/
    }

    .lista-variables input[type=checkbox] {
        width: 20px;
        height: 20px;
        margin-right: 8px;
        margin-top: 0px;
        vertical-align: middle;
    }

    .lista-variables span {
        vertical-align: middle;
    }

.chart-variables-comp {
    text-align: center;
}

.chart-variables-comp, .chart-variables, .chart-variables-chart {
    height: 100%;
}

.canvasjs-chart-toolbar {
    right: 50px !important;
}

.no-data {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

    .no-data p {
        font-size: 20px;
        color: #e81111;
        font-weight: 500;
    }

.chart-loading {
    position: absolute;
    height: 100%;
}


.chart-variables-comp {
    position: relative;
}

.chart-variables {
    padding: 20px;
}

.line .chart-variables {
    padding: 0px 5px;
}

.perfil-diario {
    display: flex;
    flex-direction: column;
}

    .perfil-diario .perfil-diario-toolbar {
        padding: 4px 12px;
        background-color: #017baa !important;
    }

        .perfil-diario .perfil-diario-toolbar button {
            float: right;
            color: #000 !important;
            background-color: #fff;
            border: none;
            outline: none !important;
        }

            .perfil-diario .perfil-diario-toolbar button.selected {
                background-color: #f8b26a;
            }

        .perfil-diario .perfil-diario-toolbar .btn-instan {
            margin-left: 10px;
        }

    .perfil-diario .perfil-diario-title {
        float: left;
        font-size: 14px;
        font-weight: 700;
        margin: 0;
        line-height: 30px;
    }

.dx-dashboard-standalone-item .perfil-diario .perfil-diario-title {
    max-width: 40%;
}

/* COMPONENTES CUSTOM */


/*GRID VARIABLES*/
.dx-dashboard-item {
    overflow: auto;
}

.grid-variables-comp {
    text-align: center;
    position: relative;
}

.grid-variables-comp, .grid-variables {
    height: 100%;
}

.grid-variables {
    text-align: center;
    height: 100%;
}

    .grid-variables table {
        width: 100%;
        font-size: 13px;
        font-weight: normal;
        position: relative;
    }

        .grid-variables table th {
            position: sticky;
            top: 0;
        }

        .grid-variables table td, .grid-variables table th {
            padding: 3px;
        }

        .grid-variables table th {
            background-color: #017baa !important;
            color: white;
            font-weight: 700;
        }

.grid-loading {
    position: absolute;
    height: 100%;
}

.boton-download {
    float: right;
    color: white;
    background: #828282;
    font-family: arial;
    font-size: 14px;
    font-weight: 300;
    margin-right: 15px;
    margin-top: 4px;
    margin-bottom: 4px;
    width: 120px;
    height: 30px;
}
/*GRID VARIABLES*/
