/*
Theme Name: SmartMag Child
Theme URI: https://smartmag.theme-sphere.com/
Description: A child theme of SmartMag
Author: ThemeSphere
Author URI: https://theme-sphere.com
Template: smart-mag
Version: 1.1
*/

/* ==================== SINGLE POST PAGE ==================== */

/* dynamic byline labels */

.post-meta .post-author > .byline-restricted {
  color: var(--c-contrast-850);
  font-weight: 500;
}

/* featured image */

.single-featured {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* comment numbers */

.comment-number {
  font-weight: 600;
  font-size: .95em;
  /*color: var(--c-link, inherit);*/
  text-decoration: none;
}

.comment-number:hover,
.comment-number:focus {
  text-decoration: underline;
}

.comment-number-wrap {
  margin-left: .25em;
}

/* social share icons */

.post-share-bot {
  justify-content: flex-start;
  gap: 16px;
}

.post-share-bot .share-links {
  width: auto;
  justify-content: flex-start;
}


/* ==================== BLOG PAGE WITH FULL POSTS ==================== */

/* End of post pagination */

.full-blog-pagination {
  margin-top: 40px;
}


/* ==================== MAVEN/MOGUL LABEL UNDER COMMENT AVATAR ==================== */

.comment-avatar {
  float: left;
  margin: 0 16px 0 0;   /* space between avatar column and text */
  text-align: center;   /* center avatar + badge within the column */
}

.comment-avatar .commenter-membership-plan a {
  font-weight: 600;
  color: var(--c-main, inherit);
  text-decoration: none;
}

.comment-avatar .commenter-membership-plan a:hover,
.comment-avatar .commenter-membership-plan a:focus {
  text-decoration: underline;
}

/* ==================== BLUESKY ICON IN PLACE OF X ==================== */

/* Replace Snapchat icon with Bluesky in footer social links */

.spc-social-block .s-snapchat .tsi-snapchat::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("/wp-content/themes/smart-mag-child/assets/bluesky.svg") no-repeat center;
  mask: url("/wp-content/themes/smart-mag-child/assets/bluesky.svg") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  vertical-align: -0.1em;
}

/* Replace 'Snapchat' screen-reader label with 'Bluesky' for the repurposed icon */
.spc-social-block .s-snapchat .visuallyhidden {
  display: none !important;
}

.spc-social-block .s-snapchat a::after {
  content: "Bluesky";
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==================== TOP NAV BULLET SEPARATOR ==================== */

.nav-item-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0 0.5em;
}

/* ==================== CUSTOM POST STYLES ==================== */

.note {
  padding: 19px;
  background-color: #eeeeee;
  border: 1px solid #dddddd;
}
.alert {
  padding: 19px;
  background-color: #ffff99;
  border: 1px solid #e6e68a;
}
.box {
  background-color: #e5eff9;
  border: 1px solid #bed7f0;
}
p.montabcaption {
  text-align: right;
  font-size: 0.8em;
  padding: 0em;
}
.drop_cap {
  font-size: 60px;
  color: #888888;
  line-height: 1em;
  margin-right: 12px;
  float: left;
}

/* ==================== MEMBERSHIP PLANS PAGE ==================== */

/*
.membership-column {
  padding-right: 10px;
  border: solid #d8d8d8 2px;
}

.membership-col-container {
  display: table;
  width: 100%;
  border-spacing: 50px;
  margin-left: auto;
  margin-right: auto;
}

.membership-col {
  width: 50%;
  display: table-cell;
  background: #ebebeb;
  border: solid #d8d8d8 1px;
  padding-right: 10px;
}
*/

.membership-col li {
  padding-bottom: 15px;
  list-style: none;
  text-indent: -20px;
}  

.membership-col li:before {
  content: "\02714 \020";
  color: #2361a1;
}
/*
.membership-heading {
  font-weight: bold;
  font-size: larger;
  text-align: center;
  padding: 20px;
}

.membership-button {
  background-color: #2361a1;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 9999px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
  margin: 0px 10px 20px 10px;
}

.membership-buttons-left {
  text-align: center;
  padding-top: 220px;
}

.membership-buttons-right {
  text-align: center;
}
*/
/*
.membership-image {
  float: right;
  width: 300px;
  height: 300px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 20px;
}
*/

.membership-image {
  float: right;
  width: 320px;
  max-width: 42%;
  height: auto;
  margin: 0 0 24px 32px;
  display: block;
}

@media (max-width: 1024px) {
  .membership-image {
    width: 260px;
    max-width: 40%;
    margin-left: 24px;
  }
}

@media (max-width: 767px) {
  .membership-image,
  img.membership-image {
    float: none !important;
    clear: both;
    display: block;
    width: 220px;
    max-width: 100%;
    margin: 20px auto 24px !important;
  }
}


/* ==================== CHECK WHAT THESE ARE FOR! ==================== */


.commenter-membership-plan {
  color: #888888;
  font-size: 75%;
  font-weight: bold;
  text-align: center;
  line-height: 160%;
}

/* ==================== MONEVATOR MEMBERSHIP WIDGET ==================== */


.membership-profile-gravatar {
  float: left;
  margin: 0;
  padding: 0;
  width: 60px;
  height: 70px;
}

.membership-profile-info {
  overflow: hidden;
}

.membership-profile-name {
  margin: 0 0 3px 0;
}

.membership-links-lineone {
  margin-bottom: 3px;
}

/* ==================== FIX CONVERTKIT SUBSCRIBE BUTTON TEXT ALIGNMENT ==================== */

.convertkit-form .formkit-submit,
.formkit-form .formkit-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  line-height: 1.2;
}

.convertkit-form .formkit-submit > span,
.formkit-form .formkit-submit > span {
  display: block;
  padding: 12px 24px;
  line-height: 1.2;
}

/* ==================== IVORY SEARCH BOX ==================== */

.is-form-style input.is-search-input {
  font-family: var(--ui-font);
}

/* ==================== TOOLS CALCULATOR STYLING ==================== */

.calculator th {
  background-color: var(--c-headings);
  color: white;
  padding: 5px;
  text-align: left;
}

.calculator th.divider {
  margin-top: 20px;
}

.calculator td {
  padding-top: 10px;
  padding-left: 5px;
}

.calculator input.mortgage {
  width: 60%;
}

.calculator input.millionaire {
  width: 60%;
}

.calculator .currencyradio {
  width: auto;
  margin-left: 5px;
  margin-right: 2px;
}

.calculator .millionaireradio {
  width: auto;
  margin-left: 10px;
  margin-right: 5px;
}

.calculator #calcbutton {
  padding: 5px;
  border-width: 2px;
  border-color: #DDDDDD #AAAAAA #AAAAAA #DDDDDD;
  background-color: #DDFFDD;
  width: auto;
}

.calculator #calc_cell {
  padding-top: 15px;
  padding-bottom: 15px;
}

.monevatorgraph {
  width: 500px;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  margin-bottom: 30px;
}

.monevatorgraph div.tickLabel {
  font-size: 12px;
  white-space: nowrap;
}

#graph1 {
  margin-bottom: 0px;
}

#graph1_legend_container {
  width: 100%;
  height: 26px;
  margin-top: 30px;
}

#graph1_legend {
  float: right;
}

#graph2_legend_container {
  width: 100%;
  height: 26px;
}

#graph2_legend {
  float: right;
}

.legendLabel {
  padding-right: 20px;
}

.calculator input.millionaire2 {
  width: 100px;
}

.post-content table.calculator,
.post-content table.calculator td,
#graph1_legend table,
#graph1_legend td,
#graph2_legend table,
#graph2_legend td {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.post-content table.calculator,
#graph1_legend table,
#graph2_legend table {
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: inherit;
}

.post-content table.calculator td {
  vertical-align: middle;
}

.calculator #calcbutton {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
}

.monevatorgraph {
  width: min(100%, 500px);
}

#graph1_legend_container,
#graph2_legend_container {
  width: min(100%, 500px);
  margin-left: auto;
  margin-right: auto;
}

.monevatorgraph canvas {
  max-width: none;
}
