﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #d5dae5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    cursor: pointer;
}

app {
    height: 100%;
}

.flex-container {
    display: flex;
    flex-direction: row;
    min-height: 100%;
}

/*
    Forms 

*/
.board {
    height: auto;
    background: #fff;
}

    .board .nav-tabs {
        position: relative;
        margin-bottom: 0;
        box-sizing: border-box;
    }

    .board .tab-content {
        min-height: 300px;
        padding: 20px;
    }



/*Required asterik*/
form .form-group label span {
    color: red;
}
.disabled {
    pointer-events: none
}

.btn-csm{
    background-color: #0497df;
    color: #fff;
    border-color: #0497df;
}
.btn.focus, .btn:focus, .btn:hover {
    color: #fff;
}

.ui-paginator .ui-paginator-page.ui-state-active {
    background: #0497df;
    border-color: #0497df;
}
/*
    Text overlaps will include ellipsis. Details can be used to see rest of text display on table.
    Except for Action columns.Inline css to override below changes
*/
.ellipsis-table .ui-datatable-data > tr > td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}
/*
    Text overlaps will break the word on customer-search tbl since all text needs to be shown on the screen
*/
.ui-datatable-data > tr > td {
    word-wrap: break-word !important;
    white-space: normal
}


.fa-exclamation-circle {
    color:tomato;
}


@media screen and (max-width:767px) {
    /*
        Primeng has media query at .3em ,I need the table to be rebuild until 767px.
        Rebuids table rows as one line block,removes header.
    */
    .ui-datatable-reflow .ui-datatable-data > tr > td {
        text-align: left;
        display: block;
        border: 0 none;
        width: 100% !important;
        box-sizing: border-box;
        float: left;
        clear: left;
    }

    .ui-datatable-reflow .ui-datatable-data td .ui-column-title {
        padding: .4em;
        min-width: 30%;
        display: inline-block;
        margin: -.4em 1em -.4em -.4em;
        font-weight: 700
    }

    .ui-datatable-reflow thead th {
        display: none !important;
    }
}


@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1025px) {
       
}

/*
    IE css due to flex issue on browser
*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .flex-container {
        height: 100%;
    }
}
