/*
font-family: 'Amatic SC', cursive;
font-family: 'Pacifico', cursive;
*/

/*limited reset*/
html, body, div, section, article, aside, header, hgroup, footer, nav, h1, h2, h3, h4, h5, h6, p, blockquote, address, time, span, em, strong, img, ol, li, figure, canvas, video, th, td, tr {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align:baseline;
    font: inherit;
}

/*html5 display rule*/
address, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, nav, menu, nav, section, summary {
    display: block;
}

body {
    width: 100%;
    position: relative;
    font-family: 'Amatic SC', cursive;
    margin: 0;
    font-size: 16px;
    padding: 0;
}

h1 {
  font-size: 3rem;
  text-align: center;
  margin: auto;
}

.content {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-top: 2rem;
    padding-bottom: 6%;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+1,ffffff+45,d4e477+45,d4e477+45,d4e477+100 */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 1%, #ffffff 45%, rgb(47, 151, 164) 45%, rgb(47, 151, 164) 45%, rgb(47, 151, 164) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 1%,#ffffff 45%,rgb(47, 151, 164) 45%,rgb(47, 151, 164) 45%,rgb(47, 151, 164) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 1%,#ffffff 45%,rgb(47, 151, 164) 45%,rgb(47, 151, 164) 45%,rgb(47, 151, 164) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='rgb(47, 151, 164)',GradientType=0 ); /* IE6-9 */
}

.knowledge {
  max-width: 50%;
}


.tagline {
  padding: 5em 1em 0;
}

.img {
  border: 7px solid white;
  margin-left: 3%;

}

.img  img  {
    width: 100%;
    padding: 0;
    max-width: 350px;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
  line-height: 2;
  font-size: 1.8rem;
}

li a {
  color: black;
}

li a:hover {
  color: rgb(47, 151, 164);
}

li:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: white;
  background-image: url('../images/black-head-horse-side-view-with-horsehair.svg');
  background-size: contain;
  background-repeat:no-repeat;
  padding-right: 1em;
}


h3 {
    font-family: 'Pacifico', cursive;
    text-align: left;
    font-size: 2em;
    width: 100%;
}

p {
    font-size: 2em;
}

footer {
    padding-right: 3%;
    text-align: right;
    background: rgb(47, 151, 164);
}


footer a {
    font-family: sans-serif;
    text-transform: lowercase;
    letter-spacing: 4px;
    font-size:.5em;
    text-decoration: none;
    color: black;
}

footer a:hover {
    text-decoration: underline;
    color: white;
}


.event  p:first-of-type {
  margin-top: 2rem;
}

.event p {
  display: block;
  font-family: 'PT Sans';
  font-size: 16px;
  text-align: center;
}

.event p a {
  color: rgb(100, 77, 61);

}

.event p a:hover {
  color: white;
}



.event span {
  font-family: 'Pacifico', cursive;
}

#clinics {
    width: 100vw;
  }

  #clinics img {
  width: 100%;

}

@media screen and (max-width: 800px) {

    body {
        font-size: 80%;
    }

    h2 {
        font-size: 3em;
    }
}



@media screen and (max-width: 678px) {

    .content {
        display: block;
    }

    .knowledge {
      max-width: 100%;
    }

    .tagline {
      width: 100%;
      padding-top: 1em;
    }

    li {
      padding: 10px;
      line-height: normal;
    }


    li a:hover {
      color: white;
    }

    li:before {
      background:  url('../images/black-head-horse-side-view-with-horsehair.svg') rgb(47, 151, 164);
      background-size: contain;
      background-repeat:no-repeat;

    }

    .img {
        margin: auto;
        border: none;
        padding: 1em;
    }



    .footer {
      width: 100%;
    }
}
