﻿/*
CAMBIO REALIZADO POR: deiver rodriguez
DESCRIPCIÓN DEL PROBLEMA: La imagen de perfil debe ocultarse cuando el menú lateral está colapsado (mini) y mostrarse solo cuando está expandido.
DESCRIPCIÓN DE LA SOLUCIÓN: Se oculta la imagen de perfil con CSS cuando el sidebar tiene la clase .mini.
INICIO DEL CAMBIO
*/
/*
CAMBIO REALIZADO POR: deiver rodriguez
DESCRIPCIÓN DEL PROBLEMA: La línea gris (borde) de la imagen de perfil se sigue mostrando en el menú mini.
DESCRIPCIÓN DE LA SOLUCIÓN: Se oculta el borde y la imagen completamente en modo mini para evitar la línea gris.
INICIO DEL CAMBIO
*/
.page-sidebar.mini #sidebar-profile-img {
    display: none !important;
}

    .page-sidebar.mini #sidebar-profile-img img {
        border: none !important;
        box-shadow: none !important;
    }
/* FIN DEL CAMBIO */
/* FIN DEL CAMBIO */

span.green {
    background: #0aa699;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    display: inline-block;
    line-height: 1.6em;
    width: 1.6em;
}

span.blue {
    background-color: #1c94c4;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    display: inline-block;
    line-height: 1.6em;
    width: 1.6em;
}

span.orange {
    background: #f6a828;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    display: inline-block;
    line-height: 1.6em;
    width: 1.6em;
}

.divf {
    width: 70px;
    height: 50px;
}

.foto {
    width: 50%;
    height: 50%;
}

.foto2 {
    width: 100%;
    height: 100%;
}

#list {
    float: right;
}

form header {
    background-color: #f6a828;
    text-align: center;
    margin: 0 0 20px 0;
}

    form header div {
        font-size: 90%;
        color: white;
    }

    form header h1 {
        color: white;
        margin: 0 0 5px 0;
    }

form > div {
    clear: both;
    overflow: hidden;
    padding: 1px;
    margin: 0 0 10px 0;
}

    form > div > fieldset > div > div {
        margin: 0 0 5px 0;
    }

    form > div > label,
    legend {
        width: 10%;
        float: left;
        padding-right: 10px;
        font-size: 1.3em;
    }

    form > div > div,
    form > div > fieldset > div {
        width: 80%;
        float: right;
    }

.modalmask form select {
    color: black;
}

.modal-header input[type=text],
.modal-header input[type=email],
.modal-header input[type=url],
.modal-header input[type=password],
.modal-header input[type=date],
.modal-header textarea, select {
    width: 100%;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    resize: none;
}

.modal-header input[type=text],
.modal-header input[type=email],
.modal-header input[type=url],
.modal-header input[type=date],
.modal-header input[type=file],
.modal-header output,
.modal-header input[type=password], textarea, select {
    width: 65%;
}

    .modal-header input[type=text]:focus,
    .modal-header input[type=email]:focus,
    .modal-header input[type=url]:focus,
    .modal-header input[type=password]:focus,
    .modal-header input[type=date]:focus,
    .modal-header input[type=file]:focus,
    .modal-header textarea:focus, select:focus {
        outline: 0;
        border-color: #4697e4;
    }

@media (max-width: 600px) {
    form > div {
        margin: 0 0 15px 0;
    }

        form > div > label,
        legend {
            width: 100%;
            float: none;
            margin: 0 0 5px 0;
        }

        form > div > div,
        form > div > fieldset > div {
            width: 100%;
            float: none;
        }

    input[type=text],
    input[type=email],
    input[type=url],
    input[type=password],
    input[type=date],
    input[type=file],
    .modal-header output,
    textarea,
    .select {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    form > div > label,
    legend {
        padding-left: 20PX;
        text-align: left;
    }

    #ventana2 {
        width: 40%;
    }

    #ventana3 {
        width: 60%;
    }
}

@media (min-width: 768px) {
    form > div > label,
    legend {
        padding-left: 20PX;
        text-align: left;
    }

    #ventana2 {
        width: 60%;
    }

    #ventana3 {
        width: 60%;
    }
}

.c {
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primar2 {
    background-color: #1c94c4;
    color: white;
}

.btn-primar3 {
    background-color: #f6a828;
    color: white;
}

.scrolls {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    width: 100%;
}

.scrolls2 {
    overflow-x: hidden;
    overflow-y: scroll;
    white-space: nowrap;
    height: 100%;
}

#ventana2 {
    margin-top: 100px;
}

/* Forzar color de íconos de adjunto en solicitudes revisadas */
/* Botón BuscarAdjunto: ícono siempre blanco, fondo azul por defecto, fondo verde si tiene adjuntos */
button.BuscarAdjunto .glyphicon-file,
button.BuscarAdjunto .glyphicon-search {
    color: #fff !important;
}

button.BuscarAdjunto.btn-adjunto-disponible {
    background-color: #eeff00 !important; /* Verde */
    color: #fff !important;
    border-color: #eeff00 !important;
}

button.BuscarAdjunto.btn-adjunto-vacio {
    background-color: #1c94c4 !important; /* Azul por defecto */
    color: #fff !important;
    border-color: #1c94c4 !important;
}
/* Soporte para botones BuscarAdjuntoRequerimiento en requerimientos terminados */
button.BuscarAdjuntoRequerimiento .glyphicon-file,
button.BuscarAdjuntoRequerimiento .glyphicon-search {
    color: #fff !important;
}

button.BuscarAdjuntoRequerimiento.btn-adjunto-disponible {
    background-color: #eeff00 !important; /* Verde */
    color: #fff !important;
    border-color: #eeff00 !important;
}

button.BuscarAdjuntoRequerimiento.btn-adjunto-vacio {
    background-color: #1c94c4 !important; /* Azul por defecto */
    color: #fff !important;
    border-color: #1c94c4 !important;
}