.hero-wrapper {
    position: relative;
    min-height: 400px;
    background-image: url("hero.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}


.hero-header {
    font-size: calc(1.875rem + 1.5vw)
}

@media (min-width: 1200px) {
    .hero-header {
        font-size: 4.5rem;
    }
}

.hero-overlay {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


#rounds-container{
    min-height:300px;
}

.player-avatar-wrapper{
    height:56px;
    width:56px;
    margin-right:12px;
  }

  .player-avatar{
    width:56px;
    height:56px;
    border-radius:50%;
    overflow: hidden;

  }

  .player-avatar img{
    width: 100%;
    height:auto;
  }

  .player-flag{
    position: absolute;
    bottom:0;
    right:-12px;
    height:24px;
    width: 24px !important;;
    border-radius: 50%;
  }

  
.playing-now-indicator {
    width: 12px;
    height: 12px;
    background-color: #39984F;
    border-radius: 50%;
    border: 1px solid var(--sgt-dark-gray);
    position: absolute;
    top: 12px;
    right: 12px;
}


.playing-now-indicator[data-playing-now="0"] {
    background-color: var(--sgt-red);
}



.tourney-name:hover{
    color:var(--sgt-light) !important;
}

#tours-container{
    min-height:300px;
}

.tour-card.hide {
    display: none !important;
}

.tour-logo-wrapper {
    background-image: url(tour-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 5%;
    overflow: hidden;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}


.tour-logo-wrapper div {
    height: 100%;
}

.tour-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vertical-card,
.vertical-card > div{
    height: 100%;
}

.vertical-card .tour-logo-wrapper {
    background-image: url(tour-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 5%;
    overflow: hidden;
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
    border-bottom-right-radius: 0;
}

.vertical-card .tour-logo-wrapper div {
    min-height: 225px;
}


.horizontal-card{
    height: 100%;
}

.horizontal-card > .row{
    height: 100%;
}




#events-container{
    min-height:300px;
}


.event-card.hide {
    display: none;
}

.event-card .card {

    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
    overflow: hidden;
    height: 100%;

}

.event-card .event-image {
    height: 150px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.ldr-link {
    height: 36PX;
    width: 36PX;
    line-height: 36PX;
}


#event-tour-select .dropdown-toggle {
    min-width: 200px;
    box-sizing: border-box;
}


#event-tour-select .dropdown-toggle::after {
    display: none;
}


#event-tour-select button {
    color: var(--sgt-dark-gray);
    background-color: var(--sgt-white);
    border-color: var(--sgt-light-gray);
}

#event-tour-select-arrow{
    position:relative;
    left: -25px;
}


#event-tour-select .dropdown-menu {
    min-width: 200px;
    box-sizing: border-box;
}



.event-tour-select-item{

    padding-left:12px;
    padding-right:12px;
    cursor:pointer;

}

.modal-fullscreen {
    width: calc(100vw - 40px) !important;
    height: calc(100% - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 20px !important;
}



  .small-avatar .player-avatar-wrapper{
    height:32px;
    width:32px;
    margin-right:9px;
  }

  .small-avatar .player-avatar{
    width:32px;
    height:32px;
    border-radius:50%;
    overflow: hidden;

  }

  .small-avatar .player-avatar img{
    width: 100%;
    height:auto;
  }

  .small-avatar .player-flag{
    position: absolute;
    bottom:0;
    right:-9px;
    height:18px;
    width: 18px !important;;
    border-radius: 50%;
  }



#wgr-container, #ladder-container{
    overflow-x:auto;
}


.wgr-table tbody tr:nth-child(odd),
.ladder-table tbody tr:nth-child(odd) {
    background-color: var(--sgt-md-gray);
}


.wgr-table tbody tr:nth-child(odd) .position,
.ladder-table tbody tr:nth-child(odd) .position {
    border-right:1px solid var(--sgt-dark-gray);
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}


.wgr-table tbody tr:nth-child(odd) .total,
.ladder-table tbody tr:nth-child(odd) .total {
    border-left:1px solid var(--sgt-dark-gray);
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}


.wgr-table tbody tr:nth-child(even) .position,
.ladder-table tbody tr:nth-child(even) .position {
    border-right:1px solid var(--sgt-md-gray);
}


.wgr-table tbody tr:nth-child(even) .total,
.ladder-table tbody tr:nth-child(even) .total {
    border-left:1px solid var(--sgt-md-gray);
}

.expand-cell{
    width:99%;
}



  @media (max-width:768px){


    .wgr-table,
    .ladder-table{
        font-size: 60%;
    }

    .wgr-table .three-quarter-font,
    .ladder-table .three-quarter-font{
        font-size: 75% !important;
    }




    .small-avatar .player-avatar-wrapper:not(.no-shrink){
        height:24px;
        width:24px;
        margin-right:6px;
      }
    
      .small-avatar .player-avatar:not(.no-shrink){
        width:24px;
        height:24px;
        border-radius:50%;
        overflow: hidden;
    
      }
    
      .small-avatar .player-avatar:not(.no-shrink) img{
        width: 100%;
        height:auto;
      }
    
      .small-avatar .player-flag:not(.no-shrink){
        position: absolute;
        bottom:0;
        right:-6px;
        height:12px;
        width: 12px !important;;
        border-radius: 50%;
      }
    

    }
    


    .rank-change{
      padding-left:5px;
    }

    .rank-change.rank-drop{
      color:red;
    }

    .rank-rise.rank-rise{
      color:green;
    }












/*EVENTS STYLING*/
#announcement-container{
    height: 400px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('/public/quest/content.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

#announcement-2-container{
    height: 400px;
    background-image: linear-gradient(rgba(27, 26, 26, 0.7), rgba(27, 26, 26, 0.7)),
    url('/public/career/content.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
}

#announcement-3-container{
    height: 400px;
    background-image: linear-gradient(rgba(27, 26, 26, 0.7), rgba(27, 26, 26, 0.7)),
    url('/public/sgt-stable/hero.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
}

#uneekor-invitational-container{
    min-height: 400px;
}

.uneekor-invitational-link,
.uneekor-invitational-link:hover{
    color: var(--sgt-black) !important;
    border-color: var(--sgt-black) !important;
}

.uneekor-invitational-link:hover{
    background-color: var(--sgt-black) !important;
    color: var(--sgt-white) !important;
}

.uneekor-banner-image-col{
    min-height: 280px;
    overflow: hidden;
}

.uneekor-banner-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 78% 55%;
}

.uneekor-banner-triangle{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10%;
    background: var(--sgt-white);
    -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    z-index: 2;
    pointer-events: none;
}

@media (min-width: 992px){
    .uneekor-banner-image-col{
        min-height: 100%;
    }

    .uneekor-banner-triangle{
        top: 0;
        left: 0;
        width: 10%;
        height: 100%;
        -webkit-clip-path: polygon(0 0, 100% 50%, 0 100%);
        clip-path: polygon(0 0, 100% 50%, 0 100%);
    }
}

/* Matches the controller image's black background so the two blend */
#controller-giveaway-container{
    background-color: #100F0F;
    background-image: linear-gradient(135deg, transparent 40%, color-mix(in srgb, var(--sgt-red) 6%, transparent) 100%);
}

.controller-free-badge{
    color: var(--sgt-white);
    background-color: var(--sgt-red);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
}

.controller-eyebrow{
    font-size: 0.85rem;
    letter-spacing: 0.15em;
}

#controller-giveaway-container .controller-subhead{
    color: #C8C8C8;
    font-size: 1.1rem;
}

.controller-cta-note{
    color: #A6A6A6;
    font-size: 0.85rem;
}

.controller-banner-image{
    max-height: 300px;
}

.controller-prize-card{
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #282828;
    background-color: rgba(255, 255, 255, 0.03);
}

.controller-prize-title{
    color: var(--sgt-red);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #282828;
}

.controller-prize-row{
    color: #A6A6A6;
    font-size: 0.9rem;
}

.controller-prize-row + .controller-prize-row{
    margin-top: 0.75rem;
}

.controller-prize-row span{
    display: block;
    color: var(--sgt-white);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.controller-prize-row i{
    width: 1.1rem;
    margin-right: 0.4rem;
    color: #A6A6A6;
}

.controller-prize-row.is-top,
.controller-prize-row.is-top i{
    color: var(--sgt-red);
    font-weight: 600;
}

#announcement-text{
    opacity: 0;
}

@-webkit-keyframes fadeOut {
    0% { opacity: 1;}
    99% { opacity: 0.01;}
    100% { opacity: 0;}
}  
@keyframes fadeOut {
    0% { opacity: 1;}
    99% { opacity: 0.01;}
    100% { opacity: 0;}
}


@-webkit-keyframes fadeIn {
    0% { opacity: 0;}
    99% { opacity: 0.99;}
    100% { opacity: 1;}
}  
@keyframes fadeIn {
    0% { opacity: 0;}
    99% { opacity: 0.99;}
    100% { opacity: 1;}
}

@keyframes slide-down {
    from {
      opacity: 0;
      transform: translate3d(0, -100%, 0);
    }
    to {
      opacity: 1;
      transform: none;
    }
 }

@keyframes fadeIn {
    0% { opacity: 0;}
    99% { opacity: 0.99;}
    100% { opacity: 1;}
}

  #announcement-text{
    animation-name: fadeIn;
    animation-duration: 1000ms;
    animation-iteration-count: 1;
    animation-delay: 1000ms;
    animation-fill-mode: forwards;
  }

  #tigsSVG{
    width:100%;
    height:auto;
    max-width: 600px;
    opacity:0;
    animation-name: slide-down;
    animation-duration: 1000ms;
    animation-iteration-count: 1;
    animation-delay: 0ms;
    animation-fill-mode: forwards;
  }


  #tigsSponsoredSVG{
    width:100%;
    height:auto;
    max-width: 250px;
  }