/*
    Base Checksheet Style
*/

.sideloadChecksheetContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100vw;
  /* overflow-x: auto; */
}

.checksheetDisplay {
  flex: 0 0 99vw;
  width: 99vw;
}

.checksheetHeaderCollapsed {
  font-size: 1.2vw;
  min-height: 5vw;
  position: fixed;
  width: 100%;
  top: 0px;
  left: 0px;
}

.checkItemGroupHeaderIconCollapsed {
  position: relative;
  width: 0px;
  height: 0px;
}

.checkItemGroupHeaderIconExpanded {
  position: relative;
  width: 0px;
  height: 0px;
}

.checkItemGroupSectionCollapsed {
  display: none;
}

.ncmBtn {
  text-decoration: none;
    background-color: #565656;
    color: #f3f7f6;
    text-transform: capitalize;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 3px 8px;
    width: 45px;
    text-align: center;
    margin: 5px;
    font-size: 0.75rem;
    font-weight: normal;
    border-radius: 4px;
    border: none;
    -webkit-letter-spacing: 0.4px;
    -moz-letter-spacing: 0.4px;
    -ms-letter-spacing: 0.4px;
    letter-spacing: 0.4px;
    cursor: pointer;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    outline: none;
}

.ncmBtn:hover,
.ncmBtn:active,
.ncmBtn:focus {
  outline: 1px solid #565656;
  outline-offset: 2px;
}
/*normal landscape*/

@media only screen and (orientation: landscape) and (min-device-width: 700px) {
  .checksheetHeaderMain {
    /*display: table;*/
    display: flex;
    flex-direction: column;
    color: black;
    width: 100%;

  }

  .checksheetHeaderMain > div {
    /*display: table-row;*/
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 15px;
    margin-top: 12px;
    width: 89vw;
  }

  .checksheetHeaderCollapsed {
    /*background-color: #E5E5E5;*/
    background-color: #d1c4e9;
    z-index: 10000;
    border-bottom-color: darkslategray;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    box-shadow: 5px 1px 5px darkslategray;
    color: black;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .checksheetHeaderCollapsed > div {
    /*display: inline;
            float: left*/
    flex-basis: 40vw;
    flex-grow: 1;
    display: flex;
    flex-wrap: nowrap;
  }

  .checksheetHeaderCollapsed .optionalBreadcrumbPart {
    display: none;
  }

  .checksheetHeaderSub {
    display: flex;
    flex-direction: row;
    margin-left: 2rem;
  }

  .checksheetHeaderSub > input {
    margin: auto 1vw auto 1vw;
  }

  .checksheetSearchBar {
    display: flex;
  }

  .searchIndicationIcon {
    width: 2vw;
    height: 2vw;
  }

  .checksheetSearchBoxContainer {
    position: relative;
    margin-right: 0.5vw;
  }

  .checksheetSearchMenu {
    position: absolute;
    background-color: white;
    z-index: 10000;
    max-width: 30vw;
    max-height: 60vh;
    overflow: auto;
    left: 1vw;
    box-shadow: 1px 3px 2px darkslategray;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    padding-bottom: 0.5vh;
  }

  .checksheetSearchMenu div {
    cursor: pointer;
  }

  .checksheetSearchMenu div:hover {
    background-color: #757575;
    color: white;
  }

  .checksheetSearchSelection {
    text-align: center;
    /*background-color: #CE93D8;*/
    background-color: #f8bbd0;
    color: black;
    border-radius: 0.4vw;
    margin-right: 0.5vw;
    margin-right: 0.5vw;
    font-weight: 500;
  }

  .checksheetControlButtonsContainer {
    display: flex;
    gap: 8px;
    margin: 3px;
    margin-left: 15px;
    color: #3c3e4a;
    font-size: 1.5rem;
  }

  .mtsScanSwitchIcons {
    /*display: inline;
        float: left;*/
    cursor: pointer;
    font-size: 2vh;
    text-align: center;
  }

  .csHeaderFloatingControls {
    position: fixed;
    width: 45vw;
    height: 5vh;
    bottom: 5vh;
    left: 27vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: #b2dfdb;
    /* background-color: red; */
    border-radius: 2vh;
    justify-content: space-around;
    box-shadow: 1px 3px 16px 0px rgba(0, 0, 0, 0.75);
    z-index: 20;
  }

  .csHeaderFloatingControls .fontIcon {
    font-size: 3vh;
    cursor: pointer;
    margin-top: 1vh;
  }
}

/*portrait large tablet*/

@media only screen and (orientation: portrait) and (min-device-width: 1000px) {
  .checksheetHeaderMain {
    /*display: table;*/
    display: flex;
    flex-direction: column;
    color: black;
    width: 100%;

  }

  .checksheetHeaderMain > div {
    /*display: table-row;*/
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0.3vh;
  }

  .checksheetHeaderCollapsed {
    /*background-color: #E5E5E5;*/
    background-color: #d1c4e9;
    z-index: 10000;
    border-bottom-color: darkslategray;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    box-shadow: 5px 1px 5px darkslategray;
    color: black;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .checksheetHeaderCollapsed > div {
    /*display: inline;
            float: left*/
    flex-basis: 40vw;
    flex-grow: 1;
    display: flex;
    flex-wrap: nowrap;
  }

  .checksheetHeaderCollapsed .optionalBreadcrumbPart {
    display: none;
  }

  .checksheetSearchBar {
    display: flex;
  }

  .searchIndicationIcon {
    width: 2vw;
    height: 2vw;
  }

  .checksheetSearchBoxContainer {
    position: relative;
    margin-right: 0.5vw;
  }

  .checksheetSearchMenu {
    position: absolute;
    background-color: white;
    z-index: 10000;
    max-width: 30vw;
    max-height: 60vh;
    overflow: auto;
    left: 1vw;
    box-shadow: 1px 3px 2px darkslategray;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    padding-bottom: 0.5vh;
  }

  .checksheetSearchMenu div {
    cursor: pointer;
  }

  .checksheetSearchMenu div:hover {
    background-color: #757575;
    color: white;
  }

  .checksheetSearchSelection {
    text-align: center;
    /*background-color: #CE93D8;*/
    background-color: #f8bbd0;
    color: black;
    border-radius: 0.4vw;
    margin-right: 0.5vw;
    margin-right: 0.5vw;
    font-weight: 500;
  }

  .mtsScanSwitchIcons {
    /*display: inline;
        float: left;*/
    cursor: pointer;
  }

  .csHeaderFloatingControls {
    position: fixed;
    width: 45vw;
    height: 5vh;
    bottom: 5vh;
    left: 27vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: #b2dfdb;
    border-radius: 2vh;
    justify-content: space-around;
    box-shadow: 1px 3px 16px 0px rgba(0, 0, 0, 0.75);
  }

  .csHeaderFloatingControls .fontIcon {
    font-size: 3vh;
    cursor: pointer;
    margin-top: 1vh;
  }
}

/*portrait small tablet*/

@media only screen and (orientation: portrait) and (max-device-width: 1000px) {
  .checksheetHeaderMain {
    /*display: table;*/
    display: flex;
    flex-direction: column;
    color: black;
    width: 100%;

  }

  .checksheetHeaderMain > div {
    /*display: table-row;*/
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0.3vh;
  }

  .checksheetHeaderCollapsed {
    /*background-color: #E5E5E5;*/
    background-color: #d1c4e9;
    z-index: 10000;
    border-bottom-color: darkslategray;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    box-shadow: 5px 1px 5px darkslategray;
    color: black;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .checksheetHeaderCollapsed > div {
    /*display: inline;
            float: left*/
    flex-basis: 40vw;
    flex-grow: 1;
    display: flex;
    flex-wrap: nowrap;
  }

  .checksheetHeaderCollapsed .optionalBreadcrumbPart {
    display: none;
  }

  .checksheetSearchBar {
    display: flex;
  }

  .searchIndicationIcon {
    width: 2vw;
    height: 2vw;
  }

  .checksheetSearchBoxContainer {
    position: relative;
    margin-right: 0.5vw;
  }

  .checksheetSearchMenu {
    position: absolute;
    background-color: white;
    z-index: 10000;
    max-width: 30vw;
    max-height: 60vh;
    overflow: auto;
    left: 1vw;
    box-shadow: 1px 3px 2px darkslategray;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    padding-bottom: 0.5vh;
  }

  .checksheetSearchMenu div {
    cursor: pointer;
  }

  .checksheetSearchMenu div:hover {
    background-color: #757575;
    color: white;
  }

  .checksheetSearchSelection {
    text-align: center;
    /*background-color: #CE93D8;*/
    background-color: #f8bbd0;
    color: black;
    border-radius: 0.4vw;
    margin-right: 0.5vw;
    margin-right: 0.5vw;
    font-weight: 500;
  }

  .mtsScanSwitchIcons {
    /*display: inline;
        float: left;*/
    cursor: pointer;
  }

  .csHeaderFloatingControls {
    position: fixed;
    width: 45vw;
    height: 5vh;
    bottom: 5vh;
    left: 27vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: #b2dfdb;
    border-radius: 2vh;
    justify-content: space-around;
    box-shadow: 1px 3px 16px 0px rgba(0, 0, 0, 0.75);
  }

  .csHeaderFloatingControls .fontIcon {
    font-size: 3vh;
    cursor: pointer;
    margin-top: 1vh;
  }
}

/*phone screen*/

@media only screen and (min-device-width: 300px) and (max-device-width: 700px) {
  .checksheetHeaderMain {
    display: flex;
    flex-direction: column;
    color: black;
    font-size: 2vh;
  }

  .checksheetHeaderMain > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0.3vh;
  }

  .checksheetHeaderMain input {
    font-size: 2vh;
  }

  .checksheetHeaderCollapsed {
    background-color: #d1c4e9;
    z-index: 10000;
    border-bottom-color: darkslategray;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    box-shadow: 5px 1px 5px darkslategray;
    color: black;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    font-size: 1.8vh;
  }

  .checksheetHeaderCollapsed > div {
    flex-basis: 40vw;
    flex-grow: 1;
    display: flex;
    flex-wrap: nowrap;
  }

  .checksheetHeaderCollapsed .optionalBreadcrumbPart {
    display: none;
  }

  .checksheetSearchBar {
    display: flex;
  }

  .checksheetSearchBar .checksheetSearchBoxContainer > textarea {
    font-size: 2vh;
  }

  .searchIndicationIcon {
  }

  .checksheetSearchBoxContainer {
    position: relative;
    margin-right: 0.5vw;
  }

  .checksheetSearchMenu {
    position: absolute;
    background-color: white;
    z-index: 10000;
    max-width: 30vw;
    max-height: 60vh;
    overflow: auto;
    left: 1vw;
    box-shadow: 1px 3px 2px darkslategray;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    padding-bottom: 0.5vh;
  }

  .checksheetSearchMenu div {
    cursor: pointer;
  }

  .checksheetSearchMenu div:hover {
    background-color: #757575;
    color: white;
  }

  .checksheetSearchSelection {
    text-align: center;
    background-color: #f8bbd0;
    color: black;
    border-radius: 0.4vw;
    margin-right: 0.5vw;
    margin-right: 0.5vw;
    font-weight: 500;
  }

  .mtsScanSwitchIcons {
    cursor: pointer;
  }

  .csHeaderFloatingControls {
    position: fixed;
    width: 45vw;
    height: 5vh;
    bottom: 10vh;
    left: 27vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: #b2dfdb;
    border-radius: 2vh;
    justify-content: space-around;
    box-shadow: 1px 3px 16px 0px rgba(0, 0, 0, 0.75);
  }

  .csHeaderFloatingControls .fontIcon {
    font-size: 3vh;
    cursor: pointer;
    margin-top: 1vh;
  }
}

/*checksheetContainerDiv*/

@media screen and (orientation: portrait) {
  .checksheetContainerDiv {
    max-width: 98vw;
    width: 98vw;
  }
}

/*
    Base check item style
*/

.disabledCheckItem {
  border: dashed 3px grey;
}

/*phone screen*/

@media only screen and (min-device-width: 300px) and (max-device-width: 700px) {
  .CheckItem_Group {
    width: 98vw;
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: 2rem;
    padding-top: 25px;
    color: #696969;
    /* background-color: #bfd8ea; */
    /* color: #5c8eb0; */
    /* box-shadow: 1px 2px 1px grey; */
    font-size: 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
  }

  .checkItemContainer {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /*height: 20vh;*/
    transition: all 0.25s ease-in-out;
    margin: 1vh 0 1vh 0.5vw;
    /*background-color: white;*/
    /* box-shadow: 1px 2px 1px grey; */
  }

  .CheckItem_Base {
    /*ControlContainer*/
    /*ControlPanel*/
    /*display: flex;*/
    flex-direction: row;
    flex-wrap: wrap;
    flex-grow: 1;
    background-color: white;
    /*min-width: 24vw;*/
    /*max-width: 60vw;*/
    /*flex-grow: 1;
	height: 20vh;
	transition: all 0.25s ease-in-out;
    margin: 1vh 0 1vh 0.5vw;

    background-color: white;
    box-shadow:  1px 2px 1px grey;*/
  }

  .smallCheckItem {
    width: 25vw;
    max-width: 25vw;
    flex-direction: column;
    min-height: 20vh;

  }

  .mediumCheckItem {
    width: 40vw;
    max-width: 40vw;
    min-height: 20vh;
    flex-direction: column;
  }

  .largeCheckItem {
    width: 85vw;
    max-width: 85vw;
    min-height: 20vh;
    flex-direction: column;
  }

  .condensedCheckItem {
    width: 85vw;
    max-width: 85vw;
    min-height: 6vh;
    flex-direction: column;
  }

  .flex {
    /*height: 20vh;*/
    max-width: 85vw;
    min-height: 20vh;
    flex-direction: column;
    /* padding: 5px; */
  }

  .CheckItem_Base_Header {
    min-width: 24vw;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 8px;
  }

  .CheckItem_Base_ContentsRow {
    min-width: 24vw;
    max-width: 95vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 1vh;
    margin-bottom: 1vh;
  }
}



/*normal landscape*/

@media only screen and (orientation: landscape) and (min-device-width: 700px) {
  .checksheetHeaderMain {
    font-size: 2.4vh;
    font-weight: 600;
    margin-right: 15px;
  }

  .CheckItem_Group {
    /* width: 98vw; */
    width: 100%;
    font-weight: 700;
    padding-bottom: 10px;
    padding-top: 25px;
    background-color: #bfd8ea;
    color: #696969;
    /* box-shadow: 1px 2px 1px grey; */
    font-size: 1.8rem;
    letter-spacing: 0.3px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin: 10px 15px;
    /* margin: 1vh 0 1vh 0; */
  }

  .CheckItem_Group > .icons {
    display: flex;
    flex-direction: row;
    color: #696969;
  }

  .CheckItem_Group > .icons > .font-icon {
    cursor: pointer;
    font-size: 3vh;
  }

  .CheckItem_Group .playIconColor {
    color: #8bfe91;
  }

  .CheckItem_Group .stopIconColor {
    color: #ff8d8a;
  }

  .CheckItem_Group > .icons > div {
    margin: 0 0.5vw 0 0.5vw;
  }

  .CheckItem_Group > .statDetails {
    /* align-self: flex-end; */
    font-size: 1vw;
    color: #696969;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-left: 3vw;
    justify-content: space-between;
    max-width: 80vw;
  }

  .CheckItem_Group .remainingTimeGood {
    /* color: lime; */
  }

  .CheckItem_Group .remainingTimeBad {
    color: red;
  }

  .CheckItem_Break {
    width: 98vw;
    height: 2vh;
  }

  .CheckItem_Group_Break {
    width: 98vw;
    font-weight: 700;
    padding-bottom: 10px;
    padding-top: 25px;
    background-color: #a8d6c44f;
    color: #696969;
    font-size: 1.2vw;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin: 1vh 0 1vh 0;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
  }

  .CheckItem_Group_DisplayControl {
    width: 98vw;
    font-weight: 700;
    padding-bottom: 10px;
    padding-top: 25px;
    background-color: #ede7f6;
    color: #696969;
    font-size: 1.2vw;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin: 1vh 0 1vh 0;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
  }

    .CheckItem_Group_ConditionalControl {
        width: 98vw;
        font-weight: 700;
        padding-bottom: 10px;
        padding-top: 25px;
        background-color: #ffecb3;
        color: #696969;
        font-size: 1.2vw;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        margin: 1vh 0 1vh 0;
        border-top: 2px solid black;
        border-bottom: 2px solid black;
    }

    .CheckItem_Group_StepByStep {
        width: 98vw;
        font-weight: 700;
        padding-bottom: 10px;
        padding-top: 10px;
        background-color: #b2dfcb;
        color: #696969;
        box-shadow: 1px 2px 1px grey;
        font-size: 1.2vw;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        margin: 1vh 0 1vh 0;
    }

  .floatingSelectedCi > .CheckItem_Group_Break {
    max-width: 500px;
  }

  .CheckItem_StepByStep {
    width: 98vw;
    background-color: #e0f2f1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-shadow: 1px 2px 1px grey;
    padding-left: 2vw;
  }

  .CheckItem_Break {
  }

  .CheckItem_StepByStep .info {
    background-color: #e0f2f1;
    width: 98vw;
    font-weight: 700;
    margin-left: -1.5vw;
    font-size: 1.2vw;
    /* color: black; */
  }

  .CheckItem_StepByStep .info > span {
    margin-left: 2vw;
  }

  .checkItemContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-grow: 1;
    /*height: 20vh;*/
    transition: all 0.25s ease-in-out;
    margin: 1vh 0 1vh 0.5vw;
    /* box-shadow: 1px 2px 1px grey; */
  }

  .CheckItem_Base {
    /*ControlContainer*/
    /*ControlPanel*/
    /*display: flex;*/
    flex-direction: row;
    flex-wrap: wrap;
    flex-grow: 1;
    background-color: white;
    /*min-width: 24vw;*/
    /*max-width: 60vw;*/
    /*flex-grow: 1;
	  height: 20vh;
	  transition: all 0.25s ease-in-out;
    margin: 1vh 0 1vh 0.5vw;
    background-color: white;
    box-shadow:  1px 2px 1px grey;*/
    box-shadow: rgb(100 100 111 / 25%) 0px 3px 50px 0.5px;
    border-radius: 8px;
    gap: 8px;
  }

  /*AUG 2022 - created very set sizes so that the size controls work -3 across ONLy or 2 across ONLY or 1 ONLY or flex (default) 
  The slightly odd widths are to ensure that as you switch sizes, the rleative space on the screen stays the same (had to account for
  gaps and such. Width and max-widths are the same to ensure a grid-like structure. DUPLICATED CHANGES AT ALL MEDIA SIZES */
  .smallCheckItem {
    width: 27vw;
    max-width: 27vw;
    flex-direction: column;
    min-height: 20vh;

  }

  .mediumCheckItem {
    width: 41vw;
    max-width: 41vw;
    min-height: 20vh;
    flex-direction: column;
  }

  .largeCheckItem {
    width: 85vw;
    max-width: 85vw;
    min-height: 20vh;
    flex-direction: column;
  }

  .condensedCheckItem {
    width: 85vw;
    max-width: 85vw;
    min-height: 6vh;
    flex-direction: column;
  }

  .flex {
    /*height: 20vh;*/
    max-width: 85vw;
    min-height: 20vh;
    flex-direction: column;
    padding: 5px;
  }

  .newCheckItemControl {
    border: dashed grey 3px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    cursor: pointer;
    background-color: white;
  }

  .newCheckItemControl.flex {
    flex: 0 0 32.1vw;
  }

  .newCheckItemControl.condensed {
    width: 98vw;
    max-width: 98vw;
    min-height: 6vh;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .newCheckItemControl.condensed > img {
    height: 6vh;
    width: 6vh;
  }

  .newCheckitemControl .fontIcon {
    font-size: 6vh;
  }

  .flex > .newCheckItemControlHeader {
    flex: 0 0 32vw;
    justify-content: center;
    text-align: center;
  }

  .CheckItem_Base_Header {
    /* min-width: 24vw; */
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 3vw;
    overflow: hidden;
    margin: 3px;
  }

  .CheckItem_Base_Header .ctqIcon {
    font-size: 2vw;
  }

  .CheckItem_Base_ContentsRow {
    /* min-width: 24vw; */
    /* max-width: 56vw; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 1vh;
    margin-bottom: 1vh;
    margin-left: 10px;
  }

  .CheckItem_Base_ContentsRow select {
    /* width: auto; */
    max-width: 350px;
  }

  .CheckItemHoverMoveBefore {
    padding-left: 5vw;
  }

  .condensedCheckItem.CheckItemHoverMoveBefore {
    padding-top: 5vh;
    padding-left: 0px;
  }

  .CheckItemHoverMoveAfter {
    padding-right: 5vw;
  }

  .condensedCheckItem.CheckItemHoverMoveAfter {
    padding-bottom: 5vh;
    padding-right: 0px;
  }

  .csEditBottomSpacer {
    flex: 4 4 32.1vw;
    min-height: 20vh;
    margin: 1vh 0 1vh 0.5vw;
  }

  .csEditBottomSpacer.dragOver {
    background-color: lightblue;
    border-radius: 1vw;
    box-shadow: 1px 4px 15px 7px rgba(0, 0, 0, 0.36);
  }

  .CheckItem_Base .collapsedFilterCard {
    position: relative;
  }
}

/*portrait on larger tablet*/

@media only screen and (orientation: portrait) and (min-device-width: 1000px) {
  .checksheetHeaderMain {
    font-size: 2.4vw;
    font-weight: 600;
    width: 98vw;
  }

  .CheckItem_Group {
    width: 98vw;
    font-weight: 700;
    padding-bottom: 10px;
    padding-top: 25px;
    background-color: #bfd8ea;
    color: #5c8eb0;
    box-shadow: 1px 2px 1px grey;
    font-size: 1.2vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .checkItemContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-grow: 1;
    /*height: 20vh;*/
    transition: all 0.25s ease-in-out;
    margin: 1vh 0 1vh 0.5vw;
    /*background-color: white;*/
    box-shadow: 1px 2px 1px grey;
  }

  .CheckItem_Base {
    /*ControlContainer*/
    /*ControlPanel*/
    /*display: flex;*/
    flex-direction: row;
    flex-wrap: wrap;
    flex-grow: 1;
    background-color: white;
    /*min-width: 24vw;*/
    /*max-width: 60vw;*/
    /*flex-grow: 1;
	height: 20vh;
	transition: all 0.25s ease-in-out;
    margin: 1vh 0 1vh 0.5vw;

    background-color: white;
    box-shadow:  1px 2px 1px grey;*/
  }

  .smallCheckItem {
    width: 27vw;
    max-width: 27vw;
    flex-direction: column;
    min-height: 20vh;

  }

  .mediumCheckItem {
    width: 41vw;
    max-width: 41vw;
    min-height: 20vh;
    flex-direction: column;
  }

  .largeCheckItem {
    width: 85vw;
    max-width: 85vw;
    min-height: 20vh;
    flex-direction: column;
  }

  .condensedCheckItem {
    width: 85vw;
    max-width: 85vw;
    min-height: 6vh;
    flex-direction: column;
  }

  .flex {
    /*height: 20vh;*/
    max-width: 85vw;
    min-height: 20vh;
    flex-direction: column;
    padding: 5px;
  }

  .CheckItem_Base_Header {
    min-width: 24vw;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 4vh;
    overflow: hidden;
  }

  .CheckItem_Base_ContentsRow {
    min-width: 24vw;
    /*max-width: 56vw;*/
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 1vh;
    margin-bottom: 1vh;
  }

  .CheckItem_Base_ContentsRow select {
    /* width: auto; */
  }
}

/*portrait on smaller tablet*/

@media only screen and (orientation: portrait) and (max-device-width: 1000px) {
  .checksheetHeaderMain {
    font-size: 2.4vw;
    font-weight: 600;
    width: 98vw;
  }

  .checksheetHeaderMain > div {
    display: flex;
    flex-direction: row;
  }

  .checksheetHeaderMain input {
    font-size: 1.5vh;
  }

  .checksheetSearchBar {
    display: flex;
    flex-direction: row;
  }

  .checksheetSearchBar > img {
    width: 4vw;
    height: 4vw;
  }

  .CheckItem_Group {
    width: 98vw;
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: 1rem;
    padding-top: 25px;
    /* background-color: #bfd8ea;
    color: #5c8eb0;
    box-shadow: 1px 2px 1px grey; */
    font-size: 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .checkItemContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-grow: 1;
    /*height: 20vh;*/
    transition: all 0.25s ease-in-out;
    margin: 1vh 0 1vh 0.5vw;
    /*background-color: white;*/
    box-shadow: 1px 2px 1px grey;
  }

  .CheckItem_Base {
    /*ControlContainer*/
    /*ControlPanel*/
    /*display: flex;*/
    flex-direction: row;
    flex-wrap: wrap;
    flex-grow: 1;
    background-color: white;
    /*min-width: 24vw;*/
    /*max-width: 60vw;*/
    /*flex-grow: 1;
	height: 20vh;
	transition: all 0.25s ease-in-out;
    margin: 1vh 0 1vh 0.5vw;

    background-color: white;
    box-shadow:  1px 2px 1px grey;*/
  }

  .smallCheckItem {
    width: 27vw;
    max-width: 27vw;
    flex-direction: column;
    min-height: 20vh;

  }

  .mediumCheckItem {
    width: 41vw;
    max-width: 41vw;
    min-height: 20vh;
    flex-direction: column;
  }

  .largeCheckItem {
    width: 85vw;
    max-width: 85vw;
    min-height: 20vh;
    flex-direction: column;
  }

  .condensedCheckItem {
    width: 85vw;
    max-width: 85vw;
    min-height: 6vh;
    flex-direction: column;
  }

  .flex {
    /*height: 20vh;*/
    max-width: 85vw;
    min-height: 20vh;
    flex-direction: column;
    padding: 5px;
  }

  .CheckItem_Base_Header {
    min-width: 24vw;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 4vh;
    overflow: hidden;
  }

  .CheckItem_Base_ContentsRow {
    min-width: 24vw;
    /*max-width: 56vw;*/
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 1vh;
    margin-bottom: 1vh;
  }

  .CheckItem_Base_ContentsRow select {
    /* width: auto; */
  }
}

/*
    Styles for the saved state
*/

.CheckItem_State_Saved {
  /*passfailok*/
  background-color: #8bfe91;
  border-radius: 8px;
  /* padding: 8px; */
 
}

.CheckItem_State_Failed {
  /*passfailng*/
  background-color: #ff8d8a;
  border-radius: 8px;

}

.CheckItem_State_Repaired {
  /*passfailrepaired*/
  background-color: #08c912;
  border-radius: 8px;

}

.CheckItem_State_PendingQSO {
  background-color: #ffff6f;
  border-radius: 8px;

}

.CheckItem_State_Saving {
  /*passFailSaving*/
  background-color: Gray;
  /* padding: 8px; */
  border-radius: 8px;
}

.CheckItem_State_Started {
  /*proditemstart*/
  background-color: #8bfe91;
  /* padding: 8px; */
  border-radius: 8px;
}

.CheckItem_State_Paused {
  /*proditempause*/
  background-color: #ffff6f;
  /* padding: 8px; */
  border-radius: 8px;
}

.CheckItem_State_Stopped {
  /*proditemstop*/
  background-color: #ff8d8a;
  /* padding: 8px; */
  border-radius: 8px;
}

.CheckItem_State_NA {
  background-color: lightgray;
  border-radius: 8px;
  /* padding: 8px; */
}

/*
    Styles for display of individual parts
*/

/*normal landscape*/

@media screen and (orientation: landscape) and (min-device-width: 700px) {
  .CheckItem_Desc_Container {
    display: flex;
    flex-direction: row;
  }

  .CheckItem_Display_Desc {
    /*CheckItem*/
    /*font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;*/
    /* font-size: calc(1.2vw * var(--font-size, 1)); */
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    margin: 3px;
    /* color: Black; */
    color: #1a1a1a;

  }


  .CheckItem_Display_ControlBtnIcons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 0.25vh;
    color: #565656;
    /* margin-right: 15px; */
  }

  .CheckItem_Display_ControlBtnIcons .default {
    color: "green";
  }

  .CheckItem_Display_ControlBtnIcons .modern {
    color: "red";
  }

  .CheckItem_Display_ControlBtnIcons .highContrast {
    color: "black";
  }

  .CheckItem_Display_ControlBtnIcons .blueSky {
    color: "blue";
  }

  .CheckItem_Display_ControlBtnIcons input {
    width: 1.4vw;
    height: 1.4vw;
    cursor: pointer;
    margin: 0 0.1vw 0 0.1vw;
    font-size: 1vw;
  }

  .CheckItem_Display_ControlBtnIcons img {
    width: 1.4vw;
    height: 1.4vw;
    cursor: pointer;
    margin: 0 0.1vw 0 0.1vw;
    font-size: 1vw;
  }

  .CheckItem_Display_ControlBtnIcons .fontIcon {
    /* width: 1.4vw; */
    height: 1.4vw;
    cursor: pointer;
    margin: 0 0.1vw 0 0.1vw;
    font-size: 1.4vw;
  }

  .CheckItem_Display_SaveControls {
    min-width: 2vw;
    max-width: 15vw;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    margin: 3px 15px 3px 3px;
  }

  .CheckItem_Display_SaveControls > button {
    margin-top: 1vh;
    font-size: 0.8vw;
    /*max-height: 1.6vw;*/
  }

  .CheckItem_Display_CommentTab {
    cursor: pointer;
    margin-top: 0px;
    position: relative;
    z-index: 10;
  }

  .CheckItem_Display_CommentTab pre {
    position: absolute;
    left: 0.1vw;
    font-size: 0.7vw;
  }

  .CheckItem_Display_CommentTab img {
    position: absolute;
    width: 1vw;
  }

  .CheckItem_Display_CommentTab .fontIcon {
    width: 1.4vw;
    height: 1.4vw;
    cursor: pointer;
    margin: 0 0.1vw 0 0.1vw;
    font-size: 1.4vw;
  }

  .CheckItem_Display_CommentTab .fontIcon.commentIconHasComment {
    color: #64b5f6;
    /* color: #565656; */
  }

  .CheckItem_Display_Contents_CSControlContainer img {
    cursor: pointer;
    width: 5vw;
    height: 5vw;
  }

  .CheckItem_Display_Contents_CSControlContainer .csPassButton {
    font-size: 4vw;
    /* color: lime; */
    width: 5vw;
    height: 5vw;
    border: solid 4px lime;
    /* border-radius: 2.5vw; */
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
 =
  }

  .CheckItem_Display_Contents_CSControlContainer .csFailButton {
    font-size: 4vw;
    /* color: red; */
    width: 5vw;
    height: 5vw;
    border: solid 4px red;
    border-radius: 50%;
    /* border-radius: 2.5vw; */
    text-align: center;
    cursor: pointer;
  }

  .ChecksheetDataEntry1 {
    min-width: 5vw;
    max-width: 150px;
    font-size: 1.2vw;
  
  }

  .ChecksheetDataEntry1::-webkit-outer-spin-button,
  .ChecksheetDataEntry1::-webkit-inner-spin-button {
    display: none;
  }

  .togleSelector {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /*background-color: lightgray;*/
    width: 21vw;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
  
  }

  .togleSelector  span {
    align-self: center;
  }

  .togleSelectorIcon {
    background-color: white;
    margin: 0px 1px 0px 1px;
    width: 2vw;
    height: 2vw;
    cursor: pointer;
    font-size: 2vw;
    color: #3c3e4a;
  }

  .togleSelectorIcon_selected {
    margin: 0px 1px 0px 1px;
    width: 2vw;
    height: 2vw;
    cursor: pointer;
    /* background-color: gray; */
    background-color: white;
    font-size: 2vw;
    color: lightblue;
  }

  .checkItemGroupHeaderIconCollapsed {
    border-top: 1.2vw solid #696969;
    border-bottom: 1.2vw solid transparent;
    border-left: 1.2vw solid transparent;
    border-right: 1.2vw solid transparent;
    margin: 0.6vw 0.5vw 0 0.5vw;
  }

  .checkItemGroupHeaderIconExpanded {
    border-bottom: 1.2vw solid #696969;
    border-top: 1.2vw solid transparent;
    border-left: 1.2vw solid transparent;
    border-right: 1.2vw solid transparent;
    margin: -0.6vw 0.5vw 0 0.5vw;
  }

  .checkItemControlsMedium {
    width: 4vh;
    height: 4vh;
    font-size: 4vh;
    cursor: pointer;
  }

  .CheckItem_Display_ContentsBase {
    min-width: 15vw;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-left: 1vw;
  }

  .CheckItem_Display_Contents_CSControlContainer {
    display: flex;
    flex-direction: row;
    flex-grow: 3;
    flex-wrap: nowrap;
    justify-content: space-around;
    margin-bottom: 1rem;
  }

  .CheckItem_Display_Contents_TextRow {
    text-align: center;
    justify-content: center;
    align-content: center;
    font-size: calc(0.8em * var(--font-size, 1));
  }

  .CheckItem_Display_Contents_TextRow .sample-number {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.25px;
  }

  .CheckItem_Display_Contents_VARControlContainer {
    display: flex;
    flex-direction: column;
    /* min-width: 20vw; */
    max-width: 35vw;
    margin-top: 1vh;
  }

  .CheckItem_Display_Contents_VARControlContainer > div {
    margin-top: 0.34vh;
  }

  /* .CheckItem_Display_Contents_SpecContainer {
    max-width: 85%;
  } */

  .CheckItem_Display_Contents_CommentContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    min-width: 20vw;
    max-width: 35vw;
    /*margin-top: 1vh;*/
    margin: 0 0 0 1vw;
  }

  .CheckItem_Display_Contents_CommentContainer .fontIcon {
    font-size: 2vw;
    padding: 5px;
  }

  .CheckItem_Display_Contents_CommentContainer .fileAttach {
    border-style: dashed;
    border-radius: 1vw 1vw;
    width: 15vw;
    height: 15vh;
    justify-content: center;
    text-align: center;
    margin: 0 0 0 1vw;
    overflow: auto;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer {
    /* position: fixed; */
    top: 35vh;
    left: 35vw;
    width: 15vw;
    height: 15vh;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .dropshadow {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.8;
    z-index: 1000;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideo {
    position: fixed;
    width: 70vw;
    height: 70vh;
    top: 10vh;
    left: 15vw;
    background-color: white;
    z-index: 2000;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
    border-radius: 1vh;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideo
    .fileUploadVideoHeader {
    width: 99%;
    display: flex;
    flex-direction: row-reverse;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideo
    .fileUploadVideoHeader
    .closeBtn {
    color: black;
    cursor: pointer;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    height: 3vh;
    font-weight: 600;
    text-align: center;
    min-width: 2vw;
    padding: 0;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideoContents {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .checkItemControlInstructions {
    max-width: 20vw;
    text-wrap: normal;
    /*display: flex;
    flex-direction: column;*/
    font-size: 0.8vw;
    /*align-self: center;*/
    padding-left: 1.4vw;
    background-color: #efefef;
    color: black;
    height: 100%;
  }

  .checkItemControlInstructions div {
    display: flex;
    flex-direction: column;
  }

  .CheckItem_Display_NAContents {
    font-size: 5vw;
  }

  .CheckItem_Display_Thumbnail {
    cursor: pointer;
    width: 5vh;
    height: 5vh;
    border-color: darkgray;
    border-width: 1px;
    border-style: solid;
    align-self: flex-end;
    margin-top: 1.2em;
  }

  .ChecksheetDataEntry1 {
    color: Black;
    background-color: #b5e7ec;
    text-align: center;
    vertical-align: middle;
    /* border-color: darkgrey; */
    border: 1px solid darkgrey;
    /* border-bottom-style: solid;
    border-width: 2px; */
    transition: all 0.25s ease-in-out;
    margin: 0 5px 0 5px;
  }

  .ChecksheetDataEntry1:focus {
    outline: none;
    box-shadow: 0 0 10px #72bdfa;
    /*border: 5px solid #9ecaed;*/
    border: 5px solid #72bdfa;
    border-radius: 5px;
  }

  .ChecksheetDataEntryDisabled {
    color: Black;
    min-width: 5vw;
    text-align: center;
    vertical-align: middle;
    font-size: 0.8rem;
  }

  .ChecksheetDataEntry_Invalid {
    color: Black;
    background-color: #ff8080;
    text-align: center;
    vertical-align: middle;
    max-width: 145px;
   
  
  }

  .ChecksheetDataEntry_Valid {
    color: Black;
    background-color: #80ff80;
    text-align: center;
    vertical-align: middle;
    max-width: 145px;
   
  }

  .ChecksheetDataEntryWatermark1 {
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica,
      Verdana, sans-serif;
    background-color: #92f3fe;
    color: Gray;
    text-align: center;
    vertical-align: middle;
  }

  .checksheetSpacerDiv {
    flex-basis: 95%;
    flex-shrink: 0;
    flex-grow: 0;
    height: 20vh;
  }

  .checkItemControlsMedium {
    width: 5vw;
    height: 5vw;
  }

  .runtimeControlButtonContainerStyle {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 5vh;
  }

  .CheckItem_Base .filterCardContainer {
    position: absolute;
  }

  .CheckItem_Base .filterCardContainer .filterCard {
    box-shadow: 2px 4px 14px 0px rgba(0, 0, 0, 0.75);
  }

  .CheckItem_Base .filterCardContainer .container > div {
    align-self: flex-start;
  }

  .CheckItem_Base .collapsedFilterCard > .currentValueDisplay {
    justify-content: center;
  }
}

/*portrait on larger tablet*/

@media screen and (orientation: portrait) and (min-device-width: 1000px) {
  .CheckItem_Desc_Container {
    display: flex;
    flex-direction: row;
  }

  .CheckItem_Display_Desc {
    /*CheckItem*/
    /*font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;*/
    font-size: 2vh;
    color: Black;
  }

  .CheckItem_Display_ControlBtnIcons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 0.25vh;
  }

  .CheckItem_Display_ControlBtnIcons input {
    width: 3vh;
    height: 3vh;
    cursor: pointer;
    margin: 0 0.1vw 0 0.1vw;
    font-size: 2vh;
  }

  .CheckItem_Display_ControlBtnIcons img {
    width: 3vh;
    height: 3vh;
    cursor: pointer;
    margin: 0 0.1vw 0 0.1vw;
    font-size: 2vh;
  }

  .CheckItem_Display_SaveControls {
    min-width: 2vw;
    max-width: 15vw;
    display: flex;
    flex-direction: column;
    margin: 0 1vw 0 1vw;
  }

  .CheckItem_Display_SaveControls > button {
    margin-top: 1vh;
    font-size: 1.5vh;
    max-height: 3vh;
  }

  .CheckItem_Display_CommentTab {
    cursor: pointer;
    margin-top: 0px;
    position: relative;
    z-index: 10;
  }

  .CheckItem_Display_CommentTab pre {
    position: absolute;
    left: 1vw;
    font-size: 1.2vw;
  }

  .CheckItem_Display_CommentTab img {
    position: absolute;
    width: 2vw;
  }

  .condensedCheckItem .CheckItem_Display_CommentTab img {
    position: absolute;
    z-index: 10;
    width: 3vh;
    height: 3vh;
  }

  .CheckItem_Display_Contents_CSControlContainer img {
    cursor: pointer;
    width: 6vh;
    height: 6vh;
  }

  .ChecksheetDataEntry1 {
    min-width: 5vw;
    max-width: 10vw;
    font-size: 2vw;
  }

  .togleSelector {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /*background-color: lightgray;*/
    width: 25vw;
    justify-content: space-between;
    font-size: 1.5vw;
  }

  .togleSelector span {
    align-self: center;
  }

  .togleSelectorIcon {
    background-color: white;
    margin: 0px 0.2vw 0px 0.2vw;
    width: 3vw;
    height: 3vw;
    cursor: pointer;
  }

  .togleSelectorIcon_selected {
    margin: 0px 0.2vw 0px 0.2vw;
    width: 3vw;
    height: 3vw;
    cursor: pointer;
    background-color: gray;
  }

  .checkItemGroupHeaderIconCollapsed {
    border-top: 1.2vh solid #696969;
    border-bottom: 1.2vh solid transparent;
    border-left: 1.2vh solid transparent;
    border-right: 1.2vh solid transparent;
    margin: 0.6vh 0.5vh 0 0.5vh;
  }

  .checkItemGroupHeaderIconExpanded {
    border-bottom: 1.2vh solid #696969;
    border-top: 1.2vh solid transparent;
    border-left: 1.2vh solid transparent;
    border-right: 1.2vh solid transparent;
    margin: -0.6vh 0.5vh 0 0.5vh;
  }

  .checkItemControlsMedium {
    width: 5vw;
    height: 5vw;
  }

  .CheckItem_Display_ContentsBase {
    min-width: 15vw;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-left: 1vw;
  }

  .CheckItem_Display_Contents_CSControlContainer {
    display: flex;
    flex-direction: row;
    flex-grow: 3;
    flex-wrap: nowrap;
    justify-content: space-around;
  }

  .CheckItem_Display_Contents_CSControlContainer .csPassButton {
    font-size: 4vw;
    /* color: lime; */
    width: 5vw;
    height: 5vw;
    border: solid 4px lime;
    border-radius: 2.5vw;
    text-align: center;
    cursor: pointer;
  }

  .CheckItem_Display_Contents_CSControlContainer .csFailButton {
    font-size: 4vw;
    /* color: red; */
    width: 5vw;
    height: 5vw;
    border: solid 4px red;
    border-radius: 2.5vw;
    text-align: center;
    cursor: pointer;
  }

  .CheckItem_Display_Contents_TextRow {
    text-align: center;
    justify-content: center;
    align-content: center;
  }

  .CheckItem_Display_Contents_TextRow .sample-number {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.25px;
  }

  .CheckItem_Display_Contents_VARControlContainer {
    display: flex;
    flex-direction: column;
    min-width: 20vw;
    max-width: 35vw;
    margin-top: 1vh;
  }

  .CheckItem_Display_Contents_VARControlContainer > div {
    margin-top: 0.34vh;
  }

  /* .CheckItem_Display_Contents_SpecContainer {
    max-width: 85%;
  } */

  .CheckItem_Display_Contents_CommentContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    min-width: 20vw;
    max-width: 35vw;
    /*margin-top: 1vh;*/
    margin: 0 0 0 1vw;
  }

  .CheckItem_Display_Contents_CommentContainer .fileAttach {
    border-style: dashed;
    border-radius: 1vw 1vw;
    width: 15vw;
    height: 15vh;
    justify-content: center;
    text-align: center;
    margin: 0 0 0 1vw;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer {
    position: fixed;
    top: 35vh;
    left: 35vw;
    width: 15vw;
    height: 15vh;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .dropshadow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.3;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideo {
    position: fixed;
    width: 70vw;
    height: 70vh;
    top: 10vh;
    left: 15vw;
    background-color: white;
    z-index: 1100;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
    border-radius: 1vh;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideo
    .fileUploadVideoHeader {
    width: 99%;
    display: flex;
    flex-direction: row-reverse;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideo
    .fileUploadVideoHeader
    .closeBtn {
    color: grey;
    background-color: white;
    font-weight: 600;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 3vh;
    cursor: pointer;
    height: 3vh;
    text-align: center;
    min-width: 2vw;
    padding-left: 0;
    padding-right: 0;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideoContents {
    justify-content: space-between;
  }

  .checkItemControlInstructions {
    max-width: 20vw;
    text-wrap: normal;
    /*display: flex;
    flex-direction: column;*/
    font-size: 0.8vw;
    /*align-self: center;*/
    margin-left: 1.4vw;
  }

  .checkItemControlInstructions div {
    display: flex;
    flex-direction: column;
  }

  .CheckItem_Display_NAContents {
    font-size: 5vw;
  }

  .CheckItem_Display_Thumbnail {
    cursor: pointer;
    width: 5vh;
    height: 5vh;
    border-color: darkgray;
    border-width: 1px;
    border-style: solid;
    align-self: flex-end;
    margin-top: 1.2em;
  }

  .ChecksheetDataEntry1 {
    color: Black;
    background-color: #92f3fe;
    text-align: center;
    vertical-align: middle;
    border-color: Black;
    border-bottom-style: solid;
    border-width: 2px;
    transition: all 0.25s ease-in-out;
    margin: 0 5px 0 5px;
  }

  .ChecksheetDataEntry1:focus {
    outline: none;
    box-shadow: 0 0 10px #72bdfa;
    /*border: 5px solid #9ecaed;*/
    border: 5px solid #72bdfa;
    border-radius: 5px;
  }

  .ChecksheetDataEntryDisabled {
    color: Black;
    min-width: 5vw;
    text-align: center;
    vertical-align: middle;
    font-size: 1.2vw;
  }

  .ChecksheetDataEntry_Invalid {
    color: Black;
    background-color: #ff8080;
    text-align: center;
    vertical-align: middle;
  }

  .ChecksheetDataEntry_Valid {
    color: Black;
    background-color: #80ff80;
    text-align: center;
    vertical-align: middle;
  }

  .ChecksheetDataEntryWatermark1 {
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica,
      Verdana, sans-serif;
    background-color: #92f3fe;
    color: Gray;
    text-align: center;
    vertical-align: middle;
  }

  .checksheetSpacerDiv {
    flex-basis: 95%;
    flex-shrink: 0;
    flex-grow: 0;
    height: 20vh;
  }

  .checkItemControlsMedium {
    width: 5vw;
    height: 5vw;
  }

  .runtimeControlButtonContainerStyle {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 5vh;
  }

  .CheckItem_Base .filterCardContainer {
    position: absolute;
  }

  .CheckItem_Base .filterCardContainer .filterCard {
    max-width: 20vw;
    box-shadow: 2px 4px 14px 0px rgba(0, 0, 0, 0.75);
  }

  .CheckItem_Base .filterCardContainer .container > div {
    align-self: flex-start;
  }

  .CheckItem_Base .collapsedFilterCard > .currentValueDisplay {
    justify-content: center;
  }
}

/*portrait on smaller tablet*/

@media screen and (orientation: portrait) and (max-device-width: 1000px) {
  .CheckItem_Desc_Container {
    display: flex;
    flex-direction: row;
  }

  .CheckItem_Display_Desc {
    /*CheckItem*/
    /*font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;*/
    font-size: 2vh;
    color: Black;
  }

  .CheckItem_Display_ControlBtnIcons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 0.25vh;
  }

  .CheckItem_Display_ControlBtnIcons input {
    width: 3vh;
    height: 3vh;
    cursor: pointer;
    margin: 0 0.1vw 0 0.1vw;
    font-size: 2vh;
  }

  .CheckItem_Display_ControlBtnIcons img {
    width: 3vh;
    height: 3vh;
    cursor: pointer;
    margin: 0 0.1vw 0 0.1vw;
    font-size: 2vh;
  }

  .CheckItem_Display_SaveControls {
    min-width: 2vw;
    max-width: 15vw;
    display: flex;
    flex-direction: column;
    margin: 0 1vw 0 1vw;
  }

  .CheckItem_Display_SaveControls > button {
    margin-top: 1vh;
    font-size: 1.5vh;
    max-height: 4vh;
  }

  .CheckItem_Display_CommentTab {
    cursor: pointer;
    margin-top: 0px;
    position: relative;
    z-index: 10;
  }

  .CheckItem_Display_CommentTab pre {
    position: absolute;
    left: 1vw;
    font-size: 1.2vw;
  }

  .CheckItem_Display_CommentTab img {
    position: absolute;
    width: 2vw;
  }

  .CheckItem_Display_Contents_CSControlContainer img {
    cursor: pointer;
    width: 6vh;
    height: 6vh;
  }

  .CheckItem_Display_Contents_CSControlContainer .csPassButton {
    font-size: 4vh;
    /* color: lime; */
    width: 5vh;
    height: 5vh;
    border: solid 4px lime;
    border-radius: 2.5vh;
    text-align: center;
    cursor: pointer;
  }

  .CheckItem_Display_Contents_CSControlContainer .csFailButton {
    font-size: 4vh;
    /* color: red; */
    width: 5vh;
    height: 5vh;
    border: solid 4px red;
    border-radius: 2.5vh;
    text-align: center;
    cursor: pointer;
  }

  .ChecksheetDataEntry1 {
    min-width: 5vw;
    max-width: 10vw;
    font-size: 2vw;
  }

  .togleSelector {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /*background-color: lightgray;*/
    width: 35vw;
    justify-content: space-between;
    font-size: 2vh;
  }

  .togleSelector span {
    align-self: center;
  }

  .togleSelectorIcon {
    background-color: white;
    margin: 0px 0.2vw 0px 0.2vw;
    width: 3vh;
    height: 3vh;
    cursor: pointer;
  }

  .togleSelectorIcon_selected {
    margin: 0px 0.2vw 0px 0.2vw;
    width: 3vh;
    height: 3vh;
    cursor: pointer;
    background-color: gray;
  }

  .checkItemGroupHeaderIconCollapsed {
    border-top: 1.2vh solid #696969;
    border-bottom: 1.2vh solid transparent;
    border-left: 1.2vh solid transparent;
    border-right: 1.2vh solid transparent;
    margin: 0.6vh 0.5vh 0 0.5vh;
  }

  .checkItemGroupHeaderIconExpanded {
    border-bottom: 1.2vh solid #696969;
    border-top: 1.2vh solid transparent;
    border-left: 1.2vh solid transparent;
    border-right: 1.2vh solid transparent;
    margin: -0.6vh 0.5vh 0 0.5vh;
  }

  .checkItemControlsMedium {
    width: 5vw;
    height: 5vw;
  }

  .CheckItem_Display_ContentsBase {
    min-width: 15vw;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-left: 1vw;
  }

  .CheckItem_Display_Contents_CSControlContainer {
    display: flex;
    flex-direction: row;
    flex-grow: 3;
    flex-wrap: nowrap;
    justify-content: space-around;
  }

  .CheckItem_Display_Contents_TextRow {
    text-align: center;
    justify-content: center;
    align-content: center;
  }

  .CheckItem_Display_Contents_TextRow .sample-number {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.25px;
  }

  .CheckItem_Display_Contents_VARControlContainer {
    display: flex;
    flex-direction: column;
    min-width: 20vw;
    max-width: 35vw;
    margin-top: 1vh;
  }

  .CheckItem_Display_Contents_VARControlContainer > div {
    margin-top: 0.34vh;
  }

  /* .CheckItem_Display_Contents_SpecContainer {
    max-width: 85%;
  } */

  .CheckItem_Display_Contents_CommentContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    min-width: 20vw;
    max-width: 35vw;
    /*margin-top: 1vh;*/
    margin: 0 0 0 1vw;
  }

  .CheckItem_Display_Contents_CommentContainer .fileAttach {
    border-style: dashed;
    border-radius: 1vw 1vw;
    width: 15vw;
    height: 15vh;
    justify-content: center;
    text-align: center;
    margin: 0 0 0 1vw;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer {
    position: fixed;
    top: 35vh;
    left: 35vw;
    width: 15vw;
    height: 15vh;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .dropshadow {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.8;
    z-index: 1000;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideo {
    position: fixed;
    width: 70vw;
    height: 70vh;
    top: 10vh;
    left: 15vw;
    background-color: white;
    z-index: 1100;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
    border-radius: 1vh;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideo
    .fileUploadVideoHeader {
    width: 99%;
    display: flex;
    flex-direction: row-reverse;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideo
    .fileUploadVideoHeader
    .closeBtn {
    color: grey;
    background-color: white;
    font-weight: 600;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 3vh;
    cursor: pointer;
    height: 3vh;
    text-align: center;
    min-width: 2vw;
    padding-left: 0;
    padding-right: 0;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideoContents {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .checkItemControlInstructions {
    max-width: 20vw;
    text-wrap: normal;
    /*display: flex;
    flex-direction: column;*/
    font-size: 0.8vw;
    /*align-self: center;*/
    margin-left: 1.4vw;
  }

  .checkItemControlInstructions div {
    display: flex;
    flex-direction: column;
  }

  .CheckItem_Display_NAContents {
    font-size: 5vw;
  }

  .CheckItem_Display_Thumbnail {
    cursor: pointer;
    width: 5vh;
    height: 5vh;
    border-color: darkgray;
    border-width: 1px;
    border-style: solid;
    align-self: flex-end;
    margin-top: 1.2em;
  }

  .ChecksheetDataEntry1 {
    color: Black;
    background-color: #92f3fe;
    text-align: center;
    vertical-align: middle;
    border-color: Black;
    border-bottom-style: solid;
    border-width: 2px;
    transition: all 0.25s ease-in-out;
    margin: 0 5px 0 5px;
  }

  .ChecksheetDataEntry1:focus {
    outline: none;
    box-shadow: 0 0 10px #72bdfa;
    /*border: 5px solid #9ecaed;*/
    border: 5px solid #72bdfa;
    border-radius: 5px;
  }

  .ChecksheetDataEntryDisabled {
    color: Black;
    min-width: 5vw;
    text-align: center;
    vertical-align: middle;
    font-size: 1.2vw;
  }

  .ChecksheetDataEntry_Invalid {
    color: Black;
    background-color: #ff8080;
    text-align: center;
    vertical-align: middle;
  }

  .ChecksheetDataEntry_Valid {
    color: Black;
    background-color: #80ff80;
    text-align: center;
    vertical-align: middle;
  }

  .ChecksheetDataEntryWatermark1 {
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica,
      Verdana, sans-serif;
    background-color: #92f3fe;
    color: Gray;
    text-align: center;
    vertical-align: middle;
  }

  .checksheetSpacerDiv {
    flex-basis: 95%;
    flex-shrink: 0;
    flex-grow: 0;
    height: 20vh;
  }

  .checkItemControlsMedium {
    width: 5vw;
    height: 5vw;
  }

  .runtimeControlButtonContainerStyle {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 5vh;
  }

  .CheckItem_Base .filterCardContainer {
    position: absolute;
  }

  .CheckItem_Base .filterCardContainer .filterCard {
    max-width: 20vw;
    box-shadow: 2px 4px 14px 0px rgba(0, 0, 0, 0.75);
  }

  .CheckItem_Base .filterCardContainer .container > div {
    align-self: flex-start;
  }

  .CheckItem_Base .collapsedFilterCard > .currentValueDisplay {
    justify-content: center;
  }
}

/*phone screen in portrait*/

@media only screen and (min-device-width: 300px) and (max-device-width: 700px) {
  .CheckItem_Desc_Container {
    display: flex;
    flex-direction: row;
  }

  .CheckItem_Display_Desc {
    /*CheckItem*/
    font-family: inherit;
    font-size:1.8rem;
    color: #696969ck;
  }

  .CheckItem_Display_ControlBtnIcons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 0.25vh;
  }

  .CheckItem_Display_ControlBtnIcons input {
    width: 6vw;
    height: 6vw;
    cursor: pointer;
    margin: 0 1vw 0 1vw;
    font-size: 4vw;
  }

  .CheckItem_Display_ControlBtnIcons img {
    width: 6vw;
    height: 6vw;
    cursor: pointer;
    margin: 0 1vw 0 1vw;
    font-size: 4vw;
  }

  .CheckItem_Display_ControlBtnIcons .fontIcon {
    /* width: 6vw; */
    height: 6vw;
    cursor: pointer;
    margin: 0 0.1vw 0 0.1vw;
    /* font-size: 6vw; */
    font-size: 1.8rem;
  }

  .CheckItem_Display_CommentTab {
    cursor: pointer;
    margin-top: 0px;
    position: relative;
    z-index: 10;
  }

  .CheckItem_Display_CommentTab pre {
    z-index: 15;
    position: absolute;
    left: 1vw;
    font-size: 2vw;
  }

  .CheckItem_Display_CommentTab img {
    position: absolute;
    z-index: 10;
    width: 3vw;
  }

  .CheckItem_Display_ContentsBase {
    min-width: 80vw;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-left: 1vw;
  }

  .CheckItem_Display_SaveControls {
    min-width: 10vw;
    max-width: 70vw;
    display: flex;
    flex-direction: column;
    margin: 0 1vw 0 1vw;
  }

  .CheckItem_Display_SaveControls > button {
    margin-top: 1vh;
    font-size: 1.2rem;
    padding: 5px 10px;
    width: 100%;
  }

  .CheckItem_Display_Contents_CSControlContainer {
    display: flex;
    flex-direction: row;
    flex-grow: 3;
    flex-wrap: nowrap;
    justify-content: space-around;
  }

  .CheckItem_Display_Contents_CSControlContainer img {
    cursor: pointer;
    width: 10vw;
    height: 10vw;
  }

  .CheckItem_Display_Contents_CSControlContainer .csPassButton {
    font-size: 12vw;
    /* color: lime; */
    width: 14vw;
    height: 14vw;
    border: solid 4px lime;
    border-radius: 6.5vw;
    text-align: center;
    cursor: pointer;
  }

  .CheckItem_Display_Contents_CSControlContainer .csFailButton {
    font-size: 12vw;
    /* color: red; */
    width: 14vw;
    height: 14vw;
    border: solid 4px red;
    border-radius: 6.5vw;
    text-align: center;
    cursor: pointer;
  }

  .CheckItem_Display_Contents_TextRow {
    text-align: center;
    justify-content: center;
    align-content: center;
  }

  .CheckItem_Display_Contents_TextRow .sample-number {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.25px;
  }

  .CheckItem_Display_Contents_VARControlContainer {
    display: flex;
    flex-direction: column;
    min-width: 20vw;
    max-width: 35vw;
    margin-top: 1vh;
  }

  .CheckItem_Display_Contents_VARControlContainer > div {
    margin-top: 0.34vh;
  }

  /* .CheckItem_Display_Contents_SpecContainer {
    max-width: 85%;
  } */

  .CheckItem_Display_Contents_CommentContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    min-width: 20vw;
    max-width: 35vw;
    /*margin-top: 1vh;*/
    margin: 0 0 0 1vw;
  }

  .CheckItem_Display_Contents_CommentContainer .fileAttach {
    border-style: dashed;
    border-radius: 1vw 1vw;
    width: 15vw;
    height: 15vh;
    justify-content: center;
    text-align: center;
    margin: 0 0 0 1vw;
  }

  .togleSelector {
    width: 0vw;
    height: 0vh;
    display: none;
  }

  .togleSelector span {
    align-self: center;
  }

  .togleSelectorIcon {
    display: none;
  }

  .togleSelectorIcon_selected {
    display: none;
  }

  .checkItemControlInstructions {
    max-width: 20vw;
    text-wrap: normal;
    /*display: flex;
    flex-direction: column;*/
    font-size: 0.8vw;
    /*align-self: center;*/
    margin-left: 1.4vw;
  }

  .checkItemControlInstructions div {
    display: flex;
    flex-direction: column;
  }

  .CheckItem_Display_NAContents {
    font-size: 5vw;
  }

  .CheckItem_Display_Thumbnail {
    cursor: pointer;
    width: 5vh;
    height: 5vh;
    border-color: darkgray;
    border-width: 1px;
    border-style: solid;
    align-self: flex-end;
    margin-top: 1.2em;
  }

  .ChecksheetDataEntry1 {
    color: #696969;
    background-color: #92f3fe;
    min-width: 5vw;
    max-width: 30vw;
    /*height:35%;*/
    text-align: center;
    vertical-align: middle;
    /*font-size: xx-large;*/
    font-size: 1.6rem;
    border-color: #696969;
    border-bottom-style: solid;
    border-width: 1px;
    transition: all 0.25s ease-in-out;
  }

  .ChecksheetDataEntry1:focus {
    outline: none;
    box-shadow: 0 0 10px #72bdfa;
    /*border: 5px solid #9ecaed;*/
    border: 5px solid #72bdfa;
    border-radius: 5px;
  }

  .ChecksheetDataEntryDisabled {
    color: Black;
    min-width: 5vw;
    text-align: center;
    vertical-align: middle;
    font-size: 1.2vw;
  }

  .ChecksheetDataEntry_Invalid {
    color: Black;
    background-color: #ff8080;
    text-align: center;
    vertical-align: middle;
  }

  .ChecksheetDataEntry_Valid {
    color: Black;
    background-color: #80ff80;
    text-align: center;
    vertical-align: middle;
  }

  .ChecksheetDataEntryWatermark1 {
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica,
      Verdana, sans-serif;
    background-color: #92f3fe;
    color: Gray;
    text-align: center;
    vertical-align: middle;
  }

  .checksheetSpacerDiv {
    flex-basis: 95%;
    flex-shrink: 0;
    flex-grow: 0;
    height: 20vh;
  }

  .checkItemControlsMedium {
    width: 4vh;
    height: 4vh;
  }

  .CheckItem_Display_ContentsBase {
    min-width: 15vw;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-left: 1vw;
  }

  .CheckItem_Display_Contents_CSControlContainer {
    display: flex;
    flex-direction: row;
    flex-grow: 3;
    flex-wrap: nowrap;
    justify-content: space-around;
  }

  .CheckItem_Display_Contents_TextRow {
    text-align: center;
    justify-content: center;
    align-content: center;
    font-size: 1.3vh;
  }

  .CheckItem_Display_Contents_TextRow .sample-number {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.25px;
  }
  
  .CheckItem_Display_Contents_VARControlContainer {
    display: flex;
    flex-direction: column;
    min-width: 20vw;
    max-width: 35vw;
    margin-top: 1vh;
  }

  .CheckItem_Display_Contents_VARControlContainer > div {
    margin-top: 0.34vh;
  }

  /* .CheckItem_Display_Contents_SpecContainer {
    max-width: 85%;
  } */

  .CheckItem_Display_Contents_CommentContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    min-width: 20vw;
    max-width: 35vw;
    /*margin-top: 1vh;*/
    margin: 0 0 0 1vw;
  }

  .CheckItem_Display_Contents_CommentContainer .fileAttach {
    border-style: dashed;
    border-radius: 1vw 1vw;
    width: 15vw;
    height: 15vh;
    justify-content: center;
    text-align: center;
    margin: 0 0 0 1vw;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer {
    position: fixed;
    top: 35vh;
    left: 35vw;
    width: 15vw;
    height: 15vh;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .dropshadow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.3;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideo {
    z-index: 1000;
    position: relative;
    width: 450px;
    height: 300px;
    background-color: white;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideo
    .fileUploadVideoHeader {
    width: 450px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }

  .CheckItem_Display_Contents_CommentContainer
    .fileAttach
    .fileUploadVideoContainer
    .fileUploadVideo
    .fileUploadVideoHeader
    .closeBtn {
    /*color: black;*/
    cursor: pointer;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    height: 3vh;
    font-weight: 600;
    text-align: center;
  }

  .checkItemControlInstructions {
    max-width: 20vw;
    text-wrap: normal;
    /*display: flex;
    flex-direction: column;*/
    font-size: 0.8vw;
    /*align-self: center;*/
    margin-left: 1.4vw;
  }

  .checkItemControlInstructions div {
    display: flex;
    flex-direction: column;
  }

  .CheckItem_Display_NAContents {
    font-size: 5vw;
  }

  .CheckItem_Display_Thumbnail {
    cursor: pointer;
    width: 5vh;
    height: 5vh;
    border-color: darkgray;
    border-width: 1px;
    border-style: solid;
    align-self: flex-end;
    margin-top: 1.2em;
  }

  .ChecksheetDataEntry1 {
    color: Black;
    background-color: #92f3fe;
    text-align: center;
    vertical-align: middle;
    border-color: Black;
    border-bottom-style: solid;
    border-width: 2px;
    transition: all 0.25s ease-in-out;
    margin: 0 5px 0 5px;
  }

  .ChecksheetDataEntry1:focus {
    outline: none;
    box-shadow: 0 0 10px #72bdfa;
    /*border: 5px solid #9ecaed;*/
    border: 5px solid #72bdfa;
    border-radius: 5px;
  }

  .ChecksheetDataEntryDisabled {
    color: Black;
    min-width: 5vw;
    text-align: center;
    vertical-align: middle;
    font-size: 1.2vw;
  }

  .ChecksheetDataEntry_Invalid {
    color: Black;
    background-color: #ff8080;
    text-align: center;
    vertical-align: middle;
  }

  .ChecksheetDataEntry_Valid {
    color:#696969;
    background-color: #80ff80;
    text-align: center;
    vertical-align: middle;
    outline: none;
    border: 1px solid #696969;
  }

  .ChecksheetDataEntryWatermark1 {
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica,
      Verdana, sans-serif;
    background-color: #92f3fe;
    color: Gray;
    text-align: center;
    vertical-align: middle;
  }

  .checksheetSpacerDiv {
    flex-basis: 95%;
    flex-shrink: 0;
    flex-grow: 0;
    height: 20vh;
  }

  .checkItemControlsMedium {
    width: 5vw;
    height: 5vw;
  }

  .CheckItem_Base .filterCardContainer {
    position: absolute;
  }

  .CheckItem_Base .filterCardContainer .filterCard {
    max-width: 20vw;
    box-shadow: 2px 4px 14px 0px rgba(0, 0, 0, 0.75);
  }

  .CheckItem_Base .filterCardContainer .container > div {
    align-self: flex-start;
  }

  .CheckItem_Base .collapsedFilterCard > .currentValueDisplay {
    justify-content: center;
  }
}

/*
    Style changes based on control size selection
*/

/*phonse screen in portrait*/

@media only screen and (min-device-width: 300px) and (max-device-width: 700px) {
  .smallCheckItem .CheckItem_Base {
    flex-grow: 0;
    min-height: 20vh;
  }

  .smallCheckItem textarea {
    font-size: 2vh;
  }

  .smallCheckItem .checkItemControlInstructions {
    max-width: 26vw;
  }

  .mediumCheckItem .checkItemControlInstructions {
    width: 15vw;
  }

  .mediumCheckItem textarea {
    font-size: 2vh;
  }

  .largeCheckItem .checkItemControlInstructions {
    width: 30vw;
  }

  .largeCheckItem textarea {
    font-size: 2vh;
  }

  .flex .checkItemControlInstructions {
    max-width: 20vw;
  }

  .flex textarea {
    font-size: 2vh;
  }

  .condensedCheckItem .checkItemControlInstructions {
    max-width: 92vw;
    width: 92vw;
  }

  .condensedCheckItem .CheckItem_Base {
    flex-wrap: nowrap;
    display: flex;
    /*flex-grow: 1;*/
    max-height: 6vh;
  }

  .condensedCheckItem .CheckItem_Base_Header {
    max-width: 32vw;
  }

  .condensedCheckItem .CheckItem_Base_ContentsRow {
    max-width: 32vw;
    /*flex-grow: 0;*/
    /*flex-shrink: 1;*/
  }

  .condensedCheckItem .CheckItem_Base_ContentsRow {
    margin-top: 0;
    margin-bottom: 0;
  }

  .condensedCheckItem .CheckItem_Display_ContentsBase {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .condensedCheckItem .CheckItem_Display_Contents_CSControlContainer img {
    cursor: pointer;
    width: 5vh;
    height: 5vh;
  }

  .condensedCheckItem .CheckItem_Display_Contents_VARControlContainer {
    margin-top: 0;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .condensedCheckItem .CheckItem_Display_NAContents {
    font-size: 5vh;
  }

  .condensedCheckItem .checkItemControlInstructions {
    max-width: 90vw;
    text-wrap: normal;
    /*display: flex;
    flex-direction: column;*/
    font-size: 0.8vw;
    /*align-self: center;*/
    margin-left: 1.4vw;
  }

  .condensedCheckItem .checkItemControlInstructions div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .condensedCheckItem .CheckItem_Display_Thumbnail {
    width: 5vh;
    height: 5vh;
    border-color: darkgray;
    border-width: 1px;
    border-style: solid;
  }

  .condensedCheckItem .CheckItem_Display_SaveControls > button {
    font-size: 0.5vw;
  }

  .successAnimationDiv {
    position: fixed;
    z-index: 2000;
    width: 20vw;
    height: 20vw;
    top: 40vh;
    left: 40vw;
  }

  .successAnimationDiv > img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    align-content: center;
  }

  .successCheckHidden {
    display: none;
  }

  .successCheckShown {
    animation: successCheck 500ms forwards ease-in-out;
    -webkit-animation: successCheck 500ms forwards ease-in-out;
  }
}

/*portrait on larger tablet*/

@media only screen and (orientation: portrait) and (min-device-width: 1000px) {
  /*.smallCheckItem .CheckItem_Base {
        flex-grow: 0;
        min-height: 20vh;
    }*/
  .smallCheckItem textarea {
    font-size: 2vh;
  }

  .smallCheckItem .checkItemControlInstructions {
    max-width: 26vw;
  }

  .mediumCheckItem .checkItemControlInstructions {
    width: 15vw;
  }

  .mediumCheckItem textarea {
    font-size: 2vh;
  }

  .largeCheckItem .checkItemControlInstructions {
    width: 30vw;
  }

  .largeCheckItem textarea {
    font-size: 2vh;
  }

  .flex .checkItemControlInstructions {
    max-width: 20vw;
  }

  .flex textarea {
    font-size: 2vh;
  }

  .condensedCheckItem .checkItemControlInstructions {
    max-width: 92vw;
    width: 92vw;
  }

  .condensedCheckItem .CheckItem_Base {
    flex-wrap: nowrap;
    display: flex;
    /*flex-grow: 1;*/
    max-height: 6vh;
  }

  .condensedCheckItem .CheckItem_Base_Header {
    max-width: 40vw;
  }

  .condensedCheckItem .CheckItem_Display_Desc {
    font-size: 2vw;
    overflow: hidden;
  }

  .condensedCheckItem .CheckItem_Base_ContentsRow {
    margin-top: 0;
    margin-bottom: 0;
    flex: 1 0 40vw;
  }

  .condensedCheckItem .CheckItem_Display_ContentsBase {
    flex-direction: row;
    flex-wrap: nowrap;
    margin-left: 3vh;
  }

  .condensedCheckItem .CheckItem_Display_SaveControls {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
  }

  .condensedCheckItem .CheckItem_Display_Contents_CSControlContainer img {
    cursor: pointer;
    width: 5vh;
    height: 5vh;
  }

  .condensedCheckItem .CheckItem_Display_Contents_VARControlContainer {
    margin-top: 0;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .condensedCheckItem .CheckItem_Display_NAContents {
    font-size: 5vh;
  }

  .condensedCheckItem .checkItemControlInstructions {
    max-width: 90vw;
    text-wrap: normal;
    /*display: flex;
    flex-direction: column;*/
    font-size: 0.8vw;
    /*align-self: center;*/
    margin-left: 1.4vw;
  }

  .condensedCheckItem .checkItemControlInstructions div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .condensedCheckItem .CheckItem_Display_Thumbnail {
    width: 5vh;
    height: 5vh;
    border-color: darkgray;
    border-width: 1px;
    border-style: solid;
  }

  .condensedCheckItem .CheckItem_Display_SaveControls > button {
    font-size: 2vw;
    min-height: 2.3vw;
    max-height: 5vw;
    margin-right: 1vh;
  }

  .condensedCheckItem .checkItemControlsMedium {
    width: 5vw;
    height: 5vw;
  }

  .condensedCheckItem .runtimeControlButtonContainerStyle {
    margin-top: 0;
  }

  .successAnimationDiv {
    position: fixed;
    z-index: 2000;
    width: 20vw;
    height: 20vw;
    top: 40vh;
    left: 40vw;
  }

  .successAnimationDiv > img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    align-content: center;
  }

  .successCheckHidden {
    display: none;
  }

  .successCheckShown {
    animation: successCheck 500ms forwards ease-in-out;
    -webkit-animation: successCheck 500ms forwards ease-in-out;
  }
}

/*portrait on smaller tablet*/

@media only screen and (orientation: portrait) and (max-device-width: 1000px) {
  .condensedCheckItem .CheckItem_Display_CommentTab {
    width: 3vh;
    height: 3h;
  }

  .condensedCheckItem .CheckItem_Display_CommentTab img {
    width: 3vh;
    height: 3vh;
    cursor: pointer;
  }

  /*.smallCheckItem .CheckItem_Base {
        flex-grow: 0;
        min-height: 20vh;
    }*/
  .smallCheckItem textarea {
    font-size: 2vh;
  }

  .smallCheckItem .checkItemControlInstructions {
    max-width: 26vw;
  }

  .mediumCheckItem .checkItemControlInstructions {
    width: 15vw;
  }

  .mediumCheckItem textarea {
    font-size: 2vh;
  }

  .largeCheckItem .checkItemControlInstructions {
    width: 30vw;
  }

  .largeCheckItem textarea {
    font-size: 2vh;
  }

  .flex .checkItemControlInstructions {
    max-width: 20vw;
  }

  .flex textarea {
    font-size: 2vh;
  }

  .condensedCheckItem .checkItemControlInstructions {
    max-width: 92vw;
    width: 92vw;
  }

  .condensedCheckItem .CheckItem_Base {
    flex-wrap: nowrap;
    display: flex;
    /*flex-grow: 1;*/
    max-height: 6vh;
  }

  .condensedCheckItem .CheckItem_Base_Header {
    max-width: 32vw;
  }

  .condensedCheckItem .CheckItem_Display_Desc {
    font-size: 2vw;
    overflow: hidden;
  }

  .condensedCheckItem .CheckItem_Base_ContentsRow {
    margin-top: 0;
    margin-bottom: 0;
    flex: 1 0 40vw;
  }

  .condensedCheckItem .CheckItem_Base_ContentsRow {
    margin-top: 0;
    margin-bottom: 0;
  }

  .condensedCheckItem .CheckItem_Display_ContentsBase {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .condensedCheckItem .CheckItem_Display_SaveControls {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
  }

  .condensedCheckItem .CheckItem_Display_Contents_CSControlContainer img {
    cursor: pointer;
    width: 5vh;
    height: 5vh;
  }

  .condensedCheckItem .CheckItem_Display_Contents_VARControlContainer {
    margin-top: 0;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .condensedCheckItem .CheckItem_Display_NAContents {
    font-size: 5vh;
  }

  .condensedCheckItem .checkItemControlInstructions {
    max-width: 90vw;
    text-wrap: normal;
    /*display: flex;
    flex-direction: column;*/
    font-size: 0.8vw;
    /*align-self: center;*/
    margin-left: 1.4vw;
  }

  .condensedCheckItem .checkItemControlInstructions div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .condensedCheckItem .CheckItem_Display_Thumbnail {
    width: 5vh;
    height: 5vh;
    border-color: darkgray;
    border-width: 1px;
    border-style: solid;
  }

  .condensedCheckItem .CheckItem_Display_SaveControls > button {
    font-size: 2vw;
    min-height: 2.3vw;
    max-height: 5vw;
    margin-right: 1vh;
  }

  .condensedCheckItem .checkItemControlsMedium {
    width: 5vw;
    height: 5vw;
  }

  .condensedCheckItem .runtimeControlButtonContainerStyle {
    margin-top: 0;
  }

  .successAnimationDiv {
    position: fixed;
    z-index: 2000;
    width: 20vw;
    height: 20vw;
    top: 40vh;
    left: 40vw;
  }

  .successAnimationDiv > img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    align-content: center;
  }

  .successCheckHidden {
    display: none;
  }

  .successCheckShown {
    animation: successCheck 500ms forwards ease-in-out;
    -webkit-animation: successCheck 500ms forwards ease-in-out;
  }
}

/*normal landscape*/

@media only screen and (orientation: landscape) and (min-device-width: 700px) {
  .condensedCheckItem .CheckItem_Display_CommentTab {
    width: 1.4vw;
    height: 1.4vw;
  }

  .condensedCheckItem .CheckItem_Display_CommentTab img {
    width: 1.4vw;
    height: 1.4vw;
    cursor: pointer;
  }

  .smallCheckItem .CheckItem_Base {
    flex-grow: 0;
    min-height: 20vh;
    box-shadow: rgb(100 100 111/25%) 0 3px 50px 0.5px;
    border-radius: 8px;
    height: 100%;
  }

  .smallCheckItem textarea {
    font-size: 2vh;
  }

  .smallCheckItem .checkItemControlInstructions {
    width: 32.1vw;
    max-width: 32.1vw;
  }

  .mediumCheckItem .checkItemControlInstructions {
    width: 48.5vw;
    max-width: 48.5vw;
  }

  .mediumCheckItem textarea {
    font-size: 2vh;
  }

  .largeCheckItem .checkItemControlInstructions {
    width: 30vw;
  }

  .largeCheckItem textarea {
    font-size: 2vh;
  }

  .largeCheckItem .checkItemControlInstructions {
    width: 98vw;
    max-width: 98vw;
  }

  .flex .checkItemControlInstructions {
    width: inherit;
    max-width: inherit;
  }

  .flex textarea {
    font-size: 2vh;
  }

  /*.condensedCheckItem .checkItemControlInstructions {
        width: 98vw;
        max-width: 98vw;
    }*/
  .condensedCheckItem .CheckItem_Base {
    flex-wrap: nowrap;
    display: flex;
    /*flex-grow: 1;*/
    min-height: 6vh;
  }

  .condensedCheckItem .CheckItem_Base_Header {
    max-width: 32vw;
  }

  .condensedCheckItem .CheckItem_Base_ContentsRow {
    max-width: 32vw;
    /*flex-grow: 0;*/
    /*flex-shrink: 1;*/
  }

  .condensedCheckItem .CheckItem_Base_ContentsRow {
    margin-top: 0;
    margin-bottom: 0;
  }

  .condensedCheckItem .CheckItem_Display_ContentsBase {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .condensedCheckItem .CheckItem_Display_Contents_CSControlContainer img {
    cursor: pointer;
    width: 5vh;
    height: 5vh;
  }

  .condensedCheckItem
    .CheckItem_Display_Contents_CSControlContainer
    .csPassButton {
    cursor: pointer;
    font-size: 4vh;
    width: 5vh;
    height: 5vh;
    border: solid 3px lime;
    border-radius: 2.5vh;
    text-align: center;
  }

  .condensedCheckItem
    .CheckItem_Display_Contents_CSControlContainer
    .csFailButton {
    cursor: pointer;
    font-size: 4vh;
    width: 5vh;
    height: 5vh;
    border: solid 3px red;
    border-radius: 2.5vh;
    text-align: center;
  }

  .condensedCheckItem .CheckItem_Display_Contents_VARControlContainer {
    margin-top: 0;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .condensedCheckItem .CheckItem_Display_NAContents {
    font-size: 5vh;
  }

  .condensedCheckItem .checkItemControlInstructions {
    width: 98vw;
    max-width: 98vw;
    text-wrap: normal;
    font-size: 0.8vw;
  }

  .condensedCheckItem .checkItemControlInstructions div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .condensedCheckItem .CheckItem_Display_Thumbnail {
    width: 5vh;
    height: 5vh;
    border-color: darkgray;
    border-width: 1px;
    border-style: solid;
  }

  .condensedCheckItem .CheckItem_Display_SaveControls > button {
    font-size: 0.5vw;
  }

  .condensedCheckItem .checkItemControlsMedium {
    width: 5vh;
    height: 5vh;
  }

  .condensedCheckItem .runtimeControlButtonContainerStyle {
    margin-top: 0;
  }

  .successAnimationDiv {
    position: fixed;
    z-index: 2000;
    width: 20vw;
    height: 20vw;
    top: 40vh;
    left: 40vw;
  }

  .successAnimationDiv > img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    align-content: center;
  }

  .successCheckHidden {
    display: none;
  }

  .successCheckShown {
    animation: successCheck 500ms forwards ease-in-out;
    -webkit-animation: successCheck 500ms forwards ease-in-out;
  }
}

@keyframes successCheck {
  from {
    opacity: 0;
    transform: scale(1);
    -webkit-transform: scale(1);
    top: 39vh;
    left: 39vw;
  }

  20% {
    opacity: 0.9;
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    top: 38vh;
    left: 38vw;
  }

  600% {
    opacity: 0.9;
    transform: scale(1.4);
    -webkit-transform: scale(1.4);
    top: 36vh;
    left: 36vw;
  }

  95% {
    opacity: 0.1;
    transform: scale(1.4);
    -webkit-transform: scale(1.4);
    top: 36vh;
    left: 36vw;
  }

  to {
    opacity: 0;
    transform: scale(1.4);
    -webkit-transform: scale(1.4);
    top: 36vh;
    left: 36vw;
  }
}

/*CSS CLasses for the React-date-picker*/

/* DayPicker styles */

.DayPicker {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  padding: 1rem 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

.DayPicker-Month {
  display: table;
  border-collapse: collapse;
  border-spacing: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0 1rem;
}

.DayPicker-NavBar {
  position: absolute;
  left: 0;
  right: 0;
  padding: 0 0.5rem;
  top: 1rem;
}

.DayPicker-NavButton {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
}

.DayPicker-NavButton--prev {
  left: 1rem;
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI2cHgiIGhlaWdodD0iNTBweCIgdmlld0JveD0iMCAwIDI2IDUwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy4zLjIgKDEyMDQzKSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5wcmV2PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9InByZXYiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEzLjM5MzE5MywgMjUuMDAwMDAwKSBzY2FsZSgtMSwgMSkgdHJhbnNsYXRlKC0xMy4zOTMxOTMsIC0yNS4wMDAwMDApIHRyYW5zbGF0ZSgwLjg5MzE5MywgMC4wMDAwMDApIiBmaWxsPSIjNTY1QTVDIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAsNDkuMTIzNzMzMSBMMCw0NS4zNjc0MzQ1IEwyMC4xMzE4NDU5LDI0LjcyMzA2MTIgTDAsNC4yMzEzODMxNCBMMCwwLjQ3NTA4NDQ1OSBMMjUsMjQuNzIzMDYxMiBMMCw0OS4xMjM3MzMxIEwwLDQ5LjEyMzczMzEgWiIgaWQ9InJpZ2h0IiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K");
}

.DayPicker-NavButton--next {
  right: 1rem;
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI2cHgiIGhlaWdodD0iNTBweCIgdmlld0JveD0iMCAwIDI2IDUwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy4zLjIgKDEyMDQzKSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5uZXh0PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9Im5leHQiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuOTUxNDUxLCAwLjAwMDAwMCkiIGZpbGw9IiM1NjVBNUMiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCw0OS4xMjM3MzMxIEwwLDQ1LjM2NzQzNDUgTDIwLjEzMTg0NTksMjQuNzIzMDYxMiBMMCw0LjIzMTM4MzE0IEwwLDAuNDc1MDg0NDU5IEwyNSwyNC43MjMwNjEyIEwwLDQ5LjEyMzczMzEgTDAsNDkuMTIzNzMzMSBaIiBpZD0icmlnaHQiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=");
}

.DayPicker-Caption {
  display: table-caption;
  height: 1.5rem;
  text-align: center;
}

.DayPicker-Weekdays {
  display: table-header-group;
}

.DayPicker-WeekdaysRow {
  display: table-row;
}

.DayPicker-Weekday {
  display: table-cell;
  padding: 0.5rem;
  font-size: 0.875em;
  text-align: center;
  color: #8b9898;
}

.DayPicker-Body {
  display: table-row-group;
}

.DayPicker-Week {
  display: table-row;
}

.DayPicker-Day {
  display: table-cell;
  padding: 0.5rem;
  border: 1px solid #eaecec;
  text-align: center;
  cursor: pointer;
  vertical-align: middle;
}

.DayPicker-WeekNumber {
  display: table-cell;
  padding: 0.5rem;
  text-align: right;
  vertical-align: middle;
  min-width: 1rem;
  font-size: 0.75em;
  cursor: pointer;
  color: #8b9898;
}

.DayPicker--interactionDisabled .DayPicker-Day {
  cursor: default;
}

.DayPicker-Footer {
  display: table-caption;
  caption-side: bottom;
  padding-top: 0.5rem;
}

.DayPicker-TodayButton {
  border: none;
  background-image: none;
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
  cursor: pointer;
  color: #4a90e2;
  font-size: 0.875em;
}

/* Default modifiers */

.DayPicker-Day--today {
  color: #d0021b;
  font-weight: 500;
}

.DayPicker-Day--disabled {
  color: #dce0e0;
  cursor: default;
  background-color: #eff1f1;
}

.DayPicker-Day--outside {
  cursor: default;
  color: #dce0e0;
}

/* Example modifiers */

.DayPicker-Day--sunday {
  background-color: #f7f8f8;
}

.DayPicker-Day--sunday:not(.DayPicker-Day--today) {
  color: #dce0e0;
}

.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) {
  color: #fff;
  background-color: #4a90e2;
}

/* DayPickerInput */

.DayPickerInput {
  display: inline-block;
}

.DayPickerInput-OverlayWrapper {
  position: relative;
}

.DayPickerInput-Overlay {
  left: 0;
  position: absolute;
  background: white;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Comment Entry Display */

/*normal landscape*/

.commentDisplayBase .icon-landscape {
  display: none;
}

@media only screen and (orientation: landscape) and (min-device-width: 700px) {
  .commentDisplayBase {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: fixed;
    width: 60vw;
    height: 60vh;
    
    top: 20vh;
    left: 20vw;
    background-color: white;
    z-index: 412;
    justify-content: space-around;
    /* box-shadow: -3px 3px 3px grey; */
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 8px;
    /*padding: 5px;*/
    /* border-radius: 1vh; */
  }

  /*AUG 2022 - MOVED TO COMMENT DISPLAY FILE AS STYLED COMPONENT
  /* .commentDisplayBase .commentDisplayHeader {
    flex: 0 0 95%;
    /* height: 4vh; */
    /* font-size: 3vh;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 10px;
    padding: 5px 10px 0; */
  /* } 

  .commentDisplayBase .commentCloseBtn { */
    /*background-color: #7986CB;
            color: white;
            min-width: 2vw;
            text-align: center;
            font-weight: 200;*/
    /* color: grey;
    background-color: white;
    font-weight: 600; */
    /* border: 2px solid red;
    border-radius: 1vh; */
    /* font-size: 2.3vh;
    width: 2vw;
    cursor: pointer;
    height: 3vh;
    text-align: center;
    min-width: 2vw;
    padding-left: 0;
    padding-right: 0;
  } */

  /* .commentDisplayBase .commentSaveBtn {
    /*width: 3vw;*/
    /* background-color: #7986cb;
    min-width: 2vh;
    max-width: 8vw;
    text-align: center; */
  /* } */ 

  .commentDisplayBase .contents {
    box-sizing: border-box;
    padding-top: 5px;
    /* padding-left: 5px;
    padding-right: 5px; */
    flex: 0 0 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    max-height: 25vh; 
   }

  .commentDisplayBase .contents > div {
    flex: 1 0 48%;
  }

  .fileUploadVideoContainer .dropShadow {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.8;
    z-index: 300;
  }

  .commentAttachmentHeader {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    text-align: start;
    font-weight: 600;
  }

  .commentDisplayContainer {
  }

  .commentDisplayContainer .fontIcon {
    font-size: 3vh;
    cursor: pointer;
  }

  .commentDisplayContainer .dropShadow {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.3;
    z-index: 300;
  }

  .commentDisplayBase .fileAttachmentArea {
    border: 3px dashed gray;
    text-align: center;
    border-radius: 10px;
    font-size: 1.5vh;
    justify-content: flex-start;
    padding: 5px;
  }

  .commentDisplayBase > div {
    flex: 1 0 40%;
    max-height: 28vh;
    overflow-y: auto;
    /*display: flex;
        flex-direction: column;*/
    justify-content: space-between;
  }

  .commentDisplayBase textarea {
    font-size: calc(1.5vh * var(--font-size, 1));
    width: 80%;
  }

  .commentDisplayBase .gridTableLight {
    width: 90%;
    font-size: calc(0.8em * var(--font-size, 1));
  }

  .commentDisplayBase .gridRowLight {
    justify-content: flex-start;
  }

  .commentDisplayBase .gridHeaderEditCellLight {
    flex: 0 0 5%;
  }

  .commentDisplayBase .gridHeaderCellLight {
    flex: 1 1 15%;
    font-weight: 600;
    border-bottom: solid 1px grey;
    margin: 1px;
  }

  .commentDisplayBase .gridCellLight {
    margin: 1px;
    flex: 1 1 15%;
  }

  .commentDisplayBase .attachmentOpenIcon {
    width: 2vw;
    height: 2vw;
    font-size: 1.8vw;
    cursor: pointer;
  }

  .commentDisplayBase .fileUploadVideoContainer .dropShadow {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.8;
    z-index: 300;
  }
}

/*portrait large tablet*/

@media only screen and (orientation: portrait) and (min-device-width: 1000px) {
  .commentDisplayBase {
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 80vw;
    height: 80vh;
    top: 10vh;
    left: 10vw;
    background-color: white;
    z-index: 412;
    justify-content: space-between;
    box-shadow: -3px 3px 3px grey;
    padding: 5px;
    border-radius: 1vh;
  }

  .commentDisplayBase .commentDisplayHeader {
    flex: 0 0 98%;
    /*height: 4vh;*/
    font-size: 2.5vh;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow: hidden;
    max-height: 3vh;
  }

  .commentDisplayBase .commentCloseBtn {
    color: grey;
    background-color: white;
    font-weight: 600;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 3vh;
    cursor: pointer;
    height: 3vh;
    text-align: center;
    min-width: 2vw;
    padding-left: 0;
    padding-right: 0;
  }

  .commentDisplayBase .commentSaveBtn {
    /*width: 3vw;*/
    background-color: #7986cb;
    min-width: 4vw;
    max-width: 10vw;
    text-align: center;
  }

  .fileUploadVideoContainer .dropShadow {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.8;
    z-index: 300;
  }

  .commentAttachmentHeader {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    text-align: start;
    font-weight: 600;
  }

  .commentDisplayContainer {
  }

  .commentDisplayContainer .dropShadow {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.3;
    z-index: 300;
  }

  .commentDisplayBase .fileAttachmentArea {
    border: 3px dashed gray;
    text-align: center;
    border-radius: 10px;
    font-size: 1.5vh;
    justify-content: flex-start;
    padding: 5px;
    margin-top: 2vw;
  }

  .commentDisplayBase > div {
    flex: 1 0 40%;
    max-height: 28vh;
    overflow-y: auto;
    /*display: flex;
        flex-direction: column;*/
    justify-content: space-between;
  }

  .commentDisplayBase textarea {
    font-size: 1.5vh;
    width: 80%;
  }

  .commentDisplayBase .gridTableLight {
    width: 90%;
  }

  .commentDisplayBase .gridRowLight {
    justify-content: flex-start;
  }

  .commentDisplayBase .gridHeaderEditCellLight {
    flex: 0 0 5%;
  }

  .commentDisplayBase .gridHeaderCellLight {
    flex: 1 1 15%;
    font-weight: 600;
    border-bottom: solid 1px grey;
    margin: 1px;
  }

  .commentDisplayBase .gridCellLight {
    margin: 1px;
    flex: 1 1 15%;
  }

  .commentDisplayBase .attachmentOpenIcon {
    width: 2vw;
    height: 2vw;
  }

  .commentDisplayBase .fileUploadVideoContainer .dropShadow {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.8;
    z-index: 300;
  }
}

/*portrait small tablet*/

@media only screen and (orientation: portrait) and (max-device-width: 1000px) {
  .commentDisplayBase {
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 80vw;
    height: 80vh;
    top: 10vh;
    left: 10vw;
    background-color: white;
    z-index: 412;
    justify-content: space-between;
    box-shadow: -3px 3px 3px grey;
    padding: 5px;
    border-radius: 1vh;
  }

  .commentDisplayBase .commentDisplayHeader {
    /*flex: 0 0 98%;*/
    /*height: 4vh;*/
    width: 100%;
    font-size: 2.5vh;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow: hidden;
    max-height: 3vh;
  }

  .commentDisplayBase .commentCloseBtn {
    color: grey;
    background-color: white;
    font-weight: 600;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 3vh;
    cursor: pointer;
    height: 3vh;
    text-align: center;
    min-width: 2vw;
    padding-left: 0;
    padding-right: 0;
  }

  .commentDisplayBase .commentSaveBtn {
    /*width: 3vw;*/
    background-color: #7986cb;
    min-width: 4vw;
    max-width: 10vw;
    text-align: center;
  }

  .fileUploadVideoContainer .dropShadow {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.8;
    z-index: 300;
  }

  .commentAttachmentHeader {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    text-align: start;
    font-weight: 600;
  }

  .commentDisplayContainer {
  }

  .commentDisplayContainer .dropShadow {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.3;
    z-index: 300;
  }

  .commentDisplayBase .fileAttachmentArea {
    border: 3px dashed gray;
    text-align: center;
    border-radius: 10px;
    font-size: 1.9vh;
    justify-content: flex-start;
    padding: 5px;
    margin-top: 2vw;
  }

  .commentDisplayBase > div {
    flex: 1 0 40%;
    max-height: 28vh;
    overflow-y: auto;
    /*display: flex;
        flex-direction: column;*/
    justify-content: space-between;
  }

  .commentDisplayBase textarea {
    font-size: 1.5vh;
    width: 80%;
  }

  .commentDisplayBase .gridTableLight {
    width: 90%;
  }

  .commentDisplayBase .gridRowLight {
    justify-content: flex-start;
  }

  .commentDisplayBase .gridHeaderEditCellLight {
    flex: 0 0 5%;
  }

  .commentDisplayBase .gridHeaderCellLight {
    flex: 1 1 15%;
    font-weight: 600;
    border-bottom: solid 1px grey;
    margin: 1px;
  }

  .commentDisplayBase .gridCellLight {
    margin: 1px;
    flex: 1 1 15%;
  }

  .commentDisplayBase .attachmentOpenIcon {
    width: 2vw;
    height: 2vw;
  }

  .commentDisplayBase .fileUploadVideoContainer .dropShadow {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.8;
    z-index: 300;
  }
}

/*phone screen*/

@media only screen and (min-device-width: 300px) and (max-device-width: 700px) {
  .commentDisplayBase {
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 90vw;
    height: 80vh;
    top: 5vh;
    left: 5vw;
    background-color: white;
    z-index: 412;
    justify-content: space-between;
    box-shadow: -3px 3px 3px grey;
    padding: 5px;
  }

  .commentDisplayBase .commentDisplayHeader {
    /*flex: 0 0 98%;*/
    height: 4vh;
    width: 90vw;
    font-size: 2.5vh;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
   
  }

  .commentDisplayBase .fileAttachmentArea {
    border: 0.5vh dashed gray;
    text-align: center;
    border-radius: 1vh;
    font-size: 1.5vh;
    justify-content: flex-start;
    padding: 5px;
  }

  .commentDisplayBase > div {
    flex: 1 0 20vh;
    /*max-height: 28vh;*/
    width: 90vw;
    max-width: 90vw;
    overflow: auto;
    /*display: flex;
        flex-direction: column;*/
    justify-content: space-between;
    font-size: 2vh;
  }

  .commentDisplayBase textarea {
    font-size: 2vh;
    width: 75vw;
    height: 15vh;
  }

  .commentDisplayBase .saveButton {
    /*width: 3vw;*/
    background-color: #7986cb;
    /*min-width: 2vh;*/
    /*max-width: 8vw;*/
    font-size: 3vh;
    text-align: center;
  }

  .commentDisplayBase .commentCloseBtn {
    background-color: white;
    color: grey;
    border: 2px solid red;
    min-width: 2vw;
    /*max-width: 2vw;*/
    font-size: 2vh;
    text-align: center;
    font-weight: 200;
  }

  .commentDisplayBase .gridTableLight {
    width: 78vw;
  }

  .commentDisplayBase .gridRowLight {
    justify-content: flex-start;
  }

  .commentDisplayBase .gridHeaderEditCellLight {
    flex: 0 0 5%;
  }

  .commentDisplayBase .gridHeaderCellLight {
    flex: 1 1 15%;
    font-weight: 600;
    border-bottom: solid 1px grey;
    margin: 1px;
  }

  .commentDisplayBase .gridCellLight {
    margin: 1px;
    flex: 1 1 15%;
  }

  .commentDisplayBase .attachmentOpenIcon {
    width: 2vh;
    height: 2vh;
  }

  .commentDisplayBase .fileUploadVideoContainer .dropShadow {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.8;
    z-index: 300;
  }

  .fileUploadVideoContainer .dropShadow {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.8;
    z-index: 300;
  }

  .commentAttachmentHeader {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    text-align: start;
    font-weight: 600;
  }

  .commentAttachmentHeader > span {
    display: none;
  }

  .commentAttachmentHeader .fontIcon {
    font-size: 3vh;
  }

  .commentDisplayBase .commentSaveBtn {
    /*width: 3vw;*/
    background-color: #7986cb;
    min-width: 20vw;
    max-width: 33vw;
    text-align: center;
  }

  .commentDisplayBase .icon-landscape {
    display: block;
    font-size: 3vh;
    /* margin: 2vh auto auto 2vh; */
    margin-top: 2vh;
    margin-left: 2vh;
  }

  .commentDisplayBase .landscape {
    display: none;
  }
}

/* Camera Control */

/*normal landscape*/

@media only screen and (orientation: landscape) and (min-device-width: 700px) {
  .shutterButtonDiv {
    background-color: lightgray;
    width: 4vw;
    height: 4vw;
    border-radius: 2vw;
    border: 2px darkgray solid;
    box-shadow: 0px 0px 8px 4px;
    cursor: pointer;
    right: 2.5vw;
    top: 30vh;
  }

  .shutterButtonDivMouseDown {
    background-color: lightblue;
    width: 4vw;
    height: 4vw;
    border-radius: 2vw;
    border: 2px darkgray solid;
    box-shadow: 0px 0px 8px 4px;
    cursor: pointer;
    right: 2.5vw;
    top: 30vh;
  }

  .commentDisplayBase .fileUploadVideo {
    position: fixed;
    width: 70vw;
    height: 70vh;
    top: 10vh;
    left: 15vw;
    background-color: white;
    z-index: 1100;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
    border-radius: 1vh;
  }

  .commentDisplayBase .fileUploadVideo .closeBtn {
    /*color: black;
                font-size: 2vh;
                border: 1px solid red;
                border-radius: 1vh;
                font-weight: 600;
                margin: 0.5vw;
                background-color: white;*/
    color: black;
    cursor: pointer;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    height: 3vh;
    font-weight: 600;
    text-align: center;
    min-width: 2vw;
    padding: 0;
  }

  .commentDisplayBase .fileUploadVideo iframe {
    width: 80%;
    height: 80%;
  }

  .commentDisplayBase .fileUploadVideoContainer .fileUploadVideoHeader {
    width: 99%;
    display: flex;
    flex-direction: row-reverse;
  }

  .commentDisplayBase .fileUploadVideoContainer .fileUploadVideoContents {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .fileUploadVideo {
    position: fixed;
    width: 70vw;
    height: 70vh;
    top: 10vh;
    left: 15vw;
    background-color: white;
    z-index: 1100;
    display: grid;
    grid-template-rows: 5vh 45vh 20vh;
    grid-template-columns: 50vw 15vw 5vw;
    grid-template-areas: "header header header" "video cameras cameras" "video . capture";
  }

  .fileUploadVideo .fileUploadVideoHeader {
    grid-area: header;
  }

  .fileUploadVideo .fileUploadVideoContents {
    grid-area: video;
  }

  .fileUploadVideo .shutterButtonDiv {
    grid-area: capture;
  }

  .fileUploadVideo .cameraSelectionDiv {
    grid-area: cameras;
  }

  .fileUploadVideo .cameraSelectionDiv .selectedCamera {
    border: solid 1px red;
  }

  .fileUploadVideoContainer .cameraSelectionDiv {
    display: flex;
    flex-direction: column;
  }

  .fileUploadVideoContainer .cameraSelectionDiv > div {
    width: 15vw;
    height: 5vh;
    padding: 0.5vw;
    border: solid grey 1px;
    border-radius: 10px;
    margin: 5px;
    font-weight: 600;
    margin-left: auto;
    margin-right: auto;
  }
}

/*portrait large tablet*/

@media only screen and (orientation: portrait) and (min-device-width: 1000px) {
  .shutterButtonDiv {
    background-color: lightgray;
    width: 4vw;
    height: 4vw;
    border-radius: 2vw;
    border: 2px darkgray solid;
    box-shadow: 0px 0px 8px 4px;
    cursor: pointer;
    right: 2.5vw;
    top: 30vh;
  }

  .shutterButtonDivMouseDown {
    background-color: lightblue;
    width: 4vw;
    height: 4vw;
    border-radius: 2vw;
    border: 2px darkgray solid;
    box-shadow: 0px 0px 8px 4px;
    cursor: pointer;
    right: 2.5vw;
    top: 30vh;
  }

  .commentDisplayBase .fileUploadVideo {
    position: fixed;
    width: 70vw;
    height: 70vh;
    top: 10vh;
    left: 15vw;
    background-color: white;
    z-index: 1100;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
    border-radius: 1vh;
  }

  .commentDisplayBase .fileUploadVideo .closeBtn {
    /*color: black;
                font-size: 2vh;
                border: 1px solid red;
                border-radius: 1vh;
                font-weight: 600;
                margin: 0.5vw;
                background-color: white;*/
    color: black;
    cursor: pointer;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    height: 3vh;
    font-weight: 600;
    text-align: center;
    min-width: 2vw;
    padding: 0;
  }

  .commentDisplayBase .fileUploadVideo iframe {
    width: 80%;
    height: 80%;
  }

  .commentDisplayBase .fileUploadVideoContainer .fileUploadVideoHeader {
    width: 99%;
    display: flex;
    flex-direction: row-reverse;
  }

  .commentDisplayBase .fileUploadVideoContainer .fileUploadVideoContents {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .fileUploadVideo {
    position: fixed;
    width: 80vw;
    height: 90vh;
    top: 5vh;
    left: 15vw;
    background-color: white;
    z-index: 1100;
    display: grid;
    grid-template-rows: 5vh 45vh 20vh;
    grid-template-columns: 50vw 15vw 5vw;
    grid-template-areas: "header header header" "video cameras cameras" "video . capture";
  }

  .fileUploadVideo .fileUploadVideoHeader {
    grid-area: header;
  }

  .fileUploadVideo .fileUploadVideoContents {
    grid-area: video;
  }

  .fileUploadVideo .shutterButtonDiv {
    grid-area: capture;
  }

  .fileUploadVideo .cameraSelectionDiv {
    grid-area: cameras;
  }

  .fileUploadVideo .cameraSelectionDiv .selectedCamera {
    border: solid 1px red;
  }

  .fileUploadVideoContainer .cameraSelectionDiv {
    display: flex;
    flex-direction: column;
  }

  .fileUploadVideoContainer .cameraSelectionDiv > div {
    width: 15vw;
    height: 5vh;
    padding: 0.5vw;
    border: solid grey 1px;
    border-radius: 10px;
    margin: 5px;
    font-weight: 600;
    margin-left: auto;
    margin-right: auto;
  }
}

/*portrait small tablet*/

@media only screen and (orientation: portrait) and (max-device-width: 1000px) {
  .shutterButtonDiv {
    background-color: lightgray;
    width: 10vw;
    height: 10vw;
    border-radius: 5vw;
    border: 2px darkgray solid;
    box-shadow: 0px 0px 8px 4px;
    cursor: pointer;
    right: 2.5vw;
    top: 30vh;
  }

  .shutterButtonDivMouseDown {
    background-color: lightblue;
    width: 10vw;
    height: 10vw;
    border-radius: 5vw;
    border: 2px darkgray solid;
    box-shadow: 0px 0px 8px 4px;
    cursor: pointer;
    right: 2.5vw;
    top: 30vh;
  }

  .commentDisplayBase .fileUploadVideo {
    position: fixed;
    background-color: white;
    z-index: 1100;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
    border-radius: 1vh;
  }

  .commentDisplayBase .fileUploadVideo .closeBtn {
    /*color: black;
                font-size: 2vh;
                border: 1px solid red;
                border-radius: 1vh;
                font-weight: 600;
                margin: 0.5vw;
                background-color: white;*/
    color: black;
    cursor: pointer;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    height: 3vh;
    font-weight: 600;
    text-align: center;
    min-width: 2vw;
    padding: 0;
  }

  .commentDisplayBase .fileUploadVideo iframe {
    width: 80%;
    height: 80%;
  }

  .commentDisplayBase .fileUploadVideoContainer .fileUploadVideoHeader {
    width: 99%;
    display: flex;
    flex-direction: row-reverse;
  }

  .commentDisplayBase .fileUploadVideoContainer .fileUploadVideoContents {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .fileUploadVideo {
    position: fixed;
    width: 80vw;
    height: 90vh;
    top: 5vh;
    left: 15vw;
    background-color: white;
    z-index: 1100;
    display: grid;
    grid-template-rows: 5vh 45vh 40vh;
    grid-template-columns: 60vw 20vw;
    /* grid-template-areas: "header header header" "video cameras cameras" "video . capture"; */
    grid-template-areas: "header header" "video video" "cameras capture";
  }

  .fileUploadVideo .fileUploadVideoHeader {
    grid-area: header;
  }

  .fileUploadVideo .fileUploadVideoContents {
    grid-area: video;
  }

  .fileUploadVideo .shutterButtonDiv {
    grid-area: capture;
  }

  .fileUploadVideo .cameraSelectionDiv {
    grid-area: cameras;
  }

  .fileUploadVideo .cameraSelectionDiv .selectedCamera {
    border: solid 1px red;
  }

  .fileUploadVideoContainer .cameraSelectionDiv {
    display: flex;
    flex-direction: column;
  }

  .fileUploadVideoContainer .cameraSelectionDiv > div {
    width: 30vw;
    height: 6vh;
    padding: 0.5vw;
    border: solid grey 1px;
    border-radius: 10px;
    margin: 5px;
    font-weight: 600;
    margin-left: auto;
    margin-right: auto;
  }
}

/*phone screen*/

@media only screen and (min-device-width: 300px) and (max-device-width: 700px) {
  .shutterButtonDiv {
    background-color: lightgray;
    width: 10vw;
    height: 10vw;
    border-radius: 5vw;
    border: 2px darkgray solid;
    box-shadow: 0px 0px 8px 4px;
    cursor: pointer;
    right: 2.5vw;
    top: 30vh;
  }

  .shutterButtonDivMouseDown {
    background-color: lightblue;
    width: 10vw;
    height: 10vw;
    border-radius: 5vw;
    border: 2px darkgray solid;
    box-shadow: 0px 0px 8px 4px;
    cursor: pointer;
    right: 2.5vw;
    top: 30vh;
  }

  .commentDisplayBase .fileUploadVideo {
    position: fixed;
    background-color: white;
    z-index: 1100;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
    border-radius: 1vh;
  }

  .commentDisplayBase .fileUploadVideo .closeBtn {
    /*color: black;
                font-size: 2vh;
                border: 1px solid red;
                border-radius: 1vh;
                font-weight: 600;
                margin: 0.5vw;
                background-color: white;*/
    color: black;
    cursor: pointer;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 5vw;
    height: 5vw;
    font-weight: 600;
    text-align: center;
    min-width: 2vw;
    padding: 0;
    background-color: white;
  }

  .commentDisplayBase .fileUploadVideo iframe {
    width: 80%;
    height: 80%;
  }

  .commentDisplayBase .fileUploadVideoContainer .fileUploadVideoHeader {
    width: 99%;
    display: flex;
    flex-direction: row-reverse;
  }

  .commentDisplayBase .fileUploadVideoContainer .fileUploadVideoContents {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .fileUploadVideo {
    position: fixed;
    width: 90vw;
    height: 85vh;
    top: 5vh;
    left: 5vw;
    background-color: white;
    z-index: 1100;
    display: grid;
    grid-template-rows: 5vh 45vh 40vh;
    grid-template-columns: 75vw 15vw;
    /* grid-template-areas: "header header header" "video cameras cameras" "video . capture"; */
    grid-template-areas: "header header" "video video" "cameras capture";
  }

  .fileUploadVideo .fileUploadVideoHeader {
    grid-area: header;
  }

  .fileUploadVideo .fileUploadVideoContents {
    grid-area: video;
    max-height: 45vh;
    overflow: hidden;
  }

  .fileUploadVideo .fileUploadVideoContents video {
    transform: scale(1.5);
    transform-origin: top left;
  }

  .fileUploadVideo .shutterButtonDiv {
    grid-area: capture;
  }

  .fileUploadVideo .cameraSelectionDiv {
    grid-area: cameras;
  }

  .fileUploadVideo .cameraSelectionDiv .selectedCamera {
    border: solid 1px red;
  }

  .fileUploadVideoContainer .cameraSelectionDiv {
    display: flex;
    flex-direction: column;
  }

  .fileUploadVideoContainer .cameraSelectionDiv > div {
    width: 30vw;
    height: 6vh;
    padding: 0.5vw;
    border: solid grey 1px;
    border-radius: 10px;
    margin: 5px;
    font-weight: 600;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Multi Defect Flow Disposition Display */

/*normal landscape*/

@media only screen and (orientation: landscape) and (min-device-width: 700px) {
  .dispositionDefectFlowContainer {
    width: 80vw;
    height: 50vh;
    background-color: white;
    position: fixed;
    top: 25vh;
    left: 10vw;
    z-index: 1000;
  }

  .dispositionDefectFlowContainer .header {
    height: 5vh;
    width: 80vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    background-color: white;
  }

  .dispositionDefectFlowContainer .header .closeBtn {
    color: grey;
    font-weight: 600;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
  }

  .dispositionDefectFlowContainer .content {
    height: 40vh;
    max-height: 40vh;
    overflow: auto;
  }

  .dispositionDefectFlowContainer .content .gridEditCellLight {
    flex: 0 0 9vw;
  }

  .dispositionDefectFlowContainer .content .gridHeaderCellLight {
    flex: 1 1 5vw;
    margin: 0 0.5vw 2vh 0;
    border-bottom: 1px solid black;
    padding: 1vh;
    font-weight: 700;
    font-size: 1.8vh;
    text-align: center;
  }

  .dispositionDefectFlowContainer .content .gridHeaderCellLight > select {
    width: 80%;
  }

  .dispositionDefectFlowContainer .content .gridCellLight {
    flex: 1 1 5vw;
    margin: 0 0.5vw 1vh 0;
    color: gray;
    font-weight: 600;
    font-size: 1.6vh;
  }

  .dispositionDefectFlowContainer .content .gridCellLight > input {
    width: 80%;
  }

  .dispositionDefectFlowContainer .content .gridHeaderEditCellLight {
    flex: 0 0 9vw;
  }

  .dispRowControls {
    cursor: pointer;
  }
}

/*portrait large tablet*/

@media only screen and (orientation: portrait) and (min-device-width: 1000px) {
  .dispositionDefectFlowContainer {
    width: 80vw;
    height: 50vh;
    background-color: white;
    position: fixed;
    top: 25vh;
    left: 10vw;
    z-index: 1000;
  }

  .dispositionDefectFlowContainer .header {
    height: 5vh;
    width: 80vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    background-color: white;
  }

  .dispositionDefectFlowContainer .header .closeBtn {
    color: grey;
    font-weight: 600;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
  }

  .dispositionDefectFlowContainer .content {
    height: 40vh;
    max-height: 40vh;
    overflow: auto;
  }

  .multiDefectFlowContainer .content > div {
    flex: 1 0 20vw;
    text-align: center;
    border: 2px solid black;
    margin: 0.3vw;
    font-size: 2.5vh;
    font-weight: 600;
    vertical-align: central;
    min-height: 4vh;
    background-color: #b6e3ff;
  }

  .multiDefectFlowContainer .content > .selected {
    /*border: 2px solid red;*/
    background-color: lime;
  }

  .dispositionDefectFlowContainer .content .gridEditCellLight {
    flex: 0 0 9vw;
  }

  .dispositionDefectFlowContainer .content .gridHeaderCellLight {
    flex: 1 1 5vw;
    margin: 0 0.5vw 2vh 0;
    border-bottom: 1px solid black;
    padding: 1vh;
    font-weight: 700;
    font-size: 1.8vh;
    text-align: center;
  }

  .dispositionDefectFlowContainer .content .gridHeaderCellLight > select {
    width: 80%;
  }

  .dispositionDefectFlowContainer .content .gridCellLight {
    flex: 1 1 5vw;
    margin: 0 0.5vw 1vh 0;
    color: gray;
    font-weight: 600;
    font-size: 1.6vh;
  }

  .dispositionDefectFlowContainer .content .gridCellLight > input {
    width: 80%;
  }

  .dispositionDefectFlowContainer .content .gridHeaderEditCellLight {
    flex: 0 0 9vw;
  }

  .dispRowControls {
    height: 3vw;
    width: 3vw;
    margin: 0 0.2vw 0 0.2vw;
  }
}

/*portrait small tablet*/

@media only screen and (orientation: portrait) and (max-device-width: 1000px) {
  .dispositionDefectFlowContainer {
    width: 80vw;
    height: 50vh;
    background-color: white;
    position: fixed;
    top: 25vh;
    left: 10vw;
    z-index: 1000;
  }

  .dispositionDefectFlowContainer .header {
    height: 5vh;
    width: 80vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    background-color: white;
  }

  .dispositionDefectFlowContainer .header .closeBtn {
    color: grey;
    font-weight: 600;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
  }

  .dispositionDefectFlowContainer .content {
    height: 40vh;
    max-height: 40vh;
    overflow: auto;
  }

  .multiDefectFlowContainer .content > div {
    flex: 1 0 20vw;
    text-align: center;
    border: 2px solid black;
    margin: 0.3vw;
    font-size: 2.5vh;
    font-weight: 600;
    vertical-align: central;
    min-height: 4vh;
    background-color: #b6e3ff;
  }

  .multiDefectFlowContainer .content > .selected {
    /*border: 2px solid red;*/
    background-color: lime;
  }

  .dispositionDefectFlowContainer .content .gridEditCellLight {
    flex: 0 0 9vw;
  }

  .dispositionDefectFlowContainer .content .gridHeaderCellLight {
    flex: 1 1 5vw;
    margin: 0 0.5vw 2vh 0;
    border-bottom: 1px solid black;
    padding: 1vh;
    font-weight: 700;
    font-size: 1.8vh;
    text-align: center;
  }

  .dispositionDefectFlowContainer .content .gridHeaderCellLight > select {
    width: 80%;
  }

  .dispositionDefectFlowContainer .content .gridCellLight {
    flex: 1 1 5vw;
    margin: 0 0.5vw 1vh 0;
    color: gray;
    font-weight: 600;
    font-size: 1.6vh;
  }

  .dispositionDefectFlowContainer .content .gridCellLight > input {
    width: 80%;
  }

  .dispositionDefectFlowContainer .content .gridHeaderEditCellLight {
    flex: 0 0 9vw;
  }

  .dispRowControls {
    cursor: pointer;
  }
}

/*phone screen*/

@media only screen and (min-device-width: 300px) and (max-device-width: 700px) {
  .dispositionDefectFlowContainer {
    width: 80vw;
    height: 50vh;
    background-color: white;
    position: fixed;
    top: 25vh;
    left: 10vw;
    z-index: 1000;
  }

  .dispositionDefectFlowContainer .header {
    height: 5vh;
    width: 80vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    background-color: white;
  }

  .dispositionDefectFlowContainer .header .closeBtn {
    color: grey;
    font-weight: 600;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
  }

  .dispositionDefectFlowContainer .content {
    height: 40vh;
    max-height: 40vh;
    overflow: auto;
  }

  .dispositionDefectFlowContainer .content .gridEditCellLight {
    flex: 0 0 9vw;
  }

  .dispositionDefectFlowContainer .content .gridHeaderCellLight {
    flex: 1 1 5vw;
    margin: 0 0.5vw 2vh 0;
    border-bottom: 1px solid black;
    padding: 1vh;
    font-weight: 700;
    font-size: 1.8vh;
    text-align: center;
  }

  .dispositionDefectFlowContainer .content .gridHeaderCellLight > select {
    width: 80%;
  }

  .dispositionDefectFlowContainer .content .gridCellLight {
    flex: 1 1 5vw;
    margin: 0 0.5vw 1vh 0;
    color: gray;
    font-weight: 600;
    font-size: 1.6vh;
  }

  .dispositionDefectFlowContainer .content .gridCellLight > input {
    width: 80%;
  }

  .dispositionDefectFlowContainer .content .gridHeaderEditCellLight {
    flex: 0 0 9vw;
  }

  .dispRowControls {
    cursor: pointer;
  }
}

/*
    Results Review Based Advanced History
*/

.reviewAdvancedHistory .icon-landscape {
  display: none;
}

.advanced-history-loader {
  position: absolute; 
  left: 45%; 
  top: 38%;
}

/*normal landscape*/

@media only screen and (orientation: landscape) and (min-device-width: 700px) {
  .reviewAdvancedHistoryOverlay .dropShadow {
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.5;
    z-index: 300;
    position: fixed;
    top: 0;
    left: 0px;
  }

  .reviewAdvancedHistory {
    position: fixed;
    top: calc(3.5vh + var(--draggable-container-top, 12vh));
    left: calc(10.5vw + var(--draggable-container-left, 15vw));
    width: 88vw;
    height: 70vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: white;
    z-index: 500;
    border-radius: 1vh;
  }

  .reviewAdvancedHistory .advancedHistoryHeader > span {
    margin: 1vw 0vw 0vw 1vw;
  }

  .reviewAdvancedHistory .advancedHistoryHeader {
    /* width: 80vw; */
    text-align: center;
    height: 3vh;
    /* font-size: calc(3vh * var(--font-size, 1)); */
    font-weight: 700;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-right: 20px;
    font-size: calc(1.8vh * var(--font-size, 1));
    letter-spacing: 0.4px;
  }

  .mutliPsnSelector {
    font-size: calc(1.8vh * var(--font-size, 1));
    padding-left: 1vw;
    padding-top: 1vh;
    padding-bottom: 1vh;
  }

  .reviewAdvancedHistoryEditControls > span {
    margin: 1vw 0vw 1vw 1vw;
  }

  /*.reviewAdvancedHistory .advancedHistoryHeader .closeButtonDiv {*/
  .reviewAdvancedHistory .closeButtonDiv {
    color: grey;
    font-weight: 600;
    /* border: 2px solid red; */
    position: absolute;
    top: 10px;
    right: 15px;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    cursor: pointer;
    height: 3vh;
    text-align: center;
    /*border: 1px solid red;
                border-radius: 1vh;
                width: 3vh;
                flex: 0 0 auto;
                justify-content: space-around;
                display: flex;
                font-size: 1.8vh;*/
  }

  .reviewAdvancedHistory .reviewCard {
    /* height: 32vh; */
    /*max-height: 32vh;*/
    max-height: 27vh;
    max-width: 86vw;
    overflow: auto;
    margin-left: 1vw;
    font-size: 1.4vh;
    margin-right: 1vw;
  }

  .reviewAdvancedHistory .gridGroupPsnDisplay {
    font-weight: 600;
    font-size: calc(1.8vh * var(--font-size, 1));
    height: 2vh;
    margin: 10px;
  }

  .reviewAdvancedHistory .gridGroupBreadcrumb {
    /*margin-top: 1vh;*/
    display: none;
  }

  .reviewAdvancedHistory .indentedDataGrid {
    margin-left: 0;
  }

  .reviewAdvancedHistory .gridHeaderCellLight {
    font-weight: 600;
    border-bottom: solid 1px grey;
    text-align: left;
    flex: 1 0 2vw;
    margin: 30px 0 3px;
    font-size: calc(1.5vh * var(--font-size, 1));
  }

  .reviewAdvancedHistory .gridCellLight {
    text-align: left;
    flex: 1 0 2vw;
    margin-right: 3px;
    font-size: calc(1.25vh * var(--font-size));
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .reviewAdvancedHistory .gridCellLight > input,
  select {
    width: 100%;
  }

  .reviewAdvancedHistory .gridEditCellLight > img {
    width: 1.5vw;
    height: 1.5vw;
    margin: 0 2px 0 2px;
    cursor: pointer;
  }

  .reviewAdvancedHistory .gridEditCellLight > .fontIcon {
    font-size: 1.5vw;
    cursor: pointer;
    padding: 0 0 0 6px;
    
  }

  .reviewAdvancedHistory .gridRowLight {
    margin: 0 0 0 0;
    padding-top: 0;
  }

  .reviewAdvancedHistory .reviewAdvancedHistorySecondaryData {
    /* height: 20vh; */
    max-height: 20vh;
    /* width: 87vw; */
    max-width: 88vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-y: auto;
    justify-content: space-around;
    /* box-shadow: 1px 1px 3px 1px gray; */
    box-shadow: rgb(100 100 111 / 45%) 0px 3px 10px 0.5px;
    border-radius: 4px;
    margin-left: 1vw;
    margin-right: 1vw;
  }

  .reviewAdvancedHistory .reviewAdvancedHistoryCommentContainer {
    flex: 1 0 20vw;
    display: flex;
    flex-direction: column;
    margin: 10px;
    position: relative;
  }

  .reviewAdvancedHistory
    .reviewAdvancedHistoryCommentContainer
    .gridTableLight {
    width: 95%;
    max-width: 95%;
    min-height: 10vh;
  }

  .reviewAdvancedHistory .reviewAdvancedHistoryAttachmentContainer {
    flex: 0 0 20vw;
    display: flex;
    flex-direction: column;
    margin: 10px;
    position: relative;
    width: 100%;
  }

  .reviewAdvancedHistory
    .reviewAdvancedHistoryAttachmentContainer
    .gridTableLight {
    width: 95%;
    max-width: 95%;
  }

  .reviewAdvancedHistory .secondaryHeader {
    font-size: 2vh;
    font-weight: 700;
    margin-right: 1vw;
    /* position: sticky; */
  }

  .reviewAdvancedHistory .commentHistoryRow {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    align-items: center;
    margin-bottom: 0;
    position: fixed;
    background: white;
    padding: 10px 14px 15px 5px;
    margin-top: -10px;
    margin-left: -5px;
    z-index: 2;
  }

  .reviewAdvancedHistory .addCommentsButton {
    background-color: #7986cb;
    color: white;
    margin-top: 7px;
    padding: 2px 5px;
    font-size: 10px;
    letter-spacing: 0.4px;
    border-radius: 5px;
    transition: 0.4s;
  }
 
  .reviewAdvancedHistory .addCommentsButton:hover,
  .reviewAdvancedHistory .attachmaddCommentsButtonentButton:focus
   {
    background-color:  #6773b1;
  }

  .reviewAdvancedHistory .attachmentButton {
    background-color: #7986cb;
    color: white;
    box-shadow: grey 1px 1px;
    font-size: 10px;
    margin-top: 7px;
    padding: 2px 5px;
    letter-spacing: 0.4px;
    border-radius: 5px;
    transition: 0.4s;
  }

  .reviewAdvancedHistory .attachmentButton:hover,
  .reviewAdvancedHistory .attachmentButton:focus
   {
    background-color:  #6773b1;
  }

  .reviewedAdvancedHistory .reviewAdvancedHistoryAttachmentContainer .attachmentRow {
    margin-right: 10px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    align-items: center;
    margin-bottom: 0;
    position: fixed;
    background: white;
    width: 200px;
  }

 
  .reviewAdvancedHistory .editControlsContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 50vw;
    margin-left: 8px;
  }

  .reviewAdvancedHistory .editControlsContainer .editButton {
    background-color: #7986cb;
    color: white;
    flex: 1 0 4vw;
    /* margin-right: 3vw;
    margin-left: 1vw;
    margin-top: 0.5vw; */
    margin: 1vw 1vw 10px 1vw;
    box-shadow: grey 1px 1px;
    letter-spacing: 0.4px;
    border: none;
    border-radius: 5px;
    transition: 0.4s;
  }

  .reviewAdvancedHistory .editControlsContainer .editButton:hover,
  .reviewAdvancedHistory .editControlsContainer .editButton:focus
   {
    background-color:  #6773b1;
  }

  .reviewAdvancedHistoryOverlay .childrenContainer {
    z-index: 600;
  }

  .reviewWarningContainer {
    z-index: 500;
    width: 80vw;
    height: 80vh;
    position: fixed;
    top: 10vh;
    left: 10vw;
    background-color: white;
  }

  .reviewWarningContainer .reviewCard {
    width: 78vw;
    height: 65vh;
    max-height: 65vh;
    overflow: auto;
    box-shadow: none;
  }

  .reviewWarningContainer .gridGroupBreadcrumb {
    border: none;
    margin-top: 1vh;
    margin-bottom: 1vh;
    margin-left: 1vw;
  }

  .warningBtnContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-self: flex-end;
  }

  .warningContinueButton {
    background-color: #7986cb;
  }

  .reviewDisembodiedCheckItemContainer {
    width: 40vw;
    height: 30vh;
    position: fixed;
    top: 45vh;
    left: 30vw;
    display: flex;
    flex-direction: column;
    background-color: white;
  }

  .reviewDisembodiedCheckItemContainer .disembCheckItemHeader {
    width: 40vw;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }

  .reviewAdvancedHistoryWarning {
    bottom: 78vh;
    z-index: 500;
    background: yellow;
    /* margin: auto;
    width: 20.5vw; */
    width: 80%;
    margin: 1.2rem auto;
    text-align: center;
    left: 5vw;
    font-size: 0.8rem;
    letter-spacing: 0.15px;
    border-radius: 5px;
    padding-left: 0.5vw;
  }
}

/*portrait large tablet*/

@media only screen and (orientation: portrait) and (min-device-width: 1000px) {
  .reviewAdvancedHistoryOverlay .dropShadow {
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.5;
    z-index: 300;
    position: fixed;
    top: 0px;
    left: 0px;
  }

  .reviewAdvancedHistory {
    position: fixed;
    top: calc(3.5vh + var(--draggable-container-top, 12vh));
    left: calc(12.5vw + var(--draggable-container-left, 15vw));
    width: 90vw;
    height: 70vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: white;
    z-index: 500;
    border-radius: 1vh;
  }

  .reviewAdvancedHistory .advancedHistoryHeader > span {
    margin: 1vw 0vw 0vw 1vw;
  }

  .reviewAdvancedHistory .advancedHistoryHeader {
    width: 90vw;
    text-align: center;
    height: 3vh;
    font-size: 3vh;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    font-size: 1.8vh;
  }

  .reviewAdvancedHistoryEditControls > span {
    margin: 1vw 0vw 1vw 1vw;
  }

  /*.reviewAdvancedHistory .advancedHistoryHeader .closeButtonDiv {*/
  .reviewAdvancedHistory .closeButtonDiv {
    color: grey;
    font-weight: 600;
    /* border: 2px solid red; */
    position: absolute;
    top: 10px;
    right: 15px;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    cursor: pointer;
    height: 3vh;
    text-align: center;
    /*border: 1px solid red;
                border-radius: 1vh;
                width: 3vh;
                flex: 0 0 auto;
                justify-content: space-around;
                display: flex;
                font-size: 1.8vh;*/
  }

  .reviewAdvancedHistory .reviewCard {
    height: 32vh;
    /*max-height: 32vh;*/
    max-height: 27vh;
    max-width: 88vw;
    overflow: auto;
    margin-left: 1vw;
    font-size: 1.4vh;
    margin-right: 1vw;
  }

  .reviewAdvancedHistory .gridGroupPsnDisplay {
    font-weight: 600;
    font-size: 1.8vh;
    height: 2vh;
    margin-bottom: 0.5vh;
  }

  .reviewAdvancedHistory .gridGroupBreadcrumb {
    /*margin-top: 1vh;*/
    display: none;
  }

  .reviewAdvancedHistory .indentedDataGrid {
    min-height: 20vh;
    margin-left: 0;
  }

  .reviewAdvancedHistory .gridHeaderCellLight {
    font-weight: 600;
    border-bottom: solid 1px grey;
    text-align: left;
    flex: 1 0 10vw;
    margin-right: 3px;
    font-size: 1.5vh;
  }

  .reviewAdvancedHistory .gridCellLight {
    text-align: left;
    flex: 1 0 10vw;
    margin-right: 3px;
    font-size: 1.25vh;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .reviewAdvancedHistory .gridCellLight > input,
  select {
    width: 100%;
  }

  .reviewAdvancedHistory .gridEditCellLight > img {
    width: 1.5vw;
    height: 1.5vw;
    margin: 0 2px 0 2px;
    cursor: pointer;
  }

  .reviewAdvancedHistory .gridRowLight {
    margin: 0.5vh 0 0 0;
  }

  .reviewAdvancedHistory .reviewAdvancedHistorySecondaryData {
    height: 20vh;
    max-height: 20vh;
    width: 88vw;
    max-width: 88vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-y: auto;
    justify-content: space-around;
    box-shadow: 1px 1px 3px 1px gray;
    margin-left: 1vw;
  }

  .reviewAdvancedHistory .reviewAdvancedHistoryCommentContainer {
    flex: 1 0 20vw;
    display: flex;
    flex-direction: column;
    margin: 10px;
  }

  .reviewAdvancedHistory
    .reviewAdvancedHistoryCommentContainer
    .gridTableLight {
    width: 95%;
    max-width: 95%;
    min-height: 10vh;
  }

  .reviewAdvancedHistory .reviewAdvancedHistoryAttachmentContainer {
    flex: 0 0 20vw;
    display: flex;
    flex-direction: column;
    margin: 10px;
  }

  .reviewAdvancedHistory
    .reviewAdvancedHistoryAttachmentContainer
    .gridTableLight {
    width: 95%;
    max-width: 95%;
  }

  .reviewAdvancedHistory .secondaryHeader {
    font-size: 2vh;
    font-weight: 700;
  }

  .reviewAdvancedHistory .addCommentsButton {
    background-color: #7986cb;
    color: white;
    align-self: flex-end;
    width: 15vw;
    margin-left: 1vw;
    box-shadow: grey 1px 1px;
  }

  .reviewAdvancedHistory .editControlsContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 50vw;
  }

  .reviewAdvancedHistory .editControlsContainer .editButton {
    background-color: #7986cb;
    color: white;
    flex: 1 0 4vw;
    margin-right: 3vw;
    margin-left: 1vw;
    margin-top: 0.5vw;
    box-shadow: grey 1px 1px;
  }

  .reviewAdvancedHistoryOverlay .childrenContainer {
    z-index: 600;
  }

  .reviewWarningContainer {
    z-index: 500;
    width: 80vw;
    height: 80vh;
    position: fixed;
    top: 10vh;
    left: 10vw;
    background-color: white;
  }

  .reviewWarningContainer .reviewCard {
    width: 78vw;
    height: 65vh;
    max-height: 65vh;
    overflow: auto;
    box-shadow: none;
  }

  .reviewWarningContainer .gridGroupBreadcrumb {
    border: none;
    margin-top: 1vh;
    margin-bottom: 1vh;
    margin-left: 1vw;
  }

  .warningBtnContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-self: flex-end;
  }

  .warningContinueButton {
    background-color: #7986cb;
  }

  .reviewDisembodiedCheckItemContainer {
    width: 40vw;
    height: 30vh;
    position: fixed;
    top: 45vh;
    left: 30vw;
    display: flex;
    flex-direction: column;
    background-color: white;
  }

  .reviewDisembodiedCheckItemContainer .disembCheckItemHeader {
    width: 40vw;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }

  .reviewAdvancedHistoryWarning {
    bottom: 78vh;
    z-index: 500;
    background: yellow;
    /* margin: auto;
    width: 20.5vw; */
    width: 80%;
    margin: 1.2rem auto;
    text-align: center;
    left: 5vw;
    font-size: 0.8rem;
    letter-spacing: 0.15px;
    border-radius: 5px;
    padding-left: 0.5vw;
  }
}

/*portrait small tablet*/

@media only screen and (orientation: portrait) and (max-device-width: 1000px) {
  .reviewAdvancedHistoryOverlay .dropShadow {
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.5;
    z-index: 300;
    position: fixed;
    top: 0px;
    left: 0px;
  }

  .reviewAdvancedHistory {
    position: fixed;
    top: calc(3.5vh + var(--draggable-container-top, 12vh));
    left: calc(12.5vw + var(--draggable-container-left, 15vw));
    width: 90vw;
    height: 70vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: white;
    z-index: 500;
    border-radius: 1vh;
  }

  .reviewAdvancedHistory .advancedHistoryHeader > span {
    margin: 1vw 0vw 0vw 1vw;
  }

  .reviewAdvancedHistory .advancedHistoryHeader {
    width: 90vw;
    text-align: center;
    height: 3vh;
    font-size: 3vh;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    font-size: 1.8vh;
  }

  .reviewAdvancedHistoryEditControls > span {
    margin: 1vw 0vw 1vw 1vw;
  }

  /*.reviewAdvancedHistory .advancedHistoryHeader .closeButtonDiv {*/
  .reviewAdvancedHistory .closeButtonDiv {
    color: grey;
    font-weight: 600;
    /* border: 2px solid red; */
    position: absolute;
    top: 10px;
    right: 15px;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    cursor: pointer;
    height: 3vh;
    text-align: center;
    /*border: 1px solid red;
                border-radius: 1vh;
                width: 3vh;
                flex: 0 0 auto;
                justify-content: space-around;
                display: flex;
                font-size: 1.8vh;*/
  }

  .reviewAdvancedHistory .reviewCard {
    height: 32vh;
    /*max-height: 32vh;*/
    max-height: 27vh;
    max-width: 88vw;
    overflow: auto;
    margin-left: 1vw;
    font-size: 1.4vh;
    margin-right: 1vw;
  }

  .reviewAdvancedHistory .gridGroupPsnDisplay {
    font-weight: 600;
    font-size: 1.8vh;
    height: 2vh;
    margin-bottom: 0.5vh;
  }

  .reviewAdvancedHistory .gridGroupBreadcrumb {
    /*margin-top: 1vh;*/
    display: none;
  }

  .reviewAdvancedHistory .indentedDataGrid {
    min-height: 20vh;
    margin-left: 0;
  }

  .reviewAdvancedHistory .gridHeaderCellLight {
    font-weight: 600;
    border-bottom: solid 1px grey;
    text-align: left;
    flex: 1 0 12vw;
    margin-right: 3px;
    font-size: 1.5vh;
  }

  .reviewAdvancedHistory .gridCellLight {
    text-align: left;
    flex: 1 0 12vw;
    margin-right: 3px;
    font-size: 1.25vh;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .reviewAdvancedHistory .gridCellLight > input,
  .reviewAdvancedHistory .gridCellLight > select {
    width: 100%;
  }

  .reviewAdvancedHistory .gridEditCellLight > img {
    width: 1.5vw;
    height: 1.5vw;
    margin: 0 2px 0 2px;
    cursor: pointer;
  }

  .reviewAdvancedHistory .gridRowLight {
    margin: 0.5vh 0 0 0;
  }

  .reviewAdvancedHistory .reviewAdvancedHistorySecondaryData {
    height: 20vh;
    max-height: 20vh;
    width: 88vw;
    max-width: 88vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-y: auto;
    justify-content: space-around;
    box-shadow: 1px 1px 3px 1px gray;
    margin-left: 1vw;
  }

  .reviewAdvancedHistory .reviewAdvancedHistoryCommentContainer {
    flex: 1 0 20vw;
    display: flex;
    flex-direction: column;
    margin: 10px;
  }

  .reviewAdvancedHistory
    .reviewAdvancedHistoryCommentContainer
    .gridTableLight {
    width: 95%;
    max-width: 95%;
    min-height: 10vh;
  }

  .reviewAdvancedHistory .reviewAdvancedHistoryAttachmentContainer {
    flex: 0 0 20vw;
    display: flex;
    flex-direction: column;
    margin: 10px;
  }

  .reviewAdvancedHistory
    .reviewAdvancedHistoryAttachmentContainer
    .gridTableLight {
    width: 95%;
    max-width: 95%;
  }

  .reviewAdvancedHistory .secondaryHeader {
    font-size: 2vh;
    font-weight: 700;
  }

  .reviewAdvancedHistory .addCommentsButton {
    background-color: #7986cb;
    color: white;
    align-self: flex-end;
    width: 15vw;
    margin-left: 1vw;
    box-shadow: grey 1px 1px;
  }

  .reviewAdvancedHistory .editControlsContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 50vw;
  }

  .reviewAdvancedHistory .editControlsContainer .editButton {
    background-color: #7986cb;
    color: white;
    flex: 1 0 4vw;
    margin-right: 3vw;
    margin-left: 1vw;
    margin-top: 0.5vw;
    box-shadow: grey 1px 1px;
  }

  .reviewAdvancedHistoryOverlay .childrenContainer {
    z-index: 600;
  }

  .reviewWarningContainer {
    z-index: 500;
    width: 80vw;
    height: 80vh;
    position: fixed;
    top: 10vh;
    left: 10vw;
    background-color: white;
  }

  .reviewWarningContainer .reviewCard {
    width: 78vw;
    height: 65vh;
    max-height: 65vh;
    overflow: auto;
    box-shadow: none;
  }

  .reviewWarningContainer .gridGroupBreadcrumb {
    border: none;
    margin-top: 1vh;
    margin-bottom: 1vh;
    margin-left: 1vw;
  }

  .warningBtnContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-self: flex-end;
  }

  .warningContinueButton {
    background-color: #7986cb;
  }

  .reviewDisembodiedCheckItemContainer {
    width: 40vw;
    height: 30vh;
    position: fixed;
    top: 45vh;
    left: 30vw;
    display: flex;
    flex-direction: column;
    background-color: white;
  }

  .reviewDisembodiedCheckItemContainer .disembCheckItemHeader {
    width: 40vw;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }

  .reviewAdvancedHistoryWarning {
    bottom: 78vh;
    z-index: 500;
    background: yellow;
    /* margin: auto;
    width: 20.5vw; */
    width: 80%;
    margin: 1.2rem auto;
    text-align: center;
    left: 5vw;
    font-size: 0.8rem;
    letter-spacing: 0.15px;
    border-radius: 5px;
    padding-left: 0.5vw;
  }
}

/*phone screen*/

@media only screen and (min-device-width: 300px) and (max-device-width: 700px) {
  .reviewAdvancedHistoryOverlay .dropShadow {
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.5;
    z-index: 300;
    position: fixed;
    top: 0px;
    left: 0px;
  }

  .reviewAdvancedHistory {
    position: fixed;
    top: calc(3.5vh + var(--draggable-container-top, 20vh));
    left: calc(5vw + var(--draggable-container-left, 5vw));
    width: 90vw;
    height: 60vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: white;
    z-index: 500;
  }

  .reviewAdvancedHistory .advancedHistoryHeader {
    width: 79vw;
    text-align: center;
    height: 3vh;
    font-size: 3vh;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    font-size: 1.8vh;
  }

  /*.reviewAdvancedHistory .advancedHistoryHeader .closeButtonDiv {*/
  .reviewAdvancedHistory .closeButtonDiv {
    color: grey;
    font-weight: 600;
    /* border: 2px solid red; */
    position: absolute;
    top: 10px;
    right: 15px;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    cursor: pointer;
    height: 3vh;
    text-align: center;
    /*border: 1px solid red;
                border-radius: 1vh;
                width: 3vh;
                flex: 0 0 auto;
                justify-content: space-around;
                display: flex;
                font-size: 1.8vh;*/
  }

  .reviewAdvancedHistory .reviewCard {
    height: 32vh;
    /*max-height: 32vh;*/
    max-height: 27vh;
    max-width: 89vw;
    overflow: auto;
    margin-left: 1vw;
    font-size: 1.4vh;
  }

  .reviewAdvancedHistory .gridGroupPsnDisplay {
    font-weight: 600;
    font-size: 1.8vh;
  }

  .reviewAdvancedHistory .gridGroupBreadcrumb {
    margin-top: 1vh;
  }

  .reviewAdvancedHistory .gridHeaderCellLight {
    font-weight: 600;
    border-bottom: solid 1px grey;
    text-align: left;
    flex: 1 0 2vw;
    margin-right: 3px;
    font-size: 1.5vh;
  }

  .reviewAdvancedHistory .gridCellLight {
    text-align: left;
    flex: 1 0 2vw;
    margin-right: 3px;
    font-size: 1.25vh;
  }

  .reviewAdvancedHistory .gridEditCellLight > img {
    width: 1.5vw;
    height: 1.5vw;
  }

  .reviewAdvancedHistory .gridRowLight {
    margin: 0.5vh 0 0 0;
  }

  .reviewAdvancedHistory .reviewAdvancedHistorySecondaryData {
    height: 20vh;
    max-height: 20vh;
    width: 89vw;
    max-width: 89vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-y: auto;
    justify-content: space-around;
  }

  .advancedHistoryCommentDataTopRow

  .advancedHistoryCommentDataTopRow {
    width: 100%;
    background: white;
  }

  .reviewAdvancedHistory .reviewAdvancedHistoryCommentContainer {
    flex: 1 0 20vw;
    display: flex;
    flex-direction: column;
    margin: 10px;
  }

  .reviewAdvancedHistory
    .reviewAdvancedHistoryCommentContainer
    .gridTableLight {
    width: 95%;
    max-width: 95%;
    min-height: 10vh;
  }

  .reviewAdvancedHistory .reviewAdvancedHistoryAttachmentContainer {
    flex: 0 0 20vw;
    display: flex;
    flex-direction: column;
    margin: 10px;
  }

  .reviewAdvancedHistory
    .reviewAdvancedHistoryAttachmentContainer
    .gridTableLight {
    width: 95%;
    max-width: 95%;
  }

  .reviewAdvancedHistory .secondaryHeader {
    font-size: 2vh;
    font-weight: 700;
   
  }

  .reviewAdvancedHistory .addCommentsButton {
    background-color: #7986cb;
    color: white;
    align-self: flex-end;
    width: 15vw;
  }

  .reviewAdvancedHistory .editControlsContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 50vw;
  }

  .reviewAdvancedHistory .editControlsContainer .editButton {
    background-color: #7986cb;
    color: white;
    flex: 1 0 4vw;
    margin-right: 3vw;
  }

  .reviewAdvancedHistoryOverlay .childrenContainer {
    z-index: 600;
  }

  .reviewWarningContainer {
    z-index: 500;
    width: 80vw;
    height: 80vh;
    position: fixed;
    top: 10vh;
    left: 10vw;
    background-color: white;
  }

  .reviewWarningContainer .reviewCard {
    width: 78vw;
    height: 65vh;
    max-height: 65vh;
    overflow: auto;
    box-shadow: none;
  }

  .reviewWarningContainer .gridGroupBreadcrumb {
    border: none;
    margin-top: 1vh;
    margin-bottom: 1vh;
    margin-left: 1vw;
  }

  .warningBtnContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-self: flex-end;
  }

  .warningContinueButton {
    background-color: #7986cb;
  }

  .reviewDisembodiedCheckItemContainer {
    width: 40vw;
    height: 30vh;
    position: fixed;
    top: 45vh;
    left: 30vw;
    display: flex;
    flex-direction: column;
    background-color: white;
  }

  .reviewDisembodiedCheckItemContainer .disembCheckItemHeader {
    width: 40vw;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }

  .reviewAdvancedHistoryWarning {
    bottom: 78vh;
    z-index: 500;
    background: yellow;
    /* margin: auto;
    width: 20.5vw; */
    width: 80%;
    margin: 1.2rem auto;
    text-align: center;
    left: 5vw;
    font-size: 0.8rem;
    letter-spacing: 0.15px;
    border-radius: 5px;
    padding-left: 0.5vw;
  }

  .reviewAdvancedHistory .icon-landscape {
    display: block;
    font-size: 5vh;
    margin: 5vh auto auto 5vh;
  }

  .reviewAdvancedHistory .landscape {
    display: none;
  }
}

@media screen and (orientation: portrait) {
  .reviewAdvancedHistory .closeButtonDiv {
    width: 5vw;
  }

  .reviewAdvancedHistory .addCommentsButton {
    background-color: #7986cb;
    color: white;
    align-self: flex-end;
    width: auto;
    margin-left: 1vw;
    box-shadow: grey 1px 1px;
  }
}

@media screen and (orientation: landscape) {
}

/*IQ Map Display*/

/*phone screen*/

@media only screen and (min-device-width: 300px) and (max-device-width: 700px) {
  .iqMapDisplayBase {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background-color: #eeeeee;
    z-index: 500;
    display: flex;
    flex-direction: column;
    max-width: 100vw;
    /*disable standard microsoft touch actions*/
    -ms-touch-action: none;
  }

  .iqMapDisplayBase .iqHeader {
    width: 99vw;
    height: 8vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    font-weight: 600;
    font-size: 3vh;
  }

  .iqMapDisplayBase .closeBtn {
    color: black;
    font-size: 4vh;
    border: 1px solid red;
    border-radius: 1vh;
    font-weight: 600;
    min-width: 1vw;
    margin: 0.5vw;
  }

  .iqMapDisplayBase .iqMainContent {
    width: 99vw;
    height: 50vh;
    background-color: white;
  }

  .iqMapDisplayBase .canvas {
    width: 99vw;
    height: 50vh;
    /*disable standard microsoft touch actions*/
    -ms-touch-action: none;
    touch-action: none;
  }

  .iqMapDisplayBase .iqMapSecondaryContent {
    width: 99vw;
    height: 40vh;
    /*background-color: white;*/
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
  }

  .iqMapDisplayBase .extraButtons  .buttons{
    display:block;
    align-items:left;
    background-color: #7986cb;
    color: white;
    font-size: 3.5vh;
  }

  .iqMapDisplayBase .iqMapDefectDetails {
    width: 99vw;
    height: auto;
    /* max-height: 83vh; */
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .iqMapDisplayBase .iqMapShapeControls {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 1vh;
  }

  .iqMapDisplayBase .iqMapShapeControls .buttons {
    background-color: #7986cb;
    color: white;
    font-size: 3.5vh;
  }

  .iqMapDisplayBase .iqControlsFullWidth {
    display: flex;
    flex-direction: row;
    font-size: 2vh;
  }

  .iqMapDisplayBase .defectInfo {
    display: flex;
    flex-direction: row;
    padding: 1vh;
    background-color: white;
    margin: 0.6vh;
    /*width: 17vw;*/
    flex: 1 0 45vw;
    justify-content: space-between;
  }

  .iqMapDisplayBase .defectInfo > div {
    display: flex;
    flex-direction: row;
  }

  .iqMapDisplayBase .defectInfo .shapeNo {
    font-weight: 600;
    font-size: 2.5vh;
    margin-right: 1vw;
  }

  .iqMapDisplayBase .defectInfo .defectsList {
    display: flex;
    flex-direction: column;
    font-size: 1.6vh;
  }

  .iqMapDisplayBase .defectInfo .commentIcon {
    align-self: flex-end;
    width: 4vh;
    height: 4vh;
    font-size: 4vh;
  }

  .iqMapDisplayBase .loadingIndicator {
    position: fixed;
    top: 45vh;
    left: 40vw;
  }
}

/*portrait*/

@media only screen and (orientation: portrait) and (min-device-width: 700px) {
  .iqMapDisplayBase {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background-color: #eeeeee;
    z-index: 500;
    display: flex;
    flex-direction: column;
    max-width: 100vw;
    /*disable standard microsoft touch actions*/
    -ms-touch-action: none;
  }

  .iqMapDisplayBase .iqHeader {
    width: 99vw;
    height: 8vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    font-weight: 600;
    font-size: 3vh;
  }

  .iqMapDisplayBase .closeBtn {
    color: black;
    font-size: 4vh;
    border: 1px solid red;
    border-radius: 1vh;
    font-weight: 600;
    min-width: 1vw;
    margin: 0.5vw;
  }

  .iqMapDisplayBase .iqMainContent {
    width: 99vw;
    height: 50vh;
    background-color: white;
  }

  .iqMapDisplayBase .canvas {
    width: 99vw;
    height: 50vh;
    /*disable standard microsoft touch actions*/
    -ms-touch-action: none;
    touch-action: none;
  }

  .iqMapDisplayBase .iqMapSecondaryContent {
    width: 99vw;
    height: 40vh;
    /*background-color: white;*/
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
  }

  .iqMapDisplayBase .iqMapDefectDetails {
    width: 99vw;
    height: auto;
    /* max-height: 83vh; */
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .iqMapDisplayBase .iqMapShapeControls {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 1vh;
    max-width: 98vw;
  }

  .iqMapDisplayBase .iqMapShapeControls .buttons {
    background-color: #7986cb;
    color: white;
    font-size: 2vh;
  }

  .iqMapDisplayBase .iqControlsFullWidth {
    display: flex;
    flex-direction: row;
  }

  .iqMapDisplayBase .defectInfo {
    display: flex;
    flex-direction: row;
    padding: 1vh;
    background-color: white;
    margin: 0.6vh;
    /*width: 17vw;*/
    flex: 1 0 45vw;
    justify-content: space-between;
  }

  .iqMapDisplayBase .defectInfo > div {
    display: flex;
    flex-direction: row;
  }

  .iqMapDisplayBase .defectInfo .shapeNo {
    font-weight: 600;
    font-size: 2.5vh;
    margin-right: 1vw;
  }

  .iqMapDisplayBase .defectInfo .defectsList {
    display: flex;
    flex-direction: column;
    font-size: 1.6vh;
  }

  .iqMapDisplayBase .defectInfo .commentIcon {
    align-self: flex-end;
    width: 4vh;
    height: 4vh;
    font-size: 4vh;
  }

  .iqMapDisplayBase .loadingIndicator {
    position: fixed;
    top: 45vh;
    left: 40vw;
  }
}

/*landscape*/

@media only screen and (orientation: landscape) and (min-device-width: 700px) {
  .iqMapDisplayBase {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background-color: #eeeeee;
    z-index: 504;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100vw;
    /*disable standard microsoft touch actions*/
    -ms-touch-action: none;
  }

  .iqMapDisplayBase .iqHeader {
    width: 99vw;
    height: 5vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    font-weight: 600;
    font-size: 3vh;
  }

  .iqMapDisplayBase .closeBtn {
    color: black;
    font-size: 2vh;
    border: 1px solid red;
    border-radius: 1vh;
    font-weight: 600;
    min-width: 1vw;
    margin: 0.5vw;
  }

  .iqMapDisplayBase .iqMainContent {
    width: 78vw;
    height: 93vh;
    background-color: white;
  }

  .iqMapDisplayBase .iqMainContentNarrow {
    width: 60vw;
    height: 93vh;
    background-color: white;
  }

  .iqMapDisplayBase .canvas {
    width: 78vw;
    height: 93vh;
    /*disable standard microsoft touch actions*/
    -ms-touch-action: none;
    touch-action: none;
  }

  .iqMapDisplayBase .canvasNarrow {
    width: 60vw;
    height: 93vh;
    /*disable standard microsoft touch actions*/
    -ms-touch-action: none;
    touch-action: none;
  }

  .iqMapDisplayBase .iqMapSecondaryContent {
    width: 20vw;
    height: auto;
    /* overflow-y: visible; */
    /*background-color: white;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .iqMapDisplayBase .iqMapSecondaryContentTwoCol {
    width: 40vw;
    height: 99vh;
    /*background-color: white;*/
    display: flex;
    justify-content: space-between;
  }

  .iqMapDisplayBase .iqMapAdditionalDefects {
    width: 20vw;
    height: 99vh;
    /*background-color: white;*/
    display: flex;
    justify-content: space-between;
  }

  .iqMapDisplayBase .iqMapDefectDetails {
    width: 20vw;
    /* height: 85vh; */
    /* max-height: 85vh;     */
    height: 75vh;
    max-height: 75vh;
    overflow-y: auto;
  }

  .iqMapDisplayBase .iqMapDefectDetailsTwoCol {
    width: 40vw;
    height: auto;
    flex-direction: column;
    column-count: 2;
    /* max-height: 83vh; */
    /* overflow-y: auto; */
  }

  .iqMapDisplayBase .iqMapDefectDetailsFiveCol {
    width: 100vw;
    height: auto;
    flex-direction: column;
    column-count: 5;
    /* max-height: 83vh; */
    /* overflow-y: auto; */
  }

  .iqMapDisplayBase .iqMapShapeControls {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2vh;
  }

  .iqMapShapeControls .buttons {
    background-color: #7986cb;
    color: white;
    width: 8vw;
    height: 2.2vh;
    margin-bottom: .5vh;
  }

  .iqMapDisplayBase .iqMapShapeControls .iqControlsFullWidth {
    width: 20vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-bottom: 1vh;
  }

  .iqMapDisplayBase .defectInfo {
    display: flex;
    flex-direction: row;
    padding: 1vh;
    background-color: white;
    margin: 0.6vh;
    width: 17vw;
    justify-content: space-between;
  }

  .iqMapDisplayBase .defectInfo > div {
    display: flex;
    flex-direction: row;
  }

  .iqMapDisplayBase .defectInfo .shapeNo {
    font-weight: 600;
    font-size: 2.5vh;
    margin-right: 1vw;
  }

  .iqMapDisplayBase .defectInfo .defectsList {
    display: flex;
    flex-direction: column;
    font-size: 1.6vh;
  }

  .iqMapDisplayBase .defectInfo .commentIcon {
    align-self: flex-end;
    width: 2vw;
    height: 2vw;
    font-size: 2vw;
  }

  .iqMapDisplayBase .loadingIndicator {
    position: fixed;
    top: 45vh;
    left: 40vw;
  }
}

/*print media*/

.printPage {
  page-break-after: always; 
}

.iqMapPage {
  float:none;
}

@page {
  size: landscape letter;
}

@media print {
  .iqMapDisplayBase {
    /* position: fixed; */
    top: 0px;
    left: 0px;
    width: 100vw;
    overflow-y: visible !important;
    background-color: #eeeeee;
    z-index: 500;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100vw;
    /*disable standard microsoft touch actions*/
    -ms-touch-action: none;
  }

  .multiPage {
    height: auto;
  }
  .singlePage {
    height: 95vh;
  }

  .iqMapDisplayBase .iqHeader {
    width: 99vw;
    min-height: 5vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    font-weight: 600;
    font-size: 3vh;
  }

  .iqMapDisplayBase .closeBtn {
    color: black;
    font-size: 2vh;
    border: 1px solid red;
    border-radius: 1vh;
    font-weight: 600;
    min-width: 1vw;
    margin: 0.5vw;
  }

  .iqMapDisplayBase .iqMainContent {
    width: 78vw;
    height: 93vh;
    background-color: white;
  }

  .iqMapDisplayBase .iqMainContentNarrow {
    width: 60vw;
    height: 93vh;
    background-color: white;
  }

  .iqMapDisplayBase .canvas {
    width: 78vw;
    height: 93vh;
    /*disable standard microsoft touch actions*/
    -ms-touch-action: none;
  }

  .iqMapDisplayBase .canvasNarrow {
    width: 60vw;
    height: 93vh;
    /*disable standard microsoft touch actions*/
    -ms-touch-action: none;
  }

  .iqMapDisplayBase .iqMapSecondaryContentTwoCol {
    width: 40vw;
    height: 99vh;
    /*background-color: white;*/
    display: flex;
    justify-content: space-between;
  }

  .iqMapDisplayBase .iqMapAdditionalDefects {
    width: 100vw;
    height: 99vh;
    /*background-color: white;*/
    display: flex;
    justify-content: space-between;
  }

  .iqMapDisplayBase .iqMapDefectDetails {
    width: 20vw;
    height: 83vh;
    max-height: 83vh;    
    overflow-y: auto;
  }
    
  .iqMapDisplayBase .iqMapDefectDetailsTwoCol {
    width: 40vw;
    height: auto;
    flex-direction: column;
    column-count: 2;
    /* max-height: 83vh; */
    /* overflow-y: auto; */
  }

  .iqMapDisplayBase .iqMapDefectDetailsFiveCol {
    width: 100vw;
    height: auto;
    flex-direction: column;
    column-count: 5;
    /* max-height: 83vh; */
    /* overflow-y: auto; */
  }

  .iqMapDisplayBase .iqMapShapeControls {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2vh;
  }

  .iqMapShapeControls .buttons {
    background-color: #7986cb;
    color: white;
  }

  .iqMapDisplayBase .iqMapShapeControls .iqControlsFullWidth {
    width: 20vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .iqMapDisplayBase .defectInfo {
    display: flex;
    flex-direction: row;
    padding: 1vh;
    background-color: white;
    margin: 0.6vh;
    width: 17vw;
    justify-content: space-between;
  }

  .iqMapDisplayBase .defectInfo > div {
    display: flex;
    flex-direction: row;
  }

  .iqMapDisplayBase .defectInfo .shapeNo {
    font-weight: 600;
    font-size: 2.5vh;
    margin-right: 1vw;
  }

  .iqMapDisplayBase .defectInfo .defectsList {
    display: flex;
    flex-direction: column;
    font-size: 1.6vh;
  }

  .iqMapDisplayBase .defectInfo .commentIcon {
    align-self: flex-end;
    width: 2vw;
    height: 2vw;
    font-size: 2vw;
  }

  .iqMapDisplayBase .loadingIndicator {
    position: fixed;
    top: 45vh;
    left: 40vw;
  }
}

/*Checksheet Details Display*/

/*phone screen*/

@media only screen and (min-device-width: 300px) and (max-device-width: 700px) {
  .checksheetDetailsContainer {
    position: fixed;
    right: 0px;
    top: 55vh;
    z-index: 100;
  }

  .checksheetDetailsContainer img {
    cursor: pointer;
    width: 10vw;
    height: 10vw;
  }

  .checksheetDetailsContainer > .fontIcon {
    cursor: pointer;
    font-size: 10vw;
  }

  .checksheetDetailsContainer .reviewAdvancedHistory {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: white;
    z-index: 500;
  }

  .checksheetDetailsContainer .reviewAdvancedHistory .advancedHistoryHeader {
    width: 100vw;
    font-size: 2vh;
  }

  .checksheetDetailsContainer .reviewAdvancedHistory .reviewCard {
    height: 80vh;
    max-height: 80vh;
    max-width: 99vw;
    overflow: auto;
    margin-left: 0;
    font-size: 2vh;
  }

  .checksheetDetailsContainer .tabContainer {
    display: flex;
    flex-direction: row;
  }

  .checksheetDetailsContainer .tabContainer div {
    margin: 1vw 1vw 0 1vw;
    font-size: 2vh;
  }

  .checksheetDetailsContainer .tabContainer .selected {
    margin: 1vw 2vw 0 2vw;
    font-size: 2.5vh;
  }

  .checksheetDetailsContainer .gridHeaderCellLight {
    font-weight: 600;
    border-bottom: solid 1px grey;
    text-align: left;
    flex: 1 0 5vw;
    margin-right: 3px;
    font-size: 1vh;
  }

  .checksheetDetailsContainer .gridCellLight {
    text-align: left;
    flex: 1 0 5vw;
    margin-right: 3px;
    font-size: calc(1vh * var(--fontSize, 1));
  }

  .checksheetDetailsContainer .gridCellLight > select {
    width: 5vw;
  }

  .checksheetDetailsContainer .gridCellLight > input {
    width: 5vw;
  }
}

/*portrait large tablet*/

@media only screen and (orientation: portrait) and (min-device-width: 1000px) {
  .checksheetDetailsContainer {
    position: fixed;
    right: 0px;
    top: 55vh;
    z-index: 300;
    padding: 1vw 0 1vw 1vw;
    background-color: #e5e5e5;
    border-radius: 2vw 0 0 2vw;
    box-shadow: -1px 1px 3px 1px;
  }

  .checksheetDetailsContainer img {
    cursor: pointer;
    width: 10vw;
    height: 10vw;
  }

  .checksheetDetailsContainer .reviewAdvancedHistory {
    position: fixed;
    left: 1vw;
    top: 8vh;
    width: 96vw;
    height: 91vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: white;
    z-index: 10010;
  }

  .checksheetDetailsContainer .reviewAdvancedHistory .advancedHistoryHeader {
    width: 100vw;
    font-size: 2vh;
  }

  .checksheetDetailsContainer .reviewAdvancedHistory .reviewCard {
    height: 80vh;
    max-height: 80vh;
    max-width: 99vw;
    overflow: auto;
    margin-left: 0;
    font-size: 2vh;
  }

  .checksheetDetailsContainer .tabContainer {
    display: flex;
    flex-direction: row;
  }

  .checksheetDetailsContainer .tabContainer div {
    margin: 1vw 1vw 0 1vw;
    font-size: 2vh;
    height: 3vh;
  }

  .checksheetDetailsContainer .tabContainer .selected {
    margin: 1vw 2vw 0 2vw;
    font-size: 2.5vh;
    height: 3.2vh;
  }

  .checksheetDetailsContainer .gridHeaderCellLight {
    font-weight: 600;
    border-bottom: solid 1px grey;
    text-align: left;
    flex: 1 0 5vw;
    margin-right: 3px;
    font-size: 1vh;
  }

  .checksheetDetailsContainer .gridCellLight {
    text-align: left;
    flex: 1 0 5vw;
    margin-right: 3px;
    font-size: 1vh;
  }

  .checksheetDetailsContainer .gridCellLight > select {
    width: 5vw;
  }

  .checksheetDetailsContainer .gridCellLight > input {
    width: 5vw;
  }
}

/*portrait small tablet*/

@media only screen and (orientation: portrait) and (max-device-width: 1000px) {
  .checksheetDetailsContainer {
    position: fixed;
    right: 0px;
    top: 55vh;
    z-index: 300;
    padding: 1vw 0 1vw 1vw;
    background-color: #e5e5e5;
    border-radius: 2vw 0 0 2vw;
    box-shadow: -1px 1px 3px 1px;
  }

  .checksheetDetailsContainer .fontIcon {
    cursor: pointer;
    font-size: 5vh;
  }

  .checksheetDetailsContainer img {
    cursor: pointer;
    width: 10vw;
    height: 10vw;
  }

  .checksheetDetailsContainer .reviewAdvancedHistory {
    position: fixed;
    left: 1vw;
    top: 8vh;
    width: 96vw;
    height: 91vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: white;
    z-index: 10010;
  }

  .checksheetDetailsContainer .reviewAdvancedHistory .fontIcon {
    font-size: 2vh;
  }

  .checksheetDetailsContainer .reviewAdvancedHistory .advancedHistoryHeader {
    width: 100vw;
    font-size: 2vh;
  }

  .checksheetDetailsContainer .reviewAdvancedHistory .reviewCard {
    height: 80vh;
    max-height: 80vh;
    max-width: 99vw;
    overflow: auto;
    margin-left: 0;
    font-size: 2vh;
  }

  .checksheetDetailsContainer .tabContainer {
    display: flex;
    flex-direction: row;
  }

  .checksheetDetailsContainer .tabContainer div {
    margin: 1vw 1vw 0 1vw;
    font-size: 2vh;
    height: 3vh;
  }

  .checksheetDetailsContainer .tabContainer .selected {
    margin: 1vw 2vw 0 2vw;
    font-size: 2.5vh;
    height: 3.2vh;
  }

  .checksheetDetailsContainer .gridHeaderCellLight {
    font-weight: 600;
    border-bottom: solid 1px grey;
    text-align: left;
    flex: 1 0 5vw;
    margin-right: 3px;
    font-size: 1vh;
  }

  .checksheetDetailsContainer .gridCellLight {
    text-align: left;
    flex: 1 0 5vw;
    margin-right: 3px;
    font-size: 1vh;
  }

  .checksheetDetailsContainer .gridCellLight > select {
    width: 5vw;
  }

  .checksheetDetailsContainer .gridCellLight > input {
    width: 5vw;
  }
}

/*normal landscape*/

@media only screen and (orientation: landscape) and (min-device-width: 700px) {
  .checksheetDetailsContainer {
    position: fixed;
    right: 0px;
    top: 55vh;
    z-index: 300;
    padding: 1vw 0 1vw 1vw;
    background-color: #e5e5e5;
    border-radius: 2vw 0 0 2vw;
    box-shadow: -1px 1px 3px 1px;
  }

  .floatingControlsContainerRight {
    position: fixed;
    top: 38vh;
    right: 0px;
    z-index: 500;
    min-height: 90px;
  }

  .floatingControlsExpanderDivRight {
    position: absolute;
    /* top: 38vh; */
    right: 0;
    top: 0;
    width: 3vw;
    z-index: 500;
    height: 70vh;
    height: 6vh;
  }

  .floatingControlsRight {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 40vh;
    width: 5vw;
    background-color: #e1f5fe;
    z-index: 501;
    border-radius: 1vw 0 0 1vw;
    box-shadow: -2px 0px 5px 1px rgba(0, 0, 0, 0.75);
    transition: all ease-in-out 0.2s;
    -webkit-transition: left 2000 ease-in-out 0;
    height: 60px;
    font-size: 4em;
    padding: 5px;
  }

  .floatingControlsRight.expanded {
    right: 0;
    transition: right 2000 ease-in-out 0;
    -webkit-transition: right 2000 ease-in-out 0;
  }

  .floatingControlsRight.collapsed {
    right: -4.5vw;
    transition: right 2000 ease-in-out 0;
    -webkit-transition: right 2000 ease-in-out 0;
  }

  .checksheetDetailsContainer > img {
    cursor: pointer;
  }

  .checksheetDetailsContainer > .fontIcon {
    cursor: pointer;
    font-size: 3vw;
  }

  .checksheetDetailsContainer .reviewAdvancedHistory {
    position: fixed;
    left: 2.5vw;
    top: 10vh;
    width: 95vw;
    height: 80vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: white;
    z-index: 500;
    border-radius: 1vh;
  }

  .checksheetDetailsContainer .reviewAdvancedHistory .advancedHistoryHeader {
    /* width: 78vw; */
  }

  .checksheetDetailsContainer .reviewAdvancedHistory .reviewCard {
    height: 70vh;
    max-height: 70vh;
    max-width: 94vw;
    overflow: auto;
    margin-left: 1vw;
    font-size: 1.4vh;
  }

  .checksheetDetailsContainer .tabContainer {
    display: flex;
    flex-direction: row;
    height: 5vh;
    max-height: 5vh;
  }

  .checksheetDetailsContainer .tabContainer div {
    margin: 1vw 0.1vw 0 0.1vw;
    padding: 0 2vw 0 2vw;
    font-size: 2vh;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
    height: 2.8vh;
  }

  .checksheetDetailsContainer .tabContainer .selected {
    margin: 1vw 0.5vw 0 0.5vw;
    font-size: 2.5vh;
    box-shadow: grey 1px 1px;
    transform: scale(1.1);
    height: 3vh;
  }

  .checksheetDetailsContainer .tabContainer .yellow {
    background-color: #cddc39;
  }

  .checksheetDetailsContainer .tabContainer .green {
    background-color: #81c784;
  }

  .checksheetDetailsContainer .tabContainer .brown {
    background-color: #bcaaa4;
  }

  .checksheetDetailsContainer .tabContainer .pink {
    background-color: #ffcdd2;
  }

  .checksheetDetailsContainer .tabContainer .blue {
    background-color: #00bcd4;
  }

  .checksheetDetailsContainer .indentedDataGrid {
    height: 50vh;
  }

  .checksheetDetailsContainer .gridHeaderCellLight {
    font-weight: 600;
    border-bottom: solid 1px grey;
    text-align: left;
    flex: 1 0 5vw;
    margin-right: 3px;
    font-size: calc(1.5vh * var(--font-size, 1));
  }

  .checksheetDetailsContainer .gridCellLight {
    text-align: left;
    flex: 1 0 5vw;
    margin-right: 3px;
    font-size: calc(1.25vh * var(--font-size, 1));
  }

  .checksheetDetailsContainer .gridCellLight > select {
    width: 5vw;
  }

  .checksheetDetailsContainer .gridCellLight > input {
    width: 5vw;
    transition: 0.4s;
  }


  .checksheetDetailsContainer .gridCellLight > input:focus,
  .checksheetDetailsContainer .gridCellLight > input:active
   {
    width: 10vw;
    max-width: 130px;
    z-index: 100;
    outline: none;
    border: 1px solid darkred; 
    border-radius: 4px;
  }
}

/*Check Item Thumbnail URL popup display*/

/*phone screen*/

@media only screen and (min-device-width: 300px) and (max-device-width: 700px) {
  .thumbnailImagePopup .dropshadow {
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.5;
    z-index: 300;
    position: fixed;
    top: 0px;
    left: 0px;
  }
}

/*normal landscape*/

@media only screen and (orientation: landscape) and (min-device-width: 700px) {
  .thumbnailImagePopup {
    z-index: 500;
  }

  .thumbnailImagePopup .dropshadow {
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.5;
    z-index: 300;
    position: fixed;
    top: 0px;
    left: 0px;
  }

  .thumbnailImagePopup .imgContainer {
    z-index: 600;
    width: 80vw;
    height: 80vh;
    position: fixed;
    top: 10vh;
    left: 10vw;
    background-color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
    border-radius: 1vh;
  }

  .thumbnailImagePopup .imgContainer > .closeHeader {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }

  .thumbnailImagePopup .imgContainer .closeHeader div {
    cursor: pointer;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    height: 3vh;
    font-weight: 600;
    text-align: center;
  }

  .thumbnailImagePopup .imgContainer > img {
    max-height: 70vh;
    max-width: 80vw;
  }
}

/*portrat on larger tablet*/

@media only screen and (orientation: portrait) and (min-device-width: 1000px) {
  .thumbnailImagePopup {
    z-index: 500;
  }

  .thumbnailImagePopup .dropshadow {
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.5;
    z-index: 300;
    position: fixed;
    top: 0px;
    left: 0px;
  }

  .thumbnailImagePopup .imgContainer {
    z-index: 600;
    width: 80vw;
    height: 80vh;
    position: fixed;
    top: 10vh;
    left: 10vw;
    background-color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
    border-radius: 1vh;
  }

  .thumbnailImagePopup .imgContainer > .closeHeader {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }

  .thumbnailImagePopup .imgContainer .closeHeader div {
    cursor: pointer;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    height: 3vh;
    font-weight: 600;
    text-align: center;
  }

  .thumbnailImagePopup .imgContainer > img {
    max-height: 70vh;
    max-width: 80vw;
  }
}

/*portrat on smaller tablet*/

@media only screen and (orientation: portrait) and (max-device-width: 1000px) {
  .thumbnailImagePopup {
    z-index: 500;
  }

  .thumbnailImagePopup .dropshadow {
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.5;
    z-index: 300;
    position: fixed;
    top: 0px;
    left: 0px;
  }

  .thumbnailImagePopup .imgContainer {
    z-index: 600;
    width: 80vw;
    height: 80vh;
    position: fixed;
    top: 10vh;
    left: 10vw;
    background-color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
    border-radius: 1vh;
  }

  .thumbnailImagePopup .imgContainer > .closeHeader {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }

  .thumbnailImagePopup .imgContainer .closeHeader div {
    cursor: pointer;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    height: 3vh;
    font-weight: 600;
    text-align: center;
  }

  .thumbnailImagePopup .imgContainer > img {
    max-height: 70vh;
    max-width: 80vw;
  }
}

/*
    Quality Buffer Popup
*/

.qualityBufferPopup {
  position: fixed;
  top: 10vh;
  left: 13vw;
  width: 74vw;
  height: 80vh;
  /*background-color: white;*/
  background-color: #f0f0f0;
  z-index: 5000;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.qualityBufferPopup .header {
  align-content: center;
  text-align: center;
  height: 3vh;
  font-size: 2vh;
  box-shadow: 0 0.3vh 0px -1px gray;
  background-color: #f5f5f5;
  flex: 0 0 100%;
}

.qualityBufferPopup .saveControls {
  flex-basis: 75vw;
  display: flex;
  justify-content: space-around;
  height: 6vh;
  width: 75vw;
}

.qualityBufferPopup .availableContent {
  flex-basis: 34vw;
  height: 72vh;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.qualityBufferPopup .availableContent div {
  margin-left: 1vw;
  margin-top: 1vh;
}

.qualityBufferPopup .availableContent .filterPart {
  /*border-bottom: solid gray 2px;*/
  background-color: white;
  flex-basis: 30vw;
  height: 20vh;
}

.qualityBufferPopup .availableContent .psnPart {
  background-color: white;
  flex-basis: 30vw;
  height: 45vh;
}

.qualityBufferPopup .selectedContents {
  flex-basis: 34vw;
  height: 72vh;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.qualityBufferPopup .selectedContents div {
  margin-left: 1vw;
  margin-top: 1vh;
}

.qualityBufferPopup .selectedContents .psnPart {
  background-color: white;
  flex-basis: 30vw;
  height: 67vh;
}

.qualityBufferPopup .loadingIndicator {
  flex-basis: 80vw;
  height: 72vh;
  justify-content: center;
}

.qualityBufferPopup .savingIndicator {
  position: absolute;
  left: 0px;
  right: 0px;
  z-index: 5100;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  text-align: center;
  align-content: center;
}

.qualityBufferPopup .filterCard {
  width: 30vw;
}

/*
    Running Orders popup
*/

.runningOperationPopup {
  width: 50vw;
  height: 74vh;
  position: fixed;
  left: 25vw;
  top: 13vh;
  display: flex;
  flex-direction: column;
  background-color: white;
  z-index: 5000;
}

.runningOperationPopup .header {
  font-size: 2vh;
  height: 3vh;
  border-bottom: solid 1px gray;
  text-align: center;
  align-content: center;
}

.runningOperationPopup .instructions {
  height: 5vh;
  font-size: 1.7vh;
}

.runningOperationPopup .saveControls {
  width: 100%;
  text-align: center;
  align-content: center;
  height: 6vh;
}

.runningOperationPopup .content {
  height: 60vh;
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-content: space-around;
}

.runningOperationPopup .contentpart {
  width: 45%;
}

.runningOperationPopup .psnDetails {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-content: space-between;
  padding: 1em;
  cursor: pointer;
}

.runningOperationPopup .psnDetails span {
  margin-left: 1em;
}

/*Check Item Instructions Popup*/

.checkItemInstructionsPopupContainer .dropShadow {
  width: 100vw;
  height: 100vh;
  background-color: black;
  opacity: 0.5;
  z-index: 300;
  position: fixed;
  top: 0px;
  left: 0px;
}

/*phone screen*/

@media only screen and (min-device-width: 300px) and (max-device-width: 700px) {
  .checkItemInstructionsPopup {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background-color: white;
    height: 50vh;
    width: 62vw;
    position: fixed;
    top: 25vh;
    left: 20vw;
    z-index: 1000;
    justify-content: space-between;
    padding: 2px;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
    border-radius: 1vh;
    overflow: auto;
  }

  .checkItemInstructionsPopup .header {
    font-size: 2vh;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .checkItemInstructionsPopup > div {
    width: 60vw;
  }

  .checkItemInstructionsPopup .instructions {
    flex: 2 2 20vh;
  }

  .checkItemInstructionsPopup .error {
    font-size: 2vh;
    font-weight: 600;
    color: red;
    flex: 2 2 20vh;
  }

  .checkItemInstructionsPopup .footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
  }

  .checkItemInstructionsPopup .saveButton {
    /*width: 10vw;
        color: black;
        background-color: #7986cb;*/
    color: grey;
    font-weight: 600;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    cursor: pointer;
    height: 3vh;
    text-align: center;
    min-width: 2vw;
    padding-left: 0;
    padding-right: 0;
  }
}

/*portrait on larger tablet*/

@media only screen and (orientation: portrait) and (max-device-width: 1000px) {
  .checkItemInstructionsPopup {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background-color: white;
    height: 50vh;
    width: 62vw;
    position: fixed;
    top: 25vh;
    left: 20vw;
    z-index: 1000;
    justify-content: space-between;
    padding: 2px;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
    border-radius: 1vh;
    overflow: auto;
  }

  .checkItemInstructionsPopup .header {
    font-size: 2vh;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .checkItemInstructionsPopup > div {
    width: 60vw;
  }

  .checkItemInstructionsPopup .instructions {
    flex: 2 2 20vh;
  }

  .checkItemInstructionsPopup .error {
    font-size: 2vh;
    font-weight: 600;
    color: red;
    flex: 2 2 20vh;
  }

  .checkItemInstructionsPopup .footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
  }

  .checkItemInstructionsPopup .saveButton {
    /*width: 10vw;
        color: black;
        background-color: #7986cb;*/
    color: grey;
    font-weight: 600;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 3vh;
    cursor: pointer;
    height: 3vh;
    text-align: center;
    min-width: 2vw;
    padding-left: 0;
    padding-right: 0;
  }
}

/*portrait on smaller tablet*/

@media only screen and (orientation: portrait) and (min-device-width: 1000px) {
  .checkItemInstructionsPopup {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background-color: white;
    height: 50vh;
    width: 62vw;
    position: fixed;
    top: 25vh;
    left: 20vw;
    z-index: 1000;
    justify-content: space-between;
    padding: 2px;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
    border-radius: 1vh;
    overflow: auto;
  }

  .checkItemInstructionsPopup .header {
    font-size: 2vh;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .checkItemInstructionsPopup > div {
    width: 60vw;
  }

  .checkItemInstructionsPopup .instructions {
    flex: 2 2 20vh;
  }

  .checkItemInstructionsPopup .error {
    font-size: 2vh;
    font-weight: 600;
    color: red;
    flex: 2 2 20vh;
  }

  .checkItemInstructionsPopup .footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
  }

  .checkItemInstructionsPopup .saveButton {
    /*width: 10vw;
        color: black;
        background-color: #7986cb;*/
    color: grey;
    font-weight: 600;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    cursor: pointer;
    height: 3vh;
    text-align: center;
    min-width: 2vw;
    padding-left: 0;
    padding-right: 0;
  }
}

/*normal landscape*/

@media only screen and (orientation: landscape) and (min-device-width: 700px) {
  .checkItemInstructionsPopup {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background-color: white;
    height: 50vh;
    width: 62vw;
    position: fixed;
    top: 25vh;
    left: 20vw;
    z-index: 1000;
    justify-content: space-between;
    padding: 2px;
    box-shadow: 2px 2px 2px grey, -2px -2px 3px grey, -2px 2px 3px grey,
      -2px 2px 3px grey;
    border-radius: 1vh;
    overflow: auto;
  }

  .checkItemInstructionsPopup .header {
    font-size: 2vh;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .checkItemInstructionsPopup > div {
    width: 60vw;
  }

  .checkItemInstructionsPopup .instructions {
    flex: 2 2 20vh;
  }

  .checkItemInstructionsPopup .error {
    font-size: 2vh;
    font-weight: 600;
    color: red;
    flex: 2 2 20vh;
  }

  .checkItemInstructionsPopup .footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
  }

  .checkItemInstructionsPopup .saveButton {
    /*width: 10vw;
            color: black;
            background-color: #7986cb;*/
    color: grey;
    font-weight: 600;
    border: 2px solid red;
    border-radius: 1vh;
    font-size: 2.3vh;
    width: 2vw;
    cursor: pointer;
    height: 3vh;
    text-align: center;
    min-width: 2vw;
    padding-left: 0;
    padding-right: 0;
  }
}

.BaseTableInput input[type="text"] {
  width: 80%;
  border-radius: 3px;
}

.NewCheckSheetPopupContent {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 20px;
  overflow-x: hidden;
  border: 4px solid gray;
  border-radius: 5px;
}

.newCheckSheetInputRow {
  padding: 10px;
  /* box-shadow: 5px 5px 8px 4px rgba(168, 168, 168, 1); */
}

.checksheetDivider {
  width: 90%;
  background-color: black;
  height: 1px;
  border-style: solid;
}

.headerBreadcrumb {
  color: rgb(70, 70, 255);
  text-decoration: underline;
}

.NewCheckSheetPopupContent .fields {
  display: grid;
  grid-template-columns: auto auto auto;
}

.optionIcon {
  height: 3vh;
  width: 3vh;
  cursor: pointer;
}

.closeBtn {
  background-color: white;
  color: red;
  border: red solid 2px;
  border-radius: 1vw;
  width: 3vw;
  font-size: 2vh;
  font-weight: 600;
}

.BaseTableActionButtons {
  display: flex;
  justify-content: space-evenly;
  padding: 2px 0px;
}

.applyBtn {
  background-color: #7986cb !important;
  width: 10vw !important;
  font-size: 2vh;
  font-weight: 600;
  margin-left: 0px !important;
  padding: 2px 15px;
}

.spanWithInfoButton {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.infoButton {
  background-color: #79cb8b !important;
  width: 10vw !important;
  font-size: 2vh;
  font-weight: 600;
  margin-left: 0px !important;
  padding: 2px 15px;
}

.baseTableValueSelection .closeBtn {
  background-color: white;
  color: red;
  border: red solid 2px;
  border-radius: 1vw;
  width: 3vw;
  font-size: 2vh;
  font-weight: 600;
}

.baseTableValueSelection .applyBtn {
  background-color: #7986cb !important;
  width: auto !important;
  font-size: 2vh;
  font-weight: 600;
  margin-left: 0px !important;
  padding: 2px 15px;
}

.applyBtnDisabled {
  font-size: 2vh;
  width: auto !important;
  margin-left: 0px !important;
  padding: 2px 15px;
  opacity: 0;
}

.baseTableValueSelection .contents {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  max-width: 60vw;
  overflow-x: auto;
}

.baseTableValueSelection .filterCard {
  max-height: 35vh;
  height: 35vh;
  align-self: flex-start;
  width: 100%;
}

.dropShadowUnderlay {
  width: 100% !important;
  height: 100vh !important;
  background-color: black;
  z-index: 1;
  position: fixed;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  opacity: 0.2;
}

.ScheduleBaseTablePopup {
    position: fixed;
    top: calc(3.5vh + var(--draggable-container-top, 0px));
    left: calc(12.5vw + var(--draggable-container-left, 0px));
    /* padding: 4px 8px; */
    min-height: 80vh;
    max-height: 80vh;
    width: 75vw !important;
    background-color: white !important;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    z-index: 9999999;
    overflow: auto;
    box-shadow: rgb(100 100 111 / 25%) 0px 3px 50px 0.5px;
}

/*Move to BatchUpload file where the class is and switched to styled components - box-shadow changed;
 .newBaseTablePopup {
  position: fixed;
  top: calc(3.5vh + var(--draggable-container-top, 0px));
  left: calc(12.5vw + var(--draggable-container-left, 0px));
  padding: 4px 8px;
  min-height: 50vh;
  max-height: 80vh;
  width: 75vw !important;
  background-color: white;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: auto;
  box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.55);
} */

/* .NewBaseTableHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
}

.NewBaseTableInfo {
  display: flex;
  justify-content: space-between;
  width: 100%;
} */

.BaseTableControls {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.BaseTableControls div {
  margin: 0px 4px;
  min-height: 20px;
}

.AddBaseTableRow {
  margin-left: 0px !important;
  width: auto !important;
  border-radius: 5px;
  padding: 2px;
}

.NewBaseTableContent {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-evenly;
  min-height: 33vh;
  border: 2px solid #e9e5e5;
  border-radius: 5px;
  overflow: scroll;
  margin: 10px;
  padding: 10px;
}

.mainBaseTable {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.NewBaseTableSecondaryContent {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 2px 0px 2px 0px;
  border: 2px solid grey;
  border-radius: 5px;
  overflow: auto;
}

.secondaryBaseTableRow {
  display: flex;
  min-width: 100%;
  justify-content: flex-start;
  flex-wrap: nowrap;
  margin: 4px 0px;
}

.SecondaryInputDiv {
  margin: 0px 2px;
  width: 16%;
}

.SecondaryInputDiv input {
  width: 80%;
}

.SecondaryInputDiv input[type="text"] {
  padding: 4px 2px;
}

.SecondaryInputDiv input[type="checkbox"] {
  width: auto !important;
}

.RemoveRowContainer {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.removeBaseTableRowButton {
  background-color: white;
  border: 2px solid red;
  height: 2em;
  width: 2vw;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.BaseTableInvisInput {
  width: 0px;
  height: 0px;
  position: fixed;
  top: 0px;
  left: -10px;
}

.BaseTableFieldTitleDiv {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 50%;
}

.BaseTableDivider {
  border: 1px solid black;
  width: 80%;
  border-radius: 10px;
}

.BaseTableOptionalFields {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  transition: height linear 0.5s;
  margin: 0 auto;
}

.BaseTableOptionalFieldContainer {
  height: 45%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.NewBaseTableContent input[type="text"] {
  border-radius: 3px;
  padding: 4px;
  width: 90%;
}

.BaseTableFieldDivider {
  width: 95%;
  border: 1px solid black;
}

.BaseTableOptionalToggle {
  background-color: #7986cb;
  color: white;
  padding: 2px;
  display: flex;
  justify-content: center;
  margin: 10px auto;
  border-radius: 5px;
  cursor: pointer;
  width: 15%;
}

.BaseTableRequiredFields {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  transition: width ease-in-out 2s;
}

.newBaseTableFooter {
  display: flex;
  justify-content: space-between;
  padding: 8px;
}

.baseTableFooterDiv {
  margin: 0px;
}

.nextStepsButton {
  margin: 0px !important;
}

.BaseTableToggleView {
  margin: 0px !important;
  width: auto !important;
  display: flex;
  align-items: center;
  border-radius: 5px !important;
}

.baseTableContinue {
  margin-left: 0px;
}

.BaseTableInput {
  min-width: 23%;
  margin: 4px;
  border-radius: 5px;
  padding: 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.2);
}

.secondaryBaseTable .BaseTableInput {
  width: 25%;
  padding: 4px;
}

.requiredFieldError {
  background-color: #ff000021;
}

.prevBaseTableButton {
  margin: 2px 0px !important;
}

.NewBaseTableSubmit {
  margin-left: 0 !important;
}

.BaseTableInputTitle {
  display: flex;
  align-items: center;
}

.baseTableBack {
  width: 15vw;
}

.requiredText {
  font-size: 1.1em;
  margin-left: 4px;
  color: red;
}
/* Moved to the Batch Upload file as a styled component - July 2022
.requiredTextInfo {
  font-size: 0.8em;
  margin-left: 4px;
  color: red;
} */

.spotTypeValueSelector {
  max-height: 100%;
  display: flex;
  width: 100%;
}

.defectCodeDisplay {
  width: 20vw;
  height: 46vh;
  margin: 0px 10px;
  border: 2px solid grey;
  padding: 4px;
  border-radius: 5px;
  overflow-y: auto;
}

.baseTableListDisplayDiv {
  height: 35vh;
  overflow-y: auto;
}

.FilterCards {
  display: flex;
  max-height: 100%;
}

.htmlEditorContainer > .dropshadow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  opacity: 0.4;
}

.htmlEditorPopup {
  position: fixed;
  width: 80vw;
  height: 88vh;
  top: calc(3.5vh + var(--draggable-container-top, 20vh));
  left: calc(16vw + var(--draggable-container-left, 10vw));
  background-color: white;
  border-radius: 1vw;
  display: flex;
  flex-direction: column;
}

.htmlEditorPopup .header {
  display: row;
}

.htmlEditorPopup .contentsDiv {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  height: 90%;
}

.htmlEditorPopup .htmlEditorComponent {
  /* min-height: 40vh;
    max-height: 40vh; */
  height: 100%;
  /* overflow: auto; */
  width: 75vw;
}

.htmlEditorPopup .htmlEditerContentArea {
  max-height: 35vh;
  overflow: auto;
}

.htmlEditorPopup .instructionsPreview {
  min-height: 40vh;
  max-height: 40vh;
  overflow: auto;
  width: 40vw;
}

.htmlEditorPopup .footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: nowrap;
}

.stepByStepPopupBase .dropshadow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 394;
  background-color: black;
  opacity: 0.3;
}

.spotTypeSelectorButton {
  padding: 2px 15px;
  width: auto !important;
  margin: 2px 0px !important;
}

.stepByStepPopupBase .stepByStepFlow {
  position: fixed;
  width: 80vw;
  max-height: 80vh;
  overflow-y: auto;
  top: 10vh;
  left: 10vw;
  z-index: 410;
  background-color: white;
  border-radius: 1vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: height 0.5s;
}

.stepByStepPopupBase .stepByStepFlow > .header {
  width: 80vw;
  height: 5vh;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  font-size: 2vh;
}

.stepByStepPopupBase .stepByStepFlow .header > .title {
  margin-top: 10px;
  margin-left: 10px;
}

.stepByStepPopupBase .stepByStepFlow .header > .titlePart {
  margin-right: 1vw;
  font-size: 3vh;
  font-weight: 600;
}

.stepByStepPopupBase .stepByStepFlow > .header .fontIcon {
  font-size: 3vw;
  font-weight: 600;
  /* border: solid red 2px !important; */
  /* border-radius: 1vh; */
  width: 3vw;
  /* color: red !important; */
  height: 3vw;
  text-align: center;
  cursor: pointer;
}

.stepByStepPopupBase .stepByStepFlow > .stepByStepCheckItemContainer {
  width: 80vw;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-around;
}

.stepByStepPopupBase .stepByStepCheckItemDiv {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  width: 80vw;
}

.stepByStepPopupBase .stepByStepCheckItemDiv > .fontIcon {
  font-size: 4vw;
  cursor: pointer;
  margin: 1vw;
  width: 4vw;
  margin-top: 5vh;
}

.stepByStepPopupBase .stepByStepCheckItemDiv .flex {
  width: 48.5vw;
  max-width: 48.5vw;
}

.stepByStepPopupBase .stepByStepCheckItemDiv .condensedCheckItem {
  width: 48.5vw;
  max-width: 48.5vw;
}

.stepByStepPopupBase .stepByStepCheckItemDiv .largeCheckItem {
  width: 48.5vw;
  max-width: 48.5vw;
}

.stepByStepPopupBase .stepByStepCheckItemDiv .mediumCheckItem {
  width: 48.5vw;
  max-width: 48.5vw;
}

.stepByStepPopupBase .stepByStepCheckItemDiv .smallCheckItem {
  width: 48.5vw;
  max-width: 48.5vw;
}

.stepByStepPopupBase .stepByStepCheckItemDiv .checkItemContainer {
  box-shadow: 0px 4px 31px -4px rgba(107, 107, 107, 1);
}

.stepByStepPopupBase .stepByStepCheckItemDiv .animateContainer {
  width: 48.5vw;
  max-width: 48.5vw;
}

.stepByStepPopupBase .CheckItem_Group {
  width: 48.5vw;
  margin-left: auto;
  margin-right: auto;
}

.stepByStepPopupBase .stepByStepFlow > .footer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.stepByStepPopupBase .stepByStepFlow .footer > .fontIcon {
  font-size: 2vw;
  cursor: pointer;
  margin: 1vw;
}

.stepByStepPopupBase .filterCardContainer {
  position: inherit;
}

.stepByStepSkippedBase {
  position: fixed;
  width: 80vw;
  height: 22vh;
  bottom: 0;
  left: 10vw;
  z-index: 410;
  background-color: white;
  border-radius: 1vh 1vh 0 0;
  padding: 1vh;

  display: grid;
  grid-template-columns: 65vw 15vw;
  grid-template-rows: 3vh 17vh;
  grid-template-areas: "header header" "skipped jump";
}

.stepByStepSkippedBase .header {
  font-size: 2vh;
  font-weight: 600;
  margin-bottom: 1vh;
  grid-area: header;
}

.stepByStepSkippedBase .container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  max-width: 65vw;
  overflow-x: auto;
  padding: 1vh;
  grid-area: skipped;
}

.stepByStepSkippedBase .skippedItem {
  cursor: pointer;
  height: 10vh;
  min-width: 10vw;
  border-radius: 1vh;
  /* background-color: violet; */
  margin-right: 1vw;
  font-size: 1.8vh;
  padding-left: 1vh;
  padding-right: 1vh;
  box-shadow: -1px 2px 10px 0px rgba(0, 0, 0, 0.75);
}

.stepByStepSkippedBase .jumpToLatest {
  grid-area: jump;
  cursor: pointer;
  text-align: center;
}

.stepByStepSkippedBase .jumpToLatest .fontIcon {
  cursor: pointer;
  font-size: 4vh;
}

.inGroupTimerInfo {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  color: #696969;
}

.inGroupTimerInfo > div {
  margin-right: 1vw;
}

.inGroupTimerInfo > .fontIcon {
  display: none;
}

.groupTimerInfoDisplay {
  min-width: 5vw;
  min-height: 5vh;
  position: fixed;
  /* top: 50vh; */
  bottom: 0;
  left: 1vw;
  background-color: #d1c4e9;
  border-radius: 5px;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  font-size: 2.5vh;
}

.groupTimerInfoDisplay > div {
  margin-right: 1vw;
}

.groupTimerInfoDisplay > .fontIcon {
  font-size: 2.5vh;
  cursor: pointer;
}

.groupTimerInfoDisplay > .runningTimeDisp {
  color: #039be5;
  /* animation-duration: 1s;
    animation-name: runningTimeDispAnimation;
    animation-iteration-count: infinite; */
}

.groupTimerInfoDisplay > .remainingTimeGood {
  color: #8bfe91;
}

.groupTimerInfoDisplay > .remainingTimeBad {
  color: #ff8d8a;
}

.animateContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: hidden;
}

@keyframes animateSlideOut {
  from {
    margin-left: 0;
  }

  to {
    margin-left: -100%;
  }
}

.defectCodeDisplayDiv {
}

.animateSlideOut {
  animation-duration: 0.5s;
  animation-name: animateSlideOut;
  position: relative;
}

@keyframes animateSlideIn {
  from {
    margin-left: -100%;
  }

  to {
    margin-right: 0%;
  }
}

.animateSlideIn {
  /* animation-duration: 0.5s;
    animation-name: animateSlideIn;
    position: relative; */
}

.defectCodeSearch {
  border-bottom: 1px solid grey;
  padding: 6px 0px;
}

.spotTypeSelectorDisplay {
  width: 18vw;
  margin: 0px 6px;
  flex-direction: column;
  display: flex;
  justify-content: flex-start;
  align-items: end;
}

.ValueSelectorContentFullHeight {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 4px;
  height: 78vh;
  max-height: 78vh;
}

.valueSelectorSearch {
  display: flex;
  flex-direction: column;
  margin: 10px 0px;
}

.removeRowIcon {
  height: 65%;
}

.baseTableSearch {
  display: flex;
  align-items: center;
}

.searchIcon {
  height: 25px;
}

.specDetailsContent {
}

.SpecDetailsDisplay {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.specDetailsContentCell,
.specDetailsContentRow,
.specDetailsContent {
  border: 1px solid black;
  border-collapse: collapse;
  font-size: 1.05em;
  padding: 0px 10px;
}

.specDetailsContentData {
  font-size: 0.85em !important;
}

.specDetailsContentHeader {
  background-color: #b6beea;
  color: white;
}

.specDetailsTableDiv {
  max-height: 79px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  left: 8px;
}

.baseTableControls {
  display: flex;
}

.BaseTableSearchInput {
  width: 45%;
  background-color: #bcf8f3;
}

.applyQCSelection {
  width: auto !important;
  margin-left: 0px !important;
  margin-top: 4px;
  padding: 3px 6px;
}

.ciEditfloadingControls {
  width: 100%;
  /* position: relative; */
  color: darkgray;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  /* justify-content: flex-end; */
  font-weight: 600;
  cursor: pointer;
}

.ciEditfloadingDelete {
  margin-right: 10px;
}

.ciEditfloadingDelete:hover {
  color: red;
}

.floatingControlsContainer {
  position: fixed;
  top: 38vh;
  left: 0;
  z-index: 500;
}

.floatingControlsExpanderDiv {
  position: absolute;
  /* top: 38vh; */
  left: 0;
  top: 0;
  width: 7vw;
  z-index: 500;
  height: 70vh;
}

.floatingControls {
  display: flex;
  flex-direction: column;
  position: absolute;
  /* top: 40vh; */
  /* left: 0; */
  width: 5vw;
  background-color: #e1f5fe;
  z-index: 501;
  border-radius: 0 1vw 1vw 0;
  box-shadow: -2px 0px 5px 1px rgba(0, 0, 0, 0.75);
  transition: left 2000 ease-in-out 0;
  -webkit-transition: left 2000 ease-in-out 0;
}

.floatingControls.expanded {
  left: 0;
  transition: left 2000 ease-in-out 0;
  -webkit-transition: left 2000 ease-in-out 0;
}

.floatingControls.collapsed {
  /* left: -4.5vw; */
  transition: left 2000 ease-in-out 0;
  -webkit-transition: left 2000 ease-in-out 0;
}

.floatingControls .fontIcon {
  font-size: 5vw;
  width: 5vw;
  height: 5vw;
  cursor: grab;
}

.floatingControls .cursorIcon {
  font-size: 5vw;
  width: 5vw;
  height: 5vw;
  cursor: pointer;
}

.floatingSelectedCi {
  transform: scale(0.2);
  background-color: white;
}

.floatingSelectedCi:hover {
  transform: scale(0.5);
}

.checkItemTypeSelectorPopup {
  width: 80vw;
  height: 86vh;
  position: fixed;
  top: 7vh;
  left: 16vw;
  background-color: white;
  z-index: 1000;
  border-radius: 1vh;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.glassCover {
  height: 100%;
  width: 100%;
  background-color: #0000001c;
  position: absolute;
  float: left;
  top: 0px;
  left: 0;
  z-index: 16;
}

.glassCover p {
  position: relative;
  top: -30%;
  left: 15%;
  font-size: 4.5em;
  overflow: hidden;
  transform: skew(0deg, -14deg);
  color: #00000042;
}

.checkItemTypePopupContainer > .dropshadow {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: black;
  opacity: 0.3;
  z-index: 600;
}

.checkItemTypeSelectorPopup .header {
  width: 80vw;
}

.checkItemTypeSelectorPopup .footer {
  width: 80vw;
  display: flex;
  flex-grow: 1;
  flex-direction: row;
  justify-content: space-around;
}

.checkItemTypeSelectorPopup .popupContents {
  display: flex;
  flex-grow: 1;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  overflow-y: auto;
  border: 2px solid grey;
  padding: 12px;
  margin: 5px 0px;
}

.checkItemSelectorItem {
  box-shadow: 4px 4px 8px 4px rgba(0, 0, 0, 0.4);
  margin: 12px;
  border: 2px solid grey;
  border-radius: 5px;
  overflow-y: auto;
  overflow-x: hidden;
  transition: all 0.3s ease-in-out;
  width: 45%;
  padding: 6px;
}

.checkItemSelectorItem:hover {
  transform: scale(1.05);
  border: 2px solid #64aef5;
}

.checkItemSelectorItem .CheckItem_Base {
  min-height: 22vh;
}

div.checkItemTypeSelectorPopup
  > div.popupContents
  div.CheckItem_Display_CommentTab {
  display: none !important;
}

.checkItemTypeSelectorPopup .header {
  width: 100%;
}

.checkItemTypeSelectorPopup > .popupContents > .selected {
  border: red solid 2px;
}

.csEditSubmitForm > .dropshadow {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0px;
  left: 0px;
  background-color: black;
  opacity: 0.2;
  z-index: 499;
}

.csEditSubmitFormPane {
  position: fixed;
  right: 0px;
  bottom: 5vh;
  height: 90vh;
  width: 30vw;
  background-color: white;
  border-radius: 1vw 0 0 1vw;
  box-shadow: -2px 0px 5px 1px rgba(0, 0, 0, 0.75);
  z-index: 5000;
  display: grid;
  grid-template-columns: 25vw 5vw;
  grid-template-rows: 3vh 30fr 40fr 3vh;
  grid-template-areas: "header close" "reason reason" "changes changes" "footer footer";
  row-gap: 1vh;
  /* display: flex;
    flex-direction: column;
    padding-left: 1vh; */
}

.csEditSubmitFormPane > .header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  font-size: 3vh;
  grid-area: header;
  margin-left: 1vw;
}

.csEditSubmitFormPane .closeBtn {
  grid-area: close;
  width: 2vw;
  min-width: 2vw;
}

.csEditSubmitFormPane > .reasonDetails {
  grid-area: reason;
  display: flex;
  flex-direction: column;
  margin-left: 1vw;
  font-size: 2vh;
}

.csEditSubmitFormPane .reasonDetails textarea {
  width: 90%;
  resize: none;
  margin-top: 2vh;
}

.csEditSubmitFormPane > .changesSection {
  grid-area: changes;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  margin-left: 1vw;
  font-size: 2vh;
}

.csEditSubmitFormPane .changesSection > .title {
  font-size: 2.2vh;
  font-weight: 600;
  margin-bottom: 1vh;
}

.csEditSubmitFormPane .changesSection > .subTitle {
  margin-right: 1vw;
  margin-top: 1vh;
  font-size: 2vh;
}

.csEditSubmitFormPane .changesSection > .subList {
  margin-left: 2vw;
  font-size: 1.8vh;
}

.csEditSubmitFormPane .changesSection > .subFooter {
  font-size: 1.5vh;
  margin-top: 3vh;
}

.csEditSubmitFormPane > .submitSection {
  grid-area: footer;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 1vh;
}

.csHistoryForm > .dropshadow {
}

.csHistoryForm > .csHistoryFormPane {
  position: fixed;
  width: 30vw;
  height: 90vh;
  left: 0px;
  top: 5vh;
  background-color: white;
  border-radius: 0 1vw 1vw 0;
  box-shadow: 2px 0px 5px 1px rgba(0, 0, 0, 0.75);
  z-index: 600;
  display: grid;
  grid-template-columns: 80fr 20fr;
  grid-template-rows: 4vh 80fr 3vh;
  grid-template-areas: "header close" "content content" "footer footer";
}

.csHistoryFormPane > .header {
  font-size: 3vh;
  grid-area: header;
}

.csHistoryFormPane > .closeBtn {
  grid-area: close;
}

.csHistoryFormPane > .contents {
  grid-area: content;
  overflow-y: auto;
}

.csHistoryFormPane .contents > .historyRecord {
  display: grid;
  width: 90%;
  min-height: 10vh;
  grid-template-columns: 10fr 35fr 35fr 10fr;
  grid-template-rows: 3vh 50fr 50fr 3vh;
  grid-template-areas: "rev reason reason reason" ". reason reason reason" "error error error error" "user user date date";
  margin: 1vh auto 0.5vh 1vw;
  background-color: #fafafa;
  /* box-shadow: 4px 3px 5px -1px rgba(0,0,0,0.67); */
  box-shadow: 3px 5px 15px 5px rgba(0, 0, 0, 0.35);
}

.csHistoryFormPane .contents > .failedChange {
  border-right: solid 2px red;
}

.csHistoryFormPane .historyRecord > .rev {
  grid-area: rev;
  font-size: 2.5vh;
}

.csHistoryFormPane .historyRecord > .good {
  color: lime;
}

.csHistoryFormPane .historyRecord > .bad {
  color: red;
}

.csHistoryFormPane .historyRecord > .reason {
  grid-area: reason;
  font-size: 1.8vh;
}

.csHistoryFormPane .historyRecord > .error {
  grid-area: error;
  font-size: 1.5vh;
  color: red;
}

.csHistoryFormPane .historyRecord > .user {
  grid-area: user;
  font-size: 1.5vh;
  margin-bottom: 0.5vh;
}

.csHistoryFormPane .historyRecord > .date {
  grid-area: date;
  font-size: 1.5vh;
  margin-bottom: 0.5vh;
}

.ciChangeCopyContainer .dropshadow {
  background-color: black;
  opacity: 0.3;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.ciChangeCopy {
  position: fixed;
  width: 60vw;
  height: 70vh;
  left: 20vw;
  top: 15vh;
  background-color: white;
  border-radius: 1vw;
  z-index: 1000;
  display: grid;
  grid-template-columns: 40fr 50fr 10fr;
  grid-template-rows: 4vh 58vh 6vh;
  grid-template-areas: "header header close" "settings items items" "footer footer footer";
  row-gap: 2vh;
}

.ciChangeCopy .header {
  font-size: 3vh;
  grid-area: header;
  margin-left: 1vw;
}

.ciChangeCopy .closeBtn {
  grid-area: close;
}

.ciChangeCopy .changes {
  grid-area: settings;
  font-size: 2vh;
  margin-left: 2vw;
}

.ciChangeCopy .changes .title {
  font-size: 2.4vh;
  margin-bottom: 1vh;
}

.ciChangeCopy .checkItemSelection {
  grid-area: items;
  border-left: solid grey 2px;
  padding-left: 1vw;
}

.ciChangeCopy .checkItemSelection .title {
  margin-left: 2vw;
  margin-bottom: 1vh;
  font-size: 2.4vh;
}

.ciChangeCopy .checkItemSelection .filterCard {
  overflow-y: auto;
  overflow-x: hidden;
  font-size: 2vh;
  height: 50vh;
  max-height: 50vh;
}

.ciChangeCopy .footer {
  grid-area: footer;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.ciChangeCopy .footer .applyButton {
  background-color: #7986cb !important;
  width: 10vw !important;
  font-size: 2vh;
  font-weight: 600;
  margin-left: 0px !important;
  padding: 2px 15px;
}

.newChecksheetHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.CheckSheetEditLoadingIcon {
  position: fixed;
  left: 35vw;
  top: 48vh;
}

.floatingLoading {
  position: absolute;
  left: 50%;
  z-index: 2000000;
}

.toggleControl {
  display: flex;
  flex-flow: row nowrap;
  height: 24px;
  width: 48px;
  margin-left: 0;
  margin-bottom: 0;
  padding: 2px;
  border: 2px black solid;
  border-radius: 3.5vh;
}

.csNameChangeContainer {
  display: grid;
  grid-template-rows: 10vh 10vh 40vh 5vh 5vh;
  grid-template-columns: 40fr 20fr 40fr;
  grid-template-areas: "exTitle exDisp exDisp" "newTitle newDisp newDisp" "warning warning warning" ". . confirm" ". error submit";
}

.csNameChangeExistingTitle {
  grid-area: exTitle;
}

.csNameChangeExistingDisp {
  grid-area: exDisp;
}

.csNameChangenewTitle {
  grid-area: newTitle;
}

.csNameChangenewDisp {
  grid-area: newDisp;
}

.csNameChangenewDisp input {
  font-size: 3vh;
}

.csNameChangeWarning {
  grid-area: warning;
  padding: 0 5vw 0 5vw;
  font-size: 3vh;
}

.csNameChangeConfirm {
  grid-area: confirm;
  font-size: 2vh;
}

.csNameChangeApply {
  grid-area: submit;
}

.sideloadChecksheetContainer .dropshadow {
  background-color: black;
  opacity: 0.3;
  z-index: 400;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}



.consume-part-select {
  max-width: 10vw;
}


.sideloadChecksheetContainer .ncmDataGridContainer {
  margin-top: 0;
  height: 40vh;
  width: 84vw;
  position: fixed;
  top: 30vh;
  left: 6vw;
  background-color: white;
  z-index: 500;
  border-radius: 1vh;
  display: grid;
  grid-template-areas: "header" "content";
  grid-template-rows: 5vh 30vh;
  grid-template-columns: 83vw;
}

.sideloadChecksheetContainer .ncmDataGridContainer .header { 
  grid-area: header;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 2.5vh;
  font-weight: 600;
  display: flex;
  flex-direction: row-reverse;
}

.sideloadChecksheetContainer .ncmDataGridContainer .content { 
  grid-area: content;
  /* overflow-y: auto;
  overflow-x: hidden; */
  font-size: 2vh;
}
