﻿/* Contact page scoped styles extracted from global flatsome custom CSS */

.config-map img {
  width: 100%;
  height: 487px;
  object-fit: cover;
  border-radius: 3%;
}

.content.col.medium-12.small-12.large-6,
.view-location.col.medium-12.small-12.large-6 {
  padding-bottom: 0;
}

@media (max-width: 849px) {
  .config-map img {
    object-fit: inherit;
  }

  .wpcf7 label {
    text-align: left;
  }

  .content.col.medium-12.small-12.large-6,
  .view-location.col.medium-12.small-12.large-6 {
    padding-bottom: 15px;
  }

  .btn-contact input.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 100%;
  }
}

@media (max-width: 549px) {
  .field.btn-contact.cf7sg-popup-box {
    width: 100% !important;
  }

  .config-map img {
    height: 100%;
  }
}

.info-contact {
  overflow-y: scroll;
  height: 490px;
}

.content-contact textarea {
  height: 100px;
  border: 1px solid #ddd;
}

#loadingIndicator {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 9999;
  display: none;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#loadingIndicator::after {
  content: '';
  display: block;
  position: absolute;
  left: 48%;
  top: 40%;
  width: 40px;
  height: 40px;
  border-style: solid;
  border-color: black;
  border-top-color: transparent;
  border-width: 4px;
  border-radius: 50%;
  -webkit-animation: spin .8s linear infinite;
  animation: spin .8s linear infinite;
}

.list-map {
  list-style: none;
  overflow-y: scroll;
  height: 487px;
}

ul.list-map li {
  margin-left: 0;
}

.list-map .content {
  border: 1px solid #ececec;
  padding: 8px 12px;
  border-radius: 8px;
}

.list-map .content:hover {
  background-color: #ececec;
}

.list-item {
  display: initial;
}

.well {
  margin-bottom: 30px;
  padding: 12px;
  background-color: rgb(255, 242, 250);
  border-radius: 8px;
}

.view-location {
  display: flex;
  justify-content: center;
}

.btn-view_location {
  height: 40px;
  text-decoration: none;
  color: #000;
  text-align: center;
  padding: 8px;
  margin-top: auto;
  margin-bottom: auto;
}

.btn-view_location {
  --c: linear-gradient(#000 0 0);
  padding-bottom: .15em;
  background: var(--c), var(--c);
  background-size: .3em .1em;
  background-position: 50% 100%;
  background-repeat: no-repeat;
  transition: .3s linear, background-size .3s .2s linear;
}

.btn-view_location:hover {
  background-size: 40% .1em;
  background-position: 10% 100%, 90% 100%;
}

@media screen and (min-width: 768px) {
  .container.form-lienhe {
    padding: 0 54px;
  }
}

.form-lienhe input,
.form-lienhe textarea,
.form-lienhe select {
  border-radius: 8px;
}

.form-lienhe select {
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
  box-sizing: border-box;
  color: #333;
  font-size: .97em;
  height: 2.507em;
  max-width: 100%;
  padding: 0 .75em;
  transition: color .3s, border .3s, background .3s, opacity .3s;
  vertical-align: middle;
  width: 100%;
}

.wpcf7 form.invalid input.wpcf7-not-valid,
.wpcf7 form.invalid select.wpcf7-not-valid,
.wpcf7 form.invalid textarea.wpcf7-not-valid {
  border: 2px solid red;
  background-color: #ffe6e6;
}

.wpcf7 form.invalid .wpcf7-not-valid-tip {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}
