body {
  background: #fbfbfc;
}

.login {
  height: 90vh;
  width: 100vw;
  overflow: hidden;
}

.login .bg-white-mobile {
  display: none;
}

.login .bg-white div.interno {
  width: 100%;
  display: inline-block;
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
  padding-bottom: 30px;
}

.login .bg-white div.interno span.help-block strong {
  line-height: 14px;
  width: 100%;
  display: inline-block;
  margin-top: 10px;
}

.login .bg-white {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  max-width: 0%;
  padding: 0px;
  -webkit-transition-delay: 0.4s;
  -moz-transition-delay: 0.4s;
  -ms-transition-delay: 0.4s;
  -o-transition-delay: 0.4s;
  transition-delay: 0.4s;
  z-index: 1;
  position: relative;
  overflow: hidden;
}

.login .bg-login-rh {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  max-width: 100vw;
  flex: 0 0 100%;
  -webkit-transition-delay: 0.4s;
  -moz-transition-delay: 0.4s;
  -ms-transition-delay: 0.4s;
  -o-transition-delay: 0.4s;
  transition-delay: 0.4s;
  z-index: 2;
  position: relative;
  background-size: cover;
  background-position: center;
}

.login.active .bg-white {
  max-width: 33.333333%;
  padding-right: 15px;
  padding-left: 15px;
}

.login.active .bg-login-rh {
  max-width: 66.666667%;
}
.bg-login-rh:after {
  content: "";
  width: 100%;
  height: 100%;
  display: inline-block;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
  background-image: url(../img/bg-login-milho.jpg);
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 0;
  z-index: 3;
}

.bg-login-rh:before {
  content: "";
  width: 100%;
  height: 100%;
  display: inline-block;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
  background-image: url(../img/bg-login-girasol.jpg);
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 0;
  z-index: 1;
}

.bg-login-rh.active:before {
  opacity: 1;
}
.bg-login-rh.activeTwo:after {
  opacity: 1;
}

.bg-login-rh {
  background-image: url(../img/bg-login-trigo.jpg);
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

.logo-bv {
  display: flex;
  justify-content: center;
  margin: 25px 0 10px 0;
}

.logo-bv img {
  width: 50%;
  height: 20vh;
}

.nome-sistema {
  display: flex;
  justify-content: center;
  margin: 30px 0 20px 0;
}

.nome-sistema p {
  margin: 0;
  font-size: 2.5rem;
  color: #666666;
  font-weight: 100;
  text-align: center;
  display: inline-block;
  width: 100%;
  line-height: 30px;
}

.nome-sistema p span {
  text-align: center;
  font-size: 1.4rem;
  margin-top: 10px;
  display: inline-block;
  width: 100%;
}

.login form input {
  border: 2px solid #666666;
  height: 40px;
}

.footer-login {
  width: 100%;
}

.footer-terms ul li  {
  float: left;
  list-style: none;
  padding-left: 8%;
  color: #428bca;
  font-size: 13px;
  margin-top: 7px;
}

.clear {
  clear: both;
}

/* HEADER DEFAULT */
.header-rh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image: linear-gradient(to right, #770000, #330000);
  height: 80px;
  width: 100%;
  box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.4);
}

.logo img {
  height: 70px;
}

.user-header {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
}

.perfil-header {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

p.perfil-header.bv_admin {
  font-size: 12px;
  font-weight: 300;
}

.empresa-header select {
  color: #fff;
  background: none;
  border: none;
  font-weight: 100;
  cursor: pointer;
}

.divisor {
  width: 1px;
  margin: 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.linha {
  width: 1px;
  height: 65%;
  background: #fff;
}

.btn-logout {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  flex-direction: column;
  font-weight: bold;
  text-transform: uppercase;
  height: 80px;
  text-decoration: none;
}

.btn-logout:hover {
  text-decoration: none;
  color: #fff;
}

.btn-logout span {
  display: flex;
  font-size: 24px;
}

.btn-logout p {
  font-size: 10px;
  margin: 0;
  padding: 0;
}

/* TITULO MODULOS */
.title-modulo {
  font-size: 30px;
  font-weight: 100;
  color: #666666;
  text-transform: uppercase;
}

/* BOTÃO MENU */
.btn-menu-rh {
  background: #FFFFFF;
  border-radius: 5px;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.3);
  padding: 0;
  margin: 0 10px 25px 10px;
  width: 23%;
}

.btn-menu-rh a:hover div>p {
  color: #770000;
}

.btn-menu-rh:hover {
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.4);
}

.btn-menu-rh>a .nome-btn {
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0 40px 0;
  padding: 15px;
  text-decoration: none;
  color: #666666;
}

.btn-menu-rh>a:hover {
  text-decoration: none;
  color: #666666;
}

.btn-menu-rh p {
  margin: 0;
}

.descricao-btn {
  font-size: 12px;
  color: #666666;
  padding: 15px;
}

/* NAV MENU */
#id-menu-header {
  width: 100%;
  height: 100%;
  position: relative;
}

.nav-header>ul {
  background: #FFFFFF;
  text-decoration: none;
  padding: 8px;
  box-shadow: 0px -4px 22px 0px rgba(0, 0, 0, 0.3);
}

.nav-header>ul li {
  margin: 0 10px;
}

.nav-header>ul li a {
  color: #BB2233;
  text-transform: uppercase;
  font-weight: bold;
}

.nav-header>ul li a:hover {
  color: #770000;
  text-transform: uppercase;
}

.nav-item a {
  position: relative;
}

.nav-item a:before {
  content: "";
  border-left: 45px solid transparent;
  border-right: 45px solid transparent;
  border-top: 25px solid #fff;
  position: absolute;
  top: 0;
  left: calc(50% - 45px);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

.nav-item a.active:before {
  opacity: 1;
  top: 100%;
}

/* PAGINA INTERNA */
.bg-title-pages-rh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.15);
  padding: 16px 24px 8px 24px;
  margin-bottom: 0.5rem;
}

.topo-pagina-rh {
  display: flex;
  flex-direction: column;
}

.topo-pagina-rh nav {
  display: flex;
  flex: 1;
}

.topo-pagina-rh nav ol {
  background: none;
  padding: 0rem;
  margin: 0;
}

.topo-pagina-rh nav ol li a {
  color: #BB2233;
}

.topo-pagina-rh nav ol li a:hover {
  color: #770000;
}

.topo-pagina-rh div span {
  font-size: 2em;
  font-weight: 100;
}

.bg-pages-rh {
  background: #FFFFFF;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 0;
  margin: 0 0 24px 0;
}

.subtitle-pages-rh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8px;
}

.subtitle-pages-rh span {
  font-size: 1.25em;
  font-weight: 100;
}

.table-rh {
  margin-top: 0;
}

.table-rh thead {
  font-weight: bold;
  color: #333333;
  background: #BBBBBB;
}

.table-rh thead a {
  color: #333333;
}

.table-rh tbody {
  border-bottom: 2px solid #BBBBBB;
}

.table-rh a {
  color: #666666;
  margin-right: 8px;
  font-size: 18px;
}

.table-rh a:last-child {
  margin-right: 0px;
}

.page-link {
  color: #333333;
  border: none;
  font-weight: bold;
  font-size: 16px;
}

.page-link:hover {
  color: #BB2233;
  background: none;
}

.ms-container {
  width: 100% !important;
}

small,
.small {
  font-size: 60%;
}

/*FILTRO*/
.filter {
  background: #F0F0F0;
  box-sizing: border-box;
  margin-bottom: 0px;
  opacity: 0;
  overflow: hidden;
  padding: 12px;
  border-radius: 15px 15px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
}

.datepicker {
  padding: 6px !important;
}

.filter>span {
  border-right: 2px dotted rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  color: #777;
  /* display: block; */
  float: left;
  padding: 1em;
  vertical-align: bottom;
}

.filter>div {
  box-sizing: border-box;
  float: left;
  padding: 0 0 0 10px;
  vertical-align: bottom;
}

.filter>div label {
  box-sizing: border-box;
  color: #777;
  display: block;
  font-size: 0.68em;
  font-weight: bold;
  line-height: 100%;
  text-transform: uppercase;
}

.filter>div input {
  box-sizing: border-box;
  display: block;
  width: 100%;
}

.filter>div select {
  box-sizing: border-box;
  display: block;
  width: 100%;
}

.filter>div:last-child button {
  box-sizing: border-box;
  float: left;
}

.filter>div:last-child button:last-child {
  margin-left: 10px;
}

/* BOTÕES */
.btn-vermelho {
  color: #FFFFFF;
  background: #BB2233;
  border: 1px solid #BB2233;
  border-radius: 5px;
  padding: 5px 35px;
}

.btn-vermelho:hover {
  color: #FFFFFF;
  background: #770000;
  border: 1px solid #770000;
  transition: .3s;
  text-decoration: none;
}

.btn-verde {
  color: #FFFFFF;
  background: #22BB44;
  border: 1px solid #22BB44;
  border-radius: 5px;
  padding: 5px 23px;
}

.btn-verde:hover {
  color: #FFFFFF;
  background: #115522;
  border: 1px solid #115522;
  transition: .3s;
  text-decoration: none;
}

.btn-cinza {
  color: #FFFFFF;
  background: #666666;
  border: 1px solid #666666;
  border-radius: 5px;
  padding: 5px 23px;
}

.btn-cinza:hover {
  background: #333333;
  border: 1px solid #333333;
  transition: .3s;
  text-decoration: none;
}

.btn-login-rh {
  color: #FFFFFF;
  background: #BB2233;
  border: 1px solid #BB2233;
  border-radius: 5px;
  padding: 3px 50px;
  font-size: 20px;
  margin-top: 15px;
}

.login div.interno .form-group.has-error label {
  margin-bottom: 3px;
}

@media screen and (max-width: 1920px) and (height: 1080px) {
  .footer-terms ul li  {
    padding-left: 8%;
    font-size: 17px;
    margin-top: 25px;
  }
}

@media screen and (max-width: 1440px) {
  .footer-terms ul li  {
    padding-left: 7%;
    margin-top: 19px;
  }
}

@media screen and (max-width: 1366px) {
  .footer-terms ul li  {
    padding-left: 7%;
    margin-top: 24px;
  }
}

@media screen and (max-width: 1366px) and (height: 768px) {
  .footer-terms ul li  {
    padding-left: 7;
    margin-top: 10px;
  }
}

@media screen and (max-width: 1366px) and (height: 625px) {
  .footer-terms ul li  {
    padding-left: 7%;
    margin-top: 7px;
  }
}

@media screen and (max-width: 1280px) {
  .footer-terms ul li  {
    padding-left: 6%;
    margin-top: 13px;
  }
}

@media screen and (max-width: 1024px) {
  .footer-terms ul li  {
    padding-left: 5%;
    margin-top: 6px;
  }
}

@media screen and (max-width: 990px) {
  .footer-terms ul li  {
    padding-left: 4%;
    margin-top: 6px;
  }
}

/*@media screen and (max-width: 1920px) and (height: 1080px) {*/
/*  .footer-terms ul li  {*/
/*    padding-left: 14%;*/
/*    font-size: 17px;*/
/*    margin-top: 25px;*/
/*  }*/
/*}*/

/*@media screen and (max-width: 1440px) {*/
/*  .footer-terms ul li  {*/
/*    padding-left: 13.8%;*/
/*    margin-top: 20px;*/
/*  }*/
/*}*/

/*@media screen and (max-width: 1366px) {*/
/*  .footer-terms ul li  {*/
/*    padding-left: 12.8%;*/
/*    margin-top: 24px;*/
/*  }*/
/*}*/

/*@media screen and (max-width: 1366px) and (height: 768px) {*/
/*  .footer-terms ul li  {*/
/*    padding-left: 12.8%;*/
/*    margin-top: 12px;*/
/*  }*/
/*}*/

/*@media screen and (max-width: 1366px) and (height: 625px) {*/
/*  .footer-terms ul li  {*/
/*    padding-left: 13.8%;*/
/*    margin-top: 7px;*/
/*  }*/
/*}*/

/*@media screen and (max-width: 1280px) {*/
/*  .footer-terms ul li  {*/
/*    padding-left: 12.8%;*/
/*    margin-top: 20px;*/
/*  }*/
/*}*/

/*@media screen and (max-width: 1024px) {*/
/*  .footer-terms ul li  {*/
/*    padding-left: 11%;*/
/*    margin-top: 6px;*/
/*  }*/
/*}*/

/*@media screen and (max-width: 990px) {*/
/*  .footer-terms ul li  {*/
/*    padding-left: 11%;*/
/*    margin-top: 6px;*/
/*  }*/
/*}*/

@media screen and (max-width: 870px) {

  form {
    margin-top: -10px
  }

  .login {
    height: 90vh;
  }

  .login .bg-login-rh, .login .bg-white  {
    display: none;
  }

  .login .bg-white-mobile {
    display: block;
    max-width: 100%;
  }

  .nome-sistema p {
    font-size: 1.5rem;
  }

  .nome-sistema p span {
    font-size: 1.4rem;
  }

  .footer-login {
    /*margin-top: -65px;*/
  }

  .footer-terms ul li  {
    float: left;
    margin-top: 6px;
    padding-left: 11%;
    font-size: 11px;
  }

  .footer-terms ul li a  {
    margin-left: -65px;
  }
}

@media screen and (max-width: 583px) {

  form {
    margin-top: -10px
  }

  .login {
    height: 78vh;
  }

  .login .bg-login-rh, .login .bg-white  {
    display: none;
  }

  .login .bg-white-mobile {
    display: block;
    max-width: 100%;
  }

  .nome-sistema p {
    font-size: 1.5rem;
  }

  .nome-sistema p span {
    font-size: 1.4rem;
  }

  .footer-login {
    /*margin-top: -65px;*/
  }

  .footer-terms ul li  {
    float: none;
    margin-top: 6px;
  }

  .footer-terms ul li a  {
    margin-left: -65px;
    color: #696b6a;
  }
}

/*@media screen and (height: 950px) {*/
/*  .footer-terms ul li  {*/
/*    margin-top: 20px;*/
/*  }*/
/*}*/

