.area-map,
.area-background-image {
  height: 800px;
}
.area-background-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.area-map-wrapper {
  position: relative;
}
.area-search {
  position: absolute;
  top: 120px;
  width: 100%;
}
.order-1 {
  order: 1;
}
.order-2 {
  order: 2;
}

@media (min-width: 992px) {
  .order-md-2 {
    order: 2 !important;
  }
  .order-md-1 {
    order: 1 !important;
  }
}
.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}
@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-block {
    display: block !important;
  }
}
@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }
}
.area-form-title,
.area-h2,
.area-h3,
.agent-title {
  margin: 0px;
  margin-bottom: 0.5rem;
  font-weight: 400;
  line-height: 1.2;
  text-transform: unset;
  letter-spacing: unset;
}
.area-h2 {
  font-size: 50px;
}
.area-form-title,
.agent-title {
  font-size: 30px;
}
.area-h3 {
  font-size: 24px;
}
.area-form-wrapper {
  border: 1px solid #5d5d5f;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 45px 50px 50px 50px;
  max-width: 700px;
  margin-left: auto;
}
.area-wrapper-search {
  background-color: #ffffff;
  border: 1px solid #adadad;
  padding: 1px;
  display: flex;
  justify-content: space-between;
  padding-left: 15px;
  margin-bottom: 30px;
  margin-top: 12px;
}
.area-select {
  padding-top: 7px;
  padding-bottom: 7px;
  margin-right: 15px;
  height: 100%;
}
.area-search-selector {
  display: flex;
}
.area-dropdown {
  color: #49494b;
  font-size: 18px;
  border: none;
  outline: none !important;
  height: 100%;
  cursor: pointer;
  background: white;
}
.area-input {
  padding-top: 12px;
  padding-bottom: 12px;
  width: 100%;
}
.area-opening {
  display: flex;
}
.area-opening h3 {
  margin: 0;
  text-decoration: underline;
}
.form-control-dop {
  color: #49494b;
  border: none;
  border-left: 1px solid #d0d0d0;
  font-size: 18px;
  outline: none !important;
  width: 100%;
  height: 100%;
  padding-left: 20px;
  padding-right: 15px;
  cursor: pointer;
}
.area-phone,
.area-modal-buttons {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.area-form-wrapper p {
  text-align: left;
  margin-bottom: 6px;
}
.form-control-dop::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #49494b;
}
.form-control-dop::-moz-placeholder {
  /* Firefox 19+ */
  color: #49494b;
}
.form-control-dop:-ms-input-placeholder {
  /* IE 10+ */
  color: #49494b;
}
.form-control-dop:-moz-placeholder {
  /* Firefox 18- */
  color: #49494b;
}
.btn {
  border: none;
  outline: none !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-search {
  min-width: 49px;
  background-color: var(--secondary);
}
.btn-transparent {
  font-size: 20px;
  padding: 19px;
  border: 2px solid #959595;
  border-radius: 10px;
  background: transparent;
}
.row-min {
  margin-left: -5px;
  margin-right: -5px;
}
.col-min {
  padding-left: 5px;
  padding-right: 5px;
}
.btn-area {
  font-size: 18px;
  background-color: var(--secondary);
  text-transform: uppercase;
  padding: 18px 25px;
  border-radius: 10px;
  color: white;
}
.btn-area:hover {
  background-color: var(--secondary-dark);
  color: white;
}
.btn-300 {
  width: 300px;
  max-width: 100%;
}
.w-100 {
  width: 100%;
}
.area-wrapper-search .fa-search {
  color: #ffffff;
  font-size: 20px;
}
.fa-phone {
  margin-left: 10px;
  margin-right: 10px;
  font-size: 20px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mb-15 {
  margin-bottom: 15px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-30 {
  margin-bottom: 30px;
}
.text-decoration-none {
  text-decoration: none !important;
}
.text-underline {
  text-decoration: underline;
}
.text-uppercase {
  text-transform: uppercase;
}
.fa-clock {
  font-size: 30px;
  color: #49494b;
  margin-right: 10px;
}
.area-content-wrapper {
  padding-top: 100px;
  padding-bottom: 30px;
}
.line-block {
  margin-bottom: 75px;
}
.area-content-left {
  padding-right: 50px;
}
.area-content-left p {
  text-align: left;
  max-width: unset;
}
.h1 {
  margin-bottom: 50px;
}
.img-fluid {
  max-width: 100%;
  height: auto;
}
.inner-team-block {
  display: flex;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #d0d0d0;
}
.team-name {
  width: 60%;
  padding-left: 30px;
}
.team-name h3 {
  margin-bottom: 8px;
  margin-top: 0px;
}
.team-name p {
  font-size: 20px;
  text-align: left;
  line-height: 1.25;
  margin-bottom: 0px;
}
.area-content-right .area-form-title,
.agent-title {
  margin-bottom: 30px;
}
.text-center {
  text-align: center;
}
.team-image img {
  width: 175px;
  height: 125px;
  object-fit: cover;
}

@media (max-width: 1440px) {
  .area-form-wrapper {
    padding: 30px 35px 35px 35px;
  }
  .btn-transparent {
    font-size: 17px;
  }
}
@media (max-width: 1200px) {
  .wrapper-team-blocks .h3 {
    font-size: 22px;
  }
  .wrapper-team-blocks .text-min {
    font-size: 14px;
  }
  .wrapper-team-blocks .team-name {
    padding-left: 15px;
  }
  .area-content-left {
    padding-right: 0px;
  }
}
@media (max-width: 992px) {
  .area-form-wrapper {
    width: 100%;
    max-width: none;
    border: none;
    padding: 50px 0px 35px 0px;
  }
  .area-form-title,
  .agent-title {
    font-size: 26px;
  }
  .form-control-dop {
    font-size: 15px;
  }
  .area-dropdown {
    font-size: 15px;
  }
  .area-form-wrapper p {
    text-align: left;
    margin-bottom: 12px;
    font-size: 16px;
  }
  .area-map,
  .area-background-image {
    height: 400px;
  }
  .area-search {
    position: relative;
    top: 0px;
  }
  .wrapper-team-blocks {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
  }
  .team-block {
    flex: 0 0 auto;
    width: 50%;
    padding-left: 15px;
    padding-right: 15px;
  }
  .area-content-wrapper {
    padding-left: 5px;
    padding-right: 5px;
  }
  .form .area-form-title,
  .agent-title {
    margin-bottom: 30px;
  }
  .area-wrapper-search {
    margin-bottom: 20px;
  }
  .btn-transparent {
    margin-bottom: 15px;
  }
  .mb-mob-15 {
    margin-bottom: 15px;
  }
  .mb-mob-25 {
    margin-bottom: 25px;
  }
  .area-content-wrapper {
    padding-top: 40px;
  }
  .team-name {
    padding-left: 15px;
  }
  .wrapper-team-blocks {
    margin-bottom: 50px;
  }
  .h1 {
    margin-bottom: 40px;
  }
  .line-block {
    margin-bottom: 45px;
  }
  .form .area-form-title,
  .agent-title {
    font-size: 26px;
  }
  .team-name h3 {
    font-size: 20px;
  }
  .team-name p {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .h1 {
    font-size: 32px;
  }
  .area-phone,
  .area-modal-buttons {
    display: flex;
    flex-direction: column;
  }
  .area-map,
  .area-background-image {
    height: 200px;
  }
}
@media (max-width: 640px) {
  .team-block {
    width: 100% !important;
  }
  .team-block:last-child .inner-team-block {
    border-bottom: none;
  }
  .form .area-form-title,
  .agent-title {
    margin-bottom: 12px;
  }
  .select {
    font-size: 14px;
  }
  .area-wrapper-search {
    padding-left: 5px;
  }
  .area-select {
    margin-right: 10px;
    width: auto;
  }
  .area-form-wrapper {
    padding-top: 25px;
  }
  .col-6 {
    width: 100%;
  }
  .btn-transparent {
    margin-bottom: 20px;
    font-size: 20px;
  }
  .mb-mob-15 {
    margin-bottom: 0px;
  }
  .text {
    font-size: 18px;
  }
  .btn-area {
    margin-bottom: 15px;
  }
  .area-content-wrapper {
    padding-top: 10px;
  }
  /*  .team-image,
  .team-name {
    width: auto;
  }*/
  .h1 {
    font-size: 26px;
    margin-bottom: 25px;
  }
  .wrapper-team-blocks {
    margin-bottom: 25px;
  }
}
