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

/*  FONTS

*/

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

* {
    box-sizing: border-box; }
    
html,
body,
ul { /* ul to be help-block full left */
    margin:0;
    padding:0;
    background-color: #FFF; /* color def for form */
    font: normal 18px 'Open sans', Arial, sans-serif; /* no color def for form! */
    font-weight: 400;
    color: #000;
    line-height: 1.4; }
    
ul {
    background-color: transparent; }

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

h1,
h2,
h3,
h4 {
    line-height: 1.4;
    margin: 0;
    padding: 0; }

p {
    margin: 0 0 10px; /* Bootstrap */
    line-height: 1.4; }

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

a,
a:hover,
.navbar,
.navbar.shrink,
a.navbar-brand span,
a.navbar-brand.shrink span {
    text-decoration: none;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
        transition: all 0.25s; }

/* smooth shrinking */
.navbar-nav.shrink {
    -webkit-transition: all 0.25s;
        -moz-transition: all 0.25s;
            transition: all 0.25s;}

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

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

.flex-article-half,
.flex-article-full,
.flex-image {
    margin-bottom: 50px; }

@media only screen and (min-width: 992px) {
    
    .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,
h2,
h6 {
    font-family: 'Open sans', sans-serif;
    font-size: 36px;
    color: #a0c350;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.2;
    text-transform: uppercase;
-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto; }

@media only screen and (min-width: 992px) {
        
        h1,
        h2,
        h6 {
            font-size: 56px; }
}

h3 {
    font-size: 30px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px; }

p,
.vcard {
    margin: 0 0 30px; /* Bootstrap */
    line-height: 1.4; }

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

h3 strong {
    font-weight: 600; }

p strong {
    font-weight: 600;
    color: #000; }

.content li {
    list-style: none;
    padding-left: 15px;
    font-size: 18px; }

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

.content a,
.not-found a {
    color: #a0c350; }

.content a:hover,
.content a:active,
.not-found a:hover,
.not-found a:active {
    color: #000; }

.flex-article-half img,
.flex-article-full img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px; }

@media only screen and (min-width: 992px) {

    .flex-article-half img,
    .flex-article-full img {
        display: block;
        margin: 0 auto; }

    #contact .flex-article-half img {
        display: block;
        margin-left: 0; }

}

.flex-article-half img:last-child,
.flex-article-full img:last-child {
    margin-bottom: 0; }

.content a[href$=".pdf"]:before,
.content a[href$=".doc"]:before {
    content: " ";
    background-size: 100% 100%;
    width: 22px;
    height: 29px;
    background-image: url(../graphics/file-icon.svg);
    float: left;
    margin-right: 10px; }

.content a[href$=".pdf"],
.content a[href$=".doc"],
.content ul a {
    font-weight: 600;
    color: #a0c350; }

/* Tables */

/* Tables */
table {
    width: 100%;
    margin-bottom: 40px; }

table > thead > tr > th,
table > tbody > tr > td {
    width: auto;
    line-height: 1.4;
    font-size: 18px;
    font-weight: 400;
    vertical-align: top;
    border-top: 0; }

table > tbody > tr {
    border-bottom: 1px solid #000; }

table > thead > tr > th strong {
    font-weight: 400;
    color: #a0c350; }

@media only screen and (max-width: 640px){

    /* Force table to not be like tables anymore */
    table, 
    thead, 
    tbody, 
    th, 
    td, 
    tr { 
        display: block; }
        
    /* Hide table headers (but not display: none;, for accessibility) */
    thead > tr { 
        position: absolute;
        top: -9999px;
        left: -9999px; }
       
    table > tbody > tr {
        border-bottom: 1px solid #000;
        padding: 10px 0; }
        
    td { 
        /* Behave  like a "row" */
        border: none;
        position: relative;
        padding-left: 35%; }

    table > tbody > tr > td:first-child {
        font-weight: 400;
        color: #a0c350; }
        
    td:before { 
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 0;
        left: 5px;
        width: 30%; 
        padding-right: 10px; 
        white-space: nowrap;
        font-weight: 600; }
        
    /* Label the data */
    td:nth-of-type(1):before { content: ""; }
    td:nth-of-type(2):before { content: "bis 1/2 Tag"; font-weight: 400;}
    td:nth-of-type(3):before { content: "bis 1 Tag"; font-weight: 400; }
}

@media only screen and (min-width: 641px){

    table > tbody > tr > td {
        width: auto; }

    table > tbody > tr > td:first-child {
        width: 60%;
        padding-right: 10px; }

    table > thead > tr > th:last-child,
    table > thead > tr > td:last-child,
    table > tbody > tr > th:last-child,
    table > tbody > tr > td:last-child {
        text-align: right; }
}

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

.browsehappy {
    position: absolute;
    top: 100px;
    z-index: 3000;
    background: #CC0033;
    color: #FFF;
    padding: 8px; }

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

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

/* ==========================================================================
   HEADER (Navigation containers & Logo)
   ========================================================================== */
body {
    padding-top: 120px; }

/* Header background full-width */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 0;
    height: 120px; }

.navbar.shrink {
    height: 0;
    min-height: 0;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
        transition: all 0.25s; }

.navbar-header {
    background: transparent;
    float: none; 
    padding: 0;
    height: 120px; } /* Height = logo height plus navbar-header padding */

/* Navigation container */
.navbar-nav {
    width: 100%;
    margin: 0;
    margin-top: 50px; /* Navbar height */
    background: transparent; } 

.navbar-header.shrink {
    height: 0px;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
        transition: all 0.25s; }

@media only screen and (min-width: 992px) { /* Change the nav breakpoint */

    .navbar-fixed-top .container-fluid {
        max-width: 1170px; }

    .navbar.shrink {
        height: 50px;
        -webkit-transition: all 0.25s;
        -moz-transition: all 0.25s;
            transition: all 0.25s;
        -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.15);
        -moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.15);
            box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.15); }

    .navbar-header {
        float: left; }

    .navbar-header.shrink {
        height: 50px; }

    .navbar-nav {
        width: auto;
        margin-top: 90px; }

    .navbar-nav.shrink {
        width: auto;
        margin-top: 0; }

}

/* Logo */
.logo {
    position: absolute;
    left: 0; }

.logo.shrink {
    -webkit-transform: translateY(-150px);
        -moz-transform: translateY(-150px);
            transform: translateY(-150px);
        -webkit-transition: all 0.25s;
        -moz-transition: all 0.25s;
            transition: all 0.25s; }

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

a.navbar-brand span {
    display: block;
    text-indent: -9999px;
    width: 130px;
    height: 100px;
    background-image: url(../graphics/wuersten-gstaad.svg);
    background-size: 130px 100px; }

.navbar-brand {
    padding: 0 0 0 15px;
    padding-top: 0;
    padding-bottom: 0;
    color: #000; }

.title {
    margin-top: -100px;
    width: 71px;
    height: 40px;
    background-image: url(../graphics/wuersten-gstaad-icon.svg);
    background-size: 71px 40px;
    text-indent: -9999px; }

.logo-ad span {
    position: absolute;
    bottom: 10px;
    right: 15px;
    width: 93px;
    height: 60px;
    background-image: url(../graphics/agrotec-suisse.png);
    background-size: 93px 60px;
    text-indent: -9999px; }

.logo-ad.shrink span {
    -webkit-transform: translateY(-100px);
        -moz-transform: translateY(-100px);
            transform: translateY(-100px); }

@media only screen and (min-width: 800px) {

    body {
        padding-top: 157px; }

    .navbar,
    .navbar-header {
        height: 157px; }

    a.navbar-brand span {
        width: 177px;
        height: 137px;
        background-image: url(../graphics/wuersten-gstaad.svg);
        background-size: 177px 137px; }

    .logo-ad span {
        width: 139px;
        height: 90px;
        background-image: url(../graphics/agrotec-suisse.png);
        background-size: 139px 90px; }

}

@media only screen and (min-width: 768px) {

    .logo {
        left: 15px; }
}


@media only screen and (min-width: 992px) {

    .logo-ad span {
        top: 5px;
        bottom: 0; }

    .title.shrink {
        margin-top: 5px;
        -webkit-transform: translateY(150px);
            -moz-transform: translateY(150px);
                transform: translateY(150px);
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
                transition: all 0.5s;
                -webkit-transition-delay: 0.45s;
                -moz-transition-delay: 0.45s;
                    transition-delay: 0.45s; }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

/* Naviation element */
.navbar-nav > li {
    float: none; }

/* Navigation colors */
.navbar-default .navbar-nav > li > a {
    padding-top: 15px; /* eq. bootstrap vaule > 768px */
    padding-bottom: 15px; /* eq. bootstrap vaule > 768px */
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    background-color: transparent; }

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #a0c350;
    background-color: transparent; }

.navbar-default .navbar-nav > li > a.active {
    font-weight: 700; }

/* Mobile navigation */
.navbar-toggle {
    margin-right: 0;
    display: block; /* for visibility above 768px */
    z-index: 1000;
    background: #a0c350; }

@media only screen and (min-width: 992px) { /* Change the nav breakpoint */
    
    .navbar-toggle {
        display: none; } /* for hiding in desktop */  
}

/* Offcanvas */
.navbar-offcanvas {
    position: relative; }

.offcanvas-toggle,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background: #a0c350;
    border-radius: 0;
    border: 1px solid #a0c350; }

.offcanvas-toggle:hover,
.navbar-default .navbar-toggle.is-open,
.offcanvas-toggle.is-open:hover {
    background: #a0c350 !important;
    border: 1px solid #a0c350; }

.offcanvas-toggle.is-open {
    background: #a0c350 !important;
    border: 1px solid #a0c350; }

.offcanvas-toggle .icon-bar {
    background: #FFF !important;
    -webkit-transition: all .25s ease-in-out;
            transition: all .25s ease-in-out; }

 .navbar-toggle:hover .icon-bar,
 .offcanvas-toggle.is-open .icon-bar {
    background: #FFF !important; }

.offcanvas-toggle.is-open .icon-bar:nth-child(1) {
    -webkit-transform: rotate(45deg) translate(5px, 4px);
        -ms-transform: rotate(45deg) translate(5px, 4px);
            transform: rotate(45deg) translate(5px, 4px); }

.offcanvas-toggle.is-open .icon-bar:nth-child(2) {
    opacity: 0; }

.offcanvas-toggle.is-open .icon-bar:nth-child(3) {
    -webkit-transform: rotate(-45deg) translate(4px, -4px);
        -ms-transform: rotate(-45deg) translate(4px, -4px);
            transform: rotate(-45deg) translate(4px, -4px); }

@media only screen and (max-width: 991px) { /* Change the nav breakpoint */
    
    .offcanvas-stop-scrolling {
        height: 100%;
        overflow: hidden; }

    .navbar-default .navbar-offcanvas {
        background-color: #FFF; }

    .navbar-inverse .navbar-offcanvas {
        background-color: #222; }

    .navbar-offcanvas {
        position: fixed;
        height: 100% !important;
        width: 100%;
        max-width: 250px;
        left: -250px;
        top: 0;
        padding-left: 0;
        padding-right: 0; /* 15px; */
        z-index: 999;
        overflow: auto; /* scroll */
        -webkit-overflow-scrolling: touch;
        -webkit-transition: all 0.15s ease-in;
                transition: all 0.15s ease-in; }

    .navbar-offcanvas.in {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); }

    .navbar-offcanvas.navbar-offcanvas-fade {
        opacity: 0; }

    .navbar-offcanvas.navbar-offcanvas-fade.in {
        opacity: 1; }

    .navbar-offcanvas.offcanvas-transform.in {
        -webkit-transform: translateX(250px);
            -ms-transform: translateX(250px);
                transform: translateX(250px); }

    .navbar-offcanvas.offcanvas-position.in {
        left: 0; }

    .navbar-offcanvas.navbar-offcanvas-right {
        left: auto;
        right: -250px; }

    .navbar-offcanvas.navbar-offcanvas-right.offcanvas-transform.in {
        -webkit-transform: translateX(-250px);
            -ms-transform: translateX(-250px);
                transform: translateX(-250px); }

    .navbar-offcanvas.navbar-offcanvas-right.offcanvas-position.in {
        left: auto;
        right: 0; }
}

/* Desktop navigation */
@media only screen and (min-width: 992px) { /* Change the nav breakpoint */
    
    .navbar-nav > li { /* make left navigation elements float left */
        float: left; }

    .navbar-default .navbar-nav.shrink > li > a {
        padding-top: 15px; /* eq. bootstrap vaule > 768px */
        padding-bottom: 15px; } /* eq. bootstrap vaule > 768px */

    .navbar-default .navbar-nav > li:last-child > a {
        padding-right: 0; }
}

/* ==========================================================================
   CONTENT
   ========================================================================== */
/*section {
    border: 1px dashed black; }

.row {
  border: 1px dashed blue; }

.col-md-12,
.col-md-8,
.col-md-4 {
  border: 1px dashed red; }
*/
.slideshow .container-fluid {
    padding: 0; }

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

.arrow {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 20px;
    width: 40px;
    height: 40px;
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
    opacity: 1;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2242%22%20height%3D%2222%22%20viewBox%3D%220%200%2042%2022%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1%201l20%2020%2020-20%22%20stroke-width%3D%222%22%20stroke%3D%22%23fff%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat; }

.arrow:hover {
    opacity: .65;
    background-position: center center; }

.content {
    padding-top: 50px; }

.content.bright  {
    background-color: #FFF; }

.content.dark  {
    background-color: #e7e7e6; } 

.anchor {
    display: block;
    height: 0px; /* same height as header */
    margin-top: 0px; /* same height as header */
    visibility: hidden; }

@media only screen and (min-width: 1024px) {

    .anchor {
        height: 50px;
        margin-top: -50px; }
}

@media only screen and (min-width: 481px) {

    .flex-container-logos {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
            justify-content: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
            align-items: center; }
}

.flex-image img {
    display: block;
    margin:0 auto; }

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden; }

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }


body.imprint {
    padding-top: 157px; }

/* Teaser */
.content-teaser {
    border: 1px solid #a0c350;
    background-color: #e7e7e6;
}

.teaser-image {
    margin-bottom: 15px;
    background-color: #FFF;
}

.teaser-text {
    padding: 15px;
}

@media (min-width: 480px) and (max-width: 768px)  {
    .teaser-image img {
        max-width: 66%;
        height: auto;
    }
}

@media (min-width: 768px) {
    /* display this row with flex and use wrap (= respect columns' widths) */

    .row-flex {
      display: flex;
      flex-wrap: wrap;
    }

    /* vertical spacing between columns */
    [class*="col-"] {
      margin-bottom: 30px;
    }

    .content-teaser {
      height: 100%;
    }


}

/* ==========================================================================
   CAROUSEL
   ========================================================================== */

.carousel {
    position: relative; }

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

/* Shadows */
.carousel-control.left,
.carousel-control.right {
    background-image: 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 {
        display: none; }
}

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

.carousel-control .icon-prev {
    left: 25%;
    margin-left: 0px;
    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: transparent;
    border-radius: 100%;
    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: transparent;
    border-radius: 100%;
    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: just change the slide attribute to fade */
.carousel.fade {
  opacity: 1; }

.carousel.fade .item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  display: block;
  opacity: 0;
  transition: opacity ease-out .7s; }

.carousel.fade .item:first-child {
  position: relative;
  top: auto;
  opacity: 1; }

.carousel.fade .item.active {
  opacity: 1; }

/* ==========================================================================
   FORM
   ========================================================================== */

.help-block {
    margin: 0; }

#contact-form .form-group input,
#contact-form .form-group textarea {
    font-size: 18px;
    padding: 5px 7px;
    background-color: #FFF;
    border: 0;
    border-radius: 0;
    font-weight: 400;
    color: #000;
    -webkit-box-shadow: 1px 1px 7px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 1px 1px 7px 0px rgba(0,0,0,0.15);
    box-shadow: 1px 1px 7px 0px rgba(0,0,0,0.15); }

label {
    font-family: 'Open sans', Arial, sans-serif;
    font-weight: normal;
    padding-top: 5px;
    padding-left: 0px; }

.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-family: 'Open sans', Arial, sans-serif !important;
    font-weight: normal;
    color: #FFF;
    border: 0;
    border-radius: 0; }

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

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

.btn {
    border-color: transparent;
    background-color: #a0c350;
    font-size: 15px;
    padding: 5px 10px;
    color: #FFF;
    font-weight: 400;
    text-transform: uppercase;
    border-radius: 0;
    border: 0;
    -webkit-transition: background linear 300ms; }

.btn:hover,
.btn:focus,
.btn.active {
    border-color: transparent;
    background-color: rgba(160, 195, 80, 0.8);
    -webkit-transition: background linear 300ms; }

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

/* Footer always at the bottom */
html,
body { height: 100%; }

body {
  display: table;
  width: 100%; }

.footer {
  display: table-row;
  height: 1px;
  padding-top: 25px; }

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

footer,
footer ul {
    background: #000; }

footer,
footer li,
footer a {
    color: #FFF;
    font-size: 16px; }

footer a:hover {
    color: #a0c350;
    text-decoration: none; }

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