diff --git a/README.txt b/README.txt index 078d0c5..867dc9b 100644 --- a/README.txt +++ b/README.txt @@ -1,18 +1,23 @@ -Photon by HTML5 UP +Story by HTML5 UP html5up.net | @ajlkn Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -A simple (gradient-heavy) single pager that revisits a style I messed with on two -previous designs (Tessellate and Telephasic). Fully responsive, built on Sass, -and, as usual, loaded with an assortment of pre-styled elements. Have fun! :) +Say hello to Story, a brand new responsive one-pager for HTML5 UP! Inspired by my work +on Carrd*, Story is built to be extremely modular and tweakable, and as such is entirely +built on reusable, insanely customizable elements (like "spotlight" and "gallery") that +can be endlessly duplicated and tweaked into whatever you need to tell your story -- +without, in many cases, touching *any* CSS. Check out index-demo.html for an interactive +demo, and index.html for the actual template. Enjoy! -Demo images* courtesy of Unsplash, a radtastic collection of CC0 (public domain) images +Demo images** courtesy of Unsplash, a radtastic collection of CC0 (public domain) images you can use for pretty much whatever. -(* = Not included) +PS: Delete index-demo.html and assets/js/demo.js when you're done messing with the demo +as neither are needed in production :) -Feedback, bug reports, and comments are not only welcome, but strongly encouraged :) +(* = my other side project -- carrd.co) +(** = not included) AJ aj@lkn.io | @ajlkn @@ -28,8 +33,5 @@ Credits: Other: jQuery (jquery.com) - html5shiv.js (@afarkas @jdalton @jon_neal @rem) - CSS3 Pie (css3pie.com) - background-size polyfill (github.com/louisremi) - Respond.js (j.mp/respondjs) + Misc. Sass functions (@HugoGiraudel) Skel (skel.io) \ No newline at end of file diff --git a/assets/css/ie8.css b/assets/css/ie8.css deleted file mode 100644 index 047d302..0000000 --- a/assets/css/ie8.css +++ /dev/null @@ -1,368 +0,0 @@ -/* - Photon by HTML5 UP - html5up.net | @ajlkn - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ - -/* Basic */ - - hr { - border-bottom: solid 1px #ccc; - } - - blockquote { - border-left: solid 4px #ccc; - } - - code { - border: solid 1px #ccc; - } - -/* Section/Article */ - - header.major:after { - background: #ccc; - } - -/* Form */ - - input[type="text"], - input[type="password"], - input[type="email"], - select, - textarea { - -ms-behavior: url("assets/js/ie/PIE.htc"); - border: solid 1px #ccc; - position: relative; - } - -/* List */ - - ul.alt li { - border-top: solid 1px #ccc; - } - - ul.major-icons li .icon { - -ms-behavior: url("assets/js/ie/PIE.htc"); - border: solid 1px #ccc; - position: relative; - } - -/* Table */ - - table thead { - border-bottom: solid 1px #ccc; - } - - table tfoot { - border-top: solid 1px #ccc; - } - - table.alt tbody tr td { - border: solid 1px #ccc; - border-left-width: 0; - border-top-width: 0; - } - -/* Button */ - - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - -ms-behavior: url("assets/js/ie/PIE.htc"); - border: solid 1px #ccc; - position: relative; - } - -/* Image */ - - .image { - -ms-behavior: url("assets/js/ie/PIE.htc"); - } - - .image img { - -ms-behavior: url("assets/js/ie/PIE.htc"); - position: relative; - } - -/* Main */ - - .main.style2 { - background-color: #333; - color: #ffffff; - -ms-behavior: url("assets/js/ie/backgroundsize.min.htc"); - background-image: url("../../images/header.jpg"); - background-size: cover; - position: relative; - } - - .main.style2 a { - border-bottom-color: #ffffff; - } - - .main.style2 a:hover { - color: #ffffff; - } - - .main.style2 h1, .main.style2 h2, .main.style2 h3, .main.style2 h4, .main.style2 h5, .main.style2 h6, .main.style2 strong, .main.style2 b { - color: #ffffff; - } - - .main.style2 header p { - color: #ffffff; - } - - .main.style2 header.major:after { - background: #ffffff; - } - - .main.style2 input[type="submit"], - .main.style2 input[type="reset"], - .main.style2 input[type="button"], - .main.style2 button, - .main.style2 .button { - border: solid 1px #ffffff !important; - color: #ffffff !important; - } - - .main.style2 input[type="submit"]:hover, - .main.style2 input[type="reset"]:hover, - .main.style2 input[type="button"]:hover, - .main.style2 button:hover, - .main.style2 .button:hover { - background-color: transparent; - } - - .main.style2 input[type="submit"]:active, - .main.style2 input[type="reset"]:active, - .main.style2 input[type="button"]:active, - .main.style2 button:active, - .main.style2 .button:active { - background-color: transparent; - } - - .main.style2 input[type="submit"].special, - .main.style2 input[type="reset"].special, - .main.style2 input[type="button"].special, - .main.style2 button.special, - .main.style2 .button.special { - background-color: #ffffff; - border: solid 1px #ffffff !important; - color: #333 !important; - } - - .main.style2 input[type="submit"].special:hover, - .main.style2 input[type="reset"].special:hover, - .main.style2 input[type="button"].special:hover, - .main.style2 button.special:hover, - .main.style2 .button.special:hover { - background-color: transparent !important; - color: #ffffff !important; - } - - .main.style2 input[type="submit"].special:active, - .main.style2 input[type="reset"].special:active, - .main.style2 input[type="button"].special:active, - .main.style2 button.special:active, - .main.style2 .button.special:active { - background-color: transparent !important; - } - - .main.style2 ul.major-icons li .icon { - border-color: #ffffff; - } - - .main.style2 .icon.major { - color: #ffffff; - } - - .main.style2:before { - background-image: url("images/overlay1.png"); - content: ''; - height: 100%; - left: 0; - position: absolute; - top: 0; - width: 100%; - } - - .main.style2 > * { - position: relative; - z-index: 1; - } - -/* Header */ - - #header { - background-color: #4686a0; - color: #ffffff; - } - - #header a { - border-bottom-color: #ffffff; - } - - #header a:hover { - color: #ffffff; - } - - #header h1, #header h2, #header h3, #header h4, #header h5, #header h6, #header strong, #header b { - color: #ffffff; - } - - #header header p { - color: #ffffff; - } - - #header header.major:after { - background: #ffffff; - } - - #header input[type="submit"], - #header input[type="reset"], - #header input[type="button"], - #header button, - #header .button { - border: solid 1px #ffffff !important; - color: #ffffff !important; - } - - #header input[type="submit"]:hover, - #header input[type="reset"]:hover, - #header input[type="button"]:hover, - #header button:hover, - #header .button:hover { - background-color: transparent; - } - - #header input[type="submit"]:active, - #header input[type="reset"]:active, - #header input[type="button"]:active, - #header button:active, - #header .button:active { - background-color: transparent; - } - - #header input[type="submit"].special, - #header input[type="reset"].special, - #header input[type="button"].special, - #header button.special, - #header .button.special { - background-color: #ffffff; - border: solid 1px #ffffff !important; - color: #4686a0 !important; - } - - #header input[type="submit"].special:hover, - #header input[type="reset"].special:hover, - #header input[type="button"].special:hover, - #header button.special:hover, - #header .button.special:hover { - background-color: transparent !important; - color: #ffffff !important; - } - - #header input[type="submit"].special:active, - #header input[type="reset"].special:active, - #header input[type="button"].special:active, - #header button.special:active, - #header .button.special:active { - background-color: transparent !important; - } - - #header ul.major-icons li .icon { - border-color: #ffffff; - } - - #header .icon.major { - color: #ffffff; - } - -/* Footer */ - - #footer { - background-color: #4686a0; - color: #ffffff; - } - - #footer a { - border-bottom-color: #ffffff; - } - - #footer a:hover { - color: #ffffff; - } - - #footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6, #footer strong, #footer b { - color: #ffffff; - } - - #footer header p { - color: #ffffff; - } - - #footer header.major:after { - background: #ffffff; - } - - #footer input[type="submit"], - #footer input[type="reset"], - #footer input[type="button"], - #footer button, - #footer .button { - border: solid 1px #ffffff !important; - color: #ffffff !important; - } - - #footer input[type="submit"]:hover, - #footer input[type="reset"]:hover, - #footer input[type="button"]:hover, - #footer button:hover, - #footer .button:hover { - background-color: transparent; - } - - #footer input[type="submit"]:active, - #footer input[type="reset"]:active, - #footer input[type="button"]:active, - #footer button:active, - #footer .button:active { - background-color: transparent; - } - - #footer input[type="submit"].special, - #footer input[type="reset"].special, - #footer input[type="button"].special, - #footer button.special, - #footer .button.special { - background-color: #ffffff; - border: solid 1px #ffffff !important; - color: #4686a0 !important; - } - - #footer input[type="submit"].special:hover, - #footer input[type="reset"].special:hover, - #footer input[type="button"].special:hover, - #footer button.special:hover, - #footer .button.special:hover { - background-color: transparent !important; - color: #ffffff !important; - } - - #footer input[type="submit"].special:active, - #footer input[type="reset"].special:active, - #footer input[type="button"].special:active, - #footer button.special:active, - #footer .button.special:active { - background-color: transparent !important; - } - - #footer ul.major-icons li .icon { - border-color: #ffffff; - } - - #footer .icon.major { - color: #ffffff; - } \ No newline at end of file diff --git a/assets/css/ie9.css b/assets/css/ie9.css deleted file mode 100644 index a51c00b..0000000 --- a/assets/css/ie9.css +++ /dev/null @@ -1,55 +0,0 @@ -/* - Photon by HTML5 UP - html5up.net | @ajlkn - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ - -/* Header */ - - #header { - background-image: none; - filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#4fa49a", endColorStr="#4361c2", GradientType=1); - position: relative; - } - - #header:before { - background-image: url("images/overlay2.png"), url("images/overlay3.svg"); - background-position: top left, center center; - background-size: auto, cover; - content: ''; - height: 100%; - left: 0; - position: absolute; - top: 0; - width: 100%; - } - - #header > * { - position: relative; - z-index: 1; - } - -/* Footer */ - - #footer { - background-image: none; - filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#4361c2", endColorStr="#4fa49a", GradientType=1); - position: relative; - } - - #footer:before { - background-image: url("images/overlay2.png"), url("images/overlay4.svg"); - background-position: top left, center center; - background-size: auto, cover; - content: ''; - height: 100%; - left: 0; - position: absolute; - top: 0; - width: 100%; - } - - #footer > * { - position: relative; - z-index: 1; - } \ No newline at end of file diff --git a/assets/css/images/overlay1.png b/assets/css/images/overlay1.png deleted file mode 100644 index 7aa8031..0000000 Binary files a/assets/css/images/overlay1.png and /dev/null differ diff --git a/assets/css/images/overlay2.png b/assets/css/images/overlay2.png deleted file mode 100644 index 1d1e8f5..0000000 Binary files a/assets/css/images/overlay2.png and /dev/null differ diff --git a/assets/css/images/overlay3.svg b/assets/css/images/overlay3.svg deleted file mode 100644 index 1dc020c..0000000 --- a/assets/css/images/overlay3.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/assets/css/images/overlay4.svg b/assets/css/images/overlay4.svg deleted file mode 100644 index fb0be90..0000000 --- a/assets/css/images/overlay4.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/assets/css/main.css b/assets/css/main.css index 02f1709..dc3e51f 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,8 +1,8 @@ -@import url("font-awesome.min.css"); -@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic"); +@import url(font-awesome.min.css); +@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i"); /* - Photon by HTML5 UP + Story by HTML5 UP html5up.net | @ajlkn Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) */ @@ -56,191 +56,6 @@ box-sizing: border-box; } -/* Containers */ - - .container { - margin-left: auto; - margin-right: auto; - } - - .container.\31 25\25 { - width: 100%; - max-width: 75em; - min-width: 60em; - } - - .container.\37 5\25 { - width: 45em; - } - - .container.\35 0\25 { - width: 30em; - } - - .container.\32 5\25 { - width: 15em; - } - - .container { - width: 60em; - } - - @media screen and (max-width: 1680px) { - - .container.\31 25\25 { - width: 100%; - max-width: 75em; - min-width: 60em; - } - - .container.\37 5\25 { - width: 45em; - } - - .container.\35 0\25 { - width: 30em; - } - - .container.\32 5\25 { - width: 15em; - } - - .container { - width: 60em; - } - - } - - @media screen and (max-width: 1140px) { - - .container.\31 25\25 { - width: 100%; - max-width: 112.5%; - min-width: 90%; - } - - .container.\37 5\25 { - width: 67.5%; - } - - .container.\35 0\25 { - width: 45%; - } - - .container.\32 5\25 { - width: 22.5%; - } - - .container { - width: 90%; - } - - } - - @media screen and (max-width: 980px) { - - .container.\31 25\25 { - width: 100%; - max-width: 125%; - min-width: 100%; - } - - .container.\37 5\25 { - width: 75%; - } - - .container.\35 0\25 { - width: 50%; - } - - .container.\32 5\25 { - width: 25%; - } - - .container { - width: 100% !important; - } - - } - - @media screen and (max-width: 736px) { - - .container.\31 25\25 { - width: 100%; - max-width: 125%; - min-width: 100%; - } - - .container.\37 5\25 { - width: 75%; - } - - .container.\35 0\25 { - width: 50%; - } - - .container.\32 5\25 { - width: 25%; - } - - .container { - width: 100% !important; - } - - } - - @media screen and (max-width: 480px) { - - .container.\31 25\25 { - width: 100%; - max-width: 125%; - min-width: 100%; - } - - .container.\37 5\25 { - width: 75%; - } - - .container.\35 0\25 { - width: 50%; - } - - .container.\32 5\25 { - width: 25%; - } - - .container { - width: 100% !important; - } - - } - - @media screen and (max-width: 320px) { - - .container.\31 25\25 { - width: 100%; - max-width: 125%; - min-width: 100%; - } - - .container.\37 5\25 { - width: 75%; - } - - .container.\35 0\25 { - width: 50%; - } - - .container.\32 5\25 { - width: 25%; - } - - .container { - width: 100% !important; - } - - } - /* Grid */ .row { @@ -273,99 +88,99 @@ } .row.\30 \25 > * { - padding: 0 0 0 0em; + padding: 0 0 0 0rem; } .row.\30 \25 { - margin: 0 0 -1px 0em; + margin: 0 0 -1px 0rem; } .row.uniform.\30 \25 > * { - padding: 0em 0 0 0em; + padding: 0rem 0 0 0rem; } .row.uniform.\30 \25 { - margin: 0em 0 -1px 0em; + margin: 0rem 0 -1px 0rem; } .row > * { - padding: 0 0 0 2em; + padding: 0 0 0 2rem; } .row { - margin: 0 0 -1px -2em; + margin: 0 0 -1px -2rem; } .row.uniform > * { - padding: 2em 0 0 2em; + padding: 2rem 0 0 2rem; } .row.uniform { - margin: -2em 0 -1px -2em; + margin: -2rem 0 -1px -2rem; } .row.\32 00\25 > * { - padding: 0 0 0 4em; + padding: 0 0 0 4rem; } .row.\32 00\25 { - margin: 0 0 -1px -4em; + margin: 0 0 -1px -4rem; } .row.uniform.\32 00\25 > * { - padding: 4em 0 0 4em; + padding: 4rem 0 0 4rem; } .row.uniform.\32 00\25 { - margin: -4em 0 -1px -4em; + margin: -4rem 0 -1px -4rem; } .row.\31 50\25 > * { - padding: 0 0 0 3em; + padding: 0 0 0 3rem; } .row.\31 50\25 { - margin: 0 0 -1px -3em; + margin: 0 0 -1px -3rem; } .row.uniform.\31 50\25 > * { - padding: 3em 0 0 3em; + padding: 3rem 0 0 3rem; } .row.uniform.\31 50\25 { - margin: -3em 0 -1px -3em; + margin: -3rem 0 -1px -3rem; } .row.\35 0\25 > * { - padding: 0 0 0 1em; + padding: 0 0 0 1rem; } .row.\35 0\25 { - margin: 0 0 -1px -1em; + margin: 0 0 -1px -1rem; } .row.uniform.\35 0\25 > * { - padding: 1em 0 0 1em; + padding: 1rem 0 0 1rem; } .row.uniform.\35 0\25 { - margin: -1em 0 -1px -1em; + margin: -1rem 0 -1px -1rem; } .row.\32 5\25 > * { - padding: 0 0 0 0.5em; + padding: 0 0 0 0.5rem; } .row.\32 5\25 { - margin: 0 0 -1px -0.5em; + margin: 0 0 -1px -0.5rem; } .row.uniform.\32 5\25 > * { - padding: 0.5em 0 0 0.5em; + padding: 0.5rem 0 0 0.5rem; } .row.uniform.\32 5\25 { - margin: -0.5em 0 -1px -0.5em; + margin: -0.5rem 0 -1px -0.5rem; } .\31 2u, .\31 2u\24 { @@ -502,83 +317,83 @@ @media screen and (max-width: 1680px) { .row > * { - padding: 0 0 0 2em; + padding: 0 0 0 2rem; } .row { - margin: 0 0 -1px -2em; + margin: 0 0 -1px -2rem; } .row.uniform > * { - padding: 2em 0 0 2em; + padding: 2rem 0 0 2rem; } .row.uniform { - margin: -2em 0 -1px -2em; + margin: -2rem 0 -1px -2rem; } .row.\32 00\25 > * { - padding: 0 0 0 4em; + padding: 0 0 0 4rem; } .row.\32 00\25 { - margin: 0 0 -1px -4em; + margin: 0 0 -1px -4rem; } .row.uniform.\32 00\25 > * { - padding: 4em 0 0 4em; + padding: 4rem 0 0 4rem; } .row.uniform.\32 00\25 { - margin: -4em 0 -1px -4em; + margin: -4rem 0 -1px -4rem; } .row.\31 50\25 > * { - padding: 0 0 0 3em; + padding: 0 0 0 3rem; } .row.\31 50\25 { - margin: 0 0 -1px -3em; + margin: 0 0 -1px -3rem; } .row.uniform.\31 50\25 > * { - padding: 3em 0 0 3em; + padding: 3rem 0 0 3rem; } .row.uniform.\31 50\25 { - margin: -3em 0 -1px -3em; + margin: -3rem 0 -1px -3rem; } .row.\35 0\25 > * { - padding: 0 0 0 1em; + padding: 0 0 0 1rem; } .row.\35 0\25 { - margin: 0 0 -1px -1em; + margin: 0 0 -1px -1rem; } .row.uniform.\35 0\25 > * { - padding: 1em 0 0 1em; + padding: 1rem 0 0 1rem; } .row.uniform.\35 0\25 { - margin: -1em 0 -1px -1em; + margin: -1rem 0 -1px -1rem; } .row.\32 5\25 > * { - padding: 0 0 0 0.5em; + padding: 0 0 0 0.5rem; } .row.\32 5\25 { - margin: 0 0 -1px -0.5em; + margin: 0 0 -1px -0.5rem; } .row.uniform.\32 5\25 > * { - padding: 0.5em 0 0 0.5em; + padding: 0.5rem 0 0 0.5rem; } .row.uniform.\32 5\25 { - margin: -0.5em 0 -1px -0.5em; + margin: -0.5rem 0 -1px -0.5rem; } .\31 2u\28xlarge\29, .\31 2u\24\28xlarge\29 { @@ -714,86 +529,86 @@ } - @media screen and (max-width: 1140px) { + @media screen and (max-width: 1280px) { .row > * { - padding: 0 0 0 1.5em; + padding: 0 0 0 2rem; } .row { - margin: 0 0 -1px -1.5em; + margin: 0 0 -1px -2rem; } .row.uniform > * { - padding: 1.5em 0 0 1.5em; + padding: 2rem 0 0 2rem; } .row.uniform { - margin: -1.5em 0 -1px -1.5em; + margin: -2rem 0 -1px -2rem; } .row.\32 00\25 > * { - padding: 0 0 0 3em; + padding: 0 0 0 4rem; } .row.\32 00\25 { - margin: 0 0 -1px -3em; + margin: 0 0 -1px -4rem; } .row.uniform.\32 00\25 > * { - padding: 3em 0 0 3em; + padding: 4rem 0 0 4rem; } .row.uniform.\32 00\25 { - margin: -3em 0 -1px -3em; + margin: -4rem 0 -1px -4rem; } .row.\31 50\25 > * { - padding: 0 0 0 2.25em; + padding: 0 0 0 3rem; } .row.\31 50\25 { - margin: 0 0 -1px -2.25em; + margin: 0 0 -1px -3rem; } .row.uniform.\31 50\25 > * { - padding: 2.25em 0 0 2.25em; + padding: 3rem 0 0 3rem; } .row.uniform.\31 50\25 { - margin: -2.25em 0 -1px -2.25em; + margin: -3rem 0 -1px -3rem; } .row.\35 0\25 > * { - padding: 0 0 0 0.75em; + padding: 0 0 0 1rem; } .row.\35 0\25 { - margin: 0 0 -1px -0.75em; + margin: 0 0 -1px -1rem; } .row.uniform.\35 0\25 > * { - padding: 0.75em 0 0 0.75em; + padding: 1rem 0 0 1rem; } .row.uniform.\35 0\25 { - margin: -0.75em 0 -1px -0.75em; + margin: -1rem 0 -1px -1rem; } .row.\32 5\25 > * { - padding: 0 0 0 0.375em; + padding: 0 0 0 0.5rem; } .row.\32 5\25 { - margin: 0 0 -1px -0.375em; + margin: 0 0 -1px -0.5rem; } .row.uniform.\32 5\25 > * { - padding: 0.375em 0 0 0.375em; + padding: 0.5rem 0 0 0.5rem; } .row.uniform.\32 5\25 { - margin: -0.375em 0 -1px -0.375em; + margin: -0.5rem 0 -1px -0.5rem; } .\31 2u\28large\29, .\31 2u\24\28large\29 { @@ -932,83 +747,83 @@ @media screen and (max-width: 980px) { .row > * { - padding: 0 0 0 1.5em; + padding: 0 0 0 2rem; } .row { - margin: 0 0 -1px -1.5em; + margin: 0 0 -1px -2rem; } .row.uniform > * { - padding: 1.5em 0 0 1.5em; + padding: 2rem 0 0 2rem; } .row.uniform { - margin: -1.5em 0 -1px -1.5em; + margin: -2rem 0 -1px -2rem; } .row.\32 00\25 > * { - padding: 0 0 0 3em; + padding: 0 0 0 4rem; } .row.\32 00\25 { - margin: 0 0 -1px -3em; + margin: 0 0 -1px -4rem; } .row.uniform.\32 00\25 > * { - padding: 3em 0 0 3em; + padding: 4rem 0 0 4rem; } .row.uniform.\32 00\25 { - margin: -3em 0 -1px -3em; + margin: -4rem 0 -1px -4rem; } .row.\31 50\25 > * { - padding: 0 0 0 2.25em; + padding: 0 0 0 3rem; } .row.\31 50\25 { - margin: 0 0 -1px -2.25em; + margin: 0 0 -1px -3rem; } .row.uniform.\31 50\25 > * { - padding: 2.25em 0 0 2.25em; + padding: 3rem 0 0 3rem; } .row.uniform.\31 50\25 { - margin: -2.25em 0 -1px -2.25em; + margin: -3rem 0 -1px -3rem; } .row.\35 0\25 > * { - padding: 0 0 0 0.75em; + padding: 0 0 0 1rem; } .row.\35 0\25 { - margin: 0 0 -1px -0.75em; + margin: 0 0 -1px -1rem; } .row.uniform.\35 0\25 > * { - padding: 0.75em 0 0 0.75em; + padding: 1rem 0 0 1rem; } .row.uniform.\35 0\25 { - margin: -0.75em 0 -1px -0.75em; + margin: -1rem 0 -1px -1rem; } .row.\32 5\25 > * { - padding: 0 0 0 0.375em; + padding: 0 0 0 0.5rem; } .row.\32 5\25 { - margin: 0 0 -1px -0.375em; + margin: 0 0 -1px -0.5rem; } .row.uniform.\32 5\25 > * { - padding: 0.375em 0 0 0.375em; + padding: 0.5rem 0 0 0.5rem; } .row.uniform.\32 5\25 { - margin: -0.375em 0 -1px -0.375em; + margin: -0.5rem 0 -1px -0.5rem; } .\31 2u\28medium\29, .\31 2u\24\28medium\29 { @@ -1147,83 +962,83 @@ @media screen and (max-width: 736px) { .row > * { - padding: 0 0 0 1.5em; + padding: 0 0 0 2rem; } .row { - margin: 0 0 -1px -1.5em; + margin: 0 0 -1px -2rem; } .row.uniform > * { - padding: 1.5em 0 0 1.5em; + padding: 2rem 0 0 2rem; } .row.uniform { - margin: -1.5em 0 -1px -1.5em; + margin: -2rem 0 -1px -2rem; } .row.\32 00\25 > * { - padding: 0 0 0 3em; + padding: 0 0 0 4rem; } .row.\32 00\25 { - margin: 0 0 -1px -3em; + margin: 0 0 -1px -4rem; } .row.uniform.\32 00\25 > * { - padding: 3em 0 0 3em; + padding: 4rem 0 0 4rem; } .row.uniform.\32 00\25 { - margin: -3em 0 -1px -3em; + margin: -4rem 0 -1px -4rem; } .row.\31 50\25 > * { - padding: 0 0 0 2.25em; + padding: 0 0 0 3rem; } .row.\31 50\25 { - margin: 0 0 -1px -2.25em; + margin: 0 0 -1px -3rem; } .row.uniform.\31 50\25 > * { - padding: 2.25em 0 0 2.25em; + padding: 3rem 0 0 3rem; } .row.uniform.\31 50\25 { - margin: -2.25em 0 -1px -2.25em; + margin: -3rem 0 -1px -3rem; } .row.\35 0\25 > * { - padding: 0 0 0 0.75em; + padding: 0 0 0 1rem; } .row.\35 0\25 { - margin: 0 0 -1px -0.75em; + margin: 0 0 -1px -1rem; } .row.uniform.\35 0\25 > * { - padding: 0.75em 0 0 0.75em; + padding: 1rem 0 0 1rem; } .row.uniform.\35 0\25 { - margin: -0.75em 0 -1px -0.75em; + margin: -1rem 0 -1px -1rem; } .row.\32 5\25 > * { - padding: 0 0 0 0.375em; + padding: 0 0 0 0.5rem; } .row.\32 5\25 { - margin: 0 0 -1px -0.375em; + margin: 0 0 -1px -0.5rem; } .row.uniform.\32 5\25 > * { - padding: 0.375em 0 0 0.375em; + padding: 0.5rem 0 0 0.5rem; } .row.uniform.\32 5\25 { - margin: -0.375em 0 -1px -0.375em; + margin: -0.5rem 0 -1px -0.5rem; } .\31 2u\28small\29, .\31 2u\24\28small\29 { @@ -1362,83 +1177,83 @@ @media screen and (max-width: 480px) { .row > * { - padding: 0 0 0 1.5em; + padding: 0 0 0 2rem; } .row { - margin: 0 0 -1px -1.5em; + margin: 0 0 -1px -2rem; } .row.uniform > * { - padding: 1.5em 0 0 1.5em; + padding: 2rem 0 0 2rem; } .row.uniform { - margin: -1.5em 0 -1px -1.5em; + margin: -2rem 0 -1px -2rem; } .row.\32 00\25 > * { - padding: 0 0 0 3em; + padding: 0 0 0 4rem; } .row.\32 00\25 { - margin: 0 0 -1px -3em; + margin: 0 0 -1px -4rem; } .row.uniform.\32 00\25 > * { - padding: 3em 0 0 3em; + padding: 4rem 0 0 4rem; } .row.uniform.\32 00\25 { - margin: -3em 0 -1px -3em; + margin: -4rem 0 -1px -4rem; } .row.\31 50\25 > * { - padding: 0 0 0 2.25em; + padding: 0 0 0 3rem; } .row.\31 50\25 { - margin: 0 0 -1px -2.25em; + margin: 0 0 -1px -3rem; } .row.uniform.\31 50\25 > * { - padding: 2.25em 0 0 2.25em; + padding: 3rem 0 0 3rem; } .row.uniform.\31 50\25 { - margin: -2.25em 0 -1px -2.25em; + margin: -3rem 0 -1px -3rem; } .row.\35 0\25 > * { - padding: 0 0 0 0.75em; + padding: 0 0 0 1rem; } .row.\35 0\25 { - margin: 0 0 -1px -0.75em; + margin: 0 0 -1px -1rem; } .row.uniform.\35 0\25 > * { - padding: 0.75em 0 0 0.75em; + padding: 1rem 0 0 1rem; } .row.uniform.\35 0\25 { - margin: -0.75em 0 -1px -0.75em; + margin: -1rem 0 -1px -1rem; } .row.\32 5\25 > * { - padding: 0 0 0 0.375em; + padding: 0 0 0 0.5rem; } .row.\32 5\25 { - margin: 0 0 -1px -0.375em; + margin: 0 0 -1px -0.5rem; } .row.uniform.\32 5\25 > * { - padding: 0.375em 0 0 0.375em; + padding: 0.5rem 0 0 0.5rem; } .row.uniform.\32 5\25 { - margin: -0.375em 0 -1px -0.375em; + margin: -0.5rem 0 -1px -0.5rem; } .\31 2u\28xsmall\29, .\31 2u\24\28xsmall\29 { @@ -1574,86 +1389,86 @@ } - @media screen and (max-width: 320px) { + @media screen and (max-width: 360px) { .row > * { - padding: 0 0 0 1.5em; + padding: 0 0 0 2rem; } .row { - margin: 0 0 -1px -1.5em; + margin: 0 0 -1px -2rem; } .row.uniform > * { - padding: 1.5em 0 0 1.5em; + padding: 2rem 0 0 2rem; } .row.uniform { - margin: -1.5em 0 -1px -1.5em; + margin: -2rem 0 -1px -2rem; } .row.\32 00\25 > * { - padding: 0 0 0 3em; + padding: 0 0 0 4rem; } .row.\32 00\25 { - margin: 0 0 -1px -3em; + margin: 0 0 -1px -4rem; } .row.uniform.\32 00\25 > * { - padding: 3em 0 0 3em; + padding: 4rem 0 0 4rem; } .row.uniform.\32 00\25 { - margin: -3em 0 -1px -3em; + margin: -4rem 0 -1px -4rem; } .row.\31 50\25 > * { - padding: 0 0 0 2.25em; + padding: 0 0 0 3rem; } .row.\31 50\25 { - margin: 0 0 -1px -2.25em; + margin: 0 0 -1px -3rem; } .row.uniform.\31 50\25 > * { - padding: 2.25em 0 0 2.25em; + padding: 3rem 0 0 3rem; } .row.uniform.\31 50\25 { - margin: -2.25em 0 -1px -2.25em; + margin: -3rem 0 -1px -3rem; } .row.\35 0\25 > * { - padding: 0 0 0 0.75em; + padding: 0 0 0 1rem; } .row.\35 0\25 { - margin: 0 0 -1px -0.75em; + margin: 0 0 -1px -1rem; } .row.uniform.\35 0\25 > * { - padding: 0.75em 0 0 0.75em; + padding: 1rem 0 0 1rem; } .row.uniform.\35 0\25 { - margin: -0.75em 0 -1px -0.75em; + margin: -1rem 0 -1px -1rem; } .row.\32 5\25 > * { - padding: 0 0 0 0.375em; + padding: 0 0 0 0.5rem; } .row.\32 5\25 { - margin: 0 0 -1px -0.375em; + margin: 0 0 -1px -0.5rem; } .row.uniform.\32 5\25 > * { - padding: 0.375em 0 0 0.375em; + padding: 0.5rem 0 0 0.5rem; } .row.uniform.\32 5\25 { - margin: -0.375em 0 -1px -0.375em; + margin: -0.5rem 0 -1px -0.5rem; } .\31 2u\28xxsmall\29, .\31 2u\24\28xxsmall\29 { @@ -1791,8 +1606,24 @@ /* Basic */ + @-ms-viewport { + width: device-width; + } + + body { + -ms-overflow-style: scrollbar; + } + + @media screen and (max-width: 480px) { + + html, body { + min-width: 320px; + } + + } + body { - background: #fff; + background: #ffffff; } body.is-loading *, body.is-loading *:before, body.is-loading *:after { @@ -1806,31 +1637,69 @@ transition: none !important; } +/* Type */ + + html { + font-size: 18pt; + } + + @media screen and (max-width: 1680px) { + + html { + font-size: 14pt; + } + + } + + @media screen and (max-width: 1280px) { + + html { + font-size: 12pt; + } + + } + + @media screen and (max-width: 736px) { + + html { + font-size: 11pt; + } + + } + + @media screen and (max-width: 360px) { + + html { + font-size: 10pt; + } + + } + + body { + background-color: #ffffff; + color: #000000; + } + body, input, select, textarea { - color: #666; font-family: "Source Sans Pro", Helvetica, sans-serif; - font-size: 16pt; + font-size: 1rem; font-weight: 300; - line-height: 1.65em; + line-height: 1.65; } a { - -moz-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - -webkit-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - -ms-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - border-bottom: dotted 1px #666; - color: inherit; - text-decoration: none; + -moz-transition: color 0.2s ease-in-out; + -webkit-transition: color 0.2s ease-in-out; + -ms-transition: color 0.2s ease-in-out; + transition: color 0.2s ease-in-out; + text-decoration: underline; } a:hover { - border-bottom-color: transparent !important; - color: #6bd4c8; + text-decoration: none; } strong, b { - color: #555; font-weight: 400; } @@ -1839,13 +1708,18 @@ } p { - margin: 0 0 2em 0; + margin: 0 0 2rem 0; } + p.major { + font-size: 1.25rem; + } + h1, h2, h3, h4, h5, h6 { - color: #555; - line-height: 1em; - margin: 0 0 1em 0; + font-weight: 300; + line-height: 1.375; + letter-spacing: -0.05em; + margin: 0 0 1rem 0; } h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { @@ -1854,88 +1728,81 @@ } h1 { - font-size: 2.25em; - line-height: 1.35em; + font-size: 3.5rem; + line-height: 1.2; } h2 { - font-size: 2em; - line-height: 1.35em; + font-size: 2.25rem; } h3 { - font-size: 1.35em; - line-height: 1.5em; + font-size: 1.5rem; } h4 { - font-size: 1.25em; - line-height: 1.5em; + font-size: 1.1rem; } h5 { - font-size: 0.9em; - line-height: 1.5em; + font-size: 0.9rem; } h6 { - font-size: 0.7em; - line-height: 1.5em; + font-size: 0.7rem; } sub { - font-size: 0.8em; + font-size: 0.8rem; position: relative; - top: 0.5em; + top: 0.5rem; } sup { - font-size: 0.8em; + font-size: 0.8rem; position: relative; - top: -0.5em; + top: -0.5rem; } - hr { - border: 0; - border-bottom: solid 1px rgba(144, 144, 144, 0.5); - margin: 2em 0; - } - - hr.major { - margin: 3em 0; - } - blockquote { - border-left: solid 4px rgba(144, 144, 144, 0.5); + border-left: solid 4px; font-style: italic; - margin: 0 0 2em 0; - padding: 0.5em 0 0.5em 2em; + margin: 0 0 2rem 0; + padding: 0.5rem 0 0.5rem 2rem; } code { - background: rgba(144, 144, 144, 0.075); border-radius: 4px; - border: solid 1px rgba(144, 144, 144, 0.5); font-family: "Courier New", monospace; font-size: 0.9em; - margin: 0 0.25em; - padding: 0.25em 0.65em; + margin: 0 0.25rem; + padding: 0.25rem 0.325rem; } pre { -webkit-overflow-scrolling: touch; font-family: "Courier New", monospace; font-size: 0.9em; - margin: 0 0 2em 0; + margin: 0 0 2rem 0; } pre code { display: block; - line-height: 1.75em; - padding: 1em 1.5em; + line-height: 1.5; + padding: 0.75rem 1rem; overflow-x: auto; } + hr { + border: 0; + border-bottom: solid 1px; + margin: 2.5rem 0; + } + + hr.major { + margin: 3.5rem 0; + } + .align-left { text-align: left; } @@ -1948,116 +1815,369 @@ text-align: right; } -/* Section/Article */ + @media screen and (max-width: 736px) { - section.special, article.special { - text-align: center; - } + p.major { + font-size: 1.1rem; + } - header p { - color: #999; - margin: 0 0 1.5em 0; - position: relative; - } + h1 { + font-size: 2.5rem; + } - header h2 + p { - font-size: 1.25em; - line-height: 1.5em; - margin-top: -1em; - } + h2 { + font-size: 2rem; + } - header h3 + p { - font-size: 1.1em; - line-height: 1.5em; - margin-top: -0.8em; - } + h3 { + font-size: 1.25rem; + } + + h4 { + font-size: 1rem; + } - header h4 + p, - header h5 + p, - header h6 + p { - font-size: 0.9em; - line-height: 1.5em; - margin-top: -0.6em; } - header.major { - margin: 0 0 1em 0; + input, select, textarea { + color: #000000; } - header.major:after { - background: rgba(144, 144, 144, 0.5); - content: ''; - display: inline-block; - height: 1px; - margin-top: 1.5em; - width: 6em; - } + a { + color: #000000; + } - header.major h2, header.major h3, header.major h4, header.major h5, header.major h6 { - margin: 0; + a:hover { + color: #47D3E5; } - header.major p { - margin: 0.7em 0 0 0; - } + strong, b { + color: #000000; + } - header.special { - text-align: center; + h1, h2, h3, h4, h5, h6 { + color: #000000; } -/* Form */ + blockquote { + border-left-color: rgba(0, 0, 0, 0.2); + } - form { - margin: 0 0 2em 0; + code { + background: rgba(0, 0, 0, 0.05); + border-color: rgba(0, 0, 0, 0.2); } - label { - color: #555; - display: block; - font-size: 0.9em; - font-weight: 400; - margin: 0 0 1em 0; + hr { + border-bottom-color: rgba(0, 0, 0, 0.2); } - input[type="text"], - input[type="password"], - input[type="email"], - select, - textarea { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - background: rgba(144, 144, 144, 0.075); +/* Box */ + + .box { border-radius: 4px; - border: none; - border: solid 1px rgba(144, 144, 144, 0.5); - color: inherit; - display: block; - outline: 0; - padding: 0 1em; - text-decoration: none; - width: 100%; + border: solid 1px; + margin-bottom: 2rem; + padding: 1.5rem; } - input[type="text"]:invalid, - input[type="password"]:invalid, - input[type="email"]:invalid, - select:invalid, - textarea:invalid { - box-shadow: none; + .box > :last-child, + .box > :last-child > :last-child, + .box > :last-child > :last-child > :last-child { + margin-bottom: 0; } - input[type="text"]:focus, - input[type="password"]:focus, - input[type="email"]:focus, - select:focus, - textarea:focus { - border-color: #6bd4c8; + .box.alt { + border: 0; + border-radius: 0; + padding: 0; } - .select-wrapper { - text-decoration: none; + .box { + border-color: rgba(0, 0, 0, 0.2); + } + +/* Button */ + + input[type="submit"], + input[type="reset"], + input[type="button"], + button, + .button { + -moz-appearance: none; + -webkit-appearance: none; + -ms-appearance: none; + appearance: none; + -moz-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out; + -webkit-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out; + -ms-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out; + transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out; + border: 0; + cursor: pointer; + display: inline-block; + font-weight: 400; + letter-spacing: 0.125em; + text-align: center; + text-decoration: none; + text-transform: uppercase; + white-space: nowrap; + font-size: 0.75rem; + max-width: 20rem; + height: 3.75em; + line-height: 3.75em; + border-radius: 3.75em; + padding: 0 2.5em; + text-overflow: ellipsis; + overflow: hidden; + } + + input[type="submit"].icon:before, + input[type="reset"].icon:before, + input[type="button"].icon:before, + button.icon:before, + .button.icon:before { + margin-right: 0.5rem; + } + + input[type="submit"].fit, + input[type="reset"].fit, + input[type="button"].fit, + button.fit, + .button.fit { + display: block; + margin: 0 0 1rem 0; + width: 100%; + } + + input[type="submit"].small, + input[type="reset"].small, + input[type="button"].small, + button.small, + .button.small { + font-size: 0.6rem; + height: 3.325em; + line-height: 3.325em; + border-radius: 3.325em; + padding: 0 2em; + } + + input[type="submit"].big, + input[type="reset"].big, + input[type="button"].big, + button.big, + .button.big { + font-size: 0.8rem; + height: 4em; + line-height: 4em; + border-radius: 4em; + padding: 0 3em; + } + + input[type="submit"].wide, + input[type="reset"].wide, + input[type="button"].wide, + button.wide, + .button.wide { + min-width: 14em; + } + + input[type="submit"].disabled, input[type="submit"]:disabled, + input[type="reset"].disabled, + input[type="reset"]:disabled, + input[type="button"].disabled, + input[type="button"]:disabled, + button.disabled, + button:disabled, + .button.disabled, + .button:disabled { + -moz-pointer-events: none; + -webkit-pointer-events: none; + -ms-pointer-events: none; + pointer-events: none; + opacity: 0.25; + } + + input[type="submit"], + input[type="reset"], + input[type="button"], + button, + .button { + background-color: transparent; + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); + color: #000000 !important; + } + + input[type="submit"]:hover, + input[type="reset"]:hover, + input[type="button"]:hover, + button:hover, + .button:hover { + box-shadow: inset 0 0 0 1px #47D3E5; + color: #47D3E5 !important; + } + + input[type="submit"]:active, + input[type="reset"]:active, + input[type="button"]:active, + button:active, + .button:active { + background-color: rgba(71, 211, 229, 0.2); + box-shadow: inset 0 0 0 1px #47D3E5; + color: #47D3E5 !important; + } + + input[type="submit"].special, + input[type="reset"].special, + input[type="button"].special, + button.special, + .button.special { + background-color: #000000; + box-shadow: none; + color: #ffffff !important; + } + + input[type="submit"].special:hover, + input[type="reset"].special:hover, + input[type="button"].special:hover, + button.special:hover, + .button.special:hover { + background-color: #47D3E5; + } + + input[type="submit"].special:active, + input[type="reset"].special:active, + input[type="button"].special:active, + button.special:active, + .button.special:active { + background-color: #1ebdd1; + } + +/* Form */ + + form { + margin: 0 0 2rem 0; + } + + form .field { + margin: 0 0 1.5rem 0; + clear: both; + } + + form .field.half { + clear: none; + width: 50%; + float: left; + padding: 0 0 0 0.75rem; + } + + form .field.half.first { + padding: 0 0.75rem 0 0; + } + + form .field.third { + clear: none; + width: 33.33333%; + float: left; + padding: 0 0 0 0.75rem; + } + + form .field.third.first { + padding: 0 0.75rem 0 0; + } + + form > .actions { + clear: both; + margin: 1.875rem 0 0 0 !important; + } + + @media screen and (max-width: 736px) { + + form .field { + margin: 0 0 1.125rem 0; + } + + form .field.half { + padding: 0 0 0 0.5625rem; + } + + form .field.half.first { + padding: 0 0.5625rem 0 0; + } + + form > .actions { + margin: 1.5rem 0 0 0 !important; + } + + } + + @media screen and (max-width: 480px) { + + form .field.half { + width: 100%; + float: none; + padding: 0; + } + + form .field.half.first { + padding: 0; + } + + form .field.third { + width: 100%; + float: none; + padding: 0; + } + + form .field.third.first { + padding: 0; + } + + } + + label { + display: block; + font-size: 0.9rem; + font-weight: 400; + margin: 0 0 1rem 0; + } + + input[type="text"], + input[type="password"], + input[type="email"], + input[type="tel"], + input[type="search"], + input[type="url"], + select, + textarea { + -moz-appearance: none; + -webkit-appearance: none; + -ms-appearance: none; + appearance: none; + background-color: transparent; + border-radius: 4px; + border: none; + border: solid 1px; + color: inherit; + display: block; + outline: 0; + padding: 0 0.825rem; + text-decoration: none; + width: 100%; + } + + input[type="text"]:invalid, + input[type="password"]:invalid, + input[type="email"]:invalid, + input[type="tel"]:invalid, + input[type="search"]:invalid, + input[type="url"]:invalid, + select:invalid, + textarea:invalid { + box-shadow: none; + } + + .select-wrapper { + text-decoration: none; display: block; position: relative; } @@ -2072,17 +2192,16 @@ } .select-wrapper:before { - color: rgba(144, 144, 144, 0.5); content: '\f078'; display: block; - height: 2.75em; - line-height: 2.75em; + height: 2.75rem; + line-height: 2.75rem; pointer-events: none; position: absolute; right: 0; text-align: center; top: 0; - width: 2.75em; + width: 2.75rem; } .select-wrapper select::-ms-expand { @@ -2092,12 +2211,15 @@ input[type="text"], input[type="password"], input[type="email"], + input[type="tel"], + input[type="search"], + input[type="url"], select { - height: 2.75em; + height: 2.75rem; } textarea { - padding: 0.75em 1em; + padding: 0.75rem 1rem; } input[type="checkbox"], @@ -2108,23 +2230,27 @@ appearance: none; display: block; float: left; - margin-right: -2em; + margin-right: -2rem; opacity: 0; - width: 1em; + width: 1rem; z-index: -1; } input[type="checkbox"] + label, input[type="radio"] + label { text-decoration: none; - color: #666; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; cursor: pointer; display: inline-block; - font-size: 1em; + font-size: 1rem; font-weight: 300; - padding-left: 2.4em; - padding-right: 0.75em; + padding-left: 2.4rem; + padding-right: 0.75rem; position: relative; + margin-bottom: 0; } input[type="checkbox"] + label:before, @@ -2139,33 +2265,24 @@ input[type="checkbox"] + label:before, input[type="radio"] + label:before { - background: rgba(144, 144, 144, 0.075); border-radius: 4px; - border: solid 1px rgba(144, 144, 144, 0.5); + border: solid 1px; content: ''; display: inline-block; - height: 1.65em; + height: 1.65rem; left: 0; - line-height: 1.58125em; + line-height: 1.58125rem; position: absolute; text-align: center; top: 0; - width: 1.65em; + width: 1.65rem; } input[type="checkbox"]:checked + label:before, input[type="radio"]:checked + label:before { - background: #666666; - border-color: #666666; - color: #ffffff; content: '\f00c'; } - input[type="checkbox"]:focus + label:before, - input[type="radio"]:focus + label:before { - border-color: #6bd4c8; - } - input[type="checkbox"] + label:before { border-radius: 4px; } @@ -2175,57 +2292,106 @@ } ::-webkit-input-placeholder { - color: #999 !important; opacity: 1.0; } :-moz-placeholder { - color: #999 !important; opacity: 1.0; } ::-moz-placeholder { - color: #999 !important; opacity: 1.0; } :-ms-input-placeholder { - color: #999 !important; opacity: 1.0; } .formerize-placeholder { - color: #999 !important; opacity: 1.0; } -/* Box */ + label { + color: #000000; + } - .box { - border-radius: 4px; - border: solid 1px rgba(144, 144, 144, 0.5); - margin-bottom: 2em; - padding: 1.5em; + input[type="text"], + input[type="password"], + input[type="email"], + input[type="tel"], + input[type="search"], + input[type="url"], + select, + textarea { + border-color: rgba(0, 0, 0, 0.2); } - .box > :last-child, - .box > :last-child > :last-child, - .box > :last-child > :last-child > :last-child { - margin-bottom: 0; + input[type="text"]:focus, + input[type="password"]:focus, + input[type="email"]:focus, + input[type="tel"]:focus, + input[type="search"]:focus, + input[type="url"]:focus, + select:focus, + textarea:focus { + border-color: #47D3E5; + box-shadow: 0 0 0 1px #47D3E5; } - .box.alt { - border: 0; - border-radius: 0; - padding: 0; + .select-wrapper:before { + color: rgba(0, 0, 0, 0.2); + } + + input[type="checkbox"] + label, + input[type="radio"] + label { + color: #000000; + } + + input[type="checkbox"] + label:before, + input[type="radio"] + label:before { + border-color: rgba(0, 0, 0, 0.2); } + input[type="checkbox"]:checked + label:before, + input[type="radio"]:checked + label:before { + background-color: #000000; + border-color: #000000; + color: #ffffff; + } + + input[type="checkbox"]:focus + label:before, + input[type="radio"]:focus + label:before { + border-color: #47D3E5; + box-shadow: 0 0 0 1px #47D3E5; + } + + ::-webkit-input-placeholder { + color: rgba(0, 0, 0, 0.75) !important; + } + + :-moz-placeholder { + color: rgba(0, 0, 0, 0.75) !important; + } + + ::-moz-placeholder { + color: rgba(0, 0, 0, 0.75) !important; + } + + :-ms-input-placeholder { + color: rgba(0, 0, 0, 0.75) !important; + } + + .formerize-placeholder { + color: rgba(0, 0, 0, 0.75) !important; + } + /* Icon */ .icon { text-decoration: none; border-bottom: none; position: relative; + text-align: center; } .icon:before { @@ -2241,93 +2407,97 @@ display: none; } - .icon.style1:before { - color: #c3e895; - } - .icon.style2:before { - color: #8addaa; + border-radius: 2.75em; + display: inline-block; + height: 2.75em; + line-height: 2.75em; + width: 2.75em; } - .icon.style3:before { - color: #6bd4c8; + .icon.major { + display: block; + margin: 0 0 1rem 0; } - .icon.style4:before { - color: #57aed3; - } + .icon.major:before { + font-size: 1.25rem; + } - .icon.style5:before { - color: #4a87d3; - } - - .icon.style6:before { - color: #6b88e6; - } + a.icon.style2:before { + -moz-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out; + -webkit-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out; + -ms-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out; + transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out; + } - .icon.major { - text-decoration: none; - color: #555; - cursor: default; - display: inline-block; - margin: 0 0 1.5em 0; - } + .icon.style2:before { + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); + } - .icon.major:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - font-family: FontAwesome; - font-style: normal; - font-weight: normal; - text-transform: none !important; - } + a.icon.style2:hover:before { + box-shadow: inset 0 0 0 1px #47D3E5; + color: #47D3E5; + } - .icon.major:before { - font-size: 4em; - line-height: 1em; - } + a.icon.style2:active:before { + background-color: rgba(71, 211, 229, 0.1); + box-shadow: inset 0 0 0 1px #47D3E5; + color: #47D3E5; + } /* Image */ .image { - border-radius: 4px; border: 0; + border-radius: 4px; display: inline-block; position: relative; } .image img { - border-radius: 4px; display: block; + border-radius: 4px; + } + + .image.left, .image.right { + width: 40%; + max-width: 10rem; } + .image.left img, .image.right img { + width: 100%; + } + .image.left { float: left; - padding: 0 1.5em 1em 0; - top: 0.25em; + margin: 0 1.5rem 1rem 0; + top: 0.25rem; } .image.right { float: right; - padding: 0 0 1em 1.5em; - top: 0.25em; + margin: 0 0 1rem 1.5rem; + top: 0.25rem; } - .image.left, .image.right { - max-width: 40%; + .image.fit { + display: block; + margin: 0 0 2rem 0; + width: 100%; } - .image.left img, .image.right img { + .image.fit img { width: 100%; } - .image.fit { + .image.main { display: block; - margin: 0 0 2em 0; + margin: 0 0 3rem 0; width: 100%; } - .image.fit img { + .image.main img { width: 100%; } @@ -2335,22 +2505,22 @@ ol { list-style: decimal; - margin: 0 0 2em 0; - padding-left: 1.25em; + margin: 0 0 2rem 0; + padding-left: 1.25rem; } ol li { - padding-left: 0.25em; + padding-left: 0.25rem; } ul { list-style: disc; - margin: 0 0 2em 0; - padding-left: 1em; + margin: 0 0 2rem 0; + padding-left: 1rem; } ul li { - padding-left: 0.5em; + padding-left: 0.5rem; } ul.alt { @@ -2359,8 +2529,8 @@ } ul.alt li { - border-top: solid 1px rgba(144, 144, 144, 0.5); - padding: 0.5em 0; + border-top: solid 1px; + padding: 0.5rem 0; } ul.alt li:first-child { @@ -2376,52 +2546,13 @@ ul.icons li { display: inline-block; - padding: 0 1.25em 0 0; + padding: 0 0.75rem 0 0; } ul.icons li:last-child { padding-right: 0; } - ul.icons li .icon:before { - font-size: 1.5em; - } - - ul.major-icons { - list-style: none; - padding-left: 0; - } - - ul.major-icons li { - display: inline-block; - padding: 2.5em; - text-align: center; - } - - ul.major-icons li .icon { - -moz-transform: rotate(45deg); - -webkit-transform: rotate(45deg); - -ms-transform: rotate(45deg); - transform: rotate(45deg); - border-radius: 4px; - border: solid 1px rgba(144, 144, 144, 0.5); - display: inline-block; - height: 8em; - line-height: 8em; - margin: 0; - text-align: center; - width: 8em; - } - - ul.major-icons li .icon:before { - -moz-transform: rotate(-45deg); - -webkit-transform: rotate(-45deg); - -ms-transform: rotate(-45deg); - transform: rotate(-45deg); - display: inline-block; - line-height: inherit; - } - ul.actions { cursor: default; list-style: none; @@ -2430,7 +2561,7 @@ ul.actions li { display: inline-block; - padding: 0 1em 0 0; + padding: 0 1rem 0 0; vertical-align: middle; } @@ -2439,12 +2570,12 @@ } ul.actions.small li { - padding: 0 0.5em 0 0; + padding: 0 0.5rem 0 0; } ul.actions.vertical li { display: block; - padding: 1em 0 0 0; + padding: 1rem 0 0 0; } ul.actions.vertical li:first-child { @@ -2456,28 +2587,24 @@ } ul.actions.vertical.small li { - padding: 0.5em 0 0 0; + padding: 0.5rem 0 0 0; } ul.actions.vertical.small li:first-child { padding-top: 0; } - ul.actions.uniform li > * { - min-width: 12em; - } - ul.actions.fit { display: table; - margin-left: -1em; + margin-left: -1rem; padding: 0; table-layout: fixed; - width: calc(100% + 1em); + width: calc(100% + 1rem); } ul.actions.fit li { display: table-cell; - padding: 0 0 0 1em; + padding: 0 0 0 1rem; } ul.actions.fit li > * { @@ -2485,57 +2612,158 @@ } ul.actions.fit.small { - margin-left: -0.5em; - width: calc(100% + 0.5em); + margin-left: -0.5rem; + width: calc(100% + 0.5rem); } ul.actions.fit.small li { - padding: 0 0 0 0.5em; + padding: 0 0 0 0.5rem; + } + + @media screen and (max-width: 480px) { + + ul.actions { + margin: 0 0 2rem 0; + } + + ul.actions li { + padding: 1rem 0 0 0; + display: block; + text-align: center; + width: 100%; + } + + ul.actions li:first-child { + padding-top: 0; + } + + ul.actions li > * { + width: 100%; + margin: 0 !important; + } + + ul.actions li > *.icon:before { + margin-left: -2rem; + } + + ul.actions.small li { + padding: 0.5rem 0 0 0; } + ul.actions.small li:first-child { + padding-top: 0; + } + + } + dl { - margin: 0 0 2em 0; + margin: 0 0 2rem 0; + } + + dl dt { + display: block; + font-weight: 400; + margin: 0 0 1rem 0; + } + + dl dd { + margin-left: 2rem; + } + + dl.style2 dt { + width: 25%; + float: left; + } + + dl.style2 dd { + width: 70%; + float: left; + } + + dl.style2:after { + content: ''; + display: block; + clear: both; + } + + ul.alt li { + border-top-color: rgba(0, 0, 0, 0.2); + } + +/* Section/Article */ + + section.special, article.special { + text-align: center; + } + + header p { + position: relative; + margin: -0.65rem 0 1.5rem 0; + font-style: italic; + } + + header h1 + p { + font-size: 1.375rem; + } + + header h2 + p { + font-size: 1.25rem; + } + + header h3 + p { + font-size: 1.1rem; + } + + header h4 + p, + header h5 + p, + header h6 + p { + font-size: 0.9rem; + } + + header p { + color: rgba(0, 0, 0, 0.75); } /* Table */ .table-wrapper { -webkit-overflow-scrolling: touch; + margin: 0 0 2rem 0; overflow-x: auto; } + .table-wrapper > table { + margin-bottom: 0; + } + table { - margin: 0 0 2em 0; + margin: 0 0 2rem 0; width: 100%; } table tbody tr { + border: solid 1px; border-left: 0; border-right: 0; } - table tbody tr:nth-child(2n + 1) { - background-color: rgba(144, 144, 144, 0.075); - } - table td { - padding: 0.75em 0.75em; + padding: 0.75rem 0.75rem; } table th { - color: #555; - font-size: 0.9em; + font-size: 0.9rem; font-weight: 400; - padding: 0 0.75em 0.75em 0.75em; + padding: 0 0.75rem 0.75rem 0.75rem; text-align: left; } table thead { - border-bottom: solid 1px rgba(144, 144, 144, 0.5); + border-bottom: solid 2px; } table tfoot { - border-top: solid 1px rgba(144, 144, 144, 0.5); + border-top: solid 2px; } table.alt { @@ -2543,7 +2771,7 @@ } table.alt tbody tr td { - border: solid 1px rgba(144, 144, 144, 0.5); + border: solid 1px; border-left-width: 0; border-top-width: 0; } @@ -2564,858 +2792,5625 @@ border-top: 0; } -/* Button */ + table.fixed { + table-layout: fixed; + } - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - background-color: transparent; - border-radius: 4px; - border: 0; - box-shadow: inset 0 0 0 1px rgba(144, 144, 144, 0.5); - color: #555 !important; - cursor: pointer; - display: inline-block; - font-size: 0.9em; - font-weight: 400; - height: 2.75em; - letter-spacing: 0.125em; - line-height: 2.75em; - padding: 0 2em; - text-align: center; - text-decoration: none; - text-indent: 0.125em; - text-transform: uppercase; - white-space: nowrap; + table tbody tr { + border-color: rgba(0, 0, 0, 0.2); } - input[type="submit"]:hover, - input[type="reset"]:hover, - input[type="button"]:hover, - button:hover, - .button:hover { - background-color: rgba(144, 144, 144, 0.075); + table tbody tr:nth-child(2n + 1) { + background-color: rgba(0, 0, 0, 0.05); } - input[type="submit"]:active, - input[type="reset"]:active, - input[type="button"]:active, - button:active, - .button:active { - background-color: rgba(144, 144, 144, 0.2); + table tbody tr.alt { + background-color: rgba(0, 0, 0, 0.05) !important; } - input[type="submit"].icon, - input[type="reset"].icon, - input[type="button"].icon, - button.icon, - .button.icon { - padding-left: 1.35em; + table th { + color: #000000; + } + + table thead { + border-bottom-color: rgba(0, 0, 0, 0.2); + } + + table tfoot { + border-top-color: rgba(0, 0, 0, 0.2); + } + + table.alt tbody tr td { + border-color: rgba(0, 0, 0, 0.2); + } + + table.uniform tbody tr:nth-child(2n + 1) { + background-color: transparent; + } + +/* Banner (transitions) */ + + .banner.onload-content-fade-up .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + body.is-loading .banner.onload-content-fade-up .content { + -moz-transform: translateY(1rem); + -webkit-transform: translateY(1rem); + -ms-transform: translateY(1rem); + transform: translateY(1rem); + opacity: 0; + } + + .banner.onload-content-fade-down .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + body.is-loading .banner.onload-content-fade-down .content { + -moz-transform: translateY(-1rem); + -webkit-transform: translateY(-1rem); + -ms-transform: translateY(-1rem); + transform: translateY(-1rem); + opacity: 0; + } + + .banner.onload-content-fade-left .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + body.is-loading .banner.onload-content-fade-left .content { + -moz-transform: translateX(1rem); + -webkit-transform: translateX(1rem); + -ms-transform: translateX(1rem); + transform: translateX(1rem); + opacity: 0; + } + + .banner.onload-content-fade-right .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + body.is-loading .banner.onload-content-fade-right .content { + -moz-transform: translateX(-1rem); + -webkit-transform: translateX(-1rem); + -ms-transform: translateX(-1rem); + transform: translateX(-1rem); + opacity: 0; + } + + .banner.onload-content-fade-in .content { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + } + + body.is-loading .banner.onload-content-fade-in .content { + opacity: 0; + } + + .banner.onload-image-fade-up .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .banner.onload-image-fade-up .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; } - input[type="submit"].icon:before, - input[type="reset"].icon:before, - input[type="button"].icon:before, - button.icon:before, - .button.icon:before { - margin-right: 0.5em; - } + body.is-loading .banner.onload-image-fade-up .image { + -moz-transform: translateY(1rem); + -webkit-transform: translateY(1rem); + -ms-transform: translateY(1rem); + transform: translateY(1rem); + opacity: 0; + } - input[type="submit"].fit, - input[type="reset"].fit, - input[type="button"].fit, - button.fit, - .button.fit { - display: block; - margin: 0 0 1em 0; - width: 100%; + body.is-loading .banner.onload-image-fade-up .image img { + opacity: 0; } - input[type="submit"].small, - input[type="reset"].small, - input[type="button"].small, - button.small, - .button.small { - font-size: 0.7em; + .banner.onload-image-fade-down .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .banner.onload-image-fade-down .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; } - input[type="submit"].big, - input[type="reset"].big, - input[type="button"].big, - button.big, - .button.big { - font-size: 1.25em; + body.is-loading .banner.onload-image-fade-down .image { + -moz-transform: translateY(-1rem); + -webkit-transform: translateY(-1rem); + -ms-transform: translateY(-1rem); + transform: translateY(-1rem); + opacity: 0; + } + + body.is-loading .banner.onload-image-fade-down .image img { + opacity: 0; } - input[type="submit"].special, - input[type="reset"].special, - input[type="button"].special, - button.special, - .button.special { - background-color: #555; - box-shadow: none !important; - color: #fff !important; + .banner.onload-image-fade-left .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .banner.onload-image-fade-left .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; } - input[type="submit"].special:hover, - input[type="reset"].special:hover, - input[type="button"].special:hover, - button.special:hover, - .button.special:hover { - background-color: #626262; - } + body.is-loading .banner.onload-image-fade-left .image { + -moz-transform: translateX(1rem); + -webkit-transform: translateX(1rem); + -ms-transform: translateX(1rem); + transform: translateX(1rem); + opacity: 0; + } - input[type="submit"].special:active, - input[type="reset"].special:active, - input[type="button"].special:active, - button.special:active, - .button.special:active { - background-color: #484848; - } + body.is-loading .banner.onload-image-fade-left .image img { + opacity: 0; + } - input[type="submit"].disabled, input[type="submit"]:disabled, - input[type="reset"].disabled, - input[type="reset"]:disabled, - input[type="button"].disabled, - input[type="button"]:disabled, - button.disabled, - button:disabled, - .button.disabled, - .button:disabled { - cursor: default; - opacity: 0.25; + .banner.onload-image-fade-right .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .banner.onload-image-fade-right .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; + } + + body.is-loading .banner.onload-image-fade-right .image { + -moz-transform: translateX(-1rem); + -webkit-transform: translateX(-1rem); + -ms-transform: translateX(-1rem); + transform: translateX(-1rem); + opacity: 0; + } + + body.is-loading .banner.onload-image-fade-right .image img { + opacity: 0; + } + + .banner.onload-image-fade-in .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + } + + body.is-loading .banner.onload-image-fade-in .image img { + opacity: 0; + } + + .banner.onscroll-content-fade-up .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .banner.onscroll-content-fade-up.is-inactive .content { + -moz-transform: translateY(1rem); + -webkit-transform: translateY(1rem); + -ms-transform: translateY(1rem); + transform: translateY(1rem); + opacity: 0; + } + + .banner.onscroll-content-fade-down .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .banner.onscroll-content-fade-down.is-inactive .content { + -moz-transform: translateY(-1rem); + -webkit-transform: translateY(-1rem); + -ms-transform: translateY(-1rem); + transform: translateY(-1rem); + opacity: 0; + } + + .banner.onscroll-content-fade-left .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .banner.onscroll-content-fade-left.is-inactive .content { + -moz-transform: translateX(1rem); + -webkit-transform: translateX(1rem); + -ms-transform: translateX(1rem); + transform: translateX(1rem); + opacity: 0; + } + + .banner.onscroll-content-fade-right .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .banner.onscroll-content-fade-right.is-inactive .content { + -moz-transform: translateX(-1rem); + -webkit-transform: translateX(-1rem); + -ms-transform: translateX(-1rem); + transform: translateX(-1rem); + opacity: 0; + } + + .banner.onscroll-content-fade-in .content { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + } + + .banner.onscroll-content-fade-in.is-inactive .content { + opacity: 0; + } + + .banner.onscroll-image-fade-up .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .banner.onscroll-image-fade-up .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; + } + + .banner.onscroll-image-fade-up.is-inactive .image { + -moz-transform: translateY(1rem); + -webkit-transform: translateY(1rem); + -ms-transform: translateY(1rem); + transform: translateY(1rem); + opacity: 0; + } + + .banner.onscroll-image-fade-up.is-inactive .image img { + opacity: 0; + } + + .banner.onscroll-image-fade-down .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .banner.onscroll-image-fade-down .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; + } + + .banner.onscroll-image-fade-down.is-inactive .image { + -moz-transform: translateY(-1rem); + -webkit-transform: translateY(-1rem); + -ms-transform: translateY(-1rem); + transform: translateY(-1rem); + opacity: 0; + } + + .banner.onscroll-image-fade-down.is-inactive .image img { + opacity: 0; + } + + .banner.onscroll-image-fade-left .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .banner.onscroll-image-fade-left .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; + } + + .banner.onscroll-image-fade-left.is-inactive .image { + -moz-transform: translateX(1rem); + -webkit-transform: translateX(1rem); + -ms-transform: translateX(1rem); + transform: translateX(1rem); + opacity: 0; + } + + .banner.onscroll-image-fade-left.is-inactive .image img { + opacity: 0; + } + + .banner.onscroll-image-fade-right .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .banner.onscroll-image-fade-right .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; + } + + .banner.onscroll-image-fade-right.is-inactive .image { + -moz-transform: translateX(-1rem); + -webkit-transform: translateX(-1rem); + -ms-transform: translateX(-1rem); + transform: translateX(-1rem); + opacity: 0; + } + + .banner.onscroll-image-fade-right.is-inactive .image img { + opacity: 0; + } + + .banner.onscroll-image-fade-in .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + } + + .banner.onscroll-image-fade-in.is-inactive .image img { + opacity: 0; + } + +/* Banner (style1) */ + + .banner.style1 { + -moz-align-items: stretch; + -webkit-align-items: stretch; + -ms-align-items: stretch; + align-items: stretch; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-direction: row; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -moz-justify-content: -moz-flex-end; + -webkit-justify-content: -webkit-flex-end; + -ms-justify-content: -ms-flex-end; + justify-content: flex-end; + position: relative; + text-align: left; + overflow-x: hidden; + } + + .banner.style1 .content { + padding: 7rem 7rem 5rem 7rem ; + -moz-align-self: center; + -webkit-align-self: center; + -ms-align-self: center; + align-self: center; + -moz-flex-grow: 1; + -webkit-flex-grow: 1; + -ms-flex-grow: 1; + flex-grow: 1; + -moz-flex-shrink: 1; + -webkit-flex-shrink: 1; + -ms-flex-shrink: 1; + flex-shrink: 1; + width: 50%; + max-width: 48rem; + margin: 0 auto; + } + + .banner.style1 .image { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + border-radius: 0; + width: 50%; + } + + .banner.style1 .image img { + -moz-object-fit: cover; + -webkit-object-fit: cover; + -ms-object-fit: cover; + object-fit: cover; + -moz-object-position: center; + -webkit-object-position: center; + -ms-object-position: center; + object-position: center; + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border-radius: 0; + } + + @media screen and (max-width: 1680px) { + + .banner.style1 .content { + padding: 5rem 5rem 3rem 5rem ; + } + + } + + @media screen and (max-width: 1280px) { + + .banner.style1 .content { + padding: 4rem 4rem 2rem 4rem ; + } + + } + + @media screen and (max-width: 980px) { + + .banner.style1 .content { + padding: 3.75rem 3rem 1.75rem 3rem ; + } + + } + + @media screen and (max-width: 736px) { + + .banner.style1 .content { + padding: 2.5rem 2rem 0.5rem 2rem ; + } + + } + + @media screen and (orientation: portrait) { + + .banner.style1 { + -moz-flex-direction: column-reverse; + -webkit-flex-direction: column-reverse; + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; + text-align: center; + } + + .banner.style1 .content { + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-direction: column; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + width: 100%; + max-width: 100%; + } + + .banner.style1 .image { + width: 100%; + max-width: 100%; + height: 45vh; + } + + } + + .banner.style1.fullscreen { + min-height: 100vh; + } + + @media screen and (orientation: portrait) { + + .banner.style1.fullscreen .content { + min-height: 50vh; + } + + .banner.style1.fullscreen .image { + height: 50vh; + } + + } + + .banner.style1.orient-right { + -moz-flex-direction: row-reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + } + + @media screen and (orientation: portrait) { + + .banner.style1.orient-right { + -moz-flex-direction: column-reverse; + -webkit-flex-direction: column-reverse; + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; + } + + } + + .banner.style1.content-align-center { + text-align: center; + } + + .banner.style1.content-align-right { + text-align: right; + } + + @media screen and (orientation: portrait) { + + .banner.style1.content-align-right { + text-align: center; + } + + } + + .banner.style1.image-position-left .image img { + -moz-object-position: left; + -webkit-object-position: left; + -ms-object-position: left; + object-position: left; + } + + .banner.style1.image-position-right .image img { + -moz-object-position: right; + -webkit-object-position: right; + -ms-object-position: right; + object-position: right; + } + +/* Banner (style2) */ + + .banner.style2 { + padding: 5.25rem 5.25rem 3.25rem 5.25rem ; + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + background-color: inherit; + position: relative; + text-align: center; + overflow-x: hidden; + } + + .banner.style2 .content { + padding: 5.25rem 5.25rem 3.25rem 5.25rem ; + position: relative; + width: 40rem; + max-width: 100%; + background-color: inherit; + border-radius: 0.5rem; + margin-bottom: 2rem; + z-index: 1; + } + + .banner.style2 .image { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + border-radius: 0; + } + + .banner.style2 .image img { + -moz-object-fit: cover; + -webkit-object-fit: cover; + -ms-object-fit: cover; + object-fit: cover; + -moz-object-position: center; + -webkit-object-position: center; + -ms-object-position: center; + object-position: center; + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border-radius: 0; + } + + @media screen and (max-width: 1680px) { + + .banner.style2 { + padding: 3.75rem 3.75rem 1.75rem 3.75rem ; + } + + .banner.style2 .content { + padding: 3.75rem 3.75rem 1.75rem 3.75rem ; + } + + } + + @media screen and (max-width: 1280px) { + + .banner.style2 { + padding: 4rem 3rem 2rem 3rem ; + } + + .banner.style2 .content { + padding: 4rem 3rem 2rem 3rem ; + } + + } + + @media screen and (max-width: 980px) { + + .banner.style2 { + padding: 3rem 3rem 1rem 3rem ; + } + + .banner.style2 .content { + padding: 3.75rem 2.25rem 1.75rem 2.25rem ; + } + + } + + @media screen and (max-width: 736px) { + + .banner.style2 { + padding: 2rem 2rem 0.1rem 2rem ; + } + + .banner.style2 .content { + padding: 2.5rem 1.5rem 0.5rem 1.5rem ; + } + + } + + .banner.style2.fullscreen { + min-height: 100vh; + } + + .banner.style2.orient-left { + -moz-justify-content: -moz-flex-start; + -webkit-justify-content: -webkit-flex-start; + -ms-justify-content: -ms-flex-start; + justify-content: flex-start; + padding-left: 0; + } + + .banner.style2.orient-left .content { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + + .banner.style2.orient-right { + -moz-justify-content: -moz-flex-end; + -webkit-justify-content: -webkit-flex-end; + -ms-justify-content: -ms-flex-end; + justify-content: flex-end; + padding-right: 0; + } + + .banner.style2.orient-right .content { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + .banner.style2.content-align-left { + text-align: left; + } + + .banner.style2.content-align-right { + text-align: right; + } + + .banner.style2.image-position-left .image img { + -moz-object-position: left; + -webkit-object-position: left; + -ms-object-position: left; + object-position: left; + } + + .banner.style2.image-position-right .image img { + -moz-object-position: right; + -webkit-object-position: right; + -ms-object-position: right; + object-position: right; + } + +/* Banner (style3) */ + + .banner.style3 { + padding: 7rem 7rem 5rem 7rem ; + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-direction: row-reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + position: relative; + text-align: left; + overflow-x: hidden; + } + + .banner.style3 .content { + width: 31.5rem; + max-width: 100%; + } + + .banner.style3 .image { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + width: 21rem; + height: 21rem; + border-radius: 100%; + margin: 0 3.5rem 2rem 0; + } + + .banner.style3 .image img { + -moz-object-fit: cover; + -webkit-object-fit: cover; + -ms-object-fit: cover; + object-fit: cover; + -moz-object-position: center; + -webkit-object-position: center; + -ms-object-position: center; + object-position: center; + display: block; + width: 100%; + height: 100%; + border-radius: 100%; + } + + @media screen and (max-width: 1680px) { + + .banner.style3 { + padding: 5rem 5rem 3rem 5rem ; + } + + } + + @media screen and (max-width: 1280px) { + + .banner.style3 { + padding: 4rem 4rem 2rem 4rem ; + } + + } + + @media screen and (max-width: 980px) { + + .banner.style3 { + padding: 3.75rem 3rem 1.75rem 3rem ; + } + + .banner.style3 .image { + width: 18.375rem; + height: 18.375rem; + } + + } + + @media screen and (max-width: 736px) { + + .banner.style3 { + padding: 2.5rem 2rem 0.5rem 2rem ; + -moz-align-items: -moz-flex-start; + -webkit-align-items: -webkit-flex-start; + -ms-align-items: -ms-flex-start; + align-items: flex-start; + } + + .banner.style3 .image { + width: 15.75rem; + height: 15.75rem; + margin: 0 2rem 2rem 0; + } + + } + + @media screen and (orientation: portrait) { + + .banner.style3 { + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + -moz-flex-direction: column-reverse; + -webkit-flex-direction: column-reverse; + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; + text-align: center; + } + + .banner.style3 .content { + width: 34rem; + max-width: 100%; + } + + .banner.style3 .image { + margin-right: 0; + } + + } + + .banner.style3.fullscreen { + min-height: 100vh; + } + + .banner.style3.orient-left { + -moz-flex-direction: row; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + } + + .banner.style3.orient-left .image { + margin: 0 0 2rem 3.5rem; + } + + @media screen and (max-width: 736px) { + + .banner.style3.orient-left .image { + margin: 0 0 2rem 2rem; + } + + } + + @media screen and (orientation: portrait) { + + .banner.style3.orient-left { + -moz-flex-direction: column-reverse; + -webkit-flex-direction: column-reverse; + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; + } + + .banner.style3.orient-left .image { + margin-left: 0; + } + + } + + .banner.style3.content-align-center { + text-align: center; + } + + .banner.style3.content-align-right { + text-align: right; + } + + .banner.style3.image-position-left .image img { + -moz-object-position: left; + -webkit-object-position: left; + -ms-object-position: left; + object-position: left; + } + + .banner.style3.image-position-right .image img { + -moz-object-position: right; + -webkit-object-position: right; + -ms-object-position: right; + object-position: right; + } + +/* Banner (style4) */ + + .banner.style4 { + padding: 7rem 7rem 5rem 7rem ; + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-direction: row-reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + position: relative; + text-align: left; + overflow-x: hidden; + } + + .banner.style4 .content { + width: 31.5rem; + max-width: 100%; + } + + .banner.style4 .image { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + border-radius: 0; + border: solid 1px; + width: 13rem; + height: 23.11111rem; + margin-top: 2.5rem; + margin-bottom: 5rem; + margin-right: 3.5rem; + } + + .banner.style4 .image img { + -moz-object-fit: cover; + -webkit-object-fit: cover; + -ms-object-fit: cover; + object-fit: cover; + -moz-object-position: center; + -webkit-object-position: center; + -ms-object-position: center; + object-position: center; + display: block; + width: 100%; + height: 100%; + border-radius: 0; + } + + .banner.style4 .image:before { + content: ''; + display: block; + background-position: center; + background-repeat: no-repeat; + border: solid 1px; + border-bottom: 0; + } + + .banner.style4 .image:after { + content: ''; + display: block; + background-position: center; + background-repeat: no-repeat; + border: solid 1px; + border-top: 0; + } + + .banner.style4 .image:before { + height: 2.5rem; + background-size: 64px 32px; + margin-top: -2.5rem; + border-radius: 1rem 1rem 0 0; + } + + .banner.style4 .image:after { + height: 3rem; + background-size: 64px 32px; + margin-bottom: -3rem; + border-radius: 0 0 1rem 1rem; + } + + @media screen and (max-width: 1680px) { + + .banner.style4 { + padding: 5rem 5rem 3rem 5rem ; + } + + } + + @media screen and (max-width: 1280px) { + + .banner.style4 { + padding: 4rem 4rem 2rem 4rem ; + } + + } + + @media screen and (max-width: 980px) { + + .banner.style4 { + padding: 3.75rem 3rem 1.75rem 3rem ; + } + + .banner.style4 .image { + width: 11.375rem; + height: 20.22222rem; + margin-top: 2.1875rem; + margin-bottom: 4.625rem; + } + + .banner.style4 .image:before { + height: 2.1875rem; + background-size: 56px 28px; + margin-top: -2.1875rem; + border-radius: 0.875rem 0.875rem 0 0; + } + + .banner.style4 .image:after { + height: 2.625rem; + background-size: 56px 28px; + margin-bottom: -2.625rem; + border-radius: 0 0 0.875rem 0.875rem; + } + + } + + @media screen and (max-width: 736px) { + + .banner.style4 { + padding: 2.5rem 2rem 0.5rem 2rem ; + -moz-align-items: -moz-flex-start; + -webkit-align-items: -webkit-flex-start; + -ms-align-items: -ms-flex-start; + align-items: flex-start; + } + + .banner.style4 .image { + width: 8.125rem; + height: 14.44444rem; + margin-top: 1.5625rem; + margin-bottom: 3.875rem; + } + + .banner.style4 .image:before { + height: 1.5625rem; + background-size: 40px 20px; + margin-top: -1.5625rem; + border-radius: 0.625rem 0.625rem 0 0; + } + + .banner.style4 .image:after { + height: 1.875rem; + background-size: 40px 20px; + margin-bottom: -1.875rem; + border-radius: 0 0 0.625rem 0.625rem; + } + + } + + @media screen and (orientation: portrait) { + + .banner.style4 { + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + -moz-flex-direction: column-reverse; + -webkit-flex-direction: column-reverse; + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; + text-align: center; + } + + .banner.style4 .content { + width: 34rem; + max-width: 100%; + } + + .banner.style4 .image { + margin-right: 0; + margin-left: 0; + } + + } + + .banner.style4.fullscreen { + min-height: 100vh; + } + + .banner.style4.orient-left { + -moz-flex-direction: row; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + } + + .banner.style4.orient-left .image { + margin-right: 0; + margin-left: 3.5rem; + } + + @media screen and (orientation: portrait) { + + .banner.style4.orient-left { + -moz-flex-direction: column-reverse; + -webkit-flex-direction: column-reverse; + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; + } + + .banner.style4.orient-left .image { + margin-right: 0; + margin-left: 0; + } + + } + + .banner.style4.content-align-center { + text-align: center; + } + + .banner.style4.content-align-right { + text-align: right; + } + + .banner.style4.image-position-left .image img { + -moz-object-position: left; + -webkit-object-position: left; + -ms-object-position: left; + object-position: left; + } + + .banner.style4.image-position-right .image img { + -moz-object-position: right; + -webkit-object-position: right; + -ms-object-position: right; + object-position: right; + } + +/* Banner (style5) */ + + .banner.style5 { + padding: 7rem 7rem 5rem 7rem ; + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + background-color: inherit; + position: relative; + text-align: center; + overflow-x: hidden; + } + + .banner.style5 .content { + position: relative; + width: 40rem; + max-width: 100%; + margin-bottom: 2rem; + z-index: 1; + } + + .banner.style5 .image { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + border-radius: 0; + opacity: 0.5; + } + + .banner.style5 .image img { + -moz-object-fit: cover; + -webkit-object-fit: cover; + -ms-object-fit: cover; + object-fit: cover; + -moz-object-position: center; + -webkit-object-position: center; + -ms-object-position: center; + object-position: center; + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border-radius: 0; + } + + @media screen and (max-width: 1680px) { + + .banner.style5 { + padding: 5rem 5rem 3rem 5rem ; + } + + } + + @media screen and (max-width: 1280px) { + + .banner.style5 { + padding: 4rem 4rem 2rem 4rem ; + } + + } + + @media screen and (max-width: 980px) { + + .banner.style5 { + padding: 3.75rem 3rem 1.75rem 3rem ; + } + + } + + @media screen and (max-width: 736px) { + + .banner.style5 { + padding: 2.5rem 2rem 0.5rem 2rem ; + } + + } + + .banner.style5.fullscreen { + min-height: 100vh; + } + + .banner.style5.content-align-left { + text-align: left; + } + + .banner.style5.content-align-right { + text-align: right; + } + + .banner.style5.image-position-left .image img { + -moz-object-position: left; + -webkit-object-position: left; + -ms-object-position: left; + object-position: left; + } + + .banner.style5.image-position-right .image img { + -moz-object-position: right; + -webkit-object-position: right; + -ms-object-position: right; + object-position: right; + } + + .banner .image { + background-color: rgba(0, 0, 0, 0.125); + } + + .banner.invert .image { + background-color: rgba(255, 255, 255, 0.125); + } + + .banner.style4 .image { + border-color: rgba(0, 0, 0, 0.2); + background-color: rgba(0, 0, 0, 0.2); + border-width: 0; + } + + .banner.style4 .image:before { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Erect %7Bfill: transparent%3B stroke: rgba(0, 0, 0, 0.2)%3B stroke-width: 1px%3B %7D%3C/style%3E%3Crect rx='4' ry='4' x='11' y='12' width='42' height='8' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + border-color: rgba(0, 0, 0, 0.2); + width: 100%; + } + + .banner.style4 .image:after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Ecircle %7Bfill: transparent%3B stroke: rgba(0, 0, 0, 0.2)%3B stroke-width: 1px%3B %7D%3C/style%3E%3Ccircle cx='32' cy='16' r='14' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + border-color: rgba(0, 0, 0, 0.2); + width: 100%; + } + + .banner.style4.android .image:after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Erect %7Bfill: transparent%3B stroke: rgba(0, 0, 0, 0.2)%3B stroke-width: 1px%3B %7D%3C/style%3E%3Crect rx='4' ry='4' x='6' y='4' width='52' height='24' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + } + + .banner.style4.invert .image { + border-color: white; + background-color: white; + border-width: 1px; + } + + .banner.style4.invert .image:before { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Erect %7Bfill: transparent%3B stroke: white%3B stroke-width: 1px%3B %7D%3C/style%3E%3Crect rx='4' ry='4' x='11' y='12' width='42' height='8' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + border-color: white; + width: calc(100% + 2px); + margin-left: -1px; + } + + .banner.style4.invert .image:after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Ecircle %7Bfill: transparent%3B stroke: white%3B stroke-width: 1px%3B %7D%3C/style%3E%3Ccircle cx='32' cy='16' r='14' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + border-color: white; + width: calc(100% + 2px); + margin-left: -1px; + } + + .banner.style4.invert.android .image:after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Erect %7Bfill: transparent%3B stroke: white%3B stroke-width: 1px%3B %7D%3C/style%3E%3Crect rx='4' ry='4' x='6' y='4' width='52' height='24' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + } + +/* Spotlight (transitions) */ + + .spotlight.onload-content-fade-up .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + body.is-loading .spotlight.onload-content-fade-up .content { + -moz-transform: translateY(1rem); + -webkit-transform: translateY(1rem); + -ms-transform: translateY(1rem); + transform: translateY(1rem); + opacity: 0; + } + + .spotlight.onload-content-fade-down .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + body.is-loading .spotlight.onload-content-fade-down .content { + -moz-transform: translateY(-1rem); + -webkit-transform: translateY(-1rem); + -ms-transform: translateY(-1rem); + transform: translateY(-1rem); + opacity: 0; + } + + .spotlight.onload-content-fade-left .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + body.is-loading .spotlight.onload-content-fade-left .content { + -moz-transform: translateX(1rem); + -webkit-transform: translateX(1rem); + -ms-transform: translateX(1rem); + transform: translateX(1rem); + opacity: 0; + } + + .spotlight.onload-content-fade-right .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + body.is-loading .spotlight.onload-content-fade-right .content { + -moz-transform: translateX(-1rem); + -webkit-transform: translateX(-1rem); + -ms-transform: translateX(-1rem); + transform: translateX(-1rem); + opacity: 0; + } + + .spotlight.onload-content-fade-in .content { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + } + + body.is-loading .spotlight.onload-content-fade-in .content { + opacity: 0; + } + + .spotlight.onload-image-fade-up .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .spotlight.onload-image-fade-up .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; + } + + body.is-loading .spotlight.onload-image-fade-up .image { + -moz-transform: translateY(1rem); + -webkit-transform: translateY(1rem); + -ms-transform: translateY(1rem); + transform: translateY(1rem); + opacity: 0; + } + + body.is-loading .spotlight.onload-image-fade-up .image img { + opacity: 0; + } + + .spotlight.onload-image-fade-down .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .spotlight.onload-image-fade-down .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; + } + + body.is-loading .spotlight.onload-image-fade-down .image { + -moz-transform: translateY(-1rem); + -webkit-transform: translateY(-1rem); + -ms-transform: translateY(-1rem); + transform: translateY(-1rem); + opacity: 0; + } + + body.is-loading .spotlight.onload-image-fade-down .image img { + opacity: 0; + } + + .spotlight.onload-image-fade-left .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .spotlight.onload-image-fade-left .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; + } + + body.is-loading .spotlight.onload-image-fade-left .image { + -moz-transform: translateX(1rem); + -webkit-transform: translateX(1rem); + -ms-transform: translateX(1rem); + transform: translateX(1rem); + opacity: 0; + } + + body.is-loading .spotlight.onload-image-fade-left .image img { + opacity: 0; + } + + .spotlight.onload-image-fade-right .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .spotlight.onload-image-fade-right .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; + } + + body.is-loading .spotlight.onload-image-fade-right .image { + -moz-transform: translateX(-1rem); + -webkit-transform: translateX(-1rem); + -ms-transform: translateX(-1rem); + transform: translateX(-1rem); + opacity: 0; + } + + body.is-loading .spotlight.onload-image-fade-right .image img { + opacity: 0; + } + + .spotlight.onload-image-fade-in .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + } + + body.is-loading .spotlight.onload-image-fade-in .image img { + opacity: 0; + } + + .spotlight.onscroll-content-fade-up .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .spotlight.onscroll-content-fade-up.is-inactive .content { + -moz-transform: translateY(1rem); + -webkit-transform: translateY(1rem); + -ms-transform: translateY(1rem); + transform: translateY(1rem); + opacity: 0; + } + + .spotlight.onscroll-content-fade-down .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .spotlight.onscroll-content-fade-down.is-inactive .content { + -moz-transform: translateY(-1rem); + -webkit-transform: translateY(-1rem); + -ms-transform: translateY(-1rem); + transform: translateY(-1rem); + opacity: 0; + } + + .spotlight.onscroll-content-fade-left .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .spotlight.onscroll-content-fade-left.is-inactive .content { + -moz-transform: translateX(1rem); + -webkit-transform: translateX(1rem); + -ms-transform: translateX(1rem); + transform: translateX(1rem); + opacity: 0; + } + + .spotlight.onscroll-content-fade-right .content { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .spotlight.onscroll-content-fade-right.is-inactive .content { + -moz-transform: translateX(-1rem); + -webkit-transform: translateX(-1rem); + -ms-transform: translateX(-1rem); + transform: translateX(-1rem); + opacity: 0; + } + + .spotlight.onscroll-content-fade-in .content { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + } + + .spotlight.onscroll-content-fade-in.is-inactive .content { + opacity: 0; + } + + .spotlight.onscroll-image-fade-up .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .spotlight.onscroll-image-fade-up .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; + } + + .spotlight.onscroll-image-fade-up.is-inactive .image { + -moz-transform: translateY(1rem); + -webkit-transform: translateY(1rem); + -ms-transform: translateY(1rem); + transform: translateY(1rem); + opacity: 0; + } + + .spotlight.onscroll-image-fade-up.is-inactive .image img { + opacity: 0; + } + + .spotlight.onscroll-image-fade-down .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .spotlight.onscroll-image-fade-down .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; + } + + .spotlight.onscroll-image-fade-down.is-inactive .image { + -moz-transform: translateY(-1rem); + -webkit-transform: translateY(-1rem); + -ms-transform: translateY(-1rem); + transform: translateY(-1rem); + opacity: 0; + } + + .spotlight.onscroll-image-fade-down.is-inactive .image img { + opacity: 0; + } + + .spotlight.onscroll-image-fade-left .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .spotlight.onscroll-image-fade-left .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; + } + + .spotlight.onscroll-image-fade-left.is-inactive .image { + -moz-transform: translateX(1rem); + -webkit-transform: translateX(1rem); + -ms-transform: translateX(1rem); + transform: translateX(1rem); + opacity: 0; + } + + .spotlight.onscroll-image-fade-left.is-inactive .image img { + opacity: 0; + } + + .spotlight.onscroll-image-fade-right .image { + -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; + } + + .spotlight.onscroll-image-fade-right .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 0.5625s; + -webkit-transition-delay: 0.5625s; + -ms-transition-delay: 0.5625s; + transition-delay: 0.5625s; + } + + .spotlight.onscroll-image-fade-right.is-inactive .image { + -moz-transform: translateX(-1rem); + -webkit-transform: translateX(-1rem); + -ms-transform: translateX(-1rem); + transform: translateX(-1rem); + opacity: 0; + } + + .spotlight.onscroll-image-fade-right.is-inactive .image img { + opacity: 0; + } + + .spotlight.onscroll-image-fade-in .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + } + + .spotlight.onscroll-image-fade-in.is-inactive .image img { + opacity: 0; + } + +/* Spotlight (style1) */ + + .spotlight.style1 { + -moz-align-items: stretch; + -webkit-align-items: stretch; + -ms-align-items: stretch; + align-items: stretch; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-direction: row; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -moz-justify-content: -moz-flex-end; + -webkit-justify-content: -webkit-flex-end; + -ms-justify-content: -ms-flex-end; + justify-content: flex-end; + position: relative; + overflow-x: hidden; + text-align: left; + } + + .spotlight.style1 .content { + padding: 7rem 7rem 5rem 7rem ; + -moz-align-self: center; + -webkit-align-self: center; + -ms-align-self: center; + align-self: center; + -moz-flex-grow: 1; + -webkit-flex-grow: 1; + -ms-flex-grow: 1; + flex-grow: 1; + -moz-flex-shrink: 1; + -webkit-flex-shrink: 1; + -ms-flex-shrink: 1; + flex-shrink: 1; + width: 65%; + max-width: 64rem; + margin: 0 auto; + } + + .spotlight.style1 .image { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + width: 35%; + min-width: 25rem; + border-radius: 0; + } + + .spotlight.style1 .image img { + -moz-object-fit: cover; + -webkit-object-fit: cover; + -ms-object-fit: cover; + object-fit: cover; + -moz-object-position: center; + -webkit-object-position: center; + -ms-object-position: center; + object-position: center; + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border-radius: 0; + } + + @media screen and (max-width: 1680px) { + + .spotlight.style1 .content { + padding: 5rem 5rem 3rem 5rem ; + } + + } + + @media screen and (max-width: 1280px) { + + .spotlight.style1 .content { + padding: 4rem 4rem 2rem 4rem ; + } + + } + + @media screen and (max-width: 980px) { + + .spotlight.style1 .content { + padding: 3.75rem 3rem 1.75rem 3rem ; + width: 50%; + min-width: 0; + } + + .spotlight.style1 .image { + width: 50%; + min-width: 0; + } + + } + + @media screen and (max-width: 736px) { + + .spotlight.style1 .content { + padding: 2.5rem 2rem 0.5rem 2rem ; + } + + } + + @media screen and (max-width: 736px) and (orientation: portrait) { + + .spotlight.style1 { + -moz-flex-direction: column-reverse; + -webkit-flex-direction: column-reverse; + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; + text-align: center !important; + } + + .spotlight.style1 .content { + width: 100%; + } + + .spotlight.style1 .image { + width: 100%; + } + + .spotlight.style1 .image img { + position: relative; + } + + } + + .spotlight.style1.orient-right { + -moz-flex-direction: row-reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + } + + @media screen and (max-width: 736px) and (orientation: portrait) { + + .spotlight.style1.orient-right { + -moz-flex-direction: column-reverse; + -webkit-flex-direction: column-reverse; + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; + } + + } + + .spotlight.style1.content-align-center { + text-align: center; + } + + .spotlight.style1.content-align-right { + text-align: right; + } + + .spotlight.style1.image-position-left .image img { + -moz-object-position: left; + -webkit-object-position: left; + -ms-object-position: left; + object-position: left; + } + + .spotlight.style1.image-position-right .image img { + -moz-object-position: right; + -webkit-object-position: right; + -ms-object-position: right; + object-position: right; + } + +/* Spotlight (style2) */ + + .spotlight.style2 { + padding: 7rem 7rem 5rem 7rem ; + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-direction: row-reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + position: relative; + overflow-x: hidden; + text-align: left; + } + + .spotlight.style2 .content { + width: 44.5rem; + max-width: 100%; + } + + .spotlight.style2 .image { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + width: 21rem; + height: 21rem; + border-radius: 100%; + margin: 0 3.5rem 2rem 0; + } + + .spotlight.style2 .image img { + -moz-object-fit: cover; + -webkit-object-fit: cover; + -ms-object-fit: cover; + object-fit: cover; + -moz-object-position: center; + -webkit-object-position: center; + -ms-object-position: center; + object-position: center; + display: block; + width: 100%; + height: 100%; + border-radius: 100%; + } + + @media screen and (max-width: 1680px) { + + .spotlight.style2 { + padding: 5rem 5rem 3rem 5rem ; + } + + } + + @media screen and (max-width: 1280px) { + + .spotlight.style2 { + padding: 4rem 4rem 2rem 4rem ; + } + + } + + @media screen and (max-width: 980px) { + + .spotlight.style2 { + padding: 3.75rem 3rem 1.75rem 3rem ; + } + + .spotlight.style2 .image { + width: 18.375rem; + height: 18.375rem; + } + + } + + @media screen and (max-width: 736px) { + + .spotlight.style2 { + padding: 2.5rem 2rem 0.5rem 2rem ; + -moz-align-items: -moz-flex-start; + -webkit-align-items: -webkit-flex-start; + -ms-align-items: -ms-flex-start; + align-items: flex-start; + } + + .spotlight.style2 .image { + width: 15.75rem; + height: 15.75rem; + margin: 0 2rem 2rem 0; + } + + } + + @media screen and (orientation: portrait) { + + .spotlight.style2 { + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + -moz-flex-direction: column-reverse; + -webkit-flex-direction: column-reverse; + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; + text-align: center !important; + } + + .spotlight.style2 .content { + width: 34rem; + max-width: 100%; + } + + .spotlight.style2 .image { + margin-right: 0; + } + + } + + .spotlight.style2.orient-left { + -moz-flex-direction: row; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + } + + .spotlight.style2.orient-left .image { + margin: 0 0 2rem 3.5rem; + } + + @media screen and (max-width: 736px) { + + .spotlight.style2.orient-left .image { + margin: 0 0 2rem 2rem; + } + + } + + @media screen and (orientation: portrait) { + + .spotlight.style2.orient-left { + -moz-flex-direction: column-reverse; + -webkit-flex-direction: column-reverse; + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; + } + + .spotlight.style2.orient-left .image { + margin-left: 0; + } + + } + + .spotlight.style2.content-align-center { + text-align: center; + } + + .spotlight.style2.content-align-right { + text-align: right; + } + + .spotlight.style2.image-position-left .image img { + -moz-object-position: left; + -webkit-object-position: left; + -ms-object-position: left; + object-position: left; + } + + .spotlight.style2.image-position-right .image img { + -moz-object-position: right; + -webkit-object-position: right; + -ms-object-position: right; + object-position: right; + } + +/* Spotlight (style3) */ + + .spotlight.style3 { + padding: 7rem 7rem 5rem 7rem ; + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-direction: row-reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + position: relative; + overflow-x: hidden; + text-align: left; + } + + .spotlight.style3 .content { + width: 44.5rem; + max-width: 100%; + } + + .spotlight.style3 .image { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + border-radius: 0; + border: solid 1px; + width: 13rem; + height: 23.11111rem; + margin-top: 2.5rem; + margin-bottom: 5rem; + margin-right: 3.5rem; + } + + .spotlight.style3 .image img { + -moz-object-fit: cover; + -webkit-object-fit: cover; + -ms-object-fit: cover; + object-fit: cover; + -moz-object-position: center; + -webkit-object-position: center; + -ms-object-position: center; + object-position: center; + display: block; + width: 100%; + height: 100%; + border-radius: 0; + } + + .spotlight.style3 .image:before { + content: ''; + display: block; + background-position: center; + background-repeat: no-repeat; + border: solid 1px; + border-bottom: 0; + } + + .spotlight.style3 .image:after { + content: ''; + display: block; + background-position: center; + background-repeat: no-repeat; + border: solid 1px; + border-top: 0; + } + + .spotlight.style3 .image:before { + height: 2.5rem; + background-size: 64px 32px; + margin-top: -2.5rem; + border-radius: 1rem 1rem 0 0; + } + + .spotlight.style3 .image:after { + height: 3rem; + background-size: 64px 32px; + margin-bottom: -3rem; + border-radius: 0 0 1rem 1rem; + } + + @media screen and (max-width: 1680px) { + + .spotlight.style3 { + padding: 5rem 5rem 3rem 5rem ; + } + + } + + @media screen and (max-width: 1280px) { + + .spotlight.style3 { + padding: 4rem 4rem 2rem 4rem ; + } + + } + + @media screen and (max-width: 980px) { + + .spotlight.style3 { + padding: 3.75rem 3rem 1.75rem 3rem ; + } + + .spotlight.style3 .image { + width: 11.375rem; + height: 20.22222rem; + margin-top: 2.1875rem; + margin-bottom: 4.625rem; + } + + .spotlight.style3 .image:before { + height: 2.1875rem; + background-size: 56px 28px; + margin-top: -2.1875rem; + border-radius: 0.875rem 0.875rem 0 0; + } + + .spotlight.style3 .image:after { + height: 2.625rem; + background-size: 56px 28px; + margin-bottom: -2.625rem; + border-radius: 0 0 0.875rem 0.875rem; + } + + } + + @media screen and (max-width: 736px) { + + .spotlight.style3 { + padding: 2.5rem 2rem 0.5rem 2rem ; + -moz-align-items: -moz-flex-start; + -webkit-align-items: -webkit-flex-start; + -ms-align-items: -ms-flex-start; + align-items: flex-start; + } + + .spotlight.style3 .image { + width: 8.125rem; + height: 14.44444rem; + margin-top: 1.5625rem; + margin-bottom: 3.875rem; + } + + .spotlight.style3 .image:before { + height: 1.5625rem; + background-size: 40px 20px; + margin-top: -1.5625rem; + border-radius: 0.625rem 0.625rem 0 0; + } + + .spotlight.style3 .image:after { + height: 1.875rem; + background-size: 40px 20px; + margin-bottom: -1.875rem; + border-radius: 0 0 0.625rem 0.625rem; + } + + } + + @media screen and (orientation: portrait) { + + .spotlight.style3 { + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + -moz-flex-direction: column-reverse; + -webkit-flex-direction: column-reverse; + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; + text-align: center !important; + } + + .spotlight.style3 .content { + width: 34rem; + max-width: 100%; + } + + .spotlight.style3 .image { + margin-right: 0; + margin-left: 0; + } + + } + + .spotlight.style3.orient-left { + -moz-flex-direction: row; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + } + + .spotlight.style3.orient-left .image { + margin-right: 0; + margin-left: 3.5rem; + } + + @media screen and (orientation: portrait) { + + .spotlight.style3.orient-left { + -moz-flex-direction: column-reverse; + -webkit-flex-direction: column-reverse; + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; + } + + .spotlight.style3.orient-left .image { + margin-right: 0; + margin-left: 0; + } + + } + + .spotlight.style3.content-align-center { + text-align: center; + } + + .spotlight.style3.content-align-right { + text-align: right; + } + + .spotlight.style3.image-position-left .image img { + -moz-object-position: left; + -webkit-object-position: left; + -ms-object-position: left; + object-position: left; + } + + .spotlight.style3.image-position-right .image img { + -moz-object-position: right; + -webkit-object-position: right; + -ms-object-position: right; + object-position: right; + } + +/* Spotlight (style4) */ + + .spotlight.style4 { + padding: 7rem 5.25rem 5rem 5.25rem ; + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + background-color: inherit; + position: relative; + overflow-x: hidden; + text-align: center; + } + + .spotlight.style4 .content { + padding: 3.5rem 3.5rem 1.5rem 3.5rem ; + position: relative; + width: 40rem; + max-width: 50%; + background-color: inherit; + border-radius: 0.5rem; + margin-bottom: 2rem; + z-index: 1; + } + + .spotlight.style4 .image { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + border-radius: 0; + } + + .spotlight.style4 .image img { + -moz-object-fit: cover; + -webkit-object-fit: cover; + -ms-object-fit: cover; + object-fit: cover; + -moz-object-position: center; + -webkit-object-position: center; + -ms-object-position: center; + object-position: center; + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border-radius: 0; + } + + @media screen and (max-width: 1680px) { + + .spotlight.style4 { + padding: 5rem 3.75rem 3rem 3.75rem ; + } + + .spotlight.style4 .content { + padding: 2.5rem 2.5rem 0.5rem 2.5rem ; + } + + } + + @media screen and (max-width: 1280px) { + + .spotlight.style4 { + padding: 4rem 3rem 2rem 3rem ; + } + + .spotlight.style4 .content { + padding: 3rem 3rem 1rem 3rem ; + } + + } + + @media screen and (max-width: 980px) { + + .spotlight.style4 { + padding: 3rem 2.25rem 1rem 2.25rem ; + } + + .spotlight.style4 .content { + padding: 2.25rem 2.25rem 0.25rem 2.25rem ; + } + + } + + @media screen and (max-width: 736px) { + + .spotlight.style4 { + padding: 2rem 1.5rem 0.1rem 1.5rem ; + } + + .spotlight.style4 .content { + padding: 1.5rem 1.5rem 0.1rem 1.5rem ; + } + + } + + @media screen and (max-width: 480px) { + + .spotlight.style4 .content { + max-width: 80%; + } + + } + + .spotlight.style4.fullscreen { + min-height: 100vh; + } + + .spotlight.style4.halfscreen { + min-height: 50vh; + } + + .spotlight.style4.orient-left { + -moz-justify-content: -moz-flex-start; + -webkit-justify-content: -webkit-flex-start; + -ms-justify-content: -ms-flex-start; + justify-content: flex-start; + padding-left: 0; + } + + .spotlight.style4.orient-left .content { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + + .spotlight.style4.orient-right { + -moz-justify-content: -moz-flex-end; + -webkit-justify-content: -webkit-flex-end; + -ms-justify-content: -ms-flex-end; + justify-content: flex-end; + padding-right: 0; + } + + .spotlight.style4.orient-right .content { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + .spotlight.style4.content-align-left { + text-align: left; + } + + .spotlight.style4.content-align-right { + text-align: right; + } + + .spotlight.style4.image-position-left .image img { + -moz-object-position: left; + -webkit-object-position: left; + -ms-object-position: left; + object-position: left; + } + + .spotlight.style4.image-position-right .image img { + -moz-object-position: right; + -webkit-object-position: right; + -ms-object-position: right; + object-position: right; + } + +/* Spotlight (style5) */ + + .spotlight.style5 { + padding: 7rem 5.25rem 5rem 5.25rem ; + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + background-color: inherit; + position: relative; + overflow-x: hidden; + text-align: center; + } + + .spotlight.style5 .content { + padding: 3.5rem 3.5rem 1.5rem 3.5rem ; + position: relative; + width: 40rem; + max-width: 52.5%; + background-color: inherit; + border-radius: 0.5rem; + margin-bottom: 2rem; + z-index: 1; + } + + .spotlight.style5 .image { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + border-radius: 0; + } + + .spotlight.style5 .image img { + -moz-object-fit: cover; + -webkit-object-fit: cover; + -ms-object-fit: cover; + object-fit: cover; + -moz-object-position: center; + -webkit-object-position: center; + -ms-object-position: center; + object-position: center; + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border-radius: 0; + } + + @media screen and (max-width: 1680px) { + + .spotlight.style5 { + padding: 5rem 3.75rem 3rem 3.75rem ; + } + + .spotlight.style5 .content { + padding: 2.5rem 2.5rem 0.5rem 2.5rem ; + } + + } + + @media screen and (max-width: 1280px) { + + .spotlight.style5 { + padding: 4rem 3rem 2rem 3rem ; + } + + .spotlight.style5 .content { + padding: 3rem 3rem 1rem 3rem ; + } + + } + + @media screen and (max-width: 980px) { + + .spotlight.style5 { + padding: 3rem 2.25rem 1rem 2.25rem ; + } + + .spotlight.style5 .content { + padding: 2.25rem 2.25rem 0.25rem 2.25rem ; + } + + } + + @media screen and (max-width: 736px) { + + .spotlight.style5 { + padding: 2rem 1.5rem 0.1rem 1.5rem ; + } + + .spotlight.style5 .content { + padding: 1.5rem 1.5rem 0.1rem 1.5rem ; + } + + } + + @media screen and (max-width: 480px) { + + .spotlight.style5 .content { + max-width: 80%; + } + + } + + .spotlight.style5.fullscreen { + min-height: 100vh; + } + + .spotlight.style5.halfscreen { + min-height: 50vh; + } + + .spotlight.style5.orient-left { + -moz-justify-content: -moz-flex-start; + -webkit-justify-content: -webkit-flex-start; + -ms-justify-content: -ms-flex-start; + justify-content: flex-start; + } + + .spotlight.style5.orient-right { + -moz-justify-content: -moz-flex-end; + -webkit-justify-content: -webkit-flex-end; + -ms-justify-content: -ms-flex-end; + justify-content: flex-end; + } + + .spotlight.style5.content-align-left { + text-align: left; + } + + .spotlight.style5.content-align-right { + text-align: right; + } + + .spotlight.style5.image-position-left .image img { + -moz-object-position: left; + -webkit-object-position: left; + -ms-object-position: left; + object-position: left; + } + + .spotlight.style5.image-position-right .image img { + -moz-object-position: right; + -webkit-object-position: right; + -ms-object-position: right; + object-position: right; + } + + .spotlight .image { + background-color: rgba(0, 0, 0, 0.125); + } + + .spotlight.invert .image { + background-color: rgba(255, 255, 255, 0.125); + } + + .spotlight.style3 .image { + border-color: rgba(0, 0, 0, 0.2); + background-color: rgba(0, 0, 0, 0.2); + border-width: 0; + } + + .spotlight.style3 .image:before { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Erect %7Bfill: transparent%3B stroke: rgba(0, 0, 0, 0.2)%3B stroke-width: 1px%3B %7D%3C/style%3E%3Crect rx='4' ry='4' x='11' y='12' width='42' height='8' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + border-color: rgba(0, 0, 0, 0.2); + width: 100%; + } + + .spotlight.style3 .image:after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Ecircle %7Bfill: transparent%3B stroke: rgba(0, 0, 0, 0.2)%3B stroke-width: 1px%3B %7D%3C/style%3E%3Ccircle cx='32' cy='16' r='14' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + border-color: rgba(0, 0, 0, 0.2); + width: 100%; + } + + .spotlight.style3.android .image:after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Erect %7Bfill: transparent%3B stroke: rgba(0, 0, 0, 0.2)%3B stroke-width: 1px%3B %7D%3C/style%3E%3Crect rx='4' ry='4' x='6' y='4' width='52' height='24' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + } + + .spotlight.style3.invert .image { + border-color: white; + background-color: white; + border-width: 1px; + } + + .spotlight.style3.invert .image:before { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Erect %7Bfill: transparent%3B stroke: white%3B stroke-width: 1px%3B %7D%3C/style%3E%3Crect rx='4' ry='4' x='11' y='12' width='42' height='8' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + border-color: white; + width: calc(100% + 2px); + margin-left: -1px; + } + + .spotlight.style3.invert .image:after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Ecircle %7Bfill: transparent%3B stroke: white%3B stroke-width: 1px%3B %7D%3C/style%3E%3Ccircle cx='32' cy='16' r='14' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + border-color: white; + width: calc(100% + 2px); + margin-left: -1px; + } + + .spotlight.style3.invert.android .image:after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Erect %7Bfill: transparent%3B stroke: white%3B stroke-width: 1px%3B %7D%3C/style%3E%3Crect rx='4' ry='4' x='6' y='4' width='52' height='24' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + } + +/* Gallery (transitions) */ + + .gallery.onload-fade-in article .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 4.8s; + -webkit-transition-delay: 4.8s; + -ms-transition-delay: 4.8s; + transition-delay: 4.8s; + } + + .gallery.onload-fade-in article:nth-child(1) .image img { + -moz-transition-delay: 0s; + -webkit-transition-delay: 0s; + -ms-transition-delay: 0s; + transition-delay: 0s; + } + + .gallery.onload-fade-in article:nth-child(2) .image img { + -moz-transition-delay: 0.15s; + -webkit-transition-delay: 0.15s; + -ms-transition-delay: 0.15s; + transition-delay: 0.15s; + } + + .gallery.onload-fade-in article:nth-child(3) .image img { + -moz-transition-delay: 0.3s; + -webkit-transition-delay: 0.3s; + -ms-transition-delay: 0.3s; + transition-delay: 0.3s; + } + + .gallery.onload-fade-in article:nth-child(4) .image img { + -moz-transition-delay: 0.45s; + -webkit-transition-delay: 0.45s; + -ms-transition-delay: 0.45s; + transition-delay: 0.45s; + } + + .gallery.onload-fade-in article:nth-child(5) .image img { + -moz-transition-delay: 0.6s; + -webkit-transition-delay: 0.6s; + -ms-transition-delay: 0.6s; + transition-delay: 0.6s; + } + + .gallery.onload-fade-in article:nth-child(6) .image img { + -moz-transition-delay: 0.75s; + -webkit-transition-delay: 0.75s; + -ms-transition-delay: 0.75s; + transition-delay: 0.75s; + } + + .gallery.onload-fade-in article:nth-child(7) .image img { + -moz-transition-delay: 0.9s; + -webkit-transition-delay: 0.9s; + -ms-transition-delay: 0.9s; + transition-delay: 0.9s; + } + + .gallery.onload-fade-in article:nth-child(8) .image img { + -moz-transition-delay: 1.05s; + -webkit-transition-delay: 1.05s; + -ms-transition-delay: 1.05s; + transition-delay: 1.05s; + } + + .gallery.onload-fade-in article:nth-child(9) .image img { + -moz-transition-delay: 1.2s; + -webkit-transition-delay: 1.2s; + -ms-transition-delay: 1.2s; + transition-delay: 1.2s; + } + + .gallery.onload-fade-in article:nth-child(10) .image img { + -moz-transition-delay: 1.35s; + -webkit-transition-delay: 1.35s; + -ms-transition-delay: 1.35s; + transition-delay: 1.35s; + } + + .gallery.onload-fade-in article:nth-child(11) .image img { + -moz-transition-delay: 1.5s; + -webkit-transition-delay: 1.5s; + -ms-transition-delay: 1.5s; + transition-delay: 1.5s; + } + + .gallery.onload-fade-in article:nth-child(12) .image img { + -moz-transition-delay: 1.65s; + -webkit-transition-delay: 1.65s; + -ms-transition-delay: 1.65s; + transition-delay: 1.65s; + } + + .gallery.onload-fade-in article:nth-child(13) .image img { + -moz-transition-delay: 1.8s; + -webkit-transition-delay: 1.8s; + -ms-transition-delay: 1.8s; + transition-delay: 1.8s; + } + + .gallery.onload-fade-in article:nth-child(14) .image img { + -moz-transition-delay: 1.95s; + -webkit-transition-delay: 1.95s; + -ms-transition-delay: 1.95s; + transition-delay: 1.95s; + } + + .gallery.onload-fade-in article:nth-child(15) .image img { + -moz-transition-delay: 2.1s; + -webkit-transition-delay: 2.1s; + -ms-transition-delay: 2.1s; + transition-delay: 2.1s; + } + + .gallery.onload-fade-in article:nth-child(16) .image img { + -moz-transition-delay: 2.25s; + -webkit-transition-delay: 2.25s; + -ms-transition-delay: 2.25s; + transition-delay: 2.25s; + } + + .gallery.onload-fade-in article:nth-child(17) .image img { + -moz-transition-delay: 2.4s; + -webkit-transition-delay: 2.4s; + -ms-transition-delay: 2.4s; + transition-delay: 2.4s; + } + + .gallery.onload-fade-in article:nth-child(18) .image img { + -moz-transition-delay: 2.55s; + -webkit-transition-delay: 2.55s; + -ms-transition-delay: 2.55s; + transition-delay: 2.55s; + } + + .gallery.onload-fade-in article:nth-child(19) .image img { + -moz-transition-delay: 2.7s; + -webkit-transition-delay: 2.7s; + -ms-transition-delay: 2.7s; + transition-delay: 2.7s; + } + + .gallery.onload-fade-in article:nth-child(20) .image img { + -moz-transition-delay: 2.85s; + -webkit-transition-delay: 2.85s; + -ms-transition-delay: 2.85s; + transition-delay: 2.85s; + } + + .gallery.onload-fade-in article:nth-child(21) .image img { + -moz-transition-delay: 3s; + -webkit-transition-delay: 3s; + -ms-transition-delay: 3s; + transition-delay: 3s; + } + + .gallery.onload-fade-in article:nth-child(22) .image img { + -moz-transition-delay: 3.15s; + -webkit-transition-delay: 3.15s; + -ms-transition-delay: 3.15s; + transition-delay: 3.15s; + } + + .gallery.onload-fade-in article:nth-child(23) .image img { + -moz-transition-delay: 3.3s; + -webkit-transition-delay: 3.3s; + -ms-transition-delay: 3.3s; + transition-delay: 3.3s; + } + + .gallery.onload-fade-in article:nth-child(24) .image img { + -moz-transition-delay: 3.45s; + -webkit-transition-delay: 3.45s; + -ms-transition-delay: 3.45s; + transition-delay: 3.45s; + } + + .gallery.onload-fade-in article:nth-child(25) .image img { + -moz-transition-delay: 3.6s; + -webkit-transition-delay: 3.6s; + -ms-transition-delay: 3.6s; + transition-delay: 3.6s; + } + + .gallery.onload-fade-in article:nth-child(26) .image img { + -moz-transition-delay: 3.75s; + -webkit-transition-delay: 3.75s; + -ms-transition-delay: 3.75s; + transition-delay: 3.75s; + } + + .gallery.onload-fade-in article:nth-child(27) .image img { + -moz-transition-delay: 3.9s; + -webkit-transition-delay: 3.9s; + -ms-transition-delay: 3.9s; + transition-delay: 3.9s; + } + + .gallery.onload-fade-in article:nth-child(28) .image img { + -moz-transition-delay: 4.05s; + -webkit-transition-delay: 4.05s; + -ms-transition-delay: 4.05s; + transition-delay: 4.05s; + } + + .gallery.onload-fade-in article:nth-child(29) .image img { + -moz-transition-delay: 4.2s; + -webkit-transition-delay: 4.2s; + -ms-transition-delay: 4.2s; + transition-delay: 4.2s; + } + + .gallery.onload-fade-in article:nth-child(30) .image img { + -moz-transition-delay: 4.35s; + -webkit-transition-delay: 4.35s; + -ms-transition-delay: 4.35s; + transition-delay: 4.35s; + } + + .gallery.onload-fade-in article:nth-child(31) .image img { + -moz-transition-delay: 4.5s; + -webkit-transition-delay: 4.5s; + -ms-transition-delay: 4.5s; + transition-delay: 4.5s; + } + + .gallery.onload-fade-in article:nth-child(32) .image img { + -moz-transition-delay: 4.65s; + -webkit-transition-delay: 4.65s; + -ms-transition-delay: 4.65s; + transition-delay: 4.65s; + } + + .gallery.onload-fade-in article:nth-child(33) .image img { + -moz-transition-delay: 4.8s; + -webkit-transition-delay: 4.8s; + -ms-transition-delay: 4.8s; + transition-delay: 4.8s; + } + + body.is-loading .gallery.onload-fade-in article .image img { + opacity: 0; + } + + .gallery.onscroll-fade-in article .image img { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 4.8s; + -webkit-transition-delay: 4.8s; + -ms-transition-delay: 4.8s; + transition-delay: 4.8s; + } + + .gallery.onscroll-fade-in article:nth-child(1) .image img { + -moz-transition-delay: 0s; + -webkit-transition-delay: 0s; + -ms-transition-delay: 0s; + transition-delay: 0s; + } + + .gallery.onscroll-fade-in article:nth-child(2) .image img { + -moz-transition-delay: 0.15s; + -webkit-transition-delay: 0.15s; + -ms-transition-delay: 0.15s; + transition-delay: 0.15s; + } + + .gallery.onscroll-fade-in article:nth-child(3) .image img { + -moz-transition-delay: 0.3s; + -webkit-transition-delay: 0.3s; + -ms-transition-delay: 0.3s; + transition-delay: 0.3s; + } + + .gallery.onscroll-fade-in article:nth-child(4) .image img { + -moz-transition-delay: 0.45s; + -webkit-transition-delay: 0.45s; + -ms-transition-delay: 0.45s; + transition-delay: 0.45s; + } + + .gallery.onscroll-fade-in article:nth-child(5) .image img { + -moz-transition-delay: 0.6s; + -webkit-transition-delay: 0.6s; + -ms-transition-delay: 0.6s; + transition-delay: 0.6s; + } + + .gallery.onscroll-fade-in article:nth-child(6) .image img { + -moz-transition-delay: 0.75s; + -webkit-transition-delay: 0.75s; + -ms-transition-delay: 0.75s; + transition-delay: 0.75s; + } + + .gallery.onscroll-fade-in article:nth-child(7) .image img { + -moz-transition-delay: 0.9s; + -webkit-transition-delay: 0.9s; + -ms-transition-delay: 0.9s; + transition-delay: 0.9s; + } + + .gallery.onscroll-fade-in article:nth-child(8) .image img { + -moz-transition-delay: 1.05s; + -webkit-transition-delay: 1.05s; + -ms-transition-delay: 1.05s; + transition-delay: 1.05s; + } + + .gallery.onscroll-fade-in article:nth-child(9) .image img { + -moz-transition-delay: 1.2s; + -webkit-transition-delay: 1.2s; + -ms-transition-delay: 1.2s; + transition-delay: 1.2s; + } + + .gallery.onscroll-fade-in article:nth-child(10) .image img { + -moz-transition-delay: 1.35s; + -webkit-transition-delay: 1.35s; + -ms-transition-delay: 1.35s; + transition-delay: 1.35s; + } + + .gallery.onscroll-fade-in article:nth-child(11) .image img { + -moz-transition-delay: 1.5s; + -webkit-transition-delay: 1.5s; + -ms-transition-delay: 1.5s; + transition-delay: 1.5s; + } + + .gallery.onscroll-fade-in article:nth-child(12) .image img { + -moz-transition-delay: 1.65s; + -webkit-transition-delay: 1.65s; + -ms-transition-delay: 1.65s; + transition-delay: 1.65s; + } + + .gallery.onscroll-fade-in article:nth-child(13) .image img { + -moz-transition-delay: 1.8s; + -webkit-transition-delay: 1.8s; + -ms-transition-delay: 1.8s; + transition-delay: 1.8s; + } + + .gallery.onscroll-fade-in article:nth-child(14) .image img { + -moz-transition-delay: 1.95s; + -webkit-transition-delay: 1.95s; + -ms-transition-delay: 1.95s; + transition-delay: 1.95s; + } + + .gallery.onscroll-fade-in article:nth-child(15) .image img { + -moz-transition-delay: 2.1s; + -webkit-transition-delay: 2.1s; + -ms-transition-delay: 2.1s; + transition-delay: 2.1s; + } + + .gallery.onscroll-fade-in article:nth-child(16) .image img { + -moz-transition-delay: 2.25s; + -webkit-transition-delay: 2.25s; + -ms-transition-delay: 2.25s; + transition-delay: 2.25s; + } + + .gallery.onscroll-fade-in article:nth-child(17) .image img { + -moz-transition-delay: 2.4s; + -webkit-transition-delay: 2.4s; + -ms-transition-delay: 2.4s; + transition-delay: 2.4s; + } + + .gallery.onscroll-fade-in article:nth-child(18) .image img { + -moz-transition-delay: 2.55s; + -webkit-transition-delay: 2.55s; + -ms-transition-delay: 2.55s; + transition-delay: 2.55s; + } + + .gallery.onscroll-fade-in article:nth-child(19) .image img { + -moz-transition-delay: 2.7s; + -webkit-transition-delay: 2.7s; + -ms-transition-delay: 2.7s; + transition-delay: 2.7s; + } + + .gallery.onscroll-fade-in article:nth-child(20) .image img { + -moz-transition-delay: 2.85s; + -webkit-transition-delay: 2.85s; + -ms-transition-delay: 2.85s; + transition-delay: 2.85s; + } + + .gallery.onscroll-fade-in article:nth-child(21) .image img { + -moz-transition-delay: 3s; + -webkit-transition-delay: 3s; + -ms-transition-delay: 3s; + transition-delay: 3s; + } + + .gallery.onscroll-fade-in article:nth-child(22) .image img { + -moz-transition-delay: 3.15s; + -webkit-transition-delay: 3.15s; + -ms-transition-delay: 3.15s; + transition-delay: 3.15s; + } + + .gallery.onscroll-fade-in article:nth-child(23) .image img { + -moz-transition-delay: 3.3s; + -webkit-transition-delay: 3.3s; + -ms-transition-delay: 3.3s; + transition-delay: 3.3s; + } + + .gallery.onscroll-fade-in article:nth-child(24) .image img { + -moz-transition-delay: 3.45s; + -webkit-transition-delay: 3.45s; + -ms-transition-delay: 3.45s; + transition-delay: 3.45s; + } + + .gallery.onscroll-fade-in article:nth-child(25) .image img { + -moz-transition-delay: 3.6s; + -webkit-transition-delay: 3.6s; + -ms-transition-delay: 3.6s; + transition-delay: 3.6s; + } + + .gallery.onscroll-fade-in article:nth-child(26) .image img { + -moz-transition-delay: 3.75s; + -webkit-transition-delay: 3.75s; + -ms-transition-delay: 3.75s; + transition-delay: 3.75s; + } + + .gallery.onscroll-fade-in article:nth-child(27) .image img { + -moz-transition-delay: 3.9s; + -webkit-transition-delay: 3.9s; + -ms-transition-delay: 3.9s; + transition-delay: 3.9s; + } + + .gallery.onscroll-fade-in article:nth-child(28) .image img { + -moz-transition-delay: 4.05s; + -webkit-transition-delay: 4.05s; + -ms-transition-delay: 4.05s; + transition-delay: 4.05s; + } + + .gallery.onscroll-fade-in article:nth-child(29) .image img { + -moz-transition-delay: 4.2s; + -webkit-transition-delay: 4.2s; + -ms-transition-delay: 4.2s; + transition-delay: 4.2s; + } + + .gallery.onscroll-fade-in article:nth-child(30) .image img { + -moz-transition-delay: 4.35s; + -webkit-transition-delay: 4.35s; + -ms-transition-delay: 4.35s; + transition-delay: 4.35s; + } + + .gallery.onscroll-fade-in article:nth-child(31) .image img { + -moz-transition-delay: 4.5s; + -webkit-transition-delay: 4.5s; + -ms-transition-delay: 4.5s; + transition-delay: 4.5s; + } + + .gallery.onscroll-fade-in article:nth-child(32) .image img { + -moz-transition-delay: 4.65s; + -webkit-transition-delay: 4.65s; + -ms-transition-delay: 4.65s; + transition-delay: 4.65s; + } + + .gallery.onscroll-fade-in article:nth-child(33) .image img { + -moz-transition-delay: 4.8s; + -webkit-transition-delay: 4.8s; + -ms-transition-delay: 4.8s; + transition-delay: 4.8s; + } + + .gallery.onscroll-fade-in.is-inactive article .image img { + opacity: 0; + } + +/* Gallery (style1) */ + + .gallery.style1 { + background-color: #000000; + color: #ffffff; + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + position: relative; + width: 100%; + background-color: transparent; + } + + .gallery.style1 input, .gallery.style1 select, .gallery.style1 textarea { + color: #ffffff; + } + + .gallery.style1 a { + color: #ffffff; + } + + .gallery.style1 a:hover { + color: #47D3E5; + } + + .gallery.style1 strong, .gallery.style1 b { + color: #ffffff; + } + + .gallery.style1 h1, .gallery.style1 h2, .gallery.style1 h3, .gallery.style1 h4, .gallery.style1 h5, .gallery.style1 h6 { + color: #ffffff; + } + + .gallery.style1 blockquote { + border-left-color: white; + } + + .gallery.style1 code { + background: rgba(255, 255, 255, 0.125); + border-color: white; + } + + .gallery.style1 hr { + border-bottom-color: white; + } + + .gallery.style1 input[type="submit"], + .gallery.style1 input[type="reset"], + .gallery.style1 input[type="button"], + .gallery.style1 button, + .gallery.style1 .button { + background-color: transparent; + box-shadow: inset 0 0 0 1px white; + color: #ffffff !important; + } + + .gallery.style1 input[type="submit"]:hover, + .gallery.style1 input[type="reset"]:hover, + .gallery.style1 input[type="button"]:hover, + .gallery.style1 button:hover, + .gallery.style1 .button:hover { + box-shadow: inset 0 0 0 1px #47D3E5; + color: #47D3E5 !important; + } + + .gallery.style1 input[type="submit"]:active, + .gallery.style1 input[type="reset"]:active, + .gallery.style1 input[type="button"]:active, + .gallery.style1 button:active, + .gallery.style1 .button:active { + background-color: rgba(71, 211, 229, 0.2); + box-shadow: inset 0 0 0 1px #47D3E5; + color: #47D3E5 !important; + } + + .gallery.style1 input[type="submit"].special, + .gallery.style1 input[type="reset"].special, + .gallery.style1 input[type="button"].special, + .gallery.style1 button.special, + .gallery.style1 .button.special { + background-color: #ffffff; + box-shadow: none; + color: #000000 !important; + } + + .gallery.style1 input[type="submit"].special:hover, + .gallery.style1 input[type="reset"].special:hover, + .gallery.style1 input[type="button"].special:hover, + .gallery.style1 button.special:hover, + .gallery.style1 .button.special:hover { + background-color: #47D3E5; + } + + .gallery.style1 input[type="submit"].special:active, + .gallery.style1 input[type="reset"].special:active, + .gallery.style1 input[type="button"].special:active, + .gallery.style1 button.special:active, + .gallery.style1 .button.special:active { + background-color: #1ebdd1; + } + + .gallery.style1 > .forward, .gallery.style1 > .backward { + display: none; + } + + .gallery.style1 > .inner { + -moz-align-items: inherit; + -webkit-align-items: inherit; + -ms-align-items: inherit; + align-items: inherit; + display: inherit; + -moz-flex-wrap: inherit; + -webkit-flex-wrap: inherit; + -ms-flex-wrap: inherit; + flex-wrap: inherit; + -moz-justify-content: inherit; + -webkit-justify-content: inherit; + -ms-justify-content: inherit; + justify-content: inherit; + } + + .gallery.style1 article { + overflow: hidden; + position: relative; + width: 25%; + } + + .gallery.style1 article .image { + -moz-transition: opacity 0.2s ease-in-out; + -webkit-transition: opacity 0.2s ease-in-out; + -ms-transition: opacity 0.2s ease-in-out; + transition: opacity 0.2s ease-in-out; + display: block; + width: 100%; + border-radius: 0; + } + + .gallery.style1 article .image img { + display: block; + width: 100%; + border-radius: 0; + } + + .gallery.style1 article .caption { + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-direction: column; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + -moz-pointer-events: none; + -webkit-pointer-events: none; + -ms-pointer-events: none; + pointer-events: none; + -moz-transition: opacity 0.2s ease-in-out; + -webkit-transition: opacity 0.2s ease-in-out; + -ms-transition: opacity 0.2s ease-in-out; + transition: opacity 0.2s ease-in-out; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.5); + opacity: 0; + padding: 2rem; + z-index: 1; + font-size: 0.8rem; + } + + .gallery.style1 article .caption a { + -moz-pointer-events: auto; + -webkit-pointer-events: auto; + -ms-pointer-events: auto; + pointer-events: auto; + } + + .gallery.style1 article .caption h2, .gallery.style1 article .caption h3, .gallery.style1 article .caption h4, .gallery.style1 article .caption h5, .gallery.style1 article .caption h6 { + font-size: 1.25rem; + margin-bottom: 0.25rem; + } + + .gallery.style1 article .caption > * { + max-width: 100%; + margin-bottom: 1rem; + } + + .gallery.style1 article .caption > :last-child { + margin-bottom: 0; + } + + .gallery.style1 article:hover .caption { + opacity: 1; + } + + @media screen and (max-width: 1280px) { + + .gallery.style1 article { + width: 33.33333%; + } + + .gallery.style1 article .caption { + padding: 1rem; + } + + } + + @media screen and (max-width: 980px) { + + .gallery.style1 article { + width: 50%; + } + + .gallery.style1 article .caption { + padding: 1rem; + } + + } + + @media screen and (max-width: 480px) { + + .gallery.style1 article { + width: 100%; + } + + .gallery.style1 article .caption { + padding: 1rem; + } + + } + + .gallery.style1.small article { + width: 20%; + } + + .gallery.style1.small article .caption { + padding: 1rem; + } + + @media screen and (max-width: 1280px) { + + .gallery.style1.small article { + width: 25%; + } + + .gallery.style1.small article .caption { + padding: 1rem; + } + + } + + @media screen and (max-width: 980px) { + + .gallery.style1.small article { + width: 33.33333%; + } + + .gallery.style1.small article .caption { + padding: 1rem; + } + + } + + @media screen and (max-width: 480px) { + + .gallery.style1.small article { + width: 50%; + } + + .gallery.style1.small article .caption { + padding: 1rem; + } + + } + + .gallery.style1.big article { + width: 33.33333%; + } + + .gallery.style1.big article .caption { + padding: 3rem; + } + + @media screen and (max-width: 1280px) { + + .gallery.style1.big article { + width: 50%; + } + + .gallery.style1.big article .caption { + padding: 2rem; + } + + } + + @media screen and (max-width: 980px) { + + .gallery.style1.big article { + width: 50%; + } + + .gallery.style1.big article .caption { + padding: 2rem; + } + + } + + @media screen and (max-width: 480px) { + + .gallery.style1.big article { + width: 100%; + } + + .gallery.style1.big article .caption { + padding: 1rem; + } + + } + +/* Gallery (style2) */ + + .gallery.style2 { + background-color: #000000; + color: #ffffff; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -webkit-overflow-scrolling: touch; + position: relative; + background-color: transparent; + } + + .gallery.style2 input, .gallery.style2 select, .gallery.style2 textarea { + color: #ffffff; + } + + .gallery.style2 a { + color: #ffffff; + } + + .gallery.style2 a:hover { + color: #47D3E5; + } + + .gallery.style2 strong, .gallery.style2 b { + color: #ffffff; + } + + .gallery.style2 h1, .gallery.style2 h2, .gallery.style2 h3, .gallery.style2 h4, .gallery.style2 h5, .gallery.style2 h6 { + color: #ffffff; + } + + .gallery.style2 blockquote { + border-left-color: white; + } + + .gallery.style2 code { + background: rgba(255, 255, 255, 0.125); + border-color: white; + } + + .gallery.style2 hr { + border-bottom-color: white; + } + + .gallery.style2 input[type="submit"], + .gallery.style2 input[type="reset"], + .gallery.style2 input[type="button"], + .gallery.style2 button, + .gallery.style2 .button { + background-color: transparent; + box-shadow: inset 0 0 0 1px white; + color: #ffffff !important; + } + + .gallery.style2 input[type="submit"]:hover, + .gallery.style2 input[type="reset"]:hover, + .gallery.style2 input[type="button"]:hover, + .gallery.style2 button:hover, + .gallery.style2 .button:hover { + box-shadow: inset 0 0 0 1px #47D3E5; + color: #47D3E5 !important; + } + + .gallery.style2 input[type="submit"]:active, + .gallery.style2 input[type="reset"]:active, + .gallery.style2 input[type="button"]:active, + .gallery.style2 button:active, + .gallery.style2 .button:active { + background-color: rgba(71, 211, 229, 0.2); + box-shadow: inset 0 0 0 1px #47D3E5; + color: #47D3E5 !important; + } + + .gallery.style2 input[type="submit"].special, + .gallery.style2 input[type="reset"].special, + .gallery.style2 input[type="button"].special, + .gallery.style2 button.special, + .gallery.style2 .button.special { + background-color: #ffffff; + box-shadow: none; + color: #000000 !important; + } + + .gallery.style2 input[type="submit"].special:hover, + .gallery.style2 input[type="reset"].special:hover, + .gallery.style2 input[type="button"].special:hover, + .gallery.style2 button.special:hover, + .gallery.style2 .button.special:hover { + background-color: #47D3E5; + } + + .gallery.style2 input[type="submit"].special:active, + .gallery.style2 input[type="reset"].special:active, + .gallery.style2 input[type="button"].special:active, + .gallery.style2 button.special:active, + .gallery.style2 .button.special:active { + background-color: #1ebdd1; + } + + .gallery.style2 > .forward, .gallery.style2 > .backward { + text-decoration: none; + -moz-transition: opacity 0.2s ease-in-out; + -webkit-transition: opacity 0.2s ease-in-out; + -ms-transition: opacity 0.2s ease-in-out; + transition: opacity 0.2s ease-in-out; + position: absolute; + top: 0; + width: 5rem; + height: 100%; + cursor: pointer; + opacity: 0; + z-index: 2; + } + + .gallery.style2 > .forward:before, .gallery.style2 > .backward:before { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + font-family: FontAwesome; + font-style: normal; + font-weight: normal; + text-transform: none !important; + } + + .gallery.style2 > .forward:before, .gallery.style2 > .backward:before { + display: block; + top: calc(50% - 1.5rem); + width: 4rem; + height: 3rem; + line-height: 1em; + font-size: 3rem; + position: absolute; + text-align: center; + } + + .gallery.style2:hover > .forward, .gallery.style2:hover > .backward { + opacity: 1; + } + + .gallery.style2 > .forward { + right: 0; + background-image: linear-gradient(to left, rgba(0, 0, 0, 0.25) 15%, transparent); + } + + .gallery.style2 > .forward:before { + content: '\f105'; + right: 0; + } + + .gallery.style2 > .backward { + left: 0; + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.25) 15%, transparent); + } + + .gallery.style2 > .backward:before { + content: '\f104'; + left: 0; + } + + .gallery.style2 > .inner { + display: inherit; + overflow-x: auto; + overflow-y: hidden; + position: relative; + width: 100%; + } + + .gallery.style2 article { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + display: block; + position: relative; + overflow: hidden; + width: 22.5rem; + max-width: 75vw; + } + + .gallery.style2 article .image { + display: block; + width: 100%; + border-radius: 0; + } + + .gallery.style2 article .image img { + display: block; + width: 100%; + border-radius: 0; + } + + .gallery.style2 article .caption { + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-direction: column; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + -moz-pointer-events: none; + -webkit-pointer-events: none; + -ms-pointer-events: none; + pointer-events: none; + -moz-transition: opacity 0.2s ease-in-out; + -webkit-transition: opacity 0.2s ease-in-out; + -ms-transition: opacity 0.2s ease-in-out; + transition: opacity 0.2s ease-in-out; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.5); + opacity: 0; + padding: 3rem; + z-index: 1; + font-size: 0.8rem; + } + + .gallery.style2 article .caption a { + -moz-pointer-events: auto; + -webkit-pointer-events: auto; + -ms-pointer-events: auto; + pointer-events: auto; + } + + .gallery.style2 article .caption h2, .gallery.style2 article .caption h3, .gallery.style2 article .caption h4, .gallery.style2 article .caption h5, .gallery.style2 article .caption h6 { + font-size: 1.25rem; + margin-bottom: 0.25rem; + } + + .gallery.style2 article .caption > * { + max-width: 100%; + margin-bottom: 1rem; + } + + .gallery.style2 article .caption > :last-child { + margin-bottom: 0; + } + + .gallery.style2 article:hover .caption { + opacity: 1; + } + + @media screen and (max-width: 980px) { + + .gallery.style2 article .caption { + padding: 2rem; + } + + } + + @media screen and (max-width: 736px) { + + .gallery.style2 article .caption { + padding: 2rem; + } + + } + + .gallery.style2.small article { + width: 17.5rem; + } + + .gallery.style2.small article .caption { + padding: 2rem; + } + + @media screen and (max-width: 980px) { + + .gallery.style2.small article .caption { + padding: 2rem; + } + + } + + @media screen and (max-width: 736px) { + + .gallery.style2.small article .caption { + padding: 2rem; + } + + } + + .gallery.style2.big article { + width: 30rem; + } + + .gallery.style2.big article .caption { + padding: 4rem; + } + + @media screen and (max-width: 980px) { + + .gallery.style2.big article .caption { + padding: 3rem; + } + + } + + @media screen and (max-width: 736px) { + + .gallery.style2.big article .caption { + padding: 2rem; + } + + } + +/* Gallery (lightbox) */ + + @-moz-keyframes gallery-modal-spinner { + 0% { + -moz-transform: rotate(0deg); + -webkit-transform: rotate(0deg); + -ms-transform: rotate(0deg); + transform: rotate(0deg); + } + + 100% { + -moz-transform: rotate(360deg); + -webkit-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg); + } + } + + @-webkit-keyframes gallery-modal-spinner { + 0% { + -moz-transform: rotate(0deg); + -webkit-transform: rotate(0deg); + -ms-transform: rotate(0deg); + transform: rotate(0deg); + } + + 100% { + -moz-transform: rotate(360deg); + -webkit-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg); + } + } + + @-ms-keyframes gallery-modal-spinner { + 0% { + -moz-transform: rotate(0deg); + -webkit-transform: rotate(0deg); + -ms-transform: rotate(0deg); + transform: rotate(0deg); + } + + 100% { + -moz-transform: rotate(360deg); + -webkit-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg); + } + } + + @keyframes gallery-modal-spinner { + 0% { + -moz-transform: rotate(0deg); + -webkit-transform: rotate(0deg); + -ms-transform: rotate(0deg); + transform: rotate(0deg); + } + + 100% { + -moz-transform: rotate(360deg); + -webkit-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg); + } + } + + .gallery.lightbox .modal { + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + -moz-pointer-events: none; + -webkit-pointer-events: none; + -ms-pointer-events: none; + pointer-events: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; + -moz-transition: opacity 0.5s ease, visibility 0.5s, z-index 0.5s; + -webkit-transition: opacity 0.5s ease, visibility 0.5s, z-index 0.5s; + -ms-transition: opacity 0.5s ease, visibility 0.5s, z-index 0.5s; + transition: opacity 0.5s ease, visibility 0.5s, z-index 0.5s; + -webkit-tap-highlight-color: transparent; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + outline: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: none; + opacity: 0; + z-index: 0; + } + + .gallery.lightbox .modal:before { + -moz-animation: gallery-modal-spinner 1s infinite linear; + -webkit-animation: gallery-modal-spinner 1s infinite linear; + -ms-animation: gallery-modal-spinner 1s infinite linear; + animation: gallery-modal-spinner 1s infinite linear; + -moz-transition: opacity 0.25s ease; + -webkit-transition: opacity 0.25s ease; + -ms-transition: opacity 0.25s ease; + transition: opacity 0.25s ease; + -moz-transition-delay: 0.5s; + -webkit-transition-delay: 0.5s; + -ms-transition-delay: 0.5s; + transition-delay: 0.5s; + content: ''; + display: block; + position: absolute; + top: 50%; + left: 50%; + width: 4rem; + height: 4rem; + margin: -2rem 0 0 -2rem; + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='96px' height='96px' viewBox='0 0 96 96' zoomAndPan='disable'%3E%3Cstyle%3Ecircle %7Bfill: transparent%3B stroke: %23ffffff%3B stroke-width: 1.5px%3B %7D%3C/style%3E%3Cdefs%3E%3CclipPath id='corner'%3E%3Cpolygon points='0,0 48,0 48,48 96,48 96,96 0,96' /%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23corner)'%3E%3Ccircle cx='48' cy='48' r='32'/%3E%3C/g%3E%3C/svg%3E"); + background-position: center; + background-repeat: no-repeat; + background-size: 4rem; + opacity: 0; + } + + .gallery.lightbox .modal:after { + content: ''; + display: block; + position: absolute; + top: 0.5rem; + right: 0.5rem; + width: 4rem; + height: 4rem; + cursor: pointer; + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='64px' viewBox='0 0 64 64' zoomAndPan='disable'%3E%3Cstyle%3Eline %7Bstroke: %23ffffff%3Bstroke-width: 1.5px%3B%7D%3C/style%3E%3Cline x1='20' y1='20' x2='44' y2='44' /%3E%3Cline x1='20' y1='44' x2='44' y2='20' /%3E%3C/svg%3E"); + background-position: center; + background-repeat: no-repeat; + background-size: 3rem; + } + + .gallery.lightbox .modal .inner { + -moz-transform: translateY(0.75rem); + -webkit-transform: translateY(0.75rem); + -ms-transform: translateY(0.75rem); + transform: translateY(0.75rem); + -moz-transition: opacity 0.25s ease, -moz-transform 0.25s ease; + -webkit-transition: opacity 0.25s ease, -webkit-transform 0.25s ease; + -ms-transition: opacity 0.25s ease, -ms-transform 0.25s ease; + transition: opacity 0.25s ease, transform 0.25s ease; + opacity: 0; + } + + .gallery.lightbox .modal .inner img { + display: block; + max-width: 90vw; + max-height: 85vh; + box-shadow: 0 1rem 3rem 0 rgba(0, 0, 0, 0.35); + } + + .gallery.lightbox .modal.visible { + -moz-pointer-events: auto; + -webkit-pointer-events: auto; + -ms-pointer-events: auto; + pointer-events: auto; + visibility: visible; + opacity: 1; + z-index: 10001; + } + + .gallery.lightbox .modal.visible:before { + opacity: 1; + } + + .gallery.lightbox .modal.loaded .inner { + -moz-transform: translateY(0); + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + -moz-transition: opacity 0.5s ease, -moz-transform 0.5s ease; + -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease; + -ms-transition: opacity 0.5s ease, -ms-transform 0.5s ease; + transition: opacity 0.5s ease, transform 0.5s ease; + opacity: 1; + } + + .gallery.lightbox .modal.loaded:before { + -moz-transition-delay: 0s; + -webkit-transition-delay: 0s; + -ms-transition-delay: 0s; + transition-delay: 0s; + opacity: 0; + } + + @media screen and (max-width: 980px) { + + .gallery.lightbox .modal .inner img { + max-width: 100vw; + } + + } + + .gallery article .image { + background-color: rgba(0, 0, 0, 0.125); + } + +/* Wrapper (style1) */ + + .wrapper.style1 > .inner { + padding: 7rem 3.5rem 5rem 3.5rem ; + margin: 0 auto; + max-width: 100%; + width: 64rem; + } + + .wrapper.style1 > .inner.medium { + width: 48rem; + } + + .wrapper.style1 > .inner.small { + width: 32rem; + } + + @media screen and (max-width: 1680px) { + + .wrapper.style1 > .inner { + padding: 5rem 2.5rem 3rem 2.5rem ; + } + + } + + @media screen and (max-width: 1280px) { + + .wrapper.style1 > .inner { + padding: 4rem 4rem 2rem 4rem ; + } + + } + + @media screen and (max-width: 980px) { + + .wrapper.style1 > .inner { + padding: 4.5rem 3rem 2.5rem 3rem ; + } + + } + + @media screen and (max-width: 736px) { + + .wrapper.style1 > .inner { + padding: 3rem 2rem 1rem 2rem ; + } + + } + +/* Wrapper (style2) */ + + .wrapper.style2 { + padding: 7rem; + background-color: #eeeeee; + } + + .wrapper.style2 > .inner { + padding: 5.25rem 3.5rem 3.25rem 3.5rem ; + background-color: #ffffff; + border-radius: 0.5rem; + margin: 0 auto; + max-width: 100%; + position: relative; + width: 64rem; + z-index: 1; + } + + .wrapper.style2 > .inner.medium { + width: 48rem; + } + + .wrapper.style2 > .inner.small { + width: 32rem; + } + + @media screen and (max-width: 1680px) { + + .wrapper.style2 { + padding: 5rem; + } + + .wrapper.style2 > .inner { + padding: 3.75rem 2.5rem 1.75rem 2.5rem ; + } + + } + + @media screen and (max-width: 1280px) { + + .wrapper.style2 { + padding: 4rem; + } + + .wrapper.style2 > .inner { + padding: 3rem 2rem 1rem 2rem ; + } + + } + + @media screen and (max-width: 980px) { + + .wrapper.style2 { + padding: 2.25rem; + } + + .wrapper.style2 > .inner { + padding: 3rem 2.25rem 1rem 2.25rem ; + } + + } + + @media screen and (max-width: 736px) { + + .wrapper.style2 { + padding: 1.5rem; + } + + .wrapper.style2 > .inner { + padding: 2rem 1.5rem 0.1rem 1.5rem ; + } + + } + + #wrapper > .wrapper.style2.invert:not(.color1):not(.color2):not(.color3):not(.color4):not(.color5):not(.color6):not(.color7) { + background-color: #222222; + } + + #wrapper > .wrapper.style2.invert > .inner { + background-color: #000000; + } + +/* Items (transitions) */ + + .items.onload-fade-in > * > .inner { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 2.4s; + -webkit-transition-delay: 2.4s; + -ms-transition-delay: 2.4s; + transition-delay: 2.4s; + } + + .items.onload-fade-in > *:nth-child(1) > .inner { + -moz-transition-delay: 0s; + -webkit-transition-delay: 0s; + -ms-transition-delay: 0s; + transition-delay: 0s; + } + + .items.onload-fade-in > *:nth-child(2) > .inner { + -moz-transition-delay: 0.15s; + -webkit-transition-delay: 0.15s; + -ms-transition-delay: 0.15s; + transition-delay: 0.15s; + } + + .items.onload-fade-in > *:nth-child(3) > .inner { + -moz-transition-delay: 0.3s; + -webkit-transition-delay: 0.3s; + -ms-transition-delay: 0.3s; + transition-delay: 0.3s; + } + + .items.onload-fade-in > *:nth-child(4) > .inner { + -moz-transition-delay: 0.45s; + -webkit-transition-delay: 0.45s; + -ms-transition-delay: 0.45s; + transition-delay: 0.45s; + } + + .items.onload-fade-in > *:nth-child(5) > .inner { + -moz-transition-delay: 0.6s; + -webkit-transition-delay: 0.6s; + -ms-transition-delay: 0.6s; + transition-delay: 0.6s; + } + + .items.onload-fade-in > *:nth-child(6) > .inner { + -moz-transition-delay: 0.75s; + -webkit-transition-delay: 0.75s; + -ms-transition-delay: 0.75s; + transition-delay: 0.75s; + } + + .items.onload-fade-in > *:nth-child(7) > .inner { + -moz-transition-delay: 0.9s; + -webkit-transition-delay: 0.9s; + -ms-transition-delay: 0.9s; + transition-delay: 0.9s; + } + + .items.onload-fade-in > *:nth-child(8) > .inner { + -moz-transition-delay: 1.05s; + -webkit-transition-delay: 1.05s; + -ms-transition-delay: 1.05s; + transition-delay: 1.05s; + } + + .items.onload-fade-in > *:nth-child(9) > .inner { + -moz-transition-delay: 1.2s; + -webkit-transition-delay: 1.2s; + -ms-transition-delay: 1.2s; + transition-delay: 1.2s; + } + + .items.onload-fade-in > *:nth-child(10) > .inner { + -moz-transition-delay: 1.35s; + -webkit-transition-delay: 1.35s; + -ms-transition-delay: 1.35s; + transition-delay: 1.35s; + } + + .items.onload-fade-in > *:nth-child(11) > .inner { + -moz-transition-delay: 1.5s; + -webkit-transition-delay: 1.5s; + -ms-transition-delay: 1.5s; + transition-delay: 1.5s; + } + + .items.onload-fade-in > *:nth-child(12) > .inner { + -moz-transition-delay: 1.65s; + -webkit-transition-delay: 1.65s; + -ms-transition-delay: 1.65s; + transition-delay: 1.65s; + } + + .items.onload-fade-in > *:nth-child(13) > .inner { + -moz-transition-delay: 1.8s; + -webkit-transition-delay: 1.8s; + -ms-transition-delay: 1.8s; + transition-delay: 1.8s; + } + + .items.onload-fade-in > *:nth-child(14) > .inner { + -moz-transition-delay: 1.95s; + -webkit-transition-delay: 1.95s; + -ms-transition-delay: 1.95s; + transition-delay: 1.95s; + } + + .items.onload-fade-in > *:nth-child(15) > .inner { + -moz-transition-delay: 2.1s; + -webkit-transition-delay: 2.1s; + -ms-transition-delay: 2.1s; + transition-delay: 2.1s; + } + + .items.onload-fade-in > *:nth-child(16) > .inner { + -moz-transition-delay: 2.25s; + -webkit-transition-delay: 2.25s; + -ms-transition-delay: 2.25s; + transition-delay: 2.25s; + } + + .items.onload-fade-in > *:nth-child(17) > .inner { + -moz-transition-delay: 2.4s; + -webkit-transition-delay: 2.4s; + -ms-transition-delay: 2.4s; + transition-delay: 2.4s; + } + + body.is-loading .items.onload-fade-in > * > .inner { + opacity: 0; + } + + .items.onscroll-fade-in > * > .inner { + -moz-transition: opacity 0.75s ease-in-out; + -webkit-transition: opacity 0.75s ease-in-out; + -ms-transition: opacity 0.75s ease-in-out; + transition: opacity 0.75s ease-in-out; + -moz-transition-delay: 2.4s; + -webkit-transition-delay: 2.4s; + -ms-transition-delay: 2.4s; + transition-delay: 2.4s; + } + + .items.onscroll-fade-in > *:nth-child(1) > .inner { + -moz-transition-delay: 0s; + -webkit-transition-delay: 0s; + -ms-transition-delay: 0s; + transition-delay: 0s; + } + + .items.onscroll-fade-in > *:nth-child(2) > .inner { + -moz-transition-delay: 0.15s; + -webkit-transition-delay: 0.15s; + -ms-transition-delay: 0.15s; + transition-delay: 0.15s; + } + + .items.onscroll-fade-in > *:nth-child(3) > .inner { + -moz-transition-delay: 0.3s; + -webkit-transition-delay: 0.3s; + -ms-transition-delay: 0.3s; + transition-delay: 0.3s; + } + + .items.onscroll-fade-in > *:nth-child(4) > .inner { + -moz-transition-delay: 0.45s; + -webkit-transition-delay: 0.45s; + -ms-transition-delay: 0.45s; + transition-delay: 0.45s; + } + + .items.onscroll-fade-in > *:nth-child(5) > .inner { + -moz-transition-delay: 0.6s; + -webkit-transition-delay: 0.6s; + -ms-transition-delay: 0.6s; + transition-delay: 0.6s; + } + + .items.onscroll-fade-in > *:nth-child(6) > .inner { + -moz-transition-delay: 0.75s; + -webkit-transition-delay: 0.75s; + -ms-transition-delay: 0.75s; + transition-delay: 0.75s; + } + + .items.onscroll-fade-in > *:nth-child(7) > .inner { + -moz-transition-delay: 0.9s; + -webkit-transition-delay: 0.9s; + -ms-transition-delay: 0.9s; + transition-delay: 0.9s; + } + + .items.onscroll-fade-in > *:nth-child(8) > .inner { + -moz-transition-delay: 1.05s; + -webkit-transition-delay: 1.05s; + -ms-transition-delay: 1.05s; + transition-delay: 1.05s; + } + + .items.onscroll-fade-in > *:nth-child(9) > .inner { + -moz-transition-delay: 1.2s; + -webkit-transition-delay: 1.2s; + -ms-transition-delay: 1.2s; + transition-delay: 1.2s; + } + + .items.onscroll-fade-in > *:nth-child(10) > .inner { + -moz-transition-delay: 1.35s; + -webkit-transition-delay: 1.35s; + -ms-transition-delay: 1.35s; + transition-delay: 1.35s; + } + + .items.onscroll-fade-in > *:nth-child(11) > .inner { + -moz-transition-delay: 1.5s; + -webkit-transition-delay: 1.5s; + -ms-transition-delay: 1.5s; + transition-delay: 1.5s; + } + + .items.onscroll-fade-in > *:nth-child(12) > .inner { + -moz-transition-delay: 1.65s; + -webkit-transition-delay: 1.65s; + -ms-transition-delay: 1.65s; + transition-delay: 1.65s; + } + + .items.onscroll-fade-in > *:nth-child(13) > .inner { + -moz-transition-delay: 1.8s; + -webkit-transition-delay: 1.8s; + -ms-transition-delay: 1.8s; + transition-delay: 1.8s; + } + + .items.onscroll-fade-in > *:nth-child(14) > .inner { + -moz-transition-delay: 1.95s; + -webkit-transition-delay: 1.95s; + -ms-transition-delay: 1.95s; + transition-delay: 1.95s; + } + + .items.onscroll-fade-in > *:nth-child(15) > .inner { + -moz-transition-delay: 2.1s; + -webkit-transition-delay: 2.1s; + -ms-transition-delay: 2.1s; + transition-delay: 2.1s; + } + + .items.onscroll-fade-in > *:nth-child(16) > .inner { + -moz-transition-delay: 2.25s; + -webkit-transition-delay: 2.25s; + -ms-transition-delay: 2.25s; + transition-delay: 2.25s; + } + + .items.onscroll-fade-in > *:nth-child(17) > .inner { + -moz-transition-delay: 2.4s; + -webkit-transition-delay: 2.4s; + -ms-transition-delay: 2.4s; + transition-delay: 2.4s; + } + + .items.onscroll-fade-in.is-inactive > * > .inner { + opacity: 0; + } + +/* Items (style1) */ + + .items.style1 { + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + margin: 3rem 0; + position: relative; + } + + .items.style1 > * { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + border-style: solid; + border-left-width: 1px; + border-top-width: 1px; + } + + .items.style1.big > * { + padding: 3.5rem 3.5rem 1.5rem 3.5rem ; + width: 50%; + } + + .items.style1.big > *:nth-child(-n + 2) { + border-top-width: 0; + } + + .items.style1.big > *:nth-child(2n + 1) { + border-left-width: 0; + } + + .items.style1.medium > * { + padding: 2.1875rem 2.1875rem 0.1875rem 2.1875rem ; + width: 33.33333%; + } + + .items.style1.medium > *:nth-child(-n + 3) { + border-top-width: 0; + } + + .items.style1.medium > *:nth-child(3n + 1) { + border-left-width: 0; + } + + .items.style1.small > * { + padding: 1.3125rem 1.3125rem 0.1rem 1.3125rem ; + width: 25%; + } + + .items.style1.small > *:nth-child(-n + 4) { + border-top-width: 0; + } + + .items.style1.small > *:nth-child(4n + 1) { + border-left-width: 0; + } + + @media screen and (max-width: 1280px) { + + .items.style1.small > *:nth-child(-n + 4) { + border-top-width: 1px; + } + + .items.style1.small > *:nth-child(4n + 1) { + border-left-width: 1px; + } + + .items.style1.small > * { + padding: 2.1875rem 2.1875rem 0.1875rem 2.1875rem ; + width: 33.33333%; + } + + .items.style1.small > *:nth-child(-n + 3) { + border-top-width: 0; + } + + .items.style1.small > *:nth-child(3n + 1) { + border-left-width: 0; + } + + } + + @media screen and (max-width: 980px) { + + .items.style1.medium > *:nth-child(-n + 3) { + border-top-width: 1px; + } + + .items.style1.medium > *:nth-child(3n + 1) { + border-left-width: 1px; + } + + .items.style1.medium > * { + padding: 3.5rem 3.5rem 1.5rem 3.5rem ; + width: 50%; + } + + .items.style1.medium > *:nth-child(-n + 2) { + border-top-width: 0; + } + + .items.style1.medium > *:nth-child(2n + 1) { + border-left-width: 0; + } + + .items.style1.small > *:nth-child(-n + 3) { + border-top-width: 1px; + } + + .items.style1.small > *:nth-child(3n + 1) { + border-left-width: 1px; + } + + .items.style1.small > * { + padding: 3.5rem 3.5rem 1.5rem 3.5rem ; + width: 50%; + } + + .items.style1.small > *:nth-child(-n + 2) { + border-top-width: 0; + } + + .items.style1.small > *:nth-child(2n + 1) { + border-left-width: 0; + } + + } + + @media screen and (max-width: 480px) { + + .items.style1.big > *:nth-child(-n + 2) { + border-top-width: 1px; + } + + .items.style1.big > *:nth-child(2n + 1) { + border-left-width: 1px; + } + + .items.style1.big > * { + padding: 2.625rem 2.625rem 0.625rem 2.625rem ; + width: 100%; + } + + .items.style1.big > *:nth-child(-n + 1) { + border-top-width: 0; + } + + .items.style1.big > *:nth-child(1n + 1) { + border-left-width: 0; + } + + .items.style1.medium > *:nth-child(-n + 2) { + border-top-width: 1px; + } + + .items.style1.medium > *:nth-child(2n + 1) { + border-left-width: 1px; + } + + .items.style1.medium > * { + padding: 2.625rem 2.625rem 0.625rem 2.625rem ; + width: 100%; + } + + .items.style1.medium > *:nth-child(-n + 1) { + border-top-width: 0; + } + + .items.style1.medium > *:nth-child(1n + 1) { + border-left-width: 0; + } + + .items.style1.small > *:nth-child(-n + 2) { + border-top-width: 1px; + } + + .items.style1.small > *:nth-child(2n + 1) { + border-left-width: 1px; + } + + .items.style1.small > * { + padding: 2.625rem 2.625rem 0.625rem 2.625rem ; + width: 100%; + } + + .items.style1.small > *:nth-child(-n + 1) { + border-top-width: 0; + } + + .items.style1.small > *:nth-child(1n + 1) { + border-left-width: 0; + } + + .items.style1.big > *, .items.style1.medium > *, .items.style1.small > * { + padding-left: 0; + padding-right: 0; + } + + .items.style1.big > :first-child, .items.style1.medium > :first-child, .items.style1.small > :first-child { + padding-top: 0; + } + + .items.style1.big > :last-child, .items.style1.medium > :last-child, .items.style1.small > :last-child { + padding-bottom: 0; + } + + .items.style1.big > :last-child > .inner > :last-child, .items.style1.medium > :last-child > .inner > :last-child, .items.style1.small > :last-child > .inner > :last-child { + margin-bottom: 0; + } + + } + +/* Items (style2) */ + + .items.style2 { + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + margin: 3rem 0; + position: relative; + border: solid 1px; + border-radius: 4px; + } + + .items.style2 > * { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + border-style: solid; + border-left-width: 1px; + border-top-width: 1px; + } + + .items.style2.big > * { + padding: 3.5rem 3.5rem 1.5rem 3.5rem ; + width: 50%; + } + + .items.style2.big > *:nth-child(-n + 2) { + border-top-width: 0; + } + + .items.style2.big > *:nth-child(2n + 1) { + border-left-width: 0; + } + + .items.style2.medium > * { + padding: 2.1875rem 2.1875rem 0.1875rem 2.1875rem ; + width: 33.33333%; + } + + .items.style2.medium > *:nth-child(-n + 3) { + border-top-width: 0; + } + + .items.style2.medium > *:nth-child(3n + 1) { + border-left-width: 0; + } + + .items.style2.small > * { + padding: 1.3125rem 1.3125rem 0.1rem 1.3125rem ; + width: 25%; } -/* Main */ + .items.style2.small > *:nth-child(-n + 4) { + border-top-width: 0; + } + + .items.style2.small > *:nth-child(4n + 1) { + border-left-width: 0; + } - .main { - padding: 6em 0 4em 0 ; - } + @media screen and (max-width: 1280px) { - .main.style1 { - background: #fff; - } + .items.style2.small > *:nth-child(-n + 4) { + border-top-width: 1px; + } - .main.style2 { - background-color: #333; - color: rgba(255, 255, 255, 0.75); - background-attachment: fixed, fixed; - background-image: url("images/overlay1.png"), url("../../images/header.jpg"); - background-size: auto, cover; - } + .items.style2.small > *:nth-child(4n + 1) { + border-left-width: 1px; + } - .main.style2 a { - border-bottom-color: rgba(255, 255, 255, 0.5); + .items.style2.small > * { + padding: 2.1875rem 2.1875rem 0.1875rem 2.1875rem ; + width: 33.33333%; } - .main.style2 a:hover { - color: #ffffff; + .items.style2.small > *:nth-child(-n + 3) { + border-top-width: 0; } - .main.style2 h1, .main.style2 h2, .main.style2 h3, .main.style2 h4, .main.style2 h5, .main.style2 h6, .main.style2 strong, .main.style2 b { - color: #ffffff; - } + .items.style2.small > *:nth-child(3n + 1) { + border-left-width: 0; + } - .main.style2 header p { - color: #ffffff; + } + + @media screen and (max-width: 980px) { + + .items.style2.medium > *:nth-child(-n + 3) { + border-top-width: 1px; } - .main.style2 header.major:after { - background: #ffffff; + .items.style2.medium > *:nth-child(3n + 1) { + border-left-width: 1px; } - .main.style2 input[type="submit"], - .main.style2 input[type="reset"], - .main.style2 input[type="button"], - .main.style2 button, - .main.style2 .button { - box-shadow: inset 0 0 0 1px #ffffff; - color: #ffffff !important; + .items.style2.medium > * { + padding: 3.5rem 3.5rem 1.5rem 3.5rem ; + width: 50%; } - .main.style2 input[type="submit"]:hover, - .main.style2 input[type="reset"]:hover, - .main.style2 input[type="button"]:hover, - .main.style2 button:hover, - .main.style2 .button:hover { - background-color: rgba(255, 255, 255, 0.125); + .items.style2.medium > *:nth-child(-n + 2) { + border-top-width: 0; } - .main.style2 input[type="submit"]:active, - .main.style2 input[type="reset"]:active, - .main.style2 input[type="button"]:active, - .main.style2 button:active, - .main.style2 .button:active { - background-color: rgba(255, 255, 255, 0.25); + .items.style2.medium > *:nth-child(2n + 1) { + border-left-width: 0; } - .main.style2 input[type="submit"].special, - .main.style2 input[type="reset"].special, - .main.style2 input[type="button"].special, - .main.style2 button.special, - .main.style2 .button.special { - background-color: #ffffff; - box-shadow: inset 0 0 0 1px #ffffff !important; - color: #333 !important; + .items.style2.small > *:nth-child(-n + 3) { + border-top-width: 1px; + } + + .items.style2.small > *:nth-child(3n + 1) { + border-left-width: 1px; + } + + .items.style2.small > * { + padding: 3.5rem 3.5rem 1.5rem 3.5rem ; + width: 50%; + } + + .items.style2.small > *:nth-child(-n + 2) { + border-top-width: 0; } - .main.style2 input[type="submit"].special:hover, - .main.style2 input[type="reset"].special:hover, - .main.style2 input[type="button"].special:hover, - .main.style2 button.special:hover, - .main.style2 .button.special:hover { - background-color: rgba(255, 255, 255, 0.125) !important; - color: #ffffff !important; - } + .items.style2.small > *:nth-child(2n + 1) { + border-left-width: 0; + } - .main.style2 input[type="submit"].special:active, - .main.style2 input[type="reset"].special:active, - .main.style2 input[type="button"].special:active, - .main.style2 button.special:active, - .main.style2 .button.special:active { - background-color: rgba(255, 255, 255, 0.25) !important; - } + } - .main.style2 ul.major-icons li .icon { - border-color: #ffffff; + @media screen and (max-width: 480px) { + + .items.style2.big > *:nth-child(-n + 2) { + border-top-width: 1px; } - .main.style2 .icon.major { - color: #ffffff; + .items.style2.big > *:nth-child(2n + 1) { + border-left-width: 1px; } -/* Header */ + .items.style2.big > * { + padding: 2.625rem 2.625rem 0.625rem 2.625rem ; + width: 100%; + } - #header { - padding: 9em 0 9em 0 ; - background-color: #4686a0; - color: rgba(255, 255, 255, 0.75); - background-attachment: fixed, fixed, fixed; - background-image: url("images/overlay2.png"), url("images/overlay3.svg"), linear-gradient(45deg, #9dc66b 5%, #4fa49a 30%, #4361c2); - background-position: top left, center center, center center; - background-size: auto, cover, cover; - overflow: hidden; - position: relative; - text-align: center; - } + .items.style2.big > *:nth-child(-n + 1) { + border-top-width: 0; + } - #header a { - border-bottom-color: rgba(255, 255, 255, 0.5); - } + .items.style2.big > *:nth-child(1n + 1) { + border-left-width: 0; + } - #header a:hover { - color: #ffffff; + .items.style2.medium > *:nth-child(-n + 2) { + border-top-width: 1px; } - #header h1, #header h2, #header h3, #header h4, #header h5, #header h6, #header strong, #header b { - color: #ffffff; - } + .items.style2.medium > *:nth-child(2n + 1) { + border-left-width: 1px; + } - #header header p { - color: #ffffff; - } + .items.style2.medium > * { + padding: 2.625rem 2.625rem 0.625rem 2.625rem ; + width: 100%; + } - #header header.major:after { - background: #ffffff; - } + .items.style2.medium > *:nth-child(-n + 1) { + border-top-width: 0; + } - #header input[type="submit"], - #header input[type="reset"], - #header input[type="button"], - #header button, - #header .button { - box-shadow: inset 0 0 0 1px #ffffff; - color: #ffffff !important; - } + .items.style2.medium > *:nth-child(1n + 1) { + border-left-width: 0; + } - #header input[type="submit"]:hover, - #header input[type="reset"]:hover, - #header input[type="button"]:hover, - #header button:hover, - #header .button:hover { - background-color: rgba(255, 255, 255, 0.125); + .items.style2.small > *:nth-child(-n + 2) { + border-top-width: 1px; } - #header input[type="submit"]:active, - #header input[type="reset"]:active, - #header input[type="button"]:active, - #header button:active, - #header .button:active { - background-color: rgba(255, 255, 255, 0.25); + .items.style2.small > *:nth-child(2n + 1) { + border-left-width: 1px; } - #header input[type="submit"].special, - #header input[type="reset"].special, - #header input[type="button"].special, - #header button.special, - #header .button.special { - background-color: #ffffff; - box-shadow: inset 0 0 0 1px #ffffff !important; - color: #4686a0 !important; + .items.style2.small > * { + padding: 2.625rem 2.625rem 0.625rem 2.625rem ; + width: 100%; } - #header input[type="submit"].special:hover, - #header input[type="reset"].special:hover, - #header input[type="button"].special:hover, - #header button.special:hover, - #header .button.special:hover { - background-color: rgba(255, 255, 255, 0.125) !important; - color: #ffffff !important; + .items.style2.small > *:nth-child(-n + 1) { + border-top-width: 0; } - #header input[type="submit"].special:active, - #header input[type="reset"].special:active, - #header input[type="button"].special:active, - #header button.special:active, - #header .button.special:active { - background-color: rgba(255, 255, 255, 0.25) !important; + .items.style2.small > *:nth-child(1n + 1) { + border-left-width: 0; } - #header ul.major-icons li .icon { - border-color: #ffffff; } - #header .icon.major { - color: #ffffff; - } +/* Items (style3) */ - #header h1 { - margin: 0; - } + .items.style3 { + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + margin: 3rem 0; + position: relative; + } - #header p { - margin: 1em 0 0 0; + .items.style3 > * { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; } - #header .actions { - margin: 2.5em 0 0 0; - position: relative; + .items.style3.big > * { + padding: 1.75rem 1.75rem 0.1rem 1.75rem ; + width: 50%; } - #header .actions:after { - background: #ffffff; - content: ''; - height: 100vh; - left: 50%; - position: absolute; - top: 100%; - width: 1px; - } - - #header .inner { - -moz-transition: -moz-transform 1.5s ease, opacity 2s ease; - -webkit-transition: -webkit-transform 1.5s ease, opacity 2s ease; - -ms-transition: -ms-transform 1.5s ease, opacity 2s ease; - transition: transform 1.5s ease, opacity 2s ease; - -moz-transition-delay: 0.25s; - -webkit-transition-delay: 0.25s; - -ms-transition-delay: 0.25s; - transition-delay: 0.25s; - -moz-transform: scale(1); - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - opacity: 1; - position: relative; - z-index: 1; + .items.style3.medium > * { + padding: 1.09375rem 1.09375rem 0.1rem 1.09375rem ; + width: 33.33333%; } - #header .inner .actions { - -moz-transition: -moz-transform 1.25s ease; - -webkit-transition: -webkit-transform 1.25s ease; - -ms-transition: -ms-transform 1.25s ease; - transition: transform 1.25s ease; - -moz-transition-delay: 1s; - -webkit-transition-delay: 1s; - -ms-transition-delay: 1s; - transition-delay: 1s; - -moz-transform: translateY(0); - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - opacity: 1; - } - - #header:after { - -moz-transition: opacity 1s ease; - -webkit-transition: opacity 1s ease; - -ms-transition: opacity 1s ease; - transition: opacity 1s ease; - background-image: linear-gradient(45deg, #4fa49a, #4361c2); - content: ''; - height: 100%; - left: 0; - opacity: 0; - position: absolute; - top: 0; - width: 100%; + .items.style3.small > * { + padding: 0.65625rem 0.65625rem 0.1rem 0.65625rem ; + width: 25%; } - body.is-loading #header .inner { - -moz-transform: scale(1.05); - -webkit-transform: scale(1.05); - -ms-transform: scale(1.05); - transform: scale(1.05); - opacity: 0; - } + @media screen and (max-width: 1280px) { + + .items.style3.small > * { + padding: 1.09375rem 1.09375rem 0.1rem 1.09375rem ; + width: 33.33333%; + } - body.is-loading #header .inner .actions { - -moz-transform: translateY(30em); - -webkit-transform: translateY(30em); - -ms-transform: translateY(30em); - transform: translateY(30em); - opacity: 0; } - body.is-loading #header:after { - opacity: 1; - } + @media screen and (max-width: 980px) { -/* Footer */ + .items.style3.medium > * { + padding: 1.75rem 1.75rem 0.1rem 1.75rem ; + width: 50%; + } - #footer { - padding: 6em 0 6em 0 ; - background-color: #4686a0; - color: rgba(255, 255, 255, 0.75); - background-attachment: fixed, fixed, fixed; - background-image: url("images/overlay2.png"), url("images/overlay4.svg"), linear-gradient(45deg, #4361c2, #4fa49a 50%, #9dc66b 95%); - background-position: top left, center center, center center; - background-size: auto, cover, cover; - text-align: center; - } + .items.style3.small > * { + padding: 1.75rem 1.75rem 0.1rem 1.75rem ; + width: 50%; + } - #footer a { - border-bottom-color: rgba(255, 255, 255, 0.5); } - #footer a:hover { - color: #ffffff; + @media screen and (max-width: 736px) { + + .items.style3 { + margin: 2rem 0; } - #footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6, #footer strong, #footer b { - color: #ffffff; } - #footer header p { - color: #ffffff; - } + @media screen and (max-width: 480px) { - #footer header.major:after { - background: #ffffff; - } + .items.style3.big > * { + padding: 1.3125rem 1.3125rem 0.1rem 1.3125rem ; + width: 100%; + } - #footer input[type="submit"], - #footer input[type="reset"], - #footer input[type="button"], - #footer button, - #footer .button { - box-shadow: inset 0 0 0 1px #ffffff; - color: #ffffff !important; - } + .items.style3.medium > * { + padding: 1.3125rem 1.3125rem 0.1rem 1.3125rem ; + width: 100%; + } - #footer input[type="submit"]:hover, - #footer input[type="reset"]:hover, - #footer input[type="button"]:hover, - #footer button:hover, - #footer .button:hover { - background-color: rgba(255, 255, 255, 0.125); + .items.style3.small > * { + padding: 1.3125rem 1.3125rem 0.1rem 1.3125rem ; + width: 100%; } - #footer input[type="submit"]:active, - #footer input[type="reset"]:active, - #footer input[type="button"]:active, - #footer button:active, - #footer .button:active { - background-color: rgba(255, 255, 255, 0.25); + .items.style3.big > *, .items.style3.medium > *, .items.style3.small > * { + padding-left: 0; + padding-right: 0; } - #footer input[type="submit"].special, - #footer input[type="reset"].special, - #footer input[type="button"].special, - #footer button.special, - #footer .button.special { - background-color: #ffffff; - box-shadow: inset 0 0 0 1px #ffffff !important; - color: #4686a0 !important; + .items.style3.big > :first-child, .items.style3.medium > :first-child, .items.style3.small > :first-child { + padding-top: 0; } - #footer input[type="submit"].special:hover, - #footer input[type="reset"].special:hover, - #footer input[type="button"].special:hover, - #footer button.special:hover, - #footer .button.special:hover { - background-color: rgba(255, 255, 255, 0.125) !important; - color: #ffffff !important; - } + .items.style3.big > :last-child, .items.style3.medium > :last-child, .items.style3.small > :last-child { + padding-bottom: 0; + } - #footer input[type="submit"].special:active, - #footer input[type="reset"].special:active, - #footer input[type="button"].special:active, - #footer button.special:active, - #footer .button.special:active { - background-color: rgba(255, 255, 255, 0.25) !important; + .items.style3.big > :last-child > .inner > :last-child, .items.style3.medium > :last-child > .inner > :last-child, .items.style3.small > :last-child > .inner > :last-child { + margin-bottom: 0; } - #footer ul.major-icons li .icon { - border-color: #ffffff; } - #footer .icon.major { - color: #ffffff; + .items.style1 > * { + border-color: rgba(0, 0, 0, 0.2); + } + + .items.style2 { + border-color: rgba(0, 0, 0, 0.2); + } + + .items.style2 > * { + border-color: rgba(0, 0, 0, 0.2); } - #footer .icons { - margin: 0; +/* Index */ + + .index > * { + padding: 3rem 0 1rem 0 ; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + border-top: solid 1px; + } + + .index > * > header { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + width: 15rem; } - #footer .copyright { - font-size: 0.8em; - list-style: none; - margin: 2em 0 0 0; - padding: 0; + .index > * > .content { + -moz-flex-grow: 1; + -webkit-flex-grow: 1; + -ms-flex-grow: 1; + flex-grow: 1; + -moz-flex-shrink: 1; + -webkit-flex-shrink: 1; + -ms-flex-shrink: 1; + flex-shrink: 1; } - #footer .copyright li { - border-left: solid 1px; - display: inline-block; - line-height: 1em; - margin-left: 1em; - padding: 0 0 0 1em; - } + .index > :first-child { + border-top: 0; + } - #footer .copyright li:first-child { - border-left: 0; - margin-left: 0; - padding: 0; - } + @media screen and (max-width: 980px) { -/* XLarge */ + .index > * > header { + width: 11rem; + } - @media screen and (max-width: 1680px) { + } - /* Basic */ + @media screen and (max-width: 736px) { - body, input, select, textarea { - font-size: 14pt; - } + .index > * > header { + width: 10rem; + } + + } + + @media screen and (max-width: 480px) { - /* Header */ + .index > * { + -moz-flex-direction: column; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } - #header { - padding: 6em 0 6em 0 ; + .index > * > header { + width: 100%; } } -/* Large */ + .index > * { + border-top-color: rgba(0, 0, 0, 0.2); + } + +/* Wrapper */ - @media screen and (max-width: 1140px) { + #wrapper { + background-color: inherit; + width: 100%; + overflow-x: hidden; + } - /* Basic */ + #wrapper > .invert { + background-color: #000000; + color: #ffffff; + } - body, input, select, textarea { - font-size: 13pt; + #wrapper > .invert input, #wrapper > .invert select, #wrapper > .invert textarea { + color: #ffffff; } - h1 br, h2 br, h3 br, h4 br, h5 br, h6 br { - display: none; + #wrapper > .invert a { + color: #ffffff; } - /* List */ + #wrapper > .invert a:hover { + color: #47D3E5; + } - ul.major-icons li { - padding: 2em; + #wrapper > .invert strong, #wrapper > .invert b { + color: #ffffff; } - ul.major-icons li .icon { - height: 8em; - line-height: 8em; - width: 8em; - } + #wrapper > .invert h1, #wrapper > .invert h2, #wrapper > .invert h3, #wrapper > .invert h4, #wrapper > .invert h5, #wrapper > .invert h6 { + color: #ffffff; + } - /* Main */ + #wrapper > .invert blockquote { + border-left-color: white; + } - .main { - padding: 4em 0 2em 0 ; + #wrapper > .invert code { + background: rgba(255, 255, 255, 0.125); + border-color: white; } - .main.style2 { - background-attachment: scroll; - } + #wrapper > .invert hr { + border-bottom-color: white; + } - /* Header */ + #wrapper > .invert .box { + border-color: white; + } - #header { - padding: 5em 0 5em 0 ; - background-attachment: scroll; + #wrapper > .invert input[type="submit"], + #wrapper > .invert input[type="reset"], + #wrapper > .invert input[type="button"], + #wrapper > .invert button, + #wrapper > .invert .button { + background-color: transparent; + box-shadow: inset 0 0 0 1px white; + color: #ffffff !important; } - #header br { - display: inline; + #wrapper > .invert input[type="submit"]:hover, + #wrapper > .invert input[type="reset"]:hover, + #wrapper > .invert input[type="button"]:hover, + #wrapper > .invert button:hover, + #wrapper > .invert .button:hover { + box-shadow: inset 0 0 0 1px #47D3E5; + color: #47D3E5 !important; } - /* Footer */ - - #footer { - padding: 4em 0 4em 0 ; - background-attachment: scroll; - } + #wrapper > .invert input[type="submit"]:active, + #wrapper > .invert input[type="reset"]:active, + #wrapper > .invert input[type="button"]:active, + #wrapper > .invert button:active, + #wrapper > .invert .button:active { + background-color: rgba(71, 211, 229, 0.2); + box-shadow: inset 0 0 0 1px #47D3E5; + color: #47D3E5 !important; + } - } + #wrapper > .invert input[type="submit"].special, + #wrapper > .invert input[type="reset"].special, + #wrapper > .invert input[type="button"].special, + #wrapper > .invert button.special, + #wrapper > .invert .button.special { + background-color: #ffffff; + box-shadow: none; + color: #000000 !important; + } -/* Medium */ + #wrapper > .invert input[type="submit"].special:hover, + #wrapper > .invert input[type="reset"].special:hover, + #wrapper > .invert input[type="button"].special:hover, + #wrapper > .invert button.special:hover, + #wrapper > .invert .button.special:hover { + background-color: #47D3E5; + } - @media screen and (max-width: 980px) { + #wrapper > .invert input[type="submit"].special:active, + #wrapper > .invert input[type="reset"].special:active, + #wrapper > .invert input[type="button"].special:active, + #wrapper > .invert button.special:active, + #wrapper > .invert .button.special:active { + background-color: #1ebdd1; + } - /* List */ + #wrapper > .invert label { + color: #ffffff; + } - ul.major-icons li { - padding: 2em; + #wrapper > .invert input[type="text"], + #wrapper > .invert input[type="password"], + #wrapper > .invert input[type="email"], + #wrapper > .invert input[type="tel"], + #wrapper > .invert input[type="search"], + #wrapper > .invert input[type="url"], + #wrapper > .invert select, + #wrapper > .invert textarea { + border-color: white; } - ul.major-icons li .icon { - height: 7em; - line-height: 7em; - width: 7em; + #wrapper > .invert input[type="text"]:focus, + #wrapper > .invert input[type="password"]:focus, + #wrapper > .invert input[type="email"]:focus, + #wrapper > .invert input[type="tel"]:focus, + #wrapper > .invert input[type="search"]:focus, + #wrapper > .invert input[type="url"]:focus, + #wrapper > .invert select:focus, + #wrapper > .invert textarea:focus { + border-color: #47D3E5; + box-shadow: 0 0 0 1px #47D3E5; } - /* Main */ - - .main { - padding: 5em 3em 3em 3em ; + #wrapper > .invert .select-wrapper:before { + color: white; } - /* Header */ - - #header { - padding: 8em 3em 8em 3em ; + #wrapper > .invert input[type="checkbox"] + label, + #wrapper > .invert input[type="radio"] + label { + color: #ffffff; } - /* Footer */ + #wrapper > .invert input[type="checkbox"] + label:before, + #wrapper > .invert input[type="radio"] + label:before { + border-color: white; + } - #footer { - padding: 5em 3em 5em 3em ; + #wrapper > .invert input[type="checkbox"]:checked + label:before, + #wrapper > .invert input[type="radio"]:checked + label:before { + background-color: #ffffff; + border-color: #ffffff; + color: #000000; } - /* One */ - - #one { - text-align: center; + #wrapper > .invert input[type="checkbox"]:focus + label:before, + #wrapper > .invert input[type="radio"]:focus + label:before { + border-color: #47D3E5; + box-shadow: 0 0 0 1px #47D3E5; } - /* Two */ - - #two { - text-align: center; + #wrapper > .invert ::-webkit-input-placeholder { + color: #ffffff !important; } - } - -/* Small */ + #wrapper > .invert :-moz-placeholder { + color: #ffffff !important; + } - @media screen and (max-width: 736px) { + #wrapper > .invert ::-moz-placeholder { + color: #ffffff !important; + } - /* Basic */ + #wrapper > .invert :-ms-input-placeholder { + color: #ffffff !important; + } - body, input, select, textarea { - font-size: 12pt; + #wrapper > .invert .formerize-placeholder { + color: #ffffff !important; } - h1 { - font-size: 1.75em; + #wrapper > .invert .icon.style2:before { + box-shadow: inset 0 0 0 1px white; } - h2 { - font-size: 1.5em; + #wrapper > .invert a.icon.style2:hover:before { + box-shadow: inset 0 0 0 1px #47D3E5; + color: #47D3E5; } - h3 { - font-size: 1.1em; + #wrapper > .invert a.icon.style2:active:before { + background-color: rgba(71, 211, 229, 0.1); + box-shadow: inset 0 0 0 1px #47D3E5; + color: #47D3E5; } - h4 { - font-size: 1em; + #wrapper > .invert ul.alt li { + border-top-color: white; } - /* List */ + #wrapper > .invert header p { + color: #ffffff; + } - ul.major-icons li { - padding: 1.5em; + #wrapper > .invert table tbody tr { + border-color: white; } - ul.major-icons li .icon { - height: 5em; - line-height: 5em; - width: 5em; + #wrapper > .invert table tbody tr:nth-child(2n + 1) { + background-color: rgba(255, 255, 255, 0.125); } - ul.major-icons li .icon:before { - font-size: 42px; - } - - /* Icon */ + #wrapper > .invert table tbody tr.alt { + background-color: rgba(255, 255, 255, 0.125) !important; + } - .icon.major { - margin: 0 0 1em 0; + #wrapper > .invert table th { + color: #ffffff; } - /* Button */ + #wrapper > .invert table thead { + border-bottom-color: white; + } - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - height: 3em; - line-height: 3em; + #wrapper > .invert table tfoot { + border-top-color: white; } - /* Main */ + #wrapper > .invert table.alt tbody tr td { + border-color: white; + } - .main { - padding: 3em 1.5em 1em 1.5em ; + #wrapper > .invert table.uniform tbody tr:nth-child(2n + 1) { + background-color: transparent; } - /* Header */ + #wrapper > .invert .banner .image { + background-color: rgba(255, 255, 255, 0.125); + } - #header { - padding: 4em 3em 4em 3em ; + #wrapper > .invert .banner.style4 .image { + border-color: white; + background-color: white; + border-width: 1px; } - #header .actions { - margin: 2em 0 0 0; + #wrapper > .invert .banner.style4 .image:before { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Erect %7Bfill: transparent%3B stroke: white%3B stroke-width: 1px%3B %7D%3C/style%3E%3Crect rx='4' ry='4' x='11' y='12' width='42' height='8' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + border-color: white; + width: calc(100% + 2px); + margin-left: -1px; } - /* Footer */ + #wrapper > .invert .banner.style4 .image:after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Ecircle %7Bfill: transparent%3B stroke: white%3B stroke-width: 1px%3B %7D%3C/style%3E%3Ccircle cx='32' cy='16' r='14' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + border-color: white; + width: calc(100% + 2px); + margin-left: -1px; + } - #footer { - padding: 3em 1.5em 3em 1.5em ; + #wrapper > .invert .banner.style4.android .image:after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Erect %7Bfill: transparent%3B stroke: white%3B stroke-width: 1px%3B %7D%3C/style%3E%3Crect rx='4' ry='4' x='6' y='4' width='52' height='24' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); } - } - -/* XSmall */ - - @media screen and (max-width: 480px) { - - /* List */ + #wrapper > .invert .spotlight .image { + background-color: rgba(255, 255, 255, 0.125); + } - ul.actions { - margin: 0 0 2em 0; + #wrapper > .invert .spotlight.style3 .image { + border-color: white; + background-color: white; + border-width: 1px; } - ul.actions li { - display: block; - padding: 1em 0 0 0; - text-align: center; - width: 100%; + #wrapper > .invert .spotlight.style3 .image:before { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Erect %7Bfill: transparent%3B stroke: white%3B stroke-width: 1px%3B %7D%3C/style%3E%3Crect rx='4' ry='4' x='11' y='12' width='42' height='8' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + border-color: white; + width: calc(100% + 2px); + margin-left: -1px; } - ul.actions li:first-child { - padding-top: 0; - } - - ul.actions li > * { - margin: 0 !important; - width: 100%; - } - - ul.actions li > *.icon:before { - margin-left: -2em; - } - - ul.actions.small li { - padding: 0.5em 0 0 0; + #wrapper > .invert .spotlight.style3 .image:after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Ecircle %7Bfill: transparent%3B stroke: white%3B stroke-width: 1px%3B %7D%3C/style%3E%3Ccircle cx='32' cy='16' r='14' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); + border-color: white; + width: calc(100% + 2px); + margin-left: -1px; } - ul.actions.small li:first-child { - padding-top: 0; - } - - /* Button */ - - input[type="submit"], - input[type="reset"], - input[type="button"], - .button { - padding: 0; + #wrapper > .invert .spotlight.style3.android .image:after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='64px' height='32px' viewBox='0 0 64 32' zoomAndPan='disable'%3E%3Cstyle%3Erect %7Bfill: transparent%3B stroke: white%3B stroke-width: 1px%3B %7D%3C/style%3E%3Crect rx='4' ry='4' x='6' y='4' width='52' height='24' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E"); } - /* Main */ - - .main { - padding: 2em 1.5em 0.1em 1.5em ; + #wrapper > .invert .gallery article .image { + background-color: rgba(255, 255, 255, 0.125); } - /* Header */ - - #header { - padding: 4em 2em 4em 2em ; + #wrapper > .invert .items.style1 > * { + border-color: white; } - #header br { - display: none; - } - - /* Footer */ - - #footer { - padding: 2em 1.5em 2em 1.5em ; + #wrapper > .invert .items.style2 { + border-color: white; } - #footer .copyright { - margin: 1.5em 0 0 0; + #wrapper > .invert .items.style2 > * { + border-color: white; } - #footer .copyright li { - border: 0; - display: block; - margin: 1em 0 0 0; - padding: 0; - } - - #footer .copyright li:first-child { - margin-top: 0; - } + #wrapper > .invert .index > * { + border-top-color: white; + } - } + #wrapper > .color1 { + background-color: #30363d; + } -/* XXSmall */ + #wrapper > .color2 { + background-color: #db8992; + } - @media screen and (max-width: 320px) { + #wrapper > .color3 { + background-color: #ab7aad; + } - /* Basic */ + #wrapper > .color4 { + background-color: #897cad; + } - html, body { - min-width: 320px; - } + #wrapper > .color5 { + background-color: #7794ce; + } - /* Main */ + #wrapper > .color6 { + background-color: #64abb4; + } - .main { - padding: 2em 1em 0.1em 1em ; - } + #wrapper > .color7 { + background-color: #6ba78c; + } - /* Header */ + #wrapper.divided > * { + box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.075); + } - #header { - padding: 3em 1em 3em 1em ; + #wrapper.divided > *:first-child { + box-shadow: none !important; } - /* Footer */ + #wrapper.divided > .invert { + box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.125); + } - #footer { - padding: 2em 1em 2em 1em ; + #wrapper.divided > .invert:first-child { + box-shadow: none !important; } - - } diff --git a/assets/js/demo.js b/assets/js/demo.js new file mode 100644 index 0000000..01ede5a --- /dev/null +++ b/assets/js/demo.js @@ -0,0 +1,563 @@ +/* + Story by HTML5 UP + html5up.net | @ajlkn + Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) + + Note: Only needed for demo purposes. Delete for production sites. +*/ + +(function($) { + + var $window = $(window); + + // Styles. + $( + '' + ).appendTo($('head')); + + // Functions. + $.fn.demo_controls = function(styles, userOptions) { + + var $this = $(this), + $styleProperty, $stylePropertyClasses, + $controls, $x, $y, $z, + options, + current, i, j, k, s, n, count; + + // No elements? + if (this.length == 0) + return $this; + + // Multiple elements? + if (this.length > 1) { + + for (var i=0; i < this.length; i++) + $(this[i]).demo_controls(styles, userOptions); + + return $this; + + } + + // Options. + options = $.extend({ + target: null, + palette: true + }, userOptions); + + // Controls. + if (styles) { + + $controls = $( + '' + + '' + + 'style' + + '' + (options.palette ? ', ' : ' ') + + '' + + (options.palette ? + '' + + 'scheme' + + '' + + 'default' + + 'invert' + + ', ' + + '' + + '' + + 'color' + + '' + + 'default' + + 'color1' + + 'color2' + + 'color3' + + 'color4' + + 'color5' + + 'color6' + + 'color7' + + ', ' + + '' + : '') + + '' + ); + + } + else { + + $controls = $( + '' + + (options.palette ? + '' + + 'scheme' + + '' + + 'default' + + 'invert' + + ' and ' + + '' + + '' + + 'color' + + '' + + 'default' + + 'color1' + + 'color2' + + 'color3' + + 'color4' + + 'color5' + + 'color6' + + 'color7' + + '' + + '' + : '') + + '' + ); + + } + + // Target. + switch (options.target) { + + case 'previous': + $this.prev().find('.demo-controls').replaceWith($controls); + break; + + default: + $this.find('.demo-controls').replaceWith($controls); + break; + + } + + // Styles. + if (styles) { + + $styleProperty = $controls.find('.property[data-name="style"]'); + $stylePropertyClasses = $styleProperty.children('.classes'); + + for (i in styles) { + + current = false; + count = Object.keys(styles[i]).length; + n = 1; + + // Add to style property. + $x = $(', ' + i + '') + .appendTo($stylePropertyClasses); + + if ($this.hasClass(i)) { + + $x.addClass('active'); + current = true; + + } + + // Step through properties. + for (j in styles[i]) { + + $x = $( + '' + + (n == count ? 'and ' : '') + + '' + j + '' + + '' + + '' + (n < count ? ', ' : '') + + '' + ).appendTo($controls); + + $y = $x.children('.classes'); + + if (current) + $x.addClass('active'); + + for (k in styles[i][j]) { + + $z = $(', ' + styles[i][j][k].replace('*', '') + '') + .appendTo($y); + + if (styles[i][j][k].substr(-1, 1) == '*') + $z.addClass('default'); + + if (current + && $this.hasClass(k)) + $z.addClass('active'); + + } + + n++; + + } + + } + + } + + // Events. + $controls.on('click', 'a', function(event) { + event.preventDefault(); + }); + + $controls.on('click', '.property.active', function(event) { + + var $property = $(this); + var $classes = $property.find('.classes > *'); + var $current = $classes.filter('.active'); + var $next; + + // Determine next. + if ($current.length == 0 + || $current.index() == $classes.length - 1) + $next = $classes.first(); + else + $next = $current.next(); + + // Turn on animate all. + $this.addClass('demo-animate-all'); + + // Deactivate current. + $current.removeClass('active'); + $this.removeClass($current.data('class')); + + // Activate next. + $next.addClass('active'); + $this.addClass($next.data('class')); + + // Turn off animate all. + setTimeout(function() { + $this.removeClass('demo-animate-all'); + }, 500); + + }); + + $controls.on('click', '.property[data-name="style"]', function(event) { + + var $property = $(this); + var $classes = $property.find('.classes > *'); + var $current = $classes.filter('.active'); + var $next; + + // Determine next. + if ($current.length == 0 + || $current.index() == $classes.length - 1) + $next = $classes.first(); + else + $next = $current.next(); + + // Turn on animate all. + $this.addClass('demo-animate-all'); + + // Deactivate current. + $current.removeClass('active'); + $this.removeClass($current.data('class')); + + $controls.find('.property[data-requires="' + $current.data('class') + '"]') + .removeClass('active'); + + $controls.find('.property[data-requires="' + $current.data('class') + '"] > .classes > .active').each(function() { + + $(this).removeClass('active'); + + if ($(this).data('class') != '-') + $this.removeClass($(this).data('class')); + + }); + + // Activate next. + $next.addClass('active'); + $this.addClass($next.data('class')); + + $controls.find('.property[data-requires="' + $next.data('class') + '"]') + .addClass('active'); + + $controls.find('.property[data-requires="' + $next.data('class') + '"] > .classes > .default').each(function() { + + $(this).addClass('active'); + + if ($(this).data('class') != '-') + $this.addClass($(this).data('class')); + + }); + + // Turn off animate all. + setTimeout(function() { + $this.removeClass('demo-animate-all'); + }, 500); + + }); + + }; + + // Elements. + + // Wrappers. + $('.wrapper').demo_controls(null, { + palette: true + }); + + // Banner. + $('.banner').demo_controls({ + style1: { + 'size': { + '-': 'normal', + 'fullscreen': 'fullscreen*' + }, + 'orientation': { + 'orient-left': 'left*', + 'orient-right': 'right' + }, + 'content alignment': { + 'content-align-left': 'left*', + 'content-align-center': 'center', + 'content-align-right': 'right' + }, + 'image position': { + 'image-position-left': 'left', + 'image-position-center': 'center*', + 'image-position-right': 'right' + } + }, + style2: { + 'size': { + '-': 'normal', + 'fullscreen': 'fullscreen*' + }, + 'orientation': { + 'orient-left': 'left', + 'orient-center': 'center*', + 'orient-right': 'right' + }, + 'content alignment': { + 'content-align-left': 'left', + 'content-align-center': 'center*', + 'content-align-right': 'right' + }, + 'image position': { + 'image-position-left': 'left', + 'image-position-center': 'center*', + 'image-position-right': 'right' + } + }, + style3: { + 'size': { + '-': 'normal', + 'fullscreen': 'fullscreen*' + }, + 'orientation': { + 'orient-left': 'left', + 'orient-right': 'right*' + }, + 'content alignment': { + 'content-align-left': 'left*', + 'content-align-center': 'center', + 'content-align-right': 'right' + }, + 'image position': { + 'image-position-left': 'left', + 'image-position-center': 'center*', + 'image-position-right': 'right' + } + }, + style4: { + 'size': { + '-': 'normal', + 'fullscreen': 'fullscreen*' + }, + 'phone type': { + 'iphone': 'iphone*', + 'android': 'android' + }, + 'orientation': { + 'orient-left': 'left', + 'orient-right': 'right*' + }, + 'content alignment': { + 'content-align-left': 'left*', + 'content-align-center': 'center', + 'content-align-right': 'right' + }, + 'image position': { + 'image-position-left': 'left', + 'image-position-center': 'center*', + 'image-position-right': 'right' + } + }, + style5: { + 'size': { + '-': 'normal', + 'fullscreen': 'fullscreen*' + }, + 'content alignment': { + 'content-align-left': 'left', + 'content-align-center': 'center*', + 'content-align-right': 'right' + }, + 'image position': { + 'image-position-left': 'left', + 'image-position-center': 'center*', + 'image-position-right': 'right' + } + } + }); + + // Spotlight. + $('.spotlight').demo_controls({ + style1: { + 'orientation': { + 'orient-left': 'left', + 'orient-right': 'right*' + }, + 'content alignment': { + 'content-align-left': 'left*', + 'content-align-center': 'center', + 'content-align-right': 'right' + }, + 'image position': { + 'image-position-left': 'left*', + 'image-position-center': 'center', + 'image-position-right': 'right' + } + }, + style2: { + 'orientation': { + 'orient-left': 'left', + 'orient-right': 'right*' + }, + 'content alignment': { + 'content-align-left': 'left*', + 'content-align-center': 'center', + 'content-align-right': 'right' + }, + 'image position': { + 'image-position-left': 'left', + 'image-position-center': 'center*', + 'image-position-right': 'right' + } + }, + style3: { + 'phone type': { + 'iphone': 'iphone*', + 'android': 'android' + }, + 'orientation': { + 'orient-left': 'left', + 'orient-right': 'right*' + }, + 'content alignment': { + 'content-align-left': 'left*', + 'content-align-center': 'center', + 'content-align-right': 'right' + }, + 'image position': { + 'image-position-left': 'left', + 'image-position-center': 'center*', + 'image-position-right': 'right' + } + }, + style4: { + 'size': { + '-size': 'normal', + 'fullscreen': 'fullscreen*', + 'halfscreen': 'halfscreen' + }, + 'orientation': { + 'orient-left': 'left*', + 'orient-center': 'center', + 'orient-right': 'right' + }, + 'content alignment': { + 'content-align-left': 'left*', + 'content-align-center': 'center', + 'content-align-right': 'right' + }, + 'image position': { + 'image-position-left': 'left', + 'image-position-center': 'center*', + 'image-position-right': 'right' + } + }, + style5: { + 'size': { + '-size': 'normal', + 'fullscreen': 'fullscreen*', + 'halfscreen': 'halfscreen' + }, + 'orientation': { + 'orient-left': 'left*', + 'orient-center': 'center', + 'orient-right': 'right' + }, + 'content alignment': { + 'content-align-left': 'left*', + 'content-align-center': 'center', + 'content-align-right': 'right' + }, + 'image position': { + 'image-position-left': 'left', + 'image-position-center': 'center*', + 'image-position-right': 'right' + } + }, + }); + + // Gallery. + $('.gallery').demo_controls({ + style1: { + 'size': { + 'small': 'small', + 'medium': 'medium*', + 'big': 'big' + } + }, + style2: { + 'size': { + 'small': 'small', + 'medium': 'medium*', + 'big': 'big' + } + }, + }, { + target: 'previous', + palette: false + }); + + // Items. + $('.items').demo_controls({ + style1: { + 'size': { + 'small': 'small', + 'medium': 'medium*', + 'big': 'big' + } + }, + style2: { + 'size': { + 'small': 'small', + 'medium': 'medium*', + 'big': 'big' + } + }, + style3: { + 'size': { + 'small': 'small', + 'medium': 'medium*', + 'big': 'big' + } + } + }, { + target: 'previous', + palette: false + }); + +})(jQuery); \ No newline at end of file diff --git a/assets/js/ie/PIE.htc b/assets/js/ie/PIE.htc deleted file mode 100644 index ca3b547..0000000 --- a/assets/js/ie/PIE.htc +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - diff --git a/assets/js/ie/backgroundsize.min.htc b/assets/js/ie/backgroundsize.min.htc deleted file mode 100644 index 3d9960d..0000000 --- a/assets/js/ie/backgroundsize.min.htc +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file diff --git a/assets/js/ie/html5shiv.js b/assets/js/ie/html5shiv.js deleted file mode 100644 index dcf351c..0000000 --- a/assets/js/ie/html5shiv.js +++ /dev/null @@ -1,8 +0,0 @@ -/* - HTML5 Shiv v3.6.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed -*/ -(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); -a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; -c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| -"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup main mark meter nav output progress section summary time video",version:"3.6.2",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment(); -for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d #mq-test-1 { width: 42px; }',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){v(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},g=function(a){return a.replace(c.regex.minmaxwh,"").match(c.regex.other)};if(c.ajax=f,c.queue=d,c.unsupportedmq=g,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,comments:/\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,maxw:/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,minmaxwh:/\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,other:/\([^\)]*\)/g},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var h,i,j,k=a.document,l=k.documentElement,m=[],n=[],o=[],p={},q=30,r=k.getElementsByTagName("head")[0]||l,s=k.getElementsByTagName("base")[0],t=r.getElementsByTagName("link"),u=function(){var a,b=k.createElement("div"),c=k.body,d=l.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=k.createElement("body"),c.style.background="none"),l.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&l.insertBefore(c,l.firstChild),a=b.offsetWidth,f?l.removeChild(c):c.removeChild(b),l.style.fontSize=d,e&&(c.style.fontSize=e),a=j=parseFloat(a)},v=function(b){var c="clientWidth",d=l[c],e="CSS1Compat"===k.compatMode&&d||k.body[c]||d,f={},g=t[t.length-1],p=(new Date).getTime();if(b&&h&&q>p-h)return a.clearTimeout(i),i=a.setTimeout(v,q),void 0;h=p;for(var s in m)if(m.hasOwnProperty(s)){var w=m[s],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?j||u():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?j||u():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(n[w.rules]))}for(var C in o)o.hasOwnProperty(C)&&o[C]&&o[C].parentNode===r&&r.removeChild(o[C]);o.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=k.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,r.insertBefore(E,g.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(k.createTextNode(F)),o.push(E)}},w=function(a,b,d){var e=a.replace(c.regex.comments,"").replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var h=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},i=!f&&d;b.length&&(b+="/"),i&&(f=1);for(var j=0;f>j;j++){var k,l,o,p;i?(k=d,n.push(h(a))):(k=e[j].match(c.regex.findStyles)&&RegExp.$1,n.push(RegExp.$2&&h(RegExp.$2))),o=k.split(","),p=o.length;for(var q=0;p>q;q++)l=o[q],g(l)||m.push({media:l.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:n.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}v()},x=function(){if(d.length){var b=d.shift();f(b.href,function(c){w(c,b.href,b.media),p[b.href]=!0,a.setTimeout(function(){x()},0)})}},y=function(){for(var b=0;b1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n $window.height()) + $x.css('height', 'auto'); + else + $x.css('height', '100vh'); + + }, 250); + + }).triggerHandler('resize.flexbox-fix'); + + })(); + + // Object fit workaround. + if (!skel.canUse('object-fit')) + (function() { + + $('.banner .image, .spotlight .image').each(function() { + + var $this = $(this), + $img = $this.children('img'), + positionClass = $this.parent().attr('class').match(/image-position-([a-z]+)/); + + // Set image. + $this + .css('background-image', 'url("' + $img.attr('src') + '")') + .css('background-repeat', 'no-repeat') + .css('background-size', 'cover'); + + // Set position. + switch (positionClass.length > 1 ? positionClass[1] : '') { + + case 'left': + $this.css('background-position', 'left'); + break; + + case 'right': + $this.css('background-position', 'right'); + break; + + default: + case 'center': + $this.css('background-position', 'center'); + break; + + } + + // Hide original. + $img.css('opacity', '0'); + + }); + + })(); + + // Smooth scroll. + $('.smooth-scroll').scrolly(); + $('.smooth-scroll-middle').scrolly({ anchor: 'middle' }); + + // Wrapper. + $wrapper.children() + .scrollex({ + top: '30vh', + bottom: '30vh', + initialize: function() { + $(this).addClass('is-inactive'); + }, + terminate: function() { + $(this).removeClass('is-inactive'); + }, + enter: function() { + $(this).removeClass('is-inactive'); + }, + leave: function() { + + var $this = $(this); + + if ($this.hasClass('onscroll-bidirectional')) + $this.addClass('is-inactive'); + + } + }); + + // Items. + $('.items') + .scrollex({ + top: '30vh', + bottom: '30vh', + delay: 50, + initialize: function() { + $(this).addClass('is-inactive'); + }, + terminate: function() { + $(this).removeClass('is-inactive'); + }, + enter: function() { + $(this).removeClass('is-inactive'); + }, + leave: function() { + + var $this = $(this); + + if ($this.hasClass('onscroll-bidirectional')) + $this.addClass('is-inactive'); + + } + }) + .children() + .wrapInner('
'); + + // Gallery. + $('.gallery') + .wrapInner('
') + .prepend(skel.vars.mobile ? '' : '
') + .scrollex({ + top: '30vh', + bottom: '30vh', + delay: 50, + initialize: function() { + $(this).addClass('is-inactive'); + }, + terminate: function() { + $(this).removeClass('is-inactive'); + }, + enter: function() { + $(this).removeClass('is-inactive'); + }, + leave: function() { + + var $this = $(this); + + if ($this.hasClass('onscroll-bidirectional')) + $this.addClass('is-inactive'); + + } + }) + .children('.inner') + //.css('overflow', 'hidden') + .css('overflow-y', skel.vars.mobile ? 'visible' : 'hidden') + .css('overflow-x', skel.vars.mobile ? 'scroll' : 'hidden') + .scrollLeft(0); + + // Style #1. + // ... + + // Style #2. + $('.gallery') + .on('wheel', '.inner', function(event) { + + var $this = $(this), + delta = (event.originalEvent.deltaX * 10); + + // Cap delta. + if (delta > 0) + delta = Math.min(25, delta); + else if (delta < 0) + delta = Math.max(-25, delta); + + // Scroll. + $this.scrollLeft( $this.scrollLeft() + delta ); + + }) + .on('mouseenter', '.forward, .backward', function(event) { + + var $this = $(this), + $inner = $this.siblings('.inner'), + direction = ($this.hasClass('forward') ? 1 : -1); + + // Clear move interval. + clearInterval(this._gallery_moveIntervalId); + + // Start interval. + this._gallery_moveIntervalId = setInterval(function() { + $inner.scrollLeft( $inner.scrollLeft() + (5 * direction) ); + }, 10); + + }) + .on('mouseleave', '.forward, .backward', function(event) { + + // Clear move interval. + clearInterval(this._gallery_moveIntervalId); + + }); + + // Lightbox. + $('.gallery.lightbox') + .on('click', 'a', function(event) { + + var $a = $(this), + $gallery = $a.parents('.gallery'), + $modal = $gallery.children('.modal'), + $modalImg = $modal.find('img'), + href = $a.attr('href'); + + // Not an image? Bail. + if (!href.match(/\.(jpg|gif|png|mp4)$/)) + return; + + // Prevent default. + event.preventDefault(); + event.stopPropagation(); + + // Locked? Bail. + if ($modal[0]._locked) + return; + + // Lock. + $modal[0]._locked = true; + + // Set src. + $modalImg.attr('src', href); + + // Set visible. + $modal.addClass('visible'); + + // Focus. + $modal.focus(); + + // Delay. + setTimeout(function() { + + // Unlock. + $modal[0]._locked = false; + + }, 600); + + }) + .on('click', '.modal', function(event) { + + var $modal = $(this), + $modalImg = $modal.find('img'); + + // Locked? Bail. + if ($modal[0]._locked) + return; + + // Already hidden? Bail. + if (!$modal.hasClass('visible')) + return; + + // Lock. + $modal[0]._locked = true; + + // Clear visible, loaded. + $modal + .removeClass('loaded') + + // Delay. + setTimeout(function() { + + $modal + .removeClass('visible') + + setTimeout(function() { + + // Clear src. + $modalImg.attr('src', ''); + + // Unlock. + $modal[0]._locked = false; + + // Focus. + $body.focus(); + + }, 475); + + }, 125); + + }) + .on('keypress', '.modal', function(event) { + + var $modal = $(this); + + // Escape? Hide modal. + if (event.keyCode == 27) + $modal.trigger('click'); + + }) + .prepend('') + .find('img') + .on('load', function(event) { + + var $modalImg = $(this), + $modal = $modalImg.parents('.modal'); + + setTimeout(function() { + + // No longer visible? Bail. + if (!$modal.hasClass('visible')) + return; + + // Set loaded. + $modal.addClass('loaded'); + + }, 275); + + }); }); -})(jQuery); \ No newline at end of file +})(jQuery); diff --git a/assets/sass/base/_page.scss b/assets/sass/base/_page.scss new file mode 100644 index 0000000..a5e314e --- /dev/null +++ b/assets/sass/base/_page.scss @@ -0,0 +1,38 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Basic */ + + // MSIE: Required for IEMobile. + @-ms-viewport { + width: device-width; + } + + // MSIE: Prevents scrollbar from overlapping content. + body { + -ms-overflow-style: scrollbar; + } + + // Ensures page width is always >=320px. + @include breakpoint(xsmall) { + html, body { + min-width: 320px; + } + } + + body { + background: _palette(bg); + + // Prevents animation/transition "flicker" on page load. + // Automatically added/removed by js/main.js. + &.is-loading { + *, *:before, *:after { + @include vendor('animation', 'none !important'); + @include vendor('transition', 'none !important'); + } + } + + } \ No newline at end of file diff --git a/assets/sass/base/_typography.scss b/assets/sass/base/_typography.scss new file mode 100644 index 0000000..c09953c --- /dev/null +++ b/assets/sass/base/_typography.scss @@ -0,0 +1,231 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Type */ + + html { + font-size: 18pt; + + @include breakpoint(xlarge) { + font-size: 14pt; + } + + @include breakpoint(large) { + font-size: 12pt; + } + + @include breakpoint(small) { + font-size: 11pt; + } + + @include breakpoint(xxsmall) { + font-size: 10pt; + } + } + + body { + background-color: _palette(bg); + color: _palette(fg); + } + + body, input, select, textarea { + font-family: _font(family); + font-size: 1rem; + font-weight: _font(weight); + line-height: 1.65; + } + + a { + @include vendor('transition', 'color #{_duration(transition)} ease-in-out'); + text-decoration: underline; + + &:hover { + text-decoration: none; + } + } + + strong, b { + font-weight: _font(weight-bold); + } + + em, i { + font-style: italic; + } + + p { + margin: 0 0 _size(element-margin) 0; + + &.major { + font-size: 1.25rem; + } + } + + h1, h2, h3, h4, h5, h6 { + font-weight: _font(weight); + line-height: 1.375; + letter-spacing: _font(kerning); + margin: 0 0 (_size(element-margin) * 0.5) 0; + + a { + color: inherit; + text-decoration: none; + } + } + + h1 { + font-size: 3.5rem; + line-height: 1.2; + } + + h2 { + font-size: 2.25rem; + } + + h3 { + font-size: 1.5rem; + } + + h4 { + font-size: 1.1rem; + } + + h5 { + font-size: 0.9rem; + } + + h6 { + font-size: 0.7rem; + } + + sub { + font-size: 0.8rem; + position: relative; + top: 0.5rem; + } + + sup { + font-size: 0.8rem; + position: relative; + top: -0.5rem; + } + + blockquote { + border-left: solid (_size(border-width) * 4); + font-style: italic; + margin: 0 0 _size(element-margin) 0; + padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin); + } + + code { + border-radius: _size(border-radius); + font-family: _font(family-fixed); + font-size: 0.9em; + margin: 0 0.25rem; + padding: 0.25rem 0.325rem; + } + + pre { + -webkit-overflow-scrolling: touch; + font-family: _font(family-fixed); + font-size: 0.9em; + margin: 0 0 _size(element-margin) 0; + + code { + display: block; + line-height: 1.5; + padding: 0.75rem 1rem; + overflow-x: auto; + } + } + + hr { + border: 0; + border-bottom: solid _size(border-width); + margin: (_size(element-margin) * 1.25) 0; + + &.major { + margin: (_size(element-margin) * 1.75) 0; + } + } + + .align-left { + text-align: left; + } + + .align-center { + text-align: center; + } + + .align-right { + text-align: right; + } + + @include breakpoint(small) { + p { + &.major { + font-size: 1.1rem; + } + } + + h1 { + font-size: 2.5rem; + } + + h2 { + font-size: 2rem; + } + + h3 { + font-size: 1.25rem; + } + + h4 { + font-size: 1rem; + } + } + + @mixin color-typography($p: null) { + + @if $p != null { + background-color: _palette($p, bg); + color: _palette($p, fg); + } + + input, select, textarea { + color: _palette($p, fg-bold); + } + + a { + color: _palette($p, fg-bold); + + &:hover { + color: _palette($p, accent); + } + } + + strong, b { + color: _palette($p, fg-bold); + } + + h1, h2, h3, h4, h5, h6 { + color: _palette($p, fg-bold); + } + + blockquote { + border-left-color: _palette($p, border); + } + + code { + background: _palette($p, border-bg); + border-color: _palette($p, border); + } + + hr { + border-bottom-color: _palette($p, border); + } + } + + @include color-typography; \ No newline at end of file diff --git a/assets/sass/components/_banner.scss b/assets/sass/components/_banner.scss new file mode 100644 index 0000000..df56a7f --- /dev/null +++ b/assets/sass/components/_banner.scss @@ -0,0 +1,990 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Banner (transitions) */ + + .banner { + + // Mixin. + @mixin transition-banner($event) { + $x: null; + $y: null; + + @if ($event == 'load') { + $x: 'body.is-loading &'; + $y: _duration(on-load); + } + @else if ($event == 'scroll') { + $x: '&.is-inactive'; + $y: _duration(on-scroll); + } + + // Content. + &.on#{$event}-content-fade-up { + .content { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + } + + #{$x} { + .content { + @include vendor('transform', 'translateY(1rem)'); + opacity: 0; + } + } + } + + &.on#{$event}-content-fade-down { + .content { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + } + + #{$x} { + .content { + @include vendor('transform', 'translateY(-1rem)'); + opacity: 0; + } + } + } + + &.on#{$event}-content-fade-left { + .content { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + } + + #{$x} { + .content { + @include vendor('transform', 'translateX(1rem)'); + opacity: 0; + } + } + } + + &.on#{$event}-content-fade-right { + .content { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + } + + #{$x} { + .content { + @include vendor('transform', 'translateX(-1rem)'); + opacity: 0; + } + } + } + + &.on#{$event}-content-fade-in { + .content { + @include vendor('transition', 'opacity #{$y} ease-in-out'); + } + + #{$x} { + .content { + opacity: 0; + } + } + } + + // Image. + &.on#{$event}-image-fade-up { + .image { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + + img { + @include vendor('transition', 'opacity #{$y} ease-in-out'); + @include vendor('transition-delay', '#{$y * 0.75}'); + } + } + + #{$x} { + .image { + @include vendor('transform', 'translateY(1rem)'); + opacity: 0; + + img { + opacity: 0; + } + } + } + } + + &.on#{$event}-image-fade-down { + .image { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + + img { + @include vendor('transition', 'opacity #{$y} ease-in-out'); + @include vendor('transition-delay', '#{$y * 0.75}'); + } + } + + #{$x} { + .image { + @include vendor('transform', 'translateY(-1rem)'); + opacity: 0; + + img { + opacity: 0; + } + } + } + } + + &.on#{$event}-image-fade-left { + .image { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + + img { + @include vendor('transition', 'opacity #{$y} ease-in-out'); + @include vendor('transition-delay', '#{$y * 0.75}'); + } + } + + #{$x} { + .image { + @include vendor('transform', 'translateX(1rem)'); + opacity: 0; + + img { + opacity: 0; + } + } + } + } + + &.on#{$event}-image-fade-right { + .image { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + + img { + @include vendor('transition', 'opacity #{$y} ease-in-out'); + @include vendor('transition-delay', '#{$y * 0.75}'); + } + } + + #{$x} { + .image { + @include vendor('transform', 'translateX(-1rem)'); + opacity: 0; + + img { + opacity: 0; + } + } + } + } + + &.on#{$event}-image-fade-in { + .image { + img { + @include vendor('transition', 'opacity #{$y} ease-in-out'); + } + } + + #{$x} { + .image { + img { + opacity: 0; + } + } + } + } + + } + + // On Load. + @include transition-banner('load'); + + // On Scroll. + @include transition-banner('scroll'); + + } + +/* Banner (style1) */ + + .banner.style1 { + @include vendor('align-items', 'stretch'); + @include vendor('display', 'flex'); + @include vendor('flex-direction', 'row'); + @include vendor('justify-content', 'flex-end'); + position: relative; + text-align: left; + overflow-x: hidden; + + .content { + @include padding(_size(padding, default), _size(padding, default)); + @include vendor('align-self', 'center'); + @include vendor('flex-grow', '1'); + @include vendor('flex-shrink', '1'); + width: 50%; + max-width: (_size(inner) * 0.75); + margin: 0 auto; + } + + .image { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + border-radius: 0; + width: 50%; + + img { + @include vendor('object-fit', 'cover'); + @include vendor('object-position', 'center'); + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border-radius: 0; + } + } + + @include breakpoint(xlarge) { + .content { + @include padding(_size(padding, xlarge), _size(padding, xlarge)); + } + } + + @include breakpoint(large) { + .content { + @include padding(_size(padding, large), _size(padding, large)); + } + } + + @include breakpoint(medium) { + .content { + @include padding(_size(padding, medium) * 1.25, _size(padding, medium)); + } + } + + @include breakpoint(small) { + .content { + @include padding(_size(padding, small) * 1.25, _size(padding, small)); + } + } + + @include orientation(portrait) { + @include vendor('flex-direction', 'column-reverse'); + text-align: center; + + .content { + @include vendor('display', 'flex'); + @include vendor('flex-direction', 'column'); + @include vendor('justify-content', 'center'); + width: 100%; + max-width: 100%; + } + + .image { + width: 100%; + max-width: 100%; + height: 45vh; + } + } + + // Modifiers. + + // Size. + &.fullscreen { + min-height: 100vh; + + @include orientation(portrait) { + .content { + min-height: 50vh; + } + + .image { + height: 50vh; + } + } + } + + // Orientation. + &.orient-left { + // ... + } + + &.orient-right { + @include vendor('flex-direction', 'row-reverse'); + + @include orientation(portrait) { + @include vendor('flex-direction', 'column-reverse'); + } + } + + // Content Alignment. + &.content-align-left { + // ... + } + + &.content-align-center { + text-align: center; + } + + &.content-align-right { + text-align: right; + + @include orientation(portrait) { + text-align: center; + } + } + + // Image Position. + &.image-position-left { + .image { + img { + @include vendor('object-position', 'left'); + } + } + } + + &.image-position-center { + .image { + img { + // ... + } + } + } + + &.image-position-right { + .image { + img { + @include vendor('object-position', 'right'); + } + } + } + + } + +/* Banner (style2) */ + + .banner.style2 { + @include padding(_size(padding, default) * 0.75, _size(padding, default) * 0.75); + @include vendor('align-items', 'center'); + @include vendor('display', 'flex'); + @include vendor('justify-content', 'center'); + background-color: inherit; + position: relative; + text-align: center; + overflow-x: hidden; + + .content { + @include padding(_size(padding, default) * 0.75, _size(padding, default) * 0.75); + position: relative; + width: (_size(inner) * 0.625); + max-width: 100%; + background-color: inherit; + border-radius: _size(border-radius-alt); + margin-bottom: _size(element-margin); + z-index: 1; + } + + .image { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + border-radius: 0; + + img { + @include vendor('object-fit', 'cover'); + @include vendor('object-position', 'center'); + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border-radius: 0; + } + } + + @include breakpoint(xlarge) { + @include padding(_size(padding, xlarge) * 0.75, _size(padding, xlarge) * 0.75); + + .content { + @include padding(_size(padding, xlarge) * 0.75, _size(padding, xlarge) * 0.75); + } + } + + @include breakpoint(large) { + @include padding(_size(padding, large), _size(padding, large) * 0.75); + + .content { + @include padding(_size(padding, large), _size(padding, large) * 0.75); + } + } + + @include breakpoint(medium) { + @include padding(_size(padding, medium), _size(padding, medium)); + + .content { + @include padding(_size(padding, medium) * 1.25, _size(padding, medium) * 0.75); + } + } + + @include breakpoint(small) { + @include padding(_size(padding, small), _size(padding, small)); + + .content { + @include padding(_size(padding, small) * 1.25, _size(padding, small) * 0.75); + } + } + + // Modifiers. + + // Size. + &.fullscreen { + min-height: 100vh; + } + + // Orientation. + &.orient-left { + @include vendor('justify-content', 'flex-start'); + padding-left: 0; + + .content { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + } + + &.orient-center { + // ... + } + + &.orient-right { + @include vendor('justify-content', 'flex-end'); + padding-right: 0; + + .content { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + } + + // Content Alignment. + &.content-align-left { + text-align: left; + } + + &.content-align-center { + // ... + } + + &.content-align-right { + text-align: right; + } + + // Image Position. + &.image-position-left { + .image { + img { + @include vendor('object-position', 'left'); + } + } + } + + &.image-position-center { + .image { + img { + // ... + } + } + } + + &.image-position-right { + .image { + img { + @include vendor('object-position', 'right'); + } + } + } + + } + +/* Banner (style3) */ + + .banner.style3 { + $image-size: 21rem; + $content-size: (_size(inner) * 0.875) - $image-size - (_size(element-margin) * 1.75); + + @include padding(_size(padding, default), _size(padding, default)); + @include vendor('align-items', 'center'); + @include vendor('display', 'flex'); + @include vendor('flex-direction', 'row-reverse'); + @include vendor('justify-content', 'center'); + position: relative; + text-align: left; + overflow-x: hidden; + + .content { + width: $content-size; + max-width: 100%; + } + + .image { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + width: $image-size; + height: $image-size; + border-radius: 100%; + margin: 0 (_size(element-margin) * 1.75) _size(element-margin) 0; + + img { + @include vendor('object-fit', 'cover'); + @include vendor('object-position', 'center'); + display: block; + width: 100%; + height: 100%; + border-radius: 100%; + } + } + + @include breakpoint(xlarge) { + @include padding(_size(padding, xlarge), _size(padding, xlarge)); + } + + @include breakpoint(large) { + @include padding(_size(padding, large), _size(padding, large)); + } + + @include breakpoint(medium) { + @include padding(_size(padding, medium) * 1.25, _size(padding, medium)); + + .image { + width: ($image-size * 0.875); + height: ($image-size * 0.875); + } + } + + @include breakpoint(small) { + @include padding(_size(padding, small) * 1.25, _size(padding, small)); + @include vendor('align-items', 'flex-start'); + + .image { + width: ($image-size * 0.75); + height: ($image-size * 0.75); + margin: 0 (_size(element-margin) * 1) _size(element-margin) 0; + } + } + + @include orientation(portrait) { + @include vendor('align-items', 'center'); + @include vendor('flex-direction', 'column-reverse'); + text-align: center; + + .content { + width: 34rem; + max-width: 100%; + } + + .image { + margin-right: 0; + } + } + + // Modifiers. + + // Size. + &.fullscreen { + min-height: 100vh; + } + + // Orientation. + &.orient-left { + @include vendor('flex-direction', 'row'); + + .image { + margin: 0 0 _size(element-margin) (_size(element-margin) * 1.75); + } + + @include breakpoint(small) { + .image { + margin: 0 0 _size(element-margin) (_size(element-margin) * 1); + } + } + + @include orientation(portrait) { + @include vendor('flex-direction', 'column-reverse'); + + .image { + margin-left: 0; + } + } + } + + &.orient-right { + // ... + } + + // Content Alignment. + &.content-align-left { + // ... + } + + &.content-align-center { + text-align: center; + } + + &.content-align-right { + text-align: right; + } + + // Image Position. + &.image-position-left { + .image { + img { + @include vendor('object-position', 'left'); + } + } + } + + &.image-position-center { + // ... + } + + &.image-position-right { + .image { + img { + @include vendor('object-position', 'right'); + } + } + } + + } + +/* Banner (style4) */ + + .banner.style4 { + $image-width: 13rem; + $content-size: (_size(inner) * 0.75) - $image-width - (_size(element-margin) * 1.75); + + @include padding(_size(padding, default), _size(padding, default)); + @include vendor('align-items', 'center'); + @include vendor('display', 'flex'); + @include vendor('flex-direction', 'row-reverse'); + @include vendor('justify-content', 'center'); + position: relative; + text-align: left; + overflow-x: hidden; + + .content { + width: $content-size; + max-width: 100%; + } + + .image { + @include phone($image-width); + margin-right: (_size(element-margin) * 1.75); + } + + @include breakpoint(xlarge) { + @include padding(_size(padding, xlarge), _size(padding, xlarge)); + } + + @include breakpoint(large) { + @include padding(_size(padding, large), _size(padding, large)); + } + + @include breakpoint(medium) { + @include padding(_size(padding, medium) * 1.25, _size(padding, medium)); + + .image { + @include resize-phone($image-width, 0.875); + } + } + + @include breakpoint(small) { + @include padding(_size(padding, small) * 1.25, _size(padding, small)); + @include vendor('align-items', 'flex-start'); + + .image { + @include resize-phone($image-width, 0.625); + } + } + + @include orientation(portrait) { + @include vendor('align-items', 'center'); + @include vendor('flex-direction', 'column-reverse'); + text-align: center; + + .content { + width: 34rem; + max-width: 100%; + } + + .image { + margin-right: 0; + margin-left: 0; + } + } + + // Modifiers. + + // Size. + &.fullscreen { + min-height: 100vh; + } + + // Variant. + &.iphone { + // ... + } + + &.android { + // ... + } + + // Orientation. + &.orient-left { + @include vendor('flex-direction', 'row'); + + .image { + margin-right: 0; + margin-left: (_size(element-margin) * 1.75); + } + + @include orientation(portrait) { + @include vendor('flex-direction', 'column-reverse'); + + .image { + margin-right: 0; + margin-left: 0; + } + } + } + + &.orient-right { + // ... + } + + // Content Alignment. + &.content-align-left { + // ... + } + + &.content-align-center { + text-align: center; + } + + &.content-align-right { + text-align: right; + } + + // Image Position. + &.image-position-left { + .image { + img { + @include vendor('object-position', 'left'); + } + } + } + + &.image-position-center { + // ... + } + + &.image-position-right { + .image { + img { + @include vendor('object-position', 'right'); + } + } + } + + } + +/* Banner (style5) */ + + .banner.style5 { + @include padding(_size(padding, default), _size(padding, default)); + @include vendor('align-items', 'center'); + @include vendor('display', 'flex'); + @include vendor('justify-content', 'center'); + background-color: inherit; + position: relative; + text-align: center; + overflow-x: hidden; + + .content { + position: relative; + width: (_size(inner) * 0.625); + max-width: 100%; + margin-bottom: _size(element-margin); + z-index: 1; + } + + .image { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + border-radius: 0; + opacity: _misc(overlay-opacity); + + img { + @include vendor('object-fit', 'cover'); + @include vendor('object-position', 'center'); + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border-radius: 0; + } + } + + @include breakpoint(xlarge) { + @include padding(_size(padding, xlarge), _size(padding, xlarge)); + } + + @include breakpoint(large) { + @include padding(_size(padding, large), _size(padding, large)); + } + + @include breakpoint(medium) { + @include padding(_size(padding, medium) * 1.25, _size(padding, medium)); + } + + @include breakpoint(small) { + @include padding(_size(padding, small) * 1.25, _size(padding, small)); + } + + // Modifiers. + + // Size. + &.fullscreen { + min-height: 100vh; + } + + // Content Alignment. + &.content-align-left { + text-align: left; + } + + &.content-align-center { + // ... + } + + &.content-align-right { + text-align: right; + } + + // Image Position. + &.image-position-left { + .image { + img { + @include vendor('object-position', 'left'); + } + } + } + + &.image-position-center { + // ... + } + + &.image-position-right { + .image { + img { + @include vendor('object-position', 'right'); + } + } + } + + } + +// Mixin + + @mixin color-banner($p: null) { + .banner { + .image { + background-color: transparentize(_palette($p, fg-bold), 0.875); + } + + @if ($p != 'invert') { + &.invert { + .image { + background-color: transparentize(_palette(invert, fg-bold), 0.875); + } + } + } + } + + .banner.style4 { + .image { + @include color-phone($p); + } + + // Variant. + &.iphone { + .image { + @include color-phone-variant('iphone', $p); + } + } + + &.android { + .image { + @include color-phone-variant('android', $p); + } + } + + @if ($p != 'invert') { + &.invert { + .image { + @include color-phone(invert); + } + + // Variant. + &.iphone { + .image { + @include color-phone-variant('iphone', invert); + } + } + + &.android { + .image { + @include color-phone-variant('android', invert); + } + } + + } + } + } + } + + @include color-banner; \ No newline at end of file diff --git a/assets/sass/components/_box.scss b/assets/sass/components/_box.scss new file mode 100644 index 0000000..66178ca --- /dev/null +++ b/assets/sass/components/_box.scss @@ -0,0 +1,34 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Box */ + + .box { + border-radius: _size(border-radius); + border: solid _size(border-width); + margin-bottom: _size(element-margin); + padding: 1.5rem; + + > :last-child, + > :last-child > :last-child, + > :last-child > :last-child > :last-child { + margin-bottom: 0; + } + + &.alt { + border: 0; + border-radius: 0; + padding: 0; + } + } + + @mixin color-box($p: null) { + .box { + border-color: _palette($p, border); + } + } + + @include color-box; \ No newline at end of file diff --git a/assets/sass/components/_button.scss b/assets/sass/components/_button.scss new file mode 100644 index 0000000..9afca0c --- /dev/null +++ b/assets/sass/components/_button.scss @@ -0,0 +1,114 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Button */ + + input[type="submit"], + input[type="reset"], + input[type="button"], + button, + .button { + @include vendor('appearance', 'none'); + @include vendor('transition', ( + 'background-color #{_duration(transition)} ease-in-out', + 'box-shadow #{_duration(transition)} ease-in-out', + 'color #{_duration(transition)} ease-in-out' + )); + border: 0; + cursor: pointer; + display: inline-block; + font-weight: _font(weight-bold); + letter-spacing: _font(kerning-alt); + text-align: center; + text-decoration: none; + text-transform: uppercase; + white-space: nowrap; + font-size: 0.75rem; + max-width: 20rem; + height: 3.75em; + line-height: 3.75em; + border-radius: 3.75em; + padding: 0 2.5em; + text-overflow: ellipsis; + overflow: hidden; + + &.icon { + &:before { + margin-right: 0.5rem; + } + } + + &.fit { + display: block; + margin: 0 0 (_size(element-margin) * 0.5) 0; + width: 100%; + } + + &.small { + font-size: 0.6rem; + height: 3.325em; + line-height: 3.325em; + border-radius: 3.325em; + padding: 0 2em; + } + + &.big { + font-size: 0.8rem; + height: 4em; + line-height: 4em; + border-radius: 4em; + padding: 0 3em; + } + + &.wide { + min-width: 14em; + } + + &.disabled, + &:disabled { + @include vendor('pointer-events', 'none'); + opacity: 0.25; + } + } + + @mixin color-button($p: null) { + input[type="submit"], + input[type="reset"], + input[type="button"], + button, + .button { + background-color: transparent; + box-shadow: inset 0 0 0 _size(border-width) _palette($p, border); + color: _palette($p, fg-bold) !important; + + &:hover { + box-shadow: inset 0 0 0 _size(border-width) _palette($p, accent); + color: _palette($p, accent) !important; + } + + &:active { + background-color: transparentize(_palette($p, accent), 0.8); + box-shadow: inset 0 0 0 _size(border-width) _palette($p, accent); + color: _palette($p, accent) !important; + } + + &.special { + background-color: _palette($p, fg-bold); + box-shadow: none; + color: _palette($p, bg) !important; + + &:hover { + background-color: _palette($p, accent); + } + + &:active { + background-color: darken(_palette($p, accent), 12); + } + } + } + } + + @include color-button; \ No newline at end of file diff --git a/assets/sass/components/_form.scss b/assets/sass/components/_form.scss new file mode 100644 index 0000000..1550c62 --- /dev/null +++ b/assets/sass/components/_form.scss @@ -0,0 +1,312 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Form */ + + form { + $gutter: _size(element-margin) * 0.75; + + margin: 0 0 _size(element-margin) 0; + + .field { + margin: 0 0 ($gutter * 1) 0; + clear: both; + + &.half { + clear: none; + width: 50%; + float: left; + padding: 0 0 0 ($gutter * 1 * 0.5); + + &.first { + padding: 0 ($gutter * 1 * 0.5) 0 0; + } + } + + &.third { + clear: none; + width: (100% / 3); + float: left; + padding: 0 0 0 ($gutter * 1 * 0.5); + + &.first { + padding: 0 ($gutter * 1 * 0.5) 0 0; + } + } + } + + > .actions { + clear: both; + margin: ($gutter * 1.25) 0 0 0 !important; + } + + @include breakpoint(small) { + .field { + margin: 0 0 ($gutter * 0.75) 0; + + &.half { + padding: 0 0 0 ($gutter * 0.75 * 0.5); + + &.first { + padding: 0 ($gutter * 0.75 * 0.5) 0 0; + } + } + } + + > .actions { + margin: ($gutter * 1) 0 0 0 !important; + } + } + + @include breakpoint(xsmall) { + .field { + &.half { + width: 100%; + float: none; + padding: 0; + + &.first { + padding: 0; + } + } + + &.third { + width: 100%; + float: none; + padding: 0; + + &.first { + padding: 0; + } + } + } + } + } + + label { + display: block; + font-size: 0.9rem; + font-weight: _font(weight-bold); + margin: 0 0 (_size(element-margin) * 0.5) 0; + } + + input[type="text"], + input[type="password"], + input[type="email"], + input[type="tel"], + input[type="search"], + input[type="url"], + select, + textarea { + @include vendor('appearance', 'none'); + background-color: transparent; + border-radius: _size(border-radius); + border: none; + border: solid _size(border-width); + color: inherit; + display: block; + outline: 0; + padding: 0 0.825rem; + text-decoration: none; + width: 100%; + + &:invalid { + box-shadow: none; + } + } + + .select-wrapper { + @include icon; + display: block; + position: relative; + + &:before { + content: '\f078'; + display: block; + height: _size(element-height); + line-height: _size(element-height); + pointer-events: none; + position: absolute; + right: 0; + text-align: center; + top: 0; + width: _size(element-height); + } + + select::-ms-expand { + display: none; + } + } + + input[type="text"], + input[type="password"], + input[type="email"], + input[type="tel"], + input[type="search"], + input[type="url"], + select { + height: _size(element-height); + } + + textarea { + padding: 0.75rem 1rem; + } + + input[type="checkbox"], + input[type="radio"], { + @include vendor('appearance', 'none'); + display: block; + float: left; + margin-right: -2rem; + opacity: 0; + width: 1rem; + z-index: -1; + + & + label { + @include icon; + @include vendor('user-select', 'none'); + cursor: pointer; + display: inline-block; + font-size: 1rem; + font-weight: _font(weight); + padding-left: (_size(element-height) * 0.6) + 0.75rem; + padding-right: 0.75rem; + position: relative; + margin-bottom: 0; + + &:before { + border-radius: _size(border-radius); + border: solid _size(border-width); + content: ''; + display: inline-block; + height: (_size(element-height) * 0.6); + left: 0; + line-height: (_size(element-height) * 0.575); + position: absolute; + text-align: center; + top: 0; + width: (_size(element-height) * 0.6); + } + } + + &:checked + label { + &:before { + content: '\f00c'; + } + } + } + + input[type="checkbox"] { + & + label { + &:before { + border-radius: _size(border-radius); + } + } + } + + input[type="radio"] { + & + label { + &:before { + border-radius: 100%; + } + } + } + + ::-webkit-input-placeholder { + opacity: 1.0; + } + + :-moz-placeholder { + opacity: 1.0; + } + + ::-moz-placeholder { + opacity: 1.0; + } + + :-ms-input-placeholder { + opacity: 1.0; + } + + .formerize-placeholder { + opacity: 1.0; + } + + @mixin color-form($p: null) { + label { + color: _palette($p, fg-bold); + } + + input[type="text"], + input[type="password"], + input[type="email"], + input[type="tel"], + input[type="search"], + input[type="url"], + select, + textarea { + border-color: _palette($p, border); + + &:focus { + border-color: _palette($p, accent); + box-shadow: 0 0 0 _size(border-width) _palette($p, accent); + } + } + + .select-wrapper { + &:before { + color: _palette($p, border); + } + } + + input[type="checkbox"], + input[type="radio"], { + & + label { + color: _palette($p, fg); + + &:before { + border-color: _palette($p, border); + } + } + + &:checked + label { + &:before { + background-color: _palette($p, fg-bold); + border-color: _palette($p, fg-bold); + color: _palette($p, bg); + } + } + + &:focus + label { + &:before { + border-color: _palette($p, accent); + box-shadow: 0 0 0 _size(border-width) _palette($p, accent); + } + } + } + + ::-webkit-input-placeholder { + color: _palette($p, fg-light) !important; + } + + :-moz-placeholder { + color: _palette($p, fg-light) !important; + } + + ::-moz-placeholder { + color: _palette($p, fg-light) !important; + } + + :-ms-input-placeholder { + color: _palette($p, fg-light) !important; + } + + .formerize-placeholder { + color: _palette($p, fg-light) !important; + } + } + + @include color-form; \ No newline at end of file diff --git a/assets/sass/components/_gallery.scss b/assets/sass/components/_gallery.scss new file mode 100644 index 0000000..91ef227 --- /dev/null +++ b/assets/sass/components/_gallery.scss @@ -0,0 +1,616 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Gallery (transitions) */ + + .gallery { + + // Mixin. + @mixin transition-gallery($event) { + $x: null; + $y: null; + + @if ($event == 'load') { + $x: 'body.is-loading &'; + $y: _duration(on-load); + } + @else if ($event == 'scroll') { + $x: '&.is-inactive'; + $y: _duration(on-scroll); + } + + &.on#{$event}-fade-in { + article { + .image { + img { + @include vendor('transition', 'opacity #{$y} ease-in-out'); + @include vendor('transition-delay', '#{_misc(gallery-limit) * _duration(gallery-delay)}'); + } + } + + @for $i from 0 through _misc(gallery-limit) { + &:nth-child(#{$i + 1}) { + .image { + img { + @include vendor('transition-delay', '#{$i * _duration(gallery-delay)}'); + } + } + } + } + } + + #{$x} { + article { + .image { + img { + opacity: 0; + } + } + } + } + } + } + + // On Load. + @include transition-gallery('load'); + + // On Scroll. + @include transition-gallery('scroll'); + + } + +/* Gallery (style1) */ + + .gallery.style1 { + @include color-typography(invert); + @include color-button(invert); + @include vendor('align-items', 'center'); + @include vendor('display', 'flex'); + @include vendor('flex-wrap', 'wrap'); + @include vendor('justify-content', 'center'); + position: relative; + width: 100%; + background-color: transparent; + + > .forward, >.backward { + display: none; + } + + > .inner { + @include vendor('align-items', 'inherit'); + @include vendor('display', 'inherit'); + @include vendor('flex-wrap', 'inherit'); + @include vendor('justify-content', 'inherit'); + } + + article { + overflow: hidden; + position: relative; + width: 25%; + + .image { + @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out'); + display: block; + width: 100%; + border-radius: 0; + + img { + display: block; + width: 100%; + border-radius: 0; + } + } + + .caption { + @include vendor('align-items', 'center'); + @include vendor('display', 'flex'); + @include vendor('flex-direction', 'column'); + @include vendor('justify-content', 'center'); + @include vendor('pointer-events', 'none'); + @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out'); + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: transparentize(_palette(invert, bg), 1 - _misc(overlay-opacity)); + opacity: 0; + padding: 2rem; + z-index: 1; + font-size: 0.8rem; + + a { + @include vendor('pointer-events', 'auto'); + } + + h2, h3, h4, h5, h6 { + font-size: 1.25rem; + margin-bottom: 0.25rem; + } + + > * { + max-width: 100%; + margin-bottom: 1rem; + } + + > :last-child { + margin-bottom: 0; + } + } + + &:hover { + .caption { + opacity: 1; + } + } + } + + @include breakpoint(large) { + article { + width: (100% / 3); + + .caption { + padding: 1rem; + } + } + } + + @include breakpoint(medium) { + article { + width: 50%; + + .caption { + padding: 1rem; + } + } + } + + @include breakpoint(xsmall) { + article { + width: 100%; + + .caption { + padding: 1rem; + } + } + } + + // Modifiers. + + // size + &.small { + article { + width: 20%; + + .caption { + padding: 1rem; + } + } + + @include breakpoint(large) { + article { + width: 25%; + + .caption { + padding: 1rem; + } + } + } + + @include breakpoint(medium) { + article { + width: (100% / 3); + + .caption { + padding: 1rem; + } + } + } + + @include breakpoint(xsmall) { + article { + width: 50%; + + .caption { + padding: 1rem; + } + } + } + } + + &.medium { + // ... + } + + &.big { + article { + width: (100% / 3); + + .caption { + padding: 3rem; + } + } + + @include breakpoint(large) { + article { + width: 50%; + + .caption { + padding: 2rem; + } + } + } + + @include breakpoint(medium) { + article { + width: 50%; + + .caption { + padding: 2rem; + } + } + } + + @include breakpoint(xsmall) { + article { + width: 100%; + + .caption { + padding: 1rem; + } + } + } + } + + } + +/* Gallery (style2) */ + + .gallery.style2 { + @include color-typography(invert); + @include color-button(invert); + @include vendor('display', 'flex'); + -webkit-overflow-scrolling: touch; + position: relative; + background-color: transparent; + + > .forward, >.backward { + @include icon; + @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out'); + position: absolute; + top: 0; + width: 5rem; + height: 100%; + cursor: pointer; + opacity: 0; + z-index: 2; + + &:before { + display: block; + top: calc(50% - 1.5rem); + width: 4rem; + height: 3rem; + line-height: 1em; + font-size: 3rem; + position: absolute; + text-align: center; + } + } + + &:hover { + > .forward, > .backward { + opacity: 1; + } + } + + > .forward { + right: 0; + background-image: linear-gradient(to left, rgba(0,0,0,0.25) 15%, rgba(0,0,0,0)); + + &:before { + content: '\f105'; + right: 0; + } + } + + > .backward { + left: 0; + background-image: linear-gradient(to right, rgba(0,0,0,0.25) 15%, rgba(0,0,0,0)); + + &:before { + content: '\f104'; + left: 0; + } + } + + > .inner { + @include vendor('display', 'inherit'); + overflow-x: auto; + overflow-y: hidden; + position: relative; + width: 100%; + } + + article { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + display: block; + position: relative; + overflow: hidden; + width: 22.5rem; + max-width: 75vw; + + .image { + display: block; + width: 100%; + border-radius: 0; + + img { + display: block; + width: 100%; + border-radius: 0; + } + } + + .caption { + @include vendor('align-items', 'center'); + @include vendor('display', 'flex'); + @include vendor('flex-direction', 'column'); + @include vendor('justify-content', 'center'); + @include vendor('pointer-events', 'none'); + @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out'); + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: transparentize(_palette(invert, bg), 1 - _misc(overlay-opacity)); + opacity: 0; + padding: 3rem; + z-index: 1; + font-size: 0.8rem; + + a { + @include vendor('pointer-events', 'auto'); + } + + h2, h3, h4, h5, h6 { + font-size: 1.25rem; + margin-bottom: 0.25rem; + } + + > * { + max-width: 100%; + margin-bottom: 1rem; + } + + > :last-child { + margin-bottom: 0; + } + } + + &:hover { + .caption { + opacity: 1; + } + } + } + + @include breakpoint(medium) { + article { + .caption { + padding: 2rem; + } + } + } + + @include breakpoint(small) { + article { + .caption { + padding: 2rem; + } + } + } + + // Modifiers. + + // size + &.small { + article { + width: 17.5rem; + + .caption { + padding: 2rem; + } + } + + @include breakpoint(medium) { + article { + .caption { + padding: 2rem; + } + } + } + + @include breakpoint(small) { + article { + .caption { + padding: 2rem; + } + } + } + } + + &.medium { + // ... + } + + &.big { + article { + width: 30rem; + + .caption { + padding: 4rem; + } + } + + @include breakpoint(medium) { + article { + .caption { + padding: 3rem; + } + } + } + + @include breakpoint(small) { + article { + .caption { + padding: 2rem; + } + } + } + } + + } + +/* Gallery (lightbox) */ + + @include keyframes('gallery-modal-spinner') { + 0% { + @include vendor('transform', 'rotate(0deg)'); + } + + 100% { + @include vendor('transform', 'rotate(360deg)'); + } + } + + .gallery.lightbox { + .modal { + @include vendor('display', 'flex'); + @include vendor('align-items', 'center'); + @include vendor('justify-content', 'center'); + @include vendor('pointer-events', 'none'); + @include vendor('user-select', 'none'); + @include vendor('transition', ( + 'opacity #{_duration(gallery-lightbox)} ease', + 'visibility #{_duration(gallery-lightbox)}', + 'z-index #{_duration(gallery-lightbox)}' + )); + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + outline: 0; + background-color: transparentize(_palette(invert, bg), 1 - _misc(lightbox-opacity)); + visibility: none; + opacity: 0; + z-index: 0; + + &:before { + @include vendor('animation', 'gallery-modal-spinner 1s infinite linear'); + @include vendor('transition', 'opacity #{_duration(gallery-lightbox) * 0.5} ease'); + @include vendor('transition-delay', '#{_duration(gallery-lightbox)}'); + content: ''; + display: block; + position: absolute; + top: 50%; + left: 50%; + width: 4rem; + height: 4rem; + margin: -2rem 0 0 -2rem; + background-image: svg-url(''); + background-position: center; + background-repeat: no-repeat; + background-size: 4rem; + opacity: 0; + } + + &:after { + content: ''; + display: block; + position: absolute; + top: 0.5rem; + right: 0.5rem; + width: 4rem; + height: 4rem; + cursor: pointer; + background-image: svg-url(''); + background-position: center; + background-repeat: no-repeat; + background-size: 3rem; + } + + .inner { + @include vendor('transform', 'translateY(0.75rem)'); + @include vendor('transition', ( + 'opacity #{_duration(gallery-lightbox) * 0.5} ease', + 'transform #{_duration(gallery-lightbox) * 0.5} ease' + )); + opacity: 0; + + img { + display: block; + max-width: 90vw; + max-height: 85vh; + box-shadow: 0 1rem 3rem 0 rgba(0, 0, 0, 0.35); + } + } + + &.visible { + @include vendor('pointer-events', 'auto'); + visibility: visible; + opacity: 1; + z-index: _misc(z-index-base) + 1; + + &:before { + opacity: 1; + } + } + + &.loaded { + .inner { + @include vendor('transform', 'translateY(0)'); + @include vendor('transition', ( + 'opacity #{_duration(gallery-lightbox)} ease', + 'transform #{_duration(gallery-lightbox)} ease' + )); + opacity: 1; + } + + &:before { + @include vendor('transition-delay', '0s'); + opacity: 0; + } + } + } + + @include breakpoint(medium) { + .modal { + .inner { + img { + max-width: 100vw; + } + } + } + } + } + +// Mixin + + @mixin color-gallery($p: null) { + .gallery { + article { + .image { + background-color: transparentize(_palette($p, fg-bold), 0.875); + } + } + } + } + + @include color-gallery; \ No newline at end of file diff --git a/assets/sass/components/_icon.scss b/assets/sass/components/_icon.scss new file mode 100644 index 0000000..5a59b9a --- /dev/null +++ b/assets/sass/components/_icon.scss @@ -0,0 +1,80 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Icon */ + + .icon { + @include icon; + border-bottom: none; + position: relative; + text-align: center; + + > .label { + display: none; + } + + &.style2 { + &:before { + border-radius: 2.75em; + display: inline-block; + height: 2.75em; + line-height: 2.75em; + width: 2.75em; + } + } + + &.major { + display: block; + margin: 0 0 (_size(element-margin) * 0.5) 0; + + &:before { + font-size: 1.25rem; + } + } + } + + a.icon { + &.style2 { + &:before { + @include vendor('transition', ( + 'background-color #{_duration(transition)} ease-in-out', + 'box-shadow #{_duration(transition)} ease-in-out', + 'color #{_duration(transition)} ease-in-out' + )); + } + } + } + + @mixin color-icon($p: null) { + .icon { + &.style2 { + &:before { + box-shadow: inset 0 0 0 _size(border-width) _palette($p, border); + } + } + } + + a.icon { + &.style2 { + &:hover { + &:before { + box-shadow: inset 0 0 0 _size(border-width) _palette($p, accent); + color: _palette($p, accent); + } + } + + &:active { + &:before { + background-color: transparentize(_palette($p, accent), 0.9); + box-shadow: inset 0 0 0 _size(border-width) _palette($p, accent); + color: _palette($p, accent); + } + } + } + } + } + + @include color-icon; \ No newline at end of file diff --git a/assets/sass/components/_image.scss b/assets/sass/components/_image.scss new file mode 100644 index 0000000..68284ec --- /dev/null +++ b/assets/sass/components/_image.scss @@ -0,0 +1,61 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Image */ + + .image { + border: 0; + border-radius: _size(border-radius); + display: inline-block; + position: relative; + + img { + display: block; + border-radius: _size(border-radius); + } + + &.left, + &.right { + width: 40%; + max-width: 10rem; + + img { + width: 100%; + } + } + + &.left { + float: left; + margin: 0 1.5rem 1rem 0; + top: 0.25rem; + } + + &.right { + float: right; + margin: 0 0 1rem 1.5rem; + top: 0.25rem; + } + + &.fit { + display: block; + margin: 0 0 _size(element-margin) 0; + width: 100%; + + img { + width: 100%; + } + } + + &.main { + display: block; + margin: 0 0 (_size(element-margin) * 1.5) 0; + width: 100%; + + img { + width: 100%; + } + } + } \ No newline at end of file diff --git a/assets/sass/components/_index.scss b/assets/sass/components/_index.scss new file mode 100644 index 0000000..a7485c1 --- /dev/null +++ b/assets/sass/components/_index.scss @@ -0,0 +1,66 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Index */ + + .index { + > * { + @include padding(3rem, 0); + @include vendor('display', 'flex'); + border-top: solid 1px; + + > header { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + width: 15rem; + } + + > .content { + @include vendor('flex-grow', '1'); + @include vendor('flex-shrink', '1'); + } + } + + > :first-child { + border-top: 0; + } + + @include breakpoint(medium) { + > * { + > header { + width: 11rem; + } + } + } + + @include breakpoint(small) { + > * { + > header { + width: 10rem; + } + } + } + + @include breakpoint(xsmall) { + > * { + @include vendor('flex-direction', 'column'); + + > header { + width: 100%; + } + } + } + } + + @mixin color-index($p: null) { + .index { + > * { + border-top-color: _palette($p, border); + } + } + } + + @include color-index; \ No newline at end of file diff --git a/assets/sass/components/_items.scss b/assets/sass/components/_items.scss new file mode 100644 index 0000000..790090e --- /dev/null +++ b/assets/sass/components/_items.scss @@ -0,0 +1,338 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Items (transitions) */ + + .items { + + // Mixin. + @mixin transition-items($event) { + $x: null; + $y: null; + + @if ($event == 'load') { + $x: 'body.is-loading &'; + $y: _duration(on-load); + } + @else if ($event == 'scroll') { + $x: '&.is-inactive'; + $y: _duration(on-scroll); + } + + &.on#{$event}-fade-in { + > * { + > .inner { + @include vendor('transition', 'opacity #{$y} ease-in-out'); + @include vendor('transition-delay', '#{_misc(items-limit) * _duration(items-delay)}'); + } + + @for $i from 0 through _misc(items-limit) { + &:nth-child(#{$i + 1}) { + > .inner { + @include vendor('transition-delay', '#{$i * _duration(items-delay)}'); + } + } + } + } + + #{$x} { + > * { + > .inner { + opacity: 0; + } + } + } + } + } + + // On Load. + @include transition-items('load'); + + // On Scroll. + @include transition-items('scroll'); + + } + +/* Items (style1) */ + + @mixin items-style1-size($name, $size, $padding) { + &.#{$name} { + > * { + @include padding($padding, $padding); + width: #{100% / $size}; + + &:nth-child(-n + #{$size}) { + border-top-width: 0; + } + + &:nth-child(#{$size}n + 1) { + border-left-width: 0; + } + } + } + } + + @mixin items-style1-size-reset($name, $size) { + &.#{$name} { + > * { + &:nth-child(-n + #{$size}) { + border-top-width: _size(border-width); + } + + &:nth-child(#{$size}n + 1) { + border-left-width: _size(border-width); + } + } + } + } + + .items.style1 { + @include vendor('display', 'flex'); + @include vendor('flex-wrap', 'wrap'); + @include vendor('justify-content', 'center'); + margin: (_size(element-margin) * 1.5) 0; + position: relative; + + > * { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + border-style: solid; + border-left-width: _size(border-width); + border-top-width: _size(border-width); + } + + // Modifiers. + + // Size. + @include items-style1-size(big, 2, _size(gutter)); + @include items-style1-size(medium, 3, _size(gutter) * 0.625); + @include items-style1-size(small, 4, _size(gutter) * 0.375); + + @include breakpoint(large) { + @include items-style1-size-reset(small, 4); + @include items-style1-size(small, 3, _size(gutter) * 0.625); + } + + @include breakpoint(medium) { + @include items-style1-size-reset(medium, 3); + @include items-style1-size(medium, 2, _size(gutter)); + + @include items-style1-size-reset(small, 3); + @include items-style1-size(small, 2, _size(gutter)); + } + + @include breakpoint(xsmall) { + @include items-style1-size-reset(big, 2); + @include items-style1-size(big, 1, _size(gutter) * 0.75); + + @include items-style1-size-reset(medium, 2); + @include items-style1-size(medium, 1, _size(gutter) * 0.75); + + @include items-style1-size-reset(small, 2); + @include items-style1-size(small, 1, _size(gutter) * 0.75); + + &.big, + &.medium, + &.small { + > * { + padding-left: 0; + padding-right: 0; + } + + > :first-child { + padding-top: 0; + } + + > :last-child { + padding-bottom: 0; + + > .inner { + > :last-child { + margin-bottom: 0; + } + } + } + } + } + + } + +/* Items (style2) */ + + @mixin items-style2-size($name, $size, $padding) { + &.#{$name} { + > * { + @include padding($padding, $padding); + width: #{100% / $size}; + + &:nth-child(-n + #{$size}) { + border-top-width: 0; + } + + &:nth-child(#{$size}n + 1) { + border-left-width: 0; + } + } + } + } + + @mixin items-style2-size-reset($name, $size) { + &.#{$name} { + > * { + &:nth-child(-n + #{$size}) { + border-top-width: _size(border-width); + } + + &:nth-child(#{$size}n + 1) { + border-left-width: _size(border-width); + } + } + } + } + + .items.style2 { + @include vendor('display', 'flex'); + @include vendor('flex-wrap', 'wrap'); + @include vendor('justify-content', 'center'); + margin: (_size(element-margin) * 1.5) 0; + position: relative; + border: solid _size(border-width); + border-radius: _size(border-radius); + + > * { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + border-style: solid; + border-left-width: _size(border-width); + border-top-width: _size(border-width); + } + + // Modifiers. + + // Size. + @include items-style2-size(big, 2, _size(gutter)); + @include items-style2-size(medium, 3, _size(gutter) * 0.625); + @include items-style2-size(small, 4, _size(gutter) * 0.375); + + @include breakpoint(large) { + @include items-style2-size-reset(small, 4); + @include items-style2-size(small, 3, _size(gutter) * 0.625); + } + + @include breakpoint(medium) { + @include items-style2-size-reset(medium, 3); + @include items-style2-size(medium, 2, _size(gutter)); + + @include items-style2-size-reset(small, 3); + @include items-style2-size(small, 2, _size(gutter)); + } + + @include breakpoint(xsmall) { + @include items-style2-size-reset(big, 2); + @include items-style2-size(big, 1, _size(gutter) * 0.75); + + @include items-style2-size-reset(medium, 2); + @include items-style2-size(medium, 1, _size(gutter) * 0.75); + + @include items-style2-size-reset(small, 2); + @include items-style2-size(small, 1, _size(gutter) * 0.75); + } + + } + +/* Items (style3) */ + + @mixin items-style3-size($name, $size, $padding) { + &.#{$name} { + > * { + @include padding($padding, $padding); + width: #{100% / $size}; + } + } + } + + .items.style3 { + @include vendor('display', 'flex'); + @include vendor('flex-wrap', 'wrap'); + @include vendor('justify-content', 'center'); + margin: (_size(element-margin) * 1.5) 0; + position: relative; + + > * { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + } + + // Modifiers. + + // Size. + @include items-style3-size(big, 2, _size(gutter) * 0.5); + @include items-style3-size(medium, 3, _size(gutter) * 0.5 * 0.625); + @include items-style3-size(small, 4, _size(gutter) * 0.5 * 0.375); + + @include breakpoint(large) { + @include items-style3-size(small, 3, _size(gutter) * 0.5 * 0.625); + } + + @include breakpoint(medium) { + @include items-style3-size(medium, 2, _size(gutter) * 0.5); + @include items-style3-size(small, 2, _size(gutter) * 0.5); + } + + @include breakpoint(small) { + margin: _size(element-margin) 0; + } + + @include breakpoint(xsmall) { + @include items-style3-size(big, 1, _size(gutter) * 0.5 * 0.75); + @include items-style3-size(medium, 1, _size(gutter) * 0.5 * 0.75); + @include items-style3-size(small, 1, _size(gutter) * 0.5 * 0.75); + + &.big, + &.medium, + &.small { + > * { + padding-left: 0; + padding-right: 0; + } + + > :first-child { + padding-top: 0; + } + + > :last-child { + padding-bottom: 0; + + > .inner { + > :last-child { + margin-bottom: 0; + } + } + } + } + } + + } + +// Mixin + + @mixin color-items($p: null) { + .items.style1 { + > * { + border-color: _palette($p, border); + } + } + + .items.style2 { + border-color: _palette($p, border); + + > * { + border-color: _palette($p, border); + } + } + } + + @include color-items; \ No newline at end of file diff --git a/assets/sass/components/_list.scss b/assets/sass/components/_list.scss new file mode 100644 index 0000000..a2d5816 --- /dev/null +++ b/assets/sass/components/_list.scss @@ -0,0 +1,210 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* List */ + + ol { + list-style: decimal; + margin: 0 0 _size(element-margin) 0; + padding-left: 1.25rem; + + li { + padding-left: 0.25rem; + } + } + + ul { + list-style: disc; + margin: 0 0 _size(element-margin) 0; + padding-left: 1rem; + + li { + padding-left: 0.5rem; + } + + &.alt { + list-style: none; + padding-left: 0; + + li { + border-top: solid _size(border-width); + padding: 0.5rem 0; + + &:first-child { + border-top: 0; + padding-top: 0; + } + } + } + + &.icons { + cursor: default; + list-style: none; + padding-left: 0; + + li { + display: inline-block; + padding: 0 0.75rem 0 0; + + &:last-child { + padding-right: 0; + } + } + } + + &.actions { + cursor: default; + list-style: none; + padding-left: 0; + + li { + display: inline-block; + padding: 0 (_size(element-margin) * 0.5) 0 0; + vertical-align: middle; + + &:last-child { + padding-right: 0; + } + } + + &.small { + li { + padding: 0 (_size(element-margin) * 0.25) 0 0; + } + } + + &.vertical { + li { + display: block; + padding: (_size(element-margin) * 0.5) 0 0 0; + + &:first-child { + padding-top: 0; + } + + > * { + margin-bottom: 0; + } + } + + &.small { + li { + padding: (_size(element-margin) * 0.25) 0 0 0; + + &:first-child { + padding-top: 0; + } + } + } + } + + &.fit { + display: table; + margin-left: (_size(element-margin) * -0.5); + padding: 0; + table-layout: fixed; + width: calc(100% + #{(_size(element-margin) * 0.5)}); + + li { + display: table-cell; + padding: 0 0 0 (_size(element-margin) * 0.5); + + > * { + margin-bottom: 0; + } + } + + &.small { + margin-left: (_size(element-margin) * -0.25); + width: calc(100% + #{(_size(element-margin) * 0.25)}); + + li { + padding: 0 0 0 (_size(element-margin) * 0.25); + } + } + } + + @include breakpoint(xsmall) { + margin: 0 0 _size(element-margin) 0; + + li { + padding: (_size(element-margin) * 0.5) 0 0 0; + display: block; + text-align: center; + width: 100%; + + &:first-child { + padding-top: 0; + } + + > * { + width: 100%; + margin: 0 !important; + + &.icon { + &:before { + margin-left: -2rem; + } + } + } + } + + &.small { + li { + padding: (_size(element-margin) * 0.25) 0 0 0; + + &:first-child { + padding-top: 0; + } + } + } + } + } + } + + dl { + margin: 0 0 _size(element-margin) 0; + + dt { + display: block; + font-weight: _font(weight-bold); + margin: 0 0 (_size(element-margin) * 0.5) 0; + } + + dd { + margin-left: _size(element-margin); + } + + &.style2 { + dt { + width: 25%; + float: left; + } + + dd { + width: 70%; + float: left; + } + + &:after { + content: ''; + display: block; + clear: both; + } + } + } + + @mixin color-list($p: null) { + ul { + &.alt { + li { + border-top-color: _palette($p, border); + } + } + } + } + + @include color-list; \ No newline at end of file diff --git a/assets/sass/components/_section.scss b/assets/sass/components/_section.scss new file mode 100644 index 0000000..6467123 --- /dev/null +++ b/assets/sass/components/_section.scss @@ -0,0 +1,49 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Section/Article */ + + section, article { + &.special { + text-align: center; + } + } + + header { + p { + position: relative; + margin: (_size(element-margin) * -0.325) 0 (_size(element-margin) * 0.75) 0; + font-style: italic; + } + + h1 + p { + font-size: 1.375rem; + } + + h2 + p { + font-size: 1.25rem; + } + + h3 + p { + font-size: 1.1rem; + } + + h4 + p, + h5 + p, + h6 + p { + font-size: 0.9rem; + } + } + + @mixin color-section($p: null) { + header { + p { + color: _palette($p, fg-light); + } + } + } + + @include color-section; \ No newline at end of file diff --git a/assets/sass/components/_spotlight.scss b/assets/sass/components/_spotlight.scss new file mode 100644 index 0000000..1cedf43 --- /dev/null +++ b/assets/sass/components/_spotlight.scss @@ -0,0 +1,1012 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Spotlight (transitions) */ + + .spotlight { + + // Mixin. + @mixin transition-spotlight($event) { + $x: null; + $y: null; + + @if ($event == 'load') { + $x: 'body.is-loading &'; + $y: _duration(on-load); + } + @else if ($event == 'scroll') { + $x: '&.is-inactive'; + $y: _duration(on-scroll); + } + + // Content. + &.on#{$event}-content-fade-up { + .content { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + } + + #{$x} { + .content { + @include vendor('transform', 'translateY(1rem)'); + opacity: 0; + } + } + } + + &.on#{$event}-content-fade-down { + .content { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + } + + #{$x} { + .content { + @include vendor('transform', 'translateY(-1rem)'); + opacity: 0; + } + } + } + + &.on#{$event}-content-fade-left { + .content { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + } + + #{$x} { + .content { + @include vendor('transform', 'translateX(1rem)'); + opacity: 0; + } + } + } + + &.on#{$event}-content-fade-right { + .content { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + } + + #{$x} { + .content { + @include vendor('transform', 'translateX(-1rem)'); + opacity: 0; + } + } + } + + &.on#{$event}-content-fade-in { + .content { + @include vendor('transition', 'opacity #{$y} ease-in-out'); + } + + #{$x} { + .content { + opacity: 0; + } + } + } + + // Image. + &.on#{$event}-image-fade-up { + .image { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + + img { + @include vendor('transition', 'opacity #{$y} ease-in-out'); + @include vendor('transition-delay', '#{$y * 0.75}'); + } + } + + #{$x} { + .image { + @include vendor('transform', 'translateY(1rem)'); + opacity: 0; + + img { + opacity: 0; + } + } + } + } + + &.on#{$event}-image-fade-down { + .image { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + + img { + @include vendor('transition', 'opacity #{$y} ease-in-out'); + @include vendor('transition-delay', '#{$y * 0.75}'); + } + } + + #{$x} { + .image { + @include vendor('transform', 'translateY(-1rem)'); + opacity: 0; + + img { + opacity: 0; + } + } + } + } + + &.on#{$event}-image-fade-left { + .image { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + + img { + @include vendor('transition', 'opacity #{$y} ease-in-out'); + @include vendor('transition-delay', '#{$y * 0.75}'); + } + } + + #{$x} { + .image { + @include vendor('transform', 'translateX(1rem)'); + opacity: 0; + + img { + opacity: 0; + } + } + } + } + + &.on#{$event}-image-fade-right { + .image { + @include vendor('transition', ( + 'opacity #{$y} ease-in-out', + 'transform #{$y} ease-in-out' + )); + + img { + @include vendor('transition', 'opacity #{$y} ease-in-out'); + @include vendor('transition-delay', '#{$y * 0.75}'); + } + } + + #{$x} { + .image { + @include vendor('transform', 'translateX(-1rem)'); + opacity: 0; + + img { + opacity: 0; + } + } + } + } + + &.on#{$event}-image-fade-in { + .image { + img { + @include vendor('transition', 'opacity #{$y} ease-in-out'); + } + } + + #{$x} { + .image { + img { + opacity: 0; + } + } + } + } + + } + + // On Load. + @include transition-spotlight('load'); + + // On Scroll. + @include transition-spotlight('scroll'); + + } + +/* Spotlight (style1) */ + + .spotlight.style1 { + @include vendor('align-items', 'stretch'); + @include vendor('display', 'flex'); + @include vendor('flex-direction', 'row'); + @include vendor('justify-content', 'flex-end'); + position: relative; + overflow-x: hidden; + text-align: left; + + .content { + @include padding(_size(padding, default), _size(padding, default)); + @include vendor('align-self', 'center'); + @include vendor('flex-grow', '1'); + @include vendor('flex-shrink', '1'); + width: 65%; + max-width: _size(inner); + margin: 0 auto; + } + + .image { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + width: 35%; + min-width: 25rem; + border-radius: 0; + + img { + @include vendor('object-fit', 'cover'); + @include vendor('object-position', 'center'); + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border-radius: 0; + } + } + + @include breakpoint(xlarge) { + .content { + @include padding(_size(padding, xlarge), _size(padding, xlarge)); + } + } + + @include breakpoint(large) { + .content { + @include padding(_size(padding, large), _size(padding, large)); + } + } + + @include breakpoint(medium) { + .content { + @include padding(_size(padding, medium) * 1.25, _size(padding, medium)); + width: 50%; + min-width: 0; + } + + .image { + width: 50%; + min-width: 0; + } + } + + @include breakpoint(small) { + .content { + @include padding(_size(padding, small) * 1.25, _size(padding, small)); + } + + @include orientation(portrait) { + @include vendor('flex-direction', 'column-reverse'); + text-align: center !important; + + .content { + width: 100%; + } + + .image { + width: 100%; + + img { + position: relative; + } + } + } + } + + // Modifiers. + + // Orientation. + &.orient-left { + // ... + } + + &.orient-right { + @include vendor('flex-direction', 'row-reverse'); + + @include breakpoint(small) { + @include orientation(portrait) { + @include vendor('flex-direction', 'column-reverse'); + } + } + } + + // Content Alignment. + &.content-align-left { + // ... + } + + &.content-align-center { + text-align: center; + } + + &.content-align-right { + text-align: right; + } + + // Image Position. + &.image-position-left { + .image { + img { + @include vendor('object-position', 'left'); + } + } + } + + &.image-position-center { + // ... + } + + &.image-position-right { + .image { + img { + @include vendor('object-position', 'right'); + } + } + } + + } + +/* Spotlight (style2) */ + + .spotlight.style2 { + $image-size: 21rem; + $content-size: (_size(inner) * 0.75) - (_size(element-margin) * 1.75); + + @include padding(_size(padding, default), _size(padding, default)); + @include vendor('align-items', 'center'); + @include vendor('display', 'flex'); + @include vendor('flex-direction', 'row-reverse'); + @include vendor('justify-content', 'center'); + position: relative; + overflow-x: hidden; + text-align: left; + + .content { + width: $content-size; + max-width: 100%; + } + + .image { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + width: $image-size; + height: $image-size; + border-radius: 100%; + margin: 0 (_size(element-margin) * 1.75) _size(element-margin) 0; + + img { + @include vendor('object-fit', 'cover'); + @include vendor('object-position', 'center'); + display: block; + width: 100%; + height: 100%; + border-radius: 100%; + } + } + + @include breakpoint(xlarge) { + @include padding(_size(padding, xlarge), _size(padding, xlarge)); + } + + @include breakpoint(large) { + @include padding(_size(padding, large), _size(padding, large)); + } + + @include breakpoint(medium) { + @include padding(_size(padding, medium) * 1.25, _size(padding, medium)); + + .image { + width: ($image-size * 0.875); + height: ($image-size * 0.875); + } + } + + @include breakpoint(small) { + @include padding(_size(padding, small) * 1.25, _size(padding, small)); + @include vendor('align-items', 'flex-start'); + + .image { + width: ($image-size * 0.75); + height: ($image-size * 0.75); + margin: 0 (_size(element-margin) * 1) _size(element-margin) 0; + } + } + + @include orientation(portrait) { + @include vendor('align-items', 'center'); + @include vendor('flex-direction', 'column-reverse'); + text-align: center !important; + + .content { + width: 34rem; + max-width: 100%; + } + + .image { + margin-right: 0; + } + } + + // Modifiers. + + // Orientation. + &.orient-left { + @include vendor('flex-direction', 'row'); + + .image { + margin: 0 0 _size(element-margin) (_size(element-margin) * 1.75); + } + + @include breakpoint(small) { + .image { + margin: 0 0 _size(element-margin) (_size(element-margin) * 1); + } + } + + @include orientation(portrait) { + @include vendor('flex-direction', 'column-reverse'); + + .image { + margin-left: 0; + } + } + } + + &.orient-right { + // ... + } + + // Content Alignment. + &.content-align-left { + // ... + } + + &.content-align-center { + text-align: center; + } + + &.content-align-right { + text-align: right; + } + + // Image Position. + &.image-position-left { + .image { + img { + @include vendor('object-position', 'left'); + } + } + } + + &.image-position-center { + // ... + } + + &.image-position-right { + .image { + img { + @include vendor('object-position', 'right'); + } + } + } + + } + +/* Spotlight (style3) */ + + .spotlight.style3 { + $image-width: 13rem; + $content-size: (_size(inner) * 0.75) - (_size(element-margin) * 1.75); + + @include padding(_size(padding, default), _size(padding, default)); + @include vendor('align-items', 'center'); + @include vendor('display', 'flex'); + @include vendor('flex-direction', 'row-reverse'); + @include vendor('justify-content', 'center'); + position: relative; + overflow-x: hidden; + text-align: left; + + .content { + width: $content-size; + max-width: 100%; + } + + .image { + @include phone($image-width); + margin-right: (_size(element-margin) * 1.75); + } + + @include breakpoint(xlarge) { + @include padding(_size(padding, xlarge), _size(padding, xlarge)); + } + + @include breakpoint(large) { + @include padding(_size(padding, large), _size(padding, large)); + } + + @include breakpoint(medium) { + @include padding(_size(padding, medium) * 1.25, _size(padding, medium)); + + .image { + @include resize-phone($image-width, 0.875); + } + } + + @include breakpoint(small) { + @include padding(_size(padding, small) * 1.25, _size(padding, small)); + @include vendor('align-items', 'flex-start'); + + .image { + @include resize-phone($image-width, 0.625); + } + } + + @include orientation(portrait) { + @include vendor('align-items', 'center'); + @include vendor('flex-direction', 'column-reverse'); + text-align: center !important; + + .content { + width: 34rem; + max-width: 100%; + } + + .image { + margin-right: 0; + margin-left: 0; + } + } + + // Modifiers. + + // Variant. + &.iphone { + // ... + } + + &.android { + // ... + } + + // Orientation. + &.orient-left { + @include vendor('flex-direction', 'row'); + + .image { + margin-right: 0; + margin-left: (_size(element-margin) * 1.75); + } + + @include orientation(portrait) { + @include vendor('flex-direction', 'column-reverse'); + + .image { + margin-right: 0; + margin-left: 0; + } + } + } + + &.orient-right { + // ... + } + + // Content Alignment. + &.content-align-left { + // ... + } + + &.content-align-center { + text-align: center; + } + + &.content-align-right { + text-align: right; + } + + // Image Position. + &.image-position-left { + .image { + img { + @include vendor('object-position', 'left'); + } + } + } + + &.image-position-center { + // ... + } + + &.image-position-right { + .image { + img { + @include vendor('object-position', 'right'); + } + } + } + + } + +/* Spotlight (style4) */ + + .spotlight.style4 { + @include padding(_size(padding, default), _size(padding, default) * 0.75); + @include vendor('align-items', 'center'); + @include vendor('display', 'flex'); + @include vendor('justify-content', 'center'); + background-color: inherit; + position: relative; + overflow-x: hidden; + text-align: center; + + .content { + @include padding(_size(padding, default) * 0.5, _size(padding, default) * 0.5); + position: relative; + width: (_size(inner) * 0.625); + max-width: 50%; + background-color: inherit; + border-radius: _size(border-radius-alt); + margin-bottom: _size(element-margin); + z-index: 1; + } + + .image { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + border-radius: 0; + + img { + @include vendor('object-fit', 'cover'); + @include vendor('object-position', 'center'); + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border-radius: 0; + } + } + + @include breakpoint(xlarge) { + @include padding(_size(padding, xlarge), _size(padding, xlarge) * 0.75); + + .content { + @include padding(_size(padding, xlarge) * 0.5, _size(padding, xlarge) * 0.5); + } + } + + @include breakpoint(large) { + @include padding(_size(padding, large), _size(padding, large) * 0.75); + + .content { + @include padding(_size(padding, large) * 0.75, _size(padding, large) * 0.75); + } + } + + @include breakpoint(medium) { + @include padding(_size(padding, medium), _size(padding, medium) * 0.75); + + .content { + @include padding(_size(padding, medium) * 0.75, _size(padding, medium) * 0.75); + } + } + + @include breakpoint(small) { + @include padding(_size(padding, small), _size(padding, small) * 0.75); + + .content { + @include padding(_size(padding, small) * 0.75, _size(padding, small) * 0.75); + } + } + + @include breakpoint(xsmall) { + .content { + max-width: 80%; + } + } + + // Modifiers. + + // Size. + &.fullscreen { + min-height: 100vh; + } + + &.halfscreen { + min-height: 50vh; + } + + // Orientation. + &.orient-left { + @include vendor('justify-content', 'flex-start'); + padding-left: 0; + + .content { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + } + + &.orient-center { + // ... + } + + &.orient-right { + @include vendor('justify-content', 'flex-end'); + padding-right: 0; + + .content { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + } + + // Content Alignment. + &.content-align-left { + text-align: left; + } + + &.content-align-center { + // ... + } + + &.content-align-right { + text-align: right; + } + + // Image Position. + &.image-position-left { + .image { + img { + @include vendor('object-position', 'left'); + } + } + } + + &.image-position-center { + // ... + } + + &.image-position-right { + .image { + img { + @include vendor('object-position', 'right'); + } + } + } + + } + +/* Spotlight (style5) */ + + .spotlight.style5 { + @include padding(_size(padding, default), _size(padding, default) * 0.75); + @include vendor('align-items', 'center'); + @include vendor('display', 'flex'); + @include vendor('justify-content', 'center'); + background-color: inherit; + position: relative; + overflow-x: hidden; + text-align: center; + + .content { + @include padding(_size(padding, default) * 0.5, _size(padding, default) * 0.5); + position: relative; + width: (_size(inner) * 0.625); + max-width: 52.5%; + background-color: inherit; + border-radius: _size(border-radius-alt); + margin-bottom: _size(element-margin); + z-index: 1; + } + + .image { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + border-radius: 0; + + img { + @include vendor('object-fit', 'cover'); + @include vendor('object-position', 'center'); + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border-radius: 0; + } + } + + @include breakpoint(xlarge) { + @include padding(_size(padding, xlarge), _size(padding, xlarge) * 0.75); + + .content { + @include padding(_size(padding, xlarge) * 0.5, _size(padding, xlarge) * 0.5); + } + } + + @include breakpoint(large) { + @include padding(_size(padding, large), _size(padding, large) * 0.75); + + .content { + @include padding(_size(padding, large) * 0.75, _size(padding, large) * 0.75); + } + } + + @include breakpoint(medium) { + @include padding(_size(padding, medium), _size(padding, medium) * 0.75); + + .content { + @include padding(_size(padding, medium) * 0.75, _size(padding, medium) * 0.75); + } + } + + @include breakpoint(small) { + @include padding(_size(padding, small), _size(padding, small) * 0.75); + + .content { + @include padding(_size(padding, small) * 0.75, _size(padding, small) * 0.75); + } + } + + @include breakpoint(xsmall) { + .content { + max-width: 80%; + } + } + + // Modifiers. + + // Size. + &.fullscreen { + min-height: 100vh; + } + + &.halfscreen { + min-height: 50vh; + } + + // Orientation. + &.orient-left { + @include vendor('justify-content', 'flex-start'); + } + + &.orient-center { + // ... + } + + &.orient-right { + @include vendor('justify-content', 'flex-end'); + } + + // Content Alignment. + &.content-align-left { + text-align: left; + } + + &.content-align-center { + // ... + } + + &.content-align-right { + text-align: right; + } + + // Image Position. + &.image-position-left { + .image { + img { + @include vendor('object-position', 'left'); + } + } + } + + &.image-position-center { + // ... + } + + &.image-position-right { + .image { + img { + @include vendor('object-position', 'right'); + } + } + } + + } + +// Mixin + + @mixin color-spotlight($p: null) { + .spotlight { + .image { + background-color: transparentize(_palette($p, fg-bold), 0.875); + } + + @if ($p != 'invert') { + &.invert { + .image { + background-color: transparentize(_palette(invert, fg-bold), 0.875); + } + } + } + } + + .spotlight.style3 { + .image { + @include color-phone($p); + } + + // Variant. + &.iphone { + .image { + @include color-phone-variant('iphone', $p); + } + } + + &.android { + .image { + @include color-phone-variant('android', $p); + } + } + + @if ($p != 'invert') { + &.invert { + .image { + @include color-phone(invert); + } + + // Variant. + &.iphone { + .image { + @include color-phone-variant('iphone', invert); + } + } + + &.android { + .image { + @include color-phone-variant('android', invert); + } + } + + } + } + } + } + + @include color-spotlight; \ No newline at end of file diff --git a/assets/sass/components/_table.scss b/assets/sass/components/_table.scss new file mode 100644 index 0000000..d09c0ce --- /dev/null +++ b/assets/sass/components/_table.scss @@ -0,0 +1,137 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Table */ + + .table-wrapper { + -webkit-overflow-scrolling: touch; + margin: 0 0 _size(element-margin) 0; + overflow-x: auto; + + > table { + margin-bottom: 0; + } + } + + table { + margin: 0 0 _size(element-margin) 0; + width: 100%; + + tbody { + tr { + border: solid _size(border-width); + border-left: 0; + border-right: 0; + } + } + + td { + padding: 0.75rem 0.75rem; + } + + th { + font-size: 0.9rem; + font-weight: _font(weight-bold); + padding: 0 0.75rem 0.75rem 0.75rem; + text-align: left; + } + + thead { + border-bottom: solid (_size(border-width) * 2); + } + + tfoot { + border-top: solid (_size(border-width) * 2); + } + + &.alt { + border-collapse: separate; + + tbody { + tr { + td { + border: solid _size(border-width); + border-left-width: 0; + border-top-width: 0; + + &:first-child { + border-left-width: _size(border-width); + } + } + + &:first-child { + td { + border-top-width: _size(border-width); + } + } + } + } + + thead { + border-bottom: 0; + } + + tfoot { + border-top: 0; + } + } + + &.fixed { + table-layout: fixed; + } + } + + @mixin color-table($p: null) { + table { + tbody { + tr { + border-color: _palette($p, border); + + &:nth-child(2n + 1) { + background-color: _palette($p, border-bg); + } + + &.alt { + background-color: _palette($p, border-bg) !important; + } + } + } + + th { + color: _palette($p, fg-bold); + } + + thead { + border-bottom-color: _palette($p, border); + } + + tfoot { + border-top-color: _palette($p, border); + } + + &.alt { + tbody { + tr { + td { + border-color: _palette($p, border); + } + } + } + } + + &.uniform { + tbody { + tr { + &:nth-child(2n + 1) { + background-color: transparent; + } + } + } + } + } + } + + @include color-table; \ No newline at end of file diff --git a/assets/sass/components/_wrapper.scss b/assets/sass/components/_wrapper.scss new file mode 100644 index 0000000..32b3bf5 --- /dev/null +++ b/assets/sass/components/_wrapper.scss @@ -0,0 +1,120 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Wrapper (style1) */ + + .wrapper.style1 { + > .inner { + @include padding(_size(padding, default), _size(padding, default) * 0.5); + margin: 0 auto; + max-width: 100%; + width: _size(inner); + + &.medium { + width: _size(inner) * 0.75; + } + + &.small { + width: _size(inner) * 0.5; + } + } + + @include breakpoint(xlarge) { + > .inner { + @include padding(_size(padding, xlarge), _size(padding, xlarge) * 0.5); + } + } + + @include breakpoint(large) { + > .inner { + @include padding(_size(padding, large), _size(padding, large)); + } + } + + @include breakpoint(medium) { + > .inner { + @include padding(_size(padding, medium) * 1.5, _size(padding, medium)); + } + } + + @include breakpoint(small) { + > .inner { + @include padding(_size(padding, small) * 1.5, _size(padding, small)); + } + } + } + +/* Wrapper (style2) */ + + .wrapper.style2 { + padding: _size(padding, default); + background-color: _palette(bg-alt); + + > .inner { + @include padding(_size(padding, default) * 0.75, _size(padding, default) * 0.5); + background-color: _palette(bg); + border-radius: _size(border-radius-alt); + margin: 0 auto; + max-width: 100%; + position: relative; + width: _size(inner); + z-index: 1; + + &.medium { + width: _size(inner) * 0.75; + } + + &.small { + width: _size(inner) * 0.5; + } + } + + @include breakpoint(xlarge) { + padding: _size(padding, xlarge); + + > .inner { + @include padding(_size(padding, xlarge) * 0.75, _size(padding, xlarge) * 0.5); + } + } + + @include breakpoint(large) { + padding: _size(padding, large); + + > .inner { + @include padding(_size(padding, large) * 0.75, _size(padding, large) * 0.5); + } + } + + @include breakpoint(medium) { + padding: _size(padding, medium) * 0.75; + + > .inner { + @include padding(_size(padding, medium), _size(padding, medium) * 0.75); + } + } + + @include breakpoint(small) { + padding: _size(padding, small) * 0.75; + + > .inner { + @include padding(_size(padding, small), _size(padding, small) * 0.75); + } + } + } + + #wrapper { + > .wrapper.style2 { + &.invert { + &:not(.color1):not(.color2):not(.color3):not(.color4):not(.color5):not(.color6):not(.color7) { + background-color: _palette(invert, bg-alt); + } + + > .inner { + background-color: _palette(invert, bg); + } + } + } + } \ No newline at end of file diff --git a/assets/sass/ie8.scss b/assets/sass/ie8.scss deleted file mode 100644 index b6b04d4..0000000 --- a/assets/sass/ie8.scss +++ /dev/null @@ -1,246 +0,0 @@ -@import 'libs/vars'; -@import 'libs/functions'; -@import 'libs/mixins'; -@import 'libs/skel'; - -/* - Photon by HTML5 UP - html5up.net | @ajlkn - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ - -// Vars - - $ie-palette-border: #ccc; - $ie-palette-border-bg: transparent; - $ie-palette-border2: #ccc; - $ie-palette-border2-bg: transparent; - $ie-palette-dark-bg: #666666; - $ie-palette-dark-fg-bold: #ffffff; - $ie-palette-dark-fg: #ffffff; - $ie-palette-dark-fg-light: #ffffff; - $ie-palette-dark-border: #ffffff; - $ie-palette-dark-border-bg: transparent; - $ie-palette-dark-border2: #ffffff; - $ie-palette-dark-border2-bg: transparent; - -/* Basic */ - - hr { - border-bottom: solid 1px $ie-palette-border; - } - - blockquote { - border-left: solid 4px $ie-palette-border; - } - - code { - border: solid 1px $ie-palette-border; - } - -/* Section/Article */ - - header { - &.major { - &:after { - background: $ie-palette-border; - } - } - } - -/* Form */ - - input[type="text"], - input[type="password"], - input[type="email"], - select, - textarea { - -ms-behavior: url('assets/js/ie/PIE.htc'); - border: solid 1px $ie-palette-border; - position: relative; - } - -/* List */ - - ul { - &.alt { - li { - border-top: solid 1px $ie-palette-border; - } - } - - &.major-icons { - li { - .icon { - -ms-behavior: url('assets/js/ie/PIE.htc'); - border: solid 1px $ie-palette-border; - position: relative; - } - } - } - } - -/* Table */ - - table { - thead { - border-bottom: solid 1px $ie-palette-border; - } - - tfoot { - border-top: solid 1px $ie-palette-border; - } - - &.alt { - tbody { - tr { - td { - border: solid 1px $ie-palette-border; - border-left-width: 0; - border-top-width: 0; - } - } - } - } - } - -/* Button */ - - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - -ms-behavior: url('assets/js/ie/PIE.htc'); - border: solid 1px $ie-palette-border; - position: relative; - } - -/* Image */ - - .image { - -ms-behavior: url('assets/js/ie/PIE.htc'); - - img { - -ms-behavior: url('assets/js/ie/PIE.htc'); - position: relative; - } - } - -// Dark (mixin) - - @mixin dark($ie-palette-this-bg: $ie-palette-dark-bg) { - background-color: $ie-palette-this-bg; - color: $ie-palette-dark-fg; - - a { - border-bottom-color: $ie-palette-dark-fg; - - &:hover { - color: $ie-palette-dark-fg-bold; - } - } - - h1, h2, h3, h4, h5, h6, strong, b { - color: $ie-palette-dark-fg-bold; - } - - header { - p { - color: $ie-palette-dark-fg-bold; - } - - &.major { - &:after { - background: $ie-palette-dark-border; - } - } - } - - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - border: solid 1px $ie-palette-dark-border !important; - color: $ie-palette-dark-fg-bold !important; - - &:hover { - background-color: $ie-palette-dark-border-bg; - } - - &:active { - background-color: $ie-palette-dark-border2-bg; - } - - &.special { - background-color: $ie-palette-dark-fg-bold; - border: solid 1px $ie-palette-dark-border !important; - color: $ie-palette-this-bg !important; - - &:hover { - background-color: $ie-palette-dark-border-bg !important; - color: $ie-palette-dark-fg-bold !important; - } - - &:active { - background-color: $ie-palette-dark-border2-bg !important; - } - } - } - - ul { - &.major-icons { - li { - .icon { - border-color: $ie-palette-dark-border; - } - } - } - } - - .icon { - &.major { - color: $ie-palette-dark-fg-bold; - } - } - } - -/* Main */ - - .main { - &.style2 { - @include dark(#333); - -ms-behavior: url('assets/js/ie/backgroundsize.min.htc'); - background-image: url('../../images/header.jpg'); - background-size: cover; - position: relative; - - &:before { - background-image: url('images/overlay1.png'); - content: ''; - height: 100%; - left: 0; - position: absolute; - top: 0; - width: 100%; - } - - > * { - position: relative; - z-index: 1; - } - } - } - -/* Header */ - - #header { - @include dark(#4686a0); - } - -/* Footer */ - - #footer { - @include dark(#4686a0); - } \ No newline at end of file diff --git a/assets/sass/ie9.scss b/assets/sass/ie9.scss deleted file mode 100644 index f991ca5..0000000 --- a/assets/sass/ie9.scss +++ /dev/null @@ -1,66 +0,0 @@ -@import 'libs/vars'; -@import 'libs/functions'; -@import 'libs/mixins'; -@import 'libs/skel'; - -/* - Photon by HTML5 UP - html5up.net | @ajlkn - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ - -/* Header */ - - #header { - $from: _palette(accent3-alt); - $to: _palette(accent6-alt); - - background-image: none; - filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#{$from}", endColorStr="#{$to}", GradientType=1); - position: relative; - - &:before { - background-image: url('images/overlay2.png'), url('images/overlay3.svg'); - background-position: top left, center center; - background-size: auto, cover; - content: ''; - height: 100%; - left: 0; - position: absolute; - top: 0; - width: 100%; - } - - > * { - position: relative; - z-index: 1; - } - } - -/* Footer */ - - #footer { - $from: _palette(accent6-alt); - $to: _palette(accent3-alt); - - background-image: none; - filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#{$from}", endColorStr="#{$to}", GradientType=1); - position: relative; - - &:before { - background-image: url('images/overlay2.png'), url('images/overlay4.svg'); - background-position: top left, center center; - background-size: auto, cover; - content: ''; - height: 100%; - left: 0; - position: absolute; - top: 0; - width: 100%; - } - - > * { - position: relative; - z-index: 1; - } - } \ No newline at end of file diff --git a/assets/sass/layout/_wrapper.scss b/assets/sass/layout/_wrapper.scss new file mode 100644 index 0000000..e99fcdb --- /dev/null +++ b/assets/sass/layout/_wrapper.scss @@ -0,0 +1,49 @@ +/// +/// Story by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Wrapper */ + + @mixin wrapper-color($n) { + > .color#{$n} { + background-color: _palette(color#{$n}); + } + } + + #wrapper { + background-color: inherit; + width: 100%; + overflow-x: hidden; + + > .invert { + @include color(invert); + } + + @include wrapper-color(1); + @include wrapper-color(2); + @include wrapper-color(3); + @include wrapper-color(4); + @include wrapper-color(5); + @include wrapper-color(6); + @include wrapper-color(7); + + &.divided { + > * { + box-shadow: inset 0 1px 0 0 _palette(border-alt); + + &:first-child { + box-shadow: none !important; + } + } + + > .invert { + box-shadow: inset 0 1px 0 0 _palette(invert, border-alt); + + &:first-child { + box-shadow: none !important; + } + } + } + } \ No newline at end of file diff --git a/assets/sass/libs/_vars.scss b/assets/sass/libs/_vars.scss index 13c7530..7205363 100644 --- a/assets/sass/libs/_vars.scss +++ b/assets/sass/libs/_vars.scss @@ -1,18 +1,39 @@ // Misc. $misc: ( - z-index-base: 10000 + z-index-base: 10000, + overlay-opacity: 0.5, + lightbox-opacity: 0.75, + gallery-limit: 32, + items-limit: 16 ); // Duration. $duration: ( - transition: 0.2s + menu: 0.5s, + transition: 0.2s, + gallery-lightbox: 0.5s, + gallery-delay: 0.15s, + items-delay: 0.15s, + on-load: 0.75s, + on-scroll: 0.75s ); // Size. $size: ( border-radius: 4px, - element-height: 2.75em, - element-margin: 2em + border-radius-alt: 0.5rem, + border-width: 1px, + element-height: 2.75rem, + element-margin: 2rem, + gutter: 3.5rem, + inner: 64rem, + padding: ( + default: 7rem, + xlarge: 5rem, + large: 4rem, + medium: 3rem, + small: 2rem + ) ); // Font. @@ -20,40 +41,40 @@ family: ('Source Sans Pro', Helvetica, sans-serif), family-fixed: ('Courier New', monospace), weight: 300, - weight-bold: 400 + weight-bold: 400, + kerning: -0.05em, + kerning-alt: 0.125em ); // Palette. $palette: ( - bg: #fff, - fg: #666, - fg-bold: #555, - fg-light: #999, - border: rgba(144,144,144,0.5), - border-bg: rgba(144,144,144,0.075), - border2: rgba(144,144,144,0.75), - border2-bg: rgba(144,144,144,0.2), - accent1: #c3e895, - accent2: #8addaa, - accent3: #6bd4c8, - accent4: #57aed3, - accent5: #4a87d3, - accent6: #6b88e6, - accent1-alt: desaturate(darken(#c3e895, 15), 20), - accent2-alt: desaturate(darken(#8addaa, 15), 20), - accent3-alt: desaturate(darken(#6bd4c8, 15), 20), - accent4-alt: desaturate(darken(#57aed3, 15), 20), - accent5-alt: desaturate(darken(#4a87d3, 15), 20), - accent6-alt: desaturate(darken(#6b88e6, 15), 20), + color1: #30363d, + color2: #db8992, + color3: #ab7aad, + color4: #897cad, + color5: #7794ce, + color6: #64abb4, + color7: #6ba78c, + + bg: #ffffff, + bg-alt: #eeeeee, + fg: #000000, + fg-bold: #000000, + fg-light: rgba(0,0,0,0.75), + border: rgba(0,0,0,0.2), + border-alt: rgba(0,0,0,0.075), + border-bg: rgba(0,0,0,0.05), + accent: #47D3E5, - dark: ( - bg: #666666, + invert: ( + bg: #000000, + bg-alt: #222222, + fg: #ffffff, fg-bold: #ffffff, - fg: rgba(255,255,255,0.75), - fg-light: rgba(255,255,255,0.5), - border: #ffffff, + fg-light: #ffffff, + border: rgba(255,255,255,1.0), + border-alt: rgba(255,255,255,0.125), border-bg: rgba(255,255,255,0.125), - border2: rgba(255,255,255,0.75), - border2-bg: rgba(255,255,255,0.25) - ) + accent: #47D3E5 + ), ); \ No newline at end of file diff --git a/assets/sass/main.scss b/assets/sass/main.scss index ccf4827..96b2df1 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -1,1408 +1,179 @@ -@import 'libs/vars'; -@import 'libs/functions'; -@import 'libs/mixins'; -@import url('font-awesome.min.css'); -@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic"); - -/* - Photon by HTML5 UP - html5up.net | @ajlkn - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ - - @import "libs/skel"; - - @include skel-breakpoints(( - xlarge: '(max-width: 1680px)', - large: '(max-width: 1140px)', - medium: '(max-width: 980px)', - small: '(max-width: 736px)', - xsmall: '(max-width: 480px)', - xxsmall: '(max-width: 320px)' - )); - - @include skel-layout(( - reset: 'full', - boxModel: 'border', - grid: ( gutters: 2em ), - conditionals: true, - containers: 60em, - breakpoints: ( - large: ( - containers: 90%, - grid: ( - gutters: 1.5em - ), - ), - medium: ( - containers: (100%, true), - ) - ) - )); - -/* Basic */ - - body { - background: _palette(bg); - - &.is-loading { - *, *:before, *:after { - @include vendor('animation', 'none !important'); - @include vendor('transition', 'none !important'); - } - } - } - - body, input, select, textarea { - color: _palette(fg); - font-family: _font(family); - font-size: 16pt; - font-weight: _font(weight); - line-height: 1.65em; - } - - a { - @include vendor('transition', ('color #{_duration(transition)} ease-in-out', 'border-color #{_duration(transition)} ease-in-out')); - border-bottom: dotted 1px _palette(fg); - color: inherit; - text-decoration: none; - - &:hover { - border-bottom-color: transparent !important; - color: _palette(accent3); - } - } - - strong, b { - color: _palette(fg-bold); - font-weight: _font(weight-bold); - } - - em, i { - font-style: italic; - } - - p { - margin: 0 0 _size(element-margin) 0; - } - - h1, h2, h3, h4, h5, h6 { - color: _palette(fg-bold); - line-height: 1em; - margin: 0 0 (_size(element-margin) * 0.5) 0; - - a { - color: inherit; - text-decoration: none; - } - } - - h1 { - font-size: 2.25em; - line-height: 1.35em; - } - - h2 { - font-size: 2em; - line-height: 1.35em; - } - - h3 { - font-size: 1.35em; - line-height: 1.5em; - } - - h4 { - font-size: 1.25em; - line-height: 1.5em; - } - - h5 { - font-size: 0.9em; - line-height: 1.5em; - } - - h6 { - font-size: 0.7em; - line-height: 1.5em; - } - - sub { - font-size: 0.8em; - position: relative; - top: 0.5em; - } - - sup { - font-size: 0.8em; - position: relative; - top: -0.5em; - } - - hr { - border: 0; - border-bottom: solid 1px _palette(border); - - // This is the *only* instance where we need to rely on margin collapse. - margin: _size(element-margin) 0; - - &.major { - margin: (_size(element-margin) * 1.5) 0; - } - } - - blockquote { - border-left: solid 4px _palette(border); - font-style: italic; - margin: 0 0 _size(element-margin) 0; - padding: 0.5em 0 0.5em 2em; - } - - code { - background: _palette(border-bg); - border-radius: _size(border-radius); - border: solid 1px _palette(border); - font-family: _font(family-fixed); - font-size: 0.9em; - margin: 0 0.25em; - padding: 0.25em 0.65em; - } - - pre { - -webkit-overflow-scrolling: touch; - font-family: _font(family-fixed); - font-size: 0.9em; - margin: 0 0 _size(element-margin) 0; - - code { - display: block; - line-height: 1.75em; - padding: 1em 1.5em; - overflow-x: auto; - } - } - - .align-left { - text-align: left; - } - - .align-center { - text-align: center; - } - - .align-right { - text-align: right; - } - -/* Section/Article */ - - section, article { - &.special { - text-align: center; - } - } - - header { - p { - color: _palette(fg-light); - margin: 0 0 (_size(element-margin) * 0.75) 0; - position: relative; - } - - h2 + p { - font-size: 1.25em; - line-height: 1.5em; - margin-top: (_size(element-margin) * -0.5); - } - - h3 + p { - font-size: 1.1em; - line-height: 1.5em; - margin-top: (_size(element-margin) * -0.4); - } - - h4 + p, - h5 + p, - h6 + p { - font-size: 0.9em; - line-height: 1.5em; - margin-top: (_size(element-margin) * -0.3); - } - - &.major { - margin: 0 0 (_size(element-margin) * 0.5) 0; - - &:after { - background: _palette(border); - content: ''; - display: inline-block; - height: 1px; - margin-top: (_size(element-margin) * 0.75); - width: 6em; - } - - h2, h3, h4, h5, h6 { - margin: 0; - } - - p { - margin: (_size(element-margin) * 0.35) 0 0 0; - } - } - - &.special { - text-align: center; - } - } - -/* Form */ - - form { - margin: 0 0 _size(element-margin) 0; - } - - label { - color: _palette(fg-bold); - display: block; - font-size: 0.9em; - font-weight: _font(weight-bold); - margin: 0 0 (_size(element-margin) * 0.5) 0; - } - - input[type="text"], - input[type="password"], - input[type="email"], - select, - textarea { - @include vendor('appearance', 'none'); - background: _palette(border-bg); - border-radius: _size(border-radius); - border: none; - border: solid 1px _palette(border); - color: inherit; - display: block; - outline: 0; - padding: 0 1em; - text-decoration: none; - width: 100%; - - &:invalid { - box-shadow: none; - } - - &:focus { - border-color: _palette(accent3); - } - } - - .select-wrapper { - @include icon; - display: block; - position: relative; - - &:before { - color: _palette(border); - content: '\f078'; - display: block; - height: _size(element-height); - line-height: _size(element-height); - pointer-events: none; - position: absolute; - right: 0; - text-align: center; - top: 0; - width: _size(element-height); - } - - select::-ms-expand { - display: none; - } - } - - input[type="text"], - input[type="password"], - input[type="email"], - select { - height: _size(element-height); - } - - textarea { - padding: 0.75em 1em; - } - - input[type="checkbox"], - input[type="radio"], { - @include vendor('appearance', 'none'); - display: block; - float: left; - margin-right: -2em; - opacity: 0; - width: 1em; - z-index: -1; - - & + label { - @include icon; - color: _palette(fg); - cursor: pointer; - display: inline-block; - font-size: 1em; - font-weight: _font(weight); - padding-left: (_size(element-height) * 0.6) + 0.75em; - padding-right: 0.75em; - position: relative; - - &:before { - background: _palette(border-bg); - border-radius: _size(border-radius); - border: solid 1px _palette(border); - content: ''; - display: inline-block; - height: (_size(element-height) * 0.6); - left: 0; - line-height: (_size(element-height) * 0.575); - position: absolute; - text-align: center; - top: 0; - width: (_size(element-height) * 0.6); - } - } - - &:checked + label { - &:before { - background: _palette(dark, bg); - border-color: _palette(dark, bg); - color: _palette(dark, fg-bold); - content: '\f00c'; - } - } - - &:focus + label { - &:before { - border-color: _palette(accent3); - } - } - } - - input[type="checkbox"] { - & + label { - &:before { - border-radius: _size(border-radius); - } - } - } - - input[type="radio"] { - & + label { - &:before { - border-radius: 100%; - } - } - } - - ::-webkit-input-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; - } - - :-moz-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; - } - - ::-moz-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; - } - - :-ms-input-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; - } - - .formerize-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; - } - -/* Box */ - - .box { - border-radius: _size(border-radius); - border: solid 1px _palette(border); - margin-bottom: _size(element-margin); - padding: 1.5em; - - > :last-child, - > :last-child > :last-child, - > :last-child > :last-child > :last-child { - margin-bottom: 0; - } - - &.alt { - border: 0; - border-radius: 0; - padding: 0; - } - } - -/* Icon */ - - .icon { - @include icon; - border-bottom: none; - position: relative; - - > .label { - display: none; - } - - &.style1 { &:before { color: _palette(accent1); } } - &.style2 { &:before { color: _palette(accent2); } } - &.style3 { &:before { color: _palette(accent3); } } - &.style4 { &:before { color: _palette(accent4); } } - &.style5 { &:before { color: _palette(accent5); } } - &.style6 { &:before { color: _palette(accent6); } } - - &.major { - @include icon; - color: _palette(fg-bold); - cursor: default; - display: inline-block; - margin: 0 0 (_size(element-margin) * 0.75) 0; - - &:before { - font-size: 4em; - line-height: 1em; - } - } - } - -/* Image */ - - .image { - border-radius: _size(border-radius); - border: 0; - display: inline-block; - position: relative; - - img { - border-radius: _size(border-radius); - display: block; - } - - &.left { - float: left; - padding: 0 1.5em 1em 0; - top: 0.25em; - } - - &.right { - float: right; - padding: 0 0 1em 1.5em; - top: 0.25em; - } - - &.left, - &.right { - max-width: 40%; - - img { - width: 100%; - } - } - - &.fit { - display: block; - margin: 0 0 _size(element-margin) 0; - width: 100%; - - img { - width: 100%; - } - } - } - -/* List */ - - ol { - list-style: decimal; - margin: 0 0 _size(element-margin) 0; - padding-left: 1.25em; - - li { - padding-left: 0.25em; - } - } - - ul { - list-style: disc; - margin: 0 0 _size(element-margin) 0; - padding-left: 1em; - - li { - padding-left: 0.5em; - } - - &.alt { - list-style: none; - padding-left: 0; - - li { - border-top: solid 1px _palette(border); - padding: 0.5em 0; - - &:first-child { - border-top: 0; - padding-top: 0; - } - } - } - - &.icons { - cursor: default; - list-style: none; - padding-left: 0; - - li { - display: inline-block; - padding: 0 1.25em 0 0; - - &:last-child { - padding-right: 0; - } - - .icon { - &:before { - font-size: 1.5em; - } - } - } - } - - &.major-icons { - list-style: none; - padding-left: 0; - - li { - display: inline-block; - padding: 2.5em; - text-align: center; - - .icon { - @include vendor('transform', 'rotate(45deg)'); - border-radius: _size(border-radius); - border: solid 1px _palette(border); - display: inline-block; - height: 8em; - line-height: 8em; - margin: 0; - text-align: center; - width: 8em; - - &:before { - @include vendor('transform', 'rotate(-45deg)'); - display: inline-block; - line-height: inherit; - } - } - } - } - - &.actions { - cursor: default; - list-style: none; - padding-left: 0; - - li { - display: inline-block; - padding: 0 (_size(element-margin) * 0.5) 0 0; - vertical-align: middle; - - &:last-child { - padding-right: 0; - } - } - - &.small { - li { - padding: 0 (_size(element-margin) * 0.25) 0 0; - } - } - - &.vertical { - li { - display: block; - padding: (_size(element-margin) * 0.5) 0 0 0; - - &:first-child { - padding-top: 0; - } - - > * { - margin-bottom: 0; - } - } - - &.small { - li { - padding: (_size(element-margin) * 0.25) 0 0 0; - - &:first-child { - padding-top: 0; - } - } - } - } - - &.uniform { - li { - > * { - min-width: 12em; - } - } - } - - &.fit { - display: table; - margin-left: (_size(element-margin) * -0.5); - padding: 0; - table-layout: fixed; - width: calc(100% + #{(_size(element-margin) * 0.5)}); - - li { - display: table-cell; - padding: 0 0 0 (_size(element-margin) * 0.5); - - > * { - margin-bottom: 0; - } - } - - &.small { - margin-left: (_size(element-margin) * -0.25); - width: calc(100% + #{(_size(element-margin) * 0.25)}); - - li { - padding: 0 0 0 (_size(element-margin) * 0.25); - } - } - } - } - } - - dl { - margin: 0 0 _size(element-margin) 0; - } - -/* Table */ - - .table-wrapper { - -webkit-overflow-scrolling: touch; - overflow-x: auto; - } - - table { - margin: 0 0 _size(element-margin) 0; - width: 100%; - - tbody { - tr { - border-left: 0; - border-right: 0; - - &:nth-child(2n + 1) { - background-color: _palette(border-bg); - } - } - } - - td { - padding: 0.75em 0.75em; - } - - th { - color: _palette(fg-bold); - font-size: 0.9em; - font-weight: _font(weight-bold); - padding: 0 0.75em 0.75em 0.75em; - text-align: left; - } - - thead { - border-bottom: solid 1px _palette(border); - } - - tfoot { - border-top: solid 1px _palette(border); - } - - &.alt { - border-collapse: separate; - - tbody { - tr { - td { - border: solid 1px _palette(border); - border-left-width: 0; - border-top-width: 0; - - &:first-child { - border-left-width: 1px; - } - } - - &:first-child { - td { - border-top-width: 1px; - } - } - } - } - - thead { - border-bottom: 0; - } - - tfoot { - border-top: 0; - } - } - } - -/* Button */ - - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - @include vendor('appearance', 'none'); - @include vendor('transition', ('background-color #{_duration(transition)} ease-in-out', 'color #{_duration(transition)} ease-in-out')); - background-color: transparent; - border-radius: _size(border-radius); - border: 0; - box-shadow: inset 0 0 0 1px _palette(border); - color: _palette(fg-bold) !important; - cursor: pointer; - display: inline-block; - font-size: 0.9em; - font-weight: _font(weight-bold); - height: 2.75em; - letter-spacing: 0.125em; - line-height: 2.75em; - padding: 0 2em; - text-align: center; - text-decoration: none; - text-indent: 0.125em; - text-transform: uppercase; - white-space: nowrap; - - &:hover { - background-color: _palette(border-bg); - } - - &:active { - background-color: _palette(border2-bg); - } - - &.icon { - padding-left: 1.35em; - - &:before { - margin-right: 0.5em; - } - } - - &.fit { - display: block; - margin: 0 0 (_size(element-margin) * 0.5) 0; - width: 100%; - } - - &.small { - font-size: 0.7em; - } - - &.big { - font-size: 1.25em; - } - - &.special { - background-color: _palette(fg-bold); - box-shadow: none !important; - color: _palette(bg) !important; - - &:hover { - background-color: lighten(_palette(fg-bold), 5); - } - - &:active { - background-color: darken(_palette(fg-bold), 5); - } - } - - &.disabled, - &:disabled { - cursor: default; - opacity: 0.25; - } - } - -// Dark (mixin) - - @mixin dark($color-this-bg: _palette(dark, bg)) { - background-color: $color-this-bg; - color: _palette(dark, fg); - - a { - border-bottom-color: transparentize(_palette(dark, fg), 0.25); - - &:hover { - color: _palette(dark, fg-bold); - } - } - - h1, h2, h3, h4, h5, h6, strong, b { - color: _palette(dark, fg-bold); - } - - header { - p { - color: _palette(dark, fg-bold); - } - - &.major { - &:after { - background: _palette(dark, border); - } - } - } - - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - box-shadow: inset 0 0 0 1px _palette(dark, border); - color: _palette(dark, fg-bold) !important; - - &:hover { - background-color: _palette(dark, border-bg); - } - - &:active { - background-color: _palette(dark, border2-bg); - } - - &.special { - background-color: _palette(dark, fg-bold); - box-shadow: inset 0 0 0 1px _palette(dark, border) !important; - color: $color-this-bg !important; - - &:hover { - background-color: _palette(dark, border-bg) !important; - color: _palette(dark, fg-bold) !important; - } - - &:active { - background-color: _palette(dark, border2-bg) !important; - } - } - } - - ul { - &.major-icons { - li { - .icon { - border-color: _palette(dark, border); - } - } - } - } - - .icon { - &.major { - color: _palette(dark, fg-bold); - } - } - } - -/* Main */ - - .main { - @include padding(6em, 0); - - &.style1 { - background: _palette(bg); - } - - &.style2 { - @include dark(#333); - background-attachment: fixed, fixed; - background-image: url('images/overlay1.png'), url('../../images/header.jpg'); - background-size: auto, cover; - } - } - -/* Header */ - - #header { - @include padding(9em, 0, (0,0,_size(element-margin),0)); - @include dark(#4686a0); - background-attachment: fixed, fixed, fixed; - background-image: url('images/overlay2.png'), url('images/overlay3.svg'), linear-gradient(45deg, _palette(accent1-alt) 5%, _palette(accent3-alt) 30%, _palette(accent6-alt)); - background-position: top left, center center, center center; - background-size: auto, cover, cover; - overflow: hidden; - position: relative; - text-align: center; - - h1 { - margin: 0; - } - - p { - margin: (_size(element-margin) * 0.5) 0 0 0; - } - - .actions { - margin: (_size(element-margin) * 1.25) 0 0 0; - position: relative; - - &:after { - background: _palette(dark, border); - content: ''; - height: 100vh; - left: 50%; - position: absolute; - top: 100%; - width: 1px; - } - } - - .inner { - @include vendor('transition', ('transform 1.5s ease', 'opacity 2s ease')); - @include vendor('transition-delay', '0.25s'); - @include vendor('transform', 'scale(1)'); - opacity: 1; - position: relative; - z-index: 1; - - .actions { - @include vendor('transition', 'transform 1.25s ease'); - @include vendor('transition-delay', '1s'); - @include vendor('transform', 'translateY(0)'); - opacity: 1; - } - } - - &:after { - @include vendor('transition', 'opacity 1s ease'); - background-image: linear-gradient(45deg, _palette(accent3-alt), _palette(accent6-alt)); - content: ''; - height: 100%; - left: 0; - opacity: 0; - position: absolute; - top: 0; - width: 100%; - } - } - - body.is-loading { - #header { - .inner { - @include vendor('transform', 'scale(1.05)'); - opacity: 0; - - .actions { - @include vendor('transform', 'translateY(30em)'); - opacity: 0; - } - } - - &:after { - opacity: 1; - } - } - } - -/* Footer */ - - #footer { - @include padding(6em, 0, (0,0,_size(element-margin),0)); - @include dark(#4686a0); - background-attachment: fixed, fixed, fixed; - background-image: url('images/overlay2.png'), url('images/overlay4.svg'), linear-gradient(45deg, _palette(accent6-alt), _palette(accent3-alt) 50%, _palette(accent1-alt) 95%); - background-position: top left, center center, center center; - background-size: auto, cover, cover; - text-align: center; - - .icons { - margin: 0; - } - - .copyright { - font-size: 0.8em; - list-style: none; - margin: _size(element-margin) 0 0 0; - padding: 0; - - li { - border-left: solid 1px; - display: inline-block; - line-height: 1em; - margin-left: 1em; - padding: 0 0 0 1em; - - &:first-child { - border-left: 0; - margin-left: 0; - padding: 0; - } - } - } - } - -/* XLarge */ - - @include breakpoint(xlarge) { - - /* Basic */ - - body, input, select, textarea { - font-size: 14pt; - } - - /* Header */ - - #header { - @include padding(6em, 0, (0,0,_size(element-margin),0)); - } - - } - -/* Large */ - - @include breakpoint(large) { - - /* Basic */ - - body, input, select, textarea { - font-size: 13pt; - } - - h1, h2, h3, h4, h5, h6 { - br { - display: none; - } - } - - /* List */ - - ul { - &.major-icons { - li { - padding: 2em; - - .icon { - height: 8em; - line-height: 8em; - width: 8em; - } - } - } - } - - /* Main */ - - .main { - @include padding(4em, 0); - - &.style2 { - background-attachment: scroll; - } - } - - /* Header */ - - #header { - @include padding(5em, 0, (0,0,_size(element-margin),0)); - background-attachment: scroll; - - br { - display: inline; - } - } - - /* Footer */ - - #footer { - @include padding(4em, 0, (0,0,_size(element-margin),0)); - background-attachment: scroll; - } - - } - -/* Medium */ - - @include breakpoint(medium) { - - /* List */ - - ul { - &.major-icons { - li { - padding: 2em; - - .icon { - height: 7em; - line-height: 7em; - width: 7em; - } - } - } - } - - /* Main */ - - .main { - @include padding(5em, 3em); - } - - /* Header */ - - #header { - @include padding(8em, 3em, (0,0,_size(element-margin),0)); - } - - /* Footer */ - - #footer { - @include padding(5em, 3em, (0,0,_size(element-margin),0)); - } - - /* One */ - - #one { - text-align: center; - } - - /* Two */ - - #two { - text-align: center; - } - - } - -/* Small */ - - @include breakpoint(small) { - - /* Basic */ - - body, input, select, textarea { - font-size: 12pt; - } - - h1 { - font-size: 1.75em; - } - - h2 { - font-size: 1.5em; - } - - h3 { - font-size: 1.1em; - } - - h4 { - font-size: 1em; - } - - /* List */ - - ul { - &.major-icons { - li { - padding: 1.5em; - - .icon { - height: 5em; - line-height: 5em; - width: 5em; - - &:before { - font-size: 42px; - } - } - } - } - } - - /* Icon */ - - .icon { - &.major { - margin: 0 0 (_size(element-margin) * 0.5) 0; - } - } - - /* Button */ - - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - height: 3em; - line-height: 3em; - } - - /* Main */ - - .main { - @include padding(3em, 1.5em); - } - - /* Header */ - - #header { - @include padding(4em, 3em, (0,0,_size(element-margin),0)); - - .actions { - margin: _size(element-margin) 0 0 0; - } - } - - /* Footer */ - - #footer { - @include padding(3em, 1.5em, (0,0,_size(element-margin),0)); - } - - } - -/* XSmall */ - - @include breakpoint(xsmall) { - - /* List */ - - ul { - &.actions { - margin: 0 0 _size(element-margin) 0; - - li { - display: block; - padding: (_size(element-margin) * 0.5) 0 0 0; - text-align: center; - width: 100%; - - &:first-child { - padding-top: 0; - } - - > * { - margin: 0 !important; - width: 100%; - - &.icon { - &:before { - margin-left: -2em; - } - } - } - } - - &.small { - li { - padding: (_size(element-margin) * 0.25) 0 0 0; - - &:first-child { - padding-top: 0; - } - } - } - } - } - - /* Button */ - - input[type="submit"], - input[type="reset"], - input[type="button"], - .button { - padding: 0; - } - - /* Main */ - - .main { - @include padding(2em, 1.5em); - } - - /* Header */ - - #header { - @include padding(4em, 2em, (0,0,_size(element-margin),0)); - - br { - display: none; - } - } - - /* Footer */ - - #footer { - @include padding(2em, 1.5em, (0,0,_size(element-margin),0)); - - .copyright { - margin: (_size(element-margin) * 0.75) 0 0 0; - - li { - border: 0; - display: block; - margin: 1em 0 0 0; - padding: 0; - - &:first-child { - margin-top: 0; - } - } - } - } - - } - -/* XXSmall */ - - @include breakpoint(xxsmall) { - - /* Basic */ - - html, body { - min-width: 320px; - } - - /* Main */ - - .main { - @include padding(2em, 1em); - } - - /* Header */ - - #header { - @include padding(3em, 1em, (0,0,_size(element-margin),0)); - } - - /* Footer */ - - #footer { - @include padding(2em, 1em, (0,0,_size(element-margin),0)); - } - - } \ No newline at end of file +@import 'libs/vars'; +@import 'libs/functions'; +@import 'libs/mixins'; +@import 'libs/skel'; +@import 'font-awesome.min.css'; +@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i'); + +/* + Story by HTML5 UP + html5up.net | @ajlkn + Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +*/ + + @include skel-breakpoints(( + xlarge: '(max-width: 1680px)', + large: '(max-width: 1280px)', + medium: '(max-width: 980px)', + small: '(max-width: 736px)', + xsmall: '(max-width: 480px)', + xxsmall: '(max-width: 360px)' + )); + + @include skel-layout(( + reset: 'full', + boxModel: 'border', + grid: ( gutters: 2rem ) + )); + + @mixin color($p) { + @include color-typography($p); + @include color-box($p); + @include color-button($p); + @include color-form($p); + @include color-icon($p); + @include color-list($p); + @include color-section($p); + @include color-table($p); + @include color-banner($p); + @include color-spotlight($p); + @include color-gallery($p); + @include color-items($p); + @include color-index($p); + } + + @mixin phone($image-width) { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + border-radius: 0; + border: solid _size(border-width); + + img { + @include vendor('object-fit', 'cover'); + @include vendor('object-position', 'center'); + display: block; + width: 100%; + height: 100%; + border-radius: 0; + } + + &:before { + content: ''; + display: block; + background-position: center; + background-repeat: no-repeat; + border: solid _size(border-width); + border-bottom: 0; + } + + &:after { + content: ''; + display: block; + background-position: center; + background-repeat: no-repeat; + border: solid _size(border-width); + border-top: 0; + } + + @include resize-phone($image-width, 1); + } + + @mixin resize-phone($image-width, $image-factor) { + $image-pad-top: 2.5rem; + $image-pad-bottom: 3rem; + $image-height: ($image-width * (1920 / 1080)); + + width: ($image-width * $image-factor); + height: (($image-width * $image-factor) * (1920 / 1080)); + margin-top: ($image-pad-top * $image-factor); + margin-bottom: (_size(element-margin) + ($image-pad-bottom * $image-factor)); + + &:before { + height: ($image-pad-top * $image-factor); + background-size: (64px * $image-factor) (32px * $image-factor); + margin-top: (($image-pad-top * $image-factor) * -1); + border-radius: (1rem * $image-factor) (1rem * $image-factor) 0 0; + } + + &:after { + height: ($image-pad-bottom * $image-factor); + background-size: (64px * $image-factor) (32px * $image-factor); + margin-bottom: (($image-pad-bottom * $image-factor) * -1); + border-radius: 0 0 (1rem * $image-factor) (1rem * $image-factor); + } + } + + @mixin color-phone($p) { + border-color: _palette($p, border); + background-color: _palette($p, border); + + @if ($p != 'invert') { + border-width: 0; + } + @else { + border-width: _size(border-width); + } + + &:before { + background-image: svg-url(''); + border-color: _palette($p, border); + + @if ($p == 'invert') { + width: calc(100% + #{_size(border-width) * 2}); + margin-left: (_size(border-width) * -1); + } + @else { + width: 100%; + } + } + + &:after { + background-image: svg-url(''); + border-color: _palette($p, border); + + @if ($p == 'invert') { + width: calc(100% + #{_size(border-width) * 2}); + margin-left: (_size(border-width) * -1); + } + @else { + width: 100%; + } + } + } + + @mixin color-phone-variant($v, $p) { + @if ($v == 'android') { + &:after { + background-image: svg-url(''); + } + } + @else if ($p == 'iphone') { + // ... + } + } + +// Base. + + @import 'base/page'; + @import 'base/typography'; + +// Component. + + @import 'components/box'; + @import 'components/button'; + @import 'components/form'; + @import 'components/icon'; + @import 'components/image'; + @import 'components/list'; + @import 'components/section'; + @import 'components/table'; + @import 'components/banner'; + @import 'components/spotlight'; + @import 'components/gallery'; + @import 'components/wrapper'; + @import 'components/items'; + @import 'components/index'; + +// Layout. + + @import 'layout/wrapper'; \ No newline at end of file diff --git a/images/banner.jpg b/images/banner.jpg new file mode 100644 index 0000000..064b5cf Binary files /dev/null and b/images/banner.jpg differ diff --git a/images/gallery/fulls/01.jpg b/images/gallery/fulls/01.jpg new file mode 100644 index 0000000..eef785c Binary files /dev/null and b/images/gallery/fulls/01.jpg differ diff --git a/images/gallery/fulls/02.jpg b/images/gallery/fulls/02.jpg new file mode 100644 index 0000000..ece17be Binary files /dev/null and b/images/gallery/fulls/02.jpg differ diff --git a/images/gallery/fulls/03.jpg b/images/gallery/fulls/03.jpg new file mode 100644 index 0000000..2f87cf2 Binary files /dev/null and b/images/gallery/fulls/03.jpg differ diff --git a/images/gallery/fulls/04.jpg b/images/gallery/fulls/04.jpg new file mode 100644 index 0000000..3265bac Binary files /dev/null and b/images/gallery/fulls/04.jpg differ diff --git a/images/gallery/fulls/05.jpg b/images/gallery/fulls/05.jpg new file mode 100644 index 0000000..ba9ff6e Binary files /dev/null and b/images/gallery/fulls/05.jpg differ diff --git a/images/gallery/fulls/06.jpg b/images/gallery/fulls/06.jpg new file mode 100644 index 0000000..0a72acd Binary files /dev/null and b/images/gallery/fulls/06.jpg differ diff --git a/images/gallery/fulls/07.jpg b/images/gallery/fulls/07.jpg new file mode 100644 index 0000000..39ca1b2 Binary files /dev/null and b/images/gallery/fulls/07.jpg differ diff --git a/images/gallery/fulls/08.jpg b/images/gallery/fulls/08.jpg new file mode 100644 index 0000000..4fd6a16 Binary files /dev/null and b/images/gallery/fulls/08.jpg differ diff --git a/images/gallery/fulls/09.jpg b/images/gallery/fulls/09.jpg new file mode 100644 index 0000000..0ac6c6c Binary files /dev/null and b/images/gallery/fulls/09.jpg differ diff --git a/images/gallery/fulls/10.jpg b/images/gallery/fulls/10.jpg new file mode 100644 index 0000000..0c5aef0 Binary files /dev/null and b/images/gallery/fulls/10.jpg differ diff --git a/images/gallery/fulls/11.jpg b/images/gallery/fulls/11.jpg new file mode 100644 index 0000000..8d4f404 Binary files /dev/null and b/images/gallery/fulls/11.jpg differ diff --git a/images/gallery/fulls/12.jpg b/images/gallery/fulls/12.jpg new file mode 100644 index 0000000..6c856ba Binary files /dev/null and b/images/gallery/fulls/12.jpg differ diff --git a/images/gallery/thumbs/01.jpg b/images/gallery/thumbs/01.jpg new file mode 100644 index 0000000..9b3c24c Binary files /dev/null and b/images/gallery/thumbs/01.jpg differ diff --git a/images/gallery/thumbs/02.jpg b/images/gallery/thumbs/02.jpg new file mode 100644 index 0000000..4984cbf Binary files /dev/null and b/images/gallery/thumbs/02.jpg differ diff --git a/images/gallery/thumbs/03.jpg b/images/gallery/thumbs/03.jpg new file mode 100644 index 0000000..44c6517 Binary files /dev/null and b/images/gallery/thumbs/03.jpg differ diff --git a/images/gallery/thumbs/04.jpg b/images/gallery/thumbs/04.jpg new file mode 100644 index 0000000..3233b5d Binary files /dev/null and b/images/gallery/thumbs/04.jpg differ diff --git a/images/gallery/thumbs/05.jpg b/images/gallery/thumbs/05.jpg new file mode 100644 index 0000000..58be398 Binary files /dev/null and b/images/gallery/thumbs/05.jpg differ diff --git a/images/gallery/thumbs/06.jpg b/images/gallery/thumbs/06.jpg new file mode 100644 index 0000000..a79d0d0 Binary files /dev/null and b/images/gallery/thumbs/06.jpg differ diff --git a/images/gallery/thumbs/07.jpg b/images/gallery/thumbs/07.jpg new file mode 100644 index 0000000..9ca921b Binary files /dev/null and b/images/gallery/thumbs/07.jpg differ diff --git a/images/gallery/thumbs/08.jpg b/images/gallery/thumbs/08.jpg new file mode 100644 index 0000000..5328ca5 Binary files /dev/null and b/images/gallery/thumbs/08.jpg differ diff --git a/images/gallery/thumbs/09.jpg b/images/gallery/thumbs/09.jpg new file mode 100644 index 0000000..e65647d Binary files /dev/null and b/images/gallery/thumbs/09.jpg differ diff --git a/images/gallery/thumbs/10.jpg b/images/gallery/thumbs/10.jpg new file mode 100644 index 0000000..f0b1abd Binary files /dev/null and b/images/gallery/thumbs/10.jpg differ diff --git a/images/gallery/thumbs/11.jpg b/images/gallery/thumbs/11.jpg new file mode 100644 index 0000000..c67cef9 Binary files /dev/null and b/images/gallery/thumbs/11.jpg differ diff --git a/images/gallery/thumbs/12.jpg b/images/gallery/thumbs/12.jpg new file mode 100644 index 0000000..a63d9dc Binary files /dev/null and b/images/gallery/thumbs/12.jpg differ diff --git a/images/header.jpg b/images/header.jpg deleted file mode 100644 index e84417a..0000000 Binary files a/images/header.jpg and /dev/null differ diff --git a/images/pic01.jpg b/images/pic01.jpg index afbdfe4..707f35d 100644 Binary files a/images/pic01.jpg and b/images/pic01.jpg differ diff --git a/images/pic02.jpg b/images/pic02.jpg index 6741495..c4bc313 100644 Binary files a/images/pic02.jpg and b/images/pic02.jpg differ diff --git a/images/pic03.jpg b/images/pic03.jpg index 5b4de55..30464bb 100644 Binary files a/images/pic03.jpg and b/images/pic03.jpg differ diff --git a/images/pic04.jpg b/images/pic04.jpg deleted file mode 100644 index 1f6eb1c..0000000 Binary files a/images/pic04.jpg and /dev/null differ diff --git a/images/pic05.jpg b/images/pic05.jpg deleted file mode 100644 index 077a610..0000000 Binary files a/images/pic05.jpg and /dev/null differ diff --git a/images/pic06.jpg b/images/pic06.jpg deleted file mode 100644 index a4c22e1..0000000 Binary files a/images/pic06.jpg and /dev/null differ diff --git a/images/sax.jpg b/images/sax.jpg new file mode 100644 index 0000000..2886054 Binary files /dev/null and b/images/sax.jpg differ diff --git a/images/spotlight01.jpg b/images/spotlight01.jpg new file mode 100644 index 0000000..cb80775 Binary files /dev/null and b/images/spotlight01.jpg differ diff --git a/images/spotlight02.jpg b/images/spotlight02.jpg new file mode 100644 index 0000000..d36bdc8 Binary files /dev/null and b/images/spotlight02.jpg differ diff --git a/images/spotlight03.jpg b/images/spotlight03.jpg new file mode 100644 index 0000000..73a5bf5 Binary files /dev/null and b/images/spotlight03.jpg differ diff --git a/index-demo.html b/index-demo.html new file mode 100644 index 0000000..fa59a9d --- /dev/null +++ b/index-demo.html @@ -0,0 +1,2829 @@ + + + + + Story by HTML5 UP + + + + + + + +
+ + + + + +
+
+

Spotlight

+

This is a Spotlight element, and it's generally used – as its name implies – to spotlight a particular feature, subject, or pretty much whatever. You can customize its appearance with a number of modifiers, as well as assign it an optional onload or onscroll transition modifier (details).

+ +
+
+ +
+
+ + +
+
+

Spotlight

+

This is also a Spotlight element, and it's here because this demo would look a bit empty with just one spotlight. Like all spotlights, you can customize its appearance with a number of modifiers, as well as assign it an optional onload or onscroll transition modifier (details).

+ +
+
+ +
+
+ + +
+
+

Spotlight

+

And yes, this is another Spotlight element, and it's also here because I need to fill a bit of space. Naturally, like any other spotlight, you can customize its appearance with a number of modifiers, as well as assign it an optional onload or onscroll transition modifier (details).

+ +
+
+ +
+
+ + +
+
+

Gallery

+

This is a Gallery element. It can behave as a lightbox (when given the lightbox class), and you can customize its appearance with a number of modifiers, as well as assign it an optional onload or onscroll transition modifier (details).

+
+ + + + +
+ + +
+
+

Items

+

This is an Items element, and it's basically just a grid for organizing items of various types. You can customize its appearance with a number of modifiers, as well as assign it an optional onload or onscroll transition modifier (details).

+
+
+ +

One

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Two

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Three

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Four

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Five

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Six

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Seven

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Eight

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Nine

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Ten

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Eleven

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Twelve

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+
+
+ + +
+
+

Additional Elements

+

Finally, here are some additional elements you might find useful (and yup, they look fine with any appearance).

+
+ + +
+
+

Text

+
+
+ +

This is bold and this is strong. This is italic and this is emphasized. + This is superscript text and this is subscript text. + This is underlined and this is code: for (;;) { ... }. + Finally, this is a link.

+ +
+
+ + +
+
+

Headings

+
+
+ +

Heading Level 1

+

Heading Level 2

+

Heading Level 3

+

Heading Level 4

+
Heading Level 5
+
Heading Level 6
+ +
+ +
+

Heading with a Subtitle

+

Lorem ipsum dolor sit amet nullam id egestas urna aliquam

+
+

Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.

+ +
+ +
+

Heading with a Subtitle

+

Lorem ipsum dolor sit amet nullam id egestas urna aliquam

+
+

Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.

+ +
+ +
+

Heading with a Subtitle

+

Lorem ipsum dolor sit amet nullam id egestas urna aliquam

+
+

Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.

+ +
+
+ + +
+
+

Unordered List

+
+
+ +

Default

+
    +
  • Lorem ipsum dolor sit amet
  • +
  • Interdum adipiscing gravida odio
  • +
  • Porttitor sem non integer
  • +
  • Non faucibus ornare mi ut ante
  • +
  • Sagittis adipiscing eleifend
  • +
  • Felis amet dolore viverra
  • +
+ +

Alternate

+
    +
  • Lorem ipsum dolor sit amet
  • +
  • Interdum adipiscing gravida odio
  • +
  • Porttitor sem non integer
  • +
  • Non faucibus ornare mi ut ante
  • +
  • Sagittis adipiscing eleifend
  • +
  • Felis amet dolore viverra
  • +
+ +
+
+ + +
+
+

Ordered List

+
+
+ +
    +
  1. Lorem ipsum dolor sit amet
  2. +
  3. Interdum adipiscing gravida odio
  4. +
  5. Porttitor sem non integer
  6. +
  7. Non faucibus ornare mi ut ante
  8. +
  9. Sagittis adipiscing eleifend
  10. +
  11. Felis amet dolore viverra
  12. +
+ +
+
+ + +
+
+

Definition List

+
+
+ +
+
Interdum adipiscing odio
+
+

Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent fringilla quis tincidunt felis sagittis eget tempus euismod. Ante ipsum primis vestibulum.

+
+
Non faucibus ornare mi ut ante
+
+

Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent fringilla quis tincidunt felis sagittis eget tempus euismod. Ante ipsum primis vestibulum.

+
+
Felis amet dolore viverra
+
+

Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent fringilla quis tincidunt felis sagittis eget tempus euismod. Ante ipsum primis vestibulum.

+
+
+ +
+
+ + +
+
+

Blockquote

+
+
+ +
Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent fringilla quis tincidunt felis sagittis eget tempus euismod. Ante ipsum primis vestibulum.
+ +
+
+ + +
+
+

Code

+
+
+ +
i = 0;
+
+while (!deck.isInOrder()) {
+    print 'Iteration ' + i;
+    deck.shuffle();
+    i++;
+}
+
+print 'It took ' + i + ' iterations to sort the deck.';
+
+ +
+
+ + +
+
+

Icons

+
+
+ +

Style #1

+ + +

Style #2

+ + +
+
+ + +
+
+

Buttons

+
+
+ + + + + + +
    +
  • Special
  • +
  • Default
  • +
+ +
+
+ + +
+
+

Actions

+
+
+ +

Default

+ + +

Small

+ + +

Vertical

+ + +

Vertical + Small

+ + +

Vertical + Fit

+ + +

Vertical + Small + Fit

+ + +
+
+ + +
+
+

Form

+
+
+ +
+
+ + +
+
+ + +
+
+ +
+ +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
    +
  • +
+
+ +
+
+ + +
+
+

Table

+
+
+ +

Default

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDescriptionPrice
Item 1Ante turpis integer aliquet porttitor.29.99
Item 2Vis ac commodo adipiscing arcu aliquet.19.99
Item 3 Morbi faucibus arcu accumsan lorem.29.99
Item 4Vitae integer tempus condimentum.19.99
Item 5Ante turpis integer aliquet porttitor.29.99
100.00
+
+ +

Alternate

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDescriptionPrice
Item 1Ante turpis integer aliquet porttitor.29.99
Item 2Vis ac commodo adipiscing arcu aliquet.19.99
Item 3 Morbi faucibus arcu accumsan lorem.29.99
Item 4Vitae integer tempus condimentum.19.99
Item 5Ante turpis integer aliquet porttitor.29.99
100.00
+
+ +
+
+ + +
+
+

Images

+
+
+ +

Fit

+ + +

Left

+

Lorem ipsum dolor sit accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Vestibulum ante ipsum primis in faucibus magna blandit adipiscing eu felis iaculis volutpat lorem ipsum dolor sit amet dolor consequat.

+ +

Right

+

Lorem ipsum dolor sit accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Vestibulum ante ipsum primis in faucibus magna blandit adipiscing eu felis iaculis volutpat lorem ipsum dolor sit amet dolor consequat.

+ +
+
+ + +
+
+

Box

+
+
+ +
+

Felis sagittis eget tempus primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Magna sed etiam ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus lorem ipsum dolor sit amet nullam.

+
+ +
+
+ +
+ + +
+
+ + +
+
+

Elements Reference

+

Oh, and this: a handy reference to all the modifiers supported by various elements.

+
+ + +
+
+

Banner

+
+
+ +

HTML

+
<section class="banner style(N) (optional modifiers)">
+  <div class="content">
+    (content)
+  </div>
+  <div class="image">
+    <img src="(image URL)" alt="Alternate text" />
+  </div>
+</section>
+ +
+ + +
+

banner style1

+

A 50/50 vertical split between content and an image. Supports these modifiers:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
fullscreenFills the height of the screen.
orient-leftShows content on the left, image on the right.
orient-rightShows content on the right, image on the left.
content-align-leftLeft-aligns content.
content-align-centerCenter-aligns content.
content-align-rightRight-aligns content.
image-position-leftLeft-positions image.
image-position-centerCenter-positions image.
image-position-rightRight-positions image.
onload-content-fade-upFades content up on page load.
onload-content-fade-downFades content down on page load.
onload-content-fade-leftFades content left on page load.
onload-content-fade-rightFades content right on page load.
onload-content-fade-inFades in content on page load.
onload-image-fade-inFades in image on page load.
onscroll-content-fade-upFades content up on page scroll.
onscroll-content-fade-downFades content down on page scroll.
onscroll-content-fade-leftFades content left on page scroll.
onscroll-content-fade-rightFades content right on page scroll.
onscroll-content-fade-inFades in content on page scroll.
onscroll-image-fade-inFades in image on page scroll.
invertInverts the color scheme.
color1Uses background color #1.
color2Uses background color #2.
color3Uses background color #3.
color4Uses background color #4.
color5Uses background color #5.
color6Uses background color #6.
color7Uses background color #7.
+
+
+ +
+ + +
+

banner style2

+

Boxed-in content set against an image background, and attached to either side of the screen or centered. Supports these modifiers:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
fullscreenFills the height of the screen.
orient-leftAttaches the content box to the left edge of the screen.
orient-centerPlaces the content box in the center of the screen.
orient-rightAttaches the content box to the right edge of the screen.
content-align-leftLeft-aligns content.
content-align-centerCenter-aligns content.
content-align-rightRight-aligns content.
image-position-leftLeft-positions image.
image-position-centerCenter-positions image.
image-position-rightRight-positions image.
onload-content-fade-upFades content up on page load.
onload-content-fade-downFades content down on page load.
onload-content-fade-leftFades content left on page load.
onload-content-fade-rightFades content right on page load.
onload-content-fade-inFades in content on page load.
onload-image-fade-inFades in image on page load.
onscroll-content-fade-upFades content up on page scroll.
onscroll-content-fade-downFades content down on page scroll.
onscroll-content-fade-leftFades content left on page scroll.
onscroll-content-fade-rightFades content right on page scroll.
onscroll-content-fade-inFades in content on page scroll.
onscroll-image-fade-inFades in image on page scroll.
invertInverts the color scheme.
color1Uses background color #1.
color2Uses background color #2.
color3Uses background color #3.
color4Uses background color #4.
color5Uses background color #5.
color6Uses background color #6.
color7Uses background color #7.
+
+
+ +
+ + +
+

banner style3

+

An image within a circular frame placed to the side of content. Supports these modifiers:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
fullscreenFills the height of the screen.
orient-leftPlaces the content on the left, image on the right.
orient-rightPlaces the content on the right, image on the left.
content-align-leftLeft-aligns content.
content-align-centerCenter-aligns content.
content-align-rightRight-aligns content.
image-position-leftLeft-positions image.
image-position-centerCenter-positions image.
image-position-rightRight-positions image.
onload-content-fade-upFades content up on page load.
onload-content-fade-downFades content down on page load.
onload-content-fade-leftFades content left on page load.
onload-content-fade-rightFades content right on page load.
onload-content-fade-inFades in content on page load.
onload-image-fade-upFades image up on page load.
onload-image-fade-downFades image down on page load.
onload-image-fade-leftFades image left on page load.
onload-image-fade-rightFades image right on page load.
onload-image-fade-inFades in image on page load.
onscroll-content-fade-upFades content up on page scroll.
onscroll-content-fade-downFades content down on page scroll.
onscroll-content-fade-leftFades content left on page scroll.
onscroll-content-fade-rightFades content right on page scroll.
onscroll-content-fade-inFades in content on page scroll.
onscroll-image-fade-upFades image up on page scroll.
onscroll-image-fade-downFades image down on page scroll.
onscroll-image-fade-leftFades image left on page scroll.
onscroll-image-fade-rightFades image right on page scroll.
onscroll-image-fade-inFades in image on page scroll.
invertInverts the color scheme.
color1Uses background color #1.
color2Uses background color #2.
color3Uses background color #3.
color4Uses background color #4.
color5Uses background color #5.
color6Uses background color #6.
color7Uses background color #7.
+
+
+ +
+ + +
+

banner style4

+

An image within a phone-shaped frame placed to the side of content. Supports these modifiers:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
fullscreenFills the height of the screen.
iphoneUses iPhone styling for image frame.
androidUses Android styling for image frame.
orient-leftPlaces the content on the left, image on the right.
orient-rightPlaces the content on the right, image on the left.
content-align-leftLeft-aligns content.
content-align-centerCenter-aligns content.
content-align-rightRight-aligns content.
image-position-leftLeft-positions image.
image-position-centerCenter-positions image.
image-position-rightRight-positions image.
onload-content-fade-upFades content up on page load.
onload-content-fade-downFades content down on page load.
onload-content-fade-leftFades content left on page load.
onload-content-fade-rightFades content right on page load.
onload-content-fade-inFades in content on page load.
onload-image-fade-upFades image up on page load.
onload-image-fade-downFades image down on page load.
onload-image-fade-leftFades image left on page load.
onload-image-fade-rightFades image right on page load.
onload-image-fade-inFades in image on page load.
onscroll-content-fade-upFades content up on page scroll.
onscroll-content-fade-downFades content down on page scroll.
onscroll-content-fade-leftFades content left on page scroll.
onscroll-content-fade-rightFades content right on page scroll.
onscroll-content-fade-inFades in content on page scroll.
onscroll-image-fade-upFades image up on page scroll.
onscroll-image-fade-downFades image down on page scroll.
onscroll-image-fade-leftFades image left on page scroll.
onscroll-image-fade-rightFades image right on page scroll.
onscroll-image-fade-inFades in image on page scroll.
invertInverts the color scheme.
color1Uses background color #1.
color2Uses background color #2.
color3Uses background color #3.
color4Uses background color #4.
color5Uses background color #5.
color6Uses background color #6.
color7Uses background color #7.
+
+
+ +
+ + +
+

banner style5

+

Content set directly against an image background. Supports these modifiers:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
fullscreenFills the height of the screen.
content-align-leftLeft-aligns content.
content-align-centerCenter-aligns content.
content-align-rightRight-aligns content.
image-position-leftLeft-positions image.
image-position-centerCenter-positions image.
image-position-rightRight-positions image.
onload-content-fade-upFades content up on page load.
onload-content-fade-downFades content down on page load.
onload-content-fade-leftFades content left on page load.
onload-content-fade-rightFades content right on page load.
onload-content-fade-inFades in content on page load.
onload-image-fade-inFades in image on page load.
onscroll-content-fade-upFades content up on page scroll.
onscroll-content-fade-downFades content down on page scroll.
onscroll-content-fade-leftFades content left on page scroll.
onscroll-content-fade-rightFades content right on page scroll.
onscroll-content-fade-inFades in content on page scroll.
onscroll-image-fade-inFades in image on page scroll.
invertInverts the color scheme.
color1Uses background color #1.
color2Uses background color #2.
color3Uses background color #3.
color4Uses background color #4.
color5Uses background color #5.
color6Uses background color #6.
color7Uses background color #7.
+
+
+ +
+
+ + +
+
+

Spotlight

+
+
+ +

HTML

+
<section class="spotlight style(N) (optional modifiers)">
+  <div class="content">
+    (content)
+  </div>
+  <div class="image">
+    <img src="(image URL)" alt="Alternate text" />
+  </div>
+</section>
+ +
+ + +
+

spotlight style1

+

A 30/70 (or 70/30, depending on orientation) vertical split between content and an image. Supports these modifiers:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
orient-leftShows content on the left, image on the right.
orient-rightShows content on the right, image on the left.
content-align-leftLeft-aligns content.
content-align-centerCenter-aligns content.
content-align-rightRight-aligns content.
image-position-leftLeft-positions image.
image-position-centerCenter-positions image.
image-position-rightRight-positions image.
onload-content-fade-upFades content up on page load.
onload-content-fade-downFades content down on page load.
onload-content-fade-leftFades content left on page load.
onload-content-fade-rightFades content right on page load.
onload-content-fade-inFades in content on page load.
onload-image-fade-inFades in image on page load.
onscroll-content-fade-upFades content up on page scroll.
onscroll-content-fade-downFades content down on page scroll.
onscroll-content-fade-leftFades content left on page scroll.
onscroll-content-fade-rightFades content right on page scroll.
onscroll-content-fade-inFades in content on page scroll.
onscroll-image-fade-inFades in image on page scroll.
invertInverts the color scheme.
color1Uses background color #1.
color2Uses background color #2.
color3Uses background color #3.
color4Uses background color #4.
color5Uses background color #5.
color6Uses background color #6.
color7Uses background color #7.
+
+
+ +
+ + +
+

spotlight style2

+

An image within a circular frame placed to the side of content. Supports these modifiers:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
orient-leftPlaces the content on the left, image on the right.
orient-rightPlaces the content on the right, image on the left.
content-align-leftLeft-aligns content.
content-align-centerCenter-aligns content.
content-align-rightRight-aligns content.
image-position-leftLeft-positions image.
image-position-centerCenter-positions image.
image-position-rightRight-positions image.
onload-content-fade-upFades content up on page load.
onload-content-fade-downFades content down on page load.
onload-content-fade-leftFades content left on page load.
onload-content-fade-rightFades content right on page load.
onload-content-fade-inFades in content on page load.
onload-image-fade-upFades image up on page load.
onload-image-fade-downFades image down on page load.
onload-image-fade-leftFades image left on page load.
onload-image-fade-rightFades image right on page load.
onload-image-fade-inFades in image on page load.
onscroll-content-fade-upFades content up on page scroll.
onscroll-content-fade-downFades content down on page scroll.
onscroll-content-fade-leftFades content left on page scroll.
onscroll-content-fade-rightFades content right on page scroll.
onscroll-content-fade-inFades in content on page scroll.
onscroll-image-fade-upFades image up on page scroll.
onscroll-image-fade-downFades image down on page scroll.
onscroll-image-fade-leftFades image left on page scroll.
onscroll-image-fade-rightFades image right on page scroll.
onscroll-image-fade-inFades in image on page scroll.
invertInverts the color scheme.
color1Uses background color #1.
color2Uses background color #2.
color3Uses background color #3.
color4Uses background color #4.
color5Uses background color #5.
color6Uses background color #6.
color7Uses background color #7.
+
+
+ +
+ + +
+

spotlight style3

+

An image within a phone-shaped frame placed to the side of content. Supports these modifiers:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
orient-leftPlaces the content on the left, image on the right.
orient-rightPlaces the content on the right, image on the left.
content-align-leftLeft-aligns content.
content-align-centerCenter-aligns content.
content-align-rightRight-aligns content.
image-position-leftLeft-positions image.
image-position-centerCenter-positions image.
image-position-rightRight-positions image.
onload-content-fade-upFades content up on page load.
onload-content-fade-downFades content down on page load.
onload-content-fade-leftFades content left on page load.
onload-content-fade-rightFades content right on page load.
onload-content-fade-inFades in content on page load.
onload-image-fade-upFades image up on page load.
onload-image-fade-downFades image down on page load.
onload-image-fade-leftFades image left on page load.
onload-image-fade-rightFades image right on page load.
onload-image-fade-inFades in image on page load.
onscroll-content-fade-upFades content up on page scroll.
onscroll-content-fade-downFades content down on page scroll.
onscroll-content-fade-leftFades content left on page scroll.
onscroll-content-fade-rightFades content right on page scroll.
onscroll-content-fade-inFades in content on page scroll.
onscroll-image-fade-upFades image up on page scroll.
onscroll-image-fade-downFades image down on page scroll.
onscroll-image-fade-leftFades image left on page scroll.
onscroll-image-fade-rightFades image right on page scroll.
onscroll-image-fade-inFades in image on page scroll.
invertInverts the color scheme.
color1Uses background color #1.
color2Uses background color #2.
color3Uses background color #3.
color4Uses background color #4.
color5Uses background color #5.
color6Uses background color #6.
color7Uses background color #7.
+
+
+ +
+ + +
+

spotlight style4

+

Boxed-in content set against an image background, and attached to either side of the screen or centered. Supports these modifiers:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
fullscreenFills the height of the screen.
halfscreenFills half the height of the screen.
orient-leftAttaches the content box to the left edge of the screen.
orient-centerPlaces the content box in the center of the screen.
orient-rightAttaches the content box to the right edge of the screen.
content-align-leftLeft-aligns content.
content-align-centerCenter-aligns content.
content-align-rightRight-aligns content.
image-position-leftLeft-positions image.
image-position-centerCenter-positions image.
image-position-rightRight-positions image.
onload-content-fade-upFades content up on page load.
onload-content-fade-downFades content down on page load.
onload-content-fade-leftFades content left on page load.
onload-content-fade-rightFades content right on page load.
onload-content-fade-inFades in content on page load.
onload-image-fade-inFades in image on page load.
onscroll-content-fade-upFades content up on page scroll.
onscroll-content-fade-downFades content down on page scroll.
onscroll-content-fade-leftFades content left on page scroll.
onscroll-content-fade-rightFades content right on page scroll.
onscroll-content-fade-inFades in content on page scroll.
onscroll-image-fade-inFades in image on page scroll.
invertInverts the color scheme.
color1Uses background color #1.
color2Uses background color #2.
color3Uses background color #3.
color4Uses background color #4.
color5Uses background color #5.
color6Uses background color #6.
color7Uses background color #7.
+
+
+ +
+ + +
+

spotlight style5

+

Boxed-in content set against an image background. Supports these modifiers:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
fullscreenFills the height of the screen.
halfscreenFills half the height of the screen.
orient-leftPlaces the content box on the left of the screen.
orient-centerPlaces the content box in the center of the screen.
orient-rightPlaces the content box on the right side of the screen.
content-align-leftLeft-aligns content.
content-align-centerCenter-aligns content.
content-align-rightRight-aligns content.
image-position-leftLeft-positions image.
image-position-centerCenter-positions image.
image-position-rightRight-positions image.
onload-content-fade-upFades content up on page load.
onload-content-fade-downFades content down on page load.
onload-content-fade-leftFades content left on page load.
onload-content-fade-rightFades content right on page load.
onload-content-fade-inFades in content on page load.
onload-image-fade-inFades in image on page load.
onscroll-content-fade-upFades content up on page scroll.
onscroll-content-fade-downFades content down on page scroll.
onscroll-content-fade-leftFades content left on page scroll.
onscroll-content-fade-rightFades content right on page scroll.
onscroll-content-fade-inFades in content on page scroll.
onscroll-image-fade-inFades in image on page scroll.
invertInverts the color scheme.
color1Uses background color #1.
color2Uses background color #2.
color3Uses background color #3.
color4Uses background color #4.
color5Uses background color #5.
color6Uses background color #6.
color7Uses background color #7.
+
+
+ +
+
+ + + + + +
+
+

Items

+
+
+ +

HTML

+
<div class="items style(N) (size modifier) (optional modifiers)">
+  <section>
+    (content)
+  </section>
+  <section>
+    (content)
+  </section>
+  <section>
+    (content)
+  </section>
+  <section>
+    (content)
+  </section>
+  ...
+</div>
+ +
+ + +
+

items style1

+

A grid of items separated by borders.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
smallUses small items.
mediumUses medium items.
bigUses big items.
onload-fade-inFades in items on page load.
onscroll-fade-inFades in items on page scroll.
+
+
+ +
+ + +
+

items style2

+

An outlined grid of items separated by borders.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
smallUses small items.
mediumUses medium items.
bigUses big items.
onload-fade-inFades in items on page load.
onscroll-fade-inFades in items on page scroll.
+
+
+ +
+ + +
+

items style3

+

A borderless grid of items.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
smallUses small items.
mediumUses medium items.
bigUses big items.
onload-fade-inFades in items on page load.
onscroll-fade-inFades in items on page scroll.
+
+
+ +
+
+ + +
+
+

Wrapper

+
+
+ +

HTML

+
<div class="wrapper (optional modifiers)">
+  (content)
+</div>
+ +

Modifiers

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
invertInverts the color scheme.
color1Uses background color #1.
color2Uses background color #2.
color3Uses background color #3.
color4Uses background color #4.
color5Uses background color #5.
color6Uses background color #6.
color7Uses background color #7.
+
+ +
+
+ +
+ + +
+
+ + + + +
+ + + + + + + + + + + + + + diff --git a/index.html b/index.html index 8503f7c..fd38ea6 100644 --- a/index.html +++ b/index.html @@ -1,471 +1,44 @@ - - Photon by HTML5 UP + Story by HTML5 UP - - - - - +
- -
-
-
-
-
-

Lorem ipsum dolor adipiscing
- amet dolor consequat

-
-

Adipiscing a commodo ante nunc accumsan et interdum mi ante adipiscing. A nunc lobortis non nisl amet vis sed volutpat aclacus nascetur ac non. Lorem curae et ante amet sapien sed tempus adipiscing id accumsan.

-
-
- -
-
-
-
- - -
-
-
-
-
    -
  • -
  • -
  • -
  • -
  • -
  • -
-
-
-
-

Lorem ipsum dolor adipiscing
- amet dolor consequat

-
-

Adipiscing a commodo ante nunc accumsan interdum mi ante adipiscing. A nunc lobortis non nisl amet vis volutpat aclacus nascetur ac non. Lorem curae eu ante amet sapien in tempus ac. Adipiscing id accumsan adipiscing ipsum.

-

Blandit faucibus proin. Ac aliquam integer adipiscing enim non praesent vis commodo nunc phasellus cubilia ac risus accumsan. Accumsan blandit. Lobortis phasellus non lobortis dit varius mi varius accumsan lobortis. Blandit ante aliquam lacinia lorem lobortis semper morbi col faucibus vitae integer placerat accumsan orci eu mi odio tempus adipiscing adipiscing adipiscing curae consequat feugiat etiam dolore.

-

Adipiscing a commodo ante nunc accumsan interdum mi ante adipiscing. A nunc lobortis non nisl amet vis volutpat aclacus nascetur ac non. Lorem curae eu ante amet sapien in tempus ac. Adipiscing id accumsan adipiscing ipsum.

-
-
-
-
- - -
-
-
-

Adipiscing amet consequat

-
-

Ante nunc accumsan et aclacus nascetur ac ante amet sapien sed.

-
-
- -

Magna feugiat lorem

-

Adipiscing a commodo ante nunc magna lorem et interdum mi ante nunc lobortis non amet vis sed volutpat et nascetur.

- -
-
- -

Magna feugiat lorem

-

Adipiscing a commodo ante nunc magna lorem et interdum mi ante nunc lobortis non amet vis sed volutpat et nascetur.

-
    -
  • More
  • +
-
-
- - -
-
-
-

Ipsum feugiat consequat?

-
-

Sed lacus nascetur ac ante amet sapien.

- -
-
- - - - - - - - +
+ - - + - \ No newline at end of file + diff --git a/indexold.html b/indexold.html new file mode 100644 index 0000000..ca94cfd --- /dev/null +++ b/indexold.html @@ -0,0 +1,352 @@ + + + + + Story by HTML5 UP + + + + + + + +
+ + + + + +
+
+

Magna etiam feugiat

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi id ante sed ex pharetra lacinia sit amet vel massa. Donec facilisis laoreet nulla eu bibendum. Donec ut ex risus. Fusce lorem lectus, pharetra pretium massa et, hendrerit vestibulum odio lorem ipsum dolor sit amet.

+ +
+
+ +
+
+ + +
+
+

Tempus adipiscing

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi id ante sed ex pharetra lacinia sit amet vel massa. Donec facilisis laoreet nulla eu bibendum. Donec ut ex risus. Fusce lorem lectus, pharetra pretium massa et, hendrerit vestibulum odio lorem ipsum dolor sit amet.

+ +
+
+ +
+
+ + +
+
+

Pharetra etiam nulla

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi id ante sed ex pharetra lacinia sit amet vel massa. Donec facilisis laoreet nulla eu bibendum. Donec ut ex risus. Fusce lorem lectus, pharetra pretium massa et, hendrerit vestibulum odio lorem ipsum dolor sit amet.

+ +
+
+ +
+
+ + +
+
+

Massa sed condimentum

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi id ante sed ex pharetra lacinia sit amet vel massa. Donec facilisis laoreet nulla eu bibendum. Donec ut ex risus. Fusce lorem lectus, pharetra pretium massa et, hendrerit vestibulum odio lorem ipsum.

+
+ + + + +
+ + +
+
+

Ipsum sed consequat

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi id ante sed ex pharetra lacinia sit amet vel massa. Donec facilisis laoreet nulla eu bibendum. Donec ut ex risus. Fusce lorem lectus, pharetra pretium massa et, hendrerit vestibulum odio lorem ipsum.

+
+
+ +

Lorem

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Ipsum

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Dolor

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Amet

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Magna

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Tempus

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Aliquam

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Elit

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Morbi

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Turpis

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Ultrices

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+ +

Risus

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.

+
+
+
+
+ + +
+
+

Get in touch

+
+
+ + +
+
+ + +
+
+ + +
+
    +
  • +
+
+ +
+
+ + + + +
+ + + + + + + + + + + \ No newline at end of file