/* MAIN DIV */

#main {
    height: 100%;
    grid-area: main;
    /* grid-area: main / left / main / main; */
    text-align: center;
    overflow: scroll;
    z-index: -1;
}

#shadow {
    position: absolute;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
    transition: 400ms;
}

#middle{
    grid-area: main;
    height: max-content;
    margin: auto;
    padding: 10px;
    justify-content: center;
    z-index: 1;
    display: none;
}

#container {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0; 

}

#instructions, #mainNotes, #saveComp, .middlePopUp {
    display: none;
    width: max-content;
    height: max-content;
    padding: 15px 30px 20px 30px;
    border: 1px solid rgb(226, 226, 226);
    border-radius: 10px;
    background: rgba(255, 255, 255, 1);
    font-size: 14px;
}

#instructions h1, #mainNotes h1, #saveComp h1, .middlePopUp h1 {
    font-size: 16px;
    font-family: MontserratM;
    text-align: center;
    margin-bottom: 20px;
}

#notes {
    border: none;
    background: none; 
    resize: none;
    width: 556px;
    max-height: 350px;
    font-size: 12px;
    font-family: MontserratL;
}

#newNote {
    border: none;
    border-radius: 15px;
    margin-top: 10px;
    padding: 10px;
    background: rgb(248, 248, 248);
    box-shadow: inset 0px 1px 2px 0px rgb(206, 206, 206);
    resize:none;
    width: 510px;
    height: fit-content;
    max-height: 350px;
    font-size: 12px;
    font-family: MontserratL;
}

#notes:focus, #newNote:focus{
    outline: none;
}

#addNoteBut {
    position: relative;
    top: -25px;
}

table {
    margin: 10px auto 10px auto;
    /* margin: auto; */
    padding: 10px;
    border: 1px solid rgb(226, 226, 226);
    border-radius: 10px;
    background: rgba(255, 255, 255, 1);
    border-spacing: 0px;
    font-size: 12px;
}

tbody {
    border-bottom: 1px solid rgb(226, 226, 226);
    display: block;
    padding: 3px;
    text-align: center;
}

tbody:last-child {
    border:none;
}

td{
    padding: 5px;
}

input, textarea {
    width: inherit;
    height: inherit;
    margin: 0;
    padding: 5px 0px 5px 0px;
    border: 0px;
    border-radius: 15px;
    background: rgb(248, 248, 248);
    box-shadow: inset 0px 1px 2px 0px rgb(179, 179, 179);  
    text-align: center;
    color: rgba(57, 55, 56, 1);
    font-family: MontserratL;
    -moz-appearance: textfield;
    /* -webkit-appearance: none; */
}

.tabHead {
    border: none;
    background: none;
    margin: auto;
    padding-top: 8px;
    padding-bottom: 0;
    /* display: none; */
}

.tabHead td {
    border: 0px solid;
    background: none;
}

.measured, .changed{
    background:rgb(225, 242, 255);
}

.navigationButton{
    width: 75px;
    border: none;
    border-radius: 15px;
    margin: 0px 6px 0px 6px;
    transition: 200ms;
    padding: 5px 12px 5px 12px;
    font-family: MontserratL;
    background: rgb(255, 255, 255);
    box-shadow: 0px 0px 4px 0px rgb(179, 179, 179);
}

.navigationButton:hover{
    background: rgba(57, 55, 56, 1);
    color: white;
}

#backButton {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 15px;
    font-family: MontserratM;
    font-size: 14px;
    padding: 5px 25px 5px 15px;
    text-align: center;
    cursor: pointer;
}

#backButton:hover {
    background-color: rgba(136, 136, 136, 0.712);
  }

  #arrowBack {
    display: inline-block;
    position: relative;
    text-align: left;
    margin: 0px 10px 8px 10px;
    background-color: rgb(59, 59, 59);
  }
  
  #arrowBack:before,
  #arrowBack:after {
    content: '';
    position: absolute;
    background-color: inherit;
  }
  
  #arrowBack,
  #arrowBack:before,
  #arrowBack:after {
    width: 6px;
    height: 6px;
    border-top-right-radius: 60%;
  }
  
  #arrowBack.left {
    transform: rotate(-90deg) skewX(-30deg) scale(1,.866);
  }
  
  #arrowBack.right {
    transform: rotate(-30deg) skewX(-30deg) scale(1,.866) translate(-7px, 0px);
  }
  
  #arrowBack:before {
    transform: rotate(-135deg) skewX(-45deg) scale(1.414,.707) translate(0,-50%);
  }
  
  #arrowBack:after {
    transform: rotate(135deg) skewY(-45deg) scale(.707,1.414) translate(50%);
  }

@media print {
    #main{
        overflow: hidden;
    }
    
    table {
        border: none;
    }

    input, textarea {
        background: none;
        box-shadow: none;  
    }

    #backButton {
        display: none;
    }
}