
.selected {
    background-color: #c8c8c8;
}

/**
login
*/
.loginBox {
    max-width:  90%;
    width: 540px
}

.stretch input  {
    width: 100%
}



/* Rules for sizing the icon. */
.material-icons.md-18 {
    font-size: 18px;
}
.material-icons.md-24 {
    font-size: 24px;
}
.material-icons.md-36 {
    font-size: 36px;
}
.material-icons.md-48 {
    font-size: 48px;
}

/* Rules for using icons as black on a light background. */
.material-icons.md-dark {
    color: rgba(0, 0, 0, 0.54);
}
.material-icons.md-dark.md-inactive {
    color: rgba(0, 0, 0, 0.26);
}

/* Rules for using icons as white on a dark background. */
.material-icons.md-light {
    color: rgba(255, 255, 255, 1);
}
.material-icons.md-light.md-inactive {
    color: rgba(255, 255, 255, 0.3);
}

.lowercase {
    text-transform: lowercase;
}

.uppercase {
    text-transform: uppercase;
}


.no-text-transform {
    text-transform: none;
}
#icarnd-app {
    color: #3E2723;
}

/* Rules for sidenav */
#icarnd-sidenav {
    /*background: #ffffff;*/
    color: inherit;
}
/*
#icarnd-sidenav header {
    background: #009688;
    -webkit-flex-shrink: 0;
    min-height: 48px;
    max-height: 48px;
}*/

#icarnd-sidenav md-list {
    padding: 0px;
}

/* Rules for the menu subheaders */
#icarnd-sidenav md-list .md-subheader {
    /*color: #3E2723;*/
    background: transparent;
    padding: 24px 0px 12px 24px;
}

#icarnd-sidenav md-list .md-subheader .md-subheader-inner {
    padding: 0px;
}

/* Rules for the menu entries */
#icarnd-sidenav md-list md-list-item {
    padding: 0px;
}

#icarnd-sidenav md-list md-list-item a {
    line-height: 48px;
    margin: 0px;
    padding: 0px 0px 0px 48px;
}

#icarnd-sidenav md-list md-list-item a i {
    padding: 0px 8px 0px 0px;
}

#icarnd-toolbar, #icarnd-toolbar .md-toolbar-tools {
    background: #f6f6f6;
    color: inherit;
    min-height: 48px;
    max-height: 48px;
}

#icarnd-content {
    /*background: #fafafa;*/
    color: inherit;
}

#icarnd-content div.icarnd-card-group {
    color: inherit;
    margin: 0px 12px;
    padding: 0px;
}

#icarnd-header {
    background: inherit;
    color: inherit;
    padding: 24px 24px 12px 24px;
}

#icarnd-header h4 {
    color: inherit;
    font-weight: normal;
    margin: 0px;
    padding: 0px;
}

#icarnd-header h1 {
    color: inherit;
    margin: 0px;
    padding: 8px 0px 0px 0px;
}

/* home.html **********************************************************************************************************/
#icarnd-content div.icarnd-card-group md-card.icarnd-card {
    color: inherit;
    margin: 12px;
    padding: 0px;
}

#icarnd-content div.icarnd-card-group md-card.icarnd-card span {
    color: inherit;
}

/* exitInterviewEdit.html *********************************************************************************************/



/**
atasamente

*/
.thumb {
    width: 24px;
    height: 24px;
    float: none;
    position: relative;
    top: 7px;
}

form .progress {
    line-height: 15px;
}

.progress {
    display: inline-block;
    width: 100px;
    border: 3px groove #CCC;
}

.progress div {
    font-size: smaller;
    background: orange;
    width: 0;
}
/* atasamente.html *********************************************************************************************/

/**
badge
 */


.badge{
    border-radius:10px;
    height:16px;
    line-height:16px;
    padding:0px 3px;
    right:3px;
    color:white;
}

.md-contact-suggestion .md-contact-name {
    display: inline!important;
    overflow: auto!important;
    /* text-overflow: ellipsis; */
}


.ace_editor { height: 300px; }


.md-chips .md-chip-input-container {
    width: 100%;
}

/**
 tabel responsive
 */

@media screen  and (max-width: 460px) {

    /* Force table to not be like tables anymore */
    .md-table table,
    .md-table thead,
    .md-table tbody,
    .md-table th,
    .md-table td,
    .md-table tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .md-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .md-table tr { border: 1px solid #ccc; height:auto!important;}

    /* daca continutul e gol nu afisez coloana */
    .md-table td:empty,.md-table td[ascundeColoana="1"] {
       display:none;
    }

    .cell-empty{
       display:none!important;
    }

    .md-table td,.md-table td:first-child   {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%!important;
        white-space: normal;
        text-align:left;
       /**/
    }
/*
    .md-table td div{
        min-height: 50px;
    }*/

    .md-table td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top:  1px;
        left: 1px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align:left;
        font-weight: bold;
    }

    /*
    Label the data
    */
    .md-table td:before { content: attr(data-title); }
}


/* fallback */
/*@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;


    src: url(flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');

}*/

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(MaterialIcons-Regular.eot); /* For IE6-8 */
    src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(MaterialIcons-Regular.woff2) format('woff2'),
    url(MaterialIcons-Regular.woff) format('woff'),
    url(MaterialIcons-Regular.ttf) format('truetype');
}

/*
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}*/

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}


.fixed-toolbar{
    position: fixed;z-index: 2;width: calc(100% - 335px);
}

.fixed-toolbar>div{
    width:100%;
}
@media only screen and (max-width: 600px) {
    .fixed-toolbar {
        width: 100%!important;
    }
}

@media print {
    #icarnd-sidenav {
        display: none;
    }
    .icarnd-main-toolbar{
        display: none;
    }

    #icarnd-toolbar1{
        display: none;
    }

    .hide-on-print{
        display: none;
    }

    .layout-padding, .layout-padding-gt-sm, .layout-padding-gt-sm>*, .layout-padding-md, .layout-padding-md>*, .layout-padding>*, .layout-padding>.flex, .layout-padding>.flex-gt-sm, .layout-padding>.flex-md {
        padding: 0px!important;
    }
    md-input-container {
        display: inline-block;
        position: relative;
        padding: 0px!important;
        margin: 0px!important;
        vertical-align: middle;
    }

    .tableFixHead {
        overflow: initial;
        height: initial;
    }

    .tableFixHead thead th {
        position: initial;
        top: initial;
        background-color: initial;
    }


}

/*

preloader
 */


.polymorph-preloader {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    box-shadow: none;
    -webkit-animation: scaleout 1s infinite ease-in-out;
    animation: scaleout 1s infinite ease-in-out;
    transition: all .5s ease-in-out;
    top: auto;
    bottom: -20px;
    left: 50%;
    margin: -16px 0 0 -16px;
    z-index: 1000000;
}

.sticky {
    background-color: #fff;
}

html.polymorph-site-loader {
    position: relative;
}

html.polymorph-site-loader:before {
    content: '';
    display: block;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    box-shadow: none;
    -webkit-animation: scaleout 1.0s infinite ease-in-out;
    animation: scaleout 1.0s infinite ease-in-out;
    transition: all 0.5s ease-in-out;
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -64px 0 0 -64px;
    z-index: 1000000000;
}

html.polymorph-site-loader:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    background: #fff;
    z-index: 999999;
    transition: all .5s ease;
}

html.polymorph-site-loader.loaded:after, html.polymorph-site-loader.loaded:before {
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 600px) {
    html.polymorph-site-loader {
        position: static;
    }
}
@-webkit-keyframes scaleout {
    0% {
        transform: scale(0);
        -webkit-transform: scale(0);
    }
    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        opacity: 0;
    }
}

@keyframes scaleout {
    0% {
        transform: scale(0);
        -webkit-transform: scale(0);
    }
    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        opacity: 0;
    }
}


.notifNew{
    position: absolute;
    top: 20%;
    left: 50%;
    font-size: x-small;
}

.selectHeader {
}
.selectHeader .header-searchbox {
    border: none;
    outline: none;
    height: 100%;
    width: 100%;
    padding: 0;
}
.selectHeader .select-header {
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 0, 0, 0.14), 0 0 0 0 rgba(0, 0, 0, 0.12);
    padding-left: 16px;
    height: 48px;
    cursor: pointer;
    position: relative;
    display: flex;
    width: auto;
}
.selectHeader md-content._md {
    max-height: 240px;
}
.selectHeader md-input-container {
    min-width: 112px;
}

md-toast.success-toast .md-toast-content{
    background-color: #28a745 !important;
}

md-toast.warning-toast .md-toast-content{
    background-color: #ffc107 !important;
}

md-toast.danger-toast .md-toast-content{
    background-color: #dc3545 !important;
}

md-toast.info-toast .md-toast-content{
    background-color: #17a2b8 !important;
}


table.md-table th.md-column,
table.md-table td.md-cell,
.md-table-pagination
{
    color: inherit;
}


.tableFixHead {
    overflow: auto !important;
    height: 100px;
}

/* 140px = 92px (banda de titlu) + 48px (bara compacta de parametri .pv-filters) */
.tableFixHead thead th {
    position: sticky;
    top: 140px;
    z-index: 1;
}

.tableFixHead.top-large thead th {
    top: 140px;
}

.tableFixHead.top-small thead th {
    top: 92px;
}




.md-darkmode-theme .tableFixHead thead th{
    background-color: #3a3a3a;
}

.md-default-theme .tableFixHead thead th{
    background-color: #ecebeb;
}

.polymorph-sticky{
    position: sticky;
    overflow: auto;
    top: 0;
}

#icarnd-main-container .md-darkmode-theme  a{
    color: lightblue;
}

ng-view>div>md-toolbar:first-child{
    z-index: 22;
    position: sticky;
    overflow: auto;
    top: 0;
}


.wide-scrollbar::-webkit-scrollbar,
.wide-scrollbar *::-webkit-scrollbar{
    width: 40px;
}

/* Track */
.wide-scrollbar::-webkit-scrollbar-track,
.wide-scrollbar *::-webkit-scrollbar-track{
    box-shadow: inset 0 0 5px grey;
    border-radius: 5px;
}

/* Handle */
.wide-scrollbar::-webkit-scrollbar-thumb,
.wide-scrollbar *::-webkit-scrollbar-thumb{
    background: grey;
    border-radius: 5px;
}

/* Handle on hover */
.wide-scrollbar::-webkit-scrollbar-thumb:hover,
.wide-scrollbar *::-webkit-scrollbar-thumb:hover{
    background: grey;
}
.md-darkmode-theme #tooltip{
    background: rgb(66,66,66)!important;
}

/*
* {
    animation: none !important;
    transition: none !important;
}

* {
    transform: translate3d(0, 0, 0);
}*/


.hybrid-header {
    display: none !important;
}

/* View pentru 450px - 599px */
@media (min-width: 450px) and (max-width: 599px) {

    body md-card md-card-title div[show-xs][hide-gt-xs] {
        display: none !important;
    }

    body md-card md-card-title .hide-xs {
        display: none !important;
    }

    .hybrid-header {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hybrid-header > div:first-child {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .hybrid-header [flex="2"],
    .hybrid-header [flex],
    .hybrid-header md-button,
    .hybrid-header md-input-container {
        flex-shrink: 0;
    }

    /* wrapper-ul blocurilor desktop/mobil e gol in intervalul hibrid (continutul lui
       e ascuns), dar cu flex-xs="100" ramane in layout si fura ~jumatate din latime,
       inghesuind .hybrid-header si rupand titlul pe mai multe randuri */
    body md-card md-card-title > div[flex-xs="100"] {
        display: none !important;
    }

    /* titlul: pe un singur rand, cu ellipsis daca nu incape */
    .hybrid-header > div:first-child > div[flex] {
        min-width: 0;
        overflow: hidden;
    }

    .hybrid-header > div:first-child > div[flex] > div {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}


input[number-input] {
    text-align: right;
    padding: 4px;
    border-radius: 5px;
}


/* Rounded Borders */

 .rounded-borders {
     border-radius: 12px;
     overflow: hidden;
 }
md-input-container .md-errors-spacer {
    min-height: 0px !important;
}


/* Excel-like datagrid styles for tables */
.ex-grid {
    border-collapse: collapse;
    border: 1px solid #c0c0c0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    background-color: #ffffff;
    width: 100%;
}

.ex-grid th.md-column {
    background: linear-gradient(to bottom, #f8f8f8 0%, #e6e6e6 100%);
    border: 1px solid #c0c0c0;
    border-bottom: 2px solid #9e9e9e;
    padding: 4px 8px;
    font-weight: bold;
    font-size: 11px;
    color: #333;
    text-align: center;
    height: 20px;
    line-height: 16px;
}

.ex-grid th.md-column:hover {
    background: linear-gradient(to bottom, #e8f4fd 0%, #bed6ea 100%);
}

.ex-grid td.md-cell {
    border: 1px solid #d0d0d0;
    padding: 2px 6px;
    height: 18px;
    line-height: 16px;
    vertical-align: middle;
    background-color: #ffffff;
    font-size: 11px;
}

.ex-grid tr.md-row:nth-child(even) td.md-cell {
    background-color: #f9f9f9;
}

.ex-grid tr.md-row:hover td.md-cell {
    background-color: #e8f4fd !important;
}

.ex-grid td.md-cell input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 1px 2px;
    margin: 0;
    font-size: 11px;
    font-family: inherit;
    outline: none;
}

.ex-grid td.md-cell input:focus {
    background-color: #ffffff;
    border: 2px solid #4472c4;
    box-shadow: inset 0 0 3px rgba(68, 114, 196, 0.3);
}

.ex-grid .indent strong {
    font-weight: 600;
}

.ex-grid .md-cell[style*="text-align: right"] {
    text-align: right !important;
    font-variant-numeric: tabular-nums;
}

.ex-grid td.md-cell:has(input) {
    background-color: #e8f5e8 !important;
}

.ex-grid tr.md-row:nth-child(even) td.md-cell:has(input) {
    background-color: #ddeedd !important;
}

.ex-grid tr.md-row:hover td.md-cell:has(input) {
    background-color: #d4edda !important;
}


td.topleft-triangle {
    position: relative;
}

td.topleft-triangle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 0 0;
    border-color: red transparent transparent transparent;
}


/* ===== Tema "Polymorf" pentru tabelele view-urilor (icarnd-datatable) =====
   Nuantele pe baza de gri translucid functioneaza si in light, si in dark mode.
   Specificitate: md-data-table.min.css stileaza celulele cu "table.md-table td.md-cell"
   (0,2,2), deci regulile de aici folosesc ".md-table.pv-grid" (0,3,1)+ ca sa castige. */

/* md-data-table pune deja border-top pe celule; il subtiem/deschidem si ne asiguram
   ca nu exista si border-bottom, altfel linia dintre randuri apare dubla (2px) */
.md-table.pv-grid td.md-cell {
    border-top: 1px solid rgba(128, 128, 128, 0.18);
    border-bottom: 0;
}

/* zebra subtila pe randuri alternative; fundalul per coloana / per rand o suprascrie */
.pv-grid tbody tr.md-row:nth-child(even):not(.pv-selected) {
    background-color: rgba(128, 128, 128, 0.06);
}

/* randul selectat: chihlimbar translucid, functioneaza pe ambele teme
   (inlocuieste galbenul opac #f3e3ad hardcodat candva in template) */
.pv-grid tbody tr.md-row.pv-selected {
    background-color: rgba(255, 193, 7, 0.18);
}

/* valorile zero estompate (coloane cu dimZero: true); (0,4,2) ca sa bata culoarea per coloana */
table.md-table.pv-grid td.md-cell.pv-dim {
    color: rgba(158, 158, 158, 0.7);
}

/* coloane de tip chip (isChip + chipMap) */
.pv-chip {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

/* coloane de tip link (isLink) */
.pv-link a {
    text-decoration: none;
    border-bottom: 1px solid;
    padding-bottom: 1px;
}

/* randul de total: linie de bilant sus, fundal discret, valori accentuate */
.pv-grid tr.pv-total-row td.md-cell {
    border-top: 2px solid rgba(128, 128, 128, 0.45);
    background-color: rgba(128, 128, 128, 0.09);
    font-weight: 500;
}

.pv-grid td.pv-total-label {
    font-weight: 700;
    white-space: nowrap;
}

/* grupuri de coloane: rand suplimentar de header cu etichete + colspan.
   Inaltimea e fixa (26px) ca offsetul sticky al randului de coloane sa fie calculabil.
   md-data-table forteaza tr.md-row la 56px cu (0,3,2), deci selectorii includ
   .md-row pentru specificitate (0,4,1)+. */
.md-table.pv-grid tr.md-row.pv-group-row {
    height: 26px;
}

.md-table.pv-grid tr.md-row.pv-group-row th {
    height: 26px;
    box-sizing: border-box;
    padding: 0 9px;
    vertical-align: middle;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    white-space: nowrap;
    text-align: left;
    overflow: hidden;
}

.md-table.pv-grid tr.md-row.pv-group-row th.pv-group-labeled {
    border-left: 1px solid rgba(128, 128, 128, 0.3);
}

/* randuri compacte: md-data-table forteaza 48px body / 56px header cu (0,3,3),
   selectorii de aici includ .md-body/.md-head pentru (0,4,2) */
.md-table.pv-grid tbody.md-body tr.md-row {
    height: 36px;
}

/* md-checkbox are min-height 48px (touch target) si tine randul inalt */
.md-table.pv-grid td.md-cell md-checkbox,
.md-table.pv-grid th.md-column md-checkbox {
    min-height: 24px;
    margin-top: 0;
    margin-bottom: 0;
}

/* Angular Material anuleaza centrarea containerului cu "top:auto; margin:21px 3px 3px"
   (calibrat pentru checkbox-ul de 48px); readuc centrarea pe verticala */
.md-table.pv-grid td.md-cell md-checkbox .md-container,
.md-table.pv-grid th.md-column md-checkbox .md-container {
    top: 50%;
    transform: translateY(-50%);
    margin: 0 3px;
}

.md-table.pv-grid thead.md-head tr.md-row:not(.pv-group-row) {
    height: 40px;
}

/* in tema light randul de grupuri sta pe alb - pe griul de header parea sters */
.md-default-theme .tableFixHead tr.pv-group-row th {
    background-color: #fff;
}

/* tipografia headerului de coloane: greutate medie, gri-ardezie in tema light
   (in dark ramane culoarea de text a temei) */
.md-table.pv-grid thead.md-head tr.md-row:not(.pv-group-row) th.md-column {
    font-weight: 500;
}

.md-default-theme .md-table.pv-grid thead.md-head th.md-column,
.md-default-theme .md-table.pv-grid thead.md-head th.md-column a {
    color: #37474f;
}

/* linkurile din celule (Edit/Open/Delete) fara underline permanent */
.pv-grid td.md-cell a {
    text-decoration: none;
}

.pv-grid td.md-cell a:hover {
    text-decoration: underline;
}

.pv-grid td.md-cell .pv-link a:hover {
    text-decoration: none; /* pv-link are deja border-bottom, underline-ul l-ar dubla */
}

/* bara de paginare: tipografie aliniata cu restul tabelului */
.md-table-pagination {
    font-size: 12px;
}

.md-table-pagination .label {
    font-size: 12px;
    opacity: 0.85;
}

/* cu grupuri active, randul de coloane coboara sub randul de grupuri in sticky */
.tableFixHead.top-large.pv-has-groups thead tr:not(.pv-group-row) th {
    top: calc(140px + 26px);
}

.tableFixHead.top-small.pv-has-groups thead tr:not(.pv-group-row) th {
    top: calc(92px + 26px);
}

/* bara de parametri compacta: etichete mici deasupra valorilor, fara spatiul
   rezervat erorilor de validare; ~48px in loc de ~70px */
.pv-filters {
    align-items: center;
}

.pv-filters md-input-container {
    margin: 12px 18px 2px 0;
    font-size: 13px;
}

.pv-filters md-input-container .md-errors-spacer {
    min-height: 0;
    height: 0;
}

.pv-filters md-input-container label {
    font-size: 12px;
}

.pv-filters .md-datepicker-button {
    width: 30px;
    height: 30px;
    min-height: 30px;
    margin: 0;
    padding: 0;
}

.pv-filters .md-datepicker-input-container {
    margin-left: 0;
}