:root {
  --font-default: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-primary: "Amatic SC", sans-serif;
  --font-secondary: "Inter", sans-serif;
}

:root {
    --color-background:#143cdb;    
    --color-primary: #ffffff;
    --color-menu: #186cff;
    --color-secondary: rgba(138,21,56,0.3);
    --color-row: rgba(230, 182, 196, 0.3);
    --c-primary: #550065;
    --c-primary10: #800098;
    --c-primary30: #d600fe;
    --c-primary50: #e765ff;
    --c-secondary: #550065;
    --c-accent: #ffbf00;
    --c-background: #00cfb7;
    --bs-modal-bg: #143cdb;

  }

  :root {
    scroll-behavior: smooth;
  }

  .rowHeader {
    background-color: #d58a8a;
    color:#800606;
  }
    

  .roweven {
    background-color: var(--color-row);
  }

  .rowodd {
    background-color: var(--color-background);
  }

  body {
    background: var(--color-background);
    font-family: var(--font-default);
    color: var(--color-primary);
    height: 100vh;
  }

  #main {
    margin-top: 2rem;        
    position:relative;
    min-height: 80vh;
  }

  #content-wrap {
    padding-bottom: 2.5rem;
  }

  #footer {
    text-align: center;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
  }

  a {
    color: var(--color-primary);
    text-decoration: none;
  }
  
  a:hover {
    color: var(--color-secondary);
    text-decoration: none;
  }
  
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-secondary);
  }

  .loggeduser {
    border: 1px solid yellow;
    font-weight: bold;
  }

  .accountid {
    font-size: 0.6em;
    text-decoration: none;
  }

  .languages {
    width: 5%;
  }

  .languages a:hover {
    color:black;
  }

  .languages a {
    color:#7f7f90;
    font-size: 0.7em;
  }

  .prevPos {
    font-size: 0.6em;
  }

  .scoreCorrect {
    font-size: 0.6em;
  }

  .hrseparator {
    display: none;
    visibility: hidden;
  }

  /*========================================================*/
  /* EVENTS                                                 */
  /*========================================================*/
  /*    ==> Team Item                                       */
  .event-item {
    border-top: 1px solid var(--color-primary);
    height: 10em;
  }
  
  .event-item img {
    border: none;
    width: 2em;
    height: 2em;
  }
  
  /*    ==> Team Date & location                            */
  .event-item-date {
    margin-top: 0.5%;
    margin-bottom: 1%;
  }

  .event-item-localTime {
    vertical-align: top;
    font-size: 0.75em;
  }

  .event-item-time {
    text-align: center;
    float:left;
    padding-left: 2%;
    width:15%;
  }

  /*    ==> Team name                                       */
  [class*="event-item-teamname"] {
    width: 30%;
    font-size: 1.5em;
  }

  .event-item-teamname-local {
    text-align: right;
    float:left;
  }

  .event-item-teamname-visitor {
    text-align: left;
    float:left;
  }

  /*    ==> Team Score                                      */
  [class*="event-item-teamscore"] {
    text-align: center;
    color : var(--c-accent);
    float:left;
    width: 3%;
    font-size: 1.5em;    
  }

  .event-item-teamscore-local {
  }

  .event-item-teamscore-visitor {
  }

  .event-item-teamscore-separator {
    color:white;
    width: 2%;
  }

  /*    ==> Button                                         */
  .event-item-action {
    float:right;
    width:17%;
    text-align: center;
    margin-top: 0.5em;
  }

  .event-item-action a {
    margin-top: 2px;
  }

  .event-item-results {
    float: left;
    text-align: center;
    width: 100%;
    margin-top: 0.5em;
    margin-bottom: 1em;
  }

  /*========================================================*/
  /* MODAL                                                  */
  /*========================================================*/
  /*    ==> Team Item                                       */
  .modal-content {
    background-color: #143cdb;
  }

  .modal-content img {
    border: none;
    width: 2em;
    height: 2em;
  }

  /*    ==> Team name                                       */
  .modal-content [class*="event-item-teamname"] {
    width: 30%;
  }
 
  .modal-content .event-item-teamname-local {
    margin-right: 5px;
  }

  .modal-content .event-item-teamname-visitor {
    margin-left: 5px;
  }

  /*    ==> Team Score                                      */
  .modal-content [class*="event-item-teamscore"] {
    width: 15%;
    margin-left: 2px;
    margin-right: 2px;
  }

  .modal-content .event-item-teamscore-local {
  }

  .modal-content .event-item-teamscore-visitor {
  }

  .modal-content .event-item-teamscore-separator {
    width: 2%;
  }

  /*    ==> Team Input Score                                */
  .modal-content #localteamscore {
    width: 50px;
  }

  .modal-content #visitorteamscore {
    width: 50px;
  }

  /*========================================================*/
  /* DASHBOARD                                              */
  /*========================================================*/

  .dasboard .row .event-item img {
    border: none;
    width: 1.2em;
    height: 1.2em;
  }

  .dasboard .row .event-item [class*="event-item-teamname"] {
    font-size: 1.2em;
  } 

  .dasboard .row .event-item [class*="event-item-teamscore"] {
    font-size: 1.2em;
  } 

  .dasboard .row .event-item .event-item-time .event-item-localTime {
    font-size: 0.55em;
  }

  .dasboard .row .event-item .event-item-action button {
    font-size: 0.7em;
  }

  .dasboard .row .event-item .event-item-action a {
    margin-top: 2px;
    font-size: 0.55em;
  }

  #allbets img {
    border: none;
    width: 2em;
    height: 2em;
  }

  .textalignright {
    text-align: right;
  }

  .eventscorewidth {
    width:40px;
    color:#ffbf00;
  }

  .betscorewidth {
    width:40px;
    color:#baf0e4;
  }

  .scoreseparator {
    width:20px;
  }

  #eventmatch {
    margin: 30px 0 20px 0;
  }

  #betmatch .row {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  #eventmatch .row {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size:1.5em;
  }


  section {
    overflow: hidden;
    padding: 80px 0;
  }
  
  .section-bg {
    background-color: var(--color-background);
  }
  
  section {
    scroll-margin-top: 90px;
  }
  
/*========================================================*/
/* MENU
/*========================================================*/
 
  .nav {
    justify-content: space-around;
    height: 100px;
    width: 100%;    
    background-color: var(--color-menu);
    position: relative;
    transition: all 0.5s;
    padding: 0 10% 0 10%;
    align-items: center;
  }

  .nav img {
    height: 78px;
  }
  
  .nav > .nav-header {
    display: inline;
  }
  
  .nav > .nav-header > .nav-title {
    display: inline-block;
    font-size: 22px;
    color: black;
    padding: 10px 10px 10px 10px;
  }
  
  .nav > .nav-btn {
    display: none;
  }
  
  .nav > .nav-links {
    display: inline;
    float: right;
    font-size: 18px;
  }
  
  .nav > .nav-links > a {
    display: inline-block;
    padding: 10px 10px 10px 10px;
    text-decoration: none;
    color: #ffffff;
  }
  
  .nav > .nav-links > a:hover {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    color: white;    
  }
  
  .nav > #nav-check {
    display: none;
  }


/*========================================================*/
/* Media
/*========================================================*/

/*=1200px=================================================*/
@media (max-width:1200px) {
    .nav > .nav-header {
      display: none;
    }
  }

/*=980px==================================================*/
@media (max-width:980px) {
    .nav > .nav-header {
      display: none;
    }
    #nav > li {
      float: none;
      border-bottom: 0;
      margin-bottom: 0;
    }
    #nav ul.subs {
        position: relative;
        top: 0;
    }
    #nav li:hover ul.subs {
        display: none;
    }
    #nav li #s1:target + ul.subs,
    #nav li #s2:target + ul.subs {
        display: block;
    }

    .nav > .nav-links {
      display: inline;
      float: right;
      font-size: 14px;
    }

    #nav ul.subs > li {
        display: block;
        width: auto;
    }
  }
  
  /*=600px=================================================*/
  @media (max-width:600px) {
    .nav > .nav-links {
      display: inline;
      float: right;
      font-size: 12px;
    }
    .nav > .nav-links > a {
      display: inline-block;
      padding: 8px 10px 8px 1px;
      text-decoration: none;
      color: #5e5a5a;
    }


    .event-item [class*="event-item-teamname"] {
      font-size: 0.8em;
    } 
    .event-item .event-item-time .event-item-localTime {
      font-size: 0.35em;
    }  

    .event-item [class*="event-item-teamscore"] {
      font-size: 1.0em;
    } 

    .dasboard .row .event-item [class*="event-item-teamname"] {
      font-size: 0.8em;
    } 
    .dasboard .row .event-item .event-item-time .event-item-localTime {
      font-size: 0.35em;
    }  

    .dasboard .row .event-item [class*="event-item-teamscore"] {
      font-size: 1.0em;
    } 

    .event-item-date {
      font-size: 0.7em;
    }

    .event-item-results {
      font-size: 0.8em;
    }

    .hrseparator {
      display: block;
      visibility: visible;
    }

    div#ranking div.row > * {
      width: 20%;
    }

    div#ranking div.row {
      font-size: 0.5em;
    }

    div#ranking div.row.rowHeader {
      font-size: 0.6em;
    }

    div.event-item-action button.btn.btn-success {
      font-size: 0.7em;
      padding:1px;
    }

    div.event-item-action a.btn.btn-sm.btn-primary {
      font-size: 0.7em;
      padding:1px;
    }

    div#betmatch {
      font-size: 0.7em;
    }

    #eventmatch .row {
      font-size: 0.8em;
      margin-top: 3px;
      margin-bottom: 3px;  
    }

    div#allbets h5 {
      font-size: 0.8em;
    }

    .modal-title {
      font-size: 0.7em;
    }

    div.modal-body div.event-item-teamname-local {
      font-size: 0.7em;
    }

    div.modal-body div.event-item-teamname-visitor {
      font-size: 0.7em;
    }

    div.modal-body div.event-item-teamscore-local input#localteamscore {
      font-size: 0.6em;
    }
    div.modal-body div.event-item-teamscore-visitor input#visitorteamscore {
      font-size: 0.6em;
    }

    div.modal-body div.event-item-teamscore-local {
      font-size: 0.8em;
    }

    div.modal-body div.event-item-teamscore-visitor {
      font-size: 0.8em;      
    }

    div.modal-body div.event-item-teamscore-separator {
      font-size: 0.7em;
    }

    div.modal-footer button#btnClose.btn.btn-secondary {
      font-size: 0.8em;      
    }

    div.modal-footer button#btnSave.btn.btn-success {
      font-size: 0.8em;      
    }

  }
  
  /*=400px=================================================*/
  @media (max-width:400px) {
    .nav > .nav-links > a {
      display: inline-block;
      padding: 3px 10px 3px 1px;
      text-decoration: none;
      color: white;
    }
  }
