.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: 1160px;}
#header #layout>.amh-row>.amh-block>.amh-content, #header>.amh-row>.amh-block>.amh-content{max-width: 1160px;}
#body #layout>.amh-row, #body>div>.amh-row{max-width: 1160px;}
#body #layout>.amh-row>.amh-block>.amh-content, #body>div>.amh-row>.amh-block>.amh-content{max-width: 1160px;}
.bodysize{max-width: 1160px;}
#footer #layout>.amh-row, #footer>.amh-row{max-width: 1160px;}
#footer #layout>.amh-row>.amh-block>.amh-content, #footer>.amh-row>.amh-block>.amh-content{max-width: 1160px;}
.linkcolour, .fc-header h2, .link, .eeventcoming i,.eedate:after,.date-icon:after, a{color: #34add2;}
.link:hover, a:hover{color: #e2ab20;}
.widgetbg{background-color: #ffffff;}
.rssFeed .rssRow,.tweet_list li {border-bottom: 1px solid #cccaca;}
body{
		color: #000000;
		font-family: Verdana, Geneva, 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:#adadad;
	}
#default_footer a{
		text-decoration: underline;
		color:#adadad;
	}
.resource_item_header, .button, .button-strip a{
	font-family: Verdana, Geneva, sans-serif;
	font-weight: normal;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-color: #4196cb;
	background: #4196cb;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4196cb), color-stop(50%,#4196cb), color-stop(51%,#4196cb), color-stop(100%,#4196cb));
	background: -moz-linear-gradient(top,  #4196cb 0%, #4196cb 50%, #4196cb 51%, #4196cb 100%);
	background: -webkit-linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	background: -o-linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	background: -ms-linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	background: linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4196cb', endColorstr='#4196cb',GradientType=0 );
	border: 0px solid #4196cb;
	color: #000000;
}
.resource_item_header:hover, .button:hover, .button:focus, .button_open, .button-strip-active a, .button-strip a:hover{
	background: #4196cb;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4196cb), color-stop(50%,#4196cb), color-stop(51%,#4196cb), color-stop(100%,#4196cb));
	background: -moz-linear-gradient(top,  #4196cb 0%, #4196cb 50%, #4196cb 51%, #4196cb 100%);
	background: -webkit-linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	background: -o-linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	background: -ms-linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	background: linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4196cb', endColorstr='#4196cb',GradientType=0 );
	border: 0px solid #4196cb;
	color: #000000;
}
.button a, .button-strip a{
	color: #000000;
	text-decoration:none;
}
.button-strip-active a{
	color: #000000;
	text-decoration:none;
}
.button:hover a, .button-strip:hover a{
	color: #000000;
	text-decoration:none;
}
.button-strip a{
	font-weight:normal;
}
.resource_item_open{
	border: 0px solid #4196cb;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.resource_item_open .resource_item_header{
	border: none;
	-webkit-border-radius: 4px 4px 0px 0px;
	-moz-border-radius: 4px 4px 0px 0px;
	border-radius: 4px 4px 0px 0px;
}
h1, h2, h3, h4, h5, h6, .heading1, .heading2, .heading3, .heading4, .heading5{
	color: #3eaed0;
	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: #54647e;
	color: #ffffff;
}
.widget_tab:hover, .widget_tab_selected{
	background: #54647e;
	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 #cccaca;
}
.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: #54647e;
}
.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: #54647e;
}
.vtab:hover, .vtab_selected{
	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%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );
	color: #e2ab20;
}
.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: #54647e;
	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: #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: #e2ab20;
}
.tab a{
	color: #54647e;
}
.tab a:hover, .navbar-top a.current:hover{
	color: #e2ab20;
}
.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: Verdana, Geneva, sans-serif;
	font-weight: bold;
	background: #4196cb;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4196cb), color-stop(50%,#4196cb), color-stop(51%,#4196cb), color-stop(100%,#4196cb));
	background: -moz-linear-gradient(top,  #4196cb 0%, #4196cb 50%, #4196cb 51%, #4196cb 100%);
	background: -webkit-linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	background: -o-linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	background: -ms-linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	background: linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4196cb', endColorstr='#4196cb',GradientType=0 );
	color: #ffffff;
}
#responsiveheaderimage{
	background-image: URL(/images/logos/portage/);
}
#responsiveheadermessage p:before{
	content:'';
}
#responsiveheaderaltmessage p:before{
	content:'';
}
.widget{
	border: 1px solid #54647e;
	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: bold;
	-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: #4196cb;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4196cb), color-stop(50%,#4196cb), color-stop(51%,#4196cb), color-stop(100%,#4196cb));
	background: -moz-linear-gradient(top,  #4196cb 0%, #4196cb 50%, #4196cb 51%, #4196cb 100%);
	background: -webkit-linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	background: -o-linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	background: -ms-linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	background: linear-gradient(top,  #4196cb 0%,#4196cb 50%,#4196cb 51%,#4196cb 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4196cb', endColorstr='#4196cb',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: #3eaed0;
}
.pagination>.active>a, .pagination>.active>a:hover{
	background-color: #3eaed0;
	border-color: #3eaed0;
}
.pagination>li>a, .pagination>li>a:hover{
	color: #3eaed0;
}
.polaris-nav-active i{
	color: #3eaed0;
}
.widgetbody hr{
	color: #cccaca;
	background-color: #cccaca;
	margin-top: 6px;
	margin-bottom: 8px;
	height: 1px;
	border: none;
}
.toprule{
	border-top: 1px solid #cccaca;
}
.bottomrule{
	border-bottom: 1px solid #cccaca;
}
.bodytext{color: #000000;}
.headingtext{color: #3eaed0;}
/* 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%;
}
#idoHUdG > div > p:nth-child(3){
  display: none;
}

/* Events widget height (on https://www.portagelibrary.info/todays-events) */
body.embeded div[data-widgetid="18697"] .amev-event-list {
  height: unset !important;
  overflow-y: hidden;
}

/***MAIN***/
html {
    font-size: 16px;
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
    font-family: "ff-tisa-sans-web-pro", "Helvetica Neue", "Helvetica", sans-serif;

}
#body {
  font-size: 1em;
  -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
  font-family: "ff-tisa-sans-web-pro", "Helvetica Neue", "Helvetica", sans-serif;
}
a {
    background-color: transparent;
    color: #34add2;
    text-decoration: none;
    -webkit-transition: color .25s ease;
    -o-transition: color .25s ease;
    transition: color .25s ease;
}

/**Breakpoints***/
@media (max-width: 1053px){
    .navbar-top .navbar-nav > li > a { 
  	font-size: 15px;
}
}
@media (max-width: 1000px){
    .navbar-top .navbar-nav > li > a { 
  	font-size: 13px;
}
}
@media (max-width: 768px){
     .navbar-brand { 
  	display: none; 
}  
  .header-container {
     display: block;
  }
  #navbar-collapse-grid > ul > li > ul, .dropdown-submenu > .dropdown-menu {
     width: 100%;
  }
  #navbar-collapse-grid > ul > li > ul > li > a, .dropdown-menu>li>a {
    padding: 1.1em;
  }
  .navbar-top,.navbar-top > div > ul > li > a {
    background: 0 0 !important;
    background-color: rgb(52, 173, 210)!important;
    color: #fff !important;
    max-height: inherit;
}
  #mce_25 > header > div > div.logo > a > img {
      width: 50% !important;
    margin: auto;
    text-align: center;
    display: block;
  }
}
