@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('fontawesome/css/all.css');

body {
    font-family: 'Source Sans Pro', sans-serif;
    height: 100vh !important;
    font-size: 14px;
}

.bg-primary, .btn-primary {
    background: #003579 !important;
    background-color: #003579 !important;
}

.logmenu {
    background-color: #5CB3FF;
}


.appborder{
    border-bottom-color: white;
}

.appborder:hover{
        background-color: #1E90FF;
    }

.appMenu {
    background-color: #1E90FF;
}

a {
    color: #0366d6;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

.nav-ico{
    width:44px;
    height:48px;
}


.lblView{
    font-size:18px;
}

th{
    cursor: pointer;
}

.sidebar-menu:hover {
    overflow-y: auto;
}

header {
    font-family: 'Lobster', cursive;
    text-align: center;
    font-size: 25px;
}

#info {
    font-size: 18px;
    color: #555;
    text-align: center;
    margin-bottom: 25px;
}

a {
    color: #074E8C;
}

.expandable {
    overflow: hidden;
    color: #000;
    line-height: 50px;
    transition: all .5s ease-in-out;
    height: 0;
}

/*
 *  STYLE 5
 */

#style-5::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

#style-5::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

#style-5::-webkit-scrollbar-thumb {
    background-color: #0ae;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(.5, rgba(255, 255, 255, .2)), color-stop(.5, transparent), to(transparent));
}

BILLING STYLE
.trow {
    height: 30px;
    display: table-row;
    width: 100%;
}

.tfill {
    height: 100%;
}

.tcell {
    display: table-cell;
    width: 20%;
    height: 30px;
    color: #ffffff;
}

#agent-billing, #billingrecord {
    font-family: sans-serif !important;
}

.bill-style {
    background: #434b53;
    /*background: -moz-linear-gradient(90deg, rgba(168,192,255,1) 0%, rgba(63,43,150,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(168,192,255,1) 0%, rgba(63,43,150,1) 100%);
    background: linear-gradient(90deg, rgba(168,192,255,1) 0%, rgba(63,43,150,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a8c0ff",endColorstr="#3f2b96",GradientType=1);*/
}

.bill-style::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

.bill-style::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

.bill-style::-webkit-scrollbar-thumb {
    background-color: #0ae;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(.5, rgba(255, 255, 255, .2)), color-stop(.5, transparent), to(transparent));
}

bill-table-head {
    max-height: 5vh;
}

.bill-table {
    min-height: 30vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal {
    overflow-y: auto;
}

.modal-open {
    overflow: auto;
    padding-right: 0 !important;
}

.modal-lg {
    max-width: 60%;
}

.approver-table {
    max-height: 20vh;
    min-height: 20vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.tb-btn:hover {
    cursor: pointer;
}

.list-group {
    min-height: 30vh;
    max-height: 30vh;
    margin-bottom: 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.btn-circle {
    width: 1.5rem;
    height: 1.5rem;
    line-height: 20px;
    text-align: center;
    padding: 0;
    border-radius: 50%;
}

    .btn-circle i {
        font-size: .7rem;
        position: relative;
        top: -1px;
    }

.btn-circle-plus {
    width: 2rem;
    height: 2rem;
    line-height: 30px;
    text-align: center;
    padding: 0;
    /*border-radius: 50%;*/
}

    .btn-circle-plus i {
        font-size: .7rem;
        position: relative;
        top: -1px;
    }

.wrapper {
    display:grid;
    grid-template-columns: 1fr;
    grid-auto-rows: .5fr 1fr 1fr 3%;
}

.input-wrapper-field {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 1fr 1fr 1fr 1fr;
}

.input-wrapper-content {
    display: grid;
    grid-template-rows: 11% 1fr 1fr;
    grid-template-columns: 1fr 1fr;
}

.input-wrapper-result {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
}

.input-modal-compute {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-columns: 1fr;
}

.btn-bill {
    display: grid;
    margin-left: auto;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
}

    .btn-bill button {
        margin-left: .5rem;
    }

.dropdown-divider-col {
    grid-column: span 2;
}

.date-control {
    max-width: 12rem;
}

textarea {
    resize: none;
}

.validation-message {
    width: 100%;
    padding-left: .75rem;
    margin-top: .25rem;
    font-size: 85%;
    color: #dc3545;
}

.form-control.invalid {
    border-color: #dc3545;
}

.item-row:hover {
    background-color: #e5e5e5;
}

.container-fluid {
    height: 100vh !important;
}

.p-form {
    display: grid !important;
    grid-template-columns: 10% 90%;
}

.p-col-half {
    display: grid;
    grid-column-gap: 30px;
    grid-template-columns: repeat(2, 1fr);
}

.p-row-half {
    display: grid;
    grid-row-gap: 15px;
    grid-template-rows: repeat(2, 1fr);
}

.p-row-3rd {
    display: grid;
    grid-template-rows: 6% repeat(2, 1fr);
}

.p-tab {
    display: grid !important;
    grid-template-rows: 5% 95%;
}

.input-group > .input-group-prepend {
    flex: 0 0 16%;
}

.input-group .input-group-text {
    width: 100%;
}

.newbilltr {
    font-size: 1rem;
}

.btn-no-radius {
    border-radius: 0 !important;
}

.search-form-control::placeholder {
    font-size: 0.95rem;
    color: #aaa;
    font-style: italic;
}

.search-form-control:focus {
    box-shadow: none !important;
}

.search-form-control-underlined {
    border-width: 0 !important;
    border-bottom-width: 1px !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
}

.container-grid {
    display: grid;
    grid-template-rows: 10% 70% 10% 10%;
    grid-row-gap: 15px;
}

.body-container-grid {
    display: grid;
    grid-template-rows: auto 1fr;
}

.comments-container-grid {
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap:15px;
}

.date {
    max-width: 160px;
    text-align: center;
}

input[type = "date"] {
    max-width: 160px;
    text-align: right;
}

    input[type="date"]::-webkit-inner-spin-button,
    input[type="date"]::-webkit-calendar-picker-indicator {
        -webkit-appearance: none;
    }

.form-container-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr auto;
    column-gap: 20px;
}

.table-container-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(500px, 1fr));
    gap: 20px;
}

thead, th, tr {
    white-space: nowrap;
    text-overflow: clip;
    font-size: .9rem;
    height: 55px;
    max-height: 55px;
    min-height: 55px;
}

.btn-normal-size {
    max-height: 38px !important;
    min-width: 180px !important;
}

/*Table*/
td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*Dropdown*/
.custom-input:focus + div > .btn-custom-input i, .btn-custom-input:focus i {
    transform: rotate(180deg);
    transition: transform .3s ease;
}

.custom-input:focus + div > .ddown-content, .btn-custom-input:focus + .ddown-content {
    max-height: 300px;
}

.ddown {
    position: relative;
    display: inline-block;
}

.ddown-content:hover {
    max-height: 300px;
}

.ddown-content {
    max-height: 0px;
    overflow-y: auto;
    position: absolute;
    top: 100%;
    left: 0;
    font-size: .8rem;
    background-color: #f9f9f9;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
    width: 100%;
    -webkit-overflow-scrolling: touch;
    z-index: 5;
    transition: all .2s ease-in;
}

    .ddown-content button {
        border: .5px solid #D8DDE2;
    }

        .ddown-content button:hover {
            cursor: pointer;
            background-color: whitesmoke;
        }

    .ddown-content::-webkit-scrollbar-track {
        box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        background-color: #F5F5F5;
    }

    .ddown-content::-webkit-scrollbar {
        width: 10px;
        background-color: #F5F5F5;
    }

    .ddown-content::-webkit-scrollbar-thumb {
        background-color: #6C757D;
    }

/* REMOVE INPUT ARROWS */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

    /* Firefox */
    input[type=number] {
        -moz-appearance: textfield;
    }