html {
  font-size: 16px;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

body>.container {
    flex: 1;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

html {
  position: relative;
  min-height: 100%;
}


/*CUSTOM BELOW*/

footer {
    background-color: var(--tm-footer-bg);
    padding-bottom: 100px;
}

.footer a {
    color: #00B0B9;
    font-size: 13px;
    text-decoration: none;
}

footer p {
    color: white;
    font-family: 'ArialMT', 'Arial', sans-serif;
    font-size: 12px;
    line-height: normal;
}

.talisman-footer {
    background-color: rgba(51, 51, 51, 1);
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 28px;
    line-height: 26px;
}

h3 {
    font-size: 20px;
    line-height: 26px;
}

fieldset h3 {
    font-size: 24px;
}

.fs-65 {
    font-size: 15px;
}

.fs-7 {
    font-size: 14px;
}

.fs-8 {
    font-size: 12px;
}

a.hyperlink {
    text-decoration: none;
    font-size: 15px;
}

.card label {
    font-size: 14px;
    color: var(--bs-primary);
}
    .card label.form-label-plain {
        font-size: 16px;
        color: inherit;
    }
.card div.row.emphasised label {
    font-size: 24px;
    color: inherit;
    font-weight: bold;
}
.card div.row.emphasised .form-control-plaintext {
    font-size: 24px;
    font-weight: bold;
}

.your-quote label.fw-bold {
    color: var(--bs-body);
}

.your-quote .emphasised input {
    font-weight: bold;
}

.card input {
    padding-top: 0;
}

.card h6 {
    font-size: 18px;
    font-weight: bold;
    color: var(--bs-primary);
}

input[readonly] {
    font-size: 18px;
}
div.smaller-text input[readonly] {
    font-size: 16px;
}
td>input[readonly] {
    font-size: 15px;
    padding-bottom: 0;
}
fieldset input[readonly] {
    font-size: 14px;
}
.your-quote input[readonly] {
    font-size: 14px;
}

.btn-primary {
    background-color: var(--tm-btn-primary);
    border: 1px solid var(--tm-btn-primary);
    min-width: 40px;
    min-height: 40px;
    /*border: 1px solid #671E75;*/
    color: var(--tm-btn-primary-color);
    font-size: 16px;
    line-height: 18px;
    margin: 8px 12px 2px;
}

.btn-primary:hover {
    background-color: var(--tm-btn-primary-hover);
    border: 1px solid var(--tm-btn-primary-hover);
    color: var(--tm-btn-primary-hover-color);
}

.btn-secondary {
    background-color: var(--tm-btn-secondary);
    border: 1px solid var(--tm-btn-secondary-color);
    min-width: 80px;
    min-height: 40px;
    color: var(--tm-btn-secondary-color);
    font-size: 16px;
    line-height: 18px;
    margin: 8px 12px 2px;
}
.card .btn-secondary {
    border-radius: 22px;
    min-width: 150px;
}
fieldset .btn-secondary {
    margin: 2px 12px 2px;
}

.btn-secondary:hover {
    background-color: var(--tm-btn-secondary-hover);
    border: 1px solid var(--tm-btn-secondary-hover);
    color: var(--tm-btn-secondary-hover-color);
}

label.btn-secondary {
    border-color: #cccccc;
    padding-top: 9px;
    color: var(--bs-tertiary-color);
}

.btn-check + .btn:hover:hover {
    background-color: var(--tm-btn-tertiary-hover);
    color: var(--tm-btn-tertiary-hover-color);
}

.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show {
    background-color: var(--bs-form-valid-color);
    color: white;
    border: 1px solid var(--bs-form-valid-border-color);
}

.form-check-input {
    height: 32px;
    width: 60px!important;
}

.form-check-input:checked {
    background-color: rgba(55, 145, 33, 1);
    border-color: rgba(55, 145, 33, 1);
}

.form-control, .form-select {
    background-color: var(--tm-form-control-bg);
    border-width: 1px;
    /*border: 1px solid #179121;*/
    border-radius: 5px;
    max-width: 500px;
    min-height: 40px;
    font-size: 14px;
    /*color: black;*/
    line-height: 18px;
}

.form-control:focus {
    background-color: var(--tm-form-control-focus-bg);
}

[data-hidden] {
    display: none !important;
}

.field-validation-error {
    color: var(--bs-form-invalid-color);
}

.contact-us .form-control-plaintext {
    display: inline-block;
    width: auto;
}

.contact-us {
    font-size: 20px !important;
}
.contact-us label {
    font-weight: bold;
}

span.quote-expiry {
    font-size: 12px;
    font-weight: bold;
    width: 190px;
    right: 0;
    top: 0;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    color: white;
    background-color: rgba(253, 97, 81, 1);
}

textarea {
    width: 100%!important;
    max-width: none;
    height: 220px !important;
    border-radius: 5px;
    border-width: 1px;
    padding: 12px;
}
/*
#EditQuote fieldset .form-label {
    white-space: pre-wrap;
}*/

/* Step Count */
ul.rb-step {
    counter-reset: step;
}

ul.rb-step li:before {
    content: counter(step);
    counter-increment: step;
}

.card .why-choose-us h2 {
    font-size: 20px;
    color: var(--bs-primary);
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.card .why-choose-us p {
    font-size: 14px;
}

.expiry-warning {
    background-color: rgba(253, 97, 81, 1);
    border-radius: 14px;
    color: white;
    font-size: 12px;
}
.referred-declined {
    background-color: red;
    border-radius: 14px;
    color: white;
    font-size: 12px;
}

.validation-summary-errors ul {
    margin-bottom: 0;
}

.nav-tabs {
    border-color: var(--bs-nav-link-color);
}

.nav-tabs .nav-link {
    border: none;
    text-transform: uppercase!important;
}

    .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
        color: var(--bs-nav-link-color);
        background-color: initial;
        border-bottom: thick solid var(--bs-nav-link-color)!important;
        font-weight: bold;
    }

@media only screen and (min-width : 1200px) {
    .border-lg-start {
        border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }
}



.progressbar {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

    .progressbar li {
        list-style-type: none;
        width: 25%;
        float: left;
        font-size: 14px;
        position: relative;
        text-align: center;
        color: rgb(127, 127, 127)
    }

        .progressbar li.active {
            color: var(--bs-primary);
        }

        .progressbar li:after {
            width: 100%;
            height: 1px;
            content: "";
            position: absolute;
            background-color: rgb(127, 127, 127);
            top: 15px;
            left: -50%;
            z-index: -1;
        }

        .progressbar li:first-child:after {
            left: 100% !important;
        }

        .progressbar li.complete + li:after {
            background-color: var(--bs-primary);
        }

        .progressbar li:before {
            width: 32px;
            height: 32px;
            display: block;
            text-align: center;
            margin: auto;
            border-radius: 50%;
            border: 1.5px solid rgb(127, 127, 127);
            background-color: white;
            color: rgb(127, 127, 127);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .progressbar li.complete:before {
            background-color: var(--bs-body-bg);
            border: 1.5px solid var(--bs-primary);
        }

        .progressbar li.active:before {
            background-color: var(--bs-primary);
            border: 1.5px solid var(--bs-primary);
            color: white;
        }



/* Wrapper for Autocomplete search input */
#autocomplete_wrap {
    position: relative;
}

/* Dropdown list for returned search terms */
.suggestion_list {
    position: absolute;
    background-color: var(--bs-body-bg);
    outline: -webkit-focus-ring-color auto 1px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
}

    .suggestion_list li {
        cursor: pointer;
        padding: 0.5rem 1rem;
    }

        .suggestion_list li.header {
            border-bottom: 2px solid #ddd;
        }

        .suggestion_list li:hover,
        .suggestion_list li.selected {
            background-color: var(--bs-primary);
            color: white;
        }

        .suggestion_list li span.extra-info {
            font-size: 0.75em;
            color: var(--bs-tertiary-color);
        }




.full-width-toast .toast {
    width: 100% !important;
}

.full-width-toast .toast-body {
    padding: 15px !important;
}

.full-width-toast .toast .btn-close {
    display: none;
}
