:root { 
  --background-color: FEF8F0; /* set to invalid number to disable it. background image not working! */
}

body {
  background-color: #FEF8F0;  
}


/* Background image divs */
.background-image {
    position: fixed;
    z-index: -100;
    top: 110px;
    right: 30px;
  }
@media (min-width: 1300px) {
  .background-image {
    right: calc((100% - 1300px) / 2);
  }
}

/* Sticky header */
.header {
   border-bottom: none;
   padding-bottom: 0;
   padding-top: 5px; 
   .logo {
     img {
       max-height: 120px;
     }
     margin-right: 50px;
   }
   .container-fluid {
     border-bottom: 3px solid #5C9F9C;
     padding-left: 0;
   }
}

@media (max-width: 1199px) {
  .header {
    .logo {
    display: none !important;
   }
  }
}


.scrolled .header {
     background-color: #FEF8F0;
}

   
/* Top menu */
.navmenu .dropdown ul {
    border-radius: 0px;
    border-bottom: none;

}

i.bullet {
  font-size: 10pt;
  vertical-align: middle;
}

li::marker {
  color: orange;
}

.video-btn {
  width: 50px !important;
}


.section {
  padding-top: 0;
  padding-bottom: 40px;
  img {
    width: 80%;
  }
}

.container {
  padding-left: 0;
  padding-right: 0;
}

.page-banner {
  background-color: var(--page-color);
  color: white;
  padding: 15px;
  padding-left: 50px;
  margin-bottom: 0px;
}
.page-banner-image {
  float: left;
}

.page-banner-bottom {
  min-height: 30px;
  border-right: 50px solid var(--page-color);
  border-left: 50px solid var(--page-color);
  margin-bottom: -20px;
}
.page-banner-slim {
  background-color: var(--page-color);
  color: white;
  text-align: right;
  padding-right: 20px;
  margin-bottom: 0px;
}
.page-banner-slim-bottom {
  min-height: 20px;
  border-right: 20px solid var(--page-color);
  border-left: 20px solid var(--page-color);
}

.page-subbanner {
  color: var(--page-color);
}

.lang-button {
  position: absolute;
  right:0;
}

#languageDropdown {
  img {
    border-radius: 50%;
  }
}


#starter-section .container {
  align-items: center;
  display: flex;
  justify-content: center;
  @media(max-width: 989px){
    img {
     width: 100%;
    }
  }
}

.moto-1 .container{
  background-image: url('/img/backgrounds/home.png');
  background-size: 100% auto;
  background-repeat: no-repeat;
  min-height: 450px;
  @media(max-width: 1199px){
    min-height: 250px;
  }
  @media(max-width: 586px){
    min-height: 200px;
  }
  
}
.moto-2 {
    padding-bottom: 100px;
}

  
#about-section {   
  line-height: 1.2;
  font-size: 63px;
  h1 {
     font-size: 63px;
  }
}

#vision-section,
#mission-section,
#aboutus-section {
  font-size: 16px;
  h1 {
     font-size: 57px;
  }
}
#team-section {
  div.row {
    margin:0;  
  }
  .profiles {
    font-size: 13px;
    text-align: justify;
    h6 {
      text-align: left;
    }
    .col-md-3 {
      padding-left: 2rem;
      padding-right: 2rem;
    }
    h6 {
      color: #709B98;
      margin-top: 20px;
      margin-bottom: 20px;
      font-size: 18px;
      min-height: 60px;
    }
  }
  .condensed {
    padding-left: 60px;
    padding-right: 60px;
  }
  img {
    max-height: 138px;
    width: auto;
    display: block;
    margin-bottom: 20px;
  }
}
#funders-section {
  div.row {
    margin:0;  
  }
  font-size: 13px;
  h1 {
     font-size: 32px;
  }
  img {
    max-height: 50px;
    max-width: 110px;
  }
  .col {
    padding-left: 40px;
    padding-right: 0px;
    margin-bottom: 20px;
  }
  .condensed {
    padding-left: 60px;
    padding-right: 60px;
  }
  @media (min-width: 989px){
    .funder-desc:not(:last-child) { 
      .desc-container {
        border-right: 4px solid #E98339;
        padding-right: 10px;
        height: calc(100% - 60px);
      }
    }
  }
  .img-container {
    min-height: 50px;
    margin-bottom: 10px;
  }
  .carousel-control-prev {
    color: var(--page-color);
    font-size: 78px;
    left: -110px;
  }
  .carousel-control-next {
    color: var(--page-color);
    font-size: 78px;
    right: -110px;
  }
  @media (max-width: 989px){
    .carousel-control-prev {
      left: -65px;
    }
    .carousel-control-next {
      right: -65px;
    }
  }
}

#thesystem-section,
#whatis-section,
#howworks-section,
#whatsolves-section,
#business-section,
#pot-section,
#web-section,
#app-section,
#training-section {
  font-size: 16px;
  h1 {
    font-size: 57px;
  }
  h2 {
    font-size: 28px;
  }
  li::marker {
    font-size: 1.9rem;
  }
}
#countries-section {
  font-size: 1.1rem;
  h1 {
    font-size: 40px;
    font-weight: bold;
    font-family: "Arial Black";
    color: #709B98;
    border-bottom: 2px solid #709B98;
  }
  .video-btn {
    float: left;
    margin-right: 10px;
  }
}
#joinus-section {
  font-size: 1.2rem;
}

#jackpot-section {
  font-size: 20px;
  h1 {
    margin-bottom: 15px;
  }
  img {
    max-width: 500px;
    width: auto;
    margin-top: -20px;
    margin-left: -20px;
  }
  .main-title {
    width: 50%;
    margin-bottom: 40px;
  }
  img.moto {
    margin-left: -10px;
    width: 400px;
    margin-right: 100px;
    margin-top: -40px; 
  }
}

#pot-section {
  img {
    width: 190px;
    margin-top: -40px;
  }
}


#media-section {
  .media-header {
    margin-top: 50px;
    color: var(--page-color);
    font-weight: bold;
    font-family: "Arial Black";
    border-bottom: 4px solid var(--page-color);
    padding-bottom: 5px;
  }
  .row {
    padding-left: 0;
  }
  .video-list {
    font-size: 20px;
    img {
      width: 38px;
      @media(min-width: 1199px){
        margin-right: 12px;
      }
    }
    .row {
      margin-left: 20px;
    }
    .group {
      padding-left: 0;
      padding-bottom: 10px;
      @media(min-width: 768px){
        border-bottom: 3px solid var(--page-color);
      }
    }
  }
  .media-container {
    background: #F5EBE5;
    padding: 20px;
    margin-top: 40px !important;
    img {
      border: 4px solid #000;
    }
    audio {
      border: 4px solid #000;
      border-radius: 15px;
    }
  }
  iframe {
    width: 100%;
    height: 250px;
    max-width: 350px;
    border: 4px solid #000;
  }
}

/* ***** BACKGROUNDS ***** */
#vision-section {
  .subheader-image {
    background-image: url('/img/backgrounds/img_diap2.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    min-height: 120px;
    @media(max-width: 760px){
       min-height: 90px;
    }
    @media(max-width: 576px){
       min-height: 70px;
    }
  }
  .subheader {
    font-size: 30px;
    font-weight: bold;
    background-color: var(--page-color);
    color: white;
    padding: 10px;
  }
  img {
    display: block;
    margin: auto;
  }
}

#mission-section {
  .subheader-image {
    background-image: url('/img/backgrounds/img_diap3.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    min-height: 120px;
    @media(max-width: 760px){
       min-height: 90px;
    }
    @media(max-width: 576px){
       min-height: 70px;
    }
  }
  .subheader{
    font-size: 30px;
    font-weight: bold;
    background-color: var(--page-color);
    color: white;
    padding: 10px;
  }
  .embeddedvideo {
    margin-top: 40px;
    h1 {
      font-size: 50px;
      font-weight: bold;
      color: #BED3D1;
    }
  }   
}

#aboutus-section {
  .subheader {
    background-image: url('/img/backgrounds/img_diap4_c.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% 100%;
    min-height: 180px;
    padding-top: 130px;
    @media (max-width: 1000px){
      min-height: 0px;
      padding-top: 30px;
    }
    font-size: 30px;
    font-weight: bold;
    div.row {
      margin:0;  
    }
    div.col-md-11 {
      background-color: var(--page-color);
      color: white;
      padding: 10px;
    }
  }
}  
#thesystem-section {
  .subheader {
    background-image: url('/img/backgrounds/img_diap7_c.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% 72%;
    min-height: 180px;
    padding-top: 130px;
    @media (max-width: 1000px){
      min-height: 0px;
      padding-top: 30px;
    }
    font-size: 30px;
    font-weight: bold;
    div.row {
      margin:0;  
    }
    div.col-md-11 {
      background-color: var(--page-color);
      color: white;
      padding: 10px;
    }
  }
}
#howworks-section {
  .subheader-image {
    background-image: url('/img/backgrounds/img_diap20.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 100% auto;
    min-height: 120px;
    @media(max-width: 760px){
       min-height: 90px;
    }
    @media(max-width: 576px){
       min-height: 70px;
    }
  }
  .subheader {
    font-weight: bold;
    div.row {
      margin:0;  
    }
    background-color: var(--page-color);
    color: white;
    padding: 10px;
    
  }
}
#whatsolves-section {
  .subheader-image {
    background-image: url('/img/backgrounds/img_diap9.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 100% auto;
    min-height: 120px;
    @media(max-width: 760px){
       min-height: 90px;
    }
    @media(max-width: 576px){
       min-height: 70px;
    }
  }
  .subheader {
    font-weight: bold;
    div.row {
      margin:0;  
    }
    background-color: var(--page-color);
    color: white;
    padding: 10px;
  }
}
#app-section {
  .subheader {
    background-image: url('/img/backgrounds/img_diap10_c.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 100% 100%;
    min-height: 180px;
    padding-top: 130px;
    @media (max-width: 1000px){
      min-height: 0px;
      padding-top: 30px;
    }
    font-size: 30px;
    font-weight: bold;
    div.row {
      margin:0;  
    }
    div.col-md-11 {
      background-color: var(--page-color);
      color: white;
      padding: 10px;
    }
  }
}
#training-section {
  .subheader-image {
    background-image: url('/img/backgrounds/img_diap11.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 100% auto;
    min-height: 120px;
    @media(max-width: 760px){
       min-height: 90px;
    }
    @media(max-width: 576px){
       min-height: 70px;
    }
  }
  .subheader {
    font-weight: bold;
    div.row {
      margin:0;  
    }
    background-color: var(--page-color);
    color: white;
    padding: 10px;
  }
}
#countries-section {
  background-image: url('/img/backgrounds/img_diap17.png');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 70%;
  max-height: 950px;
  padding-top: 30px;
  .row {
    margin-bottom: calc(100vh / 8);
  }
}
#joinus-section {
  .subheader {
    background-image: url('/img/backgrounds/img_diap19.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: auto 107%;
    min-height: 180px;
    padding-top: 30px;
  }
  img {
    max-width: 300px;
    margin-left: -50px;
  }
}

/* Hide background image in top headers */
@media (max-width: 1000px) {
  #aboutus-section,
  #thesystem-section,
  #app-section {
    .subheader {
      background-image: none;
    }
  }
}

@media (max-width: 768px) {
  #joinus-section {
     img {
        width: 100%;
        margin-left: -10px;
    }
  }
}
#pot-section {
  .subheader1 {
    background-image: url('/img/backgrounds/img_diap14.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: auto 107%;
    min-height: 180px;
    padding-top: 30px;
  }
  .subheader2 {
    background-image: url('/img/backgrounds/img_diap15.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: auto 107%;
    min-height: 180px;
    padding-top: 30px;
  }
  .subheader3 {
    background-image: url('/img/backgrounds/img_diap16.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: auto 107%;
    min-height: 180px;
    padding-top: 30px;
  }
}

.navmenu a, .navmenu a:focus {
    font-size: 16px;
}

.navmenu ul {
  position: absolute;
  bottom: 0;
  right: 0;
}

@media (min-width: 1370px) {
  .navmenu a, .navmenu a:focus {
    color: var(--nav-color);
    padding: 0 20px 0 20px;
    margin: 10px 0px;
    font-size: 16px;
    border-right: 3px solid #5C9F9C;
  }
  .navmenu li:last-child a {
    padding-right: 0;
    margin-right: 0;
    border: none;
  }
}

@media (max-width: 1199px) {
  .navmenu a, .navmenu a:focus {
    color: var(--nav-color);
  }
  .section {
    padding-bottom: 10px;
  }
}

@media (max-width: 576px){
  .section,
  #footer .container {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  #team-section .condensed {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section img.transcript {
    width: 100% !important;
  }
}


/* Countries page spheres */
.sphere {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
  margin-top: -10px;
  float: left;
}

.bkg-green {
  background: #5EA09D;
}
.bkg-orange {
  background: #E98339;
}
.bkg-purple {
  background: #B283A7;
}
.bkg-yellow {
  background: #FFBD59;
}

.sphere-section {
  min-height: 650px;
  .row {
    margin-top: 40px;
  }
}


 

  

