.link, a{text-decoration: none;}
	.link:hover, a:hover{text-decoration: none;}.link, a{font-weight: normal;}
#body #layout>.amh-row, #body>div>.amh-row{max-width: 1240px;}
#body #layout>.amh-row>.amh-block>.amh-content, #body>div>.amh-row>.amh-block>.amh-content{max-width: 1240px;}
.bodysize{max-width: 1240px;}
.linkcolour, .fc-header h2, .link, .eeventcoming i,.eedate:after,.date-icon:after, a{color: #0170b9;}
.link:hover, a:hover{color: #3a3a3a;}
.widgetbg{background-color: #ffffff;}
.rssFeed .rssRow,.tweet_list li {border-bottom: 1px solid #3a3a3a;}
body{
		color: #4b4f58;
		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:#4b4f58;
	}
#default_footer a{
		text-decoration: underline;
		color:#4b4f58;
	}
.resource_item_header, .button, .button-strip a{
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	background-color: #0170b9;
	background: #0170b9;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0170b9), color-stop(50%,#0170b9), color-stop(51%,#0170b9), color-stop(100%,#0170b9));
	background: -moz-linear-gradient(top,  #0170b9 0%, #0170b9 50%, #0170b9 51%, #0170b9 100%);
	background: -webkit-linear-gradient(top,  #0170b9 0%,#0170b9 50%,#0170b9 51%,#0170b9 100%);
	background: -o-linear-gradient(top,  #0170b9 0%,#0170b9 50%,#0170b9 51%,#0170b9 100%);
	background: -ms-linear-gradient(top,  #0170b9 0%,#0170b9 50%,#0170b9 51%,#0170b9 100%);
	background: linear-gradient(top,  #0170b9 0%,#0170b9 50%,#0170b9 51%,#0170b9 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0170b9', endColorstr='#0170b9',GradientType=0 );
	border: 1px solid #0170b9;
	color: #ffffff;
}
.resource_item_header:hover, .button:hover, .button:focus, .button_open, .button-strip-active a, .button-strip a:hover{
	background: #3a3a3a;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3a3a3a), color-stop(50%,#3a3a3a), color-stop(51%,#3a3a3a), color-stop(100%,#3a3a3a));
	background: -moz-linear-gradient(top,  #3a3a3a 0%, #3a3a3a 50%, #3a3a3a 51%, #3a3a3a 100%);
	background: -webkit-linear-gradient(top,  #3a3a3a 0%,#3a3a3a 50%,#3a3a3a 51%,#3a3a3a 100%);
	background: -o-linear-gradient(top,  #3a3a3a 0%,#3a3a3a 50%,#3a3a3a 51%,#3a3a3a 100%);
	background: -ms-linear-gradient(top,  #3a3a3a 0%,#3a3a3a 50%,#3a3a3a 51%,#3a3a3a 100%);
	background: linear-gradient(top,  #3a3a3a 0%,#3a3a3a 50%,#3a3a3a 51%,#3a3a3a 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3a3a3a', endColorstr='#3a3a3a',GradientType=0 );
	border: 1px solid #3a3a3a;
	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: 1px solid #0170b9;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.resource_item_open .resource_item_header{
	border: none;
	-webkit-border-radius: 0px 0px 0px 0px;
	-moz-border-radius: 0px 0px 0px 0px;
	border-radius: 0px 0px 0px 0px;
}
h1, h2, h3, h4, h5, h6, .heading1, .heading2, .heading3, .heading4, .heading5{
	color: #3a3a3a;
	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: #ffffff;
	color: #3a3a3a;
}
.widget_tab:hover, .widget_tab_selected{
	background: #ffffff;
	color: #3a3a3a;
}
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 #3a3a3a;
}
.tab, .tab_selected, .navbar-top, .nav-mobile{
	font-weight: normal;
	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: #4b4f58;
}
.vtab{
	font-weight: normal;
	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: #4b4f58;
}
.vtab:hover, .vtab_selected{
	background: #1e73be;
	background: -webkit-gradient(linear, right, left, color-stop(0%,#1e73be), color-stop(50%,#1e73be), color-stop(51%,#1e73be), color-stop(100%,#1e73be));
	background: -moz-linear-gradient(-90deg,  #1e73be 0%, #1e73be 50%, #1e73be 51%, #1e73be 100%);
	background: -webkit-linear-gradient(-90deg,  #1e73be 0%,#1e73be 50%,#1e73be 51%,#1e73be 100%);
	background: -o-linear-gradient(-90deg,  #1e73be 0%,#1e73be 50%,#1e73be 51%,#1e73be 100%);
	background: -ms-linear-gradient(-90deg,  #1e73be 0%,#1e73be 50%,#1e73be 51%,#1e73be 100%);
	background: linear-gradient(-90deg,  #1e73be 0%,#1e73be 50%,#1e73be 51%,#1e73be 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e73be', endColorstr='#1e73be',GradientType=0 );
	color: #ffffff;
}
.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: #4b4f58;
	border-right: 0px solid #ffffff;
	border-left: 0px solid #ffffff;
	border-top: 0px solid #ffffff;
	-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: #1e73be;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e73be), color-stop(50%,#1e73be), color-stop(51%,#1e73be), color-stop(100%,#1e73be));
	background: -moz-linear-gradient(top,  #1e73be 0%, #1e73be 50%, #1e73be 51%, #1e73be 100%);
	background: -webkit-linear-gradient(top,  #1e73be 0%,#1e73be 50%,#1e73be 51%,#1e73be 100%);
	background: -o-linear-gradient(top,  #1e73be 0%,#1e73be 50%,#1e73be 51%,#1e73be 100%);
	background: -ms-linear-gradient(top,  #1e73be 0%,#1e73be 50%,#1e73be 51%,#1e73be 100%);
	background: linear-gradient(top,  #1e73be 0%,#1e73be 50%,#1e73be 51%,#1e73be 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e73be', endColorstr='#1e73be',GradientType=0 );
	color: #ffffff;
}
.tab a{
	color: #4b4f58;
}
.tab a:hover, .navbar-top a.current:hover{
	color: #ffffff;
}
.tab-bar{
	border-bottom: 1px solid #ffffff;
}
@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/midyork/);
}
#responsiveheadermessage p:before{
	content:'';
}
#responsiveheaderaltmessage p:before{
	content:'';
}
.widget{
	border: 1px solid #000000;
	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: #ffffff;
	font-weight: normal;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright: 0px;
	-moz-border-radius-bottomright: 0px;
	-moz-border-radius-bottomleft: 0px;
	-webkit-border-radius: -1px -1px 0px 0px;
	border-radius: -1px -1px 0px 0px;
	background: #0170b9;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0170b9), color-stop(50%,#0170b9), color-stop(51%,#0170b9), color-stop(100%,#0170b9));
	background: -moz-linear-gradient(top,  #0170b9 0%, #0170b9 50%, #0170b9 51%, #0170b9 100%);
	background: -webkit-linear-gradient(top,  #0170b9 0%,#0170b9 50%,#0170b9 51%,#0170b9 100%);
	background: -o-linear-gradient(top,  #0170b9 0%,#0170b9 50%,#0170b9 51%,#0170b9 100%);
	background: -ms-linear-gradient(top,  #0170b9 0%,#0170b9 50%,#0170b9 51%,#0170b9 100%);
	background: linear-gradient(top,  #0170b9 0%,#0170b9 50%,#0170b9 51%,#0170b9 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0170b9', endColorstr='#0170b9',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 -1px -1px;
	border-radius: 0px 0px -1px -1px;
}
.widgetbody p{
	margin-top:0px;
}
.widgetbody h1{
	color: #3a3a3a;
}
.pagination>.active>a, .pagination>.active>a:hover{
	background-color: #3a3a3a;
	border-color: #3a3a3a;
}
.pagination>li>a, .pagination>li>a:hover{
	color: #3a3a3a;
}
.polaris-nav-active i{
	color: #3a3a3a;
}
.widgetbody hr{
	color: #3a3a3a;
	background-color: #3a3a3a;
	margin-top: 6px;
	margin-bottom: 8px;
	height: 1px;
	border: none;
}
.toprule{
	border-top: 1px solid #3a3a3a;
}
.bottomrule{
	border-bottom: 1px solid #3a3a3a;
}
.bodytext{color: #4b4f58;}
.headingtext{color: #3a3a3a;}
::selection {
    color: #fff;
    background: #0274be;
}
html {
   font-size: 15px;
}
body {
    color: #4B4F58;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
     font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
     font-size: 15px;
}
#body {
   font-size: 15px;
   font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
}
.ast-container, .ast-container-fluid {
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
a, a:focus, a:hover, a:visited {
    text-decoration: none;
  transition: all .2s linear;
}
#body>div>.amh-row>div#idQXbwR.amh-block>.amh-content {
    max-width: 100%;
}
:root {
    --ast-border-color: #dddddd;
}
/*** navigation ***/ 
#navbar-collapse-grid > ul > li:nth-child(2) > a {
    display: none;
}
.main-navigation {
    height: 100%;
    -js-display: inline-flex;
    display: inline-flex;
}
.header-main-layout-1 .main-navigation {
    padding-left: 15px;
    vertical-align: top;
}
.fa-sort-down:before, .fa-sort-desc:before {
    content: "\f107";
    margin-left: 10px;
}
.navbar-top .navbar-nav > li > a {
    padding: 0;
    padding-top: 0;
    padding-right: 20px;
    padding-bottom: 0;
    padding-left: 20px;
   line-height: 4;
    height: 100%;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -js-display: flex;
    display: flex;
}
.main-navigation {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%; /* Ensure this matches the height of the parent container */
}

#navbar {
  display: flex;
  align-items: center;
  width: 100%;
}
.navbar-top .navbar-collapse {
    padding: 0; 
}
.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-header {
  display: flex;
  align-items: center;
}

.navbar-collapse {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1;
}

#navbar-collapse-grid > ul > li > ul {
    border-radius: 0px;
    -webkit-box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .1);
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .1);
    border-top-width: 2px;
    border-style: solid;
    border-color: #0170B9;
}
#navbar-collapse-grid > ul > li:nth-child(14) > a {
	font-size: 0px;
}
#navbar-collapse-grid > ul > li:nth-child(14) > a:after {
     content: '🔍';
      font-size: 15px;
}
/*** header ***/
.main-header-bar {
    background-color: #fff;
    border-bottom-color: var(--ast-border-color);
    border-bottom-style: solid;
}
.main-header-bar {
    margin-left: auto;
    margin-right: auto;
}
.main-header-bar {
    z-index: 4;
    position: relative;
    line-height: 4;
}
.main-header-container {
    position: relative;
}
.ast-flex {
    -js-display: flex;
    display: flex;
    flex-wrap: wrap;
}
.header-main-layout-1 .main-header-container {
    align-items: stretch;
}
.header-main-layout-1 .ast-flex.main-header-container, .header-main-layout-3 .ast-flex.main-header-container {
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.site-branding {
    line-height: 1;
    align-self: center;
}
.ast-site-identity {
    padding: 1em 0;
}
.ast-logo-title-inline .ast-site-identity {
    -js-display: inline-flex;
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    transition: all .2s linear;
}
.site-title {
    font-size: 35px;
    font-size: 2.3333333333333rem;
    display: block;
}
.site-title, .site-title a {
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
    line-height: 1.23em;
}
.site-description a, .site-description:focus a, .site-description:hover a, .site-title a, .site-title:focus a, .site-title:hover a {
    transition: all .2s linear;
}
.site-title a {
    line-height: 1.2;
}
.site-title a, .site-title a:focus, .site-title a:hover, .site-title a:visited {
    color: #222;
}
.header-main-layout-1 .ast-main-header-bar-alignment {
    margin-left: auto;
}
.header-main-layout-1 .main-header-bar-navigation {
    text-align: right;
}
.main-header-bar .main-header-bar-navigation {
    height: 100%;
}

/*** footer ***/
.site-footer {
    color: #fff;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
}
.ast-small-footer {
    line-height: 1.85714285714286;
    position: relative;
}
.footer-sml-layout-1 {
    text-align: center;
}
.ast-small-footer {
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: #7a7a7a;
}
.ast-footer-overlay {
    background-color: #3a3a3a;
    padding-top: 2em;
    padding-bottom: 2em;
}
.ast-small-footer-wrap {
    text-align: center;
}

/* Break Points */
@media (min-width: 1201px) {
    .ast-container {
        max-width: 1240px;
    }
}
@media (min-width: 769px) {
    .main-header-bar {
        border-bottom-width: 1px;
    }
  .ast-footer-overlay {
    padding-top: 2.66666em;
    padding-bottom: 2.66666em;
}
  .amev-all-events-link.eeeventall {
 display: none;
}
/*dropdown menus on hover*/
  	.dropdown:hover > .dropdown-menu {
		display: block !important;

  }
}


@media (max-width: 769px) {
.navbar-brand {
    display: none;
  }
  .navbar-top,#navbar,.main-navigation,.ast-flex,.navbar-collapse {
    display: block;
  }
  .navbar-top .navbar-nav > li > a {
    height: unset;
  }
  .main-header-bar {
    line-height: normal;
  }
  .collapse {
     display: none !important;
  }
  .collapse.in {
    display: block !important;
  }
}
div[data-widgetid='21696'] .amev-event-list{
  height: 650px !important;
  width: auto !important;
}