/*** Custom CSS that we add to make the links blue in our Tippy tooltips ***/
.tippy-content {
  text-align: start;
  padding: 12px;
}
.tippy-content a,
.tippy-content a:visited,
.tippy-content a:hover,
.tippy-content a:focus,
.tippy-content a:active {
  color: #007fff;
  text-decoration: none;
}

.tippy-content a:hover,
.tippy-content a:focus,
.tippy-content a:active {
  text-decoration: underline;
}

/*** MICROMODAL STYLES ***/

body.spruce-modal-open div#drift-frame-controller {
  opacity: 0;
}

.modal__overlay {
  z-index: 201;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__container {
  background-color: #fff;
  padding: 30px;
  max-width: 500px;
  max-height: 100vh;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal__title {
  box-sizing: border-box;
  color: #000;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
  margin-top: 0;
  margin-bottom: 0;
}

.modal__close {
  background: transparent;
  border: 0;
}

.modal__header .modal__close:before {
  content: "\2715";
  font-size: 20px;
}

.modal__footer {
  display: flex;
  align-items: center;
  justify-content: right;
}

.attribution-modal {
  display: none;
}

.attribution-modal.is-open {
  display: block;
}

.attribution-modal .modal__container,
.attribution-modal .modal__overlay {
  will-change: transform;
}

.modal__content {
  margin: 28px 0;
  line-height: 22px;
  color: #000;
  font-size: 17px;
  font-style: normal;
}

.modal__content .headline {
  color: #05a14e;
  font-weight: 600;
  margin-bottom: 12px;
}

.modal__footer .btn {
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  text-align: center;
  font-family: "Graphik";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  margin-left: 6px;
  margin-right: 6px;
}

.modal__footer .btn.btn-primary,
.modal__footer .btn.btn-primary:hover,
.modal__footer .btn.btn-primary:focus-visible {
  background-color: #0e64ee;
  color: #fff;
  outline: 0;
}

.modal__footer .btn.btn-secondary,
.modal__footer .btn.btn-secondary:hover,
.modal__footer .btn.btn-secondary:focus-visible {
  background-color: #fff;
  color: #0e64ee;
  border: 1px solid #007fff;
  outline: 0;
}
/*get start button*/
.signupmodal-outrsec {
  display: none;
}
.signupmodal-outrsec.is-open {
  display: block;
}
/*drift chatpart*/
.drift-conductor-item {
  z-index: 999 !important;
}
/*get start button*/

/* Ensure the Drift popup is behind the mobile menu when the mobile menu is open */
.menuopen .drift-conductor-item {
  z-index: -1 !important;
}

/* SPRU-46: full screen mobile nav. When mobile menu open, don't scroll body */
body.menuopen {
  overflow: hidden;
}

/*anouncement banner*/
.anouncement-bnrlnk:hover .anunce-lrnmre-txt{
  text-decoration: underline;
}
.anounment-clseicon{
  z-index: 99;
}
/*anouncement banner*/
/*partner logo carousel*/
@media (min-width: 768px) {
  .prtnr-carousl-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
    will-change: transform;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
}
/*partner logo carousel*/

@media (max-width: 500px) {
  .modal__container {
    width: 100%;
    margin: 0 24px;
  }
  .modal__footer {
    flex-direction: column;
  }
  .modal__footer .btn {
    width: 100%;
  }
  .modal__footer .btn.btn.btn-primary {
    margin-bottom: 12px;
  }
}

.modaloutermain-div.modal.modal-micromodal-slide.spruce-modalhide.is-open {
  display: block;
}

.modl-demolnkbutn:focus-visible {
  outline: 0;
}

/* Improve the chevron placement in the default browser select – important for demo form */
select {
  -webkit-appearance: none; /* Remove default styling for WebKit browsers */
  -moz-appearance: none; /* Remove default styling for Mozilla browsers */
  appearance: none; /* Remove default styling */
  background-color: transparent; /* Remove background color */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 1vw center; /* Adjust position */
  background-size: 2vw; /* Scale the chevron size with the viewport width */
  padding-right: 4vw; /* Adjust padding to make space for the chevron */
  line-height: 1.5;
  height: auto;
  box-sizing: border-box;
}

select::-ms-expand {
  display: none; /* Hide default chevron in IE */
}
