body {
font-family: 'josefin sans';
line-height: 1.5;
color: #666;
}
header {
height: 129px;
}
a {
text-decoration:none;
transition:0.3s;
color:inherit;
}
.bullets li {
font-size:24px;
}
.inner {
width: 50%;
margin: 0 25%;
}
nav {
font-weight:600;}
.blk {
padding: 80px 0;
text-align: center;
}
.medium {
font-size: 22px;
}
.x-medium{
font-size: 26px;
}
.large {
font-size:40px;
}
.x-large {
font-size:50px;
}
.blue {
color: #3a656a;
}
.white {
color:white;
}
.blocktxt {
width: 50%;
margin: 0 25%;
}
.left {
text-align: left;
}
.block-postfooter {
background: #D3C6A5;
color: #000;
text-align: center;
padding: 5px 0;
font-weight:600;
}
.block-footer {
background: #3a656a;
padding: 50px 0;
text-align: center;
color: white;
}
.footerlinks {
font-size: 30px;
width: 875px;
margin: 2% auto;
}
.footerlinks a {
padding: 0 20px;
transition: 0.3s;
color: white;
}
.footerlinks a:hover,
.jpfoot a:hover{
color:#D3C6A5;
}
.jpfoot a {
color: white;
}
.hl-blk {
padding:200px 0;
text-align:center;
}
.fixed {
background-size:cover;
background-attachment:fixed;
}
.pain-back {
background: url(/sites/default/files/aches-pains-back.jpg);
}
.injuries {
background: #D3C6A5;
margin-top: -8px;
}
.checkboxes {
text-align: left;
}
.injuries svg {
font-size: 33px;
float: left;
padding: 0;
margin-right: 20px;
color: #fff;
}
.seperator path,
.seperator path {
fill: #D3C6A5;
stroke: #D3C6A5;
}
.block-footer svg{
font-size: 45px;
margin: 0 25px;
transition: 0.5s;
}
.block-footer svg:hover{
fill:white;
}
.mobilemenu svg {
color: #D3C6A5;
transition: 0.5s;
}
.mobilemenu svg:hover{
color: #332a29;
fill:#332a29;
}
.webform-submission-form {
width: 500px;
margin: 0 auto 60px;
text-align: center;
line-height: 28px;
}
.button--antiman {
background: none;
border: none;
font-size: 18px;
color: white;
}
.button {
display: inline-block;
padding: 1em 2em;
text-align: center;
position: relative;
z-index: 1;
font-weight: 500;
border-radius: 40px;
}
.button--inverted  {
transition: color 0.3s;
transition-timing-function: cubic-bezier(0.75,0,0.125,1);
}
.button--inverted::before {
border-color: #D3C6A5;
}
.button--antiman::before {
border: 2px solid #D3C6A5;
opacity: 0;
transform: scale3d(1.2,1.2,1);
}
.button--antiman::before,
.button--antiman::after {
content: '';
z-index: -1;
border-radius: inherit;
pointer-events: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transition: transform 0.3s,opacity 0.3s;
transition-timing-function: cubic-bezier(0.75,0,0.125,1);
}
.button--inverted::after {
background: #D3C6A5;
}
.button--inverted:hover {
color: #D3C6A5;
cursor: pointer;
}
.button--antiman:hover::before {
opacity: 1;
transform: scale3d(1,1,1);
}
.button--antiman:hover::after {
opacity: 0;
transform: scale3d(0.8,0.8,1);
}
.logobottom {
color: #D3C6A5;
}
.block-serviceboxes {
display:grid;
}
.webp .block-highlight {
background: url(/sites/default/files/highlight.webp);
padding: 220px 0 220px;
}
.no-webp .block-highlight {
background: url(/sites/default/files/highlight.jpg);
padding: 220px 0 220px;
}

.highlight-inner {
 width: 600px;
margin: 0 auto;
text-align: center;
}
.block-highlight .logotop {
font-size: 55px;
color: white;
}
.block-highlight .logobottom {
font-size: 40px;
}
.home {
width: 900px;
margin: 50px auto;
text-align: center;
}
.headerlogo img{
float: left;
width: 86px;
top: 5px;
margin: 0 20px 0 0;
position: relative;
}
.headerlogo .logotop {
font-size:35px;
}
.headerlogo .logobottom {
font-size:24px;
}
.user-login-form {
width: 500px;
margin: 50px auto;
text-align: center;
}
.main {
margin-top: 129px;
}
.bw-menu {
position: fixed;
top: 0;
left: 0;
background: #3a656a;
width: 100%;
color: white;
z-index: 9999;
border-bottom: 2px solid #d3c6a5;
}
.bw-menu nav{
width: 1170px;
margin: 0 auto;
text-align: center;
}
.bw-menu nav a{
padding: 0 20px;
color: white;
}
.mobilemenu {
display:none;
}
.headerlogo {
text-transform: uppercase;
line-height: 0;
width: 360px;
margin: 0 auto;
display: table;
}
.webform-confirmation {
width: 50%;
margin: 50px 25%;
text-align: center;
}
.cbp-so-scroller {
margin-top: 50px;
overflow: hidden;
}
.cbp-so-section {
margin-bottom: 1em;
position: relative;
}
.cbp-so-section:before,
.cbp-so-section:after,
.cbp-so-side:before,
.cbp-so-side:after {
content: " ";
display: table;
}
.cbp-so-section:after,
.cbp-so-side:after  {
clear: both;
}
.cbp-so-section p {
font-size: 22px;
font-weight: 300;
}
.cbp-so-side {
width: 42%;
float: left;
margin: 0 4%;
padding: 3em 0;
min-height: 12em;
}
.cbp-so-side-right {
text-align: left;
}
.cbp-so-side-left {
text-align: right;
}
.cbp-so-side-right img {
float: left;
}
.cbp-so-side-left img {
float: right;
}
.cbp-so-init .cbp-so-side {
opacity: 0;
transition: none;
}
.cbp-so-init .cbp-so-side-left {
transform: translateX(-80px);
}
.cbp-so-init .cbp-so-side-right {
transform: translateX(80px);
}
.cbp-so-animate .cbp-so-side-left,
.cbp-so-animate .cbp-so-side-right {
transition: transform 0.5s, opacity 0.5s;
transform: translateX(0px);
opacity: 1;
}
form input.form-submit {
cursor: pointer;
padding: 25px 50px;
display: inline-block;
margin: 15px 30px;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 700;
position: relative;
transition: all 0.3s;
}
form input.form-submit:after{
content: '';
position: absolute;
z-index: -1;
transition: all 0.3s;
}
form input.form-submit{
border: 3px solid #d3c6a5;
color: #fff;
background: #d3c6a5;
border-radius: 80px;
}
form input.form-submit:link,
form input.form-submit:visited {
color:white;
}
form input.form-submit:hover,
form input.form-submit:active {
background:none;
}
form input.form-submit:hover,
form input.form-submit:active{
color: #d3c6a5;
}
.grid {
margin: 80px auto;
width: 1240px;
display: grid;
grid-template-columns: 400px 400px 400px;
gap: 20px;
}
figure {
display: block;
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
-webkit-margin-start: 1px;
-webkit-margin-end: 1px;
}
.grid figure {
position: relative;
overflow: hidden;
background: #3085a3;
text-align: center;
cursor: pointer;
}
.grid figure img {
position: relative;
display: block;
min-height: 100%;
max-width: 100%;
opacity: 0.8;
}
.grid figure figcaption {
color: #fff;
text-transform: uppercase;
font-size: 1.25em;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.grid figure figcaption::before,
.grid figure figcaption::after {
pointer-events: none;
}
.grid figure figcaption,
.grid figure figcaption > a {
position: absolute;
top: 0;
left: 0;
width: 400px;
height: 300px;
}
.grid figure figcaption > a {
z-index: 1000;
text-indent: 200%;
white-space: nowrap;
opacity: 0;
}
.grid figure p {
letter-spacing: 1px;
font-size: 13px;
width: 80%;
margin: 0 10%;
}
figure.effect-oscar {
background: linear-gradient(45deg, #22682a 0%, #3a656a 40%,#3a342a 100%);
}
figure.effect-oscar img {
opacity: 0.9;
transition: opacity 0.35s;
}
figure.effect-oscar figcaption {
background-color: #3a342a69;
transition: background-color 0.35s;
}
figure.effect-oscar figcaption::before {
position: absolute;
top: 30px;
right: 30px;
bottom: 30px;
left: 30px;
border: 1px solid #fff;
content: '';
}
.figuretitle {
margin: 20% 0 10px 0;
transition: transform 0.35s;
transform: translate3d(0,100%,0);
}
figure.effect-oscar figcaption::before,
figure.effect-oscar p {
opacity: 0;
transition: opacity 0.35s, transform 0.35s;
transform: scale(0);
}
.effect-oscar:hover .figuretitle {
transform: translate3d(0,0,0);
}
figure.effect-oscar:hover figcaption::before,
figure.effect-oscar:hover p {
opacity: 1;
transform: scale(1);
}
figure.effect-oscar:hover figcaption {
background-color: #3a342a00;
}
figure.effect-oscar:hover img {
opacity: 0.4;
}
nav a,
nav a:link{
transition:0.5s;
}
nav a:hover {
color: #D3C6A5;
}
.clear { 
clear: both; 
}
.form-item input, .form-item select, .form-item textarea {
background: #3a656a30;
border: 0;
padding: 10px 0;
margin: 10px 0 30px;
width: 500px;
}
@media (max-width: 1600px) {
.cbp-so-side img {
width:100%;
height:auto;
}
}
@media (max-width: 1280px) {
.bw-menu nav{
display:none;
}
header {
height: 126px;
}
.main {
margin-top: 126px;
}
.grid {
width: 400px;
grid-template-columns: 400px;
}
.mobilemenu {
display: block;
width: 25%;
margin-top: 25px;
float: left;
text-align: center;
}
.headerlogo {
width: 50%;
text-align: center;
margin:15px 0;
float:left;
}
.headerlogo img {
top: 20px;
position: absolute;
left: 30%;
}   
}

@media (max-width: 1100px) {
.headerlogo {
margin: 25px 0;
}
header {
height: 122px;
}
.main {
    margin-top: 122px;
}
.headerlogo .logotop {
font-size: 25px;
}
.headerlogo .logobottom {
font-size: 20px;
}
}
@media (max-width: 999px) {
.grid figure {
margin: 10px 0;
width:100%;
}
.cbp-so-side-left,
.cbp-so-side-right {
text-align:center;
}
.home {
width: 90%;
margin: 50px 5%;
}
.footerlinks {
width: 90%;
}
.footerlinks a {
display: block;
float: none;
}
.grid {
width: 400px;
}
.cbp-so-side {
width:90%;
margin:0 5%;
}
}
@media (max-width: 860px) {
.headerlogo img {
display:none;
}
}
@media (max-width: 800px) {
.inner  {
width: 80%;
margin: 0 10%;
}
}
@media (max-width: 600px) {
.x-large {
font-size: 40px;
}
header {
height: 102px;
}
.blocktxt {
width: 80%;
margin: 0 10%;
}
.webform-submission-form, .form-item input, .form-item select, .form-item textarea {
width: 300px;
}
.main {
margin-top: 102px;
}
.block-highlight {
background-position: 30% 100%;
}
.highlight-inner {
width: 80%;
margin:0 10%;
}
.headerlogo {
margin:15px 0;
}
.bw-menu {
height: 100px;
}
.grid figure figcaption > a {
width: 100%;
height: 100%;
}
.grid figure p {
width: 80%;
margin: 0 10%;
padding: 0;
}
.headerlogo {
width:60%;
}
.mobilemenu {
width:20%;
}
}
@media (max-width: 420px) {
.grid {
width: 300px;
grid-template-columns: 300px;
}
.figuretitle {
font-size: 26px;
}
.grid figure figcaption,
.grid figure figcaption > a {
width: 300px;
height: 225px;
}
figure.effect-oscar img{
height: auto;
}
}