
/* ------------------------------------------------------------------------- */
/* Base styles*/
html {
  font-size: 12pt;
}
body {
    line-height: 1.2;
    font: 16px/1 sans-serif;
    background: white;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0.4em 0 0.2em;
  line-height: 1.1;
  font-weight: bold;
}
h1 { font-size: 18pt; }
h2 { font-size: 14pt;  }
h3 { font-size: 13pt;  }
h4 { font-size: 12pt; }
h5 { font-size: 10pt;  }
h6 { font-size: 08pt;  }

/* Larger than phablet */
@media (min-width: 550px) {
  h1 { font-size: 22pt; }
  h2 { font-size: 18pt;}
  h3 { font-size: 16pt; }
  h4 { font-size: 12pt; }
  h5 { font-size: 10pt; }
  h6 { font-size: 10pt; }
}

a,
button {
    color: inherit;
    transition: .3s;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

h1 {
    margin-bottom:10px;
    margin-top:14px;
}
h2{
    padding: 0.3em;
    margin: 0.5em -0.1em;
    background: whitesmoke;;
    /* border-top: solid 1px lightgray; */
}

ul{
    margin: 0.6em 0;
    padding: 0;
}
ul ul {
    margin-left: 1em;
}
li {
    margin: 0.2em 0;
    margin-left: 1.5em;
}
dt {
    margin: 0.4em 0 0.2em;
}

p {
  margin: 1em 0.2em;
}

input, textarea, select, button {
  font-size:95%;
}

table {
    border: 1px solid #E1E1E1;
}
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0;
}

/* ------------------------------------------------------- */
/* Utility classes */

a.important {
    text-decoration: underline;
}
a.important:hover {
    color: darkred;
}
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
.button {
    /* Structure */
    display: inline-block;
    line-height: normal;
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    -webkit-user-drag: none;
    user-select: none;
    box-sizing: border-box;
}
.button {
    font-family: inherit;
    font-size: 100%;
    padding: 0.5em 1em;
    color: rgba(0, 0, 0, 0.80); /* rgba supported */
    border: none rgba(0, 0, 0, 0);  /*IE9 + everything else*/
    background-color: #E6E6E6;
    text-decoration: none;
    border-radius: 2px;
}
.button:hover,
.button:focus {
    filter: alpha(opacity=90);
    background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
    text-decoration: none;
}
.button:focus {
    outline: 0;
}
.button:active {
    box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
    border-color: #000;
}
.button[disabled]{
    border: none;
    background-image: none;
    filter: alpha(opacity=40);
    opacity: 0.40;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
}
.button-primary {
    background-color: rgb(0, 120, 231);
    color: #fff;
}


.is-hidden {
  display:none !important;
}

/* ------------------------------------------------------- */
/* General Layout */

.l-body {
  max-width: 70em;
  margin: 0 auto;
}
.l-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap-reverse;
  align-content: stretch;
}
.l-logo {
  font-size: 30pt;
  margin: 0.2em 0.1em 0.4em 0em;
  padding: 0.1em 0;
}
.l-breadcrumbs {
  padding: 0.2em 2px;
  font-size:90%;
}
.l-main {
  display:flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: stretch;
}
.l-panel {
  background: white;
  margin-top: 0;
  padding: 0.2em;
  border: solid 1px lightgray;
  overflow-x: hidden;
  margin-bottom:20px;

}

.l-panel-central {
  width:40em;
  max-width:95%;
  margin: 0 auto;
}

.l-panel-wide {
  width: 100%;
  margin-left: 0 0.5em;
}

.l-panel-medium {
  width: 100%;
  max-width: 51em;
  margin-left: 0 0.5em;
}
.l-panel-narrow {
  width: 100%;
  max-width: 40em;
  margin-left: 0 0.5em;
}
.l-panel-side {
  width: 100%;
  max-width: 18em;
  margin-left: 1em;
  text-overflow: ellipsis;
  overflow:  hidden;
}
.l-panel-with-sticky {
  overflow: visible;
}
.l-footer {
  margin:1em;
  text-align: center;
  padding: 0.1em 0.05em;
}
header.l-panel {
  margin-bottom: -10px;
}
#debug-marker {
  position: absolute;
  top:8px;
  left:8px;
  font-size:18;
  color: darkred;
  background: white;
}

/* -------------------------------------------------------------- */
/* Common modules */

.logo {
    color: #50385A;
    font-weight:bold;
    font-size:30pt;
    border-radius:5px;
    padding: 0.07em;
}
.logo:hover {
  text-shadow: 0px 0px 8px  yellow;
  transform: scale(1.1) skew(1deg,-1deg);
  box-shadow: 2px 2px 2px  darkgray, -2px -2px 2px  white;
  text-decoration: none;
}
.logo:hover a {
    text-decoration: none;
}

.menu {
  display: flex;
  justify-content: space-between;
  list-style:none;
  margin: 0.5em 0 1em;
  border: solid 2px lightgray;
  background: white;
}
.menu a {
  display:block;
  padding: 0.2em 1em;
}
.menu li {
  margin:0;
  padding:0;
}
.menu li.is-active {
  font-weight:bold;
  text-decoration:underline;
}
.menu:hover li {
  text-decoration: inherit;
}
.menu li:hover {
  text-decoration:underline;
}

.crumbs {
    color:#222;
}

.smallprint li {
    background: lightgray;
    font-size: smaller;
    display: inline;
    margin: 0;
    padding: 0;
}

a[target='_blank']:after {
  font-family: "FontAwesome";
  font-size: smaller;
  color: gray;
  content: ' \f08e';
}

.sector-label {
  border-left: 10px solid;
}

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


#tartanBand {
  margin-bottom: -70px;
}
.home-panel {
  margin: 0 0.1em 1em;
  padding: 0.5em;
  border: solid 2px lightgray;
  background: white;
  opacity: 0.95;
  text-align:center;
}
.home-h1 {
    font-size: 50pt;
    padding: 10pt;
    text-align: center;
    color:white;
    background: #50385A;
    border: solid 3px black;
}
.home-h2 {
    font-size: 24pt;
    padding: 10pt;
    text-align: center;
    color:white;
    background: #50385A;
    border: solid 3px black;
}
.home-hero {
  font-size: larger;
  background: #ddd;
  padding: 0.2em 0;
  display: inline-block;
  min-width: 100%;
}

.home-hero-free {
  padding: 0.3em 0 !important;
}

.home-hero h4 {
  font-size: larger;
}

#home-container {
  background: ;
}
#home-content {
 margin: 2em 5em -1em 2em;
 padding: 1em;
 background: #fffe;
 border: solid 2px white;
}
#home-content h1{
  font-size: 40pt;
  background: #50385a;
  color: white;
  padding: 0.2em;
}

.search-keywords {
  list-style:none;
  display:flex;
  align-items:stretch;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin:0;
  padding:0;
}

.search-keywords>li {
  border-style: solid;
  border-width: 1px;
  border-left-width: 2px;
  min-height:2em;
  padding: 2px;
  margin:3px;
  transform:rotate(-0.6deg)
}

.search-keywords > li:nth-child(2n+1) {
    transform: rotate(0.5deg);
}
.search-keywords > li:nth-child(3n+1) {
    transform: rotate(-2deg);
    margin-right: -1px;
}
.search-keywords > li:nth-child(8n+1) {
    transform: rotate(-0.4deg);
    margin-left: 1px;
}


@media screen and (max-width: 600px) {
    .home-h1 {
        font-size: 24pt;
    }
}

.hform {
    display: flex;
    justify-content: center;
    /* flex-wrap: wrap; */
    align-items: center;
    max-width: 25em;
    border: solid 1px darkgray;
    padding: 0.2em;
    background: #eee;
}
.hform-center {
    margin: 1em auto;
}
.hform.hform-newsearch {
  margin-left: 1em;
  max-width: 30em;
}
.hform>input {
  margin: 0.1em;
}
.hform>input[type=search] {
  flex-grow: 1;
  line-height: 2;
}
.hform>input[type=submit] {
  flex-grow: 0;
}

.home-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: stretch;
    list-style: none;
}
.home-buttons li{
    flex: 1 1 20%;
    padding: 0;
    border: solid 2px #66516f;
    max-width:25em;
    margin: 0.1em 0.1em;
    font-weight:bold;
    color: white;
    background: #50385A;
}
.home-buttons>li>a{
    display:block;
    padding: 1.5em 0.1em;
    margin:0;
}
.home-buttons li:hover{
    border-color:black;
    transform: scale(1.03)
}



/* ------------------------------------------------------- */
/* Devbridge autocomplete */

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-suggestion:hover { cursor:pointer }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }


/* ------------------------------------------------------- */
/* Tender Search Page */

/* Quick Search Header */

.search-heading {
    padding: 0.2em 0.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}
.search-livemarker {
    display:  block;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 3px;
    color:#444;
}
.search-livemarker::before {
    content: "\f017";
    font-family: FontAwesome;
    color: #cccc40;
    margin-left: 0.2em;
}
.search-livemarker:hover {
    color: black;
    border-color: black;
    text-decoration:  none;
    background-color: lightblue;
}

#pie-wrapper {
  float: right;
  margin: 10px;
  text-align: center;
  padding: 3px;
  width:120px;
}
#pie-legend {
    color: #445;
    background:white;
    font-size:smaller;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    padding: 0 4px;
    border: 1px solid black;
    border-left-width: 1em;
    border-radius: 1px;
    visibility: hidden;
}
@media screen and (max-width: 920px) {
    #pie-wrapper {
        display:none;
    }
}


.nl-batch {
    text-align:center;
    border-bottom: thick red dashed;
    /* background: #fafafa; */
}
.nl-batch.empty {
    background-color:white;
    background-image: linear-gradient(90deg, transparent 50%, rgba(84, 124, 60,.5) 50%),
    linear-gradient(-0deg,rgba(200, 167, 64,.5) 50%, transparent 50%);
    background-size:50px 50px;
}

ul.muddle > li {
    position:relative;
}

div.nbx-buyer-name {
    top:-10px;
    color:#333333;
    font-size:smaller;
    white-space:nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
}
div.nbx-title {
    padding: 0.2em 0em;
}
div.nbx-value, div.nbx-type {
    margin: 0 0.2em;
    color:#333333;
    font-size:smaller;
    top: 100%;
}
div.nbx-type {
    float:left;
}
div.nbx-value {
    float:right;
}
.noticebox.is-live::after {
    content: "\f017";
    font-family: FontAwesome;
    color: #cccc40;
    font-size: smaller;
    margin: 0 0.2em;
}
.nbx-marker {
  display: inline-block;
  vertical-align: top;
  color: white;
  width: 1.8em;
  height: 1.8em;
  font-size: 8pt;
  text-align: center;
  border-radius:45%;
}
.nbx-marker-cell {
  margin:0;
  padding:0;
}
.noticebox.is-selected .nbx-title {
  font-weight: bold;
}


/* ------------------------------------------------------- */
/* Notice List Page */

h2.dategroup {
    margin:0px auto;
    display:inline-block;
    width: 20em;
    max-width:80%;
    font-size: medium;
    padding: 0.3em 0em;
    color: #414141;
    border-radius: 0.3em;
    text-align:center;
    font-size:large;
    position: sticky;
    top: 15px;
    z-index:1;
}
h2.dategroup.is-new {
    background:#dcdcd5;
}
h2.dategroup.is-new::after {
  content: " new ";
  display: block;
  float: right;
  background: lightyellow;
  border-radius: 5px;
  font-size: smaller;
  vertical-align:top;
  color: #555;
  margin: 0 0.2em;
  padding: 0.1em 0.5em;
}


.noticegrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.buyergroup h5 {
    max-width: 100%;
    padding: 0.2em;
    /* border: solid 1px #ccc; */
    border-radius: 0.2em;
    white-space: nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-weight: normal;
    /* background: whitesmoke; */
    font-size:10pt;
}

.buyergroup {
    margin: 0.5em 0.2em;
    border-radius: 5px;
    padding: 0.1em 0.1em 0.3em 0.1em;
    display: inline-block;
    vertical-align: top;
    width:100%;
    box-sizing: border-box;
    text-align: left;
    /* border: solid 1px white; */
}


@media screen and (min-width: 550px)  {
    .buyergroup {
        width:47%;
    }
    .buyergroup.is-wide {
        width:98%
    }

    .buyergroup.is-wide .noticelist {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      align-items: flex-start;
    }

    .buyergroup.is-wide .noticebox{
      flex: 0 1 48%;
    }

}
@media screen and (min-width: 769px) {
    .buyergroup {
        width:32%;
    }
    .buyergroup.is-wide {
        width:66%;
    }
}

.noticelist {
    padding:0;
    margin:0;

}


.noticebox {
    border: solid 1px;
    border-left-width: 12px;
    background: #fdfdfd;
    padding: 0.5em;
    margin: 0.5em 0.2em 0 0.2em;
    list-style-type: none;
    transition: transform 0.1s ease;
    overflow: auto;
    text-align:left;
}
.noticebox:not(.is-selected) a:hover {
  text-decoration:none;
}
.noticebox.is-selected {
    outline: 2px dashed gray;
    outline-offset: 2px;
}

.noticebox:hover{
    box-shadow: 0.2em 0.2em 0.4em #888888;
}

.noticebox .expansion li{
  text-align: left;
  list-style: none;
  margin:0;
  line-height: 1.4;
  font-size: 90%;
  font-style: italic;
}

.noticebox .expansion ul:nth-child(2) {
  margin: 0.2em;
}
.noticebox .expansion ul:nth-of-type(2) li{
  text-align: left;
  margin:0;
  display: inline;
  line-height: 1.4;
  font-size: 90%;
  font-style: italic;
}
.noticebox .expansion ul:nth-of-type(2) li:after{
  content: '; '
}
.noticebox .button {
  display: none;
}

/* ------------------------------------------------------- */
/* Notice List - Muddle */

ul.muddle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
ul.muddle > li {
    flex: 1 5 auto;
    box-shadow: 0.2em 0.2em 0.4em #888888;
}
@media screen and (min-width: 40em){
    ul.muddle > li {
        max-width: 49%;
    }
}
@media screen and (min-width: 50em){
    ul.muddle > li {
        max-width: 33%;
        flex: initial;
    }
}
ul.muddle > li:nth-child(2n+1) {
    transform: rotate(0.25deg);
}
ul.muddle > li:nth-child(3n+1) {
    transform: rotate(-0.5deg);
    margin-right: -0.2em;
}
ul.muddle > li:nth-child(8n+1) {
    transform: rotate(-0.25deg);
    margin-left: 0.2em;
}
ul.muddle > li {
    margin: 0.2em 0.1em;
    background-color: rgba(255, 255, 255, 0.9);
}
ul.muddle > li:hover, .noticelist > .noticebox.is-selected:hover {
    z-index:1;
    transform: scale(1.02) rotate(0deg) !important;
}
ul.muddle .nbx-title a:visited {color: darkred; }

.sector_A {border-color: #7079C7}
.sector_B {border-color: #C8A740}
.sector_C {border-color: #547C3C}
.sector_D {border-color: #50385A}
.sector_E {border-color: #B84F57}
.sector_F {border-color: #C9552A}
.sector_G {border-color: #79D790}
.sector_H {border-color: #71B8BC}
.sector_I {border-color: #50412C}
.sector_J {border-color: #BC5AD3}
.sector_K {border-color: #C7BC91}


.secback_A {background-color: #7079C7}
.secback_B {background-color: #C8A740}
.secback_C {background-color: #547C3C}
.secback_D {background-color: #50385A}
.secback_E {background-color: #B84F57}
.secback_F {background-color: #C9552A}
.secback_G {background-color: #79D790}
.secback_H {background-color: #71B8BC}
.secback_I {background-color: #50412C}
.secback_J {background-color: #BC5AD3}
.secback_K {background-color: #C7BC91}

.seccol_A {color: #7079C7}
.seccol_B {color: #C8A740}
.seccol_C {color: #547C3C}
.seccol_D {color: #50385A}
.seccol_E {color: #B84F57}
.seccol_F {color: #C9552A}
.seccol_G {color: #79D790}
.seccol_H {color: #71B8BC}
.seccol_I {color: #50412C}
.seccol_J {color: #BC5AD3}
.seccol_K {color: #C7BC91}

.secbacklight_A {background-color: #b8bce3}
.secbacklight_B {background-color: #e3d3a0}
.secbacklight_C {background-color: #a6ca91}
.secbacklight_D {background-color: #ad8fb9}
.secbacklight_E {background-color: #dca7ab}
.secbacklight_F {background-color: #e8a891}
.secbacklight_G {background-color: #bcebc7}
.secbacklight_H {background-color: #b8dcde}
.secbacklight_I {background-color: #bba382}
.secbacklight_J {background-color: #deade9}
.secbacklight_K {background-color: #e3dec8}


/* ------------------------------------------------------- */
/* Notice List - as table */

.nl-table {
  width: 100%;
  margin: 1em 0;
  border-width: 1px 0;
  table-layout: fixed;
  border-collapse: collapse;
}

tr.nlt-row.is-selected {
  border-width: 2px;
  border-style: dashed;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nlt-row.is-live > .nlt-type:after {
    content: " \f017";
    font-family: FontAwesome;
    color: #cccc40;
    font-size: smaller;
    margin: 0 0.2em;
}

.nl-table td {
  vertical-align: top;
}

.nlt-type {
  width: 5em;
  white-space: nowrap;
}
.nlt-title {
  width: 40%
}
.nlt-buyer, .nlt-supplier{
  width:20%
}
.nlt-value {
  width: 4em;
}


@media screen and (max-width: 800px)  {
  .nl-table tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-style: solid;
    border-width: 1px;
    margin: 0.8em;
    padding: 0.4em 0.5em;
  }
  tr.nlt-row:not(.is-selected) {
     border-color:gray;
  }
  .nl-table td {
    display:block;
    margin: 0;
    padding: 0.4em 0;
    border: none;
    width: auto;
  }
  .nlt-title {
    flex: 1 1 100%;
  }
  .nlt-buyer, .nlt-supplier {
    flex: 1 0 51%;
  }
  .nlt-supplier:before {
    content: "to ";
  }
  .nlt-title>a:first-child {
    font-weight: bold;
  }
  .nl-table td:empty{
    display:none;
  }
}


/* ------------------------------------------------------- */
/* View Notice Page */

#notice-nav-promo {
  margin: 1.5em 0.1em 0.5em;
}

dt {font-weight: bold}
dd.sector {
  padding: 0 0.3em;
  display: inline-block;}


#notice-nav-links {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  width: 9em;
  bottom:5em;
  right: 0px;
  padding: 0.2em;
  background-color: rgba(144, 238, 144, 0.8);
  border-radius: 1.5em;
  text-align: center;
  color: #444;
}
.notice-nav-button {
  font-size: 2em;
  display:block;
  background: none;
  border-radius: 50%;
  flex:0;
}
.notice-nav-button:hover {
  color: black;
}
.notice-nav-button[disabled] {
    opacity: 0.40;
    cursor: not-allowed;
    pointer-events: none;
}
.notice-nav-link {
  display: block;
  border-radius:0.4em;
  background: whitesmoke;
  min-width: 4em;
  padding: 0.3em;
}

@media screen and (max-width: 950px)  {
  dd {
    margin-inline-start: 20px;
  }
}

@media only screen and (min-width: 90rem) {
  #notice-nav-links {
    left: calc(50vw + 20rem);
  }
}
@media screen and (max-width: 450px)  {
    #notice-nav-links {
      width:100vw;
    }

    #notice-nav-link {
      font-size: small;
      padding: 0.01em;
    }
}

.nhistory {
  list-style: none;
}
.nhistory li {
  margin: 0.2em;
  margin-left: 1.1em;
  padding: 0.2em;
}
.nhistory-this::before {
  content: '⇨';
  margin-left: -1.1em;
}

div.ammendments > p {white-space:pre-line}
div.ammendments  mark.same {
    background: inherit;
}
div.ammendments  mark.delete {
    background: lightcoral;
    text-decoration: line-through;
    border-radius: 3px;}
div.ammendments  mark.insert {
    background:lightgreen;
    border-radius: 3px;
}

mark.keyword, mark.searchterm {
  background: #fbfb88;
  font-weight: bold;
  cursor:pointer;
}
mark.searchterm {
  background: yellow;
}
mark.keyword:hover, mark.searchterm:hover {
  text-decoration: underline;
}

.conceptslist {
    column-count:2;
    -moz-column-count: 2;
}
.conceptslist li {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

#notice-keydata .colly {
    display: inline-block;
    width:50%;
    vertical-align:top;
}

.geochart-div {
  height: 300px;
  max-height: 80vh;
  border: solid 2px #ddd;
}
.geochart-div-tall {
  height: 800px;
}
.geochart-div.is-active{
  border-color: blue;
}
.geo-label {
  background: rgba(255,255,255,0.9);
  border: 1px solid #888;
  position: relative;
  display: inline-block;
  max-width: 12em;
  padding: 0 1px;
  margin-left:5px;
  color:black;
  white-space: nowrap;
  overflow: hidden;
  text-overflow:ellipsis;
}
.geo-label-buyer {
  background: rgba(255,210,210,0.9);
  border-color:#a88;
}
.geo-label-supplier {
  background: rgba(210,210,255,0.9);
  border-color:#88a;
}
.leaflet-layer {
  filter: invert(0.8) sepia(1) saturate(0.1) hue-rotate(6deg);
}

.org-lists {
  display: flex;
}
.org-lists > * {
  flex: 1 1 50%;
}
.loc-list {
  margin: 0.1em;
}
.loc-card {
  padding: 0.2em;
}
.loc-card a {
  display: block;
}
.loc-addr {
  color: #333;
  font-size: smaller;
  margin: 0.2em 0;
}
.cpv-codes li {
  margin-bottom: 0.3em;
}
.notice-lots {
  width: 100%;
}
.notice-lotnumber {
  vertical-align: top;
  text-align: center;
  width: 2em;
}

/* ------------------------------------------------------- */
@media print {
    * {
        background:white !important;
        background-image:none !important;
        font-size: smaller;
    }
    .buyergroup {
        width:100%;
    }
}

/* ------------------------------------------------------- */
/* New Analysis Page */

.nav-analysis {
  list-style: none;
  margin: 0.6em 0.2em;
  padding:0;
}
.nav-analysis>li {
  margin: 0.4em 0;
}
.nav-analysis a.is-active {
  border: solid #444 2px;
  color:#222;
  background: #eee;
  padding-left: 0.2em;
}
.nav-analysis a.is-active::before {
  content:'▶ ';
  font-size:small;
  color: #444;
}

.button.h2-wrap {
  float:right;
  margin: 0.5em;
}
.anly-section {
  margin: 0.1em 0 0.6em;
}
.anly-chart-wrapper {
    position: relative;
    margin: 0.5em 0;
    padding: 0.4em 0.2em;
    //border: 2px solid #eee;
    height: 50vw;
    min-height: 260px;
    max-height: 400px;
}

.anly-beside {
  display: flex;
  flex-wrap: wrap;
}
.anly-beside > * {
  flex: 1 1 50%;
  min-width: 20em;
}
.anly-chart-mini {
  height: 50px;
  width: 80%;
}

.anly-pie-wrapper {
  display:flex;
  justify-content: space-around;
}
.anly-pie-chart {
  position: relative;
  width: 70%;
  max-width: 35em;
}
.anly-pie-legend {
  list-style: none;
  font-size: small;
  color: #555;
}
.anly-pie-legend li {
  margin: 0.5em 0.2em;
  line-height: 1.3em;
  vertical-align: middle;
  border-left-width: 3.2em;
  border-left-style: solid;
  padding-left: 0.5em;
}
.anly-table4 {
    width: 100%;
}
.anly-table4 th:nth-child(2) {
    width: 70%;
}
.anly-table {
    width: 100%
}

tr.clickable:hover {
    background: lightyellow;
}
.clickable {
    cursor: pointer;
}

@media screen and (max-width: 460px)  {
    .anly-table4 tr {
        display: flex;
        justify-content: space-between;
    }
    .anly-table4 td, .anly-table4 th {
        padding: 12px 8px;
    }
}

.anly-keywords {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}
.anly-keyword {
    border-style: solid;
    border-width: 1px;
    border-radius: 0.2em;
    margin: 0.3em;
    transition: transform 0.6s ease;
    text-align: center;
}
.anly-keyword:hover {
    transform: scale(1.2);
    transition: transform 0.2s ease;
    box-shadow: 0.3em 0.3em 0.5em #888888;
}
.anly-keyword a {
    display:block;
    padding: 0.2em;
}
.anly-keyword a:hover {
    text-decoration: none;
}

.geo-lists {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}
.geo-list {
  margin: 1em 0.8em;
}
.geo-list-buyer h4:before{
  content: "⬤ ";
  color: red;
  font-weight: bold;
  margin-left: -1em;
}
.geo-list-supplier h4:before{
  content: "⬤ ";
  color: blue;
  font-weight: bold;
  margin-left: -1em;
}

.anly-number {
  color: #333;
  font-size: small;
}
.anly-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  list-style: none;
}
.anly-listitem {
  flex: 1 1 15em;
  max-width: 20em;
  min-height:  2em;
  margin: 0.5em;
  border: solid 1px black;
  border-radius: 1px;
  padding: 0.5em;
  transition: 0.2s ease;
}
.anly-listitem:hover{
  background: #d6ebf1;
  transform: scale(1.02);
}
.anly-listitem>a {
  display:block;
}
.anly-listitem>a:hover{
  text-decoration:none;
}

.anly-addresslist>li {
  border: dashed 1px gray;
  margin: 0.2em;
  padding: 0.2em;
  max-width: 20em;
  background: #f9f9ed;
}

/*
.anly-catlist {
  display: flex;
  flex-wrap: wrap;
  list-style:none;
}
.anly-catlist>li{
  padding: 0.2em;
  margin: 0.2em;
  border: solid 1px black;
  flex: 1 1;
}

.anly-orglist {
  display: flex;
  flex-wrap: wrap;
  list-style:none;
}
.anly-orglist>li{
  padding: 0.2em;
  margin: 0.2em;
  border: solid 1px black;
  flex: 1 1;
  font-weight: bold;
}
*/


.org-list{
  list-style:none;
  margin: 0.5em 0;
  padding:0;
}
.org-listitem{
  margin: 1em 0;
  padding:0;
}
.org-listitem-buyer::before {
  content: "";
  display: block;
  float: left;
  background: #ffbbbb;
  border: solid 2px red;
  border-radius: 50%;
  width: calc(10px + 40px * var(--data-pct));
  height: calc(10px + 40px * var(--data-pct));
  margin: 0 5px 5px 0;
}
.org-listitem-supplier::before {
  content: "";
  display: block;
  float: left;
  background: #bbbbff;
  border: solid 2px blue;
  border-radius: 50%;
  width: calc(10px + 40px * var(--data-pct));
  height: calc(10px + 40px * var(--data-pct));
  margin: 0 5px 5px 0;
}

/* ------------------------------------------------------- */
/* Some stuff for calendar heatmap */
.cal-heatmap {
  font-size: smaller;
  width: auto;
}
.cal-heatmap td {
  padding: 0.5em;
  border-style: none;
  font-size: smaller;
 }
.cal-heatmap td {
  background: rgba(120,5,5, calc(10% + 0.9 * var(--data-pct)));
  text-align: center;
}
.cal-heatmap td.cal-weektotal {
  width:100%;
  text-align:left;
  background: linear-gradient(to right, white, brown var(--data-pct),
                                   white calc(var(--data-pct) * 0.9));
  line-height: 0.5;
}

/* ------------------------------------------------------- */
/* Simple Pie Chart Utility */

.pie {
}
.pie svg {
  margin: 0;
  padding: 0;
  width: 100px;
}
.graph > * {
  visibility: visible;
  transition: all 200ms ease-in-out;
}
.graph__percent {
  stroke-width: 15.9px;
}
.graph__percent:hover {
  stroke-width: 17px;
  opacity: 1;
}

/* ------------------------------------------------------
* Error page
*/

.error-panel {
    width:40em;
    max-width:95%;
    margin: 0 auto;
    padding: 0.5em;
    border: solid 0.3em lightgray;
    background: white;
    opacity: 0.95;
}

/* ------------------------------------------------------
 * Serach history list
 */

.home-history {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-history li {
  margin: 0.5em 0.2em;
  border: solid 1px lightgray;
  background: #eee;
  transition: transform 0.3s ease-out;
  max-height: 4em;
  overflow:hidden;
}
.home-history li:hover {
  border-color: darkgreen;
  background: #aae6aa;
}

.home-history a {
  display: block;
  padding: 0.3em;
}
.home-history a:hover {
  text-decoration: none;
}


/* ------------------------------------------------------
 * The new embedded filter form
 */

 .sf-form{
    display: inline-block;
    vertical-align:top;
    max-width: 30em;
    width: 98%;
    margin-left: 0.2em;
    border: solid 2px lightgray;
    border-radius: 3px;
    background: #f4f4f4;
}
.sf-filter {
    margin: 1px;
    padding: 0em 0.2em;
}
.sf-filter label {
    display:block;
    visibility: visible;
    margin-bottom: 0.2em;
    font-size:smaller;
}
.sf-filter>input[type=search], .sf-filter>select {
  width: calc(100% - 2em);
  font-size: larger;
}
.sf-filter.is-empty .sf-filterclear {
    visibility: hidden;
}
.sf-filterclear {
    margin-left: 0.2em;
    font-size: larger;
    color: #511
}
.sf-filterclear:hover {
    color: #911
}
.sf-form.is-collapsed {
    display: inline-flex;
    position:  static;
    flex-wrap: wrap;
    align-items: center;
    vertical-align:top;
    border: none;
    background: inherit;
    margin:0;
    max-width: 100%;
    width: auto;
    flex-wrap: wrap;
    font-size:11pt;
}
.sf-filter {
  margin: 0.5em 0.1em 0.5em 1em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sf-form input.button {
  font-size: inherit;
  min-width: 4em;
}
.sf-form.is-collapsed label,
.sf-form.is-collapsed .sf-filter.is-empty,
.sf-form.is-collapsed button,
.sf-form.is-collapsed .sf-legend
 {
    display: none;
}
.sf-form.is-collapsed  .sf-filterclear {
    margin-left: 0;
}
.sf-form.is-collapsed select::-ms-expand {
    display: none;
}
.sf-form.is-collapsed .sf-filter {
  background: #eee;
  border: solid 1px gray;
  border-radius: 4px;
  margin: 0.4em 0.2em;
  padding: 1px 0.2em;
}
.sf-form.is-collapsed select
 {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    border-width:0;
    background:none;
    font-size: inherit;
 }
.sf-form.is-collapsed input
 {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #eee;
    border-width:0;
    font-size: inherit;
    max-width: 10em;
 }
.sf-form input::-ms-clear {
  display: none;
}
.sf-form  input::-webkit-search-cancel-button
{
  display: none;
}

#sf-submit-pointer {
  color: maroon;
  font-size: large;
  display: none;
}
.sf-search-help {
  font-size: smaller;
  padding: 10px;
  float: right;
}
#sf-refine-charts-toggle {
  font-size: smaller;
  margin: 8px;
  padding: 2px;
  border: 1px solid #444;
  float: right;
}
#sf-refine-charts-toggle.is-selected {
  background: lightblue;
  border-color-black;
}
#sf-more-link {
  padding-left: 0.5em;
}

#sf-fab {
    float:right;
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index:11;
    background: lightgreen;
    border: solid 4px #555;
    color: #555;
    width: 33pt;
    height: 33pt;
    line-height: 28pt;
    font-size: 24pt;
    font-weight:bold;
    border-radius: 50%;
    text-align: center;
}
#sf-fab:hover {
    cursor: pointer;
    color:black;
    border-color:black;
}

#sf-facets {
  position:fixed;
  right:10px;
  bottom:10px;
  display:none;
  z-index:10;
  padding: 0.2em 0.4em;
  background: whitesmoke;
  border: solid 2px lightgray;
  max-height: calc(100vh - 50px);
  max-width: calc(100vw - 2em);
  width: 190px;
  overflow-y:scroll;
  line-height: 1.1;
}

#sf-facets.is-displayed {
  display: block;
}
.sf-terms {
  margin: 0.2em 0;
  padding: 0.2em 0.3em;
  border: solid 1px lightgray;
  border-radius:2px;
  background: white;
}
.sf-terms-text {
  font-size:smaller;
}
.filter-crumb-remove {
  float: right;
  color: #6b0c0c;
}



@media only screen and (min-width: 90rem) {
  #sf-fab {
    left: calc(50vw + 40rem);
  }
  #sf-facets{
    left: calc(50vw + 30rem);
  }
}
/* -------------------------------------------------------
 * The new view mode switches
 */

#nl-viewmodes {
  display: flex;
  list-style: none;
  color: #444;
}

#nl-viewmodes li {
  border: solid 1px #444;
  margin: 0.1em 0.3em;
  padding: 0.2em 0.3em;
}

#nl-viewmodes li:hover,
#nl-viewmodes li.is-selected{
  cursor:pointer;
  border-color: black;
  font-weight: bold;
  background: lightblue;
}

  /* ------------------------------------------------------- */
  /* Buyer List page */

.bl-list {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(12em, 1fr));
  list-style: none;
}
.bl-item {
  margin: 10px;
  border: solid 1px #444;
  display: flex;
  flex-direction:column;
  justify-content: space-between;
  transition: transform 0.2s ease;
  overflow: hidden;
}
.bl-item:hover {
  border-color: black;
  transform: scale(1.05)
}
.bl-item a:hover {
  text-decoration:none;
}
.bl-name {
  /* font-size: larger; */
  padding: 0.3em;
  font-weight: 600;
}
.bl-values {
  padding: 2px;
  font-size: smaller;
  text-align: right;
  background: whitesmoke;
  color: #444;
}
.bl-values>* {
  margin: 3px;
}


@media screen and (min-width: 40em){
    .bl-name {
        /* font-size: 18pt; */
    }
}

@media screen and (min-width: 55em){
    .bl-name {
        /* font-size: 22pt; */
    }
}

/* ------------------------------------------------------
* Search Refine page
*/

.cat-sectorgroups {
  padding:0;
  margin:0;
}

.cat-sectorgroup  {
  flex: 1 1 content;
  list-style: none;
  padding:0;
  margin:0.2em;
  margin-top: 1.5em;
}

.cat-sectorbarback {
  background: repeating-linear-gradient(
        90deg,
        #ccc,
        #ddd, 1px,
        #fff 1px,
        #fff 10%);
  white-space: nowrap;
  padding: 0.2em 0;
}
.cat-sectorbar {
  display: block;
  padding: 0.5em 0.3em;
  border-style: solid;
  width: var(--data-pct);
  border: solid 1px #555;
}
.cat-sectorbar>span {
  padding: 0.1em;
}

.cat-sectorbar:hover {
  border-color: black;
  width:calc(var(--data-pct) + 1em);
}

.cat-sectorlist {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding:0;
  margin:1em 0;
}
.cat-sectorlist li {
  display: block;
  flex: 0 1 23%;
  min-height: 2.5em;
  border-style: solid;
  border-width: 1px;
  border-left-width: 1px;
  padding:0;
  margin:0.2em;
}
.cat-sectorlist li>a {
  display: flex;
  flex-direction:column;
  justify-content: space-between;
  background: rgba(255,255,255,0.7);
  padding: 0.3em;
  height:100%;
}
.cat-sectorlist li>a:hover {
  background: rgba(255,255,255,0.2)
}
.ctags-list li {
  padding: 0.1em;
}

.refine-list {
  display: flex;
  flex-wrap: wrap;
  list-style:none;
  margin: 0.1em;
  margin-right: 0.5em;
  /* margin: 0.1em auto; */
  padding: 0.1em;
  /* background: repeating-linear-gradient(
            90deg,
            #ccc,
            #ddd, 1px,
            #fff 1px,
            #fff 10%); */
  /* border-right: solid 1px #ccc; */
}
.refine-list.is-chart {
  display: block;
}
.refine-list li {
  margin:0.3em 0.2em;
  padding:0;
  border: 1px solid gray;
  border-radius: 2px;
  transition: width 0.2s ease;
  background: rgb(208 208 208);
  transition: transform 0.1s ease,
              width: 1s ease,
              colour 0.3s ease;
}
.refine-list.is-chart li {
  white-space: nowrap;
  width: var(--data-pct);
  background: liner-gradient( to left,
    gray,
    gray 50%,
    white 100%
  );
}
.refine-list li>a {
  display: block;
  line-height: 2em;
  padding: 0 0.2em;
}
.refine-list .refine-label {
  padding: 0.2em;
  border-radius: 2px;
  background: rgb(255 255 255 / 69%);
}
.refine-list li:hover {
  background:rgb(210 210 210);
  transform: scale(0.97);
  border-color: black;
}

.refine-list a:hover{
  text-decoration:none;
}
.refine-remove-button {
  background: #eee;
  margin: 0 0.2em;
  padding: 0.3em 0.5em;
  border: solid 1px darkgray;
  border-radius: 3px;
}
.refine-remove-button:hover {
  text-decoration:none;
  background: lightgray;
}

button:hover {
  cursor:pointer;
}

/* ---------------------------------------------- */
/* Minimap for date summary pages */

.sm-sector-map {
  list-style: none;
  margin: 0;
  padding:0;
}
.sm-sector-map > li {
  list-style: none;
  margin: 0.5em;
  padding:0;
  font-size:small;
}
.sm-sectors {
  list-style: none;
  padding: 0;
  margin:0;
  font-size:0;
  background: whitesmoke;
}
.sm-sectors li {
  display: inline-block;
  border-radius: 0px;
  margin: 0.5px;
  width: 5px;
  height: 10px;
}
.sm-sectors li {
  transition: transform 1s ease-in;
}
.sm-sectors li:hover {
  transform:  scale(1.2);
  transition: transform 0.01s ease-in;
  opactity: 50%;
}


input.create-notifier{
  line-height: 2.3em;
  margin: 6px;
  min-width: 46em;
}

select.create-notifier{
  line-height: 2.3em;
  margin: 6px;
  min-width: 10em;
  height: 2.6em;
  text-align: center;
}

#create-notifier-add-search-term hr{
  height: 7px;
  color: #50385A;
  background-color: #50385A;
}

.notifier-container {
  border: 3px solid;
  border-color: #50385A;
  max-width: 44%;
  border-radius: 10px;
  margin: 3%;
  padding: 10px;
  float: left;
  min-width: 44%;
}

.notifier-title {
  clear: both;
  display: block;
  align-content: left;
  text-align: left;
  font-size: 1.6em;
  font-variant: all-petite-caps;
  /* text-decoration: underline; */
  margin: 4px;
  margin-bottom: 6;
  padding-bottom: 6px;
  font-weight: 600;
}

.notifier-search-terms {
  list-style: none;
  float: left;
  min-width: 100%;
}

.notifier-search-term {
    border: 3px dotted;
    min-height: 1.7em;
    padding: 0.3em 0.3em 0.3em 0.3em;
    border-radius: 0.3em;
    border-color: #50385A;
    float: left;
    min-width: 6em;
    margin-left: 0.4em;
}

.term-in-list {
  float: left;
}

.term-separator {
  float: left;
}

.term-type-in-list {
  float: right;
  margin-left: 0.3em;
}

.notifier-email {
  text-align: left;
  list-style: none;
  margin-left: 0.5em;
  padding: 0.2em;
}

#create-notifier-form {
  align-items: flex-start;
  text-align: left;
}

.search-term-type-select {
  margin: 0.3em;
  padding: 0.3em;
  min-width: 10em;
  text-align: center;
  font-weight: 600;
  background-color: #eee;
  border: 2px solid;
  border-radius: 0.3em;
}

.search-term-text-input {
  margin: 0.3em;
  padding: 0.3em;
  min-width: 13em;
  font-weight: 600;
  background-color: #eee;
  border: 2px solid;
  border-radius: 0.3em;
  float: left;
}

a.create-notifier {
  /*border: 2px solid;*/
  padding: 0.3em;
  border-radius: 0.3em;
}

input.create-notifier {
  line-height: 2.0em;
  margin: 0.3em;
  min-width: 46em;
  padding: 0.3em;
  border: 2px solid;
  border-radius: 0.3em;
}

.marker-in-email-list {
  float: left;
  padding-right: 0.3em;
}

#form-create-notifier-button {
  min-width: 72%;
  text-align: center;
  border: 2px solid;
  border-radius: 0.3em;
}

.submit-section {
  margin: 0.3em;
  padding: 0.3em;
  min-width: 100%;
  text-align: center;
  display: inline-block;
  width: 100%;
  margin-top: 1em;
}

.notifier-functions{
  position: relative;
  right: 5px;
  bottom: 5px;
  width: 30px;
  float: right;
}

.term-removal {
  float: right;
  padding-left: 0.3em;
  padding-top: 0.05em;
  cursor: pointer;
}

.term-removal:hover {
  color: red;
}

.notifier-trash:hover {
  color: red;
  cursor: pointer;
}

.action-button {
  cursor: pointer;
  font-weight: 600;
  background-color: #56BB3C;
  border: 2px solid;
  border-radius: 0.3em;
}

#form-create-notifier-button.disabled {
  pointer-events: none;
}

/*BidNow Additional CSS Changes */
.bidnow-cont {
	padding: 1px;
	border: none;
}
.bidnow-link:after {
	content: '' !important;
}
.bidnow-img {
	width:100%;
}

/* New Theme Idea */

#notice-concepts {
  margin:10px 0px;
  padding:20px;
  border-radius:10px;
  background:#ebebeb;
}

.l-panel {
 border:0px !important;
 padding:20px !important;
}

.container.priceoptions {
  width: 125%;
  margin-left: -12.5%;
}

.pricingTable .month { 
  color: black;
}
.bg-blue-a{
  background-color: #3399FF;
}
.text-blue-a{
  color: #3399FF !important;
}
.all-petite{
  font-variant: all-petite-caps;
}
.box-shadow-dark{
  -webkit-box-shadow: 6px 6px 7px 2px rgba(0,0,0,0.16); 
  box-shadow: 6px 6px 7px 2px rgba(0,0,0,0.16);
}
.border-radius-05{
  border-radius: 0.5rem;
}

.dropdownbit {
  position: absolute;
  top: 100%; 
  left: 0;
  z-index: 1000; 
  display: none;
  background-color: white;
  border: 1px solid #ccc;
  padding: 0.5rem 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  min-width: 200px;
  width: max-content;
}

.nav-item {
  position: relative;
  margin-left: 0px !important;
}

.dropdownbit li {
  list-style: none;
  padding: 0.25rem 1rem;
}

.dropdownbit li a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 0.25rem 0;
}

.dropdownbit li a:hover {
  background-color: #f0f0f0;
}

.lock-icon {
  margin-right: 6px;
  margin-bottom: 6px;
  vertical-align: middle;
  display: inline-block;
}
