/*
* Petra Creative One Page Template V1.0
* Version 1.0
* Copyright 2014, Limitless SARL
* www.limitless.ma
*/


/* Table of Content
==================================================
	#Reset & Basics
	#Basic Styles
	#Typography
	#Links
	#Buttons
	#Frontpage
	#Misc 
==================================================*/





/* #Reset & Basics
================================================== */

*, *:before, *:after {
    -moz-box-sizing: border-box;
	-webkit-box-sizing :border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
}



html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, mobile-navigation, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline; 
	text-decoration:none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block; 
}

ol, mobile-navigation {
	list-style: none; 
}

blockquote, q {
	quotes: none; 
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none; 
}

table {
	border-collapse: collapse;
	border-spacing: 0; 
}
		
img {
    display: inline-block;
    vertical-align: middle;
}

img {
    height: auto;
    max-width: 100%;
}

*::-moz-selection {
    background: #111111;
    color: #ffffff;
}

a:focus {
	outline: 0;
}
	
::selection {
	color: #ffffff;
	background: #111111;
}

::-moz-selection {
	color: #ffffff;
	background: #111111;
}

/* #Basic Styles
================================================== */
/* Chrome on Android tints the system gesture-nav bar with the ROOT (<html>)
   background. Left white, it drew a white strip under the cream home banner
   (and footer) on mobile. #ecdfd5 = the unified hero/field cream (home +
   podcast heroes both use it), so that strip matches. The header/footer bar is
   #ebe0d7 — ~2 RGB units off and hardcoded in petra.min.js's scroll animation,
   so left as-is. The white page body still sits on top, so content is unaffected.
   (This also means the top overscroll reveals #ecdfd5, matching the heroes, so
   there's no stray colour band — no need to disable overscroll / pull-to-refresh.) */
html {
	background: #ecdfd5;
}
body {
	background: #ffffff;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #988d89;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
	/*-webkit-text-size-adjust: 100%;*/
	overflow-x: hidden;
}

.title {
	text-transform:uppercase;
	position:relative;
	display:inline-block;
	margin-bottom:30px;
	font-family: "Quicksand";
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
}

.title:after {
	border-bottom: 2px solid #000000;
    content: "";
    display: block;
    position: relative;
    top: 15px;
    width: 20px;
    z-index: 0;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 50px;
}


/* #Typography =================================== */
h1, h2, h3, h4, h5, h6 {
	color: #000;
	font-weight: 700; 
	font-family: "Quicksand";
}

h1 {
	font-size:26px;
}

h2 {
	font-size:18px;
	text-align: left;
}

h2 {
	font-size:18px;
	text-align: left;
}

h2.text-centered {
	font-size:18px;
	text-align: center;
}

h3 {
	font-size:16px;
	text-align: left;
}

em { 
	font-style: italic; 
}

strong { 
	font-weight: bold;
	color: #333; 
}

small { 
	font-size: 80%;
}

#secondary-subtitle {
    font-size: 2em;
    text-transform: none;
}

/* #Links ======================================== */

a,.errorForm {
	color:#111111;
	-moz-transition: all 0.5s ease 0s;
	-ms-transition: all 0.5s ease 0s;
	-o-transition: all 0.5s ease 0s;
	transition: all 0.5s ease 0s;
}

/* #Buttons ====================================== */

button {
	background: transparent;
	border: 2px solid #bf963d;
	border-radius: 2px;
	color: #bf963d;
	cursor: pointer;
	font-family: "QuickSand";
	font-size: 14px;
	font-weight: 700;
	outline: none;
	padding: 18px 20px;
	text-transform: uppercase;
	min-width: 200px;
}

button:hover {
	background: #bf963d;
	color: #ffffff;
}

/* #Frontpage ====================================== */
.frontpage-container { 
	margin-top: 5em;
	background: #EBE0D7;
    background: linear-gradient(180deg, rgba(235, 224, 215, 1) 0%, rgba(169, 114, 84, 1) 100%);
}

#frontpage-container-contact { 
	margin-top: 2.8em;
}

#frontpage-overlay-contact {
	/* max(): keep the engineer's live 90em as the floor so the photo's zoom
	   matches live on normal screens, but never let the box end above the
	   hero on tall monitors. Floor rebased from our old 70em to their 90em. */
	height: max(90em, calc(100vh + 15em));
	height: max(90em, calc(100svh + 15em));
}

.frontpage-image {
    width: 50%;
    margin-top: -15em;
}

.frontpage-image-contact {
    width: 50%;
    margin-top: -4em;
}


.frontpage-image-right {
    width: 50%;
    margin-top: -15em;
    margin-left: 50%;
}

#about-image {
    margin-top: -5em;
}

#frontpage-text-container {
    width: 50%;
    margin-top: 12.5em;
    margin-left: 50%;
    height: 65.7em !important;
}

#frontpage-text-container-center {
    width: 100%;
    margin-top: 29.75em;
}

#frontpage-text-container-left {
    width: 50%;
    margin-top: 12.5em;
}

#frontpage-text {
    text-align: center;
}

#frontpage-paragraph-container {
    text-align: center;
    margin-top: 11em;
    padding: 0em 2em;
}

#frontpage-paragraph-container > p {
    text-transform: none;
    font-style: italic;
    font-weight: normal;
    color: #653535;
}

#frontpage-paragraph-container-podcast {
    text-align: center;
}

#frontpage-paragraph-container-podcast > p {
    text-transform: none;
    font-style: italic;
    font-weight: normal;
    color: #EBE0D7;
    background-color: #875a46;
    /* Hug the text with padding instead of a fixed 22% width, which was
       narrower than "Stories that matter" (the pre-formatted lines don't wrap),
       so the text spilled outside the pill. Centred by the container's
       text-align: center. */
    display: inline-block;
    padding: 0.5em 1.4em;
    border-radius: 3em;
 /*   text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
          -1px 1px 0 #000, 1px 1px 0 #000; color: white;*/
}

.podcast-title {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    font-weight: bold !important;
}

#podcast-content-container {
    display: flex;
    justify-content: center;
}

#podcast-description-container {
    width: 50%;
    margin-left: 10%;
}

#podcast-video {
    width: 50%;
    height: 300px;
    border: none;
    display: block;
    margin-left: 0em;
    margin-right: auto;
}

.frontpage-overlay {
	height: max(100em, calc(100vh + 15em));
	height: max(100em, calc(100svh + 15em));
}

#about-overlay {
	/* Floor rebased from our old 130em to the engineer's live 90em. */
	height: max(90em, calc(100vh + 15em));
	height: max(90em, calc(100svh + 15em));
}

.about-paragraph {
    font-size: 2em !important;
}

#group-choaching-title-container {
    top: 11em;
}

#group-choaching-title {
    font-weight: bold !important;
}

#workshop-frontpage-image {
    margin-top: -6em;
    /* 69em is only 966px, so this one fell short even on a 1080p screen. */
    height: max(69em, calc(100vh + 15em));
    height: max(69em, calc(100svh + 15em));
}

#contact-me-button {
    border-style: solid;
    border-color: #915823;
    width: 15%;
    margin-left: 42.5%;
    border-radius: 0.3em;
    background: #915823;
    color: #ebe0d7;
    height: 7%;
    padding-top: 0.3em;
}


/* #Misc ========================================= */
.remove-bottom { 
	margin-bottom: 0 !important; 
}

.half-bottom { 
	margin-bottom: 10px !important; 
}

.add-bottom { 
	margin-bottom: 20px !important;
}

.offset {
	padding-top: 90px; 
	padding-bottom: 45px;
}

#one-on-one {
    padding-top: 45px;
    padding-bottom: 45px;
}

.offset-work-with-me {
	padding-top: 45px; 
	padding-bottom: 45px;
}

.section {
	text-align:center;
}

/*Slider*/
.flex-control-nav li {
	margin: 0 6px !important;
}

.flex-control-paging li a {
	border: 1px solid #ffffff !important;
}

.flex-control-paging li a.flex-active {
	background-color: #ffffff !important;
}
/*Slider*/


/* #Navigation submenu ============================
   The Petra theme shipped no dropdown support at all, so this is new.
   Selectors are id + class (nav#navigation ul.sub-navigation) so they
   outrank petra.css's nav#navigation ul rules regardless of load order.

   The parent "Work with Me" link still points at its own real page, so
   touch users who tap it get somewhere useful rather than being trapped
   by a hover-only menu. */

nav#navigation ul.sub-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    margin: 0;
    padding: 6px 0;
    background-color: #ebe0d7;
    box-shadow: 0 4px 14px rgba(60, 52, 45, 0.18);
    text-align: left;
    z-index: 1001;
}

nav#navigation li.has-submenu:hover > ul.sub-navigation,
nav#navigation li.has-submenu:focus-within > ul.sub-navigation {
    display: block;
}

nav#navigation ul.sub-navigation li {
    display: block;
    position: static;
}

nav#navigation ul.sub-navigation li a {
    display: block;
    padding: 9px 18px;
    font-size: 13px;
    text-transform: none;
    white-space: nowrap;
}

nav#navigation ul.sub-navigation li a:hover {
    color: #878787;
}

/* The theme draws a small underline under every nav link via a:after.
   Inside the dropdown that reads as clutter. */
nav#navigation ul.sub-navigation a:after {
    display: none;
}

/* Mobile: the burger menu's JS runs slideDown on every ul inside #navigation,
   so the submenu opens inline with the rest. Render it as an indented list
   rather than a floating panel. */
@media screen and (max-width: 768px) {
    nav#navigation ul.sub-navigation {
        position: static;
        min-width: 0;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
        text-align: inherit;
    }

    nav#navigation ul.sub-navigation li a {
        padding-left: 2.2em;
        font-size: 12px;
        opacity: 0.85;
    }
}

/* #Short-viewport hero fit ========================
   The hero is exactly one viewport tall and .home clips overflow, so on
   short screens the hero text has to give. Rather than a stack of media
   queries with hand-tuned values, one clamp per container does it:

       clamp(floor, calc(100svh - blockHeight), original)

   "Use the ORIGINAL spacing whenever it fits; shrink only by as much as is
   actually missing; never past the floor."

   Above ~790px viewport height the original value always wins, so desktops
   render exactly as they do live. 610px is the tallest hero text block on
   the site (About, measured at 599px plus breathing room) -- sizing to the
   worst case keeps this a single rule for all eight pages.

   Values are rem/px, never em: these containers inherit ~37px font-sizes,
   so an em value resolves several times larger than it reads. */

/* Floor is 78px (the 72px desktop solid bar + a small gap) so the hero title
   never tucks under the bar on short viewports; it used to be 1rem, from when
   the header was transparent. Mobile blocks (<=768px) use 64px for the 54px bar. */
#frontpage-text-container,
#frontpage-text-container-left {
    margin-top: clamp(78px, calc(100vh - 610px), 12.5em);
    margin-top: clamp(78px, calc(100svh - 610px), 12.5em);
}

#frontpage-text-container-center {
    margin-top: clamp(78px, calc(100vh - 610px), 29.75em);
    margin-top: clamp(78px, calc(100svh - 610px), 29.75em);
}

/* body prefix needed: petra.css loads after base.css and sets top:300px.
   Floor 78px keeps the centred title clear of the 72px desktop bar on short
   viewports (podcast's two-line title was hiding its first line under it). */
body #center-page-title-container {
    top: clamp(78px, calc(100vh - 460px), 300px);
    top: clamp(78px, calc(100svh - 460px), 300px);
}

/* The subtracted constant is the height of the tallest hero text block, and
   that grows as the viewport narrows and the copy reflows onto more lines.
   All measured, not guessed -- tallest total needed from the hero's top:
     1440px wide -> 774    1180 -> 809    1024 -> 963    900 -> 1033
     mobile layout below 768px re-flows entirely: 414 -> 754, 375 -> 802,
     320 -> 901. */

@media screen and (max-width: 1200px) {
    #frontpage-text-container,
    #frontpage-text-container-left,
    #frontpage-text-container-center {
        margin-top: clamp(78px, calc(100vh - 660px), 12.5em);
        margin-top: clamp(78px, calc(100svh - 660px), 12.5em);
    }
}

@media screen and (max-width: 1100px) {
    #frontpage-text-container,
    #frontpage-text-container-left,
    #frontpage-text-container-center {
        margin-top: clamp(78px, calc(100vh - 810px), 12.5em);
        margin-top: clamp(78px, calc(100svh - 810px), 12.5em);
    }

    body #center-page-title-container {
        top: clamp(78px, calc(100vh - 560px), 300px);
        top: clamp(78px, calc(100svh - 560px), 300px);
    }
}

@media screen and (max-width: 950px) {
    #frontpage-text-container,
    #frontpage-text-container-left,
    #frontpage-text-container-center {
        margin-top: clamp(78px, calc(100vh - 880px), 12.5em);
        margin-top: clamp(78px, calc(100svh - 880px), 12.5em);
    }
}

/* Below 768px the theme switches to its stacked mobile layout, so the block
   is shorter again and the constants reset. The clamp floor is 64px (the 54px
   mobile bar + a small gap) so the hero title never tucks under the solid bar
   on short viewports; it used to be 1rem, from when the header was transparent. */
@media screen and (max-width: 768px) {
    #frontpage-text-container,
    #frontpage-text-container-left,
    #frontpage-text-container-center {
        margin-top: clamp(64px, calc(100vh - 620px), 12.5em);
        margin-top: clamp(64px, calc(100svh - 620px), 12.5em);
    }

    body #center-page-title-container {
        top: clamp(64px, calc(100vh - 460px), 300px);
        top: clamp(64px, calc(100svh - 460px), 300px);
    }
}

@media screen and (max-width: 420px) {
    #frontpage-text-container,
    #frontpage-text-container-left,
    #frontpage-text-container-center {
        margin-top: clamp(64px, calc(100vh - 670px), 12.5em);
        margin-top: clamp(64px, calc(100svh - 670px), 12.5em);
    }
}

@media screen and (max-width: 360px) {
    #frontpage-text-container,
    #frontpage-text-container-left,
    #frontpage-text-container-center {
        margin-top: clamp(64px, calc(100vh - 770px), 12.5em);
        margin-top: clamp(64px, calc(100svh - 770px), 12.5em);
    }
}

/* Where even the floor leaves no room, trim the type instead of the spacing. */
@media screen and (max-width: 1100px) and (max-height: 820px) {
    .about-paragraph {
        font-size: 1.45em !important;
    }
}

@media screen and (max-height: 700px) {
    .about-paragraph {
        font-size: 1.5em !important;
    }
}

@media screen and (max-height: 640px) {
    .home h1 {
        font-size: 2.8em;
    }

    .about-paragraph {
        font-size: 1.25em !important;
    }
}

@media screen and (max-width: 500px) and (max-height: 700px) {
    body .about-paragraph {
        font-size: 0.9em !important;
    }
}

@media screen and (max-width: 380px) and (max-height: 620px) {
    body .about-paragraph {
        font-size: 0.85em !important;
    }

    body .o2o-paragraph {
        font-size: 0.9em !important;
    }
}

/* Narrow AND short together: the copy has already reflowed onto more lines
   and the clamp above is at its floor, so there is no spacing left to give.
   Trim the hero type instead. */
@media screen and (max-width: 1100px) and (max-height: 730px) {
    .home h1 {
        font-size: 2.6em;
    }

    .home p {
        font-size: 1.9em;
    }

    #frontpage-paragraph-container > p {
        font-size: 1.15em !important;
    }
}

@media screen and (max-width: 400px) and (max-height: 600px) {
    .home h1 {
        font-size: 2.1em;
    }

    .home p {
        font-size: 1.5em;
    }

    #frontpage-paragraph-container > p {
        font-size: 1em !important;
    }
}

/* Final two stragglers found by the matrix: One-to-One at 1280x620 and
   About at 360x640. Both are at the clamp floor already. */
@media screen and (max-height: 640px) {
    body .o2o-paragraph {
        font-size: 1.05em !important;
    }
}

/* px, not em: .about-paragraph's parent carries a ~20px font-size, so an em
   value here resolves far larger than it reads (0.8em rendered as 16.1px). */
@media screen and (max-width: 400px) and (max-height: 660px) {
    #home .about-paragraph {
        font-size: 12.5px !important;
    }
}


/* #Contact two-column layout ======================
   Valentina's item 3: form on the left, contact details parallel on the right.
   Was two stacked full-width blocks. */

#contact .contact,
#contact #contact-details {
    text-align: left;
}

#contact #contact-details h1,
#contact .contact h1 {
    text-align: left;
}

/* The theme's .title is display:inline-block, so the heading sat on the same
   line as the block that follows it. Give each its own line in this column. */
#contact #contact-details .title,
#contact .contact .title {
    display: block;
}

/* .title:after is the small underline, centred by the theme. With the
   heading now block-level and left-aligned, it needs to sit under the text. */
#contact #contact-details .title:after,
#contact .contact .title:after {
    margin-left: 0;
}

#contact #contact-details .contact-placeholder {
    margin-bottom: 1.2em;
}

#contact #contact-details h2 {
    margin-top: 0.6em;
}

/* Deliberately loud. These are NOT real contact details -- they must be
   replaced or removed before contact.php is deployed. The styling exists so
   a placeholder can never be mistaken for published content. */
.contact-placeholder {
    display: inline-block;
    color: #b1462f !important;
    background: #fdf3f0;
    border: 1px dashed #d08a76;
    border-radius: 3px;
    padding: 6px 10px;
    font-style: italic;
}

/* The theme hard-codes div.contact .form to 580px and its fields to 550px,
   both wider than the 460px column, so they overflowed into the details
   column. Make the wrapper and the fields fluid. The #contact prefix beats
   petra.css's selectors regardless of load order. */
#contact div.contact .form {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

#contact .form input[type="text"],
#contact .form input[type="email"],
#contact .form input[type="number"],
#contact .form textarea {
    width: 100%;
    max-width: 100%;
}

@media screen and (max-width: 767px) {
    /* Skeleton already stacks columns at this width; just restore spacing. */
    #contact #contact-details {
        margin-top: 2.5em;
    }
}

/* The signature sits inside #coaching, which is left-aligned, so it needs to
   opt out. display:block + auto left margin pushes it to the right edge of
   the container regardless of the surrounding text-align. */
.signature {
    display: block;
    /* left-aligned to sit under the left-aligned commitment copy it signs off,
       like the bottom of a signed letter (was right-aligned, floated in a gap) */
    margin-left: 0;
    margin-right: auto;
    /* the PNG carries ~78px of transparent padding above AND below the ink;
       pull it up under the text and pull the Contact-me button up to close the
       gap below (tune these to taste) */
    margin-top: -32px;
    margin-bottom: -40px;
}

/* #Header centring ===============================
   The header reserves a 300px .one-third column for a logo, but the logo was
   removed from the markup long before this project (it is absent in the
   untouched baseline too). The empty column pushed the menu 117px left of
   centre at every width.

   Collapsing the column and centring the nav removes the reservation rather
   than compensating for it.

   If the logo is ever restored, delete this block — the theme still has full
   .logo styling and images/valentina-rotaru-logo.png is still on the server,
   so putting the element back is all that is needed. */

header .container > .one-third.column {
    display: none;
}

header .container > .two-thirds.column {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* header prefix required: petra.css loads after this file and sets
   nav#navigation { float: right }, which an equal-specificity rule loses to. */
header nav#navigation {
    float: none;
    text-align: center;
    /* a theme breakpoint adds margin-right:20px around 960px, which shifted
       the centred menu by half that */
    margin-left: 0;
    margin-right: 0;
}

header nav#navigation ul.navigation {
    display: inline-block;
    text-align: left;
    /* The theme's reset says `ol, mobile-navigation { list-style: none }` --
       a typo for `ol, ul`, so ul never lost its default 40px left padding.
       That padding threw the centred menu 20px off. Zeroed here rather than
       fixing the reset, which would affect every list on the site. */
    padding-left: 0;
    list-style: none;
}

/* #Footer ========================================
   ONLY the badge row is centred. Live left-aligns it, so it ended ~91px short
   of the container's right edge and looked lopsided against the row beneath.

   The copyright and social row is left ALONE: copyright at the container's
   left edge, icons at its right edge, exactly as live. An earlier version of
   this block centred that row as a pair -- that was wrong and Denis corrected
   it. Do not centre it. */

footer .container > .sixteen.columns {
    text-align: center;
}

/* On narrow screens the six badges are inline, so they wrap into a ragged
   1/2/1/1/1 grid (ICF alone, then PCC+AOEC paired, then the gold seals).
   Make each badge a block so they stack one per row; the container's
   text-align:center keeps every badge centred. */
@media screen and (max-width: 767px) {
    footer .container > .sixteen.columns a {
        display: block;
    }
}

