.portal-active {
	border-bottom: 2px solid #026f73;
}

#sidenav::-webkit-scrollbar,
.activity-log::-webkit-scrollbar {
	width: 5px;
}

/* Track */
#sidenav::-webkit-scrollbar-track,
.activity-log::-webkit-scrollbar-track {
	background: #f1f1f1; 
}
 
/* Handle */
#sidenav::-webkit-scrollbar-thumb,
.activity-log::-webkit-scrollbar-thumb {
	background: #888; 
}

/* Handle on hover */
#sidenav::-webkit-scrollbar-thumb,
.activity-log::-webkit-scrollbar-thumb:hover {
	background: #555; 
}

/* ArcGIS JS API Modification */
#map { height: 60vh; }
#screenshotDiv {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.8);
}
.hide {
	display: none;
}
.js-screenshot-image {
	border: 10px solid white;
	box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.5);
}
#screenshotDiv > * {
	margin: 0.5em;
}
.screenshotCursor {
	cursor: crosshair;
}
#maskDiv {
	position: absolute;
	background: rgba(255, 51, 0, 0.1);
	border: 2px dashed rgb(255, 51, 0);
}
.action-button {
	padding: 0.6em;
	border: 1px solid #0079c1;
	text-align: center;
	background-color: white;
	cursor: pointer;
}
.action-button:hover,
.action-button:focus {
	background: #0079c1;
	color: white;
}

.esri-widget-none { display: none !important; }

.water-level-sensor-data-visualization {
	background: url('../../resources/img/prototype/water-level-sensor-container.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.water-level-sensor-full-data-visualization {
	background: url('../../resources/img/prototype/water-level-sensor-full-container.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.paddy-ditch-gate-controller-data-visualization {
	background: url('../../resources/img/prototype/paddy-ditch-gate-controller-container.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.canal-ditch-gate-controller-data-visualization {
	background: url('../../resources/img/prototype/canal-ditch-gate-controller-container.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.flow-metering-device-data-visualization {
	background: url('../../resources/img/prototype/flow-metering-device-container.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.rain-metering-device-data-visualization {
	background: url('../../resources/img/prototype/rain-metering-device-container.gif');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.rice-growth-data-visualization {
}

.rice-growth-1 {
	background: url('../../resources/img/rice-growth/tube/1.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.rice-growth-2 {
	background: url('../../resources/img/rice-growth/tube/2.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.rice-growth-3 {
	background: url('../../resources/img/rice-growth/tube/3.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.rice-growth-4 {
	background: url('../../resources/img/rice-growth/tube/4.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.rice-growth-5 {
	background: url('../../resources/img/rice-growth/tube/5.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.rice-growth-6 {
	background: url('../../resources/img/rice-growth/tube/6.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.waving {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 0;
	background: url('../../resources/img/wave/water-level-sensor.gif');
	background-size: cover;
	opacity: 0.5;
	z-index: 1;
}

.streaming {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('../../resources/img/wave/ditch-gate-controller.gif');
	background-size: cover;
	opacity: 0.5;
	z-index: 1;
}

.flowing {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('../../resources/img/wave/water-level-sensor.gif');
	background-size: cover;
	opacity: 0.5;
	z-index: 1;
}

.raining {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('../../resources/img/wave/water-level-sensor.gif');
	background-size: cover;
	opacity: 0.5;
	z-index: 1;
}

.esri-view-width-greater-than-xsmall .esri-expand--auto .esri-expand__content {
	position: unset !important;
}

.esri-expand__content--expanded,
.esri-expand__content {
	margin: 0 !important;
}

.esri-view-height-xsmall .esri-ui-corner .esri-component .esri-expand__content { max-height: 250px !important; }

@media (max-width: 768px) {
	.esri-search { width: 200px !important; }
	.esri-view-width-xsmall .esri-expand--auto .esri-expand__mask--expanded { display: none !important; }
	.esri-view-width-xsmall .esri-expand--auto .esri-expand__container--expanded {
		position: absolute !important;
		top: unset !important;
		bottom: unset !important;
		height: unset !important;
	}
	/*.esri-expand__content--expanded { width: 200px !important; }
	.esri-expand__content { box-shadow: none !important; }*/
}

@keyframes rotating {
	0% {transform: rotate(360deg);}
}