/*
Theme Name: ingleyropermoore
Theme URI: https://dev.snworks.com/ingleyropermoore/wp-content/themes/ingleyropermoore
Author: Synergy Web Design and Marketing - Lora Champion
Author URI: https://snwebdm.com/
Description: This theme works best with Elementor, although you can also use blocks with it (remove bottom section from functions.php to enable block editor). Recommended plugins: Elementor, Yoast, Contact7, woocommerce, ultimate member
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, block-styles, wide-blocks
Version: 1:012422
Requires at least: 5.0
Tested up to: 5.8.3
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ingleyropermoore
This theme, like WordPress, is licensed under the GPL.
Tested up to: 5.8
Requires PHP: 7.0
*/

html,
body {
  overflow-x: hidden;
  font-family: "Montserrat", serif !important;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Montserrat", serif !important;
  font-weight: 100 to 900;
}

p {
  font-family: "Montserrat", serif !important;
}

h3.resource-header {
  font-size: 26px;
  font-weight: bold;
}

.resource-text {
  font-size: 18px;
}

.resource-links {
  color: #21336a;
}

.resource-links:hover {
  color: #2c9144;
}

.site-header {
  background: #2e66cf;
  padding-top: 12px;
  padding-bottom: 12px;
  font-family: "Montserrat", serif !important;
  color: #fff;
  z-index: 2;
  position: relative;
}

.responsive-logo {
  width: 500px;
  height: auto;
}

a.phone {
  font-size: 28px;
  font-weight: 500;
  color: #21336a;
  text-decoration: none;
}

.phone svg path {
  fill: #21336a; /* Default SVG color */
}

.phone:hover {
  color: #2c9144; /* Text color on hover */
}

.phone:hover svg path {
  fill: #2c9144; /* SVG color on hover */
}
/***********NEW HEADER***********/

.headerFirst {
  padding-top: 33px;
  padding-bottom: 33px;
}
.mainHeader {
  font-family: "Encode Sans", sans-serif;
  color: #fff;
  z-index: 2;
  position: relative;
  background-color: #fff;
}

.headerPhone {
  font-size: 26px;
  font-weight: 700;
  color: #21336a;
  text-align: center;
}

/******NAVIGATION MENU CSS*******/

.nav-bar {
  background-color: #21336a !important;
  width: 100%;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  position: relative;
  text-decoration: none;
  font-weight: 500;
}

/******HOMEPAGE CSS*******/
.btn-cta {
  background-color: #2c9144;
  font-family: "Montserrat", Sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 14px 36px;
  color: white;
  text-decoration: none; /* Remove underline from link */
  display: inline-block; /* Allow the link to behave like a block element */
  border-radius: 4px;
  transition: transform 0.3s ease-in-out; /* Smooth transition for transform */
}

.btn-cta:hover,
.btn-cta:focus {
  background-color: #1a632c; /* Change background color */
  color: white; /* Change text color */
  transform: scale(1.1); /* Scale the button to 1.1 times its size */
  outline: none; /* Remove focus outline */
}

/***********BLOG CSS**********/

.post-title {
    position: absolute;
    background-color: rgba(255, 255, 255, .9);
    bottom: 0;
    padding: 10px 12px 20px 12px;
    border-radius: 4px;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -65px);
}

 .post-title a {
  color: #1a3674;
  font-size: 21px;
  font-weight: 600;
  text-transform: unset;
  text-transform: capitalize;
}

.post img {
  width: 100% !important;
  height: auto !important;
}

/******SERVICES FOOTER CSS*******/

.service-footer {
  list-style: none;
  text-decoration: none !important;
  font-weight: 550;
  color: #fff;
}

.service-list {
  list-style: none;
  text-decoration: none !important;
  font-weight: 550;
  color: #fff;
}

a.service-items {
  list-style: none;
  text-decoration: none !important;
  font-weight: 550;
  color: #fff;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-current-menu-item
  > a.mega-menu-link,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-current-menu-ancestor
  > a.mega-menu-link,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-current-page-ancestor
  > a.mega-menu-link {
  background: rgba(15, 21, 159, 0);
  color: white;
  font-weight: 500;
  text-decoration: none;
  border-color: #fff;
}

/* mega menu over-ride */
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link {
  line-height: 39px !important;
  font-weight: 500;
}

a.mega-menu-link:hover {
  color: white;
  font-weight: 500;
}

/* mega menu styling */
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  color: white;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link {
  position: relative;
  text-decoration: none;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link::before,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform: scaleX(0);
  transform-origin: top left;
  transition: transform 0.3s ease;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover::before,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover::before {
  transform: scaleX(1);
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  position: relative;
  text-decoration: none;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  li.mega-menu-item-has-children
  > a.mega-menu-link
  > span.mega-indicator {
  margin: 0 0 0 0;
}

/* CONTACT US PAGE FORM CSS */

#form-text {
  font-weight: 500;
  font-size: 18px;
  color: #ffffff;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
  padding: 5px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  width: 100%;
  color: #000000;
}

/*FAX NUMBER FIELD*/

input.wpcf7-form-control.wpcf7-text {
  width: 100%;
  padding: 4px;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
  background: #e3ebff !important;
  color: #21336a;
  font-family: "Montserrat", serif !important;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px;
  border: none !important;
  /* border-radius: 7px !important; */
  padding: 10px 20px 10px 20px;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #fff;
  color: white;
  font-size: 20px;
  font-family: "Montserrat", serif !important;
}

/*this is for any fields that overflow the page in 992-768 breakpoints*/
textarea.wpcf7-form-control.wpcf7-textarea {
  width: 100% !important;
  margin: 0 auto;
}

/**********firefox - drop down font css**********/
/* Dropdown menu styling */
select.wpcf7-form-control.wpcf7-select {
  font-family: "Montserrat", sans-serif !important; /* Ensure Montserrat is applied */
  font-size: 18px; /* Match the font size of the other inputs */
  font-weight: 500; /* Match the font weight */
  color: #21336a; /* Ensure the text color is consistent */
  padding: 5px; /* Match padding with other inputs */
  border: 1px solid rgba(0, 0, 0, 0.3); /* Match border style */
  width: 100%; /* Ensure full-width like other inputs */
  background-color: #ffffff; /* Optional: Set a consistent background color */
  appearance: none; /* Removes default browser styling */
  -webkit-appearance: none; /* For WebKit browsers */
  -moz-appearance: none; /* For Firefox */

  /* Custom arrow styling */
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 6"%3E%3Cpath d="M0 0l5 6 5-6H0z" fill="%2321336a"%3E%3C/path%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

/* Dropdown options styling */
select.wpcf7-form-control.wpcf7-select option {
  font-family: "Montserrat", sans-serif !important; /* Ensure Montserrat for options */
  font-size: 18px; /* Match the font size */
  color: #21336a; /* Consistent text color */
}

/********Style for the button popup form********/
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 600px;
}

.popup-content h2 {
  font-size: 24px;
}

.closePopupBtn {
  font-size: 50px;
  color: #aaa;
  position: relative;
  float: right;
  cursor: pointer;
  margin-right: 0;
  margin-top: -27px;
}

.closePopupBtn:hover,
.closePopupBtn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Schedule and button popup forms - CF7" */
#wpcf7-f217-o2 label,
#wpcf7-f217-o2 input,
#wpcf7-f82-p13-o1 label,
#wpcf7-f82-p13-o1 input {
  width: 100%;
}

#wpcf7-f217-o2 input,
#wpcf7-f82-p13-o1 input {
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.wpcf7-submit.has-spinner {
  margin-top: 0px;
}

#wpcf7-f82-p13-o1 p {
  margin-bottom: 23px;
}

::placeholder {
  color: #21336a !important;
  opacity: 1;
  /* Firefox */
}

::-ms-input-placeholder {
  /* Edge 12 -18 */
  color: #21336a !important;
}

/* Chase's messenger popup form */
.message {
  overflow: hidden;
  display: flex;
  position: fixed;
  bottom: 90px;
  right: 12px;
  justify-content: center;
  width: 25px;
  height: 25px;
  background-color: #2c9144;
  padding: 30px;
  border-radius: 100%;
  align-items: center;
  cursor: pointer;
  z-index: 99999;
  transition: all 0.3s, outline 0s;
}

.message:hover {
  transform: scale(1.1);
}

.message:hover::before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: scale(2);
  border-radius: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0% 40%,
    rgba(255, 255, 255, 0.8) 48% 52%,
    transparent 60%
  );
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: glow 1s infinite cubic-bezier(0.42, 0, 0.58, 1);
}

.message p {
  line-height: 1;
}

@keyframes glow {
  0% {
    transform: scale(1.3);
    top: -40px;
    left: -40px;
  }

  50% {
    transform: scale(2);
  }

  100% {
    transform: scale(1.3);
    top: 40px;
    left: 40px;
  }
}

.message i {
  font-size: 32px;
  color: white;
}

.message p {
  margin: 0px;
}

.message-form {
  width: 80vw;
  z-index: 99999;
  max-width: 320px;
  display: none;
  flex-wrap: wrap;
  position: fixed;
  bottom: 30px;
  right: 12px;
  color: white;
  font-family: sans-serif;
  animation: slide-up 0.5s;
}

@keyframes slide-up {
  0% {
    clip-path: inset(100% -10% 0% -10% round 10px);
  }

  100% {
    clip-path: inset(0% -10% -10% -10% round 10px);
  }
}

.message-container {
  background-color: #2c9144;
  scroll-behavior: smooth;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  border-radius: 10px;
}

.message-form::after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.3);
  /* transform: scale(1.03); */
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: -1;
  border-radius: 10px;
}

.message-form-header h3 {
  margin: 0px;
  font-size: inherit;
}

.message-form-header {
  flex: 100%;
  display: flex;
  padding: 20px 30px 0px 30px;
  justify-content: space-between;
  width: 300px;
  align-items: center;
  font-weight: 500;
  font-size: 18px;
}

.message-form-sub-header {
  flex: 100%;
  padding: 0px 30px;
}

.message-form-inputs-bg {
  position: relative;
  background-color: #f0f0f0;
  padding: 20px 20px;
  flex: 100%;
}

.message-form-inputs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  line-height: normal;
}

.message-form-inputs input[type="text"],
.message-form-inputs input[type="tel"],
.message-form-inputs input[type="email"] {
  font-size: 16px;
  line-height: 1;
  flex: 100%;
  padding: 10px;
  color: black !important;
  background-color: #ffffff !important;
  border: none;
  outline: none;
  transition-duration: 0.3s;
  transition-timing-function: ease-in;
  max-width: 275px;
}

.message-form-inputs input[type="radio"],
.message-form-inputs input[type="radio"] + label {
  cursor: pointer;
}

.message-form-inputs > input:nth-last-of-type(1) {
  margin-bottom: 20px;
}

.message-form-inputs input:not([type="radio"]):focus {
  flex: 100%;
  outline: none;
  box-shadow: inset 0px 0px 0px 3px #1288d0;
  background-color: #d3d3d3 !important;
}

.message-form-inputs label,
.message-form-inputs span {
  color: black;
  font-weight: 450;
}

.message-form-inputs button {
  margin-top: 10px;
}

.chat-bg {
  border-top: solid 1px lightgrey;
  background-color: white;
  flex: 100%;
  display: flex;
  justify-content: center;
}

.message-form .chat-bg p {
  margin: 0px;
  width: 100%;
}

.message-form .chat-bg .wpcf7-spinner {
  display: none;
}

.message-form .chat-bg .wpcf7-submit {
  color: black !important;
  background-color: white !important;
  border: none !important;
  padding: 10px 30px !important;
  width: 100% !important;
  cursor: pointer !important;
}

.message-form-sub-header p {
  font-size: inherit;
  line-height: inherit;
  color: white;
}

.fa-times {
  cursor: pointer;
  color: white;
}

.message-form .message-form-success {
  display: none;
  padding: 20px 30px;
  background-color: #2c9144;
  color: white;
  border-radius: 10px;
}

.message-form .message-form-success p {
  color: white;
  font-size: inherit;
  line-height: inherit;
}

.spinner-container {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 100px;
  position: relative;
  top: 0px;
  left: 0px;
  justify-content: center;
  align-items: center;
}

.spinner {
  display: none;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border-radius: 100%;
  box-shadow: 0px 0px 0px 10px #1288d0;
  clip-path: polygon(
    -20% -20%,
    120% -20%,
    120% 20%,
    -20% 20%,
    -20% 80%,
    120% 80%,
    120% 120%,
    -20% 120%
  );
  z-index: 1;
  align-items: center;
  animation: spin 1.3s infinite linear;
}

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

  100% {
    transform: rotate(360deg);
  }
}

.message-form-inputs .wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-radio {
  display: block !important;
}

.message-form-inputs span.wpcf7-list-item {
  width: 100%;
  margin: 0px;
}

.message-form-inputs span.wpcf7-list-item input {
  margin: auto 5px;
}

.message-form-inputs span.wpcf7-list-item > label {
  display: flex;
  margin: 0px;
}

@media (min-width: 992px) {
  .message-form-sub-header p,
  .form-group p,
  .popup-messenger.message-form .text-lg-end {
    text-align: left !important;
  }
}

@media (max-width: 991px) {
  .message-form-sub-header p,
  .form-group p,
  .popup-messenger.message-form .text-lg-end {
    text-align: left !important;
  }
}

/* ******************************* @media ******************************* */

@media (max-width: 768px) {
  .responsive-logo {
    width: 386px;
    padding-bottom: 15px;
  }

  textarea.wpcf7-form-control.wpcf7-textarea {
    width: 90% !important;
    margin: 0 auto;
  }
}

@media (max-width: 414px) {
  .responsive-logo {
    width: 340px; /* Fine-tune further for this specific breakpoint if necessary */
  }

  textarea.wpcf7-form-control.wpcf7-textarea {
    width: 90% !important;
    margin: 0 auto;
  }
}
