/*
Theme Name: Atlas Power Sweeping
Theme URI: https://atlas-power-sweeping.ca
Author: the Atlas Power Sweeping team
Author URI: https://atlas-power-sweeping.ca
Version: 1.0
License: GNU General Public License v2 or later
*/
.blog-content-wrapper h1.blog-title,
.blog-content-wrapper .blog-title {
  color: #2a2a2a;
  font-size: 2.5em;
  display: block;
  padding-bottom: 30px;
  text-transform: none;
  padding-top: 0;
  font-weight: 300;
  line-height: 2.5em;
  text-align: center;
}

.blog .page_content,
.single .page_content,
.archive .page_content {
  font-size: 16px;
}

.blog .page_content p,
.single .page_content p,
.archive .page_content p {
  font-size: 16px;
}

.blog .page_content ul li, .blog .page_content ol li,
.single .page_content ul li,
.single .page_content ol li,
.archive .page_content ul li,
.archive .page_content ol li {
  font-size: 16px;
}

.blog_roll {
  margin-top: 60px;
  border-right: #efefef 1px solid;
}

.blog_roll a {
  color: #00a652;
}

.blog_roll a:hover {
  color: #00954a;
}

.blog_roll .blog-categories a {
  color: black;
}

.blog_roll .blog-categories a:hover {
  color: #00954a;
}

.blog-thumb {
  max-width: 100%;
  height: auto;
  width: 100%;
}

.featured-image {
  max-width: 50% !important;
  height: auto;
}

hr {
  border-color: #efefef;
  margin: 60px 0;
}

.page_cover .row .blog_roll .col-md-4,
.page_cover .row .blog_roll .col-md-8 {
  padding-left: 15px;
  padding-right: 15px;
}

.blog-categories {
  margin-bottom: 10px;
  line-height: 28px;
}

.widget ul {
  padding-bottom: 30px;
}

.widget ul li a {
  line-height: 29px;
  display: block;
  position: relative;
  color: #00a652;
  transition: all ease 0.3s;
  font-weight: 400;
}

.widget ul li a:hover {
  color: #00954a;
  transition: all ease 0.3s;
  text-decoration: underline;
}

.socialshare {
  margin-bottom: 55px;
}

/* Image Alignment */
.alignnone,
a img.alignnone {
  margin: 5px auto 50px;
  max-width: 100%;
  display: block;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 60px auto;
  max-width: 100%;
}

.alignright,
a img.alignright {
  float: right;
  margin: 5px 0 10px 20px !important;
  max-width: 100%;
}

.alignleft {
  float: left;
  margin: 5px 20px 10px 0;
  max-width: 100%;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 10px 0;
  max-width: 100%;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.blog_item h2 {
  text-align: left;
}

.blog_item p {
  cursor: pointer;
}

.blog_item p:hover {
  color: #00954a;
}

.blog_item img {
  cursor: pointer;
}

.blog_item img:hover {
  border-color: #00954a;
}

.blog_item .read_more {
  font-weight: 400;
}

.wp-pagenavi {
  display: block;
  position: relative;
  margin-top: 10px;
  margin: 20px 0px 0;
  text-align: center;
}

.wp-pagenavi span,
.wp-pagenavi a {
  color: #323232;
  font-weight: bold;
  display: inline-block;
  border: 0;
  background-color: #fff;
  border-radius: 3px;
}

.wp-pagenavi span.current {
  background: #eee;
  color: #000;
  font-weight: normal;
}

.wp-pagenavi a,
.wp-pagenavi span {
  color: #fff;
  display: inline-block;
  font-size: 1em;
  margin: 0 2px;
  padding: 12px 10px;
  text-decoration: none;
  font-weight: normal;
  text-transform: uppercase;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.wp-pagenavi a {
  background-color: #00a652;
}

a.previouspostslink {
  left: 0;
  position: absolute;
  float: left;
  color: #fff;
}

a.nextpostslink {
  float: right;
  position: absolute;
  right: 0;
  color: #fff;
}

.wp-pagenavi a:hover {
  background: #00954a;
  color: #fff;
}

@media only screen and (max-width: 1000px) and (min-width: 768px) {
  .alignnone,
  a img.alignnone,
  .aligncenter,
  div.aligncenter,
  .alignright,
  a img.alignright,
  .alignleft,
  a img.alignleft {
    margin: 30px auto;
    float: none;
    display: block;
  }
}

@media (max-width: 767px) {
  /* Image Alignment */
  .alignnone,
  a img.alignnone,
  .aligncenter,
  div.aligncenter,
  .alignright,
  a img.alignright,
  .alignleft,
  a img.alignleft {
    margin: 15px auto 20px !important;
    float: none;
    display: block;
    max-width: 550px;
    width: 100%;
  }
  .blog-thumb {
    margin-bottom: 20px;
  }
  .featured-image {
    max-width: 500px !important;
    display: block;
    margin: 0 auto 20px;
    float: none;
  }
  .sidebar {
    padding-left: 0px;
  }
}

a.blog-thumb-wrapper {
  display: block;
}

.blog-thumb-wrapper {
  background-position: center center;
  background-size: cover;
  padding: 35%;
  position: relative;
  transition: all ease 0.3s;
  border: 2px solid #00a652;
}

.home .blog-thumb-wrapper {
  padding: 25%;
}

.blog-thumb-wrapper:hover {
  cursor: pointer;
}

.blog-thumb-wrapper:before {
  position: absolute;
  display: block;
  visibility: hidden;
  opacity: 0;
  content: ' ';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: rgba(35, 31, 32, 0.6);
  transition: all ease 0.3s;
}

.blog-thumb-wrapper:hover:before {
  visibility: visible;
  opacity: 100;
  transition: all ease 0.3s;
}

.blog-content-wrapper .blog-sub-title {
  color: #000;
  font-weight: 700;
  font-size: 1.4em;
  text-transform: uppercase;
  line-height: 1.1;
}

.blog-content-wrapper h2.blog-sub-title {
  margin-bottom: 30px;
  cursor: pointer;
}

.blog-content-wrapper h2.blog-sub-title:hover {
  color: #00954a;
}

.sidebar {
  margin-top: 60px;
  margin-bottom: 30px;
  padding-left: 50px;
}

.sidebar li {
  list-style-type: none;
}

.sidebar .widget_title {
  font-weight: 700;
  color: #000;
  font-size: 1.5em;
  padding-bottom: 20px;
  display: block;
}

.blog-content-wrapper h2.blog-sub-title {
  margin-top: 0;
  margin-bottom: 20px;
}

.blog-content-wrapper .page_content {
  padding-right: 30px;
}

.single_page_content p {
  font-size: 1em;
  padding: 0;
}

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

.single_page_content h1 {
  font-weight: 700;
  margin-top: 0px;
  margin-bottom: 30px;
  text-align: left;
  font-size: 2.5em;
  line-height: 1.1;
}

.single_page_content h2,
.single_page_content h3,
.single_page_content h4,
.single_page_content h5,
.single_page_content h6 {
  font-weight: 700;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 15px 0;
  text-align: left;
  text-transform: initial;
  color: #000 !important;
}

.single_page_content h2:before, .single_page_content h2:after,
.single_page_content h3:before,
.single_page_content h3:after,
.single_page_content h4:before,
.single_page_content h4:after,
.single_page_content h5:before,
.single_page_content h5:after,
.single_page_content h6:before,
.single_page_content h6:after {
  height: 0px;
  width: 0px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1000000000;
}

.single_page_content h2 {
  font-size: 2.441em;
}

.single_page_content h3 {
  font-size: 1.953em;
}

.single_page_content h4 {
  font-size: 1.563em;
}

.single_page_content h5 {
  font-size: 1.25em;
}

.single_page_content h6 {
  font-size: 1.2em;
}

@media screen and (max-width: 991px) and (max-width: 767px) {
  .sidebar {
    margin-left: 32px;
    padding-left: 0px;
  }
}

@media screen and (max-width: 991px) {
  .blog-thumb-wrapper {
    padding: 22%;
  }
  .blog-categories {
    margin-top: 15px;
  }
  /* .wp-pagenavi a:nth-last-child(2) {
    margin-right: 110px;
} */
  .blog-content-wrapper .page_content {
    padding-right: 15px;
  }
}

.wp-pagenavi span.pages {
  display: none;
}

.blog-content-wrapper div.wp-pagenavi {
  margin-bottom: 55px;
}

.home-section-3.home-section-blog ul.product_list_widget li {
  height: 350px;
}

.home-section.home-section-blog ul.product_list_widget li {
  border: none;
  margin-left: 0;
}

.home-section.home-section-blog ul li:nth-child(2) {
  margin-left: 18px;
  margin-right: 18px;
}

.home-section.home-section-blog p:hover {
  color: #00954a;
  transition: all ease 0.3s;
  cursor: pointer;
}

@media screen and (max-width: 1199px) {
  .home-section.home-section-blog ul li:nth-child(2) {
    margin-left: 4px;
    margin-right: 4px;
  }
}

@media (max-width: 780px) {
  .home-section.home-section-blog ul.product_list_widget li {
    display: inline-block;
    width: 100%;
    max-width: 230px;
    height: 350px;
    margin: 10px auto;
    margin-right: 4px;
  }
  .home-section-3.home-section-blog ul.product_list_widget li {
    display: inline-block;
    width: 100%;
    max-width: 230px;
    height: 350px;
    margin: 10px auto;
    margin-right: 4px;
  }
  .home-section-3.home-section-blog ul.product_list_widget li:nth-child(1), .home-section-3.home-section-blog ul.product_list_widget li:nth-child(3) {
    display: inline-block;
    width: 100%;
    max-width: 230px;
    height: 350px;
    margin: 10px auto;
    margin-right: 4px;
  }
}

.page_title {
  margin-bottom: 30px;
}

.single-post .page_title span {
  text-transform: capitalize;
  font-size: 45px;
  font-weight: 700;
  color: #fff;
  line-height: 50px;
  max-width: 850px;
  display: inline-block;
  margin: 0;
  padding: 0;
}

.single-post .page_title span:last-child {
  color: #000000;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 0;
  max-width: 80%;
  text-transform: capitalize;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 767px) {
  .single-post .page_title span {
    font-size: 30px;
    line-height: 35px;
  }
  .single_page_content h1 {
    font-size: 2.5em;
  }
  h2, h3, h4, h5, h6 {
    font-size: 75%;
  }
  .page_title {
    margin-bottom: 0;
  }
  hr {
    margin: 30px 0;
  }
  .sidebar {
    margin-top: 30px;
  }
  .home-section.home-section-blog ul.product_list_widget li {
    display: block;
    width: 100%;
    max-width: 380px;
    height: 360px;
    margin: 10px auto;
  }
  .home-section.home-section-blog ul.product_list_widget li:nth-child(1), .home-section.home-section-blog ul.product_list_widget li:nth-child(3), .home-section.home-section-blog ul.product_list_widget li:nth-child(4), .home-section.home-section-blog ul.product_list_widget li:nth-child(5) {
    display: block;
    width: 100%;
    max-width: 380px;
    height: 360px;
    margin: 10px auto;
  }
}

.homepage-blogroll-title {
  display: block;
  font-size: 1.055em;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}
