﻿[Event "2021 Chess Grandmaster Warmup Match"]
[Site "zhejiang  hangzhou, China"]
[Date "2021.11.22"]
[Round "1.1"]
[White "Shanglei, Lu"]
[Black "Liren, Ding"]
[Result "0-1"]
[TimeControl "90+30+30"]

1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O Be7 6. Re1 b5 7. Bb3 O-O 8. d4
Nxd4 9. Nxd4 exd4 10. e5 Ne8 11. Qxd4 c5 12. Qe4 Rb8 13. c4 Bb7 14. Qg4 bxc4 15.
Bc2 Bd5 16. f4 Bc6 17. Qh3 g6 18. f5 Bg5 19. Nd2 Rb4 20. fxg6 fxg6 21. Nxc4 Ng7
22. a3 Rb8 23. Qg4 Ne6 24. Bxg5 Qxg5 25. Qxg5 Nxg5 26. Rf1 Ne6 27. Rf6 Nd4 28.
Bd3 Rb3 29. Rxf8+ Kxf8 30. Bf1 Ke7 31. Rc1 Bd5 32. a4 Nc6 33. Rc2 Nb4 34. Rd2
Bxc4 35. Bxc4 Re3 36. e6 d6 37. a5 Re5 0-1

[Event "2021 Chess Grandmaster Warmup Match"]
[Site "zhejiang  hangzhou, China"]
[Date "2021.11.23"]
[Round "2.1"]
[White "Liren, Ding"]
[Black "Shanglei, Lu"]
[Result "1/2-1/2"]
[TimeControl "90+30+30"]

1. c4 {[%clk 01:30:50]} {[%emt 00:00:09]} c6 {[%clk 01:30:43]} {[%emt
00:00:18]} 2. Nf3 {[%clk 01:30:10]} {[%emt 00:01:10]} Nf6 {[%clk 01:31:06]}
{[%emt 00:00:06]} 3. d4 {[%clk 01:30:32]} {[%emt 00:00:09]} d5 {[%clk
01:31:30]} {[%emt 00:00:05]} 4. e3 {[%clk 01:30:38]} {[%emt 00:00:25]} e6
{[%clk 01:31:50]} {[%emt 00:00:10]} 5. b3 {[%clk 01:30:18]} {[%emt 00:00:50]}
Nbd7 {[%clk 01:31:26]} {[%emt 00:00:53]} 6. Bd3 {[%clk 01:27:49]} {[%emt
00:02:59]} Bd6 {[%clk 01:29:35]} {[%emt 00:02:21]} 7. Bb2 {[%clk 01:28:12]}
{[%emt 00:00:08]} b6 {[%clk 01:29:18]} {[%emt 00:00:46]} 8. O-O {[%clk
01:28:26]} {[%emt 00:00:16]} Bb7 {[%clk 01:29:44]} {[%emt 00:00:05]} 9. Nbd2
{[%clk 01:25:46]} {[%emt 00:03:09]} O-O {[%clk 01:30:04]} {[%emt 00:00:11]} 10.
Qe2 {[%clk 01:26:12]} {[%emt 00:00:05]} Qe7 {[%clk 01:30:25]} {[%emt 00:00:08]}
11. Rad1 {[%clk 01:19:57]} {[%emt 00:06:45]} Rad8 {[%emt 00:09:03]} 12. Rfe1
Ba3 {[%clk 01:21:52]} 13. Bxa3 {[%clk 01:10:19]} Qxa3 {[%clk 01:19:56]} {[%emt
00:27:42]} 14. e4 {[%clk 00:56:41]} {[%emt 00:00:02]} dxe4 {[%clk 01:19:18]}
{[%emt 00:01:07]} 15. Nxe4 {[%clk 00:56:55]} {[%emt 00:00:15]} c5 {[%clk
01:13:32]} {[%emt 00:06:16]} 16. d5 {[%clk 00:56:50]} {[%emt 00:00:35]} Nxe4
{[%clk 01:07:17]} {[%emt 00:06:45]} 17. Bxe4 {[%clk 00:46:33]} {[%emt
00:10:48]} Nf6 {[%clk 01:01:51]} {[%emt 00:05:55]} 18. dxe6 {[%clk 00:44:43]}
{[%emt 00:02:21]} Rxd1 {[%clk 01:02:05]} {[%emt 00:00:15]} 19. Qxd1 {[%clk
00:45:11]} {[%emt 00:00:03]} Bxe4 {[%clk 01:01:40]} {[%emt 00:00:55]} 20. exf7+
{[%clk 00:45:37]} {[%emt 00:00:04]} Rxf7 {[%clk 01:00:48]} {[%emt 00:01:21]} 21.
Ne5 {[%clk 00:45:27]} {[%emt 00:00:40]} Bf5 {[%clk 00:47:05]} {[%emt 00:14:13]}
22. Nxf7 {[%clk 00:40:52]} {[%emt 00:05:06]} Kxf7 {[%clk 00:47:30]} {[%emt
00:00:04]} 23. Re5 {[%clk 00:23:36]} {[%emt 00:17:46]} Bc8 {[%clk 00:34:18]}
{[%emt 00:13:42]} 24. h3 {[%clk 00:14:44]} {[%emt 00:09:23]} Qxa2 {[%clk
00:29:42]} {[%emt 00:05:06]} 25. Qd6 {[%clk 00:15:05]} {[%emt 00:00:08]} Qa1+
{[%clk 00:29:07]} {[%emt 00:01:05]} 26. Kh2 {[%clk 00:15:30]} {[%emt 00:00:05]}
Qd4 {[%clk 00:29:29]} {[%emt 00:00:08]} 27. Qe7+ {[%clk 00:10:59]} {[%emt
00:05:01]} Kg8 {[%clk 00:19:15]} {[%emt 00:10:43]} 28. Rg5 {[%clk 00:11:25]}
{[%emt 00:00:04]} Qf4+ {[%clk 00:19:40]} {[%emt 00:00:05]} 29. Rg3 {[%clk
00:11:52]} {[%emt 00:00:03]} Ng4+ {[%clk 00:20:03]} {[%emt 00:00:07]} 30. hxg4
{[%clk 00:12:13]} {[%emt 00:00:09]} Qh6+ {[%clk 00:20:30]} {[%emt 00:00:04]} 31.
Rh3 {[%clk 00:12:31]} {[%emt 00:00:12]} Qf4+ {[%clk 00:20:54]} {[%emt
00:00:05]} 32. Rg3 {[%clk 00:12:47]} {[%emt 00:00:13]} Qh6+ {[%clk 00:21:20]}
{[%emt 00:00:04]} 1/2-1/2

[Event "2021 Chess Grandmaster Warmup Match"]
[Site "zhejiang  hangzhou, China"]
[Date "2021.11.24"]
[Round "3.1"]
[White "Shanglei, Lu"]
[Black "Liren, Ding"]
[Result "1/2-1/2"]
[TimeControl "90+30+30"]

1. e4 {[%clk 01:30:52]} {[%emt 00:00:07]} e5 {[%clk 01:30:27]} {[%emt
00:00:32]} 2. Nf3 {[%clk 01:31:09]} {[%emt 00:00:14]} Nc6 {[%clk 01:30:53]}
{[%emt 00:00:04]} 3. Bb5 {[%clk 01:31:34]} {[%emt 00:00:05]} Nf6 {[%clk
01:31:19]} {[%emt 00:00:05]} 4. O-O {[%clk 01:22:14]} {[%emt 00:09:50]} Nxe4
{[%clk 01:31:40]} {[%emt 00:00:09]} 5. Re1 {[%clk 01:22:39]} {[%emt 00:00:04]}
Nd6 {[%clk 01:32:02]} {[%emt 00:00:09]} 6. Nxe5 {[%clk 01:23:02]} {[%emt
00:00:07]} Be7 {[%clk 01:32:28]} {[%emt 00:00:04]} 7. Bf1 {[%clk 01:23:26]}
{[%emt 00:00:06]} Nxe5 {[%clk 01:32:54]} {[%emt 00:00:05]} 8. Rxe5 {[%clk
01:23:50]} {[%emt 00:00:04]} O-O {[%clk 01:33:17]} {[%emt 00:00:05]} 9. d4
{[%clk 01:23:49]} {[%emt 00:00:34]} Bf6 {[%clk 01:33:36]} {[%emt 00:00:12]} 10.
Re1 {[%clk 01:21:43]} {[%emt 00:02:36]} Re8 {[%clk 01:34:00]} {[%emt 00:00:06]}
11. c3 {[%clk 01:21:48]} {[%emt 00:00:25]} Rxe1 {[%clk 01:34:23]} {[%emt
00:00:07]} 12. Qxe1 {[%clk 01:22:15]} {[%emt 00:00:03]} Ne8 {[%clk 01:34:33]}
{[%emt 00:00:20]} 13. Bf4 {[%clk 01:16:07]} {[%emt 00:06:38]} d5 {[%clk
01:34:53]} {[%emt 00:00:11]} 14. Bd3 {[%clk 01:16:28]} {[%emt 00:00:08]} g6
{[%clk 01:35:16]} {[%emt 00:00:08]} 15. Nd2 {[%clk 01:14:52]} {[%emt 00:02:04]}
Ng7 {[%clk 01:35:36]} {[%emt 00:00:10]} 16. Qe2 {[%clk 01:10:30]} {[%emt
00:04:53]} c6 {[%clk 01:36:00]} {[%emt 00:00:07]} 17. Re1 {[%clk 01:08:38]}
{[%emt 00:02:21]} Bf5 {[%clk 01:36:22]} {[%emt 00:00:08]} 18. Bxf5 {[%clk
01:07:22]} {[%emt 00:01:47]} Nxf5 {[%clk 01:36:46]} {[%emt 00:00:05]} 19. Nf3
{[%clk 01:07:00]} {[%emt 00:00:52]} Ng7 {[%clk 01:37:12]} {[%emt 00:00:05]} 20.
Ne5 {[%clk 01:04:37]} {[%emt 00:02:53]} Bxe5 {[%clk 01:32:45]} {[%emt
00:04:57]} 21. Qxe5 {[%clk 01:01:34]} {[%emt 00:03:32]} f6 {[%clk 01:31:14]}
{[%emt 00:02:01]} 22. Qe7 {[%clk 01:01:45]} {[%emt 00:00:19]} Qxe7 {[%clk
01:31:37]} {[%emt 00:00:09]} 23. Rxe7 {[%clk 08:02:10]} {[%emt 00:00:05]} Re8
{[%clk 01:32:05]} {[%emt 00:00:02]} 24. Rxe8+ {[%clk 01:02:33]} {[%emt
00:00:07]} Nxe8 {[%clk 01:32:33]} {[%emt 00:00:02]} 25. f3 {[%clk 01:02:47]}
{[%emt 00:00:17]} Kf7 {[%clk 01:31:11]} {[%emt 00:01:52]} 26. Kf2 {[%clk
01:03:11]} {[%emt 00:00:05]} g5 {[%clk 01:30:55]} {[%emt 00:00:46]} 27. Bb8
{[%clk 01:03:28]} {[%emt 00:00:13]} a6 {[%clk 01:31:23]} {[%emt 00:00:03]} 28.
g4 {[%clk 01:03:45]} {[%emt 00:00:13]} Kg6 {[%clk 01:30:49]} {[%emt 00:01:04]}
29. Ke3 {[%clk 00:59:13]} {[%emt 00:05:01]} h5 {[%clk 01:29:55]} {[%emt
00:01:24]} 30. h3 {[%clk 00:59:39]} {[%emt 00:00:04]} Ng7 {[%clk 01:29:50]}
{[%emt 00:00:36]} 31. a4 {[%clk 00:58:54]} {[%emt 00:01:14]} Ne6 {[%clk
01:22:43]} {[%emt 00:07:37]} 32. Bd6 {[%clk 00:59:18]} {[%emt 00:00:06]} f5
{[%clk 01:19:29]} {[%emt 00:03:44]} 33. a5 {[%clk 00:57:43]} {[%emt 00:02:05]}
Nd8 {[%clk 01:18:35]} {[%emt 00:01:23]} 34. Be7 {[%clk 00:57:25]} {[%emt
00:00:49]} Nf7 {[%clk 01:18:37]} {[%emt 00:00:27]} 35. Kf2 {[%clk 00:57:22]}
{[%emt 00:00:34]} 1/2-1/2

[Event "2021 Chess Grandmaster Warmup Match"]
[Site "zhejiang  hangzhou, China"]
[Date "2021.11.25"]
[Round "4.1"]
[White "Liren, Ding"]
[Black "Shanglei, Lu"]
[Result "1-0"]
[TimeControl "90+30+30"]
[WhiteClock "00:59:21"]
[BlackClock "00:44:02"]

1. c4 {[%clk 01:30:41]} {[%emt 00:00:18]} c6 {[%clk 01:30:50]} {[%emt
00:00:10]} 2. Nf3 {[%clk 01:31:01]} {[%emt 00:00:10]} Nf6 {[%clk 01:31:13]}
{[%emt 00:00:06]} 3. g3 {[%clk 01:31:10]} {[%emt 00:00:22]} d5 {[%clk
01:31:19]} {[%emt 00:00:24]} 4. Bg2 {[%clk 01:31:36]} {[%emt 00:00:04]} Bg4
{[%clk 01:31:43]} {[%emt 00:00:05]} 5. Ne5 {[%clk 01:31:34]} {[%emt 00:00:32]}
Bf5 {[%clk 01:32:00]} {[%emt 00:00:13]} 6. cxd5 {[%clk 01:30:52]} {[%emt
00:01:12]} cxd5 {[%clk 01:32:22]} {[%emt 00:00:09]} 7. O-O {[%clk 01:30:21]}
{[%emt 00:01:01]} e6 {[%clk 01:31:33]} {[%emt 00:01:19]} 8. d3 {[%clk
01:29:32]} {[%emt 00:01:18]} Nbd7 {[%clk 01:21:39]} {[%emt 00:10:25]} 9. Nxd7
{[%clk 01:27:59]} {[%emt 00:02:02]} Qxd7 {[%clk 01:20:43]} {[%emt 00:01:27]} 10.
Qb3 {[%clk 01:28:23]} {[%emt 00:00:05]} Bc5 {[%clk 01:10:44]} {[%emt 00:10:29]}
11. Nc3 {[%clk 01:27:39]} {[%emt 00:01:15]} O-O {[%clk 01:10:44]} {[%emt
00:00:30]} 12. e4 {[%clk 01:28:02]} {[%emt 00:00:08]} Bg6 {[%clk 00:57:27]}
{[%emt 00:13:47]} 13. exd5 {[%clk 01:13:29]} {[%emt 00:15:04]} exd5 {[%clk
00:56:53]} {[%emt 00:01:03]} 14. Nxd5 {[%clk 01:10:36]} {[%emt 00:03:24]} Nxd5
{[%clk 00:57:17]} {[%emt 00:00:06]} 15. Bxd5 {[%clk 01:11:05]} {[%emt
00:00:02]} Rfe8 {[%clk 00:42:19]} {[%emt 00:15:27]} 16. Qxb7 {[%clk 01:05:44]}
{[%emt 00:05:52]} Qxb7 {[%clk 00:40:35]} {[%emt 00:02:14]} 17. Bxb7 {[%clk
01:05:52]} {[%emt 00:00:21]} Rab8 {[%clk 00:38:45]} {[%emt 00:02:20]} 18. Ba6
{[%clk 01:03:04]} {[%emt 00:03:19]} h5 {[%clk 00:31:55]} {[%emt 00:07:19]} 19.
Bc4 {[%clk 00:59:19]} {[%emt 00:04:15]} Kh7 {[%clk 00:29:27]} {[%emt 00:02:58]}
20. b3 {[%clk 00:43:52]} {[%emt 00:15:57]} Rbd8 {[%clk 00:28:40]} {[%emt
00:01:16]} 21. Bf4 {[%clk 00:41:33]} {[%emt 00:02:48]} Bxd3 {[%clk 00:28:55]}
{[%emt 00:00:17]} 22. Bxd3+ {[%clk 00:41:53]} {[%emt 00:00:10]} Rxd3 {[%clk
00:29:17]} {[%emt 00:00:08]} 23. Rfe1 {[%clk 00:42:15]} {[%emt 00:00:07]} Rxe1+
{[%clk 00:27:16]} {[%emt 00:02:33]} 24. Rxe1 {[%clk 00:42:20]} {[%emt
00:00:25]} f6 {[%clk 00:27:41]} {[%emt 00:00:05]} 25. Kf1 {[%clk 00:40:43]}
{[%emt 00:02:06]} a5 {[%clk 00:25:04]} {[%emt 00:03:07]} 26. Ke2 {[%clk
00:37:46]} {[%emt 00:03:28]} Rd5 {[%clk 00:25:12]} {[%emt 00:00:22]} 27. Rd1
{[%clk 00:36:32]} {[%emt 00:01:43]} Rxd1 {[%clk 00:25:21]} 28. Kxd1 {[%clk
00:37:01]} Bxf2 {[%clk 00:25:44]} {[%emt 00:00:07]} 29. Bc7 {[%clk 00:37:27]}
{[%emt 00:00:04]} Bg1 {[%clk 00:26:06]} {[%emt 00:00:08]} 30. h3 {[%clk
00:33:56]} {[%emt 00:04:01]} Bh2 {[%clk 00:22:53]} {[%emt 00:03:43]} 31. a4
{[%clk 00:31:30]} {[%emt 00:02:56]} g5 {[%clk 00:14:21]} {[%emt 00:09:02]} 32.
Bxa5 {[%clk 00:28:01]} {[%emt 00:03:59]} Bxg3 {[%clk 00:14:45]} {[%emt
00:00:06]} 33. Bb6 {[%clk 00:28:05]} {[%emt 00:00:26]} Kg6 {[%clk 00:11:33]}
{[%emt 00:03:42]} 34. a5 {[%clk 00:28:06]} {[%emt 00:00:30]} Kf5 {[%clk
00:11:56]} {[%emt 00:00:06]} 35. a6 {[%clk 00:28:33]} {[%emt 00:00:03]} Bb8
{[%clk 00:12:21]} {[%emt 00:00:04]} 36. b4 {[%clk 00:27:44]} {[%emt 00:01:20]}
Ke6 {[%clk 00:12:45]} {[%emt 00:00:06]} 37. Bc7 {[%clk 00:27:39]} {[%emt
00:00:35]} Ba7 {[%clk 00:13:09]} {[%emt 00:00:05]} 38. b5 {[%clk 00:28:07]}
{[%emt 00:00:02]} Kd7 {[%clk 00:13:34]} {[%emt 00:00:05]} 39. b6 {[%clk
00:28:34]} {[%emt 00:00:03]} Bxb6 {[%clk 00:13:58]} {[%emt 00:00:06]} 40. Bxb6
{[%clk 00:59:02]} {[%emt 00:00:03]} Kc6 {[%clk 00:44:21]} {[%emt 00:00:07]} 41.
Bd8 {[%clk 00:59:21]} {[%emt 00:00:10]} Kd5 {[%emt 00:00:29]} 1-0

<!DOCTYPE html>
<html lang="en">
<head>
    <link rel="apple-touch-icon" href="/manifest/apple-touch-icon-iphone-60x60.png">
    <link rel="apple-touch-icon" sizes="60x60" href="/manifest/apple-touch-icon-ipad-76x76.png">
    <link rel="apple-touch-icon" sizes="114x114" href="/manifest/apple-touch-icon-iphone-retina-120x120.png">
    <link rel="apple-touch-icon" sizes="144x144" href="/manifest/apple-touch-icon-ipad-retina-152x152.png">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Chess Games PGN format. Chess Games and notation.</title>
    <link rel="stylesheet" type="text/css" href="/css/style.css">
    <link rel="stylesheet" type="text/css" href="/css/mobile.css">
	<link rel="stylesheet" type="text/css" href="/css/post_css.css">
	<link rel="stylesheet" type="text/css" href="/css/dt.css">

	<link rel="stylesheet" type="text/css" href="/css/all.css">
	<link rel="stylesheet" type="text/css" href="/css/dt_responsive.css"/>
	<link rel="stylesheet" type="text/css" href="/css/dt_group.css"/>
	<link rel="stylesheet" type="text/css" href="/css/jquery-ui.css"/>
	<link rel="stylesheet" type="text/css" href="/css/jquery-ui.structure.css"/>
	<link rel="stylesheet" type="text/css" href="/css/jquery-ui.theme.css"/>
	<meta property="og:type" content="website">
	<meta property="og:site_name" content="International Chess Federation (FIDE)">
	<meta property="og:title" content=" Chess Rating Calculators. Rating change, Initial Chess Rating">
	<meta property="og:description" content="">
	<meta property="og:url" content="">
	<meta property="og:locale" content="en_EN">
	<meta property="og:image" content="https://directory.fide.com/img/fide_og_1200.png">
	<meta property="og:image:width" content="1200">
	<meta property="og:image:height" content="630">
	<script type="text/javascript" src="/js/jquery-3.6.0.min.js"></script>
	<script type="text/javascript" src="/js/jquery-ui.js"></script>
	<script type="text/javascript" src="/js/dt.js"></script>
	<script type="text/javascript" src="/js/jquery.mark.min.js"></script>
	
	
	
</head>

<body>
<header class="header">
	<div class="header-social"></div>
	<div class="header-container">
			<div class="header-logo-container">
					<div class="header-logo">
							<a href="https://www.fide.com">
									<img src="/img/logo1.png" alt="">
							</a>
					</div>
					<div class="header-title-container">
							<div class="header-title">International</div>
							<div class="header-subtitle">Chess Federation</div>
					</div>
			</div>
			<div class="menu-container tabs">
					<div class="tabs-nav main-menu">
							<button class="tabs-btn menu-button"><a href="https://www.fide.com/news/">NEWS</a></button>
							<button class="tabs-btn menu-button"><a href="https://ratings.fide.com">RATINGS</a></button>
							<button class="tabs-btn menu-button"><a href="https://www.fide.com/fide-world-championship-cycle-2025-2026">CHAMPIONSHIP</a></button>
							<button class="tabs-btn menu-button"><a href="https://calendar.fide.com/calendar.php">CALENDAR</a></button>
							<button class="tabs-btn menu-button"><a href="https://www.fide.com/about-fide">FIDE</a></button>
							<button class="tabs-btn menu-button"><a href="https://directory.fide.com">DIRECTORY</a></button>
							<button class="tabs-btn menu-button"><a href="https://www.fide.com/partners/">PARTNERS</a></button>							
							<button class="tabs-btn menu-button"  id="fide100div"><a href="https://shop.fide.com">SHOP</a></button>
							<button class="tabs-btn menu-button"><a href="https://www.fide.com/contacts/">CONTACTS</a></button>
					</div>
					<div class="tabs-content nav-submenu" style="display:flex; flex-wrap:wrap;">
							<div class="tabs-pane main-submenu" id="content-1">
									<button class="submenu-button"><a href="https://www.fide.com/category/fide-news/">FIDE News</a></button>
									<button class="submenu-button"><a href="https://www.fide.com/category/chess-news/">Chess news</a></button>
							</div>
							<div class="tabs-pane main-submenu" id="content-2">
									<button class="submenu-button"><a href="https://ratings.fide.com/top_lists.phtml">Top</a></button>
									<button class="submenu-button"><a href="https://ratings.fide.com/top_federations.phtml">Top Federations</a></button>
									<button class="submenu-button"><a href="https://ratings.fide.com/rated_tournaments.phtml">Tournaments</a></button>
									<button class="submenu-button"><a href="https://ratings.fide.com/titles_page.phtml">Titles</a></button>
									<button class="submenu-button"><a href="https://ratings.fide.com/transfers.phtml">Transfers</a></button>
									<button class="submenu-button"><a href="https://ratings.fide.com/calc.phtml?page=change">Calculators</a></button>
									<button class="submenu-button"><a href="https://ratings.fide.com/download_lists.phtml">Download</a></button>
							</div>
							<div class="tabs-pane main-submenu" id="content-3">
									<button class="submenu-button"><a href="https://www.fide.com/fide-circuit-2026-2027/">FIDE Circuit</a></button>
									<button class="submenu-button"><a href="https://www.fide.com/women-fide-circuit-2026-2027/">Women's Circuit '26-'27</a></button>
									<button class="submenu-button"><a href="https://www.fide.com/fide-world-championship-cycle-2025-2026">Open Cycle '25-'26</a></button>									
									<button class="submenu-button"><a href="https://www.fide.com/fide-womens-world-championship-cycle-2025-2026">Women’s Cycle '25-'26</a></button>
									<button class="submenu-button"><a href="https://www.fide.com/fide-womens-world-championship-cycle-2023-2025/">Women’s Cycle '23-'25</a></button>
									
									
							</div>
							
							
							
							<div class="tabs-pane main-submenu" id="content-4">
							
									<button class="submenu-button" style="margin-left: 200px;"><a href="https://calendar.fide.com/calendar.php">All Tournaments</a></button>
									
									<button class="submenu-button"><a href="https://calendar.fide.com/majorcalendar.php">Main Events</a></button>
									
									
							</div>
							
							<div class="tabs-pane main-submenu" id="content-5">
							
							
									<button class="submenu-button" style="margin-left: 200px;"><a href="https://www.fide.com/about-fide/">About FIDE</a></button>
									<button class="submenu-button"><a href="https://handbook.fide.com/">Handbook</a></button>
									<button class="submenu-button"><a href="https://www.fide.com/documents">Documents</a></button>
									<button class="submenu-button"><a href="https://med.fide.com" target=_blank>Clean Sport</a></button>
									<button class="submenu-button"><a href="https://www.fide.com/financial">Financial Reports</a></button>
									
							</div>
							<div class="tabs-pane main-submenu" id="content-6">
									<button class="submenu-button dir_button"><a href="https://directory.fide.com/list/officials">Officials</a></button>
									<button class="submenu-button dir_button"><a href="https://directory.fide.com/list/commissions_and_committees">Commissions & Committees</a></button>
									<button class="submenu-button dir_button"><a href="https://directory.fide.com/list/member_federations/main">Federations</a></button>
									<button class="submenu-button dir_button"><a href="https://directory.fide.com/list/affiliated_organizations">Aff. Organizations</a></button>
									<button class="submenu-button dir_button"><a href="https://directory.fide.com/list/affiliated_members">Aff. Members</a></button>
									<button class="submenu-button dir_button"><a href="https://directory.fide.com/list/dignitaries/&b=1&c=5">Honourable Dignitaries</a></button>
									<button class="submenu-button dir_button"><a href="https://directory.fide.com/orgchart.phtml">Chart</a></button>
							</div>
							
							<div class="tabs-pane main-submenu" id="content-7">
									<button class="submenu-button invisible"><a href="#">PARNTERS</a></button>
							</div>
							<div class="tabs-pane main-submenu" id="content-9">
									<button class="submenu-button invisible"><a href="#">FIDE100</a></button>
							</div>
							<div class="tabs-pane main-submenu" id="content-10">
									<button class="submenu-button invisible"><a href="#">CONTACTS</a></button>
							</div>
							
					</div>
			</div>
					<div class="mobile-menu-container">
					<div class="mobile-accordeon accordeon">
							<button class="mobile-menu accordeon-title">
									<h2><strong>MAIN/NEWS</strong></h2>
							</button>
							<div class="mobile-submenu accordeon-body">
									<p><a href="https://www.fide.com/news/">All News</a></p>
									<p><a href="https://www.fide.com/category/fide-news/">FIDE News</a></p>
									<p><a href="https://www.fide.com/category/chess-news/">Chess News</a></p>
							</div>
					</div>
	
					<div class="mobile-accordeon accordeon">
							<button class="mobile-menu accordeon-title">
									<h2><strong>RATINGS</strong></h2>
							</button>
							<div class="mobile-submenu accordeon-body">
									<p><a href="https://ratings.fide.com/top_lists.phtml">Top</a></p>
									<p><a href="https://ratings.fide.com/top_federations.phtml">Top Federations</a></p>
							        <p><a href="https://ratings.fide.com/index.phtml">Main Page / Search</a></p>
									<p><a href="https://ratings.fide.com/rated_tournaments.phtml">Tournaments</a></p>
									<p><a href="https://ratings.fide.com/titles_page.phtml">Titles</a></p>
									<p><a href="https://ratings.fide.com/transfers.phtml">Transfers</a></p>
									<p><a href="https://ratings.fide.com/calc.phtml?page=change">Calculators</a></p>
									<p><a href="https://ratings.fide.com/download_lists.phtml">Download</a></p>
							</div>
					</div>
						<div class="mobile-accordeon accordeon">
							<button class="mobile-menu accordeon-title">
									<h2><strong>CHAMPIONSHIP</strong></h2>
							</button>
							
							
							<div class="mobile-submenu accordeon-body">
									<p><a href="https://www.fide.com/fide-circuit-2026-2027/">FIDE Circuit</a></p>
									<p><a href="https://www.fide.com/women-fide-circuit-2026-2027/">Women's Circuit '26-'27</a></p>
									<p><a href="https://www.fide.com/fide-world-championship-cycle-2025-2026">Open Cycle 2025-2026</a></p>
									<p><a href="https://www.fide.com/fide-womens-world-championship-cycle-2025-2026">Women’s Cycle 2025-2026</a></p>
									<p><a href="https://www.fide.com/fide-womens-world-championship-cycle-2023-2025">Women’s Cycle 2023-2025</a></p>
									
							</div>
						
					</div>
					<div class="mobile-accordeon accordeon">
							<button class="mobile-menu accordeon-title">
									<h2><strong>CALENDAR</strong></h2>
							</button>
							<div class="mobile-submenu accordeon-body">
									<p><a href="https://calendar.fide.com/calendar.php">All Tournaments</a></p>
									<p><a href="https://calendar.fide.com/majorcalendar.php">Main Events</a></p>
							</div>
					</div>
					<div class="mobile-accordeon accordeon">
							<button class="mobile-menu accordeon-title">
									<h2><strong>FIDE</strong></h2>
							</button>
							<div class="mobile-submenu accordeon-body">
									<p><a href="https://www.fide.com/about/">About FIDE</a></p>
									<p><a href="https://handbook.fide.com/">Handbook</a></p>
									<p><a href="https://www.fide.com/documents">Documents</a></p>
									<p><a href="https://med.fide.com" target=_blank>Clean Sport</a></p>
									<p><a href="https://www.fide.com/financial">Financial Reports</a></p>
									
							</div>
					</div>
					<div class="mobile-accordeon accordeon">
							<button class="mobile-menu accordeon-title">
									<h2><strong>DIRECTORY</strong></h2>
							</button>
							<div class="mobile-submenu accordeon-body">
									<p><a href="https://directory.fide.com/list/officials">Officials</a></p>
									<p><a href="https://directory.fide.com/list/commissions_and_committees">Commissions & Committees</a></p>
									<p><a href="https://directory.fide.com/list/member_federations/main">Federations</a></p>
								    <p><a href="https://directory.fide.com/list/affiliated_organizations">Affiliated Organizations</a></p>
									<p><a href="https://directory.fide.com/list/affiliated_members">Affiliated Members</a></p>
									<p><a href="https://directory.fide.com/list/dignitaries">Honourable Dignitaries</a></p>
									<p><a href="https://directory.fide.com/orgchart.phtml">Chart</a></p>
								
									
							</div>
					</div>
					<div class="mobile-accordeon accordeon">
							<button class="mobile-menu accordeon-title">
									<h2><a href="https://www.fide.com/partners/">PARTNERS</a></h2>
							</button>
							<div class="mobile-submenu accordeon-body">
							</div>
					</div>
		
					<div class="mobile-accordeon accordeon">
							<button class="mobile-menu accordeon-title">
									<h2><a href="https://shop.fide.com">SHOP</a></h2>
							</button>
							<div class="mobile-submenu accordeon-body">
							</div>
					</div>
					<div class="mobile-accordeon accordeon">
							<button class="mobile-menu accordeon-title">
									<h2><a href="https://www.fide.com/contacts/">CONTACTS</a></h2>
							</button>
							<div class="mobile-submenu accordeon-body">
							</div>
					</div>
			<!--mobile-menu-container-->
	</div>
			<div class="header-search-container">
					<div class="header-search" style="display:none;">
							
					</div>
					<div class="header-account" style="display:none;">
							<a href=https://portal.fide.com><img src="/img/user.svg" alt=""></a>
					</div>
			</div>
			<div class="menu-burger">
					<span></span>
			</div>
	</div>
<aside class="social">
	<div class="social-aside">
			<a href="https://twitter.com/FIDE_chess" target=_blank><img src="/img/twitter-top.svg" alt="twitter"></a>
	</div>
	<div class="social-aside">
			<a href="https://www.instagram.com/fide_chess/" target=_blank><img src="/img/instagram-top.svg" alt="instagram"></a>
	</div>
	<div class="social-aside">
			<a href="https://www.facebook.com/ChessFIDE/" target=_blank><img src="/img/fb-top.svg" alt="facebook"></a>
	</div>
	<div class="social-aside">
			<a href="https://www.tiktok.com/@fide_chess" target=_blank><img src="/img/tiktok_icon.svg " alt="tiktok"></a>
	</div>
	<div class="social-aside">
			<a href="https://www.linkedin.com/company/48892238" target=_blank><img src="/img/linkedin-top.svg" alt="linkedin"></a>
	</div>
	<div class="social-aside youtu">
			<a href="https://www.youtube.com/channel/UC9B47GnzCRFHTT1BIBWvStQ" target=_blank><img src="/img/youtube-top.svg" alt="youtube"></a>
	</div>
	<div class="social-aside">
			<a href="https://www.twitch.tv/fide_chess" target=_blank><img src="/img/twitch-top.svg" alt="twitch"></a>
	</div>
</aside>
</header>
<!-- Menu -->

<style>
.social-aside img
{
    height: 18px;
}
.youtu img
{
    height: 15px !important;
}

	.header-title {
  font-style: normal;
  font-weight: 300;
  font-size: 24px;
  line-height: 28px;
}
.dir-pattern-three, .dir-pattern-two, .dir-pattern-four
{
top: 0;
display:none;
}
.directory
{
	margin-top: 40px;
}

	
	.social
	{
	margin:0;
	}
	.menu-button {
	border: none;
	padding: 10px 8px 62px 8px;
	border-radius: 7px 7px 0 0;
	background-color: #EAEEF3;
	height: 91px;
	}
	.main-menu a, .main-menu a:visited
	{
		color:#24305E;
	}
	.main-menu .tabs-btn:hover
	{
	background-color:#374785;
	transition:
    
    background-color 1s,
	background 1s;
	
	}
	
	.main-menu > .tabs-btn-active a {
	color: #fff;
	}
	.invisible {
		display:none;
	}
	.header-container
	{
			max-width: 1440px;
			margin: 0 auto;
			width: 100%;
	}
	.mobile-menu-container {
			display: none;
			z-index: 10000 !important;
	}
	.main-submenu button:hover
	{
	background-color: #24305E !important;
	}
	.submenu-button a:visited
	{
	color:#24305E;
	}

	
	@media screen and (max-width: 1024px) {
	.menu-container {
			display: none;
	}
	.mobile-menu-container {
			display: block;
			position: absolute;
			top: 137px;
			left: 0;
			background: rgb(245, 246, 246);
			box-shadow: #ccc;
			width: 100%;
			box-shadow: 0 4px 2px -2px rgba(36, 36, 36, 0.17);
			left: -200%;
			transition: all 0.4s ease;
			z-index: 10000 !important;
	}
	.mobile-menu-container.open-menu {
			left: 0;
	}
	.menu-burger {
			position: absolute;
			right: 10px;
			top: 69px;
			width: 24px;
			height: 19px;
			display: block;
			margin-left: auto;
			margin-bottom: 20px;
			cursor: pointer;
	}
	.menu-burger span, .menu-burger:after, .menu-burger:before{
			height: 3px;
			width: 100%;
			position: absolute;
			background: #24305E;
			margin: 0 auto;
			border-radius: 1px;
	}
	.menu-burger span{
			top: 21px;
	}
	.menu-burger:after, .menu-burger:before{
			content: '';
	}
	.menu-burger:after{
			bottom: 3px;
			border-radius: 1px;
	}
	.menu-burger:before{
			top: 5px;
			border-radius: 1px;
	}
	.menu-burger.open-menu span {
			transform: rotate(38deg);
			top: 8px;
			transition: 0.4s;
	}
	.menu-burger.open-menu:before {
			opacity:0; 
			transition: 0.5s; 
	}
	.menu-burger.open-menu:after {
			transform: rotate(-38deg);
			bottom: 8px;
			transition: 0.4s;
	}
	.social {
			position: absolute;
			top: 10px;
			left: 159px;
			width: 400px;
			justify-content: space-between;
	}
	.container {
			width: 688px;
	}
	.page-title {
			font-weight: 400;
			font-size: 36px;
			line-height: 42px;
	}
	.menu-button {
			padding: 0px;
			height: auto;
	}
	.nav-submenu {
			margin-top: 0px;
	}
	.main-submenu button {
			padding: 0px;
			margin-right: 0px;
	}
	.main-menu a {
			display: block;
	}
	.tabs-pane-show {
			display: inline-grid;
	}
	.mobile-menu {
			list-style-type: none;
			text-align: center;
	}
	.mobile-submenu {
			height: 0;
			overflow: hidden;
			transition: height .4s ease-in-out;
			text-align: center;
	}
	.mobile-accordeon button {
			padding: 10px;
			border: none;
			cursor: pointer;
			width: 100%;
			background-color: #EAEEF3;
			line-height: 1;
	}
	.mobile-accordeon button:focus
	{
		background-color: #868CAD;
		color: #fff;
	}
	.mobile-menu.active, .mobile-menu.active:focus  {
			background-color: #868CAD;
	}
	.mobile-menu.active h2 {
			background-color: #868CAD;
			color: #fff;
	}
	.mobile-menu.active h2 a {
			color: #fff;
	}
	.mobile-menu h2, .mobile-menu h2 a {
			font-style: normal;
			font-weight: 400;
			font-size: 16px;
			line-height: 19px;
			align-items: center;
			text-transform: uppercase;
			text-decoration: none;
			display:inline;
	}
	.mobile-submenu p {
			padding: 7px 0px;
	}
	.mobile-submenu p a {
			font-style: normal;
			font-weight: 400;
			font-size: 16px;
			line-height: 140%;
			color: #374785;
			text-decoration: none;
	}
	}
	@media screen and (max-width: 576px) {
							.header-social, .social {
			display: none;
	}
	.header-search-container, .menu-burger {
			top: 40px;
	}
	
	}
	@media screen and (max-width: 375px) {
							.header-search-container {
			display: none;
	}
	.menu-burger {
			right: 15px;
	}
	}
	


.main-submenu button {
	margin-right: 8px;
	padding: 10px 8px;
}
.submenu-button.dir_button
{
	margin: 1px !important;
	padding: 10px 4px;
}
.tabs-btn-active, .tabs-btn-active:focus, .tabs-btn-active:active
{
	
	background-color: #374785;
}
.header-search-container img:last-child {
 
  margin-right: 5px;
}
.header
{
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

@media screen and (max-width: 1300px) {

.header-title {
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 20px;
}
.header-subtitle {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
}
.menu-container {
  margin-left: 15px;
  
}
.header-title-container {
padding-left: 10px;
}
}

@media screen and (max-width: 1576px) {
	.header-logo-container
	{
	margin-left: 10px;
	}


}
@media screen and (max-width: 1576px) {
.social {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	top: 40px;
	right: 40px;
}
 .social-aside {
    padding-bottom: 0px;
    padding-right: 0px;
    padding-left: 20px;
  }
}

@media screen and (max-width: 1200px) {
.header
{
	height: 174px;
}
.header-title
{
	padding-top:0;
	paddint-left: 8px;
	
}
.container {
	width: 944px;
	margin: 0 auto;
}
.page-title {
	font-size: 36px;
	line-height: 42px;
}
.none {
	display: none;
}
/*HEADER*/
.header {
 margin-bottom: 8px;
}
.header-container {
	padding-top: 20px;
	display: block;
}
.header-logo-container {
	padding-bottom: 10px;
	padding-left: 10px;
	
}
.header-logo-container img {
	width: 70px;
}
.header-title-container {
	padding-left: 10px;
}
.header-title {
	font-size: 14px;
	line-height: 16px;
	padding-left: 10px;
}
.header-subtitle {
	font-size: 14px;
	line-height: 16px;
	padding-left: 10px;
}
.menu-container {
	margin: 0px;
	padding-left: 4px;
}
.header-search-container {
	position: absolute;
	top: 85px;
	right: 40px;
}
.submenu-button.dir_button
{
	margin: 1px !important;
	padding: 10px 4px;
}
.main-submenu button {
	margin-right: 3px;
}


.social {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	top: 40px;
	right: 40px;
}
.social-aside {
	padding-bottom: 0px;
	padding-right: 0px;
	padding-left: 20px;
}
.header-title, .header-subtitle
	{
			margin-top: 0;
			margin-bottom: 0;
	}
}


@media screen and (max-width: 1024px) {
	 .header
	{
			height: 90px;
			padding-left: 5px;
	}
	.header-social, .social {
			display: none;
	}
	.header-search-container, .menu-burger {
			top: 40px;
	}
	.header-search-container {
	position: absolute;
	top: 40px;
	right: 60px;
	}
	.header-social {
	display: none;
	height: 40px;
	background-color: #fff;
	}
	.header-title, .header-subtitle
	{
			margin-top: 0;
			margin-bottom: 0;
	}
	.header-logo-container {
	padding-bottom: 10px;
	padding-top: 15px;
	}
	
	.social {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
align-items: center;
left:0;
top: 5px;
padding-bottom: 3px;
border-bottom: 1px solid #C6CDDD;
width: 100%;
justify-content: center;


	
	}
	.mobile-menu-container {
	top: 90px;
	transition: all 0.4s ease;
	border-top: 1px solid #374785;
	z-index: 200;
	
	}
	
}

@media screen and (max-width: 375px){
	.header {
	height: 90px;
	padding-left: 5px;
	}
	
	.mobile-menu-container {
	top: 90px;
	transition: all 0.4s ease;
	border-top: 1px solid #374785;
	
	}
	.header-search-container {
	display: flex;
	top: 40px;
	right: 60px;
	}
  
	}


[type="button"], [type="submit"], button
{
	 background-color: #374785;
}
.activeurll {
  background-color: #24305E !important;
  color: #ffffff !important;
}
.activeurll a {
  color: #ffffff !important;
}

.main-submenu a:hover
{
text-decoration: none;
font-weight: normal;
}
.mobile-accordeon button:hover
{
	color: red;
	background-color: #868CAD;
}
 .mobile-menu.active {
    background-color: #868CAD;
  }

	#fide100div
	{	
	color:red;
	border: 0;
	
   
	}
	#fide100div:hover
	{
	z-index: 1000;
	}
	
.calendar-tabs-buttons {
  z-index: 90;
}
.elementor-245 .elementor-element.elementor-element-df66bb2
{
	box-shadow:none;
}

</style>

<script>
let burger = document.querySelector('.menu-burger');
let menu = document.querySelector('.mobile-menu-container');

burger.onclick = function() {
	
menu.classList.toggle('open-menu');
burger.classList.toggle('open-menu');
};

</script>    
<script>
class ItcTabs {
  constructor(target, config) {
    const defaultConfig = {};
    this._config = Object.assign(defaultConfig, config);
    this._elTabs =
      typeof target === "string" ? document.querySelector(target) : target;
    this._elButtons = this._elTabs.querySelectorAll(".tabs-btn");
    this._elPanes = this._elTabs.querySelectorAll(".tabs-pane");
    this._eventShow = new Event("tab.itc.change");
    this._init();
    this._events();
  }

  _init() {
    this._elTabs.setAttribute("role", "tablist");
    this._elButtons.forEach((el, index) => {
      el.dataset.index = index;
      el.setAttribute("role", "tab");
      this._elPanes[index].setAttribute("role", "tabpanel");
      el.classList.add("tabs-btn-not-active"); // ���������� ������ .tabs-btn-not-active
    });
  }

  show(elLinkTarget) {
    const elPaneTarget = this._elPanes[elLinkTarget.dataset.index];
    const elLinkActive = this._elTabs.querySelector(".tabs-btn-active");
    const elPaneShow = this._elTabs.querySelector(".tabs-pane-show");
    if (elLinkTarget === elLinkActive) {
      return;
    }
    elLinkActive ? elLinkActive.classList.remove("tabs-btn-active") : null;
    elLinkActive ? elLinkActive.classList.add("tabs-btn-not-active") : null; // ���������� ������ .tabs-btn-not-active
		elPaneShow ? elPaneShow.style.display = "none" : null;
    elPaneShow ? elPaneShow.classList.remove("tabs-pane-show") : null;
    elLinkTarget.classList.add("tabs-btn-active");
    elLinkTarget.classList.remove("tabs-btn-not-active"); // �������� ������ .tabs-btn-not-active
    elPaneTarget.classList.add("tabs-pane-show");
    this._elTabs.dispatchEvent(this._eventShow);
    elLinkTarget.focus();
  }

  showByIndex(index) {
    const elLinkTarget = this._elButtons[index];
    elLinkTarget ? this.show(elLinkTarget) : null;
  }

  _events() {
		this._elTabs.addEventListener("click", (e) => {
  const target = e.target.closest(".tabs-btn");
  if (target) {
    const link = target.querySelector("a");
    if (link) {
      const href = link.getAttribute("href");
      if (href) {
        e.preventDefault();
        window.location.href = href;
      }
    }
  }
});

  }
}

const accordionToggle = () => {
  const chItems = document.querySelectorAll(".tabs-pane.main-submenu");

  chItems.forEach((item) => {
    const chButton = item.querySelector("button.submenu-button");
    const chDesc = item;

    const toggleAccordion = () => {
      chItems.forEach((item) => {
        const chRemoveButton = item.querySelector("button.submenu-button");
        const chRemoveDesc = item;

        if (chRemoveDesc !== chDesc) {
          chRemoveDesc.style.display = "none"; // Set display: none
          chRemoveDesc.classList.remove("tabs-pane-show");
					chRemoveDesc.classList.add("tabs-pane-not-show");
          chRemoveButton.classList.remove("tabs-btn-active");
          chRemoveButton.classList.add("tabs-btn-not-active");
        }
      });

      chDesc.classList.toggle("tabs-pane-show");
      chButton.classList.toggle("tabs-btn-active");
      chButton.classList.remove("tabs-btn-not-active");
    };

    chButton.addEventListener("click", toggleAccordion);
  });
};

const tabs = new ItcTabs(".tabs");
accordionToggle();
const accordeon = () => {
  const chItems = document.querySelectorAll(".accordeon");

  chItems.forEach((item) => {
    const chButton = item.querySelector(".accordeon-title");
    const chDesc = item.querySelector(".accordeon-body");

    chButton.addEventListener("click", () => {
      chItems.forEach((item) => {
        const chRemoveButton = item.querySelector(".accordeon-title");
        const chRemoveDesc = item.querySelector(
          ".accordeon-body"
        );

        if (chRemoveDesc !== chDesc) {
          chRemoveDesc.classList.remove("open");
          chRemoveDesc.style.height = 0;
          chRemoveButton.classList.remove("active");
        }
      });

      if (chDesc.classList.contains("open")) {
        chDesc.style.height = 0;
      } else {
        chDesc.style.height = chDesc.scrollHeight + "px";
      }

      chDesc.classList.toggle("open");
      chButton.classList.toggle("active");
    });
  });
};

accordeon();

document.addEventListener('DOMContentLoaded', function() {
  var currentURL = window.location.href;
  var substituteURL = window.location.href;
  

  // ������� ������� � ������� menu-container
  var menuContainer = document.querySelector('.tabs-content');

	var menuContainerLvlOne = document.querySelector('.tabs-nav');
  // �������� ��� ������ ������ menuContainer
  var links = menuContainer.querySelectorAll('a');
	var linksLvlOne = menuContainerLvlOne.querySelectorAll('a');


	for (var i = 0; i <linksLvlOne.length; i++) {
		var linkLvlOne = linksLvlOne[i];
		var href = linkLvlOne.getAttribute('href');
		
		//custom links
		  if (href.includes("https://ratings.fide.com") & substituteURL.includes("ratings2.fide.com.test"))
  
			{
				var currentURL = "https://ratings.fide.com";
				var href = "ratings.fide.com";
			}
		 

		
		if (currentURL.includes(href)){
		
		
			var parent = linkLvlOne.parentElement;
			
			parent.classList.add('tabs-btn-active');
			parent.classList.remove('tabs-btn-not-active');
			var dataIndex = parent.getAttribute('data-index');
			var newId = 'content-' + (parseInt(dataIndex, 10) + 1);


// ������� ������� � ����� ��������������� � ��������� ����������� ��������
var element = document.getElementById(newId);
if (element) {
  element.classList.add('tabs-pane-show');
}

		}
		
	
		
	}
  // ���������� ������ � ��������� ����������� ��������
  for (var i = 0; i < links.length; i++) {
    var link = links[i];
    var href = link.getAttribute('href');

    // ���������, �������� �� ������� URL ������ ����� ������
    if (currentURL.includes(href)) {
      // ������� ������������ ������� ������
      var parentParent = link.parentElement.parentElement;
			var parent = link.parentElement;

      // ������������� display: block ��� ������������� �������� ������
			parent.classList.add('activeurll');
      parentParent.style.display = 'block';
      parentParent.classList.add('activeurl');
      parentParent.classList.add('tabs-pane-show');

      var myid = parentParent.id;
			
      var trimmedId = myid.replace('content-', '');
      var newId = parseInt(trimmedId, 10) - 1;

      // ������� ������� � ����� ��������������� � ��������� ����������� ��������
			
      var element = menuContainerLvlOne.querySelector('[data-index="' + newId + '"]');
			
      if (element) {
        element.classList.add('tabs-btn-active');
        element.classList.remove('tabs-btn-not-active');
      }
    }
  }

  // ��������� ���������� tabsPane
  var tabsPane = document.querySelector('.tabs-pane-show');

  // ������� ��� ���������� ���������� tabsPane
  function updateTabsPane() {
    tabsPane = document.querySelector('.tabs-pane-show');
  }

  const buttons = document.querySelectorAll('.tabs-btn.menu-button');
  let activeSubmenu = null;

  buttons.forEach((button, index) => {
    const submenu = document.getElementById(`content-${index + 1}`);

    button.addEventListener('mouseover', () => {
      if (button.classList.contains('tabs-btn-not-active')){
        if (submenu) submenu.style.display = 'block'; // Added submenu check
        updateTabsPane();
        if (tabsPane) tabsPane.style.display = 'none'; // Guard: Only hide if exists
      }
      if (button.classList.contains('tabs-btn-active')){
        updateTabsPane();
        if (tabsPane) tabsPane.style.display = 'block'; // Guard: Only show if exists
      }
    });

    button.addEventListener('mouseleave', () => {
      if (!button.classList.contains('tabs-btn-active')) {
        if (submenu) submenu.style.display = 'none'; // Added submenu check
        updateTabsPane();
        if (tabsPane) tabsPane.style.display = 'block'; // Guard: Only show if exists
      }
      if (button.classList.contains('tabs-btn-active')){
        updateTabsPane();
        if (tabsPane) tabsPane.style.display = 'block'; // Guard: Only show if exists
      }
    });

    // Only add listeners if the submenu actually exists in the HTML
    if (submenu) {
      submenu.addEventListener('mouseenter', () => {
        if (button.classList.contains('tabs-btn-not-active')){
          submenu.style.display = 'block';
          updateTabsPane();
          if (tabsPane) tabsPane.style.display = 'none'; // Guard
        }
        if (button.classList.contains('tabs-btn-active')){
          updateTabsPane();
          if (tabsPane) tabsPane.style.display = 'block'; // Guard
        }
      });

      submenu.addEventListener('mouseleave', () => {
        submenu.style.display = 'none';
        updateTabsPane();
        if (tabsPane) tabsPane.style.display = 'block'; // Guard
      });
    }
  });
  
const currentPath = window.location.href;
  const mobileLinks = document.querySelectorAll('.mobile-submenu a');
  
  mobileLinks.forEach(link => {
    const href = link.getAttribute('href');
    
    // Check if current URL contains the link's href to handle parameters
    if (href && href !== "#" && currentPath.includes(href)) {
      const parentAccordeon = link.closest('.accordeon');
      
      if (parentAccordeon) {
        const chButton = parentAccordeon.querySelector('.accordeon-title');
        const chDesc = parentAccordeon.querySelector('.accordeon-body');
        
        if (chButton && chDesc) {
          // Force the accordion to expand
          chDesc.classList.add("open");
          chDesc.style.height = chDesc.scrollHeight + "px";
          chButton.classList.add("active");
          
          // Optional: Highlight the specific active link in the mobile menu
          link.style.fontWeight = "bold";
          link.style.color = "#24305E";
        }
      }
    }
  });


  // ��������� ��������� ��� ���������� ���������� tabsPane
  menuContainer.addEventListener('transitionend', updateTabsPane);
  menuContainer.addEventListener('animationend', updateTabsPane);
});



</script><!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-0TSTM17GEX"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-0TSTM17GEX');
</script>
<link rel="stylesheet" type="text/css" href="/css/rtng_css.css"/>
<style>


</style>

    <div class="dir-pattern">
        <img src="/img/dir-pattern-1.png" alt="">
    </div>
    <div class="dir-pattern-two">
        <img src="/img/dir-pattern-2.png" alt="">
    </div>
    <div class="dir-pattern-four">
        <img src="/img/dir-pattern-4.png" alt="">
    </div>
    <div class="dir-pattern-three">
        <img src="/img/dir-pattern-3.png" alt="">
    </div>
    <div class="dir-pattern-five">
        <img src="/img/dir-pattern-5.png" alt="">
    </div>
	<section class="directory">
    <div class="directory-container container">
	<h1 class="page-title">PGN Files</h1>
		<div class="tmnt_name1">
					</div>
		
	</div>
	</section>
	<footer class="footer">
        <div class="footer-top">
            <div class="footer-image">
                <img src="/img/footer-queen.png" alt="">
            </div>
        </div>
        <div class="footer-bottom">
            <div class="footer-container container1">
                <div class="footer-logo-container">
                    <div class="footer-logo">
                        <a href="/"><img src="/img/logo1.png" alt=""></a>
                    </div>
                    <div class="header-title-container footer-title-container">
                        <h2 class="header-title footer-title">International</h2>
                        <h2 class="header-subtitle footer-subtitle">Chess Federation</h2>
                    </div>
                    <!--footer-logo-container-->
                </div>
                <div class="footer-menu-container">
                    <div class="footer-menu">
                        <ul class="footmenu">
                            <a href="https://www.fide.com/"><li>HOME</li></a>
                            <a href="https://www.fide.com/news"><li>NEWS</li></a>
                            <a href="https://ratings.fide.com/"><li>RATINGS</li></a>
                            <a href="https://www.fide.com/fide-world-championship-cycle-2026-2026"><li>CHAMPIONSHIP</li></a>
                            <a href="https://calendar.fide.com/"><li>CALENDAR</li></a>
                            <a href="https://www.fide.com/fide/about-fide"><li>FIDE</li></a>
                            <a href="https://med.fide.com" target=_blank><li>Clean Sport</li></a>
							<a href="https://www.fide.com/partners"><li>PARTNERS</li></a>							
							<a href="https://shop.fide.com/" target=_blank><li>SHOP</li></a>
							<a href="https://www.fide.com/contacts"><li>CONTACTS</li></a>
							<a href="https://old.fide.com/"><li>ARCHIVE</li></a>
							<a href="https://www.fide.com/privacy"><li>PRIVACY POLICY</li></a>
							
							
                        </ul>
                    </div>
                   
                    <div class="footer-copyright">
                        <p>© 2026 FIDE International Chess Federation. All Rights Reserved. No part of this site may be reproduced, stored in a retrieval system or transmitted in any way or by any means (including photocopying, recording or storing it in any medium by electronic means), without the written permission of FIDE International Chess Federation.</p>
                    </div>
                    <!--footer-menu-container-->
                </div>
                <div class="footer-social">
                    <div class="footer-social-button">
                        <a href="https://www.twitch.tv/fide_chess">
                            <img src="/img/footer-twitch.svg" alt="">
                        </a>
                    </div>
                    <div class="footer-social-button">
                        <a href="https://twitter.com/FIDE_chess">
                            <img src="/img/twitterx_footer.svg" alt="twitter">
                        </a>    
                    </div>
                    <div class="footer-social-button">
                        <a href="https://www.instagram.com/fide_chess/">
                            <img src="/img/footer-instagram.svg" alt="instagram">
                        </a>
                    </div>
                    <div class="footer-social-button">
                        <a href="https://www.facebook.com/ChessFIDE/">
                            <img src="/img/footer-facebook.svg" alt="facebook">
                        </a>
                    </div>
                    <div class="footer-social-button youtube_logo">
                        <a href="https://www.youtube.com/channel/UC9B47GnzCRFHTT1BIBWvStQ">
                            <img src="/img/footer-youtube.svg" alt="youtube">
                        </a>
                    </div>
                    <div class="footer-social-button">
                        <a href="">
                            <img src="/img/footer-twitch.svg" alt="twitch">
                        </a>
                    </div>
                    <div class="footer-social-button">
                        <a href="https://www.tiktok.com/@fide_chess">
                            <img src="/img/tiktok_footer.svg" alt="tiktok">
                        </a>
                    </div>
                    <div class="footer-social-button">
                        <a href="https://www.linkedin.com/company/48892238">
                            <img src="/img/footer-linkedin.svg" alt="linkedin">
                        </a>
                    </div>
                    <!--footer-social-->
                </div>
                <!--footer-container-->
            </div>
        </div>
    
        <div class="up-button-container">
            <a href="#">
                <img src="/img/up-button.png" alt="">
            </a>
        </div>
    </footer>
	<style>

.container1
{
	max-width: 1440px;
	padding: 10px;
	margin: auto;
}
.footmenu a, .footmenu a:visited, .footmenu a:active, .footmenu a:hover
{
  font-family: "Roboto", Sans-serif;
  font-size: 14px;
  font-weight: 400;	
  text-decoration: none;
  color:#24305e;
}
.footer
{
	margin-top: 0px;
	width: 100vw;
        max-width: 100%;
}
.footer-menu ul
{
	flex-direction: row;
    flex-wrap: wrap;
	gap: 10px;
	justify-content: space-evenly;
}

.footer-logo-container {
  max-width: 420px;
  width: 20%;
}

.footer-image {
  position: absolute;
  right: 140px;
  bottom: 60px;
  z-index: 1;
}

.footer-social-button img {
  padding: 14px;
  height: 50px;
}
.youtube_logo img
{
    width: 50px !important;
}

.up-button-container a {
    display: inline-block;
    position: absolute;
    right: 50px;
    bottom: 17px;
    width: 80px;
    height: 80px;
    z-index: 300;
}

.up-button-container img {
    position: absolute;
    z-index: 300;
    bottom: 0px;
    right: 0px;
}

@media screen and (max-width: 1024px) {
.container1 {
	width:100%;
	margin: 0 auto;
}

 .header-title-container {
    padding-left: 8px;
  }
  .footer-social {
    padding-left: 0px;
    }
    .footer-social-button:first-child {
    display: none;
}
}
@media screen and (min-width: 575px) and (max-width: 1024px) {
  .footer-menu-container {
    width: 70%;
    padding-left: 10px;
  }
  .footer-image {
    left: 15%;
    bottom: 40%;
  }
   .footer-title-container {
    padding-left: 0px;
    padding-top: 0px;
    
    text-align: left;
  }
   .footer-copyright p {
    padding-top: 10px;
    line-height: 14px;
	font-size: 12px;
  }
   .footer-social{
    justify-content:left;
    width: 100%;
    }

  .footer-social-button img {
    padding: 16px;
  }
  .footer-logo {
    padding: 0px 0px 10px 10px;
}
.up-button-container a {
    right: 20px;
    bottom: 56px;
}
}

@media screen and (max-width: 574px) {
    
.header-title, .header-subtitle {
    padding-left: 0px;
    }  
  .footer-menu-container {
    width: 75%;
    align-items: start;
	padding-left: 0;
  }
   .footer-copyright {
    width: 99%;
    margin-left: 0;
  }
  .footer-image {
    top: 3%;
    left: 40%;
  }
  .footer-image img {
        width: 60px;
        margin-left: 150%;
    }
    .footer-social{
    justify-content: center;
    width: 100%;
    }
  .footer-social-button img {
    padding: 8px;
    width: 38px;
  }

.footer-menu ul
{
	flex-direction: row;
    flex-wrap: wrap;
	padding-left:0;
}

.footer-title-container {
    padding-left: 0px;
    padding-top: 0px;
    
    text-align: left;
  }

.footer-menu {
  display: block;
  width: 100%;
  padding-top: 20px;
  }
.footer-logo-container img
	{
		margin:auto;
	}
	
.footer-title-container {
    
    width: 100%;
  }
.footer-subtitle {
	width: 100%;
	}
.footer-logo-container {
  padding-top: 15px;
	width: 20%;
	}
.footer-bottom {
    padding-bottom: 10px;
	padding-top: 10px;
  }

.footer-logo-container {
  
	width: 100%;
	}
.footmenu a li {
    padding-top: 10px;
  }
.footer-menu ul
{
	flex-direction: column;
    flex-wrap: wrap;
    
}
.footer-menu-container {
    width: 100%;
    align-items: start;
	padding-left: 0;
	
  }
.footer-title-container {
    padding-left: 0px;
    padding-top: 0px;
    
    text-align: center;
  }
.up-button-container a {
    right: 20px;
    bottom: 807px;
    width: 50px;
    height: 50px;
}

}
	</style> 

</body>
</html>