/*
    #49bf9d: light-sea-green
    #D11149: cherry-red
*/

body {
  border-top: solid 5px #49bf9d;
  margin-top: 1px;
  padding: 4em 2em 2em 2em;
}

body, * {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Source Sans Pro', sans-serif;
  font-weight: 300;
}

pre, pre span, code {
  font-family: courier;
  font-weight: 400;
  font-size: 0.9em;
}

pre {
  background: rgba(0,0,0,0.05);
}

code {
  background: rgba(0,0,0,0.05);
  font-weight: normal;
}

hr {
  color: #eee;
  margin-top: 1.7em;
}

form .form-input, form .button, form input, form textarea {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
}

.branding h1 a {
  color: #D11149;
  font-size: 5vw;
  font-weight: 100;
  text-decoration: none;
  border-bottom: none;
}

.branding h1 a:hover {
  color: #49bf9d;
}

.branding h1 span {
  font-weight: 400;
}

.branding h2 {
  font-size: 1.2em;
  font-weight: 400;
  line-height: 1.2em;
}

h3 {
  line-heigt: 1.5em;
}

p {
  font-size: 1.1em;
}

a {

  color: #D11149;
  text-decoration: none;
  border-bottom: dotted #D11149 1px;
}

a:hover {
  color: #49bf9d;
  border-bottom: dotted #49bf9d 1px;
}

row row {
  margin-bottom: 0;
}


column.col-first p {
  margin: 2em 0;
}


column.col-first {
  border-right: solid #eee 1px;
  padding-right: 2em;
}

column.col-first section {
  xborder-top: solid #eee 1px;
  margin-top: 1em;
  xpadding-top: 2em;
}

column.main-first {
  border-right: solid #eee 1px;
  padding-right: 2em;
  xpadding-left: 0.5em;
}

column.main-second {
  padding-left: 0.5em;
  padding-right: 1em;
}

column section {
  margin-bottom: 2em;
}

.casestudy img {
  display: block;
  margin-bottom: 2em;
  width: 100%;
}

.casestudy .entry-title,
 {
  line-height: 1.4em;
  border-bottom: solid #eee 1px;
}

.logos img {
  max-width: 70%;

  filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */

}

.logos img:hover {
  filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale");
  -webkit-filter: grayscale(0%);
}

.articles h3.entry-title {
  margin-bottom: 0.6em;
}

.articles article time {
  display: block;
  margin-top: 0.7em;
}

article .read-more {
  font-size: 0.8em;
}

article.preview {
  margin-top: 1em;
}

ul.archive {
  margin-left: 0;
}

ul.archive li {
  list-style-type: none;
  padding-left: 0;
  margin: 0 0 1.5em 0;
}

.entry-info {
  border-bottom: solid #eee 1px;
  font-size: 0.9em;
  padding-bottom: 0.5em;
  margin-bottom: 1.5em;
}

.entry-info time {
  font-size: 1em;
}

.main-second figure {
  border-bottom: solid #eee 1px;
  font-size: 0.9em;
  margin-bottom: 1.5em;
  text-align: right;
  padding-bottom: 1.5em;
}

.main-second figcaption {
  padding-right: 2px;
}

nav ul {
  border-bottom: solid #eee 1px;
  border-top: solid #eee 1px;
  margin-bottom: 2em;
  margin-left: 0;
  padding: 1em 0;
  text-align: center;
}

nav ul li {
  display: inline-block;
  margin-right: 1em;
}

nav ul li.last {
  margin-right: 0;
}

nav ul li a {
  border-bottom: none;
  text-transform: uppercase;
}

nav ul li a:hover {
  border-bottom: 0;
}

blockquote {
  border-color: #eee;
  font-size: 100%;
  margin: 2.5em 1em;
}

row.outro {
  border-top: solid #eee 1px;
  margin-top: 2em;
}

row.outro footer {
  font-size: 0.8em;
  padding-top: 1em;
  text-align: right;
}

row.outro footer .heart {
  color: #D11149;
}

.team-member {
  border-bottom: solid #eee 1px;
  padding-left: 1em;
}

.vcard .p-name {
  font-weight: 400;
}

.vcard .u-key {
  font-family: monospace;
  line-height: 1.2em;
  margin-top: 2em;
  overflow-wrap: break-word;
  word-wrap:break-word;
}

.ourwork {
  border-top: solid #eee 1px;
  margin-top: 2em;
  padding-top: 1.5em;
}

.client h3, .training h3 {
  font-size: 1em;
  font-weight: 400;
  margin-top: 1em;
  padding: 0.5em;
}

.client img {
  border: solid #eee 1px;
  width: 100%;
}

.client p {
  font-size: 0.9em;
  padding: 0.5em;
}

.training p {
  font-size: 0.9em;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.training img {

}

.training-learn-more .form-item {
  margin-bottom: 2em;
}

.training-learn-more p.ourwork {
  margin-bottom: 2em;
}

.training-learn-more form label {
  display: block;
  font-weight: 400;
}

.training-learn-more .form-item.desc strong {
  font-weight: 800;
  color: #000;
}

.lead {
  border-bottom: solid #eee 1px;
  font-family: 'Merriweather', 'Source Sans Pro', sans-serif;
  font-size: 1.1em;
  padding-bottom: 1em;
}

.entry-content ul {
  margin-left: 3em;
}

.contact .p-name {
  font-weight: 400;
}

.contact .p-tel {
  margin-top: 1em;
}

.p-note {
  border-top: solid #eee 1px;
  font-size: 0.9em;
  margin-top: 1.5em;
  padding-top: 1.5em;
}

.p-note p {
  font-size: 0.95em;
}

.events p a {
  font-size: 0.9em;
}

.events section {
  border-top: solid #eee 1px;
  margin-top: 1.5em;
  padding-top: 1.6em;
}

.events section:first-of-type {
  margin-top: -1.2em;
}

.events section p {
  line-height: 0.8em;
}

.events .datetime {
  font-size: 0.85em;
}

.events #mc_embed_signup .button, .button {
  background-color: #D11149;
  border-radius: 4px;
  color: #fff;
  margin-top: 0.5em;

}

form input.error {
  border-color: #D11149;
}

form input.email {
  margin-top: 0.5em;
}

form .req {
  font-weight: normal;
  font-size: 0.75em;
}

/* Generic media queries */

@media only screen
  and (min-device-width: 320px)
  and (max-device-width: 480px) {
    column.col-first,
    column.main-first
     {
      border-right: none;
      padding-right: 0;
    }

    column.main-first .read-more {
      margin-right: 1.5em;
    }

    .logos {
      display: none;
    }
  }
