body {
  margin: 0;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
  background-color: #6e95cb;
}

body.donate {
  background-color: #fff;
}

.stripe {
  position: relative;
}

.stripe.blue {
  background-color: #6e95cb;
  color: #fff;
}

.stripe.grey {
  background-color: #eeeeee;
  color: #333;
  padding: 1px;
  z-index: 100;
}

.stripe.shadow {
  box-shadow: 0px 0px 100px rgba(0, 0, 0, 0.3);
}

.stripe .section {
  max-width: 600px;
  margin: 20px auto;
  padding: 0 20px;
}

#header {
  position: relative;
  width: 600px;
  height: 400px;
  margin: 0 auto;
  padding-top: 1px;
}

#notice {
  width: 560px;
  padding: 20px;
  margin: 30px auto 5px auto;
  background-color: #fff;
  color: #555;
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
}

#notice p {
  margin-top: 0;
}

#mockup {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 250px;
}

#mockup img {
  display: block;
  max-width: 100%;
}

#description {
  text-align: justify;
  margin-left: 300px;
  max-width: 300px;
  font-size: 1em;
  margin-top: 80px;
  margin-bottom: 10px;
}

#description img {
  display: block;
  max-width: 300px;
  margin: 0 auto 2em auto;
}

.donate #title {
  max-width: 360px;
  padding: 20px 20px 0 20px;
  background-repeat: no-repeat;
  margin: 0 auto;
}

.donate #title img {
  width: 100%;
}

#badges {
  position: relative;
  top: 10px;
  width: 300px;
  left: 300px;
}

.badgeBlock:first-of-type {
  left: 0;
}

.badgeBlock + .badgeBlock {
  right: 0;
}

.badge {
  max-width: 140px;
}

.badgeBlock {
  display: block;
  position: absolute;
}

.social-container {
  width: 600px;
  margin: 40px auto;
  height: 40px;
  clear: both;
}

.social-link {
  display: block;
  float: left;
  width: 16.66%;
}

.social-link svg {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  fill: #777;
}

.columns-container {
  position: relative;
  width: 600px;
  margin: 0 auto;
}

.column-1,
.column-2 {
  width: 300px;
  margin-bottom: 100px;
}

.column-2 {
  position: absolute;
  top: 0;
  right: 0;
}

#press-header {
  margin: 20px;
  height: 75px;
  line-height: 75px;
  font-size: 1.2em;
  text-align: center;
  color: #777;
}

.box {
  position: relative;
  height: 150px;
  margin: 10px;
  margin-bottom: 20px;
  background-color: #fff;
  box-shadow: 0px 1px 2px #777;
  border-radius: 3px;
}

.box-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-size: 180px;
  background-position: center center;
}

.box-link.repubblica {
  background-image: url(press/repubblica.png);
}

.box-link.wired {
  background-image: url(press/wired.png);
}

.box-link.vatican-news {
  background-image: url(press/Vatican-News.png);
}

.box-link.ansa {
  background-image: url(press/ansa.png);
}

.box-link.radio105 {
  background-image: url(press/radio105.png);
}

.box-link.avvenire {
  background-image: url(press/Avvenire.png);
}

.box-link.tv2000 {
  background-image: url(press/TV2000.png);
}

.box-link.ilgiorno {
  background-image: url(press/ilgiorno.png);
}

.box-link.chiesadimilano {
  background-image: url(press/Chiesadimilano.png);
}

.box-link.fc {
  background-image: url(press/FC.png);
}

.box-link.aleteia {
  background-image: url(press/Aleteia.png);
}

.box-link.il-fatto-quotidiano {
  background-image: url(press/il-fatto-quotidiano.png);
}

.box-link.corriere {
  background-image: url(press/corriere.png);
}

.box-link.tomshardware {
  background-image: url(press/tomsHardware.png);
}

.box-link.mitomorrow {
  background-image: url(press/miTomorrow.png);
}

#footer {
  width: 600px;
  min-height: 50px;
  margin: 0 auto;
  color: #fff;
  padding-top: 20px;
  font-size: 0.9em;
  text-align: center;
}

a,
a:hover,
a:active,
a:link {
  color: #fff;
  text-decoration: underline;
}

#policy-container {
  background-color: #fff;
  margin: 20px auto;
  width: 580px;
  padding: 20px;
}

#policy-container h1 {
  font-size: 1.2em;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 3em;
}

#policy-container p {
  margin-top: 20px;
}

#policy-container a,
#policy-container a:hover,
#policy-container a:active,
#policy-container a:link {
  color: #333;
  text-decoration: underline;
}

#donorbox-container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

#donorbox-container p {
  padding: 0 20px 0 20px;
  color: #333;
  font-size: 1em;
  text-align: justify;
}

#donorbox-container p b {
  color: #6e95cb;
}

#donorbox-button {
  position: relative;
  top: 70px;
  width: 300px;
  left: 300px;
  background-color: #fff;
  margin-top: 10px;
  height: 30px;
  line-height: 30px;
  border-radius: 3px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #333;
  background-image: url(donate.png);
  background-size: 16px 16px;
  background-position: 7px 7px;
  background-repeat: no-repeat;
}

#donorbox-button:hover {
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
}

#donorbox-button a,
#donorbox-button a:hover,
#donorbox-button a:active,
#donorbox-button a:visited,
#donorbox-button a:link {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 30px;
  padding-left: 25px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.mockup-caption {
  position: relative;
  color: #777;
  max-width: 600px;
  text-align: left;
  margin: 0 auto;
  clear: both;
  padding: 20px 0;
  line-height: 1.5;
  text-align: justify;
}

@media screen and (max-width: 600px) {
  #header {
    width: auto;
    height: auto;
  }
  #notice {
    width: auto;
  }

  #description {
    text-align: center;
    margin: 2em auto;
  }

  #badges {
    margin: 0;
    width: auto;
    height: auto;
    left: 0;
    top: 0;
  }

  #donorbox-button {
    margin: 20px;
    width: auto;
    max-width: 200px;
    margin: 0 auto 2em auto;
    left: 0;
    top: 0;
  }
  .badge {
    max-width: 100%;
  }

  #mockup {
    position: relative;
    margin: 0 auto;
  }

  .badgeBlock {
    position: relative;
    width: auto;
    max-width: 200px;
    margin: 10px auto;
  }
  #policy-container {
    margin: 20px;
    width: auto;
  }
  .social-container {
    width: auto;
  }
  .columns-container {
    width: auto;
    margin: 0 auto;
  }
  .column-1,
  .column-2 {
    position: relative;
    width: auto;
  }
  #footer {
    width: auto;
    margin: auto;
  }
}
