.zelaaviation-section {
position: sticky;
top: 0;
height: 100vh;
}
.zelaaviation-section.half {
width: 41.66667%;
}
.scrolling-half-image {
width: 100%;
margin-bottom: 250px;
}
.section-bg-zelaaviation {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: 70%;
}
.scrolling-image {
height: 100vh;
background-size: cover;
background-position: center;
}
.scrollimg-left {
background-position: left;
}
.scrollimg-right {
background-position: right;
}
.the-sticky-text {
position: absolute;
bottom: 110px;
left: 60px;
max-width: 550px;
transition: all .5s linear;
opacity: 0;
}
.show-it .the-sticky-text {
opacity: 1;
}
@media screen and (max-width: 1400px) {
.the-sticky-text {
bottom: 140px;
}
}
.scrolling-desc {
margin-bottom: 60px;
font-weight: 400;
margin-top: 60px;
}
.scrolling-content {
position: relative;
background-color: #ffffff!important;
}
.link {
position: relative;
color: rgb(23, 22, 20)!important;
padding-bottom: 5px;
}
.link:before {
content: "";
position: absolute;
bottom: 0;
left: 0;
height: 1px;
width: 0px;
background: rgb(23, 22, 20);;
transition: all 0.2s linear;
}
.link:hover:before {
width: 100%;
right: 0;
left: auto;
}
.zelaaviation-section.alignright .grid-x {
display: flex;
flex-direction: row-reverse;
}
.zelaaviation-section.half.alignright {
margin-left: 58.333333%;
}
.zelaaviation-section.alignright .the-sticky-text {
bottom: auto;
top: 150px;
}
.scrolling-code:has(> iframe) {
position: relative;
}
.scrolling-code iframe {
height: 100%;
width:100%;
position: absolute;
left: 0;
top: 0;
}
.the-sticky-text .contact-data {
margin-bottom: 15px;
}
.the-sticky-text .contact-data a:hover {
color:inherit;
}
@media screen and (max-width:980px) {
.scrolling-image, .scrolling-content {
width: 100%!important;    
position: relative;
min-height: calc(50vh - 0px);
height: auto;
}
.scrolling-content {
background: #ede8e2;
}
.zelaaviation-section.half {
width: 100%!important;    
margin-left: 0 !important;
height:calc(50vh - 0px);
top: calc(50vh - 0px);
}
.zelaaviation-section .grid-x {
display: flex;
flex-direction: column-reverse!important;
}
.the-sticky-text, .zelaaviation-section.alignright .the-sticky-text {
max-width: calc(100% - 120px);
bottom: auto;
top: 130px;
opacity: 1;
}
.scrolling-desc {
margin-top: 20px;
margin-bottom: 20px;
}
.scrolling-half-image, .scrolling-half-image * {
max-height: 30vh;
margin-bottom: 0;
text-align: center;
}
.the-sticky-text, .zelaaviation-section.alignright .the-sticky-text {
left: 15px;
max-width: calc(100% - 30px);
top: 0;
margin-top: 130px;
position: relative;
margin-bottom: 30px;
}
.the-sticky-text * {
font-size: 14px;
}
}
@media screen and (max-width:980px) and (orientation : landscape) {
.scrolling-image, .scrolling-content {
min-height: calc(100vh - 0px);
}
.zelaaviation-section.half {
height:calc(100vh - 0px);
top: 0;
margin-top: 100vh;
}
.zelaaviation-section {
top:-100vh;
}
.scrolling-half-image, .scrolling-half-image * {
max-height: 50vh;
}
body:has(.wpcf7) .zelaaviation-section {
top: 0!important;
height: auto;
background-color: #ede8e2;
}
body:has(.wpcf7) .zelaaviation-section .scrolling-image, body:has(.wpcf7) .zelaaviation-section .scrolling-content {
height:auto!important;
}
}
.the-gallery-section.room-type {
position: relative;
background-color: #ede8e2;
}
.the-gallery-section.room-type .grid-x {
position: absolute;
top: 50%;
width: 100%;
padding: 50px;
left: 0;
right: auto;
transform: translateY(-50%);
height: 90%;
}
.the-gallery-section.room-type .gallerytext {
position: absolute;
background-color: rgba(196, 187, 182, .4);
background-color: rgba(0, 0, 0, .4);
bottom:150px;
top: auto;
}
.the-gallery-section.room-type .the-abs-text {
color: white;
position: absolute;
bottom: 50px;
left: 50px;
width: calc(100% - 150px);
font-weight: 300;
}
.the-gallery-section.room-type .gallerytext-title {
font-size: 38px;
margin-bottom: 26px;
padding-right: 50px;
}
.the-gallery-section.room-type .gallerytext-desc * {
font-size: 16px !important;
line-height: 1.3 !important;
}
.the-gallery-section.room-type .grid-x.aos-init.aos-animate {
transform: translateY(-50%) translateZ(0);
}
.the-gallery-section.room-type.alignright .gallerytext {
right: 50px;
}
.the-gallery-section.room-type.gallerytext-subtitle {
display: block;
font-size: 14px;
}
.the-gallery-section.room-type.aligncenter .grid-x {height: 100%;}
.the-gallery-section.room-type.aligncenter .gallerytext {
height: auto;
background: transparent;
text-align: center;
width: 100%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.the-gallery-section.room-type.aligncenter .gallerytext .gallerytext-title {
padding-right: 0;
}
.the-gallery-section.room-type.aligncenter .gallerytext .link {
color: white;
border-bottom: 1px solid;
}
.the-gallery-section.room-type .the-gallery-section.room-type {
position: relative;
}
.the-gallery-section.room-type .slick-dots {
z-index: 1;
background: #ede8e2;
}
.the-gallery-section.room-type .slider-gallery.slick-dotted {
margin-bottom: 0;
}
.the-gallery-section.room-type .slick-dots li button:before {
color: #c2bab7!important;
font-size: 12px;
}
.the-gallery-section.room-type .slick-prev, .the-gallery-section.room-type .slick-next {
width: 30%;
background: transparent;
height: 100%;
top: 0;
left: 0;
transform: none;
z-index: 1;
}
.the-gallery-section.room-type .slick-next { 
left:70%;
}
.the-gallery-section.room-type .slick-next {
cursor:url(//www.zelaaviation.com/wp-content/themes/zelaaviation/blocks/scrollingsection/img/sandblu-arrow-right.png), auto;
}
.the-gallery-section.room-type .slick-prev {
cursor:url(//www.zelaaviation.com/wp-content/themes/zelaaviation/blocks/scrollingsection/img/sandblu-arrow-left.png), auto;
}
.the-gallery-section.room-type .slick-arrow:before {
display: none;
}
.the-gallery-section.room-type .gallerytext-title {
text-shadow: 0px 0px 14px #000;
}
@media screen and (max-width:1240px) {
.the-gallery-section.room-type .gallerytext {
bottom:auto;
top:50%;
transform:translateY(-50%);
}
}
@media screen and (max-width:980px) {
.the-gallery-section.room-type .gallerytext {
width: calc(100% - 100px)!important;
}
.the-gallery-section.room-type {
position: sticky;
top: 0;
}
.the-gallery-section.room-type .gallerytext-title {
font-size: 16px;
padding-right:0;
}
.the-gallery-section.room-type, .the-gallery-section.room-type .slick-slider, .the-gallery-section.room-type .slider-gallery-item {
height: calc(50vh - 0px);
}
.the-gallery-section.room-type .slider-gallery-item > img, .the-gallery-section.room-type .slider-gallery-item > picture {
display: none!important;
}
.the-gallery-section.room-type .slider-gallery-item {
background-size: cover!important;
background-position: center!important;
}
.the-gallery-section.room-type .slider-gallery-item img, .the-gallery-section.room-type .slider-gallery-item picture {
opacity:0;
}
.the-gallery-section.room-type .grid-x {
height: 100%;
padding: 50px 15px 15px;
}
.the-gallery-section.room-type .gallerytext {
width: calc(100% - 30px)!important;
top: auto;
transform: none;
bottom: 15px;
}
.the-gallery-section.room-type .the-abs-text {
width: calc(100% - 30px);
left:15px
}
.the-gallery-section.room-type.alignright .gallerytext {
right: auto;
left: 15px;
}
.the-gallery-section.room-type .gallerytext-desc, .the-gallery-section.room-type .gallerytext-desc * {
font-size: 12px!important;
}
.the-gallery-section.room-type:not(.has-single-gal) .slider-gallery, .the-gallery-section.room-type:not(.has-single-gal) .slider-gallery-item {
height: calc(50vh - 25px);
}
.the-gallery-section.room-type:not(.has-single-gal) .grid-x {
height: calc(100% - 40px);
}
.the-gallery-section.room-type .slider-gallery.slick-dotted {
margin-bottom: 25px;
}
}
.the-gallery-section.room-type.has-single-gal .slick-dots {
display: none;
}
.the-gallery-section.room-type .the-abs-text .link {
color:white!important;
}
.the-gallery-section.room-type .the-abs-text .link:before {
display:none;
}
@media screen and (max-width:980px) and (orientation : landscape) {
.the-gallery-section.room-type, .slick-slider, .slider-gallery-item, .the-gallery-section.room-type:not(.has-single-gal) .slider-gallery, .the-gallery-section.room-type:not(.has-single-gal) .slider-gallery-item {
height: calc(100vh - 0px);
}
.the-gallery-section.room-type .gallerytext {
bottom: 70px;
width:50%!important;
}
}