[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.25"]
[Round "1.1"]
[White "Araque, Silvana"]
[Black "Riveiro, Ernesto"]
[Result "1-0"]
[ECO "C01"]
[WhiteElo "1665"]
[PlyCount "113"]
[EventDate "2025.07.25"]

1. e4 e6 2. d4 d6 3. Nf3 f6 4. Nc3 Nc6 5. Bb5 Nge7 6. d5 a6 7. dxc6 axb5 8.
cxb7 Bxb7 9. Nd4 Qd7 10. Ndxb5 Qc6 11. Nd4 Qc4 12. Qe2 Ba6 13. Qxc4 Bxc4 14. b3
c5 15. bxc4 cxd4 16. Nb5 Nc6 17. Nc7+ Kf7 18. Nxa8 Nb4 19. Kd2 Be7 20. c3 Nc6
21. Nc7 dxc3+ 22. Kxc3 Rc8 23. Nb5 f5 24. Bf4 Bf6+ 25. Kc2 Nb4+ 26. Kd2 Kg6 27.
Rab1 Nxa2 28. exf5+ exf5 29. Nxd6 Rd8 30. Ke3 Rd7 31. Rb7 Re7+ 32. Rxe7 Bxe7
33. c5 Nb4 34. Kd4 Bh4 35. g3 Bf6+ 36. Kc4 Nc6 37. h4 Kh5 38. Nxf5 Be5 39. Bxe5
Nxe5+ 40. Kd5 Nd7 41. c6 Nb6+ 42. Kd6 Kg6 43. Ne7+ Kf6 44. c7 Nc4+ 45. Kd7 Nb6+
46. Kd8 Kf7 47. c8=Q Nxc8 48. Nxc8 Kf6 49. Re1 g6 50. g4 h6 51. Kd7 Kg7 52.
Re7+ Kf8 53. Ke6 g5 54. hxg5 hxg5 55. Kf6 Kg8 56. Rd7 Kh8 57. Kg6 1-0

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.25"]
[Round "1.2"]
[White "De Paula, Ithan"]
[Black "Gomez Melcon, Dario"]
[Result "1/2-1/2"]
[ECO "B15"]
[WhiteElo "1569"]
[BlackElo "1694"]
[PlyCount "39"]
[EventDate "2025.07.25"]

1. e4 c6 2. d4 d5 3. Nc3 dxe4 4. Nxe4 Nf6 5. Nxf6+ exf6 6. Nf3 Bd6 7. Bd3 O-O
8. O-O Bg4 9. c4 Bc7 10. Qc2 g6 11. Bh6 Bxf3 12. Bxf8 Kxf8 13. gxf3 Qxd4 14.
Rfe1 Qd6 15. Qd2 Qxh2+ 16. Kf1 Na6 17. Qe3 Qh3+ 18. Ke2 Re8 19. Be4 Qe6 20.
Qh6+ 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.3"]
[White "Kaciusis, Daniel"]
[Black "Gonzalez Martinez, Fabian"]
[Result "0-1"]
[ECO "B30"]
[WhiteElo "1662"]
[BlackElo "1655"]
[PlyCount "112"]
[EventDate "2025.07.25"]

1. e4 c5 2. Nf3 Nc6 3. c3 g6 4. d3 Bg7 5. Bg5 Qc7 6. Be2 Nf6 7. O-O O-O 8. Qc2
d5 9. exd5 Nxd5 10. Nbd2 h6 11. Be3 Bf5 12. Bxc5 Nf4 13. Ne4 Rad8 14. Be3 Nxe2+
15. Qxe2 Bg4 16. d4 e5 17. h3 Be6 18. dxe5 Nxe5 19. Nd4 Bc4 20. Qd2 Bxf1 21.
Rxf1 Nc4 22. Qe2 Nxe3 23. Qxe3 Rfe8 24. Qf3 Qb6 25. Rb1 f5 26. Ng3 Bxd4 27.
cxd4 Qxd4 28. Qxb7 f4 29. Nf1 Re2 30. Qc6 Kg7 31. Qf3 Rde8 32. g3 Qe4 33. Qc3+
Kh7 34. Rd1 Re1 35. Rd7+ Re7 36. Rxe7+ Qxe7 37. gxf4 Qe2 38. Qc7+ Kg8 39. Qc8+
Kf7 40. Qb7+ Qe7 41. Qb3+ Kg7 42. Qc3+ Kh7 43. Kg2 Qe4+ 44. Kg1 Re2 45. Qc7+
Qe7 46. Qc4 Rxb2 47. Ne3 Qb7 48. f3 Rb1+ 49. Kg2 Qb2+ 50. Nc2 Rc1 51. Qf7+ Qg7
52. Qb3 Qc7 53. Nd4 Qxf4 54. Qe6 Qd2+ 55. Kg3 Rg1+ 56. Kh4 Qf2# 0-1

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.26"]
[Round "2.1"]
[White "Riveiro, Ernesto"]
[Black "Gonzalez Martinez, Fabian"]
[Result "0-1"]
[ECO "A35"]
[BlackElo "1655"]
[PlyCount "56"]
[EventDate "2025.07.25"]

1. c4 c5 2. Nc3 Nc6 3. Nf3 g6 4. d3 Bg7 5. Bd2 Nf6 6. e3 O-O 7. Be2 d5 8. d4
cxd4 9. exd4 dxc4 10. Bxc4 Nxd4 11. O-O Bg4 12. Be2 Nxf3+ 13. Bxf3 Bxf3 14.
Qxf3 Qxd2 15. Ne4 Nxe4 16. Qxe4 Qxb2 17. Qxe7 Rfe8 18. Qd7 Rad8 19. Qg4 Qe2 20.
Qxe2 Rxe2 21. Rad1 Rxd1 22. Rxd1 Rxa2 23. Rd8+ Bf8 24. h3 Kg7 25. g4 Bc5 26. h4
Rxf2 27. Rc8 Bb6 28. Rc4 Rf4+ 0-1

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.26"]
[Round "2.2"]
[White "Gomez Melcon, Dario"]
[Black "Kaciusis, Daniel"]
[Result "0-1"]
[ECO "A30"]
[WhiteElo "1694"]
[BlackElo "1662"]
[PlyCount "80"]
[EventDate "2025.07.25"]

1. Nf3 c5 2. c4 Nc6 3. d4 cxd4 4. Nxd4 d6 5. e3 e6 6. Be2 Nf6 7. Nc3 Be7 8. O-O
O-O 9. a3 a6 10. b4 Bd7 11. Bf3 Qc8 12. Nxc6 Bxc6 13. Bxc6 Qxc6 14. Qb3 Rac8
15. Bb2 Qxc4 16. Qxc4 Rxc4 17. Rfc1 Rfc8 18. Na4 Rxc1+ 19. Rxc1 Rxc1+ 20. Bxc1
b5 21. Nc3 Nd7 22. f4 d5 23. Kf2 Bf6 24. Ne2 Nb6 25. g4 Nc4 26. g5 Bb2 27. Bxb2
Nxb2 28. Nd4 Nc4 29. Nc2 Kf8 30. Ke2 Ke7 31. Kd3 Kd6 32. e4 f6 33. h4 e5 34.
gxf6 gxf6 35. f5 dxe4+ 36. Kxe4 Nd2+ 37. Ke3 Nc4+ 38. Ke4 Kc6 39. Kf3 Kd5 40.
h5 h6 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 "Araque, Silvana"]
[Black "De Paula, Ithan"]
[Result "0-1"]
[ECO "B92"]
[WhiteElo "1665"]
[BlackElo "1569"]
[PlyCount "58"]
[EventDate "2025.07.25"]

1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Be2 e5 7. Nb3 Be7 8. O-O
O-O 9. f4 b5 10. a3 Bb7 11. Bf3 Nbd7 12. f5 Nb6 13. Qe2 Rc8 14. g4 Nfd7 15. Rd1
Nc4 16. Nd5 Bxd5 17. Rxd5 Ndb6 18. Rd3 Bg5 19. Bxg5 Qxg5 20. Nc1 Nxb2 21. Rxd6
Rfd8 22. Rxb6 Rd1+ 23. Qxd1 Nxd1 24. Bxd1 Qe3+ 25. Kg2 Qxb6 26. Nd3 Qe3 27. Nf2
Rc4 28. h3 Rd4 29. Rb1 Rd2 0-1

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.26"]
[Round "3.1"]
[White "De Paula, Ithan"]
[Black "Riveiro, Ernesto"]
[Result "1-0"]
[ECO "B06"]
[WhiteElo "1569"]
[PlyCount "47"]
[EventDate "2025.07.25"]

1. e4 e6 2. d4 d6 3. Nc3 g6 4. Nf3 Bg7 5. Bf4 Ne7 6. e5 Nf5 7. Bd3 O-O 8. Qd2
Nc6 9. Bxf5 exf5 10. Bh6 Re8 11. O-O-O Re7 12. Bg5 f6 13. exf6 Be6 14. fxe7
Nxe7 15. Rhe1 Qd7 16. d5 Bxc3 17. Qxc3 Nxd5 18. Rxd5 Bxd5 19. Re7 Qxe7 20. Bxe7
Re8 21. Qf6 Bf7 22. Ng5 Rf8 23. Bxf8 Kxf8 24. Qxf7# 1-0

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.27"]
[Round "4.1"]
[White "Riveiro, Ernesto"]
[Black "Gomez Melcon, Dario"]
[Result "0-1"]
[ECO "A00"]
[BlackElo "1694"]
[Annotator "Usuario"]
[PlyCount "0"]
[EventDate "2025.07.25"]

{Las BB pierden por ausencia}  0-1

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.26"]
[Round "3.2"]
[White "Kaciusis, Daniel"]
[Black "Araque, Silvana"]
[Result "1-0"]
[ECO "E61"]
[WhiteElo "1662"]
[BlackElo "1665"]
[PlyCount "111"]
[EventDate "2025.07.25"]

1. d4 Nf6 2. c4 g6 3. Nc3 Bg7 4. Nf3 O-O 5. e3 d6 6. Be2 c5 7. O-O Nc6 8. d5
Nb4 9. a3 Na6 10. Qc2 Bd7 11. Re1 Nc7 12. Rb1 Rb8 13. e4 a6 14. b4 b6 15. Bd3
Ng4 16. Bf4 b5 17. cxb5 cxb4 18. Rxb4 Nxb5 19. Nxb5 Bxb5 20. Reb1 Qd7 21. h3
Nf6 22. Qe2 Bxd3 23. Qxd3 Rxb4 24. Rxb4 Ra8 25. Qb1 Qe8 26. Be3 Nd7 27. Bd4
Bxd4 28. Nxd4 Nc5 29. f3 Kg7 30. Nc6 Kg8 31. Rb6 Kg7 32. Nb4 Kg8 33. Qe1 Qc8
34. Qb1 Qe8 35. Nd3 Qc8 36. Rc6 Qb8 37. Qxb8+ Rxb8 38. Nxc5 dxc5 39. Rxc5 Rb3
40. Ra5 Rb6 41. Kf2 Kf8 42. Ke3 Ke8 43. Kd4 Kd7 44. Kc5 Kc7 45. Ra4 Rd6 46. e5
Rb6 47. Rb4 Rxb4 48. axb4 h6 49. d6+ exd6+ 50. exd6+ Kd7 51. Kb6 Kxd6 52. Kxa6
Kc7 53. b5 Kb8 54. Kb6 f6 55. Kc6 f5 56. Kd6 1-0

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.27"]
[Round "4.3"]
[White "De Paula, Ithan"]
[Black "Kaciusis, Daniel"]
[Result "0-1"]
[ECO "B83"]
[WhiteElo "1569"]
[BlackElo "1662"]
[PlyCount "79"]
[EventDate "2025.07.25"]

1. e4 c5 2. Nf3 Nc6 3. d4 cxd4 4. Nxd4 d6 5. f4 e6 6. Nc3 Nf6 7. Be3 Be7 8. Qd2
a6 9. Be2 Qc7 10. g4 b5 11. g5 Nd7 12. h4 Bb7 13. f5 Nxd4 14. Bxd4 b4 15. fxe6
fxe6 16. Na4 e5 17. Be3 Bxe4 18. Rf1 Qxc2 19. Qxc2 Bxc2 20. Nb6 Nxb6 21. Bxb6
Ba4 22. Rc1 Bd7 23. Bc4 Bd8 24. Bf7+ Ke7 25. Be3 Rf8 26. g6 h6 27. Rc5 Be6 28.
Rxe5 dxe5 29. Bc5+ Kd7 30. Bxe6+ Kxe6 31. Rxf8 Bxh4+ 32. Ke2 Rxf8 33. Bxf8 Bf6
34. Bxb4 Kf5 35. a4 Kxg6 36. Ba5 Kf7 37. b4 Ke7 38. Bb6 Kd6 39. Ke3 Kc6 40. Ke4
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 "Araque, Silvana"]
[Black "Gonzalez Martinez, Fabian"]
[Result "1-0"]
[ECO "B34"]
[WhiteElo "1665"]
[BlackElo "1655"]
[PlyCount "81"]
[EventDate "2025.07.25"]

1. e4 c5 2. Nf3 Nc6 3. d4 cxd4 4. Nxd4 g6 5. Nc3 Bg7 6. Be3 Nf6 7. Be2 O-O 8.
Qd2 a6 9. Nb3 d6 10. Bh6 b5 11. Bxg7 Kxg7 12. f3 Ne5 13. O-O-O Qc7 14. g4 Bb7
15. h4 Rac8 16. h5 Rh8 17. h6+ Kf8 18. Nd4 e6 19. Ndxb5 axb5 20. Nxb5 Qd7 21.
Qxd6+ Qxd6 22. Nxd6 Rb8 23. Nxb7 Rxb7 24. Rd8+ Ne8 25. a4 Ke7 26. Rhd1 Nc6 27.
Rc8 Rc7 28. Ra8 Ra7 29. Rxa7+ Nxa7 30. b4 Nd6 31. Kb2 Rb8 32. Kb3 Nc6 33. b5 e5
34. c3 Kd7 35. Ka3 Na5 36. Kb4 Nc6+ 37. Kc5 Kc7 38. Rxd6 Nd8 39. b6+ Kc8 40.
Ba6+ Nb7+ 41. Kc6 1-0

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.27"]
[Round "5.1"]
[White "Kaciusis, Daniel"]
[Black "Riveiro, Ernesto"]
[Result "1-0"]
[ECO "A40"]
[WhiteElo "1662"]
[Annotator "Usuario"]
[PlyCount "1"]
[EventDate "2025.07.25"]

1. d4 {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.26"]
[Round "3.3"]
[White "Gonzalez Martinez, Fabian"]
[Black "Gomez Melcon, Dario"]
[Result "1/2-1/2"]
[ECO "A17"]
[WhiteElo "1655"]
[BlackElo "1694"]
[PlyCount "57"]
[EventDate "2025.07.25"]

1. c4 Nf6 2. Nc3 e6 3. g3 d5 4. cxd5 exd5 5. e3 Bf5 6. d4 c6 7. Bg2 Nbd7 8.
Nge2 Bb4 9. O-O O-O 10. Qb3 Bxc3 11. Nxc3 Qb6 12. Qxb6 Nxb6 13. b3 Rfe8 14. Ba3
Nbd7 15. Rfe1 Ne4 16. Nxe4 dxe4 17. Rac1 Bg4 18. Bb2 f6 19. h3 Bh5 20. Bf1 Nb6
21. Be2 Bg6 22. Rcd1 f5 23. a4 Bf7 24. Rc1 Bxb3 25. a5 Nd5 26. Ba3 Nf6 27. Rb1
Bd5 28. Rxb7 c5 29. a6 1/2-1/2

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.27"]
[Round "5.2"]
[White "Gonzalez Martinez, Fabian"]
[Black "De Paula, Ithan"]
[Result "1-0"]
[ECO "B33"]
[WhiteElo "1655"]
[BlackElo "1569"]
[PlyCount "91"]
[EventDate "2025.07.25"]

1. e4 c5 2. Nf3 Nc6 3. d4 cxd4 4. Nxd4 e5 5. Nb3 Nf6 6. Nc3 Bb4 7. Bg5 h6 8.
Bxf6 Qxf6 9. Qd2 Nd4 10. a3 Nxb3 11. cxb3 Bc5 12. Rc1 b6 13. Nd5 Qd6 14. b4 O-O
15. bxc5 bxc5 16. Bc4 Bb7 17. O-O Kh8 18. f4 exf4 19. Qxf4 Qxf4 20. Rxf4 Rab8
21. Rcf1 f6 22. e5 Bxd5 23. Bxd5 Rb6 24. Rc4 d6 25. exf6 gxf6 26. b4 cxb4 27.
Rxb4 Ra6 28. a4 Ra5 29. Bb3 Rd8 30. Rxf6 Kg7 31. Re6 d5 32. Rb7+ Kg8 33. Rg6+
Kf8 34. Rxh6 Kg8 35. Rbh7 Rf8 36. Rh8+ Kg7 37. R6h7+ Kg6 38. Bc2+ Rf5 39. Rh6+
Kg5 40. Rh5+ Kf4 41. Rxf5+ Ke3 42. Rh3+ Kd4 43. Rh4+ Ke3 44. Bb3 Rc5 45. Rxd5
Rc1+ 46. Rd1 1-0

[Event "II CERRADOS DE FIN DE SEMANA TREBEJOS 2"]
[Site "Club Trebejos / Calle Andes 1"]
[Date "2025.07.27"]
[Round "5.3"]
[White "Gomez Melcon, Dario"]
[Black "Araque, Silvana"]
[Result "0-1"]
[ECO "E60"]
[WhiteElo "1694"]
[BlackElo "1665"]
[PlyCount "62"]
[EventDate "2025.07.25"]

1. Nf3 Nf6 2. b3 g6 3. Bb2 Bg7 4. c4 d6 5. d4 O-O 6. e3 c5 7. Bd3 Nc6 8. a3 Bd7
9. d5 Nb8 10. Qc2 Na6 11. Nbd2 Nc7 12. O-O b5 13. e4 Rb8 14. Rab1 a6 15. e5 Ng4
16. exd6 exd6 17. Bxg7 Kxg7 18. h3 Nf6 19. Qc3 Kg8 20. Rfe1 b4 21. axb4 Rxb4
22. Nd4 Nfxd5 23. cxd5 Rxd4 24. Bc4 Nxd5 25. Bxd5 Rxd5 26. Nc4 Bb5 27. Ne3 Rd3
28. Qb2 Re8 29. Ng4 Rxe1+ 30. Rxe1 Rd4 31. Re8+ Bxe8 0-1

<!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>