﻿
/*!
Theme Name: Klis
Author: Morten Andersen
Author URI: https://www.hjemmesider.dk
Description: Køge Lilleskole
Version: 1.0
Requires at least: 5.0
Tested up to: 5.8
Requires PHP: 8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: klis-domain
Domain Path: /languages
*/
:root{--page-width:1340px;--body-bg:linear-gradient(#007853,#004530);--body-font-size:1rem;--body-line-height:1.5;--font-family:system-ui,sans-serif;--border-color:rgba(255,255,255,.7);--gap:1rem;--link-color:#fff;--logo-roed:#da1527;--small-font:.75rem;--farve1:#006445;--farve2:#2c2e2e;--farve3:#e3a01f;--farve4:#fff;--border:1px solid rgba(255,255,255,.7);--shadow-medie:0 0 4px rgba(0,0,0,.5)}@media(min-width:60rem){:root{--gap:2rem}}*:where(:not(html,iframe,canvas,img,svg,video,audio):not(svg *,symbol *)){all:unset;display:revert}*,*:before,*:after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}a,button{cursor:revert}ol,ul,menu,summary{list-style:none}img{max-inline-size:100%;max-block-size:100%}table{border-collapse:collapse}input,textarea{-webkit-user-select:auto}textarea{white-space:revert}meter{-webkit-appearance:revert;appearance:revert}:where(pre){all:revert;box-sizing:border-box}::placeholder{color:unset}:where([hidden]){display:none}:where([contenteditable]:not([contenteditable=false])){-moz-user-modify:read-write;-webkit-user-modify:read-write;overflow-wrap:break-word;-webkit-line-break:after-white-space;-webkit-user-select:auto}:where([draggable=true]){-webkit-user-drag:element}:where(dialog:modal){all:revert;box-sizing:border-box}::-webkit-details-marker{display:none}body{overflow-wrap:break-word;font-family:system-ui,sans-serif;line-height:1.5;font-size:1rem}img{font-style:italic;background-repeat:no-repeat;background-size:cover;shape-margin:.75rem;max-width:100%;height:auto}iframe{aspect-ratio:16/9;height:auto;width:100%;margin-block:1rem}.go-back-con{margin:2rem 0}.go-back{border:1px solid #ddd;color:inherit;border-radius:100vmax;padding:.25em 2em .25em 1.6em;transition:1s all;cursor:pointer;display:flex;align-items:center}.go-back:hover{box-shadow:0 0 10px rgba(51,51,51,.25);-webkit-filter:none;filter:none}.go-back svg{opacity:.4;transition:1s all;fill:#999}a{text-decoration:underline}a:hover{text-decoration:none}nav a{text-decoration:none}body{background:#fff;color:var(--farve4);font-family:var(--font-family);font-size:var(--body-font-size);line-height:var(--body-line-height)}.page-wrap{background:var(--body-bg);background-attachment:fixed;margin:0 auto;max-width:var(--page-width);padding:var(--gap);box-shadow:var(--shadow-medie)}.content{margin-block:clamp(1rem,4vw,2rem)}.site{display:grid;grid-template-columns:90% 100%;overflow:hidden;margin:0 auto;max-width:var(--page-width);min-height:100vh}.main-content{min-height:100vh;padding:var(--gap);background:var(--body-bg);transform:translateX(-90%);transition:.5s all}aside{border-top:var(--border);padding-top:1rem}@media(min-width:800px){.aside{grid-template-columns:3fr 2fr;gap:var(--gap) !important}aside{border-left:var(--border);border-top:none;padding-top:0;padding-left:var(--gap)}.front-grid{grid-template-columns:2fr 3fr;gap:var(--gap) !important}.spalter{display:grid;grid-template-columns:1fr 1fr;gap:4rem}}.header{margin-top:1rem}@media(width>800px){.header{position:relative;min-height:180px}}.navn{font-size:2rem;line-height:1;font-weight:200;transition:.5s opacity;display:flex;align-items:center}.navn:hover{opacity:.8}.navn__logo{max-width:60px;margin-right:.75rem}.logo{position:relative;display:none}.logo__img{max-width:150px;margin:0 auto}@media(min-width:1130px){.logo{display:block}.navn__logo{display:none}}.hamburger{display:flex;flex-flow:column;gap:5px}.hamburger span{height:3px;width:30px;background:#fff;border:1px solid;border-color:rgba(0,0,0,0);transition:.5s all}.hamburger.active span:nth-child(1){transform:rotate(45deg);transform-origin:10px}.hamburger.active span:nth-child(2){display:none}.hamburger.active span:nth-child(3){transform:rotate(-45deg);transform-origin:10px}.menu-icon{margin-top:auto;display:flex;gap:.5rem;align-items:center;cursor:pointer}.menu-icon:hover span{background:rgba(0,0,0,0);border-color:#fff}.breadcrumb{display:none;margin-top:1rem;opacity:.8}.breadcrumb a{transition:.5s}.breadcrumb a:hover{color:#67ad73}.breadcrumb [aria-current]{opacity:.5}@media(width>800px){.breadcrumb{display:block}}#home{fill:#fff;transition:.5s}.login-link{cursor:pointer}.login{line-height:1;display:flex;gap:.5rem;transition:.5s transform;padding-bottom:5px}.login.active{transform:none}.login__link{cursor:pointer;transition:.5s opacity;opacity:.8}.login__link:hover{opacity:1}.login__home:hover #home{fill:var(--farve3)}.intra{transition:.5s;background:#1c9182;color:#fff;line-height:32px;width:32px;text-align:center;border-radius:5px}.intra:hover{transform:scale(1.2);background:var(--logo-roed)}.intra span{opacity:.6}.l-header-first{--afs:14px;border-bottom:1px solid;margin-bottom:var(--afs);padding-bottom:var(--afs)}.l-right{margin-left:auto;align-items:end;flex-flow:row;gap:1rem;display:none}.logo{position:absolute;left:calc(50% - 75px);top:0}@media(width>800px){.l-header-first,.l-header-second{display:flex;flex-flow:row}.l-right{display:flex}}html,body{height:100%}img{max-width:100%;height:auto;display:block}.fokus-btn{color:var(--farve4);background:var(--farve3);border:1px solid;border-color:var(--border-color);padding-inline:1rem;height:2rem;display:flex;align-items:center;border-radius:100vh;text-transform:uppercase;font-size:.8rem;transition:.5s border-color}.fokus-btn:hover{border-color:#fff}input{width:100%}.search-klis{background:hsla(0,0%,100%,.35);color:#fff;border:1px solid var(--border-color);border-radius:100vh;height:2rem;align-items:center;display:flex;padding-inline:1rem;font-size:.8rem;transition:.5s border-color}.search-klis:focus{border-color:#fff}.search-list a{font-weight:600}.more{padding:1rem;border:1px solid;border-color:var(--border-color);border-radius:1rem;position:relative;margin-bottom:2rem;transition:.5s border-color}.more.active{border-color:#fff}.more__body{opacity:.3;height:20px;overflow:hidden;transition:1s opacity}.active .more__body{opacity:1;height:auto}.more__body>*{margin-top:0}.more__body p:last-of-type{margin-bottom:0}.more__action{position:absolute;right:1rem;padding:.3rem 1rem;border:1px solid var(--border-color);border-radius:1rem;background:var(--farve2);line-height:1.3;cursor:pointer;transition:.5s background}.more__action:hover{background:var(--farve1)}.more__action:before{content:"læs mere"}.active .more__action:before{content:"X "}.video{margin-bottom:2rem}.video iframe{width:100%;height:auto;aspect-ratio:16/9;border-radius:1rem;box-shadow:var(--shadow-medie);margin:0}.ref{padding-bottom:2rem;font-size:.7rem;text-align:right}.ref a{text-decoration:none}.h{display:none !important}.wp-block-file{padding-bottom:1rem}.down-con .filer{display:block;margin-bottom:0}figure{margin:0 0 1lh 0;border-radius:1rem;overflow:hidden}.ramme{padding:2rem;border-radius:1rem;background:hsla(0,0%,100%,.6)}a{color:var(--link-color);text-decoration:underline}a:hover{text-decoration:none}.footer a,.header a{text-decoration:none}a[href^="tel:"]{text-decoration:none;transition:.5s}a[href^="tel:"]:hover{text-decoration:none;opacity:.8}.small{font-size:var(--small-font)}p{margin-bottom:var(--gap);font-weight:300;max-width:75ch;text-wrap:pretty}h1{font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.1;letter-spacing:-.04rem;margin:0 0 .625rem;text-wrap:balance;max-width:50ch;font-weight:300}h2,h3,h4,h5,h6{font-size:1.2rem;font-weight:500;margin:var(--gap) 0 .5rem 0;max-width:55ch;text-wrap:pretty}.page-template-default h2{margin-bottom:1rem;text-transform:uppercase}.pre-title{font-size:clamp(1.2rem,2vw,1.3rem);font-weight:200}strong,b{font-weight:600}em,i{font-style:italic}main ul,main ol{padding:0;margin:0 0 var(--gap) 1rem}main ul li,main ol li{padding:0 0 .5rem 1ch}main ul li ul,main ul li ol,main ol li ul,main ol li ol{margin:.5lh 0 0 15px}main ul li ul li,main ul li ol li,main ol li ul li,main ol li ol li{list-style-type:square}main ul li{list-style-type:"✓"}main ol li{list-style-type:decimal}.front-header{text-align:center;padding-top:2rem}.front-header h2{font-family:cursive;margin:0}.fil-title svg{fill:#fff}.info{font-style:italic}.footer{margin-top:var(--gap);padding-bottom:var(--gap);font-size:.875rem}.footer .content{padding-top:1rem;border-top:var(--border)}.footer svg{fill:#fff;transition:.5s}.footer a:hover svg{fill:var(--logo-roed)}@media(min-width:330px){.footer .content{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px, 4fr))}}.grid{display:grid;gap:var(--gap);gap:clamp(1rem,6vw,5rem)}@media(min-width: 800px){.g-2{grid-template-columns:1fr 2fr}}.card{--size:200px;display:grid;gap:var(--gap);border-top:var(--border);padding-top:var(--gap);grid-template-columns:repeat(auto-fit,minmax(var(--size), 5fr))}.card__item{line-height:1.3;font-size:.85rem;display:flex;align-items:center;flex-flow:column}.card__more{transition:.5s all}.card__link{border-radius:100%;aspect-ratio:1/1;box-shadow:var(--shadow-medie);overflow:hidden;display:flex;flex-flow:column;background-position:center;height:100%;text-decoration:none;justify-content:end;transition:.5s all}.card__link:hover{transform:scale(1.1);box-shadow:0 0 10px #000}.card__txt{text-align:center;display:flex;flex-flow:column;padding:1rem;background:rgba(0,0,0,.5);width:100%;line-height:1.2;font-size:.9rem}.card__title{font-weight:700}.card__body{padding-bottom:.5rem}.card__img{display:inline}.card__body p{margin:0}@media(width>700px){.personer{display:grid;grid-template-columns:1fr 1fr;gap:2rem}}.person-item{border-bottom:1px dotted;padding-bottom:2rem}.content-header{border-radius:1rem;background-repeat:no-repeat;background-size:cover;padding:3rem 0 3rem 3rem;display:flex;align-items:end;flex-flow:column;margin-bottom:2rem;box-shadow:var(--shadow-medie)}.header-content{background:linear-gradient(to right,rgba(0,0,0,.5),#000);padding:2.5rem;border-radius:1rem 0 0 1rem;display:flex;flex-flow:column;gap:2rem}.header-content:after{align-self:stretch;content:"";border:1px solid;border-style:inset}.header-content-title{text-align:center}.header-content-title h2{max-width:30ch;margin:0}.child-nav{order:2}.child-nav a{display:block;text-decoration:underline;font-size:1rem}.child-nav a:hover{text-decoration:none}.child-nav .back{margin-top:2rem;font-size:.85rem}@media(min-width:1000px){.header-content{flex-flow:row}.header-content-title{border-bottom:none;order:-1;display:flex;flex-flow:column;justify-content:center}}.gallery-list{border-top:var(--border);padding-top:var(--gap);display:grid;flex-flow:wrap;gap:1rem;grid-template-columns:1fr 1fr}@media(width>600px){.gallery-list{grid-template-columns:repeat(auto-fit,minmax(200px, 5fr))}}.gallery-list__link{box-shadow:var(--shadow-medie);transition:.5s transform;height:150px}.gallery-list__link:hover{transform:scale(1.05)}body.lb-disable-scrolling{overflow:hidden}.lightboxOverlay{position:absolute;top:0;left:0;z-index:9999;background-color:#000;filter:alpha(opacity=80);opacity:.8;display:none}.lightbox{position:absolute;left:0;width:100%;z-index:10000;text-align:center;line-height:0;font-weight:400;outline:none}.lightbox .lb-image{display:block;height:auto;max-width:inherit;max-height:none;border-radius:3px;border:4px solid #fff}.lightbox a img{border:none}.lb-outerContainer{position:relative;*zoom:1;width:250px;height:250px;margin:0 auto;border-radius:4px;background-color:#fff}.lb-outerContainer:after{content:"";display:table;clear:both}.lb-loader{position:absolute;top:43%;left:0;height:25%;width:100%;text-align:center;line-height:0}.lb-cancel{display:block;width:32px;height:32px;margin:0 auto;background:url(//klisdk.newsite.dk/wp-content/themes/klis/inc/img/loading.gif) no-repeat}.lb-nav{position:absolute;top:0;left:0;height:100%;width:100%;z-index:10}.lb-container>.nav{left:0}.lb-nav a{outline:none;background-image:url("data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==")}.lb-prev,.lb-next{height:100%;cursor:pointer;display:block}.lb-nav a.lb-prev{width:34%;left:0;float:left;background:url(//klisdk.newsite.dk/wp-content/themes/klis/inc/img/prev.png) left 48% no-repeat;filter:alpha(opacity=0);opacity:0;-webkit-transition:opacity .6s;-moz-transition:opacity .6s;-o-transition:opacity .6s;transition:opacity .6s}.lb-nav a.lb-prev:hover{filter:alpha(opacity=100);opacity:1}.lb-nav a.lb-next{width:64%;right:0;float:right;background:url(//klisdk.newsite.dk/wp-content/themes/klis/inc/img/next.png) right 48% no-repeat;filter:alpha(opacity=0);opacity:0;-webkit-transition:opacity .6s;-moz-transition:opacity .6s;-o-transition:opacity .6s;transition:opacity .6s}.lb-nav a.lb-next:hover{filter:alpha(opacity=100);opacity:1}.lb-dataContainer{margin:0 auto;padding-top:5px;*zoom:1;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.lb-dataContainer:after{content:"";display:table;clear:both}.lb-data{padding:0 4px;color:#ccc}.lb-data .lb-details{width:85%;float:left;text-align:left;line-height:1.1em}.lb-data .lb-caption{font-size:13px;font-weight:700;line-height:1em}.lb-data .lb-caption a{color:#4ae}.lb-data .lb-number{display:block;clear:left;padding-bottom:1em;font-size:12px;color:#999}.lb-data .lb-close{display:block;float:right;width:30px;height:30px;background:url(//klisdk.newsite.dk/wp-content/themes/klis/inc/img/close.png) top right no-repeat;text-align:right;outline:none;filter:alpha(opacity=70);opacity:.7;-webkit-transition:opacity .2s;-moz-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s}.lb-data .lb-close:hover{cursor:pointer;filter:alpha(opacity=100);opacity:1}.filer{display:grid;gap:1rem;margin-bottom:2rem}.file{border:var(--border);border-radius:.5rem;display:grid;text-decoration:none;line-height:1.2;position:relative}.file img{border-radius:.5rem 0 0 .5rem}.file:hover .extension{background:var(--farve3)}.file.has-img{grid-template-columns:1fr 5fr}@media(min-width:500px)and (max-width:800px){.filer{grid-template-columns:1fr 1fr}}@media(width>1100px){.filer{grid-template-columns:1fr 1fr}.file.has-img{grid-template-columns:1fr 3fr}}.file-body{padding:.5rem}.file-body__title{font-size:.9rem}.file-body__decs{margin-top:.5rem;font-size:.75rem}.extension{line-height:1;position:absolute;border-radius:.5rem;bottom:-14px;right:10px;background:var(--farve2);padding:6px 8px;border:var(--border);font-size:.7rem;transition:.5s background}.nav-login,.menu-login{display:flex;justify-content:right;align-items:center}.menu-login{margin:0;padding:0;width:0;overflow:hidden;transition:.5s;gap:.5rem}.menu-login a{display:flex;justify-content:center}.nav-login input:checked~.menu-login{width:180px}.nav-login input{width:65px;height:40px;line-height:40px;cursor:pointer}.nav-login input:after{content:"Logins //";display:block}.nav-login input:checked:after{opacity:.5}.role-editor #wp-admin-bar-comments,.role-editor #wp-admin-bar-new-post,.role-editor #wp-admin-bar-wpseo-menu,.role-editor #wp-admin-bar-wp-logo,.role-editor #wp-admin-bar-search{display:none}nav ul{margin:0;padding:0}nav ul li{list-style:none}.menu-con{margin-block:1rem;background:#757575;overflow:hidden;height:0;visibility:hidden}.menu-con.active{visibility:visible;height:auto;margin-bottom:2rem}.menu-inner{max-width:var(--page-width);margin:0 auto;padding:var(--gap);transform:translateY(-100%);transition:1s all}.active .menu-inner{transform:translateY(0);transition:1s all}.main-menu{font-size:1.2rem;width:100%;font-weight:200;display:grid;gap:var(--gap)}.main-menu .first-lvl>li:first-of-type a{text-transform:uppercase;font-weight:500;padding-bottom:.5rem;margin:0 0 .5rem;font-size:1.2rem}.main-menu a{text-decoration:none;display:block;border-bottom:1px solid hsla(0,0%,100%,.4);transition:.5s all}.main-menu a:hover{color:hsla(0,0%,100%,.6)}.main-menu a[aria-current=page]{font-weight:600}.main-menu a[aria-current=page]:before{content:"→";font-weight:400;padding-right:2px;animation:blink 1.5s infinite}.main-menu ul ul a{padding-left:.7rem}@keyframes blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}@media(width>550px){.menu-con{border-radius:1rem}.main-menu{grid-template-columns:repeat(auto-fit,minmax(215px, 5fr))}.main-menu a{font-size:.9rem;line-height:1.1;padding-block:.4rem}}.menu__quick{background:hsla(0,0%,100%,.05);padding:var(--gap);color:#222;margin-bottom:var(--gap);border:1px solid hsla(0,0%,100%,.2);border-radius:8px}.menu__quick .login{transform:none}.menu__quick a{text-decoration:none}@media(width>800px){.menu__quick{display:none}}.menu__search{display:flex;flex-flow:column;gap:var(--gap);margin-top:var(--gap)}.menu__info{padding:var(--gap);margin-top:var(--gap);background:var(--body-bg);display:grid;gap:1rem}.menu__info p{margin:0}@media(width>600px){.menu__search{flex-flow:row}.menu__info{border-radius:1rem;grid-template-columns:1fr 1fr}}