body {
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: #222
}

h2 {
    margin-top: 1em;
    padding-top: 1em
}


a {
    color: #566b78
}

h1,h2,h3,strong {
    color: #1a1a1a;
}

h2.team_member_title {
  color: #8d0707;
}

h3.team_member_title {
  color: #8d0707;
}
header {
    border-bottom: 1px solid #1a1a1a;
    background-color: #4c4c4c;
    font-weight: bold;
    position: fixed;
    top: 0;
    width: 100%
}

header a {
    display: inline-block;
    margin: 0 5px;
    color: #1a1a1a;
}

.header_container {
    text-align: left;
    width: 50%;
    margin: 0 auto;
/*    padding-top: 10px; */
}

body {
    margin-bottom: 55px;
}

footer {
    background-color: #4c4c4c;
    border-top: 1px solid #1a1a1a;
    color: #1a1a1a;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
}

.footer_container {
    text-align: left;
    width: 50%;
    margin: 0 auto;
    font-size: smaller;
}

.main_container {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 50px;
    text-align: justify;
}

.navigation_container .tools_item {
    display: inline-block;
    min-width: 100px;
    margin: 0 5px;
}

.display_none {
    display: none
}

.member_description {
  clear: both;
  display:flow-root;
}

.member_description h3 {
  margin-bottom: 0px;
}

.member_description h3 {
  margin-bottom: 0px;
}

.image_container {
  float: left;
  height: 230px;
  width: 200px;
}

.partner {
  clear: both;
  display: flow-root;
}

.partner img {
  width: 293px;
  float: left;
}

.real_list_item {
  list-style-type: disc;
  float: none;
}

.participation_pictures {
  width: 300px;
}

.project_meetings_pictures {
  display: block; 
  margin-top: 20px; 
  margin-left: auto; 
  margin-right: auto; 
  max-width: 100%
}

.language_icon {
  height: 18px;
}


/*****************
    Navigation
******************/

nav a {
  text-decoration: none;
  color: white;
  display: block;
}

ul {
  list-style: none;
  position: relative;
  text-align: left;
}

li {
  float: left;
}

/* clear'n floats */
ul:after {
  clear: both;
}

ul:before,
ul:after {
    content: " ";
    display: table;
}

nav {
  position: relative;
  text-align: center;
}

/* prime */
ul.primary li a {
  margin-right: 3em;
  display: block;
}

ul.primary li:last-child a {
  border-right: none;
}

ul.primary li a:hover {
  color: #cc0000;
}

/* subs */
ul.sub {
  position: absolute;
  z-index: 200;
  width: 35%;
  display:none;
}

ul.sub li {
  float: none;
  margin: 0;
}

ul.sub li a {
  border-bottom: 1px dotted #ccc;
  border-right: none;
/*  color: #000;*/
  padding: 15px 30px;
}

ul.sub li:last-child a {
  border-bottom: none;
}

ul.sub li a:hover {
  color: white;
  background: #4c4c4c;
}

/* sub display*/
ul.primary li:hover ul {
  display: block;
  background: #4c4c4c;
}

/* keeps the tab background white */
ul.primary li:hover a {
  background: #4c4c4c;
  color: white;
  text-shadow: none;
}

ul.primary li:hover > a{
  color: #000;
} 

@media only screen and (max-width: 600px) {
  .decor {
    padding: 3px;
  }
  
  .wrap {
    width: 100%;
    margin-top: 0px;
  }
  
   li {
    float: none;
  }
  
  ul.primary li:hover a {
    background: none;
    color: #8B8B8B;
    text-shadow: 1px 1px #000;
  }

  ul.primary li:hover ul {
    display: block;
    background: #272727;
    color: #fff;
  }
  
  ul.sub {
    display: block;  
    position: static;
    box-shadow: none;
    width: 100%;
  }
  
  ul.sub li a {
    background: #272727;
  	border: none;
    color: #8B8B8B;
  }
  
  ul.sub li a:hover {
    color: #ccc;
    background: none;
  }
}