/* CSS Document */

/*
to conserve and optimize space
.bracket-team-info -> changed to 150px
.bracket-header-subject -> changed to 150px
.bracket-header -> removed margin:do_unauthorized
.tour-bracket -> removed display:flex
*/

BODY{
  background-color: #293b3b;
  color: white;
  margin: 0;
  padding: 0;
  font-family:Verdana;
  background-image: url("../img/bg.jpg");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/*customized scrollbar--------------------------------------------------------*/

::-webkit-scrollbar{
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,1);
    background-color: rgba(0,0,0,0.7);
    -webkit-border-radius: 5px;
    border-radius: 5px 0 0 5px;
}
.tour-bracket::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius: 5px;
    border-radius: 5px 0 0 5px;
}
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: rgba(255,245,135,0.8);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(255,245,135,0.4);
}
::-webkit-scrollbar-corner {
  background-color:#0c0c0c;
}

/*customized scrollbar--------------------------------------------------------*/

/*header----------------------------------------------------------------------*/
.page-header {
    display: flex;
    width: 100%;
    position: fixed;
    background-color: rgba(0,0,0,0.8);
    z-index: 3;
    -webkit-box-shadow: 0px 0px 9px 2px rgba(0,0,0,0.59);
    -moz-box-shadow: 0px 0px 9px 2px rgba(0,0,0,0.59);
    box-shadow: 0px 0px 9px 2px rgba(0,0,0,0.59);
    justify-content: space-between;
}
.page-nav-bar {
    display: flex;
}

.page-title {
    background-image: url(img/du_title.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-position: center;
    margin-top: 3px;
    width: -webkit-fill-available;
    position: absolute;
    height: 100%;
}

.page-nav {
    justify-content: flex-start;
    font-size: 18px;
    margin-left: 20px;
    z-index: 4;
}
.page-flex {
  display: flex;
  align-items: center;
}

.page-nav-items {
    display: none;
}

/*menu-----------------------------*/
.menu-container {
  display: inline-block;
  cursor: pointer;
}

.menu-bar1, .menu-bar2, .menu-bar3 {
    width: 23px;
    height: 3px;
    background-color: #ccc;
    margin: 4px 0;
    transition: 0.4s;
}

.menu-change .menu-bar1 {
    -webkit-transform: rotate(-45deg) translate(-8px, 7px);
    transform: rotate(-45deg) translate(-8px, 7px);
}

.menu-change .menu-bar2 {opacity: 0;}

.menu-change .menu-bar3 {
    -webkit-transform: rotate(45deg) translate(-3px, -3px);
    transform: rotate(45deg) translate(-3px, -3px);
}

.page-nav-items.menu-change {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 37px;
    background-color: #0f0f0f;
    left: 0;
    border-radius: 0px 0px 5px 0px;
    padding: 11px;
    min-width: 10%;
}

.nav-item {
    display: flex;
    cursor: pointer;
    font-size: 15px;
    width: 100%;
    padding: 5px;
    text-align: left;
    border-radius: 5px;
    margin: 3px 0;
    align-items: center;
}
.nav-profile-popout {
    display: flex;
    flex-direction: column;
}
.nav-profile {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 6px 14px;
    z-index: 4;
}
.nav-profile-logout {
    background-color: #000000;
    padding: 0px 10px;
    border-radius: 3px;
    color: #CCCCCC;
    margin: 0 auto;
    font-size: 10px;
}
.nav-profile-img img {
    border-radius: 3px;
}
.nav-profile-name {
  margin: 10px auto;
}
.nav-socMed {
    margin-left: 5px;
}
.du-header-steam img {
 
}

div#steamSignIn.guest-popout {
    display: flex;
}

#signIn {
    width: 63px;
    font-size: 12px;
    text-align: center;
    background-color: darkslategray;
    border-radius: 5px;
    cursor: default;
}

div#signIn:hover {
    background-color: #203838;
    transition: 0.2s;
}
/*header----------------------------------------------------------------------*/

/*footer----------------------------------------------------------------------*/

/*footer----------------------------------------------------------------------*/

/*content---------------------------------------------------------------------*/
.page-content {
    margin-top: 100px;
    min-height: calc(100vh - 135px);
}

.page-wrap {
  margin: 20px;
  margin-top:0px;
  background-color: #101011;
  border-radius: 5px;
  text-align: center;
  flex-direction: column;
  -webkit-box-shadow: 0px 0px 20px -1px rgba(0,0,0,0.59);
  -moz-box-shadow: 0px 0px 20px -1px rgba(0,0,0,0.59);
  box-shadow: 0px 0px 20px -1px rgba(0,0,0,0.59);
}
.page-wrap-top{
}
.page-content-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.page-content-receipt{
  padding:20px;
}
.page-content-div {
  //width: 100%;
  margin: auto;
  padding:20px;
}

.du-header-slogan {
    text-align: center;
    margin: 20px auto;
    margin-top: -36px;
    min-width: 33.5vh;
    max-width: 75vh;
    background-color: #1c1c1ccc;
    border-radius: 5px;
    font-size: 14px;
    vertical-align: middle;
}


/*content---------------------------------------------------------------------*/

/*tournaments-----------------------------------------------------------------*/
.du-tournaments{
    display: flex;
    justify-content: space-around;
    max-width: 75%;
    align-items: center;
    margin: 0px auto;
    padding-bottom: 20px;
}
.du-tournament-none{
    padding: 5px;
}
.du-tournament-thumb {
    display: inline-block;
    margin: 10px 20px;
    border-radius: 10px;
    background-position: center;
    position: relative;


}
.du-tournament-thumb-image{
    background-repeat: no-repeat;
    background-size: contain;
    height: 50vh;
}
.du-tournament-image{
    height:189px;
    width:267;
}
.du-tournament-name {
    padding: 5px;
    color: #FFFFFF;
    background: rgba(0,0,0,0.95);
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom: groove 3px #BBBBBB;
    position: relative;
    font-size: 15px;
    text-align: center;
    width: 33.5vh; 
    min-height: 63px;
}
.du-tournament-status {
    bottom: 0;
    width: 33.5vh;
    padding: 7px;
    background: rgba(0,0,0,0.95);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top: groove 3px #BBBBBB;
    text-align: center;
}
.du-tournament-status-open{
   font-weight:bold;
   color:#FFFFFF;
   cursor:pointer;
}
.du-tournament-status-ended{
   font-weight:bold;
   color:#333333;
   font-size:12px;
}
.du-tournament-status-coming{
   font-weight:bold;
   color:#FFFFFF;
   font-size:12px;
}
.du-tournament-status-closed{
   font-weight:bold;
   color:#FFFFFF;
   font-size:12px;
}
.tour-buttons {
    text-align: center;
    z-index: 2;
    position: relative;
    top: 10px;
}
.du-bold{
   font-weight:bold;
}
.du-header-caption{
   margin:0px;
   font-size:12px;
   vertical-align:middle;
   padding:5px;
   vertical-align:middle;
}

.du-header-steam{
   vertical-align:middle;
}
.du-social-media-caption{
   font-size:15px;
}
.du-social-media-icons{
  display: flex;
  margin: 35px;
  flex-grow: 2;
  justify-content: center;
  align-items: flex-end;
}
.du-dberror{
   position:absolute;
   padding:20px;
   margin:0px;
   font-size:10px;
   background-color:rgba(0,0,0,0.7);
   color:#EEEEEE;
}
   /* Style all font awesome icons */
.fa {
    text-align: left;
    padding: 8px;
    font-size: 19px;
    width: 30px;
    height: 30px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    margin: 2px;

}

/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
}

/* Set a specific color for each brand */

/* Facebook */
.fa-facebook {
  background: #3B5998;
    color: #0f0f0f;
}

/* Instagram */
.fa-instagram {
  background: #833AB4;
    color: #0f0f0f;
}

/* Twitter */
.fa-twitter {
  background: #55ACEE;
    color: #0f0f0f;
}

/*tournaments-----------------------------------------------------------------*/

.du-copyright{
  font-size:7px;
  font-family:verdana;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(255,255,255,0.05);
  color: #CCCCCC;
  text-align: center;
  padding:5px;
}
.du-logout{
  display:inline-block;
  vertical-align:middle;
  font-size:12px;
  margin-right:10px;
  cursor:pointer;
}
.du-logout a{
  color:rgb(204,102,0);
  text-decoration:none;
}
.du-logout:after{
  color:rgb(0,204,0);
  content: "\0020 \0020 \2BC8 \0020 \0020";
}
.du-btn-logout{

}
.du-form-logout{
   vertical-align:middle;
   display:inline-block;
   border:solid 1px #FFF;
}
/*popup*/
.du-popup-header-bar{
   padding:10px;
   background-color:rgb(144,144,144);
   color:#FFFFFF;
   font-size:12px;
   font-weight:bold;
   text-transform: uppercase;
}
.du-popup-message{
   padding:10px;
   font-size:12px;
   text-align:center;
   color:#BBBBBB;
}

/*popup*/

/*venue and date--------------------------------------------------------------------*/

/*schedule--------------------------------------------------------------------*/
* {
  box-sizing: border-box;
}

.schedule-div {
  overflow-y: auto;
  border-radius: 5px;
}
.tour-schedule{
    display: flex;
    font-size: 12px;
    color: floralwhite;
    width: fit-content;
    margin: auto;
    border-radius: 5px;
    max-height: 420px;
    align-items: flex-start;
}
.schedule-header {
  border-radius: 5px 0 0 5px;
  padding-bottom: 5px;
}
.schedule-day {
  display:flex;
  flex-direction:column;
  margin: 0 2px;
}
.schedule-subject-day {
    height: 35.43px;
    border-bottom: 2px solid #ffffff33;
    padding: 5px;
}
.schedule-day-matches {
  display: flex;
  flex-grow: 1;
}
.schedule-subject {
  padding: 5px;
  white-space: nowrap;
  border-bottom: 1px solid #222;
}
.schedule-group {
    padding: 20px 0;
}
.schedule-stage {
  display: flex;
}

.schedule-match {
  padding: 3px;
  margin: 2px;
  border-radius: 2px;
  display: flex;
  justify-content: flex-start;
  color: #222;
}
.schedule-match.highlight-group {
  background-color: #72358b;
}
.schedule-match.highlight-upper {
  background-color: #3d3694;
}
.schedule-match.highlight-lower{
  background-color: #a32f2f;
}
.schedule-match-number {
    width: 20px;
}
div.schedule-match-teamA {
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-align: right;
    background-color: rgba(255,255,255,0.3);
    padding: 0 5px;
}
div.schedule-match-teamB {
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-align: left;
    background-color: rgba(255,255,255,0.2);
        padding: 0 5px;
}
.schedule-roundMatch {
  padding-bottom: 10px;
}

/*schedule--------------------------------------------------------------------*/

/*groups----------------------------------------------------------------------*/
.tour-groups {
    display: flex;
    overflow-x: overlay;
}
.group-info {
    background-color: #222;
    width: 200px;
    margin: 10px;
    border-radius: 5px;
    justify-content: space-around;
    padding: 10px;
}
.group-number {
    border-bottom: 1px solid#111;
    padding-bottom: 2px;
    margin-bottom: 4px;
    border-radius: 5px;
}
.group-team-info {
display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
}
.group-team-score {
    display: flex;
    justify-content: center;
    align-items: center;
}
.group-team-score-bullets {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 5px;
    height: 5px;
    background-color: grey;
    margin: 2px;
}
/*groups----------------------------------------------------------------------*/

/*bracket---------------------------------------------------------------------*/

.tour-bracket {
    /*display: flex;*/
    flex-direction: column;
    background-color: #222;
    overflow-x:auto;
    color: floralwhite;
    font-size: 12px;
    border-radius: 5px;
    position: relative;
    /*
    overflow: overlay;
    height: 420px;
    */
    align-items: center;
}
.bracket-header {
    display: flex;
    justify-content: space-between;
    width: fit-content;
    /*margin: auto;*/
    padding: 0 20px;
}

.bracket-header-subject {
    width: 150px;
    margin: 10px;
}
.bracket-header-subject-group {
    margin-left: 10px;
}
.bracket-header-subject-upper,
.bracket-header-subject-lower {
    margin: 10px 0;    
}
.bracket-rounds {
    display: flex;
    margin: auto;
    padding: 0 20px;
}
.bracket-round {
    display: flex;
    flex-direction: column;
}
.bracket-round-group {
    margin: 10px;
}
.bracket-round-upper,
.bracket-round-lower {
    justify-content: space-around;
}
.bracket-round-group .bracket-match {
    border: 1px solid #72358b;
    margin: 10px 0;
    border-radius: 3px;
}
.bracket-round-upper .bracket-match,
.bracket-round-lower .bracket-match {
    margin: 10px 0;
}
#bracket8 #match15.bracket-match{
    margin-bottom: 17px;
}
#bracket8 #match16.bracket-match{
    margin-top: -8px;
}
#bracket16 #match29.bracket-match {
    margin-top: 17px;
}
#bracket16 #match30.bracket-match {
    margin-bottom: 22px;
}
#bracket16 #match31.bracket-match {
    margin-top: -2px;
}
#bracket16 #match32.bracket-match {
    margin-top: -29px;
}
#bracket16 #match33.bracket-match {
    margin-top: -156px;
}
#bracket16 #match34.bracket-match {
    margin-top: -87px;
}
.bracket-team-info {
    display: flex;
    justify-content: space-between;
    width: 150px;
    padding: 0 5px;
}
.bracket-match-number {
    display: flex;
    justify-content: center;
    align-items: center;
}
.bracket-round-upper .bracket-match-number,
.bracket-round-lower .bracket-match-number {
    border-width: 1px;
    border-style: solid;
    border-left: none;
    border-radius: 0 5px 5px 0;
}
.bracket-upper .bracket-match-number {
    border-color: #3d3694;
}
.bracket-lower .bracket-match-number {
    border-color: #a32f2f;
}
#bracket8 #match16 .bracket-match-number {
    height: 191px;
}
#bracket16 #match31 .bracket-match-number {
    height: 199px;
}
#bracket16 #match32 .bracket-match-number {
    height: 203px;
}
#bracket16 #match33 .bracket-match-number {
    height: 134px;
}
#bracket16 #match34 .bracket-match-number {
    height: 316px;
}
.bracket-match-connector {
    height: 26px;
    margin-top: 40px;
    border-top: 1px solid #3d3694;
}
.bracket-indicator {
    display: flex;
    position: sticky;
    bottom: 0;
    left: 0;
    background-color: #222;
    padding: 5px 0;
    width: 100%;
    justify-content: center;
}
.bracket-indicator>div {
    margin: 0 10px;
}
.bracket-indicator>div:before {
    content:"";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 3px;
    border-radius: 2px;
}
#biGroup:before {
    background-color: #72358b;
}
#biUpper:before {
    background-color: #3d3694;
}
#biLower:before {
    background-color: #a32f2f;
}
/*bracket---------------------------------------------------------------------*/

/*
 *  Flex Layout Specifics
*/
main{
  display:flex;
  flex-direction:row;
}
.round{
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:200px;
  list-style:none;
  padding:0;
}
  .round .spacer{ flex-grow:1; }
  .round .spacer:first-child,
  .round .spacer:last-child{ flex-grow:.5; }

  .round .game-spacer{
    flex-grow:1;
  }

/*
 *  General Styles
*/
body{
  font-family:sans-serif;
  font-size:18px;
  line-height:1.4em;
}

li.game{
  padding-left:20px;
}

  li.game.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;
  }

  li.game-bottom{
    border-top:1px solid #aaa;
  }

/*account---------------------------------------------------------------------*/
.du-content-panel{
  width:800px;
  background-color:rgba(255,255,255,0.1);
  border-radius:10px;

}
.du-content-panel-row{
  display:flex;
}
.du-content-panel-label{
  width:150px;
  text-align:left;
  display:inline-block;
  padding:5px;
}
.du-content-panel-value{
  width:40%;
  text-align:left;
  display:inline-block;
  padding:5px;
}

.du-tournament-message{
  width:100%;
  text-align:center;
}
/*----------------------------------------------------------------------------*/

/*effects----------------------------------------------------------------------*/
.du-caption-blink{
  animation: blinker 2s linear infinite;
  color:rgb(255,0,0);
  font-weight:bold;
}

@keyframes blinker {
  50% { opacity: 0; }
}
/*effects----------------------------------------------------------------------*/

@media only screen and (max-width: 768px) {
  .du-tournaments {
    flex-direction: column;
  }

@media only screen and (min-width: 992px) {
  .du-tournaments {

  }
}
