﻿.login-page .cover-image {
    background-size: cover;
    background: url(/assets/images/hrm-login.jpg);
    background-position: center;
    height: 100%;
}
.container-full-width {
    position: absolute;
    height: 100%;
    background: rgba(39, 46, 66, 0.858);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem;
    width: 100%;
}

.custom-login-container {
    height: 100%;
}

.customlogin-imgcontent {
    top: auto;
}

.app-sidebar {
    background: #343D46;
}

.emp-details-process {
    margin-bottom: 1.5rem;
}

@media (min-width:992px) {
    .custom-login-container {
        display: flex;
        width: 100vw;
        height: 100vh;
        align-items: center;
        justify-content: center;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .customlogin-content {
        padding: 5rem;
    }
    /* --- end of custom style --- */
    .container:not(.container-full-width) {
        max-width: 960px;
    }
}
@media (min-width:1280px) {
    /* --- start of custom style --- */
    .container:not(.container-full-width) {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .custom-login-img-container {
        display: none;
    }
}

@media screen and (max-width: 1279px) {
    .quote-card {
        margin-bottom: 1.25rem;
    }

    .carousel-item img {
        width: 100%;
    }
}

@media screen and (max-width: 790px) {
    .work_timer1 {
        text-align: center;
        margin-top: 2px;
        margin-left: 3px;
    }
}

@media screen and (max-width: 1263px) {
    .row, .custom-col {
        margin-bottom: 1.25rem;
    }
}

.header-brand-img {
    max-width: 80%;
}

.welcome-card {
    background: linear-gradient(75deg, var(--primary), #007bff9a);
    height: 100%;
}

.welcome-card .col-4 {
    text-align: right;
}

.welcome-card .row {
    align-items: center;

}

.stretch-card {
    height: 100%;
}

.quote-card {
    background-color: #343d46;
    border-radius: 13px;
    margin-bottom: 0px;
    height: 100%;
}

.clock-card {
    height: 100%;
    text-align: center;
    justify-content: center;
    position: relative;
}

.carousel {
    border-radius: 13px;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.welcome-row {
    align-items: stretch;
    margin-bottom: 1.25rem;
}

.carousel-inner {
    background: white;
    position: relative;
}

    .carousel-inner,
    .carousel-inner a,
    .carousel img {
        height: 100%;
    }

.less-margin-title {
    margin: 0rem 0rem 0.4rem 0rem;
}

.last-col {
    margin-bottom: 1.25rem;
}

.no-border {
    border: 0px;
}

.more-margin {
    margin-bottom: 3.0rem;
}

#in-out {
    display: flex;
    align-items: center;
}

.progress {
    height: 7px;
}

#videoElement {
    height: 250px;
    border-radius: 15px;
    border: 4px solid hotpink;
}

.breadcrumb-right .sm-btn-list {
    display: none;
}

#hour, #minute, #second {
    position: absolute;
    background-color: #353a40;
    border-radius: 30px;
    transform-origin: bottom;
}

#hour {
    height: 35px;
    width: 4px;
    top: calc(50% - 17.5px - 20px);
    z-index: 99;
    left: calc(50% - 2px);
}

#minute {
    height: 50px;
    width: 3px;
    top: calc(50% - 25px - 25px);
    left: calc(50% - 1.5px);
    z-index: 99;
}

#second {
    background-color: burlywood;
    height: 60px;
    width: 2px;
    top: calc(50% - 30px - 30px);
    left: calc(50% - 1.5px);
    z-index: 100;
}

#early-bar:hover {
    background-color: #ffc1078f;
}

#late-bar:hover, #early-bar:hover, #current-bar:hover, #overtime-bar:hover {
    opacity: 0.7;
}

.app-header .custom-switch-indicator {
    background: #e83e8c;
}

.app-header .custom-switch-description {
    color: #313e6a;
}

.leave-dates {
    display: flex;
    justify-content: space-between;
}

input[type='color'] {
    -webkit-appearance: none;
    border-radius: 5px;
    border: none;
    outline: none;
}

#allowancemodal .custom-control-label-md::before {
    left: -0.3rem;
}

.shadow-card {
    box-shadow: 0 .15rem 1.75rem 0 rgba(196, 205, 224, 0.397);
}

.no-shadow {
    box-shadow: 0 0 0 0;
}

.card-right-icon {
    align-self: start;
    justify-self: flex-end;
    flex: 1;
    text-align: right;
}

.payroll-card {
    border-top-left-radius: 50px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 50px;
    padding: 20px;
}

.payroll-percent {
    border-top-left-radius: 30px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 30px;
}

.attendance-payroll-card {
    border: 2px solid #aa4cf2;
}

.payroll-percent {
    padding: 20px;
}

.attendance-payroll-card .payroll-percent {
    background-color: #aa4cf2;
}

.deductions-payroll-card {
    border: 2px solid #fe7f00;
}

    .deductions-payroll-card .payroll-percent {
        background-color: #fe7f00;
    }

.additions-payroll-card {
    border: 2px solid #17a2b8;
}

    .additions-payroll-card .payroll-percent {
        background-color: #17a2b8;
    }

.locked-payroll-card {
    border: 2px solid #fbc518;
}

.locked-payroll-card .payroll-percent {
    background-color: #fbc518;
}

.input-validation-error {
    border-color: #f7284a;
}

.input-validation-error span {
    margin-top: 10px;
}

.field-validation-error span{
    padding-top: 5px;
}

#hr-table .dataTables_info {
    margin: 2rem;
}

.state-valid .select2-selection__rendered {
    border: 1px solid #0dcd94;
    border-radius: 5px;
}

.is-invalid .select2-selection__rendered {
    border: 1px solid #dc3545;
    border-radius: 5px;
}

/* ===== Login animation ===== */
.wrapper {
    position: absolute;
    overflow: hidden;
    z-index: 11111;
}

.box div {
    position: fixed;
    width: 60px;
    height: 60px;
    box-shadow: 0 0 10px white;
    background-color: transparent;
}

.box div:nth-child(1) {
    top: 5%;
    left: 20%;
    animation: animate 10s linear infinite;
}

.box div:nth-child(2) {
    top: 50%;
    left: 5%;
    animation: animate 7s linear infinite;
}

.box div:nth-child(3) {
    top: 17%;
    left: 6%;
    animation: animate 9s linear infinite;
}

.box div:nth-child(4) {
    top: 20%;
    left: 60%;
    animation: animate 10s linear infinite;
}

.box div:nth-child(5) {
    top: 85%;
    left: 10%;
    animation: animate 7s linear infinite;
}

.box div:nth-child(6) {
    top: 80%;
    left: 70%;
    animation: animate 12s linear infinite;
}

.box div:nth-child(7) {
    top: 60%;
    left: 40%;
    animation: animate 15s linear infinite;
}

.box div:nth-child(8) {
    top: 32%;
    left: 25%;
    animation: animate 16s linear infinite;
}

.box div:nth-child(9) {
    top: 90%;
    left: 25%;
    animation: animate 9s linear infinite;
}

.box div:nth-child(10) {
    top: 3%;
    left: 44%;
    animation: animate 5s linear infinite;
}

@keyframes animate {
    0% {
        transform: scale(0) translateY(0) rotate(0);
        opacity: 1;
    }

    100% {
        transform: scale(1.3) translateY(-90px) rotate(360deg);
    }
}

@media screen and (max-width: 768px) {
    #birthday-card {
        height: 350px;
        width: 100%;
        margin-top: 1.25rem;
    }
}

#bd-container:before {
    margin-top: 3rem!important;
    margin-bottom: 3rem!important;
}