@import "type.css";

body {
  font-family: "Akkurat", sans-serif;
  font: 15px/24px;
  min-width: 400px;
  margin: 0;
  padding: 75px 0 0 0;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}
h1 {
  font-weight: normal;
  font-size: 45px;
  line-height: 60px;
  margin-bottom: 5px;
  padding: 0;
  margin-top: 0;
}
p {
  padding: 0 0 10px 0;
}
a {
  color: #336699;
}
textarea {
  font: 12px/18px'Helvetica Neue', Helvetica, Arial, Sans-serif;
}
.header {
  padding-bottom: 15px;
  text-align: center;
}
.header span {
  /*font-size: 22px;*/
}
.wrapper {
  width: 540px;
  margin: 0 auto 80px auto;
  text-align: left;
}
.container {
  position: relative;
  border-width: 0 !important;
  border-color: transparent !important;
  margin: 0;
  text-align: left;
  background-color: #ffffff;
  border-radius: 3px;
  padding: 60px;
  line-height: 150%;
  -moz-box-shadow: 0 1px 6px rgba(0, 0, 0, .12);
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, .12);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .12);
}
.clear {
  clear: both;
}
/* Form */

form {
  font: 16px/20px'Helvetica', Arial, sans-serif;
  display: block;
  padding: 6px 0 10px 0;
  margin-top: 10px;
}
label {
  clear: both;
  display: block;
  margin: 8px 0;
  font-weight: bold;
  position: relative;
  line-height: 150%;
  font-family: Helvetica;
  font-size: 14px;
  color: #333333;
}
.email-group input {
  display: block;
  float: left;
  width: 60%;
  margin: 0 10px 0 0;
  min-width: 200px;
  padding: 12px 10px 11px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-shadow: none;
}
.email-group .button {
  width: 30%;
  margin: 0;
  min-width: 75px;
}
.error,
.errorText {
  margin-bottom: 5px;
  padding: 8px;
  font-size: 14px;
  color: #6b0505;
  background-color: #f4bfbf;
}
.formstatus {
  margin-bottom: 10px;
}
.success {
  background: #e4f3d4;
  font-size: 14px;
  color: #5ca000;
  margin-bottom: 5px;
  padding: 8px;
  font-family: "Akkurat", sans-serif;
}
.success a {
  color: #5ca000;
  text-decoration: underline;
}
.rounded {
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
.button,
.button-small {
  display: inline-block;
  white-space: nowrap;
  height: 40px;
  line-height: 42px;
  margin: 0 5px 0 0;
  padding: 0 22px;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  font-style: normal;
  font-size: 14px;
  cursor: pointer;
  border: 0;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  vertical-align: top;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
}
.button-small {
  float: none;
  display: inline-block;
  height: auto;
  line-height: 18px !important;
  padding: 2px 15px !important;
  font-size: 11px !important;
}
.button:hover,
.button-small:hover {
  opacity: .8;
}
/* Mobile Tweaks */

body {
  -webkit-text-size-adjust: none;
}
input {
  -webkit-appearance: none;
}
input[type=checkbox] {
  -webkit-appearance: checkbox;
}
input[type=radio] {
  -webkit-appearance: radio;
}
/* Customizable Theme Bits */

body {
  background-color: #f6fafd;
}

h1.title {
  font-size: 30px;
  line-height: 36px;
  margin: 15px 0;
  font-family: "Akkurat", sans-serif;
  color: #111111;
}
.byline {
  font-size: 18px;
  font-family: "Akkurat", sans-serif;
  color: #111111;
}
.description,
label,
.fake-label {
  font-family: "Akkurat", sans-serif;
  color: #111111;
}
.button {
  font-family: "Akkurat", sans-serif;
  color: #FFFFFF;
  background-color: #333333;
}
/* Fly-out tinyletter Panel */

.tl-tab {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: "Akkurat", sans-serif;
  color: #111;
}
.tl-tab-content {
  margin-bottom: -204px;
  height: 240px;
  position: relative;
  background: rgba(255, 255, 255, .8);
}
.tl-tab-content:before {
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 50px;
  background:url(https://cdndc.net/dc-2018/img/dc/logo.png) center center no-repeat;
  background-size: contain;
  content: '';
}

/* apply a natural box layout model to all elements */
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
/* Hide for all but screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
@media only screen and (max-width: 50em) {
  body {
      padding-top: 30px;
      min-width: 100%;
  }
  .wrapper {
      width: 96%
  }
  .container {
      padding: 30px 15px
  }
}
@media only screen and (max-width: 40em) {
  body {
      background-image: none!important;
  }
  .email-group input {
      float: none;
      width: 100%;
      margin: 0 0 12px 0;
      min-width: inherit;
  }
  .email-group .button {
      width: 100%;
  }
}


.sendgrid-subscription-widget .response {
  display: none;
  font-family: sans-serif;
  font-size: .8em;
}

.sendgrid-subscription-widget .success {
  color: green
}

.sendgrid-subscription-widget .error,
.sendgrid-subscription-widget .sg-consent-text a {
  color: #3097d1
}

.sendgrid-subscription-widget .sg-consent-text {
  font-size: .9em
}

.sendgrid-subscription-widget .sg-consent-text label {
  font-weight: 400
}

.sendgrid-subscription-widget .required {
  outline: 1px solid #f00;
}

.sendgrid-subscription-widget .sg_custom {
  margin-left: 5px;
}

/* loading dots */

#loading:after {
  color: #000;
  font-size: 25px;
  content: ' •';
  animation: dots 1s steps(5, end) infinite;}

@keyframes dots {
  0%, 20% {
    color: rgba(0,0,0,0);
    text-shadow:
      .25em 0 0 rgba(0,0,0,0),
      .5em 0 0 rgba(0,0,0,0);}
  40% {
    color: #000;
    text-shadow:
      .25em 0 0 rgba(0,0,0,0),
      .5em 0 0 rgba(0,0,0,0);}
  60% {
    text-shadow:
      .25em 0 0 #000,
      .5em 0 0 rgba(0,0,0,0);}
  80%, 100% {
    text-shadow:
      .25em 0 0 #000,
      .5em 0 0 #000;}}

