/* ============================================================== 
    # General Styles
============================================================== */

@import"https://fonts.bunny.net/css?family=Nunito";
@font-face {
    font-family: "Raleway-Regular";
    src: url("../fonts/raleway-regular-webfont.eot");
    src: url("../fonts/raleway-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/raleway-regular-webfont.woff") format("woff"), url("../fonts/raleway-regular-webfont.ttf") format("truetype"), url("../fonts/raleway-regular-webfont.svg#Raleway-Regular") format("svg");
}

@font-face {
    font-family: "Avenir-Next-LT-W01-Condensed";
    src: url("../fonts/Avenir-Next-LT-W01-Condensed.eot");
    src: url("../fonts/Avenir-Next-LT-W01-Condensed.eot?#iefix") format("embedded-opentype"), url("../fonts/Avenir-Next-LT-W01-Condensed.woff") format("woff"), url("../fonts/Avenir-Next-LT-W01-Condensed.ttf") format("truetype"), url("../fonts/Avenir-Next-LT-W01-Condensed.svg#Avenir-Next-LT-W01-Condensed") format("svg");
}

* {
    padding: 0;
    margin: 0;
}

html {
    width: 100%;
    position: relative;
    overflow: visible;
}

html,
body,
.wrapper {
    height: 100%;
}

body {
    font-family: "Nunito", sans-serif;
    font-size: calc(15px + (16 - 15) * ((100vw - 300px) / (1600 - 300)));
    font-weight: 400;
    overflow-x: hidden;
    height: 100vh;
    color: #575757;
    background-image: url(../img/fondo.png);
    background-position-x: center;
    background-position-y: -240px;
    background-repeat: no-repeat;
    background-color: #f2f2f2;
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1210px;
    }
}

@media (max-width: 1399.98px) {
    .bg-home {
        background-position-y: -270px;
    }
}

@media (max-width: 1199.98px) {
    .bg-home {
        background-position-y: -320px;
    }
}

@media (max-width: 767.98px) {
    .bg-home {
        background-position-y: -360px;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #575757;
    font-weight: bold;
    line-height: 1.2;
    font-family: "Raleway-Regular", sans-serif;
    margin-top: 0;
    margin-bottom: 15px;
}

h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
    color: #bf0d0d;
}

h1 {
    font-size: calc(24px + (30 - 24) * ((100vw - 300px) / (1600 - 300)));
}

h2 {
    font-size: calc(18px + (24 - 18) * ((100vw - 300px) / (1600 - 300)));
}

h3 {
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1600 - 300)));
}

h4 {
    font-size: calc(15px + (18 - 15) * ((100vw - 300px) / (1600 - 300)));
}

h5 {
    font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1600 - 300)));
}

h6 {
    font-size: calc(14px + (15 - 14) * ((100vw - 300px) / (1600 - 300)));
}

img {
    border: none;
    outline: none;
    max-width: 100%;
}

label {
    display: inline-block;
    font-family: "Nunito", sans-serif;
    font-weight: normal;
    margin-bottom: 0;
    max-width: 100%;
}

a,
.btn,
button {
    transition: all 0.35s ease-in-out;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -ms-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    outline: medium none;
}

a img,
iframe {
    border: none;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: inherit;
}

ul {
    margin: 0;
    list-style-type: none;
}

a,
a:active,
a:focus,
a:hover {
    outline: none;
    text-decoration: none;
    color: #bf0d0d;
}

a {
    transition: all 0.35s ease-in-out;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -ms-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    text-decoration: none;
}

b,
strong {
    font-weight: 800;
}

.btn.active,
.btn:active {
    background-image: inherit !important;
}

.btn.focus,
.btn:active:focus,
.btn:active:hover,
.btn:focus,
.btn:hover {
    outline: 0;
}

.btn.active,
.btn:active {
    outline: 0;
    -webkit-box-shadow: inherit;
    box-shadow: inherit;
}

input {
    border: 1px solid #e7e7e7;
    border-radius: inherit;
    box-shadow: inherit;
}

.logo {
    max-width: 220px;
}

@media (max-width: 991.98px) {
    .logo {
        max-width: 180px;
    }
}

header {
    background-color: #f2f2f2;
    -webkit-box-shadow: 0 0 24px 0 rgb(0 0 0 / 6%), 0 1px 0 0 rgb(0 0 0 / 2%);
    box-shadow: 0 0 24px 0 rgb(0 0 0 / 6%), 0 1px 0 0 rgb(0 0 0 / 2%);
}

.text-cpmp {
    color: #bf0d0d;
}

.font-16 {
    font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1600 - 300)));
}

.font-18 {
    font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1600 - 300)));
}

.font-20 {
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1600 - 300)));
    line-height: 1.2;
}

.alert {
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.alert-info {
    background-color: #d8f1fd;
    border-color: #d8f1fd;
    color: #086d81;
}

.bg-muted {
    background-color: #e5e7e9;
}


/* ============================================================== 
    # Footer Styles
============================================================== */

footer {
    background-color: #bf0d0d;
    color: #ffffff;
    font-size: 16px;
    padding: 1.5rem 0;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
}

footer .social ul {
    padding: 0;
}

footer .social li {
    display: inline-block;
}

footer .social ul li a {
    align-items: center;
    border-radius: 8px;
    color: #fff;
    display: block;
    display: flex;
    font-size: 18px;
    font-size: 20px;
    height: 40px;
    justify-content: center;
    text-align: center;
    width: 40px;
}

footer .social li a:hover {
    background-color: rgba(255, 255, 255, .2);
}


/* header {
    height: 104px;
}

main {
    min-height: calc(100vh - 104px - 88px);
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 88px;
} */


/* ============================================================== 
    # Sweet Alert
============================================================== */

@media (max-width: 575.98px) {
    div:where(.swal2-container) div:where(.swal2-popup) {
        width: 90%;
    }
}


/* ============================================================== 
    # Owl Carousel
============================================================== */

.owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: 30px;
}


/* ============================================================== 
    # Navegación
============================================================== */

.nav-item a,
.nav-item a:link,
.nav-item a:visited {
    color: #575757;
    font-weight: bold;
    padding: 6px 12px !important;
}

.nav-item a:hover,
.nav-item a.active,
.nav-item a.focus {
    color: #bf0d0d;
}

.nav-item i {
    font-weight: bold;
    font-size: 110%;
    margin-right: 6px;
}

.navbar-toggler,
.navbar-toggler:hover {
    color: #000;
    font-size: 28px;
}

.navbar-toggler:focus {
    outline: 0;
}

@media (max-width: 767.98px) {
    .nav-item {
        border-bottom: 1px solid #ddd;
    }
    .nav-item:last-child {
        border-bottom: 0;
    }
}


/* ============================================================== 
    # Tablas
============================================================== */

.table {
    border-radius: .25rem;
}

.table thead th:nth-child(1) {
    border-top-left-radius: .25rem;
}

.table thead th:last-child {
    border-top-right-radius: .25rem;
}

.table th {
    background-color: rgba(0, 0, 0, .25);
}

.table>:not(caption)>*>* {
    border-bottom: 0;
}

.page-link {
    color: #575757;
}

.page-link:hover {
    color: #575757;
}

.page-link:focus,
.page-link:active {
    color: #575757;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.page-item.active .page-link {
    background-color: #666;
    border-color: #666;
    color: #ffffff;
}


/* ============================================================== 
    # Eli
============================================================== */

.eli-register {
    margin-right: -140px;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .eli-register {
        margin-right: -120px;
    }
}

@media (max-width: 768px) {
    .eli-register {
        margin-right: -90px;
    }
}

@media (max-width: 576px) {
    .eli-register {
        margin-right: -60px;
    }
}

.eli-register {
    width: 110px;
    margin-right: -15px;
    z-index: 1;
}

.eli-register-vacio {
    width: 95px;
}

@media (max-width: 768px) {
    .eli-register {
        width: 90px;
        margin-right: -10px;
        z-index: 1;
    }
    .eli-register-vacio {
        width: 80px;
    }
}

.eli-login {
    width: 110px;
    margin-left: -15px;
    z-index: 1;
}

.eli-login-vacio {
    width: 95px;
}

@media (max-width: 768px) {
    .eli-login {
        width: 90px;
        margin-left: -10px;
        z-index: 1;
    }
    .eli-login-vacio {
        width: 80px;
    }
}

.eli-referidos {
    width: 110px;
    margin-left: -25px;
    z-index: 1;
}

.eli-referidos-vacio {
    width: 85px;
}

@media (max-width: 768px) {
    .eli-referidos {
        width: 90px;
        margin-left: -20px;
        z-index: 1;
    }
    .eli-referidos-vacio {
        width: 70px;
    }
}


/* ============================================================== 
    # Cómo funciona
============================================================== */

.step {
    background-color: #e6e6e6;
    background: linear-gradient(135deg, #e6e6e6, #d9d9d9);
    border-radius: 16px;
    padding: 20px;
    line-height: 1.2;
    text-align: center;
    min-height: 135px;
}

.step .number {
    background-color: #bf0d0d;
    color: #ffffff;
    width: 45px;
    height: 45px;
    text-align: center;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    line-height: 2.3;
    margin: -42px auto auto auto;
}

.step .description {
    height: 80px;
    text-align: center;
    font-size: 13px;
    text-wrap: balance;
}


/* ============================================================== 
# Card
============================================================== */

.card {
    background-color: #e6e6e6;
    background: linear-gradient(135deg, #e6e6e6, #d9d9d9);
    border-color: #e6e6e6;
    border-radius: .8rem;
    padding: 2rem 2.5rem;
}

@media (max-width: 767.98px) {
    .card {
        border-radius: .5rem;
        padding: 1.5rem;
    }
}


/* ============================================================== 
    # Form Styles
============================================================== */

.form-control,
.form-select {
    color: #575757;
    border-color: #ffffff;
    border-radius: 0.25rem;
    padding: .5rem .75rem;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: #ced4da;
    -webkit-box-shadow: 0 0 0 .2rem rgba(206, 212, 218, .5);
    box-shadow: 0 0 0 .2rem rgba(206, 212, 218, .5);
}

.form-check-input:checked {
    background-color: #444;
    border-color: #444;
}

.form-check-input[type=checkbox] {
    border-radius: 0;
}

.form-check a {
    color: #444;
    text-decoration: underline;
}

.form-control::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: rgb(87 87 86 / 50%);
    opacity: 1;
    /* Firefox */
}

.form-control:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: rgb(87 87 86 / 50%);
}

.form-control::-ms-input-placeholder {
    /* Microsoft Edge */
    color: rgb(87 87 86 / 50%);
}

.invalid-feedback,
.form-error {
    color: #dc3545;
    font-size: 75%;
    line-height: 1;
}

.required {
    color: #dc3545;
}


/* ============================================================== 
    # Buttons Styles
============================================================== */

.btn-primary {
    color: #fff;
    background-color: #bf0d0d;
    border-color: #bf0d0d;
}

.btn-primary:hover {
    color: #fff;
    background-color: #ad0f0a;
    border-color: #ad0f0a;
}

.btn-primary.focus,
.btn-primary:focus {
    color: #fff;
    background-color: #ad0f0a;
    border-color: #ad0f0a;
    -webkit-box-shadow: 0 0 0 .2rem rgba(173, 15, 10, .5);
    box-shadow: 0 0 0 .2rem rgba(173, 15, 10, .5);
}

.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff;
    background-color: #bf0d0d;
    border-color: #bf0d0d;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #ad0f0a;
    border-color: #ad0f0a;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 .2rem rgba(173, 15, 10, .5);
    box-shadow: 0 0 0 .2rem rgba(173, 15, 10, .5);
}

.btn-outline-primary {
    color: #bf0d0d;
    background-color: #fff;
    border-color: #bf0d0d;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #bf0d0d;
    border-color: #bf0d0d;
}

.btn-outline-primary.focus,
.btn-outline-primary:focus {
    color: #fff;
    background-color: #bf0d0d;
    border-color: #bf0d0d;
    -webkit-box-shadow: 0 0 0 .2rem rgba(191, 13, 13, .5);
    box-shadow: 0 0 0 .2rem rgba(191, 13, 13, .5);
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
    color: #fff;
    background-color: #bf0d0d;
    border-color: #bf0d0d;
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show>.btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #bf0d0d;
    border-color: #bf0d0d;
}

.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-outline-primary.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 .2rem rgba(191, 13, 13, .5);
    box-shadow: 0 0 0 .2rem rgba(191, 13, 13, .5);
}

.btn-secondary {
    color: #fff;
    background-color: #505d69;
    border-color: #505d69;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #636678;
    border-color: #5d6071;
}

.btn-secondary.focus,
.btn-secondary:focus {
    color: #fff;
    background-color: #636678;
    border-color: #5d6071;
    -webkit-box-shadow: 0 0 0 .2rem rgba(137, 140, 158, .5);
    box-shadow: 0 0 0 .2rem rgba(137, 140, 158, .5);
}

.btn-secondary.disabled,
.btn-secondary:disabled {
    color: #fff;
    background-color: #505d69;
    border-color: #505d69;
}

.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show>.btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #5d6071;
    border-color: #575a6a;
}

.btn-secondary:not(:disabled):not(.disabled).active:focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus,
.show>.btn-secondary.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 .2rem rgba(137, 140, 158, .5);
    box-shadow: 0 0 0 .2rem rgba(137, 140, 158, .5);
}


/* ============================================================== 
    # Términos y condiciones
============================================================== */

.terms {
    font-size: 90%;
    line-height: 1.2;
    text-align: justify;
    max-height: 500px;
}

.terms p,
.terms ul,
.terms ol {
    margin-bottom: 0.5rem;
}

.terms ul {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}


/* ============================================================== 
# SweetAlert2
============================================================== */

.swal2-title {
    font-size: 1.5em !important;
}

.swal2-styled.swal2-confirm {
    background-color: #bf0d0d !important;
}

.swal2-styled.swal2-confirm:focus,
.swal2-styled.swal2-confirm:active {
    -webkit-box-shadow: 0 0 0 .2rem rgba(173, 15, 10, .5) !important;
    box-shadow: 0 0 0 .2rem rgba(173, 15, 10, .5) !important
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
  
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
  }

  .text {
    text-transform: lowercase;
  }
  
  .text::first-line {
    text-transform: capitalize;
  }

  #popupContainer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

#iframePopup {
    width: 80%;
    height: 80%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

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

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 50px; height: 50px;
  margin: 20px auto;
  animation: spin 1s linear infinite;
}

.spinner-border {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  vertical-align: text-bottom;
  border: 0.15em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
  100% { transform: rotate(360deg); }
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

