article {
	max-width: 640px;
	text-align: left;
  margin-bottom: 40px;
  padding-right: 30px;
	background: none;
}

section {
  display: flex;
  flex-direction: column;
	text-align: left;
	margin-bottom: 40px;
	margin-top: 0;
	background: none;
}

/* REFERRAL PROGRAM */
.form-referral {
  min-width: 640px;
}
/* END REFERRAL PROGRAM */

/* BLOG WIDGET */
.blog-widget{
  background-color: rgba(248,252,244,255);
	margin-top: 0;
  padding: 20px;
  width: 280px;
  min-width: 280px;
}

.blog-widget a{
  float: left;
  border-bottom: none;
}

.blog-widget h4{
	text-align: center;
	font-family: 'Nixie One', serif;
	color: #7ac735;
	font-size: 24px;
	padding-top: 0;
	padding-bottom: 0;
	margin-top: 10px;
	margin-bottom: 15px;
}

.post {
	margin-bottom: 8px;
	float: left;
	border-bottom: 1px solid white;
	padding-bottom: 8px;
}

.post h6{
  color: black;
	text-align: left;
	margin-top: 0;
	padding-top: 0;
	margin-bottom: 0;
	margin: 0 10px;
	font-size: 14px;
	font-weight: normal;
}

.date {
	width: 40px;
	float: left;
	color: #00bcfe;
}

.month {
	text-align: center;
	font-family: 'Nixie One', serif;
	font-size: 12px;
	text-transform: uppercase;
}

.day {
	text-align: center;
	font-family: 'Nixie One', serif;
	font-size: 24px;
}
/* END BLOG WIDGET */

/* NEWSLETTER WIDGET */
.email-widget {
	background: url(https://d1512cxhwqig2.cloudfront.net/images/email-bg.png) no-repeat;
	margin-top: 40px;
  padding: 20px;
  width: 280px;
  min-width: 280px;
}

.email-widget p {
  padding: 16px 0;
}

.email-widget a{
	color: #00bcfe;
	border-bottom: none;
}

.email-widget form{
	margin-top: 0;
	margin-bottom: 0;
}

.email-widget form input{
	font-size: 12px;
	max-width: 150px;
	margin-bottom: 0;
}

.email-widget p {
	text-align: left;
	line-height: 14px;
	font-size: 12px;
}

.email-widget h4{
	text-align: center;
	font-family: 'Nixie One', serif;
	color: #df0a81;
	font-size: 24px;
	padding-top: 0;
	padding-bottom: 0;
	margin-top: 10px;
	margin-bottom: 15px;
}

.email-submit{
	background: #df0a81;
	color: white;
	border: none;
	width: 60px;
  cursor: pointer;
}

.email-submit:hover{
	background: #df0a81;
	color: white;
	border: none;
	opacity: 0.8;
}
/* END NEWSLETTER WIDGET */


/* STORIES */
.stories {
  margin-bottom:40px;
  float:left;
}

.stories p {
  line-height: 24px;
  font-size: 18px;
  letter-spacing: normal;
}

/* STORIES - Index */
.testimonials {
  background: #54acd2;
  color: white;
  font-size: 25px;
  padding: 20px;
  width: 100%;
  font-family: 'Nixie One', serif;
  line-height: 32px;
  text-align: left;
  border-radius: 5px;
}

.view-case {
  float: right;
  border-width: 2px;
  border-style: solid;
  padding: 5px 10px;
  margin-top: 20px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  font-size: 14px;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.testimonial-wrap {
  padding: 25px;
  width: initial;
  position: relative;
  float: left;
}

.testimonial-wrap:hover .view-case{
  opacity:1;
  border: 2px solid #7ac735;
  color:#7ac735;
}

.testimonial-wrap:hover .view-case:hover {
  color: white;
  background:#7ac735;
}

.testimonial-info {
  font-weight: bold;
  margin-top: 10px;
  float: left;
  width: 250px;
  text-align:left;
}

.testimonial-info .name {
  font-size: 18px;
  margin: 5px auto;
  text-align: left;
  color: black;
  font-weight: bold;
}

.testimonial-info p {
  font-size:14px;
  color:#df0a81;
  margin:0px;
  padding-top: 0;
}

.headshot {
  width: 100px;
  height: 100px;
  background: black;
  float: left;
  color: white;
  margin-top: 10px;
  border: 3px solid #ccc;
  margin-right: 20px;
  margin-left: 10px;
  -webkit-border-radius: 100px;
  border-radius: 100px;
  overflow: hidden;
}

.headshot img{
  width:100%;
  height:100%;
}

.arrow-down {
  width: 0;
  height: 0;
  margin-left: 100px;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #65B6DA;
}
/* END STORIES - Index */

/* STORIES - Pages */
.stories iframe {
  margin: 50px auto 35px auto;
}

.stories.det {
  float: none;
  text-align: left;
  margin: 20px auto 40px auto;
}

.stories.det p {
  padding-left: 10px;
  padding-right: 10px;
}

.stories.det h3 {
  font-size: 22px;
  line-height: 24px;
  margin-top: 40px;
  color: #c80f67;
  padding: 0 10px;
}

.stories blockquote {
  margin: 20px 0px;
  padding: 0px 5%;
  margin-right: none;
  border-left: 5px solid #00bcfe;
  font-size: 22px;
  line-height: 28px;
  font-family: 'Nixie One', serif;
  color: #00bcfe;
  background: white;
}

.det img {
  display: block;
  text-align: center;
  max-width: 90%;
  height: auto;
  padding: 20px;
  margin: 0 auto;
}

.det .capt {
  font-size: 14px;
  line-height: normal;
  display: block;
  width: 90%;
  padding: 0 10px 10px 30px;
  text-align: center;
  margin: 0 auto;
}
/* END STORIES - Pages */
/* END STORIES */

/* SUBNAV */
.subnav {
  min-height: 50px;
  margin-top: 80px;
  background-color: #faf9fa;
  margin-bottom: -50px;
}

.subnav ul {
	padding: 0;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  text-align: center;
	line-height: 50px;
}

.subnav li {
	list-style-type: none;
  padding: 0 20px;
  margin: 0;
  display: inline;
  position: relative;
}

.subnav li a:hover {
	color: #7ac735;
}

.subnav li.selected a {
	font-weight: 500;
}

.subnav li.selected a:hover {
	color: black;
}
/* END SUBNAV */

/* PRESS */
.press-post {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  border-bottom:1px solid #eee;
  padding:30px 0px;
}

.press-post_date {
  font-family: 'Nixie One', cursive;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 50%;
  min-width: 160px;
  height: 160px;
  font-family: 'Nixie One', cursive;
  text-align: center;
  border:1px solid #c80f67;
  color:#c80f67;
}

.press-post_day {
  font-size: 72px;
  line-height: 55px;
  padding-bottom: 5px;
}

.press-post_month {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 15px;
  padding-left: 15px;
  line-height: 38px;
}

.press-post_year {
  color: #c80f67;
  font-size: 18px;
  padding-left: 15px;
  letter-spacing: 12px;
}

.press-post_text {
  margin-left: 40px;
  text-align: left;
}

.press-post_text p {
  font-size: 16px;
  color: #666;
}

.press-post_text h3 {
  font-size: 28px;
  margin-top: 0px;
  margin-bottom: 10px;
  color: #1aaad6;
  line-height: normal;
}

.back-to-press {
  width: 100%;
  align-self: flex-end;
  text-align: right;
  margin-bottom: 20px;
}
/* END PRESS */

/* LEGAL */
.legal-subheading-one {
  font-size: 20px;
  margin-top: 20px;
}

.legal-subheading-two {
  margin-top: 20px;
  margin-bottom: 0;
  padding-bottom: 0;
}
/* END LEGAL */

/* ---------------------------------- @MEDIA ---------------------------------- */

@media screen and (max-width: 1024px) {
  /* REFERRAL PROGRAM */
  .form-referral {
    min-width: 470px;
  }
}

@media screen and (max-width: 768px) {
  section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto;
  }

  .email-widget {
    margin-top: 0;
  }

  /* PRESS */
  .press-post {
    flex-direction: column;
    flex-wrap: nowrap;  
  }

  .press-post_text {
    margin: 0 auto;
  }

  .press-post_date {
    font-family: 'Quicksand', Helvetica, Arial, sans-serif;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    border-radius: 0;
    border: none;
    min-width: initial;
    height: auto;
    text-align: left;
    margin-bottom: 20px;
  }
  
  .press-post_day {
    font-size: 18px;
    line-height: normal;
    padding-bottom: 0;
    padding-left: 5px;
  }
  
  .press-post_month {
    font-size: 18px;
    text-transform: none;
    letter-spacing: normal;
    padding-left: 0;
    line-height: normal;
  }
  
  .press-post_year {
    color: #c80f67;
    font-size: 18px;
    padding-left: 5px;
    letter-spacing: normal;
    line-height: normal;
  }
}

@media screen and (max-width: 600px) {
  section {
    flex-direction: column;
  }

  article {
    max-width: 100vw;
  }

  /* SUBNAV */
  .subnav li {
    display: block;
  }

  .blog-widget {
    margin: 0 auto;
  }

  .email-widget {
    margin: 0 auto;
    margin-top: 40px;
  }
}