#water_loader {    
    margin-right: 10px;
    --r1: 154%;
    --r2: 68.5%;
    width: 7%;
    height: 7%;
    aspect-ratio: 1;
    border-radius: 50%; 
    background:
      radial-gradient(var(--r1) var(--r2) at top   ,#0000 79.5%,#269af2 80%),
      radial-gradient(var(--r1) var(--r2) at bottom,#269af2 79.5%,#0000 80%),
      radial-gradient(var(--r1) var(--r2) at top   ,#0000 79.5%,#269af2 80%),
      #ccc;
    background-size: 50.5% 220%;
    background-position: -100% 0%,0% 0%,100% 0%;
    background-repeat:no-repeat;
    animation: l9 2s infinite linear;
  }
  @keyframes l9 {
      33%  {background-position:    0% 33% ,100% 33% ,200% 33% }
      66%  {background-position: -100%  66%,0%   66% ,100% 66% }
      100% {background-position:    0% 100%,100% 100%,200% 100%}
  }

#cube_loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    animation: l14 4s infinite;
  }
  .loader::before,
  .loader::after {    
    content: "";
    grid-area: 1/1;
    border: 8px solid;
    border-radius: 50%;
    border-color: red red #0000 #0000;
    mix-blend-mode: darken;
    animation: l14 1s infinite linear;
  }
  .loader::after {
    border-color: #0000 #0000 blue blue;
    animation-direction: reverse;
  }
  @keyframes l14{ 
    100%{transform: rotate(1turn)}
  }


.title {
    margin: auto;
    line-height: 0;
    text-align: left;
    /* we need the shinn font */
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
    width: 50%;
    display: flex;
}

@media only screen and (max-width: 1000px) {
    .title {
        width: 100%;
    }
}

hr {
    margin-bottom: 20px;
}

#reset_button {
    border-width: 0px;
    background-color: white;
    width: 50px;
    height: 50px;
    margin-left: auto;
}

#help_button {
    border-width: 0px;
    background-color: white;
    width: 50px;
    height: 50px;
}

#statistics_button {
    border-width: 0px;
    background-color: white;
    width: 50px;
    height: 50px;
}

#settings_button {
    border-width: 0px;
    background-color: white;
    width: 50px;
    height: 50px;
}

#reset_image {
    width: 25px;
    height: 25px;
}

#reset_button:hover {
    background-color: rgb(223, 223, 223);   
}

#help_button:hover {
    background-color: rgb(223, 223, 223);
}

#statistics_button:hover {
    background-color: rgb(223, 223, 223);
}

#settings_button:hover {
    background-color: rgb(223, 223, 223);

}

#menu_image {
    width: 25px;
}

th {
    background-color: #0066B3;
    color: white;
    border: 2px solid;
    padding: 3px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-align: center;
    height: 30px;
}

.tdwrong {
    background-color: #787c7e;
    color: white;
    border: 2px solid;
    padding: 1px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-align: center;
    height: 62px;
}

.tdclose {
    background-color: #c9b458;
    color: white;
    border: 2px solid;
    padding: 1px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-align: center;
    height: 62px;
}

.tdright {
    background-color: #6aaa64;
    color: white;
    border: 2px solid;
    padding: 1px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-align: center;
    height: 62px;
}

.table-container {
    margin-top: 20px;
}

#data-table {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    border-spacing: 2px;
}

#desktop_image_text {
    width: 40%;
    margin: auto;
    display: block;

}

#mobile_image_text {
    display: none;
}

@media only screen and (max-width: 1000px) {
    #mobile_image_text{display: block; width: 100%; margin: none; text-align: center;} 
    #desktop_image_text {display: none;}
} 

.team_image {
    width: 350px;
    margin-bottom: 20px;
    float: left;
}


.event_tries {
    float: right;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-align: center;
}

@media only screen and (max-width: 1000px) {
    .event_tries {
        float: none;
    }
}

.next_round_button {
    background-color: #04AA6D;
    border: none;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    border-radius: 12px;
}

.next_round_button:hover {
    background-color: #038958;
}

#selector {
    width: 40%;
    margin: auto;
    clear: left;
}

@media only screen and (max-width: 1000px) {
    #selector {
        width: 80%;
        margin: auto;
        clear: none;
    }
}

.input-dropdown {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 40px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
}

.input-dropdown select {
    appearance: none;
    font-size: 1.15rem;
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #caced1;
    border-radius: 0.25rem;
    color: #000;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
}

.select2-selection__placeholder {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 15px;
    
}

.select2-selection__rendered {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 15px;

}

.select2-results {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 15px;

}

.close_popup {
    border: none;
    background-color: inherit;
    font-size: 25px;
    cursor: pointer;
    float: right;
}

.close_popup:hover {background: #eee;}

.popup {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,
            0,
            0,
            0.4);
    display: none;
}

.popup_content {
    background-color: white;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    font-family: Helvetica, Arial, sans-serif;
}

#share_popup_content {
    text-align: center;
    width: 30%;
    line-height: 40px;
}

#help_popup_content {
    text-align: left;
    width: 40%;
    line-height: 25px;
}

#settings_popup_content {
    text-align: left;
    width: 30%;
    line-height: 25px;
}

@media only screen and (max-width: 1000px) {
    .popup_content {
        background-color: white;
        margin-top: 10%;
        margin-left: auto;
        margin-right: auto;
        padding: 30px;
        border: 1px solid #888888;
        font-family: Helvetica, Arial, sans-serif;
        line-height: 25px;
    }

    #share_popup_content {
        text-align: center;
        width: 80%;
    }
    
    #help_popup_content {
        text-align: left;
        width: 80%;
    }

    #settings_popup_content {
        text-align: left;
        width: 80%;
    }
}

#copy_results_button {
    background-color: #04AA6D;
    border: none;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    border-radius: 12px;
}

#copy_results_button:hover {
    background-color: #038958;

}

.show {
    display: block;
}


.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }