@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap');

html,
body,
#viewDiv {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

/* Layer list tweaks */
.esri-icon-non-visible::before {
  content: "\e610";
}
.esri-icon-visible::before {
  content: "\e611";
}

.esri-layer-list__item {
  border-bottom: none;
  margin: 5px 0;
}

.esri-layer-list__item.is-hidden {
  display: none;
}

.esri-layer-list__item-container {
  padding: 5px 0 5px 0;
}

.esri-layer-list__list {
  /* padding-right: 5px; */
}

.legendPatch {
  height: 25px;
  width: 25px;
  margin-top: -3px;
}

.TOC_heading {
  font-size: 16px;
  font-weight: bold;
  margin: 15px 0px;
}

/* popup tweaks */

.esri-popup__header {
  height: 30px;
}

.esri-popup__header .esri-icon-close {
  font-size: 12px;
  color: #2F6C95;
}

.esri-popup__icon--dock-icon {
  display: none;
}

.esri-popup__content {
  margin: 0 !important;
}

/* NB. The width of these 3 popups may be changed by a JS function in app.js
   in order to accommodate the scrollbar */
.esri-view-width-medium .esri-popup__main-container {
  width: 285px;
  padding: 0;
  margin: 0;
  background: #fff;
}

.esri-view-width-large .esri-popup__main-container {
  width: 285px;
  padding: 0;
  margin: 0;
  background: #fff;
}

.esri-view-width-xlarge .esri-popup__main-container {
  width: 285px;
  padding: 0;
  margin: 0;
  background: #fff;
}

#popupContainer {
/*  display: flex;
  flex-direction: column;
  align-items: flex-start;*/
  padding: 0px 0px 17px 17px;
  /*position: static;*/
  width: 285px;
  /*height: 264px;*/
  left: 0px;
  top: 28px;
  background: #ffffff;
/*  flex: none;
  order: 4;
  align-self: stretch;
  flex-grow: 0;*/
  margin: 0px 0px;
  overflow: hidden;
}

#communitiesContainer, #dynamicItemsContainer {
  border-top: 1px solid #CAC5C0;
  border-bottom: 1px solid #CAC5C0;
  margin-left: -17px;
  padding-left: 17px;
  padding-right: 17px;
}

#regionsContainer {
  display: none;
  background: #F7F5F2;
  margin: -19px 0px -17px -17px;
  padding: 0px 0px 17px 17px;
}

.regionLink {
  padding: 6px 8px;
  width: 254px;
  /* height: 65px; */
  left: 0px;
  top: 0px;
  background: #FFFFFF;
  border: 1px solid #e9e9e9;
  /*margin-top: -14px;*/
}

.regionLink:hover {
  background-image: url("../images/Chev_right.svg");
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: center;
  background-origin: content-box;
  border: 1px solid #2F6C95;
}

#chartIcon {
  margin-left: 110px;
}

h4.heading {
  font-family: Open Sans;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  line-height: 20px;
  display: flex;
  align-items: center;
  color: #303335;
  padding-top: 15px;
  margin-bottom: 10px;
}

h4.regionType {
  font-family: Open Sans;
  font-style: italic;
  font-weight: normal;
  font-size: 11px;
  /*line-height: 14px;*/
  display: flex;
  align-items: center;
  color: #303335;
  /*padding-top: 10px;*/
  margin-bottom: 0;
  margin-top: 0;

}

h3.regionValue {
  font-family: Open Sans;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  /*line-height: 20px;*/
  display: flex;
  align-items: center;
  color: #164F6E;
  margin-top: 0;
  margin-bottom: 0;
}

#ulCommunities, #ulDynamicItems {
  margin: -10px 0px 10px -40px;
  list-style-type: none;
}

#ulDynamicItems {
  padding-top: 20px;
}

.communityValue {
  font-family: Open Sans;
  font-style: normal;
  font-weight: normal;
  font-size: 13px;
  line-height: 20px;
  color: #303335;
}

.communityValue:not(:last-child){
  border-bottom: 1px dashed #CAC5C0;
  padding: 8px 0px 8px 0px;
}

.communityValue:last-child{
  padding: 8px 0px 0px 0px;
}

a.aihw {
  text-decoration: none;
  color: #2F6C95;
}

.c-remoteness-legend {
  display: none;
  padding: 8px;
  background-color: #ffffff;
}

.c-remoteness-legend.is-active {
  display: block;
}

.c-remoteness-legend__item {
  display: flex;
  margin-bottom: 6px;
  align-items: center;
}

.c-remoteness-legend__color-label {
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 12px;
  opacity: 0.5;
  outline: 1px solid #3a3a3a;
  outline-offset: -1px;
}

.c-remoteness-legend__color-label.major-cities {
  background-color: rgb(30, 103, 58);
}

.c-remoteness-legend__color-label.inner-regional {
  background-color: rgb(70, 162, 88);
}

.c-remoteness-legend__color-label.outer-regional {
  background-color: rgb(129, 197, 124);
}

.c-remoteness-legend__color-label.remote-aus {
  background-color: rgb(196, 230, 153);
}

.c-remoteness-legend__color-label.very-remote-aus {
  background-color: rgb(254, 255, 206);
}

.c-remoteness-legend__color-label.other {
  background-color: rgba(0, 0, 0, 0.25);
}

.esri-view-height-small .esri-expand .esri-widget--panel {
  max-height: 100%;
}

.popupContainer__language-wrap {
  padding-bottom: 17px;
  padding-right: 17px;
  font-size: 13px;
  margin-right: 17px;
}

.popupContainer__language-wrap + .popupContainer__language-wrap {
  border-top: 1px solid #CAC5C0;
  padding-top: 1rem;
}

.esri-search-result-renderer {
  padding: 7px 14px;
}

.o-tooltip {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 3px;
  margin-right: 6px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #368DC4;
}

.o-tooltip svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.tippy-box {
  font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
}


.c-map-component {
  position: relative;
}

.c-map-component.is-loaded .c-map-component__loading {
  display: none;
}

.c-map-component.is-error .c-map-component__loading__text {
  display: none;
}

.c-map-component.is-error .lds-roller {
  display: none;
}

.c-map-component.is-error .c-map-component__loading__error-text {
  display: block;
}

.c-map-component__loading__error-text {
  display: none;
  text-align: center;
  line-height: 1.6;
}

.c-map-component__loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 1.2rem;
  z-index: 2;
  background-color: #f3f3f3;
}

.c-map-component__loading__text {
  margin-top: 1rem;
}

.esri-layer-list__item--radio .esri-layer-list__item-toggle-icon:before {
  content: "\e612";
}

.esri-layer-list__item--radio .esri-layer-list__item-toggle-icon.esri-icon-visible:before {
  content: "\e613";
}


.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccc;
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
