/*! HTML5 Boilerplate v7.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #101010;
  font-size: 1em;
  line-height: 1.4;
  font-family: 'Open Sans', arial, sans-serif;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

 /* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('../fonts/open-sans-v15-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v15-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: local('Open Sans Italic'), local('OpenSans-Italic'),
       url('../fonts/open-sans-v15-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v15-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'),
       url('../fonts/open-sans-v15-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v15-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}



h1, h2, h3, h4, h5, h6 {
  color: #20487a;
  font-weight: normal;
  margin-top: 0;
}









 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


.container {
  width: 100%;
  max-width: 960px;
  padding: 0 15px;
  margin: 0 auto;
}

.h-highlight {
  color: #20487a;
}



.m-top {
  border-bottom: 1px solid #bfbfbf;
}

.m-top-inner {
  display: flex;
  justify-content: space-between;
}


.m-logo {
  background: url(../img/Leofortis-AG.png) no-repeat;
  width: 247px;
  height: 31px;
  display: block;
  overflow: hidden;
  text-indent: -100%;
  margin: 50px 0 10px;
}

.m-navtoggle {
  margin-top: 5px;
  width: 35px;
  height: 35px;
  border: none;
  padding: 0;
  text-indent: 100%;
  overflow: hidden;
  display: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%2320487a"><rect y="0" width="100%" height="20%" rx="5%" ry="5%" /><rect y="40%" width="100%" height="20%" rx="5%" ry="5%" /><rect y="80%" width="100%" height="20%" rx="5%" ry="5%" /></svg>') center / 80% 80% no-repeat;
}

@media only screen and (max-width: 991px) {
  .m-logo {
    margin: 10px 0 5px;
    width: 180px;
    height: 30px;
    background-size: contain;
  }

  .m-navtoggle {
    display: block;
  }

  .m-navigation {
    display: none;
  }
}

@media only screen and (min-width: 992px) {
  .m-navigation {
    /* if the mnue was hidden on mobile, and the viewport gets larger, make sure
    nav is displayed */
    display: block !important;
  }
}

.m-navigation {


}

.m-navigation-inner {
}

.m-navigation-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 200px;
}

.m-navigation-list a {
  font-size: 14px;
  display: block;
  color: #595959;
  padding: 5px 0;
  text-decoration:  none;
  position: relative;
}

.m-navigation-list a:hover,
.m-navigation-list a:focus,
.m-navigation-list a.active {
  color: #20487a;
}

.m-navigation-list a:hover::before,
.m-navigation-list a:focus::before,
.m-navigation-list a.active::before {
  position: absolute;
  content: '';
  top: -1px;
  height: 2px;
  background: #fff;
  left: 0;
  right: 0;
}

.m-navigation-list a:hover::after,
.m-navigation-list a:focus::after,
.m-navigation-list a.active::after {
  position: absolute;
  content: '';
  top: 1px;
  height: 2px;
  background: #20487a;
  left: 0;
  right: 0;
}

@media only screen and (min-width: 991px) {

  .m-navigation-inner {
    display: flex;
    justify-content: flex-end;
  }

  .m-navigation-list {
    display: flex;
    flex-wrap: wrap;
    width: auto;
  }

  .m-navigation-list li:not(:first-child) {
    margin-left: 25px;
  }

  .m-navigation-list a {
    font-size: 14px;
    display: block;
    color: #595959;
    padding: 5px 0;
    text-decoration:  none;
    position: relative;
  }

}



.m-banner {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 10px 0 30px;

  height: 340px;
}

.m-banner-inner {
  background: #dddddd;
  height: 286px;

  margin-top: 10px;
}

.m-banner-inner-inner {
  position: relative;
}

.m-banner-inner-inner::after {
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: #fff;

  position: absolute;
  content: '';
  top: -60px;
  left: 180px;

  z-index: 6;

}

.m-banner-img {
  border-radius: 50%;
  display: block;

  width: 330px;
  height: 330px;

  object-fit: cover;

  position: relative;
  top: -10px;
  left: 190px;

  z-index: 12;
}


@media only screen and (max-width: 991px) {

  .m-banner {
    height: 200px;
  }

  .m-banner-inner {
    height: 150px;
  }

  .m-banner-inner-inner::after {
    width: 210px;
    height: 210px;
    top: -20px;
    left: 45px;
  }

  .m-banner-img {
    height: 180px;
    width: 180px;
    top: -5px;
    left: 50px;
  }

}




.m-main {
  padding: 30px 0;
  font-size: 15px;
}






.m-footer-contact {
  background: #ebeeef;
  overflow: hidden;
  position: relative;
}


.m-footer-contact-bubble {
  font-size: 15px;

  width: 320px;
  padding: 20px 0;
  position: relative;
  z-index: 12;
}

@media only screen and (min-width: 35em) {
  .m-footer-contact-bubble {
    margin-left: 52%;
  }
}

.m-footer-contact-bubble::after {
  position: absolute;
  content: '';
  width: 350px;
  height: 350px;

  background: #fff;
  border-radius: 50%;
  top: -40px;
  left: -60px;
  z-index: -1;
}

.m-footer-contact-bubble h5 {
  font-size: 26px;
  margin: 0;
}

.m-footer-contact a {
  color: #101010;
  text-decoration: none;
}

.m-footer-contact a:hover,
.m-footer-contact a:focus {
  text-decoration: underline;
}



.m-footer-meta-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between
}


.m-footer-meta {
  background: #20487a;
  color: #fff;
  font-size: 13px;

  padding: 15px 0;
}

.m-footer-meta a {
  color: #fff;
  text-decoration: none;
}

.m-footer-meta a:hover,
.m-footer-meta a:focus {
  text-decoration: underline;
}


.m-footer-meta-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.m-footer-meta-nav > li:not(:first-child) {
  margin-left: .5rem;
  padding-left: .5rem;
  position: relative;
}

.m-footer-meta-nav > li:not(:first-child):before {
  content: '';
  position: absolute;
  left: 0;
  top: .2em;
  bottom: .2em;
  border-left: 1px solid #fff;
}

@media only screen and (max-width: 991px) {
.h-resetheight-mobil {
	min-height: 0;
}
}
