html {
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
  background-color: powderblue;
}

/* index login page */
.index-container {
  text-align: center;
}

/*
.index-container img {
  width: 45%;
  max-width: 100%;
  height: auto;
}
*/

.index-coverimage img {
  max-width: 35%;
  max-height: 30%;
  min-width: 240px;
  height: auto;
}

.item_highlight {
  color: rgb(240, 114, 56);
}

/* center content */
.center_content {
  text-align: center;
}

/* content area to show contents based on navigation selection */
.content-area {
  border-bottom: 1px solid rgb(185, 181, 181);
  padding-bottom: 10px;
}

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

.msglookup-title-area img {
  max-width: 100%;
  display: block;
}

.venv_composition-title-area img {
  max-width: 100%;
  display: block;
}

/* below is not used anymore - replaced w/ hamburger approach 
.top-header {
  display: grid;
  grid-template-columns: 4fr 1fr;
  width: 100%;
  height: auto;
  background-color: rgb(236, 165, 131);
}

.top-header h1 {
  font-family: courier, sans-serif;
  font-size: 180%;
  color: white;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 0px;
  padding-left: 10px;
  display: inline-block;
}

.top-header p {
  font-family: tahoma, sans-serif;
  font-size: 90%;
  vertical-align: middle;
  color: white;
  padding-left: 1px;
  display: inline-block;
}

.topbox {
  background-color: rgb(236, 165, 131);
  border: 1px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  width: 100%;
  height: 8%;
  padding-left: 0px;
}

.topbox ul {
  margin: 0px;
  padding: 0px;
  position: relative;
}

.topbox ul h1 {
  font-family: courier, sans-serif;
  font-size: 180%;
  color: white;
  vertical-align: middle;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 0px;
  padding-left: 10px;
  display: inline-block;
}

.topbox ul h2 {
  font-family: courier, sans-serif;
  font-size: 100%;
  color: white;
  vertical-align: middle;
  padding-left: 10px;
  display: inline-block;
}

.topbox ul p {
  font-family: tahoma, sans-serif;
  vertical-align: middle;
  position: absolute;
  left: 80%;
  color: white;
  display: inline-block;
}

*/

#Label {
  border: 10px;
  margin: 20px;
  padding-left: 40px;
}

body {
  padding-top: 10px;
  padding-left: 50px;
  padding-right: 40px;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #00b7ff;
}

.msglookup-top-container {
  display: grid;
  grid-template-columns: 1fr 3fr;
}

.venv_composition-top-container {
  display: grid;
  grid-template-columns: 1fr 3fr;
}

.composition_form_4user-top-container {
  display: grid;
  grid-template-columns: 1fr 3fr;
}

.msgboxes_list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  grid-auto-rows: 200px;
}

img {
  max-width: 100%;
  height: auto;
}

.topic_image > img {
  width: 40%;
  min-width: 200px;
}

a.button3 {
  display: inline-block;
  padding: 0.3em 1.2em;
  margin: 0 0.3em 0.3em 0;
  border-radius: 1em;
  box-sizing: border-box;
  text-decoration: none;
  font-size: 20px;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  color: #ffffff;
  background-color: #4eb5f1;
  text-align: center;
  transition: all 0.2s;
}

a.button3:hover {
  background-color: #4095c6;
}

.activation_button {
  background-color: #4caf50;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.general_button {
  background-color: #4c7caf;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.general_button_small_round {
  border-radius: 5%;
  background-color: #4c7caf;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

@media all and (max-width: 30em) {
  a.button3 {
    display: block;
    margin: 0.2em auto;
  }
}

.option-description {
  width: 50%;
  padding-left: 25px;
}

table,
th,
td {
  border: 1px solid black;
  border-color: #858f8f;
}

.setup-kit-container {
  display: grid;
  grid-template-areas:
    "logo title title title title tagline"
    "instr instr instr view view view";
  grid-gap: 10px;
  padding: 5px;
  background-color: #2196f3;
  height: auto;
  width: 80%;
}

.setup-kit-container > div {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 5px;
}

.logo {
  grid-area: logo;
}

.title {
  grid-area: title;
}

.tagline {
  grid-area: tagline;
}

.instr {
  grid-area: instr;
  background-image: url("/images/envelop.png");
  background-repeat: no-repeat;
  background-position: 60% 30%;
}

.instr > img {
  object-fit: cover;
  width: 100%;
  max-height: auto;
}

.view {
  grid-area: view;
}
.view > img {
  object-fit: cover;
  width: 80%;
  max-height: auto;
}

.sticker-kit-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 1px;
  padding: 1px;
  background-color: #b9bdc1;
  width: 80%;
  height: auto;
}

.sticker-kit-container > div {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 5px;
}

.logo-area {
  padding: 0px;
}

.logo-area > img {
  padding-top: 2px;
  object-fit: cover;
  width: 80%;
  max-height: auto;
}

.title-area {
  grid-column: 2 / 6;
}

.tagline-area {
}

.tagline-area > img {
  padding-top: 10px;
  object-fit: cover;
  width: 80%;
  max-height: auto;
  object-position: center;
}

.instruction-area {
  grid-column: 1 / 4;
  background-image: url("/images/background-bottom-left-section.png");
  background-position: center;
  background-size: 90% 90%;
  background-repeat: no-repeat;
  height: 300px;
}

.instruction-area > img {
  padding-top: 70px;
  padding-left: 10px;
  object-fit: cover;
  width: 20%;
  max-height: auto;
}

.view-label-area {
  grid-column: 4 / 7;
  background-image: url("/images/background-bottom-right-section.png");
  background-position: center;
  background-size: 60% auto;
  background-repeat: no-repeat;
}

.view-label-area > img {
  padding-top: 130px;
  padding-left: 10px;
  object-fit: cover;
  width: 28%;
  max-height: auto;
}

.steps span {
  background-color: rgb(54, 115, 171);
  color: white;
  font-family: sans-serif, "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

.qr_code_label {
  position: relative;
  top: 0;
  left: 0;
  max-width: 50%;
  min-width: 120px;
}

.qr_code_label img {
  max-width: 30%;
  min-width: 100px;
}

/*
.view_qr_layer1 {
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
  min-width: 250px;
}

.view_qr_layer2 {
  position: absolute;
  top: 5px;
  left: 5px;
  bottom: 5px;
  right: 5px;
  z-index: 2;
}
*/

/*  hamburger naviation */

.topnav {
  overflow: hidden;
  background-color: rgb(229, 209, 174);
  position: relative;
}

.topnav #myLinks {
  display: none;
}

.topnav a {
  color: rgb(34, 29, 93);
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

.topnav a.icon {
  background: rgb(218, 217, 228);
  display: block;
  position: absolute;
  right: 5px;
  top: 10px;
}

.topnav a:hover {
  background-color: #ddd;
  color: rgb(118, 131, 205);
}

.active {
  background-color: #ddeee8;
  color: white;
}

.header_logo img {
  max-width: 50px;
  max-height: auto;
}

/* text and image aline in the same line css */
.text_image_inline_container {
  display: flex;
  align-items: center;
}

.text_image_inline_container > img {
  max-width: 30%;
}

.text_image_inline_container > .image.attention {
  min-width: 20px;
}

.text_image_inline_container > .image {
  min-width: 40px;
  flex-basis: 3%;
}

.text_image_inline_container > .text {
  padding-left: 2px;
  text-align: left;
}

.logo-area {
  padding: 0px;
}

/* page content title style */
.content-title {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.content-title > h2 {
  text-align: center;
}

/*   background-color: #c8c8ea;
*/

/* user view envelop list css  */

/* screen max size 600 or less */
@media only screen and (max-width: 600px) {
  .grid-container-user-env-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* grid-template-rows: 20% 70% 15%; */

    grid-column-gap: 0px;
    grid-row-gap: 1px;
    padding: 1px;
    background-color: #c8c8ea;
    width: 60%;
    min-width: 300px;
    max-width: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .grid-envelop-image-area {
    grid-column: 1 / 3;
    position: relative;
    z-index: 1;
    align-items: center;
  }

  .grid-envelop-image-area > a > img {
    margin: 0;
    width: 40%;
  }

  .grid-envelop-id {
    position: absolute;
    left: 47%;
    top: 40%;
    display: lightblue;
    z-index: 2;
  }

  .grid-envelop-id > p {
    color: lightpink;
  }
}

/* screen size min 600 or larger */
@media only screen and (min-width: 600px) {
  .grid-container-user-env-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* grid-template-rows: 15% 70% 15%; */
    grid-column-gap: 0px;
    grid-row-gap: 1px;
    padding: 1px;
    background-color: #c8c8ea;
    width: 60%;
    min-width: 360px;
    max-width: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .grid-container-user-ezframe-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* grid-template-rows: 15% 70% 15%; */
    grid-column-gap: 0px;
    grid-row-gap: 1px;
    padding: 1px;
    /* background-color: #ead7c8; */
    width: 60%;
    min-width: 360px;
    max-width: auto;
    margin-left: auto;
    margin-right: auto;
  }
}
/* end of screen size min 600 or larger settings */

.grid-container-user-env-list > div {
  background-color: rgba(164, 227, 212, 0.983);
  text-align: center;
  padding: 5px;
}

.grid-to-area {
}

.grid-stats-area {
  border-color: crimson;
  border-top: rgb(209, 15, 15);
}

.grid-stats-area > p {
  text-align: right;
}

.grid-envelop-image-area {
  grid-column: 1 / 3;
  position: relative;
  z-index: 1;
  align-items: center;
}

.grid-envelop-image-area > a > img {
  margin: 0;
  width: 40%;
}

.grid-envelop-id {
  position: absolute;
  left: 47%;
  top: 50%;
  display: lightblue;
  z-index: 2;
}

.grid-envelop-id > p {
  font-size: 100%;
}

.grid-action-area {
  grid-column: 1/3;
}

/* configuration box */

.config_card {
  background-color: lightskyblue;
  padding: 1rem;
  margin: 2rem auto;
  width: 50rem;
  max-width: 95%;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

/* EZ FRAME List Location and view */

.card {
  background-color: lightskyblue;
  padding: 1rem;
  margin: 2rem auto;
  width: 50rem;
  max-width: 95%;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 768px) {
  .card {
    margin: 1rem auto;
    padding: 0.1rem;
  }
}

.location-area {
  text-align: center;
}
.location-area > p {
  text-align: center;
}

.stats-area {
  border-color: crimson;
  border-top: rgb(209, 15, 15);
}

.stats-area > p {
  text-align: center;
}

/* for EZ-FRAME LIST */

.grid-container-user-ezframe-list > div {
  /* background-color: rgba(164, 227, 212, 0.983); */
  text-align: center;
  padding: 2px;
}

.grid-ezframe-image-area {
  grid-column: 1 / 3;
  position: relative;
  z-index: 1;
  align-items: center;
  width: 50%;
  margin: auto;
}

/* for msglookup ezframe display only */
.ezframe-image-area-msglookup {
  grid-column: 1 / 3;
  position: relative;
  align-items: center;
  width: 80%;
  margin: auto;
}

.grid-ezframe-image-area > a > img {
  margin: auto;
  width: 30%;
}

.grid-ezframe-id {
  position: absolute;
  left: 47%;
  top: 50%;
  display: lightblue;
  z-index: 2;
}

.grid-ezframe-id > p {
  font-size: 100%;
}

.grid-action-area {
  grid-column: 1/3;
}

/* end of EZ-FRAME user list */

/* top stats summary of user envelops */

/* for desktop device */
@media only screen and (min-width: 600px) {
  .grid-envelop-stats-container {
    display: grid;
    grid-template-columns: 12% 10% 10% 38% 10% 10% 10%;
    grid-template-rows: auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    padding: 1px;
    background-color: #d2d2d8;
    width: 60%;
    min-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  /* for msglookup ezframe display only */
  .ezframe-image-area-msglookup {
    grid-column: 1 / 3;
    position: relative;
    align-items: center;
    width: 80%;
    margin: auto;
  }
}

/* for mobile small screen device */
@media only screen and (max-width: 600px) {
  .grid-envelop-stats-container {
    display: grid;
    grid-template-columns: 22% 10% 10% 18% 20% 10% 10%;
    grid-template-rows: auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    padding: 1px;
    background-color: #d2d2d8;
    width: 60%;
    min-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .stats-icon-area > img {
    padding-top: 70%;
  }
}

.grid-envelop-stats-container > div {
  background-color: rgba(229, 236, 239, 0.983);
  text-align: left;
  padding: 5px;
}

.stats-text-area {
  border-bottom: rgb(118, 131, 205);
}

.stats-text-area > p {
  padding-right: 10%;
  text-align: left;
}

.stats-icon-area {
}

.stats-icon-area > img {
}

.label-area {
  text-align: center;
  background-color: darkorange;
}

.label-area > p {
  color: #2196f3;
  text-align: center;
}

.user-home-content-area {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* sticker css */
.grid-sticker-kit-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 1px;
  padding: 1px;
  width: 100%;
  height: auto;
  align-items: stretch;
}

.grid-sticker-kit-container > div {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 1px;
}

.sticker-kit-logo-area {
  border-top: 2px solid red;
  border-left: 2px solid red;
  border-bottom: 2px solid red;
  padding: 0px;
}

.sticker-kit-logo-area > img {
  padding-top: 2px;
  object-fit: cover;
  width: 70%;
  max-height: auto;
}

.sticker-kit-title-area {
  grid-column: 2 / 6;
  border-top: 2px solid red;
  border-bottom: 2px solid red;
}

.sticker-kit-tagline-area {
  border-top: 2px solid red;
  border-right: 2px solid red;
  border-bottom: 2px solid red;
}

.sticker-kit-tagline-area > img {
  padding-top: 5px;
  object-fit: cover;
  width: 80%;
  max-height: auto;
  object-position: center;
}

.sticker-kit-instruction-area {
  grid-column: 1 / 4;
  height: auto;
  border-left: 2px solid red;
  border-right: 2px dashed red;
  border-bottom: 1px solid grey;
}

.sticker-kit-instruction-area > p {
  padding-left: 20px;
  padding-rigt: 20px;
  text-align: left;
}

.sticker-kit-instruction-area > img {
  padding-top: 10px;
  padding-left: 10px;
  object-fit: cover;
  width: 20%;
  max-height: auto;
}

.sticker-kit-compose-label-area {
  padding-left: 10px;
  grid-column: 1 / 2;
  border-left: 2px solid red;
  border-bottom: 2px solid red;
  border-right: 1px solid grey;
}

.sticker-kit-compose-label-area > p {
  padding-left: 1px;
  font-size: small;
}

.sticker-kit-compose-label-area > img {
  padding-left: 1px;
  padding-top: 1px;
  padding-bottom: 3px;
  object-fit: cover;
  width: 50%;
  max-height: auto;
}

.sticker-kit-info-area {
  grid-column: 2 / 4;
  border-right: 2px dashed red;
  border-bottom: 2px solid red;
}

.sticker-kit-info-area > p {
  padding-top: 3%;
  padding-left: 10px;
  text-align: left;
  font-size: x-small;
}

.sticker-kit-view-label-area {
  grid-column: 4 / 7;
  grid-row: 2 / 4;
  border-right: 2px solid red;
  border-bottom: 2px solid red;
}

.sticker-kit-view-label-area > img {
  margin-top: 5%;
  margin-bottom: 5%;
  padding-left: 10px;
  object-fit: cover;
  width: 45%;
  max-height: auto;
}

.mid-size-envelop > img {
  width: 20%;
  min-width: 150px;
}

.greeting_msg {
}

.greeting_msg_input {
  display: block;
  text-align: left;
  resize: none;
}

.info-msg-container {
  text-align: center;
}

.info-msg-page-logo {
}

.info-msg-page-logo > img {
  width: 10%;
  min-width: 100px;
}

.in-line-parent {
  white-space: nowrap;
  overflow-x: auto;
}

.in-line-child {
  display: inline-block;
}

.ezframe_display_in_msgbox {
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  min-width: 300px;
}

.display-area-eframe-after-composed {
  width: 30%;
  min-width: 250px;
}

.item_text_center {
  text-align: center;
}
