.text-position-center{
  -webkit-box-align:center;
  -webkit-box-pack:center;
  display:-webkit-box;
}

 /* ***********************  BUTTONS MODAL *********************** */
#modalQuote .btn-question{
  opacity: .5;
  color: #000;
}

#modalQuote .btn-question:hover {
  background-color: #DDD6FF!important;
  opacity: 1;
}

#modalQuote .btn:active, #modalQuote button:focus-visible{
  border: none;
  outline: none;
}
.btn.btn-outline-blue{
  color: #0d6efd;
  border-color: #0d6efd;
  transition: 0.3s;
}
.btn.btn-outline-blue:hover{
  color: #fff;
  background-color: #0d6efd;

}
 /* ***********************  TOOLTIP *********************** */
#modalQuote span[data-tooltip]:before {
  width: 210px;
  white-space: normal;
}
 /* ***********************  HOVER EFFECTS *********************** */
.hover-secondary:hover  {
  color: #635C7F!important;
}

.hover-primary:hover  {
  color: #6238d7!important;
}

a.phone-icon-animate:hover{
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  perspective: 500px;

}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(1px, 0, 0);
  }
  
  30%, 50%, 70% {
    transform: translate3d(-1px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(1px, 0, 0);
  }
}

/* ***********************  ARROW LINK HOVER EFFECT *********************** */
.link-arrowed {
  display: flex;
  align-items: center;
}
.link-arrowed .arrow-icon {
  position: relative;
  top: -1px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}
.link-arrowed .arrow-icon-circle {
  transition: stroke-dashoffset 0.3s ease;
  stroke-dasharray: 95;
  stroke-dashoffset: 95;
}
.link-arrowed:hover .arrow-icon {
  transform: translate3d(5px, 0, 0);
}
.link-arrowed:hover .arrow-icon-circle {
  stroke-dashoffset: 0;
}

/* ***********************  MODAL POPUP *********************** */
#modalQuote .modal-popup .label-title {
  min-height: 3.75rem;
  height: 100%;
}

label.checkbox-invalid,
.btn-check:checked+label.checkbox-invalid, 
.btn-check:hover+label.checkbox-invalid{
  border: 2px solid red !important;
  background-color: rgb(240 90 90 / 8%) !important;
}

.btn-check.focus-new-page.label-check, .label-check input[type=text]{
  color: #815AF0!important;
}


#modalQuote .modal-body .checkbox-text.inputValid {
  font-family: "Red Hat Display", sans-serif;
}
#modalQuote .btn:disabled {
  background: #DCD9E5!important;
  border-color: #DCD9E5!important;
}
#modalQuote label {
  cursor: pointer;
}
/* ***********************  ANIMATIONS MODAL CONTENT *********************** */
.animate-modal-next {
  animation: fadeInContentNext 500ms ease-out backwards;
  overflow: hidden;
}

@keyframes fadeInContentNext {
  from {
    transform: translateX(250px);
    opacity: 0;
  }
  50% {
    transform: translateX(70px);
    opacity: 0;
  }
  to {
    transform: translateX(0px);
    opacity: 1;
  }
}

.animate-modal-back {
  animation: fadeInContentBack 500ms ease-out backwards;
  overflow: hidden;
}

@keyframes fadeInContentBack {
  from {
    transform: translateX(-250px);
    opacity: 0;
  }
  50% {
    transform: translateX(-70px);
    opacity: 0;
  }
  to {
    transform: translateX(0px);
    opacity: 1;
  }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}



/* ***********************  MODAL SCROLLBAR *********************** */

#modalQuote .modal-body {
  overflow-y: auto;
  overflow-x: hidden;
  height: 1px;
  padding-right: 0;
  margin-right: 1.5rem !important;
  scrollbar-color: rgba(129, 90, 240, 0.4) rgba(0, 0, 0, 0.1);
	overflow-y: auto;
  scrollbar-width: thin;
}


#modalQuote .modal-body::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

#modalQuote .modal-body::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

#modalQuote .modal-body::-webkit-scrollbar-thumb {
  
  border-radius: 10px;
  background: rgba(129, 90, 240, 0.4);
}

#modalQuote .modal-body::-webkit-scrollbar-thumb:hover,
#modalQuote .modal-body::-webkit-scrollbar-thumb:active {
  background: rgba(129, 90, 240, 0.8);
}

/* ***********************  MEDIA SCREEN  *********************** */
@media (max-width: 768px) {
  .mt-8 {
    margin-top: 5.25rem ;
  }
  .mb-8 {
    margin-bottom: 5.25rem;
  }
  .pt-8 {
    padding-top: 5.25rem;
  }
  .pb-8 {
    padding-bottom: 5.25rem;
  }
}
@media (max-width: 790px) {
  #modalQuote input[type=select-one]::placeholder{
    background: #635C7F;
    background: linear-gradient(to right, #635C7F 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

@media (max-width: 1200px){
  .transform-rotate-down {
    transform: rotate(90deg);
  }
}

@media (max-height: 804px){
  .modal-fullscreen-height {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-height .modal-content{
    border: none;
    border-radius: initial;
    height: 100%;
  }
}
@media (min-width: 992px) and (max-width: 1399.98px){
  .menu-hover-effect a:hover {
    color: #6238d7 !important;
  }
}


@media (max-width: 992px){
  nav.navbar.active {
    background-color: white;
  }
}
@media (min-width: 992px){
   /* ***********************  MENU HOVER EFFECT *********************** */
   .menu-hover-effect a {
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    letter-spacing: 1px;
    text-decoration: none;
    padding-right: 0 !important; 
    padding-left: 0 !important;
  }
  .menu-hover-effect a:before,
  .menu-hover-effect a:after {
    position: absolute;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
  }
  .menu-hover-effect a:before {
    bottom: 0;
    display: block;
    height: 3px;
    width: 0%;
    content: "";
    background-color: #6238d7;
  }
  .menu-hover-effect a:after {
    left: 0;
    position: absolute;
    content: attr(data-hover);
    color: #6238d7;
    white-space: nowrap;
    max-width: 0%;
    overflow: hidden;
  }
  .menu-hover-effect a:hover:before,
  .menu-hover-effect .current a:before {
    opacity: 1;
    width: 100%;
  }
  .menu-hover-effect a:hover:after,
  .menu-hover-effect .current a:after {
    max-width: 100%;
  }

 
}

@media (min-width: 1400px){
  .modal-xxl{
    --bs-modal-width: 1294px;
  }
 
}