.graphics-header {
  font-weight: 700;
  font-size: 1.5rem;
  padding-bottom: 8px;
  line-height: 1.3;
}

.graphics-chatter {
  font-size: 1.2rem;
  line-height: 1.3;
}

/* Parcel map */
.map-text {
  padding: 15px;
}

#parcels-map {
  position: relative;
  margin: 25px 0 0 0;
  height: 70vh;
  width: 100%;
}

.mapboxgl-popup {
  max-width: 330px;
  font-size: 1rem/1.2rem "franklin-gothic-urw", "Avenir Next", "Avenir", Arial, sans-serif;
}

.cta {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.3;
  clear: both;
}

.search-cta {
  text-align: right;
  padding: 0 20px 0 0;
}

.map-cta {
  padding: 0 0 15px 0;
}

.key {
  width: 270px;
  position: absolute;
  z-index: 2000;
  top: 10px;
  left: 10px;
  background-color: #fff;
  padding: 25px;
}

.key h6 {
  text-align: center;
}

@media (max-width: 700px) {
  .key {
    display: none;
  }
}

@media (min-width: 701px) {
  .key {
    display: block;
  }
}

.key-mobile {
  width: 95%;
  position: relative;
  background-color: #fff;
  padding: 25px;
  border: 1px solid #E8E8E8;
}

.key-mobile h6 {
  text-align: center;
}

@media (max-width: 700px) {
  .key-mobile {
    display: block;
  }
}

@media (min-width: 701px) {
  .key-mobile {
    display: none;
  }
}

.key-row {
  height: 12px;
  width: 100%;
}

.gradient {
  background: linear-gradient(to right, #a6611a, #dfc27d, #f6e8c3, #80cdc1, #018571);
  margin-bottom: 5px;
}

.map-label {
  width: 30px;
  display: inline-block;
}

.map-label-mobile {
  width: 14%;
  font-size: 0.9rem;
  display: inline-block;
}

.map-label-mobile:last-child {
  text-align: right !important;
}

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

.dropdown {
  position: relative;
  display: inline-block;
  margin: 15px 0;
  width: 250px;
  font-size: 1.1rem;
}

.dropdown select {
  display: inline-block;
  width: 100%;
  cursor: pointer;
  padding: 10px 15px;
  outline: 0;
  border: 1px solid #4d4d4d;
  border-radius: 0;
  color: #4d4d4d;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.dropdown select::-ms-expand {
  display: none;
}

.dropdown select:hover, .dropdown select:focus {
  cursor: pointer;
}

.dropdown select:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.down-arrow {
  position: absolute;
  top: 20px;
  right: 15px;
  width: 0;
  height: 0;
  pointer-events: none;
  border-style: solid;
  border-width: 9px 9px 0 9px;
  border-color: #4d4d4d transparent transparent transparent;
}

.down-cod-arrow {
  position: absolute;
  top: 14px;
  right: 8px;
  width: 0;
  height: 0;
  pointer-events: none;
  border-style: solid;
  border-width: 9px 9px 0 9px;
  border-color: #4d4d4d transparent transparent transparent;
}

/* PAMA properies over time */
.scroller {
  width: 800px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .scroller {
    width: 100%;
  }
}

.scroller-section {
  width: 100%;
  padding-bottom: 25px;
}

.scroll-text {
  padding: 35px 15px;
}

.highlight-la {
  background-color: #705c88;
  color: #fff;
  padding: 0 6px;
  font-weight: 700;
}

.highlight-riv {
  background-color: #c2abdc;
  color: #fff;
  padding: 0 6px;
  font-weight: 700;
}

.highlight-sb {
  background-color: #26173d;
  color: #fff;
  padding: 0 6px;
  font-weight: 700;
}

.scroll-img img {
  width: 100%;
}

/* Document modal */
.document-modal-wrapper {
  background-color: #EDEAE4;
  padding: 25px;
  width: 100%;
  display: inline-block;
  float: left;
  margin: 25px 25px 25px 0;
}

.doc-thumb {
  width: 48%;
  float: left;
}

@media (max-width: 600px) {
  .doc-thumb {
    width: 100%;
    float: none;
  }
}

.doc-text {
  width: 45%;
  float: left;
  margin-right: 25px;
}

@media (max-width: 600px) {
  .doc-text {
    width: 100%;
    float: none;
  }
}

.doc-text-title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  padding-bottom: 15px;
}

.doc-text-desc {
  font-size: 1.1rem;
  line-height: 1.3;
  padding-bottom: 25px;
}

.doc-modal-thumb {
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 250px;
  border: 1px solid #a9a9a9;
}

.doc-modal-thumb:hover {
  cursor: pointer;
}

.doc-modal-thumb i {
  margin-left: 40%;
  margin-top: 60%;
  font-size: 2.5rem;
  background-color: #007397;
  color: #fff;
  padding: 8px;
}

.doc-zoom-btn {
  background-color: #007397;
  color: #fff;
  width: 100%;
  text-transform: uppercase;
  text-align: center;
  font-size: 1.2rem;
  padding: 10px;
}

.doc-zoom-btn:hover {
  cursor: pointer;
}

.doc-modal-text {
  float: right;
  width: 200px;
}

#new-management-thumb {
  background-image: url("../images/doc-new-management.png");
}

#handbook-thumb {
  background-image: url("../images/doc-pama-manual.png");
}

.pdfobject-container {
  height: 80vh;
  width: 100%;
  border: 1rem solid rgba(0, 0, 0, 0.1);
}

/* Late fess adding up */
.slide {
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
  margin-top: 25px;
}

.slide img {
  width: 100%;
  float: right;
}

.active-slide {
  display: block;
}

.slide-wrapper {
  width: 83%;
  background-color: #eee;
  padding: 25px;
}

@media (max-width: 1260px) {
  .slide-wrapper {
    width: 85%;
  }
}

.slide-graphic {
  width: 90%;
  min-height: 20px;
}

.slide-graphic img {
  display: inline-block;
  width: 40%;
  vertical-align: top;
}

.slide-graphic p {
  font-size: 1.2rem;
  line-height: 1.3;
}

.slider-cutline {
  font-size: 1rem !important;
  text-align: right;
  padding-right: 45px;
}

.line-arrow {
  position: absolute;
  overflow: hidden;
  display: inline-block;
  font-size: 16px;
  /*set the size for arrow */
  width: 2em;
  height: 2em;
  top: 30px;
}

.line-arrow.left {
  border-top: 12px solid #212121;
  border-left: 12px solid #212121;
  transform: rotate(-54deg) skew(-20deg);
  left: 1%;
}

.line-arrow.right {
  border-top: 12px solid #212121;
  border-right: 12px solid #212121;
  transform: rotate(54deg) skew(20deg);
  right: -4%;
}

.line-arrow:active, .line-arrow.active {
  border-width: 6px;
}

.line-arrow:hover {
  cursor: pointer;
  opacity: 0.5;
}

.slide-title {
  font-size: 1.3rem;
  font-weight: 700;
  width: 90%;
}

.slide-desc {
  font-size: 1rem;
  padding: 4px 0;
  width: 95%;
  max-width: 790px;
}

.slide-desc img {
  float: left;
  width: 350px !important;
}

.slide-img {
  float: left;
  width: 150px !important;
}

.fee-breakdown {
  font-size: 1.2rem;
  line-height: 1.3;
  text-align: left !important;
}

@media (max-width: 750px) {
  .fee-breakdown {
    width: 100%;
  }
}

.fee-breakdown p {
  font-size: 1.2rem;
}

@media (max-width: 750px) {
  .fee-breakdown p {
    font-size: 1rem !important;
  }
}

@media only screen and (max-width: 1260px) {
  .slide img {
    width: 180px;
  }
  .slide-wrapper {
    width: 91%;
    margin: 10px 0 0 20px;
  }
  .slide-desc {
    width: 96%;
  }
  .line-arrow {
    position: absolute;
    overflow: hidden;
    display: inline-block;
    font-size: 13px;
    /*set the size for arrow */
    width: 2em;
    height: 2em;
    top: 10%;
  }
  .line-arrow.left {
    border-top: 9px solid #212121;
    border-left: 9px solid #212121;
    transform: rotate(-54deg) skew(-20deg);
    left: -2%;
  }
  .line-arrow.right {
    border-top: 9px solid #212121;
    border-right: 9px solid #212121;
    transform: rotate(54deg) skew(20deg);
    right: 1%;
  }
}

@media only screen and (max-width: 820px) {
  .slide img {
    width: 200px;
  }
}

@media only screen and (max-width: 670px) {
  .slide img {
    float: none;
  }
}

@media only screen and (max-width: 600px) {
  .slide img {
    width: 160px;
  }
  .slide-img {
    float: none;
    clear: both !important;
  }
  .slide-wrapper {
    width: 89%;
  }
  .line-arrow {
    position: absolute;
    overflow: hidden;
    display: inline-block;
    font-size: 13px;
    /*set the size for arrow */
    width: 2em;
    height: 2em;
    top: 10%;
  }
  .line-arrow.left {
    border-top: 9px solid #212121;
    border-left: 9px solid #212121;
    transform: rotate(-54deg) skew(-20deg);
    left: -2%;
  }
  .line-arrow.right {
    border-top: 9px solid #212121;
    border-right: 9px solid #212121;
    transform: rotate(54deg) skew(20deg);
    right: 1%;
  }
}

@media only screen and (max-width: 400px) {
  .slide-wrapper {
    width: 84%;
  }
}

/* Web of companies */
.table {
  font-size: 1rem;
}

@media (max-width: 500px) {
  .table td.name {
    width: 28% !important;
  }
  .table td {
    padding: 0.5rem !important;
  }
}

.light-table-filter {
  font-size: 1.2rem;
  margin: 20px 0;
}

.styled-button {
  color: #083e3b;
  font-weight: bold;
  background-color: lightseagreen;
  border: 3px solid #188781;
  padding: 0.5rem;
}

.styled-button:hover, .styled-button:active {
  background-color: #24c8bf;
  cursor: pointer;
  -webkit-transform: translate(1px, 1px);
  transform: translate(1px, 1px);
}

.styled-button:focus {
  background-color: #24c8bf;
  cursor: pointer;
  -webkit-transform: translate(1px, 1px);
  transform: translate(1px, 1px);
  outline: 3px solid orange;
}

.styled-list {
  list-style-type: initial;
  margin-left: 2rem;
}

.styled-list li {
  line-height: 1.25;
}

.styled-list ul {
  list-style-type: circle;
  margin-left: 1.25rem;
}

.expand-button {
  cursor: pointer;
  display: block;
  width: 50%;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 35px;
  background-color: #007397;
  color: #fff;
  font-weight: 400;
  font-size: 1.1rem;
  font-family: "franklin-gothic-urw", "Avenir Next", "Avenir", Arial, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem;
}

.expand-button:hover, .expand-button:active, .expand-button:focus {
  background-color: #898989;
}

.companies-list {
  position: relative;
  max-height: 400px;
  overflow: hidden;
  -webkit-transition: max-height 1s ease;
  transition: max-height 1s ease;
}

.companies-list.-expanded {
  max-height: unset;
}

.companies-list:not(.-expanded)::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(white));
  background: linear-gradient(rgba(255, 255, 255, 0), white);
}
