﻿.card .card-title {
  border-bottom: 8px solid #fff !important;
}
.card .weeks {
  padding: 1.4rem 15px;
}
.card .weeks input[type=text] {
  width: 95px;
}
.card .postcode {
  padding: 0.125rem 15px 1.2rem 15px;
}
.card .postcode input[type=text] {
  width: 70%;
  text-align: left;
  padding: 0.4rem;
}
.card .person-detail .person {
  padding: 0.8rem 15px;
  line-height: 1.125rem;
}
.card .person-detail .person input[type="text"] {
  float: right;
  margin-top: -0.5rem;
  text-align: left;
  width: 58%;
  font-size: 1rem;
  padding: 0.4rem;
}
.card .person-detail .person .radio-toggle {
  margin-top: -0.5rem;
  font-size: 1.4rem;
}
.card div.policy-holder {
  padding-bottom: 1.2rem;
  border-bottom: 4px solid #fff;
}
.card div.policy-holder .details {
  padding: 0.8rem 15px;
  line-height: 1.125rem;
}
.card .accident {
  padding: 0.4rem 15px 0 !important;
}
.card .accident .fieldTitle {
  position: relative;
  display: inline-block;
  padding-right: 15px;
  padding-top: 0.25rem;
}
.card .accident .radio-group {
  float: right;
}
.card .accident .radio-group .radio.right input[type=radio]:not([type=text]) + label[for] {
  padding: 0 0 0 50px!important;
}
.card .accident .radio-group .radio.right input[type=radio]:not([type=text]) + label[for]::before,
.card .accident .radio-group .radio.right input[type=radio]:not([type=text]) + label[for]::after {
  top: 0;
  left: 16px;
  padding: 0!important;
}
.card dl dt {
  display: block;
  border-top: 8px solid #fff !important;
  padding: 1.2rem 15px 0.8rem !important;
}
.card dl dt[data-member="0"],
.card dl dt:not([data-member]) {
  display: none;
}
.card dl dt:first-of-type {
  display: block;
  border-top: none!important;
}
.card dl dt span.left {
  width: 54%!important;
}
.card dl dt span.radio-group {
  width: 44%!important;
}
.card dl dd {
  display: block;
  border-top: 1px solid #e4e4e4;
  padding: 1.2rem 0;
}
.card .checkBoxes {
  padding: 0 15px 0.8rem;
}
.card .checkBoxes.align-right {
  text-align: right;
}
/* <Search in list> */
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
  background: none;
  font-weight: normal;
}
.ui-autocomplete {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  max-height: 250px;
  z-index: 99999!important;
  overflow-y: auto;
  overflow-x: hidden;
}
.ui-autocomplete.ui-front {
  z-index: 99999!important;
}
.ui-autocomplete-input {
  margin: 0;
  padding: 4px;
  width: 100%;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}
.ui-autocomplete a {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 14px;
  cursor: pointer;
}
.ui-autocomplete a strong {
  font-size: 1rem;
  font-weight: normal;
  color: #bdded5;
  font-size: 0.85rem !important;
}
.ui-widget-content {
  background-color: #fefefe;
  border: 1px solid #e4e4e4;
}
/* </Search in list> */
.providerlist {
  position: relative;
  margin-top: 1rem;
  background: #fefefe;
  height: 30rem;
  overflow-y: scroll;
  overflow-x: hidden;
}
/* Selectable result list */
.selectable {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 0.8125rem;
  display: inline-table;
  cursor: pointer;
  width: 96%;
  position: relative;
  padding: 4px;
  border: 1px solid #ccc;
  margin: 4px;
}
.selectable .name {
  position: relative;
  display: table-header-group;
  font-weight: 600;
  border-width: 1px;
  text-indent: 4px;
}
.selectable:hover {
  background-color: #bdded5;
}
.selectable:hover * {
  color: #fff;
}
.selectable .left {
  position: relative;
  float: left;
  min-width: 50%;
  width: 50%;
  margin-left: 4px;
  margin-top: 6px;
}
.selectable .middle {
  position: relative;
  float: left;
  min-width: 48%;
  width: 48%;
  margin-top: 6px;
}
.selectable .right {
  position: absolute;
  float: left;
  bottom: 0;
  right: 0;
}
.selectable .right img {
  position: relative;
  top: -1rem;
}
.selectable.active {
  background: #709696;
  border-color: #fff;
}
.selectable.active * {
  color: #fff;
}
.selectable.active .name {
  position: relative;
  display: table-header-group;
  font-weight: 600;
  text-indent: 4px;
  color: #fff;
}
ul.ui-autocomplete li.ui-menu-item {
  background-color: #fff;
}
ul.ui-autocomplete li.ui-menu-item a.ui-menu-item-wrapper {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  display: inline-block;
  width: 100%!important;
  color: #333 !important;
}
ul.ui-autocomplete li.ui-menu-item a.ui-menu-item-wrapper.ui-state-hover,
ul.ui-autocomplete li.ui-menu-item a.ui-menu-item-wrapper.ui-state-active {
  background: #e4e4e4;
  border-color: #e4e4e4;
  color: #333 !important;
  font-weight: 100!important;
}
.ui-menu {
  max-height: 320px;
  overflow-y: scroll;
  display: block;
  float: left;
  list-style: none outside none;
  margin: 0;
  padding: 1px 2px;
  border: 1px solid #333 !important;
}
.ui-autocomplete {
  cursor: default;
  position: absolute;
}
.ui-menu .ui-menu-item {
  clear: left;
  margin: 0;
  padding: 2px;
  width: 100%;
}
.ui-menu .ui-menu-item a {
  display: block;
  padding: 1px 2px;
  font-size: 0.85rem !important;
}
.ui-menu .ui-menu-item:hover a {
  display: block;
}
.ui-widget-content a {
  color: inherit;
}
.ui-menu .ui-menu-item a.ui-state-focus,
.ui-menu .ui-menu-item a.ui-state-active {
  margin: 0;
  padding: 1px 2px;
  border: none;
  background: #bdded5 !important;
}
.ui-menu .ui-menu-item a.ui-state-focus span.hilight,
.ui-menu .ui-menu-item a.ui-state-active span.hilight,
.ui-menu .ui-menu-item a.ui-state-focus strong.hilight,
.ui-menu .ui-menu-item a.ui-state-active strong.hilight {
  color: #fff !important;
  font-weight: normal;
}
.md-modal {
  width: 36.25rem;
  max-width: 36.25rem;
}
.md-modal .md-content > div:not(.hidden) {
  display: inline-block;
  padding: 2rem 1.4rem 2rem 1.4rem;
}
.md-modal .md-content h3.title {
  color: #fff;
}
.md-modal .md-content h3.title .fa-close {
  position: absolute;
  right: 15px;
  color: #fff;
  cursor: pointer;
}
.md-modal .md-content h3.title .fa-close:hover {
  color: #bdded5;
}
@media print, screen and (max-width: 44rem) {
  .md-modal .md-content > div:not(.hidden) {
    float: none;
    width: 100%;
  }
}
@media print, screen and (min-width: 0px) and (max-width: 44em) {
  .md-modal {
    /*& { width:20rem; }*/
  }
}
@media print, screen and (max-width: 60em) {
  .md-modal {
    width: calc(100% - 2.8rem);
  }
}