/*******************************************************************************
* DO Color Palette
*******************************************************************************/
/*******************************************************************************
* Blog
*******************************************************************************/
.row.blog-post {
  max-width: 50%;
  margin: 0 auto;
}

.row.blog-post ol li {
  margin-bottom: 3px;
}

.row.blog-post ol li:before {
  line-height: 1.6;
}

/*******************************************************************************
* Load More buttons
*******************************************************************************/
.show_all_blog_btn {
  opacity: 0;
}

.show_all_blog_btn.active {
  opacity: 1;
}

.load_more_blog_btn_wrapper {
  opacity: 1;
}

.load_more_blog_btn_wrapper.inactive {
  opacity: 0;
}

/*******************************************************************************
* Blog - Landing Page
*******************************************************************************/
.image-header.has-bg.blog::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.45);
  -webkit-transition: all .3s linear;
          transition: all .3s linear;
}

h2.blog-subtitle {
  margin: 90px 0 25px 0;
}

h2.blog-subtitle::after {
  display: none;
}

.page-section.blog p {
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
}

h2.blog-subtitle,
p.filter-text {
  text-align: center;
}

p.filter-text {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

div.filter-title {
  background: #fafafa;
  margin-top: 90px;
  padding: 45px 0 0 0;
}

div.filter-title .blog-subtitle {
  margin: 0;
}

/*******************************************************************************
* Blog - Archive
*******************************************************************************/
body.archive .blog-subtitle {
  text-transform: capitalize;
  margin-top: 25px;
}

body.archive .archive-label {
  display: block;
  margin: 45px auto 0;
  text-align: center;
}

body.archive .archive-label a {
  color: #40BFB4;
  border-bottom: 2px solid #40BFB4;
  -webkit-transition: all .5s ease-in-out;
          transition: all .5s ease-in-out;
}

body.archive .archive-label a:hover {
  color: #93A1B2;
  border-bottom: 2px solid #93A1B2;
  -webkit-transition: all .5s ease-in-out;
          transition: all .5s ease-in-out;
}

body.archive .search_container {
  margin: 15px auto 45px;
}

body.archive .search_container .archive-label {
  margin-top: 0;
}

body.archive .blog-search-wrapper {
  margin: 45px auto 0;
}

body.archive span.expand {
  display: inline-block;
  padding: 0 15px;
}

body.archive span.expand::before, body.archive span.expand::after {
  content: '-';
}

#blog-archive-content {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  float: left;
  width: 65%;
}

#blog-archive-content article {
  margin-top: 60px;
  padding-left: 60px;
  position: relative;
}

#blog-archive-content h2 {
  font-size: 34px;
}

#blog-archive-content .blog-date {
  width: 70px;
}

/*******************************************************************************
* Blog - Category Filters
*******************************************************************************/
.btn-secondary.blog {
  clear: both;
  text-align: center;
  width: 15%;
  margin: 20px auto;
  display: block;
  padding-bottom: 0;
}

a.blog.show-more {
  margin: 45px auto;
}

.blog_show_all {
  margin: 45px 0;
}

.filters-wrapper.blog {
  margin-top: 30px !important;
}

/*******************************************************************************
* Blog - Search
*******************************************************************************/
section.blog.search {
  background: #fafafa;
  display: inline-block;
  width: 100%;
}

section.blog.search.home {
  padding-top: 0;
}

section.blog.search a {
  text-indent: -9999px;
}

section.blog.search .nav {
  background: #fafafa;
  display: inline-block;
  padding: 45px 0;
  width: 100%;
}

section.blog.search .nav .nav-previous span.tooltip,
section.blog.search .nav .nav-next span.tooltip {
  display: none;
}

section.blog.search .nav .nav-previous span.tooltip .tooltiptext,
section.blog.search .nav .nav-next span.tooltip .tooltiptext {
  opacity: 1;
  border: 0;
  top: 0;
}

section.blog.search .nav .nav-previous a + span.tooltip,
section.blog.search .nav .nav-next a + span.tooltip {
  display: inline-block;
}

section.blog.search .nav .nav-previous .post-next .tooltiptext,
section.blog.search .nav .nav-next .post-next .tooltiptext {
  border-left: 2px solid #40BFB4;
  margin-left: 15px;
}

section.blog.search .nav .nav-previous .post-prev .tooltiptext,
section.blog.search .nav .nav-next .post-prev .tooltiptext {
  border-right: 2px solid #40BFB4;
  right: 80px;
  text-align: right;
}

section.blog.search .nav #nav-below {
  max-width: 1155px;
  margin: 0 auto;
}

section.blog.search .blog-search-wrapper {
  width: 50%;
  margin: 0 auto 45px;
}

section.blog.search .blog-search-wrapper h2.blog-subtitle {
  margin-top: 0;
}

section.blog.search .blog-search-wrapper .filter-text {
  margin-top: 30px;
}

section.blog.search .blog-search-wrapper .search-input-wrapper {
  display: inline-block;
  height: 40px;
  width: 68%;
  vertical-align: top;
}

section.blog.search .blog-search-wrapper .search-btn-wrapper {
  display: inline-block;
  height: 40px;
  width: 31%;
}

section.blog.search .blog-search-wrapper .search-input-field,
section.blog.search .blog-search-wrapper input[type=search] {
  border: 0;
  background: transparent;
  border-bottom: thin solid #1d1d1c;
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  height: inherit;
  padding-bottom: 0;
  width: 100%;
  text-indent: 10px;
}

section.blog.search .blog-search-wrapper .btn.blog-search {
  background: transparent;
  border-color: #1D1D1C;
  color: #1D1D1C;
  cursor: pointer;
  height: inherit;
  margin: 0 auto;
  width: 90%;
}

section.blog.search .blog-search-wrapper .btn.blog-search:hover {
  border-color: #40BFB4;
  color: #40BFB4;
}

div.blog.search .search.filter-text {
  margin-top: 45px;
}

/*******************************************************************************
* Blog Tiles - /blog/
*******************************************************************************/
.blog-tile {
  margin-bottom: 0;
  overflow: hidden;
}

.blog-tile.image-wrapper img {
  max-width: initial;
}

.blog-tile::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.45);
  -webkit-transition: all .3s linear;
          transition: all .3s linear;
  z-index: 100;
}

.blog-tile.single::before {
  display: none;
}

.blog-tile.single::after, .blog-tile.single:hover::after {
  border-top: 3px solid #1D1D1C;
  border-right: none;
  border-bottom: none;
  border-left: none;
  content: '';
  display: block;
  -webkit-transition: all .25s ease-in-out;
          transition: all .25s ease-in-out;
  width: 5%;
  margin: 45px auto;
}

.blog-tile .text {
  opacity: 1;
  left: 0;
  bottom: 0;
  padding: 8%;
  width: 100%;
  background: transparent;
  z-index: 101;
  max-height: 205px;
}

.blog-tile .text .tile-title {
  font-size: 24px;
}

.blog-tile:hover::after, .blog-tile.hover::after {
  border: 20px solid transparent;
  border-top: 20px solid #54BA9D;
  border-right: 20px solid #54BA9D;
  z-index: 101;
}

.blog-tile:hover .text, .blog-tile.hover .text {
  background: rgba(0, 0, 0, 0.8);
}

.blog-tile h5 {
  font-size: 20px;
  margin-bottom: 20px;
}

.blog-tile .catlist {
  color: #FFFFFF;
  text-transform: capitalize;
}

/*******************************************************************************
* Single Blog Post
*******************************************************************************/
.blog-post p.lead {
  color: #40BFB4;
  font-family: 'Playfair Display', serif;
  font-size: 2.5em;
  line-height: 1.1em;
}

.blog-post h2 {
  font-size: 2em;
}

.blog-post h3 {
  font-size: 2em;
}

.blog-post h4 {
  font-size: 1.5em;
}

.blog-post h2.sans-serif,
.blog-post h3.sans-serif,
.blog-post h4.sans-serif {
  font-weight: bold;
}

.date-author .date,
.date-author .author {
  font-weight: bold;
  margin-bottom: 30px;
}

.date-author .date {
  color: #40BFB4;
  display: inline-block;
  border-bottom: 6px solid #40BFB4;
  padding-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.date-author .author {
  display: block;
  color: #1D1D1C;
}

.page-section.single-post {
  margin: 60px auto 30px;
}

@media (max-width: 480px) {
  .page-section.single-post {
    margin-top: 30px;
  }
}

.blog-centered {
  position: relative;
  text-align: center;
}

@media (max-width: 480px) {
  .blog-centered {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.blog-centered h2::after {
  display: none;
}

.more-header {
  font-size: 32px;
  margin-bottom: 60px;
}

.post-content-wrapper {
  margin-top: 40px;
}

.social-icons {
  margin: 40px 0;
  text-align: center;
}

.social-icons i.fa {
  font-size: 24px;
  padding: 0 8px;
  -webkit-transition: all .3s ease-in-out;
          transition: all .3s ease-in-out;
}

.social-icons i.fa:hover {
  color: #1D1D1C;
  -webkit-transition: all .3s ease-in-out;
          transition: all .3s ease-in-out;
}

.social-icons .share-text-label {
  font-size: 16px;
  font-weight: bold;
  color: #1D1D1C;
}

/*******************************************************************************
* Blog - Single Post Navigation
*******************************************************************************/
nav.navigation.post-navigation {
  display: inline-block;
  width: 100%;
  margin: 0 0 30px 0;
}

.nav-links {
  margin: 0 auto 30px;
  height: 30px;
}

.nav-previous {
  float: right;
}

.nav-next {
  float: left;
}

.blog-breadcrumb {
  position: absolute;
  left: 47%;
}

.nav-previous a,
.nav-next a,
a.blog-nav {
  display: inline-block;
  background-image: url(../images/blog-buttons-small.png);
  background-repeat: no-repeat;
  height: 65px;
  width: 65px;
}

.nav-previous a.all,
.nav-next a.all,
a.blog-nav.all {
  background-position: -86px 0;
}

.nav-previous a.all:hover,
.nav-next a.all:hover,
a.blog-nav.all:hover {
  background-position: -86px -65px;
}

.nav-previous a.all.tooltip .tooltiptext,
.nav-next a.all.tooltip .tooltiptext,
a.blog-nav.all.tooltip .tooltiptext {
  background: #40BFB4;
  color: #FFFFFF;
  font-weight: bold;
  left: -34px;
  text-transform: uppercase;
  top: 15px;
  width: 120px;
}

.nav-previous a:hover .tooltip .tooltiptext,
.nav-next a:hover .tooltip .tooltiptext,
a.blog-nav:hover .tooltip .tooltiptext {
  opacity: 1;
  -webkit-transition: all 0.5s ease;
          transition: all 0.5s ease;
}

.nav-previous a {
  background-position: -175px 0;
}

.nav-previous a:hover {
  background-position: -175px -65px;
}

.nav-previous a .tooltiptext {
  right: 40px;
  text-align: right;
  border-bottom: none;
  border-left: none;
  border-top: none;
}

.nav-next a {
  background-position: 0 0;
}

.nav-next a:hover {
  background-position: 0 -65px;
}

.nav-next a .tooltiptext {
  border-bottom: none;
  border-right: none;
  border-top: none;
  left: 40px;
  text-align: left;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  /* Tooltip text */
  /* Show the tooltip text when you mouse over the tooltip container */
}

.tooltip .tooltiptext {
  border: 2px solid #40BFB4;
  color: #93A1B2;
  font-size: 15px;
  opacity: 0;
  padding: 5px;
  -webkit-transition: all 0.5s ease;
          transition: all 0.5s ease;
  width: 300px;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
  top: -13px;
}

.tooltip .tooltiptext strong {
  color: #40BFB4;
  text-transform: uppercase;
}

.tooltip:hover .tooltiptext {
  opacity: 1;
  -webkit-transition: all 0.5s ease;
          transition: all 0.5s ease;
}

/*******************************************************************************
* Sidebar
*******************************************************************************/
#sidebar {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  float: left;
  margin-top: 40px;
  padding-left: 60px;
  width: 35%;
}

#sidebar i {
  font-size: 36px;
}

#sidebar li {
  list-style: none;
}

#sidebar .social {
  margin-right: 25px;
}

#sidebar .social:last-child {
  margin-right: 0;
}

#sidebar .widget-container {
  margin-bottom: 30px;
}

#sidebar #searchform {
  position: relative;
}

#sidebar #searchform input[type='text'] {
  width: 100%;
}

#sidebar #searchform input[type='submit'] {
  border: 0;
  color: #717171;
  padding-right: 0;
  position: absolute;
  right: 0;
  top: 0;
}

#sidebar #searchform input[type='submit']:hover {
  background: transparent;
}
