body, html {
  background-color: #434141;
  font-family: sans-serif;
  color: #ECEFF1;
  min-height: 100%;
  min-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
}

div, a {
  box-sizing: border-box;
}

.layout-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.footer {
  margin: 1em;
  text-align: right;
}

.header {
  text-align: center;
  margin: 26px 0 0;
}

.header #logo {
  max-width: 240px;
  width: 80%;
}

.content {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto; 
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 0 10px;
}

.page-container > * {
  width: 100%;
}

.page-container > h1 {
  font-size: 1.2em;
  margin: 48px 0 10px;
/*  padding-bottom: 2em;*/
}

.page-container h3 {
  font-size: 1.2em;
  font-weight: 400;
}

.page-container h4 {
  margin-bottom: 0;
}

.index-header {
  max-width: 640px;
  margin: auto;
  margin-top: 48px;
}

.index-header > div {
  text-align: left;
  padding: 0 20px;
}

.index-header > img {
  width: 100%;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  justify-content: center;
}

.button-wrapper {
  padding: 15px 20px;
  background-color: #5b5b5b;
  border-radius: 4px;
  width: 175px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-self: center;
  margin: 12px;
}

.button-wrapper > img {
  margin-bottom: 20px;
  height: 50px;
}

.button-wrapper > img.worklink-icon {
  height: 100px;
}

.button-wrapper.wide {
  width: 300px;
}

.button-link {
  color: #353431;
  border-radius: 5px;
  background-color: #E1A42F;
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  margin: 0;
  text-decoration: none;
  width: 100%;
  display: flex;
  justify-content: center;
}

.button-link-outline {
  color: #FFF;
  border-radius: 5px;
  background-color: transparent;
  border: 1px solid #FFF;
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  margin: 0;
  text-decoration: none;
  width: 100%;
  display: flex;
  justify-content: center;
}

.button-group > .button-link {
  margin: 1em 0;
}

.button-group > .button-link:first-of-type {
  margin-top: 2em;
}

.button-group > .button-link:last-of-type {
  margin-bottom: 2em;
}

.button-link > div {
  flex: 1;
  padding: 5px 10px;
  text-align: center;
}

.qr-code-wrapper {
  width: 100%;
  max-width: 620px;
  margin-bottom: 32px;
  padding-bottom: 20px;
}

.qr-code {
  background-color: white;
  padding: 10px;
  display: flex;
  width: 100%;
}

.qr-code-info {
  margin-bottom: 15px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  width: 100%;
  text-align: center;
  justify-content: center;
} 

.demo-image {
  margin-top: 20px;
  margin-left: -10px;
}

.agentdetected .header {
  text-align: center;
  margin: 100px 0 0;
}

.agentdetected .header #logo {
  max-width: 344px;
  width: 80%;
}

.agentdetected .index-header {
  font-size: 20px;
  max-width: none;
}

.agentdetected .index-header > div {
  text-align: center;
}

.agentdetected .content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  position: relative;
}

@media only screen and (min-width: 1200px) {
  .agentdetected:not(.mobile) .content {
    right: 50px;
  }

  .agentdetected:not(.mobile) .content-right {
    padding-top: 65px;
  }
}

.agentdetected .content-left {
  width: 700px;
}

.agentdetected .content-left .laptop {
  max-width: 100%;
}

.agentdetected .content-left .tablet {
  position: relative;
  top: -110px;
  right: -115px;
  max-width: 50%;
}

.agentdetected:not(.mobile) .content-left {
  margin-bottom: -60px;
}

.agentdetected .content-right {
  padding: 40px;
  width: 400px;
}

.agentdetected .content-right a {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 12px;
  display: block;
  margin-bottom: 20px;
}

.agentdetected .content-right a:first-of-type {
  margin-bottom: 40px;
}
/* Visually hide the native checkbox but keep it accessible */
.agentdetected .toggle-input {
  position: absolute;
  left: -9999px;
}

/* The SVG-backed visual control */
.agentdetected .toggle-visual {
  display: inline-block;
  width: 32px;   /* matches your SVG */
  height: 19px;  /* matches your SVG */
  background-image: url("../images/toggle-off.svg");
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  user-select: none;
}

/* When checked, swap the image to the ON svg */
.agentdetected #openInBrowser:checked + .toggle-visual {
  background-image: url("../images/toggle-on.svg");
}

.agentdetected form {
  display: flex;
}

.agentdetected form label {
  margin-right: 10px;
}

.agentdetected .qr-code-wrapper {
  background: #303030;
  display: flex;
  padding: 20px;
  margin-bottom: 24px;
}

.agentdetected .qr-code-wrapper > div:first-of-type {
  margin-right: 10px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 16px;
}

.agentdetected p {
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  margin-bottom: 5px;
}

.agentdetected .qr-code {
  width: 146px;
  min-width: 146px;
  align-self: right;
  padding: 2px;
}

.agentdetected ul {
  list-style: none;
  padding: 0;
}

.agentdetected ul li p {
  display: inline;
}

.agentdetected ul li:not(:last-of-type) {
  margin-bottom: 10px;
}

.agentdetected ul img {
  margin-right: 5px;
}

.agentdetected .page-container {
  width: 100%;
  padding: 0 20px;
}

.agentdetected.mobile .header {
  margin-top: 20px;
}

.agentdetected.mobile .header #logo {
  max-width: 200px;
}

.agentdetected.mobile .index-header {
  margin-top: 0;
  font-size: 16px;
}

.agentdetected.mobile .index-header > div {
  padding: 0;
}

.agentdetected.mobile .content {
  right: 0;
  margin-top: 20px;
}

.agentdetected.mobile .content-left {
  width: auto;
  max-width: 100%;
}

.agentdetected.mobile .content-left img {
  width: 380px;
  max-width: 100%;
}

.agentdetected.mobile .content-right {
  max-width: 400px;
  font-size: 14px;
}

.agentdetected.mobile .content-right a {
  font-size: 14px;
  padding: 5px 12px;
  margin-bottom: 15px;
}

.agentdetected.mobile ul {
  margin: 10px 0;
}

@media only screen and (min-width: 480px) {
  .agentdetected.mobile .content {
    flex-wrap: nowrap;
  }
  
  .agentdetected.mobile .content-right {
    padding: 30px;
    padding-top: 10px;
    max-width: 280px;
  }

  .agentdetected.mobile .button-continue-in-browser {
    margin-bottom: 10px;
  }
}
