/*
Theme Name: BlankSlate Child
Theme URI: https://opencollective.com/blankslate
Template: blankslate
Author: Bryan Hadaway
Author URI: https://opencollective.com/blankslate#section-contributors
Description: Donate: https://opencollective.com/blankslate. Learn: https://blankslate.me/. BlankSlate is the definitive WordPress boilerplate starter theme. I've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability, with no intrusive visual CSS styles added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/bhadaway/blankslate/issues. Thank you.
Tags: accessibility-ready,one-column,two-columns,custom-menu,featured-images,microformats,sticky-post,threaded-comments,translation-ready
Version: 2024.2.1744616084
Updated: 2025-07-01 08:10:44

*/
/* Added 2025-06-27 due to ihpone quirks regarding to not being able to center text */
footer, footer * {
  direction: ltr !important;
  text-align: center !important;
}

body, section {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

p {
    margin-block-start: 0;
    margin-block-end: 0.9rem;
    line-height: 1.5em;
}
#mainwrapper {
    /* max-width: 1600px; removed 2025-06-26 */
    margin: 0 auto;
}
/* misc */
/* image related to page */
.attachment-full.size-full.wp-post-image {
    display: none;
}
.copyright {
    font-size: 1em;
    color: #fff;
    display: block;
    line-height: 1.5em;
    text-align: center;
    margin-top: 1em;
}
h1.entry-title {
    visibility: hidden;
}
ul {
    list-style-type: disc;
    font-size: 1em;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5em;
    padding-left: 2.5em;
}
ul li {
    padding-bottom: 1em;
}
strong {
    font-weight: 700;
}
h1 {
    font-family: 'Poppins';
    padding-top: 0;
    margin-top: 0.5em;
    margin-bottom: 0.3em;
    font-weight: 700;
    font-size: 2.5em;
}
.home h1 {
    font-size: 1.9em;
}
h2, h3 {
    font-family: 'Poppins';
    font-weight: 700;
}
p {
    font-weight: 400;
}
a.rounded-button {
    font-size: 0.85em;
    background: #129f55;
    padding: 0.5em 1em;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    margin-top: 1em;
    transition-duration: 0.5s;
    transition-property: background;
}
.home a.rounded-button {
    font-size: 1em;
}
a.rounded-button:hover {
    background: #000;
}
.home a.rounded-button:hover {
    background: #fff;
    color: #000;
}
.menu-item-has-children > a::after {
    content: " ▼";
    padding-left: 0.8em;
    font-size: 0.75em;
}
form {
    margin: 1em auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2%;
}
form p {
    flex-basis: 48%;
    flex-grow: 0;
    flex-shrink: 0;
}
form p:has(textarea), form p:has(.wpcf7-textarea) {
    flex-basis: 100%;
}
input, textarea, select {
    display: block;
    width: 100%;
    padding: 0.5em 1em;
    font-family: "Poppins", sans-serif;
    font-size: 0.9em;
    color: #333;
    border: 1px solid #333;
    line-height: 0.9em;
    background-color: transparent;
    transition: border-color 0.2s ease-in-out;
    text-align: left;
}
::placeholder {
    color: #333;
    opacity: 1;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #ccc;
}
/* Select specific fix for Firefox */
select {
    background-image: none;
    background-color: transparent;
}
select option {
    color: #000;
}
input[type="submit"] {
    all: unset;
   /* reset everything */
    display: block;
    width: 100%;
    font-size: 0.85em;
    background: #129f55;
    padding: 0.5em 1em;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    margin-top: 1em;
    transition-duration: 0.5s;
    transition-property: background;
}
input[type="submit"]:hover {
    background-color: #000;
    color: #fff;
}
form .rounded-button {
    display: block;
    width: 460px;
    text-align: center;
}
section.map {
    margin: 0 auto 2em;
}
section.map .iframe-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;
}
section.map .iframe-fullscreen iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
main {
    padding-top: 100px;
}
li.current-menu-item a {
    color: #129f55;
}
.sub-menu li a {
    color: #000;
}
header#mainheader {
    /* max-width: 1600px; */
    margin: 0 auto;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.9em 3.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-grow: 0;
    background-color: #000;
    font-size: 1em;
    /* max-height:120px; removed 2025-06-24*/
}
header#mainheader .logo {
    flex: 1 1 auto;
}
header#mainheader .logo img {
    width: 100%;
    max-width: 440px;
    height: auto;
}
header#mainheader .hamburger-wrapper {
    align-self: center;
    margin:0 2em 0 0;
    padding:0;
}
.downarrow {
    font-size: 0.7em;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    font-size: 1.05em;
    font-weight: 600;
}
nav ul li:hover ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
nav ul li {
    display: block;
    float: left;
    padding-right: 2.5em;
    position: relative;
}
nav ul li ul {
    opacity: 0;
    transition-duration: 0.6s;
    transition-property: opacity;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 18px;
    border-top: 6px solid #000;
    background: #fff;
}
nav ul li ul li {
    padding: 0;
    display: block;
    min-width: 220px;
}
nav ul li ul a {
    padding: 0.1em 1.3em 0;
    font-size: 0.85em;
    font-weight: 400;
    color: #000;
    line-height: 3em;
    display: block;
}
nav ul li ul li:hover {
    background-color: #129f55;
}
nav ul li ul li:hover a {
    color: #fff;
}
nav ul li a {
    text-decoration: none;
    color: #fff;
}
section {
    z-index: 1002;
    display: flex;
    padding: 2em;
    margin-bottom: 2em;
    gap: 4%;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-around;
	margin-top:3em; /* added 2025-06-24 */
}
section h2 {
    margin-top: 2em;
    margin-bottom: 0.2em;
    font-size: 1.8em;
}
section h3 {
    margin-top: 1em;
    margin-bottom: 0.5em;
}
section .text-content {
    flex-basis: 48%;
    flex-shrink: 0;
}
section .column {
    position: relative;
    flex-basis: 44%;
    flex-shrink: 0;
}

.column.rightcolumn > img {
	margin-top:1em; /* Added 2025-06-24 */
}
section .column img {
    max-width: 100%;
    height: auto;
}


body.home section .column img {
    display: block;
    margin: 0 auto;
}
section {
    padding: 3em 5em 0;
}
body.home section {
	margin-top:0; /* Added 2025-06-25 */
}

section.welcome {
	margin-top:0; /* Added 2025-06-25 */
}

body.home section.welcome {
    background-color: #000;
    color: #fff;
    padding: 3em 5em 5em;
	margin-top:3em;
}
body.home section.welcome h1 {
    margin-top: 1em;
}
h2 {
    font-size: 1.8em;
}
h3 {
    font-size: 2em;
}
.center {
    text-align: center;
}
h2.center, h3.center {
    text-align: center;
    font-size: 1.8em;
    margin-top: 1.5em;
    margin-bottom: 0.3em;
}
.text-content.fullwidth {
    flex-basis: 100%;
}
.text-content.fullwidth h1 {
    margin-top: 1em;
}
.text-content.fullwidth.center {
    text-align: center;
}
section.our-services {
    display: flex;
    gap: 3%;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
	margin-top:0;  /* Added 2025-06-25 */
	padding-top:0; /* Added 2025-06-25 */
}
body.home section.our-services {
	padding-top:3em; /* Added 2025-06-25 */
}

section.our-services .card-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    align-items: stretch;
}
section.our-services .card-wrapper p {
    padding: 3em 2em 1em;
    font-size: 0.85em;
}
section.our-services .card-wrapper a {
    display: block;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 4em;
}
section.our-services .card-wrapper a:hover {
    color: #129f55;
}
section.our-services .card-wrapper > div:hover .image-wrapper {
    margin-top: -280px;
}
section.our-services .card-wrapper .textoverlay {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
   /* Optional: remove fixed height if not needed */
    text-align: center;
    font-size: 2em;
    font-weight: 700;
    color: #fff;
    transform: translateY(-50%);
    transition-duration: 1s;
    transition-property: margin;
}
section.our-services .card-wrapper > div:hover .textoverlay {
    margin-top: -280px;
}
section.our-services .card-wrapper > div {
    position: relative;
    background-color: #e0e9e4;
    width: 33%;
    margin-bottom: 4%;
    flex-basis: 31%;
    flex-shrink: 1;
    text-align: center;
    outline: 1px dotted #333;
    height: 280px;
    overflow: hidden;
   /* Darken background image */
}
section.our-services .card-wrapper > div a {
    text-transform: uppercase;
}
section.our-services .card-wrapper > div .image-wrapper {
    position: relative;
    transition-duration: 1s;
    transition-property: margin;
    background-position-x: 50%;
    background-position-y: 90%;
    background-size: cover;
    background-repeat: no-repeat;
    height: 280px;
}
section.our-services .card-wrapper > div .image-wrapper img {
    max-width: 100%;
    visibility: hidden;
    height: auto;
}
section.our-services .card-wrapper > div .image-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.20);
    z-index: 1;
}
section.our-services .card-wrapper > div .image-wrapper.kbt-act {
    background-image: url('https://mindcompanion.se/wp-content/uploads/2024/10/mindcompanion-kbt-act-stockholm.jpg');
}
section.our-services .card-wrapper > div .image-wrapper.affektfokuserad-terapi {
    background-image: url("https://mindcompanion.se/wp-content/uploads/2024/10/mindcompanion-affektfokuserad-terapi-stockholm.jpg");
}
section.our-services .card-wrapper > div .image-wrapper.integrativ-terapi {
    background-image: url("https://mindcompanion.se/wp-content/uploads/2024/10/mindcompanion-integrativ-terapi-stockholm.jpg");
}
section.our-services .card-wrapper > div .image-wrapper.kbt-act-for-idrottare {
    background-image: url("https://mindcompanion.se/wp-content/uploads/2024/08/mindcompanion-act-for-athletes2.webp");
}
section.our-services .card-wrapper > div .image-wrapper.parterapi {
    background-image: url("https://mindcompanion.se/wp-content/uploads/2024/08/mindcompanion-parterapi2.webp");
}
section.our-services .card-wrapper > div .image-wrapper.coaching {
    background-image: url("https://mindcompanion.se/wp-content/uploads/2024/10/mindcompanion-coaching-stockholm.jpg");
}
body.home section.about {
    background-color: #e0e9e4;
    padding: 3em 5em 5em;
}
body.home section.about section.about {
    gap: 5%;
}
body.home section.about .text-content {
    flex-basis: 70%;
}
body.home section.about .column {
    flex-basis: 20%;
    align-self: center;
    margin-left: auto;
}
body.home section.about .column img {
    border-radius: 50%;
}
section.contact-us {
    justify-content: center;
}
section.contact-us h1 {
    margin: 0 auto 0.2em;
}
section.contact-us .text-content {
    flex-basis: 50% !important;
}
footer {
    padding-bottom: 2em;
    display: flex;
    background-color: #000;
    width: 100%;
    /* justify-content: space-around; Removed 2025-06-28 */
	justify-content: center; /* Centered text? instead of obscure not knowing where the text is located */
    align-items: center;
    z-index: 1000;
    /* padding: 0.6em 3.5em;  removed 2025-06-25 */  
	padding: 2em 3.5em 3em; /* Added 2025-06-25 */
    flex-wrap: wrap;
    flex-grow: 0;
    font-size: 1em;
}
footer .website-author {
    font-size: 0.8em;
    margin-top: 2.5em;
}
footer .content-wrapper {
    margin-left: auto;
	margin-right: auto; /* Added 2025-06-28 */
}
footer .content-wrapper .social-items {
    margin: 0 auto;
    display: block;
    text-align: center;
}
footer .content-wrapper .social-items a {
    display: inline-block;
    margin-left: 0.2em;
    margin-top: 1em;
}
footer .content-wrapper img {
    max-width: 30px;
    height: auto;
}
footer .content-wrapper nav {
    background-color: #000;
}
footer .content-wrapper ul {
    background-color: #000;
    list-style-type: none;
    padding: 0;
    font-size: 0.9em;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}
footer .content-wrapper ul li {
    float: none;
    line-height: 2em;
    padding: 0;
    margin: 0 0 0.2em;
    display: block;
}
footer .content-wrapper ul li a {
    transition-duration: 0.6s;
    transition-property: color;
}
footer .content-wrapper ul li:hover a {
    color: #129f55;
}
footer h1 {
    margin: 1em auto;
    font-size: 1.6em;
}
footer .text-content {
    flex-basis: 50%;
    text-align: center;
    color: #fff;
    flex-basis: 50%;
}
footer .logo {
    flex-basis: 25%;
    position: relative;
    height: 100px;
}
footer .logo img {
    position: absolute;
    left: 8px;
    top: 0;
    min-width: 33%;
    width: 33%;
    max-width: 33%;
    height: auto;
}
/* responsive */
/* Hamburger button */
.hamburger-wrapper {
    display: none;
    z-index: 100001;
    height: 30px;
    width:40px;
}
#hamburger {
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.line {
    width:24px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}
/* Hamburger animation when open */
#hamburger.open .line1 {
    transform: rotate(45deg) translate(5px, 5px);
}
#hamburger.open .line2 {
    opacity: 0;
}
#hamburger.open .line3 {
    transform: rotate(-45deg) translate(5px, -5px);
}
/* Overlay menu */
.overlay-menu {
    border-bottom: 2px solid #ccc;
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1000;
    transition: opacity 0.3s ease;
}
.hidden {
    display: none;
}
body.menu-open {
    overflow: hidden;
}
.overlay-menu-list {
    list-style: none;
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100vw;
}
.overlay-menu-list li {
    padding: 1em;
}
.overlay-menu-list a {
    display: block;
    padding: 0.1rem 0;
    text-decoration: none;
    font-size: 1em;
    line-height: 1.5em;
    color: #000;
}
.overlay-menu-list li:hover {
    background-color: #129f55;
}
.overlay-menu-list li:hover a {
    color: #fff;
}
.overlay-menu-list .sub-menu {
    padding: 0;
    background-color: aliceblue;
}
.overlay-menu-list .sub-menu li {
    padding: 0;
    display: block;
    min-width: 220px;
}
.overlay-menu-list .sub-menu li a {
    padding: 0.1em 1.3em 0;
    font-size: 0.85em;
    font-weight: 400;
    color: #000;
    line-height: 3em;
    display: block;
    background-color: #fff;
}
.overlay-menu-list .sub-menu li:hover a {
    background-color: #129f55;
    color: #fff;
}
@media (max-width: 1150px) {
    section.our-services .card-wrapper > div {
        flex-basis: 48%;
   }
}
@media (max-width: 1100px) {
    .hamburger-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;        
        display: block;
        width: auto;
        height: auto;        
   }
    .main-navigation.desktop-menu {
        display: none;
   }
    section {
        /* padding-top: 0; removed 2025-06-26 */
        gap: 0%;
        justify-content: center;
		/* margin-top:0; removed 2025-06-26 */
   }
    section .text-content {
        flex-basis: 100%;
   }
    section .column {
        flex-basis: 100%;
   }
    .column img {
        display: block;
        margin: 0 auto;
        width: 100%;
   }
    footer {
        padding-bottom: 2em;
   }
    footer .text-content, footer .content-wrapper {
        text-align: center;
        flex-basis: 100%;
   }
    footer .logo {
        display: none;
   }
    footer .content-wrapper {
        /* margin: 2em 0; Removed 2025-06-28 */
		margin: 2em auto; /* Added 2025-06-28 */
   }
    footer .content-wrapper .social-items {
        margin-top: 2em;
   }
    h1 {
        margin-top: 0.5em !important;
   }

   body h1:first-child {
    /* margin-top:1em !important; removed 2025-06-26 */
	  margin-top:0.5em !important; /* Added 2025-06-26 */
   }

}

@media (max-width: 768px) {
    section.our-services {
        gap: 0;
        padding-left: 3.8em;
        padding-right: 3.8em;
   }
    section.our-services .card-wrapper > div {
        flex-basis: 100%;
   }
    body {
        font-size: 0.9em;
   }
    .home h1 {
        font-size: 2.2em;
   }

    section {
        /* padding: 2em !important; removed 2025-06-25 */
        padding: 0 2em !important;  /* Added 2025-06-25 */
        /* margin-top:0; Added 2025-06-25 Remove 2025-06-26*/
		gap: 0;
        gap: 0;
   }
	body.home section.welcome {
		/* margin-top:2.5em;	 Added 2025-06-26 removed 2025-06-26 */
		margin-top:5em; /*Added 2025-06-26 */
	}
    section .text-content {
        flex-basis: 100% !important;
   }
    section .column {
        flex-basis: 100% !important;
   }
    section.contact-us .text-content {
        flex-basis: 50% !important;
   }
    body.home section.about {
        gap: 0%;
        justify-content: center;
        padding-bottom: 2em !important; /* Added 2025-06-26 */
        padding-top: 2em !important;    /* Added 2025-06-26 */		
   }
    body.home section.about .text-content {
        flex-basis: 100%;
   }
    body.home section.about .column {
        flex-basis: 100%;
   }
    body.home section.about .column img {
        display: block;
        margin: 0 auto;
        width: 80%;
   }
    form p {
        flex-basis: 100%;
   }
    body.home a.rounded-button {
        margin-bottom: 3.5em;
   }

   header#mainheader {
    /* padding:0 1em;  removed 2025-06-26 */
	padding-left:1em;	/* added 2025-06-26 */
	padding-right:1em;  /* added 2025-06-26 */
   }
   
   header#mainheader .logo img {
    width: 100%;
    max-width: 380px;
    height: auto;
    margin: 0;
    display: block;
  }
	
}

/* Added this media-query 2025-06-26 */
@media (max-width: 600px) {
	body.home section.welcome {
		margin-top:4.5em;
	}
}


/* Added this media-query 2025-06-26 */
@media (max-width: 570px) {
	section {
		margin-top:4em;
	}
}

/* Added this media-query 2025-06-26 */
@media (max-width: 360px) {
	body.home section.welcome {
		margin-top:3em;
	}	
	
   body h1:first-child {
    margin-top:0em !important;
   }	
}

/* Added this media-query 2025-06-26 */
@media (max-width: 360px) {
	body.home section.welcome {
		margin-top:4.5em;
	}	
}


