/**
Theme Name: Method Theme V2
Author: Method Integration
Author URI: https://www.method.me
Description: This is the child theme of Astra built for Method Integration.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: method-theme
Template: astra

NOTE
----
To make this css live and overwrite cache, you need to update the version in functions.php
*/
:root {
	font-size: 		16px;
	
	--greydarker:	#0F1B31;
	--greylighter: 	#EEF5F7;
	--greylight:	#BACAD0;
	--grey:			#545F67;
	--greydark:		#2A394A;

	--greenlighter:	#E7F4F0;
	--greenlight:	#A9D9BF;
	--green:		#007B4A;
	--greendark:	#115B40;

	--bluelighter:	#E5F7FF;
	--bluelight:	#B3E5FF;
	--blue:			#0D71C8;
	--bluedark:		#064499;
	--bluedarker:	#022266;
	
	--purplelight:  #91A2FF;	
	--teal: 		#2EC9E8;

	--marginbottom:	8px;
	
	--mob-width: 	769px;
	--screen-width: 1128px;
	--horSpc: 		0px;
	--verSpc: 		36px; /* 36*2 = 72 between sections desktop */
	
	--marginIcon: 	6%; /* for circle icons */
	--mob-width: 	769px;
	
	--toc-width: 	250px;
	--corners: 		8px;
}
/*---- Common CSS ---- will need to consolidate this eventually */

/* user our accessible icon */
#INDmenu-btn {
	display: none !important;
}
/*-------------------------------------*/

/* Sticky nav header */
.main-header-bar {
	box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.05);
}
.site-header {
    z-index: 99;
    position: fixed;
    width: 100%;
	top: 0;
}
.header-space {
    margin-top: calc(var(--verSpc) * 2);
}

/*---------- GUIDE SPECIFIC -----------*/
.guideContainer .guide-title {
	padding-top: 0 !important;
}
.guide-featuredImage {
	margin-bottom: calc(var(--marginbottom) * 2);
}
.guide-featuredImage img, .wp-block-image img {
	border-radius: var(--corners);		
}
/* example https://www.thebalancemoney.com/why-business-partnerships-fail-4107045 */
#floating-toc {
	position: fixed;
/*
	background-color: var(--bluelighter);
	border: 1px solid var(--greylighter);
*/
	padding: 10px;
	max-width: var(--toc-width);
	overflow-y: scroll; 	
	height:80%;
	border-radius: var(--corners);
}
#floating-toc h3 {
	margin-bottom: var(--marginbottom);
	margin-top: calc(var(--marginbottom) * 2);
	padding-top: 0;
}
#floating-toc a {
    color: var(--blue);
    text-decoration: none;
}
#floating-toc a:hover {
    text-decoration: underline; /* Add underline on hover */
}

#floating-toc ul {
	font-size: 0.8rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
#floating-toc ul li {
	margin-bottom: 5px;
}

#floating-toc ul li a {
	color: #333;
	text-decoration: none;
	display: block;
	padding: 5px;
	transition: background-color 0.3s ease;
}

#floating-toc ul li a:hover {
	background-color: var(--greylighter);
}
#floating-toc ul ul {
	margin-left: 10px;
}

.site .site-content .ast-container .sidebar {
  min-width: var(--toc-width);
}

#floating-toc ul li.current a {
	border-left: 2px solid var(--blue);
	color: var(--blue);	
}

.mainContent {
	background-color: white;
}
/* Make the TOC adapt to mobile screens */
@media screen and (max-width: 768px) {
    #floating-toc {
        position: static; /* Make the TOC part of the flow on small screens */
        max-width: 100%; /* Allow it to take the full width */
        margin-bottom: 20px; /* Add some space below the TOC */
		padding-top: 80px;
    }
	.toc-container {
		display: block;
	}
}

@media (min-width: 769px) {
	.site-content #primary {
		width: auto;
	}
	.site .site-content .ast-container {
/*		display: flex;*/
		max-width: 1240px;
	}
	.ast-container .guideContainer {
		max-width: 100%;
		margin: 0 auto;
		padding: 60px 30px;
	}
	.toc-container {
		display: flex;
	}	
}

.wp-block-image figcaption {
	text-align: center;
}

.guideContainer .wp-block-image {
	display: flex;
	flex-direction: column;	
	justify-content: center;
	align-items: center;
}
.guideContainer .wp-block-image img {
	max-height: 400px;
}

/*------------------------------------*/

.menu-button a {
    padding: 12px 24px !important;
    background: var(--blue) !important;
    border-radius: 70px;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
	color: white;
}
.menu-button a:hover {
	background: var(--bluedark) !important;
	color: #fff !important;	
}

/*---------- No Elementor -----------*/
@media (max-width: 769px) {
	.hide-mobile {
		display: none;
	}
}

@media (min-width: 769px) {
	.hide-desktop{
		display: none;
	}
}

div[class*="m-section"] .wp-block-group__inner-container {
	max-width: 1200px;
	margin-left: auto !important;
	margin-right: auto !important;
}

div[class*="m-section"] .socialSharing-icon img, .m-no-bottom {
	margin-bottom: 0 !important;
}

/*div[class*="m-section"] :is(h2,h3,h4) { */
h2, h3, h4 {
	margin-bottom: 1rem;	
}
h2 {
	margin-top: 2rem;		
}

.m-bluebanner {
	background-color: var(--bluedarker);
	padding-bottom: var(--marginbottom);
	border-radius: var(--corners);
	margin-bottom: calc(var(--marginbottom) * 2)
}

.m-bluebanner :is(h2, h3, h4, p) {
	color: white !important;
}

@media (min-width: 769px) {
	.m-subtext-width {
		max-width: 50% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.m-width-half {
		max-width: 950px !important;
		margin-left: auto !important;
		margin-right: auto !important;	
	}	
	.m-width-third {
		max-width: 650px !important;
		margin-left: auto !important;
		margin-right: auto !important;	
	}
}

div[class*="m-section"] .wp-block-separator {
    border: none;
	max-width: 50%;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

/*** Text ***/
div[class*="m-section"] :is(h1,h2,h3,h4,h5,.lightweight-accordion-title) {
	color: var(--mheader);
	letter-spacing: -1px;
	font-weight: 600 !important;
	padding-top: 1em;
}

div[class*="m-section"] h1 {
	line-height: 3rem;
	font-size: 2.8rem;
}

div[class*="m-section"] h2 {
	line-height: 2.4rem;
	font-size: 2.0rem;
}

div[class*="m-section"] h3 {
	line-height: 2.0rem;
	font-size: 1.6rem;
}

div[class*="m-section"] h4 {
	line-height: 2.0rem;
	font-size: 1.4rem;
}

div[class*="m-section"] h5, .lightweight-accordion-title {
	line-height: 1.6rem;
	font-size: 1.2rem;	
	margin-bottom: 1rem;	
}

div[class*="m-section"] h6 {
	color: var(--blue) !important;
    text-transform: uppercase;
	font-size: 1.2rem;	
    font-weight: 600;
    margin-bottom: 0 !important;
}

.m-section blockquote {
	color: var(--greydark);
	border-left: 5px solid var(--blue);
	padding: 1.2em;
	font-size: 1.2em;
}

.m-subtext-h1 {
	font-size: 1.4rem;
	line-height: 1.6rem;
	color: var(--greydark);
}

.m-text-fine {
        color: var(--grey);
        font-size: 0.6rem;
        font-weight: 400;
}

.m-text-small {
        color: var(--grey);
        font-size: 0.8rem;
        line-height: 1rem;
}

.m-text-blue {
	color: var(--blue) !important;
}

div[class*="m-section"] .wp-block-columns {
	gap: 2em;
	margin-bottom: 0;
}

.m-justified-center {
    align-items: center;
    justify-content: center;
	text-align: center;
}

.m-padding {
	padding-top: var(--marginbottom);	
	padding-bottom:  var(--marginbottom);	
}

/*** Buttons ***/
/*Button Read - used in pricing guides*/
.btn-read {
	margin-bottom: calc(var(--marginbottom)*4);
	margin-top: calc(var(--marginbottom)*2);
}

.btn-read a {
	background: rgba(256,256,256,0) !important;
	border: 1px solid var(--blue);
	color: var(--blue) !important;

	border-radius: 90px !important;
	font-weight: 600 !important;
	padding: 10px 32px !important;
}

.btn-read a:hover {
	background: var(--bluedark) !important;
	border: 1px solid var(--bluedark) !important;
	color: #FFF !important;
}

.m-section .wp-block-buttons {
	display: flex;
    flex-wrap: wrap;
	gap: 1em;
}

.m-button {
	padding-bottom: var(--marginbottom);
}

.m-button a {
	color: #fff;
	background: var(--blue);
	border-radius: 90px !important;
	font-weight: 600 !important;
	transition: all ease 0.3s;
	text-decoration: none;
	padding: 0.6rem 1.4rem;
	font-size: 1rem;
}

.m-button a:hover {
	background: var(--bluedark);
	color: #fff !important;
}

.m-button-attr-large {
	padding-top: var(--marginbottom);
}

.m-button-attr-large a {
	padding: 0.8rem 1.6rem !important;
}

.m-button-attr-ghost a {
	background: rgba(256,256,256,0);
	border: 1px solid var(--blue);
	color: var(--blue) !important;
}
.m-button-attr-ghost a:hover {
	background: var(--bluelighter);
	color: var(--blue) !important;	
}
.m-button-attr-white a {
        background: white;
        border: 1px solid white;
        color: var(--blue) !important;
}

.m-button-attr-white-outline a {
        background: rgba(256,256,256,0);
        border: 1px solid white;
        color: white !important;
}

/* for unbounce popup */
.imageCta-imageCta {
	cursor:pointer;
}
/*** cards ***/
/* https://codepen.io/njs/pen/BVdwZB */
[class*="m-check-list"] {
	list-style-type: none;
	margin-left: 0;
	padding-bottom: 1rem;
}

.swiper-pagination {
	position: relative !important;
	padding-top: 1rem;
	padding-bottom: var(--marginbottom);	
}

/** Lightweight Accordion **/ 
.lightweight-accordion .lightweight-accordion-title {
	display: list-item;
	cursor: pointer;
}
.lightweight-accordion .lightweight-accordion-body {
	padding-left: 1.4rem;
}
.lightweight-accordion.bordered .lightweight-accordion-body {
	border: 2px solid var(--greylighter);
	border-top: 0;
}
.lightweight-accordion details[open] summary ~ * {
	animation: lwopen .5s ease-in-out;
}
.lightweight-accordion .lightweight-accordion-title :is( p, span, h1, h2, h3 ) {
	display: inline;
	font-family: inherit;
	padding-left: 0.4rem;
	font-size: 1em;
}

@keyframes lwopen {
	0%    {opacity: 0;}
	100%  {opacity: 1;}
}
/** Simple TOC **/
.simpletoc .simpletoc-collapsible {
	background-color: white;
    border-radius: 4px;
    border: 1px solid var(--greylight);	
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 18px;
}

.simpletoc .simpletoc-content {
    padding: 14px 18px 0;
    display: none;
    overflow: hidden;
    background-color: var(--greylighter);
}

.simpletoc .simpletoc-collapsible::after {
    content: "\02295";
    float: right;
    margin-left: 5px;
    font-size: 18px;
}
.simpletoc .active::after {
    content: "\2796";
}
/*** Footer Overrides ***/
.footer-adv-overlay {
    background-color: white;
}

/* overwrite the excessive default bottom spacing */
.footer-adv-widget .widget, .footer-adv-widget .wp-block-columns {
        margin: 0 0 1em 0;
        gap: 0.8em !important;
}

/* overwrite excessive default gap between images */
.footer-gap {
        gap: 0.8em !important;
}

.container-width-half {
        width: 60%;
        margin-left: 0px;
}

.container-no-wrap {
	flex-wrap: nowrap !important;
}

/* make the first column of the footer wider */
@media (min-width: 769px) {
        .footer-adv-widget {
/*                width: 16% !important;*/
        }
        .footer-adv-widget-1 {
		width: 28% !important;
        }
}
@media (max-width: 769px) {
	.ast-small-footer-section-2 {
		width: 60% !important;
		margin-left: auto;
		margin-right: auto;
        }
}

.footer-adv .widget-title {
        font-family: Source Sans Pro,Roboto,Helvetica Neue,sans-serif;
        text-transform: inherit;
        color: var(--greydark) !important;
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
        margin: 0 0 1em 0;
        padding: 0;
}

.footer-links {
        line-height: 1.5em;
        font-size: 14px;
        font-weight: 400;
        color: var(--grey);
}

.footer-links a {
        color:  var(--grey);
}

.footer-links a:hover {
        color:  var(--blue);
}

/*-------------UI KIT-----------------*/
.arrow-link {
	margin-left: 3px;
	transition: all ease 0.3s;
	position: relative;
	top: 0px;
	left: 3px;
	height: 10px;
	width: 7px;
}

.arrow-color-blue {
	fill:none;
	stroke: var(--blue);
}

.default-link:hover .arrow-color-blue {
	stroke: var(--bluedark);
}

/*Buttons*/

/*Button Regular Nav*/
.nav-btn {
	margin-top: 10px;
}

.nav-btn a {
	padding: 11px 24px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	border-radius: 90px !important;
	transition: all ease 0.3s;
	background: var(--blue);
	color: #fff !important;
    justify-content: center;
}

.nav-btn a:hover {
	background: var(--bluedark) !important;
}

.arrow-btn {
	margin-left: 3px;
	transition: all ease 0.3s;
	position: relative;
    top: -1px;
	left: 3px;
}

.arrow-btn-regular {
	fill:none;
	stroke:#fff;
}

.arrow-btn-ghost {
	fill:none;
	stroke: var(--blue);
	
}

/** Media Query **/ 

@media only screen and (max-width: 768px) {
		.h1-title h1 {
	line-height: 1.3 !important;
	color: var(--mheader) !important;
	font-weight: 600 !important;
	font-size: 48px !important;
	}
}

@media (max-width: 544px) {
		.h1-title h1 {
	line-height: 1.2;
	font-size: 30px !important;
	}
}

strong {
	color: var(--mheader);
}

/* 2021/05/26 - Errol - I hate the mobile menu */
.ast-header-break-point .main-header-bar .main-header-bar-navigation .menu-item-has-children>.ast-menu-toggle {
    display: inline-block;
    position: absolute;
    font-size: inherit;
    top: -1px;
    right: 20px;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 0 .9em;
    font-weight: 400;
    line-height: inherit;
    transition: all .2s;
	background-color: #f9f9f9;
	border-color: #f9f9f9;	
}

/* 2022/09/07 - Errol - Still hate the mobile menu */
.ast-header-break-point .main-navigation ul .menu-item .menu-link {
    padding: .5em .9em .5em;
    display: inline-block;
    width: 100%;
}
.ast-header-break-point .main-header-bar .main-header-bar-navigation .menu-item-has-children>.ast-menu-toggle {
    display: inline-block;
    position: absolute;
    font-size: inherit;
    right: 20px;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    line-height: inherit;
    line-height: 2;
    background-color: transparent;
}

.ast-header-break-point .main-header-bar .main-header-bar-navigation .sub-menu {
    line-height: 2;
}

.ast-header-break-point .main-navigation ul.sub-menu .menu-item .menu-link:before {
    content: "";
}

/* 2022/01/05 - Errol - footnote for image credits */
.footnote, .wp-element-caption {
	font-size: small !important;
	margin-bottom: var(--marginbottom);		
	font-style: italic;    
}

.wistia_responsive_padding {
	margin-bottom: 40px;
}