.mega-menu
.table-menu .poly:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 0px solid transparent;
  border-right: 28px solid transparent;
  border-top: 43px solid #3a4f7e;
}
.mega-menu
.table-menu .poly:before {
  content: "";
  width: 0;
  height: 0;
  border-left: 28px solid transparent;
  border-right: 0px solid transparent;
  border-bottom: 43px solid #3a4f7e;
}
.mega-menu
.table-menu .poly:hover, .mega-menu
.table-menu .poly.active {
  background-color: unset;
}
.mega-menu
.table-menu .menu-item.poly {
  display: flex;
  margin-right: -43px;
}
.mega-menu
.table-menu .menu-item.poly > .wrap {
  background-color: #3a4f7e;
  border-radius: unset !important;
  display: flex;
  align-items: center;
}
.mega-menu
.table-menu tr {
  display: flex;
  flex-direction: row;
}
.mega-menu
.table-menu tr td .wrap > a .line-wrapper {
  left: -38px;
  /*display: block;*/
}
.mega-menu
.table-menu tr td .wrap > a .line-wrapper .line {
  bottom: -18px;
}
.mega-menu
.table-menu tr td .wrap:hover > a .line-wrapper .line {
  right: -50px;
  /*display: block;*/
}
.mega-menu
.table-menu .calculator_menu {
  /*.dropdown-menu {
    left: 0 !important;
  }*/
}
.mega-menu
.table-menu .calculator_menu .menu-navigation {
  width: max-content;
}
.mega-menu
.table-menu .calculator_menu .menu-navigation__sections-wrapper {
  width: auto;
  max-width: 1000px;
}
.mega-menu
.table-menu .calculator_menu .tm-calc-row-with-images {
  display: flex;
  flex-direction: row;
  padding: 35px 28px 24px;
}
.mega-menu
.table-menu .calculator_menu .tm-calc-row-with-images:first-of-type {
  padding: 35px 28px 24px;
}
.mega-menu
.table-menu .calculator_menu .tm-calc-row-with-images:last-of-type {
  padding: 24px 28px 35px;
}
.mega-menu
.table-menu .calculator_menu .tm-calc-image-wrapper {
  min-width: 175px;
}
.mega-menu
.table-menu .calculator_menu .tm-calc-image-wrapper img {
	min-width: 100%;
	max-width: 175px;
	height: auto;
	border: 1px solid #506caf;
}
.mega-menu .table-menu .calculator_menu .tm-calc-image-wrapper img:hover{cursor: pointer;}
.mega-menu
.table-menu .calculator_menu .tm-calc-text-wrapper {
  max-width: 700px;
}
.mega-menu
.table-menu .calculator_menu .tm-calc-text-wrapper .menu-navigation__sections-item-link {
  font-size: 16px;
  color: #506caf !important;
  font-weight: 700;
  font-family: "Montserrat";
  padding: 0 0 20px;
  text-transform: uppercase;
  text-decoration: underline;
}
.mega-menu
.table-menu .calculator_menu .tm-calc-image-wrapper + .tm-calc-text-wrapper {
  margin-left: 25px;
}
.mega-menu
.table-menu .calculator_menu .tm-calc-include-wrapper {
  font-size: 12px;
}

.menu-row.middle-block:not(.bglight) .line-wrapper {
  display: block;
}

.mega-menu td.wide_menu.wide_menu .wrap > a .line-wrapper .line {
  display: block;
}

#headerfixed .mega-menu .table-menu .poly:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 0 solid transparent;
  border-right: 29px solid transparent;
  border-top: 44px solid #3a4f7e;
}
#headerfixed .mega-menu .table-menu .poly:before {
  content: "";
  width: 0;
  height: 0;
  border-left: 29px solid transparent;
  border-right: 0 solid transparent;
  border-bottom: 44px solid #3a4f7e;
}
#headerfixed .mega-menu .table-menu td .wrap > a .svg:not(.svg-inline-down) {
  opacity: 1;
}
#headerfixed .mega-menu .table-menu td .wrap > a, #headerfixed .mega-menu .table-menu td .wrap > a div, #headerfixed .mega-menu .table-menu td .wrap > a :hover {
  font-size: 15px;
  line-height: 22px;
  color: #FFFFFF !important;
  text-transform: unset;
}
#headerfixed .mega-menu .table-menu td .wrap > a .line-wrapper {
  left: -28px;
}
#headerfixed .mega-menu .table-menu td .wrap > a .line-wrapper .line {
  bottom: -16px;
}
#headerfixed .mega-menu .table-menu td .wrap:hover > a .line-wrapper .line {
  right: -28px;
  display: block;
}

.headerfixed-custom .menu-item.poly {
  display: flex;
  margin-right: -36px;
  padding-left: 8px;
}

.menu-item.poly > .wrap {
  background-color: #3a4f7e;
  border-radius: unset !important;
  display: flex;
  align-items: center;
}

.table-menu tr {
  display: flex;
  flex-direction: row;
}

.headerfixed-custom .mega-menu .table-menu td.active .wrap > a .svg path,
.headerfixed-custom .top-btn .svg.inline:hover svg path,
.headerfixed-custom .top-btn:hover .svg.inline svg path,
.headerfixed-custom .svg.inline:not(.colored):hover svg path,
.headerfixed-custom a:hover .svg.inline path {
  fill: #ef7d1c !important;
}

#headerfixed .logo-row.v3.headerfixed-custom .mega-menu table td .wrap > a {
  padding: 11px 0px 11px;
}

#headerfixed .logo-row .logo img {
  max-height: 33px;
}

@media (max-width: 1500px) {
  .headerfixed-custom .mega-menu table td .wrap > a,
  .headerfixed-custom .mega-menu table td .wrap > a div,
  .headerfixed-custom .mega-menu table td .wrap > a :hover {
    font-size: 12px;
    line-height: 22px;
    color: #FFFFFF !important;
    text-transform: unset;
  }
}
.table-menu .menu-navigation {
  max-height: 630px;
  max-width: 100%;
  height: auto;
}
.menu-navigation__sections-item:hover{
  background: #eee;
}