/*
Theme name: Comfort King
Description: Custom Theme
*/

/*
	Source post-css styles are located in resources/css/
	The compiled bundle is saved to `dist/css/bundle-${fingerprint}.css`
	(dist/manifest.json provides the exact path mapping).
	
	DEVELOPMENT.md file contains instructions how to get the compilation
	process up & running.

	If you need to make a quick fix, feel free to add CSS
	below this comment -- it's loaded after the compiled bundle. 
*/

/* beginning of privacy policy in footer css*/		


.footer-column-legal{
				padding-left: 1rem;
	}
.footer-title {
	padding-top: 2rem;
}

	ul.footer-list {
    text-align: left;
    list-style-type: none;
}

	ul.footer-list li a { 
			text-decoration: none;
}

	ul.footer-list li a:hover{ 
				color: #fcb900;
			}
/*end of privacy policy in footer css*/		

p { margin-bottom:5px; }

/*Krave Branding Styling*/

/*NEW HEADER*/
.btn-img {
    background: #383c80;
	display:inline-block;
    text-align: center;
    border: 1px solid transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    font-size: 16px;
    background: #1c1e41 !important;
    -webkit-box-shadow: none box-shadow:0 4px 18px 0 rgba(248,189,0,.2);
    border-radius: 99em
}

.nav>ul>li a {
    font-weight: 600;
    text-decoration: none;
    -webkit-transition: color .4s;
    -o-transition: color .4s;
    transition: color .4s;
    color: #ffffff;
    padding: 10px 0;
    display: block;
}

.nav .menu>li>ul {
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    pointer-events: none;
    padding: 0;
    -webkit-transition: opacity .4s;
    -o-transition: opacity .4s;
    transition: opacity .4s;
    background: #1c1e41;
    min-width: 25rem;
    -webkit-box-shadow: 0 4px 6px 0 rgba(0,0,0,.2);
    box-shadow: 0 4px 6px 0 rgba(0,0,0,.2)
}

.header__nav .menu-item-has-children>a:after {
    content: "^";
    transform: rotate(180deg);
    display: inline-block;
    height: 9px;
    font-size: 10px;
    color: #ffffff;
}

p.has-text-align-center.has-white-color.has-text-color {
    color: #ffffff;
    line-height: 1.25em;
}

.hl-app input[type=checkbox], .hl-app input[type=radio] {
    background-origin: border-box;
    background: #1C1E41;
    border-color: #1C1E41;
    border-radius: 100%;
    border-width: 3px;
    box-sizing: border-box;
    color: #F5B632;
    display: inline-block;
    flex-shrink: 0;
    height: 1em;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    vertical-align: middle;
    width: 1em;
}


/* 
.header {
    margin-bottom: -5px;
} */

/* Page Titles
h1 {
    display: none;
}
*/

/* Comfort Quest */

.comfort-quest.app__block-inner.richtext-entry.aos-init.aos-animate {
    text-align: center;
	margin-top: 40px;
	/*margin-left: 20%;
	margin-right: 20%;*/
}


.hl-app .ghl-question-set .ghl-question.ghl-page-current {
	display: inline-block;
	text-align: center;
	margin: 0 auto;
	border: none;
	width: 100%;
}

.hl-app.in-iframe {
    width: 100%;
}

.hl-app #_builder-form .form-builder--btn-submit button p, .hl-app #_builder-form .heading-element div p {
    text-align: center !important;
}

/* Comfort Quest */

.h3, h3 {
    color: #1c1c40;
}

.ghl-page-current.form-builder--wrap-questions.ghl-question {
    align-content: center;
}

/*.is-layout-flex.wp-container-4.wp-block-columns {
    margin-left: 200px;
    margin-right: 200px;
}*/

.wp-block-columns .wp-block-column:not(:last-of-type) {
    margin-bottom: 30px;
    /*padding-right: 55px;*/
}

.h2, h2 {
    font-size: 3.6rem;
    line-height: 1.3;
    color: #383C81;
}

.background-image-element {
    background-image: url(/wp-content/uploads/2023/05/Background_Element.png);
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 100px;
    padding-top: 300px;
    margin-bottom: -210px;
}

.wp-block-spacer {
    height: 15px !important;
}

.app__block-content.aos-init.aos-animate {
    padding-top: 135px;
}

/*.is-layout-flex.wp-container-8.wp-block-columns {
    margin-left: 200px;
}*/

.app-block-text {
    margin: 0rem 0 3.3rem;
}

.footer {
    width: 100%;
    background: #282842;
    color: #fff;
    padding: 10.1rem 0;
    font-size: 1.8rem;
    padding-left: calc(50% - 80.5rem);
    padding-right: 13rem;
}

.is-layout-flex.wp-container-8.wp-block-columns {
	/*padding-right:10%;
	padding-left:10%;
    display: grid;
    grid-template-columns: 51% 49%;
    -webkit-box-align: start;
	position: relative;*/
}

.sleepwell-livewell {
	background-color: #e4e6ef;
	padding-top: 50px;
    padding-bottom: 50px;
}

.wp-block-columns {
	width: 1350px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-column {
    flex-grow: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    margin: auto;
}

/* Sleep Well, Live Well Section */

.app__block-inner.richtext-entry.aos-init.aos-animate {
	margin-top: 40px;
	margin-left: 0;
	margin-right: 0;
}

.wp-block-coblocks-feature{
	justify-content:top;
}

.wp-block-column.is-layout-flow {
    padding: 3rem !important;
}

.shell {
    /*padding-left: 4rem !important
    padding-right: 10rem !important*/
}

.wp-block-columns .wp-block-column:not(:last-of-type) {
    padding: 3rem !important
}

.breadcrumbs ul {
    display: none !important;
}

.footer {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}


/* Submenu */

li#menu-item-944 {
    background-color: #383c80;
}

li#menu-item-945 {
    background-color: #383c80;
}

li#menu-item-946 {
    background-color: #383c80;
}

li#menu-item-947 {
    background-color: #383c80;
}

li#menu-item-948 {
    background-color: #383c80;
}


/* Mobile View */

.nav-trigger span {
    background: #ffffff;
}

@media only screen and (max-width: 575px) and (max-width: 1281px){
	/*.main {
    	padding-top: 1rem;
	}*/
	.h1, h1 {
    	font-size: 3.5rem;
	}
	.h2, h2 {
    	font-size: 2.4rem;
	}
	.app-block-hero .app__block-inner {
    	min-height: 25.4rem;
    	padding: 6rem 20px 4.8rem 0px !important;
	}
	.app__block-img.image-fit.aos-init.aos-animate {
    	/*margin-left: -0.5rem;*/
		margin-bottom: -70px;
	}
	.ep-iFrame, .ep-iFrameContainer {
    	width: 100% !important;
		border: none;
	    margin-top: -50px;
    	overflow: hidden;
    	height: 575px;
    	margin-bottom: -50px;
		/*margin-left: 10rem;*/
	}
	.app__block-content.aos-init.aos-animate {
		text-align: center;
	}
	.has-text-align-center {
    	text-align: center;
    	/*padding-left: 3rem;
    	padding-right: 3rem;*/
	}
	.companions {
    	justify-content: left;
	}
	.is-layout-flex.wp-container-4.wp-block-columns {
    	text-align:center;
		margin-left: 0;
    	margin-right: 0;
	}
	.is-layout-flex.wp-container-8.wp-block-columns {
		padding: 0;
	}
	.is-layout-flex.wp-container-8.wp-block-columns .shell {
		padding: 0;
	}
	.wp-block-columns {
		gap: 0;
	}
	.wp-block-column {
    	flex-grow: 1;
    	/*min-width: 450px;*/
    	overflow-wrap: break-word;
    	word-break: break-word;
    	margin: 0 auto;
	}
	.wp-block-columns .wp-block-column:not(:last-of-type) {
		margin-bottom: 0;
	}
	.app__block-inner.richtext-entry.aos-init.aos-animate {
    	margin-top: 15px;
    	/*margin-right: 2rem;*/
	}
	h2.wp-block-heading {
    	/*margin-left: -3rem;*/
	}
	.wp-block-buttons>.wp-block-button {
    	display: inline-block;
    	/*margin-left: -3rem;*/
	}
	img.wp-image-2183.perfmatters-lazy.entered.pmloaded {
    	z-index: 1;
    	position: relative;
		display: none;
	}
	.app__block-inner.richtext-entry.aos-init.aos-animate {
    	/*margin-left: -7rem;*/
	}
	.app-block-text {
    	margin-bottom: 2rem;
    	/*margin-left: 0rem;*/
	}
	.shell {
		/*padding-right: 0rem;*/
	}
	.app__block-inner {
        /*padding-right: 3rem;*/
    }
	.shell {
        /*padding-left: 3rem !important;*/
    }
	.nav .menu>li>ul {
		top: 0;
		left: 100%;
		pointer-events: auto;
	}
}

/* Comfy Quest*/
#comfort-quest, #comfort-quest .wp-block-columns, #comfort-quest .wp-block-column, #comfort-quest .wp-block-column figure, #comfort-quest figure {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
#comfort-quest.wp-block-cover {
	padding-left: 0px !important;
	padding-right: 0px !important;
}
.comfy-right-column, .comfy-right-column.wp-block-column.is-layout-flow {
	padding: 0px !important;
	margin: 0px !important;
}
#comfort-quest .white-clouds {
    min-width: 1802px;
    margin-top: -150px;
}
#comfort-quest .wp-block-columns {
	width: 100%;
	max-width: 800px;
	margin-right: auto;
	margin-left: auto;
}

/* Custom Hero Section */
.custom-hero {
    width: 100%;
    background-image: url(/wp-content/uploads/2023/06/CK_Subpage_HeroGraphic_StarryBkgd-scaled.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.custom-hero .wp-block-column:not(:last-of-type),.custom-hero figure {
    padding: 0 !important;
    margin: 0 !important;
}

.custom-hero h1 {
    text-shadow: 3px 3px 8px #393f83;
	color: #ffffff;
		padding: 2rem;
}

.custom-hero:after {
    content: '';
    background: url(/wp-content/uploads/2023/05/Background_Element.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-top: 15vh solid #e4e6ef;
}

.custom-hero .wp-block-column.is-layout-flow {
	padding: 0rem !important;
}

@media (max-width: 781px) {
.custom-hero:after {
    border-top: 30vh solid #e4e6ef;
}	
}

/*Sticky Header*/
.header {
	position: fixed;
    top: 0;
}

.main {
    margin-top: var(--header-height);
	padding-top: 0 !important;
}