/*  Author:   Martin Stettler (https://dieweberei.ch/)
    Version:  22/11/2019 // BS v4.3.1
*/

/* ==========================================================================
   DEV STYLES
   ==========================================================================
.unit,
.card-body {
    border: 1px dashed #f227f9;
} */

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

@font-face {
    font-family: "Futura PT W01 Book";
    src: url("../fonts/aafdd021-88d4-41d8-8e15-fe91f83e4b17.woff2") format("woff2"),
        url("../fonts/81d44d4b-ac07-4ad4-8cdd-4df771a3c1c3.woff") format("woff");
}

@font-face {
    font-family: "Futura PT W01 Heavy";
    src: url("../fonts/6650716f-e079-48f1-861d-00f498c16e8e.woff2") format("woff2"),
        url("../fonts/21fe5b07-01c8-4b82-8e0b-2bf22f6481fa.woff") format("woff");
}

/*
This CSS resource incorporates links to font software which is the valuable copyrighted
property of Monotype Imaging and/or its suppliers. You may not attempt to copy, install,
redistribute, convert, modify or reverse engineer this font software. Please contact Monotype
Imaging with any questions regarding Web Fonts:  http://www.fonts.com
*/

/* Bootstrap CSS */

body {
    margin: 0;
    font-family: "Futura PT W01 Book", Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    text-align: left;
    background-color: #fff;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 1px;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
img,
ul {
    margin-bottom: 30px;
}

.unit *:last-child {
    margin-bottom: 0;
}

h1 {
    display: inline-block;
    font-family: "Futura PT W01 Heavy";
    font-weight: normal;
    font-size: 20px;
    text-transform: uppercase;
    padding-bottom: 2px;
    border-bottom: 2px solid #f0d938;
}

h2 {
    font-family: "Futura PT W01 Heavy";
    font-weight: normal;
    font-size: 22px;
    text-transform: uppercase;
}

body.blau h2 {
    text-transform: none;
}

h3 {
    font-size: 16px;
    text-transform: uppercase;
}

body.blau .main h2 {
    margin-bottom: 0;
}

b,
strong {
    font-weight: normal;
    font-family: "Futura PT W01 Heavy";
}

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

a,
a:hover {
    color: #000;
    text-decoration: none;
}

.main a {
    border-bottom: 2px solid #000;
}

.main a:hover {
    border-bottom: 1px solid transparent;
}

.flipper .card .back a {
    border-bottom: 0;
}

.link-element a,
.link-element a:hover,
.flip-btn {
    font-family: "Futura PT W01 Heavy", Arial, sans-serif;
    font-size: 22px;
    border-bottom: 0;
    cursor: pointer;
}

.link-element a:after,
.flip-btn:after {
    content: '>>';
    margin-left: 8px;
}

.link-element a:hover:after,
.flip-btn:hover:after {
    margin-left: 12px;
}

.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);
}

.flipper .card-img img {
  max-width: 100%;
  height: auto;
}

/* Smooth animations */
a,
a:hover,
.arrow-down span,
.arrow-down:hover span,
.arrow-up span,
.arrow-up:hover span,
.link-element a:after,
.link-element a:hover:after,
.flip-btn:after,
.flip-btn:hover:after {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.layout-home header {
    position: relative;
    height: 100vh;
    background: url(../img/a-propos-graphic.svg) no-repeat;
    background-position: calc(100% + 35px) -15px;
    background-size: 100% 100%;
}

.logo {
    position: absolute;
    top: 15px;
    left: 15px;
}

.logo span {
    display: inline-block;
    width: 85px;
    height: 85px;
    background: url(../img/a-propos-logo.svg);
    background-size: 100% 100%;
    text-indent: -9999px;
}

.logo-ad {
    display: inline-block;
    margin-left: 25px;
    margin-bottom: 4px;
    font-size: 18px;

}

.description {
    position: absolute;
    left: 15px;
    bottom: 55px;
    margin-right: 30px;
    font-size: 18px;
}

.description p,
.description p:last-child {
    margin-bottom: 15px;
}

.header-image img {
    height: 100%;
    width: auto;
    overflow: hidden;
}

.arrow-down {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 38px;
    height: 23px;
}

.arrow-down span {
    display: block;
    width: 38px;
    height: 23px;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 38 22.7' style='enable-background:new 0 0 38 22.7;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%232B2B2A;%7D%0A%3C/style%3E%3Crect x='8.7' y='-2' transform='matrix(0.7071 -0.7071 0.7071 0.7071 -4.7298 11.3853)' class='st0' width='5.3' height='26.8'/%3E%3Crect x='13.2' y='8.7' transform='matrix(0.7071 -0.7071 0.7071 0.7071 -0.2353 22.12)' class='st0' width='26.8' height='5.3'/%3E%3C/svg%3E%0A");
}

.arrow-down:hover span {
    transform: translateY(5px);
}

@media (min-width: 481px) {
    .logo {
        top: 30px;
        left: 45px;
    }

    .description {
        left: 45px;
    }


}

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

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

@media (min-width: 481px) {
    .button_container {
        top: 50px;
        right: 45px;
    }
}

.button_container:hover {
    opacity: .7;
}

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

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

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

.button_container span {
    background: #222;
    border: none;
    height: 7px;
    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: #86c1ca;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    z-index: 1080;
}

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

.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;
    height: 70%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    text-align: center;
}

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

.overlay ul li {
    display: block;
    height: 25%;
    height: calc(100% / 4);
    min-height: 50px;
    font-size: 34px;
    font-size: calc(24px + (34 - 24) * (100vw - 320px)/(1440 - 320));
    font-family: "Futura PT W01 Heavy";
    position: relative;
    opacity: 0;
}

.overlay ul li a {
    display: block;
    position: relative;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
}

.overlay ul li:last-child a {
    text-transform: none;
}

.overlay ul li a:hover:after,
.overlay ul li a:focus:after,
.overlay ul li a:active:after {
    width: 100%;
}

.overlay ul li a:after,
.overlay ul li.active a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    transform: translateX(-50%);
    height: 3px;
    background: #000;
    transition: .35s;
}

.overlay ul li.active a:after {
    width: 100%;
}

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

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

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

body.normal,
body.grafik,
body.blau {
    padding-top: 150px;
}

.main {
    position: relative;
    background: #F0F0F0;
}

.blau .main {
    background: #84c1ca;
}

.grafik .main:after {
    position: absolute;
    content: '';
    bottom: -70px;
    right: 0;
    width: 100%;
    height: 100%;
    background: url(../img/a-propos-graphic-2.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
}

@media (min-width: 481px) {
    .main {
        padding: 45px 90px;
    }
}

.unit {
    margin-top: 15px;
    margin-bottom: 15px;
    z-index: 1060;
}

/* Flipper cards:; https://codepen.io/deadlygeek/pres/xOKyjo */
/* BS */
.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background: transparent; /*#FFF */
    background-clip: border-box;
    border: 0;
    border-radius: 0;
}

.flipper .card {
    background: transparent;
    /* for backside visibility */
    border: 0;
    border-radius: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.flipper .card {
    position: relative;
    width: 100%;
    height: 560px;
    -webkit-transition: 0.6s;
    transition: 0.6s;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.flipper {
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.flipper.flip .card {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.flipper .front,
.flipper .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 560px;
    background: #FFF;
    border: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media (min-width: 400px) {

    .flipper .card,
    .flipper .front,
    .flipper .back {
        height: 620px;
    }
}

@media (min-width: 481px) {

    .flipper .card,
    .flipper .front,
    .flipper .back {
        height: 540px;
    }
}

@media (min-width: 576px) {

    .flipper .card,
    .flipper .front,
    .flipper .back {
        height: 720px;
    }
}

.flipper .front {
    z-index: 2;
    /* for firefox 31 */
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.flipper .back {
    text-align: center;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.flipper .card-body,
.flipper .card .flip-btn {
    background: #FFF;
}

.flipper .card-img {
    border-radius: 0;
    border: 0;
}

.flipper .card-body {
    padding: 5px 15px 3px 15px;
}

.flipper .back .card-body {
    padding-top: 22px;
}

.flipper .card-body img {
    margin-bottom: 15px;
}

.flipper .card-body h3 {
    font-size: 16px;
    text-transform: uppercase;
}

.flipper .card-body p {
    font-size: 20px;
}

.flipper .card .flip-btn {
    position: absolute;
    bottom: 0;
    padding: 5px 15px 15px 15px;
}

.flipper .card .back img {
    width: 58px;
    height: auto;
    margin: 8px 5px;
}

.flipper.portrait .card .back img {
    width: 100%;
    height: auto;
    margin: 0;
}

.flipper .card .back h3,
.flipper .card .back p,
.flipper.portrait .card .back h2,
.flipper.portrait .card .back p {
    text-align: left;
}

.flipper .card .back h3 {
    margin-top: 22px;
    margin-bottom: 0;
}

@media all and (-ms-high-contrast:active), all and (-ms-high-contrast:none) {

    .flipper.flip .card {
        transform: none;
    }

    .flipper .front,
    .flipper .back {
        position: relative;
        backface-visibility: visible;
        -ms-transform: none;
    }

    .flipper .card {
        height: 1000px !important;
    }
    

    .flipper .front,
    .flipper .back {
        height: 600px !important;
    }

    .flipper .back {
        height: 400px !important;
    }

    .flipper .card .back img {
        width: 58px;
        height: 64px;
    }

    .flipper .card-body h3 {
        margin-bottom: 15px;
    }

    .flipper .card .flip-btn {
        display: none;
    }
}
/* Normal cards */
.offer.card {
    background: transparent;
}

.offer.card .card-header img {
    height: 93px;
    width: auto;
}

.card .card-header {
    background: #FFF;
    padding: 0;
    border: 0;
    border-radius: 0;
}

.offer.card .card-header {
    text-align: center;
    padding: 50px 15px;
}

.offer.card.gelb .card-header {
    background: #f1d939;
}

.offer.card.gruen .card-header {
    background: #a7c839;
}

.offer.card.blau .card-header {
    background: #5cb4be;
}

.offer.card.pink .card-header {
    background: #f6bccd;
}

.card .card-body {
    background: #FFF;
    padding: 25px 15px;
}

.card .card-body h2 {
    margin-bottom: 10px;
}

.offer.card .card-body {
    font-size: 16px;
}


/* ==========================================================================
   CONTACT
   ========================================================================== */
.vcard {

    font-size: 22px;
    font-family: "Futura PT W01 Heavy";
}
.fn-name,
.street-address,
.email {
    display: block;
}

#map_canvas {
    height: 400px; }

.help-block {
    margin: 0; }

#contact-form p {
    font-size: 16px;
}

#contact-form .form-group input,
#contact-form .form-group textarea {
    font-size: 22px;
    padding: 10px; 
    height: auto;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    font-weight: normal;
    color: #000;}

label {
    font-size: 16px !important;
    padding-top: 5px;
    padding-left: 0px; }

.form-check-input {
  margin-top: 7px; }

.honeypot {
    display: none; }

#contact-form .list-unstyled li {   /* check default list-style on line 164 */
    padding-left: 0;
    background-color: transparent !important; }

#contact-form .list-unstyled li:before {
    content: ''; }

#success {
    font-weight: normal;
    color: #000;
    border: 0;
    border-radius: 0; }

.alert-success,
.alert-danger {
    border-radius: 0; }

.has-error input,
.has-error textarea {
    border: 1px solid #a40000 !important;
    margin-bottom: 10px; }

.has-error .help-block {
  color: #a40000; }

.col-btn {
    width: 100%;
    padding: 0;
    margin-top: 16px;
}

.btn {
    display: inline-block;
    border-color: transparent;
    font-family: "Futura PT W01 Heavy", Arial, sans-serif;
    font-size: 22px;
    padding: 0;
    color: #000;
    border-radius: 0;
    border: 0;
    -webkit-transition: background linear 300ms; }

.btn:hover,
.btn:focus,
.btn.active {
    color: #000;
    -webkit-transition: background linear 300ms; }

.btn:after {
    content: '>>';
    margin-left: 8px;
}

.messages {
    background: #FFF;
    color: #000; }

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

footer {
    position: relative;
    text-align: center;
    font-size: 16px;
    z-index: 1050;
}


.arrow-up,
footer ul {
    margin: 0 auto;
}

footer ul {
    padding-bottom: 15px;
}

.arrow-up {
    width: 38px;
    height: 23px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.arrow-up span {
    display: block;
    width: 38px;
    height: 23px;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 38 22.7' style='enable-background:new 0 0 38 22.7;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%232B2B2A;%7D%0A%3C/style%3E%3Crect x='-2' y='8.7' transform='matrix(0.7071 -0.7071 0.7071 0.7071 -4.7081 11.3667)' class='st0' width='26.8' height='5.3'/%3E%3Crect x='23.9' y='-2' transform='matrix(0.7071 -0.7071 0.7071 0.7071 -0.2503 22.1287)' class='st0' width='5.3' height='26.8'/%3E%3C/svg%3E%0A");
}

.arrow-up:hover span {
    transform: translateY(-5px);
}

footer ul {
    display: inline-block;
}

footer ul.list-unstyled li {
    display: inline-block;
    margin: 0 15px;
}

footer .list-unstyled.language {
    margin-right: 10px;
}

footer .list-unstyled.language li {
    display: inline-block;
    margin: 0 4px;
}

footer .list-unstyled.language li:first-child:after {
    margin-left: 10px;
    content: '|';
}

/* ==========================================================================
   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;
}