@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

#comp-m6qm9hsx_r_comp-m6qlsej77 .comp-m6qm9hsx_r_comp-m6qlsej77-styleId__root:hover .StylableButton2545352419__icon {
  width: 12px;
  height: 12px;
  fill: #129DD8;
}

/* START STYLABLE DIRECTIVE RULES */

#comp-m6qm9hsx_r_comp-m6qlsej77 .comp-m6qm9hsx_r_comp-m6qlsej77-styleId__root {
  -st-extends: StylableButton;
  transition: all 0.2s ease, visibility 0s;
  padding-right: 0px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0);
  border: 2px solid #FFFFFF
}

#comp-m6qm9hsx_r_comp-m6qlsej77 .comp-m6qm9hsx_r_comp-m6qlsej77-styleId__root:hover {
  background: #FFFFFF;
}

#comp-m6qm9hsx_r_comp-m6qlsej77 .comp-m6qm9hsx_r_comp-m6qlsej77-styleId__root:hover .StylableButton2545352419__label {
  color: #213983;
}

#comp-m6qm9hsx_r_comp-m6qlsej77 .comp-m6qm9hsx_r_comp-m6qlsej77-styleId__root:disabled {
  background: #F0F0F0
}

#comp-m6qm9hsx_r_comp-m6qlsej77 .comp-m6qm9hsx_r_comp-m6qlsej77-styleId__root:disabled .StylableButton2545352419__label {
  color: #213983
}

#comp-m6qm9hsx_r_comp-m6qlsej77 .comp-m6qm9hsx_r_comp-m6qlsej77-styleId__root:disabled .StylableButton2545352419__icon {
  fill: #8F8F8F
}

#comp-m6qm9hsx_r_comp-m6qlsej77 .comp-m6qm9hsx_r_comp-m6qlsej77-styleId__root .StylableButton2545352419__container {
  transition: inherit;
  flex-direction: row;
  justify-content: center;
  align-items: center
}

#comp-m6qm9hsx_r_comp-m6qlsej77 .comp-m6qm9hsx_r_comp-m6qlsej77-styleId__root .StylableButton2545352419__label {
  transition: inherit;
  margin: 0px 0px 0px 4px;
  text-transform: uppercase;
  letter-spacing: 0em;
  display: initial;
  color: #FFFFFF;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  font-family: wfont_1797ab_6eda7faad16749cca8d1b177a29d7d87, wf_6eda7faad16749cca8d1b177a, orig_montserrat_semibold;
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  margin-right: 5px
}

#comp-m6qm9hsx_r_comp-m6qlsej77 .comp-m6qm9hsx_r_comp-m6qlsej77-styleId__root .StylableButton2545352419__icon {
  transition: inherit;
  margin: 0px 4px 0px 0px;
  display: initial;
  transform: rotate(90deg) !important;
  width: 12px;
  height: 12px;
  margin-right: 16px;
  fill: #FFFFFF;
}

#comp-m6qm9hsx_r_comp-m6qlsej77 .comp-m6qm9hsx_r_comp-m6qlsej77-styleId__root:hover .StylableButton2545352419__icon {
  fill: rgb(18, 157, 216) !important;
}

@media screen and (min-width: 320px) and (max-width: 1000px) {
  #comp-m6qm9hsx_r_comp-m6qlsej77 { /* START STYLABLE DIRECTIVE RULES */
  }

  /* END STYLABLE DIRECTIVE RULES */
}

@media screen and (min-width: 320px) and (max-width: 750px) {

  #comp-m6qm9hsx_r_comp-m6qlsej77 .comp-m6qm9hsx_r_comp-m6qlsej77-styleId__root {
    border: 2px solid #213983;
  }

  /* END STYLABLE DIRECTIVE RULES */
  /* START STYLABLE DIRECTIVE RULES */
  #comp-m6qm9hsx_r_comp-m6qlsej77 .comp-m6qm9hsx_r_comp-m6qlsej77-styleId__root:hover {
    border: 2px solid #213983;
  }

  #comp-m6qm9hsx_r_comp-m6qlsej77 .comp-m6qm9hsx_r_comp-m6qlsej77-styleId__root .StylableButton2545352419__label {
    font-family: 'Montserrat', sans-serif;
    font-size: calc(14 * var(--theme-spx-ratio));
    font-weight: normal;
    font-family: barlow-medium, barlow, sans-serif;
    font-size: 13px;
    font-weight: 700;
  }
}


.emergency-modal-close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    line-height: 1;
    z-index: 100; /* Ensure it's above other content */
  }
  .emergency-modal-close-button:hover {
    color: #000;
  }

  .emergency-modal {
    display: none;
    position: fixed !important;
    top: 25%;
    left: 25%;
    width: 50% !important;
    height: auto !important;
    min-height: 400px;

    /* Use flexbox to center the modal content */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* This styles the white content box of the modal */
.emergency-modal-content {
  position: relative;
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  width: 90%; /* Responsive width */
  max-width: 700px; /* Max width for larger screens */
  text-align: left;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease-out;
}

/* Add the keyframes animation for the fade-in effect */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

  /* Styles for the new SVG close button */
  .emergency-modal-close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    line-height: 0; /* Remove extra space */
  }

  .emergency-modal-close-button svg path {
    transition: fill 0.2s ease;
  }

  .emergency-modal-close-button:hover svg path {
    fill: rgb(18, 157, 216); /* Action color on hover */
  }

  /* Styling for the text elements inside the modal */
  .emergency-modal-content h2 {
    color: rgb(33, 57, 131); /* --color_14 */
    font-size: 28px !important;
    margin-bottom: 24px;
  }

  .emergency-modal-content h3 {
    color: rgb(33, 57, 131); /* --color_14 */
    font-size: 18px !important;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .emergency-modal-content h3 .color_22 {
      color: rgb(213, 56, 56); /* --color_22 for the phone number */
      font-weight: bold;
  }

  .emergency-modal-content p {
    color: rgb(33, 57, 131); /* --color_14 */
    font-size: 16px !important;
    line-height: 1.6;
    margin-bottom: 8px !important;
  }

  /* Styles for the "SEND A MESSAGE" button at the bottom */
  #send-message-div a.wixui-button {
    border: 2px solid #213983;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0);;
    transition: background-color 0.2s ease;
    display: inline-block; /* Proper button alignment */
    margin-top: 24px;
    color: #213983;
    width: 184.375px !important;
    height: 48px;
  }

  #send-message-div a.wixui-button:hover {
    background-color: #213983 !important;
    color: white !important;
  }

  /* Hide the default triangle icon on the button */


  #send-message-div svg.StylableButton2545352419__icon:hover {
    fill: rgb(18, 157, 216) !important;
  }

  #red-section {
    background-color: rgba(213, 56, 56, 0.1) !important;
    padding: 25px;
    text-align: center;
  }

  .StylableButton2545352419__root {
    font-weight: 500 !important;
  }
