
/* Colores especificos */

:root {
    /*--colorPrincipal: #1FE5FF;*/
    --colorPrincipal: #06C3DC;
    --colorPrincipalInverso: #003E8A;
    --colorPrincipalHover: #07B3C9;
    --colorPrincipalOscuro: #003E8A;
    --colorPrincipalOscuroInverso: #FFF;
    --colorVerde: #38ca3c;
    --colorRojo: #c71f1f;
    --colorNaranja: #dfae65;
}

.colorPrincipal {
    color: var(--colorPrincipal) !important
}

.fondoPrincipal {
    background-color: var(--colorPrincipal) !important
}

.fondoVerde {
    background-color: var(--colorVerde) !important
}

.fondoRojo {
    background-color: var(--colorRojo) !important
}


.colorPrincipalInverso {
    color: var(--colorPrincipalInverso) !important
}

.colorPrincipalOscuro {
    color: var(--colorPrincipalOscuro) !important
}

.colorPrincipalOscuroInverso {
    color: var(--colorPrincipalOscuroInverso) !important
}

.fondoPrincipalOscuro {
    background-color: var(--colorPrincipalOscuro) !important
}

.fondoAzul85pct {
    background-color: rgba(54,96,150,.85);
}

.colorVerde {
    color: var(--colorVerde) !important
}

.colorRojo {
    color: var(--colorRojo) !important
}

.colorNaranja {
    color: var(--colorNaranja) !important
}

.colorCabeceraTablas {
    background-color: #f7f7f7;
}

.colorCabeceraTablasSecundarias {
    background-color: #E0EBED;
}

.field-validation-error {
    font-size: 12px;
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--colorPrincipal);
    background-color: var(--colorPrincipal);
}

.cursor-pointer {
    cursor: pointer;
}

/******************************************************************************************/
/********************************GENÉRICOS APLICACIONES************************************/
/******************************************************************************************/
body {
    font-size: 14px;
    font-family: "Montserrat";
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
}

html, body {
    height: 100%;
    min-height: 100%;
}

.h1, h1 {
    font-size: 1.85rem;
}

.h2, h2 {
    font-size: 1.50rem;
}

.h3, h3 {
    font-size: 1.25rem;
}

.h4, h4 {
    font-size: 1rem;
}

.h5, h5 {
    font-size: 1rem;
}

/******************************************************************************************/
/***************************************FONT WEIGTHS***************************************/
/******************************************************************************************/
.fontWeightBold {
    font-weight: bold;
}

/******************************************************************************************/
/*************************************FOTOS BACKGROUNDS************************************/
/******************************************************************************************/
.bg-login {
    background: url("../../images/fondo-lineas-azules.jpg") center center no-repeat;
    background-size: cover;
}


/******************************************************************************************/
/***************************************NAVBAR*********************************************/
/******************************************************************************************/
.navbar .navbar-item {
    font-size: 15px;
    color: #CCCCCC;
    margin-right: 20px;
    text-decoration: none;
}

    .navbar .navbar-item:hover {
        color: #FFFFFF;
    }

.navbar .nombre-centro {
    color: #CCCCCC;
    font-size: 17px;
    text-transform: uppercase;
}

/******************************************************************************************/
/***************************************BADGES***************************************/
/******************************************************************************************/
.badge-default {
    background-color: var(--colorPrincipal);
    color: #FFF;
}

    .badge-default:hover {
        background-color: var(--colorPrincipalHover);
        color: #FFF;
    }

/******************************************************************************************/
/*************************************BOTONES**********************************************/
/******************************************************************************************/
.btn-default, .btn-default:link, .btn-default:visited, .btn-default:focus {
    background-color: var(--colorPrincipal);
    color: #FFFFFF;
    padding: 3px 25px;
}

    .btn-default:hover {
        background-color: var(--colorPrincipalHover);
        color: #FFFFFF;
        padding: 3px 25px;
    }

    .btn-default:disabled {
        background-color: #CCCCCC;
        color: #FFFFFF;
        padding: 3px 25px;
    }

.btn-secondary, .btn-secondary:link, .btn-secondary:visited, .btn-secondary:focus {
    color: #FFF;
    padding: 3px 25px;
}

    .btn-secondary:hover {
        color: #FFF;
        padding: 3px 25px;
    }

.btn-success, .btn-success:hover, .btn-success:link, .btn-success:visited, .btn-success:focus {
    color: #FFF;
    padding: 3px 25px;
}

.btn-danger, .btn-danger:hover, .btn-danger:link, .btn-danger:visited, .btn-danger:focus {
    color: #FFF;
    padding: 3px 25px;
}

.btn-secondary:disabled {
    background-color: #CCCCCC;
    color: #FFF;
    padding: 3px 25px;
}

/* Cajas de texto básicas */

.form-group label {
    color: #333;
    font-size: 11px;
    line-height: 1.1;
    padding-top: 5px;
    margin-bottom: 3px;
}


/******************************************************************************************/
/******************************Cajas de texto SIN icono************************************/
/******************************************************************************************/
.input .form-control:focus {
    color: #000;
    background-color: transparent;
    border-color: transparent;
    outline: 0;
    box-shadow: none;
    border-bottom: solid 1px #333;
}

.input label {
    color: #ABABAB;
    font-size: 11px;
    line-height: 1.1;
    padding-top: 5px;
    margin-bottom: 0px;
}

.input {
    background-color: transparent;
    border-bottom: solid 1px white;
    position: relative;
    display: inline-block;
    width: 100%;
}
    .input input, .input select, .input textarea {
        background-color: transparent;
        border: none;
        color: #000;
        border-bottom: solid 1px var(--colorPrincipal);
        border-radius: 0px;
        padding-left: 2px;
        padding-right: 2px;
    }

    .input textarea {
        background-color: #f9f9f9;
        border: 1px solid #ddd;
        border-bottom: solid 1px var(--colorPrincipal);
    }

        .input textarea:focus {
            background-color: #f9f9f9 !important;
        }

.input input::placeholder {
    color: #bbb;
}

.input textarea, .input .choices__inner {
    margin-top: 6px;
}

/* Solución para que no se descuadre el botón de los datepicker */
.input.date span.input-group-append button {
    border: none;
    border-bottom: 1px var(--colorPrincipal) solid;
    border-radius: 0px;
    margin-top: 0px;
}

/******************************************************************************************/
/********************************Cajas de texto CON icono**********************************/
/******************************************************************************************/
.input-ico .form-control:focus {
    color: inherit;
    background-color: transparent;
    border-color: transparent;
    outline: 0;
    box-shadow: none;
}

.input-ico {
    background-color: transparent;
    border-bottom: solid 1px white;
    position: relative;
    display: inline-block;
    width: 100%;
}

    .input-ico input {
        background-color: transparent;
        border: none;
        padding-left: 30px;
        color: white;
    }

    .input-ico.mdi-usuario:before, .input-ico.mdi-password:before {
        position: absolute;
        top: 5px;
        left: 5px;
        color: white;
        font-family: "Material Design Icons";
    }

    .input-ico.mdi-usuario:before {
        content: "\F0004";
    }

    .input-ico.mdi-password:before {
        content: "\F033E";
    }

    .input-ico input::placeholder {
        color: #bbb;
    }
/******************************************************************************************/
/***************************************CHECKBOX*******************************************/
/******************************************************************************************/
input[type=checkbox] {
    transform: scale(1.3);
    cursor: pointer;
}

.checkbox {
    filter: hue-rotate(275deg);
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid var(--colorPrincipal) !important;
}

    .checkbox:checked {
        background-color: var(--colorPrincipal);
        border: 2px solid white !important;
        outline: 1px solid var(--colorPrincipal);
    }

.checkboxRadioButton {
    width: 13px;
    height: 13px;
    background-color: white;
    border-radius: 50% !important;
    vertical-align: middle;
    border: 1px solid grey !important;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
}

    .checkboxRadioButton:checked {
        background-color: var(--colorPrincipal);
        border: 2px solid white !important;
        outline: 1px solid var(--colorPrincipal);
    }

/******************************************************************************************/
/**************************************FILE INPUT******************************************/
/******************************************************************************************/
.custom-file-label::after {
    content: "\F0A4E";
    font-family: "Material Design Icons";
    background-color: var(--colorPrincipal);
    color: var(--colorPrincipalInverso);
    padding: 1px 10px;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 1.4rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    height: unset;
}

.input .custom-file-label {
    line-height: 1.7 !important;
    height: calc(1.5em + 0.75rem + 5px);
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    color: #ABABAB;
    font-size: 11px;
    border-bottom: solid 1px var(--colorPrincipal);
    border-radius: 0px;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

/******************************************************************************************/
/***************************************CARGANDO*******************************************/
/******************************************************************************************/
#materialLoading {
    font-family: roboto;
    color: #222;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: table;
    z-index: 9999;
}

#materialLoadingCentered {
    display: table-cell;
    vertical-align: middle;
    padding: 20px;
}

#materialLoadingContent {
    text-align: center;
}

    #materialLoadingContent .spinner-container {
        background-color: #FFFFFF;
        text-align: center;
        border-radius: 7px;
        padding: 40px 20px;
    }

        #materialLoadingContent .spinner-container .texto {
            padding-top: 10px;
            font-size: 16px;
            font-weight: bold;
        }

        #materialLoadingContent .spinner-container .spinner-border {
            text-align: center;
            color: var(--colorPrincipal);
            width: 3rem;
            height: 3rem;
        }

#materialLoading.hide {
    opacity: 0;
    transition: opacity 0.2s ease-out;
    pointer-events: none;
}

    #materialLoading.hide #materialLoadingCentered {
        transform: scale(0.8);
        transition: transform 0.2s ease-out;
    }

#materialLoading.show {
    opacity: 1;
    transition: opacity 0.2s ease-in;
}

    #materialLoading.show #materialLoadingCentered {
        transform: scale(1);
        transition: transform 0.2s ease-in;
    }

/******************************************************************************************/
/***************************************GRID***********************************************/
/******************************************************************************************/
.mvc-grid-pager .active {
    border-color: var(--colorPrincipal) !important;
    background: var(--colorPrincipal) !important;
}

/******************************************************************************************/
/*********************************CONTADOR SALDO*******************************************/
/******************************************************************************************/
.contador-saldo {
    background-color: var(--colorPrincipal);
    color: #FFFFFF;
    display: block;
    padding: 8px 8px;
    border-radius: 5px;
    margin-right: 50px;
    font-size: 15px;
}


/******************************************************************************************/
/*********************************PROGRESS BAR*********************************************/
/******************************************************************************************/
.progress {
    height: 1.5em;
    width: 100%;
    background-color: #c9c9c9;
    position: relative;
}

    .progress .value {
        background-color: var(--colorPrincipal);
        display: inline-block;
        height: 100%;
        text-align: center;
        font-size: 0.8em;
        font-weight: bold;
        color: #FFFFFF;
        line-height: 17px;
    }

/******************************************************************************************/
/*********************************TABLE RESULT CONTENT*************************************/
/******************************************************************************************/
.table-content-header {
    border-left: 1px solid darkgrey;
    border-bottom: 1px solid darkgrey;
    border-right: 1px solid darkgray;
    background-color: #e8e8e8;
    text-align: center;
    padding: 8px 16px;
    line-height: 24px;
}

.table-content-result {
    border-left: 1px solid darkgrey;
    border-bottom: 1px solid darkgrey;
    border-right: 1px solid darkgray;
    text-align: center;
    padding: 8px 16px;
    line-height: 24px;
}

/*AJUSTE DE ACTIVE PARA NAV-LINK ACTIVE*/
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: var(--colorPrincipalOscuro);
    border-color: var(--colorPrincipalOscuro);
}

/******************************************************************************************/
/**********************************SELECTOR PROYECTOS**************************************/
/******************************************************************************************/
.selector-proyectos {
    margin-right: 50px;
    min-width: 350px;
    max-width: 500px;
}

    .selector-proyectos select {
        color: #FFF !important;
    }

    .selector-proyectos select option {
        color: #000 !important;
    }

/******************************************************************************************/
/*************************************NUEVO ENVIO******************************************/
/******************************************************************************************/
#frmNuevoEnvio .etiqueta, #frmNuevoEnvioSms .etiqueta {
    font-weight: bold;
    display: block;
    height: 100%;
    line-height: 36px;
}

#frmNuevoEnvio .contenedor-direcciones, #frmNuevoEnvioSms .contenedor-numeros {
    padding-top: 6px;
}

    #frmNuevoEnvio .contenedor-direcciones .direccion-email, #frmNuevoEnvioSms .contenedor-numeros .numero-movil {
        margin-right: 5px;
    }

#frmNuevoEnvio .adjunto-cargado {
    margin-right: 5px;
}

#frmNuevoEnvio .input input[type=checkbox] {
    cursor: pointer;
}

#frmNuevoEnvio .input .custom-switch label {
    color: #212529;
    line-height: 24px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

/******************************************************************************************/
/******************************SELECTOR GRAFICO CONSUMO************************************/
/******************************************************************************************/
.selector-grafico-consumo {
    background-color: #6c757d;
    color: #FFFFFF !important;
    padding: 8px 12px;
    font-size: 11px;
    display: inline-block;
    cursor: pointer;
}

    .selector-grafico-consumo.active {
        background-color: var(--colorPrincipal);
    }

/******************************************************************************************/
/************************************CONFIGURACION*****************************************/
/******************************************************************************************/
#frmConfiguracionProyecto .input input[type=checkbox] {
    cursor: pointer;
}

#frmConfiguracionProyecto .input .custom-switch label {
    color: #212529;
    line-height: 24px;
    font-size: 14px;
    cursor: pointer;
}

/******************************************************************************************/
/****************************************TABLAS********************************************/
/******************************************************************************************/
.table-responsive-rows th {
    font-size: 1em !important;
}

.mvc-grid-table > table > thead > tr > th {
    background-color: white !important;
    border-left: none !important;
    border-right: none !important;
    border-top: 2px solid #dee2e6 !important;
    border-bottom: 2px solid #dee2e6 !important;
}

.mvc-grid-table > table > thead > tr > th, .mvc-grid-table > table > tbody > tr > td, .mvc-grid-table > table > tfoot > tr > td {
    border-left: none !important;
    border-right: none !important;
}

.rowSeleccionada {
    background-color: #a8dfa0 !important;
}

.table-responsive-rows td.title-acciones {
    text-align: center;
    font-size: 1px;
    width: 100px;
}


@media only screen and (max-width: 1400px) {
    /* Force table to not be like tables anymore */
    .table-responsive-rows table, .table-responsive-rows thead, .table-responsive-rows tbody, .table-responsive-rows th, .table-responsive-rows td, .table-responsive-rows tr {
        display: block;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        .table-responsive-rows thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    .table-responsive-rows tr {
        padding-bottom: 50px;
        border-left: none;
        border-right: none;
    }

    .table-responsive-rows td {
        /* Behave like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        font-size: 14px;
        position: relative;
        padding-left: 42% !important;
        white-space: normal;
        text-align: right;
    }

        .table-responsive-rows td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            padding-right: 10px;
            white-space: nowrap;
            text-align: left;
            font-weight: bold;
            font-size: 14px;
        }

    .mvc-grid-table > table > thead > tr > th:nth-of-type(1), .mvc-grid-table > table > tbody > tr > td:nth-of-type(1), .mvc-grid-table > table > tfoot > tr > td:nth-of-type(1) {
        border-top: 1px solid black !important;
    }

    .mvc-grid-table > table > thead > tr > th:last-child, .mvc-grid-table > table > tbody > tr > td:last-child, .mvc-grid-table > table > tfoot > tr > td:last-child {
        border-bottom: 1px solid black !important;
    }

    /******************************************************************************************/
    /********************************CONFIGURACION TABLAS**************************************/
    /******************************************************************************************/


    /* TABLA DE MENSAJES */

    .table-responsive-rows td.title-messages-tipo:before {
        content: "Tipo:";
    }

    .table-responsive-rows td.title-messages-fenvio:before {
        content: "F. Env\00edo:";
    }

    .table-responsive-rows td.title-messages-identificador:before {
        content: "Identificador:";
    }

    .table-responsive-rows td.title-messages-remitente:before {
        content: "Remitente:";
    }

    .table-responsive-rows td.title-messages-destinatario:before {
        content: "Destinatario:";
    }

    .table-responsive-rows td.title-messages-asunto:before {
        content: "Asunto:";
    }

    .table-responsive-rows td.title-messages-estado:before {
        content: "Estado:";
    }

    table-responsive-rows td.title-messages-acciones {
        text-align: right !important;
        width: auto;
        font-size: 1px;
        padding-right: 5px;
    }

    .table-responsive-rows td.title-messages-acciones:before {
        content: "Acciones:";
    }

    /* TABLA DE MOVIMIENTOS */
    .table-responsive-rows td.title-movement-paymentdate:before {
        content: "Fecha:";
    }

    .table-responsive-rows td.title-movement-identifier:before {
        content: "Identificador:";
    }

    .table-responsive-rows td.title-movement-recipients:before {
        content: "Destinatario:";
    }

    .table-responsive-rows td.title-movement-subject:before {
        content: "Asunto:";
    }

    .table-responsive-rows td.title-movement-balance:before {
        content: "Importe:";
    }

    .table-responsive-rows td.title-movement-acciones {
        text-align: right !important;
        width: auto;
        font-size: 1px;
        padding-right: 5px;
    }

    /* TABLA DE CLIENTES */
    .table-responsive-rows td.title-customer-name:before {
        content: "Nombre:";
    }

    .table-responsive-rows td.title-customer-description:before {
        content: "Descripci\00f3n:";
    }

    .table-responsive-rows td.title-customer-balance:before {
        content: "Saldo:";
    }

    .table-responsive-rows td.title-customer-projects:before {
        content: "Projectos:";
    }

    .table-responsive-rows td.title-customer-actions {
        text-align: right !important;
        width: auto;
        font-size: 1px;
        padding-right: 5px;
    }

    /* TABLA DE PROJECTOS */
    .table-responsive-rows td.title-projects-name:before {
        content: "Nombre:";
    }

    .table-responsive-rows td.title-projects-customer:before {
        content: "Cliente:";
    }

    .table-responsive-rows td.title-projects-certifiedCC:before {
        content: "Certifica CC:";
    }

    .table-responsive-rows td.title-projects-certifiedBCC:before {
        content: "Certifica BCC:";
    }

    .table-responsive-rows td.title-projects-certifiedBlockchain:before {
        content: "Certificado Blockchain:";
    }

    .table-responsive-rows td.title-projects-payment:before {
        content: "Modo Pago:";
    }

    .table-responsive-rows td.title-projects-forward:before {
        content: "Reenv\00edo:";
    }

    .table-responsive-rows td.title-projects-attachmentBlockchain:before {
        content: "BlockChain Adjuntos:";
    }

    .table-responsive-rows td.title-projects-notify:before {
        content: "Notificar WebHook:";
    }

    .table-responsive-rows td.title-projects-actions {
        text-align: right !important;
        width: auto;
        font-size: 1px;
        padding-right: 5px;
    }

    /*TABLA DE SERVICIOS DE CONFIGURACION*/
    .table-responsive-rows td.title-sconfig-name:before {
        content: "Nombre:";
    }

    .table-responsive-rows td.title-sconfig-type:before {
        content: "Tipo:";
    }

    .table-responsive-rows td.title-sconfig-description:before {
        content: "Descripci\00f3n:";
    }

    .table-responsive-rows td.title-sconfig-domain:before {
        content: "Dominio:";
    }

    .table-responsive-rows td.title-sconfig-actions {
        text-align: right !important;
        width: auto;
        font-size: 1px;
        padding-right: 5px;
    }

