  .visually-hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

html {
  font-family: Arial, sans-serif;
  font-size: 16px; /* Базовий розмір */
}

body {
  font-family: Arial, sans-serif;
  font-size: 16px; /* Базовий розмір шрифту */
}

.w {
  color: #ffffff;
  font-family: Arial, sans-serif;
}

.b {
  color: #3030f0;
  font-family: Arial, sans-serif;
}

.titleblue {
  color: #5985CE;
  font-size: 1rem;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

.titlegrey {
  color: #606060;
  font-size: 1rem;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

span.titleblue_sm {
  font-size: 1rem;
  font-family: Arial, sans-serif;
}

.titlegrey_sm {
  color: #606060;
  font-size: 1rem;
  font-weight: bold;
  font-family: Arial, sans-serif;
  text-decoration: none;
}

.smallgrey {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #808080;
  text-decoration: none;
}

.smallblue {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #2b58a2;
  text-decoration: none;
}


p {
  color: #000000;
  padding-top: 0;
  line-height: normal;
  margin: 0;
  font-family: Arial, sans-serif;
  font-weight: 400;
  max-width: 100%;
  word-wrap: break-word;
  white-space: normal; /* Дозволяє перенесення рядків */
  font-size: 1rem;
  line-height: 1.5;
}

.next {
  color: #606060;
  font-size: 1rem;
  text-indent: 5pt;
  padding-top: 0;
  line-height: normal;
  margin: 0;
  font-weight: bold;
  text-decoration: none;
}

A {
  color: #5985CE;
  padding-top: 0;
  line-height: normal;
  margin: 0;
  text-decoration: none;
  max-width: 100%;
  word-wrap: break-word;
  white-space: normal; /* Дозволяє перенесення рядків */
  font-size: 1rem;
  text-decoration: underline;
  line-height: 1.5;
}


B {
  color: #000000;
  font-family: Arial, sans-serif;
  font-weight: 700;
  padding-top: 0;
  font-weight: bold;
  line-height: normal;
  margin: 0;
  max-width: 100%;
  word-wrap: break-word;
  white-space: normal; /* Дозволяє перенесення рядків */
  font-size: 1rem;
  line-height: 1.5;
}

h1 {
  font-size: 1.13rem;
  text-decoration: none;
  color: #000000;
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

h2 {
  font-size: 1.13rem;
  text-decoration: none;
  color: #000000;
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

h3 {
  font-size: 1.13rem;
  text-decoration: none;
  color: #000000;
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

h4 {
  font-size: 1.13rem;
  text-decoration: none;
  color: #000000;
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

h5 {
  font-size: 1.13rem;
  text-decoration: none;
  color: #000000;
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.5;
}


h6 {
  font-size: 1.13rem;
  text-decoration: none;
  color: #000000;
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

td {
  color: #000000;
  text-indent: 0;
  line-height: normal;
  padding-top: 0;
  margin: 0;
}

.leftimg {
  float: left;
  margin: 7pt 7pt 7pt 0;
}

.rightimg {
  float: right;
  margin: 7pt 0 7pt 7pt;
}

li.news {
  list-style-type: none;
  color: #000000;
}




.row {
  display: flex;
}

.col-md-8 {
  padding-right: 10pt;
}


.download-link {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 100%;
  width: max-content;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 5pt 10pt;
  border: 1pt solid #ccc;
  border-radius: 5pt;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  margin-right: 0pt;
}

.download-link:hover {
  background-color: #ccc;
  text-decoration: underline;
}

.col-md-4 {
  display: flex;
  justify-content: flex-end;
  align-itpts: center;
}

.pagination-buttons {
  display: flex;
  gap: 1%;
  justify-content: center;
}

a:link	{
  color: #3333ff; 
  text-decoration: none; 
  font-family: Arial, sans-serif;
  text-decoration: underline;
}
a:active	{
  color: #0000ff; 
  text-decoration: none;  
  font-family: Arial, sans-serif;
}
a:visited	{
  color: #3333ff; 
  text-decoration: none; 
  font-family: Arial, sans-serif;
}
a:hover	{
  color: #0000ff; 
  text-decoration: none;  
  font-family: Arial, sans-serif;
}



@media (max-width: 768px) {
  html {
    font-size: 14px; /* Зменшити базовий розмір шрифту на планшетах і телефонах */
  }

  body, p, a, b, h1, h2, h3, h4, h5, h6,
  .titleblue, .titlegrey, .titlegrey_sm, .titleblue_sm,
  .smallgrey, .smallblue, .next, .download-link {
    font-size: 0.9rem;
  }

  .row {
    flex-direction: column; /* Розташування блоків одне під одним */
  }

  .col-md-8, .col-md-4 {
    width: 100%;
    padding-right: 0;
    justify-content: center;
    text-align: center;
  }

  .download-link {
    white-space: normal;
    width: 100%;
    display: block;
    text-align: center;
    margin-bottom: 5pt;
  }

  .leftimg, .rightimg {
    float: none;
    display: block;
    margin: 10pt auto;
    max-width: 100%;
    height: auto;
  }

  .pagination-buttons {
    flex-wrap: wrap;
    gap: 10pt;
  }
}
