@import "@{parenturl}/less/mixins.less"; #header { .blur(5px); background-color:fade(#17244C, 80); border-left:23px solid #62AB8C; z-index:999; padding:15px 25px 0; .transition(); #logo { padding-bottom:15px; align-self: center; img { max-height:75px; .transition(); } } .click-to-text, .header-phone { color:#fff; .font(~"Open Sans", 300, 20px); .grid-template-one(); grid-gap:.25em .5em; justify-items:start; letter-spacing:.1em; text-transform:uppercase; b { .inherit(); .bold(@size: 1.25em); } svg { fill:currentcolor; } } nav { > ul > li.menu-item-has-children > a { padding-right: 1em; } .menu-item-has-children > a { figure { height:100%; &:after { padding-bottom:0; } } } .sub-menu { box-shadow:2px 2px 8px fade(#393939, 25); } } &.smaller { row-gap: 10px; #logo { img { max-height: 45px; } } } @media (min-width:769px) { display:grid; grid-gap:20px 50px; align-items:end; justify-items:end; grid-template-columns:auto 1fr auto auto; grid-template-rows:auto auto; grid-template-areas: "logo . text call" "logo nav nav nav"; #logo { grid-area:logo; } .click-to-text { grid-area:text; } .header-phone { grid-area:call; } nav { grid-area:nav; } @media (max-width:1200px) { grid-gap:10px 25px; justify-items:start; grid-template-columns:auto 1fr auto; grid-template-rows:1fr 1fr auto; grid-template-areas: "logo . text" "logo . call" "nav nav nav"; nav { justify-self:end; } ul.nav > li > a { font-size:16px; .padding-sides(.75em); } .click-to-text, .header-phone { font-size:18px; } } #responsiveHeader { display:none !important; } } @media (max-width:768px) { padding: 10px 10px 0; .sticky & { max-height: calc(100vh - 20px); overflow-y: scroll; } #logo { text-align:center; } .click-to-text, .header-phone { display:none !important; } #responsiveHeader { display: grid; grid-template-columns: auto auto; grid-gap: 3px; margin-bottom: 10px; a { display: block; padding: 5px; background-color: #62AB8C; color: #fff; text-align: center; } } #header-menu figure.navbar-toggle { color: #fff; } } .menu-search { form { display:flex; flex-direction:row-reverse; } * { height:100%; border:none; background:transparent; &:focus { outline:none; } } input[type="submit"] { width:30px; background-image:url('/wp-content/uploads/2021/04/mag.svg'); background-position:center; background-repeat:no-repeat; cursor:pointer; font-size:0; color:transparent; } } .navbar-toggle { margin-bottom:8px; } } body.layout-full-width main#content, body:not(.layout-full-width) { background-image:url('/wp-content/uploads/2021/04/background.svg'); background-position:top center; background-size:cover; position:relative; z-index:10; .entry-content { position:relative; z-index:20; } } #above-footer { background-image:url('/wp-content/uploads/2024/01/Mason-Dental-Office-Photos-44_1920x1280.jpg'); display:grid; @media (min-width:769px) { > div { width:480px; max-width:50vw; } } @media (max-width:768px) { background-attachment:fixed !important; background-position:center !important; } #contact-us { background-color:fade(#172242, 80); padding:50px 25px; h5 { color:#fff; .font(~"Bebas Neue", 400, 54px); letter-spacing:.1em; margin:0; text-align:center; text-transform:uppercase; } .wpcf7 { .max-width(360px); margin-bottom:20px; } #social-media { .vertAlign; gap:25px; a { display:block; color:#fff; svg { fill:currentcolor; height:35px; width:auto; } } } } #footer-info { background-color:fade(#59A182, 80); padding:50px 25px; .min({justify-self:end;}); .vertAlign; .footer-info { color:#fff; .font(~"Open Sans", 400, 16px); .vertAlign; flex-direction:column; padding:25px; svg { fill:currentcolor; display:block; margin:0 auto 10px; } a, b { color:#fff; .inherit(); } a { .font(); } b { .bold(); } address { text-align:center; } } hr { background-color:#fff; margin:0; } } /**** Full BORDER Color ****/ .wpcf7 .better-input { .wpcf7-form-control-wrap { position: relative; background-color:fade(#fff, 0); border:2px solid #fff; margin-bottom:10px; display:block; margin-top: 1.75em; color:#fff; .font(~"Open Sans", 400, 16px); } .betterInput { .inherit(); .font(); *::placeholder { color: rgba(0,0,0,0.7); opacity: 1; } *:-ms-input-placeholder { color: rgba(0,0,0,0.7); } *::-ms-input-placeholder { color: rgba(0,0,0,0.7); } *:-moz-input-placeholder { color: rgba(0,0,0,0.7); } *::-moz-input-placeholder { color: rgba(0,0,0,0.7); } * { //color:inherit; border:0; padding: 1px 2px; //background: transparent; resize:none; } label { .transition(); } input, select, textarea { color:inherit; font-size:inherit; font-weight:inherit; font-family:inherit; padding:.3em; width:100%; &:focus { outline:none; } } textarea { height:150px; } select { display:block; width:100%; margin-bottom:5px; } label { position: absolute; width:100%; top:0; transform: translateY(.4em) translateX(.25em); left:0; pointer-events: none; color:inherit; 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(-1.3em); font-size: .8em; } } input[type="submit"] { border:none; display:block; cursor:pointer; margin:25px auto 0; height: 2em; width: 10em; .font(~"Open Sans", 400, 20px); text-transform:uppercase; letter-spacing:.1em; background-color:fade(#E8B361, 80); color:#fff; .transition(background-color); &:hover { background-color:#E8B361; } } } } #footer { background-color:#fff; padding:25px 25px 10px; > * { .max-width(1280px); margin-bottom:25px; } .copyright { text-align:center; margin-bottom:0; } ul.footer-menu { display:grid; grid-gap:25px; .min({ grid-template-columns:1fr 2fr 1fr; }); > li { > a { color:#fff; .font(~"Bebas Neue", 400, 32px); letter-spacing:.1em; padding:.25em .5em .15em .6em; margin:0 0 10px; text-align:center; text-transform:uppercase; display:inline-block; .pseudoBeforeAfter(); &:before { background-color:fade(#59A182, 78); .clip("0% 0%, 100% 0%, 100% 100%, 0% 100%"); z-index:-1; } &:after { background-color:fade(#fff, 15); .clip(~"25px 0%, calc(100% - 25px) 0%, 100% 100%, 50% 500%, 0% 100%"); z-index:-1; } } &:nth-child(2) { ul { columns:200px 2; } } } li { line-height:1; text-align:center; a { display:inline-block; line-height:1.375; } } } } .npoo { h4 { color:#fff; .font(~"Bebas Neue", 400, 36px); letter-spacing:.1em; padding:.6em .75em .5em .85em; text-align:center; text-transform:uppercase; display:inline-block; .pseudoBeforeAfter(); &:before { background-color:fade(#59A182, 78); .clip("0% 0%, 100% 0%, 100% 100%, 0% 100%"); z-index:-1; } &:after { background-color:fade(#fff, 15); .clip(~"50px 0%, calc(100% - 50px) 0%, 100% 100%, 50% 500%, 0% 100%"); z-index:-1; } } p { margin-bottom:10px; a { color:#fff; } } } .wp-image-2865 { shape-outside: url('/wp-content/uploads/2021/04/equipment.png'); shape-margin:25px; &.alignright { margin-right:-75px; } } #sidebar { /**** Full BORDER Color ****/ .wpcf7 .better-input { .wpcf7-form-control-wrap { position: relative; background-color:fade(#17244C, 0); border:2px solid #17244C; margin-bottom:10px; display:block; margin-top: 1.75em; color:#17244C; .font(~"Open Sans", 400, 16px); } .betterInput { .inherit(); .font(); *::placeholder { color: rgba(0,0,0,0.7); opacity: 1; } *:-ms-input-placeholder { color: rgba(0,0,0,0.7); } *::-ms-input-placeholder { color: rgba(0,0,0,0.7); } *:-moz-input-placeholder { color: rgba(0,0,0,0.7); } *::-moz-input-placeholder { color: rgba(0,0,0,0.7); } * { color:inherit; border:0; background-color: default; padding: 1px 2px; resize:none; } label { .transition(); } input, select, textarea { color:inherit; font-size:inherit; font-weight:inherit; font-family:inherit; padding:.3em; width:100%; &:focus { outline:none; } } textarea { height:150px; } select { display:block; width:100%; margin-bottom:5px; } label { position: absolute; width:100%; top:0; transform: translateY(.4em) translateX(.25em); left:0; pointer-events: none; color:inherit; 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:#17244C; // Inputting } *:not(:placeholder-shown) + label, *:not(:placeholder-shown) + label .req { color:#ddd; // Inputted } *:focus + label, *:not(:placeholder-shown) + label { transform: translateY(-1.3em); font-size: .8em; } } input[type="submit"] { border:none; display:block; cursor:pointer; margin:25px auto 0; height: 2em; width: 10em; .font(~"Open Sans", 400, 20px); text-transform:uppercase; letter-spacing:.1em; background-color:fade(#E8B361, 80); color:#fff; .transition(background-color); &:hover { background-color:#E8B361; } } } .widget-title { line-height:1.25em; padding:.25em .25em .15em; letter-spacing:.05em; } #npooCopy { pre { text-align:center; } a { border:1px solid #488084; background-color:#488084; color:#fff; display:block; padding:.25em; text-align:center; text-transform:uppercase; &:hover { background-color:#fff; color:#488084; } } } #reviews { line-height:0; text-align:center; a { display:inline-block; line-height:0; } } } /* Fixed CTAs */ .fixed-ctas { display: none; position: fixed; align-items: center; background-color: var(--primary-color); box-shadow: 0px 3px 10px #00000065; border-radius: 10px; z-index: 1000; } .fixed-ctas .cta { position: relative; width: 45px; text-align: center; cursor: pointer; } .fixed-ctas .cta svg path { fill: #fff; } .fixed-ctas .desktop-label { display: flex; align-items: center; justify-content: center; padding: 15px 0; } .fixed-ctas .cta .mobile-label, .fixed-ctas .cta .label-hover { display: none; } .fixed-ctas .cta .label-hover .top-text { font-size: 11px; text-align: left; text-transform: uppercase; } .fixed-ctas .cta .label-hover .bottom-text { font-size: 15px; text-align: left; font-weight: bold; text-transform: uppercase; } .fixed-ctas .cta .desktop-label:hover { background-color: #fff; } .fixed-ctas .cta .desktop-label:hover .label-hover { box-shadow: 0px 3px 10px #00000065; display: flex; flex-direction: column; justify-content: center; position: absolute; visibility: visible; right: 44px; top: 0; bottom: 0; margin: auto; border-top-left-radius: 10px; border-bottom-left-radius: 10px; background-color: var(--secondary-color-1); padding: 5px 15px; height: 100%; width: 140px; line-height: 1; color: #fff; z-index: -1; } .fixed-ctas .cta .desktop-label:hover svg path { fill: var(--primary-color); } @media only screen and (max-width: 768px) { .fixed-ctas { bottom: 0; left: 0; right: 0; transform: translate(0); display: grid; grid-template-columns: repeat(4, 1fr); /* Change depending on number of CTAs */ align-items: end; border-radius: 0; } .fixed-ctas .cta { width: auto; text-decoration: none; margin: 0; padding: 10px 0; } .fixed-ctas .cta:nth-of-type(4n+1) { background-color: #62AB8C; } .fixed-ctas .cta:nth-of-type(4n+2) { background-color: rgb(23,36,76); } .fixed-ctas .cta:nth-of-type(4n+3) { background-color: #A66E30; } .fixed-ctas .cta:nth-of-type(4n+4) { background-color: #000; } .fixed-ctas .cta svg { height: 30px; width: auto; margin-bottom: 5px; } .fixed-ctas .cta .mobile-label { display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff; text-align: center; font-size: 16px; text-transform: uppercase; } /* .fixed-ctas .cta .desktop-label, .fixed-ctas .cta .desktop-label:hover { display: none; }*/ /* un-comment if only mobile CTAs needed */ }