:root{
    --link-color:#0d6efd;
    --black-color:#000;
    --done:#2bd42b;
    --table-od:#f0f5fa;
}
a{
    text-decoration: none;
    color: var(--link-color);
}
main > .container {
    padding: 30px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px var(--link-color);
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px var(--link-color);
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

#mobile-phone{
    pointer-events: none;
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translate(50%,50%);
    opacity: 0;
    transition: top .5s, opacity 1s;
    z-index: 9999;
}
#mobile-phone.open {
    top: 0;
    opacity: 1;
    pointer-events: auto;
    overflow: hidden;
}
.missing-calls_status.active ~ .close-button{
    display: none;
}
.phone .close-button {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    position: absolute;
    overflow: hidden;
    top: 15px;
    right: 15px;
    background: transparent;
    border-radius: 50%;
    animation: 2s rollin-close ease-in-out;
    padding: 0;
    margin: 0 auto;
    border: none;
    outline: none;
    z-index: 99;
    font-size: 30px;
}
.iphone {
    position: relative;
    margin: 40px auto;
    width: 250px;
    height: 500px;
    background-color: #7371ee;
    background-image: linear-gradient(60deg, #7371ee 1%, #a1d9d6 100%);
    border-radius: 40px;
    box-shadow: 0px 0px 0px 4px #1f1f1f, 0px 0px 0px 8px #191919, 0px 0px 0px 10px #111;
    padding-top: 40px;
}

.iphone .micro-top {
    top: -5px;
    left: 50%;
    transform: translate(-50%, 6px);
    height: 8px;
    width: 15%;
    background-color: #101010;
    border-radius: 8px;
    box-shadow: inset 0px -3px 3px 0px rgba(255, 255, 255, 0.2);
    z-index: 999;
}
.iphone .column-buttons{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.iphone #showPicked{
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top:0;
    font-size: 20px;
}
.missing-calls.iphone #showPicked{
    top: 40px;
}
.iphone #end{
    margin: 0;
    padding: 5px;
}
.iphone #call,
.iphone #delete,
.iphone #end {
    display: flex;
    min-height: 35px;
    min-width: 35px;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    box-shadow: none;
}
.iphone #call:hover,
.iphone #delete:hover,
.iphone #end:hover{
    opacity: .6;
    border: none;
    outline: none;
    box-shadow: none;
}
.iphone .btn-number{
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 4rem;
    height: 3rem;
    border: none;
    border-radius: 0.3rem;
    background: #ffffffa1;
}
.iphone .btn-number p{
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: .6;
}
.iphone:before, .iphone:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
}
.iphone:after {
    bottom: 7px;
    width: 140px;
    height: 4px;
    background-color: #f2f2f2;
    border-radius: 10px;
}
.iphone:before {
    top: 0px;
    width: 50%;
    height: 20px;
    background-color: #1f1f1f;
    border-radius: 0px 0px 40px 40px;
}
.iphone i,
.iphone b,
.iphone s,
.iphone span {
    position: absolute;
    display: block;
}

.iphone b {
    left: -20px;
    top: -5px;
    transform: translate(180px, 4px);
    width: 12px;
    height: 12px;
    background-color: #101010;
    border-radius: 12px;
    box-shadow: inset 0px -3px 2px 0px rgba(255, 255, 255, 0.2);
    z-index: 999;
}
.iphone b:after {
    content: "";
    position: absolute;
    background-color: #2d4d76;
    width: 6px;
    height: 6px;
    top: 2px;
    left: 2px;
    top: 3px;
    left: 3px;
    display: block;
    border-radius: 4px;
    box-shadow: inset 0px -2px 2px rgba(0, 0, 0, 0.5);
}
.iphone s {
    top: 50px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    width: 100%;
    font-size: 70px;
    font-weight: 100;
    padding-top: 60px;
}
.iphone span {
    bottom: 50px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    left: 30px;
}
.iphone span + span {
    left: auto;
    right: 30px;
}
.iphone .phone {
    height: 100vh;
    overflow: hidden;
}

/**
 * Material Modal CSS
 */

.modal__call{
    pointer-events: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    background: #232c3b;
    width: 100%;
    max-width: 450px;
    height: 100%;
    max-height: 350px;
    margin: auto;
    z-index: 999999;
    border-radius: 10px;
    transform: translateY(50%);
    transition: bottom .5s, opacity 1s;
}
.modal__call.open {
    bottom: 50%;
    pointer-events: auto;
}
.modal__call__contant{
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    height: 100%;
}
.modal__call .call{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 40px;
}
.modal__call .call .fa-arrows-h{
    margin: 0 25px;
    font-size: 30px;
}
.modal__call .call__user{
    cursor: pointer;
}
.modal__call .call__number{
    text-align: center;
    color: #fff;
    width: 100%;
}
.modal__call .call__number span{
    color: #ccc;
}
.modal__call .call__status{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color:#fff;
    font-size: 25px;
    background: #059d05;
    outline: 1px solid rgb(255 255 255 / 29%);
    outline-offset: 6px;
    border: 3px solid #ffffff69;
    width: 80px;
    height: 80px;
    animation: pulse 3s linear infinite;
}
.modal__call .call__status__user{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color:#fff;
    font-size: 25px;
    background: #2d2d2d;
    outline-offset: 6px;
    border: 3px solid #ffffff69;
    width: 80px;
    height: 80px;
}
.modal__call .bottom-block{
    background: #151b28;
    padding: 10px;
    border-radius: 0 0 10px 10px;
}
.modal__call .bottom-block #end__call{
    background: #fc0f0f;
    color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    outline: none;
    border: none;
    margin: 0 auto;
    padding: 10px;
    border-radius: 3px;
    cursor: pointer;
}
.modal__call .bottom-block #end__call:hover{
    box-shadow: 0 0 6px #fc0f0f;
}
#show-call.call-catcher{
    right: -100%;
    pointer-events: none;
    transition: right 1s linear;
}
#show-call.call-catcher.show{
    pointer-events: auto;
    right: 60px;
}
.call-catcher{
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    width: 100%;
    padding: 14px;
    bottom: 60px;
    max-width: 90px;
    border-radius: 50px;
    cursor: pointer;
}
.call-catcher i{
    color:#059d05;
    font-size: 25px;
    animation: tossing 2s infinite linear;
    margin-left: 10px;
}
.call-catcher .dots {
    display: flex;
    align-items: center;
}

.call-catcher .dot {
    position: relative;
    left: -9999px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #059d05;
    color: #059d05;
    box-shadow: 9999px 0 0 -5px;
    animation: dot-pulse 2s infinite linear;
    animation-delay: 0.25s;
}
.call-catcher .dot::before, .dot::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #059d05;
    color: #059d05;
}
.call-catcher .dot::before {
    box-shadow: 9984px 0 0 -5px;
    animation: dot-pulse-before 2s infinite linear;
    animation-delay: 0s;
}
.call-catcher .dot::after {
    box-shadow: 10014px 0 0 -5px;
    animation: dot-pulse-after 2s infinite linear;
    animation-delay: 0.5s;
}
.container{
    max-width: 1920px !important;
}
table.table.table-striped tr.found td {
    background-color:#CECBCB;
}
.timesheet-wrap{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    justify-items: flex-start;
}
.form-check .form-check-input{
    margin-left: 0;
}
.timesheet-item{
    margin: 15px;
    padding: 0;
}
.timesheet-item h3{
    text-align: left;
    font-size: 1.5rem;
}
.form-group.button-group{
    display: flex;
    justify-content: flex-start;
}
.pagination{
    justify-content: center;
}
header .nav-item{
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-item.logout-item button{
    margin: 0;
}
.timesheet-item .form-check{
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-left: 0;
}
.timesheet-item .form-check label{
    cursor: pointer;
}
.timesheet-item .form-check input{
    margin-right: 5px;
}
.timesheet-item i{
    color: var(--done);
    font-weight: 700;
    border: 1px solid var(--done);
    border-radius: 50%;
    display: flex;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
}
.timesheet__info{
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: flex-start;
    background: #f0f5fa;
    padding: .5rem;
    border-radius:.5rem ;
}
.timesheet__info .btn{
    margin: 10px 10px 0 0;
}
.timesheet__info .row{
    justify-content: flex-start;
    align-items: flex-start;
}
.form-switch{
    padding: 0;
}
.timesheet__about p{
    margin: 0;
}

.timesheet__about span{
    font-weight: 700;
}
.breadcrumb{
    font-weight: 500;
}
.table{
    border-radius: 3px;
}
.table > thead tr th{
    background: var(--table-od);
}
.table tr th,
.table tr td{
    border-left: none;
    border-right: none;
    padding: .3rem;
    line-height: 2rem;
}
.table tr td:only-child{
    display:table-cell;
}

.table tr th section,
.table tr td section{
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.table > thead tr th a{
    color: var(--black-color);
}
.table > tbody tr td a svg path{
    fill: #444444;
    transition: fill .3s linear;
}
.table > tbody tr td a:hover svg path{
    fill: var(--link-color);
}
.table > tbody tr td a:has(svg) {
    display: flex;
    margin: 5px;
}
.table-striped > tbody > tr:nth-of-type(odd) > *{
    --bs-table-bg-type: #fff;
}
.btn{
    padding: 0.4rem 0.4rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    /*margin: 5px;*/
}
.nav li > form > button.logout{
    display: flex;
    align-items: center;
}
.logout-item{
    display: flex;
    align-items: center;
    margin-left: auto;
}
.table tr th, .table tr td{
    margin: 1.0rem 0.2rem 1.0rem 0.2rem;
}
.logout-item i{
    font-size: 20px;
    font-weight: 700;
    display: block;
    color: #fff;
    margin-right: 5px;
}
.table-striped > tbody > tr:nth-of-type(odd) td{
    background: #fff;
}
table tbody tr td:last-child{
    display: flex;
    justify-content: flex-start;
    background: #fff;
}
label {
    cursor: pointer;
}
label input{
    margin: 5px;
}
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar.fixed-top {
    position: fixed;
    top: 0;
}
.audio-wrap{
    display: flex;
    flex-flow: column;
    margin: 20px 0;
    gap:15px;
    position: relative;
}
.audio-wrap audio{
    width: 100%;
}

.table-primary {
    --bs-table-bg: #3498db52;
}

.table-success {
    --bs-table-bg: #2ecc7159;
}

.table-warning {
    --bs-table-bg: #d331004a;
}

.table-erp {
    --bs-table-color: #000;
    --bs-table-bg: #f1c40f57;
    --bs-table-border-color: #a6b5cc;
    --bs-table-striped-bg: #c5d7f2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bacbe6;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #bfd1ec;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.black-icon {
    fill: #000 !important;
}

.table-non-target {
    --bs-table-color: #000;
    --bs-table-bg: #0000000f;
    --bs-table-border-color: #a6b5cc;
    --bs-table-striped-bg: #c5d7f2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bacbe6;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #bfd1ec;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.table-information {
    --bs-table-color: #000;
    --bs-table-bg: #0d6efd6e;
    --bs-table-border-color: #a6b5cc;
    --bs-table-striped-bg: #c5d7f2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bacbe6;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #bfd1ec;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}
.custom-update-icon {
    color: black;
}

.table-recurring{
    --bs-table-color: #000;
    --bs-table-bg: #be2c2c94;
    --bs-table-border-color: #a6b5cc;
    --bs-table-striped-bg: #c5d7f2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bacbe6;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #bfd1ec;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.bg-dark {
    background-color: rgb(41,133,124) !important;
}

@media only screen and (max-width:768px){
    .table{
        overflow-x:scroll;
    }
    table tbody tr td:last-child{
        width: 100vw;
    }
    .navbar {
        position: static;
    }
    .timesheet-wrap{
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    .form-group.button-group{
        justify-content: center;
    }
}
.status-not-target {
    background-color: #0000000f !important;
}

.status-not-target:hover {
    background-color: #0707074E;
    cursor: pointer;
}

.status-cancelled {
    background-color: #d331004a!important;
}

.status-cancelled:hover {
    background-color: #AC310C49 !important;
}

.status-erp {
    background-color: #f1c40f57!important;
}

.status-erp:hover {
    background-color: #C3A21E56 !important;
}

.status-success {
    background-color: #2ecc7159!important;
}

.status-success:hover {
    background-color: #2DA45F59 !important;
}

.status-progress {
    background-color: #3498db52!important;
}

.status-progress:hover {
    background-color: #3078A852 !important;
}

.status-info {
    background-color: #A334DB52 !important;
}

.status-info:hover {
    background-color: #612F7A51 !important;
}

.status-active {
    border-color: grey!important;
    border-width: medium;
    font-weight: bolder;
}

.status-not-active {
    border: none;
}

.status-current {
    border-color: red !important;
    border-width: medium!important;
    border: solid;
}

.help-block {
    font-size: 12px;
    color: red;
}

.bid-button-submit {
    width: 150px;
    height: 50px;
    float: right;
    font-size: 14px;
}

.statuses-container {
    float: right;
}

span.required-field {
    color: red;
    font-weight: bold;
    font-size: 14px;
}

