/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  font-family: 'Open Sans';
  font-size: 16px;
  color: #333;
  line-height: 1.5
}

a {
  color: #085894
}

.flexcontainer {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: flex-start;
  justify-content: flex-start
}

header {
  min-height: 200px;
  background: url(../grafiken/header_Muhrhauser2.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover
}

#marina-menu {
  background: #944308;
}

#marina-menu a {
  color: #f4f4f4
}

#marina-menu span {
  display: flex
}

#marina-menu ul {
  list-style: none;
  overflow: hidden
}

#marina-menu ul.mainmenu ul.detailmenu {
  margin-left: 20px
}

#marina-menu li a {
  display: -webkit-flex;
  display: flex;
  padding: 20px 20px;
  border-bottom: 1px solid #f4f4f4;
  text-decoration: none
}

#marina-menu li a:last-child {
border-bottom: none
}

#marina-menu li a:hover,
#marina-menu ul.mainmenu-btn:hover {
  background-color: #f4f4f4;
  color: #085894
}

#marina-menu .logo {
  padding: 10px 20px;
  text-decoration: none;
  align-items: center;
  display: flex;
  color: #130906;
}

#marina-menu ul.mainmenu {
  max-height: 0;
  transition: max-height .2s ease-out
}

#marina-menu .menu-icon {
  cursor: pointer;
  margin-left: auto;
  padding: 32px 20px
}

#marina-menu .menu-icon .navicon {
  background: #f4f4f4;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px
}

#marina-menu .menu-icon .navicon:before,
#marina-menu .menu-icon .navicon:after {
  background: #f4f4f4;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%
}

#marina-menu .menu-icon .navicon:before {
  top: 5px
}

#marina-menu .menu-icon .navicon:after {
  top: -5px
}

#marina-menu .menu-btn {
  display: none
}

#marina-menu .menu-btn:checked~ nav ul.mainmenu {
  max-height: 600px
}

#marina-menu .menu-btn:checked~.nav-wrapper .menu-icon .navicon {
  background: transparent
}

#marina-menu .menu-btn:checked~.nav-wrapper .menu-icon .navicon:before {
  transform: rotate(-45deg)
}

#marina-menu .menu-btn:checked~.nav-wrapper .menu-icon .navicon:after {
  transform: rotate(45deg)
}

#marina-menu .menu-btn:checked~.nav-wrapper .menu-icon:not(.steps) .navicon:before,
#marina-menu .menu-btn:checked~.nav-wrapper .menu-icon:not(.steps) .navicon:after {
  top: 0
}

main {
  padding: 0 1rem 1rem
}

footer {
  padding: 1rem 0;
  text-align: center;
  border-top: 2px solid #085894
}

/*Allgemein*/
h1,
h2,
h3 {
  color: #085894;
  margin: 20px 0
}

h1 {
  font-size: 2.5em
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.5em
}

a:hover {
  text-decoration: none
}

ul,
ol {
  list-style-position: inside
}

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


/*mozilo*/

.listitem {
  list-style-position: inside
}

.alignright {
  text-align: right
}

.alignleft {
  text-align: left
}

.aligncenter {
  text-align: center
}

table.contenttable {
  width: 100%;
  text-align: center;
  padding: .625em 0
}

th.contenttable {
  background: #085894;
  color: #fff;
  border-right: 1px solid;
  padding: 7px
}

th.contenttable:last-child {
  border-right: none
}

td {
  padding: 7px;
  border-bottom: 1px solid #085894
}

.leftcontentimage {
  float: left
}

.rightcontentimage {
  float: right
}

.horizontalrule {
  margin: .625em 0
}

.sitemap.result-list {
margin-bottom: .5rem
}

.sitemap.result-list-header {
font-weight: 700
}

.sitemap.result-list-item {
margin-left: 1rem
}

@media (min-width: 48em) {

  header {
    min-height: 220px
  }

  #marina-menu {
    display: -webkit-flex;
    display: flex;
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  #marina-menu li {
    position: relative
  }

  #marina-menu li a {
    padding: 22px 30px;
    border-bottom: none;
    white-space: nowrap
  }

  #marina-menu li a:hover {
    background-color: #f4f4f4
  }
  
#marina-menu nav {
	display: flex;
	flex:1
	}

  #marina-menu nav ul.mainmenu {
    display: -webkit-flex;
    display: flex;
    -webkit-flex: 1 0 0;
    flex: 1 0 0;
    -webkit-justify-content: center;
    justify-content: center;
    max-height: none;
    margin-left: 0;
    overflow: inherit
  }

  #marina-menu nav ul.mainmenu ul.detailmenu {
    max-height: 0;
    transition: max-height .2s ease-out;
    position: absolute;
    min-width: 100%;
    margin-left: 0;
    background: #944308;
    white-space: nowrap
  }

  #marina-menu nav ul.mainmenu li:hover ul {
    max-height: 500px
  }

  #marina-menu ul ul li a {
    border-right: none
  }

  #marina-menu .menu-icon {
    display: none
  }

  .fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0
  }

  main {
    width: 70%;
    margin: 0 auto
  }

  footer {
    width: 70%;
    margin: 0 auto
  }
}