body {
  padding-top: 90px;
  color: #393939;
  font-family: "Muli", sans-serif;
  margin-bottom: 90px;
  background: #ffffff;
}
h1,
h2 {
  color: #002855;
}
a {
  color: #002855;
}
.navbar-inverse {
  background: #fff;
  box-shadow: 0 3px 3px 0 rgba(50, 50, 50, 0.5);
  height: 90px;
}
#header #logo {
  top: 10px;
  left: 10px;
}
.sidebar {
  background-color: #f0f0f0;
  top: 90px;
  padding-top: 20px;
  border-right: none;
}
.main {
  /*border-top:20px solid #f0f0f0;*/
  padding: 30px;
}
.tabs li {
  margin: 0;
  box-shadow: none;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: none;
}
.tabs li a {
  padding-top: 10px;
  padding-bottom: 10px;
}
.tabs li,
.tabs li a,
.tabs li a:hover {
  background-color: #919191;
  color: #ffffff;
}
.nav > li.disabled > a {
  color: #ffffff;
}
.tabs li.selected,
.tabs li.selected a,
.tabs li.selected a:hover {
  background-color: #ffffff;
  color: #6c6c6c;
  font-weight: 700;
  border-left: none;
}
.tabs li.selected a {
  padding-left: 20px;
}
.subtabs li.selected,
.subtabs li.selected a,
.subtabs li.selected a:hover {
  background: #f9f9f9;
}

.footer {
  border-top: 30px solid #f0f0f0;
  height: 70px;
}

.btn {
  border-radius: 5px;
  border: none;
  min-width: 200px;
  text-align: center;
  padding: 0 30px;
  font-size: 16px;
  font-weight: 600;
  height: 45px;
  line-height: 45px;
  outline: none;
  cursor: pointer;
  text-transform: uppercase;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-text-shadow: none;
  -moz-text-shadow: none;
  text-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.btn-primary,
.btn-primary:active,
.btn-primary.active {
  background: #ec6608;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #ec6608;
}
.btn-primary:disabled,
.btn-primary[disabled] {
  color: #ffffff;
  background-color: #ec6608;
  opacity: 0.5;
}
.btn-default,
.btn-default:active,
.btn-default.active {
  background: #a6a6a6;
  color: #ffffff;
}
.btn-default:hover,
.btn-default:focus {
  background: #6c6c6c;
  color: #ffffff;
}
.btn-default:disabled,
.btn-default[disabled] {
  color: #ffffff;
  background: #a6a6a6;
  opacity: 0.5;
}
.btn-warning,
.btn-warning:hover,
.btn-warning:focus {
  background-color: #ffc000;
  color: #ffffff;
}

.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
  background: #cbcbcb;
}

.alert {
  margin-top: 10px;
  border-radius: 0;
  color: #fff;
  border: none;
}
.alert-danger {
  background: #002855;
}
.alert-success {
  background: #2a994a;
}

.panel .panel-body {
  padding: 2rem 4rem;
  color: rgb(180, 180, 180);
  font-size: 1.2rem;
}
.panel .panel-body .alert-icon {
  float: left;
  padding: 10px 0 20px 0;
  display: block;
  margin: 0 auto;
}
.panel .panel-body h4 {
  font-size: 1.8rem;
  margin-top: 15px;
  margin-bottom: 15px;
}

.btn-otp-addon {
  cursor: pointer;
  color: #ffffff;
  background: #a6a6a6;
}

.btn-otp-addon:hover,
.btn-otp-addon:hover {
  background: #6c6c6c;
}

.btn-otp-addon:disabled,
.btn-otp-addon[disabled] {
  color: #ffffff;
  background: #a6a6a6;
  opacity: 0.5;
}

@media screen and (max-width: 767px) {
  #header #logo {
    top: 30px;
    left: 50%;
    margin-left: -90px;
  }

  #logo img {
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(../images/alleanza/logo-tablet.png) no-repeat;
    width: 181px; /* Width of new image */
    height: 25px; /* Height of new image */
    padding-left: 181px; /* Equal to width of new image */
  }

  .buttons .btn {
    width: 100%;
  }
  .buttons .pull-right {
    float: none;
    margin-bottom: 15px;
    width: 100%;
  }
  .btn-download {
    display: block;
    margin-top: 15px;
  }
  .btn-otp {
    margin-bottom: 50px;
  }
}

/* alleanza enroll refactor */

h2.enroll-header {
  color: #002855;
}

.intro-device {
  color: #303a45;
  font-size: 18px;
  font-weight: 600;
}

.intro-enroll {
  margin-top: 50px;
  margin-bottom: 20px;
}

.intro-data {
  margin-bottom: 35px;
}

.enroll-data-container {
  background-color: #f4f4f4;
  border-radius: 5px;
  padding: 10px 15px;
}

.enroll-data-title {
  font-size: 10px;
  margin-bottom: 0;
}

.enroll-data {
  font-weight: 600;
  margin-bottom: 15px;
  color: #000f20;
}

.enroll-button {
  margin-top: 50px;
  padding: 0 15px;
}

/* alleanza error message refactor */

p {
  color: #303a45;
  line-height: 22px;
  font-size: 16px;
}

.logo-container {
  margin-top: 60px;
  width: 100%;
  text-align: center;
}

.logo-loader {
  width: 60%;
  height: auto;
  margin-bottom: 80px;
}
.loading {
  background-color: #fff;
}

.error-button {
  width: 100%;
}

.alert-icon {
  width: 40px;
  margin-bottom: 30px;
}
.section {
  margin-top: 50px;
  padding: 0 10px;
}

.section-center {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.mobile-logo {
  margin-top: 40px;
  width: 50%;
  margin-bottom: 40px;
  max-width: 250px;
}

/* OTP (UPDATE BROWSER FINGERPRINT) */
.otp__heading,
.fgsign__heading {
  color: #002855;
  font-size: 28px;
}

.otp__icon {
  width: 50px;
  margin-top: 40px;
}

.otp__paragraph,
.fgsign__paragraph {
  color: #393939;
  font-size: 14px;
  margin-bottom: 60px;
}

.otp__button,
.fgsign__button {
  font-weight: 400;
  font-size: 17px;
  opacity: 1;
  transition: 0.2s all;
  background-color: #ec6608;
  color: #ffffff;
}

.otp__button:disabled,
.fgsign__button:disabled {
  background-color: #6c757d;
  opacity: 0.5;
  color: #ffffff;
}

.fgsign__button-link {
  display: block;
  font-size: 16px;
  padding: 20px 0;
  text-align: center;
  text-decoration: underline;
}

.otp__newOTP {
  text-align: center;
  text-transform: uppercase;
  color: #ec6608;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid #ec6608;
  border-radius: 5px;
  height: 45px;
  line-height: 45px;
}

.otp__input-group {
  width: 100%;
}

.otp__input,
.otp__input:focus {
  height: 50px;
  border: none; /* <-- This thing here */
  border: solid 2px rgba(0, 0, 0, 0.3);
  border-radius: 5px !important;
  box-shadow: none;
}

.otp__input:focus {
  border: solid 2px #ec67089c;
}

.otp__input__floating-label {
  position: absolute;
  pointer-events: none;
  left: 15px;
  top: 15px;
  transition: 0.2s ease all;
  z-index: 2;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
}

input:focus ~ .otp__input__floating-label,
input:not(:focus):valid ~ .otp__input__floating-label {
  top: -10px;
  bottom: 10px;
  left: 15px;
  background-color: #fff;
  font-size: 12px;
  opacity: 1;
  padding: 0 5px;
  height: 15px;
  color: #ec67089c;
}

.otp__input__tick {
  height: 25px;
  width: 25px;
  position: absolute;
  top: 13px;
  right: 10px;
  z-index: 2;
}

.otp__input__tick-disabled {
  display: none;
}

.otp__form {
  margin-bottom: 3px;
}

.otp__span {
  color: #b00020;
  margin-left: 10px;
}

.otp__span-disabled {
  visibility: hidden;
}

form .ng-dirty.ng-invalid ~ .otp__input__floating-label {
  color: #b00020;
}

h3.alert-title,
h4.alert-title {
  font-size: 22px;
  display: block;
  color: #002855;
}

.bold {
  font-weight: bold;
}

.fgsign__introtext {
  color: #303a45;
  font-size: 18px;
  margin-bottom: 40px;
}

.fgsign__documents-header {
  font-size: 13px;
  padding: 5px;
  color: #002855;
}


.fgsign__documents-list {
  margin-bottom: 20px;
}

.fgsign__document {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  /*border-bottom: 1px solid #d5d5d5;
  margin: 0 -30px; */
  align-items: center;
  border-radius: 4px;
  box-shadow: 1px 1px 5px rgba(0, 15, 32, 0.1);
  margin-bottom: 10px;
}

.fgsign__document-check {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 30px;
  align-items: center;
  border-bottom: 1px solid #d8d8d8;
}

.fgsign__document-check--complete {
  border-bottom: none;
  padding: 20px 0;
}

.fgsign__document-unchecked {
  border-left: 6px solid red;
}

.fgsign__document-checked {
  border-left: 6px solid green;
}

.fgsign__document-check-intro {
  /* padding-bottom: 20px; */
  border-bottom: 1px solid #d8d8d8;
}

.fgsign__document-left {
  display: flex;
  align-items: center;
  cursor: pointer;
  flex: 1;
}

.fgsign__document-left--completed {
   cursor: auto;
}

.fgsign__document-description {
  display: flex;
  flex-direction: column;
}

.fgsign__document-check-name {
  font-size: 18px;
  color: #fc4c02;
}

.fgsign__document-name {
  font-size: 20px;
  color: #002855;
}

.fgsign__document-type {
  font-size: 13px;
  color: #303a45;
}

.fgsign__pdf-image {
  width: 20px;
  margin-right: 20px;
}

.fgsign__checked-image {
  width: 12px;
  height: 10px;
  margin-right: 5px;
  margin-left: -20px;
}

.fgsign__download-image,
.fgsign__view-image {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.fgsign__view-image {
  transform: rotate(-90deg);
}

.fgsign__download-documents {
  margin-bottom: 40px;
}

.fgsign__document-preview {
  width: 100vw;
  border: 0;
  margin-left: -15px;
  /* The height is set by JS */
}

.fgsign__document-preview__buttons {
  padding-top: 10px;
}

.fgsign__checkbox-list {
  margin-bottom: 40px;
}

.fgsign__checkbox {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 20px 30px;
  margin: 0 -30px 1px;
}

.fgsign__checkbox span {
  margin-top: 3px;
  margin-left: 10px;
  font-size: 15px;
  color: #303a45;
}

.fgsign__completed-success {
  margin-bottom: 40px;
}

.fgsign__documents-check-header {
  color: #002855;
  padding-bottom: 10px;
  border-bottom: 1px solid #d8d8d8;
}

input[type="checkbox"] {
  /* background-repeat: no-repeat;
  background-position: center center;
  background-size: contain; */
  box-shadow: none;
  cursor: pointer;
  display: inline-block;
  height: 25px;
  outline: 0;
  width: 25px;
  -webkit-appearance: none;
  /* background-image: url(../images/alleanza/checkbox.png); */
  border: 1px solid #ec6608;
  border-radius: 5px;
  flex-shrink: 0;
}

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

/* input[type="checkbox"]:checked {
  background-image: url(../images/alleanza/checkbox-checked.png);
} */

input[type="checkbox"]:checked::after {
  content: '';
  background-color: #ec6608;
  border-radius: 5px;
  display: inline-block;
  height: 19px;
  left: 2px;
  position: relative;
  top: 2px;
  width: 19px;
}

/* input[type="checkbox"]:not(:checked) {
  background-image: url(../images/alleanza/checkbox.png);
} */

/* ALLEANZA customizations */

.alleanza__loader {
  width: 30%;
  height: 30%;
  min-width: 80px;
  min-height: 80px;
}

.alleanza__loader-container {
  display: flex;
  justify-content: center;
}

.check-negativo-container,
.check-positivo-container {
  width: 40%;
  height: auto;
  min-width: 80px;
  min-height: 80px;
}

.otp-start-page__section {
  margin: 30px 10px 60px;
}

