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;
  max-width: 600px;
  margin: 0 auto;
  padding-top: 1px;
}

#header img {
  display: block;
  width: auto;
  max-height: 200px;
  margin: 20px auto 40px auto;
}

#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: 320px;
  height: 600px;
  background-repeat: no-repeat;
  background-size: 320px;
  background-position: -10px bottom;
  background-image: url(mockup.png);
}

#description {
  text-align: justify;
  margin-left: 300px;
  font-size: 1em;
  padding-top: 100px;
  margin-top: 80px;
  margin-bottom: 10px;
  background-repeat: no-repeat;
  background-size: 300px;
  background-position: top center;
  background-image: url(logo_claim.png);
}

.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;
}

.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: #6e95cb;
  text-decoration: underline;
  font-weight: bold;
}

.blue a,
.blue a:hover,
.blue a:active,
.blue 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;
}

@media screen and (max-width: 600px) {
  #header {
    width: auto;
    height: auto;
    padding-bottom: 20px;
  }
  #notice {
    width: auto;
  }
  #description {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
    padding-top: 130px;
    background-size: contain;
    text-align: center;
  }
  #badges {
    margin: 0;
    width: auto;
    left: 0;
  }
  #donorbox-button {
    margin: 20px;
    width: auto;
    left: 0;
    top: 10px;
  }
  .badge {
    max-width: 100%;
  }
  #mockup {
    display: none;
  }
  .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;
  }
}

#input-width,
#input-height,
#code-field {
  display: block;
  width: 100%;
  max-width: 290px;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #ddd;
  margin: 0;
  float: left;
  font-family: inherit;
  font-size: inherit;
  text-align: center;
  border-radius: 5px;
}

#input-width {
  margin-right: 20px;
}

#code-field {
  display: block;
  border: none;
  float: none;
  width: 500px;
  max-width: none;
}

iframe {
  border: none;
  margin: 0 auto;
  border-radius: 5px;
  max-width: 100%;
}

.code-container {
  position: relative;
  display: block;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  margin-top: 1em;
  overflow: hidden;
}

#code-field[disabled] {
  color: #aab0b9;
  -webkit-text-fill-color: #aab0b9;
  opacity: 1;
}

p {
  clear: both;
  margin: 1em 0;
  line-height: 1.5;
  font-size: 0.9em;
  text-align: justify;
}

h1 {
  color: #6e95cb;
  font-size: 1.2em;
  margin-top: 2em;
  margin-bottom: 1em;
}

h2 {
  color: #555;
  font-size: 1em;
  margin-top: 2em;
  margin-bottom: 1em;
}

.code-copy {
  position: absolute;
  right: 0;
  top: 0;
  color: #fff;
  font-weight: bold;
  width: 100px;
  border-left: 1px solid #ddd;
  text-align: center;
  cursor: pointer;
  background-color: #6e95cb;
  user-select: none;
  -webkit-user-select: none;
  height: 100%;
  line-height: 1em;
  padding: 10px 0;
}

.code-copy:hover {
  background-color: #658abd;
}
.code-copy:active {
  background-color: #6080ae;
}
