.node-detskiy-sad h1 {
  font-weight: bold;
  font-size: 40px;
  line-height: 59px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.node-detskiy-sad .header .text {
  margin-bottom: 56px;
}
.node-detskiy-sad .header a.form-popup {
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  color: #FFFFFF;
  background: #EA4E1B;
  border-radius: 50px;
  padding: 13px 25px;
  width: 255px;
  box-sizing: border-box;
  -webkit-transition: all ease-in-out .25s;
  -moz-transition: all ease-in-out .25s;
  -o-transition: all ease-in-out .25s;
  -ms-transition: all ease-in-out .25s;
  transition: all ease-in-out .25s;
}
.node-detskiy-sad .header a.form-popup:hover {
  background: #D24A1E;
}
.node-detskiy-sad .group-list {
  padding: 88px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px 125px;
  grid-auto-rows: auto;
  grid-template-rows: auto;
}
.node-gruppa.view-teaser .node-link,
.node-gruppa.view-teaser .video-popup {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 21px;
}
.node-gruppa.view-teaser .video-popup .play {
  position: absolute;
  top: 50%;
  left: 50%;
  background: url("../img/svg/play.svg") no-repeat center;
  background-size: 49px;
  width: 49px;
  height: 49px;
  margin: -25px 0 0 -25px;
}
.node-gruppa.view-teaser .node-link img,
.node-gruppa.view-teaser .video-popup img {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  transition: transform .2s;
}
.node-gruppa.view-teaser .node-link:hover img {
  transform: scale(1.1);
}
.node-gruppa.view-teaser .read-more {
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: -0.165px;
  text-transform: uppercase;
  color: #EF3E22;
  margin-top: 19px;
  display: inline-block;
  -webkit-transition: all ease-in-out .25s;
  -moz-transition: all ease-in-out .25s;
  -o-transition: all ease-in-out .25s;
  -ms-transition: all ease-in-out .25s;
  transition: all ease-in-out .25s;
}
.node-gruppa.view-teaser .read-more:hover {
  color: #D24A1E;
}
.node-detskiy-sad .preim h2,
.node-detskiy-sad .desc-wr h2,
.node-detskiy-sad .photos-wr h2 {
  font-weight: bold;
  font-size: 32px;
  line-height: 47px;
  text-transform: uppercase;
  margin-bottom: 56px;
}
.node-detskiy-sad .preim .list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
  grid-auto-rows: auto;
  grid-template-rows: auto;
  margin-bottom: 56px;
}
.node-detskiy-sad .preim .list .item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
  grid-auto-rows: auto;
  grid-template-rows: auto;
}
.node-detskiy-sad .desc-wr h2,
.node-detskiy-sad .photos-wr h2 {
  margin-bottom: 24px;
}
.node-detskiy-sad .photos-wr .list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 30px;
  grid-auto-rows: auto;
  grid-template-rows: auto;
  margin-bottom: 88px;
}
.node-detskiy-sad .photos-wr .list .item a {display: block;}
.node-detskiy-sad .photos-wr .list .item a:first-child {
  margin-bottom: 18px;
}
.node-detskiy-sad .photos-wr .list .item a img {
  border-radius: 8px;
  overflow: hidden;
}
.node-detskiy-sad .desc-wr {
  margin-bottom: 120px;
}

.mfp-bottom-bar {
  background: #fff;
  color: #000;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  margin-top: -40px;
  display: none;
}
.mfp-bottom-bar .mfp-title {
  color: #000;
  font-size: 24px;
  line-height: 41px;
}
.mfp-wrap.my-custom-class img.mfp-img {
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}
.mfp-wrap.my-custom-class .mfp-close {
  background: #000;
  height: 20px;
  width: 20px;
  padding: 0;
  line-height: 20px;
  text-align: center;
  color: #fff;
  font-size: 15px;
  border-radius: 20px;
  position: absolute;
  top: 10px;
  right: 10px;
}
.classic-form {
  max-width: 730px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 72px 92px;
  position: relative;
}
.classic-form .title {
  font-weight: bold;
  font-size: 32px;
  line-height: 47px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.classic-form .text {
  font-weight: normal;
  margin-bottom: 24px;
}
.classic-form input[type='tel'],
.classic-form  input[type='text'],
.classic-form input[type='email'],
.classic-form textarea,
.classic-form select {
  max-width: inherit;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
}
.classic-form form .form-item label {
  text-transform: none;
}
.classic-form #edit-processed-text {
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
}
.classic-form input[type='submit'] {
  width: 100%;
}
.mfp-close-btn-in .classic-form .mfp-close {
  right: 15px;
  color: #000;
  top: 15px;
}
.mfp-counter {
  display: none;
}
.classic-form textarea::placeholder,
.classic-form select::placeholder,
.classic-form input::placeholder {
  color: #000;
  font-size: 16px;
  font-family: 'Oswald', sans-serif;
}
@media screen and (max-width: 1100px) {
  .node-detskiy-sad .group-list{
    grid-gap: 60px;
  }
}
@media screen and (max-width: 960px) {
  .node-detskiy-sad .group-list{
    grid-gap: 30px;
    padding: 75px 0;
  }
  .node-detskiy-sad .preim .list {
    grid-template-columns: 1fr;
  }
  .node-detskiy-sad .preim .list .item {
    display: grid;
    grid-template-columns: 1fr 3fr;
  }
  .node-detskiy-sad .photos-wr .list {
    margin-bottom: 60px;
  }
  .node-detskiy-sad .desc-wr {
    margin-bottom: 60px;
  }
}
@media screen and (max-width: 650px) {
  .node-detskiy-sad .group-list {
    grid-template-columns: 1fr;
  }
  .node-detskiy-sad .photos-wr .list {
    grid-template-columns: 1fr 1fr;
    grid-gap: 0 10px;
  }
  .node-detskiy-sad .photos-wr .list .item a:first-child {
    margin-bottom: 12px;
  }
  .classic-form {
    padding: 45px 35px;
  }
}
@media screen and (max-width: 460px) {
  .node-detskiy-sad h1,
  .node-detskiy-sad .preim h2,
  .node-detskiy-sad .desc-wr h2,
  .node-detskiy-sad .photos-wr h2 {
    font-size: 30px;
    line-height: 40px;
  }
  .node-detskiy-sad .header a.form-popup {
    width: 100%;
    max-width: 100%;
    display: block;
  }
  .node-detskiy-sad .preim .list .item {
    grid-template-columns: 1fr;
    grid-gap: 15px;
  }
}
