/*
	Theme Name: ICHM-Final
	Theme URI: http://seanandthomas.com
	Author: Sean & Thomas
	Author URI: http://seanandthomas.com
	Description: We like to code :)
	Version: 1.0

*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing 
*,
*:after,
*:before {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
} */

/* html element 62.5% font-size for REM use */
html {
  font-size: 62.5%;
  background: #f4f4f4;
}
body {
  font: 300 11px/1.4 "Muli", sans-serif;
  color: #2a2a2a;
  font-size: 14px;
}
/* clear */
.clear:before,
.clear:after {
  content: " ";
  display: table;
}

.clear:after {
  clear: both;
}
.clear {
  *zoom: 1;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
a {
  color: #444;
  text-decoration: none;
}
a:hover {
  color: #444;
}
a:focus {
  outline: 0;
}
a:hover,
a:active {
  outline: 0;
}
input:focus {
  outline: 0;
  border: 1px solid #04a4cc;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}
/* header */
.header {
  display: flex;
  align-items: center;
}
/* logo */
.logo {
  margin: 15px 0;
  display: inline-block;
}
.logo-img {
  max-height: 75px;
}
/* nav */
.nav {
  display: inline-block;
  position: absolute;
  right: 5px;
  font-size: 18px;
  text-transform: uppercase;
}

@media only screen and (min-width: 1000px) {
  .nav {
    font-size: 22px;
  }
}

/* sidebar */
.sidebar {
}
/* footer */
.footer {
}

.mobile_hide {
  display: none;
}

.desktop_hide {
  display: block;
}

@media only screen and (min-width: 1000px) {
  .mobile_hide {
    display: block;
  }

  .desktop_hide {
    display: none;
  }
}

/*------------------------------------*\
    HOME PAGE
\*------------------------------------*/

.home_hero_content {
  height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home_hero_content h2 {
  font-size: 30px;
  font-weight: 700;
  margin: 0;
}

.home_hero_content h3 {
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin: 10px 0 0;
  max-width: 430px;
}

h1 {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin: 0;
}

#home_posts {
  margin-top: 40px;
  margin-bottom: 60px;
}

article {
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.02);
  border-radius: 5px;
  overflow: hidden;
  margin: 25px auto;
  background: #fff;
  width: 94%;
  -webkit-transition: box-shadow 300ms ease-out;
  -moz-transition: box-shadow 300ms ease-out;
  -o-transition: box-shadow 300ms ease-out;
  transition: box-shadow 300ms ease-out;
}

article:hover {
  box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.25);
}

.article_thumb_background {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center, center;
}

.loop_article_body {
  margin: 0 3%;
  position: relative;
}

article h2 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 18px;
}

p {
  font-size: 14px;
}

article p {
  text-align: justify;
}

article .date {
  font-size: 14px;
  font-weight: 700;
  color: #c9c9c9;
  text-transform: uppercase;
  text-align: right;
}

.alm-btn-wrap {
  display: none;
}

@media only screen and (min-width: 480px) {
  .home_hero_background {
    height: calc(100vh);
  }

  .home_hero_content h2 {
    font-size: 36px;
  }

  .home_hero_content h3 {
    font-size: 22px;
  }

  h1 {
    font-size: 45px;
  }

  article {
    height: 230px;
    max-width: 700px;
  }

  article a {
    display: inline-flex;
  }
  .article_thumb_background {
    width: 260px;
    height: 230px;
  }

  .loop_article_body {
    width: calc(100% - 260px);
  }

  article h2 {
    font-size: 21px;
    margin: 18px 0 12px;
  }

  body,
  p {
    font-size: 17px;
  }

  article .date {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
  }
}

@media only screen and (min-width: 1000px) {
  .home_hero_content {
    align-items: initial;
    height: calc(100vh - 300px);
    min-height: 350px;
  }

  #home_posts {
    margin-top: 60px;
    margin-bottom: 80px;
  }

  .home_hero_content h2 {
    font-size: 42px;
  }

  .home_hero_content h3 {
    font-size: 26px;
    max-width: 510px;
    text-align: left;
  }

  h1 {
    font-size: 60px;
  }

  article {
    height: 330px;
    max-width: 1050px;
  }

  .article_thumb_background {
    width: 410px;
    height: 330px;
  }

  .loop_article_body {
    width: calc(100% - 435px);
    margin: 20px 22px;
  }

  .loop_article_body {
    margin: 20px 22px;
  }

  article h2 {
    font-size: 25px;
    margin: 0 0 15px;
  }

  body,
  p {
    font-size: 19px;
  }
}

/*------------------------------------*\
    SINGLE POST PAGE
\*------------------------------------*/

.blog_post {
  margin-bottom: 30px;
}

.single_blog_background,
.home_hero_background {
  height: 700px;
  background-size: cover;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-position: center, center;
  z-index: -1;
}

.blog_post_header {
  margin-top: 25%;
  margin-bottom: 15%;
}

h1.blog_post_title {
  text-transform: uppercase;
  line-height: 1.2;
}

span.date {
  margin: 0 auto;
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #747474;
  text-transform: uppercase;
  text-align: center;
  margin-top: 20px;
}

section.blog_post a {
  text-decoration: underline;
}

@media only screen and (min-width: 480px) {
  .blog_post {
    margin-bottom: 60px;
  }

  .single_blog_background {
    height: calc(100vh - 70px);
  }

  .blog_post_header {
    margin-top: 150px;
    margin-bottom: 120px;
  }

  span.date {
    font-size: 22px;
  }
}

@media only screen and (min-width: 1000px) {
  .blog_post {
    max-width: 1080px;
    margin: 0 auto 80px;
  }

  h1.blog_post_title {
    width: 80%;
    margin: 0 auto;
  }

  span.date {
    font-size: 28px;
  }
}

/* ================================================================================  */
input[type="email"] {
  font-family: "Muli";
  color: #131313;
  width: 300px;
  font-size: 19px;
  text-indent: 4px;
  border-radius: 4px;
  height: 44px;
  border: none;
  display: block;
  padding: 0;
  margin: 16px auto;
}

input[type="submit"] {
  background: #0fbc53;
  border-radius: 4px;
  text-transform: uppercase;
  font-family: "Muli";
  font-weight: 700;
  color: #f5f5f5;
  font-size: 20px;
  height: 44px;
  width: 150px;
  border: none;
  margin: 0 auto;
  display: block;
}

@media only screen and (min-width: 1000px) {
  input[type="email"] {
    margin: 20px 0;
    width: 330px;
  }

  form#mc-embedded-subscribe-form {
    display: flex;
    justify-content: space-between;
    width: 500px;
    align-items: center;
  }
}

/* ================================================================================  */
section.email_signup_footer {
  background: #b50c0a;
  padding: 50px 0;
  position: relative;
  bottom: -2px;
}

section.email_signup_footer h1 {
  font-weight: 400;
  color: white;
  width: 90%;
  max-width: 1000px;
  display: block;
  margin: 0 auto;
  font-size: 30px;
}

@media only screen and (min-width: 480px) {
  section.email_signup_footer input[type="email"] {
    margin: 20px 0;
    width: 330px;
  }

  section.email_signup_footer form#mc-embedded-subscribe-form {
    display: flex;
    justify-content: space-between;
    width: 500px;
    align-items: center;
    margin: 0 auto;
  }
}

@media only screen and (min-width: 1000px) {
  section.email_signup_footer h1 {
    font-size: 35px;
  }
}

/*------------------------------------*\
	THANK YOU PAGE FROM MAILCHIMP
\*------------------------------------*/

.thank_you .home_hero_content {
  align-items: initial;
  height: 600px;
}

.thank_you .home_hero_content {
  align-items: center;
}

.thank_you .home_hero_content * {
  text-align: center;
}

.thank_you iframe {
  margin-top: 30px;
}

.thank_you .home_hero_content a {
  font-weight: 800;
  display: inline;
}

.podcast_links {
  display: flex;
  margin-top: 20px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.podcast_links a {
  font-size: 10px;
  font-weight: 500 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  width: 56px;
  line-height: 1.2;
  flex: 1 0 20%;
  padding-bottom: 12px;
}

.podcast_links img {
  width: 32px;
  margin-bottom: 5px;
}

@media only screen and (min-width: 600px) {
  .podcast_links a {
    flex: initial;
  }
}

@media only screen and (min-width: 1000px) {
  .thank_you .home_hero_content {
    height: calc(100vh - 105px);
  }
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
  font-family: "Font-Name";
  src: url("fonts/font-name.eot");
  src: url("fonts/font-name.eot?#iefix") format("embedded-opentype"),
    url("fonts/font-name.woff") format("woff"),
    url("fonts/font-name.ttf") format("truetype"),
    url("fonts/font-name.svg#font-name") format("svg");
  font-weight: normal;
  font-style: normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width: 320px) {
}
@media only screen and (min-width: 480px) {
}
@media only screen and (min-width: 768px) {
}
@media only screen and (min-width: 1024px) {
}
@media only screen and (min-width: 1140px) {
}
@media only screen and (min-width: 1280px) {
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
  only screen and (min-resolution: 144dpi) {
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
  background: #04a4cc;
  color: #fff;
  text-shadow: none;
}
::-webkit-selection {
  background: #04a4cc;
  color: #fff;
  text-shadow: none;
}
::-moz-selection {
  background: #04a4cc;
  color: #fff;
  text-shadow: none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
  margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}
.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
a img.alignnone {
  margin: 5px 20px 20px 0;
}
a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}
.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}
.sticky {
}
.bypostauthor {
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* ================================================================= */
/* Sean & Thomas Section */
/* ================================================================= */

section.built_by_sean_and_thomas {
  background-color: #b50a0a;
  height: 485px;
  padding-top: 30px;
  position: relative;
  overflow: hidden;
}

#collection_of_st {
  height: 100%;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}

section.built_by_sean_and_thomas span {
  position: relative;
  top: 20px;
  left: 17%;
  transform: translate(-50%, 0);
  color: #fff;
  font-size: 16px;
}

#sean_and_thomas_logo {
  width: 240px;
  height: 110px;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translate(-50%, 0);
}

#sean_pic {
  height: 340px;
  position: absolute;
  left: 15px;
  bottom: 0px;
}

#thomas_pic {
  height: 340px;
  position: absolute;
  right: 15px;
  bottom: 0px;
}

@media (min-width: 750px) {
  section.built_by_sean_and_thomas {
    height: 340px;
    padding-top: 35px;
  }

  #collection_of_st {
    max-width: 580px;
  }

  section.built_by_sean_and_thomas span {
    display: block;
    width: 255px;
    text-align: left;
    top: 65px;
    left: 50%;
  }

  #sean_and_thomas_logo {
    width: 250px;
    height: 115px;
    top: 100px;
    left: 50%;
    transform: translate(-50%, 0);
  }
}

@media (min-width: 1000px) {
  section.built_by_sean_and_thomas {
    height: 360px;
    padding-top: 45px;
  }

  #collection_of_st {
    max-width: 625px;
  }

  section.built_by_sean_and_thomas span {
    width: 275px;
  }

  #sean_and_thomas_logo {
    width: 270px;
    height: 125px;
  }

  #sean_pic {
    height: 360px;
  }

  #thomas_pic {
    height: 360px;
  }
}
