/* CUSTOM CSSS by DFT */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

html {
	--bg: #F8F3E8;
	--text-color: #1F4B31;
	--title-color: #3D6F6E;

	--text-color-inv: #FFFFFF;
    
	--font-primary: Lato, Lato, Arial, sans-serif;
	--font-secondary: 'Instrument Serif', serif;

	--bg-anim: #EEE;

	--bg-btn: #3D6F6E;
	--bg-btn-hover: #294e4e;
    --text-btn: #1F4B31;

	--link-color: #1F4B31;

	--bg-panel: #D0D9C8;
	--bg-panel-alt: #3D6F6E;

	/* --svg-fill: invert(0%); */
	--svg-fill: invert(5%) sepia(27%) saturate(5232%) hue-rotate(201deg) brightness(89%) contrast(108%);
	--logo-fill: none;
}



body {
    background: var(--bg);
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .title-h1h2 h1 {
    color: var(--title-color);
    font-family: var(--font-secondary);
}
.h1, h1 {
    font-size: 3.9rem;
    letter-spacing: -1px;
}
.h2, h2 {
    font-size: 2.8rem;
}
.h3, h3 {
    font-size: 2rem;
    margin: 0;
}
.h4, h4 {
    font-size: 1.5rem;
    line-height: 150%;
}
.h6, h6 {
    font-size: 1.2rem;
    line-height: 150%;
}

p {
    margin: 1.5rem 0;
}

hr {
    border: solid 1px var(--bg-panel);
    margin: 2rem 0;
}

a, a:visited, 
.dropmenu ul li a.active, .dropmenu ul li a:focus, .dropmenu ul li a:hover,
.treemenu li a.active, .treemenu li a:focus, .treemenu li a:hover { color: var(--link-color) !important; }

p a, li a { text-decoration: underline; }

.dropmenu ul li:last-child a {
    border: solid 2px;
    border-radius: 999px;
    margin-top: -2px;
    padding: 5px 20px;
}

a:focus-visible {
    outline: solid 2px #000 !important;
}

.overlay {
    background: var(--bg);
    opacity: 1;
}
.treemenu li {
    background: none;
}
.treemenu li a {
    font-size: 150%;
}

.logo a::after,
button, a.my-btn {
    transition: All 0.3s ease-in-out;
	-webkit-transition: All 0.3s ease-in-out;
	-moz-transition: All 0.3s ease-in-out;
	-o-transition: All 0.3s ease-in-out;
}

button, a.my-btn {
    display: inline-block;
    padding: 18px 32px;
    background: var(--bg-btn);
    color: #FFF !important;
    border-radius: 999px;
    text-decoration: none !important;
    border: none;
    text-align: center;
    font-weight: bold;
}
button:hover, .my-btn:hover {
    background: var(--bg-btn-hover);
    cursor: pointer !important;
}

.my-btn.btnsecond {
    background: none;
    color: var(--link-color) !important;
    border: solid 2px;
}
.my-btn.btnsecond:hover { color: var(--bg-btn-hover) !important; }

.my-btn.btnthird {
    background: none;
    color: var(--link-color) !important;
    padding: 0;
}
.my-btn.btnthird::after {
    content: "\2192";
    margin-left: 8px;
}
.my-btn.btnthird:hover::after {
    margin-left: 16px;
}

.title-center h1, .title-center h2 {
    text-align: left;
}

.container.grid-lg {
    max-width: 1200px;
}
section.section {
    padding-right: 2rem;
    padding-left: 2rem;
}
#hero { margin: 2rem 0 4rem; }
#usp, #reviews, #meet { margin: 4rem 0; }



#header {
    border-bottom: none;
    background: var(--bg);
    padding: 1rem;
    font-size: .8rem;
}
body.header-fixed.header-animated #header.scrolled {
    box-shadow: 0 2px 2px rgba(0, 0, 0, .1);
    height: auto;
}

#header .logo img, #header .logo svg {
    height: 70px;
    float: left;
}
#header .logo a::after {
    content: 'Psychologenpraktijk';
    color: var(--text-color);
    text-transform: uppercase;
    font-weight: bold;
    font-size: .8em;
    margin-left: 0;
    line-height: 72px;
}

body.header-fixed.header-animated #header.scrolled .logo img, body.header-fixed.header-animated #header.scrolled .logo svg {
    height: 40px;
}

body.header-fixed.header-animated #header.scrolled .logo a::after {
    line-height: 38px;
}



#header a {
    color: var(--text-color);
    margin: 4px;
}
#header .desktop-menu a:hover {
    border-bottom: solid 2px;
}
#header a.active {
    border-bottom: solid 2px;
}


#pre-footer {
    padding: 4em 2rem;
    background: #FFF;
}

#pre-footer h2 { margin: 0; }

#footer {
    background: var(--bg-panel-alt) !important;
    text-align: left;
    color: var(--text-color-inv);
    padding: 2rem;
}
#footer h3, #footer h4 { color: var(--bg-panel) !important;}
#footer a { color: var(--text-color-inv) !important; }
#footer a { text-decoration: underline; }
#footer ul { padding:0; margin: 0; list-style: none; }

.ispanel {
    background: var(--bg-panel);
    padding: 28px;
    border-radius: 28px;
}

.isnext {
    background: var(--bg-panel);
    padding: 28px;
    border-radius: 28px;
    margin: 5% 1% !important;
}


#usp .iscol {
    margin-bottom: 4rem;
}

.usp-img {
    text-align: center;
}
.usp-img img {
    width: 120px;
}


.pricing { margin: 4rem 0; }
.pricing b {
    font-size: 150%;
}


.iscarousel {
    white-space: nowrap;
    overflow: auto;
    margin: 0;
    padding: 0;
    scroll-snap-type: x mandatory;
    background: #fffcf5;
    border-radius: 40px;
}
.iscarousel li {
    padding: 0;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    scroll-snap-align: start;
    scroll-margin: 16px;
    max-width: 31%;
    padding: 0;
    text-wrap: auto;
}

.isquote { 
    position: relative;
    text-align: center; 
    background: var(--bg-panel);
    padding: 10%;
    border-radius: 28px;
    margin: 2rem .5rem;
    min-height: 380px;
}
.isquote p {
    font-family: var(--font-secondary);
}
.isquote p {
    vertical-align: bottom;
    position: absolute;
    text-align: center;
    width: 80%;
    bottom: 0;
}

.iscol.hasimg { position: relative; }
.iscol.hasimg img {
    max-width: 90%;
    margin: 5%;
    border-radius: 28px;
}
.iscol.hasimg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bg-panel);
    width: 90%;
    height: 90%;
    z-index: -1;
    border-radius: 28px;
}
.iscol.cas::after {
    left: auto;
    right: 0;
}

.title-centered { text-align: center !important; }


.isblock { margin: 4rem 0; }
.isblock h2, .isblock h3, #meet .isblock h6 { margin-top: 0; }

.iscol {
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
    overflow-wrap: break-word;
}

.col-50 { width: 47%; margin: 0 1%; }
.col-33 { width: 31%; margin: 0 1%; }
.col-65 { width: 63%; margin: 0 1%; }

.col-rev { float: left; }

form input, form textarea {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    border: solid 1px var(--bg-panel);
}
.notices.blue { color: #1a7c9a; }





@media screen and (max-width: 840px) {

    .h1, h1 { font-size: 3rem; }
    .h2, h2 { font-size: 2.5rem; }
    .h3, h3 { font-size: 2rem; }

    .navbar .navbar-brand { display: flex; }
    #header .logo img, #header .logo svg { height: 50px; }
    .mobile-logo img, .mobile-logo svg {
        height: 50px;
        margin-top: 1.3rem;
        margin-left: 1.7rem;
    }
    #header .logo img, #header .logo svg {

    }
    #header .logo a::after { 
        line-height: 52px;
    }

    .mobile-menu .button_container {
        top: 34px;
        right: 30px;
    }
    .mobile-menu .button_container.active {
        right: 30px;
    }
    body.header-fixed.header-animated #header.scrolled~.mobile-menu .button_container {
        top: 1.3rem;
    }

    .mobile-menu .button_container span { 
        background: var(--text-color) !important;
        border-radius: 20px; 
    }

    #hero, #usp, #meet {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .iscarousel { padding: 0 2rem; }
    .iscarousel li {
        max-width: 90%;
    }

    .treemenu li.tree-empty>.toggler { display: none; }
    .treemenu li a {
        padding: 1rem 0;
    }

    .iscol {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    .col-rev { float: none; }

    button, a.my-btn { width: 100%; }
    a.my-btn.btnthird { width: auto; }

}