/*
Theme Name:     Stratus - Child Theme
Theme URI:      http://themovation.com/stratus
Template:       stratusx
Author:         Themovation
Author URI:     http://themovation.com
Version:        3.0
Text Domain:    stratus
Domain Path:    /languages/
*/

.single-post ,
.single-post h1,
.single-post h2,
.single-post h3,
.single-post h4,
.single-post h5,
.single-post p,
.single-post a,
.single-post li { 
    font-family:"ABeeZee",Sans-serif !important;
}
body.single-post h1.entry-title{
    display: block;
}

body.single-post .post-inner a{
    color: #1a73e8 !important;
}
.blog-sidebar-sticky{
    font-family:"ABeeZee",Sans-serif !important;
    position: sticky;
    top: 100px;
}

/* TOC Toggle Button */
#toc-toggle {
    position: fixed !important;
    top: 100px !important;
    left: 0 !important;
    width: 24px !important;
    height: 24px !important;
    background: #fdc52e !important;
    color: #000 !important;
    border: 1px solid #fdc52e !important;
    border-radius: 0 4px 4px 0 !important;
    cursor: pointer !important;
    z-index: 9999 !important;
    text-align: center !important;
    line-height: 22px !important;
    font-size: 14px !important;
    padding: 0 !important;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2) !important;
    display: block !important;
}

@media (max-width: 768px) {
	
		#toc-toggle{
		display:none !important;
	}
}


.toc-hidden .col-sm-3.toc-container-wrapper {
    display: none;
}

.toc-hidden .col-sm-9 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.blog-sidebar-cta-box{
    font-family:"ABeeZee",Sans-serif !important;
    background: #F4F7F8;
    padding: 15px;
    position: sticky;
    top: 120px;
}

.blog-sidebar-form-box{
    font-family:"ABeeZee",Sans-serif !important;
    background: #FDC52E;
    padding: 15px;
    top: 150px;
    border-radius: 15px;
    color: #232527;
}
.blog-sidebar-form-box h2{
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #232527;
}

.blog-sidebar-form-box > p{
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    margin-right:30px;
    margin-left:30px;
    color: #232527;
}

.blog-sidebar-form-box hr{
    width: 32px; 
    margin-top: 0px;
    border-width: 0;
    border-bottom: 5px solid;
    border-radius: 15px;
}

.blog-sidebar-form-box .hbspt-form input, .blog-sidebar-form-box .hbspt-form select,
.blog-sidebar-form-box .hbspt-form .hs-button.primary{
    padding: 5px 10px !important; 
}


.blog-sidebar-cta-box-form{
    background-color: #fff;
}

.blog-sidebar-fb-box{
    background: #f3f3f3;
    padding: 20px 20px 20px;
    margin-top:25px;
    position: relative;
    border-radius: 15px;
    color: #232527;
}

.blog-sidebar-fb-box::before{
    content: '';
    background-image: url(./new_images/fb.png);
    position: absolute;
    top: 20px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: contain;
}

.blog-sidebar-fb-box h2{
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #232527;
    margin-top: 12px;
    margin-left: 80px;
}
.blog-sidebar-fb-box > p{
   
    text-align: left;
    font-size: 13px;
    font-weight: 400;
    color: #232527;
}

.blog-sidebar-fb-cta-box{
    background-color: #1877F2;
    border-radius: 10px;
    position: relative;
    padding: 20px 20px 20px 100px;
    margin-top: 0px;
}
.blog-sidebar-fb-cta-box::before{
    content: '';
    background: white;
    background-image: url(./new_images/logo.png);
    position: absolute;
    top: 7px;
    left: 10px;
    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: 85%;
    background-position: center;
    border-radius: 50%;
    box-shadow: 0px 0px 16px rgb(24 119 242 / 20%);
}
.blog-sidebar-fb-cta{
    padding: 5px !important;
}

.blog-sidebar-cta-box h2{
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.blog-sidebar-cta-box hr{
    width: 32px; 
    margin-top: 0px;
    border-width: 0;
    border-bottom: 5px solid;
}
.blog-sidebar-cta-box > p{
   
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    margin-right:30px;
    margin-left:30px;
}
.blog-sidebar-cta-box-form{
    font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif !important;
    border-radius: 10px;
    padding: 15px;
}

.blog-sidebar-cta-box-form .hs-form-field{
    margin-bottom: 20px;
}
.blog-sidebar-cta-box-form .hs-form-field .hs-input{
    background-color: #EBEBEB;
    border-radius: 5px;
}
.blog-sidebar-cta-box-form .actions{
    margin:0px;
}


/* = Theme customization starts here
-------------------------------------------------------------- */
.hbspt-form{
    max-width: 450px;
}

.hbspt-form-center{
    margin: 0 auto;
}

.hbspt-form fieldset{
    margin-bottom:20px !important;
}
.hbspt-form input,
.hbspt-form select{
    border: #e2e2e2 1px solid !important;
    width: 100% !important;
    padding: 10px;
    color: #5c5c5c !important
}
.hbspt-form input::placeholder,
.hbspt-form input::-ms-input-placeholder,
.hbspt-form select::placeholder,
.hbspt-form select::-ms-input-placeholder{
    color:989a9b;
}
.hbspt-form .hs-form-field > label{
    display: none;
}
.hbspt-form .hs-error-msgs{
    margin: 0px !important;
    padding: 0px !important;
    list-style: none !important;
    
}
.hbspt-form .hs-error-msgs li{
    font-size: 12px !important;
    color: red !important;
}
.hbspt-form .hs-error-msgs label{
    display: block;
    margin-bottom: -20px;
}
.hbspt-form .hs-button.primary {
    overflow: visible;
    background: #fdc52e;
    text-decoration: none;
    color: #1a1e22;
    transition: 0.3s;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase!important;
    padding-bottom: 0.5rem!important;
    padding-top: 0.5rem!important;
    width: 100%!important;
    border: 0!important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}
.hbspt-form .actions{
    margin-right:8px;
}

/* Style the copy button */
.cs-copy-btn .copy-button-el {
    display: none;
    align-items: center; 
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
  }
  .cs-copy-btn svg {
    width: 16px; /* Adjust the size of the icon as needed */
    height: 16px;
    margin-right: 5px; /* Add spacing between icon and text */
  }
  .cs-copy-btn .copy-button-el:hover{
    background-color: #0271e7;
  }
  .cs-copy-btn .copy-highlight-el{
    border: 1px solid #eee;
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    display: none;
    z-index: -1;
  }
  .cs-copy-btn:hover .copy-highlight-el{
    display: block;
  }
  /* Style the copy button highlighted paragraphs */
  .cs-copy-btn:hover {
    position: relative;
  }

.responsive-table {
    overflow-x: auto !important;
    width: 100% !important;
}  
.book-a-demo-header-cta{
    display: none;
}
@media screen and (max-width: 1024px) { 
    .hbspt-form .hs_firstname{
        margin-bottom:20px !important;
    }
    .book-a-demo-header-cta{
        display: block;
    }
    .single-post .page-title.left{
        padding: 25px 10% 25px 0;
    }
}

/* Medical Form Templates Styling */
.form-template-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.form-template-header .container {
    position: relative;
    z-index: 2;
}

.badge-primary {
    background: rgba(0,0,0,0.1);
    color: #212529;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Medical form page fonts matching blog post */
.single-form-templates,
.single-form-templates h1,
.single-form-templates h2,
.single-form-templates h3,
.single-form-templates h4,
.single-form-templates h5,
.single-form-templates p,
.single-form-templates a,
.single-form-templates li { 
    font-family: "ABeeZee", Sans-serif !important;
}

.single-form-templates .blog-sidebar-form-box {
    font-family: "ABeeZee", Sans-serif !important;
}

/* Match blog post content font sizes exactly */
.single-form-templates .form-content p,
.single-form-templates .entry-content p,
.single-form-templates .form-content li,
.single-form-templates .entry-content li {
    font-size: 15px !important;
    line-height: 165% !important;
}

/* Match blog sidebar CTA font sizes */
.single-form-templates .blog-sidebar-form-box h2,
.single-form-templates .blog-sidebar-form-box p {
    font-size: 15px !important;
    line-height: 165% !important;
}
/* Archive page heading size increase */
.archive-form-templates h5.display-6 {
    font-size: 2.2rem !important;
}
/* Preview modal styling */
#previewFormModal .modal-body {
    max-height: 80vh;
    overflow-y: auto;
    padding: 0;
}

.form-preview-modal-container {
    text-align: center;
}

.form-preview-modal-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}