label.error {
  margin-left: 15px;
  right: 15px;
}

.error {
  color: #cc0000;
  font-size: 14px;
}

.pull_upper_module_small {
  position: relative;
}

@media (min-width: 0px) and (max-width: 512px) {
  .pull_upper_module_small {
    margin-top: inherit !important;
  }
}

.justica-autenticacao {
  padding-bottom: 35px;
}

@media (min-width: 0px) and (max-width: 512px) {
  .justica-autenticacao:not(:first-of-type) {
    margin: 55px 0;
  }

  .justica-autenticacao:nth-of-type(2) {
    margin-top: 0;
  }
}

.navbar-default {
  background: #021C51;
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
}

.navbar-brand {
  height: 84px;
}

.navbar-brand img {
  max-height: 100%;
}

#kc-locale-dropdown .dropdown-toggle {
  color: white;
  padding-top: 25px;
  padding-bottom: 25px;
}

#kc-locale-dropdown .dropdown-toggle:hover,
#kc-locale-dropdown .dropdown-toggle:focus {
  background-color: #02153e;
}

#kc-locale-dropdown:hover .dropdown-menu {
  display: block;
  margin: 0;
  min-width: initial;
}

#kc-locale-dropdown .dropdown-menu a {
  text-align: center;
}

#kc-locale-dropdown .dropdown-menu a:hover {
  background-color: #d4edfa;
}


/*###########     Content Generic Components     #############*/
.justica-autenticacao .alert.alert-success {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9;
  text-align: center;
  width: 100%;
  animation: animation 0s ease-in 5s forwards;
}

.justica-autenticacao .alert {
  margin-top: 20px;
}

.pf-c-alert__icon {
  display: inline-block;
}

.alert-error {
  background-color: #ef9a9a;
  border-color: #cc0000;
  color: #333333;
  border-radius: 0;
  border-left: 5px solid #cc0000;
}

@keyframes animation {
  0% {
    display: block;
    opacity: 1;
  }
  1% {
    display: block;
    opacity: 1;
  }
  100% {
    display: none;
    opacity: 0;
  }
}

.justica-autenticacao .pficon.pficon-ok {
  position: relative;
  display: block;
  top: 0;
  left: 0;
  margin-bottom: 10px;
}

.justica-footer-small {
  padding: 0;
}

.justica-footer-small .footer {
  background: #021C51;
  padding: 50px 0;
}

.justica-footer-small .footer_bottom {
  padding: 0;
  background: #021C51;
}

.justica-footer-small .footer_bottom_container {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  padding: 0 15px;
}

@media (min-width: 0px) and (max-width: 512px) {
  .justica-footer-small .footer_bottom_container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: start;
    align-items: flex-start;
  }
}

.justica-autenticacao .box {
  background-color: #f2f2f2;
  padding: 35px;
  margin-bottom: 20px;
  margin-top: 55px;
}

.justica-autenticacao .box.login {
  min-height: 440px;
}

@media (min-width: 0px) and (max-width: 768px) {
  .justica-autenticacao .box.login {
    min-height: 240px;
  }
}

.justica-autenticacao .box .box_top {
  margin-bottom: 10px;
  min-height: 90px;
}

@media (min-width: 0px) and (max-width: 768px) {
  .justica-autenticacao .box .box_top {
    min-height: 50px;
  }
}

.justica-autenticacao .box .box_top span {
  font-weight: bold;
  font-size: 24px;
  color: #000;
  line-height: 30px;
}

.justica-autenticacao .box .autenticacao {
  min-height: 150px;
}

@media (min-width: 0px) and (max-width: 768px) {
  .justica-autenticacao .box .autenticacao {
    min-height: 40px;
  }
}

@media (min-width: 0px) and (max-width: 768px) {
  .justica-autenticacao .box .autenticacao .login .info {
    display: none;
  }
}

.justica-autenticacao .box .autenticacao .login .info p {
  margin-bottom: 10px;
}

.justica-autenticacao .box .autenticacao .login p {
  color: #000;
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 0;
}

.justica-autenticacao .box .autenticacao .login select {
  height: 39px;
  width: 100%;
  margin: 0 0 10px;
  padding-left: 11px;
}

@media (min-width: 0px) and (max-width: 1068px) {
  .justica-autenticacao .box .acess {
    width: 100%;
  }
}

.justica-autenticacao .box a:not(.btn) {
  color: #000;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 22px;
  text-decoration: underline;
}

.justica-LP_head_generic > :first-child {
  min-height: 252px;
}

@media (min-width: 0px) and (max-width: 768px) {
  .justica-LP_head_generic > :first-child {
    min-height: 200px;
  }
}

.justica-LP_head_generic .inner_head_content {
  margin-top: 40px;
  padding-left: 0;
}

.justica-LP_head_generic h1 {
  color: white;
  margin-top: 8px;
}

.justica-LP_head_generic .summary p {
  opacity: 1;
  padding: 0;
  color: white;
  font-size: 18px;
  line-height: 26px;
  margin-top: 18px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Do we really need to customize Bootstrap's modals? */
/*.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-header {
  border-bottom: none;
}

.modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 700px;
    margin: 1.75rem auto;
  }
}

.modal-footer {
  border-top: none;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}*/

.irn-label {
  font-weight: normal;
}

#kc-info {
  font-size: 1.3rem;
}

.btn-start {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 19px 30px;
  font-size: 18px;
  margin-bottom: 20px;
  line-height: inherit;
}

.bg-irn-blue {
  background: #021C51;
}
