/*  Author:   Martin Stettler (https://www.dieweberei.ch/)
    Version:  15/09/2019 // BS v4.3.1
*/

/* ==========================================================================
   Browse Happy prompt lte IE 9
   ========================================================================== */

.browsehappy {
    margin: 3px 0;
    background: #CC0033;
    color: #FFF;
    padding: 8px;
}

.browsehappy a {
    color: #FFF;
    text-decoration: underline;
}

.browsehappy a:hover {
    text-decoration: none;
}

/* ==========================================================================
   DEV STYLES
   ========================================================================== 
.col-sm-6,
.col-md-6,
.col-sm-12,
.title-container,
.logo,
.navbar-brand,
.navbar-nav .nav-link,
.col-md-9,
.article-text {
    border: 1px solid #f227f9; } */

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

/* Bootstrap CSS Overrides */
body {
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.4;
    color: #000;
    text-align: left;
    background-color: #FFF;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 8px;
}

h1,
h2,
h3 {
    font-size: 28px;
    font-size: calc(28px + (40 - 28) * (100vw - 320px)/(1440 - 320));
    margin-bottom: 30px;
    color: #358289;
}

h3 {
    margin-bottom: 16px;
}

h3 span {
    display: block;
    font-size: 18px;
    font-size: calc(18px + (24 - 18) * (100vw - 320px)/(1440 - 320));
}


h1,
.title {
    color: #aca14e;
    font-size: 20px
}

h1 {
    color: #ab4b86;
}

.article-text h1,
.article-text h2 {
    color: #ab4b86;
    font-size: 35px;
    font-size: calc(28px + (35 - 28) * (100vw - 320px)/(1280 - 320));
    margin-bottom: 50px;
}

.bg-pink h2 {
    margin-bottom: 0;
}

.article-text h3 {
    color: #358289;
    font-size: 23px;
}

p {
    margin-top: 0;
    margin-bottom: 16px;
}

ul {
    margin-top: 0;
    margin-bottom: 32px;
}

b,
strong {
    font-weight: bold;
}

a:focus,
button:focus {
    outline: none;
}

/* Lists */
.article-full ul,
.article-half ul {
    padding-left: 20px;
}

/*
.article-full li,
.article-half li {
    padding-left: 0;
    list-style: none; }
*/

.main a[href$=".pdf"]:before,
.main a[href$=".doc"]:before,
.main a[href$=".docx"]:before,
.main a[href$=".xls"]:before,
.main a[href$=".xlsx"]:before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 16px;
    background-image: url(../img/file-icon.svg);
    background-color: transparent;
    color: #000;
    position: relative;
    margin: 0 8px 0 0;
}

.main a[href$=".pdf"]:hover:before,
.main a[href$=".doc"]:hover:before,
.main a[href$=".docx"]:hover:before,
.main a[href$=".xls"]:hover:before,
.main a[href$=".xlsx"]:hover:before {
    background-image: url(../img/file-icon2.svg);
}

/* Smooth animations */
a,
a:hover {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
    position: relative;
    background: url(../img/psychologische-beratung-beo-768.jpg) no-repeat center center;
    -webkit-background-size: cover;
    background-size: cover;
}

.left,
.right {
    padding: 15px;
    transition: all 0.25s;
}

.bg img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 70vw;
    height: auto;
    mix-blend-mode: multiply;
}

.h-graphic img {
    width: 100%;
    max-width: 35vw;
    height: auto;
    mix-blend-mode: multiply;
    padding-bottom: 50px;
}

/* ==========================================================================
   FULLSCREEN OVERLAY NAVIGATION (https://codepen.io/KingKabir/pen/QyPwgG)
   ========================================================================== */

.button_container {
    position: fixed;
    top: 20px;
    right: 15px;
    height: 27px;
    width: 35px;
    cursor: pointer;
    transition: opacity .25s ease;
    z-index: 1082;
}

.button_container:hover {
    opacity: .7;
}

.button_container.active .top {
    transform: translateY(0px) translateX(0) rotate(45deg);
    background: #aca14e;
}

.button_container.active .middle {
    opacity: 0;
    background: #aca14e;
}

.button_container.active .bottom {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    background: #aca14e;
}

.button_container span {
    background: #aca14e;
    border: none;
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .35s ease;
    cursor: pointer;
}

.button_container span:nth-of-type(2) {
    top: 11px;
}

.button_container span:nth-of-type(3) {
    top: 22px;
}

.overlay {
    position: fixed;
    background: #ab4b86;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: auto;
    z-index: 1080;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
}

.overlay.open h3 {
    color: #52c6d9;
    margin-top: 24px;
}

.overlay.open .title {
    color: #FFF;
}

.overlay.open li {
    animation: fadeInRight .5s ease forwards;
    animation-delay: .35s;
}

.overlay.open li:nth-of-type(2) {
    animation-delay: .4s;
}

.overlay.open li:nth-of-type(3) {
    animation-delay: .45s;
}

.overlay.open li:nth-of-type(4) {
    animation-delay: .50s;
}

.overlay nav {
    position: relative;
}

.overlay ul {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
}

.overlay ul li {
    position: relative;
    display: block;
    margin-bottom: 1vh;
    opacity: 0;
}

.overlay ul li a {
    display: block;
    position: relative;
    color: #aca14e;
    font-size: 24px;
    text-decoration: none;
    overflow: hidden;
}

.overlay ul li a:hover {
    color: #FFF;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}

.title {
    margin-bottom: 10vh;
}

/*.anchor {
    display: block;
    height: 55px;
    margin-top: -55px;
    visibility: hidden; }*/

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */

/*.topic-container {
    padding-top: 3vw;
    padding-bottom: 3vw; }

.article-full img,
.article-half img {
    display: block;
    width: 100%;
    height: auto;
    padding-top: 15px;
    padding-bottom: 15px; }

.article-full img {
    display: block;
    margin: 0 auto; }*/

.green-font {
    color: #358289;
}

.pink-font {
    color: #ab4b86;
}

.bg-pink h2,
.bg-pink p,
.bg-pink ul {
    color: #FFF;
}

.article-text p:last-child {
    margin-bottom: 0;
}

.article-text ul {
    padding-left: 18px;
}

.article-text ul li {
    line-height: 1.2;
    margin-bottom: 8px;
}

.article-text a,
.article-text a:hover {
    color: #ab4b86;
    text-decoration: none;
}

.article-text a:hover {
    color: #358289;
}

a.link-arrow:before {
    content: '>';
    padding-right: 10px;
}


.full-image img {
    width: 100%;
    height: auto;
}

.unit {
    padding-top: 10vw;
    padding-bottom: 0;
}

.bg-pink {
    background-color: #ab4b86;
}

.padding-left.article-text,
.padding-right.article-text,
.padding-left-right.article-text,
.padding-left-right.article-img {
    padding-left: 5vw;
    padding-right: 5vw;
}

.padding-left.article-img,
.padding-right.article-img {
    padding-right: 0;
    padding-left: 0;
}

.unit .padding-left,
.unit .padding-right,
.unit .padding-left-right,
.footer .padding-left-right {
    margin-bottom: 10vw;
}

.unit .padding-left:last-child,
.unit .padding-right:last-child,
.unit .padding-left-right:last-child,
.footer .padding-left-right:last-child {
    margin-bottom: 0;
}

.spacing-pink {
    margin-top: 10vw;
    padding-bottom: 10vw;
}

.full-image {
    padding: 0;
}

.order-text-left .article-text,
.order-text-right .article-text {
    -ms-flex-order: 2;
        order: 2;
}

.order-text-left .article-img,
.order-text-right .article-img {
    -ms-flex-order: 1;
        order: 1;
}

.order-text-left .article-text,
.order-text-right .article-text {
    margin-top: 10vw;
}


.hide-mobile {
    display: none;
}

/* Back to top */
#return-to-top {
    position: fixed;
    bottom: 90px;
    left: 1px;
    display: block;
    display: none;
    width: 14px;
    height: 76px;
    opacity: 1;
    background: url(../img/arrow.svg);
    background-repeat: no-repeat;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top:hover {
    opacity: 0.8;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    margin-bottom: 10vw;
}

.footer .article-text {
    padding-top: 10vw;
}

.footer ul {
    padding-left: 0;
}

.footer ul li {
    list-style: none;
    line-height: 1.4;
    margin-bottom: 0;
}

.link-box li {
    display: inline-block;
    padding-right: 20px;
}

.link-box a {
    color: #358289;
}

.link-box a:hover {
    color: #ab4b86;
}

a[href^="tel:"]:hover {
    cursor: pointer;
}

.small-text {
    font-size: 14px;
}

a.hide {
    color: #358289 !important;
    font-size: 12px;
}

a.hide:hover {
    color: #ab4b86 !important;
    cursor: pointer;
}

/* ==========================================================================
   SELECTION
   ========================================================================== */

::-moz-selection {
    text-shadow: none;
    background: #333;
    color: #FFF;
}

::selection {
    text-shadow: none;
    background: #333;
    color: #FFF;
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: #333;
}

a[href^="tel"],
a[href^="sms"] {
    color: inherit;
    cursor: default;
    text-decoration: none;
}