

body { 
  margin: 0px; 
  padding: 0px;
  font-family: var(--main-font-family);
  color: var(--color-main-font);
}

html, body {
  overflow: auto;
}

a {
  text-decoration: none;
}

/* Toggle responsive elements */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.desktop-only-flex {
  display: flex;
}

.mobile-only-flex {
  display: none;
}

.desktop-only-table {
  display: table;
}

.mobile-only-table {
  display: none;
}

/* Heading */
h1, h2, h3, h4 {
  word-wrap: break-word;
  margin: 0;
  width: 95%;
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--h1-font-weight);
  line-height: var(--h1-line-height);
}

h1 a {
  color: var(--color-main-news-font);
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--h2-font-weight);
  line-height: var(--h2-line-height);
}

h3 {
  font-size: var(--h3-font-size);
  font-weight: var(--h3-font-weight);
  line-height: var(--h3-line-height);
}

h4 {
  font-size: var(--h4-font-size);
  font-weight: var(--h4-font-weight);
  line-height: var(--h4-line-height);
}

h2 a, h3 a, h4 a {
  color: var(--color-main-font);
}

/* Modal backdrop */
#modal-backdrop{
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  background-color:rgba(0,0,0,0.8);
  z-index:var(--z-index-overlay);
}

/*nav and menu bar*/

.top-nav-bar-container {
  width: 100%;
  min-width: 300px;
  max-width: 1111px;
  margin: 0 auto;
}

.top-nav-bar {
  background-color: var(--wc26_red);
  height: 36px;
}

.top-nav-bar ul {
  float: left;
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-left: 10px;
}

.top-nav-bar li {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  margin-top: 10px;
  margin-right: 12px;
}

.top-nav-bar li a {
  color: var(--color-nav-font);
}

.top-nav-bar li a:hover, a.top-nav-bar-link:hover {
  color: var(--color-secondary-accent);
  cursor: pointer;
}

a.top-nav-bar-link, a.top-nav-bar-link:active, a.top-nav-bar-link:visited {
  color: var(--color-nav-font)
}

.dropdown-div {
  float: left;
  padding-top: 10px;
  padding-bottom: 20px;
  margin-left: 40px;
  padding-right: 40px;
  
  background:linear-gradient(var(--color-nav-background) 15%, var(--color-border) 15% 90%, var(--color-nav-background) 90%);
  background-repeat: no-repeat;
  background-position: top right, bottom right;
  background-size: 1px 100%;
}

.dropdown-div:last-child {
  background: none;
}

.submenu-link {
  margin-top: 8px;
}

.dropdown-menu {
  display: none;
  left: 0;
  margin-top: 11px;
  position: absolute;
  background-color: var(--color-nav-background);
  width: 100%;
  max-width: 1111px;
  z-index: var(--z-index-menu);
  cursor: default;
}

.dropdown-menu a {
  color: var(--color-nav-font);
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-menu a:hover {
  color: var(--color-secondary-accent);
  cursor: pointer;
}

.submenu-heading:hover, .submenu-alternate-heading:hover {
  color: var(--color-nav-font);
  cursor: pointer;
}

.top-nav-bar-list-item:hover .dropdown-menu {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}


.submenu-alternate-heading {
  margin-top: 6px;
  margin-bottom: 0px;
}

.submenu-alternate-heading:first-child {
  margin-top: 14px;
}

.search-box {
  float: right;
  height: 20px;
  width: 20px;
  margin-top: 8px;
  color: var(--color-background);
}

.search-box:hover {
  color: var(--color-secondary-accent);
  cursor: pointer;
}

#header-background {
  width: 100%;
  background-color: var(--color-background);
}

#logo-row {
  width: 100%;
  min-width: 300px;
  max-width: 1110px;
  height: 68px;
  margin: 0 auto;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-background);
  flex-direction: row;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
  margin-top: 4px;
}

#logo-row-button-list {
  display: flex;
  align-items: center;
}

#logo-row-button-list ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
}


#site-logo {
  height: 100%;
}

.sitehat_side {
  /*display: block;*/
  position: fixed;
}

#desktop-header-banner {
  margin-top: 15px;
}

#mobile-menu-hamburger-icon {
  display: none;
}

#mobile-extra-logo-row {
  display: none;
}

.menu-bar-container {
  width: 100%;
  min-width: 300px;
  /*padding-left: 5px;*/
}

.menu-bar {
  height: 36px;
  max-width: 1110px;
  margin: 0 auto;
  background-color: var(--wc26_blue);
  position: relative;
}

.menu-bar ul {
  float: left;
  list-style-type: none;
  margin: 0;
  padding: 0;
  position:relative;
  width: 100%;
  padding-left: 10px;
}

.menu-bar li {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
  margin-right: 24px;
  height: 28px;
}

.menu-bar li:hover, #bottom-menu-bar li:hover {
  color: var(--color-secondary-accent);
  cursor: pointer;
}

/*main content*/
main {
  background-color: var(--color-background);
}

.main-content-wrapper {
  display: flex; 
  flex-direction: column; 
  flex-wrap: wrap; 
  width: 100%; 
  max-width: 1110px; 
  margin: 0 auto; 
}
.article-group { 
  order: 1; 
  width: 800px; 
  overflow:hidden; 
  padding-top: 10px;
  background-color: var(--color-background);
} 
#new_articles { 
  order: 2; 
  width: 800px; 
  overflow:hidden;
} 
#load_more_articles_button { 
  order: 3;
} 
.side-content { 
  order: 5; 
  width: 300px; 
  min-width: 0px; 
  margin-top: 10px; 
  box-shadow: 0 3px 6px 0 var(--color-shadow);
}
.breaker {
  order: 4;
  flex-basis: 100%;
}

/* mm2026 frontpage: native CSS Grid two-column layout.
   Opt-in via .is-grouped (added by JS on desktop). Replaces the old
   flex-column-wrap + JS height-measurement hack — columns size themselves,
   so ads/images resizing never needs a recalculation. */
@media (min-width: 769px) {
  .main-content-wrapper.is-grouped {
    display: grid;
    grid-template-columns: minmax(0, 800px) 300px;
    gap: 10px;
    align-items: start;
    height: auto !important;
  }
  .main-content-wrapper.is-grouped > .content-column,
  .main-content-wrapper.is-grouped > .sidebar-column {
    min-width: 0;
  }
  /* !important overrides ad.tpl's inline `width: 72.5%` (tuned for the old
     1110px wrapper); inside the 800px content column the ad should fill it. */
  .main-content-wrapper.is-grouped .article-group,
  .main-content-wrapper.is-grouped #new_articles {
    width: 100% !important;
  }
  .main-content-wrapper.is-grouped .side-content {
    width: 100%;
  }
}

.one-wide-regular {
  width: 100%;
  height: auto;
}
.one-wide-heading {
  width: 100%;
  height: auto;
}
.two-wide-regular {
  width: 50%;
  height: auto;
  float: left;
}
.three-wide-regular {
  width: 33.333333%;
  height: auto;
  float: left;
}

/* frontpage article */
.article_small {
  display: flex;
  flex-direction: column;
}

.large_article_image {
  width: 99.5%;
}
.article_topic_icon {
  height: 18px;
  float: left;
  margin-right: 3px;
}
.article_topic_div {
  margin: 3px 0;
  height: 18px;
}
.article_topic_icon img {
  height: 17px;
}
.article_topic{
  float: left;
  background-color: var(--color-main-accent);
  padding: 2px 8px 2px 8px;
  border-radius: 2px;
  font-size: 10px;
  color: var(--color-main-accent-font);
  height: 14px;
  text-align: center;
  vertical-align: middle;
  line-height: 14px;
}
.article_topic_inverted{
  float: left;
  background-color: var(--color-main-accent-font);
  padding: 2px 8px 2px 8px;
  border-radius: 2px;
  font-size: 10px;
  color: var(--color-main-accent);
  height: 14px;
  text-align: center;
  vertical-align: middle;
  line-height: 14px;
}
.main_news_article {
  max-width: 1110px; 
  margin: 0 auto;
}

.main_news_article_div{
  position: relative;
  display: inline-block;
  width: 100%;
}
.main_news_article_div:after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(0,0,0,0), var(--color-nav-background));
  max-width: 1110px;
  margin: 0 auto;
}
.main_article_image {
  width: 100%;
  height: 421px;
  object-fit: cover;
  object-position: center 10%;
}
.main_article_description {
  position: absolute; 
  bottom: 15px;
  left: 30px; 
  color: var(--color-main-news-font); 
  z-index: var(--z-index-base);
  width: 90%;
}

.main_article_date_added {
  font-size: 12px;
  color: var(--color-main-news-font);
}

.article_date_added {
  font-size: 12px;
  color: var(--color-main-font);
}

.medium_article_image {
  width: 99%;
  height: 251px;
  object-fit: cover;
}

.medium_article_h2{
  line-height: 22px;
  display: inline;
}
.medium_article_heading {
  font-size: 20px;
  color: var(--color-main-font);
  font-weight: 700;
}

.news_article {
  display: flex;
  flex-direction: column;
}

.article_description {
  display: flex;
  flex-direction: column;
  padding: 0 2px;
}

/* Ads */
.desktop-ad {
  text-align: center;
}

/* Comment */

.article-main-comment {
  color: var(--color-main-accent);
  font-size: 14px;
}
.article-main-comment-number {
  margin-top: -3px;
  font-size: 18px;
  color: var(--color-main-accent-font);
}
.article-large-comment {
  color: var(--color-main-accent);
  font-size: 14px;
}
.article-large-comment-number {
  margin-top: -3px;
  font-size: 18px;
}
.article-medium-comment {
  color: var(--color-dark-green);
  font-size: 12px;
}
.article-medium-comment-number {
  margin-top: -2px;
  font-size: 14px;
}
.article-small-comment {
  color: var(--color-main-accent);
  font-size: 10px;
}
.article-small-comment-number {
  margin-top: -0.2em;
  font-size: 12px;
}

.medium_article_date_added {
  font-size: 10px;
}


.small_article_image {
  width: 99%;
  height: 162px;
  object-fit: cover;
}

.small_article_long_image {
  width: 99%;
  height: 421px;
  object-fit: cover;
}
.small_article_heading {
  font-size: 20px;
  color: var(--color-main-font);
  font-weight: 700;
  word-wrap: break-word;
}

/*Gallery*/
.gallery_list_item {
  width: 32%;
}

/*sidebar*/

.side-content {
  background-color: var(--color-side-content-background);
}

.side-content-title {
  font-size: 18px;
  font-weight: 700;
  /* Use padding (not margin) for the top gap: a top margin here collapses out
     through the padding-less .side-content box, leaving the title flush to the
     top edge. Padding stays inside the box. */
  margin-top: 0;
  margin-left: 12px;

  padding-top: 16px;
  padding-bottom: 12px;
  
  background:linear-gradient(to right, var(--color-main-accent) 30%, var(--color-border) 30%) bottom;
  background-repeat: no-repeat;
  background-size: 100% 2px;

  margin-bottom: 10px;
}

.side-content-article {
  margin-left: 12px;
}

.side-content .side-content-article iframe {
  height: auto!important;
  aspect-ratio: 16/9!important;
}

.side-content .side-content-article p img {
  width: 100%;
}

.side-content > div {
  margin-left: 12px;
  width: calc(100% - 24px)!important;
}

.side-content div iframe {
  width: 100%!important;
  height: auto!important;
}

.side-content .side-content-article ul {
  font-size: 14px;
  list-style-type: '»';
  line-height: 20px;
  padding-inline-start: 12px;
  font-weight: 700;
}

.side-content .side-content-article ul li {
  padding-left: 12px;
  margin-top: 5px;
}

.side-content a {
  text-decoration: none;
  color:var(--color-main-font);
}

#premium-league-table-list {
  padding: 0;
}

.premium-league-table-row {
  display: flex;
  margin: 20px 12px 20px 12px;
  align-items: center;
}

.premium-league-table-team-rank {
  width: 23px;
}

.premium-league-table-team-name {
  padding-left: 20px;
}
.premium-league-table-team-points {
  margin-left: auto;
}
#premium-league-table-button {
  background-color: var(--color-main-accent);
  color: var(--color-main-accent-font);
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: 700;
  margin-bottom: 20px;
}

/*footer*/

footer {
  width: 100%;
}

#footer-info {
  width: 100%;
  background-color: var(--color-nav-background);
  color: var(--color-nav-font);
  font-weight: 800;
  padding-top: 10px;
  padding-bottom: 10px;
}

#footer-info-container {
  max-width: 1111px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#footer-facebook {
  color: var(--color-main-accent);
  display: flex;
  align-items: center;
}

#footer-facebook-text {
  margin-right: 5px;
}

#footer-facebook-text:link, #footer-facebook-text:visited, #footer-link-list ul li a:link, #footer-link-list ul li a:visited{
  color: var(--color-main-accent);
}

#footer-link-list ul {
  display: flex;
  list-style-type: none;
  justify-content: space-between;
}

#footer-link-list ul li{
  margin-right: 10px;
}

/* search bar */
#top-search-div {
  float: right;
  display: none;
}
#search-box-button {
  display: none;
}

#top-search-input {
  margin-top: 1px;
  height: 22px;
}

input {
  outline: none;
}
input[type=search] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  font-family: inherit;
  font-size: 100%;
}
input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
  display: none; 
}


input[type=search] {
  border: solid 1px var(--color-border);
  padding: 5px 10px 5px 9px;
  width: 55px;
  border-radius: 10em;  
  transition: all .5s;
}
input[type=search]:focus {
  width: 130px;
  background-color: var(--color-menu-background);
  border-color: var(--color-border);
  box-shadow: 0 0 5px var(--color-shadow);
}        

input:-moz-placeholder {
  color: var(--color-border);
}
input::-webkit-input-placeholder {
  color: var(--color-border);
}

/* Menu */ 
	/* The Modal (background) */
	.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: var(--z-index-base); /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    /*background-color: rgb(0,0,0); /* Fallback color */
    /*background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    }
  
    /* Modal Content */
    .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    }
  
    /* The Close Button */
    .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    }
  
    .close:hover,
    .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    }

.login-menu-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-main-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  color: var(--color-main-accent-font);
  font-size: 30px;
}

#mobile-menu-main {
  display: none; 
  position: fixed; 
  left: 0;
  top: 0;
  height: 95%; 
  width: 90%; 
  z-index: var(--z-index-modal); 
  background-color: var(--color-nav-background);
  padding: 5%;
  font-family: 'Lato';
  overflow-y: scroll;
  padding-top: 50px;
}
#mobile-menu-main-footer {
  height: 45px;
  width: 100%;
  text-align: center;
  position: fixed;
  bottom: 0;
  left:0;
  font-size: 40px;
  color: white;
  background-color: var(--color-nav-background);
}
#mobile-menu-main-search {
  margin-top: 20px;
}
#mobile-menu-search-input {
  padding: 0;
  width: 100%;
  height: 36px;
  font-size: 15px;
  line-height: 15px;
  text-align: center;
}
#mobile-menu-main-search ::placeholder {
  text-align: center;
  color: var(--color-nav-background);
  font-size: 15px;
  line-height: 15px;
  margin-top: 5px;
}
.mobile-menu-search-icon {
  position: absolute;
  font-size: 20px;
  margin-top: 10px;
}
#mobile-menu-main-links {
  margin-top: 15px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.mobile-menu-main-link {
  font-size: 14px;
  color: white;
  font-weight: 700;
  background-color: var(--color-main-accent);
  padding: 6px 12px;
  border-radius: 2px;
}
#mobile-menu-main-topics {
  margin-top: 20px;
}
#mobile-menu-main-other {
  margin-top: 20px;
  margin-bottom: 50px;
}
.mobile-menu-main-header {
  font-size: 18px;
  font-weight: 700;
  color: white;
}
.mobile-menu-main-content {
  background-color: white;
  margin-top: 10px;
}
.mobile-menu-main-content-element {
  border-bottom: 0.25px solid var(--color-nav-background);
  padding: 10px 20px;
}
.mobile-menu-main-content-element-heading {
  /*color: var(--color-menu-font);*/
  font-size: 14px;
  font-weight: 700;
}
.mobile-menu-main-content-element-link-list {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 5px;
}
.mobile-menu-main-content-element-link {
  color: var(--color-menu-font);
  font-size: 14px;
  font-weight: 500;
  margin: 5px;
}
.mobile-menu-main-content-element-heading-arrow {
  float: right; 
  margin-top: 3px; 
  color: var(--color-main-accent); 
  font-size: 12px;
}

#mobile-menu-calendar {
  display: none; 
  position: fixed; 
  left: 50%;
    transform: translate(-50%, 0);
  height: 80%;
  max-height: 90%;
  width: 33%; 
  max-width: 350px;
  z-index: var(--z-index-modal); 
  background-color: white;
  padding: 2%;
  font-family: 'Lato';
  top: 3%
  /*overflow-y: scroll;*/
}
#mobile-menu-calendar-footer {
  height: 45px;
  width: 100%;
  text-align: center;
  position: fixed;
  bottom: 0;
  left:0;
  font-size: 40px;
  color: white;
  background-color: var(--color-nav-background);
}
#mobile-menu-calendar h3 {
  font-size: 18px;
}

#mobile-menu-live {
  display: none; 
  position: fixed; 
  left: 0;
  top: 0;
  height: 95%; 
  width: 90%; 
  z-index: var(--z-index-modal); 
  background-color: var(--color-nav-background);
  padding: 5%;
  font-family: 'Lato';
  overflow-y: scroll;
}
#mobile-menu-live-footer {
  height: 45px;
  width: 100%;
  text-align: center;
  position: fixed;
  bottom: 0;
  left:0;
  font-size: 40px;
  color: white;
  background-color: var(--color-nav-background);
}

#mobile-menu-login {
  display: none; 
  position: fixed; 
  left: 0;
  top: 0;
  height: 95%; 
  width: 90%; 
  z-index: var(--z-index-modal); 
  background-color: var(--color-nav-background);
  padding: 5%;
  font-family: 'Lato';
  overflow-y: scroll;
}
#mobile-menu-login-footer {
  height: 45px;
  width: 100%;
  text-align: center;
  position: fixed;
  bottom: 0;
  left:0;
  font-size: 40px;
  color: white;
  background-color: var(--color-nav-background);
}
.mobile-menu-live-game-list {
  background-color: white;
  padding-top: 10px;
}

#mobile-logo-row {
  background-color: var(--color-background);
  z-index: var(--z-index-menu);
  /*height: 65px;*/
  border-bottom: 0.5px solid var(--color-nav-background);
}
.mobile-menu-icon-text {
  font-family: 'Lato';
  font-size: 6px;
  font-weight: 300;
  text-align: center;
  margin-top: 3px;
  color: var(--color-menu-font);
}
#mobile-logo-row.clone {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  transition: 0.2s transform cubic-bezier(.3,.73,.3,.74);
  z-index: var(--z-index-menu);
}

body.down #mobile-logo-row.clone {
  transform: translateY(0);
}
.mobile-menu-icon {
font-size: 32px;
color: var(--color-menu-font);
}
.mobile-menu-list {
display: flex;
flex-direction: column;
justify-content: center;
}
.login-menu-user-icon {
color: var(--color-third-accent);
font-size: 28px;
}
.logout-menu-user-icon {
color: var(--wc26_green);
font-size: 28px;
}
.desktop-menu-icon {
color: var(--wc26_green);
font-size: 28px;
}
.desktop-menu-list {
display: flex;
flex-direction: row;
align-items: center;
padding-right: 20px;
}
.desktop-menu-list-text {
padding-left: 8px;
text-decoration: none;
color: var(--wc26_green);
}

/* Live */
.live_button_list {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-nav-font);
  height: 90px;
}
.live_button {
  float: left;
  background-color: var(--color-main-accent);
  color: var(--color-main-accent-font);
  padding: 5px;
  border-radius: 3px;
  width: 20%;
  margin: 4%;
  font-size: 12px;
}
.live_button_active {
  font-size: 16px;
}

/* Calendar */
.zabuto-calendar__day, .zabuto-calendar__day--today {
  cursor: pointer;
}
#mobile-menu-calendar-content {
  /*background-color: var(--color-menu-background);*/
  padding: 5%;
}
#mobile-menu-calendar-event-list {
  /*background-color: var(--color-menu-background);*/
  margin-top: 30px;
  margin-bottom: 30px;
  overflow-y: scroll;
  max-height: 57%;
}
#mobile-menu-calendar-event-list-header {
  height: 30px;
}
#mobile-menu-calendar-game-list {
  /*background-color: var(--color-menu-background);*/
  margin-top: 28px;
  margin-bottom: 30px;
}
#mobile-menu-calendar-news-list {
  margin-bottom: 30px;
}
.mobile-menu-calendar-event-list-header-item {
  background-color: var(--color-background);
  width: 50%;
  height: 30px;
  text-align: center;
  float: left;
  padding-top: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.mobile-menu-calendar-event-list-header-item.active {
  background-color: var(--color-menu-background);
  color: var(--color-menu-font);
}
.premium {
  background-color: var(--color-premium-league);
  color: var(--color-nav-font);
  font-weight: 700;
}
.national {
  background-color: var(--color-national-team);
  color: var(--color-nav-font);
  font-weight: 700;
}
.other {
  font-weight: 700;
  background-color: var(--color-menu-background);
  color: var(--color-menu-font);
}
.active_day {
  background-color: var(--color-third-accent);
  color: var(--color-nav-font);
}
.calendar_game_list {
  padding-bottom: 10px;
}
.calendar_topic_container {
  width: 90%;
  margin: 10px auto;
  border: 1px solid var(--color-border);
  box-shadow: 0 3px 6px 0 var(--color-shadow);
}
.calendar_topic_list_header {
  font-weight: 400;
    font-size: 14px;
  background-color: var(--color-menu-background);
  color: var(--color-menu-font);
  padding: 8px;
}

.calendar_topic_game {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
}
.calendar_topic_game_time{
  display: flex;
  justify-content: center;
  font-size: 12px;
  width: 15%;
  color: var(--color-main-font);
}
.calendar_topic_game_team {
  padding: 2px;
  color: var(--color-main-font);
}
.calendar_topic_game_teams {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  width: 65%;
}
.calendar_topic_game_score_container {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calendar_topic_game_score {
  background-color: var(--color-main-accent);
  color: var(--color-main-accent-font);
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 12px;
}
.calendar_news {
  padding: 10px;
}
.calendar_news:first-child {
  margin-top: 20px
}
.calendar_news_headline {
  float: left;
}
.calendar_news_time {
  clear: both;
  font-size: 12px;
}

.article-group iframe {
  max-width: 100%!important;
}
.desktop-social-media-icon {
  background-color: var(--color-nav-font);
  color: var(--color-nav-background);
  font-size: 24px;
  cursor: pointer;
  margin-left: 3px;
}
.mobile-social-media-icon {
  color: var(--color-menu-font);
  font-size: 22px;
  margin-left: 2px;
}

/* Article */
#article_content {
  font-size: var(--article-font-size);
  line-height: var(--article-line-height);
}


/* tablet */
@media (min-width: 769px) and (max-width: 1199px) { 
  /*nav and menu bar*/
  .top-nav-bar li {
    margin-right: 0px;
    margin-left: 12px;
  }
  .search-box {
    margin-right: 12px;
  }
  #site-logo {
    margin-left: 12px;
  }
  .menu-bar li {
    margin-left: 12px;
    margin-right: 0px;
  }
  /*main content*/
  .main-content-wrapper {
    margin-left: 12px;
    width: calc(100% - 24px);
  }
  .article_topic_div {
    margin-left: 12px;
  }
  .article_date_added {
    margin-left: 12px;
  }
  #footer-soccernet {
    margin-left: 12px;
  }

  .sitehat_side {
    display: none;
  }
}

/* mobile */
@media (max-width: 768px) {

  h1 {
    font-size: var(--h1-m-font-size);
    font-weight: var(--h1-m-font-weight);
    line-height: var(--h1-m-line-height);
  }
  
  h2 {
    font-size: var(--h2-m-font-size);
    font-weight: var(--h2-m-font-weight);
    line-height: var(--h2-m-line-height);
  }
  
  h3 {
    font-size: var(--h3-m-font-size);
    font-weight: var(--h3-m-font-weight);
    line-height: var(--h3-m-line-height);
  }
  
  h4 {
    font-size: var(--h4-m-font-size);
    font-weight: var(--h4-m-font-weight);
    line-height: var(--h4-m-line-height);
  }

  .main-content-wrapper {
    flex-direction: row;
  }

  #page_footer {
    order: 10;
  }

  #new_articles { 
    width: 100%;
  } 
  .breaker {
    display: none;
  }
  .article-group, .side-content {
    flex: 100%;
    order: 0;
  }
  .side-content img {
    width: 100%;
    height: auto;
  }
  .article-group {
    max-width: 100%;
    margin-top: 10px;
  }
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .desktop-only-flex {
    display: none;
  }

  .mobile-only-flex {
    display: flex;
  }

  .desktop-only-table {
    display: none;
  }

  .mobile-only-table {
    display: table;
  }

  /*nav and menu bar*/
  .top-nav-bar li {
    margin-right: 0px;
    margin-left: 12px;
  }
  .search-box {
    margin-right: 12px;
  }

  #mobile-menu-hamburger-icon {
    display: block;
    float: left;
    margin-top: 16px;
    margin-left: 12px;
  }

  #mobile-extra-logo-row {
    display: inline-block;
    background-color: var(--color-background);
  }

  #logo-row, #mobile-extra-logo-row {
    width: 100%;
    height: 48px;
    margin: 0 auto;
    border-bottom: none;
  }

  #mobile-logo-row-button-list {
    height: 48px;
  }

  #logo-row-button-list ul, #mobile-logo-row-button-list ul {
    margin-bottom: 0;
    padding: 0;
  }

  #logo-row-tv-button, #logo-row-calendar-button {
    display: none!important;
  }

  #logo-row-button-list li:last-child {
    margin-right: 12px;
  }

  #mobile-logo-row-button-list li:last-child {
    margin-right: 48px;
  }

  #mobile-logo-row-button-list li {
    display: inline-block;
    font-size: 14px;
    margin-right: 20px;
    margin-top: -8px;
  }

  #menu-bar-all-news {
    display: none;
  }

  .menu-bar {
    display: none;
    background-color: var(--color-nav-font);
  }

  .menu-bar li {
    color: var(--color-nav-font);
    margin-left: 12px;
    margin-right: 0px;
  }

  .top-nav-bar-list-item:hover .dropdown-menu {
    display: none;
  }

  .menu-bar li:hover {
    color: var(--color-nav-font);
  }

  #bottom-menu-bar {
    display: none;
  }

  /*mobile menu*/
			/* The Overlay (background) */
			.overlay {
        /* Height & width depends on how you want to reveal the overlay (see JS below) */   
        height: 100%;
        width: 0;
        position: fixed; /* Stay in place */
        z-index: var(--z-index-menu); /* Sit on top */
        left: 0;
        top: 0;
        background-color: rgb(84,87,117); /* Black fallback color */
        background-color: rgba(84,87,117, 0.95); /* Black w/opacity */
        overflow-x: hidden; /* Disable horizontal scroll */
        transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */

        overflow-y: scroll;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;  /* Internet Explorer 10+ */
        }

      .overlay::-webkit-scrollbar { /* WebKit */
          width: 0;
          height: 0;
      }
  
        /* Position the content inside the overlay */
        .overlay-content {
        position: relative;
        top: 15%; /* 25% from the top */
        width: 100%; /* 100% width */
        text-align: center; /* Centered text/links */
        margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
        }
  
        /* The navigation links inside the overlay */
        .overlay a {
        padding: 8px;
        text-decoration: none;
        font-size: 36px;
        color: #EAEDF2;
        display: block; /* Display block instead of inline */
        transition: 0.3s; /* Transition effects on hover (color) */
        }
  
        /* When you mouse over the navigation links, change their color */
        .overlay a:hover, .overlay a:focus {
        color: #f1f1f1;
        }
  
        /* Position the close button (top right corner) */
        .overlay .closebtn {
        position: absolute;
        top: 20px;
        left: 45px;
        font-size: 60px;
        }
  
        /* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
        @media screen and (max-height: 450px) {
        .overlay a {font-size: 20px}
        .overlay .closebtn {
          font-size: 40px;
          top: 15px;
          left: 35px;
        }
        }

        #mobile-menu-calendar {
          display: none; 
          position: fixed;
          left: 0;
          transform: none;
          top: 0;
          height: 100%; 
          width: 100%; 
          z-index: var(--z-index-modal); 
          background-color: white;
          padding: 5%;
          font-family: 'Lato';
          overflow-y: scroll;
          max-width: 90%;
        }
        #mobile-menu-calendar-footer {
          height: 45px;
          width: 100%;
          text-align: center;
          position: fixed;
          bottom: 0;
          left:0;
          font-size: 40px;
          color: white;
          background-color: var(--color-menu-background);
        }
  /*main content*/
  .main-content-wrapper {
    margin-left: 12px;
    width: calc(100% - 24px);
  }
  .two-wide-regular {
    width: 50%;
    float: left;
    height: auto;
  }

  .main_news_article_div:after {
    height: 200px;
  }

  /* frontpage article */
  .article_small {
    flex-direction: row;
  }
  .medium_article_image {
    height: auto;
    /*max-height: 110px;*/
  }
  .small_article_h2 {
    margin-left: 10px;
    line-height: 20px;
  }
  .small_article_heading {
    font-size: 14px;
  }
  .one-wide-regular {
    width: 100%;
    height: auto;
  }
  .large_article_image {
    height: auto;
    /*max-height: 222px;*/
  }

  .article_small_topic_div{
    margin: 0;
    margin-left: 10px;
  }

  .small_article_long_image, .small_article_image {
      width: 124px;
      height: 110px;
      object-fit: cover;
  }

  .three-wide-regular {
    width: 100%;
  }

  .three-wide-regular .news_article {
    flex-direction: row;
  }

  .three-wide-regular .news_article .article_description {
    margin-left: 10px;
    justify-content: center;
  }

  /*.three-wide-regular .small_article_image {
    width: 35%;
    height: auto;
    float: left;
  }*/

  #footer-info-container {
    display:flex;
    flex-direction: column-reverse;
  }
  #footer-soccernet {
    text-align: center;
  }
  #footer-facebook {
    text-align: center;
    flex-direction: column-reverse;
  }
  #footer-facebook-logo {
    margin: 0 auto;
  }
  #footer-link-list {
    text-align: center;
  }
  #footer-link-list ul {
    flex-direction: column;
    padding: 0;
  }
  #footer-link-list ul li{
    margin: 0;
    margin-top: 5px;
  }
  .premium-league-table-team-logo {
    width: 25px!important;
  }
  .gallery_list_item {
    width: 49%;
  }

  /* Article */
  #article_content {
    font-size: var(--article-m-font-size);
    line-height: var(--article-m-line-height);
  }
  .sitehat_side {
    display: none;
  }
}

img.employee {
  border-radius: 50%; height: 100px; width: 100px; margin-right: 10px; float: left;
}