/*
 Theme Name: SEO Mag Child
 Theme URI: https://www.wprank.net
 Description: This is a child theme for SEO Mag.
 Version: 1.0.0
 Author: CreaNico / WP Rank
 Author URI: https://www.creanico.fr
 Template: seomag
 Text Domain: seomag
*/

.contents {
  line-height: 25px;
}

/* Custom Table of Content */

#toc_container {
  padding: 0;
  border: 3px solid #0f82be;
  width: 100%;
}

#toc_container p.toc_title {
  background-color: #0f82be;
  color: #ffffff;
  text-transform: uppercase;
  padding: 5px 0;
}

#toc_container p.toc_title+ul.toc_list {
  padding: 10px;
}

@media screen and (min-width: 650px) {
  #toc_container p.toc_title+ul.toc_list {
    padding: 10px;
    margin-left: 35px;
  }
}

#toc_container a {
  line-height: 1.9em;
  color: #000000 !important;
}

.toc_number::after {
  content: ". ";
}

/* Table Header */

.table-header {
  margin: 50px 0;
  border: 1px solid black !important;
}

.table-header table {
  margin: 0 !important;
}

.table-header thead {
  color: #ffffff;
  background-color: #76c886;
}

.table-header figcaption {
  color: #ffffff;
  background-color: #76c886;
  text-align: center;
  padding: 7px 0;
}

/* Also Read */

.also-read:before {
  content: "👉";
  margin-right: 10px;
}

.also-read {
  font-size: 18px;
  padding: 7px 0;
  clear: both;
}

.also-read a {
  color: #fa4c2a !important;
}

.also-read a:hover {
  color: #222222 !important;
}

/* CTA Button */

.green-cta-btn {
  display: inline-block;

  background-color: #00b583;
  color: #ffffff !important;

  font-size: 1.125em;
  font-weight: bold;

  padding: calc(.667em + 2px) calc(1.333em + 2px);

  cursor: pointer;
  text-decoration: none;

  border-radius: 5px;

  -webkit-box-shadow: 1.5px 2.6px 3px 0 rgb(0 0 0 / 4%);
  box-shadow: 1.5px 2.6px 3px 0 rgb(0 0 0 / 4%);
  text-shadow: 0 1px 2px rgb(0 0 0 / 20%);

  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.green-cta-btn:hover {
  background-color: rgba(0,181,131,.75);
}

/* Copyright footer */
.copyright a {
  color: #999 !important;
}

.copyright a:hover {
  text-decoration: none;
}

/* Custom Loop Entry  */
.entries .entry a .details-no-featured-img {
  margin: 0 auto !important;
}

body.light .entries .entry a .details .read-more-container {
  display: flex;
  justify-content: right;
  width: 100%;
  margin-top: 15px;
  margin-bottom: 8px;
}

body.light .entries .entry a .details .read-more {
  background-color: #00b583;
  color: #ffffff;
  padding: 3px 20px 5px;
  display: inline-block;
}


/*.wp-block-image .aligncenter {
  display: block !important;
}

.wp-block-image .aligncenter img {
  margin: auto;
}*/
img, video {
  height: auto;
}