<!doctype html>
<html lang="en-US">
<head><meta charset="UTF-8"><script>if(navigator.userAgent.match(/MSIE|Internet Explorer/i)||navigator.userAgent.match(/Trident\/7\..*?rv:11/i)){var href=document.location.href;if(!href.match(/[?&]nowprocket/)){if(href.indexOf("?")==-1){if(href.indexOf("#")==-1){document.location.href=href+"?nowprocket=1"}else{document.location.href=href.replace("#","?nowprocket=1#")}}else{if(href.indexOf("#")==-1){document.location.href=href+"&nowprocket=1"}else{document.location.href=href.replace("#","&nowprocket=1#")}}}}</script><script>class RocketLazyLoadScripts{constructor(e){this.triggerEvents=e,this.eventOptions={passive:!0},this.userEventListener=this.triggerListener.bind(this),this.delayedScripts={normal:[],async:[],defer:[]},this.allJQueries=[]}_addUserInteractionListener(e){this.triggerEvents.forEach((t=>window.addEventListener(t,e.userEventListener,e.eventOptions)))}_removeUserInteractionListener(e){this.triggerEvents.forEach((t=>window.removeEventListener(t,e.userEventListener,e.eventOptions)))}triggerListener(){this._removeUserInteractionListener(this),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this._loadEverythingNow.bind(this)):this._loadEverythingNow()}async _loadEverythingNow(){this._delayEventListeners(),this._delayJQueryReady(this),this._handleDocumentWrite(),this._registerAllDelayedScripts(),this._preloadAllScripts(),await this._loadScriptsFromList(this.delayedScripts.normal),await this._loadScriptsFromList(this.delayedScripts.defer),await this._loadScriptsFromList(this.delayedScripts.async),await this._triggerDOMContentLoaded(),await this._triggerWindowLoad(),window.dispatchEvent(new Event("rocket-allScriptsLoaded"))}_registerAllDelayedScripts(){document.querySelectorAll("script[type=rocketlazyloadscript]").forEach((e=>{e.hasAttribute("src")?e.hasAttribute("async")&&!1!==e.async?this.delayedScripts.async.push(e):e.hasAttribute("defer")&&!1!==e.defer||"module"===e.getAttribute("data-rocket-type")?this.delayedScripts.defer.push(e):this.delayedScripts.normal.push(e):this.delayedScripts.normal.push(e)}))}async _transformScript(e){return await this._requestAnimFrame(),new Promise((t=>{const n=document.createElement("script");let r;[...e.attributes].forEach((e=>{let t=e.nodeName;"type"!==t&&("data-rocket-type"===t&&(t="type",r=e.nodeValue),n.setAttribute(t,e.nodeValue))})),e.hasAttribute("src")?(n.addEventListener("load",t),n.addEventListener("error",t)):(n.text=e.text,t()),e.parentNode.replaceChild(n,e)}))}async _loadScriptsFromList(e){const t=e.shift();return t?(await this._transformScript(t),this._loadScriptsFromList(e)):Promise.resolve()}_preloadAllScripts(){var e=document.createDocumentFragment();[...this.delayedScripts.normal,...this.delayedScripts.defer,...this.delayedScripts.async].forEach((t=>{const n=t.getAttribute("src");if(n){const t=document.createElement("link");t.href=n,t.rel="preload",t.as="script",e.appendChild(t)}})),document.head.appendChild(e)}_delayEventListeners(){let e={};function t(t,n){!function(t){function n(n){return e[t].eventsToRewrite.indexOf(n)>=0?"rocket-"+n:n}e[t]||(e[t]={originalFunctions:{add:t.addEventListener,remove:t.removeEventListener},eventsToRewrite:[]},t.addEventListener=function(){arguments[0]=n(arguments[0]),e[t].originalFunctions.add.apply(t,arguments)},t.removeEventListener=function(){arguments[0]=n(arguments[0]),e[t].originalFunctions.remove.apply(t,arguments)})}(t),e[t].eventsToRewrite.push(n)}function n(e,t){let n=e[t];Object.defineProperty(e,t,{get:()=>n||function(){},set(r){e["rocket"+t]=n=r}})}t(document,"DOMContentLoaded"),t(window,"DOMContentLoaded"),t(window,"load"),t(window,"pageshow"),t(document,"readystatechange"),n(document,"onreadystatechange"),n(window,"onload"),n(window,"onpageshow")}_delayJQueryReady(e){let t=window.jQuery;Object.defineProperty(window,"jQuery",{get:()=>t,set(n){if(n&&n.fn&&!e.allJQueries.includes(n)){n.fn.ready=n.fn.init.prototype.ready=function(t){e.domReadyFired?t.bind(document)(n):document.addEventListener("rocket-DOMContentLoaded",(()=>t.bind(document)(n)))};const t=n.fn.on;n.fn.on=n.fn.init.prototype.on=function(){if(this[0]===window){function e(e){return e.split(" ").map((e=>"load"===e||0===e.indexOf("load.")?"rocket-jquery-load":e)).join(" ")}"string"==typeof arguments[0]||arguments[0]instanceof String?arguments[0]=e(arguments[0]):"object"==typeof arguments[0]&&Object.keys(arguments[0]).forEach((t=>{delete Object.assign(arguments[0],{[e(t)]:arguments[0][t]})[t]}))}return t.apply(this,arguments),this},e.allJQueries.push(n)}t=n}})}async _triggerDOMContentLoaded(){this.domReadyFired=!0,await this._requestAnimFrame(),document.dispatchEvent(new Event("rocket-DOMContentLoaded")),await this._requestAnimFrame(),window.dispatchEvent(new Event("rocket-DOMContentLoaded")),await this._requestAnimFrame(),document.dispatchEvent(new Event("rocket-readystatechange")),await this._requestAnimFrame(),document.rocketonreadystatechange&&document.rocketonreadystatechange()}async _triggerWindowLoad(){await this._requestAnimFrame(),window.dispatchEvent(new Event("rocket-load")),await this._requestAnimFrame(),window.rocketonload&&window.rocketonload(),await this._requestAnimFrame(),this.allJQueries.forEach((e=>e(window).trigger("rocket-jquery-load"))),window.dispatchEvent(new Event("rocket-pageshow")),await this._requestAnimFrame(),window.rocketonpageshow&&window.rocketonpageshow()}_handleDocumentWrite(){const e=new Map;document.write=document.writeln=function(t){const n=document.currentScript,r=document.createRange(),i=n.parentElement;let o=e.get(n);void 0===o&&(o=n.nextSibling,e.set(n,o));const a=document.createDocumentFragment();r.setStart(a,0),a.appendChild(r.createContextualFragment(t)),i.insertBefore(a,o)}}async _requestAnimFrame(){return new Promise((e=>requestAnimationFrame(e)))}static run(){const e=new RocketLazyLoadScripts(["keydown","mousemove","touchmove","touchstart","touchend","wheel"]);e._addUserInteractionListener(e)}}RocketLazyLoadScripts.run();</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="https://gmpg.org/xfn/11">

<link data-minify="1" href="https://thesleepdoctor.com/wp-content/cache/min/1/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css?ver=1634241205" data-rocket-async="style" as="style" onload="this.onload=null;this.rel='stylesheet'" rel="preload" crossorigin="anonymous">

<link rel="preconnect" href="https://fonts.gstatic.com">


<script>var et_site_url='https://thesleepdoctor.com';var et_post_id='0';function et_core_page_resource_fallback(a,b){"undefined"===typeof b&&(b=a.sheet.cssRules&&0===a.sheet.cssRules.length);b&&(a.onerror=null,a.onload=null,a.href?a.href=et_site_url+"/?et_core_page_resource="+a.id+et_post_id:a.src&&(a.src=et_site_url+"/?et_core_page_resource="+a.id+et_post_id))}
</script><meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' />

<title>Blog - The Sleep Doctor</title><style id="rocket-critical-css">:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0))}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-font-sans-serif);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;-webkit-text-size-adjust:100%}h1,h2,h5{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){h1{font-size:2.5rem}}h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){h2{font-size:2rem}}h5{font-size:1.25rem}p{margin-top:0;margin-bottom:1rem}ul{padding-left:2rem}ul{margin-top:0;margin-bottom:1rem}ul ul{margin-bottom:0}a{color:#0d6efd;text-decoration:underline}a:not([href]):not([class]){color:inherit;text-decoration:none}img{vertical-align:middle}label{display:inline-block}input{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}[type=submit]{-webkit-appearance:button}::-moz-focus-inner{padding:0;border-style:none}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}.container{width:100%;padding-right:var(--bs-gutter-x,.75rem);padding-left:var(--bs-gutter-x,.75rem);margin-right:auto;margin-left:auto}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(var(--bs-gutter-y) * -1);margin-right:calc(var(--bs-gutter-x)/ -2);margin-left:calc(var(--bs-gutter-x)/ -2)}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x)/ 2);padding-left:calc(var(--bs-gutter-x)/ 2);margin-top:var(--bs-gutter-y)}@media (min-width:768px){.col-md-3{flex:0 0 auto;width:25%}.col-md-9{flex:0 0 auto;width:75%}}@media (min-width:992px){.col-lg-4{flex:0 0 auto;width:33.3333333333%}}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card-body{flex:1 1 auto;padding:1rem 1rem}.card-title{margin-bottom:.5rem}.card-img-top{width:100%}.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.d-flex{display:flex!important}.flex-column{flex-direction:column!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.align-items-center{align-items:center!important}.align-items-stretch{align-items:stretch!important}.mt-4{margin-top:1.5rem!important}.mt-auto{margin-top:auto!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}a{background-color:transparent}img{border-style:none}input{font-family:inherit;font-size:100%;line-height:1.15;margin:0}input{overflow:visible}[type=submit]{-webkit-appearance:button}[type=submit]::-moz-focus-inner{border-style:none;padding:0}[type=submit]:-moz-focusring{outline:1px dotted ButtonText}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}*,*::before,*::after{box-sizing:inherit}html{box-sizing:border-box}body,input{color:#404040;font-family:-apple-system,BlinkMacSystemFont,segoe ui,Roboto,Oxygen-Sans,Ubuntu,Cantarell,helvetica neue,sans-serif;font-size:1rem;line-height:1.5}h1,h2,h5{clear:both}p{margin-bottom:1.5em}body{background:#fff}ul{margin:0 0 1.5em 1.5em}ul{list-style:disc}li>ul{margin-bottom:0;margin-left:1.5em}img{height:auto;max-width:100%}a{color:#4169e1}a:visited{color:purple}input[type=submit]{border:1px solid;border-color:#ccc #ccc #bbb;border-radius:3px;background:#e6e6e6;color:rgba(0,0,0,.8);line-height:1;padding:.6em 1em .4em}input[type=search]{color:#666;border:1px solid #ccc;border-radius:3px;padding:3px}.main-navigation{display:block;width:100%}.main-navigation ul{display:none;list-style:none;margin:0;padding-left:0}.main-navigation ul ul{box-shadow:0 3px 3px rgba(0,0,0,.2);float:left;position:absolute;top:100%;left:-999em;z-index:99999}.main-navigation ul ul a{width:200px}.main-navigation li{position:relative}.main-navigation a{display:block;text-decoration:none}@media screen and (min-width:37.5em){.main-navigation ul{display:flex}}header .bottom-header ul#primary-menu li.current-menu-item{background-color:#132b68}header .bottom-header ul#primary-menu li.current-menu-item+li::before{width:0}.entry-content{margin:1.5em 0 0}.widget{margin:0 0 1.5em}.card-img-top{width:100%;height:13vw;object-fit:cover}@media screen and (max-width:37.5em){.card-img-top{height:35vw}}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}*{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:'Montserrat',sans-serif}.custom-button{background-color:#009cea;padding:10px 25px;color:#ffffff!important;text-transform:uppercase;text-align:center;font-weight:600;text-decoration:none;display:inline-block}.tsdBlogTitle{font-weight:600!important}header .mobify-menu{display:none}header #moby-button{padding:10px 20px;background-color:#132b68;color:#ffffff;text-transform:uppercase;font-weight:600;display:inline-block}header .social-buttons{display:none}@media (min-width:576px){header .social-buttons{display:inline-block}}header .top-header{padding:15px 0px}header .top-header a{text-decoration:none}header .bottom-header{background-color:#009cea;display:none}header .bottom-header ul#primary-menu{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}header .bottom-header ul#primary-menu li{padding:15px;position:relative}header .bottom-header ul#primary-menu li::before{content:"";position:absolute;left:0;top:16px;background-color:#132b68;width:1px;height:20px}header .bottom-header ul#primary-menu li a{text-transform:uppercase;color:#ffffff;font-size:16px;font-weight:600}header .bottom-header ul#primary-menu li ul{-webkit-box-shadow:none!important;box-shadow:none!important;float:none!important;position:fixed;left:0;width:100%!important;text-align:center!important;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important;opacity:0!important;visibility:hidden!important;z-index:-1!important;background-color:#132b68}header .bottom-header ul#primary-menu li ul li{list-style:none;padding:15px;position:relative;margin:0px;text-align:center}header .bottom-header ul#primary-menu li ul li::after{content:"";position:absolute;right:0;top:18px;background-color:#009cea;width:1px;height:20px}header .bottom-header ul#primary-menu li ul li a{text-decoration:none;text-transform:uppercase;color:#ffffff;font-size:16px;font-weight:600;width:auto!important}#breadcrumbs{font-size:14px}#breadcrumbs a{color:#6c757d!important;text-decoration:none!important}#breadcrumbs span{color:#6c757d!important}@media (min-width:768px){body.blog .site-main{padding-right:30px}}body.blog .inner-wrapper{padding:30px 0px}.recent-posts-sidebar .recent-post-item{margin-bottom:30px}.recent-posts-sidebar .recent-post-item p{margin:0px;font-size:20px;color:#009cea}.recent-posts-sidebar .recent-post-item a{text-decoration:none}.custom-search-form .search-field{padding:5px}.custom-search-form .search-submit{padding:9px 25px;background-color:#009cea;display:inline-block;width:auto;font-weight:600;color:#ffffff;text-transform:uppercase}.custom-sidebar{padding:30px 0px 15px 0px}.custom-sidebar h2.widget-title{font-size:20px;text-transform:uppercase;color:#132b68;font-weight:600}.custom-header-area{background-size:cover;background-repeat:no-repeat;background-position:50% 50%;padding:140px 5px}.custom-header-area h1{text-transform:uppercase;font-size:50px;color:#ffffff;font-weight:600;width:auto;display:inline-block;position:relative;margin:0 auto;text-align:center}@media (min-width:768px){.custom-header-area h1::before{content:"-";color:#009cea;position:absolute;top:0;left:-30px}.custom-header-area h1::after{content:"-";color:#009cea;position:absolute;top:0;right:-30px}}@media (max-width:575px){.custom-header-area h1{font-size:36px}}footer.site-footer .footer-newsletter .et_bloom_form_content button span{color:#ffffff!important;font-weight:400!important}.widget_tsd_widget_posts_by_category .recent-post-item{max-width:304px!important}.widget_tsd_widget_posts_by_category .recent-post-item p{font-size:20px!important;color:#009cea!important;font-weight:600!important}@media (min-width:768px){.custom-sidebar .widget-area{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:auto;position:-webkit-sticky;position:sticky;top:5%}}.et_bloom .et_bloom_optin span,.et_bloom .et_bloom_optin h2{text-transform:none;font-weight:400;margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background-image:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-display:swap;font-family:et-bloom;src:url(https://thesleepdoctor.com/wp-content/plugins/bloom/css/fonts/ET-Bloom.eot?gd6mr8);src:url(https://thesleepdoctor.com/wp-content/plugins/bloom/css/fonts/ET-Bloom.eot?#iefixgd6mr8) format('embedded-opentype'),url(https://thesleepdoctor.com/wp-content/plugins/bloom/css/fonts/ET-Bloom.woff?gd6mr8) format('woff'),url(https://thesleepdoctor.com/wp-content/plugins/bloom/css/fonts/ET-Bloom.ttf?gd6mr8) format('truetype'),url(https://thesleepdoctor.com/wp-content/plugins/bloom/css/fonts/ET-Bloom.svg?gd6mr8#ETdashboard) format('svg');font-weight:400;font-style:normal}.et_bloom .et_bloom_subscribe_loader{display:none;background:url(https://thesleepdoctor.com/wp-content/plugins/bloom/images/subscribe-loader.gif)!important;width:16px;height:16px;position:absolute;left:50%;top:50%;margin:-8px auto auto -8px!important}.et_bloom .et_bloom_inline_form span.et_bloom_close_button{display:none}.et_bloom .et_bloom_form_container span,.et_bloom .et_bloom_form_container h2{font-family:open sans,helvetica,arial,sans-serif;line-height:1em;text-transform:none;font-weight:400;margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background-image:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.et_bloom .et_bloom_form_container .et_bloom_close_button{font-family:et-bloom;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;font-size:16px!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.et_bloom .et_bloom_form_container h2.et_bloom_success_message{line-height:1.4em;position:relative;font-size:14px;display:none;opacity:0;z-index:-1;text-align:center;color:#888;background:#fff;padding:10px 10%;width:80%;max-width:300px;border-radius:5px;margin:auto}.et_bloom h2.et_bloom_success_message:after{content:'';position:absolute;left:50%;top:-5px;margin-left:-3px;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #fff}.et_bloom .et_bloom_close_button:before{content:"\e60d";position:absolute;top:7px;right:7px}.et_bloom .et_bloom_form_container .et_bloom_close_button{position:absolute;top:-10px;right:-10px;width:30px;height:30px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px;background-color:#fff;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.34);-moz-box-shadow:0 2px 4px 0 rgba(0,0,0,.34);box-shadow:0 2px 4px 0 rgba(0,0,0,.34)}.et_bloom .et_bloom_form_container .et_bloom_form_content span{color:#444;font-weight:700!important;margin-bottom:10px!important}</style><link rel="preload" as="style" href="https://fonts.googleapis.com/css?family=Open%20Sans%3A400%2C700&#038;display=swap" /><style id="" media="print" onload="this.media='all'">@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url(/fonts.gstatic.com/s/opensans/v26/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVc.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url(/fonts.gstatic.com/s/opensans/v26/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVc.ttf) format('truetype');
}
</style><noscript><link rel="preload" href="https://fonts.googleapis.com/css?family=Open%20Sans%3A400%2C700&#038;display=swap" data-rocket-async="style" as="style" onload="this.onload=null;this.rel='stylesheet'" /></noscript><link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;900&#038;display=swap" /><style id="" media="print" onload="this.media='all'">@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts.gstatic.com/s/montserrat/v18/JTUSjIg1_i6t8kCHKm45xW4.ttf) format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts.gstatic.com/s/montserrat/v18/JTURjIg1_i6t8kCHKm45_bZF7g4.ttf) format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts.gstatic.com/s/montserrat/v18/JTURjIg1_i6t8kCHKm45_epG7g4.ttf) format('truetype');
}
</style><noscript><link rel="preload" href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;900&#038;display=swap" data-rocket-async="style" as="style" onload="this.onload=null;this.rel='stylesheet'" /></noscript>
<meta name="description" content="The Sleep Doctor Blog. Everything about sleep. In each post Dr. Michael Brues teaches you how to get a better night of sleep and answers all your questions." />
<link rel="canonical" href="https://thesleepdoctor.com/blog/" />
<link rel="next" href="https://thesleepdoctor.com/blog/page/2/" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Blog" />
<meta property="og:description" content="The Sleep Doctor Blog. Everything about sleep. In each post Dr. Michael Brues teaches you how to get a better night of sleep and answers all your questions." />
<meta property="og:url" content="https://thesleepdoctor.com/blog/" />
<meta property="og:site_name" content="The Sleep Doctor" />
<meta property="og:image" content="https://thesleepdoctor.com/wp-content/uploads/2021/02/freddy-castro-u3ajSXhZM_U-unsplash_resize.jpg" />
<meta property="og:image:width" content="1920" />
<meta property="og:image:height" content="681" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@thesleepdoctor" />
<script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://thesleepdoctor.com/#organization","name":"The Sleep Doctor","url":"https://thesleepdoctor.com/","sameAs":["https://www.facebook.com/thesleepdoctor","https://www.instagram.com/thesleepdoctor","https://www.linkedin.com/in/drmichaelbreus","https://youtube.com/thesleepdoctor","https://twitter.com/thesleepdoctor"],"logo":{"@type":"ImageObject","@id":"https://thesleepdoctor.com/#logo","inLanguage":"en-US","url":"https://thesleepdoctor.com/wp-content/uploads/2021/02/thesleepdoctor_logo_large.png","contentUrl":"https://thesleepdoctor.com/wp-content/uploads/2021/02/thesleepdoctor_logo_large.png","width":965,"height":272,"caption":"The Sleep Doctor"},"image":{"@id":"https://thesleepdoctor.com/#logo"}},{"@type":"WebSite","@id":"https://thesleepdoctor.com/#website","url":"https://thesleepdoctor.com/","name":"The Sleep Doctor","description":"Michael J. Breus is America&#039;s Sleep Doctor","publisher":{"@id":"https://thesleepdoctor.com/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://thesleepdoctor.com/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://thesleepdoctor.com/blog/#primaryimage","inLanguage":"en-US","url":"https://thesleepdoctor.com/wp-content/uploads/2021/02/freddy-castro-u3ajSXhZM_U-unsplash_resize.jpg","contentUrl":"https://thesleepdoctor.com/wp-content/uploads/2021/02/freddy-castro-u3ajSXhZM_U-unsplash_resize.jpg","width":1920,"height":681},{"@type":["WebPage","CollectionPage"],"@id":"https://thesleepdoctor.com/blog/#webpage","url":"https://thesleepdoctor.com/blog/","name":"Blog - The Sleep Doctor","isPartOf":{"@id":"https://thesleepdoctor.com/#website"},"primaryImageOfPage":{"@id":"https://thesleepdoctor.com/blog/#primaryimage"},"datePublished":"2013-04-01T15:37:39+00:00","dateModified":"2021-02-11T08:10:55+00:00","description":"The Sleep Doctor Blog. Everything about sleep. In each post Dr. Michael Brues teaches you how to get a better night of sleep and answers all your questions.","breadcrumb":{"@id":"https://thesleepdoctor.com/blog/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://thesleepdoctor.com/blog/"]}]},{"@type":"BreadcrumbList","@id":"https://thesleepdoctor.com/blog/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://thesleepdoctor.com/"},{"@type":"ListItem","position":2,"name":"Blog"}]}]}</script>

<link rel="amphtml" href="https://thesleepdoctor.com/blog/amp/" /><link rel='dns-prefetch' href='//cdn.jsdelivr.net' />
<link rel='dns-prefetch' href='//certify-js.alexametrics.com' />
<link rel='dns-prefetch' href='//certify.alexametrics.com' />
<link rel='dns-prefetch' href='//connect.facebook.net' />
<link rel='dns-prefetch' href='//fonts.gstatic.com' />
<link rel='dns-prefetch' href='//front.optimonk.com' />
<link rel='dns-prefetch' href='//googleads.g.doubleclick.net' />
<link rel='dns-prefetch' href='//script.crazyegg.com' />
<link rel='dns-prefetch' href='//static.doubleclick.net' />
<link rel='dns-prefetch' href='//www.facebook.com' />
<link rel='dns-prefetch' href='//www.google-analytics.com' />
<link rel='dns-prefetch' href='//www.youtube.com' />
<link href='https://fonts.gstatic.com' crossorigin rel='preconnect' />
<link rel="alternate" type="application/rss+xml" title="The Sleep Doctor &raquo; Feed" href="https://thesleepdoctor.com/feed/" />
<link rel="alternate" type="application/rss+xml" title="The Sleep Doctor &raquo; Comments Feed" href="https://thesleepdoctor.com/comments/feed/" />
<style>
img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}
</style>
<link rel='preload' href='https://thesleepdoctor.com/wp-includes/css/dist/block-library/style.min.css?ver=5.8.1' data-rocket-async="style" as="style" onload="this.onload=null;this.rel='stylesheet'" media='all' />
<link data-minify="1" rel='preload' href='https://thesleepdoctor.com/wp-content/cache/min/1/wp-content/plugins/activecampaign-subscription-forms/activecampaign-form-block/build/style-index.css?ver=1634241205' data-rocket-async="style" as="style" onload="this.onload=null;this.rel='stylesheet'" media='all' />
<link data-minify="1" rel='preload' href='https://thesleepdoctor.com/wp-content/cache/min/1/wp-content/plugins/molongui-authorship-pro/public/css/molongui-authorship-pro.ade3.min.css?ver=1634241205' data-rocket-async="style" as="style" onload="this.onload=null;this.rel='stylesheet'" media='all' />
<style id='molongui-authorship-inline-css'>
.m-a-posts-list[data-list-layout="cards"] { --m-post-card-w: 280px; --m-post-card-h: 189px; }.m-a-posts-list[data-list-layout="flat"] { --m-post-flat-w: 70px; --m-post-flat-h: 70px; }.m-a-posts-list[data-list-layout="thumbs"] { --m-post-thumb-w: 180px; --m-post-thumb-h: 100px; }
:root{ --m-a-box-bp: 600px; --m-a-box-bp-l: 599px; }
</style>
<link data-minify="1" rel="preload" class="mv-grow-style" href="https://thesleepdoctor.com/wp-content/cache/min/1/wp-content/plugins/social-pug/assets/dist/style-frontend-pro.1.19.1.css?ver=1634241205" as="style"><noscript><link data-minify="1" rel='preload'   href='https://thesleepdoctor.com/wp-content/cache/min/1/wp-content/plugins/social-pug/assets/dist/style-frontend-pro.1.19.1.css?ver=1634241205' data-rocket-async="style" as="style" onload="this.onload=null;this.rel='stylesheet'" media='all' />
</noscript><link data-minify="1" rel='preload' href='https://thesleepdoctor.com/wp-content/cache/min/1/wp-content/themes/sleep-doctor/style.css?ver=1634241205' data-rocket-async="style" as="style" onload="this.onload=null;this.rel='stylesheet'" media='all' />
<link rel='preload' href='https://thesleepdoctor.com/wp-content/themes/sleep-doctor/css/custom.min.css?ver=1.0.0' data-rocket-async="style" as="style" onload="this.onload=null;this.rel='stylesheet'" media='all' />
<link rel='preload' href='https://thesleepdoctor.com/wp-content/themes/sleep-doctor/css/moby.min.css?ver=1.0.0' data-rocket-async="style" as="style" onload="this.onload=null;this.rel='stylesheet'" media='all' />
<style id='rocket-lazyload-inline-css'>
.rll-youtube-player{position:relative;padding-bottom:56.23%;height:0;overflow:hidden;max-width:100%;}.rll-youtube-player iframe{position:absolute;top:0;left:0;width:100%;height:100%;z-index:100;background:0 0}.rll-youtube-player img{bottom:0;display:block;left:0;margin:auto;max-width:100%;width:100%;position:absolute;right:0;top:0;border:none;height:auto;cursor:pointer;-webkit-transition:.4s all;-moz-transition:.4s all;transition:.4s all}.rll-youtube-player img:hover{-webkit-filter:brightness(75%)}.rll-youtube-player .play{height:72px;width:72px;left:50%;top:50%;margin-left:-36px;margin-top:-36px;position:absolute;background:url(https://thesleepdoctor.com/wp-content/plugins/wp-rocket/assets/img/youtube.png) no-repeat;cursor:pointer}
</style>
<script src='https://thesleepdoctor.com/wp-includes/js/jquery/jquery.min.js?ver=3.6.0' id='jquery-core-js' defer></script>
<script src='https://thesleepdoctor.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2' id='jquery-migrate-js' defer></script>
<link rel="https://api.w.org/" href="https://thesleepdoctor.com/wp-json/" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://thesleepdoctor.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://thesleepdoctor.com/wp-includes/wlwmanifest.xml" />
<style type="text/css" data-source="Grow Social by Mediavine">
				@media screen and ( max-width : 720px ) {
					.dpsp-content-wrapper.dpsp-hide-on-mobile,
					.dpsp-share-text.dpsp-hide-on-mobile,
					.dpsp-content-wrapper .dpsp-network-label {
						display: none;
					}
					.dpsp-has-spacing .dpsp-networks-btns-wrapper li {
						margin:0 2% 10px 0;
					}
					.dpsp-network-btn.dpsp-has-label:not(.dpsp-has-count) {
						max-height: 40px;
						padding: 0;
						justify-content: center;
					}
					.dpsp-content-wrapper.dpsp-size-small .dpsp-network-btn.dpsp-has-label:not(.dpsp-has-count){
						max-height: 32px;
					}
					.dpsp-content-wrapper.dpsp-size-large .dpsp-network-btn.dpsp-has-label:not(.dpsp-has-count){
						max-height: 46px;
					}
				}
			</style><link rel="preload" href="https://thesleepdoctor.com/wp-content/plugins/bloom/core/admin/fonts/modules.ttf" as="font" crossorigin="anonymous"><script type="rocketlazyloadscript" data-rocket-type="text/javascript">
setTimeout(function(){var a=document.createElement("script");
var b=document.getElementsByTagName("script")[0];
a.src=document.location.protocol+"//script.crazyegg.com/pages/scripts/0067/5170.js?"+Math.floor(new Date().getTime()/3600000);
a.async=true;a.type="text/javascript";b.parentNode.insertBefore(a,b)}, 1);
</script><link rel="icon" href="https://thesleepdoctor.com/wp-content/uploads/2021/02/cropped-cropped-favicon-1-32x32.png" sizes="32x32" />
<link rel="icon" href="https://thesleepdoctor.com/wp-content/uploads/2021/02/cropped-cropped-favicon-1-192x192.png" sizes="192x192" />
<link rel="apple-touch-icon" href="https://thesleepdoctor.com/wp-content/uploads/2021/02/cropped-cropped-favicon-1-180x180.png" />
<meta name="msapplication-TileImage" content="https://thesleepdoctor.com/wp-content/uploads/2021/02/cropped-cropped-favicon-1-270x270.png" />
<noscript><style id="rocket-lazyload-nojs-css">.rll-youtube-player, [data-lazy-src]{display:none !important;}</style></noscript><script type="rocketlazyloadscript">
/*! loadCSS rel=preload polyfill. [c]2017 Filament Group, Inc. MIT License */
(function(w){"use strict";if(!w.loadCSS){w.loadCSS=function(){}}
var rp=loadCSS.relpreload={};rp.support=(function(){var ret;try{ret=w.document.createElement("link").relList.supports("preload")}catch(e){ret=!1}
return function(){return ret}})();rp.bindMediaToggle=function(link){var finalMedia=link.media||"all";function enableStylesheet(){link.media=finalMedia}
if(link.addEventListener){link.addEventListener("load",enableStylesheet)}else if(link.attachEvent){link.attachEvent("onload",enableStylesheet)}
setTimeout(function(){link.rel="stylesheet";link.media="only x"});setTimeout(enableStylesheet,3000)};rp.poly=function(){if(rp.support()){return}
var links=w.document.getElementsByTagName("link");for(var i=0;i<links.length;i++){var link=links[i];if(link.rel==="preload"&&link.getAttribute("as")==="style"&&!link.getAttribute("data-loadcss")){link.setAttribute("data-loadcss",!0);rp.bindMediaToggle(link)}}};if(!rp.support()){rp.poly();var run=w.setInterval(rp.poly,500);if(w.addEventListener){w.addEventListener("load",function(){rp.poly();w.clearInterval(run)})}else if(w.attachEvent){w.attachEvent("onload",function(){rp.poly();w.clearInterval(run)})}}
if(typeof exports!=="undefined"){exports.loadCSS=loadCSS}
else{w.loadCSS=loadCSS}}(typeof global!=="undefined"?global:this))
</script>
<script type="rocketlazyloadscript">
        (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
                new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
            j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
            'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
        })(window,document,'script','dataLayer','GTM-MM6BGW4');
    </script>

<script type="rocketlazyloadscript">
        !function(f,b,e,v,n,t,s)
        {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
            n.callMethod.apply(n,arguments):n.queue.push(arguments)};
            if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
            n.queue=[];t=b.createElement(e);t.async=!0;
            t.src=v;s=b.getElementsByTagName(e)[0];
            s.parentNode.insertBefore(t,s)}(window,document,'script',
            'https://connect.facebook.net/en_US/fbevents.js');
        fbq('init', '1116869848438214');
        fbq('track', 'PageView');
    </script><noscript><img height="1" src="https://www.facebook.com/tr?id=1116869848438214&ev=PageView&noscript=1" width="1"></noscript>


<script type="rocketlazyloadscript">
        !function(f,b,e,v,n,t,s)
        {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
            n.callMethod.apply(n,arguments):n.queue.push(arguments)};
            if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
            n.queue=[];t=b.createElement(e);t.async=!0;
            t.src=v;s=b.getElementsByTagName(e)[0];
            s.parentNode.insertBefore(t,s)}(window, document,'script',
            'https://connect.facebook.net/en_US/fbevents.js');
        fbq('init', '318709708764663');
        fbq('track', 'PageView');
    </script> <noscript><img height="1" src="https://www.facebook.com/tr?id=318709708764663&ev=PageView&noscript=1" style="display:none" width="1"></noscript> 
<meta content="jUoi_s6tw-O7UcVp79wxZ2BPLH1PQQeW2kCpTLkrDeI" name="google-site-verification">
<script type="rocketlazyloadscript">

        !function(f,b,e,v,n,t,s)

        {if(f.fbq)return;n=f.fbq=function(){n.callMethod?

            n.callMethod.apply(n,arguments):n.queue.push(arguments)};

            if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';

            n.queue=[];t=b.createElement(e);t.async=!0;

            t.src=v;s=b.getElementsByTagName(e)[0];

            s.parentNode.insertBefore(t,s)}(window,document,'script',

            'https://connect.facebook.net/en_US/fbevents.js');

        fbq('init', '574129606868723');

        fbq('track', 'PageView');

    </script> <noscript><img height="1" src="https://www.facebook.com/tr?id=574129606868723&ev=PageView&noscript=1" width="1"></noscript>


<script type="rocketlazyloadscript">
        !function(f,b,e,v,n,t,s)
        {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
            n.callMethod.apply(n,arguments):n.queue.push(arguments)};
            if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
            n.queue=[];t=b.createElement(e);t.async=!0;
            t.src=v;s=b.getElementsByTagName(e)[0];
            s.parentNode.insertBefore(t,s)}(window, document,'script',
            'https://connect.facebook.net/en_US/fbevents.js');
        fbq('init', '1782906948637992');
        fbq('track', 'PageView');
    </script>
<noscript><img height="1" width="1" style="display:none"
                   src="https://www.facebook.com/tr?id=1782906948637992&ev=PageView&noscript=1"
        /></noscript>

<meta content="“74F35920BAF8425D85928895B0289550&quot;" name="“msvalidate.01”">
<meta content="‘UG5tUlAyd0pYNTRDdjBzamlHRXJxc05pY3JLTUkrNXZydktKZmtWc20rOD01’" name="‘dmca-site-verification’">
<link data-minify="1" rel="preload" href="https://thesleepdoctor.com/wp-content/cache/min/1/wp-content/themes/sleep-doctor/css/jquery.ihavecookies.css?ver=1634241205" data-rocket-async="style" as="style" onload="this.onload=null;this.rel='stylesheet'">
</head>
<body class="blog et_bloom hfeed elementor-default elementor-kit-13350">

<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MM6BGW4"
                      height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>

<div id="page" class="site">
<a class="skip-link screen-reader-text" href="#primary">Skip to content</a>
<header id="masthead" class="site-header">
<div class="top-header">
<div class="container">
<div class="d-flex justify-content-between align-items-center">
<div>
<a href="https://thesleepdoctor.com">
<img width="230" height="65" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20230%2065'%3E%3C/svg%3E" alt="The Sleep Doctor Logo" data-lazy-src="https://thesleepdoctor.com/wp-content/themes/sleep-doctor/images/header-logo.png"><noscript><img width="230" height="65" src="https://thesleepdoctor.com/wp-content/themes/sleep-doctor/images/header-logo.png" alt="The Sleep Doctor Logo"></noscript>
</a>
</div>
<div>
<div class="social-buttons">
<a href="https://www.facebook.com/thesleepdoctor/" target="_blank">
<img width="30" height="30" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2030%2030'%3E%3C/svg%3E" data-lazy-src="https://thesleepdoctor.com/wp-content/themes/sleep-doctor/images/facebook.png"><noscript><img width="30" height="30" src="https://thesleepdoctor.com/wp-content/themes/sleep-doctor/images/facebook.png"></noscript>
</a>
<a href="https://twitter.com/thesleepdoctor/" target="_blank">
<img width="30" height="30" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2030%2030'%3E%3C/svg%3E" data-lazy-src="https://thesleepdoctor.com/wp-content/themes/sleep-doctor/images/twitter.png"><noscript><img width="30" height="30" src="https://thesleepdoctor.com/wp-content/themes/sleep-doctor/images/twitter.png"></noscript>
</a>
<a href="https://www.instagram.com/thesleepdoctor/" target="_blank">
<img width="30" height="30" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2030%2030'%3E%3C/svg%3E" data-lazy-src="https://thesleepdoctor.com/wp-content/themes/sleep-doctor/images/instagram.png"><noscript><img width="30" height="30" src="https://thesleepdoctor.com/wp-content/themes/sleep-doctor/images/instagram.png"></noscript>
</a>
<a href="https://www.youtube.com/TheSleepDoctorMichaelBreus" target="_blank">
<img width="30" height="30" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2030%2030'%3E%3C/svg%3E" data-lazy-src="https://thesleepdoctor.com/wp-content/themes/sleep-doctor/images/youtube.png"><noscript><img width="30" height="30" src="https://thesleepdoctor.com/wp-content/themes/sleep-doctor/images/youtube.png"></noscript>
</a>
</div>
<a id="moby-button">
<span>Menu</span>
</a>
</div>
</div>
</div>
</div>
<div class="bottom-header">
<div class="container">
<nav id="site-navigation" class="main-navigation">
<div class="menu-amp-menu-container"><ul id="primary-menu" class="menu"><li id="menu-item-13419" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-13419"><a href="https://thesleepdoctor.com/sleep-resources/">Sleep Resources</a>
<ul class="sub-menu">
<li id="menu-item-14026" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14026"><a href="https://thesleepdoctor.com/how-to-sleep-better/">How to Sleep Better</a></li>
<li id="menu-item-12512" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-12512"><a href="https://thesleepdoctor.com/sleep-disorders-2/">Sleep Disorders</a></li>
<li id="menu-item-13420" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13420"><a href="/mattress-home-page/">Best Mattresses</a></li>
<li id="menu-item-13421" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13421"><a href="https://thesleepdoctor.com/sleep-quizzes/">Sleep Quizzes</a></li>
<li id="menu-item-12509" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-12509"><a href="https://thesleepdoctor.com/snoring/">Snoring</a></li>
<li id="menu-item-13422" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13422"><a href="https://thesleepdoctor.com/how-to-sleep-better/sleep-calculator/">Sleep Calculator</a></li>
<li id="menu-item-13423" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13423"><a href="https://thesleepdoctor.com/products/books/free-ebooks/">Free Ebooks</a></li>
<li id="menu-item-13424" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13424"><a href="/natural-sleep-aid/">Natural Sleep Aids</a></li>
<li id="menu-item-13425" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13425"><a href="/sleep-supplements/">Supplements</a></li>
</ul>
</li>
<li id="menu-item-12504" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-12504"><a href="https://thesleepdoctor.com/about/">About</a></li>
<li id="menu-item-12505" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-12505"><a href="https://thesleepdoctor.com/media/">Media</a></li>
<li id="menu-item-12506" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-12506"><a href="https://thesleepdoctor.com/speaking/">Speaking</a></li>
<li id="menu-item-12513" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-731 current_page_item current_page_parent menu-item-12513"><a href="https://thesleepdoctor.com/blog/" aria-current="page">Blog</a></li>
<li id="menu-item-12508" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-12508"><a href="https://thesleepdoctor.com/contact/">Contact</a></li>
<li id="menu-item-13426" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13426"><a href="/products/resources/recommended-products/">Shop Products</a></li>
<li id="menu-item-13427" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13427"><a target="_blank" rel="noopener" href="https://www.amazon.com/stores/page/B3DB6EA0-2385-46D2-9A28-4795D9722077?channel=thesleepdoctorweb">Try Sleep Doctor PM</a></li>
</ul></div> </nav>
</div>
</div>
<div class="mobify-menu">
<div class="menu-mobile-menu-container"><ul id="menu-mobile-menu" class="menu"><li id="menu-item-13396" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-13396"><a href="https://thesleepdoctor.com/sleep-resources/">Sleep Resources</a>
<ul class="sub-menu">
<li id="menu-item-13397" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13397"><a href="https://thesleepdoctor.com/how-to-sleep-better/">How to Sleep Better</a></li>
<li id="menu-item-13398" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13398"><a href="https://thesleepdoctor.com/sleep-disorders-2/">Sleep Disorders</a></li>
<li id="menu-item-13399" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13399"><a href="https://thesleepdoctor.com/mattress-home-page/">Best Mattresses</a></li>
<li id="menu-item-13400" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13400"><a href="https://thesleepdoctor.com/sleep-quizzes/">Sleep Quizzes</a></li>
<li id="menu-item-13401" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13401"><a href="https://thesleepdoctor.com/snoring/">Snoring</a></li>
<li id="menu-item-13402" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13402"><a href="https://thesleepdoctor.com/how-to-sleep-better/sleep-calculator/">Sleep Calculator</a></li>
<li id="menu-item-13403" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13403"><a href="/products/books/free-ebooks/">Free Ebooks</a></li>
<li id="menu-item-13404" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13404"><a href="/natural-sleep-aid/">Natural Sleep Aids</a></li>
<li id="menu-item-13405" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13405"><a href="/sleep-supplements/">Sleep Supplements</a></li>
</ul>
</li>
<li id="menu-item-13406" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13406"><a href="https://thesleepdoctor.com/about/">About</a></li>
<li id="menu-item-13407" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13407"><a href="https://thesleepdoctor.com/media/media-gallery/">Media Gallery</a></li>
<li id="menu-item-13408" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13408"><a href="/speaking/">Speaking</a></li>
<li id="menu-item-13409" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-731 current_page_item current_page_parent menu-item-13409"><a href="https://thesleepdoctor.com/blog/" aria-current="page">Blog</a></li>
<li id="menu-item-13410" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13410"><a href="https://thesleepdoctor.com/contact/">Contact</a></li>
<li id="menu-item-13411" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13411"><a href="/products/resources/recommended-products/">Shop Products</a></li>
<li id="menu-item-13412" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13412"><a target="_blank" rel="noopener" href="https://www.trysleepdoctorpm.com/">Try Sleep Doctor PM</a></li>
</ul></div> </div>
</header>
<div data-bg="https://thesleepdoctor.com/wp-content/uploads/2021/02/freddy-castro-u3ajSXhZM_U-unsplash_resize.jpg" class="custom-header-area rocket-lazyload" style="">
<div class="d-flex justify-content-center"><h1>Blog</h1></div>
</div>
<div class="container">
<div class="inner-wrapper">
<div class="row">
<div class="col-md-9">
<main id="primary" class="site-main">

<div class="mt-4">
<p id="breadcrumbs"><span><span><a href="https://thesleepdoctor.com/">Home</a>   ›   <span class="breadcrumb_last" aria-current="page">Blog</span></span></span></p> </div>

<div class="entry-content">
</div>
<div class="row">
<div class="col-lg-4 d-flex align-items-stretch">
<div class="card mb-4">
<img width="2048" height="1365" class="card-img-top" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%202048%201365'%3E%3C/svg%3E" alt="Image thumbnail for Blog Post: What is Sleep Inertia? How to Get Rid of That Morning Grogginess" data-lazy-src="https://thesleepdoctor.com/wp-content/uploads/2021/10/Tired-woman-laying-in-bed-scaled.jpg"><noscript><img width="2048" height="1365" class="card-img-top" src="https://thesleepdoctor.com/wp-content/uploads/2021/10/Tired-woman-laying-in-bed-scaled.jpg" alt="Image thumbnail for Blog Post: What is Sleep Inertia? How to Get Rid of That Morning Grogginess"></noscript>
 <div class="card-body d-flex flex-column">
<h5 class="card-title tsdBlogTitle mb-3">What is Sleep Inertia? How to Get Rid of That Morning Grogginess</h5>
<a href="https://thesleepdoctor.com/2021/10/15/sleep-inertia/" class="custom-button stretched-link mt-auto">Read More</a>
</div>
</div>
</div>
<div class="col-lg-4 d-flex align-items-stretch">
<div class="card mb-4">
<img width="2048" height="1365" class="card-img-top" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%202048%201365'%3E%3C/svg%3E" alt="Image thumbnail for Blog Post: Can&#8217;t Sleep While Traveling? How to Get Great Sleep When You&#8217;re Away From Home" data-lazy-src="https://thesleepdoctor.com/wp-content/uploads/2021/10/Man-sleeping-in-modern-hotel-room-scaled.jpg"><noscript><img width="2048" height="1365" class="card-img-top" src="https://thesleepdoctor.com/wp-content/uploads/2021/10/Man-sleeping-in-modern-hotel-room-scaled.jpg" alt="Image thumbnail for Blog Post: Can&#8217;t Sleep While Traveling? How to Get Great Sleep When You&#8217;re Away From Home"></noscript>
<div class="card-body d-flex flex-column">
<h5 class="card-title tsdBlogTitle mb-3">Can&#8217;t Sleep While Traveling? How to Get Great Sleep When You&#8217;re Away From Home</h5>
<a href="https://thesleepdoctor.com/2021/10/08/great-sleep-travel/" class="custom-button stretched-link mt-auto">Read More</a>
</div>
</div>
</div>
<div class="col-lg-4 d-flex align-items-stretch">
<div class="card mb-4">
<img width="2048" height="1366" class="card-img-top" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%202048%201366'%3E%3C/svg%3E" alt="Image thumbnail for Blog Post: What’s the Best Mattress for Heavy People?" data-lazy-src="https://thesleepdoctor.com/wp-content/uploads/2020/10/AdobeStock_89693047-scaled.jpeg"><noscript><img width="2048" height="1366" class="card-img-top" src="https://thesleepdoctor.com/wp-content/uploads/2020/10/AdobeStock_89693047-scaled.jpeg" alt="Image thumbnail for Blog Post: What’s the Best Mattress for Heavy People?"></noscript>
<div class="card-body d-flex flex-column">
<h5 class="card-title tsdBlogTitle mb-3">What’s the Best Mattress for Heavy People?</h5>
<a href="https://thesleepdoctor.com/2021/10/05/best-mattress-for-heavy-people/" class="custom-button stretched-link mt-auto">Read More</a>
</div>
</div>
</div>
</div><div class="row">
<div class="col-lg-4 d-flex align-items-stretch">
<div class="card mb-4">
<img width="795" height="497" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20795%20497'%3E%3C/svg%3E" class="card-img-top" alt="Image thumbnail for Blog Post: Let The Sleep Doctor Help You Find the Best Latex Mattress for Your Sleep Needs" data-lazy-srcset="https://thesleepdoctor.com/wp-content/uploads/2020/10/saatva-latex-hybrid-tsd.jpg 795w, https://thesleepdoctor.com/wp-content/uploads/2020/10/saatva-latex-hybrid-tsd-300x188-1.jpg 300w, https://thesleepdoctor.com/wp-content/uploads/2020/10/saatva-latex-hybrid-tsd-768x480-1.jpg 768w, https://thesleepdoctor.com/wp-content/uploads/2020/10/saatva-latex-hybrid-tsd-610x381-1.jpg 610w, https://thesleepdoctor.com/wp-content/uploads/2020/10/saatva-latex-hybrid-tsd-400x250.png 400w" data-lazy-sizes="(max-width: 795px) 100vw, 795px" data-lazy-src="https://thesleepdoctor.com/wp-content/uploads/2020/10/saatva-latex-hybrid-tsd.jpg" /><noscript><img width="795" height="497" src="https://thesleepdoctor.com/wp-content/uploads/2020/10/saatva-latex-hybrid-tsd.jpg" class="card-img-top" alt="Image thumbnail for Blog Post: Let The Sleep Doctor Help You Find the Best Latex Mattress for Your Sleep Needs" srcset="https://thesleepdoctor.com/wp-content/uploads/2020/10/saatva-latex-hybrid-tsd.jpg 795w, https://thesleepdoctor.com/wp-content/uploads/2020/10/saatva-latex-hybrid-tsd-300x188-1.jpg 300w, https://thesleepdoctor.com/wp-content/uploads/2020/10/saatva-latex-hybrid-tsd-768x480-1.jpg 768w, https://thesleepdoctor.com/wp-content/uploads/2020/10/saatva-latex-hybrid-tsd-610x381-1.jpg 610w, https://thesleepdoctor.com/wp-content/uploads/2020/10/saatva-latex-hybrid-tsd-400x250.png 400w" sizes="(max-width: 795px) 100vw, 795px" /></noscript> <div class="card-body d-flex flex-column">
<h5 class="card-title tsdBlogTitle mb-3">Let The Sleep Doctor Help You Find the Best Latex Mattress for Your Sleep Needs</h5>
<a href="https://thesleepdoctor.com/2021/10/05/best-latex-mattress/" class="custom-button stretched-link mt-auto">Read More</a>
</div>
</div>
</div>
<div class="col-lg-4 d-flex align-items-stretch">
<div class="card mb-4">
<img width="2048" height="1365" class="card-img-top" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%202048%201365'%3E%3C/svg%3E" alt="Image thumbnail for Blog Post: Can A Light Sleeper Become A Deep Sleeper? 4 Tips for Deeper Sleep" data-lazy-src="https://thesleepdoctor.com/wp-content/uploads/2021/09/Man-lays-awake-in-bed-at-night-while-partner-sleeps-scaled.jpg"><noscript><img width="2048" height="1365" class="card-img-top" src="https://thesleepdoctor.com/wp-content/uploads/2021/09/Man-lays-awake-in-bed-at-night-while-partner-sleeps-scaled.jpg" alt="Image thumbnail for Blog Post: Can A Light Sleeper Become A Deep Sleeper? 4 Tips for Deeper Sleep"></noscript>
<div class="card-body d-flex flex-column">
<h5 class="card-title tsdBlogTitle mb-3">Can A Light Sleeper Become A Deep Sleeper? 4 Tips for Deeper Sleep</h5>
<a href="https://thesleepdoctor.com/2021/10/01/light-sleeper-deep-sleep-tips/" class="custom-button stretched-link mt-auto">Read More</a>
</div>
</div>
</div>
<div class="col-lg-4 d-flex align-items-stretch">
<div class="card mb-4">
<img width="2048" height="1367" class="card-img-top" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%202048%201367'%3E%3C/svg%3E" alt="Image thumbnail for Blog Post: Do Older People Need Less Sleep? 7 Ways for Seniors to Sleep Better Tonight" data-lazy-src="https://thesleepdoctor.com/wp-content/uploads/2021/09/Senior-couple-sleeping-peacefully-in-bed-scaled.jpg"><noscript><img width="2048" height="1367" class="card-img-top" src="https://thesleepdoctor.com/wp-content/uploads/2021/09/Senior-couple-sleeping-peacefully-in-bed-scaled.jpg" alt="Image thumbnail for Blog Post: Do Older People Need Less Sleep? 7 Ways for Seniors to Sleep Better Tonight"></noscript>
<div class="card-body d-flex flex-column">
<h5 class="card-title tsdBlogTitle mb-3">Do Older People Need Less Sleep? 7 Ways for Seniors to Sleep Better Tonight</h5>
<a href="https://thesleepdoctor.com/2021/09/24/do-older-people-need-less-sleep/" class="custom-button stretched-link mt-auto">Read More</a>
</div>
</div>
</div>
</div><div class="row">
<div class="col-lg-4 d-flex align-items-stretch">
<div class="card mb-4">
<img width="2048" height="1536" class="card-img-top" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%202048%201536'%3E%3C/svg%3E" alt="Image thumbnail for Blog Post: Feeling Overwhelmed? How to Build Resilience with a Good Night&#8217;s Sleep" data-lazy-src="https://thesleepdoctor.com/wp-content/uploads/2021/09/Resilient-plant-growing-between-two-rocks-scaled.jpg"><noscript><img width="2048" height="1536" class="card-img-top" src="https://thesleepdoctor.com/wp-content/uploads/2021/09/Resilient-plant-growing-between-two-rocks-scaled.jpg" alt="Image thumbnail for Blog Post: Feeling Overwhelmed? How to Build Resilience with a Good Night&#8217;s Sleep"></noscript>
<div class="card-body d-flex flex-column">
<h5 class="card-title tsdBlogTitle mb-3">Feeling Overwhelmed? How to Build Resilience with a Good Night&#8217;s Sleep</h5>
<a href="https://thesleepdoctor.com/2021/09/17/build-resilience-sleep/" class="custom-button stretched-link mt-auto">Read More</a>
</div>
</div>
</div>
<div class="col-lg-4 d-flex align-items-stretch">
<div class="card mb-4">
<img width="2048" height="1367" class="card-img-top" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%202048%201367'%3E%3C/svg%3E" alt="Image thumbnail for Blog Post: How Sleep and Work Performance Are Connected + 5 Tips to Boost Both" data-lazy-src="https://thesleepdoctor.com/wp-content/uploads/2021/09/Tired-young-woman-sleeping-on-couch-after-work-scaled.jpg"><noscript><img width="2048" height="1367" class="card-img-top" src="https://thesleepdoctor.com/wp-content/uploads/2021/09/Tired-young-woman-sleeping-on-couch-after-work-scaled.jpg" alt="Image thumbnail for Blog Post: How Sleep and Work Performance Are Connected + 5 Tips to Boost Both"></noscript>
<div class="card-body d-flex flex-column">
<h5 class="card-title tsdBlogTitle mb-3">How Sleep and Work Performance Are Connected + 5 Tips to Boost Both</h5>
<a href="https://thesleepdoctor.com/2021/09/10/sleep-work-performance-5-tips/" class="custom-button stretched-link mt-auto">Read More</a>
</div>
</div>
</div>
<div class="col-lg-4 d-flex align-items-stretch">
<div class="card mb-4">
<img width="1080" height="720" class="card-img-top" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201080%20720'%3E%3C/svg%3E" alt="Image thumbnail for Blog Post: Sharing the Bed? 7 Ways to Get Great Sleep with a Bed Partner" data-lazy-src="https://thesleepdoctor.com/wp-content/uploads/2021/09/Happy-couple-relaxing-in-bed-at-home.jpg"><noscript><img width="1080" height="720" class="card-img-top" src="https://thesleepdoctor.com/wp-content/uploads/2021/09/Happy-couple-relaxing-in-bed-at-home.jpg" alt="Image thumbnail for Blog Post: Sharing the Bed? 7 Ways to Get Great Sleep with a Bed Partner"></noscript>
<div class="card-body d-flex flex-column">
<h5 class="card-title tsdBlogTitle mb-3">Sharing the Bed? 7 Ways to Get Great Sleep with a Bed Partner</h5>
<a href="https://thesleepdoctor.com/2021/09/03/sharing-bed-7-tips/" class="custom-button stretched-link mt-auto">Read More</a>
</div>
</div>
</div>
<nav class="navigation posts-navigation" role="navigation" aria-label="Posts">
<h2 class="screen-reader-text">Posts navigation</h2>
<div class="nav-links"><div class="nav-previous"><a href="https://thesleepdoctor.com/blog/page/2/">Older posts</a></div></div>
</nav>
</main>
</div>
<div class="col-md-3 custom-sidebar">
<div class="mb-3 custom-search-form">
<h2 class="widget-title">Search</h2>
<form role="search" method="get" class="search-form" action="https://thesleepdoctor.com/">
<label>
<span class="screen-reader-text">Search for:</span>
<input type="search" class="search-field" placeholder="Search &hellip;" value="" name="s" />
</label>
<input type="submit" class="search-submit" value="Search" />
</form> </div>
<aside id="secondary" class="widget-area">
<section id="tsd_widget_posts_by_category-2" class="widget widget_tsd_widget_posts_by_category"> <div class="recent-posts-sidebar">
<div class="recent-post-item">
<a href="https://thesleepdoctor.com/2021/10/15/sleep-inertia/">
<img width="2048" height="1365" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%202048%201365'%3E%3C/svg%3E" alt="What is Sleep Inertia? How to Get Rid of That Morning Grogginess" data-lazy-src="https://thesleepdoctor.com/wp-content/uploads/2021/10/Tired-woman-laying-in-bed-scaled.jpg"><noscript><img width="2048" height="1365" src="https://thesleepdoctor.com/wp-content/uploads/2021/10/Tired-woman-laying-in-bed-scaled.jpg" alt="What is Sleep Inertia? How to Get Rid of That Morning Grogginess" ></noscript>
<p>What is Sleep Inertia? How to Get Rid of That Morning Grogginess</p>
</a>
</div>
<div class="recent-post-item">
<a href="https://thesleepdoctor.com/2021/10/08/great-sleep-travel/">
<img width="2048" height="1365" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%202048%201365'%3E%3C/svg%3E" alt="Can&#8217;t Sleep While Traveling? How to Get Great Sleep When You&#8217;re Away From Home" data-lazy-src="https://thesleepdoctor.com/wp-content/uploads/2021/10/Man-sleeping-in-modern-hotel-room-scaled.jpg"><noscript><img width="2048" height="1365" src="https://thesleepdoctor.com/wp-content/uploads/2021/10/Man-sleeping-in-modern-hotel-room-scaled.jpg" alt="Can&#8217;t Sleep While Traveling? How to Get Great Sleep When You&#8217;re Away From Home" ></noscript>
<p>Can&#8217;t Sleep While Traveling? How to Get Great Sleep When You&#8217;re Away From Home</p>
</a>
</div>
 <div class="recent-post-item">
<a href="https://thesleepdoctor.com/2021/10/05/best-mattress-for-heavy-people/">
<img width="2048" height="1366" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%202048%201366'%3E%3C/svg%3E" alt="What’s the Best Mattress for Heavy People?" data-lazy-src="https://thesleepdoctor.com/wp-content/uploads/2020/10/AdobeStock_89693047-scaled.jpeg"><noscript><img width="2048" height="1366" src="https://thesleepdoctor.com/wp-content/uploads/2020/10/AdobeStock_89693047-scaled.jpeg" alt="What’s the Best Mattress for Heavy People?" ></noscript>
<p>What’s the Best Mattress for Heavy People?</p>
</a>
</div>
</div>
</section></aside> </div>
</div>
</div>
</div>
<footer id="colophon" class="site-footer">
<div class="container">
<div class="d-lg-flex justify-content-between">
<div>
<a href="https://thesleepdoctor.com">
<img width="345" height="98" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20345%2098'%3E%3C/svg%3E" alt="The Sleep Doctor Logo" data-lazy-src="https://thesleepdoctor.com/wp-content/themes/sleep-doctor/images/footer-logo.png"><noscript><img width="345" height="98" src="https://thesleepdoctor.com/wp-content/themes/sleep-doctor/images/footer-logo.png" alt="The Sleep Doctor Logo"></noscript>
</a>
</div>
<div class="right-side">
<h6>Join Our Newsletter</h6>
<div class="footer-newsletter">
<div class="et_bloom_inline_form et_bloom_optin et_bloom_make_form_visible et_bloom_optin_1" style="display: none;">
<style type="text/css">.et_bloom .et_bloom_optin_1 .et_bloom_form_content { background-color: #132b68 !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container .et_bloom_form_header { background-color: #e5e5e5 !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #009cea !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_fields i { color: #009cea !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_custom_field_radio i:before { background: #009cea !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #009cea !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 strong { font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif; }.et_bloom .et_bloom_optin_1 .et_bloom_form_container p, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p strong, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form input, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form button span { font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif; } .et_bloom .et_bloom_form_container .et_bloom_form_content {padding:0!important;} .et_bloom .et_bloom_form_container .et_bloom_form_header {padding:0!important;} .et_bloom .et_bloom_form_header .et_bloom_form_text {padding-left:0!important;} .et_bloom .et_bloom_form_header h2 {font-weight:normal!important;} .et_bloom .et_bloom_inline_form {margin:0!important;}</style>
<div class="et_bloom_form_container  et_bloom_rounded et_bloom_form_text_dark et_bloom_form_bottom et_bloom_inline_2_fields">
<div class="et_bloom_form_container_wrapper clearfix">
<div class="et_bloom_header_outer">
<div class="et_bloom_form_header et_bloom_header_text_light">
</div>
</div>
<div class="et_bloom_form_content et_bloom_2_fields et_bloom_bottom_inline">
<form method="post" class="clearfix">
<div class="et_bloom_fields">
<p class="et_bloom_popup_input et_bloom_subscribe_name">
<input placeholder="Name" maxlength="50">
</p>
<p class="et_bloom_popup_input et_bloom_subscribe_email">
<input placeholder="Email">
</p>
<button data-optin_id="optin_1" data-service="activecampaign" data-list_id="15" data-page_id="12895" data-account="SleepDoctor" data-ip_address="true" class="et_bloom_submit_subscription">
<span class="et_bloom_subscribe_loader"></span>
<span class="et_bloom_button_text et_bloom_button_text_color_light">Subscribe!</span>
</button>
</div>
</form>
<div class="et_bloom_success_container">
<span class="et_bloom_success_checkmark"></span>
</div>
<h2 class="et_bloom_success_message">You have Successfully Subscribed!</h2>
</div>
</div>
<span class="et_bloom_close_button"></span>
</div>
</div> </div>
<h6 class="mt-3">Quick Links</h6>
<div class="footer-menu">
<div class="menu-footer-menu-container"><ul id="menu-footer-menu" class="menu"><li id="menu-item-13413" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home menu-item-13413"><a href="https://thesleepdoctor.com/">Home</a></li>
<li id="menu-item-13414" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-731 current_page_item current_page_parent menu-item-13414"><a href="https://thesleepdoctor.com/blog/" aria-current="page">Blog</a></li>
<li id="menu-item-13415" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13415"><a href="https://thesleepdoctor.com/about/">About</a></li>
<li id="menu-item-13878" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13878"><a href="/media/media-gallery/">Media</a></li>
<li id="menu-item-13418" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13418"><a href="https://thesleepdoctor.com/snoring/">Snoring</a></li>
<li id="menu-item-13417" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13417"><a href="https://thesleepdoctor.com/sleep-resources/">Sleep Resources</a></li>
<li id="menu-item-8521" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-privacy-policy menu-item-8521"><a href="https://thesleepdoctor.com/about/privacy-policy/">Privacy Policy</a></li>
<li id="menu-item-8520" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-8520"><a href="https://thesleepdoctor.com/about/terms-of-service/">Terms of Service</a></li>
</ul></div> </div>
</div>
</div>
</div>
</footer>
</div>
<div id="mv-grow-data" data-settings='{&quot;general&quot;:{&quot;contentSelector&quot;:false},&quot;shareCounts&quot;:[],&quot;shouldRun&quot;:false,&quot;buttonSVG&quot;:{&quot;facebook&quot;:{&quot;height&quot;:32,&quot;width&quot;:18,&quot;paths&quot;:[&quot;M17.12 0.224v4.704h-2.784q-1.536 0-2.080 0.64t-0.544 1.92v3.392h5.248l-0.704 5.28h-4.544v13.568h-5.472v-13.568h-4.544v-5.28h4.544v-3.904q0-3.328 1.856-5.152t4.96-1.824q2.624 0 4.064 0.224z&quot;]},&quot;twitter&quot;:{&quot;height&quot;:32,&quot;width&quot;:30,&quot;paths&quot;:[&quot;M28.928 7.296q-1.184 1.728-2.88 2.976 0 0.256 0 0.736 0 2.336-0.672 4.64t-2.048 4.448-3.296 3.744-4.608 2.624-5.792 0.96q-4.832 0-8.832-2.592 0.608 0.064 1.376 0.064 4.032 0 7.168-2.464-1.888-0.032-3.36-1.152t-2.048-2.848q0.608 0.096 1.088 0.096 0.768 0 1.536-0.192-2.016-0.416-3.328-1.984t-1.312-3.68v-0.064q1.216 0.672 2.624 0.736-1.184-0.8-1.888-2.048t-0.704-2.752q0-1.568 0.8-2.912 2.176 2.656 5.248 4.256t6.656 1.76q-0.16-0.672-0.16-1.312 0-2.4 1.696-4.064t4.064-1.696q2.528 0 4.224 1.824 1.952-0.384 3.68-1.408-0.672 2.048-2.56 3.2 1.664-0.192 3.328-0.896z&quot;]},&quot;linkedin&quot;:{&quot;height&quot;:32,&quot;width&quot;:27,&quot;paths&quot;:[&quot;M6.24 11.168v17.696h-5.888v-17.696h5.888zM6.624 5.696q0 1.312-0.928 2.176t-2.4 0.864h-0.032q-1.472 0-2.368-0.864t-0.896-2.176 0.928-2.176 2.4-0.864 2.368 0.864 0.928 2.176zM27.424 18.72v10.144h-5.856v-9.472q0-1.888-0.736-2.944t-2.272-1.056q-1.12 0-1.856 0.608t-1.152 1.536q-0.192 0.544-0.192 1.44v9.888h-5.888q0.032-7.136 0.032-11.552t0-5.28l-0.032-0.864h5.888v2.56h-0.032q0.352-0.576 0.736-0.992t0.992-0.928 1.568-0.768 2.048-0.288q3.040 0 4.896 2.016t1.856 5.952z&quot;]},&quot;email&quot;:{&quot;height&quot;:32,&quot;width&quot;:28,&quot;paths&quot;:[&quot;M18.56 17.408l8.256 8.544h-25.248l8.288-8.448 4.32 4.064zM2.016 6.048h24.32l-12.16 11.584zM20.128 15.936l8.224-7.744v16.256zM0 24.448v-16.256l8.288 7.776z&quot;]}}}'></div>
<link data-minify="1" rel='preload' href='https://thesleepdoctor.com/wp-content/cache/min/1/wp-content/plugins/bloom/css/style.css?ver=1634241206' data-rocket-async="style" as="style" onload="this.onload=null;this.rel='stylesheet'" media='all' />
<script id='site_tracking-js-extra'>
var php_data = {"ac_settings":{"tracking_actid":89203144,"site_tracking_default":1},"user_email":""};
</script>
<script src='https://thesleepdoctor.com/wp-content/plugins/activecampaign-subscription-forms/site_tracking.js?ver=5.8.1' id='site_tracking-js' defer></script>
<script id='molongui-authorship-js-extra'>
var molongui_authorship = {"byline_prefix":"","byline_suffix":"","byline_separator":", ","byline_last_separator":" and ","byline_link_title":"View all posts by","byline_dom_tree":""};
</script>
<script src='https://thesleepdoctor.com/wp-content/plugins/molongui-authorship-pro/public/js/molongui-authorship-pro.b0d0.min.js?ver=1.1.17' id='molongui-authorship-js' defer></script>
<script id='rocket-browser-checker-js-after'>
"use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}();
</script>
<script id='rocket-preload-links-js-extra'>
var RocketPreloadLinksConfig = {"excludeUris":"\/(.+\/)?feed\/?.+\/?|\/(?:.+\/)?embed\/|\/(index\\.php\/)?wp\\-json(\/.*|$)|\/wp-admin\/|\/logout\/|\/wp-login.php","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|php|pdf|html|htm","siteUrl":"https:\/\/thesleepdoctor.com","onHoverDelay":"100","rateThrottle":"3"};
</script>
<script id='rocket-preload-links-js-after'>
(function() {
"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run();
}());
</script>
<script src='https://thesleepdoctor.com/wp-content/themes/sleep-doctor/js/moby.min.js?ver=1.0.0' id='moby-js' defer></script>
<script src='https://thesleepdoctor.com/wp-content/plugins/bloom/core/admin/js/common.js?ver=4.9.3' id='et-core-common-js' defer></script>
<script src='https://thesleepdoctor.com/wp-includes/js/wp-embed.min.js?ver=5.8.1' id='wp-embed-js' defer></script>
<script src='https://thesleepdoctor.com/wp-content/plugins/bloom/js/jquery.uniform.min.js?ver=1.3.12' id='et_bloom-uniform-js-js' defer></script>
<script id='et_bloom-custom-js-js-extra'>
var bloomSettings = {"ajaxurl":"https:\/\/thesleepdoctor.com\/wp-admin\/admin-ajax.php","pageurl":"","stats_nonce":"88de81f589","subscribe_nonce":"ca15829eba","is_user_logged_in":"not_logged"};
</script>
<script src='https://thesleepdoctor.com/wp-content/plugins/bloom/js/custom.js?ver=1.3.12' id='et_bloom-custom-js-js' defer></script>
<script src='https://thesleepdoctor.com/wp-content/plugins/bloom/js/idle-timer.min.js?ver=1.3.12' id='et_bloom-idle-timer-js-js' defer></script>
<script type="rocketlazyloadscript" data-rocket-type="text/javascript">
    (function(e){
    var t,r=e.getElementsByTagName("head")[0],c=e.location.protocol;
    t=e.createElement("script");t.type="text/javascript";
    t.charset="utf-8";t.async=!0;t.defer=!0;
    t.src="https://front.optimonk.com/public/12738/js/preload.js";r.appendChild(t);
})(document);
document.querySelector('html').addEventListener('optimonk#campaigns_initialized', function () {
    if (
      OptiMonk.campaigns &&
      !OptiMonk.campaigns.filter(campaign => campaign.hasVisitorCartRules()).length
    ) {
        return
    }

    var data = "url=" + encodeURIComponent(window.location.href) + "&referrer=" + encodeURIComponent(document.referrer);
    OptiMonk.ajax.post(data, "//thesleepdoctor.com/index.php?plugin=optimonk&action=cartData", OptiMonk.addResponseToHead)
});

</script>
<script type="rocketlazyloadscript" data-rocket-type="text/javascript">
    document.querySelector('html').addEventListener('optimonk#ready', function () {
    var adapter = OptiMonk.Visitor.createAdapter();
    adapter.attr("wp_source", "");
   adapter.attr("wp_referrer", "Direct");
   adapter.attr("wp_visitor_type", "logged out");
   adapter.attr("wp_visitor_login_status", "logged out");
   adapter.attr("wp_visitor_id", "0");
   adapter.attr("wp_page_title", "Blog - The Sleep Doctor");
   adapter.attr("wp_post_type", "post");
   adapter.attr("wp_post_type_with_prefix", "");
   adapter.attr("wp_post_categories", "");
   adapter.attr("wp_post_tags", "");
   adapter.attr("wp_post_author", "");
   adapter.attr("wp_post_full_date", "");
   adapter.attr("wp_post_year", "");
   adapter.attr("wp_post_month", "");
   adapter.attr("wp_post_day", "");
   adapter.attr("wp_is_front_page", "0");
   adapter.attr("wp_is_home", "1");
   adapter.attr("wp_search_query", "");
   adapter.attr("wp_search_results_count", "0");
});
</script>
<div data-m-brand="Molongui" data-m-id="Authorship" data-m-license="Pro" data-m-version="1.1.17"></div><div data-m-brand="Molongui" data-m-id="Authorship" data-m-license="Lite" data-m-version="4.3.10"></div><script>window.lazyLoadOptions={elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}};window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue}
if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue}
images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1}
if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)</script><script data-no-minify="1" async src="https://thesleepdoctor.com/wp-content/plugins/wp-rocket/assets/js/lazyload/16.1/lazyload.min.js"></script><script>function lazyLoadThumb(e){var t='<img loading="lazy" data-lazy-src="https://i.ytimg.com/vi/ID/hqdefault.jpg" alt="" width="480" height="360"><noscript><img src="https://i.ytimg.com/vi/ID/hqdefault.jpg" alt="" width="480" height="360"></noscript>',a='<div class="play"></div>';return t.replace("ID",e)+a}function lazyLoadYoutubeIframe(){var e=document.createElement("iframe"),t="ID?autoplay=1";t+=0===this.dataset.query.length?'':'&'+this.dataset.query;e.setAttribute("src",t.replace("ID",this.dataset.src)),e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen","1"),e.setAttribute("allow", "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),this.parentNode.replaceChild(e,this)}document.addEventListener("DOMContentLoaded",function(){var e,t,a=document.getElementsByClassName("rll-youtube-player");for(t=0;t<a.length;t++)e=document.createElement("div"),e.setAttribute("data-id",a[t].dataset.id),e.setAttribute("data-query", a[t].dataset.query),e.setAttribute("data-src", a[t].dataset.src),e.innerHTML=lazyLoadThumb(a[t].dataset.id),e.onclick=lazyLoadYoutubeIframe,a[t].appendChild(e)});</script>

<script type="rocketlazyloadscript" src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous" defer></script>
<script type="rocketlazyloadscript">window.addEventListener('DOMContentLoaded', function() {
	//Mobile Menu
	var mobyMenu = new Moby({
		breakpoint		 : 1024,
		enableEscape	 : true,
		menu             : jQuery('#menu-mobile-menu'),
		menuClass		 : 'right-side',
		mobyTrigger		 : jQuery("#moby-button"),
		overlay			 : true,
		overlayClass 	 : 'dark',
		subMenuOpenIcon  : '<span>&#x25BC;</span>',
		subMenuCloseIcon : '<span>&#x25B2;</span>',
		template         : '<div class="moby-wrap"><div class="moby-close"><span class="moby-close-icon"></span> Close Menu</div><div class="moby-menu"></div></div>'
	});

});</script>
<script src="/wp-content/themes/sleep-doctor/js/jquery.ihavecookies.js" defer="defer"></script>
<script type="rocketlazyloadscript">window.addEventListener('DOMContentLoaded', function() {
    jQuery(document).ready(function(){
        jQuery( window ).scroll(function(){
            var scrolledDown = jQuery(window).scrollTop();
            if(jQuery('body').hasClass('admin-bar')) {
                jQuery('#primary-menu .sub-menu').attr('style', 'top: ' + (177 - scrolledDown) + 'px !important');
            }
            else {
                jQuery('#primary-menu .sub-menu').attr('style', 'top: ' + (149 - scrolledDown) + 'px !important');
            }
        });
    });
});</script>
<script type="rocketlazyloadscript">"use strict";var wprRemoveCPCSS=function wprRemoveCPCSS(){var elem;document.querySelector('link[data-rocket-async="style"][rel="preload"]')?setTimeout(wprRemoveCPCSS,200):(elem=document.getElementById("rocket-critical-css"))&&"remove"in elem&&elem.remove()};window.addEventListener?window.addEventListener("load",wprRemoveCPCSS):window.attachEvent&&window.attachEvent("onload",wprRemoveCPCSS);</script><script>class RocketElementorAnimation{constructor(){this.deviceMode=document.createElement("span"),this.deviceMode.id="elementor-device-mode",this.deviceMode.setAttribute("class","elementor-screen-only"),document.body.appendChild(this.deviceMode)}_detectAnimations(){let t=getComputedStyle(this.deviceMode,":after").content.replace(/"/g,"");this.animationSettingKeys=this._listAnimationSettingsKeys(t),document.querySelectorAll(".elementor-invisible[data-settings]").forEach(t=>{const e=t.getBoundingClientRect();if(e.bottom>=0&&e.top<=window.innerHeight)try{this._animateElement(t)}catch(t){}})}_animateElement(t){const e=JSON.parse(t.dataset.settings),i=e._animation_delay||e.animation_delay||0,n=e[this.animationSettingKeys.find(t=>e[t])];if("none"===n)return void t.classList.remove("elementor-invisible");t.classList.remove(n),this.currentAnimation&&t.classList.remove(this.currentAnimation),this.currentAnimation=n;let s=setTimeout(()=>{t.classList.remove("elementor-invisible"),t.classList.add("animated",n),this._removeAnimationSettings(t,e)},i);window.addEventListener("rocket-startLoading",function(){clearTimeout(s)})}_listAnimationSettingsKeys(t="mobile"){const e=[""];switch(t){case"mobile":e.unshift("_mobile");case"tablet":e.unshift("_tablet");case"desktop":e.unshift("_desktop")}const i=[];return["animation","_animation"].forEach(t=>{e.forEach(e=>{i.push(t+e)})}),i}_removeAnimationSettings(t,e){this._listAnimationSettingsKeys().forEach(t=>delete e[t]),t.dataset.settings=JSON.stringify(e)}static run(){const t=new RocketElementorAnimation;requestAnimationFrame(t._detectAnimations.bind(t))}}document.addEventListener("DOMContentLoaded",RocketElementorAnimation.run);</script><noscript><link data-minify="1" href="https://thesleepdoctor.com/wp-content/cache/min/1/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css?ver=1634241205" rel="stylesheet" crossorigin="anonymous"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open%20Sans%3A400%2C700&#038;display=swap" /><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;900&#038;display=swap" /><link rel='stylesheet' id='wp-block-library-css'  href='https://thesleepdoctor.com/wp-includes/css/dist/block-library/style.min.css?ver=5.8.1' media='all' /><link data-minify="1" rel='stylesheet' id='activecampaign-form-block-css'  href='https://thesleepdoctor.com/wp-content/cache/min/1/wp-content/plugins/activecampaign-subscription-forms/activecampaign-form-block/build/style-index.css?ver=1634241205' media='all' /><link data-minify="1" rel='stylesheet' id='molongui-authorship-css'  href='https://thesleepdoctor.com/wp-content/cache/min/1/wp-content/plugins/molongui-authorship-pro/public/css/molongui-authorship-pro.ade3.min.css?ver=1634241205' media='all' /><link data-minify="1" rel='stylesheet' id='dpsp-frontend-style-pro-css'  href='https://thesleepdoctor.com/wp-content/cache/min/1/wp-content/plugins/social-pug/assets/dist/style-frontend-pro.1.19.1.css?ver=1634241205' media='all' /><link data-minify="1" rel='stylesheet' id='sleep-doctor-style-css'  href='https://thesleepdoctor.com/wp-content/cache/min/1/wp-content/themes/sleep-doctor/style.css?ver=1634241205' media='all' /><link rel='stylesheet' id='sleep-doctor-css-css'  href='https://thesleepdoctor.com/wp-content/themes/sleep-doctor/css/custom.min.css?ver=1.0.0' media='all' /><link rel='stylesheet' id='moby-css-css'  href='https://thesleepdoctor.com/wp-content/themes/sleep-doctor/css/moby.min.css?ver=1.0.0' media='all' /><link data-minify="1" rel="stylesheet" href="https://thesleepdoctor.com/wp-content/cache/min/1/wp-content/themes/sleep-doctor/css/jquery.ihavecookies.css?ver=1634241205"><link data-minify="1" rel='stylesheet' id='et_bloom-css-css'  href='https://thesleepdoctor.com/wp-content/cache/min/1/wp-content/plugins/bloom/css/style.css?ver=1634241206' media='all' /></noscript></body>
</html>
