@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,700&display=swap");

html {
  min-height: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  padding-top: 345px;
  background: #141414 url("media/4_dark_canvas") repeat;
  color: #050505;
  font-family: Ubuntu, Arial, sans-serif;
  font-size: 14px;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: 345px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .12)),
    url("media/29_IMG_3330_1.jpeg") center center / cover no-repeat;
}

body::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 50%;
  z-index: 2;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background:
    url("media/32_logo.png") center center / 86% auto no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, .96) 0 58%, transparent 59%);
  box-shadow: 0 0 38px rgba(255, 255, 255, .92);
  transform: translateX(-50%);
  pointer-events: none;
}

a {
  color: #005e9f;
}

.navbar.navbar-default {
  position: relative;
  z-index: 4;
  min-height: 52px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #f30012;
  box-shadow: none;
}

.navbar .container-fluid {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0;
}

.navbar-brand {
  display: none;
}

.navbar-nav {
  float: none;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.navbar-default .navbar-nav > li > a {
  min-height: 52px;
  padding: 17px 18px 13px;
  border-left: 1px solid rgba(0, 0, 0, .22);
  border-right: 1px solid rgba(255, 255, 255, .16);
  color: #ffffff;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: none;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background: #d90010;
  color: #ffffff;
}

body > h1 {
  display: none;
}

.page-content {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 32px));
  margin: 60px auto 0;
}

.row.shrow {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-right: 0;
  margin-left: 0;
}

.shcol {
  padding-right: 0;
  padding-left: 0;
}

.col-md-9,
.col-sm-8 {
  flex: 1 1 auto;
  width: auto;
}

.col-md-3,
.col-sm-4 {
  flex: 0 0 268px;
  width: 268px;
}

.panel {
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 4px 4px 0 #f30012;
}

.panel-default > .panel-heading {
  position: relative;
  display: inline-block;
  margin: -22px 0 0 -10px;
  padding: 10px 18px 9px;
  border: 0;
  border-radius: 0;
  background: #f30012;
  color: #ffffff;
  transform: skewX(-10deg);
}

.panel-default > .panel-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  transform: skewX(10deg);
}

.panel-body {
  padding: 18px 14px 22px;
}

.widget-article-simple .panel {
  margin-bottom: 44px;
}

.widget-article-preview-list .article_panel {
  margin-bottom: 34px;
}

.widget-article-preview-list .panel-heading h2 {
  max-width: 720px;
  font-size: 24px;
}

.article_panel .panel-body {
  min-height: 170px;
}

.article_panel img.thumbnail,
.article_panel img {
  max-width: 100%;
  border: 4px solid #ffffff;
  border-radius: 0;
  box-shadow: 0 0 0 1px #d5d5d5;
}

.widget-agenda-widget .panel,
.widget-picture-widget .panel {
  margin-bottom: 28px;
}

.widget-agenda-widget .panel-body {
  padding: 18px 14px;
}

.widget-agenda-widget .event {
  padding: 13px 0 16px;
  border-bottom: 1px solid #cfcfcf;
}

.pagination > .active > a,
.pagination > .active > span {
  background-color: #337ab7;
  border-color: #337ab7;
}

.img-widget img,
.widget-picture-widget img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  body {
    padding-top: 230px;
  }

  body::before {
    height: 230px;
  }

  body::after {
    top: 34px;
    width: 150px;
    height: 150px;
  }

  .navbar-nav,
  .row.shrow {
    display: block;
  }

  .navbar .container-fluid,
  .page-content {
    width: min(100% - 24px, 1140px);
  }

  .navbar-default .navbar-nav > li > a {
    min-height: 0;
    padding: 12px 14px;
  }

  .col-md-9,
  .col-sm-8,
  .col-md-3,
  .col-sm-4 {
    width: 100%;
  }
}
