:root {
    /* Colors */
    --color-primary: #141D61;
    --color-primary-rgb: 20, 29, 97;
    --color-error: #E31717;
    --color-success: green;
    --color-warning: #ffae42;
    --color-grey-light-1: #f1f1f1;
    --color-footer-text: #535a63;
    --color-grey-2: #ccc;

    /* Box Shadows */
    --box-shadow-1: 0 0 10px 5px var(--color-grey-2);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-stroke: 0.45px;
    -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.1);
}

body {
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1;
    font-size: 16px;
    min-width: 300px;
    background-color: #fff;
}


.main {
    display: grid;
    grid-template-columns: calc(100vw - 40px);
    grid-row-gap: 50px;
    justify-content: center;
    padding: 50px 20px;
}
.main__inner {
    display: grid;
    grid-row-gap: 30px;
    justify-items: center;
}

.error {
    color: var(--color-error) !important;
}



/* Start - .report */
.report {
    display: block;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px; /* In order to create some space for the visible scrollbar */
    max-height: 400px;
}

.report::-webkit-scrollbar {
    background-color: var(--color-grey-2);
    height: 10px;
    width: 10px;
}
.report::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
}

.report__table {
    display: block;
    width: 100%;
    max-width: 100%;
}

.report__table tr {
    width: 100%;
    border-bottom: 1px solid var(--color-grey-2);
}

.report__table th {
    font-weight: bold;
}
.report__table th span.subscript {
    display: block;
    font-size: 10px;
    font-weight: normal;
    margin-top: 2px;
}

.report__table th,
.report__table td {
    position: relative;
    text-align: left;
    padding: 10px 25px;
    border-right: 1px solid var(--color-grey-2);
    white-space: nowrap;
    vertical-align: top;
}

.report__table th:last-child,
.report__table td:last-child {
    border-right: 0;
}

.report__table td:last-child {
    width: 100%;
}

.report__table td.has-input {
    padding: 0;
}
.report__table td.has-input input {
    width: 100%;
    padding: 12px 25px;
    border: none;
    font-size: inherit;
    font-family: inherit;
    transition: background-color .25s ease,
                color .25s ease;
}
.report__table td .form-field__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 0;
    grid-row-gap: 0;
}
.report__table td .form-field__wrapper--2 {
    grid-template-columns: repeat(2, 1fr);
}
.report__table td .form-field__wrapper--3 {
    grid-template-columns: repeat(3, 1fr);
}
.report__table td.has-input .form-field__badge-wrapper {
    display: grid;
}
.report__table td.has-input .form-field__badge-wrapper input {
    padding-left: 10px;
    padding-right: 10px;
}
.report__table th.currency.has-input input,
.report__table td.currency.has-input input {
    text-align: right;
}

.report__table td pre {
    display: block;
    width: 100%;
    min-width: 150px;
    height: auto;
    min-height: 14px;
    line-height: 14px;
    background-color: transparent;
    border: none;
    color: #000;
    font-size: inherit;
    word-break: break-word;
    white-space: pre-wrap;
    overflow: hidden;
    line-height: 1.5;
}

.report__table td a {
    color: var(--color-primary);
    text-decoration: none;
    outline: 0;
}
.report__table td a:hover {
    color: var(--color-primary);
    text-decoration: none;
    outline: 0;
    border-bottom: 1px solid var(--color-primary);
}

.report__table:not(.report__table--no-hover) tbody tr {
    cursor: pointer;
    transition: background-color .25s ease,
                color .25s ease;
}
.report__table:not(.report__table--no-hover) tbody tr:hover {
    background-color: var(--color-primary);
    color: #fff;
}
.report__table:not(.report__table--no-hover) tbody tr:hover td a {
    color: #fff;
    border-color: #fff;
}
.report__table:not(.report__table--no-hover) tbody tr:hover td.has-input input {
    color: #fff;
    background-color: var(--color-primary);
}

.report__table th.currency,
.report__table td.currency {
    text-align: right;
}
/* End - .report */


/* Start .form-field */
.form-field {
    display: grid;
    grid-template-columns: inherit;
    grid-row-gap: 5px;
}
.form-field--hidden {
    display: none;
}
.form-field p {
    font-size: 14px;
}

.form-field__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 10px;
}
.form-field__wrapper .form-field {
    grid-template-columns: 1fr;
}
@media only screen and (min-width: 500px) {
    .form-field__wrapper--2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-field__wrapper--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.form-field__wrapper--4 {
    grid-template-columns: repeat(4, 1fr);
}

.form-field__select-wrapper,
.form-field__input-wrapper {
    position: relative;
    display: grid;
    justify-content: stretch;
}
.form-field__select-wrapper[hidden] {
    display: none;
}
.form-field__input-wrapper--2 {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 30px;
}
.form-field__label {
    font-weight: 100;
}
.form-field__label .form-field__required {
    color: var(--color-error);
}
.form-field__label .form-field__optional {
    color: var(--color-grey-1);
}
.form-field__input,
.form-field__select,
.form-field__textarea {
    padding: 10px 25px;
    width: 100%;
    color: #000;
    background-color: #fff;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
    border-radius: 0;
}
.form-field__input.form-field__input--pin {
    padding: 0;
    height: 60px;
    font-size: 40px;
    text-align: center;
}
.form-field__textarea {
    resize: none;
}
.form-field__select {
    -webkit-appearance: none;
    z-index: 2;
    padding-right: 35px;
}
.form-field__select-wrapper .fa-caret-down {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 18px;
    z-index: 2;
}
.form-field__error {
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-error);
}
.content__body p.form-field__error a:link,
.content__body p.form-field__error a:visited {
    color: var(--color-error);
    font-weight: bold;
    text-decoration: none;
    outline: 0;
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease;
}
.content__body p.form-field__error a:hover,
.content__body p.form-field__error a:focus {
    color: var(--color-error);
    text-decoration: none;
    outline: 0;
    border-bottom: 1px solid var(--color-error);
}
.content__body p.form-field__error a:active {
    color: var(--color-error);
    text-decoration: none;
    outline: 0;
    border-bottom: 1px solid transparent;
}

.form-field__input--icon-right {
    padding-right: 55px;
}
.form-field__input-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    font-size: 20px;
    padding: 10px;
}
.form-field__input-icon--actionable {
    cursor: pointer;
}

.form-field__select--icon-right {
    padding-right: 55px;
}
.form-field__select-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    font-size: 20px;
    padding: 10px;
    z-index: 2;
}
.form-field__select-icon--actionable {
    cursor: pointer;
}

.form-field__badge-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr min-content;
    justify-content: stretch;
}
.form-field__badge {
    font-size: 12px;
    padding: 0 10px;
    background-color: var(--color-grey-2);
    display: grid;
    align-items: center;
}
.form-field__switch-button-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-row-gap: 5px;
    justify-content: stretch;
}
.form-field__switch-button-wrapper .button {
    display: grid;
    align-items: center;
    border: 2px solid var(--color-primary);
    border-radius: 0;
    background-color: var(--color-primary);
    color: #fff;
    padding: 8px 20px;
    font-size: inherit;
    font-weight: 500;
    text-align: center;
    -webkit-appearance: none;
    cursor: pointer;
    outline: 0;
    text-decoration: none;
}

@media only screen and (min-width: 500px) {
    .form-field__switch-button-wrapper {
        grid-template-columns: 1fr max-content;
    }
}

.form-field__button-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr min-content;
    justify-content: stretch;
}
.form-field__button-wrapper .button {
    display: grid;
    align-items: center;
    border: 2px solid var(--color-primary);
    border-radius: 0;
    background-color: var(--color-primary);
    color: #fff;
    padding: 8px 20px;
    font-size: inherit;
    font-weight: 500;
    text-align: center;
    -webkit-appearance: none;
    cursor: pointer;
    outline: 0;
    text-decoration: none;
}

.form-field__button-wrapper .button:disabled {
    background-color: #CCC;
    color: #BBB;
    border-color: #CCC;
}
/* End .form-field */


/* Start .form-field__input-selector */
.form-field__input-selectors {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-column-gap: 30px;
    grid-row-gap: 20px;
}
.form-field__input-selectors--1fr {
    grid-template-columns: 1fr;
}
.form-field__input-selectors--2 {
    grid-template-columns: repeat(2, 1fr);
}
.form-field__input-selectors--3 {
    grid-template-columns: repeat(3, 1fr);
}
.form-field__input-selectors--4 {
    grid-template-columns: repeat(4, 1fr);
}
.form-field__input-selectors--5 {
    grid-template-columns: repeat(5, 1fr);
}
.form-field__input-selectors .form-field {
    grid-template-columns: auto;
    align-content: start;
}
.form-field__input-selectors > p {
    grid-column: 1 / -1;
    margin-top: -15px;
    font-size: 14px;
}
.form-field__input-selector {
    display: grid;
    justify-items: center;
    align-items: center;
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 10px 25px;
    transition: background-color .25s ease,
                color .25s ease;
    cursor: pointer;
}
.form-field__input-selector.checked,
.form-field__input-selector:hover {
    background-color: var(--color-primary);
    color: #fff;
}
.form-field__input-selector span {
    text-align: center;
}
/* End .form-field__input-selector */


/* Start .buttons */
.buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-column-gap: 30px;
    grid-row-gap: 20px;
    justify-content: stretch;
}
.buttons .button {
    display: grid;
    align-items: center;
    border: 2px solid var(--color-primary);
    border-radius: 0;
    background-color: var(--color-primary);
    color: #fff;
    padding: 8px 20px;
    font-size: inherit;
    font-weight: 500;
    text-align: center;
    -webkit-appearance: none;
    cursor: pointer;
    outline: 0;
    text-decoration: none;
    transform: translateY(0);
    transition: transform .25s ease;
}
.buttons .button[disabled] {
    background-color: rgba(var(--color-primary-rgb), .4);
    border-color: transparent;
}
.buttons .button:not([disabled]):hover {
    box-shadow: 0px 0px 10px rgba(var(--color-primary-rgb), .5);
    transform: translateY(-3px);
}
.buttons--mechanic {
    grid-template-columns: 1fr;
    grid-row-gap: 40px;
}
.buttons--mechanic .button {
    padding: 20px;
}
.button--center {
    margin: 0 auto;
}
/* End .buttons */


.content {
    position: relative;
    background-color: #fff;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, .1);
    padding: 30px;
    display: grid;
    grid-template-columns: inherit;
    grid-row-gap: 30px;
    align-content: start;
    max-width: 600px;
    width: 80vw;
}
.content--with-settings {
    padding-top: 48px;
}
.content--full-width {
    grid-column: 1 / -1;
    max-width: none;
    width: auto;
}

.content--success,
.content--warning,
.content--error {
    padding-top: 80px;
    border: 2px solid var(--color-primary);
    text-align: center;
    width: 80vw;
    max-width: 400px;
    grid-template-columns: minmax(100%, 400px);
}
.content--success {
    border: 2px solid var(--color-success);
}
.content--warning {
    border: 2px solid var(--color-warning);
}
.content--error {
    border: 2px solid var(--color-error);
}
.content__banner {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    width: calc(100% + 2px);
    height: 50px;
    padding: 10px;
    text-align: center;
}
.content--success .content__banner {
    background-color: var(--color-success);
}
.content--warning .content__banner {
    background-color: var(--color-warning);
}
.content--error .content__banner {
    background-color: var(--color-error);
}
.content__banner .svg-inline--fa {
    font-size: 30px;
    color: #fff;
}

.content .content__settings {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 25px;
    display: grid;
    align-items: center;
    justify-items: center;
    border-bottom-left-radius: 50%;
    cursor: pointer;
    transition: width .25s ease,
                height .25s ease;
}
.content .content__settings:hover {
    width: 55px;
    height: 55px;
}

.content__header {
    display: grid;
    grid-row-gap: 10px;
}
.content__header h1 {
    font-weight: bold;
    font-size: 30px;
    color: var(--color-primary);
}
.content__header p {
    line-height: 1.5;
}

.content__header p a:link,
.content__header p a:visited {
    color: var(--color-primary);
    text-decoration: none;
    outline: 0;
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease;
}
.content__header p a:hover,
.content__header p a:focus {
    color: var(--color-primary);
    text-decoration: none;
    outline: 0;
    border-bottom: 1px solid var(--color-primary);
}
.content__header p a:active {
    color: var(--color-primary);
    text-decoration: none;
    outline: 0;
    border-bottom: 1px solid transparent;
}

.content__body {
    display: grid;
    grid-template-columns: inherit;
    grid-row-gap: 20px;
}

.content__body p {
    line-height: 1.5;
}

.content__body p a:link,
.content__body p a:visited {
    color: var(--color-primary);
    text-decoration: none;
    outline: 0;
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease;
}
.content__body p a:hover,
.content__body p a:focus {
    color: var(--color-primary);
    text-decoration: none;
    outline: 0;
    border-bottom: 1px solid var(--color-primary);
}
.content__body p a:active {
    color: var(--color-primary);
    text-decoration: none;
    outline: 0;
    border-bottom: 1px solid transparent;
}


/* Start - Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 11;
    display: grid;
    align-items: center;
    justify-items: center;
}
.modal__inner {
    display: grid;
    background-color: #fff;
    box-shadow: var(--box-shadow-1);
    padding: 30px;
    grid-row-gap: 30px;
    width: 400px;
    max-width: 80%;
    transform: translateY(100vh);
    transition: transform .25s ease;
}
.modal.modal--visible .modal__inner {
    transform: translateY(0);
}
.modal__title {
    color: var(--color-primary);
    font-size: 30px;
}
.modal__body {
    display: grid;
    grid-row-gap: 30px;
    max-height: 50vh;
}
.modal__body.modal__body--visible-scrollbar {
    overflow-y: scroll;
    padding-right: 5px; /* In order to create some space for the visible scrollbar */
}
.modal__body.modal__body--visible-scrollbar::-webkit-scrollbar {
    background-color: var(--color-grey-2);
    width: 10px;
}
.modal__body.modal__body--visible-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
}
.modal__body form {
    display: grid;
    grid-row-gap: 30px;
}
.modal__body p {
    line-height: 1.5;
}
.modal__body .form-field__label {
    grid-template-columns: auto;
}
.modal__body pre {
    display: block;
    width: 100%;
    height: auto;
    min-height: 14px;
    line-height: 14px;
    background-color: transparent;
    border: none;
    color: #000;
    font-size: inherit;
    word-break: break-word;
    white-space: pre-wrap;
    overflow: hidden;
    line-height: 1.5;
}
.modal__body pre a {
    text-decoration: none;
    color: var(--color-primary);
    outline: 0;
}
.modal__body pre a:hover {
    text-decoration: none;
    color: var(--color-primary);
    outline: 0;
    border-bottom: 1px solid var(--color-primary);
}
.modal__footer {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 30px;
}
.modal__footer .button {
    display: grid;
    align-items: center;
    border: 2px solid var(--color-primary);
    border-radius: 0;
    background-color: var(--color-primary);
    color: #fff;
    padding: 8px 20px;
    font-size: inherit;
    font-weight: 500;
    -webkit-appearance: none;
    cursor: pointer;
    outline: 0;
    text-decoration: none;
    transition: background-color .25s ease,
                color .25s ease;
}
.modal__footer .button[disabled] {
    background-color: rgba(var(--color-primary-rgb), .4);
    border-color: transparent;
}
.modal__footer .button:not([disabled]):hover {
    background-color: transparent;
    color: var(--color-primary);
    outline: 0;
    text-decoration: none;
}
/* End - Modal */


/* Start - Dropdown */
.dropdown {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 11;
    display: grid;
    align-items: center;
    justify-items: center;
}
.dropdown__inner {
    display: grid;
    background-color: #fff;
    box-shadow: var(--box-shadow-1);
    width: 400px;
    max-width: 80%;
    transform: translateY(100vh);
    transition: transform .25s ease;
}
.dropdown.dropdown--visible .dropdown__inner {
    transform: translateY(0);
}
.dropdown__title {
    color: var(--color-primary);
    font-size: 30px;
}
.dropdown__header {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 5px;
    padding: 30px 30px 10px;
    border-bottom: 1px solid var(--color-grey-2);
}
.dropdown__body.dropdown__body--visible-scrollbar {
    overflow-y: scroll;
    padding-right: 5px; /* In order to create some space for the visible scrollbar */
}
.dropdown__body.dropdown__body--visible-scrollbar::-webkit-scrollbar {
    background-color: var(--color-grey-2);
    width: 10px;
}
.dropdown__body.dropdown__body--visible-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
}
.dropdown__body {
    display: grid;
    grid-template-columns: 1fr;
    max-height: 50vh;
}
.dropdown__body .button {
    display: grid;
    align-items: center;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--color-grey-light-1);
    background-color: #fff;
    color: var(--color-primary);
    padding: 15px 20px;
    font-size: inherit;
    font-weight: 500;
    -webkit-appearance: none;
    cursor: pointer;
    outline: 0;
    text-decoration: none;
    transition: background-color .25s ease,
                color .25s ease;
}
.dropdown__body .button[disabled] {
    background-color: var(--color-grey-light-1);
}
.dropdown__body .button:not([disabled]):hover {
    background-color: var(--color-primary);
    color: #fff;
    outline: 0;
    text-decoration: none;
}
/* End - Dropdown */



/* Spinner */
@keyframes spinnerRotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.spinner {
    display: grid;
    background-color: transparent;
    color: var(--color-primary);
}
.spinner.spinner--full-screen {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .7);
    color: #fff;
    z-index: 9;
    
}
.spinner .spinner__icon-container {
    animation: spinnerRotation 1s infinite linear;
    font-size: 100px;
    position: relative;
    margin-top: 50px;
}
.spinner.spinner--full-screen .spinner__icon-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
}
.spinner .spinner__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.spinner .spinner__icon:nth-of-type(2) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(115deg);
}
.spinner.spinner--full-screen .spinner__message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.spinner .spinner__message {
    margin-top: 85px;
    text-align: center;
}
/* End Spinner */



/* Autocomplete */
.form-field__autocomplete-results {
    max-height: 200px;
    overflow-y: scroll;
}
.form-field__autocomplete-results .result {
    position: relative;
    display: block;
    width: 100%;
    min-height: 40px;
    line-height: 19px;
    padding: 10px 25px;
    font-size: inherit;
    font-weight: 100;
    color: inherit;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    box-sizing: border-box;
    font-family: inherit;
    -webkit-appearance: none;
    border-radius: 0;
    cursor: pointer;
}
.form-field__autocomplete-results .result:hover {
    background-color: var(--color-primary);
    color: #fff;
}
/* End Autocomplete */

/* START - STICKY BANNER STYLING */
.sticky-banner {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    z-index: 9;
}

.sticky-banner--alert {
    background-color: var(--color-error);
}
/* END - STICKY BANNER STYLING */

/* MEDIA QUERIES */
@media screen and (min-width: 0) and (max-width: 500px) {
    .main {
        padding: 50px 0;
    }

    form, .content {
        width: 100%;
    }
}