/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
  color: #222;
}

html {
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #A99F78;
  text-shadow: none;
  color: #fff;
}

::selection {
  background: #A99F78;
  text-shadow: none;
  color: #fff;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

/*
 * A better looking default horizontal rule
 */

.container {
  width: 100%;
  padding: 0 50px;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ececec;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
  vertical-align: middle;
  max-width: 100%;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}


  textarea.mat-input-element {
    background-color: #fff;
    border: 1px solid #ccc;
    text-align: left;
    padding: 0px 12px !important;
    box-sizing: border-box;
    overflow: hidden !important;
    resize: vertical !important; /* re-enables the manual resize option*/
  }

  /* ==========================================================================
   Browse Happy prompt
   ========================================================================== */
  .browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
  }

/* ==========================================================================
   New Site Styles
   ========================================================================== */

/*-------scaffolding-------*/
body {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 100;
  font-size: 16px;
}

.section {
  clear: both;
  width: 100%;
  padding: 80px 0;
}

.box {
  border-bottom: 6px solid #E6E7E8;
  padding: 30px;
  margin-bottom: 20px;
  position: relative;
}

.rounded {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.rounded-bottom {
  -webkit-border-radius: 0px 0px 4px 4px;
  -moz-border-radius: 0px 0px 4px 4px;
  border-radius: 0px 0px 4px 4px;
}

.outlined {
  border-left-width: 1px;
  border-right-width: 1px;
  border-top: 0;
  border-style: solid;
  border-color: #E6E7E8;
}

.grey.box {
  padding-top: 30px;
}

.divide {
  border-left: 1px solid #d1d3d3;
  padding-left: 20px;
}

#main {
  padding-left: 30px;
}

/*-------typography-------*/
h1, h2, h3, h4, h5, h6 {
  font-weight: 100;
}

h1 {
  font-size: 36px;
  margin-top: 0;
}

h2, h3, a, .btn {
  text-transform: uppercase;
}

h2 {
  font-size: 24px;
}

.box h2:first-child {
  margin-top: 0;
}

.small-print {
  font-size: 12px;
}

.matter-title {
  border-bottom: 1px solid #E6E7E8;
  margin-bottom: 30px;
}

.fa.big {
  font-size: 145px;
}

.ellipses {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breakword {
  word-break: break-all;
}

.visible-mobile {
  display: none;
  visibility: hidden;
}

.hidden-mobile {
  display: block;
  visibility: visible;
}

/*-------navigation-------*/
a, .btn {
  transition: .25s;
  -moz-transition: .25s;
  -webkit-transition: .25s;
}

  a,
  .btn.btn-link {
    color: #A99F78;
  }

    a:hover,
    a:active,
    a:focus {
      color: #7C7458;
    }

h2 a:hover,
h2 a:active,
h2 a:focus {
  text-decoration: none;
}

a i {
  margin-left: 5px;
}

a:hover i {
  text-decoration: none;
}

.btn {
  font-weight: 100;
  font-size: 16px;
  padding: 8px 15px;
  margin: 5px 2px;
}

  .btn.btn-link {
    text-transform: none;
  }

  .btn.btn-default {
    color: #fff;
    background-color: #A99F78;
    background-image: none;
    border: none;
    box-shadow: none;
    text-shadow: none;
  }

input.btn.btn-default {
  margin-top: 5px;
}

.btn-group-sm > .btn,
.btn-sm {
  font-size: 14px;
  padding: 5px 10px;
}

.btn-group-xs > .btn,
.btn-xs {
  font-size: 12px;
  padding: 5px;
}

.btn.btn-default:hover,
.btn.btn-default:active,
.btn.btn-default:focus,
.btn-default.active.focus,
.btn-default.active:focus,
.btn-default.active:hover,
.btn-default:active.focus,
.btn-default:active:focus,
.btn-default:active:hover,
.open > .dropdown-toggle.btn-default.focus,
.open > .dropdown-toggle.btn-default:focus,
.open > .dropdown-toggle.btn-default:hover {
  background-color: #7C7458;
  color: #fff;
}

.btn-group.open .dropdown-toggle {
  box-shadow: none;
  background-color: #7C7458;
  color: #fff;
}

.btn-group.open .dropdown-menu {
  border: none;
  padding-bottom: 15px;
  text-align: right;
}

.btn-group.toggle .btn.active {
  background-color: #ccc;
}

.btn-gap-sm {
  margin: 5px 2px !important;
}

.btn-gap-md {
  margin: 5px 5px !important;
}

.btn-gap-lg {
  margin: 5px 10px !important;
}

.navbar-collapse {
  padding: 0;
}

.navbar-toggle {
  min-height: 50px;
  min-width: 50px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

  .navbar-toggle .icon-bar {
    background-color: #fff;
    margin: auto;
  }

header .navigation {
  float: right;
  font-size: 21px;
  margin-top: 10px;
}

.navigation li,
.navigation li ul.dropdown-menu li {
  border-left: 1px solid #d1d3d3;
  padding: 0 15px;
}

  .navigation li a {
    padding: 0;
    line-height: inherit;
  }

  .navigation li:first-child,
  .navigation li ul.dropdown-menu li {
    border-left: none;
  }

  .navigation li:first-child {
    padding-left: 0;
  }

  .navigation li:last-child {
    padding-right: 0;
  }

/*
header .navigation form#login {
	text-align: left;
}

header .navigation form#login button {
	text-transform: none;
}

header .navigation form#login .login button {
	text-transform: uppercase;
	margin-top: 25px;
}
*/

.navigation .dropdown-menu {
  padding-top: 10px;
  padding-bottom: 10px;
}

.dropdown-menu > li > a {
  font-weight: 100;
  padding-bottom: 5px;
  padding-top: 5px;
}

  .dropdown-menu > li > a:focus,
  .dropdown-menu > li > a:hover {
    background-color: transparent;
    background-image: none;
    color: #423F3F;
  }

.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
  background-color: transparent;
}

.nav > li > a:focus,
.nav > li > a:hover {
  background-color: transparent;
}

.nav-tabs .dropdown-menu {
  box-shadow: none;
  background-color: #7C7458;
  color: #fff;
  border: none;
  margin-right: 5px;
  text-align: right;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover {
  background-image: none;
  background-color: transparent;
}

.dropdown-header {
  color: #423F3F;
  font-size: 14px;
  font-style: italic;
}

.sub-nav {
  text-align: right;
}

td .sub-nav {
  text-align: left;
}

.sub-nav a {
  border-left: 1px solid #d1d3d3;
  padding: 0 10px;
  margin: 5px 0;
  white-space: nowrap;
  display: inline-block;
}

  .sub-nav a.btn {
    padding: 8px 15px !important;
  }

  .sub-nav a:first-child {
    border-left: none;
    padding-left: 0;
  }

  .sub-nav a:last-child {
  }

/*-------general-------*/
ul {
  padding-left: 0;
}

  ul li {
    list-style: none;
  }

.list-group {
  box-shadow: none;
  border-radius: 0;
}

.list-group-item,
.list-group-item:first-child,
.list-group-item:last-child {
  border: none;
  border-radius: 0;
  padding-top: 0;
  padding-right: 0;
}

  .list-group-item.underline {
    margin-bottom: 10px;
  }

hr {
  margin: 1px 0;
  clear: both;
}

.grey {
  background-color: #F1F2F2;
}

.white {
  background-color: #fff;
}

.numberwrap {
  border-radius: 50%;
  position: absolute;
  top: 20px;
  left: 62%;
  transform: translatex(-62%);
  min-height: 50px;
  min-width: 50px;
}

  .numberwrap .number {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

.underline {
  border-bottom: 1px solid #d1d3d3 !important;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.progress {
  height: 50px;
  margin-bottom: 0;
  background-image: url(/images/progress-bar-bg.png);
  background-color: #f1f2f2;
  background-position: center;
  background-repeat: repeat-x;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.progress-bar {
  background-image: url(/images/progress-bar-bg.png);
  background-color: #7C7458;
  background-position: center;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.portrait {
  max-width: 80px;
  max-height: 80px;
  float: left;
  margin: 0 10px 10px 0;
}

/*--boxes--*/
.box.case-summary p {
  margin-bottom: 20px;
}

/*--tables--*/
tbody {
  font-size: 14px;
}

th {
  font-weight: 400;
}

tfoot td {
  font-weight: bold;
  text-transform: uppercase;
}

.table-questions .table {
}

  .table-questions .table > tbody > tr > td,
  .table-questions .table > tbody > tr > th,
  .table-questions .table > tfoot > tr > td,
  .table-questions .table > tfoot > tr > th,
  .table-questions .table > thead > tr > td,
  .table-questions .table > thead > tr > th {
    border-top-width: 4px;
    border-top-color: #fff;
  }

  .table-questions .table > tbody > tr.success > th,
  .table-questions .table > tbody > tr.success > td {
    border-top-width: 0;
  }

.table-hover > tbody > tr.success:hover > th,
.table-hover > tbody > tr.success:hover > td {
  background-color: #dff0d8;
}




.pictureheading {
  background-color: #ffffff;
  border-top: 1px solid gray;
  border-bottom: 1px solid gray
}

#cases .table > thead > tr > th,
#cases .table > tbody > tr > td {
  cursor: pointer;
}

.table > thead > tr > th i {
  font-size: 12px;
}

.table > tbody > tr > td:last-child,
.table > tbody > tr > th:last-child,
.table > tfoot > tr > td:last-child,
.table > tfoot > tr > th:last-child,
.table > thead > tr > td:last-child,
.table > thead > tr > th:last-child {
}

.table > tfoot > tr > td,
.table > tfoot > tr > th {
}

.table > tbody > tr.frontpage-flag > td {
  padding: 2px 10px;
}
/*
.frontpage-flag div span {
  position: relative;
  top: -5px;
  right: 10px;
}*/

/*--forms--*/
.message .dl-horizontal dt {
  width: 40px;
}

.message .dl-horizontal dd {
  margin-left: 60px;
}

.box.message-header {
  margin-bottom: 0;
  margin-top: 20px;
}

.box.new-msg {
  margin-bottom: 0;
}

#new-message .file {
  margin-left: 10px;
}

.read-by {
  margin: 20px 0 0;
}

.new-message {
  margin-bottom: 20px;
}

form label {
  font-weight: inherit;
  text-transform: uppercase;
}

form .btn.btn-link {
  padding: 8px 15px;
}

.checkbox label,
.radio label {
  font-weight: inherit;
  text-transform: none;
}

td .checkbox,
td .radio,
td .form-group {
  margin: 0;
}

/*--diary--*/
tr#diary td:first-child {
  padding: 0;
}

/*--tabs--*/
.nav-tabs {
  border: none;
}

  .nav-tabs > li > a {
    text-transform: uppercase;
    border: none;
    color: #fff;
    margin-right: 5px;
  }

  .nav-tabs > li.active > a,
  .nav-tabs > li.active > a:focus,
  .nav-tabs > li.active > a:hover {
    border: none;
  }

  .nav-tabs > li > a:hover {
    border: none;
  }

.tab-content {
  padding-bottom: 40px;
  padding-top: 20px;
}

/*--accordions--*/
.panel-group .panel {
  border-radius: 0;
  box-shadow: none;
  border: none;
  border-top: 1px solid #E6E7E8;
  padding-top: 8px;
}

.panel-default > .panel-heading {
  background-image: none;
  background-color: transparent;
}

.panel-title {
  font-size: 24px;
}

  .panel-title a:hover,
  .panel-title a:active,
  .panel-title a:focus {
    text-decoration: none;
  }

  .panel-title a h2 {
    font-size: 21px;
    text-transform: capitalize;
    color: #A99F78;
    border: none;
    padding-bottom: 0;
    margin-top: 0;
  }

  .panel-title i {
    margin-right: 10px;
  }

.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border: none;
}

/*-------media left-------*/
.media .media-left i,
.media .media-left.media-svg svg {
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 40px;
}

/*-------header-------*/
header.section {
  padding: 0 0 50px;
}

header .logo {
  padding-top: 40px;
}

  header .logo a {
    display: inline-block;
  }

    header .logo a img {
      max-width: 100%;
      max-height: 100px;
    }

header .user {
  display: inline-block;
}

  header .user.box {
    padding: 10px 15px 0;
    float: right;
  }

  header .user li {
    padding: 0 10px;
  }

    header .user li.username i {
      margin-right: 8px;
    }

    header .user li .btn.btn-link {
      padding: 8px 15px;
    }

.username p {
  display: inline-block;
  font-size: 24px;
  margin: 0 20px 0 0;
  vertical-align: middle;
}

/*-------dashboard-------*/
.dashboard h1 {
  margin-bottom: 80px;
}

.dashboard .user-tiles .box {
  min-height: 300px;
}

scorecard-selector.box {
  min-height: 50px;
}

.dashboard .box h2 i {
  display: block;
  margin-bottom: 10px;
  font-size: 85px;
}

.dashboard .box a.btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.dashboard .numberwrap .number {
  font-size: 24px;
}

.dashboard .box.search {
  min-height: inherit;
  padding-bottom: 50px;
}

.box.search .btn-default {
  margin: 0;
}

/*-------case-questions-------*/
.questions-index ul.nav li a {
  text-transform: none;
  padding: 0;
}

.questions-index ul.nav li.current {
  border-left-width: 4px;
  border-left-style: solid;
}

  .questions-index ul.nav li.current a {
    color: inherit;
    cursor: default;
  }

.questions-index ul.nav li .badge {
  font-weight: normal;
}

.questions-index ul.nav li.current .badge {
  color: inherit;
}

#questions-helpers {
  padding-bottom: 40px;
}

  #questions-helpers .box {
    margin-bottom: 0;
  }

  #questions-helpers .navbar-nav {
    float: none;
  }

  #questions-helpers .navigation {
    margin-top: 20px;
  }

    #questions-helpers .navigation li a {
      font-size: 16px;
    }

/*-------case-details-------*/
.part2 .list-inline > li {
  margin: 5px;
}

/*-------helpful-details-------*/
#tell-more {
  border-bottom: 1px solid #E6E7E8;
  margin-bottom: 40px;
}

.help-tip {
  text-decoration: underline;
}

  .help-tip abbr {
    position: relative;
    border-bottom-color: currentColor;
    border-bottom-width: medium;
    border-bottom-style: none;
  }

    .help-tip abbr:hover {
      cursor: help;
    }

      .help-tip abbr:hover::after,
      .help-tip abbr:focus::after {
        text-decoration: underline;
      }

      .help-tip abbr:hover::after,
      .help-tip abbr:focus::after {
        content: attr(data-title);
        position: absolute;
        left: 100%;
        width: 300px;
        display: block;
        padding: 1em;
        font-size: 0.8em;
        background-color: white;
        border: 1px solid #ccc;
        text-decoration: none;
      }

/*-------profile-------*/
#profile .box.grey h2 {
  position: relative;
  display: inline-block;
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 10px;
}

#profile .number {
  font-size: 21px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  right: -15px;
  top: -30px;
}

#profile .functions {
  text-align: right;
  margin-top: 20px;
}

#profile .functions-divide {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #E6E7E8;
}

#profile p a {
  text-transform: none;
}

/*-------summary-------*/
#summary.box {
  margin-bottom: 40px;
}

#summary .matter-title {
  margin-bottom: 10px;
}

.matter-functions {
  float: right;
  margin-top: -60px;
}

#summary h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 10px;
}

#summary .btn.btn-link {
  padding: 5px 0 0;
}

  #summary .btn.btn-link i {
    font-size: 12px;
  }

#summary .icon {
  float: right;
  width: 60px;
  margin: 10px 0 10px 20px;
}

#summary .number {
  font-size: 21px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  right: 0;
  top: 35px;
}

/*-------share-------*/
#summary #share {
  border-bottom: 1px solid #E6E7E8;
}

  #summary #share .btn.btn-link {
    padding: 8px 15px;
  }

/*-------tasks-------*/
.task {
  padding-bottom: 15px;
  padding-left: 85px;
  margin-bottom: 20px;
  border-bottom: 1px solid #E6E7E8;
  position: relative;
}

  .task:before {
    content: "\f192";
    font-family: FontAwesome;
    font-size: 48px;
    position: absolute;
    top: 0;
    left: 0;
  }

  .task:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .task.complete:before {
    content: "\f05d";
    color: #423F3F;
  }

  .task h2 {
    border-bottom: none;
    margin-bottom: 5px;
    padding-bottom: 0;
  }

  .task .functions {
    float: right;
    padding: 20px 0 0 50px;
  }

    .task .functions a {
      float: right;
      clear: both;
    }

/*-------footer-------*/
#footer {
  text-align: center;
}

  #footer .logo img {
    max-width: 100%;
    max-height: 100px;
    margin: 0 auto 20px;
  }


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  /* IE 6/7 fallback */
  *text-indent: -9999px;
}

  .ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
  }

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
  display: none !important;
  visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

  /*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

  .visuallyhidden.focusable:active,
  .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
  }

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:after {
  clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */
@media screen and (min-width : 2000px) {
  .numberwrap {
    left: 55%;
    transform: translatex(-55%);
  }
}

@media screen and (min-width : 1700px) {
  .numberwrap {
    left: 58%;
    transform: translatex(-58%);
  }
}

@media screen and (min-width : 1300px) {
  .config-tiles {
    width: 20% !important;
  }

  .selected-tiles {
    width: 25% !important;
  }

  .clear-available-tiles:nth-child(10n)::before {
    content: '';
    display: table;
    clear: both;
  }

  .clear-tiles:nth-child(8n)::before {
    content: '';
    display: table;
    clear: both;
  }
}

@media screen and (max-width : 1199px) {

  .matter-functions {
    float: none;
    margin-top: 0;
    margin-bottom: 10px;
  }

    .matter-functions .btn-group {
      margin-bottom: 5px;
    }
}

@media (max-width:1115px) and (min-width:765px) {
  .float-checkbox {
    position: relative !important;
    padding-left: 18px;
    font-size: 13px;
  }
}


@media screen and (max-width: 1060px) {
  .clear-available-tiles:nth-child(8n)::before {
    content: '';
    display: table;
    clear: both;
  }

  .clear-tiles:nth-child(6n)::before {
    content: '';
    display: table;
    clear: both;
  }
}

@media screen and (max-width : 991px) {
  .navbar-collapse {
    text-align: center;
  }

  header .navigation {
    float: none;
    display: inline-block;
  }

  #main {
    padding-left: 0;
  }

  header .logo {
    text-align: center;
    padding-top: 0;
    margin-bottom: 30px;
  }

  .phone-confirm span {
    width: 100%;
  }

  header .user.box {
    float: none;
    margin-bottom: 40px;
  }

  .matter-title {
    text-align: center;
    padding-bottom: 20px;
  }

  .task-progress {
    margin-bottom: 20px;
  }

  .divide.documents,
  .divide.confirm {
    padding-left: 0;
    border-left: none;
  }

  #address ul li {
    display: inline-block;
  }

  #profile p.title {
    margin-bottom: 0;
  }

  .dashboard .user-tiles .box {
    min-height: 320px;
  }
}

@media screen and (max-width : 767px) {
  header.section {
    padding-bottom: 20px;
  }

  .navbar-toggle {
    float: none;
    margin: 0 auto 10px;
    display: block;
  }

  .navigation li {
    border-left: none;
    padding-left: 0;
    padding-right: 0;
  }

    .navigation li ul.dropdown-menu {
      padding-top: 0;
    }

      .navigation li ul.dropdown-menu li {
        margin: 0;
        padding: 0;
        text-align: center;
      }

        .navigation li ul.dropdown-menu li a {
          text-transform: capitalize;
        }

  .dashboard .box.search h2 {
    text-align: center;
    margin-bottom: 10px;
  }

  .phone-confirm span {
    width: auto;
  }

  .divide {
    border-left: none;
    border-top: 1px dotted #726F6F;
    padding-left: 0;
    padding-top: 20px;
    margin-top: 20px;
  }

  #login-invite form .divide {
    border-left: none;
    padding-left: 15px;
  }

  #login-invite form label.lead {
    margin-bottom: 5px;
  }

  #solicitor,
  #agent {
    text-align: center;
  }

  .portrait {
    float: none;
    margin: 0 0 10px;
  }

  #login-user .usp {
    margin-bottom: 40px;
  }

  .divide.usp {
    padding-left: 0;
    border-left: none;
  }

  #moneyonaccount .deposit p.lead {
    margin-bottom: 20px;
  }

  .divide.qr {
    margin-top: 40px;
    padding-top: 60px;
  }

    .divide.qr .or {
      left: 50%;
      top: -40px;
      transform: translateX(-50%);
    }

  .dashboard .user-tiles .box {
    min-height: 300px;
  }
}

@media screen and (max-width : 600px) {
  .col-xs-6 {
    width: 100%;
  }

  #address {
    text-align: center;
  }

  #documents .col-sm-3 {
    width: 49%;
  }

  #document-invite {
    text-align: center;
  }

  #invitees {
    float: none;
    margin-top: 5px;
  }

  .visible-mobile {
    display: block;
    visibility: visible;
  }

  .hidden-mobile {
    display: none;
    visibility: hidden;
  }

  .help-tip abbr:hover::after,
  .help-tip abbr:focus::after {
    left: 0%;
  }
}

@media screen and (max-width : 500px) {
  .task {
    padding-left: 0;
    padding-top: 50px;
    text-align: center;
  }

    .task:before {
      left: 50%;
      transform: translateX(-50%)
    }

    .task .functions {
      float: none;
      padding: 20px 0 0;
    }

      .task .functions a {
        float: none;
      }

  #main .nav-tabs > li > a {
    font-size: 4.5vw;
  }

  .box.grey {
    padding: 20px 30px 35px;
  }

  #message-form .box {
    padding: 20px;
  }

  .reply-forward .btn:last-child {
    margin-top: 5px;
  }
}

@media screen and (max-width : 425px) {
  .phone-confirm span {
    display: block;
  }

  #auth-choice .media-left {
    display: none;
    visibility: hidden;
  }
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

    a[href]:after {
      content: " (" attr(href) ")";
    }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
     * Don't show links for images, or javascript/internal links
     */

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group; /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}


/*TOM"S TWEAKS*/

/* when removing the href and adding a (click) binding, we lose the pointer */
a {
  cursor: pointer;
}

/* Invalid input elements */
.ng-invalid:not(form) {
  border: 1px solid #a94442; /* red */
}

.required-label {
  font-size: 80%;
  color: #a94442;
}



/* MODAL STYLES
-------------------------------*/
jw-modal {
  /* modals are hidden by default */
  display: none;
}

  jw-modal .jw-modal {
    /* modal container fixed across whole screen */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* z-index must be higher than .jw-modal-background */
    z-index: 1000;
    /* enables scrolling for tall modals */
    overflow: auto;
  }

    jw-modal .jw-modal .jw-modal-body {
      padding: 20px;
      /* background: #fff;*/
      /* margin exposes part of the modal background */
      margin: 40px;
    }

  jw-modal .jw-modal-background {
    /* modal background fixed across whole screen */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* semi-transparent black  */
    background-color: #000;
    opacity: 0.75;
    /* z-index must be below .jw-modal and above everything else  */
    z-index: 900;
  }

body.jw-modal-open {
  /* body overflow is hidden to hide main scrollbar when modal window is open */
  overflow: hidden;
}

#products .table-questions .table {
  margin-bottom: 4px;
}

#products table.table.table-hover {
  background-color: rgb(245, 245, 245);
}

#products .table-questions .table > tbody > tr > th,
#products .table-questions .table > tbody > tr > td {
  border-top-width: 0px;
}

#products .table > tbody > tr > td {
  vertical-align: middle;
  position: relative;
}

#products .table > thead > tr > th {
  padding: 0 8px 8px 8px;
}

#products .table > tbody > tr > td br {
  display: none;
}

#products .table-questions .table a i {
  margin-right: 10px;
  margin-left: 0;
}

#products textarea {
  margin-bottom: 4px;
  height: 74px;
}

#products .btn.btn-link {
  margin: -8px 0 0 0;
}

#products .fa.fa-sort-asc {
  position: absolute;
  left: 0px;
  top: 18px;
  font-size: 24px;
}

#products i.fa.fa-sort-desc {
  position: relative;
  left: -6px;
  top: -4px;
  font-size: 24px;
}

.sub-nav.pull-right {
  margin-top: 25px;
}

input.ng-untouched.ng-pristine.ng-valid {
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  border: 1px solid #ccc;
  padding: 3px 6px;
  border-radius: 4px;
}

input[type=file] {
  margin-top: 4px;
}

tr.warning textarea {
  margin-top: 4px !important;
}

/*full-calendar*/
.full-calendar-surround {
  background-color: white;
}

/* spinner */
mat-spinner.x2-spinner {
  display: inline;
  padding: 2px;
  margin: 10px;
}

.x2-spinner circle {
  stroke: white !important;
}

/* table tweak */
.table-hover > tbody > table.no-hover tr:hover,
.table-hover > tbody > tr.no-hover:hover {
  background-color: #fff;
}

.table td.no-padding {
  padding: 0;
}

/* order details */

.case-details .mat-expansion-panel {
  border-radius: 0;
  border-bottom: #CC3369 solid 1px;
  margin-bottom: 10px;
  background-color: white;
  color: #333;
}

  .case-details .mat-expansion-panel:not([class*=mat-elevation-z]) {
    box-shadow: none;
  }

.case-details .mat-expansion-panel-header {
  padding: 0 5px;
  font-weight: 100;
}

.case-details .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]) {
  background: none;
}

.case-details .mat-expansion-panel-header-title,
.case-details .mat-expansion-indicator::after {
  color: #CC3369;
}

.case-details .mat-expansion-panel-header i {
  padding: 5px;
}

.case-details .mat-expansion-panel-body {
  padding: 5px;
  font-weight: 100;
}

  .case-details .mat-expansion-panel-body .box {
    margin-bottom: 10px;
  }

/* home page drop list */

.dashboard .drop-destination,
.dashboard .cdk-drop-list.drop-destination {
  padding-top: 15px;
  border: dashed 2px #333;
  border-radius: 4px;
  margin-bottom: 15px;
}

.dashboard .mat-expansion-panel {
  background-color: white;
  color: #333;
}

.dashboard .mat-expansion-panel-header-title,
.dashboard .mat-expansion-panel-header-description,
.dashboard .mat-expansion-indicator::after {
  color: #333;
}

.dashboard .mat-expansion-panel {
  border-bottom: 6px solid #E6E7E8;
}

.dashboard .scorecard-preview {
  min-height: 195px;
  border: solid 1px #E6E7E8;
  border-bottom: 6px solid #E6E7E8;
}

  .dashboard .scorecard-preview.box {
    padding: 15px;
  }

  .dashboard .scorecard-preview h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
  }

    .dashboard .scorecard-preview h2 i {
      font-size: 2.5rem;
    }

    .dashboard .scorecard-preview h2 .numberwrap {
      min-height: 30px;
      min-width: 30px;
      top: 25%;
      left: 59%;
    }

      .dashboard .scorecard-preview h2 .numberwrap .number {
        font-size: 14px;
      }

  .dashboard .scorecard-preview input[type=checkbox] {
    color: #e85512;
  }

.dashboard .no-tiles {
  padding-bottom: 15px;
}

.tile-config {
  position: absolute;
  top: 0px;
  right: 15px;
}

/* Dialogs */
/*.x2-modal {
  position: relative !important;
}

a.close-modal {
  position: absolute;
  top: -12.5px;
  right: -12.5px;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==);
}*/

.x2-modal label {
  font-weight: 400;
}

.x2-modal .confirmation {
  max-width: 460px;
}

.x2-modal .divider {
  border-top: 1px solid;
  margin: 0px 0px 15px;
}

.warnings .divider {
  border-top: 1px solid;
  margin: 20px 0px;
}

/* warnings & on query badges*/
.card {
  padding: 20px;
  margin-bottom: 20px;
}

.warning-badge {
  min-height: 26px;
  min-width: 26px;
  border-radius: 50%;
  font-size: 14px;
  padding: 5px 0;
}

.right {
  position: relative;
  float: right;
}

.water-area {
  margin-bottom: 20px;
}

.water-exclamation {
  padding-right: 4px;
}

.sub {
  font-size: 13px;
}

  .sub i {
    margin: 0 5px 0 2px;
  }

.msg {
  background-color: #F1F2F2;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.overlaps {
  float: right;
}

.option {
  position: relative;
  margin-bottom: 10px;
}

  .option input::placeholder {
    color: #555;
  }

.btn-outline-secondary {
  position: absolute;
  top: -3px;
  right: 0;
  height: 30px;
  padding: 0 10px;
  background-color: #FFF;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
  background-color: #FFF;
}

.warning-container {
    margin-top:8px;
}

.warning-box, .new-on-query {
  padding: 4px 7px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 15px;
  height: 8px;
  border: 1px solid;
  display: initial;
  white-space: nowrap;
}

  .warning-box .num, .new-on-query .num {
    height: 16px;
    width: 16px;
    padding: 1px;
    border-radius: 15px;
    display: inline-block;
    text-align: center;
    margin-right: 4px;
  }

.status-badge {
  padding: 4px 7px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 15px;
  height: 8px;
  border: 1px solid;
  display: initial;
  white-space: nowrap;
  overflow: hidden;
  cursor: default;
}

  .status-badge i {
    margin-left: 5px;
    font-size: 14px;
  }

  .status-badge:hover {
    text-decoration: none;
  }

.water-authority-section .card {
  margin-bottom: 10px;
  padding: 10px 15px;
}

.documents .documents-inner {
  width: 100%;
}

.documents .file-head {
  padding-left: 15px;
}


/* Order Filter */
#cases {
  padding-top: 25px;
}

.input-group-right-icon {
  position: absolute;
  top: 32px;
  right: 25px;
}

.float-checkbox {
  position: absolute;
  top: 0;
  right: 18px;
  font-size: 13px;
}

  .float-checkbox label, .overdue label, .onquery label, .searchtasks label {
    font-weight: 100 !important;
    margin-left: 5px;
    top: -1px;
    position: relative;
  }

.overdue, .onquery, .searchtasks {
  border-radius: 4px;
  padding: 5px 9px 0;
  font-weight: 100 !important;
  font-size: 14px;
  margin-bottom: 30px;
}

.source-product-user {
  margin-bottom: 10px;
}

label[for=overdue],
label[for=onquery],
label[for=searchtasks] {
  width: 90%;
}

.btn.btn-link {
  border-radius: 4px;
  padding: 7px 15px;
}

.btn-fullwith {
  width: 100%;
}

.btn:focus {
  outline: none;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
}

/*material date picker*/

input.hidden-matDate {
  height: 0;
  width: 0;
  padding: 0 !important;
  overflow: hidden;
  z-index: -1;
  border: none !important;
  background: none;
  display: inline;
}

.mat-calendar-body-selected {
  background-color: #e85512 !important;
}

/*material popups*/
.mat-snack-bar-container.bg-danger {
  background-color: #f2dede !important;
  border: 2px solid #CC3369;
  font-weight: bold;
  font-family: Roboto,"Helvetica Neue",sans-serif;
  color: black;
}

.bg-success {
  background-color: #28a745 !important;
  border: 2px solid green;
  font-weight: bold;
  font-family: Roboto,"Helvetica Neue",sans-serif;
  color: white;
}

/*Orders*/

.order-filters .searchtasks label.outsourced-user {
  font-weight: bold !important;
  margin-left: 0;
}

.order-filters .searchtasks {
  margin-bottom: 15px;
}

.sticky + .list-orders {
  padding-top: 270px;
}

.list-orders tr.mat-footer-row, tr.mat-row {
  height: inherit !important;
}

.list-orders .mat-header-cell {
  font-weight: 400;
  font-size: 16px;
  color: rgb(51,51,51);
}

.list-orders .mat-paginator,
.list-orders .mat-paginator-page-size
.list-orders .mat-select-trigger {
  font-size: 14px;
}

.list-orders .mat-spinner {
  margin: 0 auto;
}

.charges-and-regs-placeholder {
  background: #ccc;
  border: dotted 1px #999;
  min-height: 60px;
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}

.charges-and-regs-preview {
  display: inline-block;
  border: solid 1px #999;
}

.charges-and-regs .header {
  border-bottom: 2px solid #d1d3d3 !important;
  font-weight: 400;
  padding: 0;
  margin-bottom: 2px
}

  .charges-and-regs .header span {
    padding: 8px;
  }

.land-charge {
  display: inline-block;
}

  .land-charge .user-selections {
    padding: 0;
  }

  .land-charge .form-group {
    padding: 8px;
  }

    .land-charge .form-group.drag {
      padding-top: 14px;
      color: #d1d3d3;
    }

    .land-charge .form-group.remove {
      padding-top: 14px;
    }

.charges-and-regs .form-group.add-entry {
  display: inline-block;
}

.land-charge .date-picker {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
}

  .land-charge .date-picker .input-group form-control.date-picker-input {
    border-radius: 4px;
  }

  .land-charge .date-picker .mat-icon-button {
    height: 34px;
    width: 34px;
  }

.land-charge .padding-bottom {
  padding-bottom: 10px;
}

.land-charge .border-bottom,
.land-charge-list .border-bottom {
  border-bottom: 1px solid #d1d3d3;
}

.land-charge-list .border-bottom {
  padding-top: 10px;
  margin-bottom: 5px;
}



.drawing-dialog-container {
  width: 100%;
  height: 1px;
  background-color: lightgrey;
  position: relative;
  margin-top: 5px;
  font-size: 14px;
}

.drawing-dialog-circle {
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  border: solid 1px black;
  border-radius: 50%;
  position: absolute;
  top: -15px;
  left: calc(50% - 5px);
  text-align:center;
  font-weight:bold;
  padding-top:4px;
}

.drawing-dialog-orange {
  background: #E85512;
  border-color: #E85512;
  color:white;
}

.drawing-dialog-lightgrey {
  background: lightgrey;
  border-color: lightgrey;
}

.drawing-dialog-font {
  font-size: 12px;
}

.drawing-dialog-title-text {
  font-weight: normal;
  text-align: center;
  color: lightgrey;
  padding-top: 15px;
  padding-bottom: 5px;
  padding-left:25px;
}

.drawing-dialog-bold {
  font-weight: bold;
  color:black;
}

.drawing-dialog-canvas {
  width: 100%;
}

.drawing-dialog {
  width: 820px;
  height: 574px;
  max-height: 95%;
  overflow-y: auto;
}

  .drawing-dialog > .mat-dialog-container > .ng-star-inserted > .mat-dialog-content {
    height: 95%;
    max-height: 95%;
  }

.drawing-dialog-button-text {
  font-size:10px;
}

.drawing-dialog-mat-field .mat-form-field > .mat-form-field-wrapper {
  padding: 0px;
}

.drawing-dialog-mat-field .mat-form-field > .mat-form-field-wrapper > .mat-form-field-flex > .mat-form-field-infix {
  border-top: 0px;
  padding-top: 0px;
}

.drawing-dialog-mat-field .mat-form-field > .mat-form-field-wrapper > .mat-form-field-underline{
    display:none;
}

.drawing-dialog-mat-field .mat-form-field > .mat-form-field-wrapper > .mat-form-field-subscript-wrapper {
  display: none;
}

.cross-reference-results td {
  padding-top: 8px;
  padding-bottom: 8px;
}

.mat-ink-bar {
  background-color: #e85512 !important;
}

.mat-tab-label {
  border-right: 1px solid #E6E7E8;
}

.map-container canvas{
    max-width: inherit;
}

.pipefinder_table {
  width: 800px;
}

  .pipefinder_table td {
    padding: 10px;
  }

.PipeFinderButtonContainer {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

  .PipeFinderButtonContainer button {
    width: 50px;
    height: 50px;
    margin-right: 10px;
  }

.PipeExportImageContainer div {
  font-weight: bold;
  clear: both;
}

  .PipeExportImageContainer div img {
    width: 400px;
    border: 1px solid black;
  }

.inline-block {
  display: inline-block;
}

#smallSpinner {
  display: inline-block;
}

.highlight-grade{
  font-weight: bold;
}

.leaflet-div-icon {
  border-radius: 50%;
  display: inline-block;
  width: 10px !important;
  height: 10px !important;
  left: 5px !important;
  top: 5px !important;
}

.leaflet-editing-icon {
  border-radius: 50%;
  display: inline-block;
  width: 10px !important;
  height: 10px !important;
}
