﻿@font-face {
    font-family: openSansFont;
    src: url(/fonts/OpenSans/OpenSans-Regular.ttf);
}

@font-face {
    font-family: openSansMediumFont;
    src: url(/fonts/OpenSans/OpenSans-Medium.ttf);
}

@font-face {
    font-family: openSansBoldFont;
    src: url(/fonts/OpenSans/OpenSans-Bold.ttf);
}

.hidden {
    display: none;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

/* background images for desktop pages */
.desktop-background {
    background-image: url(/images/doccoms-bubbles-trans-no-border.svg), url(/images/doccoms-bubbles-trans-no-border.svg);
    background-position: right top, left bottom;
    background-repeat: no-repeat, no-repeat;
    background-size: 50%, 37%;
}

/* Ensure full-height Bootstrap modals */
.modal-dialog {
    height: 100% !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

.modal-content {
    height: auto;
    min-height: 100%;
}

.modal-body > div {
    position: unset;
    height: 100% !important;
}

h1 {
    font-size: xx-large !important;
}

.spacer {
    height: 10px;
    clear: both;
}

.btn {
    border-radius: 28px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.btn-primary {
    font-size: 18px;
    color: #fff;
    color: #fff;
    background-color: #4260AC;
    border-color: #4260AC;
    padding-top: 9px;
    padding-bottom: 9px;
}

    .btn-primary:not(:disabled):not(.disabled):active,
    .btn-primary:not(:disabled):not(.disabled):focus,
    .btn-primary:not(:disabled):not(.disabled):hover {
        background-color: #655da3;
        border-color: #655da3;
        box-shadow: 0 0 0 0.2rem rgba(101, 93, 163, 0.25) !important;
    }

.btn-secondary {
    font-size: 16px;
    color: #575757;
    background: rgba(63,55,138,0.1);
    border-color: #f8f8ff;
    padding-top: 9px;
    padding-bottom: 9px;
}

    .btn-secondary:not(:disabled):not(.disabled):active,
    .btn-secondary:not(:disabled):not(.disabled):focus,
    .btn-secondary:not(:disabled):not(.disabled):hover {
        color: #41378f;
        background-color: #f8f8ff;
        border-color: #f8f8ff;
        box-shadow: 0 0 0 0.2rem rgba(101, 93, 163, 0.25) !important;
    }

.btn-link {
    padding-left: 0px;
}

.btn:disabled {
    background-color: #a0a6ab !important;
    border-color: #a0a6ab !important;
}

.alert-tooltip-style {
    background-color: #ffffe1 !important;
    border-color: #dfdf63 !important;
    padding-top: 10px;
    padding-bottom:10px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #41378f;
    border-color: #41378f;
}

.popover-link {
    cursor: pointer;
    -moz-text-decoration-line: underline;
    -webkit-text-decoration-line: underline;
    text-decoration-line: underline;
    -moz-text-decoration-style: dotted;
    -webkit-text-decoration-style: dotted;
    text-decoration-style: dotted;
}

.form-control {
    background-color: #FEFEFE;
    border-radius: 4px;
    border-color: #989494;
    padding-top: 21px;
    padding-bottom: 21px;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-ring-color: rgba(0, 0, 0, 0);
}

    .form-control:focus {
        border-width: 2px;
        border-color: #384883;
        box-shadow: none;
    }

    .form-control.input-validation-error {
        background-color: #fff1f1;
    }

.form-control-grey {
    background-color: #F8F8F8;
    border-radius: 8px;
    border: 1px solid #BDBDBD;
    padding-top: 12px;
    padding-bottom: 12px;
    width: 100%;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-ring-color: rgba(0, 0, 0, 0);
}

    .form-control-grey:focus {
        background-color: #F8F8F8;
        border: 2px solid #3F378A;
        box-shadow: none;
    }

    .form-control-grey.input-validation-error {
        background-color: #fff1f1;
    }

.form-label {
    font-size: 17px;
    margin-left: 4px;
    margin-bottom: 0;
    color: #7A7A7A;
}

.form-title-label {
    font-size: 20px;
    color: #575757;
}

/*form styles*/
.wizard-form {
    text-align: left;
    position: relative;
    margin-top: 20px;
    margin-left: 16px;
    margin-right: 16px;
}

/*Hide all except first fieldset*/
.wizard-form fieldset:not(:first-of-type) {
    display: none;
}

/*Fieldset title*/
fieldset .fs-title {
    font-size: 32px;
    line-height: 30px;
    padding-top: 16px;
    font-weight: 400;
}

/*Fieldset standard sub title*/
fieldset .fs-sub-title {
    font-size: 16px;
    line-height: 33px;
    padding-top: 5%;
    padding-bottom: 2%;
    font-weight: 400;
}

/*Progressbar*/
.dc-progress-bar {
    padding-top: 1%;
    width: 90%;
    height: auto;
}

/*code-input*/
.code-sent-to {
    margin-top: 8%;
    text-align: center;
    font-size: 22px;
    line-height: 22px;
}

.code-input {
    margin-top: 4%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    width: 50%;
}

/* Better dropdown icon and background colour for select boxes */
.custom-select {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 6'%3e%3cpath fill='none' stroke='%23343a40' stroke-width='0.5' d='M0 2L2 4L4 2'/%3e%3c/svg%3e") no-repeat right 0.7rem center/16px 18px !important;
    background-color: #EDF0F3 !important;
}

    .custom-select:focus {
        border-color: #41378f !important;
        outline: 0 !important;
        box-shadow: 0 0 0 0.15rem rgba(101, 93, 163, 0.25) !important;
    }

/* Purple background for checkboxes */
.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff !important;
    border-color: #41378f !important;
    background-color: #41378f !important;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.15rem rgba(101, 93, 163, 0.25) !important;
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #41378f !important;
}

.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    color: #fff !important;
    background-color: #655da3 !important;
    border-color: #655da3 !important;
}

/* Larger checkboxes */
.custom-control-label::before {
    transform: scale(1.5);
    padding: 2px;
}

/* Enlarged tick charecter for checkboxes*/
.custom-control-label:after {
    width: 2rem !important;
    height: 2rem !important;
    top: -0.18rem !important;
    left: -2rem !important;
}

.custom-control-label > span {
    padding: 5px;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    background-color: #ffffff;
    font-family: openSansFont, "Segoe UI", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: openSansBoldFont, "Segoe UI", Arial, sans-serif;
    padding-top: 5px;
    padding-bottom: 5px;
}

label {
    font-family: openSansFont, "Segoe UI", Arial, sans-serif;
}

.btn {
    font-family: openSansMediumFont, "Segoe UI", Arial, sans-serif;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.complex-password-meter-active {
    margin-top: 10px;
}

.complex-password-meter .block {
    margin-right: 5px;
}

.complex-password-meter .summary {
    font-weight: bold;
}

.complex-password-meter .block.weak {
    border: 1px solid #aa0000;
}

    .complex-password-meter .block.weak.filled {
        background-color: #aa0000;
    }

.complex-password-meter .summary.weak {
    color: #aa0000;
}

.complex-password-meter .block.medium {
    border: 1px solid #ffbf00;
}

    .complex-password-meter .block.medium.filled {
        background-color: #ffbf00;
    }

.complex-password-meter .summary.medium {
    color: #b99118;
}

.complex-password-meter .block.strong {
    border: 1px solid #00aa00;
}

    .complex-password-meter .block.strong.filled {
        background-color: #00aa00;
    }

.complex-password-meter .summary.strong {
    color: #00aa00;
}

.validation-summary-errors {
    /* If this is only large instead of x-large, dotted/dashed underlines don't render properly in Chrome for some reason */
    /* JB 09022023 large seems to work fine */
    font-size: large;
    overflow-wrap: break-word;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

canvas#resultsChart {
    height: 400px;
    margin-top: 10px;
    margin-bottom: 10px;
}

table.smallpadded td, table.smallpadded th {
    padding: 5px;
}

table.padded td, table.padded th {
    padding: 15px;
}

table.results button {
    margin: 0 !important;
}

table.results th {
    background-color: #eeeeee;
}

table.results tr:nth-child(odd) {
    background-color: #ffffff;
}

table.results tr:nth-child(even) {
    background-color: #eeeeee;
}

.input-check {
    margin-left: -54px;
    display: inline-block;
    margin-bottom: 4px;
}

.input-check-control-right {
    display: inline-block;
    padding-right: 57px;
}

.user-icon-control-left {
    position: absolute;
    margin-left: 5px;
    display: inline-block;
    margin-top: 5px;
}

.padlock-icon-control-left {
    position: absolute;
    margin-left: 5px;
    display: inline-block;
    margin-top: 9px;
}

.control-internal-icon-left {
    display: inline-block;
    padding-left: 46px;
}

.text-in-line {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #BDBDBD;
    line-height: 0.1em;
    margin: 10px 20px 20px;
}

    .text-in-line span {
        background: #FFF;
        padding: 0 10px;
    }

.mobile-panel {
    margin-left: auto;
    margin-right: auto;
}

.hyperlink-secondary {
    font-size: 15px;
    color: #777777;
}

.validation-summary-errors ul {
    list-style: none;
    padding-left: 0;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.alert {
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 10px;
    padding-right: 0px;
    border: 0px;
    border-radius: 8px;
}

.image-horizontal-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*Mobile first*/
.password-hint-group {
    margin: 0;
    width: 100%;
}

@media (min-width: 780px) {
    /*center it on larger screens*/
    .password-hint-group {
        margin: auto;
        width: 30%;
    }
}

.password-hint-reject {
    color: #B52020;
}

.password-hint-accept {
    color: #27AE60;
}

.password-hint-accept:after {
    content: " \2713";
}

.iti__globe {
    background-image: url("~/lib/intltelinput/dist/img/globe.png");
}

.iti__flag {
    background-image: url("~/lib/intltelinput/dist/img/flags.png");
}

@media (min-resolution: 2x) {
    .iti__globe {
        background-image: url("~/lib/intltelinput/dist/img/globe@2x.png");
    }

    .iti__flag {
        background-image: url("~/lib/intltelinput/dist/img/flags@2x.png");
    }
}

.iti {
    width: 100%;
}