<template>
  <modal name="ContactUs" :clickToClose="false">
    <div class="tw-text-base-primary">
      <div class="modal-header tw-flex tw-w-full tw-justify-between tw-mb-[15px] lg:tw-mb-[30px]">
        <div class="t18 tw-mr-[120px] md:tw-text-[20px]">{{ $t( "Contact Us") }}</div>
        <button class="close tw-transition tw-btn-md" @click="$modal.hide('ContactUs')"></button>
      </div>
      <div class="modal-content tw-body-5 md:tw-mr-[200px] md:tw-body-4">
        <div class="tw-mb-[15px]">{{ ContactUs.Phone }}</div>
        <div>{{ ContactUs.Mail }}</div>
      </div>
    </div>
  </modal>
</template>
<script>
export default {
  name: "ContactUs",

  data() {
    return {};
  },

  props: {
    ContactUs: {
      type: Object,
    },
  },
};
</script>
<style lang="scss" scoped>
.close {
  position: absolute;
  right: 25px;
  top: 25px;
  background-image: url("~/assets/svg/close.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 14px;
  height: 14px;

  @media (min-width: 1366px) {
    position: relative;
    right: initial;
    top: initial;
  }
}

:deep() {
  .v--modal {
    background-color: #fefefe !important;
    text-align: left;
    border-radius: 16px;
    box-shadow: 0 20px 60px -2px rgb(27 33 58 / 40%);
    padding: 20px;
    max-width: max-content;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto;
    height: auto !important;
    vertical-align: middle;
  }

  .v--modal-overlay {
    position: fixed;
    box-sizing: border-box;
    left: 0;
    top: 0;
    width: max-content;
    height: auto;
    background: rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 1;
  }

  .v--modal-top-right {
    display: block;
    position: fixed;
    right: 0;
    top: 0;
  }

  .v--modal-background-click {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .v--modal-box {
    margin-left: 60px;
    margin-right: 60px;

    @media (min-width: 768px) {
      margin-left: 67px;
      margin-right: 67px;
    }
  }
}
</style>
