//common patterns .hero { position: relative; padding: 0; background: $bonvoy-black; &.light { background: $bonvoy-white; } &.home { img { height: 400px; @include breakpoint($lg) { height: 550px; } } .copy { top: 50%; } } img { object-fit: cover; object-position: right; width: 100%; height: 400px; opacity: 0.5; @include breakpoint($lg) { opacity: 1; } } .copy { position: absolute; top: 50%; transform: translate(0, -50%); text-align: center; padding: 0 2rem; @include breakpoint($lg) { top: 60%; max-width: 400px; text-align: left; left: 3rem; padding: 0; &.long { max-width: 460px; } } @include breakpoint($xl) { max-width: 500px; } p { font-family: $font-heading; font-size: 1.6rem; line-height: 1.25; } } } .number-bullet { display: inline-block; background: $bonvoy-orange; color: $bonvoy-white; height: 2.5rem; width: 2.5rem; line-height: 2.5rem; font-size: 1.5rem; border-radius: 50%; font-family: $font-heading; text-align: center; } .offset-border { position: relative; &:after { content: ""; display: block; height: 100%; width: 100%; position: absolute; top: -4px; left: -4px; border: 2px solid $bonvoy-black; } } figure { margin: 0 auto; @include breakpoint($md) { margin: 0 0 1rem; } } .polaroid { padding: 1rem; border: 2px solid $bonvoy-black; border-top-color: transparent; border-right-color: transparent; background: $bonvoy-background; box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); max-width: 300px; @include breakpoint($md) { max-width: 100%; } .img-wrap { border: 2px solid $bonvoy-black; border-top-color: transparent; border-right-color: transparent; } figcaption { text-align: center; font-family: $font-heading-italic; display: block; padding-top: 1rem; font-size: 1.4rem; min-height: 2rem; } &.rotate-min-left { transform: rotate(-5deg); } &.rotate-min-right { transform: rotate(5deg); } &.rotate-left { transform: rotate(-10deg); } &.rotate-right { transform: rotate(10deg); } &.rotate-max-left { transform: rotate(-15deg); } &.rotate-max-right { transform: rotate(15deg); } &.rotate-max-right, &.rotate-max-right .img-wrap, &.rotate-min-right, &.rotate-min-right .img-wrap { border-right-color: $bonvoy-black; border-left-color: transparent; } } .what-is-vacavatar { button { display: block; margin: 1rem auto; } .audio { display: block; position: absolute; left: calc(50% - 100px); p { padding: 0.5rem 0.25rem; background-color: white; border-radius: 1rem; width: 200px; margin: 0; } &:after { content: ""; display: block; position: absolute; } &.adult:after { content: url("/images/quote1.png"); top: 23px; } &.teen:after { content: url("/images/quote2.png"); left: 20px; } &.child:after { content: url("/images/quote3.png"); right: 0; top: 23px; } } img { margin-top: 1.5rem; max-width: 200px; } } .kid-tips { h3 { font-size: 1.25rem; } } .media-title { &.top-sep { border-top: 1px solid $bonvoy-grey-border; margin-top: 3rem; } img.svg { max-width: 45px; margin-right: 1rem; margin-top: -0.875rem; } h2 { display: inline-block; } } .orange-shadow { position: relative; &:before { content: ""; display: inline-block; position: absolute; left: 0rem; top: -1rem; z-index: 0; width: 85%; height: 100%; background: linear-gradient(-90deg, #fbc02d, $bonvoy-coral); } &.flush:before { height: calc(100% + 1rem); } > div { position: relative; z-index: 9; margin-left: 1rem; background: $bonvoy-white; img { width: 100%; } } } .grey-rule { display: flex; align-items: center; &:before, &:after { content: ""; flex: 1; display: inline-block; height: 2px; background: $bonvoy-grey; margin: 0 0.5em; } } p.red-rule { color: $bonvoy-orange; font-weight: 700; text-align: center; position: relative; &:before { content: ""; display: block; background: $bonvoy-coral; position: absolute; width: 100%; height: 10px; margin-top: -5px; border-radius: 5px; top: 50%; left: 0; } span { display: inline-block; padding: 0 1rem; position: relative; background: $bonvoy-background; } } .modal { .modal-header { border-bottom: 1px solid $bonvoy-coral; } .modal-body { padding-bottom: 0; } .modal-footer { padding-top: 0; border-top: none; } h3 { font-size: 1.25em; } p { font-size: 0.875em; } a { color: $bonvoy-black; text-decoration: underline; &:hover { opacity: 0.75; } } }