/*
- Intro styles
  - layout
  - type
- Index styles
  - layout
  - buttons
  - type
- Full article styles
  - layout
  - type
  - lists
- General table styles
- General helper styles
- Media queries
  - small desktop
  - tablet
  - mobile
*/


/* =========================== */
/* ====== intro styles ======= */
/* =========================== */

/* ======== layout =========== */

.blog .intro_content {
  color: #000;
  text-align: center;
  padding: 50px 0 25px 0;
  margin: 0 auto;
}

.blog .intro_content p {
  padding-bottom: 50px;
}

.blog .intro_content > span {
  color: #777777;
  font-size: 20px;
  font-weight: bold;
}

/* ========== type =========== */
.blog .intro_content h1 {
  line-height: 60px;
  font-size: 50px;
  font-weight: bold;
}

.blog .intro_content p {
  color: #777;
  font-size: 20px;
  font-weight: normal;
  width: 60%;
  margin: 0 auto;
}

.blog .intro_content hr {
  background: none;
  border: 1px solid #D8D8D8;
  width: 60%;
  margin: 0 auto 30px auto;
}


/* =========================== */
/*  custom index blog styles   */
/* =========================== */

/* ======== layout =========== */
.blog .row article {
  border: 1px solid #D8D8D8;
  border-radius: 3px;
  position: relative;
  transition: background .3s;
  min-height: 560px;
  float: left;
  width: 99%;
}

.blog .row article:hover {
  cursor: pointer;
  background: #FAFAFA;
  transform: background .3s;
}

.blog .row article .image_wrapper {
  max-width: 960px;
  max-height: 400px;
  overflow: hidden;
}

.blog .row article .image_wrapper img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  transition: transform .3s;
}

.blog .row article:hover img {
  transform: scale(1.1);
  transform-origin: center;
  transition: transform .3s;
}

.blog .article_link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.blog article .article_content {
  padding: 20px;
}

.blog section .row {
  margin-bottom: 30px;
  overflow: auto;
  position: relative;
}

.blog section .row.two_col article {
  display: inline-block;
  margin-right: 30px;
  max-width: 460px;
  min-height: 535px;
}

.blog section .row.two_col article:last-child { margin-right: 0; }

.blog section .two_col article .article_content h1 {
  line-height: 40px;
  font-size: 35px;
}

/* ======== buttons ========== */
.blog .btn.btn_hollow {
  background: transparent;
  border: 1px solid #4EA234;
  color: #4EA234;
  display: inline-block;
  position: relative;
  z-index: 2;
  transition: all .3s;
}

.blog .btn.btn_hollow:hover {
  background: #4EA234;
  color: #FFF;
  transition: all .3s;
}


.blog section .row.two_col .btn.btn_hollow {
  position: absolute;
  bottom: 20px;
}

/* ========== type =========== */
.blog article .article_content .by_line,
.blog article .article_content time {
  color: #999;
  font-size: 15px;
  line-height: 24px;
}

.blog article .article_content h1 {
  color: #1F1F1F;
  letter-spacing: -1px;
  line-height: 45px;
  font-size: 40px;
  padding: 0 0 10px 0;
  font-weight: 300;
  font-style: normal;
}

.blog article .article_content p {
  color: #777777;
  font-size: 17px;
  line-height: 27px;
}


/* =============================== */
/* full article page layout styles */
/* =============================== */

/* ============ layout =========== */

.blog .block_inner.full_article {
  margin: 0 auto;
  overflow: hidden;
}

.blog article.full_article {
  max-width: 100%;
  padding: 0;
}

.blog article.full_article .full_width_section {
  max-width: 100%;
  margin: 0 auto;
}

.blog article.full_article .article_image_wrapper {
  max-height: 350px;
  margin: 0 auto;
  text-align: center;
  max-width: 720px;
}

.blog article.full_article .article_image_wrapper img {
  max-height: 350px;
  text-align: center;
  width: 100%;
  height: auto;
}

.blog article.full_article .article_content {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 960px;
  padding: 20px;
}

.blog article.full_article header {
  padding: 20px 0;
  margin-bottom: 20px;
}

.blog article.full_article hr {
  margin: 10px 0 40px 0;
}

.full_article section {
  max-width: 720px;
  margin: 0 auto;
}

/* ============= type ============ */

.blog article.full_article h1 {
  font-size: 45px;
  margin: 0;
  padding: 0;
  line-height: 1.3;
  /*font-weight: 700;*/
}

.full_article h2,
.full_article h3 {
  font-size: 30px;
  font-weight: bold;
  line-height: 35px;
  padding: 0 0 20px 0;
}

.full_article p + h1,
.full_article p + h2,
.full_article p + h3 {
  padding-top: 40px;
}

.full_article h3 {
  font-size: 20px;
  padding-bottom: 0;
}

.full_article ol li,
.full_article ul li,
.blog article.full_article p {
  color: #777777;
  font-size: 18px;
  line-height: 32px;
  font-weight: normal;
  padding-bottom: 15px;
}

.full_article ul li a span {
  display: block;
  font-size: 12px;
  padding-top: 25px;
  opacity: .5;
  text-align: center;
}

.full_article ul li h3 {
  display: block;
  font-size: 45px;
  font-weight: bold;
  line-height: 45px;
  padding: 80px 5px 0 5px;
  text-align: center;
}


/* ============ lists ============ */

.full_article ol,
.full_article ul {
  margin-bottom: 20px;
}

.full_article ol.sub_list {
  margin: 5px 0 0 30px;
}

.full_article ol li,
.full_article ul li {
  border-radius: 5px;
  margin: 0 0 0 25px;
  list-style-type: disc;
  padding-bottom: 0;
}

.full_article ol li {
  list-style: decimal;
  background: none;
  padding: 2px 0 4px 10px;
}

.full_article ul li + li { }
.full_article ul li a {
  box-shadow: 3px 3px 5px #CCC;
  display: block;
  text-decoration: none;
  height: 300px;
  width: 240px;
  border-radius: 4px;
}

.blog .callout,
.blog .toc {
  background: #FAFAFA;
  border: 1px solid #D8D8D8;
  border-radius: 3px;
  padding: 20px;
}

/* ===================== */
/* general table styles  */
/* ===================== */

.full_article table {
  border-collapse:collapse;
  display: table;
  overflow-x: auto;
  width: 100%;
}

.full_article table.hide_on_mobile {
  display: table;
}

.full_article table th {
  text-align: left;
  border-bottom: none;
  background: #eee;
  padding: 20px;
}

.full_article table td {
  padding: 10px 10px 10px 20px;
  border-bottom: 1px solid #DADADA;
}


/* ===================== */
/* general helper styles */
/* ===================== */

.blog img.center { display: block; margin: 0 auto 0 auto; padding: 15px; }
.blog img.img_border { border: 1px solid #D8D8D8; border-radius: 5px; }

.blog .hide_on_mobile { display: inherit; }
.blog .show_on_mobile__block { display: none; }
.blog .show_on_mobile__inline { display: none; }

.blog article .vertical_rhythm    { margin-bottom: 10px; }
.blog article .vertical_rhythm_2x { margin-bottom: 20px; }
.blog article .vertical_rhythm_3x { margin-bottom: 30px; }
.blog article .vertical_rhythm_4x { margin-bottom: 40px; }
.blog article .vertical_rhythm_5x { margin-bottom: 50px; }
.blog article .vertical_rhythm_6x { margin-bottom: 60px; }


/* =================== */
/* index media queries */
/* =================== */

/* small screen */
@media screen and (max-width: 960px) {
  /* layout */
  .blog section .row.two_col article {
    max-width: 48%;
    min-height: 530px;
  }
  .blog section .row.two_col article:first-child {
    margin-right: 3%;
  }
}

/* tablet */
@media screen and (max-width: 800px) {
  /* layout */
  .blog section .row.one_col { margin: 0 auto; }
  .blog section .row.two_col article {
    max-width: 100%;
    min-height: 0;
  }

  .blog section .row.two_col article:first-child {
    margin-right: 0;
  }

  .blog section .row.one_col article,
  .blog section .row.two_col article {
    margin-right: 0;
    float: none;
    margin-bottom: 20px;
  }

  .blog section .row.one_col .btn.btn_hollow,
  .blog section .row.two_col .btn.btn_hollow {
    display: block;
    position: static;
    margin: 0;
    text-align: center;
  }
}

/* mobile */
@media screen and (max-width: 500px) {
  /* type */
  .blog .intro_content > span {
    font-size: 15px;
    font-weight: bold;
  }

  .blog .intro_content h1 {
    line-height: 30px;
    font-size: 40px;
    font-weight: bold;
    margin-top: 20px;
  }

  .blog .intro_content p {
    font-size: 19px;
    font-weight: normal;
    width: 100%;
    margin: 0 auto;
  }

  /* layout */
  .intro_content hr { max-width: 100%; }

  .blog section .row {
    margin-bottom: 0;
  }

  .blog section .row.one_col article,
  .blog section .row.two_col article {
    margin-right: 0;
    float: none;
    margin-bottom: 20px;
    min-height: 0px;
  }

  .blog section .row.two_col .btn.btn_hollow {
    display: block;
    position: static;
    margin: 0;
    text-align: center;
  }

  .blog .block_inner.full_article { padding: 0; }
  .blog .full_article .article_content { padding: 20px; }

  /* type */
  .blog article .article_content time {
    font-size: 14px;
    line-height: 30px;
  }
  .blog section .two_col article .article_content h1 {
    line-height: 30px;
    font-size: 25px;
  }

  /* helpers */
  .blog .hide_on_mobile { display: none; }
  .blog .show_on_mobile__block { display: block; }
  .blog .show_on_mobile__inline { display: inline-block; }
  .full_article table.hide_on_mobile { display: none; }
}
