
.body {
	scroll-behavior: smooth;
	margin-top: 10em!important;
}

.block {
	filter: gray; /* IE6-9 */
	-webkit-filter: grayscale(0); /* Google Chrome, Safari 6+ & Opera 15+ */
}

.block:hover {
  filter: none; /* IE6-9 */
  -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
 
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.content {
  animation: fade-in 1.5s ease;
}

.pict-m {
	filter: gray; /* IE6-9 */
	-webkit-filter: grayscale(0); /* Google Chrome, Safari 6+ & Opera 15+ */
}

.pict-m:hover{
	filter: none; /* IE6-9 */
	-webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
}

.delay-05s{
    -webkit-animation-delay: .2s;
    -moz-animation-delay: .2s;
    -o-animation-delay: .2s;
    animation-delay: .2s;
}
 
.delay-1s{
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    -o-animation-delay: 1s;
    animation-delay: 1s;
}

#baner {
	background: url('img/zast.jpg') center center no-repeat;"
	background-size: cover!important;
}

div#baner {
    background-size: cover;
}


.carousel-item {
    transition: transform 2.6s cubic-bezier(0.65, 0.05, 0.36, 1)!important;
}


.effect {
  /*position: relative;
  width: 400px;*/
  height: 230px;
  overflow: hidden;
}

.effect a {
  text-decoration: none !important;
}

.effect .caption {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.6);
  width: 100%;
  height: 100%;
  color: #fff;
  text-align: center;
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: column;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  align-items: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  z-index: 2;
}

.effect .caption h4 {
  margin: 0px;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 20px;
  position: relative;
}

.effect .caption h4:before,
.effect .caption h4:after {
/*  content: "";*/
  display: block;
  height: 2px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  background-color: #fff;
}

.effect .caption h4:before {
  width: 40px;
  bottom: 10px;
}

.effect .caption h4:after {
  width: 20px;
  bottom: 5px;
}

.effect .caption .text {
  margin: 30px;
  padding: 0px 20px;
  font-size: 16px;
  line-height: 22px;
  position: relative;
  width: 100%;
}

.effect .caption .text p {
  margin-bottom: 15px;
  margin-top: 0px;
}

.effect .caption .text p:last-child {
  margin-bottom: 0px;
}

/*.effect .caption a.btn {
  color: #fff;
  display: inline-block;
  border: 2px solid #fff;
  border-radius: 6px;
  font-size: 16px;
  padding: 10px 20px 12px 20px;
  background-color: transparent;
  transition: background 0.2s linear 0s;
  margin-bottom: 20px;
  position: relative;
}

.effect .caption a.btn:hover {
  background-color: #fff;
  color: #000;
}*/
.effect.eff-8 .caption {
  opacity: 0;
}

.effect.eff-8 .caption h4,
.effect.eff-8 .caption .text,
.effect.eff-8 .caption a.btn {
  opacity: 0;
  -moz-transform: scale(0.3);
  -webkit-transform: scale(0.3);
  transform: scale(0.3);
  -moz-transition: all 0.2s linear 0.1s;
  -webkit-transition: all 0.2s linear 0.1s;
  transition: all 0.2s linear 0.1s;
}

.effect.eff-8:hover .caption {
  opacity: 1;
  -moz-transition: all 0.5s linear 0s;
  -webkit-transition: all 0.5s linear 0s;
  transition: all 0.5s linear 0s;
  cursor: pointer;
}

.effect.eff-8:hover .caption h4,
.effect.eff-8:hover .caption .text,
.effect.eff-8:hover .caption a.btn {
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
  cursor: pointer;
}

@media (max-height: 576px){
	#galery {
		max-height: 100px; overflow-y: hidden;"
	}
}
@media (max-height: 720px){
	#galery {
		max-height: 100px; overflow-y: hidden;"
	}
}
@media (max-height: 960px){
	#galery {
		max-height: 180px; overflow-y: hidden;"
	}
}
@media (max-height: 1140px){
	#galery {
		max-height: 180px; overflow-y: hidden;"
	}
}

.scroll-top-wrapper {
    position: fixed;
    opacity: 0;
    visibility: hidden;
	overflow: hidden;
	text-align: center;
	z-index: 99999999;
    background-color: #777777;
	color: #eeeeee;
	width: 50px;
	height: 48px;
	line-height: 48px;
	right: 30px;
	bottom: 30px;
	padding-top: 0;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.scroll-top-wrapper:hover {
	background-color: #888888;
}
.scroll-top-wrapper.show {
    visibility:visible;
    cursor:pointer;
	opacity: 0.5;
}
.scroll-top-wrapper i.fa {
	line-height: inherit;
}

