.tg-sliderbox {
    height: 500px;
}
@media (max-width: 767px) and (min-width: 485px) {
    .tg-home-slider {
        padding-top:300px ;
    }
}

.tg-footercol {
    display: flex;
    flex-direction: column;
}

.tg-footerbar .container:before,
.tg-footerbar .container:after {
    content: none;
}

.tg-footerbar .container {
    display: flex;
    justify-content: space-between;
}

.tg-footercol .logo {
    max-width: 300px;
}

.tg-footercol .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (min-width: 768px) {
    .tg-header .tg-logo {
        display: flex;
        align-items: center;
        height: 160px;
    }

    .tg-footercol {
        flex-direction: row;
    }

    .tg-sliderbox {
        height: 100%;
    }
}
#tg-sponser-slider .tg-teamlogo {
    padding: 0;
}
#utkani figure {
    margin: 0;
}
#utkani #podpora {
    width: 100%;
}
#utkani .tg-btnbox {
    text-align: center;
}
#sponzori .tg-btnbox {
    position: relative;
    float: right;
    max-width: 40px;
    margin-right: 50px;
}
#sponzori .tg-btn {
    padding: 0px 20px;
}
*, html {
    scroll-behavior: smooth !important;
}

.tg-flexrow {
    display: block;
}
.demTable {
    border:1px solid #b3adad;
    border-collapse:collapse;
    padding:0px;
    font-size: 12px !important; 
}
.demTable th {
    border:1px solid #b3adad;
    padding:0px;
    background: #FF000060;
    color: #ffffff;
}
.demTable td {
    border:1px solid #b3adad;
    text-align:center;
    padding:0px;
    background: #21000016;
    color: #ffffff;
}
#NaborHracu h1, h4{
    color: #ffffff !important;
    text-transform: none !important;
}
@media (min-width: 767px) {
    .tg-matchresult .tg-box {
    height: 350px;
    }
}
/*#Soupiska{min-width: 82%;}
#Soupiska .tg-matchscrollbar {
    margin:30px;
    position:relative;
    overflow:hidden;
    height: 416px;
    width: 620px;
    border: 3px solid #F3F3F3
}
#Soupiska iframe{
    position: absolute;
    left: -750px;
    top: -1490px;
    width: 1800px;
    height: 1900px;
    pointer-events: none;
}

*/

@media (max-width: 767px){
    #Soupiska .tg-btnbox {
        width: auto;
        margin-top: 0px !important;
     }
     #Soupiska .tg-contentbox {
        padding: 20px;
     }
     .tg-section-name {
        transform: none;
        position: static;
        border: none;
        
    }
    .tg-section-name h2 {
        border-bottom: 2px solid #373542;
        padding: 20px;
        font-size: 30px;
    }
    .col-xs-11, .recruiting-text-container {
        width: 100% !important;
    }
    .tg-latestresult, .tg-tabscontent, .tg-aboutussection{
        padding: 0 !important;
    }
    .tg-section-heading {
        padding-left: 20px;
    }
    .tg-score {
        height: auto !important;
    }
    #sponzor-heading {
        display: none;
    }
    .logo {
        margin: auto;
    }
    .recruiting-pic {
        margin: auto;
        width: auto !important;
    }
    .recruiting-pic-container {
        width: auto !important;
        margin-bottom: 0px;
    }
    #NaborHracu .tg-contentbox {
        padding-top: 20px;
    }
     
}
@media (max-width: 767px) {.tg-section-heading h2 {font-size: 20px;}}

.tg-score {
    padding: 30px;
}
.tg-score p {
    text-align: justify !important;
}
.tg-dropdowarrow {
    display: none;
}
.tg-topbar .navbar-toggle {
    display: none;
}



#Soupiska h1{
    color: white;
}
@media (min-width: 991px){
    .SoupiskaLeftBox {
        width: 30%;
     }
     .SoupiskaRightBox {
        margin-top: 40px;
        width: 70%;
     }
     .demTable {
        max-width: 700px;
     }
}
#RaptorsOpen .tg-score {
    width: 100% !important;
    height: 100% !important;
    position: static !important;
    margin: 20px 0 0 0 !important;
    color: #ffffff !important;
    text-align: center;
}
#RaptorsOpen .tg-score h3 {
    margin-bottom: 20px;
}
#OpenInfo .tg-matchscrollbar {
    background-color: #dddce5;
    padding: 10px;
}

.recruiting-pic-container {
    width: 40%;
    margin-top: 20px;

    @media (max-width: 991px){
        margin-top: 50px;
    }
}
.recruiting-pic {
    max-width: 350px; 
    height: auto;
    margin: 50px 0 0 0 !important;
    width: 100% !important;
}
.recruiting-text-container{
    width: 60%;
}
#OpenInfo p {
    line-height: 18px;
}