body {
  background-image: linear-gradient(-180deg, #ECF1F7 0%, #CAD7E5 100%);
  font-family: 'Open Sans', "Helvetica Neue",Helvetica,Arial,sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Copse", Georgia, sans-serif;
  font-weight: 500;
}

.col-lg-12 {
    float: none;
}

li {
  font-size: 1.25em;
  line-height: 1.6;
  color: #000;
}

.hidden {
    display: none;
}
.larger {
  font-size: 2em;
}

table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):after {
    content: " \25B4\25BE"
}

/* --------
Site notice: full-width strip at the very top of every page
----------*/

.site-notice {
  background: #1A3862;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 10px 15px;
}

/* --------
Brand
----------*/

.brand {
  font-family: "Copse", Georgia, sans-serif;
}

.brand a, .address-bar a {
  color: #0E1217;
}

.address-bar a {
  border-top: 1px solid #D0DDE2;
  border-bottom: 1px solid #D0DDE2;
  padding: 0.25em;
  font-weight: 300;
}

/* --------
Navbar
----------*/

.navbar-nav {
    margin: 0px 0px;
}

.navbar li {
  font-size: 0.9em
}

.navbar-default .navbar-nav li a {
  color: #0E1217;
}

.navbar-default .navbar-nav li a:hover,
.navbar-default .navbar-nav li a:active,
.navbar-default .navbar-nav li a:focus {
  background: #1A3862;
  color: #fff;
}
.navbar-default .navbar-collapse {
    padding-left: 0px;
}
.navbar-default .navbar-nav li.current a {
  background: #CBD4E0;
}

.nav input {
   text-transform: uppercase;
   margin-top: 10px;
   min-width: 360px;
   padding-left: 12px;
   margin-left: 12px;
}

/* Between tablet width and 1200px the navbar used to wrap onto two rows.
   Instead, the link padding, text and search box shrink with the window,
   growing back towards the full-width sizes (35px padding, 1.25em text,
   360px search box) as it widens. Full width and the collapsed menu below
   768px are unchanged. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .navbar-default .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    font-size: clamp(1.1em, calc(0.6em + 0.9vw), 1.25em);
  }
  .navbar-default .navbar-nav > li {
    float: none;
    flex: 0 0 auto;
  }
  .navbar-default .navbar-nav > li > a {
    padding: 16px clamp(10px, calc(4.5vw - 19px), 35px);
  }
  .nav input {
    min-width: 0;
    width: clamp(140px, calc(37vw - 84px), 360px);
  }
}

/* --------
Content
----------*/

.content h2 {
  margin: 0 0 1em;
}

.intro-text {
    margin-bottom: 36px;
}

/* --------
Homepage actions
----------*/

.home-action {
  background: #1A3862;
  border-radius: 12px;
  padding: 24px 16px;
}

.home-action--beta {
  background: #70249A;
  position: relative;
}

.home-action--beta-label {
  background: #fff;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.5);
  color: #0E1217;
  display: inline-block;
  font-size: 0.6em;
  font-weight: 300;
  padding: 0.4em 0.8em;
  position: relative;
  vertical-align: middle;
  top: -1px;
}

.home-action h2 {
  color: #fff;
  font-family: 'Open Sans', "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 1.5em;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 0;
  text-transform: none;
}

.home-action p {
  color: #fff;
  font-weight: 300;
}

.btn-home {
  background: #FFFFFF;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.50);
  color: #3D3D3D;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-home:hover,
.btn-home:active,
.btn-home:focus {
  box-shadow: none;
  background: #f6f6f6;
}

/* --------
Doctors
----------*/

.doctor-detail {
    text-transform: uppercase;
}

.verified {
  background: #aaa;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  height: 24px;
  padding-top: 2px;
  position: relative;
  text-align: center;
  width: 24px;
}

.verified:hover::after {
    display: block
}

.verified::after {
  background: #1A3862;
  border-radius: 6px;
  content: "Verified doctors are doctors who self-reported using a NHS email address.";
  display: none;
  font-size: 14px;
  font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
  width: 20em;
  padding: 1em;
  position: absolute;
  left: 1em;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
  z-index: 2;
}

.verified--yes {
  background-color: #70D006;
}

.search-control {
  background: #e6ebf1;
  border-radius: 6px 6px 0 0;
  padding: 1em;
}

.search-control label {
  margin: 0
}

.search-control input[type=text] {
  padding: 0.33em 0.5em;
  width: 20em;
  max-width: 80%;
}

input.form-control{
    margin-bottom: 15px;
}

#no-results {
  background: #F7F3ED;
  display: none;
}

/* Doctor list rows stay hidden while the scripts in doctors/doctor_list.html
   shuffle them. Those scripts add and remove the class, so without JavaScript
   nothing is hidden. */
.shuffling-doctors #doctor-table tr.doctor {
  visibility: hidden;
}


.identifiers {
    margin-top: 32px;
}
.identifier {
    font-weight: normal;
    text-transform: uppercase;
    min-width: 160px;
    display: inline-block;
}

/* --------
Declare Form
----------*/
.declaring-as {
  margin: 0;
}

#declare-form .help-block,
#cat-form .help-block {
  font-size: 14px;
  margin-top: 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.cat-grid .btn {
  padding: 12px 14px;
  text-align: left;
  white-space: normal;
}

.cat-note {
  color: #666;
  display: block;
  font-size: 0.85em;
  margin-top: 2px;
}

/* The notes are grey, which doesn't read on the blue "All finished". */
.cat-grid .btn-primary .cat-note {
  color: #fff;
  opacity: 0.85;
}

#after-add {
  padding: 10px 14px;
}

#cat-form legend {
  border: 0;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 0;
}

#cat-form .btn + .btn,
#submit-panel .btn + .btn {
  margin-left: 8px;
}

.record {
  background: #fff;
  border: 1px solid #D0DDE2;
  border-left: 4px solid #1A3862;
  border-radius: 4px;
  margin: 8px 0;
  padding: 10px 44px 10px 14px;
  position: relative;
}

.record--employment,
.record--nothing {
  border-left-color: #8FA4BF;
}

.record-title {
  display: block;
  font-weight: bold;
}

.record-body {
  color: #444;
}

.record-remove {
  position: absolute;
  right: 12px;
  top: 8px;
}

.ledger-empty {
  color: #666;
  font-style: italic;
}

/* --------
Search Results
----------*/

.row.search-results {
    margin-top: 48px;
}
