body {
    font-family: Barlow;
    background: #E5E5E5;
    margin: 0;
}
.page {
    width: 100%;
    position: relative;
}
.header {
    background-image: url('../img/fatca_bck.png');
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding-top: 48px;
    display: flex;
    flex-direction: column;
}
.header .top {
    z-index: 1;
    position: relative;
}

.header .title {
    font-family: Barlow;
    font-style: normal;
    font-size: 48px;
    line-height: 130%;
    color: #FFFFFF;
    margin-top: 41px;
    margin-bottom: 118px;
    flex: auto;
    display: flex;
    align-items: center;
}

.page-header, .page-footer, .page {
    display: none;
}

.header .Dropdown {
    position: absolute;
    right: 0;
    top: 12px;
}

.header .AppBarTop-menuItem-language-item,
#DM-lang {
    text-transform: uppercase;
}

.header .Dropdown-menu {
    display: none;
}

.header .Dropdown-menu.is-opened {
    display: block;
}

.header .AppBarTop-menuItem {
    background: none;
    border: none;
    color: #EEEEEE;
    font-weight: 500;
}

.header .AppBarTop-menuItem img {
    margin-left: 10px;
}

.header .AppBarTop-menuItem-language-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

ul#DM-lang {
    width: 58px;
    list-style: none;
    padding: 0;
    text-align: center;
    left: 0;
}
ul#DM-lang.Dropdown-menu .Dropdown-item {
    justify-content: center;
}

.content,
.header .top,
.header .title {
    text-align: left;
    box-sizing: border-box;
    margin-left: 0;
}

form {
    position: relative;
    z-index: 10;
    padding-bottom: 30px;
}

.form-bloc {
    padding: 32px;
    padding-bottom: 8px;
    margin: auto;
    background: #FFFFFF;
    border: 1px solid #EAEEF6;
    box-sizing: border-box;
    box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04), 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    margin-bottom: 32px;
}
.form-bloc:nth-child(5) {
    text-align: center;
}

.form-bloc h1 {
    font-family: Barlow;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
    color: #454F5F;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin: 0px;
    margin-bottom: 24px;
}

.form-bloc .row {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.form-bloc .row.missing {
    border: 1px solid red;
}
.form-bloc .row.hidden {
    display: none;
}

.form-bloc .row label {
    font-family: Barlow;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #004C92;
    margin-bottom: 8px;
}

.form-bloc .row.checkbox {
    display: flex;
    align-items: center;
}

.form-bloc .row.checkbox label {
    font-family: Barlow;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 120%;
    color: #454F5F;
    padding-left: 4px;
}

.form-bloc .row.checkbox label .sub {
    font-size: 14px;
    color: #67768E;
}

.form-bloc .row .SelectAdvanced,
.form-bloc .row select,
.form-bloc .row textarea,
.form-bloc .row input[type="text"],
.form-bloc .row input[type="number"],
.form-bloc .row input[type="date"] {
    font-family: Barlow;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    display: flex;
    align-items: center;
    font-feature-settings: 'tnum' on, 'lnum' on;
    color: #454F5F;
    background: #FFFFFF;
    border: 1px solid #C4CEDE;
    box-sizing: border-box;
    border-radius: 4px;
    padding: 8px;
    min-height: 48px;
}

.form-bloc .row .SelectAdvanced span img {
    margin-right: 8px;
}

.form-bloc .row .SelectAdvanced {
    position: relative;
}

.form-bloc .row .SelectAdvanced:after {
    position: absolute;
    right: 0;
    width: 30px;
}

.form-bloc .row input.hidden,
.hidden {
    display: none;
}

.form-bloc .row.address {
    padding-top: 8px;
    position: relative;
    margin-bottom: 5px;
}

.form-bloc .row.address:last-of-type {
    margin-bottom: 0;
}

.form-bloc .row.address label {
    position: absolute;
    top: 0px;
    background: #FFFFFF;
    font-family: Barlow;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #67768E;
    margin-left: 8px;
    padding: 0 2px;
}

.form-bloc .row.address:nth-child(2) label:nth-child(4) {
    left: calc(25% + 8px);
}

.form-bloc .row.address:nth-child(3) label:nth-child(4) {
    left: calc(40% + 8px);
}

form .Dropdown-country {
    cursor: pointer;
    position: relative;
}

form .Dropdown-country-menu {
    display: none;
}

form .Dropdown-country-menu.is-opened {
    display: block;
    position: absolute;
    z-index: 100;
    overflow-x: auto;
    width: 100%;
    height: 180px;
    top: 45px;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 1px solid #C4CEDE;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

form .Dropdown-country-menu.is-opened::-webkit-scrollbar {
    display: none;
}

form .Dropdown-country-menu ul {
    list-style: none;
    background: #fff;
}

form .Dropdown-country-item {
    cursor: pointer;
    font-family: Barlow;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    display: flex;
    align-items: center;
    font-feature-settings: 'tnum' on, 'lnum' on;
    color: #454F5F;
    background: #FFFFFF;
    box-sizing: border-box;
    padding: 8px;
    margin: 0;
}

form .Dropdown-country-item.hidden {
    display: none;
}

form .Dropdown-country-item:hover {
    background: #ddd;
}

form .Dropdown-country-item-icon {
    padding: 0 5px;
}

.choose-button-group {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

/*select,*/
input,
textarea,
.SelectAdvanced,
.choose-button-group .choose-button {
    border-radius: .5em;
    background: #eee;
    border: 1px solid #ccc;
    font-size: 16px;
    padding: 5px;
}

.form-bloc h5 {
    font-family: Barlow;
    font-style: italic;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #454F5F;
    margin-bottom: 18px;
}

.form-bloc.missing,
.choose-button-group.missing .choose-button {
    border-color: red;
}

select,
textarea,
input {
    width: 100%;
}

input:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.choose-button-group .choose-button {
    flex: 1;
    padding: 8px;
    text-align: center;
    text-transform: capitalize;
    color: #454F5F;
    cursor: pointer;
    font-size: 16px;
    padding: 8px;
    background: #FFFFFF;
    box-sizing: border-box;
    border: 1px solid #EAEEF6;
    border-radius: 4px;
    max-width: 128px;
}

.choose-button-group .choose-button.selected {
    border: 1px solid #4D9ADF;
    box-shadow: inset 0px 8px 0px #4EABFF;
}

.row.checkbox {
    flex-direction: row;
}

.row.checkbox label {
    flex: 30;
}

.row.checkbox input {
    flex: 1;
    align-self: baseline;
    margin-top: 4px;
}

.row.address {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.row.address:nth-child(2) input:nth-child(1) {
    width: 25%;
}

.row.address:nth-child(2) input:nth-child(2) {
    flex: 1;
}

.row.address:nth-child(3) input:nth-child(1) {
    width: 40%;
}

.row.address:nth-child(3) input:nth-child(2) {
    flex: 1;
}

.row.address:nth-child(3) select,
.row.address:nth-child(3) .Dropdown-country {
    flex: 2;
}

#add-residence {
    color: #4C9ADF;;
    cursor: pointer;
    font-family: Barlow;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 24px;
}

#remove-residence {
    color: red;
    cursor: pointer;
    font-family: Barlow;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 24px;
}

.u-is-txt-blue-foyer {
    color: #004C92;
}

.Dropdown-country-item-label label {
    display: none;
}

#download-btn {
    background: #2957C8;
    border-radius: 4px;
    padding: 12px;
    font-family: Barlow;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    font-feature-settings: 'salt' on;
    color: #FFFFFF;
    align-items: center;
    cursor: pointer;
    margin-bottom: 24px;
    display: inline-flex;
}

#download-btn img {
    width: 14px;
    height: 18px;
    margin-right: 15px;
}

.content {
    padding: 32px 0;
}

.info-title {
    color: #454F5F;
    font-family: Barlow;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

.info-title span:first-child {
    flex: 8;
}

.info-title i {
    color: #4D9ADF;
    font-size: 24px;
}

.info-title,
.info-body {
    max-width: 536px;
    border-top: 1px solid #ccc;
    padding: 11px 0;
}

.info-body {
    display: none;
    font-family: Barlow;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 150%;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #003667;
    display: flex;
    box-sizing: border-box;
    z-index: 100;
    flex-wrap: wrap;
}

.footer a,
.footer a:visited {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 159%;
    display: flex;
    align-items: center;
    color: #88A2BB;
    padding-right: 10px;
    border-right: 1px solid #eee;
    margin-right: 10px;
    text-decoration: none;
}

.footer a:hover {
    color: #eee;
}

.footer span {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 159%;
    margin-left: auto;
    color: #88A2BB;
}

ul#fatca-birthcountry li:nth-child(5),
ul#fatca-address-country li:nth-child(5),
ul#fatca-delivery-address-country li:nth-child(5),
ul.residFiscal li:nth-child(4) {
    border-bottom: 20px solid #fff;
    position: relative;
}

ul#fatca-birthcountry li:nth-child(5):after {
    content: "autre";
    bottom: 0;
    width: auto;
    position: absolute;
    background: #fff;
    top: 50px;
    font-size: 12px;
    height: 12px;
    line-height: 1;
    margin: auto;
    left: 10%;
    padding: 0 5px;
}

ul#fatca-birthcountry li:nth-child(5):before {
    content: "";
    bottom: -9.5px;
    top: unset;
    width: 100%;
    left: 0;
    background: #C4CEDE;
    height: 1px;
    position: absolute;
}

.form-bloc .row textarea.missing,
.form-bloc .row input.missing,
.form-bloc .row select.missing,
.Dropdown-country.missing .SelectAdvanced,
.Dropdown-country.missing .Dropdown-country-menu.is-opened {
    border-color: red;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
.row.alert label {
    color: red;
}
.fatca-tool-nif {
    position: absolute;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    color: #4EABFF;
    right: 32px;
    cursor: pointer;
}
#fatca-tooltip {
    position: fixed;
    margin: auto;
    background: rgba(0,0,0,.5);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}
.disclaimer,
.tooltip-info {
    background: #EDF6FF;
    border-radius: 8px;
    font-size: 14px;
    line-height: 130%;
    color: #1A5A95;
    height: auto;
    padding: 16px;
    box-sizing: border-box;
    display: block;
}
.disclaimer {
    margin-bottom: 24px;
    text-align: left;
}
.tooltip-info {
    width: 95%;
    max-width: 472px;
}
.tooltip-info a,
.tooltip-info a:hover,
.tooltip-info a:visited {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}
#fatca-no-nif-row {
    padding-left: 25px;
}
@media all and (max-width: 1200px) {
    .form-bloc {
        width: 100%;
        max-width: none;
    }
    form {
        padding-bottom: 0;
    }
    .info-title, .info-body {
        max-width: 100%;
    }
    .header {
        position: relative;
    }
    .header:before {
        content: "";
        position: absolute;
        z-index: 5;
        left: -50%;
        top: 87%;
        height: 180%;
        width: 200%;
        border-radius: 75%;
        background: #E5E5E5;
    }
    .footer {
        position: relative;
    }
}
@media all and (max-width: 800px) {
    .header .title {
        font-size: 32px;
    }
    .header:before {
        top: 91%;
        height: 120%;
    }
    .footer span {
        min-width: 100%;
        margin-top: 30px;
        margin-bottom: 13px;
    }
    form {
        padding-bottom: 100px;
    }
}
@media all and (min-width: 1200px) {
    .header {
        min-height: 472px;
    }
    .content,
    .header .top,
    .header .title {
        max-width: calc(100% - 560px);
        padding-right: unset;
    }

    form {
        top: 48px;
        position: absolute;
        right: 0;
    }

    .form-bloc {
        width: 536px;
    }
}
@media all and (max-width: 1368px) {
    form, .header, .content {
        padding-left: 24px;
        padding-right: 24px;
    }
    .footer {
        padding: 11px 24px;
    }
}
@media all and (max-width: 500px) {
    .row.address {
        flex-direction: column;
    }

    .row.address:nth-child(2) input:nth-child(1),
    .row.address:nth-child(2) input:nth-child(2),
    .row.address:nth-child(3) input:nth-child(1),
    .row.address:nth-child(3) select {
        flex: 1;
        width: auto;
    }
    .form-bloc .row.address:nth-child(2) label:nth-child(4) {
        left: 0;
        top: 56px;
    }
    .form-bloc .row.address:nth-child(3) label:nth-child(4) {
        left: 0;
        top: 56px;
    }
    .footer {
        position: relative;
    }
    .footer span {
        margin-top: 6px;
        margin-bottom: 6px;
    }
    ul#DM-lang {
        top: 100px;
        height: 58px;
        right: 31px;
        left: unset;
    }
}
@media all and (min-width: 501px) and (max-width: 1368px) {
    ul#DM-lang {
        position: absolute;
        bottom: unset;
    }
    .Dropdown-item {
        margin: 0;
        padding: 0;
    }
}
@media all and (min-width: 1368px) {
    .content,
    .header .top,
    .header .title {
        margin-left: calc((100% - 1320px) / 2);
        width: 760px;
    }
    .footer {
        padding: 11px calc((100% - 1368px) / 2);
    }
    .content,
    .header .top,
    .header .title {
        max-width: unset;
    }

    .header .top {
        padding-right: 560px;
    }

    form {
        right: calc((100% - 1320px) / 2);
    }
}