File: /home/z/w/a/zwafgyp/dodolodge-net/wp-content/themes/hotel-wp/assets/sass/shortcodes/_slider.scss
.element-main-slider{
height: 100vh;
position: relative;
@media(max-width:767px){
height: 60vh;
}
@media(max-width:767px){
display: flex;
align-items: center;
}
.wrap-element{
padding-right: 275px;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
@media(max-width:1299px){
padding-right: 200px;
}
@media(max-width:1199px){
padding-right: 0;
}
.slick-list{
.inner-banner{
height: calc(100vh - 100px);
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
@media(max-width:767px){
height: calc(60vh - 70px);;
}
&::before{
position: absolute;
content: '';
width: 100%;
height: 100%;
left: 0;
top: 0;
background: rgba(0,0,0,0.4);
}
}
}
.slick-dots{
position: absolute;
margin: 0;
bottom: 140px;
list-style-type: none;
display: inline-flex;
margin-left: 15px;
@media(max-width:767px){
bottom: 100px;
}
li{
cursor: pointer;
display: inline-block;
display: inline-block;
line-height: 1;
width: 11px;
height: 11px;
background: #fff;
transform: rotate(45deg);
margin: 0 5px;
&.slick-active,&:hover{
background: transparent;
border: 1px solid #ffffff;
}
button{
font-size: 0;
position: relative;
line-height: 1;
border: none;
}
}
}
}
.bg-title-wrapper{
position: absolute;
height: calc(100% - 100px);
top: 100px;
left: 70px;
right: 70px;
background: #f6f6f6;
z-index: -1;
text-align: right;
@media(max-width:1299px){
right: 0;
}
.bg-title{
display: inline-block;
font-size: 80px;
writing-mode: vertical-rl;
color: rgba(0,0,0,0.1);
margin-top: 70px;
margin-right: 30px;
@media(max-width: 1439px){
margin-top: 50px;
font-size: 60px;
margin-right: 40px;
}
@media(max-width: 1199px){
writing-mode: unset;
position: absolute;
bottom: 5px;
margin: 0;
right: 30px;
}
@media(max-width: 767px){
font-size: 40px;
right: 20px;
}
@media(max-width: 400px){
font-size: 32px;
}
}
}
.content-title{
position: relative;
display: flex;
align-items: flex-end;
padding-top: 15%;
@media(max-width:1023px){
padding-top: 12%;
}
@media(max-width:767px){
padding-top: unset;
transform: translateY(-120%);
}
@media(max-width:480px){
display: block;
transform: translateY(-50%);
}
.primary-title{
font-size: 100px;
color: #ffffff;
line-height: 1;
font-weight: 600;
word-spacing: -20px;
margin-bottom: 0;
@media(max-width: 767px){
font-size: 50px;
}
}
.second-title{
font-size: 70px;
color: #ffffff;
font-weight: 300;
line-height: 1;
transform: translateY(25px);
@media(max-width: 767px){
font-size: 40px;
}
@media(max-width: 480px){
transform: translateY(10px);
}
}
}
}