/*
Theme Name: Total Child
Theme URI: http://totalwptheme.com
Description: Total WordPress theme example child theme.
Author: AJ Clarke
Author URI: http://totalwptheme.com
Template: Total
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* Translation Bar Begin */
.page-template-spanish #top-bar-content span:last-of-type {
  display: none;
}

.page-template-development .page-header {
  /* margin-bottom: 1em; */
}

.page-header {
  /* margin-bottom: 0; */
}

.blog .page-header,
.post-template-default .page-header {
  /* margin-bottom: 2.5em; */
}

/* Remove bottom border when using translation option */
.navbar-style-three {
  border-bottom: 1px solid #eee;
}

.translated-page-option {
  background-color: hsla(226, 55%, 29%, 1);
  padding: 1rem;
  /* margin-bottom: 3.25em; */
}

.page-id-705 .translated-page-option,
.page-id-772 .translated-page-option {
  /* margin-bottom: 0; */
  border-bottom: 1px solid #eee;
}

.translated-page-option-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 auto;
  max-width: 980px;
}

.translated-page-button {
  background-color: hsla(45, 100%, 50%, 1);
  border-radius: 3px;
  color: hsla(226, 55%, 29%, 1);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  padding: 0.25rem 1rem;
  text-align: left;
  text-transform: uppercase;
  transition: all 0.15s linear;
}
.translated-page-button:hover {
  background-color: hsla(45, 100%, 40%, 1);
  color: hsla(226, 55%, 39%, 1);
  text-decoration: none;
}
/* Translation Bar End */

/* Blog Listing English / Spanish */
.blog-listing-container {
  display: grid;
  margin: 0 auto;
  max-width: 1080px;
  padding: 1em;
}

.blog-listing-content-area {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.blog-listing-content .blog-listing-content-title {
  font-size: 1.3em;
  margin: 0 0 2rem;
}

.blog-listing-content .blog-listing-content-title span {
  font-size: 14px;
  text-transform: uppercase;
}

.blog-listing-content .blog-listing-content-title span a {
  color: hsla(226, 55%, 29%, 1);
  text-decoration: underline;
}

.blog-listing-content-english .blog-listing-content-title {
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.blog-listing-content .entries {
  display: grid;
  gap: 2rem;
}

.blog-listing-content .blog-entry.large-image-entry-style {
  margin: 0;
  padding-bottom: 0;
}

.blog-listing-content .blog-entry {
  border: 4px solid hsla(226, 55%, 29%, 1);
}

.blog-listing-content .blog-entry .blog-entry-media img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  height: auto;
  -o-object-position: 50% 17%;
  object-position: 50% 17%;
  max-height: 300px;
  min-height: 300px;
}

.blog-listing-content .blog-entry .blog-entry-header,
.blog-listing-content .blog-entry .meta-with-title,
.blog-listing-content .blog-entry .blog-entry-excerpt,
.blog-listing-content .blog-entry .blog-entry-readmore {
  padding: 1rem;
  margin-bottom: 0;
}

.blog-listing-content .blog-entry .blog-entry-readmore .theme-button {
  background-color: hsla(226, 55%, 29%, 1);
  text-align: center;
  text-transform: uppercase;
  -webkit-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  transition: all 0.15s linear;
  width: 100%;
}
.blog-listing-content .blog-entry .blog-entry-readmore .theme-button:hover {
  background-color: hsla(226, 55%, 20%, 1);
}

@media only screen and (min-width: 47.9875em) {
  .blog-listing-content .blog-listing-content-title span {
    display: none;
  }
}

@media only screen and (max-width: 63.9em) {
  .blog-listing-content .blog-entry .blog-entry-media img {
    max-height: 216px;
    min-height: 216px;
  }
}
@media only screen and (max-width: 47.9875em) {
  .blog-listing-content-area {
    grid-template-columns: auto;
  }

  .blog-listing-content .blog-entry .blog-entry-media img {
    min-height: 1px;
  }
}
/* Blog Listing English / Spanish End */
