/*@import "sport-narrow.css" screen and (max-width: 768px);  	mobile  */
/*@import "sport-wide.css"  screen and (min-width: 769px);	desktop */

/** From  https://frb74.ru/sorevnovaniya/modul-istok-turnir
 **/
h1, h2, h3, h4, h5, h6, .site-title
			{ font-family: Montserrat, arial, helvetica, verdana, sans-serif; }

/*body.site { border-top: 0px solid #307ce0; background-color: #f4f6f7;	}*/
a 				{ color: #36C; }		/*! #307ce0 */
.nav-list > .active > a, .nav-list > .active > a:hover,
 .dropdown-menu li > a:hover, .dropdown-menu .active > a, .dropdown-menu .active > a:hover,
 .nav-pills > .active > a, .nav-pills > .active > a:hover,
 .btn-primary			{ background: #36C; }	/*! #307ce0 */

/* Top-to-Bottom */
#gruemenu.grue_90 ul li		{ margin:0 !important; padding:0 !important }
#gruemenu.grue_90 > ul > li	{ /*float: left;*/ display: inline-block; }
#gruemenu.grue_90 > ul > li.has-sub > a
				{ padding-right: 11px; } 		/* was: 25px */
#gruemenu.grue_90 > ul > li.has-sub > a::after
				{ border-top-color: #FFFFFF; right: 3px; /* was: 17px */
				  top: 50%; margin-top:2px; 
				  opacity: 0; }		/* transparent */
#gruemenu.grue_90 > ul > li.has-sub.active > a::after,
#gruemenu.grue_90 > ul > li.has-sub:hover > a
				{ border-top-color: #FFFFFF; }
#gruemenu.grue_90 ul ul		{ position: absolute; left: -9999px; top: auto;
				  padding-top: 0px;}
#gruemenu.grue_90 > ul > li > ul::after
				{ content: ""; position: absolute; width: 0; height: 0;
				  border: 5px solid transparent;
				  top: -3px; left: 6px; }		/* was: left:20px; */
#gruemenu.grue_90 ul ul ul::after
				{ content: ""; position: absolute; width: 0; height: 0;
				  border: 5px solid transparent;
				  top: 11px; left: -3px; }
#gruemenu.grue_90 > ul > li:hover > ul
				{ top: auto; left: 0; }
#gruemenu.grue_90 ul ul ul	{ padding-top: 0; padding-left: 6px;}
#gruemenu.grue_90 ul ul > li:hover > ul
				{ left: 200px; top: 0;}  	/* was: left: 220px; */
#gruemenu.grue_90 > ul > li > ul::after 
				{ border-bottom-color: #FFFFFF}
#gruemenu.grue_90 ul ul ul::after { border-right-color:  #FFFFFF }
#gruemenu.grue_90 ul ul li.has-sub > a::after
				{ border-left-color: #36C;  	/* was: #307CE0 */
				  right: 3px; top: 9px; }	/* was: right:17px;top: 14px; */
#gruemenu.grue_90 ul ul li.has-sub.active > a::after,
 #gruemenu.grue_90 ul ul li.has-sub:hover > a::after
				{ border-left-color:#FFFFFF; }
#gruemenu.grue_90		{ background: #36C; }	 	/* was: #307CE0 */
 #gruemenu.grue_90 ul li a,
 #gruemenu.grue_90		{ font-family: Montserrat, Arial, Helvetica, sans-serif; }
#gruemenu.grue_90,
 #gruemenu.grue_90 ul,
 #gruemenu.grue_90 ul li,
 #gruemenu.grue_90 ul > li > a	{ font-size: 13px; }

#gruemenu.grue_90 > ul > li > a { padding: 11px 11px; }	/* was: 16 25 16 25 */
 
#gruemenu.grue_90 ul > li > ul > li > a
				{ font-size: 12px!important }
#gruemenu.grue_90 > ul > li > a { color: #FFFFFF; text-transform:uppercase; font-weight: 600; }
#gruemenu.grue_90 > ul > li:hover > a,
 #gruemenu.grue_90 > ul > li > a:hover,
 #gruemenu.grue_90 > ul > li.active > a,
 #gruemenu.grue_90 ul ul li:hover > a,
 #gruemenu.grue_90 ul ul li.active > a
				{ color: #FFFFFF; background: #DB0D2D; }
#gruemenu.grue_90 ul ul li a 	{ padding: 11px; width: 200px; 
				  /* was: padding: 11px 25px; width: 220px; */
				  background: #FFFFFF; color: #36C; } /* was: color:#307CE0; */
#gruemenu.grue_90 ul ul li:hover > a,
#gruemenu.grue_90 ul ul li.active > a,

#gruemenu.grue_90 #menu-button
			{ color: #FFFFFF; }
#gruemenu.grue_90 #menu-button::after
			{ border-top: 2px solid #FFFFFF; border-bottom: 2px solid #FFFFFF; }
#gruemenu.grue_90 #menu-button::before
			{ border-top: 2px solid #FFFFFF; }

#gruemenu.grue_90	{ border-radius: 0px;
		          -webkit-border-radius: 0px;
			  -moz-border-radius: 0px; -o-border-radius: 0px; }
#gruemenu.grue_90 ul li:first-child > a
			{ border-top-left-radius: 0px; border-bottom-left-radius: 0px;}
#gruemenu.grue_90 ul ul li:first-child > a,
 #gruemenu.grue_90 ul ul li:last-child > a
			{ border-radius: 0px; }

#navigation-toggle	 { color: #FFFFFF; background: #DB0D2D; }
#navigation-toggle:hover { color: #FFFFFF; background: #DB0D2D; }

/* Enable Fixed Menu */
#gruemenu.grue_90.gruefixed { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; }

/* Enable Mobile Menu */
@media screen and (max-width: 899px)
{
 #gruemenu.grue_90    { display: none; }
 #navigation-toggle   { z-index: 999; display:block; position:fixed; top:10px; right:10px;
			padding:10px 10px 7px; box-shadow:0px 1px 1px rgba(0,0,0,0);
			border-radius: 3px;	
			text-shadow:0px 1px 0px rgba(0,0,0,0); font-size:20px;	
			transition: color linear 0.15s; text-decoration: none !important; }
 #navigation-toggle span.nav-line
		      { display:block; height:3px; width:20px;
			margin-bottom:4px; background:#fff }
 #navigation-toggle:hover { text-decoration:none; }
}

div#logo		{ float:left; width: 35px; height: 35px; }
div#logo img		{ height: 35px; margin: 0; padding: 0; }
h1			{ text-transform: uppercase; text-align: center; /* a la heade_block2 */
			  font-size: 14pt; font-weight: 600;
			  color: #C96; }		 /* color: #b1a279; */
/** From sport.ystok.ru/sport.css
 ** General
 **/
body  { color: black;
	background-color: #f4f6f7; /*!! white*/
	font-family: Montserrat,Arial,Helvetica,Verdana,Sans-Serif; /*! */
	/*!font-size: 90%; 
	margin: 0 10px 0 10px;*/
	}	
.caption  { margin: 0 0 2px 0; padding: 0;		/* for photos */
	    text-align: center; font-size: 8pt; }
.hac	  { text-align: center; }
.hal	  { text-align: left; }
.har	  { text-align: right; }
.vac	  { vertical-align: middle; }
.vat	  { vertical-align: top; }
.hidden   { display: none }
.error	  { color: red; }
.success  { color: green; }

a	{ text-decoration: none; }
a:hover	{ text-decoration: underline; }
dfn	{ font-weight: bold; font-style: italic }
img	{ border-style:none }
img.icon      { height: 2ex; }			/* флаг участника в списке */

dl	{ margin-top: 0.5em; margin-bottom: 0.2em }
dt	{ margin-top: 0.4em; margin-bottom: 0 }
dd	{ font-size: 0.9em; margin-left: 3em; margin-bottom: 0 }
form	{ margin-top:0; margin-bottom:0; font-size:100%; }
/*form button   { font-size: 9pt }*/

/* h1 is unneeded as tabs serve for them */
h2            { margin: 0.5em 0 0.5em 0; padding: 0;
		text-align: center; font-size: 120%; font-weight: bold;  }
h2 span	      { font-size: 80%; }
h3            { margin: 0.4em 0 0.3em 0; padding: 0;
		font-size: 110%; font-weight: bold; }
h4            { margin: 0.4em 0 0.2em 0; padding: 0;
		font-size: 100%; font-weight: bold; }
body.standings h4 { margin-top: 0.5em; padding: 0.2em;  	/* standings division */
		    background-color: silver; }
h5            { margin: 0.4em 0 0 0; padding: 0;		/* standings group */
		font-size: 100%; font-weight: bold; }

noscript      { font-family: Courier; font-size: 6pt }
p	      { margin: 0.8em 0 0 0; font-size: 110%; }
body.standings p { margin-top: 0.2em; }
q	      { quotes: "\00ab" "\00bb"; }


table { margin: 2px 0 0 0; padding: 0;
	empty-cells: show;
	border-collapse: collapse; border: 1px solid silver; }

th    { padding: 2px 5px 2px 5px;
	border-right: 1px solid silver;
	text-align: center; font-size:80%; }
td    { padding: 2px;
	border-top: 1px solid silver; border-right: 1px solid silver; }

/* Tournament and match statuses along with footnote colors */
.tbd		{ color: #F90 }		/* for tournament, not match */
.ready		{ color: #990 }		/* yellow */
.canceled	{ color: #933 }
.closed		{ color: red  }
.running	{ color: green }
.finished	{ color: gray }
td.tbd		{ color: Black; background-color: #FC0 }
td.ready	{ color: Black; background-color: #FF9 }
td.canceled, td.closed
		{ color: Black; background-color: #FCC }
td.running 	{ color: black; background-color: #CFC } /* продолжаетя */
td.finished	{ color: black; background-color: #CCC } /* завершён */


div#footerp   { clear: both;
		margin: 5px -8px 0 -8px; padding: 0 10px 0 10px;
		color: #666;
		font-size: 12px! important; text-align: center; }
div#footerp img	{ vertical-align: -8px; }		/* doesn't work in IE5.5 */

/** TOURNAMENT PORTAL
 **/
.right       { float: right; }
.printable   { font-size: 14px; }			/*! a la li.special */
div#Turlogos { float:right; clear:right; margin:0 0 5px 5px;	/*!*/
	       text-align:center; }
div#Turlogos img { height: 35px; }

/* Tabs for tournament sections */
div#tabt { height: 32px; overflow: hidden;  		/* don't line through Turlogos */
	   margin: 0 -10px 0 -10px;			/* width: 104%;*/
	   background: url('/ystok/theme/tabs_bg.png') repeat-x; }
div#tabt ul
      { list-style: none; overflow: hidden; width: 100%; 
	margin: 0 0 0 15px; padding:0; }
div#tabt ul li
      { float: left; height: 32px; line-height: 32px;	/* width: 100px; */
	margin: 0; 
	font-size: 18px; font-weight: normal;		/*!*/
	background: #E5E5E5 url('/ystok/theme/tabs_right.png') no-repeat right top; }
 /*div#tabt ul li img { vertical-align: -4px; } */
div#tabt ul li a
      { display: block;	padding: 3px 10px;
	text-align: center; text-decoration: none;
	background: url('/ystok/theme/tabs_left.png') no-repeat left top; }
 /*div#tabt ul a:link, div#tabt ul a:visited { color: #0174e5; }*/
div#tabt ul li a:hover
      { text-decoration: underline }
div#tabt ul li.selected
      { background: #E5E5E5 url('/ystok/theme/tabs_right_selected.png')
	no-repeat right top; }
div#tabt ul li.selected div
      {	display:block; line-height:32px; padding: 3px 10px;
	text-align:center;
	background: url('/ystok/theme/tabs_left_selected.png') no-repeat left top; }
div#tabt ul li.selected a			/* clickable current tab */
      {	background: url('/ystok/theme/tabs_left_selected.png') no-repeat left top; }
div#tabt ul li.special				/* e.g. printed version right-aligned */
      { float:right; line-height:16px;		/*width:150px; margin-left:100px; */
	padding:10px 3px; margin-right: 4%; 
	background:none;
	text-align:right; font-size:16px; font-weight:normal; }	/*!*/
div#tabt ul li.special a
      { display:inline; padding:0; background:none; }

table.noborder		 { border-style: none; }
table.noborder td	 { border-style: none; padding: 2px 5px;}
table.noborder td.inset  { border-style: inset; font-weight: bold; }
table.noborder td.outset { border-style: outset; }
/*table.noborder td.outset a { text-decoration: none; } */

table.datasheet   { width: 100%; }

table.zebra 	  { clear: left; border-collapse: collapse;	border-style: none; }
table.zebra thead { border: 1px solid silver; background-color: #E0E0E0; }
table.zebra th	  { border-style: none; }
table.zebra tbody { border-style: none; } 	/*{ border: 1px solid silver; }*/
table.zebra tbody th.hal { font-size: 100%; }	/* leftmost cell (division name) a la h4 */
table.zebra td    { border-style: none; }
table.zebra td.weighed	{ background-color: #9F9 } 		/* участник взвешен */
table.zebra tfoot td
		{ border-top: 1px solid silver; }
tr.odd		{ background-color: #F5F5F5; vertical-align: top; }
tr.even		{ background-color: #E7E7E7; vertical-align: top; }

/* Calendar and timetable. More classes obtained from status: plan, schcedule */
table.calendar	{ float:right; 
		  border-collapse: separate; border-spacing: 4; 
		  border: 0 none; }
table.calendar td
		{ border-left: 1 solid #666; border-right: 1 solid #666; 
		  border-top: 1 solid #666; border-bottom: 3 dotted #666;
		  margin: 0; }
table.timetable	{ width: 100%; /*clear: rigth;*/
		  border: 0 none; border-collapse:collapse; empty-cells:show; }
table.timetable	th
		{ border: 1px solid #CCC; padding: 2px; }
table.timetable	td 
		{ border: 1px solid #CCC; padding: 2px; text-align: center; }
table.timetable tfoot td
		{ border-top: 1px solid silver; border-bottom: 0 hidden;
		  border-left: 0 hidden; border-right: 0 hidden; }
					
.suspend	{ color: maroon }	/* more statuses for td.slot, td.time */
td.suspend	{ color: black; background-color: #FCC } /* отложен */
.announcement	{ color: brown }
td.announcement	{ color: black; background-color: #FF9 } /* объявление */
/*td.disqual	{ color: black; background-color: #CCC } * дисквалификация */

p.TimeCellHead  { padding: 0 0 0 0; margin: 0 0 1 0; text-align: justify;
		  font-size: 90% }
span.winner     { font-weight: bold }
span.loser      { font-weight: normal }
span.vs	        { font-size: 90%; }		/* vs или счёт при нормальной высоте клеточки */
span.score      { color: black }


.PoweredBy    {	padding: 1px;
		color: Olive;
		font-size:12px! important;
		text-align: center; }
.PoweredBy img { vertical-align: -8px; }

/** Турнирные таблицы
 **/
.seed, .w	{ font-weight: bold; }			/* winner, left-to-right root title */

td.caption	{ border: 0 none! important; 			/* a la th and caption */
		  vertical-align: bottom! important; text-align: left! important;
		  padding-top: 0.7em! important;
		  font-weight: bold; font-size: smaller; }
td.ln		{ text-align: center; } 				/* line-number */
td.sr		{ text-align: right; padding-right: 5px; }		/* status-rank */
td.c img    { height: 2ex; }			/* флаг участника в турнирной таблице */

/** ELIMINATION **/
table.elimination	{ border: 0 none; border-collapse: separate;
			  empty-cells: show; }
table.elimination th	{ border: 0 none; vertical-align: middle; 	/* root-title */
			  text-align: left;
			  font-size: smaller; }
table.elimination th.root { text-align: right; }			/* subtitle */

table.elimination td	{ border: 0 none; padding: 0.2em;
			  text-align: left; }
table.elimination td div.m
			{ position: relative; float: right;		/* match-number */
			  bottom: 0; 					/* at bottom right */
			  margin: 0; padding: 0 1px;		/* IE overlays right border */
			  font-weight: normal; font-size: smaller; }	/*right: 0; */

table.elimination td.c	{ min-width: 5em; 				/* competitor-name */
			  border: 1px solid; border-radius: 5px; }

table.elimination td.e	{ min-width: 3em; 				/* enough-name */
			  vertical-align: bottom; text-align: center; }
			  /*border-bottom: 1px solid; 
			  border-left: 1px solid;
			  border-bottom-left-radius: 5px; */
table.elimination td.root { border-bottom: 1px solid; }			/* root e */
			
table.elimination td.s	{ vertical-align: top; text-align: center; }	/* score */
			  /*border-left: 1px solid; border-top-left-radius: 5px; */

/** Vertical and horizontal lines, assigned to competitor, score, and empty cells **/
table.elimination td.r	{ border-right: 1px solid; }
table.elimination td.tr	{ border-top: 1px solid; 		/* top-right corner */
			  border-right: 1px solid;
			  border-top-right-radius: 5px; }
table.elimination td.br	{ border-bottom: 1px solid;		/* bottom-right corner */
			  border-right: 1px solid;
			  border-bottom-right-radius: 5px; }
/*table.elimination td.l { border-left: 1px solid; }
table.elimination td.t	{ border-top: 1px solid; }
table.elimination td.b	{ border-bottom: 1px solid; } */

/** Colors corresponding to the keywords that are values of entry1color and entry2color **/
table.elimination td.red	{ border-left: 3px solid maroon; }
table.elimination td.blue	{ border-left: 3px solid navy; }
table.elimination td.white	{ border-left: 3px solid gray; }
table.elimination td.black	{ border-left: 3px solid black; }

/** ROUND-ROBIN **/
table.round-robin	{ border: 0 none; border-collapse: collapse; width: 100%; 
			  empty-cells: show; }
table.round-robin th	{ border: 1px solid black;
			  vertical-align: middle; text-align: center;
			  font-size: smaller; }
table.round-robin td	{ border: 1px solid black; padding: 0.2em; 	/* match cell */
			  min-height: 2em;
			  vertical-align: middle; text-align: center; }
table.round-robin td.c	{ text-align: left; }				/* competitor */
table.round-robin td.diag { padding: 0; background-color: silver; }

table.round-robin td img  { height: 2ex; }

table.round-robin td div.m
			{ position: relative; float: right;		/* match-number */
			  right: -0.2em;				/* = - cell-padding */
			  margin: 1px; padding: 0 2px;
			  border-left: 1px solid; border-top: 1px solid;
			  border-bottom: 1px solid;
			  border-top-left-radius: 3px; border-bottom-left-radius: 3px;
			  font-weight: normal; font-size: smaller; }	/*right: 0; */
table.round-robin span.r      { font-size: larger; }			/* result 1 or 0 */
table.round-robin span.scored { font-weight: bold; }

/** Forfeit **/
table.round-robin td span.o   { font-size: larger; }			/* opponent */
table.round-robin td div.f    { position: relative; float: right;	/* score, */
				min-width: 2.5em;			/* hrule and */
				margin-left: 2px; padding: 0; }		/* duration */
table.round-robin td div.f hr { border-bottom: 0 none; }		/* border-top enough */

/** CONTEST **/
table.contest		{ border: 0 none; border-collapse: collapse;
			  empty-cells: show; }
table.contest th	{ border: 1px solid black;
			  vertical-align: middle; text-align: center;
			  font-size: smaller; }
table.contest td	{ border: 1px solid black; padding: 0.2em; 
			  vertical-align: middle; text-align: center; }
table.contest td.c	{ text-align: left; }				/* competitor */
table.contest td.g	{ text-align: right; }				/* game points */
table.contest td.s	{ text-align: right; font-weight: bold; }	/* set/exercise total */
table.contest td.m	{ text-align: right; font-weight: bold; }	/* match total */
