/*
Theme Name: rtp
Theme URI: https://www.responsivetechnologypartners.com/wp-content/themes/rtp
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: RTP
This theme, like WordPress, is licensed under the GPL.
Tested up to: 6.8
Requires PHP: 8.0
*/

/* Color Template using CSS Variables */

:root {
  /* Primary Colors */
  --color-navy: #00263e;
  --color-midnightblue: #003865;
  --color-bluegray: #a7bcd6;
  --color-techsilver: #dbe2e9;

  /* Secondary Colors */
  --color-red: #9b2242;
  --color-orange: #e04f39;
  --color-gold: #d6a461;
  --color-green: #00968f;

  --main-color: #00263e;

  /* Fonts 
      font-family: "Montserrat", Sans-serif;
      Montserrat 500
    Bebas Neue
    */
}


.imagecolorize, .colorizeimage, .topbgsvg svg, .topbgsvg path {
    fill: var(--main-color) !important;
}



#hbspt-form-1e627c6e-ae38-4ab4-936e-f7e2a6c3671d ::placeholder {
  color: #003865 !important; /* Change this to any color you want */
  opacity: 1; /* Ensures the color is not faded */
}

/* Vendor-specific versions for broader browser support */
input::-webkit-input-placeholder {
  color: #003865;
}
input:-moz-placeholder {
  color: #003865;
}
input::-moz-placeholder {
  color: #003865;
}
input:-ms-input-placeholder {
  color: #003865;
}





.wpforms-field.wpforms-one-half {
  width: 48%;
  float: left;
  margin-right: 4%;
  box-sizing: border-box;
}

.wpforms-field.wpforms-one-half.wpforms-last {
  margin-right: 0;
  clear: none;
}

.wpforms-field {
  box-sizing: border-box;
}

/* Force WPForms two-column layout */
.wpforms-field.wpforms-one-half {
  float: left;
  width: 48%;
  margin-right: 4%;
  box-sizing: border-box;
}

.wpforms-field.wpforms-one-half.wpforms-last {
  margin-right: 0;
  clear: none;
}

.wpforms-form .wpforms-field {
  box-sizing: border-box;
}

/* Ensure the next row starts on a new line */
.wpforms-clear {
  clear: both;
}





.path-fill,
.topbgsvg svg,
.topbgsvg rect {
  fill: var(--main-color) !important;
}

/* RTP - Our Story button */
.rtp-popup.trigger-popup-1758,
.popup-trigger {
  background-color: #00263e !important;
  color: #fff !important;
  box-shadow: none;
  transition: all 300ms linear;
  border: 1px solid #00263e !important;
  border-radius: 5px;
  padding: 5px 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.rtp-popup.trigger-popup-1758:hover,
.popup-trigger:hover {
  background-color: #fff !important;
  color: #00263e !important;
  border: 1px solid #00263e !important;
}

/* 
 * custom popup common 
 * Use class .trigger-popup-### where "###" is the post id number
*/

#textwhite .hs-form label,
#textwhite .hs-form input,
#textwhite .hs-form textarea {
  color: #fff !important;
  width: 100% !important;
}

#textwhite .hs-form select,
#textwhite ul {
  list-style: none !important;
  color: #fff !important;
  position: relative;
  padding-left: 0 !important;
  z-index: 99999;
}

#textwhite .hs-form ul input,
#textwhite .hs-form ul label {
  width: auto !important;
  padding-left: 0 !important;
}

#textwhite .hs-form input.hs-button {
    width: auto !important;
    margin-top: 8px !important;
    color: #000 !important;
    position: relative;
    z-index: 99;
}

#textwhite .hs-form {
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
  max-height: 300px !important;
}

#form-placeholder {
  min-height: 0 !important;
  height: auto !important;
  overflow: visible;
}

#custom-form-id.hs-form-iframe {
  /* height: auto !important;
  min-height: 0 !important;
  max-height: 100% !important;
  */
}

.hs-form-radio {
}

#form-placeholder {
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
}


.widget_text.blog-network-assessment-form {
    border: 1px solid #cccccc;
    background: #eeeeee;
    padding: 12px;
    margin: 0 0 20px;
}

.blog-form-title {
    color: #00263e;
    font-weight: 700;
    text-align: center;
    font-size: 26px;
}

.rtp-popup {
  cursor: pointer;
}

.popup-close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  border-radius: 50px;
  font-size: 22px;
  font-weight: 900;
  padding: 0px 10px 3px 10px;
  border: 2px solid white;
  color: #fff;
  background: black;
  cursor: pointer;
}

/* popup styling for  hubspot forms */
.popup-close-btn {
  z-index: 9;
  position: ;
  top: -7px;
  right: -8px;
  border-radius: 50px;
  font-size: 22px;
  font-weight: 900;
  padding: 0px 10px 3px 10px;
  border: 2px solid white;
  color: #fff;
  background: black;
  cursor: pointer;
}

.popup-overlay {
  overflow-y: auto !important;
  margin-top: auto !important;
}

.popup-content {
  overflow-x: ; /* hide horizontal scroll */
  overflow-y: ; /* Enable vertical scroll if needed */
  background: #fff;
  padding: 20px;
  max-width: 683px;
  width: 100%;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  margin: auto;
}
/* end popup for hubspot styling */

/* custom popup locations 1736 */
#popup_1736 .accordion-button:not(.collapsed) {
  color: var(--bs-accordion-active-color);
  background-color: var(--color-techsilver);
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0
    var(--bs-accordion-border-color);
}

#popup_1736 p #accordionLocations,
#accordionLocations {
  text-align: left !important;
  font-weight: normal;
  font-weight: 500;
}

#popup_1736 p {
  color: #00263e;
  font-family: "Montserrat", Sans-serif;
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 0;
}

#popup_1736 .popup-content {
  background: #fff;
  padding: 20px;
  max-width: 683px;
  width: 100%;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  margin: 20px;
}

#popup_2146 .accordion-body,
#popup_1736 .accordion-body {
  padding: 5px 5px !important;
  font-size: 18px;
}

#popup_1736 .accordion-body p {
  margin-bottom: 1em;
}

#training a:hover {
  text-decoration: underline;
  transition-timing-function: ease-in-out;
  transition: all 0.5s ease;
  transition-delay: 2s;
}

.schedule {
  font-size: 24px;
}

.schedule a {
  color: #00263e !important;
  text-decoration: none;
  font-weight: 600;
}





#popup_2146 .accordion-item:first-of-type > .accordion-header .accordion-button,
#popup_2146 h2.accordion-header button.accordion-button,
#popup_1736 .accordion-item:first-of-type > .accordion-header .accordion-button,
#popup_1736 h2.accordion-header button.accordion-button {
  font-size: 21px !important;
  font-weight: 500;
}

#popup_1736 p #accordionLocations {
  text-align: left !important;
  font-weight: 500;
}

#popup_1736 #accordionLocations a {
  text-decoration: none;
  color: #00263e;
}

#popup_1736 #accordionLocations a:hover {
  text-decoration: underline;
}

.accordion-item:first-of-type > .accordion-header .accordion-button,
.rightheader button.accordion-button:not(.collapse),
.rightheader button.accordion-button,
.rightheader button.accordion-button.collapsed {
  font-family: "Montserrat", Sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #00263e;
  background-color: white;
}



#popup_1736 button.accordion-button::after {
  display: none;
}

body {
  color: var(--color-navy);
  background-image: url("https://responsivetechnologypartners.com/wp-content/uploads/2025/05/Hexagon-Background-White-1-1.png");
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
}

.site-header {
  background: #fff;
}

.top-logo {
  margin-top: 15px;
  margin-bottom: 15px;
}

/*  Top bar rolldown  nav */
#topbar {
  position: fixed;
  top: -1px;
  left: 0;
  right: 0;
  background: #fff;
  color: white;
  z-index: 999;
  transform: translateY(-100%);
  /* Hidden initially */
  transition: transform 0.3s ease-in-out;
  width: 100%;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}

/* Show it when fixed is added */
#topbar.fixed {
  transform: translateY(0);
}

#topbar.fixed img {
  width: 300px;
  transform: translateY(0);
}

#topbar #mega-menu-wrap-primary #mega-menu-primary {
  background: #fff;
}

#topbar
  #mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-current-menu-item
  > a.mega-menu-link {
  color: white;
}

#topbar
  #mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link {
  margin: 2px 2px 0 2px;
}

.mega-menu-item.mega-menu-item-type-custom
  mega-menu-item-object-custom
  mega-current-menu-ancestor
  mega-menu-item-has-children
  mega-align-bottom-left
  mega-menu-flyout
  mega-menu-item-27
  .mega-current-menu-item
  .mega-sub-menu
  a {
  background: transparent !important;
}
#topbar .mega-current-menu-parent a,
#topbar
  .mega-current-menu-ancestor.mega-current-menu-parent.mega-menu-item-has-children {
  color: white !important;
}
#topbar
  #mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-current-menu-item
  > a.mega-menu-link:hover
  #topbar
  #mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-current-menu-item
  > a.mega-menu-link,
#topbar
  #mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-current-menu-item
  > a.mega-menu-link:focus,
#topbar
  #mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover,
#topbar
  #mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  color: #ffffff !important;
  background: #003865;
  font-weight: 500 !important;
}

#topbar
  #mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link {
  line-height: 40px;
  height: 40px;
  padding: 0 8px;
  vertical-align: baseline;
  width: auto;
  display: block;
  color: #000;
  text-align: center;
  font-size: 15px;
  font-weight: 500 !important;
  outline: none;
}

.text-black,
.text-black p,
.text-black ul {
  color: black;
}

.rightheader p.top-phone,
.rightheader p.top-phone a {
  display: inline;
  color: #00263e;
  font-family: "Montserrat", Sans-serif;
  font-size: 24px;
  text-decoration: none;
  font-weight: 700;
}

.rightheader {
  text-align: right;
}

.rightheader p {
  color: #00263e;
  font-family: "Montserrat", Sans-serif;
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 0;
}


a.dpn {
    color: #00263e !important;
    text-decoration: none !important;

}

.social-icons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.social-icons img {
  display: block;
}

/* Mega menu add styles */

#mega-menu-wrap-primary
  .mega-menu-toggle
  .mega-toggle-block-1
  .mega-toggle-animated {
  /* z-index: 9 !important; */
  /* position: absolute; */
  /* top: 10px; */
  /* right: 10px; */
  background: #dbe2e9;
  padding: 12px;
}

#mega-menu-wrap-primary {
  background: #00263e;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link {
  margin: 2px;
  font-weight: 500 !important;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:visited,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:focus,
#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.mega-current-menu-item
  > a.mega-menu-link {
  font-weight: 500 !important;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-flyout
  ul.mega-sub-menu
  li.mega-menu-item
  a.mega-menu-link {
  border: 1px solid #00263e;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-flyout
  ul.mega-sub-menu
  li.mega-menu-item
  a.mega-menu-link:hover {
  border: 1px solid white;
  background: #00263e;
}

ul.mega-sub-menu li.mega-current_page_item a.mega-menu-link {
  border: 1px solid white !important;
  background: #00263e;
}

/*  front page icons turn white on hover. Apply class to img container - not the img  */
.white-on-hover img {
  transition: filter 0.3s ease;
}

.white-on-hover:hover img {
  filter: brightness(0) invert(1);
}

.white-on-hover img,
.common-icon img {
  width: 100px !important;
}

a.the-post-title {
  font-size: 18px;
  text-decoration: none;
  color: #00263e;
}

a.the-post-title:hover {
  text-decoration: underline;
}
.datetag {
  font-size: 14px;
}

/*  footer left popup (wp-plugin) */
a.btn.awesome {
  background-color: #00263e !important;
  text-decoration: none;
  background-image: none;
  border: 1px solid #00263e !important;
  color: #fff !important;
  border-radius: 0;
  margin-top: 4px;
  font-size: 14px;
  padding: 2px 11px;
  /* margin-bottom: 5px; */
}

a.btn.awesome:hover {
  background-color: transparent !important;
  text-decoration: none;
  background-image: none;
  border: 1px solid #00263e !important;
  color: #00263e !important;
}

.ays_content_box.ays_template_main {
  text-align: left;
  font-size: 14px;
}

.ays_template_window .ays_template_header .close-template-btn {
  color: #a7bcd6 !important;
  top: -9px;
  font-size: 14px;
}

.ays_template_window .ays_template_main {
  letter-spacing: normal !important;
  padding-top: 0 6px !important;
}

.ays_template_window header.ays_template_head {
  height: auto;
  position: relative;
}

.ays_pb_description {
  padding-bottom: 0px !important;
}

div.ays_bg_image_box {
  background-size: 80% !important;
}

/* contact 7 form */
/* SNWEB FORM */

#popup_2312 .popup-content {
  max-width: 480px;
  font-weight: normal;
}

#popup_2312 p {
  margin-bottom: 6px;
}

#popup_2312.popup-overlay.popup-rtp h2 {
  font-size: 24px;
  font-weight: 600;
}

#popup_2312.popup-overlay.popup-rtp h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 6px;
}

#popup_2312.popup-overlay.popup-rtp span.red {
  color: #9b2242;
  margin-left: 3px;
}

#popup_2312 select {
  padding: 6px;
  width: 100%;
}

#popup_2312 .wpcf7-form.init .wpcf7-submit {
  background-color: #9b2242 !important;
  border: 1px solid #9b2242 !important;
  color: #fff !important;
  width: auto;
  padding: 6px 20px;
  margin-top: 30px !important;
}

#popup_2312 .wpcf7-form.init .wpcf7-submit:hover {
  background-color: #fff !important;
  border: 1px solid #9b2242 !important;
  color: #9b2242 !important;
  width: auto;
  padding: 6px 20px;
}

/* end SNWEB FORM */

/* support form */
#wpcf7-f5184-p5043-o1 form.wpcf7-form select.wpcf7-form-control.wpcf7-select {
  padding: 6px;
  width: 100% !important;
  font-size: 18px;
}

h3 span.red {
  color: #9b2242 !important;
}

.wpcf7-form.init textarea,
input::placeholder,
textarea::placeholder {
  color: #00263e; /* Replace with your desired color */
  opacity: 1; /* Ensures full visibility in some browsers */
  font-size: 18px;
}

.wpcf7-form.init textarea,
#VOIP-Buyers-Guide.wpcf7-form.init input {
  border: 1px solid #ccc;
  outline: none;
  margin: 4px 0 !important;
  padding: 6px;
  width: 100%;
}

.wpcf7-form.init input {
  border: 1px solid #dbe2e9;
  outline: none;
  margin: 4px 0 !important;
  padding: 6px;
  width: 100%;
}

.wpcf7-form.init textarea,
.wpcf7-form.init label {
  width: 100%;
}

.wpcf7-form.init .wpcf7-submit {
  background-color: #00263e;
  border: 1px solid #00263e;
  color: #fff;
  width: auto;
  padding: 6px 20px;
}

.wpcf7-form.init .wpcf7-submit:hover {
  background-color: #fff;
  border: 1px solid #00263e;
  color: #00263e;
}

/* Comit Form format radio buttons inline */
#wpcf7-f2204-p1650-o1 p {
  margin-bottom: 3px;
}
#radiolist {
  margin: 20px 0;
}

#radiolist .wpcf7-list-item.first,
#radiolist .wpcf7-list-item.last {
  margin-left: 0 !important;
  font-weight: 600;
}
#radiolist .wpcf7-list-item.first label input,
#radiolist .wpcf7-list-item.last label input {
  width: 24px !important;
}
#radiolist .wpcf7-list-item.first {
  width: 100%;
  margin-bottom: 4px;
}
.wpcf7-radio {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.wpcf7-radio label {
  display: flex;
  align-items: center;
}

/* footer styles */

.mega-current-menu-ancestor.mega-menu-item-has-children a.mega-menu-link {
  color: white !important;
}

footer.site-footer {
  margin-top: 20px;
  padding: 6px 0;
}

.hr-footer {
  height: 2px;
  margin: 40px 0 0;
  border-top: 1px solid #dbe2e9;
}

.fa.fa-facebook-square,
.fa.fa-linkedin-square,
.fa.fa-instagram {
  color: #fff;
  font-size: 50px;
  margin: 7px 14px 16px;
}

a.read-more img {
  width: 100%;
  height: auto;
}

a.read-more img {
  width: 50px;
  height: auto;
}

.awards-image img.image {
  max-height: 150px !important;
  width: auto !important;
}

/* Chase's messenger popup form */
.message {
  overflow: hidden;
  display: flex;
  position: fixed;
  bottom: 40px;
  right: 12px;
  justify-content: center;
  width: 25px;
  height: 25px;
  padding: 30px;
  border-radius: 100%;
  align-items: center;
  cursor: pointer;
  z-index: 99999;
  transition: all 0.3s, outline 0s;
  background-image: url("https://www.responsivetechnologypartners.com/wp-content/uploads/2025/05/Untitled-1.png");
  background-color: #cccccc;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 4px 8px #0003, 0 6px 20px #00000030;
}

.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;
}

.message-container i.fas.fa-times {
  position: absolute;
  right: 12px;
  top: 12px;
}

@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: #003865;
  scroll-behavior: smooth;
  overflow: auto;
  display: block;
  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;
}

.message-form-sub-header p {
  flex: 100%;
  padding: 0px 30px 10px 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;
  margin-bottom: 2px;
}

.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;
}

.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: #003865 !important;
  background-color: white !important;
  border: none !important;
  padding: 10px 30px !important;
  width: 100% !important;
  cursor: pointer !important;
  opacity: 1;
  white-space: normal;
}

.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: #003865;
  color: white;
  border-radius: 10px;
}

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

.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;
}

/* blog styles */

.page-numbers.current {
  border: 1px black solid;
  padding: 12px;
}

.elementor-widget-wp-widget-archives a,
.elementor-widget-wp-widget-recent-posts a {
  color: #00263e;
}
.searchform {
  text-align: center;
}
#searchsubmit {
  margin-top: 6px;
}

.footerright img {
  margin-bottom: 12px;
}

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

@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: 993px) {
  #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
    background: white;
    padding: 0px;
    display: none;
    position: absolute;
    width: 100%;
    z-index: 9999999;
    padding: 14px;
    box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.1);
  }

  #mega-menu-wrap-primary {
    background: transparent;
  }

  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-item
    > a.mega-menu-link {
    margin: 2px;
    font-size: 23px;
    font-weight: 500 !important;
  }
  .rightheader {
    text-align: center;
  }
  #topbar {
    display: none;
  }
}

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

@media (max-width: 990px) {
  .ays-pb-modals,
  #topbar.fixed {
    display: none !important;
  }
}
