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


.container,
.header-services,
.navbar,
.navbar-nav,
a.navbar-brand span {
    border: 1px dashed red;
}
*/
/* ==========================================================================
   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: 300;
    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 {
    margin: 0;
    padding: 0;
}

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

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

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: 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,
h2,
h6 {
    font: normal 18px 'Open sans', Arial, sans-serif;
    font-weight: 600;
    font-size: 36px;
    color: #8f9497;
    margin-bottom: 20px;
    line-height: 1.2;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

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

    h1,
    h2,
    h6 {
        font-size: 52px;
    }
}

h3 {
    font-size: 30px;
    font-weight: 300;
    color: #8f9497;
    margin-bottom: 20px;
}

p {
    margin: 0 0 30px;
    line-height: 1.4;
}

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

h3 strong {
    font-weight: 600;
}

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

blockquote {
    color: #8f9497;
    padding: 0;
    margin: 0 0 30px;
    font-size: 24px;
    border: 0;
}

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

.content li:last-child {
    margin-bottom: 0;
}

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

.content a,
.not-found a {
    color: #000;
    font-weight: 600;
}

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

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

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

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

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

/* Tables */
table {
    width: 100%;
    margin-top: -20px;
    margin-bottom: 30px;
}

table>tbody>tr>td {
    width: 50%;
    padding: 8px 0;
    line-height: 1.4;
    vertical-align: top;
    border-top: 0;
}

table>tbody>tr>td {
    font-weight: 300;
}

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

    table {
        width: 100%;
    }
}

/* Mobile view */
@media only screen and (max-width: 640px) {

    table {
        width: 100%;
    }

    table>tbody>tr>td {
        padding: 5px 0;
        display: block;
        width: 100%;
    }

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

    table>tbody>tr:last-child {
        border-bottom: 0;
    }

    table>tbody>tr>td {
        border: 0;
    }
}

/* Smooth animations */
a,
a:hover,
.header-services,
.header-services.shrink,
.navbar-header,
.navbar-header.shrink,
.logo,
.logo.shrink {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

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

/* Header background full-width */
.navbar {
    background-color: #ccc;
    border-top: 5px solid #8f9497;
}

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

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

}

.header-services {
    padding: 20px 0;
    text-align: right;
}
.header-services img {
    width: 120px;
    height: auto;
}

.header-services.shrink {
    transform: translateY(-100px);
}

.navbar-brand {
    float: left;
    margin-top: -45px;
    height: 78px;
    padding: 0;
}

.navbar-brand span {
    display: inline-block;
    text-indent: -9999px;
    width: 200px;
    height: 78px;
    background-image: url(../graphics/logo-intersport-brand-gstaad.svg);
    background-repeat: no-repeat;
}


@media (min-width: 640px) {

    .navbar-brand {
        margin-top: -60px;
    }

    .navbar-brand span {
        width: 350px;
        height: 78px;
    }

    .header-services img {
        width: 200px;
        height: auto;
    }
}

@media (min-width: 768px) {
    .navbar-brand {
        padding: 0 15px;
    }

    .navbar-brand span {
        width: 400px;
        height: 78px;
    }
}

@media (min-width: 1180px) {
    .navbar-brand {
        margin-top: -40px;
        height: 78px;  
    }

    .navbar-brand span {
        width: 400px;
        height: 78px;
    }
}

/* Shrinking */
.navbar.shrink {
    height: 80px;
}

.navbar-brand.shrink {
    transform: translateY(-5px);
}


@media (min-width: 640px) {

    .navbar-brand.shrink {
        transform: translateY(-10px);
    }

    .navbar-brand.shrink span {
        width: 250px;
        height: 48px;
    }
}

.navbar-nav.shrink {
    transform: translateY(-55px);
}

@media (min-width: 1180px) {

    .navbar.shrink {
        height: 100px;
    }

    .navbar-brand.shrink {
        transform: translateY(-30px);
    }
}
/* ==========================================================================
   NAVIGATION
   ========================================================================== */

/* Naviation element */
@media (max-width: 1179px) {
    .navbar-nav {
        padding-top: 120px;
    }
}

.navbar-nav>li {
    float: none;
}

/* Navigation colors */
.navbar-default .navbar-nav>li>a {
    font-size: 19px;
    padding-top: 15px;
    /* eq. bootstrap vaule > 768px */
    padding-bottom: 15px;
    /* eq. bootstrap vaule > 768px */
    color: #000;
    text-transform: uppercase;
    background-color: transparent;
}
/*
.navbar-default .navbar-nav>li:last-child>a {
    padding-right: 0;
}
*/
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
    color: #8f9497;
    background-color: transparent;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
    font-weight: 600;
    color: #8f9497;
    background-color: transparent;
}

/* Languages */
.languages {
    margin-top: 15px;
    margin-left: 10px;
}

.languages li {
    float: left;
    padding: 0 5px;
    font-family: 'Open sans', sans-serif;
    text-transform: uppercase;
    font-size: 14px;
}

.languages li:last-child:before {
    content: '|';
    padding-right: 10px;
}

.languages li a {
    font-weight: 300;
    color: #8f9497;
}

.languages li a:hover,
.languages li a:active {
    color: #000;
}

.languages li.active a {
    font-weight: 600;
    color: #000;
}

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

    .languages {
        position: absolute;
        right: 0;
        margin-top: 5px;
        margin-left: 0;
    }

    .languages.shrink {
        position: -50px;
        top: -50px;
        -webkit-transform: translateY(-180px);
        -moz-transform: translateY(-180px);
        transform: translateY(-180px);
        -webkit-transition: transform 0.25s;
        -moz-transition: transform 0.25s;
        transition: transform 0.25s;
    }
}

/* Mobile navigation */

@media (min-width: 768px) {
    .navbar-right {
        float: right !important;
        margin-right: 0px;
    }
}

.navbar-header,
.navbar-header.shrink {
    position: relative;
    z-index: 2000; /* higher than .navbar-offcanvas */
}


.navbar-header.shrink {
    transform: translateY(-60px);
}

@media (min-width: 640px) {
    .navbar-header.shrink {
        transform: translateY(-70px);
    }
}

.navbar-toggle {
    display: block;
    background: #8f9497 !important;
    z-index: 1080 !important;
}

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

    .navbar-toggle {
        display: none;
    }
}

@media (min-width: 768px) {
  .navbar-header {
    float: right;
  }

  .navbar-toggle {
        margin-right: 0;
    }
}

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

.offcanvas-toggle {
    background: #8f9497;
    border-radius: 0;
    border: none;
    z-index: 1080;
}

.offcanvas-toggle:hover,
.offcanvas-toggle.is-open:hover {
    background: #8f9497 !important;
}

.offcanvas-toggle.is-open {
    background: #8f9497 !important;
}

.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 {
    background: #000 !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: 1179px) {
    /* 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: 0px;
        padding-left: 15px;
        padding-right: 15px;
        z-index: 1000;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        -webkit-transition: all 0.15s ease-in;
        transition: all 0.15s ease-in;
    }

    .navbar-offcanvas.shrink {
        top: 0;
    }

    .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: 1180px) {
    /* 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;
    }

}

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

.row {
  border: 1px dashed blue; }

.col-md-12,
.col-md-8,
.col-md-4 {
  border: 1px dashed red; }


/* Where content starts */
body {
    padding-top: 65px;
}

/* depends on navbar height */

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

    body {
        padding-top: 130px;
    }
}

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

    body {
        padding-top: 150px;
    }

    /* depends on navbar height */
}

.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: rgba(225, 223, 221, 0.2);
}

.content.deep-dark {
    background-color: rgba(225, 223, 221, 1);
}

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

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

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

@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 {
    padding: 0 30px;
}

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

@media only screen and (min-width: 768px) {
    .flex-image {
        width: 20%;
        padding: 0 30px;
    }
}

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

/* mp4-Video */
video:focus {
    outline: none;
}

video,
video[poster] {
    width: 100% !important;
    max-width: 960px !important;
    height: auto !important;
}

video[poster] {
    object-fit: cover;
}

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

#contactForm p {
    text-align: left;
}

#contact .form-group input,
#contact .form-group textarea {
    font-size: 18px;
    padding: 5px 7px;
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 0;
    font-weight: 300 !important;
    -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);
}

.form-group p {
    padding: 0;
}

.form-group p.title {
    margin-bottom: 10px;
}

label {
    font-family: 'Open sans', Arial, sans-serif;
    font-weight: 300 !important;
    font-size: 13px !important;
    padding-top: 5px;
    padding-left: 0px;
    color: #BBB;
}

#contact .form-group input.form-control {
    height: auto;
}

#contact .form-group textarea.form-control {
    height: 180px;
}

#contact .form-control:focus {
    border-color: #000;
    box-shadow: none;
}

#contact::-webkit-input-placeholder,
#contact:-moz-placeholder,
#contact:-ms-input-placeholder {
    text-transform: uppercase;
    font-family: 'Open sans', Arial, sans-serif;
    color: #BBB;
}

.placeholder {
    /* for ie9 */
    color: #BBB;
}

.text-danger {
    color: #FF0000;
    text-align: left;
    padding: 5px 0 0 5px;
}

.text-danger:hover {
    color: #FF0000;
}

#success {
    font-family: 'Open sans', Arial, sans-serif !important;
    font-weight: 300 !important;
    color: #FFF;
    border: 0;
    border-radius: 0;
}

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

.form-question {
    padding-bottom: 0;
}

.form-container {
    padding: 25px 0 50px 0;
}

.btn {
    border-color: transparent;
    background-color: #000;
    font-size: 18px;
    color: #FFF;
    border-radius: 0;
    -webkit-transition: background linear 300ms;
}

.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.open .dropdown-toggle.btn {
    border-color: transparent;
    background-color: #8f9497;
    color: #FFF;
    -webkit-transition: background linear 300ms;
}

/* Honeypot */
.website {
    display: none;
}

/* Google Map */
#map_canvas {
    height: 350px;
    margin: 50px 0 10px 0;
}

@media (min-width: 768px) {

    #map_canvas {
        height: 450px;
        margin-bottom: 10px;
    }
}

@media (min-width: 992px) {

    #map_canvas {
        height: 550px;
        margin-bottom: 10px;
    }
}

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

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

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

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

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

footer,
footer ul {
    background: #8f9497;
}

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

    footer .col-sm-6 {
        margin-bottom: 25px;
    }
}

footer,
footer p,
footer a {
    color: #000;
    font-size: 16px;
}

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

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

.vcard .street-address,
.vcard .tel,
.vcard .email {
    display: block;
}

.vcard .fn {
    font-family: 'Open sans', sans-serif;
    font-size: 24px;
    color: #000;
}

.social i.icon {
    font-size: 1.5em;
    width: 1.5em;
    height: 1.5em;
    text-align: center;
    line-height: 1.5em !important;
    border-radius: 1.5em;
    background-color: #000;
    background-color: rgba(255, 255, 255, 1);
    -webkit-transition: background linear 300ms;
    color: #999;
    margin: 0 10px 30px 0;
}

.social i.icon:hover {
    background-color: rgba(0, 0, 0, 1);
    -webkit-transition: background linear 300ms;
}

.social-top i.icon {
    font-size: 40px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 2.5em !important;
    -webkit-transition: background linear 300ms;
    color: #000;
    margin: 0 10px 30px 0;
}

.social-top i.icon:hover {
    color: #999;
    -webkit-transition: background linear 300ms;
}

    {}

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

    .social {
        text-align: right;
    }

    .social i.icon {
        margin: 0 0 30px 10px;
    }
}

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