@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);

/*** custom checkboxes ***/

.form-control {
    font-size: 14px;
}

input[type=checkbox] {
    display: none;
}


/* to hide the checkbox itself */

input[type=checkbox]+label:before {
    font-family: FontAwesome;
    display: inline-block;
    font-size: 20px;
}

input[type=checkbox]+label:before {
    content: "\f096";
}


/* unchecked icon */

input[type=checkbox]+label:before {
    letter-spacing: 10px;
}


/* space between checkbox and label */

input[type=checkbox]:checked+label:before {
    content: "\f046";
}


/* checked icon */

input[type=checkbox]:checked+label:before {
    letter-spacing: 5px;
}


/* allow space for check mark */


/* custom radio buttons */

input[type=radio] {
    display: none;
}


/* to hide the radio itself */

input[type=radio]+label:before {
    font-family: FontAwesome;
    display: inline-block;
    font-size: 20px;
}

input[type=radio]+label:before {
    content: "\f096";
}


/* unchecked icon */

input[type=radio]+label:before {
    letter-spacing: 10px;
}


/* space between radio and label */

input[type=radio]:checked+label:before {
    content: "\f046";
}


/* checked icon */

input[type=radio]:checked+label:before {
    letter-spacing: 5px;
}


/* allow space for check mark */

.mini-navbar .gray-bg {
    width: calc(100% - 70px);
}
body:not(.mini-navbar).body-small .gray-bg{
    width: 100%;
}

.gray-bg {
    float: left;
    width: calc(100% - 220px);
}


.w-100 {
    width: 100% !important;
}

.billable-no-edit {
    text-align: center;
    height: 30px;
    border-radius: 5px;
    box-shadow: 0 0 3px rgba(81, 203, 238, 1);
    pointer-events: none;
}

.billable-edit {
    text-align: center;
    height: 30px;
    border-radius: 5px;
    box-shadow: 0 0 3px rgba(81, 203, 238, 1);
}

.usersheet-week-link-box {
    text-align: center;
    height: 30px;
    border-radius: 5px;
    box-shadow: 0 0 3px rgba(81, 203, 238, 1);
}

.usersheet-week-link-box-no-pointer {
    text-align: center;
    height: 30px;
    border-radius: 5px;
    box-shadow: 0 0 3px rgba(81, 203, 238, 1);
    pointer-events: none
}

.usersheet-week-total {
    text-align: center;
    padding-top: 15px;
    font-weight: bolder;
    font-size: 15px;
}

.project-sheet-data-link {
    text-align: center;
    height: 30px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}

.data-field {
    text-align: center;
    height: 30px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
    pointer-events: none;
}

.total-field {
    text-align: center;
    padding-top: 15px;
    font-weight: bolder;
    font-size: 15px;
    pointer-events: none;
}

.profile-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%
}

.profile-donut {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%
}

label {
    font-weight: 600;
    font-size: 12px;
}

.page-title {
    font-weight: 500;
}

.table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td {
    vertical-align: middle;
}

.overlay {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999999;
}

.overlay__inner {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}

.overlay__content {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 75px;
    height: 75px;
    display: inline-block;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.05);
    border-top-color: #fff;
    animation: spin 1s infinite linear;
    border-radius: 100%;
    border-style: solid;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.pagination-div {
    margin-top: -15px;
}

.pt20 {
    padding-top: 20px;
}

.mt20 {
    margin-top: 20px;
}

.f30 {
    font-size: 30px;
    font-weight: 700;
}

.pl0 {
    padding-left: 0px;
}

.content-div {
    margin-top: 10px;
    padding-bottom: 0px;
    margin-bottom: 20px;
}

.mb10 {
    margin-bottom: 10px;
}

.bnone {
    border: none;
    border-radius: 0;
}

.ibox-title,
.ibox-title a {
    color: #727272!important;
}

.ibox-title a:hover {
    color: #333;
}

.chosen-container .chosen-results li {
    padding: 5px 10px;
}

.payment-card {
    background: #ffffff;
    padding: 10px;
    margin: 5px 15px;
    border: 1px solid #e7eaec;
}

.payment-card img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
}

.required-label {
    color: #f44336!important;
    font-size: 14px;
    vertical-align: middle;
}

.issue-info {
    width: 0;
}

.issue-info a:hover {
    color: #333;
}

.no-paddings {
    padding: 0;
}

.task-checklist .parent-category span {
    font-weight: 600;
    font-size: 14px;
    padding-left: 10px;
    vertical-align: middle;
}

.task-checklist .child-category {
    padding-left: 25px;
}

.task-checklist .child-category span {
    font-size: 13px;
    padding-left: 10px;
    vertical-align: middle;
}

.checklist-link {
    font-size: 16px;
}

.btn-group-sm>.btn,
.btn-sm {
    font-size: 12px;
}

.full-day-approved {
    background: #3c763d;
}

.first-half-approved {
    background: linear-gradient(to right bottom, #3c763d 50%, #fff 50%);
}

.first-half-rejected {
    background: linear-gradient(to right bottom, #dc3545 50%, #fff 50%);
}

.second-half-approved {
    background: linear-gradient(to right bottom, #fff 50%, #3c763d 50%);
}

.second-half-rejected {
    background: linear-gradient(to right bottom, #fff 50%, #dc3545 50%);
}

.off-day {
    background: #ddd;
}

.holiday {
    background: #FAAA69;
}

.full-day-rejected {
    background: #dc3545;
}

.full-day-cancelled {
    background: #dc3545;
    opacity: 0.5;
}

.second-half-cancelled {
    background: linear-gradient(to right bottom, #fff 50%, #dc3545 50%);
    opacity: 0.5;
}

.first-half-cancelled {
    background: linear-gradient(to right bottom, #dc3545 50%, #fff 50%);
    opacity: 0.5;
}

select.form-control:not([size]):not([multiple]) {
    height: 30px;
}

.btn-xs {
    font-size: 10px;
    padding: 3px 5px;
}

.tooltip-inner {
    max-width: 100% !important;
}

#page-wrapper {
    /*z-index:1;*/
}

.footer {
    z-index: -1;
}

.listData .group {
    background: #eee;
}

.listData tfoot {
    background: #eee;
}

.parent-desc {
    max-height: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.parent-desc:hover {
    overflow: visible;
    max-height: 100%;
}


/* Work notes styles */

ul.notes .note-content {
    margin-top: 15px;
    width: 100%;
    height: 82%;
}

ul.notes .note-content textarea.note-content-text {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    resize: none;
    outline-color: #b5b5b5;
}

ul.notes li div {
    height: 240px;
    width: 240px;
}

ul.notes li:nth-child(even) div {
    background: #cfc;
}

ul.notes li:nth-child(3n) div {
    background: #ccf;
}

.parent-title a {
    color: #727272;
}

.pr-15 {
    padding-right: 15px;
}

.pl-15 {
    padding-left: 15px;
}

.pl-0 {
    padding-left: 0;
}

.pt-15 {
    padding-top: 18px;
}

.pb-15 {
    padding-bottom: 18px;
}
.fontstyle{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
}

/*Button switch*/
.filter-switch .btn-primary:active, .filter-switch .btn-primary:focus {
    background-color: #29806e;
    border-color: #29806e;
}

.filter-block-container .chosen-single, 
.filter-block-container button, 
.filter-block-container .input-sm.start,
.filter-block-container .input-sm.end{
    height: 35px !important;
}
.filter-block-container .apply_filter{
    margin-top: 5px;
}

.form-group.labels {
    margin-bottom: 5px;
}

.label-danger.no-unit {
    float: none;
}

.ibox-title.pending-payment {
    text-align: center;
}

h3.pending-payment {
    text-align: center;
    float: none;
} 
h2.pending-payment,h2.pending-crop-returned-weight {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
}

label.report-shift-day,label#report-shift-day, label#shift-day-payment, label#shift-day {
    text-align: center;
    vertical-align: middle;
}


@media screen and (max-width: 1350px) {
  .form-group div.col-sm-5 {
    width: 100%;
  }
}

.listing-dataTable tbody td {
    position: relative;
}

.listing-dataTable input + span.tabledit-save-button {
    position: absolute;
    right: 15px;
    font-size: 10px;
    top: 50%;
    transform: translateY(-50%);
}