/*  Author:   Martin Stettler (https://dieweberei.ch/)
    Version:  22/11/2019 // BS v4.3.1
*/

/* ==========================================================================
   DEV STYLES
   ========================================================================== 
.navbar-nav {
    border: 1px dashed #f227f9; }
*/

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
@font-face {
    font-family: "DIN Next LT W01 Bold";
    src: url("../fonts/03008527-67bd-478e-98e3-3b56dd9a6520.woff2") format("woff2"),
        url("../fonts/557f817d-9c25-4a23-baaf-a3cf84a7cd7c.woff") format("woff");
}

@font-face {
    font-family: "DIN Next W01 Light";
    src: url("../fonts/c74c6328-51c1-49c4-be9b-1edf2ba4f4a9.woff2") format("woff2"),
        url("../fonts/29ee7381-ef5b-4609-ade0-46d61d61d9dd.woff") format("woff");
}
/*
@font-face {
    font-family: "DIN Next W01 Regular";
    src: url("../fonts/21633fa6-1990-48b9-99b4-c8b26d501fbe.woff2") format("woff2"),
        url("../fonts/9b336552-06ab-47a1-8681-4271cfcd8879.woff") format("woff");
}
*/

/*
This CSS resource incorporates links to font software which is the valuable copyrighted
property of Monotype Imaging and/or its suppliers. You may not attempt to copy, install,
redistribute, convert, modify or reverse engineer this font software. Please contact Monotype
Imaging with any questions regarding Web Fonts:  http://www.fonts.com
*/

/* Bootstrap CSS */
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);
    scroll-behavior: smooth; /* do not delete */
}

body {
    margin: 0;
    font-family: 'DIN Next W01 Light', Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    text-align: left;
    background-color: #fff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
        hyphens: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
img,
ul,
table {
    margin-bottom: 30px;
}

h1,
h2,
h3 {
    font-family: 'DIN Next W01 Light', Arial, sans-serif;
    font-size: 46px;
    font-size: calc(32px + (46 - 32) * (100vw - 320px)/(1440 - 320));
    text-transform: uppercase;
}

h1 strong,
h4 strong {
    font-family: "DIN Next LT W01 Bold", Arial, sans-serif;
    font-size: 17px;
}

h1 strong {
    display: block; 
    padding-bottom: 30px;
    text-transform: none;
}

h2 strong {
    font-family: 'DIN Next W01 Light', Arial, sans-serif;
    color: #0085ca;
    font-weight: normal;
}

h3 {
    font-size: 24px;
    text-align: center;
}

h4 {
    font-family: 'DIN Next W01 Light', Arial, sans-serif;
    font-size: 17px;
    margin-bottom: 0;
}

.layout-home h1,
.layout-home .lead p {
    text-align: center;
}

.lead {
  font-size: 17px;
  font-weight: normal;
}

strong {
    font-family: "DIN Next LT W01 Bold", Arial, sans-serif;
    font-weight: normal;
}

.text-small {
    font-size: 14px;
}

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

.list-unstyled li {
    padding-left: 15px; 
}

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

ol { 
    padding-left: 20px;
    counter-reset: item;
    list-style-type: none;
}

ol li { 
    display: block; 
}

ol li:before { 
    position: absolute;
    left: 15px;
    content: counter(item) ") "; 
    counter-increment: item ;
    font-family: "DIN Next LT W01 Bold", Arial, sans-serif;
}

br {
    line-height: 1.5;
}

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

section a,
.vcard a {
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #000;
}

section a:hover,
.vcard a:hover {
    text-decoration: none;
    border-bottom: 1px solid #FFF;
}

.link-element a,
button.link-element {
    font-family: "DIN Next LT W01 Bold", Arial, sans-serif;
    color: #000;
    text-decoration: none;
    border-bottom: 0;
}

.link-element a:hover,
button:hover.link-element {
    color: #0085ca;
    border-bottom: 0;
}

.link-element:before,
button.link-element:before {
    display: inline-block;
    content: '';
    width: 15px;
    height: 13px;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 25.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 14.6 12.9' style='enable-background:new 0 0 14.6 12.9;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%231A171B;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='7,0 13.1,6.1 0,6.1 0,6.9 13.1,6.9 7,12.9 8.1,12.9 14.6,6.5 8.1,0 '/%3E%3C/svg%3E%0A");   
    margin-right: 5px;
}

a.link-element {
    margin-left: 20px;
    text-decoration: none;
}

/* Phone */
a[href^="tel"] {
    white-space: nowrap;
    cursor: pointer !important;
}

/* Smooth animations */
a,
a:hover,
.navbar,
.navbar.shrink,
.navbar-brand span,
.navbar-brand.shrink span,
.brand-name,
.brand-name.shrink,
.navbar-nav,
.navbar-nav.shrink,
button.link-element,
button:hover.link-element {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

/* Tables */
table {
    width: 100%;
}

table {
    table-layout: fixed;
}

table.with-lines>thead>tr,
table.with-lines>tbody>tr {
    border-top: 1px solid #0085ca;
}

table.with-lines>thead>tr:last-child,
table.with-lines>tbody>tr:last-child {
    border-bottom: 1px solid #0085ca;
}

table>thead>tr>th,
table>tbody>tr>td {
    width: auto;
    font-size: 17px;
    vertical-align: top;
    border-top: 0;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    /* Non standard for webkit */
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

table.with-lines>thead>tr>th,
table.with-lines>tbody>tr>td {
    padding: 10px 0;
}

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

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


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

.header-image-container {
    position: relative;
}

.claim {
    position: absolute;
    font-family: "DIN Next LT W01 Bold", Arial, sans-serif;
    font-size: 95px;
    font-size: calc(32px + (95 - 32) * (100vw - 320px)/(1440 - 320));
    color: #FFF;
    z-index: 50;
}

.navbar-brand {
    position: absolute;
    left: 0;
    top: 0;
    text-align: left;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-brand.shrink {
    top: -100px;
}

.navbar-brand span {
    display: inline-block;
    width: 142px;
    height: 90px;
    margin-right: 10px;
    background: url(../img/logo-zahnarzt-uetendorf.svg);
    text-indent: right;
}

.navbar-brand.shrink span {
    width: 142px;
    height: 90px;
}

.navbar-brand .brand-name {
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.2;
}

.navbar-brand .brand-name i,
.navbar-brand .brand-name b {
    font-style: normal;
    display: block;
}

.navbar-brand .brand-name.shrink {
    margin-top: 10px;
    font-size: 17px;
}

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

.navbar.shrink {
    top: -100px;
}

.navbar-nav {
    margin-top: 5px;
    margin-bottom: 25px;
}

.navbar-nav.shrink {
    margin: 0;
}

/* Offcanvas menu
-------------------------------------------------- */
html,
body {
    overflow-x: hidden;
}

/* Prevent scroll on narrow devices */

body {
    padding-top: 60px;
}

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

    /* left for collapse-left */

    .offcanvas-collapse.open {
        right: 0;
        /* left for collapse-left */
        visibility: visible;
    }

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

/* Bootstrap CSS */
.navbar-toggler {
    position: fixed;
    right: 15px;
    top: 10px;
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

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

/* 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: #000;
    /* 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: #000;
}

.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 */
.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0!important;
    margin: 8px 16px;
    font-size: 17px;
    font-family: "DIN Next LT W01 Bold", Arial, sans-serif;
    border-bottom: 2px solid transparent !important;
}


.navbar-light .navbar-nav .nav-link {
    color: #000;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #0085ca;
    text-decoration: none;
    border-bottom: 2px solid #0085ca !important;
}

.navbar-light .navbar-nav .show>.nav-link,
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .nav-link.active {
    color: #0085ca;
    border-bottom: 2px solid #0085ca !important;
}

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

.bg-light {
    background-color: #FFF !important;
}

a.bg-light:hover,
a.bg-light:focus,
button.bg-light:hover,
button.bg-light:focus {
    background-color: #dae0e5 !important;
}

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


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

.unit {
    margin-top: 30px;
    margin-bottom: 30px;
}

.part {
    margin-top: 15px;
    margin-bottom: 15px;
}

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

.lead {
    margin-bottom: 20px;
}

.layout-content .lead {
    margin-top: 60px;
}

#map {
    width: 100%;
    padding-top: 66.66%; 
    border: 1px solid #0085ca;
}
/* ==========================================================================
   FORM
   ========================================================================== */
form {
    border: 1px solid #0085ca;
    padding: 15px;
}

.help-block {
    margin: 0; }

#contact-form .form-group input,
#contact-form .form-group textarea {
    width: 100%;
    font-size: 17px;
    padding: 0; 
    height: auto;
    background-color: #fff;
    border: 0;
    border-bottom: 1px solid #0085ca;
    border-radius: 0;
    font-weight: normal;
    color: #000;}

.form-control:focus {
    outline: 0;
    box-shadow: none;
}

label {
    font-size: 17px;
    padding-top: 5px;
    padding-left: 0px; }

.form-check-input {
  margin-top: 7px; }

.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-weight: normal;
    color: #000;
    border: 0;
    border-radius: 0; }

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

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

.has-error .help-block {
  color: #a40000; }

.col-btn {
    width: 100%;
    padding: 0;
    margin-top: 30px;
}

button.link-element {
    display: inline-block;
    border-color: transparent;
    background-color: transparent;
    font-size: 17px;
    padding: 0;
    color: #000;
    border-radius: 0;
    border: 0;
    opacity: 1 !important; }

.messages {
    background: #FFF;
    color: #000; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    margin-top: 60px;
}

.bg-blue {
    margin-top: 30px;
    background: #0085ca;
}

.bg-blue li:after {
    content: '|';
    color: #FFF;
    margin-left: 5px;
}

.bg-blue li:last-child:after {
    content: '';
}

.bg-blue li a {
    color: #FFF;
    text-decoration: none;
}

.bg-blue li a:hover {
    color: #000;
}

.logo-icon span {
    width: 36px;
    height: 43px;
    background: url(../img/logo-icon.svg);
}

footer h3 {
    margin: 0;
    line-height: 1.5;
}

.adr,
.email {
    display: block;
}

.street-address:after,
.tel:after {
    content: ',';
}

/* Back to top */
#return-to-top {
    position: fixed;
    bottom: 150px;
    right: 15px;
    width: 48px;
    height: 43px;
    display: none;
    background: url(../img/arrow-up.svg);
    background-size: 100% 100%;
    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; }
/* ==========================================================================
   SELECTION
   ========================================================================== */

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

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

img::selection {
    background: 0 0;
}

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

body {
    webkit-tap-highlight-color: #0085ca;
}

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