﻿/* For Iphone over lapping Problem*/
body {
    min-height: 100vh;
    /* mobile viewport bug fix */
    min-height: -webkit-fill-available;
}
html {
    height: -webkit-fill-available;
}
/*Custom*/
body, html {
    font-family: Segoe UI,SegoeUI,Segoe WP,Helvetica Neue,Helvetica,Tahoma,Arial,sans-serif;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background-color: #f2f4f8;
}
.total-table tr:last-child * {
    font-weight: bold;
}
table tbody tr:hover {
    cursor: pointer !important;
}
.tbody {
    overflow-y: auto;
}
.content {
    padding-top :.1em !important;
}
.c-btn {
    color: #d7d7d7;
}
a:hover {
    cursor:pointer;
}
.c-btn:hover{
    cursor:pointer;
}
/*Nav Menu*/
.EntryMenu, .c-view-child {
    display: none;
}
.Entry:hover .EntryMenu, .c-view:hover .c-view-child {
    display:block;
}
.no-display{
    display:none;
}
.c-box {
    z-index:1000;
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
}
.cust-box {
    border-radius: 25px;
    border: 1px solid #d4d4d4;
}
.c-border-box {
    border: 1px solid #d4d4d4;
}
.login {
    max-height: 95%;
    overflow: auto;
    z-index: 999;
    max-width:95%;
}
.spinner {
    overflow: visible !important;
}
.custom-input {
    display: inline-block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e) no-repeat right .75rem center/8px 10px;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.thead-success th {
    color: white !important;
    background-color: #28a745;
    border-color: #dee2e6;
    text-align: center;
    padding:2em;
}
.alert-custom {
    position: relative;
    padding: .25rem .25rem;
    margin-bottom: .5rem;
    border: 1px solid transparent;
    border-radius: .25rem;    
}
@media all and (min-width:768px) {
    body {
    }
    .logout {
        position: fixed;
        bottom: 0px;
    }
    .login {
        z-index: 999;
        position: fixed;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }
}
@media all and (max-width:768px) {
    .main > div {
        
    }
    .main .pl-4, .main .px-4 {
        padding: .1em !important;
    }
    .card-body {
        padding: .5rem !important;
    }  
}
@media (min-width:401px) and (max-width:767px) {
    .login {
        min-width: 85%;
        z-index: 999;
        position: fixed;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }
}
@media all and (max-width:400px) {
    .main > div {
       
    }
    .login {
        min-width:90%;
        z-index: 999;
        position: fixed;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }
}

/*Item Search */
.autocomplete {
    position: relative;
    display: inline-block;
}
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}
/*when hovering an item:*/
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}
/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

/*Account Search */
.autocomplete-account {
    position: relative;
    display: inline-block;
}

.autocomplete-account-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

    .autocomplete-account-items div {
        padding: 10px;
        cursor: pointer;
        background-color: #fff;
        border-bottom: 1px solid #d4d4d4;
    }
        /*when hovering an item:*/
        .autocomplete-items div:hover {
            background-color: #e9e9e9;
        }
/*when navigating through the items using the arrow keys:*/
.autocomplete-account-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

@media print{
    .no-print {
        display: none;
    }
    th {
        background-color:skyblue;
    }
    table {
        width:100%;
    }
}
/*table head stick*/
thead {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}
