/*  Author:   Martin Stettler (http://dieweberei.ch/)
    Version:  22042018
*/

/* ==========================================================================
   DEV STYLES
   ========================================================================== 
.col-sm-4 {
    border: 1px dashed #ff00ff; }*/

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

* {
    box-sizing: border-box; }
    
html,
body,
ul { /* ul to be help-block full left */
    margin:0;
    padding:0;
    background-color: transparent; /* color def for form */
    font: normal 16px 'Encode Sans Semi Expanded', Arial, sans-serif; /* no color def for form! */
    line-height: 1.2; }

body.makeover {
    background-image: url(../img/bg-makeover.jpg);
    background-size: contain; }

li {
    list-style-type: none; } /* for text-danger in form */

h1,
h2,
h3,
h4,
em {
    margin: 0;
    padding: 0; }

p {
    margin: 0 0 10px; /* Bootstrap */
    line-height: 1.4; }
a,
a:hover,
a:active,
a:visited,
.overlay a,
.overlay a:hover,
.content a,
.contant a:hover {
    text-decoration: none !important;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
        transition: all 0.5s; }

/* Smooth scaling */
header,
header.shrink,
.button,
.button.shrink,
a.navbar-brand span,
a.navbar-brand.shrink span {
     -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
        transition: all 0.5s; }

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

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

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

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

/* ==========================================================================
   HTML-EDITOR (REDACTOR)
   ========================================================================== */

@media only screen and (min-width: 768px) {
    
    .flex-container {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
            display: flex;
        -ms-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
            flex-wrap: wrap; } 

    /* for Safari to wrap elements correctly */
    .flex-container:before,
    .flex-container:after {
        content: normal; }  
}

h1 {
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 25px;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
        hyphens: auto; }

#layout-content-image h1,
#layout-content h1 {
    font-weight: 600; }

h1 em {
    display: block;
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    margin-top: 15px; }

#layout-content-image h1 em,
#layout-content h1 em {
    font-size: 18px; }

h2 {
    font-size: 42px;
    margin-bottom: 25px;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
        hyphens: auto; }

h2 em {
    display: block;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    margin-top: 15px; }

h3,
h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8; }

p,
.article-slim ul,
.article-wide ul  {
    margin-bottom: 25px; }

p:last-child {
    margin-bottom: 0; }

p strong {
    font-weight: 600; }

.content-main p a,
.content-main p a:visited,
.content-sup p a,
.content-sup p a:visited {
    color: #FFF;
    background: #000;
    padding: 0 2px; }

.content-main a:hover,
.content-main a:active,
.content-sup a:hover,
.content-sup a:active {
    color: #000;
    background: transparent; }

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

.content-main a[href$=".pdf"],
.content-main a[href$=".doc"],
.content-sup a[href$=".pdf"],
.content-sup a[href$=".doc"] {
    font-weight: 600;
    background-color: transparent;
    color: #000; }

h4 a,
h4 a:hover {
    color: #000 !important; }

.article-slim li,
.article-wide li,
.article-slim a,
.article-wide a {
    text-align: left;
    line-height: 1.4; }

.article-slim li,
.article-wide li {
    list-style: none;
    padding-left: 15px; }

.article-slim li:before,
.article-slim li:before {
    position: relative;
    top: 0;
    left: -15px;
    height: 0;
    display: block;
    content: "–";
    color: #000; }

/* ==========================================================================
   HEADER (Navigation containers & Logo)
   ========================================================================== */

header.shrink,
#layout-content header  {
    height: 70px;
    background: #FFF;
    border-bottom: 1px solid #000; }

a.navbar-brand span {
    display: block;
    text-indent: -9999px;
    width: 212px;
    height: 130px;
    background-image: url(../img/seka-old.svg);
    background-size: 212px 130px;
    background-repeat: no-repeat; }

a.navbar-brand.shrink span {
    width: 160px;
    height: 98px;
    background-size: 160px 98px; } 

header {
    position: fixed;
    right: 0;
    left: 0;
    height: 70px;
    background: #FFF;
    z-index: 1030; }

header.shrink,
#layout-content header  {
    height: 70px;
    border-bottom: 1px solid #000; }

a.navbar-brand span,
.makeover a.navbar-brand span {
    display: block;
    text-indent: -9999px;
    width: 100px;
    height: 88px;
    background-image: url(../img/seka.svg);
    background-size: 100px 88px;
    background-repeat: no-repeat; }

.makeover a.navbar-brand span {
    background-image: url(../img/seka-makeover.svg); }

a.navbar-brand.shrink span,
.makeover a.navbar-brand.shrink span {
    width: 100px;
    height: 88px;
    background-size: 100px 88px; }

.navbar-brand,
.makeover .navbar-brand {
    margin-top: 20px;
    padding: 0;
    color: #000; }

.makeover .navbar-brand {
    margin-top: 10px; }

.image-container {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 70px; }

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

.title-container {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 10vw;
    text-align: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center !important;
        align-items: center !important;
    -ms-flex-pack: center !important;
        justify-content: center !important; }

.title {
    font-weight: 300;
    color: #fee200;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 10px; }

.title strong {
    color: #000;
    font-weight: 300; }

.description {
    font-weight: 300;
    color: #000;
    font-size: 21px; }

/* Tablet */
@media (min-width: 525px) {
    .title-container {
        position: absolute; }

    .title {
        font-size: 36px;
        font-size: calc(36px + (67-36) * (100vw - 768px) / (2500 - 768)); }

    .title strong {
        color: #FFF; }

    .description {
        font-size: 23px;
        font-size: calc(23px + (39-23) * (100vw - 768px) / (2500 - 768));
        color: #d0d0c9; }
}

@media (min-width: 992px) {
    header {
        height: 70px; }

    a.navbar-brand span {
        width: 160px;
        height: 140px;
        background-size: 160px 140px; }

    .makeover a.navbar-brand span {
        width: 180px;
        height: 158px;
        background-size: 180px 158px; }

    .image-container  {
        padding-top: 70px; }

    .title {
        font-size: 67px;
        font-size: calc(36px + (67-36) * (100vw - 768px) / (2500 - 768));
        line-height: 1.4; }

    .description {
        font-size: 39px;
        font-size: calc(23px + (39-23) * (100vw - 768px) / (2500 - 768)); }
}

/* ==========================================================================
   NAVIGATION (https://codepen.io/riogrande/pen/gbXxdx)
   ========================================================================== */

.button {
    display: inline;
    position: fixed;
    left: 15px;
    top: 15px;
    z-index: 999; }

#layout-content .button {
    top: 15px; }

.button.shrink {
    top: 15px; }

@media (min-width: 768px) {
   .button {
        left: 50px;
        top: 15px; }
}

.button a {
    text-decoration: none; }

.btn-open {
    display: block;
    width: 42px;
    height: 35px;
    background-image: url(../img/toggle-open.svg);
    background-size: 42px 35px; }

.btn-close {
    display: block;
    width: 36px;
    height: 35px;
    background-image: url(../img/toggle-close.svg);
    background-size: 36px 35px; }

/*
.btn-open:after {
    color: #000;
    content: "\f0c9";
    font-family: "FontAwesome";
     -webkit-text-stroke: 1px white;
    font-size: 40px;
    transition-property: all .2s linear 0s;
    -moz-transition: all .2s linear 0s;
    -webkit-transition: all .2s linear 0s;
    -o-transition: all .2s linear 0s; }

.btn-open:hover:after {
    color: #fee200; }

.btn-close:after {
    color: #000;
    content: "\f00d";
    font-family: "FontAwesome";
     -webkit-text-stroke: 4px white;
    font-size: 40px;
    transition-property: all .2s linear 0s;
    -moz-transition: all .2s linear 0s;
    -webkit-transition: all .2s linear 0s;
    -o-transition: all .2s linear 0s; }

.btn-close:hover:after {
    color: #fee200; }
*/

/*overlay*/
.overlay {
    display: none;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    background: #d2d2cb;
    overflow: auto;
    z-index: 99; }

.wrap {
    color: #000;
    text-align: center;
    max-width: 80%;
    margin: 0 auto; }

.wrap ul.wrap-nav {
    text-transform: capitalize;
    padding: 150px 0px 100px; }

.wrap ul.wrap-nav li {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 24%;
    /*border: 1px solid white;*/
    font-weight: 400;
    font-size: 32px; 
    text-align: center;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
        hyphens: auto; }

/* added by diewebe */
.wrap ul.wrap-nav li:nth-child(4),
.wrap ul.wrap-nav li:nth-child(5),
.wrap ul.wrap-nav li:nth-child(6),
.wrap ul.wrap-nav li:nth-child(7),
.wrap ul.wrap-nav li:nth-child(8) {
    display: block;
    margin: 0 auto;
    width: 72%;
    border-top: 1px solid #000; }

/* Makeover */
.wrap ul.wrap-nav li:nth-child(4) {
    margin-top: 20px;
    background-image: url(../img/bg-nav-makeover.jpg);
    background-size: contain; }

.wrap ul.wrap-nav li:nth-child(4):hover {
    background-image: none; }

.wrap ul.wrap-nav ul.subnav li:nth-child(4) {
    margin-top: 0;
    background-image: none; }

.wrap ul.wrap-nav li:last-child {
    border-bottom: 1px solid #000; }

.wrap ul.wrap-nav ul.subnav li {
    border: 0; }

.wrap ul.wrap-nav li a {
    color: #000;
    display: block;
    padding: 10px 0;
    text-decoration: none;
    transition-property: all .2s linear 0s;
    -moz-transition: all .2s linear 0s;
    -webkit-transition: all .2s linear 0s;
    -o-transition: all .2s linear 0s; }

.wrap ul.wrap-nav li:nth-child(4) a {
    text-transform: uppercase; }

.wrap ul.wrap-nav ul.subnav li:nth-child(4) a {
    text-transform: none; }

.wrap ul.wrap-nav li a:hover {
    color: #FFF; }

.wrap ul.wrap-nav li:nth-child(4) a:hover {
    color: #000; }

/*
.wrap ul.wrap-nav ul {
    padding: 20px 0; }*/

.wrap ul.wrap-nav ul li {
    display: block;
    font-size: 18px;
    width: 100% !important;
    font-weight: 600; }

.wrap ul.wrap-nav ul li a {
    color: #000;
    padding: 4px 0; }

.wrap ul.wrap-nav ul li a:hover {
    color: #FFF; }

@media screen and (max-width: 768px) {
    .wrap ul.wrap-nav > li {
        width: 100% !important;
        padding: 20px 0;
        /*border-bottom: 1px solid #575757;*/ }

    /*.wrap ul.wrap-nav {
        padding: 3px 0px 0px 0px; }*/

    nav ul {
        opacity: 0;
        visibility: hidden; }
}

@media (min-width: 768px) {

    .wrap ul.wrap-nav li {
        font-size: calc(24px + (32-24) * (100vw - 800px) / (2500 - 800)); }

    .wrap ul.wrap-nav li:nth-child(4) {
        margin-top: 32px; }

    .wrap ul.wrap-nav li a {
        padding: 32px 0; }

    .wrap ul.wrap-nav li,
    .wrap ul.wrap-nav ul li a {
        text-align: left; }

    .wrap ul.wrap-nav li:nth-child(4),
    .wrap ul.wrap-nav li:nth-child(5),
    .wrap ul.wrap-nav li:nth-child(6),
    .wrap ul.wrap-nav li:nth-child(7),
    .wrap ul.wrap-nav li:nth-child(8) {
        text-align: center; }
}

ul.breadcrumbs {
    background: transparent !important; }

.breadcrumbs li {
    font-size: 16px !important; 
    display: inline-block; }

.breadcrumbs li a,
.breadcrumbs li a:hover {
    font-size: 16px !important;
    font-weight: 400;
    border: none;
    background: transparent;
    color: #000;
    display: inline-block; }

.breadcrumbs li a::after {
    content: " ";
    background-size: 100% 100%;
    width:  14px;
    height: 15px;
    background-image: url(../img/arrow.svg);
    float: right;
    margin-left: 10px;
    margin-right: 5px; }

@media screen and (max-width: 480px) {
    ul.breadcrumbs {
        display: none; }   
}

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

.content-main {
    text-align: center;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto; }

@media (max-width: 767px) {
    .content-main,
    .content-sup {
        padding: 0 15px; }
}

.content-sup {
    background: #d0d0c9;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px; }

.content-sup .article-wide img {
    width: 160px;
    height: auto; }

.content-main,
.article-simple,
.article-image {
    margin-top: 25px;
    margin-bottom: 35px; }

#layout-content .content-main {
    padding-top: 100px;
    margin-top: 0; }

.article-simple,
#layout-content-image .content-sup .article-wide:first-child {
    border-bottom: 1px solid #000;
    padding-bottom: 50px; }

#layout-home .content-main .flex-container:first-child .article-simple,
#layout-content-image .content-main .article-simple,
#layout-content .content-main .article-simple,
#layout-content-image .content-sup .article-simple:last-child.article-wide {
    border-bottom: none; }

.article-preview:last-child .article-simple,
.content-sup .article-simple:last-child,
#layout-content-image .content-sup .article-simple,
#layout-content .content-sup .article-simple {
    border-bottom: 0;
    padding-bottom: 0; } 

#layout-content-image .content-main .article-slim h2,
#layout-content-image .content-main .article-slim h3,
#layout-content-image .content-main .article-slim h4,
#layout-content-image .content-main .article-slim p {
    text-align: left; }

.article-wide {
    padding: 0 10vw 50px 10vw; }

.article-simple img {
    /*width: 100%;*/
    max-width: 100%;
    height: auto; }

.article-image {
    padding-left: 0;
    padding-right: 0; }

.article-slider {
    margin-bottom: 50px; }

p.link-element a {
    display: inline-block;
    background: #000;
    color: #FFF;
    font-size: 18px;
    padding: 8px 18px;
    font-weight: 600;
    margin: 5px;
    text-align: center; }

p.link-element a:visited {
    color: #FFF; }

@media (min-width: 992px) {
    p.link-element a {
        display: inline-block;
        margin: 0px 25px 0 25px; }
}

p.link-element a:hover,
p.link-element a:active {
    color: #fee200;
    background: #000; }

.article-simple {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
        flex-direction: column; }

.article-simple h2 {
    -webkit-flex: 1 0 auto;
        -moz-flex: 1 0 auto;
        -ms-flex: 1 0 auto;
        flex: 1 0 auto; }

/* Makeover */

.makeover .article-wide,
.makeover .content-sup .article-wide {
    padding-bottom: 0 !important; }

.makeover .article-slider {
    padding-top: 60px;
    border-top: 1px solid #000; }

.makeover .article-image {
    margin-bottom: 15px; }

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

.owl-carousel {
    position: relative; } 
      
/* Multi-template version (not block-tag): http://forum.grabaperch.com/forum/11-18-2015-bootstrap-carousel-template-for-perch */
#carousel a {
    border: none !important; }

.carousel {
    position: relative; }

.carousel-inner img {
    width: 100%;
    height: auto; }

/* Shadows */
.carousel-control.left,
.carousel-control.right {
    background-image: none;
    background: none;
    -webkit-transition: all 0.45s;
        -moz-transition: all 0.45s;
        -ms-transition: all 0.45s;
        -o-transition: all 0.45s;
        transition: all 0.45s; } 

/* Controls */
@media only screen and (max-width: 480px) {
    .carousel-control.left,
    .carousel-control.right {
        display: none; }
}

.carousel-control .icon-prev,
.carousel-control .icon-next {
    position: absolute;
    top: calc(50% - 56px); }

.makeover .carousel-control .icon-prev,
.makeover .carousel-control .icon-next {
    position: absolute;
    top: 50%; }

.carousel-control .icon-prev {
    left: 25%;
    width: 52px;
    height: 52px;
    margin: 0; }

.carousel-control .icon-next {
    right: 25%;
    width: 52px;
    height: 52px;
    margin: 0; }

.carousel-control .icon-prev:before {
    content: '';
    display: inline-block;
    width: 52px;
    height: 52px;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2223%22%20height%3D%2243%22%20viewBox%3D%220%200%2023%2043%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M22%2041l-20-20%2020-20%22%20stroke-width%3D%223%22%20stroke%3D%22%23fff%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-size: 14px 25px;
    background-position: 16px 13px;
    text-indent: -9999px; }

.carousel-control .icon-next:before {
    content: '';
    display: inline-block;
    width: 52px;
    height: 52px;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2223%22%20height%3D%2243%22%20viewBox%3D%220%200%2023%2043%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1%2041l20-20-20-20%22%20stroke-width%3D%223%22%20stroke%3D%22%23fff%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-size: 14px 25px;
    background-position: 20px 13px;
    text-indent: -9999px; }

/* Fading */
.carousel-fade .carousel-inner .item {
  transition-property: opacity; }

.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  opacity: 0; }

.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1; }

.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  transform: translate3d(0, 0, 0); }

.carousel-fade .carousel-control {
  z-index: 2; }

/* Caption */
.carousel-caption {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
    width: 80%;
    padding: 25px 0 0 0;
    color: #000;
    text-align: left;
    text-shadow: none; }

.carousel-caption h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4; }

.carousel-caption p {
    font-weight: 400 !important;
    font-size: 15px; }

/* Indicators */
.carousel-indicators {
    display: none; }

.num {
    margin-top: -45px;
    font-size: 15px;
    font-weight: 600;
    text-align: right;}

@media only screen and (max-width: 480px) {
    .carousel {
        padding-top: 20px; }

    .carousel-caption {
        width: 100%; }

    .num {
        margin-top: -65px; }
}

/* Makeover 
.num2 {
    font-size: 15px;
    font-weight: 600;
    text-align: right;

    position: absolute;
    right: 0;
    bottom: -20px;
    width: 100px;
    height: 20px;
    border: 1px solid red; }*/

/* ==========================================================================
   FOOTER
   ========================================================================== */
   
footer {
    background: #000;
    color: #d0d0c9;
    text-align: center; }

.footer {
    padding-top: 30px;
    padding-bottom: 25px; }

footer i {
    font-style: normal;
    white-space: nowrap; }

footer a {
    color: #d0d0c9; }

footer a:hover,
footer a:active {
    color: #FFF; }

.social {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
        justify-content: center;
        padding-bottom: 20px; }

@media (min-width:768px) {
    .social {
        display: block;
        position: absolute;
        right: 50px;
        top: 0; }
}

.social li {
    float: left;
    padding: 0 10px; }

.social li a {
    color: #FFF; }

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

/* Vcard */
.vcard,
.open {
    margin-bottom: 20px; }

.vcard span,
.imprint span {
    line-height: 1.4; }

.fn,
.adr {
    display: block; }

.fn {
    color: #FFF;
    font-weight: 600; }

.tel .value {
    white-space: nowrap; }

.dot {
    font-weight: 300;
    padding: 0 10px; }

.imprint {
    margin-top: 35px;
    text-transform: uppercase;
    font-size: 12px; }

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