/** * V2 curriculum page */ @import '../../v2/_v2_variables'; // @TODO: remove line after classes are added; @import '../../v2/mixins/_v2_line'; @import '../../v2/mixins/_v2_text'; .page-node-19608 { // @TODO: remove after background images have been applied to region; @image-styles: 'https://www.integrativenutrition.com/sites/default/files/styles'; .band { // @TODO: remove rules after classes are added; &.band-three-up-text.three-up-text-with-header { .container { padding-bottom: 40px; @media @v2-mobile { padding-top: 53px; } @media @v2-tablet { padding-top: 71px; } @media @v2-desktop-lg { padding-top: 65px; } @media @v2-desktop-xl { padding-top: 59px; } } // @TODO: remove rules after classes are added; .panel-pane.first { h1, h2 { .line-above(@centered: true); text-align: center; } } } &.extra3, &.extra5 { h1, h2 { // @TODO: remove h1 selector, color, text-align after classes are added; margin-bottom: 0; text-align: center; color: @v2-slate; @media @v2-mobile { .text-h1-mobile(); } @media @v2-desktop-tablet { .text-h1-desktop-tablet(); } } .field-name-field-three-up-text { .text-body-main(); color: @v2-slate; } } &.extra5 { .panel-pane.last { margin-top: 70px; } } &.extra6 { // @TODO: h1 selector after markup has been changed; h1, h2 { max-width: 637px; } } &.extra9 { background-color: @v2-veryltgray; } &.head { @media @v2-mobile { height: 425px; } @media @v2-tablet { padding-bottom: 100px; height: 494px; } } &.white { // @TODO: remove after padding has been removed from region config; padding-bottom: 0 !important; .pane-horizontal-form { @media only screen and (min-width: 1024px) and (max-width: 1199px) { display: none; } .iin-components-form.horizontal-form { div.node.node-opt-in-forms { @media @v2-desktop { display: none; } } } } } } .curric-school-text { @media @v2-desktop { margin: 0 auto; width: 72%; } } .curric-v2-approach { // @TODO: remove !important after curriculum inline css is removed; margin: 0 auto !important; width: 100%; max-width: 1100px; @media @v2-mobile { padding: 73px 0 100px; } @media @v2-tablet { padding: 104px 0 120px; } @media @v2-desktop-lg { padding: 104px 5% 120px; } @media @v2-desktop-xl { padding: 134px 5% 120px; } // @TODO: remove h1 selector after markup has been changed; h1, h2 { margin-top: 0; margin-bottom: 0; text-align: center; color: @v2-slate; @media @v2-mobile { .text-h1-mobile(); } @media @v2-desktop-tablet { .text-h1-desktop-tablet(); } } } .head-form-text-v2-curric { @media @v2-mobile { margin-top: 10px; } @media @v2-tablet-mobile { margin: 0 auto; text-align: center; } @media @v2-tablet { margin-top: 100px; } @media @v2-desktop { float: left; text-align: left; } @media only screen and (max-width: 1199px) and (min-width: 1024px) { float: left; width: 100%; text-align: left; } // @TODO: remove h2 selector after markup has been changed; h1, h2 { @media @v2-mobile { .text-h1-mobile(); margin-bottom: 0; } @media @v2-tablet { .text-h2-tablet(); } @media @v2-tablet-mobile { text-align: center; } @media @v2-desktop-tablet { margin-bottom: 30px; } @media @v2-desktop { .text-h2-desktop(); text-align: left; } } p { @media @v2-mobile { display: none; } } .pane-horizontal-form { .iin-components-form.horizontal-form { div.node.node-opt-in-forms { @media @v2-mobile { width: 90%; } } } } } .iin-components-picture-grid { margin: 0 auto 40px; max-width: 1306px; } .iin-components-two-three-image-form { .flex-col2 { @media only screen and (max-width: 1199px) and (min-width: 1024px) { margin-left: 30px; width: 600px; } } .flex-wrapper { .flex-col1, .flex-col2 { @media only screen and (max-width: 1199px) and (min-width: 1024px) { float: left; width: 48% !important; } } .flex-col1 { .two-three-text { @media only screen and (max-width: 1199px) and (min-width: 1024px) { position: relative; float: left; z-index: 2; padding-top: 75px !important; padding-right: 50px !important; width: 100%; height: 300px; } } } .flex-col2 { @media @v2-tablet-mobile { display: none; } } } } .life-changing-experience { .container { padding: 0; } .white-box { .node-callout { .text-body-main(); color: @v2-slate; @media @v2-mobile { padding: 33px 41px 41px 42px; } @media @v2-desktop-tablet { padding: 50px 65px; } &::before { display: block; font-family: @v2-font-family-secondary; font-size: 36px; content: '\201C'; } h2 { display: none; } .field-name-field-full-name { .field-item { margin-top: 25px; } } .field-name-field-job-title { .field-item { margin-bottom: 30px; } } .field-type-link-field { .odd { padding-top: 16px; } } } } } .list-circle { clear: both; border-radius: 50%; background-color: @v2-veryltgray; width: 100px; height: 100px; } .mobile-intro-text { p { @media @v2-mobile { margin: 60px auto; width: 80%; max-width: 500px; } } } .node-opt-in-forms { h3 { .text-h3(); text-align: center; color: @v2-slate; } .extra-fine-print-text { color: @v2-gray !important; @media @v2-desktop { margin-top: 10px; } } div.icon-font_curric.center-block { display: none; } } .pane-horizontal-form { .extra-fine-print-text { display: block; } .iin-components-form.horizontal-form { div.node.node-opt-in-forms { @media @v2-tablet-mobile { max-width: 430px; } @media @v2-tablet { margin-top: -100px; width: 80%; } .field-name-body { h2, h3 { @media @v2-mobile { .text-h3(); } } } form.webform-client-form { .webform-wrapper { div.webform-component { @media @v2-tablet { width: 100%; } } } button.form-submit { @media @v2-mobile { margin: 30px auto 10px !important; width: 90% !important; } @media @v2-tablet { position: relative; float: none; margin: 10px auto 0 !important; margin-left: 25px !important; width: 90% !important; } } } } } } .pane-horizontal-form .iin-components-form.horizontal-form div.node.node-opt-in-forms, .pane-two-three-image-form .pane-content .form-aside .node-opt-in-forms { box-sizing: border-box; border: 1px solid @v2-ltgray;; border-radius: 0; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); background-color: @v2-white; min-height: 0; } // @TODO: remove styles after markup is removed; .titlebar-bk { margin: 0 auto 35px; background-color: @v2-black; width: 50px; height: 2px; } .two-three-form-wrapper { .extra-fine-print-text { display: block; } } .webform-client-form { .form-item { input { &[type='tel'], &[type='text'] { border-radius: 0; height: 44px; font-size: 14px; } } } } .what-learn { padding: 0; list-style: none !important; li { line-height: @v2-line-height-base; color: @v2-slate; font-family: @v2-component-font; font-size: @v2-font-size-base; h3, h4 { @media @v2-mobile { .text-h4-mobile(); } @media @v2-desktop-lg-tablet { .text-h4-desktop-tablet-large(); } @media @v2-desktop-xl { .text-h3-alternative(); } } > div { display: inline-block; margin-left: 35px; @media @v2-mobile { width: 85%; } @media @v2-tablet { width: 90%; } @media @v2-desktop { width: 93%; } } .icon-v2-check-blocky { display: inline-block; top: 21px; width: 1%; font-size: 17.5px; &::before { color: @v2-cranberry; } } } } .what-learn-list { box-sizing: border-box; position: relative; margin: -280px auto 50px; border: 1px solid @v2-ltgray;; background-color: @v2-white; padding: 90px 140px; width: 85%; max-width: 1326px; @media @v2-mobile { margin: -86px auto 30px; padding: 20px 10px; } @media @v2-desktop-sm-tablet { margin: -230px auto 30px; padding: 60px 50px; } } // @TODO: remove rule after markup has been removed; .wl-line { display: none; } // @TODO: remove .wl-title-div selector after markup has been removed; // @TODO: apply background images to container, remove from styles; .what-learn-title-wrapper, .wl-title-div { background-position: top center; background-repeat: no-repeat; background-size: cover; @media @v2-mobile { background-image: url('@{image-styles}/blog_-_headshot_body_image/public/wyl_curric_v2_mob.jpg?itok=h0TxLZvA'); padding-top: 69px; height: 358px; } @media @v2-tablet { background-image: url('@{image-styles}/blog_-_headshot_body_image/public/wyl_curric_v2_tab.jpg?itok=ZX15gc2d'); padding-top: 62px; } @media @v2-desktop { background-image: url('@{image-styles}/blog_-_headshot_body_image/public/wyl_curric_v2_1024.jpg?itok=bdELeFy2'); } @media @v2-desktop-tablet { height: 600px; } @media @v2-desktop-lg { padding-top: 138px; } @media @v2-desktop-xl { background-image: url('@{image-styles}/blog_-_headshot_body_image/public/wyl_curric_v2_desk_xl.jpg?itok=_fTzXr84'); padding-top: 98px; } // @TODO: remove h1 selector after markup has been changed; h1, h2 { // @TODO: remove line-above, margin-right, margin-left,width, max-width, text-align, and color after classes have been added; .line-above(@centered: true; @color: @v2-white); margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; text-align: center; color: @v2-white; @media @v2-mobile { .text-h1-mobile(); width: 90%; } @media @v2-tablet { width: 80%; } @media @v2-desktop-tablet { .text-h1-desktop-tablet(); } @media @v2-desktop { width: 70%; max-width: 1100px; } } } .v2-approach { @media @v2-mobile { margin-top: 50px; } @media @v2-desktop-lg-tablet { margin-top: 73px; } @media @v2-desktop-xl { margin-top: 40px; } &::after { display: table; clear: both; content: ''; } h4 { display: inline-block; margin-top: 0; margin-bottom: 26px; color: @v2-slate; @media @v2-mobile { .text-h4-mobile(); } @media @v2-desktop-tablet { .text-h4-desktop-tablet-large(); } @media @v2-desktop-xl { line-height: @v2-line-height-very-large; } } .list-circle { float: left; text-align: center; @media @v2-mobile { float: none; margin: 30px auto; } } .list-text { float: left; margin-bottom: 30px; margin-left: 50px; width: 80%; line-height: @v2-line-height-base; color: @v2-slate; font-family: @v2-component-font; font-size: @v2-font-size-base; @media @v2-tablet { margin-left: 22px; width: 73%; } @media @v2-mobile { float: none; margin: 0 auto; width: 95%; } p.strong { font-weight: @v2-font-weight-extra-bold; } } } .v2-approach-sublist { padding: 0; list-style: none; .icon-v2-check-blocky { display: inline-block; top: 0.4rem; width: 1%; font-size: 12px; &::before { color: @v2-cranberry; } } li { div { display: inline-block; margin-left: 25px; width: 85%; } } } [class^='icon-v2'], div.iin-components-three-up-text [class^='icon-'] { position: relative; top: 27px; text-align: center; font-size: 49px; &::before { position: relative; color: @v2-slate; } } div.iin-components-three-up-text { .list-circle { margin-left: 35%; } // 2-up for tablet &.columns-2 { .node-iin-component-three-up-text { .field-collection-container { .field-name-field-three-up-items { > .field-items { > .field-item.field-item-0.even { @media only screen and (max-width: 1199px) and (min-width: 1024px) { margin-left: 140px; } } } } } } } } div.node.node-opt-in-forms.horizontal-form { .horizontal-form-right { .webform-client-form { .webform-wrapper { .webform-component { input[type='tel'] { @media @v2-mobile { z-index: 0; } } } } } } &.stacked-display { .webform-client-form { .webform-wrapper { .form-item.webform-component { input { @media @v2-mobile { z-index: 0; } } } } } } } }