/* iFrameMap Layout */
.iFrameMap {
    overflow: auto;
    display: block;
    position: relative;
    clear: both;
}
.iFrameMap-sidebar {
    position: relative;
    height: 375px;
    padding: 15px 30px 15px 15px;
    color: rgba(255, 255, 255, 0.67);
    background: #007bc1;
    border: 1px solid #007bc1;
    border-right:  none;
}

.iFrameMap-container .instructions-overlay {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	align-content: center;
	position: absolute;
	width: 100%;
	height: 420px;
	top: 0;
	left: 0;
	text-align: center;
	cursor: pointer;
	background: rgba(255,255,255,.65)
}
.iFrameMap-container.active .instructions-overlay {
	display: none;
}

.instructions-overlay .instructions {
	display: block;
	height: fit-content;
	width: auto;
	margin: 0 1rem;
	background: #003f70;
	color: #ffffff;
	font-size: 1.5rem;
	line-height: 1.5rem;
	-webkit-border-radius: 3rem;
	border-radius: 3rem;
	padding: .5rem 1.5rem;
	-webkit-box-shadow: 0 0 14px 0 rgba(0,0,0,.4);
	box-shadow: 0 0 14px 0 rgba(0,0,0,.4);
	border: 2px solid #ffffff;
	font-family: 'acumin-pro', Arial, sans-serif;
}
.iFrameMap-sidebar .iFrameMap-details .toggle {
    font-weight: 300;
    font-size: .875rem;
    float: right;
    position: relative;
    top: .3rem;
    color: rgba(255,255,255,1);
}
.iFrameMap-sidebar .iFrameMap-details.active .toggle {
    display: none;
}

.iFrameMap-sidebar .iFrameMap-details {
    cursor: pointer;
    margin-bottom: 30px;
}
.iFrameMap-sidebar .iFrameMap-details h4 {
    border-bottom: 1px solid rgba(255,255,255, 0.5);
    padding-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.67) !important;
    font-weight: 800;
}
.iFrameMap-sidebar .iFrameMap-details p {
    position: relative;
    font-size: 14px;
    line-height: 20px;
    font-family: acumin-pro, "Acumin Pro", Arial, Helvetica, sans-serif;
    color: rgba(255, 255, 255, 0.5) !important;
}
.iFrameMap-sidebar .iFrameMap-details:hover h4,
.iFrameMap-sidebar .iFrameMap-details.active h4 {
    color: rgba(255, 255, 255, 1) !important;
}
.iFrameMap-sidebar .iFrameMap-details:hover p,
.iFrameMap-sidebar .iFrameMap-details.active p {
    color: rgba(255, 255, 255, .85) !important;
}
.iFrameMap-sidebar .iFrameMap-details p strong, .iFrameMap-sidebar .iFrameMap-details p b {
    font-weight: 600 !important;
    color: rgb(255, 255, 255) !important;
}
.iFrameMap-sidebar .iFrameMap-caption {
    position: absolute;
    bottom: 15px;
    width: calc(100% - 45px);
    background: url("https://hcfcd.maps.arcgis.com/apps/webappviewer/widgets/LayerList/images/icon.png?wab_dv=2.18") 7.5px 0px no-repeat;
    padding: 7.5px 0 7.5px 70px;
}
.iFrameMap-sidebar .iFrameMap-caption p {
    color: rgba(255, 255, 255, 0.67) !important;
    line-height: 1.2 !important;
    font-size: 12px !important;
}
.iFrameMap-container {
    position: relative;
    height: 422px;
    padding: 0;
    color: rgba(255, 255, 255, 0.67);
    background: #f3f3f3;
    border: 1px solid #e2e1e1;
    border-left: none;
}
.iFrameMap-container .map {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: all 500ms ease-in;
    -moz-transition: all 500ms ease-in;
    -ms-transition: all 500ms ease-in;
    -o-transition: all 500ms ease-in;
    transition: all 500ms ease-in;
}

@media screen and (max-width: 991px) {
    .iFrameMap .iFrameMap-sidebar {
        height: auto;
        border: none;
        padding: 0;
        background: none;
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: start;
		align-items: stretch;
		align-content: start;
        align-content: center;
    }
    .iFrameMap .iFrameMap-sidebar .iFrameMap-details {
        /* height: 40px; */
        padding: .5rem 1rem;
        flex: 1 1 auto;
        margin: 0;
        width: 50%;
        border: 1px solid #e2e1e1;
        background: #ffffff;
        border-bottom: none;
    }
    #CountywideActiveProjects.iFrameMap .iFrameMap-sidebar .iFrameMap-details h4 {
        height: auto;
        border: none;
        padding: 0;
        margin: 0;
        color: #00abbe !important;
        font-size: 1rem !important;
    }
    .iFrameMap .iFrameMap-sidebar .iFrameMap-details.active {
        border: 1px solid #007bc1;
        background: #007bc1;
    }
    #CountywideActiveProjects.iFrameMap .iFrameMap-sidebar .iFrameMap-details.active h4 {
        color: #ffffff !important;
    }
    .iFrameMap .iFrameMap-sidebar .iFrameMap-details p {
        display: none;
    }
    .iFrameMap .iFrameMap-sidebar .iFrameMap-caption {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    .iFrameMap-sidebar {
        height: 622px;
    }
    .iFrameMap-container .instructions-overlay {
		height: 620px;
	}
	.iFrameMap-container {
		height: 622px;
	}
}

/* END iFrameMap Layout */