/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Jun 6, 2019, 8:14:13 PM
    Author     : gasper
*/

html {
    height: auto;
    width: 100%;
    background: radial-gradient(circle farthest-corner at right bottom, #00a69c 0%, #068190 50%, #0c5782 100%);
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    margin: 30px;
    height: 100%;
    background: none;
    min-height: 100vh;
}

.tournament-container{
    width: 100%;
}

/* LEFT SIDE */


.tournament-brackets-finale{
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin-bottom: 50px;
    width: 14%;
    float: left;
    padding-top: 130px;
}

.tournament-brackets {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin-bottom: 50px;
    width: 43%;
    float: left;
}

.tournament-brackets2{
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin-bottom: 50px;
    width: 43%;
    float: right;
}


.bracket-left {
    padding-left: 0;
    display: flex;
    margin: 0;
    padding: 30px 0;
    flex-grow: 1;
    flex-direction: column;
    justify-content: space-around;
    list-style-type: none;
    flex: 1;
}

.team-item-left{
    background-color: #3f97982e;
    padding: .5rem;
    display: block;
    margin: .5rem 10px;
    position: relative;
    text-align: center;
    border: 1px solid transparent;
    box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.14);
    font-size: 14px;
    border-radius: 5px;
}

.team-item-left:after {
    content: '';
    border-color: #ffffff;
    border-width: 2px;
    position: absolute;
    display: block;
    width: 10px;
    right: -11px;
}

.team-item-left:nth-of-type(odd):after {
    border-right-style: solid;
    border-top-style: solid;
    height: 100%;
    top: 50%;
}

.team-item-left:nth-of-type(even):after {
    border-right-style: solid;
    border-bottom-style: solid;
    height: 100%;
    top: -50%;
}

.team-item-left:before {
    content: '';
    border-top: 2px solid #ffffff;
    position: absolute;
    height: 2px;
    width: 10px;
    left: -10px;
    top: 50%;
}

/* RIGHT SIDE */



.bracket-right {
    padding-left: 0;
    display: flex;
    margin: 0;
    padding: 30px 0;
    flex-grow: 1;
    flex-direction: column;
    justify-content: space-around;
    list-style-type: none;
    flex: 1;
}

.team-item-right{
    background-color: #3f97982e;
    padding: .5rem;
    display: block;
    margin: .5rem 10px;
    position: relative;
    text-align: center;
    border: 1px solid transparent;
    box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.14);
    font-size: 14px;
    border-radius: 5px;
}

.team-item-right:before {
    content: '';
    border-color: #ffffff;
    border-width: 2px;
    position: absolute;
    display: block;
    width: 10px;
    left: -12px;
}

.team-item-right:nth-of-type(odd):before {
    border-left-style: solid;
    border-top-style: solid;
    height: 100%;
    top: 50%;
}

.team-item-right:nth-of-type(even):before {
    border-left-style: solid;
    border-bottom-style: solid;
    height: 100%;
    top: -50%;
}

.team-item-right:after {
    content: '';
    border-top: 2px solid #ffffff;
    position: absolute;
    height: 2px;
    width: 10px;
    right: -10px;
    top: 50%;
}

.team-item-left.bracket-finale{
    margin-top: 60px;
}

.bracket-right-5 .team-item-right:nth-of-type(odd):before {
    height: 0%;
}
.bracket-right-5 .team-item-right:nth-of-type(even):before {
    height: 0%;
}

.bracket-right-2 .team-item-right:nth-of-type(odd):after {
    height: 200%;
    top: 50%;
}
.bracket-right-2 .team-item-right:nth-of-type(even):after {
    height: 200%;
    top: -150%;
}

.bracket-right-3 .team-item-right:nth-of-type(odd):before {
    height: 200%;
    top: 50%;
}
.bracket-right-3 .team-item-right:nth-of-type(even):before {
    height: 100%;
    top: -50%;
}/*

*/.bracket-right-4 .team-item-right:nth-of-type(odd):after {
    height: 700%;
    top: 50%;
}
.bracket-right-4 .team-item-right:nth-of-type(even):after {
    height: 700%;
    top: -650%;
}


.bracket-right-5 .team-item-right:before {
    display: none;
}


.bracket-right-4 .team-item-right:after {
    display: none;
}


.bracket-right-1 .team-item-right:after {
    display: none;
}

/* povezava */

.bracket-left-5 .team-item-left:nth-of-type(odd):before {
    height: 0%;
}
.bracket-left-5 .team-item-left:nth-of-type(even):before {
    height: 0%;
}

.bracket-left-2 .team-item-left:nth-of-type(odd):after {
    height: 200%;
    top: 50%;
}
.bracket-left-2 .team-item-left:nth-of-type(even):after {
    height: 200%;
    top: -150%;
}

.bracket-left-3 .team-item-left:nth-of-type(odd):before {
    height: 200%;
    top: 50%;
}
.bracket-left-3 .team-item-left:nth-of-type(even):before {
    height: 100%;
    top: -50%;
}/*

*/.bracket-left-4 .team-item-left:nth-of-type(odd):after {
    height: 700%;
    top: 50%;
}
.bracket-left-4 .team-item-left:nth-of-type(even):after {
    height: 700%;
    top: -650%;
}


.bracket-left:first-of-type .team-item-left:before {
    display: none;
}


.bracket-left-4 .team-item-left:after {
    display: none;
}


.bracket-left:last-of-type .team-item-left:after {
    display: none;
}


.tournament-brackets-finale .bracket-right .team-item-right:after{
    display: none;
}

/*.bracket-left:last-of-type .team-item-left:before {
    display: none;
}*/


.team-item-score span{
    padding: 8px;
    background-color: #ffffff;
    text-align: center;
    border-radius: 5px;
    color: #276a87;
}

.team-item-score{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.team-item-title{
    font-weight: bold;
    color: #ffffff;
    font-size: 12px;
}

.team-item-add{
    color: #ffffff;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
    background: #1d5982b5;
    margin-bottom: 15px;
}


.team-item-divider{
    width: 100%;
    height: 1px;
    background-color: #f1f1f1;
    margin-bottom: 5px;
    margin-top: 5px;
}

.tournament-title{
    font-size: 30px;
    color: #ffffff;
    text-align: center;
    margin-bottom: -20px;
    margin-top: 15px;
}





.team-additional img{
    width: 20px;
    float: right;
    margin-right: 10px;
}


.team-hidden{
    font-size: 13px;
    color: #ffffff;
    margin-top: 40px;
    text-align: justify;
    padding: 10px;
}


.shooters-text{
    margin-top: 20px;
}

.shooters-text div{
    color: #ffffff;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
    background: #1d5982b5;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 5px;
}

.shooters-text label {
    color: #ffffff;
    font-weight: normal;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 0px;
}

.shooters-text span{
    color: white;
    background: #388a93;
    float: right;
    width: 20px;
    text-align: center;
}

.header-time img{
    width: 20px;
}

.team-item-add-data{
    width: 100%;
    background: none;
    border: none;
    text-align: right;
}

.team-item-add-data.group-data{
     position: absolute;
    right: 10px;
    top: 15px;
}

.team-item-add-data img{
    width: 15px;
    float: right;
    margin-left: 10px;
    cursor: pointer;
}

.modal {
    position: absolute;
    display: block;
    z-index: 10000; /* 1 */
    top: 0;
    left: 0;
    visibility: hidden;
    width: 100%;
    height: 100vh;
}

.modalStatistic {
    position: absolute;
    display: block;
    z-index: 10000; /* 1 */
    top: 0;
    left: 0;
    visibility: hidden;
    width: 100%;
    height: 100vh;
}

.modal.is-visible {
    visibility: visible;
}

.modalStatistic.is-visible {
    visibility: visible;
}


.modal-overlay {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsla(0, 0%, 0%, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s;
}

.modal.is-visible .modal-overlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.modalStatistic.is-visible .modal-overlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.modal-wrapper {
    position: absolute;
    z-index: 9999;
    top: 6em;
    left: 50%;
    width: 32em;
    margin-left: -16em;
    background-color: #fff;
    box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
    border-radius: 5px;
}

.modal-wrapper section{
    padding: 20px;
}

.modal-title{
    background-color: #1d5982b5;
    color: white;
    width: 100%;
    padding: 15px;
    text-transform: uppercase;
    font-weight: bold;
}

.modal-transition {
    transition: all 0.3s 0.12s;
    transform: translateY(-10%);
    opacity: 0;
}

.modal.is-visible .modal-transition {
    transform: translateY(0);
    opacity: 1;
}

.modalStatistic.is-visible .modal-transition {
    transform: translateY(0);
    opacity: 1;
}


.singlegameAbout{
    margin-top: 40px;
}

.singleGameScorer img{
    width: 15px;
    margin-top: -3px;
    margin-left: 6px;
}

.tab-content{
    padding: 10px;
    padding-top: 30px;
    padding-bottom: 30px;
}


.groups-container{
    padding: 10px;
    padding-top: 80px;
    width: 100%;
    
}

.groupCard{
    height: 220px;
    margin-bottom: 40px;
}

.groupCardHeader{
    padding: 15px;
    border-bottom: 1px solid #ffffff;
    background-color: #1d5982b5;
    color: #ffffff;
    font-weight: bold;
    position: relative;
}

.groupCardBody{
    padding: 15px;
    color: #ffffff;
    font-size: 13px;
}

.button-back{
    border: 2px solid #5688a5;
    color: #5688a5;
    font-weight: bold;
    transition: .3s;
}

.button-back:hover{
    background-color: #5688a5;
    color: #ffffff;
}

.button-add{
    border: 2px solid #5688a5;
    background-color: #5688a5;
    color: #ffffff;
    font-weight: bold;
    transition: .3s;
}

.button-add:hover{
    background: none;
    color: #5688a5;
}

.groupResults {
    padding: 15px;
    color: #ffffff;
    font-size: 12px;
    border-top: 1px solid #2f788d;
    border-bottom: 1px solid #2f788d;
}


.missingData{
    border-right: 3px solid #d03737;
}

.showAllPlayers{
    margin-top: 20px;
    cursor: pointer;
}

.statisticTitle{
    font-weight: 700;
    font-size: 20px;
}


.bracketsSlider{
    margin-top: 800px;
}