@charset "UTF-8";
/*--------------------------------------------------------------
# fonts
--------------------------------------------------------------*/
@import url(../font/icon/style.css);
@font-face {
  font-family: 'TT Norms Pro';
  src: url("/wp-content/themes/church/font/TTNormsPro-Bold.eot");
  src: local("TT Norms Pro Bold"), local("TTNormsPro-Bold"), url("/wp-content/themes/church/font/TTNormsPro-Bold.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/church/font/TTNormsPro-Bold.woff2") format("woff2"), url("/wp-content/themes/church/font/TTNormsPro-Bold.woff") format("woff"), url("/wp-content/themes/church/font/TTNormsPro-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'TT Norms Pro';
  src: url("/wp-content/themes/church/font/TTNormsPro-ExtraBold.eot");
  src: local("TT Norms Pro ExtraBold"), local("TTNormsPro-ExtraBold"), url("/wp-content/themes/church/font/TTNormsPro-ExtraBold.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/church/font/TTNormsPro-ExtraBold.woff2") format("woff2"), url("/wp-content/themes/church/font/TTNormsPro-ExtraBold.woff") format("woff"), url("/wp-content/themes/church/font/TTNormsPro-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'TT Norms Pro';
  src: url("/wp-content/themes/church/font/TTNormsPro-Regular.eot");
  src: local("TT Norms Pro Regular"), local("TTNormsPro-Regular"), url("/wp-content/themes/church/font/TTNormsPro-Regular.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/church/font/TTNormsPro-Regular.woff2") format("woff2"), url("/wp-content/themes/church/font/TTNormsPro-Regular.woff") format("woff"), url("/wp-content/themes/church/font/TTNormsPro-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TT Norms Pro';
  src: url("/wp-content/themes/church/font/TTNormsPro-Light.eot");
  src: local("TT Norms Pro Light"), local("TTNormsPro-Light"), url("/wp-content/themes/church/font/TTNormsPro-Light.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/church/font/TTNormsPro-Light.woff2") format("woff2"), url("/wp-content/themes/church/font/TTNormsPro-Light.woff") format("woff"), url("/wp-content/themes/church/font/TTNormsPro-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'TT Norms Pro';
  src: url("/wp-content/themes/church/font/TTNormsPro-Medium.eot");
  src: local("TT Norms Pro Medium"), local("TTNormsPro-Medium"), url("/wp-content/themes/church/font/TTNormsPro-Medium.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/church/font/TTNormsPro-Medium.woff2") format("woff2"), url("/wp-content/themes/church/font/TTNormsPro-Medium.woff") format("woff"), url("/wp-content/themes/church/font/TTNormsPro-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'TT Norms Pro';
  src: url("/wp-content/themes/church/font/TTNormsPro-BoldItalic.eot");
  src: local("TT Norms Pro Bold Italic"), local("TTNormsPro-BoldItalic"), url("/wp-content/themes/church/font/TTNormsPro-BoldItalic.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/church/font/TTNormsPro-BoldItalic.woff2") format("woff2"), url("/wp-content/themes/church/font/TTNormsPro-BoldItalic.woff") format("woff"), url("/wp-content/themes/church/font/TTNormsPro-BoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'TT Norms Pro';
  src: url("/wp-content/themes/church/font/TTNormsPro-Black.eot");
  src: local("TT Norms Pro Black"), local("TTNormsPro-Black"), url("/wp-content/themes/church/font/TTNormsPro-Black.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/church/font/TTNormsPro-Black.woff2") format("woff2"), url("/wp-content/themes/church/font/TTNormsPro-Black.woff") format("woff"), url("/wp-content/themes/church/font/TTNormsPro-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'TT Norms Pro';
  src: url("/wp-content/themes/church/font/TTNormsPro-Italic.eot");
  src: local("TT Norms Pro Italic"), local("TTNormsPro-Italic"), url("/wp-content/themes/church/font/TTNormsPro-Italic.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/church/font/TTNormsPro-Italic.woff2") format("woff2"), url("/wp-content/themes/church/font/TTNormsPro-Italic.woff") format("woff"), url("/wp-content/themes/church/font/TTNormsPro-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Muller';
  src: url("/wp-content/themes/church/font/MullerMedium.eot");
  src: local("Muller Medium"), local("MullerMedium"), url("/wp-content/themes/church/font/MullerMedium.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/church/font/MullerMedium.woff2") format("woff2"), url("/wp-content/themes/church/font/MullerMedium.woff") format("woff"), url("/wp-content/themes/church/font/MullerMedium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Muller';
  src: url("/wp-content/themes/church/font/MullerRegular.eot");
  src: local("Muller Regular"), local("MullerRegular"), url("/wp-content/themes/church/font/MullerRegular.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/church/font/MullerRegular.woff2") format("woff2"), url("/wp-content/themes/church/font/MullerRegular.woff") format("woff"), url("/wp-content/themes/church/font/MullerRegular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Muller';
  src: url("/wp-content/themes/church/font/MullerBold.eot");
  src: local("Muller Bold"), local("MullerBold"), url("/wp-content/themes/church/font/MullerBold.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/church/font/MullerBold.woff2") format("woff2"), url("/wp-content/themes/church/font/MullerBold.woff") format("woff"), url("/wp-content/themes/church/font/MullerBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Black Diamond';
  src: url("/wp-content/themes/church/font/BlackDiamond.eot");
  src: local("Black Diamond"), local("BlackDiamond"), url("/wp-content/themes/church/font/BlackDiamond.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/church/font/BlackDiamond.woff2") format("woff2"), url("/wp-content/themes/church/font/BlackDiamond.woff") format("woff"), url("/wp-content/themes/church/font/BlackDiamond.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*::after, *::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  position: relative;
  font-size: 18px;
  line-height: 150%;
  color: #1F1C1C;
  font-family: 'TT Norms Pro';
  font-style: normal;
  font-weight: normal;
  padding: 0;
  margin: 0;
}

.site {
  overflow: hidden;
}

.container {
  position: relative;
  width: 100%;
  max-width: 1610px;
  margin: 0 auto;
  padding: 0 15px;
}

h1 {
  font-style: normal;
  font-weight: 800;
  font-size: 100px;
  line-height: 100%;
}

h2 {
  font-style: normal;
  font-weight: bold;
  font-size: 50px;
  line-height: 120%;
}

img {
  max-width: 100%;
}

/* Скрывает ненужные блоки */
.visually-hidden:not(:focus):not(:active) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.section-bg {
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: calc(-1 * (100vw / 2));
  z-index: -1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section {
  position: relative;
  margin-top: 100px;
}

.section:first-of-type {
  margin-top: 0;
}

.site {
  padding-top: 147px;
}

.breadcrumbs_block {
  margin: 34px 0;
}

.breadcrumbs_block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.breadcrumbs_block li {
  margin-right: 16px;
  position: relative;
}

.breadcrumbs_block li::before {
  content: '/';
  position: absolute;
  right: -12px;
  top: 4px;
  font-family: "Muller";
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 20px;
  color: #C4C4C4;
}

.breadcrumbs_block li:last-of-type {
  margin-right: 0;
}

.breadcrumbs_block li:last-of-type::before {
  display: none;
}

.breadcrumbs_block a {
  font-family: "Muller";
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
  font-size: 20px;
  line-height: 20px;
  color: #C4C4C4;
}

.breadcrumbs_block a:hover {
  color: #FFBB00;
}

.breadcrumbs_block span {
  font-family: "Muller";
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 20px;
  color: #C4C4C4;
}

.pagination_block {
  margin: 46px 0;
}

.pagination_block .next,
.pagination_block .prev {
  min-width: 20px;
  min-height: 20px;
  border-radius: 5px;
  -ms-flex-item-align: center;
  align-self: center;
  padding-top: 0;
}

.pagination_block .next {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: 20px;
}

.pagination_block .next img {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  -ms-flex-item-align: center;
  align-self: center;
}

.pagination_block .prev {
  margin-right: 20px;
}

.pagination_block nav {
  width: 100%;
  max-width: 210px;
  margin: 0 auto;
}

.pagination_block .nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.pagination_block a,
.pagination_block span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 20px;
  height: 20px;
  font-family: "Muller";
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  color: #000000;
  text-decoration: none;
  margin: 0 5px;
  padding-top: 2px;
}

.pagination_block a:hover, .pagination_block a:active,
.pagination_block span:hover,
.pagination_block span:active {
  color: #FFBB00;
}

.show-more .more {
  display: block;
  border: none;
  margin: 0 auto;
  background: none;
  font-family: "Muller";
  font-style: normal;
  font-weight: normal;
  font-size: 10px;
  line-height: 120%;
  text-align: center;
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
  color: #FFBB00;
}

@media screen and (max-width: 1640px) {
  .container {
    position: relative;
    width: 100%;
    max-width: 1418px;
    margin: 0 auto;
    padding: 0 15px;
  }
  .site {
    padding-top: 130px;
  }
}

@media screen and (max-width: 1500px) {
  .container {
    position: relative;
    width: 100%;
    max-width: 1318px;
    margin: 0 auto;
    padding: 0 15px;
  }
  h1 {
    font-size: 50px;
    line-height: 100%;
  }
  h2 {
    font-size: 40px;
    line-height: 120%;
  }
  .site {
    padding-top: 120px;
  }
}

@media screen and (max-width: 1368px) {
  .container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  .breadcrumbs_block {
    margin: 24px 0 27px;
  }
  .breadcrumbs_block ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .breadcrumbs_block li {
    margin-right: 12px;
    font-size: 15px;
    line-height: 100%;
    position: relative;
  }
  .breadcrumbs_block li::before {
    content: '/';
    position: absolute;
    right: -10px;
    top: 3px;
    font-family: "Muller";
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 15px;
    color: #C4C4C4;
  }
  .breadcrumbs_block li:last-of-type {
    margin-right: 0;
  }
  .breadcrumbs_block li:last-of-type::before {
    display: none;
  }
  .breadcrumbs_block a {
    font-size: 15px;
    line-height: 15px;
  }
  .breadcrumbs_block span {
    font-size: 15px;
    line-height: 15px;
  }
}

@media screen and (max-width: 1200px) {
  .container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
  }
  .site {
    padding-top: 114px;
  }
}

@media screen and (max-width: 1024px) {
  .container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
  }
}

@media screen and (max-width: 768px) {
  .site {
    padding-top: 73px;
  }
}

@media screen and (max-width: 586px) {
  .site {
    padding-top: 61px;
  }
  .section {
    position: relative;
    margin-top: 50px;
  }
  h1 {
    font-size: 25px;
    line-height: 100%;
  }
  h2 {
    font-size: 25px;
    line-height: 120%;
  }
  .breadcrumbs_block {
    margin: 17px 0;
  }
  .breadcrumbs_block ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .breadcrumbs_block li {
    margin-right: 8px;
    font-size: 10px;
    line-height: 100%;
    position: relative;
  }
  .breadcrumbs_block li::before {
    content: '/';
    position: absolute;
    right: -6px;
    top: auto;
    font-family: "Muller";
    font-style: normal;
    font-weight: normal;
    font-size: 10px;
    line-height: 10px;
    color: #C4C4C4;
  }
  .breadcrumbs_block li:last-of-type {
    margin-right: 0;
  }
  .breadcrumbs_block li:last-of-type::before {
    display: none;
  }
  .breadcrumbs_block a {
    font-size: 10px;
    line-height: 10px;
  }
  .breadcrumbs_block span {
    font-size: 10px;
    line-height: 10px;
  }
}

.lds-dual-ring {
  position: relative;
  background: #f6f6f6;
}

.lds-dual-ring:after {
  position: absolute;
  z-index: 100;
  content: " ";
  top: 0;
  left: 50%;
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  margin-left: -32px;
  border-radius: 50%;
  border: 6px solid #fb0;
  border-color: #fb0 transparent #fb0 transparent;
  -webkit-animation: lds-dual-ring 1.2s linear infinite;
  animation: lds-dual-ring 1.2s linear infinite;
}

.home_groups.lds-dual-ring{
  background: #fff;
  min-height: 600px;
}

.home_groups.lds-dual-ring .group_inner{
  opacity: 0;
}

.lds-dual-ring .article {
  opacity: 0;
}

@-webkit-keyframes lds-dual-ring {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes lds-dual-ring {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# header
--------------------------------------------------------------*/
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

header.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

header.side_header {
  max-height: 48px;
  overflow: hidden;
}

header ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

header .burger_button {
  -ms-flex-item-align: center;
  align-self: center;
  width: 17px;
  height: 12px;
  cursor: pointer;
}

header .burger_button .line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 5px;
  background-color: #C4C4C4;
  margin-bottom: 3px;
  margin-left: auto;
}

header .burger_button .line:first-of-type {
  max-width: 8.5px;
}

header .burger_button .line:last-of-type {
  margin-bottom: 0;
  max-width: 12px;
}

header .lang_block {
  position: relative;
  -ms-flex-item-align: center;
  align-self: center;
  min-width: 42px;
  min-height: 27px;
}

header .lang_block a {
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #C4C4C4;
  text-decoration: none;
}

header .lang_block a:hover {
  color: #FFBB00;
}

header .lang_block ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-item-align: center;
  align-self: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 42px;
  z-index: 2;
}

header .lang_block ul:hover {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #1F1C1C;
  border-radius: 5px;
}

header .lang_block ul:hover li.current-lang {
  display: block;
}

header .lang_block ul.active {
  background-color: #FFBB00;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 5px;
}

header .lang_block ul.active li {
  display: block;
}

header .lang_block ul.active a:hover {
  color: #fff;
}

header .lang_block li {
  position: relative;
  display: none;
  margin-right: 0;
  line-height: normal;
  padding: 0 8px;
}

header .lang_block li.current-lang {
  position: relative;
  display: block;
}

header .lang_block li.current-lang::after {
  position: absolute;
  content: '';
  width: 6px;
  height: 3.5px;
  right: 3px;
  top: 10px;
  background-image: url("/wp-content/themes/church/img/arrow_lang.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

header .lang_block li:last-of-type {
  padding: 0 8px 5px;
}

header .location_menu {
  width: 100%;
  max-width: 165px;
  position: relative;
  -ms-flex-item-align: center;
  align-self: center;
}

header .location_menu a {
  position: relative;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  display: block;
  -ms-flex-item-align: center;
  align-self: center;
  text-align: right;
  text-transform: uppercase;
  color: #C4C4C4;
  text-decoration: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

header .location_menu a::before {
  position: absolute;
  content: '';
  width: 15px;
  height: 17px;
  left: 0;
  top: 0;
  background-image: url("/wp-content/themes/church/img/location_icon.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

header .location_menu a:hover {
  font-weight: bold;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

header .btn_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: center;
  align-self: center;
}

header .right_block {
  width: 100%;
  max-width: 270px;
  -ms-flex-item-align: center;
  align-self: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.top_header {
  position: relative;
  width: 100%;
  min-height: 48px;
  width: 100%;
  background-color: #1F1C1C;
}

.top_header .header_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  min-height: 48px;
}

.top_header .main_menu {
  -ms-flex-item-align: center;
  align-self: center;
  width: 100%;
  max-width: 713px;
}

.top_header .main_menu a {
  -ms-flex-item-align: center;
  align-self: center;
  text-align: center;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 17px;
  text-transform: uppercase;
  color: #C4C4C4;
  text-decoration: none;
}

.top_header .main_menu a:hover, .top_header .main_menu a:active {
  font-weight: 700;
}

.top_header .main_menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.top_header .main_menu li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: center;
  align-self: center;
  margin-right: 5px;
}

.top_header .main_menu li:last-of-type {
  margin-right: 0;
}

.bottom_header {
  position: relative;
  width: 100%;
  min-height: 100px;
  width: 100%;
  background-color: #FFBB00;
}

.bottom_header .header_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  min-height: 100px;
}

.bottom_header .logo_block {
  -ms-flex-item-align: center;
  align-self: center;
}

.bottom_header .logo_block img {
  -ms-flex-item-align: center;
  align-self: center;
  width: 69px;
  height: 73.81px;
}

.bottom_header .logo_block a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
}

.bottom_header .logo_block .logo_title {
  font-style: normal;
  font-weight: 300;
  font-size: 40px;
  line-height: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-transform: uppercase;
  margin: 0 0 0 15px;
  color: #FFFFFF;
}

.bottom_header .bottom_menu {
  -ms-flex-item-align: center;
  align-self: center;
  width: 100%;
  max-width: 1030px;
}

.bottom_header .bottom_menu a {
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 24px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
}

.bottom_header .bottom_menu a:hover, .bottom_header .bottom_menu a:active {
  font-weight: 700;
}

.bottom_header .bottom_menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  width: 100%;
}

.bottom_header .bottom_menu li {
  margin-right: 15px;
}

.bottom_header .bottom_menu li:last-of-type {
  margin-right: 0;
}

.bottom_header .bottom_menu li.current a {
  font-weight: 700;
}

.bottom_header .right_block {
  display: none;
}

.bottom_header.local_header .logo_block img {
  width: 42px;
  height: 44.93px;
}

.bottom_header.local_header .bottom_menu {
  width: 100%;
  max-width: 1100px;
}

.bottom_header.local_header .bottom_menu a {
  font-size: 16px;
  line-height: 19px;
}

.bottom_header.local_header .bottom_menu li.online {
  margin-right: 0;
  margin-left: 10px;
  width: -webkit-max-content !important;
  width: -moz-max-content !important;
  width: max-content !important;
}

.bottom_header.local_header .bottom_menu li.online a {
  font-weight: bold;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  padding: 9px 18px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  margin-right: 0;
}

.fixed-header .bottom_header {
  -webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1640px) {
  header .lang_block {
    position: relative;
    -ms-flex-item-align: center;
    align-self: center;
    min-width: 32px;
    min-height: 27px;
    height: auto;
  }
  header .lang_block a {
    font-size: 12px;
    line-height: 17px;
  }
  header .lang_block li.current-lang::after {
    position: absolute;
    content: '';
    width: 10px;
    height: 5px;
  }
  header .location_menu {
    width: 100%;
    max-width: 153px;
  }
  header .location_menu a {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin-left: auto;
    font-size: 12px;
    line-height: 17px;
  }
  header .location_menu a::before {
    left: -20px;
  }
  header .right_block {
    max-width: 240px;
  }
  header.side_header {
    max-height: 40px;
    overflow: hidden;
  }
  .top_header {
    min-height: 40px;
  }
  .top_header .header_block {
    min-height: 40px;
  }
  .top_header .main_menu a {
    font-size: 12px;
  }
  .bottom_header {
    min-height: 90px;
  }
  .bottom_header .header_block {
    min-height: 90px;
  }
  .bottom_header .logo_block {
    -ms-flex-item-align: center;
    align-self: center;
  }
  .bottom_header .logo_block img {
    width: 59px;
    height: 63.81px;
  }
  .bottom_header .bottom_menu a {
    font-size: 16px;
    line-height: 20px;
  }
  .bottom_header .bottom_menu ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    width: 100%;
  }
  .bottom_header .bottom_menu li {
    margin-right: 15px;
  }
  .bottom_header .bottom_menu li:last-of-type {
    margin-right: 0;
  }
}

@media screen and (max-width: 1500px) {
  header .bottom_header {
    min-height: 80px;
  }
  header .bottom_header .header_block {
    min-height: 80px;
  }
  header .bottom_header .logo_block {
    -ms-flex-item-align: center;
    align-self: center;
  }
  header .bottom_header .logo_block img {
    width: 59px;
    height: 63.81px;
  }
  header .bottom_header .logo_block .logo_title {
    font-size: 30px;
    line-height: 38px;
  }
  header .bottom_header .bottom_menu a {
    font-size: 14px;
    line-height: 17px;
  }
  header .bottom_header .bottom_menu ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    width: 100%;
  }
  header .bottom_header .bottom_menu li {
    margin-right: 10px;
  }
  header .bottom_header .bottom_menu li:last-of-type {
    margin-right: 0;
  }
  header .bottom_header.local_header .bottom_menu a {
    font-size: 14px;
    line-height: 17px;
  }
  header .bottom_header.local_header .bottom_menu ul {
    width: 100%;
  }
}

@media screen and (max-width: 1368px) {
  header .bottom_header .logo_block .logo_title {
    font-size: 18px;
    line-height: 22px;
  }
  header .bottom_header.local_header .bottom_menu {
    max-width: 900px;
    margin-right: -10px;
  }
  header .bottom_header.local_header .bottom_menu ul {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  header .bottom_header.local_header .bottom_menu li {
    margin-right: 0;
    margin-left: 10px;
  }
  header .bottom_header.local_header .bottom_menu li a {
    margin-left: auto;
  }
  header .bottom_header.local_header .bottom_menu li.online {
    margin-right: 0;
    width: initial !important;
  }
  header .bottom_header.local_header .bottom_menu li.online a {
    font-weight: normal;
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-right: 0;
  }
  header .bottom_header.local_header .bottom_menu li.online a:hover {
    font-weight: 500;
  }
}

@media screen and (max-width: 1200px) {
  .location_menu {
    width: 100%;
    max-width: 170px;
  }
  header .bottom_header {
    min-height: 74px;
  }
  header .bottom_header .header_block {
    min-height: 74px;
  }
  header .bottom_header .logo_block img {
    width: 52px;
    height: 55.63px;
  }
  header .bottom_header .bottom_menu {
    min-width: auto;
    width: 100%;
    max-width: 662px;
  }
  header .bottom_header .bottom_menu a {
    font-size: 12px;
    line-height: 15px;
  }
  header .bottom_header .bottom_menu ul {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  header .bottom_header.local_header .bottom_menu {
    max-width: 700px;
    margin-right: 0;
  }
  header .bottom_header.local_header .bottom_menu li.online {
    margin-right: 0;
  }
}

@media screen and (max-width: 768px) {
  .top_header {
    display: none;
  }
  header.fixed-header {
    position: fixed;
    top: 0;
    height: 0;
    left: 0;
    width: 100%;
    z-index: 10;
  }
  .bottom_header .bottom_menu {
    display: none;
  }
  .bottom_header .right_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 110px;
  }
  header .lang_block a {
    color: #1F1C1C;
  }
  header .lang_block a:hover, header .lang_block a:active {
    color: #1F1C1C;
  }
  header .lang_block li.current-lang::after {
    background-image: url("/wp-content/themes/church/img/arrow_lang_black.svg");
  }
  header .lang_block ul:hover {
    background-color: #FFBB00;
  }
  header .location_menu {
    max-width: 20px;
  }
  header .location_menu a::before {
    display: none;
  }
  header .burger_button .line {
    background-color: #1F1C1C;
  }
  header .location_button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  header .location_button img {
    -ms-flex-item-align: center;
    align-self: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

@media screen and (max-width: 586px) {
  header .bottom_header {
    min-height: 62px;
  }
  header .bottom_header .header_block {
    min-height: 62px;
  }
  header .bottom_header .logo_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  header .bottom_header .logo_block a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  header .bottom_header .logo_block img {
    -ms-flex-item-align: center;
    align-self: center;
    width: 28.04px;
    height: 30px;
  }
  header .bottom_header .logo_block .logo_title {
    font-size: 25px;
    line-height: 30px;
  }
}

/*--------------------------------------------------------------
# Menu Panel
--------------------------------------------------------------*/
.menu_box-panel {
  position: fixed;
  top: 48px;
  left: 0;
  display: block;
  z-index: 10;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-transition: .2s ease-out;
  transition: .2s ease-out;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  padding-left: 0;
}

.admin-bar .menu_box-panel {
  top: 32px;
}

.menu_box-panel.active {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

.menu-panel-overlay {
  overflow: hidden;
}

.menu_box-inner {
  min-height: 100%;
  overflow: hidden;
  background: rgba(31, 28, 28, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.menu_box-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 40px 40px 20px;
}

.menu_box-header .menu_boxlogo {
  display: none;
}

.menu_box-header .menu_boxlogo img {
  width: 48px;
  height: 51.35px;
}

.menu_box-close-btn {
  line-height: 0;
  margin-left: auto;
}

.menu_box-close-btn button {
  width: 48px;
  height: 48px;
  background-color: transparent;
  padding: 0;
  border: 0;
  position: relative;
  cursor: pointer;
}

.menu_box-close-btn button span {
  position: absolute;
  width: 48px;
  height: 2px;
  background-color: #9C9B9B;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transition: .2s ease-out;
  transition: .2s ease-out;
}

.menu_box-close-btn button:hover span {
  background-color: #FFBB00;
}

.menu_box-close-btn button span:first-child {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu_box-close-btn button span:last-child {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu_box_main {
  width: 100%;
  max-width: 1170px;
  margin: 10px auto 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.menu_box_main .left_block {
  width: 100%;
  max-width: 450px;
}

.menu_box_main .right_block {
  width: 100%;
  max-width: 450px;
}

.menu_box_main ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu_box_main a {
  font-style: normal;
  font-weight: 800;
  font-size: 40px;
  line-height: 170%;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
}

.menu_box_main a:hover {
  color: #FFBB00;
}

.separator {
  position: relative;
  width: 100%;
  max-width: 1170px;
  margin: 13px auto;
}

.separator .line {
  position: absolute;
  content: '';
  width: 100vw;
  height: 1px;
  left: 0;
  top: 0;
  background: #C4C4C4;
}

.separator_loc {
  display: none;
  width: 100%;
  max-width: 250px;
  position: absolute;
  top: -35px;
  left: 0;
  -ms-flex-item-align: center;
  align-self: center;
}

.separator_loc a {
  position: relative;
  font-style: normal;
  font-weight: 800;
  font-size: 20px;
  line-height: 156%;
  display: block;
  -ms-flex-item-align: center;
  align-self: center;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  padding-left: 20px;
}

.separator_loc a::before {
  position: absolute;
  content: '';
  width: 15px;
  height: 17px;
  left: 0;
  top: 6px;
  background-image: url("/wp-content/themes/church/img/mainpage/loc_icon_yellow.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.separator_loc a:hover {
  font-weight: bold;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.menu_box_bottom {
  width: 100%;
  max-width: 1170px;
  margin: 13px auto;
}

.menu_box_bottom span {
  display: block;
  font-style: normal;
  font-weight: 800;
  font-size: 40px;
  line-height: 200%;
  text-transform: uppercase;
  color: #FFBB00;
}

.menu_box_bottom .social_block a {
  margin-right: 19px;
  text-decoration: none;
}

.menu_box_bottom .social_block a:last-of-type {
  margin-right: 0;
}

/*--------------------------------------------------------------
# menu_box Panel @media
--------------------------------------------------------------*/
@media screen and (max-width: 1640px) {
  .menu_box-panel {
    height: auto;
    top: 40px;
    min-height: 768px;
  }
  .menu_box-inner {
    min-height: 100vh;
  }
  .menu_box_main a {
    font-size: 32px;
    line-height: 170%;
  }
  .menu_box_bottom span {
    font-size: 32px;
    line-height: 200%;
  }
}

@media screen and (max-width: 1500px) {
  .menu_box_main a {
    font-size: 28px;
    line-height: 170%;
  }
  .menu_box_bottom span {
    font-size: 28px;
    line-height: 200%;
  }
}

@media screen and (max-width: 1200px) {
  .menu_box-header {
    padding: 40px 0 20px;
  }
  .menu_box_main a {
    font-size: 30px;
    line-height: 170%;
  }
  .menu_box_main .right_block {
    width: 100%;
    max-width: 260px;
  }
  .menu_box-panel {
    height: 100vh;
  }
  .menu_box-inner {
    min-height: 100%;
  }
  .menu_box_bottom span {
    font-size: 30px;
    line-height: 200%;
  }
  .menu_box_bottom a img {
    width: 42px;
  }
}

@media screen and (max-width: 768px) {
  .menu_box-panel {
    top: 0;
    height: auto;
    min-height: auto;
  }
  .menu_box-inner {
    overflow: scroll;
    min-height: auto;
    height: 100vh;
  }
  .menu_box-header {
    padding: 36px 0 20px;
  }
  .menu_box-header .menu_boxlogo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-item-align: center;
    align-self: center;
  }
  .menu_box-header .menu_boxlogo img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-item-align: center;
    align-self: center;
  }
  .menu_box-close-btn {
    -ms-flex-item-align: center;
    align-self: center;
  }
  .menu_box_main {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 20px auto 100px;
  }
  .menu_box_main .left_block {
    position: relative;
    max-width: 250px;
    margin-bottom: 15px;
  }
  .menu_box_main .left_block::before {
    position: absolute;
    content: '';
    width: 300px;
    height: 1px;
    left: -15px;
    bottom: -15px;
    background: #C4C4C4;
  }
  .menu_box_main .right_block {
    max-width: 250px;
    -ms-flex-item-align: start;
    align-self: start;
    margin-top: 15px;
  }
  .menu_box_main a {
    font-size: 20px;
  }
  .separator .separator_loc {
    display: block;
  }
  .separator .line {
    width: 300px;
    height: 1px;
    left: -15px;
  }
  .menu_box_bottom {
    margin: 13px auto 30px;
  }
  .menu_box_bottom span {
    font-size: 20px;
    line-height: 200%;
  }
  .menu_box_bottom .social_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  .menu_box_bottom .social_block a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    height: 100%;
    margin-right: 10px;
  }
  .menu_box_bottom .social_block img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-item-align: center;
    align-self: center;
    width: 29px;
  }
}

/*--------------------------------------------------------------
# Side Panel
--------------------------------------------------------------*/
.side-panel {
  position: fixed;
  top: 48px;
  right: 0;
  display: block;
  z-index: 10;
  width: 584px;
  height: 100%;
  overflow: auto;
  -webkit-transition: .2s ease-out;
  transition: .2s ease-out;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  padding-left: 0;
}

.admin-bar .side-panel {
  top: 32px;
}

.side-panel.active {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

.side-panel.service {
  top: 0 !important;
}

.side-panel::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  background-image: url("/wp-content/themes/church/img/side_decor.svg");
  background-repeat: no-repeat;
  background-size: contain;
  width: 167px;
  height: 268px;
  z-index: 3;
}

.side-inner {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #1F1C1C;
}

.side-panel-overlay {
  overflow: hidden;
}

.side-panel-overlay.service::after {
  top: 0 !important;
}

.side-panel-overlay:after {
  content: "";
  position: fixed;
  top: 48px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 28, 28, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 2;
}

.side-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 20px 40px;
}

.side-header .sidelogo {
  display: none;
}

.side-header .sidelogo img {
  width: 48px;
  height: 51.35px;
}

.side-close-btn {
  line-height: 0;
  margin-left: auto;
}

.side-close-btn button {
  width: 48px;
  height: 48px;
  background-color: transparent;
  padding: 0;
  border: 0;
  position: relative;
}

.side-close-btn button span {
  position: absolute;
  width: 48px;
  height: 2px;
  background-color: #9C9B9B;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transition: .2s ease-out;
  transition: .2s ease-out;
}

.side-close-btn button:hover span {
  background-color: #ffb100;
}

.side-close-btn button span:first-child {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
}

.side-close-btn button span:last-child {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.side_container {
  position: relative;
  width: 100%;
  max-width: 325px;
  margin: 0 auto;
  z-index: 4;
}

.side_container .line {
  left: 100px;
}

.header_text {
  position: relative;
  margin-bottom: 58px;
}

.header_text p {
  margin: 0;
  font-style: normal;
  font-weight: 800;
  font-size: 40px;
  line-height: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-transform: uppercase;
  color: #FFBB00;
}

.location_menu_block {
  padding-top: 38px;
}

.location_menu_block h3 a,
.location_menu_block li.menu-item-has-children a {
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 150%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: rgba(196, 196, 196, 0.5);
  text-decoration: none;
}

.location_menu_block h3 a:hover,
.location_menu_block li.menu-item-has-children a:hover {
  font-weight: bold;
  color: #FFBB00;
}

.location_menu_block ul.sub-menu li a {
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 150%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #C4C4C4;
  text-decoration: none;
}

.location_menu_block ul.sub-menu li a:hover {
  font-weight: bold;
  color: #FFBB00;
}

.location_menu_block li {
  margin-left: 30px;
  margin-bottom: 10px;
}

.location_menu_block li:last-of-type {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Side Panel @media
--------------------------------------------------------------*/
@media screen and (max-width: 1640px) {
  .side-panel {
    top: 40px;
  }
  .side-panel-overlay:after {
    top: 40px;
  }
}

@media screen and (max-width: 1500px) {
  .side-panel {
    width: 421px;
  }
  .side-panel::after {
    width: 127px;
    height: 228px;
  }
  .header_text p {
    font-size: 30px;
    line-height: 35px;
  }
  .side_container {
    max-width: 285px;
  }
  .side_container .line {
    left: 50px;
  }
  .location_menu_block h3 a,
  .location_menu_block li.menu-item-has-children a {
    font-size: 15px;
  }
  .location_menu_block ul.sub-menu li a {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .side-panel {
    top: 0;
    height: auto;
    min-height: auto;
  }
  .side-panel::after {
    background-image: url("/wp-content/themes/church/img/side_decor_white.svg");
    top: 110px;
  }
  .side-inner {
    min-height: auto;
    height: 100vh;
    background-color: #FFBB00;
  }
  .side-panel .white_bg {
    padding: 0 15px;
  }
  .side-header {
    padding: 36px 0 20px;
    margin-bottom: 50px;
  }
  .side-header .sidelogo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-item-align: center;
    align-self: center;
  }
  .side-header .sidelogo img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-item-align: center;
    align-self: center;
  }
  .side-close-btn button span {
    background-color: #fff;
  }
  .side-close-btn button:hover span {
    background-color: #1F1C1C;
  }
  .side-panel-overlay:after {
    top: 0;
  }
  .header_text p {
    color: #1F1C1C;
  }
  .side_container .line {
    background-color: #1F1C1C;
    left: 0;
    width: 415px;
  }
  .location_menu_block h3 a,
  .location_menu_block li.menu-item-has-children a {
    color: #1F1C1C;
  }
  .location_menu_block ul.sub-menu li a {
    color: #1F1C1C;
  }
  .location_menu_block ul.sub-menu li a:hover {
    color: #fff;
  }
}

@media screen and (max-width: 586px) {
  .side-panel {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# footer
--------------------------------------------------------------*/
footer {
  position: relative;
  background-color: #1F1C1C;
  z-index: 2;
}

footer .main_block {
  padding-top: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

footer .footer_menu_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

footer .logo_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

footer .logo_block .logo {
  margin-right: 30px;
}

footer .logo_block .logo.mob {
  display: none;
}

footer .logo_block .logo_menu {
  width: 129px;
}

footer .logo_block li {
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #C4C4C4;
  line-height: 100%;
  font-size: 14px;
}

footer .logo_block li:last-of-type {
  border: none;
}

footer .logo_block li:first-of-type {
  padding-top: 0;
}

footer .logo_block a {
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: #C4C4C4;
  text-decoration: none;
}

footer .logo_block a:hover {
  color: #FFBB00;
}

footer .inner_block {
  outline: none;
  width: 210px;
  min-width: 150px;
  max-width: 210px;
  margin-right: 30px;
}

footer .inner_block:last-of-type {
  margin-right: 0;
}

footer .inner_block h3 {
  margin: 0 0 8px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 100%;
  text-transform: uppercase;
  color: #FFBB00;
}

footer .inner_block li {
  margin-bottom: 5px;
}

footer .inner_block li:last-of-type {
  margin-bottom: 0;
}

footer .inner_block a {
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 200%;
  text-transform: uppercase;
  text-decoration: none;
  color: #C4C4C4;
}

footer .inner_block a:hover {
  color: #FFBB00;
}

footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer .sub-menu {
  list-style-type: disc;
  list-style-position: inside;
}

footer .sub-menu li {
  margin-bottom: 0;
}

footer .sub-menu li::marker {
  color: #C4C4C4;
}

footer .center_block {
  position: relative;
  margin-top: 10px;
  margin-bottom: 20px;
}

footer .center_block .line {
  position: absolute;
  width: 100vw;
  height: 2px;
  right: 135px;
  bottom: -20px;
  background: #C4C4C4;
  border-radius: 9px;
}

footer .center_block .social_block {
  width: 105px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-left: auto;
}

footer .center_block a {
  -ms-flex-item-align: center;
  align-self: center;
}

footer .logo_menu_mob {
  display: none;
}

footer .bottom_block {
  padding-top: 19px;
  padding-bottom: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

footer .bottom_block p,
footer .bottom_block a {
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 200%;
  color: #C4C4C4;
  text-decoration: none;
}

footer .bottom_block a:hover {
  color: #FFBB00;
}

footer .bottom_block .right_block {
  margin-left: auto;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  -ms-flex-item-align: center;
  align-self: center;
}

footer .bottom_block ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

footer .bottom_block li {
  margin-right: 20px;
  -ms-flex-item-align: center;
  align-self: center;
}

footer .bottom_block li:last-of-type {
  margin-right: 0;
}

@media screen and (max-width: 1640px) {
  footer .logo_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  footer .logo_block .logo {
    margin-right: 20px;
    max-width: 159px;
  }
  footer .logo_block .logo_menu {
    width: 109px;
  }
}

@media screen and (max-width: 1500px) {
  footer .inner_block {
    width: 100%;
  }
  footer .center_block .line {
    right: 0;
  }
}

@media screen and (max-width: 1200px) {
  footer .main_block {
    padding-top: 48px;
  }
  footer .logo img {
    width: 68.93px;
    height: 73.74px;
  }
  footer .logo_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  footer .logo_block .logo_menu {
    width: 90px;
    margin-top: 30px;
  }
  footer .logo_block a {
    font-size: 14px;
    line-height: 21px;
  }
  footer .logo_block li {
    border: none;
    padding-bottom: 0;
  }
  footer .inner_block {
    min-width: 154px;
  }
  footer .inner_block a {
    font-size: 14px;
    line-height: 200%;
  }
  footer .inner_block li {
    margin-bottom: 2.5px;
  }
  footer .bottom_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  footer .bottom_block p,
  footer .bottom_block a {
    font-size: 12px;
    line-height: 200%;
  }
}

@media screen and (max-width: 768px) {
  footer {
    position: relative;
  }
  footer .main_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-top: 23px;
  }
  footer .footer_menu_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 10px;
  }
  footer .inner_block {
    position: relative;
    max-width: 100%;
  }
  footer .inner_block::before {
    position: absolute;
    content: '+';
    right: 0;
    color: #C4C4C4;
  }
  footer .inner_block.active {
    margin-bottom: 10px;
  }
  footer .inner_block nav {
    display: none;
  }
  footer .inner_block ul {
    padding-left: 25px;
  }
  footer .inner_block li {
    margin-bottom: 0;
  }
  footer .logo_block {
    margin-bottom: 30px;
  }
  footer .logo_block .logo.mob {
    display: block;
  }
  footer .logo_block .logo.desc {
    display: none;
  }
  footer .logo_block .logo_menu {
    display: none;
  }
  footer .logo img {
    width: 25.24px;
    height: 27px;
  }
  footer .center_block {
    position: absolute;
    top: 23px;
    margin: 0;
    left: 15px;
    right: 15px;
    width: calc(100% - 30px);
  }
  footer .center_block .line {
    width: 100%;
    bottom: -10px;
    height: 1px;
  }
  footer .logo_menu_mob {
    display: block;
    border-bottom: 1px solid #C4C4C4;
    border-top: 1px solid #C4C4C4;
  }
  footer .logo_menu_mob a {
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 156%;
    text-align: center;
    text-transform: uppercase;
    color: #C4C4C4;
    text-decoration: none;
  }
  footer .logo_menu_mob a a:hover {
    color: #FFBB00;
  }
  footer .logo_menu_mob ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  footer .logo_menu_mob li {
    padding: 10px 19px;
  }
  footer .bottom_block p,
  footer .bottom_block a {
    font-size: 8px;
    line-height: 200%;
    margin: 0;
  }
  footer .bottom_block ul {
    display: block;
  }
  footer .bottom_block li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-right: 0;
    margin: 0;
    line-height: 16px;
    -ms-flex-item-align: normal;
    align-self: normal;
  }
  footer .copyright {
    width: 100%;
    max-width: 168px;
  }
}

@media screen and (max-width: 586px) {
  footer .logo_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  footer .logo_block .logo {
    margin-right: 30px;
  }
}

/*--------------------------------------------------------------
# main page
--------------------------------------------------------------*/
.firstmain {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.firstmain .section-bg {
  background: linear-gradient(193deg, #a7a7a7 0%, #cbcbcb 35%, white 100%);
}

.firstmain .main_block {
  padding: 150px 0 465px;
}

.firstmain .main_block .top_text {
  font-style: normal;
  font-weight: 300;
  font-size: 60px;
  line-height: 72px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  margin: 0;
  color: #FFFFFF;
}

.firstmain .main_block h1 {
  font-style: normal;
  font-weight: 800;
  font-size: 250px;
  line-height: 100%;
  text-align: center;
  color: #1F1C1C;
  margin: 35px 0 0;
}

.firstmain .church_block {
  position: absolute;
  width: 59%;
  max-width: 1105px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  bottom: -10px;
  left: 15%;
  z-index: 2;
}

.map {
  margin-top: 0;
  background-color: #fff;
  z-index: 2;
}

.map .main_block {
  padding: 450px 0 200px;
  max-height: 900px;
}

.map .section-bg {
  z-index: auto;
  overflow: hidden;
}

.map .video_block {
  position: absolute;
  border-radius: 10px;
  width: 100%;
  max-width: 810px;
  top: -262px;
  z-index: 2;
}

.map .video_block img {
  border-radius: 10px;
}

.map .video_block .video_button {
  position: absolute;
  z-index: 3;
  width: 237px;
  height: 237px;
  top: calc(50% - 118.5px);
  left: calc(50% - 118.5px);
}

.map .video_block iframe {
  border-style: none;
  height: 100%;
  min-height: 440px;
  width: 100%;
  border-radius: 10px;
}

.map .location_block {
  position: relative;
  width: 100%;
  max-width: 526px;
  margin-left: 160px;
}

.map .location_block::before {
  position: absolute;
  content: '';
  width: 209px;
  height: 205px;
  top: 8px;
  left: -95px;
  background-image: url("/wp-content/themes/church/img/mainpage/location_stripe.svg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.map h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 100%;
  text-transform: uppercase;
  color: #000000;
  margin: 0;
}

.map .country_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 43px;
}

.map .country_list a {
  font-family: "Muller";
  width: 100%;
  max-width: 238px;
  font-style: normal;
  font-weight: normal;
  font-size: 25px;
  line-height: 25px;
  text-transform: uppercase;
  color: #000000;
  text-decoration: none;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  padding-left: 35px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.map .country_list a:hover, .map .country_list a:active {
  color: #FFBB00;
  font-weight: bold;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.map .country_list a:hover::before, .map .country_list a:active::before {
  background-image: url("/wp-content/themes/church/img/mainpage/loc_icon_yellow.svg");
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.map .country_list a::before {
  position: absolute;
  content: '';
  width: 20px;
  height: 26px;
  left: 0;
  top: -2px;
  background-image: url("/wp-content/themes/church/img/mainpage/loc_icon_black.svg");
  background-position: top;
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.map .blur_left {
  position: absolute;
  width: 1534px;
  height: 751px;
  left: -35%;
  top: 0;
  z-index: 2;
  background: #FFFFFF;
  -webkit-filter: blur(100px);
  filter: blur(100px);
  -webkit-transform: rotate(80.48deg);
  transform: rotate(80.48deg);
  opacity: 1;
}

.map .blur_right {
  position: absolute;
  width: 1534px;
  height: 751px;
  right: -25%;
  bottom: -75%;
  z-index: 2;
  background: #FFFFFF;
  -webkit-filter: blur(100px);
  filter: blur(100px);
  -webkit-transform: rotate(7.29deg);
  transform: rotate(7.29deg);
  opacity: 0.6;
}

.vision {
  margin-top: 0;
  z-index: 2;
}

.vision .section-bg {
  background-color: #F7F7F7;
}

.vision .main_block {
  padding: 172px 0 120px;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.vision .col {
  width: 100%;
  max-width: 570px;
}

.vision h2 {
  margin: 0;
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 110%;
  text-transform: uppercase;
  color: #1F1C1C;
  position: relative;
  width: 100%;
  max-width: 377px;
  z-index: 2;
}

.vision h2::before {
  position: absolute;
  content: '';
  width: 259px;
  height: 76px;
  left: 0;
  bottom: -38px;
  background-image: url("/wp-content/themes/church/img/mainpage/title_decor.svg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.vision p {
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 100%;
}

.socials {
  margin-top: 0;
}

.socials .section-bg {
  background-color: #FFBB00;
}

.socials .main_block {
  padding: 122px 0;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.socials .text_block {
  width: 100%;
  max-width: 690px;
}

.socials .text_block h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 110%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-transform: uppercase;
  color: #000000;
  margin: 0;
}

.socials .text_block p {
  font-style: normal;
  font-weight: 300;
  font-size: 40px;
  line-height: 110%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #000000;
  margin: 10px 0 0;
}

.socials .socials_block {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.socials .socials_block a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: transparent;
  text-decoration: none;
  margin-right: 14px;
  -ms-flex-item-align: center;
  align-self: center;
}

.socials .socials_block a:last-of-type {
  margin-right: 0;
}

.socials .socials_block::before {
  position: absolute;
  content: '';
  width: 305px;
  height: 153px;
  right: -100px;
  bottom: 0;
  background-image: url("/wp-content/themes/church/img/mainpage/decor_socials.svg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.socials .preview-page {
  -ms-flex-item-align: center;
  align-self: center;
  width: 90px;
  height: 90px;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.socials .preview-page.preview-page2 {
  width: 122px;
  height: 122px;
}

.socials .preview-page:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

@media screen and (max-width: 1640px) {
  .firstmain .main_block {
    padding: 150px 0 365px;
  }
  .firstmain .main_block h1 {
    font-size: 210px;
    line-height: 100%;
  }
  .map .main_block {
    padding: 350px 0 200px;
  }
}

@media screen and (max-width: 1500px) {
  .firstmain .main_block {
    padding: 100px 0 265px;
  }
  .firstmain .main_block h1 {
    font-size: 194px;
    line-height: 100%;
    margin: 20px 0;
  }
  .firstmain .main_block .top_text {
    font-size: 46px;
    line-height: 52px;
  }
  .firstmain .church_block {
    bottom: -70px;
    left: 16%;
  }
  .map .main_block {
    padding: 300px 0 200px;
  }
  .map .video_block {
    position: absolute;
    border-radius: 10px;
    width: 100%;
    max-width: 610px;
    top: -232px;
    z-index: 2;
  }
  .map .video_block img {
    border-radius: 10px;
  }
  .map .video_block .video_button {
    position: absolute;
    z-index: 3;
    width: 197px;
    height: 197px;
    top: calc(50% - 98.5px);
    left: calc(50% - 98.5px);
  }
  .map .video_block iframe {
    min-height: 366px;
  }
  .vision .main_block {
    padding: 102px 0 80px;
  }
  .vision h2 {
    font-size: 40px;
    line-height: 110%;
    max-width: 285px;
  }
  .vision p {
    font-size: 20px;
    line-height: 100%;
  }
  .socials .main_block {
    padding: 80px 0 80px;
  }
  .socials .text_block h2 {
    font-size: 40px;
    line-height: 110%;
  }
  .socials .text_block p {
    font-size: 20px;
    line-height: 100%;
  }
}

@media screen and (max-width: 1368px) {
  .firstmain .main_block h1 {
    font-size: 164px;
    line-height: 100%;
    margin: 20px 0;
  }
  .firstmain .church_block {
    width: 100%;
    max-width: 65vw;
    bottom: -80px;
    left: 12.5%;
  }
  .map .video_block {
    position: absolute;
    border-radius: 10px;
    width: 100%;
    max-width: 610px;
    top: -182px;
    z-index: 2;
  }
}

@media screen and (max-width: 1200px) {
  .firstmain .main_block {
    padding: 100px 0 250px;
  }
  .firstmain .main_block h1 {
    font-size: 130px;
    line-height: 100%;
  }
  .firstmain .main_block .top_text {
    font-size: 30px;
    line-height: 36px;
  }
  .map .video_block {
    max-width: 490px;
    top: -152px;
  }
  .map .video_block .video_button {
    width: 143px;
    height: 143px;
    top: calc(50% - 71.5px);
    left: calc(50% - 71.5px);
  }
  .map .video_block iframe {
    min-height: 294px;
  }
  .map h2 {
    font-size: 40px;
    line-height: 100%;
    max-width: 300px;
  }
  .map .location_block {
    max-width: 480px;
    margin-left: 60px;
  }
  .map .location_block::before {
    top: -35px;
  }
  .map .country_list a {
    font-size: 20px;
    line-height: 100%;
    max-width: 200px;
  }
  .map .blur_left {
    display: none;
  }
  .vision .col {
    width: 100%;
    max-width: 400px;
  }
  .vision p {
    font-size: 20px;
    line-height: 100%;
  }
  .socials .text_block h2 {
    font-size: 30px;
    line-height: 110%;
  }
  .socials .text_block p {
    font-size: 20px;
    line-height: 110%;
  }
  .socials .socials_block::before {
    right: -50px;
    bottom: -30px;
  }
  .socials .preview-page {
    width: 75px;
    height: 75px;
  }
  .socials .preview-page.preview-page2 {
    width: 102px;
    height: 102px;
  }
}

@media screen and (max-width: 1024px) {
  .firstmain .church_block {
    width: 100%;
    max-width: 75vw;
    bottom: -80px;
    left: 6.5%;
  }
  .map .location_block {
    max-width: 220px;
  }
  .map .country_list {
    width: 100%;
  }
  .socials .preview-page {
    width: 60px;
    height: 60px;
  }
  .socials .preview-page.preview-page2 {
    width: 82px;
    height: 82px;
  }
}

@media screen and (max-width: 768px) {
  .firstmain .section-bg {
    background: url("/wp-content/themes/church/img/mainpage/firstmain_bg.jpg");
    background-position: bottom center;
    background-size: cover;
  }
  .firstmain .main_block {
    padding: 100px 0 200px;
  }
  .firstmain .main_block h1 {
    font-size: 70px;
    line-height: 84px;
    margin: 0;
  }
  .firstmain .main_block .top_text {
    font-size: 20px;
    line-height: 23px;
  }
  .firstmain .church_block {
    display: none;
  }
  .map .main_block {
    max-height: none;
  }
  .map .video_block {
    max-width: 345px;
    top: -73px;
    left: calc(50% - 172.5px);
  }
  .map .video_block .video_button {
    width: 100px;
    height: 100px;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
  }
  .map .video_block iframe {
    min-height: 207px;
  }
  .map h2 {
    font-size: 40px;
    line-height: 100%;
    max-width: 380px;
    text-align: center;
    margin: 0 auto;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
  .map .location_block {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .map .location_block::before {
    top: -70px;
    left: calc(50% - 240px);
    -webkit-transform: rotate(42.29deg);
    transform: rotate(42.29deg);
    height: 121.52433175148474px;
    width: 123px;
    left: 178px;
  }
  .map .country_list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
  .map .country_list a {
    font-size: 20px;
    line-height: 100%;
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
    text-align: center;
    margin: 0 auto 10px;
  }
  .map .country_list ul {
    margin: 0;
  }
  .map .main_block {
    padding: 200px 0 400px;
  }
  .map .blur_left {
    display: block;
    width: 776.46px;
    height: 355.89px;
    top: 50px;
    -webkit-filter: blur(50px);
    filter: blur(50px);
    left: -100px;
    right: auto;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  .vision .main_block {
    padding: 56px 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .vision .col {
    margin: 0 auto 68px;
  }
  .vision .col:last-of-type {
    margin: 0 auto;
  }
  .vision h2 {
    text-align: center;
    margin: 0 auto;
  }
  .vision p {
    text-align: center;
  }
  .socials .main_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .socials .text_block {
    max-width: 345px;
    margin: 0 auto 45px;
  }
  .socials .text_block h2 {
    text-align: center;
  }
  .socials .text_block p {
    text-align: center;
  }
  .socials .socials_block {
    max-width: 300px;
    margin: 0 auto;
  }
  .socials .socials_block a:first-of-type img,
  .socials .socials_block a:last-of-type img {
    max-width: 69px;
  }
  .socials .socials_block img {
    max-width: 93px;
  }
}

@media screen and (max-width: 586px) {
  .map .country_list {
    margin-top: 35px;
  }
  .vision .col {
    max-width: 227px;
  }
  .vision .col:last-of-type h2::before {
    background-size: contain;
  }
  .vision h2 {
    font-size: 35px;
    max-width: 217px;
  }
  .vision h2::before {
    background-image: url("/wp-content/themes/church/img/mainpage/title_decor_mob.svg");
    height: 62px;
    width: 100%;
    background-size: cover;
    bottom: -25px;
  }
  .vision p {
    font-size: 14px;
  }
}

#europe-map {
  position: absolute;
  right: -20%;
  width: 100%;
  height: 909px;
  background: none;
  top: 0;
  z-index: 1;
}

#mapPane {
  position: absolute;
  top: 425px;
  left: 250px;
  width: 510px;
  z-index: 3;
}

.pin1 {
  position: absolute;
  content: '';
  font-size: 25px;
  margin-left: -5px;
  margin-top: -5px;
  color: #B4B4B4;
}

.mapH3 {
  font-family: 'TT Norms Pro';
  font-weight: normal;
  font-size: 25px;
  margin-bottom: 0px;
}

.mapH3:hover {
  font-weight: bold;
  color: #FFBB00;
  cursor: pointer;
}

.mapItemLi {
  list-style: none;
  font-family: "Muller";
  font-weight: normal;
  font-size: 25px;
  padding-bottom: 20px;
  width: 203px;
}

.mapItemLi:hover {
  font-weight: bold;
  color: #FFBB00;
  cursor: pointer;
}

.mapItemUl {
  padding: 0;
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

.mapItemLiSelected {
  list-style: none;
  font-family: 'Muller';
  font-weight: bold;
  color: #FFBB00;
  font-size: 25px;
  padding-bottom: 20px;
  width: 203px;
}

.customTooltip {
  border: none;
  background: transparent;
  font-family: "Muller";
  font-weight: normal;
  font-size: 25px;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.customTooltip:before {
  border-bottom-color: transparent;
}

.nonSelectedPin {
  text-align: center;
  width: 100px;
  font-family: "Muller";
  font-weight: bold;
  font-size: 14px;
  line-height: 14px;
  text-transform: uppercase;
  color: black;
}

.nonSelectedPin > * {
  margin: 0px;
}

.nonSelectedPin:hover {
  color: #FFBB00;
  font-weight: bold;
}

i {
  margin-right: 15px;
}

.location_block {
  z-index: 3;
}

#mapHeader h3:not(.mapH3) {
  display: none;
}

@media only screen and (max-width: 1024px) {
  .mapItemUl {
    padding: 0;
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
    text-align: left;
  }
}

@media only screen and (max-width: 768px) {
  #europe-map {
    display: block;
    width: 100vw;
    height: 909px;
    left: 50%;
    margin-left: calc(-1 * (100vw / 2));
    background: white;
    top: 150px;
    z-index: 1;
  }
  .mapItemUl {
    padding: 0;
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
    text-align: center;
  }
  .mapItemLi {
    width: auto;
  }
  #mapListDiv {
    text-align: center;
    display: block;
  }
  #mapHeader {
    display: block;
    text-align: center;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
  .nonSelectedPin {
    font-size: 12px;
    color: black;
  }
}

@media only screen and (max-width: 586px) {
  #europe-map {
    height: 909px;
  }
  #europe-map .leaflet-control-attribution {
    display: none;
  }
  .nonSelectedPin {
    font-size: 8px;
    color: black;
  }
  .mapH3 {
    font-size: 12px;
    line-height: 15px;
  }
  .mapItemLi {
    font-size: 20px;
    line-height: 20px;
    margin-bottom: 10px;
    padding-bottom: 0;
  }
}

/*--------------------------------------------------------------
# Jesus page
--------------------------------------------------------------*/
.jesus_first {
  padding-bottom: 92px;
  min-height: 762px;
}

.jesus_first .main_block {
  position: relative;
}

.jesus_first h1 {
  color: #000;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.jesus_first p {
  font-family: "Muller";
  font-style: normal;
  font-weight: normal;
  font-size: 25px;
  line-height: 120%;
  color: #000;
}

.jesus_first span {
  color: #FFBB00;
}

.jesus_first .content_block {
  position: relative;
  z-index: 2;
  max-width: 1050px;
}

.jesus_first .img_block {
  position: absolute;
  width: 690px;
  height: 762px;
  top: 0;
  right: 0;
  z-index: 1;
}

.jesus_first .img_block img {
  height: auto;
}

.jesus_second .section-bg {
  background-color: #F7F7F7;
}

.jesus_second .main_block {
  padding: 72px 0;
}

.jesus_second p,
.jesus_second li {
  font-family: "Muller";
  font-style: normal;
  font-weight: normal;
  font-size: 25px;
  line-height: 120%;
  color: #000;
}

.jesus_second h2 {
  font-family: Muller;
  color: #000000;
  margin-top: 0;
}

.jesus_second ol {
  list-style: none;
  counter-reset: section;
}

.jesus_second li {
  margin-bottom: 50px;
  padding-left: 50px;
}

.jesus_second li::before {
  position: absolute;
  left: 20px;
  counter-increment: section;
  content: "" counter(section) ". ";
  font-family: Muller;
  font-style: normal;
  font-weight: bold;
  font-size: 50px;
  line-height: 100%;
}

.jesus_second span {
  color: #FFBB00;
}

.jesus_third h2 {
  margin-top: 0;
}

.jesus_third span {
  color: #FFBB00;
}

.jesus_third .main_block {
  width: 100%;
  max-width: 1529px;
  margin: 0 auto;
  padding: 64px 0 164px;
}

.jesus_third .yellow_block {
  border-radius: 15px;
  background-color: #FFBB00;
  padding: 96px 120px;
  position: relative;
}

.jesus_third .yellow_block p {
  font-style: normal;
  font-weight: 500;
  font-size: 40px;
  line-height: 110%;
  color: #000000;
  width: 100%;
  max-width: 930px;
  margin: 0 0 0 auto;
}

.jesus_third .yellow_block::after {
  position: absolute;
  content: '';
  left: -80px;
  width: 552.5px;
  height: 503.5px;
  background-image: url("/wp-content/themes/church/img/jesus/hands.svg");
  bottom: 0;
}

@media screen and (max-width: 1640px) {
  .jesus_first .content_block {
    max-width: 850px;
  }
  .jesus_first .img_block {
    position: absolute;
    width: 550px;
    height: 670px;
  }
  .jesus_third .yellow_block p {
    max-width: 830px;
  }
}

@media screen and (max-width: 1500px) {
  .jesus_first {
    min-height: auto;
    padding-bottom: 0;
  }
  .jesus_first p {
    font-size: 20px;
    line-height: 120%;
  }
  .jesus_first .content_block {
    max-width: 850px;
  }
  .jesus_first .img_block {
    position: absolute;
    width: 406px;
    height: 449px;
  }
  .jesus_second p,
  .jesus_second li {
    font-size: 20px;
    line-height: 120%;
  }
  .jesus_second li {
    margin-bottom: 50px;
    padding-left: 30px;
  }
  .jesus_second li::before {
    font-size: 40px;
    line-height: 100%;
  }
  .jesus_third .yellow_block {
    padding: 79px;
  }
  .jesus_third .yellow_block p {
    max-width: 830px;
    font-weight: 500;
    font-size: 30px;
    line-height: 110%;
  }
  .jesus_third .yellow_block::after {
    width: 308.46px;
    height: 281.1px;
    left: -40px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }
}

@media screen and (max-width: 1200px) {
  .jesus_first .content_block {
    max-width: 670px;
  }
  .jesus_third .yellow_block p {
    max-width: 591px;
    font-size: 20px;
    line-height: 110%;
  }
}

@media screen and (max-width: 1024px) {
  .jesus_first .content_block {
    max-width: none;
  }
  .jesus_first p:first-of-type {
    max-width: 470px;
  }
  .jesus_first p:nth-of-type(2) {
    position: relative;
    padding-left: 20px;
    max-width: 530px;
    margin: 40px 0;
  }
  .jesus_first p:nth-of-type(2)::before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    border-radius: 5px;
    background-color: #FFBB00;
  }
  .jesus_first .img_block {
    position: absolute;
    width: 356px;
    height: 409px;
  }
  .jesus_third .yellow_block {
    padding: 79px 59px;
  }
  .jesus_third .yellow_block p {
    max-width: 471px;
    font-size: 20px;
    line-height: 110%;
  }
}

@media screen and (max-width: 768px) {
  .jesus_first .img_block {
    position: absolute;
    width: 306px;
    height: 359px;
  }
  .jesus_first p:first-of-type {
    margin-right: 40%;
  }
  .jesus_third .main_block {
    padding: 0 0 92px;
  }
  .jesus_third h2 {
    font-size: 25px;
    line-height: 100%;
    text-align: center;
  }
  .jesus_third .yellow_block {
    margin-top: 50px;
    padding: 283px 26px 37px;
  }
  .jesus_third .yellow_block p {
    max-width: none;
    margin-left: 0;
    font-size: 20px;
    line-height: 110%;
    text-align: center;
  }
  .jesus_third .yellow_block::after {
    top: -60px;
    width: 372.22px;
    height: 372.22px;
    left: calc(50% - 176.11px);
    -webkit-transform: rotate(4.87deg);
    transform: rotate(4.87deg);
    background-image: url("/wp-content/themes/church/img/jesus/hands_mob.svg");
  }
}

@media screen and (max-width: 586px) {
  .jesus_first .img_block {
    width: 168px;
    height: 185px;
    top: -30px;
  }
  .jesus_first p {
    font-size: 14px;
    line-height: 120%;
  }
  .jesus_first p:first-of-type {
    margin-right: 158px;
  }
  .jesus_second .main_block {
    padding: 38px 0;
  }
  .jesus_second h2 {
    text-align: center;
  }
  .jesus_second p,
  .jesus_second li {
    font-size: 14px;
    line-height: 120%;
  }
  .jesus_second li {
    padding-left: 0;
    margin-bottom: 30px;
  }
  .jesus_second li::before {
    font-size: 25px;
    line-height: 100%;
  }
  .jesus_third .main_block {
    padding: 0 0 52px;
  }
  .jesus_third .title_block {
    max-width: 326px;
    margin: 0 auto;
  }
  .jesus_third .yellow_block p {
    font-size: 18px;
    line-height: 110%;
  }
}

@media screen and (max-width: 386px) {
  .jesus_first p:first-of-type {
    margin-right: 128px;
  }
}

/*--------------------------------------------------------------
# Our values page
--------------------------------------------------------------*/
.ourvalues .section-bg {
  background-image: url("/img/ourvalues/ourvalues_bg.jpg");
}

.ourvalues h1 {
  margin: 0;
}

.ourvalues .main_block {
  padding: 50px 0 250px;
}

.ourvalues .content_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 50px;
}

.ourvalues .col {
  width: 100%;
  max-width: 570px;
  margin-right: 30px;
}

.ourvalues .col:last-of-type {
  margin-right: 0;
}

.ourvalues .col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ourvalues .col li {
  margin-bottom: 10px;
}

.ourvalues .col li:last-of-type {
  margin-bottom: 0;
}

.ourvalues .col a,
.ourvalues .col p {
  font-style: normal;
  font-weight: bold;
  font-size: 40px;
  line-height: 150%;
  color: #000000;
  text-decoration: none;
}

.ourvalues .col a:hover,
.ourvalues .col p:hover {
  color: #FFBB00;
}

.ourvalues .col p:first-of-type {
  margin-top: 0;
}

@media screen and (max-width: 1640px) {
  .ourvalues .col {
    width: 100%;
    max-width: 500px;
    margin-right: 30px;
  }
}

@media screen and (max-width: 1500px) {
  .ourvalues .section-bg {
    background-position: top center;
  }
  .ourvalues .col {
    width: 100%;
    max-width: 278px;
    margin-right: 30px;
  }
  .ourvalues .col a,
  .ourvalues .col p {
    font-size: 20px;
    line-height: 150%;
  }
}

@media screen and (max-width: 1024px) {
  .ourvalues .main_block {
    padding: 0 0 200px;
  }
  .ourvalues .col {
    width: 100%;
    max-width: 258px;
    margin-right: 10px;
  }
  .ourvalues .col a,
  .ourvalues .col p {
    font-size: 20px;
    line-height: 150%;
  }
}

@media screen and (max-width: 767px) {
  .ourvalues .main_block {
    padding: 0 0 200px;
  }
  .ourvalues .section-bg {
    height: 470px;
    top: auto;
    bottom: -80px;
  }
  .ourvalues h1 {
    text-align: center;
  }
  .ourvalues .content_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .ourvalues .col {
    width: 100%;
    max-width: 258px;
    margin-right: auto;
    margin-left: auto;
  }
  .ourvalues .col:last-of-type {
    margin-right: auto;
  }
  .ourvalues .col a,
  .ourvalues .col p {
    font-size: 20px;
    line-height: 150%;
    text-align: center;
  }
  .ourvalues .col li {
    font-size: 20px;
    line-height: 150%;
    text-align: center;
  }
}

@media screen and (max-width: 586px) {
  .ourvalues .section-bg {
    height: 370px;
  }
  .ourvalues .main_block {
    padding: 0 0 150px;
  }
  .ourvalues .title_block {
    margin-top: 26px;
  }
  .ourvalues .title_block h1 {
    font-size: 30px;
    line-height: 30px;
  }
}

/*--------------------------------------------------------------
# Vision page
--------------------------------------------------------------*/
.visionpage {
  margin-bottom: 93px;
}

.visionpage .section-bg {
  background-image: url("/img/vision/vision.jpg");
  background-size: contain;
}

.visionpage h1 {
  margin: 0;
}

.visionpage .content_block {
  position: relative;
  padding: 230px 0;
}

.visionpage .content_block p {
  width: 100%;
  max-width: 1164px;
  margin: 0 auto;
  font-style: normal;
  font-weight: bold;
  font-size: 50px;
  line-height: 100%;
  text-align: center;
  color: #000000;
}

@media screen and (max-width: 1500px) {
  .visionpage .content_block {
    position: relative;
    padding: 200px 0;
  }
  .visionpage .content_block p {
    max-width: 815px;
    font-size: 30px;
    line-height: 100%;
  }
}

@media screen and (max-width: 586px) {
  .visionpage .title_block h1 {
    font-size: 30px;
    line-height: 100%;
    text-align: center;
  }
  .visionpage .section-bg {
    margin-top: 50px;
    background-size: cover;
  }
  .visionpage .content_block {
    position: relative;
    padding: 110px 0;
  }
  .visionpage .content_block p {
    max-width: none;
    font-size: 20px;
    line-height: 100%;
  }
}

/*--------------------------------------------------------------
# About_us page
--------------------------------------------------------------*/
.about_us_first {
  position: relative;
}

.about_us_first .main_block {
  padding: 213px 0 213px;
}

.about_us_first .content_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.about_us_first .text_block {
  font-family: "Muller";
  width: 100%;
  max-width: 690px;
}

.about_us_first .text_block h1 {
  color: #FFBB00;
  font-style: normal;
  font-weight: 900;
  font-size: 100px;
  line-height: 120%;
  margin: 0;
  text-transform: uppercase;
}

.about_us_first .text_block p {
  font-style: normal;
  font-weight: bold;
  font-size: 40px;
  line-height: 120%;
  color: #000000;
  margin: 0;
}

.about_us_first .text_block span.decor {
  position: relative;
}

.about_us_first .text_block span.decor::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 76px;
  left: 0;
  bottom: -34px;
  background-image: url("/wp-content/themes/church/img/mainpage/title_decor.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.about_us_first .img_block {
  position: absolute;
  width: 830.06px;
  height: 744.32px;
  top: 0;
  right: 0;
}

.about_us_first .img_block .first_img {
  position: absolute;
  top: 0;
  right: 0;
  width: 613.93px;
  height: 408.92px;
  z-index: 1;
}

.about_us_first .img_block .second_img {
  position: absolute;
  left: 0;
  top: 228px;
  width: 541.64px;
  height: 360.37px;
  z-index: 2;
}

.about_us_first .img_block .third_img {
  position: absolute;
  width: 345.27px;
  height: 227.66px;
  bottom: 0;
  right: 134px;
  z-index: 2;
}

.about_us_first .img_block img {
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  border-radius: 15px;
}

.pastors.section {
  margin-top: 0;
}

.pastors .section-bg {
  background: #F6F6F6;
}

.pastors .main_block {
  padding: 70px 0 100px;
}

.pastors .title_block h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 100px;
  line-height: 100%;
  margin: 0;
}

.pastors .content_block {
  margin-top: 80px;
}

.pastors .top_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.pastors .img_block {
  position: relative;
  width: 511px;
  height: 509px;
  margin-right: 150px;
  margin-bottom: 150px;
}

.pastors .img_block img {
  border-radius: 15px;
  position: relative;
  z-index: 2;
}

.pastors .img_block::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background: #FFBB00;
  border-radius: 15px;
  bottom: -30px;
  right: -30px;
  z-index: 1;
}

.pastors .text_block {
  width: 100%;
  max-width: 930px;
}

.pastors p {
  font-family: "Muller";
  font-style: normal;
  font-weight: normal;
  font-size: 25px;
  line-height: 120%;
  color: #000000;
}

.pastors p:first-of-type {
  margin-top: 0;
}

.pastors .h3 p {
  font-weight: bold;
  font-size: 70px;
  line-height: 100%;
  margin: 30px 0 !important;
}

.pastors .h3 a {
  color: transparent;
  text-decoration: none;
}

.pastors .h3 img {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.pastors .h3 img:hover {
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.pastors .show-more {
  display: none;
}

.history {
  margin-bottom: 100px;
}

.history .title_block h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 100px;
  line-height: 100%;
  margin: 0;
}

.history .content_block {
  margin-top: 100px;
}

.history .inner_block {
  margin-bottom: 100px;
}

.history .top_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.history .img_block_main {
  position: relative;
}

.history .img_block_main p {
  font-style: normal;
  font-weight: normal;
  font-size: 70px;
  line-height: 100%;
  color: #1F1C1C;
}

.history .img_block_main p.title {
  position: absolute;
  top: 50px;
  z-index: 3;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  left: 80%;
}

.history .img_block_main span {
  font-style: normal;
  font-weight: 800;
  font-size: 70px;
  line-height: 100%;
  text-transform: uppercase;
  color: #FFBB00;
}

.history .img_block {
  position: relative;
  width: 450px;
  height: 629px;
  margin-left: 80px;
  margin-bottom: 80px;
  margin-right: 80px;
}

.history .img_block img {
  width: 100%;
  position: relative;
  z-index: 2;
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  border-radius: 15px;
}

.history .img_block::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background: #C4C4C4;
  border-radius: 15px;
  bottom: -30px;
  left: -30px;
  z-index: 1;
}

.history .text_block {
  width: 100%;
  max-width: 930px;
  margin-top: 150px;
}

.history p {
  font-family: "Muller";
  font-style: normal;
  font-weight: normal;
  font-size: 25px;
  line-height: 120%;
  color: #000000;
}

.history p:first-of-type {
  margin-top: 0;
}

.history ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.history li {
  font-style: normal;
  font-weight: bold;
  font-size: 40px;
  line-height: 100%;
  color: #000000;
  padding-left: 64px;
  position: relative;
  margin: 55px 0;
}

.history li::before {
  position: absolute;
  content: '';
  width: 40px;
  height: 40px;
  left: 0;
  top: calc(50% - 20px);
  background: #FFBB00;
  border-radius: 10px;
}

.history .text_block h3 {
  font-weight: bold;
  font-size: 70px;
  line-height: 100%;
  margin: 30px 0 !important;
}

.history .text_block h3 a {
  color: transparent;
  text-decoration: none;
}

.history .text_block h3 img {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.history .text_block h3 img:hover {
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.history .show-more {
  display: none;
}

@media screen and (max-width: 1640px) {
  .about_us_first .main_block {
    padding: 150px 0;
  }
  .about_us_first .img_block {
    width: 48%;
    height: 644px;
  }
  .about_us_first .img_block .first_img {
    width: 513.93px;
    height: auto;
  }
  .about_us_first .img_block .second_img {
    width: 441px;
    height: auto;
  }
  .about_us_first .img_block .third_img {
    width: 275px;
    height: auto;
    bottom: 30px;
  }
  .about_us_first .text_block {
    max-width: 48%;
  }
  .pastors {
    margin-top: 0;
  }
  .pastors .img_block {
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    margin-right: 100px;
  }
  .history .img_block {
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    margin-right: 50px;
    margin-left: 50px;
  }
}

@media screen and (max-width: 1500px) {
  .about_us_first .text_block h1 {
    font-size: 70px;
    line-height: 120%;
  }
  .about_us_first .text_block p {
    font-size: 30px;
    line-height: 120%;
  }
  .about_us_first .img_block {
    width: 48%;
    height: 540px;
  }
  .about_us_first .img_block .third_img {
    height: auto;
    bottom: -30px;
  }
  .pastors .main_block {
    padding: 70px 0;
  }
  .pastors .title_block h2 {
    font-size: 60px;
    line-height: 100%;
  }
  .pastors .img_block {
    width: 100%;
    max-width: 300px;
    margin-right: 75px;
    margin-bottom: 75px;
  }
  .pastors .img_block::before {
    bottom: -18px;
    right: -18px;
  }
  .pastors .h3 p {
    font-size: 50px;
    line-height: 100%;
  }
  .pastors p {
    font-size: 20px;
    line-height: 120%;
  }
  .history .title_block h2 {
    font-size: 60px;
    line-height: 100%;
  }
  .history .img_block_main p {
    font-size: 50px;
    line-height: 100%;
  }
  .history .img_block_main span {
    font-size: 50px;
    line-height: 100%;
  }
  .history .img_block {
    margin-left: 18px;
    width: 100%;
    max-width: 300px;
  }
  .history .img_block::before {
    bottom: -18px;
    left: -18px;
  }
  .history .text_block {
    margin-top: 100px;
  }
  .history .text_block h3 {
    font-size: 50px;
    line-height: 100%;
  }
  .history .h3 {
    font-size: 50px;
    line-height: 100%;
  }
  .history p {
    font-size: 20px;
    line-height: 120%;
  }
  .history li {
    font-size: 25px;
    line-height: 120%;
    margin: 47px 0;
    padding-left: 30px;
  }
  .history li::before {
    width: 19px;
    height: 19px;
    top: calc(50% - 9.5px);
    border-radius: 4px;
  }
}

@media screen and (max-width: 1368px) {
  .about_us_first .text_block h1 {
    font-size: 70px;
    line-height: 120%;
  }
  .about_us_first .text_block p {
    font-size: 30px;
    line-height: 120%;
  }
  .about_us_first .img_block {
    width: 48%;
    height: 440px;
  }
  .about_us_first .img_block .first_img {
    width: 410px;
    height: auto;
  }
  .about_us_first .img_block .second_img {
    top: 140px;
    width: 350px;
  }
  .about_us_first .img_block .third_img {
    width: 200px;
    height: auto;
    bottom: -30px;
  }
  .about_us_first span.decor {
    position: relative;
  }
  .about_us_first span.decor::before {
    bottom: -50px;
  }
  .history {
    margin-top: 50px;
  }
  .history .img_block_main {
    margin-right: 50px;
  }
  .history .img_block {
    min-width: 300px;
    margin-left: 18px;
    margin-right: 0;
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 1200px) {
  .about_us_first .main_block {
    padding: 100px 0 150px;
  }
  .about_us_first .text_block h1 {
    font-size: 62px;
    line-height: 120%;
  }
  .about_us_first .text_block p {
    font-size: 20px;
    line-height: 120%;
  }
  .about_us_first .text_block span.decor::before {
    display: none;
  }
  .about_us_first .img_block {
    width: 426px;
    height: 341px;
  }
  .about_us_first .img_block .first_img {
    width: 281.24px;
    height: auto;
  }
  .about_us_first .img_block .second_img {
    top: 140px;
    width: 248.12px;
    height: 165.09px;
  }
  .about_us_first .img_block .third_img {
    width: 158.17px;
    height: 104.29px;
    bottom: -30px;
    right: 80px;
  }
  .pastors .title_block h2 {
    font-size: 50px;
    line-height: 100%;
  }
  .pastors .h3 p {
    font-size: 40px;
    line-height: 100%;
  }
  .pastors .h3 img {
    max-width: 20px;
  }
  .history .text_block h3 img {
    max-width: 20px;
  }
}

@media screen and (max-width: 1024px) {
  .pastors .img_block {
    position: absolute;
    width: 270px;
  }
  .pastors .text_block p:first-of-type {
    margin: 0 0 30px 320px !important;
  }
  .pastors .text_block p:nth-of-type(2) {
    margin-left: 320px;
  }
  .history .img_block_main {
    position: absolute;
    width: 288px;
  }
  .history .img_block_main .img_block {
    width: 270px;
    min-width: auto;
  }
  .history .text_block ul {
    margin-left: 320px;
  }
  .history .text_block p:first-of-type {
    margin-left: 320px;
  }
  .history .text_block h3 {
    margin: 0 0 30px 320px !important;
  }
}

@media screen and (max-width: 767px) {
  .about_us_first .main_block {
    padding: 41px 0 65px;
  }
  .about_us_first .content_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .about_us_first .img_block {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 340px;
    margin: 0 auto 50px;
  }
  .about_us_first .text_block {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin: 0 auto;
    text-align: center;
    max-width: none;
  }
  .pastors .main_block {
    padding: 25px 0;
  }
  .pastors .title_block h2 {
    text-align: center;
    font-size: 25px;
  }
  .pastors .top_block {
    display: block;
  }
  .pastors .content_block {
    margin-top: 30px;
  }
  .pastors .img_block {
    position: relative;
    margin: 0 auto 40px;
  }
  .pastors .text_block .h3 {
    text-align: center;
  }
  .pastors .text_block p {
    font-size: 14px;
  }
  .pastors .text_block p:first-of-type {
    margin: 1em 0 30px !important;
  }
  .pastors .text_block p:nth-of-type(2) {
    margin: 1em 0 !important;
  }
  .pastors p {
    font-size: 14px;
  }
  .pastors .show-more {
    display: block;
  }
  .pastors .hideContent.main_content p {
    display: none;
  }
  .pastors .hideContent.text_block p.h3,
  .pastors .hideContent.text_block p:nth-of-type(2) {
    display: block;
  }
  .pastors .hideContent.text_block p {
    display: none;
  }
  .history {
    margin-top: 30px;
  }
  .history .title_block h2 {
    font-size: 25px;
  }
  .history .content_block {
    margin-top: 50px;
  }
  .history .top_block {
    display: block;
  }
  .history .img_block_main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    margin: 0 auto;
    width: 100%;
  }
  .history .img_block_main .img_block {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin: 0 auto 30px;
  }
  .history .img_block_main p.title {
    position: relative;
    top: auto;
    left: auto;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    width: auto;
    text-align: center;
  }
  .history .text_block {
    margin-top: 0;
  }
  .history .text_block ul {
    margin-left: 0;
  }
  .history .text_block p:first-of-type {
    margin-left: 0;
  }
  .history .text_block h3 {
    margin: 20px 0 !important;
    text-align: center;
    font-size: 25px;
  }
  .history p {
    font-size: 14px;
  }
  .history li {
    font-size: 14px;
    margin: 30px 0;
  }
  .history .show-more {
    display: block;
  }
  .history .hideContent {
    display: none;
  }
}

@media screen and (max-width: 425px) {
  .about_us_first .img_block {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    position: relative;
    width: 100%;
    max-width: 346px;
    height: 277px;
    margin: 0 auto 50px;
  }
  .about_us_first .img_block .first_img {
    width: 228.47px;
    height: 152.18px;
  }
  .about_us_first .img_block .second_img {
    width: 201.57px;
    height: 134.11px;
  }
  .about_us_first .img_block .third_img {
    width: 128.49px;
    height: 84.72px;
    left: 182.75px;
    right: auto;
  }
}

/*--------------------------------------------------------------
# Service page
--------------------------------------------------------------*/
.service_first .main_block {
  padding: 72px 0 110px;
}

.service_first .text_block {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}

.service_first .text_block img {
  display: block;
  margin: 0 auto 20px;
}

.service_first .text_block p {
  font-family: "Muller";
  font-style: normal;
  font-weight: bold;
  font-size: 50px;
  line-height: 100%;
  text-align: center;
  color: #000000;
}

.service_first h1 {
  font-style: normal;
  font-weight: bold;
  font-size: 100px;
  line-height: 100%;
  text-align: center;
  color: #000000;
  margin: 0;
}

.service_first h1 span {
  font-style: normal;
  font-weight: 800;
  color: #FFBB00;
  text-transform: uppercase;
}

.service_second {
  margin-top: 0;
  margin-bottom: 110px;
}

.service_second .section-bg {
  background: #F6F6F6;
  margin-top: 120px;
}

.service_second .services {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  max-width: 1410px;
  margin: 0 auto;
}

.service_second .service_inner {
  position: relative;
  width: 330px;
  height: 330px;
  padding: 24px;
  margin-bottom: 34px;
  border-radius: 15px;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

.service_second .service_inner p {
  position: absolute;
  left: 24px;
  bottom: 29px;
  width: calc(100% - 48px);
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  line-height: 100%;
  color: #000000;
  margin: 0;
  overflow-wrap: normal;
}

.service_second .choose_block {
  width: 100%;
  max-width: 1410px;
  margin: 110px auto 0;
  height: 231px;
  padding: 60px;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.service_second .choose_block .text {
  width: 100%;
  max-width: 700px;
}

.service_second .choose_block .button {
  width: 100%;
  max-width: 336px;
  -ms-flex-item-align: center;
  align-self: center;
}

.service_second .choose_block .decor_block {
  position: relative;
  width: 100%;
  max-width: 461px;
}

.service_second .choose_block .decor_block::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 74px;
  left: 0;
  bottom: -28px;
  background-image: url("/wp-content/themes/church/img/service/service_decor.svg");
  background-position: top;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

.service_second .choose_block p.decor {
  font-family: "Muller";
  font-style: normal;
  font-weight: bold;
  font-size: 50px;
  line-height: 120%;
  display: block;
  margin: 0;
  color: #000000;
  position: relative;
  z-index: 2;
}

.service_second .choose_block p {
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 120%;
  color: #000000;
  margin: 0;
}

.service_second .choose_block a {
  position: relative;
  font-style: normal;
  font-weight: bold;
  font-size: 40px;
  line-height: 120%;
  text-align: center;
  color: #000000;
  padding: 30px 50px 30px 100px;
  background-color: #FFBB00;
  text-decoration: none;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.service_second .choose_block a::before {
  position: absolute;
  content: '';
  width: 42px;
  height: 50px;
  top: calc(50% - 25px);
  left: 40px;
  background-image: url("/wp-content/themes/church/img/service/button_icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.service_second .choose_block a:hover {
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

@media screen and (max-width: 1500px) {
  .service_first .main_block {
    padding: 38px 0 100px;
  }
  .service_first h1 {
    font-size: 70px;
    line-height: 100%;
  }
  .service_first .text_block img {
    max-width: 120px;
    display: block;
    margin: 0 auto 20px;
  }
  .service_first .text_block p {
    font-size: 40px;
    line-height: 100%;
  }
  .service_second .services {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
  }
  .service_second .service_inner {
    width: 270px;
    height: 270px;
  }
  .service_second .choose_block {
    max-width: 1160px;
  }
  .service_second .choose_block p.decor {
    font-size: 40px;
  }
  .service_second .choose_block p {
    font-size: 25px;
  }
  .service_second .choose_block .button {
    max-width: 280px;
  }
  .service_second .choose_block a {
    font-size: 25px;
  }
}

@media screen and (max-width: 1200px) {
  .service_first .main_block {
    padding: 24px 0 100px;
  }
  .service_first h1 {
    font-size: 50px;
    line-height: 100%;
  }
  .service_first .text_block img {
    max-width: 104px;
  }
  .service_first .text_block p {
    font-size: 30px;
    line-height: 100%;
  }
  .service_second .section-bg {
    margin-top: 60px;
    height: calc(100% + 60px);
  }
  .service_second .services {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
  }
  .service_second .service_inner {
    width: 220px;
    height: 220px;
    padding: 14px;
  }
  .service_second .service_inner p {
    font-size: 20px;
  }
  .service_second .choose_block {
    height: 135px;
    padding: 40px 35px;
  }
  .service_second .choose_block .decor_block::before {
    height: 44px;
    left: 0;
    bottom: -12px;
    background-position: left top;
  }
  .service_second .choose_block p.decor {
    font-size: 30px;
  }
  .service_second .choose_block p {
    font-size: 20px;
  }
  .service_second .choose_block .button {
    max-width: 180px;
  }
  .service_second .choose_block a {
    font-size: 20px;
    padding: 15px 20px 15px 40px;
  }
  .service_second .choose_block a::before {
    width: 21.99px;
    height: 26.38px;
    left: 15px;
    top: calc(50% - 13.19px);
  }
}

@media screen and (max-width: 1024px) {
  .service_second .services {
    width: 100%;
    max-width: 1160px;
  }
  .service_second .service_inner {
    width: 180px;
    height: 180px;
  }
  .service_second .choose_block {
    margin-top: 65px;
  }
}

@media screen and (max-width: 768px) {
  .service_second .services {
    width: 100%;
    max-width: 520px;
  }
  .service_second .service_inner {
    width: 250px;
    height: 250px;
    padding: 12px;
    margin-bottom: 20px;
  }
  .service_second .choose_block {
    display: block;
    height: auto;
    margin-top: 65px;
  }
  .service_second .choose_block .decor_block {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: none;
    margin: 0 auto;
  }
  .service_second .choose_block .text {
    text-align: center;
  }
  .service_second .choose_block .button {
    margin: 40px auto 50px;
  }
}

@media screen and (max-width: 586px) {
  .service_first .main_block {
    padding: 24px 0 60px;
  }
  .service_first h1 {
    font-size: 25px;
  }
  .service_first .text_block {
    max-width: 80%;
    margin: 0 auto;
  }
  .service_first .text_block p {
    font-size: 14px;
    margin-top: 22px;
  }
  .service_second .services {
    width: 100%;
    max-width: 350px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .service_second .service_inner {
    width: 100%;
    max-width: 170px;
    height: 170px;
    padding: 12px;
    margin-bottom: 0;
  }
  .service_second .service_inner p {
    font-size: 14px;
    left: 12px;
    bottom: 12px;
    line-height: 100%;
  }
  .service_second .choose_block .button {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: none;
    margin: 35px auto 20px;
  }
  .service_second .choose_block .decor_block::before {
    bottom: -18px;
  }
  .service_second .choose_block p:not(.decor) {
    font-size: 14px;
    max-width: 70%;
    margin: 0 auto;
  }
  .service_second .choose_block p.decor {
    font-size: 25px;
  }
  .service_second .choose_block a {
    padding: 15px 25px 15px 50px;
  }
}

/*--------------------------------------------------------------
# Foundation page
--------------------------------------------------------------*/
.foundations .main_block {
  min-height: 1000px;
}

.foundations .title_block h1 {
  font-style: normal;
  font-weight: 800;
  color: #000000;
  margin: 0;
}

/*--------------------------------------------------------------
# BLog page
--------------------------------------------------------------*/
.blog_title .title_block {
  margin-bottom: 38px;
}

.blog_title .title_block h1 {
  font-style: normal;
  font-weight: 800;
  margin: 0;
  color: #000000;
}

.filter {
  margin-top: 0;
  background-color: #F6F6F6;
}

.filter .main_block {
  padding: 55px 0 200px;
}

.filter .filter_form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.filter .col {
  width: 100%;
  max-width: 450px;
}

.filter .col h2 {
  font-style: normal;
  font-weight: bold;
  line-height: 100%;
  color: #000000;
  margin: 0;
}

.filter .categories,
.filter .themes {
  margin-top: 31px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.filter .category {
  width: 100%;
  max-width: 210px;
  height: 100%;
}

.filter .category button,
.filter .category a {
  width: 100%;
  border: 2px solid #FFBB00;
  background-color: transparent;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  min-height: 51px;
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  line-height: 120%;
  color: #000000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 10px;
  cursor: pointer;
}

.filter .category button:hover, .filter .category button:active,
.filter .category a:hover,
.filter .category a:active {
  background-color: #FFBB00;
}

.filter .category button.active,
.filter .category a.active {
  background-color: #FFBB00;
}

.filter .category a {
  text-decoration: none;
}

.filter .category i.microphone {
  margin-right: 4px;
  content: url("/wp-content/themes/church/img/blog/podcast_icon.svg");
}

.filter .category i.article {
  margin-right: 4px;
  content: url("/wp-content/themes/church/img/blog/article_icon.svg");
}

.filter .category i.books {
  margin-right: 4px;
  content: url("/wp-content/themes/church/img/blog/book_icon.svg");
}

.filter .category i.video {
  margin-right: 4px;
  content: url("/wp-content/themes/church/img/blog/video_icon.svg");
}

.filter .category i.file {
  margin-right: 4px;
  content: url("/wp-content/themes/church/img/blog/file_icon.svg");
}

.filter .theme {
  width: 100%;
  max-width: 210px;
  height: 100%;
}

.filter .theme button,
.filter .theme a {
  width: 100%;
  border: 2px solid #FFBB00;
  background-color: transparent;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  min-height: 51px;
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  line-height: 120%;
  color: #000000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 10px;
  cursor: pointer;
}

.filter .theme button:hover, .filter .theme button:active,
.filter .theme a:hover,
.filter .theme a:active {
  background-color: #FFBB00;
}

.filter .theme button.active,
.filter .theme a.active {
  background-color: #FFBB00;
}

.filter .theme a {
  text-decoration: none;
}

.filter .time_block {
  margin-top: 31px;
}

.filter .time_block .heat-slider--h {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.filter .time_block .heat-slider--h .heat-slider--label + * {
  position: absolute;
  margin-left: 1em;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.filter .time_block .heat-slider--v {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
}

.filter .time_block .heat-slider--v .heat-slider--label + * {
  margin-top: 1em;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.filter .time_block .heat-slider {
  --slider-base: #F6F6F6;
  --slider-handle-size: 1em;
  --p: 15.0%;
  height: 51px;
  width: 100%;
}

.filter .time_block .heat-slider--input {
  position: relative;
  overflow: hidden;
  line-height: 0;
  background: -webkit-gradient(linear, left top, right top, from(#FFBB00));
  background: linear-gradient(to right, #FFBB00);
  border: 2px solid #FFBB00;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
}

.filter .time_block .heat-slider--input::before {
  content: '';
  position: absolute;
  pointer-events: none;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-right: -1px;
  border-radius: var(--slider-radius);
  background: -webkit-gradient(linear, left top, right top, color-stop(0, transparent), color-stop(transparent), color-stop(var(--slider-base)), to(var(--slider-base)));
  background: linear-gradient(to right, transparent 0, transparent calc(var(--p) + var(--slider-handle-size) / 2), var(--slider-base) var(--p), var(--slider-base) 100%);
}

.filter .time_block .heat-slider--input input {
  z-index: 1;
  width: 100%;
  height: 51px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font: inherit;
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
}

.filter .time_block .heat-slider--input input::-webkit-slider-runnable-track {
  background: transparent;
  padding: calc(var(--slider-handle-size) / 1.6) 0;
  margin: 0 calc(var(--slider-handle-size) / 2 * -1);
  cursor: pointer;
}

.filter .time_block .heat-slider--input input::-moz-range-track {
  background: transparent;
  padding: calc(var(--slider-handle-size) / 1.6) 0;
  margin: 0 calc(var(--slider-handle-size) / 2 * -1);
  cursor: pointer;
}

.filter .time_block .heat-slider--input input::-webkit-slider-thumb {
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  -webkit-box-shadow: 0 0 0 0.4em #FFBB00;
  box-shadow: 0 0 0 0.4em #FFBB00;
  height: 30px;
  width: 30px;
  margin-left: 6px;
  margin-bottom: 5px;
  background: #FFBB00;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  cursor: -webkit-grab;
  cursor: grab;
}

.filter .time_block .heat-slider--input input::-moz-range-thumb {
  position: relative;
  -moz-appearance: none;
  appearance: none;
  box-shadow: 0 0 0 0.4em #FFBB00;
  height: 30px;
  width: 30px;
  margin-left: 6px;
  margin-bottom: 5px;
  background: #FFBB00;
  transform: rotate(45deg);
  cursor: grab;
}

.filter .time_block .heat-slider--input input:focus {
  outline: none;
}

.filter .time_block .heat-slider--input input:active::-webkit-slider-thumb {
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  -webkit-box-shadow: 0 0 0 0.4em #FFBB00;
  box-shadow: 0 0 0 0.4em #FFBB00;
  height: 30px;
  width: 30px;
  margin-left: 6px;
  margin-bottom: 5px;
  background: #FFBB00;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.filter .time_block .heat-slider--input input:active::-moz-range-thumb {
  position: relative;
  -moz-appearance: none;
  appearance: none;
  box-shadow: 0 0 0 0.4em #FFBB00;
  height: 30px;
  width: 30px;
  margin-left: 6px;
  margin-bottom: 5px;
  background: #FFBB00;
  transform: rotate(45deg);
  cursor: grabbing;
}

.filter .time_block output {
  position: absolute;
  top: 0;
  left: 0;
  margin: 1em 1.2em;
  opacity: 1;
  z-index: 2;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 100%;
  font-family: "Muller";
  color: #000000;
}

.filter .reset_btn {
  display: block;
  margin-top: 93px;
  margin-left: auto;
  background: #FFFFFF;
  border-radius: 5px;
  width: 154px;
  height: 39px;
  border: none;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #9C9B9B;
  cursor: pointer;
}

.blog_main {
  margin-top: -100px;
}

.blog_main .section-bg {
  background-color: #fff;
}

.blog_main .articles_main {
  width: 100%;
  max-width: 1414px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 86px 32px;
  margin: 0 auto;
}

.blog_main .article {
  width: 100%;
  max-width: 450px;
}

.blog_main .img_block {
  width: 100%;
  margin-bottom: 25px;
}

.blog_main .img_block img {
  width: 100%;
  border-radius: 15px;
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
}

.blog_main .title_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  min-height: 60px;
}

.blog_main .title_block .title {
  width: 100%;
  max-width: 347px;
}

.blog_main .title_block a {
  text-decoration: none;
  color: #1F1C1C;
}

.blog_main .title_block a:hover, .blog_main .title_block a:active {
  color: #FFBB00;
}

.blog_main .title_block h3 {
  margin: 0;
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  line-height: 100%;
}

.blog_main .right_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.blog_main .right_block .category {
  margin-right: 7px;
  margin-top: 5px;
  display: block;
}

.blog_main .right_block .category img {
  margin-top: 4px;
}

.blog_main .right_block .theme {
  margin-top: 5px;
}

.blog_main .right_block span,
.blog_main .right_block a {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #9C9B9B;
}

.blog_main .short_content {
  max-height: 88px;
  margin-top: 30px;
  margin-bottom: 25px;
}

.blog_main .short_content p {
  font-style: normal;
  font-weight: normal;
  font-size: 15px;
  line-height: 100%;
  color: #1F1C1C;
}

.blog_main .line {
  width: 100%;
  height: 1px;
  background-color: #9C9B9B;
}

.blog_main .about {
  margin-top: 17px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.blog_main .about a {
  color: #C4C4C4;
  text-decoration: none;
}

.blog_main .about a:hover, .blog_main .about a:active {
  color: #FFBB00;
}

.blog_main .about > div {
  width: 100%;
  line-height: 100%;
}

.blog_main .about .author {
  max-width: 158px;
  text-align: left;
}

.blog_main .about .time {
  max-width: 88px;
  text-align: center;
  color: #C4C4C4;
}

.blog_main .about .date {
  max-width: 88px;
  text-align: right;
  color: #C4C4C4;
}

.blog_main .about span {
  font-style: normal;
  font-weight: normal;
  font-size: 15px;
  line-height: 100%;
  margin: 0;
}

@media screen and (max-width: 1640px) {
  .filter .col {
    width: 100%;
    max-width: 430px;
  }
}

@media screen and (max-width: 1500px) {
  .filter .col {
    width: 100%;
    max-width: 400px;
  }
  .filter .category {
    max-width: 190px;
  }
  .filter .category a {
    font-size: 16px;
  }
  .filter .theme {
    max-width: 190px;
  }
  .filter .theme a {
    font-size: 16px;
  }
}

@media screen and (max-width: 1368px) {
  .filter .col {
    width: 100%;
    max-width: 380px;
  }
  .filter .col h2 {
    font-size: 30px;
  }
  .filter .category {
    max-width: 180px;
  }
  .filter .category a {
    font-size: 15px;
    line-height: 100%;
  }
  .filter .theme {
    max-width: 180px;
  }
  .filter .theme a {
    font-size: 15px;
    line-height: 100%;
  }
  .filter .time_block output {
    font-size: 15px;
    margin: 16px 1.2em;
  }
  .blog_main .title_block {
    min-height: 40px;
  }
  .blog_main .title_block h3 {
    font-size: 20px;
  }
  .blog_main .right_block {
    line-height: normal;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
  }
  .blog_main .right_block .category {
    margin-top: 0;
  }
  .blog_main .right_block .theme {
    margin-top: 0;
  }
  .blog_main .right_block span,
  .blog_main .right_block a {
    font-size: 12px;
  }
  .blog_main .short_content p {
    font-size: 12px;
  }
  .blog_main .about span {
    font-size: 12px;
  }
}

@media screen and (max-width: 1200px) {
  .filter .filter_form {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .filter .col:last-of-type {
    margin-top: 62px;
    max-width: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .filter .col:last-of-type h2 {
    -ms-flex-item-align: center;
    align-self: center;
  }
  .filter .reset_btn {
    margin-top: 0;
    -ms-flex-item-align: center;
    align-self: center;
    height: 51px;
  }
  .filter .time_block {
    -ms-flex-item-align: center;
    align-self: center;
    width: 100%;
    max-width: 322px;
    margin-top: 0;
    margin-left: 20px;
  }
}

@media screen and (max-width: 1024px) {
  .filter .col {
    max-width: 320px;
  }
  .filter .category {
    max-width: 150px;
  }
  .filter .theme {
    max-width: 150px;
  }
  .blog_main .articles_main {
    gap: 60px 17px;
  }
}

@media screen and (max-width: 768px) {
  .filter .col:last-of-type {
    display: block;
  }
  .filter .time_block {
    margin-left: 0;
    margin-top: 20px;
    max-width: 100%;
  }
  .filter .reset_btn {
    margin: 38px auto 0;
  }
  .blog_main .articles_main {
    gap: 60px 17px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 720px) {
  .filter .col {
    max-width: 350px;
    margin: 0 0 10px;
  }
  .filter .col:last-of-type {
    margin: 10px 0 0;
  }
  .filter .categories,
  .filter .themes {
    margin-top: 14px;
  }
  .filter .category {
    max-width: 168px;
  }
  .filter .category a {
    min-height: 36px;
  }
  .filter .theme {
    max-width: 168px;
  }
  .filter .theme a {
    min-height: 36px;
  }
}

@media screen and (max-width: 586px) {
  .blog_main .articles_main {
    gap: 30px;
    grid-template-columns: repeat(1, 1fr);
  }
  .blog_main .article {
    margin: 0 auto;
    display: none;
  }
  .blog_main .article:nth-of-type(1), .blog_main .article:nth-of-type(2), .blog_main .article:nth-of-type(3) {
    display: block;
  }
}

/*--------------------------------------------------------------
# author page
--------------------------------------------------------------*/
.author_first {
  margin-top: 100px !important;
  min-height: 590px;
}

.author_first .section-bg {
  background-color: #F6F6F6;
}

.author_first .main_block {
  width: 100%;
  max-width: 1414px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 50px 0;
}

.author_first .img_block {
  width: 100%;
  max-width: 450px;
  margin-top: -100px;
}

.author_first .text_block {
  width: 100%;
  max-width: 830px;
}

.author_first .text_block .first_text {
  font-style: normal;
  font-weight: normal;
  font-size: 26px;
  line-height: 100%;
  margin: 0;
  color: #1F1C1C;
}

.author_first .text_block h1 {
  font-style: normal;
  font-weight: 800;
  font-size: 70px;
  line-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #1F1C1C;
  margin: 0;
  max-width: 672px;
}

.author_first .text_block .social_block {
  margin: 20px 0;
}

.author_first .text_block ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  padding-left: 0;
}

.author_first .text_block li {
  margin-right: 25px;
}

.author_first .text_block a {
  color: transparent;
}

.author_first .description_block p {
  font-style: normal;
  font-weight: normal;
  font-size: 26px;
  line-height: 100%;
  margin: 0;
  color: #9C9B9B;
}

.author_first img {
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  border-radius: 15px;
}

section.author_main {
  margin-top: 0;
}

section.author_main .section-bg {
  background-color: #F6F6F6;
  height: 309px;
}

.all_articles {
  position: relative;
  height: 97px;
  margin-top: 78px;
}

.all_articles .section-bg {
  background-color: #FFBB00;
}

.all_articles .btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 233px;
  margin: 0 auto;
}

.all_articles .btn a {
  display: block;
  position: relative;
  height: 97px;
  -ms-flex-item-align: center;
  align-self: center;
  font-style: normal;
  font-weight: bold;
  font-size: 40px;
  line-height: 120%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #000000;
  text-decoration: none;
}

.all_articles .btn a::before {
  position: absolute;
  content: '';
  width: 20px;
  height: 20px;
  right: -35px;
  top: calc(50% - 6px);
  background-image: url("/img/blog/Arrow_Right.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

@media screen and (max-width: 1500px) {
  .author_first .main_block {
    padding: 50px 0 0;
  }
  .author_first .img_block {
    width: 100%;
    max-width: 400px;
  }
  .author_first .text_block h1 {
    font-size: 50px;
  }
  .author_first .description_block p {
    font-size: 20px;
  }
  section.author_main .section-bg {
    height: 10%;
  }
  .all_articles {
    height: 75px;
  }
  .all_articles .btn a {
    height: 75px;
  }
}

@media screen and (max-width: 1368px) {
  .author_first {
    min-height: 390px;
  }
  .author_first .img_block {
    width: 100%;
    max-width: 321px;
    margin-right: 40px;
  }
  .author_first .text_block h1 {
    font-size: 40px;
  }
  .author_first .description_block p {
    font-size: 20px;
  }
}

@media screen and (max-width: 1024px) {
  .author_first {
    min-height: 390px;
  }
  .author_first .main_block {
    padding: 50px 0;
  }
  .author_first .text_block .first_text {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .author_first .text_block img {
    width: 35px;
    height: 35px;
  }
  .author_first .text_block li {
    margin-right: 15px;
  }
  .author_first .img_block {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 767px) {
  .author_first .main_block {
    display: block;
  }
  .author_first .text_block h1 {
    max-width: none;
    width: 100%;
    text-align: center;
    display: block;
  }
  .author_first .text_block ul {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .author_first .img_block {
    margin: -100px auto 0;
  }
  .author_first .text_block {
    margin: 20px auto 0;
    text-align: center;
  }
  .author_first .description_block p {
    font-size: 14px;
  }
}

@media screen and (max-width: 586px) {
  .all_articles {
    height: 75px;
  }
  .all_articles .btn {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
  .all_articles .btn a {
    height: 75px;
    font-size: 20px;
  }
  .all_articles .btn a::before {
    top: calc(50% - 8px);
  }
}

/*--------------------------------------------------------------
# Blog post page
--------------------------------------------------------------*/
.post_main .top_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.post_main .img_block {
  position: relative;
  width: 100%;
  max-width: 1172px;
}

.post_main .img {
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  margin-left: 120px;
}

.post_main .img img {
  border-radius: 15px;
}

.post_main .yellow_block {
  position: absolute;
  left: 0;
  bottom: -30px;
  width: 100%;
  max-width: 930px;
  padding: 53px;
  background: #FFBB00;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.post_main .yellow_block p {
  font-style: normal;
  font-weight: bold;
  font-size: 50px;
  line-height: 100%;
  color: #000000;
  margin: 0;
}

.post_main .category_block {
  margin-left: auto;
  width: 100%;
  max-width: 142px;
  margin-top: 31px;
  margin-right: 30px;
}

.post_main .category_block .right_block {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.post_main .category_block .category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: center;
  align-self: center;
}

.post_main .category_block .theme {
  -ms-flex-item-align: center;
  align-self: center;
}

.post_main .category_block .theme a {
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 100%;
  color: #9C9B9B;
  text-decoration: none;
}

.post_main .category_block img {
  width: 32.84px;
  height: 36px;
}

.post_main .category_block span {
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 100%;
  color: #9C9B9B;
}

.post_main .about_block {
  margin-left: 54px;
  width: 100%;
  max-width: 340px;
  margin-top: 100px;
}

.post_main .about_block div.author {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 42px;
}

.post_main .about_block .time {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 42px;
}

.post_main .about_block .date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.post_main .about_block .author_inner,
.post_main .about_block .time_inner,
.post_main .about_block .date_inner {
  -ms-flex-item-align: center;
  align-self: center;
}

.post_main .about_block .author_inner p,
.post_main .about_block .time_inner p,
.post_main .about_block .date_inner p {
  font-style: normal;
  font-weight: bold;
  font-size: 25px;
  line-height: 100%;
  color: #9C9B9B;
  margin: 0;
}

.post_main .about_block .author_inner a,
.post_main .about_block .author_inner span,
.post_main .about_block .time_inner a,
.post_main .about_block .time_inner span,
.post_main .about_block .date_inner a,
.post_main .about_block .date_inner span {
  font-style: normal;
  font-weight: normal;
  font-size: 25px;
  line-height: 100%;
  color: #9C9B9B;
  text-decoration: none;
}

.post_main .about_block img {
  display: block;
  -ms-flex-item-align: center;
  align-self: center;
  width: 40px;
  height: 40px;
  margin-right: 19px;
}

.post_main .center_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 70px;
  margin-left: 120px;
  margin-bottom: 100px;
}

.post_main .content {
  width: 100%;
  max-width: 1052px;
}

.post_main .content p,
.post_main .content li {
  font-style: normal;
  font-weight: normal;
  font-size: 26px;
  line-height: 100%;
  color: #000000;
}

.post_main .content a {
  font-style: normal;
  font-weight: normal;
  font-size: 26px;
  line-height: 100%;
}

.post_main .content blockquote {
  position: relative;
  font-style: normal;
  font-weight: 300;
  font-size: 26px;
  line-height: 100%;
  color: #000000;
  margin: 56px 30px 56px 106px;
}

.post_main .content blockquote::before {
  position: absolute;
  content: '';
  width: 3px;
  height: 100%;
  top: 0;
  left: -30px;
  background-color: #FFBB00;
}

.post_main .sidebar {
  position: relative;
  width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  max-width: 340px;
}

.post_main .sidebar::before {
  position: absolute;
  content: '';
  width: 3px;
  height: 100%;
  left: -30px;
  top: 0;
  background: #F6F6F6;
  border-radius: 18px;
}

.post_main .sidebar .sidebar_title {
  font-style: normal;
  font-weight: bold;
  font-size: 25px;
  line-height: 100%;
  color: #000000;
}

.post_main .sidebar ul {
  list-style: none;
  padding-left: 0;
}

.post_main .another_posts a {
  text-decoration: none;
}

.post_main .another_posts_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 15px;
}

.post_main .another_posts_inner img {
  width: 90px;
  height: 61px;
  margin-right: 30px;
  -ms-flex-item-align: center;
  align-self: center;
  border-radius: 5px;
}

.post_main .another_posts_inner p {
  -ms-flex-item-align: center;
  align-self: center;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #000000;
  margin: 0;
}

.post_main .another_posts_inner p:hover {
  color: #FFBB00;
}

.last_post {
  position: relative;
}

.last_post .section-bg {
  margin-top: 163px;
  background-color: #F7F7F7;
}

.last_post .articles_main {
  width: 100%;
  max-width: 1414px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 23px;
  margin: 0 auto;
}

.last_post .article {
  width: 100%;
  max-width: 450px;
}

.last_post .img_block {
  width: 100%;
  margin-bottom: 25px;
}

.last_post .img_block img {
  width: 100%;
  border-radius: 15px;
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
}

.last_post .title_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  min-height: 60px;
}

.last_post .title_block .title {
  width: 100%;
  max-width: 347px;
}

.last_post .title_block a {
  text-decoration: none;
  color: #1F1C1C;
}

.last_post .title_block a:hover, .last_post .title_block a:active {
  color: #FFBB00;
}

.last_post .title_block h3 {
  margin: 0;
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  line-height: 100%;
}

.last_post .right_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.last_post .right_block .category {
  margin-right: 7px;
  margin-top: 5px;
  display: block;
}

.last_post .right_block .category img {
  margin-top: 4px;
}

.last_post .right_block .theme {
  margin-top: 5px;
}

.last_post .right_block .theme a {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #9C9B9B;
}

.last_post .right_block span {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #9C9B9B;
}

.last_post .short_content {
  max-height: 88px;
  margin-top: 30px;
  margin-bottom: 25px;
}

.last_post .short_content p {
  font-style: normal;
  font-weight: normal;
  font-size: 15px;
  line-height: 100%;
  color: #1F1C1C;
}

.last_post .line {
  width: 100%;
  height: 1px;
  background-color: #9C9B9B;
}

.last_post .about {
  margin-top: 17px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.last_post .about a {
  color: #C4C4C4;
  text-decoration: none;
}

.last_post .about a:hover, .last_post .about a:active {
  color: #FFBB00;
}

.last_post .about > div {
  width: 100%;
  line-height: 100%;
}

.last_post .about .author {
  max-width: 158px;
  text-align: left;
}

.last_post .about .time {
  max-width: 88px;
  text-align: center;
  color: #C4C4C4;
}

.last_post .about .date {
  max-width: 88px;
  text-align: right;
  color: #C4C4C4;
}

.last_post .about span {
  font-style: normal;
  font-weight: normal;
  font-size: 15px;
  line-height: 100%;
  margin: 0;
}

@media screen and (max-width: 1640px) {
  .post_main .img {
    margin-left: 0;
  }
  .post_main .yellow_block {
    position: absolute;
    left: -50px;
    bottom: -30px;
    width: calc(100% - 150px);
  }
  .post_main .yellow_block p {
    font-size: 30px;
  }
  .post_main .center_block {
    margin-left: 0;
  }
  .post_main .sidebar {
    margin-left: 54px;
  }
}

@media screen and (max-width: 1500px) {
  .post_main .category_block {
    max-width: 90px;
  }
  .post_main .category_block img {
    width: 25px;
    height: auto;
  }
  .post_main .category_block .theme a {
    font-size: 20px;
    line-height: 100%;
  }
  .post_main .category_block span {
    font-size: 20px;
    line-height: 100%;
  }
  .post_main .about_block .author {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .post_main .about_block .time {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 32px;
  }
  .post_main .about_block .date {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .post_main .about_block .author_inner,
  .post_main .about_block .time_inner,
  .post_main .about_block .date_inner {
    -ms-flex-item-align: center;
    align-self: center;
  }
  .post_main .about_block .author_inner p,
  .post_main .about_block .time_inner p,
  .post_main .about_block .date_inner p {
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 100%;
    color: #9C9B9B;
    margin: 0;
  }
  .post_main .about_block .author_inner a,
  .post_main .about_block .author_inner span,
  .post_main .about_block .time_inner a,
  .post_main .about_block .time_inner span,
  .post_main .about_block .date_inner a,
  .post_main .about_block .date_inner span {
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 100%;
    color: #9C9B9B;
    text-decoration: none;
  }
  .post_main .about_block img {
    display: block;
    -ms-flex-item-align: center;
    align-self: center;
    width: 30px;
    height: 30px;
    margin-right: 14px;
  }
  .post_main .content p,
  .post_main .content li {
    font-size: 20px;
    line-height: 100%;
  }
  .post_main .content a {
    font-size: 20px;
    line-height: 100%;
  }
  .post_main .content blockquote {
    font-size: 20px;
    line-height: 100%;
    margin: 56px 30px 56px 106px;
  }
  .post_main .content blockquote::before {
    position: absolute;
    content: '';
    width: 3px;
    height: 100%;
    top: 0;
    left: -30px;
    background-color: #FFBB00;
  }
}

@media screen and (max-width: 1368px) {
  .last_post .title_block {
    min-height: 40px;
  }
  .last_post .title_block h3 {
    font-size: 20px;
  }
  .last_post .right_block {
    line-height: normal;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
  }
  .last_post .right_block .category {
    margin-top: 0;
  }
  .last_post .right_block .theme {
    margin-top: 0;
  }
  .last_post .right_block .theme a {
    font-size: 12px;
  }
  .last_post .right_block span {
    font-size: 12px;
  }
  .last_post .short_content p {
    font-size: 12px;
  }
  .last_post .about span {
    font-size: 12px;
  }
}

@media screen and (max-width: 1200px) {
  .post_main .sidebar {
    display: none;
  }
  .post_main .yellow_block {
    padding: 25px;
    bottom: -15px;
  }
  .post_main .yellow_block p {
    font-size: 20px;
  }
  .post_main .category_block {
    margin-top: 5px;
  }
  .post_main .about_block {
    margin-top: 50px;
    max-width: 190px;
  }
  .post_main .about_block .author {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 32px;
  }
  .post_main .about_block .time {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 32px;
  }
  .post_main .about_block .date {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .post_main .about_block .author_inner,
  .post_main .about_block .time_inner,
  .post_main .about_block .date_inner {
    -ms-flex-item-align: center;
    align-self: center;
  }
  .post_main .about_block .author_inner p,
  .post_main .about_block .time_inner p,
  .post_main .about_block .date_inner p {
    font-style: normal;
    font-weight: bold;
    font-size: 15px;
    line-height: 100%;
    color: #9C9B9B;
    margin: 0;
  }
  .post_main .about_block .author_inner a,
  .post_main .about_block .author_inner span,
  .post_main .about_block .time_inner a,
  .post_main .about_block .time_inner span,
  .post_main .about_block .date_inner a,
  .post_main .about_block .date_inner span {
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 100%;
    color: #9C9B9B;
    text-decoration: none;
  }
  .post_main .about_block img {
    display: block;
    -ms-flex-item-align: center;
    align-self: center;
    width: 30px;
    height: 30px;
    margin-right: 14px;
  }
  .post_main .center_block {
    margin-top: 60px;
  }
  .post_main .content h2 {
    font-size: 30px;
  }
  .last_post .section-bg {
    margin-top: 80px;
  }
}

@media screen and (max-width: 889px) {
  .post_main .top_block {
    display: block;
  }
  .post_main .yellow_block {
    padding: 25px 50px 25px 25px;
    width: calc(100% - 75px);
    left: auto;
    right: -75px;
  }
  .post_main .category_block {
    margin-left: 0;
  }
  .post_main .about_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: none;
    margin-left: 0;
  }
  .post_main .about_block img {
    display: none;
  }
  .post_main .about_block .author {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 0;
  }
  .post_main .about_block .time {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 0;
  }
  .post_main .center_block {
    margin-top: 30px;
  }
}

@media screen and (max-width: 768px) {
  .post_main .content p,
  .post_main .content li {
    font-size: 14px;
    line-height: 100%;
  }
  .post_main .content a {
    font-size: 14px;
    line-height: 100%;
  }
  .post_main .content blockquote {
    font-size: 14px;
    line-height: 100%;
    margin: 25px 0 25px 15px;
  }
  .post_main .content blockquote::before {
    position: absolute;
    content: '';
    width: 3px;
    height: 100%;
    top: 0;
    left: -15px;
    background-color: #FFBB00;
  }
}

@media screen and (max-width: 586px) {
  .post_main .yellow_block {
    width: calc(100% - 25px);
    left: auto;
    right: -50px;
  }
  .post_main .yellow_block p {
    font-size: 16px;
  }
  .post_main .category_block {
    max-width: 60px;
  }
  .post_main .category_block .theme a {
    font-size: 12px;
  }
  .post_main .category_block span {
    font-size: 12px;
  }
  .post_main .category_block img {
    width: 14px;
  }
  .post_main .about_block {
    line-height: normal;
  }
  .post_main .about_block .author_inner,
  .post_main .about_block .time_inner,
  .post_main .about_block .date_inner {
    display: block;
    line-height: normal;
    -ms-flex-item-align: center;
    align-self: center;
  }
  .post_main .about_block .author_inner p,
  .post_main .about_block .time_inner p,
  .post_main .about_block .date_inner p {
    font-style: normal;
    font-weight: bold;
    font-size: 10px;
    line-height: 100%;
    color: #9C9B9B;
    margin: 0;
  }
  .post_main .about_block .author_inner a,
  .post_main .about_block .author_inner span,
  .post_main .about_block .time_inner a,
  .post_main .about_block .time_inner span,
  .post_main .about_block .date_inner a,
  .post_main .about_block .date_inner span {
    font-style: normal;
    font-weight: normal;
    font-size: 10px;
    line-height: 100%;
    color: #9C9B9B;
    text-decoration: none;
  }
  .last_post .articles_main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: none;
    gap: inherit;
    grid-template-columns: none;
  }
  .last_post .article {
    margin: 0 auto;
  }
}

/*--------------------------------------------------------------
# podcast block
--------------------------------------------------------------*/
.container_audio {
  width: 1050px;
  margin: 30px auto;
}

.mejs__container {
  margin-top: 10px;
}

.mejs__controls {
  display: block;
}

.mejs__controls, .mejs__container {
  background: none !important;
}

.mejs__time {
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 100%;
  text-align: center;
  color: #C4C4C4;
}

.podcast {
  background: rgba(210, 210, 210, 0.2);
  border-radius: 15px;
  padding: 50px;
}

.podcast .title_part {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  max-width: 390px;
}

.podcast .title_part img {
  display: block;
  -ms-flex-item-align: center;
  align-self: center;
  width: 30.11px;
  height: 36.99px;
  margin-right: 30px;
}

.podcast__episode_title {
  font-style: normal !important;
  font-weight: bold !important;
  font-size: 20px !important;
  line-height: 100%;
  color: #000000;
  margin: 0;
  -ms-flex-item-align: center;
  align-self: center;
}

.podcast__title {
  margin-top: 10px;
  text-transform: uppercase;
  font-size: 11px;
  color: #555;
}

.podcast__title i {
  font-style: normal;
  font-weight: normal;
  text-transform: capitalize;
  margin-left: 10px;
}

.podcast__meta {
  padding: 0 30px 30px 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

.podcast__meta .artwork {
  margin-right: 0;
  -webkit-transform: translateY(-70px);
  transform: translateY(-70px);
}

.podcast__meta .artwork > img {
  border-radius: 3px;
  width: 150px;
  height: 150px;
  -webkit-box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.1);
  margin-bottom: -80px;
}

.mejs-prepended-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 50px;
}

.mejs-appended-buttons {
  top: -46px;
  width: 220px;
  right: 0;
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.mejs__play > button {
  background: #FFBB00 url("/wp-content/themes/church/img/audio/play_icon.svg") no-repeat;
  background-position: center;
  -ms-flex-item-align: center;
  align-self: center;
}

.mejs__pause > button {
  background: #FFBB00 url("/wp-content/themes/church/img/audio/pause_icon.svg") no-repeat;
  background-position: center;
  -ms-flex-item-align: center;
  align-self: center;
}

.mejs__mute > button {
  background: transparent url("/wp-content/themes/church/img/audio/volume_icon.svg") no-repeat;
  background-position: center;
  background-size: contain;
  margin: 0;
  -ms-flex-item-align: center;
  align-self: center;
}

.mejs__unmute > button {
  background: transparent url("/wp-content/themes/church/img/audio/volume_icon_mute.svg") no-repeat;
  background-position: center;
  background-size: contain;
  margin: 0;
  -ms-flex-item-align: center;
  align-self: center;
}

.mejs-skip-back-button,
.mejs__skip-back-button,
.mejs-jump-forward-button,
.mejs__jump-forward-button {
  width: 42px;
  height: 36px;
  -ms-flex-item-align: center;
  align-self: center;
}

.mejs-skip-back-button > button,
.mejs__skip-back-button > button {
  width: 42px;
  height: 36px;
  background: transparent url("/wp-content/themes/church/img/audio/left_arrow.svg") no-repeat;
  background-size: contain;
  background-position: center;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 130%;
  color: #C4C4C4;
}

.mejs-jump-forward-button > button,
.mejs__jump-forward-button > button {
  width: 44px;
  height: 36px;
  display: block;
  background: transparent url("/wp-content/themes/church/img/audio/right_arrow.svg") no-repeat;
  background-position: 3px center;
  background-size: contain;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 130%;
  color: #C4C4C4;
}

.mejs__horizontal-volume-slider {
  position: absolute;
  top: -40px;
  left: -80px;
  display: none !important;
}

.mejs__volume-button {
  position: absolute;
  left: -80px;
  top: -4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.mejs__playpause-button {
  position: absolute;
  right: calc(110px - 27px);
  top: -57px;
  z-index: 3;
  border-radius: 10px;
  width: 54px;
  height: 54px;
}

.mejs__playpause-button > button {
  width: 54px;
  height: 54px;
  margin: 0;
  border-radius: 10px;
}

.mejs__time-total {
  background: #FFBB00;
  height: 3px;
  margin: 9px 0 0;
}

.mejs__time-current {
  height: 3px;
  background: #FFBB00;
}

.mejs__time-handle-content {
  border: 0;
  top: -20px;
  width: 34px;
  height: 34px;
  background: transparent url("/wp-content/themes/church/img/audio/play_icon_yellow.svg") no-repeat;
  background-position: center;
  background-size: contain;
  border-radius: 0;
}

.mejs__time-rail .mejs__time-handle-content {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.audio_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.audio_inner .time_codes {
  width: 91px;
  margin-right: 20px;
}

.audio_inner .time_codes p {
  text-align: right;
}

.audio_inner p {
  margin: 13px 0;
}

@media screen and (max-width: 1640px) {
  .container_audio {
    width: 100%;
    max-width: 1050px;
    margin: 30px auto;
  }
}

@media screen and (max-width: 768px) {
  .container_audio {
    position: relative;
  }
  .container_audio::before {
    width: 100vw;
    height: 100%;
    position: absolute;
    content: '';
    top: 0;
    left: 50%;
    margin-left: calc(-1 * (100vw / 2));
    z-index: -1;
    background-color: rgba(210, 210, 210, 0.2);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .podcast {
    background: none;
  }
  .podcast .title_part {
    max-width: none;
    margin-bottom: 40px;
  }
  .mejs-appended-buttons {
    top: 0px;
    width: 220px;
    right: calc(50% - 110px);
  }
  .mejs__playpause-button {
    top: -10px;
    right: calc(50% - 27px);
  }
}

@media screen and (max-width: 586px) {
  .audio_inner .time_codes {
    min-width: 50px;
    width: auto;
  }
  .podcast {
    padding: 50px 0;
  }
  .podcast__episode_title {
    font-size: 14px !important;
  }
  .mejs__volume-button {
    left: -40px;
  }
}

/*--------------------------------------------------------------
# video block
--------------------------------------------------------------*/
.post_main .video_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 100px;
}

.post_main .video_inner .short_text {
  width: 100%;
  max-width: 573px;
}

.post_main .video {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  max-width: 450px;
  background-image: url("/wp-content/themes/church/img/video/video_img.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  margin-right: 30px;
}

.post_main .video .btn {
  -ms-flex-item-align: center;
  align-self: center;
  margin: 0 auto;
}

@media screen and (max-width: 586px) {
  .post_main .video_inner {
    display: block;
    margin: 0 -15px;
  }
  .post_main .video_inner .video {
    max-width: none;
    min-height: 245px;
    border-radius: 0;
    margin-right: 0;
  }
  .post_main .video_inner svg {
    width: 106.82px;
    height: 106.82px;
  }
  .post_main .video_inner .short_text {
    width: calc(100vw - 30px);
    margin: 35px 15px 0;
  }
}

/*--------------------------------------------------------------
# contact page
--------------------------------------------------------------*/
.contacts_first .main_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 74px;
}

.contacts_first .title_block h1 {
  font-style: normal;
  font-weight: 800;
  margin: 0;
  color: #000000;
}

.contacts_first .social_top h3,
.contacts_first .social_top .h3 {
  font-style: normal;
  font-weight: 800;
  font-size: 30px;
  line-height: 200%;
  text-align: right;
  text-transform: uppercase;
  color: #FFBB00;
  margin: 0;
}

.contacts_first .social_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  max-width: 209px;
  margin-left: auto;
}

.contacts_first .social_block a {
  width: 56.95px;
  height: 56.95px;
  text-decoration: none;
}

.contact_second {
  position: relative;
}

.contact_second .section-bg {
  background-color: #F7F7F7;
}

.contact_second .main_block {
  padding: 110px 0;
}

.contact_second .inner_block {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.contact_second .inner_block .col {
  width: 100%;
  max-width: 420px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.contact_second .inner_block .img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 37px;
  margin-right: 57px;
  -ms-flex-item-align: center;
  align-self: center;
}

.contact_second .inner_block .img img {
  -ms-flex-item-align: center;
  align-self: center;
}

.contact_second .inner_block .subtitle {
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #000000;
  margin: 0;
}

.contact_second .inner_block a {
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #000000;
  text-decoration: none;
}

.contact_second .inner_block a:hover {
  color: #FFBB00;
}

.contact_map .main_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 157px 0 131px;
}

.contact_map .location_block {
  position: relative;
  width: 100%;
  max-width: 654px;
  -ms-flex-item-align: center;
  align-self: center;
}

.contact_map .location_block::before {
  position: absolute;
  content: '';
  width: 219px;
  height: 225px;
  top: -15px;
  left: -100px;
  background-image: url("/img/mainpage/location_stripe.svg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.contact_map h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 100%;
  text-transform: uppercase;
  color: #000000;
  margin: 0;
  max-width: 322px;
}

.contact_map .country_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 43px;
}

.contact_map .country_list a {
  font-family: "Muller";
  width: 100%;
  max-width: 325px;
  font-style: normal;
  font-weight: normal;
  font-size: 25px;
  line-height: 25px;
  text-transform: uppercase;
  color: #000000;
  text-decoration: none;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  padding-left: 35px;
}

.contact_map .country_list a:hover, .contact_map .country_list a:active, .contact_map .country_list a.current {
  color: #FFBB00;
  font-weight: bold;
}

.contact_map .country_list a:hover::before, .contact_map .country_list a:active::before, .contact_map .country_list a.current::before {
  background-image: url("/img/mainpage/loc_icon_yellow.svg");
}

.contact_map .country_list a::before {
  position: absolute;
  content: '';
  width: 20px;
  height: 26px;
  left: 0;
  top: -2px;
  background-image: url("/img/mainpage/loc_icon_black.svg");
  background-position: top;
  background-size: contain;
  background-repeat: no-repeat;
}

.contact_map .map_img_block {
  width: 100%;
  max-width: 927px;
}

@media screen and (max-width: 1500px) {
  .contacts_first .social_top h3,
  .contacts_first .social_top .h3 {
    font-size: 20px;
  }
  .contacts_first .social_block {
    max-width: 149px;
  }
  .contacts_first .social_block a {
    width: 41.73px;
    height: 41.73px;
  }
  .contact_second .main_block {
    padding: 75px 0;
  }
}

@media screen and (max-width: 1200px) {
  .contact_second .inner_block .img {
    width: 35px;
    margin-right: 15px;
  }
  .contact_second .inner_block .content {
    -ms-flex-item-align: center;
    align-self: center;
  }
  .contact_second .inner_block .subtitle {
    font-size: 15px;
    line-height: 17px;
  }
  .contact_second .inner_block a {
    font-size: 15px;
    line-height: 17px;
  }
  .contact_map h2 {
    font-size: 30px;
    max-width: 316px;
  }
  .contact_map .location_block {
    max-width: 480px;
    margin-left: 60px;
  }
  .contact_map .location_block::before {
    top: -35px;
  }
  .contact_map .country_list a {
    font-size: 20px;
    line-height: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .contact_second .inner_block .img {
    min-width: 35px;
  }
  .contact_second .inner_block .col {
    max-width: 230px;
  }
}

@media screen and (max-width: 767px) {
  .contact_second .main_block {
    padding: 56px 0;
  }
  .contact_second .inner_block {
    display: block;
    max-width: 270px;
    margin: 0 auto;
  }
  .contact_second .inner_block .col {
    max-width: 270px;
    margin: 0 auto 43px;
  }
  .contact_second .inner_block .col:last-of-type {
    margin: 0 auto;
  }
  .contact_map .main_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 56px 0;
  }
  .contact_map h2 {
    font-size: 35px;
    line-height: 100%;
    max-width: 320px;
    text-align: center;
    margin: 0 auto;
  }
  .contact_map .location_block {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .contact_map .location_block::before {
    top: -50px;
    left: calc(50% - 240px);
    -webkit-transform: rotate(42.29deg);
    transform: rotate(42.29deg);
    height: 121.52433175148474px;
    width: 123px;
    left: 178px;
  }
  .contact_map .country_list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .contact_map .country_list a {
    font-size: 20px;
    line-height: 100%;
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
    text-align: center;
    margin: 0 auto 10px;
  }
  .contact_map .map_img_block {
    max-width: 400px;
    margin: 40px auto 0;
  }
}

@media screen and (max-width: 586px) {
  .contacts_first .main_block {
    margin-bottom: 24px;
  }
  .contacts_first .social_top h3,
  .contacts_first .social_top .h3 {
    font-size: 10px;
  }
  .contacts_first .social_block {
    max-width: 68px;
  }
  .contacts_first .social_block a {
    width: 20px;
    height: 20px;
  }
}

/*--------------------------------------------------------------
# Control page
--------------------------------------------------------------*/
.control .title_block h1 {
  margin: 0;
  font-style: normal;
  font-weight: 800;
  color: #000000;
}

.control .main_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 98px 0;
}

.control .control_inner {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  max-width: 750px;
  min-height: 242px;
  padding: 53px 57px;
  background-color: #FFBB00;
  border-radius: 15px;
  margin-right: 15px;
}

.control .control_inner a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.control .control_inner:last-of-type {
  margin-right: 0;
}

.control .icon_block {
  min-width: 33px;
  height: 33px;
  margin-right: 31px;
}

.control .icon_block img {
  margin-top: 8px;
}

.control .text_block h3,
.control .text_block .h3 {
  margin: 0;
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 100%;
  color: #000000;
}

.control .text_block p {
  margin: 0;
  font-style: normal;
  font-weight: 800;
  font-size: 25px;
  line-height: 130%;
  color: #000000;
}

@media screen and (max-width: 1500px) {
  .control .control_inner {
    min-height: auto;
  }
  .control .text_block h3,
  .control .text_block .h3 {
    font-size: 30px;
    line-height: 100%;
  }
  .control .text_block p {
    margin: 0;
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    line-height: 130%;
    color: #000000;
  }
}

@media screen and (max-width: 1024px) {
  .control .control_inner {
    padding: 40px;
  }
}

@media screen and (max-width: 768px) {
  .control .main_block {
    display: block;
  }
  .control .icon_block {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 30px;
  }
  .control .text_block {
    text-align: center;
  }
  .control .text_block h3,
  .control .text_block .h3 {
    font-size: 20px;
    line-height: 100%;
  }
  .control .text_block p {
    margin: 0;
    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    line-height: 130%;
    color: #000000;
  }
  .control .control_inner {
    display: block;
    padding: 30px;
    margin-bottom: 20px;
    margin-right: 0;
  }
  .control .control_inner:last-of-type {
    margin-bottom: 0;
  }
}

/*--------------------------------------------------------------
# Text page block
--------------------------------------------------------------*/
.text_page_section {
  margin-bottom: 98px;
}

.text_page_section .title_block {
  margin-bottom: 38px;
}

.text_page_section .title_block h1 {
  font-style: normal;
  font-weight: 800;
  margin: 0;
  color: #000000;
}

.text_page_section .subtitle p {
  font-style: normal;
  font-weight: normal;
  font-size: 25px;
  line-height: 150%;
  color: #FFBB00;
}

.text_page_section h2 {
  font-style: normal;
  font-weight: bold;
  color: #000000;
}

.text_page_section p {
  font-style: normal;
  font-weight: normal;
  font-size: 25px;
  line-height: 150%;
  color: #000000;
}

.text_page_section li {
  font-style: normal;
  font-weight: normal;
  font-size: 25px;
  line-height: 150%;
  color: #000000;
}

.text_page_section a {
  text-decoration: none;
  color: #FFBB00;
}

@media screen and (max-width: 1500px) {
  .text-page_section .subtitle {
    font-size: 20px;
    line-height: 150%;
  }
  .text-page_section p {
    font-size: 20px;
    line-height: 150%;
  }
  .text-page_section li {
    font-size: 20px;
    line-height: 150%;
  }
}

@media screen and (max-width: 768px) {
  .text-page_section .title_block h1 {
    font-size: 30px;
  }
  .text-page_section p {
    font-size: 14px;
    line-height: 150%;
  }
  .text-page_section li {
    font-size: 14px;
    line-height: 150%;
  }
}

/*--------------------------------------------------------------
# Local main page
--------------------------------------------------------------*/
.first_section_local .section-bg {
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.first_section_local .main_block {
  padding: 220px 0 220px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto;
}

.first_section_local .main_block .title_block {
  position: relative;
}

.first_section_local .main_block h1 {
  font-style: normal;
  font-weight: 800;
  font-size: 207px;
  line-height: 100%;
  text-align: left;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.first_section_local .main_block .title_right {
  position: absolute;
  right: 0;
  bottom: -30px;
  font-family: 'Black Diamond';
  font-style: normal;
  font-weight: normal;
  font-size: 100px;
  line-height: 120%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  color: #FFBB00;
  text-shadow: 0px 4px 30px #000000;
}

.first_section_local .youtube_block {
  position: relative;
  width: 100%;
  max-width: 357px;
  height: 63px;
  border: 2px solid #FFBB00;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.5));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.5));
  border-radius: 6px;
  padding: 0 20px;
  margin-left: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.first_section_local .youtube_block:hover {
  border: 2px solid #FFBB00;
  background-color: #FFBB00;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.first_section_local .youtube_block:hover p {
  color: #fff;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.first_section_local .youtube_block:hover i {
  background-image: url("/wp-content/themes/church/img/wroclaw/visit/youtube_icon.svg");
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.first_section_local .youtube_block p {
  -ms-flex-item-align: center;
  align-self: center;
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  line-height: 120%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #FFBB00;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.first_section_local .youtube_block a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.first_section_local .youtube_block i {
  display: block;
  -ms-flex-item-align: center;
  align-self: center;
  width: 29.84px;
  height: 21.45px;
  margin-right: 16px;
  background-image: url("/wp-content/themes/church/img/footer/youtube.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.service_local {
  margin-top: 130px;
}

.service_local .main_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
}

.service_local .text_block {
  width: 100%;
  max-width: 630px;
}

.service_local .text_block h2 {
  margin: 0;
  font-style: normal;
  font-weight: 800;
  font-size: 70px;
  line-height: 100%;
  color: #1F1C1C;
  position: relative;
  width: 100%;
  max-width: 450px;
  z-index: 2;
}

.service_local .text_block h2::before {
  position: absolute;
  content: '';
  width: 319px;
  height: 56px;
  left: 0;
  bottom: 0px;
  background-image: url("/wp-content/themes/church/img/mainpage/title_decor.svg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.service_local .text_block .subtitle {
  font-weight: 800;
  font-size: 30px;
  line-height: 100%;
}

.service_local .text_block .date_block .time,
.service_local .text_block .date_block .adres {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.service_local .text_block .date_block .time_icon,
.service_local .text_block .date_block .adres_icon {
  -ms-flex-item-align: center;
  align-self: center;
  margin-right: 25px;
}

.service_local .text_block .date_block p {
  -ms-flex-item-align: center;
  align-self: center;
  font-weight: 300;
  font-size: 20px;
  line-height: 100%;
}

.service_local .text_block .date_block b {
  font-weight: 500;
}

.service_local .text_block .social_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: linear-gradient(89.95deg, #F6F6F6 0.04%, rgba(246, 246, 246, 0) 99.35%);
  border-radius: 10px;
  padding: 30px 34px;
  margin-top: 80px;
}

.service_local .text_block .social_block div {
  -ms-flex-item-align: center;
  align-self: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.service_local .text_block .social_block img,
.service_local .text_block .social_block .preview-img {
  width: 38.02px;
  height: 38.02px;
  -ms-flex-item-align: center;
  align-self: center;
}

.service_local .text_block .social_block .preview-img {
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.service_local .text_block .social_block .preview-img:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.service_local .text_block .social_block a {
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 18px;
}

.service_local .text_block .social_block a:last-of-type {
  margin-right: 0;
}

.service_local .text_block .social_block p {
  -ms-flex-item-align: center;
  align-self: center;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #000000;
  margin: 0 20px 0 0;
}

.service_local .img_block {
  position: relative;
  width: 100%;
  max-width: 730px;
}

.service_local .img_block img {
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  border-radius: 10px;
}

.service_local .img_block .first_img {
  position: absolute;
  right: 0;
  top: 0;
  width: 539px;
  height: 359px;
  z-index: 1;
}

.service_local .img_block .second_img {
  width: 539px;
  height: 360px;
  position: absolute;
  left: 40px;
  bottom: 0;
  z-index: 2;
}

.service_local .img_block .stripe_block {
  position: absolute;
  left: 0;
  top: 23%;
  z-index: 2;
}

.vision_local {
  margin-top: 130px;
  min-height: 673px;
}

.vision_local .main_block {
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
}

.vision_local .text_block {
  width: 100%;
  max-width: 690px;
  margin-left: auto;
  padding-top: 280px;
}

.vision_local .text_block h2 {
  margin: 0;
  font-style: normal;
  font-weight: 800;
  font-size: 70px;
  color: #1F1C1C;
  position: relative;
  width: 100%;
  max-width: 450px;
  z-index: 2;
}

.vision_local .text_block h2::before {
  position: absolute;
  content: '';
  width: 279px;
  height: 46px;
  left: 0;
  bottom: 0px;
  background-image: url("/wp-content/themes/church/img/mainpage/title_decor.svg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.vision_local .text_block p {
  font-style: normal;
  font-size: 30px;
  line-height: 100%;
}

.vision_local .img_bg {
  background-image: url("/wp-content/themes/church/img/vision/vision.jpg");
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 25%;
  margin-left: calc(-1 * (100vw / 2));
  z-index: -1;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.action_local {
  margin-top: 130px;
}

.action_local .main_block {
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
}

.action_local .title_block {
  width: 100%;
  max-width: 540px;
  margin-bottom: 80px;
}

.action_local .title_block h2 {
  font-weight: 800;
  font-size: 70px;
  line-height: 100%;
  margin: 0;
  z-index: 2;
}

.action_local .title_block span {
  position: relative;
}

.action_local .title_block span::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 66px;
  left: 0;
  bottom: -15px;
  background-image: url("/wp-content/themes/church/img/mainpage/title_decor.svg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.action_local .inner_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.action_local .col {
  width: 100%;
  max-width: 450px;
  overflow: hidden;
  height: 360px;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.action_local .col .icon {
  margin-left: 31px;
  margin-top: 49px;
  margin-bottom: 49px;
}

.action_local .col .text {
  margin-left: 36px;
  margin-bottom: 36px;
  max-width: 300px;
  width: 100%;
}

.action_local .col .text p {
  margin: 0;
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  line-height: 100%;
}

.action_local .col .link {
  margin-left: 36px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid #000000;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 5px 15px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #000000;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.action_local .col .link:hover, .action_local .col .link:active {
  border: 1px solid #FFBB00;
  background-color: #FFBB00;
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.calendar_local {
  margin-top: 130px;
}

.calendar_local .main_block {
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.calendar_local .text_block {
  width: 100%;
  max-width: 690px;
  padding-top: 92px;
  padding-bottom: 92px;
}

.calendar_local .text_block .section-bg {
  width: 55vw;
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
}

.calendar_local .text_block h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 70px;
  line-height: 100%;
  color: #000000;
  margin: 0 0 55px;
}

.calendar_local .text_block p {
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 100%;
  color: #1F1C1C;
  margin: 0;
}

.calendar_local .text_block a {
  margin-top: 48px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid #FFBB00;
  background-color: #FFBB00;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 5px 15px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #000000;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.calendar_local .text_block a:hover {
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.calendar_local .img_block {
  position: absolute;
  top: 0;
  right: -10px;
  width: 100%;
  max-width: 590px;
}

.calendar_local .img_block .mob {
  display: none;
}

.at_first_local {
  margin-top: 130px;
}

.at_first_local .main_block {
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.at_first_local .col {
  position: relative;
  width: 100%;
  max-width: 690px;
}

.at_first_local .col h2 {
  margin: 0 0 50px;
  font-style: normal;
  font-weight: 800;
  font-size: 70px;
  line-height: 100%;
  color: #1F1C1C;
  position: relative;
  width: 100%;
  max-width: 475px;
  z-index: 2;
}

.at_first_local .col h2::before {
  position: absolute;
  content: '';
  width: 450px;
  height: 56px;
  left: 0;
  bottom: -10px;
  background-image: url("/wp-content/themes/church/img/wroclaw/title_decor_long.svg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.at_first_local .col p {
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 100%;
  color: #000000;
  margin-bottom: 40px;
}

.at_first_local .col p:first-of-type {
  margin-top: 0;
}

.at_first_local .col p:last-of-type {
  margin-bottom: 0;
}

.at_first_local .col b {
  font-weight: bold;
}

.at_first_local .col a {
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  line-height: 100%;
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
  color: #FFBB00;
}

.at_first_local .col .btn {
  margin-top: 30px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid #FFBB00;
  background-color: #FFBB00;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 9px 17px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #000000;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.at_first_local .col .btn:hover {
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.at_first_local .color_block {
  position: absolute;
  top: 70px;
  width: 100%;
  max-width: 690px;
  right: -90px;
  background: linear-gradient(89.95deg, #F6F6F6 0.04%, rgba(246, 246, 246, 0) 99.35%);
  border-radius: 10px;
  padding: 57px 0 57px 57px;
}

.at_first_local .color_block::after {
  content: '';
  position: absolute;
  top: -43px;
  left: -41px;
  width: 82px;
  height: 87.08px;
  background-image: url("/wp-content/themes/church/img/wroclaw/heart_yellow.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.socials_local {
  margin-top: 220px;
}

.socials_local .section-bg {
  background-color: #FFBB00;
}

.socials_local .right_img {
  position: absolute;
  right: -100px;
  top: -150px;
  z-index: 1;
}

.socials_local .main_block {
  position: relative;
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
}

.socials_local .socials_block_main {
  width: 100%;
  max-width: 600px;
  padding-top: 92px;
  padding-bottom: 105px;
}

.socials_local .socials_block_main h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 70px;
  line-height: 100%;
  margin: 0;
  color: #000000;
}

.socials_local .socials_block {
  width: 100%;
  max-width: 210px;
  margin-top: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.socials_local .socials_block img,
.socials_local .socials_block .preview-img {
  width: 57.27px;
  height: 57.58px;
  -ms-flex-item-align: center;
  align-self: center;
}

.socials_local .socials_block .preview-img {
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.socials_local .socials_block .preview-img:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.socials_local .socials_block a {
  text-decoration: none;
}

.socials_local .mob {
  display: none;
}

@media screen and (max-width: 1640px) {
  .first_section_local .main_block h1 {
    font-size: 180px;
    line-height: 100%;
  }
  .first_section_local .main_block .title_block {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
  .first_section_local .main_block .title_right {
    font-size: 70px;
  }
  .vision_local .img_bg {
    left: 10%;
  }
}

@media screen and (max-width: 1500px) {
  .service_local {
    margin-top: 100px;
  }
  .service_local .text_block h2 {
    font-size: 50px;
  }
  .service_local .text_block h2::before {
    width: 250px;
    bottom: -18px;
  }
  .service_local .img_block {
    height: 450px;
  }
  .service_local .img_block .first_img {
    width: 459px;
    height: 309px;
  }
  .service_local .img_block .second_img {
    width: 459px;
    height: 309px;
  }
  .vision_local {
    margin-top: 100px;
  }
  .vision_local .text_block {
    max-width: 600px;
  }
  .vision_local .text_block h2 {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    font-size: 50px;
  }
  .vision_local .text_block h2::before {
    width: 220px;
    bottom: -8px;
  }
  .vision_local .text_block p {
    font-size: 20px;
    line-height: 100%;
  }
  .action_local {
    margin-top: 100px;
  }
  .action_local .title_block h2 {
    font-size: 50px;
  }
  .action_local .title_block span {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    display: block;
  }
  .action_local .title_block span::before {
    bottom: -30px;
  }
  .action_local .col {
    max-width: 400px;
  }
  .calendar_local {
    margin-top: 100px;
  }
  .calendar_local .text_block {
    padding-top: 62px;
    padding-bottom: 62px;
  }
  .calendar_local .text_block h2 {
    font-size: 50px;
  }
  .calendar_local .text_block p {
    font-size: 20px;
  }
  .calendar_local .img_block {
    max-width: 490px;
  }
  .at_first_local {
    margin-top: 100px;
  }
  .at_first_local .col h2 {
    font-size: 50px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
  .at_first_local .col h2::before {
    width: 100%;
    bottom: -20px;
  }
  .at_first_local .col p {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .at_first_local .col a {
    font-size: 20px;
  }
  .socials_local .socials_block_main {
    padding-top: 62px;
    padding-bottom: 62px;
  }
  .socials_local .socials_block_main h2 {
    font-size: 50px;
  }
  .socials_local .socials_block_main img,
  .socials_local .socials_block_main .preview-img {
    width: 47.27px;
    height: 47.58px;
  }
  .socials_local .socials_block {
    max-width: 180px;
  }
  .socials_local .right_img {
    position: absolute;
    right: -100px;
    top: -100px;
    z-index: 1;
    width: 100%;
    max-width: 575px;
  }
}

@media screen and (max-width: 1368px) {
  .first_section_local .main_block h1 {
    font-size: 160px;
    line-height: 100%;
  }
  .first_section_local .main_block {
    padding: 150px 0 150px;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }
  .first_section_local .youtube_block {
    padding: 0 15px;
    max-width: 287px;
    height: 48px;
  }
  .first_section_local .youtube_block p {
    font-size: 15px;
    line-height: 120%;
  }
  .first_section_local .youtube_block i {
    width: 24.84px;
    height: 18.45px;
  }
  .action_local .col {
    max-width: 360px;
    height: 280px;
  }
  .action_local .col .icon {
    margin-top: 29px;
    margin-bottom: 29px;
  }
  .action_local .col img {
    width: 48.57px;
    height: 43.16px;
  }
  .action_local .col .text {
    width: 100%;
    margin-left: 0;
    padding: 0 36px;
  }
  .action_local .col .text p {
    font-size: 20px;
  }
  .calendar_local .text_block {
    max-width: 590px;
  }
}

@media screen and (max-width: 1200px) {
  .first_section_local .main_block h1 {
    font-size: 130px;
    line-height: 100%;
  }
  .first_section_local .main_block {
    padding: 150px 0 150px;
    width: 100%;
    max-width: 630px;
    margin: 0 auto;
  }
  .service_local .title_block {
    margin-bottom: 30px;
  }
  .service_local .img_block {
    height: 270px;
    max-width: 400px;
  }
  .service_local .img_block .first_img {
    width: 265px;
    height: 177px;
  }
  .service_local .img_block .second_img {
    width: 265px;
    height: 177px;
  }
  .service_local .img_block .stripe_block {
    width: 100px;
  }
  .service_local .text_block {
    max-width: 430px;
  }
  .service_local .text_block .subtitle {
    font-size: 20px;
  }
  .service_local .text_block .date_block p {
    font-size: 15px;
    line-height: 100%;
  }
  .service_local .text_block .date_block img {
    width: 17px;
    -ms-flex-item-align: center;
    align-self: center;
  }
  .service_local .text_block .date_block .time_icon,
  .service_local .text_block .date_block .adres_icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-right: 13px;
  }
  .service_local .text_block .social_block {
    padding: 13px 20px;
    margin-top: 30px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .service_local .text_block .social_block p {
    font-size: 15px;
  }
  .service_local .text_block .social_block img,
  .service_local .text_block .social_block .preview-img {
    width: 27.32px;
    height: 27.31px;
  }
  .service_local .text_block .social_block a {
    margin-right: 13px;
  }
  .vision_local .text_block {
    max-width: 480px;
  }
  .vision_local .img_bg {
    background-size: cover;
  }
  .action_local .col {
    max-width: 263.91px;
    height: 211.13px;
  }
  .action_local .col .icon {
    margin-top: 29px;
    margin-bottom: 29px;
    margin-left: 21px;
  }
  .action_local .col img {
    width: 40.47px;
    height: auto;
  }
  .action_local .col .text {
    padding: 0 21px;
    margin-bottom: 22px;
  }
  .action_local .col .link {
    margin-left: 21px;
    font-size: 12px;
    line-height: 100%;
    border-radius: 3px;
  }
  .calendar_local .text_block {
    max-width: 400px;
  }
  .calendar_local .text_block .section-bg {
    width: 50vw;
  }
  .calendar_local .text_block h2 {
    font-size: 30px;
    margin: 0 0 25px;
  }
  .calendar_local .img_block {
    max-width: 394px;
  }
  .at_first_local .color_block {
    max-width: 490px;
  }
  .socials_local .right_img {
    max-width: 490px;
    top: auto;
    right: 0;
    bottom: -20px;
  }
  .socials_local .socials_block_main {
    max-width: 400px;
  }
  .socials_local .socials_block_main h2 {
    font-size: 40px;
  }
}

@media screen and (max-width: 1024px) {
  .vision_local {
    min-height: 473px;
  }
  .vision_local .img_bg {
    background-size: contain;
    left: 0;
  }
  .vision_local .text_block {
    padding-top: 150px;
    max-width: 480px;
    -ms-flex-item-align: center;
    align-self: center;
  }
  .action_local .col {
    max-width: 243.91px;
  }
  .calendar_local .text_block {
    max-width: 360px;
  }
  .calendar_local .img_block {
    max-width: 360px;
  }
  .socials_local .right_img {
    right: -100px;
  }
}

@media screen and (max-width: 768px) {
  .first_section_local .main_block {
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
    padding: 100px 0 100px;
  }
  .first_section_local .main_block h1 {
    font-size: 70px;
    line-height: 100%;
  }
  .first_section_local .youtube_block {
    position: absolute;
    background-color: #FFBB00;
    height: 40px;
    bottom: -20px;
  }
  .first_section_local .youtube_block i {
    background-image: url("/wp-content/themes/church/img/wroclaw/youtube_black_icon.svg");
  }
  .first_section_local .youtube_block p {
    color: #000;
    font-size: 13px;
    line-height: 120%;
  }
  .service_local .main_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .service_local .img_block {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    margin: 0 auto;
  }
  .service_local .text_block {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin: 50px auto 0;
  }
  .service_local .text_block h2 {
    font-size: 30px;
    text-align: center;
  }
  .service_local .text_block h2::before {
    width: 70%;
    left: 15%;
    bottom: -30px;
    background-size: contain;
    background-position: center;
  }
  .service_local .text_block .subtitle {
    display: block;
    font-size: 16px;
    width: 100%;
    max-width: 240px;
    margin: 30px auto 0;
    text-align: center;
  }
  .service_local .text_block .date_block .time {
    margin: 20px auto 0;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
  .service_local .text_block .date_block .date {
    margin: 20px auto 0;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
  .service_local .text_block .date_block .adres {
    margin: 0 auto 0;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
  .service_local .text_block .social_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    max-width: 230px;
    padding: 18px;
    background: linear-gradient(180.07deg, #F6F6F6 46.12%, rgba(246, 246, 246, 0) 84.25%);
    margin: 30px auto 0;
  }
  .service_local .text_block .social_block p {
    font-size: 15px;
    line-height: 100%;
    text-align: center;
  }
  .service_local .text_block .social_block div {
    margin-top: 29px;
  }
  .service_local .title_block {
    max-width: 230px;
    margin: 0 auto;
  }
  .vision_local {
    min-height: 300px;
    margin-top: 20px;
  }
  .vision_local .img_bg {
    background-size: cover;
    left: 50%;
    width: 100vw;
  }
  .vision_local .text_block {
    margin: 0 auto;
    padding-top: 200px;
    text-align: center;
    max-width: 300px;
  }
  .vision_local .text_block h2 {
    font-size: 30px;
    display: block;
    margin: 0 auto;
  }
  .vision_local .text_block h2::before {
    width: 100%;
    bottom: -20px;
    background-position: center;
    background-size: contain;
  }
  .action_local .title_block {
    max-width: 230px;
    margin: 0 auto 50px;
  }
  .action_local .title_block h2 {
    font-size: 30px;
    text-align: center;
  }
  .action_local .title_block span {
    display: initial;
  }
  .action_local .title_block span::before {
    background-size: contain;
    bottom: -32px;
    background-position: center;
  }
  .action_local .inner_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .action_local .col {
    margin: 0 auto 20px;
  }
  .action_local .col .icon {
    margin: 29px auto;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
  .action_local .col .text p {
    text-align: center;
  }
  .action_local .col .link {
    margin-left: auto;
    margin-right: auto;
  }
  .calendar_local .main_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .calendar_local .img_block {
    position: relative;
    top: auto;
    right: auto;
    margin: 0 auto;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
  .calendar_local .img_block .desctop {
    display: none;
  }
  .calendar_local .img_block .mob {
    width: 100%;
    display: block;
  }
  .calendar_local .text_block {
    position: relative;
    margin: 0 auto;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    text-align: center;
  }
  .calendar_local .text_block .section-bg {
    width: 100vw;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(33.7%, #F7F7F7), to(rgba(247, 247, 247, 0)));
    background: linear-gradient(360deg, #F7F7F7 33.7%, rgba(247, 247, 247, 0) 100%);
  }
  .calendar_local .text_block a {
    margin-left: auto;
    margin-right: auto;
  }
  .at_first_local .main_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .at_first_local .main_block .col {
    max-width: 400px;
    margin: 0 auto;
  }
  .at_first_local .main_block .col:last-of-type {
    margin: 50px auto 0;
  }
  .at_first_local .main_block .col p {
    text-align: center;
  }
  .at_first_local .main_block .col h2 {
    margin: 0 auto 50px;
    font-size: 30px;
  }
  .at_first_local .main_block .col h2::before {
    background-size: contain;
    background-position: center;
    bottom: -30px;
  }
  .at_first_local .main_block .col .btn {
    margin-left: auto;
    margin-right: auto;
  }
  .at_first_local .color_block {
    position: relative;
    max-width: 400px;
    top: auto;
    right: auto;
    padding: 32px 27px;
    background: linear-gradient(180.47deg, #F6F6F6 50.22%, rgba(246, 246, 246, 0) 97.94%);
  }
  .at_first_local .color_block::after {
    width: 45px;
    height: 43.8px;
    top: -22.5px;
    left: -22.5px;
    background-size: contain;
  }
  .socials_local {
    margin-top: 100px;
  }
  .socials_local .section-bg {
    height: 42%;
    top: auto;
    bottom: 0;
  }
  .socials_local .socials_block_main {
    margin: 0 auto 50px;
    padding-top: 0;
    padding-bottom: 0;
    max-width: 400px;
  }
  .socials_local .socials_block_main h2 {
    text-align: center;
    font-size: 30px;
  }
  .socials_local .right_img {
    position: relative;
    bottom: auto;
    top: auto;
    right: auto;
    max-width: 400px;
    margin: 0 auto;
  }
  .socials_local .right_img img {
    width: 100%;
  }
  .socials_local .mob {
    display: block;
  }
  .socials_local .desctop {
    display: none;
  }
  .socials_local .socials_block.mob {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 40px auto 0;
  }
}

@media screen and (max-width: 586px) {
  .first_section_local .main_block .title_right {
    font-size: 40px;
    bottom: -15px;
  }
  .at_first_local .main_block .col {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 386px) {
  .service_local .text_block .date_block .time {
    margin: 20px auto 0;
  }
  .service_local .text_block .date_block .date {
    margin: 20px auto 0;
    width: 100%;
    max-width: 280px;
  }
  .service_local .text_block .date_block .adres {
    margin: 0 auto 0;
    width: 100%;
    max-width: 280px;
  }
  .service_local .text_block .date_block p {
    line-height: 130%;
  }
}

/*--------------------------------------------------------------
# Church local page
--------------------------------------------------------------*/
.church_local {
  margin-bottom: 100px;
}

.church_local.section {
  margin-top: 60px;
}

.church_local .services {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
}

.church_local .service_inner {
  position: relative;
  width: 370px;
  height: 370px;
  padding: 24px 28px;
  margin-bottom: 34px;
  border-radius: 15px;
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.church_local .service_inner p {
  position: absolute;
  left: 28px;
  bottom: 24px;
  width: calc(100% - 56px);
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  line-height: 100%;
  color: #000000;
  margin: 0;
}

.church_local .service_inner a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.church_local .service_inner:hover {
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.2));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.2));
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

@media screen and (max-width: 1640px) {
  .church_local .service_inner {
    width: 335px;
    height: 335px;
  }
}

@media screen and (max-width: 1500px) {
  .church_local .service_inner {
    width: 310px;
    height: 310px;
  }
}

@media screen and (max-width: 1368px) {
  .church_local .services {
    max-width: 825px;
  }
  .church_local .service_inner {
    width: 405px;
    height: 405px;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 1024px) {
  .church_local .services {
    max-width: 825px;
  }
  .church_local .service_inner {
    width: 370px;
    height: 370px;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 768px) {
  .church_local .services {
    max-width: 560px;
  }
  .church_local .service_inner {
    width: 270px;
    height: 270px;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 586px) {
  .church_local .services {
    max-width: 560px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 15px;
  }
  .church_local .service_inner {
    width: 100%;
    max-width: 270px;
    height: 270px;
    margin-bottom: 0;
  }
  .church_local .service_inner p {
    font-size: 16px;
    line-height: 100%;
  }
}

@media screen and (max-width: 426px) {
  .church_local .service_inner {
    width: 100%;
    max-width: 170px;
    height: 170px;
    margin-bottom: 0;
    padding: 12px 14px;
  }
  .church_local .service_inner p {
    font-size: 16px;
    line-height: 100%;
    width: calc(100% - 28px);
    left: 14px;
    bottom: 12px;
  }
}

/*--------------------------------------------------------------
# About local page
--------------------------------------------------------------*/
.about_local_first.section {
  margin-top: 73px;
}

.about_local_first .main_block {
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
}

.about_local_first .title_block {
  margin-bottom: 118px;
}

.about_local_first .title_block p {
  margin-top: 0;
  margin-bottom: 10px;
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 36px;
  color: #000;
}

.about_local_first .title_block h1 {
  margin: 0;
  font-size: 100px;
  text-transform: uppercase;
}

.about_local_first .title_block h1 span {
  font-weight: 300;
}

.about_local_first .inner_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.about_local_first .col {
  width: 100%;
  max-width: 328px;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  padding: 41px;
}

.about_local_first .col h2 {
  margin: 0;
  font-style: normal;
  font-weight: 900;
  font-size: 30px;
  line-height: 100%;
}

.about_local_first .col .btn {
  margin-top: 40px;
  margin-bottom: 10px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid #FFBB00;
  background-color: #FFBB00;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 7px 30px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #000000;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.about_local_first .col .btn:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

.about_local_second {
  margin-top: 147px;
  margin-bottom: 400px;
}

.about_local_second .main_block {
  position: relative;
}

.about_local_second .img_block {
  position: relative;
  width: 100%;
  min-height: 746px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  border-radius: 15px;
}

.about_local_second .text_block {
  padding: 60px;
  position: absolute;
  width: 1396px;
  min-height: 560px;
  background: #FFFFFF;
  border-radius: 15px;
  z-index: 2;
  bottom: -50%;
  left: calc(50% - 698px);
}

.about_local_second .text_block p {
  font-family: "Muller";
  font-style: normal;
  font-weight: normal;
  font-size: 25px;
  line-height: 120%;
  color: #000000;
}

.about_local_second .text_block p:first-of-type {
  margin-top: 0;
}

.about_local_second .text_block p:last-of-type {
  margin-bottom: 0;
}

.about_local_pastors .section-bg {
  background-color: #F6F6F6;
}

.about_local_pastors .main_block {
  padding-top: 170px;
  padding-bottom: 170px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.about_local_pastors .img_block {
  margin-right: 170px;
}

.about_local_pastors .img_block img {
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  border-radius: 15px;
}

.about_local_pastors .title_block {
  margin-top: 100px;
}

.about_local_pastors .title_block p {
  font-style: normal;
  font-weight: 500;
  font-size: 50px;
  line-height: 60px;
  margin: 0;
  color: #000000;
}

.about_local_pastors .title_block h2 {
  margin: 0;
  font-style: normal;
  font-weight: 900;
  font-size: 70px;
  line-height: 120%;
  color: #000000;
}

.about_local_pastors .title_block span.decor {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: relative;
}

.about_local_pastors .title_block span.decor::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 76px;
  left: 0;
  bottom: -28px;
  background-image: url("/wp-content/themes/church/img/wroclaw/about/decor.svg");
  background-position: top;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.about_contact_local.section {
  margin-top: 0;
}

.about_contact_local .section-bg {
  background-color: #F6F6F6;
  height: 340px;
  top: 0;
}

.about_contact_local .img_block {
  width: 100%;
}

.about_contact_local .img_block img {
  margin: 0 auto;
  display: block;
  border-radius: 15px;
}

.about_contact_local .img_block .title_block {
  margin-bottom: 100px;
}

.about_contact_local span.decor {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: relative;
}

.about_contact_local span.decor::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 76px;
  left: 0;
  bottom: -28px;
  background-image: url("/wp-content/themes/church/img/wroclaw/about/decor.svg");
  background-position: top;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.about_contact_local h2 {
  margin: 0;
  font-style: normal;
  font-weight: 800;
  font-size: 70px;
  line-height: 100%;
}

.about_contact_local .contact_main {
  margin-top: 100px;
}

.about_contact_local .contact_main .inner_block {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 100px;
}

.about_contact_local .contact_main .inner_block .col {
  width: 100%;
  max-width: 420px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.about_contact_local .contact_main .inner_block .img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 37px;
  margin-right: 57px;
  -ms-flex-item-align: center;
  align-self: center;
}

.about_contact_local .contact_main .inner_block .img img {
  -ms-flex-item-align: center;
  align-self: center;
}

.about_contact_local .contact_main .inner_block .subtitle {
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #000000;
  margin: 0;
}

.about_contact_local .contact_main .inner_block a {
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #000000;
  text-decoration: none;
}

.about_contact_local .contact_main .inner_block a:hover {
  color: #FFBB00;
}

.about_documents_local {
  margin-top: 150px;
}

.about_documents_local .section-bg {
  background-color: #F6F6F6;
}

.about_documents_local .main_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 87px 0;
}

.about_documents_local span.decor {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: relative;
}

.about_documents_local span.decor::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 76px;
  left: 0;
  bottom: -20px;
  background-image: url("/wp-content/themes/church/img/wroclaw/about/decor.svg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.about_documents_local h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 70px;
  line-height: 100%;
  margin: 0;
}

.about_documents_local p {
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 36px;
  color: #000000;
  margin: 0;
}

.about_documents_local .img_block {
  max-width: 327px;
  width: 100%;
}

.about_documents_local .img_block .mob {
  display: none;
}

.about_documents_local .text_block {
  max-width: 996px;
  width: 100%;
}

.about_documents_local .title_block {
  margin-bottom: 50px;
}

.about_documents_local .btn {
  margin-top: 50px;
  margin-bottom: 10px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid #FFBB00;
  background-color: #FFBB00;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 7px 25px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #000000;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.about_documents_local .btn:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 1640px) {
  .about_local_first .main_block {
    max-width: 90%;
  }
  .about_local_first .text_block {
    margin-bottom: 90px;
  }
  .about_local_first .col {
    max-width: 300px;
    padding: 31px;
  }
  .about_local_second .text_block {
    padding: 50px;
    position: absolute;
    width: 1200px;
    min-height: 560px;
    background: #FFFFFF;
    border-radius: 15px;
    z-index: 2;
    bottom: -50%;
    left: calc(50% - 600px);
  }
}

@media screen and (max-width: 1500px) {
  .about_local_first .title_block h1 {
    font-size: 70px;
  }
  .about_local_first .col {
    max-width: 280px;
  }
  .about_local_pastors .title_block h2 {
    font-size: 50px;
  }
  .about_local_pastors .title_block span.decor::before {
    bottom: -34px;
    background-position: center;
  }
  .about_contact_local h2 {
    font-size: 50px;
  }
  .about_contact_local span.decor::before {
    bottom: -34px;
    background-position: center;
  }
  .about_documents_local h2 {
    font-size: 50px;
  }
  .about_documents_local span.decor::before {
    background-position: center;
    background-size: contain;
    bottom: -30px;
  }
}

@media screen and (max-width: 1368px) {
  .about_local_first .col {
    max-width: 250px;
    padding: 25px;
  }
  .about_local_first .col h2 {
    font-size: 25px;
    min-height: 50px;
  }
  .about_local_second .img_block {
    min-height: 550px;
  }
  .about_local_second .text_block {
    padding: 30px;
    position: absolute;
    width: 1000px;
    min-height: 460px;
    background: #FFFFFF;
    border-radius: 15px;
    z-index: 2;
    bottom: -60%;
    left: calc(50% - 500px);
  }
  .about_local_second .text_block p {
    font-size: 20px;
    line-height: 120%;
  }
  .about_local_pastors .main_block {
    padding-top: 100px;
    padding-bottom: 200px;
  }
  .about_documents_local .text_block {
    max-width: 796px;
  }
  .about_documents_local p {
    font-size: 25px;
    line-height: 120%;
  }
  .about_documents_local .img_block {
    max-width: 300px;
  }
  .about_documents_local span.decor::before {
    bottom: -34px;
  }
}

@media screen and (max-width: 1200px) {
  .about_local_first .main_block {
    max-width: none;
  }
  .about_local_first .title_block {
    margin-bottom: 80px;
  }
  .about_local_first .title_block p {
    font-size: 20px;
    line-height: 120%;
  }
  .about_local_first .title_block h1 {
    font-size: 60px;
  }
  .about_local_first .col {
    max-width: 220px;
  }
  .about_local_first .col h2 {
    font-size: 20px;
    line-height: 120%;
    min-height: 44px;
  }
  .about_local_first .col .btn {
    font-size: 12px;
    line-height: 100%;
  }
  .about_local_second {
    margin-top: 100px;
    margin-bottom: 350px;
  }
  .about_local_second .text_block {
    padding: 30px;
    position: absolute;
    width: 800px;
    min-height: 460px;
    background: #FFFFFF;
    border-radius: 15px;
    z-index: 2;
    bottom: -60%;
    left: calc(50% - 400px);
  }
  .about_local_second .text_block p {
    font-size: 15px;
    line-height: 120%;
  }
  .about_local_pastors .main_block {
    padding-bottom: 100px;
  }
  .about_local_pastors .img_block {
    margin-right: 100px;
    max-width: 400px;
  }
  .about_local_pastors .title_block {
    margin-top: 0;
    -ms-flex-item-align: center;
    align-self: center;
  }
  .about_local_pastors .title_block p {
    font-size: 30px;
    line-height: 120%;
  }
  .about_contact_local .contact_main {
    margin-top: 70px;
  }
  .about_contact_local .contact_main .inner_block {
    margin-top: 70px;
  }
  .about_contact_local .contact_main .inner_block .subtitle {
    font-size: 15px;
    line-height: 120%;
  }
  .about_contact_local .contact_main .inner_block a {
    font-size: 15px;
    line-height: 120%;
  }
  .about_contact_local .contact_main .inner_block .img {
    margin-right: 17px;
  }
  .about_contact_local .img_block .title_block {
    margin-bottom: 70px;
  }
  .about_documents_local {
    margin-top: 100px;
  }
  .about_documents_local .text_block {
    max-width: 500px;
  }
  .about_documents_local p {
    font-size: 20px;
    line-height: 120%;
  }
  .about_documents_local .img_block {
    max-width: 250px;
  }
}

@media screen and (max-width: 1024px) {
  .about_local_first .col {
    max-width: 180px;
  }
  .about_local_first .col .btn {
    margin-bottom: 0;
  }
  .about_local_second {
    margin-top: 100px;
    margin-bottom: 350px;
  }
  .about_local_second .text_block {
    padding: 30px;
    position: absolute;
    width: 700px;
    min-height: 460px;
    background: #FFFFFF;
    border-radius: 15px;
    z-index: 2;
    bottom: -60%;
    left: calc(50% - 350px);
  }
}

@media screen and (max-width: 768px) {
  .about_local_first.section {
    margin-top: 40px;
  }
  .about_local_first .title_block {
    margin-bottom: 60px;
  }
  .about_local_first .title_block p {
    text-align: center;
  }
  .about_local_first .title_block h1 {
    font-size: 40px;
    text-align: center;
  }
  .about_local_first .inner_block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 10px;
    max-width: 350px;
    margin: 0 auto;
  }
  .about_local_first .col {
    max-width: 220px;
    margin: 0 auto;
  }
  .about_local_second .img_block {
    min-height: 450px;
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    border-radius: 0;
    margin-left: calc(-1 * (100vw / 2));
    z-index: -1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .about_local_second .text_block {
    bottom: -75%;
  }
  .about_local_second .main_block {
    min-height: 450px;
  }
  .about_local_pastors .main_block {
    padding-top: 30px;
    padding-bottom: 100px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .about_local_pastors .title_block {
    text-align: center;
    margin-top: 0;
    margin-bottom: 50px;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
  .about_local_pastors .title_block p {
    font-size: 14px;
    line-height: 17px;
  }
  .about_local_pastors .title_block h2 {
    font-size: 30px;
  }
  .about_local_pastors .img_block {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin-right: auto;
    margin-left: auto;
    max-width: 550px;
  }
  .about_contact_local .main_block {
    position: relative;
  }
  .about_contact_local .img_block {
    min-height: 450px;
    width: 100vw;
    margin: 0 -15px;
  }
  .about_contact_local .img_block img {
    border-radius: 0;
  }
  .about_contact_local .img_block .title_block {
    text-align: center;
    margin-top: 0;
    margin-bottom: 50px;
  }
  .about_contact_local .img_block .title_block h2 {
    font-size: 30px;
  }
  .about_contact_local .contact_main {
    margin-top: 0;
    padding-top: 100px;
  }
  .about_contact_local .contact_main h2 {
    text-align: center;
    font-size: 30px;
  }
  .about_contact_local .contact_main .inner_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 35px;
  }
  .about_contact_local .contact_main .inner_block .col {
    margin: 0 auto 10px;
    max-width: 250px;
  }
  .about_contact_local .contact_main .inner_block .img {
    width: 13px;
  }
  .about_contact_local .contact_main .inner_block .subtitle {
    display: none;
  }
  .about_documents_local .img_block {
    position: absolute;
    max-width: 130px;
    top: -75px;
    left: calc(50% - 65px);
  }
  .about_documents_local .img_block .desctop {
    display: none;
  }
  .about_documents_local .img_block .mob {
    display: block;
  }
  .about_documents_local .text_block {
    margin: 0 auto;
    text-align: center;
  }
  .about_documents_local .btn {
    margin-left: auto;
    margin-right: auto;
  }
  .about_documents_local h2 {
    font-size: 30px;
  }
}

@media screen and (max-width: 586px) {
  .about_local_first .col {
    max-width: 220px;
    padding: 14px;
  }
  .about_local_second {
    margin-bottom: 650px;
  }
  .about_local_second .main_block {
    min-height: 300px;
  }
  .about_local_second .img_block {
    min-height: 300px;
  }
  .about_local_second .text_block {
    width: 100%;
    left: calc(50% - 50%);
    bottom: -200%;
  }
  .about_local_pastors .main_block {
    padding-bottom: 50px;
  }
  .about_contact_local .contact_main {
    padding-top: 50px;
  }
  .about_contact_local .section-bg {
    height: 300px;
  }
  .about_contact_local .img_block {
    min-height: auto;
  }
}

/*--------------------------------------------------------------
# Life local page
--------------------------------------------------------------*/
.life_local_first .main_block {
  padding-bottom: 146px;
}

.life_local_first .title_block {
  width: 100%;
  max-width: 615px;
}

.life_local_first .title_block p {
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 36px;
  text-align: right;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: #000000;
}

.life_local_first .title_block h1 {
  font-size: 78px;
  line-height: 100%;
  text-transform: uppercase;
  text-align: right;
  margin: 0;
  color: #000000;
}

.life_local_first .title_block h1 span {
  display: block;
  color: #FFBB00;
  font-weight: 300;
  margin-top: 14px;
}

.life_local_first .img_block {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 55%;
}

.life_local_first .img_block img {
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  border-radius: 15px 0px 0px 15px;
}

.life_local_right.section {
  margin-top: 0;
}

.life_local_right.first .main_block {
  padding: 280px 0 150px;
}

.life_local_right .main_block {
  padding: 130px 0 150px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.life_local_right h2 {
  font-style: normal;
  font-weight: 900;
  font-size: 66px;
  line-height: 100%;
  margin: 40px 0 40px;
}

.life_local_right span.decor {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: relative;
}

.life_local_right span.decor::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 76px;
  left: 0;
  bottom: -28px;
  background-image: url("/wp-content/themes/church/img/wroclaw/about/decor.svg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.life_local_right .img_block {
  width: 100%;
  max-width: 684px;
  min-height: 494px;
  position: relative;
  margin-right: 144px;
}

.life_local_right .img_block img {
  width: 424px;
  height: 282px;
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  border-radius: 15px;
}

.life_local_right .img_block .first_img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.life_local_right .img_block .second_img {
  position: absolute;
  top: 71px;
  right: 0;
  z-index: 2;
}

.life_local_right .img_block .third_img {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 69px;
  z-index: 2;
}

.life_local_right .text_block {
  width: 100%;
  max-width: 802px;
}

.life_local_right .text_block b {
  font-weight: bold;
}

.life_local_right .text_block p {
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 100%;
}

.life_local_right .text_block p:first-of-type {
  margin-top: 0;
}

.life_local_right .text_block p:last-of-type {
  margin-bottom: 0;
}

.life_local_right .text_block .btn {
  margin-top: 50px;
  margin-bottom: 10px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid #FFBB00;
  background-color: #FFBB00;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  padding: 5px 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #000000;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.life_local_right .text_block .btn:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

.life_local_left .main_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 27px 0 127px;
}

.life_local_left h2 {
  font-style: normal;
  font-weight: 900;
  font-size: 66px;
  line-height: 100%;
  margin: 0 0 40px;
}

.life_local_left span.decor {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: relative;
}

.life_local_left span.decor::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 76px;
  left: 0;
  bottom: -28px;
  background-image: url("/wp-content/themes/church/img/wroclaw/about/decor.svg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.life_local_left span.longdecor {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: relative;
}

.life_local_left span.longdecor::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 76px;
  left: 0;
  bottom: -8px;
  background-image: url("/wp-content/themes/church/img/wroclaw/life/long_decor.svg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.life_local_left .img_block {
  width: 100%;
  max-width: 684px;
  min-height: 494px;
  position: relative;
  margin-left: 144px;
}

.life_local_left .img_block img {
  width: 424px;
  height: 282px;
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  border-radius: 15px;
}

.life_local_left .img_block .first_img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.life_local_left .img_block .second_img {
  position: absolute;
  top: 71px;
  right: 0;
  z-index: 2;
}

.life_local_left .img_block .third_img {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 69px;
  z-index: 2;
}

.life_local_left .text_block {
  width: 100%;
  max-width: 802px;
  text-align: right;
}

.life_local_left .text_block b {
  font-weight: bold;
}

.life_local_left .text_block p {
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 100%;
}

.life_local_left .text_block p:first-of-type {
  margin-top: 0;
}

.life_local_left .text_block p:last-of-type {
  margin-bottom: 0;
}

.life_local_left .text_block .btn {
  margin-top: 40px;
  margin-left: auto;
  margin-bottom: 10px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid #FFBB00;
  background-color: #FFBB00;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  padding: 5px 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #000000;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.life_local_left .text_block .btn:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

.church_life {
  margin-bottom: 100px;
}

.church_life .main_block {
  width: 100%;
  max-width: 1522px;
}

.church_life .title_block {
  position: relative;
}

.church_life .title_block h2 {
  font-style: normal;
  font-weight: 900;
  font-size: 70px;
  line-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0;
}

.church_life .title_block::before {
  position: absolute;
  content: '';
  width: 197px;
  height: 118px;
  top: -30px;
  left: -95px;
  background-image: url("/wp-content/themes/church/img/wroclaw/life/life_block_decor.svg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.church_life .church_inner img {
  border-radius: 15px;
}

.church_life .wrap {
  position: relative;
  margin-top: 76px;
  min-height: 432px;
  width: 100%;
  overflow: hidden;
  list-style: none;
}

.church_life .col {
  width: 100%;
  height: 367px;
}

.church_life .link_block {
  position: absolute;
  bottom: 20px;
  right: 0;
  min-width: 273px;
  height: 107px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  z-index: 4;
}

.church_life .link_block.long {
  min-width: 395px;
  height: 132px;
  bottom: 20px;
}

.church_life .link_block.long::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 138px;
  background-image: url("/wp-content/themes/church/img/wroclaw/life/btn_bg_long.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.church_life .link_block::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 113px;
  background-image: url("/wp-content/themes/church/img/wroclaw/life/btn_bg.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.church_life .link_block a {
  position: relative;
  display: block;
  margin: 0 auto;
  -ms-flex-item-align: center;
  align-self: center;
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  line-height: 100%;
  color: #000000;
  text-decoration: none;
  text-align: center;
  z-index: 4;
}

.church_life .swiper-slide-next {
  position: relative;
  z-index: 2;
  margin-top: 41px;
  -webkit-transform: scaleX(1.15);
  transform: scaleX(1.15);
}

.church_life .swiper-slide-next img {
  width: 100%;
  height: 100%;
}

.church_life .wrap:hover .swiper-button-next,
.church_life .wrap:hover .swiper-button-prev {
  display: block;
}

.church_life .swiper-button-next,
.church_life .swiper-button-prev {
  display: none;
  top: 160px;
  width: 50px;
  height: 50px;
  background: #FFBB00;
  border-radius: 7px;
  opacity: 1;
  z-index: 2;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.church_life .swiper-button-next:hover,
.church_life .swiper-button-prev:hover {
  background: #000;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.church_life .swiper-button-next:after,
.church_life .swiper-button-prev:after {
  font-size: 25px;
  color: #fff;
}

.church_life .swiper-button-next:after,
.church_life .swiper-rtl .swiper-button-prev:after {
  right: 17px;
  top: 12px;
  position: absolute;
}

.church_life .swiper-button-prev:after,
.church_life .swiper-rtl .swiper-button-next:after {
  left: 17px;
  top: 12px;
  position: absolute;
}

@media screen and (max-width: 1640px) {
  .life_local_first .title_block {
    width: 100%;
    max-width: 42%;
  }
  .life_local_first .img_block {
    max-width: 52%;
  }
  .church_life .col {
    height: 320px;
  }
  .church_life .swiper-button-next,
  .church_life .swiper-button-prev {
    top: 150px;
  }
}

@media screen and (max-width: 1500px) {
  .life_local_right.first .main_block {
    padding: 200px 0 150px;
  }
  .life_local_right h2 {
    font-size: 50px;
  }
  .life_local_right span.decor::before {
    background-position: center;
    background-size: contain;
    bottom: -34px;
  }
  .life_local_right .text_block p {
    font-size: 25px;
  }
  .life_local_left h2 {
    font-size: 50px;
  }
  .life_local_left span.decor::before {
    background-position: center;
    background-size: contain;
    bottom: -34px;
  }
  .life_local_left span.longdecor::before {
    background-position: center;
    background-size: cover;
    bottom: -24px;
    height: 56px;
  }
  .life_local_left .text_block p {
    font-size: 25px;
  }
  .church_life .title_block h2 {
    font-size: 50px;
  }
  .church_life .wrap {
    min-height: 372px;
  }
  .church_life .col {
    height: 307px;
  }
  .church_life .link_block {
    min-width: 193px;
    height: 80px;
  }
  .church_life .link_block a {
    font-size: 20px;
  }
  .church_life .link_block::before {
    height: 80px;
  }
  .church_life .link_block.long {
    min-width: 298px;
    height: 105px;
  }
  .church_life .link_block.long::before {
    height: 105px;
  }
  .church_life .swiper-button-next,
  .church_life .swiper-button-prev {
    top: 140px;
  }
}

@media screen and (max-width: 1368px) {
  .life_local_first .title_block h1 {
    font-size: 70px;
  }
  .life_local_first .title_block h1 span {
    margin-top: 0;
  }
  .life_local_first .title_block p {
    font-size: 20px;
    line-height: 120%;
    margin: 0;
  }
  .life_local_first .img_block {
    max-width: 50%;
  }
  .life_local_right.first .main_block {
    padding: 150px 0 100px;
  }
  .life_local_right .main_block {
    padding: 100px 0 100px;
  }
  .life_local_right .img_block {
    min-height: 400px;
  }
  .life_local_right .img_block img {
    width: 350px;
    height: 227px;
  }
  .life_local_right .text_block p {
    font-size: 20px;
  }
  .life_local_right h2 {
    font-size: 45px;
  }
  .life_local_left .main_block {
    padding: 0 0 100px;
  }
  .life_local_left .img_block {
    min-height: 400px;
  }
  .life_local_left .img_block img {
    width: 350px;
    height: 227px;
  }
  .life_local_left .text_block p {
    font-size: 20px;
  }
  .life_local_left h2 {
    font-size: 45px;
  }
  .church_life {
    margin-top: 0;
  }
  .church_life .title_block h2 {
    font-size: 45px;
  }
  .church_life .col {
    height: 277px;
  }
  .church_life .swiper-button-next,
  .church_life .swiper-button-prev {
    top: 138px;
    width: 35px;
    height: 35px;
  }
  .church_life .swiper-button-next:after,
  .church_life .swiper-button-prev:after {
    font-size: 18px;
    color: #fff;
  }
  .church_life .swiper-button-next:after,
  .church_life .swiper-rtl .swiper-button-prev:after {
    right: 12px;
    top: 9px;
    position: absolute;
  }
  .church_life .swiper-button-prev:after,
  .church_life .swiper-rtl .swiper-button-next:after {
    left: 12px;
    top: 9px;
    position: absolute;
  }
}

@media screen and (max-width: 1200px) {
  .life_local_right .img_block {
    -ms-flex-item-align: center;
    align-self: center;
    min-height: auto;
    height: 300px;
  }
  .life_local_right .img_block img {
    width: 255px;
    height: 170px;
  }
  .life_local_left .img_block {
    -ms-flex-item-align: center;
    align-self: center;
    min-height: auto;
    height: 300px;
  }
  .life_local_left .img_block img {
    width: 255px;
    height: 170px;
  }
  .life_local_left span.longdecor::before {
    background-image: url("/wp-content/themes/church/img/wroclaw/about/decor.svg");
    width: 320px;
    left: -140px;
  }
  .church_life {
    margin-top: 0;
  }
  .church_life .title_block h2 {
    font-size: 45px;
  }
  .church_life .col {
    height: 220px;
  }
  .church_life .wrap {
    min-height: 302px;
  }
  .church_life .swiper-button-next,
  .church_life .swiper-button-prev {
    top: 115px;
    width: 35px;
    height: 35px;
  }
}

@media screen and (max-width: 1024px) {
  .life_local_first .main_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-top: 75px;
    padding-bottom: 76px;
  }
  .life_local_first .title_block {
    -ms-flex-item-align: center;
    align-self: center;
  }
  .life_local_first .title_block h1 {
    font-size: 50px;
  }
  .life_local_right .img_block {
    -ms-flex-item-align: center;
    align-self: center;
    min-height: auto;
    height: 300px;
    margin-right: 57px;
  }
  .life_local_right .img_block img {
    width: 250.03px;
    height: 166.69px;
  }
  .life_local_right .img_block .second_img {
    top: 50px;
  }
  .life_local_right .img_block .third_img {
    left: 39px;
  }
  .life_local_left .img_block {
    -ms-flex-item-align: center;
    align-self: center;
    min-height: auto;
    height: 300px;
    margin-left: 57px;
  }
  .life_local_left .img_block img {
    width: 250.03px;
    height: 166.69px;
  }
  .life_local_left .img_block .second_img {
    top: 50px;
  }
  .life_local_left .img_block .third_img {
    left: 39px;
  }
  .life_local_left span.longdecor::before {
    background-image: url("/wp-content/themes/church/img/wroclaw/about/decor.svg");
    width: 320px;
    left: -140px;
  }
  .church_life {
    margin-top: 0;
  }
  .church_life .col {
    height: 180px;
  }
  .church_life .wrap {
    min-height: 272px;
  }
  .church_life .swiper-slide-next {
    margin-top: 21px;
  }
  .church_life .swiper-button-next,
  .church_life .swiper-button-prev {
    display: none;
    top: 90px;
  }
}

@media screen and (max-width: 768px) {
  .life_local_first .img_block {
    display: none;
  }
  .life_local_first .main_block {
    padding-bottom: 125px;
  }
  .life_local_first .title_block {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .life_local_first .title_block p {
    text-align: center;
  }
  .life_local_first .title_block h1 {
    text-align: center;
  }
  .life_local_right.first .main_block {
    padding: 0 0 68px;
  }
  .life_local_right.first .img_block {
    margin-top: -75px;
  }
  .life_local_right .main_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .life_local_right .img_block {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  .life_local_right .text_block {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
  }
  .life_local_right .text_block p {
    font-size: 14px;
    line-height: 100%;
    text-align: center;
  }
  .life_local_right .text_block .btn {
    margin-left: auto;
    margin-right: auto;
  }
  .life_local_right h2 {
    font-size: 30px;
    text-align: center;
  }
  .life_local_left .main_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .life_local_left .img_block {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
  .life_local_left .text_block {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
  .life_local_left .text_block p {
    font-size: 14px;
    line-height: 100%;
    text-align: center;
  }
  .life_local_left .text_block .btn {
    margin-left: auto;
    margin-right: auto;
  }
  .life_local_left h2 {
    font-size: 30px;
    text-align: center;
  }
  .life_local_left span.longdecor::before {
    background-image: url("/wp-content/themes/church/img/wroclaw/life/long_decor.svg");
    width: 100%;
    left: 0;
  }
  .church_life {
    margin-top: 0;
    margin-bottom: 50px;
  }
  .church_life .title_block {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin: 0 auto 50px;
  }
  .church_life .title_block::before {
    width: 127px;
    height: 77px;
    top: -18px;
    left: -76px;
    background-size: contain;
  }
  .church_life .title_block h2 {
    text-align: center;
    margin: 0 auto;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    font-size: 30px;
  }
  .church_life .wrap {
    min-height: 272px;
    width: 100%;
    max-width: 560px;
    margin: 0 auto 30px;
  }
  .church_life .wrap:last-of-type {
    margin: 0 auto;
  }
  .church_life .link_block {
    bottom: auto;
    top: 0;
    right: 20px;
    height: auto;
    z-index: 2;
    min-width: auto;
    width: auto;
  }
  .church_life .link_block.long {
    bottom: auto;
    top: 0;
    left: auto;
    height: auto;
    min-width: auto;
    width: auto;
  }
  .church_life .link_block::before {
    display: none;
  }
  .church_life .link_block a {
    z-index: 2;
    font-size: 14px;
    line-height: 100%;
  }
  .church_life .swiper-slide-next {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    margin-right: 40px;
    margin-left: -20px;
  }
  .church_life .swiper-button-next,
  .church_life .swiper-button-prev {
    display: none !important;
  }
}

@media screen and (max-width: 586px) {
  .life_local_left .main_block {
    padding: 0 0 50px;
  }
  .life_local_right .main_block {
    padding: 50px 0 50px;
  }
  .church_life .col {
    height: 110px;
  }
  .church_life .wrap {
    min-height: 182px;
    max-width: 340px;
    margin: 0 auto 30px;
  }
  .church_life .wrap:last-of-type {
    margin: 0 auto;
  }
  .church_life .link_block {
    bottom: auto;
    top: 0;
    height: auto;
    z-index: 2;
    min-width: auto;
    width: auto;
  }
  .church_life .link_block.long {
    bottom: auto;
    top: 0;
    left: auto;
    height: auto;
    min-width: auto;
    width: auto;
  }
  .church_life .link_block::before {
    display: none;
  }
  .church_life .link_block a {
    z-index: 2;
  }
}

@media screen and (max-width: 375px) {
  .life_local_left h2 {
    font-size: 25px;
  }
  .life_local_left span.longdecor::before {
    background-size: contain;
  }
  .life_local_right h2 {
    font-size: 25px;
  }
}

/*--------------------------------------------------------------
# Vacancy local page
--------------------------------------------------------------*/
.vacancies_local_first.section {
  margin-top: 70px;
}

.vacancies_local_first h1 {
  margin: 0;
}

.vacancies_local_first .main_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.vacancies_local_first .title_block {
  width: 100%;
  max-width: 573px;
}

.vacancies_local_first .text_block {
  width: 100%;
  max-width: 887px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  padding: 20px 0 27px 43px;
  background: linear-gradient(90.93deg, #F6F6F6 66.32%, rgba(246, 246, 246, 0) 98.53%);
  border-radius: 10px;
  margin-top: 30px;
}

.vacancies_local_first .text_block p {
  margin: 0;
  font-style: normal;
  font-weight: 800;
  font-size: 30px;
  line-height: 100%;
  color: #000000;
}

.vacancies_local_first .text_block p.big {
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 100%;
  color: #000000;
}

.vacancies_local_first .text_block span {
  color: #FFBB00;
}

.service_local_second.vacancies_local {
  margin-top: 147px;
}

.service_local_second .section-bg {
  background-color: #F7F7F7;
  height: 75%;
  top: 15%;
}

.service_local_second .title_block {
  width: 100%;
  max-width: 835px;
}

.service_local_second h2 {
  font-style: normal;
  font-weight: 900;
  font-size: 66px;
  line-height: 100%;
  margin: 0;
}

.service_local_second span.decor {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: relative;
}

.service_local_second span.decor::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 76px;
  left: 0;
  bottom: -28px;
  background-image: url("/wp-content/themes/church/img/wroclaw/about/decor.svg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.service_local_second .directions_main {
  position: relative;
  width: 100%;
  max-width: 1404px;
  margin: 110px auto 110px;
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 30px;
  -moz-column-gap: 30px;
  column-gap: 30px;
  z-index: 2;
}

.service_local_second .direction {
  display: inline-block;
  position: relative;
  width: 100%;
  max-width: 687px;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  border-radius: 30px;
  margin: 0 0 35px;
  padding: 57px 70px;
}

.service_local_second .direction .title_block_inner {
  position: relative;
  margin-bottom: 44px;
  padding-bottom: 44px;
}

.service_local_second .direction .title_block_inner::before {
  position: absolute;
  content: '';
  width: 346px;
  height: 18px;
  left: -70px;
  bottom: 0;
  background-image: url("/wp-content/themes/church/img/wroclaw/service/direction_decor.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
}

.service_local_second .direction h3 {
  margin: 0;
  font-style: normal;
  font-weight: bold;
  font-size: 50px;
  line-height: 100%;
  color: #000000;
}

.service_local_second .direction ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.service_local_second .direction li {
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 100%;
  margin-top: 0;
  margin-bottom: 45px;
  padding-left: 53px;
}

.service_local_second .direction li:last-of-type {
  margin-bottom: 0;
}

.service_local_second .direction li::before {
  position: absolute;
  content: '';
  width: 14px;
  height: 14px;
  left: 0;
  top: calc(50% - 5px);
  background: #FFBB00;
  border-radius: 3px;
}

.service_local_second .direction li .tooltiptext {
  visibility: hidden;
  width: 428px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 15px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 10px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  padding: 22px 30px;
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 100%;
  color: #000000;
  /* Расположите текст подсказки */
  position: absolute;
  z-index: 2;
  top: -150%;
  left: 50%;
  margin-left: -132px;
  /* Исчезают в подсказке */
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.service_local_second .direction li:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.vacancy_local_contact {
  margin-bottom: 100px;
}

.vacancy_local_contact .main_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
}

.vacancy_local_contact .col {
  width: 100%;
}

.vacancy_local_contact .col:first-of-type {
  max-width: 567px;
  position: relative;
  background: #FFBB00;
  border-radius: 15px;
  padding: 34px 40px;
}

.vacancy_local_contact .col:first-of-type::before {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 75px;
  z-index: 1;
  border: solid 25px transparent;
  border-top-color: #FFBB00;
}

.vacancy_local_contact .col:last-of-type {
  max-width: 704px;
}

.vacancy_local_contact .col:last-of-type h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 100%;
  margin: 10px 0 20px;
}

.vacancy_local_contact .col:last-of-type p {
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 100%;
}

.vacancy_local_contact p {
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 100%;
  margin: 0;
  color: #000;
}

.vacancy_local_contact .social_block {
  margin-top: 27px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.vacancy_local_contact .social_block img,
.vacancy_local_contact .social_block .preview-img {
  width: 43px;
  height: 43px;
}

.vacancy_local_contact .social_block .preview-img {
  -ms-flex-item-align: center;
  align-self: center;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.vacancy_local_contact .social_block .preview-img:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.vacancy_local_contact .social_block a {
  text-decoration: none;
  margin-right: 23px;
}

.vacancy_local_contact .social_block a:last-of-type {
  margin-right: 0;
}

.vacancy_local_contact span.longdecor {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: relative;
}

.vacancy_local_contact span.longdecor::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 76px;
  left: 0;
  bottom: -30px;
  background-image: url("/wp-content/themes/church/img/wroclaw/life/long_decor.svg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

@media screen and (max-width: 1500px) {
  .vacancies_local_first .text_block {
    margin-top: 0;
  }
  .vacancies_local_first .title_block {
    max-width: 407px;
    -ms-flex-item-align: center;
    align-self: center;
  }
  .vacancies_local_first .text_block {
    max-width: 787px;
  }
  .vacancy_local_contact .col:first-of-type {
    max-width: 500px;
  }
  .vacancy_local_contact .col:last-of-type {
    max-width: 500px;
  }
  .vacancy_local_contact h2 {
    font-size: 40px;
  }
}

@media screen and (max-width: 1368px) {
  .vacancies_local_first .main_block {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }
  .vacancies_local_first .text_block p.big {
    font-size: 40px;
  }
  .vacancies_local_first .text_block p {
    font-size: 25px;
  }
  .vacancy_local_contact .main_block {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }
  .vacancy_local_contact .col:last-of-type p {
    font-size: 25px;
  }
  .vacancy_local_contact p {
    font-size: 25px;
  }
}

@media screen and (max-width: 1200px) {
  .vacancy_local_contact .main_block {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }
  .vacancy_local_contact .col:first-of-type {
    max-width: 400px;
  }
  .vacancy_local_contact .col:last-of-type {
    max-width: 400px;
  }
  .vacancy_local_contact .col:last-of-type p {
    font-size: 25px;
  }
  .vacancy_local_contact p {
    font-size: 25px;
  }
}

@media screen and (max-width: 1024px) {
  .vacancies_local_first .text_block p.big {
    font-size: 30px;
  }
  .vacancies_local_first .text_block p {
    font-size: 20px;
  }
  .service_local_second.vacancies_local {
    margin-top: 100px;
  }
  .vacancy_local_contact .col:first-of-type {
    padding: 24px 20px;
    max-width: 370px;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
  }
  .vacancy_local_contact .col:last-of-type {
    max-width: 370px;
  }
  .vacancy_local_contact .col:last-of-type p {
    font-size: 20px;
  }
  .vacancy_local_contact .col:last-of-type h2 {
    font-size: 30px;
  }
  .vacancy_local_contact p {
    font-size: 20px;
  }
  .vacancy_local_contact .social_block img,
  .vacancy_local_contact .social_block .preview-img {
    width: 31px;
    height: 31px;
  }
  .vacancy_local_contact .social_block a {
    margin-right: 17px;
  }
  .vacancy_local_contact span.longdecor::before {
    bottom: -34px;
    background-position: center;
    background-size: contain;
  }
}

@media screen and (max-width: 768px) {
  .vacancies_local_first .main_block {
    position: relative;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .vacancies_local_first .title_block {
    max-width: 350px;
  }
  .vacancies_local_first .title_block h1 {
    text-align: center;
    font-size: 40px;
  }
  .vacancies_local_first .text_block {
    padding: 34px 24px;
    margin: 30px auto 0;
    max-width: 450px;
    background: linear-gradient(180.93deg, #F6F6F6 66.32%, rgba(246, 246, 246, 0) 98.53%);
  }
  .vacancies_local_first .text_block p.big {
    font-size: 30px;
    text-align: center;
  }
  .vacancies_local_first .text_block p {
    font-size: 20px;
    text-align: center;
  }
  .vacancy_local_contact .main_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .vacancy_local_contact .col:first-of-type {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin: 60px auto 0;
    max-width: 400px;
  }
  .vacancy_local_contact .col:first-of-type::before {
    top: auto;
    bottom: calc(100% - 1px);
    left: calc(50% - 25px);
    z-index: 1;
    border-top-color: transparent;
    border-bottom-color: #FFBB00;
  }
  .vacancy_local_contact .col:last-of-type {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    margin: 0 auto 0;
    max-width: 380px;
  }
  .vacancy_local_contact .col:last-of-type h2 {
    font-size: 30px;
    text-align: center;
  }
  .vacancy_local_contact .col:last-of-type p {
    text-align: center;
    font-size: 14px;
  }
  .vacancy_local_contact p {
    text-align: center;
  }
  .vacancy_local_contact .social_block {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 190px;
  }
}

@media screen and (max-width: 586px) {
  .service_local_second .directions_main {
    margin: 60px 0 !important;
  }
}

/*--------------------------------------------------------------
# Service local page
--------------------------------------------------------------*/
.service_local_first h1 {
  margin: 0;
}

.service_local_first .main_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.service_local_first .title_block {
  width: 100%;
  max-width: 835px;
  margin-top: 30px;
}

.service_local_first .text_block {
  width: 100%;
  max-width: 687px;
  padding: 50px 0 50px 50px;
  background: linear-gradient(90.93deg, #F6F6F6 66.32%, rgba(246, 246, 246, 0) 98.53%);
  border-radius: 10px;
}

.service_local_first .text_block img {
  width: 73.61px;
  height: 77.47px;
  margin-bottom: 30px;
}

.service_local_first .text_block p {
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 100%;
  margin: 0;
  color: #000000;
}

.service_local_second .section-bg {
  background-color: #F7F7F7;
  height: 80%;
  top: 10%;
}

.service_local_second .title_block {
  width: 100%;
  max-width: 835px;
}

.service_local_second h2 {
  font-style: normal;
  font-weight: 900;
  font-size: 66px;
  line-height: 100%;
  margin: 0;
}

.service_local_second span.decor {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: relative;
}

.service_local_second span.decor::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 76px;
  left: 0;
  bottom: -28px;
  background-image: url("/wp-content/themes/church/img/wroclaw/about/decor.svg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.service_local_second .directions_main {
  position: relative;
  width: 100%;
  max-width: 1404px;
  margin: 110px auto;
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 30px;
  -moz-column-gap: 30px;
  column-gap: 30px;
}

.service_local_second .direction {
  display: inline-block;
  width: 100%;
  max-width: 687px;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.15);
  border-radius: 30px;
  margin: 15px 0 35px;
  padding: 57px 70px;
}

.service_local_second .direction .title_block_inner {
  position: relative;
  margin-bottom: 44px;
  padding-bottom: 44px;
}

.service_local_second .direction .title_block_inner::before {
  position: absolute;
  content: '';
  width: 346px;
  height: 18px;
  left: -70px;
  bottom: 0;
  background-image: url("/wp-content/themes/church/img/wroclaw/service/direction_decor.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
}

.service_local_second .direction h3 {
  margin: 0;
  font-style: normal;
  font-weight: bold;
  font-size: 50px;
  line-height: 100%;
  color: #000000;
}

.service_local_second .direction ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.service_local_second .direction li {
  position: relative;
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 100%;
  margin-top: 0;
  margin-bottom: 45px;
  padding-left: 53px;
}

.service_local_second .direction li:last-of-type {
  margin-bottom: 0;
}

.service_local_second .direction li::before {
  position: absolute;
  content: '';
  width: 14px;
  height: 14px;
  left: 0;
  top: calc(50% - 5px);
  background: #FFBB00;
  border-radius: 3px;
}

.service_local_second .direction li.has_menu::before {
  top: 14px;
}

.service_local_second .direction ul.sub-menu {
  margin-top: 18px;
  position: relative;
}

.service_local_second .direction ul.sub-menu::before {
  width: 3px;
  height: 100%;
  position: absolute;
  content: '';
  top: 0;
  background: #FFBB00;
  border-radius: 28px;
}

.service_local_second .direction ul.sub-menu li {
  margin-bottom: 10px;
  padding-left: 23px;
}

.service_local_second .direction ul.sub-menu li::before {
  display: none;
}

.service_local_third .main_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.service_local_third .main_block > div {
  width: 49%;
}

.service_local_third .main_block .text_block {
  padding: 64px 58px;
}

.service_local_third .main_block .text_block .section-bg {
  background-color: #F7F7F7;
  width: calc(50vw - 15px);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.service_local_third .main_block .text_block p {
  margin: 0;
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 100%;
  color: #000000;
}

.service_local_third .main_block .title_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.service_local_third .main_block .title_block .inner_block {
  -ms-flex-item-align: center;
  align-self: center;
  margin-left: 100px;
  max-width: 440px;
}

.service_local_third .main_block .title_block h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 100%;
  margin: 0;
  color: #000000;
}

.service_local_third .main_block span.longdecor {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: relative;
}

.service_local_third .main_block span.longdecor::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 76px;
  left: 0;
  bottom: -30px;
  background-image: url("/wp-content/themes/church/img/wroclaw/life/long_decor.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.service_local_contact .main_block {
  padding: 72px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.service_local_contact .col {
  width: 100%;
}

.service_local_contact .col:first-of-type {
  max-width: 760px;
}

.service_local_contact .col:last-of-type {
  max-width: 607px;
}

.service_local_contact h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 100%;
  color: #000000;
  margin: 0;
}

.service_local_contact .btn {
  margin-top: 30px;
  margin-bottom: 10px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid #fff;
  background-color: #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 7px 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #000000;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.service_local_contact .btn:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

.service_local_contact .social_block {
  margin-top: 27px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.service_local_contact .social_block a {
  text-decoration: none;
  margin-right: 32px;
}

.service_local_contact .social_block a:last-of-type {
  margin-right: 0;
}

.service_local_contact .social_block .preview-img {
  width: 58.02px;
  height: 58.02px;
  -ms-flex-item-align: center;
  align-self: center;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.service_local_contact .social_block .preview-img:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

@media screen and (max-width: 1640px) {
  .service_local_second .title_block {
    width: 100%;
    max-width: 635px;
  }
  .service_local_second h2 {
    font-size: 50px;
  }
  .service_local_second span.decor::before {
    background-size: contain;
    background-position: center;
    bottom: -30px;
  }
}

@media screen and (max-width: 1500px) {
  .service_local_first h1 {
    font-size: 70px;
  }
  .service_local_first .text_block {
    max-width: 587px;
  }
  .service_local_second h2 {
    font-size: 40px;
  }
  .service_local_second .direction h3 {
    font-size: 34px;
  }
  .service_local_second .direction li {
    margin-bottom: 30px;
    font-size: 25px;
  }
  .service_local_second span.decor::before {
    bottom: -34px;
  }
  .service_local_third .main_block .title_block h2 {
    font-size: 40px;
  }
  .service_local_contact .col:first-of-type {
    max-width: 587px;
  }
  .service_local_contact h2 {
    font-size: 40px;
  }
}

@media screen and (max-width: 1368px) {
  .service_local_first .title_block {
    -ms-flex-item-align: center;
    align-self: center;
    max-width: 460px;
    margin-top: 0;
  }
  .service_local_first .title_block h1 {
    text-align: right;
    font-size: 60px;
  }
  .service_local_first .text_block p {
    font-size: 20px;
    line-height: 100%;
  }
  .service_local_first .text_block img {
    width: 47px;
    height: 49px;
  }
  .service_local_second {
    margin-top: 80px;
  }
  .service_local_second .main_block {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }
  .service_local_second .direction {
    padding: 30px 37px;
  }
  .service_local_second .direction .title_block_inner::before {
    left: -37px;
  }
  .service_local_second .direction li {
    margin-bottom: 20px;
    font-size: 20px;
  }
  .service_local_third .main_block .text_block p {
    font-size: 20px;
  }
  .service_local_third .main_block span.longdecor::before {
    bottom: -34px;
    background-position: center;
    background-size: contain;
  }
  .service_local_contact .col:first-of-type {
    max-width: 487px;
  }
  .service_local_contact .col:last-of-type {
    max-width: 487px;
  }
  .service_local_contact .social_block img,
  .service_local_contact .social_block .preview-img {
    width: 42px;
    height: 42px;
  }
  .service_local_contact .social_block a {
    margin-right: 23px;
  }
}

@media screen and (max-width: 1200px) {
  .service_local_first .title_block {
    max-width: 400px;
  }
  .service_local_first .text_block {
    max-width: 480px;
  }
  .service_local_third .main_block .title_block .inner_block {
    margin-left: 70px;
  }
  .service_local_contact .col:first-of-type {
    max-width: 405px;
  }
  .service_local_contact .col:last-of-type {
    max-width: 405px;
  }
}

@media screen and (max-width: 1024px) {
  .service_local_first .title_block {
    max-width: 320px;
  }
  .service_local_first .title_block h1 {
    font-size: 50px;
  }
  .service_local_first .text_block {
    padding: 30px 0 30px 30px;
    max-width: 400px;
  }
  .service_local_second .direction {
    margin: 0 0 20px;
    border-radius: 20px;
  }
  .service_local_second .direction h3 {
    font-size: 30px;
  }
  .service_local_second h2 {
    font-size: 40px;
  }
  .service_local_third .main_block .title_block h2 {
    font-size: 30px;
  }
  .service_local_third .main_block .text_block {
    padding: 44px 58px 44px 0;
  }
  .service_local_contact h2 {
    font-size: 30px;
  }
  .service_local_contact .col:first-of-type {
    max-width: 305px;
  }
  .service_local_contact .col:last-of-type {
    max-width: 305px;
  }
}

@media screen and (max-width: 768px) {
  .service_local_first .main_block {
    position: relative;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .service_local_first .title_block {
    margin-top: 70px;
  }
  .service_local_first .title_block h1 {
    text-align: center;
  }
  .service_local_first .text_block {
    padding: 0;
    background: none;
    margin: 30px auto 0;
    max-width: 450px;
  }
  .service_local_first .text_block p {
    text-align: center;
  }
  .service_local_first .text_block img {
    top: 0;
    position: absolute;
    left: calc(50% - 23.5px);
  }
  .service_local_second .section-bg {
    height: 90%;
    top: 3.5%;
  }
  .service_local_second .title_block {
    margin: 0 auto;
  }
  .service_local_second h2 {
    text-align: center;
  }
  .service_local_second .directions_main {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    max-width: 400px;
  }
  .service_local_second .direction {
    margin: 0 auto 20px;
    border-radius: 15px;
  }
  .service_local_third {
    margin-bottom: 60px;
  }
  .service_local_third .main_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .service_local_third .main_block .title_block {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  .service_local_third .main_block .title_block h2 {
    text-align: center;
  }
  .service_local_third .main_block .title_block .inner_block {
    margin-left: 0;
  }
  .service_local_third .main_block .text_block {
    padding: 0;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    width: 100%;
    max-width: 400px;
    margin: 15px auto 0;
  }
  .service_local_third .main_block .text_block .section-bg {
    display: none;
  }
  .service_local_third .main_block .text_block p {
    text-align: center;
  }
  .service_local_contact .main_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .service_local_contact .col:first-of-type {
    max-width: 400px;
    margin-bottom: 85px;
  }
  .service_local_contact .col:last-of-type {
    max-width: 400px;
  }
  .service_local_contact .col h2 {
    text-align: center;
  }
  .service_local_contact .col .btn {
    margin-left: auto;
    margin-right: auto;
  }
  .service_local_contact .social_block {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
  }
  .service_local_contact .social_block a {
    margin-right: 17px;
  }
  .service_local_contact .social_block img,
  .service_local_contact .social_block .preview-img {
    width: 32px;
    height: 32px;
  }
}

@media screen and (max-width: 586px) {
  .service_local_first .title_block h1 {
    text-align: center;
    font-size: 30px;
  }
  .service_local_first .text_block p {
    text-align: center;
    font-size: 14px;
    line-height: 100%;
  }
  .service_local_second {
    margin-top: 60px;
  }
  .service_local_second h2 {
    text-align: center;
    font-size: 25px;
    line-height: 100%;
  }
  .service_local_second .direction h3 {
    font-size: 25px;
  }
  .service_local_second .direction li {
    font-size: 20px;
    padding-left: 33px;
  }
  .service_local_second .direction li::before {
    width: 8.28px;
    height: 8.24px;
    top: calc(50% - 4.12px);
  }
  .service_local_second .direction li .tooltiptext {
    width: 100%;
    left: 0;
    margin-left: 0;
  }
  .service_local_second .direction ul.sub-menu li {
    font-size: 15px;
  }
  .service_local_second .direction .title_block_inner::before {
    width: 246px;
    height: 12px;
    background-size: contain;
  }
  .service_local_contact .main_block {
    padding: 30px 0 55px;
  }
}

/*--------------------------------------------------------------
# Groups local page
--------------------------------------------------------------*/
.homegroups h1 {
  margin: 0;
}

.homegroups .filter_block {
  position: relative;
  background: linear-gradient(90.93deg, #F6F6F6 66.32%, rgba(246, 246, 246, 0) 98.53%);
  border-radius: 10px;
  margin-top: 50px;
  padding: 10px 30px;
}

.homegroups .filter_block form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.homegroups .col {
  position: relative;
  margin-right: 64px;
  outline: none;
}

.homegroups .col span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 100%;
  text-transform: uppercase;
  color: #000000;
  cursor: pointer;
}

.homegroups .col i {
  display: block;
  -ms-flex-item-align: center;
  align-self: center;
  width: 15.5px;
  height: 8.5px;
  margin-left: 5px;
  background-image: url("/wp-content/themes/church/img/wroclaw/groups/Arrow_icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.homegroups .col:last-of-type {
  margin-right: 0;
}

.homegroups .col ul {
  display: none;
  width: 173px;
  list-style: none;
  padding: 10px 10px 13px 23px;
  background: #F7F7F7;
  border-radius: 5px;
}

.homegroups .col li a {
  font-style: normal;
  font-weight: 300;
  font-size: 20px;
  line-height: 150%;
  text-transform: lowercase;
  text-decoration: none;
  color: #000000;
}

.homegroups .col li a:hover, .homegroups .col li a:active {
  color: #FFBB00;
  font-weight: 500;
}

.homegroups .col.active ul {
  position: absolute;
  display: block;
  margin-left: -23px;
  left: 0;
  top: calc(100% - 2px);
  z-index: 2;
}

.homegroups .col.active i {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.homegroups .wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: center;
  align-self: center;
}

.homegroups .reset_btn {
  width: 100%;
  max-width: 166px;
  -ms-flex-item-align: center;
  align-self: center;
}

.homegroups .reset_btn input {
  width: 100%;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 200%;
  text-align: center;
  color: #9C9B9B;
  border: 1px solid #9C9B9B;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.homegroups .mob_text {
  display: none;
}

.homegroups .filter_btn {
  width: 109px;
  height: 28px;
  background: #FFBB00;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 100%;
  color: #000;
  border: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.homegroups .filter_btn i {
  display: block;
  -ms-flex-item-align: center;
  align-self: center;
  width: 15.64px;
  height: 8px;
  background-image: url("/wp-content/themes/church/img/wroclaw/groups/filter_icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.homegroups .filter-close-btn {
  line-height: 0;
  margin-left: auto;
  display: none;
}

.homegroups .filter-close-btn button {
  width: 48px;
  height: 48px;
  background-color: transparent;
  padding: 0;
  border: 0;
  position: relative;
}

.homegroups .filter-close-btn button span {
  position: absolute;
  width: 48px;
  height: 2px;
  background-color: #9C9B9B;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transition: .2s ease-out;
  transition: .2s ease-out;
}

.homegroups .filter-close-btn button:hover span {
  background-color: #ffb100;
}

.homegroups .filter-close-btn button span:first-child {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
}

.homegroups .filter-close-btn button span:last-child {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.filter_selected {
  position: absolute;
  width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  left: 0;
  top: 100%;
}

.filter_selected ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  padding-left: 0;
}

.filter_selected li {
  background: #F7F7F7;
  border-radius: 3px;
  margin-right: 11px;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 14px;
  text-align: center;
  padding: 5px 9px;
  color: #9C9B9B;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  cursor: pointer;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.filter_selected li:hover {
  color: #000000;
  background: #FFBB00;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.filter_selected li:hover .close {
  width: 12px;
  height: 12px;
}

.filter_selected li:hover span {
  width: 10px;
  height: 2px;
  background-color: #A80606;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.filter_selected li:hover span:first-of-type {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 6px;
}

.filter_selected li:hover span:last-of-type {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 6px;
}

.filter_selected .close {
  display: block;
  position: relative;
  -ms-flex-item-align: center;
  align-self: center;
  margin-left: 5px;
  width: 8px;
  height: 8px;
}

.filter_selected .close span {
  position: absolute;
  display: block;
  width: 6.21px;
  height: 1px;
  background-color: #9C9B9B;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.filter_selected .close span:first-of-type {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 5.5px;
}

.filter_selected .close span:last-of-type {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 5.5px;
}

.group_block {
  margin-top: 130px;
  margin-bottom: 85px;
}

.group_block .group_main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 87px 30px;
  width: 100%;
  max-width: 1401px;
  margin: 0 auto;
}

.group_block .group_inner {
  position: relative;
  width: 447px;
  height: 447px;
  border: 1px solid #000000;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 15px;
  padding: 35px 30px;
}

.group_block .img_block {
  position: absolute;
  top: -44px;
  left: -22px;
  width: 222.52px;
  height: 222.52px;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center;
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  border-radius: 10px;
}

.group_block .author_block {
  width: 100%;
  max-width: 195px;
  min-height: 124px;
  margin-left: auto;
}

.group_block .author_block h3 {
  margin: 0;
  font-style: normal;
  font-weight: 800;
  font-size: 26px;
  line-height: 100%;
  color: #000000;
}

.group_block .author_block .time {
  margin-top: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.group_block .author_block img {
  -ms-flex-item-align: center;
  align-self: center;
  width: 16.32px;
  height: 16.32px;
  margin-right: 14px;
}

.group_block .author_block span {
  -ms-flex-item-align: center;
  align-self: center;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 100%;
  color: #000000;
}

.group_block .week_block {
  margin-top: 55px;
}

.group_block .week_block span {
  font-style: normal;
  font-weight: bold;
  font-size: 26px;
  line-height: 100%;
  color: #FFBB00;
}

.group_block .week_block p {
  font-style: normal;
  font-weight: normal;
  font-size: 26px;
  line-height: 100%;
  margin: 0;
  color: #000000;
}

.group_block .contact_block {
  margin-top: 33px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.group_block .phone {
  position: relative;
  padding-left: 11px;
}

.group_block .phone::before {
  position: absolute;
  content: '';
  width: 2.04px;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #FFBB00;
  border-radius: 11px;
}

.group_block .phone span {
  display: block;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 100%;
  color: #000000;
}

.group_block .phone a {
  display: block;
  margin-top: 5px;
  font-style: normal;
  font-weight: bold;
  font-size: 26px;
  line-height: 100%;
  text-decoration: none;
  color: #000000;
}

.group_block .social_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: end;
  align-self: flex-end;
}

.group_block .social_block a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
  margin-right: 5px;
}

.group_block .social_block a:last-of-type {
  margin-right: 0;
}

.group_block .social_block img {
  -ms-flex-item-align: center;
  align-self: center;
  width: 26px;
  height: 26px;
}

.group_block .adres {
  position: relative;
  margin-top: 42px;
}

.group_block .adres::before {
  position: absolute;
  content: '';
  width: 19.17px;
  height: 23px;
  top: 0;
  left: -3px;
  background-image: url("/wp-content/themes/church/img/wroclaw/groups/adres_icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.group_block .adres span {
  padding-left: 33px;
  font-style: normal;
  font-weight: normal;
  font-size: 15px;
  line-height: 100%;
  color: #000000;
}

@media screen and (max-width: 1640px) {
  .group_block .group_inner {
    width: 100%;
    max-width: 400px;
    height: auto;
  }
  .group_block .img_block {
    top: -44px;
    left: -44px;
    width: 200.52px;
    height: 200.52px;
  }
  .group_block .week_block {
    margin-top: 30px;
  }
  .group_block .adres {
    position: relative;
    margin-top: 30px;
  }
}

@media screen and (max-width: 1500px) {
  .group_block .group_main {
    gap: 57px 30px;
  }
  .group_block .group_inner {
    padding: 25px;
  }
  .group_block .img_block {
    top: -22px;
    left: -22px;
    width: 180.52px;
    height: 180.52px;
  }
}

@media screen and (max-width: 1368px) {
  .homegroups .col {
    margin-right: 34px;
  }
  .group_block {
    margin-bottom: 85px;
  }
  .group_block .group_main {
    gap: 57px 30px;
  }
  .group_block .group_inner {
    width: 100%;
    max-width: 400px;
    height: auto;
  }
  .group_block .img_block {
    top: -22px;
    left: -22px;
    width: 180.52px;
    height: 180.52px;
  }
  .group_block .author_block {
    max-width: 165px;
  }
}

@media screen and (max-width: 1200px) {
  .group_block .img_block {
    top: -22px;
    left: -22px;
    width: 160.52px;
    height: 160.52px;
  }
  .group_block .author_block {
    max-width: 115px;
  }
  .group_block .author_block h3 {
    font-size: 20px;
  }
  .group_block .author_block .time {
    margin-top: 10px;
  }
  .group_block .author_block span {
    font-size: 16px;
  }
}

@media screen and (max-width: 1024px) {
  .homegroups .col {
    margin-right: 20px;
  }
  .homegroups .col span {
    font-size: 15px;
  }
  .homegroups .col li a {
    font-size: 15px;
  }
  .homegroups .col ul {
    width: 143px;
  }
  .homegroups .col i {
    width: 12.5px;
    height: 6.5px;
    margin-left: 3px;
  }
  .group_block {
    margin-bottom: 85px;
  }
  .group_block .group_main {
    gap: 57px 30px;
  }
  .group_block .group_inner {
    padding: 25px 10px 25px 25px;
    max-width: 265px;
  }
  .group_block .img_block {
    top: -22px;
    left: -22px;
    width: 132.13px;
    height: 132.13px;
  }
  .group_block .author_block {
    max-width: 105px;
    min-height: 74px;
  }
  .group_block .author_block h3 {
    font-size: 16px;
  }
  .group_block .author_block .time {
    margin-top: 10px;
  }
  .group_block .author_block span {
    font-size: 12px;
  }
  .group_block .week_block span {
    font-size: 20px;
  }
  .group_block .week_block p {
    font-size: 14px;
  }
  .group_block .phone span {
    font-size: 10px;
  }
  .group_block .phone a {
    font-size: 16px;
  }
  .group_block .social_block img {
    width: 15px;
    height: 15px;
  }
  .group_block .adres::before {
    width: 11.13px;
    height: 13.36px;
  }
  .group_block .adres span {
    font-size: 10px;
    display: block;
    padding-left: 17px;
  }
  .group_block .contact_block {
    margin-top: 15px;
  }
}

@media screen and (max-width: 768px) {
  .homegroups .container {
    position: initial;
  }
  .homegroups h1 {
    text-align: center;
    margin: 0 auto;
    font-size: 40px;
  }
  .homegroups .mob_text {
    display: block;
    max-width: 400px;
    margin: 20px auto 0;
  }
  .homegroups .mob_text p {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
  }
  .homegroups .filter_btn {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
  }
  .homegroups .filter-close-btn {
    display: block;
  }
  .homegroups .filter_block {
    display: none;
    position: absolute;
    overflow-y: scroll;
    top: 0;
    right: 0;
    margin-top: 0;
    width: 421px;
    height: 100vh;
    background: #F6F6F6;
    border-radius: 0;
    padding: 25px 20px;
    z-index: 3;
  }
  .homegroups .filter_block form {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .homegroups .filter_block.active {
    display: block;
  }
  .homegroups .wrap {
    margin-top: 41px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    width: 100%;
    max-width: 375px;
  }
  .homegroups .reset_btn {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    margin: 0 auto 0 0;
    height: auto;
    background: transparent;
    max-width: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .homegroups .reset_btn input {
    max-width: 160px;
  }
  .homegroups .col {
    margin-bottom: 0;
    padding: 12.5px 0;
    margin-right: 0;
    max-width: none;
  }
  .homegroups .col span {
    font-size: 20px;
  }
  .homegroups .col i {
    margin-right: 0;
    margin-left: auto;
    background-image: url("/wp-content/themes/church/img/wroclaw/groups/plus_icon.svg");
    width: 14px;
    height: 14px;
  }
  .homegroups .col li a {
    font-size: 20px;
    line-height: 150%;
  }
  .homegroups .col:last-of-type {
    margin-top: 0;
  }
  .homegroups .col ul {
    width: 100%;
  }
  .homegroups .col a.active {
    font-style: normal;
    font-weight: 500;
    color: #FFBB00;
  }
  .homegroups .col.active ul {
    position: relative;
    display: block;
    width: 100%;
    margin-left: 0;
    background-color: #F6F6F6;
    border-radius: 0;
    left: auto;
    top: auto;
    z-index: 2;
    padding: 0 10px 0 23px;
  }
  .homegroups .col.active i {
    background-image: url("/wp-content/themes/church/img/wroclaw/groups/minus_icon.svg");
  }
  .filter_selected {
    position: relative;
    width: 100%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    left: auto;
    top: auto;
  }
  .filter_selected ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
  }
  .filter_selected li {
    background: #F7F7F7;
    border-radius: 3px;
    margin-right: 11px;
    margin-bottom: 11px;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 14px;
    text-align: center;
    padding: 4px 9px;
    color: #9C9B9B;
    border: 1px solid #9C9B9B;
    border-radius: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    cursor: pointer;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .filter_selected li:hover {
    color: #000000;
    background: #FFBB00;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }
  .filter_selected li:hover .close {
    width: 12px;
    height: 12px;
  }
  .filter_selected li:hover span {
    width: 10px;
    height: 2px;
    background-color: #A80606;
    -webkit-transition: 0.2s;
    transition: 0.2s;
  }
  .filter_selected li:hover span:first-of-type {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 6px;
  }
  .filter_selected li:hover span:last-of-type {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 6px;
  }
  .filter_selected .close {
    display: block;
    position: relative;
    -ms-flex-item-align: center;
    align-self: center;
    margin-left: 5px;
    width: 8px;
    height: 8px;
  }
  .filter_selected .close span {
    position: absolute;
    display: block;
    width: 6.21px;
    height: 1px;
    background-color: #9C9B9B;
    -webkit-transition: 0.2s;
    transition: 0.2s;
  }
  .filter_selected .close span:first-of-type {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 5.5px;
  }
  .filter_selected .close span:last-of-type {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 5.5px;
  }
  .group_block {
    margin-top: 185px;
  }
  .group_block .group_main {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: auto;
    gap: 147px;
  }
  .group_block .group_inner {
    padding: 25px;
    max-width: 365px;
    margin: 0 auto;
  }
  .group_block .img_block {
    top: -122px;
    left: calc(50% - 114px);
    width: 228px;
    height: 164px;
  }
  .group_block .author_block {
    max-width: none;
    min-height: auto;
    margin-top: 50px;
  }
  .group_block .author_block h3 {
    font-size: 26px;
    line-height: 100%;
    text-align: center;
  }
  .group_block .author_block .time {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
  .group_block .author_block span {
    font-size: 16px;
    line-height: 100%;
  }
  .group_block .week_block {
    margin-top: 22px;
  }
  .group_block .week_block span {
    display: block;
    width: 100%;
    font-size: 26px;
    text-align: center;
  }
  .group_block .week_block p {
    font-size: 20px;
    text-align: center;
  }
  .group_block .phone::before {
    display: none;
  }
  .group_block .phone span {
    font-size: 16px;
    text-align: center;
  }
  .group_block .phone a {
    font-size: 26px;
    text-align: center;
  }
  .group_block .social_block {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin: 10px auto 0;
  }
  .group_block .social_block img {
    width: 25px;
    height: 25px;
  }
  .group_block .adres::before {
    width: 11.13px;
    height: 13.36px;
  }
  .group_block .adres span {
    font-size: 14px;
    line-height: 100%;
    color: #9C9B9B;
    display: block;
    padding-left: 17px;
  }
  .group_block .contact_block {
    margin-top: 32px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

@media screen and (max-width: 586px) {
  .homegroups h1 {
    font-size: 30px;
  }
}

@media screen and (max-width: 426px) {
  .homegroups .filter_block {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Filter Panel
--------------------------------------------------------------*/
.filter-panel-overlay {
  overflow: hidden;
}

.filter-panel-overlay.service::after {
  top: 0 !important;
}

.filter-panel-overlay:after {
  content: "";
  position: fixed;
  top: 48px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 28, 28, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 2;
}

/*--------------------------------------------------------------
# Side Panel @media
--------------------------------------------------------------*/
@media screen and (max-width: 1640px) {
  .side-panel {
    top: 0;
  }
  .filter-panel-overlay:after {
    top: 0;
  }
}

/*--------------------------------------------------------------
# Visit local page
--------------------------------------------------------------*/
.visit_first_section {
  position: relative;
}

.visit_first_section h1 {
  margin: 0;
}

.visit_first_section .subtitle {
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 100%;
  color: #000;
  margin: 35px 0 0;
}

.visit_first_section .btn {
  display: block;
  margin-bottom: 10px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid #FFBB00;
  background-color: #FFBB00;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  width: 150px;
  padding: 7px 10px;
  text-align: center;
  text-decoration: none;
  color: #000000;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
}

.visit_first_section .title_block {
  width: 100%;
  max-width: 725px;
}

.visit_first_section .btn_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 50px;
}

.visit_first_section .btn_block a {
  margin-right: 58px;
}

.visit_first_section .btn_block a:last-of-type {
  margin-right: 0;
}

.visit_first_section .text_block {
  margin-top: 184px;
  position: relative;
  width: 100%;
  max-width: 730px;
}

.visit_first_section .text_block::before {
  position: absolute;
  content: '';
  width: 753px;
  height: 32px;
  top: -122px;
  left: 0;
  margin-left: calc(-1 * (753px / 4));
  z-index: -1;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("/wp-content/themes/church/img/wroclaw/visit/decor_left.svg");
}

.visit_first_section .text_block ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.visit_first_section .text_block li {
  position: relative;
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 100%;
  margin-top: 0;
  margin-bottom: 45px;
  padding-left: 53px;
}

.visit_first_section .text_block li:last-of-type {
  margin-bottom: 0;
}

.visit_first_section .text_block li::before {
  position: absolute;
  content: '';
  width: 14px;
  height: 14px;
  left: 0;
  top: calc(50% - 5px);
  background: #FFBB00;
  border-radius: 3px;
}

.visit_first_section .img_block {
  position: absolute;
  right: 0;
  top: 100px;
  width: 100%;
  height: 626px;
  max-width: 821px;
}

.visit_first_section .img_block > img {
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  border-radius: 15px;
}

.visit_first_section .img_block .first_img {
  position: absolute;
  left: 0;
  top: 123px;
  z-index: 2;
}

.visit_first_section .img_block .second_img {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 15px 0px 0px 0px;
}

.visit_first_section .decor_right {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
}

.visit_first_section .decor_right .top {
  position: absolute;
  right: 0;
  top: 20px;
  z-index: 3;
}

.visit_first_section .decor_right .bottom {
  position: absolute;
  right: 0;
  bottom: 20px;
  z-index: 3;
}

.visit_map .section-bg {
  background-color: #F6F6F6;
  height: 170px;
  bottom: 0;
  top: auto;
}

.visit_map .map_block {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 758px;
  border-radius: 0px 15px 15px 0px;
  z-index: 2;
}

.visit_map .text_block {
  margin-left: auto;
  width: 100%;
  max-width: 550px;
}

.visit_map .wrap {
  width: 100%;
  margin-top: 93px;
}

.visit_map .wrap:first-of-type {
  margin-top: 0;
  padding-top: 40px;
}

.visit_map .wrap h3 {
  margin-top: 0;
  font-style: normal;
  font-weight: 800;
  font-size: 48px;
  line-height: 100%;
  color: #1F1C1C;
}

.visit_map .wrap .inner_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.visit_map .wrap p {
  margin: 0;
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 100%;
}

.visit_map .wrap img {
  margin-right: 20px;
  -ms-flex-item-align: start;
  align-self: flex-start;
}

.visit_map_second {
  margin-bottom: 200px;
}

.visit_map_second.section {
  margin-top: 0;
}

.visit_map_second .section-bg {
  background-color: #F6F6F6;
}

.visit_map_second .main_block {
  padding: 159px 0 122px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.visit_map_second .col {
  width: 100%;
}

.visit_map_second .col:first-of-type {
  max-width: 357px;
}

.visit_map_second .col:nth-of-type(2) {
  max-width: 337px;
}

.visit_map_second .col:last-of-type {
  max-width: 550px;
}

.visit_map_second .col h3 {
  margin-top: 0;
  font-style: normal;
  font-weight: 800;
  font-size: 48px;
  line-height: 100%;
  color: #1F1C1C;
}

.visit_map_second .col p {
  margin: 0;
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 100%;
}

.visit_local_contact {
  margin-bottom: 100px;
}

.visit_local_contact .main_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
}

.visit_local_contact .col {
  width: 100%;
}

.visit_local_contact .col:last-of-type {
  max-width: 567px;
  position: relative;
  background: #FFBB00;
  border-radius: 15px;
  padding: 34px 40px;
}

.visit_local_contact .col:last-of-type::before {
  content: "";
  position: absolute;
  bottom: calc(50% - 56px);
  left: -27px;
  z-index: 1;
  width: 56px;
  height: 56px;
  background: #FFBB00;
  border-top-left-radius: 6px;
  -webkit-clip-path: polygon(0 0, 0% 100%, 100% 0);
  clip-path: polygon(0 0, 0% 100%, 100% 0);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.visit_local_contact .col:last-of-type h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 48px;
  line-height: 100%;
  margin: 0 0 10px;
}

.visit_local_contact .col:last-of-type p {
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 100%;
}

.visit_local_contact .col:first-of-type {
  max-width: 704px;
}

.visit_local_contact .col:first-of-type h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 100%;
  margin: 10px 0 20px;
}

.visit_local_contact .col:first-of-type p {
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 100%;
}

.visit_local_contact p {
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 100%;
  margin: 0;
  color: #000;
}

.visit_local_contact .social_block {
  margin-top: 27px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.visit_local_contact .social_block img,
.visit_local_contact .social_block .preview-img {
  width: 43px;
  height: 43px;
}

.visit_local_contact .social_block .preview-img {
  -ms-flex-item-align: center;
  align-self: center;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.visit_local_contact .social_block .preview-img:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.visit_local_contact .social_block a {
  text-decoration: none;
  margin-right: 23px;
}

.visit_local_contact .social_block a:last-of-type {
  margin-right: 0;
}

.visit_local_contact span.longdecor {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: relative;
}

.visit_local_contact span.longdecor::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 76px;
  left: 0;
  bottom: -30px;
  background-image: url("/wp-content/themes/church/img/wroclaw/life/long_decor.svg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.visit_local_offline {
  margin-top: 183px;
  margin-bottom: 170px;
}

.visit_local_offline .main_block {
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
}

.visit_local_offline .offline_block {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  padding: 45px 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.visit_local_offline .offline_block::before {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  width: 341.57px;
  height: 247px;
  background-image: url("/wp-content/themes/church/img/wroclaw/visit/offline_decor.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.visit_local_offline .text_block {
  width: 100%;
  max-width: 685px;
}

.visit_local_offline .text_block h2 {
  font-style: normal;
  font-weight: 900;
  font-size: 48px;
  line-height: 100%;
  margin-top: 10px;
}

.visit_local_offline .text_block p {
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 100%;
}

.visit_local_offline .btn_block {
  -ms-flex-item-align: center;
  align-self: center;
  position: relative;
  width: 100%;
  max-width: 357px;
  height: 60px;
  border: 2px solid #FFBB00;
  background-color: #FFBB00;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 6px;
  padding: 0 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.visit_local_offline .btn_block:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  border: 2px solid #FFBB00;
  background-color: #fff;
  transition: 0.5s;
}

.visit_local_offline .btn_block:hover p {
  color: #FFBB00;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.visit_local_offline .btn_block:hover i {
  background-image: url("/wp-content/themes/church/img/footer/youtube.svg");
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.visit_local_offline .btn_block a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.visit_local_offline .btn_block p {
  -ms-flex-item-align: center;
  align-self: center;
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  line-height: 120%;
  color: #FFFFFF;
}

.visit_local_offline .btn_block i {
  -ms-flex-item-align: center;
  align-self: center;
  min-width: 29.84px;
  height: 21.45px;
  margin-right: 18px;
  background-image: url("/wp-content/themes/church/img/wroclaw/visit/youtube_icon.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

@media screen and (max-width: 1640px) {
  .visit_first_section .img_block {
    max-width: 48%;
  }
  .visit_first_section .title_block {
    max-width: 48%;
  }
  .visit_first_section h1 {
    font-size: 70px;
  }
  .visit_map .text_block {
    max-width: 35%;
  }
  .visit_map_second .main_block {
    padding: 139px 0 122px;
  }
}

@media screen and (max-width: 1500px) {
  .visit_first_section .img_block {
    max-width: 45%;
    height: 526px;
  }
  .visit_first_section .img_block .first_img {
    width: 550px;
  }
  .visit_first_section .img_block .second_img {
    width: 482px;
  }
  .visit_first_section .decor_right {
    max-width: 48%;
  }
  .visit_first_section .title_block {
    max-width: 48%;
  }
  .visit_first_section h1 {
    font-size: 70px;
  }
  .visit_first_section .text_block {
    max-width: 630px;
  }
  .visit_first_section .text_block li {
    margin-bottom: 30px;
    font-size: 25px;
  }
  .visit_map .text_block {
    max-width: 35%;
  }
  .visit_map .wrap h3 {
    font-size: 35px;
  }
  .visit_map .wrap p {
    font-size: 25px;
  }
  .visit_map .map_block {
    height: 650px;
  }
  .visit_map_second {
    margin-bottom: 0;
  }
  .visit_map_second .col:last-of-type {
    max-width: 40%;
  }
  .visit_map_second .col h3 {
    font-size: 35px;
  }
  .visit_map_second .col p {
    font-size: 25px;
  }
  .visit_local_contact .col:first-of-type {
    max-width: 500px;
  }
  .visit_local_contact .col:first-of-type h2 {
    font-size: 35px;
  }
  .visit_local_contact .col:last-of-type {
    max-width: 500px;
  }
  .visit_local_contact .col:last-of-type h2 {
    font-size: 35px;
  }
  .visit_local_contact span.longdecor {
    display: block;
  }
  .visit_local_contact span.longdecor::before {
    bottom: -34px;
    background-position: center;
    background-size: contain;
  }
  .visit_local_offline {
    margin-top: 100px;
    margin-bottom: 100px;
  }
  .visit_local_offline .text_block h2 {
    font-size: 35px;
  }
  .visit_local_offline .text_block p {
    font-size: 25px;
  }
}

@media screen and (max-width: 1368px) {
  .visit_first_section .text_block li {
    margin-bottom: 20px;
    font-size: 20px;
  }
  .visit_first_section .img_block {
    max-width: 45%;
    height: 466px;
  }
  .visit_first_section .img_block .first_img {
    width: 550px;
    height: 360px;
  }
  .visit_first_section .img_block .second_img {
    width: 482px;
    height: 360px;
  }
  .visit_local_contact .col:last-of-type p {
    font-size: 25px;
  }
  .visit_local_contact .col:last-of-type h2 {
    font-size: 30px;
  }
  .visit_local_contact p {
    font-size: 25px;
  }
}

@media screen and (max-width: 1200px) {
  .visit_first_section h1 {
    font-size: 50px;
  }
  .visit_first_section .subtitle {
    font-size: 30px;
  }
  .visit_first_section .img_block {
    max-width: 40%;
    height: 366px;
  }
  .visit_first_section .img_block .first_img {
    width: 353.42px;
    height: 258.76px;
  }
  .visit_first_section .img_block .second_img {
    width: 299.41px;
    height: 258.76px;
  }
  .visit_first_section .text_block::before {
    width: 553px;
  }
  .visit_map .map_block {
    width: 50%;
    height: 558px;
  }
  .visit_map .section-bg {
    height: 125px;
  }
  .visit_map .wrap h3 {
    font-size: 30px;
  }
  .visit_map .wrap p {
    font-size: 20px;
  }
  .visit_map_second .main_block {
    padding: 100px 0 75px;
  }
  .visit_map_second .col:first-of-type {
    max-width: 250px;
  }
  .visit_map_second .col:nth-of-type(2) {
    max-width: 250px;
  }
  .visit_map_second .col h3 {
    font-size: 30px;
  }
  .visit_map_second .col p {
    font-size: 20px;
  }
  .visit_local_contact .col:first-of-type {
    max-width: 400px;
  }
  .visit_local_contact .col:first-of-type p {
    font-size: 20px;
  }
  .visit_local_contact .col:first-of-type h2 {
    font-size: 30px;
  }
  .visit_local_contact .col:last-of-type {
    max-width: 400px;
  }
  .visit_local_contact .col:last-of-type p {
    font-size: 20px;
  }
  .visit_local_contact .col:last-of-type h2 {
    font-size: 30px;
  }
  .visit_local_offline {
    margin-top: 100px;
    margin-bottom: 100px;
  }
  .visit_local_offline .text_block h2 {
    font-size: 30px;
  }
  .visit_local_offline .text_block p {
    font-size: 20px;
  }
}

@media screen and (max-width: 1024px) {
  .visit_first_section .img_block {
    max-width: 45%;
  }
  .visit_map_second .main_block {
    padding: 100px 0 75px;
  }
  .visit_map_second .col:first-of-type {
    max-width: 200px;
  }
  .visit_map_second .col:nth-of-type(2) {
    max-width: 200px;
  }
  .visit_map_second .col h3 {
    font-size: 30px;
  }
  .visit_map_second .col p {
    font-size: 20px;
  }
  .visit_local_contact .col:first-of-type {
    padding: 24px 20px;
    max-width: 370px;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
  }
  .visit_local_contact .col:last-of-type {
    max-width: 370px;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
  }
  .visit_local_contact p {
    font-size: 20px;
  }
  .visit_local_contact .social_block img,
  .visit_local_contact .social_block .preview-img {
    width: 31px;
    height: 31px;
  }
  .visit_local_contact .social_block a {
    margin-right: 17px;
  }
  .visit_local_contact span.longdecor::before {
    bottom: -34px;
    background-position: center;
    background-size: contain;
  }
  .visit_local_offline {
    margin-top: 100px;
    margin-bottom: 100px;
  }
  .visit_local_offline .offline_block {
    padding: 35px;
  }
  .visit_local_offline .offline_block::before {
    width: 241.57px;
    height: 146px;
  }
  .visit_local_offline .btn_block {
    -ms-flex-item-align: end;
    align-self: end;
    height: 50px;
  }
  .visit_local_offline .text_block h2 {
    font-size: 30px;
  }
  .visit_local_offline .text_block p {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .visit_first_section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .visit_first_section .container {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
  .visit_first_section .main_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .visit_first_section .img_block {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
    right: 0;
    top: auto;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
  .visit_first_section .img_block .second_img {
    border-radius: 10px;
  }
  .visit_first_section .decor_right {
    max-width: 100%;
    right: -35%;
  }
  .visit_first_section .title_block {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    margin: 50px auto 0;
    max-width: 350px;
  }
  .visit_first_section h1 {
    text-align: center;
  }
  .visit_first_section .subtitle {
    text-align: center;
  }
  .visit_first_section .text_block {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin-top: 73px;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
  }
  .visit_first_section .text_block::before {
    display: none;
  }
  .visit_map .section-bg {
    display: none;
  }
  .visit_map .map_block {
    position: relative;
    width: 100vw;
  }
  .visit_map .text_block {
    width: 100%;
    max-width: 100%;
  }
  .visit_map .wrap {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 30px auto 60px;
  }
  .visit_map .wrap:first-of-type {
    margin-top: 60px;
    padding-top: 0;
  }
  .visit_map .wrap p {
    text-align: center;
  }
  .visit_map .wrap h3 {
    text-align: center;
  }
  .visit_map .wrap img {
    position: absolute;
    display: block;
    width: 20.84px;
    height: 25px;
    top: -30px;
    margin-left: 165px;
    margin-right: 0;
  }
  .visit_map .wrap .inner_block {
    display: block;
    width: 100%;
  }
  .visit_map_second .main_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .visit_map_second .col {
    max-width: 300px;
    margin: 0 auto 60px;
  }
  .visit_map_second .col:last-of-type {
    margin: 0 auto 0;
    max-width: 300px;
  }
  .visit_map_second .col:nth-of-type(2) {
    max-width: 300px;
  }
  .visit_map_second .col:first-of-type {
    max-width: 300px;
  }
  .visit_map_second .col h3 {
    text-align: center;
  }
  .visit_map_second .col p {
    text-align: center;
  }
  .visit_local_contact .main_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .visit_local_contact .col:first-of-type {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin: 0 auto 0;
    max-width: 400px;
  }
  .visit_local_contact .col:first-of-type::before {
    top: auto;
    bottom: calc(100% - 1px);
    left: calc(50% - 25px);
    z-index: 1;
    border-top-color: transparent;
    border-bottom-color: #FFBB00;
  }
  .visit_local_contact .col:first-of-type h2 {
    font-size: 30px;
    text-align: center;
  }
  .visit_local_contact .col:first-of-type p {
    text-align: center;
    font-size: 14px;
  }
  .visit_local_contact .col:first-of-type span.longdecor {
    display: initial;
  }
  .visit_local_contact .col:last-of-type {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin: 60px auto 0;
    max-width: 380px;
  }
  .visit_local_contact .col:last-of-type::before {
    left: calc(50% - 27px);
    top: -27px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .visit_local_contact .col:last-of-type h2 {
    font-size: 25px;
    text-align: center;
  }
  .visit_local_contact .col:last-of-type p {
    font-size: 25px;
    font-weight: 800;
    text-align: center;
  }
  .visit_local_contact .col:last-of-type p.small {
    font-weight: 500;
    font-size: 20px;
  }
  .visit_local_contact .social_block {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 190px;
  }
  .visit_local_offline .offline_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .visit_local_offline h2 {
    text-align: center;
  }
  .visit_local_offline p {
    text-align: center;
  }
  .visit_local_offline .btn_block {
    margin-left: auto;
    margin-right: auto;
    -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
    -webkit-filter: none;
    filter: none;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
  .visit_local_offline .btn_block p {
    font-size: 14px;
  }
}

@media screen and (max-width: 586px) {
  .visit_first_section .subtitle {
    font-size: 16px;
  }
  .visit_first_section .btn_block {
    margin-top: 25px;
  }
  .visit_first_section .text_block li {
    font-size: 14px;
    padding-left: 27px;
  }
  .visit_first_section .text_block li::before {
    width: 10px;
    height: 10px;
    top: calc(50% - 3px);
  }
  .visit_first_section .img_block {
    width: 100%;
    max-width: 350px;
    height: 280px;
    padding: 0 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .visit_first_section .img_block .first_img {
    width: 295.21px;
    height: 216.15px;
    top: 60px;
  }
  .visit_first_section .img_block .second_img {
    width: 242px;
    height: 216px;
  }
  .visit_map .wrap p {
    font-size: 14px;
  }
  .visit_map_second .main_block {
    padding: 60px 0;
  }
  .visit_map_second .col h3 {
    margin-bottom: 14px;
  }
  .visit_map_second .col p {
    font-size: 14px;
  }
  .visit_map_second .col:last-of-type {
    margin: 0 auto 0;
    max-width: 230px;
  }
  .visit_map_second .col:nth-of-type(2) {
    max-width: 230px;
  }
  .visit_map_second .col:first-of-type {
    max-width: 230px;
  }
  .visit_local_contact .col:first-of-type {
    max-width: 320px;
  }
  .visit_local_contact .col:first-of-type h2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .visit_local_contact .col:first-of-type span {
    text-align: center;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin: 0 auto;
  }
  .visit_local_contact .col:first-of-type span::before {
    bottom: -38px;
  }
}

/*--------------------------------------------------------------
# Contact local page
--------------------------------------------------------------*/
.contact_local_second {
  position: relative;
  margin-top: 74px;
}

.contact_local_second .section-bg {
  background-color: #F7F7F7;
}

.contact_local_second .main_block {
  padding: 110px 0 58px;
}

.contact_local_second .inner_block {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.contact_local_second .inner_block .col {
  width: 100%;
  max-width: 420px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.contact_local_second .inner_block .img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 37px;
  margin-right: 57px;
  -ms-flex-item-align: center;
  align-self: center;
}

.contact_local_second .inner_block .img img {
  -ms-flex-item-align: center;
  align-self: center;
}

.contact_local_second .inner_block .subtitle {
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #000000;
  margin: 0;
}

.contact_local_second .inner_block a {
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #000000;
  text-decoration: none;
}

.contact_local_second .inner_block a:hover {
  color: #FFBB00;
}

.contact_local_second .bottom_block {
  margin-top: 147px;
  width: 100%;
  max-width: 381px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.contact_local_second .bottom_block p {
  margin: 0;
  color: #9C9B9B;
}

.contact_local_map {
  position: relative;
}

.contact_local_map.section {
  margin-top: 0;
}

.contact_local_map .section-bg {
  background-color: #fff;
  height: 173px;
  top: auto;
  bottom: -3px;
  z-index: 2;
}

.contact_local_map .main_block {
  padding-top: 109px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
}

.contact_local_map .map {
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: calc(-1 * (100vw / 2));
  z-index: 1;
}

.contact_local_map .form_block {
  position: relative;
  width: 100%;
  max-width: 567px;
  margin-top: auto;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  z-index: 2;
}

.contact_local_map .form_block form {
  padding: 48px 60px;
  width: 100%;
}

.contact_local_map .form_block h2 {
  margin: 0 0 52px;
}

.contact_local_map .form_inner {
  margin-bottom: 20px;
}

.contact_local_map .form_inner input {
  width: 100%;
  height: 55px;
  border: 1px solid #E5E5E5;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 10px;
  font-style: normal;
  font-weight: 300;
  font-size: 20px;
  line-height: 100%;
  padding: 0 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #000;
}

.contact_local_map .form_inner input::-webkit-input-placeholder {
  color: #C4C4C4;
}

.contact_local_map .form_inner input::-moz-placeholder {
  color: #C4C4C4;
}

.contact_local_map .form_inner input:-ms-input-placeholder {
  color: #C4C4C4;
}

.contact_local_map .form_inner input::-ms-input-placeholder {
  color: #C4C4C4;
}

.contact_local_map .form_inner input::placeholder {
  color: #C4C4C4;
}

.contact_local_map .form_inner input[type=submit] {
  background-color: #FFBB00;
  border: 1px solid #FFBB00;
  width: 150px;
  margin-right: 20px;
  height: 39px;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 100%;
  text-align: center;
  color: #000000;
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  cursor: pointer;
}

.contact_local_map .form_inner input[type=submit]:hover {
  -webkit-box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.contact_local_map .form_inner textarea {
  border: 1px solid #E5E5E5;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 10px;
  width: 100%;
  padding: 25px;
  font-style: normal;
  font-weight: 300;
  font-size: 20px;
  line-height: 100%;
  color: #000;
}

.contact_local_map .form_inner textarea::-webkit-input-placeholder {
  color: #C4C4C4;
}

.contact_local_map .form_inner textarea::-moz-placeholder {
  color: #C4C4C4;
}

.contact_local_map .form_inner textarea:-ms-input-placeholder {
  color: #C4C4C4;
}

.contact_local_map .form_inner textarea::-ms-input-placeholder {
  color: #C4C4C4;
}

.contact_local_map .form_inner textarea::placeholder {
  color: #C4C4C4;
}

.contact_local_map .form_inner.last {
  margin-bottom: 0;
  margin-top: 37px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.contact_local_map .form_inner.last p {
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  line-height: 100%;
  -ms-flex-item-align: center;
  align-self: center;
  color: #C4C4C4;
  margin: 0;
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
}

.contact_local_map .form_inner .wpcf7-spinner {
  -webkit-box-ordinal-group: 4;
  -ms-flex-order: 3;
  order: 3;
  margin-top: 20px;
}

.contact_local_map .message_block {
  position: relative;
  width: 100%;
  max-width: 567px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  margin-top: auto;
  position: relative;
  background: #FFBB00;
  border-radius: 15px;
  padding: 31px 36px;
  z-index: 2;
}

.contact_local_map .message_block::before {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  right: 75px;
  top: -27px;
  background: #FFBB00;
  border-top-left-radius: 12px;
  -webkit-clip-path: polygon(0 0, 0% 100%, 100% 0);
  clip-path: polygon(0 0, 0% 100%, 100% 0);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.contact_local_map .message_block h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 130%;
  margin: 10px 0 0;
}

.contact_local_map .message_block p {
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 130%;
  margin: 0;
}

.contact_local_map .message_block img,
.contact_local_map .message_block .preview-img {
  width: 43px;
  height: 43px;
}

.contact_local_map .message_block .preview-img {
  -ms-flex-item-align: center;
  align-self: center;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.contact_local_map .message_block .preview-img:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.contact_local_map .message_block .social_block {
  margin-top: 27px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.contact_local_map .message_block a {
  text-decoration: none;
  margin-right: 30px;
}

.contact_local_map .message_block a:last-of-type {
  margin-right: 0;
}

.contact_local_help {
  margin-top: 282px;
}

.contact_local_help .section-bg {
  background-color: #FFBB00;
}

.contact_local_help .main_block {
  padding: 83px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
}

.contact_local_help .left_col {
  position: relative;
  width: 100%;
  max-width: 685px;
  margin-left: 115px;
}

.contact_local_help .left_col .img_block {
  position: absolute;
  top: -215px;
  left: -215px;
  width: 430px;
  height: 430px;
}

.contact_local_help .left_col h2 {
  position: relative;
  font-style: normal;
  font-weight: 900;
  font-size: 70px;
  line-height: 130%;
  color: #000;
  margin-top: 20px;
  margin-bottom: 32px;
}

.contact_local_help .left_col p {
  position: relative;
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 130%;
  margin: 0;
}

.contact_local_help .right_col {
  position: relative;
}

.contact_local_help .right_col::before {
  position: absolute;
  content: '';
  width: 3px;
  height: 272px;
  top: 0;
  left: -58px;
  background: #FFFFFF;
  border-radius: 24px;
}

.contact_local_help .right_col a {
  font-style: normal;
  font-weight: normal;
  font-size: 30px;
  line-height: 130%;
  color: #000;
}

.contact_local_help .phone_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 60px;
}

.contact_local_help .phone_block img {
  width: 28.17px;
  height: 27.65px;
  margin-right: 29px;
  -ms-flex-item-align: center;
  align-self: center;
}

.contact_local_help .phone_block a {
  text-decoration: none;
}

.contact_local_help .email_block {
  margin-top: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.contact_local_help .email_block img {
  width: 28.17px;
  height: 27.65px;
  margin-right: 29px;
  -ms-flex-item-align: center;
  align-self: center;
}

.contact_local_help .social_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 36px;
}

.contact_local_help .social_block p {
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 130%;
  margin: 0;
  -ms-flex-item-align: center;
  align-self: center;
}

.contact_local_help .social_block div {
  -ms-flex-item-align: center;
  align-self: center;
  margin-left: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.contact_local_help .social_block a {
  text-decoration: none;
  margin-right: 15px;
}

.contact_local_help .social_block a:last-of-type {
  margin-right: 0;
}

.contact_local_help .social_block img,
.contact_local_help .social_block .preview-img {
  width: 37px;
  height: 37px;
  margin-left: 0;
}

.contact_local_help .social_block .preview-img {
  -ms-flex-item-align: center;
  align-self: center;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.contact_local_help .social_block .preview-img:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

@media screen and (max-width: 1500px) {
  .contact_local_second .main_block {
    padding: 75px 0 58px;
  }
  .contact_local_second .bottom_block {
    margin-top: 100px;
  }
  .contact_local_help .left_col .img_block {
    position: absolute;
    top: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
  }
}

@media screen and (max-width: 1368px) {
  .contact_local_map .message_block h2 {
    font-size: 40px;
  }
  .contact_local_map .message_block p {
    font-size: 25px;
  }
  .contact_local_help {
    margin-top: 150px;
  }
  .contact_local_help .main_block {
    padding: 50px 0;
  }
  .contact_local_help .left_col {
    max-width: 500px;
  }
  .contact_local_help .left_col h2 {
    font-size: 40px;
  }
  .contact_local_help .left_col p {
    font-size: 25px;
  }
  .contact_local_help .right_col::before {
    height: 100%;
  }
  .contact_local_help .right_col a {
    font-size: 25px;
  }
  .contact_local_map .form_block {
    max-width: 450px;
  }
  .contact_local_map .form_block form {
    padding: 34px 40px;
  }
  .contact_local_map .form_block h2 {
    font-size: 30px;
    margin: 0 0 30px;
  }
  .contact_local_map .form_inner input {
    height: 40px;
    font-size: 15px;
  }
  .contact_local_map .form_inner textarea {
    font-size: 15px;
  }
  .contact_local_map .form_inner:last-of-type p {
    margin-left: 20px;
  }
  .contact_local_map .message_block {
    margin-bottom: 60px;
  }
  .contact_local_map .message_block h2 {
    font-size: 30px;
  }
  .contact_local_map .message_block p {
    font-size: 20px;
  }
  .contact_local_map .message_block .social_block {
    margin-top: 15px;
  }
}

@media screen and (max-width: 1200px) {
  .contact_local_second .inner_block .img {
    width: 35px;
    margin-right: 15px;
  }
  .contact_local_second .inner_block .content {
    -ms-flex-item-align: center;
    align-self: center;
  }
  .contact_local_second .inner_block .subtitle {
    font-size: 15px;
    line-height: 17px;
  }
  .contact_local_second .inner_block a {
    font-size: 15px;
    line-height: 17px;
  }
  .contact_local_second .bottom_block {
    margin-top: 70px;
  }
  .contact_local_map .message_block {
    max-width: 400px;
  }
  .contact_local_map .message_block a {
    margin-right: 15px;
  }
  .contact_local_help .left_col {
    margin-left: 60px;
    max-width: 450px;
  }
  .contact_local_help .left_col .img_block {
    width: 241px;
    height: 241px;
    top: -120px;
    left: -120px;
  }
}

@media screen and (max-width: 1024px) {
  .contact_local_second .inner_block .img {
    min-width: 35px;
  }
  .contact_local_second .inner_block .col {
    max-width: 230px;
  }
  .contact_local_map .form_block {
    max-width: 350px;
  }
  .contact_local_map .message_block {
    padding: 21px 26px;
    max-width: 350px;
  }
  .contact_local_map img,
  .contact_local_map .preview-img {
    width: 31px;
    height: 31px;
  }
  .contact_local_help .left_col {
    margin-left: 0;
    max-width: 350px;
  }
  .contact_local_help .left_col p {
    font-size: 20px;
  }
  .contact_local_help .right_col {
    width: 100%;
    max-width: 350px;
  }
  .contact_local_help .right_col::before {
    left: -30px;
  }
  .contact_local_help .right_col a {
    font-size: 20px;
  }
  .contact_local_help .social_block {
    margin-top: 15px;
  }
  .contact_local_help .social_block p {
    font-size: 15px;
  }
  .contact_local_help img,
  .contact_local_help .preview-img {
    width: 31px;
    height: 31px;
  }
}

@media screen and (max-width: 768px) {
  .contact_local_second .main_block {
    padding: 56px 0;
  }
  .contact_local_second .inner_block {
    display: block;
    max-width: 270px;
    margin: 0 auto;
  }
  .contact_local_second .inner_block .col {
    max-width: 270px;
    margin: 0 auto 43px;
  }
  .contact_local_second .inner_block .col:last-of-type {
    margin: 0 auto;
  }
  .contact_local_second .bottom_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 270px;
    margin: 30px auto 0;
  }
  .contact_local_second .bottom_block p {
    margin: 0 0 10px;
  }
  .contact_local_map .main_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .contact_local_map .form_block {
    margin: auto auto 0;
  }
  .contact_local_map .map {
    height: 50%;
  }
  .contact_local_map .message_block {
    margin-top: 60px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
  }
  .contact_local_map .message_block::before {
    left: 75px;
    right: auto;
  }
  .contact_local_help .main_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .contact_local_help .left_col {
    margin-left: auto;
    margin-right: auto;
  }
  .contact_local_help .left_col h2 {
    text-align: center;
  }
  .contact_local_help .left_col p {
    text-align: center;
  }
  .contact_local_help .left_col .img_block {
    left: calc(50% - 120px);
    top: -150px;
  }
  .contact_local_help .right_col {
    margin-left: auto;
    margin-right: auto;
  }
  .contact_local_help .right_col::before {
    top: -60px;
    left: 175px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  .contact_local_help .social_block {
    margin-left: auto;
    margin-right: auto;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
  .contact_local_help .social_block a {
    margin-right: 10px;
  }
}

@media screen and (max-width: 586px) {
  .contact_local_second {
    margin-top: 50px;
  }
  .contact_local_map .main_block {
    padding-top: 300px;
  }
  .contact_local_map .form_block form {
    padding: 34px 30px;
  }
  .contact_local_map .form_inner {
    margin-bottom: 10px;
  }
  .contact_local_map .form_inner input {
    font-size: 12px;
    padding: 0 15px;
  }
  .contact_local_map .form_inner input[type=submit] {
    font-size: 12px;
    height: 30px;
    width: 120px;
    padding: 0 15px;
  }
  .contact_local_map .form_inner textarea {
    padding: 15px;
    font-size: 12px;
  }
  .contact_local_help .left_col .img_block {
    left: calc(50% - 98px);
    top: -130px;
    width: 197px;
    height: 197px;
  }
  .contact_local_help .left_col img {
    -webkit-transform: rotate(38.14deg);
    transform: rotate(38.14deg);
  }
  .contact_local_help .left_col h2 {
    margin-top: 0;
  }
  .contact_local_help .right_col a {
    text-align: center;
  }
  .contact_local_help .phone_block {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin: 60px auto 0;
  }
  .contact_local_help .phone_block img {
    width: 16.99px;
    height: 16.78px;
    margin-right: 13px;
    -ms-flex-item-align: center;
    align-self: center;
  }
  .contact_local_help .email_block {
    margin: 10px auto 0;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
  .contact_local_help .email_block img {
    width: 16.99px;
    height: 16.78px;
    margin-right: 13px;
    -ms-flex-item-align: center;
    align-self: center;
  }
}

/*--------------------------------------------------------------
# Giving local page
--------------------------------------------------------------*/
.giving_local_first {
  margin-top: 100px;
  margin-bottom: 185px;
}

.giving_local_first .main_block {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
}

.giving_local_first .main_block img {
  display: block;
  margin: 0 auto 32px;
  width: 97px;
}

.giving_local_first .main_block h1 {
  font-style: normal;
  font-weight: 800;
  font-size: 70px;
  line-height: 100%;
  text-align: center;
  margin: 0;
}

.giving_local_first .main_block h1 span {
  color: #FFBB00;
}

.giving_local_first .main_block a.btn {
  margin-top: 62px;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid #FFBB00;
  background-color: #FFBB00;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 7px 30px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #000000;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.giving_local_first .main_block a.btn:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

.giving_local_online .main_block {
  padding: 90px 0 132px;
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
}

.giving_local_online .title_block {
  position: relative;
  padding-left: 28px;
  margin-bottom: 68px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}

.giving_local_online .title_block::before {
  position: absolute;
  content: '';
  width: 5px;
  height: 85px;
  left: 0;
  top: 5px;
  background: #FFBB00;
  border-radius: 15px;
}

.giving_local_online h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 100%;
  margin: 0;
}

.giving_local_online h2 span {
  color: #FFBB00;
}

.giving_local_online .inner_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.giving_local_online .col {
  width: 100%;
  max-width: 687px;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  padding: 54px 54px 30px;
}

.giving_local_online .col img {
  margin-right: 38px;
  -ms-flex-item-align: center;
  align-self: center;
}

.giving_local_online .col h3 {
  font-style: normal;
  font-weight: 800;
  font-size: 30px;
  line-height: 90%;
  -ms-flex-item-align: center;
  align-self: center;
  margin: 0;
}

.giving_local_online .title_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 85px;
}

.giving_local_online .text_inner p {
  position: relative;
  margin: 0;
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 120%;
}

.giving_local_online .text_inner i.copy {
  position: absolute;
  content: '';
  top: 8px;
  right: -10px;
  margin-right: 0;
  width: 11px;
  height: 11px;
  background-image: url("/wp-content/themes/church/img/wroclaw/giving/copied_icon.svg");
}

.giving_local_online .text_inner i.copy.hovered {
  background-image: url("/wp-content/themes/church/img/wroclaw/giving/copied_icon_yellow.svg");
}

.giving_local_online .text_inner i.copy.copied {
  background-image: url("/wp-content/themes/church/img/wroclaw/giving/copied_icon_final.svg");
}

.giving_local_online .text_inner a {
  color: #000;
  text-decoration: none;
}

.giving_local_online .text_inner a.copied {
  color: #FFBB00;
}

.giving_local_online .text_inner b {
  font-weight: bold;
}

.giving_local_online p.yellow {
  color: #FFBB00;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 100%;
}

.giving_local_church .main_block {
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
}

.giving_local_church .title_block {
  position: relative;
  padding-left: 28px;
  margin-bottom: 68px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}

.giving_local_church .title_block::before {
  position: absolute;
  content: '';
  width: 5px;
  height: 85px;
  left: 0;
  top: 5px;
  background: #FFBB00;
  border-radius: 15px;
}

.giving_local_church h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 100%;
  margin: 0;
}

.giving_local_church h2 span {
  color: #FFBB00;
}

.giving_local_church .inner_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.giving_local_church .col {
  width: 100%;
  max-width: 687px;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  padding: 54px 54px 40px;
}

.giving_local_church .col img {
  margin-right: 38px;
  max-height: 48px;
  -ms-flex-item-align: center;
  align-self: center;
}

.giving_local_church .col h3 {
  font-style: normal;
  font-weight: 800;
  font-size: 30px;
  line-height: 90%;
  -ms-flex-item-align: center;
  align-self: center;
  margin: 0;
}

.giving_local_church .title_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 85px;
}

.giving_local_church .inner_info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.giving_local_church .inner_info p {
  margin: 0;
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 24px;
}

.giving_local_church .inner_info b {
  font-weight: bold;
}

.giving_local_church a.btn {
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid #FFBB00;
  background-color: #FFBB00;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 7px 30px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #000000;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.giving_local_church a.btn:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

.giving_local_contacts .section-bg {
  background-color: #FFBB00;
}

.giving_local_contacts .main_block {
  position: relative;
  padding: 93px 0;
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.giving_local_contacts .title_block {
  width: 100%;
  max-width: 527px;
}

.giving_local_contacts .title_block h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 130%;
  margin: 0;
}

.giving_local_contacts .title_block p {
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 130%;
  margin: 0;
}

.giving_local_contacts .social_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  max-width: 447px;
}

.giving_local_contacts .social_block a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
  margin-right: 44px;
}

.giving_local_contacts .social_block a:last-of-type {
  margin-right: 0;
}

.giving_local_contacts .social_block img,
.giving_local_contacts .social_block .preview-img {
  -ms-flex-item-align: center;
  align-self: center;
  width: 78px;
  height: 78px;
}

.giving_local_contacts .social_block .preview-img {
  -ms-flex-item-align: center;
  align-self: center;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.giving_local_contacts .social_block .preview-img:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.giving_local_contacts .triangle {
  position: absolute;
  top: -27px;
  width: 56px;
  height: 56px;
  background: #FFBB00;
  border-top-left-radius: 12px;
  -webkit-clip-path: polygon(0 0, 0% 100%, 100% 0);
  clip-path: polygon(0 0, 0% 100%, 100% 0);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media screen and (max-width: 1500px) {
  .giving_local_first .main_block {
    max-width: 1030px;
  }
  .giving_local_first .main_block h1 {
    font-size: 50px;
  }
  .giving_local_online .col {
    padding: 34px 34px 30px;
    max-width: 600px;
  }
  .giving_local_church .col {
    padding: 34px 34px 30px;
    max-width: 600px;
  }
}

@media screen and (max-width: 1368px) {
  .giving_local_first {
    margin-top: 100px;
    margin-bottom: 100px;
  }
  .giving_local_online h2 {
    font-size: 40px;
  }
  .giving_local_online .col {
    max-width: 550px;
  }
  .giving_local_online .col h3 {
    font-size: 30px;
  }
  .giving_local_church h2 {
    font-size: 40px;
  }
  .giving_local_church .col {
    max-width: 550px;
  }
  .giving_local_church .col h3 {
    font-size: 30px;
  }
  .giving_local_contacts .title_block h2 {
    font-size: 40px;
  }
  .giving_local_contacts .title_block p {
    font-size: 25px;
  }
  .giving_local_contacts .social_block a {
    margin-right: 20px;
  }
}

@media screen and (max-width: 1200px) {
  .giving_local_online .main_block {
    padding: 90px 0 90px;
  }
  .giving_local_online h2 {
    font-size: 30px;
  }
  .giving_local_online .col {
    max-width: 470px;
  }
  .giving_local_online .col h3 {
    font-size: 20px;
  }
  .giving_local_online .col img {
    margin-right: 20px;
    width: 40px;
  }
  .giving_local_online .title_inner {
    margin-bottom: 35px;
  }
  .giving_local_online .text_inner p {
    font-size: 12px;
  }
  .giving_local_church h2 {
    font-size: 30px;
  }
  .giving_local_church .col {
    max-width: 470px;
  }
  .giving_local_church .col h3 {
    font-size: 20px;
  }
  .giving_local_church .col img {
    margin-right: 20px;
    width: 40px;
  }
  .giving_local_church .title_inner {
    margin-bottom: 35px;
  }
  .giving_local_church .inner_info p {
    font-size: 14px;
    line-height: 130%;
  }
  .giving_local_church a.btn {
    padding: 5px 20px;
    margin-right: 0;
  }
  .giving_local_contacts .main_block {
    padding: 75px 0;
  }
  .giving_local_contacts h2 {
    font-size: 30px;
  }
  .giving_local_contacts p {
    font-size: 20px;
  }
  .giving_local_contacts .social_block img,
  .giving_local_contacts .social_block .preview-img {
    width: 45px;
    height: 45px;
  }
}

@media screen and (max-width: 1024px) {
  .giving_local_online .col {
    max-width: 350px;
  }
  .giving_local_church .col {
    max-width: 350px;
  }
}

@media screen and (max-width: 768px) {
  .giving_local_first .main_block h1 {
    font-size: 40px;
  }
  .giving_local_online .main_block {
    padding: 35px 0 35px;
  }
  .giving_local_online .title_block {
    margin-bottom: 30px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  .giving_local_online .title_block::before {
    height: 100%;
  }
  .giving_local_online .inner_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .giving_local_online .col {
    max-width: 350px;
    margin: 10px auto;
  }
  .giving_local_church .col {
    max-width: 350px;
    margin: 10px auto;
  }
  .giving_local_church .title_block {
    margin-bottom: 30px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  .giving_local_church .title_block::before {
    height: 100%;
  }
  .giving_local_church .inner_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .giving_local_contacts .main_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .giving_local_contacts .title_block {
    margin-bottom: 30px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  .giving_local_contacts .title_block h2 {
    font-size: 30px;
  }
  .giving_local_contacts .title_block p {
    font-size: 20px;
  }
  .giving_local_contacts .social_block {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 586px) {
  .giving_local_first .main_block h1 {
    font-size: 30px;
  }
  .giving_local_contacts .main_block {
    padding: 50px 0;
  }
  .giving_local_online .text_inner i.copy {
    top: 2px;
  }
}

/*--------------------------------------------------------------
# calendar
--------------------------------------------------------------*/
#calendar {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
  font-size: 14px;
  margin-bottom: 20px;
  min-width: 225px;
}

#calendar .viewEvent {
  background-color: #FFBB00;
  border-radius: 12px;
  display: none;
  padding: 25px;
  text-align: center;
  font-size: 16px;
  max-width: 370px;
  margin: 20px auto;
  line-height: 22px;
  -webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.15);
  margin-top: 75px;
}

#calendar .viewEvent .close {
  display: none;
}

#calendar .viewEvent .street {
  font-weight: bold;
  font-size: 12px;
  line-height: 14px;
  margin-top: 9px;
}

#calendar .viewEvent .image {
  margin-top: -100px;
  text-align: center;
}

#calendar .viewEvent .image img {
  border-radius: 15px;
  max-width: 100%;
  -webkit-filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.25));
  filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.25));
}

#calendar .viewEvent .bottomWhite {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 20px;
}

#calendar .viewEvent .moreButton {
  background: #fff;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  padding: 9px 20px;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

#calendar .viewEvent .moreButton:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

#calendar .viewEvent .sIcons li a {
  width: 30px;
  height: 30px;
  display: block;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto;
}

#calendar .viewEvent .sIcons li a.tg {
  background-image: url("../img/wroclaw/calendar/tg.svg");
}

#calendar .viewEvent .sIcons li a.insta {
  background-image: url("../img/wroclaw/calendar/insta.svg");
}

#calendar .viewEvent .sIcons li a.yt {
  background-image: url("../img/wroclaw/calendar/yt.svg");
}

#calendar .viewEvent h4 {
  font-size: 19px;
  margin: 12px 0;
}

#calendar .viewEvent .desc {
  line-height: 19px;
  letter-spacing: -.33px;
}

#calendar .viewEvent .date {
  line-height: 19px;
  letter-spacing: -.33px;
  margin-top: 14px;
}

#calendar .viewEvent .time {
  line-height: 19px;
  letter-spacing: -.33px;
}

#calendar .viewEvent .contacts {
  font-weight: bold;
  font-size: 19px;
  padding-top: 10px;
  padding-bottom: 10px;
}

#calendar h1 {
  font-size: 30px;
  margin-left: auto;
  margin-right: auto;
}

#calendar .calendarTop .monthOrYear {
  display: none;
}

#calendar .months {
  gap: 15px;
  padding: 5px 0;
  background: linear-gradient(90.9deg, rgba(246, 246, 246, 0) 0.9%, #F6F6F6 23.46%, rgba(246, 246, 246, 0.815527) 76.7%, rgba(246, 246, 246, 0) 98.56%);
  color: #C4C4C4;
  font-weight: 300;
  overflow-x: auto;
  min-height: 32px;
  max-height: 41px;
  border-radius: 5px;
}

#calendar .months li {
  cursor: pointer;
}

#calendar .months li.active {
  color: #FFBB00;
  font-weight: 600;
  cursor: default;
}

#calendar .months::-webkit-scrollbar {
  display: none;
}

#calendar .month {
  display: -ms-grid;
  display: grid;
  gap: 10px;
}

#calendar .month .monthName {
  display: none;
  color: #FFBB00;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  width: auto;
  justify-self: start;
}

#calendar .month .weekDays {
  font-weight: bold;
}

#calendar .month .weekDays li span:last-child {
  display: none;
}

#calendar .eventsContainer {
  display: none;
}

#calendar > .month .days > li {
  text-align: center;
  width: 100%;
  aspect-ratio: 7/6;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
}

#calendar .month .days > li.Saturday,
#calendar .month .days > li.Sunday,
#calendar .month .weekDays > li:nth-child(6),
#calendar .month .weekDays > li:nth-child(7) {
  color: #FFBB00;
}

#calendar .month .days li.event {
  background-color: #FFBB00;
  color: #000;
  border-radius: 5px;
}

#calendar .month .days li.event.crop,
#calendar .month .days li.event.crop .dateEvent,
#calendar .month .days li.event.preCrop,
#calendar .month .days li.event.preCrop .dateEvent {
  margin-right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#calendar .month .days li.event.afterCrop .dateEvent {
  color: transparent;
}

#calendar .month .days li.event.afterCrop .dateEvent {
  background: -webkit-gradient(linear, left top, right top, from(#FFBB00), color-stop(95%, transparent));
  background: linear-gradient(90deg, #FFBB00 0%, transparent 95%);
}

#calendar .month .days li.event.crop .dateEvent {
  color: transparent;
}

#calendar .month .days li.event + li.event,
#calendar .month .days li.event + li.event .dateEvent {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding-left: 0;
  margin-left: 0;
}

#calendar .month .days .current {
  border: 1px dotted;
  border-color: #9C9B9B !important;
}

#twelve .month .days li.current.event {
  border: none;
  background-color: #9C9B9B;
  color: #fff;
}

#calendar .month > * {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(7, minmax(25px, 50px));
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-items: center;
  -ms-grid-column-align: center;
  justify-self: center;
  gap: 3px 0;
}

#calendar ul {
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #9C9B9B;
}

#calendar ul li {
  list-style: none;
}

.calendar .title_block {
  margin-bottom: 30px;
}

.calendar .title_block h1 {
  text-align: center;
  font-size: 30px;
}

@media screen and (min-width: 720px) and (max-width: 1024px) {
  #calendar .months {
    margin: 0 auto;
    -ms-flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(12, minmax(50px, 1fr));
    max-width: 850px;
  }
}

@media screen and (min-width: 325px) {
  #calendar {
    margin: 0 15px 25px 15px;
  }
}

@media screen and (min-width: 1025px) {
  #calendar .viewEvent {
    position: absolute;
    max-width: 322px;
    margin: 0;
    text-align: left;
    -webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding-left: 0;
    padding-right: 0;
    top: 120px;
    right: 50%;
    margin-right: -161px;
  }
  #calendar .viewEvent .close {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    right: -8px;
    top: -8px;
    background: #fff;
    border-radius: 50%;
    width: 33px;
    height: 33px;
    padding: 0;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    line-height: 31px;
    font-size: 20px;
    -webkit-box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
  }
  #calendar .viewEvent > * {
    padding-left: 25px;
    padding-right: 25px;
  }
  #calendar .viewEvent > .image {
    padding: 0;
  }
  #calendar .viewEvent .street {
    margin: 15px 0;
    font-size: 12px;
  }
  #calendar .viewEvent .image {
    position: relative;
    left: -58px;
    margin-top: -44px;
  }
  #calendar .viewEvent .image img {
    -webkit-filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.25));
    filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.25));
    border-radius: 5px;
    max-width: 292px;
  }
  #calendar .viewEvent h4 {
    font-size: 30px;
    line-height: 29px;
  }
  #calendar .viewEvent .contacts {
    font-size: 27px;
  }
  #calendar {
    font-size: 15px;
    gap: 30px;
    margin-bottom: 40px;
  }
  #calendar .month .days .current {
    border: 4px dotted;
  }
  #calendar > .month .days .eventsContainer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    line-height: 15px;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 15px;
    letter-spacing: -0.33px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #calendar > .month .days .dateEvent {
    background-color: #FFBB00;
    border-radius: 4px;
    margin: 3px;
    padding: 5px 3px;
    font-weight: normal;
  }
  #calendar .calendarTop {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 15px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #calendar .calendarTop h1 {
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
    grid-column: 1/5;
    font-size: 50px;
    margin: 0;
  }
  #calendar .calendarTop .monthOrYear {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
    grid-column: 1/5;
  }
  #calendar .calendarTop .monthOrYear li {
    padding: 2px 20px;
    border-radius: 5px;
    cursor: pointer;
  }
  #calendar .calendarTop .monthOrYear .active {
    background: #FFBB00;
    color: #000;
    font-weight: bold;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  }
  #calendar .calendarTop .monthOrYear .active:hover {
    -webkit-transition: 0.5s;
    transition: 0.5s;
    -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  }
  #calendar .months {
    font-size: 20px;
    -ms-grid-column: 5;
    -ms-grid-column-span: 4;
    grid-column: 6/13;
    gap: 45px;
    padding: 7px 0;
  }
  #calendar > .month {
    grid-template-columns: 50px repeat(7, 1fr) 50px;
    gap: 0;
    border-color: #E5E5E5;
    max-width: 1425px;
    margin: 0 auto;
    width: 100%;
  }
  #calendar .month .days > li.Saturday,
  #calendar .month .days > li.Sunday {
    font-weight: 500;
  }
  #calendar > .month .weekDays {
    gap: 0;
    font-weight: normal;
    font-size: 14px;
  }
  #calendar > .month .weekDays > * + * {
    border-left: 1px solid #e5e5e5;
  }
  #calendar > .month .weekDays li {
    text-align: right;
    width: 100%;
    padding: 5px 7px;
  }
  #calendar > .month .weekDays li span:last-child {
    display: block;
  }
  #calendar > .month .weekDays li span:first-child {
    display: none;
  }
  #calendar > .month .days {
    border-top: 1px solid #e5e5e5;
    gap: 0;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    justify-items: start;
  }
  #calendar > .month .days li.event {
    background: #fff;
    border-radius: 0;
  }
  #calendar > .month .days > li .dateNum {
    padding: 6px 8px;
  }
  #calendar > .month .days > li {
    aspect-ratio: 7/5;
    border-bottom: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    position: relative;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
  }
  #calendar > .month .days li:nth-child(7),
  #calendar > .month .days li:nth-child(14),
  #calendar > .month .days li:nth-child(21),
  #calendar > .month .days li:nth-child(28),
  #calendar > .month .days li:nth-child(35),
  #calendar > .month .days li:nth-child(42),
  #calendar > .month .days li:nth-child(49) {
    border-right: 1px solid #e5e5e5;
  }
  #calendar > .month > * {
    grid-template-columns: repeat(7, 1fr);
    grid-column: 2/9;
    max-width: 1530px;
    width: 100%;
    margin: 0 auto;
    width: 100%;
  }
}

#twelve {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 23px;
  font-size: 14px;
  max-width: 1425px;
  margin: 0 auto;
  width: 100%;
}

#twelve .month {
  gap: 0;
  grid-template-rows: 28px 25px 1fr;
}

#twelve .month .days {
  -ms-flex-item-align: start;
  align-self: start;
  font-size: 12px;
}

#twelve > .month > * {
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#twelve .month .days li {
  width: 100%;
  text-align: center;
}

#twelve .month .days li.event {
  cursor: pointer;
}

@media screen and (min-width: 1200px) {
  #calendar .months {
    grid-column: 6/12;
  }
  #calendar {
    font-size: 16px;
  }
  #twelve .month .days {
    font-size: 13px;
    gap: 1px 0;
  }
  #twelve {
    font-size: 15px;
  }
}

@media screen and (min-width: 1368px) {
  #calendar {
    font-size: 17px;
    gap: 50px;
    margin-bottom: 50px;
  }
  #calendar .months {
    grid-column: 7/12;
    gap: 38px;
  }
  #twelve .month .days {
    font-size: 14px;
    gap: 2px 0;
  }
  #calendar .calendarTop h1 {
    font-size: 60px;
  }
  #twelve .month {
    gap: 5px;
  }
}

@media screen and (min-width: 1440px) {
  #calendar > .month .weekDays li {
    text-align: left;
  }
  #twelve {
    font-size: 16px;
  }
  #twelve .month {
    gap: 8px;
  }
}

@media screen and (min-width: 1500px) {
  #calendar .calendarTop h1 {
    font-size: 70px;
  }
  #twelve {
    font-size: 17px;
  }
  #calendar .month .monthName {
    font-size: 22px;
  }
  #calendar {
    font-size: 18px;
    gap: 65px;
  }
  #calendar .months {
    padding: 15px 0;
    grid-column: 7/11;
  }
  #calendar > .month .weekDays {
    font-size: 15px;
  }
  #twelve .month .days {
    font-size: 15px;
    margin-top: 8px;
    gap: 4px 0;
  }
}

/*--------------------------------------------------------------
# Events
--------------------------------------------------------------*/
.events_local .title_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.events_local .title_block h2 {
  font-style: normal;
  font-weight: 800;
  font-size: 50px;
  line-height: 100%;
  color: #000000;
  margin: 0;
  -ms-flex-item-align: center;
  align-self: center;
}

.events_local .events_btn_block {
  margin-left: 100px;
  -ms-flex-item-align: center;
  align-self: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.events_local .events_btn_block button {
  font-weight: normal;
  font-size: 16px;
  line-height: 100%;
  color: #9C9B9B;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: none;
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 7px 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.events_local .events_btn_block button.active {
  font-style: normal;
  font-weight: 800;
  font-size: 16px;
  border: 1px solid #FFBB00;
  background-color: #FFBB00;
  color: #000000;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.events_local .events_btn_block button.active:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

.events_local span.longdecor {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: relative;
}

.events_local span.longdecor::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 46px;
  left: 0;
  bottom: -20px;
  background-image: url("/wp-content/themes/church/img/wroclaw/calendar/decor.svg");
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  z-index: -1;
}

.events_local .btn {
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid #FFBB00;
  background-color: #FFBB00;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  -ms-flex-item-align: center;
  align-self: center;
  padding: 7px 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #000000;
  -webkit-box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.events_local .btn:hover {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

.events_local .events_main {
  margin-top: 100px;
}

.events_local .events_box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 64px 150px;
  margin-bottom: 64px;
}

.events_local .events_box:last-child{
  margin-bottom: 100px;
}

.events_local .event {
  width: 100%;
  max-width: 448px;
}

.events_local .event h3 {
  font-style: normal;
  font-weight: 800;
  font-size: 30px;
  margin: 0;
}

.events_local .img_block {
  margin-bottom: 20px;
}

.events_local .img_block img {
  -webkit-filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
  border-radius: 10px;
  height: auto;
}

.events_local .bottom_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 20px;
}

.events_local .inner_block {
  margin-left: 15px;
}

.events_local .date span {
  font-weight: bold;
  font-size: 14px;
  line-height: 120%;
}

.events_local .time span {
  font-weight: normal;
  font-size: 15px;
  line-height: 120%;
}

.events_local .more_block {
  position: relative;
  width: 300px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 0 auto;
  cursor: pointer;
}

.events_local .more_block a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.events_local .more_block p {
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  line-height: 100%;
  text-align: center;
  color: #000000;
  text-decoration: none;
  margin: 0;
}

.events_local .more_block .more_bottom {
  position: relative;
  margin: 30px auto 0;
  width: 208px;
  height: 40px;
  background: #FFBB00;
  border-radius: 15px 15px 0px 0px;
}

.events_local .more_block .more_bottom::after {
  position: absolute;
  content: '';
  width: 30.09px;
  height: 16.5px;
  top: calc(50% - 8.25px);
  left: calc(50% - 15px);
  background-image: url("/wp-content/themes/church/img/wroclaw/calendar/arrow_icon.svg");
  background-position: center;
  background-size: cover;
}

@media screen and (max-width: 1640px) {
  .events_local .events_box {
    gap: 64px;
  }
}

@media screen and (max-width: 1200px) {
  .events_local .event h3 {
    font-size: 20px;
  }
  .events_local .img_block {
    margin-bottom: 10px;
  }
  .events_local .bottom_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 10px;
  }
  .events_local .bottom_block .inner_block {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    margin-left: 0;
  }
  .events_local .bottom_block a.btn {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    -ms-flex-item-align: start;
    align-self: flex-start;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    font-size: 14px;
    line-height: 100%;
    margin-top: 10px;
  }
}

@media screen and (max-width: 1024px) {
  .events_local .title_block h2 {
    font-size: 30px;
  }
  .events_local .events_box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 64px;
    margin-bottom: 100px;
  }
}

@media screen and (max-width: 586px) {
  .events_local .events_main {
    margin-top: 50px;
  }
  .events_local .events_box {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: auto;
    gap: 40px;
    margin-bottom: 50px;
  }
  .events_local .event {
    margin: 0 auto;
  }
  .events_local .title_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .events_local .title_block h2 {
    text-align: center;
  }
  .events_local .events_btn_block {
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
  }
  .events_local .more_block p {
    display: none;
  }
}
