/*Code here for the Town of Middlebourne website ONLY*/


/*Background*/


body:not(.path-admin),
body.error404,
body.error403 {
	background: url(/sites/default/files/2025-05/bkg.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;
}

.contenttopright, .contenttopleft {background-color:white;}
.contenttopleft, .contenttopright {padding:2em 1em;}
 
.contenttopbkg {padding-right:2em; padding-left:2em;}
/*alerts*/
.wv-banner .view-alerts {margin-top:1em;}
/*links*/
.py-5 a:link, .py-5 a, a, a:hover, a:active, a:focus {color:#2a6e9c;}

.faservice {width:1.75em;}
a.ServiceClear {color:black;}

/*center logo - custom code*/
.navbar-brand__logo img {
vertical-align: middle;
  max-width: 100%;
width: 8em!important;
  height: auto;
  margin: 0px auto;
  text-align: center; position:relative; z-index:9990!important;
}
.wv-header .siteheaderbkg .block--collection-sitebranding.block--system-branding {position: absolute;
  text-align: center;
  top: -2em;
  margin: 0;
  width: 100%;}

  .siteheaderbkg {height:10em;}

nav.navbar .searchicon .view-search-api-basic .form-group,
nav.navbar .searchicon .view-acquia-search .form-group {margin-top:9em;}

.wv-banner nav {margin-top:2em;}
.wv-header .enterprise-header a {position:relative; z-index:9999!important;}
.entheaderright, .entheaderleft {position:relative; z-index:9999!important;}
/*center logo - end custom code*/
/*footer*/
.agency-footer {background-color:#213b58!important;}


/*buttons and menu*/
.more-link a {padding: 0.75rem 0.375rem; border-radius:.5em;}
.btn, .btn-primary, .more-link {color:white;}

.tbm-link:focus, .tbm-link:hover, .tbm-link:active, a.tbm-link:focus, a.tbm-link:hover, a.tbm-link:active {color:black!important;}

.btn, .btn-primary, .more-link a {background-color:#2a6e9c!important; color:white;}
/*menu*/ .block-tb-megamenu .tbm {background-color:#ccbe83!important; border:0px none;}

a.tbm-link.level-1:hover, a.tbm-link.level-1:focus, a.tbm-link.level-1:active
 {color:black!important; background-color:#e0d4a1!important;}
 .more-link a:active, .more-link a:focus, .more-link a:hover,
.btn:hover, .btn-primary:hover, .btn:focus, .btn-primary:focus, .btn:active, .btn-primary:active {color:white!important; background-color:#3076A7!important;}
a.tbm-link.level-1, .tbm-link.level-1 {color:black!important;}

/*services*/
.contenttopleft .view-services .col-12.col-sm-6.col-md-4.col-lg-4.col-xl-4.col-xxl-4 {width:100%!important;}
.view-services a.ServiceClear {margin-bottom:0em; border-bottom:1px solid black; display:block;}
.view-services a.ServiceClear:hover, .view-services a.ServiceClear:focus, .view-services a.ServiceClear:active {background-color:#e0d4a1;}
/*sub page white background*/
.contentcenter {
  background-color: white;
  margin-bottom:3em; padding:2em 1em;
  }

.path-frontpage .contentcenter {background-color:transparent; padding:0em;}

@media screen and (max-width: 1300px) {
/*center logo - custom code*/
.navbar-brand__logo img {
width: 7em!important;
}
.wv-banner nav {margin-top:2.25em;}
}
.wv-header .siteheaderbkg .block--collection-sitebranding.block--system-branding {position: absolute;
  top: -1em;}
  
  /*center logo - end custom code*/
@media screen and (max-width: 992px) {

	.tbm.tbm--mobile .tbm-item {border-top:1px solid black;}
	
	/*center logo - custom code*/
	
.wv-banner .block-tb-megamenu {z-index:9997!important;}
	.entheaderright {display:none;}
	
.wv-header .navbar .view-search-api-basic .views-exposed-form.needs-validation.form.form--views-exposed-form-search-api-basic-block-1,
.wv-header .navbar .block--basic.block--collection-searchicon .field.field--name-body.field--type-text-with-summary.field--label-hidden.field--item {
z-index:9999!important; position:relative;
    top: -3.25em;
    right: 3em;}
    
   .wv-banner nav {margin-top:0em;} 
    
.block-tb-megamenu .tbm {background-color:transparent!important;}
.tbm-link.level-1 {color:white; background-color:#ccbe83!important;}
.navbar-brand__logo img {
width: 100%!important;
}
.contentbkg {margin-top:4.5em;}
.wv-header .siteheaderbkg .block--collection-sitebranding.block--system-branding {position: absolute;
  top: 0em;}
}/*center logo - end custom code*/
@media screen and (max-width: 768px) {
.agyftadr {border-right:0px none!important;}
}
@media screen and (max-width: 550px) {
.faservice {width:20%;} 
.contenttopbkg {padding-right:0em; padding-left:0em;}
}