@import url('https://fonts.googleapis.com/css?family=Numans');

html {
    font-size: 11px;
    position: relative;
    min-height: 100%;
    font-family: 'Numans', sans-serif;
}

@media (min-width: 768px) {
    html {
        font-size: 12px;
        position: relative;
        min-height: 100%;
        font-family: 'Numans', sans-serif;
    }

    body {
        margin-bottom: 60px;
    }

    .bg-login-image {
        background: url("../img/ssa-logo.png") no-repeat center center;
        background-size: contain; /* Keep full image visible */
        background-attachment: local; /* or remove if not needed */
        background-position: center;
        background-color: #fff; /* optional fallback */
    }

    .bg-register-image {
        background: url("../img/ssa-logo.png") no-repeat center center;
        background-size: contain; /* Keep full image visible */
        background-attachment: local; /* or remove if not needed */
        background-position: center;
        background-color: #fff; /* optional fallback */
    }

    .bg-password-image {
        background: url("../img/forgotpwd.png");
        background-position: center;
        background-size: cover;
    }

    .bg-changepassword-image {
        background: url("../img/changepwd.jfif");
        background-position: center;
        background-size: cover;
    }

    btn {
        width: 220px;
    }

    form.user .custom-checkbox.small label {
        line-height: 1.5rem;
    }

    form.user .form-control-user {
        font-size: 1.0rem;
        border-radius: 10rem;
        padding: 0.5rem 1rem;
    }

    /*nbc*/
    form.user .form-select-user {
        font-size: 1.0rem;
        border-radius: 10rem;
        padding: 0.5rem 1rem;
    }

    form.user .btn-user {
        font-size: 1.0rem;
        border-radius: 10rem;
        padding: 0.50rem 1rem;
        width: 100%;
    }

    form.user .ddl-user {
        font-size: 1.0rem;
        border-radius: 10rem;
        padding: 0.40rem 1rem;
        width: 100%;
    }



    .card-header {
        color: darkmagenta;
        font-weight: bold;
    }

    .error {
        color: #5a5c69;
        font-size: 7rem;
        position: relative;
        line-height: 1;
        width: 12.5rem;
    }

    label {
        font-size: 1rem;
        line-height: 1.5;
        color: teal;
        font-weight: bold;
    }

    .login-container {
        /* height: 100vh; */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dropdown-submenu {
        position: relative;
    }

        .dropdown-submenu a::after {
            transform: rotate(-90deg);
            position: absolute;
            right: 6px;
            top: .8em;
        }

        .dropdown-submenu .dropdown-menu {
            top: 0;
            left: 100%;
            margin-left: .1rem;
            margin-right: .1rem;
        }

    .footer {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        color: white;
        text-align: center;
        line-height: 30px;
        white-space: nowrap;
        background: linear-gradient(to left, #28340B, #197696);
    }

    .scrollme {
        overflow-x: auto;
    }

    .containerMy {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .drop-down02 {
        position: relative;
    }

        .drop-down02 .sub-menu02 {
            position: absolute !important;
            left: 100%;
            top: 0;
        }

        .drop-down02 .dropdown-toggle {
            padding: .25rem 1.1rem !important;
        }

    @media screen and (max-width :767px) {
        .drop-down02 .sub-menu02 {
            position: static !important;
        }
    }


    /* Change input control border color */
    .form-control, .input-group-text {
        border: 1px solid #0080ff;
        /*border: 1px solid #807d00;*/
    }

    .form-select, .input-group-text {
        border: 1px solid teal;
        /*border: 1px solid #807d00;*/
    }

    /*preloader Start*/
    #preloader {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 999999;
        /*background: #ac8e8e;*/
        background-color: rgba(0,0,255,0.3);
    }

    .loader {
        width: 40px;
        height: 40px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -13px;
        margin-left: -13px;
        border-radius: 60px;
        animation: loader 0.8s linear infinite;
        animation: spin 2s linear infinite;
        -webkit-animation: loader 0.8s linear infinite;
    }

    @keyframes loader {
        0% {
            -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
            border: 4px solid #f44336;
            border-left-color: transparent;
        }

        50% {
            -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
            border: 4px solid #673ab7;
            border-left-color: transparent;
        }

        100% {
            -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
            border: 4px solid #f44336;
            border-left-color: transparent;
        }
    }

    @-webkit-keyframes loader {
        0% {
            -webkit-transform: rotate(0deg);
            border: 4px solid #f44336;
            border-left-color: transparent;
        }

        50% {
            -webkit-transform: rotate(180deg);
            border: 4px solid #673ab7;
            border-left-color: transparent;
        }

        100% {
            -webkit-transform: rotate(360deg);
            border: 4px solid #f44336;
            border-left-color: transparent;
        }
    }

    .hide {
        display: none;
    }

    .table-condensed {
        font-size: 10px;
    }
}

.centered {
    position: fixed;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    /*   font-size: 20px; */
    /*  background-color: cyan;*/
    /* border: darkgreen 1px solid; */
    padding: 5px;
    z-index: 100;


   /* min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;*/
}


.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .login-container h2 {
        text-align: center;
        margin-bottom: 20px;
    }


.table-container {
    max-height: 600px;
    overflow-y: auto;
    position: relative;
}

table {
    border-collapse: collapse;
}

th,
td {
    padding: 1rem;
}

thead,
tfoot {
    background: #eee;
}

thead {
    position: sticky;
    top: 0;
    border-bottom: 2px solid #ccc;
}

tfoot {
    position: sticky;
    bottom: 0;
    border-top: 2px solid #ccc;
}

.fixed-header-table {
    max-height: 520px;
    overflow-y: auto;
}

.fixed-header-table thead th,
.fixed-header-table thead td {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #f8f9fa;
}

/*.big-shadow {   
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.50);
    border-radius: 25px;
    overflow: hidden;
}*/

.big-shadow {
    border-radius: 50px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 119, 182, 0.25), 0 40px 90px rgba(0, 70, 140, 0.20);
    transition: 0.3s ease-in-out;
}

/* .big-shadow:hover {
    transform: translateY(-4px);
}*/

