/*
 * bootstrap4-migration/custom.css
 *
 * During the migration period, I expect to be hacking classes in and out of the 
 * system. This file contains classes which are used during the migration
 * period, but will find another home later.
 */

/* forms - right-aligned labels */
@media (min-width: 768px) {
    .form-horizontal .col-form-label:dir(ltr) {
        text-align: right;
        margin-bottom: 0;
    }
    .form-horizontal .col-form-label:dir(rtl) {
        text-align: left;
        margin-bottom: 0;
    }
}

/* Fix some bootstrap bugs affecting rtl */
.dropdown-menu:dir(rtl) {
    text-align: right !important;
}

/* utility class for float right */
.pull-right {
    float: right!important;
    /* Flex-box - can't float items */
    margin-left: auto;
}
.pull-left {
    float: left!important;
}

/* form-actions was removed in bootstrap3 - it was carried along - refactor to ui-form-actions component */

.form-actions {
    margin-top: 18px;
    text-align: right;
    margin-bottom: 5px;
    padding: 7px 20px 8px;
    border-top: 3px #006687 solid;
}

/* KG - I added the rule to require consecutive elements because the
 * margin was being inserted where I didn't want it.
 */

.form-actions>.btn:dir(ltr) + .btn:dir(ltr),
.form-actions>.btn-group:dir(ltr) +.btn-group:dir(ltr),
.form-actions>.input-group:dir(ltr) + .input-group:dir(ltr),
.form-actions .btn:dir(ltr) + .btn:dir(ltr),
.btn-toolbar>.btn:dir(ltr) + .btn:dir(ltr),
.btn-toolbar>.btn-group:dir(ltr) +.btn-group:dir(ltr),
.btn-toolbar>.input-group:dir(ltr) + .input-group:dir(ltr),
.modal-footer>.btn:dir(ltr) + .btn:dir(ltr),
.modal-header>.btn:dir(ltr) + .btn:dir(ltr),
.panel--journey .panel-footer .btn:dir(ltr) + .btn:dir(ltr),
.modal-footer .btn:dir(ltr) + .btn:dir(ltr),
.modal-footer .btn-group:dir(ltr) +.btn-group:dir(ltr),
.modal-footer .input-group:dir(ltr) + .input-group:dir(ltr) {
    margin-left: 10px;
}

.form-actions>.btn:dir(rtl) + .btn:dir(rtl),
.form-actions>.btn-group:dir(rtl) +.btn-group:dir(rtl),
.form-actions>.input-group:dir(rtl) + .input-group:dir(rtl),
.form-actions .btn:dir(rtl) + .btn:dir(rtl),
.btn-toolbar>.btn:dir(rtl) + .btn:dir(rtl),
.btn-toolbar>.btn-group:dir(rtl) +.btn-group:dir(rtl),
.btn-toolbar>.input-group:dir(rtl) + .input-group:dir(rtl),
.modal-footer>.btn:dir(rtl) + .btn:dir(rtl),
.modal-header>.btn:dir(rtl) + .btn:dir(rtl),
.panel--journey .panel-footer .btn:dir(rtl) + .btn:dir(rtl),
.modal-footer .btn:dir(rtl) + .btn:dir(rtl),
.modal-footer .btn-group:dir(rtl) +.btn-group:dir(rtl),
.modal-footer .input-group:dir(rtl) + .input-group:dir(rtl) {
    margin-right: 10px;
}

/* buttons - refactor to ui classes */
.btn--secondary {
    color: #006687;
    background-color: #fff;
    border-color: #006687;
}

.btn-primary.btn--outline {
    color: #006687;
    background-color: #fff;
    border-color: #00536e;
}

.btn-danger.btn--outline {
    color: #d32f2f;
    background-color: #fff;
    border-color: #c02929;
}

.btn-warning.btn--outline {
    color: #ef6c00;
    background-color: #fff;
    border-color: #d66000;
}

.btn-success.btn--outline {
    color: #358753;
    background-color: #fff;
    border-color: #2e7548;
}

/* defaultsink - this is what I did before I wrote ui-form component */
.defaultsink { 
    left: -10000px;
    position: absolute;
}

/* Layout of page inside menu layout - TODO - merge towards layout component */
.object-menu__content {
    /* padding: 10px 20px; - Too much space on small devices */
    min-height: 60vh;
}

@media (min-width: 992px) {
    .object-menu__content {
        padding: 10px 20px;
    }
}

/* Styles for patient banner - TODO - merge towards layout component */

.patient-banner {
    padding: 1px 10px 2px 20px;
    margin: 0px;
    color: #212121;
    border-radius: 0px;
    background-color: #f5f5f5;
}

.patient-banner .patient-info__lead {
    font-weight: bold;
    font-size: 20px;
    margin-left: 0;
}

.patient-banner--centre h4,
.patient-banner--centre .icon-user {
    color: #006687;
}

.patient-banner h4 {
    margin: 8px 0px;
    color: #358753;
    font-size: 14px;
    font-weight: 700;
}

.patient-banner--centre .patient-info__label {
    color: #757575;
}

.patient-banner .patient-info__label {
    color: #9e9e9e;
    margin-left: 5px;
    font-weight: bold;
}

/* Full Screen Modals */
.modal-fs {
  width: 100%;
  top: 0;
  bottom: 0;
  margin: 0;
  left: 0;
  right: 0;
  position: absolute;
  /* height: 100%; */
  max-height: 100%;
}

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

@media (max-width: 991px) {
     /* Having problems on mobile - modals seem to be bigger than the view port */
     /* https://github.com/tailwindlabs/tailwindcss/discussions/4515 */
     .modal {
       width: 100vw !important;
       height: 100% !important;
       background-color: #FFF;
     }

    .modal-fs .modal-content {
      border: 0;
      border-radius: 0;
    }
    .modal-fs {
      background-color: #FFF;
      height: 92% !important;
    }
    /* New class for full-screen modals without footer */
    .modal-fs-no-footer {
      height: 100% !important;
  }
}

@media (min-width: 992px) {
    .modal-fs {
      width: 100%;
      top: 0;
      bottom: 0;
      margin: 0;
      left: 0;
      right: 0;
      position: absolute;
    }
}

.modal-dialog.modal-fs {
  max-width: none;
}

/* Navbar */

.navbar-light .navbar-brand h3 {
    margin-top: 8px;
    color: #fff;
}

.navbar .nav>li>a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar .dropdown-toggle {
    color: #fff;
}

h2.page-title, h3.page-title {
    margin-top: 0px;
}

/* --------------------------------------------------- */
/* These are used in the query-builder where a form is in the pop-up */
.popover-footer {
    text-align: right;
    margin: 0;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    background-color: #F7F7F7;
    border-radius: 5px 5px 0 0;
}
/* --------------------------------------------------- */
/* These are used on drop-down buttons */
.btn .caret {
    margin-left: 0;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid \9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

/* --------------------------------------------------- */
.fieldset--border > legend {
  text-align: left;
  width: inherit;
  /* Or auto */
  width: 100%;
  border-bottom: none;
  font-size: 13px;
  font-weight: bold;
  border-top: 1px dashed #ddd;
  border-left: 1px dashed #ddd;
  line-height: 20px;
  margin: 9px 0 0;
  padding: 3px 0px 3px 6px;
}

/* KG - Fieldset as used in ECFS Tracker */
.fieldset--border {
  border: 0px groove #fff;
  padding: 0;
  margin: 0 0 1.5em 0;
  -webkit-box-shadow: 0px 0px 0px 0px #000;
  box-shadow: 0px 0px 0px 0px #000;
  border-bottom: 1px dashed #ddd;
  padding-top: 8px;
}

.fieldset--border > legend + .control-group {
  margin-top: 0px;
}

/* neg margin the minus button into place as the legend is v difficult to position */
.fieldset--border > legend + .btn-xs, .fieldset--border .btn-group-xs > legend + .btn {
  line-height: 16px;
  margin-top: -32px;
  /* -53px */
}

/* --------------------------------------------------- */
/*
 * form hierarchy and repeating concept.
 */
h4.form__sub-section, h4.form__sub-sub-section, h4.form__sub-sub-sub-section,
.fieldset--form1 > legend,
h5.form__sub-section, h5.form__sub-sub-section, h5.form__sub-sub-sub-section,
.fieldset--form2 > legend,
h6.form__sub-section, h6.form__sub-sub-section, h6.form__sub-sub-sub-section,
.fieldset--form3 > legend {
  color: #616161;
  font-size: 13px;
  font-weight: bold;
  background-color: #EEEEEE;
  line-height: 20px;
  margin: 9px 0;
  border-bottom: 0px solid #EEEEEE;
  border-left: 0px solid #F5F5F5;
  padding: 3px 6px 3px 6px;
}

h4.form__sub-sub-section, h5.form__sub-sub-section, h6.form__sub-sub-section,
.fieldset--form2 > legend {
  border-left: 20px solid #F5F5F5;
}

h4.form__sub-sub-sub-section, h5.form__sub-sub-sub-section, h6.form__sub-sub-sub-section,
.fieldset--form3 > legend {
  border-left: 40px solid #F5F5F5;
}

/*  split form layout - remove background on titles */
.col-sm-12 h4.form__sub-sub-section, .col-sm-12 h5.form__sub-sub-section, .col-sm-12 h6.form__sub-sub-section,
.col-sm-12 h4.form__sub-sub-sub-section, .col-sm-12 h5.form__sub-sub-sub-section, .col-sm-12 h6.form__sub-sub-sub-section,
.col-md-12 h4.form__sub-sub-section, .col-md-12 h5.form__sub-sub-section, .col-md-12 h6.form__sub-sub-section,
.col-md-12 h4.form__sub-sub-sub-section, .col-md-12 h5.form__sub-sub-sub-section, .col-md-12 h6.form__sub-sub-sub-section {
  background-color: transparent;
}

.col-sm-12 h4.form__sub-sub-section, .col-sm-12 h5.form__sub-sub-section, .col-sm-12 h6.form__sub-sub-section,
.col-md-12 h4.form__sub-sub-section, .col-md-12 h5.form__sub-sub-section, .col-md-12 h6.form__sub-sub-section {
  border-top: 2px solid #F5F5F5;
}

.col-sm-12 h4.form__sub-sub-sub-section, .col-sm-12 h5.form__sub-sub-sub-section, .col-sm-12 h6.form__sub-sub-sub-section,
.col-md-12 h4.form__sub-sub-sub-section, .col-md-12 h5.form__sub-sub-sub-section, .col-md-12 h6.form__sub-sub-sub-section {
  border-top: 1px solid #F5F5F5;
}

.fieldset--form1,
.form__sub-section__hr {
  border-top: 0px solid transparent;
  border-bottom: 4px solid #F5F5F5;
}

.fieldset--form2,
.form__sub-sub-section__hr {
  border-top: 0px solid transparent;
  border-bottom: 2px solid #F5F5F5;
}

.fieldset--form3,
.form__sub-sub-sub-section__hr {
  border-top: 0px solid transparent;
  border-bottom: 1px solid #F5F5F5;
}

.fieldset--form1,
.fieldset--form2,
.fieldset--form3 {
  margin-bottom: 10px;
}


.form__repeating-add {
  text-align: right;
  padding-bottom: 3px;
  line-height: 20px;
  margin-top: 0px;
  margin-bottom: 9px;
  /* 18px */
}

/* adjust button size to fit size of sub-section title */
.form__sub-section .btn-xs, .form__sub-section .btn-group-xs > .btn,
.form__sub-sub-section .btn-xs,
.form__sub-sub-section .btn-group-xs > .btn,
.form__sub-sub-sub-section .btn-xs,
.form__sub-sub-sub-section .btn-group-xs > .btn {
  line-height: 16px;
}


.form__sub-right,
.form__sub-left {
  color: #A8A8A8;
  font-weight: normal !important;
  text-transform: capitalize;
  font-style: italic;
  background-color: transparent !important;
  border: 0px solid #F5F5F5 !important;
  border-bottom: 1px solid #F5F5F5 !important;
}

/* ------------ Dropdown Menu ---------------------------------------*/
.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.4;
    color: #555;
    white-space: nowrap;
}

.dropdown-menu .divider {
    height: 1px;
    margin: 8px 0;
    overflow: hidden;
    background-color: rgba(0,0,0,0.2);
}

.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
    text-decoration: none;
    color: #737373;
    background-color: #eee;
}


/* ------------------------------------------------------------------*/
/* Additional Validation Signals */

.form-group.required .col-form-label:before, span.required:before { 
  content:"* ";
  color:red;
}

.form-group.expected .col-form-label:before, span.expected:before { 
  content:"Δ ";
  color:orange;
}

/* Max width */
.container--openapp {
  max-width: 1600px;
  padding-left: 15px;
  padding-right: 15px;
}
@media (max-width: 992px)  {
  .container--openapp {
    padding-left: 5px;
    padding-right: 5px;
  }
}
.insight-widgets--bootstrap-prd .container--openapp {
    padding-left: 0;
    padding-right: 0;
}

/* ------------------------------------------------------------------*/
/* I put btn-link on <a> tags with no href="" to give the standard <a>
 * styling. However, the standard class does not set the cursor.
 * The cursor style is on the btn class, but that includes other styles
 * that I don't want on an anchor tag.
 */
.btn-link:not(:disabled):not(.disabled) {
  cursor: pointer;
}

/* ------------------------------------------------------------------*/
/* This style is used to prevent various navigation and development
 * tools from printing when using CTRL-P from screen.
 */
@media print
{
    .noprint, .noprint *
    {
        display: none !important;
    }
}
/* ------------------------------------------------------------------*/
/* Keep footer at bottom of page */
@media (min-width: 992px)  {
    #footer {
        border-top: 1px solid #BBB;
        min-height: 140px;
        position: absolute;
        bottom: 0;
        width: 100%;
    }
    body {
        margin-bottom: 140px;
    }
}

#wrap {
    min-height: 100%;
    height: auto;
    height: 100%;
    margin: 0 auto 0px;
}

html {
	position: relative;
	min-height: 100%;
}

@media (max-width: 991px)  {

    footer.footer--site-footer {
        display: none !important;
    }

    body {
        margin-bottom: 0 !important;
    }

    #content {
        overflow: hidden;
    }
}


/* ------------------------------------------------------------------*/

/* Account holder + Patients */
.banner--prd--account-holder,
.card--prd,
.card--prd td,
.card--prd th {
  font-size: 16px;
}

.banner--prd--account-holder h1,
.banner--prd--account-holder h2,
.banner--prd--account-holder h3,
.banner--prd--account-holder h4,
.card--prd h1 {
  font-weight: bold;
  color: #fff;
  margin-top: 0;
}

.card--prd h2 {
  font-weight: bold;
}

.card--prd h1,
.card--prd h2 {
  color: #212121;
}

.card--prd .list-inline li {
  vertical-align: top;
}

.card--prd .list-group,
.card--prd .list-group a {
  border: none;
}

.banner--prd--account-holder a:link {
  color: #ff9800;
  background-color: transparent;
  text-decoration: none;
}

.banner--prd--account-holder a:visited {
  color: #ff9800;
  background-color: transparent;
  text-decoration: none;
}

.banner--prd--account-holder a:hover {
  color: #f57c00;
  background-color: transparent;
  text-decoration: underline;
}

.banner--prd--account-holder a:active {
  color: #e65100;
  background-color: transparent;
  text-decoration: underline;
}

.larger-1 .page-wrapper [class*="col-"] {
  position: relative;
  min-height: 1px;
  padding-left: 10px;
  padding-right: 10px;
  width: 100% !important;
  text-align: left;
}

.larger-1 .page-wrapper .control-label {
  padding-top: 15px;
  padding-bottom: 5px;
}

/* Surveys */
.page-wrapper {
  font-size: 16px;
}

h2.section-title {
  font-weight: bold;
}

form.form-proms label.control-label {
  font-size: 16px !important;
  margin-bottom: 20px;
  font-weight: bold;
}

/* questionnaire progress */
.sw-theme-dots > ul.step-anchor:before {
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 10px;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
  height: 20px;
  top: 20px;
}

.sw-theme-dots > ul.step-anchor > li > a:before {
  width: 8px;
  height: 8px;
  bottom: 4px;
  background: #B8B8B8;
  /* #989898; */
}

.sw-theme-dots > ul.step-anchor > li > a:after {
  width: 8px;
  height: 8px;
  bottom: -6px;
  left: 0;
}

.sw-theme-dots > ul.step-anchor > li.active > a:after {
  background: #006687;
}

/* Fix form-horizontal for vertical labels */
legend.label--vertical,
label.label--vertical {
    text-align: left !important;
    margin-bottom: 0px !important;
    font-weight: 600; /* Jake Design for VON */
}

/* Forms with hidden labels */
.hide {
    display: none!important;
}

/* Not filling space under flexbox */
.form-group--rhs {width: 100%;}
/* ------------------------------------------------------------------*/
/* Carent drop-down shown on bs3, but hidden on bs4 - add a class .hide--bs4 */
.hide--bs4 {
    display: none !important;
}


/* ------------------------------------------------------------------*/
/* Code Samples in documentation                                     */
pre {
    display: block;
    padding: 8.5px;
    margin: 0 0 9px;
    font-size: 12px;
    line-height: 1.4;
    word-break: break-all;
    word-wrap: break-word;
}


/* ------------------------------------------------------------------*/
/* These were brought across from bootstrap3 compiled files.         */
@font-face {
  font-family: 'ci';
  src: url("./fonts/icomoon/ci/ci.eot?i43qyk");
  src: url("./fonts/icomoon/ci/ci.eot?i43qyk#iefix") format("embedded-opentype"), url("./fonts/icomoon/ci/ci.ttf?i43qyk") format("truetype"), url("./fonts/icomoon/ci/ci.woff?i43qyk") format("woff"), url("./fonts/icomoon/ci/ci.svg?i43qyk#ci") format("svg");
  font-weight: normal;
  font-style: normal;
}

[class^="icon-ci-"], [class*=" icon-ci-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'ci' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-ci-back-to-patient-list:before {
  content: "\e905";
}

.icon-ci-flag:before {
  content: "\e904";
}

.icon-ci-flag-empty:before {
  content: "\e902";
}

.icon-ci-surgery:before {
  content: "\e900";
}

.icon-ci-flag-closed:before {
  content: "\e901";
}

.icon-ci-flag-locked:before {
  content: "\e903";
}

.icon-ci-verify-double:before {
  content: "\e000";
}

.icon-ci-archive:before {
  content: "\e001";
}

.icon-ci-assessment:before {
  content: "\e002";
}

.icon-ci-bar-chart:before {
  content: "\e016";
}

.icon-ci-camera-off:before {
  content: "\e019";
}

.icon-ci-close:before {
  content: "\e003";
}

.icon-ci-comment-add:before {
  content: "\e004";
}

.icon-ci-contribute:before {
  content: "\e013";
}

.icon-ci-data-add:before {
  content: "\e007";
}

.icon-ci-edit:before {
  content: "\e008";
}

.icon-ci-handshake:before {
  content: "\e018";
}

.icon-ci-hat:before {
  content: "\e014";
}

.icon-ci-meeting:before {
  content: "\e005";
}

.icon-ci-meeting-add:before {
  content: "\e011";
}

.icon-ci-network:before {
  content: "\e010";
}

.icon-ci-open:before {
  content: "\e00f";
}

.icon-ci-outcome:before {
  content: "\e00e";
}

.icon-ci-panel-add:before {
  content: "\e00d";
}

.icon-ci-patient:before {
  content: "\e00c";
}

.icon-ci-patient-enrol:before {
  content: "\e00b";
}

.icon-ci-patients:before {
  content: "\e012";
}

.icon-ci-save:before {
  content: "\e00a";
}

.icon-ci-share:before {
  content: "\e015";
}

.icon-ci-share-screen:before {
  content: "\e017";
}

.icon-ci-sign-off:before {
  content: "\e009";
}

.icon-ci-tick:before {
  content: "\e006";
}

.icon-ci-book:before {
  content: "\e01a";
}

.icon-ci-coding-standards:before {
  content: "\e01b";
}

.icon-ci-data-hosting:before {
  content: "\e01c";
}

.icon-ci-login:before {
  content: "\e01d";
}

.icon-ci-image:before {
  content: "\e01e";
}

.icon-ci-service-support:before {
  content: "\e01f";
}

.icon-ci-user-management:before {
  content: "\e020";
}

.icon-ci-user-manual:before {
  content: "\e021";
}

.icon-ci-video:before {
  content: "\e022";
}

.icon-ci-back-up:before {
  content: "\e023";
}

.icon-ci-explode:before {
  content: "\e024";
}

.icon-ci-microscope:before {
  content: "\e025";
}

.icon-ci-demographics:before {
  content: "\e026";
}

.icon-ci-dashboard:before {
  content: "\e027";
}

.icon-ci-clinical-insight-logo:before {
  content: "\e028";
}

.icon-ci-ascend-descend:before {
  content: "\e029";
}

.icon-ci-body:before {
  content: "\e02a";
}

.icon-ci-charts:before {
  content: "\e02b";
}

.icon-ci-dashboard-1:before {
  content: "\e02c";
}

.icon-ci-display:before {
  content: "\e02d";
}

.icon-ci-lung:before {
  content: "\e02e";
}

.icon-ci-medications:before {
  content: "\e02f";
}

.icon-ci-microbiology:before {
  content: "\e030";
}

.icon-ci-gas:before {
  content: "\e031";
}

.icon-ci-genotype:before {
  content: "\e032";
}

.icon-ci-hospital:before {
  content: "\e033";
}

.icon-ci-left-axis:before {
  content: "\e034";
}

.icon-ci-nutrition:before {
  content: "\e035";
}

.icon-ci-right-axis:before {
  content: "\e036";
}

.icon-ci-trends:before {
  content: "\e037";
}

.icon-ci-videos:before {
  content: "\e038";
}

.icon-ci-dicom:before {
  content: "\e039";
}

.icon-ci-list:before {
  content: "\e03a";
}

.flag-icon-background, .flag-icon {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
}

.flag-icon {
  position: relative;
  display: inline-block;
  width: 1.3333333333em;
  line-height: 1em;
}

.flag-icon:before {
  content: '\00a0';
}

.flag-icon-de {
  background-image: url(./fonts/flags/4x3/de.svg);
}

.flag-icon-es {
  background-image: url(./fonts/flags/4x3/es.svg);
}

.flag-icon-en {
  background-image: url(./fonts/flags/4x3/en.svg);
}

.flag-icon-pl {
  background-image: url(./fonts/flags/4x3/pl.svg);
}

.flag-icon-sl {
  background-image: url(./fonts/flags/4x3/sl.svg);
}

.flag-icon-it {
  background-image: url(./fonts/flags/4x3/it.svg);
}

.flag-icon-fr {
  background-image: url(./fonts/flags/4x3/fr.svg);
}

.flag-icon-pt {
  background-image: url(./fonts/flags/4x3/pt.svg);
}


/* -------------------------------------------------------- */
/* Most of the error signaling is removed in bootstrap4     */

.has-error .help-block {
    color: #b32626;
}

/* -------------------------------------------------------- */
.bg-primary {
    color: #fff;
}
/* -------------------------------------------------------- */
/* The date-picker layout is messed up in an inline-form */
.form-inline .b-calendar .form-control {
  display:block !important;
}

/* -------------------------------------------------------- */
/* Larger Button - Copied CSS from bootstrap 3  */

.larger-1 .page-wrapper [class*="col-"] {
  position: relative;
  min-height: 1px;
  padding-left: 10px;
  padding-right: 10px;
  width: 100% !important;
  text-align: left;
}

.larger-1 .page-wrapper .control-label {
  padding-top: 15px;
  padding-bottom: 5px;
}

.larger-1.prd .navbar .navbar-brand h3 {
  font-size: 24px !important;
  margin-top: 0.2em !important;
}

.larger-1.prd .nav > li > a {
  padding: 12px 15px 13px;
}

.larger-1.prd .patient-banner .patient-info__lead {
  font-size: 24px !important;
}

.larger-1.prd .list-group--object-menu .list-group-item {
  padding: 7px 4px;
}

.larger-2.prd .navbar .navbar-brand h3 {
  font-size: 28px !important;
  margin-top: 0.1em !important;
}

.larger-2.prd .nav > li > a {
  padding: 16px 15px 17px;
}

.larger-2.prd .patient-banner .patient-info__lead {
  font-size: 28px !important;
}

.larger-2.prd .list-group--object-menu .list-group-item {
  padding: 10px 2px;
}

.larger-3.prd .navbar .navbar-brand h3 {
  font-size: 30px !important;
  margin-top: 0.1em !important;
  padding: 18px 15px 19px;
}

.larger-3.prd .nav > li > a {
  padding: 18px 15px 19px;
}

.larger-3.prd .patient-banner .patient-info__lead {
  font-size: 30px !important;
}

.larger-3.prd .list-group--object-menu .list-group-item {
  padding: 10px 2px;
}

/* ORGANISE THE ABOVE */
/* the font-sizes have been prompted by http://www.blueconemonochromacy.org/ which turns out a bit quirky in terms of the font size jumps but at least work as a useful reference */
.larger-1, .larger-1 h3.panel-title, .larger-1 .form-control, .larger-1 .btn, .larger-1 fieldset.fieldset--border legend, .larger-1 .dropdown-menu,
.larger-1 .popover, .larger-1 .form-control-plaintext {
  font-size: 16px !important;
}

.larger-1 .navbar-nav--accessibility {
  font-size: 14px !important;
}

.larger-1 h1 {
  font-size: 35.2px !important;
}

.larger-1 h2 {
  font-size: 28px !important;
}

.larger-1 h3 {
  font-size: 24px !important;
}

.larger-1 h4 {
  font-size: 20px !important;
}

.larger-1 h5 {
  font-size: 16px !important;
}

.larger-1 select,
.larger-1 textarea,
.larger-1 input[type="text"],
.larger-1 input[type="password"],
.larger-1 input[type="datetime"],
.larger-1 input[type="datetime-local"],
.larger-1 input[type="date"],
.larger-1 input[type="month"],
.larger-1 input[type="time"],
.larger-1 input[type="week"],
.larger-1 input[type="number"],
.larger-1 input[type="email"],
.larger-1 input[type="url"],
.larger-1 input[type="search"],
.larger-1 input[type="tel"],
.larger-1 input[type="color"],
.larger-1 .uneditable-input {
  padding: 16px 12px !important;
}

.larger-1 .form-control {
  height: 36px;
}

.larger-1 .simple-table select {
  padding: 4px 12px !important;
}

.larger-1 input[type="checkbox"] {
  margin-top: 10px;
}

.larger-1 input[type="radio"] {
  margin-top: 6px;
}

.larger-1 .btn {
  padding: 5px 6px;
}

.larger-1 input[type='radio'], .larger-1 input[type='checkbox'] {
  transform: scale(1.33);
}

.larger-2, .larger-2 h3.panel-title, .larger-2 .form-control, .larger-2 .btn, .larger-2 fieldset.fieldset--border legend, .larger-2 .dropdown-menu,
.larger-2 .popover, .larger-2 .form-control-plaintext {
  font-size: 20.8px !important;
}

.larger-2 .navbar-nav--accessibility {
  font-size: 17px !important;
}

.larger-2 h1 {
  font-size: 41.6px !important;
}

.larger-2 h2 {
  font-size: 36.4px !important;
}

.larger-2 h3 {
  font-size: 31.2px !important;
}

.larger-2 h4 {
  font-size: 26px !important;
}

.larger-2 h5 {
  font-size: 20.8px !important;
}

.larger-2 select,
.larger-2 textarea,
.larger-2 input[type="text"],
.larger-2 input[type="password"],
.larger-2 input[type="datetime"],
.larger-2 input[type="datetime-local"],
.larger-2 input[type="date"],
.larger-2 input[type="month"],
.larger-2 input[type="time"],
.larger-2 input[type="week"],
.larger-2 input[type="number"],
.larger-2 input[type="email"],
.larger-2 input[type="url"],
.larger-2 input[type="search"],
.larger-2 input[type="tel"],
.larger-2 input[type="color"],
.larger-2 .uneditable-input {
  padding: 20px 12px 19px !important;
}

.larger-2 .form-control {
  height: 40px;
}

.larger-2 .simple-table select {
  padding: 4px 12px !important;
}

.larger-2 input[type="checkbox"] {
  margin-top: 10px;
}

.larger-2 input[type="radio"] {
  margin-top: 6px;
}

.larger-2 .btn {
  padding: 5px 6px;
}

.larger-3 .nav-tabs--self-enrolment .nav-tabs > li > a h1 {
  font-size: 31.2px !important;
}

.larger-2 .nav-tabs--self-enrolment .nav-tabs > li > a h4 {
  font-size: 20.8px !important;
}

.larger-2 input[type='radio'], .larger-2 input[type='checkbox'] {
  transform: scale(1.66);
}

.larger-3, .larger-3 h3.panel-title, .larger-3 .form-control, .larger-3 .btn, .larger-3 fieldset.fieldset--border legend, .larger-3 .dropdown-menu,
.larger-3 .popover, .larger-3 .form-control-plaintext {
  font-size: 23.2px !important;
}

.larger-3 .navbar-nav--accessibility {
  font-size: 18px !important;
}

.larger-3 h1 {
  font-size: 46.4px !important;
}

.larger-3 h2 {
  font-size: 40.6px !important;
}

.larger-3 h3 {
  font-size: 34.8px !important;
}

.larger-3 h4 {
  font-size: 29px !important;
}

.larger-3 h5 {
  font-size: 23.2px !important;
}

.larger-3 select,
.larger-3 textarea,
.larger-3 input[type="text"],
.larger-3 input[type="password"],
.larger-3 input[type="datetime"],
.larger-3 input[type="datetime-local"],
.larger-3 input[type="date"],
.larger-3 input[type="month"],
.larger-3 input[type="time"],
.larger-3 input[type="week"],
.larger-3 input[type="number"],
.larger-3 input[type="email"],
.larger-3 input[type="url"],
.larger-3 input[type="search"],
.larger-3 input[type="tel"],
.larger-3 input[type="color"],
.larger-3 .uneditable-input {
  padding: 16px 12px !important;
}

.larger-3 .form-control {
  height: 42px;
}

.larger-3 .simple-table select {
  padding: 4px 12px !important;
}

.larger-3 input[type="checkbox"] {
  margin-top: 10px;
}

.larger-3 input[type="radio"] {
  margin-top: 6px;
}

.larger-3 .btn {
  padding: 5px 6px;
}

.larger-3 .nav-tabs--self-enrolment .nav-tabs > li > a h1 {
  font-size: 34.8px !important;
}

.larger-3 .nav-tabs--self-enrolment .nav-tabs > li > a h4 {
  font-size: 23.2px !important;
}

.larger-3 input[type='radio'], .larger-3 input[type='checkbox'] {
  transform: scale(2);
}

/* Left nav */
.larger-1.prd .section-anchor-sidenav {
  font-size: 16px;
}

/* rag li */
.larger-1.prd .section-anchor-sidenav li {
  line-height: 1em;
}

/* rag a. */
.larger-1.prd .section-anchor-sidenav > li > a {
  padding: 10px 20px 10px 23px;
}

/* rag icon */
.larger-1.prd .badge--anchor::after {
  font-size: 16px;
}

.larger-1.prd .section-anchor-sidenav li label, .larger-1.prd .section-anchor-sidenav li.active label {
  margin: 4px 5px -22px -10px;
}

.larger-1.prd .section-anchor-sidenav .checkbox input[type="checkbox"] {
  margin-top: 8px;
}

.larger-2.prd .section-anchor-sidenav {
  font-size: 20.8px;
}

/* rag li */
.larger-2.prd .section-anchor-sidenav li {
  line-height: 1em;
}

/* rag a. */
.larger-2.prd .section-anchor-sidenav > li > a {
  padding: 10px 20px 10px 29px;
}

/* rag icon */
.larger-2.prd .badge--anchor::after {
  font-size: 20.8px;
}

.larger-2.prd .section-anchor-sidenav li label, .larger-2.prd .section-anchor-sidenav li.active label {
  margin: 4px 5px -22px -7px;
}

.larger-2.prd .section-anchor-sidenav .checkbox input[type="checkbox"] {
  margin-top: 12px;
}

.larger-3.prd .section-anchor-sidenav {
  font-size: 23.3px;
}

/* rag li */
.larger-3.prd .section-anchor-sidenav li {
  line-height: 1em;
}

/* rag a. */
.larger-3.prd .section-anchor-sidenav > li > a {
  padding: 10px 20px 10px 29px;
}

/* rag icon */
.larger-3.prd .badge--anchor::after {
  font-size: 23.2px;
}

.larger-3.prd .section-anchor-sidenav li label, .larger-3.prd .section-anchor-sidenav li.active label {
  margin: 4px 5px -22px -7px;
}

.larger-3.prd .section-anchor-sidenav .checkbox input[type="checkbox"] {
  margin-top: 12px;
}

/*--------------------------------------------------------------------------------------------------*/

/*
 * for annotations in the preview pane
 */
span.annotation--fieldname {
  padding: 2px 4px;
  margin: 1px 3px;
  color: #000;
  border: 1px solid blue;
}

/*
 * Reduce the vertical space used on forms on mobile.
 */
@media (max-width:991px) {
    .div--fwfield  .form-control-plaintext {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    .div--fwfield  .col-form-label {
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

/*
 * Reduce padding for PRD in mobile 
 */
@media (max-width:991px) {
  .banner--prd--account-holder {
    padding: 5px !important;
    margin-bottom: 10px !important;
  }
  .card--prd {
    padding: 5px !important;
  }
}

/*
 * Reduce padding for CRD in mobile 
 */
@media (max-width:991px) {
  .patient-banner {
    padding: 2px 0;
  }
}

/* Lost styles for queries */
 
.icon-ci-verify-double.red {
    color: #d00000
}

.icon-ci-verify-double.orange {
    color: #f89406
}

.icon-ci-verify-double.green {
    color: #46a546
}

/*----------------------------------------------------------*/
/* I copied these across to support the login page          */

.lead {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
}

.well {
  min-height: 20px;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* KG - For Vue.js - introducing vue.js on new standalone functions for dev17
*/
[v-cloak] > * {
  display: none;
}

[v-cloak]::before {
  content: "loading…";
}

h4, .h4, h5, .h5, h6, .h6 {
  margin-top: 9px;
  margin-bottom: 9px;
}

/* Bootstrap 3 markup used in the login page for INPDR */

.callout {
 padding:20px;
 border:1px solid #eee;
 border-left-width:5px;
 border-radius:3px;
 text-align:left
}
.callout h4 {
 margin-top:0;
 margin-bottom:5px
}
.callout p:last-child {
 margin-bottom:0
}
.callout code {
 border-radius:3px
}
.callout + .callout {
 margin-top:-5px
}
.callout-primary {
 border-left-color:#006687
}
.callout-primary h4 {
 color:#d32f2f
}
.callout-success {
 border-left-color:#358753
}
.callout-success h4 {
 color:#d32f2f
}
.callout-danger {
 border-left-color:#d32f2f
}
.callout-danger h4 {
 color:#d32f2f
}
.callout-warning {
 border-left-color:#ef6c00
}
.callout-warning h4 {
 color:#ef6c00
}
.callout-info {
 border-left-color:#1976d2
}
.callout-info h4 {
 color:#1976d2
}
.callout {
 padding:10px
}

.page-header {
  padding-bottom: 8px;
  margin: 36px 0 18px;
  border-bottom: 1px solid #ddd;
}
/*----------------------------------------------------------*/

/* for RAG on calendar/schedule
 *  Unlike standard badges, rag badges display even if empty
 *
 * I made this markup globally visible because I use it in the query-builder rag formater.
 */

.badge--rag:empty {
  display: inline-block !important;
}

.badge.badge--rag {
  padding: 5px 7px;
  white-space: nowrap;
  text-align: center;
  border-radius: 10px;
  min-width: 20px;
  min-height: 20px;
  line-height: 1em;
}
.badge.badge--rag.red {
  background-color: #d00000;
  color: white;
}

.badge.badge--rag.amber {
  background-color: #f89406;
}

.badge.badge--rag.green {
  background-color: #46a546;
  color: white;
}

.badge.badge--rag.gray {
  background-color: gray;
  color: white;
}

