├── public ├── images │ ├── cabin.jpg │ ├── palm2.jpg │ ├── palm3.jpg │ ├── pic01.jpg │ ├── pic02.jpg │ ├── pic03.jpg │ ├── pic04.jpg │ ├── pic05.jpg │ ├── pic06.jpg │ ├── pic07.jpg │ ├── pic08.jpg │ ├── banner.jpg │ ├── palm1.jpeg │ ├── mountain1.jpg │ ├── mountain2.jpg │ └── mountain3.jpg ├── img │ └── savage21.jpg ├── style.css ├── assets │ ├── css │ │ ├── images │ │ │ ├── overlay.png │ │ │ ├── ie │ │ │ │ └── banner-overlay.png │ │ │ └── arrow.svg │ │ ├── noscript.css │ │ └── fontawesome-all.min.css │ ├── webfonts │ │ ├── fa-brands-400.eot │ │ ├── fa-brands-400.ttf │ │ ├── fa-solid-900.eot │ │ ├── fa-solid-900.ttf │ │ ├── fa-solid-900.woff │ │ ├── fa-brands-400.woff │ │ ├── fa-brands-400.woff2 │ │ ├── fa-regular-400.eot │ │ ├── fa-regular-400.ttf │ │ ├── fa-regular-400.woff │ │ ├── fa-regular-400.woff2 │ │ └── fa-solid-900.woff2 │ ├── sass │ │ ├── noscript.scss │ │ ├── libs │ │ │ ├── _vars.scss │ │ │ ├── _functions.scss │ │ │ ├── _mixins.scss │ │ │ ├── _html-grid.scss │ │ │ ├── _breakpoints.scss │ │ │ └── _vendor.scss │ │ └── main.scss │ └── js │ │ ├── jquery.scrolly.min.js │ │ ├── browser.min.js │ │ ├── jquery.scrollex.min.js │ │ ├── breakpoints.min.js │ │ ├── jquery.dropotron.min.js │ │ ├── main.js │ │ └── util.js └── main.js ├── config ├── database.js └── passport.js ├── package.json ├── .github └── FUNDING.yml ├── LICENSE ├── views ├── connect-local.ejs ├── login.ejs ├── signup.ejs ├── profile.ejs └── index.ejs ├── app ├── models │ └── user.js └── routes.js ├── server.js └── README.md /public/images/cabin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/cabin.jpg -------------------------------------------------------------------------------- /public/images/palm2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/palm2.jpg -------------------------------------------------------------------------------- /public/images/palm3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/palm3.jpg -------------------------------------------------------------------------------- /public/images/pic01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/pic01.jpg -------------------------------------------------------------------------------- /public/images/pic02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/pic02.jpg -------------------------------------------------------------------------------- /public/images/pic03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/pic03.jpg -------------------------------------------------------------------------------- /public/images/pic04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/pic04.jpg -------------------------------------------------------------------------------- /public/images/pic05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/pic05.jpg -------------------------------------------------------------------------------- /public/images/pic06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/pic06.jpg -------------------------------------------------------------------------------- /public/images/pic07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/pic07.jpg -------------------------------------------------------------------------------- /public/images/pic08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/pic08.jpg -------------------------------------------------------------------------------- /public/img/savage21.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/img/savage21.jpg -------------------------------------------------------------------------------- /public/images/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/banner.jpg -------------------------------------------------------------------------------- /public/images/palm1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/palm1.jpeg -------------------------------------------------------------------------------- /public/images/mountain1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/mountain1.jpg -------------------------------------------------------------------------------- /public/images/mountain2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/mountain2.jpg -------------------------------------------------------------------------------- /public/images/mountain3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/images/mountain3.jpg -------------------------------------------------------------------------------- /public/style.css: -------------------------------------------------------------------------------- 1 | body{ 2 | padding-top:80px; 3 | word-wrap:break-word; 4 | } 5 | img{ 6 | height: 200px; 7 | } 8 | -------------------------------------------------------------------------------- /public/assets/css/images/overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/assets/css/images/overlay.png -------------------------------------------------------------------------------- /public/assets/webfonts/fa-brands-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/assets/webfonts/fa-brands-400.eot -------------------------------------------------------------------------------- /public/assets/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/assets/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /public/assets/webfonts/fa-solid-900.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/assets/webfonts/fa-solid-900.eot -------------------------------------------------------------------------------- /public/assets/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/assets/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /public/assets/webfonts/fa-solid-900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/assets/webfonts/fa-solid-900.woff -------------------------------------------------------------------------------- /public/assets/webfonts/fa-brands-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/assets/webfonts/fa-brands-400.woff -------------------------------------------------------------------------------- /public/assets/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/assets/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /public/assets/webfonts/fa-regular-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/assets/webfonts/fa-regular-400.eot -------------------------------------------------------------------------------- /public/assets/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/assets/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /public/assets/webfonts/fa-regular-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/assets/webfonts/fa-regular-400.woff -------------------------------------------------------------------------------- /public/assets/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/assets/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /public/assets/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/assets/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /public/assets/css/images/ie/banner-overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesCreativeContent/Demo-Day/HEAD/public/assets/css/images/ie/banner-overlay.png -------------------------------------------------------------------------------- /config/database.js: -------------------------------------------------------------------------------- 1 | // config/database.js 2 | module.exports = { 3 | 4 | 'url' : 'mongodb+srv://shawn:shawnpassword@cluster0.ml67f.mongodb.net/demo?retryWrites=true&w=majority', // looks like mongodb://:@mongo.onmodulus.net:27017/Mikha4ot 5 | 'dbName': 'demo' 6 | }; 7 | -------------------------------------------------------------------------------- /public/assets/css/noscript.css: -------------------------------------------------------------------------------- 1 | /* 2 | Landed by HTML5 UP 3 | html5up.net | @ajlkn 4 | Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 5 | */ 6 | 7 | /* Loader */ 8 | 9 | body.landing.is-preload:before { 10 | display: none; 11 | } 12 | 13 | body.landing.is-preload:after { 14 | display: none; 15 | } -------------------------------------------------------------------------------- /public/assets/css/images/arrow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/assets/sass/noscript.scss: -------------------------------------------------------------------------------- 1 | @import 'libs/vars'; 2 | @import 'libs/functions'; 3 | @import 'libs/mixins'; 4 | @import 'libs/vendor'; 5 | @import 'libs/breakpoints'; 6 | @import 'libs/html-grid'; 7 | 8 | /* 9 | Landed by HTML5 UP 10 | html5up.net | @ajlkn 11 | Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 12 | */ 13 | 14 | /* Loader */ 15 | 16 | body.landing { 17 | 18 | &.is-preload { 19 | 20 | // Spinner (active) 21 | 22 | &:before { 23 | display: none; 24 | } 25 | 26 | // Overlay (active) 27 | 28 | &:after { 29 | display: none; 30 | } 31 | 32 | } 33 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-authentication", 3 | "main": "server.js", 4 | "dependencies": { 5 | "bcrypt-nodejs": "latest", 6 | "body-parser": "^1.18.3", 7 | "connect-flash": "~0.1.1", 8 | "cookie-parser": "~1.4.3", 9 | "ejs": "~2.5.2", 10 | "express": "^4.16.4", 11 | "express-session": "^1.15.6", 12 | "lodash": "^4.17.20", 13 | "method-override": "~2.3.6", 14 | "mongodb": "^3.3.4", 15 | "mongoose": ">=5.7.5", 16 | "morgan": "^1.9.1", 17 | "mpath": ">=0.5.1", 18 | "passport": "~0.3.2", 19 | "passport-facebook": "~2.1.1", 20 | "passport-google-oauth": "~1.0.0", 21 | "passport-local": "~1.0.0", 22 | "passport-twitter": "~1.0.4" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: CharlesCreativeContent 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry 13 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 14 | -------------------------------------------------------------------------------- /public/assets/js/jquery.scrolly.min.js: -------------------------------------------------------------------------------- 1 | /* jquery.scrolly v1.0.0-dev | (c) @ajlkn | MIT licensed */ 2 | (function(e){function u(s,o){var u,a,f;if((u=e(s))[t]==0)return n;a=u[i]()[r];switch(o.anchor){case"middle":f=a-(e(window).height()-u.outerHeight())/2;break;default:case r:f=Math.max(a,0)}return typeof o[i]=="function"?f-=o[i]():f-=o[i],f}var t="length",n=null,r="top",i="offset",s="click.scrolly",o=e(window);e.fn.scrolly=function(i){var o,a,f,l,c=e(this);if(this[t]==0)return c;if(this[t]>1){for(o=0;o 2 | 3 | 4 | 21 Savage Fan Site 5 | 6 | 7 | 8 | 9 | 10 |
11 |
12 | 13 |

Add Local Account

14 | 15 | <% if (message.length > 0) { %> 16 |
<%= message %>
17 | <% } %> 18 | 19 | 20 |
21 |
22 | 23 | 24 |
25 |
26 | 27 | 28 |
29 | 30 | 31 |
32 | 33 |
34 | 35 |

Go back to profile

36 | 37 | 38 |
39 |
40 | 41 | 42 | -------------------------------------------------------------------------------- /app/models/user.js: -------------------------------------------------------------------------------- 1 | // load the things we need 2 | var mongoose = require('mongoose'); 3 | var bcrypt = require('bcrypt-nodejs'); 4 | 5 | // define the schema for our user model 6 | var userSchema = mongoose.Schema({ 7 | 8 | local : { 9 | email : String, 10 | password : String 11 | }, 12 | facebook : { 13 | id : String, 14 | token : String, 15 | name : String, 16 | email : String 17 | }, 18 | twitter : { 19 | id : String, 20 | token : String, 21 | displayName : String, 22 | username : String 23 | }, 24 | google : { 25 | id : String, 26 | token : String, 27 | email : String, 28 | name : String 29 | } 30 | 31 | }); 32 | 33 | // generating a hash 34 | userSchema.methods.generateHash = function(password) { 35 | return bcrypt.hashSync(password, bcrypt.genSaltSync(8), null); 36 | }; 37 | 38 | // checking if password is valid 39 | userSchema.methods.validPassword = function(password) { 40 | return bcrypt.compareSync(password, this.local.password); 41 | }; 42 | 43 | // create the model for users and expose it to our app 44 | module.exports = mongoose.model('User', userSchema); 45 | -------------------------------------------------------------------------------- /views/login.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 21 Savage Fan Site 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 | 16 |

Login

17 | 18 | <% if (message.length > 0) { %> 19 |
<%= message %>
20 | <% } %> 21 | 22 | 23 |
24 |
25 | 26 | 27 |
28 |
29 | 30 | 31 |
32 | 33 | 34 |
35 | 36 |
37 | 38 |

Need an account? Signup

39 |

Or go home.

40 | 41 | 42 |
43 |
44 | 45 | 46 | -------------------------------------------------------------------------------- /views/signup.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 21 Savage Fan Site 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 | 16 |

Signup

17 | 18 | <% if (message.length > 0) { %> 19 |
<%= message %>
20 | <% } %> 21 | 22 | 23 |
24 |
25 | 26 | 27 |
28 |
29 | 30 | 31 |
32 | 33 | 34 |
35 | 36 |
37 | 38 |

Already have an account? Login

39 |

Or go home.

40 | 41 |
42 |
43 | 44 | 45 | -------------------------------------------------------------------------------- /public/assets/js/browser.min.js: -------------------------------------------------------------------------------- 1 | /* browser.js v1.0 | @ajlkn | MIT licensed */ 2 | var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["firefox",/Firefox\/([0-9\.]+)/],["bb",/BlackBerry.+Version\/([0-9\.]+)/],["bb",/BB[0-9]+.+Version\/([0-9\.]+)/],["opera",/OPR\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)/],["edge",/Edge\/([0-9\.]+)/],["safari",/Version\/([0-9\.]+).+Safari/],["chrome",/Chrome\/([0-9\.]+)/],["ie",/MSIE ([0-9]+)/],["ie",/Trident\/.+rv:([0-9]+)/]],i=0;i0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser}); 3 | -------------------------------------------------------------------------------- /public/assets/js/jquery.scrollex.min.js: -------------------------------------------------------------------------------- 1 | /* jquery.scrollex v0.2.1 | (c) @ajlkn | github.com/ajlkn/jquery.scrollex | MIT licensed */ 2 | !function(t){function e(t,e,n){return"string"==typeof t&&("%"==t.slice(-1)?t=parseInt(t.substring(0,t.length-1))/100*e:"vh"==t.slice(-2)?t=parseInt(t.substring(0,t.length-2))/100*n:"px"==t.slice(-2)&&(t=parseInt(t.substring(0,t.length-2)))),t}var n=t(window),i=1,o={};n.on("scroll",function(){var e=n.scrollTop();t.map(o,function(t){window.clearTimeout(t.timeoutId),t.timeoutId=window.setTimeout(function(){t.handler(e)},t.options.delay)})}).on("load",function(){n.trigger("scroll")}),jQuery.fn.scrollex=function(l){var s=t(this);if(0==this.length)return s;if(this.length>1){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 length($list) { 17 | @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`."; 18 | } 19 | @else { 20 | 21 | $result: (); 22 | $index: if($index < 0, length($list) + $index + 1, $index); 23 | 24 | @for $i from 1 through length($list) { 25 | 26 | @if $i != $index { 27 | $result: append($result, nth($list, $i)); 28 | } 29 | 30 | } 31 | 32 | } 33 | 34 | @return $result; 35 | 36 | } 37 | 38 | /// Gets a value from a map. 39 | /// @author Hugo Giraudel 40 | /// @param {map} $map Map. 41 | /// @param {string} $keys Key(s). 42 | /// @return {string} Value. 43 | @function val($map, $keys...) { 44 | 45 | @if nth($keys, 1) == null { 46 | $keys: remove-nth($keys, 1); 47 | } 48 | 49 | @each $key in $keys { 50 | $map: map-get($map, $key); 51 | } 52 | 53 | @return $map; 54 | 55 | } 56 | 57 | /// Gets a duration value. 58 | /// @param {string} $keys Key(s). 59 | /// @return {string} Value. 60 | @function _duration($keys...) { 61 | @return val($duration, $keys...); 62 | } 63 | 64 | /// Gets a font value. 65 | /// @param {string} $keys Key(s). 66 | /// @return {string} Value. 67 | @function _font($keys...) { 68 | @return val($font, $keys...); 69 | } 70 | 71 | /// Gets a misc value. 72 | /// @param {string} $keys Key(s). 73 | /// @return {string} Value. 74 | @function _misc($keys...) { 75 | @return val($misc, $keys...); 76 | } 77 | 78 | /// Gets a palette value. 79 | /// @param {string} $keys Key(s). 80 | /// @return {string} Value. 81 | @function _palette($keys...) { 82 | @return val($palette, $keys...); 83 | } 84 | 85 | /// Gets a size value. 86 | /// @param {string} $keys Key(s). 87 | /// @return {string} Value. 88 | @function _size($keys...) { 89 | @return val($size, $keys...); 90 | } -------------------------------------------------------------------------------- /public/assets/js/breakpoints.min.js: -------------------------------------------------------------------------------- 1 | /* breakpoints.js v1.0 | @ajlkn | MIT licensed */ 2 | var breakpoints=function(){"use strict";function e(e){t.init(e)}var t={list:null,media:{},events:[],init:function(e){t.list=e,window.addEventListener("resize",t.poll),window.addEventListener("orientationchange",t.poll),window.addEventListener("load",t.poll),window.addEventListener("fullscreenchange",t.poll)},active:function(e){var n,a,s,i,r,d,c;if(!(e in t.media)){if(">="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e', '%3E'); 70 | $svg: str-replace($svg, '&', '%26'); 71 | $svg: str-replace($svg, '#', '%23'); 72 | $svg: str-replace($svg, '{', '%7B'); 73 | $svg: str-replace($svg, '}', '%7D'); 74 | $svg: str-replace($svg, ';', '%3B'); 75 | 76 | @return url("data:image/svg+xml;charset=utf8,#{$svg}"); 77 | 78 | } -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- 1 | // server.js 2 | 3 | // set up ====================================================================== 4 | // get all the tools we need 5 | var express = require('express'); 6 | var app = express(); 7 | var port = process.env.PORT || 8080; 8 | const MongoClient = require('mongodb').MongoClient 9 | var mongoose = require('mongoose'); 10 | var passport = require('passport'); 11 | var flash = require('connect-flash'); 12 | 13 | var morgan = require('morgan'); 14 | var cookieParser = require('cookie-parser'); 15 | var bodyParser = require('body-parser'); 16 | var session = require('express-session'); 17 | 18 | 19 | var configDB = require('./config/database.js'); 20 | 21 | var db 22 | 23 | // configuration =============================================================== 24 | mongoose.connect(configDB.url, (err, database) => { 25 | if (err) return console.log(err) 26 | db = database 27 | require('./app/routes.js')(app, passport, db); 28 | }); // connect to our database 29 | 30 | //app.listen(port, () => { 31 | // MongoClient.connect(configDB.url, { useNewUrlParser: true }, (error, client) => { 32 | // if(error) { 33 | // throw error; 34 | // } 35 | // db = client.db(configDB.dbName); 36 | // console.log("Connected to `" + configDB.dbName + "`!"); 37 | // require('./app/routes.js')(app, passport, db); 38 | // }); 39 | //}); 40 | 41 | require('./config/passport')(passport); // pass passport for configuration 42 | 43 | // set up our express application 44 | app.use(morgan('dev')); // log every request to the console 45 | app.use(cookieParser()); // read cookies (needed for auth) 46 | app.use(bodyParser.json()); // get information from html forms 47 | app.use(bodyParser.urlencoded({ extended: true })); 48 | app.use(express.static('public')) 49 | 50 | app.set('view engine', 'ejs'); // set up ejs for templating 51 | 52 | // required for passport 53 | app.use(session({ 54 | secret: 'rcbootcamp2019a', // session secret 55 | resave: true, 56 | saveUninitialized: true 57 | })); 58 | app.use(passport.initialize()); 59 | app.use(passport.session()); // persistent login sessions 60 | app.use(flash()); // use connect-flash for flash messages stored in session 61 | 62 | 63 | // routes ====================================================================== 64 | //require('./app/routes.js')(app, passport, db); // load our routes and pass in our app and fully configured passport 65 | 66 | // launch ====================================================================== 67 | app.listen(port); 68 | console.log('The magic happens on port ' + port); 69 | -------------------------------------------------------------------------------- /public/main.js: -------------------------------------------------------------------------------- 1 | 2 | var trash = document.getElementsByClassName("fa-trash"); 3 | 4 | 5 | Array.from(trash).forEach(function(element) { 6 | element.addEventListener('click', function(){ 7 | const name = this.parentNode.parentNode.childNodes[1].innerText 8 | const msg = this.parentNode.parentNode.childNodes[3].innerText 9 | fetch('messages', { 10 | method: 'delete', 11 | headers: { 12 | 'Content-Type': 'application/json' 13 | }, 14 | body: JSON.stringify({ 15 | 'name': name, 16 | 'msg': msg 17 | }) 18 | }).then(function (response) { 19 | window.location.reload() 20 | }) 21 | }); 22 | }); 23 | 24 | //Will Move this server side if I can, but AIRBNB is making it hard to make a query directly from the server // 25 | //More Notes in routes.js // 26 | fetch("https://mashvisor-api.p.rapidapi.com/airbnb-property/top-reviewed?page=1&city=Los%20Angeles&reviews_count=30&zip_code=91342&state=CA", { 27 | "method": "GET", 28 | "headers": { 29 | "x-rapidapi-host": "mashvisor-api.p.rapidapi.com", 30 | "x-rapidapi-key": "3ae1d00c97msh298612aebb81230p11684djsn405007844583" 31 | } 32 | }) 33 | .then(response => response.json()) 34 | .then(data => { 35 | console.log("Couldn't get everything into the Server yet, hoping I will figure it out Soon. More Notes in routes.js") 36 | console.log(data.content.list) 37 | data.content.list.forEach(x=>{ 38 | let listItem = document.createElement('li') 39 | let title = document.createElement('h4') 40 | let titleContent = document.createTextNode(`${x.name}`) 41 | title.appendChild(titleContent) 42 | listItem.appendChild(title) 43 | let address = document.createElement('h6') 44 | let addressContent = document.createTextNode(`${x.address} | ${x.star_rating}`) 45 | address.appendChild(addressContent) 46 | let star = document.createElement('i') 47 | star.classList = "fa fa-star" 48 | address.appendChild(star) 49 | listItem.appendChild(address) 50 | let image = document.createElement('img') 51 | image.src = x.picture_url 52 | listItem.appendChild(image) 53 | let img2 = document.createElement('img') 54 | img2.src = x.map_image_url 55 | listItem.appendChild(img2) 56 | let description = document.createElement('p') 57 | let desContent = document.createTextNode(`${x.summary}`) 58 | description.appendChild(desContent) 59 | listItem.appendChild(description) 60 | document.querySelector('ol').appendChild(listItem) 61 | }) 62 | }) 63 | -------------------------------------------------------------------------------- /views/profile.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 21 Savage Fan Site 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 19 |
    20 | 21 |
    22 |
    23 |

    Messages

    24 |
      25 | <% for(var i=0; i 26 |
    • 27 | <%= messages[i].name %> 28 | <%= messages[i].msg %> 29 | <%= messages[i].thumbUp %> 30 | 31 | 32 | 33 |
    • 34 | <% } %> 35 |
    36 | 37 |

    Add a message

    38 | <% if (user.local.email) { %> 39 |
    40 | 41 | 42 | 43 |
    44 |
    45 | <% } %> 46 | 47 |
    48 |
    49 | 50 | 51 | 52 | 53 | 54 | 60 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Travel Web-Application: Visit Here 2 | 3 | Travelara.org 4 | 5 | 6 | Platform to help build momentous milestones along with your friends and family! Travelara makes Dream Trips a Reality! 7 | 8 | 9 | ## Tech used: ![HTML5 BADGE](https://img.shields.io/static/v1?label=|&message=HTML5&color=23555f&style=plastic&logo=html5)![CSS BADGE](https://img.shields.io/static/v1?label=|&message=CSS3&color=285f65&style=plastic&logo=css3)![SASS BADGE](https://img.shields.io/static/v1?label=|&message=SASS&color=2b625f&style=plastic&logo=sass)![BOOTSTRAP BADGE](https://img.shields.io/static/v1?label=|&message=BOOTSTRAP&color=316c5e&style=plastic&logo=bootstrap)![JAVASCRIPT BADGE](https://img.shields.io/static/v1?label=|&message=JAVASCRIPT&color=3c7f5d&style=plastic&logo=javascript)![EXPRESS BADGE](https://img.shields.io/static/v1?label=|&message=EXPRESS&color=bbb111&style=plastic&logo=express)![MONGODB BADGE](https://img.shields.io/static/v1?label=|&message=MONGO-DB&color=cdd148&style=plastic&logo=mongodb) 10 | 11 | 12 | ## Optimizations 13 | One of the first thing I would optimize is the UX of how someone schedules a vacation and would love to add chatgpt plugins to be able to populate a price page for hotels and flights. I would also work on the scalability of the API used. Lastly I would make it so that a person can swipe with friends in real time. 14 | 15 | ## Lessons Learned 16 | 17 | Utilized callback functions in the server to try and build a modular and scalable backend. Through this I learned , how to effectively simplify backend routes into independent functions 18 | 19 | ## Demo Login 20 | 21 | 22 | Demo Email: demo@demo.com 23 | 24 | Demo password: demo 25 | 26 | 27 | ## Installation 28 | 29 | 1. Clone repo 30 | 2. run `npm install` 31 | 3. update DATABASE_URL in config/database 32 | 33 | ## Usage 34 | 35 | 1. run `node server.js` 36 | 2. Navigate to `localhost:8080` 37 | 38 | ## More Projects 39 | 40 | 41 | 42 | 43 | 50 | 57 | 64 | 65 |
    44 | Rigley 2: Flappy Bug 45 |
    46 | 47 | Rigley 2: Flappy Bug 48 | 49 |
    51 | Matching Card Game 52 |
    53 | 54 | Matching Card Game 55 | 56 |
    58 | Portfolio 59 |
    60 | 61 | Portfolio 62 | 63 |
    66 | -------------------------------------------------------------------------------- /public/assets/sass/libs/_html-grid.scss: -------------------------------------------------------------------------------- 1 | // html-grid.scss v1.0 | @ajlkn | MIT licensed */ 2 | 3 | // Mixins. 4 | 5 | /// Initializes the current element as an HTML grid. 6 | /// @param {mixed} $gutters Gutters (either a single number to set both column/row gutters, or a list to set them individually). 7 | /// @param {mixed} $suffix Column class suffix (optional; either a single suffix or a list). 8 | @mixin html-grid($gutters: 1.5em, $suffix: '') { 9 | 10 | // Initialize. 11 | $cols: 12; 12 | $multipliers: 0, 0.25, 0.5, 1, 1.50, 2.00; 13 | $unit: 100% / $cols; 14 | 15 | // Suffixes. 16 | $suffixes: null; 17 | 18 | @if (type-of($suffix) == 'list') { 19 | $suffixes: $suffix; 20 | } 21 | @else { 22 | $suffixes: ($suffix); 23 | } 24 | 25 | // Gutters. 26 | $guttersCols: null; 27 | $guttersRows: null; 28 | 29 | @if (type-of($gutters) == 'list') { 30 | 31 | $guttersCols: nth($gutters, 1); 32 | $guttersRows: nth($gutters, 2); 33 | 34 | } 35 | @else { 36 | 37 | $guttersCols: $gutters; 38 | $guttersRows: 0; 39 | 40 | } 41 | 42 | // Row. 43 | display: flex; 44 | flex-wrap: wrap; 45 | box-sizing: border-box; 46 | align-items: stretch; 47 | 48 | // Columns. 49 | > * { 50 | box-sizing: border-box; 51 | } 52 | 53 | // Gutters. 54 | &.gtr-uniform { 55 | > * { 56 | > :last-child { 57 | margin-bottom: 0; 58 | } 59 | } 60 | } 61 | 62 | // Alignment. 63 | &.aln-left { 64 | justify-content: flex-start; 65 | } 66 | 67 | &.aln-center { 68 | justify-content: center; 69 | } 70 | 71 | &.aln-right { 72 | justify-content: flex-end; 73 | } 74 | 75 | &.aln-top { 76 | align-items: flex-start; 77 | } 78 | 79 | &.aln-middle { 80 | align-items: center; 81 | } 82 | 83 | &.aln-bottom { 84 | align-items: flex-end; 85 | } 86 | 87 | // Step through suffixes. 88 | @each $suffix in $suffixes { 89 | 90 | // Suffix. 91 | @if ($suffix != '') { 92 | $suffix: '-' + $suffix; 93 | } 94 | @else { 95 | $suffix: ''; 96 | } 97 | 98 | // Row. 99 | 100 | // Important. 101 | > .imp#{$suffix} { 102 | order: -1; 103 | } 104 | 105 | // Columns, offsets. 106 | @for $i from 1 through $cols { 107 | > .col-#{$i}#{$suffix} { 108 | width: $unit * $i; 109 | } 110 | 111 | > .off-#{$i}#{$suffix} { 112 | margin-left: $unit * $i; 113 | } 114 | } 115 | 116 | // Step through multipliers. 117 | @each $multiplier in $multipliers { 118 | 119 | // Gutters. 120 | $class: null; 121 | 122 | @if ($multiplier != 1) { 123 | $class: '.gtr-' + ($multiplier * 100); 124 | } 125 | 126 | &#{$class} { 127 | margin-top: ($guttersRows * $multiplier * -1); 128 | margin-left: ($guttersCols * $multiplier * -1); 129 | 130 | > * { 131 | padding: ($guttersRows * $multiplier) 0 0 ($guttersCols * $multiplier); 132 | } 133 | 134 | // Uniform. 135 | &.gtr-uniform { 136 | margin-top: $guttersCols * $multiplier * -1; 137 | 138 | > * { 139 | padding-top: $guttersCols * $multiplier; 140 | } 141 | } 142 | 143 | } 144 | 145 | } 146 | 147 | } 148 | 149 | } -------------------------------------------------------------------------------- /public/assets/js/jquery.dropotron.min.js: -------------------------------------------------------------------------------- 1 | /* jquery.dropotron.js v1.4.3 | (c) @ajlkn | github.com/ajlkn/jquery.dropotron | MIT licensed */ 2 | !function(e){e.fn.disableSelection_dropotron=function(){return e(this).css("user-select","none").css("-khtml-user-select","none").css("-moz-user-select","none").css("-o-user-select","none").css("-webkit-user-select","none")},e.fn.dropotron=function(t){if(0==this.length)return e(this);if(this.length>1)for(var o=0;o0&&t.add(n).on("mouseleave",function(e){window.clearTimeout(c),c=window.setTimeout(function(){t.trigger("doCollapse")},o.hideDelay)}),t.disableSelection_dropotron().hide().addClass(o.menuClass).css("position","absolute").on("mouseenter",function(e){window.clearTimeout(c)}).on("doExpand",function(){if(t.is(":visible"))return!1;window.clearTimeout(c),s.each(function(){var t=e(this);e.contains(t.get(0),n.get(0))||t.trigger("doCollapse")});var i,a,d,f,u=n.offset(),p=n.position(),h=(n.parent().position(),n.outerWidth()),g=t.outerWidth(),v=t.css("z-index")==o.baseZIndex;if(v){switch(i=o.detach?u:p,f=i.top+n.outerHeight()+o.globalOffsetY,a=o.alignment,t.removeClass("left").removeClass("right").removeClass("center"),o.alignment){case"right":d=i.left-g+h,0>d&&(d=i.left,a="left");break;case"center":d=i.left-Math.floor((g-h)/2),0>d?(d=i.left,a="left"):d+g>l.width()&&(d=i.left-g+h,a="right");break;case"left":default:d=i.left,d+g>l.width()&&(d=i.left-g+h,a="right")}t.addClass(a)}else switch("relative"==n.css("position")||"absolute"==n.css("position")?(f=o.offsetY,d=-1*p.left):(f=p.top+o.offsetY,d=0),o.alignment){case"right":d+=-1*n.parent().outerWidth()+o.offsetX;break;case"center":case"left":default:d+=n.parent().outerWidth()+o.offsetX}navigator.userAgent.match(/MSIE ([0-9]+)\./)&&RegExp.$1<8&&(d+=o.IEOffsetX,f+=o.IEOffsetY),t.css("left",d+"px").css("top",f+"px").css("opacity","0.01").show();var C=!1;switch(d="relative"==n.css("position")||"absolute"==n.css("position")?-1*p.left:0,t.offset().left<0?(d+=n.parent().outerWidth()-o.offsetX,C=!0):t.offset().left+g>l.width()&&(d+=-1*n.parent().outerWidth()-o.offsetX,C=!0),C&&t.css("left",d+"px"),t.hide().css("opacity","1"),o.mode){case"zoom":r=!0,n.addClass(o.openerActiveClass),t.animate({width:"toggle",height:"toggle"},o.speed,o.easing,function(){r=!1});break;case"slide":r=!0,n.addClass(o.openerActiveClass),t.animate({height:"toggle"},o.speed,o.easing,function(){r=!1});break;case"fade":if(r=!0,v&&!o.noOpenerFade){var C;C="slow"==o.speed?80:"fast"==o.speed?40:Math.floor(o.speed/2),n.fadeTo(C,.01,function(){n.addClass(o.openerActiveClass),n.fadeTo(o.speed,1),t.fadeIn(o.speed,function(){r=!1})})}else n.addClass(o.openerActiveClass),n.fadeTo(o.speed,1),t.fadeIn(o.speed,function(){r=!1});break;case"instant":default:n.addClass(o.openerActiveClass),t.show()}return!1}).on("doCollapse",function(){return t.is(":visible")?(t.hide(),n.removeClass(o.openerActiveClass),t.find("."+o.openerActiveClass).removeClass(o.openerActiveClass),t.find("ul").hide(),!1):!1}).on("doToggle",function(e){return t.is(":visible")?t.trigger("doCollapse"):t.trigger("doExpand"),!1}),n.disableSelection_dropotron().addClass("opener").css("cursor","pointer").on("click touchend",function(e){r||(e.preventDefault(),e.stopPropagation(),t.trigger("doToggle"))}),"hover"==o.expandMode&&n.hover(function(e){r||(d=window.setTimeout(function(){t.trigger("doExpand")},o.hoverDelay))},function(e){window.clearTimeout(d)})}),s.find("a").css("display","block").on("click touchend",function(t){r||e(this).attr("href").length<1&&t.preventDefault()}),n.find("li").css("white-space","nowrap").each(function(){var t=e(this),o=t.children("a"),s=t.children("ul"),i=o.attr("href");o.on("click touchend",function(e){0==i.length||"#"==i?e.preventDefault():e.stopPropagation()}),o.length>0&&0==s.length&&t.on("click touchend",function(e){r||(n.trigger("doCollapseAll"),e.stopPropagation())})}),n.children("li").each(function(){var t,n=e(this),s=n.children("ul");if(s.length>0){o.detach&&(o.cloneOnDetach&&(t=s.clone(),t.attr("class","").hide().appendTo(s.parent())),s.detach().appendTo(i));for(var a=o.baseZIndex,l=1,r=s;r.length>0;l++)r.css("z-index",a++),o.submenuClassPrefix&&r.addClass(o.submenuClassPrefix+(a-1-o.baseZIndex)),r=r.find("> li > ul")}}),l.on("scroll",function(){n.trigger("doCollapseAll")}).on("keypress",function(e){r||27!=e.keyCode||(e.preventDefault(),n.trigger("doCollapseAll"))}),a.on("click touchend",function(){r||n.trigger("doCollapseAll")})}}(jQuery); 3 | -------------------------------------------------------------------------------- /config/passport.js: -------------------------------------------------------------------------------- 1 | // config/passport.js 2 | 3 | // load all the things we need 4 | var LocalStrategy = require('passport-local').Strategy; 5 | 6 | // load up the user model 7 | var User = require('../app/models/user'); 8 | 9 | // expose this function to our app using module.exports 10 | module.exports = function(passport) { 11 | 12 | // ========================================================================= 13 | // passport session setup ================================================== 14 | // ========================================================================= 15 | // required for persistent login sessions 16 | // passport needs ability to serialize and unserialize users out of session 17 | 18 | // used to serialize the user for the session 19 | passport.serializeUser(function(user, done) { 20 | done(null, user.id); 21 | }); 22 | 23 | // used to deserialize the user 24 | passport.deserializeUser(function(id, done) { 25 | User.findById(id, function(err, user) { 26 | done(err, user); 27 | }); 28 | }); 29 | 30 | // ========================================================================= 31 | // LOCAL SIGNUP ============================================================ 32 | // ========================================================================= 33 | // we are using named strategies since we have one for login and one for signup 34 | // by default, if there was no name, it would just be called 'local' 35 | 36 | passport.use('local-signup', new LocalStrategy({ 37 | // by default, local strategy uses username and password, we will override with email 38 | usernameField : 'email', 39 | passwordField : 'password', 40 | passReqToCallback : true // allows us to pass back the entire request to the callback 41 | }, 42 | function(req, email, password, done) { 43 | 44 | // find a user whose email is the same as the forms email 45 | // we are checking to see if the user trying to login already exists 46 | User.findOne({ 'local.email' : email }, function(err, user) { 47 | // if there are any errors, return the error 48 | if (err) 49 | return done(err); 50 | 51 | // check to see if theres already a user with that email 52 | if (user) { 53 | return done(null, false, req.flash('signupMessage', 'That email is already taken.')); 54 | } else { 55 | 56 | // if there is no user with that email 57 | // create the user 58 | var newUser = new User(); 59 | 60 | // set the user's local credentials 61 | newUser.local.email = email; 62 | newUser.local.password = newUser.generateHash(password); // use the generateHash function in our user model 63 | 64 | // save the user 65 | newUser.save(function(err) { 66 | if (err) 67 | throw err; 68 | return done(null, newUser); 69 | }); 70 | } 71 | 72 | }); 73 | 74 | })); 75 | 76 | // ========================================================================= 77 | // LOCAL LOGIN ============================================================= 78 | // ========================================================================= 79 | // we are using named strategies since we have one for login and one for signup 80 | // by default, if there was no name, it would just be called 'local' 81 | 82 | passport.use('local-login', new LocalStrategy({ 83 | // by default, local strategy uses username and password, we will override with email 84 | usernameField : 'email', 85 | passwordField : 'password', 86 | passReqToCallback : true // allows us to pass back the entire request to the callback 87 | }, 88 | function(req, email, password, done) { // callback with email and password from our form 89 | 90 | // find a user whose email is the same as the forms email 91 | // we are checking to see if the user trying to login already exists 92 | User.findOne({ 'local.email' : email }, function(err, user) { 93 | // if there are any errors, return the error before anything else 94 | if (err) 95 | return done(err); 96 | 97 | // if no user is found, return the message 98 | if (!user) 99 | return done(null, false, req.flash('loginMessage', 'No user found.')); // req.flash is the way to set flashdata using connect-flash 100 | 101 | // if the user is found but the password is wrong 102 | if (!user.validPassword(password)) 103 | return done(null, false, req.flash('loginMessage', 'Oops! Wrong password.')); // create the loginMessage and save it to session as flashdata 104 | 105 | // all is well, return successful user 106 | return done(null, user); 107 | }); 108 | 109 | })); 110 | 111 | }; 112 | -------------------------------------------------------------------------------- /public/assets/sass/libs/_breakpoints.scss: -------------------------------------------------------------------------------- 1 | // breakpoints.scss v1.0 | @ajlkn | MIT licensed */ 2 | 3 | // Vars. 4 | 5 | /// Breakpoints. 6 | /// @var {list} 7 | $breakpoints: () !global; 8 | 9 | // Mixins. 10 | 11 | /// Sets breakpoints. 12 | /// @param {map} $x Breakpoints. 13 | @mixin breakpoints($x: ()) { 14 | $breakpoints: $x !global; 15 | } 16 | 17 | /// Wraps @content in a @media block targeting a specific orientation. 18 | /// @param {string} $orientation Orientation. 19 | @mixin orientation($orientation) { 20 | @media screen and (orientation: #{$orientation}) { 21 | @content; 22 | } 23 | } 24 | 25 | /// Wraps @content in a @media block using a given query. 26 | /// @param {string} $query Query. 27 | @mixin breakpoint($query: null) { 28 | 29 | $breakpoint: null; 30 | $op: null; 31 | $media: null; 32 | 33 | // Determine operator, breakpoint. 34 | 35 | // Greater than or equal. 36 | @if (str-slice($query, 0, 2) == '>=') { 37 | 38 | $op: 'gte'; 39 | $breakpoint: str-slice($query, 3); 40 | 41 | } 42 | 43 | // Less than or equal. 44 | @elseif (str-slice($query, 0, 2) == '<=') { 45 | 46 | $op: 'lte'; 47 | $breakpoint: str-slice($query, 3); 48 | 49 | } 50 | 51 | // Greater than. 52 | @elseif (str-slice($query, 0, 1) == '>') { 53 | 54 | $op: 'gt'; 55 | $breakpoint: str-slice($query, 2); 56 | 57 | } 58 | 59 | // Less than. 60 | @elseif (str-slice($query, 0, 1) == '<') { 61 | 62 | $op: 'lt'; 63 | $breakpoint: str-slice($query, 2); 64 | 65 | } 66 | 67 | // Not. 68 | @elseif (str-slice($query, 0, 1) == '!') { 69 | 70 | $op: 'not'; 71 | $breakpoint: str-slice($query, 2); 72 | 73 | } 74 | 75 | // Equal. 76 | @else { 77 | 78 | $op: 'eq'; 79 | $breakpoint: $query; 80 | 81 | } 82 | 83 | // Build media. 84 | @if ($breakpoint and map-has-key($breakpoints, $breakpoint)) { 85 | 86 | $a: map-get($breakpoints, $breakpoint); 87 | 88 | // Range. 89 | @if (type-of($a) == 'list') { 90 | 91 | $x: nth($a, 1); 92 | $y: nth($a, 2); 93 | 94 | // Max only. 95 | @if ($x == null) { 96 | 97 | // Greater than or equal (>= 0 / anything) 98 | @if ($op == 'gte') { 99 | $media: 'screen'; 100 | } 101 | 102 | // Less than or equal (<= y) 103 | @elseif ($op == 'lte') { 104 | $media: 'screen and (max-width: ' + $y + ')'; 105 | } 106 | 107 | // Greater than (> y) 108 | @elseif ($op == 'gt') { 109 | $media: 'screen and (min-width: ' + ($y + 1) + ')'; 110 | } 111 | 112 | // Less than (< 0 / invalid) 113 | @elseif ($op == 'lt') { 114 | $media: 'screen and (max-width: -1px)'; 115 | } 116 | 117 | // Not (> y) 118 | @elseif ($op == 'not') { 119 | $media: 'screen and (min-width: ' + ($y + 1) + ')'; 120 | } 121 | 122 | // Equal (<= y) 123 | @else { 124 | $media: 'screen and (max-width: ' + $y + ')'; 125 | } 126 | 127 | } 128 | 129 | // Min only. 130 | @else if ($y == null) { 131 | 132 | // Greater than or equal (>= x) 133 | @if ($op == 'gte') { 134 | $media: 'screen and (min-width: ' + $x + ')'; 135 | } 136 | 137 | // Less than or equal (<= inf / anything) 138 | @elseif ($op == 'lte') { 139 | $media: 'screen'; 140 | } 141 | 142 | // Greater than (> inf / invalid) 143 | @elseif ($op == 'gt') { 144 | $media: 'screen and (max-width: -1px)'; 145 | } 146 | 147 | // Less than (< x) 148 | @elseif ($op == 'lt') { 149 | $media: 'screen and (max-width: ' + ($x - 1) + ')'; 150 | } 151 | 152 | // Not (< x) 153 | @elseif ($op == 'not') { 154 | $media: 'screen and (max-width: ' + ($x - 1) + ')'; 155 | } 156 | 157 | // Equal (>= x) 158 | @else { 159 | $media: 'screen and (min-width: ' + $x + ')'; 160 | } 161 | 162 | } 163 | 164 | // Min and max. 165 | @else { 166 | 167 | // Greater than or equal (>= x) 168 | @if ($op == 'gte') { 169 | $media: 'screen and (min-width: ' + $x + ')'; 170 | } 171 | 172 | // Less than or equal (<= y) 173 | @elseif ($op == 'lte') { 174 | $media: 'screen and (max-width: ' + $y + ')'; 175 | } 176 | 177 | // Greater than (> y) 178 | @elseif ($op == 'gt') { 179 | $media: 'screen and (min-width: ' + ($y + 1) + ')'; 180 | } 181 | 182 | // Less than (< x) 183 | @elseif ($op == 'lt') { 184 | $media: 'screen and (max-width: ' + ($x - 1) + ')'; 185 | } 186 | 187 | // Not (< x and > y) 188 | @elseif ($op == 'not') { 189 | $media: 'screen and (max-width: ' + ($x - 1) + '), screen and (min-width: ' + ($y + 1) + ')'; 190 | } 191 | 192 | // Equal (>= x and <= y) 193 | @else { 194 | $media: 'screen and (min-width: ' + $x + ') and (max-width: ' + $y + ')'; 195 | } 196 | 197 | } 198 | 199 | } 200 | 201 | // String. 202 | @else { 203 | 204 | // Missing a media type? Prefix with "screen". 205 | @if (str-slice($a, 0, 1) == '(') { 206 | $media: 'screen and ' + $a; 207 | } 208 | 209 | // Otherwise, use as-is. 210 | @else { 211 | $media: $a; 212 | } 213 | 214 | } 215 | 216 | } 217 | 218 | // Output. 219 | @media #{$media} { 220 | @content; 221 | } 222 | 223 | } -------------------------------------------------------------------------------- /public/assets/js/main.js: -------------------------------------------------------------------------------- 1 | /* 2 | Landed by HTML5 UP 3 | html5up.net | @ajlkn 4 | Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 5 | */ 6 | 7 | (function($) { 8 | 9 | var $window = $(window), 10 | $body = $('body'); 11 | 12 | // Breakpoints. 13 | breakpoints({ 14 | xlarge: [ '1281px', '1680px' ], 15 | large: [ '981px', '1280px' ], 16 | medium: [ '737px', '980px' ], 17 | small: [ '481px', '736px' ], 18 | xsmall: [ null, '480px' ] 19 | }); 20 | 21 | // Play initial animations on page load. 22 | $window.on('load', function() { 23 | window.setTimeout(function() { 24 | $body.removeClass('is-preload'); 25 | }, 100); 26 | }); 27 | 28 | // Touch mode. 29 | if (browser.mobile) 30 | $body.addClass('is-touch'); 31 | 32 | // Scrolly links. 33 | $('.scrolly').scrolly({ 34 | speed: 2000 35 | }); 36 | 37 | // Dropdowns. 38 | $('#nav > ul').dropotron({ 39 | alignment: 'right', 40 | hideDelay: 350 41 | }); 42 | 43 | // Nav. 44 | 45 | // Title Bar. 46 | $( 47 | '
    ' + 48 | '' + 49 | '' + $('#logo').html() + '' + 50 | '
    ' 51 | ) 52 | .appendTo($body); 53 | 54 | // Panel. 55 | $( 56 | '' 61 | ) 62 | .appendTo($body) 63 | .panel({ 64 | delay: 500, 65 | hideOnClick: true, 66 | hideOnSwipe: true, 67 | resetScroll: true, 68 | resetForms: true, 69 | side: 'left', 70 | target: $body, 71 | visibleClass: 'navPanel-visible' 72 | }); 73 | 74 | // Parallax. 75 | // Disabled on IE (choppy scrolling) and mobile platforms (poor performance). 76 | if (browser.name == 'ie' 77 | || browser.mobile) { 78 | 79 | $.fn._parallax = function() { 80 | 81 | return $(this); 82 | 83 | }; 84 | 85 | } 86 | else { 87 | 88 | $.fn._parallax = function() { 89 | 90 | $(this).each(function() { 91 | 92 | var $this = $(this), 93 | on, off; 94 | 95 | on = function() { 96 | 97 | $this 98 | .css('background-position', 'center 0px'); 99 | 100 | $window 101 | .on('scroll._parallax', function() { 102 | 103 | var pos = parseInt($window.scrollTop()) - parseInt($this.position().top); 104 | 105 | $this.css('background-position', 'center ' + (pos * -0.15) + 'px'); 106 | 107 | }); 108 | 109 | }; 110 | 111 | off = function() { 112 | 113 | $this 114 | .css('background-position', ''); 115 | 116 | $window 117 | .off('scroll._parallax'); 118 | 119 | }; 120 | 121 | breakpoints.on('<=medium', off); 122 | breakpoints.on('>medium', on); 123 | 124 | }); 125 | 126 | return $(this); 127 | 128 | }; 129 | 130 | $window 131 | .on('load resize', function() { 132 | $window.trigger('scroll'); 133 | }); 134 | 135 | } 136 | 137 | // Spotlights. 138 | var $spotlights = $('.spotlight'); 139 | 140 | $spotlights 141 | ._parallax() 142 | .each(function() { 143 | 144 | var $this = $(this), 145 | on, off; 146 | 147 | on = function() { 148 | 149 | var top, bottom, mode; 150 | 151 | // Use main 's src as this spotlight's background. 152 | $this.css('background-image', 'url("' + $this.find('.image.main > img').attr('src') + '")'); 153 | 154 | // Side-specific scrollex tweaks. 155 | if ($this.hasClass('top')) { 156 | 157 | mode = 'top'; 158 | top = '-20%'; 159 | bottom = 0; 160 | 161 | } 162 | else if ($this.hasClass('bottom')) { 163 | 164 | mode = 'bottom-only'; 165 | top = 0; 166 | bottom = '20%'; 167 | 168 | } 169 | else { 170 | 171 | mode = 'middle'; 172 | top = 0; 173 | bottom = 0; 174 | 175 | } 176 | 177 | // Add scrollex. 178 | $this.scrollex({ 179 | mode: mode, 180 | top: top, 181 | bottom: bottom, 182 | initialize: function(t) { $this.addClass('inactive'); }, 183 | terminate: function(t) { $this.removeClass('inactive'); }, 184 | enter: function(t) { $this.removeClass('inactive'); }, 185 | 186 | // Uncomment the line below to "rewind" when this spotlight scrolls out of view. 187 | 188 | //leave: function(t) { $this.addClass('inactive'); }, 189 | 190 | }); 191 | 192 | }; 193 | 194 | off = function() { 195 | 196 | // Clear spotlight's background. 197 | $this.css('background-image', ''); 198 | 199 | // Remove scrollex. 200 | $this.unscrollex(); 201 | 202 | }; 203 | 204 | breakpoints.on('<=medium', off); 205 | breakpoints.on('>medium', on); 206 | 207 | }); 208 | 209 | // Wrappers. 210 | var $wrappers = $('.wrapper'); 211 | 212 | $wrappers 213 | .each(function() { 214 | 215 | var $this = $(this), 216 | on, off; 217 | 218 | on = function() { 219 | 220 | $this.scrollex({ 221 | top: 250, 222 | bottom: 0, 223 | initialize: function(t) { $this.addClass('inactive'); }, 224 | terminate: function(t) { $this.removeClass('inactive'); }, 225 | enter: function(t) { $this.removeClass('inactive'); }, 226 | 227 | // Uncomment the line below to "rewind" when this wrapper scrolls out of view. 228 | 229 | //leave: function(t) { $this.addClass('inactive'); }, 230 | 231 | }); 232 | 233 | }; 234 | 235 | off = function() { 236 | $this.unscrollex(); 237 | }; 238 | 239 | breakpoints.on('<=medium', off); 240 | breakpoints.on('>medium', on); 241 | 242 | }); 243 | 244 | // Banner. 245 | var $banner = $('#banner'); 246 | 247 | $banner 248 | ._parallax(); 249 | 250 | })(jQuery); -------------------------------------------------------------------------------- /app/routes.js: -------------------------------------------------------------------------------- 1 | var https = require('https'); 2 | var qs = require("querystring"); 3 | module.exports = function(app, passport, db) { 4 | 5 | // normal routes =============================================================== 6 | 7 | // show the home page (will also have our login links) 8 | app.get('/', function(req, res) { 9 | res.render('index.ejs'); 10 | }); 11 | 12 | // PROFILE SECTION ========================= 13 | app.get('/profile', isLoggedIn, function(req, res) { 14 | db.collection('messages').find().toArray((err, result) => { 15 | if (err) return console.log(err) 16 | 17 | //I will make my search queries to Groupon kinda like this, when they send me an APIKey// 18 | // https.get(`https://Groupon`, (resp) => { 19 | // let data = ''; 20 | // resp.on('data', (obj) => { 21 | // data += obj; 22 | // }); 23 | // resp.on('end', () => { 24 | // console.log('') 25 | // console.log('This is all the Groupon data as an object that I will render to the client',JSON.parse(data)) 26 | // }); 27 | // }).on("error", (err) => { 28 | // console.log("Error: " + err.message); 29 | // }); 30 | 31 | //Around here I will make my search queries to FourSquare// 32 | https.get(`https://api.foursquare.com/v2/venues/search?client_id=CRK3M3QSQ4SSNTAJ34HBSHLYURAPOYHYQ0PVJHKTSNCPIYC2&client_secret=ZRZQNU3GQY3FXA4L2ASD5G03AF0RS34CAATEIMBJHJZWLJUZ&ll=40.74224,-73.99386&v=20200901`, (resp) => { 33 | let data = ''; 34 | resp.on('data', (obj) => { 35 | data += obj; 36 | }); 37 | resp.on('end', () => { 38 | console.log('') 39 | console.log('This is all the FourSquare data as an object that I will render to the client',JSON.parse(data)) 40 | }); 41 | }).on("error", (err) => { 42 | console.log("Error: " + err.message); 43 | }); 44 | 45 | //I Couldnt get the AIRBNB query to work Server side because Airbnb doesnt provide access unless through third party// 46 | //In This case I'm using Rapid API. I might have to keep this query client side if I can't find an alternative// 47 | 48 | //Around Here I will make my search queries to AirBnB// 49 | // var options = { 50 | // "method": "GET", 51 | // "hostname": "https://mashvisor-api.p.rapidapi.com", 52 | // "port": 8080, 53 | // "path": '/airbnb-property/top-reviewed', 54 | // "headers": { 55 | // "x-rapidapi-key": "3ae1d00c97msh298612aebb81230p11684djsn405007844583", 56 | // "content-type": "application/x-www-form-urlencoded", 57 | // "useQueryString": 'page=1&city=Los%20Angeles&reviews_count=30&zip_code=91342&state=CA' 58 | // } 59 | // }; 60 | // 61 | // https.get(options, function (respo) { 62 | // var chunks = ''; 63 | // 64 | // respo.on("data", function (chunk) { 65 | // chunks+=chuck; 66 | // }); 67 | // console.log(chunks) 68 | // respo.on("end", function () { 69 | // console.log(chunks) 70 | // var body = Buffer.concat(chunks); 71 | // console.log(body.toString()); 72 | // }); 73 | // }).on("error", (err) => { 74 | // console.log("Error: " + err.message); 75 | // }); 76 | 77 | res.render('profile.ejs', { 78 | user : req.user, 79 | messages: result 80 | }) 81 | }) 82 | }); 83 | 84 | // LOGOUT ============================== 85 | app.get('/logout', function(req, res) { 86 | req.logout(); 87 | res.redirect('/'); 88 | }); 89 | 90 | // message board routes =============================================================== 91 | 92 | app.post('/messages', (req, res) => { 93 | db.collection('messages').save({name: req.body.name, msg: req.body.msg, thumbUp: 0, thumbDown:0}, (err, result) => { 94 | if (err) return console.log(err) 95 | console.log('saved to database') 96 | res.redirect('/profile') 97 | }) 98 | }) 99 | 100 | app.put('/messages', (req, res) => { 101 | db.collection('messages') 102 | .findOneAndUpdate({name: req.body.name, msg: req.body.msg}, { 103 | $set: { 104 | thumbUp:req.body.thumbUp + 1 105 | } 106 | }, { 107 | sort: {_id: -1}, 108 | upsert: true 109 | }, (err, result) => { 110 | if (err) return res.send(err) 111 | res.send(result) 112 | }) 113 | }) 114 | 115 | app.put('/nomessages', (req, res) => { 116 | db.collection('messages') 117 | .findOneAndUpdate({name: req.body.name, msg: req.body.msg}, { 118 | $set: { 119 | thumbUp:!req.body.thumbUp?0:req.body.thumbUp-1 120 | } 121 | }, { 122 | sort: {_id: -1}, 123 | upsert: true 124 | }, (err, result) => { 125 | if (err) return res.send(err) 126 | res.send(result) 127 | }) 128 | }) 129 | 130 | app.delete('/messages', (req, res) => { 131 | db.collection('messages').findOneAndDelete({name: req.body.name, msg: req.body.msg}, (err, result) => { 132 | if (err) return res.send(500, err) 133 | res.send('Message deleted!') 134 | }) 135 | }) 136 | 137 | // ============================================================================= 138 | // AUTHENTICATE (FIRST LOGIN) ================================================== 139 | // ============================================================================= 140 | 141 | // locally -------------------------------- 142 | // LOGIN =============================== 143 | // show the login form 144 | app.get('/login', function(req, res) { 145 | res.render('login.ejs', { message: req.flash('loginMessage') }); 146 | }); 147 | 148 | // process the login form 149 | app.post('/login', passport.authenticate('local-login', { 150 | successRedirect : '/profile', // redirect to the secure profile section 151 | failureRedirect : '/login', // redirect back to the signup page if there is an error 152 | failureFlash : true // allow flash messages 153 | })); 154 | 155 | // SIGNUP ================================= 156 | // show the signup form 157 | app.get('/signup', function(req, res) { 158 | res.render('signup.ejs', { message: req.flash('signupMessage') }); 159 | }); 160 | 161 | // process the signup form 162 | app.post('/signup', passport.authenticate('local-signup', { 163 | successRedirect : '/profile', // redirect to the secure profile section 164 | failureRedirect : '/signup', // redirect back to the signup page if there is an error 165 | failureFlash : true // allow flash messages 166 | })); 167 | 168 | // ============================================================================= 169 | // UNLINK ACCOUNTS ============================================================= 170 | // ============================================================================= 171 | // used to unlink accounts. for social accounts, just remove the token 172 | // for local account, remove email and password 173 | // user account will stay active in case they want to reconnect in the future 174 | 175 | // local ----------------------------------- 176 | app.get('/unlink/local', isLoggedIn, function(req, res) { 177 | var user = req.user; 178 | user.local.email = undefined; 179 | user.local.password = undefined; 180 | user.save(function(err) { 181 | res.redirect('/profile'); 182 | }); 183 | }); 184 | 185 | }; 186 | 187 | // route middleware to ensure user is logged in 188 | function isLoggedIn(req, res, next) { 189 | if (req.isAuthenticated()) 190 | return next(); 191 | 192 | res.redirect('/'); 193 | } 194 | -------------------------------------------------------------------------------- /views/index.ejs: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | Lucid Dream Vacations 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
    18 | 19 | 20 | 29 | 30 | 31 | 42 | 43 | 44 |
    45 | 46 |
    47 |
    48 |
    49 |
    50 |
    51 |

    Unmacthed Quality

    52 |
    53 |

    All reviews are 5 stars, we have no unhappy customers. We are absolutely the best!
    You Can Believe Us, We wouldn't lie to you!

    54 | 55 |
    56 |
    57 |

    Some Stuff about our Amazingness!

    58 |
    59 |
    60 |

    Save Time and Money

    61 |

    You will reclaim those countless wasted hours researching or talking to a travel agent. If our unmatched quality isn't a selling point for you, maybe saving time and money is!

    62 |
    63 |
    64 |
    65 |
    66 | Next 67 |
    68 | 69 | 70 |
    71 | 72 |
    73 |
    74 |

    Something goes here, but I'm to tired to make something up

    75 |

    Imagine you are on a mountain, looking out of the window of your log cabin, sipping on some hot coco with 2 marshmellows!

    76 |
    77 |

    Your so close to the vacation you could probably taste it!

    78 | 81 |
    82 | Next 83 |
    84 | 85 | 86 |
    87 | 88 |
    89 |
    90 |

    That crisp mountain air!

    91 |

    If you weren't seeing it with your own eyes, you'd probably think it was photoshopped.

    92 |
    93 |

    Something Witty!

    94 | 97 |
    98 | Next 99 |
    100 | 101 | 102 |
    103 |
    104 |
    105 |

    Happy Customers!

    106 |

    Don't take our word for it! Here's some reviews

    107 |
    108 |
    109 |
    110 |
    111 | 112 |

    Santa Clause

    113 |

    "Lucid is awesome and the man who made it will be on my nice list forever"

    114 |
    115 |
    116 | 117 |

    Jesus Christ

    118 |

    "Lucid is beyond compare. I booked a 3-day vacation so amazing, I was walking on water!"

    119 |
    120 |
    121 | 122 |

    Shawn's Mom

    123 |

    "Lucid is by far the best app I have ever used and I'm not saying that just because he paid me!"

    124 |
    125 |
    126 | 127 |

    Some Random Guy We definitely didn't pay

    128 |

    "I don't know how I survived so long without Lucid. Would definitely give this 5 stars!"

    129 |
    130 |
    131 | 132 |

    Leon Noel

    133 |

    "This Demo-Day Project is so amazing that I'm going to give Shawn 50 leon points! You 360 Slam Dunked It!"

    134 |
    135 |
    136 | 137 |

    Another Guy We also Didn't Pay

    138 |

    "If I was being payed would I say 'Lucid is the future and better than any app in existence'? Exactly!"

    139 |
    140 |
    141 |
    142 | 147 |
    148 |
    149 | 150 | 151 |
    152 |
    153 |
    154 |

    This is our Contact Sheet

    155 |

    Fill it out. Or don't we already have your information anyway

    156 |
    157 |
    158 |
    159 |
    160 |
    161 |
    162 |
    163 |
    164 |
    165 | 166 | 167 | 180 | 181 |
    182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | -------------------------------------------------------------------------------- /public/assets/sass/libs/_vendor.scss: -------------------------------------------------------------------------------- 1 | // vendor.scss v1.0 | @ajlkn | MIT licensed */ 2 | 3 | // Vars. 4 | 5 | /// Vendor prefixes. 6 | /// @var {list} 7 | $vendor-prefixes: ( 8 | '-moz-', 9 | '-webkit-', 10 | '-ms-', 11 | '' 12 | ); 13 | 14 | /// Properties that should be vendorized. 15 | /// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org 16 | /// @var {list} 17 | $vendor-properties: ( 18 | 19 | // Animation. 20 | 'animation', 21 | 'animation-delay', 22 | 'animation-direction', 23 | 'animation-duration', 24 | 'animation-fill-mode', 25 | 'animation-iteration-count', 26 | 'animation-name', 27 | 'animation-play-state', 28 | 'animation-timing-function', 29 | 30 | // Appearance. 31 | 'appearance', 32 | 33 | // Backdrop filter. 34 | 'backdrop-filter', 35 | 36 | // Background image options. 37 | 'background-clip', 38 | 'background-origin', 39 | 'background-size', 40 | 41 | // Box sizing. 42 | 'box-sizing', 43 | 44 | // Clip path. 45 | 'clip-path', 46 | 47 | // Filter effects. 48 | 'filter', 49 | 50 | // Flexbox. 51 | 'align-content', 52 | 'align-items', 53 | 'align-self', 54 | 'flex', 55 | 'flex-basis', 56 | 'flex-direction', 57 | 'flex-flow', 58 | 'flex-grow', 59 | 'flex-shrink', 60 | 'flex-wrap', 61 | 'justify-content', 62 | 'order', 63 | 64 | // Font feature. 65 | 'font-feature-settings', 66 | 'font-language-override', 67 | 'font-variant-ligatures', 68 | 69 | // Font kerning. 70 | 'font-kerning', 71 | 72 | // Fragmented borders and backgrounds. 73 | 'box-decoration-break', 74 | 75 | // Grid layout. 76 | 'grid-column', 77 | 'grid-column-align', 78 | 'grid-column-end', 79 | 'grid-column-start', 80 | 'grid-row', 81 | 'grid-row-align', 82 | 'grid-row-end', 83 | 'grid-row-start', 84 | 'grid-template-columns', 85 | 'grid-template-rows', 86 | 87 | // Hyphens. 88 | 'hyphens', 89 | 'word-break', 90 | 91 | // Masks. 92 | 'mask', 93 | 'mask-border', 94 | 'mask-border-outset', 95 | 'mask-border-repeat', 96 | 'mask-border-slice', 97 | 'mask-border-source', 98 | 'mask-border-width', 99 | 'mask-clip', 100 | 'mask-composite', 101 | 'mask-image', 102 | 'mask-origin', 103 | 'mask-position', 104 | 'mask-repeat', 105 | 'mask-size', 106 | 107 | // Multicolumn. 108 | 'break-after', 109 | 'break-before', 110 | 'break-inside', 111 | 'column-count', 112 | 'column-fill', 113 | 'column-gap', 114 | 'column-rule', 115 | 'column-rule-color', 116 | 'column-rule-style', 117 | 'column-rule-width', 118 | 'column-span', 119 | 'column-width', 120 | 'columns', 121 | 122 | // Object fit. 123 | 'object-fit', 124 | 'object-position', 125 | 126 | // Regions. 127 | 'flow-from', 128 | 'flow-into', 129 | 'region-fragment', 130 | 131 | // Scroll snap points. 132 | 'scroll-snap-coordinate', 133 | 'scroll-snap-destination', 134 | 'scroll-snap-points-x', 135 | 'scroll-snap-points-y', 136 | 'scroll-snap-type', 137 | 138 | // Shapes. 139 | 'shape-image-threshold', 140 | 'shape-margin', 141 | 'shape-outside', 142 | 143 | // Tab size. 144 | 'tab-size', 145 | 146 | // Text align last. 147 | 'text-align-last', 148 | 149 | // Text decoration. 150 | 'text-decoration-color', 151 | 'text-decoration-line', 152 | 'text-decoration-skip', 153 | 'text-decoration-style', 154 | 155 | // Text emphasis. 156 | 'text-emphasis', 157 | 'text-emphasis-color', 158 | 'text-emphasis-position', 159 | 'text-emphasis-style', 160 | 161 | // Text size adjust. 162 | 'text-size-adjust', 163 | 164 | // Text spacing. 165 | 'text-spacing', 166 | 167 | // Transform. 168 | 'transform', 169 | 'transform-origin', 170 | 171 | // Transform 3D. 172 | 'backface-visibility', 173 | 'perspective', 174 | 'perspective-origin', 175 | 'transform-style', 176 | 177 | // Transition. 178 | 'transition', 179 | 'transition-delay', 180 | 'transition-duration', 181 | 'transition-property', 182 | 'transition-timing-function', 183 | 184 | // Unicode bidi. 185 | 'unicode-bidi', 186 | 187 | // User select. 188 | 'user-select', 189 | 190 | // Writing mode. 191 | 'writing-mode', 192 | 193 | ); 194 | 195 | /// Values that should be vendorized. 196 | /// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org 197 | /// @var {list} 198 | $vendor-values: ( 199 | 200 | // Cross fade. 201 | 'cross-fade', 202 | 203 | // Element function. 204 | 'element', 205 | 206 | // Filter function. 207 | 'filter', 208 | 209 | // Flexbox. 210 | 'flex', 211 | 'inline-flex', 212 | 213 | // Grab cursors. 214 | 'grab', 215 | 'grabbing', 216 | 217 | // Gradients. 218 | 'linear-gradient', 219 | 'repeating-linear-gradient', 220 | 'radial-gradient', 221 | 'repeating-radial-gradient', 222 | 223 | // Grid layout. 224 | 'grid', 225 | 'inline-grid', 226 | 227 | // Image set. 228 | 'image-set', 229 | 230 | // Intrinsic width. 231 | 'max-content', 232 | 'min-content', 233 | 'fit-content', 234 | 'fill', 235 | 'fill-available', 236 | 'stretch', 237 | 238 | // Sticky position. 239 | 'sticky', 240 | 241 | // Transform. 242 | 'transform', 243 | 244 | // Zoom cursors. 245 | 'zoom-in', 246 | 'zoom-out', 247 | 248 | ); 249 | 250 | // Functions. 251 | 252 | /// Removes a specific item from a list. 253 | /// @author Hugo Giraudel 254 | /// @param {list} $list List. 255 | /// @param {integer} $index Index. 256 | /// @return {list} Updated list. 257 | @function remove-nth($list, $index) { 258 | 259 | $result: null; 260 | 261 | @if type-of($index) != number { 262 | @warn "$index: #{quote($index)} is not a number for `remove-nth`."; 263 | } 264 | @else if $index == 0 { 265 | @warn "List index 0 must be a non-zero integer for `remove-nth`."; 266 | } 267 | @else if abs($index) > length($list) { 268 | @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`."; 269 | } 270 | @else { 271 | 272 | $result: (); 273 | $index: if($index < 0, length($list) + $index + 1, $index); 274 | 275 | @for $i from 1 through length($list) { 276 | 277 | @if $i != $index { 278 | $result: append($result, nth($list, $i)); 279 | } 280 | 281 | } 282 | 283 | } 284 | 285 | @return $result; 286 | 287 | } 288 | 289 | /// Replaces a substring within another string. 290 | /// @author Hugo Giraudel 291 | /// @param {string} $string String. 292 | /// @param {string} $search Substring. 293 | /// @param {string} $replace Replacement. 294 | /// @return {string} Updated string. 295 | @function str-replace($string, $search, $replace: '') { 296 | 297 | $index: str-index($string, $search); 298 | 299 | @if $index { 300 | @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace); 301 | } 302 | 303 | @return $string; 304 | 305 | } 306 | 307 | /// Replaces a substring within each string in a list. 308 | /// @param {list} $strings List of strings. 309 | /// @param {string} $search Substring. 310 | /// @param {string} $replace Replacement. 311 | /// @return {list} Updated list of strings. 312 | @function str-replace-all($strings, $search, $replace: '') { 313 | 314 | @each $string in $strings { 315 | $strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace)); 316 | } 317 | 318 | @return $strings; 319 | 320 | } 321 | 322 | // Mixins. 323 | 324 | /// Wraps @content in vendorized keyframe blocks. 325 | /// @param {string} $name Name. 326 | @mixin keyframes($name) { 327 | 328 | @-moz-keyframes #{$name} { @content; } 329 | @-webkit-keyframes #{$name} { @content; } 330 | @-ms-keyframes #{$name} { @content; } 331 | @keyframes #{$name} { @content; } 332 | 333 | } 334 | 335 | /// Vendorizes a declaration's property and/or value(s). 336 | /// @param {string} $property Property. 337 | /// @param {mixed} $value String/list of value(s). 338 | @mixin vendor($property, $value) { 339 | 340 | // Determine if property should expand. 341 | $expandProperty: index($vendor-properties, $property); 342 | 343 | // Determine if value should expand (and if so, add '-prefix-' placeholder). 344 | $expandValue: false; 345 | 346 | @each $x in $value { 347 | @each $y in $vendor-values { 348 | @if $y == str-slice($x, 1, str-length($y)) { 349 | 350 | $value: set-nth($value, index($value, $x), '-prefix-' + $x); 351 | $expandValue: true; 352 | 353 | } 354 | } 355 | } 356 | 357 | // Expand property? 358 | @if $expandProperty { 359 | @each $vendor in $vendor-prefixes { 360 | #{$vendor}#{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; 361 | } 362 | } 363 | 364 | // Expand just the value? 365 | @elseif $expandValue { 366 | @each $vendor in $vendor-prefixes { 367 | #{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; 368 | } 369 | } 370 | 371 | // Neither? Treat them as a normal declaration. 372 | @else { 373 | #{$property}: #{$value}; 374 | } 375 | 376 | } -------------------------------------------------------------------------------- /public/assets/js/util.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | 3 | /** 4 | * Generate an indented list of links from a nav. Meant for use with panel(). 5 | * @return {jQuery} jQuery object. 6 | */ 7 | $.fn.navList = function() { 8 | 9 | var $this = $(this); 10 | $a = $this.find('a'), 11 | b = []; 12 | 13 | $a.each(function() { 14 | 15 | var $this = $(this), 16 | indent = Math.max(0, $this.parents('li').length - 1), 17 | href = $this.attr('href'), 18 | target = $this.attr('target'); 19 | 20 | b.push( 21 | '' + 26 | '' + 27 | $this.text() + 28 | '' 29 | ); 30 | 31 | }); 32 | 33 | return b.join(''); 34 | 35 | }; 36 | 37 | /** 38 | * Panel-ify an element. 39 | * @param {object} userConfig User config. 40 | * @return {jQuery} jQuery object. 41 | */ 42 | $.fn.panel = function(userConfig) { 43 | 44 | // No elements? 45 | if (this.length == 0) 46 | return $this; 47 | 48 | // Multiple elements? 49 | if (this.length > 1) { 50 | 51 | for (var i=0; i < this.length; i++) 52 | $(this[i]).panel(userConfig); 53 | 54 | return $this; 55 | 56 | } 57 | 58 | // Vars. 59 | var $this = $(this), 60 | $body = $('body'), 61 | $window = $(window), 62 | id = $this.attr('id'), 63 | config; 64 | 65 | // Config. 66 | config = $.extend({ 67 | 68 | // Delay. 69 | delay: 0, 70 | 71 | // Hide panel on link click. 72 | hideOnClick: false, 73 | 74 | // Hide panel on escape keypress. 75 | hideOnEscape: false, 76 | 77 | // Hide panel on swipe. 78 | hideOnSwipe: false, 79 | 80 | // Reset scroll position on hide. 81 | resetScroll: false, 82 | 83 | // Reset forms on hide. 84 | resetForms: false, 85 | 86 | // Side of viewport the panel will appear. 87 | side: null, 88 | 89 | // Target element for "class". 90 | target: $this, 91 | 92 | // Class to toggle. 93 | visibleClass: 'visible' 94 | 95 | }, userConfig); 96 | 97 | // Expand "target" if it's not a jQuery object already. 98 | if (typeof config.target != 'jQuery') 99 | config.target = $(config.target); 100 | 101 | // Panel. 102 | 103 | // Methods. 104 | $this._hide = function(event) { 105 | 106 | // Already hidden? Bail. 107 | if (!config.target.hasClass(config.visibleClass)) 108 | return; 109 | 110 | // If an event was provided, cancel it. 111 | if (event) { 112 | 113 | event.preventDefault(); 114 | event.stopPropagation(); 115 | 116 | } 117 | 118 | // Hide. 119 | config.target.removeClass(config.visibleClass); 120 | 121 | // Post-hide stuff. 122 | window.setTimeout(function() { 123 | 124 | // Reset scroll position. 125 | if (config.resetScroll) 126 | $this.scrollTop(0); 127 | 128 | // Reset forms. 129 | if (config.resetForms) 130 | $this.find('form').each(function() { 131 | this.reset(); 132 | }); 133 | 134 | }, config.delay); 135 | 136 | }; 137 | 138 | // Vendor fixes. 139 | $this 140 | .css('-ms-overflow-style', '-ms-autohiding-scrollbar') 141 | .css('-webkit-overflow-scrolling', 'touch'); 142 | 143 | // Hide on click. 144 | if (config.hideOnClick) { 145 | 146 | $this.find('a') 147 | .css('-webkit-tap-highlight-color', 'rgba(0,0,0,0)'); 148 | 149 | $this 150 | .on('click', 'a', function(event) { 151 | 152 | var $a = $(this), 153 | href = $a.attr('href'), 154 | target = $a.attr('target'); 155 | 156 | if (!href || href == '#' || href == '' || href == '#' + id) 157 | return; 158 | 159 | // Cancel original event. 160 | event.preventDefault(); 161 | event.stopPropagation(); 162 | 163 | // Hide panel. 164 | $this._hide(); 165 | 166 | // Redirect to href. 167 | window.setTimeout(function() { 168 | 169 | if (target == '_blank') 170 | window.open(href); 171 | else 172 | window.location.href = href; 173 | 174 | }, config.delay + 10); 175 | 176 | }); 177 | 178 | } 179 | 180 | // Event: Touch stuff. 181 | $this.on('touchstart', function(event) { 182 | 183 | $this.touchPosX = event.originalEvent.touches[0].pageX; 184 | $this.touchPosY = event.originalEvent.touches[0].pageY; 185 | 186 | }) 187 | 188 | $this.on('touchmove', function(event) { 189 | 190 | if ($this.touchPosX === null 191 | || $this.touchPosY === null) 192 | return; 193 | 194 | var diffX = $this.touchPosX - event.originalEvent.touches[0].pageX, 195 | diffY = $this.touchPosY - event.originalEvent.touches[0].pageY, 196 | th = $this.outerHeight(), 197 | ts = ($this.get(0).scrollHeight - $this.scrollTop()); 198 | 199 | // Hide on swipe? 200 | if (config.hideOnSwipe) { 201 | 202 | var result = false, 203 | boundary = 20, 204 | delta = 50; 205 | 206 | switch (config.side) { 207 | 208 | case 'left': 209 | result = (diffY < boundary && diffY > (-1 * boundary)) && (diffX > delta); 210 | break; 211 | 212 | case 'right': 213 | result = (diffY < boundary && diffY > (-1 * boundary)) && (diffX < (-1 * delta)); 214 | break; 215 | 216 | case 'top': 217 | result = (diffX < boundary && diffX > (-1 * boundary)) && (diffY > delta); 218 | break; 219 | 220 | case 'bottom': 221 | result = (diffX < boundary && diffX > (-1 * boundary)) && (diffY < (-1 * delta)); 222 | break; 223 | 224 | default: 225 | break; 226 | 227 | } 228 | 229 | if (result) { 230 | 231 | $this.touchPosX = null; 232 | $this.touchPosY = null; 233 | $this._hide(); 234 | 235 | return false; 236 | 237 | } 238 | 239 | } 240 | 241 | // Prevent vertical scrolling past the top or bottom. 242 | if (($this.scrollTop() < 0 && diffY < 0) 243 | || (ts > (th - 2) && ts < (th + 2) && diffY > 0)) { 244 | 245 | event.preventDefault(); 246 | event.stopPropagation(); 247 | 248 | } 249 | 250 | }); 251 | 252 | // Event: Prevent certain events inside the panel from bubbling. 253 | $this.on('click touchend touchstart touchmove', function(event) { 254 | event.stopPropagation(); 255 | }); 256 | 257 | // Event: Hide panel if a child anchor tag pointing to its ID is clicked. 258 | $this.on('click', 'a[href="#' + id + '"]', function(event) { 259 | 260 | event.preventDefault(); 261 | event.stopPropagation(); 262 | 263 | config.target.removeClass(config.visibleClass); 264 | 265 | }); 266 | 267 | // Body. 268 | 269 | // Event: Hide panel on body click/tap. 270 | $body.on('click touchend', function(event) { 271 | $this._hide(event); 272 | }); 273 | 274 | // Event: Toggle. 275 | $body.on('click', 'a[href="#' + id + '"]', function(event) { 276 | 277 | event.preventDefault(); 278 | event.stopPropagation(); 279 | 280 | config.target.toggleClass(config.visibleClass); 281 | 282 | }); 283 | 284 | // Window. 285 | 286 | // Event: Hide on ESC. 287 | if (config.hideOnEscape) 288 | $window.on('keydown', function(event) { 289 | 290 | if (event.keyCode == 27) 291 | $this._hide(event); 292 | 293 | }); 294 | 295 | return $this; 296 | 297 | }; 298 | 299 | /** 300 | * Apply "placeholder" attribute polyfill to one or more forms. 301 | * @return {jQuery} jQuery object. 302 | */ 303 | $.fn.placeholder = function() { 304 | 305 | // Browser natively supports placeholders? Bail. 306 | if (typeof (document.createElement('input')).placeholder != 'undefined') 307 | return $(this); 308 | 309 | // No elements? 310 | if (this.length == 0) 311 | return $this; 312 | 313 | // Multiple elements? 314 | if (this.length > 1) { 315 | 316 | for (var i=0; i < this.length; i++) 317 | $(this[i]).placeholder(); 318 | 319 | return $this; 320 | 321 | } 322 | 323 | // Vars. 324 | var $this = $(this); 325 | 326 | // Text, TextArea. 327 | $this.find('input[type=text],textarea') 328 | .each(function() { 329 | 330 | var i = $(this); 331 | 332 | if (i.val() == '' 333 | || i.val() == i.attr('placeholder')) 334 | i 335 | .addClass('polyfill-placeholder') 336 | .val(i.attr('placeholder')); 337 | 338 | }) 339 | .on('blur', function() { 340 | 341 | var i = $(this); 342 | 343 | if (i.attr('name').match(/-polyfill-field$/)) 344 | return; 345 | 346 | if (i.val() == '') 347 | i 348 | .addClass('polyfill-placeholder') 349 | .val(i.attr('placeholder')); 350 | 351 | }) 352 | .on('focus', function() { 353 | 354 | var i = $(this); 355 | 356 | if (i.attr('name').match(/-polyfill-field$/)) 357 | return; 358 | 359 | if (i.val() == i.attr('placeholder')) 360 | i 361 | .removeClass('polyfill-placeholder') 362 | .val(''); 363 | 364 | }); 365 | 366 | // Password. 367 | $this.find('input[type=password]') 368 | .each(function() { 369 | 370 | var i = $(this); 371 | var x = $( 372 | $('
    ') 373 | .append(i.clone()) 374 | .remove() 375 | .html() 376 | .replace(/type="password"/i, 'type="text"') 377 | .replace(/type=password/i, 'type=text') 378 | ); 379 | 380 | if (i.attr('id') != '') 381 | x.attr('id', i.attr('id') + '-polyfill-field'); 382 | 383 | if (i.attr('name') != '') 384 | x.attr('name', i.attr('name') + '-polyfill-field'); 385 | 386 | x.addClass('polyfill-placeholder') 387 | .val(x.attr('placeholder')).insertAfter(i); 388 | 389 | if (i.val() == '') 390 | i.hide(); 391 | else 392 | x.hide(); 393 | 394 | i 395 | .on('blur', function(event) { 396 | 397 | event.preventDefault(); 398 | 399 | var x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]'); 400 | 401 | if (i.val() == '') { 402 | 403 | i.hide(); 404 | x.show(); 405 | 406 | } 407 | 408 | }); 409 | 410 | x 411 | .on('focus', function(event) { 412 | 413 | event.preventDefault(); 414 | 415 | var i = x.parent().find('input[name=' + x.attr('name').replace('-polyfill-field', '') + ']'); 416 | 417 | x.hide(); 418 | 419 | i 420 | .show() 421 | .focus(); 422 | 423 | }) 424 | .on('keypress', function(event) { 425 | 426 | event.preventDefault(); 427 | x.val(''); 428 | 429 | }); 430 | 431 | }); 432 | 433 | // Events. 434 | $this 435 | .on('submit', function() { 436 | 437 | $this.find('input[type=text],input[type=password],textarea') 438 | .each(function(event) { 439 | 440 | var i = $(this); 441 | 442 | if (i.attr('name').match(/-polyfill-field$/)) 443 | i.attr('name', ''); 444 | 445 | if (i.val() == i.attr('placeholder')) { 446 | 447 | i.removeClass('polyfill-placeholder'); 448 | i.val(''); 449 | 450 | } 451 | 452 | }); 453 | 454 | }) 455 | .on('reset', function(event) { 456 | 457 | event.preventDefault(); 458 | 459 | $this.find('select') 460 | .val($('option:first').val()); 461 | 462 | $this.find('input,textarea') 463 | .each(function() { 464 | 465 | var i = $(this), 466 | x; 467 | 468 | i.removeClass('polyfill-placeholder'); 469 | 470 | switch (this.type) { 471 | 472 | case 'submit': 473 | case 'reset': 474 | break; 475 | 476 | case 'password': 477 | i.val(i.attr('defaultValue')); 478 | 479 | x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]'); 480 | 481 | if (i.val() == '') { 482 | i.hide(); 483 | x.show(); 484 | } 485 | else { 486 | i.show(); 487 | x.hide(); 488 | } 489 | 490 | break; 491 | 492 | case 'checkbox': 493 | case 'radio': 494 | i.attr('checked', i.attr('defaultValue')); 495 | break; 496 | 497 | case 'text': 498 | case 'textarea': 499 | i.val(i.attr('defaultValue')); 500 | 501 | if (i.val() == '') { 502 | i.addClass('polyfill-placeholder'); 503 | i.val(i.attr('placeholder')); 504 | } 505 | 506 | break; 507 | 508 | default: 509 | i.val(i.attr('defaultValue')); 510 | break; 511 | 512 | } 513 | }); 514 | 515 | }); 516 | 517 | return $this; 518 | 519 | }; 520 | 521 | /** 522 | * Moves elements to/from the first positions of their respective parents. 523 | * @param {jQuery} $elements Elements (or selector) to move. 524 | * @param {bool} condition If true, moves elements to the top. Otherwise, moves elements back to their original locations. 525 | */ 526 | $.prioritize = function($elements, condition) { 527 | 528 | var key = '__prioritize'; 529 | 530 | // Expand $elements if it's not already a jQuery object. 531 | if (typeof $elements != 'jQuery') 532 | $elements = $($elements); 533 | 534 | // Step through elements. 535 | $elements.each(function() { 536 | 537 | var $e = $(this), $p, 538 | $parent = $e.parent(); 539 | 540 | // No parent? Bail. 541 | if ($parent.length == 0) 542 | return; 543 | 544 | // Not moved? Move it. 545 | if (!$e.data(key)) { 546 | 547 | // Condition is false? Bail. 548 | if (!condition) 549 | return; 550 | 551 | // Get placeholder (which will serve as our point of reference for when this element needs to move back). 552 | $p = $e.prev(); 553 | 554 | // Couldn't find anything? Means this element's already at the top, so bail. 555 | if ($p.length == 0) 556 | return; 557 | 558 | // Move element to top of parent. 559 | $e.prependTo($parent); 560 | 561 | // Mark element as moved. 562 | $e.data(key, $p); 563 | 564 | } 565 | 566 | // Moved already? 567 | else { 568 | 569 | // Condition is true? Bail. 570 | if (condition) 571 | return; 572 | 573 | $p = $e.data(key); 574 | 575 | // Move element back to its original location (using our placeholder). 576 | $e.insertAfter($p); 577 | 578 | // Unmark element as moved. 579 | $e.removeData(key); 580 | 581 | } 582 | 583 | }); 584 | 585 | }; 586 | 587 | })(jQuery); -------------------------------------------------------------------------------- /public/assets/sass/main.scss: -------------------------------------------------------------------------------- 1 | @import 'libs/vars'; 2 | @import 'libs/functions'; 3 | @import 'libs/mixins'; 4 | @import 'libs/vendor'; 5 | @import 'libs/breakpoints'; 6 | @import 'libs/html-grid'; 7 | @import url('fontawesome-all.min.css'); 8 | @import url("https://fonts.googleapis.com/css?family=Roboto:100,300,100italic,300italic"); 9 | 10 | /* 11 | Landed by HTML5 UP 12 | html5up.net | @ajlkn 13 | Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 14 | */ 15 | 16 | // Breakpoints. 17 | 18 | @include breakpoints(( 19 | xlarge: ( 1281px, 1680px ), 20 | large: ( 981px, 1280px ), 21 | medium: ( 737px, 980px ), 22 | small: ( 481px, 736px ), 23 | xsmall: ( null, 480px ), 24 | )); 25 | 26 | // Mixins. 27 | 28 | @mixin line-icon($bg: _palette(bg), $fg: _palette(fg-bold)) { 29 | @include icon; 30 | $size: 1px; 31 | 32 | &:before { 33 | color: $bg !important; 34 | text-shadow: $size 0 0 $fg, 35 | ($size * -1) 0 0 $fg, 36 | 0 $size 0 $fg, 37 | 0 ($size * -1) 0 $fg; 38 | } 39 | } 40 | 41 | $size-wrapper-pad-tb: 6em; 42 | $size-wrapper-pad-lr: 3em; 43 | 44 | // Reset. 45 | // Based on meyerweb.com/eric/tools/css/reset (v2.0 | 20110126 | License: public domain) 46 | 47 | html, body, div, span, applet, object, 48 | iframe, h1, h2, h3, h4, h5, h6, p, blockquote, 49 | pre, a, abbr, acronym, address, big, cite, 50 | code, del, dfn, em, img, ins, kbd, q, s, samp, 51 | small, strike, strong, sub, sup, tt, var, b, 52 | u, i, center, dl, dt, dd, ol, ul, li, fieldset, 53 | form, label, legend, table, caption, tbody, 54 | tfoot, thead, tr, th, td, article, aside, 55 | canvas, details, embed, figure, figcaption, 56 | footer, header, hgroup, menu, nav, output, ruby, 57 | section, summary, time, mark, audio, video { 58 | margin: 0; 59 | padding: 0; 60 | border: 0; 61 | font-size: 100%; 62 | font: inherit; 63 | vertical-align: baseline; 64 | } 65 | 66 | article, aside, details, figcaption, figure, 67 | footer, header, hgroup, menu, nav, section { 68 | display: block; 69 | } 70 | 71 | body { 72 | line-height: 1; 73 | } 74 | 75 | ol, ul { 76 | list-style:none; 77 | } 78 | 79 | blockquote, q { 80 | quotes: none; 81 | 82 | &:before, 83 | &:after { 84 | content: ''; 85 | content: none; 86 | } 87 | } 88 | 89 | table { 90 | border-collapse: collapse; 91 | border-spacing: 0; 92 | } 93 | 94 | body { 95 | -webkit-text-size-adjust: none; 96 | } 97 | 98 | mark { 99 | background-color: transparent; 100 | color: inherit; 101 | } 102 | 103 | input::-moz-focus-inner { 104 | border: 0; 105 | padding: 0; 106 | } 107 | 108 | input, select, textarea { 109 | -moz-appearance: none; 110 | -webkit-appearance: none; 111 | -ms-appearance: none; 112 | appearance: none; 113 | } 114 | 115 | /* Basic */ 116 | 117 | // Set box model to border-box. 118 | // Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice 119 | html { 120 | box-sizing: border-box; 121 | } 122 | 123 | *, *:before, *:after { 124 | box-sizing: inherit; 125 | } 126 | 127 | html, body { 128 | background: _palette(bg); 129 | } 130 | 131 | body { 132 | 133 | // Stops initial animations until page loads. 134 | &.is-preload { 135 | *, *:before, *:after { 136 | @include vendor('animation', 'none !important'); 137 | @include vendor('transition', 'none !important'); 138 | } 139 | } 140 | 141 | } 142 | 143 | body, input, select, textarea { 144 | color: _palette(fg); 145 | font-family: _font(family); 146 | font-size: 15pt; 147 | font-weight: _font(weight); 148 | line-height: 1.75em; 149 | } 150 | 151 | a { 152 | @include vendor('transition', ('border-color #{_duration(transition)} ease-in-out', 'color #{_duration(transition)} ease-in-out')); 153 | border-bottom: dotted 1px; 154 | color: _palette(accent1); 155 | text-decoration: none; 156 | 157 | &:hover { 158 | color: _palette(accent1) !important; 159 | border-bottom-color: transparent; 160 | } 161 | } 162 | 163 | strong, b { 164 | color: _palette(fg-bold); 165 | font-weight: _font(weight-bold); 166 | } 167 | 168 | em, i { 169 | font-style: italic; 170 | } 171 | 172 | p { 173 | margin: 0 0 _size(element-margin) 0; 174 | } 175 | 176 | h1, h2, h3, h4, h5, h6 { 177 | color: _palette(fg-bold); 178 | font-weight: _font(weight-bold); 179 | line-height: 1em; 180 | margin: 0 0 (_size(element-margin) * 0.5) 0; 181 | 182 | a { 183 | color: inherit; 184 | border: 0; 185 | } 186 | } 187 | 188 | h2 { 189 | font-size: 2em; 190 | line-height: 1.5em; 191 | letter-spacing: -0.025em; 192 | } 193 | 194 | h3 { 195 | font-size: 1.35em; 196 | line-height: 1.5em; 197 | } 198 | 199 | h4 { 200 | font-size: 1.1em; 201 | line-height: 1.5em; 202 | } 203 | 204 | h5 { 205 | font-size: 0.9em; 206 | line-height: 1.5em; 207 | } 208 | 209 | h6 { 210 | font-size: 0.7em; 211 | line-height: 1.5em; 212 | } 213 | 214 | sub { 215 | font-size: 0.8em; 216 | position: relative; 217 | top: 0.5em; 218 | } 219 | 220 | sup { 221 | font-size: 0.8em; 222 | position: relative; 223 | top: -0.5em; 224 | } 225 | 226 | hr { 227 | border: 0; 228 | border-bottom: solid 1px _palette(border); 229 | margin: (_size(element-margin) * 1.5) 0; 230 | 231 | &.major { 232 | margin: (_size(element-margin) * 2) 0; 233 | } 234 | } 235 | 236 | blockquote { 237 | border-left: solid 4px _palette(border); 238 | font-style: italic; 239 | margin: 0 0 _size(element-margin) 0; 240 | padding: 0.5em 0 0.5em 2em; 241 | } 242 | 243 | code { 244 | background: _palette(border-bg); 245 | border-radius: _size(border-radius); 246 | font-family: _font(family-fixed); 247 | font-size: 0.9em; 248 | margin: 0 0.25em; 249 | padding: 0.25em 0.65em; 250 | } 251 | 252 | pre { 253 | -webkit-overflow-scrolling: touch; 254 | font-family: _font(family-fixed); 255 | font-size: 0.9em; 256 | margin: 0 0 _size(element-margin) 0; 257 | 258 | code { 259 | display: block; 260 | line-height: 1.75em; 261 | padding: 1em 1.5em; 262 | overflow-x: auto; 263 | } 264 | } 265 | 266 | .align-left { 267 | text-align: left; 268 | } 269 | 270 | .align-center { 271 | text-align: center; 272 | } 273 | 274 | .align-right { 275 | text-align: right; 276 | } 277 | 278 | /* Loader */ 279 | 280 | // Spinner 281 | 282 | @include keyframes('spinner-show') { 283 | 0% { opacity: 0; } 284 | 100% { opacity: 1; } 285 | } 286 | 287 | @include keyframes('spinner-hide') { 288 | 0% { color: _palette(fg-lighter); z-index: _misc(z-index-overlay) + 1; @include vendor('transform', 'scale(1) rotate(0deg)'); } 289 | 99% { color: _palette(bg); z-index: _misc(z-index-overlay) + 1; @include vendor('transform', 'scale(0.5) rotate(360deg)'); } 290 | 100% { color: _palette(bg); z-index: -1; @include vendor('transform', 'scale(0.5) rotate(360deg)'); } 291 | } 292 | 293 | @include keyframes('spinner-rotate') { 294 | 0% { @include vendor('transform', 'scale(1) rotate(0deg)'); } 295 | 100% { @include vendor('transform', 'scale(1) rotate(360deg)'); } 296 | } 297 | 298 | // Overlay 299 | 300 | @include keyframes('overlay-hide') { 301 | 0% { opacity: 1; z-index: _misc(z-index-overlay); } 302 | 15% { opacity: 1; z-index: _misc(z-index-overlay); } 303 | 99% { opacity: 0; z-index: _misc(z-index-overlay); } 304 | 100% { opacity: 0; z-index: -1; } 305 | } 306 | 307 | body.landing { 308 | @include icon(false, solid); 309 | 310 | // Spinner (inactive) 311 | 312 | &:before { 313 | @include vendor('animation', ('spinner-show 1.5s 1 0.25s ease forwards', 'spinner-hide 0.25s ease-in-out forwards !important')); 314 | @include vendor('transform-origin', '50% 50%'); 315 | 316 | color: _palette(fg-lighter); 317 | content: '\f1ce'; 318 | cursor: default; 319 | display: block; 320 | font-size: 2em; 321 | height: 2em; 322 | left: 50%; 323 | line-height: 2em; 324 | margin: -1em 0 0 -1em; 325 | opacity: 0; 326 | position: fixed; 327 | text-align: center; 328 | top: 50%; 329 | width: 2em; 330 | z-index: -1; 331 | } 332 | 333 | // Overlay (inactive) 334 | 335 | &:after { 336 | @include vendor('animation', 'overlay-hide #{_duration(landing-fadein)} ease-in forwards !important'); 337 | background: _palette(bg); 338 | content: ''; 339 | display: block; 340 | height: 100%; 341 | left: 0; 342 | opacity: 0; 343 | position: fixed; 344 | top: 0; 345 | width: 100%; 346 | z-index: -1; 347 | } 348 | 349 | &.is-preload { 350 | 351 | // Spinner (active) 352 | 353 | &:before { 354 | @include vendor('animation', ('spinner-show 1.5s 1 0.25s ease forwards', 'spinner-rotate 0.75s infinite linear !important')); 355 | z-index: _misc(z-index-overlay) + 1; 356 | } 357 | 358 | // Overlay (active) 359 | 360 | &:after { 361 | @include vendor('animation', 'none !important'); 362 | opacity: 1; 363 | z-index: _misc(z-index-overlay); 364 | } 365 | 366 | } 367 | } 368 | 369 | @media (-webkit-min-device-pixel-ratio: 2) { 370 | body.landing:before { 371 | line-height: 2.025em; 372 | } 373 | } 374 | 375 | /* Container */ 376 | 377 | .container { 378 | margin: 0 auto; 379 | max-width: calc(100% - #{_size(element-margin) * 2}); 380 | width: _size(container-width); 381 | 382 | &.xsmall { 383 | width: (_size(container-width) * 0.25); 384 | } 385 | 386 | &.small { 387 | width: (_size(container-width) * 0.5); 388 | } 389 | 390 | &.medium { 391 | width: (_size(container-width) * 0.75); 392 | } 393 | 394 | &.large { 395 | width: (_size(container-width) * 1.25); 396 | } 397 | 398 | &.xlarge { 399 | width: (_size(container-width) * 1.5); 400 | } 401 | 402 | &.max { 403 | width: 100%; 404 | } 405 | 406 | @include breakpoint('<=large') { 407 | width: 90%; 408 | max-width: 100%; 409 | } 410 | 411 | @include breakpoint('<=medium') { 412 | width: 100% !important; 413 | } 414 | } 415 | 416 | /* Row */ 417 | 418 | .row { 419 | @include html-grid(2.5em); 420 | 421 | @include breakpoint('<=xlarge') { 422 | @include html-grid(2.5em, 'xlarge'); 423 | } 424 | 425 | @include breakpoint('<=large') { 426 | @include html-grid(2.5em, 'large'); 427 | } 428 | 429 | @include breakpoint('<=medium') { 430 | @include html-grid(2.5em, 'medium'); 431 | } 432 | 433 | @include breakpoint('<=small') { 434 | @include html-grid(2.5em, 'small'); 435 | } 436 | 437 | @include breakpoint('<=xsmall') { 438 | @include html-grid(2.5em, 'xsmall'); 439 | } 440 | } 441 | 442 | /* Section/Article */ 443 | 444 | section, article { 445 | &.special { 446 | text-align: center; 447 | } 448 | } 449 | 450 | header { 451 | p { 452 | color: _palette(fg-bold); 453 | position: relative; 454 | margin: 0 0 (_size(element-margin) * 0.75) 0; 455 | } 456 | 457 | h2 + p { 458 | font-size: 1.25em; 459 | margin-top: (_size(element-margin) * -0.5); 460 | line-height: 1.75em; 461 | } 462 | 463 | h3 + p { 464 | font-size: 1.1em; 465 | margin-top: (_size(element-margin) * -0.4); 466 | line-height: 1.75em; 467 | } 468 | 469 | h4 + p, 470 | h5 + p, 471 | h6 + p { 472 | font-size: 0.9em; 473 | margin-top: (_size(element-margin) * -0.3); 474 | line-height: 1.5em; 475 | } 476 | 477 | &.major { 478 | margin: 0 0 (_size(element-margin) * 2) 0; 479 | position: relative; 480 | text-align: center; 481 | 482 | &:after { 483 | background: _palette(accent1); 484 | content: ''; 485 | display: inline-block; 486 | height: 0.2em; 487 | max-width: 20em; 488 | width: 75%; 489 | } 490 | } 491 | } 492 | 493 | footer { 494 | &.major { 495 | margin: (_size(element-margin) * 2) 0 0 0; 496 | } 497 | } 498 | 499 | /* Form */ 500 | 501 | form { 502 | margin: 0 0 _size(element-margin) 0; 503 | 504 | &.cta { 505 | max-width: 35em; 506 | margin-left: auto; 507 | margin-right: auto; 508 | } 509 | } 510 | 511 | label { 512 | color: _palette(fg-bold); 513 | display: block; 514 | font-size: 0.9em; 515 | font-weight: _font(weight-bold); 516 | margin: 0 0 (_size(element-margin) * 0.5) 0; 517 | } 518 | 519 | input[type="text"], 520 | input[type="password"], 521 | input[type="email"], 522 | select, 523 | textarea { 524 | @include vendor('appearance', 'none'); 525 | @include vendor('transition', 'border-color #{_duration(transition)} ease-in-out'); 526 | background: transparent; 527 | border-radius: _size(border-radius); 528 | border: solid 1px _palette(border); 529 | color: inherit; 530 | display: block; 531 | outline: 0; 532 | padding: 0 1em; 533 | text-decoration: none; 534 | width: 100%; 535 | 536 | &:invalid { 537 | box-shadow: none; 538 | } 539 | 540 | &:focus { 541 | border-color: _palette(accent1); 542 | } 543 | } 544 | 545 | select { 546 | background-image: svg-url(""); 547 | background-size: 1.25rem; 548 | background-repeat: no-repeat; 549 | background-position: calc(100% - 1rem) center; 550 | height: _size(element-height); 551 | padding-right: _size(element-height); 552 | text-overflow: ellipsis; 553 | 554 | option { 555 | color: _palette(fg-bold); 556 | background: _palette(bg); 557 | } 558 | 559 | &:focus { 560 | &::-ms-value { 561 | background-color: transparent; 562 | } 563 | } 564 | 565 | &::-ms-expand { 566 | display: none; 567 | } 568 | } 569 | 570 | input[type="text"], 571 | input[type="password"], 572 | input[type="email"], 573 | select { 574 | height: _size(element-height); 575 | } 576 | 577 | textarea { 578 | padding: 0.75em 1em; 579 | } 580 | 581 | input[type="checkbox"], 582 | input[type="radio"], { 583 | @include vendor('appearance', 'none'); 584 | display: block; 585 | float: left; 586 | margin-right: -2em; 587 | opacity: 0; 588 | width: 1em; 589 | z-index: -1; 590 | 591 | & + label { 592 | @include icon(false, solid); 593 | color: _palette(fg); 594 | cursor: pointer; 595 | display: inline-block; 596 | font-size: 1em; 597 | font-weight: _font(weight); 598 | padding-left: (_size(element-height) * 0.6) + 0.75em; 599 | padding-right: 0.75em; 600 | position: relative; 601 | 602 | &:before { 603 | border-radius: _size(border-radius); 604 | border: solid 1px _palette(border); 605 | content: ''; 606 | display: inline-block; 607 | font-size: 0.8em; 608 | height: (_size(element-height) * 0.75); 609 | left: 0; 610 | line-height: (_size(element-height) * 0.75); 611 | position: absolute; 612 | text-align: center; 613 | top: 0; 614 | width: (_size(element-height) * 0.75); 615 | } 616 | } 617 | 618 | &:checked + label { 619 | &:before { 620 | background: _palette(border2-bg); 621 | color: _palette(fg-bold); 622 | content: '\f00c'; 623 | } 624 | } 625 | 626 | &:focus + label { 627 | &:before { 628 | border-color: _palette(accent1); 629 | } 630 | } 631 | } 632 | 633 | input[type="checkbox"] { 634 | & + label { 635 | &:before { 636 | border-radius: _size(border-radius); 637 | } 638 | } 639 | } 640 | 641 | input[type="radio"] { 642 | & + label { 643 | &:before { 644 | border-radius: 100%; 645 | } 646 | } 647 | } 648 | 649 | ::-webkit-input-placeholder { 650 | color: _palette(fg-light) !important; 651 | opacity: 1.0; 652 | } 653 | 654 | :-moz-placeholder { 655 | color: _palette(fg-light) !important; 656 | opacity: 1.0; 657 | } 658 | 659 | ::-moz-placeholder { 660 | color: _palette(fg-light) !important; 661 | opacity: 1.0; 662 | } 663 | 664 | :-ms-input-placeholder { 665 | color: _palette(fg-light) !important; 666 | opacity: 1.0; 667 | } 668 | 669 | /* Box */ 670 | 671 | .box { 672 | border-radius: _size(border-radius); 673 | border: solid 1px _palette(border); 674 | margin-bottom: _size(element-margin); 675 | padding: 1.5em; 676 | 677 | > :last-child, 678 | > :last-child > :last-child, 679 | > :last-child > :last-child > :last-child { 680 | margin-bottom: 0; 681 | } 682 | 683 | &.alt { 684 | border: 0; 685 | border-radius: 0; 686 | padding: 0; 687 | } 688 | } 689 | 690 | /* Icon */ 691 | 692 | .icon { 693 | @include icon; 694 | border-bottom: none; 695 | position: relative; 696 | 697 | > .label { 698 | display: none; 699 | } 700 | 701 | &:before { 702 | line-height: inherit; 703 | } 704 | 705 | &.solid { 706 | &:before { 707 | font-weight: 900 !important; 708 | } 709 | } 710 | 711 | &.brands { 712 | &:before { 713 | font-family: 'Font Awesome 5 Brands' !important; 714 | } 715 | } 716 | 717 | &.alt { 718 | @include line-icon; 719 | } 720 | 721 | &.major { 722 | background: _palette(accent2); 723 | border-radius: 100%; 724 | cursor: default; 725 | display: inline-block; 726 | height: 6em; 727 | line-height: 5.65em; 728 | margin: 0 0 _size(element-margin) 0; 729 | text-align: center; 730 | width: 6em; 731 | 732 | &:before { 733 | font-size: 2.25em; 734 | } 735 | 736 | &.alt { 737 | @include line-icon(_palette(accent2)); 738 | } 739 | } 740 | } 741 | 742 | /* Image */ 743 | 744 | .image { 745 | border-radius: _size(border-radius); 746 | border: 0; 747 | display: inline-block; 748 | position: relative; 749 | overflow: hidden; 750 | 751 | &:before { 752 | content: ''; 753 | display: block; 754 | position: absolute; 755 | left: 0; 756 | top: 0; 757 | background-image: url('images/overlay.png'); 758 | width: 100%; 759 | height: 100%; 760 | z-index: 1; 761 | } 762 | 763 | img { 764 | border-radius: _size(border-radius); 765 | display: block; 766 | } 767 | 768 | &.left { 769 | float: left; 770 | margin: 0 1.5em 1em 0; 771 | top: 0.25em; 772 | } 773 | 774 | &.right { 775 | float: right; 776 | margin: 0 0 1em 1.5em; 777 | top: 0.25em; 778 | } 779 | 780 | &.left, 781 | &.right { 782 | max-width: 40%; 783 | 784 | img { 785 | width: 100%; 786 | } 787 | } 788 | 789 | &.fit { 790 | display: block; 791 | margin: 0 0 _size(element-margin) 0; 792 | width: 100%; 793 | 794 | img { 795 | width: 100%; 796 | } 797 | } 798 | } 799 | 800 | /* List */ 801 | 802 | ol { 803 | list-style: decimal; 804 | margin: 0 0 _size(element-margin) 0; 805 | padding-left: 1.25em; 806 | 807 | li { 808 | padding-left: 0.25em; 809 | } 810 | } 811 | 812 | ul { 813 | list-style: disc; 814 | margin: 0 0 _size(element-margin) 0; 815 | padding-left: 1em; 816 | 817 | li { 818 | padding-left: 0.5em; 819 | } 820 | 821 | &.alt { 822 | list-style: none; 823 | padding-left: 0; 824 | 825 | li { 826 | border-top: solid 1px _palette(border); 827 | padding: 0.5em 0; 828 | 829 | &:first-child { 830 | border-top: 0; 831 | padding-top: 0; 832 | } 833 | } 834 | } 835 | 836 | } 837 | 838 | dl { 839 | margin: 0 0 _size(element-margin) 0; 840 | } 841 | 842 | /* Icons */ 843 | 844 | ul.icons { 845 | cursor: default; 846 | list-style: none; 847 | padding-left: 0; 848 | 849 | li { 850 | display: inline-block; 851 | height: 2.5em; 852 | line-height: 2.5em; 853 | padding: 0 0.5em; 854 | 855 | .icon { 856 | font-size: 0.8em; 857 | 858 | &:before { 859 | font-size: 2em; 860 | } 861 | } 862 | } 863 | } 864 | 865 | /* Actions */ 866 | 867 | ul.actions { 868 | @include vendor('display', 'flex'); 869 | cursor: default; 870 | list-style: none; 871 | margin-left: (_size(element-margin) * -0.5); 872 | padding-left: 0; 873 | 874 | li { 875 | padding: 0 0 0 (_size(element-margin) * 0.5); 876 | vertical-align: middle; 877 | } 878 | 879 | &.special { 880 | @include vendor('justify-content', 'center'); 881 | width: 100%; 882 | margin-left: 0; 883 | 884 | li { 885 | &:first-child { 886 | padding-left: 0; 887 | } 888 | } 889 | } 890 | 891 | &.stacked { 892 | @include vendor('flex-direction', 'column'); 893 | margin-left: 0; 894 | 895 | li { 896 | padding: (_size(element-margin) * 0.65) 0 0 0; 897 | 898 | &:first-child { 899 | padding-top: 0; 900 | } 901 | } 902 | } 903 | 904 | &.fit { 905 | width: calc(100% + #{_size(element-margin) * 0.5}); 906 | 907 | li { 908 | @include vendor('flex-grow', '1'); 909 | @include vendor('flex-shrink', '1'); 910 | width: 100%; 911 | 912 | > * { 913 | width: 100%; 914 | } 915 | } 916 | 917 | &.stacked { 918 | width: 100%; 919 | } 920 | } 921 | 922 | @include breakpoint('<=xsmall') { 923 | &:not(.fixed) { 924 | @include vendor('flex-direction', 'column'); 925 | margin-left: 0; 926 | width: 100% !important; 927 | 928 | li { 929 | @include vendor('flex-grow', '1'); 930 | @include vendor('flex-shrink', '1'); 931 | padding: (_size(element-margin) * 0.5) 0 0 0; 932 | text-align: center; 933 | width: 100%; 934 | 935 | > * { 936 | width: 100%; 937 | } 938 | 939 | &:first-child { 940 | padding-top: 0; 941 | } 942 | 943 | input[type="submit"], 944 | input[type="reset"], 945 | input[type="button"], 946 | button, 947 | .button { 948 | width: 100%; 949 | 950 | &.icon { 951 | &:before { 952 | margin-left: -0.5em; 953 | } 954 | } 955 | } 956 | } 957 | } 958 | } 959 | } 960 | 961 | /* Table */ 962 | 963 | .table-wrapper { 964 | -webkit-overflow-scrolling: touch; 965 | overflow-x: auto; 966 | } 967 | 968 | table { 969 | margin: 0 0 _size(element-margin) 0; 970 | width: 100%; 971 | 972 | tbody { 973 | tr { 974 | border: solid 1px _palette(border); 975 | border-left: 0; 976 | border-right: 0; 977 | 978 | &:nth-child(2n + 1) { 979 | background-color: _palette(border-bg); 980 | } 981 | } 982 | } 983 | 984 | td { 985 | padding: 0.75em 0.75em; 986 | } 987 | 988 | th { 989 | color: _palette(fg-bold); 990 | font-size: 0.9em; 991 | font-weight: _font(weight-bold); 992 | padding: 0 0.75em 0.75em 0.75em; 993 | text-align: left; 994 | } 995 | 996 | thead { 997 | border-bottom: solid 1px _palette(border); 998 | } 999 | 1000 | tfoot { 1001 | border-top: solid 1px _palette(border); 1002 | } 1003 | 1004 | &.alt { 1005 | border-collapse: separate; 1006 | 1007 | tbody { 1008 | tr { 1009 | td { 1010 | border: solid 1px _palette(border); 1011 | border-left-width: 0; 1012 | border-top-width: 0; 1013 | 1014 | &:first-child { 1015 | border-left-width: 1px; 1016 | } 1017 | } 1018 | 1019 | &:first-child { 1020 | td { 1021 | border-top-width: 1px; 1022 | } 1023 | } 1024 | } 1025 | } 1026 | 1027 | thead { 1028 | border-bottom: 0; 1029 | } 1030 | 1031 | tfoot { 1032 | border-top: 0; 1033 | } 1034 | } 1035 | } 1036 | 1037 | /* Button */ 1038 | 1039 | input[type="submit"], 1040 | input[type="reset"], 1041 | input[type="button"], 1042 | .button { 1043 | @include vendor('appearance', 'none'); 1044 | @include vendor('transition', ('background-color #{_duration(transition)} ease-in-out', 'color #{_duration(transition)} ease-in-out', 'box-shadow #{_duration(transition)} ease-in-out')); 1045 | background-color: transparent; 1046 | border-radius: _size(border-radius); 1047 | border: 0; 1048 | box-shadow: inset 0 0 0 1px _palette(border); 1049 | color: _palette(fg-bold) !important; 1050 | cursor: pointer; 1051 | display: inline-block; 1052 | font-weight: _font(weight-bold); 1053 | height: _size(element-height); 1054 | line-height: _size(element-height); 1055 | padding: 0 2.25em; 1056 | text-align: center; 1057 | text-decoration: none; 1058 | white-space: nowrap; 1059 | 1060 | &:hover, &:active { 1061 | box-shadow: inset 0 0 0 1px _palette(accent1); 1062 | color: _palette(accent1) !important; 1063 | } 1064 | 1065 | &:active { 1066 | background-color: transparentize(_palette(accent1), 0.85); 1067 | } 1068 | 1069 | &.icon { 1070 | &:before { 1071 | margin-right: 0.5em; 1072 | } 1073 | } 1074 | 1075 | &.fit { 1076 | width: 100%; 1077 | } 1078 | 1079 | &.small { 1080 | font-size: 0.8em; 1081 | } 1082 | 1083 | &.large { 1084 | font-size: 1.35em; 1085 | } 1086 | 1087 | &.primary { 1088 | background-color: _palette(accent1); 1089 | box-shadow: none; 1090 | color: _palette(fg-bold) !important; 1091 | 1092 | &:hover { 1093 | background-color: lighten(_palette(accent1), 5); 1094 | } 1095 | 1096 | &:active { 1097 | background-color: darken(_palette(accent1), 5); 1098 | } 1099 | } 1100 | 1101 | &.disabled, 1102 | &:disabled { 1103 | background-color: _palette(border) !important; 1104 | box-shadow: none !important; 1105 | color: _palette(fg-bold) !important; 1106 | cursor: default; 1107 | opacity: 0.25; 1108 | } 1109 | } 1110 | 1111 | /* Goto Next */ 1112 | 1113 | .goto-next { 1114 | border: 0; 1115 | bottom: 0; 1116 | display: block; 1117 | height: 5em; 1118 | left: 50%; 1119 | margin: 0 0 0 -5em; 1120 | overflow: hidden; 1121 | position: absolute; 1122 | text-indent: 10em; 1123 | white-space: nowrap; 1124 | width: 10em; 1125 | z-index: 1; 1126 | 1127 | &:before { 1128 | background-image: url('images/arrow.svg'); 1129 | background-position: center center; 1130 | background-repeat: no-repeat; 1131 | background-size: contain; 1132 | content: ''; 1133 | display: block; 1134 | height: 1.5em; 1135 | left: 50%; 1136 | margin: -0.75em 0 0 -1em; 1137 | position: absolute; 1138 | top: 50%; 1139 | width: 2em; 1140 | z-index: 1; 1141 | } 1142 | } 1143 | 1144 | /* Spotlight */ 1145 | 1146 | .spotlight { 1147 | background-attachment: fixed; 1148 | background-position: center center; 1149 | background-size: cover; 1150 | box-shadow: 0 0.25em 0.5em 0 rgba(0,0,0,0.25); 1151 | height: 100vh; 1152 | overflow: hidden; 1153 | position: relative; 1154 | 1155 | // Force spotlights to stack in reverse order (needed for our box 1156 | // shadows to overlap stuff in the right direction). 1157 | @for $i from 1 through _misc(max-spotlight) { 1158 | &:nth-last-of-type(#{$i}) { 1159 | z-index: #{$i}; 1160 | } 1161 | } 1162 | 1163 | &:before { 1164 | background-image: url('images/overlay.png'); 1165 | content: ''; 1166 | display: block; 1167 | height: 100%; 1168 | left: 0; 1169 | top: 0; 1170 | width: 100%; 1171 | } 1172 | 1173 | .image.main { 1174 | display: none; 1175 | 1176 | img { 1177 | position: relative; 1178 | } 1179 | } 1180 | 1181 | .content { 1182 | @include vendor('transform', 'translate(0,0)'); 1183 | @include vendor('transition', 'transform 1s ease, opacity 1s ease'); 1184 | background: _palette(bg-transparent); 1185 | border-style: solid; 1186 | opacity: 1; 1187 | position: absolute; 1188 | } 1189 | 1190 | .goto-next { 1191 | @include vendor('transform', 'translate(0,0)'); 1192 | @include vendor('transition', 'transform 0.75s ease, opacity 1s ease-in'); 1193 | @include vendor('transition-delay', '0.5s'); 1194 | opacity: 1; 1195 | } 1196 | 1197 | &.top, &.bottom { 1198 | .content { 1199 | left: 0; 1200 | padding: ($size-wrapper-pad-tb * 0.85) 0 (($size-wrapper-pad-tb * 0.85) - _size(element-margin)) 0; 1201 | width: 100%; 1202 | } 1203 | } 1204 | 1205 | &.top { 1206 | .content { 1207 | border-bottom-width: 0.35em; 1208 | top: 0; 1209 | } 1210 | } 1211 | 1212 | &.bottom { 1213 | .content { 1214 | border-top-width: 0.35em; 1215 | bottom: 0; 1216 | } 1217 | } 1218 | 1219 | &.left, &.right { 1220 | .content { 1221 | height: 101%; 1222 | padding: $size-wrapper-pad-tb $size-wrapper-pad-lr; 1223 | top: 0; 1224 | width: 28em; 1225 | } 1226 | } 1227 | 1228 | &.left { 1229 | .content { 1230 | border-right-width: 0.35em; 1231 | left: 0; 1232 | } 1233 | } 1234 | 1235 | &.right { 1236 | .content { 1237 | border-left-width: 0.35em; 1238 | right: 0; 1239 | } 1240 | } 1241 | 1242 | &.style1 { 1243 | .content { 1244 | border-color: _palette(accent1); 1245 | } 1246 | } 1247 | 1248 | &.style2 { 1249 | .content { 1250 | border-color: _palette(accent3); 1251 | } 1252 | } 1253 | 1254 | &.style3 { 1255 | .content { 1256 | border-color: _palette(accent4); 1257 | } 1258 | } 1259 | 1260 | &.inactive { 1261 | .content { 1262 | opacity: 0; 1263 | } 1264 | 1265 | .goto-next { 1266 | @include vendor('transform', 'translate(0,1.5em)'); 1267 | opacity: 0; 1268 | } 1269 | 1270 | &.top { 1271 | .content { 1272 | @include vendor('transform', 'translate(0,-5em)'); 1273 | } 1274 | } 1275 | 1276 | &.bottom { 1277 | .content { 1278 | @include vendor('transform', 'translate(0,5em)'); 1279 | } 1280 | } 1281 | 1282 | &.left { 1283 | .content { 1284 | @include vendor('transform', 'translate(-5em,0)'); 1285 | } 1286 | } 1287 | 1288 | &.right { 1289 | .content { 1290 | @include vendor('transform', 'translate(5em,0)'); 1291 | } 1292 | } 1293 | } 1294 | } 1295 | 1296 | body.is-touch { 1297 | .spotlight { 1298 | background-attachment: scroll; 1299 | } 1300 | } 1301 | 1302 | /* Wrapper */ 1303 | 1304 | .wrapper { 1305 | padding: $size-wrapper-pad-tb 0 ($size-wrapper-pad-tb - _size(element-margin)) 0; 1306 | 1307 | &.style1 { 1308 | } 1309 | 1310 | &.style2 { 1311 | background: _palette(accent1); 1312 | 1313 | input[type="text"], 1314 | input[type="password"], 1315 | input[type="email"], 1316 | select, 1317 | textarea { 1318 | &:focus { 1319 | border-color: _palette(border2); 1320 | } 1321 | } 1322 | 1323 | input[type="submit"], 1324 | input[type="reset"], 1325 | input[type="button"], 1326 | .button { 1327 | &:hover, &:active { 1328 | background-color: _palette(border-bg) !important; 1329 | box-shadow: inset 0 0 0 1px _palette(border2) !important; 1330 | color: _palette(fg-bold) !important; 1331 | } 1332 | 1333 | &:active { 1334 | background-color: _palette(border2-bg) !important; 1335 | } 1336 | 1337 | &.primary { 1338 | background-color: _palette(fg-bold); 1339 | color: _palette(accent1) !important; 1340 | 1341 | &:hover, &:active { 1342 | background-color: _palette(border-bg) !important; 1343 | box-shadow: inset 0 0 0 1px _palette(border2) !important; 1344 | color: _palette(fg-bold) !important; 1345 | } 1346 | 1347 | &:active { 1348 | background-color: _palette(border2-bg) !important; 1349 | } 1350 | } 1351 | } 1352 | } 1353 | 1354 | &.fade-down { 1355 | > .container { 1356 | @include vendor('transform', 'translate(0,0)'); 1357 | @include vendor('transition', 'transform 1s ease, opacity 1s ease'); 1358 | opacity: 1; 1359 | } 1360 | 1361 | &.inactive { 1362 | > .container { 1363 | @include vendor('transform', 'translate(0,-1em)'); 1364 | opacity: 0; 1365 | } 1366 | } 1367 | } 1368 | 1369 | &.fade-up { 1370 | > .container { 1371 | @include vendor('transform', 'translate(0,0)'); 1372 | @include vendor('transition', 'transform 1s ease, opacity 1s ease'); 1373 | opacity: 1; 1374 | } 1375 | 1376 | &.inactive { 1377 | > .container { 1378 | @include vendor('transform', 'translate(0,1em)'); 1379 | opacity: 0; 1380 | } 1381 | } 1382 | } 1383 | 1384 | &.fade { 1385 | > .container { 1386 | @include vendor('transition', 'opacity 1s ease'); 1387 | opacity: 1; 1388 | } 1389 | 1390 | &.inactive { 1391 | > .container { 1392 | opacity: 0; 1393 | } 1394 | } 1395 | } 1396 | } 1397 | 1398 | /* Dropotron */ 1399 | 1400 | .dropotron { 1401 | background: _palette(accent2-transparent); 1402 | border-radius: _size(border-radius); 1403 | box-shadow: 0 0.075em 0.35em 0 rgba(0,0,0,0.125); 1404 | list-style: none; 1405 | margin-top: calc(-0.25em + 1px); 1406 | min-width: 12em; 1407 | padding: 0.25em 0; 1408 | 1409 | > li { 1410 | border-top: solid 1px rgba(255,255,255,0.035); 1411 | padding: 0; 1412 | 1413 | a, span { 1414 | border: 0; 1415 | color: _palette(fg); 1416 | display: block; 1417 | padding: 0.1em 1em; 1418 | text-decoration: none; 1419 | } 1420 | 1421 | &:first-child { 1422 | border-top: 0; 1423 | } 1424 | 1425 | &.active { 1426 | > a, > span { 1427 | color: _palette(accent1); 1428 | } 1429 | } 1430 | } 1431 | 1432 | &.level-0 { 1433 | font-size: 0.8em; 1434 | margin-top: 1em; 1435 | 1436 | &:before { 1437 | @include vendor('transform', 'rotate(45deg)'); 1438 | background: _palette(accent2); 1439 | content: ''; 1440 | display: block; 1441 | height: 1em; 1442 | position: absolute; 1443 | right: 1.5em; 1444 | top: -0.5em; 1445 | width: 1em; 1446 | } 1447 | } 1448 | } 1449 | 1450 | body.landing { 1451 | .dropotron { 1452 | &.level-0 { 1453 | margin-top: 0; 1454 | } 1455 | } 1456 | } 1457 | 1458 | /* Header */ 1459 | 1460 | #page-wrapper { 1461 | padding-top: 3.5em; 1462 | } 1463 | 1464 | #header { 1465 | background: _palette(accent2-transparent); 1466 | box-shadow: 0 0 0.25em 0 rgba(0,0,0,0.25); 1467 | cursor: default; 1468 | height: 3.5em; 1469 | left: 0; 1470 | line-height: 3.5em; 1471 | position: fixed; 1472 | top: 0; 1473 | width: 100%; 1474 | z-index: 100; 1475 | 1476 | h1 { 1477 | height: inherit; 1478 | left: 1.25em; 1479 | line-height: inherit; 1480 | margin: 0; 1481 | position: absolute; 1482 | top: 0; 1483 | } 1484 | 1485 | nav { 1486 | position: absolute; 1487 | right: 1em; 1488 | top: 0; 1489 | 1490 | ul { 1491 | margin: 0; 1492 | 1493 | li { 1494 | display: inline-block; 1495 | margin-left: 1em; 1496 | 1497 | a, span { 1498 | border: 0; 1499 | color: inherit; 1500 | display: inline-block; 1501 | height: inherit; 1502 | line-height: inherit; 1503 | outline: 0; 1504 | 1505 | &.button { 1506 | height: 2em; 1507 | line-height: 2em; 1508 | padding: 0 1.25em; 1509 | } 1510 | 1511 | &:not(.button):before { 1512 | margin-right: 0.5em; 1513 | } 1514 | } 1515 | 1516 | &.active { 1517 | > a, > span { 1518 | color: _palette(accent1); 1519 | } 1520 | } 1521 | 1522 | > ul { 1523 | display: none; 1524 | } 1525 | } 1526 | } 1527 | } 1528 | } 1529 | 1530 | body.landing { 1531 | #page-wrapper { 1532 | padding-top: 0; 1533 | } 1534 | 1535 | #header { 1536 | background: transparent; 1537 | box-shadow: none; 1538 | position: absolute; 1539 | } 1540 | } 1541 | 1542 | /* Banner */ 1543 | 1544 | #banner { 1545 | background-attachment: fixed; 1546 | background-color: _palette(accent2); 1547 | background-image: url('../../images/banner.jpg'); 1548 | background-position: center center; 1549 | background-size: cover; 1550 | box-shadow: 0 0.25em 0.5em 0 rgba(0,0,0,0.25); 1551 | min-height: 100vh; 1552 | position: relative; 1553 | text-align: center; 1554 | z-index: (_misc(max-spotlight) + 1); 1555 | 1556 | &:before { 1557 | content: ''; 1558 | display: inline-block; 1559 | height: 100vh; 1560 | vertical-align: middle; 1561 | width: 1%; 1562 | } 1563 | 1564 | &:after { 1565 | @include vendor('background-image', ('linear-gradient(top, #{_palette(bg-transparent)}, #{_palette(bg-transparent)})', 'url("images/overlay.png");')); 1566 | content: ''; 1567 | display: block; 1568 | height: 100%; 1569 | left: 0; 1570 | position: absolute; 1571 | top: 0; 1572 | width: 100%; 1573 | } 1574 | 1575 | .content { 1576 | display: inline-block; 1577 | margin-right: 1%; 1578 | max-width: 95%; 1579 | padding: $size-wrapper-pad-tb; 1580 | position: relative; 1581 | text-align: right; 1582 | vertical-align: middle; 1583 | z-index: 1; 1584 | 1585 | header { 1586 | display: inline-block; 1587 | vertical-align: middle; 1588 | 1589 | h2 { 1590 | font-size: 2.5em; 1591 | margin: 0; 1592 | } 1593 | 1594 | p { 1595 | margin: (_size(element-margin) * 0.25) 0 0 0; 1596 | top: 0; 1597 | } 1598 | } 1599 | 1600 | .image { 1601 | border-radius: 100%; 1602 | display: inline-block; 1603 | height: 18em; 1604 | margin-left: 3em; 1605 | vertical-align: middle; 1606 | width: 18em; 1607 | 1608 | img { 1609 | border-radius: 100%; 1610 | display: block; 1611 | width: 100%; 1612 | } 1613 | } 1614 | } 1615 | } 1616 | 1617 | body.is-touch { 1618 | #banner { 1619 | background-attachment: scroll; 1620 | } 1621 | } 1622 | 1623 | /* Footer */ 1624 | 1625 | #footer { 1626 | background: _palette(accent2); 1627 | padding: $size-wrapper-pad-tb 0; 1628 | text-align: center; 1629 | 1630 | .icons { 1631 | .icon { 1632 | &.alt { 1633 | @include line-icon(_palette(accent2), _palette(fg-light)); 1634 | } 1635 | } 1636 | } 1637 | 1638 | .copyright { 1639 | color: _palette(fg-light); 1640 | font-size: 0.8em; 1641 | line-height: 1em; 1642 | margin: 2em 0 0 0; 1643 | padding: 0; 1644 | text-align: center; 1645 | 1646 | li { 1647 | border-left: solid 1px _palette(border); 1648 | display: inline-block; 1649 | list-style: none; 1650 | margin-left: 1.5em; 1651 | padding-left: 1.5em; 1652 | 1653 | &:first-child { 1654 | border-left: 0; 1655 | margin-left: 0; 1656 | padding-left: 0; 1657 | } 1658 | 1659 | a { 1660 | color: inherit; 1661 | } 1662 | } 1663 | } 1664 | } 1665 | 1666 | /* XLarge */ 1667 | 1668 | @include breakpoint('<=xlarge') { 1669 | 1670 | /* Basic */ 1671 | 1672 | body, input, select, textarea { 1673 | font-size: 13pt; 1674 | } 1675 | 1676 | } 1677 | 1678 | /* Large */ 1679 | 1680 | @include breakpoint('<=large') { 1681 | 1682 | $size-wrapper-pad-tb: 4.5em; 1683 | $size-wrapper-pad-lr: 2.5em; 1684 | 1685 | /* Basic */ 1686 | 1687 | body, input, select, textarea { 1688 | font-size: 11.5pt; 1689 | } 1690 | 1691 | /* Spotlight */ 1692 | 1693 | .spotlight { 1694 | &.top { 1695 | .content { 1696 | padding: ($size-wrapper-pad-tb * 0.85) 0 (($size-wrapper-pad-tb * 0.85) - _size(element-margin)) 0; 1697 | } 1698 | } 1699 | 1700 | &.bottom { 1701 | .content { 1702 | padding: ($size-wrapper-pad-tb * 0.85) 0 (($size-wrapper-pad-tb * 1.1) - _size(element-margin)) 0; 1703 | } 1704 | } 1705 | 1706 | &.left, &.right { 1707 | .content { 1708 | padding: $size-wrapper-pad-tb $size-wrapper-pad-lr; 1709 | width: 25em; 1710 | } 1711 | } 1712 | } 1713 | 1714 | /* Wrapper */ 1715 | 1716 | .wrapper { 1717 | padding: $size-wrapper-pad-tb 0 ($size-wrapper-pad-tb - _size(element-margin)) 0; 1718 | } 1719 | 1720 | /* Dropotron */ 1721 | 1722 | .dropotron { 1723 | &.level-0 { 1724 | font-size: 1em; 1725 | } 1726 | } 1727 | 1728 | /* Banner */ 1729 | 1730 | #banner { 1731 | .content { 1732 | padding: $size-wrapper-pad-tb; 1733 | } 1734 | } 1735 | 1736 | /* Footer */ 1737 | 1738 | #footer { 1739 | padding: $size-wrapper-pad-tb 0; 1740 | } 1741 | 1742 | } 1743 | 1744 | /* Medium */ 1745 | 1746 | @include breakpoint('<=medium') { 1747 | 1748 | $size-wrapper-pad-tb: 4.5em; 1749 | $size-wrapper-pad-lr: 2.5em; 1750 | 1751 | /* Basic */ 1752 | 1753 | body, input, select, textarea { 1754 | font-size: 12pt; 1755 | } 1756 | 1757 | /* Spotlight */ 1758 | 1759 | .spotlight { 1760 | background-attachment: scroll; 1761 | height: auto; 1762 | 1763 | .image.main { 1764 | display: block; 1765 | margin: 0; 1766 | max-height: 40vh; 1767 | overflow: hidden; 1768 | } 1769 | 1770 | .content { 1771 | background-color: _palette(bg); 1772 | border-width: 0 !important; 1773 | border-top-width: 0.35em !important; 1774 | bottom: auto !important; 1775 | left: auto !important; 1776 | padding: $size-wrapper-pad-tb $size-wrapper-pad-lr ($size-wrapper-pad-tb - _size(element-margin)) $size-wrapper-pad-lr !important; 1777 | position: relative; 1778 | right: auto !important; 1779 | text-align: center; 1780 | top: auto !important; 1781 | width: 100% !important; 1782 | 1783 | ul.actions { 1784 | @include vendor('justify-content', 'center'); 1785 | width: 100%; 1786 | margin-left: 0; 1787 | 1788 | li { 1789 | &:first-child { 1790 | padding-left: 0; 1791 | } 1792 | } 1793 | } 1794 | } 1795 | 1796 | .goto-next { 1797 | display: none; 1798 | } 1799 | } 1800 | 1801 | /* Wrapper */ 1802 | 1803 | .wrapper { 1804 | padding: $size-wrapper-pad-tb $size-wrapper-pad-lr ($size-wrapper-pad-tb - _size(element-margin)) $size-wrapper-pad-lr; 1805 | } 1806 | 1807 | /* Banner */ 1808 | 1809 | #banner { 1810 | background-attachment: scroll; 1811 | 1812 | .goto-next { 1813 | height: 7em; 1814 | } 1815 | 1816 | .content { 1817 | padding: ($size-wrapper-pad-tb * 2) 0; 1818 | text-align: center; 1819 | 1820 | header { 1821 | display: block; 1822 | margin: 0 0 _size(element-margin) 0; 1823 | text-align: center; 1824 | } 1825 | 1826 | .image { 1827 | margin: 0; 1828 | } 1829 | } 1830 | } 1831 | 1832 | /* Footer */ 1833 | 1834 | #footer { 1835 | padding: $size-wrapper-pad-tb 0; 1836 | } 1837 | 1838 | } 1839 | 1840 | /* Small */ 1841 | 1842 | #navPanel, #titleBar { 1843 | display: none; 1844 | } 1845 | 1846 | @include breakpoint('<=small') { 1847 | 1848 | $size-wrapper-pad-tb: 3.25em; 1849 | $size-wrapper-pad-lr: 1.5em; 1850 | 1851 | /* Basic */ 1852 | 1853 | html, body { 1854 | overflow-x: hidden; 1855 | } 1856 | 1857 | body, input, select, textarea { 1858 | font-size: 12pt; 1859 | } 1860 | 1861 | h2 { 1862 | font-size: 1.5em; 1863 | } 1864 | 1865 | h3 { 1866 | font-size: 1.2em; 1867 | } 1868 | 1869 | h4 { 1870 | font-size: 1em; 1871 | } 1872 | 1873 | /* Section/Article */ 1874 | 1875 | header { 1876 | p { 1877 | br { 1878 | display: none; 1879 | } 1880 | } 1881 | 1882 | h2 + p { 1883 | font-size: 1em; 1884 | } 1885 | 1886 | h3 + p { 1887 | font-size: 1em; 1888 | } 1889 | 1890 | h4 + p, 1891 | h5 + p, 1892 | h6 + p { 1893 | font-size: 0.9em; 1894 | } 1895 | 1896 | &.major { 1897 | margin: 0 0 _size(element-margin) 0; 1898 | } 1899 | } 1900 | 1901 | /* Goto Next */ 1902 | 1903 | .goto-next { 1904 | &:before { 1905 | height: 0.8em; 1906 | margin: -0.4em 0 0 -0.6em; 1907 | width: 1.2em; 1908 | } 1909 | } 1910 | 1911 | /* Spotlight */ 1912 | 1913 | .spotlight { 1914 | box-shadow: 0 0.125em 0.5em 0 rgba(0,0,0,0.25); 1915 | 1916 | .image.main { 1917 | max-height: 60vh; 1918 | } 1919 | 1920 | .content { 1921 | border-top-width: 0.2em !important; 1922 | padding: $size-wrapper-pad-tb $size-wrapper-pad-lr ($size-wrapper-pad-tb - _size(element-margin)) $size-wrapper-pad-lr !important; 1923 | } 1924 | } 1925 | 1926 | /* Wrapper */ 1927 | 1928 | .wrapper { 1929 | padding: $size-wrapper-pad-tb $size-wrapper-pad-lr ($size-wrapper-pad-tb - _size(element-margin)) $size-wrapper-pad-lr; 1930 | } 1931 | 1932 | /* Header */ 1933 | 1934 | #header { 1935 | display: none; 1936 | } 1937 | 1938 | /* Banner */ 1939 | 1940 | #banner { 1941 | box-shadow: 0 0.125em 0.5em 0 rgba(0,0,0,0.25); 1942 | min-height: calc(100vh - 44px); 1943 | 1944 | &:before { 1945 | height: calc(100vh - 44px); 1946 | } 1947 | 1948 | .content { 1949 | padding: ($size-wrapper-pad-tb * 1.25) $size-wrapper-pad-lr ($size-wrapper-pad-tb * 1.5) $size-wrapper-pad-lr; 1950 | 1951 | header { 1952 | h2 { 1953 | font-size: 1.5em; 1954 | } 1955 | } 1956 | 1957 | .image { 1958 | height: 9em; 1959 | width: 9em; 1960 | } 1961 | } 1962 | } 1963 | 1964 | /* Nav */ 1965 | 1966 | #page-wrapper { 1967 | @include vendor('backface-visibility', 'hidden'); 1968 | @include vendor('transition', 'transform #{_duration(navPanel)} ease'); 1969 | padding-bottom: 1px; 1970 | padding-top: 44px !important; 1971 | } 1972 | 1973 | #titleBar { 1974 | @include vendor('backface-visibility', 'hidden'); 1975 | @include vendor('transition', 'transform #{_duration(navPanel)} ease'); 1976 | display: block; 1977 | height: 44px; 1978 | left: 0; 1979 | position: fixed; 1980 | top: 0; 1981 | width: 100%; 1982 | z-index: _misc(z-index-base) + 1; 1983 | background: _palette(accent2); 1984 | box-shadow: 0 0.125em 0.125em 0 rgba(0,0,0,0.125); 1985 | 1986 | .title { 1987 | color: _palette(fg-bold); 1988 | display: block; 1989 | font-weight: _font(weight-bold); 1990 | height: 44px; 1991 | line-height: 44px; 1992 | text-align: center; 1993 | 1994 | a { 1995 | color: inherit; 1996 | border: 0; 1997 | } 1998 | } 1999 | 2000 | .toggle { 2001 | @include icon(false, solid); 2002 | height: 60px; 2003 | left: 0; 2004 | position: absolute; 2005 | top: 0; 2006 | width: 90px; 2007 | outline: 0; 2008 | border: 0; 2009 | 2010 | &:before { 2011 | background: _palette(accent1); 2012 | color: _palette(fg-light); 2013 | content: '\f0c9'; 2014 | display: block; 2015 | font-size: 18px; 2016 | height: 44px; 2017 | left: 0; 2018 | line-height: 44px; 2019 | position: absolute; 2020 | text-align: center; 2021 | top: 0; 2022 | width: 54px; 2023 | } 2024 | } 2025 | } 2026 | 2027 | #navPanel { 2028 | @include vendor('backface-visibility', 'hidden'); 2029 | @include vendor('transform', 'translateX(#{_size(navPanel) * -1})'); 2030 | @include vendor('transition', ('transform #{_duration(navPanel)} ease')); 2031 | display: block; 2032 | height: 100%; 2033 | left: 0; 2034 | overflow-y: auto; 2035 | position: fixed; 2036 | top: 0; 2037 | width: _size(navPanel); 2038 | z-index: _misc(z-index-base) + 2; 2039 | background: darken(_palette(bg), 2); 2040 | padding: 0.75em 1.25em; 2041 | 2042 | .link { 2043 | border: 0; 2044 | border-top: solid 1px transparentize(_palette(border), 0.25); 2045 | color: _palette(fg); 2046 | display: block; 2047 | height: 3em; 2048 | line-height: 3em; 2049 | text-decoration: none; 2050 | 2051 | &:hover { 2052 | color: inherit !important; 2053 | } 2054 | 2055 | &:first-child { 2056 | border-top: 0; 2057 | } 2058 | 2059 | &.depth-0 { 2060 | color: _palette(fg-bold); 2061 | font-weight: _font(weight-bold); 2062 | } 2063 | 2064 | .indent-1 { display: inline-block; width: 1.25em; } 2065 | .indent-2 { display: inline-block; width: 2.5em; } 2066 | .indent-3 { display: inline-block; width: 3.75em; } 2067 | .indent-4 { display: inline-block; width: 5em; } 2068 | .indent-5 { display: inline-block; width: 6.25em; } 2069 | } 2070 | } 2071 | 2072 | body { 2073 | &.navPanel-visible { 2074 | #page-wrapper { 2075 | @include vendor('transform', 'translateX(#{_size(navPanel)})'); 2076 | } 2077 | 2078 | #titleBar { 2079 | @include vendor('transform', 'translateX(#{_size(navPanel)})'); 2080 | } 2081 | 2082 | #navPanel { 2083 | @include vendor('transform', 'translateX(0)'); 2084 | } 2085 | } 2086 | } 2087 | 2088 | /* Footer */ 2089 | 2090 | #footer { 2091 | padding: $size-wrapper-pad-tb $size-wrapper-pad-lr; 2092 | } 2093 | 2094 | } 2095 | 2096 | /* XSmall */ 2097 | 2098 | @include breakpoint('<=xsmall') { 2099 | 2100 | $size-wrapper-pad-tb: 3em; 2101 | $size-wrapper-pad-lr: 1.25em; 2102 | 2103 | /* Basic */ 2104 | 2105 | html, body { 2106 | min-width: 320px; 2107 | } 2108 | 2109 | body, input, select, textarea { 2110 | font-size: 12pt; 2111 | } 2112 | 2113 | /* Button */ 2114 | 2115 | input[type="submit"], 2116 | input[type="reset"], 2117 | input[type="button"], 2118 | .button { 2119 | padding: 0; 2120 | } 2121 | 2122 | /* Spotlight */ 2123 | 2124 | .spotlight { 2125 | .image.main { 2126 | max-height: 50vh; 2127 | } 2128 | 2129 | .content { 2130 | padding: $size-wrapper-pad-tb $size-wrapper-pad-lr ($size-wrapper-pad-tb - _size(element-margin)) $size-wrapper-pad-lr !important; 2131 | } 2132 | } 2133 | 2134 | /* Wrapper */ 2135 | 2136 | .wrapper { 2137 | padding: $size-wrapper-pad-tb $size-wrapper-pad-lr ($size-wrapper-pad-tb - _size(element-margin)) $size-wrapper-pad-lr; 2138 | } 2139 | 2140 | /* Banner */ 2141 | 2142 | #banner { 2143 | .content { 2144 | padding: $size-wrapper-pad-tb ($size-wrapper-pad-lr * 1.25) ($size-wrapper-pad-tb * 1.75) ($size-wrapper-pad-lr * 1.25); 2145 | } 2146 | } 2147 | 2148 | /* Footer */ 2149 | 2150 | #footer { 2151 | padding: $size-wrapper-pad-tb $size-wrapper-pad-lr; 2152 | 2153 | .copyright { 2154 | line-height: inherit; 2155 | 2156 | li { 2157 | border-left: 0; 2158 | display: block; 2159 | margin: 0; 2160 | padding: 0; 2161 | } 2162 | } 2163 | } 2164 | 2165 | } -------------------------------------------------------------------------------- /public/assets/css/fontawesome-all.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome Free 5.9.0 by @fontawesome - https://fontawesome.com 3 | * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) 4 | */ 5 | .fa,.fab,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{animation:fa-spin 2s infinite linear}.fa-pulse{animation:fa-spin 1s infinite steps(8)}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scaleX(-1)}.fa-flip-vertical{transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adobe:before{content:"\f778"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-battle-net:before{content:"\f835"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-biking:before{content:"\f84a"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bootstrap:before{content:"\f836"}.fa-border-all:before{content:"\f84c"}.fa-border-none:before{content:"\f850"}.fa-border-style:before{content:"\f853"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-buffer:before{content:"\f837"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-chromecast:before{content:"\f838"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-evernote:before{content:"\f839"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fan:before{content:"\f863"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.fa-git:before{content:"\f1d3"}.fa-git-alt:before{content:"\f841"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guitar:before{content:"\f7a6"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-handshake:before{content:"\f2b5"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-wizard:before{content:"\f6e8"}.fa-haykal:before{content:"\f666"}.fa-hdd:before{content:"\f0a0"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-house-damage:before{content:"\f6f1"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-icons:before{content:"\f86d"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-igloo:before{content:"\f7ae"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-instagram:before{content:"\f16d"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itch-io:before{content:"\f83a"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-osi:before{content:"\f41a"}.fa-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-alt:before{content:"\f879"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-square-alt:before{content:"\f87b"}.fa-phone-volume:before{content:"\f2a0"}.fa-photo-video:before{content:"\f87c"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-remove-format:before{content:"\f87d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-salesforce:before{content:"\f83b"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-down-alt:before{content:"\f884"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-amount-up-alt:before{content:"\f885"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-speaker-deck:before{content:"\f83c"}.fa-spell-check:before{content:"\f891"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stackpath:before{content:"\f842"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-symfony:before{content:"\f83d"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-think-peaks:before{content:"\f731"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-voicemail:before{content:"\f897"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-water:before{content:"\f773"}.fa-wave-square:before{content:"\f83e"}.fa-waze:before{content:"\f83f"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-wind:before{content:"\f72e"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yammer:before{content:"\f840"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:normal;font-display:auto;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:auto;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:auto;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900} --------------------------------------------------------------------------------