footer div.mod-footer {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 768px) {
  footer div.mod-footer {
    flex-direction: row;
  }
}
@supports (display: grid) {
    @media (min-width: 992px) {
        .site-grid {
            grid-template-areas:
              ". top-a top-a top-a top-a ."
              ". top-b top-b top-b top-b ."
              ". side-l comp comp side-r ."
              ". bot-a bot-a bot-b bot-b ."
              ". banner banner banner banner ."
        }
    }
}
$assetManager->registerAndUseScript('carusel', 'path/script.js', []);
.carousel-3d {
    padding: 20px;
    -webkit-perspective: 500px;
    perspective: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}
.carousel-3d > * {
    flex: 0 0 auto;
}
.carousel-3d figure {
    margin: 0;
    width: 50%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
}
.carousel-3d figure img,
.carousel-3d figure div {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}
.carousel-3d figure img {
    user-select: none;
}
.carousel-3d figure div:not(:first-of-type),
.carousel-3d figure img:not(:first-of-type) {
    position: absolute;
    left: 0;
    top: 0;
}
.carousel-3d nav {
    display: flex;
    justify-content: center;
    margin: 20px 0 0;
}
.carousel-3d nav button {
    flex: 0 0 auto;
    margin: 0 5px;
    cursor: pointer;
    color: #337AB7;
    background: #BFE2FF;
    border: 1px solid #337AB7;
    padding: 5px 10px;
    font-weight: bold;
    transition: all .3s ease;
}
.carousel-3d nav button:hover {
    color: #FFF;
    background: #337AB7;
}
.contain {
  width: 100%; 
  height: 500px;
  object-fit: contain;
}
/*цвет*/
.container-header {
    position: relative;
    z-index: 10;
    margin-bottom: 0px;
    background-color: #434178;
    background-image: linear-gradient(135deg, #578e8e 0%, #14382c 100%);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.03) inset;
}
.container-footer {
    position: relative;
    z-index: 10;
    margin-bottom: 0px;
    background-color: #434178;
    background-image: linear-gradient(135deg, #578e8e 0%, #14382c 100%);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.03) inset;
}
/*fon*/
body.site {
	background: transparent;
	background-image: url("/images/BG/fon_may.jpg");
	background-position: top;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
.site-grid {
   background: rgba(255, 255, 255, 0.8);
}
.card {
  background: transparent;
  border:none;
  background: rgba(255, 255, 255, 0.5);
}
/*снег*/
/*@import url("https://fonts.googleapis.com/css?family=Merienda+One");*/


/*
h1 {
  font-size: 8em;
  font-family: 'Merienda One';
  font-weight: 400;
  position: fixed;
  top:50%;
  left: 0;
  right: 0;
  margin: 0;
  line-height: 1;
  transform: translateY(-50%);
  z-index: 100;
  text-shadow: 0 2px 10px rgba(black,0.8);
}
*/
/*body,
.more-snow {
  &:before,
  &:after {
    content: "";
    position: fixed;
    top: -3000%;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(white, 0.01);
    background-image: url(http://tpsyin.ru/images/ng/snezh.png);
    background-size: 10%;
    -webkit-animation-name: MOVE-BG;
    -webkit-animation-duration: 500s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
  }
}
body {
  &:before {
    
    opacity: 0.8;
  }
  &:after {
   
    top: -1500%;
    background-image: url(http://tpsyin.ru/images/ng/snezh.png);
    background-size: 30%;
    animation-duration: 200s;
  }
}
.more-snow {
  &:before {
   
    opacity: 0.8;
    top: -2500%;
    background-size: 60%;
    animation-duration: 400s;
  }
  &:after {

    opacity: 0.8;
    top: -2000%;
    background-image: url(http://tpsyin.ru/images/ng/snezh.png);
    background-size: 30%;
    animation-duration: 300s;
  }
}

@-webkit-keyframes MOVE-BG {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(70%);
  }
}

*/
/* widget_ministr*/  
.widget_ministr{
background: rgba(255, 255, 255, 0.8);}
