body {
    padding-top: 50px;
    overflow-y: scroll;
}
.sub-header {
    border-bottom: 1px solid #EEEEEE;
    padding-bottom: 10px;
}
.sidebar {
    display: none;
}

@media (min-width: 768px) {
    .sidebar {
        background-color: #EBEBEB;
        border-right: 1px solid #EEEEEE;
        bottom: 0;
        display: block;
        left: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 20px;
        position: fixed;
        top: 51px;
        z-index: 1000;
    }
}
.nav-sidebar {
    margin-bottom: 20px;
    margin-left: -20px;
    margin-right: -21px;
}
.nav-sidebar > li > a {
    padding-left: 20px;
    padding-right: 20px;
}
.nav-sidebar > .active > a {
    background-color: #AA1111;
    color: #FFFFFF;
}
.main {
    padding: 20px;
}

@media (max-width: 1279px) {
    .top-padd {
        padding-top: 50px;
    }
    .sidebar{
        top:101px;
    }
}

@media (max-width: 767px) {
    .top-padd {
        padding-top: 0;
    }
}

h1{
    margin: 0;
}

.nav-sidebar a{
    color: #AA1111;

}

.nav-sidebar li a:hover,.nav-sidebar li a:focus{
    color: #ffffff;
    background-color: #222222;
}
.navbar-brand{
    padding: 5px 5px 5px 15px;
}

h1 > a.navbar-brand > img {
    display: inline;
}

.main .page-header {
    margin-top: 0;
}
.placeholders {
    margin-bottom: 30px;
    text-align: center;
}
.placeholders h4 {
    margin-bottom: 0;
}
.placeholder {
    margin-bottom: 20px;
}
.placeholder img {
    border-radius: 50%;
    display: inline-block;
}

form.fos_user_registration_register{
    float:left;
    border: 1px solid #EBEBEB;
    border-radius: 10px;
    width:40%;
    padding: 10px 20px;
}

.fos_user_registration_register label{
    width: 50%;
}

.fos_user_registration_register input,.fos_user_registration_register select{
    width: 50%;
}
/* lists */
ul{
    list-style-type: none;
    padding:0;
}

/* extra actions*/
ul.record_actions{
    float:left;

}

ul.record_actions li{
    display:inline-block;
}

ul.record_actions li a{
    border-radius: 3px;
    padding: 6px 10px;
    background-color: #fff;
    border:1px solid #ccc;
    color: #333;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    white-space: nowrap;

}

ul.record_actions li a:hover{
    background-color: #ddd;
}

/*div[id^="ktap_membersbundle"]{
    float:left;

}*/

div[id^="ktap_membersbundle"] label{
    margin-right:15px;
}


label+input, input+label{
    margin-left:5px;
}

label+div{
    padding-left:15px;
}

/* eveniment styles */

ul.probaEveniment li {
    width:100%;
    float:left;
}

div[id^='ktap_membersbundle_eveniment_probaEveniment']>div{
    float:left;
    padding: 2px 5px;
    border:1px solid #d3d3d3;
    height: 40px;

}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year{
    color: #333333;
}

.flex-container{
    display: flex;
}

.stage {
    float:left;
    width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-right: 15px;
    font-size: 0.85em;
    color: white;
}

.flex-container div:first-child div:nth-of-type(2n) {
    margin-bottom: 20px;
}

.category-container-game-play {
    padding:5px 15px;


}

.category-game-play {
    cursor: pointer;
    border: 1px solid black;
    border-radius: 10px;
    height: 150px;

}

.category-f-player, .category-s-player {
    height: 75px;
    padding: 5px;
}

.category-f-player {
    background-color: red;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.category-s-player {
    background-color: blue;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.category-player {
    width:90%;
    float: left;

}
.category-score {
    width:10%;
    padding-top: 10px;
    float: right;
    font-size: 24px;
    font-weight: bold;

}

.team-category .category-player {
    width:89%;
    float: left;

}
.team-category .category-score {
    width:11%;
    padding-top: 10px;
    float: right;
    font-size: 24px;
    font-weight: bold;

}

.gplayed {
    opacity: 0.4;
}

.container-game-play {
    width:1205px;
    margin: 0 auto;
}

.game-play {
    border: 1px solid gray;
    border-radius: 20px;
    height: 510px;
    margin:0 auto;
    color: white;
    position: relative;
    float: left;

}

.sportiv-club {
    height: 200px;
}

.f-player, .s-player {
    height: 510px;
    width: 600px;
    text-align: center;

}

.f-player {
    float:right;
}

.s-player {
    float:left;
}

.f-player h2, .s-player h2{

    font-size: 50px;
    font-weight: bold;
    min-height: 110px;

}
.f-player h3, .s-player h3{

    font-weight: bold;

}

.f-player {
    background-color: red;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.s-player {
    background-color: blue;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

#points-aka, #points-ao{
    font-size: 170px;
    font-weight: bold;
    line-height: 1em;
}

.game-time-controls{
    margin-top: 10px;
    float:right;

}

.game-time-controls p{
    display: inline;
}

.game-time-controls button{
    width: 100px;
}

/*********************** Counterdown style *****************************/

#game-time {
    position:absolute;
    top: 60%;
    left: 500px;
    width: 200px;
    background-color: white;
    color: #667788;
    font-weight: bold;
    font-size: 50px;
    text-align: center;
    padding: 10px 20px;
    border-radius: 10px;
}


/**** top title ***/

.kta-top-title {
    position: fixed;
    z-index: 100000;
    top:0;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    background-color: #f8f8f8;
    border:solid 1px #e7e7e7;


}

.kta-top-title h2 {
  font-size: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kta-top-ranking {
    position: fixed;
    z-index: 100001;
    top:90px;
    right:0;
    text-align: center;
    padding: 10px 0;
    background-color: #f8f8f8;
    border:solid 1px #e7e7e7;


}

.kta-top-title h2, .kta-top-title p{
    margin: 10px 0 0 0;

}

.event-categoies-admin {
    margin-top: 2px;
    display: inline-block;
}

.event-categoies-admin input{
    vertical-align: middle;
    width:40px;
    height:23px
}


/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modal {

    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     101%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 )
    url('../../ajax-syncing-loading-icon.gif')
    50% 50%
    no-repeat;
}


/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}

#registration_list tr{
    height: 90px;
}

table#registration_list tr td{
    vertical-align: middle;
}

table#registration_list > tbody > tr > td, table#registration_list > thead > tr > th {
	border: 1px solid #8f8686;
}
