html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#viewDiv {
  position: absolute;
  right: 0;
  left: 0;
  top: 60px;
  bottom: 0;
  margin: 0;
}

#searchDiv{
  position:absolute;
  width:300px;
  top: 10px;
  right: 3px;
  border-radius: 5px;
}


.header {
  position: absolute;
  top: 0;
  width: 100%;
  height: 10%;
  min-height: 75px;
}



.banner-container {
  padding: 0px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.banner {
  display: flex;
  flex-direction: row;
  flex-grow: 4;
  background-color: #407cc9;
  margin: 0px;
  width: 100%;
  height: 60px;
  padding-top: 0px;
  overflow: hidden;
  text-align: center;
  margin: auto;
  width: 100%;
  text-align: center;
  vertical-align: middle;
  color: white;
  font-weight: bold;
  font-size: 25px;
  align-items: center;
}


.name-content {
  background-color: #407cc9;
  margin: auto;
  padding: 10px;
  overflow: hidden;
  text-align: center;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.title-text {
  font-size: 45px;
  line-height: 1.2;
}

.search-content {
  background-color: #407cc9;
  margin: auto;
  width: 40%;
  padding: 10px;
  overflow: hidden;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 45px;
}

.help-button {
  background-color: white;
  color: #407cc9;
  border: 2px solid white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  min-width: 32px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 15px;
}

.help-button:hover {
  background-color: #ee7622;
  color: white;
  border-color: #ee7622;
}


.img-container {
  flex-grow: 0;
  margin: 1px;
  width: 20%;
  padding: 0px;
  overflow: hidden;
  text-align: center;

}

.esri-search__input:-ms-input-placeholder {
  color: #00827a;
}

.esri-search__input::-webkit-input-placeholder {
  color: #00827a;
}

.esri-search__submit-button {
  border-left: none;
  border-right: solid 1px #00827a;
}

.esri-search__sources-button {
  border-right: none;
  border-left: solid 1px#00827a;
}

.esri-menu .esri-menu__header {

  background-color: #ee7622 !important;

}



.esri-input {
  background-color: #ffffe6;
  border: 1px solid #ffffe6;
  color: #00827a;
  font-family: inherit;
  font-size: 14px;
}

.esri-widget--button {
  font-size: 14px;
  background-color: #ee7622;
  color: #fff;
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  transition: background-color 125ms ease-in-out;
}

.esri-menu__list-item--active, .esri-menu__list-item--active:hover, .esri-menu__list-item--active:focus {
  background-color: #ffffe6;
  border-left-color: #ffffe6;
}
.esri-zoom, .esri-widget--button {

  border:solid white 1px !important;
}
.esri-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #ffffe6;
}

.esri-popup__main-container {
  pointer-events: auto;
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 1000px;
  background-color: #ffffe6;
  display: flex;
  flex-flow: column nowrap;
  padding: 0px;
  justify-content: center !important;
}

.esri-popup__header-title {
  color: #0000;
  background-color: #d6d6b0;
  display: block;
  margin: auto !important;
  justify-content: center !important;
  font-size: smaller;
  font-weight: bold;
  font-style: italic;
}

.esri-popup__header-container {
  background-color: #ee7622;
  padding: 1px, 1px, 1px, 1px !important;
  justify-content: center !important;
  align-items: center !important;

  width: 100% !important;
  margin: auto !important;
  flex: 1;
  cursor: pointer;
}

.esri-popup__content {
  display: flex;
  flex-flow: column nowrap;
  flex: 1 1 auto;
  font-size: 200 !important;
  border: solid 1px black;
  margin: 10px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  line-height: normal;
  background-color: #ffff !important;
  padding: 10px !important;
  min-height: 200px;
  max-height: 60vh;
  cursor: default;
}

.esri-popup__content img,
.esri-popup__content iframe {
  max-width: 100% !important;
}

.esri-view-width-xlarge .esri-popup__main-container,
.esri-view-width-large .esri-popup__main-container,
.esri-view-width-medium .esri-popup__main-container {
  pointer-events: auto;
  position: relative;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  width: 100%;
  border: 1px solid black;
  max-height: 75vh !important;
  max-width: 420px !important;
  background-color: #ffffe6;
}

.esri-popup__button:hover {
  color: rgb(175, 29, 29);
  background-color: #ee7622;
}


.esri-view-width-xlarge .esri-popup__main-container,
.esri-view-width-large .esri-popup__main-container,
.esri-view-width-medium .esri-popup__main-container {
  max-height: 75vh !important;
  max-width: 420px !important;
  overflow-x: hidden;
  overflow-y: auto;
}

.img {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.esri-popup.esri-widget {
  max-height: 100%;
}

.esri-view-width-xlarge .esri-popup__main-container {
  width: 420px;
}

.esri-view-height-less-than-medium .esri-popup__main-container {
  max-height: 500px;
}


@media screen and (min-width: 320px) {
  .title-text {
    font-size: 22px;
  }
}
@media screen and (min-width: 600px) {
  .title-text {
    font-size: 30px;
  }
}
@media screen and (min-width: 1024px) {
  .title-text {
    font-size: 45px;
  }
}




#legendTitleDiv {
  cursor: pointer;
  width: 200px;
  height: 25px;
  background-color: #ffffe6;
  border: solid 1px #00827a;
  font-family: Arial, Helvetica, sans-serif;
  color: #ee7622;
  font-weight: bold;
  padding: 5px;
}

#legendDiv {
  cursor: pointer;
  width: 200px;
  background-color: #ffffe6;
  border: solid 1px #ee7622;
  font-family: Arial, Helvetica, sans-serif;
  padding: 5px;
  display: none;
}

 .esri-widget__table tr td, .esri-widget__table tr th{
  padding: 0.5em 0.7em;
  word-break: break-word;
  vertical-align: top;
  font-weight: 400;
 background-color: #ffffe6;
 
}

.esri-widget__table tr td {
  width: 50%;
  background-color: #ffffe6;
} 


.esri-legend__service{
  background-color: #ffffe6;
  border: solid 1px #ee7622;
}




.slidecontainer {
  color:white;
  left: 50px;
  position: absolute;
  top:73;
  background-color: #407cc9;
  padding:3px;
  z-index: 99;
  width: 200; 
  border-radius: 8px;
}

/* The slider itself */
.slider {
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  width: 100%; /* Full-width */
  height: 25px; /* Specified height */
  background: #ffffe6; /* Grey background */
  outline: none; /* Remove outline */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
  border-radius: 8px;
}

/* Mouse-over effects */
.slider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: #ee7622; /* Green background */
  cursor: pointer; /* Cursor on hover */
  border-radius: 8px;
}

.slider::-moz-range-thumb {
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: #ee7622; /* Green background */
  cursor: pointer; /* Cursor on hover */
  border-radius: 8px;
}


.layer-container {
  color:white;
  background-color: #ee7622;
  padding:5px;
  width: 150px; 
  border-radius: 8px;
  opacity: 0.9;
  
}

#loading {
  margin: 0;
  position: absolute;
  top: 50px;
  right:0px;

}

.information-banner {
  display:none;
  position: fixed;
  bottom: 5%;
  left: 10%;
  right: 10%;
  width: 80%;
  padding: 5px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ee7622;
  border-radius: 5px;
  max-height: 400px;
  opacity:85%;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

.information-content{


  max-height: 380px;
  width:100%;
  background-color:#ffffe6;
  padding:10px;
  overflow-y: scroll;


}

.doNotShowMeAgain {
  height: 40px;
  padding:3px;
  width: 25%;
  vertical-align:middle;
  background-color:#9bb9e0;
  border: none;
  color: blue;
  font-weight: bold;
  border-radius: 2px;
  cursor: pointer;
}

.button-open {
	background-color:#407cc9;
  color: #fff;
  border: solid 1px #0095cc;
  border-radius: 3px;
	cursor:pointer;
  width: 60px;
  height: auto;
  text-align: center;
  padding: 0px;
}
.button-open:hover{
  box-shadow: 2px 2px 2px 2px green;
}
.button-close {
	cursor:pointer;
  width: 60px;
  height: auto;
  background-color: #407cc9;
  color: #fff;
  border: solid 1px #0095cc;
  text-align: center;
  float: right;
  padding: 0px;
  border-radius: 3px;
  
}
.button-close:hover{
  box-shadow: 2px 2px 2px 2px white;
}
#toolbarDiv {
  position: absolute;
  top: 75px;
  right: 15px;
  cursor: default;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

#measureDistanceDiv, #measureDeleteDiv, #measureAreaDiv {
  position: absolute;
  top: 75px;
  right: 108px;
  width: 100px;
  background-color: #ffffe6;
  border: solid 1px #ee7622;
  font-family: Arial, Helvetica, sans-serif;
  padding: 5px;
  display:none;
  border-radius: 10px;
  font-size:12px;
}

.esri-search {


  margin-bottom: 1px;
  margin-right: 5px;
  border-radius: 5px;
  overflow: visible;
  z-index: 99;
}

#hoverTooltip {
  position: absolute;
  background-color: #ffffe6;
  border: 1px solid #ee7622;
  border-radius: 5px;
  padding: 8px 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  pointer-events: none;
  z-index: 100;
  display: none;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  max-width: 300px;
}

#hoverTooltip .tooltip-label {
  font-weight: bold;
  color: #ee7622;
}

#hoverTooltip .tooltip-value {
  color: #333;
  margin-left: 5px;
}

#hoverTooltip .tooltip-row {
  margin-bottom: 4px;
}

/* ============================================
   HELP GUIDE STYLING
   ============================================ */

.help-guide {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 550px;
  max-height: 80vh;
  background-color: #ffffe6;
  border: 3px solid #407cc9;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

.help-guide.hidden {
  animation: help-fade-out 0.4s ease-in forwards;
}

@keyframes help-fade-out {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
}

.help-header {
  background-color: #407cc9;
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding: 12px;
  border-bottom: 3px solid #ee7622;
  flex-shrink: 0;
}

.help-close-button {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: rgba(255,255,255,0.3);
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10000;
}

.help-close-button:hover {
  background-color: #ee7622;
  transform: rotate(90deg);
}

.help-content {
  padding: 15px 20px;
  overflow-y: auto;
  max-height: calc(80vh - 60px);
  color: #333;
  font-size: 13px;
  line-height: 1.5;
}

/* Force visible scrollbar on help content */
.help-content::-webkit-scrollbar {
  width: 10px;
}

.help-content::-webkit-scrollbar-track {
  background: #e0e0d0;
  border-radius: 5px;
}

.help-content::-webkit-scrollbar-thumb {
  background-color: #ee7622;
  border-radius: 5px;
  border: 2px solid #e0e0d0;
}

.help-content::-webkit-scrollbar-thumb:hover {
  background-color: #407cc9;
}

.help-section {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

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

.help-section-title {
  font-size: 15px;
  font-weight: bold;
  color: #ee7622;
  margin-bottom: 8px;
}

.help-section p {
  margin: 5px 0;
}

.help-item {
  padding: 3px 0 3px 5px;
  margin: 3px 0;
}

.help-subitem {
  padding: 2px 0 2px 25px;
  color: #555;
  font-size: 12px;
}

.help-subitem::before {
  content: "• ";
  color: #ee7622;
}

.help-icon {
  margin-right: 6px;
}

@media screen and (max-width: 600px) {
  .help-guide {
    width: 95%;
    max-height: 85vh;
  }

  .help-header {
    font-size: 18px;
    padding: 10px;
  }

  .help-content {
    padding: 12px 15px;
    font-size: 12px;
    max-height: calc(85vh - 55px);
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .help-content::-webkit-scrollbar {
    width: 12px;
  }

  .help-content::-webkit-scrollbar-thumb {
    background-color: #ee7622;
    border-radius: 6px;
    border: 2px solid #e0e0d0;
  }
}

/* ============================================
   POPUP CURSOR FIX - only pointer on links
   ============================================ */

/* ============================================
   ROAD CLOSURES LEGEND PANEL
   ============================================ */

.road-closures-legend {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
  background-color: #ffffe6;
  border: 3px solid #BF1F00;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  padding: 15px;
  font-family: Arial, Helvetica, sans-serif;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.rc-legend-header {
  background-color: #BF1F00;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  margin: -15px -15px 12px -15px;
  border-radius: 7px 7px 0 0;
}

.rc-legend-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background-color: rgba(255,255,255,0.3);
  color: white;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 201;
}

.rc-legend-close:hover {
  background-color: rgba(255,255,255,0.6);
  transform: rotate(90deg);
}

.rc-legend-content {
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.rc-legend-content p {
  margin: 0 0 8px 0;
}

.rc-legend-items {
  padding: 8px 0;
}

.rc-legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}

.rc-legend-line {
  display: inline-block;
  width: 30px;
  height: 4px;
  margin-right: 10px;
  border-radius: 2px;
}

.rc-legend-dash {
  background: repeating-linear-gradient(
    to right,
    #800080 0px,
    #800080 8px,
    transparent 8px,
    transparent 14px
  ) !important;
  height: 4px;
}

.rc-legend-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 20px;
  margin-right: 10px;
  color: #BF1F00;
  font-size: 18px;
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  .road-closures-legend {
    width: 95%;
    bottom: 10px;
    padding: 12px;
  }

  .rc-legend-header {
    font-size: 16px;
    padding: 8px;
    margin: -12px -12px 10px -12px;
  }

  .rc-legend-content {
    font-size: 13px;
  }
}

/* ============================================
   POPUP CURSOR FIX - only pointer on links
   ============================================ */
.esri-popup__content * {
  cursor: default;
}
.esri-popup__content a {
  cursor: pointer;
}

/* ============================================
   RESPONSIVE POPUP FOR MOBILE
   ============================================ */
@media screen and (max-height: 700px) {
  .esri-popup__content {
    min-height: 150px;
    max-height: 45vh;
  }
  .esri-popup__content iframe {
    height: 200px !important;
  }
}

@media screen and (max-height: 500px) {
  .esri-popup__content {
    min-height: 100px;
    max-height: 35vh;
  }
  .esri-popup__content iframe {
    height: 150px !important;
  }
}

/* ============================================================================
   PARCEL POPUP — restyled property popup
   All rules scoped under .tm-parcel-popup so nothing else on the page is affected.
   ============================================================================ */

.tm-parcel-popup {
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  color: #2b2b2b;
  line-height: 1.4;
}

/* Hero block: assessment photo + tax roll banner */
.tm-parcel-popup .tm-hero {
  margin: -2px -2px 12px;
  padding: 0;
  border: 1px solid #e2d9c5;
  border-radius: 6px;
  overflow: hidden;
  background: #fafafa;
}
.tm-parcel-popup .tm-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 225px;
  object-fit: cover;
  background: #f0f0f0;
}
.tm-parcel-popup .tm-hero__taxroll {
  background: linear-gradient(to right, #ee7622, #f08c45);
  color: #ffffff;
  padding: 8px 12px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.3px;
}
.tm-parcel-popup .tm-hero__taxroll-label {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.9;
  margin-right: 4px;
}
.tm-parcel-popup .tm-hero__taxroll-value {
  font-size: 15px;
  font-weight: 700;
}

/* Section blocks */
.tm-parcel-popup .tm-section {
  margin-bottom: 14px;
}
.tm-parcel-popup .tm-section__title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ee7622;
  padding-bottom: 4px;
  margin-bottom: 6px;
  border-bottom: 2px solid #ee7622;
}

/* Label / value rows */
.tm-parcel-popup .tm-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 2px;
  border-bottom: 1px dotted #e8e2d0;
  gap: 12px;
}
.tm-parcel-popup .tm-row:last-child {
  border-bottom: none;
}
.tm-parcel-popup .tm-row__label {
  color: #6a6a6a;
  font-weight: 500;
  flex: 0 0 auto;
}
.tm-parcel-popup .tm-row__value {
  color: #1f1f1f;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}
.tm-parcel-popup .tm-row--total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 2px solid #ee7622;
  border-bottom: none;
}
.tm-parcel-popup .tm-row--total .tm-row__label {
  color: #1f1f1f;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* Currency styling */
.tm-parcel-popup .tm-currency {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: #1f1f1f;
}
.tm-parcel-popup .tm-currency--total {
  color: #ee7622;
  font-size: 15px;
  font-weight: 700;
}

/* Land Use District badge */
.tm-parcel-popup .tm-lud-badge {
  display: inline-block;
  background: #407cc9;
  color: #ffffff !important;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background-color 0.15s ease;
}
.tm-parcel-popup .tm-lud-badge:hover {
  background: #2f64a8;
  text-decoration: none;
}

/* Locator map */
.tm-parcel-popup .tm-section--map {
  text-align: center;
}
.tm-parcel-popup .tm-locator {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  border: 1px solid #e2d9c5;
  border-radius: 6px;
  background: #fafafa;
}

/* Street View slot (now at bottom) */
.tm-parcel-popup .tm-sv-slot {
  margin: 14px 0 4px;
}
.tm-parcel-popup .tm-sv-loading {
  background: #f4ede0;
  color: #8a7a55;
  padding: 22px 10px;
  text-align: center;
  border-radius: 6px;
  font-size: 12px;
  font-style: italic;
  border: 1px dashed #d4c89e;
}
.tm-parcel-popup .tm-sv {
  border: 1px solid #ee7622;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.tm-parcel-popup .tm-sv__header {
  background: linear-gradient(to right, #ee7622, #f08c45);
  color: #ffffff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.tm-parcel-popup .tm-sv__icon {
  margin-right: 5px;
}
.tm-parcel-popup .tm-sv__panorama {
  width: 100%;
  height: 350px;
  background: #f0f0f0;
}
.tm-parcel-popup .tm-sv__footer {
  background: #fff7ec;
  padding: 6px 10px;
  text-align: right;
  border-top: 1px solid #f3dfbe;
}
.tm-parcel-popup .tm-sv__link {
  color: #ee7622 !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.tm-parcel-popup .tm-sv__link:hover {
  text-decoration: underline;
}
.tm-parcel-popup .tm-sv-unavailable,
.tm-parcel-popup .tm-sv-nocoverage {
  background: #f5f5dc;
  color: #888;
  padding: 18px 10px;
  text-align: center;
  border-radius: 6px;
  font-size: 12px;
  font-style: italic;
}
.tm-parcel-popup .tm-sv-nocoverage__icon {
  font-size: 28px;
  margin-bottom: 6px;
  font-style: normal;
}

/* Action buttons at the bottom */
.tm-parcel-popup .tm-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e8e2d0;
}
.tm-parcel-popup .tm-btn {
  display: block;
  padding: 9px 12px;
  text-align: center;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  border: 1px solid #d8d2c2;
  background: #ffffff;
  color: #2b2b2b !important;
  transition: all 0.15s ease;
  cursor: pointer;
}
.tm-parcel-popup .tm-btn:hover {
  background: #fff7ec;
  border-color: #ee7622;
  color: #ee7622 !important;
}
.tm-parcel-popup .tm-btn--primary {
  background: #ee7622;
  border-color: #ee7622;
  color: #ffffff !important;
}
.tm-parcel-popup .tm-btn--primary:hover {
  background: #d96718;
  border-color: #d96718;
  color: #ffffff !important;
}
.tm-parcel-popup .tm-btn--secondary {
  background: #407cc9;
  border-color: #407cc9;
  color: #ffffff !important;
}
.tm-parcel-popup .tm-btn--secondary:hover {
  background: #2f64a8;
  border-color: #2f64a8;
  color: #ffffff !important;
}
.tm-parcel-popup .tm-actions__note {
  font-size: 10px;
  color: #999;
  font-style: italic;
  text-align: center;
  margin-top: 4px;
}

/* Mobile tuning */
@media screen and (max-width: 480px) {
  .tm-parcel-popup {
    font-size: 12px;
  }
  .tm-parcel-popup .tm-sv__panorama {
    height: 240px;
  }
  .tm-parcel-popup .tm-hero__img {
    max-height: 180px;
  }
}
