/* ////// overwrites for NEW branding (currently homebush bay drive portal) ////// */

 /* this is to restrict the height of the map minus the header?> */
@media (min-width: 1280px) {
    .ca-map {
        height: calc(100vh - 86px) !important;
    }
}

.bg-tfnsw-primary, .bg-tfnsw-primary h1, .bg-tfnsw-primary h2, .bg-tfnsw-primary h3, .bg-tfnsw-primary h4, .bg-tfnsw-primary h5, .bg-tfnsw-primary h6, .bg-tfnsw-primary p {
  background-color: var(--tfnsw-core-blue, #002664);
  color: var(--white, #fff);
}

/* re-declare variable, as it seems to be overridden */
:root {
  --ca-brand-colour: #002664;
}

.bg--nsw-brand-light {
  background: var(--nsw-brand-light, #CBEDFD);
  color: var(--tfnsw-core-blue, #002664);
}

.bg--nsw-brand-light .page-title,
.bg--nsw-brand-light i.fa-arrow-circle-left {
  color: var(--nsw-text-dark, #22272b);
}

.mfp-content .mfp-close {
  background-color: var(--tfnsw-core-blue, #002664);
}

.accordion .btn {
  color: var(--tfnsw-core-blue, #002664);
}

.site-header .navbar-nav .active>.nav-link {
  font-weight: 600;
  color: var(--white);
  border-bottom: 3px solid var(--nsw-palette-focus);
}

.navbar.bg-dark {
  background-color: var(--tfnsw-core-blue, #002664) !important;
}

.navbar-dark .navbar-text {
  color: rgba(255,255,255,0.8);
}

.navbar.bg-dark img {
  background: initial;
  border: 0;
}

.bg-dark #nav-brand, .bg-dark #nav-brand:hover, .bg-dark #nav-brand:focus {
  background-color: inherit !important;
  border: 0;
  outline: 0
}

.bg-dark .navbar-toggler {
  background-color: white;
}

.bg-dark .navbar-toggler-icon {
  background-image: url(https://ca-v2.s3.ap-southeast-2.amazonaws.com/hamburger-navy.svg);
}

.navbar-nav .nav-link:not(.btn-primary), .site-header .navbar-nav .active>.nav-link:not(.btn-primary) {
  border-radius: 3px;
}

.navbar-brand > img {
    border-right: unset;
    padding-right: unset;
}

p[role="heading"] {
    color: white;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.2em;
    font-weight: 600;
    text-decoration: none;
}

/* ////// END BRAND OVERWRITES ////// */

/* ////// GLOBAL ///// */

h1.page-header {
    font-size: 32px;
}
.tag.green {
  background-color: #DAEDF6;
}
.tag {
  display: inline-block;
  border-radius: 50px;
  padding: 5px 20px;
  color: #fff;
}
.consultation{
  color: #000;
  text-shadow: none;
}

.btn-default {
  white-space: nowrap;
  background: white;
  color: #0a7cb9!important;
}

.btn-primary {
    background: #0a7cb9!important;
    /* border-color: #0a7cb9!important; */
}

.ca-vr_hotspot {
  background-color: #0a7cb9 !important;
}

.ca-vr_hotspot.hide {
  display: none;
  opacity: 0;
}

.mapcomment{
	width: 144px !important;
}

.btn-pulse {
  position: relative;
  border: none;
  box-shadow: 0 0 0 0 rgb(249 249 249 / 50%);
  background-size:cover;
  background-repeat: no-repeat;
  cursor: pointer;
  border: 1px solid #FFF;
  -webkit-animation: button-pulse 2.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: button-pulse 2.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: button-pulse 2.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: button-pulse 2.25s infinite cubic-bezier(0.66, 0, 0, 1);
}

.btn-pulse:hover
{
  -webkit-animation: none;-moz-animation: none;-ms-animation: none;animation: none;
}

h3 {
	color: #16397f;
  font-weight: 600;
}

.toolTipclass{
	width: 144px !important;
}
.featured-item#hpMapBG {
  /* gradient to use temporarily*/
  background: rgb(255,255,255);
  background: linear-gradient(90deg, rgba(255,255,255,1) 47%, rgba(9,11,121,1) 100%, rgba(0,212,255,1) 100%);
}
.featured-comment {
    overflow: hidden;
    position: relative;
    display: block;
    margin: -15px -15px 15px;
}
.featured-comment:after{
	content: '\f4ad';
    font: normal normal normal 14px/1 "Font Awesome 6 Pro";
    font-size: 5vw;
    color: #FFF;
    text-shadow: 0px 0px 0.5em rgba(3, 11, 20, 0.75);
    left: 65%;
    top: 48%;
    height: calc( 100% + 10px );
    width: calc( 100% + 10px );
    -webkit-border-radius: iit;
    -moz-border-radius: 50%;
    z-index: 1;
    position: absolute;
    pointer-events: none;
    opacity: 0;
    -webkit-animation: pulse 2s ease-out;
    -moz-animation: pulse 2s ease-out;
    animation: pulse 2s ease-out;
    animation-duration: 2s;
    animation-timing-function: ease-out;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-fill-mode: none;
    animation-play-state: running;
    animation-name: pulse;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-transform: scale(1.0);
}

.project-update {
	background-color: #daedf6;
	color: #16397f;
	padding: 15px 20px;
	border-top-left-radius: 0px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}




@media (min-width: 992px){
	.featured-comment:after {
		font-size: 75px;
	}
}

.mapboxgl-popup-content {
	padding: 10px;
	line-height: 16px;
  }

  .existing-comment-popup {
	max-width: none !important;
  }

  .mapboxgl-popup-content {
	/*background: #243443;
	color: #fff; */
/* 	font-size: 0.9em; */
	font-size: 13px;
  }

  .mapboxgl-popup-desc ul {
      padding: 0;
  }

  .mapboxgl-popup-desc ul li {
      padding: 5px;
  }

	.mapboxgl-popup-desc dt {
		margin-left: 5px;
	}

  .input-group-with-btn .btn
  {
	white-space:nowrap;
  }

  /* nsw-branded buttons on the map controls */
  .map-top-left-controls .nsw-button {
    padding: 0.125rem 0.5rem;
    margin-right: 0.2rem;
  }

  .mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
	border-top-color: #fff;
  }

  .mapboxgl-popup-close-button {
	font-size: 22px;
  }

  .mapboxgl-popup-content .map-step-trigger-next.btn.btn-primary {
		  background: transparent;
	  border: 1px solid #333132;
	  color: #333132;
	  opacity: 0.7;
  }

  .mapboxgl-popup-content .remove-popup.btn.btn-primary {
	  display: none;
  }

.blockquote.event {
	padding-left: 10px;
  border-left: 3px solid #f3f3f3;
	font-size: 14px;
}

.blockquote.event .date {
	font-size: 16px;
	font-weight: 600;
}

.blockquote.event .location {
	font-weight: 600;
}

.events-row i {
	opacity: 0.5;
	width: 18px;
}

.width-100 {
	width: 100%;
}

/* ///// PROJECT SPECIFIC STYLES ///// */


.section-header-hero {
    	background: rgb(20,27,19) url('https://media.caapp.com.au/77jsx4')
}

/*  This was a solution to increase the contrast of the hero text, but as requested to be removed */
.homepage.hero-title {
  /* background-color: #22272bc2;
  border-radius: 20px;
  padding-top: 10px;
  padding-bottom: 22px; */
}

.big-divider {
	height: 3px;
    background-color: #e9ebec;
    margin: 0px -25px 15px;
}


.option1-gradient {
	background: linear-gradient(135deg, #76c153 0%,#47822b 100%);
}

.option2-gradient {
	background: linear-gradient(135deg, #f2bd27 0%,#ce9e19 100%);
}

.option3-gradient {
	background: linear-gradient(135deg, #ba3bea 0%,#78189c 100%);
}

.longlist i {
	font-size: 18px;
}

#mapKey {
    top: auto;
    bottom: 40px;
    background: rgba(0, 28, 52, 0.75);
    max-width: 250px;

}


.sidebar-category-list .active a {
	display: block;
    border: 1px solid #F1F1F1;
    padding: 1em;
    margin-bottom: 0.5em;
    background-color: #FAFAFA;
}

.sidebar-category-list .active a > * {
	color: #333132
}


.sidebar-category-list li.active a {
	background-color: #dee3e4;
}

.sidebar-category-list i {
	opacity: 0.5;
}


.accordion .card .card-header h4 {
	font-size: 13px;
}


.col-highlight-white.reverse {
	background: rgb(12,42,98);
	background: -webkit-linear-gradient(rgba(12,42,98,1) 37%, rgba(8,30,73,1) 100%);
	background: -o-linear-gradient(rgba(12,42,98,1) 37%, rgba(8,30,73,1) 100%);
	background: linear-gradient(rgba(12,42,98,1) 37%, rgba(8,30,73,1) 100%);
	color: #fff;
	padding: 20px;
	border-top-left-radius: 0px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.col-highlight-white.reverse h3 {
	color: #fff
}


.mapbox-layer-toggles-title {
	margin-top: 0;
}

.hotspot-xs {
	width: 18px;
	height: 18px;
}

.hotspot-sm {
	width: 24px;
	height: 24px;
}

.hotspot-label-light .hotspot-tooltip {
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.9);
    color: #122a33 !important;
}


a.info, a.info i {
  background-color: rgba(1, 1, 1, 0) !important;
  color: rgba(1, 1, 1, 0) !important;
  border: 0;
  cursor: grab;
}

.map-key-toggle .route-line {
	width: 48px;
}

.map-key-toggle .route-dash-short {
	height: 10px;
	width: 6px;
	margin-left: 3px;
	margin-right: 3px;
}

.nsw-button {
  font-size: var(--nsw-font-size-sm-mobile);
  line-height: var(--nsw-line-height-sm-mobile);
  border-radius: var(--nsw-border-radius);
  font-weight: var(--nsw-font-bold);
  border: 2px solid transparent;
  white-space: normal;
  padding: 0.625rem 1.375rem;
  cursor: pointer;
  -webkit-appearance: none;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: inline-block;
}

.nsw-button--light, .nsw-section--invert .nsw-button--light {
  color: #22272b;
  background-color: #cbedfd;
  border-color: transparent;
}

.nsw-button {
  font-size: 1rem;
  line-height: 1.5;
}

.map-key-toggle .route-dash-long {
	height: 10px;
	width: 12px;
	margin-left: 2px;
	margin-right: 2px;
}

.mapbox-layer-toggles.toggle-study-area {
    min-width: 150px;
}

@media (min-width: 992px) {
	.navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 13px;
  }
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Fix to remove double play button when rendering videos from the cms */
.card-media-video .card-thumb:after {
  display: none;
}

.message-box {
  display: block;
  border: 1px solid #F1F1F1;
  padding: 1em;
  margin-bottom: 0.5em;
  border-radius: 3px;
  background-color: #FAFAFA;
  color: #333132;
  cursor: pointer;
}

.message:focus {
    outline: solid 1px var(--nsw-focus);
}

/* Fixes for accordion in Aus Ave map page */
.accordion [data-toggle="collapse"][aria-expanded=true]:after {
  color: inherit;
}

.accordion .btn[type="submit"]{
  color: white;
  width: initial;
}

.accordion .card-header {
  background-color: var(--nsw-palette-off-white);
}

.accordion .card-header button {
  text-decoration: none;
}

.accordion

.collapse.show {
  padding-bottom: 10px;
}

/* Hide dropdowns on this specific form */
form[data-ca-form-uuid="b43774b2-a675-41bb-a894-104f5fd41bbb"] div[data-ca-form-group="dropdown"] {
  /* display: none; */
}

.hotspot-category--pedestrian img {
  /* will get overridden by max-width */
  width: 22px;
}

.map-top-left-controls button:focus {
  outline-offset: 0;
  outline: solid 1px var(--nsw-focus);
}

#sidebarCommentOut:hover {
  background-color: inherit;
}

.sharedIcon {
  display: inline;
  width: 20px;
}

.nav-link:focus {
  outline: 0;
}

.mapboxgl-popup-close-button:focus {
  outline: 0;
}

@media (min-width: 992px) {
  .featured-comment:after {
		font-size: 75px;
	}

	.navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 13px;
  }
}

/* Bigger than xs */
@media (min-width: 576px) {
  .accordion [data-toggle="collapse"]:after {
    right: 30px;
  }
}

/* xs and sm */
@media (max-width: 767px) {
  .card {
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

/* Only xs */
@media (max-width: 575px) {
  .map-top-left-controls button {
    min-width: 3.75rem !important;
  }

  .card {
    max-width: unset !important;
    min-width: unset !important;
    width: 100%;
  }
}

/* When nav-bar wraps to 2 rows */
@media (max-width: 278px) {
  .map-top-left-controls {
    top: 40px !important;
  }
  .hideXXS{
    display: none;
  }
  h1 {
    font-size: 1.3rem !important;
    margin-top: 40px !important;
  }
  h2 {
    font-size: 1.2rem !important;
  }
}

/* .footer-additional {
  background-color: var(--nsw-palette-grey-04);
} */


.input-group-with-btn .btn {
  border-radius: 0.25rem;
}

/* overwrite for media sets */
.bg-primary-gradient {
  background: var(--tfnsw-core-blue, #002664) !important;
}

.navbar-brand a:hover{
 background: var(--tfnsw-core-blue, #002664) !important;;
}

.map-top-left-controls {
  min-width: unset;
}

.callout {
    background-color: var(--ca-brand-light);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.callout i { 
    color: #fff; 
    border-radius: 50%; 
    border: solid 1px #fff; 
    padding: 0.5rem;
    height: 34px;
    width: 34px;
    text-align: center;
}

.map-sidebar-panel-body .icon-list p {
    padding: 0.7rem;
    border-radius: 0.5rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.no-cursor-click {
    cursor: default !important;
}

.sidebar-container {
  height: 100%;
}

/* for some reason the bus icon needs an offset */
.icon-list .fa-bus {
  padding-left: 7px;
}
