﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
    /*width: 80px;*/
}
.btn-group-sm > .btn, .btn-sm {
    padding: .15rem .4rem;
    font-size: .80rem;
    line-height: 1.2;
   /* width: 80px;*/
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/*for tab control*/
div.login-logout-tab div.card-header {
    padding: 0px 0px 12px 0px;
}

div.login-logout-tab ul.nav-tabs {
    margin: 0px 0px -12px 0px;
}

div.login-logout-tab li.nav-item {
    width: 50%;
}

div.login-logout-tab a.nav-link {
    font-size: 25px;
    color: #495057;
    text-align: center;
}

div.card-content {
    padding: 10px 20px;
}

/*login form*/
div.login-form-icon {
    text-align: center;
}

.select2 {
    width: 100% !important;
}

.table-radious {
    border-radius: 10px;
}

th {
    background-color: #49545f;
    color: white;
}

td {
    font-size: 15px;
}

tr:nth-child(odd) {
    background-color: #eeeeee;
}

label.required:after {
    content: " *";
    color: red;
}

.indextable .table thead th {
    position: sticky;
    top: 0;
}

.indextable {
    height: 500px;
}

.table td, .table th {
    padding: .4rem;
}

.blink {
    animation: blinker 1.5s linear infinite;
    color: #c46c2d;
    font-family: sans-serif;
    font-size: 25px;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/*Styling for error cells*/ 
/*.error-cell {
    color: red;
    
}*/
/*.tooltip-inner{
    background-color: #ffcc00;  Set your desired background color 
    color: #333;  Set your desired text color 
}*/



#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

#custom-dialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
    max-width: 80%;
    height: auto;
    max-height: 80vh;
}

#dialog-message {
    margin-bottom: 20px;
}

.btn-yes,
.btn-no {
    cursor: pointer;
    padding: 10px 15px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
}

.btn-yes {
    background-color: #4CAF50;
}

.btn-no {
    background-color: #f44336;
}

.ag-cell-wrap-text {
    line-height: 1.2 !important; 
}