﻿/* Generales */

/* Por alguna razon los enlaces no tienen los estilos globales */
.img-movil{
	display:none!important;
}
.link_bpd{
    font-size:14px;
    color: #00c1d5 !important;
    font-weight: 500;
    display: inline-flex;
    align-items: baseline;
}
.link_bpd:hover{
    color:#003b7a !important;
}
.link_bpd:before{
    font-family: 'BPD-icon-v2' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '';
    content: "\e901";
    font-size: 0.72em;
}

/* banner */

#banner {
    background-image: url(/empresarial/paginas/tarjetas/overview/images/Banner_Principal.webp);
    min-height: 550px;
    background-position: 90% 50%;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;

}

#banner .titulo-banner {
    margin-bottom: 20px;
}

#banner .descripcion {
    text-transform: none !important;
    margin-bottom: 16px;
}


/* Filtro */

#filtroContenedor {
    padding: 50px 0;
}

#filtroContenedor > * {
    margin-bottom: 20px;
}

#filtroContenedor .dropdown button {
    background: transparent;
    border: none;
    text-decoration: underline;
    text-underline-offset: 7px;
    padding: 0;
}

#filtroContenedor .dropdown-menu {
    left: 32%;
    top: 115%;
    padding: 0;
}

#filtroContenedor .dropdown-menu li {
    padding: 6px 12px;
    cursor: pointer;
}

#filtroContenedor .dropdown-menu li:hover {
    background-color: #e8e6df;

}

#botonComparador span{
    font-size: 12px;
}

.titulo-tarjetas .larimar_text{
	font-size: 22px !important;
}

#botonesFiltro .tooltip.bottom {
    padding: 6px 8px;
    margin-top: 3px;
    background-color: white;
    border-radius: 36px;
}

#botonesFiltro .tooltip.in {
    opacity: 1;
    box-shadow: 0px 4px 11px -2px rgba(0,0,0,0.25)
}

.tarjetaOverview .titulo-tarjetas{
    font-family: "Roboto";
    font-weight: 700 !important;
}

.tarjetaDescripcion .desc{
    margin: 0 0 10px;
    line-height: 1.2;
    text-transform: none !important;
    font-size: 1.4rem;
    color: gray;
    font-weight: 400;
}

#botonesFiltro .tooltip-inner {
    background-color: white;
    color: #01c1d5;
    max-width: 231px;
    pad: 7px 22px;
    border-radius: 17px;
}

#botonesFiltro .tooltip.bottom .tooltip-arrow {
    border-bottom-color: white;
    top: -9px;
    border-width: 0 5px 12px;
}

#botonesFiltro {
    background-color: #f8f8f8;
    padding: 20px 30px;
}

#botonesFiltro img {
    height: 42px;
    margin-bottom: 10px;
}

#botonesFiltro .col-md-6:first-child {
    border-right: 2px solid #01c1d5;
    padding-bottom: 10px;
    cursor: pointer;
}



/* Tarjetas */

.tarjetaOverview {
    padding-top: 60px;
    padding-bottom: 60px;
}

#contenedorTarjetasOverview > div:nth-of-type(even), #contenedorTarjetasOverview > section:nth-of-type(even) {
    background: url(/empresarial/paginas/tarjetas/overview/images/Rectangle_Back.svg) no-repeat;
    background-size: cover;
}



#contenedorTarjetasOverview > div:nth-of-type(4n+2), #contenedorTarjetasOverview > section:nth-of-type(4n+2) {
    background-position: -26% center;
}

#contenedorTarjetasOverview > div:nth-of-type(4n), #contenedorTarjetasOverview > section:nth-of-type(4n) {
    background-position: 126% center;
}

.tarjetaOverview .tarjetaDescripcion {
    margin-top: 20px;
    margin-bottom: 40px;
}

.tarjetaOverview .contenedorCaracteristicas .row {
    margin-bottom: 30px;
}

.tarjetaOverview .contenedorCaracteristicas p {
    margin-bottom: 0;
}

.tarjetaOverview .contenedorCaracteristicas img[src$="icon-sobregiro.svg"], .tarjetaOverview .contenedorCaracteristicas img[src$="Tasa_Regular_Icon.svg"] {
    width: 18px;
}

.tarjetaOverview .contenedorCaracteristicas img[src$="icon-emision.svg"] {
    width: 30px;
}

.tarjetaOverview .contenedorCaracteristicas .loungeKey img {
    width: 25px;
}

.tarjetaOverview .contenedorCaracteristicas .planLealtadDetalle {
    margin-top: 20px;
}

.tarjetaOverview .enlaces .justify_center {
    align-items: center;
    border-top: 2px solid #b2b2b2;
    padding-top: 20px;
}

.tarjetaOverview .enlaces a:first-child {
    margin-right: 20px;
}

/* Comparador */

#comparadorModal .modal-lg {
    width: 90%;
}

#comparadorModal .close {
    opacity: 1;
}

#comparadorModal .close:hover {
    background-color: transparent;
}

#comparadorModal .close span {
    color: #012169;
    opacity: 1;
    font-size: 30px;
}

#comparadorModal .modal-header {
    border-bottom: none;
}

#comparadorModal tr.sinBordes td {
    border: none;
}

#comparadorModal label {
    font-weight: 700;
    padding-left: 0;
}

#comparadorModal .checkbox input[type=checkbox] {
    margin-left: 7px;
}

#comparadorModal ul li {
    margin-right: 40px;
}

#comparadorModal #tarjetasSolicita img {
    height: 75px;
}

#comparadorModal #tarjetasSolicita {
    text-align: center;
}

#comparadorModal #tarjetasSolicita div .btn-blue {
    margin-top: 10px;
}

#comparadorModal table tr:not(.sinBordes):nth-child(even), #comparadorModal table .active {
    background-color: #ececec;
}

#comparadorModal table .active {
    text-align: start;
}

#comparadorModal table .planLealtadDetalle p {
    margin-bottom: 0;
}

#comparadorModal table .filaFiltro td {
    display: none;
}

#comparadorModal table .filaFiltro td:first-child, #comparadorModal table .filaFiltro td:nth-child(2), #comparadorModal table .filaFiltro td:nth-child(3) {
    display: table-cell;
}
#comparadorModal table .filaFiltro td:first-child{
    padding: 21px 32px;
}

#comparadorModal table tr:not(.sinBordes){
    text-align: center;
}

#comparadorModal table tr:not(.sinBordes) td {
    vertical-align: middle;
    padding: 16px 8px;
}

#comparadorModal table tr:not(.sinBordes) img[src$="icon-Check.svg"] {
    width: 20px;
}

#comparadorModal table .primerBorde {
    border-top-left-radius: 15px;
}

#comparadorModal table .primerBorde td {
    border-top: none;
}

#comparadorModal table .ultimoBorde {
    border-bottom-left-radius: 15px;
}

#comparadorModal table tr:not(.sinBordes):first-child td:first-child {
    border-top-left-radius: 15px;
}
#comparadorModal table tr:not(.sinBordes) td:first-child {
    border: none
}

#filtroComparador label {
    font-size: 12px;
}

/* Checkbox personalizados (Thank you Darlenys!) */

 #filtroComparador input {
    opacity: 0;
    cursor: pointer;
    height: 40px;
    width: 19px;
    z-index: 20;
    position: absolute;
    top: 0;
    right: -32px;
    height: 25px;
  }
  
  
  .checkboxPersonalizado {
    position: absolute;
    top: 0;
    right: -32px;
    height: 25px;
    width: 25px;
    background-color: transparent;
    box-shadow: 0px 1px 3px 0px rgba(0 0 0 / 19%) inset;
    border-radius: 5px;
  }
  
  
  #filtroComparador input:checked ~ .checkboxPersonalizado {
    background-color: #00c1d5;
  }
  
  .checkboxPersonalizado:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  #filtroComparador input:checked ~ .checkboxPersonalizado:after {
    display: block;
  }
  
  #filtroComparador .checkboxPersonalizado:after {
    left: 9px;
    top: 4px;
    width: 7px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  } 

  /* Calculadora */

  #calculadoraCashback .close {
    opacity: 1;
    text-align: right;
  }

  #calculadoraCashback button:hover {
    background-color: transparent;
  }

  #calculadoraCashback #iconoCalculadoraModal {
    width: 50px;
    margin-bottom: 15px;
  }

  #calculadoraCashback .modal-header {
    border-bottom: none;
  }

  #calculadoraCashback label {
    font-family: roboto;
  }



  #calculadoraCashback #caretSelect {
    position: absolute;
    top: 12px;
    right: 15px;
  }

  #calculadoraCashback .dropdown {
    cursor: pointer;
  }

  #calculadoraCashback .dropdown-menu {
    width: 100%;
  }

  #calculadoraCashback .dropdown-menu li {
    padding: 10px 15px;
  }

  #calculadoraCashback .dropdown-menu li:hover {
    background-color: #012169;
    color: white;
  }

#calculadoraCashback .consumos::-webkit-outer-spin-button,
#calculadoraCashback .consumos::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#calculadoraCashback .consumos {
  -moz-appearance: textfield;
}

#calculadoraCashback .modal-footer {
    border-top: none;
}

#calculadoraCashback .devolucionTotal {
    color: #555;
}

#calculadoraCashback .modal-header {
    padding-right: 0;
}

#calculadoraCashback .modal-content {
    padding: 10px 50px 10px 50px;
    border-radius: 35px;
}

  /* Helpers */

  .mb30 {
    margin-bottom: 30px;
  }



/* Responsive Lg  */

@media (max-width: 1440px) {
    .tarjetaOverview:nth-of-type(4n+2) {
        background-position: center;
    }

    .tarjetaOverview:nth-of-type(4n) {
        background-position: center;
    }

    #banner {
        background-position: 100% 0%;
        background-image: url(/empresarial/paginas/tarjetas/overview/images/Landing_Biz_Tablet.webp);
    }
}

/* Responsive md */
@media (max-width: 992px) {
    #banner {
        background-position: right;
        background-image: url(/empresarial/paginas/tarjetas/overview/images/Banner_Mobile-bg.webp);
    }

    #botonesFiltro .col-md-6:first-child {
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 2px solid #01c1d5;
        border-right: none;
    }


}

/* Responsive SM */

@media (max-width: 768px) {
    .tarjetaDescripcion .desc{
        font-size: 16px;
    }

    .tarjetaOverview .contenedorInfoTarjeta {
        display: flex;
        flex-direction: column;
    }

    .tarjetaOverview .contenedorInfoTarjeta .tarjetaDescripcion {
        order: 1;
        margin: 0 auto;
    }

    .tarjetaOverview .contenedorInfoTarjeta .tarjetaDescripcion img {
        max-width: 300px;
        width: 100%;
    }

    .tarjetaOverview .contenedorInfoTarjeta .contenedorCaracteristicas {
        order: 2;
    }

    #comparadorModal .table-responsive {
        border: none;
    }


    .img-movil{
		display:block!important;
		width: 350px;
	}

    #filtroComparador li {
        display: block;
    }

    #comparadorModal table tr td, #comparadorModal table .filaFiltro td:first-child {
        white-space: inherit;
        max-width: 180px;
    }

    #comparadorModal .modal-lg {
        width: 95%;
    }

    #comparadorModal table .filaFiltro td:first-child {
        padding: 21px 14px 32px 21px;
    }

    

}


/* Responsives extras (Thank you Darlenys!) */
@media (max-width: 1448px) {
    #contenedorTarjetasOverview > div:nth-of-type(4n+2), #contenedorTarjetasOverview > section:nth-of-type(4n+2) {
        background-position: center center;
    }

    #contenedorTarjetasOverview > div:nth-of-type(4n), #contenedorTarjetasOverview > section:nth-of-type(4n) {
        background-position: center center;
    }
}