diff --git a/README.md b/README.md index d33e536..11fd8ae 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Publii Starter Theme -Version: 1.0.5.0 +Version: 1.0.6.0 ![Starter theme screenshot](starter-publii-theme.png) diff --git a/assets/css/main.css b/assets/css/main.css index ada9430..56a2d26 100755 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -32,21 +32,27 @@ textarea { font: inherit; } html { - font-size: 1rem; } - @media screen and (min-width: 20rem) { - html { - font-size: -webkit-calc(1rem + 0.2 * ((100vw - 20rem) / 113)); - font-size: calc(1rem + 0.2 * ((100vw - 20rem) / 113)); } } - @media screen and (min-width: 133rem) { - html { - font-size: 1.2rem; } } + font-smooth: always; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + scroll-behavior: smooth; } + html { + font-size: 1rem; } + @media screen and (min-width: 20rem) { + html { + font-size: -webkit-calc(1rem + 0.2 * ((100vw - 20rem) / 113)); + font-size: calc(1rem + 0.2 * ((100vw - 20rem) / 113)); } } + @media screen and (min-width: 133rem) { + html { + font-size: 1.2rem; } } body { background: #ffffff; color: #343434; font-family: "PT Serif", serif; font-weight: 400; - line-height: 1.6; } + line-height: 1.6; + overscroll-behavior: none; } a { color: #343434; @@ -968,6 +974,34 @@ textarea { color: #343434; } .post__entry a:hover { text-decoration: underline; } + .post__toc ul { + counter-reset: item; + list-style: decimal; + margin: -webkit-calc(0.53333rem + 0.25vw) 0 0 1rem; + margin: calc(0.53333rem + 0.25vw) 0 0 1rem; } + .post__toc ul li { + counter-increment: item; + padding: 0; } + .post__toc ul ul { + margin-top: 0; } + .post__toc ul ul li { + display: block; } + .post__toc ul ul li:before { + content: counters(item, ".") ". "; + margin-left: -20px; } + .post__video { + height: 0; + overflow: hidden; + padding-top: 1.6rem; + padding-bottom: 56.25%; + position: relative; } + .post__video > iframe { + border: none; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; } .post__footer { margin-top: -webkit-calc(1.86667rem + 0.5vw); margin-top: calc(1.86667rem + 0.5vw); } diff --git a/assets/css/main.css.map b/assets/css/main.css.map index 8c55bcc..9feaf2f 100644 --- a/assets/css/main.css.map +++ b/assets/css/main.css.map @@ -1 +1 @@ -{"version":3,"sources":["main.css","base/_reset.scss","helpers/_mixins.scss","helpers/_variables.scss","base/_typography.scss","vendors/modular-scale/_calc.scss","helpers/_functions.scss","vendors/_mappy-breakpoints.scss","components/_buttons.scss","components/_forms.scss","layout/_grid.scss","layout/_header.scss","layout/_logo.scss","layout/_menu.scss","layout/_sidebar.scss","themes/_core.scss","layout/_pagination.scss","layout/_footer.scss","layout/_gallery.scss"],"names":[],"mappings":"AAAA,iBAAiB;ACAjB;;;EAGC,+BAAsB;EAAtB,uBAAsB;EACtB,UAAS;EACT,WAAU,EACV;;AAED;;;;;;;;EAQC,eAAc,EACd;;AAED;EACC,iBACD,EAAE;;AAEF;EACC,aAAY;EACZ,gBAAe;EACf,oBAAmB,EACnB;;AAED;;;;EAIC,cAAa,EACb;;ACIA;EAEE,gBCeO,EDHR;EAVA;IAJD;MAMG,8DAAsI;MAAtI,sDAAsI,EAQxI,EAAA;EALA;IATD;MAWG,kBCOQ,EDJV,EAAA;;AE9CF;EACC,oBDsFc;ECrFd,eDgFa;EC/Eb,+BDYyB;ECXzB,iBDoBuB;ECnBvB,iBDqCgB,ECpChB;;AFVA;EACC,eCqFY;EDpFZ,sBAAqB;EACrB,uCAA8B;EAA9B,kCAA8B;EAA9B,+BAA8B,EAC9B;;AACD;EACC,eCiFa,EDhFb;;AACD;EACC,eC8Ea,ED7Eb;;AACD;EACC,eC2Ea,ED1Eb;;AEGF;;;;;EAKC,6CAAwC;EAAxC,qCAAwC,EACxC;;AAED;;EAEC,6CAAwC;EAAxC,qCAAwC;EACxC,gDAA2C;EAA3C,wCAA2C,EAC3C;;AAED;;;;;;EAMC,eDkDa;ECjDb,kCDjB4B;ECkB5B,iBDTqB;ECUrB,iBAAgB;EAChB,6CAAwC;EAAxC,qCAAwC,EACxC;;A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AAsI,EAQxI,EAAA;IALA;MATD;QAWG,sBGnCsC,EHsCxC,EAAA;;AK7BA;ESrBF;IAIG,yBAAyB,EAE1B,EAAA;;ACNF;EACC,8BXAuC;EWCvC,kCdkB4B;EcjB5B,6CAAwC;EAAxC,qCAAwC;EACxC,4CAAuC;EAAvC,oCAAuC;EACvC,mBAAkB,EAWlB;EATA;IAEE,sBAAqB;IACrB,sBXC2B,EWA3B;EAEF;IACC,mBXH4B,EWI5B;;AChBF;EACC,+CZW6B;EYX7B,uCZW6B,EYoE7B;EX1DC;IWtBF;MAGE,qBAAa;MAAb,sBAAa;MAAb,qBAAa;MAAb,cAAa;MACb,wBAAe;MAAf,oBAAe;MAAf,gBAAe,EA4EhB,EAAA;EX1DC;IWtBF;MASI,YAAW,EAEZ,EAAA;EXWD;IWtBF;MAgBI,WACD,EACA,EAAA;EXID;IWtBF;MAuBI,WACD,EACA,EAAA;EXHD;IWtBF;MA8BI,WAAU,EAEX,EAAA;EXVD;IWtBF;MAqCI,WAAU,EAEX,EAAA;EXjBD;IWtBF;MA4CI,eAAc,EAEf,EAAA;EXxBD;IWtBF;MAmDI,eAAc,EAEf,EAAA;EX/BD;IWtBF;MA0DI,aAAY,EAEb,EAAA;EAEF;IACC,UAAS;IACT,oBZpD4B,EYmE5B;IXzDA;MWwCD;QAKE,WACD,EAWA,EAAA;IXzDA;MWwCD;QAQE,eACD,EAQA,EAAA;IXzDA;MWwCD;QAWE,WACD,EAKA,EAAA;IAjBD;MAcE,eAAc;MACd,YAAW,EACX;;AAMF;EAEE,kBAAiB,EACjB;;AAGF;EAEE,kBAAiB,EACjB;;AAHF;EAKE,efRW,EeSX;;AANF;EAQE,efXW,EeYX","file":"main.css","sourcesContent":["@charset \"UTF-8\";\n*,\n*:before,\n*:after {\n box-sizing: border-box;\n margin: 0;\n padding: 0; }\n\narticle,\naside,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n display: block; }\n\nli {\n list-style: none; }\n\nimg {\n height: auto;\n max-width: 100%;\n vertical-align: top; }\n\nbutton,\ninput,\nselect,\ntextarea {\n font: inherit; }\n\nhtml {\n font-size: 1rem; }\n @media screen and (min-width: 20rem) {\n html {\n font-size: calc(1rem + 0.2 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n html {\n font-size: 1.2rem; } }\n\nbody {\n background: #ffffff;\n color: #343434;\n font-family: \"PT Serif\", serif;\n font-weight: 400;\n line-height: 1.6; }\n\na {\n color: #343434;\n text-decoration: none;\n transition: all 0.24s ease-out; }\n\na:hover {\n color: #3949ab; }\n\na:active {\n color: #3949ab; }\n\na:focus {\n color: #3949ab; }\n\np,\nul,\nol,\ndl,\ntable {\n margin-top: calc(1.33333rem + 0.5vw); }\n\nblockquote,\nfigure {\n margin-top: calc(1.86667rem + 0.5vw);\n margin-bottom: calc(1.86667rem + 0.5vw); }\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n color: #343434;\n font-family: \"Roboto\", sans-serif;\n font-weight: 700;\n line-height: 1.2;\n margin-top: calc(1.86667rem + 0.5vw); }\n\nh1 {\n margin: 0; }\n h1 {\n font-size: 1.67583rem; }\n @media screen and (min-width: 20rem) {\n h1 {\n font-size: calc(1.67583rem + 0.4936 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n h1 {\n font-size: 2.16943rem; } }\n\nh2 {\n font-size: 1.29454rem; }\n @media screen and (min-width: 20rem) {\n h2 {\n font-size: calc(1.29454rem + 0.27655 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n h2 {\n font-size: 1.57109rem; } }\n\nh3 {\n font-size: 1.13778rem; }\n @media screen and (min-width: 20rem) {\n h3 {\n font-size: calc(1.13778rem + 0.24306 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n h3 {\n font-size: 1.38084rem; } }\n\nh4 {\n font-size: 1.06667rem; }\n @media screen and (min-width: 20rem) {\n h4 {\n font-size: calc(1.06667rem + 0.14696 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n h4 {\n font-size: 1.21363rem; } }\n\nh5 {\n font-size: 0.9375rem; }\n @media screen and (min-width: 20rem) {\n h5 {\n font-size: calc(0.9375rem + 0.12917 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n h5 {\n font-size: 1.06667rem; } }\n\nh6 {\n font-size: 0.87891rem; }\n @media screen and (min-width: 20rem) {\n h6 {\n font-size: calc(0.87891rem + 0.12109 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n h6 {\n font-size: 1rem; } }\n\nh2 + p,\nh3 + p,\nh4 + p,\nh5 + p,\nh6 + p {\n margin-top: calc(0.8rem + 0.25vw); }\n\nb,\nstrong {\n font-weight: 700; }\n\nblockquote {\n font-family: \"Roboto\", sans-serif;\n font-weight: 700;\n padding: 0 15%; }\n blockquote cite {\n color: #343434;\n display: block;\n font-family: \"PT Serif\", serif;\n font-size: 0.87891rem;\n font-style: normal;\n padding-top: 0.53333rem; }\n blockquote > :nth-child(1) {\n margin-top: 0; }\n blockquote:before {\n display: block;\n height: 0;\n content: \"“\";\n margin-left: -.55em;\n font: normal 400%/0.9 \"Roboto\", sans-serif;\n color: #e3e3e3; }\n @media all and (min-width: 37.5em) {\n blockquote:before {\n margin-left: -.85em; } }\n\nul,\nol {\n margin-left: 2rem; }\n ul > li,\n ol > li {\n list-style: inherit;\n padding: 0.26667rem 0 0 1.06667rem; }\n\ndl dt {\n font-weight: 700; }\n\npre {\n margin: calc(1.06667rem + 0.25vw) 0 0;\n padding: 1.6rem 3.2rem;\n white-space: pre-wrap;\n word-wrap: break-word; }\n\ncode,\npre {\n background-color: #f6f6f6;\n font-family: \"Monaco\", \"Courier New\", monospace;\n font-size: 0.9375rem; }\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n display: block;\n max-width: 100%;\n overflow-x: auto;\n vertical-align: top;\n text-align: left;\n white-space: nowrap; }\n table th {\n border-bottom: 2px solid #e3e3e3;\n padding: 0.8rem 1.33333rem; }\n table tr:nth-child(2n) {\n background: whitesmoke; }\n table td {\n padding: 0.8rem 1.33333rem; }\n\nfigcaption {\n color: #908e98;\n font-family: \"Roboto\", sans-serif;\n font-weight: 400;\n font-size: 0.77248rem;\n margin: 1.06667rem 0 0;\n text-align: center; }\n\nsub,\nsup {\n font-size: 65%; }\n\n.btn, [type=button],\n[type=submit],\nbutton {\n background: #3949ab;\n border: none;\n border-radius: 50px;\n color: #ffffff;\n cursor: pointer;\n display: inline-block;\n font: 700 0.7242rem \"Roboto\", sans-serif;\n letter-spacing: 0.15rem;\n padding: 0.8rem 1.6rem;\n vertical-align: middle;\n text-align: center;\n text-transform: lowercase;\n transition: all 0.24s ease;\n width: 100%; }\n @media all and (min-width: 37.5em) {\n .btn, [type=button],\n [type=submit],\n button {\n width: auto; } }\n .btn:hover, [type=button]:hover,\n [type=submit]:hover,\n button:hover, .btn:focus, [type=button]:focus,\n [type=submit]:focus,\n button:focus, .btn:active, [type=button]:active,\n [type=submit]:active,\n button:active {\n background: #343434;\n color: #ffffff; }\n .btn:focus, [type=button]:focus,\n [type=submit]:focus,\n button:focus {\n outline: 2px dotted #343434; }\n .btn:disabled, [type=button]:disabled,\n [type=submit]:disabled,\n button:disabled {\n background-color: whitesmoke;\n border-color: #cccccc;\n color: #717171;\n cursor: not-allowed; }\n\n[type=button],\n[type=submit],\nbutton {\n -webkit-appearance: none;\n -moz-appearance: none; }\n\nfieldset {\n border: 1px solid #d6d6d6;\n border-radius: 6px;\n margin: 0 0 1.6rem;\n padding: 1.6rem; }\n fieldset > legend {\n margin-left: -1rem;\n padding: 0 1rem; }\n\nlegend {\n font-weight: 700; }\n\nlabel {\n font-weight: 700;\n margin: 0 1.06667rem 0.8rem 0; }\n\noption {\n font-weight: 400; }\n\n[type=text],\n[type=url],\n[type=tel],\n[type=number],\n[type=email],\n[type=search],\ntextarea,\nselect {\n background-color: #ffffff;\n border: 1px solid #d6d6d6;\n border-radius: 50px;\n font-size: 1rem;\n outline: none;\n padding: 0.53333rem 0.8rem;\n width: 100%;\n transition: all 0.24s ease-out;\n -webkit-appearance: none;\n -moz-appearance: none; }\n @media all and (min-width: 37.5em) {\n [type=text],\n [type=url],\n [type=tel],\n [type=number],\n [type=email],\n [type=search],\n textarea,\n select {\n width: auto; } }\n [type=text]:focus,\n [type=url]:focus,\n [type=tel]:focus,\n [type=number]:focus,\n [type=email]:focus,\n [type=search]:focus,\n textarea:focus,\n select:focus {\n box-shadow: inset 0 0 2px #3949ab; }\n\ninput[type=checkbox],\ninput[type=radio] {\n opacity: 0;\n position: absolute; }\n input[type=checkbox] + label,\n input[type=radio] + label {\n position: relative;\n margin-left: -1px;\n cursor: pointer;\n padding: 0; }\n input[type=checkbox] + label:before,\n input[type=radio] + label:before {\n background-color: #ffffff;\n border: 1px solid #d6d6d6;\n border-radius: 2px;\n content: '';\n display: inline-block;\n height: 1.33333rem;\n line-height: 1.33333rem;\n margin-right: 1.06667rem;\n vertical-align: middle;\n text-align: center;\n width: 1.33333rem; }\n input[type=checkbox]:checked + label:before,\n input[type=radio]:checked + label:before {\n content: \"\";\n background-image: url(\"data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 8'%3e%3cpolygon points='9.53 0 4.4 5.09 1.47 2.18 0 3.64 2.93 6.54 4.4 8 5.87 6.54 11 1.46 9.53 0' fill='%233949ab'/%3e%3c/svg%3e\");\n background-repeat: no-repeat;\n background-size: 11px 8px;\n background-position: 50% 50%; }\n\ninput[type=radio] + label:before {\n border-radius: 50%; }\n\ninput[type=radio]:checked + label:before {\n background-image: url(\"data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3ccircle cx='4' cy='4' r='4' fill='%233949ab'/%3e%3c/svg%3e\"); }\n\n[type=file] {\n margin-bottom: 1.6rem;\n width: 100%; }\n\nselect {\n max-width: 100%;\n width: auto;\n position: relative; }\n select:not([multiple]) {\n background: url('data:image/svg+xml;utf8,') no-repeat 90% 50%;\n background-size: 8px;\n padding-right: 3.2rem; }\n\nselect[multiple] {\n border-radius: 6px;\n padding: 1.6rem;\n width: 100%; }\n select[multiple]:hover {\n border-color: #d6d6d6; }\n select[multiple]:focus {\n border-color: #3949ab; }\n select[multiple]:disabled {\n background-color: whitesmoke;\n cursor: not-allowed; }\n select[multiple]:disabled:hover {\n border-color: #d6d6d6; }\n\ntextarea {\n border-radius: 6px;\n display: block;\n overflow: auto;\n resize: vertical;\n max-width: 100%; }\n\n.container {\n display: grid;\n grid-gap: calc(1.86667rem + 0.5vw);\n grid-template-columns: 1fr auto 1fr; }\n @media all and (min-width: 56.25em) {\n .container {\n grid-template-columns: 1fr minmax(auto, 42rem) 20rem 1fr; } }\n\n.top {\n grid-column: 2/3; }\n @media all and (min-width: 56.25em) {\n .top {\n grid-column: 2/4; } }\n\n.footer {\n grid-column: 2/3; }\n @media all and (min-width: 56.25em) {\n .footer {\n grid-column: 2/4; } }\n\n.main {\n grid-column: 2/3; }\n .main--full {\n grid-column: 2/4; }\n .main--grid {\n align-content: start;\n display: grid;\n grid-gap: calc(1.86667rem + 0.5vw); }\n @media all and (min-width: 37.5em) {\n .main--grid {\n grid-template-columns: repeat(6, 1fr); }\n .main--grid > .article {\n grid-column: span 3; } }\n\n.sidebar {\n grid-column: 2/3; }\n @media all and (min-width: 56.25em) {\n .sidebar {\n grid-column: 3/4; } }\n\n@media all and (min-width: 37.5em) {\n .hero,\n .page-header--listing {\n grid-column: span 6; } }\n\n@media all and (min-width: 37.5em) {\n .featured-posts {\n grid-column: span 6;\n display: grid;\n grid-column-gap: calc(1.86667rem + 0.5vw);\n grid-template-columns: repeat(3, 1fr); }\n .featured-posts > h3 {\n grid-column: span 3; } }\n\n@media all and (min-width: 37.5em) {\n .pagination {\n grid-column: span 6; } }\n\n.top {\n align-items: center;\n display: flex;\n justify-content: space-between;\n margin-top: calc(1.86667rem + 0.5vw);\n position: relative; }\n\n.logo {\n color: #343434 !important;\n font-family: \"Roboto\", sans-serif;\n font-weight: 800; }\n .logo {\n font-size: 1.4729rem; }\n @media screen and (min-width: 20rem) {\n .logo {\n font-size: calc(1.4729rem + 0.43382 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n .logo {\n font-size: 1.90672rem; } }\n @media all and (min-width: 56.25em) {\n .logo {\n margin: 0; } }\n\n.navbar__menu {\n font-family: \"Roboto\", sans-serif;\n font-weight: 700;\n margin: 0;\n padding: 0;\n overflow: hidden;\n padding: 0; }\n @media all and (max-width: 56.1875em) {\n .navbar__menu {\n background: #ffffff;\n height: 100vh;\n left: 0;\n opacity: 0;\n position: absolute;\n top: 2.99rem;\n transition: all 0.3s ease-out;\n visibility: hidden;\n transform: translateY(-5%);\n width: 100%;\n z-index: 1; }\n .navbar__menu > li {\n transition: all 0.3s ease-out;\n border-bottom: 1px solid #e3e3e3;\n padding: 0; } }\n @media all and (min-width: 56.25em) {\n .navbar__menu {\n max-height: none;\n overflow: visible; } }\n .navbar__menu li {\n color: #343434;\n padding: 0;\n text-align: center; }\n @media all and (min-width: 56.25em) {\n .navbar__menu li {\n display: inline-block;\n margin: 0 0 0 1.6rem;\n position: relative; } }\n .navbar__menu li:hover, .navbar__menu li[aria-expanded=\"true\"] {\n cursor: pointer; }\n @media all and (min-width: 56.25em) {\n .navbar__menu li:hover > ul, .navbar__menu li[aria-expanded=\"true\"] > ul {\n display: block; }\n .navbar__menu li:hover > ul li, .navbar__menu li[aria-expanded=\"true\"] > ul li {\n margin: 0;\n display: block; } }\n .navbar__menu li a,\n .navbar__menu li span {\n display: block;\n color: #343434;\n white-space: nowrap; }\n @media all and (max-width: 56.1875em) {\n .navbar__menu li a,\n .navbar__menu li span {\n padding: 1.06667rem 0; } }\n .navbar__menu li a:after,\n .navbar__menu li span:after {\n content: \"\";\n display: block;\n margin: 0 auto; }\n .navbar__menu li a:hover:not(span),\n .navbar__menu li span:hover:not(span) {\n color: #3949ab; }\n\n@media all and (max-width: 56.1875em) {\n .navbar__submenu {\n margin: 0; } }\n\n@media all and (min-width: 56.25em) {\n .navbar__submenu {\n background: #ffffff;\n box-shadow: 0 0 6px rgba(52, 52, 52, 0.15);\n display: none;\n left: auto;\n margin: 15px 0 0;\n padding: 0.53333rem 0;\n position: absolute;\n top: 100%;\n width: auto;\n z-index: 2000; }\n .navbar__submenu:before {\n content: '';\n display: block;\n height: 15px;\n left: 0;\n position: absolute;\n top: -15px;\n width: 100%; }\n .navbar__submenu li {\n border: none;\n font-weight: normal;\n margin: 0; }\n .navbar__submenu li > a {\n padding: 0.53333rem 2.66667rem; } }\n @media all and (min-width: 56.25em) and (max-width: 56.1875em) {\n .navbar__submenu li > a {\n padding: 0.26667rem 0; } }\n\n@media all and (min-width: 56.25em) {\n .navbar__submenu li:hover > a {\n background: #f7f7f8; }\n .navbar__submenu li ul {\n left: 90%;\n top: 0;\n transform: translate(-10%, 0); }\n .navbar__submenu li ul.navbar__submenu--reversed {\n left: auto;\n right: 90%;\n top: 0; } }\n\n.navbar__toggle {\n background: none;\n border: none;\n border-top: 2px solid #343434;\n border-radius: 0;\n display: block;\n height: 14px;\n padding: 0;\n position: absolute;\n top: 50%;\n transform: translate(0, -50%);\n right: 0;\n text-indent: -99999rem;\n width: 1.6rem;\n z-index: 3; }\n @media all and (min-width: 56.25em) {\n .navbar__toggle {\n display: none; } }\n .navbar__toggle:before {\n border-top: 2px solid #343434;\n content: \"\";\n left: 0;\n position: absolute;\n top: 4px;\n width: 100%; }\n .navbar__toggle:after {\n border-bottom: 2px solid #343434;\n content: \"\";\n left: 0;\n position: absolute;\n bottom: 0;\n width: 100%; }\n .navbar__toggle:focus {\n background: none;\n outline: none;\n border: none;\n border-top: 2px solid #343434; }\n .navbar__toggle:hover {\n background: none; }\n\n.is-opened > ul {\n opacity: 1;\n overflow: auto;\n visibility: visible;\n transform: translateY(0); }\n .is-opened > ul li {\n padding: 0;\n transform: translateY(0); }\n .is-opened > ul li ul {\n height: 0;\n opacity: 0;\n transition: all 0.3s ease-out;\n transform: translateY(-10%); }\n .is-opened > ul li ul li {\n border-top: 1px solid #e3e3e3; }\n .is-opened > ul li:hover > ul {\n height: auto;\n opacity: 1;\n transform: translateX(0); }\n .is-opened > ul li[aria-expanded=\"true\"] > ul {\n display: block; }\n\n@media all and (max-width: 56.1875em) {\n .has-submenu:after {\n background: #ffffff;\n border-right: 1px solid #343434;\n border-bottom: 1px solid #343434;\n content: '';\n display: block;\n height: 8px;\n position: absolute;\n right: 10px;\n top: 1rem;\n transform: rotate(45deg);\n width: 8px; } }\n\n.sidebar input {\n width: 100%; }\n .sidebar input + input {\n margin-top: 0.53333rem; }\n\n.box {\n margin-bottom: calc(3.2rem + 1vw); }\n .box--gray {\n background: #f7f7f8;\n padding: calc(1.86667rem + 0.5vw); }\n .box--gray > .box__title {\n border-top: none;\n padding-top: 0; }\n .box__title {\n color: #3949ab;\n margin: 0 0 calc(1.86667rem + 0.5vw); }\n .box ul {\n margin-left: 0; }\n\n.owner {\n text-align: center; }\n .owner > img {\n border-radius: 50%;\n max-width: 7rem; }\n .owner > p {\n font-size: 0.87891rem; }\n .owner__email {\n display: block;\n margin-top: 0.8rem;\n text-decoration: underline; }\n\n.authors {\n list-style: none; }\n .authors > li {\n align-items: center;\n clear: both;\n display: flex;\n margin: 0 0 calc(1.6rem + 0.75vw);\n padding: 0; }\n .authors__img {\n margin-right: 2rem; }\n .authors__title {\n display: block;\n font-family: \"Roboto\", sans-serif;\n font-weight: 700; }\n\n.tags > li {\n display: flex;\n justify-content: space-between;\n padding-left: 0; }\n\n.newsletter__note {\n color: #908e98;\n font-size: 0.77248rem;\n margin: 0 0 1.06667rem; }\n\n.u-small {\n color: #908e98;\n font-family: \"Roboto\", sans-serif;\n font-weight: 400;\n font-size: 0.77248rem; }\n\n.u-icon {\n fill: rgba(52, 52, 52, 0.8);\n height: 1rem;\n width: 1rem;\n transition: all 0.24s ease-out; }\n\n.hero {\n height: 29rem;\n position: relative; }\n .hero__image {\n height: 29rem;\n object-fit: cover;\n opacity: 0.9;\n position: relative;\n width: 100%; }\n .hero__text {\n color: #ffffff;\n text-align: center;\n width: 80%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%); }\n .hero__text > h1 {\n color: #ffffff; }\n .hero__text > .btn, .hero__text > [type=button], .hero__text >\n [type=submit], .hero__text >\n button {\n margin-top: 1.6rem; }\n\n.page-header {\n border-top: 3px solid #343434;\n padding-top: calc(1.86667rem + 0.5vw); }\n .page-header__title {\n color: #3949ab; }\n .page-header__desc {\n margin-top: calc(0.26667rem + 0.5vw); }\n\n.article {\n margin-bottom: calc(1.6rem + 0.5vw); }\n .article__title {\n font-size: 1.13778rem; }\n @media screen and (min-width: 20rem) {\n .article__title {\n font-size: calc(1.13778rem + 0.07585 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n .article__title {\n font-size: 1.21363rem; } }\n .article__meta {\n display: flex;\n align-items: center;\n justify-content: space-between; }\n .article__meta__avatar {\n border-radius: 50%;\n height: 2.13333rem;\n margin-right: 0.8rem;\n width: 2.13333rem;\n display: inline-block;\n vertical-align: middle; }\n\n.post {\n border-top: 3px solid #343434;\n padding-top: calc(1.86667rem + 0.5vw); }\n .post__meta {\n margin: calc(1.06667rem + 0.25vw) 0 0 0; }\n .post__meta > li {\n display: inline-block;\n list-style: none;\n padding: 0.26667rem 1.06667rem 0 0; }\n .post__meta > li > svg {\n fill: #ffc400;\n vertical-align: top; }\n .post__image--left {\n float: left;\n margin-right: calc(1.86667rem + 0.5vw);\n max-width: 50%; }\n .post__image--right {\n float: right;\n margin-left: calc(1.86667rem + 0.5vw);\n max-width: 50%; }\n .post__image--center {\n display: block;\n margin-left: auto;\n margin-right: auto;\n text-align: center; }\n .post__image--wide {\n text-align: center; }\n .post__image--full {\n text-align: center; }\n .post__video {\n height: 0;\n overflow: hidden;\n padding-top: 1.6rem;\n padding-bottom: 56.25%;\n position: relative; }\n .post__video > iframe {\n border: none;\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%; }\n .post__entry {\n margin-top: calc(1.86667rem + 1vw); }\n @media all and (max-width: 56.1875em) {\n .post__entry {\n max-width: 36rem;\n margin-left: auto;\n margin-right: auto; } }\n .post__entry > :nth-child(1) {\n margin-top: 0; }\n .post__entry a {\n color: #3949ab;\n text-decoration: none;\n transition: all 0.24s ease-out; }\n .post__entry a:hover {\n color: #343434; }\n .post__entry a:active {\n color: #343434; }\n .post__entry a:focus {\n color: #343434; }\n .post__entry a:hover {\n text-decoration: underline; }\n .post__footer {\n margin-top: calc(1.86667rem + 0.5vw); }\n @media all and (max-width: 37.4375em) {\n .post__footer {\n text-align: center; } }\n .post__footer > .box {\n border-top: 1px solid #e3e3e3;\n padding-top: calc(1.86667rem + 0.5vw);\n text-align: center; }\n .post__last-updated {\n color: #908e98;\n font-size: 0.77248rem;\n margin-bottom: calc(1.86667rem + 0.5vw); }\n .post__share > a {\n background: #f7f7f8;\n border-radius: 50px;\n display: inline-block;\n font-family: \"Roboto\", sans-serif;\n font-size: 0.77248rem;\n padding: 0.53333rem 1.6rem;\n margin: 0.53333rem 0.53333rem 0; }\n .post__share > a > .u-icon {\n pointer-events: none;\n display: inline-block;\n margin-right: 0.53333rem;\n vertical-align: middle; }\n .post__tag {\n margin-left: 0;\n margin-top: 0; }\n .post__tag li {\n display: inline-block; }\n .post__tag li > a {\n background: #f7f7f8;\n border-radius: 50px;\n display: inline-block;\n font-family: \"Roboto\", sans-serif;\n font-size: 0.77248rem;\n padding: 0.53333rem 1.6rem; }\n .post__bio > img {\n border-radius: 50%;\n height: 4.8rem;\n width: 4.8rem; }\n .post__nav {\n color: #908e98;\n display: flex;\n font-size: 0.77248rem;\n justify-content: space-between;\n margin-bottom: calc(1.86667rem + 0.5vw); }\n .post__nav__link {\n color: #717171; }\n @media all and (min-width: 37.5em) {\n .post__nav__link {\n align-items: flex-start;\n display: flex;\n justify-content: space-around; } }\n .post__nav__link > img {\n width: 100px; }\n @media all and (max-width: 37.4375em) {\n .post__nav__link > img {\n display: none; } }\n .post__nav__link:hover h5 {\n transition: all 0.12s linear;\n color: #3949ab; }\n .post__nav h5 {\n font-size: 0.87891rem;\n margin: 0.26667rem 0 0;\n position: relative; }\n .post__nav__prev {\n flex-basis: 50%;\n text-align: left; }\n .post__nav__next {\n flex-basis: 50%;\n margin-left: auto;\n text-align: right; }\n @media all and (min-width: 37.5em) {\n .post__nav__text {\n width: 55%; } }\n .post__related__wrap {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n margin: calc(1.86667rem + 0.5vw) -2% 0;\n width: 104%; }\n @media all and (min-width: 56.25em) {\n .post__related__wrap {\n flex-wrap: no-wrap; } }\n .post__related__wrap figure {\n margin: 0;\n flex-basis: 50%;\n padding: 0.8rem 2%; }\n @media all and (min-width: 37.5em) {\n .post__related__wrap figure {\n flex-basis: 33.333%; } }\n .post__related__wrap figcaption > time {\n color: #908e98;\n font-size: 0.82397rem;\n margin: 0 0 0.8rem; }\n .post__related__wrap h4 {\n font-size: 0.87891rem;\n margin: 1.6rem 0 0.53333rem; }\n\n.comments {\n border-top: 1px solid #e3e3e3;\n padding-top: calc(1.86667rem + 0.5vw);\n text-align: center; }\n .comments > h3 {\n margin-bottom: calc(1.86667rem + 0.5vw); }\n\n.author__avatar {\n border-radius: 50%;\n height: 4.8rem;\n margin-bottom: calc(0.93333rem + 0.5vw);\n width: 4.8rem; }\n\n.search__form {\n margin-top: calc(1.86667rem + 0.5vw); }\n\n.search__input {\n width: 100%; }\n\n.gs-webResult {\n border-top: 1px solid #e3e3e3;\n padding-top: 1rem; }\n\n.gsc-table-result {\n margin-top: 0.53333rem;\n white-space: initial; }\n .gsc-table-result td {\n padding: 0; }\n\n.align-left {\n text-align: left; }\n\n.align-right {\n text-align: right; }\n\n.align-center {\n text-align: center; }\n\n.align-justify {\n text-align: justify; }\n\n.msg {\n padding: 1.06667rem 1.6rem; }\n .msg--highlight {\n background-color: #fff7e5; }\n .msg--info {\n background-color: #d9edf7; }\n .msg--success {\n background: #d5efc2; }\n\n.dropcap:first-letter {\n color: #343434;\n float: left;\n font-family: \"Roboto\", sans-serif;\n line-height: 0.6;\n margin-right: 0.53333rem;\n padding: 0.53333rem 0.53333rem 0.53333rem 0; }\n .dropcap:first-letter {\n font-size: 2.8084rem; }\n @media screen and (min-width: 20rem) {\n .dropcap:first-letter {\n font-size: calc(2.8084rem + 1.898 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n .dropcap:first-letter {\n font-size: 4.70641rem; } }\n\n@media all and (min-width: 37.5em) {\n .pagination > a {\n margin: 0 0.53333rem 0 0; } }\n\n.footer {\n border-top: 1px solid #e3e3e3;\n font-family: \"Roboto\", sans-serif;\n margin-top: calc(1.86667rem + 0.5vw);\n padding: calc(1.86667rem + 0.5vw) 0;\n text-align: center; }\n .footer__social > a {\n display: inline-block;\n padding: 0 0.53333rem; }\n .footer__copyright + .footer__social {\n margin-top: 1.6rem; }\n\n.gallery {\n margin: calc(1.6rem + 1vw) -0.53333rem; }\n @media all and (min-width: 20em) {\n .gallery {\n display: flex;\n flex-wrap: wrap; } }\n @media all and (min-width: 20em) {\n .gallery[data-columns=\"1\"] .gallery__item {\n width: 100%; } }\n @media all and (min-width: 30em) {\n .gallery[data-columns=\"2\"] .gallery__item {\n width: 50%; } }\n @media all and (min-width: 37.5em) {\n .gallery[data-columns=\"3\"] .gallery__item {\n width: 33%; } }\n @media all and (min-width: 56.25em) {\n .gallery[data-columns=\"4\"] .gallery__item {\n width: 25%; } }\n @media all and (min-width: 56.25em) {\n .gallery[data-columns=\"5\"] .gallery__item {\n width: 20%; } }\n @media all and (min-width: 56.25em) {\n .gallery[data-columns=\"6\"] .gallery__item {\n width: 16.666%; } }\n @media all and (min-width: 56.25em) {\n .gallery[data-columns=\"7\"] .gallery__item {\n width: 14.285%; } }\n @media all and (min-width: 56.25em) {\n .gallery[data-columns=\"8\"] .gallery__item {\n width: 12.5%; } }\n .gallery__item {\n margin: 0;\n padding: 0.53333rem; }\n @media all and (min-width: 20em) {\n .gallery__item {\n width: 50%; } }\n @media all and (min-width: 30em) {\n .gallery__item {\n width: 33.333%; } }\n @media all and (min-width: 37.5em) {\n .gallery__item {\n width: 25%; } }\n .gallery__item img {\n display: block;\n width: 100%; }\n\n.pswp--dark .pswp__bg {\n background: black; }\n\n.pswp--light .pswp__bg {\n background: white; }\n\n.pswp--light .pswp__counter {\n color: #343434; }\n\n.pswp--light .pswp__caption__center {\n color: #343434; }\n","*,\n*:before,\n*:after {\n\tbox-sizing: border-box;\n\tmargin: 0;\n\tpadding: 0;\n}\n\narticle,\naside,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n\tdisplay: block;\n}\n\nli {\n\tlist-style: none\n}\n\nimg {\n\theight: auto;\n\tmax-width: 100%;\n\tvertical-align: top;\n}\n\nbutton,\ninput,\nselect,\ntextarea {\n\tfont: inherit;\n}\n","// Links\n@mixin links ($link, $hover, $active, $focus) {\n\t& {\n\t\tcolor: $link;\n\t\ttext-decoration: none;\n\t\ttransition: all 0.24s ease-out;\n\t}\n\t&:hover {\n\t\tcolor: $hover;\n\t}\n\t&:active {\n\t\tcolor: $active;\n\t}\n\t&:focus {\n\t\tcolor: $focus;\n\t}\n}\n\n// Horizontal and vertical centering helper\n@mixin centerXY($horizontal: true, $vertical: true) {\n\tposition: absolute;\n\t@if ($horizontal and $vertical) {\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, -50%);\n\t}\n\t@else if ($horizontal) {\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t}\n\t@else if ($vertical) {\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t}\n}\n\n// Fluid typography\n@mixin fluid-type($properties, $min-vw, $max-vw, $min-value, $max-value) {\n\t& {\n\t\t@each $property in $properties {\n\t\t\t#{$property}: $min-value;\n\t\t}\n\t\t@media screen and (min-width: $min-vw) {\n\t\t\t@each $property in $properties {\n\t\t\t\t#{$property}: calc(#{$min-value} + #{strip-unit($max-value - $min-value)} * ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)}));\n\t\t\t}\n\t\t}\n\t\t@media screen and (min-width: $max-vw) {\n\t\t\t@each $property in $properties {\n\t\t\t\t#{$property}: $max-value;\n\t\t\t}\n\t\t}\n\t}\n}\n\n// Appearance property\n@mixin appearance-none {\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n}\n\n@function strip-unit($value) {\n\t@return $value / ($value * 0 + 1);\n}\n","// Breakpoints - Media queries map ------------------------------------\n\n$breakpoints: ( \n sm: 600px,\n md: 900px,\n\t lg: 1200px,\n xl: 1600px \t\n); \n\n\n// Widths ---------------------------------------------------------\n\n$main-col-width: 42rem;\n$sidebar-width: 20rem;\n$hero-height: 29rem;\n\n\n// Typography ---------------------------------------------------------\n\n// Font families \n\n$font-1: 'PT Serif', serif;\n$font-2: 'Roboto', sans-serif;\n$monospace-font: 'Monaco', 'Courier New', monospace;\n\n$body: $font-1;\n$heading: $font-2;\n$logo: $font-2;\n$monospace: $monospace-font;\n\n$font-weight-normal: 400;\n$font-weight-bold: 700;\n\n$letter-spacing: 0.05rem;\n\n// Modular scale\n\n$ms-base: 1rem;\n$ms-ratio: $minor-second; // the list of all available ratios you can find here: /vendors/modular-scale/_ratios.scss\n\n// Min and Max screen width for Fluid Typography\n\n$minScreen: 20rem;\n$maxScreen: 133rem;\n\n\n// Baseline\n\n$line-height: 1.6;\n$baseline: 1.6rem / 6; \n\n\n// Font size map\n\n$font: ( \n\tmin: 1rem,\n\tmax: 1.2rem \n);\n\n$h1: ( \n\tmin: (ms(8)), \n\tmax: (ms(12))\n); \n$h2: ( \n\tmin: (ms(4)),\n\tmax: (ms(7))\n);\n$h3: ( \n\tmin: (ms(2)),\n\tmax: (ms(5))\n);\n$h4: ( \n\tmin: (ms(1)),\n\tmax: (ms(3))\n);\n$h5: ( \n\tmin: (ms(-1)),\n\tmax: (ms(1))\n);\n$h6: ( \n\tmin: (ms(-2)),\n\tmax: (ms(0)) \n);\n\n\n// Colors -------------------------------------------------------------\n\n// main colors\n$dark: #343434;\n$color: #3949ab;\n$color-light: #f5f6ff;\n$gray: #908e98;\n$gray-light: #f7f7f8; \n$white: #ffffff;\n\n// secondary colors\n$color-bg: $white;\n$color-logo: $dark;\n$color-grey-light: tint($dark, 95%); \n\n// text \n$color-text: $dark;\n$color-text-light: tint($dark, 30%);\n$color-text-color: $color;\n$color-headings: $dark;\n\n// menu \n$color-menu: $white;\n$color-menu-link: $dark;\n$color-menu-link-hover: $color;\n$color-menu-border-separator: tint($dark, 90%);\n\n// links \n$color-link: $dark;\n$color-link-hover: $color;\n$color-link-active: $color;\n$color-link-focus: $color;\n\n// borders \n$color-border: $dark;\n$color-border-dark: tint($dark, 65%);\n$color-border-light: tint($dark, 86%);\n$color-border-color: $color;\n\n// buttons \n$color-button-txt: $white;\n$color-button-txt-hover: $white;\n$color-button-border: $dark;\n$color-button-border-hover: $dark;\n$color-button-bg: $color;\n$color-button-bg-hover: $dark;\n$color-button-disabled-bg: tint($dark, 95%);\n$color-button-disabled-border: tint($dark, 75%);\n\n// forms \n$color-input-bg: $white;\n$color-input-bg-color: $color;\n$color-input-border: tint($dark, 80%);\n$color-input-border-focus: $color;\n\n// social share icons \n$share_icons: ( \n\tfacebook: #3b5998, \n\ttwitter: #55acee, \n\tgplus: #dd4b39, \t \n\tinstagram: #405de6, \n\tvimeo: #1ab7ea, \n\tpinterest: #bd081c,\n\tyoutube: #cd201f,\n\tlinkedin: #0077B5,\n\tbuffer: #222222,\n\tstumbleupon:#eb4924\n); \n\n","// Typography ----------------------------------------------------------------- \n\nhtml {\n\t@include fluid-type(font-size, $minScreen, $maxScreen, map-get($font, min), map-get($font, max));\n}\n\nbody {\n\tbackground: $color-bg;\n\tcolor: $color-text;\n\tfont-family: $body;\n\tfont-weight: $font-weight-normal;\n\tline-height: $line-height;\n}\n\na {\n\t@include links ($color-link, $color-link-hover, $color-link-active, $color-link-focus);\n}\n\np,\nul,\nol,\ndl,\ntable {\n\tmargin-top: calc(#{baseline(5)} + 0.5vw);\n}\n\nblockquote,\nfigure {\n\tmargin-top: calc(#{baseline(7)} + 0.5vw);\n\tmargin-bottom: calc(#{baseline(7)} + 0.5vw);\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n\tcolor: $color-headings;\n\tfont-family: $heading;\n\tfont-weight: $font-weight-bold;\n\tline-height: 1.2;\n\tmargin-top: calc(#{baseline(7)} + 0.5vw);\n}\n\nh1 {\n\t@include fluid-type(font-size, $minScreen, $maxScreen, map-get($h1, min), map-get($h1, max));\n\tmargin: 0;\n}\n\nh2 {\n\t@include fluid-type(font-size, $minScreen, $maxScreen, map-get($h2, min), map-get($h2, max));\n}\n\nh3 {\n\t@include fluid-type(font-size, $minScreen, $maxScreen, map-get($h3, min), map-get($h3, max));\n}\n\nh4 {\n\t@include fluid-type(font-size, $minScreen, $maxScreen, map-get($h4, min), map-get($h4, max));\n}\n\nh5 {\n\t@include fluid-type(font-size, $minScreen, $maxScreen, map-get($h5, min), map-get($h5, max));\n}\n\nh6 {\n\t@include fluid-type(font-size, $minScreen, $maxScreen, map-get($h6, min), map-get($h6, max));\n}\n\nh2,\nh3,\nh4,\nh5,\nh6 {\n\t&+p {\n\t\tmargin-top: calc(#{baseline(3)} + 0.25vw);\n\t}\n}\n\nb,\nstrong {\n\tfont-weight: $font-weight-bold;\n}\n\nblockquote {\n\tfont-family: $heading;\n\tfont-weight: $font-weight-bold;\n\tpadding: 0 15%;\n\tcite {\n\t\tcolor: $color-text;\n\t\tdisplay: block;\n\t\tfont-family: $body;\n\t\tfont-size: ms(-2);\n\t\tfont-style: normal;\n\t\tpadding-top: baseline(2);\n\t}\n\t&> :nth-child(1) {\n\t\tmargin-top: 0;\n\t}\n\t&:before {\n\t\tdisplay: block;\n\t\theight: 0;\n\t\tcontent: \"“\";\n\t\tmargin-left: -.55em;\n\t\t@include mappy-bp(sm) {\n\t\t\tmargin-left: -.85em;\n\t\t}\n\t\tfont: normal 400%/0.9 $heading;\n\t\tcolor: $color-border-light;\n\t}\n}\n\nul,\nol {\n\tmargin-left: 2rem;\n\t&>li {\n\t\tlist-style: inherit;\n\t\tpadding: baseline(1) 0 0 baseline(4);\n\t}\n}\n\ndl {\n\tdt {\n\t\tfont-weight: $font-weight-bold;\n\t}\n}\n\npre {\n\tmargin: calc(#{baseline(4)} + 0.25vw) 0 0;\n\tpadding: baseline(6) baseline(12);\n\twhite-space: pre-wrap;\n\tword-wrap: break-word;\n}\n\ncode,\npre {\n\tbackground-color: #f6f6f6;\n\tfont-family: $monospace;\n\tfont-size: ms(-1);\n}\n\ntable {\n\tborder-collapse: collapse;\n\tborder-spacing: 0;\n\tdisplay: block;\n\tmax-width: 100%;\n\toverflow-x: auto;\n\tvertical-align: top;\n\ttext-align: left;\n\twhite-space: nowrap;\n\tth {\n\t\tborder-bottom: 2px solid $color-border-light;\n\t\tpadding: baseline(3) baseline(5);\n\t}\n\ttr {\n\t\t&:nth-child(2n) {\n\t\t\tbackground: $color-grey-light;\n\t\t}\n\t}\n\ttd {\n\t\tpadding: baseline(3) baseline(5);\n\t}\n}\n\nfigcaption {\n\tcolor: $gray;\n\tfont-family: $font-2;\n\tfont-weight: $font-weight-normal;\n\tfont-size: ms(-4);\n\tmargin: baseline(4) 0 0;\n\ttext-align: center;\n}\n\nsub,\nsup {\n\tfont-size: 65%;\n}\n","@function ms-calc($Value, $Base: $ms-base, $Ratio: $ms-ratio) {\n \n // If pow exists use it.\n // It supports non-interger values!\n @if $MS-pow-exists {\n\n // The formula for figuring out modular scales is:\n // (r^v)*b\n @return pow($Ratio, $Value) * $Base;\n }\n\n // If not, use ms-pow().\n // Not as fast or capable of non-integer exponents.\n @else {\n @return ms-pow($Ratio, $Value) * $Base;\n }\n}","// Darken & Lighten color \n\n@function tint($color, $percentage) {\n\t@return mix(white, $color, $percentage);\n}\n\n@function shade($color, $percentage) {\n\t@return mix(black, $color, $percentage);\n}\n\n// Baseline for Vertical Rhythm\n\n@function baseline($value){\n @return ($baseline) * $value\n}\n\n\n","// Mappy breakpoints\n// -----------------\n// Output media query with focus on min-width, max-width, min-height and max-height.\n// Other media rules are passed as the second argument in a map\n//\n// @author Zell Liew\n// =================\n$breakpoints: () !default;\n$mappy-queries: () !default;\n\n// Mappy BP [Mixin]\n// ----------------\n// - $queries : or in the format:\n// h \n// - $type : \n// - $query-fallback : selector class\n// - $breakpoints : \n@mixin mappy-bp($queries, $type: all, $query-fallback: null, $breakpoints: $breakpoints) {\n\n // Gets mappy map through mappy-bp fn\n $mappy-map: mappy-bp($queries, $type, $query-fallback, $breakpoints);\n\n // Outputs media string\n @media #{map-get($mappy-map, type)} and #{map-get($mappy-map, media-string)} {\n @content;\n }\n\n // If a query fallback is provided\n @if $query-fallback {\n #{$query-fallback} & {\n @content;\n }\n }\n}\n\n// Mappy Query [Mixin]\n// -------------------\n// Output query from $mappy-queries map.\n// $query : from $mappy-queries key\n@mixin mappy-query($query, $mappy-queries: $mappy-queries) {\n @if not map-has-key($mappy-queries, $query) {\n @error \"#{$mappy-queries} does not contain #{$query}\";\n }\n\n $mappy-map: map-get($mappy-queries, $query);\n\n @media #{map-get($mappy-map, type)} and #{map-get($mappy-map, media-string)} {\n @content;\n }\n\n // If a query fallback is provided\n @if map-get($mappy-map, query-fallback) {\n #{map-get($mappy-map, query-fallback)} & {\n @content;\n }\n }\n}\n\n// Mappy BP [Function]\n// -------------------\n// Returns a map with 3 keys\n// - type : Media type\n// - media-string : media query string\n// - query-fallback : query fallback (if any)\n@function mappy-bp($queries, $type: all, $query-fallback: null, $breakpoints: $breakpoints) {\n $media-string: ();\n $_return: ();\n $media-map: parse-bp($queries, $breakpoints);\n\n @each $key, $value in $media-map {\n @if $value and $value != 0 {\n @if $media-string == (()) {\n $media-string: append($media-string, unquote(\"(#{$key}: #{$value})\"));\n }\n\n @else {\n $media-string: append($media-string, unquote(\"and (#{$key}: #{$value})\"));\n }\n }\n }\n $_return: (\n type: $type,\n media-string: implode($media-string),\n query-fallback: $query-fallback\n );\n\n @return $_return;\n}\n\n// BP [Mixin]\n// ----------\n// Convenience mixin for Mappy Breakpoints\n@mixin bp($queries, $type: all, $query-fallback: null, $breakpoints: $breakpoints) {\n @include mappy-bp($queries, $type, $query-fallback, $breakpoints) {\n @content;\n }\n}\n\n// Parse BP [function]\n// -------------------\n// Parses arguments and returns a map with 4 keys\n@function parse-bp($queries, $breakpoints) {\n $_return: ();\n $_i: 1;\n $_minw: null;\n $_maxw: null;\n $_minh: null;\n $_maxh: null;\n $_length: length($queries);\n\n // Checks for width queries\n $_minw: nth($queries, 1);\n $_minw: mappy-validate($_minw, $breakpoints);\n\n // Check for width queries\n @if $_minw {\n $_minw: mappy-convert-to-em($_minw);\n $_return: map-merge($_return, (min-width: $_minw));\n $queries: set-nth($queries, 1, null);\n }\n\n // Checks if there is a max width query\n @if $_minw and $_length >= 2 {\n $_maxw: nth($queries, 2);\n $_maxw: mappy-validate($_maxw, $breakpoints);\n }\n\n @if $_maxw {\n $_maxw: mappy-convert-to-em($_maxw - 1px);\n $_return: map-merge($_return, (max-width: $_maxw));\n $queries: set-nth($queries, 2, null);\n }\n\n // Checks for height queries\n $_h: index($queries, h) or index($queries, height);\n\n @if $_h {\n $_minh: nth($queries, $_h + 1);\n $_minh: mappy-validate($_minh, $breakpoints);\n\n @if $_minh {\n $_minh: mappy-convert-to-em($_minh);\n $_return: map-merge($_return, (min-height: $_minh));\n $queries: set-nth($queries, $_h + 1, null);\n }\n\n // Checks if there is a max height query\n @if $_length - $_h >= 2 {\n $_maxh: nth($queries, $_h + 2);\n $_maxh: mappy-validate($_maxh, $breakpoints);\n }\n\n @if $_maxh {\n $_maxh: mappy-convert-to-em($_maxh - 1px);\n $_return: map-merge($_return, (max-height: $_maxh));\n $queries: set-nth($queries, $_h + 2, null);\n }\n // Reset h marker\n $queries: set-nth($queries, $_h, null);\n }\n\n // Checks for other queries\n @while $_i <= length($queries) {\n $_key: nth($queries, $_i);\n\n @if $_key and $_length - $_i >= 1 {\n $_val: nth($queries, $_i + 1);\n $_return: map-merge($_return, (#{$_key}: $_val));\n $queries: set-nth($queries, $_i, null);\n $queries: set-nth($queries, $_i + 1, null);\n }\n\n @else if $_key {\n @warn unquote('\"Mappy Breakpoints is missing value for media feature \"#{$_key}\"\"');\n }\n $_i: $_i + 1;\n }\n @return $_return;\n}\n\n// Mappy Validate [Function]\n// -------------------------\n// Checks if $query given is one of the following:\n// 1) Is a $key in the $breakpoints map\n// 2) Is a number\n// 3) Is a \"max\", \"max-width\" or \"max-height\" string\n@function mappy-validate($query, $breakpoints) {\n $_return: null;\n\n @if map-has-key($breakpoints, $query) {\n $_return: map-get($breakpoints, $query);\n }\n\n @else if type-of($query) == number {\n $_return: $query;\n }\n\n @else if $query == \"max\" or $query == \"max-height\" or $query == \"max-width\" {\n $_return: 0;\n }\n\n @else {\n $_return: null;\n }\n @return $_return;\n}\n\n// Mappy Convert To Em [Function]\n// -------------------------------\n// Checks and converts px values to em. Leave other units untouched.\n\n@function mappy-convert-to-em($val) {\n @if unit($val) == \"px\" or $val == 0 {\n @return mappy-em($val);\n } @else if unit($val) == \"em\" {\n @return $val;\n } @else if unit($val) == \"rem\" {\n @return mappy-strip-unit($val) * 1em;\n } @else {\n @error unquote(\"Breakpoint value must have a unit if it's a number\");\n }\n}\n\n// Mappy Em [Function]\n// --------------------\n// Converts pixels to em with $base-font-size\n// - https://gist.github.com/ijy/1441967\n@function mappy-em($target, $context: 16px) {\n @if $target == 0 {\n @return 0;\n }\n @return $target / $context * 1em;\n}\n\n@function mappy-strip-unit($num) {\n @return $num / ($num * 0 + 1);\n}\n\n// Implode [Function]\n// --------------------\n// Implode a list into a string\n@function implode($list, $glue: ' ') {\n $res: null;\n $len: length($list);\n\n @for $i from 1 through $len {\n $e: nth($list, $i);\n @if $i == $len {\n $res: unquote(\"#{$res}#{$e}\");\n }\n @else {\n $res: unquote(\"#{$res}#{$e}#{$glue}\");\n }\n }\n\n @return $res;\n}\n","// Buttons ----------------------------------------------------------------- \n\n.btn {\n\tbackground: $color-button-bg;\n\tborder: none;\n\tborder-radius: 50px;\n\tcolor: $color-button-txt;\n\tcursor: pointer;\n\tdisplay: inline-block;\n\tfont: $font-weight-bold ms(-5) $heading;\n\tletter-spacing: $letter-spacing * 3;\n\tpadding: baseline(3) baseline(6);\n\tvertical-align: middle;\n\ttext-align: center;\n\ttext-transform: lowercase;\n\ttransition: all 0.24s ease;\n\twidth: 100%;\n\t@include mappy-bp(sm) {\n\t\twidth: auto\n\t}\t\n\t&:hover,\n\t&:focus,\n\t&:active {\n\t\tbackground: $color-button-bg-hover;\n\t\t\n\t\tcolor: $color-button-txt-hover;\n\t}\n\t&:focus {\n\t\toutline: 2px dotted $color-button-border-hover;\n\t}\n\t&:disabled {\n\t\tbackground-color: $color-button-disabled-bg;\n\t\tborder-color: $color-button-disabled-border;\n\t\tcolor: $color-text-light;\n\t\tcursor: not-allowed;\n\t}\n}\n\n[type=button],\n[type=submit],\nbutton {\n\t@extend .btn;\n\t@include appearance-none;\n}\n","// Forms ----------------------------------------------------------------- \n\nfieldset {\n\tborder: 1px solid $color-input-border;\n\tborder-radius: 6px;\n\tmargin: 0 0 baseline(6);\n\tpadding: baseline(6);\n\t&>legend {\n\t\tmargin-left: -1rem;\n\t\tpadding: 0 1rem;\n\t}\n}\n\nlegend {\n\tfont-weight: $font-weight-bold;\n}\n\nlabel {\n\tfont-weight: $font-weight-bold;\n\tmargin: 0 baseline(4) baseline(3) 0;\n}\n\noption {\n\tfont-weight: $font-weight-normal;\n}\n\n[type=text],\n[type=url],\n[type=tel],\n[type=number],\n[type=email],\n[type=search],\ntextarea,\nselect {\n\tbackground-color: $color-input-bg;\n\tborder: 1px solid $color-input-border;\n\tborder-radius: 50px;\n\tfont-size: 1rem;\n\toutline: none;\n\tpadding: baseline(2) baseline(3);\n\twidth: 100%;\n\ttransition: all 0.24s ease-out;\n\t@include mappy-bp(sm) {\n\t\twidth: auto\n\t}\n\t@include appearance-none;\n\t&:focus {\n\t\tbox-shadow:inset 0 0 2px $color;\n\t}\n}\n\ninput[type=checkbox],\ninput[type=radio] {\n opacity: 0;\n position: absolute;\n\n & + label {\n position: relative;\n margin-left: -1px;\n cursor: pointer;\n padding: 0;\n\n &:before {\n background-color: $color-input-bg;\n border: 1px solid $color-input-border;\n border-radius: 2px;\n content: '';\n display: inline-block;\n height: baseline(5);\n line-height: baseline(5);\n margin-right: baseline(4);\n vertical-align: middle;\n text-align: center;\n width: baseline(5); \n }\n }\n &:checked + label:before {\n content: \"\";\n background-image: url(\"data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 8'%3e%3cpolygon points='9.53 0 4.4 5.09 1.47 2.18 0 3.64 2.93 6.54 4.4 8 5.87 6.54 11 1.46 9.53 0' fill='%233949ab'/%3e%3c/svg%3e\");\n background-repeat: no-repeat;\n background-size: 11px 8px;\n background-position: 50% 50%;\n }\n}\n\ninput[type=radio] {\n & + label {\n &:before {\n border-radius: 50%;\n }\n }\n &:checked + label:before {\n background-image: url(\"data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3ccircle cx='4' cy='4' r='4' fill='%233949ab'/%3e%3c/svg%3e\");\n }\n}\n\n[type=file] {\n\tmargin-bottom: baseline(6);\n\twidth: 100%;\n}\n\nselect {\n\tmax-width: 100%;\n\twidth: auto;\n\tposition: relative;\n\t&:not([multiple]) {\n\t\tbackground: url('data:image/svg+xml;utf8,') no-repeat 90% 50%;\n\t\tbackground-size: 8px;\n\t\tpadding-right: baseline(12);\n\t}\n}\n\nselect[multiple] {\n\tborder-radius: 6px;\n\tpadding: baseline(6);\n\twidth: 100%;\n\t&:hover {\n\t\tborder-color: $color-input-border;\n\t}\n\t&:focus {\n\t\tborder-color: $color-input-border-focus;\n\t}\n\t&:disabled {\n\t\tbackground-color: $color-button-disabled-bg;\n\t\tcursor: not-allowed;\n\t\t&:hover {\n\t\t\tborder-color: $color-input-border;\n\t\t}\n\t}\n}\n\ntextarea {\n\tborder-radius: 6px;\n\tdisplay: block;\n\toverflow: auto;\n\tresize: vertical;\n\tmax-width: 100%;\n}\n","// CSS Grid Layout ----------------------------------------------------------------- \n\n// Main columns\n.container {\n\tdisplay: grid;\n\tgrid-gap: calc(#{baseline(7)} + 0.5vw);\n\tgrid-template-columns: 1fr auto 1fr;\n\t@include mappy-bp(md) {\n\t\tgrid-template-columns: 1fr minmax(auto, $main-col-width) $sidebar-width 1fr;\n\t}\n}\n\n.top {\n\tgrid-column: 2/3;\n\t@include mappy-bp(md) {\n\t\tgrid-column: 2/4;\n\t}\n}\n\n.footer {\n\tgrid-column: 2/3;\n\t@include mappy-bp(md) {\n\t\tgrid-column: 2/4;\n\t}\n}\n\n.main {\n\tgrid-column: 2/3;\n\t&--full {\n\t\tgrid-column: 2/4;\n\t}\n\t&--grid {\n\t\talign-content: start;\n\t\tdisplay: grid;\n\t\tgrid-gap: calc(#{baseline(7)} + 0.5vw);\n\t\t@include mappy-bp(sm) {\n\t\t\tgrid-template-columns: repeat(6, 1fr);\n\t\t\t&>.article {\n\t\t\t\tgrid-column: span 3;\n\t\t\t}\n\t\t}\n\t}\n}\n\n.sidebar {\n\tgrid-column: 2/3;\n\t@include mappy-bp(md) {\n\t\tgrid-column: 3/4;\n\t}\n}\n\n// Content sections \n.hero,\n.page-header--listing {\n\t@include mappy-bp(sm) {\n\t\tgrid-column: span 6;\n\t}\n}\n\n.featured-posts {\n\t@include mappy-bp(sm) {\n\t\tgrid-column: span 6;\n\t\tdisplay: grid;\n\t\tgrid-column-gap: calc(#{baseline(7)} + 0.5vw);\n\t\tgrid-template-columns: repeat(3, 1fr);\n\t\t&>h3 {\n\t\t\tgrid-column: span 3;\n\t\t}\n\t}\n}\n\n.pagination {\n\t@include mappy-bp(sm) {\n\t\tgrid-column: span 6;\n\t}\n}\n","// Header ----------------------------------------------------------------- \n\n.top {\n\talign-items: center;\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tmargin-top: calc(#{baseline(7)} + 0.5vw);\n\tposition: relative;\n}\n","// Logo ----------------------------------------------------------------- \n\n.logo {\n\tcolor: $color-logo !important;\n\tfont-family: $logo;\n\tfont-weight: 800;\n\t\n\t@include fluid-type(font-size, $minScreen, $maxScreen, ms(6), ms(10));\n\t@include mappy-bp(md) {\n\t\tmargin: 0;\n\t}\n}\n","// Menu ----------------------------------------------------------------- \n\n.navbar {\n\t&__menu {\n\t\t// before \"is opened\"\n\t\tfont-family: $font-2;\n\t\tfont-weight: $font-weight-bold;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\toverflow: hidden;\n\t\t@include mappy-bp(max md) {\n\t\t\tbackground: $color-menu;\n\t\t\theight: 100vh;\n\t\t\tleft: 0;\n\t\t\topacity: 0;\n\t\t\tposition: absolute;\n\t\t\ttop: 2.99rem;\n\t\t\ttransition: all 0.3s ease-out;\n\t\t\tvisibility: hidden;\n\t\t\ttransform: translateY(-5%);\n\t\t\twidth: 100%;\n\t\t\tz-index: 1;\n\t\t\t&>li {\n\t\t\t\ttransition: all 0.3s ease-out;\n\t\t\t\tborder-bottom: 1px solid $color-border-light;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t}\n\t\t@include mappy-bp(md) {\n\t\t\tmax-height: none;\n\t\t\toverflow: visible;\n\t\t}\n\t\tpadding: 0;\n\t\tli {\n\t\t\tcolor: $color-menu-link;\n\t\t\tpadding: 0;\n\t\t\ttext-align: center;\n\t\t\t@include mappy-bp(md) {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmargin: 0 0 0 baseline(6);\n\t\t\t\tposition: relative;\n\t\t\t}\n\t\t\t&:hover,\n\t\t\t&[aria-expanded=\"true\"] {\n\t\t\t\tcursor: pointer;\n\t\t\t\t&>ul {\n\t\t\t\t\t@include mappy-bp(md) {\n\t\t\t\t\t\tdisplay: block;\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\t\tdisplay: block;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\ta,\n\t\t\tspan {\n\t\t\t\tdisplay: block;\n\t\t\t\tcolor: $color-menu-link;\n\t\t\t\twhite-space: nowrap;\n\t\t\t\t@include mappy-bp(max md) {\n\t\t\t\t\tpadding: baseline(4) 0;\n\t\t\t\t}\n\t\t\t\t&:after {\n\t\t\t\t\tcontent: \"\";\n\t\t\t\t\tdisplay: block;\n\t\t\t\t\tmargin: 0 auto;\n\t\t\t\t}\n\t\t\t\t&:hover:not(span) {\n\t\t\t\t\tcolor: $color-menu-link-hover;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t&__submenu {\n\t\t@include mappy-bp(max md) {\n\t\t\tmargin: 0;\n\t\t}\n\t\t@include mappy-bp(md) {\n\t\t\tbackground: $color-menu;\n\t\t\tbox-shadow: 0 0 6px rgba($dark, 0.15);\n\t\t\tdisplay: none;\n\t\t\tleft: auto;\n\t\t\tmargin: 15px 0 0;\n\t\t\tpadding: baseline(2) 0;\n\t\t\tposition: absolute;\n\t\t\ttop: 100%;\n\t\t\twidth: auto;\n\t\t\tz-index: 2000;\n\t\t\t&:before {\n\t\t\t\t// submenu top space\n\t\t\t\tcontent: '';\n\t\t\t\tdisplay: block;\n\t\t\t\theight: 15px;\n\t\t\t\tleft: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: -15px;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\tli {\n\t\t\t\tborder: none;\n\t\t\t\tfont-weight: normal;\n\t\t\t\tmargin: 0;\n\t\t\t\t&>a {\n\t\t\t\t\tpadding: baseline(2) baseline(10);\n\t\t\t\t\t@include mappy-bp(max md) {\n\t\t\t\t\t\tpadding: baseline(1) 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t&:hover {\n\t\t\t\t\t&>a {\n\t\t\t\t\t\tbackground: $gray-light;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tul {\n\t\t\t\t\t// second and the next lavel\n\t\t\t\t\tleft: 90%;\n\t\t\t\t\ttop: 0;\n\t\t\t\t\ttransform: translate(-10%, 0);\n\t\t\t\t\t&.navbar__submenu--reversed {\n\t\t\t\t\t\tleft: auto;\n\t\t\t\t\t\tright: 90%;\n\t\t\t\t\t\ttop: 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t&__toggle {\n\t\tbackground: none;\n\t\tborder: none;\n\t\tborder-top: 2px solid $dark;\n\t\tborder-radius: 0;\n\t\tdisplay: block;\n\t\t@include mappy-bp(md) {\n\t\t\tdisplay: none;\n\t\t}\n\t\theight: 14px;\n\t\tpadding: 0;\n\t\t@include centerXY(false, true);\n\t\tright: 0;\n\t\ttext-indent: -99999rem;\n\t\twidth: 1.6rem;\n\t\tz-index: 3;\n\t\t&:before {\n\t\t\tborder-top: 2px solid $dark;\n\t\t\tcontent: \"\";\n\t\t\tleft: 0;\n\t\t\tposition: absolute;\n\t\t\ttop: 4px;\n\t\t\twidth: 100%;\n\t\t}\n\t\t&:after {\n\t\t\tborder-bottom: 2px solid $dark;\n\t\t\tcontent: \"\";\n\t\t\tleft: 0;\n\t\t\tposition: absolute;\n\t\t\tbottom: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t\t&:focus {\n\t\t\tbackground: none;\n\t\t\toutline: none;\n\t\t\tborder: none;\n\t\t\tborder-top: 2px solid $color-border;\n\t\t}\n\t\t&:hover {\n\t\t\tbackground: none;\n\t\t}\n\t}\n}\n\n.is-opened {\n\t&>ul {\n\t\topacity: (1);\n\t\toverflow: auto;\n\t\tvisibility: visible;\n\t\ttransform: translateY(0);\n\t\tli {\n\t\t\tpadding: 0;\n\t\t\ttransform: translateY(0);\n\t\t\tul {\n\t\t\t\theight: 0;\n\t\t\t\topacity: (0);\n\t\t\t\ttransition: all 0.3s ease-out;\n\t\t\t\ttransform: translateY(-10%);\n\t\t\t\t& li {\n\t\t\t\t\tborder-top: 1px solid $color-border-light;\n\t\t\t\t}\n\t\t\t}\n\t\t\t&:hover>ul {\n\t\t\t\theight: auto;\n\t\t\t\topacity: (1);\n\t\t\t\ttransform: translateX(0);\n\t\t\t}\n\t\t\t&[aria-expanded=\"true\"]>ul {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@include mappy-bp(max md) {\n\t.has-submenu {\n\t\t&:after {\n\t\t\tbackground: $white;\n\t\t\tborder-right: 1px solid $color-border;\n\t\t\tborder-bottom: 1px solid $color-border;\n\t\t\tcontent: '';\n\t\t\tdisplay: block;\n\t\t\theight: 8px;\n\t\t\tposition: absolute;\n\t\t\tright: 10px;\n\t\t\ttop: 1rem;\n\t\t\ttransform: rotate(45deg);\n\t\t\twidth: 8px;\n\t\t}\n\t}\n}\n","// Sidebar ----------------------------------------------------------------- \n\n.sidebar {\n\tinput {\n\t\twidth: 100%;\n\t\t&+input {\n\t\t\tmargin-top: baseline(2);\n\t\t}\n\t}\n}\n\n.box {\n\tmargin-bottom: calc(#{baseline(12)} + 1vw);\n\t&--gray {\n\t\tbackground: $gray-light;\n\t\tpadding: calc(#{baseline(7)} + 0.5vw);\n\t\t&>.box__title {\n\t\t\tborder-top: none;\n\t\t\tpadding-top: 0;\n\t\t}\n\t}\n\t&__title {\n\t\tcolor: $color-text-color;\n\t\tmargin: 0 0 calc(#{baseline(7)} + 0.5vw);\n\t}\n\tul {\n\t\tmargin-left: 0;\n\t}\n}\n\n.owner {\n\ttext-align: center;\n\t&>img {\n\t\tborder-radius: 50%;\n\t\tmax-width: 7rem;\n\t}\n\t&>p {\n\t\tfont-size: ms(-2);\n\t}\n\t&__email {\n\t\tdisplay: block;\n\t\tmargin-top: baseline(3);\n\t\ttext-decoration: underline\n\t}\n}\n\n.authors {\n\tlist-style: none;\n\t&>li {\n\t\talign-items: center;\n\t\tclear: both;\n\t\tdisplay: flex;\n\t\tmargin: 0 0 calc(#{baseline(6)} + 0.75vw);\n\t\tpadding: 0;\n\t}\n\t&__img {\n\t\tmargin-right: 2rem;\n\t}\n\t&__title {\n\t\tdisplay: block;\n\t\tfont-family: $heading;\n\t\tfont-weight: $font-weight-bold;\n\t}\n}\n\n.tags {\n\t&>li {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\tpadding-left: 0;\n\t}\n}\n\n.newsletter {\n\t&__note {\n\t\tcolor: $gray;\n\t\tfont-size: ms(-4);\n\t\tmargin: 0 0 baseline(4);\n\t}\n}\n","// Utility classes ----------------------------------------------------------\n\n.u-small {\n\tcolor: $gray;\n\tfont-family: $font-2;\n\tfont-weight: $font-weight-normal;\n\tfont-size: ms(-4);\n}\n\n.u-icon {\n\tfill: rgba($dark, 0.8);\n\theight: ms(0);\n\twidth: ms(0);\n\ttransition: all 0.24s ease-out;\n}\n\n\n// Hero ----------------------------------------------------------\n\n.hero {\n\theight: $hero-height;\n\tposition: relative;\n\t&__image {\n\t\theight: $hero-height;\n\t\tobject-fit: cover;\n\t\topacity: 0.9;\n\t\tposition: relative;\n\t\twidth: 100%;\n\t}\n\t&__text {\n\t\tcolor: $white;\n\t\ttext-align: center;\n\t\twidth: 80%;\n\t\t@include centerXY(true, true);\n\t\t&>h1 {\n\t\t\tcolor: $white;\n\t\t}\n\t\t&>.btn {\n\t\t\tmargin-top: baseline(6);\n\t\t}\n\t}\n}\n\n\n// Post listing (index, author, tag) ------------------------------\n\n.page-header {\n\tborder-top: 3px solid $color-border;\n\tpadding-top: calc(#{baseline(7)} + 0.5vw);\n\t&__title {\n\t\tcolor: $color-text-color;\n\t}\n\t&__desc {\n\t\tmargin-top: calc(#{baseline(1)} + 0.5vw);\n\t}\n}\n\n.article {\n\tmargin-bottom: calc(#{baseline(6)} + 0.5vw);\n\t&__title {\n\t\t@include fluid-type(font-size, $minScreen, $maxScreen, ms(2), ms(3));\n\t}\n\t&__meta {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: space-between;\n\t\t&__avatar {\n\t\t\tborder-radius: 50%;\n\t\t\theight: baseline(8);\n\t\t\tmargin-right: baseline(3);\n\t\t\twidth: baseline(8);\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: middle;\n\t\t}\n\t}\n}\n\n\n// Post page ----------------------------------------------------------\n\n.post {\n\tborder-top: 3px solid $color-border;\n\tpadding-top: calc(#{baseline(7)} + 0.5vw);\n\t&__meta {\n\t\tmargin: calc(#{baseline(4)} + 0.25vw) 0 0 0;\n\t\t&>li {\n\t\t\tdisplay: inline-block;\n\t\t\tlist-style: none;\n\t\t\tpadding: baseline(1) baseline(4) 0 0;\n\t\t\t&>svg {\n\t\t\t\tfill: #ffc400;\n\t\t\t\tvertical-align: top;\n\t\t\t}\n\t\t}\n\t}\n\t&__image {\n\t\t&--left {\n\t\t\tfloat: left;\n\t\t\tmargin-right: calc(#{baseline(7)} + 0.5vw);\n\t\t\tmax-width: 50%;\n\t\t}\n\t\t&--right {\n\t\t\tfloat: right;\n\t\t\tmargin-left: calc(#{baseline(7)} + 0.5vw);\n\t\t\tmax-width: 50%;\n\t\t}\n\t\t&--center {\n\t\t\tdisplay: block;\n\t\t\tmargin-left: auto;\n\t\t\tmargin-right: auto;\n\t\t\ttext-align: center;\n\t\t}\n\t\t&--wide {\n\t\t\ttext-align: center;\n\t\t}\n\t\t&--full {\n\t\t\ttext-align: center;\n\t\t}\n\t}\n\t&__video {\n\t\theight: 0;\n\t\toverflow: hidden;\n\t\tpadding-top: baseline(6);\n\t\tpadding-bottom: 56.25%;\n\t\tposition: relative;\n\n\t\t& > iframe {\n\t\t\tborder: none;\n\t\t\theight: 100%;\n\t\t\tleft: 0;\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t} \n\t&__entry {\n\t\tmargin-top: calc(#{baseline(7)} + 1vw);\n\t\t@include mappy-bp(max md) {\n\t\t\tmax-width: 36rem;\n\t\t\tmargin-left: auto;\n\t\t\tmargin-right: auto;\n\t\t}\n\t\t&>:nth-child(1) {\n\t\t\tmargin-top: 0;\n\t\t}\n\t\ta {\n\t\t\t@include links ($color-link-hover, $color-link, $color-link, $color-link);\n\t\t}\n\t\ta:hover {\n\t\t\ttext-decoration: underline;\n\t\t}\n\t}\n\t&__footer {\n\t\tmargin-top: calc(#{baseline(7)} + 0.5vw);\n\t\t@include mappy-bp(max sm) {\n\t\t\ttext-align: center;\n\t\t}\n\t\t&>.box {\n\t\t\tborder-top: 1px solid $color-border-light;\n\t\t\tpadding-top: calc(#{baseline(7)} + 0.5vw);\n\t\t\ttext-align: center;\n\t\t}\n\t}\n\t&__last-updated {\n\t\tcolor: $gray;\n\t\tfont-size: ms(-4);\n\t\tmargin-bottom: calc(#{baseline(7)} + 0.5vw);\n\t}\n\t&__share {\n\t\t&>a {\n\t\t\tbackground: $gray-light;\n\t\t\tborder-radius: 50px;\n\t\t\tdisplay: inline-block;\n\t\t\tfont-family: $font-2;\n\t\t\tfont-size: ms(-4);\n\t\t\tpadding: baseline(2) baseline(6);\n\t\t\tmargin: baseline(2) baseline(2) 0;\n\t\t\t&>.u-icon {\n\t\t\t\tpointer-events: none;\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmargin-right: baseline(2);\n\t\t\t\tvertical-align: middle;\n\t\t\t}\n\t\t}\n\t}\n\t&__tag {\n\t\tmargin-left: 0;\n\t\tmargin-top: 0;\n\t\tli {\n\t\t\tdisplay: inline-block;\n\t\t\t&>a {\n\t\t\t\tbackground: $gray-light;\n\t\t\t\tborder-radius: 50px;\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tfont-family: $font-2;\n\t\t\t\tfont-size: ms(-4);\n\t\t\t\tpadding: baseline(2) baseline(6);\n\t\t\t}\n\t\t}\n\t}\n\t&__bio {\n\t\t&>img {\n\t\t\tborder-radius: 50%;\n\t\t\theight: baseline(18);\n\t\t\twidth: baseline(18);\n\t\t}\n\t}\n\t&__nav {\n\t\tcolor: $gray;\n\t\tdisplay: flex;\n\t\tfont-size: ms(-4);\n\t\tjustify-content: space-between;\n\t\tmargin-bottom: calc(#{baseline(7)} + 0.5vw);\n\t\t&__link {\n\t\t\tcolor: $color-text-light;\n\t\t\t@include mappy-bp(sm) {\n\t\t\t\talign-items: flex-start;\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-around;\n\t\t\t}\n\t\t\t&>img {\n\t\t\t\twidth: 100px;\n\t\t\t\t@include mappy-bp(max sm) {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t}\n\t\t\t&:hover {\n\t\t\t\th5 {\n\t\t\t\t\ttransition: all 0.12s linear;\n\t\t\t\t\tcolor: $color-link-hover;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\th5 {\n\t\t\tfont-size: ms(-2);\n\t\t\tmargin: baseline(1) 0 0;\n\t\t\tposition: relative;\n\t\t}\n\t\t&__prev {\n\t\t\tflex-basis: 50%;\n\t\t\ttext-align: left;\n\t\t}\n\t\t&__next {\n\t\t\tflex-basis: 50%;\n\t\t\tmargin-left: auto;\n\t\t\ttext-align: right;\n\t\t}\n\t\t&__text {\n\t\t\t@include mappy-bp( sm) {\n\t\t\t\twidth: 55%;\n\t\t\t}\n\t\t}\n\t}\n\t&__related {\n\t\t&__wrap {\n\t\t\tdisplay: flex;\n\t\t\tflex-wrap: wrap;\n\t\t\tjustify-content: center;\n\t\t\tmargin: calc(#{baseline(7)} + 0.5vw) -2% 0;\n\t\t\twidth: 104%;\n\t\t\t@include mappy-bp(md) {\n\t\t\t\tflex-wrap: no-wrap;\n\t\t\t}\n\t\t\tfigure {\n\t\t\t\tmargin: 0;\n\t\t\t\tflex-basis: 50%;\n\t\t\t\tpadding: baseline(3) 2%;\n\t\t\t\t@include mappy-bp(sm) {\n\t\t\t\t\tflex-basis: 33.333%;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfigcaption {\n\t\t\t\t&>time {\n\t\t\t\t\tcolor: $gray;\n\t\t\t\t\tfont-size: ms(-3);\n\t\t\t\t\tmargin: 0 0 baseline(3);\n\t\t\t\t}\n\t\t\t}\n\t\t\th4 {\n\t\t\t\tfont-size: ms(-2);\n\t\t\t\tmargin: baseline(6) 0 baseline(2);\n\t\t\t}\n\t\t}\n\t}\n}\n\n\n// Comments ----------------------------------------------------------\n\n.comments {\n\tborder-top: 1px solid $color-border-light;\n\tpadding-top: calc(#{baseline(7)} + 0.5vw);\n\ttext-align: center;\n\t&>h3 {\n\t\tmargin-bottom: calc(#{baseline(7)} + 0.5vw);\n\t}\n}\n\n\n// Author page ----------------------------------------------------------\n\n.author {\n\t&__avatar {\n\t\tborder-radius: 50%;\n\t\theight: baseline(18);\n\t\tmargin-bottom: calc(#{baseline(7/2)} + 0.5vw);\n\t\twidth: baseline(18);\n\t}\n}\n\n\n// Search page ----------------------------------------------------------\n\n.search {\n\t&__form {\n\t\tmargin-top: calc(#{baseline(7)} + 0.5vw);\n\t}\n\t&__input {\n\t\twidth: 100%;\n\t}\n}\n\n\n// Google Custom Search -------------------------------------------------\n\n.gs-webResult {\n\tborder-top: 1px solid $color-border-light;\n\tpadding-top: 1rem;\n}\n\n.gsc-table-result {\n\tmargin-top: baseline(2);\n\twhite-space: initial;\n\ttd {\n\t\tpadding: 0;\n\t}\n}\n\n\n// Required by WYSIWYG editor --------------------------------------------\n\n.align-left {\n\ttext-align: left;\n}\n\n.align-right {\n\ttext-align: right;\n}\n\n.align-center {\n\ttext-align: center;\n}\n\n.align-justify {\n\ttext-align: justify;\n}\n\n.msg {\n\tpadding: baseline(4) baseline(6);\n\t&--highlight {\n\t\tbackground-color: #fff7e5;\n\t}\n\t&--info {\n\t\tbackground-color: #d9edf7;\n\t}\n\t&--success {\n\t\tbackground: #d5efc2;\n\t}\n}\n\n.dropcap {\n\t&:first-letter {\n\t\tcolor: $color-headings;\n\t\tfloat: left;\n\t\tfont-family: $heading;\n\t\tline-height: 0.6;\n\t\tmargin-right: baseline(2);\n\t\tpadding: baseline(2) baseline(2) baseline(2) 0;\n\t\t@include fluid-type(font-size, $minScreen, $maxScreen, ms(16), ms(24));\n\t}\n}\n","// Pagination ----------------------------------------------------------------- \n\n.pagination {\n\t&>a {\n\t\t\n\t\t@include mappy-bp(sm) {\n\t\t\tmargin: 0 baseline(2) 0 0;\n\t\t}\n\t}\n}\n","// Footer ----------------------------------------------------------------- \n\n.footer {\n\tborder-top: 1px solid $color-border-light;\n\tfont-family: $font-2;\n\tmargin-top: calc(#{baseline(7)} + 0.5vw);\n\tpadding: calc(#{baseline(7)} + 0.5vw) 0;\n\ttext-align: center;\n\t&__copyright {}\n\t&__social {\n\t\t&>a {\n\t\t\tdisplay: inline-block;\n\t\t\tpadding: 0 baseline(2);\n\t\t}\n\t}\n\t&__copyright+&__social {\n\t\tmargin-top: baseline(6);\n\t}\n}\n","// Grid gallery\r\n.gallery {\r\n\tmargin: calc(#{baseline(6)} + 1vw) baseline(-2);\r\n\t@include mappy-bp(320px) {\r\n\t\tdisplay: flex;\r\n\t\tflex-wrap: wrap;\r\n\t}\r\n\t&[data-columns=\"1\"] {\r\n\t\t.gallery__item {\r\n\t\t\t@include mappy-bp(320px) {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&[data-columns=\"2\"] {\r\n\t\t.gallery__item {\r\n\t\t\t@include mappy-bp(480px) {\r\n\t\t\t\twidth: 50%\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&[data-columns=\"3\"] {\r\n\t\t.gallery__item {\r\n\t\t\t@include mappy-bp(sm) {\r\n\t\t\t\twidth: 33%\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&[data-columns=\"4\"] {\r\n\t\t.gallery__item {\r\n\t\t\t@include mappy-bp(md) {\r\n\t\t\t\twidth: 25%;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&[data-columns=\"5\"] {\r\n\t\t.gallery__item {\r\n\t\t\t@include mappy-bp(md) {\r\n\t\t\t\twidth: 20%;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&[data-columns=\"6\"] {\r\n\t\t.gallery__item {\r\n\t\t\t@include mappy-bp(md) {\r\n\t\t\t\twidth: 16.666%;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&[data-columns=\"7\"] {\r\n\t\t.gallery__item { \r\n\t\t\t@include mappy-bp(md) {\r\n\t\t\t\twidth: 14.285%;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&[data-columns=\"8\"] {\r\n\t\t.gallery__item {\r\n\t\t\t@include mappy-bp(md) {\r\n\t\t\t\twidth: 12.5%;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&__item {\r\n\t\tmargin: 0;\r\n\t\tpadding: baseline(2);\r\n\r\n\t\t@include mappy-bp(320px) {\r\n\t\t\twidth: 50%\r\n\t\t}\r\n\t\t@include mappy-bp(480px) {\r\n\t\t\twidth: 33.333%\r\n\t\t}\r\n\t\t@include mappy-bp(sm) {\r\n\t\t\twidth: 25%\r\n\t\t}\r\n\t\timg {\r\n\t\t\tdisplay: block;\r\n\t\t\twidth: 100%; \r\n\t\t}\t\t\r\n\t}\r\n}\r\n\r\n// Photoswipe lightbox\r\n.pswp {\r\n\t&--dark { \r\n\t\t.pswp__bg {\r\n\t\t\tbackground: black;\r\n\t\t}\r\n\t}\r\n\r\n\t&--light {\r\n\t\t.pswp__bg {\r\n\t\t\tbackground: white;\r\n\t\t}\r\n\t\t.pswp__counter {\r\n\t\t\tcolor: $dark;\r\n\t\t}\r\n\t\t.pswp__caption__center {\r\n\t\t\tcolor: $color-text;\r\n\t\t}\t\t\r\n\t}\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["main.css","base/_reset.scss","base/_typography.scss","helpers/_mixins.scss","helpers/_variables.scss","vendors/modular-scale/_calc.scss","helpers/_functions.scss","vendors/_mappy-breakpoints.scss","components/_buttons.scss","components/_forms.scss","layout/_grid.scss","layout/_header.scss","layout/_logo.scss","layout/_menu.scss","layout/_sidebar.sc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n*,\n*:before,\n*:after {\n box-sizing: border-box;\n margin: 0;\n padding: 0; }\n\narticle,\naside,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n display: block; }\n\nli {\n list-style: none; }\n\nimg {\n height: auto;\n max-width: 100%;\n vertical-align: top; }\n\nbutton,\ninput,\nselect,\ntextarea {\n font: inherit; }\n\nhtml {\n font-smooth: always;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n scroll-behavior: smooth; }\n html {\n font-size: 1rem; }\n @media screen and (min-width: 20rem) {\n html {\n font-size: calc(1rem + 0.2 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n html {\n font-size: 1.2rem; } }\n\nbody {\n background: #ffffff;\n color: #343434;\n font-family: \"PT Serif\", serif;\n font-weight: 400;\n line-height: 1.6;\n overscroll-behavior: none; }\n\na {\n color: #343434;\n text-decoration: none;\n transition: all 0.24s ease-out; }\n\na:hover {\n color: #3949ab; }\n\na:active {\n color: #3949ab; }\n\na:focus {\n color: #3949ab; }\n\np,\nul,\nol,\ndl,\ntable {\n margin-top: calc(1.33333rem + 0.5vw); }\n\nblockquote,\nfigure {\n margin-top: calc(1.86667rem + 0.5vw);\n margin-bottom: calc(1.86667rem + 0.5vw); }\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n color: #343434;\n font-family: \"Roboto\", sans-serif;\n font-weight: 700;\n line-height: 1.2;\n margin-top: calc(1.86667rem + 0.5vw); }\n\nh1 {\n margin: 0; }\n h1 {\n font-size: 1.67583rem; }\n @media screen and (min-width: 20rem) {\n h1 {\n font-size: calc(1.67583rem + 0.4936 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n h1 {\n font-size: 2.16943rem; } }\n\nh2 {\n font-size: 1.29454rem; }\n @media screen and (min-width: 20rem) {\n h2 {\n font-size: calc(1.29454rem + 0.27655 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n h2 {\n font-size: 1.57109rem; } }\n\nh3 {\n font-size: 1.13778rem; }\n @media screen and (min-width: 20rem) {\n h3 {\n font-size: calc(1.13778rem + 0.24306 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n h3 {\n font-size: 1.38084rem; } }\n\nh4 {\n font-size: 1.06667rem; }\n @media screen and (min-width: 20rem) {\n h4 {\n font-size: calc(1.06667rem + 0.14696 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n h4 {\n font-size: 1.21363rem; } }\n\nh5 {\n font-size: 0.9375rem; }\n @media screen and (min-width: 20rem) {\n h5 {\n font-size: calc(0.9375rem + 0.12917 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n h5 {\n font-size: 1.06667rem; } }\n\nh6 {\n font-size: 0.87891rem; }\n @media screen and (min-width: 20rem) {\n h6 {\n font-size: calc(0.87891rem + 0.12109 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n h6 {\n font-size: 1rem; } }\n\nh2 + p,\nh3 + p,\nh4 + p,\nh5 + p,\nh6 + p {\n margin-top: calc(0.8rem + 0.25vw); }\n\nb,\nstrong {\n font-weight: 700; }\n\nblockquote {\n font-family: \"Roboto\", sans-serif;\n font-weight: 700;\n padding: 0 15%; }\n blockquote cite {\n color: #343434;\n display: block;\n font-family: \"PT Serif\", serif;\n font-size: 0.87891rem;\n font-style: normal;\n padding-top: 0.53333rem; }\n blockquote > :nth-child(1) {\n margin-top: 0; }\n blockquote:before {\n display: block;\n height: 0;\n content: \"“\";\n margin-left: -.55em;\n font: normal 400%/0.9 \"Roboto\", sans-serif;\n color: #e3e3e3; }\n @media all and (min-width: 37.5em) {\n blockquote:before {\n margin-left: -.85em; } }\n\nul,\nol {\n margin-left: 2rem; }\n ul > li,\n ol > li {\n list-style: inherit;\n padding: 0.26667rem 0 0 1.06667rem; }\n\ndl dt {\n font-weight: 700; }\n\npre {\n margin: calc(1.06667rem + 0.25vw) 0 0;\n padding: 1.6rem 3.2rem;\n white-space: pre-wrap;\n word-wrap: break-word; }\n\ncode,\npre {\n background-color: #f6f6f6;\n font-family: \"Monaco\", \"Courier New\", monospace;\n font-size: 0.9375rem; }\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n display: block;\n max-width: 100%;\n overflow-x: auto;\n vertical-align: top;\n text-align: left;\n white-space: nowrap; }\n table th {\n border-bottom: 2px solid #e3e3e3;\n padding: 0.8rem 1.33333rem; }\n table tr:nth-child(2n) {\n background: whitesmoke; }\n table td {\n padding: 0.8rem 1.33333rem; }\n\nfigcaption {\n color: #908e98;\n font-family: \"Roboto\", sans-serif;\n font-weight: 400;\n font-size: 0.77248rem;\n margin: 1.06667rem 0 0;\n text-align: center; }\n\nsub,\nsup {\n font-size: 65%; }\n\n.btn, [type=button],\n[type=submit],\nbutton {\n background: #3949ab;\n border: none;\n border-radius: 50px;\n color: #ffffff;\n cursor: pointer;\n display: inline-block;\n font: 700 0.7242rem \"Roboto\", sans-serif;\n letter-spacing: 0.15rem;\n padding: 0.8rem 1.6rem;\n vertical-align: middle;\n text-align: center;\n text-transform: lowercase;\n transition: all 0.24s ease;\n width: 100%; }\n @media all and (min-width: 37.5em) {\n .btn, [type=button],\n [type=submit],\n button {\n width: auto; } }\n .btn:hover, [type=button]:hover,\n [type=submit]:hover,\n button:hover, .btn:focus, [type=button]:focus,\n [type=submit]:focus,\n button:focus, .btn:active, [type=button]:active,\n [type=submit]:active,\n button:active {\n background: #343434;\n color: #ffffff; }\n .btn:focus, [type=button]:focus,\n [type=submit]:focus,\n button:focus {\n outline: 2px dotted #343434; }\n .btn:disabled, [type=button]:disabled,\n [type=submit]:disabled,\n button:disabled {\n background-color: whitesmoke;\n border-color: #cccccc;\n color: #717171;\n cursor: not-allowed; }\n\n[type=button],\n[type=submit],\nbutton {\n -webkit-appearance: none;\n -moz-appearance: none; }\n\nfieldset {\n border: 1px solid #d6d6d6;\n border-radius: 6px;\n margin: 0 0 1.6rem;\n padding: 1.6rem; }\n fieldset > legend {\n margin-left: -1rem;\n padding: 0 1rem; }\n\nlegend {\n font-weight: 700; }\n\nlabel {\n font-weight: 700;\n margin: 0 1.06667rem 0.8rem 0; }\n\noption {\n font-weight: 400; }\n\n[type=text],\n[type=url],\n[type=tel],\n[type=number],\n[type=email],\n[type=search],\ntextarea,\nselect {\n background-color: #ffffff;\n border: 1px solid #d6d6d6;\n border-radius: 50px;\n font-size: 1rem;\n outline: none;\n padding: 0.53333rem 0.8rem;\n width: 100%;\n transition: all 0.24s ease-out;\n -webkit-appearance: none;\n -moz-appearance: none; }\n @media all and (min-width: 37.5em) {\n [type=text],\n [type=url],\n [type=tel],\n [type=number],\n [type=email],\n [type=search],\n textarea,\n select {\n width: auto; } }\n [type=text]:focus,\n [type=url]:focus,\n [type=tel]:focus,\n [type=number]:focus,\n [type=email]:focus,\n [type=search]:focus,\n textarea:focus,\n select:focus {\n box-shadow: inset 0 0 2px #3949ab; }\n\ninput[type=checkbox],\ninput[type=radio] {\n opacity: 0;\n position: absolute; }\n input[type=checkbox] + label,\n input[type=radio] + label {\n position: relative;\n margin-left: -1px;\n cursor: pointer;\n padding: 0; }\n input[type=checkbox] + label:before,\n input[type=radio] + label:before {\n background-color: #ffffff;\n border: 1px solid #d6d6d6;\n border-radius: 2px;\n content: '';\n display: inline-block;\n height: 1.33333rem;\n line-height: 1.33333rem;\n margin-right: 1.06667rem;\n vertical-align: middle;\n text-align: center;\n width: 1.33333rem; }\n input[type=checkbox]:checked + label:before,\n input[type=radio]:checked + label:before {\n content: \"\";\n background-image: url(\"data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 8'%3e%3cpolygon points='9.53 0 4.4 5.09 1.47 2.18 0 3.64 2.93 6.54 4.4 8 5.87 6.54 11 1.46 9.53 0' fill='%233949ab'/%3e%3c/svg%3e\");\n background-repeat: no-repeat;\n background-size: 11px 8px;\n background-position: 50% 50%; }\n\ninput[type=radio] + label:before {\n border-radius: 50%; }\n\ninput[type=radio]:checked + label:before {\n background-image: url(\"data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3ccircle cx='4' cy='4' r='4' fill='%233949ab'/%3e%3c/svg%3e\"); }\n\n[type=file] {\n margin-bottom: 1.6rem;\n width: 100%; }\n\nselect {\n max-width: 100%;\n width: auto;\n position: relative; }\n select:not([multiple]) {\n background: url('data:image/svg+xml;utf8,') no-repeat 90% 50%;\n background-size: 8px;\n padding-right: 3.2rem; }\n\nselect[multiple] {\n border-radius: 6px;\n padding: 1.6rem;\n width: 100%; }\n select[multiple]:hover {\n border-color: #d6d6d6; }\n select[multiple]:focus {\n border-color: #3949ab; }\n select[multiple]:disabled {\n background-color: whitesmoke;\n cursor: not-allowed; }\n select[multiple]:disabled:hover {\n border-color: #d6d6d6; }\n\ntextarea {\n border-radius: 6px;\n display: block;\n overflow: auto;\n resize: vertical;\n max-width: 100%; }\n\n.container {\n display: grid;\n grid-gap: calc(1.86667rem + 0.5vw);\n grid-template-columns: 1fr auto 1fr; }\n @media all and (min-width: 56.25em) {\n .container {\n grid-template-columns: 1fr minmax(auto, 42rem) 20rem 1fr; } }\n\n.top {\n grid-column: 2/3; }\n @media all and (min-width: 56.25em) {\n .top {\n grid-column: 2/4; } }\n\n.footer {\n grid-column: 2/3; }\n @media all and (min-width: 56.25em) {\n .footer {\n grid-column: 2/4; } }\n\n.main {\n grid-column: 2/3; }\n .main--full {\n grid-column: 2/4; }\n .main--grid {\n align-content: start;\n display: grid;\n grid-gap: calc(1.86667rem + 0.5vw); }\n @media all and (min-width: 37.5em) {\n .main--grid {\n grid-template-columns: repeat(6, 1fr); }\n .main--grid > .article {\n grid-column: span 3; } }\n\n.sidebar {\n grid-column: 2/3; }\n @media all and (min-width: 56.25em) {\n .sidebar {\n grid-column: 3/4; } }\n\n@media all and (min-width: 37.5em) {\n .hero,\n .page-header--listing {\n grid-column: span 6; } }\n\n@media all and (min-width: 37.5em) {\n .featured-posts {\n grid-column: span 6;\n display: grid;\n grid-column-gap: calc(1.86667rem + 0.5vw);\n grid-template-columns: repeat(3, 1fr); }\n .featured-posts > h3 {\n grid-column: span 3; } }\n\n@media all and (min-width: 37.5em) {\n .pagination {\n grid-column: span 6; } }\n\n.top {\n align-items: center;\n display: flex;\n justify-content: space-between;\n margin-top: calc(1.86667rem + 0.5vw);\n position: relative; }\n\n.logo {\n color: #343434 !important;\n font-family: \"Roboto\", sans-serif;\n font-weight: 800; }\n .logo {\n font-size: 1.4729rem; }\n @media screen and (min-width: 20rem) {\n .logo {\n font-size: calc(1.4729rem + 0.43382 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n .logo {\n font-size: 1.90672rem; } }\n @media all and (min-width: 56.25em) {\n .logo {\n margin: 0; } }\n\n.navbar__menu {\n font-family: \"Roboto\", sans-serif;\n font-weight: 700;\n margin: 0;\n padding: 0;\n overflow: hidden;\n padding: 0; }\n @media all and (max-width: 56.1875em) {\n .navbar__menu {\n background: #ffffff;\n height: 100vh;\n left: 0;\n opacity: 0;\n position: absolute;\n top: 2.99rem;\n transition: all 0.3s ease-out;\n visibility: hidden;\n transform: translateY(-5%);\n width: 100%;\n z-index: 1; }\n .navbar__menu > li {\n transition: all 0.3s ease-out;\n border-bottom: 1px solid #e3e3e3;\n padding: 0; } }\n @media all and (min-width: 56.25em) {\n .navbar__menu {\n max-height: none;\n overflow: visible; } }\n .navbar__menu li {\n color: #343434;\n padding: 0;\n text-align: center; }\n @media all and (min-width: 56.25em) {\n .navbar__menu li {\n display: inline-block;\n margin: 0 0 0 1.6rem;\n position: relative; } }\n .navbar__menu li:hover, .navbar__menu li[aria-expanded=\"true\"] {\n cursor: pointer; }\n @media all and (min-width: 56.25em) {\n .navbar__menu li:hover > ul, .navbar__menu li[aria-expanded=\"true\"] > ul {\n display: block; }\n .navbar__menu li:hover > ul li, .navbar__menu li[aria-expanded=\"true\"] > ul li {\n margin: 0;\n display: block; } }\n .navbar__menu li a,\n .navbar__menu li span {\n display: block;\n color: #343434;\n white-space: nowrap; }\n @media all and (max-width: 56.1875em) {\n .navbar__menu li a,\n .navbar__menu li span {\n padding: 1.06667rem 0; } }\n .navbar__menu li a:after,\n .navbar__menu li span:after {\n content: \"\";\n display: block;\n margin: 0 auto; }\n .navbar__menu li a:hover:not(span),\n .navbar__menu li span:hover:not(span) {\n color: #3949ab; }\n\n@media all and (max-width: 56.1875em) {\n .navbar__submenu {\n margin: 0; } }\n\n@media all and (min-width: 56.25em) {\n .navbar__submenu {\n background: #ffffff;\n box-shadow: 0 0 6px rgba(52, 52, 52, 0.15);\n display: none;\n left: auto;\n margin: 15px 0 0;\n padding: 0.53333rem 0;\n position: absolute;\n top: 100%;\n width: auto;\n z-index: 2000; }\n .navbar__submenu:before {\n content: '';\n display: block;\n height: 15px;\n left: 0;\n position: absolute;\n top: -15px;\n width: 100%; }\n .navbar__submenu li {\n border: none;\n font-weight: normal;\n margin: 0; }\n .navbar__submenu li > a {\n padding: 0.53333rem 2.66667rem; } }\n @media all and (min-width: 56.25em) and (max-width: 56.1875em) {\n .navbar__submenu li > a {\n padding: 0.26667rem 0; } }\n\n@media all and (min-width: 56.25em) {\n .navbar__submenu li:hover > a {\n background: #f7f7f8; }\n .navbar__submenu li ul {\n left: 90%;\n top: 0;\n transform: translate(-10%, 0); }\n .navbar__submenu li ul.navbar__submenu--reversed {\n left: auto;\n right: 90%;\n top: 0; } }\n\n.navbar__toggle {\n background: none;\n border: none;\n border-top: 2px solid #343434;\n border-radius: 0;\n display: block;\n height: 14px;\n padding: 0;\n position: absolute;\n top: 50%;\n transform: translate(0, -50%);\n right: 0;\n text-indent: -99999rem;\n width: 1.6rem;\n z-index: 3; }\n @media all and (min-width: 56.25em) {\n .navbar__toggle {\n display: none; } }\n .navbar__toggle:before {\n border-top: 2px solid #343434;\n content: \"\";\n left: 0;\n position: absolute;\n top: 4px;\n width: 100%; }\n .navbar__toggle:after {\n border-bottom: 2px solid #343434;\n content: \"\";\n left: 0;\n position: absolute;\n bottom: 0;\n width: 100%; }\n .navbar__toggle:focus {\n background: none;\n outline: none;\n border: none;\n border-top: 2px solid #343434; }\n .navbar__toggle:hover {\n background: none; }\n\n.is-opened > ul {\n opacity: 1;\n overflow: auto;\n visibility: visible;\n transform: translateY(0); }\n .is-opened > ul li {\n padding: 0;\n transform: translateY(0); }\n .is-opened > ul li ul {\n height: 0;\n opacity: 0;\n transition: all 0.3s ease-out;\n transform: translateY(-10%); }\n .is-opened > ul li ul li {\n border-top: 1px solid #e3e3e3; }\n .is-opened > ul li:hover > ul {\n height: auto;\n opacity: 1;\n transform: translateX(0); }\n .is-opened > ul li[aria-expanded=\"true\"] > ul {\n display: block; }\n\n@media all and (max-width: 56.1875em) {\n .has-submenu:after {\n background: #ffffff;\n border-right: 1px solid #343434;\n border-bottom: 1px solid #343434;\n content: '';\n display: block;\n height: 8px;\n position: absolute;\n right: 10px;\n top: 1rem;\n transform: rotate(45deg);\n width: 8px; } }\n\n.sidebar input {\n width: 100%; }\n .sidebar input + input {\n margin-top: 0.53333rem; }\n\n.box {\n margin-bottom: calc(3.2rem + 1vw); }\n .box--gray {\n background: #f7f7f8;\n padding: calc(1.86667rem + 0.5vw); }\n .box--gray > .box__title {\n border-top: none;\n padding-top: 0; }\n .box__title {\n color: #3949ab;\n margin: 0 0 calc(1.86667rem + 0.5vw); }\n .box ul {\n margin-left: 0; }\n\n.owner {\n text-align: center; }\n .owner > img {\n border-radius: 50%;\n max-width: 7rem; }\n .owner > p {\n font-size: 0.87891rem; }\n .owner__email {\n display: block;\n margin-top: 0.8rem;\n text-decoration: underline; }\n\n.authors {\n list-style: none; }\n .authors > li {\n align-items: center;\n clear: both;\n display: flex;\n margin: 0 0 calc(1.6rem + 0.75vw);\n padding: 0; }\n .authors__img {\n margin-right: 2rem; }\n .authors__title {\n display: block;\n font-family: \"Roboto\", sans-serif;\n font-weight: 700; }\n\n.tags > li {\n display: flex;\n justify-content: space-between;\n padding-left: 0; }\n\n.newsletter__note {\n color: #908e98;\n font-size: 0.77248rem;\n margin: 0 0 1.06667rem; }\n\n.u-small {\n color: #908e98;\n font-family: \"Roboto\", sans-serif;\n font-weight: 400;\n font-size: 0.77248rem; }\n\n.u-icon {\n fill: rgba(52, 52, 52, 0.8);\n height: 1rem;\n width: 1rem;\n transition: all 0.24s ease-out; }\n\n.hero {\n height: 29rem;\n position: relative; }\n .hero__image {\n height: 29rem;\n object-fit: cover;\n opacity: 0.9;\n position: relative;\n width: 100%; }\n .hero__text {\n color: #ffffff;\n text-align: center;\n width: 80%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%); }\n .hero__text > h1 {\n color: #ffffff; }\n .hero__text > .btn, .hero__text > [type=button], .hero__text >\n [type=submit], .hero__text >\n button {\n margin-top: 1.6rem; }\n\n.page-header {\n border-top: 3px solid #343434;\n padding-top: calc(1.86667rem + 0.5vw); }\n .page-header__title {\n color: #3949ab; }\n .page-header__desc {\n margin-top: calc(0.26667rem + 0.5vw); }\n\n.article {\n margin-bottom: calc(1.6rem + 0.5vw); }\n .article__title {\n font-size: 1.13778rem; }\n @media screen and (min-width: 20rem) {\n .article__title {\n font-size: calc(1.13778rem + 0.07585 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n .article__title {\n font-size: 1.21363rem; } }\n .article__meta {\n display: flex;\n align-items: center;\n justify-content: space-between; }\n .article__meta__avatar {\n border-radius: 50%;\n height: 2.13333rem;\n margin-right: 0.8rem;\n width: 2.13333rem;\n display: inline-block;\n vertical-align: middle; }\n\n.post {\n border-top: 3px solid #343434;\n padding-top: calc(1.86667rem + 0.5vw); }\n .post__meta {\n margin: calc(1.06667rem + 0.25vw) 0 0 0; }\n .post__meta > li {\n display: inline-block;\n list-style: none;\n padding: 0.26667rem 1.06667rem 0 0; }\n .post__meta > li > svg {\n fill: #ffc400;\n vertical-align: top; }\n .post__image--left {\n float: left;\n margin-right: calc(1.86667rem + 0.5vw);\n max-width: 50%; }\n .post__image--right {\n float: right;\n margin-left: calc(1.86667rem + 0.5vw);\n max-width: 50%; }\n .post__image--center {\n display: block;\n margin-left: auto;\n margin-right: auto;\n text-align: center; }\n .post__image--wide {\n text-align: center; }\n .post__image--full {\n text-align: center; }\n .post__video {\n height: 0;\n overflow: hidden;\n padding-top: 1.6rem;\n padding-bottom: 56.25%;\n position: relative; }\n .post__video > iframe {\n border: none;\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%; }\n .post__entry {\n margin-top: calc(1.86667rem + 1vw); }\n @media all and (max-width: 56.1875em) {\n .post__entry {\n max-width: 36rem;\n margin-left: auto;\n margin-right: auto; } }\n .post__entry > :nth-child(1) {\n margin-top: 0; }\n .post__entry a {\n color: #3949ab;\n text-decoration: none;\n transition: all 0.24s ease-out; }\n .post__entry a:hover {\n color: #343434; }\n .post__entry a:active {\n color: #343434; }\n .post__entry a:focus {\n color: #343434; }\n .post__entry a:hover {\n text-decoration: underline; }\n .post__toc ul {\n counter-reset: item;\n list-style: decimal;\n margin: calc(0.53333rem + 0.25vw) 0 0 1rem; }\n .post__toc ul li {\n counter-increment: item;\n padding: 0; }\n .post__toc ul ul {\n margin-top: 0; }\n .post__toc ul ul li {\n display: block; }\n .post__toc ul ul li:before {\n content: counters(item, \".\") \". \";\n margin-left: -20px; }\n .post__video {\n height: 0;\n overflow: hidden;\n padding-top: 1.6rem;\n padding-bottom: 56.25%;\n position: relative; }\n .post__video > iframe {\n border: none;\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%; }\n .post__footer {\n margin-top: calc(1.86667rem + 0.5vw); }\n @media all and (max-width: 37.4375em) {\n .post__footer {\n text-align: center; } }\n .post__footer > .box {\n border-top: 1px solid #e3e3e3;\n padding-top: calc(1.86667rem + 0.5vw);\n text-align: center; }\n .post__last-updated {\n color: #908e98;\n font-size: 0.77248rem;\n margin-bottom: calc(1.86667rem + 0.5vw); }\n .post__share > a {\n background: #f7f7f8;\n border-radius: 50px;\n display: inline-block;\n font-family: \"Roboto\", sans-serif;\n font-size: 0.77248rem;\n padding: 0.53333rem 1.6rem;\n margin: 0.53333rem 0.53333rem 0; }\n .post__share > a > .u-icon {\n pointer-events: none;\n display: inline-block;\n margin-right: 0.53333rem;\n vertical-align: middle; }\n .post__tag {\n margin-left: 0;\n margin-top: 0; }\n .post__tag li {\n display: inline-block; }\n .post__tag li > a {\n background: #f7f7f8;\n border-radius: 50px;\n display: inline-block;\n font-family: \"Roboto\", sans-serif;\n font-size: 0.77248rem;\n padding: 0.53333rem 1.6rem; }\n .post__bio > img {\n border-radius: 50%;\n height: 4.8rem;\n width: 4.8rem; }\n .post__nav {\n color: #908e98;\n display: flex;\n font-size: 0.77248rem;\n justify-content: space-between;\n margin-bottom: calc(1.86667rem + 0.5vw); }\n .post__nav__link {\n color: #717171; }\n @media all and (min-width: 37.5em) {\n .post__nav__link {\n align-items: flex-start;\n display: flex;\n justify-content: space-around; } }\n .post__nav__link > img {\n width: 100px; }\n @media all and (max-width: 37.4375em) {\n .post__nav__link > img {\n display: none; } }\n .post__nav__link:hover h5 {\n transition: all 0.12s linear;\n color: #3949ab; }\n .post__nav h5 {\n font-size: 0.87891rem;\n margin: 0.26667rem 0 0;\n position: relative; }\n .post__nav__prev {\n flex-basis: 50%;\n text-align: left; }\n .post__nav__next {\n flex-basis: 50%;\n margin-left: auto;\n text-align: right; }\n @media all and (min-width: 37.5em) {\n .post__nav__text {\n width: 55%; } }\n .post__related__wrap {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n margin: calc(1.86667rem + 0.5vw) -2% 0;\n width: 104%; }\n @media all and (min-width: 56.25em) {\n .post__related__wrap {\n flex-wrap: no-wrap; } }\n .post__related__wrap figure {\n margin: 0;\n flex-basis: 50%;\n padding: 0.8rem 2%; }\n @media all and (min-width: 37.5em) {\n .post__related__wrap figure {\n flex-basis: 33.333%; } }\n .post__related__wrap figcaption > time {\n color: #908e98;\n font-size: 0.82397rem;\n margin: 0 0 0.8rem; }\n .post__related__wrap h4 {\n font-size: 0.87891rem;\n margin: 1.6rem 0 0.53333rem; }\n\n.comments {\n border-top: 1px solid #e3e3e3;\n padding-top: calc(1.86667rem + 0.5vw);\n text-align: center; }\n .comments > h3 {\n margin-bottom: calc(1.86667rem + 0.5vw); }\n\n.author__avatar {\n border-radius: 50%;\n height: 4.8rem;\n margin-bottom: calc(0.93333rem + 0.5vw);\n width: 4.8rem; }\n\n.search__form {\n margin-top: calc(1.86667rem + 0.5vw); }\n\n.search__input {\n width: 100%; }\n\n.gs-webResult {\n border-top: 1px solid #e3e3e3;\n padding-top: 1rem; }\n\n.gsc-table-result {\n margin-top: 0.53333rem;\n white-space: initial; }\n .gsc-table-result td {\n padding: 0; }\n\n.align-left {\n text-align: left; }\n\n.align-right {\n text-align: right; }\n\n.align-center {\n text-align: center; }\n\n.align-justify {\n text-align: justify; }\n\n.msg {\n padding: 1.06667rem 1.6rem; }\n .msg--highlight {\n background-color: #fff7e5; }\n .msg--info {\n background-color: #d9edf7; }\n .msg--success {\n background: #d5efc2; }\n\n.dropcap:first-letter {\n color: #343434;\n float: left;\n font-family: \"Roboto\", sans-serif;\n line-height: 0.6;\n margin-right: 0.53333rem;\n padding: 0.53333rem 0.53333rem 0.53333rem 0; }\n .dropcap:first-letter {\n font-size: 2.8084rem; }\n @media screen and (min-width: 20rem) {\n .dropcap:first-letter {\n font-size: calc(2.8084rem + 1.898 * ((100vw - 20rem) / 113)); } }\n @media screen and (min-width: 133rem) {\n .dropcap:first-letter {\n font-size: 4.70641rem; } }\n\n@media all and (min-width: 37.5em) {\n .pagination > a {\n margin: 0 0.53333rem 0 0; } }\n\n.footer {\n border-top: 1px solid #e3e3e3;\n font-family: \"Roboto\", sans-serif;\n margin-top: calc(1.86667rem + 0.5vw);\n padding: calc(1.86667rem + 0.5vw) 0;\n text-align: center; }\n .footer__social > a {\n display: inline-block;\n padding: 0 0.53333rem; }\n .footer__copyright + .footer__social {\n margin-top: 1.6rem; }\n\n.gallery {\n margin: calc(1.6rem + 1vw) -0.53333rem; }\n @media all and (min-width: 20em) {\n .gallery {\n display: flex;\n flex-wrap: wrap; } }\n @media all and (min-width: 20em) {\n .gallery[data-columns=\"1\"] .gallery__item {\n width: 100%; } }\n @media all and (min-width: 30em) {\n .gallery[data-columns=\"2\"] .gallery__item {\n width: 50%; } }\n @media all and (min-width: 37.5em) {\n .gallery[data-columns=\"3\"] .gallery__item {\n width: 33%; } }\n @media all and (min-width: 56.25em) {\n .gallery[data-columns=\"4\"] .gallery__item {\n width: 25%; } }\n @media all and (min-width: 56.25em) {\n .gallery[data-columns=\"5\"] .gallery__item {\n width: 20%; } }\n @media all and (min-width: 56.25em) {\n .gallery[data-columns=\"6\"] .gallery__item {\n width: 16.666%; } }\n @media all and (min-width: 56.25em) {\n .gallery[data-columns=\"7\"] .gallery__item {\n width: 14.285%; } }\n @media all and (min-width: 56.25em) {\n .gallery[data-columns=\"8\"] .gallery__item {\n width: 12.5%; } }\n .gallery__item {\n margin: 0;\n padding: 0.53333rem; }\n @media all and (min-width: 20em) {\n .gallery__item {\n width: 50%; } }\n @media all and (min-width: 30em) {\n .gallery__item {\n width: 33.333%; } }\n @media all and (min-width: 37.5em) {\n .gallery__item {\n width: 25%; } }\n .gallery__item img {\n display: block;\n width: 100%; }\n\n.pswp--dark .pswp__bg {\n background: black; }\n\n.pswp--light .pswp__bg {\n background: white; }\n\n.pswp--light .pswp__counter {\n color: #343434; }\n\n.pswp--light .pswp__caption__center {\n color: #343434; }\n","*,\n*:before,\n*:after {\n\tbox-sizing: border-box;\n\tmargin: 0;\n\tpadding: 0;\n}\n\narticle,\naside,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n\tdisplay: block;\n}\n\nli {\n\tlist-style: none\n}\n\nimg {\n\theight: auto;\n\tmax-width: 100%;\n\tvertical-align: top;\n}\n\nbutton,\ninput,\nselect,\ntextarea {\n\tfont: inherit;\n}\n","// Typography ----------------------------------------------------------------- \n\nhtml {\n\t@include fluid-type(font-size, $minScreen, $maxScreen, map-get($font, min), map-get($font, max));\n font-smooth: always;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n scroll-behavior: smooth;\n}\n\nbody {\n\tbackground: $color-bg;\n\tcolor: $color-text;\n\tfont-family: $body;\n\tfont-weight: $font-weight-normal;\n\tline-height: $line-height;\n overscroll-behavior: none; \n}\n\na {\n\t@include links ($color-link, $color-link-hover, $color-link-active, $color-link-focus);\n}\n\np,\nul,\nol,\ndl,\ntable {\n\tmargin-top: calc(#{baseline(5)} + 0.5vw);\n}\n\nblockquote,\nfigure {\n\tmargin-top: calc(#{baseline(7)} + 0.5vw);\n\tmargin-bottom: calc(#{baseline(7)} + 0.5vw);\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n\tcolor: $color-headings;\n\tfont-family: $heading;\n\tfont-weight: $font-weight-bold;\n\tline-height: 1.2;\n\tmargin-top: calc(#{baseline(7)} + 0.5vw);\n}\n\nh1 {\n\t@include fluid-type(font-size, $minScreen, $maxScreen, map-get($h1, min), map-get($h1, max));\n\tmargin: 0;\n}\n\nh2 {\n\t@include fluid-type(font-size, $minScreen, $maxScreen, map-get($h2, min), map-get($h2, max));\n}\n\nh3 {\n\t@include fluid-type(font-size, $minScreen, $maxScreen, map-get($h3, min), map-get($h3, max));\n}\n\nh4 {\n\t@include fluid-type(font-size, $minScreen, $maxScreen, map-get($h4, min), map-get($h4, max));\n}\n\nh5 {\n\t@include fluid-type(font-size, $minScreen, $maxScreen, map-get($h5, min), map-get($h5, max));\n}\n\nh6 {\n\t@include fluid-type(font-size, $minScreen, $maxScreen, map-get($h6, min), map-get($h6, max));\n}\n\nh2,\nh3,\nh4,\nh5,\nh6 {\n\t&+p {\n\t\tmargin-top: calc(#{baseline(3)} + 0.25vw);\n\t}\n}\n\nb,\nstrong {\n\tfont-weight: $font-weight-bold;\n}\n\nblockquote {\n\tfont-family: $heading;\n\tfont-weight: $font-weight-bold;\n\tpadding: 0 15%;\n\tcite {\n\t\tcolor: $color-text;\n\t\tdisplay: block;\n\t\tfont-family: $body;\n\t\tfont-size: ms(-2);\n\t\tfont-style: normal;\n\t\tpadding-top: baseline(2);\n\t}\n\t&> :nth-child(1) {\n\t\tmargin-top: 0;\n\t}\n\t&:before {\n\t\tdisplay: block;\n\t\theight: 0;\n\t\tcontent: \"“\";\n\t\tmargin-left: -.55em;\n\t\t@include mappy-bp(sm) {\n\t\t\tmargin-left: -.85em;\n\t\t}\n\t\tfont: normal 400%/0.9 $heading;\n\t\tcolor: $color-border-light;\n\t}\n}\n\nul,\nol {\n\tmargin-left: 2rem;\n\t&>li {\n\t\tlist-style: inherit;\n\t\tpadding: baseline(1) 0 0 baseline(4);\n\t}\n}\n\ndl {\n\tdt {\n\t\tfont-weight: $font-weight-bold;\n\t}\n}\n\npre {\n\tmargin: calc(#{baseline(4)} + 0.25vw) 0 0;\n\tpadding: baseline(6) baseline(12);\n\twhite-space: pre-wrap;\n\tword-wrap: break-word;\n}\n\ncode,\npre {\n\tbackground-color: #f6f6f6;\n\tfont-family: $monospace;\n\tfont-size: ms(-1);\n}\n\ntable {\n\tborder-collapse: collapse;\n\tborder-spacing: 0;\n\tdisplay: block;\n\tmax-width: 100%;\n\toverflow-x: auto;\n\tvertical-align: top;\n\ttext-align: left;\n\twhite-space: nowrap;\n\tth {\n\t\tborder-bottom: 2px solid $color-border-light;\n\t\tpadding: baseline(3) baseline(5);\n\t}\n\ttr {\n\t\t&:nth-child(2n) {\n\t\t\tbackground: $color-grey-light;\n\t\t}\n\t}\n\ttd {\n\t\tpadding: baseline(3) baseline(5);\n\t}\n}\n\nfigcaption {\n\tcolor: $gray;\n\tfont-family: $font-2;\n\tfont-weight: $font-weight-normal;\n\tfont-size: ms(-4);\n\tmargin: baseline(4) 0 0;\n\ttext-align: center;\n}\n\nsub,\nsup {\n\tfont-size: 65%;\n}\n","// Links\n@mixin links ($link, $hover, $active, $focus) {\n\t& {\n\t\tcolor: $link;\n\t\ttext-decoration: none;\n\t\ttransition: all 0.24s ease-out;\n\t}\n\t&:hover {\n\t\tcolor: $hover;\n\t}\n\t&:active {\n\t\tcolor: $active;\n\t}\n\t&:focus {\n\t\tcolor: $focus;\n\t}\n}\n\n// Horizontal and vertical centering helper\n@mixin centerXY($horizontal: true, $vertical: true) {\n\tposition: absolute;\n\t@if ($horizontal and $vertical) {\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, -50%);\n\t}\n\t@else if ($horizontal) {\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t}\n\t@else if ($vertical) {\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t}\n}\n\n// Fluid typography\n@mixin fluid-type($properties, $min-vw, $max-vw, $min-value, $max-value) {\n\t& {\n\t\t@each $property in $properties {\n\t\t\t#{$property}: $min-value;\n\t\t}\n\t\t@media screen and (min-width: $min-vw) {\n\t\t\t@each $property in $properties {\n\t\t\t\t#{$property}: calc(#{$min-value} + #{strip-unit($max-value - $min-value)} * ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)}));\n\t\t\t}\n\t\t}\n\t\t@media screen and (min-width: $max-vw) {\n\t\t\t@each $property in $properties {\n\t\t\t\t#{$property}: $max-value;\n\t\t\t}\n\t\t}\n\t}\n}\n\n// Appearance property\n@mixin appearance-none {\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n}\n\n@function strip-unit($value) {\n\t@return $value / ($value * 0 + 1);\n}\n","// Breakpoints - Media queries map ------------------------------------\n\n$breakpoints: ( \n sm: 600px,\n md: 900px,\n\t lg: 1200px,\n xl: 1600px \t\n); \n\n\n// Widths ---------------------------------------------------------\n\n$main-col-width: 42rem;\n$sidebar-width: 20rem;\n$hero-height: 29rem;\n\n\n// Typography ---------------------------------------------------------\n\n// Font families \n\n$font-1: 'PT Serif', serif;\n$font-2: 'Roboto', sans-serif;\n$monospace-font: 'Monaco', 'Courier New', monospace;\n\n$body: $font-1;\n$heading: $font-2;\n$logo: $font-2;\n$monospace: $monospace-font;\n\n$font-weight-normal: 400;\n$font-weight-bold: 700;\n\n$letter-spacing: 0.05rem;\n\n// Modular scale\n\n$ms-base: 1rem;\n$ms-ratio: $minor-second; // the list of all available ratios you can find here: /vendors/modular-scale/_ratios.scss\n\n// Min and Max screen width for Fluid Typography\n\n$minScreen: 20rem;\n$maxScreen: 133rem;\n\n\n// Baseline\n\n$line-height: 1.6;\n$baseline: 1.6rem / 6; \n\n\n// Font size map\n\n$font: ( \n\tmin: 1rem,\n\tmax: 1.2rem \n);\n\n$h1: ( \n\tmin: (ms(8)), \n\tmax: (ms(12))\n); \n$h2: ( \n\tmin: (ms(4)),\n\tmax: (ms(7))\n);\n$h3: ( \n\tmin: (ms(2)),\n\tmax: (ms(5))\n);\n$h4: ( \n\tmin: (ms(1)),\n\tmax: (ms(3))\n);\n$h5: ( \n\tmin: (ms(-1)),\n\tmax: (ms(1))\n);\n$h6: ( \n\tmin: (ms(-2)),\n\tmax: (ms(0)) \n);\n\n\n// Colors -------------------------------------------------------------\n\n// main colors\n$dark: #343434;\n$color: #3949ab;\n$color-light: #f5f6ff;\n$gray: #908e98;\n$gray-light: #f7f7f8; \n$white: #ffffff;\n\n// secondary colors\n$color-bg: $white;\n$color-logo: $dark;\n$color-grey-light: tint($dark, 95%); \n\n// text \n$color-text: $dark;\n$color-text-light: tint($dark, 30%);\n$color-text-color: $color;\n$color-headings: $dark;\n\n// menu \n$color-menu: $white;\n$color-menu-link: $dark;\n$color-menu-link-hover: $color;\n$color-menu-border-separator: tint($dark, 90%);\n\n// links \n$color-link: $dark;\n$color-link-hover: $color;\n$color-link-active: $color;\n$color-link-focus: $color;\n\n// borders \n$color-border: $dark;\n$color-border-dark: tint($dark, 65%);\n$color-border-light: tint($dark, 86%);\n$color-border-color: $color;\n\n// buttons \n$color-button-txt: $white;\n$color-button-txt-hover: $white;\n$color-button-border: $dark;\n$color-button-border-hover: $dark;\n$color-button-bg: $color;\n$color-button-bg-hover: $dark;\n$color-button-disabled-bg: tint($dark, 95%);\n$color-button-disabled-border: tint($dark, 75%);\n\n// forms \n$color-input-bg: $white;\n$color-input-bg-color: $color;\n$color-input-border: tint($dark, 80%);\n$color-input-border-focus: $color;\n\n// social share icons \n$share_icons: ( \n\tfacebook: #3b5998, \n\ttwitter: #55acee, \n\tgplus: #dd4b39, \t \n\tinstagram: #405de6, \n\tvimeo: #1ab7ea, \n\tpinterest: #bd081c,\n\tyoutube: #cd201f,\n\tlinkedin: #0077B5,\n\tbuffer: #222222,\n\tstumbleupon:#eb4924\n); \n\n","@function ms-calc($Value, $Base: $ms-base, $Ratio: $ms-ratio) {\n \n // If pow exists use it.\n // It supports non-interger values!\n @if $MS-pow-exists {\n\n // The formula for figuring out modular scales is:\n // (r^v)*b\n @return pow($Ratio, $Value) * $Base;\n }\n\n // If not, use ms-pow().\n // Not as fast or capable of non-integer exponents.\n @else {\n @return ms-pow($Ratio, $Value) * $Base;\n }\n}","// Darken & Lighten color \n\n@function tint($color, $percentage) {\n\t@return mix(white, $color, $percentage);\n}\n\n@function shade($color, $percentage) {\n\t@return mix(black, $color, $percentage);\n}\n\n// Baseline for Vertical Rhythm\n\n@function baseline($value){\n @return ($baseline) * $value\n}\n\n\n","// Mappy breakpoints\n// -----------------\n// Output media query with focus on min-width, max-width, min-height and max-height.\n// Other media rules are passed as the second argument in a map\n//\n// @author Zell Liew\n// =================\n$breakpoints: () !default;\n$mappy-queries: () !default;\n\n// Mappy BP [Mixin]\n// ----------------\n// - $queries : or in the format:\n// h \n// - $type : \n// - $query-fallback : selector class\n// - $breakpoints : \n@mixin mappy-bp($queries, $type: all, $query-fallback: null, $breakpoints: $breakpoints) {\n\n // Gets mappy map through mappy-bp fn\n $mappy-map: mappy-bp($queries, $type, $query-fallback, $breakpoints);\n\n // Outputs media string\n @media #{map-get($mappy-map, type)} and #{map-get($mappy-map, media-string)} {\n @content;\n }\n\n // If a query fallback is provided\n @if $query-fallback {\n #{$query-fallback} & {\n @content;\n }\n }\n}\n\n// Mappy Query [Mixin]\n// -------------------\n// Output query from $mappy-queries map.\n// $query : from $mappy-queries key\n@mixin mappy-query($query, $mappy-queries: $mappy-queries) {\n @if not map-has-key($mappy-queries, $query) {\n @error \"#{$mappy-queries} does not contain #{$query}\";\n }\n\n $mappy-map: map-get($mappy-queries, $query);\n\n @media #{map-get($mappy-map, type)} and #{map-get($mappy-map, media-string)} {\n @content;\n }\n\n // If a query fallback is provided\n @if map-get($mappy-map, query-fallback) {\n #{map-get($mappy-map, query-fallback)} & {\n @content;\n }\n }\n}\n\n// Mappy BP [Function]\n// -------------------\n// Returns a map with 3 keys\n// - type : Media type\n// - media-string : media query string\n// - query-fallback : query fallback (if any)\n@function mappy-bp($queries, $type: all, $query-fallback: null, $breakpoints: $breakpoints) {\n $media-string: ();\n $_return: ();\n $media-map: parse-bp($queries, $breakpoints);\n\n @each $key, $value in $media-map {\n @if $value and $value != 0 {\n @if $media-string == (()) {\n $media-string: append($media-string, unquote(\"(#{$key}: #{$value})\"));\n }\n\n @else {\n $media-string: append($media-string, unquote(\"and (#{$key}: #{$value})\"));\n }\n }\n }\n $_return: (\n type: $type,\n media-string: implode($media-string),\n query-fallback: $query-fallback\n );\n\n @return $_return;\n}\n\n// BP [Mixin]\n// ----------\n// Convenience mixin for Mappy Breakpoints\n@mixin bp($queries, $type: all, $query-fallback: null, $breakpoints: $breakpoints) {\n @include mappy-bp($queries, $type, $query-fallback, $breakpoints) {\n @content;\n }\n}\n\n// Parse BP [function]\n// -------------------\n// Parses arguments and returns a map with 4 keys\n@function parse-bp($queries, $breakpoints) {\n $_return: ();\n $_i: 1;\n $_minw: null;\n $_maxw: null;\n $_minh: null;\n $_maxh: null;\n $_length: length($queries);\n\n // Checks for width queries\n $_minw: nth($queries, 1);\n $_minw: mappy-validate($_minw, $breakpoints);\n\n // Check for width queries\n @if $_minw {\n $_minw: mappy-convert-to-em($_minw);\n $_return: map-merge($_return, (min-width: $_minw));\n $queries: set-nth($queries, 1, null);\n }\n\n // Checks if there is a max width query\n @if $_minw and $_length >= 2 {\n $_maxw: nth($queries, 2);\n $_maxw: mappy-validate($_maxw, $breakpoints);\n }\n\n @if $_maxw {\n $_maxw: mappy-convert-to-em($_maxw - 1px);\n $_return: map-merge($_return, (max-width: $_maxw));\n $queries: set-nth($queries, 2, null);\n }\n\n // Checks for height queries\n $_h: index($queries, h) or index($queries, height);\n\n @if $_h {\n $_minh: nth($queries, $_h + 1);\n $_minh: mappy-validate($_minh, $breakpoints);\n\n @if $_minh {\n $_minh: mappy-convert-to-em($_minh);\n $_return: map-merge($_return, (min-height: $_minh));\n $queries: set-nth($queries, $_h + 1, null);\n }\n\n // Checks if there is a max height query\n @if $_length - $_h >= 2 {\n $_maxh: nth($queries, $_h + 2);\n $_maxh: mappy-validate($_maxh, $breakpoints);\n }\n\n @if $_maxh {\n $_maxh: mappy-convert-to-em($_maxh - 1px);\n $_return: map-merge($_return, (max-height: $_maxh));\n $queries: set-nth($queries, $_h + 2, null);\n }\n // Reset h marker\n $queries: set-nth($queries, $_h, null);\n }\n\n // Checks for other queries\n @while $_i <= length($queries) {\n $_key: nth($queries, $_i);\n\n @if $_key and $_length - $_i >= 1 {\n $_val: nth($queries, $_i + 1);\n $_return: map-merge($_return, (#{$_key}: $_val));\n $queries: set-nth($queries, $_i, null);\n $queries: set-nth($queries, $_i + 1, null);\n }\n\n @else if $_key {\n @warn unquote('\"Mappy Breakpoints is missing value for media feature \"#{$_key}\"\"');\n }\n $_i: $_i + 1;\n }\n @return $_return;\n}\n\n// Mappy Validate [Function]\n// -------------------------\n// Checks if $query given is one of the following:\n// 1) Is a $key in the $breakpoints map\n// 2) Is a number\n// 3) Is a \"max\", \"max-width\" or \"max-height\" string\n@function mappy-validate($query, $breakpoints) {\n $_return: null;\n\n @if map-has-key($breakpoints, $query) {\n $_return: map-get($breakpoints, $query);\n }\n\n @else if type-of($query) == number {\n $_return: $query;\n }\n\n @else if $query == \"max\" or $query == \"max-height\" or $query == \"max-width\" {\n $_return: 0;\n }\n\n @else {\n $_return: null;\n }\n @return $_return;\n}\n\n// Mappy Convert To Em [Function]\n// -------------------------------\n// Checks and converts px values to em. Leave other units untouched.\n\n@function mappy-convert-to-em($val) {\n @if unit($val) == \"px\" or $val == 0 {\n @return mappy-em($val);\n } @else if unit($val) == \"em\" {\n @return $val;\n } @else if unit($val) == \"rem\" {\n @return mappy-strip-unit($val) * 1em;\n } @else {\n @error unquote(\"Breakpoint value must have a unit if it's a number\");\n }\n}\n\n// Mappy Em [Function]\n// --------------------\n// Converts pixels to em with $base-font-size\n// - https://gist.github.com/ijy/1441967\n@function mappy-em($target, $context: 16px) {\n @if $target == 0 {\n @return 0;\n }\n @return $target / $context * 1em;\n}\n\n@function mappy-strip-unit($num) {\n @return $num / ($num * 0 + 1);\n}\n\n// Implode [Function]\n// --------------------\n// Implode a list into a string\n@function implode($list, $glue: ' ') {\n $res: null;\n $len: length($list);\n\n @for $i from 1 through $len {\n $e: nth($list, $i);\n @if $i == $len {\n $res: unquote(\"#{$res}#{$e}\");\n }\n @else {\n $res: unquote(\"#{$res}#{$e}#{$glue}\");\n }\n }\n\n @return $res;\n}\n","// Buttons ----------------------------------------------------------------- \n\n.btn {\n\tbackground: $color-button-bg;\n\tborder: none;\n\tborder-radius: 50px;\n\tcolor: $color-button-txt;\n\tcursor: pointer;\n\tdisplay: inline-block;\n\tfont: $font-weight-bold ms(-5) $heading;\n\tletter-spacing: $letter-spacing * 3;\n\tpadding: baseline(3) baseline(6);\n\tvertical-align: middle;\n\ttext-align: center;\n\ttext-transform: lowercase;\n\ttransition: all 0.24s ease;\n\twidth: 100%;\n\t@include mappy-bp(sm) {\n\t\twidth: auto\n\t}\t\n\t&:hover,\n\t&:focus,\n\t&:active {\n\t\tbackground: $color-button-bg-hover;\n\t\t\n\t\tcolor: $color-button-txt-hover;\n\t}\n\t&:focus {\n\t\toutline: 2px dotted $color-button-border-hover;\n\t}\n\t&:disabled {\n\t\tbackground-color: $color-button-disabled-bg;\n\t\tborder-color: $color-button-disabled-border;\n\t\tcolor: $color-text-light;\n\t\tcursor: not-allowed;\n\t}\n}\n\n[type=button],\n[type=submit],\nbutton {\n\t@extend .btn;\n\t@include appearance-none;\n}\n","// Forms ----------------------------------------------------------------- \n\nfieldset {\n\tborder: 1px solid $color-input-border;\n\tborder-radius: 6px;\n\tmargin: 0 0 baseline(6);\n\tpadding: baseline(6);\n\t&>legend {\n\t\tmargin-left: -1rem;\n\t\tpadding: 0 1rem;\n\t}\n}\n\nlegend {\n\tfont-weight: $font-weight-bold;\n}\n\nlabel {\n\tfont-weight: $font-weight-bold;\n\tmargin: 0 baseline(4) baseline(3) 0;\n}\n\noption {\n\tfont-weight: $font-weight-normal;\n}\n\n[type=text],\n[type=url],\n[type=tel],\n[type=number],\n[type=email],\n[type=search],\ntextarea,\nselect {\n\tbackground-color: $color-input-bg;\n\tborder: 1px solid $color-input-border;\n\tborder-radius: 50px;\n\tfont-size: 1rem;\n\toutline: none;\n\tpadding: baseline(2) baseline(3);\n\twidth: 100%;\n\ttransition: all 0.24s ease-out;\n\t@include mappy-bp(sm) {\n\t\twidth: auto\n\t}\n\t@include appearance-none;\n\t&:focus {\n\t\tbox-shadow:inset 0 0 2px $color;\n\t}\n}\n\ninput[type=checkbox],\ninput[type=radio] {\n opacity: 0;\n position: absolute;\n\n & + label {\n position: relative;\n margin-left: -1px;\n cursor: pointer;\n padding: 0;\n\n &:before {\n background-color: $color-input-bg;\n border: 1px solid $color-input-border;\n border-radius: 2px;\n content: '';\n display: inline-block;\n height: baseline(5);\n line-height: baseline(5);\n margin-right: baseline(4);\n vertical-align: middle;\n text-align: center;\n width: baseline(5); \n }\n }\n &:checked + label:before {\n content: \"\";\n background-image: url(\"data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 8'%3e%3cpolygon points='9.53 0 4.4 5.09 1.47 2.18 0 3.64 2.93 6.54 4.4 8 5.87 6.54 11 1.46 9.53 0' fill='%233949ab'/%3e%3c/svg%3e\");\n background-repeat: no-repeat;\n background-size: 11px 8px;\n background-position: 50% 50%;\n }\n}\n\ninput[type=radio] {\n & + label {\n &:before {\n border-radius: 50%;\n }\n }\n &:checked + label:before {\n background-image: url(\"data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3ccircle cx='4' cy='4' r='4' fill='%233949ab'/%3e%3c/svg%3e\");\n }\n}\n\n[type=file] {\n\tmargin-bottom: baseline(6);\n\twidth: 100%;\n}\n\nselect {\n\tmax-width: 100%;\n\twidth: auto;\n\tposition: relative;\n\t&:not([multiple]) {\n\t\tbackground: url('data:image/svg+xml;utf8,') no-repeat 90% 50%;\n\t\tbackground-size: 8px;\n\t\tpadding-right: baseline(12);\n\t}\n}\n\nselect[multiple] {\n\tborder-radius: 6px;\n\tpadding: baseline(6);\n\twidth: 100%;\n\t&:hover {\n\t\tborder-color: $color-input-border;\n\t}\n\t&:focus {\n\t\tborder-color: $color-input-border-focus;\n\t}\n\t&:disabled {\n\t\tbackground-color: $color-button-disabled-bg;\n\t\tcursor: not-allowed;\n\t\t&:hover {\n\t\t\tborder-color: $color-input-border;\n\t\t}\n\t}\n}\n\ntextarea {\n\tborder-radius: 6px;\n\tdisplay: block;\n\toverflow: auto;\n\tresize: vertical;\n\tmax-width: 100%;\n}\n","// CSS Grid Layout ----------------------------------------------------------------- \n\n// Main columns\n.container {\n\tdisplay: grid;\n\tgrid-gap: calc(#{baseline(7)} + 0.5vw);\n\tgrid-template-columns: 1fr auto 1fr;\n\t@include mappy-bp(md) {\n\t\tgrid-template-columns: 1fr minmax(auto, $main-col-width) $sidebar-width 1fr;\n\t}\n}\n\n.top {\n\tgrid-column: 2/3;\n\t@include mappy-bp(md) {\n\t\tgrid-column: 2/4;\n\t}\n}\n\n.footer {\n\tgrid-column: 2/3;\n\t@include mappy-bp(md) {\n\t\tgrid-column: 2/4;\n\t}\n}\n\n.main {\n\tgrid-column: 2/3;\n\t&--full {\n\t\tgrid-column: 2/4;\n\t}\n\t&--grid {\n\t\talign-content: start;\n\t\tdisplay: grid;\n\t\tgrid-gap: calc(#{baseline(7)} + 0.5vw);\n\t\t@include mappy-bp(sm) {\n\t\t\tgrid-template-columns: repeat(6, 1fr);\n\t\t\t&>.article {\n\t\t\t\tgrid-column: span 3;\n\t\t\t}\n\t\t}\n\t}\n}\n\n.sidebar {\n\tgrid-column: 2/3;\n\t@include mappy-bp(md) {\n\t\tgrid-column: 3/4;\n\t}\n}\n\n// Content sections \n.hero,\n.page-header--listing {\n\t@include mappy-bp(sm) {\n\t\tgrid-column: span 6;\n\t}\n}\n\n.featured-posts {\n\t@include mappy-bp(sm) {\n\t\tgrid-column: span 6;\n\t\tdisplay: grid;\n\t\tgrid-column-gap: calc(#{baseline(7)} + 0.5vw);\n\t\tgrid-template-columns: repeat(3, 1fr);\n\t\t&>h3 {\n\t\t\tgrid-column: span 3;\n\t\t}\n\t}\n}\n\n.pagination {\n\t@include mappy-bp(sm) {\n\t\tgrid-column: span 6;\n\t}\n}\n","// Header ----------------------------------------------------------------- \n\n.top {\n\talign-items: center;\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tmargin-top: calc(#{baseline(7)} + 0.5vw);\n\tposition: relative;\n}\n","// Logo ----------------------------------------------------------------- \n\n.logo {\n\tcolor: $color-logo !important;\n\tfont-family: $logo;\n\tfont-weight: 800;\n\t\n\t@include fluid-type(font-size, $minScreen, $maxScreen, ms(6), ms(10));\n\t@include mappy-bp(md) {\n\t\tmargin: 0;\n\t}\n}\n","// Menu ----------------------------------------------------------------- \n\n.navbar {\n\t&__menu {\n\t\t// before \"is opened\"\n\t\tfont-family: $font-2;\n\t\tfont-weight: $font-weight-bold;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\toverflow: hidden;\n\t\t@include mappy-bp(max md) {\n\t\t\tbackground: $color-menu;\n\t\t\theight: 100vh;\n\t\t\tleft: 0;\n\t\t\topacity: 0;\n\t\t\tposition: absolute;\n\t\t\ttop: 2.99rem;\n\t\t\ttransition: all 0.3s ease-out;\n\t\t\tvisibility: hidden;\n\t\t\ttransform: translateY(-5%);\n\t\t\twidth: 100%;\n\t\t\tz-index: 1;\n\t\t\t&>li {\n\t\t\t\ttransition: all 0.3s ease-out;\n\t\t\t\tborder-bottom: 1px solid $color-border-light;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t}\n\t\t@include mappy-bp(md) {\n\t\t\tmax-height: none;\n\t\t\toverflow: visible;\n\t\t}\n\t\tpadding: 0;\n\t\tli {\n\t\t\tcolor: $color-menu-link;\n\t\t\tpadding: 0;\n\t\t\ttext-align: center;\n\t\t\t@include mappy-bp(md) {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmargin: 0 0 0 baseline(6);\n\t\t\t\tposition: relative;\n\t\t\t}\n\t\t\t&:hover,\n\t\t\t&[aria-expanded=\"true\"] {\n\t\t\t\tcursor: pointer;\n\t\t\t\t&>ul {\n\t\t\t\t\t@include mappy-bp(md) {\n\t\t\t\t\t\tdisplay: block;\n\t\t\t\t\t\tli {\n\t\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\t\tdisplay: block;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\ta,\n\t\t\tspan {\n\t\t\t\tdisplay: block;\n\t\t\t\tcolor: $color-menu-link;\n\t\t\t\twhite-space: nowrap;\n\t\t\t\t@include mappy-bp(max md) {\n\t\t\t\t\tpadding: baseline(4) 0;\n\t\t\t\t}\n\t\t\t\t&:after {\n\t\t\t\t\tcontent: \"\";\n\t\t\t\t\tdisplay: block;\n\t\t\t\t\tmargin: 0 auto;\n\t\t\t\t}\n\t\t\t\t&:hover:not(span) {\n\t\t\t\t\tcolor: $color-menu-link-hover;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t&__submenu {\n\t\t@include mappy-bp(max md) {\n\t\t\tmargin: 0;\n\t\t}\n\t\t@include mappy-bp(md) {\n\t\t\tbackground: $color-menu;\n\t\t\tbox-shadow: 0 0 6px rgba($dark, 0.15);\n\t\t\tdisplay: none;\n\t\t\tleft: auto;\n\t\t\tmargin: 15px 0 0;\n\t\t\tpadding: baseline(2) 0;\n\t\t\tposition: absolute;\n\t\t\ttop: 100%;\n\t\t\twidth: auto;\n\t\t\tz-index: 2000;\n\t\t\t&:before {\n\t\t\t\t// submenu top space\n\t\t\t\tcontent: '';\n\t\t\t\tdisplay: block;\n\t\t\t\theight: 15px;\n\t\t\t\tleft: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: -15px;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\tli {\n\t\t\t\tborder: none;\n\t\t\t\tfont-weight: normal;\n\t\t\t\tmargin: 0;\n\t\t\t\t&>a {\n\t\t\t\t\tpadding: baseline(2) baseline(10);\n\t\t\t\t\t@include mappy-bp(max md) {\n\t\t\t\t\t\tpadding: baseline(1) 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t&:hover {\n\t\t\t\t\t&>a {\n\t\t\t\t\t\tbackground: $gray-light;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tul {\n\t\t\t\t\t// second and the next lavel\n\t\t\t\t\tleft: 90%;\n\t\t\t\t\ttop: 0;\n\t\t\t\t\ttransform: translate(-10%, 0);\n\t\t\t\t\t&.navbar__submenu--reversed {\n\t\t\t\t\t\tleft: auto;\n\t\t\t\t\t\tright: 90%;\n\t\t\t\t\t\ttop: 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t&__toggle {\n\t\tbackground: none;\n\t\tborder: none;\n\t\tborder-top: 2px solid $dark;\n\t\tborder-radius: 0;\n\t\tdisplay: block;\n\t\t@include mappy-bp(md) {\n\t\t\tdisplay: none;\n\t\t}\n\t\theight: 14px;\n\t\tpadding: 0;\n\t\t@include centerXY(false, true);\n\t\tright: 0;\n\t\ttext-indent: -99999rem;\n\t\twidth: 1.6rem;\n\t\tz-index: 3;\n\t\t&:before {\n\t\t\tborder-top: 2px solid $dark;\n\t\t\tcontent: \"\";\n\t\t\tleft: 0;\n\t\t\tposition: absolute;\n\t\t\ttop: 4px;\n\t\t\twidth: 100%;\n\t\t}\n\t\t&:after {\n\t\t\tborder-bottom: 2px solid $dark;\n\t\t\tcontent: \"\";\n\t\t\tleft: 0;\n\t\t\tposition: absolute;\n\t\t\tbottom: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t\t&:focus {\n\t\t\tbackground: none;\n\t\t\toutline: none;\n\t\t\tborder: none;\n\t\t\tborder-top: 2px solid $color-border;\n\t\t}\n\t\t&:hover {\n\t\t\tbackground: none;\n\t\t}\n\t}\n}\n\n.is-opened {\n\t&>ul {\n\t\topacity: (1);\n\t\toverflow: auto;\n\t\tvisibility: visible;\n\t\ttransform: translateY(0);\n\t\tli {\n\t\t\tpadding: 0;\n\t\t\ttransform: translateY(0);\n\t\t\tul {\n\t\t\t\theight: 0;\n\t\t\t\topacity: (0);\n\t\t\t\ttransition: all 0.3s ease-out;\n\t\t\t\ttransform: translateY(-10%);\n\t\t\t\t& li {\n\t\t\t\t\tborder-top: 1px solid $color-border-light;\n\t\t\t\t}\n\t\t\t}\n\t\t\t&:hover>ul {\n\t\t\t\theight: auto;\n\t\t\t\topacity: (1);\n\t\t\t\ttransform: translateX(0);\n\t\t\t}\n\t\t\t&[aria-expanded=\"true\"]>ul {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@include mappy-bp(max md) {\n\t.has-submenu {\n\t\t&:after {\n\t\t\tbackground: $white;\n\t\t\tborder-right: 1px solid $color-border;\n\t\t\tborder-bottom: 1px solid $color-border;\n\t\t\tcontent: '';\n\t\t\tdisplay: block;\n\t\t\theight: 8px;\n\t\t\tposition: absolute;\n\t\t\tright: 10px;\n\t\t\ttop: 1rem;\n\t\t\ttransform: rotate(45deg);\n\t\t\twidth: 8px;\n\t\t}\n\t}\n}\n","// Sidebar ----------------------------------------------------------------- \n\n.sidebar {\n\tinput {\n\t\twidth: 100%;\n\t\t&+input {\n\t\t\tmargin-top: baseline(2);\n\t\t}\n\t}\n}\n\n.box {\n\tmargin-bottom: calc(#{baseline(12)} + 1vw);\n\t&--gray {\n\t\tbackground: $gray-light;\n\t\tpadding: calc(#{baseline(7)} + 0.5vw);\n\t\t&>.box__title {\n\t\t\tborder-top: none;\n\t\t\tpadding-top: 0;\n\t\t}\n\t}\n\t&__title {\n\t\tcolor: $color-text-color;\n\t\tmargin: 0 0 calc(#{baseline(7)} + 0.5vw);\n\t}\n\tul {\n\t\tmargin-left: 0;\n\t}\n}\n\n.owner {\n\ttext-align: center;\n\t&>img {\n\t\tborder-radius: 50%;\n\t\tmax-width: 7rem;\n\t}\n\t&>p {\n\t\tfont-size: ms(-2);\n\t}\n\t&__email {\n\t\tdisplay: block;\n\t\tmargin-top: baseline(3);\n\t\ttext-decoration: underline\n\t}\n}\n\n.authors {\n\tlist-style: none;\n\t&>li {\n\t\talign-items: center;\n\t\tclear: both;\n\t\tdisplay: flex;\n\t\tmargin: 0 0 calc(#{baseline(6)} + 0.75vw);\n\t\tpadding: 0;\n\t}\n\t&__img {\n\t\tmargin-right: 2rem;\n\t}\n\t&__title {\n\t\tdisplay: block;\n\t\tfont-family: $heading;\n\t\tfont-weight: $font-weight-bold;\n\t}\n}\n\n.tags {\n\t&>li {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\tpadding-left: 0;\n\t}\n}\n\n.newsletter {\n\t&__note {\n\t\tcolor: $gray;\n\t\tfont-size: ms(-4);\n\t\tmargin: 0 0 baseline(4);\n\t}\n}\n","// Utility classes ----------------------------------------------------------\n\n.u-small {\n color: $gray;\n font-family: $font-2;\n font-weight: $font-weight-normal;\n font-size: ms(-4);\n}\n\n.u-icon {\n fill: rgba($dark, 0.8);\n height: ms(0);\n width: ms(0);\n transition: all 0.24s ease-out;\n}\n\n\n// Hero ----------------------------------------------------------\n\n.hero {\n height: $hero-height;\n position: relative;\n\n &__image {\n height: $hero-height;\n object-fit: cover;\n opacity: 0.9;\n position: relative;\n width: 100%;\n }\n\n &__text {\n color: $white;\n text-align: center;\n width: 80%;\n @include centerXY(true, true);\n\n & > h1 {\n color: $white;\n }\n\n & > .btn {\n margin-top: baseline(6);\n }\n }\n}\n\n\n// Post listing (index, author, tag) ------------------------------\n\n.page-header {\n border-top: 3px solid $color-border;\n padding-top: calc(#{baseline(7)} + 0.5vw);\n\n &__title {\n color: $color-text-color;\n }\n\n &__desc {\n margin-top: calc(#{baseline(1)} + 0.5vw);\n }\n}\n\n.article {\n margin-bottom: calc(#{baseline(6)} + 0.5vw);\n\n &__title {\n @include fluid-type(font-size, $minScreen, $maxScreen, ms(2), ms(3));\n }\n\n &__meta {\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n &__avatar {\n border-radius: 50%;\n height: baseline(8);\n margin-right: baseline(3);\n width: baseline(8);\n display: inline-block;\n vertical-align: middle;\n }\n }\n}\n\n\n// Post page ----------------------------------------------------------\n\n.post {\n border-top: 3px solid $color-border;\n padding-top: calc(#{baseline(7)} + 0.5vw);\n\n &__meta {\n margin: calc(#{baseline(4)} + 0.25vw) 0 0 0;\n\n & > li {\n display: inline-block;\n list-style: none;\n padding: baseline(1) baseline(4) 0 0;\n\n & > svg {\n fill: #ffc400;\n vertical-align: top;\n }\n }\n }\n\n &__image {\n &--left {\n float: left;\n margin-right: calc(#{baseline(7)} + 0.5vw);\n max-width: 50%;\n }\n\n &--right {\n float: right;\n margin-left: calc(#{baseline(7)} + 0.5vw);\n max-width: 50%;\n }\n\n &--center {\n display: block;\n margin-left: auto;\n margin-right: auto;\n text-align: center;\n }\n\n &--wide {\n text-align: center;\n }\n\n &--full {\n text-align: center;\n }\n }\n\n &__video {\n height: 0;\n overflow: hidden;\n padding-top: baseline(6);\n padding-bottom: 56.25%;\n position: relative;\n\n & > iframe {\n border: none;\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n }\n }\n\n &__entry {\n margin-top: calc(#{baseline(7)} + 1vw);\n\n @include mappy-bp(max md) {\n max-width: 36rem;\n margin-left: auto;\n margin-right: auto;\n }\n\n & > :nth-child(1) {\n margin-top: 0;\n }\n\n a {\n @include links ($color-link-hover, $color-link, $color-link, $color-link);\n }\n\n a:hover {\n text-decoration: underline;\n }\n }\n\n // Table of content\n &__toc {\n\n ul {\n counter-reset: item;\n list-style: decimal;\n margin: calc(#{baseline(2)} + 0.25vw) 0 0 1rem;\n\n li {\n counter-increment: item;\n padding: 0;\n }\n\n ul {\n margin-top: 0;\n\n li {\n display: block;\n\n &:before {\n content: counters(item, \".\") \". \";\n margin-left: -20px;\n }\n }\n }\n }\n }\n\n &__video {\n height: 0;\n overflow: hidden;\n padding-top: baseline(6);\n padding-bottom: 56.25%;\n position: relative;\n\n & > iframe {\n border: none;\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n }\n }\n\n &__footer {\n margin-top: calc(#{baseline(7)} + 0.5vw);\n\n @include mappy-bp(max sm) {\n text-align: center;\n }\n\n & > .box {\n border-top: 1px solid $color-border-light;\n padding-top: calc(#{baseline(7)} + 0.5vw);\n text-align: center;\n }\n }\n\n &__last-updated {\n color: $gray;\n font-size: ms(-4);\n margin-bottom: calc(#{baseline(7)} + 0.5vw);\n }\n\n &__share {\n & > a {\n background: $gray-light;\n border-radius: 50px;\n display: inline-block;\n font-family: $font-2;\n font-size: ms(-4);\n padding: baseline(2) baseline(6);\n margin: baseline(2) baseline(2) 0;\n\n & > .u-icon {\n pointer-events: none;\n display: inline-block;\n margin-right: baseline(2);\n vertical-align: middle;\n }\n }\n }\n\n &__tag {\n margin-left: 0;\n margin-top: 0;\n\n li {\n display: inline-block;\n\n & > a {\n background: $gray-light;\n border-radius: 50px;\n display: inline-block;\n font-family: $font-2;\n font-size: ms(-4);\n padding: baseline(2) baseline(6);\n }\n }\n }\n\n &__bio {\n & > img {\n border-radius: 50%;\n height: baseline(18);\n width: baseline(18);\n }\n }\n\n &__nav {\n color: $gray;\n display: flex;\n font-size: ms(-4);\n justify-content: space-between;\n margin-bottom: calc(#{baseline(7)} + 0.5vw);\n\n &__link {\n color: $color-text-light;\n\n @include mappy-bp(sm) {\n align-items: flex-start;\n display: flex;\n justify-content: space-around;\n }\n\n & > img {\n width: 100px;\n\n @include mappy-bp(max sm) {\n display: none;\n }\n }\n\n &:hover {\n h5 {\n transition: all 0.12s linear;\n color: $color-link-hover;\n }\n }\n }\n\n h5 {\n font-size: ms(-2);\n margin: baseline(1) 0 0;\n position: relative;\n }\n\n &__prev {\n flex-basis: 50%;\n text-align: left;\n }\n\n &__next {\n flex-basis: 50%;\n margin-left: auto;\n text-align: right;\n }\n\n &__text {\n @include mappy-bp(sm) {\n width: 55%;\n }\n }\n }\n\n &__related {\n &__wrap {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n margin: calc(#{baseline(7)} + 0.5vw) -2% 0;\n width: 104%;\n\n @include mappy-bp(md) {\n flex-wrap: no-wrap;\n }\n\n figure {\n margin: 0;\n flex-basis: 50%;\n padding: baseline(3) 2%;\n\n @include mappy-bp(sm) {\n flex-basis: 33.333%;\n }\n }\n\n figcaption {\n & > time {\n color: $gray;\n font-size: ms(-3);\n margin: 0 0 baseline(3);\n }\n }\n\n h4 {\n font-size: ms(-2);\n margin: baseline(6) 0 baseline(2);\n }\n }\n }\n}\n\n\n// Comments ----------------------------------------------------------\n\n.comments {\n border-top: 1px solid $color-border-light;\n padding-top: calc(#{baseline(7)} + 0.5vw);\n text-align: center;\n\n & > h3 {\n margin-bottom: calc(#{baseline(7)} + 0.5vw);\n }\n}\n\n\n// Author page ----------------------------------------------------------\n\n.author {\n &__avatar {\n border-radius: 50%;\n height: baseline(18);\n margin-bottom: calc(#{baseline(7/2)} + 0.5vw);\n width: baseline(18);\n }\n}\n\n\n// Search page ----------------------------------------------------------\n\n.search {\n &__form {\n margin-top: calc(#{baseline(7)} + 0.5vw);\n }\n\n &__input {\n width: 100%;\n }\n}\n\n\n// Google Custom Search -------------------------------------------------\n\n.gs-webResult {\n border-top: 1px solid $color-border-light;\n padding-top: 1rem;\n}\n\n.gsc-table-result {\n margin-top: baseline(2);\n white-space: initial;\n\n td {\n padding: 0;\n }\n}\n\n\n// Required by WYSIWYG editor --------------------------------------------\n\n.align-left {\n text-align: left;\n}\n\n.align-right {\n text-align: right;\n}\n\n.align-center {\n text-align: center;\n}\n\n.align-justify {\n text-align: justify;\n}\n\n.msg {\n padding: baseline(4) baseline(6);\n\n &--highlight {\n background-color: #fff7e5;\n }\n\n &--info {\n background-color: #d9edf7;\n }\n\n &--success {\n background: #d5efc2;\n }\n}\n\n.dropcap {\n &:first-letter {\n color: $color-headings;\n float: left;\n font-family: $heading;\n line-height: 0.6;\n margin-right: baseline(2);\n padding: baseline(2) baseline(2) baseline(2) 0;\n @include fluid-type(font-size, $minScreen, $maxScreen, ms(16), ms(24));\n }\n}\n","// Pagination ----------------------------------------------------------------- \n\n.pagination {\n\t&>a {\n\t\t\n\t\t@include mappy-bp(sm) {\n\t\t\tmargin: 0 baseline(2) 0 0;\n\t\t}\n\t}\n}\n","// Footer ----------------------------------------------------------------- \n\n.footer {\n\tborder-top: 1px solid $color-border-light;\n\tfont-family: $font-2;\n\tmargin-top: calc(#{baseline(7)} + 0.5vw);\n\tpadding: calc(#{baseline(7)} + 0.5vw) 0;\n\ttext-align: center;\n\t&__copyright {}\n\t&__social {\n\t\t&>a {\n\t\t\tdisplay: inline-block;\n\t\t\tpadding: 0 baseline(2);\n\t\t}\n\t}\n\t&__copyright+&__social {\n\t\tmargin-top: baseline(6);\n\t}\n}\n","// Grid gallery\r\n.gallery {\r\n\tmargin: calc(#{baseline(6)} + 1vw) baseline(-2);\r\n\t@include mappy-bp(320px) {\r\n\t\tdisplay: flex;\r\n\t\tflex-wrap: wrap;\r\n\t}\r\n\t&[data-columns=\"1\"] {\r\n\t\t.gallery__item {\r\n\t\t\t@include mappy-bp(320px) {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&[data-columns=\"2\"] {\r\n\t\t.gallery__item {\r\n\t\t\t@include mappy-bp(480px) {\r\n\t\t\t\twidth: 50%\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&[data-columns=\"3\"] {\r\n\t\t.gallery__item {\r\n\t\t\t@include mappy-bp(sm) {\r\n\t\t\t\twidth: 33%\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&[data-columns=\"4\"] {\r\n\t\t.gallery__item {\r\n\t\t\t@include mappy-bp(md) {\r\n\t\t\t\twidth: 25%;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&[data-columns=\"5\"] {\r\n\t\t.gallery__item {\r\n\t\t\t@include mappy-bp(md) {\r\n\t\t\t\twidth: 20%;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&[data-columns=\"6\"] {\r\n\t\t.gallery__item {\r\n\t\t\t@include mappy-bp(md) {\r\n\t\t\t\twidth: 16.666%;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&[data-columns=\"7\"] {\r\n\t\t.gallery__item { \r\n\t\t\t@include mappy-bp(md) {\r\n\t\t\t\twidth: 14.285%;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&[data-columns=\"8\"] {\r\n\t\t.gallery__item {\r\n\t\t\t@include mappy-bp(md) {\r\n\t\t\t\twidth: 12.5%;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&__item {\r\n\t\tmargin: 0;\r\n\t\tpadding: baseline(2);\r\n\r\n\t\t@include mappy-bp(320px) {\r\n\t\t\twidth: 50%\r\n\t\t}\r\n\t\t@include mappy-bp(480px) {\r\n\t\t\twidth: 33.333%\r\n\t\t}\r\n\t\t@include mappy-bp(sm) {\r\n\t\t\twidth: 25%\r\n\t\t}\r\n\t\timg {\r\n\t\t\tdisplay: block;\r\n\t\t\twidth: 100%; \r\n\t\t}\t\t\r\n\t}\r\n}\r\n\r\n// Photoswipe lightbox\r\n.pswp {\r\n\t&--dark { \r\n\t\t.pswp__bg {\r\n\t\t\tbackground: black;\r\n\t\t}\r\n\t}\r\n\r\n\t&--light {\r\n\t\t.pswp__bg {\r\n\t\t\tbackground: white;\r\n\t\t}\r\n\t\t.pswp__counter {\r\n\t\t\tcolor: $dark;\r\n\t\t}\r\n\t\t.pswp__caption__center {\r\n\t\t\tcolor: $color-text;\r\n\t\t}\t\t\r\n\t}\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/assets/css/photoswipe.css b/assets/css/photoswipe.css index 52f5600..f3f996a 100644 --- a/assets/css/photoswipe.css +++ b/assets/css/photoswipe.css @@ -529,7 +529,7 @@ a.pswp__share--download:hover { } .pswp__caption__center { - text-align: left; + text-align: center; max-width: calc(38rem + 8%); margin: 0 auto; font-size: 13px; diff --git a/assets/js/photoswipe.min.js b/assets/js/photoswipe.min.js index f42483e..6159c9b 100644 --- a/assets/js/photoswipe.min.js +++ b/assets/js/photoswipe.min.js @@ -1,4 +1,4 @@ -/*! PhotoSwipe - v4.1.2 - 2017-04-05 +/*! PhotoSwipe - v4.1.3 - 2019-01-08 * http://photoswipe.com -* Copyright (c) 2017 Dmitry Semenov; */ -!function(a,b){"function"==typeof define&&define.amd?define(b):"object"==typeof exports?module.exports=b():a.PhotoSwipe=b()}(this,function(){"use strict";var a=function(a,b,c,d){var e={features:null,bind:function(a,b,c,d){var e=(d?"remove":"add")+"EventListener";b=b.split(" ");for(var f=0;f0&&(g=parseInt(g[1],10),g>=1&&g<8&&(d.isOldIOSPhone=!0))}var h=f.match(/Android\s([0-9\.]*)/),i=h?h[1]:0;i=parseFloat(i),i>=1&&(i<4.4&&(d.isOldAndroid=!0),d.androidVersion=i),d.isMobileOpera=/opera mini|opera mobi/i.test(f)}for(var j,k,l=["transform","perspective","animationName"],m=["","webkit","Moz","ms","O"],n=0;n<4;n++){c=m[n];for(var o=0;o<3;o++)j=l[o],k=c+(c?j.charAt(0).toUpperCase()+j.slice(1):j),!d[j]&&k in b&&(d[j]=k);c&&!d.raf&&(c=c.toLowerCase(),d.raf=window[c+"RequestAnimationFrame"],d.raf&&(d.caf=window[c+"CancelAnimationFrame"]||window[c+"CancelRequestAnimationFrame"]))}if(!d.raf){var p=0;d.raf=function(a){var b=(new Date).getTime(),c=Math.max(0,16-(b-p)),d=window.setTimeout(function(){a(b+c)},c);return p=b+c,d},d.caf=function(a){clearTimeout(a)}}return d.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,e.features=d,d}};e.detectFeatures(),e.features.oldIE&&(e.bind=function(a,b,c,d){b=b.split(" ");for(var e,f=(d?"detach":"attach")+"Event",g=function(){c.handleEvent.call(c)},h=0;hb-1?a-b:a<0?b+a:a},Ba={},Ca=function(a,b){return Ba[a]||(Ba[a]=[]),Ba[a].push(b)},Da=function(a){var b=Ba[a];if(b){var c=Array.prototype.slice.call(arguments);c.shift();for(var d=0;df.currItem.fitRatio?ya||(mc(f.currItem,!1,!0),ya=!0):ya&&(mc(f.currItem),ya=!1)),Ga(ea,pa.x,pa.y,s))},Ia=function(a){a.container&&Ga(a.container.style,a.initialPosition.x,a.initialPosition.y,a.initialZoomLevel,a)},Ja=function(a,b){b[E]=u+a+"px, 0px"+v},Ka=function(a,b){if(!i.loop&&b){var c=m+(ta.x*ra-a)/ta.x,d=Math.round(a-tb.x);(c<0&&d>0||c>=ac()-1&&d<0)&&(a=tb.x+d*i.mainScrollEndFriction)}tb.x=a,Ja(a,n)},La=function(a,b){var c=ub[a]-sa[a];return oa[a]+na[a]+c-c*(b/t)},Ma=function(a,b){a.x=b.x,a.y=b.y,b.id&&(a.id=b.id)},Na=function(a){a.x=Math.round(a.x),a.y=Math.round(a.y)},Oa=null,Pa=function(){Oa&&(e.unbind(document,"mousemove",Pa),e.addClass(a,"pswp--has_mouse"),i.mouseUsed=!0,Da("mouseUsed")),Oa=setTimeout(function(){Oa=null},100)},Qa=function(){e.bind(document,"keydown",f),N.transform&&e.bind(f.scrollWrap,"click",f),i.mouseUsed||e.bind(document,"mousemove",Pa),e.bind(window,"resize scroll orientationchange",f),Da("bindEvents")},Ra=function(){e.unbind(window,"resize scroll orientationchange",f),e.unbind(window,"scroll",r.scroll),e.unbind(document,"keydown",f),e.unbind(document,"mousemove",Pa),N.transform&&e.unbind(f.scrollWrap,"click",f),V&&e.unbind(window,p,f),clearTimeout(O),Da("unbindEvents")},Sa=function(a,b){var c=ic(f.currItem,qa,a);return b&&(da=c),c},Ta=function(a){return a||(a=f.currItem),a.initialZoomLevel},Ua=function(a){return a||(a=f.currItem),a.w>0?i.maxSpreadZoom:1},Va=function(a,b,c,d){return d===f.currItem.initialZoomLevel?(c[a]=f.currItem.initialPosition[a],!0):(c[a]=La(a,d),c[a]>b.min[a]?(c[a]=b.min[a],!0):c[a]1?1:a.fitRatio,c=a.container.style,d=b*a.w,e=b*a.h;c.width=d+"px",c.height=e+"px",c.left=a.initialPosition.x+"px",c.top=a.initialPosition.y+"px"},Ha=function(){if(ea){var a=ea,b=f.currItem,c=b.fitRatio>1?1:b.fitRatio,d=c*b.w,e=c*b.h;a.width=d+"px",a.height=e+"px",a.left=pa.x+"px",a.top=pa.y+"px"}}},Xa=function(a){var b="";i.escKey&&27===a.keyCode?b="close":i.arrowKeys&&(37===a.keyCode?b="prev":39===a.keyCode&&(b="next")),b&&(a.ctrlKey||a.altKey||a.shiftKey||a.metaKey||(a.preventDefault?a.preventDefault():a.returnValue=!1,f[b]()))},Ya=function(a){a&&(Y||X||fa||T)&&(a.preventDefault(),a.stopPropagation())},Za=function(){f.setScrollOffset(0,e.getScrollY())},$a={},_a=0,ab=function(a){$a[a]&&($a[a].raf&&I($a[a].raf),_a--,delete $a[a])},bb=function(a){$a[a]&&ab(a),$a[a]||(_a++,$a[a]={})},cb=function(){for(var a in $a)$a.hasOwnProperty(a)&&ab(a)},db=function(a,b,c,d,e,f,g){var h,i=Ea();bb(a);var j=function(){if($a[a]){if(h=Ea()-i,h>=d)return ab(a),f(c),void(g&&g());f((c-b)*e(h/d)+b),$a[a].raf=H(j)}};j()},eb={shout:Da,listen:Ca,viewportSize:qa,options:i,isMainScrollAnimating:function(){return fa},getZoomLevel:function(){return s},getCurrentIndex:function(){return m},isDragging:function(){return V},isZooming:function(){return aa},setScrollOffset:function(a,b){sa.x=a,M=sa.y=b,Da("updateScrollOffset",sa)},applyZoomPan:function(a,b,c,d){pa.x=b,pa.y=c,s=a,Ha(d)},init:function(){if(!j&&!k){var c;f.framework=e,f.template=a,f.bg=e.getChildByClass(a,"pswp__bg"),J=a.className,j=!0,N=e.detectFeatures(),H=N.raf,I=N.caf,E=N.transform,L=N.oldIE,f.scrollWrap=e.getChildByClass(a,"pswp__scroll-wrap"),f.container=e.getChildByClass(f.scrollWrap,"pswp__container"),n=f.container.style,f.itemHolders=y=[{el:f.container.children[0],wrap:0,index:-1},{el:f.container.children[1],wrap:0,index:-1},{el:f.container.children[2],wrap:0,index:-1}],y[0].el.style.display=y[2].el.style.display="none",Wa(),r={resize:f.updateSize,orientationchange:function(){clearTimeout(O),O=setTimeout(function(){qa.x!==f.scrollWrap.clientWidth&&f.updateSize()},500)},scroll:Za,keydown:Xa,click:Ya};var d=N.isOldIOSPhone||N.isOldAndroid||N.isMobileOpera;for(N.animationName&&N.transform&&!d||(i.showAnimationDuration=i.hideAnimationDuration=0),c=0;c=ac())&&(m=0),f.currItem=_b(m),(N.isOldIOSPhone||N.isOldAndroid)&&(va=!1),a.setAttribute("aria-hidden","false"),i.modal&&(va?a.style.position="fixed":(a.style.position="absolute",a.style.top=e.getScrollY()+"px")),void 0===M&&(Da("initialLayout"),M=K=e.getScrollY());var l="pswp--open ";for(i.mainClass&&(l+=i.mainClass+" "),i.showHideOpacity&&(l+="pswp--animate_opacity "),l+=G?"pswp--touch":"pswp--notouch",l+=N.animationName?" pswp--css_animation":"",l+=N.svg?" pswp--svg":"",e.addClass(a,l),f.updateSize(),o=-1,ua=null,c=0;cda.min.x?a=da.min.x:ada.min.y?b=da.min.y:b=h&&(o+=ua+(ua>0?-h:h),c=h);for(var d=0;d0?(b=y.shift(),y[h-1]=b,o++,Ja((o+2)*ta.x,b.el.style),f.setContent(b,m-c+d+1+1)):(b=y.pop(),y.unshift(b),o--,Ja(o*ta.x,b.el.style),f.setContent(b,m+c-d-1-1));if(ea&&1===Math.abs(ua)){var e=_b(z);e.initialZoomLevel!==s&&(ic(e,qa),mc(e),Ia(e))}ua=0,f.updateCurrZoomItem(),z=m,Da("afterChange")}}},updateSize:function(b){if(!va&&i.modal){var c=e.getScrollY();if(M!==c&&(a.style.top=c+"px",M=c),!b&&xa.x===window.innerWidth&&xa.y===window.innerHeight)return;xa.x=window.innerWidth,xa.y=window.innerHeight,a.style.height=xa.y+"px"}if(qa.x=f.scrollWrap.clientWidth,qa.y=f.scrollWrap.clientHeight,Za(),ta.x=qa.x+Math.round(qa.x*i.spacing),ta.y=qa.y,Ka(ta.x*ra),Da("beforeResize"),void 0!==o){for(var d,g,j,k=0;k2&&(j=Aa(j)),g=_b(j),g&&(x||g.needsUpdate||!g.bounds)?(f.cleanSlide(g),f.setContent(d,j),1===k&&(f.currItem=g,f.updateCurrZoomItem(!0)),g.needsUpdate=!1):d.index===-1&&j>=0&&f.setContent(d,j),g&&g.container&&(ic(g,qa),mc(g),Ia(g));x=!1}t=s=f.currItem.initialZoomLevel,da=f.currItem.bounds,da&&(pa.x=da.center.x,pa.y=da.center.y,Ha(!0)),Da("resize")},zoomTo:function(a,b,c,d,f){b&&(t=s,ub.x=Math.abs(b.x)-pa.x,ub.y=Math.abs(b.y)-pa.y,Ma(oa,pa));var g=Sa(a,!1),h={};Va("x",g,h,a),Va("y",g,h,a);var i=s,j={x:pa.x,y:pa.y};Na(h);var k=function(b){1===b?(s=a,pa.x=h.x,pa.y=h.y):(s=(a-i)*b+i,pa.x=(h.x-j.x)*b+j.x,pa.y=(h.y-j.y)*b+j.y),f&&f(b),Ha(1===b)};c?db("customZoomTo",0,1,c,d||e.easing.sine.inOut,k):k(1)}},fb=30,gb=10,hb={},ib={},jb={},kb={},lb={},mb=[],nb={},ob=[],pb={},qb=0,rb=ma(),sb=0,tb=ma(),ub=ma(),vb=ma(),wb=function(a,b){return a.x===b.x&&a.y===b.y},xb=function(a,b){return Math.abs(a.x-b.x)-1)&&(b(a)?a:Cb(a.parentNode,b)))},Db={},Eb=function(a,b){return Db.prevent=!Cb(a.target,i.isClickableElement),Da("preventDragEvent",a,b,Db),Db.prevent},Fb=function(a,b){return b.x=a.pageX,b.y=a.pageY,b.id=a.identifier,b},Gb=function(a,b,c){c.x=.5*(a.x+b.x),c.y=.5*(a.y+b.y)},Hb=function(a,b,c){if(a-Q>50){var d=ob.length>2?ob.shift():{};d.x=b,d.y=c,ob.push(d),Q=a}},Ib=function(){var a=pa.y-f.currItem.initialPosition.y;return 1-Math.abs(a/(qa.y/2))},Jb={},Kb={},Lb=[],Mb=function(a){for(;Lb.length>0;)Lb.pop();return F?(la=0,mb.forEach(function(a){0===la?Lb[0]=a:1===la&&(Lb[1]=a),la++})):a.type.indexOf("touch")>-1?a.touches&&a.touches.length>0&&(Lb[0]=Fb(a.touches[0],Jb),a.touches.length>1&&(Lb[1]=Fb(a.touches[1],Kb))):(Jb.x=a.pageX,Jb.y=a.pageY,Jb.id="",Lb[0]=Jb),Lb},Nb=function(a,b){var c,d,e,g,h=0,j=pa[a]+b[a],k=b[a]>0,l=tb.x+b.x,m=tb.x-nb.x;return c=j>da.min[a]||jda.min[a]&&(c=i.panEndFriction,h=da.min[a]-j,d=da.min[a]-oa[a]),(d<=0||m<0)&&ac()>1?(g=l,m<0&&l>nb.x&&(g=nb.x)):da.min.x!==da.max.x&&(e=j)):(j0)&&ac()>1?(g=l,m>0&&lf.currItem.fitRatio&&(pa[a]+=b[a]*c)):(void 0!==g&&(Ka(g,!0),$=g!==nb.x),da.min.x!==da.max.x&&(void 0!==e?pa.x=e:$||(pa.x+=b.x*c)),void 0!==g)},Ob=function(a){if(!("mousedown"===a.type&&a.button>0)){if($b)return void a.preventDefault();if(!U||"mousedown"!==a.type){if(Eb(a,!0)&&a.preventDefault(),Da("pointerDown"),F){var b=e.arraySearch(mb,a.pointerId,"id");b<0&&(b=mb.length),mb[b]={x:a.pageX,y:a.pageY,id:a.pointerId}}var c=Mb(a),d=c.length;_=null,cb(),V&&1!==d||(V=ha=!0,e.bind(window,p,f),S=ka=ia=T=$=Y=W=X=!1,ga=null,Da("firstTouchStart",c),Ma(oa,pa),na.x=na.y=0,Ma(kb,c[0]),Ma(lb,kb),nb.x=ta.x*ra,ob=[{x:kb.x,y:kb.y}],Q=P=Ea(),Sa(s,!0),zb(),Ab()),!aa&&d>1&&!fa&&!$&&(t=s,X=!1,aa=W=!0,na.y=na.x=0,Ma(oa,pa),Ma(hb,c[0]),Ma(ib,c[1]),Gb(hb,ib,vb),ub.x=Math.abs(vb.x)-pa.x,ub.y=Math.abs(vb.y)-pa.y,ba=ca=yb(hb,ib))}}},Pb=function(a){if(a.preventDefault(),F){var b=e.arraySearch(mb,a.pointerId,"id");if(b>-1){var c=mb[b];c.x=a.pageX,c.y=a.pageY}}if(V){var d=Mb(a);if(ga||Y||aa)_=d;else if(tb.x!==ta.x*ra)ga="h";else{var f=Math.abs(d[0].x-kb.x)-Math.abs(d[0].y-kb.y);Math.abs(f)>=gb&&(ga=f>0?"h":"v",_=d)}}},Qb=function(){if(_){var a=_.length;if(0!==a)if(Ma(hb,_[0]),jb.x=hb.x-kb.x,jb.y=hb.y-kb.y,aa&&a>1){if(kb.x=hb.x,kb.y=hb.y,!jb.x&&!jb.y&&wb(_[1],ib))return;Ma(ib,_[1]),X||(X=!0,Da("zoomGestureStarted"));var b=yb(hb,ib),c=Vb(b);c>f.currItem.initialZoomLevel+f.currItem.initialZoomLevel/15&&(ka=!0);var d=1,e=Ta(),g=Ua();if(c1&&(d=1),c=e-d*(e/3);else c>g&&(d=(c-g)/(6*e),d>1&&(d=1),c=g+d*e);d<0&&(d=0),ba=b,Gb(hb,ib,rb),na.x+=rb.x-vb.x,na.y+=rb.y-vb.y,Ma(vb,rb),pa.x=La("x",c),pa.y=La("y",c),S=c>s,s=c,Ha()}else{if(!ga)return;if(ha&&(ha=!1,Math.abs(jb.x)>=gb&&(jb.x-=_[0].x-lb.x),Math.abs(jb.y)>=gb&&(jb.y-=_[0].y-lb.y)),kb.x=hb.x,kb.y=hb.y,0===jb.x&&0===jb.y)return;if("v"===ga&&i.closeOnVerticalDrag&&!Bb()){na.y+=jb.y,pa.y+=jb.y;var k=Ib();return T=!0,Da("onVerticalDrag",k),Fa(k),void Ha()}Hb(Ea(),hb.x,hb.y),Y=!0,da=f.currItem.bounds;var l=Nb("x",jb);l||(Nb("y",jb),Na(pa),Ha())}}},Rb=function(a){if(N.isOldAndroid){if(U&&"mouseup"===a.type)return;a.type.indexOf("touch")>-1&&(clearTimeout(U),U=setTimeout(function(){U=0},600))}Da("pointerUp"),Eb(a,!1)&&a.preventDefault();var b;if(F){var c=e.arraySearch(mb,a.pointerId,"id");if(c>-1)if(b=mb.splice(c,1)[0],navigator.pointerEnabled)b.type=a.pointerType||"mouse";else{var d={4:"mouse",2:"touch",3:"pen"};b.type=d[a.pointerType],b.type||(b.type=a.pointerType||"mouse")}}var g,h=Mb(a),j=h.length;if("mouseup"===a.type&&(j=0),2===j)return _=null,!0;1===j&&Ma(lb,h[0]),0!==j||ga||fa||(b||("mouseup"===a.type?b={x:a.pageX,y:a.pageY,type:"mouse"}:a.changedTouches&&a.changedTouches[0]&&(b={x:a.changedTouches[0].pageX,y:a.changedTouches[0].pageY,type:"touch"})),Da("touchRelease",a,b));var k=-1;if(0===j&&(V=!1,e.unbind(window,p,f),zb(),aa?k=0:sb!==-1&&(k=Ea()-sb)),sb=1===j?Ea():-1,g=k!==-1&&k<150?"zoom":"swipe",aa&&j<2&&(aa=!1,1===j&&(g="zoomPointerUp"),Da("zoomGestureEnded")),_=null,Y||X||fa||T)if(cb(),R||(R=Sb()),R.calculateSwipeSpeed("x"),T){var l=Ib();if(lf.currItem.fitRatio&&Tb(R))}},Sb=function(){var a,b,c={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(d){ob.length>1?(a=Ea()-Q+50,b=ob[ob.length-2][d]):(a=Ea()-P,b=lb[d]),c.lastFlickOffset[d]=kb[d]-b,c.lastFlickDist[d]=Math.abs(c.lastFlickOffset[d]),c.lastFlickDist[d]>20?c.lastFlickSpeed[d]=c.lastFlickOffset[d]/a:c.lastFlickSpeed[d]=0,Math.abs(c.lastFlickSpeed[d])<.1&&(c.lastFlickSpeed[d]=0),c.slowDownRatio[d]=.95,c.slowDownRatioReverse[d]=1-c.slowDownRatio[d],c.speedDecelerationRatio[d]=1},calculateOverBoundsAnimOffset:function(a,b){c.backAnimStarted[a]||(pa[a]>da.min[a]?c.backAnimDestination[a]=da.min[a]:pa[a]fb&&(h||b.lastFlickOffset.x>20)?d=-1:g<-fb&&(h||b.lastFlickOffset.x<-20)&&(d=1)}var j;d&&(m+=d,m<0?(m=i.loop?ac()-1:0,j=!0):m>=ac()&&(m=i.loop?0:ac()-1,j=!0),j&&!i.loop||(ua+=d,ra-=d,c=!0));var k,l=ta.x*ra,n=Math.abs(l-tb.x);return c||l>tb.x==b.lastFlickSpeed.x>0?(k=Math.abs(b.lastFlickSpeed.x)>0?n/Math.abs(b.lastFlickSpeed.x):333,k=Math.min(k,400),k=Math.max(k,250)):k=333,qb===m&&(c=!1),fa=!0,Da("mainScrollAnimStart"),db("mainScroll",tb.x,l,k,e.easing.cubic.out,Ka,function(){cb(),fa=!1,qb=-1,(c||qb!==m)&&f.updateCurrItem(),Da("mainScrollAnimComplete")}),c&&f.updateCurrItem(!0),c},Vb=function(a){return 1/ca*a*t},Wb=function(){var a=s,b=Ta(),c=Ua();sc&&(a=c);var d,g=1,h=ja;return ia&&!S&&!ka&&s1||navigator.msMaxTouchPoints>1),f.likelyTouchDevice=G,r[A]=Ob,r[B]=Pb,r[C]=Rb,D&&(r[D]=r[C]),N.touch&&(q+=" mousedown",p+=" mousemove mouseup",r.mousedown=r[A],r.mousemove=r[B],r.mouseup=r[C]),G||(i.allowPanToNext=!1)}}});var Xb,Yb,Zb,$b,_b,ac,bc,cc=function(b,c,d,g){Xb&&clearTimeout(Xb),$b=!0,Zb=!0;var h;b.initialLayout?(h=b.initialLayout,b.initialLayout=null):h=i.getThumbBoundsFn&&i.getThumbBoundsFn(m);var j=d?i.hideAnimationDuration:i.showAnimationDuration,k=function(){ab("initialZoom"),d?(f.template.removeAttribute("style"),f.bg.removeAttribute("style")):(Fa(1),c&&(c.style.display="block"),e.addClass(a,"pswp--animated-in"),Da("initialZoom"+(d?"OutEnd":"InEnd"))),g&&g(),$b=!1};if(!j||!h||void 0===h.x)return Da("initialZoom"+(d?"Out":"In")),s=b.initialZoomLevel,Ma(pa,b.initialPosition),Ha(),a.style.opacity=d?0:1,Fa(1),void(j?setTimeout(function(){k()},j):k());var n=function(){var c=l,g=!f.currItem.src||f.currItem.loadError||i.showHideOpacity;b.miniImg&&(b.miniImg.style.webkitBackfaceVisibility="hidden"),d||(s=h.w/b.w,pa.x=h.x,pa.y=h.y-K,f[g?"template":"bg"].style.opacity=.001,Ha()),bb("initialZoom"),d&&!c&&e.removeClass(a,"pswp--animated-in"),g&&(d?e[(c?"remove":"add")+"Class"](a,"pswp--animate_opacity"):setTimeout(function(){e.addClass(a,"pswp--animate_opacity")},30)),Xb=setTimeout(function(){if(Da("initialZoom"+(d?"Out":"In")),d){var f=h.w/b.w,i={x:pa.x,y:pa.y},l=s,m=ja,n=function(b){1===b?(s=f,pa.x=h.x,pa.y=h.y-M):(s=(f-l)*b+l,pa.x=(h.x-i.x)*b+i.x,pa.y=(h.y-M-i.y)*b+i.y),Ha(),g?a.style.opacity=1-b:Fa(m-b*m)};c?db("initialZoom",0,1,j,e.easing.cubic.out,n,k):(n(1),Xb=setTimeout(k,j+20))}else s=b.initialZoomLevel,Ma(pa,b.initialPosition),Ha(),Fa(1),g?a.style.opacity=1:Fa(1),Xb=setTimeout(k,j+20)},d?25:90)};n()},dc={},ec=[],fc={index:0,errorMsg:'
The image could not be loaded.
',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Yb.length}},gc=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},hc=function(a,b,c){var d=a.bounds;d.center.x=Math.round((dc.x-b)/2),d.center.y=Math.round((dc.y-c)/2)+a.vGap.top,d.max.x=b>dc.x?Math.round(dc.x-b):d.center.x,d.max.y=c>dc.y?Math.round(dc.y-c)+a.vGap.top:d.center.y,d.min.x=b>dc.x?0:d.center.x,d.min.y=c>dc.y?a.vGap.top:d.center.y},ic=function(a,b,c){if(a.src&&!a.loadError){var d=!c;if(d&&(a.vGap||(a.vGap={top:0,bottom:0}),Da("parseVerticalMargin",a)),dc.x=b.x,dc.y=b.y-a.vGap.top-a.vGap.bottom,d){var e=dc.x/a.w,f=dc.y/a.h;a.fitRatio=e1&&(c=1),a.initialZoomLevel=c,a.bounds||(a.bounds=gc())}if(!c)return;return hc(a,a.w*c,a.h*c),d&&c===a.initialZoomLevel&&(a.initialPosition=a.bounds.center),a.bounds}return a.w=a.h=0,a.initialZoomLevel=a.fitRatio=1,a.bounds=gc(),a.initialPosition=a.bounds.center,a.bounds},jc=function(a,b,c,d,e,g){b.loadError||d&&(b.imageAppended=!0,mc(b,d,b===f.currItem&&ya),c.appendChild(d),g&&setTimeout(function(){b&&b.loaded&&b.placeholder&&(b.placeholder.style.display="none",b.placeholder=null)},500))},kc=function(a){a.loading=!0,a.loaded=!1;var b=a.img=e.createEl("pswp__img","img"),c=function(){a.loading=!1,a.loaded=!0,a.loadComplete?a.loadComplete(a):a.img=null,b.onload=b.onerror=null,b=null};return b.onload=c,b.onerror=function(){a.loadError=!0,c()},b.src=a.src,b},lc=function(a,b){if(a.src&&a.loadError&&a.container)return b&&(a.container.innerHTML=""),a.container.innerHTML=i.errorMsg.replace("%url%",a.src),!0},mc=function(a,b,c){if(a.src){b||(b=a.container.lastChild);var d=c?a.w:Math.round(a.w*a.fitRatio),e=c?a.h:Math.round(a.h*a.fitRatio);a.placeholder&&!a.loaded&&(a.placeholder.style.width=d+"px",a.placeholder.style.height=e+"px"),b.style.width=d+"px",b.style.height=e+"px"}},nc=function(){if(ec.length){for(var a,b=0;b=0,e=Math.min(c[0],ac()),g=Math.min(c[1],ac());for(b=1;b<=(d?g:e);b++)f.lazyLoadItem(m+b);for(b=1;b<=(d?e:g);b++)f.lazyLoadItem(m-b)}),Ca("initialLayout",function(){f.currItem.initialLayout=i.getThumbBoundsFn&&i.getThumbBoundsFn(m)}),Ca("mainScrollAnimComplete",nc),Ca("initialZoomInEnd",nc),Ca("destroy",function(){for(var a,b=0;b=0&&(void 0!==Yb[a]&&Yb[a])},allowProgressiveImg:function(){return i.forceProgressiveLoading||!G||i.mouseUsed||screen.width>1200},setContent:function(a,b){i.loop&&(b=Aa(b));var c=f.getItemAt(a.index);c&&(c.container=null);var d,g=f.getItemAt(b);if(!g)return void(a.el.innerHTML="");Da("gettingData",b,g),a.index=b,a.item=g;var h=g.container=e.createEl("pswp__zoom-wrap");if(!g.src&&g.html&&(g.html.tagName?h.appendChild(g.html):h.innerHTML=g.html),lc(g),ic(g,qa),!g.src||g.loadError||g.loaded)g.src&&!g.loadError&&(d=e.createEl("pswp__img","img"),d.style.opacity=1,d.src=g.src,mc(g,d),jc(b,g,h,d,!0));else{if(g.loadComplete=function(c){if(j){if(a&&a.index===b){if(lc(c,!0))return c.loadComplete=c.img=null,ic(c,qa),Ia(c),void(a.index===m&&f.updateCurrZoomItem());c.imageAppended?!$b&&c.placeholder&&(c.placeholder.style.display="none",c.placeholder=null):N.transform&&(fa||$b)?ec.push({item:c,baseDiv:h,img:c.img,index:b,holder:a,clearPlaceholder:!0}):jc(b,c,h,c.img,fa||$b,!0)}c.loadComplete=null,c.img=null,Da("imageLoadComplete",b,c)}},e.features.transform){var k="pswp__img pswp__img--placeholder";k+=g.msrc?"":" pswp__img--placeholder--blank";var l=e.createEl(k,g.msrc?"img":"");g.msrc&&(l.src=g.msrc),mc(g,l),h.appendChild(l),g.placeholder=l}g.loading||kc(g),f.allowProgressiveImg()&&(!Zb&&N.transform?ec.push({item:g,baseDiv:h,img:g.img,index:b,holder:a}):jc(b,g,h,g.img,!0,!0))}Zb||b!==m?Ia(g):(ea=h.style,cc(g,d||g.img)),a.el.innerHTML="",a.el.appendChild(h)},cleanSlide:function(a){a.img&&(a.img.onload=a.img.onerror=null),a.loaded=a.loading=a.img=a.imageAppended=!1}}});var oc,pc={},qc=function(a,b,c){var d=document.createEvent("CustomEvent"),e={origEvent:a,target:a.target,releasePoint:b,pointerType:c||"touch"};d.initCustomEvent("pswpTap",!0,!0,e),a.target.dispatchEvent(d)};za("Tap",{publicMethods:{initTap:function(){Ca("firstTouchStart",f.onTapStart),Ca("touchRelease",f.onTapRelease),Ca("destroy",function(){pc={},oc=null})},onTapStart:function(a){a.length>1&&(clearTimeout(oc),oc=null)},onTapRelease:function(a,b){if(b&&!Y&&!W&&!_a){var c=b;if(oc&&(clearTimeout(oc),oc=null,xb(c,pc)))return void Da("doubleTap",c);if("mouse"===b.type)return void qc(a,b,"mouse");var d=a.target.tagName.toUpperCase();if("BUTTON"===d||e.hasClass(a.target,"pswp__single-tap"))return void qc(a,b);Ma(pc,c),oc=setTimeout(function(){qc(a,b),oc=null},300)}}}});var rc;za("DesktopZoom",{publicMethods:{initDesktopZoom:function(){L||(G?Ca("mouseUsed",function(){f.setupDesktopZoom()}):f.setupDesktopZoom(!0))},setupDesktopZoom:function(b){rc={};var c="wheel mousewheel DOMMouseScroll";Ca("bindEvents",function(){e.bind(a,c,f.handleMouseWheel)}),Ca("unbindEvents",function(){rc&&e.unbind(a,c,f.handleMouseWheel)}),f.mouseZoomedIn=!1;var d,g=function(){f.mouseZoomedIn&&(e.removeClass(a,"pswp--zoomed-in"),f.mouseZoomedIn=!1),s<1?e.addClass(a,"pswp--zoom-allowed"):e.removeClass(a,"pswp--zoom-allowed"),h()},h=function(){d&&(e.removeClass(a,"pswp--dragging"),d=!1)};Ca("resize",g),Ca("afterChange",g),Ca("pointerDown",function(){f.mouseZoomedIn&&(d=!0,e.addClass(a,"pswp--dragging"))}),Ca("pointerUp",h),b||g()},handleMouseWheel:function(a){if(s<=f.currItem.fitRatio)return i.modal&&(!i.closeOnScroll||_a||V?a.preventDefault():E&&Math.abs(a.deltaY)>2&&(l=!0,f.close())),!0;if(a.stopPropagation(),rc.x=0,"deltaX"in a)1===a.deltaMode?(rc.x=18*a.deltaX,rc.y=18*a.deltaY):(rc.x=a.deltaX,rc.y=a.deltaY);else if("wheelDelta"in a)a.wheelDeltaX&&(rc.x=-.16*a.wheelDeltaX),a.wheelDeltaY?rc.y=-.16*a.wheelDeltaY:rc.y=-.16*a.wheelDelta;else{if(!("detail"in a))return;rc.y=a.detail}Sa(s,!0);var b=pa.x-rc.x,c=pa.y-rc.y;(i.modal||b<=da.min.x&&b>=da.max.x&&c<=da.min.y&&c>=da.max.y)&&a.preventDefault(),f.panTo(b,c)},toggleDesktopZoom:function(b){b=b||{x:qa.x/2+sa.x,y:qa.y/2+sa.y};var c=i.getDoubleTapZoom(!0,f.currItem),d=s===c;f.mouseZoomedIn=!d,f.zoomTo(d?f.currItem.initialZoomLevel:c,b,333),e[(d?"remove":"add")+"Class"](a,"pswp--zoomed-in")}}});var sc,tc,uc,vc,wc,xc,yc,zc,Ac,Bc,Cc,Dc,Ec={history:!0,galleryUID:1},Fc=function(){return Cc.hash.substring(1)},Gc=function(){sc&&clearTimeout(sc),uc&&clearTimeout(uc)},Hc=function(){var a=Fc(),b={};if(a.length<5)return b;var c,d=a.split("&");for(c=0;c-1&&(yc=yc.substring(0,b),"&"===yc.slice(-1)&&(yc=yc.slice(0,-1))),setTimeout(function(){j&&e.bind(window,"hashchange",f.onHashChange)},40)}},onHashChange:function(){return Fc()===yc?(Ac=!0,void f.close()):void(vc||(wc=!0,f.goTo(Hc().pid),wc=!1))},updateURL:function(){Gc(),wc||(zc?sc=setTimeout(Ic,800):Ic())}}}),e.extend(f,eb)};return a}); \ No newline at end of file +* Copyright (c) 2019 Dmitry Semenov; */ +!function(a,b){"function"==typeof define&&define.amd?define(b):"object"==typeof exports?module.exports=b():a.PhotoSwipe=b()}(this,function(){"use strict";var a=function(a,b,c,d){var e={features:null,bind:function(a,b,c,d){var e=(d?"remove":"add")+"EventListener";b=b.split(" ");for(var f=0;f0&&(g=parseInt(g[1],10),g>=1&&g<8&&(d.isOldIOSPhone=!0))}var h=f.match(/Android\s([0-9\.]*)/),i=h?h[1]:0;i=parseFloat(i),i>=1&&(i<4.4&&(d.isOldAndroid=!0),d.androidVersion=i),d.isMobileOpera=/opera mini|opera mobi/i.test(f)}for(var j,k,l=["transform","perspective","animationName"],m=["","webkit","Moz","ms","O"],n=0;n<4;n++){c=m[n];for(var o=0;o<3;o++)j=l[o],k=c+(c?j.charAt(0).toUpperCase()+j.slice(1):j),!d[j]&&k in b&&(d[j]=k);c&&!d.raf&&(c=c.toLowerCase(),d.raf=window[c+"RequestAnimationFrame"],d.raf&&(d.caf=window[c+"CancelAnimationFrame"]||window[c+"CancelRequestAnimationFrame"]))}if(!d.raf){var p=0;d.raf=function(a){var b=(new Date).getTime(),c=Math.max(0,16-(b-p)),d=window.setTimeout(function(){a(b+c)},c);return p=b+c,d},d.caf=function(a){clearTimeout(a)}}return d.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,e.features=d,d}};e.detectFeatures(),e.features.oldIE&&(e.bind=function(a,b,c,d){b=b.split(" ");for(var e,f=(d?"detach":"attach")+"Event",g=function(){c.handleEvent.call(c)},h=0;hb-1?a-b:a<0?b+a:a},Ba={},Ca=function(a,b){return Ba[a]||(Ba[a]=[]),Ba[a].push(b)},Da=function(a){var b=Ba[a];if(b){var c=Array.prototype.slice.call(arguments);c.shift();for(var d=0;df.currItem.fitRatio?ya||(mc(f.currItem,!1,!0),ya=!0):ya&&(mc(f.currItem),ya=!1)),Ga(ea,pa.x,pa.y,s))},Ia=function(a){a.container&&Ga(a.container.style,a.initialPosition.x,a.initialPosition.y,a.initialZoomLevel,a)},Ja=function(a,b){b[E]=u+a+"px, 0px"+v},Ka=function(a,b){if(!i.loop&&b){var c=m+(ta.x*ra-a)/ta.x,d=Math.round(a-tb.x);(c<0&&d>0||c>=ac()-1&&d<0)&&(a=tb.x+d*i.mainScrollEndFriction)}tb.x=a,Ja(a,n)},La=function(a,b){var c=ub[a]-sa[a];return oa[a]+na[a]+c-c*(b/t)},Ma=function(a,b){a.x=b.x,a.y=b.y,b.id&&(a.id=b.id)},Na=function(a){a.x=Math.round(a.x),a.y=Math.round(a.y)},Oa=null,Pa=function(){Oa&&(e.unbind(document,"mousemove",Pa),e.addClass(a,"pswp--has_mouse"),i.mouseUsed=!0,Da("mouseUsed")),Oa=setTimeout(function(){Oa=null},100)},Qa=function(){e.bind(document,"keydown",f),N.transform&&e.bind(f.scrollWrap,"click",f),i.mouseUsed||e.bind(document,"mousemove",Pa),e.bind(window,"resize scroll orientationchange",f),Da("bindEvents")},Ra=function(){e.unbind(window,"resize scroll orientationchange",f),e.unbind(window,"scroll",r.scroll),e.unbind(document,"keydown",f),e.unbind(document,"mousemove",Pa),N.transform&&e.unbind(f.scrollWrap,"click",f),V&&e.unbind(window,p,f),clearTimeout(O),Da("unbindEvents")},Sa=function(a,b){var c=ic(f.currItem,qa,a);return b&&(da=c),c},Ta=function(a){return a||(a=f.currItem),a.initialZoomLevel},Ua=function(a){return a||(a=f.currItem),a.w>0?i.maxSpreadZoom:1},Va=function(a,b,c,d){return d===f.currItem.initialZoomLevel?(c[a]=f.currItem.initialPosition[a],!0):(c[a]=La(a,d),c[a]>b.min[a]?(c[a]=b.min[a],!0):c[a]1?1:a.fitRatio,c=a.container.style,d=b*a.w,e=b*a.h;c.width=d+"px",c.height=e+"px",c.left=a.initialPosition.x+"px",c.top=a.initialPosition.y+"px"},Ha=function(){if(ea){var a=ea,b=f.currItem,c=b.fitRatio>1?1:b.fitRatio,d=c*b.w,e=c*b.h;a.width=d+"px",a.height=e+"px",a.left=pa.x+"px",a.top=pa.y+"px"}}},Xa=function(a){var b="";i.escKey&&27===a.keyCode?b="close":i.arrowKeys&&(37===a.keyCode?b="prev":39===a.keyCode&&(b="next")),b&&(a.ctrlKey||a.altKey||a.shiftKey||a.metaKey||(a.preventDefault?a.preventDefault():a.returnValue=!1,f[b]()))},Ya=function(a){a&&(Y||X||fa||T)&&(a.preventDefault(),a.stopPropagation())},Za=function(){f.setScrollOffset(0,e.getScrollY())},$a={},_a=0,ab=function(a){$a[a]&&($a[a].raf&&I($a[a].raf),_a--,delete $a[a])},bb=function(a){$a[a]&&ab(a),$a[a]||(_a++,$a[a]={})},cb=function(){for(var a in $a)$a.hasOwnProperty(a)&&ab(a)},db=function(a,b,c,d,e,f,g){var h,i=Ea();bb(a);var j=function(){if($a[a]){if(h=Ea()-i,h>=d)return ab(a),f(c),void(g&&g());f((c-b)*e(h/d)+b),$a[a].raf=H(j)}};j()},eb={shout:Da,listen:Ca,viewportSize:qa,options:i,isMainScrollAnimating:function(){return fa},getZoomLevel:function(){return s},getCurrentIndex:function(){return m},isDragging:function(){return V},isZooming:function(){return aa},setScrollOffset:function(a,b){sa.x=a,M=sa.y=b,Da("updateScrollOffset",sa)},applyZoomPan:function(a,b,c,d){pa.x=b,pa.y=c,s=a,Ha(d)},init:function(){if(!j&&!k){var c;f.framework=e,f.template=a,f.bg=e.getChildByClass(a,"pswp__bg"),J=a.className,j=!0,N=e.detectFeatures(),H=N.raf,I=N.caf,E=N.transform,L=N.oldIE,f.scrollWrap=e.getChildByClass(a,"pswp__scroll-wrap"),f.container=e.getChildByClass(f.scrollWrap,"pswp__container"),n=f.container.style,f.itemHolders=y=[{el:f.container.children[0],wrap:0,index:-1},{el:f.container.children[1],wrap:0,index:-1},{el:f.container.children[2],wrap:0,index:-1}],y[0].el.style.display=y[2].el.style.display="none",Wa(),r={resize:f.updateSize,orientationchange:function(){clearTimeout(O),O=setTimeout(function(){qa.x!==f.scrollWrap.clientWidth&&f.updateSize()},500)},scroll:Za,keydown:Xa,click:Ya};var d=N.isOldIOSPhone||N.isOldAndroid||N.isMobileOpera;for(N.animationName&&N.transform&&!d||(i.showAnimationDuration=i.hideAnimationDuration=0),c=0;c=ac())&&(m=0),f.currItem=_b(m),(N.isOldIOSPhone||N.isOldAndroid)&&(va=!1),a.setAttribute("aria-hidden","false"),i.modal&&(va?a.style.position="fixed":(a.style.position="absolute",a.style.top=e.getScrollY()+"px")),void 0===M&&(Da("initialLayout"),M=K=e.getScrollY());var l="pswp--open ";for(i.mainClass&&(l+=i.mainClass+" "),i.showHideOpacity&&(l+="pswp--animate_opacity "),l+=G?"pswp--touch":"pswp--notouch",l+=N.animationName?" pswp--css_animation":"",l+=N.svg?" pswp--svg":"",e.addClass(a,l),f.updateSize(),o=-1,ua=null,c=0;cda.min.x?a=da.min.x:ada.min.y?b=da.min.y:b=h&&(o+=ua+(ua>0?-h:h),c=h);for(var d=0;d0?(b=y.shift(),y[h-1]=b,o++,Ja((o+2)*ta.x,b.el.style),f.setContent(b,m-c+d+1+1)):(b=y.pop(),y.unshift(b),o--,Ja(o*ta.x,b.el.style),f.setContent(b,m+c-d-1-1));if(ea&&1===Math.abs(ua)){var e=_b(z);e.initialZoomLevel!==s&&(ic(e,qa),mc(e),Ia(e))}ua=0,f.updateCurrZoomItem(),z=m,Da("afterChange")}}},updateSize:function(b){if(!va&&i.modal){var c=e.getScrollY();if(M!==c&&(a.style.top=c+"px",M=c),!b&&xa.x===window.innerWidth&&xa.y===window.innerHeight)return;xa.x=window.innerWidth,xa.y=window.innerHeight,a.style.height=xa.y+"px"}if(qa.x=f.scrollWrap.clientWidth,qa.y=f.scrollWrap.clientHeight,Za(),ta.x=qa.x+Math.round(qa.x*i.spacing),ta.y=qa.y,Ka(ta.x*ra),Da("beforeResize"),void 0!==o){for(var d,g,j,k=0;k2&&(j=Aa(j)),g=_b(j),g&&(x||g.needsUpdate||!g.bounds)?(f.cleanSlide(g),f.setContent(d,j),1===k&&(f.currItem=g,f.updateCurrZoomItem(!0)),g.needsUpdate=!1):d.index===-1&&j>=0&&f.setContent(d,j),g&&g.container&&(ic(g,qa),mc(g),Ia(g));x=!1}t=s=f.currItem.initialZoomLevel,da=f.currItem.bounds,da&&(pa.x=da.center.x,pa.y=da.center.y,Ha(!0)),Da("resize")},zoomTo:function(a,b,c,d,f){b&&(t=s,ub.x=Math.abs(b.x)-pa.x,ub.y=Math.abs(b.y)-pa.y,Ma(oa,pa));var g=Sa(a,!1),h={};Va("x",g,h,a),Va("y",g,h,a);var i=s,j={x:pa.x,y:pa.y};Na(h);var k=function(b){1===b?(s=a,pa.x=h.x,pa.y=h.y):(s=(a-i)*b+i,pa.x=(h.x-j.x)*b+j.x,pa.y=(h.y-j.y)*b+j.y),f&&f(b),Ha(1===b)};c?db("customZoomTo",0,1,c,d||e.easing.sine.inOut,k):k(1)}},fb=30,gb=10,hb={},ib={},jb={},kb={},lb={},mb=[],nb={},ob=[],pb={},qb=0,rb=ma(),sb=0,tb=ma(),ub=ma(),vb=ma(),wb=function(a,b){return a.x===b.x&&a.y===b.y},xb=function(a,b){return Math.abs(a.x-b.x)-1)&&(b(a)?a:Cb(a.parentNode,b)))},Db={},Eb=function(a,b){return Db.prevent=!Cb(a.target,i.isClickableElement),Da("preventDragEvent",a,b,Db),Db.prevent},Fb=function(a,b){return b.x=a.pageX,b.y=a.pageY,b.id=a.identifier,b},Gb=function(a,b,c){c.x=.5*(a.x+b.x),c.y=.5*(a.y+b.y)},Hb=function(a,b,c){if(a-Q>50){var d=ob.length>2?ob.shift():{};d.x=b,d.y=c,ob.push(d),Q=a}},Ib=function(){var a=pa.y-f.currItem.initialPosition.y;return 1-Math.abs(a/(qa.y/2))},Jb={},Kb={},Lb=[],Mb=function(a){for(;Lb.length>0;)Lb.pop();return F?(la=0,mb.forEach(function(a){0===la?Lb[0]=a:1===la&&(Lb[1]=a),la++})):a.type.indexOf("touch")>-1?a.touches&&a.touches.length>0&&(Lb[0]=Fb(a.touches[0],Jb),a.touches.length>1&&(Lb[1]=Fb(a.touches[1],Kb))):(Jb.x=a.pageX,Jb.y=a.pageY,Jb.id="",Lb[0]=Jb),Lb},Nb=function(a,b){var c,d,e,g,h=0,j=pa[a]+b[a],k=b[a]>0,l=tb.x+b.x,m=tb.x-nb.x;return c=j>da.min[a]||jda.min[a]&&(c=i.panEndFriction,h=da.min[a]-j,d=da.min[a]-oa[a]),(d<=0||m<0)&&ac()>1?(g=l,m<0&&l>nb.x&&(g=nb.x)):da.min.x!==da.max.x&&(e=j)):(j0)&&ac()>1?(g=l,m>0&&lf.currItem.fitRatio&&(pa[a]+=b[a]*c)):(void 0!==g&&(Ka(g,!0),$=g!==nb.x),da.min.x!==da.max.x&&(void 0!==e?pa.x=e:$||(pa.x+=b.x*c)),void 0!==g)},Ob=function(a){if(!("mousedown"===a.type&&a.button>0)){if($b)return void a.preventDefault();if(!U||"mousedown"!==a.type){if(Eb(a,!0)&&a.preventDefault(),Da("pointerDown"),F){var b=e.arraySearch(mb,a.pointerId,"id");b<0&&(b=mb.length),mb[b]={x:a.pageX,y:a.pageY,id:a.pointerId}}var c=Mb(a),d=c.length;_=null,cb(),V&&1!==d||(V=ha=!0,e.bind(window,p,f),S=ka=ia=T=$=Y=W=X=!1,ga=null,Da("firstTouchStart",c),Ma(oa,pa),na.x=na.y=0,Ma(kb,c[0]),Ma(lb,kb),nb.x=ta.x*ra,ob=[{x:kb.x,y:kb.y}],Q=P=Ea(),Sa(s,!0),zb(),Ab()),!aa&&d>1&&!fa&&!$&&(t=s,X=!1,aa=W=!0,na.y=na.x=0,Ma(oa,pa),Ma(hb,c[0]),Ma(ib,c[1]),Gb(hb,ib,vb),ub.x=Math.abs(vb.x)-pa.x,ub.y=Math.abs(vb.y)-pa.y,ba=ca=yb(hb,ib))}}},Pb=function(a){if(a.preventDefault(),F){var b=e.arraySearch(mb,a.pointerId,"id");if(b>-1){var c=mb[b];c.x=a.pageX,c.y=a.pageY}}if(V){var d=Mb(a);if(ga||Y||aa)_=d;else if(tb.x!==ta.x*ra)ga="h";else{var f=Math.abs(d[0].x-kb.x)-Math.abs(d[0].y-kb.y);Math.abs(f)>=gb&&(ga=f>0?"h":"v",_=d)}}},Qb=function(){if(_){var a=_.length;if(0!==a)if(Ma(hb,_[0]),jb.x=hb.x-kb.x,jb.y=hb.y-kb.y,aa&&a>1){if(kb.x=hb.x,kb.y=hb.y,!jb.x&&!jb.y&&wb(_[1],ib))return;Ma(ib,_[1]),X||(X=!0,Da("zoomGestureStarted"));var b=yb(hb,ib),c=Vb(b);c>f.currItem.initialZoomLevel+f.currItem.initialZoomLevel/15&&(ka=!0);var d=1,e=Ta(),g=Ua();if(c1&&(d=1),c=e-d*(e/3);else c>g&&(d=(c-g)/(6*e),d>1&&(d=1),c=g+d*e);d<0&&(d=0),ba=b,Gb(hb,ib,rb),na.x+=rb.x-vb.x,na.y+=rb.y-vb.y,Ma(vb,rb),pa.x=La("x",c),pa.y=La("y",c),S=c>s,s=c,Ha()}else{if(!ga)return;if(ha&&(ha=!1,Math.abs(jb.x)>=gb&&(jb.x-=_[0].x-lb.x),Math.abs(jb.y)>=gb&&(jb.y-=_[0].y-lb.y)),kb.x=hb.x,kb.y=hb.y,0===jb.x&&0===jb.y)return;if("v"===ga&&i.closeOnVerticalDrag&&!Bb()){na.y+=jb.y,pa.y+=jb.y;var k=Ib();return T=!0,Da("onVerticalDrag",k),Fa(k),void Ha()}Hb(Ea(),hb.x,hb.y),Y=!0,da=f.currItem.bounds;var l=Nb("x",jb);l||(Nb("y",jb),Na(pa),Ha())}}},Rb=function(a){if(N.isOldAndroid){if(U&&"mouseup"===a.type)return;a.type.indexOf("touch")>-1&&(clearTimeout(U),U=setTimeout(function(){U=0},600))}Da("pointerUp"),Eb(a,!1)&&a.preventDefault();var b;if(F){var c=e.arraySearch(mb,a.pointerId,"id");if(c>-1)if(b=mb.splice(c,1)[0],navigator.msPointerEnabled){var d={4:"mouse",2:"touch",3:"pen"};b.type=d[a.pointerType],b.type||(b.type=a.pointerType||"mouse")}else b.type=a.pointerType||"mouse"}var g,h=Mb(a),j=h.length;if("mouseup"===a.type&&(j=0),2===j)return _=null,!0;1===j&&Ma(lb,h[0]),0!==j||ga||fa||(b||("mouseup"===a.type?b={x:a.pageX,y:a.pageY,type:"mouse"}:a.changedTouches&&a.changedTouches[0]&&(b={x:a.changedTouches[0].pageX,y:a.changedTouches[0].pageY,type:"touch"})),Da("touchRelease",a,b));var k=-1;if(0===j&&(V=!1,e.unbind(window,p,f),zb(),aa?k=0:sb!==-1&&(k=Ea()-sb)),sb=1===j?Ea():-1,g=k!==-1&&k<150?"zoom":"swipe",aa&&j<2&&(aa=!1,1===j&&(g="zoomPointerUp"),Da("zoomGestureEnded")),_=null,Y||X||fa||T)if(cb(),R||(R=Sb()),R.calculateSwipeSpeed("x"),T){var l=Ib();if(lf.currItem.fitRatio&&Tb(R))}},Sb=function(){var a,b,c={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(d){ob.length>1?(a=Ea()-Q+50,b=ob[ob.length-2][d]):(a=Ea()-P,b=lb[d]),c.lastFlickOffset[d]=kb[d]-b,c.lastFlickDist[d]=Math.abs(c.lastFlickOffset[d]),c.lastFlickDist[d]>20?c.lastFlickSpeed[d]=c.lastFlickOffset[d]/a:c.lastFlickSpeed[d]=0,Math.abs(c.lastFlickSpeed[d])<.1&&(c.lastFlickSpeed[d]=0),c.slowDownRatio[d]=.95,c.slowDownRatioReverse[d]=1-c.slowDownRatio[d],c.speedDecelerationRatio[d]=1},calculateOverBoundsAnimOffset:function(a,b){c.backAnimStarted[a]||(pa[a]>da.min[a]?c.backAnimDestination[a]=da.min[a]:pa[a]fb&&(h||b.lastFlickOffset.x>20)?d=-1:g<-fb&&(h||b.lastFlickOffset.x<-20)&&(d=1)}var j;d&&(m+=d,m<0?(m=i.loop?ac()-1:0,j=!0):m>=ac()&&(m=i.loop?0:ac()-1,j=!0),j&&!i.loop||(ua+=d,ra-=d,c=!0));var k,l=ta.x*ra,n=Math.abs(l-tb.x);return c||l>tb.x==b.lastFlickSpeed.x>0?(k=Math.abs(b.lastFlickSpeed.x)>0?n/Math.abs(b.lastFlickSpeed.x):333,k=Math.min(k,400),k=Math.max(k,250)):k=333,qb===m&&(c=!1),fa=!0,Da("mainScrollAnimStart"),db("mainScroll",tb.x,l,k,e.easing.cubic.out,Ka,function(){cb(),fa=!1,qb=-1,(c||qb!==m)&&f.updateCurrItem(),Da("mainScrollAnimComplete")}),c&&f.updateCurrItem(!0),c},Vb=function(a){return 1/ca*a*t},Wb=function(){var a=s,b=Ta(),c=Ua();sc&&(a=c);var d,g=1,h=ja;return ia&&!S&&!ka&&s1||navigator.msMaxTouchPoints>1),f.likelyTouchDevice=G,r[A]=Ob,r[B]=Pb,r[C]=Rb,D&&(r[D]=r[C]),N.touch&&(q+=" mousedown",p+=" mousemove mouseup",r.mousedown=r[A],r.mousemove=r[B],r.mouseup=r[C]),G||(i.allowPanToNext=!1)}}});var Xb,Yb,Zb,$b,_b,ac,bc,cc=function(b,c,d,g){Xb&&clearTimeout(Xb),$b=!0,Zb=!0;var h;b.initialLayout?(h=b.initialLayout,b.initialLayout=null):h=i.getThumbBoundsFn&&i.getThumbBoundsFn(m);var j=d?i.hideAnimationDuration:i.showAnimationDuration,k=function(){ab("initialZoom"),d?(f.template.removeAttribute("style"),f.bg.removeAttribute("style")):(Fa(1),c&&(c.style.display="block"),e.addClass(a,"pswp--animated-in"),Da("initialZoom"+(d?"OutEnd":"InEnd"))),g&&g(),$b=!1};if(!j||!h||void 0===h.x)return Da("initialZoom"+(d?"Out":"In")),s=b.initialZoomLevel,Ma(pa,b.initialPosition),Ha(),a.style.opacity=d?0:1,Fa(1),void(j?setTimeout(function(){k()},j):k());var n=function(){var c=l,g=!f.currItem.src||f.currItem.loadError||i.showHideOpacity;b.miniImg&&(b.miniImg.style.webkitBackfaceVisibility="hidden"),d||(s=h.w/b.w,pa.x=h.x,pa.y=h.y-K,f[g?"template":"bg"].style.opacity=.001,Ha()),bb("initialZoom"),d&&!c&&e.removeClass(a,"pswp--animated-in"),g&&(d?e[(c?"remove":"add")+"Class"](a,"pswp--animate_opacity"):setTimeout(function(){e.addClass(a,"pswp--animate_opacity")},30)),Xb=setTimeout(function(){if(Da("initialZoom"+(d?"Out":"In")),d){var f=h.w/b.w,i={x:pa.x,y:pa.y},l=s,m=ja,n=function(b){1===b?(s=f,pa.x=h.x,pa.y=h.y-M):(s=(f-l)*b+l,pa.x=(h.x-i.x)*b+i.x,pa.y=(h.y-M-i.y)*b+i.y),Ha(),g?a.style.opacity=1-b:Fa(m-b*m)};c?db("initialZoom",0,1,j,e.easing.cubic.out,n,k):(n(1),Xb=setTimeout(k,j+20))}else s=b.initialZoomLevel,Ma(pa,b.initialPosition),Ha(),Fa(1),g?a.style.opacity=1:Fa(1),Xb=setTimeout(k,j+20)},d?25:90)};n()},dc={},ec=[],fc={index:0,errorMsg:'
The image could not be loaded.
',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Yb.length}},gc=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},hc=function(a,b,c){var d=a.bounds;d.center.x=Math.round((dc.x-b)/2),d.center.y=Math.round((dc.y-c)/2)+a.vGap.top,d.max.x=b>dc.x?Math.round(dc.x-b):d.center.x,d.max.y=c>dc.y?Math.round(dc.y-c)+a.vGap.top:d.center.y,d.min.x=b>dc.x?0:d.center.x,d.min.y=c>dc.y?a.vGap.top:d.center.y},ic=function(a,b,c){if(a.src&&!a.loadError){var d=!c;if(d&&(a.vGap||(a.vGap={top:0,bottom:0}),Da("parseVerticalMargin",a)),dc.x=b.x,dc.y=b.y-a.vGap.top-a.vGap.bottom,d){var e=dc.x/a.w,f=dc.y/a.h;a.fitRatio=e1&&(c=1),a.initialZoomLevel=c,a.bounds||(a.bounds=gc())}if(!c)return;return hc(a,a.w*c,a.h*c),d&&c===a.initialZoomLevel&&(a.initialPosition=a.bounds.center),a.bounds}return a.w=a.h=0,a.initialZoomLevel=a.fitRatio=1,a.bounds=gc(),a.initialPosition=a.bounds.center,a.bounds},jc=function(a,b,c,d,e,g){b.loadError||d&&(b.imageAppended=!0,mc(b,d,b===f.currItem&&ya),c.appendChild(d),g&&setTimeout(function(){b&&b.loaded&&b.placeholder&&(b.placeholder.style.display="none",b.placeholder=null)},500))},kc=function(a){a.loading=!0,a.loaded=!1;var b=a.img=e.createEl("pswp__img","img"),c=function(){a.loading=!1,a.loaded=!0,a.loadComplete?a.loadComplete(a):a.img=null,b.onload=b.onerror=null,b=null};return b.onload=c,b.onerror=function(){a.loadError=!0,c()},b.src=a.src,b},lc=function(a,b){if(a.src&&a.loadError&&a.container)return b&&(a.container.innerHTML=""),a.container.innerHTML=i.errorMsg.replace("%url%",a.src),!0},mc=function(a,b,c){if(a.src){b||(b=a.container.lastChild);var d=c?a.w:Math.round(a.w*a.fitRatio),e=c?a.h:Math.round(a.h*a.fitRatio);a.placeholder&&!a.loaded&&(a.placeholder.style.width=d+"px",a.placeholder.style.height=e+"px"),b.style.width=d+"px",b.style.height=e+"px"}},nc=function(){if(ec.length){for(var a,b=0;b=0,e=Math.min(c[0],ac()),g=Math.min(c[1],ac());for(b=1;b<=(d?g:e);b++)f.lazyLoadItem(m+b);for(b=1;b<=(d?e:g);b++)f.lazyLoadItem(m-b)}),Ca("initialLayout",function(){f.currItem.initialLayout=i.getThumbBoundsFn&&i.getThumbBoundsFn(m)}),Ca("mainScrollAnimComplete",nc),Ca("initialZoomInEnd",nc),Ca("destroy",function(){for(var a,b=0;b=0&&(void 0!==Yb[a]&&Yb[a])},allowProgressiveImg:function(){return i.forceProgressiveLoading||!G||i.mouseUsed||screen.width>1200},setContent:function(a,b){i.loop&&(b=Aa(b));var c=f.getItemAt(a.index);c&&(c.container=null);var d,g=f.getItemAt(b);if(!g)return void(a.el.innerHTML="");Da("gettingData",b,g),a.index=b,a.item=g;var h=g.container=e.createEl("pswp__zoom-wrap");if(!g.src&&g.html&&(g.html.tagName?h.appendChild(g.html):h.innerHTML=g.html),lc(g),ic(g,qa),!g.src||g.loadError||g.loaded)g.src&&!g.loadError&&(d=e.createEl("pswp__img","img"),d.style.opacity=1,d.src=g.src,mc(g,d),jc(b,g,h,d,!0));else{if(g.loadComplete=function(c){if(j){if(a&&a.index===b){if(lc(c,!0))return c.loadComplete=c.img=null,ic(c,qa),Ia(c),void(a.index===m&&f.updateCurrZoomItem());c.imageAppended?!$b&&c.placeholder&&(c.placeholder.style.display="none",c.placeholder=null):N.transform&&(fa||$b)?ec.push({item:c,baseDiv:h,img:c.img,index:b,holder:a,clearPlaceholder:!0}):jc(b,c,h,c.img,fa||$b,!0)}c.loadComplete=null,c.img=null,Da("imageLoadComplete",b,c)}},e.features.transform){var k="pswp__img pswp__img--placeholder";k+=g.msrc?"":" pswp__img--placeholder--blank";var l=e.createEl(k,g.msrc?"img":"");g.msrc&&(l.src=g.msrc),mc(g,l),h.appendChild(l),g.placeholder=l}g.loading||kc(g),f.allowProgressiveImg()&&(!Zb&&N.transform?ec.push({item:g,baseDiv:h,img:g.img,index:b,holder:a}):jc(b,g,h,g.img,!0,!0))}Zb||b!==m?Ia(g):(ea=h.style,cc(g,d||g.img)),a.el.innerHTML="",a.el.appendChild(h)},cleanSlide:function(a){a.img&&(a.img.onload=a.img.onerror=null),a.loaded=a.loading=a.img=a.imageAppended=!1}}});var oc,pc={},qc=function(a,b,c){var d=document.createEvent("CustomEvent"),e={origEvent:a,target:a.target,releasePoint:b,pointerType:c||"touch"};d.initCustomEvent("pswpTap",!0,!0,e),a.target.dispatchEvent(d)};za("Tap",{publicMethods:{initTap:function(){Ca("firstTouchStart",f.onTapStart),Ca("touchRelease",f.onTapRelease),Ca("destroy",function(){pc={},oc=null})},onTapStart:function(a){a.length>1&&(clearTimeout(oc),oc=null)},onTapRelease:function(a,b){if(b&&!Y&&!W&&!_a){var c=b;if(oc&&(clearTimeout(oc),oc=null,xb(c,pc)))return void Da("doubleTap",c);if("mouse"===b.type)return void qc(a,b,"mouse");var d=a.target.tagName.toUpperCase();if("BUTTON"===d||e.hasClass(a.target,"pswp__single-tap"))return void qc(a,b);Ma(pc,c),oc=setTimeout(function(){qc(a,b),oc=null},300)}}}});var rc;za("DesktopZoom",{publicMethods:{initDesktopZoom:function(){L||(G?Ca("mouseUsed",function(){f.setupDesktopZoom()}):f.setupDesktopZoom(!0))},setupDesktopZoom:function(b){rc={};var c="wheel mousewheel DOMMouseScroll";Ca("bindEvents",function(){e.bind(a,c,f.handleMouseWheel)}),Ca("unbindEvents",function(){rc&&e.unbind(a,c,f.handleMouseWheel)}),f.mouseZoomedIn=!1;var d,g=function(){f.mouseZoomedIn&&(e.removeClass(a,"pswp--zoomed-in"),f.mouseZoomedIn=!1),s<1?e.addClass(a,"pswp--zoom-allowed"):e.removeClass(a,"pswp--zoom-allowed"),h()},h=function(){d&&(e.removeClass(a,"pswp--dragging"),d=!1)};Ca("resize",g),Ca("afterChange",g),Ca("pointerDown",function(){f.mouseZoomedIn&&(d=!0,e.addClass(a,"pswp--dragging"))}),Ca("pointerUp",h),b||g()},handleMouseWheel:function(a){if(s<=f.currItem.fitRatio)return i.modal&&(!i.closeOnScroll||_a||V?a.preventDefault():E&&Math.abs(a.deltaY)>2&&(l=!0,f.close())),!0;if(a.stopPropagation(),rc.x=0,"deltaX"in a)1===a.deltaMode?(rc.x=18*a.deltaX,rc.y=18*a.deltaY):(rc.x=a.deltaX,rc.y=a.deltaY);else if("wheelDelta"in a)a.wheelDeltaX&&(rc.x=-.16*a.wheelDeltaX),a.wheelDeltaY?rc.y=-.16*a.wheelDeltaY:rc.y=-.16*a.wheelDelta;else{if(!("detail"in a))return;rc.y=a.detail}Sa(s,!0);var b=pa.x-rc.x,c=pa.y-rc.y;(i.modal||b<=da.min.x&&b>=da.max.x&&c<=da.min.y&&c>=da.max.y)&&a.preventDefault(),f.panTo(b,c)},toggleDesktopZoom:function(b){b=b||{x:qa.x/2+sa.x,y:qa.y/2+sa.y};var c=i.getDoubleTapZoom(!0,f.currItem),d=s===c;f.mouseZoomedIn=!d,f.zoomTo(d?f.currItem.initialZoomLevel:c,b,333),e[(d?"remove":"add")+"Class"](a,"pswp--zoomed-in")}}});var sc,tc,uc,vc,wc,xc,yc,zc,Ac,Bc,Cc,Dc,Ec={history:!0,galleryUID:1},Fc=function(){return Cc.hash.substring(1)},Gc=function(){sc&&clearTimeout(sc),uc&&clearTimeout(uc)},Hc=function(){var a=Fc(),b={};if(a.length<5)return b;var c,d=a.split("&");for(c=0;c-1&&(yc=yc.substring(0,b),"&"===yc.slice(-1)&&(yc=yc.slice(0,-1))),setTimeout(function(){j&&e.bind(window,"hashchange",f.onHashChange)},40)}},onHashChange:function(){return Fc()===yc?(Ac=!0,void f.close()):void(vc||(wc=!0,f.goTo(Hc().pid),wc=!1))},updateURL:function(){Gc(),wc||(zc?sc=setTimeout(Ic,800):Ic())}}}),e.extend(f,eb)};return a}); \ No newline at end of file diff --git a/assets/js/svg2js.js b/assets/js/svg2js.js index 9728275..d73f883 100644 --- a/assets/js/svg2js.js +++ b/assets/js/svg2js.js @@ -1 +1 @@ -window.publiiSvgFix = {"#facebook":{"viewbox":"0 0 32 32","content":""},"#twitter":{"viewbox":"0 0 24.999 20.316","content":""},"#gplus":{"viewbox":"0 0 32 32","content":""},"#instagram":{"viewbox":"0 0 32 32","content":""},"#linkedin":{"viewbox":"0 0 34.48 32","content":""},"#vimeo":{"viewbox":"0 0 24.999 20.159","content":""},"#youtube":{"viewbox":"0 0 32 22.507","content":""},"#pinterest":{"viewbox":"0 0 32 32","content":""},"#stumbleupon":{"viewbox":"0 0 32 32","content":""},"#buffer":{"viewbox":"0 0 32 32","content":""}}; +window.publiiSvgFix = {"#facebook":{"viewbox":"0 0 32 32","content":""},"#twitter":{"viewbox":"0 0 24.999 20.316","content":""},"#gplus":{"viewbox":"0 0 32 32","content":""},"#instagram":{"viewbox":"0 0 32 32","content":""},"#linkedin":{"viewbox":"0 0 34.48 32","content":""},"#vimeo":{"viewbox":"0 0 24.999 20.159","content":""},"#youtube":{"viewbox":"0 0 32 22.507","content":""},"#pinterest":{"viewbox":"0 0 32 32","content":""},"#mix":{"viewbox":"0 0 32 32","content":""},"#buffer":{"viewbox":"0 0 32 32","content":""}}; diff --git a/assets/sass/base/_typography.scss b/assets/sass/base/_typography.scss index 456967a..4977e5b 100755 --- a/assets/sass/base/_typography.scss +++ b/assets/sass/base/_typography.scss @@ -2,6 +2,10 @@ html { @include fluid-type(font-size, $minScreen, $maxScreen, map-get($font, min), map-get($font, max)); + font-smooth: always; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + scroll-behavior: smooth; } body { @@ -10,6 +14,7 @@ body { font-family: $body; font-weight: $font-weight-normal; line-height: $line-height; + overscroll-behavior: none; } a { diff --git a/assets/sass/themes/_core.scss b/assets/sass/themes/_core.scss index afe95f7..b83d498 100755 --- a/assets/sass/themes/_core.scss +++ b/assets/sass/themes/_core.scss @@ -1,381 +1,481 @@ // Utility classes ---------------------------------------------------------- .u-small { - color: $gray; - font-family: $font-2; - font-weight: $font-weight-normal; - font-size: ms(-4); + color: $gray; + font-family: $font-2; + font-weight: $font-weight-normal; + font-size: ms(-4); } .u-icon { - fill: rgba($dark, 0.8); - height: ms(0); - width: ms(0); - transition: all 0.24s ease-out; + fill: rgba($dark, 0.8); + height: ms(0); + width: ms(0); + transition: all 0.24s ease-out; } // Hero ---------------------------------------------------------- .hero { - height: $hero-height; - position: relative; - &__image { - height: $hero-height; - object-fit: cover; - opacity: 0.9; - position: relative; - width: 100%; - } - &__text { - color: $white; - text-align: center; - width: 80%; - @include centerXY(true, true); - &>h1 { - color: $white; - } - &>.btn { - margin-top: baseline(6); - } - } + height: $hero-height; + position: relative; + + &__image { + height: $hero-height; + object-fit: cover; + opacity: 0.9; + position: relative; + width: 100%; + } + + &__text { + color: $white; + text-align: center; + width: 80%; + @include centerXY(true, true); + + & > h1 { + color: $white; + } + + & > .btn { + margin-top: baseline(6); + } + } } // Post listing (index, author, tag) ------------------------------ .page-header { - border-top: 3px solid $color-border; - padding-top: calc(#{baseline(7)} + 0.5vw); - &__title { - color: $color-text-color; - } - &__desc { - margin-top: calc(#{baseline(1)} + 0.5vw); - } + border-top: 3px solid $color-border; + padding-top: calc(#{baseline(7)} + 0.5vw); + + &__title { + color: $color-text-color; + } + + &__desc { + margin-top: calc(#{baseline(1)} + 0.5vw); + } } .article { - margin-bottom: calc(#{baseline(6)} + 0.5vw); - &__title { - @include fluid-type(font-size, $minScreen, $maxScreen, ms(2), ms(3)); - } - &__meta { - display: flex; - align-items: center; - justify-content: space-between; - &__avatar { - border-radius: 50%; - height: baseline(8); - margin-right: baseline(3); - width: baseline(8); - display: inline-block; - vertical-align: middle; - } - } + margin-bottom: calc(#{baseline(6)} + 0.5vw); + + &__title { + @include fluid-type(font-size, $minScreen, $maxScreen, ms(2), ms(3)); + } + + &__meta { + display: flex; + align-items: center; + justify-content: space-between; + + &__avatar { + border-radius: 50%; + height: baseline(8); + margin-right: baseline(3); + width: baseline(8); + display: inline-block; + vertical-align: middle; + } + } } // Post page ---------------------------------------------------------- .post { - border-top: 3px solid $color-border; - padding-top: calc(#{baseline(7)} + 0.5vw); - &__meta { - margin: calc(#{baseline(4)} + 0.25vw) 0 0 0; - &>li { - display: inline-block; - list-style: none; - padding: baseline(1) baseline(4) 0 0; - &>svg { - fill: #ffc400; - vertical-align: top; - } - } - } - &__image { - &--left { - float: left; - margin-right: calc(#{baseline(7)} + 0.5vw); - max-width: 50%; - } - &--right { - float: right; - margin-left: calc(#{baseline(7)} + 0.5vw); - max-width: 50%; - } - &--center { - display: block; - margin-left: auto; - margin-right: auto; - text-align: center; - } - &--wide { - text-align: center; - } - &--full { - text-align: center; - } - } - &__video { - height: 0; - overflow: hidden; - padding-top: baseline(6); - padding-bottom: 56.25%; - position: relative; - - & > iframe { - border: none; - height: 100%; - left: 0; - position: absolute; - top: 0; - width: 100%; - } - } - &__entry { - margin-top: calc(#{baseline(7)} + 1vw); - @include mappy-bp(max md) { - max-width: 36rem; - margin-left: auto; - margin-right: auto; - } - &>:nth-child(1) { - margin-top: 0; - } - a { - @include links ($color-link-hover, $color-link, $color-link, $color-link); - } - a:hover { - text-decoration: underline; - } - } - &__footer { - margin-top: calc(#{baseline(7)} + 0.5vw); - @include mappy-bp(max sm) { - text-align: center; - } - &>.box { - border-top: 1px solid $color-border-light; - padding-top: calc(#{baseline(7)} + 0.5vw); - text-align: center; - } - } - &__last-updated { - color: $gray; - font-size: ms(-4); - margin-bottom: calc(#{baseline(7)} + 0.5vw); - } - &__share { - &>a { - background: $gray-light; - border-radius: 50px; - display: inline-block; - font-family: $font-2; - font-size: ms(-4); - padding: baseline(2) baseline(6); - margin: baseline(2) baseline(2) 0; - &>.u-icon { - pointer-events: none; - display: inline-block; - margin-right: baseline(2); - vertical-align: middle; - } - } - } - &__tag { - margin-left: 0; - margin-top: 0; - li { - display: inline-block; - &>a { - background: $gray-light; - border-radius: 50px; - display: inline-block; - font-family: $font-2; - font-size: ms(-4); - padding: baseline(2) baseline(6); - } - } - } - &__bio { - &>img { - border-radius: 50%; - height: baseline(18); - width: baseline(18); - } - } - &__nav { - color: $gray; - display: flex; - font-size: ms(-4); - justify-content: space-between; - margin-bottom: calc(#{baseline(7)} + 0.5vw); - &__link { - color: $color-text-light; - @include mappy-bp(sm) { - align-items: flex-start; - display: flex; - justify-content: space-around; - } - &>img { - width: 100px; - @include mappy-bp(max sm) { - display: none; - } - } - &:hover { - h5 { - transition: all 0.12s linear; - color: $color-link-hover; - } - } - } - h5 { - font-size: ms(-2); - margin: baseline(1) 0 0; - position: relative; - } - &__prev { - flex-basis: 50%; - text-align: left; - } - &__next { - flex-basis: 50%; - margin-left: auto; - text-align: right; - } - &__text { - @include mappy-bp( sm) { - width: 55%; - } - } - } - &__related { - &__wrap { - display: flex; - flex-wrap: wrap; - justify-content: center; - margin: calc(#{baseline(7)} + 0.5vw) -2% 0; - width: 104%; - @include mappy-bp(md) { - flex-wrap: no-wrap; - } - figure { - margin: 0; - flex-basis: 50%; - padding: baseline(3) 2%; - @include mappy-bp(sm) { - flex-basis: 33.333%; - } - } - figcaption { - &>time { - color: $gray; - font-size: ms(-3); - margin: 0 0 baseline(3); - } - } - h4 { - font-size: ms(-2); - margin: baseline(6) 0 baseline(2); - } - } - } + border-top: 3px solid $color-border; + padding-top: calc(#{baseline(7)} + 0.5vw); + + &__meta { + margin: calc(#{baseline(4)} + 0.25vw) 0 0 0; + + & > li { + display: inline-block; + list-style: none; + padding: baseline(1) baseline(4) 0 0; + + & > svg { + fill: #ffc400; + vertical-align: top; + } + } + } + + &__image { + &--left { + float: left; + margin-right: calc(#{baseline(7)} + 0.5vw); + max-width: 50%; + } + + &--right { + float: right; + margin-left: calc(#{baseline(7)} + 0.5vw); + max-width: 50%; + } + + &--center { + display: block; + margin-left: auto; + margin-right: auto; + text-align: center; + } + + &--wide { + text-align: center; + } + + &--full { + text-align: center; + } + } + + &__video { + height: 0; + overflow: hidden; + padding-top: baseline(6); + padding-bottom: 56.25%; + position: relative; + + & > iframe { + border: none; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + } + } + + &__entry { + margin-top: calc(#{baseline(7)} + 1vw); + + @include mappy-bp(max md) { + max-width: 36rem; + margin-left: auto; + margin-right: auto; + } + + & > :nth-child(1) { + margin-top: 0; + } + + a { + @include links ($color-link-hover, $color-link, $color-link, $color-link); + } + + a:hover { + text-decoration: underline; + } + } + + // Table of content + &__toc { + + ul { + counter-reset: item; + list-style: decimal; + margin: calc(#{baseline(2)} + 0.25vw) 0 0 1rem; + + li { + counter-increment: item; + padding: 0; + } + + ul { + margin-top: 0; + + li { + display: block; + + &:before { + content: counters(item, ".") ". "; + margin-left: -20px; + } + } + } + } + } + + &__video { + height: 0; + overflow: hidden; + padding-top: baseline(6); + padding-bottom: 56.25%; + position: relative; + + & > iframe { + border: none; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + } + } + + &__footer { + margin-top: calc(#{baseline(7)} + 0.5vw); + + @include mappy-bp(max sm) { + text-align: center; + } + + & > .box { + border-top: 1px solid $color-border-light; + padding-top: calc(#{baseline(7)} + 0.5vw); + text-align: center; + } + } + + &__last-updated { + color: $gray; + font-size: ms(-4); + margin-bottom: calc(#{baseline(7)} + 0.5vw); + } + + &__share { + & > a { + background: $gray-light; + border-radius: 50px; + display: inline-block; + font-family: $font-2; + font-size: ms(-4); + padding: baseline(2) baseline(6); + margin: baseline(2) baseline(2) 0; + + & > .u-icon { + pointer-events: none; + display: inline-block; + margin-right: baseline(2); + vertical-align: middle; + } + } + } + + &__tag { + margin-left: 0; + margin-top: 0; + + li { + display: inline-block; + + & > a { + background: $gray-light; + border-radius: 50px; + display: inline-block; + font-family: $font-2; + font-size: ms(-4); + padding: baseline(2) baseline(6); + } + } + } + + &__bio { + & > img { + border-radius: 50%; + height: baseline(18); + width: baseline(18); + } + } + + &__nav { + color: $gray; + display: flex; + font-size: ms(-4); + justify-content: space-between; + margin-bottom: calc(#{baseline(7)} + 0.5vw); + + &__link { + color: $color-text-light; + + @include mappy-bp(sm) { + align-items: flex-start; + display: flex; + justify-content: space-around; + } + + & > img { + width: 100px; + + @include mappy-bp(max sm) { + display: none; + } + } + + &:hover { + h5 { + transition: all 0.12s linear; + color: $color-link-hover; + } + } + } + + h5 { + font-size: ms(-2); + margin: baseline(1) 0 0; + position: relative; + } + + &__prev { + flex-basis: 50%; + text-align: left; + } + + &__next { + flex-basis: 50%; + margin-left: auto; + text-align: right; + } + + &__text { + @include mappy-bp(sm) { + width: 55%; + } + } + } + + &__related { + &__wrap { + display: flex; + flex-wrap: wrap; + justify-content: center; + margin: calc(#{baseline(7)} + 0.5vw) -2% 0; + width: 104%; + + @include mappy-bp(md) { + flex-wrap: no-wrap; + } + + figure { + margin: 0; + flex-basis: 50%; + padding: baseline(3) 2%; + + @include mappy-bp(sm) { + flex-basis: 33.333%; + } + } + + figcaption { + & > time { + color: $gray; + font-size: ms(-3); + margin: 0 0 baseline(3); + } + } + + h4 { + font-size: ms(-2); + margin: baseline(6) 0 baseline(2); + } + } + } } // Comments ---------------------------------------------------------- .comments { - border-top: 1px solid $color-border-light; - padding-top: calc(#{baseline(7)} + 0.5vw); - text-align: center; - &>h3 { - margin-bottom: calc(#{baseline(7)} + 0.5vw); - } + border-top: 1px solid $color-border-light; + padding-top: calc(#{baseline(7)} + 0.5vw); + text-align: center; + + & > h3 { + margin-bottom: calc(#{baseline(7)} + 0.5vw); + } } // Author page ---------------------------------------------------------- .author { - &__avatar { - border-radius: 50%; - height: baseline(18); - margin-bottom: calc(#{baseline(7/2)} + 0.5vw); - width: baseline(18); - } + &__avatar { + border-radius: 50%; + height: baseline(18); + margin-bottom: calc(#{baseline(7/2)} + 0.5vw); + width: baseline(18); + } } // Search page ---------------------------------------------------------- .search { - &__form { - margin-top: calc(#{baseline(7)} + 0.5vw); - } - &__input { - width: 100%; - } + &__form { + margin-top: calc(#{baseline(7)} + 0.5vw); + } + + &__input { + width: 100%; + } } // Google Custom Search ------------------------------------------------- .gs-webResult { - border-top: 1px solid $color-border-light; - padding-top: 1rem; + border-top: 1px solid $color-border-light; + padding-top: 1rem; } .gsc-table-result { - margin-top: baseline(2); - white-space: initial; - td { - padding: 0; - } + margin-top: baseline(2); + white-space: initial; + + td { + padding: 0; + } } // Required by WYSIWYG editor -------------------------------------------- .align-left { - text-align: left; + text-align: left; } .align-right { - text-align: right; + text-align: right; } .align-center { - text-align: center; + text-align: center; } .align-justify { - text-align: justify; + text-align: justify; } .msg { - padding: baseline(4) baseline(6); - &--highlight { - background-color: #fff7e5; - } - &--info { - background-color: #d9edf7; - } - &--success { - background: #d5efc2; - } + padding: baseline(4) baseline(6); + + &--highlight { + background-color: #fff7e5; + } + + &--info { + background-color: #d9edf7; + } + + &--success { + background: #d5efc2; + } } .dropcap { - &:first-letter { - color: $color-headings; - float: left; - font-family: $heading; - line-height: 0.6; - margin-right: baseline(2); - padding: baseline(2) baseline(2) baseline(2) 0; - @include fluid-type(font-size, $minScreen, $maxScreen, ms(16), ms(24)); - } + &:first-letter { + color: $color-headings; + float: left; + font-family: $heading; + line-height: 0.6; + margin-right: baseline(2); + padding: baseline(2) baseline(2) baseline(2) 0; + @include fluid-type(font-size, $minScreen, $maxScreen, ms(16), ms(24)); + } } diff --git a/assets/svg/svg-map.svg b/assets/svg/svg-map.svg index 71cd5f5..02a10f4 100755 --- a/assets/svg/svg-map.svg +++ b/assets/svg/svg-map.svg @@ -34,8 +34,11 @@ - - + + diff --git a/config.json b/config.json index b183429..3fa6274 100755 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "name": "Starter", - "version": "1.0.5.0", + "version": "1.0.6.0", "author": "TidyCustoms ", "menus": { "mainMenu": "Main menu" diff --git a/partials/pagination.hbs b/partials/pagination.hbs index c0f4184..1ea1600 100755 --- a/partials/pagination.hbs +++ b/partials/pagination.hbs @@ -1,20 +1,43 @@ {{#if @pagination}} - +{{/if}} \ No newline at end of file diff --git a/partials/photoswipe.hbs b/partials/photoswipe.hbs index bb0d2d0..f1064f7 100644 --- a/partials/photoswipe.hbs +++ b/partials/photoswipe.hbs @@ -16,6 +16,7 @@ params[pair[0]]=pair[1];} if(params.gid){params.gid=parseInt(params.gid,10);} return params;};var openPhotoSwipe=function(index,galleryElement,disableAnimation,fromURL){var pswpElement=document.querySelectorAll('.pswp')[0],gallery,options,items;items=parseThumbnailElements(galleryElement);options={galleryUID:galleryElement.getAttribute('data-pswp-uid'),getThumbBoundsFn:function(index){var thumbnail=items[index].el.getElementsByTagName('img')[0],pageYScroll=window.pageYOffset||document.documentElement.scrollTop,rect=thumbnail.getBoundingClientRect();return{x:rect.left,y:rect.top+pageYScroll,w:rect.width};}, mainClass:'{{@config.custom.galleryLightboxStyle}}', +preload: [1,2], hideAnimationDuration:200, showAnimationDuration:0, bgOpacity: {{@config.custom.galleryLightboxOpacity}}, diff --git a/partials/share-buttons.hbs b/partials/share-buttons.hbs index e76b78e..e41ec29 100755 --- a/partials/share-buttons.hbs +++ b/partials/share-buttons.hbs @@ -39,10 +39,7 @@ {{#if @config.custom.sharePinterest}} + a href="https://pinterest.com/pin/create/button/?url={{encodeUrlFragment url}}&media={{encodeUrlFragment featuredImage.url}}&description={{encodeUrlFragment title}}" class="js-share pinterest" title="{{ translate 'partials.shareButtons.shareWithPinterest' }}" rel="nofollow"> @@ -50,17 +47,13 @@ {{/if}} -{{#if @config.custom.shareStumbleupon}} - - - Stumbleupon - +{{#if @config.custom.shareMix}} + + + Mix + {{/if}} {{#if @config.custom.shareLinkedin}} diff --git a/starter.lang.json b/starter.lang.json index 030570d..b59955f 100755 --- a/starter.lang.json +++ b/starter.lang.json @@ -16,7 +16,7 @@ "shareWithTwitter": "Share with Twitter", "shareWithGooglePlus": "Share with Google Plus", "shareWithPinterest": "Share with Pinterest", - "shareWithStumbleUpon": "Share with StumbleUpon", + "shareWithMix": "Share with Mix", "shareWithLinkedIn": "Share with LinkedIn", "shareWithBuffer": "Share with Buffer" }