﻿/* Edit the .mdgov-masthead rule's background-image to your own default site-wide image. */

/* Default site-wide masthead. */

.fa-search {
	color: #666;
}

.mdgov-masthead-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.mdgov-masthead-nav ul li a {
	display: inline-flex;
	padding: 1rem 1.5rem;
	text-decoration: none;
	color: var(--mdgov-white);
	font-size: 1.2rem;
	font-weight: 500;
	align-items: center;
}
.mdgov-masthead-nav ul li a:hover {
	background-color: rgba(255, 255, 255, 0.25);
}
/* External links only */
a[href^="http"]:not([href*="baybridge.maryland.gov"]):not([href*="baybridge10.iis"]):not(.btn):not(.mdgov-social__icon):not(.mdgov-entNav__logo):not(.translateLink):not(.feature-card):not([href$=".pdf"]):not([href^="mailto:"]):not([href^="tel:"]):not(:has(img))::after {
	content: '\f35d';
	font-family: var(--mdgov-font-icon);
	font-weight: 300;
	margin-left: 0.7rem;
	font-size: 0.7em;
	display: inline-block;
	vertical-align: middle;
}
.baybridge-quicklinks a[href^="http"]::after {
	content: none !important;
}
.mdgov-masthead-nav > ul {
	padding: 0 2.5rem;
}
@media (max-width: 991.98px) {
	.mdgov-masthead-nav > ul {
		padding: 0;
	}	
	.mdgov-masthead-nav ul li a {
		display: block;
	}
}
.mdgov-masthead-brand-logo {
	border-right: 2px solid #d7d7da;
    padding-right: 1.5rem;
}
.mdgov-footer__agency__logo img {
    max-width: none;
}
.mdgov-footer__content > div {
    display: flex;
    gap: 1rem;
    flex-flow: column;
	width: 100%;
}
.mdgov-footer__content > div > *:first-child, .mdgov-footer__content > div > *:last-child {
	flex: 1 1 30%;
}
.mdgov-footer__content > div > *:nth-child(2), .mdgov-footer__content > div > *:nth-child(3) {
	flex: 1 1 20%;
}
.mdgov-footer__content h2 {
	font-size: 1.3rem;
	font-weight: 600;
}
.mdgov-agency {
	text-transform: none;
}
.mdgov-innerWrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-flow: column nowrap;
    overflow-x: hidden;
}
.mdgov-masthead {
  display: flex;
  flex-flow: column nowrap;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.mdgov-masthead-top {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}
@media (min-width: 992px) {
  .mdgov-masthead {
    min-height: 250px;
  }
  .mdgov-masthead:before, .mdgov-masthead:after {
    background-color: #C8122C;
  }
  .mdgov-masthead-top {
	flex-flow: row nowrap;
  }	  
  .mdgov-footer__content > div {
	flex-flow: row nowrap;
	gap: 3rem;
  }
}
.frontpage .baybridge-banner {
	min-height: 400px;
	background: url('../images/Bay_Bridge.jpg');
	background-size: cover;
    background-attachment: fixed;
}
.baybridge-banner {
	min-height: 175px;
	width: 100%;
	background: url('../images/Bay_Bridge_Banner_Inner.jpg');
	background-size: inherit;
    background-attachment: inherit;
	display: flex;
    justify-content: flex-end; /* pushes content to right */
    align-items: center;      /* vertical center */
	overflow: hidden;
	font-size: 1.5rem;
}
.baybridge-banner h1, .baybridge-banner h2{
	text-transform: uppercase;
	font-size: 2.2rem;
}

@media (max-width: 700px) {
	.frontpage .baybridge-banner {
		background-attachment: inherit;
	}
}
@media (min-width: 1600px) {
	.frontpage .baybridge-banner {
		background-position: center left;
	}
}
@media (min-width: 996px) {
	.baybridge-banner h1, .baybridge-banner h2 {
		font-size: 2.5rem;
	}
}
.baybridge-quicklinks nav {	
	margin-top: 2rem;
}
.baybridge-quicklinks nav > ul {	
	display: flex;
    flex-flow: column nowrap;
}
.baybridge-quicklinks nav ul {
	width: 100%;
    padding: 0;
    gap: 2rem;
}
.baybridge-quicklinks nav > ul > li {
	flex: 1 1 33.33333%;
}
.baybridge-quicklinks nav ul li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.baybridge-quicklinks nav ul ul {
	border-top: 1px solid #8ea8c5;
}
.baybridge-quicklinks nav ul ul li {
	border-bottom: 1px solid #8ea8c5;
	padding: 1rem 0;
	display: flex;
	align-items: center;
}
.baybridge-quicklinks nav > ul > li span {
	font-size: 1.6rem;
	display: block;
	margin: 0 0 1rem;
    font-weight: 600;
    line-height: 1.2;
}
.baybridge-quicklinks nav ul ul li::after {
  content: '\f061';
  font-family: var(--mdgov-font-icon);
  font-weight: normal;
  font-size: 1rem;
  color: #b9c9db;
  margin-left: auto;
  padding-right: 1rem;
  transition: transform 0.2s ease;
}
.baybridge-quicklinks nav ul ul li:hover::after {
	transform: translateX(5px);
}
.baybridge-quicklinks nav ul ul li a {
	color: var(--mdgov-white);
	font-weight: 400;
	font-size: 1.25rem;
	text-decoration: none;
	flex: 1;
}
@media (min-width: 992px) {
	.frontpage .baybridge-banner {
		min-height: 660px;
	}
	.baybridge-banner {
		min-height: 265px;
	}
	.baybridge-quicklinks nav > ul {
		flex-flow: row nowrap;
	}
}
.flex-content {
	display: flex;
	gap: 1rem;
	flex-flow: column;
}
.flex-align-center {
  align-items: center;
}
.flex-content.flex-small-gap {
	gap: 2rem;
}
.flex-content.flex-reverse, .flex-reverse .flex-content {
	flex-flow: column-reverse;
}
.flex-2-col {
	flex: 1 1 50%;
}
.flex-3-col {
	flex: 1 1 33.33333%;
}
.flex-4-col {
	flex: 1 1 25%;
}
.flex-col-60 {
	flex: 1 1 60%;
}
.flex-col-55 {
	flex: 1 1 55%;
}
.flex-col-45 {
	flex: 1 1 45%;
}
.flex-col-40 {
	flex: 1 1 40%;
}
.flex-col-30 {
	flex: 1 1 30%;
}
.flex-col-20 {
	flex: 1 1 20%;
}
.flex-content img {
	max-width: 100%;
	height: auto;
	display: block;
}
@media (min-width: 992px) {
	.flex-content {
		gap: 3rem;
	}
	.flex-content, .flex-content.flex-reverse, .flex-reverse .flex-content {
		flex-flow: row nowrap;
	}
}
.section {
	position: relative;
	background: var(--mdgov-white);
	color: var(--mdgov-black);
	padding: 0 var(--mdgov-side-padding) var(--mdgov-padding);
	width: 100%;
	overflow: hidden;
	--curve-in: var(--mdgov-white);
	--curve-out: var(--mdgov-white);
}
.section-white {
	padding-top: var(--mdgov-padding);
}
.section-blue {
	background: var(--mdgov-blue);
	color: var(--mdgov-white);
	padding: 7rem var(--mdgov-side-padding) 4rem;
	--curve-in: var(--mdgov-white);
	--curve-out: var(--mdgov-green);
}
.frontpage .section-blue {
	padding-top: var(--mdgov-padding);
	padding-bottom: 1rem;
}
.section-dark-blue {
	padding-top: var(--mdgov-padding);
	background: var(--mdgov-dark-blue);
	color: var(--mdgov-white);
}
.frontpage .section-dark-blue {
	padding-bottom: 7.5rem;
}
.section-green {
	background: var(--mdgov-green);
	color: var(--mdgov-black);	
	padding-top: 8rem;	
	margin-bottom: var(--mdgov-padding);
	--curve-in: var(--mdgov-blue);
	--curve-out: var(--mdgov-green);
}
.section-gray {
	background: var(--mdgov-gray);
	--curve-in: var(--mdgov-white);
	--curve-out: var(--mdgov-dark-blue);
}
.section-blue a, .section-dark-blue a {
	color: var(--mdgov-white);
}
.frontpage [class^="section-"] > div, .frontpage [class*=" section-"] > div {
	width: 100%;
}
.section .text-container a.feature-link {
	text-decoration: none;
}
@media (min-width: 992px) {
	.section-green {		
		margin-bottom: 5rem;
	}
}
.section-padding {
	padding-top: 6rem;
    padding-bottom: 7.5rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.section-curve {
	display: block;
	width: 100%;
	height: 70px;
	line-height: 0;
}
.section-curve path {
	fill: currentColor;
}
.text-container {
	width: 100%;
}
@media (min-width: 1456px) {
	.image-container {
		flex: 0 0 auto;   /* shrink, don't grow */
	}
	.text-container {
		flex: 1 1 auto;   /* take remaining space */
		min-width: 0;
	}
}
.curve-top,
.curve-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
}
.curve-top {
  top: 0;
  color: var(--curve-in);
}
.curve-bottom {
  bottom: -1px;
  color: var(--curve-out);
}
.baybridge-banner .curve-bottom {
  color: #ffffff;
}
.frontpage .baybridge-banner .curve-bottom {
  color: #285990;
}
.frontpage .curved-box {
	min-height: 400px;
}
.curved-box {
  flex: 0 0 100%;
  position: relative;
  height: 100%;
  min-height: 175px;
  overflow: hidden;
}
.banner-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background-color: #1d3460;
  opacity: 0.8;
}
.banner-curve path {
	fill: #1d3460;
	fill-opacity: 0.8;
}
.banner-content {
  color: white;
  padding: var(--mdgov-padding) var(--mdgov-side-padding);
  vertical-align: middle;
  position: absolute;
  width: 100%;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.frontpage .banner-content {
	left: 50%;
}
@media (min-width: 992px) {
	.frontpage .curved-box {
		min-height: 660px;
	}
	.curved-box {
	  flex: 0 0 62%;
	  min-height: 265px;
	}
	.banner-curve {
		background-color: inherit;
		opacity: inherit;
	}
	.banner-content {
	  width: 85%;
	  padding: var(--mdgov-padding);
	  transform: translate(-50%, -50%);
	  left: 60%;
	}
	.frontpage .banner-content {
		width: 70%;
		padding: var(--mdgov-padding) var(--mdgov-side-padding);
		left: 60%;
	}
}
.all-caps {
	text-transform: uppercase;
}
.big-font {
	font-size: 1.4rem;
	font-weight: 600;
}
.allow-overflow  {
	overflow: inherit;
	align-items: center;
}
.hanging-img .image-container img {
	margin-bottom: inherit;
	position: relative;
    z-index: 1;
}
.driveEzMD-section {
    display: flex;
    flex-direction: column;
}
.driveEzMD-section .section-header {
	display: contents;
}
.driveEzMD-section .section-header h2 {
	order: 1;
}
.driveEzMD-section .flex-content {
	order: 2;
}
.driveEzMD-section .section-header a {
	margin-top: 1rem;
	margin-bottom: 0rem;
	align-self: flex-end; /* or center */
	order: 3;
}
.info-card {
	background-color: #f4f6f8;
	box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.15);
	padding: 2rem;
	width: 100%;
}
.feature-card {
	position: relative;
	display: block;
	text-decoration: none;
	color: inherit;
	border-bottom: 2px solid #a0a4a7;
	padding-bottom: 2.5rem;
	width: 100%;
	align-items: stretch;
}
.feature-card img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto 2rem auto;
}
.feature-card::after {
	content: '\f061';
    font-family: var(--mdgov-font-icon);
	position: absolute;
	right: 2rem;
	bottom: 1rem;
	font-size: 1.2rem;
	transition: transform 0.2s ease, opacity 0.2s ease;
	opacity: 0.85;
}
.feature-card:hover::after {
	transform: translateX(5px);
	opacity: 1;
}

@media (min-width: 992px) {		
	.driveEzMD-section .section-header {
		display: inherit;
	}
	.driveEzMD-section .section-header h2 {
		order: 1;
    }
	.driveEzMD-section .flex-content {
		order: 3;
    }
    .driveEzMD-section .section-header a {
        margin-top: inherit;
		margin-bottom: 1rem;
		order: 2;
    }
	.allow-overflow  {
		overflow: visible;
	}
	.hanging-img .image-container img {
		margin-bottom: -5rem;
	}
	.feature-card img {
		margin: inherit;
		margin-bottom: 2rem;
	}
}

.layout {
	margin-bottom: 2rem;
	display: flex;
    gap: 2rem;
    flex-wrap: inherit !important;
}
.layout:last-child {
	margin-bottom: 0;
}
.layout--onecol{
	margin-bottom: 0rem;
}
.layout img {
	padding: 1rem;
	box-sizing: content-box;
}
.layout-builder-block {
    outline: 1px dashed #2f91da;
}
.flexslider .slides > li:first-of-type {
	display: block;
}
.flexslider .slides img {
	width: auto;
	margin: 0 auto;
	padding-bottom: 0;
}
.flexslider .flex-control-nav {
	bottom: -30px;
}
.flex-direction-nav a {
	overflow: visible;
}
.views-slideshow-controls-bottom {
  position: absolute;
  bottom: 0;
  right: 10px;
  z-index: 1000;
}
/* Hide the original text links */
.views_slideshow_controls_text a {
  visibility: hidden; /* Hide the text inside the links */
  position: relative;  
  text-align: center;
  line-height: 40px; /* Align icon vertically */
  width: 35px;
  display: inline-block;
  margin: 0 5px;
}
.views_slideshow_controls_text a::before {
  visibility: visible;
  position: absolute;
  font-family: "flexslider-icon";
  font-size: 15px; /* Icon size */
  line-height: 20px; /* Icon size */
  color: #000; /* Icon color */
  background-color: #f1f1f1;
  padding: 5px 10px;
  border-radius: 15px;
  box-sizing: border-box;
}
.views_slideshow_controls_text a:hover, .views_slideshow_controls_text span:hover {
  text-decoration: none;
}
/* Style for previous button */
.views_slideshow_controls_text .views_slideshow_controls_text_previous a::before {
  content: '\f001'; /* Unicode for left arrow */
}

/* Style for pause button */
.views_slideshow_controls_text .views_slideshow_controls_text_pause.views-slideshow-controls-text-status-play a::before {
  content: '\f004'; /* Unicode for pause symbol */
}

/* Style for pause button */
.views_slideshow_controls_text .views_slideshow_controls_text_pause.views-slideshow-controls-text-status-pause a::before {
  content: '\f003'; /* Unicode for pause symbol */
}

/* Style for next button */
.views_slideshow_controls_text .views_slideshow_controls_text_next a::before {
  content: '\f002'; /* Unicode for right arrow */
}

/* Optional: Add hover effect to change the icon color */
.views_slideshow_controls_text a:hover::before {
  color: #007bff; /* Hover color */
}
/* Stretch home banner image across screen */
.views_slideshow_cycle_main div {
	width: 100% !important;
	text-align: center;
}
.layout .block, .layout div > div:not(.mdgov_imgLeft) {
	clear: both;
	margin-bottom: 15px;
}
@media (max-width: 992px) {	
	.layout {
		flex-direction: column;
	}
}
.messages__wrapper {
	padding: 1rem;
	background-color: #FFFFE0;
}
.form-item, .form-actions {
	padding: 0.5rem 0;
}
.blog-items-block .views-row {
	padding: .5em 1em;
    margin: 0 0 1em 1em;
    font-size: .9em;
	background-color: #EFF3FA;
}
.blog-items-block .views-row:nth-of-type(2n) {
	background-color: #FFFFFF;
}
.blog-items-block .views-row a{
	text-decoration: none;
}
.blog-items-block .views-row .views-field-created, .blog-items-block .views-row  .views-field-timestamp {
	text-align: right;
    font-size: .9em;
    color: #333;
	padding-top: 5px;
	
}
.more-link {
    display: block;
    text-align: right
}
.blog-items-block .more-link {
	padding: 0 0 20px 0;
	text-align: left;
}

.section .blog-items-block .views-row {
	background-color: transparent;
	padding: 0;
    margin: 0;
}
.blog-items-block .views-row a.views-more-link {
	text-decoration: underline;
}
.press-release > div {
	display: flex;
    flex-flow: column-reverse;
	gap: 3rem;
	align-items: center;
}
@media (min-width: 992px) {
    .press-release > div {
        flex-flow: row nowrap;
    }
}
#block-baybridge2026-pressreleaseimage {
	flex: 1 1 55%;
}
#block-baybridge2026-views-block-traffic-advisories-press-release {
	flex: 1 1 45%;
}
#block-baybridge2026-pressreleaseimage p {
	margin: 0;
}
@media (min-width: 1456px) {
    #block-baybridge2026-pressreleaseimage {
        flex: 0 0 auto;
    }
	#block-baybridge2026-views-block-traffic-advisories-press-release {
        flex: 1 1 auto;
    }
	.press-release img, .image-container img {
		max-width: 750px;
	}
}
.press-title {
	text-transform: uppercase;
}
#chartInteractiveMap {width:100%; height:88vh; overflow:hidden;}
#chartInteractiveMap iframe {width: calc(100% + 20px); height:120vh; border:none; transform: translateY(-280px); overflow:hidden;}
/*#chartInteractiveMap iframe {width: calc(100% + 20px); height:150vh; border:none; transform: translateY(-29vh); overflow:hidden;}
@media (max-width: 1385px) and (min-width: 1145px) {
	#chartInteractiveMap iframe {transform: translateY(-37vh);}
}*/
@media (max-width: 1405px) {
	#chartInteractiveMap iframe {transform: translateY(-350px);}
}
@media (max-width: 1145px) {
	#chartInteractiveMap iframe {transform: translateY(-280px);}
}
@media (max-width: 550px) {
	#chartInteractiveMap iframe {transform: translateY(-270px);}
}
@media (max-width: 514px) {
	#chartInteractiveMap iframe {transform: translateY(-260px);}
} 
@media (max-width: 470px) {
	#chartInteractiveMap iframe {transform: translateY(-240px);}
}


.layout .view-public-events-list, .view-public-events-feed  {
	display: inherit;
}
.layout .view-public-events-list .views-row, .layout .view-public-events-feed .views-row {
	width: 100%;
	max-height: 250px;
	overflow: hidden;
}
.view-public-events-list, .view-public-events-feed  {
	display: flex;
	gap: 2rem;
	flex-flow: column;
}
.view-public-events-list .views-row, .view-public-events-feed .views-row {
    display: flex;
	min-height: 200px;
	flex: 1;
}
main .view-public-events-list .views-row:nth-child(odd), main .view-public-events-feed .views-row:nth-child(odd) {
	clear: both;
}
.front .story-container {
	overflow: hidden;
}
.date-container {
	width: 74px;
    padding-right: 20px;
	background-color: #fff;
}
.story-container {
	background-color: #badcff;
    padding: 10px 15px;
    box-sizing: border-box;
	text-align: left;
	border: 8px solid #e4f0fd;
    width: 100%;
}
.story-container a {
	color: #002d62;
	text-decoration: underline;
}
.story-container h2 a {
	color: #002d62;
	text-decoration: none;
}
.date-box {
	background-color: #2b639e;
	color: #fff;
    width: 62px;
    height: 62px;
    text-align: center;
    font-weight: 700;
    font-size: 34px;
    line-height: 26px;
	border-right: 5px solid #000;
}
.month {
	font-size: 18px;
}
@media (min-width: 992px) {
    .view-public-events-list, .view-public-events-feed {
		flex-flow: row nowrap;
	}
}
.margin-top-2rem {
	margin-top: 2rem;
}
/** Fix for Maryland.gov logo display issue on smaller screens **/
.mdgov-entNav__logo img {
	max-width: inherit !important;
}