/*  Author:   Martin Stettler (https://dieweberei.ch/)
    Version:  05/04/2021 // based on BS v4.6.0
*/

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

/* Bootstrap CSS */
html {
    scroll-behavior: smooth;
    /* do not delete */
}

body {
    margin: 0;
    font-family: 'Encode Sans Semi Expanded', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    text-align: left;
    background-color: #f0f0f0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

/* Search */
.layout-search header {
    height: 20vh;
}

.layout-search .main {
    margin-bottom: 40vh;
}

.search-form {
    margin-top: 5.678233438485805vw;
}

.layout-search h1 {
    margin-bottom: 50px;
}

input.search-field {
    background: #f0f0f0;
    border: 1px solid #000;
    padding: 2px 5px;
    margin-right: 10px;
}

input.search-btn {
    border: 1px solid #000;
    background: #000;
    color: #FFF;
}

input.search-btn:hover {
    border: 1px solid #fee000;
    background: #fee000;
    color: #000;
}

.search-results li {
    padding-bottom: 30px;
    margin: 30px 0;
    border-bottom: 1px solid #000;
}

em.keyword {
    font-style: normal;
    background: #fee000;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    letter-spacing: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
img,
ul,
.card-body {
    margin-bottom: 25px;
}

h1,
.lead h1,
h2 {
    font-size: 42px;
    font-size: calc(28px + (42 - 28) * (100vw - 320px)/(1440 - 320));
    font-weight: 600;
    text-transform: uppercase;
}

h3,
.lead h3,
h3 a {
    font-size: 32px;
    font-size: calc(21px + (32 - 21) * (100vw - 320px)/(1440 - 320));
    font-weight: 400 !important;
    text-transform: uppercase;
}

.card-body h3 {
    border-top: 1px solid #000;
    text-align: center;
    padding-top: 15px;
}

p,
.lead p {
  font-size: 16px;
  font-weight: 400;
}

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

b,
strong {
    font-weight: 700;
}

br {
    line-height: 1.5;
}

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

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

.main a {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

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

.main a:after {
    position: absolute;
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    left: 0;
    content: "";
    display: block;
    height: 2px;
    background: #000;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

.main a:hover:after {
    color: #000;
    width: 100%;
    left: 0;
}

.main .article-special a,
.main .article-special a:hover,
.main .article-special a:hover:after {
    color:  #FFF;
}

.main .article-special a:after {
    background:  #FFF;
}

.main .article-half a[href^="mailto:"] {
    font-weight:  400;
}

.insta-widet a:hover {
    text-decoration: none !important;
}

.main a.call:hover:after,
.main .card-body a.no-border:hover:after,
.insta-widet a:hover:after {
    color: transparent;
    width: 0 !important;
}

.link-element a:before {
    content: '>';
    margin-right: 5px;
}

i.icon {
    font-size:  32px;
    font-size:  26px;
}

.main ul {
    margin: 0 0 25px 0;
    padding: 0;
}

.main li {
    list-style: none;
    padding-left: 20px;
    font-size: 16px;
}

.main li:before {
    position: relative;
    display: block;
    top: 0;
    left: -20px;
    height: 0;
    content: "–";
}

.layout-search .main li {
    padding-left: 0;
}

.layout-search .main li:before {
    left: 0;
    content: "";
}

p + ul {  
   margin-top: -25px;
}

.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,
.main .article-special a[href$=".pdf"]:before,
.main .article-special a[href$=".doc"]:before,
.main .article-special a[href$=".docx"]:before,
.main .article-special a[href$=".xls"]:before,
.main .article-special a[href$=".xlsx"]:before {
    content: "";
    display: inline-block;
    width: 21px;
    height: 19px;
    background-image: url(../img/file-icon.svg);
    background-color: transparent;
    color: #000;
    position: relative;
    margin: 0 8px 0 0;
}

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

/* Phone */
a[href^="tel"]:hover {
    cursor: pointer !important;
}

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

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

.fullsize-image {
    position: relative;
}

.fullsize-image img {
    width: 100%;
    height: auto;
    margin-bottom: 0;
}

.logo {
    position: fixed;
    top: 0;
    left: 75px;
    width: 80px;
    height: 70px;
    z-index: 1085;
}

.logo span {
    display: block;
    width: 80px;
    height: 70px;
    background: url(../img/logo-seka.svg);
    text-indent: -9999px;
}

.makeover .logo span {
    display: block;
    width: 80px;
    height: 70px;
    background: url(../img/logo-seka-makeover.svg);
    text-indent: -9999px;
}

.overlay .logo span {
    -webkit-box-shadow: none; 
    box-shadow: none;
}


.claim p {
    position: absolute;
    bottom: 2.5vw;
    left: 75px;
    font-size: 60px;
    font-size: calc(14px + (60 - 14) * (100vw - 320px)/(1440 - 320));
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin:  0;
    display: none;
}

@media (min-width:  481px) {
    .claim p {
        display: block;
        
    }
}

.claim br {
    line-height: 1.1;
}


.social {
    text-align: right;
    margin-right: 7.5px;
    padding: 12px 0;
}

.social li {
    display: inline-block;
    padding: 0 6px;
    list-style: none;
}

.social li a {
    color: #000;
}

.social li a:hover {
    color: #fee000;
}

.social i .icon {
   font-size:  45px !important;
}

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

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

.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 {
    position: absolute;
    background: #000;
    border: none;
    height: 5px;
    width: 100%;
    top: 0;
    left: 0;
    transition: all .35s ease;
    cursor: pointer;
}

.button_container:hover span,
.button_container.active:hover span {
    background: #fee000;
}

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

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

.overlay {
    position: fixed;
    background: rgba(255, 255, 255, 0.85);
    top: 0;
    left: 0;
    width: auto;
    height: 0;
    padding: 70px 27px 5px 27px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    z-index: 1080;
}

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

@media (max-width: 992px) and (orientation:landscape){
    .overlay {
        width: 100%;
        overflow: scroll;
    }

    .overlay.open {
        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.open li:nth-of-type(5) {
    animation-delay: .55s;
}

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

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

.overlay nav {
    position: relative;
}

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

.overlay ul li {
    position: relative;
    display: block;
    opacity: 0;
}

.overlay ul li a {
    position: relative;
    display: inline-block;
    font-size: 28px;
    font-size: calc(21px + (28 - 21) * (100vw - 320px)/(1440 - 320));
    font-weight: 500;
    color: #000;
    text-decoration: none;
    overflow: hidden;
}

.overlay ul li a:after {
    position: absolute;
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    left: 0;
    content: "";
    display: block;
    height: 4px;
    background: #000;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

.overlay ul li a:hover:after,
.overlay ul li.active a:after {
    color: #000;
    width: 100%;
    left: 0;
}

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

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

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.unit {
    margin-top: 5.678233438485805vw;
    margin-bottom: 5.678233438485805vw;
}

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

.padding-160 {
    padding: 0 7.5px;
}

.padding-left-160 {
    padding-left: 7.5px;
}

.padding-0 {
    padding: 0;
}

.padding-right-0 {
    padding-right: 0;
}

.slider-container .padding-right-0 {
    padding-right: 22.5px;
}

.lead {
    padding: 0 7.5px;
}

.button-call {
    display: block;
    width: 150px;
    height: 150px;
    background: url(../img/button-call.svg);
    text-indent: -9999px;
}

.main a.button-call:hover:after {
    color: transparent;
    width: 0;
}

/* SEKA Teaser */
.card {
  background-color: transparent;
  border: none;
}

.card-body {
  padding: 0;
}

.card-body .card-icon {
    position: relative;
    width: 135px;
    height: 135px;
    margin-bottom: 30px;
}

.card-body .card-icon img {
    display:  block;
    width: 135px;
    height: 135px;
}

/* Swap image on hover (https://codepen.io/Kodakawa/pen/wvBGGYW) */
.card-icon img {
    position: absolute;
    top:0;
    left:0;
    overflow: hidden;
    width: 135px;
    height: 135px;
}

.card-icon .card-icon__front-image {
  z-index: 1070;
  transition: opacity .5s linear;
  cursor: pointer;
}

.card-icon:hover > .card-icon__front-image{
  opacity: 0;
}

.card-body h2 {
    border-top: 1px solid #000;
    padding-top: 20px;
    margin-bottom: 35px;
}

.white-article-indented {
    background: #FFF;
    padding: 25px 40px 45px 40px;
}

.white-article-fullwidth {
    background: #FFF;
    padding: 25px 22.5px 45px 22.5px;
}

/* Owl Carousel */
.owl-carousel {
    position: relative;
}

.owl-nav {
    position: absolute;
    display: flex;
    justify-content: center;
    left: 0;
    right: 0;
    bottom: 15px;
}

.owl-prev {
    margin-right: 30px;
}

.owl-next {
    margin-left: 30px;
}

.owl-prev:hover {
    transform: translateX(-5px);
}

.owl-next:hover {
    transform: translateX(5px);
}

.owl-prev span,
.owl-next span {
    content: " ";
    display: block;
    width: 36px;
    height: 33px;
    background-image: url(../img/rwd.svg);
    background-size: 100% 100%;
    text-indent: -9999px;
}

.owl-next span {
    background-image: url(../img/fwd.svg);
}

/* (https://dabblet.com/gist/2590942) */
.article-special {
    position: relative;
    color:  #FFF;
    background: #4D4D4D;
    width: 100%;
    padding-bottom: 56.75%;
}

.article-special > div {
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    padding:  25px;
}

@media (min-width:  768px) and (max-width: 992px) {

    .article-special {
        width: 100%;
        padding-bottom: auto;
    }

    .article-special > div {
        position: relative;
        top: auto; bottom: auto; left: auto; right: auto;
    }
}
/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    margin-top: 40px;
}

.footer {
    position: relative;
    padding: 0 7.5px;
}

footer .social {
    margin: 0 0 0 auto;
}

.watersign {
    position: absolute;
    left: 50%;
    bottom: 0;
    max-width: 100%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 2560px;
    z-index: -1;
}

img.watersign {
    margin-bottom: 0;
}

.logo-footer {
    position: absolute;
    bottom: 0px;
    width: 80px;
    height: 70px;
}

.logo-footer span {
    display: block;
    width: 80px;
    height: 70px;
    background: url(../img/logo-seka.svg);
    text-indent: -9999px;
}

.imprint {
    background-color: #000;
    color: #666;
    padding: 15px 0;
    font-size:  15px;
}

.imprint ul {
    margin-bottom: 0;
}

.imprint li a {
    color: #666;
    text-decoration: none;
}

.imprint li a:hover,
.imprint li a:active {
    color: #fee000;
    text-decoration: none;
}

.imprint li {
    display: inline-block;
    list-style: none;
    padding-right: 10px; }

.imprint li:after {
    margin-left: 10px;
    content: "•"; }

.imprint li:last-child:after {
    content: ""; }

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

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

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

img::selection {
    background: 0 0;
}

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

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

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