:root {
    --tax-calc-border-color: #c2c2c2;
    --tax-calc-border-radius: 4px;
    --tax-calc-input-background-color: white;
    --tax-calc-input-prefix-background-color: #f2f3f4;
    --tax-calc-selected-color: #E0E0E0;
    --tax-calc-main-color: #2A93DE;
    --tax-calc-button-color: #56c080;
}

.tax-calc-form-wrapper {
    margin-bottom: 25px;
}

.tax-calc-row {
    display: flex;
    column-gap: 10px;
    margin-bottom: 10px;
}

.tax-calc-row>label {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 33.3%;
}

.tax-calc-row>label .tax-calc-input {
    flex-grow: 1;
}


.tax-calc-input-prefix-wrapper {
    display: flex;
    column-gap: 5px;
}

.tax-calc-input-prefix {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background-color: var(--tax-calc-selected-color);
    border: 1px solid var(--tax-calc-border-color);
    border-radius: var(--tax-calc-border-radius);
}

.tax-calc-input,
.tax-calc-input-radio-prefix {
    border: 1px solid var(--tax-calc-border-color) !important;
    border-radius: var(--tax-calc-border-radius) !important;
    background-color: var(--tax-calc-input-background-color) !important;
    min-height: 48px;
}

.tax-calc-input:focus {
    outline: none;
}

.tax-calc-input-radio-prefix {
    display: flex;
}

.tax-calc-input-radio-prefix label {
    display: flex !important;
    align-items: center;
    padding: 0 12px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0px;
}

.tax-calc-input-radio-prefix input {
    display: none;
}

.tax-calc-input-radio-prefix input:checked+label {
    background-color: var(--tax-calc-selected-color);
}

.tax-calc-check-wrapper {
    margin-left: 2px;
}

.tax-calc-check-wrapper>label {
    display: flex;
    align-items: center;
}

.tax-calc-check-wrapper input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.25);
}




.tax-calc-advanced-options {
    display: none;
}

.tax-calc-btn-primary {
    border-radius: 4px;
    padding: 14px 28px;
    cursor: pointer;
}

.tax-calc-submit-btn {
    position: relative;
    margin-top: 5px;
    width: 100%;
    height: 40px;
    background-color: var(--tax-calc-button-color);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
    padding: 14px 20px;
    font-weight: bold;
    -webkit-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.1), inset 0 0 0 transparent;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.1), inset 0 0 0 transparent;
}

.tax-calc-btn-spinner {
    display: none;
    position: absolute;
    width: 20px;
    height: 20px;
    left: calc(50% - 10px);
    top: calc(50% - 10px);
}

.tax-calc-btn-spinner div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #fff;
    border-radius: 50%;
    animation: tax-calc-btn-spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: lightgrey transparent transparent transparent;
}

.tax-calc-btn-spinner div:nth-child(1) {
    animation-delay: -0.45s;
}

.tax-calc-btn-spinner div:nth-child(2) {
    animation-delay: -0.3s;
}

.tax-calc-btn-spinner div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes tax-calc-btn-spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.tax-calc-results {
    display: none;
}

.tax-calc-result-table-wrapper {
    margin-bottom: 25px;
}

.tax-calc-result-table {
    border-collapse: collapse;
    margin-bottom: 15px;
}

.tax-calc-result-table,
.tax-calc-result-table tr,
.tax-calc-result-table th {
    border: 1px solid var(--tax-calc-border-color);
}

.tax-calc-result-table-options {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
    margin-left: 135px;
}

.tax-calc-result-table tr {
    background-color: white;
}

.tax-calc-result-table thead tr {
    background-color: #f0f1f2;
}


.tax-calc-result-table tr:nth-child(even) {
    background-color: #f0f1f2;
}

.tax-calc-result-table tr:last-of-type td {
    font-weight: bold;
}


.tax-calc-result-table-options input {
    margin-right: 10px;
    transform: scale(1.25);
}

.tax-calc-result-table tr th:first-of-type,
.tax-calc-result-table tr td:first-of-type {
    width: 150px;
}

.tax-calc-result-table tr td,
.tax-calc-result-table tr th {
    text-align: left;
}


.tax-calc-result-table-options-mobile input {
    display: none;
}

.tax-calc-result-table-options-mobile {
    display: none;
    flex-wrap: wrap;
}

.tax-calc-result-table-options-mobile label {
    border: 1px solid var(--tax-calc-border-color);
    border-left: none;
    flex-grow: 1;
    text-align: center;
    border-bottom: none;
    padding: 5px 5px;
    cursor: pointer;
}

.tax-calc-result-table-options-mobile label:first-of-type {
    border-left: 1px solid var(--tax-calc-border-color);
}

.tax-calc-result-table-options-mobile input:checked+label {
    background-color: var(--tax-calc-input-prefix-background-color)
}

.tax-calc-export-btns button {
    position: relative;
}

.tax-calc-export-btns-title {
    font-weight: 500;
    font-size: 16px;
}

.tax-calc-doughnut-wrapper {
    position: relative;
    height: 350px;
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.tax-calc-error {
    display: none;
    margin-top: 5px;
    color: red;
}

.tax-calc-bands {
    display: flex;
}

.tax-calc-it-bands,
.tax-calc-ni-bands {
    visibility: hidden;
}

.tax-calc-band-graphs {
    margin-bottom: 25px;
}

.tax-calc-band-graphs h3 {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 22px;
}

.tax-calc-bands-wrapper {
    position: relative;
}

.tax-calc-band {
    justify-content: end;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tax-calc-band-bar {
    height: 50px;
    background-color: cornflowerblue;
}

.tax-calc-band:nth-of-type(1) .tax-calc-band-bar {
    opacity: .7;
}

.tax-calc-band:nth-of-type(2) .tax-calc-band-bar {
    opacity: .5;
}

.tax-calc-band:nth-of-type(3) .tax-calc-band-bar {
    opacity: .4;
}

.tax-calc-band:nth-of-type(4) .tax-calc-band-bar {
    opacity: .3;
}

.tax-calc-band:nth-of-type(5) .tax-calc-band-bar {
    opacity: .2;
}

.tax-calc-band-info {
    border-left: 1px solid lightgrey;
    line-height: 1.3;
    padding: 0 5px 5px 5px;
}

.tax-calc-band-rate {
    font-weight: 600;
    color: cornflowerblue;
}


.tax-calc-band-min {
    font-weight: 500;
}

.tax-calc-bands-overlay {
    background-color: black;
    height: 50px;
    width: 100%;
    position: absolute;
    z-index: 1;
    bottom: 0;
    right: 0;
    opacity: .3;
    min-width: 8px;
}


.tax-calc-bands-pointer-wrapper {
    max-width: 100%;
    text-align: right;
}

.tax-calc-bands-pointer {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #3A3A3A;
    display: inline-block;
}

.tax-calc-payslip-row {
    display: flex;
    column-gap: 10px;
    flex-wrap: wrap;
    row-gap: 10px;
}

.tax-calc-payslip-section {
    overflow: hidden;
    display: flex;
    border-radius: 4px;
    border: 1px solid lightgrey;
    flex-grow: 1;
    flex-wrap: wrap;
    background-color: white;
}

.tax-calc-payslip-col {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tax-calc-payslip-col.align-left {
    text-align: left;
}

.tax-calc-payslip-col.align-right {
    text-align: right;
}

.tax-calc-payslip-col.vertical-center {
    justify-content: center;
}

.tax-calc-payslip-header {
    font-weight: 600;
    background-color: #0182c4;
    color: #fff;
}

.tax-calc-payslip {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.tax-calc-payslip-header,
.tax-calc-payslip-data {
    padding: 0px 10px;
}

.tax-calc-payslip-take-home-monthly {
    font-size: 20px;
    font-weight: 600;
}

.tax-calc-payslip-wrapper h3 {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 22px;
}

.tax-calc-export-btns {
    display: flex;
    column-gap: 8px;
    align-items: center;
}

.tax-calc-export-btns button {
    padding: 10px 25px;
    border-radius: 4px;
    background-color: var(--tax-calc-button-color);
    position: relative;
    margin-top: 5px;
    width: 100%;
    height: 40px;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
    padding: 14px 20px;
    font-weight: bold;
    -webkit-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.1), inset 0 0 0 transparent;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.1), inset 0 0 0 transparent;
}

.toggle {
    cursor: pointer;
    display: inline-block;
}

.toggle-switch {
    display: inline-block;
    background: #ccc;
    border-radius: 16px;
    width: 58px;
    height: 32px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
}

.toggle-switch:before,
.toggle-switch:after {
    content: "";
}

.toggle-switch:before {
    display: block;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    width: 24px;
    height: 24px;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: left 0.25s;
}

.toggle:hover .toggle-switch:before {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.toggle-checkbox:checked+.toggle-switch {
    background: #56c080;
}

.toggle-checkbox:checked+.toggle-switch:before {
    left: 30px;
}

.toggle-checkbox {
    position: absolute;
    visibility: hidden;
}

.toggle-label {
    margin-left: 5px;
    position: relative;
    top: 2px;
    margin-top: -5px;
}

select option {
    font-family: Arial
}

@media (max-width: 580px) {
    .tax-calc-result-table-options {
        display: none;
    }

    .tax-calc-result-table-options-mobile {
        display: flex;
    }

    .tax-calc-result-table td:nth-of-type(n+3),
    .tax-calc-result-table th:nth-of-type(n+3) {
        display: none;
    }
}

@media (max-width: 480px) {
    .tax-calc-row>label {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        width: 100%;
    }

    .tax-calc-row {
        flex-direction: column;
        row-gap: 10px;
    }
}

.tax-calc-reset-btn {
    column-gap: 4px;
    margin-top: 9px;
    align-items: center;
    display: flex;
    position: relative;
    color: black;
    background-color: transparent;
    padding: 0;
    border: none;
}

.tax-calc-reset-btn:before {
    width: 20px;
    display: block;
    height: 20px;
    content: "";
    background-size: contain;
    background-image: url('/wp-content/plugins/ireland-tax-calculator/assets/images/reset.svg');
    background-repeat: no-repeat;
}

.tax-calc-reset-btn:hover,
.tax-calc-reset-btn:focus {
    background-color: transparent;
    color: black;
}

.tax-calc-summary {
    text-align: center;
    margin-bottom: 15px;
    font-size: 15px;
    display: none;
}

.tax-calc-bold {
    font-weight: 600;
}

.tax-calc-further-breakdown-btn {
    display: block;
    cursor: pointer;
    color: var(--tax-calc-button-color) !important;
}

.tax-calc-further-breakdown-btn:hover {
    color: #459966 !important;
}

.tax-calc-married-options {
    display: none;
}


.tax-calc-radio-wrapper {
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    border: 1px solid var(--tax-calc-border-color);
}


.tax-calc-radio-wrapper input[type="radio"] {
    display: none;
}

.tax-calc-radio-wrapper label {
    cursor: pointer;
    background-color: #f7f7f7;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--tax-calc-border-color);
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 8px 0;
}

.tax-calc-radio-wrapper label:last-of-type {
    border: none;
}

.tax-calc-radio-wrapper input[type="radio"]:checked + label {
    background-color: var(--tax-calc-selected-color);
}

.tax-calc-check-list-wrapper {
    display: flex;
    flex-direction: column;
}

.tax-calc-check-list-wrapper input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.25);
}

.tax-calc-check-list-wrapper>label {
    display: flex;
    align-items: center;
}