:root {
	--black: #161515;
	--white: #fff;
	--grey: #919191;
	--black-sec: rgba(22, 21, 21, 0.8);
	--stroke: rgba(22, 21, 21, 0.3);
	--white-80: rgba(255, 255, 255, 0.8);
}

body {
  font-family: 'Inter';
  font-size: 16px;
  background:
}

a {color: var(--mcolor)}

img:not(.color) {
	filter: grayscale(1);
	transition: all 0.3s
}
img:not(.color):hover, .page-template-template-funeral-director .agent-thumb img {
	filter: grayscale(0);
}

h1, .h1, h2, .h2, h3, .h3 {
  font-family: 'Inter';
  color: var(--dcolor);
  font-weight: 700;
}

h1, .h1 {
  font-size: 26px;
  margin-bottom: 30px;
}

h2, .h2{
  font-size: 32px;
  margin-bottom: 24px;
}

h3, .h3 {
  font-size: 18px
}

section {
    overflow: hidden;
}
.home .col-12.swiper {
    padding-left: 45px;
    padding-right: 45px;
}

@media (min-width:890px) {
  h1, .h1 {
    font-size: 26px;
    margin-bottom: 40px;
  }
  h2, .h2 {
    font-size: 32px;
  }
  h3, .h3 {
    font-size: 24px
  }
  section {
      padding-left: 0px;
      padding-right: 0px;
  }
}
@media (min-width: 1430px) {
    .container {
        max-width: 1430px;
    }
}

.navbar-toggler {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  margin-right: 0;
  padding: 9px 10px 9px 0px;
  border: 0;
  z-index: 999;
}
.navbar-toggler.topmenu2 {
  border-radius: 28px;
  padding: 0;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.5);
  justify-content: center;
  align-items: center;
  margin-left: 24px;
}
.mobile_menu_row .navbar-toggler {
  border-radius: 28px;
  padding: 0;
  width: 37px;
  height: 37px;

  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0px;
}
.navbar-toggler.topmenu2 > div, .mobile_menu_row .navbar-toggler > div {
  position: relative;
  width: 22px;
  height: 22px;
  align-items: center;
}
.navbar-toggler.topmenu2 .icon-bar {
  display: block;
  width: 20px;
  height: 1px;
  border-radius: 0px;
  background-color: #6d6d6d;
  margin-right: 0;
  margin-left: 0
}
.mobile_menu_row .navbar-toggler .icon-bar {
	width: 31px;
	height: 2px;
	background: var(--white);
}

button.navbar-toggler:focus {
  outline: none;
}

.navbar-toggler span {
  font-size: 2rem;
  float: left;
  line-height: 6rem;
  margin-right: 5px;
  color: #441C54;
  background-color: #ffffff;
}

.navbar-toggler .icon-bar {
  display: block;
  width: 32px;
  height: 1px;
  border-radius: 0px;
  background-color: #34383D;
}

.navbar-toggler .icon-bar+.icon-bar {
  margin-top: 6px;
}

.navbar-toggler .icon-bar {}

.navbar-toggler:hover span.icon-bar {
  transition: 0.4s;
}

.navbar-toggler:not(.collapsed) span.first-bar {
  transform: rotate(-45deg);
  position: absolute;
  top: 11px;
}

.navbar-toggler:not(.collapsed) span.second-bar {
  transform: rotate(45deg);
  position: absolute;
  top: 5px;
}

.navbar-toggler:hover span.third-bar {
  opacity: 0;
  transition: 0.4s;
}

.navbar-toggler.collapsed:hover .icon-bar {
  transform: rotate(0deg);
  opacity: 1;
  position: relative;
  top: auto;
}
.dropdown-menu {margin: 0}
.btn-main {
  background: var(--white);
  border-radius: 10px;
  padding: 16px 32px;
  height: 53px;
  font-weight: 400;
  font-size: 17px;
  line-height: 125%;
  color: var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}
.btn-blk {
  background: var(--black);
  color: var(--white)
}
.btn-main:hover {
/*   color: #fff */
}
.btn-main.btn-blk:hover {
  color: #fff
}
.btn-main svg {
  position: absolute;
  right: 0px;
}
.btn > div {
    width: 34px;
    height: 14px;
    align-items: center;
}

.btn-main:hover svg {
  right: -10px;
}
.fly-btn {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 !important;
  height: 60px;
  width: 60px;
  bottom: 15px;
  right: 15px;
  border-radius: 50%;
  background-color: #ffcc00;
  z-index: 10001
}
.fly-btn svg {
  fill: #fff
}
@media (min-width:890px) {
  .fly-btn {
    bottom: 50px;
  }
  .btn-main {
    padding: 19px 34px 19px 40px
  }
  .btn-main svg {
    right: 0px;
    transition: all 0.3s
  }
  .btn-main:hover svg {
    right: -10px;
  }
  .btn-main.fly-btn:hover svg {
    right: 0px;
  }
}

.form-control:-webkit-input-placeholder {color: #2f2f2f;}
.form-control:-moz-placeholder {color: #2f2f2f;}
.form-control:-moz-placeholder {color: #2f2f2f;}
.form-control:-ms-input-placeholder {color: #2f2f2f;}
.form-control:placeholder {color: #2f2f2f;}

.form-control:focus:-webkit-input-placeholder {color: transparent}
.form-control:focus:-moz-placeholder {color: transparent}
.form-control:focus:-moz-placeholder {color: transparent}
.form-control:focus:-ms-input-placeholder {color: transparent}
.form-control:focus:placeholder {color: #2f2f2f !important}


.btn-main.transparent {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.btn-main.btn-red {
  background-color: #cc0000
}
.btn-main.transparent:hover {text-decoration: none;}
.slider-logo .btn-main.transparent {background-color: #fab900; border-color: #fab900}


.form-control::placeholder { color: #2f2f2f}
.subscribe .wpcf7-form-control.wpcf7-text {border: 0;}
.wpcf7 p {margin-bottom: 0}
.wpcf7 .ajax-loader {display: none !important;}

/* HEADER */
header {
  /* backdrop-filter: blur(15px); */
  background-color: var(--dcolor);
  z-index: 100;
  width: 100%;
  position: relative;
  position: sticky;
  top: 0;
  transition: all 0.3s
}

body.page-template-template-tourcat header, body.page-template-template-transfer header {
  background: #e7f0f0;
}



.header_top_row {
  background: var(--mcolor);
  color: #fff;
  padding: 10px 0;
}
.header_top_row > .container > .row {padding-left: 15px; padding-right: 15px}
.header_top_row .row {
    justify-content: flex-end;
}

.header_middle_row {padding-top: 10px; padding-bottom: 10px;}
.header_middle_row .logo img {}

.header_middle_row-logo span {
  /* font-family: 'PT Serif';  */
  font-size: 16px;
  font-weight: 400;
  padding-left: 10px;
  display: block;
}
.header_middle_row-logo span:first-child {
  position: relative;
  font-weight: 700
}
.header_middle_row-logo span:first-child::after {
  content: "";
  background-color: #000;
  height: 1px;
  width: 100%;
  left: 0;
  position: absolute;
  bottom: -2px;
}
.header_middle_row-logo .logo {margin-right: 0; padding: 0}

.header_middle_row .logo.logo-text {font-size: 30px; font-weight: 500; color: #000}

.header_middle_row-logo {
  display: flex;
}
.header_middle_row-wrapper {
    display: flex;
    flex: 1 1 85%;
    flex-direction: column;
    padding-left: 30px
}
.header_middle_row-contacts {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: flex-end;
    flex: 1 1 100%;
}


.header_middle_row-address {display: flex; justify-content: center; flex: 1 1 100%}
.header_middle_row-contacts li {list-style: none;}

.header_middle_row-search, .header_middle_row-search form {display: flex; flex: 1 0 100%}
.header_middle_row-search form {position: relative;}
.header_middle_row-search form button {
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: transparent;
    border: 0;
    background-image: url(../img/icons/lnr-magnifier.svg);
    background-repeat: no-repeat;
    background-position: center right;
    height: 30px;
    width: 30px;
    margin-right: 10px;
}

.header_middle_row-callback {
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    display: flex;
}
header .mob-logo {margin-right: 0; height: 40px; width: 79px; padding-top: 0; padding-bottom: 0;}
.header_middle_row-phone, .header_middle_row-email {color: #000; text-decoration: underline; display: flex; align-items: center; font-size: 14px;}
.header_middle_row-phone:hover, .header_middle_row-email:hover {color: #000; text-decoration: none; transition: all 0.5s; opacity: 0.5}
.header_middle_row-phone-wrapper > a:first-of-type {margin-right: 20px;}
.header_middle_row-phone-wrapper > a:first-of-type::before {content: ""; background-image: url(../img/icons/lnr-phone-handset.svg); background-repeat: no-repeat; display: inline-block; margin-right: 10px; height: 16px; width: 16px; background-size: cover;}

.header_middle_row-email::before {content: ""; background-image: url(../img/icons/lnr-envelope.svg); background-repeat: no-repeat; display: inline-block; margin-right: 10px; height: 25px; width: 25px; background-size: cover;}

.header_bottom_row {
    display: flex;
    justify-content: space-between;
    flex: 1;
}
.header-contacts {

}
.header-contact-item {
  height: 21px;
  width: 21px;
  margin-left: 14px;
}



header .navbar-light .navbar-nav .nav-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 125%;
  color: var(--white);
  padding-left: 16px;
  padding-right: 16px;
}
header .navbar-light .navbar-nav .show .nav-link, header .navbar-light .navbar-nav .nav-link:hover {
	color: var(--white);
}
header .navbar-light .navbar-nav li:first-child .nav-link {
  padding-left: 0px;
}
header .navbar-light .navbar-nav li:last-child .nav-link {
  padding-right: 0px;
}

.menu-search-wrapper {
  width: 101px;
  display: flex;
  position: relative;
  height: 46px;
}
.menu-search-wrapper > svg {
  position: absolute;
  right: 28px;
  top: 12px;
}
.menu-search {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.5);
  height: 46px;
  width: 46px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: absolute;
  top: 0;
  right: 15px;
  transition: all 0.3s;
  padding-right: 13px;
  overflow: hidden;
}
.menu-search form.search {
  display: flex;
  position: absolute;
  width: 100%;
  padding-left: 20px;
  right: 13px;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}
.menu-search form.search input, .menu-search form.search button {
  border: 0;
  background: transparent
}
.menu-search form.search input {
  flex: 1 1 calc( 100% - 20px );
  padding-left: 15px;
  margin-right: 16px;
}
.menu-search form.search input:focus {
  outline: none;
}
.menu-search form.search button {
  flex: 1 1 20px;
  margin: 0;
  padding: 0;
  padding-bottom: 5px;
  opacity: 0;
  z-index: -1
}
.menu-search.menu-open form.search button {
  opacity: 1;
  z-index: 1
}
.menu-search.menu-open {
  width: 655px;
  background: rgba(255, 255, 255, 1);
}
.header-phone {
  border-radius: 100px;
  padding: 10px 32px;
  height: 46px;
  font-weight: 600;
  font-size: 20px;
  line-height: 125%;
  color: #3d3d3d;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s
}
.header-phone:hover {
  text-decoration: none;
  color: var(--dcolor)
}
@media (min-width:890px) {
  /* .menu-search {margin-left: 40px; } */
}
.navbar-light .navbar-nav .active>.nav-link {
  color: var(--white);
  /* text-decoration: underline; */
}

#topmenu #menu-menyu-sleva .menu-item-has-children .dropdown-menu {
	width: calc(100vw - 15px);
	left: calc((100vw - 1385px) / -2);
	padding: 0 calc((100vw - 1385px) / 2);
	position: absolute;
	columns: 4;
	background: var(--black);
	padding-top: 20px;
	padding-bottom: 50px;
}
#topmenu .dropdown-item {
	color: #fff;
	padding-bottom: 24px;
	padding-left: 0;
	padding-right: 0
}

@media (min-width: 992px) { /* чтобы на мобильных остался клик */
  .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* убирает скачок */
  }
}


header .navbar-light .navbar-nav .nav-link {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
}

.navbar-light .navbar-nav .nav-link:hover, .dropdown-item:focus, .dropdown-item:hover {
  transition: all 0.5s;
  /* background-color: var(--mcolor); */
  /* text-decoration: underline; */
  background-color: transparent;
  /* box-shadow: 0 7px 10px rgba(0, 0, 0, 0.2); */
  color:  #000;
}
header .mobile_menu_row {
  width: 100%;
  z-index: 9;
  top: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}
header .mobile_menu_row svg{
  height: 37px;
  width: 37px;
}
header .mobile_menu_row .navbar .navbar-nav {
    display: flex;
    flex-direction: row;
    height: auto;
    min-height: calc( 100vh - 68px );
    justify-content: end;
    flex-wrap: wrap;
    align-content: flex-start;
}
.mobile_menu_row .navbar-brand {
  margin-right: 0;
  padding: 0
}
.mobile_menu_row .logo img {
  height: 53px
}
header .mobile_menu_row .navbar .navbar-nav li {
    flex: 1 1 100%;
    position: relative;
}
header .mobile_menu_row .navbar-light .navbar-nav .nav-link {
	font-weight: 400;
	font-size: 18px;
	line-height: 120%;
	color: var(--white);
	padding-left: 0
}
header .mobile_menu_row .navbar-light .navbar-nav .nav-item:last-child .nav-link {
  border-bottom: 0;
}
header .mobile_menu_row .navbar-light .navbar-nav .active .nav-link {
  color: var(--white);
}
.mobile_menu_row .col-4 {
    padding-left: 0;
    padding-right: 0;
}
.mobile_menu_row .navbar {
    padding: 0;
    margin-left: 16px;
}
.mobile_menu_row .header-contact-item {
  height: 37px;
  width: 37px;
}
header .mobile_menu_row li {list-style: none;}
header .mobile_menu_row a.cart-qty {
    top: -7px;
}

header .header_bottom_row .menu-item-has-children:hover > ul.dropdown-menu {display: flex; flex-direction: column;}
.mobile_menu_row .dropdown-menu {
	border: 0 !important;
	background: var(--black);
	padding-top: 0

}
.mobile_menu_row .dropdown-menu .dropdown-item {
	white-space: normal;
	font-weight: 500;
	font-size: 15px;
	color: var(--white);
	padding-left: 12px;
	padding-bottom: 12px;
}
@media (min-width:890px) {
  header {box-shadow: none;}

  .btn-main {
    /* text-transform: uppercase; */
    font-size: 1rem;
  }
  .header_top_row > .container > .row {padding-left: 0px; padding-right: 0px}
  .header_middle_row-phone, .header_middle_row-email {font-size: 16px; font-weight: 400; text-decoration: none;}

  header .navbar-light .navbar-nav .nav-link {justify-content: center;}



}




@media all and (min-width: 992px) {
	header .navbar { padding-top: 0; padding-bottom: 0; }
	header .navbar #topmenu > ul {width: 100%;}
	header .navbar .has-megamenu {position:static!important;}
  header .navbar .megamenu {
    left: 0;
    right: 0;
    width: 100vw;
    padding: 40px calc( (100vw - 1140px)/2 );
    position: absolute !important;
    flex-direction: column;
    flex-wrap: wrap;
    top: 47px;
    border: 0;
  }
  .admin-bar header .navbar .megamenu {top:top: 47px;}
  header .dropdown-menu .dropdown-menu {
    height: auto;
    padding-left: 10px;
    padding-right: 0;
    padding-top: 0rem;
    padding-bottom: 1rem;
    margin-top: 0
  }
  ul.dropdown-menu.megamenu ul.dropdown-menu.megamenu {
    display: flex;
    position: relative !important;
    left: 0;
  }
  header .has-megamenu .dropdown-item {font-weight: 400}
  header .has-megamenu .has-megamenu .nav-link { font-weight: 400}
  header .has-megamenu .has-megamenu .dropdown-item{ font-weight: 300}
  header .has-megamenu .has-megamenu .dropdown-toggle::after {
      display: none;
  }
  header ul.dropdown-menu.megamenu .nav-link {padding: .25rem 1.5rem; justify-content: flex-start;}
	.navbar .nav-link{ padding-top:1rem; padding-bottom:1rem;  }
}
@media (max-width: 992px) {
	header #topmenu-mobile.navbar-collapse {
			position: fixed;
			background-color: var(--black);
			top: 73px;
			left: 0;
			right: 0;
			padding-left: 15px;
			padding-right: 15px;
			padding-bottom: 15px;
			width: 100%;
			height: calc(100% - 73px);
		overflow: scroll
	}
}
@media (min-width: 993px) and (max-width: 1299px) {
    header #topmenu-mobile.navbar-collapse {
      position: fixed;
      background-color: #fff;
      top: 74px;
      left: inherit;
      width: auto;
      right: 15px;
      padding-left: 15px;
      padding-right: 15px;
      padding-bottom: 15px;
      height: auto;
      border-radius: 20px 20px 20px 10px;
    }
    header .mobile_menu_row .navbar .navbar-nav {
      min-height: inherit;
    }
}

.breadcrumbs {
  color: rgba(224, 224, 224, 0.5);
  font-size: 14px;
  /* padding-left: 50px; */
  padding-bottom: 10px;
}
.breadcrumbs a:hover{
  color: var(--dcolor);
  text-decoration: none;
}
.section-subtitle {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  color: #949494;
}
.section-title {
	font-weight: 600;
	font-size: 24px;
	line-height: 120%;
  color: var(--black);
	margin-bottom: 24px;
}
.section-desc {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 16px;
  color: #fff;
}
.swiper-navs {
  display: flex;
  gap: 72px;
  align-items: center;
}
.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 0 !important;
}
.swiper-button-prev {
  background-image: url(../img/arrow-left.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 72px !important;
  height: 22px !important;
  opacity: 1 !important;
  position: inherit !important;
}
.swiper-button-next {
  background-image: url(../img/arrow-right.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 72px !important;
  height: 22px !important;
  opacity: 1 !important;
  position: inherit !important;
}
@media (max-width: 767px) {
	.scroll-row {
		overflow-x: auto;
		gap: 24px !important;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 10px;
		margin-right: -15px;
	}
}
@media (min-width:890px) {
  .breadcrumbs {
    /* padding-left: 70px; */
  }
  .section-subtitle {
    font-size: 14px;
		margin-bottom: 0
  }
  .section-title {
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
  }
  .section-desc {
    font-weight: 300;
    font-size: 20px;
  }
}

/* SLIDER */
#hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-position: bottom center;
}
#hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: "";
  background: rgba(22, 21, 21, 0);
  background: -webkit-linear-gradient(rgba(22, 21, 21, 0) 80%, rgba(22, 21, 21, 1) 100%);
  background: -o-linear-gradient(rgba(22, 21, 21, 0) 80%, rgba(22, 21, 21, 1) 100%);
  background: linear-gradient(rgba(22, 21, 21, 0) 80%, rgba(22, 21, 21, 1) 100%);
}
.page-template-template-funeral-director #hero::before {
  background: rgba(22, 21, 21, 0);
  background: -webkit-linear-gradient(rgba(22, 21, 21, 0.5) 80%, rgba(22, 21, 21, 1) 100%);
  background: -o-linear-gradient(rgba(22, 21, 21, 0.5) 80%, rgba(22, 21, 21, 1) 100%);
  background: linear-gradient(rgba(22, 21, 21, 0.5) 80%, rgba(22, 21, 21, 1) 100%);
}
#hero h1 {
  font-weight: 600;
  font-size: 36px;
  line-height: 110%;
  color: var(--white);
}

#hero .banner-desc {
  font-weight: 400;
  font-size: 12px;
  line-height: 120%;
  color: var(--white);
}
.hero-widget-wrapper {
  font-weight: 400;
  font-size: 17px;
  line-height: 125%;
  color: var(--white-80);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--black);
	transition: all 0.3s;
	border-radius: 10px;
}
.hero-widget-wrapper:hover {
  text-decoration: none;
  background: #363535;
}
.hero-widget-wrapper img {
  border-radius: 10px;
  width: 142px;
  height: 117px;
}
.hero-widget-wrapper div img {
  height: 26px;
  width: 74px;
  background-size: contain;
}
.widget-subtitle {
  font-weight: 400;
  font-size: 17px;
  line-height: 125%;
  color: var(--white-80);
}
.widget-title {
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  margin-top: 14px;
  margin-bottom: 32px;
}
#hero {
	filter: grayscale(1);
	transition: all 0.3s
}
.page-template-tempalte-funeral-service #hero.page-hero  {
	background-size: cover;
}
#hero:hover {
	filter: grayscale(0);
}
@media (max-width:767px) {
	.page-template-tempalte-funeral-service #hero {
		background-position: 55% 50%;
	}
	.page-template-template-transport #hero.page-hero {
			background-position: 85% 50%;
			background-size: cover;
	}
	#hero {
		position: relative;
		width: 100%;
		overflow: hidden;
		background-position: 20% -149%;
		background-size: 200%;
		background-repeat: no-repeat;
		background-color: var(--black);
		padding-top: 50px;
	}
	#hero.page-hero {
		background-position: 45% 50%;
		background-size: auto;
		padding-bottom: 15px;
	}
	.page-template-template-escort #hero.page-hero {
		background-position: 50% 0%;
		background-size: 200%;
		padding-bottom: 15px;
	}
	.page-template-template-close-person #hero.page-hero {
		background-position: 35% 50%;
		background-size: cover;
	}
	.page-template-template-ritual-lift #hero.page-hero, .page-template-template-tent #hero.page-hero {
		background-size: cover;
	}
	.page-template-template-master #hero.page-hero {
		background-position: 29% 50%;
		background-size: cover;
	}
	.page-template-template-medical #hero.page-hero {
		background-position: 45% 50%;
		background-size: cover;
		padding-bottom: 15px;
	}
	.page-template-template-memorial #hero.page-hero {
		background-size: cover;
	}
	.page-template-template-funeral-director #hero.page-hero {
		background-position: 9% 0%;
        background-size: 230%;
	}
	.page-template-template-documents #hero.page-hero {
		background-position: 20% 0%;
        background-size: 250%;
	}
	.page-template-template-master #hero.page-hero {
		padding-bottom: 45px;
	}
	.page-template-template-master #hero.page-hero h1 {
		margin-bottom: 0px;
	}
	.page-template-template-docs #hero.page-hero {
		background-size: cover;
		background-position: left;
	}
	.hero-widget-wrapper {
		border: 1px solid var(--grey);
		border-radius: 5px;
		padding: 18px 23px;
		gap: 24px;
		margin-top: 24px;
	}
	.widget-subtitle {
		font-weight: 400;
		font-size: 9px;
		line-height: 125%;
	}
	.widget-title {
		font-weight: 500;
		font-size: 12px;
		margin-top: 8px;
		margin-bottom: 16px
	}
  .btn.btn-main {
		padding: 12px 24px;
		height: 39px;
		font-weight: 500;
		font-size: 12px;
  }
  #hero .banner-desc {
    margin-bottom: 14px;
  }
}

@media (min-width:890px) {
  #hero {
    height: 720px;
  }
  #hero.page-hero {
    height: 494px;
  }
  .page-template-template-memorial #hero.page-hero, .page-template-template-coffin #hero.page-hero, .page-template-template-docs #hero.page-hero {
    height: 420px;
  }
	.page-template-template-docs #hero.page-hero {
		background-size: cover;
		background-position: center;
	}
  .page-template-template-about #hero.page-hero {
    height: 460px;
  }
  .page-template-template-farewell #hero.page-hero {
    height: 549px;
  }

  #hero .container, #hero .row, #hero .row > .col-12 {
    height: 100%;
  }
  #hero h1 {
    font-size: 58px;
    line-height: 110%;
    margin-bottom: 32px;
  }

  #hero .banner-desc {
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 52px;
		padding-left: 15px;
  }
  #hero.page-hero .banner-desc {
    font-weight: 400;
    font-size: 17px;
    line-height: 125%;
    color: var(--white);
  }
}
@media (min-width:1300px) {
  #hero {
    height: 842px;
  }
  #hero h1 {
    font-size: 50px;
  }
  body.home #hero h1 {
    font-size: 58px;
  }
  #hero.page-hero h1 {
    font-size: 58px;
  }
  .page-template-template-memorial #hero.page-hero h1 {
    font-size: 52px;
  }
}

#about {
  position: relative;
}
#about.half-bg::before {
  position: absolute;
  content: "";
  top: 0;
  bottom: 160px;
  left: 0;
  right: 0;
  background: var(--black)
}
#about .section-title {
  color: var(--white)
}
.about-desc {
	font-weight: 400;
	font-size: 12px;
	line-height: 120%;
	color: var(--white);
}
#about .about-gallery {
  display: flex;
  justify-content: space-between;
	gap: 24px;
}
#about .about-gallery img {
  height: auto;
  width: 100%;
  max-width: calc( 75% - 12px );
  border-radius: 10px;
}
@media (max-width:767px) {
	#about {
	  padding-top: 90px
	}
}
@media (min-width:890px) {
  #about {

  }
	.about-desc {
	  font-weight: 400;
	  font-size: 17px;
	  line-height: 125%;
	  color: var(--white);
	}
  #about .about-gallery {
    margin-top: 32px;
    gap: 32px;
  }
	#about .about-gallery img {
	  height: auto;
	  width: 100%;
	  max-width: calc( 25% - 24px );
	  border-radius: 10px;
	}
}
@media (min-width:1300px) {
  #about {

  }
}


#formalization {
	padding-top: 90px
}
.formalization-desc {
	font-weight: 400;
	font-size: 12px;
	line-height: 120%;
  color: var(--black);
}
@media (max-width:767px) {
	#formalization img {
		min-height: 222px;
		object-fit: cover;
		margin-bottom: 24px;
		border-radius: 10px;
	}
}
@media (min-width:890px) {
  #formalization {
    padding-top: 200px
  }
	.formalization-desc {
		font-weight: 400;
		font-size: 17px;
		line-height: 125%;
		color: var(--black);
	}
}
@media (min-width:1300px) {
  #formalization {
  }
}


#video_gallery {
	padding-top: 90px;
}

.video-poster-wrapper img {
  border-radius: 10px
}
.play-video-btn {
  border-radius: 10000px;
  width: 50px;
  height: 50px;
  background: var(--white-80);
  display: flex;
  justify-content: center;
  align-items: center;
}
.play-video-btn svg {
  margin-left: 10px;
}
@media (max-width:767px) {
	.play-video-btn svg {
	  height: 18px;
		margin-left: 6px;
	}
	.swiper-navs {
		height: 50px;
		justify-content: space-between;
		padding-top: 24px;
	}
	.video-poster-wrapper, .video-poster-wrapper img {
	  height: 190px;
		width: 100%;
		object-fit: cover;
		border-radius: 10px;
	}
}
@media (min-width:890px) {
  #video_gallery {
    padding-top: 200px
  }
	.video-swiper {
	  margin-top: 48px;
	}
	.play-video-btn {
	  width: 100px;
	  height: 100px;
	}
}
@media (min-width:1300px) {
  #video_gallery {
  }
}


#farewell {
	padding-top: 90px
}
@media (max-width:767px) {
	#farewell img {
		height: 222px;
		margin-bottom: 24px;
		object-fit: cover;
		border-radius: 10px;
	}
}
@media (min-width:890px) {
  #farewell {
    padding-top: 200px

  }
}
@media (min-width:1300px) {
  #farewell {
  }
}


#news {
	padding-top: 90px
}

.news-slide {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.news-item {
  display: flex;
  gap: 24px;
	flex-direction: column;
}

.news-item img {
  width: 100%;
	border-radius: 10px;
	filter: grayscale(1);
}
.news-item img:hover {
	filter: grayscale(0);
}
.news-item:hover {
  text-decoration: none;
}
.news-title {
	font-weight: 700;
	font-size: 12px;
	line-height: 120%;
  color: var(--black);
  margin-bottom: 14px;
}
.news-desc {
	font-weight: 400;
	font-size: 12px;
	line-height: 120%;
  color: var(--black);
}
@media (max-width:767px) {
	.news-item img {
	  height: 212px;
		object-fit: cover;
	}
}
@media (min-width:890px) {
  #news {
    padding-top: 200px
  }
	.news-swiper {
	  margin-top: 48px;
	}
	.news-item {
		flex-direction: row;
	}
	.news-item img {
		width: 298px;
		height: 162px;
		flex: 1 1 298px;
		object-fit: cover;
		margin-bottom: 0
	}
	.news-item > div {
		flex: 1 1 calc( 100% - 24px - 298px);
	}
	.news-title {
	  font-weight: 700;
	  font-size: 17px;
	  line-height: 125%;
	  color: var(--black);
	  margin-bottom: 14px;
	}
	.news-desc {
	  font-weight: 400;
	  font-size: 17px;
	  line-height: 125%;
	  color: var(--black);
	}
}
@media (min-width:1300px) {
  #news {
  }
}

#contactus {
  background-color: var(--black);
  color: #fff;
	padding-top: 90px;
	margin-top: 90px
}
.contactus-title {
	font-weight: 600;
	font-size: 36px;
	line-height: 110%;
  margin-bottom: 40px;
}
.contactus-phones {
  margin-top: 40px
}
.contactus-phones a {
	font-weight: 400;
	font-size: 12px;
	line-height: 120%;
  color: var(--white);
}
.contactus-phones > .d-grid {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 32px;
  grid-row-gap: 8px;
}
.contactus-phones-title {
  margin-bottom: 18px;
	font-weight: 700;
	font-size: 12px;
  color: var(--white);
}
@media (min-width:890px) {
  #contactus {
    padding-top: 90px;
    margin-top: 200px
  }
	.contactus-title {
		font-weight: 700;
		font-size: 58px;
		line-height: 110%;
		margin-bottom: 64px;
	}
	.contactus-phones {
		margin-top: 0;
	  margin-left: 62px
	}
	.contactus-phones-title {
		margin-bottom: 18px;
		font-weight: 700;
		font-size: 22px;
		color: var(--white);
	}
	.contactus-phones a {
		font-weight: 400;
		font-size: 17px;
		line-height: 125%;
		color: var(--white);
	}
}
@media (min-width:1300px) {
  #contactus {
  }
}


#concerns {
  background: var(--black);
  color: var(--white);
	padding-top: 60px;
	padding-bottom: 45px;
}
#concerns .section-title {
  color: var(--white)
}
.concerns-desc {
  columns: 2;
  gap: 39px;
  display: flex;
  flex-direction: column;
  max-height: 420px;
  flex-wrap: wrap;
}

.concerns-desc2 {
  margin-top: 40px;
  font-weight: 400;
  font-size: 17px;
  line-height: 125%;
  color: var(--white);
}
.page-template-template-funeral-director .concerns-desc {
  max-height: 300px;
}
.page-template-template-documents .concerns-desc {
  max-height: 190px;
}
.page-template-template-ritual-lift .concerns-desc {
  max-height: 220px;
}
.page-template-template-repatriation .concerns-desc {
  max-height: 270px;
}
.page-template-template-close-person .concerns-desc {
  max-height: 520px;
}
.concern-item {
  display: flex;
  gap: 20px;
  font-weight: 400;
  font-size: 17px;
  line-height: 125%;
  color: var(--white);
      width: 47%;
}
.item-num {
  font-weight: 600;
  font-size: 38px;
  color: var(--white-80);
  line-height: 90%;
  width: 20px
}
.concern-title { width: calc( 100% - 40px)}
@media (max-width:767px) {
	#concerns img {
	  height: 222px;
		object-fit: cover;
		margin-bottom: 24px;
		border-radius: 10px
	}
	.concern-item {
		font-weight: 500;
		font-size: 12px;
		color: var(--white);
		gap: 12px;
	}
	.page-template-template-repatriation .concerns-desc {
    max-height: 210px;
	}
	.page-template-template-funeral .concerns-desc {
		max-height: 340px
	}
	.page-template-template-funeral-director .concerns-desc {
	  max-height: 220px;
	}
	.item-num {
		font-weight: 600;
		font-size: 24px;
		width: 19px
	}
	.concerns-desc {
	  gap: 12px
	}
	.page-template-template-close-person .concerns-desc {
	  max-height: 460px;
	}
	.concerns-desc2 {
	  margin-top: 40px;
		font-weight: 400;
		font-size: 12px;
		line-height: 120%;
	  color: var(--white);
	}
	.page-template-template-documents .concerns-desc {
		max-height: 140px;
	}
}
@media (min-width:890px) {
  #concerns {
    padding-top: 70px;
    padding-bottom: 112px

  }
}
@media (min-width:1300px) {
  #concerns {
  }
}


#workflow {
	padding-top: 45px;
}
#workflow .section-title {
  margin-bottom: 24px;
}
#workflow .col-lg-4 {
  margin-bottom: 30px;
}
.workflow-item {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 18px;
  height: 100%
}
.workflow-item.workflow-item-last {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.workflow-item .item-num {
	font-weight: 600;
	font-size: 24px;
  color: var(--black-sec);
  margin-bottom: 12px;
}
.workflow-title {
	font-weight: 700;
	font-size: 12px;
	line-height: 120%;
  color: var(--black);
  margin-bottom: 12px;
}
.workflow-desc {
	font-weight: 500;
	font-size: 12px;
  line-height: 125%;
  color: var(--black-sec);
}
.workflow-desc p {
	margin-bottom: 0
}
@media (min-width:890px) {
  #workflow {
    padding-top: 90px;
  }
	#workflow .section-title {
	  margin-bottom: 48px;
	}
	.workflow-item {
	  padding: 24px;
	}
	.workflow-item .item-num {
	  font-weight: 600;
	  font-size: 38px;
	  color: var(--black-sec);
	  margin-bottom: 26px;
	}
	.workflow-title {
	  font-weight: 600;
	  font-size: 22px;
	  color: var(--black);
	  margin-bottom: 24px;
	}
	.workflow-desc {
	  font-weight: 400;
	  font-size: 17px;
	  line-height: 125%;
	  color: var(--black-sec);
	}
	.workflow-item.workflow-item-last {
	  justify-content: center;
	  align-items: center;
	}
}
@media (min-width:1300px) {
  #workflow {
  }
}


#capabilities {
	padding-top: 90px
}
#capabilities .section-title {
  margin-bottom: 48px;
}

#capabilities .swiper-slide {
  flex: 0 0 calc(50% - 24px); /* 2 в ряд с отступами */
  box-sizing: border-box;
}
.capability-title {
  font-weight: 700;
  font-size: 17px;
  line-height: 125%;
  color: var(--black);
  margin-bottom: 14px;
}
.capability-desc {
  font-weight: 400;
  font-size: 17px;
  line-height: 125%;
  color: var(--black);
}
/* Один слайд на мобильных */
@media (max-width: 768px) {
	.capability-desc {
		font-weight: 400;
		font-size: 12px;
		line-height: 120%;
	}
	.capability-title {
		font-weight: 700;
		font-size: 12px;
		line-height: 120%;
	}
  #capabilities .swiper-wrapper {
    flex-wrap: nowrap;
  }
  #capabilities .swiper-slide {
    flex: 0 0 100%;
  }
	#capabilities .section-title {
	  margin-bottom: 24px;
	}
	.capability-thumb img {
		width: 100%;
		margin-bottom: 24px;
	}
}
@media (min-width:890px) {
  #capabilities {
    padding-top: 200px;
  }
  #capabilities .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
  }
  .capability-item {
    display: flex;
    gap: 24px;
  }
  .capability-thumb img {
    border-radius: 10px;
    width: 297px;
    height: 278px;
  }
}
@media (min-width:1300px) {
  #capabilities {
  }
}



#help {
  padding-top: 48px;
}
.help-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 24px 40px 24px 24px;
  gap: 186px;
}
.help-title {
  font-weight: 700;
  font-size: 22px;
  color: var(--black);
  margin-bottom: 24px;
}
.help-desc {
  font-weight: 400;
  font-size: 17px;
  line-height: 125%;
  color: var(--black-sec);
}
.page-template-template-repatriation .help-wrapper {
  gap: 0px;
}
.page-template-template-repatriation .help-title {
  margin-bottom: 0px;
}
@media (max-width:767px) {
	#help {
	  padding-top: 24px;
	}
	.help-wrapper {
	  flex-direction: column;
		gap: 24px;
		align-items: flex-start;
	}
	.help-title {
		font-weight: 700;
		font-size: 18px;
		line-height: 120%;
		margin-bottom: 18px;
	}
	.help-desc {
		font-weight: 400;
		font-size: 12px;
		line-height: 120%;
	}
	.page-template-template-repatriation .help-wrapper {
	  gap: 24px;
	}
}

#specialists {
	padding-top: 45px;
}


.page-template-template-transport #specialists .col-lg-6 {
  margin-bottom: 0px;
}
#specialists .section-desc, #specialists2 .section-desc {
  font-weight: 400;
  font-size: 17px;
  line-height: 125%;
  color: var(--black);
}
.map-wrapper {
  border-radius: 10px;
  overflow: hidden;
  filter: grayscale(1);
}
#specialists img {
	border-radius: 10px
}
@media (max-width: 767px) {
	#specialists3 {
		padding-top: 90px
	}
	#specialists .section-desc, #specialists2 .section-desc, #specialists3 .section-desc {
		font-weight: 400;
		font-size: 12px;
		line-height: 120%;
	}
	.page-template-template-about #specialists3 .section-desc {
		color: var(--black);
		margin-top: 24px;
	}
	#specialists .col-12, #specialists3 .col-12 {
		order: 2
	}
	#specialists .col-12:first-child, #specialists3 .col-12:first-child {
		order: 0
	}
	#specialists .col-12:not(.col-lg-6), #specialists3 .col-12:not(.col-lg-6)  {
		order: 1
	}
	#specialists .col-12:not(.col-lg-6) img {
		width: 100%;
		object-fit: cover;
		height: 222px;
		border-radius: 10px;
		margin-bottom: 24px;
	}
	#specialists .row-repeater {
		padding-top: 90px
	}
	#specialists .row-repeater:first-child {
		padding-top: 45px
	}
	#specialists2 {
		padding-top: 90px;
	}
	.map-wrapper {
	  margin-bottom: 24px;
	}
}
@media (min-width:890px) {
  #specialists {
    padding-top: 100px;
  }
	#specialists .col-lg-6 {
	  margin-bottom: 48px;
	}
  .page-template-template-about  #specialists, .page-template-template-about  #specialists2, .page-template-template-about  #specialists3 {
    padding-top: 200px;
  }
  #specialists2 {
    padding-top: 200px;
  }
	#specialists .row-repeater {
	  margin-bottom: 200px;
	}
	#specialists .row-repeater:last-child {
	  margin-bottom: 0px;
	}
}
@media (min-width:1300px) {
  #specialists {

  }
}


#duties {
	padding-top: 90px
}
#duties .section-desc {
	font-weight: 400;
	font-size: 12px;
	line-height: 120%;
  color: var(--black);
}
.duties-wrapper {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 18px;
  height: 100%
}
.duties-wrapper ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-left: 16px;
}
.duties-wrapper strong {
	font-weight: 700;
	font-size: 12px;
	line-height: 120%;
  color: var(--black-sec);
}
.duties-wrapper li {
	font-weight: 400;
	font-size: 12px;
	line-height: 120%;
  color: var(--black-sec);
}
.additional-info {
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  color: var(--black);
  margin-top: 48px;
}
@media (max-width: 767px) {
	.additional-info {
		font-weight: 700;
		font-size: 18px;
		line-height: 120%;
		text-align: left;
	}
	.page-template-template-transportation #duties, .page-template-template-repatriation #duties {
		padding-top: 45px
	}
	#duties .col-lg-6 {
		margin-bottom: 18px;
	}
	.page-template-template-documents #duties .row:not(.mt-lg-4) .col-lg-6, .page-template-template-transportation #duties .row:not(.mt-lg-4) .col-lg-6, .page-template-template-repatriation #duties .row:not(.mt-lg-4) .col-lg-6, .page-template-template-memorial #duties .row:not(.mt-lg-4) .col-lg-6, .page-template-template-coffin  #duties .row:not(.mt-lg-4) .col-lg-6 {
		margin-bottom: 0px;
	}
	.duties-wrapper {
		font-weight: 400;
		font-size: 12px;
		line-height: 120%
	}
	.page-template-template-memorial #duties img {
		width: 100%;
		object-fit: cover;
		height: 222px;
		border-radius: 10px
	}
}
@media (min-width:890px) {
  #duties {
    padding-top: 200px;
  }
	#duties .section-desc {
		font-weight: 400;
		font-size: 17px;
		line-height: 125%;
	}
	.duties-wrapper {
	  padding: 24px;
	}
	.duties-wrapper ul {
		padding-left: 16px;
	}
	.duties-wrapper strong {
		font-weight: 700;
		font-size: 17px;
		line-height: 125%;
		color: var(--black-sec);
	}
	.duties-wrapper li {
		font-weight: 400;
		font-size: 17px;
		line-height: 125%;
		color: var(--black-sec);
	}
  .page-template-template-coffin #duties {
    padding-top: 124px;
  }
  .page-template-template-transportation #duties {
    padding-top: 90px;
  }
}
@media (min-width:1300px) {
  #duties {

  }
}


#documents {
	padding-top: 90px
}
#documents .section-desc, #documents2 .section-desc, #documents3 .section-desc, #documents4 .section-desc, .page-template-template-close-person #documents2 .section-desc, .page-template-template-close-person #documents3 .section-desc, .page-template-template-close-person #documents4 .section-desc {
  font-weight: 400;
  font-size: 17px;
  line-height: 125%;
  color: var(--black);
}
#documents .col-lg-6, #documents2 .col-lg-6, #documents3 .col-lg-6, #documents4 .col-lg-6, .page-template-template-close-person #documents3 .col-lg-6 {
  margin-bottom: 32px;
}
.page-template-template-docs #documents4 img {
	width: calc( 50% - 5px )
}
@media (max-width:767px) {
	.page-template-template-docs #documents4 img {
		width: 100%
	}
	.page-template-template-escort #documents, .page-template-template-medical #documents, .page-template-template-farewell #documents, .page-template-template-docs #documents, .page-template-template-docs #documents2, .page-template-template-docs #documents3, .page-template-template-docs #documents4 {
		padding-top: 45px
	}
	.page-template-template-escort #documents2, .page-template-template-escort #documents3 {
		padding-top: 90px
	}
	.page-template-template-exhumation #documents, .page-template-template-ritual-lift #documents, .page-template-template-tent #documents  {
		padding-top: 45px
	}
	.page-template-template-exhumation #documents .col-lg-6, .page-template-template-ritual-lift #documents .col-lg-6, .page-template-template-tent #documents .col-lg-6, .page-template-template-master #documents .col-lg-6, .page-template-template-escort #documents .col-lg-6, .page-template-template-escort #documents2 .col-lg-6, .page-template-template-escort #documents3 .col-lg-6, .page-template-template-farewell #documents .col-lg-6, .page-template-template-docs #documents .row:not(.mt-lg-4) .col-lg-6, .page-template-template-docs #documents2 .row:not(.mt-lg-4) .col-lg-6, .page-template-template-docs #documents3 .row:not(.mt-lg-4) .col-lg-6, .page-template-template-docs #documents4 .row:not(.mt-lg-4) .col-lg-6 {
		margin-bottom: 0
	}
	.page-template-template-escort #documents2 .row .col-lg-6:last-child {
		margin-bottom: 18px;
	}
	.page-template-template-documents #documents .row:not(.mt-lg-4) .col-lg-6 {
		margin-bottom: 0
	}
	#documents .col-lg-6, #documents2 .col-lg-6, #documents3 .col-lg-6, #documents4 .col-lg-6, .page-template-template-close-person #documents3 .col-lg-6 {
	  margin-bottom: 18px;
	}
	#documents .section-desc, #documents2 .section-desc, #documents3 .section-desc, #documents4 .section-desc, .page-template-template-close-person #documents2 .section-desc, .page-template-template-close-person #documents3 .section-desc, .page-template-template-close-person #documents4 .section-desc {
		font-weight: 400;
		font-size: 12px;
		line-height: 120%
	}
	.page-template-template-close-person #documents .col-lg-6, .page-template-template-close-person #documents2 .row:not(.mt-lg-4) .col-lg-6, .page-template-template-close-person #documents3.row:not(.mt-lg-4) .col-lg-6, .page-template-template-close-person #documents4 .col-lg-6 {
	  margin-bottom: 0px;
	}
	.page-template-template-close-person #documents2, .page-template-template-close-person #documents3, .page-template-template-close-person #documents4 {
	  padding-top: 90px
	}
}
@media (min-width:890px) {
  #documents {
    padding-top: 200px;
  }

  .page-template-template-close-person #documents, .page-template-template-escort #documents, .page-template-template-medical #documents, .page-template-template-farewell #documents  {
    padding-top: 100px
  }
  .page-template-template-close-person #documents2, .page-template-template-close-person #documents3, .page-template-template-close-person #documents4, .page-template-template-escort #documents2, .page-template-template-escort #documents3, .page-template-template-docs #documents2, .page-template-template-docs #documents3, .page-template-template-docs #documents4 {
    padding-top: 200px
  }
	#documents2 img {
		height: 587px;
		object-fit: cover;
	}
}
@media (min-width:1300px) {
  #documents {

  }
}

#agents {
	padding-top: 90px;
}
#agents .section-desc {
  font-weight: 700;
  font-size: 17px;
  line-height: 125%;
  color: var(--black);
}
.page-template-template-accessories #agents .section-desc, #agents2 .section-desc {
  font-weight: 400;
  font-size: 17px;
  line-height: 125%;
  color: var(--black);
}
#agents .swiper-slide {
  flex: 0 0 calc(25% - 24px); /* 2 в ряд с отступами */
  width: calc(25% - 24px); /* 2 в ряд с отступами */
  box-sizing: border-box;
}


.page-template-template-accessories #agents .agent-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-template-template-accessories #agents .swiper-slide:nth-child(4,5) {
  flex: 1
}
.agent-thumb img {
  width: 100%;
  object-fit: cover;
}
.agent-title {
  font-weight: 600;
  font-size: 22px;
  color: var(--black);
  margin-top: 24px;
  margin-bottom: 16px;
}
.page-template-template-accessories #agents .agent-title {
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  color: var(--black);
  margin-bottom: 0
}
.agent-stage, .agent-number {
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  color: var(--black);
}
.page-template-template-funeral-director .help-wrapper {
  gap: 60px
}
.page-template-template-funeral-director .help-title {
  margin-bottom: 0
}
@media (max-width: 768px) {
	#agents2 {
    padding-top: 90px;
  }
	.page-template-template-accessories #agents .section-desc, #agents2 .section-desc {
		font-weight: 400;
		font-size: 12px;
		line-height: 120%;
	}
	.page-template-template-accessories #agents .agent-title {
	  font-size: 18px;
	}
	.page-template-template-funeral-director .help-wrapper {
	  gap: 18px
	}
	.agent-stage, .agent-number {
		font-weight: 400;
		font-size: 12px;
		line-height: 120%;
	}
	.agent-title {
		font-weight: 700;
		font-size: 18px;
		line-height: 120%;
	}
  #agents .swiper-wrapper {
    flex-wrap: nowrap;
  }
  #agents .swiper-slide {
    flex: 0 0 100%;
  }
	#agents .section-desc {
		font-weight: 700;
		font-size: 12px;
		line-height: 120%;
	}
	.page-template-template-accessories .agent-thumb img {
		height: 277px;
		object-fit: cover;
	}
}
@media (min-width:890px) {
  #agents, #agents2 {
    padding-top: 200px;
  }
	#agents2 .swiper-slide {
	  flex: 0 0 calc(33% - 24px); /* 2 в ряд с отступами */
	  width: calc(33% - 24px); /* 2 в ряд с отступами */
	  box-sizing: border-box;
	}
  #agents .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
  }
  #agents2 .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
  }
	.page-template-template-accessories #agents .swiper-slide {
	  flex: 1 0 calc(25% - 24px); /* 2 в ряд с отступами */
	  min-width: calc(33% - 24px); /* 2 в ряд с отступами */
	  max-width: calc(50% - 24px); /* 2 в ряд с отступами */
	  box-sizing: border-box;
	}
  .page-template-template-accessories #agents .swiper-wrapper {
    gap: 32px;
  }
	.page-template-template-transport #agents .swiper-slide {
		flex: 0 0 calc(33% - 24px); /* 2 в ряд с отступами */
		width: calc(33% - 24px); /* 2 в ряд с отступами */
		box-sizing: border-box;
	}
}
@media (min-width:1300px) {
  #agents {

  }
}



/* FOOTER */

footer {
  background: var(--black);
  padding-top: 90px;
  font-weight: 400;
  font-size: 17px;
  line-height: 125%;
  color: var(--white);
}
.footer-menu-title {
  font-weight: 700;
  font-size: 17px;
  line-height: 125%;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-menu-title:last-child {
  margin-top: 24px;
}
.footer-info {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 15px;
  color: var(--grey);
}

footer .navbar {padding: 0}
/* footer .navbar-nav {flex-direction: column !important;} */

footer .footer-logo img {
  height: 87px;
}
#footer_menu .navbar-nav {
  gap: 22px;
}
footer .navbar-light .navbar-nav .nav-link {
  font-weight: 400;
  font-size: 17px;
  line-height: 125%;
  color: var(--white);
  padding: 0px;
}

/* footer .col-12 span {font-weight: 300} */
footer .navbar-light .navbar-nav .nav-link:hover {color: var(--white); text-decoration: none;}



@media (max-width:890px) {
	footer .navbar {
		text-align: left;
		width: 50%
	}
	.footer-info {
    font-size: 12px;
		text-align: left;
		margin-top: 40px;
	}
	.footer-menu-title {
		font-weight: 700;
		font-size: 12px;
		line-height: 120%;
		margin-top: 40px
	}
	.footer-menu-item {
		font-weight: 400;
		font-size: 12px;
		line-height: 120%;
		color: var(--white);
		display: flex;
		flex-direction: row;
		width: 100%
	}
	.footer-menu-item > div {
		width: 50%;
		text-align: left;
	}
	#footer_menu .navbar-nav {
		gap: 12px;
	}
	footer .navbar-light .navbar-nav .nav-link {
			font-weight: 400;
			font-size: 12px;
			line-height: 120%;
			color: var(--white);
	}
	footer .navbar-brand img {
	  height: 53px;
		margin-top: -14px
	}
  footer .row > div {
    padding-bottom: 12px;
    text-align: center;
    gap: 8px !important;
    flex-wrap: wrap;
  }
  footer #topmenu ul {
    align-items: center;
  }
}

@media (min-width:890px) {
  footer {
    padding-top: 200px;
    padding-bottom: 90px;
  }
  .footer-info {
    max-width: 33.33333%
  }
}
@media (max-width:890px) {
  footer #topmenu {
    text-align: center;
  }
}


/* PAGES */


#page-main-content { padding-bottom: 2.5rem; padding-top: 2.5rem;}
#page-main-content h2 {color: var(--mcolor);margin-bottom: 20px;}
#page-main-content .img-left img {border-top-right-radius: 30px; border-bottom-right-radius: 30px}
#page-main-content .img-right img {border-top-left-radius: 30px; border-bottom-left-radius: 30px}
#page-main-content .wp-block-media-text__content p:last-child {margin-bottom: 0}
#page-main-content .wp-block-media-text img {
  max-width: 100%;
      height: auto;
}
#page-main-content .img-right .wp-block-media-text__content {padding-left: 0}
#page-main-content li.blocks-gallery-item:last-child {
    max-width: 25%;
}
.wp-block-image img, .wp-block-media-text__media img, .pgcsimplygalleryblock-grid-collection img {
    border-radius: 30px;
}
@media (max-width:890px) {
  .wp-block-media-text__media img {
    margin-bottom: 16px;
  }
}
.wp-block-table td {
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: top;
}
/* .archive article h4{
  font-family: Open Sans;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(102, 125, 120, 0.5);
  padding: 15px 0;
  margin: 0;
  padding: 20px;
}
.archive article div {
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 70%;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 5px 15px rgb(0 0 0 / 30%);
  border-radius: 5px;
  margin-bottom: 30px;
  position: relative;
}
.archive article a {
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 70%;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 5px 15px rgb(0 0 0 / 30%);
  border-radius: 5px;
  margin-bottom: 30px;
  position: relative;
} */

@media (min-width:890px) {
  #page-main-content { padding-top: 4.25rem; padding-bottom: 4.25rem;}
  #page-main-content h1 {font-size: 40px;}
  #page-main-content h2 {margin-bottom: 24px; color: var(--dcolor)}
  .page-template-template-education .cat-img  img {height: 300px; width: 100%; object-fit: cover;}
}


.wp-block-table th {
  background: var(--dcolor);
  color: #fff
}
.wp-block-table td {
  border: 1px dashed var(--dcolor) !important;
}
.wp-block-table thead {
  border: 3px solid var(--dcolor)
}
/* MODALS */
.modal .wpcf7-form-control.wpcf7-text { padding-left: 20px; margin-bottom: 10px;border-radius: 10px}
.modal .modal-content {border-radius: 10px; color: #fff; background-color: var(--black)}
#order .modal-content {
  border-radius: 20px;
  border: 0
}
#order .modal-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#order .order-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 125%;
  text-align: center;
  color: var(--fcolor);
  margin-top: 10px;
  margin-bottom: 10px;
}
#order .order-subtitle {
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  text-align: justify;
  color: var(--fcolor);
  margin-bottom: 10px;
}
#order form .btn {
  width: 100%;
}
#order .wpcf7-list-item-label {
  font-weight: 400;
  font-size: 16px;
  line-height: 162%;
  text-align: center;
  color: #363636;
}
#order .logo img {
  height: 52px
}
@media (min-width: 1000px) {

  #order .order-title {
    font-weight: 700;
    font-size: 60px;
    line-height: 92%;
    text-align: center;
  }
  #order .order-subtitle {
    font-weight: 600;
    font-size: 18px;
    line-height: 144%;
    text-align: center;
  }
  #order form {
    margin: 40px auto 0;
  }
  #order form input {
    max-width: 501px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
  }
  #order .logo img {
    height: 62px
  }
}
.modal .modal-header {border:0; padding-bottom: 0}
.modal .modal-title {color: var(--scolor)}
.modal .modal-body {padding-left: 30px; padding-right: 30px; padding-bottom: 20px}
#search-modal .modal-content {height: 50vh}
.wpcf7-spinner {height: 0 !important}
.wpcf7-response-output {display: none}
@media (max-width:890px) {
  /* .wpcf7-form input.btn.btn-main {margin: 0 auto !important;} */
  .wpcf7-submit {
    width: 100%
  }
}
.grecaptcha-badge {display: none;}


@font-face {
	font-family: 'Jonova';
  src: url('../fonts/Jonova-Regular.ttf');
	font-weight: 400;
	font-style: normal;
}
@font-face {
	font-family: 'Jonova';
  src: url('../fonts/Jonova-Bold.ttf');
	font-weight: 700;
	font-style: normal;
}
