.site-banner { position: relative; .banner-item, .item { position: relative; img { width: 100%; } .banner-caption { position: absolute; top: 0; left: 0; right: 0; justify-content: flex-end; align-items: center; flex-direction: column; bottom: 0; background: rgba($black_color, 0.5); flex: 1; display: flex; padding-bottom: 120px; text-align: center; font-family: $font_secondary; .container { width: 100%; }//.container .sub-title { color: $white_color; font-size: 1.1112em; display: block; margin-bottom: 20px; letter-spacing: 1px; } .banner-desc { font-family: $font_primary; color: $white_color; } .banner-caption-inner { max-width: 680px; padding-bottom: 112px; position: relative; margin-left: auto; margin-right: auto; &:after { content: ""; background-image: url('images/flower-bottom.png'); background-repeat: no-repeat; background-position: bottom; background-size: 100%; position: absolute; bottom: 0; left: 0; right: 0; width: 100%; height: 112px; } }//.banner-caption-inner .title, .banner-title { margin: 0 0 30px 0; font-weight: 400; color: $white_color; font-size: 5em; line-height: 1em; a { color: $white_color; &:hover { opacity: 0.75; filter: alpha(opacity=75); } } svg { margin-left: auto; margin-right: auto; } }//.title .posted-on { font-size: 1.6667em; line-height: 1.27em; color: $white_color; a { color: $white_color; &:hover { color: $primary_color; } } }//.posted-on }//.banner-caption }//.banner-item, .item .banner-wrap { .owl-nav { position: absolute; bottom: -1px; right: 0; background: $white_color; text-align: center; display: flex; flex: 1; flex-wrap: wrap; padding: 10px 0; [class*="owl-"] { width: 70px; height: 50px; display: flex; justify-content: center; align-items: center; background-image: url('data:image/svg+xml; utf-8, '); background-repeat: no-repeat; background-size: 13px; background-position: center; text-indent: 120px; overflow: hidden; &:hover { opacity: 0.75; filter: alpha(opacity=75); } }//[class*="owl-"] .owl-next { background-image: url('data:image/svg+xml; utf-8, '); } .owl-prev + .owl-next { border-left: 1px solid rgba($black-color, 0.1); } }//.owl-nav .owl-dots { position: absolute; bottom: -1px; left: 0; padding: 0 20px; background: $white_color; display: flex; flex-wrap: wrap; min-height: 70px; align-items: center; .owl-dot { display: inline-block; padding: 8px !important; line-height: 0; height: auto; span { background: $primary_color; width: 12px; height: 12px; @include border-radius(100%); display: inline-block; border: 2px solid transparent; @include transition(all ease 0.35s); } &:hover > span, &.active > span { background: none; border-color: #121212; } } }//.owl-dots }//.banner-wrap .scroll-down { background: none; padding: 0; border: 2px solid #fff; width: 23px; height: 39px; display: block; position: absolute; bottom: 20px; left: 0; right: 0; margin: 0 auto; z-index: 9; border-radius: 50px; cursor: pointer; &::before { content: ""; width: 3px; height: 3px; background: $white_color; position: absolute; top: 10px; left: 0; right: 0; margin: auto; border-radius: 100%; box-shadow: 0 6px rgba($white_color, 0.5), 0 12px rgba($white_color, 0.2); } &:hover { opacity: 0.75; filter: alpha(opacity=75); } }//.scroll-down &.video-banner { #wp-custom-header { position: relative; height: 0; padding-top: 56.25%; &::before { content: ""; background: rgba($black_color, 0.05); position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; } iframe, video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .wp-custom-header-video-button { position: absolute; bottom: 10px; right: 10px; padding: 0; width: 40px; height: 40px; margin: auto; background: none; border: none; border-radius: 100%; box-shadow: none; text-indent: 100px; overflow: hidden; white-space: nowrap; z-index: 99; &::before { content: ""; background-image: url('data:image/svg+xml; utf-8, '); background-repeat: no-repeat; position: absolute; width: 40px; height: 40px; top: 0; left: 0; opacity: 0.8; filter: alpha(opacity=80); -webkit-transition: all ease 0.35s; -moz-transition: all ease 0.35s; transition: all ease 0.35s; } &.wp-custom-header-video-pause { &::before { background-image: url('data:image/svg+xml; utf-8, '); } }//&.wp-custom-header-video-pause &:hover { &::before { opacity: 1; filter: alpha(opacity=100); } }//&:hover }//.wp-custom-header-video-button }//#wp-custom-header }//&.video-banner }//.site-banner @include media(xl) { .site-banner { .banner-item, .item { img { height: 750px; object-fit: cover; } .banner-caption { .title { font-size: 4em; }//.title }//.banner-caption }//.banner-item, .item }//.site-banner }//@include media(xl) @include media(sm) { .site-banner { .banner-item, .item { img { height: 550px; } .banner-caption { .title { font-size: 3.1111em; }//.title }//.banner-caption }//.banner-item, .item }//.site-banner }//@include media(sm) @media screen and (max-width: 899px) { .site-banner { &.video-banner { #wp-custom-header { height: auto; padding-top: 0; }//#wp-custom-header }//.video-banner }//.site-banner } @include media(xs) { .site-banner { .banner-wrap { .owl-nav { padding: 0; right: 10px; bottom: 10px; [class*="owl-"] { width: 36px; height: 36px; background-size: 10px; }//[class*="owl-"] .owl-prev + .owl-next { border-left-color: $black_color; } }//.owl-nav }//.banner-wrap .banner-item, .item { .banner-caption { .container { max-width: 100%; } .banner-caption-inner { padding-bottom: 20%; }//.banner-caption-inner .title, .banner-title { font-size: 2.2223em; } }//.banner-caption }//.banner-item, .item }//.site-banner }//@include media(xs)