/* Initial styles are in the html file */
* {
  color: #494949;
  font-size: 100%;
}

h1 {
  color: #494949;
  font-size: x-large;
}

p {
  color: #494949;
  margin: 0;
}

span {
  color: #494949;
}

*,
html,
body {
  font-family: 'Roboto', sans-serif;
}

html,
body {
  height: 100%;
  width: 100%;
  background-color: white;
  margin: 0;
  padding: 0;
  text-align: center;
  width: inherit;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  touch-action: manipulation;
}

.wrapping-box-container {
  margin: 10px auto;
  width: 646px;
  height: auto;
  color: #fff;
  padding: 0;
  display: none;
  opacity: 0;
}

.display-none {
  display: none;
}

registered {
  font-size: inherit !important;
}

registered::before {
  font-size: 50%;
  color: #494949;
  content: "®";
  vertical-align: super;
}

registered-white::before {
  font-size: 50%;
  color: white;
  content: "®";
  vertical-align: super;
}

#controls {
  max-width: 100%;
  border: 2px solid #494949;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  z-index: 0;
  background-color:white;
  margin: 0 auto;
  width: 95%;
  min-height: 360px;
}

.big-button {
  width: 40%;
  height: 40px;
  margin: 0 auto;
  color: white;
  background: #494949;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
  transition: opacity 0.7s linear, color 0.7s linear;
  cursor: pointer;
  outline: none;
}

@media (hover: hover) {
  .big-button:hover:enabled {
    background-color: #303030;
    color: white !important;
  }
}

.big-button:disabled, .big-button[disabled] {
  cursor: not-allowed;
  background: #49494966 !important;
  color: white !important;
}

.browser-button {
  min-height: 50px;
  height: 50px;
  width: 320px;
  border: unset;
  margin: 0 auto;
}

button, input {
  z-index: 0;
}

input::placeholder {
  color: gray;
}

#status {
  width: 100%;
  margin: 10px auto 0;
  color: black;
  font-size: 80%;
  display: none;
}

#browser-subtext {
  margin: 0 auto;
}

button:disabled {
  cursor: not-allowed;
  color: #ddd;
  border-color: #ddd;
}

button::-moz-focus-inner {
  border: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

.error-logo img:first-child {
  position: relative;
}

#agreed-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

#radio {
  appearance: none;
  position: relative;
  height:25px;
  width:25px;
  margin: 0 12px;
  background-color:#fff;
  border: 2px solid #494949;
  height: 25px;
  border-radius: 50%;
  -moz-border-radius:50%;
  -webkit-border-radius:50%;
}

#radio:checked:after {
  margin: 1px;
  width: 15px;
  height: 15px;
  border-radius: 15px;
  position: relative;
  background-color: #494949;
  content: '';
  display: inline-block;
  visibility: visible;
  border: 2px solid white;
}


#agreed-label {
  font-size: 80%;
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}

#agreed-label a {
  color: #494949;
  font-size: inherit;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  font-weight: 600;
}

textarea,
input.text,
input[type="text"],
input[type="button"],
input[type="submit"],
.input-checkbox {
  -webkit-appearance: none;
  border-radius: 0;
}

#browser-subtext {
  width: 100%;
}

#facetec-logo-container img {
  max-width: 280px;
}

#facetec-logo-container div {
  /* margin: 0 10px 0 0; */
}

#facetec-logo-container p {
  padding: 0;
  margin: 0;
}

.button-container {
  position: relative;
  height: auto;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color:  #494949;
  width: 80%;
}

#loading-overlay {
  margin: 160px auto 0;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  border: 5px solid #f3f3f3;
  border-top-color: #494949;
  animation: spin 1s linear infinite;
  -webkit-animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
  from { -webkit-transform: rotate(0deg); }
  to { -webkit-transform: rotate(359deg); }
}

@keyframes spin {
  from { transform:rotate(0deg); }
  to { transform:rotate(359deg); }
}

#status-and-loading-overlay-container div p {
  color: #494949;
  /* use the same size font as in the SDK */
  font-size: 16px;
  margin: 16px;
}

#status-and-loading-overlay-container {
  height: 100%;
  width: 100%;
  position: absolute;
  opacity: 1;
  transition: opacity 300ms linear;
}

.label-text {
  display: inline-block;
  min-width: 105px;
  text-align: left;
}

.main-logo {
  max-height: 70px;
}

/* FOOTER STYLING */

footer {
  position: absolute;
  bottom: 4px;
  width: 100%;
  font-size: 15px;
  left: 50%;
  transform: translateX(-50%);
 }

footer span p {
  margin: 0;
  color: grey;
}

footer span p a:hover{
  color: #494949;
  text-decoration: underline;
}

.hr {
  margin: 2px auto;
  width: 250px;
  border: none;
  height: 2px;
  background: #eee;
}

#copy-right-section {
  height: auto;
  display: block;
}

#copy-right-length {
  position: absolute;
  visibility: hidden;
  height: auto;
  width: auto;
  white-space: nowrap;
  font-size: 7px;
}

#app-version {
  color: grey;
  font-size: 100%;
}

.margin0 {
  margin: 0;
}

.text-left {
  text-align: left;
}
