﻿

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 13px;
    }
}
 

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}


table {
    width: 100%
}

.card {
    margin-top: .25rem !important;
    margin-bottom: .25rem !important;
}

.card-header {
    font-weight: 600;
    font-size: 1.1em;
    padding: .5rem !important;
}

.card-body {
    padding: .5rem !important;
}
.card-footer {
    padding: .35rem;
}

.nav-item > .nav-treeview {
    background-color: #bcbbbb !important;
    color: black !important;
    padding-left: -5px !important;
    border-bottom-left-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    margin-left: 7px !important;
    margin-right: -5px !important
}

    .nav-item > .nav-treeview a {
        color: black !important;
        margin-left: -5px !important;
        padding-right: 3px !important
    }
 

.k-grid td input:not([type='checkbox']),
.k-grid td select {
    width: 100% !important;
    box-sizing: border-box; /* prevents overflow with padding/border */
}
.k-dirty {
    display: none !important;
}
.k-tabstrip-top
{
    font-weight:900
}
 
.textbox {
    padding: 3px 6px;
    border: 2px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
input[readonly].textbox {
    background-color:lightgrey
}
input[type=number] {
    text-align:right;
}
    /* Focus effect */
    .textbox:focus {
        border-color: #007bff;
        box-shadow: 0 0 6px rgba(0, 123, 255, 0.5);
    }

    /* Placeholder styling */
    .textbox::placeholder {
        color: #aaa;
        font-style: italic;
    }

input[type=number].noSpin::-webkit-outer-spin-button,
input[type=number].noSpin::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number].noSpin {
    -moz-appearance: textfield;
}

label {
    
    margin: .1rem !important; 
}
.fit-area {
    white-space: nowrap;
     padding: 3px;
    vertical-align: middle; 
}

.fit-area-rt {
    white-space: nowrap;
    width: 1px;
    padding: 3px;
    vertical-align: middle;
    text-align: right
}
.icheck-primary input[type=radio]:checked + label, .icheck-primary input[type=radio]:checked + label::before {
    background-color: blue !important;
    color: white;
}
    .icheck-primary input[type=radio] + label::before {
        border: 1px solid blue
    }

.icheck-primary input[type=checkbox] + label::before {
    border: 1px solid blue; 
}
.k-grid .icheck-primary input[type=radio] + label::before {
    margin-top: -1px;
    margin-left: -30px; 
}

.k-grid td{
   font-weight:500 !important
}
.icheck-primary input[type=radio] + label {
    padding-right: 7px;
    padding-bottom: 0px;
    border-radius: 12px;
    border: 1px solid blue;
    white-space: nowrap; 
}
.noPadding-top td {
    padding-top: 0 !important;
    padding-bottom:0 !important
}

@media (max-width: 767px) {
    .hide-sm {
        display: none !important;
    }
}

/* Hide element on medium screens and up (≥768px) */
@media (min-width: 768px) {
    .hide-md-up {
        display: none !important;
    }
}

.k-combobox input:focus {
    background-color: #f0f8ff !important; /* light blue */
}

/* Optional: change the border color on focus */
.k-combobox.k-focus {
    border-color: #f35800; /* #007bff; Bootstrap primary blue */

    box-shadow: 0 0 4px rgba(243, 88, 0, 0.75); 
}
.k-grid td {
    
   
/*    line-height: 1.2em !important; */
}
.k-grid .btn {
    padding: 4px 7px !important;
}