/* Input Form */
table {
  width: 100%;
}

table tbody tr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 20px;
  -moz-column-gap: 20px;
  column-gap: 20px;
  width: 100%;
}

table td.std_text_bd {
  display: none;
}

table tr td:nth-of-type(2) {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

table tr td:nth-of-type(2) input {
  border: 0;
  border-radius: 5px;
  background-color: white;
  color: #004076;
  padding: 10px;
  width: 100%;
}

table tr td:nth-of-type(3) {
  display: inline-block;
}

table tr td:nth-of-type(3) input[type="submit"] {
  border: 0;
  background-color: #fbc901;
  color: white;
  font-weight: 600;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  padding: 10px 20px !important;
  line-height: 1;
  border-radius: 30px;
  -webkit-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

/* Result Image */

body > img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  grid-area: photo;
  max-height: 290px;
  -o-object-fit: cover;
  object-fit: cover;
  border: 4px solid #004076;
}

div#ICON1,
div#ICON2,
div#ICON3 {
  position: relative !important;
  top: initial !important;
  left: initial !important;
  height: auto !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  margin: 0 !important;
  margin-top: 20px !important;
  width: calc(100% / 3) !important;
  float: left;
}

div#ICON2 {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

div#ICON3 {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

:is(#ICON1, #ICON2, #ICON3) img {
  width: 100%;
  max-width: 80px;
}

/* Responsive Styles */
@media screen and (max-width: 478px) {
  /* Input Form */
  table tbody tr {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    row-gap: 10px;
  }

  table tr td:nth-of-type(3) input[type="submit"] {
    width: 100%;
  }
}
