body {
  color:var(--dark);
  overflow-x:hidden;
  background-color: var(--beige);
  background-image: url('../img/graphic-page-background.webp');
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
}

body, input, select, textarea, button {
  font-family: var(--sans);
  font-size: var(--txt-base);
  line-height: 1.4;
  font-weight: 400;
}

b,strong {
  font-weight: 700;
}

h1,h2,h3,h4,h5,h6 { 
  font-weight: bold; 
  line-height: 1.25;
  font-family: var(--serif);
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}

h2 {
  font-size: var(--txt-xlarge);
}

h3 {
  font-size: var(--txt-large);
}

ul, ol {
  padding-left: 1em;
}

main ul:not([class]) li::marker {
  color: var(--green);
}


/* Buttons */

  .btn,
  .wp-block-button__link,
  .gform_button {
    text-decoration:none;
    font-size:1em;
    background: var(--green-dark);
    padding:0.7em 1em 0.4em;
    color:#fff;
    font-family: var(--serif);
    position:relative;
    min-width:175px;
    display:inline-block;
    font-weight:bold;
    border:none;
    transition: 0.3s;
    cursor: pointer;
    text-align: center;
  }

  .btn:before,
  .wp-block-button__link:before,
  .gform_button:before {
    content:'';
    position:absolute;
    inset: 0.3rem;
    display:block;
    border:solid 0.08rem;
    opacity: 0.5;
  }
  
  .btn:hover,
  .btn:focus,
  .wp-block-button__link:hover,
  .wp-block-button__link:focus {
    background: var(--blue);
  }
  
  .btn:active,
  .wp-block-button__link:active,
  .gform_button:active {
    position:relative;
    top:2px;
  }

  .btn-disabled {
    opacity:0.5;
    pointer-events:none;
  }
  
  .btn + .btn { margin-left:0.75em; }

  @media(max-width:640px){
    .btn { width:100%; }
    .btn + .btn { margin-left:0; margin-top:0.75em; }
  }

/* Leaves */

.leaves_topleft,
.leaves_topright,
.leaves_bottomleft,
.leaves_bottomright {
  position: relative;
}

.leaves_topleft > *,
.leaves_topright > *,
.leaves_bottomleft > *,
.leaves_bottomright > * {
  position: relative;
  z-index: 7;
}

.leaves_topleft:before,
.leaves_topright:after,
.leaves_bottomleft:before,
.leaves_bottomright:after {
  content:'';
  position: absolute;
  height: calc(100% + 50px);
  width: 13vw;
  max-width: 160px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 4
}

.leaves_topleft:before,
.leaves_bottomleft:before {
  right:calc(100% - 80px);
}

.leaves_topright:after,
.leaves_bottomright:after {
  left:calc(100% - 60px);
  max-width:120px;
}

.leaves_topleft:before,
.leaves_topright:after {
  background-position: top;
  bottom:0;
}

.leaves_bottomleft:before,
.leaves_bottomright:after {
  background-position: bottom;
  top:0;
}

.leaves_topleft:before {
  background-image: url('../img/graphic-leaf-left.webp');
}

.leaves_bottomleft:before {
  background-image: url('../img/graphic-leaf-bottom-left-small.webp');
  max-width:140px;
  height: calc(100% + 20px);
  right:calc(100% - 50px);
}

.leaves_topright:after,
.leaves_bottomright:after {
  background-image: url('../img/graphic-leaf-right.webp');
}

@media(max-width:1300px){
  .leaves_topleft:before,
  .leaves_topright:after,
  .leaves_bottomleft:before,
  .leaves_bottomright:after {
    content: none;
    display: none;
  }
}

/* Featured Callout */


.fcallout {
  background-color: var(--orange);
  padding: 2rem 5%;
  color: #fff;
  margin-block: 6rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1em;
  justify-content: space-between;
}

.fcallout > * {
  width: 100%;
}

.fcallout_bg {
  background-image: url('../img/graphic-bg-callout.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  position: absolute;
  inset: 0;
  opacity: 0.4;
  z-index: 2;
}

.fcallout_border {
  content: '';
  display: block;
  inset: 1.5rem;
  position: absolute;
  border: solid 2px var(--beige);
  z-index: 3;
  width: calc(100% - 3rem);
}

.fcallout_image {
  max-width: 50%;
  transform: rotate(3deg);
  margin-block: -5em;
  border: solid 8px #fff;
  box-shadow: var(--bshadow);
  position: relative;
}

.fcallout_padding {
  padding-top: 140%;
}

.fcallout_img,
.fcallout_img img {
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.fcallout_image,
.fcallout_text {
  position: relative;
  z-index: 5;
}

.fcallout_image:after {
  content:'';
  background-image: url('../img/graphic-leaf-bottom-left.webp');
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: 93%;
  bottom: 0.3em;
  width: 15vw;
  height: 20vw;
  max-width: 256px;
  max-height: 316px;
}

.fcallout_leaf:before {
  background-image: url('../img/graphic-leaf-right.webp');
  background-position: right bottom;
  content:'';
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  width: 15vw;
  height: 20vw;
  right:-1%;
  top: -1%;
  max-width: 203px;
  max-height: 180px;
  z-index: 9;
  transform: rotate(-28deg);
}

.fcallout_text {
  text-align: center;
  max-width: 440px;
}

.fcallout_heading{
  font-size: var(--txt-xlarge);
  font-family: var(--serif);
  color: #fff;
  font-weight: bold;
  --line-gap: -0.3em;
  margin-bottom: 0.5em;
  --line-height: 5px;
}

.fcallout .gform_button {
  background: var(--green);
}

.fcallout .gform_button:hover,
.fcallout .gform_button:active,
.fcallout .gform_button:focus {
  background: var(--blue);
}

.fcallout_text .gform_legacy_markup_wrapper ul li.gfield {
  margin-top: 10px;
}

.fcallout_text .gform_legacy_markup_wrapper ul li.gfield.gfield--type-textarea {
  margin-top: 15px;
}

.fcallout_text .gform_legacy_markup_wrapper {
  margin-bottom: 0;
  margin-top: 0;
}

.fcallout_text .gform_legacy_markup_wrapper .gform_footer {
  clear: both;
  margin: 15px 0 0 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

.fcallout_text .gform_fields {
  position: relative;
  left: 16px;
}

.fcallout {
  --field-radius: 0;
  --field-padding: 0 1em !important;
  --field-border: solid 0 #a89f97;
  --field-bgcolor: #e9e0db;

  --field-border-focus: solid 0 #000;
  --field-bgcolor-focus: #fff;
  --field-shadow-focus: var(--bshadow);

  --input-height: 2em;
}


/* Blue Callout Box (resembles the dark orange footer) */

.fcallout-blue {
  background: var(--blue);
  padding: 4rem 4%;
  color: #fff;
  justify-content: space-between;
  margin-block: 0;
}

.fcallout-blue .fcallout_bg {
  opacity: 0.2;
  background-image: url('../img/img-wesminster-courtyard.webp');
}

.fcallout-blue .fcallout_text {
  text-align: left;
  max-width: 690px;
}

.fcallout-blue .fcallout_text p {
  max-width: 600px;
}

.fcallout-blue .fcallout_text p:last-child {
  margin-bottom: 0
}

.fcallout-blue .btn {
  position: relative;
  z-index: 6;
  max-width: 328px;
  text-align: center;
  background: var(--green);
}

.fcallout-blue .btn:hover,
.fcallout-blue .btn:active,
.fcallout-blue .btn:focus  {
  background: var(--green-dark);
}

.fcallout-blue .fcallout_heading {
  font-size:var(--txt-large);
} 

/* Green Background */

.fcallout-green {
 background: var(--green-dark);
 display: block;
 padding-block: 4rem;
 margin-block: 0;
}

.fcallout-green .btn {
  background: var(--beige);
  color: var(--green-dark);
}

.fcallout-green .btn:hover,
.fcallout-green .btn:active,
.fcallout-green .btn:focus {
  color:#fff;
  background: var(--blue);
}

.fcallout-green .fcallout_bg {
  background-image: url('../img/img-dining-room.webp');
}

.fcallout-green .fcallout_heading {
  text-align: center;
}

.fcallout-green .fcallout_text {
  max-width: 860px;
  margin-inline: auto;
}

.fcallout-green .fcallout_text p:last-child {
  margin-bottom: 0;
}

/* Responsive */

@media(max-width:860px){
  .fcallout_image {
    display: none;
  }

  .fcallout-blue {
    flex-direction: column;
    padding-inline: 3rem;
    gap:1em;
  }

  .fcallout-blue .fcallout_text {
    max-width: 400px;
    text-align: center;
  }

  .fcallout_text,
  .fcallout-blue .fcallout_text  {
    margin-inline: auto;
    padding-block: 2em;
  }

  .fcallout-green .fcallout_text  {
    padding: 0 0.75rem;
  }

  .fcallout-blue .fcallout_text {
    padding-block: 0 1em;
  }

  .fcallout_text .gform_fields {
    left: 0;
  }
  .fcallout_text .gform_legacy_markup_wrapper {
    padding-inline: var(--gap);
  }
  .fcallout_border {
    inset: 1rem;
    width: calc(100% - 2rem);
  }
  .fcallout:not(.fcallout-blue):not(.fcallout-green) {
    margin-block: 3rem;
  }
}

.ncmedia-ratio .ncmedia_image {
    height: 100%;
    position: absolute;
}
a.ncmedia_link.leaves_topright.chef_image .ncmedia_image {
    object-fit: contain !important;
}
.ncmedia-ratio .ncmedia_media,
.ncmedia-ratio .ncmedia_link {
  position: relative;
  aspect-ratio: 4/2.75;
}

.ncmedia-ratio .ncmedia_link,
body.wp-admin .ncmedia-ratio .ncmedia_link {
  display: block;
  cursor:default;
  pointer-events: none;
}

.ncmedia-ratio .ncmedia_link:after,
.ncmedia-ratio .ncmedia_link:before {
  z-index: 10
}

@media(min-width:720px){
  .ncmedia-ratio.ncmedia-left .ncmedia_text {
    padding-right: 3rem;
  }
  .ncmedia-ratio.ncmedia-right .ncmedia_text {
    padding-left: 3rem;
  }
}

@media(max-width:720px){
  .ncmedia-ratio .ncmedia .ncontain {
    grid-gap: 1rem;
  }
}

/* Big Callout */

.big-callout header {
  display:none !important;
}

.big-callout .fcallout_text {
  font-size: var(--txt-large);
  font-weight: 600;
  font-family: var(--serif);
}
 
/* Career page form hide*/
.page-id-5846 .fcallout.ncontain {
	display:none !important;
}
/* Move in community video styles*/
/* Rehabilitation page styles*/
.page-id-4846 .lbox_pic {
	border: 1px solid #50763c;
}