... | ... |
@@ -184,8 +184,8 @@ |
184 | 184 |
|
185 | 185 |
&.-width-expand > .background-wrapper-helper { |
186 | 186 |
max-width: none; |
187 |
- /*padding-left: 15px; |
|
188 |
- padding-right: 15px;*/ |
|
187 |
+ padding-left: 0; |
|
188 |
+ padding-right: 0; |
|
189 | 189 |
.background-wrapper-inner { |
190 | 190 |
> .rs-columns { |
191 | 191 |
margin-top: -30px; |
... | ... |
@@ -839,6 +839,24 @@ $shadow-color: #fff; |
839 | 839 |
@include aspect-ratio(1920, 500, true); |
840 | 840 |
}*/ |
841 | 841 |
|
842 |
+ &.-bgimage { |
|
843 |
+ @media screen and (max-width: 599px) { |
|
844 |
+ &::before { |
|
845 |
+ display: block; |
|
846 |
+ content: ""; |
|
847 |
+ width: 100%; |
|
848 |
+ padding-top: (2 / 3) * 100%; |
|
849 |
+ } |
|
850 |
+ > * { |
|
851 |
+ position: absolute; |
|
852 |
+ top: 0; |
|
853 |
+ left: 0; |
|
854 |
+ right: 0; |
|
855 |
+ bottom: 0; |
|
856 |
+ } |
|
857 |
+ } |
|
858 |
+ } |
|
859 |
+ |
|
842 | 860 |
&.-small > .hero-background { |
843 | 861 |
min-height: 250px; |
844 | 862 |
} |
... | ... |
@@ -882,6 +900,12 @@ $shadow-color: #fff; |
882 | 900 |
bottom: 0; |
883 | 901 |
} |
884 | 902 |
|
903 |
+ img { |
|
904 |
+ position: absolute; |
|
905 |
+ inset: 0; |
|
906 |
+ @include object-fit; |
|
907 |
+ } |
|
908 |
+ |
|
885 | 909 |
&.ratio-169 { |
886 | 910 |
@include aspect-ratio(16,9,true); |
887 | 911 |
} |
... | ... |
@@ -937,15 +961,23 @@ $shadow-color: #fff; |
937 | 961 |
|
938 | 962 |
.hero-content, |
939 | 963 |
.hero-html { |
940 |
- height: 100%; |
|
941 |
- position: absolute; |
|
942 |
- left: 0; |
|
943 |
- top: 0; |
|
944 |
- bottom: 0; |
|
945 |
- right: 0; |
|
946 |
- display: flex; |
|
947 |
- align-items: center; |
|
948 |
- justify-content: center; |
|
964 |
+ height: 100%; |
|
965 |
+ position: absolute; |
|
966 |
+ left: 0; |
|
967 |
+ top: 0; |
|
968 |
+ bottom: 0; |
|
969 |
+ right: 0; |
|
970 |
+ display: flex; |
|
971 |
+ align-items: center; |
|
972 |
+ justify-content: center; |
|
973 |
+ |
|
974 |
+ @include font-size(48px,$mm:0.46,$tm:0.56); |
|
975 |
+ .-fs-medium& { |
|
976 |
+ @include font-size(32px); |
|
977 |
+ } |
|
978 |
+ .-fs-small& { |
|
979 |
+ @include font-size(27px); |
|
980 |
+ } |
|
949 | 981 |
} |
950 | 982 |
|
951 | 983 |
.hero-text { |
... | ... |
@@ -956,21 +988,11 @@ $shadow-color: #fff; |
956 | 988 |
margin: 0; |
957 | 989 |
line-height: 1.3; |
958 | 990 |
font-family: $font-family-alternate; |
959 |
- font-size: font-size(40px); |
|
960 | 991 |
//text-shadow: $text-shadow-image; |
961 | 992 |
letter-spacing: 0.15em; |
962 | 993 |
font-weight: 700; |
963 | 994 |
text-transform: uppercase; |
964 | 995 |
color: $color-text-invert; |
965 |
- |
|
966 |
- .-fs-medium& { |
|
967 |
- font-size: font-size(32px); |
|
968 |
- |
|
969 |
- } |
|
970 |
- .-fs-small& { |
|
971 |
- font-size: font-size(27px); |
|
972 |
- |
|
973 |
- } |
|
974 | 996 |
} |
975 | 997 |
|
976 | 998 |
.-arrow& svg.arrow { |
... | ... |
@@ -1841,6 +1863,7 @@ $shadow-color: #fff; |
1841 | 1863 |
.feature-wrapper-boundary { |
1842 | 1864 |
@include centered(); |
1843 | 1865 |
width: 100%; |
1866 |
+ overflow: hidden; |
|
1844 | 1867 |
} |
1845 | 1868 |
|
1846 | 1869 |
.feature-wrapper-cols { |
... | ... |
@@ -1855,6 +1878,30 @@ $shadow-color: #fff; |
1855 | 1878 |
.content-col { |
1856 | 1879 |
flex: 0 1 50%; |
1857 | 1880 |
} |
1881 |
+ |
|
1882 |
+ /*.media-col { |
|
1883 |
+ padding: 3rem 0; |
|
1884 |
+ }*/ |
|
1885 |
+ |
|
1886 |
+ &, |
|
1887 |
+ .-text-left& { |
|
1888 |
+ @include for-tablet { |
|
1889 |
+ flex-direction: column; |
|
1890 |
+ |
|
1891 |
+ > * { |
|
1892 |
+ width: 100%; |
|
1893 |
+ margin: 2.5rem 0; |
|
1894 |
+ } |
|
1895 |
+ |
|
1896 |
+ .media-col { |
|
1897 |
+ order: 1; |
|
1898 |
+ } |
|
1899 |
+ |
|
1900 |
+ .content-col-inside { |
|
1901 |
+ padding: 0; |
|
1902 |
+ } |
|
1903 |
+ } |
|
1904 |
+ } |
|
1858 | 1905 |
} |
1859 | 1906 |
|
1860 | 1907 |
.media-col-content { |
... | ... |
@@ -1974,7 +2021,8 @@ $shadow-color: #fff; |
1974 | 2021 |
} |
1975 | 2022 |
|
1976 | 2023 |
h1, h2 { |
1977 |
- font-size: font-size(50px); |
|
2024 |
+ @include font-size(50px); |
|
2025 |
+ //font-size: font-size(50px); |
|
1978 | 2026 |
} |
1979 | 2027 |
} |
1980 | 2028 |
|
... | ... |
@@ -2005,3 +2053,62 @@ $shadow-color: #fff; |
2005 | 2053 |
} |
2006 | 2054 |
} |
2007 | 2055 |
} |
2056 |
+ |
|
2057 |
+ |
|
2058 |
+/** |
|
2059 |
+ * BUTTON |
|
2060 |
+ */ |
|
2061 |
+ |
|
2062 |
+.standalone-buttons { |
|
2063 |
+ .standalone-buttons-wrapper { |
|
2064 |
+ display: flex; |
|
2065 |
+ flex-wrap: wrap; |
|
2066 |
+ justify-content: flex-start; |
|
2067 |
+ |
|
2068 |
+ &.-align { |
|
2069 |
+ &-center { |
|
2070 |
+ justify-content: center; |
|
2071 |
+ } |
|
2072 |
+ &-right { |
|
2073 |
+ justify-content: flex-end; |
|
2074 |
+ } |
|
2075 |
+ } |
|
2076 |
+ |
|
2077 |
+ .standalone-buttons-link { |
|
2078 |
+ flex: 0 0 auto; |
|
2079 |
+ min-width: 250px; |
|
2080 |
+ margin-left: 10px; |
|
2081 |
+ margin-top: 10px; |
|
2082 |
+ |
|
2083 |
+ @include button(); |
|
2084 |
+ |
|
2085 |
+ &:first-child { |
|
2086 |
+ margin-left: 0; |
|
2087 |
+ } |
|
2088 |
+ |
|
2089 |
+ } |
|
2090 |
+ |
|
2091 |
+ @media screen and (max-width: 599px) { |
|
2092 |
+ flex-direction: column; |
|
2093 |
+ flex-wrap: nowrap; |
|
2094 |
+ |
|
2095 |
+ &.-align { |
|
2096 |
+ &-center, |
|
2097 |
+ &-right { |
|
2098 |
+ justify-content: flex-start; |
|
2099 |
+ } |
|
2100 |
+ } |
|
2101 |
+ |
|
2102 |
+ .standalone-buttons-link { |
|
2103 |
+ min-width: 0; |
|
2104 |
+ flex: 1 0 0; |
|
2105 |
+ margin-top: 20px; |
|
2106 |
+ margin-left: 0; |
|
2107 |
+ |
|
2108 |
+ &:first-child { |
|
2109 |
+ margin-top: 0; |
|
2110 |
+ } |
|
2111 |
+ } |
|
2112 |
+ } |
|
2113 |
+ } |
|
2114 |
+} |
... | ... |
@@ -924,6 +924,14 @@ $shadow-color: #fff; |
924 | 924 |
-webkit-box-sizing: border-box; |
925 | 925 |
-moz-box-sizing: border-box; |
926 | 926 |
box-sizing: border-box; |
927 |
+ |
|
928 |
+ &.video_container > div { |
|
929 |
+ position: absolute; |
|
930 |
+ top: 0; |
|
931 |
+ bottom: 0; |
|
932 |
+ left: 0; |
|
933 |
+ right: 0; |
|
934 |
+ } |
|
927 | 935 |
} |
928 | 936 |
} |
929 | 937 |
|
... | ... |
@@ -927,7 +927,8 @@ $shadow-color: #fff; |
927 | 927 |
} |
928 | 928 |
} |
929 | 929 |
|
930 |
- .hero-content { |
|
930 |
+ .hero-content, |
|
931 |
+ .hero-html { |
|
931 | 932 |
height: 100%; |
932 | 933 |
position: absolute; |
933 | 934 |
left: 0; |
... | ... |
@@ -940,6 +941,7 @@ $shadow-color: #fff; |
940 | 941 |
} |
941 | 942 |
|
942 | 943 |
.hero-text { |
944 |
+ z-index: 1; |
|
943 | 945 |
display: inline-block; |
944 | 946 |
max-width: 100%; |
945 | 947 |
text-align: left; |
... | ... |
@@ -835,8 +835,33 @@ $shadow-color: #fff; |
835 | 835 |
position: relative; |
836 | 836 |
height: 100%; |
837 | 837 |
|
838 |
- &:not(.-full-vh) { |
|
838 |
+ /*&:not(.-full-vh) { |
|
839 | 839 |
@include aspect-ratio(1920, 500, true); |
840 |
+ }*/ |
|
841 |
+ |
|
842 |
+ &.-small > .hero-background { |
|
843 |
+ min-height: 250px; |
|
844 |
+ } |
|
845 |
+ @media screen and (max-width: 599px) { |
|
846 |
+ &.-small > .hero-background { |
|
847 |
+ min-height: 150px; |
|
848 |
+ } |
|
849 |
+ } |
|
850 |
+ &.-medium > .hero-background { |
|
851 |
+ min-height: 450px; |
|
852 |
+ } |
|
853 |
+ @media screen and (max-width: 599px) { |
|
854 |
+ &.-medium > .hero-background { |
|
855 |
+ min-height: 300px; |
|
856 |
+ } |
|
857 |
+ } |
|
858 |
+ &.-large > .hero-background { |
|
859 |
+ min-height: 750px; |
|
860 |
+ } |
|
861 |
+ @media screen and (max-width: 599px) { |
|
862 |
+ &.-large > .hero-background { |
|
863 |
+ min-height: 450px; |
|
864 |
+ } |
|
840 | 865 |
} |
841 | 866 |
|
842 | 867 |
&.-alt-color { |
... | ... |
@@ -847,6 +872,34 @@ $shadow-color: #fff; |
847 | 872 |
background-size: cover; |
848 | 873 |
background-repeat: no-repeat; |
849 | 874 |
background-position: 50% 50%; |
875 |
+ height: 100%; |
|
876 |
+ |
|
877 |
+ :not(.-full-vh):not(.-small):not(.-medium):not(.-large)&:not([class*='ratio-']) { |
|
878 |
+ position: absolute; |
|
879 |
+ left: 0; |
|
880 |
+ right: 0; |
|
881 |
+ top: 0; |
|
882 |
+ bottom: 0; |
|
883 |
+ } |
|
884 |
+ |
|
885 |
+ &.ratio-169 { |
|
886 |
+ @include aspect-ratio(16,9,true); |
|
887 |
+ } |
|
888 |
+ &.ratio-1610 { |
|
889 |
+ @include aspect-ratio(16,10,true); |
|
890 |
+ } |
|
891 |
+ &.ratio-219 { |
|
892 |
+ @include aspect-ratio(21,9,true); |
|
893 |
+ } |
|
894 |
+ &.ratio-83 { |
|
895 |
+ @include aspect-ratio(8,3,true); |
|
896 |
+ } |
|
897 |
+ &.ratio-43 { |
|
898 |
+ @include aspect-ratio(4,3,true); |
|
899 |
+ } |
|
900 |
+ &.ratio-32 { |
|
901 |
+ @include aspect-ratio(3,2,true); |
|
902 |
+ } |
|
850 | 903 |
|
851 | 904 |
/*&:not(.video_container) { |
852 | 905 |
position: absolute; |
... | ... |
@@ -875,15 +928,15 @@ $shadow-color: #fff; |
875 | 928 |
} |
876 | 929 |
|
877 | 930 |
.hero-content { |
878 |
- height: 100%; |
|
879 |
- position: absolute; |
|
880 |
- left: 0; |
|
881 |
- top: 0; |
|
882 |
- bottom: 0; |
|
883 |
- right: 0; |
|
884 |
- display: flex; |
|
885 |
- align-items: center; |
|
886 |
- justify-content: center; |
|
931 |
+ height: 100%; |
|
932 |
+ position: absolute; |
|
933 |
+ left: 0; |
|
934 |
+ top: 0; |
|
935 |
+ bottom: 0; |
|
936 |
+ right: 0; |
|
937 |
+ display: flex; |
|
938 |
+ align-items: center; |
|
939 |
+ justify-content: center; |
|
887 | 940 |
} |
888 | 941 |
|
889 | 942 |
.hero-text { |
... | ... |
@@ -899,6 +952,15 @@ $shadow-color: #fff; |
899 | 952 |
font-weight: 700; |
900 | 953 |
text-transform: uppercase; |
901 | 954 |
color: $color-text-invert; |
955 |
+ |
|
956 |
+ .-fs-medium& { |
|
957 |
+ font-size: font-size(32px); |
|
958 |
+ |
|
959 |
+ } |
|
960 |
+ .-fs-small& { |
|
961 |
+ font-size: font-size(27px); |
|
962 |
+ |
|
963 |
+ } |
|
902 | 964 |
} |
903 | 965 |
|
904 | 966 |
.-arrow& svg.arrow { |
... | ... |
@@ -1724,6 +1724,22 @@ $shadow-color: #fff; |
1724 | 1724 |
flex-direction: column; |
1725 | 1725 |
justify-content: flex-start; |
1726 | 1726 |
|
1727 |
+ &.-alt-color { |
|
1728 |
+ background-color: $color-bg-lightplatin; |
|
1729 |
+ } |
|
1730 |
+ &.-alt-color2 { |
|
1731 |
+ background-color: $color-bg-footer; |
|
1732 |
+ |
|
1733 |
+ &, |
|
1734 |
+ h1,h2,h3,h4,h5,h6 { |
|
1735 |
+ color: $color-text-footer; |
|
1736 |
+ |
|
1737 |
+ } |
|
1738 |
+ } |
|
1739 |
+ &.-alt-color3 { |
|
1740 |
+ background-color: $color-bg-footer2; |
|
1741 |
+ } |
|
1742 |
+ |
|
1727 | 1743 |
&.-valign-center { |
1728 | 1744 |
justify-content: center; |
1729 | 1745 |
} |
... | ... |
@@ -1889,4 +1905,31 @@ $shadow-color: #fff; |
1889 | 1905 |
font-size: font-size(50px); |
1890 | 1906 |
} |
1891 | 1907 |
} |
1908 |
+ |
|
1909 |
+ &.is-animated { |
|
1910 |
+ .media-col, |
|
1911 |
+ .content-col { |
|
1912 |
+ opacity: 0; |
|
1913 |
+ visibility: hidden; |
|
1914 |
+ @include transition(opacity 0.6s 0.25s linear, transform 0.6s 0.25s ease-out); |
|
1915 |
+ } |
|
1916 |
+ .media-col { |
|
1917 |
+ @include transform(translate3d(0,50px,0)); |
|
1918 |
+ } |
|
1919 |
+ .content-col { |
|
1920 |
+ @include transform(translate3d(50px,0,0)); |
|
1921 |
+ .-text-left& { |
|
1922 |
+ @include transform(translate3d(-50px,0,0)); |
|
1923 |
+ } |
|
1924 |
+ } |
|
1925 |
+ |
|
1926 |
+ &.-in-view { |
|
1927 |
+ .media-col, |
|
1928 |
+ .content-col { |
|
1929 |
+ opacity: 1; |
|
1930 |
+ visibility: visible; |
|
1931 |
+ @include transform(translate3d(0,0,0)); |
|
1932 |
+ } |
|
1933 |
+ } |
|
1934 |
+ } |
|
1892 | 1935 |
} |
... | ... |
@@ -25,43 +25,20 @@ |
25 | 25 |
display: table; |
26 | 26 |
clear: both; |
27 | 27 |
} |
28 |
- &.-alt-color, |
|
28 |
+ &.-alt-color { |
|
29 |
+ background-color: $color-bg-lightplatin; |
|
30 |
+ } |
|
29 | 31 |
&.-alt-color2 { |
30 |
- color: $color-text-invert; |
|
32 |
+ background-color: $color-bg-footer; |
|
31 | 33 |
|
34 |
+ &, |
|
32 | 35 |
h1,h2,h3,h4,h5,h6 { |
33 |
- color: $color-headline-invert; |
|
34 |
- } |
|
35 |
- } |
|
36 |
- &.-alt-color { |
|
37 |
- background-color: $color-bg-secondary; |
|
36 |
+ color: $color-text-footer; |
|
38 | 37 |
|
39 |
- a { |
|
40 |
- color: $color-bg-tertiary; |
|
41 |
- |
|
42 |
- &:hover { |
|
43 |
- color: mix($color-bg-tertiary,#fff,70%); |
|
44 |
- } |
|
45 |
- } |
|
46 |
- |
|
47 |
- .ce_text { |
|
48 |
- a[target="_blank"]:not(.button):not(.-ico-dl) { |
|
49 |
- &:before { |
|
50 |
- background: $color-bg-tertiary; |
|
51 |
- } |
|
52 |
- &:hover { |
|
53 |
- &:before { |
|
54 |
- background: mix($color-bg-tertiary, #fff, 80%); |
|
55 |
- } |
|
56 |
- } |
|
57 |
- } |
|
58 | 38 |
} |
59 | 39 |
} |
60 |
- &.-alt-color2 { |
|
61 |
- background-color: $color-bg-tertiary; |
|
62 |
- } |
|
63 | 40 |
&.-alt-color3 { |
64 |
- background-color: $color-bg-lightgrey; |
|
41 |
+ background-color: $color-bg-footer2; |
|
65 | 42 |
} |
66 | 43 |
&.-small > .background-wrapper-helper > .background-wrapper-inner { |
67 | 44 |
min-height: 250px; |
... | ... |
@@ -1743,15 +1720,22 @@ $shadow-color: #fff; |
1743 | 1720 |
******************/ |
1744 | 1721 |
.feature-wrapper { |
1745 | 1722 |
|
1723 |
+ display: flex; |
|
1724 |
+ flex-direction: column; |
|
1725 |
+ justify-content: flex-start; |
|
1726 |
+ |
|
1746 | 1727 |
&.-valign-center { |
1747 |
- min-height: 100vh; |
|
1748 |
- display: flex; |
|
1749 |
- flex-direction: column; |
|
1728 |
+ justify-content: center; |
|
1729 |
+ } |
|
1730 |
+ &.-valign-top { |
|
1750 | 1731 |
justify-content: flex-start; |
1732 |
+ } |
|
1733 |
+ &.-valign-bottom { |
|
1734 |
+ justify-content: flex-end; |
|
1735 |
+ } |
|
1751 | 1736 |
|
1752 |
- .feature-wrapper-boundary { |
|
1753 |
- width: 100%; |
|
1754 |
- } |
|
1737 |
+ &.-viewportHeight { |
|
1738 |
+ min-height: 100vh; |
|
1755 | 1739 |
|
1756 | 1740 |
/*> .background-wrapper-helper { |
1757 | 1741 |
display: flex; |
... | ... |
@@ -1767,13 +1751,18 @@ $shadow-color: #fff; |
1767 | 1751 |
} |
1768 | 1752 |
|
1769 | 1753 |
.feature-wrapper-boundary { |
1770 |
- @include centered() |
|
1754 |
+ @include centered(); |
|
1755 |
+ width: 100%; |
|
1771 | 1756 |
} |
1772 | 1757 |
|
1773 | 1758 |
.feature-wrapper-cols { |
1774 | 1759 |
display: flex; |
1775 | 1760 |
align-items: stretch; |
1776 | 1761 |
|
1762 |
+ .-text-left& { |
|
1763 |
+ flex-direction: row-reverse; |
|
1764 |
+ } |
|
1765 |
+ |
|
1777 | 1766 |
.media-col, |
1778 | 1767 |
.content-col { |
1779 | 1768 |
flex: 0 1 50%; |
... | ... |
@@ -1781,9 +1770,14 @@ $shadow-color: #fff; |
1781 | 1770 |
} |
1782 | 1771 |
|
1783 | 1772 |
.media-col-content { |
1773 |
+ height: 100%; |
|
1784 | 1774 |
display: flex; |
1785 | 1775 |
flex-direction: column; |
1786 | 1776 |
|
1777 |
+ .-valign-center& { |
|
1778 |
+ justify-content: center; |
|
1779 |
+ } |
|
1780 |
+ |
|
1787 | 1781 |
> * { |
1788 | 1782 |
width: 100%; |
1789 | 1783 |
flex: 0 0 auto; |
... | ... |
@@ -1799,12 +1793,15 @@ $shadow-color: #fff; |
1799 | 1793 |
top: 0; |
1800 | 1794 |
right: 0; |
1801 | 1795 |
bottom: 0;*/ |
1802 |
- min-height: 50vh; |
|
1803 | 1796 |
max-height: 66.666vh; |
1797 |
+ |
|
1798 |
+ :not(.-valign-center)& { |
|
1799 |
+ min-height: 50vh; |
|
1800 |
+ } |
|
1804 | 1801 |
} |
1805 | 1802 |
} |
1806 | 1803 |
|
1807 |
- .feature-image { |
|
1804 |
+ :not(.-valign-center)&.feature-image { |
|
1808 | 1805 |
flex: 1 1 auto; |
1809 | 1806 |
} |
1810 | 1807 |
|
... | ... |
@@ -1814,6 +1811,16 @@ $shadow-color: #fff; |
1814 | 1811 |
} |
1815 | 1812 |
|
1816 | 1813 |
.feature-link { |
1814 |
+ text-align: left; |
|
1815 |
+ padding-top: 30px; |
|
1816 |
+ |
|
1817 |
+ &.-alignCenter { |
|
1818 |
+ text-align: center; |
|
1819 |
+ } |
|
1820 |
+ &.-alignRight { |
|
1821 |
+ text-align: right; |
|
1822 |
+ } |
|
1823 |
+ |
|
1817 | 1824 |
a { |
1818 | 1825 |
font-size: 1.25em; |
1819 | 1826 |
text-transform: uppercase; |
... | ... |
@@ -1821,6 +1828,28 @@ $shadow-color: #fff; |
1821 | 1828 |
font-family: $font-family-alternate; |
1822 | 1829 |
letter-spacing: 0.05em; |
1823 | 1830 |
|
1831 |
+ span { |
|
1832 |
+ display: inline; |
|
1833 |
+ position: relative; |
|
1834 |
+ |
|
1835 |
+ &:last-child { |
|
1836 |
+ padding-bottom: 0.3em; |
|
1837 |
+ |
|
1838 |
+ &:after { |
|
1839 |
+ position: absolute; |
|
1840 |
+ left: 0; |
|
1841 |
+ width: 100%; |
|
1842 |
+ height: 0; |
|
1843 |
+ @include border-radius(99em); |
|
1844 |
+ border-color: inherit; |
|
1845 |
+ content: ""; |
|
1846 |
+ bottom: -0.15em; |
|
1847 |
+ border-bottom-width: 6px; |
|
1848 |
+ border-bottom-style: solid; |
|
1849 |
+ } |
|
1850 |
+ } |
|
1851 |
+ } |
|
1852 |
+ |
|
1824 | 1853 |
&:before { |
1825 | 1854 |
content: ''; |
1826 | 1855 |
width: .5em; |
... | ... |
@@ -1847,4 +1876,17 @@ $shadow-color: #fff; |
1847 | 1876 |
} |
1848 | 1877 |
} |
1849 | 1878 |
} |
1879 |
+ |
|
1880 |
+ .content-col-inside { |
|
1881 |
+ padding: 160px 0 0 30px; |
|
1882 |
+ |
|
1883 |
+ .-text-left& { |
|
1884 |
+ padding-left: 0; |
|
1885 |
+ padding-right: 30px; |
|
1886 |
+ } |
|
1887 |
+ |
|
1888 |
+ h1, h2 { |
|
1889 |
+ font-size: font-size(50px); |
|
1890 |
+ } |
|
1891 |
+ } |
|
1850 | 1892 |
} |
... | ... |
@@ -1735,4 +1735,116 @@ $shadow-color: #fff; |
1735 | 1735 |
} |
1736 | 1736 |
} |
1737 | 1737 |
|
1738 |
-} |
|
1739 | 1738 |
\ No newline at end of file |
1739 |
+} |
|
1740 |
+ |
|
1741 |
+ |
|
1742 |
+/****************** |
|
1743 |
+ * Featured Block |
|
1744 |
+ ******************/ |
|
1745 |
+.feature-wrapper { |
|
1746 |
+ |
|
1747 |
+ &.-valign-center { |
|
1748 |
+ min-height: 100vh; |
|
1749 |
+ display: flex; |
|
1750 |
+ flex-direction: column; |
|
1751 |
+ justify-content: flex-start; |
|
1752 |
+ |
|
1753 |
+ .feature-wrapper-boundary { |
|
1754 |
+ width: 100%; |
|
1755 |
+ } |
|
1756 |
+ |
|
1757 |
+ /*> .background-wrapper-helper { |
|
1758 |
+ display: flex; |
|
1759 |
+ align-items: center; |
|
1760 |
+ height: 100%; |
|
1761 |
+ width: 100%; |
|
1762 |
+ |
|
1763 |
+ > .background-wrapper-inner { |
|
1764 |
+ flex: 0 0 auto; |
|
1765 |
+ width: 100%; |
|
1766 |
+ } |
|
1767 |
+ }*/ |
|
1768 |
+ } |
|
1769 |
+ |
|
1770 |
+ .feature-wrapper-boundary { |
|
1771 |
+ @include centered() |
|
1772 |
+ } |
|
1773 |
+ |
|
1774 |
+ .feature-wrapper-cols { |
|
1775 |
+ display: flex; |
|
1776 |
+ align-items: stretch; |
|
1777 |
+ |
|
1778 |
+ .media-col, |
|
1779 |
+ .content-col { |
|
1780 |
+ flex: 0 1 50%; |
|
1781 |
+ } |
|
1782 |
+ } |
|
1783 |
+ |
|
1784 |
+ .media-col-content { |
|
1785 |
+ display: flex; |
|
1786 |
+ flex-direction: column; |
|
1787 |
+ |
|
1788 |
+ > * { |
|
1789 |
+ width: 100%; |
|
1790 |
+ flex: 0 0 auto; |
|
1791 |
+ } |
|
1792 |
+ |
|
1793 |
+ .feature-video, |
|
1794 |
+ .feature-image { |
|
1795 |
+ picture, |
|
1796 |
+ img, |
|
1797 |
+ video { |
|
1798 |
+ /*position: absolute; |
|
1799 |
+ left: 0; |
|
1800 |
+ top: 0; |
|
1801 |
+ right: 0; |
|
1802 |
+ bottom: 0;*/ |
|
1803 |
+ min-height: 50vh; |
|
1804 |
+ max-height: 66.666vh; |
|
1805 |
+ } |
|
1806 |
+ } |
|
1807 |
+ |
|
1808 |
+ .feature-image { |
|
1809 |
+ flex: 1 1 auto; |
|
1810 |
+ } |
|
1811 |
+ |
|
1812 |
+ .feature-video { |
|
1813 |
+ object-fit: cover; |
|
1814 |
+ font-family: 'object-fit: cover'; |
|
1815 |
+ } |
|
1816 |
+ |
|
1817 |
+ .feature-link { |
|
1818 |
+ a { |
|
1819 |
+ font-size: 1.25em; |
|
1820 |
+ text-transform: uppercase; |
|
1821 |
+ font-weight: 700; |
|
1822 |
+ font-family: $font-family-alternate; |
|
1823 |
+ letter-spacing: 0.05em; |
|
1824 |
+ |
|
1825 |
+ &:before { |
|
1826 |
+ content: ''; |
|
1827 |
+ width: .5em; |
|
1828 |
+ height: 1em; |
|
1829 |
+ display: inline-block; |
|
1830 |
+ position: relative; |
|
1831 |
+ background: $color-link; |
|
1832 |
+ background: currentColor; |
|
1833 |
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 62 123' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cpath d='M60.32,65.45c1.409,-2.509 1.409,-5.581 0,-8.09l-36.13,-54.92c-1.41,-2.31 -5.08,-3.18 -7.05,-1.74l-15,7c-2.22,1.39 -2.78,5.14 -1.37,7.46l30.23,46.24l-29.95,45.67c-1.69,2.6 -0.84,6.36 0.85,7.52l15.24,7.22c2.25,1.45 5.64,0.29 7.05,-1.73l36.13,-54.63Z' style='fill:%23#{str-replace($color-bg-secondary,'#','')};fill-rule:nonzero;'/%3E%3C/svg%3E"); |
|
1834 |
+ mask-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 62 123' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cpath d='M60.32,65.45c1.409,-2.509 1.409,-5.581 0,-8.09l-36.13,-54.92c-1.41,-2.31 -5.08,-3.18 -7.05,-1.74l-15,7c-2.22,1.39 -2.78,5.14 -1.37,7.46l30.23,46.24l-29.95,45.67c-1.69,2.6 -0.84,6.36 0.85,7.52l15.24,7.22c2.25,1.45 5.64,0.29 7.05,-1.73l36.13,-54.63Z' style='fill:%23#{str-replace($color-bg-secondary,'#','')};fill-rule:nonzero;'/%3E%3C/svg%3E"); |
|
1835 |
+ -webkit-mask-repeat: no-repeat; |
|
1836 |
+ mask-repeat: no-repeat; |
|
1837 |
+ vertical-align: middle; |
|
1838 |
+ margin-right: 10px; |
|
1839 |
+ @include transition(all 0.2s ease); |
|
1840 |
+ } |
|
1841 |
+ |
|
1842 |
+ &:hover { |
|
1843 |
+ &:before { |
|
1844 |
+ background: mix($color-link,#000,80%); |
|
1845 |
+ @include transform(translateX(5px)); |
|
1846 |
+ } |
|
1847 |
+ } |
|
1848 |
+ } |
|
1849 |
+ } |
|
1850 |
+ } |
|
1851 |
+} |
... | ... |
@@ -1556,4 +1556,183 @@ $shadow-color: #fff; |
1556 | 1556 |
} |
1557 | 1557 |
} |
1558 | 1558 |
} |
1559 |
+} |
|
1560 |
+ |
|
1561 |
+/** |
|
1562 |
+ * PHOTO / TEXT COMBI |
|
1563 |
+ */ |
|
1564 |
+.photo-text-wrapper { |
|
1565 |
+ position: relative; |
|
1566 |
+ |
|
1567 |
+ .photo-text-wrapper-background { |
|
1568 |
+ @extend .background-wrapper-background; |
|
1569 |
+ } |
|
1570 |
+ |
|
1571 |
+ &.-valign-center { |
|
1572 |
+ min-height: 100vh; |
|
1573 |
+ display: flex; |
|
1574 |
+ flex-direction: column; |
|
1575 |
+ justify-content: center; |
|
1576 |
+ > .text-wall { |
|
1577 |
+ flex: 0 0 auto; |
|
1578 |
+ width: 100%; |
|
1579 |
+ } |
|
1580 |
+ |
|
1581 |
+ &.-valignTop { |
|
1582 |
+ justify-content: flex-start; |
|
1583 |
+ } |
|
1584 |
+ &.-valignBottom { |
|
1585 |
+ justify-content: flex-end; |
|
1586 |
+ } |
|
1587 |
+ } |
|
1588 |
+ |
|
1589 |
+ .photo-wall { |
|
1590 |
+ position: absolute; |
|
1591 |
+ //margin-left: $gutter-default; |
|
1592 |
+ left: 50%-$gutter-default/2; |
|
1593 |
+ right: 0; |
|
1594 |
+ top: 0; |
|
1595 |
+ height: 100%; |
|
1596 |
+ |
|
1597 |
+ &-content { |
|
1598 |
+ height: 100%; |
|
1599 |
+ overflow: hidden; |
|
1600 |
+ background: 50% 50% no-repeat; |
|
1601 |
+ background-size: cover; |
|
1602 |
+ } |
|
1603 |
+ } |
|
1604 |
+ .text-wall { |
|
1605 |
+ @include centered-1200; |
|
1606 |
+ |
|
1607 |
+ &-content { |
|
1608 |
+ max-width: 50%; |
|
1609 |
+ margin-right: auto; |
|
1610 |
+ -webkit-box-sizing: border-box; |
|
1611 |
+ -moz-box-sizing: border-box; |
|
1612 |
+ box-sizing: border-box; |
|
1613 |
+ padding-right: 75px; |
|
1614 |
+ |
|
1615 |
+ .-bg-dark& { |
|
1616 |
+ &, |
|
1617 |
+ h1,h2,h3,h4,h5,h6 { |
|
1618 |
+ color: $color-text-invert; |
|
1619 |
+ } |
|
1620 |
+ } |
|
1621 |
+ |
|
1622 |
+ &.-padding { |
|
1623 |
+ padding: $gutter-default*2 0; |
|
1624 |
+ } |
|
1625 |
+ &.-medium-padding { |
|
1626 |
+ padding: 50px 0; |
|
1627 |
+ } |
|
1628 |
+ &.-large-padding { |
|
1629 |
+ padding: 100px 0; |
|
1630 |
+ } |
|
1631 |
+ |
|
1632 |
+ &.-padding-top { |
|
1633 |
+ padding: $gutter-default*2 0 0; |
|
1634 |
+ } |
|
1635 |
+ &.-medium-padding-top { |
|
1636 |
+ padding: 50px 0 0; |
|
1637 |
+ } |
|
1638 |
+ &.-large-padding-top { |
|
1639 |
+ padding: 100px 0 0; |
|
1640 |
+ } |
|
1641 |
+ |
|
1642 |
+ &.-padding-bottom { |
|
1643 |
+ padding: 0 0 $gutter-default*2; |
|
1644 |
+ } |
|
1645 |
+ &.-medium-padding-bottom { |
|
1646 |
+ padding: 0 0 50px; |
|
1647 |
+ } |
|
1648 |
+ &.-large-padding-bottom { |
|
1649 |
+ padding: 0 0 100px; |
|
1650 |
+ } |
|
1651 |
+ } |
|
1652 |
+ } |
|
1653 |
+ |
|
1654 |
+ &.-alt-color { |
|
1655 |
+ background-color: $color-bg-secondary; |
|
1656 |
+ |
|
1657 |
+ /*&, |
|
1658 |
+ h1,h2,h3,h4,h5,h6 { |
|
1659 |
+ color: $color-headline-invert; |
|
1660 |
+ }*/ |
|
1661 |
+ } |
|
1662 |
+ |
|
1663 |
+ &.-bg-dark { |
|
1664 |
+ background-color: #000; |
|
1665 |
+ } |
|
1666 |
+ |
|
1667 |
+ &.-text-right { |
|
1668 |
+ .photo-wall { |
|
1669 |
+ margin-left: 0; |
|
1670 |
+ margin-right: $gutter-default; |
|
1671 |
+ left: 0; |
|
1672 |
+ right: 50%-$gutter-default/2; |
|
1673 |
+ } |
|
1674 |
+ |
|
1675 |
+ .text-wall { |
|
1676 |
+ &-content { |
|
1677 |
+ margin-right: 0; |
|
1678 |
+ margin-left: auto; |
|
1679 |
+ padding-right: 0; |
|
1680 |
+ padding-left: 75px; |
|
1681 |
+ } |
|
1682 |
+ } |
|
1683 |
+ } |
|
1684 |
+ |
|
1685 |
+ @media screen and (max-width: 800px) { |
|
1686 |
+ .photo-wall { |
|
1687 |
+ margin-left: 60px; |
|
1688 |
+ } |
|
1689 |
+ |
|
1690 |
+ .text-wall { |
|
1691 |
+ &-content { |
|
1692 |
+ padding-right: 0; |
|
1693 |
+ } |
|
1694 |
+ } |
|
1695 |
+ |
|
1696 |
+ &.-text-right { |
|
1697 |
+ .photo-wall { |
|
1698 |
+ margin-right: 60px; |
|
1699 |
+ } |
|
1700 |
+ |
|
1701 |
+ .text-wall { |
|
1702 |
+ &-content { |
|
1703 |
+ padding-left: 0; |
|
1704 |
+ } |
|
1705 |
+ } |
|
1706 |
+ } |
|
1707 |
+ } |
|
1708 |
+ |
|
1709 |
+ @media screen and (max-width: 599px) { |
|
1710 |
+ .photo-wall { |
|
1711 |
+ position: relative; |
|
1712 |
+ right: auto; |
|
1713 |
+ left: auto; |
|
1714 |
+ top: auto; |
|
1715 |
+ margin: 0 0 15px; |
|
1716 |
+ padding: 15px 15px 0; |
|
1717 |
+ } |
|
1718 |
+ |
|
1719 |
+ .photo-wall-content { |
|
1720 |
+ min-height: 66vw; |
|
1721 |
+ } |
|
1722 |
+ |
|
1723 |
+ .text-wall { |
|
1724 |
+ &-content { |
|
1725 |
+ padding-right: 0; |
|
1726 |
+ max-width: none; |
|
1727 |
+ } |
|
1728 |
+ } |
|
1729 |
+ |
|
1730 |
+ &.-text-right { |
|
1731 |
+ .photo-wall { |
|
1732 |
+ margin-right: 0; |
|
1733 |
+ right: 0; |
|
1734 |
+ } |
|
1735 |
+ } |
|
1736 |
+ } |
|
1737 |
+ |
|
1559 | 1738 |
} |
1560 | 1739 |
\ No newline at end of file |
... | ... |
@@ -922,24 +922,6 @@ $shadow-color: #fff; |
922 | 922 |
font-weight: 700; |
923 | 923 |
text-transform: uppercase; |
924 | 924 |
color: $color-text-invert; |
925 |
- |
|
926 |
- > * { |
|
927 |
- display: inline; |
|
928 |
- position: relative; |
|
929 |
- &:last-child { |
|
930 |
- padding-bottom: 0.3em; |
|
931 |
- &:after { |
|
932 |
- position:absolute; |
|
933 |
- left:0; |
|
934 |
- bottom: -0.15em; |
|
935 |
- width:100%; |
|
936 |
- height:0; |
|
937 |
- @include border-radius(99em); |
|
938 |
- border-bottom:10px solid $color-white; |
|
939 |
- content:"" |
|
940 |
- } |
|
941 |
- } |
|
942 |
- } |
|
943 | 925 |
} |
944 | 926 |
|
945 | 927 |
.-arrow& svg.arrow { |
... | ... |
@@ -922,6 +922,24 @@ $shadow-color: #fff; |
922 | 922 |
font-weight: 700; |
923 | 923 |
text-transform: uppercase; |
924 | 924 |
color: $color-text-invert; |
925 |
+ |
|
926 |
+ > * { |
|
927 |
+ display: inline; |
|
928 |
+ position: relative; |
|
929 |
+ &:last-child { |
|
930 |
+ padding-bottom: 0.3em; |
|
931 |
+ &:after { |
|
932 |
+ position:absolute; |
|
933 |
+ left:0; |
|
934 |
+ bottom: -0.15em; |
|
935 |
+ width:100%; |
|
936 |
+ height:0; |
|
937 |
+ @include border-radius(99em); |
|
938 |
+ border-bottom:10px solid $color-white; |
|
939 |
+ content:"" |
|
940 |
+ } |
|
941 |
+ } |
|
942 |
+ } |
|
925 | 943 |
} |
926 | 944 |
|
927 | 945 |
.-arrow& svg.arrow { |
... | ... |
@@ -97,6 +97,25 @@ |
97 | 97 |
&.-full-vh > .background-wrapper-helper { |
98 | 98 |
min-height: 100vh; |
99 | 99 |
display: flex; |
100 |
+ flex-direction: column; |
|
101 |
+ //justify-content: center; |
|
102 |
+ > .background-wrapper-inner { |
|
103 |
+ flex: 0 0 auto; |
|
104 |
+ width: 100%; |
|
105 |
+ } |
|
106 |
+ |
|
107 |
+ .-va-top& { |
|
108 |
+ justify-content: flex-start; |
|
109 |
+ } |
|
110 |
+ .-va-middle& { |
|
111 |
+ justify-content: center; |
|
112 |
+ } |
|
113 |
+ .-va-bottom& { |
|
114 |
+ justify-content: flex-end; |
|
115 |
+ } |
|
116 |
+ |
|
117 |
+ /*min-height: 100vh; |
|
118 |
+ display: flex; |
|
100 | 119 |
align-items: stretch; |
101 | 120 |
width: 100%; |
102 | 121 |
-webkit-box-sizing: border-box; |
... | ... |
@@ -119,7 +138,7 @@ |
119 | 138 |
flex: 0 0 auto; |
120 | 139 |
} |
121 | 140 |
} |
122 |
- } |
|
141 |
+ }*/ |
|
123 | 142 |
} |
124 | 143 |
|
125 | 144 |
&.-full-vh-header > .background-wrapper-helper { |
... | ... |
@@ -141,7 +160,7 @@ |
141 | 160 |
|
142 | 161 |
} |
143 | 162 |
|
144 |
- &.-valign-center { |
|
163 |
+ /*&.-valign-center { |
|
145 | 164 |
min-height: 100vh; |
146 | 165 |
display: flex; |
147 | 166 |
flex-direction: column; |
... | ... |
@@ -157,7 +176,7 @@ |
157 | 176 |
width: 100%; |
158 | 177 |
} |
159 | 178 |
} |
160 |
- } |
|
179 |
+ }*/ |
|
161 | 180 |
|
162 | 181 |
&.-shadow { |
163 | 182 |
-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.9); |
... | ... |
@@ -891,14 +910,17 @@ $shadow-color: #fff; |
891 | 910 |
} |
892 | 911 |
|
893 | 912 |
.hero-text { |
894 |
- width: 100%; |
|
895 |
- text-align: center; |
|
913 |
+ display: inline-block; |
|
914 |
+ max-width: 100%; |
|
915 |
+ text-align: left; |
|
896 | 916 |
margin: 0; |
897 | 917 |
line-height: 1.3; |
898 | 918 |
font-family: $font-family-alternate; |
899 |
- font-size: font-size(60px); |
|
900 |
- text-shadow: $text-shadow-image; |
|
901 |
- font-weight: 400; |
|
919 |
+ font-size: font-size(40px); |
|
920 |
+ //text-shadow: $text-shadow-image; |
|
921 |
+ letter-spacing: 0.15em; |
|
922 |
+ font-weight: 700; |
|
923 |
+ text-transform: uppercase; |
|
902 | 924 |
color: $color-text-invert; |
903 | 925 |
} |
904 | 926 |
|
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,1537 @@ |
1 |
+@if not-imported("import_once_func") { @import "import_once_func"; } |
|
2 |
+@if not-imported("framework") { @import "framework"; } |
|
3 |
+/** |
|
4 |
+ * Custom Elements |
|
5 |
+ */ |
|
6 |
+ |
|
7 |
+ |
|
8 |
+/** |
|
9 |
+ * WRAPPER |
|
10 |
+ */ |
|
11 |
+.background-wrapper { |
|
12 |
+ zoom: 1; |
|
13 |
+ position: relative; |
|
14 |
+ clear: both; |
|
15 |
+ background: 50% 50% no-repeat; |
|
16 |
+ background-size: cover; |
|
17 |
+ overflow: hidden; |
|
18 |
+ |
|
19 |
+ &:before { |
|
20 |
+ content: ""; |
|
21 |
+ display: table; |
|
22 |
+ } |
|
23 |
+ &:after { |
|
24 |
+ content: ""; |
|
25 |
+ display: table; |
|
26 |
+ clear: both; |
|
27 |
+ } |
|
28 |
+ &.-alt-color, |
|
29 |
+ &.-alt-color2 { |
|
30 |
+ color: $color-text-invert; |
|
31 |
+ |
|
32 |
+ h1,h2,h3,h4,h5,h6 { |
|
33 |
+ color: $color-headline-invert; |
|
34 |
+ } |
|
35 |
+ } |
|
36 |
+ &.-alt-color { |
|
37 |
+ background-color: $color-bg-secondary; |
|
38 |
+ |
|
39 |
+ a { |
|
40 |
+ color: $color-bg-tertiary; |
|
41 |
+ |
|
42 |
+ &:hover { |
|
43 |
+ color: mix($color-bg-tertiary,#fff,70%); |
|
44 |
+ } |
|
45 |
+ } |
|
46 |
+ |
|
47 |
+ .ce_text { |
|
48 |
+ a[target="_blank"]:not(.button):not(.-ico-dl) { |
|
49 |
+ &:before { |
|
50 |
+ background: $color-bg-tertiary; |
|
51 |
+ } |
|
52 |
+ &:hover { |
|
53 |
+ &:before { |
|
54 |
+ background: mix($color-bg-tertiary, #fff, 80%); |
|
55 |
+ } |
|
56 |
+ } |
|
57 |
+ } |
|
58 |
+ } |
|
59 |
+ } |
|
60 |
+ &.-alt-color2 { |
|
61 |
+ background-color: $color-bg-tertiary; |
|
62 |
+ } |
|
63 |
+ &.-alt-color3 { |
|
64 |
+ background-color: $color-bg-lightgrey; |
|
65 |
+ } |
|
66 |
+ &.-small > .background-wrapper-helper > .background-wrapper-inner { |
|
67 |
+ min-height: 250px; |
|
68 |
+ } |
|
69 |
+ @media screen and (max-width: 599px) { |
|
70 |
+ &.-small > .background-wrapper-helper > .background-wrapper-inner { |
|
71 |
+ min-height: 150px; |
|
72 |
+ } |
|
73 |
+ } |
|
74 |
+ &.-medium > .background-wrapper-helper > .background-wrapper-inner { |
|
75 |
+ min-height: 450px; |
|
76 |
+ } |
|
77 |
+ @media screen and (max-width: 599px) { |
|
78 |
+ &.-medium > .background-wrapper-helper > .background-wrapper-inner { |
|
79 |
+ min-height: 300px; |
|
80 |
+ } |
|
81 |
+ } |
|
82 |
+ &.-large > .background-wrapper-helper > .background-wrapper-inner { |
|
83 |
+ min-height: 750px; |
|
84 |
+ } |
|
85 |
+ @media screen and (max-width: 599px) { |
|
86 |
+ &.-large > .background-wrapper-helper > .background-wrapper-inner { |
|
87 |
+ min-height: 450px; |
|
88 |
+ } |
|
89 |
+ } |
|
90 |
+ |
|
91 |
+ &.-background-mousemove, |
|
92 |
+ &.-background-mousemove-inverted, |
|
93 |
+ &.-background-parallax { |
|
94 |
+ overflow: hidden; |
|
95 |
+ } |
|
96 |
+ |
|
97 |
+ &.-full-vh > .background-wrapper-helper { |
|
98 |
+ min-height: 100vh; |
|
99 |
+ display: flex; |
|
100 |
+ align-items: stretch; |
|
101 |
+ width: 100%; |
|
102 |
+ -webkit-box-sizing: border-box; |
|
103 |
+ -moz-box-sizing: border-box; |
|
104 |
+ box-sizing: border-box; |
|
105 |
+ |
|
106 |
+ > .background-wrapper-inner { |
|
107 |
+ width: 100%; |
|
108 |
+ //height: 100%; |
|
109 |
+ display: flex; |
|
110 |
+ flex-direction: column; |
|
111 |
+ justify-content: center; |
|
112 |
+ |
|
113 |
+ > * { |
|
114 |
+ flex: 1 0 auto; |
|
115 |
+ } |
|
116 |
+ |
|
117 |
+ .client-showcase & { |
|
118 |
+ > *:last-child { |
|
119 |
+ flex: 0 0 auto; |
|
120 |
+ } |
|
121 |
+ } |
|
122 |
+ } |
|
123 |
+ } |
|
124 |
+ |
|
125 |
+ &.-full-vh-header > .background-wrapper-helper { |
|
126 |
+ height: 90vh; |
|
127 |
+ //height: calc(100vh - #{$header-height}); |
|
128 |
+ //height: 100%; |
|
129 |
+ display: table; |
|
130 |
+ table-layout: fixed; |
|
131 |
+ width: 100%; |
|
132 |
+ -webkit-box-sizing: border-box; |
|
133 |
+ -moz-box-sizing: border-box; |
|
134 |
+ box-sizing: border-box; |
|
135 |
+ |
|
136 |
+ > .background-wrapper-inner { |
|
137 |
+ width: 100%; |
|
138 |
+ height: 100%; |
|
139 |
+ display: table-cell; |
|
140 |
+ } |
|
141 |
+ |
|
142 |
+ } |
|
143 |
+ |
|
144 |
+ &.-valign-center { |
|
145 |
+ min-height: 100vh; |
|
146 |
+ display: flex; |
|
147 |
+ flex-direction: column; |
|
148 |
+ justify-content: center; |
|
149 |
+ > .background-wrapper-helper { |
|
150 |
+ display: flex; |
|
151 |
+ align-items: center; |
|
152 |
+ height: 100%; |
|
153 |
+ width: 100%; |
|
154 |
+ |
|
155 |
+ > .background-wrapper-inner { |
|
156 |
+ flex: 0 0 auto; |
|
157 |
+ width: 100%; |
|
158 |
+ } |
|
159 |
+ } |
|
160 |
+ } |
|
161 |
+ |
|
162 |
+ &.-shadow { |
|
163 |
+ -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.9); |
|
164 |
+ -moz-box-shadow: 0 0 5px 0 rgba(0,0,0,0.9); |
|
165 |
+ box-shadow: 0 0 5px 0 rgba(0,0,0,0.9); |
|
166 |
+ } |
|
167 |
+ |
|
168 |
+ &.-invert { |
|
169 |
+ color: $color-text-invert; |
|
170 |
+ h1, h2, h3, h4, h5, h6 { |
|
171 |
+ color: $color-text-invert; |
|
172 |
+ } |
|
173 |
+ } |
|
174 |
+ &.-text-shadow { |
|
175 |
+ text-shadow: 0 0 5px #fff; |
|
176 |
+ |
|
177 |
+ &.-invert { |
|
178 |
+ text-shadow: 0 0 5px #000; |
|
179 |
+ } |
|
180 |
+ } |
|
181 |
+ |
|
182 |
+ &.-bg-restraint, |
|
183 |
+ .background-wrapper-helper { |
|
184 |
+ @include centered-1200; |
|
185 |
+ /*padding-left: $gutter-default/2; |
|
186 |
+ padding-right: $gutter-default/2;*/ |
|
187 |
+ } |
|
188 |
+ |
|
189 |
+ &.-width-expand > .background-wrapper-helper { |
|
190 |
+ max-width: none; |
|
191 |
+ /*padding-left: 15px; |
|
192 |
+ padding-right: 15px;*/ |
|
193 |
+ .background-wrapper-inner { |
|
194 |
+ > .rs-columns { |
|
195 |
+ margin-top: -30px; |
|
196 |
+ |
|
197 |
+ > .rs-column { |
|
198 |
+ margin-top: 30px; |
|
199 |
+ } |
|
200 |
+ } |
|
201 |
+ } |
|
202 |
+ } |
|
203 |
+} |
|
204 |
+ |
|
205 |
+.background-wrapper-background { |
|
206 |
+ position: absolute; |
|
207 |
+ top: 0; |
|
208 |
+ right: 0; |
|
209 |
+ bottom: 0; |
|
210 |
+ left: 0; |
|
211 |
+ overflow: hidden; |
|
212 |
+ background: 50% 50% no-repeat; |
|
213 |
+ background-size: cover; |
|
214 |
+ |
|
215 |
+ video { |
|
216 |
+ /* Change this to `object-fit: cover;` once all browsers support it, */ |
|
217 |
+ /* see http://stackoverflow.com/a/20851590 */ |
|
218 |
+ position: absolute; |
|
219 |
+ top: 50%; |
|
220 |
+ left: 50%; |
|
221 |
+ min-width: 100%; |
|
222 |
+ min-height: 100%; |
|
223 |
+ -webkit-transform: translate(-50%, -50%); |
|
224 |
+ -moz-transform: translate(-50%, -50%); |
|
225 |
+ -ms-transform: translate(-50%, -50%); |
|
226 |
+ -o-transform: translate(-50%, -50%); |
|
227 |
+ transform: translate(-50%, -50%); |
|
228 |
+ } |
|
229 |
+ |
|
230 |
+ .-background-mousemove > &, .-background-mousemove-inverted > & { |
|
231 |
+ right: -12%; |
|
232 |
+ } |
|
233 |
+} |
|
234 |
+ |
|
235 |
+.background-wrapper-inner { |
|
236 |
+ position: relative; |
|
237 |
+ |
|
238 |
+ /*& { |
|
239 |
+ @include centered-1200; |
|
240 |
+ }*/ |
|
241 |
+ |
|
242 |
+ &.-padding { |
|
243 |
+ padding: $gutter-default*1.5 0; |
|
244 |
+ } |
|
245 |
+ &.-medium-padding { |
|
246 |
+ padding: 50px 0; |
|
247 |
+ } |
|
248 |
+ &.-large-padding { |
|
249 |
+ padding: 100px 0; |
|
250 |
+ } |
|
251 |
+ |
|
252 |
+ &.-padding-top { |
|
253 |
+ padding: $gutter-default*1.5 0 0; |
|
254 |
+ } |
|
255 |
+ &.-medium-padding-top { |
|
256 |
+ padding: 50px 0 0; |
|
257 |
+ } |
|
258 |
+ &.-large-padding-top { |
|
259 |
+ padding: 100px 0 0; |
|
260 |
+ } |
|
261 |
+ |
|
262 |
+ &.-padding-bottom { |
|
263 |
+ padding: 0 0 $gutter-default*1.5; |
|
264 |
+ } |
|
265 |
+ &.-medium-padding-bottom { |
|
266 |
+ padding: 0 0 50px; |
|
267 |
+ } |
|
268 |
+ &.-large-padding-bottom { |
|
269 |
+ padding: 0 0 100px; |
|
270 |
+ } |
|
271 |
+ |
|
272 |
+} |
|
273 |
+ |
|
274 |
+/** |
|
275 |
+ * Reference cards |
|
276 |
+ */ |
|
277 |
+ |
|
278 |
+.ref-cards { |
|
279 |
+ |
|
280 |
+ .rs-columns { |
|
281 |
+ align-items: stretch; |
|
282 |
+ justify-content: space-between; |
|
283 |
+ margin: 0; |
|
284 |
+ } |
|
285 |
+ |
|
286 |
+ .rs-column { |
|
287 |
+ margin: 0; |
|
288 |
+ |
|
289 |
+ @include column-classes(0, 6, large); |
|
290 |
+ @include for-tablet { |
|
291 |
+ @include column-classes(0, 6, medium); |
|
292 |
+ } |
|
293 |
+ @include for-mobile { |
|
294 |
+ @include column-classes(0, 6, small); |
|
295 |
+ } |
|
296 |
+ } |
|
297 |
+ |
|
298 |
+ .ref-card { |
|
299 |
+ display: flex; |
|
300 |
+ flex-direction: row; |
|
301 |
+ align-items: stretch; |
|
302 |
+ min-height: 115px; |
|
303 |
+ position: relative; |
|
304 |
+ @include aspect-ratio(1,1,true); |
|
305 |
+ |
|
306 |
+ &:nth-child(even) { |
|
307 |
+ .ref-card-helper { |
|
308 |
+ background-color: $color-bg-tertiary; |
|
309 |
+ } |
|
310 |
+ } |
|
311 |
+ |
|
312 |
+ .image-wrapper { |
|
313 |
+ position: absolute; |
|
314 |
+ left: 0; |
|
315 |
+ right: 0; |
|
316 |
+ top: 0; |
|
317 |
+ bottom: 0; |
|
318 |
+ overflow: hidden; |
|
319 |
+ z-index: 1; |
|
320 |
+ } |
|
321 |
+ |
|
322 |
+ .ref-card-helper { |
|
323 |
+ position: relative; |
|
324 |
+ flex: 1 1 0; |
|
325 |
+ display: flex; |
|
326 |
+ flex-direction: row; |
|
327 |
+ background-color: $color-bg-secondary; |
|
328 |
+ @include transition(all 1.5s cubic-bezier(0.19, 1, 0.22, 1)); |
|
329 |
+ } |
|
330 |
+ |
|
331 |
+ .ref-card-content { |
|
332 |
+ padding: 15px; |
|
333 |
+ flex: 1 1 0; |
|
334 |
+ align-self: center; |
|
335 |
+ color: $color-text-invert; |
|
336 |
+ |
|
337 |
+ p:last-child { |
|
338 |
+ margin-bottom: 0; |
|
339 |
+ } |
|
340 |
+ } |
|
341 |
+ |
|
342 |
+ .ref-card-headline { |
|
343 |
+ @include headline(font-size(30px)); |
|
344 |
+ text-transform: uppercase; |
|
345 |
+ } |
|
346 |
+ .ref-card-headline, |
|
347 |
+ .ref-card-text { |
|
348 |
+ color: $color-text-invert; |
|
349 |
+ @include transition(all 1.5s cubic-bezier(0.19, 1, 0.22, 1)); |
|
350 |
+ } |
|
351 |
+ |
|
352 |
+ .ref-card-content { |
|
353 |
+ text-align: center; |
|
354 |
+ } |
|
355 |
+ |
|
356 |
+ &.-align-center { |
|
357 |
+ .ref-card-content { |
|
358 |
+ text-align: center; |
|
359 |
+ } |
|
360 |
+ } |
|
361 |
+ .-align-left&, |
|
362 |
+ &.-align-left { |
|
363 |
+ .ref-card-content { |
|
364 |
+ text-align: left; |
|
365 |
+ } |
|
366 |
+ } |
|
367 |
+ .-align-right&, |
|
368 |
+ &.-align-right { |
|
369 |
+ .ref-card-content { |
|
370 |
+ text-align: right; |
|
371 |
+ } |
|
372 |
+ } |
|
373 |
+ |
|
374 |
+ &.-align-middle { |
|
375 |
+ .ref-card-content { |
|
376 |
+ align-self: center; |
|
377 |
+ } |
|
378 |
+ } |
|
379 |
+ .-align-top&, |
|
380 |
+ &.-align-top { |
|
381 |
+ .ref-card-content { |
|
382 |
+ align-self: flex-start; |
|
383 |
+ } |
|
384 |
+ } |
|
385 |
+ .-align-bottom&, |
|
386 |
+ &.-align-bottom { |
|
387 |
+ .ref-card-content { |
|
388 |
+ align-self: flex-end; |
|
389 |
+ } |
|
390 |
+ } |
|
391 |
+ |
|
392 |
+ &.-has-image { |
|
393 |
+ |
|
394 |
+ .image-wrapper { |
|
395 |
+ img { |
|
396 |
+ position: absolute; |
|
397 |
+ left: 50%; |
|
398 |
+ top: 50%; |
|
399 |
+ @include transform(translate(-50%,-50%)); |
|
400 |
+ vertical-align: middle; |
|
401 |
+ } |
|
402 |
+ .normal { |
|
403 |
+ visibility: visible; |
|
404 |
+ opacity: 1; |
|
405 |
+ @include transition(all 0.5s 0.25s cubic-bezier(0.19, 1, 0.22, 1)); |
|
406 |
+ } |
|
407 |
+ .invert { |
|
408 |
+ visibility: hidden; |
|
409 |
+ opacity: 0; |
|
410 |
+ @include transition(all 0.5s cubic-bezier(0.19, 1, 0.22, 1)); |
|
411 |
+ } |
|
412 |
+ } |
|
413 |
+ |
|
414 |
+ .ref-card-link { |
|
415 |
+ overflow: hidden; |
|
416 |
+ z-index: 1; |
|
417 |
+ &:before { |
|
418 |
+ content: ''; |
|
419 |
+ background: $color-bg-secondary; |
|
420 |
+ @include transform(translate(0,-100%)); |
|
421 |
+ @include transition(all 0.25s); |
|
422 |
+ @include transition(all 1.25s cubic-bezier(0.19, 1, 0.22, 1)); |
|
423 |
+ } |
|
424 |
+ |
|
425 |
+ &, |
|
426 |
+ &:before, |
|
427 |
+ a { |
|
428 |
+ position: absolute; |
|
429 |
+ left: 0; |
|
430 |
+ right: 0; |
|
431 |
+ top: 0; |
|
432 |
+ bottom: 0; |
|
433 |
+ } |
|
434 |
+ } |
|
435 |
+ } |
|
436 |
+ |
|
437 |
+ &.-link { |
|
438 |
+ &.-has-image { |
|
439 |
+ .ref-card-link { |
|
440 |
+ a { |
|
441 |
+ span { |
|
442 |
+ position: absolute; |
|
443 |
+ bottom: 15px; |
|
444 |
+ right: 15px; |
|
445 |
+ color: $color-text-invert; |
|
446 |
+ font-size: font-size(20px); |
|
447 |
+ visibility: hidden; |
|
448 |
+ opacity: 0; |
|
449 |
+ @include transition(all 0.25s); |
|
450 |
+ |
|
451 |
+ &:after { |
|
452 |
+ margin-left: 10px; |
|
453 |
+ @include icon('\e99f', 75%); |
|
454 |
+ } |
|
455 |
+ } |
|
456 |
+ } |
|
457 |
+ } |
|
458 |
+ |
|
459 |
+ .image-wrapper { |
|
460 |
+ overflow: hidden; |
|
461 |
+ |
|
462 |
+ img { |
|
463 |
+ //@include transition(all 2.5s cubic-bezier(0.19, 1, 0.22, 1)); |
|
464 |
+ @include transition(all 1.25s cubic-bezier(0.19, 1, 0.22, 1)); |
|
465 |
+ } |
|
466 |
+ } |
|
467 |
+ |
|
468 |
+ &:hover { |
|
469 |
+ |
|
470 |
+ .ref-card-helper { |
|
471 |
+ background-color: $color-bg-primary; |
|
472 |
+ } |
|
473 |
+ |
|
474 |
+ .ref-card-link { |
|
475 |
+ /*&:before { |
|
476 |
+ @include transform(translate(0, 0)); |
|
477 |
+ }*/ |
|
478 |
+ |
|
479 |
+ /*a { |
|
480 |
+ span { |
|
481 |
+ opacity: 1; |
|
482 |
+ visibility: visible; |
|
483 |
+ @include transition(all 1.25s 0.25s); |
|
484 |
+ } |
|
485 |
+ }*/ |
|
486 |
+ } |
|
487 |
+ |
|
488 |
+ .image-wrapper { |
|
489 |
+ .normal { |
|
490 |
+ opacity: 0; |
|
491 |
+ visibility: hidden; |
|
492 |
+ } |
|
493 |
+ .invert { |
|
494 |
+ opacity: 1; |
|
495 |
+ visibility: visible; |
|
496 |
+ filter: grayscale(1); |
|
497 |
+ } |
|
498 |
+ } |
|
499 |
+ |
|
500 |
+ .ref-card-headline, |
|
501 |
+ .ref-card-text { |
|
502 |
+ color: $color-text; |
|
503 |
+ } |
|
504 |
+ } |
|
505 |
+ } |
|
506 |
+ |
|
507 |
+ &:not(.-has-image) { |
|
508 |
+ padding-bottom: 55px; |
|
509 |
+ .ref-card-link { |
|
510 |
+ position: absolute; |
|
511 |
+ bottom: 15px; |
|
512 |
+ right: 15px; |
|
513 |
+ a { |
|
514 |
+ //@include button($border-color: mix($color-bg-blue, #000, 60%), $background-color: $color-bg-blue, $border-color-hover: mix($color-bg-blue, #000, 50%), $background-color-hover: mix($color-bg-blue, #fff, 90%)); |
|
515 |
+ //@include button-no-icon; |
|
516 |
+ font-weight: 700; |
|
517 |
+ &:before { |
|
518 |
+ margin-right: 5px; |
|
519 |
+ @include icon('\e99f', 75%); |
|
520 |
+ } |
|
521 |
+ } |
|
522 |
+ } |
|
523 |
+ } |
|
524 |
+ } |
|
525 |
+ } |
|
526 |
+} |
|
527 |
+ |
|
528 |
+/** |
|
529 |
+ * Feature Text |
|
530 |
+ */ |
|
531 |
+$shadow-color: #fff; |
|
532 |
+.feature-text { |
|
533 |
+ //@include clearfix; |
|
534 |
+ position: relative; |
|
535 |
+ overflow: hidden; |
|
536 |
+ &.-image-centered { |
|
537 |
+ text-align: center; |
|
538 |
+ } |
|
539 |
+ &.-vertical-centered { |
|
540 |
+ display: table; |
|
541 |
+ table-layout: fixed; |
|
542 |
+ /* Fixes IE bug */ |
|
543 |
+ width: 100%; |
|
544 |
+ @include for-mobile { |
|
545 |
+ //display: block; |
|
546 |
+ } |
|
547 |
+ } |
|
548 |
+ &.-small { |
|
549 |
+ min-height: 300px; |
|
550 |
+ &.-vertical-centered { |
|
551 |
+ height: 300px; |
|
552 |
+ } |
|
553 |
+ @include for-mobile { |
|
554 |
+ min-height: 200px; |
|
555 |
+ &.-vertical-centered { |
|
556 |
+ height: auto; |
|
557 |
+ } |
|
558 |
+ } |
|
559 |
+ } |
|
560 |
+ &.-medium { |
|
561 |
+ min-height: 600px; |
|
562 |
+ &.-vertical-centered { |
|
563 |
+ height: 600px; |
|
564 |
+ } |
|
565 |
+ @include for-mobile { |
|
566 |
+ min-height: 400px; |
|
567 |
+ &.-vertical-centered { |
|
568 |
+ height: auto; |
|
569 |
+ } |
|
570 |
+ } |
|
571 |
+ } |
|
572 |
+ &.-large { |
|
573 |
+ min-height: 900px; |
|
574 |
+ &.-vertical-centered { |
|
575 |
+ height: 900px; |
|
576 |
+ } |
|
577 |
+ @include for-mobile { |
|
578 |
+ min-height: 600px; |
|
579 |
+ &.-vertical-centered { |
|
580 |
+ height: auto; |
|
581 |
+ } |
|
582 |
+ } |
|
583 |
+ } |
|
584 |
+ &.-headline-dropshadow { |
|
585 |
+ h1, h2, h3, h4, h5, h6 { |
|
586 |
+ color: $color-text-invert; |
|
587 |
+ text-shadow: $text-shadow-image; |
|
588 |
+ } |
|
589 |
+ } |
|
590 |
+ &.-alternate-text { |
|
591 |
+ .feature-text-text { |
|
592 |
+ color: $color-text; |
|
593 |
+ } |
|
594 |
+ &.-headline-dropshadow { |
|
595 |
+ h1, h2, h3, h4, h5, h6 { |
|
596 |
+ color: $color-headline; |
|
597 |
+ } |
|
598 |
+ } |
|
599 |
+ } |
|
600 |
+} |
|
601 |
+ |
|
602 |
+.feature-text-text { |
|
603 |
+ margin: font-size(100px) col(12, 25) font-size(100px) 0; |
|
604 |
+ color: $color-text-invert; |
|
605 |
+ @include for-tablet { |
|
606 |
+ margin-right: col(6, 16); |
|
607 |
+ } |
|
608 |
+ |
|
609 |
+ @include for-mobile { |
|
610 |
+ margin: font-size(36px) 0; |
|
611 |
+ } |
|
612 |
+ |
|
613 |
+ .-image-left > & { |
|
614 |
+ margin-right: 0; |
|
615 |
+ margin-left: col(12, 25); |
|
616 |
+ @include for-tablet { |
|
617 |
+ margin-left: col(6, 16); |
|
618 |
+ } |
|
619 |
+ |
|
620 |
+ @include for-mobile { |
|
621 |
+ margin-left: 0; |
|
622 |
+ } |
|
623 |
+ } |
|
624 |
+ .-image-centered > & { |
|
625 |
+ margin-right: col(4, 25); |
|
626 |
+ margin-left: col(4, 25); |
|
627 |
+ @include for-tablet { |
|
628 |
+ margin-right: 0; |
|
629 |
+ margin-left: 0; |
|
630 |
+ } |
|
631 |
+ |
|
632 |
+ + .feature-text-image { |
|
633 |
+ margin-top: font-size(-36px); |
|
634 |
+ @include for-mobile { |
|
635 |
+ margin-top: 0; |
|
636 |
+ } |
|
637 |
+ } |
|
638 |
+ } |
|
639 |
+ .-vertical-centered > & { |
|
640 |
+ display: table-cell; |
|
641 |
+ vertical-align: middle; |
|
642 |
+ width: col(14, 25); |
|
643 |
+ margin: 0; |
|
644 |
+ padding: font-size(72px) col(1, 25) font-size(72px) 0; |
|
645 |
+ @include for-tablet { |
|
646 |
+ width: col(11, 16); |
|
647 |
+ } |
|
648 |
+ |
|
649 |
+ @include for-mobile { |
|
650 |
+ //display: block; |
|
651 |
+ width: auto; |
|
652 |
+ padding-right: 0; |
|
653 |
+ } |
|
654 |
+ } |
|
655 |
+ .-vertical-centered.-image-left > & { |
|
656 |
+ padding-right: 0; |
|
657 |
+ padding-left: col(1, 25); |
|
658 |
+ @include for-mobile { |
|
659 |
+ padding-left: 0; |
|
660 |
+ } |
|
661 |
+ } |
|
662 |
+ .-vertical-centered.-image-centered > & { |
|
663 |
+ width: 100%; |
|
664 |
+ padding-right: col(5, 25); |
|
665 |
+ padding-left: col(5, 25); |
|
666 |
+ @include for-tablet { |
|
667 |
+ padding-right: 0; |
|
668 |
+ padding-left: 0; |
|
669 |
+ } |
|
670 |
+ } |
|
671 |
+ .-no-image > & { |
|
672 |
+ width: 100%; |
|
673 |
+ } |
|
674 |
+ .-color-inverted & { |
|
675 |
+ color: $color-text-invert; |
|
676 |
+ } |
|
677 |
+ .no-margin & { |
|
678 |
+ margin: 0; |
|
679 |
+ padding: 0; |
|
680 |
+ } |
|
681 |
+ .no-margin-top & { |
|
682 |
+ margin-top: 0; |
|
683 |
+ padding-top: 0; |
|
684 |
+ } |
|
685 |
+ .no-margin-bottom & { |
|
686 |
+ margin-bottom: 0; |
|
687 |
+ padding-bottom: 0; |
|
688 |
+ } |
|
689 |
+ h1, h2, h3, h4, h5, h6 { |
|
690 |
+ margin: 0; |
|
691 |
+ color: $color-headline; |
|
692 |
+ font-size: font-size(32px); |
|
693 |
+ font-weight: bold; |
|
694 |
+ @include for-mobile { |
|
695 |
+ font-size: font-size(22px); |
|
696 |
+ } |
|
697 |
+ |
|
698 |
+ & + a { |
|
699 |
+ margin-top: font-size(24px); |
|
700 |
+ } |
|
701 |
+ .-color-inverted & { |
|
702 |
+ color: $color-text-invert; |
|
703 |
+ } |
|
704 |
+ &.-small { |
|
705 |
+ font-size: font-size(21px); |
|
706 |
+ } |
|
707 |
+ &.-medium { |
|
708 |
+ font-size: font-size(38px); |
|
709 |
+ @include for-mobile { |
|
710 |
+ font-size: font-size(30px); |
|
711 |
+ } |
|
712 |
+ } |
|
713 |
+ &.-large { |
|
714 |
+ font-size: font-size(46px); |
|
715 |
+ @include for-mobile { |
|
716 |
+ font-size: font-size(32px); |
|
717 |
+ } |
|
718 |
+ } |
|
719 |
+ &.-super-size { |
|
720 |
+ font-size: font-size(58px); |
|
721 |
+ @include for-mobile { |
|
722 |
+ font-size: font-size(36px); |
|
723 |
+ } |
|
724 |
+ } |
|
725 |
+ } |
|
726 |
+ p { |
|
727 |
+ font-size: font-size(18px); |
|
728 |
+ } |
|
729 |
+} |
|
730 |
+ |
|
731 |
+.feature-text-link { |
|
732 |
+ @include button($border-color: mix($color-bg-secondary, #000, 60%), $background-color: $color-bg-secondary, $border-color-hover: mix($color-bg-secondary, #000, 50%), $background-color-hover: mix($color-bg-secondary, #fff, 90%)); |
|
733 |
+ @include button-no-icon; |
|
734 |
+} |
|
735 |
+ |
|
736 |
+.feature-text-image { |
|
737 |
+ display: block; |
|
738 |
+ float: right; |
|
739 |
+ width: col(11, 25); |
|
740 |
+ margin: font-size(48px) 0 font-size(48px) col(1, 25); |
|
741 |
+ @include for-tablet { |
|
742 |
+ width: col(5, 16); |
|
743 |
+ } |
|
744 |
+ |
|
745 |
+ @include for-mobile { |
|
746 |
+ width: 100%; |
|
747 |
+ } |
|
748 |
+ |
|
749 |
+ .-image-left > & { |
|
750 |
+ float: left; |
|
751 |
+ margin-right: col(1, 25); |
|
752 |
+ margin-left: 0; |
|
753 |
+ @include for-mobile { |
|
754 |
+ float: none; |
|
755 |
+ margin-right: 0; |
|
756 |
+ } |
|
757 |
+ } |
|
758 |
+ .-image-centered > & { |
|
759 |
+ float: none; |
|
760 |
+ width: col(16, 25); |
|
761 |
+ margin-right: auto; |
|
762 |
+ margin-left: auto; |
|
763 |
+ @include for-tablet { |
|
764 |
+ width: 100%; |
|
765 |
+ } |
|
766 |
+ |
|
767 |
+ + .feature-text-text { |
|
768 |
+ margin-top: font-size(48px); |
|
769 |
+ } |
|
770 |
+ } |
|
771 |
+ .-image-top > & { |
|
772 |
+ margin-top: 0; |
|
773 |
+ } |
|
774 |
+ .-image-bottom > & { |
|
775 |
+ position: absolute; |
|
776 |
+ bottom: 0; |
|
777 |
+ right: 0; |
|
778 |
+ margin: 0; |
|
779 |
+ @include for-mobile { |
|
780 |
+ position: static; |
|
781 |
+ margin-bottom: font-size(48px); |
|
782 |
+ } |
|
783 |
+ } |
|
784 |
+ .-image-bottom.-image-left > & { |
|
785 |
+ right: auto; |
|
786 |
+ left: 0; |
|
787 |
+ } |
|
788 |
+ .-vertical-centered > & { |
|
789 |
+ display: table-cell; |
|
790 |
+ vertical-align: middle; |
|
791 |
+ float: none; |
|
792 |
+ margin: 0; |
|
793 |
+ padding: font-size(48px) 0; |
|
794 |
+ @include for-mobile { |
|
795 |
+ display: block; |
|
796 |
+ padding-top: font-size(24px); |
|
797 |
+ padding-bottom: font-size(24px); |
|
798 |
+ } |
|
799 |
+ } |
|
800 |
+ .-image-rounded > & img { |
|
801 |
+ border-radius: 99em; |
|
802 |
+ } |
|
803 |
+} |
|
804 |
+ |
|
805 |
+.feature-text-text, .feature-text-image { |
|
806 |
+ .in-view > & { |
|
807 |
+ @include transition(opacity 0.6s linear, transform 0.6s ease-out); |
|
808 |
+ } |
|
809 |
+ .not-in-view > &.-fade { |
|
810 |
+ opacity: 0; |
|
811 |
+ } |
|
812 |
+ .in-view > &.-fade { |
|
813 |
+ opacity: 1; |
|
814 |
+ } |
|
815 |
+ .not-in-view > &.-move { |
|
816 |
+ @include transform(translate(100%, 0)); |
|
817 |
+ } |
|
818 |
+ .not-in-view > &.-move-right { |
|
819 |
+ @include transform(translate(-100%, 0)); |
|
820 |
+ } |
|
821 |
+ .not-in-view > &.-move-top { |
|
822 |
+ @include transform(translate(0, 100%)); |
|
823 |
+ } |
|
824 |
+ .not-in-view > &.-move-bottom { |
|
825 |
+ @include transform(translate(0, -100%)); |
|
826 |
+ } |
|
827 |
+ .in-view > &.-move { |
|
828 |
+ @include transform(translate(0, 0)); |
|
829 |
+ } |
|
830 |
+ img { |
|
831 |
+ display: block; |
|
832 |
+ max-width: 100%; |
|
833 |
+ height: auto; |
|
834 |
+ margin: 0 auto; |
|
835 |
+ } |
|
836 |
+} |
|
837 |
+ |
|
838 |
+.hero-wrapper { |
|
839 |
+ position: relative; |
|
840 |
+ height: 100%; |
|
841 |
+ |
|
842 |
+ &:not(.-full-vh) { |
|
843 |
+ @include aspect-ratio(1920, 500, true); |
|
844 |
+ } |
|
845 |
+ |
|
846 |
+ &.-alt-color { |
|
847 |
+ background-color: $color-bg-senary; |
|
848 |
+ } |
|
849 |
+ |
|
850 |
+ .hero-background { |
|
851 |
+ background-size: cover; |
|
852 |
+ background-repeat: no-repeat; |
|
853 |
+ background-position: 50% 50%; |
|
854 |
+ |
|
855 |
+ /*&:not(.video_container) { |
|
856 |
+ position: absolute; |
|
857 |
+ left: 0; |
|
858 |
+ right: 0; |
|
859 |
+ top: 0; |
|
860 |
+ bottom: 0; |
|
861 |
+ }*/ |
|
862 |
+ |
|
863 |
+ video { |
|
864 |
+ width: 100%; |
|
865 |
+ height: 100%; |
|
866 |
+ object-fit: cover; |
|
867 |
+ font-family: 'object-fit: cover;'; |
|
868 |
+ } |
|
869 |
+ |
|
870 |
+ .-full-vh& { |
|
871 |
+ min-height: 100vh; |
|
872 |
+ display: flex; |
|
873 |
+ align-items: stretch; |
|
874 |
+ width: 100%; |
|
875 |
+ -webkit-box-sizing: border-box; |
|
876 |
+ -moz-box-sizing: border-box; |
|
877 |
+ box-sizing: border-box; |
|
878 |
+ } |
|
879 |
+ } |
|
880 |
+ |
|
881 |
+ .hero-content { |
|
882 |
+ height: 100%; |
|
883 |
+ position: absolute; |
|
884 |
+ left: 0; |
|
885 |
+ top: 0; |
|
886 |
+ bottom: 0; |
|
887 |
+ right: 0; |
|
888 |
+ display: flex; |
|
889 |
+ align-items: center; |
|
890 |
+ justify-content: center; |
|
891 |
+ } |
|
892 |
+ |
|
893 |
+ .hero-text { |
|
894 |
+ width: 100%; |
|
895 |
+ text-align: center; |
|
896 |
+ margin: 0; |
|
897 |
+ line-height: 1.3; |
|
898 |
+ font-family: $font-family-alternate; |
|
899 |
+ font-size: font-size(60px); |
|
900 |
+ text-shadow: $text-shadow-image; |
|
901 |
+ font-weight: 400; |
|
902 |
+ color: $color-text-invert; |
|
903 |
+ } |
|
904 |
+ |
|
905 |
+ .-arrow& svg.arrow { |
|
906 |
+ display: block; |
|
907 |
+ position: absolute; |
|
908 |
+ bottom: 0; |
|
909 |
+ left: 0; |
|
910 |
+ width: 100%; |
|
911 |
+ height: auto; |
|
912 |
+ fill: #fff; |
|
913 |
+ border-bottom: 2px #fff solid; |
|
914 |
+ margin-bottom: -2px; |
|
915 |
+ |
|
916 |
+ .-arrow-alternate& { |
|
917 |
+ fill: #000; |
|
918 |
+ border-bottom-color: #000; |
|
919 |
+ } |
|
920 |
+ } |
|
921 |
+} |
|
922 |
+ |
|
923 |
+/** |
|
924 |
+ * PHOTO / TEXT COMBI |
|
925 |
+ */ |
|
926 |
+.arrow-wrapper { |
|
927 |
+ position: relative; |
|
928 |
+ |
|
929 |
+ .arrow-background { |
|
930 |
+ z-index: 1; |
|
931 |
+ background-color: $color-bg-tertiary; |
|
932 |
+ color: $color-text-invert; |
|
933 |
+ |
|
934 |
+ position: absolute; |
|
935 |
+ left: 0; |
|
936 |
+ top: 0; |
|
937 |
+ bottom: 0; |
|
938 |
+ right: 50%; |
|
939 |
+ |
|
940 |
+ &:before { |
|
941 |
+ position: absolute; |
|
942 |
+ top:0; |
|
943 |
+ bottom: 0; |
|
944 |
+ left: 100%; |
|
945 |
+ width: 50px; |
|
946 |
+ content: ''; |
|
947 |
+ background: url('data:image/svg+xml; charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%22100%22%20fill%3D%22%23000000%22%20viewBox%3D%220%200%2010%20100%22%20preserveAspectRatio%3D%22none%22%20%3E%3Cpath%20d%3D%22M0%2C0%20L0%2C100%20L10%2C50z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E') no-repeat 100% 50%; |
|
948 |
+ -webkit-background-size: 100% 100%; |
|
949 |
+ background-size: 100% 100%; |
|
950 |
+ } |
|
951 |
+ } |
|
952 |
+ |
|
953 |
+ .text-wall-background { |
|
954 |
+ position: absolute; |
|
955 |
+ left: 50%; |
|
956 |
+ right: 0; |
|
957 |
+ top: 0; |
|
958 |
+ bottom: 0; |
|
959 |
+ overflow: hidden; |
|
960 |
+ background: 50% 50% no-repeat; |
|
961 |
+ background-size: cover; |
|
962 |
+ } |
|
963 |
+ |
|
964 |
+ .arrow-inside { |
|
965 |
+ @include centered-1200; |
|
966 |
+ display: flex; |
|
967 |
+ align-items: stretch; |
|
968 |
+ padding: 100px 0; |
|
969 |
+ z-index: 1; |
|
970 |
+ |
|
971 |
+ > * { |
|
972 |
+ flex: 0 0 50%; |
|
973 |
+ } |
|
974 |
+ |
|
975 |
+ p, |
|
976 |
+ h1,h2,h3,h4,h5,h6 { |
|
977 |
+ &:last-child { |
|
978 |
+ margin-bottom: 0; |
|
979 |
+ } |
|
980 |
+ } |
|
981 |
+ } |
|
982 |
+ |
|
983 |
+ .arrow-wall, |
|
984 |
+ .text-wall { |
|
985 |
+ display: flex; |
|
986 |
+ align-items: center; |
|
987 |
+ } |
|
988 |
+ |
|
989 |
+ .text-wall { |
|
990 |
+ |
|
991 |
+ &-content { |
|
992 |
+ position: relative; |
|
993 |
+ @include box-sizing(border-box); |
|
994 |
+ padding: $gutter-default*1.5 0 $gutter-default*1.5 100px; |
|
995 |
+ } |
|
996 |
+ |
|
997 |
+ .cta { |
|
998 |
+ @include button($border-color: mix($color-bg-secondary, #000, 60%), $background-color: $color-bg-secondary, $border-color-hover: mix($color-bg-secondary, #000, 50%), $background-color-hover: mix($color-bg-secondary, #fff, 90%)); |
|
999 |
+ @include transform(translate(-50%,-50%)); |
|
1000 |
+ position: absolute; |
|
1001 |
+ left: 50%; |
|
1002 |
+ top: 50%; |
|
1003 |
+ } |
|
1004 |
+ } |
|
1005 |
+ |
|
1006 |
+ .arrow-wall { |
|
1007 |
+ z-index: 1; |
|
1008 |
+ em, i { |
|
1009 |
+ font-style: normal; |
|
1010 |
+ color: $color-text-alt; |
|
1011 |
+ } |
|
1012 |
+ & { |
|
1013 |
+ color: $color-text-invert; |
|
1014 |
+ } |
|
1015 |
+ h1,h2,h3,h4,h5,h6 { |
|
1016 |
+ text-align: left; |
|
1017 |
+ color: $color-text-alt; |
|
1018 |
+ |
|
1019 |
+ em,i { |
|
1020 |
+ color: $color-text-invert; |
|
1021 |
+ } |
|
1022 |
+ } |
|
1023 |
+ &-content { |
|
1024 |
+ @include box-sizing(border-box); |
|
1025 |
+ padding: $gutter-default*1.5 50px $gutter-default*1.5 0; |
|
1026 |
+ } |
|
1027 |
+ } |
|
1028 |
+ |
|
1029 |
+ &.-alt-color { |
|
1030 |
+ .arrow-background { |
|
1031 |
+ background-color: $color-bg-secondary; |
|
1032 |
+ &:before { |
|
1033 |
+ background: url('data:image/svg+xml; charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%22100%22%20fill%3D%22%23BA0C2F%22%20viewBox%3D%220%200%2010%20100%22%20preserveAspectRatio%3D%22none%22%20%3E%3Cpath%20d%3D%22M0%2C0%20L0%2C100%20L10%2C50z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E') no-repeat 100% 50%; |
|
1034 |
+ -webkit-background-size: 100% 100%; |
|
1035 |
+ background-size: 100% 100%; |
|
1036 |
+ } |
|
1037 |
+ } |
|
1038 |
+ .arrow-wall { |
|
1039 |
+ em, i { |
|
1040 |
+ font-style: normal; |
|
1041 |
+ color: $color-headline-invert; |
|
1042 |
+ } |
|
1043 |
+ & { |
|
1044 |
+ color: $color-text; |
|
1045 |
+ } |
|
1046 |
+ h1,h2,h3,h4,h5,h6 { |
|
1047 |
+ color: $color-headline-invert; |
|
1048 |
+ em, i { |
|
1049 |
+ color: $color-text; |
|
1050 |
+ } |
|
1051 |
+ } |
|
1052 |
+ } |
|
1053 |
+ } |
|
1054 |
+ |
|
1055 |
+ &.-arrow-left { |
|
1056 |
+ .arrow-background { |
|
1057 |
+ left: 50%; |
|
1058 |
+ right: 0; |
|
1059 |
+ &:before { |
|
1060 |
+ left: auto; |
|
1061 |
+ right: 100%; |
|
1062 |
+ background: url('data:image/svg+xml; charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%22100%22%20fill%3D%22%23000000%22%20viewBox%3D%220%200%2010%20100%22%20preserveAspectRatio%3D%22none%22%20%3E%3Cpath%20d%3D%22M10%2C0%20L10%2C100%20L0%2C50z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E') no-repeat 0 50%; |
|
1063 |
+ -webkit-background-size: 100% 100%; |
|
1064 |
+ background-size: 100% 100%; |
|
1065 |
+ .-alt-color& { |
|
1066 |
+ background: url('data:image/svg+xml; charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%22100%22%20fill%3D%22%23BA0C2F%22%20viewBox%3D%220%200%2010%20100%22%20preserveAspectRatio%3D%22none%22%20%3E%3Cpath%20d%3D%22M10%2C0%20L10%2C100%20L0%2C50z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E') no-repeat 0 50%; |
|
1067 |
+ -webkit-background-size: 100% 100%; |
|
1068 |
+ background-size: 100% 100%; |
|
1069 |
+ } |
|
1070 |
+ } |
|
1071 |
+ } |
|
1072 |
+ .text-wall-background { |
|
1073 |
+ right: 50%; |
|
1074 |
+ left: 0; |
|
1075 |
+ } |
|
1076 |
+ .arrow-inside { |
|
1077 |
+ flex-direction: row-reverse; |
|
1078 |
+ } |
|
1079 |
+ |
|
1080 |
+ .text-wall { |
|
1081 |
+ &-content { |
|
1082 |
+ padding-right: 100px; |
|
1083 |
+ padding-left: 0; |
|
1084 |
+ } |
|
1085 |
+ } |
|
1086 |
+ .arrow-wall { |
|
1087 |
+ &-content { |
|
1088 |
+ padding-left: 50px; |
|
1089 |
+ padding-right: 0; |
|
1090 |
+ } |
|
1091 |
+ } |
|
1092 |
+ |
|
1093 |
+ } |
|
1094 |
+ |
|
1095 |
+ @include for-tablet { |
|
1096 |
+ .arrow-inside { |
|
1097 |
+ flex-direction: column; |
|
1098 |
+ padding: 0; |
|
1099 |
+ } |
|
1100 |
+ |
|
1101 |
+ .arrow-background { |
|
1102 |
+ display: none; |
|
1103 |
+ } |
|
1104 |
+ |
|
1105 |
+ .text-wall-background { |
|
1106 |
+ left: 0; |
|
1107 |
+ } |
|
1108 |
+ |
|
1109 |
+ .arrow-wall { |
|
1110 |
+ position: relative; |
|
1111 |
+ padding: 50px 30px; |
|
1112 |
+ background: #000; |
|
1113 |
+ justify-content: center; |
|
1114 |
+ |
|
1115 |
+ &-content { |
|
1116 |
+ padding: 0; |
|
1117 |
+ &, |
|
1118 |
+ h1,h2,h3,h4,h5,h6 { |
|
1119 |
+ text-align: center; |
|
1120 |
+ } |
|
1121 |
+ } |
|
1122 |
+ |
|
1123 |
+ &:before { |
|
1124 |
+ position: absolute; |
|
1125 |
+ left: 0; |
|
1126 |
+ right: 0; |
|
1127 |
+ top: 100%; |
|
1128 |
+ height: 50px; |
|
1129 |
+ content: ''; |
|
1130 |
+ background: url('data:image/svg+xml; charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="100" fill="%23000000" viewBox="0 0 432 47" preserveAspectRatio="none" %3E%3Cpath d="M217.187,46.446L0,0L431.98,0L217.187,46.446Z"%3E%3C/path%3E%3C/svg%3E') no-repeat 100% 50%; |
|
1131 |
+ //background: url('data:image/svg+xml; charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%22100%22%20fill%3D%22%23000000%22%20viewBox%3D%220%200%20432%2047%22%20preserveAspectRatio%3D%22none%22%20%3E%3Cpath%20d%3D%22M0%2C0%20L0%2C100%20L10%2C50z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E') no-repeat 100% 50%; |
|
1132 |
+ -webkit-background-size: 100% 100%; |
|
1133 |
+ background-size: 100% 100%; |
|
1134 |
+ } |
|
1135 |
+ } |
|
1136 |
+ |
|
1137 |
+ .text-wall { |
|
1138 |
+ padding: 100px 30px 50px; |
|
1139 |
+ |
|
1140 |
+ &-content { |
|
1141 |
+ padding: 0; |
|
1142 |
+ } |
|
1143 |
+ } |
|
1144 |
+ } |
|
1145 |
+ |
|
1146 |
+} |
|
1147 |
+ |
|
1148 |
+/** |
|
1149 |
+ * Icon cards |
|
1150 |
+ */ |
|
1151 |
+.icon-cards-item { |
|
1152 |
+ position: relative; |
|
1153 |
+ outline: none; |
|
1154 |
+ text-align: left; |
|
1155 |
+ margin-bottom: 30px; |
|
1156 |
+ |
|
1157 |
+ .icon-cards-item-wrapper { |
|
1158 |
+ height: 100%; |
|
1159 |
+ position: relative; |
|
1160 |
+ |
|
1161 |
+ > { |
|
1162 |
+ h1, h2, h3, h4 { |
|
1163 |
+ text-transform: uppercase; |
|
1164 |
+ font-size: font-size(30px); |
|
1165 |
+ line-height: 1.3; |
|
1166 |
+ margin: 0; |
|
1167 |
+ |
|
1168 |
+ @include for-mobile { |
|
1169 |
+ font-size: font-size(25px); |
|
1170 |
+ } |
|
1171 |
+ |
|
1172 |
+ + .icon-cards-item-text { |
|
1173 |
+ margin-top: 30px; |
|
1174 |
+ } |
|
1175 |
+ } |
|
1176 |
+ } |
|
1177 |
+ } |
|
1178 |
+ |
|
1179 |
+ .icon-cards-item-icon { |
|
1180 |
+ font-size: 100px; |
|
1181 |
+ line-height: 0; |
|
1182 |
+ text-align: center;e |
|
1183 |
+ &, |
|
1184 |
+ svg { |
|
1185 |
+ @include transition(all 0.25s cubic-bezier(.2, .38, .51, .99)); |
|
1186 |
+ } |
|
1187 |
+ |
|
1188 |
+ + h3 { |
|
1189 |
+ @include for-mobile { |
|
1190 |
+ font-size: font-size(25px); |
|
1191 |
+ } |
|
1192 |
+ } |
|
1193 |
+ |
|
1194 |
+ + h3, |
|
1195 |
+ + .icon-cards-item-text { |
|
1196 |
+ margin-top: 15px; |
|
1197 |
+ } |
|
1198 |
+ } |
|
1199 |
+ |
|
1200 |
+ .background-wrapper & { |
|
1201 |
+ .-alt-color& { |
|
1202 |
+ color: $color-text-invert; |
|
1203 |
+ |
|
1204 |
+ .icon-cards-item-icon { |
|
1205 |
+ color: $color-text; |
|
1206 |
+ } |
|
1207 |
+ } |
|
1208 |
+ |
|
1209 |
+ .-alt-color2& { |
|
1210 |
+ color: $color-text-invert; |
|
1211 |
+ |
|
1212 |
+ .icon-cards-item-icon { |
|
1213 |
+ color: $color-bg-secondary; |
|
1214 |
+ } |
|
1215 |
+ } |
|
1216 |
+ } |
|
1217 |
+ |
|
1218 |
+ &.-align-center { |
|
1219 |
+ text-align: center; |
|
1220 |
+ } |
|
1221 |
+ &.-align-right { |
|
1222 |
+ text-align: right; |
|
1223 |
+ } |
|
1224 |
+ |
|
1225 |
+ .-side-padding & { |
|
1226 |
+ .icon-cards-item-wrapper { |
|
1227 |
+ padding: 0 30px; |
|
1228 |
+ } |
|
1229 |
+ } |
|
1230 |
+ |
|
1231 |
+ .icon-cards-item-text { |
|
1232 |
+ font-weight: 300; |
|
1233 |
+ font-size: font-size(17px); |
|
1234 |
+ line-height: 1.2; |
|
1235 |
+ } |
|
1236 |
+ |
|
1237 |
+ .icon-cards-item-link { |
|
1238 |
+ position: absolute; |
|
1239 |
+ top: 0; |
|
1240 |
+ bottom: 0; |
|
1241 |
+ left: 0; |
|
1242 |
+ right: 0; |
|
1243 |
+ display: block; |
|
1244 |
+ } |
|
1245 |
+ |
|
1246 |
+ &.-has-link{ |
|
1247 |
+ &:hover { |
|
1248 |
+ .icon-cards-item-icon { |
|
1249 |
+ @include transform(scale(1.15, 1.15)); |
|
1250 |
+ } |
|
1251 |
+ } |
|
1252 |
+ &:active { |
|
1253 |
+ .icon-cards-item-icon { |
|
1254 |
+ @include transition(all 0.05s cubic-bezier(.2, .38, .51, .99)); |
|
1255 |
+ @include transform(scale3d(1, 1, 1)); |
|
1256 |
+ } |
|
1257 |
+ } |
|
1258 |
+ } |
|
1259 |
+} |
|
1260 |
+ |
|
1261 |
+.zoom-hotspots { |
|
1262 |
+ .zoom-hotspots-wrapper { |
|
1263 |
+ display: inline-block; |
|
1264 |
+ position: relative; |
|
1265 |
+ |
|
1266 |
+ > img { |
|
1267 |
+ vertical-align: middle; |
|
1268 |
+ } |
|
1269 |
+ } |
|
1270 |
+ .hotspot-trigger { |
|
1271 |
+ position: absolute; |
|
1272 |
+ left: 0; |
|
1273 |
+ top: 0; |
|
1274 |
+ width: 40px; |
|
1275 |
+ height: 40px; |
|
1276 |
+ background-color: #76B82A; |
|
1277 |
+ -webkit-border-radius: 40px; |
|
1278 |
+ -moz-border-radius: 40px; |
|
1279 |
+ border-radius: 40px; |
|
1280 |
+ border: 2px #fff solid; |
|
1281 |
+ -webkit-box-shadow: 0 0 5px rgba(#000,50%); |
|
1282 |
+ -moz-box-shadow: 0 0 5px rgba(#000,50%); |
|
1283 |
+ box-shadow: 0 0 5px rgba(#000,50%); |
|
1284 |
+ -webkit-transition: all 0.25s ease; |
|
1285 |
+ -moz-transition: all 0.5s ease; |
|
1286 |
+ -ms-transition: all 0.5s ease; |
|
1287 |
+ -o-transition: all 0.5s ease; |
|
1288 |
+ transition: all 0.5s ease; |
|
1289 |
+ -webkit-transform: translate(-50%,-50%); |
|
1290 |
+ -moz-transform: translate(-50%,-50%); |
|
1291 |
+ -ms-transform: translate(-50%,-50%); |
|
1292 |
+ -o-transform: translate(-50%,-50%); |
|
1293 |
+ transform: translate(-50%,-50%); |
|
1294 |
+ &:hover { |
|
1295 |
+ background-color: #fff; |
|
1296 |
+ -webkit-transform: translate(-50%,-50%) scale(1.1,1.1); |
|
1297 |
+ -moz-transform: translate(-50%,-50%) scale(1.1,1.1); |
|
1298 |
+ -ms-transform: translate(-50%,-50%) scale(1.1,1.1); |
|
1299 |
+ -o-transform: translate(-50%,-50%) scale(1.1,1.1); |
|
1300 |
+ transform: translate(-50%,-50%) scale(1.1,1.1); |
|
1301 |
+ &:before, |
|
1302 |
+ &:after { |
|
1303 |
+ //background: #76B82A; |
|
1304 |
+ color: #76B82A; |
|
1305 |
+ } |
|
1306 |
+ } |
|
1307 |
+ /*&:before,*/ |
|
1308 |
+ &:after { |
|
1309 |
+ position: absolute; |
|
1310 |
+ left: 50%; |
|
1311 |
+ top: 50%; |
|
1312 |
+ -webkit-transition: all 0.5s ease; |
|
1313 |
+ -moz-transition: all 0.5s ease; |
|
1314 |
+ -ms-transition: all 0.5s ease; |
|
1315 |
+ -o-transition: all 0.5s ease; |
|
1316 |
+ transition: all 0.5s ease; |
|
1317 |
+ -webkit-transform: translate(-50%,-50%); |
|
1318 |
+ -moz-transform: translate(-50%,-50%); |
|
1319 |
+ -ms-transform: translate(-50%,-50%); |
|
1320 |
+ -o-transform: translate(-50%,-50%); |
|
1321 |
+ transform: translate(-50%,-50%); |
|
1322 |
+ //background: #fff; |
|
1323 |
+ color: #fff; |
|
1324 |
+ content: '\e0cb'; |
|
1325 |
+ } |
|
1326 |
+ /*&:before { |
|
1327 |
+ width: 2px; |
|
1328 |
+ height: 15px; |
|
1329 |
+ }*/ |
|
1330 |
+ &:after { |
|
1331 |
+ /*height: 2px; |
|
1332 |
+ width: 15px;*/ |
|
1333 |
+ |
|
1334 |
+ font: 100%/1 "RockSolid Icons"; |
|
1335 |
+ -webkit-font-smoothing: antialiased; |
|
1336 |
+ font-smoothing: antialiased; |
|
1337 |
+ text-rendering: geometricPrecision; |
|
1338 |
+ text-indent: 0; |
|
1339 |
+ margin-right: 0.26667em; |
|
1340 |
+ } |
|
1341 |
+ } |
|
1342 |
+ .hotspot-modal { |
|
1343 |
+ display: none; |
|
1344 |
+ } |
|
1345 |
+ |
|
1346 |
+ @media screen and (max-width: 599px) { |
|
1347 |
+ .hotspot-trigger { |
|
1348 |
+ width: 25px; |
|
1349 |
+ height: 25px; |
|
1350 |
+ border-width: 1px; |
|
1351 |
+ &:after { |
|
1352 |
+ font-size: 0.7em; |
|
1353 |
+ } |
|
1354 |
+ } |
|
1355 |
+ } |
|
1356 |
+ |
|
1357 |
+} |
|
1358 |
+ |
|
1359 |
+.hotspot-modal { |
|
1360 |
+ .image_container { |
|
1361 |
+ display: block; |
|
1362 |
+ text-align: center; |
|
1363 |
+ |
|
1364 |
+ img { |
|
1365 |
+ max-width: 100%; |
|
1366 |
+ width: auto; |
|
1367 |
+ display: inline; |
|
1368 |
+ } |
|
1369 |
+ } |
|
1370 |
+} |
|
1371 |
+ |
|
1372 |
+.pricing-table { |
|
1373 |
+ |
|
1374 |
+ &.-valign-stretch { |
|
1375 |
+ .rs-columns { |
|
1376 |
+ align-items: stretch; |
|
1377 |
+ } |
|
1378 |
+ } |
|
1379 |
+ |
|
1380 |
+ .pricing-table-item { |
|
1381 |
+ padding: 1em 0; |
|
1382 |
+ position: relative; |
|
1383 |
+ |
|
1384 |
+ &.-featured { |
|
1385 |
+ padding: 0; |
|
1386 |
+ |
|
1387 |
+ .pricing-table-item-content { |
|
1388 |
+ padding: 2.75em 2em 8em; |
|
1389 |
+ border-top: 0.25em solid $color-bg-secondary; |
|
1390 |
+ |
|
1391 |
+ .main-content { |
|
1392 |
+ margin-top: -2.75em; |
|
1393 |
+ padding-top: 2.75em; |
|
1394 |
+ } |
|
1395 |
+ |
|
1396 |
+ .link { |
|
1397 |
+ //bottom: 4.25em; |
|
1398 |
+ } |
|
1399 |
+ } |
|
1400 |
+ |
|
1401 |
+ /*&:before { |
|
1402 |
+ z-index: 1; |
|
1403 |
+ position: absolute; |
|
1404 |
+ top: 0.2em; |
|
1405 |
+ left: 0; |
|
1406 |
+ right: 0; |
|
1407 |
+ height: 1.75em; |
|
1408 |
+ content: ''; |
|
1409 |
+ background: url('data:image/svg+xml; charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="10" fill="%23BA0C2F" viewBox="0 0 100 10" preserveAspectRatio="none" %3E%3Cpath d="M0,0 L50,10 L100,0z"%3E%3C/path%3E%3C/svg%3E') no-repeat 100% 50%; |
|
1410 |
+ -webkit-background-size: 100% 100%; |
|
1411 |
+ background-size: 100% 100%; |
|
1412 |
+ } |
|
1413 |
+ &:after { |
|
1414 |
+ z-index: 1; |
|
1415 |
+ content: attr(data-feature-label); |
|
1416 |
+ position: absolute; |
|
1417 |
+ top: 0.55em; |
|
1418 |
+ left: 50%; |
|
1419 |
+ @include transform(translateX(-50%)); |
|
1420 |
+ color: $color-text-invert; |
|
1421 |
+ font-size: font-size(12px); |
|
1422 |
+ }*/ |
|
1423 |
+ } |
|
1424 |
+ |
|
1425 |
+ .pricing-table-item-content { |
|
1426 |
+ background-color: $color-bg-lightgrey; |
|
1427 |
+ height: 100%; |
|
1428 |
+ color: $color-text; |
|
1429 |
+ padding: 2em 2em 6em; |
|
1430 |
+ text-align: center; |
|
1431 |
+ position: relative; |
|
1432 |
+ @include box-sizing(border-box); |
|
1433 |
+ @include transition(all 0.5s cubic-bezier(0.25, 1, 0.5, 1)); |
|
1434 |
+ @include transform(scale3d(1,1,1)); |
|
1435 |
+ |
|
1436 |
+ &:hover, |
|
1437 |
+ &:focus { |
|
1438 |
+ @include box-shadow(0 0 10px 5px rgba(255,79,115,.9)); |
|
1439 |
+ @include transform(scale3d(1.01,1.01,1)); |
|
1440 |
+ } |
|
1441 |
+ |
|
1442 |
+ .main-content { |
|
1443 |
+ background-color: #fff; |
|
1444 |
+ margin: -2em -2em 2.75em; |
|
1445 |
+ padding: 2em 2em 0.5em; |
|
1446 |
+ position: relative; |
|
1447 |
+ |
|
1448 |
+ &:before { |
|
1449 |
+ z-index: 1; |
|
1450 |
+ position: absolute; |
|
1451 |
+ top: 100%; |
|
1452 |
+ left: 0; |
|
1453 |
+ right: 0; |
|
1454 |
+ height: 1.75em; |
|
1455 |
+ margin-top: -1px; |
|
1456 |
+ content: ''; |
|
1457 |
+ background: url('data:image/svg+xml; charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="10" fill="%23FFFFFF" viewBox="0 0 100 10" preserveAspectRatio="none" %3E%3Cpath d="M0,0 L50,10 L100,0z"%3E%3C/path%3E%3C/svg%3E') no-repeat 100% 50%; |
|
1458 |
+ -webkit-background-size: 100% 100%; |
|
1459 |
+ background-size: 100% 100%; |
|
1460 |
+ } |
|
1461 |
+ } |
|
1462 |
+ |
|
1463 |
+ .title-wrapper { |
|
1464 |
+ min-height: 6em; |
|
1465 |
+ margin-bottom: #{font-size(19px)}; |
|
1466 |
+ } |
|
1467 |
+ |
|
1468 |
+ .title { |
|
1469 |
+ color: $color-bg-secondary; |
|
1470 |
+ font-size: font-size(38px); |
|
1471 |
+ } |
|
1472 |
+ |
|
1473 |
+ .subtitle { |
|
1474 |
+ font-weight: 600; |
|
1475 |
+ margin-top: -#{font-size(19px)}; |
|
1476 |
+ } |
|
1477 |
+ |
|
1478 |
+ .price-wrapper { |
|
1479 |
+ color: $color-bg-secondary; |
|
1480 |
+ position: relative; |
|
1481 |
+ margin-bottom: #{font-size(19px)}; |
|
1482 |
+ } |
|
1483 |
+ .price { |
|
1484 |
+ font-weight: 500; |
|
1485 |
+ font-size: 2.5em; |
|
1486 |
+ |
|
1487 |
+ .unit { |
|
1488 |
+ font-size: 0.5em; |
|
1489 |
+ vertical-align: super; |
|
1490 |
+ } |
|
1491 |
+ } |
|
1492 |
+ |
|
1493 |
+ .period { |
|
1494 |
+ font-weight: 400; |
|
1495 |
+ font-size: 1.25em; |
|
1496 |
+ display: inline-block; |
|
1497 |
+ padding: 0 0 0 0.5em; |
|
1498 |
+ color: #777; |
|
1499 |
+ } |
|
1500 |
+ |
|
1501 |
+ .text { |
|
1502 |
+ font-weight: 400; |
|
1503 |
+ } |
|
1504 |
+ |
|
1505 |
+ .features { |
|
1506 |
+ font-size: font-size(15px); |
|
1507 |
+ text-align: left; |
|
1508 |
+ |
|
1509 |
+ li { |
|
1510 |
+ line-height: 1.3; |
|
1511 |
+ padding: 0.25em 0 0.25em 1.75em; |
|
1512 |
+ position: relative; |
|
1513 |
+ |
|
1514 |
+ &:before { |
|
1515 |
+ position: absolute; |
|
1516 |
+ top: 0.25em; |
|
1517 |
+ left: 0; |
|
1518 |
+ width: 1.25em; |
|
1519 |
+ height: 1.25em; |
|
1520 |
+ background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 16 16' fill='%23BA0C2F'%3E%3Cpath d='M6 10.781l7.063-7.063 0.938 0.938-8 8-3.719-3.719 0.938-0.938z'%3E%3C/path%3E%3C/svg%3E") no-repeat 50% 50%; |
|
1521 |
+ content: ''; |
|
1522 |
+ } |
|
1523 |
+ } |
|
1524 |
+ } |
|
1525 |
+ |
|
1526 |
+ .link { |
|
1527 |
+ @include button($button-height: 50px, $button-padding-horizontal: 40px, $background-color: $color-bg-secondary, $border-color: $color-bg-secondary, $background-color-hover: $color-bg-tertiary, $border-color-hover: $color-bg-tertiary); |
|
1528 |
+ //margin-top: 1.5rem; |
|
1529 |
+ position: absolute; |
|
1530 |
+ bottom: 2em; |
|
1531 |
+ left: 2em; |
|
1532 |
+ right: 2em; |
|
1533 |
+ display: block; |
|
1534 |
+ } |
|
1535 |
+ } |
|
1536 |
+ } |
|
1537 |
+} |
|
0 | 1538 |
\ No newline at end of file |