* {
  -webkit-overflow-scrolling: touch;
}

a {
  cursor: pointer;
}

.background-image {
  height: 100vh;
  width: 100%;
  position: relative;
  background-image: url('./images/hero.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-image .overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(228, 144, 66, 0.3);
}

.card {
  max-height: calc(100vh - 50px);
  overflow-y: auto;
  position: relative;
  background-color: #fff;
  border-radius: 5px;
  border: none;
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.1);
  min-width: 300px;
  max-width: 500px;
  width: 35%;
}

.card .card-body,
.card-actions {
  padding: 20px;
}

.card .card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card .card-actions a {
  text-decoration: none;
  color: #e49042;
}

.card .card-actions button {
  border-radius: 5px;
  padding: 10px;
  background-color: #e49042;
  cursor: pointer;
  color: #fff;
  border: none;
  outline: none;
}

.card .card-actions button:hover {
  background-color: #e59b57;
}

.card .card-image {
  padding: 20px 0 0 20px;
}

.card .card-overlay,
.card-info {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  z-index: 1;
  position: absolute;
}

.card .card-overlay {
  align-items: center;
  justify-content: center;
  background-color: rgba(228, 144, 66, 0.3);
}

.card .card-info {
  align-items: flex-start;
  background-color: #fff;
}

.card .card-overlay {
  flex-direction: column;
  color: white;
}

.card .card-info .box-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #fff;
  color: #e49042;
}

.card .card-info .box-info .box-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px;
}

.card .card-info .box-info .box-header.box-header-success {
  background-color: #5cb85c;
}

.card .card-info .box-info .box-header.box-header-error {
  background-color: #d9534f;
}

.card .card-info .box-info .box-content {
  background-color: #e49042;
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card .card-info .box-info .box-actions {
  display: flex;
  justify-content: space-between;
  text-align: center;
  padding: 20px;
  background-color: #fff;
}

.card .card-info .box-info .box-actions a {
  font-size: 18px;
  color: #e49042;
}

.card .card-info .box-info h1 {
  color: #fff;
  font-size: 30px;
  font-weight: 400;
}

.card .card-overlay img {
  width: 200px;
}

.card .card-overlay img {
  width: 128px;
}

.card .card-overlay h1 {
  font-size: 20px;
  font-weight: 100;
  padding: 20px;
}

.card .card-overlay p {
  text-align: center;
  line-height: 20px;
  font-weight: 100;
}

.card .card-overlay .actions {
  padding: 20px;
}

.box-logo {
  display: flex;
  align-items: center;
}

.box-logo .img-logo {
  margin-right: 5px;
  width: 30px;
  height: 30px;
}

.box-logo .info-petis .title {
  color: #e49042;
  font-size: 18px;
}

.box-logo .info-petis .subtitle {
  color: #aaa;
  font-size: 12px;
}

.concorda-termos {
  padding: 0 20px;
}

.abbr {
  font-size: 12px;
  opacity: 0.8;
}

.checkbox input {
  width: 13px;
  height: 13px;
  overflow: hidden;
}

#btn-submit:disabled {
  opacity: 0.5;
}

form input,
select {
  margin-top: 20px;
  height: 40px;
  background-color: #fff;
  padding: 0 10px;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  border-radius: 5px;
  box-shadow: none;
  border: 1px solid #ccc;
  color: #757575;
  outline: none;
}

form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

form input {
  color: #e49042;
}

form input:focus,
select:focus {
  border: 1px solid rgba(228, 144, 66, 0.5);
}

#loading,
#success,
#error {
  visibility: hidden;
}

.error {
  font-size: 10px;
  padding-top: 2px;
  padding-left: 5px;
  color: #d9534f;
  font-weight: 500;
  position: absolute;
  margin-bottom: 10px;
}

.section {
  padding: 10px 0;
}

@media only screen and (max-width: 500px) {
  .background-image {
    background-color: white;
    background-image: none;
  }

  .background-image .overlay {
    display: none;
  }

  .card .card-overlay,
  .card-info {
    position: fixed;
  }

  .card {
    padding-bottom: 40px;
    -webkit-overflow-scrolling: smoth;
    width: 100%;
    height: 100%;
    overflow: auto;
    box-shadow: none;
  }
}
