/*
	Theme Name: MM-SoftwareSolution Portal Block Design
	Date: Mai 2019
	Description: Portal Block Design 2019
	Version: 1.0
	Author: Marc Mittler
	Author URL: http://www.mm-softwaresolution.com
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

div {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

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

ul,
li {
  list-style: none;
}

/* ---------------------------
   ------- Bodystyle ---------
   --------------------------- */
body {
  background-image: url("../images/bg.png");
  color: #444;
  font-size: 14px;
  /* Font size: 14px */
  /*font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;*/
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  line-height: 1.429;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------------------------
   --------- Headings --------
   --------------------------- */
h2 {
  font-size: 1.571em;
}

/* Size = 22px */
h3 {
  font-size: 1.429em;
}

/* Size = 20px */
h4 {
  font-size: 1.286em;
}

/* Size = 18px */
h5 {
  font-size: 1.143em;
}

/* Size = 16px */
h6 {
  font-size: 1em;
}

/* Size = 14px */
h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: .8em;
}

/* ---------------------------
   ------- Anchorstyle -------
   --------------------------- */
a {
  outline: 0;
}

a img {
  border: 0px;
  text-decoration: none;
}

a:link, a:visited {
  color: #33b5e5;
  /*padding: 0 1px;*/
  text-decoration: none;
}

a:hover, a:active, a:current {
  background-color: #ff0000;
  color: #fff;
  text-decoration: none;
}

/* ---------------------------
   --- Main Header Wrapper ---
   --------------------------- */
.mainHeaderWrapper {
  background: url("../images/dark.jpg") no-repeat center fixed;
  background-size: cover;
  min-height: 320px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.logoWrapper {
  zoom: 1;
  line-height: 80px;
  margin: 30px auto 0px auto;
  text-align: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.logoWrapper:before, .logoWrapper:after {
  content: "";
  display: table;
}
.logoWrapper:after {
  clear: both;
}

.menuWrapper nav {
  line-height: 80px;
  text-align: center;
}
.menuWrapper nav ul {
  list-style: none;
}
.menuWrapper nav ul li {
  float: right;
  display: inline;
}

.logout_button {
  float: right;
  margin-right: 40px;
  color: #ffffff !important;
}

/* ---------------------------
   ----- Main Navigation -----
   --------------------------- */
.nav {
  zoom: 1;
  list-style: none;
  width: auto;
  height: auto;
  margin-top: 0px;
  /*text-align: center;*/
  background-color: #fff;
  line-height: 60px;
  -webkit-box-shadow: inset 0 7px 7px -7px rgba(0, 0, 0, 0.8);
          box-shadow: inset 0 7px 7px -7px rgba(0, 0, 0, 0.8);
}
.nav:before, .nav:after {
  content: "";
  display: table;
}
.nav:after {
  clear: both;
}

.mainHeader nav ul {
  list-style: none;
  margin: 0 auto;
}

.mainHeader nav ul li {
  /*float: right;
  display: inline; */
}

.menu {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  float: left;
  list-style: none;
  margin: 0 auto;
  padding: 0px 15px 0;
}
.menu li {
  list-style: none;
  display: inline;
}
.menu li a {
  padding: 0px 20px;
  font-weight: bold;
  color: #000000;
}

.mainHeader nav a:link, .mainHeader nav a:visited {
  color: #ffffff;
  	/*display: inline-block;
  	height: 10px;
      */
  padding: 0px 20px;
  text-decoration: none;
  /*font-weight: bold;*/
}

.mainHeader nav a:hover, .mainHeader nav a:active {
  /*background: #ffffff;*/
  color: #ffffff;
  text-shadow: none !important;
}

/*
.mainHeader nav .current {
    color: #000000;
	display: inline-block;
	height: 10px;

    background:  	#ff0000;
	text-shadow: none !important;
}
*/
.mainHeader img {
  width: 100%;
  height: auto;
}

.introduction_content {
  display: block;
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 0px;
  padding-bottom: 20px;
  text-align: left;
  margin: 0 auto;
  /* min-height: 300px;*/
  font-size: 1em;
  line-height: 1.5;
}

.centered {
  zoom: 1;
  display: block;
  text-align: center;
}
.centered:before, .centered:after {
  content: "";
  display: table;
}
.centered:after {
  clear: both;
}

.content_right {
  display: block;
  float: right;
}

.header-image{
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  float: left;
  overflow: hidden;
}

.contact_person_name,
.contact_person_details {
  display: block;
  /*min-width: 50%;*/
  color: #ffffff;
  /*border-right: 2px solid;*/
  float: left;
  margin-top: 30px;
  padding-right: 30px;
  position: relative;
}
.contact_person_name + .contact_person_details,
.contact_person_details + .contact_person_details {
  padding-left: 30px;
}
.contact_person_name:after,
.contact_person_details:after {
  content: '';
  height: 80%;
  width: 1px;
  position: absolute;
  right: 0;
  top: 10%;
  background-color: #fff;
}

.contact_person_name {
  padding-left: 30px;
}

.no_border_right {
  border-right: 0px;
  padding-right: 0;
}

.no_border_right:after {
  display: none;
}

.ask_menu {
  float: right;
  width: 200px;
  margin-right: 20px;
  text-align: right;
  color: #ffffff;
}

.ask_ralph {
  margin-bottom: 20px;
  cursor: pointer;
  width: 180px;
  padding-left: 45px;
  padding-right: 45px;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #FA8072;
  color: #ffffff;
  /*border: 1px solid #FA8072;*/
  text-align: center;
  border: 0px;
  line-height: unset;
  background-color: #33b5e5;
}

.ask_menu a {
  color: #ffffff;
  border-radius: 3px;
}

.ask_menu a:hover{
    background: #178ab4;
}

.active a{
    color: #33b5e5!important;
}
.settings_active{
    color: #000!important;
}

.update_message_div{
    max-width: 520px;
    margin: 0 auto;
}
.back_button {
    margin-top: 40px;
    margin-bottom: 20px;
    display: block;

    cursor: pointer;
    min-width: 80%;

    text-align: center;
    color: #ffffff;

    padding-left: 45px;
    padding-right: 45px;

    padding-top: 15px;
    padding-bottom: 15px;


    text-align: center;
    border: 0px;

    line-height: unset;
    background-color: #33b5e5;
}

.back_button a {
    color: #fff;
}

/* Popup */
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-transition: opacity 500ms;
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
    z-index: 100;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 500px;
  position: relative;
  -webkit-transition: all 5s ease-in-out;
  transition: all 5s ease-in-out;
}
.popup .close {
  position: absolute;
  top: 0px;
  right: 10px;
  -webkit-transition: all 200ms;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  border: 0px;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
  margin: 0;
  font-size: 20px;
  line-height: 26px;
  font-weight: bold;
}

.popup .close:hover {
  color: #06D85F;
}

.popup_content_submitted,
.popup_content {
  max-height: 30%;
  overflow: auto;
  margin-top: 10px;
}

.popup_content_submitted{
  display: none;
}

.popup--submitted .popup_content{
  display: none;
}

.popup--submitted .popup_content_submitted{
  display: block;
}

/* Ende Popup */
/* ---------------------------
   -------- Main Logo --------
   --------------------------- */
.logoRow {
  width: 220px;
  margin-top: 10px;
  margin-left: 40px;
  float: left;
}

.menuWrapper {
  float: right;
}

/* ---------------------------
   ------- Main Banner -------
   --------------------------- */
.mainBanner {
  width: 100%;
  height: auto;
}

.mainBanner img {
  width: 100%;
  height: auto;
}

.mainBanner p {
  margin: 0;
}


/* ---------------------------
   ----- Dropdown Button -----
   --------------------------- */

.dropbtn {
    background-color: rgba(0,0,0,0.2);
    color: #33b5e5;

    padding: 16px;
    font-size: 12px;

    border-radius: 3px;
    cursor: pointer;

    border: 1px solid #33b5e5;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;

    background-color: #f9f9f9;
    min-width: 120px;

    z-index: 1;
}

.dropdown-content a {
    color: #178ab4;
    line-height: 40px;

    font-size: 12px;
    text-decoration: none;

    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content{
    display: block;
}

.dropdown:hover .dropbtn {
    background: #178ab4!important;
    color: #ffffff;
}

/* ---------------------------
   ----- Question Button -----
   --------------------------- */
.question-button-portal {
    min-width: 115px;
    max-width: 200px;

    background: #ffffff!important;
    text-align: center;

    float: right;
    padding: 10px 15px;

    cursor: pointer;
    color: #33b5e5;

    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;

    border: 0px;
    line-height: unset;

    border: 1px solid #33b5e5;
}

.question-button-portal:hover{
    background: #178ab4!important;
    color: #ffffff;
}
/* ---------------------------
   ------- Content Area ------
   --------------------------- */
.mainContent {
    zoom: 1;
    overflow: hidden;

    /*line-height: 25px;*/
    width: 100%;
    height: auto;

    /*background-color: #fff;*/
}
.mainContent:before, .mainContent:after {
  content: "";
  display: table;
}
.mainContent:after {
  clear: both;
}

.content {
  overflow: hidden;
  width: 75%;
  float: left;
/*  background-color: #fff;*/
  height: auto;
  /* padding: 3% 5%;	  */
}

.post-info {
  font-style: italic;
  color: #999;
  font-size: 85%;
}

/* Joomla Style Tags */
.item-page {
  margin-left: 2%;
  margin-right: 2%;
}

.page-header h1 {
  /* padding-left: 2%; */
}

.leading-0 {
  padding-left: 2%;
  padding-right: 2%;
}

.customBanner {
  height: auto;
  line-height: 0px;
}

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

.content_box {
  margin-left: 2%;
  margin-right: 2%;
}

/* ---------------------------
   -------- Sidebar ----------
   --------------------------- */
.wrap__sidebar {
    width: 25%;
    float: right;

    margin-top: 16px;
}

.top-sidebar {
  margin-left: 5%;
  background-color: whitesmoke;
  /* padding: 2% 3%;*/
  margin-bottom: 20px;
  height: auto;
 /* min-height: 260px; */
}
.top-sidebar ul {
  padding: 0px 0px;
  text-align: center;
}
.top-sidebar ul li {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 180px;
  line-height: 40px;
  float: center;
  list-style: none;
  text-align: center;
  font-size: 14px;
  border-style: solid;
  border-width: 2px;
  border-color: whitesmoke;
  background-color: white;
  margin-bottom: 2%;
}

.top-sidebar a {
  text-decoration: none;
  color: #000000;
  display: block;
}

.top-sidebar li a:hover {
  text-decoration: none;
  color: red;
  background-color: #fff;
}

.top-sidebar img {
  width: 50%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.middle-sidebar {
  height: auto;
  /* min-height: 260px; */
  clear: right;
  margin-left: 5%;
  background-color: whitesmoke;
  /* padding: 2% 3%; */
}

.middle-sidebar ul {
  padding: 0 !important;
  text-align: center;
}

.middle-sidebar li {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 180px;
  line-height: 40px;
  float: center;
  list-style: none;
  text-align: center;
  font-size: 14px;
  border-style: solid;
  border-width: 2px;
  border-color: whitesmoke;
  background-color: white;
  margin-bottom: 2%;
}

.middle-sidebar a {
  text-decoration: none;
  color: #000000;
  display: block;
}

.middle-sidebar li a:hover {
  text-decoration: none;
  color: red;
  background-color: #fff;
}

.middle-sidebar img {
  width: 50%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.bottom-sidebar {
  width: 24%;
  height: auto;
  float: right;
  margin-left: 2%;
  background-color: #FFF;
  padding: 2% 3%;
  margin-bottom: 1%;
}

/* ---------------------------
   --- Daily Calorie Wrapper ---
   --------------------------- */
.daily_calorie_wrapper {
    position: relative;
    width: 100%;
}

.daily_calorie_wrapper img{
    width: 100%;
}

.daily_calorie_wrapper:hover .overlay-top-sidebar {
  opacity: 1;
}

.overlay-top-sidebar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #178ab4;
}

/* ---------------------------
   --- Daily Water Wrapper ---
   --------------------------- */
.daily_water_wrapper {
    position: relative;
    width: 100%;
}

.daily_water_wrapper img{
    width: 100%;
}

.daily_water_wrapper:hover .overlay_middle_sidebar {
  opacity: 1;
}

.overlay_middle_sidebar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #178ab4;
}

.recommendation-text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

/* ---------------------------
   --   MAIN - Wrapper     ---
   --------------------------- */
.wrapper {
  position: relative;
  width: 100%;
  padding: 0 40px;
  max-width: 1024px;
  margin: 0 auto;
}

/* ---------------------------
   --------- Footer ----------
   --------------------------- */
.mainFooter {
  width: 100%;
  float: left;
  margin-bottom: 2%;
  padding-left: 0;
  background-color: #666;
  color: #FFF;
  line-height: 14px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.mainFooter p {
  width: 50%;
  padding-left: 2%;
}

.mainFooter ul {
  width: 40%;
  float: right;
}

.mainFooter li {
  float: right;
  list-style: none;
  text-align: right;
  font-size: 14px;
  padding-right: 3%;
}

.mainFooter a {
  text-decoration: none;
  color: #fff;
  display: block;
}

.mainFooter li a:hover {
  text-decoration: none;
  color: red;
  background-color: #666;
}

/* Social Media Mobile */
.customResponsiveSocialmedia {
  display: none;
}

/* Contaktform Message */
div.alert.alert-message {
  background-color: whitesmoke;
  border: 1px solid #ddd;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-left: 2%;
  width: 95%;
}

a.close {
  float: right;
  color: #ff0000;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  cursor: pointer;
  font-size: 14px;
  border: 1px solid #ddd;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

div.alert-message {
  padding-left: 10px;
  padding-bottom: 10px;
}

h4.alert-heading {
  padding-left: 10px;
}

.white {
  /*color: #ffffff;*/
  text-align: center;
}

/* ---------------------------
   ------  Input  Field ------
   --------------------------- */
.portal-input-textarea{
    width: 98%;
    border-color: rgb(169, 169, 169);

    margin-top: 10px;
    margin-bottom: 20px;
    /*float: left;*/
}

.cookiebanner{
    font-size: 12px;
    line-height: 1;
    background-color: #33b5e5;
    color: #fff;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    z-index: 100;
}

.cookiebanner-message{
    padding: 20px 180px 20px 20px;
}

.cookiebanner-message a{
    color: #fff;
    border-bottom: 1px solid;
}

.cookiebanner-button{
    border-radius: 3px;
    padding: 5px 60px;
    background-color: #fff;
    display: inline-block;
    position: absolute;
    right: 20px;
    opacity: .8;
}

.cookiebanner-button:hover{
    opacity: 1;
}


/* ---------------------------
   ------ Media Queries ------
   --------------------------- */
@media only screen and (max-width: 1024px) {
  body {
    font-size: 12px;
  }
}

@media only screen and (max-width: 768px) {
  .wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .logoWrapper {
    margin-top: 0;
  }

  .introduction_content {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .contact_person_name {
    float: none;
    clear: both;
    padding-right: 0;
  }
  .popup_content{
        overflow: hidden;
    }

  .logoRow {
    width: 140px;
    margin-left: 10px;
  }

  .content_right {
    float: none;
  }

  .centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .contact_person_details {
    padding-right: 10px;
  }
  .contact_person_details + .contact_person_details {
    padding-left: 10px;
  }

  .no_border_right {
    padding-right: 0;
  }

  .logout_button {
    margin-right: 10px;
  }

  .menu {
    padding-right: 10px;
    padding-left: 10px;
    width: 100%;
    float: none;
  }
  .menu li a {
    padding: 0 10px;
  }

  .ask_menu {
    margin-right: 10px;
  }

  .content {
    width: 100%;
  }

  .content_box {
    margin-left: 10px;
    margin-right: 10px;
  }

  .wrap__sidebar {
    width: 100%;
  }

  .middle-sidebar,
  .top-sidebar {
    margin-left: 0;
    padding-right: 10px;
    padding-left: 10px;
  }

    .popup {
        width: 300px;
    }

    .dropdown{
        float: right;
        margin-right: 5px;
    }
    .dropdown-content {
        min-width: 105px!important;
    }

    .blog-column-left, .blog-column-right {
        width: 100%!important;
        padding: 0;
    }
    .blog-column-right-advertising{
        display: none!important;
    }

    .wrap__sidebar {
        margin-top: 0px;
    }
}
