/*  Author:   Martin Stettler (http://dieweberei.ch/)
    Version:  26/07/2018 // BS V4.1.3
*/

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

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

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

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

/* ==========================================================================
   DEV STYLES
   ========================================================================== 
nav,
.navbar-brand,
.navbar-nav .nav-link, 
.col-md-6,
.col-md-8,
.col-md-10,
.col-md-12 {
    border: 1px dashed #f227f9; }*/

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

/* Bootstrap CSS Overrides */
html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

body {
    margin: 0;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: #413529;
    text-align: left;
    background-color: #fff; }

h1, h2, h3, h4, h5, h6 {
    margin: 0; }

h1,
h2,
h3,
h4 {
    font-size: 28px;
    font-weight: 700;
    color: #413529;
    text-transform: uppercase;
    margin-bottom: 15px; }

h2 {
    margin-bottom: 15px; }

.office-right h2 {
    color: #93ac2d;
    font-weight: 700; }

h3, 
h4 {
    font-weight: 400;
    text-transform: none;
    margin-bottom: 25px; }

h4 {
    color: #93ac2d;
    margin-bottom: 2px; }

h4 i,
h4 em {
    font-size: 18px;
    color: #413529;
    font-style: normal; }

h4 a:hover,
a h4:hover  {
    color: #413529; }

h4.card-header p {
    font-size: 28px;
    font-weight: 400;
    text-transform: none;
    margin-bottom: 5px; }

h4.card-header p em {
    font-size: 18px;
    color: #FFF; }

.layout-dark h2,
.layout-dark h3 {
    color: #FFF; }

p {
    font-size: 18px;
    margin-bottom: 25px; }

ul {
    margin-bottom: 25px; }

b,
strong {
    font-weight: 700; }

.office strong {
    font-size: 28px; }

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

p.link-element a {
    color: #413529;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 10px;
    border: 1px solid #413529;
    text-decoration: none; }

p.link-element a:hover {
    color: #FFF;
    border: 1px solid #413529;
    background: #413529; }

.layout-dark p.link-element a {
    color: #413529;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 10px;
    border: 0;
    background: rgba(255, 255, 255, 0.8);
    text-decoration: none; }

.layout-dark p.link-element a:hover {
    color: #413529;
    background: rgba(255, 255, 255, 1); }

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

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

.main .layout-dark a,
.main .layout-dark a:hover {
    color: #FFF; }

.main strong a,
.main a strong {
    color: #93ac2d;
    font-weight: 400;
    text-decoration: none !important; }

.main strong a:hover,
.main a:hover strong  {
    color: #413529; }

.main .layout-dark a:hover strong,
.main .layout-dark strong a:hover  {
    color: #FFF; }

.main a[href$=".pdf"],
.main a[href$=".doc"] {
    text-decoration: none;
    color: #413529; }

.main .layout-dark a[href$=".pdf"],
.main .layout-dark a[href$=".doc"] {
    text-decoration: none;
    color: #FFF; }

.main a[href$=".pdf"]:before,
.main a[href$=".doc"]:before,
.main .layout-dark a:hover[href$=".pdf"]:before,
.main .layout-dark a:hover[href$=".doc"]:before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 16px;
    background-image: url(../img/file-icon.svg);
    background-color: transparent;
    color: #413529;
    position: relative;
    margin: 0 5px 0 0; }

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

.main .layout-dark a:hover[href$=".pdf"],
.main .layout-dark a:hover[href$=".doc"] {
    color: #93ac2d; }

/* Smooth transition */
a,
a:hover,
a strong,
a:hover strong,
.navbar,
.navbar.shrink,
.navbar-brand,
.navbar-brand.shrink,
h4 a,
a h4,
h4 a:hover,
a h4:hover {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
        transition: all 0.5s; }

/* Table */
table {
    width: 100%;
    margin-bottom: 25px; }

table > thead > tr > th,
table > tbody > tr > td {
    min-width: 100px;
    font-size: 18px;
    font-weight: 400;
    border-top: 0;
    vertical-align: bottom; }

table > thead > tr > th {
    font-weight: 400; }

table tr th,
table tr td {
  padding-left: 0;
  padding: 2px 0; }

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

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

table h2,
table h3,
table h4,
table p {
    margin-bottom: 0; }

@media (max-width: 767px){

    /* 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 {
        padding: 10px 0;
        border-bottom: 1px solid #413529; }

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

    table > tbody > tr > td {
        width: 100% !important; }
    
}

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

.navbar {
    background: #FFF;
    background: transparent;
    border-bottom: 0; }

.navbar.shrink {
    height: 50px;
    min-height: 0; }

/* Logo */
.navbar-brand.shrink {
    transform: translateY(-100px); }

.navbar-brand span {
    display: block;
    text-indent: -9999px;
    width: 150px;
    height: 73px;
    background-image: url(../img/bauchchirurgie-thun.svg);
    background-size: 100% 100%; }

header {
    margin-top: 100px;
    margin-bottom: 50px; }

header img {
    width: 100%;
    height: auto; }

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

/* Offcanvas menu
-------------------------------------------------- */
html,
body {
    overflow-x: hidden; } /* Prevent scroll on narrow devices */

@media (max-width: 991.98px) {
    .offcanvas-collapse {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 100%;
        left: -300px;
        width: 300px;
        padding-right: 16px;
        padding-left: 16px;
        overflow-y: auto;
        visibility: hidden;
        background-color: #FFF;
        border-right: 1px solid #413529;
        transition-timing-function: ease-in-out;
        transition-duration: .3s;
        transition-property: left, visibility; }

    .offcanvas-collapse.open {
        left: 0;
        visibility: visible; }

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

/* Hamburger
-------------------------------------------------- */
/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
    z-index: 1080;
    padding: 0; /* 15px 15px */
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible; }

.hamburger:hover {
    opacity: 0.7; }

.hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative; }

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: 1px; } /* -2px */

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 40px;
    height: 4px;
    background-color: #93ac2d;
    /* border-radius: 4px; */
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; }

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: #93ac2d; }
  
.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; }

.hamburger-inner::before {
    top: -10px; }

.hamburger-inner::after {
    bottom: -10px; }

/* Spin */
.hamburger--spin .hamburger-inner {
    transition-duration: 0.22s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--spin .hamburger-inner::before {
    transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in; }

.hamburger--spin .hamburger-inner::after {
    transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--spin.is-active .hamburger-inner {
    transform: rotate(225deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }

.hamburger--spin.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out; }
  
.hamburger--spin.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }

/* Bootstrap CSS Overrides */

.navbar-brand {
    display: inline-block;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-right: 16px;
    font-size: 20px;
    line-height: inherit;
    white-space: nowrap; }

.navbar-light .navbar-brand {
    color: rgba(0, 0, 0, 0.9); }

.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus {
    color: rgba(0, 0, 0, 0.9); }

.nav-link,
.navbar-expand-lg .navbar-nav .nav-link {
    font-size: 18px;
    display: block;
    padding: 4px 0;
    margin: 0 10px; }

.navbar-nav .nav-link {
    color: #413529 !important;
    border-bottom: 3px solid transparent; }

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #413529;
    border-bottom: 3px solid #93ac2d; }

.navbar-nav .nav-link.disabled {
    color: rgba(0, 0, 0, 0.3); }

.navbar-nav .show > .nav-link,
.navbar-nav .active > .nav-link,
.navbar-nav .nav-link.show,
.navbar-nav .nav-link.active {
    color: #413529;
    border-bottom: 3px solid #93ac2d; }

.navbar-toggler {
    color: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 0, 0, 0.1); }

.navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0; }

@media (min-width: 576px) {
    .navbar-expand-sm .navbar-nav .nav-link {
        padding-right: 8px;
        padding-left: 8px; }
}


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

/* Bootstrap CSS Overrides */
.lead {
  font-size: 18px;
  font-weight: 400; }

/* vertical spaces */
section.layout-dark {
    padding-top: 50px;
    padding-bottom: 25px;
    margin-bottom: 50px; }

/* not working perfect */
.double-article:nth-child(odd) {
      margin-bottom: 50px; }

/*
.container-collapse {
    margin-top: 25px; }*/

.container-collapse h3 {
    margin-bottom: 10px; }

.article-centered,
.article-wide,
.article-half {
    margin-bottom: 25px; }

.article-centered img,
.article-wide img,
.article-half img {
    max-width: 100%;
    height: auto; }

.layout-dark {
    background: #413529;
    color: #FFF; }

/* 2-articles */

.layout-dark .article-wide,
.article-small {
    padding-top: 50px;
    padding-bottom: 50px; }

.layout-bright .image-small,
.layout-dark .image-small {
    padding-left: 0;
    padding-right: 0; }

.layout-dark .article-small img,
.layout-bright .article-small img  {
    float: right; }

@media (max-width: 767px) {
    .article-small {
        order: 0; }

    .image-small {
        order: 1; }
}

/* Article icon */
.article-icon img {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin-bottom: 25px; }

.video-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.video-container::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

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

/* Collapsing article 
    (https://disjfa.github.io/bootstrap-tricks/card-collapse-tricks/) 
*/

/* Bootstrap CSS Overrides */
.article-collapse:before {
    position: absolute;
    top: 15px;
    content: "–";
    color: #93ac2d; }

.card {
    background-color: transparent;
    border: 0;
    border-radius: 0; }

/* Bootstrap CSS Overrides */
i.open {
    font-size: 18px;
    color: #413529 !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 10px;
    margin-top: 15px;
    border: 0;
    background: rgba(255, 255, 255, 0.8);
    text-decoration: none; }

i.open:after {
    content: url(../img/collapse-arrow-2.svg);
    display: inline-block;
    width: 9px;
    height: 11px;
    margin-left: 25px; }

.card-header {
    border: 0;
    background-color: transparent; }

.card-header .collapsed .open:after {
    content: url(../img/collapse-arrow-1.svg); }

.card-body {
    padding-top: 0;
    padding-bottom: 0; }

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    i.close:after { 
        background: none; }
}

/* Back to top */
#return-to-top {
    position: fixed;
    bottom: 90px;
    right: 15px;
    display: block;
    display: none;
    width: 20px;
    height: 20px;
    opacity: 1;
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxNC45IDI2LjIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE0LjkgMjYuMjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiMxQTE3MUI7fQo8L3N0eWxlPgo8cG9seWdvbiBjbGFzcz0ic3QwIiBwb2ludHM9IjcuNSwwIDcuNSwwIDcuNCwwIDAsNy40IDEuOCw5LjIgNi4yLDQuOCA2LjIsMjYuMiA4LjcsMjYuMiA4LjcsNC44IDEzLjEsOS4yIDE0LjksNy40ICIvPgo8L3N2Zz4K");
    background-repeat: no-repeat;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; }

#return-to-top:hover {
    opacity: 0.8; }

/* ==========================================================================
   FORM
   ========================================================================== */
#contact {
    margin-bottom: 100px; }

.footer {
    margin-bottom: 50px; }

#contact-form {
    border: 5px dotted #413529;
    padding: 30px; }

.help-block {
    margin: 0; }

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

#contact-form .form-group input,
#contact-form .form-group textarea {
    font-size: 18px;
    padding: 0;
    background-color: #FFF;
    font-weight: 400;
    border: 0;
    border-radius: 0;
    color: #413529;
    box-shadow: 0;
    border-bottom: 1px solid #413529; }

label {
    font-family: "Source Sans Pro", Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    padding: 0;
    margin-bottom: 0;
    text-align: left; }

.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: 'Source Sans Pro', 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-bottom: 1px solid #a3001a !important;
    margin-bottom: 5px; }

/* Error message */
#contact li {
    font-size: 16px;
    text-transform: none;
    color: #a3001a; }

.btn {
    border: 1px solid #413529;
    background-color: #413529;
    color: #FFF;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    padding: 2px 10px;
    margin-top: 35px;
    -webkit-transition: background linear 350ms; }

.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.open .dropdown-toggle.btn {
    border: 1px solid #413529;
    background-color: #FFF;
    color: #413529;
    -webkit-transition: background linear 350ms; }

/* ==========================================================================
   OFFICE & FOOTER
   ========================================================================== */
.office .office-left,
.office .office-right {
    margin-bottom: 50px; }

thead th {
    font-weight: 400; }

.vcard div {
    display: block;
    margin: 0 auto;
    margin-bottom: 15px;
    width: 85px;
    height: 75px;
    background-image: url(../img/bauchchirurgie-thun-icon.svg);
    background-size: 100% 100%; }

.fn {
    text-transform: uppercase;
    font-weight: 700; }

.fn,
.adr,
.tel {
    display: block; }

.vcard a {
    color: #413529;
    text-decoration: none; }

.vcard a:hover {
    color: #93ac2d; }

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%; }

body {
    margin-bottom: 30px; } /* Margin bottom by footer height */

.imprint {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px; /* Set the fixed height of the footer here */
    line-height: 30px; /* Vertically center the text there */
    background-color: #413529;
    color: #FFF; }

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

.imprint a:hover {
    color: #93ac2d; }

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