﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\
for details on configuring this project to bundle and minify static web assets. */

/*a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a {
  color: #0077cc;
}

.form-control:focus {
    border-color: #0077cc;
    box-shadow: 0 0 0 0.2rem #0077cc;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn-link.nav-link:focus {
  outline: black auto 1px;
}

html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.container {
  max-width: 960px;
}

.pricing-header {
  max-width: 700px;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

html {
  position: relative;
  min-height: 100%;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  overflow: scroll;
  white-space: nowrap;
  line-height: 60px;
}*/


/* NNNNNNNNN carried over... */

body {
    padding-top: 71px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 5px;
    padding-right: 5px;
}

/* 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;
}

input.weekpicker, input.date1picker, input.daterpicker {
    width: 100px;
}

.shadow {
    width: 100%;
    height: 20px;
    background-repeat: repeat-x;
    background-position: top center;
    background-image: url('../images/nav_shadow.png');
    background-color: none;
}

a {
    color: #3155a6;
}

.navbar {
    padding: 0px 10px;
}

.fixed-top {
    background-color: white;
}

#ScheduleTools, #ScheduleClipboardTools, #ScheduleTemplateTools, #ScheduleEditTools {
    width: 100%;
    /*width: 1236px;*/
    border: 1px #3155a6 solid;
    margin-bottom: 5px;
    padding: 2px;
    border-radius: 6px;
    padding-left: 5px;
}

.schedule-box-header, .schedule-box-footer {
    /*width: 155px;*/
    width: 100%;
    min-height: 24px;
    min-width: 155px;
    max-width: 500px;
    padding: 2px;
    border-radius: 5px;
    background-color: #eee;
    overflow: auto;
}

.schedule-box-footer {
    padding-right: 5px;
}

.schedule-box, .empty-schedule-box {
    min-height: 25px;
    /*width: 155px;*/
    width: 100%;
    padding: 1px;
    max-width: 500px;
    min-width: 155px;
    margin-bottom: 2px;
}

.schedule-box {
    border: 1px navy solid;
}

.template-preview-schedule-box {
    border-color: orangered;
    border-style: dashed;
}

.schedule-box-item-header, schedule-box-item-footer {
    float: left;
    /*width: 148px;*/
    width: 100%;
}

.previewfooter {
    background-color: orange;
}

.AuditStatusGood {
    background-color: lime;
}

.AuditStatusOK {
    background-color: yellow;
}

.AuditStatusBad {
    background-color: red;
    color: white;
}

.AuditStatusNone {
    background-color: silver;
}

.schedule-grid {
    width: 100%;
    /*min-width: 1236px;*/
}

.schedule-grid td {
    width: 12.5%;
}

.schedule-grid th, .schedule-grid td {
    border: 1px solid #dee2e6;
}

.schedule-box-item-header-customer, schedule-box-item-header-custsite {
    /*float: left;*/
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    /*width: 125px;*/
    min-width: 125px;
    width: 100%;
    padding: 0px;
    border-right: 5px;
    border: 0px;
    margin: 0px;
}

    .schedule-box-item-header-customer strong, .schedule-box-item-header-custsite strong,
    .schedule-box-item-header-customer, .schedule-box-item-header-custsite strong {
        font-size: small;
    }

.schedule-cell {
    font-weight: normal;
    font-size: small;
}


.empty-schedule-box {
    border: 1px #ccc solid;
    color: #ccc;
}

.schedule-team {
    /*width: 130px;
    max-width: 130px;*/
    min-width: 130px;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    padding: 0px 3px;
    border-right: 5px;
    border: 0px;
    margin: 0px;
    border: 1px solid #dee2e6;
}

.schedule-team-staff {
    float: left;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    /*width: 125px;
    max-width: 125px;*/
    min-width: 125px;
    font-size: .85em;
    padding: 0px;
    border-right: 5px;
    border: 0px;
    margin: 0px;
}

input.weekpicker, input.date1picker {
    width: 120px;
}

.day-sheet-item-notes {
    max-width: none;
    width: 100%;
}

.day-sheet-day-notes {
    max-width: none;
}

.teamdaynote {
    width: 300px;
}

.teamdaynotetext {
    color: red;
    font-weight: bold;
    font-size: small;
}

#welcomepanel {
    background-image: url('../images/rotunda.jpg');
    background-size: cover;
}

.home-btn {
    width: 100%;
    margin-bottom: 10px;
}

.home-menu-col {
    text-align: center;
}

.btn-outline-primary:hover, .btn-outline-secondary:hover {
    color: #fff;
    background-color: #3155a6;
    border-color: #3155a6;
}

.btn-outline-primary, .btn-outline-secondary {
    color: #3155a6;
    border-color: #3155a6;
}

.toggle-link:hover {
    font-weight: bold
}

.schedule-item-dialog {
    min-width: 1000px;
    max-width: 1000px;
}

.important-note {
    color: red;
}

.item-selected {
    border-color: red;
}

.schedule-done {
    background-color: greenyellow;
}

.schedule-notdone {
    background-color: red;
}

.daysheet-custsite {
    font-weight: bold;
    font-size: medium;
}

.scheduleprint-custsite {
    font-size: medium;
}

ul.pagination li {
    padding: 3px;
}

.schedule-site-note {
    display: block;
    color: red;
}

.schedule-customer-note {
    display: block;
    
}

.customer-note-highlighted {
    background-color: yellow; /* Only applies yellow to text */
}

.schedule-customer-note, .schedule-item-box-jobdetails .schedule-site-note {
    font-size: small;
}

.attachment-image {
    max-width: 300px;
}


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top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zIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}




/* quickGrid Styling */
/*::deep th.country-name {
    width: 14rem;
}*/

/* Subtle stripe effect */
::deep tr:nth-child(even) {
    background: rgba(255,255,255,0.4);
}

/* Don't collapse rows even if they are empty */
::deep tbody tr {
    height: 1.8rem;
}


/*.dialog-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    animation: dialog-container-entry 0.2s;
}

@keyframes dialog-container-entry {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.dialog {
    background-color: white;
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    z-index: 2000;
    align-self: center;
    margin: auto;
    width: 700px;
    max-height: calc(100% - 3rem);
    animation: dialog-entry 0.4s;
    animation-timing-function: cubic-bezier(0.075, 0.820, 0.165, 1.000);
}

@keyframes dialog-entry {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateX(0px) scale(1.0);
    }
}

.dialog-title {
    background-color: #444;
    color: #fff2cc;
    padding: 1.3rem 2rem;
}

.dialog-title h2 {
    color: white;
    font-size: 1.4rem;
    margin: 0;
    font-family: 'Bahnschrift', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    line-height: 1.3rem;
}

.dialog-body {
    flex-grow: 1;
    padding: 0.5rem 3rem 1rem 0;
}

.dialog-buttons {
    height: 4rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background-color: #eee;
    padding: 0 1rem;
}

.dialog-body > div {
    display: flex;
    margin-top: 1rem;
    align-items: center;
}

.dialog-body label {
    text-align: right;
    width: 200px;
    margin: 0 1.5rem;
}

.dialog-body input, .dialog-body select {
    flex-grow: 1;
    width: unset;
}

.dialog-body .size-label {
    min-width: 110px;
    text-align: right;
}

.dialog .toppings {
    text-align: center;
    display: block;
    padding-left: 4rem;
}

.dialog .topping {
    display: inline-block;
    background-color: #a04343;
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 2rem;
    margin: 0.4rem 0.3rem;
    font-weight: 700;
}

.dialog .topping-price {
    font-weight: 100;
    font-size: 0.8rem;
}

.dialog .topping-price::before {
    content: '£';
}
*/

.modal-backdrop {
    z-index: 1040 !important;
}

.modal-dialog {
    margin: 2px auto;
    z-index: 1100 !important;
}


.bodyprint {
    background-color: red !important;
    padding-top: 0px;
}

@media print {
    @page {
        size: A4 portrait;
        vertical-align: top;
    }

    .attachment-image-print {
        width: 100%;
        /*max-width: 300px;*//* !important;*/

        /*border: 1px red solid;*/
    }

}


/*override bootstrap blazor:*/
body, .form-control, .dropdown-menu, .form-select, .input-group-text {    
    font-size: 1rem;
}

.btn {
    --bs-btn-font-size: 1rem;
}