UNPKG

@massds/mayflower-assets

Version:

Mayflower Assets

641 lines (630 loc) 16 kB
:root { --mf-c-bay-blue-90-tint: #E8EEF4; --mf-c-bay-blue-80-tint: #D0DDE9; --mf-c-bay-blue-70-tint: #B9CCDD; --mf-c-bay-blue-60-tint: #A1BBD2; --mf-c-bay-blue-50-tint: #8AAAC7; --mf-c-bay-blue-40-tint: #7299BC; --mf-c-bay-blue-30-tint: #5B88B1; --mf-c-bay-blue-20-tint: #4377A5; --mf-c-bay-blue-10-tint: #2C669A; --mf-c-bay-blue: #14558f; --mf-c-bay-blue-10-shade: #124D81; --mf-c-bay-blue-20-shade: #104472; --mf-c-bay-blue-30-shade: #0E3C64; --mf-c-bay-blue-40-shade: #0C3356; --mf-c-bay-blue-50-shade: #0A2B48; --mf-c-bay-blue-light: #4377A5; --mf-c-bay-blue-lighter: #8AAAC7; --mf-c-bay-blue-lightest: #E8EEF4; --mf-c-bay-blue-darker: #0E3C64; --mf-c-bay-blue-darkest: #0A2B48; --mf-c-berkshires-green-90-tint: #EBF3EE; --mf-c-berkshires-green-80-tint: #D7E7DD; --mf-c-berkshires-green-70-tint: #C3DACD; --mf-c-berkshires-green-60-tint: #AFCEBC; --mf-c-berkshires-green-50-tint: #9CC2AB; --mf-c-berkshires-green-40-tint: #88B69A; --mf-c-berkshires-green-30-tint: #74AA89; --mf-c-berkshires-green-20-tint: #609D79; --mf-c-berkshires-green-10-tint: #4C9168; --mf-c-berkshires-green: #388557; --mf-c-berkshires-green-10-shade: #32784E; --mf-c-berkshires-green-20-shade: #2D6A46; --mf-c-berkshires-green-30-shade: #275D3D; --mf-c-berkshires-green-40-shade: #225034; --mf-c-berkshires-green-50-shade: #1C432C; --mf-c-berkshires-green-lighter: #9CC2AB; --mf-c-berkshires-green-lightest: #D7E7DD; --mf-c-berkshires-green-dark: #214F34; --mf-c-berkshires-green-darker: #275D3D; --mf-c-berkshires-green-darkest: #1C432C; --mf-c-duckling-yellow-90-tint: #FEF9E8; --mf-c-duckling-yellow-80-tint: #FDF3D1; --mf-c-duckling-yellow-70-tint: #FCEEBB; --mf-c-duckling-yellow-60-tint: #FBE8A4; --mf-c-duckling-yellow-50-tint: #FBE28D; --mf-c-duckling-yellow-40-tint: #FADC76; --mf-c-duckling-yellow-30-tint: #F9D65F; --mf-c-duckling-yellow-20-tint: #F8D149; --mf-c-duckling-yellow-10-tint: #F7CB32; --mf-c-duckling-yellow: #f6c51b; --mf-c-duckling-yellow-10-shade: #DDB118; --mf-c-duckling-yellow-20-shade: #C59E16; --mf-c-duckling-yellow-30-shade: #AC8A13; --mf-c-duckling-yellow-40-shade: #947610; --mf-c-duckling-yellow-50-shade: #7B630E; --mf-c-duckling-yellow-lighter: #FBE28D; --mf-c-duckling-yellow-lightest: #FEF9E8; --mf-c-duckling-yellow-darker: #AC8A13; --mf-c-duckling-yellow-darkest: #7B630E; --mf-c-independence-cranberry-90-tint: #F0E7E8; --mf-c-independence-cranberry-80-tint: #E1CED2; --mf-c-independence-cranberry-70-tint: #D2B6BB; --mf-c-independence-cranberry-60-tint: #C39DA5; --mf-c-independence-cranberry-50-tint: #B4858E; --mf-c-independence-cranberry-40-tint: #A46C77; --mf-c-independence-cranberry-30-tint: #955461; --mf-c-independence-cranberry-20-tint: #863B4A; --mf-c-independence-cranberry-10-tint: #772334; --mf-c-independence-cranberry: #680A1D; --mf-c-independence-cranberry-10-shade: #5E091A; --mf-c-independence-cranberry-20-shade: #530817; --mf-c-independence-cranberry-30-shade: #490714; --mf-c-independence-cranberry-40-shade: #3E0611; --mf-c-independence-cranberry-50-shade: #34050F; --mf-c-independence-cranberry-lighter: #B4858E; --mf-c-independence-cranberry-lightest: #F0E7E8; --mf-c-independence-cranberry-darker: #490714; --mf-c-independence-cranberry-darkest: #34050F; --mf-c-revolution-gray: #141414; --mf-c-granite-gray: #535353; --mf-c-atlantic-gray: #707070; --mf-c-overcast-gray: #DCDCDC; --mf-c-platinum-gray: #F2F2F2; --mf-c-black: #000000; --mf-c-gray-darkest: #141414; --mf-c-gray-dark: #535353; --mf-c-gray: #707070; --mf-c-gray-light: #DCDCDC; --mf-c-gray-lighter: #CCCCCC; --mf-c-gray-lightest: #F2F2F2; --mf-c-white: white; --mf-c-error-red: #CD0D0D; --mf-c-error-red-lighter: #EEACAC; --mf-c-error-red-lightest: #FCF3F3; --mf-c-focus-hightlight: #3e94cf; } :root { --mf-c-primary: #14558f; --mf-c-primary-light: #4377A5; --mf-c-primary-lighter: #8AAAC7; --mf-c-primary-lightest: #E8EEF4; --mf-c-primary-alt: #388557; --mf-c-primary-alt-lighter: #9CC2AB; --mf-c-primary-alt-lightest: #D7E7DD; --mf-c-primary-alt-dark: #214F34; --mf-c-highlight: #f6c51b; --mf-c-highlight-lighter: #FBE28D; --mf-c-highlight-lightest: #FEF9E8; --mf-c-error: #CD0D0D; --mf-c-error-lighter: #EEACAC; --mf-c-error-lightest: #FCF3F3; --mf-c-warning: #f6c51b; --mf-c-success: #388557; --mf-c-focus: #3e94cf; --mf-c-link: #7299BC; --mf-c-visited: #772334; --mf-c-font-base: #141414; --mf-c-font-detail: #535353; --mf-c-font-dark: #141414; --mf-c-font-medium: #707070; --mf-c-font-heading: #141414; --mf-c-font-inverse: white; --mf-c-font-link: #14558f; --mf-c-font-error: #CD0D0D; --mf-c-bg: white; --mf-c-bg-comp-title: #535353; --mf-c-bg-subtle: #F2F2F2; --mf-c-bg-section: #F2F2F2; --mf-c-bd: #DCDCDC; --mf-c-bd-divider: #DCDCDC; --mf-c-bd-divider-dark: #535353; --mf-c-bd-error: #CD0D0D; --mf-c-bd-input: #707070; --mf-c-box-shadow-black: rgba(0, 0, 0, 0.25); } .ma__input { background-color: var(--mf-c-bg); border: 2px solid var(--mf-c-bd-input); color: var(--mf-c-font-base); font-size: 1.125rem; font-weight: 400; max-width: 100%; padding: 0 18px; } .ma__input:not([type=checkbox]):not([type=radio]) { min-height: 40px; } .ma__input:focus { outline: 2px solid var(--mf-c-focus); outline-offset: 2px; border-color: var(--mf-c-bd-input); } .ma__input.has-error { border-color: var(--mf-c-bd-error); } @media (forced-colors: active) { .ma__input.has-error { border-color: Mark; } } .ma__footer-links::after { clear: both; content: ""; display: block; } .ma__footer-links__items { list-style: none; margin-bottom: 0; padding-left: 0; } .ma__footer-links__item { margin-bottom: 1.125em; } .ma__footer-links__item:last-child { margin-bottom: 0; } .ma__footer-links__nav--heading { border-bottom: none; } .ma__footer-links__nav--heading .ma__sidebar-heading { color: var(--mf-c-gray); font-size: calc(13.5rem / 16); } .ma__footer-links__link { border-bottom: 3px solid transparent; padding-top: 3px; padding-bottom: 1px; transition: border 0.4s ease; text-decoration: none; padding-bottom: 3px; color: var(--mf-c-font-base); font-weight: 500; } .ma__footer-links__link:hover { border-bottom-width: 3px; border-bottom-style: solid; text-decoration: none; } .ma__footer-links__link:hover { border-bottom-color: rgba(20, 20, 20, 0.5); } .ma__footer-links > .ma__footer-links__items, .ma__footer-links__nav { margin-left: auto; margin-right: auto; max-width: 480px; } @media (max-width:620px) { .ma__footer-links > .ma__footer-links__items, .ma__footer-links__nav { border-bottom: 1px solid var(--mf-c-bd-divider); margin-bottom: 20px; padding-bottom: 20px; text-align: center; } } @media (max-width:620px) { .ma__footer-links > .ma__footer-links__items--heading, .ma__footer-links__nav--heading { border-bottom: 0; } } @media (min-width: 621px) { .ma__footer-links > .ma__footer-links__items, .ma__footer-links__nav { float: left; display: block; margin-right: 2.1621621622%; width: 31.8918918919%; } .ma__footer-links > .ma__footer-links__items:last-child, .ma__footer-links__nav:last-child { margin-right: 0; } } @media (min-width: 1201px) { .ma__footer-links > .ma__footer-links__items, .ma__footer-links__nav { float: left; display: block; margin-right: 2.1621621622%; width: 20.5405405405%; margin-left: 11.3513513514%; } .ma__footer-links > .ma__footer-links__items:last-child, .ma__footer-links__nav:last-child { margin-right: 0; } } .ma__sidebar-heading { border-bottom: 2px solid; font-size: calc(14.75rem / 16); letter-spacing: 0.1em; padding-bottom: 0.5em; text-transform: uppercase; } .sidebar--colored .ma__sidebar-heading { font-size: 1.125rem; letter-spacing: 0.1em; line-height: 1.39; margin-bottom: 20px; overflow: hidden; padding: 12px 20px 10px 20px; position: relative; text-transform: uppercase; border: none; } @media (min-width: 621px) { .sidebar--colored .ma__sidebar-heading { margin-bottom: 30px; padding: 18px 25px 14px 25px; } } .sidebar--colored .ma__sidebar-heading:after { content: ""; height: 200%; position: absolute; top: 0; left: 100%; transform: rotate(30deg); transform-origin: top left; width: 100%; } .main-content--two .page-content .sidebar--colored .ma__sidebar-heading { padding-right: 55px; } @media (min-width: 911px) { .main-content--two .page-content .sidebar--colored .ma__sidebar-heading { margin-right: -35px; margin-bottom: 50px; } } @media (min-width: 1201px) { .main-content--two .page-content .sidebar--colored .ma__sidebar-heading { margin-right: -55px; padding-right: 75px; } } @media (max-width:910px) { .sidebar .sidebar--colored .ma__sidebar-heading { padding-right: 55px; } } @media (min-width: 911px) { .sidebar .sidebar--colored .ma__sidebar-heading { padding-left: 55px; margin-left: -35px; } .sidebar .sidebar--colored .ma__sidebar-heading:after { top: auto; right: 100%; bottom: 0; left: auto; transform-origin: bottom right; } } @media (min-width: 1201px) { .sidebar .sidebar--colored .ma__sidebar-heading { margin-left: -55px; padding-left: 55px; } } @media (max-width:910px) { .sidebar--colored .ma__sidebar-heading { padding-right: 55px; } } @media (min-width: 911px) { .sidebar--colored .ma__sidebar-heading { padding-left: 55px; margin-left: -35px; } .sidebar--colored .ma__sidebar-heading:after { top: auto; right: 100%; bottom: 0; left: auto; transform-origin: bottom right; } } @media (min-width: 1201px) { .sidebar--colored .ma__sidebar-heading { margin-left: -55px; padding-left: 55px; } } .ma__sidebar-heading { border-color: #DCDCDC; color: #141414; } .sidebar--colored .ma__sidebar-heading { background-color: #535353; color: white; } .sidebar--colored .ma__sidebar-heading:after { background-color: white; } .ma__footer-links__items--heading { border-bottom: none; } .ma__footer-links__items--heading .ma__sidebar-heading { color: var(--mf-c-gray); font-size: calc(13.5rem / 16); } .ma__footer-links__items ul { list-style: none; margin-bottom: 0; padding-left: 0; } @media (min-width: 911px) { .ma__page-header-addons__widgets .ma__social-links { text-align: right; } } @media (min-width: 911px) { .ma__page-header-addons__widgets .ma__social-links:first-child { margin-top: -5px; } } .ma__social-links__label { color: var(--mf-c-font-detail); display: inline-block; font-size: calc(13.5rem / 16); letter-spacing: 0.1em; line-height: 1.875rem; text-transform: uppercase; vertical-align: middle; } .ma__social-links__items { list-style: none; margin-bottom: 0; padding-left: 0; display: flex; justify-content: space-between; width: 100%; } .ma__social-links__label + .ma__social-links__items { display: inline-block; vertical-align: middle; width: auto; } .ma__social-links__item { display: inline-block; vertical-align: middle; } @media (max-width:910px) { .ma__social-links__item { text-align: center; } } .ma__social-links__link { display: inline-block; font-size: 0; height: 30px; padding: 5px; transition: opacity 0.4s; width: 30px; } .ma__social-links__link:hover { opacity: 0.7; } .ma__social-links__link > svg { height: 100%; width: 100%; } .ma__social-links__label { font-weight: 600; } .ma__social-links__link, .ma__social-links__link--c-primary { fill: var(--mf-c-primary); } .ma__social-links__link--c-primary-alt { fill: var(--mf-c-primary-alt); } .ma__social-links__link--inverted, .ma__social-links__link--c-primary--inverted { background-color: var(--mf-c-primary); } .ma__social-links__link--inverted > svg, .ma__social-links__link--inverted > svg path, .ma__social-links__link--c-primary--inverted > svg, .ma__social-links__link--c-primary--inverted > svg path { fill: var(--mf-c-white); } .ma__social-links__link--c-primary-alt--inverted { background-color: var(--mf-c-primary-alt); } .ma__social-links__link--c-primary-alt--inverted > svg, .ma__social-links__link--c-primary-alt--inverted > svg path { fill: var(--mf-c-white); } .ma__social-links__link[data-social-share=blog] > svg path { fill: var(--mf-c-primary-alt); } .ma__social-links__link[data-social-share=email] > svg path { fill: var(--mf-c-primary-alt); } .ma__footer { padding: 20px 0 30px; position: relative; } @media (min-width: 621px) { .ma__footer { padding: 40px 0 50px; } } .ma__footer__back2top { font-size: calc(14.75rem / 16); line-height: 1.2; letter-spacing: 0.1em; opacity: 1; padding: 0.5em 0.7em; position: fixed; bottom: 1.3125rem; right: 1.5625rem; transition: all 0.5s; visibility: visible; z-index: 80; } .ma__footer__back2top svg { width: calc(14.75rem / 16); height: calc(14.75rem / 16); } @media (max-width:620px) { .ma__footer__back2top { padding: 0.4em 0.4em 0 0.4em; position: fixed; bottom: 1rem; right: 1rem; } } .ma__footer__back2top.is-hidden { opacity: 0; visibility: hidden; } .ma__footer__back2top > svg { display: inline-block; width: 16px; height: 18px; transform: rotate(-90deg); transform-origin: center center; transition: all 0.5s; } .ma__footer__back2top span { display: block; text-align: center; } @media (max-width:620px) { .ma__footer__back2top span { display: none; } } .ma__footer__container { margin-right: auto; margin-left: auto; max-width: 1320px; padding-left: 20px; padding-right: 20px; } @media (min-width: 781px) { .ma__footer__container { padding-left: 30px; padding-right: 30px; } } @media (min-width: 911px) { .ma__footer__container { padding-left: 40px; padding-right: 40px; } } .ma__footer__container::after { clear: both; content: ""; display: block; } @media (max-width:910px) { .ma__footer__container { display: flex; flex-direction: column; } } .ma__footer__nav { margin-bottom: 20px; } @media (min-width: 911px) { .ma__footer__nav { float: left; display: block; margin-right: 1.6129032258%; width: 74.5967741935%; float: right; margin-right: 0; margin-bottom: 20px; } .ma__footer__nav:last-child { margin-right: 0; } } @media (max-width:910px) { .ma__footer__info { order: 2; } } @media (min-width: 911px) { .ma__footer__info { float: left; display: block; margin-right: 1.6129032258%; width: 23.7903225806%; } .ma__footer__info:last-child { margin-right: 0; } } .ma__footer__logo { margin-bottom: 20px; } @media (max-width:910px) { .ma__footer__logo { text-align: center; } } .ma__footer__social { margin: 0 auto 20px; max-width: 480px; } .ma__footer__copyright { font-size: calc(13.5rem / 16); line-height: 1.54; } @media (max-width:910px) { .ma__footer__copyright { text-align: center; } } .ma__footer__copyright p { margin-bottom: 0.25em; } .ma__footer { background-color: var(--mf-c-bg-section); } .ma__footer__back2top { font-weight: 600; background-color: var(--mf-c-font-inverse); border-color: rgba(20, 85, 143, 0.5); color: #14558f; background-color: rgba(255, 255, 255, 0.9); } .ma__footer__back2top:hover:not(:disabled) { background-color: #14558f; } .ma__footer__back2top svg { fill: #14558f; } .ma__footer__back2top:hover:not(:disabled) { color: var(--mf-c-font-inverse); } .ma__footer__back2top:hover:not(:disabled) svg { fill: var(--mf-c-font-inverse); } .ma__footer__back2top svg { fill: rgba(20, 85, 143, 0.5); } .ma__footer__back2top:hover svg { fill: var(--mf-c-font-inverse); } .ma__footer__copyright { color: var(--mf-c-gray-dark); font-weight: 400; } .ma__footer__copyright--date { font-weight: 500; }