ul#navbar-nav {
    margin-left: -11px;
}

.select2-container .select2-selection--single {
    height: 36px;
}
.page-title-row {
    display: none;
}

.card.d4-form-card .card-body {
    padding: 0 11px;
}

.tournament-image {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center center;
    padding: 0;
    border-radius: 0;
    border: 1px solid #ced4da;
    margin-bottom: 20px;
}

.tournament-image::after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
}

.tournament-image .title {
    font-size: 32px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    padding-top: 15px;
    z-index: 1;
}

.tournament-image .date {
    font-size: 18px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    z-index: 1;
}

.tournament-image .location {
    font-size: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    z-index: 1;
}


.action-approve i:hover {
    background-color: rgb(10 179 156 / 25%) !important;
    border-radius: 50%;
    cursor: pointer;
}

.action-reject i:hover {
    background-color: rgb(240 101 72 / 25%) !important;
    border-radius: 50%;
    cursor: pointer;
}

.action-undo i:hover,
.action-edit i:hover,
.action-delete i:hover {
    cursor: pointer;
}

.team-box .card-body {
    padding: 0 0 0.5rem 0;
}

.team-list.list-view-filter .team-box {
    padding: 10px 10px 10px 10px;
    margin-bottom: 0;
}

.team-list.list-view-filter .team-box:hover {
    background: rgb(64 81 137 / 6%);
}

.number {
    padding: 15px;
}

#registered .card-body {
    padding: 0;
}

.action-div .status {
    display: flex;
    align-content: space-around;
    align-items: center;
    height: 100%;
    justify-content: center;
    font-size: 14px;
}

.action-div .status.approved {
    color: #02a81e;
}

.action-div .status.rejected {
    color: #ea1a44;
}

.action-div .status i {
    font-size: 20px;
    margin-right: 5px;
}

.bracket-action-div {
    display: flex;
    justify-content: flex-end;
    height: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.bracket-action {
    width: 150px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    height: 34px;
}

.bracket-action i {
    margin-right: 5px;
}

.bracket-action:first-child {
    margin-right: 10px;
}

.bracket-action:hover {
    background: rgb(64 81 137 / 6%);
    cursor: pointer;
}
#brackets {
    margin-bottom: 50px;
    width: 100%;
    overflow: auto;
}

#brackets .tool-item .btn {
    margin-right: 5px;
}

.tournament {
    min-height: 910px;
    height: 100%;
    overflow: auto;
}

.startlist {
    float: left;
    height: 960px;
    padding: 20px;
    overflow: auto;
}

.tournament.rep {
    height: 95px;
    min-height: 95px;
}

.d4br {
    float: left;
    width: 180px;
}

.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: 16px;
    margin-right: 3px;
    margin-top: 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;
}

