/*
 Theme Name:     Motonline 2021 Child - v2
 Description:    Motonline 2021 Child Theme
 Author:         7th Vision
 Author URI:     http://7thvision.com.au
 Template:       motoonline-2021
 Version:        1.0.0
*/

@import url("../motoonline-2021/style.css");

/*__________ Child Theme Customization __________ */
body.home .content p {
  font-size: 15px;
}
body.home .mobileAd {
  margin: 0 auto;
  padding: 2.5rem 0 3.2rem 0;
}
/* 740px */
@media (max-width: 46.25em) {
  body.home .content {
    padding-bottom: 0;
  }

  body .footerAd.mobileAd {
    padding: 0;
  }
}
/* Post Archive */
body.archive .contentContainer {
  padding-bottom: 0;
}
body.archive .contentContainer .content {
  padding-bottom: 60px;
}
body.archive .contentContainer .sidebar {
  margin-bottom: 60px;
}

/* Post Single */
body.single .contentContainer {
  padding-bottom: 24px;
}
body.single .contentContainer .relatedContainer {
  margin-bottom: 60px;
}
body.single .contentContainer .sidebar {
  margin-bottom: 60px;
}
body.single .bronzeAd.desktopAd {
  margin-bottom: 0;
}
body.single .content .wp-caption p.wp-caption-text {
  font-size: 12px;
  font-size: 0.75rem;
}

/* 780px */
@media (max-width: 840px) {
  /* Home */
  body.home .content p {
    font-size: 14px;
  }
  /* Archive */
  body.archive .contentContainer .content {
    padding-bottom: 16px;
  }
  /* Single */
  body.single .content h5,
  body.single .content .latestPost .excerpt,
  body.single .content .featuredPost .excerpt,
  body.single .content .typeListing .excerpt {
    font-size: 16px;
  }
  body.single .content p {
    font-size: 14px;
  }
  body.single .content .wp-caption p.wp-caption-text {
    font-size: 10px;
  }
  body.single .content .bronzeAd.adContainer.mobileAd {
    margin-bottom: 3.2rem;
  }
  body.single .contentContainer .relatedContainer {
    margin-bottom: 0;
  }
  body.single .contentContainer {
    padding-bottom: 0;
  }
  body .relatedContainer .related:last-child {
    margin-bottom: 2.3rem;
  }
}

/* Ad */
.copperAd.desktopAd {
  margin-bottom: 24px;
}

/* Inside Ad */
body.single .contentContainer .content {
  padding: 0 1.5rem 0 0;
}
body.single .copperAd.desktopAd {
  margin: 0 auto;
}

/* Top */
body.home .contentContainer {
  padding-bottom: 24px;
}
.contentContainer {
  padding-top: 1rem;
}
.mainMobile {
  display: none;
}
.content.mainMobile {
  padding-bottom: 0;
}
body.home .content.fullWidth.mainDesktop {
  display: block;
  margin-bottom: 44px;
  padding: 0;
}
body.home .content.mainMobile {
  display: none;
}

/* 740px */
@media (max-width: 46.25em) {
  body.home .content.fullWidth.mainDesktop {
    display: none;
  }
  body.home .content.mainMobile {
    display: block;
  }
}

/* Body */
body .header a {
  display: inline-block;
}
body .header .headerInfo .affiliateNav {
  display: none;
}
@media screen and (max-width: 33.75em) {
  body .header h1 {
    float: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    margin-bottom: 1.25rem;
    padding: 0 0.6rem;
  }
}

/* Content */
/* body .content .latestPost .imageContainer {
  background-color: transparent;
} */
body .content .latestPost.horizontal.latestPost-3 .postCurrentContainer,
body .content .latestPost.horizontal.latestPost-4 .postCurrentContainer,
body .content .latestPost.horizontal.latestPost-5 .postCurrentContainer {
}
body .content .typeListing {
  overflow: hidden;
  margin: 0 0 20px;
  margin: 0 0 1.25rem;
}

/* Meta */
body .topInfo .postTime {
  background: url("images/calendar-icon.png") center left no-repeat;
  background-size: 1rem 1rem;
  padding: 0 0 0 1.4rem;
}

/* Single */
body.single .entryMeta .shareContainer label {
  background-color: #35b449;
}
@media screen and (max-width: 33.75em) {
  body.single .content h2.entryTitle {
    font-size: 25px;
    font-size: 1.5625rem;
    line-height: 1.2;
    padding: 0.6rem 0;
  }

  body.single .content p.excerpt {
    font-size: 19px;
    font-size: 1.1875rem;
    line-height: 1.2;
  }
}

/* Default */
.content table {
  margin: 0 0 20px;
  margin: 0 0 1.25rem;
  width: 100%;
  text-align: left;
  line-height: 1.5;
  border-collapse: collapse;

  /*Make table horizontally scroll*/
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}
.content table thead tr {
}
.content table thead tr th {
  padding: 4px;
  padding: 0.25rem;
  font-weight: 700;
  font-size: 14px;
  font-size: 0.875rem;
}
.content table tbody tr {
  border-top: 1px dotted #ccc;
}
.content table tbody tr td {
  padding: 4px;
  padding: 0.25rem;
  font-size: 12px;
  font-size: 0.75rem;
}

.home .loadMore {
  background-color: #35b449;
  margin-bottom: 56px;
  margin-top: 24px;
}

.mainMobile .imageWrapper {
  padding-bottom: 0.6rem;
  display: inline-block;
}

.bronzeAd.desktopAd {
  width: 18.75rem;
  height: 15.625rem;
}

body.home .bronzeAd.desktopAd {
  margin-bottom: 60px;
}
body.home .content {
  padding-bottom: 0;
}

/* 740px */
@media (max-width: 46.25em) {
  .home .loadMore {
    margin-bottom: 1.25rem;
  }
  body.home .contentContainer {
    padding-bottom: 0;
    margin-bottom: 1.25rem;
  }
}

/* Horizontal Post List */
.content .sectionContainer {
  overflow: visible;
}
body .content .latestSectionContainer {
  overflow: visible;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
body .content .latestPost {
  padding: 0 0 1rem 0;
  width: 48.5%;
}
body .content .latestPost.latestPost-1,
body .content .latestPost.latestPost-2 {
  padding: 0 0 1.5rem 0;
}
body .content .latestPost.horizontal.latestPost-1,
body .content .latestPost.horizontal.latestPost-2 {
  width: 48.5%;
  display: inline-block;
  padding: 0 0 24px 0;
}
body .content .latestPost.horizontal.latestPost-1 .imageContainer,
body .content .latestPost.horizontal.latestPost-2 .imageContainer {
  width: 100%;
}
@media (max-width: 440px) {
  body .content .news .latestPost,
  body .content .news .latestPost.horizontal.latestPost-1,
  body .content .news .latestPost.horizontal.latestPost-2 {
    width: 100%;
  }
  body .content .news .latestPost.latestPost-4 {
    display: none;
  }
}

/* -- Horizontal -- */
body .content .typeListing {
  overflow: hidden;
}
body .content .latestPost.horizontal.latestPost-5 {
  margin-bottom: 0;
}
.content .latestPost.horizontal.latestPost-3,
.content .latestPost.horizontal.latestPost-4,
.content .latestPost.horizontal.latestPost-5 {
  width: 100%;
  padding: 0;
  padding-right: 1.5rem;
  overflow: hidden;
  margin: 0;
}
.content .latestPost.horizontal.latestPost-3 .postCurrentContainer,
.content .latestPost.horizontal.latestPost-4 .postCurrentContainer,
.content .latestPost.horizontal.latestPost-5 .postCurrentContainer {
  overflow: hidden;
  margin: 0 0 24px;
}
.content .latestPost.horizontal.latestPost-5 .postCurrentContainer {
  margin-bottom: 0;
}
.content .latestPost.horizontal.latestPost-3 .postContent,
.content .latestPost.horizontal.latestPost-4 .postContent,
.content .latestPost.horizontal.latestPost-5 .postContent {
  overflow: hidden;
  padding-bottom: 2px;
  padding-bottom: 0.125rem;
}
.content .latestPost.horizontal.latestPost-3 .imageContainer,
.content .latestPost.horizontal.latestPost-4 .imageContainer,
.content .latestPost.horizontal.latestPost-5 .imageContainer {
  margin: 0 0.75rem 24px 0;
  overflow: hidden;
  /* background-color: #fff; */
  display: block;
  float: left;
}
.content .latestPost.horizontal.latestPost-5 .imageContainer {
  margin-bottom: 0;
}
.content .latestPost.horizontal.latestPost-3 .imageContainer img,
.content .latestPost.horizontal.latestPost-4 .imageContainer img,
.content .latestPost.horizontal.latestPost-5 .imageContainer img {
  height: auto;
  width: 162px;
  width: 10.125rem;
}
@media (max-width: 27.5em) {
  .content .latestPost.horizontal.latestPost-3 .imageContainer img,
  .content .latestPost.horizontal.latestPost-4 .imageContainer img,
  .content .latestPost.horizontal.latestPost-5 .imageContainer img {
    height: auto;
    width: 140px;
    width: 8.75rem;
  }
}
@media (max-width: 640px) {
  .archive .content .typeListing .imageContainer,
  .archive .content .typeListing .imageContainer,
  .archive .content .typeListing .imageContainer {
    margin-top: 22px;
  }
  /* Excerpt */
  .home .sectionContainer.newsSecond .excerpt,
  .home .sectionContainer.features .excerpt,
  .home .sectionContainer.advice .excerpt {
    display: none;
  }
}
@media (max-width: 740px) {
  /* Brand Name*/
  .sidebar .pressContainer .press .sponsor {
    font-size: 17px;
    font-size: 1.0625rem;
  }
}

/* Single page related Posts */
@media (max-width: 740px) {
  body.single .contentContainer .content {
    padding-right: 0;
  }
  body.single .goldAd.adContainer.mobileAd {
    margin: 0 auto 2.3rem;
  }
  body .relatedContainer {
    background-color: transparent;
    width: 100%;
    padding: 0;
    overflow: hidden;
    margin: 0 auto 1.5rem;
  }
  body .relatedContainer .related {
    overflow: hidden;
    margin: 0 0 20px;
    margin: 0 0 1.5rem;
    width: 100%;
  }
  body .relatedContainer .related .imageContainer {
    margin: 0 0.75rem 0 0;
    overflow: hidden;
    background-color: #fff;
    display: block;
    float: left;
  }
  body .relatedContainer .related .imageContainer:after {
    display: none;
  }
  body .relatedContainer .related .imageContainer img {
    height: auto;
    width: 140px;
    width: 8.75rem;
  }
  body .relatedContainer .related .relatedContent {
    overflow: hidden;
    padding: 0;
  }
  body .relatedContainer .related .relatedContent h3 {
    margin: 0;
    font-size: 25px;
    font-size: 1.5625rem;
    font-family: "Oswald";
    font-weight: 400;
    line-height: 1.1;
  }
}

/* Creative Slide */
.home .creativeSlideContainer {
  display: none;
  margin-bottom: 1.4rem;
}
.home .creativeSlideContainer h2.sectionTitle {
  font-family: "Oswald";
  font-weight: 700;
  text-transform: uppercase;
  font-size: 31px;
  font-size: 1.9375rem;
  margin: 0 0 12px;
  margin: 0 0 0.75rem;
  padding: 0 0 0 48px;
  padding: 0 0 0 3rem;
  background: url(images/icon-motoonline.png) no-repeat center left;
  background-size: 38px 38px;
  background-size: 2.375rem 2.375rem;
  line-height: 38px;
  line-height: 2.375rem;
  text-align: left;
  overflow: hidden;
}
.home .creativeSlideContainer .latestMultimediaPost {
  width: 100%;
  height: auto;
}
.home .creativeSlideContainer .latestMultimediaPost img {
  width: 100%;
  height: auto;
  position: relative;
  top: inherit;
  opacity: 1;
}
.home .creativeSlideContainer .latestMultimediaPost img,
.home .creativeSlideContainer .latestMultimediaPost img {
  top: 0;
  opacity: 0.8;
}
.home .creativeSlideContainer .latestMultimediaPost .entryTitle,
.home .creativeSlideContainer .latestMultimediaPost .entryTitle {
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 740px) {
  .home .creativeSlideContainer {
    display: block;
  }
}

.sidebarSection.trendingSection {
  margin: 0;
  margin-bottom: 2px;
}

/* Mobile Sidebar */
.content.fullWidthSidebar {
  padding: 0;
}
.sidebarMobile .sidebar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  padding: 0.6rem 0;
}
.sidebarMobile .sidebar .trendingSection {
  display: none;
}
.sidebarMobile .sidebar .sidebarSection {
  width: 100%;
  margin: 1.4rem 0;
  margin-top: 0;
}
.sidebarMobile .sidebar .sidebarSection .pressContainer {
}
.sidebarMobile .sidebar .trending h3 {
  font-size: 14px;
  font-size: 1.4rem;
  font-family: "Oswald";
  line-height: 1.2;
  font-weight: 400;
}
.sidebarMobile .sidebar .sidebarSection .pressContainer .press {
  margin-bottom: 1rem;
}
.sidebarMobile .sidebar .pressContainer .press h3 {
  line-height: 1.2;
  padding: 0;
  margin: 0;
}
.sidebarMobile .sidebar .sidebarSection .pressContainer .press .sponsor {
  margin-top: 6px;
  line-height: 0.9;
}
.sidebarMobile {
  display: block;
}
.fullWidthSidebar {
  width: 100%;
}

/* Single POst */
.single .topPost .authorPhoto {
  display: none;
}

/* Footer */
.sidebarSection.pressSection .categoryTitle.news {
  display: none;
}
body .footer .wrapper {
  display: flex;
  align-items: flex-end;

  padding-top: 0;
  padding-bottom: 28px;
}
body .footer .footerBanner .wrapper {
  padding-top: 28px;
  padding-bottom: 28px;
}
body .footer .footerLogos .inlineBlocks .inlineBlock a {
  width: 3.125rem;
}
body .footer .footerLogos {
  width: auto;
}
body .footer .footerLogos .inlineBlocks .inlineBlock {
  padding-bottom: 0;
}
body .footer .footerLogos .inlineBlocks .inlineBlock a {
  max-width: 50px;
}
body .footer .footerLogos img {
  padding-bottom: 0;
}
.footerAd {
  margin: auto;
}
.footer .footerLogos .inlineBlocks .inlineBlock img {
  padding-left: 0.4rem;
}

/* 740px */
@media (min-width: 46.25em) {
  .contentContainer {
    padding-top: 24px;
  }
  body .content .latestPost {
    padding: 0 0 1.5rem 0;
  }
  .sidebarMobile {
    display: none;
  }
  .sidebarMobile .sidebar .sidebarSection {
    width: 48%;
    padding: 0;
  }
}
