﻿@charset "UTF-8";
/*
    - level 1 -> background
    - level 2 -> surface
    - layer 3 -> cards
*/
/* TODO: Update bootstrap
$breakpoint-sm: 576px; // Small devices (landscape phones, 576px and up)
$breakpoint-md: 768px; // Medium devices (tablets, 768px and up)
$breakpoint-lg: 992px; // Large devices (desktops, 992px and up)
$breakpoint-xl: 1200px; // Extra large devices (large desktops, 1200px and up)
*/
/* Bootstrap 3 values */
.flex-item {
  flex: 1;
}
@media (max-width: 991px) {
  .flex-item.col-xs-12 {
    flex-basis: 100%;
  }
}
@media (max-width: 1199px) {
  .flex-item.col-sm-12 {
    flex-basis: 100%;
  }
}

@media (max-width: 991px) {
  .flex-item-xs {
    flex: 1;
  }
}

@media (max-width: 991px) {
  .break-xs {
    flex-basis: 100%;
  }
}
:root {
  --switch-img: url(https://content.fantacalcio.it/web/img/live_ico/2021/switching_xs.png);
}

/*
    - level 1 -> background
    - level 2 -> surface
    - layer 3 -> cards
*/
/* TODO: Update bootstrap
$breakpoint-sm: 576px; // Small devices (landscape phones, 576px and up)
$breakpoint-md: 768px; // Medium devices (tablets, 768px and up)
$breakpoint-lg: 992px; // Large devices (desktops, 992px and up)
$breakpoint-xl: 1200px; // Extra large devices (large desktops, 1200px and up)
*/
/* Bootstrap 3 values */
.flex-item {
  flex: 1;
}
@media (max-width: 991px) {
  .flex-item.col-xs-12 {
    flex-basis: 100%;
  }
}
@media (max-width: 1199px) {
  .flex-item.col-sm-12 {
    flex-basis: 100%;
  }
}

@media (max-width: 991px) {
  .flex-item-xs {
    flex: 1;
  }
}

@media (max-width: 991px) {
  .break-xs {
    flex-basis: 100%;
  }
}
:root {
  --switch-img: url(https://content.fantacalcio.it/web/img/live_ico/2021/switching_xs.png);
}

/* SHOWCASE */
@media (max-width: 500px) {
  .showcase {
    max-height: 180px !important;
  }
  .showcase .my-team-card {
    transform: scale(0) !important;
  }
}
@media (min-width: 768px) {
  body.init-complete:before {
    /*
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: $primary;
    display: block;
    max-width: 1080px;
    margin-left: auto;
    border-radius: 10px;
    left: calc(50%);
    right: auto;
    margin-top: -10px;
    transform: translateX(-50%);
    box-sizing: content-box;
    z-index: -1;
    transition: padding 0.3s ease-in-out;
    margin-left: -5px;
    width: calc(100% - 10px);
        */
  }
  .ios body.init-complete:before {
    margin-left: 0px;
    width: 100%;
  }
}
.container-adver.loaded ~ .showcase > .container {
  min-height: 200px;
  padding-bottom: 75px;
  padding-top: 60px !important;
}
.showcase > .container {
  background-color: #121c2d;
  background-image: url(https://doh3bfkx6r7ti.cloudfront.net/web/img/showcase_internal.webp);
  background-size: cover;
  background-position: bottom;
  padding: 0;
  padding-bottom: 20px;
  /* min-height: 200px; */
  /* padding-top: 75px; */
  min-height: 210px;
  display: flex;
  align-items: center;
  display: -webkit-flex;
  -webkit-align-items: center;
}
.internal-layout .showcase > .container {
  padding-bottom: 90px;
}
.showcase .my-team-card {
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 55%;
  padding: 10px;
  pointer-events: none;
  padding-left: 130px;
}
@media (max-width: 767px) {
  .showcase .my-team-card {
    width: 80%;
  }
}
.showcase .my-team-card a {
  pointer-events: all;
}
.showcase .my-team-card > .circle-link {
  flex-shrink: 0;
}
.showcase .my-team-card .my-team-shirt {
  position: absolute;
  height: 70%;
  max-height: 170px;
  bottom: 10%;
  left: 0px;
  width: 150px;
  z-index: 100;
}
@media (max-width: 991px) {
  .showcase .my-team-card .my-team-shirt {
    height: 70%;
    max-height: 170px;
  }
}
.showcase .my-team-card .my-team-shirt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase .my-team-card img {
  height: 80px;
  width: 80px;
  background: none;
  filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.5));
  object-fit: cover;
}
.showcase .my-team-card .my-team-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-left: 10px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  max-width: 100%;
}
.showcase .my-team-card .my-team-info .my-team-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.showcase .my-team-card .my-team-info * {
  margin: 0;
  color: #FFF;
  text-align: left;
}
.showcase .my-team-card .my-team-info .my-division {
  opacity: 0.8;
}
.showcase .my-team-card .my-team-info .my-team-president {
  margin-top: 10px;
}
.showcase .my-team-card .buy-control {
  position: absolute;
  z-index: 500;
  bottom: 14%;
  left: 130px;
  pointer-events: all;
  display: flex;
  align-items: center;
  width: fit-content;
}
@media (max-width: 767px) {
  .showcase > .container {
    padding-top: 50px !important;
    padding-bottom: 10px !important;
  }
  .showcase .showcase .lettering-box {
    bottom: auto;
    top: 20px;
  }
}

@media (max-width: 991px) {
  .showcase[data-setup="1"] > .container {
    padding-bottom: 50px;
  }
  .sub-showcase[data-setup="1"].container {
    overflow: visible;
    border: none;
    border-top: 2px solid #FFF;
  }
}
/**************************/
/*** SHOWCASE SHORTCUTS ***/
/**************************/
.showcase[data-setup="4"] .shortcuts {
  display: none;
}
.showcase .shortcuts {
  z-index: 20;
  position: absolute;
  margin: 0;
  padding: 10px;
  right: 0;
  display: flex;
  max-width: 60%;
  flex-wrap: wrap;
  justify-content: space-between;
  justify-content: space-evenly;
  transition: all 0.5s ease-in-out;
}
@media (max-width: 767px) {
  .showcase .shortcuts {
    transform: scale(0.8);
    position: absolute;
    right: -30px;
    bottom: -50px;
    max-width: 80%;
  }
  .showcase .shortcuts li.break {
    display: flex;
  }
}
.showcase .shortcuts li {
  background: #FFF;
  border-radius: 4px;
  width: 80px;
  font-size: 12px;
  line-height: 12px;
  box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.4);
  margin: 0 5px;
  display: flex;
  display: -webkit-flex;
  padding: 10px 0;
  transition: transform 0.2s ease-in-out;
}
body:not(.user-initialized) .showcase .shortcuts li {
  transform: scale(0);
}
.showcase .shortcuts li:hover {
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
  z-index: 100;
}
.showcase .shortcuts li.break {
  display: none !important;
  flex-basis: 100%;
  visibility: hidden;
  height: 0 !important;
}
.showcase .shortcuts li:nth-child(1) {
  transition-delay: 100ms;
}
.showcase .shortcuts li:nth-child(2) {
  transition-delay: 200ms;
}
.showcase .shortcuts li:nth-child(3) {
  transition-delay: 300ms;
}
.showcase .shortcuts li:nth-child(4) {
  transition-delay: 400ms;
}
.showcase .shortcuts li:nth-child(5) {
  transition-delay: 500ms;
}
.showcase .shortcuts li:nth-child(6) {
  transition-delay: 600ms;
}
.showcase .shortcuts li:nth-child(7) {
  transition-delay: 700ms;
}
.showcase .shortcuts li:nth-child(8) {
  transition-delay: 800ms;
}
body.init-complete .showcase .shortcuts li {
  transition-delay: 0ms !important;
}
.showcase .shortcuts li a {
  width: 100%;
}
.showcase .shortcuts li .caption {
  text-align: center;
  margin-top: 5px;
}
.showcase .shortcuts li img {
  height: 64px;
  width: 64px;
  max-width: initial;
  max-height: initial;
  margin: auto;
}
.showcase .shortcuts.shortcuts-circle li {
  background: #FFF;
  border-radius: 4px;
  width: 80px;
  font-size: 12px;
  line-height: 12px;
  box-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.4);
  margin: 5px;
  display: flex;
  padding: 8px;
  height: 80px;
  border-radius: 50%;
}
.showcase .shortcuts.shortcuts-circle li a {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  display: -webkit-flex;
  -webkit-justify-content: center;
  -webkit-align-items: center;
  height: 100%;
}
.showcase .shortcuts.shortcuts-circle li img {
  height: 64px;
  width: 64px;
  max-width: initial;
  max-height: 100%;
  margin: auto;
  vertical-align: middle;
}
.showcase .shortcuts.shortcuts-circle li .caption {
  text-align: center;
  margin-top: 5px;
  background: #1a3452;
  border-radius: 4px;
  padding: 2px 8px;
  margin-top: -10px;
  transform: rotate(-15deg);
  position: absolute;
  max-width: 84px;
  right: -19px;
  bottom: -12px;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.3);
  min-width: 40px;
  color: #FFF;
}

/*
    - level 1 -> background
    - level 2 -> surface
    - layer 3 -> cards
*/
/* TODO: Update bootstrap
$breakpoint-sm: 576px; // Small devices (landscape phones, 576px and up)
$breakpoint-md: 768px; // Medium devices (tablets, 768px and up)
$breakpoint-lg: 992px; // Large devices (desktops, 992px and up)
$breakpoint-xl: 1200px; // Extra large devices (large desktops, 1200px and up)
*/
/* Bootstrap 3 values */
.flex-item {
  flex: 1;
}
@media (max-width: 991px) {
  .flex-item.col-xs-12 {
    flex-basis: 100%;
  }
}
@media (max-width: 1199px) {
  .flex-item.col-sm-12 {
    flex-basis: 100%;
  }
}

@media (max-width: 991px) {
  .flex-item-xs {
    flex: 1;
  }
}

@media (max-width: 991px) {
  .break-xs {
    flex-basis: 100%;
  }
}
:root {
  --switch-img: url(https://content.fantacalcio.it/web/img/live_ico/2021/switching_xs.png);
}

.leagues {
  /*** OLD */
  /*******************************/
  /*** NAVBAR NAVBAR-SUBHEADER ***/
  /*******************************/
  /* FULL HEADER width >= 768px */
  /*
  .navbar.navbar-subheader {
      transition: width 0.2s ease-in-out, margin;
  }*/
  /*@media(min-width: 780px) {*/
}
@media (max-width: 767px) {
  .leagues {
    /*
    #subNavbar:after {
        content: "MENU";
        position: fixed;
        height: 40px;
        left: -250px;
        top: 0;
        width: 250px;
        background: $surface;
        display: flex;
        justify-content: left;
        align-items: center;
        font-size: 22px;
        padding: 0 10px;
    }
    */
  }
  .leagues .navbar .navbar-toggle .icon-bar {
    color: #FFF;
  }
  .leagues #subNavbar:before {
    height: 0 !important;
  }
  .leagues #leaguesMenu {
    position: fixed;
    left: -250px;
    z-index: 10;
    top: 70px;
    width: 250px;
    margin: 0 !important;
  }
  .leagues #leaguesMenu > .nav {
    width: 100%;
  }
  .leagues #leaguesMenu > .nav > li {
    width: 100%;
  }
  .leagues #leaguesMenu > .nav > li > .dropdown-menu {
    max-width: 100%;
    margin: 0;
    background-color: #FFF;
  }
  .leagues #shop {
    position: fixed;
    left: -100px;
    z-index: 100;
    top: 70px;
    height: 60px;
    padding: 5px;
  }
  .leagues #shop a {
    font-size: 0;
    height: 50px;
  }
  .leagues #notifications {
    position: fixed;
    left: -250px;
    z-index: 100;
    width: 250px;
    top: 70px;
    height: 60px;
    padding: 5px;
    pointer-events: none;
  }
  .leagues #notifications #notificationsPopup {
    left: calc(50% + 20px);
    width: 240px;
  }
  .leagues #notifications #notificationsPopup:not(.hidden) {
    transform: translateX(-100%) scale(1);
  }
  .leagues #notifications #notificationsPopup:before {
    left: calc(100% - 30px);
  }
  .leagues #notifications #notificationsPopup .alert {
    min-width: 200px;
  }
  .leagues #notifications #notificationsPopup .notification-popup-footer {
    font-size: 12px;
  }
  .leagues #notifications > a {
    pointer-events: all;
    padding: 0 !important;
    height: 50px;
    width: 40px;
    font-size: 0;
    margin-left: auto;
  }
}
.leagues .navbar.sub-navbar .navbar-collapse.flex,
.leagues .navbar.flex {
  display: flex !important;
  position: relative !important;
}
@media (max-width: 767px) {
  .leagues {
    /*
    .navbar.top-navbar {
        margin-top: -50px;
    }*/
  }
  .leagues .navbar.sub-navbar .navbar-collapse.flex,
  .leagues .navbar.navbar-subheader.navbar-collapse {
    position: absolute !important;
    position: fixed !important;
    overflow: visible !important;
    float: none !important;
    height: 100vh !important;
    width: 250px !important;
    border-radius: 0 !important;
    border: none !important;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0;
    left: -250px;
    /*top: -60px;*/
    top: 0px;
    padding-top: 0px;
    padding-bottom: 10px;
    padding-left: 0px;
    padding-right: 0px;
    box-shadow: none !important;
    /*
    .card-3 {
        box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    }

    .card-4 {
        box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    }

    .card-5 {
        box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
    }*/
    filter: none !important;
    overflow-y: auto !important;
    flex-wrap: nowrap;
    transition: none;
    -webkit-transition: none;
  }
  .leagues .navbar.sub-navbar .navbar-collapse.flex > li > a,
  .leagues .navbar.navbar-subheader.navbar-collapse > li > a {
    padding: 10px 5px;
    height: auto;
  }
  .leagues .navbar.sub-navbar .navbar-collapse.flex > li > a img,
  .leagues .navbar.navbar-subheader.navbar-collapse > li > a img {
    height: 20px;
    width: 20px;
    margin-left: 0;
    margin-right: 5px;
  }
  .leagues .affix .navbar.navbar-subheader.navbar-collapse {
    top: 0px;
  }
  .leagues .navbar.navbar-subheader.navbar-collapse .competition-item {
    background: rgba(230, 230, 230, 0.9333333333);
  }
  .leagues .navbar.navbar-subheader.navbar-collapse .divider {
    border: none;
    background: no-repeat;
    /* border-bottom: 1px dotted #CCC; */
    padding-top: 5px !important;
    display: inline-block;
    height: auto;
    margin-bottom: 4px;
  }
  .leagues .navbar.navbar-subheader.navbar-collapse > li {
    margin-left: 0 !important;
    padding: 0 10px;
  }
  .leagues .navbar.navbar-subheader.navbar-collapse > li.menu-header {
    background-color: #203252;
    padding: 10px;
    margin-bottom: 60px;
    min-height: 70px;
    position: sticky;
    z-index: 10;
    top: 0;
  }
  .leagues .navbar.navbar-subheader.navbar-collapse > li.menu-header h2 {
    color: #FFF;
  }
  .leagues .navbar.navbar-subheader.navbar-collapse > li a {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
.leagues .navbar.navbar-subheader {
  width: calc(100% - 10px);
  margin: 5px;
  background: #f2f2f2;
  padding: 0 10px;
}
.leagues .navbar.navbar-subheader > li + li:not(.pull-right) {
  margin-left: 10px;
}
.leagues .navbar.navbar-subheader a {
  font-family: var(--font-default);
  font-weight: bold;
  text-transform: uppercase;
  color: #333;
}
.leagues .navbar.navbar-subheader.nav > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
}
.leagues .navbar-nav.navbar-subheader.nav li > a:hover {
  background: rgba(255, 255, 255, 0.4);
}
.leagues .navbar.navbar-subheader a i {
  display: inline-flex;
  transition: transform 0.2s ease-in-out;
  transform: scale(1);
  transition: -webkit-transform 0.2s ease-in-out;
  -webkit-transform: scale(1);
}
.leagues .navbar.navbar-subheader a:hover i {
  animation: infinite ani-wiggle 1s alternate;
  -webkit-animation: infinite ani-wiggle 1s alternate;
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}
.leagues .left-sidenav .sidenav-icon-item a {
  height: 60px;
}
.leagues .left-sidenav .sidenav-icon-item a > img {
  max-height: 100%;
  width: 60px;
}
.leagues .navbar.navbar-subheader .dropdown-menu {
  background: #f2f2f2;
  border-radius: 4px;
}
.leagues .navbar.navbar-subheader .dropdown-menu a,
.leagues .navbar.navbar-subheader .dropdown-menu a:hover {
  color: rgb(118, 127, 143);
}
@media (min-width: 768px) {
  .leagues .navbar.sub-navbar.affix .container {
    left: 0px;
    max-width: 1060px;
    width: 100%;
  }
  .leagues .navbar.sub-navbar.affix .navbar.navbar-subheader {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
}
@media (min-width: 501px) {
  .leagues #teamInfo {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .leagues .shortcuts {
    display: none !important;
    transform: scale(1) !important;
    position: fixed !important;
    right: 20px !important;
    top: 160px !important;
    padding: 0 !important;
    bottom: auto !important;
  }
  .leagues .shortcuts:before {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    background: #FFF;
    display: flex;
    content: "";
    z-index: 100;
    border-radius: 50%;
    transform: scale(1);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    /*
    .card-3 {
        box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    }

    .card-4 {
        box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    }

    .card-5 {
        box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
    }*/
  }
  .leagues .shortcuts.open:before {
    display: none;
  }
  .leagues .shortcuts:not(.open) > li {
    margin-left: -70px !important;
    transform: scale(0.2) translate(20px, -50%);
    box-shadow: none !important;
    /*
    .card-3 {
        box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    }

    .card-4 {
        box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    }

    .card-5 {
        box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
    }*/
  }
  .leagues .shortcuts > li {
    margin-left: 0px !important;
    width: 65px !important;
    height: 65px !important;
    padding: 5px !important;
    transition: transform 0.3s ease-in-out 0, margin 0.3s ease-in-out 0 !important;
  }
  .leagues #teamInfo,
  .leagues .navbar-toggle {
    background: #273d64;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    /*
    .card-3 {
        box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    }

    .card-4 {
        box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    }

    .card-5 {
        box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
    }*/
  }
  .leagues #teamInfo:hover,
  .leagues .navbar-toggle:hover {
    background-color: color-mix(in lab, #203252, #fff 10%) !important;
  }
  .leagues #teamInfo {
    position: fixed;
    top: 8px;
    left: 60px;
    background: #ebf0f7;
    border: 4px solid #FFF;
  }
  .leagues #teamInfo img {
    width: 100%;
    height: 100%;
  }
  .leagues #user-dropdown .caret {
    display: none !important;
  }
}

.external-layout.init-complete:before {
  display: none !important;
}
@media (max-width: 767px) {
  .external-layout .showcase > .container {
    min-height: 100px;
  }
  .external-layout .showcase > .container > * {
    display: none;
  }
}

.navbar-more-button {
  min-width: 40px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  display: inline-block;
}

/*OVERWRITE main.css class*/
.navbar.sub-navbar.navbar-card {
  margin-bottom: 0px;
}

.navbar.sub-navbar.navbar-card:not(.affix) ~ .main-container {
  /*top: -124px;*/
}

.webview .navbar.sub-navbar.navbar-card ~ .viewport {
  /*top: 0 !important;*/
  margin-top: 0px !important;
  padding-top: 0 !important;
}

.main-container {
  background: #FFF;
}
.main-container:has(.public-heading-sticky) {
  overflow: visible !important;
}

.navbar-card.competition-type-1 {
  background-color: #79C843;
}

.navbar-card.competition-type-2 {
  background-color: #1CAAE1;
}

.navbar-card.competition-type-3 {
  background-color: #6E48C1;
}

.navbar-card.competition-type-4 {
  background-color: #37BCAA;
}

.navbar-card.competition-type-5 {
  background-color: #37BCAA;
}

.navbar-card.competition-type-6 {
  background-color: #37BCAA;
}

.navbar-card.competition-type-7 {
  background-color: #EF2042;
}

.navbar-card.competition-type-8 {
  background-color: #EF2042;
}

.navbar-card.competition-type-9 {
  background-color: #EF2042;
}

.navbar-card.competition-type-10 {
  background-color: #F6AA2E;
}

.navbar-card.competition-type-11 {
  background-color: #FF703D;
}

.navbar-card.competition-type-7 .competition-ranking-link,
.navbar-card.competition-type-8 .competition-ranking-link,
.navbar-card.competition-type-9 .competition-ranking-link,
.navbar-card.competition-type-11 .competition-ranking-link {
  display: none;
}

.navbar-card.competition-type-2 .competition-calendar-link,
.navbar-card.competition-type-3 .competition-calendar-link {
  display: none;
}

.navbar-card.competition-type-2 .competition-calendar-link,
.navbar-card.competition-type-3 .competition-calendar-link {
  display: none;
}

.navbar-card.competition-type-10 .competition-fantastrip-link,
.navbar-card.competition-type-11 .competition-fantastrip-link {
  display: none;
}

/*
* {
    box-shadow: none!important;
    text-shadow: none!important;
}
*/
img.crest-ico {
  width: 18px;
  height: 18px;
  vertical-align: top;
  border: 1px solid #FAFAFA;
  object-fit: scale-down;
  background-color: #EEE;
  border-radius: 50%;
  margin-right: 10px;
  overflow: visible;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

img.player-img.circle {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #FFF;
  border-radius: 50%;
  border: 1px solid #e5e7ea;
  aspect-ratio: 1;
}

img.shirt:not(.img-rounded),
img.logo:not(.img-rounded),
img.crest:not(.img-rounded) {
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
  -webkit-filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
}

img.shirt.circle,
img.logo.circle,
img.crest.circle {
  border-radius: 50%;
  background: #F9F9F9;
  border: 3px solid #FFF;
  box-sizing: border-box;
  aspect-ratio: 1;
}

img.shirt.circle {
  padding: 6px;
}

.no-border {
  border: none !important;
}

.no-border .panel-detached {
  background: none;
}

.panel-detached .panel-heading,
.panel-detached .panel-body {
  border: 1px solid #E0E0E0;
  margin-bottom: 15px;
}

.panel .panel-heading .btn.btn-sm b {
  color: #203252;
}

.panel .panel-heading h5 {
  font-size: 12px;
  color: #C1C1C1;
}

h5[data-ellipsis-label].truncated:before {
  color: #C1C1C1 !important;
}

.panel-heading-bordered {
  background-color: #FFF !important;
  border: 1px solid #C0C0C0 !important;
  padding-top: 0;
  padding-bottom: 0;
}
.panel-heading-bordered:not(.row) {
  padding: 0;
}
.panel-heading-bordered > div {
  padding-bottom: 10px;
  border-left: 1px solid #C0C0C0;
  border-top: 1px solid #C0C0C0;
  top: -1px;
  left: 0px;
  margin-left: -1px;
  margin-bottom: -1px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  display: -webkit-flex;
  flex-grow: 1;
}

/*
.panel-heading-bordered {
    background-color: #FFF !important;
    border: 1px solid #C0C0C0 !important;
    padding: 0;
}

    .panel-heading-bordered > div {
        padding-bottom: 10px;
        border-left: 1px solid #C0C0C0;
        border-top: 1px solid #C0C0C0;
        top: -1px;
        left: 0px;
        margin-left: -1px;
        margin-bottom: -1px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        display: -webkit-flex;
        -webkit-flex-direction: column;
        -webkit-justify-content: flex-end;
        flex-grow: 1;
        -webkit-flex-grow: 1;
    }


@media (max-width: 767px) {
    .panel-heading-bordered {
        flex-wrap: wrap !important;
    }

        .panel-heading-bordered > div {
            border-top: 1px solid #C0C0C0;
        }
}*/
/*ADMIN*/
body.league-main-admin .hidden-main-admin,
body:not(.league-main-admin) .visible-main-admin,
body.league-admin .tab-content > .tab-pane.swiper-slide.hidden-admin,
body:not(.league-admin) .tab-content > .tab-pane.swiper-slide.visible-admin,
body.league-admin .hidden-admin,
body:not(.league-admin) .visible-admin {
  display: none !important;
}

body[data-setup="4"] .navbar-toggle[data-target="#leagueMenu"],
body[data-setup="4"] #leagueMenu {
  display: none !important;
}

/*
@media (max-width: 767px) {

    body[data-setup="4"] .navbar-toggle[data-target="#leagueMenu"] ~ .nav-menu .dropdown-leagues.slide-down.open,
    body[data-setup="4"] #leagueMenu ~ .nav-menu .dropdown-leagues.slide-down.open {
        margin-left: -12px;
        width: calc(100% + 12px);
    }
}
*/
/* WAITING */
.leaving .main-content:before,
.leaving .side-content:before,
.logged-user-required .main-content:before,
.logged-user-required .side-content:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background: #FFF;
  z-index: 9999;
  opacity: 0.5;
  margin: -10px;
  cursor: not-allowed;
}

.logged-user-required.logged .main-content:before,
.logged-user-required.logged .side-content:before {
  display: none;
  z-index: -1;
}

.main-content.initialized .hidden-initialized,
.main-content:not(.initialized) .visible-initialized {
  display: none;
}

/* NAVBAR */
/*
#subNavbar > .container  {
    opacity: 0!important;
    transition: 0.2s ease-in-out opacity;
    -webkit-transition: 0.2s ease-in-out opacity;
}

.waiting-for-login #subNavbar > .container,
.user-initialized #subNavbar > .container  {
    opacity: 1!important;
    position: relative;
}
*/
@media (min-width: 768px) {
  .navbar-btn.navbar-right {
    min-width: 180px;
  }
}
@media (max-width: 767px) {
  .leagues .navbar-leagues {
    max-width: calc(100% - 10px);
  }
}
.leagues .navbar-logo {
  display: none !important;
}

/*
.leagues .navbar-leagues {
    background: #EEE;
}
*/
.leagues .navbar-leagues .dropdown-toggle {
  background: #FFF !important;
  z-index: 100;
}

.leagues .navbar-leagues .dropdown-empty {
  pointer-events: none;
  cursor: default;
}

.leagues .navbar-leagues .dropdown-empty .dropdown-menu,
.leagues .navbar-leagues .dropdown-empty .caret {
  display: none;
}

.navbar-nav > li {
  float: left;
}

@media (max-width: 767px) {
  .navbar-leagues .league-name {
    font-size: 90%;
    max-width: 20vw;
  }
  .navbar-leagues .league-type {
    display: none;
  }
  .leagues .navbar-leagues .dropdown-toggle {
    border-radius: 0 !important;
    /*
    padding-top   : 10px !important;
    padding-bottom: 10px !important;
        */
  }
}
@media (max-width: 544px) {
  .leagues .navbar-leagues {
    /*max-width: 30%;*/
  }
}
/*@media (max-width: 767px) {*/
@media (max-width: 0px) {
  .leagues .league-name {
    font-family: var(--font-condensed);
    font-size: 20px;
    vertical-align: -3px;
  }
  .leagues .navbar-leagues .caret {
    display: inline-block !important;
  }
  .leagues .navbar-leagues .dropdown-toggle:after {
    display: none;
  }
  .leagues .navbar-leagues {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center;
  }
  .leagues .navbar-leagues .league {
    height: 40px;
    padding: 10px 7px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }
  .leagues .navbar-leagues .dropdown-menu {
    margin-left: 0 !important;
    width: 100%;
    position: static !important;
  }
  .edit-modal .form-horizontal .edit-modal-row + .edit-modal-row {
    margin-bottom: 10px;
  }
}
.affix .navbar-leagues .dropdown-menu {
  left: 16px;
}

/*
@media (max-width: 768px) {
    .leagues .navbar.sub-navbar.affix {
        padding-right: 0px;
    }
    .leagues .nav-menu {
        text-align: center;
    }

   .leagues .navbar-right.visible-logged {
       float: none!important;
       display: inline-table;
   }
}
*/
/* LEAGUES */
.profile-card-header.league-header {
  margin: auto;
  display: inline-block;
  text-align: left;
  padding-top: 30px;
}

.profile-card-header h4 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 400 !important;
  max-height: 100px;
  transition: opacity 0.3s ease-in-out, max-height 0.2s ease-in-out;
  -webkit-transition: opacity 0.3s ease-in-out, max-height 0.2s ease-in-out;
  font-family: var(--font-default);
  /*
  color             : $primary;
  font-size         : 32px;
  font-weight       : 400!important;
  max-height        : 100px;

  transition        : opacity 0.3s ease-in-out, max-height 0.2s ease-in-out;
  -webkit-transition: opacity 0.3s ease-in-out, max-height 0.2s ease-in-out;
  */
}

.profile-card-header h4 > b {
  font-weight: 700 !important;
}

.profile-card-header.league-header .media-left {
  position: relative;
}

.profile-card-header .team-shirt:before,
.profile-card-header img.media-object {
  max-height: 92px;
  transition: max-height 0.2s ease-in-out;
  -webkit-transition: max-height 0.2s ease-in-out;
  z-index: 10;
  position: relative;
}

.profile-card-header img.logo {
  width: 150px;
  height: 150px !important;
  min-height: initial !important;
  padding: 0 !important;
}

.profile-card-header h5 {
  font-size: 21px;
  font-weight: 700;
  /*color    : #A0A0A0;*/
  color: #E0E0E0;
  overflow: visible;
}

.profile-card-header h5 small {
  vertical-align: top;
  font-weight: 700;
  font-size: 48%;
  margin-left: 10px;
  text-transform: uppercase;
}

body:not(.is-in-competition) .visible-is-in-competition,
body.is-in-competition .hidden-is-in-competition {
  display: none !important;
}

body:not(.user-initialized) .not-in-competition-alert {
  display: none;
}

.competition-current:hover .not-in-competition-alert {
  background: red;
}

.competition-current .not-in-competition-alert {
  content: "!";
  color: #fff;
  background: #767d94;
  width: 12px;
  height: 12px;
  display: flex;
  border-radius: 50%;
  font-size: 8px;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 4px;
  top: 4px;
  transition: background 0.2s ease-in-out;
  -webkit-transition: background 0.2s ease-in-out;
}

/* COMPETITION CONTAINER */
.competition-icon {
  width: auto;
  height: 32px;
  margin-top: -5px;
  margin-bottom: -5px;
  margin-right: 4px;
  position: relative;
}

a.competition-icon::after {
  content: "*";
  font-family: "fg-leghe" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  background-color: inherit;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.05s ease-in-out;
}
a.competition-icon:hover::after {
  opacity: 1;
}

.competition-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.competition-type[data-competition-type="1"]:after {
  content: "Competizione a calendario";
}

.competition-type[data-competition-type="2"]:after {
  content: "Competizione uno vs tutti";
}

.competition-type[data-competition-type="3"]:after {
  content: "Competizione formula 1";
}

.competition-type[data-competition-type="4"]:after,
.competition-type[data-competition-type="5"]:after,
.competition-type[data-competition-type="6"]:after {
  content: "Competizione a gruppi";
}

.competition-type[data-competition-type="7"]:after,
.competition-type[data-competition-type="8"]:after,
.competition-type[data-competition-type="9"]:after {
  content: "Competizione a scontri diretti";
}

.competition-type[data-competition-type="10"]:after {
  content: "Competizione Battle Royale";
}

[data-competition-type="10"] .hidden-comp-royale {
  display: none !important;
}

.competition-icon {
  background-color: #CCC;
  background-size: calc(100% - 12px);
  border-radius: 50%;
}
.competition-icon.competition-icon-1 {
  background-color: #79C843;
  background-image: url("https://doh3bfkx6r7ti.cloudfront.net/web/img/icons/competitions/calendar.svg");
}
.competition-icon.competition-icon-2 {
  background-color: #1CAAE1;
  background-image: url("https://doh3bfkx6r7ti.cloudfront.net/web/img/icons/competitions/points.svg");
}
.competition-icon.competition-icon-3 {
  background-color: #6E48C1;
  background-image: url("https://doh3bfkx6r7ti.cloudfront.net/web/img/icons/competitions/f1.svg");
}
.competition-icon.competition-icon-4, .competition-icon.competition-icon-5, .competition-icon.competition-icon-6 {
  background-color: #37BCAA;
  background-image: url("https://doh3bfkx6r7ti.cloudfront.net/web/img/icons/competitions/groups.svg");
}
.competition-icon.competition-icon-7, .competition-icon.competition-icon-8, .competition-icon.competition-icon-9 {
  background-color: #EF2042;
  background-image: url("https://doh3bfkx6r7ti.cloudfront.net/web/img/icons/competitions/playoff.svg");
}
.competition-icon.competition-icon-10 {
  background-color: #F6AA2E;
  background-image: url("https://doh3bfkx6r7ti.cloudfront.net/web/img/icons/competitions/royal.svg");
}
.competition-icon.competition-icon-11 {
  background-color: #FF703D;
  background-image: url("https://doh3bfkx6r7ti.cloudfront.net/web/img/icons/competitions/highlander.svg");
}

.competition-container {
  /*background: #8497BB;*/
  background: #203252;
  color: #FFF;
  padding-bottom: 1px;
  position: relative;
}

.competition-list {
  list-style: none;
  margin-bottom: 0;
}

.competition-list > li > a,
.competition-current {
  padding: 10px;
  font-family: var(--font-default);
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
  padding-right: 100px;
}

.competition-list li a {
  min-height: 30px;
  display: block;
  /*color           : rgba(255,255,255,0.5);*/
  color: rgba(188, 210, 238, 0.8);
  transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
  -webkit-transition: color 0.3s ease-in-out, -webkit-transform 0.2s ease-in-out;
}

.competition-list li a:focus,
.competition-list li a:hover {
  color: #FFF;
  transform: translateX(5px);
  -webkit-transform: translateX(5px);
  outline: none;
}

.competition-list li {
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.2s ease-in-out;
  -webkit-transition: background-color 0.2s ease-in-out;
}

.competition-list li:nth-child(2n+1) {
  background-color: rgba(37, 64, 90, 0.13);
  z-index: 0;
  position: relative;
}

.competition-list li:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.competition-container[data-len="0"] .competition-caret {
  display: none;
}

.competition-container[data-len="0"] .competition-current-name {
  opacity: 0.5;
}

.competition-caret {
  /*background: #1B2C44;*/
  background: #bcd2ee;
  position: absolute;
  /*right   : 20px;*/
  right: 1px;
  height: 100%;
  width: 57px;
  top: 0;
  color: #FFF;
  text-align: center;
  padding: 12px 4px;
  z-index: 0;
}

.competition-caret + .competition-caret {
  /*right: 78px;*/
  right: 58px;
}

.competition-caret-secondary {
  /*background: $primary;*/
  background: transparent;
  font-size: 10px;
  padding-top: 14px;
}

.competition-caret-secondary i {
  opacity: 0.5;
}

.competition-caret i {
  transform: rotate(180deg) translateX(-50%);
  -webkit-transform: rotate(180deg) translateX(-50%);
  transition: 0.5s ease-in-out transform;
  -webkit-transition: 0.5s ease-in-out -webkit-transform;
  position: absolute;
  left: 50%;
  transform-origin: left 35%;
  -webkit-transform-origin: left 35%;
  color: #FFF;
}

.competition-caret.collapsed i {
  transform: rotate(0deg) translateX(-50%);
  -webkit-transform: rotate(0deg) translateX(-50%);
}

@media (max-width: 480px) {
  .competition-list > li > a,
  .competition-current {
    font-size: 12px;
    padding-right: 50px;
  }
  .competition-caret {
    width: 30px;
    right: 10px;
  }
}
/* SMART TABLE */
tr.on-empty-table {
  background: #FFF !important;
}

tr.on-empty-table .empty-message {
  max-height: 0;
  padding: 0px;
  width: 100%;
  text-align: center;
  transition: 0.5s ease-in-out max-height, 0.5s ease-in-out padding;
  -webkit-transition: 0.5s ease-in-out max-height, 0.5s ease-in-out padding;
  display: inline-block;
  overflow: hidden;
  font-size: 14px;
  color: #CCC;
}

tr.on-empty-table td {
  font-size: 0;
}

tr.on-empty-table:first-of-type:last-of-type .empty-message {
  max-height: 500px;
  padding: 10px;
}

.new-row td {
  transition: opacity 0.5s ease-in-out;
  -webkit-transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

.new-row:not(.wrapped) td {
  opacity: 0;
}

th.header-sm {
  font-size: 80% !important;
  padding-bottom: 0px !important;
}

.cell-text.text-center {
  padding: 4px !important;
}

.x3 .player-name {
  font-size: 90%;
  white-space: nowrap;
}

.seriea-player-name {
  font-weight: 700;
}

.short-team-name {
  text-transform: uppercase;
  font-size: 90%;
  vertical-align: top;
}

.short-team-name:before {
  content: "(";
  vertical-align: top;
}

.short-team-name:after {
  content: ")";
  vertical-align: top;
}

th.header-sm.no-padding {
  padding: 0 !important;
}

th.header-sm.no-padding.cell-text > span {
  padding: 0 !important;
}

th.header-sm.no-padding.cell-digit > span {
  padding: 0 !important;
  padding-left: 15px !important;
}

.subheader.header-no-padding th,
.header-no-padding .subheader th {
  padding: 0px !important;
}

.subheader.header-no-padding th > span,
.header-no-padding .subheader th > span {
  vertical-align: -7px !important;
  white-space: nowrap;
}

.formation-role-table td .match {
  white-space: nowrap;
}

.smart-table tr.row-spacer > * {
  padding: 0 !important;
  height: 0 !important;
  border: none !important;
}

.header-no-padding.subheader th > span,
.header-no-padding.subheader th.header-sm > span,
.header-no-padding .subheader th > span,
.header-no-padding .subheader th.header-sm > span {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.smart-table.fixed {
  table-layout: fixed;
  width: 100%;
}

.smart-table th.no-padding,
.smart-table td.no-padding,
.smart-table .has-subheader th.no-padding,
.smart-table .has-subheader td.no-padding {
  padding: 0 !important;
}

.smart-table.fixed th > span {
  max-width: 100%;
  overflow: hidden !important;
  display: inline-block;
  text-overflow: ellipsis;
  vertical-align: bottom;
  padding-right: 10px;
}

.smart-table.fixed th.text-center > span {
  padding-right: 0px;
}

.smart-table tfoot .server-messages {
  margin-right: 10px;
  margin-left: 10px;
  width: calc(100% - 20px);
}

.smart-table .removing [data-key] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.smart-table [data-key].sortable {
  cursor: pointer;
}

.smart-table tbody tr:not(.table-summary):hover {
  background: rgba(244, 246, 249, 0.7);
}

.smart-table > tbody > tr > th,
.smart-table > tbody > tr > td {
  padding: 0;
  margin: 0;
}

.smart-table th.sort-criteria {
  background: rgba(0, 0, 0, 0.05);
}

.smart-table td.sort-criteria {
  background: rgba(0, 0, 0, 0.02);
}

.smart-table th.sort-criteria.role-divider-label {
  background: none;
}

/*.smart-table th.sortable*/
.smart-table th.sortable span {
  padding-top: 18px !important;
}

.smart-table .subheader th {
  padding-top: 0px !important;
  line-height: 12px;
  vertical-align: middle;
  padding-left: 5px !important;
}

.smart-table .subheader th.cell-digit:not(.text-center) {
  padding-left: 15px !important;
}

.fg:not(.league-mantra) .smart-table .subheader th.no-padding-classic,
.fg:not(.league-mantra) .smart-table td.no-padding-classic {
  padding-left: 0 !important;
}

.smart-table .subheader:first-of-type th {
  padding-top: 8px !important;
}

.smart-table .subheader th:first-of-type {
  padding-left: 10px !important;
}

.smart-table .has-subheader td:first-of-type {
  padding-left: 10px !important;
}

.smart-table .has-subheader td {
  padding-left: 5px !important;
}

.smart-table .subheader th > span,
.smart-table .subheader th.sortable > span {
  padding-top: 0 !important;
  transition: padding 0.2s ease-in-out;
  -webkit-transition: padding 0.2s ease-in-out;
}

.smart-table .subheader th.sort-criteria > span {
  padding-left: 16px !important;
}

.smart-table .subheader th > span:before {
  left: 6px;
  top: 2px;
  transform-origin: left 54%;
  -webkit-transform-origin: left 54%;
}

.smart-table .groupheader th {
  background: #172e4a;
  color: #FFF;
  /*border  : 1px solid #e5e7ea;*/
}

.smart-table .groupheader th > span {
  color: #FFF;
  text-transform: uppercase;
}

.smart-table .groupheader ~ tr .cell-text {
  white-space: normal;
}

.smart-table th > span {
  position: relative;
  overflow: visible;
}

.smart-table th > span:before {
  content: "2";
  font-family: "fg-icons";
  position: absolute;
  /*top                   : 0px;*/
  top: 5px;
  left: 50%;
  color: #777;
  width: 20px;
  height: 10px;
  text-align: center;
  -webkit-transform-origin: left 66%;
  transform-origin: left 66%;
  -webkit-transform: rotate(180deg) scale(0) translateX(-50%);
  transition: transform 0.3s ease-in-out;
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
}

.smart-table .role-divider th.role-divider-label > span:before {
  top: auto;
  left: auto;
  right: -10px;
  font-size: 10px;
  line-height: 15px;
  padding: 2px;
}

.smart-table .role-divider th > span:before {
  color: #FFF;
  transform-origin: left 80%;
  -webkit-transform-origin: left 80%;
  font-size: 8px;
  top: 1px;
}

.smart-table th.sortable > span {
  /*padding-top: 12px!important;*/
  min-width: 25px;
  min-height: 16px;
}

.smart-table th.sort-criteria > span:before {
  transform: rotate(0deg) scale(1) translateX(-50%);
  -webkit-transform: rotate(0deg) scale(1) translateX(-50%);
}

.smart-table th.sort-criteria.asc > span:before {
  transform: rotate(180deg) scale(1) translateX(-50%);
  -webkit-transform: rotate(180deg) scale(1) translateX(-50%);
}

.smart-table .role-divider-label th.sort-criteria > span:before {
  transform: rotate(0deg) scale(0.5) translateX(-50%);
  -webkit-transform: rotate(0deg) scale(0.5) translateX(-50%);
}

.smart-table [data-key][data-icon]:before {
  display: none;
}

td.cell-actions:last-child {
  padding-right: 8px !important;
  padding-left: 8px !important;
}

td.cell-actions.no-padding:last-child {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

th.cell-hidden,
td.cell-hidden,
.smart-table.smart-view th.cell-hidden,
.smart-table.smart-view td.cell-hidden {
  display: none;
}

.smart-table.top-five tr:nth-child(5) ~ tr:not(.myself),
.smart-table.top-ten tr:nth-child(10) ~ tr:not(.myself),
ul.top-five li:nth-child(5) ~ li:not(.highlight),
ul.top-ten li:nth-child(10) ~ li:not(.highlight) {
  display: none;
}

.smart-table tr.lazy {
  visibility: hidden !important;
}

.smart-table tr.myself {
  /*background-color: lighten($primary, 30) !important;
  font-weight: bold;
  z-index: 100;
  position: relative;*/
  font-weight: bold;
  z-index: 100;
  position: relative;
  border-left: 6px solid #203252;
}

.smart-table tr.myself > .cell-index {
  position: relative;
  vertical-align: middle;
}

.no-versus .match-result.myself:before,
tr.myself > .cell-index:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 4px;
  /*background: #FF8B2C;*/
}

.match-results:not(.no-versus) .match-result:is(.sleep-home, .sleep-away) * {
  color: rgba(101, 109, 128, 0.5) !important;
}
.match-results:not(.no-versus) .match-result:not(.no-versus):not(.sleep-home):not(.sleep-away) .team-home,
.match-results:not(.no-versus) .match-result:not(.no-versus):not(.sleep-home):not(.sleep-away) .team-away {
  display: grid;
  min-height: 65px;
}
.match-results:not(.no-versus) .match-result:not(.no-versus):not(.sleep-home):not(.sleep-away) .team-shirt {
  margin-left: auto;
}
.match-results:not(.no-versus) .match-result:not(.no-versus):not(.sleep-home):not(.sleep-away) .team-crest,
.match-results:not(.no-versus) .match-result:not(.no-versus):not(.sleep-home):not(.sleep-away) .team-shirt {
  grid-row: 1;
}
.match-results:not(.no-versus) .match-result:not(.no-versus):not(.sleep-home):not(.sleep-away) .team-name,
.match-results:not(.no-versus) .match-result:not(.no-versus):not(.sleep-home):not(.sleep-away) .team-fpt {
  grid-column: 1/-3;
  margin: 0;
  text-align: center;
}
.match-results:not(.no-versus) .match-result:not(.no-versus):not(.sleep-home):not(.sleep-away) .team-score::after {
  height: 100% !important;
  align-items: center;
  display: flex;
}
.match-results:not(.no-versus) .match-result.no-versus .team.team-home {
  display: flex;
  align-items: center;
}
.match-results:not(.no-versus) .match-result.no-versus .team.team-home .team-shirt,
.match-results:not(.no-versus) .match-result.no-versus .team.team-home .team-crest {
  width: 28px;
  aspect-ratio: 1/1;
  margin-top: 0;
}
.match-results:not(.no-versus) .match-result.no-versus .team.team-home .team-name {
  margin-left: 10px;
  margin-right: auto;
  text-align: left;
}
.match-results:not(.no-versus) .match-result.no-versus .team.team-home .team-score,
.match-results:not(.no-versus) .match-result.no-versus .team.team-home .team-fpt {
  padding: 2px;
  margin-top: 0;
  width: 32px;
  margin-right: 10px;
}

.cell-main {
  /*width: 100%;*/
}

.cell-main a[href]:hover {
  text-decoration: underline;
  color: inherit;
}

table > tbody > tr > td.cell-middle,
table > tbody > tr > th.cell-middle,
.cell-middle {
  vertical-align: middle;
}

.table-flex .cell-middle > * {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: auto;
  height: 20px;
}

.table-flex .cell-middle.text-center > * {
  justify-content: center;
}

.role-compact .cell-middle .role {
  top: -2px;
}

@media (min-width: 768px) {
  .smart-table td > * {
    display: inline-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    vertical-align: middle;
    line-height: 16px;
    /* display             : flex; */
  }
  .smart-table td > *.ellipsis {
    display: inline-block;
  }
  .smart-table td > .flex-col {
    align-items: flex-start;
    -webkit-align-items: flex-start;
  }
}
@media (max-width: 500px) {
  .role-compact .cell-middle .role {
    top: 1px;
    zoom: 0.8;
    left: -10px;
  }
}
td.cell-graphic {
  font-size: 0;
  line-height: 0;
}

.formation-status,
.roster-status-progress {
  width: 32px;
  height: 32px;
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: #FFF;
}

.formation-status:after,
.roster-status-progress:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid #203252;
  border-radius: 50%;
}

.formation-status:before,
.roster-status-progress:before {
  width: 100%;
  height: 100%;
  content: "";
  display: inline-block;
  background: #203252;
  position: relative;
  left: -100%;
}

.roster-status-progress.roster-status-progress-partial:before {
  left: -50%;
}

.roster-status-progress.roster-status-progress-complete:before {
  left: 0%;
}

.formation-status.formation-status-set {
  background: #63c623;
  opacity: 0.5;
}

.formation-status.formation-status-notset {
  background: #656d80;
  opacity: 0.5;
}

.formation-status.formation-status-recovered {
  background: #f8ab29;
  opacity: 0.5;
}

.formation-status.formation-status-set:after {
  border: none;
}

.formation-status.formation-status-notset:after {
  border-color: #A0A0A0;
}

.formation-status.formation-status-recovered:after {
  border: none;
}

.cell-main span > small {
  display: inline-block;
  width: 100%;
  font-size: 12px;
  font-style: italic;
  text-overflow: ellipsis;
  overflow: hidden;
}

.cell-link a {
  font-weight: 700;
  font-size: 12px;
  text-decoration: underline;
  color: #203252;
}

tr.align-middle td {
  vertical-align: middle !important;
}

.cell-index {
  font-size: 20px;
  font-weight: 700;
  color: #555555;
  text-align: right;
  min-width: 30px;
  padding-right: 5px !important;
}

.cell-uncollapsable:before {
  content: "";
  display: inline-block;
  min-height: 24px;
}

.cell-full-width {
  width: 100%;
}

.cell-role {
  text-overflow: clip !important;
}

.cell-role .role {
  /*margin: 0 4px;*/
  text-overflow: clip !important;
  max-width: calc(100% - 8px);
  min-width: 20px;
}

.cell-actions,
.cell-digit,
.cell-email,
.cell-text,
.cell-select,
.cell-code {
  font-size: clamp(10px, 3vw, 14px);
  color: #555555;
  /*padding: 5px 5px 3px 15px !important;*/
  padding: 5px !important;
}

.cell-digit.cell-middle {
  padding: 3px 3px 3px 15px !important;
}

.cell-digit.text-center {
  padding: 3px 3px 3px 3px !important;
}

.smart-pad .cell-actions,
.smart-pad .cell-digit,
.smart-pad .cell-email,
.smart-pad .cell-text,
.smart-pad .cell-select,
.smart-pad .cell-code,
.smart-pad .cell-actions,
.has-subheader .cell-actions,
.has-subheader .cell-countdown,
.has-subheader .cell-date,
.has-subheader .cell-digit,
.has-subheader .cell-email,
.has-subheader .cell-text,
.has-subheader .cell-select,
.has-subheader .cell-code {
  /*padding: 5px 5px 3px 5px !important;*/
  padding: 5px !important;
  vertical-align: middle;
}

.cell-actions .radio label {
  margin-top: -1px !important;
  margin-bottom: -1px;
}

.cell-actions input[type=radio]:checked ~ .check {
  left: calc(50% - 8px);
  top: calc(50% - 8px);
  width: 16px;
  height: 16px;
  margin: 3px 2px !important;
}

@media (max-width: 767px) {
  .padding-sm .cell-digit,
  .padding-sm .cell-email,
  .padding-sm .cell-text,
  .padding-sm .cell-select,
  .padding-sm .cell-code {
    padding: 2px 2px 2px 2px !important;
  }
  .smart-table th > span {
    zoom: 0.75;
  }
  .smart-table .subheader th.cell-digit {
    padding: 0 !important;
  }
  .cell-link > a {
    font-size: 10px;
    text-align: center;
  }
}
.cell-text.cell-main > span {
  position: relative;
  max-width: 100%;
  display: inline-block;
  white-space: normal;
  text-overflow: ellipsis;
  overflow: hidden;
  justify-content: flex-start;
  -webkit-justify-content: flex-start;
}

td > .flex-col {
  display: flex !important;
  flex-direction: column;
  -webkit-display: flex !important;
  -webkit-flex-direction: column;
  margin: auto;
}

td > .flex-col.no-margin {
  margin: 0;
}

.cell-code .label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 2px;
  flex-shrink: 0;
}

.cell-code b {
  flex-shrink: 1;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 80%;
}

.cell-email span {
  font-size: 12px;
  vertical-align: -2px;
  vertical-align: initial;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
}

.cell-code .code {
  background: #203252;
  border-radius: 1px;
  padding: 2px 10px;
  color: #FFF !important;
  font-size: 12px;
  vertical-align: -3px;
}

.cell-actions:not(.text-center) {
  text-align: right;
  padding-right: 10px !important;
}

.cell-actions .btn-icon .icon {
  font-size: 20px;
  /*color    : #555555;*/
  top: 3px;
  line-height: 20px;
}

.btn-icon .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.btn-icon.btn-clear,
.cell-actions .btn.btn-icon {
  /*background: rgba(74, 146, 211, 0.2);*/
  color: #203252 !important;
  padding: 0;
  font-size: 18px;
  width: 28px;
  height: 28px;
  margin: 4px 2px;
}

.member-superadmin .cell-actions .btn,
.cell-actions .btn {
  margin: 5px 0px;
}

.member-superadmin .cell-actions .btn:hover {
  background: #FFF !important;
}

.cell-actions .btn.btn-flat > i {
  color: #203252;
}

.btn.btn-icon.btn-clear,
.cell-actions .btn.btn-icon.btn-clear {
  background: none;
}

.btn.btn-icon.btn-clear.btn-link {
  margin-top: 2px !important;
  margin-bottom: -7px !important;
  line-height: 9px;
  height: 28px;
  display: inline-block;
  padding: 3px 0 !important;
  transition: background 0.2s ease-in-out;
  -webkit-transition: background 0.2s ease-in-out;
}

.btn-clear.btn-circle.btn-danger .icon {
  background: none;
  color: #f21a3c;
  border: 1px solid #f21a3c;
}

.input-group-addon.btn {
  margin: -2px 0 !important;
  padding: 0 !important;
  top: -2px;
  overflow: hidden;
  min-width: 44px;
}

.btn.btn-icon.btn-clear.btn-link:hover {
  background: #EEEEEE;
}

.cell-actions .btn.btn-icon.btn-clear > i {
  color: #203252;
  opacity: 0.5;
  transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
}

.cell-actions .btn.btn-icon.btn-clear:hover > i {
  opacity: 1;
}

.highlight .cell-index {
  position: relative;
}

.highlight .cell-index:before {
  content: "";
  position: absolute;
  display: inline-block;
  height: 100%;
  width: 4px;
  background: #FD892F;
  left: 0;
  top: 0;
}

tr.highlight {
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
}

.cell-digits-4,
.cell-digits-2 {
  font-weight: 700;
  color: #656d80;
  font-size: 12px;
  line-height: 12px !important;
  padding: 10px 5px 3px 5px !important;
  text-align: center;
}

.cell-digits-4 {
  color: #1B2C44;
  font-weight: 300;
}

.cell-digits-8 {
  font-weight: 700;
  color: #656d80;
  font-size: 14px;
  line-height: 14px !important;
  padding: 8px 5px 3px 5px !important;
  text-align: center;
}

.cell-digits-lg {
  font-weight: 700;
  color: #203252;
  font-size: 14px;
  line-height: 14px !important;
  padding: 8px 10px 3px 10px !important;
  text-align: center;
}

[class*=cell-digits].cell-inverse {
  position: relative;
}

[class*=cell-digits].cell-inverse > span {
  color: #FFF;
}

[class*=cell-digits].cell-inverse:before {
  content: "";
  display: inline-block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #FFF;
  font-size: 18px;
  position: absolute;
  z-index: 0;
}

.cell-digits-8.cell-inverse:before {
  background: #8497BB;
}

.cell-digits-lg.cell-inverse:before {
  background: #0088CC;
}

.smart-table thead > tr,
.smart-table tfoot > tr {
  background: #fcfcfc;
  color: #656d80;
}

.smart-table tfoot > tr > td {
  padding: 0;
  border: none;
}

.smart-table tfoot > tr > td.padding {
  padding: 10px !important;
}

.smart-table tfoot td {
  width: 100%;
}

.list-group-item-footer .btn,
.smart-table tfoot .btn {
  font-weight: 700;
  margin: 0;
  font-size: 12px;
  /*background : #D1D1D1;*/
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 540px) {
  .list-group-item-footer .btn.btn-block-xs + .btn.btn-block-xs,
  .smart-table tfoot .btn.btn-block-xs + .btn.btn-block-xs {
    margin-top: 10px !important;
  }
}
.smart-table thead > tr > th {
  color: #656d80;
  font-size: 12px;
  font-weight: 400;
  border: none;
}

.smart-table tbody tr:not(.table-summary):hover {
  /*background-color: #FFF*/
}

/*.table > tbody > tr.odd,*/
.table-striped.table-striped-inverse > tbody > tr:not(.even):nth-child(2n),
.table-striped:not(.table-striped-inverse) > tbody > tr:nth-child(2n+1),
.table-striped:not(.table-striped-inverse) > tbody > tr.odd {
  background-color: #fcfcfc;
}

.table-striped > tbody > tr:nth-child(2n+1):hover {
  background-color: rgba(32, 50, 82, 0.2);
}

.table-striped.table-striped-inverse > tbody > tr:not(.odd):nth-child(2n+1),
.table-striped:not(.table-striped-inverse) > tbody > tr:nth-child(2n):not(.odd),
.table-striped:not(.table-striped-inverse) > tbody > tr.even {
  background-color: #f7f7f7;
}

.smart-table.table > tbody > tr:nth-child(2n):hover,
.smart-table.table-striped > tbody > tr:nth-child(2n):hover,
.smart-table.table > tbody > tr.even:hover,
.smart-table.table-striped > tbody > tr.even:hover,
.smart-table.table > tbody > tr.odd:hover,
.smart-table.table-striped > tbody > tr.odd:hover {
  background-color: rgba(32, 50, 82, 0.2);
}

.smart-table.raised-2 {
  position: relative;
}

/*
        .smart-table.raised-2:not(.fixed):before {
            content: "";
            display: inline-block;
            width: 100%;
            height: 100%;
            position: absolute;
            z-index: 1;
            border: 1px solid #CCC;
            top: 0;
            left: 0;
            pointer-events: none;
        }
            */
.on-no-matches {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  -webkit-transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.no-matches .on-no-matches,
.no-matches + .on-no-matches {
  max-height: 500px;
  opacity: 1;
}

.smart-table.smart-view.no-matches {
  margin-bottom: 0px;
}

.members-table:not(.no-members) ~ .visible-no-members,
.no-members ~ .hidden-no-members {
  display: none;
}

/*SMART-TABLE SMART-VIEW*/
.smart-table.smart-view.smart-table-primary tr {
  background: #DFEAF2;
}

.smart-table.smart-view {
  margin-bottom: 10px;
}

hr + .smart-table.smart-view {
  margin-top: 10px;
}

.smart-table.smart-view th > span:before {
  background: #FFF;
  z-index: 999;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  line-height: 10px;
  font-size: 50%;
  right: -15px;
  left: auto;
  top: 0;
  transform-origin: left 50%;
}

.smart-table.smart-view tr {
  position: relative;
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  width: 100%;
  padding: 8px;
  margin-bottom: 3px;
  background: #fcfcfd;
  /*background     : #EEE;*/
  border-radius: 2px;
}

#activePartecipants .smart-table.smart-view tr {
  margin-bottom: 10px;
}

.smart-table.smart-view .x0 {
  flex-grow: 0;
  -webkit-flex-grow: 0;
  width: 0px;
}

.smart-table.smart-view .x1 {
  flex-grow: 1;
  -webkit-flex-grow: 1;
  width: calc(5% - 1px);
}

.smart-table.smart-view .x2 {
  flex-grow: 2;
  -webkit-flex-grow: 2;
  width: calc(10% - 1px);
}

.smart-table.smart-view .x3 {
  flex-grow: 3;
  -webkit-flex-grow: 3;
  width: calc(15% - 1px);
}

.smart-table.smart-view .x4 {
  flex-grow: 4;
  -webkit-flex-grow: 4;
  width: calc(20% - 1px);
}

.smart-table.smart-view .x5 {
  flex-grow: 5;
  -webkit-flex-grow: 5;
  width: calc(25% - 1px);
}

.smart-table.smart-view .x6 {
  flex-grow: 6;
  -webkit-flex-grow: 6;
  width: calc(30% - 1px);
}

.smart-table.smart-view .x7 {
  flex-grow: 7;
  -webkit-flex-grow: 7;
  width: calc(35% - 1px);
}

.smart-table.smart-view .x8 {
  flex-grow: 8;
  -webkit-flex-grow: 8;
  width: calc(40% - 1px);
}

.smart-table.smart-view .x9 {
  flex-grow: 9;
  -webkit-flex-grow: 9;
  width: calc(45% - 1px);
}

.smart-table.smart-view .x10 {
  flex-grow: 10;
  -webkit-flex-grow: 10;
  width: calc(50% - 1px);
}

.smart-table.smart-view th,
.smart-table.smart-view td {
  overflow: hidden;
  min-width: 0 !important;
  padding: 0px !important;
  order: 10;
  width: 1px;
  display: inline-table;
}

.smart-table.smart-view tr:before {
  content: "";
  order: 15;
  flex-basis: 100%;
  -webkit-flex-basis: 100%;
  height: 0;
  display: flex;
  display: -webkit-flex;
}

.smart-table.smart-view th.cell-secondary,
.smart-table.smart-view td.cell-secondary {
  order: 20;
  color: #333;
}

.smart-table.smart-view th.cell-drilled,
.smart-table.smart-view td.cell-drilled {
  order: 30;
  overflow: hidden;
  margin-top: 10px;
  padding-top: 10px !important;
}

.smart-table.smart-view .cell-drilled.closed {
  height: 0;
  margin-top: 0px !important;
  padding-top: 0px !important;
}

.smart-table.smart-view .cell-index ~ .cell-secondary {
  margin-top: -20px;
}

.smart-table.smart-view > tbody > tr > th,
.smart-table.smart-view > tbody > tr > td {
  border-top: none !important;
}

.smart-table.smart-view > thead > tr > th {
  border: none !important;
}

.smart-table.smart-view td {
  font-size: 12px;
  line-height: 10px;
  display: block;
}

.smart-table.smart-view td > span {
  position: relative;
  display: flex;
  height: 16px;
  line-height: 14px;
  font-size: 12px;
  height: auto;
}

.smart-table.smart-view .cell-code > span,
.smart-table.smart-view .cell-email > span,
.smart-table.smart-view .cell-text > span,
.smart-table.smart-view .cell-select > span {
  margin: 5px;
  justify-content: flex-start;
  -webkit-justify-content: flex-start;
}

.smart-table.smart-view .cell-email > span {
  max-width: calc(100% - 10px);
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block !important;
}

.smart-table.smart-view .cell-actions {
  overflow: visible;
}

.smart-table.smart-view .cell-actions > span {
  margin-top: -6px;
  float: right;
  margin-bottom: 2px;
}

.smart-table.smart-view .cell-actions.cell-secondary > span {
  margin-bottom: -8px !important;
}

.smart-table.smart-view .cell-code span .label {
  margin-left: 4px;
}

tr.member-superadmin,
tr.member {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  /*
  .card-3 {
      box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  }

  .card-4 {
      box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  }

  .card-5 {
      box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
  }*/
}

tr.member.disabled {
  opacity: 0.5;
  pointer-events: none;
}

tr.has-drill-down:after {
  content: "";
  background: #F0F0F0;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 50px;
  width: 100%;
  display: inline-block;
  z-index: 0;
  border-top: #C0C0C0 1px solid;
  opacity: 0.8;
}

.smart-table td > span > select {
  margin-top: -5px;
  margin-bottom: -5px;
  height: 24px;
  padding: 0px 21px 0 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 40px;
  max-width: 100%;
  font-size: 12px;
  line-height: 20px;
  border: 1px solid #CCC;
  border-radius: 4px;
  color: #555;
  background: url(https://doh3bfkx6r7ti.cloudfront.net/web/img/select_arrow.png) #FFF no-repeat;
  background-position: right 5px top 8px;
  cursor: pointer;
}

.smart-table td > span > select[disabled] {
  border: none;
  background: none;
  padding-left: 0;
}

.form-group select.form-control.select-large {
  border-color: #8497BB;
  height: 32px;
  background-position: right 5px top 12px;
}

.form-group .form-label-light {
  color: #656d80;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.form-horizontal .smart-table td > span > select {
  background-position: right 8px top 12px;
  height: 32px;
}

.form-group.select-inline.is-focused select,
.form-group.select-inline select {
  max-width: 50%;
  float: right;
  margin-top: 2px;
}

.form-group.select-inline.select-small.is-focused select,
.form-group.select-inline.select-small select {
  max-width: 100px;
}

.form-group.select-inline.select-small select option {
  text-align: center;
}

.form-group.select-inline.is-focused label,
.form-group.select-inline label {
  color: #656d80;
  font-size: 14px;
  max-width: 48%;
  font-weight: 700;
  margin-bottom: 0;
  padding-top: 6px;
}

#editModal form:not(.form-horizontal) .edit-modal-row .cell-counters .input-group {
  padding-top: 0px;
}

.cell-counters .input-group-addon {
  background-color: #ebf0f7;
  border-radius: 5px 0 0 5px !important;
  color: #c7d5e8;
}
.cell-counters .input-group {
  outline: 0 !important;
  border-radius: 4px !important;
  border: 1px solid #c7d5e8;
}

.cell-counters-container ~ .error-list > * {
  margin-top: 0 !important;
  padding: 0 10px !important;
}

.edit-modal .field-error {
  margin-top: 10px;
  background: none !important;
  padding: 0;
}

.edit-modal .edit-modal-row > .notes {
  margin-top: -30px;
  line-height: 15px;
}
.edit-modal .edit-modal-row > .notes .text-info {
  line-height: 15px !important;
}

.edit-modal .modal-footer {
  padding-bottom: 0 !important;
  padding-top: 0;
}

.edit-modal .form-group.is-focused textarea.form-control,
.edit-modal .form-group textarea.form-control,
.edit-modal .form-group.is-focused input.form-control,
.edit-modal .form-group input.form-control {
  /*
  padding: 0px 21px 0 5px;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 40px;
  max-width: 100%;
  font-size: 14px;
  line-height: 20px;
  border: 1px solid #CCC;
  border-radius: 1px;
  color: #555;
  background: #FFF;
  */
  min-width: 40px;
  max-width: 100%;
}

.edit-modal .form-group.is-focused textarea.form-control,
.edit-modal .form-group textarea.form-control {
  font-size: 12px !important;
  line-height: 14px;
  padding: 10px 8px;
}

.edit-modal .form-group.is-focused input.form-control,
.edit-modal .form-group input.form-control {
  margin-top: -5px;
  margin-bottom: -5px;
  height: 28px;
  top: 0;
}

.edit-modal .form-group.is-focused input.past-date,
.edit-modal .form-group input.past-date,
.edit-modal .form-group.is-focused input.form-control[disabled],
.edit-modal .form-group input.form-control[disabled] {
  opacity: 0.8;
  border: 1px dotted #CCC !important;
}

.edit-modal .form-group input.form-control[readonly],
.edit-modal .form-group input.form-control[readonly] + .input-group-addon:not(.counter-next) {
  opacity: 0.8;
}

.edit-modal .form-group input.form-control::-moz-placeholder {
  font-size: 14px !important;
  line-height: 14px !important;
}

.edit-modal .form-group input.form-control:-ms-input-placeholder {
  font-size: 14px !important;
  line-height: 14px !important;
}

.edit-modal .form-group input.form-control::-webkit-input-placeholder {
  font-size: 14px !important;
  line-height: 14px !important;
}

.edit-modal .form-group textarea.form-control::-moz-placeholder {
  font-size: 12px !important;
  line-height: 14px !important;
}

.edit-modal .form-group textarea.form-control:-ms-input-placeholder {
  font-size: 12px !important;
  line-height: 14px !important;
}

.edit-modal .form-group textarea.form-control::-webkit-input-placeholder {
  font-size: 12px !important;
  line-height: 14px !important;
}

.cell-caption {
  flex-basis: 100%;
  -webkit-flex-basis: 100%;
  width: 100% !important;
  order: 25 !important;
}

.cell-caption > span {
  padding: 4px;
  margin-top: 10px;
  margin-bottom: 0;
  border-radius: 2px;
}

.cell-caption > span b {
  margin-left: 4px;
}

.cell-caption > span a {
  margin-left: 4px;
  color: #c3943d !important;
  border-bottom: 1px dotted #c3943d;
  display: inline-block;
  margin-left: auto;
  opacity: 0.8;
}

.cell-caption > span a:hover {
  opacity: 1;
}

.smart-table.fixed .x0 {
  width: 0%;
}

.smart-table.fixed .x1 {
  width: 5%;
}

.smart-table.fixed .x2 {
  width: 10%;
}

.smart-table.fixed .x3 {
  width: 15%;
}

.smart-table.fixed .x4 {
  width: 20%;
}

.smart-table.fixed .x5 {
  width: 25%;
}

.smart-table.fixed .x6 {
  width: 30%;
}

.smart-table.fixed .x7 {
  width: 35%;
}

.smart-table.fixed .x8 {
  width: 40%;
}

.smart-table.fixed .x9 {
  width: 45%;
}

.smart-table.fixed .x10 {
  width: 50%;
}

.smart-table.fixed .x11 {
  width: 55%;
}

.smart-table.fixed .x12 {
  width: 60%;
}

.smart-table.fixed .x13 {
  width: 65%;
}

.smart-table.fixed .x14 {
  width: 70%;
}

.smart-table.fixed .x15 {
  width: 75%;
}

.smart-table.fixed .x16 {
  width: 80%;
}

.smart-table.fixed .x17 {
  width: 85%;
}

.smart-table.fixed .x18 {
  width: 90%;
}

.smart-table.fixed .x19 {
  width: 95%;
}

.smart-table.fixed .x20 {
  width: 100%;
}

.league-mantra .smart-table.fixed .mantra-x0 {
  width: 0%;
}

.league-mantra .smart-table.fixed .mantra-x1 {
  width: 5%;
}

.league-mantra .smart-table.fixed .mantra-x2 {
  width: 10%;
}

.league-mantra .smart-table.fixed .mantra-x3 {
  width: 15%;
}

.league-mantra .smart-table.fixed .mantra-x4 {
  width: 20%;
}

.league-mantra .smart-table.fixed .mantra-x5 {
  width: 25%;
}

.league-mantra .smart-table.fixed .mantra-x6 {
  width: 30%;
}

.league-mantra .smart-table.fixed .mantra-x7 {
  width: 35%;
}

.league-mantra .smart-table.fixed .mantra-x8 {
  width: 40%;
}

.league-mantra .smart-table.fixed .mantra-x9 {
  width: 45%;
}

.league-mantra .smart-table.fixed .mantra-x10 {
  width: 50%;
}

.league-mantra .smart-table.fixed .mantra-x11 {
  width: 55%;
}

.league-mantra .smart-table.fixed .mantra-x12 {
  width: 60%;
}

.league-mantra .smart-table.fixed .mantra-x13 {
  width: 65%;
}

.league-mantra .smart-table.fixed .mantra-x14 {
  width: 70%;
}

.league-mantra .smart-table.fixed .mantra-x15 {
  width: 75%;
}

.league-mantra .smart-table.fixed .mantra-x16 {
  width: 80%;
}

.league-mantra .smart-table.fixed .mantra-x17 {
  width: 85%;
}

.league-mantra .smart-table.fixed .mantra-x18 {
  width: 90%;
}

.league-mantra .smart-table.fixed .mantra-x19 {
  width: 95%;
}

.league-mantra .smart-table.fixed .mantra-x20 {
  width: 100%;
}

.smart-table .table-col-sizer {
  visibility: hidden !important;
}

.smart-table .table-col-sizer th,
.smart-table .table-col-sizer th.sortable {
  padding: 0 !important;
}

.smart-table .table-col-sizer th > * {
  display: none !important;
}

/*END -- SMART-TABLE SMART-VIEW*/
@media (max-width: 480px) {
  .smart-table.smart-zoom {
    zoom: 1.2;
  }
  .smart-table .has-subheader td {
    overflow: visible;
  }
  .cell-index span {
    z-index: 1;
  }
  .cell-index:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    /*height    : 40px;*/
    height: 25px;
    z-index: 0;
    /*background: #f7f7f7;*/
  }
  .table:not(.table-striped) .cell-index:not(.cell-middle):before {
    background: rgba(0, 0, 0, 0.02);
  }
  .smart-table td.no-smart,
  .smart-table .no-smart,
  .no-smart {
    display: none;
  }
  .smart-table .cell-middle {
    align-items: center;
    display: flex;
    -webkit-align-items: center;
    display: -webkit-flex;
  }
  .smart-table .cell-middle.text-center {
    justify-content: center;
    -webkit-justify-content: center;
  }
  .smart-table .cell-middle small {
    font-size: 8px;
    line-height: 8px;
    vertical-align: middle;
    top: 0;
  }
  .flex-col.no-margin > * {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
  }
  .smart-table .cell-middle.text-left {
    justify-content: start;
    -webkit-justify-content: start;
  }
  .smart-table [data-key][data-icon]:before {
    display: inline-block;
    margin-right: 4px;
  }
  .smart-table th,
  .smart-table th > span {
    overflow: visible !important;
  }
  .smart-table th.sort-criteria,
  .smart-table td.sort-criteria {
    background: none;
  }
  .smart-table th > span:before {
    background: #FFF;
    z-index: 999;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    line-height: 10px;
    font-size: 50%;
    right: -15px;
    left: auto;
    top: 0;
    transform-origin: left 50%;
  }
  .smart-table.raised-2 {
    box-shadow: none;
    -webkit-box-shadow: none;
  }
  .smart-table tr {
    position: relative;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    width: 100%;
    /*padding        : 8px 0;*/
    padding: 2px;
    margin-bottom: 3px;
    /*background     : #EEE;*/
    background: #FFF;
    /*border-radius  : 2px;*/
    border: 1px solid #EEE;
    margin: -1px;
  }
  .smart-table.table-outlined tr {
    width: calc(100% + 2px);
  }
  .smart-table tr.flex-no-wrap {
    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
  }
  .smart-table tr.flex-no-wrap:before,
  .smart-table tr.flex-no-wrap:after {
    display: none;
  }
  .smart-table tr.myself {
    background: #E2EAF5;
    box-shadow: none;
    margin: 0;
  }
  .smart-table tr.myself .cell-main {
    color: #000;
  }
  .smart-table tbody tr.myself:not(.table-summary):hover {
    background: #CFDEF1;
  }
  .smart-table tr.row-caption {
    /* background: none; */
    margin-top: -4px;
    padding: 4px;
    background: #eceef1;
    pointer-events: none;
  }
  .smart-table.smart-view tr {
    border: 1px solid #CCC;
    margin-bottom: 10px;
  }
  .smart-table.table-striped tr:nth-child(2n) {
    background-color: rgba(0, 0, 0, 0.03);
  }
  .smart-table tr:nth-child(2n+1) {
    /*background-color: rgba(0,0,0,0.1);*/
    /*background-color: rgba(0,0,0,0.03);*/
  }
  .smart-table.paginated tr:nth-child(2n+1) {
    background-color: rgba(0, 0, 0, 0.01);
  }
  .smart-table thead > tr {
    /*background-color: #ddd!important;*/
    background-color: #e9ebef !important;
  }
  .smart-table.fixed .smart-x1 {
    width: 5%;
  }
  .smart-table.fixed .smart-x2 {
    width: 10%;
  }
  .smart-table.fixed .smart-x3 {
    width: 15%;
  }
  .smart-table.fixed .smart-x4 {
    width: 20%;
  }
  .smart-table.fixed .smart-x5 {
    width: 25%;
  }
  .smart-table.fixed .smart-x6 {
    width: 30%;
  }
  .smart-table.fixed .smart-x7 {
    width: 35%;
  }
  .smart-table.fixed .smart-x8 {
    width: 40%;
  }
  .smart-table.fixed .smart-x9 {
    width: 45%;
  }
  .smart-table.fixed .smart-x10 {
    width: 50%;
  }
  .smart-table .x0 {
    flex-grow: 0;
  }
  .smart-table .x1 {
    flex-grow: 1;
  }
  .smart-table .x2 {
    flex-grow: 2;
  }
  .smart-table .x3 {
    flex-grow: 3;
    min-width: 15%;
  }
  .smart-table .x4 {
    flex-grow: 4;
  }
  .smart-table .x5 {
    flex-grow: 5;
  }
  .smart-table .x6 {
    flex-grow: 6;
    min-width: 30%;
  }
  .smart-table .x7 {
    flex-grow: 7;
  }
  .smart-table .x8 {
    flex-grow: 8;
  }
  .smart-table .x9 {
    flex-grow: 9;
  }
  .smart-table .x10 {
    flex-grow: 10;
  }
  .smart-table.fixed .smart-x0 {
    flex-grow: 0;
  }
  .smart-table.fixed .smart-x1 {
    flex-grow: 1;
  }
  .smart-table.fixed .smart-x2 {
    flex-grow: 2;
  }
  .smart-table.fixed .smart-x3 {
    flex-grow: 3;
    min-width: 15%;
  }
  .smart-table.fixed .smart-x4 {
    flex-grow: 4;
  }
  .smart-table.fixed .smart-x5 {
    flex-grow: 5;
  }
  .smart-table.fixed .smart-x6 {
    flex-grow: 6;
    min-width: 30%;
  }
  .smart-table.fixed .smart-x7 {
    flex-grow: 7;
  }
  .smart-table.fixed .smart-x8 {
    flex-grow: 8;
  }
  .smart-table.fixed .smart-x9 {
    flex-grow: 9;
  }
  .smart-table.fixed .smart-x10 {
    flex-grow: 10;
  }
  .smart-table .smart-x0 {
    flex-grow: 0;
  }
  .smart-table .smart-x1 {
    flex-grow: 1;
  }
  .smart-table .smart-x2 {
    flex-grow: 2;
  }
  .smart-table .smart-x3 {
    flex-grow: 3;
    min-width: 15%;
  }
  .smart-table .smart-x4 {
    flex-grow: 4;
  }
  .smart-table .smart-x5 {
    flex-grow: 5;
  }
  .smart-table .smart-x6 {
    flex-grow: 6;
    min-width: 30%;
  }
  .smart-table .smart-x7 {
    flex-grow: 7;
  }
  .smart-table .smart-x8 {
    flex-grow: 8;
  }
  .smart-table .smart-x9 {
    flex-grow: 9;
  }
  .smart-table .smart-x10 {
    flex-grow: 10;
  }
  .smart-table.fixed .smart-x0 {
    width: 0%;
  }
  .smart-table.fixed .smart-x1 {
    width: 5%;
  }
  .smart-table.fixed .smart-x2 {
    width: 10%;
  }
  .smart-table.fixed .smart-x3 {
    width: 15%;
  }
  .smart-table.fixed .smart-x4 {
    width: 20%;
  }
  .smart-table.fixed .smart-x5 {
    width: 25%;
  }
  .smart-table.fixed .smart-x6 {
    width: 30%;
  }
  .smart-table.fixed .smart-x7 {
    width: 35%;
  }
  .smart-table.fixed .smart-x8 {
    width: 45%;
  }
  .smart-table th,
  .smart-table td {
    overflow: hidden;
    min-width: 0 !important;
    padding: 0 !important;
    order: 10;
    width: 1px;
  }
  .smart-table th.cell-hidden,
  .smart-table td.cell-hidden {
    visibility: hidden !important;
  }
  .smart-table tr:after,
  .smart-table tr:before {
    content: "";
    flex-basis: 100%;
    -webkit-flex-basis: 100%;
    height: 0;
    display: flex;
    display: -webkit-flex;
  }
  .smart-table tr:before {
    order: 15;
  }
  .smart-table tr:after {
    order: 5;
  }
  .cell-block {
    flex-basis: 100%;
    -webkit-flex-basis: 100%;
    width: 100% !important;
    order: 40 !important;
  }
  .cell-block > span {
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
  }
  .smart-table.fixed th > span {
    padding-right: 0;
    text-overflow: clip;
  }
  .cell-drilled {
    order: 50 !important;
    background: none !important;
  }
  .has-drill-down .cell-actions.cell-drilled {
    order: 45 !important;
    margin-bottom: -40px !important;
    overflow: visible !important;
  }
  .cell-actions.cell-drilled > span {
    top: 15px;
    margin: 0 !important;
  }
  tr.has-drill-down:after {
    display: none;
  }
  .fg .smart-table.smart-view .has-drill-down td:not(.cell-drilled) + .cell-drilled {
    margin-top: 10px !important;
    border-top: 1px solid #C0C0C0 !important;
    padding-top: 10px !important;
  }
  .smart-table.smart-view .cell-drilled + .cell-drilled {
    margin-top: 0px !important;
    padding-top: 0px !important;
  }
  .smart-table.smart-view td.cell-block:nth-child(2n+1) {
    background: rgba(0, 0, 0, 0.05);
    margin: 0 -8px;
    padding: 0 8px !important;
  }
  .cell-secondary:nth-child(2n+1) {
    opacity: 0.7;
  }
  .smart-table th.cell-header,
  .smart-table td.cell-header {
    order: 2;
  }
  .smart-table th.cell-secondary,
  .smart-table td.cell-secondary {
    order: 20;
    color: #333;
  }
  .smart-table small.badge {
    margin-top: -1px;
    vertical-align: middle;
    color: #FFF;
  }
  .cell-index ~ .cell-secondary {
    margin-top: -20px;
  }
  .cell-index ~ .cell-secondary > span {
    line-height: 20px;
    top: 2px;
  }
  .smart-table > tbody > tr > th,
  .smart-table > tbody > tr > td {
    border-top: none !important;
    display: inline;
  }
  .table > thead > tr > th {
    border: none !important;
  }
  .cell-index ~ .cell-main {
    margin-left: 5px !important;
  }
  .cell-main {
    font-weight: 700;
  }
  .cell-main > span,
  .cell-primary > span {
    line-height: 20px;
  }
  .smart-table .cell-shirt,
  .smart-table .cell-index {
    /*height: 48px;*/
    height: 42px;
    vertical-align: top;
    /*font-size   : 20px;*/
    font-size: 14px;
    line-height: 1;
    text-align: center;
  }
  .smart-table .cell-shirt .shirt.hidden-xs ~ .crest {
    margin: 5px;
  }
  .manage-rosters-team-list.smart-table tbody .cell-shirt .circle > img {
    margin-top: 8px;
    /* gestione-rose */
  }
  .smart-table .cell-shirt.cell-crest {
    height: auto;
    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    margin-right: 8px;
  }
  .subheader th.cell-secondary {
    line-height: 12px !important;
    font-size: 12px !important;
    padding-left: 0 !important;
  }
  .smart-table .subheader th.sortable.cell-digits-2.cell-secondary:after {
    top: 15px;
    left: 12px;
  }
  .cell-index ~ th:not(.cell-secondary) + .cell-secondary,
  .cell-index ~ td:not(.cell-secondary) + .cell-secondary {
    margin-left: 5px;
  }
  .cell-index ~ th:not(.cell-secondary) + .cell-secondary,
  .cell-index ~ td:not(.cell-secondary) + .cell-secondary {
    /*margin-left: 35px;   */
    /*margin-left: 15%;    */
    /*margin-left: 8%;*/
    margin-left: 14%;
  }
  .cell-digits-2 {
    max-width: 32px;
    text-align: center;
    line-height: 20px !important;
    height: 20px;
  }
  .cell-digits-lg {
    max-width: 70px;
    text-align: center;
  }
  .cell-digits-8 {
    max-width: 80px;
  }
  .cell-email,
  .cell-text,
  .cell-select,
  .cell-code {
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  [class*=cell].text-wrap {
    white-space: normal;
  }
  .cell-code {
    align-self: center;
    -webkit-align-self: center;
  }
  .cell-code .code {
    vertical-align: initial;
  }
  .smart-table .cell-actions {
    /*padding-right: 10px!important;*/
  }
  .smart-table.smart-view .cell-actions.cell-secondary > span {
    margin-bottom: 0px !important;
  }
  .cell-secondary {
    position: relative;
  }
  .cell-secondary > * {
    position: relative;
    z-index: 10;
    color: #02569A;
  }
  .cell-secondary:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    position: absolute;
    background: rgba(0, 0, 0, 0);
    border-radius: 0px;
    top: calc(50% + 2px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  /*
  .cell-digits-2.cell-secondary:after {
      content: "";
      display: block;
      width: calc(50% + 2px);
      padding-top: calc(50% + 2px);
      position: absolute;
      background: transparent;
      border-radius: 50%;
      top: calc(50% + 2px);
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 1;
  }*/
  .smart-table th.sortable.cell-digits-2.cell-secondary:after {
    top: 30px;
    left: 16px;
  }
  .cell-shirt {
    display: none;
  }
  .smart-table tfoot tr {
    padding: 0;
  }
  .smart-table .cell-full-width {
    width: 100%;
  }
  .cell-email span {
    vertical-align: initial;
  }
  /*
  [data-key*="rank-"] > span { color: #FFF }
  [data-key*="rank-"]:after { }
  [data-key="rank-g"]:after { background-color: #CCC; }
  [data-key="rank-v"]:after { background-color: #CCC; }
  [data-key="rank-n"]:after { background-color: #CCC; }
  [data-key="rank-p"]:after { background-color: #CCC; }
  [data-key="rank-gf"]:after { background-color: #CCC; }
  [data-key="rank-gs"]:after { background-color: #CCC; }
  [data-key="rank-dr"]:after { background-color: #CCC; }
  */
  [data-key=rank-g].highlight:after {
    background-color: rgba(0, 0, 0, 0.05);
  }
  [data-key=rank-v].highlight:after {
    background-color: rgba(0, 0, 0, 0.05);
  }
  [data-key=rank-n].highlight:after {
    background-color: rgba(0, 0, 0, 0.05);
  }
  [data-key=rank-p].highlight:after {
    background-color: rgba(0, 0, 0, 0.05);
  }
  [data-key=rank-gf].highlight:after {
    background-color: rgba(0, 0, 0, 0.05);
  }
  [data-key=rank-gs].highlight:after {
    background-color: rgba(0, 0, 0, 0.05);
  }
  [data-key=rank-dr].highlight:after {
    background-color: rgba(0, 0, 0, 0.05);
  }
  [data-key*=rank-].highlight:after {
    background-color: rgba(0, 0, 0, 0.05);
  }
  tbody [data-key][class*=cell-digits] > span:before {
    display: none;
  }
  .smart-minimize {
    width: auto !important;
    flex-grow: 0 !important;
  }
  .smart-list > * {
    border: 1px solid #d0d0d0;
    margin: 4px;
    border-radius: 4px;
    padding: 4px;
    overflow: hidden;
    top: 0;
    width: calc(100% - 8px);
    display: inline-block;
  }
  .smart-center {
    text-align: center;
  }
  /*DA SISTEMARE*/
  .league-mantra td.smart-role:before {
    display: none;
  }
  body:not(.capturing):not(.league-mantra) td.smart-role .smart-player-roles {
    display: none !important;
  }
  body:not(.capturing):not(.league-mantra) td.smart-role:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 4px;
    display: inline-block;
    left: 0;
    top: 0;
  }
  .smart-role.role-p:before {
    background-color: #f8ab29;
  }
  .smart-role.role-d:before {
    background-color: #63c623;
  }
  .smart-role.role-c:before {
    background-color: #203252;
  }
  .smart-role.role-a:before {
    background-color: #f21a3c;
  }
  tbody .cell-shirt.cell-crest > span {
    line-height: initial;
  }
  [class*=cell-digits].cell-inverse > span {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    height: 100%;
  }
  [class*=cell-digits].cell-inverse:before {
    border-radius: 4px;
    left: 2px;
    width: calc(100% - 4px);
  }
  .cell-middle > span.middle {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
  }
  [data-smart-label] {
    margin-top: 20px !important;
    position: relative;
    overflow: visible !important;
  }
  [data-smart-label] > span {
    margin: 0;
  }
  [data-smart-label]:before {
    content: attr(data-smart-label);
    display: inline-block;
    width: calc(100% - 8px);
    height: 18px;
    /* border    : 1px solid; */
    position: absolute;
    top: -20px;
    left: 4px;
    line-height: 17px;
    background: #d0d0d0;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #FFF;
  }
}
[data-key] {
  cursor: pointer;
}

[data-key].max > span {
  transition: 0.1s ease-in-out color;
}

.smart-table:not(.unhighlight) [data-key].max > span {
  color: #65c924;
}

.smart-table:not(.unhighlight) [data-key].min > span {
  color: #f8ad2d;
}

/*
.max {
    outline: 1px solid green!important;
}

.min {
    outline: 1px solid red!important;
}
*/
[data-key] > * {
  position: relative;
  z-index: 10;
  /*margin-bottom: -1px;*/
}

[data-key] > span {
  position: relative;
}

[data-key] > .ripple-container {
  margin-top: 1px;
}

tbody [data-key][class*=cell-digits] > span:before {
  content: "";
  position: absolute;
  width: calc(100% + 4px);
  height: calc(100% + 2px);
  background: #CCC;
  z-index: -1;
  left: -2px;
  top: -1px;
  opacity: 1;
  border-radius: 4px;
  opacity: 0;
  transition: 0.1s ease-in-out opacity;
  -webkit-transition: 0.1s ease-in-out opacity;
}

tbody [data-key][class*=cell-digits].cell-inverse > span:before {
  background: rgba(51, 51, 51, 0.26);
}

tbody [data-key][class*=cell-digits].highlight > span:before {
  opacity: 0.5;
}

/* SHIRTS */
.ranking.widget .cell-shirt {
  position: relative;
  vertical-align: middle !important;
}

.cell-shirt {
  position: relative;
}

.cell-shirt .circle:before {
  display: none;
}

tbody .cell-shirt > span {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;
}

tbody .cell-shirt .circle > img,
tbody .cell-crest .circle > img {
  border-radius: 50%;
}

tbody .cell-shirt.cell-crest > span {
  width: 50%;
  float: left;
}

tbody .cell-shirt.cell-crest > span:first-child {
  text-align: right;
}

tbody .cell-shirt.cell-crest > span:last-child {
  text-align: left;
}

tbody .cell-shirt > span:before {
  /*
  content: "";
  display: inline-block;
  background: url(img/shirt_border.png) no-repeat;
  position: absolute;
  z-index: 5;
  background-size: contain;
  background-position: 50% 50%;
  opacity: 0.3;
  */
}

tbody .cell-shirt > span:before,
tbody .cell-shirt .shirt,
tbody .cell-shirt .crest,
tbody .cell-crest .crest,
.team-fdd :before,
.team-shirt:before,
.team-crest > *,
.team-shirt > * {
  width: 100%;
  height: 100%;
  max-width: 28px;
  max-height: 28px;
  object-fit: cover;
  vertical-align: top;
}

tbody .cell-shirt .circle {
  overflow: visible;
}

tbody .cell-shirt .circle img.shirt,
tbody .cell-shirt .circle img.crest {
  width: 28px;
  height: 28px;
  background: #EFEFEF;
  border: 2px solid #FFF;
  -webkit-filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
}

tbody .cell-shirt.cell-crest > span + span:before {
  content: none;
}

tbody .cell-shirt.cell-crest > span + span:before {
  content: none;
}

tbody .cell-shirt > span:before {
  /*margin-top: -2px;*/
}

img.shirt {
  padding: 1px;
}

tbody .cell-shirt.circle > span {
  border: 2px solid #0e5e9f;
  border-radius: 50%;
  overflow: hidden;
  background: #EEE;
}

/* WIDGET */
.widget {
  margin-bottom: 30px;
  /*display    : initial;*/
}

.widget-title {
  font-size: 20px !important;
  text-transform: uppercase;
  color: #656d80;
  line-height: 30px;
}

.widget-lined {
  /*border-bottom: 3px solid #EEE;*/
  padding-bottom: 15px;
}

.widget-lined .widget-title {
  display: flex;
  -webkit-display: flex;
  align-items: center;
  -webkit-align-items: center;
}

.widget-body > .widget-title {
  font-size: 16px !important;
}

.widget-body.widget-body-clear {
  border: none !important;
}

.widget-lined .widget-title:after {
  flex: 1;
  content: "";
  height: 3px;
  width: 100%;
  background: #EEE;
  display: inline-block;
  margin-left: 10px;
}

.widget-bordered .widget-body,
.widget-lined .widget-body {
  background: #fff;
}

.widget-title .groups {
  padding: 5px 0;
}

.widget-title .btn-fab {
  color: #1B2C44 !important;
  font-weight: 700;
}

.widget-title .active .btn-fab:focus,
.widget-title .active .btn-fab:active,
.widget-title .active .btn-fab {
  color: #FFF !important;
  background-color: #f21a3c;
}

.widget-title .active .btn-fab:hover {
  background-color: #ff9f60;
}

.widget-title small {
  text-transform: none;
  padding: 0 6px;
  font-size: 60% !important;
  font-family: var(--font-default);
}

.widget-body {
  width: 100%;
}

.widget-body .list-group-item {
  border: none;
  overflow: visible;
}

.widget-row {
  /*padding: 5px;*/
  padding: 0px;
  margin: 0 -5px;
}

.widget-row .widget-row-note {
  flex-basis: 100% !important;
  -webkit-flex-basis: 100% !important;
}

.widget-row .widget ~ .widget-row-note {
  margin-top: -30px;
}

.widget-row .widget,
.widget-row .widget-row-note {
  margin-left: 0;
  margin-right: 0;
  padding: 5px;
}

.widget-row > * {
  min-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  display: -webkit-flex;
  -webkit-flex-direction: column;
  -webkit-justify-content: end;
}

.widget-row.widget-row-preserve-header .widget .widget-body {
  height: 100%;
  margin-top: 50px;
}

.widget-row.widget-row-preserve-header .widget .widget-header ~ .widget-body {
  margin-top: 0;
}

.widget-row .widget .widget-body {
  display: flex;
  justify-content: end;
  flex-direction: column;
  display: -webkit-flex;
  -webkit-justify-content: end;
  -webkit-flex-direction: column;
  /* margin-top          : auto; */
  height: auto;
  /* min-height          : 100%; */
  margin-bottom: 0;
}

.widget-row .widget .widget-body h5.text-info {
  font-size: 12px;
}

@media (max-width: 500px) {
  .widget-row > * {
    min-width: 100%;
  }
}
/* MATCH RESULTS */
.match-results {
  border: none;
}

.widget-body {
  /*border: 1px solid #CCC;*/
  border-radius: 2px;
  padding: 0px;
}

@media (max-width: 480px) {
  .widget-body {
    border: none;
  }
}
.match-results.box {
  margin-bottom: 20px !important;
  background: #FFF;
}

.match-results .list-group-item {
  border: none;
  padding: 15px 0;
  margin: 0;
  border: none;
  margin-bottom: 0 !important;
}
.match-results .list-group-item.match-result.row {
  padding: 0;
  align-items: center;
}
.match-results .list-group-item.match-result.row .team-fpt {
  background-color: transparent;
  color: #203252;
}

.match-results .list-group-item.list-group-item-notice {
  min-height: 115px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  display: -webkit-flex;
  -webkit-justify-content: center;
  -webkit-align-items: center;
}

.match-results,
.team-home,
.team-away {
  padding: 0;
  align-self: start;
}

.match-result {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  -webkit-transition: background-color 0.2s ease-in-out;
  display: flex;
  display: -webkit-flex;
  min-height: fit-content;
  min-height: -webkit-fit-content;
  margin-bottom: auto !important;
}

.match-result .countdown-counter {
  height: 40px;
}

.match-result:not(.sleep-home):not(.sleep-away):not(.pause):not(:has([data-id="-1"])):hover {
  /*background-color: #F0F0F0;*/
  background-color: #D3D8E0;
}

.team-home,
.team-away {
  text-align: center;
  width: 50%;
  float: left;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.team-away {
  flex-direction: row-reverse;
}

.pause {
  order: 1000;
}

.pause .team-home .team-score,
.pause .team-away .team-score,
.pause .team-fpt {
  display: none;
}

.pause .team-home[data-id="-1"],
.pause .team-away[data-id="-1"],
.pause .team-score:after {
  display: none !important;
}

.pause .team-home .team-name,
.pause .team-away .team-name {
  text-align: center;
  width: 100%;
  opacity: 0.5;
}

.pause .team-home .team-name:after,
.pause .team-away .team-name:after {
  content: "riposa";
  margin-left: 4px;
}

.private .pause .team-home .team-name:after,
.private .pause .team-away .team-name:after {
  text-transform: uppercase;
  font-weight: 700;
}

.match-results > ul {
  display: flex;
  flex-direction: column;
}

.private.match-results > ul {
  background-color: #f7f7f7;
}
.private.match-results > ul li {
  background-color: #f7f7f7 !important;
}

.match-results .list-group-item-footer {
  order: 10000;
}

.match-results .team-shirt,
.match-results .team-crest {
  max-height: 0 !important;
  /*overflow        : hidden;*/
  display: inline-block;
  transition: 0.3s ease-in-out max-height;
  -webkit-transition: 0.3s ease-in-out max-height;
  width: 50%;
  height: 28px;
  position: relative;
  vertical-align: top;
  display: flex;
  align-items: center;
  justify-content: center;
}

.match-results .match-result:hover .team-shirt,
.match-results .match-result:hover .team-crest,
.match-results .highlight .team-shirt,
.match-results .highlight .team-crest {
  max-height: 28px !important;
  width: fit-content;
  aspect-ratio: 1;
}

.match-results .team-shirt .shirt,
.match-results .team-crest .crest {
  border-radius: 50%;
  background: #F4F4F4;
  /*
  filter            : none!important;
  -webkit-filter    : none!important;
      */
  border: 2px solid #FFF;
  transform: scale(0);
  transition: 0.3s ease-in-out all;
}

.match-result:hover .team-shirt .shirt,
.match-result:hover .team-crest .crest,
.highlight .team-shirt .shirt,
.highlight .team-crest .crest {
  transform: scale(1);
}

.match-results .match-result:hover .list-group-item,
.match-results .highlight .list-group-item {
  padding: 15px 0;
}

.widget.private .list-group-item-footer {
  padding: 5px !important;
  background-color: #E5E7EA;
  height: auto;
}

.widget.private .list-group-item-footer .btn-raised {
  font-family: var(--font-default);
  font-weight: 400;
}

.team-home .team-shirt {
  text-align: right;
  float: left;
}

.team-home .team-crest {
  text-align: left;
  float: right;
}

.team-away .team-shirt {
  text-align: left;
  float: right;
}

.team-away .team-crest {
  text-align: right;
  float: left;
}

.team-home .team-coach,
.team-home .team-score,
.team-home .team-name,
.team-home .team-fpt,
.team-home .team-fpt-tot {
  text-align: right;
}

.fg .team-name {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding: 0 5px;
  margin: 5px 0;
  text-align: center;
}

.fg .highlight .team-name {
  text-align: center;
}

.team-fpt:empty {
  display: none;
}

.team-fpt-tot,
.team-fpt {
  width: 100%;
  color: #FFF;
  padding: 0 25px;
  font-size: 12px;
  font-weight: 700;
  height: 20px;
}

.team-fpt {
  background: #8395B9;
}

.private .team-fpt {
  background: #CAD1DB;
}

.private .team-fpt-tot {
  background: #B1B9C2;
}

.private .team-fpt,
.private .team-fpt-tot,
.private .team-score {
  color: #656d80;
}

.team-info {
  font-size: 12px !important;
  color: #545454 !important;
  font-weight: 700 !important;
  padding: 10px;
  background: #FFF;
  margin-top: -15px;
}

.team-info:empty:before {
  visibility: hidden;
  content: "-";
}

.team-away .team-coach,
.team-away .team-score,
.team-away .team-name,
.team-away .team-fpt,
.team-away .team-fpt-tot {
  text-align: center;
}

.team-home {
  padding-right: 2px;
}

.team-away {
  padding-left: 2px;
}

.team-home .team-score {
  right: 0;
}

.team-away .team-score {
  left: 0;
}

.team-home .team-score:after {
  /*content: ":";*/
  content: "-";
  display: inline;
  margin-right: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(50%, 0%);
  text-align: center;
  height: 48px;
  line-height: 68px;
}

.match-result.uncalculated .team-home .team-score:after,
.private.next-match .team-home .team-score:after {
  content: "vs";
}

.match-result.uncalculated .team-fpt-tot,
.match-result.uncalculated .team-fpt,
.next-match .team-fpt {
  display: none;
  font-size: 0;
  border-bottom: none !important;
  background: none !important;
}

.match-result.highlight {
  background: #FFF;
}

.match-results .list-group-item {
  background-color: #f7f7f7;
}

.match-results .list-group-item:nth-child(2n+1),
.match-results .pause ~ .list-group-item:nth-child(2n) {
  background-color: white;
}

.match-results .list-group-item:nth-child(2n+1).pause {
  background-color: #f7f7f7;
}

.match-results .sleep-home ~ .list-group-item:nth-child(2n),
.match-results .sleep-away ~ .list-group-item:nth-child(2n) {
  background-color: white;
}

.match-results .sleep-home ~ .list-group-item:nth-child(2n+1),
.match-results .sleep-away ~ .list-group-item:nth-child(2n+1) {
  background-color: #f7f7f7;
}

.match-results .sleep-home,
.match-results .sleep-away {
  background-color: #9ab0d7 !important;
}
.match-results .sleep-home *,
.match-results .sleep-away * {
  color: #FFF !important;
}

.match-result:hover .team-score,
.match-result.highlight .team-score {
  font-size: 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-home .team-coach,
.team-home .team-name,
.team-home .team-fpt,
.team-home .team-fpt-tot {
  float: left;
  clear: left;
}

.team-away .team-coach,
.team-away .team-name,
.team-away .team-fpt,
.team-away .team-fpt-tot {
  float: right;
  clear: right;
}

.team-score {
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  top: 0;
  padding: 7px 7px;
  width: 35px;
  position: absolute;
  transition: transform 0.3s ease-in-out, font-size 0.3s ease-in-out;
  -webkit-transition: -webkit-transform 0.3s ease-in-out, font-size 0.3s ease-in-out;
  font-family: var(--font-condensed);
}

.team-score:after {
  font-family: var(--font-condensed);
}

.list-group-item-footer {
  background: #E5E7EA;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.list-group-item-footer .btn {
  margin: 0;
}

.team-score:empty:before {
  content: "0";
  visibility: hidden;
}

.next-match .team-home .team-score:after {
  content: "vs" !important;
}

.next-match .team-fpt,
.next-match .team-fpt-tot {
  border-bottom: 2px solid #203252;
  background: #f0f0f0;
}

.no-versus .team-away,
.no-versus .team-score {
  display: none !important;
}

.no-versus .team-home,
.no-versus .team-name {
  width: 100%;
  height: 100%;
  padding-right: 0;
  padding-left: 0;
  align-items: center;
  display: flex;
}

.no-versus .team-name,
.no-versus .team-fpt,
.no-versus .team-fpt-tot,
.no-versus .team-score {
  text-align: center;
}

.match-inline.no-versus .match-result {
  border-bottom: 1px solid #EEE;
  height: 38px;
}

.match-inline.no-versus .team-home .team-shirt {
  width: 40px;
  text-align: right;
  max-height: 28px !important;
}

.match-inline.no-versus .team-home .team-crest {
  width: 40px;
  float: left;
  text-align: right;
  max-height: 28px !important;
}

.match-inline.no-versus .team-shirt .shirt,
.match-inline.no-versus .team-crest .crest {
  transform: scale(1);
  -webkit-transform: scale(1);
}

.match-inline.no-versus .team-home .team-name {
  width: calc(100% - 200px);
  text-align: left;
  clear: none;
  margin: 4px 0;
  padding-left: 10px;
  line-height: 18px;
}

.match-inline.no-versus .team-home .team-fpt {
  float: right;
  width: 100px;
  clear: none;
  height: calc(100% + 10px);
  margin: -5px 0;
  font-size: 14px;
  line-height: 33px;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*BETSLIP*/
.betslip .widget-body {
  position: relative;
}

.betslip .widget-body:before {
  content: "";
  background: #1b2c44;
  width: 100%;
  display: block;
  top: 0;
  width: 100%;
  height: 5px;
  border-radius: 2px 2px 0 0;
}

.betslip .widget-body:after {
  content: "";
  background: #1b2c44;
  width: 100%;
  display: block;
  bottom: 0;
  width: 100%;
  height: 5px;
  border-radius: 0 0 2px 2px;
}

h5.betslip-title {
  border-bottom: 1px solid #CCC;
  font-size: 20px;
  line-height: 22px;
  color: #1B2C44;
  padding: 11px 20px !important;
  font-family: var(--font-condensed);
  font-weight: 700;
  margin: 0;
}

h5.betslip-title > small {
  color: #1B2C44;
}

img.betslip-cup {
  width: 43px;
  height: 43px;
}

.betslip-badge,
.betslip-stripe li {
  display: inline-block;
  background: #1B2C44;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 26px;
  font-size: 16px;
  color: #FFF;
  border-radius: 50%;
  border: 2px solid #FFF;
  position: relative;
  margin-right: 6px;
}

.betslip-stripe li:after {
  content: "";
  z-index: 1;
  width: 10px;
  display: inline-block;
  position: absolute;
  height: 2px;
  background: #FFF;
  top: 50%;
  left: 100%;
  margin-top: -1px;
}

.betslip-stripe li:last-of-type:after {
  display: none;
}

.betslip-stripe {
  text-align: center;
  background: #E5E7EA;
  padding: 10px;
}

.betslip-stripe-label {
  color: #A0A0A0;
  font-size: 12px;
  font-weight: 700;
  display: inline;
  margin-right: 10px;
}

.betslip-stripe-values {
  display: inline;
  font-size: 0;
  margin: 0;
}

@media (min-width: 481px) {
  .visible-smart {
    display: none;
  }
}
@media (max-width: 480px) {
  .betslip-stripe-label {
    margin: 0;
  }
  .betslip-stripe-values {
    width: 100%;
    margin-top: 4px;
  }
  .betslip-stripe li {
    display: inline-block;
    background: #1B2C44;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    color: #FFF;
    border-radius: 50%;
    border: 2px solid #FFF;
    position: relative;
    margin-right: 0px;
  }
  .betslip-stripe li:after {
    width: 0;
  }
}
@media (max-width: 350px) {
  .betslip-stripe li {
    zoom: 0.8;
    -moz-transform: scale(0.8);
    /* Firefox */
  }
}
.betslip-no-winner,
.betslip-winner {
  display: flex;
  justify-content: center;
  align-items: center;
  display: -webkit-flex;
  -webkit-justify-content: center;
  -webkit-align-items: center;
  padding: 3px 0;
}

.betslip-no-winner {
  color: #DDD !important;
  font-weight: 400 !important;
  white-space: nowrap;
}

.betslip-winner > * {
  margin: 5px;
}

.betslip-winner .betslip-no-winner:before,
.betslip-winner .betslip-winner-user:before,
.betslip-winner .betslip-prize:after {
  content: "";
  display: inline-block;
  height: 2px;
  background: #CCC;
  width: 100%;
  margin: 10px;
}

.betslip-no-winner,
.betslip-winner-user,
.betslip-prize {
  font-weight: 700;
  color: #FF8B2C;
  font-family: var(--font-default);
  font-size: 18px;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  display: -webkit-flex;
  -webkit-justify-content: center;
  -webkit-align-items: center;
  text-align: right;
}

.betslip-private h5,
.betslip-private h4,
.betslip-private p {
  color: #555;
  text-align: center;
}

.betslip-private h5.text-blue {
  color: #203252;
}

.betslip-private .text-info {
  color: #FF8B2C;
  font-family: var(--font-default);
  font-size: 18px;
}

/* COUNTDOWN */
.countdown.widget .widget-body {
  position: relative;
}

.countdown-showcase {
  /*
  width: 100%; 
  height: 200px;
  text-align: center;
  padding: 10%;
  background: url(img/stadium_field.png) #EEE;
  background-size: cover;
      */
  width: 100%;
  height: 230px;
  text-align: center;
  padding: 10%;
  background: url(https://doh3bfkx6r7ti.cloudfront.net/web/img/stadium_field.webp) #EEE;
  background-size: 100% 100%;
}

.countdown h4 {
  width: auto;
  display: inline-block;
  padding: 10px 10px;
  font-size: 12px;
  font-family: var(--font-default);
  position: absolute;
  z-index: 10;
  background: #FFF;
}

.list-group-item-countdown {
  background: #f7f7f7;
  padding: 0;
  order: 2000;
}

.countdown-box {
  position: absolute;
  bottom: 0;
  background: #FFF;
  padding: 5px;
  margin-bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  border-radius: 5px;
  max-width: calc(100% - 20px);
}

.countdown.finished .countdown-box {
  display: none;
}

.match-results .countdown-box {
  border: none;
  padding: 0;
  background: none;
  position: relative;
}

.match-results .countdown-box h5 {
  display: none;
}

.match-results .countdown-box .countdown-counter {
  height: 40px;
}

.fg.live .next-match .match-result-header,
.list-group-item.match-result-header.pause {
  display: none;
}

.fg.live .next-match .match-result,
.match-result.pause {
  height: 100%;
}

.fg.live .next-match .match-result > *,
.match-result.pause > * {
  margin-top: auto;
  margin-bottom: auto;
}

.fg.live .next-match .match-result ~ .countdown,
.match-result.pause ~ .countdown {
  display: none !important;
}

.fg.live .next-match .match-result ~ .list-group-item-footer,
.match-result.pause ~ .list-group-item-footer {
  display: none !important;
}

/*COUNTDOWN-BOX*/
.countdown-box h5 {
  color: #656d80;
  text-align: center;
}
.countdown-box .countdown-counter {
  perspective: 800px;
  text-align: center;
  background-color: #f7f7f7;
  padding: 10px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.countdown.countdown-error .countdown-box .countdown-counter {
  display: none;
}
.match-preview .countdown-box .countdown-counter {
  background-color: rgba(0, 0, 0, 0.2);
  margin: 0 10px;
  padding: 20px;
}
.countdown-box .countdown-counter > span {
  display: inline-flex;
  max-width: 33%;
}
.countdown:not(.countdown-overflow) .countdown-box .countdown-counter > span.countdown-counter-dd .countdown-counter-digit-2 {
  display: none;
}
.countdown-box .countdown-counter > span > span {
  font-size: 20px;
  width: 30px;
  height: 40px;
  display: inline-block;
  text-align: center;
  background: #DDD;
  line-height: 40px;
  color: #333;
  border-radius: 4px;
  position: relative;
  background-image: linear-gradient(to bottom, #fff 0, #e8e8e8 50%, #fff 50%, #fff 100%);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4), 0 2px 0 #ddd, 0 3px 2px rgba(0, 0, 0, 0.5);
}
.essential .countdown-box .countdown-counter > span > span {
  border: 1px solid #CCC;
}
.countdown-box .countdown-counter > span > span:before {
  content: attr(data-old);
  position: absolute;
  height: 50%;
  width: calc(100% - 2px);
  top: 0;
  left: 1px;
  background-size: 100% 600%;
  background-position: 0% 50%;
  background-image: linear-gradient(0, #CCC, #fff, #fff);
  box-shadow: 0 1px 1px rgb(128, 128, 128);
  line-height: 40px;
  text-align: center;
  transform: rotateX(0deg);
  transform-origin: bottom;
  border-radius: 4px 4px 0 0;
  z-index: 1;
}
.countdown-box .countdown-counter > span > span.refresh:before {
  animation: counterflip 0.5s cubic-bezier(0.42, 0, 0.9, 1.32) forwards;
}
.countdown-box .countdown-counter > span > span:after {
  content: attr(data-old);
  position: absolute;
  height: 50%;
  width: 100%;
  top: 50%;
  left: 0;
  background: #FFF;
  border-radius: 0 0 4px 4px;
  line-height: 0;
  text-align: center;
  overflow: hidden;
  z-index: 2;
}
.countdown-box .countdown-counter > span > span + span {
  margin-left: 4px;
}
.countdown-box .countdown-counter .countdown-counter-dd:after {
  content: "gg";
  font-size: 12px;
  line-height: 12px;
  width: 20px;
  display: block;
  margin-right: 20px;
  margin-left: 5px;
}
.countdown-box .countdown-counter .countdown-counter-mm:before,
.countdown-box .countdown-counter .countdown-counter-ss:before {
  content: ":";
  font-size: 20px;
  line-height: 40px;
  width: 12px;
  display: block;
  margin: 0 5px;
}

@keyframes counterflip {
  0%, 50% {
    transform: rotateX(0deg);
    content: attr(data-old);
    transform-origin: bottom;
    top: 0;
    margin-top: 0px;
    line-height: 40px;
    box-shadow: 0 0px 1px rgba(64, 64, 64, 0.5);
    background-size: 100% 600%;
    background-position: 0% 50%;
    background-image: linear-gradient(0, #CCC, #fff, #fff);
    border-top: 0px solid #CCC;
    border-radius: 4px 4px 0 0;
    z-index: 1;
  }
  50% {
    transform: rotateX(-90deg);
    box-shadow: 0 -8px 1px rgba(255, 255, 255, 0);
    top: 2px;
    margin-top: 0px;
    border-radius: 1px 1px 0 0;
    background-image: linear-gradient(0, #CCC, #fff, #fff);
    background-size: 100% 400%;
    background-position: 0% 90%;
  }
  50.1%, 100% {
    content: attr(data-current);
    transform: rotateX(90deg);
    top: 50%;
    margin-top: -2px;
    line-height: 0px;
    transform-origin: top;
    background-image: linear-gradient(180deg, #ccc, #fff, #fff);
    background-size: 100% 300%;
    background-position: 0% 0%;
    box-shadow: 0 4px 0px rgb(128, 128, 128), 0 8px 2px 2px rgba(64, 64, 64, 0.5);
    border-radius: 0px 0px 1px 1px;
    z-index: 3;
    overflow: hidden;
  }
  100% {
    top: 50%;
    margin-top: 0px;
    transform: rotateX(0deg);
    background-image: linear-gradient(180deg, #ccc, #fff, #fff);
    background-size: 100% 300%;
    background-position: 0% 100%;
    box-shadow: 0 0px 0px rgb(64, 64, 64), 0 4px 1px 0 rgba(128, 128, 128, 0);
    border-radius: 0 0 4px 4px;
    z-index: 3;
    overflow: hidden;
  }
}
body:not(.countdown-active) .visible-countdown-active {
  display: none;
}

/*
    .countdown-box h5 {
        font-size: 12px;
        text-align: center;
    }

    .countdown-counter {
        text-align: center;
        padding: 5px;
        display: flex;
        display: -webkit-flex;
        overflow: hidden;
        justify-content: center;
        -webkit-justify-content: center;
        align-items: center;
        -webkit-align-items: center;
        height: 50px;
    }

    body:not(.countdown-active) .visible-countdown-active {
        display: none;
    }

    @media (max-width: 767px) {
        .countdown-counter {
            zoom: 0.7;
            -moz-transform: scale(0.7); 
        }
    }


    @media (max-width:400px) {
        .countdown-counter {
            zoom: 0.5;
            -moz-transform: scale(0.5); 
        }
    }

    .countdown-counter:before,
    .countdown.countdown-lt-day .countdown-counter:after {
        content: ":";
        height: 100%;
        font-size: 24px;
        margin: 0px -5px;
        width: 10px;
        text-align: center;
        display: flex;
        display: -webkit-flex;
        justify-content: center;
        -webkit-align-items: center;
        -webkit-justify-content: center;
        align-items: center;
        left: 7px;
        position: relative;
    }

    .countdown-counter > span {
        font-size: 24px;
        font-weight: 700;
        color: #FFF;
        position: relative;
        height: 100%;
        width: 100px;
        line-height: 40px;
        overflow: hidden;
    }

    .countdown-counter:before {
        order: 25;
    }

    .countdown-counter:after {
        order: 35;
    }

    .countdown-counter > span:nth-child(1) {
        order: 10
    }

    .countdown-counter > span:nth-child(2) {
        order: 20
    }

    .countdown-counter > span:nth-child(3) {
        order: 30
    }

    .countdown-counter > span:nth-child(4) {
        order: 40
    }

    .countdown-counter > span > * {
        position: relative;
        z-index: 10;
    }

    .countdown-counter > span:before,
    .countdown-counter > span:after {
        content: "";
        position: absolute;
        width: calc(50% - 10px);
        height: 100%;
        display: inline-block;
        background-color: #6d6d6d;
        z-index: 0;
        top: 0;
        left: 5px;
        border-radius: 5px;
        box-shadow: inset 0 1px 15px 0px rgba(0,0,0,0.5);
    }

    .countdown-counter > span:after {
        left: calc(50% + 5px);
    }
    .countdown-counter > span > span {
        text-align: center;
        width: 50%;
        height: 100%;
        float: left;
    }

    .countdown-counter > span + span {
        margin-left: 15px;
    }

    .countdown-counter > span > span:before,
    .countdown-counter > span > span:after {
        content: attr(data-old);
        position: absolute;
        width: 100%;
        height: 100%;
        display: flex;
        display: -webkit-flex;
        justify-content: center;
        -webkit-align-items: center;
        -webkit-justify-content: center;
        align-items: center;
        z-index: -1;
        top: 0;
        left: 0;
        border-radius: 2px;

        will-change: transform;

    }



    .countdown-counter > span > span:before {
        content: attr(data-current);
        transform: translateY(calc( -100% - 10px )) scaleY(0.2);
        -webkit-transform: translateY(calc( -100% - 10px )) scaleY(0.2);
        color: #333;
    }
    .countdown-counter > span > span.refresh:before {
        transform: translateY(0) scaleY(1);
        -webkit-transform: translateY(0) scaleY(1);
        color: #FFF;
    }

    .countdown-counter > span > span.refresh:after {
        transform: translateY(calc( 100% + 10px )) scaleY(0.2);
        -webkit-transform: translateY(calc( 100% + 10px )) scaleY(0.2);
        color: #333;
    }

    .countdown-counter > span > span.refresh:before,
    .countdown-counter > span > span.refresh:after {
        transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
        -webkit-transition: -webkit-transform 0.3s ease-in-out, color 0.3s ease-in-out;
    }*/
.countdown.initialized .countdown-counter-ss,
.countdown.initialized .countdown-counter-dd {
  transition-property: max-width, margin, transform;
  transition-timing-function: ease-in-out;
  transition-duration: 0.5s;
  transform: scale(1);
}
.countdown.initialized .countdown-counter-ss:after, .countdown.initialized .countdown-counter-ss:before,
.countdown.initialized .countdown-counter-dd:after,
.countdown.initialized .countdown-counter-dd:before {
  transition: width 0.5s ease-in-out;
}

.countdown:not(.countdown-lt-day) .countdown-counter-ss,
.countdown-lt-day .countdown-counter-dd {
  max-width: 0% !important;
  transform: scale(0) !important;
  margin: 0 !important;
}
.countdown:not(.countdown-lt-day) .countdown-counter-ss:after, .countdown:not(.countdown-lt-day) .countdown-counter-ss:before,
.countdown-lt-day .countdown-counter-dd:after,
.countdown-lt-day .countdown-counter-dd:before {
  width: 0;
}

.countdown.initialized .countdown-counter-hh {
  transition: margin 0.5s ease-in-out;
}

.countdown-lt-day .countdown-counter-hh {
  margin-left: 0;
}

.countdown.completed .countdown-counter {
  opacity: 0.2;
}

.countdown .countdown-box:after {
  content: "Il termine per l'inserimento della formazione è scaduto!";
  width: 100%;
  text-align: center;
  display: block;
  padding: 10px 0px;
  max-height: 200px;
  padding: 10px 10px;
  transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
  overflow: hidden;
}

.countdown:not(.completed) .countdown-box:after {
  max-height: 0px;
  padding: 0px 10px;
}

/* PANEL TEAMS */
.panel-teams .panel-title {
  color: #878E99;
  text-transform: uppercase;
}

.panel-teams .item {
  width: 100%;
}

.panel-teams .carousel .item:not(.active):not(.next):not(.prev) {
  display: none;
}

.panel-teams .team-shirt,
.panel-teams .team-crest {
  width: 50%;
  height: 120px;
  float: left;
  background: #FFF;
  position: relative;
}

.panel-teams .team-shirt {
  padding-left: 20px;
}

.panel-teams .team-crest {
  padding-right: 20px;
}

/* shirt-border
.team-shirt:before {
    content: "";
    display: inline-block;
    background: url(img/shirt_border.png) no-repeat;
    position: absolute;
    z-index: 30!important;
    background-size: contain;
    background-position: 50% 50%;
    opacity: 0.2;
}
*/
/*
        .panel-teams .team-shirt + .team-crest:after,
        .panel-teams .team-crest + .team-shirt:after {
            content: "";
            display: inline-block;
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 0;
            border-left: 2px dashed #CCC;
            max-height: initial;
        }
            */
.panel-teams .item .team-shirt:before,
.panel-teams .item img {
  max-height: 92px;
  max-width: 92px;
}

.panel-teams .carousel-control {
  background: none;
  width: 30px;
}

.panel-teams .carousel-control .icon {
  color: #333;
  text-shadow: none;
  top: calc(50% - 50px);
  position: relative;
  font-size: 120%;
}

.panel-teams .team-description {
  height: 80px;
  display: inline-block;
  padding: 6px 20px;
  /*border-top: 1px solid #CCC;*/
  background: #f7f7f7;
  width: 100%;
}
.panel-teams .team-description .division {
  color: #203252;
  opacity: 0.75;
}
.panel-teams .team-description h5 {
  color: #203252;
  font-size: 14px;
  font-weight: 700;
  /*text-decoration: underline;*/
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.panel-teams .team-description p {
  color: #9DA5B3;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5em;
  text-overflow: ellipsis;
  overflow: hidden;
}

.panel-teams .empty-message {
  min-height: 200px;
  background: #F9F9F9;
  color: #DDD;
  padding: 30px;
  text-align: center;
}

/* LOGIN */
.modal-login .league-info {
  background: #E3E5E8;
  padding: 15px 20px;
  margin-bottom: 10px;
}

.modal-login .league-info .profile-card-header {
  width: 100%;
}

.modal-login .league-info img.media-object {
  max-height: 48px;
  max-width: 48px;
}

.modal-login .league-info .media-heading {
  font-family: var(--font-default);
  font-size: 16px;
  color: #323232;
  text-align: left;
}

.modal-login .league-info .profile-card-header h5 {
  font-size: 10px;
  color: #565656;
}

.modal-login .league-info .profile-card-header h5 > strong {
  font-size: 12px;
  text-transform: none;
}

.modal-login .modal-body {
  background: #EEEEEE;
}

.modal-login .modal-body .hr {
  margin: 0 20px;
}

.modal-login .modal-body .hr > * {
  background: #EEEEEE;
}

.modal-login .box-login > h4 {
  background: #FFF;
  margin: 0;
  padding-bottom: 15px;
  font-size: 18px;
}

/* TRANSFERS */
.transfers .transfer-start {
  margin-right: 20px;
  width: 25%;
  display: inline-block;
}

.transfers .transfers-status {
  float: right;
  position: relative;
  font-size: 0;
  width: 24px;
  height: 24px;
  display: inline-block;
  background-color: #EEE;
  border-radius: 50%;
  margin: -2px;
  vertical-align: middle;
}

.transfer-start b,
.transfer-end b {
  margin-right: 10px;
}

.transfers .list-group-item {
  height: 36px;
  padding: 8px;
}

@media (max-width: 767px) {
  .transfers .list-group-item > * {
    width: auto;
    margin: 0;
  }
  .transfers .list-group-item > * + * {
    margin-left: 10px;
  }
  .transfers .list-group-item {
    height: auto;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items: center;
    -webkit-align-items: center;
  }
}
@media (min-width: 769px) {
  .transfers .transfer-start,
  .transfers .transfer-end {
    min-width: 200px;
  }
}
/* DASHBOARD TOOLS */
.setup-tools.widget .widget-title,
.admin-tools.widget .widget-title {
  color: #f21a3c;
}

.user-tools.widget .widget-title {
  color: #656d80;
}

.tools .caption {
  font-size: 12px !important;
  text-decoration: underline;
  padding: 10px 0;
  margin-left: -20px;
  margin-right: -20px;
}

.setup-tools.widget .widget-body {
  padding-top: 10px;
}

.tools.widget .widget-body {
  padding-bottom: 20px;
}

.tools.widget .list-icon {
  flex-wrap: wrap !important;
  -webkit-flex-wrap: wrap !important;
  max-height: none;
  margin: 0 20px;
}

.tools.widget .list-icon a {
  transition: background-color 0.3s ease-in-out;
  -webkit-transition: background-color 0.3s ease-in-out;
  height: 100%;
  min-width: 100%;
  border-radius: 4px;
}

.tools.widget .list-icon a > img {
  max-width: 80px;
}

.tools.widget .list-icon a:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.tools.widget .list-icon li.divider {
  height: 0;
  border: none;
  margin: 0;
}

.tools.widget .list-icon img.img-circle {
  background-color: #E9E9E9;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.widget .text-lined.text-right {
  padding-left: 20px;
}

.fg p.widget-info {
  font-size: 14px;
  color: #333333;
  padding: 0 20px;
  font-style: italic;
}

.widget .media-list .media {
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 20px;
  padding-bottom: 10px;
}

.widget .media-list .media + .media {
  border-top: 1px solid #F3F3F3;
}

.widget .media-list .media > a {
  background: transparent;
  display: inline-block;
  transition: background ease-in-out 0.2s;
  border-radius: 1px;
}

.widget .media-list .media > a:hover {
  background: #F9F9F9;
}

.widget .media-list .media .media-left {
  padding: 10px 20px;
}

.widget .media-list .media-heading {
  color: #89909B;
  font-size: 18px;
  text-decoration: underline;
  font-family: var(--font-default);
  padding-top: 10px;
  margin-bottom: 10px;
}

.widget .media-list .media-body {
  font-size: 14px;
  color: #333;
  width: 100%;
}

@media (min-width: 660px) {
  .tools.widget .list-icon li.divider {
    display: none;
  }
}
@media (max-width: 450px) {
  ul.list-icon > li a {
    width: 100px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0;
    margin-right: 0;
  }
  .list-icon a > .caption {
    max-width: 100%;
    margin: auto;
  }
  .list-icon li.header span {
    margin-bottom: 10px;
  }
}
.list-icon li.header {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 25%;
}

.list-icon li.header span {
  background: #DDD;
  padding: 10px;
  border-radius: 20px;
  line-height: 12px;
  display: inline-block;
  white-space: nowrap;
  color: #656d80;
  border: 1px solid #CCC;
  font-weight: 700;
  width: 120px;
  text-align: center;
}

.user-tools.tools.widget .list-icon + .list-icon {
  border-top: 2px solid #EEE;
  margin-top: 20px;
  padding-top: 20px;
}

/*PROFILE PROGRESS*/
.profile-info {
  background: #f7f7f7;
  display: block;
  color: #203252;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 10px;
}

/*TEAM HEADER*/
.team-header-table {
  display: table;
}

.team-header {
  margin: 20px 0 !important;
}

.team-header .media-left {
  white-space: nowrap;
}

.team-header-table .team-crest,
.team-header-table .team-shirt,
.team-header .league-logo,
.team-header .team-crest,
.team-header .team-shirt {
  position: relative;
  display: table-cell;
  display: inline-flex;
  display: -webkit-inline-flex;
  vertical-align: middle;
  max-width: 50%;
  box-sizing: content-box;
}

@-moz-document url-prefix() {
  .team-header.team-header-sm img.crest,
  .team-header.team-header-sm img.shirt,
  .team-header.team-header-sm .team-shirt:before {
    padding: 1px;
  }
}
.team-header-table img.crest,
.team-header-table img.shirt,
.team-header-table .team-shirt:before,
.team-header img.crest,
.team-header img.shirt,
.team-header .team-shirt:before {
  max-height: 82px;
  max-width: 82px;
  vertical-align: -56px;
}

.team-header-table .team-shirt:before {
  vertical-align: middle;
  top: 0;
}

.team-header-table img.shirt {
  padding: 0;
  vertical-align: middle;
}

.league-crest.circle-link {
  position: relative;
  display: inline-block;
  display: flex;
  display: -webkit-flex;
}

.circle-link > img {
  border-radius: 50%;
  padding: 2px;
}

.league-crest.circle-link:after,
.team-crest.circle:after,
.team-shirt.circle:after {
  background: #ebf0f7;
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 0;
  z-index: 0;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding-top: 100%;
  /*box-shadow : 0 2px 20px 0px #c0c0c0, 0 0 0 5px #FFF inset;*/
  box-shadow: 0 2px 20px 0px #121c2d, 0 0 0 5px #FFF inset;
}

#globalMenuModal.initialized {
  display: block;
}

#globalMenuModal.initialized.in {
  pointer-events: all;
}

.global-menu .league-crest.circle-link:after {
  box-shadow: 0 0 0 5px #FFF inset;
}

.global-menu .league-crest.circle-link img {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
}

.team-crest.circle,
.team-shirt.circle {
  overflow: hidden;
  border-radius: 50%;
  width: 50%;
  width: calc(50% - 2px);
  padding-top: 50%;
}

.team-crest.circle > img,
.team-shirt.circle > img {
  position: relative;
  z-index: 10;
  padding: 5px;
  margin-top: -50%;
  margin-bottom: -50%;
  margin-left: 50%;
  margin-right: -30%;
  bottom: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  height: 128px;
  width: 128px;
}

/* shirt-border
.thumbnail-shirt:before {
    content: "";
    display: inline-block;
    background: url(img/shirt_border.png) no-repeat;
    position: absolute;
    z-index: 30!important;
    background-size: contain;
    background-position: 50% 50%;
    opacity: 0.2;
    width: 56px;
    height: 56px;
}
*/
.showcase .dropdown-area {
  position: absolute;
  right: 0;
  top: -7px;
  /* border: 1px solid; */
}

.showcase .dropdown-area .caret {
  margin-left: 10px;
}

.showcase .dropdown-area .dropdown-toggle {
  color: #8593b2;
  border: #c8d0e0 1px solid;
  box-shadow: inset 0px 1px 0px #FFF;
}

.showcase.dashboard + .sub-showcase .hidden-dashboard,
.showcase:not(.dashboard) + .sub-showcase .visible-dashboard,
.showcase.dashboard .hidden-dashboard,
.showcase:not(.dashboard) .visible-dashboard {
  display: none;
}

.dropdown-area .dropdown-menu {
  padding: 0;
}

.dropdown-area .dropdown-menu li a {
  font-size: 14px;
  text-transform: uppercase;
  color: #656565;
}

.dropdown-area .dropdown-menu li a:active,
.dropdown-area .dropdown-menu li a:focus,
.dropdown-area .dropdown-menu li a:hover {
  color: #4788c8;
  background-color: #fff;
}

.showcase.dashboard ~ .sub-showcase .navbar-menu li a {
  color: #203252;
}

@media (max-width: 500px) {
  .team-header-table {
    width: 100%;
    text-align: center;
    position: relative;
  }
  .team-header-table .team-shirt {
    position: absolute;
    bottom: 0px;
    display: block;
    left: 72%;
    width: 42px;
    padding-top: 35px;
  }
  .team-header-table .team-shirt:before,
  .team-header-table img.shirt {
    max-height: 42px;
    max-width: 42px;
  }
}
@media (max-width: 350px) {
  .team-header-table .team-shirt {
    display: none;
  }
}
#editModal form.bg-light {
  padding-top: 10px !important;
  background-color: #FFF;
}

#editModal form:not(.form-horizontal) .edit-modal-row .input-group {
  padding-top: 10px;
}

#editModal .media.team-header.team-header-sm {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #ebf0f7;
}

.team-header.team-header-sm .media-body {
  padding-left: 5px;
}

.team-header.team-header-sm img.crest,
.team-header.team-header-sm img.shirt,
.team-header.team-header-sm .team-shirt:before {
  max-height: 40px;
  max-width: 40px;
  vertical-align: bottom;
}

.team-header.team-header-sm img.crest.img-error,
.team-header.team-header-sm img.shirt.img-error,
.team-header.team-header-sm .team-shirt.img-error:before {
  height: 40px;
  width: 40px;
}

.team-header.team-header-sm .team-crest.circle,
.team-header.team-header-sm .team-shirt.circle {
  overflow: visible;
}

.team-header.team-header-sm .team-crest.circle:after,
.team-header.team-header-sm .team-shirt.circle:after {
  display: none !important;
}

.team-header.team-header-sm .team-crest.circle img,
.team-header.team-header-sm .team-shirt.circle img {
  width: 100%;
  height: 100%;
  top: -1px;
  border: none !important;
  filter: none !important;
  padding: 0px;
}

.team-header.team-header-sm img.shirt.circle {
  padding: 2px;
}

.team-header .media-body {
  text-align: left;
  padding-left: 20px;
}

.team-header h4 {
  font-size: 21px;
  color: #656d80;
  font-weight: 700;
  font-family: var(--font-default);
  margin-bottom: 15px;
}

.media-heading.team-name a {
  margin-left: 0 !important;
  color: #656d80;
}

.team-header.team-header-sm h4 {
  margin-bottom: 0;
}

.team-header h5 {
  font-size: 12px;
  margin-top: 3px;
  /*margin-bottom: 10px;*/
  margin-bottom: 7px;
  color: #89909B;
  font-weight: 700;
}

.team-header h5 > em {
  font-size: 85%;
  display: block;
  font-weight: 400;
  margin-top: 4px;
}

.team-header h5.league-name {
  font-size: 14px;
  color: #656d80;
}

.team-header.team-header-sm h5 {
  color: #cccccc;
  font-weight: 700 !important;
}

.team-header h6 {
  font-size: 11px;
  margin-top: 3px;
  margin-bottom: 10px;
  color: #cccccc;
  font-weight: 700;
}

sup.league-type {
  border-radius: 4px;
  padding: 0 3px;
  opacity: 0.2;
}

a:hover sup.league-type,
sup.league-type:hover {
  opacity: 1;
}

.team-header .league-type {
  font-weight: bold;
  font-size: 9px;
  text-transform: uppercase;
  vertical-align: super;
  padding: 0 3px;
}

.team-header .league-type.badge {
  font-size: 9px;
  line-height: 10px;
}

/* LEAGUE DROPDOWN */
.league-logo img {
  /*
      max-width: 32px;
      max-height: 32px;
      margin-top: -10px;
      margin-bottom: -10px;
      margin-left: 10px;
      margin-right: 10px;
      */
  width: 32px;
  height: 32px;
  margin-top: -10px;
  margin-bottom: -10px;
  margin-left: 10px;
  margin-right: 10px;
  object-fit: contain;
}

.league-name {
  color: #656d80;
  /*font-size       : 12px;*/
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-default);
  max-width: 400px;
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
  transition: max-width 0.2s;
  -webkit-transition: max-width 0.2s;
}

.dropdown-leagues .dropdown-item a {
  color: #656d80;
  font-weight: 700;
  font-size: 12px !important;
  font-family: var(--font-default);
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-leagues .dropdown-item a:active,
.dropdown-leagues .dropdown-item a:focus,
.dropdown-leagues .dropdown-item a:hover {
  color: #203252 !important;
}

.league-crest.circle-link:after,
.item-league .thumbnail.thumbnail-clear,
.global-menu .league-crest.circle-link:after,
.dropdown-leagues .league-logo img {
  /*background: #F4F4F4!important;*/
  background: #e7f2f7 !important;
}

.dropdown-leagues .dropdown-item a.notice:before {
  display: none;
}

.dropdown-leagues .dropdown-item a.notice:after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: rgb(204, 0, 0);
  border-radius: 50%;
  margin: 0 4px;
}

/*
@media (max-width: 767px) {
    .dropdown.slide-down.dropdown-leagues .dropdown-menu {
        margin-left: 20px;

        background: #EEE;
        box-shadow: inset 0px 1px 5px 0px rgba(0, 0, 0, 0.15);
        border-radius: 0;
    }

    .dropdown-leagues.slide-down {
        transition: margin 0.2s ease-in-out;
    }

    .dropdown-leagues.slide-down.open {
        margin-left: -70px;
        width: calc(100% + 70px);
    }

    .dropdown-leagues.slide-down.open .league-name {
        max-width: calc(20vw + 70px);
    }
}
*/
/*GLOBAL MENU*/
.modal-transparent.modal-lg .modal-body {
  max-width: 930px;
}

.media-left > a {
  text-decoration: none !important;
}

.global-menu-tabs {
  background: none;
  border-bottom: 6px solid #FFF;
}

.global-menu li .icon {
  max-width: 50px;
  max-height: 50px;
  float: left;
  margin-right: 10px;
}

.global-menu li > h4,
.global-menu li > a {
  text-transform: uppercase;
  font-family: var(--font-condensed);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none !important;
  display: table;
  white-space: pre;
  height: 100%;
  margin: 0;
  width: 100%;
}

.global-menu-tabs li {
  width: 50%;
  margin: 0;
  transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
}

.global-menu-tabs li:not(.active) {
  opacity: 0.5;
}

.global-menu-tabs li:after {
  content: "";
  width: 100%;
  position: absolute;
  top: 100%;
  height: 6px;
  display: inline-block;
  left: 0;
  background-color: transparent;
  transition: background-color 0.3s ease-in-out;
  -webkit-transition: background-color 0.3s ease-in-out;
}

.global-menu-tabs li.global-menu-admin.active:after {
  background-color: #f21a3c;
}

.global-menu-tabs li.global-menu-game.active:after {
  background-color: #203252;
}

.global-menu li > a > small {
  text-transform: uppercase;
  font-family: var(--font-default);
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  /*float        : left;*/
  line-height: 14px;
  padding-top: 6px;
  display: block;
}

.tab-pane header {
  background: #121c2d;
  padding: 10px;
}

.tab-pane header * {
  color: #FFF !important;
}

.tab-pane header .media,
.tab-pane header .profile-card-header .media-body {
  width: 100%;
}

header .media-body a {
  color: #FFF;
  text-decoration: underline;
}

.tab-pane header .media-info {
  float: right;
  font-size: 11px;
}

.tab-pane header .media-info span + span {
  margin-left: 10px;
}

.tab-pane header h4 {
  font-size: 16px;
  font-family: var(--font-default);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.tab-pane header h5 {
  font-size: 12px;
  font-weight: 400;
}

.tab-pane header .team-header .team-shirt:before,
.tab-pane header .team-header img.media-object,
.tab-pane header .profile-card-header img.media-object {
  max-height: 48px;
  max-width: 60px;
  vertical-align: top;
}

.globalMenuModal.leaving a[href] {
  opacity: 0.8;
  pointer-events: none;
}

.global-menu .team-header {
  margin: 0 !important;
  padding: 0;
}

.global-menu-body > div {
  padding-left: 5px;
  padding-right: 5px;
}

.global-menu .tab-content {
  /*display: table;
  width: 100%;*/
}

.global-menu .tab-pane > div {
  background: #F4F6F7;
  padding-top: 5px;
  padding-left: 0;
  padding-right: 0;
}

.global-menu .well {
  background: #FFF !important;
  margin-bottom: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.global-menu .well li > h4,
.global-menu .well li > a:not(.btn) {
  color: #656d80;
  white-space: normal;
  position: relative;
  width: 100%;
  background: rgba(0, 0, 0, 0);
  border-radius: 1px;
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0);
  transition-property: background-color, box-shadow, color;
  -webkit-transition-property: background-color, box-shadow, color;
  transition: 0.1s ease-in-out;
  -webkit-transition: 0.1s ease-in-out;
}

.global-menu .well li > a:not(.btn):active,
.global-menu .well li > a:not(.btn):hover {
  color: #121c2d;
  background: rgba(197, 199, 204, 0.42);
  box-shadow: 0 0 0 5px rgba(197, 199, 204, 0.42);
}

.global-menu .well li > a:not(.btn) > small {
  color: #f21a3c;
  text-transform: none;
  width: 100%;
  transition: color 0.1s ease-in-out;
  -webkit-transition: color 0.1s ease-in-out;
}

.global-menu .flex-row.flex-space-between .btn + .btn {
  margin-left: 10px;
}

.global-menu .well li > a:not(.btn):hover > small {
  color: #f54a65;
}

.global-menu-game .well li > a:not(.btn):active > small,
.global-menu-game .well li > a:not(.btn):focus > small,
.global-menu-game .well li > a:not(.btn):hover > small,
.global-menu-game .well li > a:not(.btn) > small {
  color: #203252;
}

.global-menu .well li > a:not(.btn) + a:not(.btn) {
  margin-top: 4px;
}

.global-menu .well li + li:not(.flex-row):not(.half-width) {
  margin-top: 10px;
}

.global-menu .well.more-margin li:not(.flex-row) {
  margin-top: 0px !important;
  margin-bottom: 20px;
}

.global-menu .well.more-margin li.divider {
  margin-top: 12px !important;
  margin-bottom: 20px;
}

.global-menu li.divider {
  height: 1px;
  margin-top: 12px !important;
  margin-bottom: 0px;
}

.global-menu li.half-width {
  width: calc(50% - 20px);
}

.global-menu .flex-row {
  margin: 0 !important;
  width: 100%;
}

.global-menu .flex-row.flex-space-between .btn {
  position: relative;
  width: auto;
  flex: 1;
  display: flex;
  justify-content: center;
}

.well.well-flat {
  box-shadow: none !important;
  background: #E5E7EA !important;
  border-color: transparent !important;
}

.well-flat > a {
  margin-top: 5px !important;
}

.global-menu .well a.btn {
  font-family: var(--font-default);
  font-weight: 400;
  margin: 0px auto;
  text-align: center;
}

.global-menu .well.well-flat li > a > small {
  color: #656d80;
}

.global-menu ul.well.min-h-220 {
  min-height: 220px;
}

.global-menu footer {
  background: #F4F6F9;
  margin-top: 10px;
  padding: 10px 5px;
  border-bottom: 6px solid #f21a3c;
}

.global-menu-game footer {
  border-bottom: 6px solid #203252;
}

.global-menu footer > div {
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.global-menu footer > div .well-flat {
  background: #FFF !important;
  padding: 5px;
  margin: 0;
  border-radius: 2px;
  display: block;
}

.global-menu footer h6 {
  text-transform: uppercase;
  font-size: 11px;
  color: #89909B;
  margin-top: 10px;
}

/* SWIPER */
/*
.swiper-container {
        width: 500px;
        height: 300px;
        margin: 20px auto;
}
 {
    text-align: center;
    font-size: 18px;
    background: #fff;


    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}*/
.tab-content > .tab-pane.swiper-slide {
  display: block !important;
  visibility: visible !important;
}

@media (max-width: 767px) {
  .global-menu-tabs {
    display: flex;
  }
  .global-menu-tabs li {
    flex-basis: 100%;
    -webkit-flex-basis: 100%;
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
    -webkit-transition: opacity 0.3s ease-in-out;
  }
  .global-menu-tabs li:hover,
  .global-menu-tabs li.active {
    opacity: 1;
  }
  .global-menu-tabs a {
    /* width: 50%; */
    text-align: center;
    width: 100%;
  }
  .global-menu-tabs li > a > small {
    font-size: 9px;
    white-space: normal;
    color: #CCC;
    width: 100%;
  }
  .global-menu li .icon {
    width: 100%;
    display: block;
    float: none;
    margin: auto;
    text-align: center;
  }
  .tab-pane header .media-info {
    display: block;
    float: none;
    margin-bottom: 8px;
  }
  .tab-pane header .media-info > span {
    display: inline-block;
    margin-right: 10px;
  }
  .tab-pane header .media-info span + span {
    margin-left: 0;
  }
}
/* PAGE NAV TABS */
.navbar.invite-navbar,
.nav.nav-tabs.invite-menu {
  position: relative;
  background: none;
  background: #FFF;
  border-radius: 5px;
  border: none;
}

.mobile .navbar.invite-navbar,
.mobile .nav.nav-tabs.invite-menu {
  overflow-y: hidden;
  overflow-x: scroll;
}

.nav.nav-tabs.invite-menu:before {
  content: "";
  position: absolute;
  width: 100%;
  bottom: 2px;
  left: 0;
  height: 6px;
}

.nav.nav-tabs.invite-menu > li {
  counter-increment: item-counter;
  background: none;
}
@media (max-width: 500px) {
  .nav.nav-tabs.invite-menu > li {
    background-color: #f7f7f7 !important;
    border-radius: 5px;
    text-align: center;
    margin: 4px;
  }
  .nav.nav-tabs.invite-menu > li .icon {
    margin: 0 !important;
    width: 100%;
  }
}

.nav.nav-tabs.invite-menu > li > a {
  font-size: 12px;
  color: #656d80 !important;
  min-height: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
}

.nav.nav-tabs.invite-menu > li > a:active,
.nav.nav-tabs.invite-menu > li > a:focus,
.nav.nav-tabs.invite-menu > li > a:hover,
.nav.nav-tabs.invite-menu > li.active > a {
  color: #203252 !important;
}

.invite-menu.invite-menu-ordered a:before {
  content: counter(item-counter);
  border-radius: 50%;
  width: 12px;
  display: inline-flex;
  justify-content: center;
  height: 12px;
  font-size: 10px;
  align-items: center;
  margin-right: 5px;
  background-color: #203252;
  color: #FFF;
  font-weight: bold;
}

.nav.nav-tabs.invite-menu > li > a > i {
  position: relative;
  display: inline-block;
  height: 20px;
}

.nav.nav-tabs.invite-menu > li > a > i.icon-x2 {
  margin-bottom: -5px;
  margin-top: -6px;
  /*CREA + icon icon-right ico-add icon-x2 */
}

@media (max-width: 544px) {
  .invite-menu.invite-menu-ordered a:before {
    display: block;
  }
}
.nav.nav-tabs.invite-menu > li > a:after {
  content: "";
  position: absolute;
  width: calc(100% - 50px);
  bottom: 5px;
  left: 25px;
  height: 6px;
  background-color: #203252;
  border-radius: 4px;
  transform: scaleX(0);
  transition: transform ease-in-out 0.15s;
}

.webview .nav.nav-tabs.invite-menu > li > a:after {
  height: 5px;
}

.nav.nav-tabs.invite-menu > li > a:active:after,
.nav.nav-tabs.invite-menu > li > a:focus:after,
.nav.nav-tabs.invite-menu > li > a:hover:after,
.nav.nav-tabs.invite-menu > li.active > a:after {
  transform: scaleX(1);
  -webkit-transform: scaleX(1);
}

.nav.nav-tabs.invite-menu.setup-menu:before {
  display: none;
}

.nav.nav-tabs.invite-menu.setup-menu > li > a:after {
  display: none;
}

.nav.nav-tabs.invite-menu.setup-menu > li > a {
  border-bottom: none !important;
  padding-left: 8px;
  padding-right: 8px;
  font-size: 11px;
}

.nav.nav-tabs.invite-menu.setup-menu > li > a:before {
  content: counter(tab);
  border: 2px solid;
  width: 24px;
  height: 24px;
  display: inline-block;
  line-height: 20px;
  text-align: center;
  margin: -10px 0;
  border-radius: 14px;
  margin-right: 6px;
  font-size: 14px;
  vertical-align: -1px;
}

@media (max-width: 767px) {
  .nav.nav-tabs.invite-menu {
    /*float: right;*/
    float: left;
    display: flex;
    display: -webkit-flex;
    /*
    justify-content        : center;
    -webkit-justify-content: center;
    */
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    min-width: 100%;
    max-width: 100%;
  }
  .nav.nav-tabs.invite-menu + br {
    clear: both;
  }
  .nav.nav-tabs.invite-menu.setup-menu > li > a:before {
    display: block;
    margin: 10px auto;
  }
  .nav.nav-tabs.invite-menu.setup-menu > li > a {
    text-align: center;
    height: 100%;
  }
}
/* INVITE */
.fg .setup-heading {
  color: #203252 !important;
  font-size: 20px !important;
  line-height: 20px !important;
  font-weight: 400;
}

.panel-primary .panel-heading > span.panel-title,
.panel-primary .panel-heading > a:not(.btn),
.panel-primary .panel-heading {
  /*background-color: #F1F1F1;*/
  /*color: $primary;*/
  color: #203252;
  /*font-weight: 700;*/
  font-weight: 400;
  font-size: 20px;
}

.panel-heading.panel-heading-default {
  font-size: 13px;
  color: #424f66;
}

.panel-dark .panel-heading {
  color: #656d80;
}

.panel-dark > .panel-body .panel-body {
  background-color: #FAFAFA;
}

.panel-primary .panel-body {
  background-color: #FFF;
  border-radius: 5px;
}

.panel-primary h4 {
  color: #656d80;
  font-family: var(--font-default);
  font-size: 20px;
}

@media (min-width: 544px) {
  .panel-primary .padding-left {
    padding-left: 20%;
  }
}
.panel-primary .padding-left > * {
  margin-top: 20px;
  margin-bottom: 20px;
}

body.fg hr.solid {
  border-style: solid;
  border-color: #C0C0C0;
}

body.fg hr.solid.light {
  border-color: #F0F0F0;
}

hr.thick {
  border-bottom-width: 4px;
  height: 0;
}

body.fg hr.light {
  border-color: #E5E7EA;
}

/*.panel-primary form {*/
.panel-primary form.form-horizontal {
  background: #F7F7F7;
}

@media (min-width: 544px) {
  .btn-wide {
    width: 120px;
  }
}
/*FILTERS*/
/*
    .filter .icon {
        color: #C0C0C0;
        z-index: 1;
        padding: 0px 10px;
        line-height: 31px;
        height: 28px;
    }

    .filter .form-group {
        margin: 10px 0;
        padding-bottom: 0px;
    }

    .filter input.form-control {
        background: none;
        border: 1px solid #C0C0C0;
        font-size: 12px;
        line-height: 12px;
        height: 28px;
        padding: 2px 2px 2px 10px;
        margin: 0;
    }

    .filter .icon + .form-group input.form-control {
        padding-left: 32px;
    }

    .filter input.inner-addon.form-control {
        padding: 2px 2px 2px 30px;
    }


    .filter .form-group.is-focused .form-control {
        background: #F9F9F9;
    }

    .filter textarea.form-control::-moz-placeholder,
    .filter input.form-control::-moz-placeholder {
        font-size: 12px !important;
        line-height: 20px !important;
    }

    .filter textarea.form-control:-ms-input-placeholder,
    .filter input.form-control:-ms-input-placeholder {
        font-size: 12px !important;
        line-height: 12px !important;
    }

    .filter textarea.form-control::-webkit-input-placeholder,
    .filter input.form-control::-webkit-input-placeholder {
        font-size: 12px !important;
        line-height: 12px !important;
    }


    .filter .form-group label {
        font-size: 12px;
        line-height: 14px;
        margin: 0;
        padding: 5px 0;
        vertical-align: middle;
    }

    //FILTER DROPDOWN
    .filter .btn.dropdown-toggle {
        text-transform: none !important;
        font-size: 12px;
        padding: 5px;
        margin: 10px 0;
    }

    .filter .form-group .btn.dropdown-toggle {
        margin: 0;
    }

    .filter .btn.dropdown-toggle .caret,
    .filter .btn.dropdown-toggle .dropdown-selection {
        color: $primary;
        text-transform: lowercase;
    }

    .filter .dropdown-menu > li > a {
        font-size: 12px;
        padding: 10px;
    }

    .filter .dropdown-menu li a:hover {
        color: $primary;
    }
    */
td.match span:before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  z-index: -1;
  background: #fceea8;
  border-radius: 2px;
}

/*
tr.filtered {
    opacity: 0.3;
}
*/
tr.filtered {
  display: none !important;
  opacity: 0.3;
  height: 0 !important;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
}

/*INVITES*/
td[data-key=username] {
  color: #3771C5;
  font-weight: 700;
}

td[data-key=email] {
  font-style: italic;
}

td[data-key=email].cell-email {
  vertical-align: middle;
}

.myself td[data-key=team],
.myself td[data-key=role] {
  font-weight: 700;
}

.label-invite-0 {
  background-color: #2e4877;
}

/* Invito */
.label-invite-1 {
  background-color: #656d80;
}

/* Parola D'Ordine */
.label-invite-2 {
  background-color: #203252;
}

/* Leghe Open */
.label-invite-3 {
  background-color: #f21a3c;
}

/* Allenatore in seconda */
.label-invite-4 {
  background-color: #7e869a;
}

/* Allenatore */
/* PAROLE */
.panel-parole .parole {
  margin: 0;
  white-space: normal;
  transition: color 0.5s ease-in-out;
  -webkit-transition: color 0.5s ease-in-out;
}

.disabled .parole {
  color: #DDD;
}

/* TOGGLE-STATUS */
.togglebutton.toggle-status {
  position: relative;
  display: table;
}

.togglebutton.toggle-status label {
  margin: 0;
}

.togglebutton.toggle-status .toggle {
  display: initial !important;
  background: none !important;
  margin: 0 !important;
}

.togglebutton.toggle-status input {
  display: none;
}

.togglebutton.toggle-status .toggle:before,
.togglebutton.toggle-status .toggle:after {
  font-size: 12px;
  line-height: 12px;
  color: #E0E0E0;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid #CCC;
  transition: background ease-in-out 0.2s, color ease-in-out 0.2s, box-shadow ease-in-out 0.3s;
  -webkit-transition: background ease-in-out 0.2s, color ease-in-out 0.2s, box-shadow ease-in-out 0.3s;
}

.togglebutton.toggle-status label input[type=checkbox] + .toggle:before {
  content: attr(data-on);
  background: #FFF;
  position: absolute;
  padding: 8px 10px 8px 15px;
  border-radius: 20px 0 0 20px;
}

.togglebutton.toggle-status label input[type=checkbox] + .toggle:after {
  /*content: attr(data-on) ' ' attr(data-off);*/
  content: attr(data-on) url(https://doh3bfkx6r7ti.cloudfront.net/web/img/toggle_space.gif) attr(data-off);
  display: inline-block;
  padding: 8px 15px 8px 10px;
  position: static;
  /*word-spacing  : 20px;*/
  border-radius: 20px;
  background-color: #FFF;
  width: auto;
  height: 100%;
  box-shadow: 0px 0px 10px 10px rgba(255, 255, 255, 0);
}

.togglebutton.toggle-status label input[type=checkbox]:checked + .toggle:before,
.togglebutton.toggle-status label input[type=checkbox]:not(:checked) + .toggle:after {
  background: #203252;
  color: #FFF;
}

.group-readonly .readonly {
  opacity: 0.5;
  pointer-events: none;
}

.icon-toggle .toggle:before,
.icon-toggle .toggle:after {
  font-family: "fg-leghe" !important;
}

/*TOGGLE BUTTON LARGE*/
.togglebutton.toggle-large .checkbox-material {
  width: 55px;
  /* border    : 1px solid red; */
  display: inline-block;
  height: 30px;
  border: 1px solid #A0A0A0;
  border-radius: 15px;
  background: #FFF;
}

.togglebutton.toggle-large .checkbox-material .check {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: #203252;
  border-radius: 15px;
  margin: -1px;
  transform: translateX(0);
  transition: transform 0.2s ease-in-out;
}

.togglebutton.toggle-large input:checked ~ .checkbox-material .check {
  transform: translateX(25px);
}

.togglebutton.toggle-large label > span {
  /* display: inline-block; */
  /* line-height: 10px; */
  /* border: 1px solid red; */
  vertical-align: middle;
}

/*EDIT MODAL*/
.modal.edit-modal .modal-dialog {
  max-width: 500px;
  margin: auto;
}

.modal-header.cur-team-header {
  padding-left: 8px;
}

#editModal .cur-team-logo,
#editModal .cur-league-logo {
  max-height: 38px;
  max-width: 38px;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid #FFF;
}

#editModal .cur-league-logo {
  background: #e7f2f7;
}

#editModal .cur-team-logo {
  margin-right: 0px;
  vertical-align: top;
  background: #F4F4F4;
}

#editModal .team-name,
#editModal .league-name {
  max-height: 38px;
  max-width: 38px;
}

#editModal .cur-team-name {
  display: inline-block;
}

#editModal .cur-team-name > small {
  display: block;
  color: #EEE;
  text-transform: capitalize;
}

#editModal li {
  font-size: 12px;
  line-height: 15px;
}

#editModal p {
  font-size: 12px;
  line-height: 22px;
  margin-top: 10px;
}
#editModal p ul {
  list-style: inside;
}

#editModal p.no-margin {
  margin-top: 0;
}

#editModal p.info {
  color: #656d80;
  line-height: 15px;
  margin-bottom: 30px;
}

#editModal .modal-title {
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: calc(100% - 20px);
  white-space: nowrap;
}

#editModal .row-html p > a {
  text-decoration: underline;
}

#editModal h4 {
  font-size: 18px;
}

#editModal h4.row-header {
  padding: 0px 15px;
  font-style: italic;
  color: #203252;
  font-weight: 400;
  font-family: var(--font-default);
  font-size: 14px;
  margin-bottom: 20px;
}

#editModal h5 {
  font-size: 14px;
  color: #666666;
  font-weight: 400;
}

#editModal h5 i.icon {
  vertical-align: top;
  float: left;
  margin-right: 4px;
}

#editModal h5.info {
  color: #203252;
  font-style: italic;
  margin-bottom: 20px;
}

#editModal h6 {
  color: #203252;
  font-size: 14px;
  margin-bottom: 20px;
}

#editModal .form-group {
  margin: 0;
  padding-bottom: 20px;
  padding-left: 15px;
  padding-right: 15px;
}
#editModal .form-group .error-list {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
}
#editModal .form-group .error-list .field-error {
  background-color: #FFF !important;
  border: 1px solid #EEE;
  padding: 5px;
  margin-top: 5px;
}

#editModal .edit-modal-row .sub-header {
  background: #203252;
  color: #FFF;
  height: 28px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.edit-modal .form-horizontal .edit-modal-row:first-child .sub-header {
  margin-top: -25px;
}

#editModal .edit-modal-row + .edit-modal-row .sub-header {
  margin-top: -30px;
  margin-bottom: 0;
  height: 30px;
}
#editModal .edit-modal-row + .edit-modal-row .sub-header > span,
#editModal .edit-modal-row + .edit-modal-row .sub-header > strong {
  padding: 0;
}

#editModal .edit-modal-row .sub-header strong {
  color: #FFF;
  font-family: var(--font-condensed);
  font-size: 12px;
  opacity: 1;
  padding-top: 4px;
}

#editModal .edit-modal-row .sub-header span {
  color: #FFF;
  font-size: 12px;
  padding-top: 4px;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#editModal .edit-modal-row:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: inline-block;
  border-bottom: 1px solid transparent;
}

.edit-modal-row[data-repeat-id]:after {
  border-bottom-style: dashed !important;
}

.edit-modal-row.repeat-item-template + .edit-modal-row:before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  position: absolute;
  top: -1px;
  left: 0;
  border-top: 1px solid #d1d1d1;
}

.edit-modal-row:not([data-repeat-id]) .visible-repeat-item {
  display: none;
}

[data-repeat-counter] .btn-remove {
  top: -2px;
}

[data-repeat-counter] [class*=col] {
  padding: 0 2px;
}

[data-repeat-counter] [class*=col]:first-of-type {
  padding-left: 10px;
}

[data-repeat-counter] [class*=col]:last-of-type {
  padding-right: 15px;
}

[data-repeat-counter] [data-field] {
  font-size: 11px !important;
}

[data-repeat-counter].row-time-range {
  padding-top: 10px !important;
}

[data-repeat-counter] .time-range-turns {
  padding-bottom: 10px !important;
}

hr.separator-top-space {
  margin-top: 25px !important;
}

body.fg hr.separator-solid {
  border-style: solid !important;
  border-color: rgba(0, 0, 0, 0.08);
}

body.fg hr[data-row*=row-content-dark] {
  margin-bottom: -2px;
  position: relative;
  z-index: 1;
}

#editModal .edit-modal-row:not(.hidden) + .separator-dashed.hidden,
#editModal .edit-modal-row:not(.hidden) + .separator-solid.hidden {
  padding-bottom: 1px !important;
  margin-top: -1px !important;
}

#editModal .separator-solid:not(.hidden):not(.scrollable):not(:last-of-type):after,
#editModal .edit-modal-row:not(.hidden) + .separator-solid.hidden:not(.scrollable):not(:last-of-type):after,
#editModal .edit-modal-row:not(.hidden) + .separator-dashed.hidden:not(.scrollable):not(:last-of-type):after {
  border-bottom: 1px solid #d1d1d1;
}

#editModal .separator-dashed:not(.hidden):after,
#editModal .edit-modal-row:not(.hidden) + .separator-dashed.hidden:after {
  border-bottom: 1px dashed #d1d1d1;
}

.edit-modal-row input[readonly][data-picker].locked,
.edit-modal-row input[readonly]:not([data-picker]) {
  background: none !important;
  cursor: default;
  color: #656d80;
}

.edit-modal-row input[readonly][data-picker] {
  cursor: pointer;
}

#editModal form {
  background: #f7f7f7;
}

#editModal .flex-row.actions {
  padding: 10px;
}

#editModal.form-scrollable form:not(.form-horizontal),
#editModal.form-scrollable form {
  /*padding-bottom: 50px!important;*/
  /*max-height: calc(100vh - 160px);    */
  overflow: hidden;
  overflow-y: auto;
}

@media (min-width: 768px) {
  #editModal.form-scrollable form {
    padding-bottom: 49px !important;
  }
}
@media (max-width: 500px) {
  #editModal.form-scrollable form {
    /*max-height: calc(100vh - 116px);*/
  }
}
#editModal form:not(.form-horizontal) {
  padding-top: 15px;
  /*padding-bottom: 0!important;*/
}

#editModal select {
  color: #656d80;
  background-color: #FFF;
  font-weight: 700;
  padding: 0px 10px;
}

#editModal select.disabled {
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.settings-box .form-control.check-list,
#editModal .form-control.check-list {
  height: auto !important;
  background-image: none;
  padding: 0;
  background-color: transparent;
  border: none;
}
.settings-box .form-control.check-list .asterisk .checkbox-label:after,
#editModal .form-control.check-list .asterisk .checkbox-label:after {
  content: "*";
}

#editModal .form-control.check-list.readonly {
  opacity: 0.5;
}

#editModal .form-control.check-list.readonly label {
  cursor: default;
}

#editModal .edit-modal-row.row-minmax .control-label {
  width: 100%;
  margin-bottom: 15px !important;
}

#editModal .edit-modal-row.row-minmax .min-label,
#editModal .edit-modal-row.row-minmax .max-label {
  color: #666;
  font-size: 12px;
  vertical-align: 2px;
  font-weight: 700;
  padding-right: 5px;
}

#editModal .edit-modal-row.row-minmax .max-label {
  display: inline-block;
  padding-left: 5px;
  margin-left: 20px;
}

#editModal .check-list .disabled .checkbox-label {
  background-color: rgba(222, 222, 222, 0.5);
  color: rgba(101, 109, 128, 0.8);
}

#editModal .edit-modal-row.row-minmax input {
  text-align: center !important;
}

.settings-box .check-list .checkbox-label,
#editModal .check-list .checkbox-label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 2px;
  padding: 2px 4px;
  font-size: 12px;
  background-color: white;
  border-radius: 4px;
  font-weight: 700;
  color: #656d80;
  position: relative;
  height: 30px;
  line-height: 14px;
  min-width: 30px;
  text-align: center;
  transition: background-color 0.1s ease-in-out, color 0.15s ease-in-out;
}
.settings-box .check-list .checkbox-label:hover,
#editModal .check-list .checkbox-label:hover {
  background-color: #3d5f9b;
  color: #FFF;
}

#editModal .check-list input:checked + .checkbox-label {
  background-color: #203252;
  color: #FFF;
}

.edit-modal-row option[disabled] {
  display: none;
}

/*
@keyframes ani-row {   
    0% { overflow: visible;}
    100% { overflow: hidden;}
}


@keyframes ani-row-back {
    0% { overflow: hidden;}
    100% { overflow: visible;}
}
*/
/*
@-webkit-keyframes ani-row {   
    0% { overflow: visible;}
    100% { overflow: hidden;}
}


@-webkit-keyframes ani-row-back {
    0% { overflow: hidden;}
    100% { overflow: visible;}
}
    */
.edit-modal-row {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  justify-content: flex-end;
  -webkit-justify-content: flex-end;
  overflow: visible;
  transition: opacity 0.3s ease-in-out, padding 0.2s ease-in-out;
  -webkit-transition: opacity 0.3s ease-in-out, padding 0.2s ease-in-out;
  /*animation            : ani-row-back 0.8s normal forwards linear;*/
  /*-webkit-animation    : ani-row-back 0.8s normal forwards linear;*/
  opacity: 1;
  position: relative;
}

.edit-modal-row.changing {
  pointer-events: none;
}

.edit-modal-row.hidden.changing {
  opacity: 0.5 !important;
}

.edit-modal.animating form {
  overflow: hidden !important;
  overflow-y: hidden !important;
}

.edit-modal-row.animating,
.edit-modal-row.changing,
.edit-modal-row.hidden {
  overflow: hidden;
  /*animation        : ani-row 0s normal forwards linear;    */
  /*-webkit-animation: ani-row 0s normal forwards linear;    */
}

.edit-modal-row.separator-merge.hidden + .edit-modal-row,
.edit-modal-row.hidden {
  display: flex !important;
  display: -webkit-flex !important;
  visibility: visible !important;
  padding-top: 0 !important;
  padding-bottom: 0px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.edit-modal-row.separator-merge.hidden + .edit-modal-row input,
.edit-modal-row.separator-merge.hidden + .edit-modal-row select,
.edit-modal-row.separator-merge.hidden + .edit-modal-row textarea {
  display: none;
}

.edit-modal-row.separator-merge.hidden + .edit-modal-row > div,
.edit-modal-row.hidden > div {
  margin-top: -1000px !important;
  max-height: 1000px;
  opacity: 0.2 !important;
}

.edit-modal-row.separator-merge.hidden + .edit-modal-row > div {
  opacity: 0 !important;
  z-index: -1;
  pointer-events: none;
}

#editModal .edit-modal-row > div {
  transition: margin-top 0.3s cubic-bezier(1, 0, 0, 1), opacity 0.1s ease-in-out 0.2s !important;
  -webkit-transition: margin-top 0.3s cubic-bezier(1, 0, 0, 1), opacity 0.1s ease-in-out 0.2s !important;
  padding-right: 15px;
  padding-left: 15px;
  opacity: 1;
}

#editModal .edit-modal-row .input-group {
  width: 100%;
}

#editModal .edit-modal-row .input-group span a {
  font-size: 90%;
  text-decoration: underline;
  color: #203252;
  font-weight: 700;
}

@media (min-width: 768px) {
  #editModal .actions {
    padding: 10px;
    padding-top: 0;
    padding-bottom: 0;
    top: -1px;
    position: relative;
    z-index: 200;
  }
  #editModal.form-scrollable .actions {
    position: absolute;
    top: auto;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
  }
  #editModal.form-scrollable .actions.action-stack {
    position: relative;
    margin-bottom: -49px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
#editModal .action-stack .spacer {
  position: relative;
}

#editModal .action-stack .btn {
  width: 250px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  padding-left: 20px !important;
  justify-content: flex-start;
  -webkit-justify-content: flex-start;
}

#editModal .actions .btn {
  padding: 5px;
}

#editModal .spacer {
  width: 0px;
  height: 0px;
}

#editModal .edit-modal-row > .spacer {
  height: 20px;
}

#editModal .btn + .spacer {
  width: 10px;
  height: 10px;
}

/*EDIT MODAL GROUPS LIST*/
#editModal .groups-list {
  height: auto;
}
#editModal .groups-list .groups-item {
  z-index: auto;
}
#editModal .groups-list .groups-item .chosen-select {
  width: 100%;
}

#editModal .groups-list .search-field,
#editModal .groups-list .chosen-container,
#editModal .groups-list .chosen-container input {
  width: 100% !important;
  font-family: var(--font-default);
}

#editModal .groups-list .search-field {
  background: #FFF;
  border: 1px solid #AAA;
  margin-top: 2px;
  position: relative;
  border-radius: 3px;
}

#editModal .groups-list .chosen-container input {
  padding: 0 10px;
}

#editModal .form-control .groups-item .control-label {
  margin-bottom: 4px;
}

.chosen-container-multi .chosen-choices {
  background-image: none !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}

.chosen-container-active .chosen-choices {
  border: none !important;
  box-shadow: none !important;
}

.chosen-container .chosen-results li.highlighted {
  background-color: #1e4c9f !important;
  background-image: none !important;
  color: #fff;
}

.min-selection-reached.max-selection-reached + .chosen-container .search-field:after {
  content: "COMPLETO";
  position: absolute;
  z-index: 100;
  left: 0;
  width: 100%;
  height: 100%;
  top: 0;
  line-height: 12px;
  text-align: center;
  padding: 7px;
}

.min-selection-reached.max-selection-reached + .chosen-container .search-field input {
  opacity: 0;
}

.max-selection-reached + .chosen-container .search-field {
  opacity: 1;
  transition: 0.3s ease-in-out opacity;
  -webkit-transition: 0.3s ease-in-out opacity;
}

.max-selection-reached + .chosen-container .search-field {
  opacity: 0.5;
}

.groups-error-message {
  font-size: 0;
  width: 100%;
  display: table;
}

.groups-error-message:before {
  content: attr(data-error-min);
  font-size: 12px;
  padding: 2px;
  display: inline-block;
  overflow: hidden;
  max-height: 0;
  transition: 0.3s ease-in-out max-height;
  -webkit-transition: 0.3s ease-in-out max-height;
}

.chosen-select.error-min ~ .groups-error-message:before {
  max-height: 50px;
}

#editModal .groups-item {
  height: auto !important;
  background: #E5E7EA;
  padding: 10px;
}

#editModal .chosen-container-multi .chosen-choices .search-choice {
  background: #F9F9F9;
  border-radius: 1px;
  border: 1px solid #AAA;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  padding-left: 8px;
  padding-right: 30px;
  border-radius: 3px;
}

#editModal .chosen-container-multi .chosen-choices li.search-choice > span {
  font-family: var(--font-default);
}

#editModal .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
  top: 6px;
  right: 5px;
  background: url(https://doh3bfkx6r7ti.cloudfront.net/web/img/chosen-sprite.png) -42px 1px no-repeat;
}

/*LEAGUE MEMBER CARD*/
#memberCard {
  padding: 0 !important;
  position: relative;
  overflow: hidden;
}

#memberCard:after {
  content: "";
  position: absolute;
  bottom: 0px;
  width: 100%;
  border-bottom: 1px solid #CCC;
  height: 0;
  display: inline-block;
}

.member-card {
  padding-bottom: 10px;
  margin-top: 0px !important;
  margin-bottom: 0px;
  padding-right: 15px;
  padding-left: 15px;
  width: 100%;
}

.member-team {
  display: inline-block;
}

.member-team strong {
  display: block;
  font-weight: 700;
  text-transform: none;
  margin-top: 2px;
}

.member-card h4 {
  color: #333333;
  font-size: 16px !important;
}

.member-card h4 > small {
  display: block;
  margin-left: 24px;
  font-style: italic;
  font-weight: 400;
  margin-top: 4px;
}

.member-card h5 {
  margin-top: 20px;
  color: #666666;
  font-size: 12px !important;
  line-height: 18px;
}

.member-card .media-body {
  border-left: 1px solid #C0C0C0;
  padding-left: 10px;
}

.member-card .media-body .icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  font-size: 18px;
  line-height: 18px;
  vertical-align: text-top;
  text-align: right;
}

.member-card .media-left {
  vertical-align: middle;
}

.member-card .team-crest:before,
.member-card .team-shirt:before,
.member-card .team-crest > *,
.member-card .team-shirt > * {
  max-width: 62px;
  max-height: 62px;
}

.member-card .team-crest > .img-error,
.member-card .team-shirt > .img-error {
  min-width: 62px;
  min-height: 62px;
}

.member-card img {
  -webkit-filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.2));
  filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.2));
}

/* CHECK-LIST */
ul.check-list {
  list-style: none;
  margin: 0;
}

ul.check-list li {
  background-color: #f7f7f7;
}

.check-list li > h4 {
  margin: 0 !important;
  background: #FFF;
}

.check-list h4 > a {
  color: #656d80;
  text-decoration: none !important;
  font-size: 12px;
  text-decoration: underline;
  padding-left: 50px;
  padding-right: 30px;
  position: relative;
  padding-top: 12px;
  padding-bottom: 12px;
  line-height: 14px;
  width: 100%;
  display: inline-block;
  transition: ease-in-out background 0.2s;
}

.check-list h4 > a:hover {
  background: #F9F9F9;
}

.check-list h4 > a:after,
.check-list h4 > a:before {
  content: "";
  position: absolute;
  left: 22px;
  top: 10px;
  width: 20px;
  height: 20px;
  color: #FFF;
  border: 1px solid transparent;
  border-radius: 20px;
}

.check-list h4 > a:before {
  background: #CFCFCF;
  border: 1px solid #d1d1d1;
}

.check-list li.checked h4 > a:before {
  background: #5077bb;
  border: 1px solid #5077bb;
}

.check-list li.current h4 > a:before {
  background: #203252;
  border: 1px solid #203252;
  opacity: 0.8;
}

.check-list li h4 > a:after {
  content: "c";
  font-family: "fg-icons";
  color: #FFF;
  opacity: 0;
  line-height: 18px;
  text-align: center;
  vertical-align: middle;
}

.check-list li.checked h4 > a:after {
  opacity: 1;
}

.checkbox-list {
  height: auto !important;
}

.checklist-group-filters,
.check-list-item {
  position: relative;
  margin-left: -5px;
  margin-bottom: 3px;
  width: calc(100% + 10px) !important;
}

.checklist-group .empty-list {
  font-style: italic;
  font-size: 12px;
  background: #FFF;
  text-align: center;
  padding: 10px;
  opacity: 0.5;
}

.check-list-item {
  height: 38px;
}

.check-list-item.lazy > * {
  display: none !important;
}

.check-list-item .check-list-item-value {
  position: absolute;
  right: 3px;
  top: 3px;
}

/*CAMPO NASCOSTO: FUNZIONALITA' IN SVILUPPO ... */
.check-list-item .check-list-item-value {
  display: none;
}

.checkbox-list.checkbox.checkbox-sm .check-list-item .check-list-item-label .checkbox-material {
  position: absolute;
  top: 9px;
  left: 9px;
}

.check-list-item .check-list-item-label {
  height: 100%;
}

.check-list-item .check-list-item-label .checkbox-label {
  max-width: calc(100% - 102px);
  width: 100%;
  display: inline-block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 16px;
  vertical-align: middle;
  top: auto;
}

.check-list-item .check-list-item-label .checkbox-info {
  float: right;
  margin-top: 4px;
  color: rgba(165, 172, 181, 0.3);
  margin-left: auto;
}

.check-list-item .check-list-item-label .checkbox-info:hover {
  color: rgb(165, 172, 181);
}

.check-list .check-list-item-body {
  background: #f7f7f7;
  /*
              border-bottom: 1px solid darken($card, 15);
              border-top   : 1px solid darken($card, 15);
                  */
  padding-left: 30px;
}

.check-list-item-body h5:first-of-type {
  margin-top: 20px;
}

.checkbox-info .smart-tooltip[data-smart-tooltip]:after {
  width: 180px;
  max-width: 180px;
}

.check-list .check-list-item-body:after,
.check-list .check-list-item-body:before {
  content: "";
  display: block;
  height: 0px;
}

.fg .edit-modal .check-list-item .check-list-item-value input[disabled] + .input-group-addon,
.fg .edit-modal .check-list-item .check-list-item-value input[disabled] {
  opacity: 0.5 !important;
  border-style: dotted !important;
}

.check-list .list-icon {
  text-align: left;
}

.check-list .list-icon:not(:last-of-type) {
  margin-bottom: 20px;
}

.check-list .list-icon a {
  border-radius: 5px;
  transition: 0.15s ease-in-out background-color;
  text-decoration: none;
  margin: 5px;
}
.check-list .list-icon a:focus, .check-list .list-icon a:hover {
  background-color: white;
}

.check-list .list-icon .icon {
  height: 32px;
  width: 48px;
  font-size: 35px;
  color: #656d80;
  line-height: 35px;
  display: flex;
  margin: auto;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

.check-list .list-icon a:hover > .icon {
  background: none;
  color: #656d80;
}

.check-list .list-secondary li,
.check-list .list-icon .caption {
  color: #656d80;
  font-size: 12px;
  font-family: var(--font-condensed);
}

.check-list-item-body h5 {
  font-size: 11px;
  color: #656d80;
  text-transform: uppercase;
  margin-top: 5px;
  margin-bottom: 5px;
}

ul.list-secondary {
  list-style: none;
  padding: 10px 15px;
  padding-bottom: 20px;
}
ul.list-secondary a {
  color: #656d80;
}
ul.list-secondary a:hover {
  color: #9ba1b0;
}
ul.list-secondary li:before {
  content: "-";
  margin-right: 4px;
}

/*****/
@media (min-width: 544px) and (max-width: 991px) {
  .check-list-item-body > * {
    float: left;
  }
  .check-list-item-body > ul {
    width: 24%;
    position: relative;
    max-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    display: -webkit-flex;
    -webkit-justify-content: center;
    -webkit-align-items: center;
    -webkit-flex-wrap: wrap;
  }
  .check-list-item-body > h5 + ul {
    margin-top: 50px;
  }
  .check-list-item-body > ul:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 2px;
    display: inline-block;
    height: 100%;
    width: calc(100% - 4px);
    background: #333333;
    z-index: 0;
    opacity: 0.05;
  }
  .check-list-item-body > ul > li {
    position: relative;
    z-index: 10;
    text-align: center;
  }
  .check-list-item-body > ul.list-secondary li {
    width: 100%;
  }
  .check-list .list-icon a {
    padding: 5px;
    width: 70px;
  }
  .check-list-item-body > h5 {
    /* margin-right: -143px; */
    margin-right: -24%;
    margin-top: 0;
    width: 24%;
    height: 50px;
    vertical-align: bottom;
    text-align: center;
  }
}
@media (max-width: 991px) {
  @-moz-document url-prefix(http:) {
    .panel-setup-progress .smart-scrollbar-x,
    .panel-setup-progress .smart-scrollbar {
      overflow-x: hidden !important;
    }
  }
  .panel-setup-progress .smart-scrollbar-x::-webkit-scrollbar,
  .panel-setup-progress .smart-scrollbar::-webkit-scrollbar {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 0px;
    height: 0px;
  }
  .panel-setup-progress {
    border: none !important;
    background: none !important;
    margin-bottom: -15px;
    z-index: 100;
  }
  .panel-setup-progress .panel-body {
    overflow-x: auto;
    height: 100px;
    position: relative;
    overflow-y: visible;
    /*margin-top: -62px;*/
    margin-top: -20px;
    background: transparent;
  }
  .panel-setup-progress .panel-heading,
  .panel-setup-progress .panel-footer,
  .panel-setup-progress .check-list-item-body {
    display: none;
  }
  .panel-setup-progress .setup-check-list {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items: center;
    -webkit-align-items: center;
    margin: auto;
    padding: 0;
    position: absolute;
    width: 100%;
    left: 0;
    top: 50px;
    z-index: 100;
    width: 100%;
    height: 0px;
    min-width: 500px;
  }
  .panel-setup-progress .setup-check-list > li {
    align-self: flex-start;
    -webkit-align-self: flex-start;
    width: 100%;
    position: relative;
    max-width: 20%;
    background: none;
  }
  .panel-setup-progress .setup-check-list > li:nth-child(2n+1) {
    align-self: flex-end;
    -webkit-align-self: flex-end;
  }
  .panel-setup-progress .setup-check-list > li:before {
    content: "";
    position: absolute;
    width: calc(100% - 20px);
    border-top: 1px dashed #6ea7da;
    height: 0px;
    left: calc(50% + 10px);
    top: -1px;
  }
  .panel-setup-progress .setup-check-list > li:nth-child(2n+1):before {
    bottom: 0;
    top: auto;
  }
  .panel-setup-progress .setup-check-list > li:last-child:before {
    display: none;
  }
  .check-list.setup-check-list li > h4 {
    background: none;
  }
  .check-list li > h4 {
    position: relative;
  }
  .check-list h4 > a:active,
  .check-list h4 > a:focus,
  .check-list h4 > a:hover {
    background: none;
    transform: scale(1.1);
  }
  .panel-setup-progress .check-list li h4 > a {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 30px;
    padding-bottom: 0;
    margin-top: -15px;
    text-transform: uppercase;
    font-size: 10px;
    text-decoration: none;
    transition: transform 0.2s ease;
    -webkit-transition: -webkit-transform 0.2s ease;
  }
  .panel-setup-progress .check-list li:nth-child(2n+1) h4 > a {
    padding-top: 0;
    padding-bottom: 30px;
    margin-bottom: -15px;
  }
  .panel-setup-progress .check-list li h4 > a:after,
  .panel-setup-progress .check-list li h4 > a:before {
    position: absolute;
    display: block;
    margin: auto;
    top: calc(100% - 25px);
    bottom: auto;
    left: calc(50% - 10px);
    text-transform: initial;
    font-size: inherit;
  }
  .panel-setup-progress .check-list li:nth-child(2n) h4 > a:after,
  .panel-setup-progress .check-list li:nth-child(2n) h4 > a:before {
    top: 5px;
  }
  .showcase[data-setup="1"] > .container {
    padding-bottom: 50px;
  }
  .sub-showcase[data-setup="1"].container {
    overflow: visible;
    border: none;
    border-top: 2px solid #FFF;
  }
}
/* IMAGE GRID CHECK LIST */
.edit-modal .row-grid .simple-grid label.control-label {
  width: calc(100% - 50px);
}

.edit-modal .simple-grid .input-group.grid-values-line {
  width: 40px !important;
}

.simple-grid .header-group-item > span[data-key]:before,
.simple-grid .grid-sub-headers th[data-key]:before {
  display: none;
}

.simple-grid .header-group-item {
  text-align: right;
}

.simple-grid .header-group-item:first-of-type {
  text-align: left;
}

.edit-modal .row-grid .form-group.simple-grid {
  background: #F4F6F9;
  margin-bottom: -1px !important;
  padding-top: 4px;
  padding-bottom: 2px !important;
  border-top: 1px solid #CCC;
}
.edit-modal .row-grid .form-group.simple-grid .grid-values-line input {
  height: 26px !important;
}

.edit-modal .row-grid .form-group.simple-grid:nth-child(2n+1) {
  background: #fcfcfd;
}

.edit-modal .row-grid .form-group.simple-grid:last-child {
  margin-bottom: 8px !important;
  border-bottom: 1px solid #CCC;
}

.settings-box .image-grid .check-list input + .checkbox-label,
#editModal .image-grid .check-list input + .checkbox-label {
  background: none !important;
  border-color: transparent;
}

.settings-box .image-grid .check-list input:checked + .checkbox-label,
#editModal .image-grid .check-list input:checked + .checkbox-label {
  background: none !important;
  z-index: 100;
  border: 2px solid #203252;
  border-radius: 4px;
}

.settings-box .image-grid .check-list input:checked + .checkbox-label:after,
#editModal .image-grid .check-list input:checked + .checkbox-label:after {
  content: "c";
  font-size: 10px;
  color: #FFF;
  background: #203252;
  position: absolute;
  top: -10px;
  right: -9px;
  width: 18px;
  height: 18px;
  font-family: "fg-icons";
  border-radius: 59%;
  vertical-align: 0;
  line-height: 16px;
  border: 2px solid #203252;
  margin: 1px;
  z-index: 500;
}

/*CONFIG PANELS*/
.panel-config + .panel-config {
  margin-top: 20px;
}

.panel .panel:last-of-type {
  margin-bottom: 5px;
}

.panel-config .list-group {
  margin-bottom: 0;
}

.panel-config .list-group-item {
  overflow: visible;
}

.panel-config .list-group-item.readonly {
  opacity: 0.5;
}

.panel-config .list-group-item.collapser {
  background: #f7f7f7;
  margin-left: -10px;
  margin-right: -10px;
  padding: 0 10px !important;
  overflow: hidden;
}

.panel-config .collapser .list-group-item-heading {
  color: #656d80;
  font-size: 16px !important;
  font-weight: 400;
}

.panel-config .collapser .row-content {
  /* display: inline!important; */
  float: left;
  width: auto !important;
}

.row-content.row-flex {
  display: flex !important;
  width: 100% !important;
}
.row-content.row-flex .value-content {
  position: static !important;
  margin-left: auto;
  margin-bottom: 10px;
}

.row-content.row-content-type-message.large-value.row-formula {
  padding: 0;
  width: 100% !important;
}

.row-formula .value-content.value-type-message {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #656d80 !important;
  font-weight: 400 !important;
  font-size: 13px !important;
}

.value-table-hash th {
  overflow: hidden;
  text-overflow: clip;
}

.row-formula .value-content.value-type-message b {
  color: #203252 !important;
}

.raised-value .value-content {
  -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.row-input.large-value input[readonly] {
  font-size: 12px !important;
  font-style: italic;
  margin-top: -3px !important;
  text-align: right !important;
}

.panel-config .collapser ~ * {
  opacity: 1;
  max-height: 1000px;
  transition: opacity 0.5s ease-in-out, max-height 0.3s linear;
  -webkit-transition: opacity 0.5s ease-in-out, max-height 0.3s linear;
}

.panel-config .collapser.open.opening ~ *,
.panel-config .collapser.open.closing ~ * {
  opacity: 0;
  max-height: 0px;
  overflow: hidden;
}

.panel-config .row-content + *,
.panel-config .row-content > * {
  z-index: 10;
  position: relative;
}

.row-content.row-content-dark:before {
  content: "";
  position: absolute;
  width: calc(100% + 20px);
  height: calc(100% - 1px);
  background: #F4F6F9;
  top: 0;
  left: -10px;
  margin: 0px;
  z-index: 0;
}

.panel-config .collapser .row-content + .info {
  /*padding: 17px 0 0px 0;*/
  padding: 22px 0 0px 0;
  color: #656d80;
  font-size: 12px;
  line-height: 16px;
  float: left;
  display: inline-block;
  margin-left: 10px;
  font-style: italic;
  width: auto;
  margin-top: 0;
}

.row-content.row-content-type-tuple th {
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px !important;
}

.row-content-type-tuple.left-aligned:not(.no-margin) {
  margin-bottom: 20px;
}

.row-content-type-tuple.left-aligned th {
  font-weight: 400;
}

.row-content-type-tuple.left-aligned th,
.row-content-type-tuple.left-aligned td {
  text-align: left !important;
  padding: 7px 0 !important;
  margin-bottom: 10px;
}

.panel-config .row-content-type-tuple.left-aligned .action-secondary {
  bottom: 20px;
  top: auto;
}

.panel-config .row-content-type-tuple.left-aligned.main-info .action-secondary {
  bottom: 5px;
}

.panel-config .collapser .row-content .action-secondary {
  right: 10px !important;
}

.panel-config .collapser .row-content .action-secondary .icon {
  color: #656d80 !important;
}

.fg .panel-config .collapser.light-icon .icon {
  color: #2e4877 !important;
}

.panel-config .list-group-item.hidden + hr {
  display: none;
}

.panel-config .list-group-item:not(.hidden) + hr.hidden ~ .list-group-item.hidden + hr {
  display: inherit;
}

.panel-config hr.separator-none {
  display: none;
}

.panel-config .panel-body {
  padding: 10px;
  padding-bottom: 0px;
  padding-top: 0px;
}
@media (max-width: 500px) {
  .panel-config .panel-body {
    padding: 0;
  }
}

.panel-caret {
  width: 100%;
  display: block;
  position: relative;
  font-size: 16px;
  font-weight: 400;
  color: #656d80;
}

.panel-caret:hover,
.panel-caret:focus,
.panel-caret:active {
  color: #656d80;
}

.panel-caret-edit {
  padding-right: 40px;
}

.panel-caret-edit .btn.btn-info.btn-edit {
  /*
  overflow: visible;
  height: 30px;
  width: 30px;
  padding: 0;
  margin-top: -5px;
  margin-right: -10px;
  */
  overflow: visible;
  height: 30px;
  width: 30px;
  padding: 0;
  position: absolute;
  right: -10px;
  top: -5px;
  border-radius: 4px;
}

.panel-caret-edit .btn-edit i {
  padding: 7px 2px;
  transform: rotate(0deg) translateX(-50%);
  -webkit-transform: rotate(0deg) translateX(-50%);
}

.panel-caret .icon {
  position: absolute;
  right: -10px;
  top: -2px;
  transform: rotate(180deg) translateX(-50%);
  -webkit-transform: rotate(180deg) translateX(-50%);
  transition: 0.5s ease-in-out transform;
  -webkit-transition: 0.5s ease-in-out -webkit-transform;
  transform-origin: 0% 50%;
  -webkit-transform-origin: 0% 50%;
}

.panel-caret.collapsed .icon {
  transform: rotate(0deg) translateX(-50%);
  -webkit-transform: rotate(0deg) translateX(-50%);
}

.hidden + .list-group-item-preheading {
  display: none;
}

.panel-config .list-group-item-preheading {
  color: #203252;
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 0;
  margin-top: 20px;
}

.communication-header b,
.panel-config .list-group .list-group-item .list-group-item-heading {
  font-size: 14px;
  line-height: 16px;
  color: #656d80;
  /*
  padding-top  : 9px;
  margin-bottom: 20px;
  */
  text-overflow: ellipsis;
  padding-top: 10px;
  margin-bottom: 15px;
}

.list-group-item-heading[data-len]:after {
  content: "(" attr(data-len) ")";
  font-size: 90%;
  opacity: 0.5;
  margin-left: 6px;
  vertical-align: 1px;
}

.panel-config .list-group .list-group-item.changed .list-group-item-heading {
  /*background: #CCC;*/
}

.panel.panel-config.changed .panel-heading span.panel-title:after,
.tab-content:not(.tab-create-competition):not(.tab-create-market) .panel-config .list-group .list-group-item.changed .btn-edit:before {
  content: "modifiche non salvate";
  font-size: 9px;
  background: #f7f7f7;
  padding: 2px 4px;
  line-height: 10px;
  border-radius: 5px;
  margin-left: 10px;
  vertical-align: middle;
  font-weight: 400;
  color: #2e4877;
  max-width: 72px;
  display: inline-block;
}

.panel.panel-config.changed .panel-heading span.panel-title:after {
  float: right;
  background: #FFF;
  text-transform: uppercase;
  margin-top: -2px;
}

.tab-content:not(.tab-create-competition) .panel-config .list-group .list-group-item .btn-edit.hidden {
  visibility: visible !important;
  display: inherit !important;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
}

.tab-content:not(.tab-create-competition) .panel-config .list-group .list-group-item .btn-edit.hidden .ico-edit {
  max-width: 0 !important;
  display: inline-block;
}

.panel-config .list-group .list-group-item .row-content {
  width: calc(100% - 182px);
  min-height: 50px;
}
.panel-config .list-group .list-group-item .row-content .btn-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 50%;
  aspect-ratio: 1;
  margin: -10px 10px;
}
.panel-config .list-group .list-group-item .row-content .btn-help .icon {
  line-height: 1;
}

.panel-config .list-group .list-group-item .row-content.row-content-type-html,
.panel-config .list-group .list-group-item .row-content.row-content-type-radio {
  width: 100%;
  padding-right: 0;
}

.panel-config .list-group .list-group-item .row-content.row-content-type-handlebars {
  /*
          width: calc(100% + 22px);
          margin: -11px;
          padding: 0;
              */
  width: calc(100% + 20px);
  margin-left: -10px;
  margin-right: -10px;
  padding: 0;
}

.panel-config .list-group .list-group-item .row-content.large-value {
  width: calc(100% - 250px);
}

.panel-config .list-group .list-group-item .row-content.extra-large-value {
  width: calc(100% - 380px);
}

/*
.panel-config .list-group .list-group-item.uneditable .row-content.large-value {
    width: 250px;
}
    */
.panel-config .list-group .list-group-item .row-content:not(.row-clear) .value-content {
  position: absolute;
  right: 86px;
  top: 16px;
  font-size: 14px;
  width: 72px;
  font-weight: 700;
  color: #203252;
  /*text-transform: lowercase;*/
}

.panel-config .list-group .list-group-item .row-content:not(.row-clear) .value-content.value-type-bool {
  text-transform: uppercase;
}

.panel-config .list-group .list-group-item .row-content:not(.row-clear) .value-content .none {
  font-style: italic;
  color: #c0c0c0;
  font-weight: 400;
}

.panel-config .list-group .list-group-item .row-content.large-value .value-content {
  width: 150px;
}

.panel-config .list-group .list-group-item.uneditable .row-content.large-value .value-content {
  /*width: 250px;*/
  width: 236px;
  right: 0;
}

.panel-config .list-group .list-group-item .row-content.extra-large-value .value-content {
  width: 250px;
}

.panel-config .list-group .list-group-item.uneditable .row-content.extra-large-value .value-content {
  width: 350px;
  right: 0;
}

@media (max-width: 640px) {
  .range {
    zoom: 0.75;
    -moz-transform: scale(0.75);
    /* Firefox */
  }
}
/*@media (max-width:700px) {*/
@media (max-width: 767px) {
  .panel-config .list-group .list-group-item .row-content.large-value {
    width: calc(100% - 180px);
  }
  .panel-config .list-group .list-group-item.uneditable .row-content.large-value .value-content {
    width: 150px;
  }
  .panel-config .row-content.row-content-type-tuple {
    width: 100% !important;
  }
  .panel-config .list-group .list-group-item.uneditable .row-content.large-value + .info {
    width: calc(100% - 180px);
  }
  .panel-config .collapser .row-content {
    display: block !important;
    float: none !important;
  }
  .panel-config .collapser .row-content + .info {
    padding: 0;
    margin-left: 0;
    margin-bottom: 10px;
    line-height: 12px;
    margin-top: -20px;
  }
}
@media (max-width: 500px) {
  .panel-config .list-group .list-group-item .row-content.large-value .value-content.value-type-select,
  .panel-config .list-group .list-group-item .row-content.row-content-type-select ~ .info {
    width: 100% !important;
  }
  .panel-config .list-group .list-group-item .row-content.large-value {
    width: calc(100% - 100px);
  }
  .panel-config .list-group .list-group-item.uneditable .row-content.large-value .value-content {
    width: 80px;
  }
  .panel-config .value-content a.customize {
    width: 49px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    float: right;
    font-size: 10px !important;
    height: 20px;
  }
}
.editable-content .action-secondary {
  /*position: absolute;*/
  float: right;
  position: static;
}

.editable-content h5 {
  display: inline-block;
}

.btn.btn-info.btn-dark i {
  vertical-align: -5px;
}

.btn.btn-info.btn-dark i,
.btn.btn-info.btn-dark {
  color: #336699 !important;
}

.btn.btn-info.btn-remove i,
.btn.btn-info.btn-edit i,
.editable-content .action-secondary i {
  font-size: 20px;
  color: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.btn.btn-info.btn-remove,
.btn.btn-info.btn-edit,
.editable-content .action-secondary .btn,
.panel-config .list-group .list-group-item .row-content .action-secondary .btn {
  margin: 0;
  width: auto;
  padding: 8px;
  line-height: 12px;
  margin-top: -8px;
}

.editable-content .action-secondary .btn {
  margin-top: 0;
  margin-bottom: 8px;
}

.btn.btn-info.btn-remove,
.btn.btn-info.btn-edit {
  margin-top: 0;
  margin-bottom: 0px;
}

.btn.btn-info.btn-remove .btn-label,
.btn.btn-info.btn-edit .btn-label {
  color: #2e4877;
  text-decoration: underline;
  display: inline-block;
  vertical-align: 3px;
}

.editable-content .action-secondary,
.panel-config .list-group .list-group-item .row-content .action-secondary {
  right: 0;
}

.btn.btn-info.btn-remove .icon,
.btn.btn-info.btn-edit .icon,
.editable-content .action-secondary .btn-info .icon,
.panel-config .list-group .list-group-item .row-content .action-secondary .btn-info .icon {
  color: #2e4877;
}

.panel-config .btn.btn-info.btn-edit-dark .btn-label,
.panel-config .btn.btn-info.btn-edit-dark .icon {
  color: #203252;
}

.value-content.value-type-FM {
  font-size: 20px !important;
  white-space: nowrap;
}

.value-content.value-type-FM:after {
  content: "fM";
}

.value-content.value-type-handlebars,
.value-content.value-type-groups,
.value-content.value-type-ordered-list,
.value-content.value-type-radio,
.value-content.value-type-grid,
.value-content.value-type-list.value-type-list,
.value-content.value-type-hash,
.value-content.value-type-ranges,
.value-content.value-type-tuple {
  position: static !important;
  width: 100% !important;
  display: block;
}

.value-type-text:first-letter,
.value-type-bool:first-letter {
  text-transform: capitalize;
}

.value-content.value-type-text > a {
  font-size: 80%;
  text-decoration: underline;
  color: inherit;
}

.value-content.value-type-text > a.customize {
  color: #333 !important;
  font-style: italic;
}

.value-content .val-ex {
  font-weight: 400;
  font-style: italic;
  color: #656d80;
  margin: 0 10px;
}

.value-content .val-goals {
  color: #656d80;
}

.value-content.value-type-text > span + a {
  margin-left: 10px;
}

.value-content.value-type-text > a:hover {
  opacity: 0.5;
}

.value-table-tuple td small {
  display: block;
}

.value-content.value-type-groups .group-name:not(:first-child) {
  margin-top: 30px;
}

.value-content.value-type-ranges {
  width: calc(100% + 70px) !important;
  background: #f7f7f7;
  padding: 20px;
  margin-top: 15px;
  margin-bottom: 10px;
  padding: 10px 0;
  margin-left: -10px;
}

.row-content-type-message,
.row-content-type-grid,
.row-content-type-list,
.row-content-type-hash,
.row-content-type-ranges,
.row-content-type-tuple {
  width: calc(100% - 50px) !important;
}

.uneditable .row-content-type-tuple {
  width: 100% !important;
}

.row-content-type-html .list-group-item-heading,
.row-content-type-html .list-group-item-text,
.row-content-type-html .action-secondary {
  display: none;
}

.row-content-type-html .value-content.value-type-html {
  right: auto;
  left: 0;
  width: 100% !important;
}

.row-content + .info {
  padding: 0px 0 30px 0;
  color: #656d80;
  font-size: 12px;
  line-height: 16px;
  width: calc(100% - 120px);
  margin-top: -5px;
  font-style: italic;
}

.row-content.row-content-type-ranges + .info {
  width: 100%;
}

.row-content + .info.mt-10 {
  margin-top: 10px;
}

.row-content + .info a {
  color: #203252;
  text-decoration: underline;
}

.row-content + .info a:active,
.row-content + .info a:hover {
  color: #203252;
  text-decoration: underline;
}

.edit-modal .edit-modal-row.row-select .control-label {
  /*
  width: 100%;    
  margin-bottom: 15px !important;
  margin-top: 0;
  */
  width: 100%;
  margin-bottom: 5px !important;
  margin-top: 0;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
}

/*
.row-content-type-tuple .action-secondary {
    top: auto!important;
    bottom: 12px;
}
*/
.panel-settings.uneditable .action-secondary {
  display: none;
}

.panel-settings .panel-footer > p.action-info {
  color: #A0A0A0;
  font-size: 12px;
  text-align: left;
  margin: 0 !important;
  flex: 1;
  align-self: center;
  font-style: italic;
}

.edit-modal .form-group.advanced-option,
.edit-modal .form-group.collapser {
  padding-bottom: 10px !important;
  padding-top: 5px !important;
  white-space: nowrap;
}

.edit-modal .form-group.advanced-option {
  padding-bottom: 10px !important;
  padding-top: 10px !important;
}

.edit-modal .form-group.advanced-option label.control-label {
  white-space: normal;
  padding-top: 5px;
}

.edit-modal .form-group.advanced-option label.control-label em {
  display: inline-block;
}

.edit-modal .form-group.collapser input {
  display: none;
}

.edit-modal .form-group.collapser .collapser-toggle:after {
  position: absolute;
  right: 10px;
  top: 8px;
  content: "2" !important;
  font-family: "fg-icons" !important;
  z-index: 0;
  color: #203252;
  transition: 0.5s ease-in-out transform;
  -webkit-transition: 0.5s ease-in-out -webkit-transform;
}

.edit-modal .form-group.collapser input:checked ~ .collapser-toggle:after {
  transform: rotate(180deg);
}

.edit-modal .form-group.advanced-option label.control-label,
.edit-modal .form-group.collapser label.control-label {
  color: #203252;
  font-weight: bold;
  position: relative;
  z-index: 10;
}

.edit-modal .form-group.collapser label.control-label {
  width: 100% !important;
  cursor: pointer;
}

.edit-modal .form-group.collapser .input-group {
  display: none;
}

.value-content.value-type-hash > table,
.value-content.value-type-tuple > table {
  width: 100%;
  table-layout: fixed;
}

.value-content.value-type-hash > table td,
.value-content.value-type-hash > table th,
.value-content.value-type-tuple > table td,
.value-content.value-type-tuple > table th {
  border-right: 15px solid transparent;
}

.value-content.value-type-grid > table th,
.value-content.value-type-grid > table td,
.value-content.value-type-hash > table th,
.value-content.value-type-hash > table td,
.value-content.value-type-tuple > table th,
.value-content.value-type-tuple > table td {
  width: 100%;
  text-align: center !important;
  padding: 20px;
  text-transform: none;
}

.value-content.value-type-grid > table th,
.value-content.value-type-grid > table td {
  padding: 5px;
}

.value-content.value-type-grid .grid-row-data {
  padding: 5px 20px;
}

.value-table-grid {
  table-layout: fixed;
  width: 100%;
  margin-bottom: 20px;
}

.value-content.value-type-grid > table th,
.value-content.value-type-hash > table th,
.value-content.value-type-tuple > table th {
  color: #656d80;
  padding: 10px;
}

.row-full-content .value-content,
.value-content.value-type-list,
.value-content.value-type-attachment,
.value-content.value-type-editable,
.value-content.value-type-message {
  display: block;
  position: static !important;
  width: calc(100% - 85px) !important;
  padding-bottom: 20px;
  padding-top: 10px;
}

@media (max-width: 544px) {
  .value-type-list > span {
    display: block;
  }
  .value-type-list > span.separator {
    display: none;
  }
}
.value-content.value-type-editable em,
.value-content.value-type-message em {
  color: #333;
  font-weight: 400;
}

.value-content.value-type-attachment,
.value-content.value-type-editable,
.row-content-type-editable {
  width: 100% !important;
}

.value-content.value-type-attachment .editable-field,
.value-content.value-type-editable .editable-field {
  width: 100%;
  border: 1px solid #ebf0f7;
  padding: 8px;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 20px;
  border-radius: 4px;
}

.row-content-type-list .action-secondary,
.row-content-type-editable .action-secondary,
.row-content-type-message .action-secondary {
  top: auto !important;
  bottom: 12px;
}

.value-content.value-type-grid .grid-row-label {
  text-align: left !important;
  text-transform: uppercase;
  color: #656d80;
  font-size: 12px;
  font-weight: 400;
}

/* EDIT MODAL */
.edit-modal .form-horizontal .control-label {
  margin: 0 !important;
  text-transform: none;
  width: 65%;
  padding-right: 10px;
  text-align: left;
}

.edit-modal .form-horizontal .form-group-combo .control-label {
  width: 50%;
}

.edit-modal .form-horizontal .groups-list .control-label,
.edit-modal .form-horizontal .row-multiselect .control-label {
  width: 100%;
}

.edit-modal .form-horizontal .large-label .control-label {
  width: 100%;
  padding-bottom: 12px;
}

.edit-modal .form-horizontal .form-group.is-focused .input-group .form-control,
.edit-modal .form-horizontal .form-group .input-group .form-control {
  margin-top: 0;
  text-align: right;
  padding: 0px 5px 0 5px;
  font-size: 16px;
  font-weight: 700;
}

.edit-modal .form-inline .form-group .input-group .form-control + .input-group-addon,
.edit-modal .form-horizontal .form-group .input-group .form-control + .input-group-addon {
  border: 1px solid #e6e6e6;
  border-left: 0;
  color: #656d80;
  font-weight: bold;
  /*font-size     : 16px;*/
  font-size: 12px;
  padding: 0 10px 0 10px;
  line-height: 26px;
  background-color: #f2f2f2 !important;
  border-radius: 0 4px 4px 0px !important;
  left: 0px;
  position: relative;
  z-index: 10;
}

.edit-modal .form-inline .form-group.is-focused input.form-control,
.edit-modal .form-inline .form-group input.form-control {
  margin-top: 0;
}

.form-inline .input-clear {
  padding-bottom: 7px !important;
  border-color: transparent !important;
  background: none !important;
}

.right-border {
  border-right: 1px solid #CCC;
}

.form-inline .input-group span.form-control {
  color: #656d80;
  font-size: 12px;
  font-weight: 400;
  background: none;
  border-radius: 4px;
  padding-top: 4px;
  padding-bottom: 4px;
  height: 28px;
}

@media (min-width: 768px) {
  .form-inline .form-group-sm .input-group input.form-control,
  .form-inline .input-group input.form-control.input-sm {
    width: 32px !important;
    padding: 0 8px !important;
  }
  .form-inline .input-group input.form-control.input-md {
    width: 128px !important;
    padding-top: 2px;
  }
  .form-inline .input-group input.form-control.input-sm + .input-group-addon {
    font-size: 12px !important;
    padding: 0 4px !important;
  }
}
.input-group.input-group-multiline {
  width: 100%;
  min-height: 25px;
}

.form-inline .form-group {
  margin: 10px 0 0 0;
}

@media (max-width: 500px) {
  .form-inline .form-group {
    padding: 5px 2px;
    margin-top: 0px;
  }
  .form-inline .form-group .input-group {
    width: 100%;
  }
}
.form-inline .form-group label.control-label {
  margin: 0px 0 0 0;
}

.edit-modal .form-horizontal .input-group {
  float: right;
  width: 30% !important;
}

.edit-modal .form-horizontal .form-group-combo .input-group {
  width: 50% !important;
}

.edit-modal .form-horizontal .form-group-combo .input-group > select,
.edit-modal .form-horizontal .form-group-combo .input-group > input {
  width: calc(50% - 5px);
}

.edit-modal .form-horizontal .form-group-combo .input-group > select {
  float: left;
}

.edit-modal .form-horizontal .form-group-combo .input-group > input {
  float: right;
}

.edit-modal .form-horizontal .form-group.large-value .input-group {
  width: 100% !important;
  margin-top: 6px;
  margin-bottom: 10px;
}

.edit-modal .large-value input {
  text-align: left !important;
}

.edit-modal .form-horizontal .edit-modal-row:first-child {
  padding-top: 20px;
}

.edit-modal .form-horizontal .edit-modal-row + .edit-modal-row {
  /*padding-top: 20px;*/
  padding-top: 20px;
  /*margin-bottom:50px;*/
}

.edit-modal .form-horizontal .edit-modal-row + .edit-modal-row.row-accordion {
  padding-top: 1px;
}

.row-accordion + .edit-modal-row {
  border-bottom: 1px solid #dedede;
}

.edit-modal .form-horizontal .edit-modal-row.separator-none:not(.hidden) + .edit-modal-row {
  padding-top: 0px;
}

.edit-modal .form-horizontal .edit-modal-row.separator-none + .edit-modal-row:not(.separator-none) .control-label {
  /*font-weight: 400;*/
}

.edit-modal .input-group-suffix {
  text-align: right;
  float: right;
  padding: 0 6px;
}

.edit-modal-row .header {
  background: #ebebeb;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #203252;
  font-weight: bold;
}

.edit-modal .form-horizontal .edit-modal-row:first-child .header {
  margin-top: -20px;
  margin-bottom: 10px;
}

.edit-modal .edit-modal-row:first-child .header {
  margin-top: -15px;
  margin-bottom: 20px;
}

.edit-modal-row .header.large-header {
  font-size: 20px;
  font-weight: 700;
  padding: 15px 20px;
}

.edit-modal-row .header .btn-help {
  font-size: 24px;
  margin: -8px;
  line-height: 32px;
  float: right;
}

.edit-modal-row .header .btn-help i {
  line-height: 20px;
  margin: 4px;
  color: #767D82;
}

/* TUPLE & DATA RANGE*/
.row-time-range .form-group > label,
.row-tuple .form-group > label {
  width: 100% !important;
  padding-bottom: 10px;
}

.clock-range .row label.control-label {
  display: none;
}

.form-group-touple .input-group-addon {
  height: 32px;
}

.edit-modal .form-group-touple .input-group {
  width: 80px !important;
  float: left !important;
}

.form-group-touple .input-group + .input-group {
  margin-left: 10px;
}

#editModal .form-horizontal .edit-modal-row .form-group-touple .form-control {
  text-align: center;
}

/* RANGES */
.range {
  display: flex;
  display: -webkit-flex;
  width: 100%;
  padding: 0 !important;
  height: auto;
  justify-content: center;
  -webkit-justify-content: center;
}
.range:not(:last-child) {
  margin-bottom: 20px;
}

.form-group .range-info {
  font-size: 16px;
  font-weight: 700;
  color: #656d80;
  text-align: center !important;
  text-align: left !important;
  padding: 0 15px;
  font-size: 12px;
  font-weight: 400;
  padding-bottom: 15px;
}

.range-input {
  width: 40px;
  text-align: center;
  color: #656d80;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid #CAD1DB;
  height: 29px;
  border-radius: 1px;
}

.range-col {
  width: 1;
  text-align: center;
  flex: 1;
  -webkit-flex: 1;
  max-width: 240px;
}

.range-col-subheader {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  margin-bottom: 10px;
  padding: 0 20px;
}

.range-col-subheader-label {
  display: block;
  height: 20px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
  color: #656d80;
  text-align: center;
  font-style: italic;
  flex-basis: 100%;
}

.range-tuple-name {
  display: inline-block;
  height: 20px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 400;
  color: #656d80;
  text-align: center;
  font-style: italic;
  flex: 1;
  -webkit-flex: 1;
  border: 1px solid transparent;
  width: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.edit-modal-row .range-col-subheader-label {
  font-size: 12px;
}

.edit-modal-row .range-tuple-name {
  font-size: 10px;
}

.range-cell {
  height: 28px;
  padding: 0 15px;
}

/*
    .show-lower .range-cell.hidden {
        visibility: visible !important;
        display: block !important;
    }
    */
.range-col-type-labels:not(.hide-first) .range-cell.first:before {
  content: "<=";
}

.range-col-type-labels:not(.hide-last) .range-cell.last:before {
  content: ">=";
}

.range-col-type-input .range-cell-divider,
.range-col-type-labels .range-cell-divider {
  width: 200%;
  text-align: left;
  border-bottom: 1px solid #CCC;
  padding-bottom: 2px;
  display: block;
  margin-bottom: 10px;
  margin-top: 10px;
}

.edit-modal-row .range-cell-divider {
  background: #D1D1D1;
  color: #1B2C44;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 20px;
  text-transform: uppercase;
  margin-top: 10px;
}

.edit-modal-row.toggle-picker {
  position: absolute;
  bottom: 0;
  z-index: -1;
  height: 100%;
  padding-bottom: 50px;
  padding-top: 20px !important;
  overflow: hidden;
  transition: z-index 0.3s ease-in-out;
  -webkit-transition: z-index 0.3s ease-in-out;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.toggle-picker .form-group:before {
  content: "W";
  position: absolute;
  right: 17px;
  top: 5px;
  font-family: "fg-leghe";
  color: #656565;
  cursor: pointer;
  /* background: #CCC; */
  padding: 10px;
  width: 20px;
  height: 20px;
  line-height: 12px;
}

.edit-modal-row.toggle-picker.active {
  z-index: 200;
  transition: z-index 0.3s ease-in-out;
  -webkit-transition: z-index 0.3s ease-in-out;
}

.toggle-picker:before {
  content: "";
  background: #000;
  position: absolute;
  display: block;
  top: 30px;
  left: 0;
  width: 100%;
  height: calc(100% - 26px);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  -webkit-transition: opacity 0.3s ease-in-out;
}

.toggle-picker.active:before {
  opacity: 0.5;
}

#editModal .edit-modal-row.toggle-picker > .form-group {
  transition: max-height 0.3s ease-in-out !important;
  -webkit-transition: max-height 0.3s ease-in-out !important;
  max-height: 0;
  overflow: hidden;
  background: #EEE;
  border-top: 1px solid #CCC;
  padding-top: 10px;
}

#editModal .edit-modal-row.toggle-picker.active > .form-group {
  max-height: 100%;
}

.range-col-type-input .range-cell-divider {
  visibility: hidden;
}

.range-cell.new-one {
  display: none !important;
}

.range-cell.range-cell-tuple {
  display: flex;
  padding: 0 20px;
  justify-content: space-around;
}

.range-cell .range-lower:before {
  content: " >= ";
  color: #203252;
}

.range-cell .range-upper:before {
  content: "< ";
  color: #203252;
}

.integer-ranges ~ .range-cell:not(.viewport-last) .range-lower {
  display: none;
}

.integer-ranges ~ .range-cell.hidden + .range-cell .range-upper:before {
  content: "<= ";
}

.integer-ranges ~ .range-cell:not(.hidden) + .range-cell:not(.viewport-last) .range-upper:before {
  display: none;
}

.integer-ranges ~ .range-cell.viewport-last .range-lower {
  display: none;
}

.integer-ranges ~ .range-cell.viewport-last .range-lower {
  display: none;
}

.integer-ranges ~ .range-cell.viewport-last .range-upper {
  display: inherit !important;
}

.integer-ranges ~ .range-cell.viewport-last .range-upper:before {
  content: " >= " !important;
}

.range-label.range-tuple-name,
.range-label.range-tuple-val {
  flex: 1;
  -webkit-flex: 1;
  text-align: center;
}

.range-label .max-val {
  text-align: right;
  width: 60px;
  display: inline-block;
}

.range-label .min-val {
  text-align: left;
  width: 60px;
  display: inline-block;
  float: left;
}

.range-label .ranged {
  text-align: right;
  display: inline-block;
  width: 60%;
  padding-right: 10px;
  white-space: nowrap;
}

.range-cell:last-of-type .ranged span:before {
  content: ">= ";
  color: #203252;
  font-size: 90%;
}

.range-cell:last-of-type .ranged {
  text-align: right;
}

.range-col-header + .range-cell .ranged {
  text-align: left;
}

.range-col-header + .range-cell .ranged span:before {
  content: "< ";
  color: #203252;
  font-size: 90%;
}

.range-cell.viewport-last b:last-of-type,
.range-col-header + .range-cell:not(.hidden) b:first-of-type,
.range-cell.hidden + .range-cell:not(.hidden) b:first-of-type {
  display: none;
}

.range-col + .range-col .range-cell {
  flex-grow: 2;
  -webkit-flex-grow: 2;
  position: relative;
}

.range-caption {
  color: #656d80;
  font-size: 13px;
  font-style: italic;
  padding-top: 10px;
  display: inline-block;
  font-weight: 400;
}

/*
.range-col + .range-col .range-cell:before {
    content: "";
    height: 100%;
    width: 1px;
    background: #CCC;
    position: absolute;
    left: 0;
    top: 50%;
}
    */
.range-col + .range-col .range-cell:not(.hidden):not(.new-one) + .range-cell:before {
  content: "";
  height: 100%;
  width: 1px;
  background: #CCC;
  position: absolute;
  left: 0;
  top: -50%;
}

.ranges-inflate .range-col + .range-col .range-cell:not(.hidden):not(.new-one) + .range-cell:before {
  left: -35px;
}

.ranges-inflate .range-col {
  max-width: initial;
}

.range-col + .range-col .range-cell:after {
  content: "";
  height: 1px;
  width: 16px;
  background: #CCC;
  position: absolute;
  left: -7px;
  top: 13px;
}

/*
.range-col + .range-col .range-caption:before,
.range-col + .range-col .range-cell:last-of-type:before {
    display: none!important;
}
    */
.range-label {
  font-size: 16px;
  font-weight: 700;
  color: #656d80;
  line-height: 30px;
  white-space: nowrap;
}

.range-col-header {
  font-size: 12px;
  color: #656d80;
  font-weight: 700;
  width: auto;
  position: relative;
  margin-bottom: 20px;
}

.range-col-header.large-header {
  height: 60px;
  vertical-align: bottom;
  display: flex;
  justify-content: center;
  display: -webkit-flex;
  -webkit-justify-content: center;
}

.range-col-header:before {
  content: attr(data-header);
  position: absolute;
  right: 100%;
  transform: translate(50%, -50%);
  -webkit-transform: translate(50%, -50%);
  top: 50%;
  z-index: 10;
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
  /*max-width      : 25%;*/
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  /* height        : 142%; */
  display: inline-block;
  line-height: 12px;
  min-width: 33.3333333333%;
}

.range-col-header > span {
  color: #656d80;
  font-weight: 700;
  background-color: #ebebeb;
  padding: 2px 8px;
  border-radius: 14px;
  white-space: nowrap;
  position: relative;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: normal;
  font-size: 11px;
  line-height: 12px;
  border-radius: 4px;
  /* min-width    : calc(100% - 60px); */
  min-width: 50%;
  min-height: 32px;
  max-width: calc(100% - 100px);
  width: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.large-headers .range-col-header > span {
  max-width: initial;
}

.range-col-header > span:empty {
  display: none;
}

@media (max-width: 640px) {
  .range {
    zoom: 0.75;
    -moz-transform: scale(0.75);
    /* Firefox */
  }
}
@media (max-width: 500px) {
  .row-content:not(.row-content-type-radio) h5.list-group-item-heading {
    margin-bottom: 0 !important;
  }
  .range {
    /*zoom: 0.5;*/
    zoom: 0.7;
    -moz-transform: scale(0.7);
    /* Firefox */
  }
  .panel-config .row-content:not(.row-content-type-handlebars) {
    width: 100% !important;
    padding-right: 40px;
  }
  .row-content.row-content-type-ranges {
    padding-right: 0px;
  }
  .panel-config .list-group .list-group-item.uneditable .row-content.large-value + .info .row-content + .info {
    width: 100%;
  }
  .panel-config .list-group .list-group-item.uneditable .row-content.large-value + .info,
  .panel-config .row-content .value-content.value-type-message,
  .panel-config .row-content .value-content.value-type-ranges {
    width: 100% !important;
  }
  .panel-config .row-content .value-content.value-type-tuple {
    width: calc(100% + 30px) !important;
  }
  .panel-config .value-content {
    display: block;
    position: relative !important;
    margin-bottom: 20px;
    z-index: 100;
    top: auto !important;
    left: auto !important;
    margin-left: 0 !important;
    right: auto !important;
  }
}
/* BONUS/MALUS */
#editModal .form-group.bonus-malus-table {
  padding-top: 5px;
  padding-bottom: 10px !important;
  border-bottom: 0;
  margin-bottom: 0 !important;
}
#editModal .form-group.bonus-malus-table:nth-child(2n+1) {
  background-color: rgba(255, 255, 255, 0.5);
}
#editModal .form-group.bonus-malus-table > label {
  width: 50%;
}
#editModal .form-group.bonus-malus-table .same-for-all {
  position: absolute;
  bottom: -5px;
  transform: scale(0.8);
  transform-origin: left;
}
#editModal .form-group.bonus-malus-table:not(:hover) .same-for-all {
  opacity: 0.5;
}

[data-key] .bonusmalus-icon:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/ico_ball_blue.png);
  background-position: 50% 50% !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  vertical-align: middle;
  float: left;
  margin-right: 8px;
}

[data-key=man_of_the_match] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/mom_s.png);
}

[data-key=gol_segnato] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/golFatto_s.png);
}

[data-key=gol_subito] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/golSubito_s.png);
}

[data-key=rigore_segnato] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/rigoreSegnato_s.png);
}

[data-key=rigore_sbagliato] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/rigoreSbagliato_s.png);
}

[data-key=rigore_parato] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/rigoreParato_s.png);
}

[data-key=ammonizione] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/ammonito_s.png);
}

[data-key=espulsione] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/espulso_s.png);
}

[data-key=assist] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/assist_s.png);
}

[data-key=assist_inv] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/ultimoPassaggio_s.png);
}

[data-key=assist_soft] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/assistSoft_s.png);
}

[data-key=assist_gold] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/assistGold_s.png);
}

[data-key=autogol] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/autogol_s.png);
}

[data-key=gol_decisivo_pareggio] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/golPareggio_s.png);
}

[data-key=gol_decisivo_vittoria] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/golVittoria_s.png);
}

[data-key=portiere_imbattuto] .bonusmalus-icon:before {
  background: url(https://content.fantacalcio.it/web/img/live_ico/2021/portiereImbattuto_s.png);
}

[data-key=assist_inv] .bonusmalus-icon,
[data-key=assist_gold] .bonusmalus-icon,
[data-key=assist_soft] .bonusmalus-icon {
  font-size: 0 !important;
}

[data-key=assist_inv] .bonusmalus-icon:after {
  content: "Contributo al gol";
  font-size: 12px;
}

[data-key=assist_soft] .bonusmalus-icon:after {
  content: "Assist Soft";
  font-size: 12px;
}

[data-key=assist_gold] .bonusmalus-icon:after {
  content: "Assist Gold";
  font-size: 12px;
}

.bonus-malus-table[data-row-key=assist_level],
.bonus-malus-table[data-row-key=tipo_assist],
[data-field-key=bonus_malus] tr[data-key=assist_level],
[data-field-key=bonus_malus] tr[data-key=tipo_assist] {
  display: none;
}

.euro-leagues [data-key=assist] .bonusmalus-icon:after {
  content: "Assist";
}

/*
[data-key] .bonusmalus-icon:before {
    content: "*";
}

[data-key=portiere_imbattuto] .bonusmalus-icon:before {
    visibility: hidden;
}
*/
.grid-headers-collapsed .grid-headers th {
  height: 0 !important;
  padding: 0 !important;
}

.grid-headers-collapsed .grid-headers th > * {
  display: none;
}

.panel-mantra [data-key=portiere_imbattuto],
.modal-mantra [data-row-key=portiere_imbattuto] {
  /* display: none;*/
}

.header-group-item > span[data-key],
.grid-sub-headers th[data-key] {
  font-family: var(--font-condensed);
  font-size: 12px;
  position: relative;
}

.header-group-item > span[data-key]:not(:empty):before,
.grid-sub-headers th[data-key]:not(:empty):before {
  content: attr(data-key);
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  border-radius: 50%;
  color: #FFF;
  line-height: 24px;
}

.header-group-item > span[data-key]:not(:empty):before {
  font-size: 11px;
}

[data-key=Por]:before,
[data-key=P]:before {
  background-color: #f8ab29;
}

[data-key=Gm]:before,
[data-key=D]:before {
  background-color: #63c623;
}

[data-key=C]:before {
  background-color: #203252;
}

[data-key=A]:before {
  background-color: #f21a3c;
}

.header-group-item > span[data-key=LOW],
.header-group-item > span[data-key=MEDIUM],
.header-group-item > span[data-key=HIGH],
th[data-key=LOW],
th[data-key=MEDIUM],
th[data-key=HIGH] {
  font-size: 0px;
  min-height: 40px;
}

.header-group-item > span[data-key=LOW],
.header-group-item > span[data-key=MEDIUM],
.header-group-item > span[data-key=HIGH] {
  display: inline-block;
}

[data-key=LOW]:before,
[data-key=MEDIUM]:before,
[data-key=HIGH]:before {
  width: calc(100% - 10px) !important;
  border-radius: 5px !important;
  height: auto !important;
  line-height: 16px !important;
  padding: 4px;
  height: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  min-width: 45px;
}

[data-key=LOW]:before {
  background-color: #ffc107;
}

[data-key=MEDIUM]:before {
  background-color: #8bc34a;
}

[data-key=HIGH]:before {
  background-color: #ff5722;
}

.value-content.value-type-grid > table .grid-headers th {
  padding: 5px;
}

.value-content.value-type-grid > table .grid-headers th:nth-child(2) {
  padding-left: 20px;
  padding-right: 20px;
}

.grid-headers th > span {
  background: #f2f2f2;
  width: 100%;
  display: inline-flex;
  height: 24px;
  line-height: 20px;
  border-radius: 4px;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  .grid-headers th > span {
    font-size: 10px;
  }
  .panel-config .panel-heading > [data-toggle=collapse] {
    pointer-events: none;
  }
  .panel-config .panel-heading > [data-toggle=collapse] .icon {
    display: none;
  }
}
.grid-headers th > span:empty {
  visibility: hidden;
}

.edit-modal .input-group.grid-values-line {
  display: flex;
  display: -webkit-flex;
  width: 50% !important;
}

.edit-modal .input-group.grid-values-line > input {
  min-width: 20px;
  font-size: 14px !important;
  margin-left: -1px;
  text-align: center !important;
}

.edit-modal .input-group.grid-values-line > input[readonly] {
  background: #F0F0F0;
}

.edit-modal .row-grid label.control-label {
  width: 100%;
  padding: 0;
}

.edit-modal .row-grid label.control-label.same-for-all-removed,
.edit-modal .row-grid .form-group[data-values-count="1"] label.control-label {
  width: 50%;
}

.edit-modal .row-grid .form-group[data-values-count="1"] input.form-control {
  width: 45px;
}

.row-grid label.control-label > span {
  color: #656d80;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 12px;
  display: inline-block;
  line-height: 30px;
  padding: 0;
}

.edit-modal .row-grid .same-for-all {
  display: block;
  float: left;
  width: 40%;
  text-align: left;
  padding-top: 0px;
  line-height: 26px;
  padding-left: 4px;
}

.edit-modal .row-grid .same-for-all label {
  font-size: 12px;
  color: #656d80;
  font-style: italic;
}

.edit-modal .row-grid .same-for-all .check {
  height: 14px !important;
  width: 14px !important;
  color: #656d80 !important;
  border-color: #656d80 !important;
}

.edit-modal .row-grid .same-for-all .check:before {
  color: #656d80 !important;
  margin-top: -7px;
  margin-left: 3px;
}

.edit-modal .row-grid .same-for-all .checkbox-material {
  top: 1px;
  margin-right: 4px;
}

.edit-modal .row-grid .same-for-all .checkbox-material:before {
  left: -1px;
  height: 16px;
  width: 16px;
  top: -2px;
}

.edit-modal .row-grid .form-group {
  border-bottom: 1px solid #dedede;
  padding-bottom: 20px !important;
  margin-bottom: 10px !important;
  padding-top: 10px;
}

.edit-modal .row-grid .form-group:last-of-type {
  border-bottom: none;
}

.header-group {
  display: flex;
  display: -webkit-flex;
}

.header-group-item:first-of-type {
  width: 50%;
  flex-grow: 0;
  -webkit-flex-grow: 0;
}

.header-group-item:first-of-type > span {
  display: block;
  width: calc(100% - 20px);
}

.header-group-item:first-of-type > span:before {
  background-color: #ebebeb;
  width: 100% !important;
  border-radius: 4px !important;
  color: #656d80 !important;
  font-size: 12px;
  text-transform: uppercase;
  font-family: var(--font-default);
  font-weight: bold;
  margin: 1px 0;
}

.header-group-item {
  display: inline-block;
  width: 37px;
  text-align: center;
  flex-grow: 1;
  /* float  : right; */
}

/* COUNTER */
.edit-modal .form-control[data-control=counter] {
  text-align: center !important;
  height: 28px !important;
}

.fg .control-counter.input-disabled[readonly] {
  background: #FFF !important;
  border: 1px solid #CCC !important;
}

.edit-modal .form-horizontal .form-group .input-group .form-control + .input-group-addon.counter-next,
.edit-modal .form-group .input-group-addon.counter-prev {
  background: #203252 !important;
  color: #FFF;
  border-color: #203252;
  font-weight: bold;
}

.edit-modal .form-horizontal .form-group .input-group .form-control + .input-group-addon.counter-next {
  border-radius: 0 4px 4px 0 !important;
  cursor: pointer;
}

.edit-modal .form-group .input-group-addon.counter-prev {
  border-radius: 4px 0 0 4px;
  cursor: pointer;
}

.ranges-goal [data-key=puntiTot] .range-col-header + .range-cell span {
  font-weight: 400;
  font-style: italic;
}

.ranges-goal [data-key=puntiTot] .range-cell + .range-cell span {
  color: #203252;
}

.ranges-inflate {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
}

.range-col.range-col-small {
  max-width: 52px !important;
}

.range-col.range-col-medium {
  max-width: 82px !important;
}

.range-col.match-col .range-cell {
  padding: 0 !important;
}

.range-col.text-center .range-cell {
  text-align: center !important;
}

.ranges-inflate .range-col-type-input {
  padding-left: 70px;
}

.ranges-inflate .range-col-header:before {
  right: calc(100% + 35px);
  width: 100px;
}

.ranges-inflate .range-col-header > span {
  max-width: none;
}

.ranges-inflate .range-col + .range-col .range-cell + .range-cell:before {
  left: -35px;
}

.ranges-inflate .range-col + .range-col .range-cell:after {
  left: -43px;
}

.ranges-inflate .range-col-type-input .range-cell-divider,
.ranges-inflate .range-col-type-labels .range-cell-divider {
  width: calc(200% + 70px);
}

/* CREATE COMPETITION */
.form-group .well.flex-row {
  border: none;
  background: #E7E7E7;
  margin-top: 10px;
}

.flex-row .well {
  justify-content: center !important;
  -webkit-justify-content: center !important;
}

.flex-row.no-padding {
  /*
  margin-left: -10px;
  margin-right: -10px;
  width: calc(100% + 20px);
      */
}

.value-content.value-type-radio .flex-row {
  /*
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;

  + .flex-row {
      margin-left: 10px;
  }
  */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(120px, 20%), 1fr));
  grid-gap: 10px;
}
.value-content.value-type-radio .flex-row .radio-large {
  padding: 0;
  margin: 0;
}
.value-content.value-type-radio .flex-row .radio-large label {
  height: 100%;
}
.value-content.value-type-radio .flex-row .radio-large .caption {
  flex: 1;
  align-items: center;
  display: flex;
  justify-content: center;
}

.value-content.value-type-radio .flex-row.space-between {
  margin: -5px !important;
  width: calc(100% + 10px);
}

.value-content.value-type-radio .flex-row.space-between > .well {
  margin: 5px !important;
}

.flex-row.no-padding > .well {
  margin-left: 10px;
  margin-right: 10px;
  padding-top: 0 !important;
}

.radio-competition {
  min-width: 120px;
  max-width: 130px;
}

.radio-competition img.thumb {
  padding: 10px 5px;
}

.radio-competition label {
  background: #FFF;
}

.radio-competition .caption {
  font-size: 12px;
  font-family: var(--font-condensed);
}

/* PANEL GHOST */
.panel.panel-no-header,
.panel.panel-ghost {
  border: none;
}

.panel-no-header .panel-body,
.panel.panel-ghost .panel-body {
  padding: 0;
}

.panel-ghost .panel-heading,
.panel-ghost .action-secondary {
  display: none !important;
}

.panel-no-header .panel-heading {
  display: none !important;
}

.no-header.row {
  /*margin-top: -15px;*/
  margin-top: -6px;
  border: none;
  margin-bottom: 30px !important;
}

/*PANEL LIGHT*/
.fg .panel.panel-grey-light {
  background: #f7f7f7;
  /*border  : 1px solid #EEE;*/
}

/* CHECKBOX LIST */
.checklist-group-filters,
.checkbox-list {
  display: inline-block;
  background: none !important;
  width: 100%;
}

.checklist-group-filters .checkbox-inline,
.check-list .checkbox-inline {
  position: relative;
}

.check-list .checkbox-inline .checkbox-img,
.check-list .checkbox-inline .checkbox-bg {
  position: absolute;
  left: 0;
  width: 30px;
  height: 30px;
  margin: 2px;
  padding: 2px;
}

.image-grid-lg .check-list .checkbox-inline .checkbox-img,
.image-grid-lg .check-list .checkbox-inline .checkbox-bg {
  width: 65px;
  height: 65px;
  left: -17px;
  top: -10px;
}

.sponsor-grid .check-list {
  background-color: #dedede !important;
  border: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.sponsor-grid .divider {
  height: 0;
  margin: 0;
  flex-basis: 100%;
}

.sponsor-grid .check-list .checkbox-inline {
  width: 108px;
  overflow: hidden;
  padding: 0;
  height: 80px;
  transition: background-color 0.2s ease-in-out;
  border-radius: 4px;
  width: auto;
  flex: 1;
  flex-basis: 64px;
}
.sponsor-grid .check-list .checkbox-inline .checkbox-label {
  padding: 0;
  margin: 0 !important;
  width: 100%;
  height: 100% !important;
}
.sponsor-grid .check-list .checkbox-inline input:checked + .checkbox-label:after {
  right: -3px !important;
  top: -3px !important;
}
.sponsor-grid .check-list .checkbox-inline:before {
  content: "";
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.2) 10px, rgba(255, 255, 255, 0.2) 20px);
  display: block;
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  background-color: #b8b8b8;
  border-radius: 5px;
}
.sponsor-grid .check-list .checkbox-inline:hover {
  background-color: #203252 !important;
}

.sponsor-grid .check-list .checkbox-inline .checkbox-img {
  width: 220px;
  margin-left: 0px;
  height: auto;
  object-fit: contain;
  margin-top: 11px;
  padding: 10px;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.2));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.patches-picker-controls .form-control {
  width: 50% !important;
  float: left;
  text-align: center !important;
}

.patches-picker-controls .form-control .checkbox-bg {
  filter: none !important;
  -webkit-filter: none !important;
}

.check-list .checkbox-inline .checkbox-img {
  z-index: 10;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  object-fit: scale-down;
}

.check-list .checkbox-inline .checkbox-bg {
  z-index: 0;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

.shirt-grid .check-list .checkbox-inline .checkbox-bg {
  -webkit-filter: contrast(1.2) brightness(1.5);
  filter: contrast(1.2) brightness(1.5);
  border-radius: 5px;
}

.logo-shapes .checkbox-bg {
  visibility: hidden;
}

.logo-shapes .checkbox-label {
  border: none !important;
}

.checklist-group-filters label,
.checkbox-list label {
  display: inline-flex;
  align-items: center;
  text-align: left;
  background: #E5E7EA;
  padding: 5px 10px;
  width: 100%;
}

.checklist-group-filters label.width-auto {
  width: auto !important;
  background: none;
}

.checklist-group-filters .checkbox-label {
  font-size: 14px;
}

.checklist-group-filters .checklist-search {
  text-align: left !important;
}

.checklist-group-filters > * {
  min-height: 30px;
  padding-top: 8px;
}

.checklist-group-filters .checkbox-material .check {
  background: #FFF;
  top: -2px;
}

.checklist-group-filters .checkbox-material:after {
  top: -1px;
}

.checklist-group-filters label .checkbox-label,
.checkbox-list label .checkbox-label {
  font-size: 12px;
  color: #656d80;
  margin-left: 6px;
}

.checklist-group-filters.checkbox .checkbox-material .check,
.checkbox-list.checkbox .checkbox-material .check {
  border-color: #203252;
  background: #FFF;
}

.checklist-group-filters.checkbox.checkbox-sm .checklist-group-filters.checkbox-material:before,
.checkbox-list.checkbox.checkbox-sm .checkbox-list.checkbox-material:before {
  left: -3px;
  top: -1px;
}

.checklist-group-filters.checkbox.checkbox-sm .checkbox-material:before,
.checkbox-list.checkbox.checkbox-sm .checkbox-material:before {
  top: -1px;
  left: -3px;
}

.checklist-group-filters.checkbox.checkbox-sm .checkbox-material,
.checkbox-list.checkbox.checkbox-sm .checkbox-material {
  top: 1px;
}

.checklist-group-filters.checkbox input[type=checkbox]:checked + .checkbox-material .check,
.checkbox-list.checkbox input[type=checkbox]:checked + .checkbox-material .check {
  color: #203252;
  border-color: #203252;
}

.checklist-group-filters.checkbox .checkbox-material:after,
.checkbox-list.checkbox .checkbox-material:after {
  border-color: #203252 !important;
}

.checklist-group-filters.checkbox.checkbox-sm .checkbox-material .check:before,
.checkbox-list.checkbox.checkbox-sm .checkbox-material .check:before {
  color: #203252 !important;
}

.checklist-group .control-label {
  width: 100% !important;
}

.row-checklist label.control-label:after {
  content: attr(data-selecteds) attr(data-selecteds-label);
  display: block;
  font-size: 90%;
  margin-top: 4px;
  font-style: italic;
}

.row-checklist .checklist-remove label.control-label:after {
  content: attr(data-unselecteds) attr(data-unselecteds-label) " (rimanenti " attr(data-selecteds) ")";
}

.checklist-remove .checkbox-material {
  float: right;
}

.checklist-remove .checkbox-material:after {
  display: none;
}

.checklist-remove .checkbox-info {
  float: left !important;
}

.checklist-remove .checkbox-info .smart-tooltip[data-smart-tooltip]:after {
  left: calc(100% + 5px) !important;
}

.checklist-remove .check-list-item-label input:not(:checked) ~ .checkbox-label {
  text-decoration: line-through;
  opacity: 0.3;
}

.checklist-remove .checkbox-material .check {
  border-radius: 50% !important;
  background: none !important;
  border: 2px solid #A3ACC3 !important;
  width: 20px;
  height: 20px;
}

.fg .checklist-remove .checklist-group-filters .checkbox-material .check:before,
.fg .checklist-remove .checkbox-list.checkbox .checkbox-material .check:before {
  box-shadow: none !important;
  animation: none !important;
  content: "a";
  font-family: "fg-leghe";
  width: 20px;
  transform: none;
  height: 20px;
  margin: 0 !important;
  color: #a3acc3 !important;
  transform: rotate(0deg);
  transition: transform 0.2s cubic-bezier(0.3, -0.1, 0, 2.13);
  position: absolute;
  top: calc(50% - 10px);
  left: calc(50% - 10px);
  text-align: center;
  line-height: 20px;
}

.fg .checklist-remove .checkbox-list.checkbox input:checked ~ .checkbox-material .check:before {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.fg .checklist-remove .checklist-group-filters .checkbox-material .check:before {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  opacity: 1;
  transition: opacity 0.2s cubic-bezier(0.3, -0.1, 0, 2.13);
  -webkit-transition: opacity 0.2s cubic-bezier(0.3, -0.1, 0, 2.13);
}

.fg .checklist-remove .checklist-group-filters input:checked ~ .checkbox-material .check:before {
  opacity: 0;
}

.checklist-group-filters .checkbox-material {
  top: -5px;
}

.checklist-remove .checkbox.checkbox-sm .checkbox-material:before {
  top: 0px;
  left: 0px;
}

.checklist-remove .checklist-group-filters .checkbox {
  float: right !important;
  margin-left: 10px;
  margin-right: -5px;
}

.checklist-remove .checklist-group-filters .checkbox .checkbox-label {
  margin-right: 10px;
}

.checklist-remove .checklist-group-filters .input-group {
  float: left !important;
  margin-left: 10px;
}

.checklist-remove .checklist-group-filters .checkbox {
  display: none;
}

/*EDITABLES*/
.editable:not(.on-edit) .editable-field {
  display: none;
}

[data-range] .checkbox-inline {
  transition: transform 0.2s ease-in-out;
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  transform: scale(1);
  -webkit-transform: scale(1);
}

.ranged {
  opacity: 0.8;
  /*outline: 1px solid red;*/
}

.checkbox-inline.ranged {
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
}

.range-first:before,
.range-last:after {
  position: absolute;
  z-index: 8;
  background: #072d48;
  height: 15px;
  width: 15px;
  border-radius: 4px 4px 4px 4px;
  top: 17px;
  font-size: 8px;
  line-height: 12px;
  font-weight: 700;
  border: 1px solid #CCC;
  text-align: center;
  color: #FFF;
  transform: scale(0);
  -webkit-transform: scale(0);
  transition: 0.1s ease-in-out transform;
  -webkit-transition: 0.1s ease-in-out -webkit-transform;
}

[data-lock*=min] .range-first:before,
[data-lock*=max] .range-last:after {
  /*display: none;*/
  content: "\e009";
  font-family: "fg-icons";
}

.range-first:hover:before,
.range-last:hover:after {
  transform: scale(1);
  -webkit-transform: scale(1);
}

.range-first:before {
  content: "<";
  left: -5px;
}

.range-last:after {
  content: ">";
  right: -5px;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* SORTABLE LIST */
.sortable-list-group label.control-label {
  width: 100% !important;
}

.sortable-list-group label.control-label small {
  display: block;
  font-style: italic;
  font-size: 12px;
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 10px;
}

.sortable-list.form-control,
.sortable-list {
  background: #FFF;
  display: inline-block;
  border: 1px solid #e6e6e6;
  padding: 0 2px;
  height: auto;
  position: relative;
}

.sortable-list:before {
  content: attr(data-title);
  font-size: 12px;
  font-weight: bold;
  line-height: 35px;
  padding: 0 10px;
}

.value-type-ordered-list .list li,
label.sortable-item {
  border: 1px solid #e6e6e6;
  height: 32px;
  padding: 4px;
  text-align: left;
  line-height: 20px;
  position: relative;
  background-color: #FFF;
  margin-bottom: 2px;
  border-radius: 4px;
  display: flex;
  align-items: baseline;
  height: auto;
}

label.sortable-item {
  cursor: grab;
}
label.sortable-item:active {
  cursor: grabbing;
}

.value-type-ordered-list .list li:before,
label.sortable-item:before {
  content: attr(data-index);
  color: #FFF;
  background-color: #203252;
  width: 22px;
  display: inline-block;
  height: 22px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  line-height: 22px;
  margin-right: 10px;
  border-radius: 4px;
}

.value-type-ordered-list .list li:first-child:before,
label.sortable-item.locked:before {
  background: #203252;
  border: 1px solid #203252;
  color: #FFF;
  border-radius: 4px;
}

label.sortable-item:not(.locked):after {
  content: "C";
  font-family: "fg-icons";
  position: absolute;
  right: 5px;
  height: 20px;
  /* outline : 1px solid; */
  top: 5px;
}

span.sortable-item-label {
  font-size: 12px;
  font-weight: bold;
  color: #666666;
}

.full-row-content .value-content.value-type-text {
  display: block;
  width: calc(100% + 250px) !important;
  position: static !important;
  margin-bottom: 20px;
  color: inherit !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  font-style: italic;
}

.full-row-content .value-content.value-type-text b {
  font-style: normal;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #203252 !important;
  margin: 0 6px;
}

.value-content.value-type-groups,
.value-content.value-type-ordered-list {
  width: calc(100% + 202px) !important;
  background: #F4F6F9;
  padding: 20px;
  margin-left: -10px;
}

.value-type-ordered-list .list {
  list-style: none;
  width: 310px;
  max-width: 100%;
  margin: auto;
}

@media (max-width: 500px) {
  .value-content.value-type-groups,
  .value-content.value-type-ordered-list {
    max-width: calc(100% + 40px);
  }
}
.value-type-ordered-list .list li {
  counter-increment: item-counter;
  color: #666666;
  font-size: 12px;
}

.value-type-ordered-list .list li:before {
  content: counter(item-counter);
}

/* GROUPS NAV */
.nav-groups {
  margin-bottom: 10px;
}

.match-results .nav-groups {
  margin-bottom: 0;
}

.nav-groups > li {
  line-height: 0;
}

.list-group-item.list-group-item-heading {
  border-bottom: 1px solid #CCC;
}

h4 > .nav-groups {
  margin-bottom: 0px;
  margin-top: 4px;
}

h4 > .nav-groups.nav-pills > li > span {
  padding: 5px 15px;
}

.nav-groups .nav-label span {
  font-size: 10px;
  margin-right: 6px;
  font-weight: 700;
  color: #A0A0A0;
  padding: 0px 0px !important;
  line-height: 22px;
  margin-left: 10px;
}

.nav-groups.locked {
  opacity: 0.5;
  pointer-events: none;
}

.nav-groups .group-item > a {
  background: #FFF !important;
  color: #1B2C44 !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24);
}

.nav-groups .group-item:not(.active) > a:hover {
  background: #F9F9F9 !important;
}

.nav-groups .turn-item.active > a.btn-fab,
.nav-groups .group-item.active > a {
  background: #f21a3c !important;
  color: #FFF !important;
}

.nav-groups .turn-item > a.btn-fab {
  width: auto;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 20px;
  text-transform: lowercase;
  font-weight: 700;
  background: #FFF;
  border: none;
  box-shadow: 0 1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24);
}

/* MESSAGE BOX */
.info-box .message-box {
  background: #FFF;
}

.message-box img {
  width: 70px;
  height: 70px;
  margin-left: 20px;
  margin-right: 15px;
}

.message-box h4,
.message-box p {
  color: #203252;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  padding: 15px 15px 15px 15px;
  font-family: var(--font-condensed);
}

.message-box h4 {
  display: block;
  font-size: 18px;
}

.message-box h4 > small {
  display: block;
  font-size: 14px;
  margin-top: 10px;
  color: #203252;
}

.message-box .btn {
  margin: 0;
}

.info-box {
  background: #CBEBFB;
}

.info-box > p {
  color: #249DCA;
  font-weight: 700;
  font-size: 12px;
  padding: 15px;
}

/* LEAGUE PROFILE */
.profile-card {
  display: flex;
  display: -webkit-flex;
  margin-bottom: -1px;
}

.profile-card .profile-card-header {
  width: 100%;
  background-color: #f7f7f7;
}

.mobile .profile-card-header {
  /* display: none;*/
}

.shirt-profile-card .shirt,
.team-profile-card .logo.crest {
  max-width: 250px;
  width: 512px;
  height: auto !important;
  object-fit: scale-down;
  min-width: 250px !important;
  min-height: 250px !important;
  margin: 20px;
}

.profile-card .profile-card-header img.media-object {
  /*background-color: rgba(255,255,255,0.4);*/
  padding: 10px;
  min-width: 100%;
  min-height: 100%;
  object-fit: contain;
  object-fit: scale-down;
  max-height: 150px;
  z-index: 10;
  position: relative;
}

.profile-card .profile-card-header img.media-object.img-rounded {
  object-fit: initial;
  border: 5px solid #FFF;
  border-radius: 50%;
  background: #F4F4F4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  /*
  .card-3 {
      box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  }

  .card-4 {
      box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  }

  .card-5 {
      box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
  }*/
}

.profile-card .profile-card-header .media-left > a:not(.unstyled) {
  width: 100%;
  height: 100%;
  background: #203252;
  display: block;
  padding: 10px;
  min-width: 150px;
  min-height: 150px;
}

.panel-dark .profile-card .profile-card-header .media-left > a {
  background: none;
}

.panel-dark .profile-card .profile-card-header .media-left:before {
  content: none;
}

.profile-card .media-body {
  vertical-align: middle;
  width: 100%;
}

.profile-card .media-body h5 {
  font-size: 20px;
  color: #203252;
  padding: 4px 20px;
  margin: 0;
  margin-top: 8px;
}

.main-info .value-table-tuple th,
.profile-card .media-body h6,
.fg .panel-config .field-label {
  font-size: 12px;
  color: #666666;
  text-transform: uppercase;
  font-family: var(--font-default);
  font-weight: 700;
  padding: 4px 20px;
  margin: 0;
}

@media (min-width: 545px) {
  .tab-content-team-info .profile-card h5,
  .tab-content-team-info .profile-card h6 {
    padding-left: 0;
    padding-right: 0;
  }
}
.main-info .value-table-tuple th {
  color: #666666 !important;
}

.profile-card .media-body hr {
  margin-bottom: 15px;
  margin-top: 15px;
}

.profile-card .media-left {
  height: 100%;
  padding: 0;
  position: relative;
}

.profile-card .media-left.padding {
  padding: 10px;
  text-align: center;
}

@media (max-width: 544px) {
  .profile-card .media-left {
    margin: auto;
  }
  .profile-card .media-left,
  .profile-card .media-body {
    display: block;
    width: 100%;
    /*max-height: 150px;*/
    max-height: 200px;
  }
  .profile-card .profile-card-header .team-crest img.media-object {
    left: calc(50% - 30px);
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }
  .profile-card .profile-card-header img.media-object {
    width: 100%;
    min-width: 100% !important;
  }
  .profile-card .profile-card-header img.media-object.img-rounded {
    width: auto !important;
    height: 100% !important;
    min-width: initial !important;
    margin: 20px auto;
    display: inherit;
    max-height: 250px !important;
    min-height: 64px !important;
    max-width: 100%;
    object-fit: scale-down;
    max-width: 90%;
    /* margin : 10px!important; */
    height: 90% !important;
  }
  .profile-card .profile-card-header a.unstyled > img.media-object {
    margin: 20px auto;
    display: block;
    min-height: auto !important;
    width: auto !important;
    min-width: auto !important;
    max-height: 210px !important;
    max-width: 90%;
  }
  .profile-card.team-profile-card a.team-shirt {
    right: calc(50% - 50px) !important;
  }
  .profile-card .media-body {
    text-align: center;
    margin-bottom: 15px;
  }
  .btn-group.pull-right {
    float: none !important;
    width: 100% !important;
    padding-left: 0 !important;
  }
}
.box-dark h3 {
  color: #656d80;
  font-family: var(--font-condensed);
  border-bottom: 1px dashed #ebf0f7;
  padding-bottom: 20px;
  margin-bottom: 15px;
}

.box-dark p {
  font-size: 12px;
}

/*CHANGING TYPE BOX*/
.changing-type-box {
  text-align: center;
  font-size: 0;
}

.changing-type-box .radio-large.radio-inline {
  padding: 0;
  float: none;
  max-width: 150px;
}

.changing-type-box .radio-product label:hover {
  box-shadow: none;
  cursor: default;
}

.changing-type-box {
  display: flex;
  /* margin      : auto; */
  flex-wrap: wrap;
  justify-content: center;
}

.changing-type-box.current-league-type-mantra .radio-large + .radio-large:before {
  left: 100%;
}

.current-league-type-mantra .radio-product-mantra {
  order: 10;
}

.current-league-type-mantra .radio-product-classic {
  order: 20;
}

.changing-type-box p {
  margin-top: 10px;
  order: 101;
}

.changing-type-box .radio-large + .radio-large:before {
  content: "JJ";
  position: absolute;
  display: block;
  left: 0;
  top: 50%;
  margin-top: -10px;
  width: 60px;
  height: 60px;
  z-index: 110;
  font-size: 10px;
  border: 1px solid #CCC;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #FFF;
  font-family: fg-icons;
  font-size: 35px;
  font-weight: 700;
  letter-spacing: -25px;
  line-height: 60px;
  text-align: center;
  text-indent: -18px;
  color: #8497BB;
  cursor: default;
}

.logo-container {
  text-align: center;
  border-radius: 4px;
}

@media (max-width: 767px) {
  .logo-container {
    margin: 0 15px 20px !important;
  }
}
.logo-box {
  width: 240px;
  height: 240px;
  background-color: #FFF;
  border-radius: 50%;
  padding: 10px;
  margin: 10px auto;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  /*
  .card-3 {
      box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  }

  .card-4 {
      box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  }

  .card-5 {
      box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
  }*/
}

.logo-box .checkbox label {
  color: #203252;
}
.logo-box .checkbox label .checkbox-label {
  position: static;
  padding: 0;
}

/*
.logo-box .checkbox.checkbox-sm .checkbox-material .check:before {
    color: #FFF !important;
}
*/
.logo-box .checkbox.checkbox-sm .checkbox-material .check:before {
  color: #203252 !important;
}

.logo-box .checkbox .checkbox-material .check,
.logo-box label.checkbox-inline .checkbox-material .check {
  border-color: #FFF;
}

.logo-frame {
  width: 100%;
  height: auto;
  min-height: 200px;
  /*background  : rgba(255,255,255,0.5);*/
  vertical-align: middle;
  /* display    : flex; */
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
}

a.logo-frame {
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  border-radius: 50%;
}
a.logo-frame:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  padding-top: 100%;
  background-color: #ebebeb;
  border-radius: 50%;
  box-sizing: border-box;
  margin-top: -50%;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
  z-index: 0;
}
a.logo-frame:hover:before {
  opacity: 0.8;
}
a.logo-frame .checkbox {
  position: absolute;
  bottom: 0;
  background: #FFF;
  border-radius: 4px;
  padding: 0 10px;
}

.logo-frame > img:not(.logo-placeholder) {
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}
.logo-frame > img:not(.logo-placeholder) ~ .logo-caption {
  display: none;
}

.logo-container.settings-box .logo-frame > img:not(.logo-placeholder) {
  width: 100%;
  height: 100%;
  border: none;
}

.logo-frame img.img-rounded:not(.logo-placeholder) {
  border: 5px solid #FFF;
}

img:not(.logo-placeholder).img-rounded {
  border-radius: 50%;
  /*background : #F4F4F4;*/
}

img.avatar.img-rounded {
  border: 3px solid #FFF;
  padding: 0 !important;
}

img.logo-placeholder {
  width: 80px;
  height: 80px;
  background-color: #203252;
  border: 100px solid;
  margin: 0;
  padding: 0;
  object-fit: contain;
  position: absolute;
  top: -20%;
  box-sizing: content-box;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}
.box-create-logo#createShirtPane img.logo-placeholder {
  opacity: 0.2;
  margin: 40px !important;
  border: 60px solid transparent;
  border-radius: 50%;
  margin: 0;
}
img.logo-placeholder:hover {
  opacity: 0.8;
}
img.logo-placeholder ~ .checkbox {
  display: none;
}

.logo-caption {
  color: #FFF;
  text-transform: uppercase;
  z-index: 10;
  position: absolute;
  bottom: 18%;
  width: 70%;
}

.logo-caption > a {
  color: #FFF;
  font-weight: 700;
  text-decoration: underline;
  display: block;
}

@media (min-width: 768px) {
  .box-create-logo .row.flex {
    padding-left: 15px;
  }
}
.crest-preview {
  /*height: 200px;*/
  padding: 15px;
}

.crest-picker-control {
  width: auto;
  float: left;
  margin-right: 20px;
}

.crest-color-picker {
  display: block;
}

label.color-picker-control-label,
label.crest-picker-control-label {
  display: block;
  text-align: left;
  font-size: 12px;
  color: #656d80;
  font-weight: 700;
  margin-top: 10px;
}

label.color-picker-control-label,
.color-pickers-control {
  text-align: center;
}

.preview-canvas {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  filter: drop-shadow(0 0 5px #a6a9af);
  -webkit-filter: drop-shadow(0 0 5px #a6a9af);
}

.shirt-preview .preview-canvas {
  height: 240px;
}

.color-picker-colors {
  position: relative;
  width: calc(100% + 30px);
  bottom: 0;
  display: inline-block;
  z-index: 1;
  margin: 0 -15px;
  margin-top: 10px;
}

.crest-preview {
  display: flex;
  flex-wrap: wrap;
}

.crest-preview-frame {
  padding: 0;
  margin-bottom: 10px;
}

.color-picker-colors .sp-palette {
  max-width: 250px;
  margin: auto;
}
.color-picker-colors .sp-palette .sp-thumb-el {
  width: calc(14.2857142857% - 6px);
  height: 25px;
  margin: 2px 2px;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  /*
  .card-3 {
      box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  }

  .card-4 {
      box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  }

  .card-5 {
      box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
  }*/
}
.color-picker-colors .sp-palette .sp-thumb-el:hover {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  /*
  .card-3 {
      box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  }

  .card-4 {
      box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  }

  .card-5 {
      box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
  }*/
}

.sp-replacer.sp-light {
  background-color: #dedede;
  border: none;
  border-radius: 4px;
}
.sp-replacer.sp-light .sp-preview {
  border: none;
}

.sp-replacer.sp-light.sp-active {
  background: #DDD;
}

.color-picker-colors .sp-container {
  top: 0 !important;
  left: 0 !important;
  /*bottom    : 0!important;*/
  border: none;
  /*border-top: 1px solid #C0C0C0;*/
}

.color-picker-colors .sp-picker-container,
.color-picker-colors .sp-palette-container {
  padding-left: 7px;
  padding-right: 7px;
  border: none;
  width: calc(100% - 14px);
}

.sp-palette .sp-thumb-el:before {
  position: absolute;
  content: "";
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  display: flex;
  background: transparent;
  top: -1px;
  left: -1px;
  z-index: 100;
  border: 3px solid #203252;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
}

.sp-palette .sp-thumb-el:hover:before {
  opacity: 1;
}

.color-picker-colors .sp-cancel,
.color-picker-colors .sp-choose {
  background: #EEE;
  border-radius: 1px;
  font-family: var(--font-default);
  border: none;
  background: #D9D9D9;
  padding: 10px 20px;
  text-shadow: none;
  font-size: 12px;
  line-height: 12px;
  vertical-align: middle;
  display: inline-block;
}

.color-picker-colors .sp-cancel:hover,
.color-picker-colors .sp-choose:hover {
  border: none;
  background: #c7c7c7;
  text-shadow: none;
}

.color-picker-colors .sp-container {
  position: relative !important;
  display: block !important;
  max-height: 300px;
  /*transition: max-height ease-in-out 0.2s;*/
}

.color-picker-colors .sp-container.sp-hidden {
  max-height: 0;
}

/* CREST CROP */
.jcrop-holder {
  background: rgba(255, 255, 255, 0.5) !important;
  margin: auto;
}

input.jcrop-keymgr {
  visibility: hidden;
}

.crest-crop-frame {
  background: rgba(255, 255, 255, 0.5);
  padding: 20px;
}

.crest-crop-container {
  text-align: center;
  background: #203252;
  padding: 10px;
}

canvas.crest-crop-canvas {
  max-width: 100%;
  max-height: 200px;
  text-align: center;
}

.profile-card.team-profile-card .media-left {
  position: relative;
}

.profile-card.team-profile-card a.team-shirt {
  position: absolute;
  min-width: 48px;
  min-height: 48px;
  bottom: 10px;
  width: 72px;
  height: 72px;
  background: none;
  padding: 0;
  right: 10px;
}

.profile-card.team-profile-card a.team-shirt img {
  padding: 0;
  background: none;
  z-index: 20;
  position: relative;
}

.profile-card.team-profile-card a.team-shirt:before {
  max-height: 100%;
  max-width: 100%;
  z-index: 30;
}

.profile-card .profile-card-header .team-crest img.media-object {
  max-height: 100%;
  min-height: 48px;
  height: 120px;
  width: 120px;
  min-width: 48px;
  max-width: 100%;
  background: none;
  z-index: 10;
  position: relative;
}

.profile-card .profile-card-header .media-left:before {
  content: "";
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  /*background: rgba(255,255,255,0.4);*/
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 0;
}

.profile-card .shirt-card-header.profile-card-header .media-left:before {
  display: none;
}

.profile-card .shirt-card-header.profile-card-header {
  background: none;
}

.crest-controls {
  margin-bottom: 10px;
  padding-left: 10px !important;
}

.crest-controls .check-list {
  clear: left;
  padding: 0;
  margin: 0;
  background: #FFF;
  width: auto;
  display: inline-block;
  border: 1px solid #CCC;
  border-radius: 1px solid;
  margin-top: 6px;
}

.crest-controls .check-list .checkbox-inline {
  padding: 0;
}

/* TRANSFERS */
.transfers-type .flex-row {
  width: 100%;
  margin: 0 !important;
}

.transfers-type .radio-inline {
  flex: 1;
  -webkit-flex: 1;
  min-width: auto;
}

@media (max-width: 600px) {
  .transfers-type .radio-inline {
    flex-basis: 50%;
    -webkit-flex-basis: 50%;
    padding-left: 0;
  }
}
@media (max-width: 470px) {
  .transfers-type .radio-inline {
    flex-basis: 100%;
    -webkit-flex-basis: 100%;
    padding-left: 0;
  }
}
.transfers-group .cell-actions {
  /*padding: 0!important;*/
}

.value-type-radio .well.flex-row {
  margin: 0 !important;
  padding: 5px !important;
}

.value-type-radio .well.flex-row .radio-inline {
  margin: 0 !important;
  padding: 5px !important;
}

@media (max-width: 500px) {
  .value-type-radio .well.flex-row .radio-inline {
    max-width: 50% !important;
    width: auto !important;
    min-width: 48px !important;
  }
  /*pagina crea-competizione*/
  .well.well-sm.flex-row {
    width: 100%;
    margin-bottom: 10px !important;
  }
}
.transfers-type .radio-inline .caption {
  background: #f21a3c;
  text-transform: initial;
  flex: 1;
  -webkit-flex: 1;
}

.transfers-type .radio-large.radio label {
  display: flex;
  flex-direction: column;
  display: -webkit-flex;
  -webkit-flex-direction: column;
  height: 100%;
}

/*
.transfers-type .radio-large.radio input[type=radio]:checked ~ .circle {

}

.transfers-type .radio-large.radio input[type=radio]:checked ~ .circle:before {
    content: "";
}

.transfers-type .radio-large.radio.radio-product .check {
    width: 100%!important;
    height: 100%!important;
    position: absolute;
    left: 0!important;
    top: 0!important;
    margin: -1px!important;
    padding: 0!important;
    background: none!important;
    overflow: visible;
    border-radius: 0;
}

.transfers-type .radio-large.radio.radio-product .check:before {
    top: 0;
    background: #072D49;
    border-radius: 50%;
    height: 24px;
    width: 24px;
    z-index: 10;
}

.transfers-type .radio-large.radio.radio-product .check:after {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transform: scale3d(1,1,1);
    border-radius: 0;
    background: #072d49;
}

.transfers-type .radio-large.radio.radio-product input:checked ~ .check {
    border: 1px solid #FE8D2F;
}
*/
.transfers-type .row-content.row-content-type-radio {
  /*padding: 0 10px;*/
}

.tab-content.transfers-tab-content {
  /*border: 1px solid #C0C0C0;*/
  margin-bottom: 20px;
  position: relative;
}

.fg .transfers-tab-content .panel.panel-primary.panel-clear {
  margin-bottom: 0;
}

.fg .transfers-tab-content .tab-pane > .panel.panel-primary {
  border: none;
}

.transfers-tab-content .panel-clear .panel-heading.hidden + .panel-body .panel-ghost {
  /* padding: 0 8px; */
  /*        
  margin-top: -55px;
  margin-bottom: 15px;*/
}

.transfers-tab-content .panel.panel-primary {
  margin-bottom: 0;
}

body.fg .well.well-dark-blue {
  background: #072D49;
  overflow: hidden;
}

body.fg .well.well-light {
  background: #FFF;
  overflow: hidden;
}

.well.well-light .togglebutton .pre:not(.unchecked),
.well.well-light .togglebutton input:checked ~ .post {
  color: #203252;
}

.well.well-light .togglebutton .pre,
.well.well-light .togglebutton .post {
  color: #666666;
  font-size: 14px;
  font-weight: 700;
}

.well.well-light .pre.descriptions > * {
  color: #231F20;
}

.well-light .togglebutton,
.well-dark-blue .togglebutton {
  margin: auto;
}

.well-dark-blue .togglebutton label > span {
  color: #C3CAD6;
  font-weight: 700;
  transition: color 0.2s ease-in-out;
  -webkit-transition: color 0.2s ease-in-out;
}

.well-dark-blue .togglebutton label > span#pre:not(.unchecked),
.well-dark-blue .togglebutton label input:checked ~ span#post {
  color: #FFF;
}

.well-dark-blue .togglebutton .checkbox-material {
  margin: 0 10px;
}

body.fg .well.well-dark-blue hr {
  margin: 10px -20px;
  background: #f7f7f7;
  border-color: #C0C0C0;
  border-style: solid;
}

.pre.descriptions {
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  width: calc(200% + 80px);
  margin: -20px;
  transform: translateX(0%);
  -webkit-transform: translateX(0%);
  transition: transform 0.5s ease-in-out;
  -webkit-transition: transform 0.5s ease-in-out;
}

.pre.descriptions.unchecked {
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

.pre.descriptions > * {
  width: 100%;
  margin: 20px;
  color: #FFF;
  font-style: italic;
  font-size: 12px;
}

/*RANGE-DATE*/
#editModal .form-horizontal .edit-modal-row .input-group.input-group-default {
  width: 100% !important;
}

[data-field][disabled] {
  color: #CCC !important;
}

.form-group.invalid-group .form-control,
.fg #editModal form .invalid-start .form-control[data-field][data-startend=start],
.fg #editModal form .invalid-end .form-control[data-field][data-startend=end] {
  background: #fbe2e1 !important;
  border-color: #ffa3a2 !important;
}

#editModal .form-horizontal .edit-modal-row .input-group .form-control {
  text-align: center;
}

#editModal .form-horizontal .edit-modal-row .form-control {
  /*height: 32px;*/
  font-size: 14px;
  text-align: left;
}

#editModal .form-horizontal .edit-modal-row .input-group .form-control:not(.control-counter),
#editModal .form-horizontal .edit-modal-row .input-group .input-group-addon:not(.counter-next):not(.counter-prev) {
  height: 32px;
}

#editModal .form-horizontal .edit-modal-row .input-group .form-control + input-group-addon {
  height: 32px;
}

#editModal .form-horizontal .edit-modal-row .form-control[data-field][readonly] {
  background-color: #FFF !important;
  border: 1px solid #e6e6e6;
  font-size: 12px;
  pointer-events: none;
  /*Workaround per il bug del datapicker che compare e scompare */
}

#editModal .form-horizontal .edit-modal-row .input-group-btn {
  padding: 0;
}

#editModal .form-horizontal .edit-modal-row .input-group-btn .btn.btn-default {
  height: 32px;
  margin: 0;
  width: 32px;
  padding: 0;
  border-left: none;
  border-color: #e6e6e6;
  border-radius: 0 4px 4px 0;
}
#editModal .form-horizontal .edit-modal-row .input-group-btn .btn.btn-default .icon {
  color: #656d80;
}

label.btn > i {
  width: 100%;
  display: inline-block;
  height: 100%;
  text-align: center;
  padding: 6px;
}

/*DATE TIME PICKER*/
.dtpicker-cont .dtpicker-content {
  padding: 0;
}

.dtpicker-cont .dtpicker-header {
  margin: 0;
}

.dtpicker-cont .dtpicker-header .dtpicker-title {
  background: #203252;
  color: #FFF;
  font-weight: 700;
  font-size: 12px;
  height: 40px;
  line-height: 40px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--font-default);
}

.dtpicker-cont .dtpicker-header .dtpicker-value {
  color: #203252;
  font-size: 14px;
  font-family: var(--font-default);
}

.dtpicker-cont .dtpicker-buttonCont {
  background: #ebf0f7;
  margin: 0;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.dtpicker-cont .dtpicker-header .dtpicker-close {
  top: 0;
  display: none;
}

.dtpicker-cont .dtpicker-components .dtpicker-compValue {
  color: #656d80;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-default);
  margin: -1px 0;
  padding: 10px 0;
  height: 42px;
}
.dtpicker-cont .dtpicker-components .dtpicker-compValue:focus {
  background-color: #FFF;
}
.dtpicker-cont .dtpicker-components .dtpicker-compValue:hover {
  color: #203252;
}

.dtpicker-cont .dtpicker-components .dtpicker-compButton {
  background: #ebf0f7;
  color: #656d80 !important;
  font-size: 0 !important;
  position: relative;
}

.dtpicker-cont .dtpicker-components .dtpicker-compButton:before {
  position: absolute;
  content: "2";
  font-family: "fg-icons";
  font-size: 18px;
  text-align: center;
  width: 100%;
  left: 0;
  top: 0;
  height: 100%;
}

.dtpicker-compButton.increment:before {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  left: -2px;
}

.dtpicker-components {
  margin: 10px 20px;
}

.dtpicker-cont .dtpicker-content {
  width: 90%;
  max-width: 350px;
}

.dtpicker-overlay {
  background: rgba(0, 0, 0, 0.5) !important;
}

.dtpicker-cont .dtpicker-twoButtons .dtpicker-buttonSet {
  float: right;
  color: #203252 !important;
  font-weight: 700;
}

.dtpicker-cont .dtpicker-twoButtons .dtpicker-buttonClear {
  float: right;
  color: #656d80 !important;
}

.dtpicker-components .dtpicker-comp {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  /*
  .card-3 {
      box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  }

  .card-4 {
      box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  }

  .card-5 {
      box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
  }*/
  margin: 3px 5px !important;
  transition: box-shadow 0.4s ease-in-out;
}
.dtpicker-components .dtpicker-comp:focus-within {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  /*
  .card-3 {
      box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  }

  .card-4 {
      box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  }

  .card-5 {
      box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
  }*/
}

.dtpicker-cont .dtpicker-button {
  width: auto !important;
  margin-left: 10px;
  text-transform: uppercase;
  background-color: transparent !important;
  font-size: 12px !important;
  padding: 5px 10px !important;
  line-height: 12px;
  font-family: var(--font-default);
}

.dtpicker-cont .dtpicker-button:hover {
  color: #2e4877 !important;
}

.edit-modal .timeshift-control p {
  color: #333333;
  font-style: italic;
  font-size: 12px;
}

.edit-modal .timeshift-control input {
  width: 40px;
  text-align: center !important;
  margin: 0 10px;
  font-style: normal;
}

/* SECTION COUNTER */
.section-reset {
  counter-reset: section;
}

.section-counter .panel:not(.panel-ghost),
.section-item {
  counter-increment: section;
}

.section-counter .panel:not(.panel-clear) .panel-heading > span.panel-title:before,
.section-counter .panel .panel-heading > a:before,
.section-item:before {
  content: counter(section) ". ";
}

.repeat-item-template {
  display: none !important;
}

form {
  counter-reset: turns;
}

.time-range-turns .row label.control-label {
  display: none;
}

.time-range-turns {
  counter-increment: turns;
}

.time-range-turns .control-label:after {
  content: " n. " counter(turns);
  /* counter-increment: turns; */
}

/* TRANSFERS WINDOW CARD */
.fg .panel.panel-transfers-window > .panel-heading {
  padding: 0;
  background-color: #FFF;
}

.fg .panel.panel-transfers-window > .panel-heading.padding {
  padding: 10px;
}

/* BUTTON CIRCLE */
.btn-circle.btn-danger,
.btn-circle {
  font-weight: 700;
  text-transform: initial;
  color: rgba(101, 109, 128, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}

.btn-circle,
.btn-circle:focus,
.btn-circle:active {
  outline: none !important;
}

.btn-circle .icon {
  background: #203252;
  width: 20px;
  height: 20px;
  display: inline-block;
  border-radius: 50%;
  color: #FFF;
  line-height: 23px;
  vertical-align: middle;
  font-size: 13px;
  aspect-ratio: 1/1;
}

.btn-circle.btn-danger .icon {
  background: #E85555;
}

@media (max-width: 460px) {
  .panel-transfers-window .action-menu {
    padding: 0 10px;
  }
  .panel-transfers-window .panel-footer:not(.panel-footer-default):not(.panel-footer-clear) {
    background: none !important;
    border: none !important;
    text-align: right;
    box-shadow: none !important;
  }
  .panel-transfers-window .panel-footer:not(.panel-footer-default):not(.panel-footer-clear) p {
    line-height: 12px;
  }
  .panel-transfers-window .panel-footer:not(.panel-footer-default):not(.panel-footer-clear) button {
    margin-left: 10px;
  }
  .btn.btn-underline {
    max-width: 92px;
    text-decoration: none;
    border-radius: 2px;
    font-size: 11px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: normal;
    word-wrap: break-word;
    min-height: 48px;
  }
  .btn.btn-underline .icon {
    font-size: 22px;
  }
  .btn.btn-underline .icon,
  .btn.btn-circle .icon {
    display: block;
    margin: auto;
  }
  .btn.btn-circle {
    text-decoration: none;
    font-size: 10px;
    color: #333 !important;
    font-weight: 400;
    max-width: 72px;
    line-height: 12px;
    vertical-align: top;
  }
  .panel-heading .btn.btn-sm.pull-right {
    font-size: 10px;
    max-width: 72px;
    background: #F9F9F9;
    margin-right: 10px;
  }
}
/*BUY PLAYER or CREATE EXCHANHGE PROPOSAL*/
.panel.manager-roster {
  background: none;
  box-shadow: none;
  overflow: visible;
}

.main-container:not(.warning) .visible-warning,
.main-container:not(.error) .visible-error,
.main-container.warning ~ .hidden-warning,
.main-container.warning ~ * .hidden-warning,
.main-container.warning .hidden-warning,
.main-container.error .hidden-error {
  display: none;
}

.main-container:not(.only-exchanges) .visible-only-exchanges,
.main-container.only-exchanges .hidden-only-exchanges {
  display: none;
}

.create-exchange-proposal .empty .competition-current-crest {
  display: none;
}

.create-exchange-proposal .empty .competition-current-name {
  opacity: 0.5;
}

.create-exchange-proposal .competition-container,
.manager-roster .competition-container {
  background: #003366;
  padding: 0;
}

.create-exchange-proposal #teamsDropdown,
.manager-roster #teamsDropdown {
  background: #fff;
}

.create-exchange-proposal .competition-list li:nth-child(2n+1),
.manager-roster .competition-list li:nth-child(2n+1) {
  background-color: #F4F6FA;
}

.create-exchange-proposal .competition-list li,
.manager-roster .competition-list li {
  text-align: right;
}

.create-exchange-proposal .competition-list li a,
.manager-roster .competition-list li a {
  color: #1C2D44;
  font-weight: 400;
  font-size: 12px;
  text-align: left;
  padding-left: calc(50% + 20px);
}

.create-exchange-proposal .competition-list li.active a,
.manager-roster .competition-list li.active a {
  font-weight: 700;
  pointer-events: none;
}

.create-exchange-proposal .competition-current,
.manager-roster .competition-current {
  text-align: right;
  width: 50%;
  margin-left: 50%;
  background: #FFF;
  border: 1px solid #1B2C44;
  color: #1B2C44;
  font-size: 12px;
  font-weight: 700;
}

.create-exchange-proposal .team-crest,
.manager-roster .team-crest {
  display: inline-block;
  margin-bottom: -5px;
  line-height: 20px;
  position: relative;
  top: -3px;
  height: 25px;
  width: 25px;
  margin-right: 5px;
  float: left;
}

.manager-roster .competition-current-name {
  text-align: left;
}

.create-exchange-proposal .competition-current,
.manager-roster competition-current-name {
  text-align: left;
  padding-left: 20px;
}

.card-team-dropdown {
  overflow: visible !important;
}
.card-team-dropdown .dropdown {
  min-width: 200px;
  max-width: 50%;
  flex: 1;
}
.card-team-dropdown .card-team-dropdown-label {
  display: flex;
  flex: 1;
  font-size: 20px;
  font-family: var(--font-condensed);
  justify-content: center;
  align-items: center;
  line-height: 26px;
}
@media (max-width: 767px) {
  .card-team-dropdown .card-team-dropdown-label {
    justify-content: flex-start;
    margin-top: -5px;
    margin-bottom: -5px;
  }
  .card-team-dropdown .card-team-dropdown-label::before {
    padding: 0 10px;
    position: static !important;
    max-width: 100% !important;
    width: 100%;
    font-size: 16px;
  }
  .card-team-dropdown .dropdown {
    max-width: 100%;
    min-width: 100%;
    margin-bottom: -10px;
  }
  .card-team-dropdown .dropdown .dropdown-toggle {
    padding-left: 10px;
  }
  .card-team-dropdown .dropdown .dropdown-menu {
    width: 100%;
  }
}

.create-exchange-proposal .card-team-dropdown-label:before,
.create-exchange-proposal .competition-current:before,
.manager-roster .card-team-dropdown-label:before,
.manager-roster .competition-current:before {
  content: "Seleziona una squadra...";
  position: absolute;
  left: 20px;
  color: #FFF;
  max-width: 40%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buy-player .card-team-dropdown-label:before,
.buy-player .competition-current:before {
  content: "ACQUISTA nuovi calciatori per";
}

.free-player .card-team-dropdown-label:before,
.free-player .competition-current:before {
  content: "SVINCOLA calciatori per";
}

.create-exchange-proposal .card-team-dropdown-label:before,
.create-exchange-proposal .competition-current:before {
  /*content: "Crea una NUOVA PROPOSTA DI SCAMBIO per... ";*/
  content: "PROPONI UNO SCAMBIO a... ";
}

.create-exchange-proposal .competition-caret,
.manager-roster .competition-caret {
  z-index: 10;
  background: #013366;
  right: 20px !important;
}

@media (max-width: 500px) {
  .create-exchange-proposal .competition-current:before,
  .manager-roster .competition-current:before {
    max-width: 100%;
    color: #FFF;
    top: -19px;
    background: #013366;
    height: 20px;
    line-height: 20px;
    padding: 0 10px;
    border-radius: 6px 6px 0px 0px;
    left: 0;
  }
  .create-exchange-proposal .competition-current,
  .manager-roster .competition-current {
    width: calc(100% - 70px);
    margin-left: 0;
    margin-top: 30px;
  }
  .create-exchange-proposal .competition-list li a,
  .manager-roster .competition-list li a {
    padding-left: 10px;
    padding-right: 80px;
  }
  .create-exchange-proposal .competition-caret,
  .manager-roster .competition-caret {
    width: 71px;
    right: 0px !important;
  }
  .create-exchange-proposal .competition-list,
  .manager-roster .competition-list {
    border: 1px solid #656d80;
    margin-top: -1px;
  }
}
/* ROSTER COMPLETION */
.roster-completion-box {
  /*
      background: #FFF;
      padding: 10px 0;
          */
}

.roster-completion-box .text-condensed {
  color: #656d80;
}

.roster-completion {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid #7e869a;
  padding-left: 20px;
}

.role-slots {
  display: inline-block;
  min-height: 10px;
  padding: 3px 0;
  box-sizing: content-box;
  max-width: calc(100% - 30px);
}

/*
    @media (max-width: 500px) {

        .league-mantra .smart-table.fixed .cell-role,
        .league-mantra .cell-role {

            justify-content: flex-end;
            -webhit-justify-content: flex-end;
        }


        .league-mantra .smart-table.fixed .cell-role .role,
        .league-mantra .cell-role .role {
            margin-right: 0;
            margin-left: 1px;
        }
    }

    .league-mantra .role-slots {
        max-width: 100%;
    }

    .league-mantra .role-slot-type-0 {
        order: 10;
    }

    .league-mantra .role-slots {
        max-width: 100%;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        display: flex;
    }
    */
.role-slot.role-infinite {
  color: #000;
  background: #FFF;
  font-size: 12px;
  white-space: nowrap;
  line-height: 12px;
  order: 10;
}

.roster-completion-box .roster-info.padding {
  padding-bottom: 5px;
}

.roster-completion-box .roster-info {
  font-size: 11px;
  line-height: 12px;
  color: #7b8ba2;
  margin: 0;
}

.league-mantra .role-label {
  max-width: calc(100% - 40px);
}

.role-label {
  font-size: 12px;
  font-family: var(--font-condensed);
  font-weight: 700;
  line-height: 12px;
  height: 12px;
  display: inline-block;
  padding: 3px;
  vertical-align: top;
  box-sizing: content-box;
  width: 10px;
  text-align: center;
}

.league-mantra .role-label {
  width: 20px;
}

li.roster-completion-role {
  padding: 0;
  margin: 0;
  display: block;
  white-space: nowrap;
  max-width: 160px;
}

.league-mantra li.roster-completion-role {
  max-width: initial;
}

@media (max-width: 767px) {
  .col-slots {
    width: auto;
    text-align: center;
  }
  .roster-completion-box .roster-info {
    margin: 0 10px;
  }
  .roster-completion {
    padding: 0;
    text-align: left;
    border-left: none;
  }
  .role-slots {
    max-width: 100%;
    max-width: min(100%, 73vw);
  }
}
li.role-slot {
  display: inline-block;
  background: #8C8C8C;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  vertical-align: top;
  float: left;
  margin-left: 2px;
  margin-bottom: 2px;
}

li.role-slot.role-slot-type-1 {
  background: #203252;
}

.role-por.role-slot.role-slot-type-1,
.role-por .role-slot.role-slot-type-1,
.role-p .role-slot.role-slot-type-1 {
  background: #f8ab29;
}

.role-gm.role-slot.role-slot-type-1,
.role-gm .role-slot.role-slot-type-1,
.role-d .role-slot.role-slot-type-1 {
  background: #63c623;
}

.role-c .role-slot.role-slot-type-1 {
  background: #203252;
}

.role-a .role-slot.role-slot-type-1 {
  background: #f21a3c;
}

.role-por.role-slot.role-slot-type-2,
.role-por .role-slot.role-slot-type-2,
.role-p .role-slot.role-slot-type-2 {
  background: #f8ab29;
  opacity: 0.5;
}

.role-gm.role-slot.role-slot-type-2,
.role-gm .role-slot.role-slot-type-2,
.role-d .role-slot.role-slot-type-2 {
  background: #63c623;
  opacity: 0.5;
}

.role-c .role-slot.role-slot-type-2 {
  background: #203252;
  opacity: 0.5;
}

.role-a .role-slot.role-slot-type-2 {
  background: #f21a3c;
  opacity: 0.5;
}

.role-por.role-slot.role-slot-type-3,
.role-por .role-slot.role-slot-type-3,
.role-p .role-slot.role-slot-type-3 {
  background: #f8ab29;
  opacity: 0.8;
  position: relative;
}

.role-gm.role-slot.role-slot-type-3,
.role-gm .role-slot.role-slot-type-3,
.role-d .role-slot.role-slot-type-3 {
  background: #63c623;
  opacity: 0.8;
  position: relative;
}

.role-c .role-slot.role-slot-type-3 {
  background: #203252;
  opacity: 0.8;
  position: relative;
}

.role-a .role-slot.role-slot-type-3 {
  background: #f21a3c;
  opacity: 0.8;
  position: relative;
}

.role-por .role-label,
.role-p .role-label {
  color: #f8ab29;
}

.role-gm .role-label,
.role-d .role-label {
  color: #63c623;
}

.role-c .role-label {
  color: #203252;
}

.role-a .role-label {
  color: #f21a3c;
}

.role-slot.role-slot-type-3:before {
  content: "A";
  font-size: 9px;
  color: #FFF;
  line-height: 10px;
  bottom: 0;
  left: 0;
  width: 10px;
  height: 10px;
  display: inline-block;
  position: absolute;
  text-align: center;
  vertical-align: middle;
}

.market-sealed-bid .role-slot.role-slot-type-3:before {
  content: "B";
}

span.role-totals {
  font-size: 11px;
  font-family: var(--font-default);
  font-weight: 400;
  line-height: 9px;
  height: 12px;
  display: inline-block;
  padding: 3px;
  vertical-align: top;
  box-sizing: content-box;
  width: 50px;
  text-align: left;
}

ul.list-links {
  list-style: none;
}

ul.list-links li a {
  font-weight: 700;
  font-size: 12px;
  text-decoration: underline;
  color: #203252;
  padding: 2px 0;
}

.nav-pills-squared.no-margin {
  margin: 0;
  border-left: 0;
  border-right: 0;
}

.nav-pills-squared {
  background: #f7f7f7;
  /*border     : 1px solid #D0D0D0;*/
  margin-top: 10px;
  margin-bottom: 20px;
}

@media (max-width: 500px) {
  .nav-pills-squared {
    display: flex;
    display: -webkit-flex;
  }
  .nav-pills-squared a {
    text-align: center;
  }
  .nav-pills-squared li .badge {
    left: auto !important;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
  }
}
.panel-heading > .nav-pills-squared {
  border: none;
  background: none;
  margin-top: -10px;
  margin-right: -10px;
  margin-bottom: 0px;
}

.nav-pills-squared.flex-row-filled {
  border: none;
  margin: 0;
  width: 100%;
}

.btn-squared,
.nav-pills.nav-pills-squared > li > a,
.nav-pills.nav-pills-squared > li > span {
  margin: 5px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px;
  border: 1px solid transparent;
}

.btn-squared,
.nav-pills.nav-pills-squared > li:not(.pill-label) > span,
.nav-pills.nav-pills-squared > li:not(.pill-label) > a {
  background: #FFF;
  border: 1px solid #656d80;
  color: #656d80;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  text-align: left;
}

.nav-pills.nav-pills-squared > li:not(.pill-label) strong {
  color: #203252;
  font-weight: 700;
}

.btn-squared,
.nav-pills.nav-pills-squared > li + li > a,
.nav-pills.nav-pills-squared > li + li > span {
  margin-left: 0px;
}

.nav-pills.nav-pills-squared > li.pill-dark > a,
.nav-pills.nav-pills-squared > li.pill-dark > span {
  border: 1px solid #656d80;
  background: #656d80;
  color: #FFF;
  /*white-space: nowrap;*/
}

.nav-pills.nav-pills-squared > li.pill-dark > a.right-arrow > .badge {
  margin-right: 10px;
}

.nav-pills.nav-pills-squared > li.pill-dark > a.right-arrow {
  background: #656d80;
}

.nav-pills.nav-pills-squared > li.pill-dark > a[href].right-arrow {
  padding-right: 30px;
  cursor: pointer;
}

.nav-pills.nav-pills-squared > li.pill-dark > a.right-arrow[href]:after {
  content: "1";
  font-family: "fg-icons";
  width: 10px;
  display: inline-block;
  height: 100%;
  background: #656d80;
  position: absolute;
  right: 0;
  width: 16px;
  top: 0;
  text-align: center;
  padding: 6px 0;
  font-size: 8px;
}

.flex-row.flex-row-filled > .pill-dark {
  margin-left: 0;
  overflow: hidden;
  flex: auto;
  display: flex;
  flex-grow: 1;
}

.flex-row.flex-row-filled > .pill-dark > span {
  flex-grow: 1;
  display: flex;
  overflow: hidden;
  justify-content: flex-end;
  line-height: 15px;
}

.nav-pills-squared.flex-row-filled li .badge.right {
  margin-left: 8px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: lowercase;
  display: flex;
  justify-content: center;
  align-items: center;
  display: -webkit-flex;
  -webkit-justify-content: center;
  -webkit-align-items: center;
  -webkit-line-clamp: 3;
  /*max-width            : 140px;*/
  min-width: 30px;
  min-height: 100%;
  white-space: normal;
  height: calc(100% + 3px);
  margin-right: -4px;
}

@media (max-width: 620px) {
  .flex-row.flex-row-filled > .pill-dark > span {
    /* flex-grow: 1; */
    /* display: flex; */
    /* overflow: hidden; */
    /* flex-wrap: wrap; */
    flex-direction: column;
  }
  .nav-pills-squared.flex-row-filled li .badge.right {
    min-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    flex-basis: 50%;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 6px !important;
    left: 0;
    display: in;
    flex-direction: column;
    line-height: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}
.nav-pills.nav-pills-squared > li.pill-dark > span.danger {
  border: 1px solid #f21a3c;
  background: #f21a3c;
  color: #FFF;
}

.nav-pills.nav-pills-squared > li.pill-dark > span.danger .badge {
  color: #f21a3c;
  border-color: #f21a3c;
}

.btn-squared .badge,
.nav-pills-squared li .badge {
  /*color: $primary;*/
  color: #203252;
  background: #FFF;
  border: 1px solid transparent;
  border-radius: 3px;
  top: 0px;
  position: relative;
  left: -2px;
  height: 24px;
  margin-bottom: -5px;
  font-family: var(--font-default);
  line-height: 16px;
  margin-top: -2px;
  margin-left: 0 !important;
}

.nav-pills-squared li .badge.right {
  margin-left: 5px !important;
}

.fg .togglebutton.toggle-icon label .checkbox-material:after {
  content: "U";
  font-family: "fg-icons";
  font-size: 8px;
  line-height: 18px;
  color: #CCC;
  text-align: center;
  border-color: #CCC;
}

.fg .togglebutton.toggle-icon label input[type=checkbox]:checked + .checkbox-material:after {
  content: "c";
  color: #FFF;
}

.togglebutton:not(.toggle-status) label .checkbox-material:after {
  content: "";
  vertical-align: middle !important;
}

.fg .togglebutton:not(.toggle-status) label input[type=checkbox]:checked + .checkbox-material:after {
  background-color: #203252;
  border-color: #203252;
}

.togglebutton:not(.toggle-status).role-p label .checkbox-material:after {
  content: "P";
}

.togglebutton:not(.toggle-status).role-d label .checkbox-material:after {
  content: "D";
}

.togglebutton:not(.toggle-status).role-c label .checkbox-material:after {
  content: "C";
}

.togglebutton:not(.toggle-status).role-a label .checkbox-material:after {
  content: "A";
}

.togglebutton:not(.toggle-status).role-por label .checkbox-material:after {
  content: "Por";
}

.togglebutton:not(.toggle-status).role-dc label .checkbox-material:after {
  content: "Dc";
}

.togglebutton:not(.toggle-status).role-b label .checkbox-material:after {
  content: "B";
}

.togglebutton:not(.toggle-status).role-dd label .checkbox-material:after {
  content: "Dd";
}

.togglebutton:not(.toggle-status).role-ds label .checkbox-material:after {
  content: "Ds";
}

.togglebutton:not(.toggle-status).role-m label .checkbox-material:after {
  content: "M";
}

.togglebutton:not(.toggle-status).role-e label .checkbox-material:after {
  content: "E";
}

.togglebutton:not(.toggle-status).role-w label .checkbox-material:after {
  content: "W";
}

.togglebutton:not(.toggle-status).role-t label .checkbox-material:after {
  content: "T";
}

.togglebutton:not(.toggle-status).role-pc label .checkbox-material:after {
  content: "Pc";
}

.togglebutton:not(.toggle-status).role-p label input[type=checkbox]:checked + .checkbox-material:after,
.togglebutton:not(.toggle-status).role-por label input[type=checkbox]:checked + .checkbox-material:after {
  background-color: #f8ab29;
  border-color: #f8ab29;
}

.togglebutton:not(.toggle-status).role-d label input[type=checkbox]:checked + .checkbox-material:after,
.togglebutton:not(.toggle-status).role-dc label input[type=checkbox]:checked + .checkbox-material:after,
.togglebutton:not(.toggle-status).role-b label input[type=checkbox]:checked + .checkbox-material:after,
.togglebutton:not(.toggle-status).role-dd label input[type=checkbox]:checked + .checkbox-material:after,
.togglebutton:not(.toggle-status).role-ds label input[type=checkbox]:checked + .checkbox-material:after {
  background-color: #63c623;
  border-color: #63c623;
}

.togglebutton:not(.toggle-status).role-c label input[type=checkbox]:checked + .checkbox-material:after,
.togglebutton:not(.toggle-status).role-e label input[type=checkbox]:checked + .checkbox-material:after,
.togglebutton:not(.toggle-status).role-m label input[type=checkbox]:checked + .checkbox-material:after {
  background-color: #203252;
  border-color: #203252;
}

.togglebutton:not(.toggle-status).role-w label input[type=checkbox]:checked + .checkbox-material:after,
.togglebutton:not(.toggle-status).role-t label input[type=checkbox]:checked + .checkbox-material:after {
  background-color: #9f28c6;
  border-color: #9f28c6;
}

.togglebutton:not(.toggle-status).role-a label input[type=checkbox]:checked + .checkbox-material:after,
.togglebutton:not(.toggle-status).role-pc label input[type=checkbox]:checked + .checkbox-material:after {
  background-color: #f21a3c;
  border-color: #f21a3c;
}

/*
    .panel-heading-bordered > .role-filter-cell,
    .role-filter-cell {
        flex-direction: row;
        -webkit-flex-direction: row;
        flex-wrap: wrap;
        -webkit-flex-flex-wrap: wrap;
        justify-content: center;
        -webkit-justify-content: center;
    }

        .panel-heading-bordered > .role-filter-cell h5,
        .role-filter-cell h5 {
            flex-basis: 100%;
            -webkit-flex-basis: 100%;
        }

        .role-filter-cell.col-sm-4 .togglebutton.toggle-inline {
            max-width: calc(25% - 5px);
        }

        .role-filter-cell .togglebutton input[type=checkbox] {
            position: absolute;
        }*/
[name=rosterCompletionFilters] {
  overflow: visible !important;
}

[name=rosterCompletionFilters] .slider-frame.flex.flex-row {
  margin-left: -12px;
  margin-right: -12px;
}

/*
    .slider .noUi-handle {
        left: -5px;
    }

    .slider .noUi-origin[style*="left: 0"] .noUi-handle,
    .slider .noUi-handle {
        border: 2px solid $textOnCard;
        background: #FFF;
    }

    .slider .noUi-origin:first-child {
        background: $textOnCard;
    }

.slider .noUi-connect {
    height: 2px;
    background-color: $textOnCard;
}


    .slider.slider-large .noUi-origin[style*="left: 0"] .noUi-handle,
    .slider.slider-large .noUi-handle {
        border-color: #0088CC;
    }

    .noUi-handle.disabled {
        z-index: -1;
        pointer-events: none;
    }

    .slider.slider-large {
        margin: 20px 5px;
    }

        .slider.slider-large .noUi-handle {
            left: -5px;
            width: 16px;
            height: 16px;
            top: -7px;
        }

        .slider.slider-large .noUi-origin:first-child {
            background: #0088CC;
        }
            */
/*
    .panel-heading-bordered .filter {
        width: 100%;
        margin-top: 18px;
    }

        .panel-heading-bordered .filter .form-group {
            margin-bottom: 0;
        }*/
.slider-frame-age .value[data-value="31"] {
  font-size: 0;
}

.slider-frame-age .value[data-value="31"]:before {
  content: "30+";
  font-size: 14px;
}

/*ROLE*/
.role {
  background: #CCC;
  height: 20px;
  width: 20px;
  display: inline-block;
  text-align: center;
  color: #FFF;
  line-height: 20px;
  font-size: 14px;
  font-family: var(--font-condensed);
  border-radius: 50%;
  text-transform: capitalize;
  vertical-align: 0px;
}

.role.role-:before {
  content: "-";
}

.role + .reserve-limit {
  font-size: 14px;
  padding: 0 4px;
  margin-right: 10px;
}

@media (max-width: 500px) {
  .role + .reserve-limit {
    margin-right: 0px;
  }
}
.role + .reserve-limit.reserve-fixed {
  border: #dfe5ef 1px solid;
  border-radius: 50%;
  width: 21px;
  height: 21px;
  display: inline-block;
  line-height: 20px;
  margin-left: -5px;
}

.roster-composition {
  margin-bottom: -5px;
}
.roster-composition .badge {
  font-size: 12px;
}
.roster-composition .role {
  margin-left: -3px;
  margin-right: -3px;
  margin-top: -3px;
  margin-bottom: 3px;
}

.role.role-mov,
.role.role-movimento {
  width: auto;
  padding-left: 6px;
  padding-right: 6px;
  border-radius: 8px;
  background-color: #63c623;
  border-color: #63c623;
}

.role.role-p {
  background-color: #f8ab29;
  border-color: #f8ab29;
}

.role.role-d {
  background-color: #63c623;
  border-color: #63c623;
}

.role.role-c {
  background-color: #203252;
  border-color: #203252;
}

.role.role-a {
  background-color: #f21a3c;
  border-color: #f21a3c;
}

.role-bg-p {
  background-color: #f8ab29;
  border-color: #f8ab29;
}

.role-bg-d {
  background-color: #63c623;
  border-color: #63c623;
}

.role-bg-c {
  background-color: #203252;
  border-color: #203252;
}

.role-bg-a {
  background-color: #f21a3c;
  border-color: #f21a3c;
}

.role.role-por {
  background-color: #f8ab29;
  border-color: #f8ab29;
}

.role.role-dc,
.role.role-dc\/b,
.role.role-b,
.role.role-dc,
.role.role-ds,
.role.role-gm,
.role.role-dd {
  background-color: #63c623;
  border-color: #63c623;
}

.role.role-c\/t,
.role.role-m,
.role.role-m\/c,
.role.role-c,
.role.role-e\/w,
.role.role-e {
  background-color: #203252;
  border-color: #203252;
}

.role.role-w,
.role.role-t,
.role.role-t\/w {
  background-color: #9f28c6;
  border-color: #9f28c6;
}

.role.role-t\/a,
.role.role-w\/a,
.role.role-a,
.role.role-pc,
.role.role-a\/pc,
.role.role-t\/a\/pc {
  background-color: #f21a3c;
  border-color: #f21a3c;
}

.role.role-por,
.role.role-gm,
.role.role-dc\/b,
.role.role-e\/w,
.role.role-m\/c,
.role.role-t\/w,
.role.role-w\/a,
.role.role-a\/pc,
.role.role-t\/a\/pc {
  font-size: 10px;
}

.role.role-t\/a\/pc {
  width: 35px;
  border-radius: 1rem;
}

.role.role-c\/t,
.role.role-t\/a,
.role.role-w\/a,
.role.role-e\/w,
.role.role-t\/a\/pc {
  position: relative;
  overflow: hidden;
  /*vertical-align: -5px;*/
  font-size: 0;
}

.role.role-c\/t:before,
.role.role-t\/a:before,
.role.role-w\/a:before,
.role.role-e\/w:before,
.role.role-t\/a\/pc:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  font-size: 10px;
}

.role.role-c\/t:after,
.role.role-t\/a:after,
.role.role-w\/a:after,
.role.role-e\/w:after,
.role.role-t\/a\/pc:after {
  content: "";
  height: 25px;
  width: 11px;
  background: #9f28c6;
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  transform: rotate(20deg);
}

.role.role-e\/w:before {
  content: "E/W";
}

.role.role-t\/a:before {
  content: "T/A";
}

.role.role-w\/a:before {
  content: "W/A";
}

.role.role-c\/t:before {
  content: "C/T";
}

.role.role-t\/a\/pc:before {
  content: "T/A/Pc";
}

.role.role-t\/a:after,
.role.role-w\/a:after,
.role.role-t\/a\/pc:after {
  top: -4px;
  left: 0px;
  right: auto;
}

.smart-table .checkbox {
  margin: 4px 0px 0px 5px;
}

.smart-table .cell-actions .checkbox {
  margin: 0;
}

.smart-table.paginated [data-key].sortable {
  padding-top: 10px !important;
}

/*.smart-table tr:not([style="display: none;"]) ~ tr.no-results,
    .smart-table tr ~ tr.no-results {
        */
.smart-table tr:not([style="display: none;"]) ~ tr.no-results {
  display: none;
}

.smart-table tr.no-results {
  background: none !important;
}
.smart-table tr.no-results td:first-child:last-child {
  width: 100%;
}

.smart-table.players-table tr.no-results {
  opacity: 0.3;
}

.smart-table.players-table tr.locked {
  opacity: 0.3;
}

.smart-table tr.no-results > .padding {
  width: 100%;
  padding: 10px;
}

.smart-table tr.divider {
  position: relative;
}

body:not(.mantra-league) .main-container.free-player .transfers-tab-content:not(.finalizing) .free-player-not-finalizing-hidden,
body.mantra-league .main-container.free-player .transfers-tab-content:not(.finalizing) .free-player-not-finalizing-hidden:not(.visible-force-mantra),
.main-container.manage-rosters .transfers-tab-content.finalizing .finalizing-admin-hidden,
.main-container:not(.manage-rosters) .finalizing-admin-visible,
.transfers-tab-content:not(.finalizing) .finalizing-admin-visible,
.transfers-tab-content:not(.finalizing) .finalizing-visible,
.transfers-tab-content.finalizing .finalizing-hidden {
  display: none !important;
}

.main-container.released .hidden-released,
.main-container:not(.released) .visible-released {
  display: none !important;
}

.table-summary {
  background: #f4f6f9;
  border-bottom: 1px #ccc solid;
}

.table-summary td {
  border-top: 1px #ccc dashed !important;
}

.cost-frame {
  color: #656d80 !important;
  margin-right: 20px;
  font-size: 18px;
  font-weight: 700;
}

.cost-frame > strong {
  font-size: 24px;
  font-weight: 700;
  text-transform: none;
  display: inline-block;
  margin-left: 10px;
}

.cell-button {
  padding-right: 3px !important;
  padding-bottom: 1px !important;
}

.cell-buttons > .btn,
.cell-button > button {
  margin-top: 2px;
  margin-bottom: 2px;
}

th.cell-icon,
.cell-countdown,
.cell-date {
  font-size: 12px;
  padding: 5px 5px 3px 15px !important;
}

.cell-date.cell-header > span {
  width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  -webkit-flex-wrap: wrap;
  -webkit-justify-content: flex-start;
}

td.cell-countdown > span {
  background-color: #656d80;
  color: #FFF;
  display: inline-block;
  text-align: center;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
}

.has-subeader tbody td:not([colspan]) {
  padding-left: 4px !important;
}

.has-subeader tbody tr td:first-of-type:not([colspan]) {
  padding-left: 10px !important;
}

.table > thead > tr > th {
  border-bottom-width: 1px;
}

.smart-date:not([data-delta-days="0"]) > :last-child,
.smart-date[data-delta-days="0"] > :first-child {
  display: none;
}

/*@media (min-width: 760px) {*/
@media (min-width: 768px) {
  td.cell-countdown > span {
    display: inline-block;
    white-space: nowrap;
    font-weight: 700;
    padding: 2px 10px;
  }
}
td.cell-countdown > span > small {
  font-size: 12px;
}

/*@media (min-width: 760px) {*/
@media (min-width: 768px) {
  td.cell-countdown > span > small {
    padding-left: 6px;
    margin-left: 3px;
  }
}
.cell-lg input.number,
.cell-lg input[type=number] {
  border: none;
  text-align: center;
  background: #FFF;
  border: 1px solid #CCD3DD;
  text-align: center;
  color: #203252;
  font-size: 14px;
  font-weight: 700;
  padding: 2px;
  width: 45px;
  margin-top: 3px;
}

.fixed .cell-lg span,
.fixed .cell-lg input.number,
.fixed .cell-lg input[type=number] {
  max-width: 100%;
  margin: 0;
}

.cell-lg input[type=number][readonly] {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

.cell-lg.highlight input[type=number][readonly] {
  background: none;
}

/*
.cell-digit .modified[data-cost]:after {
    content: '(' attr(data-cost) ')';
}
*/
.smart-tooltip {
  position: relative;
  overflow: initial;
}

.smart-tooltip[title]:after,
.smart-tooltip[data-smart-tooltip]:after {
  display: inline-block;
  position: absolute;
  top: -2px;
  left: calc(100% - 4px);
  background: rgba(0, 0, 0, 0.7);
  color: #FFF;
  font-size: 11px;
  line-height: 12px;
  content: attr(data-smart-tooltip);
  padding: 2px 4px;
  border-radius: 2px;
  vertical-align: middle;
  max-width: 80px;
  z-index: 100;
  opacity: 0;
  transition: 0.2s ease opacity;
  -webkit-transition: 0.2s ease opacity;
  pointer-events: none;
}

.smart-tooltip[title]:after {
  content: attr(title);
}

.smart-tooltip.smart-tooltip-left[title]:after,
.smart-tooltip.smart-tooltip-left[data-smart-tooltip]:after {
  left: auto !important;
  right: calc(100% + 4px);
}

.smart-tooltip[title]:active:after,
.smart-tooltip[title]:focus:after,
.smart-tooltip[title]:hover:after,
.smart-tooltip[data-smart-tooltip]:active:after,
.smart-tooltip[data-smart-tooltip]:focus:after,
.smart-tooltip[data-smart-tooltip]:hover:after {
  opacity: 1;
}

.smart-tooltip[title].smart-tooltip-large:after,
.smart-tooltip[data-smart-tooltip].smart-tooltip-large:after {
  max-width: initial;
  left: 100%;
  padding: 4px 10px;
  text-align: left;
  white-space: nowrap;
}

.cell-digit .smart-tooltip[title]:hover:after,
.cell-digit .smart-tooltip[data-smart-tooltip]:hover:after {
  /*white-space: nowrap;*/
}

.cell-digit .modified[data-cost] input {
  font-style: italic;
}

/*
.cell-digit .modified[data-cost]:after {
    content: '(' attr(data-cost) ')';
}
*/
.main-container:not(.buy-player) .buy-player-visible,
.main-container.buy-player .buy-player-hidden {
  display: none;
}

.main-container.manage-rosters .hidden-manage-rosters,
.main-container:not(.manage-rosters) .visible-manage-rosters,
.fg:not(.league-mantra) .main-container:not(.free-player) .free-player-visible,
.fg:not(.league-mantra) .main-container.free-player .free-player-hidden,
.fg.league-mantra .main-container:not(.free-player) .free-player-visible:not(.visible-force-mantra),
.fg.league-mantra .main-container.free-player .free-player-hidden:not(.visible-force-mantra) {
  display: none;
}

.transfers-group .cell-actions .btn {
  margin: 0;
}

.player-row .cell-actions .btn {
  margin-top: -12px;
  margin-bottom: -5px;
  padding: 3px 10px;
  margin: auto;
}

.player-row .cell-actions .btn:not(.btn-raised) > .icon {
  margin: 0 -10px;
}

@media (max-width: 500px) {
  .player-row .cell-actions .btn {
    padding-left: 5px;
    padding-right: 5px;
    min-width: 34px;
  }
  .seriea-player-name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .fixed .cell-lg span,
  .fixed .cell-lg input.number,
  .fixed .cell-lg input[type=number] {
    font-size: 90%;
  }
  .fixed .cell-lg span.mfv {
    font-size: 10px;
  }
}
.buy-player .player-row:not(.free) span {
  opacity: 0.5;
}

.buy-player .player-row:not(.free) .cell-actions .btn {
  display: none;
}

.buy-player .player-row:not(.free) > td {
  cursor: default;
}

.buy-player .player-row input[readonly] {
  opacity: 0.5;
  cursor: default;
}

.player-row.already .checkbox,
.buy-player .player-row:not(.free) .checkbox {
  display: none;
}

.player-row:not(.already) .visible-already,
.player-row:not(.free) .visible-free {
  display: none;
}

.player-row .ico-locked {
  opacity: 0.4;
}

.player-row[data-lock="1"] .lock:before,
.player-row[data-lock="1"].already .lock:before {
  /*
  content: "N/D";
  font-family: var(--font-default)!important;
  font-size: 10px;
  line-height: 10px;
  vertical-align: middle;
  margin-top: -5px;
  display: inline-block;
      */
}

.player-row.already span {
  opacity: 0.5;
}

/*
.role-divider {
    display: table;
    position: absolute;
    width: 100%;
}

.fg .smart-table .role-divider + tr > th[data-key]  {
    padding-top: 45px!important;
}
*/
.role-divider th span {
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: bold;
  color: #FFF;
  padding: 0 !important;
  text-transform: uppercase;
}

.role-divider th.role-divider-header span,
.role-divider th small {
  color: #FFF;
  font-size: 12px;
  vertical-align: middle;
  display: inline-block;
  margin-top: -6px;
  text-align: center;
  font-weight: 400;
  font-family: var(--font-default);
  text-transform: initial;
}

.smart-table:not(.smart-pad) .role-divider th.role-divider-header span,
.smart-table:not(.smart-pad) .role-divider th small {
  padding-left: 10px;
}

.role-divider .role-divider-header,
.role-divider .role-divider-slots {
  text-align: center;
  text-transform: initial;
}

.role-divider.role-bg-por,
.role-divider.role-bg-p {
  background-color: #f8ab29 !important;
  border-color: #f8ab29 !important;
}

.role-divider.role-bg-gm,
.role-divider.role-bg-d {
  background-color: #63c623 !important;
  border-color: #63c623 !important;
}

.role-divider.role-bg-c {
  background-color: #203252 !important;
  border-color: #203252 !important;
}

.role-divider.role-bg-a {
  background-color: #f21a3c !important;
  border-color: #f21a3c !important;
}

.smart-table .role-divider th.sortable {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  vertical-align: middle;
  line-height: 19px;
}

.smart-table .role-divider th.role-divider-label.sortable > span {
  padding-right: 20px !important;
}

.smart-table .role-divider th.sortable > span {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin-top: 0 !important;
}

/*.empty-list tbody,*/
.empty-list tbody tr:not(.no-results),
.empty-list .subheader {
  display: none;
}

/*
.roster-completion .role-slot.role-slot-type-2 {
    transition: all 0.5s ease;
    transform: scale(1);
}

.roster-completion:not(.wrapped) .role-slot.role-slot-type-2 {
    background: #8C8C8C;
    opacity: 1;
    transform: scale(1.5);
}
    */
.roster-completion .role-slot.role-slot-type-1.animate,
.roster-completion .role-slot.role-slot-type-0.animate {
  transform: scale(1);
  animation: ani-deflate 0.2s normal forwards ease;
}

.roster-completion .role-slot.role-slot-type-2.animate {
  transform: scale(1);
  animation: ani-inflate 0.2s normal forwards ease;
}

.wrapped .badge.cost,
.wrapped .badge.delta {
  transform: scale(1);
  animation: ani-inflate 0.2s normal forwards ease;
}

#editModal .table-edit .team-name {
  width: 45vw;
  max-width: 160px;
}

#editModal form:not(.form-horizontal) .edit-modal-row .table-edit .input-group {
  padding-top: 0;
}

.table-edit tr:first-child th {
  background: #121c2d;
  color: #FFF;
  text-transform: uppercase;
  text-align: left;
  font-weight: 700;
}

.table-edit tr th {
  background: #E5E7EA;
  font-weight: 400;
}

.table-edit th {
  color: #656d80;
  text-align: center;
}

.table-edit .cell-label {
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  color: #C0C0C0;
  padding-top: 14px;
}

.table-edit .cell-result {
  color: #0088CC;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.table-edit .cell-value {
  color: #02569A;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.table-edit tr:nth-child(2n+1) td {
  border-top: 2px solid #aaa;
}

.table-edit .input-group {
  /*border: 1px solid #DDDDDD;*/
  outline: 1px solid #DDDDDD;
  /* display: inline-block; */
  width: auto !important;
  float: left;
}

.table-edit .input-group .form-control {
  background: none !important;
}

.table-edit .input-group i {
  color: #C0C0C0;
}

.table-edit .input-group + .input-group {
  margin-left: 10px;
}

.table-edit .input-group-addon {
  border-right: 1px solid #EEE;
  width: 30px;
  height: 25px;
  border-radius: 0;
}

#editModal .table-edit .form-group {
  padding: 0;
  width: auto !important;
}

.edit-modal .table-edit .form-group input.form-control,
.edit-modal .table-edit .form-group.is-focused input.form-control {
  margin: 0;
  border: none;
  width: 40px;
  padding-right: 8px;
}

@media (max-width: 450px) {
  .table-edit tr.zoom-xs {
    zoom: 0.85;
  }
}
/* DL SQUARED */
.dl-squared {
  width: 100%;
  background: #FFF;
  display: inline-block;
  border: #f4f6f9 2px solid;
  padding: 10px;
  margin: 0;
  border-radius: 5px;
}

.media-body > .dl-squared {
  /*width: calc(100% - 10px);*/
}

.dl-squared dt,
.dl-squared dd {
  font-size: 12px;
  margin-top: 5px !important;
  margin-bottom: 5px !important;
}

.dl-1-col.dl-large-dt dt,
.dl-2-col.dl-large-dt dt {
  width: 160px !important;
}

.dl-squared.dl-large-dt dd {
  width: calc(50% - 170px) !important;
}

.dl-1-col.dl-extra-large-dt dt,
.dl-2-col.dl-extra-large-dt dt {
  width: 200px !important;
}

.dl-squared.dl-extra-large-dt dd {
  width: calc(50% - 210px) !important;
}

.dl-squared.dl-extra-large-dt.dl-1-col dd {
  width: 200px !important;
}

@media (max-width: 767px) {
  .dl-squared.dl-extra-large-dt.dl-1-col dt,
  .dl-squared.dl-extra-large-dt.dl-2-col dt {
    width: 50% !important;
    text-align: center;
  }
  .dl-squared.dl-extra-large-dt.dl-1-col dd,
  .dl-squared.dl-extra-large-dt.dl-2-col dd {
    width: 50% !important;
    text-align: center;
    margin-left: -50%;
    padding-top: 25px;
  }
}
@media (max-width: 500px) {
  .dl-horizontal dt,
  .dl-squared.dl-extra-large-dt.dl-1-col dt,
  .dl-squared.dl-extra-large-dt.dl-2-col dt {
    width: 100% !important;
    text-align: center;
  }
  .dl-horizontal dd,
  .dl-squared.dl-extra-large-dt.dl-1-col dd,
  .dl-squared.dl-extra-large-dt.dl-2-col dd {
    width: 100% !important;
    margin: 0;
    padding: 0;
    padding-bottom: 20px;
    text-align: center;
  }
}
@media (max-width: 767px) {
  .dl-squared.dl-large-dt.dl-1-col dt,
  .dl-squared.dl-large-dt.dl-2-col dt {
    width: 50% !important;
    text-align: center;
  }
  .dl-squared.dl-large-dt.dl-1-col dd,
  .dl-squared.dl-large-dt.dl-2-col dd {
    width: 50% !important;
    text-align: center;
    margin-left: -50%;
    padding-top: 25px;
  }
}
body:not(.many-divisions) .division-badge {
  display: none;
}

.division-badge {
  background-color: #7593c9;
  border-radius: 5px;
  color: #203252;
  margin-bottom: -12px;
  font-size: 80%;
  font-weight: bold;
  padding: 0px 8px;
  text-align: center;
}

/*
.transfers-window-card:not(.transfers-window-card-details) {
    .division-badge {
        //display: none !important;
        left: 25px;
        right: auto;
        top: 3px;
        font-size: 80%;
        font-weight: bold;
        padding: 0px 8px;
        width: 75px;
        text-align: center;
    }
}
*/
@media (max-width: 620px) {
  .transfers-window-card.transfers-window-card-public .media-body {
    width: calc(100% - 120px) !important;
    /*margin-left: 30px;*/
  }
}
.transfers-window-card + .transfers-window-card {
  margin-top: 20px;
}

.transfers-window-card + .transfers-window-card .panel-transfers-window {
  margin-top: -1px;
}

.transfers-window-card-public .panel-transfers-window-mini .panel-heading {
  border: none;
}

@media (max-width: 500px) {
  .transfers-window-card.transfers-window-card-public .dl-squared.dl-large-dt.dl-1-col dl,
  .transfers-window-card.transfers-window-card-public .dl-squared.dl-large-dt.dl-2-col dl {
    width: 100%;
  }
  .dl-squared.dl-large-dt.dl-1-col dt,
  .dl-squared.dl-large-dt.dl-2-col dt {
    width: 100% !important;
    text-align: left;
  }
  .dl-squared.dl-large-dt.dl-1-col dd,
  .dl-squared.dl-large-dt.dl-2-col dd {
    margin-left: 0;
    width: 100% !important;
    text-align: left;
    padding: 0;
  }
}
.myself em {
  font-style: normal;
  color: #4d9b1b;
}

.myself em:after {
  content: " (TU)";
  font-weight: bold;
}

/*MODAL FLIP*/
.edit-modal {
  perspective-origin: center;
  -webkit-perspective-origin: center;
  perspective: 3000px;
  -webkit-perspective: 3000px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  padding: 20px;
}

@media (max-width: 500px) {
  .edit-modal {
    padding: 0 !important;
  }
}
.edit-modal-flip-back {
  /*display: none;*/
}

.edit-modal .modal-dialog {
  transform: rotateY(0deg);
  transition: transform 0.8s linear;
}

.edit-modal.flipped.flip-half .modal-dialog {
  transform: rotateY(90deg);
}

.edit-modal.flipped .modal-dialog {
  transform: rotateY(180deg);
}

.edit-modal .modal-dialog .edit-modal-row.edit-modal-flip-back,
.edit-modal.flipped .modal-dialog .edit-modal-row:not(.edit-modal-flip-back) {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition-property: max-height, opacity;
  transition-timing-function: linear;
  transition-duration: 0.1s;
}

/*.edit-modal:not(.flipped) .modal-dialog .edit-modal-row:not(.edit-modal-flip-back),*/
.edit-modal.flipped .modal-dialog .edit-modal-row.edit-modal-flip-back {
  max-height: 1500px;
  /*max-height              :1000px;  */
  opacity: 1;
  overflow: hidden;
  transition-property: max-height, opacity;
  transition-timing-function: linear;
  transition-duration: 0.1s;
}

.edit-modal .modal-flow .edit-modal-row {
  max-height: initial !important;
}

.edit-modal.flipped .modal-dialog > * {
  transition-property: transform;
  transition-timing-function: linear;
  transition-duration: 0s;
  transform: rotateY(-180deg);
  transition-delay: 0.1s;
}

.edit-modal:not(.flipped) .actions .btn.edit-modal-flip-back + .spacer,
.edit-modal.flipped .actions .btn:not(.edit-modal-flip-back) + .spacer,
.edit-modal:not(.flipped) .actions .btn.edit-modal-flip-back,
.edit-modal.flipped .actions .btn:not(.edit-modal-flip-back) {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 0 !important;
  font-size: 0;
  transition-property: padding, max-width;
  transition-timing-function: ease-in-out;
  transition-duration: 0.2s;
}

.edit-modal.flipped .actions .btn.edit-modal-flip-back,
.edit-modal:not(.flipped) .actions .btn:not(.edit-modal-flip-back) {
  max-width: 1000px !important;
  transition-property: max-width;
  transition-timing-function: ease-in-out;
  transition-duration: 0.2s;
}

/* list-group-squared */
.list-group.list-group-squared {
  border: 1px solid #AAAAAA;
  padding: 10px;
  position: relative;
  display: inline-block;
}

.list-group.list-group-squared:after {
  position: absolute;
  content: "";
  background: #CCC;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.list-group.list-group-squared .list-group-item {
  width: 100%;
  float: left;
  min-height: 220px;
}

.list-group.list-group-squared .list-group-item:not(:last-child) {
  border-bottom: 1px dashed #C0C0C0;
}

.list-group.list-group-squared .list-group-item:nth-child(2n) {
  float: right !important;
  padding-left: 20px;
}

.list-group.list-group-squared .list-group-item .row-action-primary img.icon {
  padding: 20px;
}

.list-group.list-group-squared .list-group-item .row-action-primary {
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  margin-right: 16px;
}

.list-group.list-group-squared .list-group-item .row-action-primary .icon {
  width: 105px;
  height: 105px;
  font-size: 50px;
  line-height: 116px;
  vertical-align: middle;
}

.list-group.list-group-squared .list-group-item .row-content {
  max-width: calc(100% - 125px);
  width: auto;
  vertical-align: top;
  padding-right: 20px;
}

.list-group.list-group-squared .list-group-item-heading {
  font-size: 46px !important;
  padding-top: 10px;
}

.list-group.list-group-squared .list-group-item-text {
  color: #666666 !important;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  padding-top: 10px;
  max-width: 200px;
}

@media (min-width: 544px) {
  .list-group.list-group-squared .list-group-item:nth-child(2) {
    border-top: 1px dashed #C0C0C0;
    margin-top: 110px;
  }
  .list-group.list-group-squared .list-group-item {
    width: 50%;
  }
  .list-group.list-group-squared .list-group-item-text {
    max-width: 300px;
  }
}
.list-group.list-group-squared .list-group-item:nth-child(1) .row-action-primary .icon {
  background: #FF9900;
}

.list-group.list-group-squared .list-group-item:nth-child(1) .list-group-item-heading {
  color: #f90 !important;
}

.list-group.list-group-squared .list-group-item:nth-child(2) .row-action-primary .icon {
  background: #00B1D8;
}

.list-group.list-group-squared .list-group-item:nth-child(2) .list-group-item-heading {
  color: #00B1D8 !important;
}

.list-group.list-group-squared .list-group-item:nth-child(3) .row-action-primary .icon {
  background: #B6C52E;
}

.list-group.list-group-squared .list-group-item:nth-child(3) .list-group-item-heading {
  color: #B6C52E !important;
}

.list-group.list-group-squared .list-group-item:nth-child(4) .row-action-primary .icon {
  background: #E50093;
}

.list-group.list-group-squared .list-group-item:nth-child(4) .list-group-item-heading {
  color: #E50093 !important;
}

/* panel-teams-grid */
.widget-team-slider:not(.widget-loaded) {
  display: none;
}

.panel-teams.panel-teams-grid {
  margin-left: -10px;
}

.panel-teams-grid .panel-heading {
  margin-left: 10px;
}

.panel-teams.panel-teams-grid .alert-info {
  margin-left: 10px;
}

.panel-teams-grid .item {
  float: left;
  width: calc(33.3333333333% - 10px);
  border: none;
  margin-left: 10px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.panel-teams-grid .item .team-crest,
.panel-teams-grid .item .team-shirt {
  padding: 0 10px;
}

@media (max-width: 620px) {
  .panel-teams-grid .item {
    width: calc(50% - 10px);
  }
}
@media (max-width: 450px) {
  .panel-teams-grid .item {
    width: calc(100% - 10px);
  }
}
.noprice .priced-visible,
script:not(.priced) ~ .smart-table .priced-visible {
  display: none;
}

/* ERROR LIST */
.input-group-addon + .form-group.has-error {
  position: relative;
}

.input-group-addon + .form-group .error-list {
  position: absolute;
  display: none;
  z-index: 1000;
  border: 1px solid #d55a59;
  padding: 6px 10px;
  padding-bottom: 15px;
  min-width: 100px;
  transform: translateX(-50%);
  left: 50%;
  bottom: calc(100% + 5px);
  background: #ffeeed;
  border-radius: 2px;
  /* box-shadow : 0 2px 5px 0px rgba(0,0,0,0.2); */
}

.input-group-addon + .form-group .error-list:after {
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  background: #ffeeed;
  display: inline-block;
  content: "";
  position: absolute;
  bottom: -6px;
  left: calc(50% - 5px);
  border-right: 1px solid #d55a59;
  border-bottom: 1px solid #d55a59;
}

.input-group-addon + .form-group.has-error .form-control {
  background: #ffeeed;
  /* border-color: #cf4443!important; */
}

.has-error .error-list {
  /*display: table;*/
}

.row-content-type-ranges.twins-list:not(.full-width) .range {
  max-width: 600px;
}

.row-content-type-ranges.twins-list:not(.full-width) .range {
  margin: 0;
}

.row-content-type-ranges.twins-list .range-col {
  max-width: initial;
  overflow: hidden;
}

.row-content-type-ranges.twins-list .range-cell:not(:last-of-type) {
  margin-bottom: 10px;
}

.row-content-type-ranges.twins-list:before {
  display: none;
}

.row-content-type-ranges.twins-list .value-content.value-type-ranges {
  width: calc(100% + 105px) !important;
  background: #F4F6F9 !important;
  position: relative !important;
  left: -10px;
  margin-bottom: 30px;
  padding: 10px;
}
@media (max-width: 500px) {
  .row-content-type-ranges.twins-list .value-content.value-type-ranges {
    padding: 0;
    padding-top: 5px;
  }
}

@media (max-width: 500px) {
  .row-content-type-ranges.twins-list .value-content.value-type-ranges {
    width: calc(100% + 40px) !important;
  }
}
.row-content-type-ranges.twins-list .value-content.value-type-ranges.empty {
  padding-top: 0;
  padding-bottom: 0;
}

.row-content.row-content-type-editable {
  padding-right: 0 !important;
}

.row-content.row-content-type-editable .value-type-editable {
  margin: 0;
}

/*TWINS*/
.twins-list .range-col-type-labels .range-label {
  max-width: 100%;
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
  max-height: 100%;
}

.twins-list .range-label {
  max-width: 100%;
  display: inline-block;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (min-width: 500px) {
  .twins-list .range-label .value-label {
    padding: 0 10px;
  }
}

.twins-list .range-col-small .range-label {
  display: flex !important;
  display: -webkit-flex !important;
}

/*SERIE-A CRESTS*/
.seriea-crest {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.seriea-team {
  text-transform: initial;
}

.seriea-match {
  min-width: 80px;
  display: inline-block;
  text-align: center;
}

.twins-list .value-label {
  text-transform: uppercase;
  font-size: 12px;
  max-width: 100%;
  display: inline-block;
  text-overflow: ellipsis;
  overflow: hidden;
}

.seriea-team-row {
  padding: 10px 0 !important;
}

.seriea-team-row:after {
  border-color: #DDDDDD !important;
}

.seriea-team-row + .actions,
.seriea-team-row:nth-child(1) {
  border-top: 1px solid #DDDDDD;
}

.seriea-team-row:nth-child(2n) {
  background: #FFF;
}

.seriea-team-row .seriea-crest {
  max-height: 32px;
  margin-right: 20px;
}

.seriea-team-row .seriea-crest ~ .seriea-crest {
  margin-left: 20px;
  margin-right: 0;
}

#editModal .seriea-team-row.edit-modal-row > div {
  padding: 0 10px;
}

.seriea-team-row .control-label {
  padding: 0 !important;
  display: inline-block;
  white-space: nowrap;
}

/* ALERT-NOTICE */
.alert-notice h4 {
  margin-top: 10px;
}

.alert-notice h4,
.alert-notice p {
  color: #203252;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-default);
}

.alert-notice p strong {
  font-weight: 700;
  color: #203252;
  font-size: 18px;
  display: inline-block;
}

.alert-notice .alert-img {
  float: left;
  width: 82px;
  height: 82px;
  object-fit: scale-down;
  border: 8px solid #C6DDF5;
  border-radius: 50%;
  background: #ECEDF1;
  /*padding    : 5px;*/
  margin-right: 15px;
  margin-top: -5px;
  margin-left: -5px;
  margin-bottom: -5px;
}

.alert-img.icon {
  font-size: 24px;
  border: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  color: #FFF;
}

.alert-img.icon.bg-danger {
  background: #e23939;
}

.alert-img.icon.bg-success {
  background: #FED831;
}

.flex-row-filled .alert-notice {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.alert-notice .no-margin {
  margin: 0 !important;
}

.alert-notice .no-margin.margin-right-auto {
  margin-top: 0;
  margin-bottom: 0;
  margin-right: auto !important;
}

.alert-notice .label-info {
  background-color: #D0D7E5;
  font-weight: 400;
  padding: 8px 10px;
  border-radius: 2px;
}

.alert-notice .label-info .budget-value {
  font-size: 20px;
  line-height: 15px;
  top: 2px;
  position: relative;
}

.alert-notice .alert-img {
  width: 60px;
  height: 60px;
}

.flex-row-filled .alert-notice:before {
  order: 90;
  content: " ";
}

.flex-row-filled .alert-notice h3,
.flex-row-filled .alert-notice h4,
.flex-row-filled .alert-notice p {
  order: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flex-row-filled .alert-notice * {
  order: 1;
}

.flex-row-filled .alert-notice h3 {
  color: #f21a3c;
  font-size: 20px;
  margin: 0;
}

.flex-row-filled .alert-notice h5 {
  color: #CCC;
  font-size: 12px;
  font-weight: 400;
  margin: 0;
}

.flex-row-filled .alert-notice h3 > strong {
  display: block;
}

.flex-row-filled .alert-notice .alert-img-frame {
  order: 100;
  flex: 1;
  width: calc(100% - 20px);
  border: none;
  background: none;
  padding: 0;
  overflow: hidden;
  position: relative;
  margin: 10px;
  min-height: 80px;
}

.flex-row-filled .alert-notice .alert-img-frame .alert-img {
  float: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.alert-img-frame {
  width: 80px;
  height: 80px;
  margin-left: -80px;
  margin-bottom: -80px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.alert-img.img-clear {
  background: none;
  border: none;
  border-radius: 0;
}

.widget .alert-img.img-clear.mirror-x {
  transform: translate(-50%, -50%) scaleX(-1) !important;
  -webkit-transform: translate(-50%, -50%) scaleX(-1) !important;
}

/*ALERT ENDING*/
.alert-notice.alert-ending {
  background: #002266;
  color: #FFF;
  width: 100%;
  padding-left: calc(20% + 28px);
  padding-right: calc(20% + 28px);
}

.alert-notice.alert-ending .alert-img-frame {
  height: calc(100% - 35px);
  position: absolute;
  /* padding-left: 100px; */
  display: block;
  width: 100px;
  max-width: 20%;
  left: 28px;
  top: 16px;
}

.alert-notice.alert-ending .alert-img {
  border: 8px solid #203252;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  position: relative;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
}

@media (max-width: 300px) {
  .alert-notice.alert-ending {
    padding-left: 20px;
    padding-right: 20px;
  }
  .alert-notice.alert-ending .alert-img-frame {
    position: static;
    display: block;
    width: 80px;
    height: 80px;
    text-align: center;
    margin: auto;
    max-width: initial;
  }
  .alert-notice.alert-ending .alert-img {
    transform: none;
    left: 0;
    top: 0;
  }
}
.alert-notice.alert-ending h4 {
  color: #FFF;
}

.alert-notice.alert-ending h3 {
  font-size: 18px;
  color: #FF8B2C;
  margin-top: 0;
}

.alert-notice.alert-ending h3 > strong {
  font-size: 36px;
  color: #FFFFFF;
  opacity: 1;
  display: block;
  font-weight: 700;
  text-transform: none;
  margin-top: 20px;
}

/*
.group-results:not([data-cur-group="A"]) [data-group="A"],
.group-results:not([data-cur-group="B"]) [data-group="B"],
.group-results:not([data-cur-group="C"]) [data-group="C"],
.group-results:not([data-cur-group="D"]) [data-group="D"],
.group-results:not([data-cur-group="E"]) [data-group="E"],
.group-results:not([data-cur-group="F"]) [data-group="F"],
.group-results:not([data-cur-group="G"]) [data-group="G"],
.group-results:not([data-cur-group="H"]) [data-group="H"],
*/
[data-cur-group]:not([data-cur-group=A]) [data-group=A],
[data-cur-group]:not([data-cur-group=B]) [data-group=B],
[data-cur-group]:not([data-cur-group=C]) [data-group=C],
[data-cur-group]:not([data-cur-group=D]) [data-group=D],
[data-cur-group]:not([data-cur-group=E]) [data-group=E],
[data-cur-group]:not([data-cur-group=F]) [data-group=F],
[data-cur-group]:not([data-cur-group=G]) [data-group=G],
[data-cur-group]:not([data-cur-group=H]) [data-group=H] {
  display: none;
}

.badge + .icon.fg-add-circle {
  vertical-align: -2px;
  line-height: 9px;
}

.cart i {
  vertical-align: -5px;
  font-size: 150%;
  margin-right: 5px;
}

.cart .btn {
  font-weight: 700;
  margin-left: 10px !important;
}

.cart[data-num="0"] {
  pointer-events: none;
}

.cart[data-num="0"] .btn {
  opacity: 0.4;
}

kbd.link {
  display: inline-block;
  background: none;
  box-shadow: none;
  color: #333;
  text-decoration: underline;
  font-family: var(--font-default);
  font-size: 100%;
  border: none;
  padding: 0;
}

.fg:not(.league-mantra) .visible-mantra,
.fg.league-mantra .hidden-mantra {
  display: none;
}

@media (max-width: 480px) {
  .cell-role {
    position: relative;
  }
  .cell-role .mantra-roles {
    position: absolute;
    margin: -5px;
    width: 100%;
    height: 100%;
  }
}
.mantra-roles {
  display: block;
  padding-bottom: 2px;
  overflow: visible;
  zoom: 0.9;
  -moz-transform: scale(0.9);
}
.mantra-roles .role {
  margin-right: 2px;
}
@media (max-width: 480px) {
  .mantra-roles {
    display: flex;
    flex-wrap: wrap;
    /* transform: scale(0.5); */
    align-items: center;
    justify-content: space-around;
    width: 100%;
  }
  .mantra-roles .role {
    margin: -1px;
    width: 16px;
    height: 16px;
    font-size: 10px;
    line-height: 10px;
    min-width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.league-mantra .smart-player-role .player-name {
  width: 50%;
  display: inline-block;
  white-space: nowrap;
}

.league-mantra .smart-player-role .mantra-roles {
  float: left;
  min-width: 72px;
}

.league-mantra .modal .smart-player-role .mantra-roles {
  float: left;
  width: 70px;
  zoom: 0.75;
  -moz-transform: scale(0.75);
  /* Firefox */
  display: inline-block;
  padding-top: 2px;
}

.league-mantra .modal .smart-player-role .seriea-player-name {
  max-width: calc(100% - 60px);
  overflow: hidden;
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.edit-modal-row.sponsor-row .control-label:after {
  font-family: "fg-leghe";
  content: "o";
  color: #FFF;
  background: #f21a3c;
  margin-left: 4px;
  padding: 3px;
  border-radius: 50%;
  vertical-align: middle;
  line-height: 6px;
  font-size: 14px;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.edit-modal-row.sponsor-row:not(.sponsor-missing) .control-label:after {
  opacity: 0;
}

/* PANEL LARGE */
.fg .panel-large {
  background: #f7f7f7;
  border-bottom: 8px solid #4992d3;
}

.fg .panel-large .panel-heading {
  margin-top: 8px;
  background-color: #0e377f;
  color: #FFF;
  font-family: var(--font-condensed);
  font-size: 20px;
  text-align: center;
  padding: 20px 10px;
  margin-left: -1px;
  margin-right: -1px;
}

.fg .panel-large .well {
  background: #FFF;
}

.fg .panel-large .well hr {
  margin: 10px 0;
  border-color: #e2e2e2;
}

.fg .panel-large h4 {
  color: #656d80;
  font-size: 16px;
}

.fg .panel-large .well > p {
  font-style: normal;
  font-size: 13px;
  margin-top: 20px;
}

/* PANEL SELECT SPONSOR */
.panel-select-sponsor .logo-container {
  background: none;
}

.panel-select-sponsor .logo-box {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
}

.panel-select-sponsor .logo-frame {
  background: none;
}

.panel-select-sponsor .logo-frame > img:not(.logo-placeholder) {
  filter: drop-shadow(0 0 5px rgba(11, 40, 90, 0.3));
  -webkit-filter: drop-shadow(0 0 5px rgba(11, 40, 90, 0.3));
}

#editModal .counter-inline {
  padding-top: 10px;
}

#editModal .counter-inline label {
  font-size: 12px;
  /* width      : 100%; */
  display: inline-block;
  text-align: right;
  padding-right: 5px !important;
  line-height: 12px;
  vertical-align: middle;
  margin-left: auto;
  vertical-align: middle;
  padding-top: 7px;
}

#editModal .counter-inline .form-group {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  display: -webkit-flex;
  -webkit-flex-direction: row;
  -webkit-flex-wrap: wrap;
}

#editModal .counter-inline .input-group-addon {
  min-width: 30px;
  font-size: 12px;
  padding-left: 5px;
  padding-right: 5px;
  color: #CCC;
  text-align: center;
  line-height: 12px;
  /* vertical-align: middle; */
}

#editModal .counter-inline input.form-control {
  min-width: 40px;
  padding: 0 5px !important;
  display: inline-block;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-size: 12px;
  line-height: 12px;
  vertical-align: middle;
  font-size: 12px;
  font-weight: 700;
  width: 20px;
}

#editModal .counter-inline .input-group-addon + .form-control {
  border-left: none !important;
}

#editModal .counter-inline .error-list {
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
}

#editModal .counter-inline .field-error {
  padding-left: 10px;
  padding-right: 10px;
  text-align: right;
}

.bonusmalus-tab-content .team-row {
  background: #f7f7f7;
}

.bonusmalus-tab-content .team-row .time {
  display: block;
}

.bonusmalus-info {
  padding: 10px;
  font-size: 90%;
}

.bonusmalus-info .bonusmalus-comp-name {
  margin-left: 10px;
  /* margin-bottom: 40px; */
}

.custom-role-list {
  padding: 0 !important;
}

.custom-role-list li {
  padding: 0 20px;
}

.custom-role-list li + li {
  border-top: dashed 1px #CCC;
}

.custom-role-list .item-label {
  text-transform: capitalize;
}

.custom-role-list .item-label > small {
  text-transform: uppercase;
  margin-left: 5px;
}

/*
    il filler nella group-list è stato inserito
    per permettere alla drop-down di essere visualizzata per intera
    altrimenti viene tagliata dalla finestra

*/
.groups-list .filler {
  min-height: 200px;
}

.btn-group-list > ul {
  list-style: none;
}

.btn-group-list > ul > li {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
}

.btn-group-list > ul > li > .btn-group {
  margin-left: auto;
}

.fg .btn-group-circle .btn {
  border-radius: 50% !important;
  width: 23px;
  padding: 0;
  height: 23px;
  color: #FFF !important;
  line-height: 23px;
  display: inline-block;
  position: relative;
  text-align: center;
}

.fg .btn-group-circle .btn:not(.active):not(.disabled) {
  /*background: #CCC;*/
  opacity: 0.3;
}

.fg .btn-group-list-readonly .btn-group-circle .btn.disabled:not(.active) {
  background: #CCC;
  opacity: 1;
}

.fg .btn-group-circle .btn {
  margin: 0 5px;
  outline: none;
}

.btn-group-circle .btn input {
  color: #FFF !important;
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  left: 0;
  top: 0;
}

.fg .btn-group-circle .btn.role-bg-p.disabled,
.fg .btn-group-circle .btn.role-bg-p:focus,
.fg .btn-group-circle .btn.role-bg-p:hover {
  background-color: #f8ab29;
  outline: none;
}

.fg .btn-group-circle .btn.role-bg-d.disabled,
.fg .btn-group-circle .btn.role-bg-d:focus,
.fg .btn-group-circle .btn.role-bg-d:hover {
  background-color: #63c623;
  outline: none;
}

.fg .btn-group-circle .btn.role-bg-c.disabled,
.fg .btn-group-circle .btn.role-bg-c:focus,
.fg .btn-group-circle .btn.role-bg-c:hover {
  background-color: #203252;
  outline: none;
}

.fg .btn-group-circle .btn.role-bg-a.disabled,
.fg .btn-group-circle .btn.role-bg-a:focus,
.fg .btn-group-circle .btn.role-bg-a:hover {
  background-color: #f21a3c;
  outline: none;
}

.fg .btn-group-circle .btn.disabled:not(.active) {
  background-color: #CCC !important;
}

.attachment-container input[type=file] {
  position: absolute;
  left: -9999px;
  top: 0;
}

.attachment-container {
  color: #4992d3;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.attachment-container .filename {
  max-width: 300px;
  overflow: hidden;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 22px;
  vertical-align: middle;
  margin-top: -2px;
}

.attachment-container .placeholder {
  text-decoration: underline;
}

.attachment-container .icon {
  text-decoration: none;
}

.attachment-container:hover {
  color: #60a7e6;
}

.attachment-container .extIcon {
  height: 32px;
  margin-top: -4px;
}

.attachment-container .remove-attach {
  color: #CCC;
  line-height: 12px;
  margin-left: 10px;
}

.attachment-container:not(.has-file) .remove-attach,
.attachment-container:not(.has-file) .extIcon {
  display: none;
}

.attachment-container.has-file .placeholder-icon,
.attachment-container.has-file .placeholder {
  display: none;
}

/* DOCUMENTI DI LEGA */
.list-group-item-document[data-wrap-index="0"] {
  transition-delay: 0ms !important;
}

.list-group-item-document[data-wrap-index="1"] {
  transition-delay: 50ms !important;
}

.list-group-item-document[data-wrap-index="2"] {
  transition-delay: 100ms !important;
}

.list-group-item-document[data-wrap-index="3"] {
  transition-delay: 150ms !important;
}

.list-group-item-document[data-wrap-index="4"] {
  transition-delay: 200ms !important;
}

.list-group-item-document[data-wrap-index="5"] {
  transition-delay: 250ms !important;
}

.list-group-item-document[data-wrap-index="6"] {
  transition-delay: 300ms !important;
}

.list-group-item-document[data-wrap-index="7"] {
  transition-delay: 350ms !important;
}

.list-group-item-document[data-wrap-index="8"] {
  transition-delay: 400ms !important;
}

.list-group-item-document[data-wrap-index="9"] {
  transition-delay: 450ms !important;
}

.list-group-item-document[data-wrap-index="10"] {
  transition-delay: 500ms !important;
}

.list-group-item-document[data-wrap-index="11"] {
  transition-delay: 550ms !important;
}

.list-group-item-document[data-wrap-index="12"] {
  transition-delay: 600ms !important;
}

.list-group-item.list-group-item-document {
  background: #f4f6f9;
  max-height: 0;
  overflow: hidden;
  transform: scale(0);
  transition: 0.2s ease-in-out;
  transition-property: transform, max-height;
  margin-bottom: 10px;
}

.list-group-item.list-group-item-document.wrapped {
  transform: scale(1);
  max-height: 200px;
}

.list-group .list-group-item .row-picture {
  padding-bottom: 10px;
}

.list-group-item.list-group-item-document .row-picture img {
  background: none;
  width: 42px;
  height: 42px;
  object-fit: scale-down;
  text-align: center;
  vertical-align: middle;
  image-rendering: -webkit-optimize-contrast;
}

.list-group-item.list-group-item-document[data-type="0"] .row-picture img {
  background: #3a63af;
  border-radius: 50%;
  padding: 2px;
}

.list-group .list-group-item.list-group-item-document .row-content {
  width: calc(100% - 240px);
  display: inline-flex;
  display: -webkit-inline-flex;
  align-items: start;
  -webkit-align-items: start;
  padding: 10px 0;
  flex-direction: column;
  justify-content: center;
  -webkit-justify-content: center;
}

.document-subtitle {
  font-size: 14px;
  margin-top: 5px;
}

.document-title,
.list-group-item.list-group-item-document .list-group-item-heading {
  color: #1B2C44;
  margin: 0;
}

.list-group-item.list-group-item-document .list-group-item-heading {
  text-decoration: underline;
  font-weight: 700;
}

.list-group-item.list-group-item-document.list-group-item-notice .list-group-item-heading {
  text-decoration: none;
  line-height: 20px;
  margin-bottom: 8px;
}

.document-date,
.list-group-item.list-group-item-document.active .list-group-item-text,
.list-group-item.list-group-item-document .list-group-item-text {
  display: block;
  color: #CCC;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  text-decoration: none !important;
  margin: 0;
}

.list-group-item.list-group-item-document .row-content .action-secondary {
  position: absolute;
  right: 10px;
  top: 5px;
}

.list-group-item.list-group-item-document .row-content .action-secondary i {
  font-size: 24px;
  color: #a5c9e9;
}

.list-group-item.list-group-item-document .row-content .action-secondary .btn-danger i {
  font-size: 24px;
  color: #e85555;
}

.tab-document .panel-body .no-description {
  padding: 10px;
  font-size: 14px;
  color: #CCC;
  display: block;
  margin-top: 10px;
}

@media (max-width: 767px) {
  .list-group .list-group-item .row-picture {
    padding-top: 0;
    padding-bottom: 0;
  }
  .list-group-item.list-group-item-document .row-content .action-secondary {
    top: -3px;
    right: -5px;
  }
  .list-group .list-group-item.list-group-item-document .row-content {
    order: 100;
    width: 100%;
    padding-top: 0;
    margin: 0;
    min-height: 30px;
    padding-bottom: 10px;
  }
  .list-group .list-group-item .row-content .action-secondary ~ * {
    max-width: 100%;
  }
}
/* COMUNICAZIONI DI LEGA */
.communication-header {
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
  -webkit-justify-content: space-between;
}

.communication-header .field > b {
  overflow: hidden;
  max-height: 50px;
  text-overflow: ellipsis;
  /*
  -webkit-line-clamp: 2;
  display           : -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
      */
}

.communication-header .field > b {
  margin-right: 10px;
}

.communication-header .field em {
  color: #CCC;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  padding-right: 5px;
}

.communication-header .field .label {
  margin-right: 10px;
}

.communication-header .nickname {
  font-size: 14px;
  font-weight: 700;
  color: #203252;
}

.label.label-admin {
  background-color: #FF931E;
}

/*Amministratori di lega*/
.label.label-support {
  background-color: #E1584D;
}

/*Supporto*/
.label.label-staff {
  background-color: #194AA4;
}

/*Redazione*/
.action-secondary > div {
  padding: 5px 10px;
  margin: 10px 1px;
  line-height: -3.5;
  display: inline-block;
  vertical-align: middle;
}

.row-picture .label {
  margin-top: 16px !important;
  display: inline-block;
}

.debug [data-field-key]:before {
  content: attr(data-field-key);
  position: absolute;
  background: #EEE;
  padding: 0 8px;
  font-size: 10px;
  border-radius: 2px;
  line-height: 15px;
}

/*RADIO INLINE*/
.radio .circle,
label.radio-inline .circle {
  border: none;
  /* margin-top: -2px; */
}

.team-card-header .media-left {
  min-width: 200px;
  white-space: nowrap;
  padding: 10px;
}

.team-card-header .media-left > .media-object {
  object-fit: scale-down;
  width: 100px;
  /* display: inline-block; */
  height: auto;
  min-width: initial !important;
  max-width: initial !important;
  min-height: initial !important;
  max-height: initial !important;
}

.team-card-header .media-left {
  /* min-width: 200px; */
  white-space: nowrap;
  /* max-width  : 20%; */
  position: relative;
  width: 100px;
  overflow: hidden;
  vertical-align: middle;
}

.main-content.no-competitions .hidden-no-competitions,
.main-content:not(.no-competitions) .visible-no-competitions,
.main-content.no-competitions .hidden-filtered-no-competitions.filtered,
.main-content .visible-filtered-no-competitions:not(.filtered),
.main-content:not(.no-competitions) .visible-filtered-no-competitions.filtered {
  display: none;
}

/*APP-STYLE*/
.app-style .row-toggle .form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  display: -webkit-flex;
  -webkit-flex-direction: column;
  -webkit-align-items: center;
}

.app-style.modal-header {
  margin-bottom: 0;
  background: #203252;
}

.app-style.modal-header span {
  font-weight: 400;
  font-family: var(--font-default);
  font-size: 16px;
}

.app-style.modal-header span small {
  color: #e6e6e6;
  display: block;
  font-size: 70%;
}

.app-style.modal-header .close {
  background: none !important;
  opacity: 1 !important;
}

.app-style .row-toggle .control-label {
  order: 20;
  color: #A2ABC2;
  text-transform: uppercase;
  font-weight: 400;
}

.app-style .row-toggle .toggle:after,
.app-style .row-toggle .toggle:before {
  border: none;
  font-size: 24px;
  font-weight: 400;
}

.app-style .togglebutton.toggle-status label input[type=checkbox]:checked + .toggle:before,
.app-style .togglebutton.toggle-status label input[type=checkbox]:not(:checked) + .toggle:after {
  background: #FAFAFA;
  color: #1E427B;
}

.app-style .form-group.is-focused label,
.app-style .form-group.is-focused label.control-label {
  color: #1E427B;
}

.app-style .togglebutton.toggle-status label input[type=checkbox] + .toggle:before,
.app-style .togglebutton.toggle-status label input[type=checkbox] + .toggle:after {
  background: #FAFAFA;
}

.app-style .row-toggle .input-group {
  order: 10;
  width: auto !important;
}

.app-style .edit-modal-row + .edit-modal-row {
  margin-top: 10px;
}

#editModal .app-style.modal-body > form {
  margin-top: -10px;
  background: #FAFAFA;
}

#editModal .app-style .actions {
  background: #FFF;
  padding: 5px;
}

#editModal .app-style .actions .btn.btn-app {
  background: no-repeat;
  font-size: 20px;
  margin: 0;
  font-weight: 400;
  padding: 10px 20px;
}

#editModal .app-style .actions .btn.btn-app.text-right {
  text-align: right;
}

#editModal .app-style .separator-solid:after,
#editModal .app-style .separator-dashed:after {
  border-color: #EEE !important;
}

.webview #editModal h4 {
  padding: 0 10px;
}

.roster-box .togglebutton label small {
  font-size: 10px;
  vertical-align: 1px;
}

@media (max-width: 544px) {
  .roster-box.zip-xs {
    margin-bottom: 10px;
  }
  .roster-box.zip-xs .togglebutton label small {
    font-size: inherit !important;
    vertical-align: middle;
  }
  .zip-xs:not(.unzip) h5,
  .zip-xs:not(.unzip) .players-table tr:not(.checked):not(.no-results) {
    display: none;
  }
  .zip-xs.roster-box .smart-table {
    background: none;
    outline: none !important;
  }
  .zip-xs:not(.unzip) .players-table tr {
    background: none !important;
    border: none !important;
  }
  .zip-xs:not(.unzip) .players-table td:not([data-key=name]) {
    width: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    opacity: 0;
    pointer-events: none !important;
  }
  .zip-xs:not(.unzip) .players-table td[data-key=name] {
    background: #FFF;
    border-radius: 20px;
    border: none;
    margin-bottom: 2px;
    width: calc(100% - 10px);
    margin-left: 5px;
    margin-right: 5px;
    display: flex;
    display: -webkit-flex;
    padding-left: 4px !important;
  }
  .zip-xs:not(.unzip) .players-table .smart-player-role .mantra-roles {
    display: inline-block;
    order: 1;
  }
  .zip-xs:not(.unzip) .players-table .smart-player-role .seriea-player-name {
    max-width: calc(100% - 80px);
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    order: 2;
    margin-left: 5px;
  }
  .exchange-body form {
    margin-top: 5px;
    margin-left: -1px !important;
    margin-right: -1px !important;
  }
}
@media (min-width: 500px) {
  .row-caption-links .row-caption {
    position: absolute;
    top: 18px;
    right: 5px;
    width: 240px;
    text-align: right;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
  }
}
.row-caption .btn-link {
  color: #203252 !important;
  font-style: italic;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
}

.row-caption .btn-link:hover {
  opacity: 0.5;
}

.row-caption .btn-link + .btn-link {
  margin-left: 10px;
}

/*BUTTON EXTRATIME*/
.team-score .btn-extratime {
  position: absolute;
  background-color: transparent;
  border: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  vertical-align: super;
  top: -26%;
  transition-property: height, width;
  transition: 0.2s ease-in-out;
  -webkit-transition-property: height, width;
  -webkit-transition: 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  display: -webkit-flex;
  -webkit-justify-content: center;
  -webkit-align-items: center;
  left: 10%;
}

.team-score .btn-extratime:before {
  content: "*";
  color: #203252;
  display: inline-block;
  height: 15px;
  width: 15px;
  margin-top: -20%;
  margin-right: -50%;
}

.match-result:hover .team-score .btn-extratime,
.match-result.highlight .team-score .btn-extratime {
  top: 0;
}

.team-home .btn-extratime {
  left: -58%;
}

.team-away .btn-extratime {
  left: 12%;
}

/*POPOVER EXTRATIME*/
.match .popover {
  background: #FFF;
  left: 50% !important;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

.match .popover-content b {
  display: block;
  text-align: center;
  font-size: 20px;
  color: #1c466d;
  line-height: 30px;
  letter-spacing: 4px;
  margin-top: 5px;
}

.match .popover-content {
  text-align: center;
  text-transform: uppercase;
  color: #08c;
  font-weight: 700;
}

.match .popover-content hr {
  border-style: solid;
  margin-bottom: 10px;
  margin-top: 10px;
}

.match .popover-content em {
  display: block;
  font-size: 12px;
  color: #CCC;
  text-transform: initial;
  font-weight: 400;
}

.match .popover-content .autoclose:before {
  content: "W";
  font-family: "fg-leghe";
  position: absolute;
  top: 5px;
  right: 8px;
  width: 14px;
  text-align: center;
  color: #333;
  font-size: 18px;
  opacity: 0.2;
  transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
}

.match .popover-content .autoclose:hover:before {
  opacity: 1;
}

/*REGISTRO ADMIN*/
.tab-admin-registry {
  min-height: 200px;
}

.list-group-item-heading-admin-operation.lazy > *,
.list-group-item.list-group-item-admin-operation.lazy > * {
  /*display: none;*/
}

.list-group-item.list-group-item-admin-operation {
  border: 1px solid #f1f1f1;
  /* margin-bottom: 10px; */
}

.list-group .list-group-item.list-group-item-heading-admin-operation {
  color: #C0C0C0;
  background: #F4F6F9;
  margin: 0;
  border: 1px solid #f1f1f1;
  border-bottom: 0;
  padding: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 14px;
}

.list-group .list-group-item.list-group-item-admin-operation h5 .pull-right {
  color: #C0C0C0;
  font-weight: 300;
}

#wordSearcher {
  position: fixed;
  z-index: 9999;
  top: 10px;
  right: 30px;
  max-width: 300px;
  border-radius: 2px;
  background: #FFF;
  padding: 10px;
}

#wordSearcher .form-group {
  margin: 0;
  padding: 0;
  padding-left: 10px;
  margin-right: 10px;
  display: table-cell;
}
#wordSearcher .form-group .form-control {
  box-shadow: none !important;
  margin: 0 !important;
}

#wordSearcher .input-group .input-group-btn {
  padding-top: 0;
}
#wordSearcher .input-group .input-group-btn .btn {
  margin-bottom: 0 !important;
}

.search-highlight {
  /*outline: 1px solid #FF0000;*/
}

/*.search-current:after,*/
.player-name.search-highlight > *:after,
td.search-highlight > *:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  display: inline-block;
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: 2px;
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
}

.player-name.search-highlight > *:after,
td.search-highlight > *:after,
.search-highlight:not(td):not(.player-name) {
  background: rgba(179, 229, 252, 0.3);
}

.player-name.search-current > *:after,
td.search-current > *:after,
.search-current:not(td):not(.player-name) {
  background: rgba(179, 229, 252, 0.3);
  outline: 1px dashed #03A9F4;
  outline-offset: -1px;
}

#searchMatches {
  color: #CCC;
  display: table-cell;
  min-width: 30px;
  text-align: right;
  padding-left: 10px;
}

.topteam-stats .alert-share {
  display: none;
}

/* CENTRO MESSAGGI */
.list-group.list-group-documents {
  min-height: 300px;
}

.list-group-item.list-group-item-document.list-group-item-notice {
  background: none;
  border-bottom: 1px solid #ddd;
  transition: background 0.2s ease-in-out;
  -webkit-transition: background 0.2s ease-in-out;
  cursor: pointer;
  margin-bottom: 0px;
}

.list-group-item.list-group-item-document.list-group-item-notice.active {
  outline: none;
}

.list-group-item.list-group-item-document.list-group-item-notice.read {
  background: #FFF;
}

.list-group-item.list-group-item-document.list-group-item-notice:not(.read):hover {
  background: rgba(232, 241, 252, 0.1215686275);
}

.list-group .list-group-item.list-group-item-document.list-group-item-notice .row-content {
  /*width: calc(100% - 100px);*/
  width: calc(100% - 60px);
}

.list-group .list-group-item.list-group-item-notice .row-content .action-secondary ~ * {
  max-width: 100%;
}

.list-group-item.list-group-item-document.list-group-item-notice .row-content .action-secondary {
  position: absolute;
  right: 20px;
  top: 21px;
}

.context-options-menu {
  display: block;
  border-bottom: 2px solid #EEE;
  text-align: right;
  padding-bottom: 8px;
  margin-bottom: 0;
}

ul.context-options-menu li {
  display: inline;
  font-weight: 700;
  text-decoration: underline;
  padding: 2px 5px;
}

ul.context-options-menu li + li:before {
  content: "";
  margin: 0 10px -4px 0px;
  /* padding-right  : 5px; */
  /* text-decoration: none!important; */
  display: inline-block;
  width: 1px;
  background: #66789c;
  height: 18px;
}

ul.context-options-menu li > a {
  cursor: pointer;
}

ul.context-options-menu li > a:focus,
ul.context-options-menu li > a:hover {
  text-decoration: none;
  color: #A4C8E8;
}

#notificationsPopup {
  position: absolute;
  z-index: 100;
  width: auto;
  height: auto;
  background: #FFF;
  left: 50%;
  transform: translateX(-50%) scale(1);
  top: calc(100% + 10px);
  max-width: 410px;
  box-shadow: 0 3px 10px 0px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
  transform-origin: top;
  max-width: 95vw;
}

#notificationsPopup.hidden {
  visibility: visible !important;
  display: inline-block !important;
  transform: translateX(-50%) scale(0);
  -webkit-transform: translateX(-50%) scale(0);
}

#notificationsPopup:not(.hidden) .list-group-item.list-group-item-document {
  transform: initial;
  max-height: 200px;
}

#notificationsPopup .list-group.list-group-documents {
  min-height: initial;
  max-height: 300px;
  overflow-y: overlay;
}

#notificationsPopup .list-group .list-group-item.list-group-item-notice .row-content .action-secondary ~ * {
  max-width: 100%;
  white-space: normal;
  width: 320px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#notificationsPopup .notification-popup-header {
  text-align: right;
  border-bottom: 2px solid #EEE;
}

#notificationsPopup .notification-popup-footer {
  text-align: center;
}

#notificationsPopup .notification-popup-header a,
#notificationsPopup .notification-popup-footer a {
  font-family: var(--font-default);
  text-decoration: underline;
}

#notificationsPopup.notices-popup > * {
  position: relative;
  z-index: 5;
}

#notificationsPopup.notices-popup:before {
  content: "";
  height: 20px;
  width: 20px;
  display: inline-block;
  background-color: #FFF;
  position: absolute;
  top: -10px;
  left: calc(50% - 10px);
  transform: rotate(45deg);
  border-bottom: 0;
  border-right: 0;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
  z-index: 0;
}

#notificationsPopup.notices-popup:after {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  background-color: #FFF;
  z-index: 1;
  border-radius: 5px;
}

#notificationsPopup .alert {
  min-width: 260px;
  margin: 10px;
  width: calc(100% - 20px);
}

.list-group-item.list-group-item-notice {
  padding-top: 10px;
  background: #E8F1FC;
}

.list-group-item.list-group-item-notice .row-picture i {
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  display: -webkit-flex;
  -webkit-justify-content: center;
  -webkit-align-items: center;
  background: #F9F9F9;
  color: #203252;
  border: 2px solid #203252;
}

.list-group-item.list-group-item-notice .active-icon {
  transition: font-size 0.2s ease-in-out;
  -webkit-transition: font-size 0.2s ease-in-out;
}

.list-group-item.list-group-item-notice:not(.active) .active-icon {
  font-size: 0;
}

.archived-unread-messages {
  margin-top: 10px;
}

/**************************/
/*** COMPETITION HEADER ***/
/**************************/
.competition-header {
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  background: none;
}

.competition-header .competition-current {
  width: 30%;
  font-size: 20px;
  color: #767d84;
  font-family: var(--font-default);
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  cursor: pointer;
}

.competition-header .competition-current[data-id="0"] {
  width: 100%;
  pointer-events: none !important;
}

.competition-header .caret {
  transition: ease-in-out opacity 0.2s;
  -webkit-transition: ease-in-out opacity 0.2s;
  margin-top: 8px;
  margin-left: 6px;
}

.competition-header:not(:hover) .caret {
  opacity: 0.5;
}

.competition-header .navbar {
  width: 70%;
}

.competition-header .competition-current-name {
  max-width: calc(100% - 50px);
  padding-bottom: 2px;
}

.competition-header .competition-current[data-id="0"] .competition-current-name {
  font-size: 16px !important;
  color: #CCC;
  padding: 2px 10px;
  line-height: 30px;
}

.competition-header .competition-current[data-id="0"] .competition-icon,
.competition-header .competition-current[data-id="0"] .caret {
  display: none;
}

.competition-header small.competition-type {
  font-size: 60%;
  margin-left: 37px;
  color: #9fa8b1;
  flex-basis: 100%;
}

.competition-header > .competition-caret,
.competition-header > .competition-dropdown {
  display: none !important;
}

.competition-current .dropdown-label {
  width: calc(100% - 40px);
  position: relative;
  display: inline-block;
}

.competition-current .dropdown-label .competition-current-name {
  position: relative;
  float: left;
}

.competition-current .dropdown-label .caret {
  margin-top: 0;
}

.competition-current .dropdown-label small.competition-type {
  margin-left: 0;
  float: left;
  width: 100%;
}

.navbar-dropdown.competition-header [data-id="0"] {
  display: none !important;
}

.navbar-dropdown .competition-current .dropdown-label {
  width: auto;
}

.navbar-dropdown.competition-header .competition-current-name {
  font-size: 11px;
  white-space: nowrap;
  max-width: 200px;
  text-overflow: ellipsis;
  overflow: hidden;
  position: relative;
  display: inline-block;
}

.navbar-dropdown.competition-header {
  float: left;
  padding: 10px 10px;
}

.navbar-dropdown.competition-header .competition-current {
  width: 100%;
}

.navbar-dropdown.competition-header .competition-current-name .caret {
  position: absolute;
  right: 6px;
  top: 8px;
}

.navbar-dropdown.competition-header small.competition-type {
  display: none;
}

@media (max-width: 767px) {
  .competition-header .competition-current {
    width: 100%;
  }
  .competition-header .main-menu {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .competition-header .main-menu {
    height: 0 !important;
  }
}
/* BUBBLE MENU */
@media (max-width: 500px) {
  .bubble-menu.competition-header:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF;
  }
  .bubble-menu.competition-header {
    position: fixed;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    top: 70px;
    height: 48px;
    width: 48px;
    right: 20px;
    padding: 0;
    overflow: hidden;
    z-index: 3000;
    background: #FFF;
    border-radius: 24px;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.5));
    transition-property: height, width, border-radius;
    transition-duration: 0.2s;
    transition-timing-function: ease;
    cursor: pointer;
  }
  .bubble-menu.competition-header[data-len="1"] {
    display: none;
  }
  .bubble-menu:not(.navbar-dropdown).open.competition-header {
    max-height: calc(100% - 140px) !important;
    width: calc(100% - 50px);
    border-radius: 20px;
    height: auto;
    padding-bottom: 10px;
    padding-top: 5px;
  }
  .bubble-menu:not(.navbar-dropdown).open .dropdown {
    width: calc(100% - 65px);
    overflow: visible !important;
  }
  .bubble-menu:not(.navbar-dropdown).open .dropdown:after {
    content: "W";
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    top: -4px;
    right: -62px;
    font-family: "fg-leghe";
    align-items: center;
    justify-content: center;
  }
  .bubble-menu.competition-container .dropdown-menu {
    max-width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
    margin-top: -20px;
  }
  /*
      .bubble-menu .navbar-card.collapsed a {
          pointer-events: all !important;
      }*/
  .bubble-menu.competition-header .dropdown {
    flex-shrink: 0;
  }
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .dropdown,
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .competition-current a {
    pointer-events: none !important;
  }
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .dropdown:before {
    content: "P";
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #FFF;
    font-family: "fg-leghe";
  }
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .competition-icon {
    border: 4px solid #FFF;
    border-radius: 50%;
    z-index: 10;
  }
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .competition-icon.competition-icon-1 {
    background-color: #79C843;
  }
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .competition-icon.competition-icon-2 {
    background-color: #1CAAE1;
  }
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .competition-icon.competition-icon-3 {
    background-color: #6E48C1;
  }
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .competition-icon.competition-icon-4 {
    background-color: #37BCAA;
  }
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .competition-icon.competition-icon-5 {
    background-color: #37BCAA;
  }
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .competition-icon.competition-icon-6 {
    background-color: #37BCAA;
  }
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .competition-icon.competition-icon-7 {
    background-color: #EF2042;
  }
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .competition-icon.competition-icon-8 {
    background-color: #EF2042;
  }
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .competition-icon.competition-icon-9 {
    background-color: #EF2042;
  }
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .competition-icon.competition-icon-10 {
    background-color: #F6AA2E;
  }
  .bubble-menu.competition-header:not(.navbar-dropdown):not(.open) .competition-icon.competition-icon-11 {
    background-color: #FF703D;
  }
  .bubble-menu.competition-header.navbar-dropdown .competition-current,
  .bubble-menu.competition-header:not(.open) .competition-current {
    padding: 0;
  }
  .bubble-menu.competition-header.navbar-dropdown .competition-icon,
  .bubble-menu.competition-header:not(.open) .competition-icon {
    width: 48px;
    height: 48px;
    margin: 0;
  }
  .bubble-menu.competition-header nav,
  .bubble-menu.competition-header nav * {
    pointer-events: all !important;
  }
  .bubble-menu.competition-header li a {
    /*pointer-events: all!important;*/
    cursor: pointer;
  }
  .bubble-menu.competition-header .competition-current {
    height: 50px;
  }
  .bubble-menu.competition-header .navbar-card[data-toggle=collapse]::before {
    display: none !important;
  }
  .bubble-menu.competition-header .main-menu {
    padding: 0 !important;
    height: auto !important;
    max-height: calc(100% - 50px);
    overflow-x: hidden;
    overflow-y: auto;
    left: 10px;
    width: calc(100% - 20px) !important;
  }
  .bubble-menu.competition-header .main-menu .container {
    display: flex;
    flex-direction: column;
  }
  .bubble-menu.competition-header .main-menu li {
    max-height: 40px !important;
  }
}
/*********************************************/
/*** COMPETITION HEADER > COMPETITION LIST ***/
/*********************************************/
.competition-header .dropdown-menu.competition-list {
  max-height: 350px;
  padding: 5px;
}

.competition-header .dropdown-menu.competition-list li.dropdown-item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.competition-header .dropdown-menu.competition-list li .competition-icon {
  width: 24px;
  height: 24px;
  margin: -2px 5px 0px 0;
}

.competition-header .dropdown-menu.competition-list li a {
  min-height: 20px;
  line-height: 12px;
  font-size: 14px;
  font-weight: 300;
  color: #a6aeb7;
  padding: 5px;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: initial;
}

.competition-header .dropdown-menu.competition-list li a:hover {
  color: #767d84;
  background-color: transparent;
}

.competition-header .dropdown-menu.competition-list li:nth-child(2n+1) {
  background: none;
}

.competition-header .competition-list li a.no-competition {
  background: #F9F9F9;
  border-radius: 4px;
}

.competition-header .competition-list li a.no-competition:focus,
.competition-header .competition-list li a.no-competition:hover {
  transform: none;
  -webkit-transform: none;
}

/*BUTTON ADMIN*/
.btn.btn-admin:not(.btn-link) {
  background: #f21a3c;
  color: #FFF;
  transform: scale(1);
  transition: transform ease-in-out 0.2s;
  -webkit-transform: scale(1);
  -webkit-transition: transform ease-in-out 0.2s;
}

.btn.btn-admin:not(.btn-link):focus,
.btn.btn-admin:not(.btn-link):hover {
  background: #f21a3c;
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}

.btn.btn-admin:not(.btn-link) i {
  color: #FFF;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.4));
}

.panel {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  /*
  .card-3 {
      box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  }

  .card-4 {
      box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  }

  .card-5 {
      box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
  }*/
}
.panel.panel-flat, .panel.panel-ghost, .panel.row, .panel:not(.panel-clear):not(.panel-settings) .panel {
  box-shadow: none !important;
  /*
  .card-3 {
      box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  }

  .card-4 {
      box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  }

  .card-5 {
      box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
  }*/
}
.panel.panel-settings {
  background: none;
  margin-left: -10px;
  margin-right: -10px;
  width: calc(100% + 20px);
}
.panel.panel-settings:not(.raised) {
  box-shadow: none !important;
  /*
  .card-3 {
      box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  }

  .card-4 {
      box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  }

  .card-5 {
      box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
  }*/
}
.panel.panel-settings > .panel-heading {
  background: none;
}
.panel.panel-settings > .panel-heading a {
  text-decoration: none;
}
.panel.panel-settings.panel-clear > .panel-body {
  padding: 0px;
}
.panel.panel-settings.panel-clear > .panel-footer {
  margin-top: 20px;
}
.panel.panel-settings:not(.panel-clear) > .panel-body {
  padding: 10px;
}
.panel.panel-settings:not(.panel-clear) > .panel-heading .panel-title {
  color: #203252;
  font-size: 22px;
}
.panel.panel-settings .settings-control {
  display: none !important;
}
.panel > .card {
  box-shadow: none !important;
}

.panel.panel-settings .panel-competition {
  margin: 10px;
}

.row-content-type-handlebars .panel-competition {
  margin: 0px !important;
  border-radius: 0;
}

.panel.panel-settings .raised-value .value-content {
  box-shadow: none;
  margin-bottom: -10px;
}

.panel.panel-settings.raised {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.panel.panel-settings.raised > .panel-heading {
  background: #203252 !important;
  padding: 10px !important;
  color: #FFF;
}

.panel.panel-settings.raised > .panel-heading .panel-title {
  color: #FFF;
}

.cell-progress {
  position: relative;
}

.cell-progress .progress {
  position: absolute;
  left: 0;
  top: calc(50% - 4px);
  width: calc(100% - 8px);
  height: calc(100% - 8px) !important;
  margin: 4px;
  border-radius: 4px;
  z-index: 0;
  max-height: 14px;
  justify-content: flex-start;
  -webkit-justify-content: flex-start;
  transform: translateY(-50%);
}

.player-status small {
  font-size: 10px;
  vertical-align: 0;
  line-height: 10px;
  /*top         : -2px;*/
}

td.player-status small:after {
  content: "%";
  opacity: 0.5;
  margin-right: -5px;
}

.player-status .injured {
  background: #f21a3c;
  border-radius: 4px;
  height: 16px;
  width: 16px;
  line-height: 14px;
  color: #fff;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.3));
}

.player-status .disqualified {
  background: #f21a3c;
  border-radius: 4px;
  height: 16px;
  width: 16px;
  line-height: 14px;
  color: #fff;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.3));
}

.player-status:not([data-status="1"]) .progress {
  background: transparent;
}

.player-status[data-status="1"] .progress {
  background: #CFD8E6;
}

.player-status:not([data-status="1"]) .progress {
  opacity: 0.5;
}

.player-status.take-over-value .progress .progress-bar {
  background-color: #A3B3CC;
}

.player-status.starter-value .progress .progress-bar.progress-bar-success {
  background-color: #48D92B;
}

.player-status.starter-value .progress .progress-bar.progress-bar-warning {
  /*background-color: #f1222a;*/
  background-color: #EB9B2D;
}

.player-box {
  width: 100% !important;
}

.nav.navbar-link.navbar-user-links .nav-link {
  text-decoration: none !important;
  text-transform: uppercase;
  font-size: 11px;
  transition: color 0.2s ease-in-out;
  -webkit-transition: color 0.2s ease-in-out;
}

.nav.navbar-link.navbar-user-links .nav-link:hover {
  color: #e7eaed;
}

.nav.navbar-link.navbar-user-links .nav-link + .nav-link:before {
  content: "| ";
  vertical-align: 2px;
  font-size: 9px;
  color: rgb(102, 120, 156) !important;
  margin: 0 2px;
}

/*LEAGUE ELEMENTS*/
img.league-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.market-type-selection .thumb {
  max-width: 48px;
  max-height: 112px !important;
  /* border: 2px solid; */
}

.alert.alert-action {
  background: linear-gradient(to right, #203252 0%, #030509 100%);
}
.alert.alert-action p {
  color: #FFF;
  font-weight: bold;
  float: left;
  /* margin-bottom: 10px; */
  /*padding-top: 5px;*/
}
.alert.alert-action p a {
  color: #FFF;
  transition: border 0.2s ease-in-out;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
}
.alert.alert-action p a:hover {
  border-bottom: 1px dotted #FFF;
}
.alert.alert-action p + p {
  margin: 0 !important;
}
.alert.alert-action em {
  color: rgba(255, 255, 255, 0.8);
  font-size: 90%;
}
.alert.alert-action:before {
  display: table;
  content: " ";
}
.alert.alert-action:after {
  clear: both;
  display: table;
  content: " ";
}

.btn.btn-outline {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
  font-size: 11px;
  padding: 5px 10px;
  /*
  &:before {
      content: "";
      display: inline-block;
      width: 8px;
      height: 8px;
      background-color: #00B7FF;
      margin-right: 10px;
  }*/
}
.btn.btn-outline:hover {
  color: #FFF;
}
.btn.btn-outline.btn-primary {
  border-color: #203252;
  background: #FFF;
}
.btn.btn-outline.btn-primary:before {
  display: none;
}
.btn.btn-outline.btn-primary .icon.icon-left {
  font-size: 13px;
  line-height: 11px;
}

.roster-card .roster-players {
  word-spacing: -2px;
  white-space: nowrap;
}
.roster-card .roster-players .roster-separator {
  margin-right: 5px;
  white-space: pre-line !important;
}
.royale-matchday:not(.calculated) .team-v,
.royale-matchday:not(.calculated) .team-n,
.royale-matchday:not(.calculated) .team-p,
.royale-matchday:not(.calculated) .team-pts {
  display: none;
}
.royale-matchday .row {
  padding: 4px 0px;
  transition: background-color 0.15s ease-in-out;
}
.royale-matchday .row:hover {
  background-color: #e2e3e7;
}
.royale-matchday .row.flex {
  display: flex;
  padding: 4px 0px !important;
}
.royale-matchday .row .team {
  display: flex;
  width: 100%;
  align-items: center;
}
.royale-matchday .row .team .team-shirt,
.royale-matchday .row .team .team-crest {
  width: 32px;
  max-height: initial !important;
  flex-shrink: 0;
}
.royale-matchday .row .team .team-name {
  text-align: left;
  padding: 5px 10px;
  margin: 0;
}
.royale-matchday .row .team .team-summary,
.royale-matchday .row .team .team-v,
.royale-matchday .row .team .team-n,
.royale-matchday .row .team .team-p {
  width: 60px;
  text-align: center;
  background-color: #f0f0f0;
  border-radius: 5px;
  margin: 0 3px;
  color: #c4c4c4;
  white-space: nowrap;
  padding: 0 5px;
  font-size: 12px;
  font-family: var(--font-condensed);
}
.royale-matchday .row .team .team-summary b,
.royale-matchday .row .team .team-v b,
.royale-matchday .row .team .team-n b,
.royale-matchday .row .team .team-p b {
  font-weight: normal;
  opacity: 0.5;
}
.royale-matchday .row .team .team-summary {
  transition: background-color 0.15s ease-in-out;
}
.royale-matchday .row .team .team-summary:hover {
  background-color: #e3e3e3;
  color: #ababab;
}
.royale-matchday .row .team .team-pt {
  width: 80px;
  text-align: center;
  background: #ccd0d6;
  color: #203252;
  border-radius: 5px;
  margin: 0 3px;
  font-weight: bold;
}

#summaryModal .modal-title .team-name {
  color: #FFF;
  font-weight: bold;
  max-width: 170px;
  overflow: hidden;
  display: inline-flex;
  text-overflow: ellipsis;
  width: auto;
}
#summaryModal .modal-title .matchday {
  color: #d2d6dc;
}
#summaryModal .royale-popup-summary {
  width: 100%;
  list-style: none;
  font-size: 14px;
  padding: 0;
  margin: 0;
}
#summaryModal .royale-popup-summary .away .away,
#summaryModal .royale-popup-summary .home .home {
  font-weight: bold;
}
#summaryModal .royale-popup-summary .won .score {
  background-color: #63c623;
  color: #FFF;
}
#summaryModal .royale-popup-summary .lost .score {
  background-color: #f21a3c;
  color: #FFF;
}
#summaryModal .royale-popup-summary .match {
  font-size: 15px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 5px 10px;
}
#summaryModal .royale-popup-summary .match:nth-child(2n+1) {
  background-color: rgba(0, 0, 0, 0.02);
}
#summaryModal .royale-popup-summary .match .score {
  margin-left: auto;
  padding: 2px;
  min-width: 28px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#summaryModal .royale-popup-summary .match .home,
#summaryModal .royale-popup-summary .match .away {
  margin: 0 5px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*
.calendar {
    .popover {
        max-width: initial;
        border-radius: 5px;

        .popover-content {
            padding: 0;
        }
    }
}
*/
.edit-modal-row.row-counter .error-list {
  top: 100%;
  position: absolute;
  left: 0px;
  width: 100%;
  z-index: 100;
}
.edit-modal-row.row-counter .error-list .field-error {
  padding: 10px;
  background-color: #f21a3c;
  color: #FFF;
  border-radius: 5px;
}

[data-fanta-team] {
  isolation: isolate;
  contain: layout;
}
[data-fanta-team] [data-key=name] .seriea-player-name {
  line-height: inherit;
  justify-content: flex-start;
}
.league-mantra [data-fanta-team] [data-key=name] .seriea-player-name {
  width: calc(100% - 60px);
}
[data-fanta-team] [data-key=name] .seriea-player-name > a {
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}
.league-mantra [data-fanta-team] [data-key=name] .mantra-roles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: initial;
  order: -1;
  flex-shrink: 0;
  float: left;
}
@media (max-width: 500px) {
  [data-fanta-team] [data-key=name] {
    display: flex;
  }
  [data-fanta-team] [data-key=name] > * {
    line-height: inherit;
  }
  [data-fanta-team] [data-key=name] .mantra-roles {
    margin-left: -10px;
  }
}

.switch-modal > table {
  table-layout: auto !important;
}
.switch-modal > table tr:not(:has(input[name=formation]:checked)) [data-key=schemes] select {
  pointer-events: none;
  opacity: 0.5;
}
.switch-modal [data-key=schemes] select {
  border-radius: 5px;
  border-color: #d8dbe1;
  cursor: pointer;
  transition: opacity 0.2s ease;
  min-width: 100%;
  opacity: 1;
}
.switch-modal [data-key=schemes] select[disabled] {
  opacity: 0.5;
  appearance: none;
  border: none;
  background-color: transparent;
  cursor: default;
  padding: 0 14px !important;
}
