@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

* {
    font-family: 'Open Sans', sans-serif;
}

.button{
    min-height: unset;
}

/* temp */
#overlay {
    z-index:99999;
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background-color: white;
    display:none;
}
/* */

.centre { text-align: center !important; }

.page{
    color: #455a64;
}

.page__background {
    background-color:white;
}

.bgDark {
    background-color:darkblue
}
.fgLight {
    color:white;
}
.bgRed { background-color: red; color:white; }
/* .bgGreen { background-color: green; color:white;} */

.toolbar{
    background-color: #3c8dbc;
    color: white;
}
.toolbar ons-icon{
    color: white;
}

.toolbar ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #ddd;
}

.colour-grey { color:grey; }
.colour-red { color:red; }

.pointer { cursor:pointer; }

.toolBarTitle { 
  display:flex;
  align-items:center;
  justify-content: center;
  /* font-size: calc(2vw + 1vh + 0.5vmin); */
  font-size: 1.2em;
  line-height: normal;
  white-space: normal; 
  /* width: calc(100%-88px); 
  width: -webkit-calc(100% - 88px); 
  width:-moz-calc(100% - 88px); */
  flex: 1;
}
.navIcon { width:44px; min-width:unset;}
body {background-color:white !important;}
#childListMenu { display:none; }
.menuText { 
    display:inline-block; 
    /* margin-left:5px;  */
    width: calc(100% - 55px);
}
.avatar1 { width:50px; vertical-align: middle; border-radius:20%;}
.spacerR { margin-right:10px;}
.sz12 { font-size: 12px; }
.sz14 { font-size: 14px; }
.sz16 { font-size: 16px; }
.sz18 { font-size: 18px; }
.sz20 { font-size: 20px; }
.sz24 { font-size: 24px; }
.bold { font-weight: bold; }
.teamName { font-size: 10px; }
.mleft10 { margin-left:10px; }
.header { font-weight: bold; font-size: 1.2em; }
.banner { font-weight: bold; font-size: 1.2em; width:100%; margin-bottom:20px;}
.highlight { background-color: yellow !important; }
.scheduleRowHeader {
    width:33%;
}
.list { background-color: white !important; }
#home-map-icon {
    display:none;
}
.lteam { margin-left:5px; font-size: 1.2em; line-height:1em; display:inline-block; vertical-align:top; text-align:left; }
.rteam { margin-right:5px; font-size: 1.2em; line-height:1em; display:inline-block; vertical-align:top; text-align:right; }
.minTable {
    width:100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 10px;
    text-align: center;
}
.minTable tr:first-child {
    /* background-color:#F3F3F3; */
}
.minTable tr:first-child td {
    border-radius: 4px;
    padding: 3px;
    background-color: #eceff1;
    font-weight: 600;
    font-size: 12px;
    color: #455a64;
}

.spaceTable {
    width:100%;
    font-size: 10px;
    text-align: center;
}
.spaceTable tr:first-child {
    background-color:#F3F3F3;
}
.poolTeam { float:left;margin-left:5px;line-height:1em;margin-top:10px;max-width:50%; font-size:12px;}
.tag { font-weight: bold; margin-left:10px; margin-right:10px; }
.t-left { text-align: left !important; }
.t-center { text-align: center !important; }
.t-right { text-align: right !important; }
.avatarThumb {
    border-radius: 20%;
    height:40px;
    margin:0px 5px;
    vertical-align: middle;
}
.avatarTiny {
    border-radius: 20%;
    height:20px;
    margin:0;
    vertical-align: middle;
}

.poolMatch {
    background-color:#FFF;
}
.noPoolMatch {
    background-color:#F3F3F3;
}

.poolMatchResults {
    display:none;
}

.prediction {
    color:rgba(255, 0, 0, 0.5);
}
.predictionShadow {
    color:rgba(0, 200, 0, 0.5);
}

#showAllTournaments {
    display:none;
}
.horizontalScroll {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
}

.rightArrow {
    position:absolute;
    right: 20px;
}

#team-list { margin-top: 15px; }
#team-list ons-row{ font-size: 0.8em; }
#team-list ons-row ons-col{ padding: 5px; }
#team-list .row .col{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px 0;
}
#team-list .row .col .teamGrid {
    width: 33%;
    text-align: center;
}
#team-list .tourn-title {
    text-align:center;
    font-weight:bold;
    margin-top:15px;
    margin-bottom:5px;
}

.filterButton { visibility: hidden; }
.score, .scheduleScore { font-size:2em; font-weight: bold; vertical-align: middle; white-space: nowrap;}
.filterControls { display:block; border-bottom:1px solid lightgrey; }

ons-row { margin-bottom: 10px; }

/*
 *  Knockout Layout Specifics
*/
main {
  display:flex;
  flex-direction:row;
  width: calc(100vw - 30px)!important;
}
.round{
  display:flex;
  flex-direction:column;
  justify-content:center;
 /* width:250px; */
  list-style:none;
  padding:0;
}
.round .spacer{ flex-grow:1; text-align: center; }
.round .spacer:first-child,
.round .spacer:last-child{ flex-grow:.5; }

.round .game-spacer{
 flex-grow:1;
}

/*
 *  knockout general
*/


li.game{
  padding-left:2px;
}

.winner{
    font-weight:bold;
}
li.game span{
    float:right;
    margin-right:5px;
}

li.game-top{ border-bottom:1px solid #aaa; }

li.game-spacer{
    border-right:1px solid #aaa;
    min-height:40px;
    vertical-align: middle;
}
li.game-spacer span {
      margin-top:20px;
}

li.game-bottom{ 
    border-bottom:1px solid #aaa;
    border-right: 1px solid #aaa;
    margin-top: -20px;
}

.title-back {
    /* margin: 5px 15px 0px 10px;
    position: fixed;
    z-index: 200001; */
}
.hide { display:none; }
#tournamentSearch {
    font-size:1.2em;
    width: calc(100% - 90px);
    position: fixed;
    z-index:200001;
    height:40px;
    display:none;
    margin-left:46px;
    border:none;
    background-color:inherit;
}

/* schedule center the title in the middle */

.scheduleHeader {
    display: table;
    width: 100%;
	text-align:center;
}
.scheduleHeader > div {
    display: table-cell;
	vertical-align:middle;
}
.scheduleCol {
    width:20%;
}

.scheduleCustom-width {
	min-width:10px; 
}

/* LOGIN */
.login-form {
  text-align: center;
  width: 80%;
  margin: 60px auto 0;
}

input[type=email], input[type=password], input[type=text] {
  display: block;
  width: 100%;
  margin: 0 auto;
  outline: none;
  height: 100%;
  padding-top: 15px;
  padding-bottom: 16px;
}

.login-button {
  width: 100%;
  margin: 0 auto;
}

.forgot-password {
  display: block;
  margin: 8px auto 0 auto;
  font-size: 14px;
}

#overview-address {
    display:inline-block;
    vertical-align:middle;   
    font-size: 0.8em;
    margin-left:10px;
    width: calc( 100% - 80px );
}
.logged-in-icon { display:none; }

.teamOffset {
    position: absolute;
    left:20px;
    top:30px;
}

.alert-dialog-footer {
    margin:0px 5px;
    width:unset;
}


.tabbar__item { opacity:0.70; }
.tabbar__item.active { opacity:1;}


#menu-exit { display:none; }

.subHeader {
    width:100%;
    /* background-color:lightgrey; */
    font-weight: bold;
    font-size: 18px;
    line-height:1.5em;
}

.alert-dialog-content {
    height: calc(100% - 95px);
    margin-bottom: 10px;
    overflow-y:auto;
}

#homeButtons {
    border-collapse: separate;
    border-spacing: 10px;
    width:100%;
}
#homeButtons td {
   /* background-color:darkblue; */
    color:white;
    border-radius: 10px;
    height:60px;
    width:33%;
    text-align: center;
    vertical-align: middle;
    font-size:14px;
}
.homeButtons {
    /* background-color: darkblue; */
    width: 100px;
    height: 44px;
    line-height: unset;
    padding:8px;
    /* font-size:12px; */
    text-transform : unset;
}

.predictButton {
    background-color: #ffb300;
    color: #ffffff;
    min-height: unset;
    height: 22px;
    font-size: 12px;
    line-height: 26px;
    width: 150px;
    text-transform: unset;
}
.predictButton ons-icon{
    color: #ffffff;
}

.viewLeaderboardButton {
    background-color: lightgrey;
    color:black;
    min-height: unset;
    height: 20px;
    font-size: 10px;
    line-height: unset;
    width: 110px;
    text-transform: unset;
}

.matchWinnerCol { display:none; }

#myTeamsMatches {
    margin:5px;
    text-align: center;
}
#todaysMatches {
    margin:5px;
    text-align: center;
}

.findTeamResultsDiv {
    width:calc(100vw - 135px);
    display:inline-block;
}

.subHeading {
    font-weight:bold;
    font-size:14px;
    width:100%;
    text-align:center;
    margin-bottom:10px';
}

table#matchCentre-stats th {
    background-color: darkblue;
    color:white;
    font-weight:bold;
    text-align: center;
}
table#matchCentre-stats td {
    text-align:center;
    background-color:lightgrey;
}
.messageTournament {
    font-style: italic;
    font-size: 0.8em;
    color:darkblue;
    text-align: center;
    width:100%;
    margin-top:15px;
}
.messageMatch {
    font-style: italic;
    font-size: 0.8em;
    color:darkblue;
    text-align: center;
    width:100%;
    margin-top:15px;
}
.filterControlsDiv {
    position:fixed;
    width:100%;
    z-index:100;
    background-color:white;
    border-bottom:1px solid darkgray;
}

.selected {
    background-color:lightgreen;
}

.section-pitch {
    margin:0px; width:calc(50% - 16px); text-align: center; height:25px; padding-top:12px; display:inline-block;
}

#scheduleErrorDiv {
    display:none;
    position:absolute;
    top:200px;
    text-align:center;
    color:red;
    
}
#poolsErrorDiv {
    display:none;
    position:absolute;
    top:200px;
    text-align:center;
    color:red;
    
}
#knockoutErrorDiv {
    display:none;
    position:absolute;
    top:200px;
    text-align:center;
    color:red;
    
}
.teamMatchSummary {
    font-size:8px;
    margin-right:auto;
    margin-left:auto;
    margin-top:15px;                                                                                                    }

.teamMatchSummary th {                                                                                                      vertical-align:bottom;                                                                                                  border-bottom:1px solid darkblue;
    background-color: white;
}

.teamMatchSummary tr:nth-child(odd) {background: #eee}

.tr-nav-icon{
    position: absolute;
    bottom: 8px;
    right: 10px;
    color: white;
}
.tr-nav-icon-txt{
    font-size:0.5rem;
    position: absolute;
    bottom: -12px;
    right: 10px;
    color: white; 
    /* position:absolute;bottom:-15px;right: 10px;color:white; */
}
.predictionInput{
    min-width:35px; max-width:45px; text-align:center; height: 30px; font-size: 18px;
}
.td-predict{
    font-weight: bold;
    vertical-align: bottom;
    font-size: 14px;
}
.td-sub-item{
    font-size: 9px; font-style: italic;
}
.req{
    color: red;
}


#div-login-status{
    padding: 15px;
    text-align: left;
    color: #fff;
    background-image: linear-gradient(160deg, #1b83bf, #003d60);
}
#div-login-status .avatar-wrap{
    border: 3px solid #9d9d9d;
    border-radius: 50%;
    background: #fff;
    width: 42px;
    height: 42px;
    overflow: hidden;
    display: block;
}
#div-login-status .avatar-wrap img{
    width: 42px;
    height: 42px;
}
#div-login-status .name{
    font-size: 1em;
    font-weight: 500;
}



#pg-findTeam input {
    padding: 0;
    height: auto;
    display: inline-block;
}


@keyframes flickerAnimation {
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
}
@-o-keyframes flickerAnimation{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
}
@-moz-keyframes flickerAnimation{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
}
@-webkit-keyframes flickerAnimation{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
}
.blink {
    -webkit-animation: flickerAnimation 1s infinite;
    -moz-animation: flickerAnimation 1s infinite;
    -o-animation: flickerAnimation 1s infinite;
    animation: flickerAnimation 1s infinite;
}
  
.tournamentItem .status{
    font-size: 12px;
    font-weight: 500;
    opacity: 1;
}
.tournamentItem .status.upcoming{
    color: #ff9800;
}
.tournamentItem .status.live{
    color: #8bc34a;
}


#pg-messages .page__content{
    background-color: #fafafa !important;
}
#pg-messages .page__content #messages-list{
    background: transparent !important;
}
#pg-messages .page__content #messages-list .message{
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 0 3px 1px #eceff1;
    margin: 10px;
    border-radius: 6px;
    position: relative;
    width: calc(100% - 20px);
}
#pg-messages .page__content #messages-list .message .center{
    background: none;
}
.messageTitle {
    color: #455a64;
    font-weight: bold;
    font-size: 1.2em;
    text-align:left;
    width:100%;
    padding: 0 32px;
}
.messageAvatar {
    position: absolute;
    left:10px;
    vertical-align: middle;
    width:auto;
    height:26px;
}

.messageBody {
    text-align: justify;
    font-size: 0.8em;
}

.messageDateTime {
    font-size : 0.6em;
    color:#607d8b;
    font-style: italic;
    width:100%;
    margin-bottom:5px;
    text-align: left;
    margin-left: 33px;
}

#overview-tournamentName{
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #455a64;
    padding: 10px;
}

.tournamentSelector{
    background-color: #eceff1;
    box-shadow: 0 0 5px #90a4aef2;
    margin-bottom: 5px;
}

.team-filters ons-row ons-col{
    display: flex;
    align-items: center;
}
.team-filters .radio-button .radio-button__checkmark{
    margin-left: 3px;
}
.team-filters .radio-button{
    border: 1px solid #eee;
    margin-right: 5px
}