/* CSS Document */
/*
Theme Name: M&T Bank
Theme URI: https://mtb.com/
Description: 爱永的作品。
Author: 爱永
Author URI: http://www.aysheji.com/
Date:2025-11-26
Version: 1.0
License: 爱永许可认证
License URI: http://www.aysheji.com/
Tags: 网站开发定制
*/

.mainmenu {
}
.mainmenu ul {
	display:flex;
	gap:35px;
	padding:0;
}
.mainmenu li {
	list-style:none;
}
.mainmenu li a, .mainmenu li a:visited {
	color: #ffffff;
	font-size: 1.25rem;
	text-underline-offset: 0.25em;
	white-space:nowrap;
	text-decoration-thickness: 1px;
	text-decoration-color: transparent;
}
.mainmenu li a:hover {
	color: #ffffff;
	text-decoration-color: var(--color-accent-1);
}
.mtb-nav-logo img {
	width:170px;
	height:auto;
}
 @media screen and (max-width:767px) {
 .mtb-nav-logo img {
 width:27vw;
 height:auto;
}
}
img[data-id-element="bs_img-604376653"] {
	width:22px;
	height:17px;
}
img[data-id-element="bs_img-604376653"] {
	transform: translateY(1px);
}
span[data-cta-text-for="bs_img-604376653"] {
	padding-left: 0.7em;
}
img[data-id-element="bs_img-604376653"] {
	margin-right: -5px !important;
}


.newsitem .border-gray{ height:345px;}

 p.heightkz{ height:72px;}
 @media screen and (max-width:767px) {
 img[data-id-element="bs_img-604376653"] {
 width:22px;
 height:17px;
}
 p.heightkz{ height:auto;}
 .newsitem .border-gray{ height:auto;}
}
.footeryslist a {
	color: inherit !important;
}
.footer-icon-column .btn-icon {
	padding: 0;
	margin: 0 !important;
}
.footer-icon-column .btn-icon span {
	color: var(--color-primary);
}
.secColBtnPar {
	margin-bottom: 0.5rem !important;
	width: 100%;
}
.secColBtn {
	text-align: left;
}
.search-col, .social-col {
	padding: 0px;
}
[data-component-type="rte"] a:hover {
	text-decoration: underline;
}
#ehlLogo > .row > * {
	width: auto !important;
}
#ehlLogo > .row > *:first-child {
	padding-right: 0;
}
#ehlLogo > .row > *:first-child > img {
	vertical-align: text-bottom;
}
 @media screen and (min-width: 992px) {
 .footer-icon-column[data-col-features="mtb-col-pipes"] > .row > div + div {
 padding-left: 3.125rem !important;
}
}
 @media screen and (min-width: 541px) and (max-width: 1139px) {
 div#footerBodyWrapper > .flex-md-nowrap {
 flex-wrap: wrap !important;
}
 div#footerBodyWrapper > .flex-md-nowrap > div {
 flex-basis: 100% !important;
}
}
 @media screen and (max-width: 1139px) {
 div#lowerSectionRTE > p {
 text-align: left !important;
}
}
 @media screen and (min-width: 541px) and (max-width: 1139px) {
 div#footerCopyright > .flex-md-nowrap {
 flex-wrap: wrap !important;
}
 div#footerCopyright > .flex-md-nowrap > div {
 flex-basis: 100% !important;
}
}
 @media screen and (min-width: 768px) {
 .lowerSectionRTE > p > a+a:before {
 padding-right: .625em;
 content: "|";
 color: var(--color-black);
 display: inline-block;
}
}
 @media screen and (max-width: 767px) {
 .lowerSectionRTE a {
 display: block;
}
}




[data-component-type="cta"] [data-icon-for="bs_ctaBtn-199386589"]:after,  .mtb-tabsWrapper > .btn-icon-tab [data-icon-for="bs_ctaBtn-199386589"]:after {
	background-image:url('images/icon-phone-dark-green.svg');
	transform: translateY(0px);
}
[data-component-type="cta"] #bs_ctaBtn-199386589:hover [data-icon-for="bs_ctaBtn-199386589"]:after,  [data-component-type="cta"] #bs_ctaBtn-199386589:focus [data-icon-for="bs_ctaBtn-199386589"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-199386589:hover [data-icon-for="bs_ctaBtn-199386589"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-199386589:focus [data-icon-for="bs_ctaBtn-199386589"]:after {
	background-image:url('images/icon-phone-dark-green.svg');
}
span[data-cta-text-for="bs_ctaBtn-199386589"] {
	padding-left: 0.7em;
}
[data-component-type="cta"] [data-icon-for="bs_ctaBtn-589989039"]:after,  .mtb-tabsWrapper > .btn-icon-tab [data-icon-for="bs_ctaBtn-589989039"]:after {
	background-image:url('images/icon_location_green.svg');
	transform: translateY(0px);
}
[data-component-type="cta"] #bs_ctaBtn-589989039:hover [data-icon-for="bs_ctaBtn-589989039"]:after,  [data-component-type="cta"] #bs_ctaBtn-589989039:focus [data-icon-for="bs_ctaBtn-589989039"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-589989039:hover [data-icon-for="bs_ctaBtn-589989039"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-589989039:focus [data-icon-for="bs_ctaBtn-589989039"]:after {
	background-image:url('images/icon_location_green.svg');
}
span[data-cta-text-for="bs_ctaBtn-589989039"] {
	padding-left: 0.7em;
}
[data-component-type="cta"] [data-icon-for="bs_ctaBtn-1337560187"]:after,  .mtb-tabsWrapper > .btn-icon-tab [data-icon-for="bs_ctaBtn-1337560187"]:after {
	background-image:url('images/icon_msgbox_green.svg');
	transform: translateY(0px);
}
[data-component-type="cta"] #bs_ctaBtn-1337560187:hover [data-icon-for="bs_ctaBtn-1337560187"]:after,  [data-component-type="cta"] #bs_ctaBtn-1337560187:focus [data-icon-for="bs_ctaBtn-1337560187"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-1337560187:hover [data-icon-for="bs_ctaBtn-1337560187"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-1337560187:focus [data-icon-for="bs_ctaBtn-1337560187"]:after {
	background-image:url('images/icon_msgbox_green.svg');
}
span[data-cta-text-for="bs_ctaBtn-1337560187"] {
	padding-left: 0.7em;
}
[data-component-type="cta"] [data-icon-for="bs_ctaBtn-641587120"]:after,  .mtb-tabsWrapper > .btn-icon-tab [data-icon-for="bs_ctaBtn-641587120"]:after {
	background-image:url('images/icon_plus_green.svg');
	transform: translateY(0px);
}




[data-component-type="cta"] #bs_ctaBtn-641587120:hover [data-icon-for="bs_ctaBtn-641587120"]:after,  [data-component-type="cta"] #bs_ctaBtn-641587120:focus [data-icon-for="bs_ctaBtn-641587120"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-641587120:hover [data-icon-for="bs_ctaBtn-641587120"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-641587120:focus [data-icon-for="bs_ctaBtn-641587120"]:after {
	background-image:url('images/icon_plus_green.svg');
}
span[data-cta-text-for="bs_ctaBtn-641587120"] {
	padding-left: 0.7em;
}
[data-component-type="cta"] [data-icon-for="bs_ctaBtn-138629146"]:after,  .mtb-tabsWrapper > .btn-icon-tab [data-icon-for="bs_ctaBtn-138629146"]:after {
	background-image:url('images/icon_lock_green.svg');
	transform: translateY(0px);
}
[data-component-type="cta"] #bs_ctaBtn-138629146:hover [data-icon-for="bs_ctaBtn-138629146"]:after,  [data-component-type="cta"] #bs_ctaBtn-138629146:focus [data-icon-for="bs_ctaBtn-138629146"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-138629146:hover [data-icon-for="bs_ctaBtn-138629146"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-138629146:focus [data-icon-for="bs_ctaBtn-138629146"]:after {
	background-image:url('images/icon_lock_green.svg');
}
span[data-cta-text-for="bs_ctaBtn-138629146"] {
	padding-left: 0.7em;
}
[data-component-type="cta"] [data-icon-for="bs_ctaBtn-437734497"]:after,  .mtb-tabsWrapper > .btn-icon-tab [data-icon-for="bs_ctaBtn-437734497"]:after {
	background-image:url('images/icon_facebook_green.svg');
	transform: translateY(0px);
}
[data-component-type="cta"] #bs_ctaBtn-437734497:hover [data-icon-for="bs_ctaBtn-437734497"]:after,  [data-component-type="cta"] #bs_ctaBtn-437734497:focus [data-icon-for="bs_ctaBtn-437734497"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-437734497:hover [data-icon-for="bs_ctaBtn-437734497"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-437734497:focus [data-icon-for="bs_ctaBtn-437734497"]:after {
	background-image:url('images/icon_facebook_green.svg');
}
span[data-cta-text-for="bs_ctaBtn-437734497"] {
	padding-left: 0.7em;
}
[data-component-type="cta"] [data-icon-for="bs_ctaBtn-998240573"]:after,  .mtb-tabsWrapper > .btn-icon-tab [data-icon-for="bs_ctaBtn-998240573"]:after {
	background-image:url('images/gram.svg');
	transform: translateY(0px);
}
[data-component-type="cta"] #bs_ctaBtn-998240573:hover [data-icon-for="bs_ctaBtn-998240573"]:after,  [data-component-type="cta"] #bs_ctaBtn-998240573:focus [data-icon-for="bs_ctaBtn-998240573"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-998240573:hover [data-icon-for="bs_ctaBtn-998240573"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-998240573:focus [data-icon-for="bs_ctaBtn-998240573"]:after {
	background-image:url('images/gram.svg');
}
span[data-cta-text-for="bs_ctaBtn-998240573"] {
	padding-left: 0.7em;
}
[data-component-type="cta"] [data-icon-for="bs_ctaBtn-830982786"]:after,  .mtb-tabsWrapper > .btn-icon-tab [data-icon-for="bs_ctaBtn-830982786"]:after {
	background-image:url('images/icon_twitter_green.svg');
	transform: translateY(0px);
}
[data-component-type="cta"] #bs_ctaBtn-830982786:hover [data-icon-for="bs_ctaBtn-830982786"]:after,  [data-component-type="cta"] #bs_ctaBtn-830982786:focus [data-icon-for="bs_ctaBtn-830982786"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-830982786:hover [data-icon-for="bs_ctaBtn-830982786"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-830982786:focus [data-icon-for="bs_ctaBtn-830982786"]:after {
	background-image:url('images/icon_twitter_green.svg');
}
span[data-cta-text-for="bs_ctaBtn-830982786"] {
	padding-left: 0.7em;
}
[data-component-type="cta"] [data-icon-for="bs_ctaBtn-1656023815"]:after,  .mtb-tabsWrapper > .btn-icon-tab [data-icon-for="bs_ctaBtn-1656023815"]:after {
	background-image:url('images/icon_linkedin_green.svg');
	transform: translateY(0px);
}
[data-component-type="cta"] #bs_ctaBtn-1656023815:hover [data-icon-for="bs_ctaBtn-1656023815"]:after,  [data-component-type="cta"] #bs_ctaBtn-1656023815:focus [data-icon-for="bs_ctaBtn-1656023815"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-1656023815:hover [data-icon-for="bs_ctaBtn-1656023815"]:after,  .mtb-tabsWrapper > #bs_ctaBtn-1656023815:focus [data-icon-for="bs_ctaBtn-1656023815"]:after {
	background-image:url('images/icon_linkedin_green.svg');
}
span[data-cta-text-for="bs_ctaBtn-1656023815"] {
	padding-left: 0.7em;
}

.footercontactlist .d-inline-block{ margin-bottom:10px;}

.footeraboutlist .d-inline-block{ margin-bottom:10px; display:block;}


@media(max-width:768px){
	#bs_nav-1933030299{ height:60px; display:flex; align-items:center;}
	.ayheader{ position:relative;}
	.ayheader .icon-link-menu{ position:absolute; width:auto; right:0px; top:7px;}
	.mainmenuall{ position:fixed; width:100%; height:100%; background:#007856; margin:0; padding:0; left:-100%; top:60px; z-index: 9999; transition: all 0.3s; }
	.mainmenuall.show{ left:0;}
	
	.mainmenu ul{flex-direction: column;}
	.mtb-nav1{ padding:20px; height: 100%;}
	.mtb-nav1, .mainmenu li{ width:100%;}
	.mainmenu li a{ display:block;}
	
	.ayheader .colsemenubn{ display:none; color:#fff; right: 12px;    position: relative; background: transparent url(images/profiltercolsebtn.svg) center/1em auto no-repeat;}
	.ayheader .colsemenubn.show{ display:block;}
}


/*Business*/
.sitealliconlist .iconforbtn{  margin-bottom: 10px;}
.sitealliconlist .iconforbtn img {
  height: 3em;
  width: 3em;
}

.btnColumn .d-table-cell {
    text-align: center;
padding-left: 0.3125rem !important;
padding-right: 0.3125rem !important;
}

.btnColumn .btn-icon {

padding-left: 0px !important;
padding-right: 0px !important;
}

@media screen and (max-width: 1139px){
.btnColumn .btn-icon {
font-size: 12px !important;
}
}


img[data-id-element="bs_img-889111066"]{
        width:auto;
        height:auto;
    }

.busthree .liicon .iconText{padding-left: 0.7em;}
.buseight .buseighticon{width:48px;
        height:48px;}

/*Commercial*/
.commerthree .itemimg {
 background-position: center;
 background-size: 100%;
 background-repeat: no-repeat;
}
@media screen and (min-width:768px) {
 .commerthree .itemimg {
 aspect-ratio: 2/1;
}
}
 @media screen and (max-width:767px) {
 .commerthree .itemimg {
 aspect-ratio: 2/1.25;
 background-position: center;
 background-size: auto 100%;
}
}


.commersix .bgimg {
 background-position: right top;
 background-size: 100%;
 background-repeat: no-repeat;
}
@media screen and (max-width:767px) {
 .commersix .bgimg {
 aspect-ratio: 2/1.25;
 background-position: center;
 background-size: auto 100%;
}
}

/*Platinum*/
.platinumfour .itemimg, .roleimgaytongy{
 background-position: center;
 background-size: 100%;
 background-repeat: no-repeat;
}
@media screen and (min-width:768px) {
 .platinumfour .itemimg, .roleimgaytongy{
 aspect-ratio: 2/1;
}
}
 @media screen and (max-width:767px) {
 .platinumfour .itemimg, .roleimgaytongy{
 aspect-ratio: 2/1.25;
 background-position: center;
 background-size: cover;
}
}

.aboutsix .iconText{ padding-left: 0.7em;}


.newslist{ gap:10px 30px;}
.newsitem{ width:calc(50% - 15px);}

/*分页样式开始*/
#pageabc{text-align:center;margin:40px 0 0 0;clear:both;height:auto;overflow:hidden;color:#333;line-height:23px;}
#pageabc a.noallowed{cursor: not-allowed;}
#pageabc span,#pageabc a{font-size:16px;color:#595757;padding:6px 14px; border-radius:5px; border:1px solid #ccc; background:#fff; text-decoration:none;margin:3px 5px;display:inline-block;text-align:center;}
#pageabc a:hover,#pageabc a.current{color:#fff;background-color:#000;border:1px solid #000;}
/*分页样式结束*/

@media(max-width:768px){
	#pageabc{margin-top:20px;}	
	
	.newslist{ gap:0px 0px;}
	.newsitem{ width:100%; margin-top:20px;}
	
}















