
:root {
    /*--darkGreen: #023304;*/
    --header-footer-background-color: #0F3408;
    --link-color: #f39339; /* Orange */
    --link-hover-color: #ef8119; /* Dark Orange */
    --link-active-color: #eb780c; /* Deep Orange */
    --link-disabled-color: #b5b5b5; /* Gray */
    --black: #000000;
    --darkGreen: #0F3408;
    --darkGreen1: #CFDACF;
    --lightGreen: #E6EEE7;
    --orange: #F39339;
    --white: #FFFFFF;
    --lightGray: #F8F8F8;    
}

html, body {
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: Barlow, serif;
    font-size: 19px;
    line-height: 1.61;
    background: var(--lightGray);
    color: #212529;
}

a, .btn-link {
    color: #033204;
}

a:hover, .btn-link:hover {
    color: #023304;
}

/* links  */

a {
    color: var(--black);
}

a:hover {
    color: var(--link-hover-color);
}

a:active {
    color: var(--link-active-color);
}

a:disabled, a:not([href]):not([class]), a:not([href]):not([class]):hover {
    color: var(--link-disabled-color);
    text-decoration: underline;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    /*box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;*/
    box-shadow: unset;
}

.content {
    /*padding-top: 1.1rem;*/
}

h1:focus {
    outline: none;
}

/*.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}*/

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiI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2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.link-arrow-green, .link-arrow-purple {
    color: var(--darkGreen);
    letter-spacing: 0;
    line-height: 29px;
    text-align: right;
    cursor: pointer;
}

.fa-chevron-circle-right:before {
    content: "\f138";
}

.fa, .fas {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.fa, .fas, .far, .fal, .fad, .fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}


.fab {
    font-family: 'Font Awesome 5 Brands';
    font-weight: 400;
}


.far {
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("fonts/fa-solid-900.eot");
    src: url("fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("fonts/fa-solid-900.woff2") format("woff2"), url("fonts/fa-solid-900.woff") format("woff"), url("fonts/fa-solid-900.ttf") format("truetype"), url("fonts/fa-solid-900.svg#fontawesome") format("svg");
}

.fa,
.fas {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.adjustableLink {
    text-align: right;
}

.adjustableLink a {
    text-decoration: none;
}

.link-arrow-green > i, .link-arrow-purple > i {
    font-size: 24px;
    vertical-align: middle;
    padding-left: 10px;
    margin-left: 0 !important;
    color: var(--darkGreen);
    margin-right: 24px;
}

.list-group-item + .list-group-item {
    border-top-width: 0;
}

.gold-value-and-buy-list > li {
    border: none;
    padding: 0 0 0 2px;
    background-color: transparent;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #E6EEE7;
}

/*Buttons*/

.button-container {
    width: 100%;
}

.button-container a {
    letter-spacing: 3px;
}

.btn-main {
    color: #000;
    background-color: #F2B56D;
    border-color: #F2B56D;
    font-size: 0.9em;
    padding: 0.5rem 3rem;
    width: 100%;
}

.btn-main:hover {
    color: #000;
    background-color: #F39339;
    border-color: #F39339;
}

.no-rounded-corners {
    border-radius: 0 !important;
}

.btn.is-loading, .btn.is-loading:hover, .btn.is-loading:active, .btn.is-loading.active {
    background-color: #eb780c;
    position: relative;
}

.btn.is-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 1rem; /* Adjust for spinner positioning */
    width: 26px; /* Width of the spinner */
    height: 26px; /* Height of the spinner */
    background-image: url("img/icons/icon-loader.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform-origin: center;
    transform: translateY(-50%);
    animation: rotate 1s linear infinite; /* Spinner rotation */
}

.primary-button {
    color: #000;
    background-color: #f39339;
    font-size: 17px;
    padding: 8px 2rem;
    width: 100%;
    border-radius: 0;
}

.primary-button:hover {
    background-color: #ef8119;
}

.primary-button:active, .primary-button.active {
    background-color: #eb780c;
}

.primary-button:disabled {
    color: #a95404;
    background-color: #f39339;
}

.btn-sent, .btn-sent:hover, .btn-sent:active, .btn-sent.active {
    background-color: #0f3408;
    color: #fff;
    position: relative;
}

.btn-sent::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 1rem; /* Adjust for spinner positioning */
    width: 26px; /* Width of the spinner */
    height: 26px; /* Height of the spinner */
    background-image: url("img/icons/icon-sent.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform-origin: center;
    transform: translateY(-50%);
}

.secondary-button {
    color: #000;
    background-color: transparent;
    border-color: #000;
    /*font-size: 0.9em;*/
    font-size: 17px;
    padding: 8px 2rem;
    width: 100%;
    border-radius: 0;
}

.secondary-button:hover {
    background-color: #f4e4d5;
}

.secondary-button:active, .secondary-button.active {
    background-color: #f1d3b6;
}

.secondary-button-button:disabled {
    color: #b5b5b5;
    background-color: transparent;
    border-color: #b5b5b5;
}

.btn-small {
    font-size: 0.7em;
    padding: 0.4rem 1rem;
}
/* End of Buttons*/

/* Checkbox styling */

.aterbruk-input[type=checkbox] {
    width: 29px;
    height: 29px;
    border-color: transparent;
    border-radius: 0;
}

.aterbruk-input[type=checkbox]:hover {
    background-color: #f4e4d5;
}

.aterbruk-input[type=checkbox]:active {
    background-color: #f1d3b6;
}

.aterbruk-input[type=checkbox]:disabled {
    background-color: #e1e1e1;
    opacity: 1;
}

.aterbruk-input[type=checkbox]:checked {
    background-color: #f39339;
    background-image: url("img/icons/checkbox-button.svg");
}

.aterbruk-input[type=checkbox]:checked:hover {
    background-color: #ef8119;
}

.aterbruk-input[type=checkbox]:checked:active {
    background-color: #eb780c;
}

.aterbruk-input[type=checkbox]:checked:disabled {
    background-color: #f39339;
    background-image: url("img/icons/checkbox-button-disabled.svg");
    opacity: 1;
}

/*.aterbruk-input[type=checkbox]:indeterminate {
    background-color: var(--orange);
}

.aterbruk-input[type=checkbox]:indeterminate:hover {
    background-color: #e6842e;
}

.aterbruk-input[type=checkbox]:indeterminate:active {
    background-color: #d97727;
}

.aterbruk-input[type=checkbox]:indeterminate:disabled {
    background-color: #cc6b20;
}*/

/* End of Checkbox styling */

/* Radio button styling */
.aterbruk-input[type=radio] {
    width: 29px;
    height: 29px;
    border-color: transparent;
}

.aterbruk-input[type=radio]:hover {
    background-color: #f4e4d5;
}

.aterbruk-input[type=radio]:active {
    background-color: #f1d3b6;
}

.aterbruk-input[type=radio]:disabled {
    background-color: #e1e1e1;
    opacity: 1;
}

.aterbruk-input[type=radio]:checked {
    background-color: #f39339;
    background-image: url("img/icons/radio-button.svg");
}

.aterbruk-input[type=radio]:checked:hover {
    background-color: #ef8119;
}

.aterbruk-input[type=radio]:checked:active {
    background-color: #eb780c;
}

.aterbruk-input[type=radio]:checked:disabled {
    background-color: #f39339;
    background-image: url("img/icons/radio-button-disabled.svg");
    opacity: 1;
}

/* End Radio button styling */

/* Input styling */

.aterbruk-control {
    border-color: transparent;
    border-radius: 0;
}

.aterbruk-control::placeholder {
    color: #797979;
}

.aterbruk-control:disabled, .aterbruk-control[readonly] {
    background-color: #f8f8f8;
}

.aterbruk-control:disabled::placeholder {
    color: #b9b9b9;
}

select.aterbruk-control {
    color: #797979;
    background-image: url("img/icons/icon-dropdown.svg");
    background-repeat: no-repeat;
    background-position: right 17px center;
    background-size: 20px;    
}

select.aterbruk-control::-ms-expand {
    display: none;
}

select.aterbruk-control:disabled {
    color: #b9b9b9;
}

.form-control {
    font-size: unset;
}

/* End Input styling */

/* Typography Desktop Styles */
h1 {
    font-size: 60px;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 19px;
    font-width: 600;
}

/* Typography Mobile Styles */
@media (max-width: 768px) {
    
    h1 {
        font-size: 30px;
    }
    h2, h3 {
        font-size: 22px;
    }
    /*h3 {
        font-size: 17px;
    } */

    body, p {
        font-size: 14px;
    }
    
    .primary-button {
        padding-top: 4px;
        padding-bottom: 4px;
    }
    
    .secondary-button {
        padding-top: 4px;
        padding-bottom: 4px;
    }        
}

/* Table base styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

/* Header cells */
th, td {
    border: 1px solid #ccc; /* Adds vertical and horizontal lines */
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f0f0f0;
    font-weight: bold;
}

/* Regular cells */
.contentful-rich-text td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

/* Zebra stripe rows */
tr:nth-child(even) {
    background-color: #fafafa;
}

/* Hover highlight */
tr:hover {
    background-color: #f5f5f5;
}

/* Responsive overflow container */
.table-container {
    overflow-x: auto;
}

.policy-link {
    text-decoration: none
}

.policy-link:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }
}

/* End of Typography Styles */

/* Spinner animation */
@keyframes rotate {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}
