#BRACKET{
    padding: 10px 0 0 0;
    margin-bottom: 50px;
}

.tournament {
    min-width: 1800px!important;
    width: 100%;
    min-height: 910px;
    height: 100%;
    padding: 20px;
    overflow: auto;
}

.startlist {
    float: left;
    height: 960px;
    padding: 20px;
    overflow: auto;
}

.tournament.rep{
    height: 95px;
    min-height: 95px;
}
.d4br {
    float: left;
    width: 200px;
}
.d4bspace {
    float: left;
    height: 0;
}
.d4blink {
    float: left;
    width: 20px;
}
.linkblock.top {
    width: 100%;
}
.linkblock.top .left {
    float: left;
    width: 50%;
    height: 100%;
    border-top: 1px solid #7B7B7B;
    border-right: 1px solid #7B7B7B;
}
.linkblock.top .rigth {
    float: left;
    width: 50%;
    height: 100%;
}
.linkblock.bottom .left {
    float: left;
    width: 50%;
    height: 100%;
    border-bottom: 1px solid #7B7B7B;
    border-right: 1px solid #7B7B7B;
}
.linkblock.bottom .rigth {
    float: left;
    border-top: 1px solid #7B7B7B;
    width: 50%;
    height: 100%;
}

.bdis{
    color: #000!important;
    background: #F5F5F5 !important;
}

.xEdit {
    text-shadow: 0 0 0 black;
    transition: 0.3s;
}
.xEdit:hover {
    text-shadow: 0 0 1px black;
    transition: 0.3s;
}

/* *************************************************************************** */
.d4bgroup {
    height: 50px;
    width: 100%;
    border: 1px solid #7B7B7B;
    background: #FFF;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16),0 2px 2px 0 rgba(0,0,0,0.12);
    overflow: hidden;
}
.d4br.TL1.xno {
    width: 30px;
    text-align: center;
}
.d4bgroup.small{
    width:30px;
}
.d4bgroup.small {
    border-width: 1px 0 1px 1px;
}

.d4bgroup.single {
    height: 26px;
}
.gitem {
    width: 100%;
    float: left;
    height: 24px;
    width: 100%;
    display: block;
    padding: 2px 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    cursor: pointer;
}
.d4-text {
    font-size: 12px;
    line-height: 22px;
}
.d4bgroup .bname {
    width: 85%;
    float: left;
    padding: 2px 5px !important;
    height: 24px;
    overflow: hidden;
}
.d4bgroup .bscore {
    width: 15%;
    float: left;
    border-left: 1px solid #7B7B7B;
    height: 24px;
    padding: 1px;
    overflow: hidden;
    text-align: center;
}
/*
.gitem:hover{
	border-left: 1px solid #7B7B7B;
	border-right: 1px solid #7B7B7B;
}*/
.d4bgroup { border-top: 1px solid #7B7B7B;	overflow: hidden;}
.d4bgroup .gitem.bottom { border-top: 1px solid #DDD; }

/* *************************************************************************** */
.TL1 .d4bgroup 		{ 	margin-bottom: 4px;		}
.TL1 .bspace 		{	margin-top: 0px;		}
/* *************************************************************************** */
.TL2 .bspace-top 	{ 	margin-bottom: 27px;	}
.TL2 .bspace-bottom { 	margin-bottom: 58px;	}
/* *************************************************************************** */
.TL3 .bspace-top 	{ 	margin-bottom: 81.5px;	}
.TL3 .bspace-bottom {	margin-bottom: 166px; 	}
/* *************************************************************************** */
.TL4 .bspace-top 	{	margin-bottom: 190px;	}
.TL4 .bspace-bottom { 	margin-bottom: 382px;	}
/* *************************************************************************** */
.TL5 .bspace-top 	{	margin-bottom: 405.5px;	}
.TL5 .bspace-bottom {	margin-bottom: 815px;	}
/* *************************************************************************** */
.TL6 .bspace-top 	{	margin-bottom: 418.5px;	}
.TL6 .bspace-bottom {	margin-bottom: 0px;		}
/* *************************************************************************** */
.TL7 .bspace-top 	{	margin-bottom: 838px;	}
.TL7 .bspace-bottom {	margin-bottom: 0px;		}
/* *************************************************************************** */
.TL8 .bspace-top 	{	margin-bottom: 850.5px;	}
.TL8 .bspace-bottom {	margin-bottom: 0px;		}
/* *************************************************************************** */
/* *************************************************************************** */
.L1 .bspace-top 	{	margin-bottom: 24.5px; 	}
.L1 .glinkitem		{	height: 39px;			}
.L1 .linkblock		{	height: 27.5px;			}
.L1 .bspace-bottom 	{	margin-bottom: 69px;	}
/* *************************************************************************** */
.L2 .bspace-top 	{	margin-bottom: 52px; 	}
.L2 .glinkitem		{	height: 124px;			}
.L2 .linkblock		{	height: 54.5px;			}
.L2 .bspace-bottom 	{	margin-bottom: 92px;	}
/* *************************************************************************** */
.L3 .bspace-top 	{	margin-bottom: 106px; 	}
.L3 .glinkitem		{	height: 149px;			}
.L3 .linkblock		{	height: 108.5px;		}
.L3 .bspace-bottom 	{	margin-bottom: 283px;	}
/* *************************************************************************** */
.L4 .bspace-top 	{	margin-bottom: 214px;	}
.L4 .glinkitem		{	height: 60px;			}
.L4 .linkblock		{	height: 216px;			}
.L4 .bspace-bottom 	{	margin-bottom: 805px;	}
/* *************************************************************************** */
.L5 .bspace-top 	{	margin-bottom: 417.5px;	}
.L5 .glinkitem		{	height: 0px;			}
.L5 .linkblock		{	height: 14px;			}
.L5 .bspace-bottom 	{	margin-bottom: 304.5px;	}
/* *************************************************************************** */
.L6 .bspace-top 	{	margin-bottom: 417.5px;	}
.L6 .glinkitem		{	height: 500px;			}
.L6 .linkblock		{	height: 50px;			}
.L6 .bspace-bottom 	{	margin-bottom: 304.5px;	}
/* *************************************************************************** */
.L7 .bspace-top 	{	margin-bottom: 430px;	}
.L7 .glinkitem		{	height: 580px;			}
.L7 .linkblock		{	height: 433px;			}
.L7 .bspace-bottom 	{	margin-bottom: 385px;	}
/* *************************************************************************** */
.L8 .bspace-top 	{	margin-bottom: 850px;	}
.L8 .glinkitem		{	height: 50px;			}
.L8 .linkblock		{	height: 14px;			}
.L8 .bspace-bottom 	{	margin-bottom: 830.5px;	}
/* *************************************************************************** */
.bspace-bottom:last-child{
    margin-bottom: 0px;
}

.draggable, .droppable {
    border: 1px dashed #7B7B7B;
    width: 50px;
    height: 50px;
    background-color: #fff;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
}

.droppable {
    border-color: #31b03d;
    padding: 5px 2px;
}

.draggable.clone {
    background-color: #abe2a5;
}

.droppable.big {
    height: 60px;
    width: 100px;
}

.droppable.big .droppable {
    float: right;
}

.droppable.active {
    background-color: #abe2a5;
}

.droppable.drop-here {
    background-color: #3498db;
}

.droppable .draggable {
    width: 16px;
    height: 16px;
    margin: 0 3px;
    font-size: 10px;
    padding: 2px;
}

dl {
    width: 150px;
    float: right;
}

dl dd {
    margin-top: -21px;
    margin-left: 60px;
}

dl.inline {
    float: none;
    width: auto;
}

dl.inline dl, dl.inline dd {
    margin-left: 100px;
}

h4, h2 {
    clear: both;
}

h2 {
    margin-top: 20px;
}

h4 {
    margin-bottom: 10px;
    margin-top: 20px;
}

#droppable .droppable {
    float: right;
}

ul.list, ul.grid {
    list-style-type: none;
    padding: 0;
    width: 162px;
}

ul.grid.wide {
    width: 100%;
    height: 50px;
}

ul.grid.active {
    background-color: #abe2a5;
}

ul.list li, ul.grid li {
    border: 1px solid #DCDBDD;
    margin: 2px;
    padding: 2px 5px;
    background-color: #F6F5F7;
    box-sizing: border-box;
    vertical-align: top;
}

ul.list li {
    height: 28px;
}

ul.grid li {
    float: left;
    height: 50px;
    width: 50px;
}

ul.list li.placeholder, ul.grid li.placeholder {
    border-style: dashed;
    background-color: transparent;
}

.custom-menu {
    display: none;
    z-index: 1000;
    position: absolute;
    overflow: hidden;
    border: 1px solid #CCC;
    white-space: nowrap;
    font-family: sans-serif;
    background: #FFF;
    color: #333;
    border-radius: 5px;
    padding: 0;
}

.custom-menu li {
    padding: 8px 12px;
    list-style: none;
    cursor: hand;
}

.custom-menu li:hover {
    background-color: #DEF;
}
.item-red {
    background: #FF7373;
    color: #FFF;
}
.item-blue {
    background: #6D89D5;
    color: #FFF;
}

.xOver {
    background: rgba(247, 254, 114, 0.8) !important;
    color: #000!important;
}
.xflag {
    height: 20px!important;
    margin-right: 3px;
    float: left;
}

.d4blink.R1 {
    height: 25px;
}
.glinkitemRep{
    height: 0px;
    width: 24px;
    margin-left: -2px;
    margin-top: 18px;
    -webkit-transform: rotate(148deg);
    -moz-transform: rotate(148deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=148);
    border-top: 1px solid #7B7B7B;
}
.d4bgroup.xComp{
    border-left: 0px !important;
}

.xfb{
    font-weight: bold;
}

.xNot {
    text-decoration: line-through !important;
}



/* ----------------------------------------------------------------------------------------------------------------------- */

/* ----------------------------------------------------------------------------------------------------------------------- */



.kata{
    text-align:center;
    margin: auto;
}
.kata .level {
    width: 100%;
    margin: auto;
    display: inline-block
}
.kata .level .column{
    width: 250px;
    display: inline-block;
    margin: 5px;
}
.kata .level .column.half{
    width: 100px;
}

.kata .level .column .cells{
    width: 100%;
    height: 24px;
    float: left;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 0;
}

.kata .level .column .cells:last-child{
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.kata .level .column .cells.green {
    background: rgb(155, 155, 155);
    color: #FFF;
}

.kata .level .column .cells.red {
    background: #FF7373;
    color: #FFF;
}

.kata .level .column .cells.silver {
    background: #d1d1d1;
    color: #000000;
}

.cells.silver .cell.score.slim{

    font-weight: bold;
}

.kata .level .column .cells.blue {
    background: #6D89D5;
    color: #FFF;
}

.kata .cell.no {
    width: 25px;
    line-height: 20px;
}

.kata .level .column .cell{
    float: left;
    height: 24px;
    padding: 2px 3px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
}

.kata .level .column .cell.score{
    width: 15px;
    text-align: center;
    font-size: 10px;
    line-height: 20px;

}
.kata .level .column .cell.flag{
    width: 25px;
    text-align: center;
}
.kata .level .column .cell.name{
    width: 178px;
    text-align: left;
    /*border-left: 1px solid rgba(255, 255, 255, 0.4);*/
}

.kata .level .column .cell.name.slim{
    width: 153px;
}

.kata .level .column .cell.score{
    width: 44px;
    text-align: center;
    font-size: 14px;
    /*border-left: 1px solid rgba(255, 255, 255, 0.4);*/
    padding: 2px 0;
}
.kata .level .column .lines{
    width: 50%;
    height: 15px;
    float: left;
}

.kata .lines.right{
    border-right: 1px solid #7B7B7B;
}

.kata .lines.left{
    border-left: 1px solid #7B7B7B;
}

.kata .lines.top{
    border-top: 1px solid #7B7B7B;
}

.kata .lines.bottom{
    border-bottom: 1px solid #7B7B7B;
}
