.link, a{text-decoration: none;}
	.link:hover, a:hover{text-decoration: none;}.link, a{font-weight: normal;}
#header #layout>.amh-row, #header>.amh-row{max-width: 1170px;}
#header #layout>.amh-row>.amh-block>.amh-content, #header>.amh-row>.amh-block>.amh-content{max-width: 1170px;}
#body #layout>.amh-row, #body>div>.amh-row{max-width: 1170px;}
#body #layout>.amh-row>.amh-block>.amh-content, #body>div>.amh-row>.amh-block>.amh-content{max-width: 1170px;}
.bodysize{max-width: 1170px;}
#footer #layout>.amh-row, #footer>.amh-row{max-width: 1170px;}
#footer #layout>.amh-row>.amh-block>.amh-content, #footer>.amh-row>.amh-block>.amh-content{max-width: 1170px;}
.linkcolour, .fc-header h2, .link, .eeventcoming i,.eedate:after,.date-icon:after, a{color: #000000;}
.link:hover, a:hover{color: #000000;}
.widgetbg{background-color: #ffffff;}
.rssFeed .rssRow,.tweet_list li {border-bottom: 1px solid #444444;}
body{
		color: #444444;
		font-family: Georgia, 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:#0f0f0f;
	}
#default_footer a{
		text-decoration: underline;
		color:#0f0f0f;
	}
.resource_item_header, .button, .button-strip a{
	font-family: Georgia, serif;
	font-weight: normal;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color: #4a7a07;
	background: #4a7a07;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4a7a07), color-stop(50%,#4a7a07), color-stop(51%,#4a7a07), color-stop(100%,#4a7a07));
	background: -moz-linear-gradient(top,  #4a7a07 0%, #4a7a07 50%, #4a7a07 51%, #4a7a07 100%);
	background: -webkit-linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: -o-linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: -ms-linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4a7a07', endColorstr='#4a7a07',GradientType=0 );
	border: 2px solid #4a7a07;
	color: #ffffff;
}
.resource_item_header:hover, .button:hover, .button:focus, .button_open, .button-strip-active a, .button-strip a:hover{
	background: #4a7a07;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4a7a07), color-stop(50%,#4a7a07), color-stop(51%,#4a7a07), color-stop(100%,#4a7a07));
	background: -moz-linear-gradient(top,  #4a7a07 0%, #4a7a07 50%, #4a7a07 51%, #4a7a07 100%);
	background: -webkit-linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: -o-linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: -ms-linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4a7a07', endColorstr='#4a7a07',GradientType=0 );
	border: 2px solid #4a7a07;
	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 #4a7a07;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.resource_item_open .resource_item_header{
	border: none;
	-webkit-border-radius: 3px 3px 0px 0px;
	-moz-border-radius: 3px 3px 0px 0px;
	border-radius: 3px 3px 0px 0px;
}
h1, h2, h3, h4, h5, h6, .heading1, .heading2, .heading3, .heading4, .heading5{
	color: #4a7a07;
	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: #000000;
}
.widget_tab:hover, .widget_tab_selected{
	background: #ffffff;
	color: #000000;
}
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 #444444;
}
.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: #000000;
}
.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: #000000;
}
.vtab:hover, .vtab_selected{
	background: #4a7a07;
	background: -webkit-gradient(linear, right, left, color-stop(0%,#4a7a07), color-stop(50%,#4a7a07), color-stop(51%,#4a7a07), color-stop(100%,#4a7a07));
	background: -moz-linear-gradient(-90deg,  #4a7a07 0%, #4a7a07 50%, #4a7a07 51%, #4a7a07 100%);
	background: -webkit-linear-gradient(-90deg,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: -o-linear-gradient(-90deg,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: -ms-linear-gradient(-90deg,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: linear-gradient(-90deg,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4a7a07', endColorstr='#4a7a07',GradientType=0 );
	color: #000000;
}
.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: #000000;
	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: #4a7a07;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4a7a07), color-stop(50%,#4a7a07), color-stop(51%,#4a7a07), color-stop(100%,#4a7a07));
	background: -moz-linear-gradient(top,  #4a7a07 0%, #4a7a07 50%, #4a7a07 51%, #4a7a07 100%);
	background: -webkit-linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: -o-linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: -ms-linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4a7a07', endColorstr='#4a7a07',GradientType=0 );
	color: #000000;
}
.tab a{
	color: #000000;
}
.tab a:hover, .navbar-top a.current:hover{
	color: #000000;
}
.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: Georgia, 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: 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(255, 255, 255, 0);
	-moz-box-shadow: 0px 0px 1px 1px rgba(255, 255, 255, 0);
	box-shadow: 0px 0px 1px 1px rgba(255, 255, 255, 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: 0px 0px 0px 0px;
	border-radius: 0px 0px 0px 0px;
	background: #4a7a07;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4a7a07), color-stop(50%,#4a7a07), color-stop(51%,#4a7a07), color-stop(100%,#4a7a07));
	background: -moz-linear-gradient(top,  #4a7a07 0%, #4a7a07 50%, #4a7a07 51%, #4a7a07 100%);
	background: -webkit-linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: -o-linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: -ms-linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	background: linear-gradient(top,  #4a7a07 0%,#4a7a07 50%,#4a7a07 51%,#4a7a07 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4a7a07', endColorstr='#4a7a07',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: #4a7a07;
}
.pagination>.active>a, .pagination>.active>a:hover{
	background-color: #4a7a07;
	border-color: #4a7a07;
}
.pagination>li>a, .pagination>li>a:hover{
	color: #4a7a07;
}
.polaris-nav-active i{
	color: #4a7a07;
}
.widgetbody hr{
	color: #444444;
	background-color: #444444;
	margin-top: 6px;
	margin-bottom: 8px;
	height: 1px;
	border: none;
}
.toprule{
	border-top: 1px solid #444444;
}
.bottomrule{
	border-bottom: 1px solid #444444;
}
.bodytext{color: #444444;}
.headingtext{color: #4a7a07;}
/* target a div to allow a content block to go full width */
#body > div > .amh-row > div#idQXbwR.amh-block > .amh-content {
  max-width: 100%;
}

/* Fonts */

html {
  font-weight: 400;
  font-size: 16px;
}

body {
  font-family: 'Droid Serif','Lora','Georgia',serif
  font-weight: 400;
  color: #545454;
}

#body {
  font-family: 'Droid Serif','Lora','Georgia',serif
  font-weight: 400;
  font-size: 16px;
  color: #545454;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Droid Serif','Lora','Georgia',serif
  line-height: normal;
  font-weight: normal;
  text-decoration: none;
  font-style: normal;
}
.button {
   text-decoration: none;
}

::selection {
    background-color: #4a7a07;
      color: #fff;
}


/***************** NAVIGATION *****************/
/*dropdown menus on hover*/
@media (min-width: 768px){
	.dropdown:hover > .dropdown-menu {
		display: block !important;
	}
  .navbar-collapse {
    width: auto;
    border-top: 0;
    box-shadow: none;
}
}
/* hides the home tab - which is actually the second menu item DO NOT DELETE */

#navbar-collapse-grid > ul > li:nth-child(2) {
  display: none;
}
.navbar-top .navbar-nav > li > a {
      line-height: 30px;
      font-size: 18px;
      padding: 10px 15px;
      padding-top: 18px;
      padding-bottom: 18px;
}
.nav.navbar-nav {
    float: right;
}
#header {
    padding-top: 15px;
    padding-bottom: 15px;
}
#idVig1R > div {
    border-bottom: 1px solid #eee;
      padding-left: 15px;
    padding-right: 15px;
}
#branding .header-logo {
    float: left;
    padding: 35px 20px 0 0;
}
#branding > div.header-logo > a > img {
    opacity: .85;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
.navbar-top .navbar-collapse {
     padding: 0;
      padding-right: 15px;
    padding-left: 15px;
}
.dropdown-menu >li >a {
    padding: 14px 20px;
    font-size: 16px;
}
.dropdown-menu >li >a:hover {
       background-color: #4a7a07;
       color: #000;
}
#navbar-collapse-grid > ul > li > ul {
   padding: 0;
}
.navbar {
  border: 0;
  border-radius: 0;
}
.navbar-collapse {
    max-height: 340px;
    overflow-x: visible;
    padding-right: 15px;
    padding-left: 15px;
    border-top: 0px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
    -webkit-overflow-scrolling: touch;
}
.fa-sort-down:before, .fa-sort-desc:before {
    content: "\f0d7";
}
#navbar-collapse-grid > ul > li > a > i {
  font-size: 12px;
      margin-left: 2px;
}
/**** FOOTER *****/

#footer .copyright {
    margin-top: 20px;
    float: right;
    text-align: right;
    font-size: 14px;
}

#footer .footer-menu {
    margin-top: 10px;
    float: left;
    text-align: left;
}

#footer a {
     color: #000;
     font-size: 1.3em;
      text-decoration: none;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}
.scroll-to-top {
    background: #363636;
    background: rgba(100,100,100,0.4);
    color: #FFF;
    bottom: 4%;
    cursor: pointer;
    display: none;
    position: fixed;
    right: 20px;
    z-index: 999;
    font-size: 16px;
    text-align: center;
    line-height: 40px;
    width: 40px;
    border-radius: 4px;
    -webkit-transition: background-color 0.3s linear;
    -moz-transition: background-color 0.3s linear;
    -o-transition: background-color 0.3s linear;
    transition: background-color 0.3s linear;
}
.scroll-to-top:hover {
    background-color: rgba( 74, 122, 7, 0.8 );
}
.scroll-to-top:hover {
    opacity: .8;
}
@media (max-width: 768px){
	.nav.navbar-nav {
    float: unset;
}
}

