
@charset "utf-8";

@import url("https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i");
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

:root {
  /*=============================================================

                            C O L O R S

=============================================================*/
  --lightest: #ffffff;
  --gray-off-white: #f2f2f2;
  --gray-lt: #bbb;
  --gray-med: #777;
  --gray-dark: #333;
  --darkest: #000000;
  --admin: #B32DEB;
  --admin-lt: #D18EEE;
  --admin-med: #8320AC;
  --admin-dark: #651587;
  --business: #01DE9A;
  --business-lt: #A8E6D3;
  --business-med: #01A875;
  --business-dark: #01704E;
  --government: #00c1f0;
  --government-lt: #80e6FF;
  --government-med: #009ABF;
  --government-dark: #006780;
  --government-darkest: #1D3749;
  --government-highlight: rgba(0, 193, 240, .12);
  --resident: #E44A05;
  --resident-lt: #FFA780;
  --resident-med: #A83704;
  --resident-dark: #702402;
  --visitor: #EEB600;
  --visitor-lt: #FFE180;
  --visitor-med: #BF9200;
  --visitor-dark: #755A00;
  --go: #01DE26;
  --stop: #E40505;
  /*=============================================================

                H I G H L I G H T S  &   S H A D O W S 

=============================================================*/

  --shadow: rgba(35, 35, 35, .36);
  --shadow-lt: rgba(35, 35, 35, .18);
  --highlight: rgba(255, 255, 255, .89);
  --float: -1rem 1rem 1rem 0px var(--shadow);
  --float-close: 0 0 .25rem 0px var(--shadow);
  --dropshadow-sm: 0 1px 3px 0px var(--shadow-lt);
  --concave-sm: inset 0px 2px 2px var(--shadow), inset 0px -2px 2px var(--highlight);
  --convex-sm: inset 0px -2px 2px var(--shadow), inset 0px 2px 2px var(--highlight);
  /*=============================================================

                        S H A P E S

=============================================================*/

  --circle: 1000px;
  --arrow: polygon(0 0, 80% 0, 80% 15%, 25% 15%, 100% 90%, 90% 100%, 15% 25%, 15% 80%, 0 80%);
  --plus: polygon( 40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%, 0 40%, 40% 40% );
  --x-mark: polygon( 45% 0, 55% 0, 55% 45%, 100% 45%, 100% 55%, 55% 55%, 55% 100%, 45% 100%, 45% 55%, 0 55%, 0 45%, 45% 45% );
  --checkmark: polygon(0 25%, 10% 25%, 10% 65%, 100% 65%, 100% 75%, 0 75%);
  --triangle: polygon(100% 0%, 0% 0%, 50% 100%);
  --caret: polygon( 100% 25%, 85% 25%, 50% 65%, 15% 25%, 0% 25%, 50% 85%, 100% 25% );
  /*=============================================================

                 M E A S U R E M E N T S

=============================================================*/
  --vertical-center: calc((var(--height-of-container) - var(--height-of-object))/2); /* solved for relationship changed */
  --max-web: 1280px;
}


body, body * {
  font-family: 'Poppins', Arial, sans-serif;
  box-sizing: border-box;
}

header,
header *,
#menu,
#menu * {
  display: flex;
}

a:visited {
  color: purple;
}

/*=================================================
  H E A D E R
===================================================*/
header {
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 3rem;
  background: white;
  justify-content: space-between;
  color: #333;
}

  header * {
    align-items: center;
  }

.logo {
  height: 100%;
  align-items: center;
  width: 48px;
}

  .logo img {
    padding: .5rem;
    height: 100%;
  }


header h1 {
  font-size: 1.3em;
  font-weight: 400;
  margin: 0;
  padding: 0;
  width: fit-content;
}

  header h1 span {
    margin-right: .25rem;
    width: fit-content;
  }

  header h1 strong {
    width: fit-content;
    white-space: nowrap;
  }

header a {
  color: #333;
  text-decoration: none;
  align-items: center;
  justify-content: center;
}

header nav a {
  padding: .5rem;
}

header nav svg {
  display: none;
  margin: 0 1rem;
}

/*=================================================
 T A B
===================================================*/
.tab li svg {
  width: 100%;
}

#menu {
  position: fixed;
  z-index: 2;
  top: 3rem;
  left: 0;
  width: 3rem;
  height: calc(100vh - 3rem);
  background: white;
  display: flex;
  padding: 0;
}

  #menu ul {
    list-style: none;
    padding: 0;
    flex-direction: column;
    width: 100%;
    margin: 0;
  }

    #menu ul li {
      cursor: pointer;
      width: 100%;
      height: 48px;
      align-items: center;
      justify-content: center;
    }

      #menu ul li a {
        height: 100%;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: .5rem;
      }

    #menu ul :is(li.active, li:hover ) {
      background: rgba(235, 235, 235, 0.90);
      transition: .3s;
    }

    #menu ul li svg {
      stroke: #333;
    }

    #menu ul li.disabled {
      background: white !important;
      cursor: not-allowed !important;
      justify-content: center;
      align-items: center;
      padding: 0.5rem 0;
    }

      #menu ul li.disabled:hover {
        background: white !important;
        cursor: not-allowed !important;
      }

      #menu ul li.disabled svg {
        stroke: #f2f2f2;
      }

    #menu ul li.active svg {
      stroke: var(--government-med);
    }

#appcontainer {
  min-width: 800px;
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: url('../images/bgpattern.jpg');
  color: #333;
}

#sidebar {
  position: fixed;
  z-index: 2;
  top: 3rem;
  left: 3rem;
  height: calc(100dvh - 3rem);
  background: rgba(245,245,245, .90);
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  width: 400px;
}

.fadeOut {
  transition: .3s;
  opacity: 0;
}

#sidebar, #sidebar section {
  transition: .3s opacity;
}

  #sidebar section h3 {
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    text-align: right;
    color: var(--lightest);
    margin: 0;
    padding: 1rem;
    /* padding-right: 4rem; */
    position: relative;
    background: var(--government-med);
    /* border-top: 2px solid; */
    box-sizing: border-box;
    letter-spacing: .2rem;
    text-shadow: 1px 1px 3px rgba(35,35,35, .35)
  }

    #sidebar section h3::before {
      content: "";
      height: 100%;
      width: 4rem;
      position: absolute;
      top: 0;
      left: 0;
      background: var(--government-highlight);
      clip-path: polygon(0 0, 100% 0, 0 100% );
      box-shadow: 5px 0px 0px var(--gray-lt);
      z-index: 1;
    }

    #sidebar section h3::after {
      content: "";
      height: 100%;
      width: 5rem;
      position: absolute;
      top: 0;
      left: 0;
      background: var(--lightest);
      clip-path: polygon(0 0, 100% 0, 1rem 100%, 0 100% );
    }

  #sidebar section h4 {
    padding: 0.3em 1em;
    font-size: .75em;
    background: var(--gray-dark);
    text-transform: uppercase;
    margin: 0;
    font-weight: 400;
    color: var(--gray-off-white);
  }

  #sidebar section div.container {
    padding: 0;
    font-size: .85em;
    position: relative;
  }

  #sidebar section div.container-scroll {
    padding: 1em;
    font-size: .85em;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 600px;
  }

  #sidebar :is(.grid, .dl-horizontal) {
    padding: 1rem 1rem 0;
  }

  #sidebar .grid {
    margin-top: 1rem;
  }

  #sidebar section > div.no-padding {
    /*padding top and bottom but not left and right*/
    padding: 1em 0;
  }

#map {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100dvh;
  cursor: grab;
  right: 0;

  @media (width > 480px) {
    width: calc(100dvw - 48px);
  }
}

#map_zoom_slider {
  top: auto;
  left: auto;
  bottom: 50px;
  right: 20px;
}

.top-buffer {
  margin-top: 1em;
}

.bottom-buffer {
  margin-bottom: 1em;
}

#sidebar select {
  height: 40px;
  border-radius: 0;
}

.scrolling-tabs {
  width: 100%;
  padding: .5rem 0 0;
  margin: 0;
  overflow: hidden;
  background: #e0f7fd;
  position: relative;
  &, & *

{
  display: flex;
  user-select: none;
}

&::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: white;
}

&::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #bde9f4;
  z-index: 0;
}

}

.scroll-tab {
  padding: .5rem 1rem .25rem;
  flex-shrink: 0;
  font-weight: 500;
  color: #009abe;
  background: #e0f7fd;
  position: relative;
  transition: .2s;
  border-bottom: 6px solid #bde9f4;
  box-sizing: border-box;
  cursor: pointer;
  z-index: 2;
  &::after

{
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: transparent;
}

&.active {
  color: #333;
  &::after

{
  background: #333;
}

}

&.disabled {
  color: #bde9f4;
  cursor: default;
}

}

#sidebar section {
  height: calc(100dvh - 48px);
}

#sidebar:has(.scroll-panel) {
  overflow: hidden;
  & .scroll-panel

{
  overflow: scroll;
  height: calc(100% - 99px);
}

}

.paging-numbers {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: .5rem;
  font-size: .85rem;
  color: #333;
  & *

{
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  height: 36px !important;
  width: 36px !important;
  border-radius: .25rem;
  transition: .3s;
  border: 1px solid transparent;
}

& .active {
  border: 1px solid #777;
}

}

.paging-controller {
  height: 36px;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: .25rem;
  border: 1px solid transparent;
  &:hover

{
  background: white;
  border-color: #777;
}

&.disabled {
  cursor: default;
  &:hover

{
  background: transparent;
  border-color: transparent;
}

& svg {
  stroke: #bbb;
}

}
}

.paging-group {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 .5rem;
  margin: 0 !important;
  & *

{
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  user-select: none;
}

& svg {
  flex-shrink: 0;
  stroke-width: 1.25;
  width: 22px;
}

  & svg[class*="chevrons"] {
    width: 26px;
    height: 26px;
    stroke-width: 1;
  }

& .paging-text {
  margin-top: 2px;
  padding: .5rem;
}

}

.esri-features__container.esri-features__content-container:has(.buffer) {
  background: white;
}

.buffer {
  flex-direction: column;
  row-gap: .5rem;
  align-items: flex-start;
  cursor: default;
  &, & *

{
  display: flex;
  user-select: none;
}

& .buffer-controls {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  column-gap: .25rem;
}

& button {
  width: 2rem;
  height: 2rem;
  font-size: 1.5rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: .3s;
  color: #333;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid transparent;
  &:hover

{
  border-color: #333;
  background: #bde9f4;
}

}

& input {
  padding: .25rem 0 .25rem .75rem;
  border: none;
  border-bottom: 2px solid #777;
  background: transparent;
  color: #333;
  width: 48px;
}

}

.buffer .toggle-wrapper {
  column-gap: .5rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  & .toggle-options

{
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: .25rem;
}

& .toggle {
  padding: .25rem .5rem;
  border-radius: .25rem;
  background: #f2f2f2;
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  transition: .3s;
  &.active

{
  border-color: #777;
}

&:hover {
  border-color: #333;
  background: #bde9f4;
}

}
}

.row.triple-action {
  & *

{
  user-select: none;
}

&:hover {
  background: white;
}

& .content {
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

& .symbol {
  align-items: center;
  justify-content: flex-end;
}

& [class*="expand"] {
  align-items: center;
  &:hover

{
  background: var(--government-highlight);
}

}

& .sub-row li:hover {
  background: var(--government-highlight);
}

}

.flex {
  display: flex !important;
  & *

{
  display: flex !important;
}

& .end-flex, .end-flex * {
  display: revert !important;
}

}

.row-action {
  width: 100% !important;
  transition: all 0s !important;
  & *

{
  transition: all 0s !important;
}

&:hover {
  background: var(--government-highlight);
  & .symbol

{
  transition: 0s !important;
  transform: translateX(2.5rem);
}

& ~ .cell.expand::after {
  transform: rotate(-90deg) translateY(-3rem);
  transition: 0s !important;
  pointer-events: none;
}

& ~ .cell.expanded::after {
  transform: rotate(90deg) translateY(3rem);
  transition: 0s !important;
  pointer-events: none;
}

}
}

.tab a:has(> :nth-child(2)) {
  flex-wrap: wrap;
  position: relative;
  max-width: 48px;
  align-self: center;
  justify-self: center;
  padding: .375rem !important;
  & svg

{
  width: 50%;
  height: 16px;
  stroke-width: 3;
  transform: translateY(.375rem);
}

& svg:nth-last-of-type(2) {
  transform: translateY(-.375rem);
  height: 24px;
  width: 24px;
  stroke-width: 0;
  fill: white;
}

& svg:last-of-type {
  position: absolute;
  transform: translateY(.3125rem)
}

}

:is(.tab.active, .tab:hover) svg:nth-last-of-type(2) {
  fill: #f2f2f2 !important;
}


.neighborhoods .symbol {
  --hover-color: '';
  --symbol-width: '';
  border: var(--symbol-width) solid transparent;
}

.neighborhoods :is(.row:hover, .row.hovering) {
  background: white;
  & .content

{
  background: var(--government-highlight);
}

.symbol {
  border-color: var(--hover-color);
}

}

.uses-indicator {
  padding: .25rem .5rem;
  column-gap: .75rem;
  align-items: center;
  & .cell.cell-condensed.content

{
  width: calc(200%/3);
}

}

.permit-details-indicator {
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--government-dark);
  border-radius: 10rem;
  padding: .3rem 1rem .25rem .25rem;
  height: min-content;
  flex-shrink: 0;
  & svg

{
  height: 18px;
  width: 18px;
  stroke: white;
  transform: translateY(-1px);
  margin-right: .25rem;
}

}

.my-location-on .esri-locate {
  color: var(--government-med);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 0 .25rem; */
}

  .my-location-on .esri-locate:before {
    content: "";
    position: absolute;
    height: 4px;
    width: 4px;
    border: 1.25px solid var(--government-med);
    box-sizing: content-box;
    border-radius: 50%;
    transform: translateY(.5px) translateX(.5px);
  }

.my-location-disabled .esri-locate {
  color: var(--gray-lt);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: not-allowed;
}

  .my-location-disabled .esri-locate:after {
    content: "";
    position: absolute;
    background: var(--gray-lt);
    height: 1px;
    width: 16px;
    border: 2px solid white;
    box-sizing: content-box;
    transform: rotate(-45deg);
  }

.control-group {
  border: 2px solid white;
  display: flex;
  & *

{
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

}

.control-group .input-option {
  height: 44px;
  background-color: #f2f2f2 !important;
  box-sizing: border-box;
  border: 2px solid white !important;
  color: #333 !important;
  font-weight: 500;
  &.selected

{
  text-shadow: none !important;
}

&:before {
  display: none;
}

&:hover {
  background: #bbbbbb !important;
}

& svg {
  height: 23px;
  width: 16px;
  stroke-width: 1.5;
  margin-right: .5rem;
}

}

.panel-selection {
  height: calc(100% - 55px);
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 1rem;
  & p

{
  width: 70%;
}

& * {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

& button {
  border: none;
  width: 70%;
  color: #333;
  padding: .5rem 1rem;
  column-gap: .75rem;
  &.disabled

{
  background: white;
  border: 1px dotted #bbb;
  color: #bbb;
  cursor: not-allowed;
  &:hover

{
  background: white;
  color: #bbb;
}

}
}

& button:hover {
  background: #bbbbbb;
  color: #333;
}

& svg {
  stroke-width: 1.5;
}

}

#sidebar section div.container:has(.horiz-input-group) {
  padding: 1rem;
}

#sidebar:has(.horiz-input-group) .grid {
  margin-top: 0;
}

.dl-horizontal {
  & dt, & dd

  {
    display: block;
    float: left;
    box-sizing: border-box;
    margin: 0 1px 1px 0;
    padding: .5em 1em;
    border-top: solid 1px $ghost;
    vertical-align: top;
    font-size: .9em;
  }

  &::after {
    content: ' ';
    height: 1px;
    width: 362px;
    border-bottom: solid 1px $ghost;
    display: block;
    clear: both;
  }

  & dt {
    width: 120px;
    width: calc(30% - 1px);
    clear: left;
    color: #aaa;
    position: relative;
    justify-content: space-between;

    & .popup.end-flex {
      position: absolute;
      box-shadow: 2px 2px 2px rgba(35,35,35, .86);
      background: white;
      padding: 1rem;
      right: .5rem;
      bottom: 100%;
      display: none !important;
    }

    & svg:hover {
      cursor: pointer;
    }

    & svg:hover ~ .popup.end-flex {
        display: flex !important;
      }

    & svg {
      flex-shrink: 0;
    }
  }

  & dd {
    width: 240px;
    width: calc(70% - 1px);
    text-transform: uppercase;
  }
}

.dl-horizontal dt:has(.popup) + dd {
  padding-left: 0;
  width: calc(70% - 1px - 1em)
}

.dl-horizontal dt:has(.popup) .flex {
  column-gap: 1em;
}

.dl-horizontal dt:has(.popup) {
  width: calc(30% - 1px + 1em)
}