html {
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
body.game {
    height: 100%;
    background-color: #079;
    background-image: url('../images/bg.jpg'); 
    background-repeat: no-repeat; 
    background-size: cover;
    max-width: 100%;
    overflow-x: hidden;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
   
}

.show.on-small-inline {
    display:none;
}

.hide.on-small-inline {
    display:inline;
}


body.launcher {
    height: 100%;
    background-color: #079;
    background-image: url('../images/bg_l.jpg'); 
    background-repeat: no-repeat; 
    background-size: cover;
    max-width: 100%;
    overflow-x: hidden;
    background-position: 50% 0%;
   
}

.launch-button {
    font-size: 1.0em;
    margin: 30px auto 0 auto;
    width: 300px;
    background-color: #079;
    color: #fff;
    text-align:center;
    height: 40px;
    padding-top:10px;
    border-radius: 12px;
    box-shadow: 5px 5px 5px #000;
    cursor:pointer;

}

.launch-button.no-active {
    color: #dfdfdf;
    background-color: #5b6975;
    cursor:normal;

}

.launch-button:hover {  
    background-color: #18a;
}

h2,h3 {
    margin-top:10px;
}

.round-button
{
font-size:2em; 
color:#9fb7cb; 
text-align:center; 
width:75px; 
height:75px;
padding-top:15px;
border: 4px solid #9fb7cb; 
border-radius: 50%;
margin:5px auto 0 auto;
box-shadow: 5px 5px 15px #000;
}


#event-button {
    color:#adf; 
    border-color: #adf;
}
.round-button:hover,#event-button:hover
{
    border-color: #f99;
    color: #f99;
}

.rounded-button-small
{
font-size:2em; 
color:#fff; 
text-align:center; 
max-width:85%; 
height:60px;
padding-top:10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
margin:0 auto 0 auto;

}

.event-edit-area {
    width:94%; 
    padding: 10px; 
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin: 0 auto 0 auto;
}

.container {
    font-family: "Archivo Narrow", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.small-pill
{
font-size:1em; 
font-weight: bold;
background-color: #000;
color:#fff; 
text-align:center; 
width:40px; 
height:30px;
padding-top:2px;
border: 2px solid #fff;
border-top-right-radius: 14px;
border-bottom-right-radius: 14px;
border-bottom-left-radius: 14px;
position: absolute;
cursor: pointer;
box-shadow: 2px 2px 2px #000;
}

.timeline-symbol
{
font-size:1em; 
position: absolute;
cursor: pointer;
}

.mainbuttons
{
    background-color: rgb(38 74 110 / 70%);
    height: 160px;
    padding-top: 5px;

}
.teams
{
    background-color: rgb(38 74 110 / 80%);
    padding-top: 15px;
   
}

.team1,.team2
{
    width:90%;
    margin: 20px auto 0 auto; 
    height: 400px;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    font-size: 1.1em;
    position: relative;
}
.team1
{
    background-color: rgba(0,0,0,0.5);   
    color: #fff; 
}

.team2
{
    background-color: rgba(255, 255, 255, 0.5);   
    color: #000;  
}
.team1 header
{
    background-color: #000;
    color:#fff;
    text-align: center;
    font-weight: bold;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}
.team2 header
{
    background-color: #ffffff;
    color: #000;
    text-align: center;
    font-weight: bold;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}
.teamlist
{
    padding: 10px;
    font-size: 1em;
}
.score-display {
    font-family: "Allerta Stencil", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.timeline
{   
    width: 90%;
    background: linear-gradient(90deg, rgb(127 35 29) 0%, rgb(112 156 183) 28%, rgba(58, 91, 140, 1) 100%);
    padding: 5px;
    margin: 0px 5% 0px 5%;
    border-radius: 15px;
    border: 2px solid #3f6687;
}

.game-log {
    font-family: "Archivo Narrow", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2em;
    color: rgb(39, 39, 80);
  }
  

  .allerta-stencil-regular {
    font-family: "Allerta Stencil", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  

.outer-table {
    width: 300px; 
    max-width: 100%; 
    margin: 0 auto 0 auto;
}

.inner-table,.inner-table td {
    border: 1px solid #000;
}

.team-button {
    float: left;
    width: 100px;
    border: 2px solid #fff;
    position: relative;
    margin: 0 5px 0 5px;
    border-radius: 6px;
    cursor: pointer;
}

.team-button-selected {
    float: left;
    width: 100px;
    border: 2px solid #f00;
    position: relative;
    margin: 0 5px 0 5px;
    border-radius: 6px;
    background-color: #f99;
    color:#000;
    cursor: pointer;
}

.player-selector {
    padding:10px;
    width: 240px;
    margin:0 auto 0 auto;
}

.player-button {
    float:left;
    width:40px;
    border-radius: 8px;
    border: 2px solid #fff; 
    margin: 5px;
    cursor: pointer;
}

.time-dropdown {
    background-color: #ddd;
    position: absolute;
    width: 100px;
    height: 200px;
    z-index: 9999;    
    top: -30px;
}

.status-row {
    font-size: 1em;
    background-color: rgb(12, 22, 33);
    color:#fff
}

.settings-menu {
    position:absolute;
    background-color:#000;
    width:250px;
    height:100%;    
    top:0;
    right:0;
    border-left:solid 2px #fff;
    padding:10px;
    z-index:9999999;
    transition: 0.5s;
    color: #fff;
}

.settings-group {
    background-color: rgb(12, 22, 33);
    padding:0 10px 10px 10px;
}

.settings-group h2 {
    text-align:center;
    background-color: rgb(12, 29, 48);
    padding:10px;
    font-size: 1em;
}

.settings-button {
    text-align:center;    
    font-size: 1em;
    border: 1px rgb(12, 29, 48) solid;
    padding:10px;
    border-radius: 6px;
    margin-top:5px;
    cursor: pointer;
}
.settings-button:hover {
   background-color:rgb(21, 48, 78) ;
}

.only-thin {
    display:none;
}
.only-thin-inline {
    display:none;
}

.only-wide {
    display:block;
}
.only-wide-inline {
    display:inline;
}

.event-type-type-button {
    padding-top: 5px;
    font-size:1.2em;
    height:36px;
    background-color: #fff;
    color:#000;
    float:left;
    width:240px;
    border-radius: 8px;
    border: 2px solid #fff; 
    margin: 5px;
    cursor: pointer;
    
}

.event-type-type-button-selected {
    padding-top: 5px;
    font-size:1.2em;   
    height:36px;
    float:left;
    width:240px;
    border-radius: 8px;
    border: 2px solid #f00; 
    margin: 5px;
    cursor: pointer;
    color:#000;
    background-color: #f99;
    
}

.event-type-type-button:hover {
    color:#000;
    background-color: #fff;
}

.game-selector {
    cursor:pointer;
}
.game-selector:hover {
    border: 1px solid rgb(255, 255, 255);
}

.start-normal {
background-color: #c0e6d9;
border-radius: 12px;
}

.start-editing {
    background-color: #ededed;
    border: 1px solid #f00;
    border-radius: 12px;
}

.start-editing .player-row {
   cursor: pointer;
}

.start-editing .player-row:hover {
    border:#079 2px solid;
 }

 .start-editing .player-row:hover {
    border:#079 2px solid;
 }

.player-editing-area {
    background-color: #eee;
    width: 360px;
    margin: 0 auto 0 auto;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
}

.new-round {
    border-top: 4px solid #3f6687;
}

.active-game-settings {
    background-color: #134;
    padding:5px;

}

.video-fields {
    background-color: #13533b;
    padding: 10px;
    border-radius: 4px;
    margin-top: 20px;
}

.season-row {
    margin: 10px;
    padding: 0 0px 5px 0px;
    box-shadow: 3px 3px 4px #079;
}



.selected-items {   
    margin: 0 10px 0 0;
    padding: 5px;
    overflow:auto;
    border: 1px solid #000;
    font-weight: bold;
}

.selectable-items {   
    margin: 0 0 0 10px;
    padding: 5px;
    overflow:auto;
    border: 1px solid #000;
}

.crud-form {
    width: 96%;
    margin: 0 auto 0 auto;
}

.crud-form input {
    margin: 5px;
    width: 100%;
}

.crud-form select {
    margin: 5px;
    width: 100%;
}

.odd-row {
    background-color: #f9f9f9; /* Light grey background for odd rows */
  }
  
.even-row {
    background-color: #ffffff; /* White background for even rows */
 }

.players-table input {
    border-radius: 4px;
    margin: 5px;
    border: 1px solid #000;
}

.file-area {
    color: #fff;
    width: 400px;
    background-color: #227098;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 10px 10px 10px #000;
}

.drag-drop-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
    text-align: center;
    padding: 20px;
    color: #333;
    font-size: 16px;
}

.drag-drop-area:hover {
    background-color: #f1f1f1;
}

.drag-drop-area input[type="file"] {
    display: none;
}

.import-button {
    border-radius: 4px;
    border: none;
    background-color: #062738;
    padding: 5px;
    width: 80px;
}

.crud-area h3 {
    color: #fff; text-align:left; margin:0px; padding: 5px; font-size:20px;
}

.item-row {
    margin-bottom: 10px;
}

.team-unselect-button {
    color: rgb(12, 82, 173);
    font-weight: bold;
    cursor: pointer;
}

.team-select-button {
    color: rgb(176, 54, 62);
    font-weight: normal;
    cursor: pointer;
}

.card-heading {
    color: rgb(255, 255, 255);
    margin: 0px;
    font-size: 20px;
    background-color: rgb(153, 153, 153);
    padding: 5px;
    margin-top: 10px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.action-button {
    border: none;
    background-color: rgb(255, 255, 255);
    border-radius: 4px;
    cursor:pointer;
    font-weight: bold;
}

.player-pill {
    width: 90%;
    height: 30px;
    background-color: #123;
    padding: 5px 10px 3px 10px;
    border-radius: 6px;
    color: #fff;
    margin: 5px auto 0 auto;
    cursor: pointer;
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.removed_player {
    transform: translateY(-20px);
    opacity: 0;
}

.selected_player {
    transform: translateX(-40px);
    opacity: 0;
}

.selected-players-card {
    float:left;
    width: 31%;
    min-width: 100px;
    background-color: rgba(100, 176, 253, 0.7);
    padding: 2%;
    margin:1%;
    border-radius: 4px;
}

.all-players-card {
    float:left;
    width: 31%;
    min-width: 100px;
    background-color: rgba(255, 148, 41, 0.7);
    padding: 2%;
    margin:1%;
    border-radius: 4px;
}

.history-players-card {
    float:left;
    width: 31%;
    min-width: 100px;
    background-color: rgba(232 174 100 / 65%);
    padding: 2%;
    margin:1%;
    border-radius: 4px;
}

.help-text-card {
    float:left;
    min-width: 100px;
    width: 31%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2%;
    margin:1%;
    border-radius: 4px;
}

.players-scroll-area {
    height:800px;
    overflow-y: auto;
    overflow-x: hidden;
}

.players-card-header {
    
}

.no-select {
    user-select: none; /* Standard property */
    -webkit-user-select: none; /* For Safari */
    -moz-user-select: none; /* For Firefox */
    -ms-user-select: none; /* For Internet Explorer/Edge */
}

.moving-heading {
    margin-top:10px;
    font-size: 2em;
}

.warning {
    background-color:#fed;
    border:1px solid rgb(104, 0, 0);
    color:rgb(104, 0, 0);
    margin:5px;
    font-size:0.9em;
    padding: 5px;
}

.book-cover {
    background-color: #fff;
    width: 80px;
    height: 120px;
    margin:10px;
    padding-top:10px;
    float: left;
    box-shadow: 5px 5px 5px;
    border: 1px solid #999;
    text-align:center;
    cursor: pointer;

}

.book-cover:hover {
    background-color: rgb(162, 211, 224);   

}

.rotate-180 {    
    transform: rotate(180deg);    
}

.only-small {
    display:none;
}

.round-indicator {
    text-align: center;
    color: #fff;
    margin-bottom:10px;
   
}

.round-indicator-button {
    width: 30px;
    display: inline-block;
    margin: 0 5px 0 5px;;
    text-align: center;
    color: #e4e4e4;
    background-color:rgb(65, 115, 129);
    padding:1px;    
    border-radius: 6px;
    border: none;
    font-weight: normal;
    cursor: pointer;
}

.selected-round {
    color: #fff;
    background-color:#079;
    border: 1px solid #fff;
    font-weight: bold;
}

#clock-in-modal {
    background-color:#fff;
    transition:1s;
}

.gradu {
    background: linear-gradient(to right, rgba(0, 0, 139, 0) 0%, rgba(0, 0, 139, 0.0) 60%, rgba(0, 80, 139, 1) 100%);
    color: #fff;
    padding: 5px 20px 5px 0px;
}

.uwr-logo {
    position:absolute; 
    right: 0; 
    top: -30px;
   
}

.header-style-2 {
    background-color: rgba(255, 255, 255, 0.8);
    padding:20px 10px 5px 10px; 
    border-radius: 4px; 
    position:relative; 
    margin-top:40px;
    min-height: 160px;
}

.info-text {
    font-size: 1.8em;
    text-align:center;
    font-weight:bold; 
    margin:15px;
}

.remove-button {
    font-size: 1em;
}

@keyframes smoothColorTransition {
    0% {
      background-color: #ffecd2; /* Mild orange */
    }
    50% {
      background-color: #079; /* White */
    }
    100% {
      background-color: #ffecd2; /* Mild orange */
    }
  }

  @keyframes goalTransition {
    0% {
      color: #4234ff; /* Mild orange */
    }
    50% {
      color: rgb(0, 174, 255); /* White */
    }
    100% {
      color: #4234ff; /* Mild orange */
    }
  }

.goal-character {
    animation: goalTransition 1s ease-in-out infinite;
    font-weight: bold;
}

.modify-button {
    animation: smoothColorTransition 3s ease-in-out infinite;
    text-align: center;
    position: absolute;
    bottom: 4px;
    width: 80%;
    height: 30px;
    padding-top: 5px;
    background-color: #ffffff;
    left: 10%;
    border: 1px solid #000;
    border-radius: 4px;    
}

.modify-button a {
    color: #000000;
}

.competition-button {
    clear:both; 
    color: #fff; 
    margin: 20px auto 0 auto; 
    background-color: #079; 
    padding: 10px; 
    text-align:center; 
    border-radius:12px;
    cursor:pointer;   
    max-width:500px;
    box-shadow: 5px 5px 5px #000;
}

.competition-button:hover {   
    background-color: #18a;    
}

.no-select {
    user-select: none; /* Prevent text selection */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
  }

.left-side-event {
    height: 28px;
    width: 40%;
    position: absolute;
    left: 10px;
}
.right-side-event {
    height: 28px;
    width: 40%;
    position: absolute;
    right: 10px;
}


.time-box {
    background-color: #ee9900;
    color: #fff;
    padding: 2px;
    border-radius: 10px;
    width:20%; 
    left:40%; 
    margin:0 auto 0 auto; 
    text-align: center;
}

.left-side-event .time-block {
    background-color: #ddd;
    color: #000;
    padding: 2px;
    border-radius: 10px;
    position:absolute; 
    width:50px;
    right:0; 
    margin:0 auto 0 auto; 
    text-align: center;
}


.right-side-event .time-block {
    background-color: #ddd;
    color: #000;
    padding: 2px;
    border-radius: 10px;
    position:absolute; 
    width:50px;
    left:0; 
    margin:0 auto 0 auto; 
    text-align: center;
}

.left-side-event .reason-block {   
    position:absolute;  
    right:60px;     
    text-align: right;
}

.right-side-event .reason-block {  
    position:absolute;   
    left:60px;     
    text-align: left;
}

.left-side-event .fail-block {   
    font-size: 0.9em;
    position:absolute;  
    right:0px;     
    text-align: right;
}

.right-side-event .fail-block { 
    font-size: 0.9em; 
    position:absolute;   
    left:0px;     
    text-align: left;
}

.event-symbol {   
    position:absolute;  
    width: 16%;
    left: 42%;     
    text-align: center;
  
}

.event-symbol span {   
   
    background-color: #fff;
    padding:2px;
}

@keyframes shiny-metal {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
      }
    
  }

.duo-pill {
    
    background: linear-gradient(
    45deg,
    #aaa,
    #bbb,
    #ffffff,
    #bbb,
    #aaa
    );
    background-size: 200% 200%;
    animation: shiny-metal 4s linear infinite;   
    margin: 15px auto 5px auto;
    text-align: center;
    font-size: 1.2em;
    color: #636363;
    padding: 20px;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.stat-row {
    float:left;
    padding:5px; 
    background-color: #079;    
    color:#fff; 
    border: 1px solid #fff;
    width:40px;
}

.stats-player-table td {
    padding:2px;
}

.stat-ordering {
    cursor:pointer;
    font-weight:bold;
}

.sheet-button {
    background-color: #079;    
    color:#fff; 
    border: none;
}

.sorted-column {
    background-color: rgb(242, 250, 252);
    color: #000000;
}

@media screen and (max-width: 992px) {   
    .remove-button {
        font-size: 1.4em;
    }

    .info-text {
        font-size: 1.4em;
        text-align:center;
        font-weight:bold; 
        margin:5px;
    }

    .player-pill {
        width: 99%;
        height: 40px; 
        padding-top: 10px;     
    }

    .header-style-2 {
        margin-top:10px;
        padding-top: 5px;
    }

    .uwr-logo {        
        width: 30%;
    }
    .only-small {
        display:none;
    } 
    .only-thin {
        display:block;
    }
    .only-thin-inline {
        display:inline;
    }
    
    .only-wide-inline {
        display:none;
    }

    .only-wide {
        display:none;
    }

    .status-row {
        font-size: 0.8em;
    }
    .game-start-time {
        display:none;
    }

    .history-players-card {       
        width: 48%;        
    }
    .selected-players-card {
        width: 48%;  
    }
  }

  @media screen and (max-width: 768px) {
    .launch-button {
      font-size: 1.4em;
    
    }
    .competition-button {
        font-size: 1.4em;
    }
    .team1,.team2 {
        width:100%;
        margin:0px;
    }
    .only-small {
        display:block;
    }
    
    .moving-heading {
        margin-top:10px;
    }   
    .hide-on-small {
        display:none;
    }
    .hide-on-small-inline {
        display:none;
    }
    .show.on-small-inline {
        display:inline;
    }
    .stat-row {
        width: 26px;
        font-size: 0.8em;
    }
  }
