/*------------------- столы ----------------------*/

.gametable {
	display: inline-block;
    position: relative;
    border: 1px solid #084282;
    border-radius: 3px;
    cursor: pointer;
    color: #084282;
    text-align: center;
    margin: 3px;
	vertical-align: middle;
    width: 24px;
    height: 24px;
	line-height: 24px;
}

.gametable:hover {
    opacity: 1;
    background: #FF9;
}

.seltableform {
    position: absolute;
	width: 90%;
	max-width: 300px;
    box-shadow: 0px 0px 4px #000;
    -moz-box-shadow: 0px 0px 4px #000;
    -webkit-box-shadow: 0px 0px 4px #000;
   
    filter: progid:DXImageTransform.Microsoft.dropshadow(offX=-1, offY=1, color=#000000)
            progid:DXImageTransform.Microsoft.dropshadow(offX=1, offY=-1, color=#000000);
    top: 0px;
    left: 0px;
    z-index: 1000;
	opacity: 1;
   
	background: white;
    border-radius: 3px;
	-webkit-transition: all 0.5s 0s ease;
    -moz-transition: all 0.5s 0s ease;
    -o-transition: all 0.5s 0s ease;
	transition: all 0.5s 0s ease; 
}

.sscore {
    border: solid 1px #084282;
    width: 30px;
    height: 30px;
}

div.winscore, div.lossscore, div.techscore {
    display: inline-block;
    position: relative;
    border-radius: 3px;
    cursor: pointer;
    font-size: 100%;
    text-align: center;
	vertical-align: middle;
    padding: auto auto;
    margin: 2px;
    width: 40px;
    height: 20px;
}

div.winscore {
    border: 1px solid green;
	color: green;
}

div.lossscore {
    border: 1px solid red;
    color: red;
}

div.techscore {
    border: 1px solid black;
    color: black;
}

div.winscore:hover, div.lossscore:hover, div.techscore:hover {
    background: #FF9;
}

.win {
    color: green;
}

.loss {
    color: red;
}

.restable {
    display: inline-block;
    position: relative;
    border: 1px solid #084282;
    border-radius: 3px;
    cursor: pointer;
    color: #084282;
    text-align: center;
	vertical-align: middle;
	width: 20px;
    height: 20px;
	line-height: 20px;
	font-size: 80%;
}

.restable:hover {
    background: #FF9;
}

.pointscore {
    display: block;
    float: left;
    position: relative;
    border: 1px solid black;
    border-radius: 3px;
    cursor: pointer;
    color: black;
    font-weight: bold;
    text-align: center;
    opacity: 0.9;
    padding: 1px;
    margin: 1px;
    width: 14px;
    height: 14px;
}

.pointscore:hover {
    background: #FF9;
}

.white {
    background: white;
}

/*   сетки    */

div.bracket {
    display: table;
	width: 100%;
    border-collapse: separate;
    border-spacing: 0px 0px;
    padding: 0;
}

div.bracket-row {
    display: table-row;
    border-color: #b94a48;
}

div.bracket-row div {
	padding: 0px;
}

div.bracket-row input {
    /* border: solid 1px #aaa;
	box-sizing: border-box;
	-moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px; */
	border: 0px;
	background: transparent;
    color: #444;
	min-width: 30px;
	width: 35%;
	
}

div.bracket-row input:active,
div.bracket-row input:focus,
div.bracket-row input:hover {
	border: 0px;
	background: #fafafa;
}

/*
input.bracket {
    width: 80px;
    height: 15px;
    font-size: 100%;
    font-weight: normal;
    background: #ededed;
    border: 0px;
    color: #084282;
}
*/

input.bracket-print {
    width: 80px;
    height: 15px;
    font-size: 90%;
    border: 0px;
}

div.mini-print {
    display: inline-block;
    font-size: 100%;
    width: 120px;
    height: 20px;
	white-space: nowrap;
}
		
div.snd {
    display: inline-block;
	box-sizing: border-box;
	text-align: center;
    width: 35px;
	height: 24px;
	line-height: 24px;
    cursor: pointer;
    z-index: 2;
    background: #ededed;
	position: absolute;
	vertical-align: middle;
	top: 1px;
}

.snd:hover {
    background: #FF9;
}

div.snd-print{
    display: block;
    width: 60px;
    height: 17px;
    top: 1px;
    cursor: pointer;
    position: absolute;
    white-space: nowrap;
    z-index: 2;
}

div.gamenum {
	position: absolute;
    display: block;
    width: 22px;
    float: left;
    text-align: right;
    top: -10px;
    left: -57px;
}

input.brackethighlight {
    width: 80px;
    height: 15px;
    font-weight: normal;
    background: #FF9;
    border: 0px;
    color: #084282;
}

table.bracket {
    border-collapse: collapse;
    border-spacing: 0px 0px;
    font-size: 90%;
}

td.rb { /* правая рамка */
    border-style: solid;
    border-width: 1px;
    border-color: white black white white;
    height: 15px;
}

td.bb { /* нижняя рамка */
    border-style: solid;
    border-width: 1px;
    border-color: white white black white;
    height: 15px;
}

td.tb { /* верхняя рамка */
    border-style: solid;
    border-width: 1px;
    border-color: white white black white;
    height: 15px;
}

td.rbb { /* нижняя и правая рамка */
    border-style: solid;
    border-width: 1px;
    border-color: white black black white;
    height: 15px;
}

td.rtb { /* верхняя и правая рамка */
    border-style: solid;
    border-width: 1px;
    border-color: black black white white;
    height: 15px;
}

td.eb { /* пустая ячейка */
    border-style: solid;
    border-width: 1px;
    border-color: white;
    height: 15px;
}

div.rb, div.bb, div.tb, div.rbb, div.rtb, div.eb {
    display: table-cell;
	position: relative;
    border-style: dotted;
    border-width: 1px;
}

div.rb {
    border-color: white black white white;
}

div.bb {
    border-color: white white black white;
}

div.tb {
    border-color: white white black white;
}

div.rbb {
    border-color: white black black white;
}

div.rtb {
    border-color: black black white white;
}

div.eb {
    border-color: white;
}
    
div.seeded {
    display: inline-block;
	width: 24px;
	font-size: 80%;
	overflow: hidden;
    text-align: center;
}

div.place {
    display: inline-block;
	float: right;
	box-sizing: border-box;
	width: 20px;
	height: 20px;
	line-height: 20px;
	font-size: 80%;
	text-align: center;
	vertical-align: middle;
	background: lightblue;
	-moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
}

div.pint-place {
    display: inline-block;
	box-sizing: border-box;
	width: 20px;
	height: 20px;
	line-height: 20px;
	font-size: 100%;
	text-align: center;
	float: right;
	vertical-align: middle;
}

div.emptyplace {
    display: inline-block;
	box-sizing: border-box;
	width: 20px;
	height: 24px;
}

div.player_image, div.player_image_bracket {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	word-break: all;
}

div.player_image {
	width: 100%;	
}

div.player_image img, div.player_image_bracket img {
	width: 30px;
	float: left;
}

div.score_player_image img {
	width: 60px;
}

div.stat_player_image img {
	width: 20px;
}

.stat_match tr th , 
.stat_match tr td {
	text-align: center;
	padding: 2px;
}

.stat_match tr td:first-child {
	text-align: left;
}

.techelement  {
    display: inline-block;
    position: relative;
	border: 1px solid #084282;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    padding: 3px;
    margin: 3px;
    width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    text-decoration: none;
}

.techelement:hover {
    text-decoration: none;
    background: #FF9;
}

div.show_player {
	display: inline-block;
	width: 50%;
	height: 24px;
	line-height: 24px;
	vertical-align: middle;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: hidden;
	white-space: nowrap;
	position:absolute;
}