/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Oct 13, 2020, 2:12:11 AM
    Author     : Dan PC
*/

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #28a745 !important;
}

.mail-max-width{
    max-width: 165px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
}

H3 {
    float: left;
    padding-top: 0.7rem;
    padding-left: 0.35rem;
}

H3 .info{
    /*    font-size: 1.3rem;
        color: darkcyan;*/

    font-family: Roboto,-apple-system,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 16px;
    color: #495057;
}

H5 .info{
    /*    font-size: 1.3rem;
        color: darkcyan;*/

    font-family: Roboto,-apple-system,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 14px;
    color: gray;
}

H3 .info A{
    color: darkcyan;
}
H3 .info A:hover{
    color: #495057;
}

.custom-link:hover{
    /*color: darkturquoise !important;*/
    text-decoration: underline darkcyan !important;
    color: darkcyan !important;
    transition: 0.5s;
}

label .info{
    font-size: 1rem;
    color: darkgray;
}

TD .info{
    font-size: 0.9em;
    color: darkgray;
}
.box-shadow{
    box-shadow: 0 1px 5px #0003,0 2px 2px #00000024,0 3px 5px -2px #0000001f;
}
.my-tooltip:hover, .cursor-help{
    cursor: help;
}

/* simple cursors */
.cursor-zoomin{
    cursor: zoom-in;
}
.cursor-pointer{
    cursor: pointer;
}

/* simple colors */
.color-red{
    color:red;
}

.highlight-input INPUT, 
.highlight-input SELECT, 
.highlight-input .dropdown-toggle, 
.highlight-input .bootstrap-select,
.highlight-input .input-group-text{
    border-color: burlywood; 
}

.img-popup{
    border-radius: 7px;
    border-style: solid;
    border-width: thin;
    border-color: white;
    box-shadow: 0 1px 5px #0003, 0 2px 2px #00000024, 0 3px 1px -2px #0000001f;
    background-color: gainsboro;
    font-weight: 600;
    overflow: hidden;
}

.img-popup-red{
    border-radius: 7px;
    border-style: solid;
    border-width: thin;
    border-color: white;
    box-shadow: 0 1px 5px red, 0 2px 2px lightskyblue, 0 3px 1px -2px red;
    background-color: gainsboro;
    font-weight: 600;
    overflow: hidden;
}

.claimed-by{
    float: right;
    margin-right: 8px;
    margin-top: 15px;
    font-weight: 600;
    color: coral;
}



.page-add-button{
    float: right;
    font-weight: 600;
    margin-left: 15px;
}

.action-button{
    padding: .325rem .5rem;
    margin-top: 1px;
    margin-bottom: 1px;
}

.action-button-sm{
    padding: .15rem .15rem;
    vertical-align: text-bottom;
}

.fa.mandatory, .svg-inline--fa.mandatory{
    color: crimson;
    font-size: 8px;
    margin-top: -5px;
    margin-left: 4px;
}

.fa.mandatory2, .svg-inline--fa.mandatory2{
    color: salmon;
    font-size: 8px;
    vertical-align: super;
}

/*
 * Blocks
 */
.data-block{
    border: 1px solid darkgray;
    border-radius: 4px;
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 3px 10px 3px 10px;
}

FIELDSET.data-block{
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
}

.data-block LEGEND{
    margin-left: 5px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 14px;
    font-weight: 550;
    color: darkgray;

    font-size: 0.85em;
}

.my-border-info{
    /*border-color: #17a2b8;*/
    border-color: lightsteelblue !important;
}

.border-success{
    border-color: #28a745;
    /*background-color: cornsilk;*/
    /*background-color: lightyellow;*/
    background-color: linen;
}

.border-info LEGEND, .modal-body .border-info LEGEND{
    color: #17a2b8;
}

.border-success LEGEND, .modal-body .border-success LEGEND{
    color: #28a745;

    border: solid 1px;
    border-radius: 5px;
    /*background-color: cornsilk;*/
    /*background-color: lightyellow;*/
    background-color: linen;
}




/*
 * Tables
 */
TABLE.subtable tr{
    /*background-color: white !important;*/
    background-color: transparent;
    border-bottom: 1px solid #dee2e6;
}
TABLE.subtable tr:last-child{
    border-bottom: none;
}
TABLE.subtable td{
    border-width: 0px;
    border-color: white;
}


TABLE.modal-table th{
    background-color: lavender;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 1px 5px;
    border-right: 1px solid white;
}
TABLE.modal-table th.table-title{
    background-color: lavender;
    font-weight: 600;
    border-radius: 4px 4px 0px 0px;
}
TABLE.modal-table TH tr:last-child{
    border-right: none;
}


TABLE.modal-table THEAD tr:last-child{
    border-bottom: 2px solid white;
}
TABLE.modal-table THEAD tr{
    background-color: transparent;
    border-bottom: 1px solid white;
}

TABLE.modal-table tr{
    background-color: transparent;
    border-bottom: 1px solid #dee2e6;
}

TABLE.modal-table tr:last-child{
    border-bottom: none;
}
TABLE.modal-table td{
    border-width: 0px;
    border-color: white;
    font-size: 0.95rem;
}


TABLE.display-table{
    font-size: 0.8em;
}
TABLE.display-table TH{
    color: gray;
}
TABLE.display-table TD{
    vertical-align: middle;
}

.line-through .apply-customs{
    text-decoration: line-through;
}

/*
 * Flow
 */
.flow-card{
    /*    margin-right: 30px; 
        margin-bottom: 30px; 
        display: inline-flex;*/
    margin-bottom: 25px;
    box-shadow: 0px 0px 5px 1px gainsboro;
}

.flow-card.task-card:hover{
    background-color: azure !important;
    /*background-color: aliceblue !important;*/
}

.card-container{
    margin-right: 70px;
    margin-bottom: 30px;
    display: inline-block;
    vertical-align: middle;
}

.event-icon{
    margin-right: 3px;
    font-size: 20px;
    vertical-align: middle;
}

/*
 * Task page
 */
FIELDSET.search-fieldset.field-group{
    border-radius: 5px;
    margin-left: 0px;
    margin-top: -5px;
    margin-bottom: 25px;
}

FIELDSET.field-group{
    border-radius: 5px;
    margin-left: 10px;
    margin-top: 10px;
    /*border: 1px solid lavender !important;*/
}

FIELDSET.field-group DIV.col{
    padding-left: 10px;
    padding-right: 10px;
}

FIELDSET.field-group LEGEND{
    color: darkgray;
    margin-left: 3px;
    margin-bottom: 0px;
    padding-left: 4px;
    padding-right: 5px;
    font-size: 0.95em;
}

FIELDSET.form-custom{
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
    width: 100%;
    border-color: lightgray !important;
    background-color: white;
}

FIELDSET.form-custom LEGEND{
    margin-left: 5px;
    margin-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 14px;
    font-weight: 550;
    color: brown;
}

/*
 * selectPicker
 */
.task-card .dropdown-toggle{
    background-color: transparent;
}

.task-card .dropdown-toggle:hover{
    background-color: #dae0e5;
}

.compact-view .dropdown-toggle{
    padding: .125rem .75rem;
    line-height: 1.3;
}
.modal-table .compact-view .dropdown-toggle{
    font-size: .95rem;
}

.compact-view .dropdown-header{
    padding: .2rem 0.7rem;
}

.compact-view .dropdown-item.opt{
    padding: 0.25rem 0.7rem 0.25rem 1.5em;
    padding-left: 1.5em !important;
    /*font-size: .95rem;*/
    line-height: 1.2;
}
.modal-table .compact-view .dropdown-item.opt{
    font-size: .95rem;
    line-height: 1.1;
}

.compact-view .dropdown-item{
    padding: 0.25rem 0.7rem 0.25rem 0.7rem;
    line-height: 1.3;
}
.modal-table .compact-view .dropdown-item{
    font-size: .95rem;
    line-height: 1.2;
}


/*
 * Link-uri
 */
A.clear-date{
    margin-left: -20px !important;
    z-index: 80 !important;
    color: black;
    margin-top: 6px;
}

.input-group-sm A.clear-date{
    margin-left: -20px !important;
    z-index: 80 !important;
    color: black;
    margin-top: 2px;
}

/*
 * Search Block
 */
.search-block {
    margin-bottom: 1em;
}
.search-block .card-header {
    padding: 3px 1rem;
    font-size: 0.9em;
    font-weight: 600;
}
.search-block .card-content{
    padding: 3px 1rem 0px 1rem;
}
.search-block .card-content > * {
    margin-right: 0.5em;
    margin-bottom: 4px;
    margin-left: 0.5em;
    padding-left: 0px;
}
@media screen and (max-width: 768px) {
    .search-block .buttons {
        display:block;
    }
}

/*
 * Reports/labels and status
 */
.aditional-info{
    font-size: 0.88em;
    color: black;
    /*    background-color: lightgoldenrodyellow;*/
    background-color: rgba(250, 250, 210, 0.8);
    border-radius: 3px;
    padding: 1px;
    margin-top: 2px;
}

.cell-label{
    font-size: small;
    color: chocolate;
}
.cell-header{
    font-size: 1em;
    font-weight: 600;
    display: flex;
    margin-bottom: 2px;
}

/**
 * pentru autojira 
 */
.status_NOT_STARTED {
    /*background-color: ;*/
}
.status_DONE {
    background-color: rgba(153, 204, 51, 0.55) !important;
    /*#99cc66*/
}
.status_IN_PROGRESS {
    /*background-color: #ffcc00 ;*/
    background-color: rgba(255, 204, 0, 0.65) !important;
}
.status_PENDING {
    /*background-color: #ffff00;*/
    background-color: rgba(255, 255, 0, 0.45) !important;
}
.status_ABORTED {
    background-color: #e0e0eb !important;
}

/**
 * pentru amiabi
 */
.status_DONE_2 {
    background-color: #e0ebeb !important;
}
.status_DONE_2_DARK {
    background-color: #d0e1e1 !important;
}
.status_IN_PROGRESS_2 {
    background-color: #e6ffe6 !important;
}
.status_IN_PROGRESS_2_DARK {
    background-color: #ccffcc !important;
}
.status_PENDING_2 {
    background-color: #e6ffff !important;
}
.status_ABORTED_2 {
    background-color: #e0e0eb !important;
}
/* claimedDark: #ccffcc (#e6ffe6), processedDark: #d0e1e1 (#e0ebeb) */


.bg_WARN {
    /*background-color: #ffcc00 ;*/
    background-color: rgba(255, 204, 0, 0.25) !important;
}
.bg_ALERT {
    /*background-color: #ffcc00 ;*/
    background-color: rgba(255, 51, 51, 0.15) !important;
}

.label{
    font-weight: 600;
}

.label-success{
    color: #28a745;
}
.label-secondary{
    color: #6c757d;
}
.label-danger{
    color: #dc3545;
}
.label-warning{
    color: #ffc107;
}
.label-info{
    color: #17a2b8;
}
.label-dark{
    color: #343a40;
}
.label-pink{
    color: brown;
}

.help-label-mandatory{
    color: crimson;
    cursor: help
}
.help-label{
    color: #ffc107;
    cursor: help
}

.help-label.fa-question-circle-o{
    font-size: 15px;
}
.disabled .help-label,
.disabled .help-label-mandatory,
.disabled .mandatory{
    color: #333333;
}


/*
 * Data Model
 */
.drag-field{
    background-color: #f6f6f6;
    padding: 2px;
}

.drag-field:hover{
    cursor: move;
}

.drag-field .input-group-prepend .input-group-text{
    width: 50px;
}

.drag-label{
    color: cadetblue;
    margin-left: 10px;
    font-size: 15px;
    vertical-align: sub;
}

.input-group-prepend .drag-label{
    font-size: 11px;
    margin-top: -6px;
    margin-left: -4px;
    margin-right: 7px;
}

.data-table{
    width: 18rem;
    margin-bottom: 25px;
    margin-right: 25px;
    float: left;
    box-shadow: 0 0 10px 1px #0003;
}

.data-table .card-header .btn{
    float: right;
    margin-left: 4px;
    margin-right: 0px;
    margin-top: -3px;
    padding: .05rem .35rem;
}

.data-table .card-header .btn .fa, .custom-table .btn .fa{
    margin-right: 0px;
}

.custom-table .btn{
    margin-left: 4px;
    margin-right: 0px;
    padding: .05rem .35rem;
}



/*
 * Absolute Center Spinner 
 */
.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 1500ms infinite linear;
    -moz-animation: spinner 1500ms infinite linear;
    -ms-animation: spinner 1500ms infinite linear;
    -o-animation: spinner 1500ms infinite linear;
    animation: spinner 1500ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

.text-truncate-2rows{
    display: block;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.text-truncate{
    display: block;
    overflow: hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
}

/* Animation */
@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


