html {
    font-family: sans-serif;
}

h1 {
    margin: 0;
}

body {
    margin: 0;
    width: 99vw;
    height: 100vh;
}

* {
    box-sizing: border-box;
}

.pgContent {
    width: 75%;
    height: fit-content;
    box-shadow: 0px 0px 10px 4px lightgray;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
    border-radius: 10px;
}

.progressbar {
    display: flex;
    align-items: center;
    border: 1px solid grey;
    border-radius: 3px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 0;
    width: 100%;
    height: 2rem;
  }

.progressbar>* {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    height: 1.5rem;
    border-radius: 2px;
    margin: 3px;
    overflow: visible;
    text-wrap: nowrap;
    min-width: min-content;
}
  
.inProcessing {
    width: 20%;
    background-color: red;
}

.waitingOnParts {
    width: 40%;
    background-color: orange;
}

.beingWorkedOn {
    width: 60%;
    background-color: yellowgreen
}

.finished {
    width: 80%;
    background-color: green;
}

.readyForPickup {
    width: 100%;
    background-color: blue;
}

.myButton {
    border: 0;
    border-radius: 5px;
    background-color: rgb(2, 155, 222);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    margin-bottom: auto;
    width: 100px;
    height: 3rem;
    text-decoration: none;
}

.deleteContainer {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

.deleteLabel {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.delete {
    color: red;
    border: 0;
    border-radius: 5px;
    display: flex;
    font-size: 2rem !important;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: auto;
    text-decoration: none;
}

.modifyButtons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.planeNameContainer {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.editNameInput {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    padding: 0;
    border: 0;
    outline: 0;
}

.check {
    display: flex;
    align-items: flex-end;
}

.checkmark {
    font-size: 2rem !important;
    color: green;
    cursor: pointer;
}

.planeName {
    position: relative;
    display: flex;
    justify-content: center;
    grid-column: 2;
    width: fit-content;
    margin: 0 auto;
}

.editPlnName {
    display: flex;
    justify-content: center;
    grid-column: 2;
}

.editSubmit {
    position: absolute;
    left: 100%;
}

.editButton {
    position: absolute;
    left: calc(100% + 0.5rem);
    display: flex;
    align-items: flex-end;
    height: 2rem;
    cursor: pointer;
}

.time {
    display: flex;
    margin-left: auto;
    position: relative;
}

@media (max-width: 768px) {
    .time {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (min-width: 768px) {
    .time {
        grid-column: 3;
        grid-row: 1;
    }
}

.caret {
    width: 0; 
    height: 0; 
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    border-left: 0.4rem solid transparent;
    border-right: 0.4rem solid transparent;
    border-bottom: 0.4rem solid black;
}

.caret.open {
    transform: rotate(180deg);
}

.timeSince {
    font-size: 1.25rem;
    cursor: pointer;
}

.timeHistory {
    position: absolute;
    top: 100%;
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background-color: white;
    border: 1px solid lightgrey;
    border-radius: 0.3rem;
}

@media (max-width: 768px) {
    .timeHistory {
        left: -20vw;
    }
}

@media (min-width: 768px) {
    .timeHistory {
        right: 0;
    }
}


.timeHisName {
    display: flex;
    flex-direction: column;
    text-align: right;
    text-wrap: nowrap;
    gap: 0.5rem;
    font-weight: bold;
}

.timeHisTime {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-wrap: nowrap;
}

.header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 2rem;
    height: 5rem;
}

#alogo {
    width: 100%;
    max-width: 250px;
    margin: auto;
    padding: 10px;
}

#homeButton {
    margin-left: 1rem;
}

.progress {
    display: flex;
    align-items: center;
}

.updateProgressBtn {
    border: 0;
    border-radius: 5px;
    background-color: green;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 1rem;
    margin-right: 0;
    height: 2.5rem;
    width: 2.5rem;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.progForm {
    display: inline-block;
    margin: 5px 0;
}

.nameForm {
    position: relative;
    display: flex;
    width: fit-content;
}

input {
    display: block;
    padding: 10px;
    border: 1px solid lightgray;
    border-radius: 5px;
    box-sizing:border-box;
}

label {
    display: inline-block;
}

#pgTitle {
    display: flex;
    justify-content: center;
}

.notesInput {
    display: flex;
    padding: 0.5rem;
    margin: 1rem auto;
    width: 50%;
    min-width: 250px;
    border: 1px solid lightgray;
    border-radius: 5px;
    box-sizing: border-box;
    overflow: hidden;
    resize: none;
}

.notesContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.notesName {
    margin-bottom: 0;
}

.noteForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#noteSubmit {
    width: 10rem;
}

#noteArea {
    font-family: sans-serif;
    font-size: 1rem;
}

.block {
    display: block;
}

.button {
    display: block;
    padding: 10px;
    border: 1px solid lightgray;
    border-radius: 5px;
    box-sizing:border-box;
    text-align: center;
    background-color: rgb(2, 155, 222);
    color: white;
    cursor: pointer;
}

.heading {
    display: flex;
    width: 25%;
    margin-left: auto;
    margin-right: auto;
    justify-content: left;
}

.modal-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
 
.modal-wrapper {
    width: fit-content;
    height: fit-content;
}

.close-btn-wrapper {
    display: flex;
    position: fixed;
    top: 2rem;
    right: 2rem;
}

.close-modal-btn {
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 0.125rem;
}

#modalImage {
    height: 50vh;
    max-height: 50vh;
}

input[type="file"] {
    display: none;
}

.fileUpload {
    display: flex;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.add {
    font-size: 2rem !important;
}

.docContainer {
    width: 100%;
}

.docDisplay {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    border: 1px solid lightgray;
    border-radius: 5px;
}

.image {
    display: block;
    width: 15rem;
    margin: 1rem;
}

.deleteImg {
    background-color: red;
    color: white;
    border: 0;
    width: auto;
    height: 2rem;
    min-width: 0;
    margin-right: 2rem;
    border-radius: 0.125rem;
}

.openEditName {
    font-size: 1.5rem !important;
    height: 1.5rem;
}

.hide {
    display: none !important;
}