.navbar-default {
  background-color: transparent;
  border-bottom: solid 2px #80808029;
}

.navbar-header{
  display: flex;
  align-items: center;
}

.navbar-brand img {
  max-height: 40px;
}

.home-banner, #heading-breadcrumbs{
  background: transparent;
  background-size: 100% !important;
}

#heading-breadcrumbs h1{ 
  text-align: center;
  margin-top: 5rem;
}

.background-generic-banner {
  background: url('../img/background1.png') fixed no-repeat;
  background-size: 100% !important;
  background-color: black;
}

.banner-margin {
	margin:auto 10%;
}

.logo{
  width: 80%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.official-logos-row {
  font-family: arial, auto, calibri, garamond, trebuchet, tahoma, verdana, ubuntu !important;
  background-color: transparent !important;
  padding: 5rem 2em;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
}

#pieceofnews p.text-center {
  margin-bottom: 5rem;
  font-weight: bolder;
  color: #029902;
}

.home-carousel {
  position: relative;
  background: none;
  background-size: cover;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.home-carousel .dark-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  opacity: 0.9;
  filter: alpha(opacity=90);
}

.home-carousel h1,
.home-carousel h2,
.home-carousel h3,
.home-carousel p,
.home-carousel ul {
  color: inherit;
}

.description{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.description h2{
  text-align: center;
  margin-bottom: 10rem;
}

p, h1, h2, h3, h4, h5, h6, a, div{
  font-family: 'Quicksand';
  color: black;
  font-weight: normal;
}

h1{
  font-size: 3rem;
  font-weight: bolder;
}

h2{
  font-size: 2rem;
  line-height: 3rem;
}

p{
  font-size: 1.5rem;
  line-height: 3rem;
}

h1 strong{
  color: #24630C;
}

.box-simple h3 {
  color: black;
  font-weight: bolder;
}

strong{
  font-weight: bolder;
}

.header{
  width: 100%;
  display: flex;
  justify-content: space-between;
  border-bottom: gray 1px;
}

#all{
  position: relative;
  overflow: hidden;
}

.upperDiv{
  background: url('../img/background1.png') fixed no-repeat;
  background-size: cover;
}

.funny-lines-left, .funny-lines-right{
  background-image: url('../img/funny_lines.png');
  background-size: contain;
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: row;
  width: 100%;
  z-index: -1;
}

.funny-lines-left{
  right: 70%;
}

.funny-lines-right{
  top: -15%;
  left: 70%;
}

.funny-lines img , .single-top-background img{
  visibility: hidden;
}

.single-top-background {
  position: absolute;
  top: 0;
  z-index: -1;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
  color: #029902;
  background-color: transparent;
}

.navbar ul.nav > li.active > a, .navbar ul.nav > li.open > a {
  border-bottom: solid 2px #029902;
  border-top: solid transparent;
}

@supports (position: sticky){
  .navbar-affixed-top {
    position: initial;
  }
}

.navbar ul.nav > li > a, a:hover {
  text-decoration: none;
}

.two-columns-container{
  display: flex;
  flex-direction: column;
}

.two-colums-item{
  width: 100%;
}

.two-colums-item h1{
  text-align: center;
}

img{
  width: 100%;
  height: auto;
}

.text-container{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto 5rem;
}

.logo-container{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-container div {
  width: 75%;
  height: auto;
  margin-bottom: 2rem;
}

.text-container h1{
  margin-top: 8rem
}

.text-container h1, .text-container h2 {
  margin-bottom: 3rem;
}

a{
  color: #029902;
  font-weight: bolder;
}

#budget{
  background-color: #02990210;
}

#budget h2{
  margin: 8rem 0 5rem 0;
  font-weight: bolder;
}

.logo-container, #recent-posts .text-center, #interesting {
  margin-bottom: 5rem;
}

h1, h2, h3, h4, h5, h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, .heading h1, .heading h2, .heading h3, .heading h4, .heading h5, .newsBanner h1 {
  border-bottom: none;
  font-weight: bolder;
}

#recent-posts{
  background-color: #F3F3F3;
  padding: 5rem;
}

.newsBanner{
  padding: 5rem;
}

.news{
  min-width: 100%;
  background-size: cover;
  height: 50rem;
  display: flex;
  flex-direction: column-reverse;
}

.home-carousel{
  text-align: left !important;
}

.home-carousel .owl-carousel{
  padding: 0;
}

.home-carousel h1, .home-carousel h2, .home-carousel h3, .home-carousel p, .home-carousel ul, .newsBanner p, .newsBanner h1 {
  color: white;
}

.home-carousel .owl-theme .owl-controls .owl-page.active span {
  background-color: #029902;
}

.home-carousel .owl-theme .owl-controls .owl-page span {
  background-color: white;
}

button{
  color: #24630C;
  border: solid 1px #24630C;
  font-size: 14px;
  padding: 1rem 5rem;
}

footer{
  overflow: hidden;
}

.lower-footer {
  background-color: #24630C;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 10rem;
}

.lower-footer img {
  max-width: 8rem;
  max-height: 100%;
}

.lower-footer #right{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lower-footer #left {
  margin: 10px 0 10px;
  display: flex;
  justify-content: center;
}

.lower-footer #right {
  margin-top: 10px;
}

.lower-footer .text-right p, .lower-footer .text-right p a{
  font-size: 12px;
  color: white;
  font-weight: normal;
}

#footer-nav {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

#footer-nav a {
  color: white;
  font-weight: normal;
}

#right #footer-copyright{
  text-align: left;
}

.upper-footer {
  background-color: #02990220;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 10rem;
}

.summary, .bar, .even, #back button {
  background-color: white;
}

.objectives{
  display: flex;
  flex-direction: column;
}

.objectives .text-left{
  order: 1;
}

.objectives .img-container{
  order: 2;
}

.objectives, .odd {
  background-color: #F3F3F3;
}

.summary, .objectives, .summary .img-container, .objectives .img-container{
  padding: 0;
}

.summary .text-left, .objectives .text-left{
  padding: 5rem;
}

.workpackages {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.workpackages-section{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10rem 5rem;
}

.workpackage-image {
  width: 15rem;
}

.workpackages-section h1{
  color: #24630C;
}

#PT1{
  background-color: #F3F3F3;
}

#PT2{
  background-color: #CCEBCC;
}

#PT3{
  background-color: #B2E0B2;
}

#PT4{
  background-color: #99D699;
}

#PT5{
  background-color: #80CC80;
}

.bar{
  padding-bottom: 5px;
}

.map-container{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.map {
  margin: 3rem;
}

.partners-logo-cloud {
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 2;
}

.partners-logo-cloud-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background-color: #DEF4E0;
  margin-bottom: 1rem;
}

.partner-logo{
  height: 5rem;
  width: auto;
}

.arrow{
  width: 1.5rem;
  margin-left: 2rem;
}

.partners-section{
  display: flex;
  flex-direction: column;
  padding: 5rem;
  width: 100%;
}

.partner-text{
  display: flex;
  flex-direction: column;
}

.partner-text img{
  height: 10rem;
  width: auto;
  margin-bottom: 3rem;
}

.partner-nav {
  display: flex;
  flex-direction: column;
  border-bottom: none;
}

.nav-title{
  border-bottom: solid 1px black;
}

details[open] summary h2{
  color: #24630C;
}

details[open] .nav-title{
  border-bottom: solid 1px #24630C;
}

.nav-section{
  padding-top: 3rem;
}

.leader-title{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.leader-title .subtitle{
  align-self: normal;
}

.leader-image{
  width: 10rem;
  height: 10rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
}

.leader-text, .related-information div, .team {
  margin-top: 3rem;
}

ul{
  list-style-type: disc;
}

li::marker{
  color: #029902;
}

#news-listing-medium{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 5rem;
}

.news-container{
  padding: 5rem;
}

.new-image-section {
  height: 55rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

#pieceofnews-content{
  padding: 0 4rem 4rem 4rem;
}

#pieceofnews {
  font-size: 24px;
}

#back{
  display: flex;
  justify-content: center;
  margin-bottom: 5rem;
}

#contact, #publicaciones{
  min-height: 45vh;
}

#email {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#email img{
  height: 3rem;
  width: auto;
}

#email h2{
  color: #029902;
  margin-left: 1rem;
  height: 3rem;
}

.pager{
  border: none
}

.logos-row{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.logos-row .item img{
  height: 7rem;
  width: auto;
}

.container {
  padding: 0;
}

.full-width {
  width: 100%;
}

section {
  margin-bottom: 0;
}

.two-colums-item img {
  object-fit: cover;
}

#recent-posts .row {
  margin-bottom: 5rem;
}

.front-page {
  height: 100%;
  width: auto;
}

.publication-container, .publication-card {
  padding: 3rem;
}

.publication-card {
  background-color: #F3F3F3;
  margin-bottom: 5rem;
}

.front-page-container img {
  width: 100%;
  height: auto;
}

/* Tablet screen */
@media only screen and (min-width: 600px) {}

/* Desktop screen */
@media only screen and (min-width: 768px) {

  .upper-footer, .map-container, .partners-section, .leader-title, #email, .logos-row, .logo-container, .two-columns-container {
    flex-direction: row;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .two-colums-item{
    width: 50%;
  }

  .navbar-brand img {
    max-height: 100%;
  }

  .text-container{
    margin: auto 12rem;
  } 

  .item img{
    display: inline-block;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    /* Firefox 10+, Firefox on Android */
    filter: gray;
    /* IE6-9 */
    -webkit-filter: grayscale(100%);
    /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
  }
  
  .item img:hover {
    max-width: auto;
    filter: none;
    -webkit-filter: none;
  }

  .upper-footer .logo{
    margin-right: 5rem;
  }

  .lower-footer {
    background-color: #24630C;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 10rem;
  }

  #footer-nav {
    flex-direction: row;
    margin-bottom: 0;
  }

  #footer-nav a {
    margin-left: 5rem;
  }

  #right #footer-copyright{
    text-align: right;
  }

  #recent-posts{
    padding: 5rem 12rem;
  }

  .news{
    height: 60rem;
  }

  .workpackages {
    display: flex;
    flex-direction: row;
    width: 100%;
  }
  
  .workpackages-section{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20%;
    padding: 10rem 5rem;
    margin-top: 2rem;
  }

  .objectives{
    display: flex;
    flex-direction: row;
  }
  
  .objectives .text-left{
    order: 2;
  }
  
  .objectives .img-container{
    order: 1;
  }

  .partners-logo-cloud {
    order: 1;
  }

  .map {
    margin: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 50%;
    order: 2;
  }

  #news-listing-medium{
    grid-template-columns: repeat(3, 1fr);
  }
  
  .two-colums-item img{
    height: 100%;
    width: auto;
  }

  .logo-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .leader-title .subtitle{
    max-width: 80%;
  }

  .publication-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .publication-card {
    width: 60%;
    display: flex;
    flex-direction: row;
  }

  .front-page-container {
    height: 30rem;
    margin-right: 3rem;
  }

  .front-page-container img {
    height: 100%;
    width: auto;
    max-width: 20rem;
    object-fit: contain;
  }
}

@media only screen and (min-width: 1540px) {
  .two-colums-item img{
    height: auto;
    width: 100%;
  }

  .two-colums-item .img-responsive {
    height: 100%;
    width: auto;
  }
}
