/** Custum Owl Carousel **/

.owl-container {
  margin-bottom: 30px;
  position: relative;
}

.owl-carousel {
  padding-bottom: 0;
  display: block;
}

/* .owl-pagination{
    position: absolute;
    top: 30%;
    z-index: 999;
} */
/* .owl-carousel .owl-stage{
  transition:all 0.25s ease 0s!important;
} */
.owlnav.disabled {
  display: none;
}

.owl-wrapper .content {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
}

.owl-wrapper>a.overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  z-index: 2;
}

.owl-wrapper img {
  transition: all 1.2s ease-in-out!important;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.owl-wrapper:hover img {
  transform: scale(1.05);
}

.owl-wrapper .image {
  overflow: hidden;
}

.owl-wrapper:hover .owl-description {
  opacity: 1;
  bottom: 0px;
}

body .owl-theme .owl-dots.disabled {
  display: none;
}

.owl-item.mouseleave .owl-description {
  bottom: initial;
}

.owl-description {
  padding: 5%;
  bottom: -100%;
  font-size: 1.3em;
  transition: all 1.0s;
  transition-timing-function: cubic-bezier(.28, .55, .55, .75);
  opacity: 0;
  background-color: rgba(0, 0, 0, .7);
  pointer-events: none;
  position: relative;
}

.owl-wrapper .content a {
  text-decoration: none;
  border: none;
  color: #fff;
}

.owl-wrapper .content .owl-title-area {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, .4);
  z-index: 2;
  pointer-events:none;
}

#main .owl-wrapper .content .owl-title-area h3 {
  width: 100%;
  font-size: 1.2em;
  padding: 5px 10px;
  color: #fff;
  margin-bottom: 0px;
  font-weight: normal;
}

/*owl nav*/

.owl-themen {
  padding: 15px 1px;
  padding-top: 0px;
}

.owl-container .owl-carousel {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  background-color: #fff;
}

.owl-container.loaded .owl-carousel {
  opacity: 1;
}

.owl-carousel .owl-stage {
  padding-left: 0px!important;
}

.owl-carousel .desc {
  line-height: 1.2;
}

.grid .col {
  padding: 0px;
}

body .owl-theme .owl-dots {
  position: relative;
  margin-top: 10px;
}

body .owl-theme .nav.disabled {
  display: none;
}

.owl-theme .owlnav {
  position: absolute;
  left: -41px;
  top: calc(50% - 25px);
  transform: translateY(-50%);
  width: calc(100% + 82px);
  text-align: left;
  pointer-events: none;
  margin: 0px;
  box-sizing: contain;
}

.owl-carousel .owl-item{
  border-radius:3px;
  overflow:hidden;
}
.owl-carousel.owl-drag .owl-item {
  background: #000;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background: #de3c4b;
}

.owl-theme .owl-dots .owl-dot span {
  background: #646464;
}

.owl-carousel .owl-item img {
  object-position: center;
  object-fit: contain;
  height:auto;
  max-width: 100%;
}
[data-src]::before {
  content: '';
  display: block;
  padding-top:30%;
}
.owl-pagination .fa {
  font-size: 35px;
}

.owl-pagination .owlnav button, .owl-dots button {
  pointer-events: all;
}

.owl-pagination .owlnav button.owl-next {
  float: right;
}

.owl-pagination .owlnav button span {
  color: transparent;
  font-size: 0px;
}

.owl-dots button, .nav button, .owlnav button {
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: 0px;
  outline: none;
}

.owl-theme button:not(.active) {
  cursor: pointer;
}

.owl-dots button {
  padding: 0px 2px;
}

.nav button span, .owlnav button span {
  display: none;
}

.owl-prev:after {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
}

.owl-theme button {
  background: transparent;
  border: none;
  box-shadow: none;
}
body.home #page-wrapper #main .owl-carousel.num-items-1 .owl-height,
body.home #page-wrapper #main .owl-carousel.num-items-1 .owl-item img.owl-lazy{
  max-height:350px!important;
}
body.home #page-wrapper #main .owl-carousel.num-items-1 .owl-item .owl-description{
  padding:10px;
  bottom:initial;
  opacity:1;
}

@media screen and (max-width: 1200px){ 
  body.home #page-wrapper #main .full-container:not(.rest-page):not(.featured-posts):not(.content-width){
    max-width:95%;
  }
}
@media screen and (max-width: 950px){ 
  body.home #page-wrapper #main .full-container.content-width{
    max-width: 93%;
  }
}