@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
@font-face {
  font-family: "MySiteFont";
  src: url("../fonts/roboto-flex.woff2") format("woff2");
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
}
:root {
  --site-font: 'MySiteFont', sans-serif;
  --size-base: 1.6rem;
  --indent: 20px;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-bold: 700;
  --fw-black: 900;
  --line-h: 1.42857143;
  --bg: rgba(46, 139, 87, 0.1);
  --main: #009c48;
  --main-hover: #71bf43;
  --news-title-color: #0b9444;
  --color1: #58585b;
  --color2: #f5821f;
  --color3: #fdb813;
  --color4: #005825;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--main);
  overflow: visible;
  opacity: 1;
}

h1 {
  font-family: var(--site-font);
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
}

p {
  font-family: var(--site-font);
  font-weight: var(--fw-light);
  text-indent: var(--indent);
  line-height: var(--line-h);
  margin: 0;
}

a {
  transition: 0.5s;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--site-font);
  margin-bottom: 0.5em;
  text-align: center;
  font-weight: 700;
  color: var(--main);
}

h1 {
  font-size: 2.5rem;
  font-weight: 900;
}

h1 {
  font-size: 3.2rem;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.6rem;
}

h5 {
  font-size: 1.3rem;
}

h6 {
  font-size: 1.1rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.button-gafk, .btn-gafk {
  display: inline-flex;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.428;
  border-radius: 4px;
  user-select: none;
  transition: 0.2s;
  text-decoration: none;
}
.button-gafk:hover, .btn-gafk:hover, .button-gafk:focus, .btn-gafk:focus {
  color: #cccfcd;
  text-decoration: none;
}
.button-gafk:active, .btn-gafk:active {
  background-image: none;
  outline: 0;
}

.button-gafk {
  color: #fff;
  background-color: var(--main);
  border-color: var(--main-hover);
  width: auto;
  max-width: 320px;
  font-size: calc(var(--size-base) * 1.5);
  margin: 0 auto;
}

.but-gafk {
  display: block;
  color: #000;
  text-decoration: none;
  padding: 12px;
  transition: 0.2s;
}
.but-gafk:hover {
  color: var(--main);
}
.but-gafk:after {
  content: "";
  display: block;
  border-bottom: 1px solid #000;
  width: 30%;
  margin: 5px auto 0;
}

.block, .period_vid__gazeta .period_block,
.period_vid__zhurnaly .period_block, .nadhodg-kvartal-container .nadhod_block {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  padding: 10px;
}

* {
  margin: 0;
  padding: 0;
}

.wrapper {
  margin: 0 auto;
  background: #ffffff;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
}
.wrapper header .line-name .site-logo {
  padding: 15px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 0fr;
}
.wrapper header .line-name .site-logo h1 {
  font-size: 2em;
}
.wrapper header .line-name .line-slider {
  height: 285px;
}
.wrapper header .line-name .line-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.content p {
  text-indent: 20px;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 0;
}
.content .center {
  text-align: justify;
}
.content .center h2.lib-title {
  color: #000000;
  font-size: 1.5em;
  margin-bottom: 20px;
}
.content .center h2.lib-title:after {
  content: "";
  display: block;
  border-bottom: 2px solid #000;
  width: 40%;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5px;
}
.content .center .kalendar .tab-content img {
  width: 100%;
}
.content .center .dovidka {
  display: grid;
  grid-gap: 15px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.lib-news-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 22px;
}
.lib-news-block article.lib-news {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  background: rgba(109, 118, 135, 0.2);
  transition: 0.5s;
}
.lib-news-block article.lib-news .lib-news-image {
  min-height: 150px;
}
.lib-news-block article.lib-news .lib-news-image img {
  width: 100%;
  /* Ширина изображений */
  height: 100%;
  /* Высота изображении */
  object-fit: cover;
}
.lib-news-block article.lib-news .lib-news-content {
  position: relative;
  margin-left: 10px;
}
.lib-news-block article.lib-news .lib-news-content .lib-news-text {
  display: block;
  margin-bottom: 17px;
  overflow: hidden;
}
.lib-news-block article.lib-news .lib-news-content .lib-news-text .lib-news-title {
  font-size: 1.2em;
  text-align: left;
  margin-bottom: 5px;
}
.lib-news-block article.lib-news .lib-news-content .lib-news-text p {
  height: 146.25px;
  overflow: hidden;
  text-indent: 20px;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 0;
}
.lib-news-block article.lib-news .lib-news-content .lib-news-bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  border: 5px solid green;
  background: green;
  color: #ffffff;
}

.virt_vist {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 15px;
}
.virt_vist .video_vist h3 {
  text-align: center;
}

.nadhodg-kvartal {
  margin-top: 20px;
}
.nadhodg-kvartal h3 {
  display: block;
  background-color: var(--main);
  color: #ffffff;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  margin-top: 10px;
}

.nadhodg-kvartal-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 15px;
}
.nadhodg-kvartal-container .nadhod_block .text-nadhod {
  padding: 10px;
}
.nadhodg-kvartal-container .nadhod_block .text-nadhod p {
  text-indent: 0;
}

.period_vid h3 {
  background-color: var(--main);
  color: #ffffff;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  margin-top: 10px;
}

.period_vid__gazeta,
.period_vid__zhurnaly {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 15px;
}
.period_vid__gazeta .period_block .text-period,
.period_vid__zhurnaly .period_block .text-period {
  padding: 10px;
}
.period_vid__gazeta .period_block .text-period p,
.period_vid__zhurnaly .period_block .text-period p {
  text-indent: 0;
}

.library-pravila h3 {
  background-color: var(--main);
  color: #ffffff;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  margin-top: 10px;
}
.library-pravila h4 {
  font-size: 1.2em;
  font-weight: 700;
}
.library-pravila ul {
  list-style: disc;
  list-style-position: outside;
  padding-left: 20px;
}

.lib-contact {
  display: grid;
  grid-template-columns: 1fr 4fr;
}
.lib-contact img {
  object-fit: cover;
  width: 100%;
  height: auto;
}

footer {
  margin-top: 20px;
  color: #000000;
  background: #eee;
  text-align: center;
  padding: 15px;
  line-height: 1.5;
}/*# sourceMappingURL=library.css.map */