/* Asset Direct Stage 3 stand-in layer (desktop parity only; Stage 4 owns look and the phone/tablet layouts).
   Live's DOM is #container-outer-bg > #container-outer > #container (1024px) holding .left (250) + .right (774), then #footer full width.
   Here: the two outer wrappers are body backgrounds, the Theme Builder header holds .left (a float that escapes the header region),
   each page's code module holds .right, the footer holds #footer + .vcard. */
body.ad-site { background: #282828 url(/wp-content/uploads/ilaunch/skin/images/container-outer.jpg) top center repeat-x; margin: 0; }
body.ad-site.ad-home { background-image: url(/wp-content/uploads/ilaunch/skin/images/container-outer-home.jpg); }
body.ad-site #page-container { padding-top: 0 !important; background: none; overflow: visible; }
body.ad-site #et-main-area, body.ad-site #main-content { background: none; }

/* Divi wrapper resets so live's markup owns the layout */
body.ad-site .et-l--header .et_pb_section, body.ad-site .et-l--footer .et_pb_section, body.ad-site #main-content .et_pb_section { padding: 0 !important; background: none; }
body.ad-site .et-l--header .et_pb_row, body.ad-site .et-l--footer .et_pb_row, body.ad-site #main-content .et_pb_row { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
body.ad-site .et_pb_column { float: none !important; margin: 0 !important; width: 100% !important; }
body.ad-site .et_pb_code { margin: 0 !important; }
body.ad-site .et_builder_inner_content, body.ad-site .et_pb_section, body.ad-site .et_pb_row, body.ad-site .et_pb_column { z-index: auto !important; }
/* the header holds only the floated left column: no clearfix may swallow it */
body.ad-site .et-l--header::before, body.ad-site .et-l--header::after,
body.ad-site .et-l--header :is(.et_builder_inner_content, .et_pb_section, .et_pb_row, .et_pb_column, .et_pb_module, .et_pb_code_inner)::before,
body.ad-site .et-l--header :is(.et_builder_inner_content, .et_pb_section, .et_pb_row, .et_pb_column, .et_pb_module, .et_pb_code_inner)::after { display: none !important; }
body.ad-site #main-content .container { width: auto; max-width: none; padding: 0 !important; }
body.ad-site #main-content .container::before { display: none; }
body.ad-site #left-area { width: 100% !important; float: none !important; padding: 0 !important; }
body.ad-site #sidebar { display: none; }
body.ad-site #content-area::after, body.ad-site .entry-content::after { display: none; }

/* layout: live's #container is 1024px centred; .left (250) then .right (774) */
body.ad-site #page-container .left { margin-left: max(0px, calc(50% - 512px)); }
body.ad-site #page-container #footer { clear: both; }

/* 1. live assumes content-box; Divi sets border-box */
body.ad-site #page-container, body.ad-site #page-container *, body.ad-site #page-container *::before, body.ad-site #page-container *::after { box-sizing: content-box; }
body.ad-site #page-container select, body.ad-site #page-container button, body.ad-site #page-container input[type=submit] { box-sizing: border-box; }
body.ad-site .et_pb_contact_form_container, body.ad-site .et_pb_contact_form_container * { box-sizing: border-box; }
/* 3. browser-default spacing the live CSS relies on */
body.ad-site :where(.et-l, #main-content) p { padding-bottom: 0; margin-bottom: 1em; }
body.ad-site :where(.et-l, #main-content) ul, body.ad-site :where(.et-l, #main-content) ol { padding: 0 0 0 40px; margin: 1em 0; line-height: inherit; }
body.ad-site :where(.et-l, #main-content) h1, body.ad-site :where(.et-l, #main-content) h2, body.ad-site :where(.et-l, #main-content) h3, body.ad-site :where(.et-l, #main-content) h4, body.ad-site :where(.et-l, #main-content) h5, body.ad-site :where(.et-l, #main-content) h6 { padding-bottom: 0; line-height: inherit; }
/* 7. Divi's table look is not on live */
body.ad-site :where(.et-l, #main-content) table:not(.variations) { border: 0; margin: 0; width: auto; text-align: start; }
body.ad-site :where(.et-l, #main-content) tr td, body.ad-site :where(.et-l, #main-content) tr th { border-top: 0; padding: 1px; }
body.ad-site :where(.et-l, #main-content) blockquote { border-left: 0; }
body.ad-site { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
body.ad-site :where(.et-l, #main-content) ul ul { list-style-type: circle; }
body.ad-site :where(.et-l, #main-content) ul ul ul { list-style-type: square; }
/* h4 to h6: browser defaults (live styles only h1 to h3); colour inherits from #content as on live */
body.ad-site :where(.et-l, #main-content) :is(h4, h5, h6) { color: inherit; font-family: inherit; font-weight: bold; line-height: inherit; }
body.ad-site :where(.et-l, #main-content) h4 { font-size: 1em; margin: 1.33em 0; }
body.ad-site :where(.et-l, #main-content) h5 { font-size: .83em; margin: 1.67em 0; }
body.ad-site :where(.et-l, #main-content) h6 { font-size: .67em; margin: 2.33em 0; }
/* header region takes no height of its own (the floated .left column escapes it) */
body.ad-site .et-l--header :is(.et_pb_section, .et_pb_row, .et_pb_column, .et_pb_module, .et_pb_code_inner) { height: 0 !important; min-height: 0 !important; }
/* live is almost-standards mode: an image alone on its line has no descender gap */
body.ad-site #page-container :is(.logo, #feature, .featureimage) img, body.ad-site #page-container :is(p, h1, h2, h3, h4, h5, h6, a, span, strong, em, div, td, li) > img:only-child { vertical-align: bottom; }
/* Divi sets list-style-position: inside; live uses the default (outside): with a block p inside an li the inside marker took its own line */
body.ad-site :where(.et-l, #main-content) :is(ul, ol) { list-style-position: outside; }
body.ad-site #page-container .banner iframe { vertical-align: bottom; }
/* live is almost-standards mode: an inline-block link alone on a line adds no baseline gap (footer blog panel 22px, ours 25px) */
body.ad-site #page-container #footer a.more { vertical-align: top; }
/* about-us side content: live ships a broken file:/// image (live bug, kept); its line box has no height in almost-standards mode */
body.ad-site #page-container #side-content p { line-height: 0; }
body.ad-site #page-container :is(.panel, .button) a.more { vertical-align: top; }
body.ad-site #page-container .panel li.archive-more a.more { vertical-align: baseline; }
body.ad-site #page-container div.button:has(> a.more:only-child) { line-height: 0; }
body.ad-site #page-container #content p:has(> a.more:only-child) { line-height: 0; }
