/* Owl Carousel */ .fullscreen-carousel { height: 100vh; position: relative; } .owl-carousel { margin-bottom: $spacement-lg; .img-thumbnail { max-width: 100%; img { width: 100%; } } .item-video { height: 300px; } .owl-nav { top: 50%; position: absolute; margin-top: -20px; width: 100%; .owl-prev, .owl-next { display: inline-block; position: absolute; width: 30px; height: 30px; text-align: center; line-height: 22px; } .owl-prev { #{$left}: -5px; &:before { /*font-family: FontAwesome; content: if-ltr($fa-var-chevron-left, $fa-var-chevron-right);*/ font-family: "Porto"; content: if-ltr("\e819", "\e81a"); position: relative; #{$left}: -1px; top: 1px; } } .owl-next { #{$right}: -5px; /*#{$right}: 15px;*/ &:before { /*font-family: FontAwesome; content: if-ltr($fa-var-chevron-right, $fa-var-chevron-left);*/ font-family: "Porto"; content: if-ltr("\e81a", "\e819"); position: relative; #{$left}: 1px; top: 1px; } } } .owl-dots { margin-top: 1em; } &.stage-margin { .owl-stage-outer { .owl-stage { padding-left: 0 !important; padding-right: 0 !important; } margin-left: 40px; margin-right: 40px; } } &.show-nav-hover { .owl-nav { opacity: 0; @include transition (opacity 0.2s ease-in-out); } &:hover { .owl-nav { opacity: 1; } } } &.show-nav-title { .owl-nav { top: 0; #{$right}: 0; margin-top: -48px; width: auto; [class*="owl-"], [class*="owl-"]:hover, [class*="owl-"]:active { font-size: 18px; background: transparent !important; width: 18px; font-size: 18px; padding-left: 0; padding-right: 0; } .owl-prev { #{$left}: -45px; } } } &.nav-bottom { .owl-nav { position: static; margin: 0; padding: 0; width: auto; .owl-prev, .owl-next { position: static; } } } &.rounded-nav { .owl-nav { [class*="owl-"], [class*="owl-"]:hover { padding: 3px 7px; border-radius: 50%; background: transparent !important; border: 1px solid #999 !important; color: #999; width: 30px; } } } &.nav-inside { .owl-dots { bottom: 2px; margin-top: 10px; position: absolute; #{$right}: 6px; } .owl-nav { .owl-prev { #{$left}: 0; } .owl-next { #{$right}: 0; } } } &.nav-inside-left { .owl-dots { #{$left}: 6px; #{$right}: auto; } } &.nav-inside-center { .owl-dots { #{$right}: 6px; #{$left}: 6px; } } &.full-width, &.big-nav { .owl-nav { margin-top: -30px; [class*="owl-"], [class*="owl-"]:hover { height: auto; padding: 20px 0; margin: 0; } .owl-prev { #{$left}: 0; } .owl-next { #{$right}: 0; } } } &.top-border { padding-top: 18px; } .owl-item .owl-lazy { @include transition(all 0.2s linear 0s, opacity 400ms ease 0s); } .wpb_content_element { margin-bottom: 0; } } /* Spaced */ .owl-carousel-spaced { margin-#{$left}: -5px; .owl-item > div { margin: 5px; } } /* Testimonials */ .owl-carousel.testimonials { img { display: inline-block; height: 70px; width: 70px; } } /* Responsive */ @media (max-width: 575px) { .owl-carousel-spaced { margin-#{$left}: 0; } } /* Slick Slider */ .slick-slider { .slick-dots li{ opacity: 1 !important; } .slick-prev { width: auto; height: auto; #{$left}: 0; text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); } .slick-next { width: auto; height: auto; #{$right}: 0; text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); } @media #{$screen-medium} { .slick-prev, .slick-next { display: none !important; } } } .dots-inner .slick-slider, .slick-slider.dots-inner { ul.slick-dots { position: absolute !important; bottom: 10px !important; } } [dir="rtl"] .slick-prev:before, [dir="rtl"] .slick-next:before { display: none; } [dir="rtl"] .slick-prev i:before { content: "\e60d"; } [dir="rtl"] .slick-next i:before { content: "\e60c"; } .yith-wcan-loading{ position: relative; } #fancybox-loading div { background-image: none; display: none; } .yith-wcan-loading, .master-slider .ms-loading-container .ms-loading, .master-slider .ms-slide .ms-slide-loading, #fancybox-loading, .slick-slider .slick-loading .slick-list, .porto-carousel-wrapper > div:first-child > .porto-item-wrap:first-child, #infscr-loading .infinite-loading, .porto-ajax-loading { background-image: none; background-color: transparent; border-radius: 0; box-shadow: none; opacity: 1; &:before { content: " "; display: inline-block !important; border-width: 2.5px; width: 32px; height: 32px; @include animate-spin; border-image: none; border-radius: 20px; border-style: solid; border-bottom-color: transparent !important; vertical-align: middle; position: absolute; margin: auto; left: 0; right: 0; top: 0; bottom: 0; } } .carousel-areas { background: transparent url(../images/patterns/stripes.png) repeat 0 0; padding-top: 10px; padding-left: 10px !important; padding-right: 10px !important; padding-bottom: 0; max-width: 750px; margin-left: auto !important; margin-right: auto !important; > div { padding-left: 0 !important; padding-right: 0 !important; } .porto-carousel-wrapper { margin-bottom: 10px; box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); .slick-prev { #{$left}: -50px; } .slick-next { #{$right}: -50px; } } @media #{$screen-normal} { overflow: hidden; } } .porto-ajax-loading { &:before { z-index: 2; } &:after { content: " "; position: absolute; margin: auto; left: 0; right: 0; top: 0; bottom: 0; opacity: .15; z-index: 1; } } .fullscreen-carousel { &:after { content: "\f110"; font-family: "porto"; position: absolute; left: 50%; top: 50%; font-size: 25px; line-height: 1; margin-top: -13px; margin-bottom: -13px; color: #999; z-index: 0; @include animate-spin; } } .porto-standable-carousel { display: block; &:not(.owl-loaded) > *:not(:first-child) { display: none; } }