﻿body {
    /*padding-top: 50px;
    padding-bottom: 10px;*/
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 10px;
    padding-right: 10px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.middle {
    padding-top: 15px;
    /*min-height: 630px;*/
	padding-bottom:20px;
}

/*custom*/
#loading-indicator {
    position: absolute;
    left: 50%;
    top: 50%;
}

.footer {
    bottom: 0;
    height: 100px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    text-align: center;
}

h1 {
    font-family: Helvetica;
    font-weight: 100;
}

body {
    color: #333;
    text-align: center;
    font-family: arial;
}

.nav {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

    .nav li {
        float: left;
        width: 160px;
        position: relative;
    }

        .nav li a {
            background: #e7e7e7;
            color: black;
            display: block;
            padding: 7px 8px;
            text-decoration: none;
        }

            .nav li a:hover {
                color: white;
                background-color: #20B04C;
            }

    /*=== submenu ===*/

    .nav ul {
        display: none;
        position: absolute;
        margin-left: 0px;
        list-style: none;
        padding: 0px;
    }

        .nav ul li {
            width: 160px;
            float: left;
        }

        .nav ul a {
            display: block;
            padding: 7px 8px;
            color: black;
            text-decoration: none;
            border-bottom: 1px solid #222;
        }

        .nav ul li a:hover {
            color: white;
        }

.menuicon {
    width: 13px;
    height: 13px;
}

/*=== common ===*/
.maintitle {
    font-size: 10pt;
    font-family: Tahoma;
    font-size: medium;
    font-weight: bold;
    color: #008000;
	padding-left: 0px;
}

.textboxcss {
    background-color: #fff;
    border-radius: 2px;
    border: 1px solid #d5dae2;
    font-size: 12px;
    height: 36px;
    -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, .075);
    box-shadow: inset 0 0px 0px rgba(0, 0, 0, .075);
    width: 200px;
}

.dropdowncss {
    background-color: #fff;
    border-radius: 2px;
    border: 1px solid #d5dae2;
    padding: 0px 0px 0px 10px;
    font-size: 12px;
    height: 26px;
    -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, .075);
    box-shadow: inset 0 0px 0px rgba(0, 0, 0, .075);
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    background-position: 97% 50%;
    background-repeat: no-repeat;
    /* background-image: url(../images/down-arrow.png);
    padding-right: 15px;*/
    width: 200px;
}

.textareacss {
    background-color: #fff;
    border-radius: 2px;
    border: 1px solid #d5dae2;
    font-size: 12px;
    height: 26px;
    -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, .075);
    box-shadow: inset 0 0px 0px rgba(0, 0, 0, .075);
    width: 250px;
    height: 120px;
}

.button {
    background-color: #4f6eae;
    color: white;
    height: 25px;
    width: 100px;
}

.button2 {
    background-color: #739e2f;
    color: white;
    font-size: 8pt;
    font-family: Tahoma;
    width: 170px;
    font-weight: bold;
    height: 25px;
}

.button3 {
    background-color: #739e2f;
    color: white;
    font-size: 8pt;
    font-family: Tahoma;
    width: 150px;
    font-weight: bold;
    height: 25px;
}

.button4 {
    background-color: #88CD3E;
    color: white;
    height: 25px;
    width: 100px;
}

.tableline {
    line-height: 10px;
}

.fontwhite {
    color: white;
}


/*=== MotorClaimsEnquiry ===*/

.labelCss {
    font-size: 9pt;
    font-family: Tahoma;
    font-size: small;
    font-weight: bold;
}

.labelsmall {
    font-size: 8pt;
    font-family: Tahoma;
    font-size: small;
}

/*=== MotorClaimsEnquiry ===*/

.calloutbox {
    background-color: #f8f8f8;
    border-color: #aaa;
    margin: 10px 0;
    padding: 10px;
    border-left: 3px solid #aaa;
    text-align: justify;
    width: 700px;
}

.paragraph {
    color: red;
    font-size: 12px;
    font-weight: bold;
}

/*=== MotorNCDEnquiry ===*/
.tooltip {
    background-color: #FFFFFF;
    color: #ff00ff;
    text-decoration: none;
}

.textboxcolor {
    background-color: #FFF1CC;
    width: 200px;
}

.headerinner {
    background: #0b8a37 none repeat scroll 0 0;
    border: 1px solid #e2e6ed;
    color: #fff;
    display: block;
    font-size: 0.9em;
    font-weight: bold;
    margin-top: -1px;
    padding: 3px 15px;
    text-transform: uppercase;
}

.circle-left {
    content: "";
}

.circle-right {
    content: ">";
}

.circle-up {
    content: "";
}

.circle-down {
    content: "";
}

/*=== UserParticulars ===*/

.tablesite {
    width: 100%;
    text-align: left;
}
.tablelist tr td {
	padding: 5px;
	display: inline-block;
}



.table-td-padding {
    padding: 20px 20px 40px 20px;
    border-color: #DEDEDE;
	border: 1px;
}

.table-box {
    width: 100%;
}

.navbar-right1 {
    right: 0;
    left: auto;
    width: 100%;
}

.viewer tr td {
    border-collapse: collapse;
    font-family: Calibri;
    border: 1px solid black;
    font-size: 10pt;
    /*text-align: left;*/
}
.detailimagebar {
	height: 24px; 
	/*width: 800px;*/ 
	background-image: url(../Images/banner.jpg); 	
	background-repeat: no-repeat;
}
.detailbg {
	/*background-color: #C0C0C0;*/
}
.my-div{
    width    : 760px;
    height   : 600px;
    overflow : hidden;
    position : relative;
}

.my-iframe{
    position : absolute;
    top      : -66px;
    left     : -100px;
    width    : 1280px;
    height   : 1200px;
	/*margin-bottom: -200px;*/
}
.txt_a 
    {
    color: #3e3f41; text-decoration: none; font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; text-align: justify;
    }
    
.TitleBoldWhite
{
    text-align:left;
    font-family:Tahoma;
    color:White;
    font-size:10pt;
    font-weight:bold;
}
.btn_Export {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
	color: #fff;
	background-color: #286090;
	border-color: #122b40;
}
.header {
	background-color: #C0C0C0;
}
.form-border {
	border: 1px solid #333;
	padding:20px;
	text-align:left;
}
.Columnheader {
	/*background-color: #8BC14F;*/
	color: green;
}

.bootboxSuccess .modal-content {
    background-color: #74B574;
	color: white;
}

.bootboxSuccess .modal-title{
    background-color: #74B574;
	color: white;
}

.bootboxError .modal-content{
    background-color: #CA5E59;
	color: white;
}

.bootboxError .modal-title{
    background-color: #CA5E59;
	color: white;
}

.table th, .table td{
	padding:0.45rem;
}

.datepicker{
	 background-color: #f5f3e5;
}

/*.datepicker table tr td.day:hover{
	/*border: 1px solid #327E04;
	background: #f5f3e5;
	font-weight: bold;	
	color:white;
}*/

.datepicker table tr td { 

}


.datepicker table tr td,
 
.datepicker table tr th {
text-align: center; 
/*width: 30px; 
height: 30px;*/ 
border-radius: 4px; 
border:double 1px #f5f3e5;  
/*border: none;*/ 
}

.datepicker .datepicker-switch, .datepicker .next, .datepicker .prev, .datepicker tfoot tr th{
	background-color: #dfd9c3;

}
/*, .datepicker table tr td.active.disabled.active, .datepicker table tr td.active.disabled:active, .datepicker table tr td.active.disabled:hover.active, .datepicker table tr td.active.disabled:hover:active, .datepicker table tr td.active:active, .datepicker table tr td.active:hover.active, .datepicker table tr td.active:hover:active*/

/* Hover state of days as you bring mouse over */
.datepicker table tr td.day.focused, .datepicker table tr td.day:hover{
	background: #67B021;
	font-weight: bold;	
	color:white;
}
.datepicker .day{
	background-color: #67b021;
	font-weight: bold;	
}
.datepicker .old{	
background: #67b021;
font-weight: bold;	
color: #FFFFFF;
}
.datepicker .new{	
/*background: #67b021;*/
font-weight: bold;	
color: #FFFFFF;
}
.datepicker table tr td.day.focused, .datepicker table tr td.old{
	background-color: #f5f3e5;
	font-weight: bold;	
	color:black;
}
.datepicker table tr td.day.focused, .datepicker table tr td.new{
	 background-color: #f5f3e5;
	font-weight: bold;	
	color:black;
}

ol.roman {
    list-style-type: lower-roman;
}

.popover {
    max-width: 600px;
    width: 600px;
}

.fa-question-circle {
    color: #0b8a37;
}


/* Overlay */
.cash-benefit-popup-overlay {
    position: fixed; /* fixed keeps it visually consistent on scroll */
    top: 10vh; /* small offset from top */
    left: 50%;
    transform: translateX(-50%);
    background: #fff; /* keep popup white for readability */
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-radius: 6px;
    padding: 8px; /* reduced padding */
    z-index: 20050 !important;
    width: 78vw; /* adjust to taste */
    max-width: 1200px;
    max-height: 78vh;
    overflow: auto; /* inner scroll handled by table body */
    pointer-events: auto;

}

    /* Title in overlay */
    .cash-benefit-popup-overlay h5 {
        text-align: center;
        margin: 4px 0 8px;
        font-size: 0.9rem; /* smaller title */
        font-weight: 600;
    }

/* Compact scrollable table */
.scrollable-table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
    font-size: 0.75rem;
}

    /* Green header with white text */
    .scrollable-table thead tr {
        font-size: 0.78rem; /* slightly smaller */
        font-weight: 600;
    }

    /* Keep header aligned and sticky */
    .scrollable-table thead {
        display: table;
        width: 100%;
        table-layout: fixed;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    /* Make tbody scrollable */
    .scrollable-table tbody {
        display: block;
        max-height: 200px; /* show about 10 rows */
        overflow-y: auto;
        scrollbar-gutter: stable both-edges;
    }

        /* Each row matches header column widths */
        .scrollable-table tbody tr {
            display: table;
            width: 100%;
            table-layout: fixed;
        }

    /* Smaller padding for compact look */
    .scrollable-table th,
    .scrollable-table td {
        padding: 4px 6px;
        vertical-align: middle;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

/* Loading spinner container inside overlay */
.cash-benefit-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px; /* smaller spinner space */
}

    /* Small spinner using CSS (no external images) */
    .cash-benefit-spinner::after {
        content: "";
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 3px solid rgba(0,0,0,0.12);
        border-top-color: rgba(0,0,0,0.45);
        animation: spin 0.9s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
