/*  
 *  UX-TLC-T-622-350-Portal INTEC-v1
 *  August, 2022
 *  All rights reserved.
*/

:root {
    --main: #1470D1;
    --secondary: #00529B;
    --contrast: #7B1FA2;
    --optional1: #D0D0D0;
    --optional2: #CDDEEF;

    --white: #FFFFFF;
    --black: #222222;
    --gray: #757575;
    --bg_gray: #EFF7EF;
    --bg_white: #F8F8F8;
    --bg_blue: #E5EDF5;
    --border: #BAC9D8;
    --border_card: #D9D9DA;

    --green: #0D8731;
    --red: #D32222;
}

@font-face {
  font-family: 'Telcel Nova';
  font-style: normal;
  font-weight: 600;
  src: local('Telcel Nova Obscura'), local('TelcelNova-Obscura'),
        url('../fonts/TelcelNova-Obscura.otf') format('OpenType');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}


/* ==========================================
 * Definition: Body;
 * ========================================== */
html {
    position: relative;
    height: 100%!important;
    padding: 0;
    margin: 0;
    scroll-padding-top: 70px;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%!important;
    margin: 0;
    padding: 0;
    width: 100%;
    cursor: default;
    color: var(--black);
    font-size: 16px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    background-color: var(--white);
}
.page_content {
    flex-shrink: 0;
}


/* ==========================================
 * Definition: Estructure;
 * ========================================== */
/* ---- Text color ---- */
.text-secondary { color: var(--secondary)!important; }
/* ---- Custom ---- */
.mw-400 { max-width: 400px; }


/* ==========================================
 * Definition: Typography;
 * ========================================== */
h5 {
    margin: 16px 0;
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    font-family: 'Source Sans Pro', sans-serif;
}
p {
    margin: 10px 0;
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
}


/* ==========================================
 * Definition: Forms;
 * ========================================== */
/* ---- SECTION: CONTAINER; ---- */
.formblock .inputbox_icon {
    display: flex;
    flex-direction: column-reverse;
    text-align: left;
}

/* ---- SECTION: LABEL; ---- */
.inputlabel {
    position: relative;
    top: 16px;
    left: 8px;
    display: inline-block;
    color: var(--gray);
    font-weight: 700;
    z-index: 1;
}
.inputlabel span {
    display: inline-block;
    padding: 2px 6px;
    background-color: var(--white);
}
.formblock .inputbox:focus + label { color: var(--main); }
.inputlabel span b { font-weight: 400; }

/* ---- SECTION: INPUT TEXT; ---- */
.inputbox {
    display: block;
    margin: 4px auto;
    padding: 8px 16px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
}
.inputbox:focus {
    border-color: var(--main);
    outline: none;
}
.inputbox::placeholder { color: var(--border); }
.inputbox[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 10px;
    background:
    linear-gradient(45deg, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 43%,#000 45%,#000 55%,rgba(0,0,0,0) 57%,rgba(0,0,0,0) 100%),
    linear-gradient(135deg, transparent 0%,transparent 43%,#000 45%,#000 55%,transparent 57%,transparent 100%);
    opacity: .5;
}

/* ---- SECTION: INPUT TEXT WITH ICON; ---- */
.inputbox_icon { position: relative; margin: 0 auto }
.inputbox_icon.right .inputbox { padding-right: 48px; }
.inputbox_icon.left .inputbox { padding-left: 48px; }
.inputbox_icon.both .inputbox { padding-right: 48px; padding-left: 48px; }
.inputbox_icon i[class^='fa'] {
    position: absolute;
    top: 50%;
    color: var(--border);
    font-size: 16px;
    transform: translateY(-50%);
}
.formblock .inputbox_icon i[class^='fa'] {
    top: 60%;
    transform: none;
}
.inputbox_icon.right i[class^='fa'] { right: 16px; }
.inputbox_icon.left i[class^='fa'] { left: 16px; }
.inputbox_icon.both i[class^='fa']:not(.passW) { left: 16px; }
.inputbox_icon.both i[class^='fa'].passW { right: 16px; }

/* ---- Link icon ---- */
.inputbox_icon i[class^='fa'].passW {
    color: var(--main);
    cursor: pointer;
}
.inputbox_icon i[class^='fa'].passW:hover {
    color: var(--secondary);
}


/* ==========================================
 * Definition: Buttons;
 * ========================================== */
/* ---- SECTION: ANCHORS; ---- */
a:not(.button), a:not(.button):visited {
    display: inline-block;
    margin: 0;
    padding: 4px 0;
    color: var(--main);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}
a:not(.button):not(.disabled):active,
a:not(.button):not(.disabled):hover {
    color: var(--secondary)!important;
    text-decoration: underline;
}
a:not(.button).link_error,
a:not(.button).link_error:visited {
    color: var(--red);
}
a:not(.button):not(.disabled).link_error:active,
a:not(.button):not(.disabled).link_error:hover {
    color: var(--red)!important;
    text-decoration: underline;
}
a:not(.button):focus {
    z-index: 3;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}
a.disabled, a:disabled {
    opacity: .5;
    cursor: not-allowed;
}
a i[class^='fa'] {
    margin-top: -2px;
    vertical-align: middle;
    font-size: 14px;
}
a.icon_left i[class^='fa'] { margin-right: 4px; }
a.icon_right i[class^='fa'] { margin-left: 4px; }

/* ---- SECTION: BUTTONS; ---- */
.button {
    position: relative;
    display: inline-block;
    margin: 0;
    min-width: 40px;
    padding: 8px 24px;

    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    font-family: 'Source Sans Pro', sans-serif;
    text-align: center;
    text-decoration: none;

    border: 1px solid transparent;
    border-radius: 8px;
    transition: 0.3s;
}
.button:disabled { opacity: .5; cursor: not-allowed; }
a.button:focus, button:focus {
    z-index: 3;
    outline: 3px solid var(--border);   
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}
table td .button { padding: 8px; font-size: 14px; }

.btn_primary {
    color: var(--white);
    background-color: var(--contrast);
}
.btn_primary:active,
.btn_primary:hover {
    color: var(--white);
    background-color: #6A1B8B;
}





/*  
 *  UX-TLC-T-622-415-Amazon Prepago México-v1
 *  Marzo, 2024
 *  All rights reserved.
*/

/* ---- Definition: INGRESO DE NIP PRIME; ---- */
.img-prime { width: 100%; max-width: 180px; }
.prime-divisor {
    display: block;
    margin: 0 auto;
    width: 1px;
    height: 64px!important;
    background-color: var(--gray);
}

/* ---- Definition: Alertas; ---- */
.alert-border {
    position: relative;
    padding: 8px;
    padding-left: 52px;
    max-width: 400px;
    color: var(--black);
    border-radius: 4px;
    border: 1px solid transparent;
    border-left-width: 4px;
    z-index: 100;
}
.alert-border > i[class^='fa'] {
    position: absolute;
    top: 50%;
    left: 16px;
    font-size: 24px;
    transform: translateY(-50%);
}
.alert-border.alert-success {
    width: calc(100% - 24px);
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #EFF7EF;
    border-color: #DFECDF;
    border-left-color: var(--green);
}
.alert-border.alert-success i[class^='fa'] {
    color: var(--green);
}
.alert-border.alert-error {
    width: 100%;
    margin: 0 auto;
    text-align: left;
    background-color: #FDF2F2;
    border-color: #F7E6E6;
    border-left-color: var(--red);
}
.alert-border.alert-error p { font-weight: 400; }
.alert-border.alert-error i[class^='fa'] {
    color: var(--red);
}
.alert-border.alert-error-pop-up {
    width: calc(100% - 24px);
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #FDF2F2;
    border-color: #F7E6E6;
    border-left-color: var(--red);
}
.alert-border.alert-error-pop-up i[class^='fa'] {
    color: var(--red);
}

