/* Add Public layout related CSS here*/
* {
  margin: 0;
  padding: 0;
}

a:hover {
  text-decoration: none;
}

a, a:hover {
  color: #fff;
  font-weight: 600;
}

body {
  background: var(--public-background);
  background-color: var(--primary-color);
  background-size: cover;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #ebebeb;
  height: 100%;
  background-attachment: fixed;
}

.brand-logo img {
  max-width: 255px;
  margin: 50px 20px 10px 20px;
}

.tagline {
  font-size: 24px;
  font-weight: 600;
}

.main-content .container-form {
  margin: 0 auto;
  max-width: 280px;
  text-align: center;
}

input[type="checkbox"] {
  position: relative;
  border: none;
  margin-bottom: -4px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer
}

input[type="checkbox"]:focus {
  outline: none
}

input[type="checkbox"]:focus:after {
  border-color: #fff;
}

input[type="checkbox"]:after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  margin-top: -2px;
  margin-right: 5px;
  border: 1.5px solid #fff;
  border-radius: 2px;
  -webkit-transition: 240ms;
  -o-transition: 240ms;
  transition: 240ms
}

input[type="checkbox"]:checked:before {
  content: "";
  position: absolute;
  margin-top: 0;
  left: 6px;
  display: table;
  width: 4px;
  height: 9px;
  border: 2px solid var(--primary-color);
  border-top-width: 0;
  border-left-width: 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg)
}

input[type="checkbox"]:checked:after {
  background-color: #fff;
  border-color: #fff;
}

input[type="checkbox"]:disabled:after {
  border-color: #bbbbbb
}

input[type="checkbox"]:disabled:checked:after {
  background-color: #bbbbbb;
  border-color: transparent
}

.radio label,
.checkbox label {
  line-height: 20px;
  color: #fff;
  font-weight: normal;
}

/* width */
::-webkit-scrollbar {
  width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#pwaContainer {
  display: none;
}

#pwaContainer p {
  float: left;
  margin-left: 5px;
  line-height: 20px;
}

.download-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #1869A3;
  float: right;
  font-size: 18px;
  border: 0;
  padding: 0;
  margin-top: -4px;
}

#pwaContainer .closed-strip {
  padding: 10px;
  color: #fff;
  background: transparent;
  margin-top: -8px;
}

#pwaContainer .fa-times {
  color: #fff;
}

.main-content {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: auto;
  min-height: calc(100vh - 280px);
}

.app-illustration img {
  max-height: 400px;
  padding: 20px;
  margin: 0 auto;
}

.main-content input::placeholder {
  color: #fff;
}

.main-content input:-webkit-autofill:hover,
.main-content input:-webkit-autofill:focus,
.main-content input {
  -webkit-text-fill-background-color: transparent;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: #fff;
}

.main-content .form-control {
  background: transparent;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #fff;
  box-shadow: inherit;
  color: #fff;
  font-size: 15px;
  padding: 10px 0;
}

.form-control:focus,
.form-control:hover {
  border-color: #fff;
  background: transparent;
}

.main-content input:focus {
  border-bottom: 1px solid #fff;
}

/*Public Footer*/

.public-footer {
  padding: 15px 0;
}

.public-footer .terms-privacy {
  text-align: right;
}

.public-footer .container {
  max-width: 1280px;
}

.copyright {
  padding: 0px 10px;
}

.terms-privacy span {
  padding: 0 5px;
}

.submit-btn {
  width: 100%;
  background: #fff;
  font-size: 16px;
  color: var(--primary-color);
  font-weight: 600;
  border: 1px solid #fff;
}

.submit-btn:hover,
.submit-btn:focus {
  background-color: #e0e0e0;
  color: var(--primary-color);
  background-position: 0 -15px;
  border: 1px solid #fff;
}

.alert-danger {
  color: #a94442;
  background-color: rgba(242, 222, 222, 0.4) !important;
  border: 0 !important;
}

.alert-danger .fa,
.alert-danger .fa:hover,
.alert-dismissible .close {
  color: #fff;
}

input[type="checkbox"]:focus {
  border-bottom: 0;
}

.checkbox {
  font-size: 12px;
}

/* Form fields error message styling */
.container-form .error .text-danger {
  padding: 2px 10px;
  font-size: 80%;
  background-color: #ffffff60;
  margin-top: 5px;
  line-height: 17px;
  border-radius: 3px;
  color: #fff;
}

/*Responsive Code*/

@media only screen and (min-width: 280px) and (max-width: 768px) {
  .app-illustration img {
    display: none;
  }

  .tagline {
    font-size: 20px;
  }

  .public-footer .terms-privacy {
    margin: 10px 0;
    text-align: center;
  }

  .public-footer {
    font-size: 12px;
    text-align: center;
    width: 100%;
  }

  .copyright span {
    display: block;
  }

  .main-content {
    min-height: calc(100vh - 330px);
  }

}

@media only screen and (min-device-width: 320px) and (max-device-width: 924px) and (orientation: landscape) {
  .public-footer {
    position: relative;
  }

  .app-illustration img {
    display: none;
  }
}