/* ===================================== 
    HOME CONTACT. 
===================================== */

/* ========== HOME CONTACT 1 ========== */
.tp-contact1-parallax {
  background-image: url("../../../images/commons/home-niches/coportate/corporate-2.html");
  height: 650px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.tp-contact1-parallax:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom right, var(--headline-color), var(--headline-color));
  opacity: 0.7;
  z-index: 1;
}

.cp-contact-side {
  height: auto;
  padding: 90px 30px 30px;
  background-color: #FFF;
  z-index: 2;
  position: relative;
  margin: 55px 0px;
}

.contact-header {
  background-color: var(--primary-color);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 300px;
  height: 60px;
  padding: 10px;
}

.contact-header h3 {
  color: #FFF;
  margin-bottom: 0px;
}

.cp-content-side {
  margin: 0px;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 2;
}

.cp-content-side {
  max-width: 500px;
}

.cp-content-side h2 {
  color: #FFF;
}

.cp-content-side p {
  color: #FFF;
}

.custom-form {
  display: block;
  width: 100%;
  height: calc(2em + 1rem + 2px);
  padding: 8px 0px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--primary-color);
  font-family: var(--base-font);
  font-size: 14px;
  background-color: transparent !important;
  background-clip: padding-box;
  border: none;
  border-bottom: solid 1px #e0e6eb;
  border-radius: 0rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  font-family: 'Open Sans', sans-serif;
  margin: 15px 0px;
}

.message-form {
  font-family: var(--base-font);
  font-size: 14px;
  padding: 8px 0px;
  background-color: transparent !important;
  border-radius: 0px !important;
  border: none;
  border-bottom: solid 1px #e0e6eb;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.custom-form::-ms-expand {
  background-color: transparent;
  border: 0;
}

.custom-form:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #495057;
}

.custom-form:focus {
  color: #495057;
  background-color: #d1d9e0;
  border-color: #80bdff;
  outline: 0;
  box-shadow: none;
}

.custom-form::-webkit-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.custom-form::-moz-placeholder {
  color: #6c757d;
  opacity: 1;
}

.custom-form:-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.custom-form::-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.custom-form::placeholder {
  color: #6c757d;
  opacity: 1;
}

.with-errors {
  font-size: 12px;
  font-family: var(--base-font);
  text-align: left;
  color: red;
  margin-top: 10px;
  margin-left: 15px;
}

.alert-success {
  color: #FFF;
  background-color: var(--secundary-color);
  border-color: var(--secundary-color);
  font-family: var(--base-font);
  font-size: 15px;
  line-height: 1.5;
}

.close {
  float: right;
  margin-left: 5px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #FFF;
  text-shadow: none;
  opacity: 1;
}

.contact-card-location {
  margin-top: 40px;
}

.contact-card-location .fas {
  font-size: 40px;
  color: var(--primary-color);
}

.contact-card-location h4 {
  color: #FFF;
  margin-bottom: 2px;
}

.contact-card-location p {
  color: #FFF;
  font-size: 14px;
  margin-top: 0px;
}

.contact-card-location p a {
  color: #FFF;
}

/* ========== HOME CONTACT 2 ========== */

.contact-about-left {
  padding-top: 30px;
  padding-right: 100px;
}

.cb-connects {
  margin-top: 30px;
}

.cb-connects ul li {
  margin: 20px 0px;
  color: var(--headline-color);
}

.cb-connects ul li a {
  color: var(--headline-color);
}

.cb-connects ul li.mail::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0e0";
  color: var(--primary-color);
  margin-right: 10px;
}

.cb-connects ul li.address::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f041";
  color: var(--primary-color);
  margin-right: 10px;
}

.cb-connects ul li.tel::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f879";
  color: var(--primary-color);
  margin-right: 5px;
}

.contact-right {
  padding: 50px 30px;
  border-radius: 5px;
  background-color: #FFF;
  -webkit-box-shadow: 0 0 11px 0 rgba(6, 22, 58, .14);
  -moz-box-shadow: 0 0 11px 0 rgba(6, 22, 58, .14);
  box-shadow: 0 0 11px 0 rgba(6, 22, 58, .14);
  position: relative;
  z-index: 2;
}

.contact-right .btn-send {
  text-align: center;
  margin-top: 15px;
}

.contact-right .required {
  text-align: center;
  font-size: 14px;
}

.contact-right .contact-social {
  text-align: center;
  margin-top: 10px;
}

.contact-right .contact-social ul li {
  display: inline-block;
  margin-right: 10px;
  color: #FFF;
  background-color: transparent;
  border: solid 1px var(--primary-color);
  width: 35px;
  height: 35px;
  text-align: center;
  font-size: 17px;
  line-height: 33px;
  border-radius: 50%;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -ms-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.contact-right .contact-social ul li:hover {
  background-color: var(--secundary-color);
}

.contact-right .contact-social ul li:hover .fab {
  color: #FFF;
}

.contact-right .custom-form-alt {
  display: block;
  width: 100%;
  height: calc(2em + 1rem + 2px);
  padding: 8px 0px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--primary-color);
  font-family: var(--base-font);
  font-size: 14px;
  background-color: transparent !important;
  background-clip: padding-box;
  border: none;
  border-bottom: solid 1px #e0e6eb;
  border-radius: 0rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  font-family: 'Open Sans', sans-serif;
  margin: 15px 0px;
}

.contact-right .message-form {
  font-family: var(--base-font);
  font-size: 14px;
  padding: 8px 0px;
  background-color: transparent !important;
  border-radius: 0px !important;
  border: none;
  border-bottom: solid 1px #e0e6eb;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.contact-right .custom-form-alt::-ms-expand {
  background-color: transparent;
  border: 0;
}

.contact-right .custom-form-alt:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #495057;
}

.contact-right .custom-form-alt:focus {
  color: #495057;
  background-color: #d1d9e0;
  border-color: #80bdff;
  outline: 0;
  box-shadow: none;
}

.contact-right .custom-form-alt::-webkit-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.contact-right .custom-form-alt::-moz-placeholder {
  color: #6c757d;
  opacity: 1;
}

.contact-right .custom-form-alt:-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.contact-right .custom-form-alt::-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.contact-right .custom-form-alt::placeholder {
  color: #6c757d;
  opacity: 1;
}

.contact-right .with-errors {
  font-size: 12px;
  font-family: 'Open Sans', sans-serif;
  text-align: left;
  color: red;
  margin-top: 10px;
  margin-left: 15px;
}

.contact-right .alert-success {
  color: #FFF;
  background-color: var(--secundary-color);
  border-color: var(--secundary-color);
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.contact-right .close {
  float: right;
  margin-left: 5px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #FFF;
  text-shadow: none;
  opacity: 1;
}

.map-container {
  margin-top: -150px;
  position: relative;
  z-index: 1;
}

/* ========== CONTACT FOR STYLES ========== */
.contact-left-form p {
  margin-bottom: 25px;
}

.form-layer .col-lg-12,
.form-layer .col-lg-6 {
  margin: 15px 0px;
}

.fl-custom {
  font-family: var(--base-font);
  font-size: 14px;
  color: var(--headline-color);
}

.fc-custom {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 14px;
  font-family: var(--base-font);
  font-weight: 400;
  line-height: 1.5;
  color: var(--paragraph-color);
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fc-custom:focus {
  color: var(--paragraph-color);
  background-color: #fff;
  border-color: var(--secundary-color);
  outline: 0;
  box-shadow: none;
}

.form-layer .tp-btn-primary {
  width: 100%;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

/* ========== CONTACT PAGE 3 ========== */
.contact-card {
  -webkit-box-shadow: 0 0 11px 0 rgba(6, 22, 58, .14);
  -moz-box-shadow: 0 0 11px 0 rgba(6, 22, 58, .14);
  box-shadow: 0 0 11px 0 rgba(6, 22, 58, .14);
}

.contact-card-left {
  font-size: 20px;
  margin-bottom: 30px;
  padding: 40px 40px 0px;
}

.contact-card-left h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.contact-card-left .form-layer .col-lg-12,
.form-layer .col-lg-6 {
  margin: 10px 0px;
}

.fc-custom-alt {
  display: block;
  width: 100%;
  padding: 0.375rem 0rem;
  font-size: 14px;
  font-family: var(--base-font);
  font-weight: 400;
  line-height: 1.5;
  color: var(--paragraph-color);
  background-color: #fff;
  background-clip: padding-box;
  border: none;
  border-bottom: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fc-custom-alt:focus {
  color: var(--paragraph-color);
  background-color: #fff;
  border-color: var(--secundary-color);
  outline: 0;
  box-shadow: none;
}

.contact-card-left .form-layer .tp-btn-primary {
  width: auto;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

.contact-card-right {
  background-image: linear-gradient(#0A178F, #283cf0);
  height: 100%;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.contact-card-right h3 {
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 0px;
}

.inner-contact-card {
  margin: 40px 0px;
}

.inner-contact-card .media-object-card {
  display: flex !important;
}

.inner-contact-card .moc-thumbnail {
  width: 35px;
  flex-shrink: 0 !important;
}

.inner-contact-card .moc-caption {
  margin-left: 1rem;
}

.inner-contact-card .moc-caption p {
  color: #FFFFFF;
  margin-bottom: 0px;
}

.inner-contact-card .moc-caption p a {
  color: #FFFFFF;
}

.inner-contact-card .moc-center {
  align-items: center !important;
}

.inner-contact-card .contact-social li {
  font-size: 20px;
  display: inline-block;
  margin: 0px 15px;
}

.inner-contact-card .contact-social li a {
  color: #FFFFFF;
}

.photo-contact {
  width: 180px;
  position: absolute;
  bottom: -30px;
  right: -30px;
  opacity: 0.4;
}

/* ========== CONTACT PAGE 4 ========== */
.contact-wrapper-left{
  padding: 80px 60px 60px;
}

.contact-wrapper-right{
    background-image: url("../../images/commons/inner-pages/contact-bg.jpg");
    height: 100%; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.contact-wrapper-right:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom right, var(--headline-color), var(--headline-color));
  opacity: 0.4;
}

.contact-bottom-layer{
  position: absolute;
  max-width: 700px;
  bottom: 60px;
}

.contact-bottom-box h5{
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 10px;
}


.contact-bottom-box p{
  font-size: 14px;
  line-height: 20px;
  color: var(--background-color);
}

.contact-bottom-box a{
  color: #FFFFFF;
}

.contact-bottom-box a:hover{
  color: var(--dark-color) !important;
}

/* =====================================
    MEDIA QUERIES.
===================================== */
@media (max-width:1200px) {
  .contact-wrapper-left{
    padding: 80px 40px 60px;
  }

  .contact-bottom-box{
    margin: 20px 0px;
    padding: 0px 15px;
  }
}

@media (max-width:991px) {
  .tp-contact1-parallax {
    background-image: url("../../../images/commons/home-niches/coportate/corporate-2.html");
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  }

  .cp-content-side{
    display: none;
  }

  .map-container {
    margin-top: 5rem;
    position: relative;
    z-index: 1;
  }

  .contact-about-left {
    padding-top: 0px;
  }

  .contact-card-right {
    padding: 30px;
  }

  .contact-wrapper-left{
    padding: 60px 40px 20px;
  }

  .contact-wrapper-right .container{
    padding: 0px;
  }

  .contact-header {
    padding: 12px;
  }

}

@media (max-width:767px) {
  .contact-about-left {
    padding-right: 0px;
  }
 
  .contact-wrapper-left{
      padding: 40px 30px 0px;
  }

  .contact-bottom-layer{
    position: relative;
    max-width: 100%;
    bottom: auto;
    padding: 50px 0px;
  }

  .contact-bottom-box{
    margin: 15px 0px;
    padding: 0px 15px;
  }
}

@media (max-width:576px) {
  .inner-contact-card .media-object-card {
    display: block !important;
  }

  .inner-contact-card .moc-caption {
    margin: 1rem 0 0 0;
  }
}

@media (max-width:480px) {
  .contact-header {
    background-color: var(--primary-color);
    width: 100%;
    height: auto;
  }
}