* {
	box-sizing:border-box;
	cursor:default;
}

body {
	color:black;
    background:white;
    letter-spacing:normal;
    white-space:normal;
    word-spacing:normal;
    word-wrap:normal;
    word-break:normal;
    cursor:default;
    user-select: none;
    tab-size: 4;
    scroll-behavior: smooth;
	display:flex;
	flex-direction:column;
	min-height:100vh;
	max-width:100vw;
	overflow-x:hidden;
	overflow-y:hidden;
    margin:0px;
    padding:0px;
}

.background_search_loader.active{
    display: block;
    /* margin-left: -23px; */
    position: absolute;
    top: 8px;
    right: 35px;
    padding: 2px;
    border: 2px solid #005804;
    border-radius: 50%;
    border-top: 2px solid #ffffff;
    width: 18px;
    height: 18px;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.value_nearby_icon{
    font-size: 0.8em!important;
}

.loader_search_input{
    padding-right: 26px!important;
}
.form-control.loader_search_input{
    padding: 1px 26px 1px 3px!important;
}
header{
    background-color: #8b0404; /* #024059 #147d17 Green-#005502 #024059*/
    color:white;
    flex-grow: 0;
    display:flex;
	/* height:60px; */
    height:60px;
	padding: 7px;
    align-items: stretch;
	justify-content: center;
}
header .logo-box{
    width:20%;
    display: flex;
    flex-flow: row;
    align-items: center;
}
header .logo-box img{
    height: 5.8vh;
    padding: 3px;
    object-fit: scale-down;
    overflow: hidden;
}
header .company-box{
    width:60%;
    display: flex;
    align-items: center;
    justify-content: center;
}
header .company-box img{
    filter: drop-shadow(1px 1px 1px #222);
    height: calc(6vh + (13 - 6) * ((100vw - 320px) / (1200 - 320)));
    padding: 3px;
    object-fit: scale-down;
}
header .company-box h1{
    margin: 0px;
    padding-left:1px;
    color: #fff; /* #ffc151 ff0404 */
    text-shadow: 2px 1px 2px #000000c2;
    /* font-size: 1.5rem; */
    font-size: calc(13px + (22 - 13) * ((100vw - 320px) / (1200 - 320)));
    /* text-align: center; */
    font-weight: 600;
    /* font-family: 'Montserrat', sans-serif; */
    font-family: 'Noto Serif JP', serif;
}
header .profile-box{
    width:20%;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: flex-end;
}
header .profile-box img{
    /* height: -webkit-fill-available; */
    height: calc(40px + (50 - 40) * ((100vw - 320px) / (1200 - 320)));
    max-width: calc(40px + (50 - 40) * ((100vw - 320px) / (1200 - 320)));
    padding: 3px;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
}




/* Nav tabs */
.nav-tabs{
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size:calc(7px + (12 - 7) * ((100vw - 320px) / (1200 - 320)));
    background-color: #f1f1f1;
}
.nav-tabs>li>a{
    background-color: #8b0404;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    padding:5px 10px;
}
.nav-tabs>li.active>a{
    background-color: #d50000;
    color: #fff;
}
.nav-tabs>li>a:hover{
    background-color: #af0a0a!important;
    color:#ffffff;
}
.nav-tabs>li.active>a:focus{
    background-color: #f1f1f1;
    color: #af0a0a;
    outline: none;
}
.tab-content{
    font-size:calc(7px + (12 - 7) * ((100vw - 320px) / (1200 - 320)));
    /* background-color: #f1f1f1; */
}
/* Nav Tabs End */

#id_statistics_section, #id_dashboard_shortcuts_section{
    margin-top: 50px;
    background-color: #f1f1f1;
}

button{
    padding: 3px 7px!important;
    font-size: 0.87em!important; 
}
.theme_btn{
    background-color: #8b0404!important;
    border: none!important;
    padding: 3px 7px!important;
    font-size: 0.87em!important;
}

.strong_txt{
    font-weight: 800;
}

/* Table & Pagination */
.fit_table{
    min-width: fit-content;
}
.fit_table_cell th, .fit_table_cell td{
    min-width: fit-content;
}
table th, table td{
    vertical-align: middle!important;
}
.table-box{
    margin:10px;
    width: auto;
    overflow-x: scroll;
    scroll-behavior: smooth;
    font-size:1em;
}
.table-box th{
    white-space: nowrap;
}
.table-box::-webkit-scrollbar{
    width:0px;
}
.table-box .table{
    width: auto;
    margin: 0px auto;
    padding: 0px;
    border: 1px solid #ccc;
    border-collapse: collapse;
    border-spacing: 0px;
    font-size:1em;
    color:#000000;
}
.table-box .table thead{
    background: #d50000;
    color: white;
}
.table-box .table thead tr th{
    text-align:center;
    padding:3px 6px;
    vertical-align: middle;
}
.table-box .table tbody tr:nth-child(odd){
    background-color: #ffffff;
}
.table-box .table tbody tr:nth-child(even){
    background-color: #f1f1f1;
}
.table-box .table tbody tr:hover{
    background-color: #00477e73;
    color: black;
}
.table-box .table tbody tr td{
    text-align:center;
    padding:3px 6px;
    vertical-align: middle;
}
table .msg_cell{
    text-align: left!important;
    max-width:170px;
}
.readOnly_date_input{
    background-color: #fff!important;
}
.right_align_tbl_cell{
    text-align: right!important;
    white-space: nowrap;
    min-width:calc(100px + (140 - 100) * ((100vw - 320px) / (1200 - 320)));
}
.rupee_amount_cell{
    white-space: nowrap;
}
.right_aligned_input{
    text-align: right;
    padding-right:5px;
}
.narration_cell{
    width: calc(180px + (260 - 180) * ((100vw - 320px) / (1200 - 320)));
    text-align: justify!important;
    padding:2px!important;
    font-size:0.9em;
    white-space: normal!important;
}
.no_wrap_cell{
    white-space: nowrap;
}
.table-box .table tfoot tr td{
    text-align:center;
    padding:3px 6px;
    vertical-align: middle;
}
.tfoot_result{
    color: rgb(184, 7, 7);
}
.pagination-box ul{
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0px;
    padding: 2.5px 5px;
    margin-bottom:10px;
}
.pagination-box ul li{
    background: #f2b43d;
    color: black;
    padding: 4px 8px;
    border-right: solid 1px white;
    cursor: pointer;
}
.pagination-box ul li.current{
    background: #af0a0a;
    color: white;
}
.pagination-box ul li.hide{
    display: none;
}
.pagination-box ul li.first-gap{
    margin-right:10px;
}
.pagination-box ul li.last-gap{
    margin-left:10px;
}

main{
    background-color: white;
    color:black;
	
	flex-grow: 1;
	
	display:flex;
	/* padding: 5px; */
    padding-top: 0px;
    align-items: center;
    justify-content: center;
}
main .login-box{
    width: 350px;
    border: 1px solid #e0e0e0;
    font-size: 0.8rem;
    padding: 5px;
    color: #000!important;
    background-color: #f1f1f1!important;
}
main .login-box h2,main .login-box h3{
    text-decoration: underline;
    text-decoration-thickness: from-font;
    color: #af0a0a;
}
main .login-box p{
    color: black;
    font-weight: 600;
}
main .login-box form input{
    width:200px;
    margin: 10px auto;
}
main .login-box form{
    padding-top: 20px;
}
main .login-box form button{
    background: #af0a0a;
    color: white;
}
main .login-box form button:hover{
    background: #9e2929;
}
main .login-box form .input-group-btn{
    font-size: 1.6em;
}
main .login-box form .input-group-btn button{
    padding: 4px!important;
}
.change_password_box .input-group-btn{
    font-size: 1em;
}
.change_password_box .input-group-btn button{
    padding: 5px!important;
    font-size: 1.2em!important;
}
main .recovery_form input{
    width: auto!important;
}
main .recovery_form .form-check{
    text-align: left;
    padding-left: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 11px;
}
main .recovery_form .form-check input{
    margin: 0px;
}
main .recovery_form .form-check label{
    position: absolute;
    margin-top: 2px;
    margin-bottom: 0px;
    padding-left: 20px;
}
main .username_password_form .form-group{
    display: flex;
    flex-direction: row;
    align-items: end;
}
main .login-box .exit_form{
    padding-top: 3px;
}

footer{
    background-color: #8b0404;
    color:white;
	
    flex-grow: 0;
	
	display:flex;
	height:20px;
	padding: 5px;
    align-items: center;
    justify-content: center;
}
footer .copyright-box h6{
    margin: 0px;
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
}
.center {
	margin:0 auto !important;
    display:block !important;
}
.bold{
	font-weight: bold !important;
}
.line {
	margin-top:0px !important;
	margin-bottom:0px !important;
	border-top: 1px solid black !important;
}
.under-line{
	text-decoration: underline !important;
}
.left-text {
	text-align:left !important;
}
.center-text {
	text-align:center !important;
}
.right-text {
	text-align:right !important;
}
.no-gap {
	padding: 0px !important;
	margin: 0px !important;
}
.no-link {
	text-decoration: none !important;
	cursor:default !important;
}
.center-element{
	position: relative;
	top:50%;
	-ms-transform: translate(0%,-50%);
	transform: translate(0%,-50%);
}
.error_msg{
    color: red !important;
    font-weight: 600 !important;
}
.success_msg{
    color: green !important;
    font-weight: 600 !important;
}
.clickable_icon{
    cursor: pointer;
}
.clickable_table_cell{
    cursor: pointer;
}

.form-group{
    margin-bottom:3px;
    display:flex;
    text-align: center;
    justify-content: center;
    align-items:center;
    padding-right:4px;
    /* flex-wrap:wrap; */
}
.form-group label{
    font-size: calc(0.8em + (1.5 - 0.8) * ((100vw - 320px) / (1200 - 320)));
    margin-bottom: 1px;
}
.form-group .control-label{
    text-align: center;
}

main .change_password_box{
    width: auto;
    border: 1px solid #e0e0e0;
    font-size: 0.8rem;
    padding: 5px;
    color: #000!important;
    background-color: #f1f1f1!important;
}

@media(min-width:767px){
    main .change_password_box{
        width: 500px;
    }
}

main .change_password_box .form-group .control-label{
    font-size: 80%;
    width: 28%;
}

main .change_password_box .form-group .field_box{
    width: 72%;
    padding-right: 5px;
    display: flex;
    align-items: center;
}

main .change_password_box h2{
    color: #04466f;
}

main .change_password_box p{
    color: black;
}

.capitalized_text{
    text-transform: capitalize;
}

.input-box .date_input{
    width: calc(60px + (100 - 60) * ((100vw - 320px) / (1200 - 320)));
}
.date_input{
    width: calc(110px + (140 - 110) * ((100vw - 320px) / (1200 - 320)));
}
.amount_input{
    width: calc(120px + (160 - 120) * ((100vw - 320px) / (1200 - 320)));
}
.small_number_input{
    width: calc(70px + (100 - 70) * ((100vw - 320px) / (1200 - 320)));
}
.extra_small_number_input{
    width: calc(50px + (80 - 50) * ((100vw - 320px) / (1200 - 320)));
}

.amount_input {
    padding-left: 25px;
    background: url("../images/clipart/rupee.png") no-repeat left #fff;
    background-size: 20px;
}

.input-box .selectize-control{
    min-width: 170px;
}

td p{
    width: max-content;
}

.selector_modernizer .list_box div, .selector_modernizer .selected_box div{
    width: auto!important;
}
.selectize-control{
    min-width: 260px;
}
.field_box .selectize-control{
    min-width: 200px;
}

.selectize-dropdown{
    min-height: 120px;
}
.selectize-dropdown-content{
    text-align:left;
    padding-left:5px;
}
.selectize-dropdown-content .create{
    display: none;
}
.selectize-dropdown-content .optgroup-header{
    background-color: #a09898;
    font-weight: 800;
    color: #000;
}
.selectize-dropdown .optgroup:before{
    content:none!important;
}
.disabled_selectize_option{
    opacity: 0.7;
    /* background-color: #d4c7c7;
    font-weight: 800;
    color: #0005; */
}
.selectize-input{
    /* padding: 3px 8px!important; */
    min-height: calc(15px + (28 - 15) * ((100vw - 320px) / (1200 - 320)));
    line-height: calc(6px + (20 - 6) * ((100vw - 320px) / (1200 - 320)));
}
.selectize-control.multi .selectize-input .item{
    background: #a3e5ff!important;
    color: #000;
}
#selectize_not_found.selectize_option_hide{
    display: none!important;
}

.timeline_box .single_timeline:last-child::after{
    content:'';
    border: none;
}
