|
@@ -23,33 +23,41 @@
|
|
.__thumbnails{
|
|
.__thumbnails{
|
|
margin: 0 1rem;
|
|
margin: 0 1rem;
|
|
width: calc((100% / 4) - 2rem);
|
|
width: calc((100% / 4) - 2rem);
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ align-self: baseline;
|
|
.__title{
|
|
.__title{
|
|
text-align: center;
|
|
text-align: center;
|
|
- p{
|
|
|
|
|
|
+ margin-bottom: 1rem;
|
|
|
|
+ .__d-inline{
|
|
|
|
+ display: inline-block;
|
|
border-bottom: 3px solid #b5cb3a;
|
|
border-bottom: 3px solid #b5cb3a;
|
|
width: max-content;
|
|
width: max-content;
|
|
- margin: 0 auto 1rem auto;
|
|
|
|
- padding: 0 1.5rem 0.2rem 1.5rem;
|
|
|
|
- font-size: 1rem;
|
|
|
|
- font-family: $now_alt_medium;
|
|
|
|
|
|
+ max-width: 100%;
|
|
|
|
+ padding-bottom: 0.5rem;
|
|
|
|
+ span{
|
|
|
|
+ display: block;
|
|
|
|
+ text-align: center;
|
|
|
|
+ padding: 0 1.5rem 0.2rem 1.5rem;
|
|
|
|
+ font-size: 0.8rem;
|
|
|
|
+ font-family: $now_alt_medium;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.__thumb{
|
|
.__thumb{
|
|
position: relative;
|
|
position: relative;
|
|
.__images{
|
|
.__images{
|
|
position: relative;
|
|
position: relative;
|
|
- height: 250px;
|
|
|
|
|
|
+ height: 200px;
|
|
|
|
+ overflow: hidden;
|
|
img{
|
|
img{
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
.dl_brochure{
|
|
.dl_brochure{
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -65,7 +73,7 @@
|
|
}
|
|
}
|
|
&.nos_pack{
|
|
&.nos_pack{
|
|
.__thumbnails{
|
|
.__thumbnails{
|
|
- .__thumb{
|
|
|
|
|
|
+ .__thumb.__hover{
|
|
transition: 0.3s transform ease;
|
|
transition: 0.3s transform ease;
|
|
a{
|
|
a{
|
|
outline: none;
|
|
outline: none;
|
|
@@ -78,11 +86,18 @@
|
|
box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
|
|
box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
|
|
transition: 0.3s box-shadow ease;
|
|
transition: 0.3s box-shadow ease;
|
|
}
|
|
}
|
|
|
|
+ .__images{
|
|
|
|
+ transition: 0.5s filter ease;
|
|
|
|
+ filter: grayscale(0%);
|
|
|
|
+ img{
|
|
|
|
+ filter: grayscale(100%);
|
|
|
|
+ transition: 0.5s filter ease;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.__images{
|
|
.__images{
|
|
- transition: 0.5s filter ease;
|
|
|
|
- filter: grayscale(0%);
|
|
|
|
.__sub-title{
|
|
.__sub-title{
|
|
opacity: 0;
|
|
opacity: 0;
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -94,7 +109,7 @@
|
|
padding: 1rem;
|
|
padding: 1rem;
|
|
transition: 0.5s transform ease, 1s opacity ease;
|
|
transition: 0.5s transform ease, 1s opacity ease;
|
|
p{
|
|
p{
|
|
- font-size: 1.2rem;
|
|
|
|
|
|
+ font-size: 1rem;
|
|
font-family: $now_alt_medium;
|
|
font-family: $now_alt_medium;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -105,7 +120,7 @@
|
|
display: block;
|
|
display: block;
|
|
padding: 0.7rem 0;
|
|
padding: 0.7rem 0;
|
|
margin-top: 1rem;
|
|
margin-top: 1rem;
|
|
- font-size: 1rem;
|
|
|
|
|
|
+ font-size: 0.8rem;
|
|
font-family: $now_alt_medium;
|
|
font-family: $now_alt_medium;
|
|
text-align: center;
|
|
text-align: center;
|
|
.triangle{
|
|
.triangle{
|
|
@@ -151,10 +166,6 @@
|
|
|
|
|
|
&:hover{
|
|
&:hover{
|
|
.__images{
|
|
.__images{
|
|
- img{
|
|
|
|
- filter: grayscale(100%);
|
|
|
|
- transition: 0.5s filter ease;
|
|
|
|
- }
|
|
|
|
.__sub-title{
|
|
.__sub-title{
|
|
opacity: 1;
|
|
opacity: 1;
|
|
transform: translateY(-50%);
|
|
transform: translateY(-50%);
|
|
@@ -169,10 +180,33 @@
|
|
&:last-child{
|
|
&:last-child{
|
|
margin-bottom: 100px;
|
|
margin-bottom: 100px;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ .__thumbnails{
|
|
|
|
+ &:nth-child(1){
|
|
|
|
+ .__more{
|
|
|
|
+ width: calc(100% * 4 + 6rem);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ &:nth-child(2){
|
|
|
|
+ .__more{
|
|
|
|
+ width: calc(100% * 4 + 6rem);
|
|
|
|
+ transform: translateX(calc((-100% / 4) - 0.5rem));
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ &:nth-child(3){
|
|
|
|
+ .__more{
|
|
|
|
+ width: calc(100% * 4 + 6rem);
|
|
|
|
+ transform: translateX(calc((-100% / 2) - 1rem));
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
.__more{
|
|
.__more{
|
|
display: none;
|
|
display: none;
|
|
- margin: 2rem 1rem;
|
|
|
|
|
|
+ position: relative;
|
|
|
|
+ left: 0;
|
|
|
|
+ right: 0;
|
|
|
|
+ // width: calc(100% * 4 - 6rem);
|
|
|
|
+ margin: 0;
|
|
|
|
+ margin: 2rem 0rem;
|
|
.__txt.black{
|
|
.__txt.black{
|
|
p{
|
|
p{
|
|
color: black!important;
|
|
color: black!important;
|
|
@@ -245,6 +279,7 @@
|
|
|
|
|
|
}
|
|
}
|
|
.__title{
|
|
.__title{
|
|
|
|
+ text-align: left;
|
|
h6{
|
|
h6{
|
|
margin:0;
|
|
margin:0;
|
|
font-size: 1.3rem;
|
|
font-size: 1.3rem;
|
|
@@ -253,7 +288,7 @@
|
|
}
|
|
}
|
|
.__txt{
|
|
.__txt{
|
|
p{
|
|
p{
|
|
- font-size: 1rem;
|
|
|
|
|
|
+ font-size: 0.9rem;
|
|
font-family: $now_alt_medium;
|
|
font-family: $now_alt_medium;
|
|
}
|
|
}
|
|
&.__color{
|
|
&.__color{
|
|
@@ -264,24 +299,28 @@
|
|
.__btn{
|
|
.__btn{
|
|
display: inline-flex;
|
|
display: inline-flex;
|
|
margin-top: 1rem;
|
|
margin-top: 1rem;
|
|
|
|
+ width: 100%;
|
|
& > div{
|
|
& > div{
|
|
|
|
+ width: 50%;
|
|
background: $light-blue;
|
|
background: $light-blue;
|
|
margin: 0;
|
|
margin: 0;
|
|
transition: 0.3s transform ease, 0.3s box-shadow ease;
|
|
transition: 0.3s transform ease, 0.3s box-shadow ease;
|
|
|
|
+ padding: 0.5rem 1.5rem;
|
|
&:hover{
|
|
&:hover{
|
|
transform: scale(1.015);
|
|
transform: scale(1.015);
|
|
box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
|
|
box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
|
|
transition: 0.3s transform ease, 0.3s box-shadow ease;
|
|
transition: 0.3s transform ease, 0.3s box-shadow ease;
|
|
}
|
|
}
|
|
&:not(:first-child){
|
|
&:not(:first-child){
|
|
- margin: 0 1rem;
|
|
|
|
|
|
+ margin-left: 1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
a{
|
|
a{
|
|
font-family: $now_alt_medium;
|
|
font-family: $now_alt_medium;
|
|
- font-size: 0.9rem;
|
|
|
|
|
|
+ font-size: 0.7rem;
|
|
color: white;
|
|
color: white;
|
|
- padding: 0.5rem 1.5rem;
|
|
|
|
|
|
+ // margin: 0 1rem;
|
|
|
|
+ // padding: 0.5rem 1.5rem;
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
@@ -296,3 +335,143 @@
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+@media screen and (max-width: 1200px) {
|
|
|
|
+ #nos-packs, #nos-offres{
|
|
|
|
+ .content{
|
|
|
|
+ .section{
|
|
|
|
+ .__intro{
|
|
|
|
+ margin: 70px 0;
|
|
|
|
+ p{
|
|
|
|
+ padding: 0!important;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .d-flex{
|
|
|
|
+ .__thumbnails{
|
|
|
|
+ width: calc((100% / 3) - 2rem);
|
|
|
|
+ margin-bottom: 2rem;
|
|
|
|
+ .__more{
|
|
|
|
+ width: calc(100% * 3 + 4rem);
|
|
|
|
+ .__content{
|
|
|
|
+ width: 100%;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ &:nth-child(2){
|
|
|
|
+ .__more{
|
|
|
|
+ transform: translateX(calc((-100% / 3) - 0.5rem));
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ &:nth-child(3){
|
|
|
|
+ .__more{
|
|
|
|
+ transform: translateX(calc((-100% / 1.5) - 1rem));
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+@media screen and (max-width: 1024px) {
|
|
|
|
+ #nos-packs, #nos-offres{
|
|
|
|
+ .content{
|
|
|
|
+ .section{
|
|
|
|
+ .__intro{
|
|
|
|
+ margin: 50px 0;
|
|
|
|
+ }
|
|
|
|
+ .d-flex{
|
|
|
|
+ .__thumbnails{
|
|
|
|
+ width: calc((100% / 2) - 2rem);
|
|
|
|
+ margin-bottom: 2rem;
|
|
|
|
+ .__more{
|
|
|
|
+ width: calc(100% * 2 + 2rem);
|
|
|
|
+ .__content{
|
|
|
|
+ width: 100%;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ &:nth-child(2){
|
|
|
|
+ .__more{
|
|
|
|
+ transform: translateX(calc((-100% / 2) - 1rem));
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ &:nth-child(3){
|
|
|
|
+ .__more{
|
|
|
|
+ transform: translateX(-0%);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+@media screen and (max-width: 530px) {
|
|
|
|
+ #nos-packs, #nos-offres{
|
|
|
|
+ .content{
|
|
|
|
+ .section{
|
|
|
|
+ .__intro{
|
|
|
|
+ margin: 20px 0;
|
|
|
|
+ }
|
|
|
|
+ .d-flex{
|
|
|
|
+ .__thumbnails{
|
|
|
|
+ width: calc((100%) - 2rem);
|
|
|
|
+ margin-bottom: 2rem;
|
|
|
|
+ .__title{
|
|
|
|
+ margin-bottom: 0.5rem;
|
|
|
|
+ .__d-inline{
|
|
|
|
+ padding-bottom: 0.2rem;
|
|
|
|
+ span{
|
|
|
|
+ padding: 0 1.5rem;
|
|
|
|
+ font-size: 1rem;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .__more{
|
|
|
|
+ width: calc(100%);
|
|
|
|
+ .__details{
|
|
|
|
+ padding: 1rem;
|
|
|
|
+ .__content{
|
|
|
|
+ width: 100%;
|
|
|
|
+ padding: 1rem;
|
|
|
|
+ p{
|
|
|
|
+ padding: 0!important;
|
|
|
|
+ }
|
|
|
|
+ .close{
|
|
|
|
+ top: 0.5rem;
|
|
|
|
+ right: 0.5rem;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .__btn{
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ & > div{
|
|
|
|
+ margin: auto 0 1rem 0!important;
|
|
|
|
+ width: 100%;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ &:nth-child(2){
|
|
|
|
+ .__more{
|
|
|
|
+ transform: translateX(0%);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ &:nth-child(3){
|
|
|
|
+ .__more{
|
|
|
|
+ transform: translateX(-0%);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|