﻿.CustomRadio {
    width: 20px !important;
    height: 20px !important
}

.CustomRadioLabel {
    width: 20px !important;
    height: 20px !important
}

input.CustomCheckbox {
    display: none;
}

    input.CustomCheckbox + span {
        display: inline-block;
        height: 30px;
        width: 30px;
        background: url(/Images/unselected.svg);
        vertical-align: middle;
    }

    input.CustomCheckbox:checked + span {
        background: url(/Images/selected.svg);
    }

input.CustomProCheckbox {
    display: none;
}

    input.CustomProCheckbox + button {
        display: inline-block;
        height: 30px;
        width: 30px;
        background: url(/Images/unselected.svg);
        vertical-align: middle;
    }

    input.CustomProCheckbox:checked + button {
        background: url(/Images/selected.svg);
    }

body {
}

.providerLabel {
    float: left;
    font-size: large;
    font-weight: bold;
}

.chartSortOrder {
    text-align: right;
    font-size: large;
    font-weight: bold;
    margin-left: 151px;
}

.analysisbottomMargin50 {
    padding-bottom: 80px;
}

.bottomMargin50 {
    padding-bottom: 80px;
}

.policyText {
    color: #1e228c;
    text-align: left;
    display: inline-block;
    font-weight: normal;
}

/*input[type=checkbox] + label {
    background-image: url("../Images/unselected.svg");
    background-repeat: no-repeat;
    background-size: 27px 27px;
    background-position-x: 8px;
    background-position-y: center;
}

input[type=checkbox]:checked + label {
    background-image: url("../Images/selected.svg");
    background-repeat: no-repeat;
    background-size: 27px 27px;
    background-position-x: 8px;
    background-position-y: center;
}

input[type="checkbox"]:disabled + label {
    background-image: url("../Images/disabledunselected.svg");
    background-repeat: no-repeat;
    background-size: 27px 27px;
    background-position-x: 8px;
    background-position-y: center;
}*/


/*div {
    display: inline-block;
    min-width: 100vw;
}
*/

.modalDiv {
    display: block;
    min-width: 0vw !important;
}

.mainfieldSet input[type=text] {
    width: 148px !important;
}

@media (min-width:1025px) {
    .maxWidth {
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
        min-width: auto;
        /*display: block;*/
    }

        .maxWidth div {
            min-width: auto;
            /*display: block;*/
        }

    fieldset.mainfieldSet990 {
        max-width: 990px !important;
    }

    table.Children {
        display: inline-table !important;
    }

    .selectList > div {
        margin-right: 0px !important;
    }

    .selectList990 div {
        margin-top: 5px;
        margin-right: 10px;
        display: inline-block;
        min-width: auto;
    }

    .selectList990 button {
        border: 1px solid #1e228c;
        margin-right: 10px;
        width: 235px;
        height: 55px;
        vertical-align: middle;
        margin: 5px;
        border-radius: 10px;
        display: inline-block;
        font-size: initial;
        text-align: left;
        padding-left: 30px;
    }

    .mainfieldSet990 button {
        margin-left: auto;
        margin-right: auto;
        font-size: large;
    }

    .mainfieldSet990 p {
        font-size: larger;
    }

    .mainfieldSet label {
        width: 495px !important;
    }

    .navigationCenterButton {
        text-align: center !important;
        margin-left: 120px;
        margin-left: auto;
        margin-right: auto;
    }

    .navigation button {
        /*font-size: large;*/
        font-size: 14px
    }

    span input.PolicyTerm {
        border-radius: 10px !important;
        font-size: large !important;
        width: 102px !important;
    }

    span.PolicyTerm::after {
        font-size: 18px !important;
    }

    span.AmountAssured::before {
        font-size: 18px !important;
    }

    span.AmountAssured input {
        border-radius: 10px !important;
        font-size: large !important;
        width: 132px !important;
    }

    .mainfieldSet input[type="date"] {
        min-width: 150px !important;
        font-size: 18px !important;
        border-radius: 5px;
    }

    .mainfieldSet input, .mainfieldSet select {
        width: 157px !important;
        height: 30px !important;
        font-size: large !important;
        border-radius: 5px !important;
    }
}

@media only screen {
    td[data-content]::before, span[data-content]::before {
        content: attr(data-content);
    }

    .boldbefore::before {
        font-weight: bold;
    }
}

@media only screen and (max-device-width : 812px) {

    .header {
        text-align: center;
    }

        .header > img {
            width: 100%;
            max-width: 300px;
            margin: 10px;
        }

        .header .Options {
            width: 100% !important;
            text-align: center !important;
            float: none !important;
            padding: 0 0 5px 0 !important;
            min-width: auto;
        }

    .selectList label {
        border: 1px solid #1e228c;
        margin-right: 5px;
        width: 200px;
        height: 50px;
        vertical-align: middle;
        padding-left: 10px;
        margin-left: -30px;
        border-radius: 10px;
        vertical-align: middle;
        display: table-cell;
    }

    .selectList div {
        /*display: table-row !important;*/
        border-spacing: 10px !important;
    }

        .selectList div label {
            /*width: 100% !important;*/
        }

    .selectDataTableList div label {
        width: 100% !important;
    }


    .mainfieldSet input[type=text] {
        width: 130px !important;
        display: inline-block;
        border: solid 1px rgb(76,76,76);
        border-radius: 5px;
    }

    .chartSortOrder {
        margin-left: 0px !important;
    }
}

fieldset.mainfieldSet {
    margin-left: auto;
    margin-right: auto;
    max-width: 560px;
}

html, body {
    font-family: 'Inter', sans-serif;
    height: 100%;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

td.Negative {
    color: red;
    font-weight: bold;
}

td.Positive {
    color: green;
    font-weight: bold;
}

.vdp-datepicker {
    display: inline-block;
}

.LoggingIn {
    /*width: 100%;*/
    max-width: 400px;
    border-radius: 5px;
    border: 1px solid #999999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */
    padding: 30px 30px 30px 30px;
}

.button150 {
    width: 5%;
    width: 100%;
    max-width: 150px;
    min-width: 50px;
}

.button160 {
    width: 5%;
    width: 100%;
    max-width: 160px;
    min-width: 50px;
}

.button250 {
    width: 5%;
    width: 100%;
    max-width: 250px;
    min-width: 250px;
}

.initialSelectionForm {
    /*width: 100%;*/
    max-width: 400px;
    border-radius: 5px;
    /*border: 1px solid #999999;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */
    padding: 30px 30px 30px 30px;
}

.Loading, .Loading div {
    min-width: auto;
}

.Loading {
    /*width: 100%;*/
    max-width: 400px;
    border-radius: 5px;
    border: 1px solid #999999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */
    padding: 30px 30px 30px 30px;
    background: #f8c212;
}

    .Loading svg {
        margin: auto;
        display: block;
    }

.initialSelectionForm h1 {
    margin-top: 0px;
}

h1 {
    color: #1e228c;
}

hr {
    border-bottom: 1px solid #1e228c;
}


button {
    padding: 5px 5px 5px 5px;
    background: #1e228c;
    border-radius: 5px;
    color: #f8c212;
    border: none;
    margin: 5px 0px 0px 0px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

    button:disabled {
        background-color: gray;
        font-style: italic;
    }

.btnNonHighlighted {
    /*background-color: #ecf0f5;
            color: #f8c212;*/
    background-color: white;
    color: black;
    border: 1px solid #1e228c;
}

.ModalBackground, .ModalAnalysisBackground {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    margin: 0 0 0 0;
    padding: 0;
    top: 0;
    z-index: 15;
    display: none;
    left: 0;
}

.ModalBackgroundBody {
    overflow-y: scroll;
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    top: 110px;
    padding-top: 30px;
}

.ModalBackGroundPanel {
    width: 100%;
    max-width: 800px;
    border-radius: 5px;
    border: 1px solid #999999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */
    padding: 30px 30px 30px 30px;
    background: white;
    width: 100%;
    height: 100%;
    max-height: 600px;
    overflow-y: scroll;
    position: absolute;
}

.header .Options {
    width: auto;
    text-align: right;
    float: right;
    padding-right: 30px;
    padding-top: 30px;
    min-width: auto;
}

    .header .Options button {
        margin: 0 0 0 0;
        height: 100%;
        margin-left: 5px;
        display: inline-block;
        margin-top: -3px;
        vertical-align: text-top;
    }

.header {
    border-bottom: 1px solid #1e228c;
}

    .header button {
        vertical-align: super;
        width: auto;
    }

    .header > img {
        width: 100%;
        max-width: 300px;
        margin: 10px;
    }

.footer > div > p > a {
    text-decoration: none;
    color: #f8c212;
    margin: 10px;
}

.footer > div > p {
    color: #f8c212;
}

.footer {
    width: 100%;
    text-align: center;
    background: #1e228c;
    color: #f8c212;
    overflow: hidden;
    position: fixed;
    bottom: 0;
}

.Title {
    display: inline-block;
}

.selectList label {
    border: 1px solid #1e228c;
    width: 440px;
    height: 50px;
    vertical-align: middle;
    border-radius: 10px;
    display: table-cell;
    text-align: center;
}

.childLabel {
    height: 40px !important;
}

.selectList div {
    margin-top: 5px;
    margin: 10px;
    display: inline-table;
    min-width: unset;
}

.selectList input {
    position: absolute;
    margin-left: 10px;
    margin-top: 17px;
}

.selectList :checked + label {
    color: #f8c212;
    background-color: #1e228c;
}

.selectList :disabled + label {
    color: gray;
    border-color: gray;
}

.selectDataTableList div {
    display: unset;
    margin-right: 0px !important;
}

.selectDataTableList label {
    /*border: 1px solid #1e228c;
    width: 180px;
    height: 50px;
    vertical-align: middle;
    padding-left: 10px;
    border-radius: 10px;
    display: inline-block;
    margin: 5px;*/
    /* border: 1px solid #1e228c; */
    /* width: 180px; */
    /* height: 50px; */
    /* vertical-align: middle; */
    /* padding-left: 10px; */
    /* border-radius: 10px; */
    /*display: inline-block;*/
    margin: 5px;
}

fieldset {
    border: none;
    clear: both;
}

    fieldset legend {
        color: #1e228c;
        font-size: x-large;
    }


.mainfieldSet input, .mainfieldSet select {
    width: 140px;
    font-family: 'Roboto', sans-serif;
}

    .mainfieldSet input[type="date"] {
        width: 128px !important;
    }

    .mainfieldSet input.PolicyTerm {
    }

span.PolicyTerm {
    display: inline-block;
    border: solid 1px rgb(76,76,76);
    border-radius: 5px;
}

    span.PolicyTerm::after {
        content: "years";
        width: 40px;
        font-family: 'Roboto';
        color: rgb(76,76,76);
        display: inline-block;
        padding-right: 5px;
        font-size: 11px;
        text-align: right;
    }

    span.PolicyTerm input {
        border: none;
        width: 84px;
        padding: 0px 0px 0px 5px;
    }

span.AmountAssured {
    display: inline-block;
    border: solid 1px rgb(76,76,76);
    border-radius: 5px;
}

    span.AmountAssured::before {
        content: "£";
        width: 10px;
        font-family: 'Roboto';
        color: rgb(76,76,76);
        display: inline-block;
        padding-left: 5px;
        font-size: 11px;
        text-align: left;
    }

    span.AmountAssured input {
        border: none;
        width: 118px;
        padding: 0px 0px 0px 5px;
    }

.mainfieldSet label {
    display: inline-block;
    width: 250px;
}

.analisysBody {
    /*overflow-y: scroll;
            position: absolute;
            left: 30px;
            right: 30px;
            bottom: 30px;
            top: 110px;*/
    padding-top: 30px;
}

.AnalysisPanel {
    /*width: 100%;*/
    /*max-width: 800px;*/
    border-radius: 5px;
    border: 1px solid #999999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */
    padding: 30px 30px 30px 30px;
    background: white;
    width: 100%;
    height: 100%;
    max-height: 600px;
}

.Graph {
    height: 100%;
    max-height: 400px;
    padding: 30px 0px 30px 0px;
}

table.Children {
    margin-left: inherit;
    border-collapse: collapse;
    width: 100%;
}

    table.Children th {
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: left;
        background-color: #1e228c;
        color: #f8c212;
    }

    table.Children td, table.Children th {
        border: 1px solid #1e228c;
        padding: 8px;
        vertical-align: top;
    }

    /*table.Children input[type="date"]
    {
        width:90px!important;
    }*/
    table.Children select {
        width: 80px;
    }

table button {
    margin-top: 0px;
}

table.analysisStyles {
    border-collapse: collapse;
    width: 100%;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

    table.analysisStyles td, table.analysisStyles th {
        border: 1px solid #1e228c;
        padding: 8px;
        vertical-align: top;
    }

    table.analysisStyles tr:nth-child(even) {
        background-color: white;
    }

    table.analysisStyles tr:nth-child(odd) {
        background-color: #ecf0f5;
    }

    table.analysisStyles th {
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: left;
        background-color: #1e228c;
        color: #f8c212;
    }

    table.analysisStyles tfoot tr, table.analysisStyles tfoot tr th {
        position: sticky;
        bottom: 0;
        z-index: 10;
    }

    table.analysisStyles thead tr, table.analysisStyles thead tr th {
        position: sticky;
        top: 0;
        z-index: 10;
    }

td.analysisStyles table tfoot tr, td.analysisStyles table tfoot tr th {
    position: sticky;
    bottom: 45px;
    z-index: 5;
}

td.analysisStyles table thead tr, td.analysisStyles table thead tr th {
    position: sticky;
    top: 44px;
    z-index: 5;
}

.center {
    text-align: center;
    display: block;
}

.ibutton {
    width: 20px;
    height: 20px;
    vertical-align: bottom;
}

.navigation {
    text-align: center;
    max-width: 100vw;
    position: sticky;
    left: 0;
}

    .navigation button {
        width: 100%;
        max-width: 210px;
        min-width: 50px;
        display: inline-block;
        margin: 2px;
    }

.dtButton {
    display: inline-block;
    margin-right: 5px
}


.PieBullet {
    font-size: 2em;
    display: inline-block;
    vertical-align: sub;
}

.CustomComparionButtons {
    max-width: unset !important;
    margin: 2px;
}


table.DataTable {
    color: black;
    page-break-inside: avoid;
    min-width: 100%;
    border-collapse: collapse;
    table-layout: fixed
}

    table.DataTable caption {
        background: #1e228c;
        color: white;
        text-align: left;
        font-weight: bold;
        padding: 5px;
    }

    table.DataTable th {
        background: #1e228c;
        color: white;
        vertical-align: top;
        text-align: left;
        font-weight: normal;
        border: 1px solid black;
        min-width: 4cm;
    }

    table.DataTable thead tr:nth-child(2) th {
        background: #0070C0;
        color: white;
        vertical-align: top;
        text-align: left;
        font-weight: normal;
    }

    table.DataTable thead {
        page-break-after: avoid;
    }

    table.DataTable tbody.SubsectionTBody {
    }

        table.DataTable tbody.SubsectionTBody tr.SubsectionHeadingRow td {
            text-align: left !important;
            background-color: #0070C0;
            color: white;
            font-weight: bold;
        }


    table.DataTable tbody tr td {
        text-align: center;
        border: 1px solid black;
        min-height: 19px;
    }

    table.DataTable tbody tr.calculatedAmount td {
        font-weight: bold;
    }

    table.DataTable td.QuestionLevel0 {
        text-align: left;
    }

    table.DataTable td.QuestionLevel1 {
        text-align: left;
        padding-left: 5px;
    }

    table.DataTable td.QuestionLevel2 {
        text-align: left;
        padding-left: 10px;
    }

    table.DataTable td.QuestionLevel3 {
        text-align: left;
        padding-left: 15px;
    }

    table.DataTable td.QuestionLevel4 {
        text-align: left;
        padding-left: 20px;
    }

    table.DataTable td.QuestionLevel5 {
        text-align: left;
        padding-left: 25px;
    }

    table.DataTable td.Positive {
        color: green;
        font-weight: bold;
    }

    table.DataTable td.Negative {
        color: red;
        font-weight: bold;
    }

.h4 {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 26px;
    letter-spacing: -0.02em;
    color: #0F172A;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin: 15px 0px;
}

.Paragraph2 {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    /* or 136% */

    display: flex;
    align-items: center;
}


/* Hide number inputs arrows */
/* Chrome, Safari, Edge, Opera */
.input-number input::-webkit-outer-spin-button,
.input-number input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.input-number input[type=number] {
    -moz-appearance: textfield;    
}