﻿.m-portlet__head .btn-toolbar:not(.btn-toolbar-inline) {
    margin-top: 15px;
    margin-bottom: 0px;
}

.btn-toolbar button, .btn-toolbar a {
    margin-right: 10px;
}

.btn-toolbar:not(.btn-toolbar-inline) {
    margin-bottom: 8px;
}

.btn-toolbar.btn-toolbar-inline {
    flex-wrap: nowrap;
}

.screen-spinner {
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: 0;
    margin-top: 0;
    z-index: 999;
}

/* Badges */
.badge-custom {
    padding-right: .6em;
    padding-left: .6em;
    border-radius: 10rem;
    color: #ffffff;
    background-color: #2c9acb;
}

/* Bootstrap like styles for alerts (jGrowl,flashMessage) */

div.jGrowl div.jGrowl-notification {
    font-size: 14px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #fcf8e3;
    border: 1px solid #fbeed5;
}

    div.jGrowl div.jGrowl-notification.ui-state-highlight, div.jGrowl div.jGrowl-notification.ui-state-success {
        color: #468847;
        background-color: #dff0d8;
        border-color: #d6e9c6;
        opacity: 1.0;
    }

    div.jGrowl div.jGrowl-notification.ui-state-danger, div.jGrowl div.jGrowl-notification.ui-state-error {
        color: #b94a48;
        background-color: #f2dede !important;
        border-color: #eed3d7 !important;
        opacity: 1.0;
    }

    div.jGrowl div.jGrowl-notification.ui-state-info {
        color: #3a87ad;
        background-color: #d9edf7;
        border-color: #bce8f1;
        opacity: 1.0;
    }

/* bootbox custom */
.bootbox-body {
    color: #404040;
}

.modal-content {
    background-color: #ffffff;
    color: #000000;
}

.modal-xlg {
    max-width: 90%;
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

/* Popover */
.popover {
    width: 200px;
}

.jquery-flot-comment {
    background-color: #428bca !important;
    color: #404040 !important;
}

    .jquery-flot-comment .notch {
        border-top: 5px solid #428bca !important;
    }

.jquery-flot-comment {
    background-color: white !important;
    color: black !important;
    font-size: 14px !important;
}

/* ace */
.space, .space-18, .space-24, .space-36, .space-9, .space-6, .space-3, .vspace, .vspace-18, .vspace-24, .vspace-36, .vspace-9, .vspace-6, .vspace-3 {
    display: block;
    height: 0;
    overflow: hidden;
    font-size: 0;
    margin: 12px 0;
}

.vspace, .vspace-18, .vspace-24, .vspace-36, .vspace-9, .vspace-6, .vspace-3 {
    display: none;
}

.space-18, .vspace-18 {
    margin: 18px 0;
}

.space-24, .vspace-24 {
    margin: 24px 0;
}

.space-36, .vspace-36 {
    margin: 36px 0;
}

.space-9, .vspace-9 {
    margin: 9px 0;
}

.space-6, .vspace-6 {
    margin: 6px 0;
}

.space-3, .vspace-3 {
    margin: 3px 0;
}

.form-inline .form-group {
    margin-right: 10px;
}

.bootbox-button-order {
    position: relative;
    float: right;
    margin-left: 6px;
}


/* custom navbar */

.navbar-brand {
    padding: 2px 20px;
}

.navbar-default {
    background-color: #00396a;
    border-color: #e7e7e7;
}

    .navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > a:active {
        color: #fff;
    }

        .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
            background-color: #2c9acb;
            color: #fff;
        }

    .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
        background-color: #2c9acb;
        color: #fff;
    }

.dropdown-menu > li > a:hover {
    background-color: #2c9acb;
    color: #fff;
}

/* navbar custom badge */
.navbar-default .navbar-nav > li > a:hover .badge-custom, .navbar-default .navbar-nav > .open > a .badge-custom {
    background-color: #00396a;
}

/* custom list-item-group-warning for home  ffdfbb*/
a.list-group-item-toexpire, .list-group-item-toexpire {
    color: #ca7a20;
    background-color: #ffdfbb;
}

    a.list-group-item-toexpire:hover, .list-group-item-toexpire:hover {
        color: #ca7a20;
        background-color: #ffd6a8;
    }

.label-toexpire {
    background-color: #ecb53e;
}


.tooltip-inner {
    max-width: 350px;
    /* If max-width does not work, try using width instead */
}


/* glyphicon spinner */
.glyphicon-refresh-animate {
    animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}
/* end glyphicon spinner */



/* para fondo de icono redondo, no usado por ahora*/
.icon-background1 {
    color: #ffc0ff;
}

.circle-icon2 {
    background: #ffc0c0;
    padding: 30px;
    border-radius: 50%;
}

.circle-icon {
    background: #ffc0c0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    text-align: center;
    line-height: 100px;
    vertical-align: middle;
    padding: 30px;
}
/* fin para fondo de icono */

/* para color de ícono de documento*/
.attachment-color-word {
    color: #0094ff !important;
}

.attachment-color-excel {
    color: forestgreen !important;
}

.attachment-color-pdf {
    color: #ff0000 !important;
}

.modal-alert {
    margin: 15px;
}

.truncate {
    width: 250px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media(min-width: 576px) {
    #panel-derecho {
        border-left: outset;
    }
}

#tesauros-list {
    padding-left: 0
}

.m-badge.m-badge--tesauro {
    background-color: #f2f3f8;
    color: #004b8c;
    font-size: .9rem;
}

/* Centra labels en form-groups de forma vertical*/
label.control-label {
    padding-top: 8px;
}

.m-radio-inline {
    padding: 5px 0;
}

.nk-filter-row {
    margin-left: 0;
    margin-bottom: 10px;
}

.nk-filter-control {
    margin-right: 10px;
}

label {
    color: #707070;
}

.m-portlet .m-portlet__body {
    color: black;
}

.m-portlet__foot button {
    margin-right: 10px;
}

.m-portlet__foot a, .m-portlet__head-caption a {
    margin-right: 10px;
}

.m-portlet__body button {
    margin-right: 10px;
}

.m-portlet--noborder {
    -webkit-box-shadow: inherit !important;
    -moz-box-shadow: inherit !important;
    background-color: #fff;
}

.m-portlet.m-portlet--noborder:not(.m-portlet--fullscreen) .m-portlet__head {
    padding: 0;
}

.m-portlet.m-portlet--noborder .m-portlet__body {
    padding-left: 0;
    padding-top: 1em;
}

.m-portlet.m-portlet--noborder .m-portlet__head {
    height: 4rem;
}


.nk-form-actions .btn {
    margin-right: 10px;
}

/*Bold de 500*/
.m--font-bold-500 {
    font-weight: 500;
}




/*Quitar el text decoration de los links en el comentario con icono*/
.none-decoration-link a {
    text-decoration: none;
}

    .none-decoration-link a i {
        color: #858586 !important;
    }

.separador-comentario {
    border-bottom: 1px solid #ebedf2;
    height: 0;
    margin: 10px 0 5px 0;
}

/*Boton editar comentario*/
.button-editar-comentario {
    display: none;
}

/*Caja con el comentario*/
.comentario-container:hover .button-editar-comentario {
    display: block;
}

.m-header .m-header-head .m-header__title {
    display: table;
    height: 100%;
    float: left;
}

    .m-header .m-header-head .m-header__title .m-header__title-text {
        vertical-align: middle;
        display: table-cell;
        padding: 0 40px 0 30px;
        color: #4C4C50;
        font-size: 1.4rem;
        font-weight: 500;
    }

.m-header {
    height: 70px;
}

.m-portlet__head form {
    margin-top: 20px;
}

/*@media (min-width: 993px)*/
.m-brand {
    height: 70px;
}

/* se oculta el titulo de la cabecera si es mobile */
@media screen and (max-width: 993px) {
    .nk-header_title {
        display: none !important;
    }
}

/* solo se muestra el subtitulo para los mobiles */
@media screen and (min-width: 993px) {
    .nk-header_subtitle {
        display: none !important;
    }
}


/*Estiliza títulos de sección y añade un borde tipo hr debajo*/
.section-title {
    color: #36a3f7 !important;
    padding-bottom: 10px;
    border-bottom: 1px solid;
    border-bottom-color: #ebedf2;
    margin-bottom: 20px;
}

/* FM */
/*.section-content {
    margin-top: 30px;
}*/

/*Añade un margen de 30 pixeles debajo de la sección*/
.section-content:not(:last-child) {
    margin-bottom: 30px;
}

/* a as button*/

a:not([href]) .btn {
    color: red !important;
}

/* separador de botones dentro de table cell*/

.btn-cell {
    margin-right: 10px;
}

/* estado borrador*/

.etapas-box {
    display: grid;
    grid-row-gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
}

.estado-btn {
    /*margin: 0 auto;*/
    width: 200px;
    text-align: center !important;
}

    .estado-btn > div > a > i {
        font-style: normal;
    }

.etapa-funcionario {
    font-size: 0.8rem;
    font-weight: 400;
}

    .etapa-funcionario > .etapa-funcionario-actual {
        font-weight: 600;
    }

.etapa-fecha {
    font-size: 0.8rem;
    font-weight: 400;
    color: #707070;
}

/* estilos bitacora revision */

.bitacora-observacion {
    font-size: 0.9rem;
    color: #ababab;
}

/*CORRECCION A POSICION DE ERROR MESSAGE DE DROPZONE*/
.dropzone .dz-preview .dz-error-message {
    top: 150px !important;
}

.m-card-user .m-card-user__details .m-card-user__name {
    font-size: 1.1rem;
}



/*AQUI COLORES NUEVOS PARA BADGES, ANTEPONER CUSTOM PARA SABER QUE SON COLORES CREADOS POR NOSOTROS*/
.m-badge--custom-metal {
    background-color: #a6a6a6;
}

.m-badge--custom-orange {
    background-color: #ff8133;
}



/*Font y color para mostrar contexto en los comentarios y su fecha de creación*/
.nk-contexto-comentario, .nk-comentario-time {
    color: #858586 !important;
    font-size: 0.9rem !important;
}

.default-value {
    font-style: italic !important;
    color: #707070;
}

.column-truncate {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/*No padding*/
.m--padding-0 {
    padding: 0;
}

/*Estilos detalle documento*/
.documento-materia {
    word-wrap: break-word;
}

/*Tamaño de ícono en cajas de alerta*/
.warning-box-icon {
    font-size: 2.8rem;
}

.mark, mark {
    padding: .2em;
    background-color: #e6acb1
}

.btn[disabled] {
    cursor: default;
}

/*Estilos para grilla de cupos por unidad/nacionales*/

.cupos-grid > table > thead > tr > th:first-child {
    width: 1000px;
    text-align: center;
}

.cupos-grid > table > thead > tr > th {
    width: 200px;
    text-align: center;
}

.cupos-grid > table > tbody > tr > td {
    text-align: center;
    vertical-align: inherit;
}

.widget-box {
    -webkit-box-shadow: 0 1px 4px 1px rgba(69,65,78,.08);
    -moz-box-shadow: 0 1px 4px 1px rgba(69,65,78,.08);
    box-shadow: 0 1px 4px 1px rgba(69,65,78,.08);
    background-color: #fff;
}

    .widget-box.widget-box--blue {
        -webkit-box-shadow: 0 1px 4px 1px rgba(0,91,132,.3);
        -moz-box-shadow: 0 1px 4px 1px rgba(0,91,132,.3);
        box-shadow: 0 1px 4px 1px rgba(0,91,132,.3);
        background-color: #bfebff;
    }

.widget-cupos__item {
    /*display: table-cell;*/
    font-size: 1rem;
    /*vertical-align: middle;*/
    /*line-height: 0;*/
    text-align: center;
    padding: 1.0rem;
}

.widget-cupos__number {
    display: block;
    /*margin-bottom: 1.3rem;*/
    font-size: 1.5rem;
}

    .widget-cupos__number .widget-cupos__current {
        font-weight: 600;
    }

.widget-cupos__comment {
    display: inline-block;
    font-size: .85rem;
    color: #404040;
    word-wrap: break-word;
}

.reserva-trabajador-panel {
    border-bottom: .1rem dashed #ebedf2;
    margin-bottom: 2rem;
}

.application-icon a {
    text-decoration: none;
    color: #404040;
}

    .application-icon a:hover {
        text-decoration: none;
    }

/*.application-icon:hover{
    border: 1px solid #c1c1c1;
}*/

label.error {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #fd397a;
}

.form-group label.error {
    font-weight: 400;
}

.form-control.error {
    border-color: #fd397a;
    padding-right: calc(1.5em + 1.3rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fd397a' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23fd397a' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: center right calc(.375em + .325rem);
    background-size: calc(.75em + .65rem) calc(.75em + .65rem);
}

.select2-container--default .select2-selection--multiple .select2-selection__placeholder, .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9699a2;
    font-style: italic;
}






/* FM: inicio css formulario de grilla  para una visualización más uniforme */

.nk-grid-form div.form-group label {
    margin-right: 10px;
}

.nk-grid-form div.form-group span.select2 {
    min-width: 200px;
    max-width: 250px;
}

.nk-grid-form div.form-group {
    margin-bottom: 10px;
}

.nk-grid-form div[class*="table"] {
    margin-top: 2.2rem;
}

.nk-grid-form .form-inline {
    align-items: flex-start;
}

.nk-grid-form span.nk-h-space {
    width: 10px;
    height: 100%;
    margin-right: 10px;
    border-right: 0.10rem dashed #ebedf2;
    line-height: 2.5rem;
}

.btn-toolbar span.nk-h-space {
    width: 0px;
    height: 100%;
    margin-right: 10px;
    border-right: 0.10rem dashed #ebedf2;
    line-height: 2.5rem;
}


/* fin css formulario de grilla */


/* FM: FIX DE X DE SELECT2 */

.select2-container--default .select2-selection--single .select2-selection__rendered .select2-selection__clear {
    top: 40%;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 40px !IMPORTANT;
}

/* FIX DE X DE SELECT2 */


/* FM: Visualización de grilla */

.table td {
    vertical-align: middle;
}

td .btn-toolbar:not(.btn-toolbar-inline) {
    margin-bottom: 0px;
}

.m-portlet__body > .btn-toolbar:not(.btn-toolbar-inline) {
    padding-bottom: 1.1rem;
    border-bottom: 0.07rem dashed #ebedf2;
    margin-bottom: 2.2rem;
}

/*.m-portlet .m-portlet__body {
    padding-top: 1.1rem;
}*/

/* FM: Visualización de grilla */


/* FM: Inicio Dashboard Home */

@media (min-width: 1500px) {
    .col-xxl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* FM: Fin Dashboard Home */

/* Centra labels en form-groups de forma vertical*/
label.control-label {
    /*padding-top: 8px;*/
}

.display-group {
}

.vertical-display-group {
    padding-top: 15px;
}

.display-group > div {
    align-self: center;
}

/*Campos readonly en gris, para simular disabled con lectura*/
.form-control[readonly] {
    border-color: #ebedf2;
    background-color: #f4f5f8 !important;
}

.btn.btn-default {
    color: #5867dd;
}

/*Rota el ícono en 180 grados respecto al eje horizontal*/
.icon-rotate {
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
}