@import "reset.css";

/* =============================================
   FONTS
   ============================================= */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/open-sans-v34-latin-300.woff2') format('woff2'),
       url('fonts/open-sans-v34-latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v34-latin-regular.woff2') format('woff2'),
       url('fonts/open-sans-v34-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/open-sans-v34-latin-600.woff2') format('woff2'),
       url('fonts/open-sans-v34-latin-600.woff') format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/open-sans-v34-latin-700.woff2') format('woff2'),
       url('fonts/open-sans-v34-latin-700.woff') format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/open-sans-v34-latin-italic.woff2') format('woff2'),
       url('fonts/open-sans-v34-latin-italic.woff') format('woff');
}

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

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  width: 100%;
}

body {
  font: 14px/18px Arial, Helvetica, sans-serif;
  color: #666565;
  background: #ccc;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  font-family: 'Open Sans', serif;
  color: #8b6369;
}

h5 {
  font: bold 28px/32px 'Open Sans', sans-serif;
  color: #000;
  padding-top: 10px;
  margin-bottom: 30px;
}

p {
  margin-bottom: 18px;
}

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

address {
  font-style: normal;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  outline: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #e3e83a;
}

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

blockquote {
  border-left: 3px solid #8b6369;
  padding-left: 16px;
  margin: 18px 0;
  color: #444;
}

/* =============================================
   GRID (responsive)
   ============================================= */

.container_12 {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
}

.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6,
.grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12 {
  float: left;
  position: relative;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

/* Desktop grid widths */
@media (min-width: 769px) {
  .container_12 .grid_1  { width: calc(100% / 12 * 1); }
  .container_12 .grid_2  { width: calc(100% / 12 * 2); }
  .container_12 .grid_3  { width: calc(100% / 12 * 3); }
  .container_12 .grid_4  { width: calc(100% / 12 * 4); }
  .container_12 .grid_5  { width: calc(100% / 12 * 5); }
  .container_12 .grid_6  { width: calc(100% / 12 * 6); }
  .container_12 .grid_7  { width: calc(100% / 12 * 7); }
  .container_12 .grid_8  { width: calc(100% / 12 * 8); }
  .container_12 .grid_9  { width: calc(100% / 12 * 9); }
  .container_12 .grid_10 { width: calc(100% / 12 * 10); }
  .container_12 .grid_11 { width: calc(100% / 12 * 11); }
  .container_12 .grid_12 { width: 100%; }
}

.clear {
  clear: both;
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

/* =============================================
   HEADER & BANNER
   ============================================= */

header {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 999;
}

#bild1 {
  line-height: 0;
  font-size: 0;
}

#bild1 img {
  width: 100%;
  height: auto;
  display: block;
}

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

.menu_block {
  background: #8b6369;
  position: relative;
}

.menu_block .container_12 {
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.menu_block .grid_12 {
  float: none;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0;
}

.main-nav {
  flex: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  margin-right: 15px;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.main-nav ul.sf-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav ul.sf-menu > li {
  position: relative;
}

.main-nav ul.sf-menu > li > a {
  display: block;
  padding: 14px 16px;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.main-nav ul.sf-menu > li > a:hover,
.main-nav ul.sf-menu > li.active > a {
  background: #6e4d52;
  color: #e3e83a;
}

/* Dropdown */
.main-nav ul.sf-menu > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #6e4d52;
  min-width: 180px;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul.sf-menu > li:hover > ul {
  display: block;
}

.main-nav ul.sf-menu > li > ul > li > a {
  display: block;
  padding: 10px 16px;
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
}

.main-nav ul.sf-menu > li > ul > li > a:hover,
.main-nav ul.sf-menu > li > ul > li.active > a {
  background: #5a3d42;
  color: #e3e83a;
}

/* =============================================
   CONTENT AREAS
   ============================================= */

.content {
  background: #f5f5f5;
}

.white {
  color: #666565;
  padding-bottom: 50px;
  background: #f5f5f5;
}

.white.wt2 {
  padding-top: 20px;
}

.white h5 {
  font: bold 28px/32px 'Open Sans', sans-serif;
  color: #000;
  padding-top: 10px;
  margin-bottom: 30px;
}

.white a:hover {
  color: #e3e83a;
}

.blog {
  overflow: hidden;
  margin-top: 0;
}

.extra_wrapper {
  overflow: hidden;
  padding: 15px 0;
}

.img_inner {
  max-width: 100%;
  margin-bottom: 20px;
  margin-top: 4px;
  border: 3px solid #e3e83a;
}

.img_inner.i1 {
  border-width: 1px;
}

.fleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 11px;
}

.fright {
  float: right;
}

.center {
  text-align: center;
}

.wrapper, .extra_wrapper {
  overflow: hidden;
}

/* Map / Contact */
.map {
  padding-top: 12px;
  color: #848383;
}

.map figure {
  width: 100%;
  margin-bottom: 20px;
}

.map figure iframe {
  width: 100%;
  height: 400px;
  max-width: 100%;
  border: 2px solid #ccc;
}

.map a {
  color: #ee1313;
}

.map a:hover {
  color: #000;
}

.map address + address {
  margin-top: 30px;
}

address dt {
  margin-bottom: 10px;
}

address dd span {
  min-width: 85px;
  display: inline-block;
}

/* Articles */
.article + .article {
  margin-top: 50px;
  padding-top: 50px;
  border-top: 1px solid #ddd;
}

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

footer {
  display: block;
  padding: 0;
  font-size: 12px;
  color: #6b6868;
  background: #323030;
}

footer .container_12 {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

footer .container_12 .grid_2 {
  width: auto;
  float: none;
  padding: 0;
  min-width: 120px;
}

.copy {
  color: #797979;
  font-size: 12px;
}

footer .footer_logo {
  margin-bottom: 7px;
  display: block;
}

footer ul {
  font-size: 14px;
  color: #a8a8a8;
}

footer ul li + li {
  margin-top: 7px;
}


footer a {
  color: #a8a8a8;
}

footer a:hover {
  color: #e3e83a;
}

.f_bot {
  padding: 20px 15px;
  color: #797979;
  background: #252222;
  font-size: 12px;
  text-align: center;
}

.f_bot a {
  color: #a8a8a8;
}

.f_bot a:hover {
  color: #e3e83a;
}

/* =============================================
   MOBILE
   ============================================= */

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .menu_block .grid_12 {
    height: 54px;
    align-items: center;
    flex-wrap: nowrap;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #8b6369;
    z-index: 998;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul.sf-menu {
    flex-direction: column;
  }

  .main-nav ul.sf-menu > li > a {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 12px 16px;
  }

  /* Mobile dropdown */
  .main-nav ul.sf-menu > li > ul {
    display: none;
    position: static;
    background: #6e4d52;
    width: 100%;
  }

  .main-nav ul.sf-menu > li.is-open > ul {
    display: block;
  }

  .main-nav ul.sf-menu > li > ul > li > a {
    padding-left: 32px;
  }

  /* Stack grid on mobile */
  .grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6,
  .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12 {
    width: 100% !important;
    float: none;
  }

  #bild1 img {
    max-height: 160px;
    object-fit: cover;
    object-position: center top;
  }

  .white h5 {
    font-size: 22px;
    line-height: 28px;
  }

  .fleft, .fright {
    float: none;
    margin-right: 0;
  }
}
