.mapboxgl-popup.alertPopup .mapboxgl-popup-tip {
	display: none;
}
.mapboxgl-popup.alertPopup {
	max-width: 500px;
	transform: translate(-50%, 0) translate(50vw, 0px) !important;
	height: 100%;
	z-index: 1040;
	color: #ffffff;
}
.mapboxgl-popup.alertPopup .mapboxgl-popup-content {
	padding: 0;
	overflow: auto;
}
.rwis-image {
	max-height: 120px;
}
#amenityBottom p img {
	height: 24px;
	width: 24px;
	margin: 0 4px 0 0;
}
#urlBottom a {
	color: white;
	text-decoration: underline;
}
.cookie_disclaimer {
	border: 3px solid red;
	padding: 2px 4px;
	margin: 0 -7px;
}
.bs-tooltip-top .arrow::before {
	border-top-color: #FFF;
}
.tooltip-inner {
	padding: 0 .25rem;
	color: #000;
	background-color: #FFF;
}
div.viewhead {
	border-bottom: 1px solid black;
	background: black;
	color: white;
	text-align: center;
	font-weight: bold;
	padding: 0 4px;
}
div.viewbody {
	padding: 0 4px;
	text-align: center;
}
div.viewinfo {
	padding: 0px 4px;
	text-align: center;
}
div.viewicon {
    text-align: center;
}
p.pin-nearest {
	text-align: center;
}
.pin-nearest a {
	position: relative;
	left: -1rem;
	margin: auto;
}

.pin-nearest img {
	width: 100%;
	margin-left: 1rem;
	margin-top: 1rem;
}

/* express icon rotations */
.rotate_315 {
    transform: rotate(315deg);
}
.rotate_135 {
    transform: rotate(135deg);
}
.rotate_350 {
    transform: rotate(350deg);
}
.rotate_170 {
    transform: rotate(170deg);
}
div.pin-content {
	padding-left: 0;
	padding-right: 0;
	height: fit-content;
	margin: 5px 0 0 0;
}
.categoriesViewer div.pin-content {
	padding-left: 0;
	padding-right: 0;
	height: fit-content;
	margin: 5px 0 0 0;
    padding-top: 10px !important;
}
/* .categoriesViewer #pinTop.card-heading {
    border-bottom: 1px solid white;
} */
.card-heading.sticky_top {
	margin: 0px 5px;
	padding-right: 0px;
}
.card-heading.sticky_top {
	background: white;
}
.card-heading {
	margin: 0px;
	padding: 0 !important;
}


div.pin-card {
	background-color: transparent;
	/* padding: 10px 5px 0px 5px; */
	padding: 0px 5px 0px 5px;
	/* margin: 7px 0 0 0; */
	margin: 0;
	/* min-height: 150px; */
}

.restViewer .pin-icon {
    padding-top: 2px;
}

.mapboxgl-popup-content{
	background: #063a99 !important;
	max-width: 100vw;
	/* padding-top: 24px; */
	/* padding: 20px 0 0 0; */
	overflow: auto;
	height: 100%;
}

.segmentViewer .card-heading {
    margin: 0px 0 0.5rem 0;
    padding: 0;
}

.mapboxgl-popup .black-centered-number {
	top: 0;
	left: 2rem;
	color: black;
	position: absolute;
	transform: translate(-15%, 120%);
	font-size: 1rem;
}
.mapboxgl-popup .white-centered-number {
	top: 0%;
	left: 2rem;
	color: white;
	position: absolute;
	transform: translate(-15%, 130%);
	font-size: 1rem;
}

.mapboxgl-popup .segmentViewer .black-centered-number {
    left: 0;
    transform: none;
    width: 100%;
    top: 27%;
}

.mapboxgl-popup .segmentViewer .black-centered-number.state {
    left: 0;
    top: 28%;
    transform: none;
    width: 100%;
}

.mapboxgl-popup .segmentViewer .black-centered-number.mdt {
    top: 22%;
    left: 0;
    transform: none;
    width: 100%;
}
.mapboxgl-popup .segmentViewer .white-centered-number {
    left: 0;
	top: 35%;
    transform: none;
	width: 100%;
}

.card-body {
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	padding: .5rem;
}

.card-body a {
	color: white;
	text-decoration: underline;
	font-size: 0.75rem;
}

.pin-text-color {
  color: #FFFFFF !important;
}
div.pin-card-siding {
	margin: 0px 10px 5px 10px;
}
div.pin-card-padding {
	padding: 5px;
}
div.pin-icon {
	padding-left: 5px;
	padding-right: 0px;
}
h6.pin-head {
	padding: 5px 0;
}
div#pinBody {
	margin: 5px 5px 0px 5px;
	overflow: auto;
	color: white;
	/* Firefox */
	scrollbar-width: none;
	/* IE */
	-ms-overflow-style: -ms-autohiding-scrollbar;
}
div#pinBody::-webkit-scrollbar {
	/*Chrome, Safari, Edge*/
	display: none;
}
div#pinTop {
	/* Firefox */
	scrollbar-width: none;
	/* IE */
	-ms-overflow-style: -ms-autohiding-scrollbar;
}
div#pinTop::-webkit-scrollbar {
	/*Chrome, Safari, Edge*/
	display: none;
}
div#pinBottom a {
	text-decoration: underline;
	color: #fff;
}
p.pin-body {
	margin-bottom: 0;
}
div.pin-body-padding {
	padding: 0;
}
p.pin-bottom {
	padding: 5px;
}
img.route-img {
	height: 2.5rem;
	width: auto;
	margin-top: 5px;
	margin-left: -0.5rem;
}
div > hr {
	margin-top: 0;
	margin-bottom: 0;
	border: 1px;
	border-top: 1px solid rgba(176, 176, 176, 0.2);
}

.mapboxgl-popup .black-centered-number.state {
	top: 0;
	left: 2rem;
	color: black;
	position: absolute;
	transform: translate(-65%, 120%);
	font-size: 1rem;
}
.mapboxgl-popup .black-centered-number {
	top: 0;
	left: 2rem;
	color: black;
	position: absolute;
	transform: translate(-15%, 120%);
	font-size: 1rem;
}

.mapboxgl-popup .white-centered-number {
	top: 0%;
	left: 2rem;
	color: white;
	position: absolute;
	transform: translate(-15%, 130%);
	font-size: 1rem;
}

.clusterViewer .carousel-indicators {
	margin-bottom: 0;
}

.clusterViewer .carousel-control-prev-icon, 
.clusterViewer .carousel-control-next-icon {
	top: 50%;
}

.clusterViewer .pin-nearest {
	color: white;
}

.clusterViewer img {
	width: 100%;
	height: auto;
}

.floodgateViewer div.pin-content {
	min-width: 20rem;
}

.floodgateViewer img {
    display: block;
}

.alertViewer.pin-content {
	min-width: 20rem;
}

.alertViewer img {
	width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.floodgateViewer.pin-content {
	min-width: 20rem;
}

.floodgateViewer img {
    display: block;
}

.floodgateViewer .card-body img,
.alertViewer .card-body img,
.categoriesViewer .card-body img {
	display: block;
	width: 75%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

.mapboxgl-popup .card-title {
	margin-bottom: .25rem;
    font-size: 1rem;
    margin-top: 0;
    font-weight: 500;
    line-height: 1.2;
}

.mapboxgl-popup .restViewer .card-title {
	margin-bottom: 0;
}

.mapboxgl-popup .card-subtitle {
	margin-bottom: .65rem;
    font-size: .8rem;
    margin-top: 0;
	line-height: 1.2;
}

.restViewer #pinBottom .card-image-container {
	width:75%;
	padding-bottom: 50%;
	margin-left: auto;
	margin-right: auto;
	background-position: center top; 
	background-size: cover;
}

.rwisViewer .carousel-item {
	width: 100%;
	margin-top: .5rem;
	background-position: center top;
	background-size: cover;
	cursor: pointer;
}

.nearest-camera-image-container {
	width: 85%;
    padding-bottom: 47%;
    left: 7.5%;
	position: relative;
    background-position: center top;
	background-size: cover;
	background-color: #4775e0;
	cursor: pointer;
}

.rwisViewer .rwis-carousel-caption{
	width: 100% !important;
	position: relative !important;
	left: 0 !important;
	right: 0 !important;
	padding: 0 !important;
	margin: 20px 0 -20px 0 !important;
	line-height: 1.1rem !important;
}
 .rwisViewer .rwis-carousel-caption p {
	margin: 0px !important;
}

.rwisViewer .rwis-carousel-caption  h6 {
	margin: 0;
}

#rwisCams a {
	text-decoration: none !important;
}

.carousel-item.carousel-item-next.carousel-item-left {
	display: none;
}

#viewAlertBtn {
	margin-bottom: 0;
}

.fab{
	font-family: "Font Awesome 5 Brands";
	color: #fff;
	font-size: 1.5rem;
}
.fas {
	font-family: "Font Awesome 5 Free";
	color: #fff;
	font-size: 1.5rem;
}

.fa-heart.favorite-heart.fas {
    color: red;
}

i.fab.fa-facebook {
	margin-bottom: 0.75rem;
}

button#facebook-share {
	margin: 0;
	padding: 0;
	color: white;
}

a.twitter-share-button {
	margin: 0 1px 0 0;
	padding: 0;
}
i.fas.fa-envelope-square {
	margin-bottom: 0.75rem;
}

#stasheIcon.card-img {
	width: 2.5rem;
}

button#email-share {
	margin: 0;
	padding: 0;
	color: white;
}

.iconViewer .pin-card {
	margin: 0;
}

@media (max-width: 992px) {
	.mapboxgl-popup.alertPopup {
		transform: none !important;
		bottom: 64px;
		z-index: 1031;
		top: 25px;
	}
	.card-img {
		width: 36px;
	}

	.mapboxgl-popup.alertPopup .mapboxgl-popup-content {
		bottom: 1rem;
	}

	.mapboxgl-popup-tip {
		display: none !important;
	}
	.pin-nearest img {
		width: 50vw;
	}
}

@media (max-width: 812px) {
	.pin-nearest img {
		width: 95vw;
	}
}

@media (max-width: 768px) {
	.pin-nearest img {
		width: 92vw;
	}
	#viewAlertBtn {
		margin-bottom: 0.5rem;
	}
}

@media (max-width: 700px) {
	.mapboxgl-popup {
		transform: none !important;
		position: absolute;
		/* z-index: 1096 !important; */
		width: 100%;
		max-width: 100% !important;
		top: 0;
		left: 0;
		bottom: 23px;
	}
	.mapboxgl-popup-content {
		max-width: 350px;
		position: absolute;
		bottom: 0 !important;
		/* width: 55%; */
	}
} 

@media (max-width: 670px) {
	.pin-nearest img {
		width: 85vw;
	}
}

@media (max-width: 414px) {
	.mapboxgl-popup {
		position: absolute;
		z-index: 1031;
		width: 100%;
		max-width: 100%;
		top: unset;
		bottom: 0;
		left: 0;
		height: 100%;
	}
    .mapboxgl-popup-content {
		max-width: 100%;
		position: absolute;
		width: 100%;
	}  
	.pin-nearest img {
		width: 84vw;
	}
	.modal-dialog {
        max-width: 100vw;
        margin: 0;
        top: uset;
    }
    #cameraViewer {
        top: unset !important;
        left: 0 !important;
        height: auto;
		padding: 0!important;
    }
	#cameraViewer .modal-dialog {
		margin: 0!important;
	}
}

@media (max-width: 350px) {
	.pin-nearest img {
		width: 81vw;
	}
}

@media (max-width: 325px) {
	.pin-nearest img {
		width: 81vw;
	}
}

.mapboxgl-ctrl-group {
	margin-top: 0 !important;
	box-shadow: none !important;
}
/* IE10+ CSS styles go here */

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.floodgateViewer .card-body,
	.alertViewer .card-body,
	.categoriesViewer .card-body {
		max-height: 18rem;
	}
}