/*
Theme Name: Phuntsok Chö Ling
Version: 1.4.1
Author: Rinus Tamang samen met Claude.ai
Description: Aangepast thema voor Phuntsok Chö Ling
Text Domain: phuntsok-choling

Wijzigingen t.o.v. vorige versie:
- normalize.css bijgewerkt van v5.0.0 naar v8.0.1
- Google Fonts @import verplaatst naar functions.php (betere laadvolgorde + font-display:swap)
- Social icon klassen gecorrigeerd (facebook/twitter waren verwisseld)
- Carousel volledig hersteld (ontbrak in v1.1.2)
- maximum-scale=1.0 verwijderd uit header (beter voor mobiel toegankelijkheid)
*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}

/* =====================================================================
   GLOBALE RESET & BOX-SIZING
   ===================================================================== */
*{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
:active{outline:0}
:focus{outline:0}

/* =====================================================================
   BODY & TYPOGRAFIE
   ===================================================================== */
body{background-color:#fff;opacity:0;transition:all .4s}
body.loaded{opacity:1}
@media only screen and (max-width:768px){body.sesam footer,body.sesam main{display:none}}

a{color:#a8220d;text-decoration:none}
a:hover{text-decoration:underline}

.wrapper{display:inline-block;max-width:1200px;width:100%;text-align:left;position:relative}

body{font-family:Roboto,sans-serif;font-weight:400;color:#292829;font-size:1em}
h1,h2,h3,h4,h5,h6{font-family:'Droid Serif',serif;font-weight:400}

h1{font-size:3.2em}
@media only screen and (max-width:768px){h1{font-size:3em}}
@media only screen and (max-width:425px){h1{font-size:2.8em}}

h2{font-size:2.8em}
@media only screen and (max-width:768px){h2{font-size:2.6em}}
@media only screen and (max-width:425px){h2{font-size:2.4em}}

h3{font-size:2.4em}
@media only screen and (max-width:768px){h3{font-size:2.2em}}
@media only screen and (max-width:425px){h3{font-size:2em}}

h4{font-size:2em}
@media only screen and (max-width:768px){h4{font-size:1.8em}}
@media only screen and (max-width:425px){h4{font-size:1.6em}}

a,ol,p,ul{font-weight:400;font-size:1em;letter-spacing:.1em;line-height:1.8;-webkit-font-smoothing:antialiased;margin-bottom:1.8em}

/* =====================================================================
   FEATURED IMAGE (niet-home pagina's)
   ===================================================================== */
#featuredimage{position:fixed;width:100vw;height:64vh;display:block;z-index:-1;background-size:cover;background-position:center center;background-repeat:no-repeat;transition:opacity .8s;opacity:0;background-color:#a8220d}
.scrolled #featuredimage:before{opacity:0}
.loaded #featuredimage{opacity:1}
#featuredimage:before{position:absolute;left:0;top:0;content:"";width:100%;height:100%;background:rgba(0,0,0,.32);opacity:1;transition:all .4s}
.home #featuredimage{height:100vh}
.home #featuredimage:after{display:block}

/* =====================================================================
   CAROUSEL / HERO SLIDER (homepage)
   ===================================================================== */
#carousel{position:fixed;width:100vw;height:100vh;display:block;z-index:-1;background-size:cover;background-position:center center;background-repeat:no-repeat;transition:opacity .8s;background-color:#000;opacity:0}
.scrolled #carousel:before{opacity:0}
.loaded #carousel{opacity:1}

/* Donkere overlay over de carousel */
#carousel:before{position:absolute;left:0;top:0;content:"";width:100%;height:100%;background:rgba(0,0,0,.32);opacity:1;transition:all .4s;z-index:1;pointer-events:none}

/* Individuele carousel slides */
#carousel .image{position:absolute;left:0;top:0;width:100%;height:100%;background-size:cover;background-repeat:no-repeat;background-position:center center;opacity:0;transition:all 4s}
#carousel .image:nth-child(2){opacity:1}

/* =====================================================================
   HEADER
   ===================================================================== */
header{float:left;width:100vw;height:64vh;display:block;z-index:2;position:relative}
.home header{height:100vh}
.home header:after{content:"";position:absolute;left:50%;bottom:32px;width:0;height:0;border-style:solid;border-width:8px 8px 0 8px;border-color:#fff transparent transparent transparent;transform:translateX(-50%);display:block}

/* Menu balk */
header .menu-header{position:fixed;left:0;top:0;width:100%;height:200px;text-align:center;z-index:99;transition:all .4s;padding:20px 0}
header .menu-header .wrapper{max-width:1600px;height:100%}
header .menu-header .wrapper #menu-header-menu{float:left;display:block;width:100%;margin:0;padding:0;text-align:center}
header .menu-header .wrapper #menu-header-menu li{display:block;text-align:center;width:20%;float:left}
header .menu-header .wrapper #menu-header-menu li.current-page-ancestor,
header .menu-header .wrapper #menu-header-menu li.current_page_item,
header .menu-header .wrapper #menu-header-menu li.current_page_parent{position:relative}
header .menu-header .wrapper #menu-header-menu li.current-page-ancestor a,
header .menu-header .wrapper #menu-header-menu li.current_page_item a,
header .menu-header .wrapper #menu-header-menu li.current_page_parent a{color:#f3842a}
header .menu-header .wrapper #menu-header-menu li a{position:relative;line-height:160px;font-size:1em;letter-spacing:.1em;color:#fff;text-transform:uppercase;padding:0;margin:0;display:inline-block;text-align:center;font-weight:700;-webkit-font-smoothing:antialiased;transition:all .4s}
@media only screen and (max-width:1024px){header .menu-header .wrapper #menu-header-menu li a{font-size:.9em}}
.scrolled header .menu-header .wrapper #menu-header-menu li a{line-height:60px;color:#a8220d}
.scrolled header .menu-header .wrapper #menu-header-menu li a:after{display:block}
header .menu-header .wrapper #menu-header-menu li a:hover{color:#f3842a;text-decoration:none}

/* Logo item (3e menu-item) */
header .menu-header .wrapper #menu-header-menu li:nth-child(3){height:160px;margin:0;padding:0;transition:all .4s}
header .menu-header .wrapper #menu-header-menu li:nth-child(3) a{display:block;width:100%;height:100%;background-image:url(img/pcl-logo.png);background-repeat:no-repeat;background-position:center center;background-size:contain;text-indent:-9000px}
.scrolled header .menu-header .wrapper #menu-header-menu li:nth-child(3){height:60px}
@media only screen and (max-width:768px){header .menu-header .wrapper #menu-header-menu{display:none}}

/* Logo (mobiel) */
header .menu-header .wrapper .logo{position:absolute;left:50%;top:50%;display:none;width:200px;height:100%;background-image:url(img/pcl-logo.png);background-repeat:no-repeat;background-position:center center;background-size:contain;text-indent:-9000px;transform:translateY(-50%) translateX(-50%)}
@media only screen and (max-width:768px){header .menu-header .wrapper .logo{display:block}}

/* Scrolled staat */
.scrolled header .menu-header{background-color:#fff;border-bottom:1px solid #a8220d;height:80px;padding:10px 0}
.scrolled header .menu-header .wrapper .hamburger:before,
.scrolled header .menu-header .wrapper .hamburger:after{background-color:#a8220d}

/* Mobiel menu */
header #menu-mobile-menu{position:absolute;left:0;top:0;width:100vw;height:0;background-color:#fff;z-index:101;margin:0;opacity:0;transition-property:opacity;transition-duration:.4s;overflow:hidden;list-style:none;padding:0;display:none}
header #menu-mobile-menu li a{margin:2px 0;padding:3px 0;display:inline-block;position:relative}
header #menu-mobile-menu li a:active,
header #menu-mobile-menu li a:hover{text-decoration:none}
header #menu-mobile-menu li ul{list-style:none;margin:0;padding:0}
header #menu-mobile-menu li ul li{padding-left:20px;position:relative}
header #menu-mobile-menu li ul li:before{content:'';width:12px;height:2px;background-color:#f3842a;position:absolute;left:0;top:50%;transform:translateY(-50%)}
header #menu-mobile-menu li ul li a{color:#f3842a}
header #menu-mobile-menu li.current_page_item > a{position:relative}
header #menu-mobile-menu li.current_page_item > a:after{content:'';width:100%;height:2px;background-color:#f3842a;position:absolute;left:0;bottom:0}
header #menu-mobile-menu.sesam{height:auto;overflow:visible;opacity:1}
@media only screen and (max-width:768px){header #menu-mobile-menu.sesam{padding:80px}}
@media only screen and (max-width:425px){header #menu-mobile-menu.sesam{padding:60px 32px}}
@media only screen and (max-width:768px){header #menu-mobile-menu{display:block}}

/* Hamburger */
header .hamburger{position:fixed;right:40px;top:24px;width:32px;height:32px;display:none;transition-timing-function:linear;z-index:102}
header .hamburger:before{content:"";width:24px;height:2px;background-color:#fff;position:absolute;top:12px;left:4px;transition:all .4s;transition-delay:.1s}
header .hamburger:after{content:"";width:24px;height:2px;background-color:#fff;position:absolute;bottom:12px;left:4px;transition:all .4s}
header .hamburger.sesam:before{background-color:#a8220d;top:15px;transform:rotate(-135deg)}
header .hamburger.sesam:after{background-color:#a8220d;bottom:15px;transform:rotate(-45deg)}
@media only screen and (max-width:768px){header .hamburger{display:block}}
.scrolled header .hamburger:before,
.scrolled header .hamburger:after{background-color:#a8220d}

/* =====================================================================
   MAIN CONTENT
   ===================================================================== */
main{float:left;width:100%;display:block;background-color:#fff;z-index:99}

main .content{float:left;display:block;margin:20px 0;width:100%;text-align:center;padding:40px 80px}
@media only screen and (max-width:768px){main .content{margin:10px 0;padding:10px 40px}}
@media only screen and (max-width:425px){main .content{margin:10px 0 20px;padding:10px 20px}}
main .content .wrapper{max-width:960px}

main .content a,main .content a:visited{transition:all .4s;border-bottom:2px solid #a8220d}
main .content a:hover,main .content a:visited:hover{text-decoration:none;background-color:#fbd7bb}

main .content img.alignleft{float:left;display:inline;width:40%;height:auto;margin:4px 20px 20px 0}
main .content img.alignright{float:right;display:inline;width:40%;height:auto;margin:4px 0 20px 20px}
main .content img.aligncenter{clear:both;text-align:center;width:60%;height:auto;margin:20px auto;display:block}
main .content hr{float:none;width:100%;display:block;padding:20px 0;border:none}
main .content h2.large a{border:none}

main .map{float:left;width:100%;height:300px;display:block;margin:40px 0 0}

/* Intro tekst op carousel slides */
main .intro{position:absolute;left:0;top:-364px;padding-bottom:60px;z-index:10;width:90%}
main .intro h3,main .intro p{color:#fff;line-height:1;margin:0 0 16px;padding:0;width:80%;white-space:normal;text-overflow:inherit;overflow:visible}
main .intro h3.datum,main .intro p.datum{margin:0 0 8px;text-transform:uppercase;line-height:1.6;white-space:normal;overflow:auto}
@media only screen and (max-width:425px){main .intro h3.datum,main .intro p.datum{font-size:.8em}}
@media only screen and (max-width:425px){main .intro h3,main .intro p{width:100%}}
main .intro a.button{display:inline-block;float:left;padding:8px 16px;margin:0 20px 0 0;color:#fff;border-color:#fff;border-style:solid;border-width:1px;text-transform:uppercase;font-size:.8em}
main .intro a.button:hover{background-color:rgba(0,0,0,.2)}
@media only screen and (max-width:425px){main .intro a.button{width:100%;margin:10px 0;text-align:center;padding:10px 16px}}
@media only screen and (max-width:425px){main .intro{width:100%}}

/* Knoppen */
main a.button{display:inline-block;float:left;padding:8px 16px;margin:0 20px 0 0;color:#a8220d;border-color:#a8220d;border-style:solid;border-width:1px;text-transform:uppercase;font-size:.8em}
main a.button:hover{background-color:#fbd7bb}
@media only screen and (max-width:425px){main a.button{width:100%;margin:10px 0;text-align:center;padding:10px 16px}}

/* =====================================================================
   AGENDA
   ===================================================================== */
main .agenda{float:left;display:block;width:100%}
main .agenda .agenda-item{float:left;display:block;width:49%;padding-bottom:40px;margin-bottom:40px;border-bottom:1px dotted #939598;margin-right:1%}
main .agenda .agenda-item h3,main .agenda .agenda-item p{color:#292829;line-height:1;margin:0 0 16px;padding:0}
main .agenda .agenda-item h3.datum,main .agenda .agenda-item p.datum{margin:0 0 8px}
main .agenda .agenda-item h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
main .agenda .agenda-item p{width:80%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
main .agenda .agenda-item p.datum{white-space:normal;overflow:auto;width:100%}
@media only screen and (max-width:425px){main .agenda .agenda-item p.datum{font-size:.8em}}
@media only screen and (max-width:425px){main .agenda .agenda-item p{width:100%;line-height:1.6}}
main .agenda .agenda-item:nth-of-type(even){margin-left:1%;margin-right:0}
@media only screen and (max-width:768px){main .agenda .agenda-item:nth-of-type(even){width:100%;margin:0 0 40px}}
@media only screen and (max-width:768px){main .agenda .agenda-item{width:100%;margin:0 0 40px}}
main .agenda hr{width:100%;display:block;float:left;height:1px;margin:0;padding:0}
@media only screen and (max-width:768px){main .agenda{margin:40px 0 20px}}

/* =====================================================================
   TEKST & CONTENT BLOKKEN
   ===================================================================== */
main .text{padding:40px 0;float:left}
@media only screen and (max-width:768px){main .text{padding:0 0 40px}}

main .content-blok{float:left;width:100%;display:block;position:relative;margin:40px 0}
main .content-blok.fotolinks .image{float:left}
main .content-blok.fotolinks .text{float:left;padding:0 0 0 40px;margin:0}
@media only screen and (max-width:768px){main .content-blok.fotolinks .text{padding:0}}
main .content-blok.fotorechts .image{float:right}
main .content-blok.fotorechts .text{float:right;padding:0 40px 0 0}
@media only screen and (max-width:768px){main .content-blok.fotorechts .text{padding:0}}
main .content-blok .image{width:50%;padding-top:32%;background-size:cover;background-repeat:no-repeat;background-position:center center}
@media only screen and (max-width:768px){main .content-blok .image{padding-top:56%}}
main .content-blok .text{position:relative;width:50%}
main .content-blok .text h3{margin:20px 0}
@media only screen and (max-width:768px){
    main .content-blok{margin:20px 0 60px}
    main .content-blok .image{width:100%}
    main .content-blok .text{width:100%}
}

/* =====================================================================
   EVENTS TEMPLATE
   ===================================================================== */
.page-template-template-events .agenda{width:100%}
.page-template-template-events .agenda .agenda-item{position:relative;float:left;display:block;width:100%;padding:0 0 40px 200px;margin-bottom:40px;border-bottom:1px dotted #939598;margin-right:0}
.page-template-template-events .agenda .agenda-item h3{white-space:normal;overflow:visible;text-overflow:inherit}
.page-template-template-events .agenda .agenda-item p{width:100%;white-space:normal;overflow:visible;text-overflow:inherit;line-height:1.6}
.page-template-template-events .agenda .agenda-item .item-image{content:'';width:180px;height:180px;background-color:#eee;position:absolute;left:0;top:0;background-size:cover;background-position:center center;background-repeat:no-repeat}
@media only screen and (max-width:425px){.page-template-template-events .agenda .agenda-item .item-image{width:100%;height:180px}}
.page-template-template-events .agenda .agenda-item:nth-of-type(even){width:100%;margin:0 0 40px}
@media only screen and (max-width:768px){.page-template-template-events .agenda .agenda-item{width:100%;margin:0 0 40px}}
@media only screen and (max-width:425px){.page-template-template-events .agenda .agenda-item{padding:200px 0 40px 0}}
@media only screen and (max-width:768px){.page-template-template-events .agenda{margin:40px 0 20px}}

/* =====================================================================
   FOOTER
   ===================================================================== */
footer{float:left;position:relative;width:100%;padding:0;height:auto;display:block;background:#a8220d;text-align:center}
footer .menu{float:left;width:100%;list-style:none;margin:60px 0}
footer .menu li{float:left;width:33.33333%}
footer .menu li a{color:#fff;font-weight:700}
footer .menu li ul{width:100%;margin:0;padding:0;list-style:none}
footer .menu li ul li{width:100%;margin:0;padding:0}
footer .menu li ul li a{font-weight:200}
@media only screen and (max-width:768px){footer .menu li{width:50%;margin-bottom:40px}}
@media only screen and (max-width:425px){footer .menu li{width:100%}}

footer .footer-bottom{float:left;text-align:center;position:relative;width:100%;padding:0 32px 60px;color:#fff}
footer .footer-bottom p{font-size:.9em;text-align:center}
footer .footer-bottom p a{color:#fff}
footer .footer-bottom p a:hover{text-decoration:none;border-bottom:1px solid #f3842a}
footer .footer-bottom .socials{position:absolute;bottom:30px;left:50%;width:60px;height:24px;transform:translateX(-50%)}
footer .footer-bottom .socials .social{position:absolute;top:0;width:24px;height:24px;text-indent:-9000px;line-height:1;padding:0;margin:0;background-size:contain;background-repeat:no-repeat;background-position:center center;opacity:.8;transition:all .4s}
/* LET OP: facebook en twitter icons waren verwisseld — hieronder gecorrigeerd */
footer .footer-bottom .socials .social.facebook{left:0;background-image:url(img/facebook.svg)}
footer .footer-bottom .socials .social.twitter{right:0;background-image:url(img/twitter.svg)}
footer .footer-bottom .socials .social:hover{opacity:1}
