:root {
  --eps-primary: #00559c;
  --eps-primary-rgb: 0, 85, 156;
  --eps-highlight: #c2ff1f;
  --eps-highlight-rgb: 194, 255, 31;
}

/*
File Name: 		custom.css
Description:  You can add your custom CSS here and it will overwrite template styles
*/

[v-cloak] {
    display: none;
 }

.tags-button {
	color: white;
	margin-bottom: 6px;
}

.page-heading__title strong {
    color: var(--eps-highlight, #c2ff1f);
}

.posts--cards-thumb-left .posts__cta {
    left: 10px;
    top: 10px;
}

.posts__item--card .posts__cta {
    width: 30px;
    height: 30px;
}

.main-nav__list > li > a {
    padding: 0 36px;
}

.clear_class {
    clear: left;
}

.team-meta__logo {
    width: 40px;
    height: 40px;
}

.team-meta__name {
    font-size: 14px;
}

.table-standings--full-soccer .team-standings__pos,
.table-standings--full-soccer .team-standings__win,
.table-standings--full-soccer .team-standings__lose,
.table-standings--full-soccer .team-standings__played,
.table-standings--full-soccer .team-standings__drawn,
.table-standings--full-soccer .team-standings__goals-for,
.table-standings--full-soccer .team-standings__goals-against,
.table-standings--full-soccer .team-standings__goals-diff,
.table-standings--full-soccer .team-standings__total-points,
.table-standings--full-soccer .team-standings__points-diff {
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
}

.table-standings--full-soccer .team-standings__team {
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
}

.alc-staff__header-last-name {
    font-size: 34px;
}

.alc-staff__header-role {
    font-size: 22px;
}

.posts-slider--center.nogray .posts__thumb::before {
    background-color: transparent;
    opacity: 0;
}

.post__meta-block--top .posts__cat-label {
    font-size: 16px;
}

.posts__item--card .posts__excerpt {
    font-size: 13px;
}

.sponsors__item > a {
    opacity: 0.8;
}

.widget-results__team-logo {
    width: 40px;
}

.widget-results__team-name {
    font-size: 14px;
}

.widget-results__team-info {
    font-size: 12px;
}

.widget-results__score {
    font-size: 16px;
}

.widget-results__status {
    font-size: 12px;
}

.widget-social--condensed .btn-social-counter {
    width: 50%;
    max-width: 50%;
}

.btn-google {
    color: #fff;
    background-color: #F16261;
    border-color: transparent;
}

.posts--slider-featured .posts__date::before {
    content: none;
    margin-right: 0.25em;
}

tr.topteam td {
    font-weight: bold;
    color: green;
}

tr.bottomteam td {
    font-weight: bold;
    color: red;
}

ul.downloads li {
    list-style-type: none;
    font-size: 120%;
    margin-left: 4px;
    margin-bottom: 20px;
}

a:hover .widget-results__content {
    background-color: #efefef;
}

a span.widget-results__team-info {
    color: #636465;
}

.game_stats {
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0;
}

.game-result__content {
    margin: 0;
}

.progress-double-wrapper {
    padding: 20px 20px;
}

.alc-staff-details__value {
    border-bottom: 1px solid #efefef;
    min-width: 80%;
    flex-basis: 80%;
}

.alc-staff-details__label {
    border-bottom: 1px solid #efefef;
    min-width: 20%;
    flex-basis: 20%;
}

.alc-staff-details {
    margin-right: 20px;
}

.progress.fm-progress {
    height: 40px;
}

table.fm-table a {
    /*color:#636465;*/
    color:#31404b;
}

.game-result__team-info .game-result__team-desc a {
    color:#636465;
    /*color:#31404b;*/
}

.game-result__team-info .game-result__team-name a {
    /*color:#636465;*/
    color:#31404b;
}

.game-result__header--alt {
    border-bottom: none;
    margin-bottom: 0px;
}

.game-result__header.game-result__header--alt span {
    font-size: 12px;
    margin-right: 10px;
}

.game-result__section p {
    font-size: 12px;
    text-align: center;
    margin-bottom: 0;
}

figure.player-info__photo img {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 30px;
}

.game-result__title a {
    color: #636465;
}

.card__header > h4 span.ggnum {
    text-transform: lowercase;
}

.card__header--has-btn a i.fa {
    font-size: 120%;
}

.card__header > h4 span.match-time {
    color: #636465;
}

.card__header > h4 span.gg {
    color: #636465;
}

.on-circle {
    display: block;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding-top: 6px;
    padding-bottom: : 6px;
    background: #fff;
    border: 2px solid #52af4c;
    color: #666;
    text-align: center;
}

.off-circle {
    display: block;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding-top: 6px;
    padding-bottom: : 6px;
    background: #fff;
    border: 2px solid #d04956;
    color: #666;
    text-align: center;
}

.team-logo-sidecard {
    margin-top: 20px;
    margin-left: 10px;
}

@media (min-width: 992px) {
    .footer-widgets__inner {
        padding: 80px 0 56px;
    }

    .widget-player--soccer .widget-player__content-alt {
        padding-left: 44%;
    }

    .player-info-details__item--born {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }

    .player-info-details__item--height {
        -ms-flex-preferred-size: 25%;
        flex-basis: 25%;
    }

    .player-info-details__item--weight {
        -ms-flex-preferred-size: 25%;
        flex-basis: 25%;
    }

    .player-info-details__item--age {
        -ms-flex-preferred-size: 25%;
        flex-basis: 25%;
    }

    .player-info-details__item--college {
        -ms-flex-preferred-size: 25%;
        flex-basis: 25%;
    }

    .player-info-details__item--position {
        -ms-flex-preferred-size: 25%;
        flex-basis: 25%;
    }

    .meta__item--date {
        font-size: 14px;
    }

    .post-filter__select-x3 {
        width:60%;
    }

    .nav-account .nav-account__item > a:hover {
        color: #91c4ef;
    }

    .stats .game-result__team {
        width: 30%;
    }

    .stats .game-result__score-wrap {
        width: 40%;
    }

    .posts--cards-thumb-left .posts__inner {
        padding-top: 24px;
        padding-bottom: 16px;
    }

    .posts__item--card .posts__title {
        font-size: 22px;
    }
}

@media (min-width: 1199px) {
    .widget-player__header {
        padding-top: 4px;
    }
    .widget-player--soccer .widget__content {
        height: 170px;
    }
}

@media (min-width: 1200px) {
    .widget-player--soccer .widget-player__last-name {
        font-size: 28px;
    }

    .player-info__item--photo {
        width: 340px;
    }
}

.widget-player__first-name {
    color: #636465;
}

.widget-player__content .progress-stats {
    margin-bottom: 8px;
    line-height: 1;
}

.table-standings--full-soccer .team-standings__period {
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
}

.champcard .spacer {
    height: 0px;
}

.champcard .game-result__header--alt {
    margin-left: 0px;
    margin-right: 0px;
}



.btn-social-counter {
    /*border: 1px solid #e4e7ed; */
    border: none;
    min-height: 45px;
    padding: 10px 40px 10px 66px;
}

.btn-social-counter__title {
    font-size: 11px;
}

.btn-social-counter__icon {
    width: 48px;
}

.widget-results__score .posts__cat-label {
    padding: 8px;
    margin: 0 40px 4px;
    float: none;
    font-size: 12px;
}

.card__content p {
    margin-bottom: 0px;
}

.ticketit table td {
    font-size: 16px !important;
}

.ticketit h2.header {
    padding: 16px 10px 22px 10px;
    color: white;
}

.ticketit table {
    width: 100% !important;
}

.teams__search {
    width: 80%;
}

.posts__thumb__badge {
    max-width: 100px !important;
    width: initial;
    padding: 10px;
}

.moreinfo {
    padding-right: 20px;
    margin-top: 10px;
    font-size: 160%;
    line-height: 180%;
    text-transform: none;
}

.moreinfo li {
    list-style-type: none;
    border-bottom: 1px solid #e9e9e9;
}

.nav-account .nav-account__item.active > a {
    color: var(--eps-highlight, #c2ff1f);
}

.posts--simple-list .posts__item:last-child {
    padding-top: 0 !important;
}

.table-striped>tbody>tr:nth-of-type(odd) {
     background-color: transparent !important;
}

/* aricles-table */
.articles-table .posts__cat {
    margin-bottom: 10px;
}

.articles-table .card__content {
    padding: 0px 20px 0px 20px;
}

.articles-table .posts__excerpt {
    padding: 8px 0 4px 0;
}

.articles-table .posts__item--card:last-child {
     margin-bottom: 0px;
}

.articles-table .posts__inner {
    padding-top: 20px;
    padding-bottom: 4px;
}

/* teams-table */
.teams-table td {
    padding: 0px 0px !important;
    background-color: transparent !important;
}

.teams-table .posts__item--card:last-child {
    margin-bottom: 0px;
}

.teams-table .posts__inner {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* hyperments-table */
.hyperments-table td {
    padding: 0px 0px !important;
    background-color: transparent !important;
}

.hyperments-table .posts__item--card:last-child {
    margin-bottom: 0px;
}

.hyperments-table .posts__item:last-child {
    padding-bottom: 0px !important;
}

.hyperments-table .posts__inner {
    padding-top: 20px;
    padding-bottom: 20px;
}

ul.downloads {
    margin-top: 30px;
}

/*https://bootsnipp.com/snippets/V7nK3*/
/*pulse start*/
.pulse-btn {
    /*text-align: center;*/
    padding: 30px 0;
}

.pulse-btn .btn {
    /*font-size: 22px;*/
    /*text-transform: uppercase;*/
    letter-spacing: 1px;
    padding: 0.5em 1.5em;
    animation: pulse 3s cubic-bezier(0.66, 0.67, 0.83, 0.99) infinite;
}

@media (max-width: 767px) {
    .pulse-btn .btn {
        /*font-size: 16px;*/
        letter-spacing: normal;
        padding: 10px 15px;
    }
}

@keyframes pulse {
    0% {
        outline: 1px solid #bddceb;
        outline-offset: 0px;
    }
    50% {
        outline: 1px solid rgba(48, 113, 169, 0);
        outline-offset: 6px;
    }
    100% {
        outline: 1px solid rgba(48, 113, 169, 0);
        outline-offset: 12px;
    }
}
/*pulse end*/

.grecaptcha-badge {
    display: none
}

.posts__item--card .posts__thumb img {
    border-bottom: 1px solid #e9e9e9;
}

.posts__item--card .posts__thumb.posts__thumb__badge img {
    border-bottom: none;
}

.post--single .post__thumbnail {
    border-bottom: 1px solid #e9e9e9;
}

.posts--slider-featured .posts__thumb img {
    border-bottom: 1px solid #e9e9e9;
}

span.rank {
    display: inline-block;
    vertical-align: middle;
    font-size: 11px;
    margin-right: 5px;
    font-family: "Ubuntu", sans-serif;
    color: #636465;
    text-transform: uppercase;
}

.widget-standings .table-standings > tbody > tr > td:first-child > .team-meta::before {
    display:none;
}

.widget-banner.widget--sidebar .widget__content.team_logo {
    padding-top: 12px;
    padding-bottom: 12px;
}

.moreinfo_team {
    padding-right: 10px;
}

.match-asidecard .match-preview__date {
    font-size: 14px;
}

.match-asidecard .match-preview__title--lg {
    font-size: 14px;
     padding-top: 0;
     margin-bottom: 0;
}

.match-asidecard .match-preview__match-place {
    font-family: "Ubuntu", sans-serif;
    text-transform: uppercase;
}

.widget__content.card__content.match-asidecard {
    min-height: 300px;
}

.match-annimated h4 {
    float: left;
}


/* added by fm for live videos in live page styling*/
.nolive_videos {
font-size: 18px;
font-weight: 400;
line-height: 22px;
padding-top: 10px;
padding-right: 20px;
padding-bottom: 10px;
padding-left: 20px;
}

.red-play {
    color: red;
    padding-right: 4px;
}
.video-date {
    color: #1892ed;
    padding-right: 4px;
}

.video-name {
    color: #636465;
}
/* Rich HTML from fm-editor / Quill (articles, texts).
   overflow-wrap:anywhere breaks Quill &nbsp; chains that would otherwise
   force horizontal page overflow when PHP normalization is missing. */
.eps-richtext {
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    min-width: 0;
}

.eps-richtext > *:first-child {
    margin-top: 0;
}

.eps-richtext > *:last-child {
    margin-bottom: 0;
}

.eps-richtext p {
    margin: 0 0 1em;
}

.eps-richtext ul,
.eps-richtext ol {
    margin: 0 0 1em;
    padding-left: 1.5em;
}

.eps-richtext ul {
    list-style: disc outside;
}

.eps-richtext ol {
    list-style: decimal outside;
}

.eps-richtext li {
    margin-bottom: 0.35em;
}

.eps-richtext a {
    text-decoration: underline;
}

.eps-richtext strong {
    font-weight: 700;
}

.eps-richtext em {
    font-style: italic;
}

.eps-richtext u {
    text-decoration: underline;
}

.eps-richtext h1,
.eps-richtext h2,
.eps-richtext h3,
.eps-richtext h4 {
    margin: 0.9em 0 0.45em;
    line-height: 1.25;
}

.eps-richtext br {
    line-height: 1.6;
}

/* Quill 2 editing markup leftover (ol + data-list) — show bullets correctly */
.eps-richtext li[data-list="bullet"],
.eps-richtext li[data-list="checked"],
.eps-richtext li[data-list="unchecked"] {
    list-style-type: disc;
}
.eps-richtext li[data-list="ordered"] {
    list-style-type: decimal;
}
.eps-richtext li[data-list] > .ql-ui {
    display: none;
}


@media (min-width: 992px) {
    .site-content {
        padding: 0;
    }
}

/* Hyperment stage filter (overview / standings) — SelectButton-like */
.content-before-columns:empty {
    display: none;
}

.stage-filter {
    width: 100%;
    margin: 0 0 20px;
}

.stage-filter__group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
}

.stage-filter__btn {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #5a6268;
    border-right-width: 0;
    border-radius: 0;
    background: #6c757d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.stage-filter__btn:first-child {
    border-radius: 4px 0 0 4px;
}

.stage-filter__btn:last-child {
    border-right-width: 1px;
    border-radius: 0 4px 4px 0;
}

.stage-filter__btn:only-child {
    border-radius: 4px;
    border-right-width: 1px;
}

.stage-filter__btn:hover {
    background: #5a6268;
    color: #fff;
}

.stage-filter__btn--active,
.stage-filter__btn--active:hover {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
    z-index: 1;
}

@media (max-width: 767px) {
    .stage-filter__btn {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 50%;
        flex: 1 1 50%;
        white-space: normal;
        border-right-width: 1px;
        border-radius: 0 !important;
    }
}


/* Site identity logo — match default static asset box (148x172 / 72x84 / mobile 97w) */
.header-logo__img {
  max-width: 148px;
  max-height: 172px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.header-mobile__logo-img {
  max-width: 97px;
  max-height: 113px;
  width: auto !important;
  height: auto;
  object-fit: contain;
}

.footer-logo__img,
.footer-logo--has-txt .footer-logo__img {
  max-width: 72px;
  max-height: 84px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Page / player heading: grayscale photo + primary color overlay */
.page-heading,
.player-heading {
  background-image:
    linear-gradient(
      rgba(var(--eps-primary-rgb), 0.35),
      rgba(var(--eps-primary-rgb), 0.35)
    ),
    url("/assets/images/soccer/page-heading.jpg?v=010004");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.page-heading .container,
.player-heading .container {
  position: relative;
  z-index: 2;
}

/* Featured / entity gallery: 16:9 contain + blurred fill (no server crop) */
.posts__thumb--fit,
.post__thumbnail--fit {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #27313b;
  margin: 0;
}

.posts__thumb-fill {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  filter: blur(18px);
  transform: scale(1.12);
  z-index: 0;
}

.posts__thumb--fit img,
.post__thumbnail--fit img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  border-radius: 4px;
}

.posts--slider-featured:hover .posts__thumb--fit img {
  transform: none;
}

/* Hero contain + blur layers (gallery fallback) */
.hero-slider__item--contain {
  background-image: none !important;
  background-size: auto;
}

.hero-slider__bg {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  z-index: 1;
}

.hero-slider__bg--blur {
  background-size: cover;
  filter: blur(24px);
  transform: scale(1.12);
}

.hero-slider__bg--contain {
  background-size: contain;
}

/* Keep center-slider dark overlay above the contain image */
.posts-slider--center .posts__thumb--fit::before {
  z-index: 2;
}

/* Theme toggle (mobile header) */
.header-mobile__theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
}

.header-mobile__theme:hover,
.header-mobile__theme:focus {
  text-decoration: none;
  opacity: 0.85;
}

.eps-theme-toggle i.fa {
  pointer-events: none;
}

/* Dark theme: custom.css overrides that assume light cards */
html[data-eps-theme="dark"] a:hover .widget-results__content {
  background-color: rgba(255, 255, 255, 0.06);
}

html[data-eps-theme="dark"] .alc-staff-details__value,
html[data-eps-theme="dark"] .alc-staff-details__label {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

html[data-eps-theme="dark"] .on-circle,
html[data-eps-theme="dark"] .off-circle {
  background: #2b2e33;
  color: #c5c7c9;
}

/* Keep top-bar nav order identical in dark (style-dark still floats items right) */
@media (min-width: 992px) {
  html[data-eps-theme="dark"] .nav-account .nav-account__item {
    float: none;
  }
  html[data-eps-theme="dark"] .nav-account .nav-account__item:last-child::before {
    display: inline-block;
  }
  html[data-eps-theme="dark"] .nav-account .nav-account__item:first-child::before {
    display: none;
  }
  html[data-eps-theme="dark"] .nav-account .nav-account__item > a {
    font-size: 120%;
  }
}

/* Match light main-nav spacing (style-dark uses 34px / 62px) */
html[data-eps-theme="dark"] .main-nav__list > li > a {
  padding: 0 36px;
  line-height: 50px;
  font-size: 14px;
  font-weight: 400;
}

/* Close hover gap: style-dark positions dropdowns at 62px while items are 50px tall */
html[data-eps-theme="dark"] .main-nav__list li > .main-nav__megamenu,
html[data-eps-theme="dark"] .main-nav__list li > .main-nav__sub {
  top: 50px;
}

@media (min-width: 992px) and (max-width: 1199px) {
  html[data-eps-theme="dark"] .main-nav__list > li > a {
    padding-left: 20px;
    padding-right: 20px;
  }
}

html[data-eps-theme="dark"] .main-nav__list > li > a:hover::before,
html[data-eps-theme="dark"] .main-nav__list > li.active > a::before {
  background-color: var(--eps-primary, #00559c);
}

/* Match light header__secondary / page-heading spacing (style-dark keeps stock Alchemist values) */
@media (min-width: 992px) {
  html[data-eps-theme="dark"] .page-heading {
    padding: 50px 0;
  }

  html[data-eps-theme="dark"] .info-block--header .info-block__item {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  html[data-eps-theme="dark"] .info-block--header .info-block__item .df-icon {
    top: 20px;
    stroke: var(--eps-highlight, #c2ff1f);
  }

  html[data-eps-theme="dark"] .info-block--header .info-block__item .info-block__heading {
    margin-top: 2px;
  }
}

html[data-eps-theme="dark"] .header-logo {
  bottom: 6px;
}

@media (min-width: 992px) {
  html[data-eps-theme="dark"] .header-search-form {
    width: 320px;
  }
}

html[data-eps-theme="dark"] .page-heading .breadcrumb > li > a:hover {
  color: var(--eps-primary, #00559c);
}

html[data-eps-theme="dark"] .page-heading__title .highlight,
html[data-eps-theme="dark"] .hero-slider__item-container .page-heading__title .highlight,
html[data-eps-theme="dark"] .info-block--header .info-block__cart-sum {
  color: var(--eps-highlight, #c2ff1f);
}

/* Brighter contact values in dark header (Διεύθυνση / Τηλέφωνα / Email) */
html[data-eps-theme="dark"] .info-block--header .info-block__link {
  color: #ddd;
}

html[data-eps-theme="dark"] .info-block--header .info-block__link:hover {
  color: #fff;
}

/* Sponsors sit above footer — keep logos on-screen */
.sponsors {
  margin-top: 0 !important;
  flex-wrap: wrap !important;
  max-width: 100%;
}

.sponsors-logos {
  flex-wrap: wrap !important;
  justify-content: center;
  max-width: 100%;
}

.eps-pre-footer-sponsors {
  background-color: #1e2024;
}

/* Subtle separator above the copyright/nav bar */
.footer-secondary {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
