/*
Theme Name: Solid Digital
Description: This is a child theme of the Hello Elementor parent theme,
Author: Solid Digital
Template: hello-elementor
Version: 1.1.1
Text Domain: soliddigital

How to Maintain this CSS File: All custom CSS will be added to this file. You can refer to the docs here for process https://docs.soliddigital.com/docs/css-best-practices/
*/

/*======================================== START OF THEME ADJUSTMENTS ========================================*/

/* --------------- Remove margin bottom on last paragrah --------------- */
p:last-of-type {
    margin-bottom: 0;
}

/* --------------- Remove auto scroll --------------- */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* --------------- Overides Elementor Hello Theme Global Color --------------- */
a {
    color: var(--e-global-color-accent);
}

/* --------------- Password Protected Page --------------- */
main.post-password-required.site-main {
  max-width: 100%;
  padding: 5rem 3%;
  display: flex;
  flex-flow: column;
  align-items: center;
}

main.post-password-required.site-main form.post-password-form p {
    text-align: center;
    max-width: 550px !important;
    display: flex;
    flex-flow: column;
}

main.post-password-required.site-main form.post-password-form label, form.post-password-form input {
     width: 100%;
    margin-bottom: 5px;
    margin-top: 10px;
    font-weight: bold;
}

main.post-password-required.site-main form.post-password-form input {
  border-radius: 10px;
  border-color: #8C8F94;
  padding: 15px;
  margin-top: 15px;
}
/*======================================== END OF THEME ADJUSTMENTS ========================================*/


/*======================================== START OF PLUGIN STYLES ========================================*/

/* --------------- SEOPress Overides --------------- */
.seopress-user-consent {
  border: none!important;
  padding: 8px 20px!important;
}
.seopress-user-consent p {
  font-weight: 500;
}
#seopress-user-consent-close {
    display: none;
}
#seopress-user-consent-accept {
    border: none;
    border-radius: 200px;
    font-size: .8rem;
    font-weight: 500;
    line-height: 130%;
    padding: 8px 16px 6px;
    margin: 10px 0;
}
/*======================================== END OF PLUGIN STYLES ========================================*/


/*======================================== START OF POST DETAILS TEXT EDITOR ========================================*/

/* --------------- Text --------------- */
.sd_post-details .elementor-widget-text-editor > *:first-child {
     margin-top: 0!important;
}

.sd_post-details p:last-of-type {
    margin-bottom: .9rem;
}
 .sd_post-details .elementor-widget-text-editor h2 {
     font-size: calc(1.75rem + .25vw);
     margin-top: 2.5rem;
     line-height: 1.2;
}
 .sd_post-details .elementor-widget-text-editor h3 {
     font-size: calc(1.25rem + .25vw);
     margin-top: 2.5rem;
     line-height: 1.2;
}
 .sd_post-details .elementor-widget-text-editor h4 {
     font-size: calc(1rem + .25vw);
     margin-top: 2.5rem;
     line-height: 1.2;
}
 .sd_post-details .elementor-widget-text-editor h5 {
     font-size: calc(.75rem + .25vw);
     margin-top: 2.5rem;
     line-height: 1.2;
}
 .sd_post-details .elementor-widget-text-editor h6 {
     font-size: calc(.75rem + .25vw);
     margin-top: 2.5rem;
     line-height: 1.2;
}
 .sd_post-details .elementor-widget-text-editor ul + p, .sd_post-details .elementor-widget-text-editor ol + p {
     margin-top: .9rem;
}
 .sd_post-details .elementor-widget-text-editor ul, .sd_post-details .elementor-widget-text-editor ol{
     margin-bottom: 1rem;
}
 .sd_post-details blockquote p {
     font-size: calc(1.25rem + .25vw);
     margin-top: 2.5rem;
     line-height: 1.2;
 }


/* --------------- Images --------------- */
 .sd_post-details .elementor-widget-text-editor img {
     margin: 2rem auto;
     max-width: 100%!important;
}
 .sd_post-details .elementor-widget-text-editor img.alignright {
     margin: 0.5rem 0 0.5rem 1.5rem;
}
 .sd_post-details .elementor-widget-text-editor .wp-caption.alignleft {
     margin: 0.5rem 1.5rem 0.5rem 0;
}
 @media screen and (max-width: 500px) {
     .sd_post-details .elementor-widget-text-editor img.alignright, .sd_post-details .elementor-widget-text-editor img.alignleft, .sd_post-details .elementor-widget-text-editor .wp-caption.alignright, .sd_post-details .elementor-widget-text-editor .wp-caption.alignleft {
         float: none;
         margin: 1.5rem auto;
         text-align: center;
    }
     .sd_post-details .elementor-widget-text-editor img {
         margin: 1.5rem auto;
    }
}

/* --------------- Image with caption --------------- */
.sd_post-details .elementor-widget-text-editor figure figcaption {
    margin-top: 0.5rem;
}
 .sd_post-details .elementor-widget-text-editor .wp-caption img {
     margin: 2rem auto 0;
     max-width: 100%!important;
}
.sd_post-details figure.wp-caption.aligncenter {
    margin-bottom: 2rem;
    max-width: 100%;
}
 .sd_post-details .elementor-widget-text-editor .wp-caption.alignright {
     margin: 0.5rem 0 0.5rem 1.5rem;
}
 .sd_post-details .elementor-widget-text-editor img.alignleft {
     margin: 0.5rem 1.5rem 0.5rem 0;
}
 .sd_post-details .elementor-widget-text-editor .wp-caption.alignright img, .sd_post-details .elementor-widget-text-editor .wp-caption.alignleft img {
     margin: 0;
}

/* mobile menu popup */
[data-elementor-type="popup"].elementor-location-popup.elementor-1168 {
	display: block;
}