/*
Theme Name:   malcolm
Theme URL:    https://jchancafe.nom.pe/
Description:  Este es el tema personalizado para los clientes finales de malcolm
Author:       Juan Chancafe
Author URL:   http://jchancafe.nom.pe/
Tested up to: 6.1
Requires PHP: 7.4
Version:      2.5.4
License:      CLUF  End user license
License URL:  https://jchancafe.nom.pe/
Tags:         malcolm, theme, desarrollo-web
Text Domain:  malcolm

malcolm WordPress Theme, (C) 2020 WordPress.org
malcolm is distributed under the terms of the GNU GPL.
*/

:root{
  --gris: #7B7B7B;
  --gris-2: #999999;
  --Magenta: #E20979;
  --Azul: #1C3050;
}

.header-info{
  margin-right: -12px;
}

.position-relative.wp-video__wrap .wp-video,
.position-relative.wp-video__wrap .wp-video .wp-video-shortcode{
  max-height: 460px;
}
@media (max-width: 1400px){
  .position-relative.wp-video__wrap .wp-video,
  .position-relative.wp-video__wrap .wp-video .wp-video-shortcode{
    max-height: 360px;
  }
}

.footer-menu .nav-link{
  display: inline-block;
  position: relative;
}

.footer-menu .nav-link:after {
  background-color: currentcolor;
  content: "";
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 100%;
  transform: translateY(10px);
  transition: .25s linear;
  width: 100%;
}

.footer-menu .nav-link:hover:after{
  opacity: 1;
  transform: translateY(0);
}

.card-pay .card-body ul{
  justify-content: center;
}

.banner-inline__bg{
  border-radius: 16px;
  background: linear-gradient(271deg, var(--Magenta, #E20979) -12.41%, #6F0357 3.34%, var(--Magenta, #E20979) 38.42%, #1C3050 99.18%);
  height: 340px;
}

.contact_form_section{
  margin-top: -171px;
  display: flex;
  flex-direction: column;
  gap: 38px;
  margin-bottom: 38px;
  @media (min-width: 992px){
    flex-direction: row;
    justify-content: center;
    border-radius: 0;
    border: unset;
    background: transparent;
    padding: 0 84px;
  }
}

.contact_form_section__column{
  position: relative;
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid #CACFD7;
  background: #F7F7F9;
  display: flex;
  flex-direction: column;
  gap: 20px;
  @media (min-width: 992px){
    padding: 34px 44px 0;
    width: 100%;
    max-width: 388px;
  }
}

#loadingIndicator{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

.contact_form_section.one_column .contact_form_section__column{
  @media (min-width: 992px){
    max-width: 815px;
    padding: 34px 44px;
  }
}

.contact_form_section__column h2{
  color: #1C3050;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 24px; /* 150% */
}

.contact_form_section__column h3{
  color: #1C3050;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 150% */
}

.contact_form_section__column,
.contact_form_section__column p,
.contact_form_section__column ul{
  margin: 0;
  color: #1C3050;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 180% */
}

.contact_form_section__column span {
  color: var(--Azul, #1C3050);
  font-family: Poppins;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 200% */
}

.contact_form_section__column ul {
  padding-left: 20px;
  list-style: disc;
}

.contact_form_section__column p.phone{
  font-size: 12px;
}

.contact_form_section__column .phone-spacing{
  margin: 10px 0;
}

.new-form-contact {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.new-form-contact.gap-18{
    gap: 18px;
}

.new-form-contact h1{
  color: #1C3050;
  text-align: center;
  font-size: 28px;
  font-style: normal;
  font-weight: 800;
  line-height: 120%;
}

.new-form-contact h3{
  color: var(--Azul, #1C3050);
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 24px; /* 150% */
}

.new-form-contact__group{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.new-form-contact__group.gap-12{
    gap: 12px;
}

.new-form-contact__group input:not([type="checkbox"]):not([type="radio"]),
.new-form-contact__group select,
.new-form-contact__group textarea {
  border-radius: 3px;
  border: 1px solid #C8C8C8;
  background: #FFF;
  color: #1C3050;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  width: 100%;
  display: flex;
  height: 32px;
  padding: 4px 10px;
}

.new-form-contact__group input:not([type="checkbox"]):not([type="radio"]):focus,
.new-form-contact__group select:focus,
.new-form-contact__group textarea:focus {
  border-color: #1C3050;
  outline: unset;
}

.new-form-contact__group input.invalid,
.new-form-contact__group select.invalid,
.new-form-contact__group textarea.invalid {
  border-color: red!important;
  box-shadow: 0px 0px 4px 0px rgba(255, 0, 0, 0.50);
}

.new-form-contact__group input::placeholder,
.new-form-contact__group select::placeholder,
.new-form-contact__group textarea::placeholder {
  color: #C8C8C8;
}

.new-form-contact__group textarea{
  width: 100%;
  height: 100px;
  min-height: 100px;
}

.new-form-contact__group select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("/wp-content/themes/malcolm/assets/gfx/svg/select.svg");
  background-repeat: no-repeat;
  background-position-x: 98%;
  background-position-y: 7px;
}

.new-form-contact__group .hidden{
  opacity: 0!important;
  height: 0!important;
  padding: 0 !important;
}

.new-form-contact__group input[type="checkbox"]{
  width: 18px;
  height: 18px;
  border-radius: 2px;
  border: 2px solid #FF0076;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.new-form-contact__group input[type="radio"]{
  width: 12px;
  height: 12px;
  border-radius: 100%;
  border: 1px solid #49454F;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 4px;
}

.new-form-contact__group.with-label{
  gap: 0;
}

.new-form-contact__group.with-label label{
  color: #999;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 240% */
}

.new-form-contact__group .inline{
  display: flex;
  align-items: center;
  gap: 10px;
}

.new-form-contact__group .radio-item{
    display: flex;
    align-items: center;
}

.new-form-contact .new-form-contact__group p.desc {
  color: var(--Azul, #1C3050);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 218.182% */
  text-align: left;
}

.new-form-contact__columns{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px;
}

.new-form-contact__columns.gap-9{
    gap: 9px;
}

.new-form-contact__columns .new-form-contact__group,
.new-form-contact__columns>label{
  width: 100%;
  @media (min-width: 678px){
  flex: 1;
  }
}

.checkbox-group,
.radio-group{
  display: flex;
  align-items: center;
  gap: 9px;
}

.checkbox-group.invalid::before,
.radio-group.invalid::before{
  display: none;
}

.checkbox-container{
  position: relative;
  height: 18px;
}

.radio-container{
  position: relative;
  height: 12px;
}

.checkbox-container.invalid::after,
.radio-container.invalid::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  background: #FF007610;
  border-radius: 100%;
  transform: scale(2);
}

.checkmark,
.radiomark{
  display: none;
}

.checkmark:after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(35deg);
}

.radiomark:after{
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: #FF0076;
  border-radius: 100%;
  top: 4px;
  left: 3px;
}

.new-form-contact__group input[type="checkbox"]:checked{
  background: #FF0076;
  border-color: #FF0076;
}

.new-form-contact__group input[type="radio"]:checked{
    border-color: #FF0076;
}

.new-form-contact__group input[type="checkbox"]:checked + span,
.new-form-contact__group input[type="radio"]:checked + span{
  display: block;
}
.new-form-contact__group input[type="checkbox"]:checked + span::before,
.new-form-contact__group input[type="radio"]:checked + span::before{
  opacity: 1;
}

.new-form-contact__group label{
  color: #1C3050;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  position: relative;
  @media (min-width: 678px){
    width: unset;
  }
}

.new-form-contact__group label.invalid::before{
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E");
  background-position: right calc(.375em + .1875rem) center;
  background-repeat: no-repeat;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
  border-color: red;
  padding-right: calc(1.5em + .75rem);
  width: 15px;
  height: 15px;
}

.new-form-contact__group label a {
    color: #FF0076;
}

.new-form-contact__group button {
  border-radius: 20px;
  background: var(--Magenta, #E20979);
  border: unset;
  display: flex;
  min-width: 160px;
  margin: auto;
  height: 44px;
  padding: 9px 47px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #FFF;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  position: relative;
  transition: .25s linear;
}

.new-form-contact__group button span {
  color: #FFF;
}

.new-form-contact__group button:after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FF0076 0%, #FD0 100%);
  opacity: 0;
  border-radius: 20px;
  transition: .25s linear;
}

.new-form-contact__group button:hover{
  background: transparent;
}

.new-form-contact__group button:hover:after {
  opacity: 1;
  transition: .25s linear;
}

.new-form-contact__group button span {
  position: relative;
  z-index: 10;
}

.whatsapp-contact.desktop{
  display: none;
  @media (min-width: 920px){
    display: flex;
    flex-direction: column;
  }
}

.whatsapp-contact.mobile{
  display: flex;
  flex-direction: column;
  @media (min-width: 920px){
    display: none;
  }
}

.whatsapp-contact h3{
  color: #1C3050;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.whatsapp-contact a{
  border-radius: 26px;
  background: #26D366;
  display: flex;
  width: fit-content;
  height: 46px;
  padding: 10px 20px;
  justify-content: center;
  margin: auto;
  align-items: center;
  gap: 5px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 21px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.whatsapp-contact .separator{
  margin-top: 28px;
  margin-left: auto;
  margin-right: auto;
}

.steps{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.steps h2{
  color: var(--gris, #7B7B7B);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.steps .steps__items{
  display: flex;
  align-items: center;
}

.steps .steps__items .steps__item{
  position: relative;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid var(--gris-2, #999999);
  color: var(--gris-2, #999999);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  margin-right: 55px;
}

.steps .steps__items .steps__item.active{
  background: var(--Magenta, #E20979);
  color: #FFF;
  border-color: var(--Magenta, #E20979);
}

.steps .steps__items .steps__item::after{
  content: "";
  position: absolute;
  left: 100%;
  width: 56px;
  height: 1px;
  background: var(--gris-2, #999999);
}

.steps .steps__items .steps__item:last-child{
    margin-right: 0;
}

.steps .steps__items .steps__item:last-child::after{
  display: none;
}

.nbx_tab .nbx_tab__item{
  display: none;
}

.nbx_tab .nbx_tab__item.active{
  display: block;
}

.nbx_tab .nbx_tab__content{
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.nbx_tab .nbx_tab__content h2{
  color: var(--Magenta, #E20979);
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.nbx_tab .nbx_tab__content p {
  color: var(--Azul, #1C3050);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

.nbx_tab .nbx_tab__content .alert-error{
  display: flex;
  max-width: 491px;
  min-height: 50px;
  padding: 11px 19px;
  justify-content: center;
  align-items: center;
  gap: 15px;
  border-radius: 8px;
  background: rgba(226, 9, 121, 0.32);
}

.nbx_tab .nbx_tab__content .alert-error p {
  color: var(--Azul, #1C3050);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px; /* 140% */
  text-align: left;
}

.nby-modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-in-out;
}

.nby-modal-content{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFF;
    border-radius: 14px;
    padding: 50px;
    width: calc(100% - 40px);
    max-width: 600px;
    z-index: 10000;
    box-shadow: 0 0 32px 0 rgba(0, 0, 0, 0.23);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
   animation: fadeInUp 0.3s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.nby-modal-content svg {
  margin-top: -2rem;
  margin-bottom: -4rem;
}

.nby-modal-content h1{
  color: var(--Magenta, #E20979);
  text-align: center;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.nby-modal-content p{
  color: var(--Azul, #1C3050);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

.nby-modal-content p span{
  color: var(--Azul, #1C3050);
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 200% */
}

.nby-modal-content button{
  border: 0;
  display: flex;
  padding: 7px 57px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 25px;
  background: var(--Magenta, #E20979);
  color: #FFF;
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.file-wrap__placeholder{
  overflow: hidden;
}

.file-wrap__placeholder .buttons{
  background: var(--Magenta, #E20979)!important;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.file-wrap__placeholder .buttons:hover{
  color: var(--light);
}