body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  letter-spacing: 0.8px;
}

.merch-container {
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

.merch-container h3 {
  font-size: 24px;
  width: 80%;
  margin: 20px auto 20px auto;
}

#merch-error-container {
  background-color: #ff6c69;
  padding: 12px;
}

#merch-warn-container {
  background-color: #ffe969;
  padding: 12px;
}

.merch-header {
  padding: 10px 10px;
}

.merch-header img {
  max-height: 50px;
  margin: 0 auto;
  display: block;
  max-width: 30%;
}

#merch-instruction-img {
  display: block;
  margin: 16px auto;
  width: 85%;
  max-width: 400px;
}

#merch-progress {
  display: block;
  margin: 30px auto 40px auto;
}

.merch-document-type-container {
  background: #D8D8D8;
  border-radius: 5px;
  display: inline-block;
  width: 30%;
  /* Setting the padding-bottom to maintain aspect ratio for the thumbnail.
     The thumbnail is defined in the design to be 80:56, which means the height
     is 70% of the width. The width of the thumbnail is 30% of the button. We want
     the height to be 70% of that width, so 70% of 30% is 21%. To put it another way
     we want the height of the thumbnail to be 21% of the width of the entire button,
     because that would make the height of the thumbnail to be 70% of the width
     of the thumbnail.
     https://css-tricks.com/aspect-ratio-boxes/
  */
  padding-bottom: 21%;

  background-size: cover;
  background-position: center;

  margin-top: 10px;
  margin-left: 10px;
  margin-bottom: 10px;
}

.merch-icon-types {
  margin-top: 20px;
  margin-left: 15px;
}

.merch-arrow-icon {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  height: 30%;
}

.merch-document-button {
  box-shadow: 0 1px 3px 1px rgba(0,0,0,0.25);
  border-radius: 8px;
  position: relative;
  display: block;
  margin: 16px auto;
  height: 72px;
  width: 90%;
  max-width: 400px;
}

.merch-document-button span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 10px;
  width: 40%;

}

.merch-capture-button {
  box-shadow: 0 1px 3px 1px rgba(0,0,0,0.25);
  border-radius: 8px;
  position: relative;
  display: block;
  margin: 13px auto;
  width: 85%;
  max-width: 400px;
}

.merch-capture-button span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 10px;
}

.merch-capture-image-container {
  background: #D8D8D8;
  border-radius: 5px;
  display: inline-block;
  width: 30%;
  /* Setting the padding-bottom to maintain aspect ratio for the thumbnail.
     The thumbnail is defined in the design to be 80:56, which means the height
     is 70% of the width. The width of the thumbnail is 30% of the button. We want
     the height to be 70% of that width, so 70% of 30% is 21%. To put it another way
     we want the height of the thumbnail to be 21% of the width of the entire button,
     because that would make the height of the thumbnail to be 70% of the width
     of the thumbnail.
     https://css-tricks.com/aspect-ratio-boxes/
  */
  padding-bottom: 21%;

  background-size: cover;
  background-position: center;

  margin-top: 10px;
  margin-left: 10px;
  margin-bottom: 10px;
}

.merch-capture-loading-placholder {
  background: #D8D8D8;
  border-radius: 5px;
  display: inline-block;
  width: 50%;
  height: 10px;  
  margin-left: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.merch-plus-icon {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  height: 47%;
}

/* Make the font-size relative to the width of the page
   so the font scales as the width changes. However,
   there's a max-width on the button so use the 477px
   media query to effectively put a max font size when
   the button reaches its max width */
.merch-capture-button span {
  font-size: 16px;
  font-size: 4vw;
}

button {
  background: #00A7CE;
  border-radius: 20px;
  color: #FFFFFF;

  margin-left: auto;
  margin-right: auto;
  width: 60%;
  max-width: 260px;

  display: block;
  text-align: center;
  height: 50px;
  line-height: 44px;

  border-width: 0;

  font-size: 16px;
}

#merch-verify-button {
  margin-top: 20px;
  margin-bottom: 35px;

  font-size: 4vw;
}

#merch-verify-button:disabled {
  background: #D8D8D8;
}

@media (min-width: 477px) {
  .merch-capture-button span {
    font-size: 19px;
  }

  #merch-verify-button {
    font-size: 19px;
  }
}

@media (min-width: 768px) {
  .merch-container {
    max-width: 720px;
  }
}

#merch-processing-content {
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.50);
  border-radius: 8px;
  text-align: center;
  margin: 16px auto;
  max-width: 400px;
  width: 90%;
}

.merch-processing-header {
  font-size: 24px;
  color: #00A7CE;
  letter-spacing: 1.2px;
  font-weight: 400;
  padding-top: 30px;
  margin-bottom: 0;
}

.merch-processing-text {
  font-size: 16px;
  letter-spacing: 0.8px;
  padding: 15px;
}

.merch-processing-photo_headertext {
    font-size: 26px;
    letter-spacing: 0.8px;
    padding: 15px;
    font-weight: bold;
    text-align: center;
}

#merch-processing-content img {
  width: 30%;
}

.page-body {
  padding: 0px 20px 0px 20px;
}

#welcome {
  color: #00A7CE;
}

#initial-form {
  width: 100%;
  text-align: center;
  margin: auto;
}

.initial-inputs {
  width: 100%;
  box-sizing: border-box;
  height: 40px;
  border-radius: 0px;
  border: 1px solid #979797;
  font-size: 16px;
  margin: 5px 0px 5px 0px;
  padding-left: 10px;
}

.bottom-button {
  height: 44px;
  width: 177px;
  font-size: 16px;
  background-color: #00A7CE;
  color: #FFFFFF;
  border-radius: 20px;
  border: none;
}

#consent-title {
  color: #00A7CE;
  font-weight: normal;
}

#last-consent-block {
  margin-bottom: 100px;
}

.consent-button-container {
  width:100%;
  text-align: center;
  margin: auto;
  position:fixed;
  right:0;
  bottom:0;
  padding-bottom: 34px;
}

#agree-button {
  box-shadow: 0px 5px 5px 2px rgba(0,0,0,0.25);
}

button:disabled {
  background: #D8D8D8;
}

#thank-you-content {
  width: 100%;
  text-align: center;
  margin: auto;
}

#thank-you-title {
  color: #00A7CE;
  font-weight: normal;
  margin-top: 50px;
}

#return-button-container {
  padding-top: 125px;
  padding-bottom: 34px;
}

/*CSS for tablet screen*/
@media only screen and (min-width: 600px) {

  body {
    margin-left: 80px;
    margin-right: 80px;
  }

  #initial-form {
    padding-top: 20px;
  }

  .initial-inputs {
    height: 48px;
    font-size: 21px;
    margin: 10px 0px 10px 0px;
    padding-left: 16px;
  }

  .main-text {
    font-size: 21px;
  }

  #welcome {
    padding-top: 20px;
    font-size: 40px;
  }

  .bottom-button {
    height: 54px;
    width: 200px;
    font-size: 21px;
    border-radius: 30px;
  }

  #merch-document-type-content {
    padding-top: 20px;
  }

   #merch-document-type-content h3{
    font-size: 30px;
    margin-bottom: 50px;
  }

  .merch-document-button {
    height: 120px;
    width: 90%;
    margin-top: 30px;
  }

  .merch-document-button span {
    font-size: 21px;
    padding-left: 24px;
  }

  .merch-icon-types {
    margin-top: 35px;
    margin-left: 24px;
  }

  .merch-dl-image {
    height: 50px;
    width: 50px;
  }

  #merch-passport-image {
    height: 50px;
    width: 50px;
  }

  #merch-instruction-img {
    max-width: 468px;
  }

  .merch-capture-button {
    max-width: 468px;
  }

  .merch-capture-button span {
    font-size: 21px;
  }

  #merch-verify-button {
    height: 54px;
    width: 240px;
    font-size: 21px;
    border-radius: 30px;
  }

  #merch-processing-content {
    padding-bottom: 20px;
  }

  .merch-processing-header {
    font-size: 36px;
  }

  .merch-processing-text {
    font-size: 21px;
  }

  #thank-you-title {
    margin-top: 60px;
  }

  .thank-you-text {
    margin: 20px auto 0px auto;
    max-width: 468px;
    font-size: 21px;
  }

}

.merch-code {
  font-family: monospace;
}

#launch-button {
  margin-top: 15px;
}

/*Image Suggestuion Css Starts Here*/
.imageSuggestion {
    display: flex;
    margin-bottom: 28px;
}
.suggetionsBlock {
    margin-bottom: 28px;
    box-shadow: none;
}
.suggestionIcon {
    float: left;
    margin-right: 28px;
}
.suggestionTitle {
    display: flex;
    justify-content: center;
    align-items: center;
}
.suggestionTitle .lblFlatTitle
{
    color: #757575 !important;
    font-weight: 500 !important;
}
/*Image Suggestionn CSs Ends Here*/
/*Rescan GUI Css starts here*/
.errorCard {
    border: 1px solid red;
}

#aidVisibleMessageLineDiv {
    display: inline-flex;
    padding: 4px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 50%;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.25) !important;
    /*background: rgba(217, 217, 217, 0.80);*/
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.merch-processing-photo_footertext {
    font-size: 18px;
    letter-spacing: 0.8px;
    padding: 15px;
    font-weight: bold;
    text-align: center;
}

.sectionTitle {
    font-size: 20px;
    font-weight: 700;
    text-align: center
}


/*Rescan GUI Css Ends here*/