body{
  font-family: "LatoLatinWeb", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #222;
}

.text-center{
  text-align: center;
}

.text-right{
  text-align: right;
}

.text-justify{
  text-align: justify;
}

.text-nodeco{
  text-decoration: none;
}
.text-nodeco-black{
  text-decoration: none;
  color: #222;
}

.text-minimal{
  font-size: 0.7em;
}

.text-small{
  font-size: 0.9em;
}

.only-reader{
  font-size: 0;
}

section{
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 0;
}
q, blockquote{
  font-style: italic;
}


img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3ex;
  margin-bottom: 3ex;
}
img.round{
  border-radius: 50%;
}


hr.short{
  width: 100px;
}


.bar-bottom {
  border-top: 1px solid #eee;
  position: relative;
  width: 100%;
  margin: 0 auto;
  margin-top: 10ex;
  padding: 1rem 0;
  box-sizing: border-box;

  font-size: 70%;
}




/*
 * Container
 */
.container {
  max-width: 800px;
  margin: auto;
}



.mainheader{
  top: 0;
  display: block;
  width: 100%;
  background: #fff;
  z-index: 99;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 3ex;
}
.navbar {
  width: 100%;
  }
.navbar-link,
.navbar-control{
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2rem;
  text-decoration: none;
  line-height: 6.5rem;
  display: inline-block;
  color: #222;
  }
.navbar-right,
.navbar-left{
  display: inline;
}
.navbar-link:active {
  color: #33C3F0;
}
.navbar-separator{
  margin: 0 auto;
}


/* Large devices everything inline and the header floating fixed on top
 */
@media (min-width: 801px) {
  .mainheader{
    position: fixed;
    height: 6.5rem;
  }

  /* Push content down, because the header is floating over it */
  .content:before{
    display: block;
    content: " ";
    height: 15rem;
    visibility: hidden;
  }

  .link-right {
    margin-left: 15px;
    margin-right: 0px;
  }
  .link-left{
    margin-right: 25px;
  }
  .nav-right{
    text-align: right;
  }
  .navbar-right{
    float: right;
  }
  .navbar-separator{
    display: none;
  }

}

/* Smaller devices leave the header at the top of the page and make it more
 * vertical */
@media (max-width: 800px){
  /* Main navbar toggle */
  .navbar-link{
    margin-left: 3ex;
    margin-right: 3ex;
  }
  .navbar-right,
  .navbar-left{
    width: 100%;
    min-width: 100%;
    display: inline-flex;
    flex: 1;
    -webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1; /* IE 10 */
    justify-content: space-around;
    flex-flow: row;
  }
  .navbar-left{
    flex-flow: row wrap;
  }

  .link-right{
    margin: auto;
    line-height: 5rem;
  }
}

/* Typography (overrides skeleton)
 */
h1, h2, h3, h4, h5, h6 {
  text-decoration: none;
  margin-top: 2ex;
  margin-bottom: 0;
  line-height: 2;
  font-weight: 300; }
h1 {
  font-size: 5.5rem; line-height: 1.2;  text-align: center;
  margin-bottom: 4rem;
  margin-top: 0;
  font-family: "LatoLatinLightWeb", Helvetica, Arial, sans-serif;}
h2 { font-size: 2.8rem; }
h3 { font-size: 2.3rem; }
h4 { font-size: 2.1rem; }
h5 { font-size: 1.8rem; }
h6 { font-size: 1.5rem; }

@media (min-width: 550px) {
  h1 { font-size: 8.0rem; }
  h2 { font-size: 3.2rem; }
  h3 { font-size: 2.7rem; }
  h4 { font-size: 2.2rem; }
  h5 { font-size: 2.0rem; }
  h6 { font-size: 1.7rem; }
}

@media (min-width: 800px) {
  /*
   * Dirty trick for navigation with navbar :)
   */
  h1:before,
  h2:before,
  h3:before,
  h4:before,
  h5:before,
  h6:before{
    display: block;
    content: " ";
    margin-top: -90px;
    height: 90px;
    visibility: hidden;
  }
}

p {
  font-size: 1.7rem;
  text-align: justify;
}
.intro-p {
  font-size: 2rem;
}

.more-info{
  padding-left: 3ex;
  margin-top: 2ex;
}

.title-image{
  width: 60%;
  margin-bottom: 0;
  margin-top: 1ex;
}
@media (min-width: 550px){
  .title-image{ width: 50%; }
}




/* Panels and UI
 */
.panel {
  padding: 2.5rem 3rem;
  border: 1px solid #E1E1E1;
  border-radius: 1ex;
}

.donation-form{
  margin-bottom: 0;
}

.button-expand{
  width: 100%;
}


/* Image | text
 */
.card-picture *{
  height: auto;
  width:  100%;
}
.card-picture{
  margin-left: auto;
  margin-right: auto;
  margin-top: 2ex;
  margin-bottom: 2ex;
  height: auto;
  width: 150px;
  min-width: 150px;
}
@media (min-width: 800px){ /*more than a tablet*/
  .card{
    margin-top: 3ex;
    margin-bottom: 3ex;

    width: 100%;
    min-width: 100%;
    display: inline-flex;
    flex: 1;
    -webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1; /* IE 10 */
    justify-content: space-around;
    align-items: center;
  }

  .card-picture{
    margin: 2ex;
  }

  .card-data{
    flex-grow: 2;
    flex-shrink: 2;
    margin-left: 3ex;
  }
}


/* Services
 */
.step-content{
  margin-left: 3ex;
}
@media (min-width: 800px){ /*more than a tablet*/
  .step{
    margin-top: 3ex;
    margin-bottom: 3ex;

    width: 100%;
    min-width: 100%;
    display: inline-flex;
    flex: 1;
    -webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1; /* IE 10 */
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-items: top;
  }

  .step-title{
    max-width: 200px;
    min-width: 200px;
    margin-top: 0;
    line-height: 1;
  }
}


a.anchor{
  visibility: hidden;
  text-decoration: none;
  font-size: 0.8em;
}
h1:hover > a.anchor,
h2:hover > a.anchor,
h3:hover > a.anchor,
h4:hover > a.anchor,
h5:hover > a.anchor,
h6:hover > a.anchor{
  visibility: visible;
}

ol, ul{
  font-size: 110%;
}

.liberapay-icon{
  height: 1.3333333em;
  width: auto;
  display: inline-block;
  margin-top: 0;
  margin-bottom: -0.4em
}

strong{
  font-weight: bold;
  font-style: italic;
}
