@import "/wp-content/themes/DentalCMO-Badger/wp-less/mixins.less"; @purple: #812a87; @gold: #bd9e2b; @easing: cubic-bezier(0.77, 0, 0.175, 1); body:not(.home) { #content>.container { max-width:1330px; width:100%; margin-top:25px; .margin-sides(auto); .padding-sides(25px); } } .shortWideBack>div { max-width:1330px; } #click-to-text { @media (min-width:769px) { position: absolute; top: 0; right: 0; height: 174px; display: flex; cursor:pointer; svg { max-width:30vw; height: auto; } } @media (max-width:768px) { display: none; } } header#masthead { #headerInfo { span { font-size: 20px !important; } } @media (min-width:1441px) { padding:0 25px; &, > * { .vertAlign(@justifyContent:space-between); } > div { width:50%; } } @media (max-width:1440px) and (min-width:769px) { #widget-logo-area-container { padding-right: 30vw; #logo { padding: 25px 20px; } } } @media (max-width: 879px) and (min-width: 769px) { #headerInfo { span { font-size: 14px !important; } a { font-size: 16px !important; } } } @media (min-width:769px) { #responsiveButtons { display: none; } ul.nav > li > a { padding:8px; line-height:1; height:unset; } .dropdown .dropdown>a.leftArrow { padding-right: 15px !important; padding-left: 30px !important; } } @media (max-width:768px) { #logo { padding: 20px; } } #headerInfo { @media (max-width:768px) { display: none; } .vertAlign; .headerInfo { .vertAlign(@justifyContent:flex-start); padding:5px; } .chesterfield { stroke:@purple; } .florissant { stroke:@gold; } svg { fill:none; stroke-width:1px; overflow:visible; margin-right:15px; } * { color:#8c8c8c; } span { font-family:Open Sans,Arial; font-size:16px; font-weight:700; margin-right:.5em; } a { font-family:Open Sans,Arial; font-size:22px; font-weight:500; } hr { margin:0 0 0 50px; border-top:2px solid #cdcdcd; } } .navbar { align-self: flex-end; .searchLi { .input-group { background-color: #fff; } input { min-width:150px; border: 0; } button { border: 0; } } } } @media (max-width:768px) { #responsiveheader { max-width: 550px; padding: 0 10px; a { width: 140px; } } } #sectionWelcome, #sectionTestimonials{ margin-bottom: 0px; } #hero-container { position:relative; overflow:hidden; figure { video { max-height:720px; } } .overlay { position:absolute; width:100%; height:100%; top:0; left:0; .transition(.5s, all, @easing); > svg { position:absolute; top:0; right:0; bottom:0; left:0; margin:auto; height:50%; width:auto; max-width:320px; max-height:320px; overflow:visible; #playWithSound { cursor:pointer; } > g:first-child polygon { .transition(.5s, all, @easing); } } .overlay-text { position:relative; z-index:10; display: flex; justify-content: flex-start; align-items: flex-end; height:100%; max-width:1920px; padding:0 25px; margin:auto; font-size:42px; text-align:center; pointer-events: none; > div { text-align:center; width:35vw; pointer-events: auto; padding-bottom: 5vw; font-size: 0; } h2 { color:#fff; line-height:1em; margin:0; text-align:center; text-transform:none; font-size:3vw; margin-bottom:2vw; @media (min-width:1400px) { font-size: 45px; } b { display:block; font-family:Open Sans,Arial; font-weight:700; text-transform:uppercase; padding-bottom:.5em; border-bottom:.05em solid #fff; margin-bottom:.5em; } span { font-family:Playfair Display; font-size:1.6em; font-weight:400; } } a { color:#fff; display:block; background-color:fade(@gold, 80); font-family:Avenir, Open Sans,Arial; text-align:Center; font-size:1.5vw; text-transform:uppercase; display:inline-block; padding:1em 1.5em; .clip("1.2em 0, calc(100% - 1.2em) 0, 100% 50%, calc(100% - 1.2em) 100%, 1.2em 100%, 0 50%"); @media (min-width:1400px) { font-size: 24px; } } } } &.playedWithSound { .overlay { opacity:0; pointer-events:none; } svg > g:first-child > polygon { &:first-child { .translateX(100%); } &:last-child { .translateX(-100%); } } } } #sectionWelcome { overflow:hidden; margin-top: 0px; @media (max-width:1400px) { margin-top: 0px; } > div { overflow:visible; position:relative; .padding-ends(~"calc(3vw - -50px)"); > * { position:relative; z-index:2; } &:before, &:after { content:' '; display:block; position:absolute; background-position:center; background-repeat:no-repeat; background-size:contain; z-index:1; } &:before { background-image:url('/wp-content/uploads/2019/04/back-one.svg'); width:600px; height:600px; right:100%; bottom:50%; } &:after { background-image:url('/wp-content/uploads/2019/04/back-two.svg'); width:1030px; height:1030px; left:80%; top:-25%; } } h1 { b { color:@purple; font-family:Avenir, Open Sans,Arial; font-size:1.25em; font-weight:700; text-transform:uppercase; } } } #sectionTestimonials { h2 { color:@gold; font-family:Playfair Display; font-size:42px; font-weight:400; padding:0 25px; letter-spacing:.1em; margin:0 0 25px; text-align:center; text-transform:uppercase; * { height:2.5em; vertical-align:text-bottom; } } .testimonial { > div { background-image:url('/wp-content/uploads/2015/04/placeholder.jpg'); background-position:center; background-size:cover; overflow:hidden; @media (min-width:769px) { height:~"calc((100vw * (1 / 3)) * .75)"; } @media (max-width:768px) { height:75vw; } } .su-lightbox { svg { height: 77%; max-height: 277px; width: auto; overflow:visible; > g { cursor:pointer; } > polygon { pointer-events:none; } } } cite, blockquote { display:block; font-style:normal; text-align:center; line-height:1; margin:25px; } cite { color:@purple; font-family:Avenir, Open Sans,Arial; font-size:36px; font-weight:700; } blockquote { color:#4f4f51; font-family:Open Sans,Arial; font-size:24px; font-weight:400; padding:0; margin-bottom:0; } &:nth-child(1) { svg > polygon { fill:@purple; } } &:nth-child(2) { svg > polygon { fill:#4f4f51; opacity:.5; } } &:nth-child(3) { svg > polygon { fill:@gold; } } } } #sectionHighlights { display:grid; grid-template-columns: repeat(3,1fr); @media (max-width:768px) { display: block; } .highlight { min-height:540px; height:100%; width:100%; position:relative; padding:25px; .vertAlign; .pseudoBeforeAfter; &:before { background-color:#fff; } &:nth-child(1):after { background-color:fade(@purple,70); } &:nth-child(2):after { background-color:fade(#fff,80); } &:nth-child(3):after { background-color:fade(@gold,70); } > div { max-width:420px; margin:auto; text-align:center; } h4 { font-family:Avenir, Open Sans,Arial; font-size:32px; font-weight:400; text-transform:none; text-align:center; color:#fff; margin:25px 0; } p { font-size:16px; color:#fff; } &:nth-child(2) { h4, p { color:#4f4f51; } } & { z-index:1; .transition(.5s, all, @easing); &:before, &:after { .transition(.5s, all, @easing); } &:after { .drop-shadow(0px 0px 20px 0 rgba(0,0,0,0)); } } @media (min-width:769px) { &:hover { z-index:100; &:before, &:after { height:calc(100% - -100px); width:calc(100% - -100px); top:-50px; left:-50px; .transition(.5s, all, @easing); } &:after { .drop-shadow(0px 0px 20px 0 rgba(0,0,0,0.25)); } } } } } #sectionCallToAction { .padding-ends(~"calc(7vw - -50px)"); background-image:url('/wp-content/uploads/2019/04/background.svg'); background-position:center; h2 { color:@gold; font-family:Playfair Display; font-size:28px; font-weight:400; padding:0 25px; letter-spacing:.1em; margin:0 0 25px; text-align:center; text-transform:uppercase; * { height:2.5em; vertical-align:text-bottom; } svg { overflow:visible; } } } #footer { &.lazyloaded { background-image:url('/wp-content/uploads/2019/04/footer.jpg'); } display:grid; grid-template-columns:1fr 1fr 1fr; > div:nth-child(odd) { background-color:fade(#6d6e71, 70); .vertAlign; > div { border:2px solid fade(#fff, 80); } } #footerInfo { .office { padding:35px; .vertAlign(@justifyContent:flex-start); &:not(:last-child) { border-bottom:2px solid #fff; } svg { fill:none; stroke-width:2px; stroke:#fff; overflow:visible; } div { margin-left:15px; border-left:2px solid #fff; padding-left:15px; a, b { color:#fff; font-family:Open Sans,Arial; font-size:20px; font-weight:500; letter-spacing:.1em; display:block; text-align:Center; } a { font-size:24px; white-space: nowrap; } &.footerAddress { a { font-size: 16px; } } } } @media (max-width:1300px) { .office { padding: 10px; div { b { font-size: 20px; } a { font-size: 24px; } } } } } #contactus { h2 { background-color:fade(@gold, 80); margin:0; padding:25px; font-size:32px; font-family:Avenir, Open Sans,Arial; font-weight:700; color:#fff; letter-spacing:.2em; text-align:Center; } .wpcf7 { background-color:fade(@purple, 80); padding:25px; textarea { height:150px; } input[type="submit"] { border:2px solid #fff; color:#fff; max-width:150px; margin:25px 0 0 auto; display:block; background-color:transparent; } } } #siteInfo { text-align:center; > div { width: 200px; > div { overflow:hidden; padding: 8px 8px 0px; } } svg { overflow:visible; max-width:100%; height:auto; } img { margin:25px; max-width: calc(100% - 50px); } } @media (max-width:768px) { display: block; > div { padding: 20px; } } } #socialMedia { background-color:fade(@purple, 80); text-align:center; padding-bottom:25px; a { display:inline-block; padding:10px; vertical-align:top; line-height: 1; margin:8px; } svg { height:32px; width:auto; path { fill:#fff; fill-opacity:.8; transition:fill-opacity .3s; -webkit-transition:fill-opacity .3s; } } a:hover svg path { fill-opacity:1; } } .wpcf7 .betterInput { position: relative; padding-top: 1.2em; border-bottom: 2px solid #fff; margin-bottom:10px; font-size:16px; font-family:Avenir, Open Sans,Arial; font-weight:400; color:#fff; *::placeholder { color: rgba(0,0,0,0); opacity: 0; } *:-ms-input-placeholder { color: rgba(0,0,0,0); } *::-ms-input-placeholder { color: rgba(0,0,0,0); } *:-moz-input-placeholder { color: rgba(0,0,0,0); } *::-moz-input-placeholder { color: rgba(0,0,0,0); } * { color:#313131; border:0; padding: 1px 2px; background: transparent; resize:none; } label { .transition(.3s, all, @easing); } input, select, textarea { color:#fff; font-size:inherit; font-weight:inherit; font-family:inherit; } select { display:block; width:100%; margin-bottom:5px; } label { position: absolute; width:100%; top:0; transform: translateY(1.2em); left:0; pointer-events: none; color:#fff; font-size:inherit; font-weight:inherit; font-family:inherit; } .req { color:#FF4136; .transition(.3s, color, @easing); } *:focus:not(:placeholder-shown) + label, *:focus + label, *:focus:not(:placeholder-shown) + label .req, *:focus + label .req { color:#fff; // Inputting } *:not(:placeholder-shown) + label, *:not(:placeholder-shown) + label .req { color:#ddd; // Inputted } *:focus + label, *:not(:placeholder-shown) + label { transform: translateY(0); font-size: .8em; } } .npo { background-color:@gold; padding:20px; position: relative; overflow: visible !important; body:not(.home) & { margin-bottom:40px !important; } .home & { right:0; z-index:100; margin-top:15px; color:#fff; } &:before { content:' '; display:block; position:absolute; width:~"calc(100% - -30px)"; height:~"calc(100% - -30px)"; top:-15px; left:-15px; border: 15px solid rgba(129, 42, 135, 0.5); z-index: 0; pointer-events: none; } h4, a, p { text-align:center; color:#fff; font-family:Avenir, Open Sans,Arial; font-weight:400; line-height:1; } h4 { margin:0 0 20px; font-weight:700; span { font-family:Playfair Display,Open Sans,Arial; font-weight:400; } } p { font-size:18px; color:#fff !important; } .textwidget { background-color: transparent !important; padding: 0; } strong { color: #fff; } } #secondary { #yourMessage { height: 150px; } } .wpcf7 .betterInput select { margin-top: 1.2em; + label { top: 1.2em; color: #fff !important; font-size: inherit !important; .req { color: #ff0000 !important; } } &:focus { + label, + label .req { color: #fff !important; font-size: 0.8em !important; } } } .purple { clear: both; margin-bottom: 35px; overflow: hidden; } .thumbnail .caption { font-size: 16px; font-weight: 400; text-transform: none; } #secondary .lightGray .textwidget { background-color: #eee; } #closeAd { cursor: pointer; position: absolute; left: 0px; top: -30px; padding: 5px 10px; background-color: #fff; z-index: 9; } #covid-19 { position: fixed; bottom: 0; right: 0; left: 0; margin: auto; width: 600px; max-width: 100%; z-index: 99999; background-color: #812a87; padding: 10px; height: fit-content; max-height: 600px; display: none; justify-content: center; @media all and (max-width: 1068px) { margin-left: 235px; } @media all and (max-width: 835px) { margin-left: auto; } } #covid-19 p { color: #fff; font-size: 22px; } #covid-19 a { color: #fff; font-weight: 600; } @media all and (max-width: 835px) { #kleer-dentist-widget { display: none !important; } } #inHousePlan { position: fixed; bottom: 10px; left: 10px; margin: auto; width: 250px; max-width: 100%; z-index: 99999; background-color: #fff; height: 190px; max-height: 600px; display: none; justify-content: center; border-radius: 15px; #closeAd { cursor: pointer; position: relative; display: block; background-color: #5d5d5d; z-index: 9; color: #fff; font-weight: 600; text-align: right; padding: 10px 10px 0 0; line-height: 1em; border-radius: 15px 15px 0 0; } p { text-align: center; font-weight: 600; &:nth-of-type(1) { background-color: #5d5d5d; color: #fff; padding: 10px; } &:nth-of-type(3) { margin-top: 20px; } a { background-color: #00c651; padding: 10px; color: #fff; font-weight: 600; } } }