﻿body {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url(/Images/clock-close.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/


.navbar-brand-restyle {
    font-weight: bold;
    border-bottom: 1px solid #333;
    font-size: 1.2em;
}

.dataTables_wrapper {
    padding: unset !important;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0px;
    font-size:14px;
}

.dataTables_filter, .dataTables_length {
    font-size: 14px;
}

.selectSystemCard {
    cursor: pointer;
}

    .selectSystemCard:hover {
        background-color: #eee;
    }

@media only screen and (max-width: 576px) {
    .navbar-brand-restyle img{
        width: 230px;
    }
}

a.nav-drop {
    color: #fff;
}

a.nav-drop:hover{
    color:#333;
}

.selectize-input {
    height: calc(1.5em + 0.5rem + 2px) !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    border-radius: 0.2rem !important;
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.selectize-control.single .selectize-input:after {
    right: 6px !important;
    border-width: 6px 3px 0 3px !important;
    border-color: #212529 transparent transparent transparent !important;
}

.selectize-control.single .selectize-input.dropdown-active:after {
    right: 6px !important;
    border-width: 0px 3px 6px 3px !important;
    border-color: transparent transparent #212529 transparent !important;
}

.dt-button{
    display:none !important;
}
.text-primary {
    color: #5a87b7 !important;
}
.bg-primary, .btn-primary {
    background-color: #5a87b7 !important;
    border-color: #5179a4 !important;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        background-color: #486c92 !important;
        border-color: #3e5e80 !important;
    }
.border-primary {
    border-color: #5179a4 !important;
}

.paginate_button a.page-link {
    color: #5a87b7 !important;
}

.paginate_button.active a.page-link {
    background-color: #5a87b7 !important;
    border-color: #5179a4 !important;
    color: #fff !important;
}

a.dtable-link {
    color: #5a87b7 !important;
}

    a.dtable-link:hover, a.dtable-link:focus, a.dtable-link:active {
        color: #486c92 !important;
    }

.modal-header {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
}

.modal-footer {
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.selectize-input.disabled.locked {
    background-color: #e9ecef !important;
    opacity: 1 !important;
}

.btn-modal-footer{
    width: 70px;
}

a.tab-link {
    color: #5a87b7 !important;
}

    a.tab-link:hover, a.tab-link:focus, a.tab-link:active {
        color: #486c92 !important;
    }

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: #495057 !important;
}

table.dataTable > thead > tr > th {
    font-size: 11px;
}

table.dataTable > tbody > tr > td {
    font-size: 11px;
}

.paginate_button {
    font-size: 11px;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before {
    top: 5px !important;
    height: 13px !important;
    width: 13px !important;
}

button, [type="button"], [type="reset"], [type="submit"] {
     -webkit-appearance: none; 
}

table.dataTable {
    border-collapse: collapse !important;
}

.selected-requests-rows{
    background-color: lightblue;
}

.col-form-label-sm {
    font-size: 0.860rem !important;
}
.nav-link-v {
    color: #6c757d;
}
    .nav-link-v.active {
        text-decoration: underline;
        color: #5a87b7;
    }

fieldset.form-fildset {
    border: 1px solid #ced4da !important;
    border-radius:0.2em;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    padding: 0 1em 0.5em 1em !important;
    margin: 0 0 1em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}

legend.form-fildset {
    font-size: 1em !important;
    /*font-weight: bold !important;*/
    text-align: left !important;
    width: auto;
    padding: 0 10px;
    border-bottom: none;
    color: #212529;
}

tr.group {
    background-color: #6c757d !important;
    color: #fff !important
}

@font-face {
    font-family: 'digital-7';
    src: url('../fonts/digital-7.ttf');
}

/* Registration page — keep layout within the viewport */
body.registration-page {
    overflow-x: hidden;
    max-width: 100vw;
}

body.registration-page .body-content {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 12px;
    padding-right: 12px;
}

body.registration-page .navbar,
body.registration-page footer {
    width: 100% !important;
    max-width: 100vw;
}

.registration-dashboard {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 8px 0 32px;
    box-sizing: border-box;
}

.registration-panel {
    width: 100%;
}

.registration-employee {
    margin-bottom: 16px;
}

.registration-employee-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.registration-employee-name {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 8px;
}

.registration-clock-wrap {
    width: 100%;
    max-width: 100%;
    margin: 8px auto 28px;
    padding: 0 8px;
    overflow: hidden;
    box-sizing: border-box;
}

.registrationclock {
    color: #000000;
    font-family: 'digital-7', sans-serif;
    font-size: clamp(1.35rem, 6.5vw, 2.75rem);
    line-height: 1.25;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

.registration-events {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 8px 12px;
    box-sizing: border-box;
}

.registration-event-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.35;
    padding: 18px 20px;
    margin: 0 0 36px 0 !important;
    text-align: center;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    min-height: 60px;
}

.registration-event-btn:last-child {
    margin-bottom: 0 !important;
}

.registration-event-btn.btn-success {
    color: #fff !important;
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.registration-event-btn.btn-danger {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.registration-event-btn:hover,
.registration-event-btn:focus {
    opacity: 0.92;
    text-decoration: none !important;
}

.registration-admin-alert {
    margin: 20px 8px 0;
    text-align: left;
}

.registration-back-wrap {
    margin-top: 56px;
    text-align: center;
}

.registration-back-btn {
    min-width: 120px;
}

@media (max-width: 575.98px) {
    .registration-employee-name {
        font-size: 1.35rem;
    }

    .registrationclock {
        font-size: clamp(1.2rem, 7vw, 1.85rem);
    }

    .registration-events {
        max-width: 100%;
        padding: 4px 4px;
    }

    .registration-event-btn {
        font-size: 1.05rem;
        padding: 18px 14px;
        margin-bottom: 40px !important;
        min-height: 62px;
    }

    .registration-event-btn:last-child {
        margin-bottom: 0 !important;
    }

    .registration-back-wrap {
        margin-top: 64px;
    }
}

@media (min-width: 992px) {
    .registration-dashboard {
        max-width: 840px;
    }

    .registration-events {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 760px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 12px 16px;
    }

    .registration-event-btn {
        width: auto;
        margin: 24px !important;
        font-size: 1.15rem;
        min-height: 64px;
        padding: 20px 22px;
    }

    .registration-event-btn:last-child {
        margin: 24px !important;
    }

    .registration-back-wrap {
        margin-top: 64px;
    }
}