body{
  font-family: 'gustanlpbook';
  font-style: normal;
  font-weight: 400;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  color: #757575;
  line-height: 135%;
  font-display: swap; 
  font-size: 1rem;
}

button::focus{
  outline: none;
  -webkit-appearance: none;
}

main{
 min-height:100vh;    
 overflow-x: hidden;
}
/*.navbar-brand svg{
  width: 90% !important;
}*/

h1{
  font-family: 'gustanlpbold';
  font-size: 1.3rem;
}

h2{
  font-family: 'gustanlpbook';
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-rendering: optimizeLegibility;
}

h3{
  font-size: 1.1rem;
  font-family: 'gustanlpbold';
}

h4{
  font-size: 1.05rem;
  font-family: 'gustanlpbold';
}

h6 {
  font-size: 1rem;
}

header{
    background-color: rgba(255,255,255,1);    
  }

.lead{
  line-height: 130%;
  font-size: 1.15rem;
}

.text-primary{
  color: #c4161c !important;
}

.text-black{
  color: #000;
}

.text-gray{
  color: #757575 !important;
}

.primary-bg{
  background-color: #c4161c;
}

.grey-bg{
  background-color: #ebebeb;
}

.border-top.bd{
  border-top: 1px solid #888888 !important;
}
.border-bottom.x-bd{
  border-bottom: 8px solid #C4161C !important;
}
.navbar-brand svg {
  height: 22px;
  width: 201px;
}

.navbar-toggler{
  border: none;
  border-radius: none;
}

.navbar-toggler:focus{
  box-shadow: none;
}

.navbar-light .sticky-helper{
  border-bottom: 1px solid #dedede;
  box-shadow: inset 0 1px 0 0 #c4161c;
}
.sticky-helper {
  position: absolute;
  top: 48px;
  left: 0;
  display: block;
  z-index: 100;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 00), inset 0 1px 0 0 transparent;
  transition: all ease .3s;
}

.nav-up .sticky-helper {  
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.21), inset 0 1px 0 0 #c4161c;
}

.sticky-helper h2 {
  font-size: 14px;
  line-height: 1.4rem;
  font-family: 'gustanlpbook';
  color: #000000;
  text-transform: none;
  margin-top: .75rem;
  font-weight: 400;
  text-transform: uppercase;
}

.sticky-helper h2.xs{
  color: #757575;
  font-size: 1rem;
  text-transform: uppercase;
}

.navbar-collapse .sticky-helper {
  display: none;
}

.navbar-collapse {
  padding: 0;
  z-index: 101;  
  /*background-color: #ebebeb;*/
}

.navbar-collapse .nav-link {
  font-size: 12px;
        display: block;
        width: 100%;
        border-bottom: solid 1px rgba(117, 117, 117, 0.21);
  padding-left: 1rem;
    }

.parallax {
  background-attachment: initial;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 0;
}

.parallax-caption p {
  font-size: 1.2rem;
}

.banner {
    background-image: url(../img/icbc_premios-comex.webp);
    height: 40vh;
    background-color: #c4161c;
    background-size: contain;
    background-attachment: initial;
    overflow: hidden;  
    margin-top:50px;      
  }


.scroll-btn {
  position: absolute;
  left: 50%;
  top: 100vh;
  margin-left: -29px;
  padding: 40px 20px;
  z-index: 50;
  transform: translateY(-210%);
}
@media (max-width: 768px) {
  .scroll-btn {
    top: 52vh;
  }
}
.scroll-btn .svg {
  animation: scrollDown 1.5s infinite;
  height: 10px;
  width: 19px;
}

h2 {
  font-weight: 600;
  font-size: 32px;
  line-height: 42px;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 40px;
}

.multipay{
  background-image: url(../img/multipay-bg.webp);
  background-position: 100% 0;
}
.icn{
  display: block;
  width: 40px;
  height: auto;
}

/*.services-section-item .services-item-title {
  font-weight: 800;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.3px;
  text-align: center;
  color: #757575;
  margin: 0;
  transition: all .3s ease-in-out;
}*/

.services-section-item {
  background-color: rgba(255, 255, 255, .9);  
  transition: all .3s ease-in-out;
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  height: 112px;
  border-bottom: 1px solid rgba(222, 222, 222, 0.9);
}

.services-section-item:hover, .services-section-item:focus {
  height: 170px;
}

.services-section-item h3{
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 120%;
  letter-spacing: 0.3px;  
  color: rgba(117,117,117,1);
  margin: 1.5rem 0 0;
  transition: all .3s ease-in-out;
}

.services-section-item .icn{ 
  transition: all .3s ease-in-out;
  display: block; 
  width: 64px;
  height: 64px;
  position: relative;
}

.services-section-item .icn svg{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
}
.services-section-item .icn path, .services-section-item .icn rect{
  fill: #c4161c;
}

.services-section-item .cont{
  transform: translateY(316px);
  transition: all .3s ease-in-out;
  text-align: left;
  opacity: 0;
}

.services-section-item ul{
  transition: all .3s ease-in-out;    
  color: #ffffff;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.3px;
} 

.services-section-item ul li {
  padding: 0 0 10px 28px;
  list-style-type: none; 
  background-image: url('../img/circle-check.svg');
  background-repeat: no-repeat; 
  background-position: left top;
  background-size: 18px 18px;
}

.services-section-item:hover, .services-section-item:focus {
  background-color: #c4161c;
  color: #FFF;
}

.services-section-item:hover .icn, .services-section-item:focus .icn{
  margin-top: 0;
  height: 0;
}

.services-section-item:hover .cont, .services-section-item:focus .cont{
  transform: translateY(-30px);
  opacity: 1;
}

.services-section-item:hover h3, .services-section-item:focus h3{
  text-align: left;
  transform: translateY(-40px);
  color: rgba(255,255,255,1);
  font-size: 1rem;
}

.related-news{
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.related-news h3{
  color: #FFF;  
  position: relative;
  z-index: 2;
}
.related-news a {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 218px;
  outline: none;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  z-index: 4;
}
.related-news a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color .7s ease-in-out;
  top: 0;
  left: 0;
}

.related-news img {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  min-height: 100%;
  min-width: 100%;
  height: auto;
  z-index: 0;
  object-fit: cover;
}
.related-news a .hvrdata {
  position: absolute;
  width: 100%;
  left: 0;
  top: 10%;
  font-size: 14px;
  line-height: 18px;
  padding: 0 12px;
  text-align: center;
  color: #ffffff;    
  z-index: 50;
  opacity: 0;
  transition: opacity .7s ease-in-out;
}

.related-news a:hover .hvrdata, .related-news a:focus .hvrdata {
  opacity: 1;
}
.hvrdata svg {
  height: 31px;
  width: 31px;
  margin-bottom: 10px;
}

.related-news a h4{
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  height: 48px; 
  z-index: 1;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  width: 100%; 
}


/*PREMIO*/

.ganadores{
  min-height: 330px;
  background: RGBA(235, 235, 235, 0.44);  
}

.single{  
  position: relative;
  z-index: 1;
}

.single h3{
  font-size: 1.5rem;
  line-height: 120%;
  font-weight: 400;
  font-family: 'gustanlpbook';
}

.single h4 {
  font-size: 14px;
  color: #c4161c;
  padding-left: 5px;
  font-family: 'gustanlpbook';
}

.img-logo {
 width: 215px;
 height: auto; 
}
.mencion {
  padding-left: 5px;
  font-size: 13px;
  color: #000000;
  line-height: 1.5;
}

/*BUSINESS MATCHMAKER*/
.bmm .lead{
  color: #000;
  line-height: 110%;
}

/*EXPERTISE*/
.exp{
  position: relative;
  background-image: url(../img/exp.webp);
}

.exp .related-news{
  background-color: rgba(0, 0, 0, 0.3);
}

.exp .related-news::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color .7s ease-in-out;
  top: 0;
  left: 0;
  z-index: 0;
}

.carousel-indicators{
  justify-content: left;
  margin: 0;
}

.carousel-indicators [data-bs-target]{
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin: 0 20px 0 0;
}

.carousel-indicators [data-bs-target].active{
  background-color: #c4161c;
}

.carousel-control-prev,
.carousel-control-next {
  display: none !important;
}
/*.carousel-indicators [data-bs-target]:last-child{
    margin-right: 0;
}*/

/*.carousel-item{
  height: 350px;
}*/
/*RED GLOBAL*/
.red-global .nav-tabs{
   display: flex;
   flex-direction: column;
}
.red-global .nav-link {
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.3px;  
  color: #757575;
  padding: 12px 18px;
  text-transform: none;
  text-align: left;
}

.red-global .nav-link.active {
  color: #c4161c;
  border-color: #c4161c;
}

.red-global .nav-link:hover, .red-global .nav-link:focus{
  color: #000;
}

.red-global .nav-link.active:hover, .red-global .nav-link.active:focus {
  color: #c4161c;
}

.tab-content {  
  padding: 1rem 0;
  position: relative;
}

.tab-content img {
        max-width: 100%;
    }
.tab-content .gotaspuntos {
        max-width: calc(100% - 30px);
    }

.gotaspuntos {
  position: absolute;
  top: 0;
  left: 15px;
}

@property --num {
  syntax: "<integer>";
  initial-value: 0;
  inherits: false;
}

.counter {
  --num: 0;
  animation: count 2s ease-out forwards;
  counter-reset: num var(--num);
  font-family: 'gustanlpbook';
  font-weight: 600;
  font-size: 34px;
  line-height: 36px;
  letter-spacing: 0.6px;
  color: #000000;
}

.counter::after {
  content: counter(num);
}

@keyframes count {
  to {
    --num: var(--to);
  }
}

.tab-content small{
  font-size: .85rem;
}


/* CONSORCIOS */

.consorcios{
  background-image: url(../img/consorcios.webp);
}

.consorcios .icn path, .consorcios .icn polygon{
  fill: #FFF;
}

.boxed{
  height: 100%;
  display: block;
  background-color: #FFF;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}

.nav-tabs {
  margin-top: 50px;
  border-color: #ebebeb;
}

.multipay .col-md-6 .boxed h4, .consorcios .col-md-6 .boxed h4 {
  font-weight: 400;
  margin-top: 0;
  font-size: 1.1rem;
  line-height: 100%
  color: #000000;
}

.multipay .col-md-6 .boxed ul, .consorcios .col-md-6 .boxed ul {
  list-style: none;
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  color: #757575;
  margin: 0 0 25px;
  padding: 12px 0 0 25px;
}

.multipay .col-md-6 .boxed ul li, .consorcios .col-md-6 .boxed ul li, .list-bulet-rojo li {
  padding-bottom: 10px;
  position: relative;
}

.boxed ul li::before, .list-bulet-rojo>li::before {
  content: url(../img/arrow.svg);
  position: absolute;
  top: 3px;
  left: -25px;
  height: 16px;
  width: 16px;
}

.multipay .related-news::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color .7s ease-in-out;
  top: 0;
  left: 0;
  z-index: 1;
}

.multipay .related-news.grey-bg::after{
  background-color: transparent;
}

/**/
.accordion-horizontal {
  flex-direction: column;
}

.accordion-horizontal {  
  background-color: #dedede;
}

.accordion-item-h {  
  flex: 1;
  display: flex;
  border: 1px solid #fff;
}

/* cuando hay un panel abierto */
.accordion-horizontal.has-open .accordion-item-h {
  flex: unset;
}

/* botón */
.accordion-btn {
  width: 100%;  
  background: rgba(248, 249, 250, 0);
  cursor: pointer;
  transition: all .4s ease;
  border: none;
  margin: 0;
  display: block;
  position: relative;
}

.accordion-btn .hvr, .accordion-btn .active {
  opacity: 0;
  bottom: 16px;
  left: 50%;
  margin-left: -15px;
  display: block;
  position: absolute;
  transition: all .3s ease-in-out;
}

.accordion-btn .hvr svg{
  width: 31px;
  height: auto;
}

.accordion-btn:hover .hvr, .accordion-btn:focus .hvr {   
  opacity: 1; 
  bottom: 226px;
}

.accordion-btn h3{
 color: rgba(0,0,0,.45);
 font-weight: 400;
}

.accordion-btn:hover, .accordion-btn:focus {
  background: rgba(248, 249, 250, .37);
}

.accordion-btn:hover h3, .accordion-btn:focus h3{
  color: rgba(0,0,0,1);
}

.accordion-body-h {
  display: none;
}
.accordion-body-h.show {
  display: block;
}

/* estado girado */
.accordion-horizontal.has-open .accordion-btn h3 {  
  color: rgba(0,0,0,.45);
  text-align: left;  
}

.accordion-horizontal.has-open .accordion-btn{
  vertical-align: bottom;
  padding: .5rem 0;
}

.accordion-btn h3{
  width: 70%;
}

.accordion-btn svg, .accordion-body-h svg{
  height: 48px;
  width: auto;
}

.accordion-horizontal.has-open .accordion-btn svg{
  display: none;
}

.accordion-btn svg path{
  fill: rgba(0,0,0,.45);
}

.accordion-btn:hover svg path, .accordion-btn:focus svg path, .accordion-btn:hover svg rect, .accordion-btn:focus svg rect{
  fill: rgba(0,0,0,1);
}

/* botón del panel abierto */
.accordion-btn.active {
  display: none !important;
  pointer-events: none;
}

/* cuerpo */
.accordion-body-h {
  position: relative;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition:    
  opacity .2s ease;
}

.accordion-body-h.show {
  width: 100%;
  opacity: 1;  
  padding: 1rem;
}

.accordion-body-h svg path, .accordion-body-h svg rect{
  fill: rgb(196, 22, 28);  
}

.accordion-body-h h3{
  color: #c4161c;
}
.accordion-body-h p{
  width: 100%;
}

/* botón cerrar */
.btn-close-h {
  position: absolute;
  top: .5rem;
  right: .5rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: .6;
  color: #c4161c;
  transition: all ease-in .1s;
}

.btn-close-h:hover, .btn-close-h:focus {
  opacity: 1;
  font-size: 1.1rem;
}


/*@media (max-width: 768px) {
  .accordion-horizontal {
    flex-direction: column;
    height: auto;
  }

  .accordion-btn {
    writing-mode: horizontal-tb;
    transform: none;
    width: 100%;
  }

  .accordion-body-h,
  .collapse.show.accordion-body-h {
    width: 100%;
  }
}*/

.description_video{
  position: absolute;
  background-color: #EBEBEB;
  width: 100%;
  bottom: 0;
  padding: 7px 20px;
  color: #000000;
  font-weight: 800;
  font-size: 16px;
  line-height: 20px;
  min-height: 54px;
  height: auto;
  z-index: 1;
  left: 0;
  text-align: left;
}

.related-news .img-video {
    height: 80%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    min-height: 100%;
    min-width: 100%;
}

/*.related-news a .description_video h4{
  position: relative;
    height: auto;
    text-align: center;
}*/

.form-floating>.form-control{  
  border-radius: 0;
  border: 0;
  border-bottom: solid 2px rgba(151, 151, 151, 0.57);
}

.form-floating>label {
  font-size: 100%;
  top: 9px;
  opacity: 1;
}

.nota a{
  color: #c4161c;  
  padding: 0;
  font-size: 1.25rem;
}

.nota a:hover, .nota a:focus, .nota a:active{
  color: #000 !important;
  text-decoration: underline;
}

.btn-primary, .nota a.btn-primary{
  position: relative;
  height: 42px;
  width: 200px;
  margin-top: 20px;
  font-weight: 400;
  font-size: 16px;
  line-height: 40px;
  color: #ffffff;
  text-align: center;
  padding: 0 20px;
  background-color: #c4161c;
  text-decoration: none;
  transition: all .1s ease-in-out;
  border-radius: 0;
  border: 1px solid #c4161c;
}

.descargar{
  width: 162px;
    min-height: 42px;
    font-size: 14px;
    line-height: 42px;
    font-weight: 400;
    background-color: #ebebeb;
    border: solid 1px #f1f1f1;
    text-align: center;
    color: #c4161c;
    margin: 0 6px 10px 0;
    padding: 0 20px;    
    border-radius: 0;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .nota a.btn-primary:hover, .nota a.btn-primary:focus, .nota a.btn-primary:active{
    color: #000;
    background-color: rgba(255, 255, 255, 0.55) !important;
    /*border-color: #000;*/
}

.btn-primary {
  position: relative; 
  border: none;
  cursor: pointer;
  overflow: hidden;
}

/* Línea superior y derecha (nacen en top-right) */
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transition: width 0.4s ease, height 0.4s ease;
}

/* Línea inferior y izquierda (nacen en bottom-left) */
.btn-primary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  transition: width 0.4s ease, height 0.4s ease;
}

/* Hover */
.btn-primary:hover::before,
.btn-primary:hover::after {
  width: 100%;
  height: 100%;
}

.consultas{
  background: rgba(235, 235, 235, 0.44);
  background: linear-gradient(180deg, rgba(235, 235, 235, .44) 0%, rgba(235, 235, 235, .44) 25%, rgba(255, 255, 255, 1) 25%);
}

.consultas h2 svg{
  width: 48px;
  height: auto;
}
.consultas h2 svg path{
  fill: #c4161c;
}
.captcha{
  float: right;
}

.footer .bg-social {
  background-color: #ededed;
}

.footer .bg-social .justify-content-end {
  min-height: 87px;
}

.footer .bg-social ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer .bg-social ul li {
  margin-left: 30px;
  font-size: 0;
}

.footer .bg-social ul .svg.facebook {
  width: 19px;
}
.footer .bg-social ul .svg.twitter {
  width: 20px;
}
.footer .bg-social ul .svg.youtube {
  width: 21px;
}

.footer .copy {
  background-color: #ffffff;
  padding: 45px 0 30px;
}

.footer .copy a {
  font-weight: 900;
  font-size: 12px;
  line-height: 14px;
  padding-right: 12px;
  color: #757575;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.footer .copy a:hover. .footer .copy a:focus{
  text-decoration: underline;
}

.footer .copy a::after {
  position: absolute;
  right: 2px;
  top: 0;
  content: '|';
  color: #757575;
}

.footer .copy span {
  display: block;
  font-size: 12px;
  line-height: 14px;
  font-weight: 300;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  border: 0;
}

.modal-content {
    border-radius: 0;
    color: #757575;
}

.modal-title{
  margin-top: .35rem;
  margin-bottom: 0;
  line-height: 1.5;
  color: #757575;
}

.modal-content .btn-close{
  font-size: .85rem;
}
.modal-content a{
  color: #c4161c;
  text-decoration: none;
}
#videoModal .modal-body {
    position: relative;
    padding: 0;
    border: 6px solid #fff;
}
#videoModal .btn-close {
    position: absolute;
    right: -10px;
    top: -50px;
    z-index: 999;
    font-size: 1.25rem;
    font-weight: normal;
    opacity: 1;
    filter: invert(1);
}

#videoModal .btn-close svg path{
  fill: #FFF !important;
}


/*DOCUMENTOS*/
.documentos h3{
  font-family: 'gustanlpbook';
  font-weight: 400;
  width: 100%;
}

.accordion{
  --bs-accordion-btn-padding-x: .5rem !important;
  --bs-accordion-btn-padding-y: .25rem !important;
}
.accordion h2{
  margin-top: 0;
  color: #757575;
  font-weight: 400;
  font-family: 'gustanlpbook';
  padding: 10px 0;
}
.accordion h2 .accordion-button{
  line-height: 1.35rem;  ;
}
.accordion-button::before {
    position: absolute;
    /*transform: translate(-10px, -10px);*/
    height: 16px;
    width: 16px;
    content: url(../img/arrow.svg);
    transition: all ease-in-out .2s;    
    transform-origin: center;
}

.accordion-button span{
  margin-left: 26px;
}

.accordion-button:not(.collapsed):before {
  transform: rotate(90deg);
  transform-origin: center; 
}

.accordion-button::after {
    display: none;
}
.accordion-button:not(.collapsed){
background-color: transparent;
}

.accordion-body li::marker {
    color: #c4161c;
}

.icn.doc{
  width: 48px !important;
}
.icn.doc path, .icn.doc polygon{
  fill: #c4161c;
}
    
.docs{
  background-image: url(../img/docs-bg.webp);
   background-size: 750px 530px;
        background-position: 50% 17vw;
  min-height: 350px;
}

.docs:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.docs h1{
    font-size: 32px;
    line-height: 36px;
}
.docs h1 svg{
  transform: translateY(-25%);
}

h3.arrow{
  position: relative;
  font-size: 1rem;
  color: #000;
}

h3.arrow::before {
    content: url(../img/arrow.svg);
    position: absolute;
    top: 1px;
    left: -25px;
    height: 16px;
    width: 16px;
}

.side h3{
  position: relative;
  padding-left: 12px;
  color: #000;
}
.side h3::before{
    content: url(../img/icn-title.svg);
    position: absolute;
    top: 2px;
    left: 0;
    width: 7px;
    height: 14px;
    display: block;
}
.post a{
  color: #757575;
  text-decoration: none;
}

.post .btn-link{
  color: inherit;
  text-decoration: none;
}

.post .btn-link:hover, .post .btn-link:focus{
  text-decoration: underline;
}
.post p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
}

/* LISTADO */
.listado{
 /* padding-top: 48px;*/
}
.listado h2{
  text-transform: none;
  font-size: 1.8rem;
}

.listado p{
      font-size: 1.2rem;
    line-height: 120%;
    color: #757575;
}

.listado a{
  text-decoration: none;
  cursor: pointer;
}

.listado a.btn-link{
  color: #c4161c;  
}

.listado a h2{
  color: #000;
}

.listado a p{
  color: #757575;
}

@keyframes scrollDown {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(40px);
  }
}

@media (min-width: 768px) {
 header.nav-up{
  background-color: rgba(255, 255, 255, 1);
  z-index: 101;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.21);
}

header.navbar-light{
    border-bottom: 1px solid #dedede;
  }

  .sticky-helper {
  position: absolute;
  top: 46px;
}

.navbar-collapse .sticky-helper {
  position: absolute;
  margin-top: 54px;
  display: none;
  z-index: 1;
  height: 66px;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.21), inset 0 1px 0 0 #c4161c;
}

.active .sticky-helper.sticky-nav-helper {
  display: block !important;    
  top: 53px;
  margin-top: 0;
  left: 0;
  height: 44px;
}

.sticky-helper h2 {
  font-size: 1.1rem;
  line-height: 1.4rem;
  font-family: 'gustanlpbook';
  color: #000000;
  text-transform: none;
  margin-top: .75rem;
  font-weight: 400;
}

.listado{
  margin-top: 72px;
}

header.navbar-light .navbar-nav {
        width: 100%;     
    }

header.navbar-light .navbar-nav .container{
        max-width: 100% !important;        
    }
}

@media (max-width: 991.98px) {
  .navbar{
    z-index: 101;
  }
  .navbar .navbar-collapse {    
    background-color: #ebebeb;
  }
  .navbar-collapse .nav-item:last-child .nav-link{
    border-bottom: none;
  }
}

@media (min-width: 425px) and (max-width: 991){
  .navbar .navbar-collapse {
    margin-left: calc(var(--bs-gutter-x) * -1);
    margin-right: calc(var(--bs-gutter-x) * -1);
  }
}

@media (min-width: 991px) {
  .container.sp{
    padding-left: calc(var(--bs-gutter-x) * .5) !important;
    padding-right: calc(var(--bs-gutter-x) * .5) !important;
  }
   header{
    background-color: rgba(255,255,255,0);    
  }
  header.navbar-light{
    background-color: rgba(255,255,255,100);    
  }    

  .navbar{
    border-top: 1px solid #FFF;
    transition: all ease .5s;
  }

  header.dark .navbar{
    border-top: 1px solid #888;
  }

header.dark.nav-up .navbar{
  border-top: 1px solid #fff;
}
  .navbar-brand{
    margin-top: 11px;
    margin-bottom: 13px;
    white-space: nowrap;
    text-decoration: none !important;
    transition: all .2s ease-in-out;
    height: 32px;
    position: relative;
    overflow: hidden;
  }
  .navbar-brand svg{
    position: relative;
    width: 291px;
    height: 32px;
    transition: all 0.2s ease-in-out;
    top: 0;
  }

  .nav-link {    
    text-transform: uppercase;
    color: #FFFFFF;
    transition: all 0.2s ease-in-out;
    padding: 16px 10px 13px 10px;
    border-bottom: 4px solid transparent;
    font-size: 12px;
    border-bottom: none ;
  }

  .navbar-collapse .nav-link {
        border-bottom: solid 1px rgba(117, 117, 117, 0);
    }

.nav-item:hover .nav-link, .nav-item:focus .nav-link, .nav-item.active .nav-link{
  border-bottom: 4px solid #FFF;
  color: #FFF;
}

.nav-link:focus, .nav-link:hover, .nav-link.active {
   color: #FFF;
   border-color: #FFF;
 }

 .dark .navbar-collapse .nav-link {
   color: #888888;
}

header.nav-up .navbar{
    border-bottom: 1px solid #c4161c;
  }

header.nav-up .navbar-brand{
  height: 0;
  margin: 0;
}

header.nav-up .nav-link{
  color: #888888;
  font-size: 13px;
}
 header.nav-up .nav-item:last-child .nav-link{
  display: none;
 }

header.nav-up .nav-item:hover .nav-link, header.nav-up .nav-item:focus .nav-link, header.nav-up .nav-item.active .nav-link{
  border-bottom: 4px solid #c4161c;
  color: #c4161c;
}

header.navbar-light.nav-up .nav-item:hover .nav-link, header.navbar-light.nav-up .nav-item:focus .nav-link, header.navbar-light.nav-up .nav-item.active .nav-link{
border-bottom-color: transparent;
}

/*.navbar-light .navbar{
  display: none;
}*/

header.navbar-light .sticky-helper {
  top: 52px;
}

header.navbar-light.nav-up .sticky-helper {
  top: 0px;
}

header svg path{
  fill: #FFF;
}

.dark svg path{
  fill: #000;
}
.dark svg path.primary{
  fill: #c4161c;

}
header.navbar-light svg path{
  fill: #000;
}
header.navbar-light .cerrar svg{
  height: 34px;
  display: block;
}
header.navbar-light .cerrar svg polygon{
  fill: #c4161c !important;
}

header.navbar-light .navbar{
  border-top: 1px solid #c4161c;
}

header.navbar-light.nav-up .navbar{
  border-top-color: transparent;
}

header.navbar-light svg path.primary{
  fill: #c4161c;
}

header.navbar-light .nav-link, header.navbar-light .nav-link:hover, header.navbar-light .nav-link:focus {
  color: #757575;
}
.icn{
  width: 48px;
  height: auto;
}
h2 .icn{
  width: 48px;
  height: auto;
  margin-left: -60px;
}

h2 .icn.bl{  
  margin-left: 0px;
}
.banner {
  background-color: #c4161c;
  background-image: url(../img/icbc_premios-comex_lg.webp);
  background-size: cover;
  position: relative;
  z-index: 1;
  height: 100vh;
  margin-top:0px
}

.parallax {
  background-position: 50% 100%;
  background-size: cover;
  background-attachment: fixed;
}

.parallax.docs{  
  background-position: 0 65px;
}
.parallax.consorcios{
background-position: 100% 0;
}

/*.parallax.exp{
  background-position: left bottom;
}*/
.services-section-item{
  background-color: rgba(255, 255, 255, .9);
  margin: 0 3px;
  padding: 0 14px;
  height: 100%;
  transition: all .3s ease-in-out;
  cursor: pointer;
  height: 316px;
  overflow: hidden;
}
/*.services-section-item .services-item-title {
  font-weight: 800;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.3px;
  text-align: center;
  color: #757575;
  margin: 0;
  transition: all .3s ease-in-out;
}*/

.services-section-item {
  height: 100%; 
  height: 316px;
  text-align: center;
  padding: 0 14px;
  border: none;
}

.services-section-item h3{  
  font-size: 16px;
  line-height: 22px;
  color: rgba(117,117,117,1);
  margin: 1rem 0 0;
  transition: all ease .3s;
}

.services-section-item .icn{   
  margin: 80px auto 8px; 
  width: 48px;
  height: 48px;
}

.services-section-item ul{  
  font-size: 14px;
  line-height: 20px;
} 

.services-section-item:hover h3, .services-section-item:focus h3{  
  transform: translateY(-40px);
  color: rgba(255,255,255,1);
  text-align: left !important;
  margin-top: 0.5rem;
}

.services-section-item:hover .cont{
  transform: translateY(-70px);
}
.services-section-item:hover, .services-section-item:focus{
  height: 316px;
}
.related-news a {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 240px;
  outline: none;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  z-index: 4;
}

.related-news .btn-primary{
  z-index: 1;
}
.ganadores{
  background: linear-gradient(180deg, rgba(235, 235, 235, 1) 75%, rgba(255, 255, 255, 0) 75%);
  margin-bottom: -5rem !important;
  position: relative;
  z-index: 1;
}

.single h3.xs{
  font-size: 11px;
  line-height: 120%;
  font-weight: 400;
  font-family: 'gustanlpbook';
}

.red-global .nav-tabs{
   flex-direction: row;
}

.red-global .nav-link{
  text-align: center;
}

.counter {  
  font-size: 50px;
}

.tab-content {
  margin-bottom: 88px;
  padding-top: 54px;
  position: relative;
}

.docs{
  background-image: url(../img/docs-bg.webp);
  background-position: 0 7vw;
  background-size: cover;
  min-height: 494px;
}

.accordion-horizontal {
  height: 310px;
  flex-direction: row;
}

.accordion-horizontal.has-open .accordion-btn h3 {    
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 1.5rem 0;
  text-orientation: mixed;
  max-height: 100%;
}

.accordion-btn h3{
  width: 100%;
}

.accordion-body-h p{
  width: 600px
}

.listado{
  padding-top: 24px;
}
.listado h2{
  font-size: 2.25rem;
}
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
