[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.25"]
[Round "1.1"]
[White "Ruiz, Alain"]
[Black "Rivas Puch, Juan"]
[Result "1/2-1/2"]
[ECO "B30"]
[WhiteElo "1776"]
[BlackElo "1798"]
[PlyCount "40"]
[EventDate "2025.07.25"]

1. e4 c5 2. Nf3 Nc6 3. Bc4 e6 4. O-O Nf6 5. Re1 Nxe4 6. Rxe4 d5 7. Bxd5 Qxd5 8.
Nc3 Qd8 9. d3 Be7 10. Bf4 Bd7 11. Nb5 e5 12. Nxe5 Nxe5 13. Bxe5 Bxb5 14. Bxg7
Rg8 15. Bf6 Bc6 16. Rxe7+ Qxe7 17. Bxe7 Rxg2+ 18. Kf1 Kxe7 19. Qe2+ Kd7 20. Re1
Rg1+ 1/2-1/2

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.25"]
[Round "1.2"]
[White "Arrarte, Agustin"]
[Black "Pascualvaca, Federico"]
[Result "0-1"]
[ECO "E14"]
[WhiteElo "1770"]
[BlackElo "1825"]
[PlyCount "66"]
[EventDate "2025.07.25"]

1. d4 Nf6 2. Nf3 e6 3. e3 b6 4. Bd3 Bb7 5. b3 c5 6. Bb2 Be7 7. O-O O-O 8. c4
cxd4 9. Bxd4 Nc6 10. Bb2 d5 11. Qe2 Nb4 12. Nc3 Nxd3 13. Qxd3 dxc4 14. Qxd8
Rfxd8 15. Nd4 cxb3 16. Nxb3 Rac8 17. Rfd1 Nd5 18. Rac1 Nxc3 19. Rxd8+ Rxd8 20.
Bxc3 Ba3 21. Re1 Rc8 22. Be5 f6 23. Ba1 Bd5 24. h3 Rc2 25. Rd1 Rxa2 26. Nd4 Bb2
27. Bxb2 Rxb2 28. Rc1 a5 29. Rc8+ Kf7 30. Rb8 a4 31. Rc8 a3 32. Rc7+ Kg6 33.
Ra7 a2 0-1

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.26"]
[Round "2.3"]
[White "Ruiz, Alain"]
[Black "Arrarte, Agustin"]
[Result "1-0"]
[ECO "B00"]
[WhiteElo "1776"]
[BlackElo "1770"]
[Annotator "Usuario"]
[PlyCount "1"]
[EventDate "2025.07.25"]

1. e4 {Las NN pierden por ausencia} 1-0

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.25"]
[Round "1.3"]
[White "Avedisian, Alexander"]
[Black "Pelaez, Diego"]
[Result "1-0"]
[ECO "A08"]
[WhiteElo "1843"]
[BlackElo "1710"]
[PlyCount "73"]
[EventDate "2025.07.25"]

1. Nf3 d5 2. g3 Nf6 3. Bg2 e6 4. O-O Bd6 5. d3 c5 6. Nbd2 Nc6 7. e4 O-O 8. Re1
Qc7 9. a4 Bd7 10. Qe2 dxe4 11. Nxe4 Nxe4 12. Qxe4 f6 13. c3 Rae8 14. Bd2 Ne7
15. b4 cxb4 16. cxb4 e5 17. Rac1 Qb8 18. Qc4+ Kh8 19. d4 Rc8 20. Qb3 Ng6 21. b5
Rxc1 22. Bxc1 Qc8 23. Ba3 Bxa3 24. Qxa3 exd4 25. Nxd4 Ne5 26. Bxb7 Qb8 27. Bg2
Re8 28. Qc3 Rc8 29. Nc6 Bxc6 30. Bxc6 a6 31. Rc1 axb5 32. axb5 Qb6 33. Kg2 Ng4
34. Rc2 h6 35. Qf3 Ne5 36. Qf5 Qd8 37. Be4 1-0

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.26"]
[Round "2.2"]
[White "Pascualvaca, Federico"]
[Black "Avedisian, Alexander"]
[Result "1/2-1/2"]
[ECO "E69"]
[WhiteElo "1825"]
[BlackElo "1843"]
[PlyCount "75"]
[EventDate "2025.07.25"]

1. Nf3 g6 2. g3 Nf6 3. Bg2 Bg7 4. O-O O-O 5. c4 d6 6. d4 Nbd7 7. Nc3 e5 8. e4
exd4 9. Nxd4 c6 10. h3 Qb6 11. Nc2 Nc5 12. Kh2 Re8 13. Re1 a5 14. Ne3 Nfxe4 15.
Nxe4 Nxe4 16. f3 Nc5 17. Nd5 Rxe1 18. Qxe1 Qd8 19. Ne7+ Kf8 20. Nxc8 Rxc8 21.
Rb1 b6 22. Be3 Ne6 23. Rd1 d5 24. cxd5 cxd5 25. Qd2 d4 26. Bf2 Qc7 27. Bf1 Qc2
28. Bd3 Qa4 29. b3 Qd7 30. Bc4 Rd8 31. h4 h5 32. a4 Qc6 33. Qe2 Nc5 34. Re1 Re8
35. Qxe8+ Qxe8 36. Rxe8+ Kxe8 37. Kg2 Ke7 38. Kf1 1/2-1/2

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.26"]
[Round "2.1"]
[White "Rivas Puch, Juan"]
[Black "Pelaez, Diego"]
[Result "1-0"]
[ECO "D40"]
[WhiteElo "1798"]
[BlackElo "1710"]
[PlyCount "77"]
[EventDate "2025.07.25"]

1. e4 c6 2. d4 d5 3. exd5 cxd5 4. c4 Nf6 5. Nc3 Nc6 6. Bg5 e6 7. Nf3 Be7 8. a3
O-O 9. Bd3 dxc4 10. Bxc4 Nd5 11. h4 h6 12. Bd3 Qa5 13. Bd2 Qb6 14. Na4 Qd8 15.
Rc1 Nf6 16. Bc3 Nd5 17. Bb1 a6 18. Qd3 f5 19. g3 b6 20. Bd2 Bb7 21. O-O Nf6 22.
Ba2 Nd5 23. Rfe1 Rf6 24. Nc3 Nxc3 25. Bxc3 Qd7 26. Qe3 Nd8 27. d5 Bc5 28. Qe2
Rg6 29. Ne5 Qd6 30. Kh2 Rf6 31. b4 Bxf2 32. Qxf2 Bxd5 33. Nc4 Bxc4 34. Bxc4 Rg6
35. Be5 Qe7 36. Qxf5 Kh7 37. Qf3 Rc8 38. Bd3 Rxc1 39. Rxc1 1-0

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.26"]
[Round "3.1"]
[White "Arrarte, Agustin"]
[Black "Rivas Puch, Juan"]
[Result "1/2-1/2"]
[ECO "D05"]
[WhiteElo "1770"]
[BlackElo "1798"]
[PlyCount "56"]
[EventDate "2025.07.25"]

1. d4 Nf6 2. Nf3 c5 3. e3 d5 4. c3 Nc6 5. Bd3 Bg4 6. Nbd2 e6 7. Qc2 Bd6 8. O-O
O-O 9. Re1 h6 10. h3 Bxf3 11. Nxf3 Rc8 12. Qe2 Re8 13. e4 dxe4 14. Bxe4 Nxe4
15. Qxe4 cxd4 16. Nxd4 Nxd4 17. Qxd4 Bc5 18. Qg4 Qf6 19. Be3 Red8 20. Bxc5 Rxc5
21. Rad1 Rg5 22. Rxd8+ Qxd8 23. Rd1 Rd5 24. Rxd5 Qxd5 25. Qa4 Qf5 26. Qxa7 Qb1+
27. Kh2 Qxb2 28. a4 b6 1/2-1/2

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.26"]
[Round "3.2"]
[White "Avedisian, Alexander"]
[Black "Ruiz, Alain"]
[Result "0-1"]
[ECO "A04"]
[WhiteElo "1843"]
[BlackElo "1776"]
[PlyCount "141"]
[EventDate "2025.07.25"]

1. Nf3 c5 2. g3 Nc6 3. Bg2 d6 4. O-O Nf6 5. d3 g6 6. Nc3 Bg7 7. Nh4 Bd7 8. f4
Qc8 9. e4 Bg4 10. Qd2 Bh3 11. f5 Bxg2 12. Qxg2 Ng4 13. Nd5 Bd4+ 14. Kh1 Nb4 15.
h3 Nxd5 16. hxg4 Ne3 17. Bxe3 Bxe3 18. Rae1 Bd4 19. c3 Bf6 20. Nf3 e5 21. fxe6
Qxe6 22. d4 O-O 23. e5 dxe5 24. Nxe5 Bxe5 25. Rxe5 Qxg4 26. Rf4 Qd1+ 27. Kh2
Rae8 28. Ree4 cxd4 29. cxd4 Rxe4 30. Rxe4 Rc8 31. Rf4 Rc2 32. Rf2 Qh5+ 33. Kg1
Rc1+ 34. Rf1 Rd1 35. Qf2 Rxf1+ 36. Kxf1 Qd5 37. a3 Kg7 38. Ke2 Qb3 39. Kf1 Qd3+
40. Kg2 h5 41. Kh2 a6 42. Kg2 g5 43. b4 Kg6 44. Qb2 Qe4+ 45. Kh2 h4 46. gxh4
Qxh4+ 47. Kg2 Qe4+ 48. Kg1 Qd3 49. a4 Qd1+ 50. Kg2 Qxa4 51. d5 Qd1 52. Qe5 Qd2+
53. Kg1 Qf4 54. Qc3 Qg4+ 55. Kh2 Qh4+ 56. Kg1 Qg4+ 57. Kh2 Qe2+ 58. Kg3 Qe7 59.
Qd3+ f5 60. d6 Qd7 61. Qd4 Kf7 62. Qd5+ Kf6 63. Kf2 Qc6 64. Qd2 Ke6 65. Qxg5
Kxd6 66. Qf6+ Kc7 67. Qe5+ Qd6 68. Qc3+ Kb8 69. Qh8+ Ka7 70. Qc3 Qc6 71. Kg3
0-1

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.26"]
[Round "3.3"]
[White "Pelaez, Diego"]
[Black "Pascualvaca, Federico"]
[Result "0-1"]
[ECO "D35"]
[WhiteElo "1710"]
[BlackElo "1825"]
[PlyCount "90"]
[EventDate "2025.07.25"]

1. d4 Nf6 2. c4 e6 3. Nc3 d5 4. cxd5 exd5 5. Bg5 c6 6. e3 h6 7. Bh4 Be7 8. Bd3
O-O 9. Nge2 a5 10. O-O Re8 11. f3 Na6 12. a3 Nc7 13. Rc1 Ne6 14. Bf2 Bd7 15.
Ng3 Bf8 16. e4 dxe4 17. fxe4 Nf4 18. Bb1 Ng4 19. Qc2 Qh4 20. h3 Ne3 21. Bxe3
Nxh3+ 22. Kh2 Nf2+ 23. Kg1 Nh3+ 24. Kh2 Ng5+ 25. Kg1 Qxg3 26. Bxg5 Qxg5 27. e5
Qe3+ 28. Kh1 g6 29. Rcd1 Bg7 30. Rf3 Qg5 31. Ne4 Qh5+ 32. Kg1 Bf5 33. Qb3 Re7
34. Ng3 Be6 35. Qc2 Qh4 36. Qf2 Rd7 37. Rf4 Qe7 38. Rf1 Rad8 39. Ne4 Kh8 40.
Nd6 Rxd6 41. exd6 Rxd6 42. Re1 Qd7 43. Rxe6 Qxe6 44. Re4 Qxe4 45. Qf1 Bxd4+ 0-1

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.27"]
[Round "4.3"]
[White "Arrarte, Agustin"]
[Black "Avedisian, Alexander"]
[Result "0-1"]
[ECO "A45"]
[WhiteElo "1770"]
[BlackElo "1843"]
[PlyCount "36"]
[EventDate "2025.07.25"]

1. d4 Nf6 2. Bf4 g6 3. Nc3 Bg7 4. e4 d5 5. e5 Ne4 6. Nxe4 dxe4 7. Qd2 O-O 8.
O-O-O f6 9. exf6 exf6 10. h4 h5 11. f3 exf3 12. Nxf3 Bf5 13. Bh6 Nc6 14. Bc4+
Kh7 15. Bf4 b5 16. Bxb5 Qd5 17. c4 Qe4 18. Qd3 Qxf4+ 0-1

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.27"]
[Round "4.1"]
[White "Rivas Puch, Juan"]
[Black "Pascualvaca, Federico"]
[Result "0-1"]
[ECO "B13"]
[WhiteElo "1798"]
[BlackElo "1825"]
[PlyCount "72"]
[EventDate "2025.07.25"]

1. e4 c6 2. d4 d5 3. exd5 cxd5 4. c4 Nf6 5. Nc3 Nc6 6. Bg5 Be6 7. Nf3 g6 8.
Bxf6 exf6 9. c5 Bg7 10. Be2 O-O 11. O-O a6 12. Qd2 Qc7 13. Rab1 b6 14. b4 bxc5
15. bxc5 Rfb8 16. Na4 f5 17. Rb6 Bd7 18. Nc3 Nxd4 19. Rfb1 Rxb6 20. cxb6 Qxc3
21. b7 Rb8 22. Qd1 Nxe2+ 23. Qxe2 Qc6 24. Qe7 Rxb7 25. Qd8+ Bf8 26. Re1 Be6 27.
h4 Qc8 28. Qg5 h6 29. Qd2 Qb8 30. h5 Rb1 31. hxg6 Rxe1+ 32. Qxe1 Bg7 33. gxf7+
Kxf7 34. g3 Qb2 35. Qe3 Qb1+ 36. Kg2 d4 0-1

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.27"]
[Round "4.2"]
[White "Ruiz, Alain"]
[Black "Pelaez, Diego"]
[Result "1/2-1/2"]
[ECO "B07"]
[WhiteElo "1776"]
[BlackElo "1710"]
[PlyCount "97"]
[EventDate "2025.07.25"]

1. e4 g6 2. d4 Bg7 3. Nf3 d6 4. h3 Nf6 5. Bd3 O-O 6. O-O Nbd7 7. c3 b6 8. Re1
Bb7 9. Bf4 c5 10. d5 a6 11. a4 Rc8 12. Nbd2 Re8 13. Qe2 Nb8 14. Qf1 e6 15. Nc4
e5 16. Bg3 Nh5 17. Bh2 Bh6 18. Ne3 Bxe3 19. fxe3 Rc7 20. Re2 f6 21. Rf2 Rf8 22.
c4 Qe8 23. Nh4 Rcf7 24. g4 Ng7 25. Qg2 Qe7 26. Raf1 Bc8 27. Bg3 Bd7 28. b3 Qd8
29. Rf3 Qe8 30. Be1 g5 31. Nf5 Bxf5 32. gxf5 h5 33. Qe2 Kh7 34. R3f2 Kh6 35.
Rg2 Rh8 36. Rf3 Kh7 37. Rfg3 Kg8 38. h4 g4 39. Qd1 a5 40. Be2 Kf8 41. Kf1 Ke7
42. Rh2 Nd7 43. Kg1 Qf8 44. Bd3 Ne8 45. Qe2 Rg7 46. Kf1 Nb8 47. Qd1 Na6 48. Bb1
Nec7 49. Qe2 1/2-1/2

<!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>