.header {
    color: var(--color-white);
    background-color: var(--color-default-black);
}

.header__top {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

    .header__top p {
        letter-spacing: 0.064px;
    }

    .header__top .lang {
        display: flex;
        justify-content: flex-end;
    }

        .header__top .lang i {
            margin-right: 10px;
            display: flex;
            align-items: center;
        }

    .header__top ul {
        display: flex;
        align-items: center;
        text-transform: uppercase;
    }

        .header__top ul li:not(:last-child) {
            margin-right: 8px;
            color: var(--color-brown);
        }

        .header__top ul li:not(:first-child)::before {
            content: "";
            display: inline-block;
            vertical-align: middle;
            width: 3px;
            height: 3px;
            border-radius: 200px;
            background-color: var(--color-white);
            margin-right: 8px;
        }

.lang a {
    vertical-align: middle;
}

.header__top .btn-logout {
    font-size: 0.875rem;
    line-height: 32px;
    letter-spacing: 0.64px;
    padding: 0 1rem;
    color: var(--color-white);
    margin-left: 20px;
    background-color: transparent;
    /* border-color: var(--color-white); */
}

    .header__top .btn-logout:hover {
        color: var(--color-white);
        background-color: rgba(255, 255, 255, 0.5);
        border-color: rgba(255, 255, 255, 0.5);
    }

.header__bot {
    display: flex;
    padding: 30px 0;
    align-items: center;
}

    .header__bot .logo-url {
        display: flex;
        align-items: center;
        font-size: 12px;
        letter-spacing: 0.25rem;
    }

@media screen and (min-width: 375px) {
    .header__bot .logo-url {
        font-size: 20px;
    }
}

@media screen and (min-width: 450px) {
    .header__bot .logo-url {
        font-size: 1.5rem;
    }
}

.header__bot img {
    margin: 0 6px;
}

.header__bot .hamburger {
    font-size: 0.875rem;
    letter-spacing: 0.64px;
    line-height: 32px;
    color: var(--color-white);
    border: 2px solid var(--color-grey);
    background-color: transparent;
    display: none;
    padding: 4px 24px;
    margin-bottom: 1rem;
}

    .header__bot .hamburger svg {
        pointer-events: none;
    }

    .header__bot .hamburger:hover {
        background-color: rgba(255, 255, 255, 0.5);
        border-color: rgba(255, 255, 255, 0.5);
    }

    .header__bot .hamburger:focus,
    .header__bot .hamburger:focus-visible {
        outline: none;
        box-shadow: 0 0 0 .25rem rgba(130,138,145,.5);
    }

.menu {
    max-width: 700px;
    transform: translateX(-100%) scaleX(0);
    position: fixed;
    padding: 20px 15px;
    z-index: 9999;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--color-default-black);
    text-transform: uppercase;
    text-align: left;
    font-size: 1.25rem;
    transition: all 0.5s;
}

@media screen and (min-width: 768px) {
    .menu {
        padding: 40px 80px 40px 40px;
    }
}



.menu.open {
    transform: translateX(0) scaleX(1);
}

.header__bot .menu a,
.header__bot .menu .has-sub-menu {
    padding: 20px 0px 20px 20px;
    height: auto;
    width: 100%;
    line-height: 1;
    color: var(--color-white);
}

.header__bot .menu .has-sub-menu {
    padding: 20px 0 0 20px;
}

    .header__bot .menu .has-sub-menu.expand {
        padding: 10px 0 10px 20px;
    }

        .header__bot .menu .has-sub-menu.expand > div {
        }


    .header__bot .menu a:hover,
    .header__bot .menu a:active,
    .header__bot .menu .has-sub-menu:hover,
    .header__bot .menu .has-sub-menu:active,
    .header__bot .menu .has-sub-menu a:hover,
    .header__bot .menu .has-sub-menu a:active {
        color: var(--color-brown);
    }

.menu .list .list-item {
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

.has-sub-menu span {
    background: url('../icons/CHEVRON-DOWN.svg') no-repeat right 10px;
}

.has-sub-menu > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.has-sub-menu > li {
    display: block;
    opacity: 0;
    height: 0;
    transform: scaleY(0);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    transform-origin: top;
}

.has-sub-menu.expanded li:first-of-type {
    margin-top: 5px;
}

.has-sub-menu.expanded li:last-of-type a {
    border-bottom: none;
}

.header__bot .menu .has-sub-menu a {
    color: rgba(255,255,255, 0.8);
    font-size: 1rem;
    line-height: 20px;
    letter-spacing: 0.73px;
    padding: 1rem 0;
    border-bottom: 1px solid
}

.menu .list .expand span {
    display: inline-block;
    height: 42px;
    width: 42px;
    border: 2px solid var(--color-white);
    background: url('../icons/CHEVRON-DOWN.svg') no-repeat center;
}

.menu .list .expanded span {
    background: url('../icons/CHEVRON-UP.svg') no-repeat center;
}

.menu .list .expanded > li {
    opacity: 1;
    height: 100%;
    transform: scaleY(1);
}

.side-nav__close-menu-btn {
    color: var(--color-white);
    border-color: var(--color-white);
    float: right;
    padding-right: 34px;
    background: url('../icons/x.svg') no-repeat;
    background-size: 1.2rem 1.2rem;
    background-position: calc(100% - 12px) center;
}

.side-nav__lang {
    padding-left: 20px;
    display: flex;
    flex-flow: row wrap;
    justify-content: start;
    align-items: center;
}

    .side-nav__lang ul {
        display: flex;
        flex-wrap: wrap;
    }

        .side-nav__lang ul li:first-child a {
            color: var(--color-brown);
        }

#side-nav .btn-logout {
    color: var(--color-white);
    border-color: var(--color-white);
    background-color: transparent;
    position: absolute;
    bottom: 20px;
    left: 15px;
    padding: 12px 32px;
}

@media screen and (min-width: 768px) {
    #side-nav .btn-logout {
        bottom: 40px;
        left: 40px;
    }
}


#side-nav .btn-logout:hover {
    background-color: var(--color-grey);
    border-color: #6c757d;
}

.navigation {
    display: flex;
    align-items: center;
}

    .navigation .link-holder:not(:last-child) {
        margin-right: 10px;
    }

    .navigation .link-holder .selected-nav-item {
        color: var(--color-brown);
    }

    .navigation .link-holder:last-child .link {
        padding-right: 0;
    }

    .navigation .link {
        font-size: 1.25rem;
        line-height: 1.375rem;
        letter-spacing: 1px;
        padding: 12px 18px;
        height: auto;
    }

.header__bot a {
    display: inline-block;
    height: 52px;
}

.header__bot img {
    height: 20px;
    width: auto;
}

@media screen and (min-width: 375px) {
}

@media screen and (min-width: 450px) {
    .header__bot img {
        height: inherit;
        width: auto;
    }
}

.main-content .container .content-header {
    position: relative;
    margin-bottom: 60px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(151, 151, 151, 0.25);
}

.main-content .container .content-header--company {
    margin-bottom: 30px;
}

.main-content .container .content-header::before {
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
    background-color: var(--color-white);
}

.main-content .container .content-header::after {
    content: "";
    width: 6px;
    height: 6px;
    position: absolute;
    left: 50%;
    bottom: -7px;
    transform: translate(-50%, -50%);
    background-color: rgba(151, 151, 151, 0.25);
    border-radius: 2000px;
}

.main-content .container .content-header .title {
    text-align: center;
    font-size: 1rem;
    line-height: 2;
    text-transform: uppercase;
    font-weight: bold;
}

.main-content .container .content-header--company .title {
    text-align: start;
    color: var(--color-grey);
}

#login-header {
    margin-bottom: 10px;
}

#account-required-header {
    font-weight: bold;
}

.login-form label {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.64px;
    line-height: 2rem;
    /*text-transform: uppercase;*/
}

.login-form input {
    padding: 17px;
}

.login-form select {
    padding: 17px;
}

.login-form a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.paying-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

    .paying-methods img:not(:last-child) {
        margin-right: 10px;
    }

.content-representing > h2 {
    font-weight: bold;
    font-size: 2.25rem;
    line-height: 2.875rem;
    letter-spacing: 0.78px;
    margin-bottom: 18px;
}

.content-representing > p {
    font-size: 1.125rem;
    line-height: 1.75rem;
    letter-spacing: 0.41px;
}

.content-representing > ul,
.content-representing > form {
    margin-top: 46px;
}

.list-group-flush p,
.list-group-flush label {
    color: var(--color-grey);
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: bold;
}

.list-group-flush a {
    color: var(--color-grey);
    font-size: 0.875rem;
    line-height: 32px;
    letter-spacing: 0.64px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 16px;
}

.list-group-item input {
    margin-top: 0.5em;
}

.form-check-label {
    vertical-align: text-top;
}

.form-check-wrapper {
    padding: 20px;
    background-color: var(--background-blue);
}

    .form-check-wrapper label .checkbox-label {
        font-weight: bold;
    }

.form-actions {
    margin-top: 30px;
}

    .form-actions button,
    .form-actions a {
        text-transform: uppercase;
        padding: 14px 32px;
    }

.table--company {
    /*margin-top: 30px;*/
    color: var(--color-grey);
    font-size: 1.125rem;
    line-height: 1.75rem;
}

    .table--company tbody th {
        font-weight: normal;
    }

    .table--company tbody tr:nth-child(2n) {
        background-color: rgba(172, 213, 242, 0.25);
    }

    .table--company .company-table-caption {
        caption-side: top;
        font-size: 1em;
        color: #212529;
    }

td .btn {
    font-size: 0.875rem;
    padding: 0 16px;
    line-height: 32px;
}

.company-info {
    position: relative;
    margin-top: 48px;
    padding: 20px;
    border: 1px solid black;
}

    .company-info .legend,
    .company-table-wrapper .legend {
        font-size: 0.875rem;
        position: absolute;
        top: -8px;
        left: 10px;
        display: inline-block;
        padding: 0 10px;
        background: white;
        line-height: 1;
    }

.company-info__field {
    /* padding: 0 1rem; */
    border-bottom: 1px solid rgba(88, 88, 88, 0.25);
}

    .company-info__field:last-child {
        border: none;
    }
        /* 
.company-info__field:last-child {
  padding: 0;
} */

        .company-info__field:last-child label {
            margin-left: 0;
        }

        .company-info__field:last-child input {
            border-radius: 0;
            padding: 12px;
        }

/* .company-info__field :not(input[type="email"]) {
  border: none;
} */

.form-control--no-border {
    border: none;
    border-radius: 0;
}

.company-info .form-label {
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
}

.company-search-label {
    font-size: 0.875rem;
    line-height: 32px;
    font-weight: bold;
}

.company-search-form .company-search {
    border-radius: 0;
    width: auto;
    background: url("../icons/magnify.svg") no-repeat 1rem, rgba(172, 213, 242, 0.25);
    background-size: 1.5rem;
    text-indent: 2rem;
    min-width: 400px;
}

.company-sign {
    border-radius: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    flex-grow: 1;
    width: auto;
    background: rgba(172, 213, 242, 0.25);
    background-size: 1.5rem;
    padding: 12px;
}

.company-search-form button {
    padding: 14px 32px;
    letter-spacing: 0.73px;
}

.company-table-wrapper {
    position: relative;
    margin-top: 48px;
    padding: 20px;
    border: 1px solid black;
}

.form-cta {
    margin-top: 30px;
}

    .form-cta button {
        font-size: 0.875rem;
        line-height: 32px;
        letter-spacing: 0.64px;
        width: auto;
        padding: 0 16px;
    }

.search-icon {
    display: inline-block;
    position: relative;
    top: 0.1em;
    width: 16px;
    height: 16px;
    border-radius: 200px;
    background: url("../icons/plus.svg") no-repeat center, white;
    background-size: 12px;
    margin-right: 5px;
}

.modal-content {
    color: var(--color-default-black);
    border-radius: 0;
    padding: 40px 20px 30px;
}

.form-select {
    border-radius: 0;
}

.form-select-lg {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 12px;
}

.modal-content .input-wrapper {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #D5D5D5;
}

.company-info.container {
    padding: 20px 16px 30px;
    margin-bottom: 20px;
    margin-top: 27px;
}

.modal-header {
    position: relative;
    padding: 0;
    padding-bottom: 10px;
}

    .modal-header::before {
        content: "";
        width: 15px;
        height: 15px;
        position: absolute;
        left: 50%;
        bottom: -2px;
        transform: translateX(-50%);
        background-color: var(--color-white);
    }

    .modal-header::after {
        content: "";
        width: 6px;
        height: 6px;
        position: absolute;
        left: 50%;
        bottom: -7px;
        transform: translate(-50%, -50%);
        background-color: rgba(151, 151, 151, 0.25);
        border-radius: 2000px;
    }

    .modal-header .modal-title {
        font-size: 1rem;
        line-height: 2;
        letter-spacing: 0.73px;
    }

.modal-content .close {
    position: absolute;
    z-index: 99;
    top: 20px;
    right: 20px;
    color: var(--color-default-black);
    font-size: 0.875rem;
    line-height: 32px;
    letter-spacing: 0.64px;
    font-weight: normal;
}

    .modal-content .close span {
        content: '';
        padding-right: 18px;
        vertical-align: middle;
        background: url('../icons/x-black.svg') no-repeat;
        background-size: 14px 14px;
        background-position: right center;
    }

    .modal-content .close:hover {
        color: var(--color-white);
    }

        .modal-content .close:hover span {
            background: url('../icons/x.svg') no-repeat;
            background-size: 14px 14px;
            background-position: right center;
        }

.modal-body {
    padding-left: 0;
    padding-right: 0;
}

    .modal-body .btn--bg {
        margin: 1rem 0;
    }

    .modal-body p {
        line-height: 26px;
    }

    .modal-body .form-label {
        font-size: 0.75rem;
        line-height: 26px;
        letter-spacing: 0.55px;
        margin-bottom: 0;
    }

    .modal-body .company-info__field {
        border: none;
    }

    .modal-body .form-control--box {
        border-radius: 0;
        padding: 12px;
    }

    .modal-body .company-search {
        flex-grow: 1;
        background: url("../icons/magnify.svg") no-repeat 1em, rgba(172, 213, 242, 0.25);
        background-size: 1.5rem;
        text-indent: 2rem;
    }

    .modal-body .btn--modal {
        white-space: nowrap;
    }

    .modal-body .legend {
        text-transform: uppercase;
        letter-spacing: 0.64px;
        color: var(--color-grey);
    }

    .modal-body .sub-heading {
        margin-bottom: 0.625rem;
        font-size: 1.125rem;
        line-height: 22px;
        letter-spacing: 0.39px;
        font-weight: bold;
    }

.headman-explanation-list {
    margin-bottom: 22px;
}

    .headman-explanation-list li {
        margin-bottom: 0.5rem;
    }

.control-questions li:not(:last-of-type) {
    margin-bottom: 30px;
}

.control-questions li #capital-origin-other-input {
    margin-top: 8px;
    margin-left: -24px;
    width: calc(100% + 24px);
}

.pep-extra {
    line-height: 28px;
    letter-spacing: 0.35px;
    margin-bottom: 5px;
}

.extra-info {
    font-size: 0.875rem;
    line-height: 2;
    letter-spacing: 0.64px;
}

.modal-extra-info {
    margin-bottom: 38px;
}

@media screen and (max-width: 1400px) {

    .header__bot {
        flex-direction: column;
    }

    .logo-url {
        justify-content: center;
    }

    .navigation {
        justify-content: center;
    }

        .navigation .link {
            font-size: 1rem;
        }

    .hamburger {
        width: auto;
    }
}


@media screen and (max-width: 992px) {
    .header {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header__top .lang ul li:last-child::before {
        display: none;
    }

    .header__bot {
        flex-direction: row;
    }

        .header__bot .hamburger {
            display: inline-block;
        }

    .logo-url {
        margin-bottom: 1rem;
        padding-right: 0;
        justify-content: start;
    }

    .navigation {
        display: none;
    }

    .company-search-form .company-search {
        min-width: 100%;
        margin-bottom: 1rem;
    }

    .control-questions {
        margin-top: 10px;
    }

    .company-sign-form {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px ) {
    .header__top {
        display: none;
    }

    .header__bot {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .logo-url {
        justify-content: start;
    }

    /* .control-questions {
    margin-top: 30px;
  } */
}

@media screen and (max-width: 464px ) {
    .control-questions {
        margin-top: 30px;
    }

    .modal-content {
        padding-top: 75px;
    }
}

table tr th.text-ellipsis, table tr td.text-ellipsis {
    white-space: nowrap;
}

@media screen and (max-width: 450px ) {

    table tr th.hide-column, table tr td.hide-column {
        display: none;
    }

    table tr th.text-ellipsis, table tr td.text-ellipsis {
        text-overflow: ellipsis;
        overflow: hidden;
    }

    table tr th.text-ellipsis-100, table tr td.text-ellipsis-100 {
        max-width: 100px;
    }

    table tr th.text-ellipsis-200, table tr td.text-ellipsis-200 {
        max-width: 200px;
    }

    table tr th.text-ellipsis-300, table tr td.text-ellipsis-300 {
        max-width: 300px;
    }
}
