@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");

*,
*:after,
*:before {
  box-sizing: border-box;
}

:root {
  --header-outer-height: 280px;
  --header-inner-height: 280px;
  --header-height-difference: calc(
    var(--header-outer-height) - var(--header-inner-height)
  );
  --header-bg: #fff;
}

body {
  font-family: Tahoma,Verdana,Segoe,sans-serif; /* Шрифт текста */
  background-color: #ffffff;
  line-height: 1.5;
  min-height: 280vh;
  position: relative;
  margin-top: 0px;
}

   a { 
    text-decoration: none; /* Отменяем подчеркивание у ссылки */
   } 

.responsive-wrapper {
  width: 100%;
  max-width: 1520px;
  margin-left: auto;
  margin-right: auto;
}

/* Прилепленный заголовок */
.header-outer {
  /* Сделайте это приклеенным */
  height: var(--header-outer-height);
  position: sticky;
  top: calc(
    var(--header-height-difference) * -1
  ); /* Multiply by -1 to get a negative value */
  display: flex;
  align-items: center;

  /* Other */
  background-color: var(--header-bg);
  box-shadow: 0 2px 10px 0 rgba(0,0,0, 0);
}

/* Внутренний заголовок */
.header-inner {
  /* Make it stick */
  height: var(--header-inner-height);
  position: sticky;
  top: 0;

  /* Other */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Styling of other elements */
.header-logo img {
  display: block;
  height: calc(var(--header-inner-height) - 30px); /* Ширина поля с картинкой */
}

.header-navigation {
  display: flex;
  flex-wrap: wrap;
}

.header-navigation a,
.header-navigation button {
  font-size: 1.125rem;
  color: inherit;
  margin-left: 2rem; /* Растояние меню от картинки */
  position: relative;
  font-weight: 500;
}

/* Менню */
.header-navigation a {
  display: none;
  font-size: 1.125rem;  
  color: inherit;
  text-decoration: none;
}

.header-navigation button {
  border: 0;
  background-color: transparent;
  padding: 0;
}

.header-navigation a:hover:after,
.header-navigation button:hover:after {
  transform: scalex(1);
}

.header-navigation a:after,
.header-navigation button:after {
  transition: 0.25s ease;
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentcolor;
  transform: scalex(0);
  position: absolute;
  bottom: -2px;
  left: 0;
}

/* Растояние между верним заголовком и основным текстом */
.main {
  margin-top: 1rem;
}

.widget_blue {
  width: 100%; /* Ширина текстовой части */
  max-width: 1520px;
  border-radius: 8px;
  box-shadow: 0 2px 2px 0 rgba(0,0,0, 0.1);
  background-color: #e7e8e8;
  padding: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.widget_green {
  width: 100%; /* Ширина текстовой части */
  max-width: 1520px;
  border-radius: 8px;
  box-shadow: 0 2px 2px 0px rgba(0,0,0, 0);
  background-color: #ffffff;
  padding: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.widget > * + * {
  margin-top: 0.25em;
}

.widget h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

.widget code {
  display: inline-block;
  padding: 0.125em 0.25em;
  border-radius: 2px;
  background-color: #bee5d3;
}

.widget strong {
  font-weight: 700;
}

.anchor {
margin-top: -300px;
display: inline-block;
position: relative;
height: 1px;
width: 1px;
}

.anchor1 {
margin-top: -600px;
display: inline-block;
position: relative;
height: 1px;
width: 1px;
}

table.pagetop {
	font-size: 15px;
	font-weight: bold;
	border: 0px;
	width: 1520px;
	height: 400;
}

table.pagetop tr#row2  {
	border-width: 0px;
	font-size: 16px;
	color: #ffffff;
	
}
table.pagetop td {
	border: 0px;
	padding: 1px;
	text-align: center;
	width: 120px;
}


@media (max-width: 1200px) {
  .header-navigation a {
    display: inline-block;
  }

  .header-navigation button {
    display: none;
  }

}

