﻿
/**************************  WORKFLOWS ******************************/


.e_wf_message .alert {
    margin: 15px 0 0;
    padding: 10px;
    font-size: 13px;
}

/* Historial */

.e_wf_hist {
    padding: 0;
    margin: 0 -15px;
}

.e_wf_hist_history:hover {
    background-color: #009ADA;
}

    .e_wf_hist > li {
        list-style: none;
        position: relative;
    }

        .e_wf_hist > li > * {
            color: #333;
            text-decoration: none;
            display: block;
            padding: 8px 15px 5px 45px;
        }


        .e_wf_hist > li:last-child > * {
            /*border-bottom: solid 1px rgba(0,0,0,.1);*/
        }


        .e_wf_hist > li span {
            display: block;
        }

        /* Icono info */
        .e_wf_hist > li i {
            position: absolute;
            right: 10px;
            top: 8px;
            color: #ccc;
            transition: color 0.2s ease-in;
        }

        .e_wf_hist > li i:hover {
            color: #66799F;
        }

    .e_wf_hist .e_wf_hist_title {
        font-size: 11px;
        font-weight: 600;
        /*padding-bottom: 2px;*/
    }

    .e_wf_hist .e_wf_hist_employee {
        display: block;
        width: 100%;
        font-size: 11px;
    }

    .e_wf_hist .e_wf_stage_btn_container {
        margin-top: -5px;
        padding: 0px 15px 8px 45px;
        text-align: right;
    }

    .e_wf_hist > li > a:after,
    .e_wf_hist > li > div:after {
        font-family: 'Glyphicons Halflings';
        font-size: 18px;
        text-align: center;
        display: block;
        position: absolute;
        line-height: 1em;
        left: 15px;
        top: 7px;
        color: rgba(0,0,0,.5);
        content: "";
    }

    .e_wf_hist > li.e_wf_hist_active > * {
        background: #fff;
        cursor: default;
        border-right: solid 4px #ddd;
    }


    .e_wf_hist > li.e_wf_hist_checked > a:after {
        content: "\e089";
        color: darkseagreen;
    }

    .e_wf_hist > li.e_wf_hist_cancel > a:after {
        content: "\e090";
        color: #da4a52;
    }

    .e_wf_hist > li.e_wf_hist_current > *:after {
        content: "\e029";
        color: #7F93B2;
    }

    .e_wf_hist > li.e_wf_hist_rejected > * {
        background: none;
        cursor: default;
    }

        .e_wf_hist > li.e_wf_hist_rejected > *:after {
            content: "\e088";
            color: #FF0000;
        }

    .e_wf_hist > li.e_wf_hist_not_started > * {
        color: #bbb;
        cursor: default;
    }

        .e_wf_hist > li.e_wf_hist_not_started > *:after {
            content: "\e023";
            color: #bbb;
        }


    .e_wf_hist:not(.e_wf_hist_nothover) > li:not(.e_wf_hist_active):not(.e_wf_hist_not_started) > a:hover {
        background: rgba(0,0,0,.05);
    }

.e_wf_hist_btn_group_bottom {
    text-align: right;
    padding: 10px 0;
    border-top: solid 1px #ddd;
    margin-top: 5px;
}


/* CATÁLOGO DE WORKFLOWS */

.e_wf_cat_list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.e_wf_cat_list_item {
    padding: 5px 15px 5px 0;
}

    .e_wf_cat_list_item .titleLabel {
        color: inherit;
    }

    .e_wf_cat_list_item a {
        color: inherit;
    }


    .e_wf_cat_list_item:not(.e_searchresult_row) a:hover .titleLabel {
        text-decoration: underline;
    }

    .e_wf_cat_list_item .help-block {
        margin-bottom: 0;
        margin-top: 0px;
    }

.e_wf_cat_search_results_container {
    position: absolute;
    left: 0;
    right: 0;
    margin-top: -1px;
}

.e_searchresult_container {
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

.e_searchresult_list {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.e_searchresult_row {
    padding: 5px 10px;
    text-decoration: none !important;
}

    .e_searchresult_row:hover {
        cursor: pointer;
        background-color: #EFEFF4;
    }

.e_searchresult_link {
    display: block;
    text-decoration: none !important;
}

    .e_searchresult_link:hover span {
        text-decoration: none !important;
    }

.e_searchresult_row ul {
    list-style: none;
}

.e_3letters p {
    padding: 0 10px;
}

/* Calendario Workflows*/

.e_taskscal_table {
    width: 100%;
}

.e_taskscal_innertable {
    width: 100%;
    border: solid 1px #ddd;
}

/* Selección de semana / día */

.e_taskscal_weekselection .cellDay,
.e_taskscal_dayselection .cellDay {
    height: auto;
    padding: 5px 3px;
}

.e_taskscal_dayselection .cellDaySelected,
.e_taskscal_weekselection tr:hover td {
    background: #FFF5CC !important;
}

.e_taskscal_weekselection .cellDay:focus {
    outline: none;
    background: none;
}

.e_btn_with_help_block {
    float: left;
    margin: 5px 10px 10px 0 !important;
}

.e_taskscal_dayselection td {
    vertical-align: top;
}

.e_taskscal_dayselection td > a {
    display: table;
    height: 100% !important;
    width: 100%;
}
