.elementor-kit-802{--e-global-color-smartmag-main:var(--c-main);--e-global-color-primary:#6ec1e4;--e-global-color-secondary:#54595f;--e-global-color-text:#7a7a7a;--e-global-color-accent:#61ce70;--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-weight:500}.elementor-section.elementor-section-boxed>.elementor-container{max-width:1200px}.elementor-widget:not(:last-child){margin-bottom:20px}{}h1.entry-title{display:var(--page-title-display)}@media(max-width:939px){.elementor-section.elementor-section-boxed>.elementor-container{max-width:940px}}@media(max-width:767px){.breadcrumbs-a{margin-top: 0}.elementor-section.elementor-section-boxed>.elementor-container{max-width:768px}}.elementor-6 .elementor-element.elementor-element-fdf4a3e>.elementor-widget-wrap>.elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:0}.elementor-6 .elementor-element.elementor-element-5f64193>.elementor-widget-container{margin:0 0 65px}.elementor-6 .elementor-element.elementor-element-9921d67>.elementor-widget-wrap>.elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:0}.elementor-6 .elementor-element.elementor-element-ca6b821>.elementor-widget-wrap>.elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:0}.elementor-6 .elementor-element.elementor-element-39240cd:not(.elementor-motion-effects-element-type-background),.elementor-6 .elementor-element.elementor-element-39240cd>.elementor-motion-effects-container>.elementor-motion-effects-layer{background-color:#0a0a0a}.elementor-6 .elementor-element.elementor-element-39240cd{transition:background .3s,border .3s,border-radius .3s,box-shadow .3s;margin-top:65px;margin-bottom:65px;padding:70px 0 65px}.elementor-6 .elementor-element.elementor-element-39240cd>.elementor-background-overlay{transition:background .3s,border-radius .3s,opacity .3s}.elementor-6 .elementor-element.elementor-element-40aabdc .block-head{--space-below:5px;--c-line:#333}.elementor-6 .elementor-element.elementor-element-9b43c30 .l-post{--post-format-scale:1.3}.elementor-6 .elementor-element.elementor-element-9b43c30 .post-title{font-size:25px}.elementor-6 .elementor-element.elementor-element-90abfbf .loop{--grid-row-gap:44px}.elementor-6 .elementor-element.elementor-element-e330216>.elementor-widget-wrap>.elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:0}.elementor-6 .elementor-element.elementor-element-66e9960>.elementor-widget-container{margin:0 0 60px}.elementor-6 .elementor-element.elementor-element-6eab40f>.elementor-widget-wrap>.elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:0}.elementor-6 .elementor-element.elementor-element-0a2f859{margin-top:80px;margin-bottom:60px}.elementor-6 .elementor-element.elementor-element-28b580e>.elementor-widget-wrap>.elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:0}.elementor-6 .elementor-element.elementor-element-f9e65a4 .block-head{--inner-pad:25px}.elementor-6 .elementor-element.elementor-element-16a41d9 .loop{--grid-gutter:2px;--grid-row-gap:2px}.elementor-6 .elementor-element.elementor-element-16a41d9 .l-post{--post-format-scale:1.25}.elementor-6 .elementor-element.elementor-element-16a41d9 .post-title{font-size:22px}.elementor-6 .elementor-element.elementor-element-1676e4f .loop{--grid-gutter:2px;--grid-row-gap:2px}.elementor-6 .elementor-element.elementor-element-1676e4f .post-title{padding:0 10px 0 0}.elementor-6 .elementor-element.elementor-element-1676e4f>.elementor-widget-container{margin:2px 0 0}.elementor-6 .elementor-element.elementor-element-e8e2a78:not(.elementor-motion-effects-element-type-background),.elementor-6 .elementor-element.elementor-element-e8e2a78>.elementor-motion-effects-container>.elementor-motion-effects-layer{background-color:#f2f2f2}.s-dark .elementor-6 .elementor-element.elementor-element-e8e2a78{background-color:#232323}.elementor-6 .elementor-element.elementor-element-e8e2a78{transition:background .3s,border .3s,border-radius .3s,box-shadow .3s;margin-top:60px;margin-bottom:60px;padding:50px 0}.elementor-6 .elementor-element.elementor-element-e8e2a78>.elementor-background-overlay{transition:background .3s,border-radius .3s,opacity .3s}.elementor-6 .elementor-element.elementor-element-93dadff{margin-top:0;margin-bottom:60px}.elementor-6 .elementor-element.elementor-element-425ba08>.elementor-widget-wrap>.elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:0}.elementor-6 .elementor-element.elementor-element-8956b8b>.elementor-widget-wrap>.elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:0}@media(max-width:939px){.elementor-6 .elementor-element.elementor-element-9b43c30>.elementor-widget-container{margin:0 0 40px}.elementor-6 .elementor-element.elementor-element-0a2f859{margin-top:60px;margin-bottom:60px}.elementor-6 .elementor-element.elementor-element-16a41d9 .post-title{font-size:20px}.elementor-6 .elementor-element.elementor-element-1676e4f .loop{--grid-row-gap:30px}.elementor-6 .elementor-element.elementor-element-1676e4f>.elementor-widget-container{margin:30px 0 0}}@media(max-width:939px) and (min-width:768px){.elementor-6 .elementor-element.elementor-element-9921d67{width:100%}.elementor-6 .elementor-element.elementor-element-ca6b821{width:100%}.elementor-6 .elementor-element.elementor-element-eba79f5{width:100%}.elementor-6 .elementor-element.elementor-element-f1597fa{width:100%}.elementor-6 .elementor-element.elementor-element-e330216{width:100%}.elementor-6 .elementor-element.elementor-element-6eab40f{width:100%}.elementor-6 .elementor-element.elementor-element-425ba08{width:100%}.elementor-6 .elementor-element.elementor-element-8956b8b{width:100%}}@media(max-width:767px){.elementor-6 .elementor-element.elementor-element-39240cd{margin-top:50px;margin-bottom:50px;padding:50px 0}.elementor-6 .elementor-element.elementor-element-1676e4f .loop{--grid-row-gap:30px}} html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,hr,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figure,figcaption,hgroup,menu,footer,header,nav,section,summary,time,mark,audio,video,button,input,textarea{margin:0;padding:0;border:0;vertical-align:baseline;font-size:100%;font-family:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}button,input[type=submit]{box-sizing:content-box;-webkit-appearance:none;cursor:pointer}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}input[type=search]{-webkit-appearance:none}textarea{overflow:auto}a img{border:0}img{max-width:100%;height:auto}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){img{min-height:1px}}::-webkit-input-placeholder{color:inherit}::-moz-placeholder{color:inherit;opacity:1}:-ms-input-placeholder{color:inherit}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}:root{--body-font:"Public Sans",system-ui,sans-serif;--ui-font:var(--body-font);--text-font:var(--body-font);--title-font:var(--ui-font);--h-font:var(--ui-font);--text-size:14px;--text-lh:1.714;--main-width:1200px;--grid-gutter:36px;--wrap-padding:35px;--boxed-pad:45px;--sidebar-width:33.3333333%;--sidebar-pad:38px;--c-sidebar-sep:var(--c-separator2);--max-width-md:680px;--title-size-xs:14px;--title-size-s:16px;--title-size-n:18px;--title-size-m:20px;--title-size-l:25px;--title-size-xl:30px;--title-fw-semi:600;--title-fw-bold:700;--grid-p-title:var(--title-size-m);--grid-sm-p-title:var(--title-size-s);--grid-lg-p-title:var(--title-size-l);--list-p-title:calc(var(--title-size-m)*1.05);--small-p-title:var(--title-size-xs);--feat-grid-title-s:var(--title-size-n);--feat-grid-title-m:var(--title-size-m);--feat-grid-title-l:var(--title-size-l);--excerpt-size:15px;--post-content-size:1.186rem;--post-content-lh:1.7;--post-content-gaps:1.54em;--single-content-size:var(--post-content-size);--p-media-margin:1.867em;--c-facebook:#1a6dd4;--c-twitter:#55acef;--c-pinterest:#e4223e;--c-linkedin:#02669a;--c-tumblr:#44546b;--c-instagram:#c13584;--c-vk:#45668e;--c-vimeo:#1ab7ea;--c-youtube:red;--c-dribble:#ea4c89;--c-flickr:#0063dc;--c-email:#080808;--c-whatsapp:#23c761;--c-soundcloud:#f80;--c-rss:#f97d1e;--c-reddit:#ff4500;--block-wrap-mb:55px;--btn-height:38px;--btn-shadow:0 2px 7px -4px rgba(0,0,0,.16)}@media (max-width:767px){:root{--block-wrap-mb:45px}}:root,.s-light{--c-main:#55acef;--c-main-rgb:42,179,145;--c-contrast-0:#fff;--c-contrast-10:#fbfbfb;--c-contrast-50:#f7f7f7;--c-contrast-75:#efefef;--c-contrast-100:#e8e8e8;--c-contrast-125:#e2e2e2;--c-contrast-150:#ddd;--c-contrast-200:#ccc;--c-contrast-300:#bbb;--c-contrast-400:#999;--c-contrast-450:#8a8a8a;--c-contrast-500:#777;--c-contrast-600:#666;--c-contrast-650:#505050;--c-contrast-700:#444;--c-contrast-800:#333;--c-contrast-850:#191919;--c-contrast-900:#161616;--c-contrast:#000;--c-rgba:0,0,0;--c-separator:var(--c-contrast-100);--c-separator2:var(--c-contrast-125);--c-links:var(--c-contrast-900);--c-headings:var(--c-contrast-900);--c-excerpts:var(--c-contrast-650);--c-nav:var(--c-contrast-900);--c-nav-hov-bg:transparent;--c-nav-drop-sep:rgba(0,0,0,.07);--c-nav-blip:var(--c-contrast-300);--c-post-meta:var(--c-contrast-450);--footer-mt:60px;--footer-bg:#f7f7f7;--footer-lower-bg:#f0f0f0}.s-dark:not(i),.site-s-dark,.site-s-dark .s-light{--c-contrast-0:#000;--c-contrast-10:#070707;--c-contrast-50:#111;--c-contrast-75:#151515;--c-contrast-100:#222;--c-contrast-125:#2b2b2b;--c-contrast-150:#333;--c-contrast-200:#444;--c-contrast-300:#555;--c-contrast-400:#777;--c-contrast-450:#999;--c-contrast-500:#bbb;--c-contrast-600:silver;--c-contrast-650:#ccc;--c-contrast-700:#d1d1d1;--c-contrast-800:#ddd;--c-contrast-850:#ececec;--c-contrast-900:#f0f0f0;--c-contrast:#fff;--c-rgba:255,255,255;--c-a-hover:rgba(var(--c-rgba),.7);--c-headings:var(--c-contrast-850);--c-excerpts:var(--c-contrast-650);--c-separator:rgba(var(--c-rgba),.13);--c-separator2:rgba(var(--c-rgba),.13);--c-links:var(--c-contrast-900);--c-headings:var(--c-contrast-850);--c-nav:var(--c-contrast-900);--c-nav-drop-bg:var(--c-contrast-10);--c-nav-drop-sep:rgba(255,255,255,.1);--c-post-meta:rgba(var(--c-rgba),.65);--c-email:var(--c-contrast-300);--c-input-bg:rgba(var(--c-rgba),.1);--footer-bg:#0f0f11;--footer-lower-bg:#040404}.site-s-dark{--footer-bg:#070708}.site-s-dark body{background:#151516}html{font-size:14px}body{font-family:var(--body-font);line-height:1.5;color:var(--body-color,var(--c-contrast-700));background:var(--c-contrast-0);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow-x:hidden}@media (max-width:1200px){html,body{overflow-x:hidden}}::-moz-selection{background:var(--c-main);color:#fff}::selection{background:var(--c-main);color:#fff}img::-moz-selection{background:0 0}img::selection{background:0 0}:root{--admin-bar-h:32px}@media (max-width:782px){:root{--admin-bar-h:46px}}*,:before,:after{-webkit-font-smoothing:antialiased}p{margin-bottom:21px;word-break:break-all;word-break:break-word;overflow-wrap:break-word}h1{font-size:1.846em}h2{font-size:1.5em}h3{font-size:1.285em}h4{font-size:1.21em}h5{font-size:1.107em}h6{font-size:1.07em}h1,h2,h3,h4,h5,h6{font-weight:var(--title-fw-bold);font-family:var(--h-font);color:var(--c-headings)}a{color:var(--c-a,var(--c-links));text-decoration:none;transition:all .25s ease-in-out}a:hover{text-decoration:none;color:var(--c-a-hover,var(--c-main))}code,pre{background:rgba(var(--c-rgba),.03)}code{padding:4px 10px}pre{padding:0;border-left:3px solid var(--c-separator);border-bottom:1px solid transparent;display:block;word-break:break-all;word-wrap:break-word;font-family:Menlo,Monaco,Consolas,monospace;font-size:max(14px,.9em)}pre code{white-space:pre-wrap;background:0 0;font-size:inherit}table{max-width:100%;background-color:transparent}th,td{background:0 0;padding:5px 9px;border:1px solid var(--c-separator2);text-align:initial}th{background:rgba(var(--c-rgba),.05)}table caption{padding:0 0 7px;width:auto;font-weight:600}small{font-size:.92308em}input,textarea,select{border:1px solid var(--c-contrast-150);padding:7px 12px;outline:0;height:auto;font-size:14px;color:var(--c-contrast-500);max-width:100%;border-radius:2px;box-shadow:0 2px 7px -4px rgba(0,0,0,.1);background:var(--c-input-bg,var(--c-contrast-0))}input{width:var(--input-width,initial);height:var(--input-height,38px)}input[type=checkbox],input[type=radio]{width:initial;height:initial}textarea{width:100%;padding:14px 12px;line-height:1.5}input:focus,textarea:focus,select:focus{border-color:var(--c-contrast-400);color:var(--c-contrast-650)}input[type=submit],button,input[type=reset] input[type=button],.ts-button{-webkit-appearance:none;padding:var(--btn-pad,0 17px);font-family:var(--ui-font);font-size:var(--btn-f-size,12px);font-weight:var(--btn-f-weight,600);line-height:var(--btn-l-height,var(--btn-height));height:var(--btn-height);letter-spacing:.03em;text-transform:uppercase;text-align:center;box-shadow:var(--btn-shadow);transition:.25s ease-in-out;background:var(--c-main);color:#fff;border:0;border-radius:2px}input[type=submit]:hover,button:hover,input[type=reset] input[type=button]:hover,.ts-button:hover{background:#161616;border-color:#161616;color:#fff}.s-dark input[type=submit]:hover,.s-dark button:hover,.s-dark input[type=reset] input[type=button]:hover,.s-dark .ts-button:hover{border-color:#555}button:focus{outline:0}input[type=submit]:active,button:active,input[type=button]:active{opacity:.9}.ts-button-alt{--btn-l-height:1;--btn-height:auto;--btn-pad:10px 17px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;background:0 0;border:1px solid var(--c-contrast-100);color:var(--c-contrast-650)}.ts-button-b{background:0 0;border:1px solid var(--c-main);color:var(--c-main)}.ts-button:not(._),.ts-button-alt:not(._){box-shadow:var(--btn-shadow)}blockquote{padding:.5em 1.5em;color:var(--c-contrast-850);font-family:var(--blockquote-font,inherit);font-size:1.12em;font-weight:400}blockquote cite,blockquote [class*=__citation]{font-family:var(--ui-font);color:var(--c-contrast-450);font-size:13px;font-size:max(12px,.7em);font-weight:400;font-style:normal;letter-spacing:.02em}blockquote p+cite,blockquote [class*=__citation]{display:block;margin-top:15px}blockquote cite:before{content:"\2014";margin-right:5px;opacity:.6}blockquote>p:last-of-type{margin-bottom:0}.wp-block-pullquote.is-style-modern blockquote,.modern-quote{position:relative;padding:0;padding-left:calc(28px + 1em);padding-right:14px;padding-top:17px;padding-bottom:0;margin-top:35px;margin-bottom:35px;font-family:"Merriweather",Georgia,serif;font-weight:300;font-size:1.142em;font-style:italic;border:0;border-top:2px solid var(--c-main);background:0 0}.wp-block-pullquote.is-style-modern blockquote:before,.modern-quote:before{content:"\201c";position:absolute;top:0;left:0;color:var(--c-contrast-100);font-style:normal;font-family:Arial,Helvetica,sans-serif;opacity:1;font-weight:400;transform:none;margin-left:0;font-size:4em;line-height:1;margin-top:15px}.wp-block-pullquote.is-style-modern blockquote cite,.modern-quote cite{margin-top:21px;font-size:12px;font-family:var(--ui-font);text-transform:uppercase;color:var(--c-contrast-400);font-style:italic}.wp-block-pullquote.is-style-modern blockquote p>cite,.modern-quote p>cite{display:block}.wp-block-pullquote.is-style-modern blockquote cite:before,.modern-quote cite:before{content:"\2014";margin-right:3px}.modern-quote.alignleft{margin-right:35px}.modern-quote.alignright{margin-left:35px}.modern-quote.pull{margin-bottom:28px;margin-top:.6em;padding-right:0;min-width:250px;max-width:30%}.search-form{display:flex}.search-form label{flex-grow:1;max-width:400px}.search-form .search-field{width:100%}.search-form input[type=submit]{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-2px}.cf:after,.cf:before{content:"";display:table;flex-basis:0;order:1}.cf:after{clear:both}.limit-line{overflow:hidden;white-space:nowrap} .limit-lines{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;-webkit-line-clamp:var(--limit-lines,5);overflow:hidden;word-wrap:break-word;text-overflow:ellipsis}.l-lines-1{--limit-lines:1}.l-lines-2{--limit-lines:2}.l-lines-3{--limit-lines:3}.l-lines-4{--limit-lines:4}.ellipsis{text-overflow:ellipsis}.ir{background-color:transparent;border:0;overflow:hidden;*text-indent:-9999px;}.ir:before{content:"";display:block;width:0;height:100%}.visuallyhidden,.screen-reader-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.main-color{color:var(--c-main)}.post-title{color:var(--c-headings);font-family:var(--title-font);line-height:1.36}.post-title a{--c-links:initial;--c-a:initial;--c-a-hover:var(--c-main);display:block}hr,hr.separator{margin:41px 0;height:1px;background:var(--c-separator)}hr.no-line{background:0 0}hr.half{margin-top:0}.ts-spinner{width:40px;height:40px;border:3px solid transparent;border-radius:50%;position:relative}.ts-spinner:before,.ts-spinner:after{content:'';position:absolute;border-radius:50%;animation:ts-spinner-scale 1s ease-out infinite}.ts-spinner:before{border:3px solid rgba(var(--c-main-rgb),.5);width:48px;height:48px;top:-7px;left:-7px;animation-delay:1s;opacity:0}.ts-spinner:after{border:3px solid rgba(var(--c-main-rgb),1);width:40px;height:40px;top:-3px;left:-3px;animation-delay:.5s}@keyframes ts-spinner-scale{0%{transform:scale(0);opacity:0}50%{opacity:1}100%{transform:scale(1);opacity:0}}.lazyload,.lazyloading{will-change:opacity !important;background-color:var(--c-contrast-150)}.lazyload:not(._),.lazyloading:not(._){opacity:.1}.no-display{will-change:opacity;opacity:0}.lazyloaded,.appear{will-change:initial;opacity:1}.wp-post-image,.post-content img,.appear,.lazyload,.lazyloading{transition:opacity .3s ease-in-out}@media (min-width:941px){.wp-post-image,.post-content:hover img{will-change:opacity}}.wp-post-image:hover{opacity:.85}.bg-ratio{--a-ratio:0;padding-bottom:calc(100%/var(--a-ratio))}.bg-cover{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center center;background-size:cover}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}@keyframes bouncedelay{0%,80%,100%{transform:scale(0)}40%{transform:scale(1)}}@keyframes fade-in-up{from{opacity:0;transform:translate3d(0,2px,0)}to{opacity:1;transform:none}}@keyframes fade-in-up-lg{from{opacity:0;transform:translate3d(0,8px,0)}to{opacity:1;transform:none}}@keyframes fade-in-down-lg{from{opacity:0;transform:translate3d(0,-8px,0)}to{opacity:1;transform:none}}.fade-in:not(._){visibility:visible;opacity:1}.fade-out{visibility:hidden;opacity:0}.fade-in-up{will-change:transform;animation:.5s fade-in-up ease-out;animation-fill-mode:both}.fade-in-up-lg{will-change:transform;animation:.65s fade-in-up-lg ease-out;animation-fill-mode:both}.fade-in-down-lg{will-change:transform;animation:.65s fade-in-up-lg ease-out;animation-fill-mode:both}.no-transition{transition:none !important}.media-ratio{position:relative;display:block;height:0}.media-ratio .wp-post-image,.media-ratio>img{border-radius:6px;position:absolute;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.media-ratio.ratio-1-1{padding-bottom:100%}.media-ratio.ratio-4-3{padding-bottom:75%}.media-ratio.ratio-3-2{padding-bottom:66.6666667%}.media-ratio.ratio-16-9{padding-bottom:56.25%}.media-ratio.ratio-21-9{padding-bottom:42.8571429%}.media-ratio.ratio-3-4{padding-bottom:133.3333333%}.media-ratio.ratio-2-3{padding-bottom:150%}.show-lg:not(#_),.show-md:not(#_),.show-sm:not(#_),.show-xs:not(#_){display:none}@media (min-width:941px){.show-lg:not(#_){display:var(--display-init,block)}}@media (min-width:768px) and (max-width:940px){.show-md:not(#_){display:var(--display-init,block)}}@media (min-width:541px) and (max-width:767px){.show-sm:not(#_){display:var(--display-init,block)}}@media (max-width:540px){.show-xs:not(#_){display:var(--display-init,block)}}.ts-contain,.wrap,.main-wrap{max-width:100%;box-sizing:border-box}.ts-contain,.wrap{width:100%;margin:0 auto}@media (min-width:1201px){.wrap{width:var(--main-width)}}@media (max-width:940px){.wrap{max-width:var(--max-width-md)}}@media (min-width:1201px){.ts-contain,.main{width:calc(var(--main-width) + var(--wrap-padding)*2)}}@media (max-width:940px){.ts-contain,.main{max-width:calc(var(--max-width-md) + 70px)}}.main{margin:42px auto}.ts-contain,.main{padding:0 35px;padding:0 var(--wrap-padding)}@media (max-width:940px){.ts-contain,.main{padding-left:25px;padding-right:25px}}@media (max-width:540px){.ts-contain,.main{padding-left:20px;padding-right:20px}}@media (max-width:350px){.ts-contain,.main{padding-left:15px;padding-right:15px}}.ts-contain .ts-contain,.main .ts-contain{padding:0}@media (min-width:941px){.main-content:not(.main){width:calc(100% - var(--sidebar-width))}}.no-sidebar .col-8.main-content{width:100%}.ts-row,.row,.b-row{--grid-gutter-h:calc(var(--grid-gutter)/2);display:flex;flex-wrap:wrap;margin-right:calc(-1*var(--grid-gutter-h));margin-left:calc(-1*var(--grid-gutter-h))}.grid{display:grid;grid-column-gap:var(--grid-gutter);grid-row-gap:var(--grid-row-gap,0)}@media (max-width:767px){.grid{--grid-gutter:26px}}.cols-not-eq{align-items:start}.cols-gap-sm{--grid-gutter:26px}.cols-gap-lg{--grid-gutter:50px}@media (max-width:767px){.cols-gap-lg{--grid-gutter:26px}}.cols-gap-xlg{--grid-gutter:64px}@media (max-width:767px){.cols-gap-xlg{--grid-gutter:26px}}.cols-gap-min{--grid-gutter:2px}.grid-1{--col:100%;grid-template-columns:repeat(1,minmax(0,1fr))}.grid-2{--col:50%;grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{--col:33.3333333%;grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{--col:25%;grid-template-columns:repeat(4,minmax(0,1fr))}.grid-5{--col:20%;grid-template-columns:repeat(5,minmax(0,1fr))}.grid-6{--col:16.6666667%;grid-template-columns:repeat(6,minmax(0,1fr))}.grid-auto{grid-template-columns:repeat(auto-fit,minmax(var(--w-min,0),1fr))}.grid-4-8{grid-template-columns:4fr 8fr}.grid-8-4{grid-template-columns:8fr 4fr}@media (max-width:940px){.md\:grid-1{--col:100%;grid-template-columns:repeat(1,minmax(0,1fr))}.md\:grid-2{--col:50%;grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-3{--col:33.3333333%;grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-4{--col:25%;grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-5{--col:20%;grid-template-columns:repeat(5,minmax(0,1fr))}.md\:grid-6{--col:16.6666667%;grid-template-columns:repeat(6,minmax(0,1fr))}.md\:grid-auto{grid-template-columns:repeat(auto-fit,minmax(var(--w-min,0),1fr))}}@media (max-width:767px){.sm\:grid-1{--col:100%;grid-template-columns:repeat(1,minmax(0,1fr))}.sm\:grid-2{--col:50%;grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-3{--col:33.3333333%;grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-4{--col:25%;grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:grid-5{--col:20%;grid-template-columns:repeat(5,minmax(0,1fr))}.sm\:grid-6{--col:16.6666667%;grid-template-columns:repeat(6,minmax(0,1fr))}.sm\:grid-auto{grid-template-columns:repeat(auto-fit,minmax(var(--w-min,0),1fr))}}@media (max-width:540px){.xs\:grid-1{--col:100%;grid-template-columns:repeat(1,minmax(0,1fr))}.xs\:grid-2{--col:50%;grid-template-columns:repeat(2,minmax(0,1fr))}.xs\:grid-3{--col:33.3333333%;grid-template-columns:repeat(3,minmax(0,1fr))}.xs\:grid-4{--col:25%;grid-template-columns:repeat(4,minmax(0,1fr))}.xs\:grid-5{--col:20%;grid-template-columns:repeat(5,minmax(0,1fr))}.xs\:grid-6{--col:16.6666667%;grid-template-columns:repeat(6,minmax(0,1fr))}.xs\:grid-auto{grid-template-columns:repeat(auto-fit,minmax(var(--w-min,0),1fr))}}.col-1{width:8.3333333%}.col-2{width:16.6666667%}.col-2-4{width:20%}.col-3{width:25%}.col-4{width:33.3333333%}.col-5{width:41.6666667%}.col-6{width:50%}.col-7{width:58.3333333%}.col-8{width:66.6666667%}.col-9{width:75%}.col-10{width:83.3333333%}.col-11{width:91.6666667%}.col-12{width:100%}.column{width:100%}.column.three-fourth{width:75%}.column.two-third{width:66.66666666666667%}.column.half{width:50%}.column.one-third{width:33.333333333333336%}.column.one-fourth{width:25%}.column.one-fifth{width:20%}.column.two-fifth{width:40%}.column.three-fifth{width:60%}.column.four-fifth{width:80%}.column.right{text-align:right}.column.left{text-align:left}.column.center{text-align:center}.column,[class^=col-],[class*=" col-"]{flex:0 0 auto;padding-left:var(--grid-gutter-h);padding-right:var(--grid-gutter-h)}@media (max-width:940px){.column,[class^=col-],[class*=" col-"]{width:100%}}.breadcrumbs{margin:0 auto;margin-bottom:30px;font-family:var(--ui-font);--c-a:var(--c-contrast-450);--c-a-hover:var(--c-links);font-size:12px;color:var(--c-contrast-400);line-height:1}.breadcrumbs .delim{font-family:Arial,system-ui,sans-serif;padding:0 10px;font-size:1.141em;line-height:.7;opacity:.8}.breadcrumbs .label{color:var(--c-main);margin-right:21px;text-transform:uppercase}.breadcrumbs .inner{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;line-height:1.2}.breadcrumbs-a{margin-top:20px;margin-bottom:20px}.breadcrumbs-a+.main{margin-top:35px}.post-layout-large-center .breadcrumbs-a{margin-top:25px;text-align:center}.breadcrumbs-b{font-size:13px;--c-a:var(--c-contrast-500)}@media (max-width:767px){.breadcrumbs-b{font-size:12px}}.breadcrumbs-b .inner{padding-top:16px;padding-bottom:16px}.breadcrumbs-b.is-full-width{background:var(--c-contrast-50)}.breadcrumbs-b:not(.is-full-width)>.inner{background:var(--c-contrast-50);padding:16px 25px}@media (max-width:767px){.breadcrumbs-b:not(.is-full-width){padding:0;width:100%;max-width:initial}.breadcrumbs-b:not(.is-full-width)>.inner{width:100%;max-width:initial}}.breadcrumbs-b+.main{margin-top:38px}.main-featured.is-container{--max-width-md:100%;margin-top:35px;margin-bottom:50px;border-right:0;border-left:0}@media (max-width:940px){.main-featured.is-container{margin-top:0;padding-left:0;padding-right:0}}.main-featured .row{opacity:0}.main-featured .row.appear{opacity:1;-webkit-transform:translate3d(0,0,0)}.main-featured .slides{position:relative;min-height:170px}@keyframes slider-fade-in{from{opacity:0;transform:translate3d(0,0px,0)}to{opacity:1;transform:none}}.common-slider .slick-initialized img{display:inline}.common-slider .slick-arrow{--trans-x:0;display:none;position:absolute;z-index:100;top

CSS Reference Pseudo-class

:lang()

:lang() is a CSS pseudo-class selector that matches an element based on the language it is determined to be in.

A language is determined in HTML using a combination of the lang attribute (e.g <html lang="en">), the <meta> tag, and possibly by information from the protocol (such as HTTP headers). XML uses an attribute called xml:lang, and there may be other document language-specific methods for determining the language.

For example, the following applies styles to an element if it is determined to be in the language X:

.element:lang(X) {
    /* style rules here */
}
                

The pseudo-class :lang() represents an element that is in language . Whether an element is represented by a :lang() selector is based solely on the element’s language value being equal to the identifier X, or beginning with the identifier X immediately followed by “-” (U+002D). The matching of X against the element’s language value is performed case-insensitively within the ASCII range.

The :lang() selector can also be used “globally” to set the styles for any elements that are determined to be in the language specified by the selector. For example:

:lang(fr) {
    /* styles for elements determined to be in French */
}
                

The two following selectors represent an HTML document that is in Belgian French or German. The two next selectors represent q quotations in an arbitrary element in Belgian French or German.

html:lang(fr-be)
html:lang(de)
:lang(fr-be) > q
:lang(de) > q
                

See the examples section below for a more practical example.

Trivia & Notes

Declaring Language in HTML

A language is usually specified on the root html element and is therefore inherited by the information in the head and the body, but it can also be specified on any element in the page. For example:

lang_example

In this case, the span could be styled as so:

span:lang(zh-Hans) {
    /* styles here */
}
                

To be sure that all user agents recognize which language you mean, you need to follow a standard approach when providing language attribute values. You also need to consider how to refer in a standard way to dialectal differences between languages, such as the difference between US English and British English, which diverge significantly in terms of spelling and pronunciation.

Language codes consist of a primary code and a possibly empty series of subcodes: language-code = primary-code ( "-" subcode )*. Example language codes include “en” for English, “zh-Hans” for Chinese, and en-GB-oed for English based on the Oxford English Dictionary spelling.

In order to choose the right language code, you can check the list of available language codes out in the IANA language sub-tag registry, and read more about declaring languages in HTML in this excellent post on W3C. The post also contains a list of excellent resources for learning more about languages in HTML.

More HTML language resources:

Examples

Using the :lang() selector, we can change the type of quotation marks used for quotes (and possibly other elements) in a page. English, French, and German quotation marks are usually different, so it is good to apply the suitable quotation marks depending on the language being used. The following example does exactly that.

We’re going to specify the language of the document on the root html element, and add in some content into the page.

<html lang="en">
    <head><!-- head content --></head>
    <body>
        <q>This is a quote quoting Steve Jobs saying <q>Design is not just what it looks like and feels like. Design is how it works.</q> for inspiration. </q>
    </body>
</html>
                

Using the quotes property, we’re going to add different quotation marks depending on the language of the document.

q:before {
    content: open-quote;
}

q:after {
    content: close-quote;
}

/* English quotes */
:lang(en) q {
    quotes: "\201C" "\201D" "\2018" "\2019"; /* Unicode values are used to specify special quote characters. */
}

/* French quotes */
:lang(fr) q {
    quotes: "«" "»" "‹" "›";
}

/* German quotes */
:lang(de) q {
    quotes: "»" "«" "‹" "›";
}
                

When the value of the lang attribute changes, the appropriate quotation marks will be used.

Live Demo

The following demo is similar to the above example, except that the language attribute is applied to each individual quote for the sake of demonstration, so you can see all three results. You can remove the individual lang attributes and then switch the attribute value on the html element to see the result change accordingly.

View this demo on the Codrops Playground

Browser Support

THe :lang() pseudo-class selectors is supported in Chrome, Firefox, Safari, Opera, Internet Explorer 8+, and on Android and iOS.

Written by

Last updated June 3, 2020 at 12:33 pm by Mary Lou

Do you have a suggestion, question or want to contribute? Submit an issue.