.link, a{text-decoration: none;}
	.link:hover, a:hover{text-decoration: underline;}.link, a{font-weight: bold;}
#header #layout>.amh-row, #header>.amh-row{max-width: 1150px;}
#header #layout>.amh-row>.amh-block>.amh-content, #header>.amh-row>.amh-block>.amh-content{max-width: 1150px;}
#body #layout>.amh-row, #body>div>.amh-row{max-width: 1150px;}
#body #layout>.amh-row>.amh-block>.amh-content, #body>div>.amh-row>.amh-block>.amh-content{max-width: 1150px;}
.bodysize{max-width: 1150px;}
#footer #layout>.amh-row, #footer>.amh-row{max-width: 1150px;}
#footer #layout>.amh-row>.amh-block>.amh-content, #footer>.amh-row>.amh-block>.amh-content{max-width: 1150px;}
.linkcolour, .fc-header h2, .link, .eeventcoming i,.eedate:after,.date-icon:after, a{color: #005b9d;}
.link:hover, a:hover{color: #c4cdd3;}
.widgetbg{background-color: #ffffff;}
.rssFeed .rssRow,.tweet_list li {border-bottom: 1px solid #24933c;}
body{
		color: #000000;
		font-family: Arial, Helvetica, sans-serif;
		background-color: #ffffff;
	}
.content{
		background-color: #ffffff;
	}
.searchbox{
		border: 3px solid #ffffff;
	}
#default_footer{
		margin-left:auto;
		margin-right:auto;
		text-align: center;
		font-size:10pt;
		padding-bottom:10px;
		color:#ffffff;
	}
#default_footer a{
		text-decoration: underline;
		color:#ffffff;
	}
.resource_item_header, .button, .button-strip a{
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color: #669dc4;
	background: #669dc4;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#669dc4), color-stop(50%,#669dc4), color-stop(51%,#669dc4), color-stop(100%,#669dc4));
	background: -moz-linear-gradient(top,  #669dc4 0%, #669dc4 50%, #669dc4 51%, #669dc4 100%);
	background: -webkit-linear-gradient(top,  #669dc4 0%,#669dc4 50%,#669dc4 51%,#669dc4 100%);
	background: -o-linear-gradient(top,  #669dc4 0%,#669dc4 50%,#669dc4 51%,#669dc4 100%);
	background: -ms-linear-gradient(top,  #669dc4 0%,#669dc4 50%,#669dc4 51%,#669dc4 100%);
	background: linear-gradient(top,  #669dc4 0%,#669dc4 50%,#669dc4 51%,#669dc4 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#669dc4', endColorstr='#669dc4',GradientType=0 );
	border: 2px solid #337cb1;
	color: #ffffff;
}
.resource_item_header:hover, .button:hover, .button:focus, .button_open, .button-strip-active a, .button-strip a:hover{
	background: #005b9d;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#005b9d), color-stop(50%,#005b9d), color-stop(51%,#005b9d), color-stop(100%,#005b9d));
	background: -moz-linear-gradient(top,  #005b9d 0%, #005b9d 50%, #005b9d 51%, #005b9d 100%);
	background: -webkit-linear-gradient(top,  #005b9d 0%,#005b9d 50%,#005b9d 51%,#005b9d 100%);
	background: -o-linear-gradient(top,  #005b9d 0%,#005b9d 50%,#005b9d 51%,#005b9d 100%);
	background: -ms-linear-gradient(top,  #005b9d 0%,#005b9d 50%,#005b9d 51%,#005b9d 100%);
	background: linear-gradient(top,  #005b9d 0%,#005b9d 50%,#005b9d 51%,#005b9d 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#005b9d', endColorstr='#005b9d',GradientType=0 );
	border: 2px solid #337cb1;
	color: #ffffff;
}
.button a, .button-strip a{
	color: #ffffff;
	text-decoration:none;
}
.button-strip-active a{
	color: #ffffff;
	text-decoration:none;
}
.button:hover a, .button-strip:hover a{
	color: #ffffff;
	text-decoration:none;
}
.button-strip a{
	font-weight:normal;
}
.resource_item_open{
	border: 2px solid #337cb1;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.resource_item_open .resource_item_header{
	border: none;
	-webkit-border-radius: 5px 5px 0px 0px;
	-moz-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
}
h1, h2, h3, h4, h5, h6, .heading1, .heading2, .heading3, .heading4, .heading5{
	color: #005b9d;
	padding-bottom:2px;
	padding-top:2px;
	margin-bottom:0px;
	margin-top:0px;
	line-height: 1.3;
}
h1, h2, .heading1, .heading2{
	padding-bottom:5px;
	padding-top:5px;
	margin-bottom:0px;
	margin-top:0px;
}
h1, .heading1{
	font-weight: bold;
	font-size: 3.667em;
}
h2, .heading2{
	font-weight: bold;
	font-size: 2.667em;
}
h3, .heading3{
	font-weight: bold;
	font-size: 1.833em;
}
h4, .heading4{
	font-size: 1.167em;
	font-weight: bold;
}
h5, .heading5{
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.917em;
}
.widget_tab, .widget_tab_selected{
	background: #70689e;
	color: #ffffff;
}
.widget_tab:hover, .widget_tab_selected{
	background: #005b9d;
	color: #ffffff;
}
a.button-strip{
	width: 100%;
	display: block;
}
a.button-strip:hover{
	text-decoration:none;
}
.widget_tab, .widget_tab_selected{
	cursor: pointer;margin-left: auto;margin-right: 1px;padding: 5px;float: left;font-size: 1.083em;
}
.widget_tab_bar{
	height: 28px;
	border-bottom:1px solid #24933c;
}
.tab, .tab_selected, .navbar-top, .nav-mobile{
	font-weight: bold;
	background: #ffffff;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#ffffff), color-stop(51%,#ffffff), color-stop(100%,#ffffff));
	background: -moz-linear-gradient(top,  #ffffff 0%, #ffffff 50%, #ffffff 51%, #ffffff 100%);
	background: -webkit-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: -o-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: -ms-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );
	color: #005b9d;
}
.vtab{
	font-weight: bold;
	background: #ffffff;
	background: -webkit-gradient(linear, right, left, color-stop(0%,#ffffff), color-stop(50%,#ffffff), color-stop(51%,#ffffff), color-stop(100%,#ffffff));
	background: -moz-linear-gradient(-90deg,  #ffffff 0%, #ffffff 50%, #ffffff 51%, #ffffff 100%);
	background: -webkit-linear-gradient(-90deg,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: -o-linear-gradient(-90deg,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: -ms-linear-gradient(-90deg,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: linear-gradient(-90deg,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	color: #005b9d;
}
.vtab:hover, .vtab_selected{
	background: #e7eef6;
	background: -webkit-gradient(linear, right, left, color-stop(0%,#e7eef6), color-stop(50%,#e7eef6), color-stop(51%,#e7eef6), color-stop(100%,#e7eef6));
	background: -moz-linear-gradient(-90deg,  #e7eef6 0%, #e7eef6 50%, #e7eef6 51%, #e7eef6 100%);
	background: -webkit-linear-gradient(-90deg,  #e7eef6 0%,#e7eef6 50%,#e7eef6 51%,#e7eef6 100%);
	background: -o-linear-gradient(-90deg,  #e7eef6 0%,#e7eef6 50%,#e7eef6 51%,#e7eef6 100%);
	background: -ms-linear-gradient(-90deg,  #e7eef6 0%,#e7eef6 50%,#e7eef6 51%,#e7eef6 100%);
	background: linear-gradient(-90deg,  #e7eef6 0%,#e7eef6 50%,#e7eef6 51%,#e7eef6 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e7eef6', endColorstr='#e7eef6',GradientType=0 );
	color: #005b9d;
}
.navbar-top>div>ul>li>a, .navbar-top>div>ul>li>a:focus, .nav-mobile a{
	background: #ffffff;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#ffffff), color-stop(51%,#ffffff), color-stop(100%,#ffffff));
	background: -moz-linear-gradient(top,  #ffffff 0%, #ffffff 50%, #ffffff 51%, #ffffff 100%);
	background: -webkit-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: -o-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: -ms-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );

	color: #005b9d;
	border-right: 0px solid #005b9d;
	border-left: 0px solid #005b9d;
	border-top: 0px solid #005b9d;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright: 0px;
	-moz-border-radius-bottomright: 0px;
	-moz-border-radius-bottomleft: 0px;
	-webkit-border-radius: 0px 0px 0px 0px;
	border-radius: 0px 0px 0px 0px;
}
.tab:hover, .tab_selected, .navbar-top .open>a, .navbar-top>div>ul>li>a:hover, .navbar-top a.current, .navbar-top>div>ul>li>a:focus{
	background: #e7eef6;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e7eef6), color-stop(50%,#e7eef6), color-stop(51%,#e7eef6), color-stop(100%,#e7eef6));
	background: -moz-linear-gradient(top,  #e7eef6 0%, #e7eef6 50%, #e7eef6 51%, #e7eef6 100%);
	background: -webkit-linear-gradient(top,  #e7eef6 0%,#e7eef6 50%,#e7eef6 51%,#e7eef6 100%);
	background: -o-linear-gradient(top,  #e7eef6 0%,#e7eef6 50%,#e7eef6 51%,#e7eef6 100%);
	background: -ms-linear-gradient(top,  #e7eef6 0%,#e7eef6 50%,#e7eef6 51%,#e7eef6 100%);
	background: linear-gradient(top,  #e7eef6 0%,#e7eef6 50%,#e7eef6 51%,#e7eef6 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e7eef6', endColorstr='#e7eef6',GradientType=0 );
	color: #005b9d;
}
.tab a{
	color: #005b9d;
}
.tab a:hover, .navbar-top a.current:hover{
	color: #005b9d;
}
.tab-bar{
	border-bottom: 1px solid #005b9d;
}
@media (max-width: 767px) {
	.tab{
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
	}
	.tab-bar{
		border: none;
	}
}
#responsiveheader{
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	background: none;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,none), color-stop(50%,none), color-stop(51%,none), color-stop(100%,none));
	background: -moz-linear-gradient(top,  none 0%, none 50%, none 51%, none 100%);
	background: -webkit-linear-gradient(top,  none 0%,none 50%,none 51%,none 100%);
	background: -o-linear-gradient(top,  none 0%,none 50%,none 51%,none 100%);
	background: -ms-linear-gradient(top,  none 0%,none 50%,none 51%,none 100%);
	background: linear-gradient(top,  none 0%,none 50%,none 51%,none 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='none', endColorstr='none',GradientType=0 );
	color: #ffffff;
}
#responsiveheaderimage{
	background-image: URL(/images/logos/middlesex/);
}
#responsiveheadermessage p:before{
	content:'';
}
#responsiveheaderaltmessage p:before{
	content:'';
}
.widget{
	border: 0px solid #ffffff;
	background-color: #ffffff;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0);
	-moz-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0);
	box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0);
}
.widgetheader{
	color: #005b9d;
	font-weight: bold;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright: 0px;
	-moz-border-radius-bottomright: 0px;
	-moz-border-radius-bottomleft: 0px;
	-webkit-border-radius: 0px 0px 0px 0px;
	border-radius: 0px 0px 0px 0px;
	background: #ffffff;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#ffffff), color-stop(51%,#ffffff), color-stop(100%,#ffffff));
	background: -moz-linear-gradient(top,  #ffffff 0%, #ffffff 50%, #ffffff 51%, #ffffff 100%);
	background: -webkit-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: -o-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: -ms-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );
}
.widgetbody{
	-moz-border-radius-bottomright: 0px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-topright: 0px;
	-moz-border-radius-topleft: 0px;
	-webkit-border-radius: 0px 0px 0px 0px;
	border-radius: 0px 0px 0px 0px;
}
.widgetbody p{
	margin-top:0px;
}
.widgetbody h1{
	color: #005b9d;
}
.pagination>.active>a, .pagination>.active>a:hover{
	background-color: #005b9d;
	border-color: #005b9d;
}
.pagination>li>a, .pagination>li>a:hover{
	color: #005b9d;
}
.polaris-nav-active i{
	color: #005b9d;
}
.widgetbody hr{
	color: #24933c;
	background-color: #24933c;
	margin-top: 6px;
	margin-bottom: 8px;
	height: 1px;
	border: none;
}
.toprule{
	border-top: 1px solid #24933c;
}
.bottomrule{
	border-bottom: 1px solid #24933c;
}
.bodytext{color: #000000;}
.headingtext{color: #005b9d;}
/*===========search widget CSS=====================*/


/*container for the widget*/
.container-search {
	width: 100%;
	margin: 0 auto;
   display: flex;
}
a:hover{
    cursor: pointer;
}
.nav-list > li > a:hover {
      cursor: pointer;
}
/*container for input text box*/
.box-search-outer {
	border-style: solid;
	border-width: 1px 0 1px 0;
	border-color: #999;
	height: 34px;
	float: left;
	background-color: #fff;
    width: 60%;
}


 /*select toggle*/
.btn.btn-primary.dropdown-toggle {
  	border-color: #005b9d;
	background: #005b9d; /*change background*/
	color: white; /*change color of text*/
	font-size: 16px;
    border-radius: 8px 0 0 8px;
	width: 110px;
	border-style: solid;
	border-width: 1px;
	border-left: 0;
	border-right: 1px;
	padding-left: 15px;
	padding-right: 15px;
	height: 34px;
	margin-top: 0;
	text-transform: none;
	margin-right: 0;
	font-family: Montserrat, "trebuchet ms", "Helvetica Neue", Sans-Serif;
}

/*down arrow*/
.dropdown-toggle-search::after {
	display: inline-block;
	margin-left: 0.3em;
	vertical-align: 0.255em;
	content: "";
	border-top: 0.3em solid;
	border-right: 0.3em solid transparent;
	border-bottom: 0;
	border-left: 0.3em solid transparent;
}

/*submit button */
.ja-button {
	height: 34px;
	float: left;
	clear: none;
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 4px;
	border-radius: 0 8px 8px 0;
	margin-top: 0;
	margin-right: 0;
  	border-color: #005b9d;
	background: #005b9d;
	color: white;
	font-size: 16px;
}


 /*drop down that contains catalog, events, site options */
.dropdown-search-catalog {
	background: #005b9d;
	color: white;
	top: 0;
	left: 0;
	transform: translate3d(0px, 34px, 0px);
	width: 100px;
	padding: 10px;
	border-radius: 8px;
}
/* each individual option ie catalog, events sites within the dropdown selection */
.dropdown-item {
	display: block;
	width: 100%;
	padding: 0.25rem 1.5rem;
	clear: both;
	font-size: 17px;
	font-weight: 400;
	line-height: 32px;
	color: white;
	text-align: inherit;
	white-space: nowrap;
	background-color: transparent;
	border: 0;
	border-radius: 5px;
	text-decoration: none!important;
}
/* each individual option ie catalog, events sites within the dropdown selection, but when your mouse hovers over the item */
.dropdown-item:hover,
.dropdown-item:active,
.dropdown-item:focus {
	color: white;
	background-color: #3978ac;

}
/*text input area*/
.nav-search-input {
	border: 0;
	width: 100%;
	padding: 0 8px;
	outline: unset;
	font-size: 17px;
	color: #333;
	background-color: white;
	height: 31px;
}
/*the placeholder text in the searchbox*/
.nav-search-input::placeholder {
	font-size: 15px;
	opacity: 0.8;
    color: black;
}



/*====font=====*/
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: normal;
	font-kerning: normal;
}

#body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
  	font-weight: normal;
	font-kerning: normal;
}

html {
	padding: 0;
}

h1 {
	color: #005b9d;
	font-size: 24px;
    font-family: Arial, Helvetica, sans-serif;
	font-weight: 900;
	letter-spacing: 0.2px;
    }
    
h2 {
	color: #005b9d;
    font-size: 20px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 900;
	letter-spacing: 0.2px;
    }
    
h3 {
	color: #005b9d;
    font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 900;
	letter-spacing: 0.2px;
}

h4 {
	color: #005b9d;
    font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 500;
	letter-spacing: 0.2px;
    }
    
h5 {
	color: #005b9d;
	font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
	font-weight: 500;
	letter-spacing: 0.2px;
    }
 h6 {
	color: #005b9d;
	font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
	font-weight: 500;
	letter-spacing: 0.2px;
    }

ul {
	line-height:150%
}

/*=====footer====*/
 #footer a {
	color: #fff;
   font-size: 14px;
}

#footer body {
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

/*=====Home Page Buttons=====*/
.button1 {
border: none;
background-color: #669dc4;
color: white;
width: 300px;
height: 60px;  
padding: 6px 24px;
text-align: left;
text-decoration: none;
display: inline-block;
font-size: 18px;
font-weight: bold;
margin: 4px 2px;
transition-duration: 0.4s;
cursor: pointer;
}

.button1:hover {
background-color: #005b9d;
color: white;
}

/*=====collaspable menus====*/

details {
  user-select: none;
}

summary {
  display: flex;
  cursor: pointer;
  font-size: 18px;
 color: #005b9d;
  font-weight: bold;
}
.level_two{
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
 color: #000000;
  font-weight: bold;
  font-style: italic;
  text-decoration: underline;

}


summary::-webkit-details-marker {
  display: none;
}


/*====Accordion Buttons====*/
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #ccc;
}

.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
/*Navigation headers */
#navbar-collapse-grid > ul > li > ul > li > div > ul > li > a {
    color: #005b9d;
    padding-bottom: 2px;
    padding-top: 2px;
    margin-bottom: 0px;
   font-size: 1.167em;
   font-weight: bold;
    margin-top: 0px;
    line-height: 1.3;
}

#date_range,#calendar{
  background-color: white;
}

.nav-list > li > p {
   margin-bottom: 0; 
}

.dropdown-menu li .nav-list {
   margin-bottom: 5px;
}

@media(min-width: 768px) {
  .nav .yamm-content > .list-unstyled.nav-list > .list-unstyled.nav-list {
     max-width: 49%;
  }
  .nav .yamm-content > .list-unstyled.nav-list > .list-unstyled.nav-list li a {
     padding-right: 3px;
  }
  .nav .nav-list > li > a {
     white-space: wrap; 
  }
}
