﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    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;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--color-secondary-0);
}

.dropdown-item.active, .dropdown-item:active{
    background-color: var(--color-primary);
}
.accordion-button.collapsed{
    color: var(--color-primary);
}
    .accordion-button::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='rgba(18,113,121,1)' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
    }
.accordion-button:focus {
    box-shadow: none;
}
.accordion-button:not(.collapsed){
    color: white !important;
    background-color: var(--color-secondary-1);
}
    .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
    }
    /*===============================================================================*/
    :root {
        --color-primary: #127179;
        --color-secondary-0: #397f93;
        --color-secondary-1: #11a2a5;
        --color-neutral: #F0F0F2;
    }

@font-face {
    font-family: 'poppins-regular';
    src: url('fonts/poppins-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'nunito-variablefont_wght';
    src: url('Fonts/nunito-variablefont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'sansation-bold';
    src: url('fonts/sansation-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'ds-digi';
    src: url('fonts/ds-digi.ttf') format('truetype');
}

body {
    font-family: poppins-regular;
    background-color: var(--color-neutral);
}

.body-container {
    z-index: 2;
    box-shadow: -5px 0 3px 0 rgba(0,0,0,.3);
    height: 100vH;
    overflow-y: auto;
    padding-bottom: 50px;
    /*    background: linear-gradient(45deg, white 40%,var(--color-secondary-0));*/
}

.modal-backdrop {
    z-index: 3;
}

.modal {
    z-index: 4;
}

textarea {
    resize: none;
}

.btn.btn-login {
    color: #ffffff;
    background-color: #132937;
    border-color: #132937;
}

.mainmenu-notif-count > div {
    position: absolute;
    top: 2px;
    right: -2px;
    padding: 1px 7px;
    border-radius: 50%;
    background: red;
    color: white;
}

.submenu-notif-count > div {
    width: 25px;
    height: 25px;
    padding: 1px 7px;
    border-radius: 50%;
    background: red;
    color: white;
}

.notification {
    color: white;
    text-decoration: none;
    padding: 15px 26px;
    position: relative;
    display: inline-block;
    border-radius: 2px;
}

    .notification .badge {
        position: absolute;
        right: 0px;
        padding: 5px 7px;
        border-radius: 50%;
        background: red;
        color: white;
    }

.card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
}

    /* On mouse-over, add a deeper shadow */
    .card:hover {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    }

/* Add some padding inside the card container */
#login-container {
    border-radius: 15px;
    width: 700px; /* Can be in percentage also. */
    min-height: 330px;
    max-height: 400px;
    margin: 0 auto;
    margin-top: 10%;
    position: relative;
    background-color: rgba(255,255,255,0.5);
    color: var(--color-primary);
    font-weight: bold;
}

.credential-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0px 15px 15px 0px;
    height: 100%;
    padding: 50px;
}

.login-title {
    font-size: 25px;
}

.required:after {
    content: "*";
    color: red;
}

.inner-addon {
    position: relative;
}

    /* style icon */
    .inner-addon .glyphicon {
        position: absolute;
        padding: 7px 10px;
        pointer-events: none;
    }

/* align icon */
/*.left-addon .glyphicon  { left:  0px;}
.right-addon .glyphicon { right: 0px;}*/

/* add padding  */
.left-addon input {
    padding-left: 30px;
}

.right-addon input {
    padding-right: 30px;
}

fieldset {
    padding: 10px;
    border: 0.5px solid #c8c7c7;
    border-radius: 5px;
    margin-bottom: 20px;
}

input[type="button"]:focus {
    outline: none;
}

.btn:focus {
    outline: none;
}

h2 {
    color: var(--color-secondary-1);
    font-family: sansation-bold;
}

span.span-100 {
    display: block;
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

span.span-120 {
    display: block;
    width: 120px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card {
    background-color: white;
    box-shadow: -2px 3px 5px 0 rgba(0, 0, 0, .20);
}

.circle-w-label {
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    min-width: 40px;
    text-align: center;
}

    .circle-w-label .btn-circle {
        border-radius: 50%;
        width: 25px;
        height: 25px;
        padding: 0;
    }

    .circle-w-label label {
        margin: 3px;
        font-size: 10px;
    }

.modal-dialog {
    max-width: 600px;
}

.overbreak-modal {
    max-width: 80vW;
}

#overbreak-tbody tr {
    vertical-align: middle;
}

.top-label-container {
    display: flex;
    flex-direction: column;
    padding: 5px;
}

    .top-label-container label {
        font-size: 12px;
        color: var(--color-primary);
        font-weight: bold;
    }

.btn-link {
    padding: 5px 0 !important;
}

.btn-primary {
    color: white;
    background-color: var(--color-primary) !important;
    border: 1px solid var(--color-primary) !important;
}

    .btn-primary:hover {
        background-color: var(--color-secondary-0) !important;
        color: white !important;
        border: 1px solid var(--color-secondary-0) !important;
    }

.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active {
    color: white;
    background-color: var(--color-secondary-1) !important;
    box-shadow: inset 0 0 20px #076a72;
}

.btn-secondary {
    color: var(--color-primary) !important;
    background-color: white;
    border-color: var(--color-primary) !important;
}

    .btn-secondary:hover, .btn-secondary.selected {
        color: white !important;
        background-color: var(--color-secondary-0) !important;
        border: 1px solid var(--color-secondary-0) !important;
    }

.required::after {
    content: "*";
    color: red;
}

@media (min-width: 576px) {
    .navbar-expand-sm {
        height: 100vH !important;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nextvas-logo {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 150px !important;
    }
}

textarea {
    resize: none;
}

.row {
    margin-right: unset;
}

    .row > * {
        padding-right: unset;
    }


.profile-pic {
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    height: 100px;
    border: 1px solid var(--color-secondary-0);
    margin-bottom: 20px;
    background-image: url('images/defaultuserimg.jpg');
    background-size: cover;
}

.user-name {
    color: white;
    width: 200px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar {
    background: linear-gradient(#132937, var(--color-primary));
    /*background: linear-gradient(var(--color-primary), var(--color-secondary-1));*/
}

.error {
    color: red !important;
}

.greeting {
    color: #555454;
}

.card-header {
    color: white;
    background-color: var(--color-primary);
    font-size: 18px;
}

.navbar .nav-link {
    color: white;
    font-size: 14px;
    padding-top: 4px;
    padding-bottom: 4px;
}

    .navbar .nav-link:hover {
        color: var(--color-neutral);
        font-size: 15px;
    }

    .navbar .nav-link:focus {
        color: white;
    }

.li-dropdown-item > .nav-link {
    padding-top: 2px;
    padding-bottom: 2px;
}

.li-dropdown::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.1em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.li-dropdown.open::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.1em;
    content: "";
    border-bottom: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-top: 0;
    border-left: 0.3em solid transparent;
}

hr {
    border-color: var(--color-primary);
    opacity: 1;
}

.li-dropdown-item {
    display: none;
}

    .li-dropdown-item.visible {
        margin-left: 20px;
        display: inline-block !important;
    }

.bootstrap-select .dropdown-toggle:focus, .bootstrap-select > select.mobile-device:focus + .dropdown-toggle {
    outline: unset !important;
}

.table-responsive {
    padding: 5px;
    min-height: 30VH;
    margin-bottom: 20px;
}

    .table-responsive::-webkit-scrollbar {
        border-radius: 10px;
        height: 8px;
        background: rgba(18, 113, 121, 0.5);
    }

    .table-responsive::-webkit-scrollbar-thumb {
        background: var(--color-primary);
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    }

.control-label {
    margin-top: 5px;
}

.maintenance-table {
    margin-top: 10px;
    margin-bottom: 20px;
    border-spacing: 0px;
    width: 100%;
    box-shadow: -2px 3px 5px 0 rgba(0, 0, 0, .20);
    background: #fff;
    transition: all .5s;
    border-radius: 10px;
}

    .maintenance-table td, .maintenance-table th {
        padding: 10px 5px;
        white-space: nowrap;
    }

    .maintenance-table thead {
        /*background: linear-gradient(#132937, #0b8489);*/
        background: linear-gradient(rgb(35,119,127), rgba(35,119,127, .8));
        border-radius: 10px 10px 0 0;
    }

        .maintenance-table thead tr {
            border-radius: 10px 10px 0 0;
        }

        .maintenance-table thead th {
            color: #fff;
            font-size: 13px;
        }

            .maintenance-table thead th:first-of-type {
                border-radius: 10px 0 0 0;
            }

            .maintenance-table thead th:last-of-type {
                border-radius: 0 10px 0 0;
            }


    .maintenance-table tbody td {
        font-size: 13px;
        border-top: 1px solid #f0f0f0;
        padding: 5px;
    }

    .maintenance-table tbody tr:hover {
        background: rgba(123, 153, 218, .1);
    }

fieldset, legend {
    all: revert;
}

legend {
    color: var(--color-primary);
}

fieldset {
    padding: 10px;
    border: 0.5px solid var(--color-primary);
    border-radius: 5px;
    margin-bottom: 20px;
}

input[type="button"]:focus {
    outline: none;
}

input.list-search {
    width: 100%;
    max-width: 400px !important;
    display: inline-block;
    padding-left: 40px;
    background: white url('../../Content/images/glass_13.png') no-repeat 13px center;
}

.jconfirm .jconfirm-box.jconfirm-type-purple, .jconfirm-box.jconfirm-type-blue {
    border-top: solid 7px var(--color-secondary-1) !important;
}

.form-check-input:checked {
    color: var(--color-primary);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

input.check-box {
    width: 20px;
    height: 20px;
}

#ajaxBusy {
    display: none;
    margin: 0;
    position: absolute;
    width: 100vW;
    height: 100%;
    background-color: rgba(187, 180, 180, 0.1);
    z-index: 999;
}

    #ajaxBusy img {
        margin-left: 45%;
        margin-top: 10%;
        width: 10%;
        opacity: 0.4;
    }

.overbreak-alert {
    z-index: 3;
    position: absolute;
    right: 30px;
    top: 20px;
    width: 50px;
    height: 50px;
    background: url(/content/images/notif.gif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90px;
    border-radius: 50%;
    cursor: pointer;
}
/*=====================================================================================================================================*/

.badge-approved, .badge-completed, .badge-submitted {
    background-color: #5cb85c;
}

.badge-rejected {
    background-color: #d9534f;
}

.badge-hrapproval, .badge-forapproval, .badge-initialapproval, .badge-fordecision, .badge-omapproval {
    background-color: var(--color-primary);
}

.badge-finalapproval, .badge-pendingexplanation, .badge-pending, .badge-foracknowledgement, .badge-pending, .badge-forcoaching {
    background-color: #f0ad4e;
}

.pagination-div .btn:not(.btn-pagination) {
    width: 30px;
    border-radius: 50%;
    height: 30px;
    padding: unset;
    text-align: center;
}

.pagination-div .btn.btn-default:not(.btn-pagination) {
    box-shadow: none;
    cursor: default;
    border: 1px solid var(--color-primary);
}

.pagination-div .btn-pagination {
    font-size: 12px;
    padding: 5px;
    width: 80px;
}

.maintenancetable-page-label {
    color: #908d8dd6;
}

.maintenance-table a {
    font-weight: bold;
    color: var(--color-primary);
    text-decoration: none;
}

    .maintenance-table a:before {
        content: "🔗";
    }

    a, .btn-link{
        color: var(--color-primary);
        text-decoration: none;
    }
    a:hover, .btn-link:hover {
        color: var(--color-secondary-0);
    }
    .btn-link:before {
        content: "🔗";
    }
    a.redirect::after {
        content: "\2192";
        font-size: 20px;
    }
    a.redirect::before {
        content: "\291A";
        font-size: 20px;
    }
label.input-label {
    font-size: 12px;
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-toggler {
    border: none;
    box-shadow: 2px 3px 4px 1px;
}

    .navbar-toggler:focus {
        box-shadow: 2px 3px 4px 1px;
    }

    .navbar-toggler:not(.collapsed):focus {
        box-shadow: 2px 2px 4px 1px inset;
    }
.maxwidth-form-control{
    max-width: unset !important;
}
