/*Color palette
- dark blue: #19535F;
- electric blue: #0B7A75;
- grey: #D7C9AA;
- red: #7B2D26;
- light grey: #F0F3F5;
- text black: #0f3239;
*/



/*fonts*/
html{
  font-family: "Trebuchet MS"; 
  line-height: 1.6; 
  padding: 0; 
  margin:0;
}
body {
  font-family: "Trebuchet MS"; 
  line-height: 1.6;
  font-size:1.1rem;
  padding: 0; 
  margin:0;
  height:100%;
  color: #001718;
  padding-top: 40px;
}
.error-text {
  color: red;
}
footer {
  font-family: "Trebuchet MS"; 
  line-height: 1.6; 
  font-size:12px; 
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 20px;
  background: #fff;
  color: grey; 
}
h1 {
  font-size: 2.5rem;
  color: #19535F;
  text-shadow: 5px 5px 5px #F0F3F5;
  font-variant: small-caps;
  margin-top:0.3em;
  margin-block-end:0.1em;
}
h2 {
  font-size: 1.75rem;
  background-image: linear-gradient(#19535F, #0B7A75);
  color: transparent;
  -webkit-background-clip: text;
  margin-top:0.2em;
  margin-block-end:0.1em;
}
h3 {
  font-size: 1.3rem;
  background-image: linear-gradient(#19535F, #0B7A75);
  color: transparent;
  -webkit-background-clip: text;
  margin-top:0.1em;
  margin-block-end:0.1em;
}


/*Table styling*/
table {
  width:90%; 
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  min-width: 300px;
}
th {
  padding: 12px 15px;
  font-weight: normal;
  text-transform: uppercase;
  background-color: #19535F;
  color: #fff;
  text-align: left;
} 
th a {
  color:#fff;
}
th a:hover {
  color: #F0F3F5;
}
th a:link {
  color:#fff;
}
td {
  text-align: left; 
  padding: 12px 15px;
} 
tr {
  border-bottom: 1px solid #dddddd;
  vertical-align: middle;
}
.nohover{
  border-bottom: 0px solid black;
  border-top: 0px solid black;
  border-collapse: collapse;
}
.nohover:hover {
  background: none; 
}
.no-hover:hover{
  background: none; 
}
tr:hover {
  background: #F0F3F5; 
}
tbody tr.active-row {
  font-weight: bold;
  color: #D7C9AA;
}
tr:first-child th:first-child {
  border-top-left-radius: 10px;
}
tr:first-child th:last-child {
  border-top-right-radius: 10px;
}
.matchdetailstable{
  width:300px;
}
.sticky th:nth-child(1),
.sticky td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 1;
}

.no-sticky th:nth-child(1),
.no-sticky td:nth-child(1) {
    position: static;
    left: auto;
}

/* Ensure navbar appears above all content */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

/* Main Navbar */
.navbar {
    background-color: #19535F;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 40px;
    overflow: visible; /* Allow dropdowns to show */
}

/* Logo/Home */
.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo a,
.nav-logo a:link,
.nav-logo a:visited {
    color: white !important;
    text-decoration: none !important;
}

.nav-logo img {
    height: 24px;
    vertical-align: middle;
    /* Remove filter to show original image */
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    position: static; /* Ensure proper positioning */
}

.nav-item {
    position: relative;
    z-index: 1001; /* Ensure dropdowns appear above other content */
}

.nav-link,
.nav-link:link,
.nav-link:visited {
    color: white !important;
    text-decoration: none !important;
    padding: 10px 16px; /* Reduced from 20px to 10px for vertical padding */
    display: block;
    font-size: 14px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
    background-color: #206a79;
    color: white !important;
    text-decoration: none !important;
}

/* Dropdown Styles */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f0f5f3;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1002; /* Higher z-index to appear above navbar */
    border-radius: 4px;
    overflow: hidden;
}

.nav-item:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a,
.dropdown-content a:link,
.dropdown-content a:visited {
    color: #333 !important;
    padding: 12px 16px;
    display: block;
    text-decoration: none !important;
    font-size: 14px;
    transition: background-color 0.2s ease;
    float: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
    background-color: #ddd;
    color: #000 !important;
    text-decoration: none !important;
}

/* Search Form */
.search-container {
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
    margin-left: 20px;
}

.search-input {
    margin-top: 15px;
    padding: 8px 12px;
    border: none;
    border-radius: 15px;
    font-size: 12px;
    width: 200px;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
}

.search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    color: white;
    font-size: 24px;
}

.search-toggle:hover {
    opacity: 1;
}

.advanced-search-panel {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 15px;
    padding: 15px;
    width: 320px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-top: 5px;
}

.search-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    align-items: center;
}

.search-field {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ccc;
    border-radius: 15px;
    font-size: 12px;
    box-sizing: border-box;
    margin: 4px 0;
}

.search-field-small {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 15px;
    font-size: 11px;
    min-width: 0;
    box-sizing: border-box;
    margin: 4px 0;
}

.search-select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 15px;
    font-size: 12px;
    background: white;
    box-sizing: border-box;
    margin: 4px 0;
}

.checkbox-row {
    justify-content: space-around;
}

.search-checkbox {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.search-checkbox input {
    margin: 0;
}

.search-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.search-btn, .clear-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    box-sizing: border-box;
}

.search-btn {
    background: #19535F;
    color: white;
}

.search-btn:hover {
    background: #19535F;
}

.clear-btn {
    background: #6c757d;
    color: white;
}

.clear-btn:hover {
    background: #545b62;
}

/* Mobile adjustments */
@media screen and (max-width: 680px) {
    .advanced-search-panel {
        width: 280px;
        right: 10%;
        top: -500%;
    }
    
    .search-wrapper {
        width: 100%;
    }
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
}

/* Mobile Styles */
@media screen and (max-width: 1024px) {
    .search-input {
        width: 150px;
    }
    
    .nav-link {
        padding: 20px 12px;
        font-size: 13px;
    }
}

@media screen and (max-width: 1024px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 40px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #19535F;
        flex-direction: column;
        align-items: stretch;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-link {
        padding: 15px 20px;
        font-size: 16px;
        border-bottom: none;
    }

    /* Mobile Dropdown */
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(255,255,255,0.1);
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item.active .dropdown-content {
        max-height: 500px;
    }

    .dropdown-content a,
    .dropdown-content a:link,
    .dropdown-content a:visited {
        color: rgba(255,255,255,0.9) !important;
        padding: 12px 40px;
        font-size: 14px;
        text-decoration: none !important;
    }

    .dropdown-content a:hover,
    .dropdown-content a:focus {
        background-color: rgba(255,255,255,0.1);
        color: white !important;
        text-decoration: none !important;
    }

    /* Mobile Search */
    .search-container {
        width: 100%;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 0 0 3% 3%;
    }

    .search-form {
        width: 100%;
        margin: 0;
    }

    .search-input {
        width: 100%;
        border-radius: 15px;
        padding: 12px;
    }
}


/*Tooltips*/
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  min-width: 100px;
  max-width: 150px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 2px 0;
  font-size: 0.8rem;
  text-shadow: none;
  font-variant: none;
  line-height: normal;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

/*Budget panel in Teams*/
.budget-summary {
  max-width: 500px;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.budget-summary td {
  padding: 6px 10px;
}
.budget-summary .section {
  background-color: #f0f0f0;
  font-weight: bold;
}
.budget-summary .value {
  text-align: right;
}
.budget-note {
  font-size: 0.9em;
  color: #777;
}


/*Stadium panel in teams*/
.stadium-card {
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    max-width: 600px;
}
.stadium-card h3 {
    margin-top: 0;
}
.stadium-card img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.stadium-form input[type="text"],
.stadium-form input[type="number"],
.stadium-form input[type="submit"] {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin: 6px 0 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}
.success-message {
    color: green;
    font-weight: bold;
}
.error-message {
    color: crimson;
    font-weight: bold;
}
.info-note {
    color: #555;
    font-size: 0.9em;
}

.stadiumpanel {
  float:right;
  margin-right:300px;
  text-align:center;
}
@media screen and (max-width: 600px) {
  .navbar a .dropdown .dropbtn {
    width: 100%;
  }
  .navbar .icon {
  display: block;
}
  .responsivemenu {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    display: none;
  }
  .responsivemenu.visible {
    display: block;
    z-index: 5000;
  }
  .responsivemenu > *{
    display: block;
    width: 100%;
    float: none;
    background: #19535F;
    text-align: center;
  }
  .dropdown-content {
    display: block;
    position: relative;
    left: 0;
    top: 0px;
  }
  .responsivemenu a {
    display: block;
    width: 100%;
    float: none;
  }
  .responsivemenu .searchform {
    padding-bottom: 8px;
    padding-right: 0px;
  }
  .hiddentablecolumn {
    display:none;
  }
  td{
    padding:4px 4px;
  }
  h1{
    font-size: 2rem;
  }
  h2{
    font-size: 1.4rem;
  }
  h3{
    font-size: 1.2rem;
  }
  body{
    font-size: 0.9rem;
  }
  table{
    width:100%;
    font-size: 0.8rem;
    margin-top: 10px; 
  }
  progress{
    max-width: 100px;
  }
  .matchdetailstable{
    width:46vw;
  }
  .stadiumpanel{
    margin-right:0;
    float:none;
  }
  .stadiumpanel img {
    max-width: 200px;
  }
}
.searchform{
  float:right; 
  padding-right: 10px;
  height:45px;
}
.searchinput{
  height:35px;
  border-radius: 15px;
}

/*Image styling*/
.roles{
  cursor:pointer;
  filter: grayscale(100%);
  opacity: 0.25;
}
.roles:hover{
  filter: none;
  opacity: 1;
}
.activerole:hover{
  filter: grayscale(100%);
  opacity: 0.25;
}
.shirts{
  height: 150px;
}
.logos {
  width: 150px;
}
.matchlogos {
  max-width: 200px;
  height: auto;
}
@media screen and (max-width: 800px){
    .logos {
      max-width: 80px;
      height: auto;
    }
    .shirts {
      max-height:80px;
      width:auto;
    }
    .responsivediv {
      width:30%;
      text-align: right;
    }
    .matchlogos {
      max-width: 80px;
      height: auto;
    }
}

/*icons styling*/

.minilogo {
  max-width:40px;
  vertical-align:middle;
  text-align:center;
}

.smallicon {
  width: 24px; 
  height: 24px;
  vertical-align:bottom;
}

.effectificon {
  height: 1rem;
  vertical-align: middle;
}

/*Form styling*/
input[type=number], 
input[type=text]:not(.search-input),
input[type=password], 
select, 
textarea {
  max-width: 400px;
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 15px;
  box-sizing: border-box;
}
select>option{
  background-color: #F0F3F5;
  border-radius: 0 0 10px 10px;
}
input[type=submit] {
  max-width: 400px;
  width: 100%;
  background-color: #0B7A75;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: 1px solid #0B7A75;
  border-radius: 15px;
  cursor: pointer;
}
input[type=submit]:hover {
  background-color: #fff;
  border: 1px solid #0B7A75;
  color: #0B7A75;;
}

/*New transfer forms*/

.transfer-form {
    max-width: 410px;
    margin: 10px 0;
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group textarea {
    height: 80px;
    resize: vertical;
}

.transfer-type-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.transfer-type-toggle label {
    cursor: pointer;
    padding: 10px 15px;
    border: 2px solid #0B7A75;
    border-radius: 5px;
    background-color: white;
    transition: background-color 0.3s;
}

.transfer-type-toggle input[type="radio"] {
    display: none;
}

.transfer-type-toggle input[type="radio"]:checked + label {
    background-color: #0B7A75;
    color: white;
}

.exchange-section {
    display: none;
    background-color: #d4ebe1;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.submit-btn {
    background-color: #0B7A75;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.submit-btn:hover {
    background-color: #0B7A75;
}

.alert {
    max-width: 400px;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/*FAQ*/
.section-title {
            font-size: 1.8em;
            color: #2c3e50;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 3px solid #3498db;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 50px;
            height: 3px;
            background: #e74c3c;
        }

        .faq-item {
            margin-bottom: 30px;
            background: #f8f9fa;
            border-radius: 12px;
            padding: 25px;
            border-left: 5px solid #3498db;
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            background: #e8f4fd;
            transform: translateX(5px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
        }

        .question {
            font-weight: 600;
            font-size: 1.1em;
            color: #2c3e50;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }

        .question::before {
            content: "Q";
            background: #3498db;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-right: 15px;
            font-size: 0.9em;
        }

        .answer {
            color: #555;
            line-height: 1.7;
            margin-left: 45px;
        }

        .answer em {
            background: #fff3cd;
            padding: 2px 6px;
            border-radius: 4px;
            font-style: normal;
            color: #856404;
            font-weight: 500;
        }

        .formation-list {
            background: #f1f8ff;
            padding: 20px;
            border-radius: 8px;
            margin: 15px 0;
            border-left: 4px solid #3498db;
        }

        .formation-list ul {
            list-style: none;
            columns: 2;
            column-gap: 30px;
        }

        .formation-list li {
            margin-bottom: 8px;
            padding: 5px 0;
            position: relative;
        }

        .formation-list li::before {
            content: "⚽";
            margin-right: 10px;
            color: #3498db;
        }

        .highlight-box {
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
            color: white;
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
            box-shadow: 0 4px 15px rgba(238, 90, 82, 0.3);
        }

        .highlight-box strong {
            display: block;
            font-size: 1.1em;
            margin-bottom: 10px;
        }

        .age-guide {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin: 20px 0;
        }

        .age-item {
            background: white;
            padding: 15px;
            border-radius: 8px;
            border: 2px solid #e3e6ea;
            text-align: center;
            transition: all 0.3s ease;
        }

        .age-item:hover {
            border-color: #3498db;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
        }

        .age-range {
            font-weight: bold;
            color: #3498db;
            font-size: 1.1em;
        }

        .age-multiplier {
            color: #e74c3c;
            font-weight: bold;
            font-size: 1.2em;
        }

        @media (max-width: 768px) {
            .content {
                padding: 30px 25px;
            }
            
            .formation-list ul {
                columns: 1;
            }
            
            .age-guide {
                grid-template-columns: 1fr;
            }
        }

/*Special divs*/
div {
  overflow-x:auto;
}
.columns {
  display: flex;
}
.columns > div {
  flex: auto;
}
@media screen and (max-width: 1200px){
  .columns {
    display: block;
  }
  /*table tr.heading{
    display: none;
  }
  table tr {
    display: block;
  }*/
}
.left {
  width: 65%; 
  float: left; 
  display: inline-block;
  z-index: 1;
}
@media screen and (max-width: 1200px) {
  .left {
    width: 100%;
    float: none;
  }
}
.right {
  width: 35%; 
  float: right;
  margin-left: 5;
  display: inline-block;
}
@media screen and (max-width: 1200px) {
  .right {
    width: 97%;
    float: none;
  }
}

.halfleft {
  width: 45%; 
  float: left; 
  display: inline-block;
  z-index: 1;
}
@media screen and (max-width: 1200px) {
  .halfleft {
    width: 100%;
    float: none;
  }
}
.halfright {
  width: 45%; 
  float: right; 
  display: inline-block;
}
@media screen and (max-width: 1200px) {
  .halfright {
    width: 100%;
    float: none;
  }
}
.bigleft {
  width: 85%; 
  float: left; 
  display: inline-block;
  z-index: 1;
}
@media screen and (max-width: 1200px) {
  .bigleft {
    width: 100%;
    float: none;
  }
}
.smallright {
  width: 15%; 
  float: right; 
  display: inline-block;
}
@media screen and (max-width: 1200px) {
  .smallright {
    width: 100%;
    float: none;
  }
}
.container {
  text-align: center;
}
.image {
  max-width: 300px;
  transition: .5s ease;
}
.image-main {
  max-width: 200px;
  transition: .5s ease;
}
.container:hover .image{
  opacity:0.8;
  cursor: pointer;
}
@media screen and (max-width: 1200px) {
  .image {
  max-width: 180px;
  }
}
@media screen and (max-width: 900px) {
  .image {
  max-width: 140px;
  }
}
@media screen and (max-width: 600px) {
  .image {
  max-width: 300px;
  width: 100%;
  }
}
.tab{
  cursor: pointer;
  padding:10px 20px;
  margin:0px 2px;
  background:#19535F;
  display:inline-block;
  color:#fff;
  border-radius:10px 10px 0px 0px;
  overflow:visible;
}
.tabinator {
  background: #fff;
  padding: 2px;
}
.tabinator h2 {
  text-align: left;
  margin-bottom: 20px;
}
.tabinator input[type=radio] {
  display: none;
}
.tabinator label {
  box-sizing: border-box;
  display: inline-block;
  padding: 15px 25px;
  color: #ccc;
  margin-bottom: -1px;
  margin-left: -1px;
}
/*.tabinator label:before {
  content:'';
  display:block;
  width:100%;
  height:15px;
  background-color:#fff;
  position:absolute;
  bottom:-11px;
  left:0;
  z-index:10;  
}*/
.tabinator label:hover {
  color: #000;
  cursor: pointer;
}
.tabinator input:checked + label {
  position: relative;
  color: #000;
  background: #fff;
  border: 1px solid #bbb;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}
.tabinator input:checked + label:after {
  display: block;
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
/*  box-shadow: 0 0 15px #939393;*/
}
#content1, #content2, #content3, #content4, #content5, #content6, #content7 {
  display: none;
/*  border-top: 1px solid #bbb;*/
  padding: 15px;
}
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5,
#tab6:checked ~ #content6,
#tab7:checked ~ #content7 {
  display: block;
  box-shadow: 0 0 2px #939393;
}


.button {
  background-color: #0B7A75;
  border-radius:15px;
  border: 1px solid #0B7A75;
  color: white;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}
.button:hover{
  background-color: white;
  color:#0B7A75;
  border: solid #0B7A75 1px;
}
.inversed-button{
  background-color: white;
  border-radius:15px;
  border: 1px solid #0B7A75;
  color: #0B7A75;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}
.inversed-button:hover{
  background-color: #0B7A75;
  color:white;
  border: solid #0B7A75 1px;
}

a {
  text-decoration: none;
  color: #424949;
}

a:link {
  text-decoration: none;
  color: #424949;
}

a:visited {
  text-decoration: none;
}

a:hover {
  color: #000;
}

a:active {
  color: #eee;
}
a.button{
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;

  text-decoration: none;
  color: white;
}
/* Removes the clear button from date inputs */
input[type="date"]::-webkit-clear-button {
    display: none;
}

/* Removes the spin button */
input[type="date"]::-webkit-inner-spin-button { 
    display: none;
}

/* Always display the drop down caret */
input[type="date"]::-webkit-calendar-picker-indicator {
    color: #2c3e50;
}

/* A few custom styles for date inputs */
input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 16px;
    display: inline-block !important;
    visibility: visible !important;
    max-width: 200px;
    width: 100%;
    padding: 8px 16px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 15px;
    box-sizing: border-box;
}

input[type="date"], focus {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}
.matcheventhome{
      position: relative;
      width: 44%;
      height: auto;
      border: 2px solid #eee;
      /*margin: 100px auto;*/
      padding: 2px;
      box-sizing: border-box;
      padding-left: 15px;
    }
.matcheventhome:after{
      position: absolute;
      width: 5px;
      height: 5px;
      border-top: 2px solid #eee;
      border-right: 2px solid #eee;
      border-bottom: 0px solid #eee;
      border-left: 0px solid #eee;
      top:50%;
      left: 100%;
      margin-left: -2px;
      content: '';
      transform: rotate(45deg);
      /*margin-top: -25px;*/
      background: #fff;
    }
    .matcheventaway{
      position: relative;
      width: 44%;
      height: auto;
      border: 2px solid #eee;
      /*margin: 100px auto;*/
      padding: 2px;
      padding-right: 15px;
      box-sizing: border-box;
    }
.matcheventaway:after{
      position: absolute;
      width: 5px;
      height: 5px;
      border-top: 0px solid #eee;
      border-right: 0px solid #eee;
      border-bottom: 2px solid #eee;
      border-left: 2px solid #eee;
      top:50%;
      left: 0%;
      margin-left: -5px;
      content: '';
      transform: rotate(45deg);
      /*margin-top: -25px;*/
      background: #fff;
    }
.warpper{
  display:block;
  flex-direction: column;
  align-items: center;
  overflow:visible;
}
.tabs{
  min-height:65px;
}
.tab{
  text-align: center;
}
.panels{
  background:#ffffff;
  box-shadow: 2px 2px 2px 2px #eee;
  /*min-height:200px;*/
  width:100%;
/*  max-width:65%;*/
  overflow:visible;
  /*padding:20px; */ 
}
.panel{
  display:none;
  animation: fadein .8s;
}
@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
.panel-title{
  font-size:1.5em;
  font-weight:bold
}
.radio{
  display:none;
}
#one:checked ~ .panels #one-panel,
#two:checked ~ .panels #two-panel,
#three:checked ~ .panels #three-panel,
#four:checked ~ .panels #four-panel,
#five:checked ~ .panels #five-panel,
#six:checked ~ .panels #six-panel,
#seven:checked ~ .panels #seven-panel,
#eight:checked ~ .panels #eight-panel,
#nine:checked ~ .panels #nine-panel,
#ten:checked ~ .panels #ten-panel,
#eleven:checked ~ .panels #eleven-panel,
#twelve:checked ~ .panels #twelve-panel,
#thirteen:checked ~ .panels #thirteen-panel,
#fourteen:checked ~ .panels #fourteen-panel,
#fifteen:checked ~ .panels #fifteen-panel,
#sixteen:checked ~ .panels #sixteen-panel,
#seventeen:checked ~ .panels #seventeen-panel,
#eighteen:checked ~ .panels #eighteen-panel,
#nineteen:checked ~ .panels #nineteen-panel,
#twenty:checked ~ .panels #twenty-panel,
#twentyone:checked ~ .panels #twentyone-panel,
#twentytwo:checked ~ .panels #twentytwo-panel,
#twentythree:checked ~ .panels #twentythree-panel,
#twentyfour:checked ~ .panels #twentyfour-panel{
  display:block
}
#one:checked ~ .tabs #one-tab,
#two:checked ~ .tabs #two-tab,
#three:checked ~ .tabs #three-tab,
#four:checked ~ .tabs #four-tab,
#five:checked ~ .tabs #five-tab,
#six:checked ~ .tabs #six-tab,
#seven:checked ~ .tabs #seven-tab,
#eight:checked ~ .tabs #eight-tab,
#nine:checked ~ .tabs #nine-tab,
#ten:checked ~ .tabs #ten-tab,
#eleven:checked ~ .tabs #eleven-tab,
#twelve:checked ~ .tabs #twelve-tab,
#thirteen:checked ~ .tabs #thirteen-tab,
#fourteen:checked ~ .tabs #fourteen-tab,
#fifteen:checked ~ .tabs #fifteen-tab,
#sixteen:checked ~ .tabs #sixteen-tab,
#seventeen:checked ~ .tabs #seventeen-tab,
#eighteen:checked ~ .tabs #eighteen-tab,
#nineteen:checked ~ .tabs #nineteen-tab,
#twenty:checked ~ .tabs #twenty-tab,
#twentyone:checked ~ .tabs #twentyone-tab,
#twentytwo:checked ~ .tabs #twentytwo-tab,
#twentythree:checked ~ .tabs #twentythree-tab,
#twentyfour:checked ~ .tabs #twentyfour-tab{
  background:#fff;
  color:#0f3239;
  border-top: 3px solid #19535F;
}

.backgroundpopup{
  background-color:rgba(255,255,255,0.5);
  z-index:7;
  position:fixed;
  top:0;
  left:0;
  height:100%;
  width:100%;
}
.popupform{
  top: 50%;
  left: 50%;
  margin-top: -9em;
  margin-left: -10em;
  margin-right: 1em;
  border: 1px solid #F0F3F5;
  background-color: white;
  z-index: 8;
  padding:10px;
  border-radius: 15px;
  position: fixed;
  min-width: 250px;
}
.closebutton{
  width: 24px; 
  height:24px; 
  vertical-align:bottom; 
  position:absolute; 
  top:5;
  right:5;
  cursor: pointer;
  opacity: 0.7;
}
.closebutton:hover{
  opacity:1;
}

progress[value] {
  -webkit-appearance: none;
  appearance: none;
  height: 10px;
}
progress[value]::-webkit-progress-bar {
  background-color: white;
}
progress[value].winner::-webkit-progress-value {
  background-image: 
    -webkit-linear-gradient(left, #0B7A75, #0B7A75);
}
progress[value].loser::-webkit-progress-value {
  background-image: 
    -webkit-linear-gradient(left, #0B7A75, #0B7A75);
    opacity: 0.5;
}
.left-progress{
  transform:rotate(180deg);
}

