*{
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  /* font-family: Arial, Helvetica, sans-serif; */
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  line-height: 1.5;
  color: #484848;
}

h1, h2, h3 {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

h2 {
  color: #4e6283;
  font-size: 1.5em;
  text-align: left;
}

h3 {
  font-size: 1em;
  font-weight: 600;
  color: #484848;
}

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

a {
  color: #656a6e;
  text-decoration: none;
  font-weight: 400;
}


hr.separator {
  border: 0;
  height: 1px;
	width: 5%;
  background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}

.align-center {
  text-align: center;
  background: #eaeaea;
}

.main {
  width: 90%;
  margin: auto;
  margin-top: 4em;
}

/*  Content */


/*  Main header */
.main-header {
  display: flex;
  flex-direction: column;
  padding-top: .5em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  transition: .8s;
  z-index: 2;
}

.main-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background: transparent;
  padding: 15px;
}

.logo {
  width: 110px;
}

.logo img {
  width: 130px;
  margin: 0;
  padding: 0;
}

.nav {
  display: none;
}

.nav li {
  padding: 0;
}

.nav a {
  display: block;
  color: #f5fffa;
  font-size: 1.125em;
  font-weight: 300;
  text-align: center;
  padding: .4em;
  border-bottom: 1px solid #808080;
}

.nav a:hover {
  color: #0b0b0b;
  border-bottom-color: #52bab3;
}



/* Dropdown */

.menu-icon {
  cursor: pointer;
  color: #484848;
  font-size: 18px;
  margin-top: 10px;
}

.show {
  display:block;
  margin-top: 1em;
  background: rgba(57, 56, 56, .92);
}

.clearfix::after {
    content:" ";
    display: table;
    clear: both;
  }

/*  REFERENZEN */

.all-referenzen {
  margin-top: 100px;
}

.all-referenzen h2 {
  margin-bottom: 10px;
}

.referenz-wrapper img {
  width: 100%;
  background: #f1f1f1;
  padding: .3em;
}

.ref {
  margin-bottom: 10px;
  padding: 1em;
}

.referenz-wrapper div.ref:nth-child(2n+1) {
 background: #eaeaea;
}

.ref-link,
.web-link {
  display: inline-block;
  margin-top: 10px;
}

.web-link {
  color: #4e6283;
}

.web-link:hover {
  color: #444;

}

.web-link::before {
  content: url("../images/icons/internet.png");
  position: relative;
  top: 5px;
  margin-right: 8px;
}

.ref-context ul {
  padding: 20px; 
}

.ref-context ul li::before {
  margin: 0px 9px 0px -16px;
}

/*  UBER UNS */

.team img {
  width: 100%;
}

/*  KONTAKT */

.kontakt-title {
  margin: 20px 0 20px 0;
  display: inline-block;
  color: #4e6283;
}

.contact-item {
  font-size: .9em;
}

.kontakt-btn {
  font-size: 0.875em;
	font-weight: 400;
  cursor: pointer;
  color: #fff;
  padding-left: 20px;
  padding-right: 20px;
	width: 100%;
	margin: .5em 0 1em;
	text-transform: uppercase;
}

.kontakt-btn:hover {
  opacity: .75;
}
.default {
  background-color: #4e6283;
}
.error {
  background-color: #ff784f;
}

.kontakt-container h1 {
  margin: 0 0 30px 0;
  text-align: center;
}

.form-contact {
  padding: 20px 24px;
  background: #f4f7f8;
  max-width: 500px;
}
label {
  display: block;
  margin-bottom: 0.5em;
}
label:last-of-type {
 margin-top: 1.1em;
}
input,
textarea  {
  outline: 0;
	border: none;
	padding: 15px;
	border-radius: .3em;
	border-bottom: 3px solid rgba(0,0,0,0.05);
}
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
	font-size: 1em;
  color: #222;
  font-weight: 300;
  width: 100%;
  height: auto;
  margin-bottom: 1.2em;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08) inset;
}
form > a {
  font-size: .85em;
}

input:focus,
textarea:focus {
  border-color: #4e6283;
}


.kontakt-angaben img {
  width: 300px;
}

.ansprech {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  text-align: center;
}

.ansprech ul li {
  font-size: .8em;
}

.partner {
  flex: 1;
}

.partner img {
  width: 80px;
  border-radius: 50%;
}

/*  Angebote */

.angebote-container {
  margin-top: 100px;
}

.angebote-container img {
  width: 100%;
  margin-bottom: 15px;
}

.angb-points {
  background: #F0F8FF;
  color: #000;
  padding: 20px 35px;

}

.angb-item {
  margin: 30px 0;
}

.flex-item h3 {
  margin-bottom: 15px;
}

.flex-item li {
  padding-top: 10px;
  font-size: .95em;
}

.flex-item li::before {
  content:"»";
  position: relative;
  margin-right: 8px;
  z-index: 1;
  margin: 0px 9px 0px -16px;
}

.infoblatt {
  margin-top: 20px;
}

.pdf::before {
  content: url(../images/icons/pdf.png);
  position: relative;
  top: 5px;
  margin-right: 8px;
}

.angb-link {
  color: #4e6283;
}

.angb-link:hover {
  color: #444;
}

/*  Footer */

.footer {
  background: #3a3a3a;
  color: #fff;
  font-size: .8em;
}

.all-footer {
  margin: auto;
  width: 90%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px;
  line-height: 1.5em;
}

.all-footer ul li a {
	color: #ddd;
}

.footer h3 {
  margin: 0;
  padding-bottom: 10px;
  color: #4e6283;
}

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

.item {
  margin: 5px;
  color: #fff;
}

.impressum-footer {
	border-top: .01em solid #aaa;
}

.impressum-items {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 45%;
  margin: auto;
  text-align: center;
}

.impressum-footer ul li:nth-child(1),
.impressum-footer ul li:nth-child(2),
.impressum-footer ul li:nth-child(3)
 {
	background: #4e6283;
}

.impressum-footer ul li {
  margin: 5px;
  list-style: none;
  font-size: .8em;
  transition: .5s;
  border-radius: 50%;
  width: 35px;
  padding: 10px 0;
}

.impressum-footer ul li a {
	color: #ddd;
}

.uns-footer ul li::before,
.angebote-footer ul li::before,
.ref-context ul li::before {
  content:"»";
  position: relative;
  margin-right: 8px;
  color: #4e6283;
}

/*  UBERUNS */

.team-parallax {
  display: none;
}

.mediga-profile p {
  line-height: 1.8;
}

/* UBER UNS */

.uns-title {
  margin: 30px 0 10px 0;
  display: inline-block;
}

.mediga-profile p {
  margin: 0;
  padding: 0;
}

.align-members {
  width: 50%;
  margin: auto;
  text-align: center;
  margin-top: 30px;
}

.team-members ul {
  margin-bottom: 15px;
}

.team-members ul li {
  list-style-type: none;
}

.team-members img {
  width: 180px;
  border-radius: 50%;
}

@media (max-width: 1365px) and (min-width: 700px) {
  .main {
    width: 95%;
    margin: auto;
  }

  .main-top {
    padding: 30px;
  }

  /*  ANGEBOTE */

  .angebote-container {
    margin-top: 120px;
  }

  .flex {
    display: flex;
  }

  .flex1 {
    flex: 1;
    margin: 0 25px 0 0;
  }

  .flex2 {
    flex: 1;
  }

  /* REFERENZEN */

  .all-referenzen {
    margin-top: 120px;
  }

  .all-referenzen h2 {
    margin-bottom: 20px;
  }

  .referenz-wrapper {
    display: flex;
    flex-direction: column;
  }

  .ref-context2 {
    width: 50%;
    margin: auto;
  }

  .referenz-wrapper img {
    width: 100%;
    margin-top: 10px;
    background: #f1f1f1;
    padding: .5em;
  }

  .ref {
    padding: 25px;
    margin-bottom: 30px;
  }

  /*  UBERUNS */

  .team-parallax {
    margin-top: 120px;
    display: block;
  }

  .team-parallax img {
    max-width: 100%;
    max-height: 100%;
  }

  .align-members {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 80%;
    margin: auto;
    padding: 50px 0;
    text-align: center;
  }

  .member {
    width: 50%;
  }

  .m5 {
    margin: auto;
  }

  .team-members img {
    width: 140px;
    border-radius: 50%;
  }

  .uns-title {
    margin: 30px 0;
  }

  /*  KONTAKT */

  .contact-main {
    margin-top: 50px;
    height: 79vh;
  }

  .kontakt-title {
    margin: 80px 0 20px 0;
    display: inline-block;
    color: #4e6283;
  }

  .kontakt-container {
    display: flex;
  }

  .kontakt {
    flex: 1;
  }

  .kontakt-angaben-inhalt {
    width: 70%;
    margin: auto;
  }

  .kontakt-angaben-inhalt ul {
    margin: 0;
    padding: 0;
  }

  .kontakt-angaben-inhalt ul li {
    list-style-type: none;
  }

  .ansprech {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 30px;
    text-align: center;
  }

  .ansprech ul li {
    font-size: .9em;
  }

  .partner img {
    width: 90px;
    border-radius: 50%;
  }

}


/*  Media Querry */

@media(min-width: 1366px) {

  .main {
    width: 80%;
    margin: auto;
    margin-top: 6em;
  }

  .menu-icon {
    display: none;
  }

  .align-header {
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border: none;
  }

  .nav {
    width: 45%;
    margin: 0;
    padding: 0;
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
  }

  .nav li {
    flex: 1;
  }

  .nav li a {
    color: #444;
        border: none;
  }

  .nav li a:hover {
    color: #4e6283;
    border-bottom: 3px solid #4e6283;
    font-size: 1em;
    transition: .2s;

    cursor: pointer;
  }

  .main-header:hover {
    padding: 15px;
    background: rgba(245, 245, 245, .95);
    transition: .8s;
  }

  .flex {
    display: flex;
  }

  .flex1 {
    flex: 1;
    margin: 0 25px 0 0;
  }

  .flex2 {
    flex: 1;
  }

  /* FOOTER */

  .all-footer {
    width: 80%;
    padding: 50px;
  }

  .impressum-padding {
    padding: 20px 0;
  }

  .impressum-footer ul li {
  	margin: 5px;
  	list-style: none;
  	font-size: .8em;
  	transition: .5s;
  	border-radius: 50%;
    width: 38px;
    padding: 10px 0;
  }

  .kontakt-footer ul li {
    line-height: 2;
  }

  .uns-footer ul li a:hover,
  .angebote-footer ul li a:hover {
    color: #aaa;
  }

  .kontaktFooter-title1::before {
    content: url(../images/icons/kontakt.png);
  }

  .kontaktFooter-title2::before {
    content: url(../images/icons/about.png);
  }

  .kontaktFooter-title3::before {
    content: url(../images/icons/rad.png);
  }

  .kontaktFooter-title::before {
    margin-right: 8px;
    position: relative;
    top: 2px;
  }

  /*  ANGEBOTE */

  .angebote-container {
    margin-top: 120px;
  }

  /*  REFERENZ */

  .all-referenzen {
    margin-top: 120px;
  }

  .all-referenzen h2 {
    margin-bottom: 20px;
  }

  .referenz-wrapper {
    display: flex;
    flex-direction: column;
  }

  .referenz-wrapper img {
    width: 300px;
    margin-top: 10px;
    background: #f1f1f1;
    padding: .5em;
  }

  .ref {
    padding: 25px;
    margin-bottom: 30px;
  }

  .ref-context1 {
    float: left;
    width: 60%;
  }

  .ref-content2 {
    float: right;
  }

  .referenz-wrapper div.ref:nth-child(2n+1) {
   background: #eaeaea;
  }

  /* UBERUNS */

  .align-members {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 80%;
    margin: auto;
    padding: 50px 0;
    text-align: center;
  }

  .member {
    flex: 1;
  }

  .team-members img {
    width: 200px;
    border-radius: 50%;
  }

  .uns-title {
    margin: 30px 0;
  }

  .mediga-profile {
    column-count: 2;
    margin-bottom: 50px;
  }

  .team-parallax {
    margin-top: 120px;
    display: block;
  }

  .team-parallax img {
    max-width: 100%;
    max-height: 100%;
  }

  /*  KONTAKT */

  .kontakt-container {
    display: flex;
  }

  .kontakt {
    flex: 1;
  }

  .kontakt-angaben-inhalt {
    width: 50%;
    margin: auto;
  }

  .kontakt-angaben-inhalt ul {
    margin: 0;
    padding: 0;
  }

  .kontakt-angaben-inhalt ul li {
    list-style-type: none;
  }

  .ansprech {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 30px;
    text-align: center;
  }

  .ansprech ul li {
    font-size: .9em;
  }

  .partner img {
    width: 100px;
    border-radius: 50%;
  }

}
