/*=================================
=========== EXTRAS ================
=================================*/

.clearfix {
    overflow: auto;
    zoom: 1;
  }
  
  .alert {
    margin:20px auto;
    display: block;
    padding: 2%;
    /*margin-bottom: 20px;*/
    border: 1px solid transparent;
    border-radius: 4px;
    max-width: 460px;
    box-sizing: border-box;
  
  }
  .alert p {
    margin:0;
    margin-bottom: 10px;
  }
  
  .alert-warning {
    background-color: #ea3007;
    border-color: #f8201c;
    color: #fdcbc0;
  }
  
  .alert-success {
    background-color: #439e4c;
    border-color: #51b04b;
    color: #c6e7c9;
  }
  
  h1 {
      display: inline-block;
  }
  
  
  /*=================================
  =========== INFORMATION ===========
  =================================*/
  
  .information {
    margin: 2% 0 2% 0;
  }
  
  .information p {
    margin-top: 5px;
  }
  
  .information strong {
    color: black;
  }
  
  .competitioninfo {
    margin-bottom: 10px;
  }
  
  /*=================================
  =========== LIKE BUTTONS ==========
  =================================*/
  
  .likebuttons {
    padding: 8px;
    height: 39px;
    background: #ccc;
    box-sizing: border-box;
    /*float: left;*/
    margin-top: -3px;
    margin-bottom: 2%;
  }
  
  .colwide h1 {
    font-size: 29px;
  }
  .colwide h2 {
    font-size: 24px;
  }
  
  .colwide h2.cod, .colwide h1.cod {
    padding: 2%;
    background: #eb652a;
    color: black;
    font-weight: 400;
    margin-bottom: 0.3em;
    max-width: 100%;
  }
  
  .colwide .info {
    margin-top: 1.4em;
    margin-bottom: 1.4em;
  }
  
  .colwide .facebook {
      width: 150px;
      height: 20px;
      float: right;
      display: block;
  }
  
  .headerimage {
      max-width: 650px;
      width: 100%;
  }
  
  /*=================================
  =========== JOIN TOURNAMENT =======
  =================================*/
  
  .join-tournament .hide {
      display: none;
  }
  #logWarning{
    background:orange;
    margin:0;
  }
  .join-tournament .message-sucess {
    font-weight: normal;
    color: rgb(204, 152, 0);
  }
  
  #join-tournament {
      margin-bottom: 2%;
  }
  
  .join-tournament {
    padding:2% 0 2% 0;
    box-sizing: border-box;
    background-image: -moz-linear-gradient( 90deg, rgb(26,26,26) 0%, rgb(48,48,48) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(26,26,26) 0%, rgb(48,48,48) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(26,26,26) 0%, rgb(48,48,48) 100%);
    width: 100%;
  }
  
  .join-tournament.zombie {
    background-image: none;
  }
  
  .darkgroup {
    background-image: -moz-linear-gradient( 90deg, rgb(26,26,26) 0%, rgb(48,48,48) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(26,26,26) 0%, rgb(48,48,48) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(26,26,26) 0%, rgb(48,48,48) 100%);
  }
  
  .join-tournament, .information button {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: none;
  }
  
  .join-tournament .championship-logo {
    display: block;
    margin:0 auto;
  }
  .join-tournament h1.intro {
    color: white;
    font-size: 22px;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding:10px 0;
    max-width: 460px;
    margin: 10px auto;
    display: block;
    text-align: center;
  }
  
  .join-tournament .player-group {
    width: 33.333%;
    padding:0 2%;
    float: left;
    box-sizing: border-box;
  }
  .join-tournament h3 {
    color: white;
    display: block;
    text-align: center;
    font-size: 20px;
  }
  
  .join-tournament .player-group-center {
    display: block;
    margin: 0 auto;
    width: 33.333%;
    margin-bottom: 30px;
  
  }
  
  .join-tournament .input-group {
    padding:5px 0;
    /* commented out by Oliver  */
    /* overflow: auto; */
    zoom: 1;
  }
  
  @media all and (max-width: 999px){
    .column{
      /* flex: 50%; */
    }
  }
  
  div.radio-inline.wrapper {
    display: flex;
    margin-bottom: 0.5em;
    margin-left: 35px;
  }
  
  .input-group.second label.radio-inline:first-child {
    /*Oliver comment*/
    /* padding-left: 20px; */
  }
  .input-group.second .radio-inline input[type=radio]
  {
    /*Oliver comment*/
    /*position: absolute;*/
    /*margin-left: -20px;*/
    line-height: normal;
    margin-top: 5px;
  }
  
  .input-group.second #join:hover {
    color:white;
  }
  
  /*.input-group.second input {
    border: 1px solid;
  }*/
  
  .input-group.second input:read-only {
    border: none;
    background: #f9f2f4;
  }
  
  .input-group.second input:-moz-read-only { /* For Firefox */
    border: none;
    background: #f9f2f4;
  }
  
  .input-group.second input{
    margin-bottom: 1%;
  }
  
  
   /* Style class made by Oliver */
   .platformbtns{
    background: transparent;
    left: -20px;
    position: relative;
    /* top: 10px; OutCommented By Oliver */
    cursor: pointer;
  }
  
  .join-tournament .input-group.teamname, .join-tournament .darkgroup .input-group{
    width: 400px;
    max-width: 96%;
    display: block;
    margin: 0 auto;
    margin-bottom: 40px;
  }
  
  .join-tournament .darkgroup .input-group:last-child {
    margin-bottom: 0px;
  }
  
  /* @media all and (min-width: 1000px){
    .darkgroup{
      width: 420px;
      padding: 10px 0;
      max-width: 100%;
    }
  } */

  fieldset {
      overflow: hidden;
  }
  
  @media all and (max-width: 999px){
    .darkgroup {
        width: 100%;
        padding: 10px 0;
        max-width: 100%;
    }

    .breadtext p, 
    .breadtext p.right {
      width: 100%;
      max-width: 100% !important;
    }
  }
  .join-tournament .input-group.teamname {
    text-align: center;
  }
  
  .join-tournament .input-group.teamname input {
    padding-left:10px;
  }
  
  .join-tournament .input-group.teamname label, .join-tournament .input-group.teamname input,
  .join-tournament .darkgroup .input-group label, .join-tournament .darkgroup .input-group input
  {
    font-size: 18px;
    /* Alberto height auto value
    height: auto; */
    height: 47px;
    /*Oliver height value*/
    /* height: 30px; */
  }
  .signuptitels{
   /* by Oliver */
    /* margin: 10px 0px 10px 10px;
    display: block; */
    margin: 1em 0;
  }
  
  .join-tournament label {
    background: #eca725;
    /*border:1px solid #eca725;*/
    font-size: 11px;
    padding:5px;
    /*width: 67px;*/
    width: 30%;
  
    /* Alberto height auto value
    height: 5%; */
    /*Oliver height value*/
    height: 2%;
    display: inline-block;
    float: left;
    color: #000;
    border-radius: 0 0 0 5px;
  }
  .join-tournament input {
    border-radius: 0 5px 0 0;
    padding-left: 5px;
    outline: none;
    width: 58%;
    color: #d5d4d4;
    float: left;
    background: #212121;
    border:1px solid #2f2f2f;
    padding:5px;
    -webkit-transition: all ease-in .1s;
    -o-transition: all ease-in .1s;
    transition: all ease-in .1s;
  }
  
  .join-tournament input:focus {
    background: #2f2f2f;
    border:1px solid #4e4d4d;
    /*color: #000;*/
  }
  
  .join-tournament #addTeam,
  .join-tournament #join {
    -webkit-border-radius: 3px;border-radius: 3px;
    cursor: pointer;
    display: block;
    margin:0 auto;
    margin-top: 40px;
    border:0;
    outline: 0;
    width: 300px;
    height: 50px;
  
   font-weight: bold;
   font-style: normal;
   text-rendering: optimizeLegibility;
   font-size: 1.2rem;
   display: block;
   line-height: 45px;
   text-align: center;
   text-decoration: none;
   color: #000000;
   background-color: #cc9800;
  
   -webkit-transition: all 0.3s;
   -moz-transition: all 0.3s;
   -ms-transition: all 0.3s;
   -o-transition: all 0.3s;
   transition: all 0.3s;
  
   /*text-shadow: 2px 0px #000;*/
   /*color: white;*/
   color: rgb(51, 51, 51);
   text-transform: uppercase;
  }/*submit button*/
  
  .join-tournament #addTeam:hover,
  .join-tournament #join:hover {
    background-color: #b38500;
    color: white;
  }
  
  /*=================================
  =========== RULES =================
  =================================*/
  .rules-container table {
    border-collapse: collapse;
  
  }
  .rules-container td {
    border-right: 2px solid #333;
  }
  .rules-container .left, .rules-container .right {
    width: 48%;
  }
  .left {
    float: left;
  }

  @media all and (min-width: 1021px){
    .right {
      float: right;
    }
  }
  
  
  /*.rules-container ul {
    list-style-type: none;
  }*/
  
  #gamemodes tr {
    border:2px solid #333;
    /*padding:8px;*/
  }
  
  
  .youtuber_vid { margin-top: 2%;}
  .youtuber_vid iframe { max-width: 100%;}
  
  .table {
    width:100%;
    max-width: 100%;
    background-color: transparent;
    border-spacing: 0;
    border-collapse: collapse;
    box-sizing: border-box;
    display: table;
    border-color: grey;
  }
  .table>thead>tr>th {
      vertical-align: bottom;
      border-bottom: 2px solid #ddd;
  }
  th {
      text-align: left;
  }
  .table>caption+thead>tr:first-child>td, .table>caption+thead>tr:first-child>th,
  .table>colgroup+thead>tr:first-child>td, .table>colgroup+thead>tr:first-child>th,
  .table>thead:first-child>tr:first-child>td, .table>thead:first-child>tr:first-child>th {
      border-top: 0;
  }
  .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th,
  .table>thead>tr>td, .table>thead>tr>th {
    /* padding: 8px; */
    line-height: 1.42857143;
    vertical-align: top;
    /* border-top: 1px solid #ddd; */
    text-align: left;
  }
  /* .table.table-hover>tbody>tr:hover {
    background: #f9f2f4;
  } */
  .table>tbody>tr.success {
   background: #dff0d8;
  }
  
  .table>tbody>tr.success:hover {
   background: #e5f8e3;
  }
  
.table.table-scroll {
    margin-bottom: 2em;
}
  
  @media all and (min-width: 1000px){
    table.table-scroll {
      /* display:table; */
      width: 100%;
      display: block;
      /*max-width: -moz-fit-content;*/
      max-width: fit-content;
      margin: 0 auto;
      overflow-x: auto;
      white-space: nowrap;
    }
    .tournamentLeaderboard{
      position:absolute;
      left:2em;
      top:0.3em;
    }
    .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th,
    .table>thead>tr>td, .table>thead>tr>th {
      padding: 8px;
      border-top: 1px solid #ddd;
    }
  }
  
  @media all and (max-width: 999px){
    table.table-scroll {
      display:block;
      width: 100%;
    }
    table.table-hover.table-scroll{
  
    }
    thead tr {
      /* position: absolute; */
      /* top: -9999px; */
      /* left: -9999px; */
    }
    tr {
        border: 1px solid #ccc;
    }
    .tournamentLeaderboard{
      position: absolute;
      left: 33%;
      top: 0.3em;
      height: 17px;
    }
    .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th,
    .table>thead>tr>td, .table>thead>tr>th {
      padding: 2px;
      border: 1px solid #ddd;
    }
  }
  
  table.table-scroll thead, table.table-scroll tbody {
      /* float: left; */
      width: 100%;
  }
  table.table-scroll tbody {
      overflow-y: auto;
      overflow-x: hidden;
      max-height: 1000px;
  }
  table.table-scroll tr {
      width: 100%;
      /* display: table; */
      text-align: left;
  }
  table.table-scroll th, table.table-scroll td {
      width: 20%;
  }
  .table img.flag {
    margin-left:20px;
  }
  
  ul {
    padding-left: 2em;
  }
  
  fieldset:disabled {
      opacity: 0.7;
      filter: alpha(opacity=70);
  }
  
  .colwide h2.cod, .colwide h1.cod {
    /* Oliver changed background*/
    background: #D8AC00;
    text-transform: uppercase;
    font-weight: bold;
}

.darkgroup {
    background-image: none;
    background: #ccc;
}

.join-tournament label {
    /* Oliver changde background  */
    background: #495F68;
    color: #fff;
    width: 32%;
}

.join-tournament input {
    background: #fff;
    color: #000;
}

.join-tournament input:hover {
    background: #fff;
    color: #000;
}

.join-tournament #addTeam, .join-tournament #join {
    /* Oliver background-color changed  */
    background-color: #3DB800;
    color: #fff;
}

.join-tournament #addTeam, .join-tournament #join:hover {
    /* background-color: #00aaee; */
    /*new background color asked by Oliver and Lasse*/
    background-color: black;
}

.join-tournament input:focus {
    background-color: transparent;
}

.info ul.dotted {
    list-style:disc;
}
.info ul.dotted li {
    margin: 1em;
}
.checkage {
    margin-left: 100px!important;
    width: 20px !important;
    height: 30px !important;
}

.clearfix {
    overflow: inherit;
}
/* @media all and (min-width: 1000px){
    .iread {
        width: 88% !important;
        margin: 0 20px 20px 20px;
        font-size: 14px !important;
    }
}
@media all and (max-width: 999px){
    .iread {
        width: 88% !important;
        margin: 0 20px 20px 10px;
        font-size: 14px !important;
    }
} */

.iread {
    width: 88% !important;
    /* margin: 0 20px 20px 20px; */
    font-size: 12px !important;
    margin-top: 0.5em;
}
.checkread {
    width: 4% !important;
    /* height: 32px; */
    /* margin: 0 11px; */
    vertical-align: middle;
}

.iread span, .iread a {
    vertical-align: middle;
}

#legend {
    display: block;
    position: absolute;
    width: 270px;
    right: 470px;
    background: gainsboro;
    border: 4px solid;
    color: black;
    padding: 15px;
    border-radius: 15px;
    top: 1730px;
    z-index: 10;
}
div#submitPlatform div.column div.radio-inline label.radio-inline{
    /* height: 37px;
    width: 111px; */
}

.info form .termsofuselink {
    color: black;
    position: relative;
    cursor: pointer;
    text-decoration: underline;
    font-size: 12px;
    display: block;
    text-align: right;
}

#scoreform .column {
    width: 40%;
}

/* special */
.colwide h2.cod, .colwide h1.cod {
    background: none;
    font-size: 2em;
    letter-spacing: -1px;
}

.success {
    border: none !important;
}

.table {
    margin-bottom: 2em;
}

img.headerimage.left {
    max-width: 50%;
    margin-top: 1em;
    display: inline-block;
}

.breadtext p.right {
    max-width: 46%;
    display: inline-block;
}

.colwide .info {
    display: inline-block;
    width: 100%;
}

.info form {
    padding: 0.5em;
    font-size: 1.1em;
}

.darkgroup {
    background: none;
}

.info form label {
    display: inline-block;
    min-width: 30%;
}

.input-group input {
    width: 60%;
    padding: 0.25%;
}

.input-group {
    margin-bottom: 0.5em;
}

.alert-notice {
    background: #969634;
    padding: 0.5em;
    color: black;
    border-radius: 0.2em;
}

.info ol, ul {
    margin: 0;
    padding: 0;
    /* margin-left: 3em; */
    font-size: 16px;
}

.info li {
    font-size: 1em;
    line-height: 24px;
    margin-bottom: 0.5em;
}
#submitPlatform input {
    width: auto;
}
