/* Reports widget */

tbody tr:nth-of-type(odd) {
  background: #f8f8f8 !important;
}

tbody tr:nth-of-type(even) {
  background: #ffffff !important;
}

.mfn-archive-header {
  background-color: #ffffff !important;
  font-family: "avenir";
  color: #3494d8 !important;
  padding-bottom: 0.5rem !important;
  padding-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  border-bottom: 1px solid #bdbdbd;
  border-bottom: 1px solid rgb(104 104 104 / 75%);
}

.mfn-archive-header-year {
  font-size: 22px !important;
}

.mfn-archive-event-heading {
  padding-bottom: 18px !important;
}

.mfn-archive-event-title {
  font-family: "avenir";
  font-size: 17px !important;
}

.mfn-archive-event-date {
  font-size: 16px !important;
  line-height: 120%;
  color: #3d3d3d !important;
}

.mfn-archive-header-item-type {
  text-align: center !important;
}

.mfn-archive-item {
  padding-top: 1rem !important;
}

@media all and (min-width: 1024px) {
  /* Remove padding on first table */
  .mfn-archive table > tbody:first-of-type > tr:first-of-type > td {
    padding-top: 0 !important;
  }
}

@media all and (min-width: 480px) {
  /* Align document icon with event title */
  .mfn-archive .mfn-archive-item img {
    transform: translateY(10px);
  }
}

@media all and (max-width: 480px) {
  td.mfn-archive-header-item-type {
    display: none;
  }
  .mfn-archive-item {
    text-align: left !important;
    padding-top: 0 !important;
    padding-bottom: 0.5rem !important;
  }

  .mfn-archive-year tr:nth-of-type(2) .mfn-archive-event-heading {
    padding-top: 0;
  }

  .mfn-archive-item a {
    display: inline-flex;
    align-items: center;
  }

  .mfn-archive-item-type-report-pdf a:after,
  .mfn-archive-item-type-report-esef-xhtml a:after {
    margin-left: 1rem;
  }

  .mfn-archive-item-type-report-pdf a:after {
    content: "Report";
  }
  .mfn-archive-item-type-report-esef-xhtml a:after {
    content: "Report Esef Xhtml";
  }
}

/* News widget */

#front-news .mfn-tag {
  display: none;
}

#front-news .mfn-item,
#side-menu-wrapper .mfn-item {
  margin-bottom: 0;
  padding: 25px 0px 10px;
  border-bottom: 1px solid #686868;
  border-bottom: 1px solid rgb(104 104 104 / 75%);
}

#front-news .mfn-newsfeed .mfn-list > div:last-of-type,
#side-menu-wrapper .mfn-newsfeed .mfn-list > div:last-of-type {
  padding-bottom: 0px;
  border-bottom: none;
}
/*
#front-news .mfn-item-header,
#side-menu-wrapper .mfn-item-header {
  display: flex;
}

#front-news .mfn-item-header .mfn-title,
#side-menu-wrapper .mfn-title {
  order: 1;
}

#front-news .mfn-item-header .mfn-date,
#side-menu-wrapper .mfn-date {
  order: 2;
}

#front-news .mfn-item-header .mfn-tag,
#side-menu-wrapper .mfn-tag {
  order: 3;
}
*/

#front-news .mfn-item .mfn-title,
#side-menu-wrapper .mfn-item .mfn-title {
  font-size: 20px !important;
  margin-top: 0px;
  margin-bottom: 2px;
}

#front-news .mfn-item .mfn-date,
#side-menu-wrapper .mfn-item .mfn-date {
  color: #bfbfbf;
  color: #686868;
  color: rgb(104 104 104 / 75%);
}

#side-menu-wrapper .mfn-item a {
  color: #3494d8;
  font-weight: bold;
  text-decoration: none;
  /*text-decoration: underline;*/
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

#side-menu-wrapper .mfn-item a:hover {
  color: #48a7ea;
  /*text-decoration: underline;*/
}

#side-menu-wrapper .mfn-item .mfn-tags {
  order: 2;
  display: none;
}

.mfn-filter-container label {
  font-family: "avenir";
  display: inline-block;
  margin: 0 0 7px 3px;
  color: #3d3d3d;
  font-weight: bold;
  cursor: pointer;
}

.mfn-filter-container select {
  margin-left: 10px;
  border-radius: 3px;
  border: 2px solid #cdcdcd;
  font-size: 18px;
  height: unset;
}

.page-press-releases .mfn-item {
  margin-top: 30px;
  margin-bottom: 0;
}

.page-press-releases .mfn-list > div:first-of-type {
  margin-top: 20px;
}

.mfn-item-header {
  display: flex;
}

.mfn-item-header .mfn-title {
  order: 2;
}

.mfn-item-header .mfn-date {
  order: 1;
}

.mfn-item-header .mfn-tags {
  order: 3;
}

.mfn-title {
  font-family: "avenir";
  font-size: 21px;
}

.mfn-newsfeed .mfn-title {
  margin-bottom: 6px;
}

.mfn-tags {
  border-left: 6px solid #3594d8;
  padding-left: 6px;
}
.mfn-tag {
  background-color: #ffffff;
  color: #5a5a5a;
  padding: 3px 8px 0px;
  font-family: "avenir";
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 140%;
}
.mfn-item-body .mfn-preview {
  margin-top: 15px;
}

@media all and (max-width: 480px) {
  .mfn-filter-container {
    /*
    flex-direction: column;
    flex-wrap: nowrap;
    */
  }

  .mfn-newsfeed-category-selector,
  .mfn-newsfeed-year-selector {
    /*
    display: block;
    margin-right: 0;
    */
  }
  .mfn-filter-container label {
    display: block;
    margin-left: 0 !important;
  }

  .mfn-filter-container select {
    display: block;
    width: 100%;
    margin-left: 0 !important;
  }
}

/* Newsfeed pagination */
 {
}
.mfn-page-link-next:only-child {
  margin-left: auto;
}

/* Single */

.mfn_news-template-default.single .news-category-date {
  color: #bfbfbf;
  color: #686868;
  color: rgb(104 104 104 / 75%);
}

/* Subscribe */
.mfn-subscribe .mfn-info-options,
.mfn-subscribe .mfn-info-languages {
  margin-top: 15px;
  margin-bottom: 0;
}

.mfn-subscribe .mfn-options,
.mfn-subscribe .mfn-languages {
  margin-top: 0;
}

.mfn-subscribe .mfn-options ul,
.mfn-subscribe .mfn-languages ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /*flex-wrap: wrap;
  gap: 15px;*/
}

.mfn-subscribe .mfn-options ul,
.mfn-subscribe .mfn-languages ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /*flex-wrap: wrap;
  gap: 15px;*/
}

.page-template-default .mfn-subscribe .mfn-options ul,
.page-template-default .mfn-subscribe .mfn-languages ul {
  grid-template-columns: repeat(4, 1fr);
}

.mfn-subscribe .mfn-options ul li,
.mfn-subscribe .mfn-languages ul li {
  margin-top: 5px;
}

.mfn-subscribe .mfn-fields,
.mfn-subscribe .mfn-policy,
.mfn-subscribe .mfn-submit {
  margin-top: 15px;
}

.mfn-subscribe .mfn-policy .mfn-policy-text,
.mfn-subscribe .mfn-policy .mfn-policy-approve {
  display: block;
  /*
  display: grid;
  grid-template-columns: 1fr 1fr;
  */
}

.mfn-subscribe .mfn-policy .mfn-policy-approve {
  margin-top: 4px;
}

.mfn-subscribe .mfn-status .mfn-alert {
  color: #e12e2e;
  font-weight: bold;
  margin-top: 15px;
}

.mfn-subscribe .mfn-status .mfn-success {
  font-weight: bold;
  margin-top: 15px;
}

.mfn-subscribe .mfn-status .mfn-success:before {
  content: "✔";
  margin-right: 10px;
  color: #44c839;
}

/* Buttons */

/* Clear button styles */
.mfn-sub-submit {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

.mfn-page-link,
.mfn-sub-submit {
  padding: 6px 10px 4px 10px;
  margin-top: 12px;
  display: inline-block;
  /*float: left;*/

  font-family: "avenir";
  text-decoration: none;
  color: #3494d8;
  font-weight: normal;
  font-size: 18px;
  text-transform: uppercase;

  background-color: #ffffff;
  border: solid 2px #3494d8;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;

  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
}

.mfn-sub-submit:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.mfn-page-link:hover,
.mfn-sub-submit:hover {
  border: 2px solid #ff9c00;
  background-color: #ff9c00;
  color: #fff !important;
}

/* Inputs */
.mfn-filter-container select,
.mfn-subscribe .mfn-field-input {
  margin-left: 10px;
  border-radius: 3px;
  border: 2px solid #cdcdcd;
  font-size: 18px;
  height: unset;
}

.mfn-subscribe .mfn-field-input {
  margin-left: 0;
  padding: 8px 6px;
  box-sizing: border-box;
  width: 35%;
}

#front-news .mfn-subscribe .mfn-field-input {
  width: 45%;
}

@media all and (max-width: 720px) {
  .page-template-default .mfn-subscribe .mfn-options ul,
  .page-template-default .mfn-subscribe .mfn-languages ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .mfn-subscribe .mfn-field-input {
    width: 75% !important;
  }
}

@media all and (max-width: 480px) {
  .mfn-subscribe .mfn-field-input {
    width: 100% !important;
  }
}

/* Misc */
@media all and (max-width: 1024px) {
  .mfn_news-template-default #side-menu-wrapper {
    display: block;
    width: 95%;
    margin: 0 auto;
  }
}
