/****** FONTS *******/

@font-face {
    font-family: 'SantanderMicroText';
    src: url('../fonts/SantanderMicroText/SantanderMicroTextW05-Rg.eot?#iefix');
    src: url('../fonts/SantanderMicroText/SantanderMicroTextW05-Rg.eot?#iefix') format('eot'),
    url('../fonts/SantanderMicroText/SantanderMicroTextW05-Rg.woff2') format('woff2'),
    url('../fonts/SantanderMicroText/SantanderMicroTextW05-Rg.woff') format('woff');
}

@font-face {
    font-family: 'SantanderMicroTextBold';
    font-weight: bold;
    src: url('../fonts/SantanderMicroText/SantanderMicroTextW05-Bold.eot?#iefix');
    src: url('../fonts/SantanderMicroText/SantanderMicroTextW05-Bold.eot?#iefix') format('eot'),
    url('../fonts/SantanderMicroText/SantanderMicroTextW05-Bold.woff2') format('woff2'),
    url('../fonts/SantanderMicroText/SantanderMicroTextW05-Bold.woff') format('woff');
}

@font-face {
    font-family: 'SantanderMicroText';
    font-style: italic;
    src: url('../fonts/SantanderMicroText/SantanderMicroTextW05-It.eot?#iefix');
    src: url('../fonts/SantanderMicroText/SantanderMicroTextW05-It.eot?#iefix') format('eot'),
    url('../fonts/SantanderMicroText/SantanderMicroTextW05-It.woff2') format('woff2'),
    url('../fonts/SantanderMicroText/SantanderMicroTextW05-It.woff') format('woff');
}

@font-face {
    font-family: 'SantanderMicroText';
    font-weight: 300;
    src: url('../fonts/SantanderMicroText/SantanderMicroTextW05-Light.eot?#iefix');
    src: url('../fonts/SantanderMicroText/SantanderMicroTextW05-Light.eot?#iefix') format('eot'),
    url('../fonts/SantanderMicroText/SantanderMicroTextW05-Light.woff2') format('woff2'),
    url('../fonts/SantanderMicroText/SantanderMicroTextW05-Light.woff') format('woff');
}

@font-face {
    font-family: 'SantanderMicroText';
    font-style: italic;
    font-weight: bold;
    src: url('../fonts/SantanderMicroText/SantanderMicroTextW05-BdIt.eot?#iefix');
    src: url('../fonts/SantanderMicroText/SantanderMicroTextW05-BdIt.eot?#iefix') format('eot'),
    url('../fonts/SantanderMicroText/SantanderMicroTextW05-BdIt.woff2') format('woff2'),
    url('../fonts/SantanderMicroText/SantanderMicroTextW05-BdIt.woff') format('woff');
}

@font-face {
    font-family: 'SantanderMicroText';
    font-weight: 300;
    font-style: italic;
    src: url('../fonts/SantanderMicroText/SantanderMicroTextW05-LtIt.eot?#iefix');
    src: url('../fonts/SantanderMicroText/SantanderMicroTextW05-LtIt.eot?#iefix') format('eot'),
    url('../fonts/SantanderMicroText/SantanderMicroTextW05-LtIt.woff2') format('woff2'),
    url('../fonts/SantanderMicroText/SantanderMicroTextW05-LtIt.woff') format('woff');
}

/****** RESET *******/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/****** GLOBAL *******/

body {
    background: #f2f2f2;
}

a:focus-visible, button:focus-visible {
    outline: #127277 auto 2px;
    outline-offset: 4px;
}

/****** GRID *******/

.santanderx__container {
    padding: 32px 6px;
}

.santanderx__container--white {
    padding: 32px 12px;
    position: relative;
    background: white;
    margin-bottom: 48px;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .santanderx__container--white {
        width: 50%;
        margin: 48px auto;
    }
}

.santanderx__footer-container {
    text-align: center;
}

/****** FORMS *******/

.santanderx__form-container--one-col {
    width: 100%;
    text-align: center;
}

.santanderx__form-container--one-col .santanderx__input {
    width: 100%;
    box-sizing: border-box;
}

.santanderx-input {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.santanderx__container-navigation * {
    font-family: 'SantanderMicroText', helvetica, arial, sans-serif;
}

.icon-c-SYS022b--close_L {
    font-size: 1.2rem;
    color: white;
}

.santanderx-input.container-captcha {
    margin: 32px 0 0;
}

input[type="date"] {
    -webkit-appearance: none;
}

.santanderx-input__input {
    width: 100%;
    min-height: 2.75rem;
    border-radius: 4px;
    border: solid 1px #d8d8d8;
    font-size: 14px;
    line-height: 1.33;
    letter-spacing: 0.3px;
    color: #272424;
    box-sizing: border-box;
    padding: 1rem 1.8rem 0 0.5rem;
}

.santanderx-input__input--readonly {
    color: #7e7e7e;
    cursor: not-allowed;
    background-color: #f0f0f0;
}

/* Hide eye button on Edge */
.santanderx-input__input::-ms-reveal, .santanderx-input__input::-ms-clear {
  display: none;
}

.santanderx-input__label {
    order: -1;
    padding-left: 5px;
    transition: all 0.3s ease-in;
    pointer-events: none;
    color: #9b9b9b;
    font-size: 14px;
    position: absolute;
    top: 15px;
    left: 5px;
    font-family: 'SantanderMicroText', helvetica, arial, sans-serif;
}

.santanderx-input__right-button {
    background-color: transparent;
    border: none;
    position: absolute;
    top: 9px;
    right: 5px;
    cursor: pointer;
}
.santanderx-input__right-button span {
    font-size: 24px;
}

.santanderx-input__input:focus + .santanderx-input__label {
    transform: translateY(-11px);
    font-size: 10px;
}

.santanderx-input__input:not(:placeholder-shown) + .santanderx-input__label {
    transform: translateY(-11px);
    font-size: 10px;
}

.santanderx__input::placeholder {
    color: #9b9b9b;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.43;
    letter-spacing: normal;
    opacity: 1;
}

.santanderx__input:-ms-input-placeholder {
    color: #9b9b9b;
}

.santanderx__input::-ms-input-placeholder {
    color: #9b9b9b;
}

.santanderx__input.invalid {
    border: solid 1px #e42424;
}
/****** INPUT DATE *******/

input::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
  }

::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-year-field { color: #9b9b9b; }
/****** END INPUT DATE *******/

/****** BUTTONS *******/

.santanderx__button {
    padding: 15px 27px 13px;
    border-radius: 24px;
    background-color: #ec0000;
    cursor: pointer;
    border: solid 1px #ec0000;

    font-family: 'SantanderMicroText', helvetica, arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.43;
    letter-spacing: normal;
    text-align: center;
    color: white;
    width: 100%;
    max-width: 326px;
    text-decoration: none;
}

.santanderx__button.santanderx__button-secondary {
    background-color: white;
    color: #ec0000;
}

/* button container */
.kc-form-buttons-container, .santanderx__container-buttons {
    margin: 32px 0 24px 0;
}

.santanderx__error-page .santanderx__container-buttons {
    display: flex;
}

.santanderx__link {
    font-family: 'SantanderMicroBold', helvetica, arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.43;
    letter-spacing: normal;
    text-align: center;
    color: #127277;
    text-decoration: none;
    cursor: pointer;
}

.santanderx__link:hover {
    text-decoration: underline;
}

.santanderx__text--small {
    font-family: 'SantanderMicroText', helvetica, arial, sans-serif;
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: center;
    color: #272424;
}

.santanderx__text--small .santanderx__link {
    font-size: 12px;
}

.santanderx__alert-text {
    font-family: 'SantanderMicroText', helvetica, arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    color: #ffffff;
}


/* Validation Email by code */
.santanderx-input-code__container {
    margin: 2rem auto;
}

.santanderx-input-code__code-section {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.santanderx-input-code__digit-box {
    display: block;
    width: 1.75rem;
    height: 3rem;
    border-radius: 0.5rem;
    border: 1px solid #8F8F8F;
    font-size: 1.5rem;
    color: #8F8F8F;
    text-align: center;
    margin: 0 0.25rem;
    /*Hide Browser Controls*/
    -moz-appearance: textfield; /* Firefox */
}

.santanderx-input-code__digit-box:focus {
    outline: 2px auto #127277;
}

/*Hide Browser Controls*/
.santanderx-input-code__digit-box::-webkit-inner-spin-button,
.santanderx-input-code__digit-box::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.santanderx-input-code__separator {
    display: flex;
    margin-right: 0.75rem;
    margin-left: 0.75rem;
    font-size: 1.5rem;
    color: #8F8F8F;
    align-items: center;
}

/* Style text paragraph */
.santanderx-light-paragraph-18 {
    font-family: SantanderMicroText;
    font-size: 	1.125rem;
    font-weight: 400;
    line-height: 1.5rem;
    letter-spacing: 0em;
    text-align: center;
    color: #444444;
}


.santanderx-bold-paragraph {
    font-family: SantanderMicroTextBold;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5rem;
    letter-spacing: 0em;
    text-align: center;
    color: #444444;
}

.santanderx-light-paragraph-16 {
    font-family: SantanderMicroText;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    letter-spacing: 0em;
    text-align: center;
    color: #444444;
}

.santanderx-send-code-again {
    display: flex;
    font-family: SantanderMicroTextBold;
    font-size: 0.875rem;
    line-height: 1.5rem;
    letter-spacing: 0em;
    text-align: center;
    color: #127277;
    background: none;
	border: none;
	padding: 0;
    cursor: pointer;
}

.santanderx-verify-email-icon {
    margin-right: 0.5rem;
}

.santanderx-send-code-success {
    display: flex;
    font-family: SantanderMicroText;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    letter-spacing: 0em;
    text-align: center;
    color: #008035;;
    background: none;
	border: none;
	padding: 0;
}

.santanderx-validate-code-btn {
    min-width: 100%;
    margin-bottom: 2rem;
}

.santanderx-validate-code-btn:focus {
    outline: 2px auto #127277;
    outline-offset: 4px;
}

@media (min-width: 1024px) {
    .santanderx-validate-code-btn {
        min-width: 23rem;
        margin-bottom: 2rem;
    }
}


.santanderx-error-box {
    color: #990000;
    font-family: SantanderMicroText;
    font-size: 	0.875rem;
    font-weight: 400;
    line-height: 1.25rem;
    letter-spacing: 0em;
    text-align: left;
}

.santanderx-code_invalid input {
    border: 1px solid #990000;
}

.mb1rem {
    margin-bottom: 1rem;
}
/* END Validation Email Code */

/************ Checkboxes ************/
.container-checkbox {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-top: 16px;
    margin-bottom: 8px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

.container-checkbox.santanderx-signup-checkbox__label {
    margin-bottom: 0;
}

label[for="thirdpartyDataSharing"] {
    margin-top: 12px;
}

  /* Hide the browser's default checkbox */
  .container-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }

  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: -2px;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: white;
    border: 1px solid #d8d8d8;;
  }


  /* When the checkbox is checked, add a blue background */
  .container-checkbox input:checked ~ .checkmark {
    background-color: #137e84;
    border: 2px solid #137e84;
  }

  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }

  /* Show the checkmark when checked */
  .container-checkbox input:checked ~ .checkmark:after {
    display: block;
  }

  /* Style the checkmark/indicator */
  .container-checkbox .checkmark:after {
    left: 4px;
    top: -2px;
    width: 7px;
    height: 14px;
    border: 2px solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.santanderx-signup-checkbox__label-link {
    color: inherit;
}

.santanderx-signup-checkbox {
    display: flex;
    padding: 0;
}

.santanderx-signup-checkbox__label {
    display: inline-block;
    font-size: 12px;
    font-family: 'SantanderMicroText', helvetica, arial, sans-serif;
    text-align: left;
    line-height: 1.33;
}

/* Style input info message */
.santanderx-input__info {
    margin: 6px 0 0 8px;
    font-family: 'SantanderMicroText';
    font-size: 12px;
    color: #272424;
    text-align: start;
    line-height: 1.33;
}

#termsAndConditionsError {
    margin: 1.3rem 0 0 0;
}

/* Style text info message */
.santanderx-text__info {
    margin: 0 0 32px;
    font-family: 'SantanderMicroText';
    font-size: 14px;
    color: #272424;
    text-align: center;
    line-height: 1.43;
}


/*  REGISTER NAV */

.santanderx__container-navigation {
    display: flex;
    justify-content: space-between;
    /* margin: 15px 0; */
    margin-bottom: 1rem;

}
.santanderx__login-navigation-back {
    background: none;
    border: none;
    cursor: pointer;
    color: red;
    display: flex;
    align-items: center;
}

.santanderx__languages-selector {
    border: none;
    font-family: 'SantanderMicroText', helvetica, arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.43;
    letter-spacing: normal;
    color: #272424;
    cursor: pointer;
    background: rgba(0,0,0,0) url(../images/down-arrow.png) no-repeat center;
    background-position-x: 60px;
    background-size: 26px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

.santanderx__language-extrasize {
    background-position-x: 135px;
    width: 158px;
}

#email, #username {
    text-transform: lowercase;
}

@media (min-width: 768px) {
    .santanderx__container-navigation {
        margin: 0 128px;
        margin-bottom: 1rem;
    }

    .santanderx-signup-checkbox {
        padding: 0 22%;
    }
}



/****** Validation errors  ******/

.error {
  color: #ec0000;
}
.invalid {
    border: solid 1px #e42424;
}
.hidden {
    display: none;
}

  /*********** Alerts ***********/

.santanderx__alert-container.santanderx__alert-container--error {
    background-color: #c80019;
    color: #ffffff;
    z-index: 2;
}

.santanderx__alert-container.santanderx__alert-container--info {
    background-color: #1bb3bc;
}

.santanderx__alert-container.santanderx__alert-container--warning {
    background-color: #f4aa47;
}

.santanderx__alert-container.santanderx__alert-container--success {
    background-color: #66bb6a;
}

.santanderx__alert-container {
    position: absolute;
    width: 100%;
    padding: 14px 19px 19px 16px;
    z-index: 1;
    box-sizing: border-box;
    font-family: 'SantanderMicroTextBold';
    font-size: 14px;
    line-height: 1.38;
    display: flex;
    justify-content: space-evenly;
    align-items: baseline;
}
.santanderx__alert-container button {
    background: none;
	border: none;
}
.santanderx__alert-container > a {
    color: #ffffff;
}

/*********** End Alerts ***********/
.bold {
    font-weight: bold;
}
.resend__email:disabled {
    opacity: 50%;
}
.submit-register:disabled {
    opacity: 50%;
    cursor: not-allowed;
}

/*********** Tab legal labels ***********/
.santanderx-signup-terms-wrapper.santanderx-tab-user .santanderx-signup-user {
    display: inline-block;
}
.santanderx-signup-terms-wrapper.santanderx-tab-user .santanderx-signup-institution {
    display: none;
}
.santanderx-signup-terms-wrapper.santanderx-tab-institution .santanderx-signup-user {
    display: none;
}
.santanderx-signup-terms-wrapper.santanderx-tab-institution .santanderx-signup-institution {
    display: inline-block;
}
.santanderx-signup-terms-wrapper.santanderx-tab-user span.santanderx-signup-user {
    display: inline;
}
.santanderx-signup-terms-wrapper.santanderx-tab-institution span.santanderx-signup-institution {
    display: inline;
}

/*** Show/hide select all checkbox ***/
.santanderx-signup-checkbox.santanderx-tab-user  #all-terms-checkbox {
    display: inline-block;
}
.santanderx-signup-checkbox.santanderx-tab-institution  #all-terms-checkbox {
    display: none;
}

/*********** Select Tabs ***********/

.santanderx-tab-wrapper.santanderx-tab-user .santanderx-signup-table-user {
    display: block;
}
.santanderx-tab-wrapper.santanderx-tab-user .santanderx-signup-table-institution {
    display: none;
}
.santanderx-tab-wrapper.santanderx-tab-institution .santanderx-signup-table-user {
    display: none;
}
.santanderx-tab-wrapper.santanderx-tab-institution .santanderx-signup-table-institution {
    display: block;
}

/*********** Select Tabs Buttons***********/
.santanderx-tab-button {
    border: none;
    font-family: "SantanderMicroText",sans-serif;
    font-weight: bold;
    cursor: pointer;
    color: #272424;
    font-size: 16px;
    padding: 20px 8px 12px 0;
    min-height: 50px;
    background: #fff;
    margin-left: 20px;
}

.santanderx-tab-wrapper.santanderx-tab-institution .santanderx-button-institution {
    border-bottom: 4px solid #ec0000;
}

.santanderx-tab-wrapper.santanderx-tab-institution .santanderx-button-user {
    border-bottom: none;
}

.santanderx-tab-wrapper.santanderx-tab-user .santanderx-button-user {
    border-bottom: 4px solid #ec0000;
}

.santanderx-tab-wrapper.santanderx-tab-user .santanderx-button-institution {
    border-bottom:none;
}

.santanderx-signup-table__row.santanderx-recaptcha {
    border-bottom: none;
}

/* A11Y */
.screen-reader-only {
    position: absolute;
    left: -10000rem;
    top: auto;
    width: 1rem;
    height: 1rem;
    overflow: hidden;
}

.mb1rem {
    margin-bottom: 1rem;
}

.split-paragraph {
    height: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.split-paragraph > span {
    display: block;
} 