﻿body {
    font-size:0.85rem;
    line-height:1.2;
}

/* to align bottom in row*/
.pushed-down {
    position: absolute;
    bottom: 0
}

.autowidth {
    width: auto;
}


#common_header {
    background-color: #0a1f44 !important; /* Replace with your preferred dark blue */
}


.sub-dropdown { position: absolute !important;top: inherit !important;left: 100% !important;margin: 0 !important; }
@media only screen and (max-width: 992px ){ .sub-dropdown { position:relative !important; left: 0 !important; width: 100%; }}

.round-top { border-radius: 5px 5px 0 0 !important; }
.border { border: 1px solid gray !important; }

/*** bootstrap overrides  */

.spinner-border {width :6rem; height: 6rem; border-width:10px; color: darkorange; }

label {
    margin-bottom: 0.25rem;
}

.h1{
    font-size:1.5rem;
}

.h3{
    font-size:1.2rem;
}

.h4{
    font-size:1rem;
}

.btn-outline-light {
    border-color: #ced4da;
    color: #495057;
}

.table thead th
{
    border-bottom-style:none;
}

.table td, .table th
{
    border-top-style:none;
}

.table thead{
    border-bottom-style:solid;
    border-bottom-color:#cccccc;
}

.table tfoot {
    border-top-style: solid;
    border-top-color: #cccccc;
}


.btn{
    font-size:inherit;
}

.dropdown-menu{
    font-size:inherit;
}
.form-control{
    font-size:inherit;
}

.form-control-sm {
    height: 24px;
    padding: .05rem .25rem;
    line-height: 1;
}

.form-control-nowidth{
    width:100%;
}

.form-control-autowidth{
    width:auto;
}

.input-group-text {
    padding: .0rem .5rem;
}

.card-header {
    padding: 0.75rem;
}
.card-body{
    padding:0.75rem;
}

.card-body-fullwidth{
    padding-left:0;
    padding-right:0;
}
.card-footer {
    padding: 0.75rem;
}

.bg-danger {
    background-color: #f8d7da !important; 
}

.large-blue-text{
    font-size:large;
    font-weight:bold;
    color: royalblue;
}

.legacy-font {
    font-family: 'Courier New', Courier, monospace; /* This font is typically associated with legacy data systems */
    font-size: 1rem; /* Adjust size as needed */
}

input[type=checkbox].bg-danger { box-shadow: 0 0 0 5px #f8d7da; }

.nav-tabs{
    border-bottom-color:beige;
    border-bottom-width:5px;
    width: 100%;
}

    .nav-tabs .nav-link {
        border-top-color: rgb(222, 226, 230);
        border-right-color: rgb(222, 226, 230);
        border-bottom-color: rgb(222, 226, 230);
        border-left-color: rgb(222, 226, 230);
        background-color: white;
        border-top-left-radius: .5rem;
        border-top-right-radius: .5rem;
    }

.nav-tabs .nav-link.active{
    background-color:beige;
    border-bottom:none;
}

.nav-tabs-folder {
    width: auto;
    border-bottom-width: 0px;
    border-bottom-color: rgb(222, 226, 230);
}
    /*************/
    .bg-grid-disabled {
        background-color: #949494 !important;
        color: lightgray;
        border: none;
        -webkit-appearance: none;
        appearance: none;
        -moz-appearance: none;
    }

bg-grid-disabled select::-ms-expand {
    display:none;
}


.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 43px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

.info_table {
    background-color: WhiteSmoke;
}

.info_table tr td{
    border-color:white;
    border-style:solid;
    border-width:1px;
}

.popover {
    max-width: 600px;
    background-color: #FFF2CC;
}
        /*  custom styles*/
.contentIframe {
    width: 100%;
    border: none;
}

.colorConetYellow {
    color: #f5cf0f;
}

.colorConetRed{
    color: #ff2000;
}

.nodeco a, a:link, a:hover, a:focus, a:active ,a:visited{
    text-decoration: none;
    color: inherit;
}

#actionMenu ul > li {
    border-bottom: 1px solid #e2e2e2 !important;
    padding: 4px 12px;
    cursor: pointer;
}

#actionMenu ul > li:hover { background-color: #b1b1b1; }
#actionMenu ul > li > label { cursor: pointer; font-weight: 500; }
#actionMenu ul > li:last-child { border-bottom: none !important; }

.prints {
    padding: 10px;
    position: absolute;
    border: 1px solid #929292;
    background-color: white;
    z-index:2;
    top: 0;
    transform: translate(-37%,-100%);
    border-radius: 4px;
    display: flex;
}

.print > a> img{
    width: 50px;
    box-shadow: 0 0 5px 2px lightgrey;
    border-radius: 4px;
}

.scaleable { transition: all .1s;}
.scaleable:hover { transform: scale(1.025);}

.bg-header{
    background-color:#DDDDDD;
}
        
.fa-1\.7x { font-size: 1.7em;}

.bounce 
{
    animation: bounce 1s infinite;
    -webkit-animation: bounce 1s infinite;
    -moz-animation: bounce 1s infinite;
    -o-animation: bounce 1s infinite;    
}

@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);}
    40% {-webkit-transform: translateY(-30px);}
    60% {-webkit-transform: translateY(-15px);}
}

@-moz-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
    40% {-moz-transform: translateY(-30px);}
    60% {-moz-transform: translateY(-15px);}
}

@-o-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
    40% {-o-transform: translateY(-30px);}
    60% {-o-transform: translateY(-15px);}
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-30px);}
    60% {transform: translateY(-15px);}
}






.switch > .custom-control-label {
    padding-left: 1.2rem;
    padding-top: 0.2rem;
    font-size: 1rem !important;
}

/* Sync the animation for switch knob */

.switch > .custom-control-input:checked ~ .custom-control-label::after {
    -webkit-transform: scale(1.5) translateX(0.7rem);
    transform: scale(1.5) translateX(0.7rem);
   
}

.switch > .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #f5cf0f !important;
}

/* Enlarge and position the switch knob */

.switch > .custom-control-label::after {
    left: -1.5rem;
    transform: scale(1.5);
}

/* Enlarge and position the switch socket */

.custom-switch > .custom-control-label::before {
    left: -1.50rem;
    transform: scale(1.5);
}

/* jqueryui datepicker size*/
div.ui-datepicker {
    font-size: 130%;
}


.progress-circle {
    width: 150px;
    height: 150px;
    background: conic-gradient(#28a745 calc(var(--percentage) * 1%), #ddd 0);
    border-radius: 50%;
    position: relative;
}

    .progress-circle::after {
        content: attr(data-percentage) '%';
        font-size: 20px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #333;
    }

