html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}







::selection {
  background: rgba(red,0.4);
}



.grid{
  width:100%;
  position:fixed;
  opacity: 0.3;
  top:0;
  right:0;
  bottom:0;
  left:0;
  background-image: url(/wp-content/themes/pearl-and-dean/img/grid.png);
  background-size: 1300px;
  background-repeat: repeat-y;
  z-index: 999;
  height: 100%;
  background-position: center;
  display:none;
}

h1,h2,h3,h4,h5,h6{
  text-wrap: balance;
  font-weight:400;
  font-family: "abril-fatface", serif;
  font-weight:500;
  color:#005883;
  line-height:1em;
  margin:0.5em 0 0.2em;
}
h1{
  font-size:60px;
}
h2{
  font-size:48px;
}
h3{
  font-size:36px;
}
h4{
  font-size:30px;
}
p{
  margin:0 0 0.5em;
}



.btn,
.wp-element-button{
  color:#fff;
  text-decoration:none;
  font-size: 14px;
  line-height: 14px;
  text-transform: uppercase;
  border: 1px solid rgba(0,88,131,0.60);
  display: inline-block;
  transition: 0.1s all ease-out;
  border-width: 1px;
  padding: 9px 20px 8px;
  letter-spacing: 0.05em;
  font-weight: 500;
  background:#FFFDFC;
  font-size: 16px;
  line-height: 22px;
  color: #005883;
  letter-spacing: 0.05em;
  border-radius:50px;
}
.btn.onblue{
  background:transparent;
  border: 1px solid rgba(255,253,252,0.60);
  color:#FFFDFC;
}
.btn.onblue:hover{
    background:rgba(255,253,252,0.15);
    border-color:rgba(255,253,252,0.15);
}
.btn.white{
  background: rgba(255,253,252,0.80);
  border: 1px solid transparent;
  color:#005883;
}

.btn.medium{
  padding:12px 30px;
  font-size: 18px;
  line-height: 22px;
}

.btn.large{
  padding:18px 60px;
  font-size: 18px;
  line-height: 22px;
}


img.lazyload:not([src]) {
  visibility: hidden;
}
/* fade image in after load */
.lazyload,
.lazyloading {
	opacity: 0;
}
.lazyloaded {
  transition: opacity 300ms;
	opacity: 1;

/*  width: 100%;
animation: 0.6s .5s loaded cubic-bezier(.49,0,.5,1) forwards;
transform: scale(0.8);
opacity:0;
display:block;*/

}
/*
@keyframes loaded {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
*/

.reveal{
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 0.8s opacity ease, 0.6s all ease-out;

}

.reveal.up{
  transform: translateY(-150px) translateX(0);
  opacity: 0;

}

.reveal.left{
  transform: translateY(0) translateX(-100px);
  opacity: 0;

}
.reveal.right{
  transform: translateY(0) translateX(150px);
  opacity: 0;

}


.reveal.active{
  transform: translateY(0) translateX(0);
  opacity: 1;
}
.reveal.fade{
  transform: translateY(0);
  transition: 1.8s all ease;
}



.unfinished{
  color:red !important;
}



html, body{
  margin:0;
  padding:0;
}
body{
  background:#FFFDFC;
  font-family: azo-sans-web, sans-serif;

  color:#242424;
      -webkit-font-smoothing: antialiased;
      font-size:18px;
      line-height:26px;

      overscroll-behavior: none;

}
body a{
  color:#005883;
  text-decoration:underline;
}


header.true{
  height: 90px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background:transparent;
  transition:background 0.2s ease-out;
  z-index: 4;
  align-items:center;
  background:transparent;
  display:flex;
  padding:0 30px;
  width:calc(100% - 60px);
}
header.true:after{
    content:"";
    width:calc(100% - 60px);
    border-bottom:1px solid rgba(255,253,252,0.30);
    height:0;
    position:absolute;
    left:30px;
    bottom:0;
    transition:opacity 0.2s ease-out;
}

header.true.fade-in{
  background:#005883;
  /*box-shadow:0 0 20px rgba(0,0,0,0.2);*/

}
header.true.fade-in:after{
  opacity:0;

}
header.true .header-container{
  max-width:1700px;
  margin:0 auto;
  display: flex;
  flex-direction:row;
  justify-content: flex-end;
  width: 100%;
  align-items:center;
}

header.true h1,
header.true h2 {
  margin:10px 0 0 0;
  padding:0;
  flex-grow:2;
}
.logohead a{
  width:119px;
  height:47px;
  display:block;
  text-indent:-9999px;
  background-image:url('img/logos/river-medical-logo.png');
  background-position:center center;
  background-size:contain;
  background-repeat:no-repeat;
  filter: brightness(0) invert(1);
}


.menu-toggle{
  display:none;
}

header.true nav > ul{
  display:flex;
  flex-direction:row;
  flex-wrap:no-wrap;
  list-style-type:none;
  margin:0;
  padding:0;
  gap:10px;
}

header.true nav > ul > li{
  overflow:hidden;
}
header.true nav > ul > li:last-child{
  overflow:visible;
}

header.true nav > ul > li > a{
  color:#061412;
  font-weight:500;
  display:block;
  padding:7px 15px;
  margin-top:18px;
  text-decoration:none;
  position:relative;
  font-size: 16px;
  line-height: 24px;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  text-transform:uppercase;
  border-radius:2px;

}
header.true nav > ul > li > a + button{
  display:none;

}
header.true nav > ul > li:hover > a,
header.true nav > ul > li.current_page_item a,
header.true nav > ul > li.current-menu-item a,
header.true nav > ul > li.current-procedure-ancestor a,
header.true nav > ul > li.current-menu-parent a{
  background:#FFFDFC;
  color:#005883;
}
header.true nav > ul > li.menu-item-has-children:hover > a{
  border-radius:2px 2px 0 0;
}


header.true nav > ul > li.book-consultation a{
  color:#005883;
  position:relative;
  margin-left:15px;
}
header.true nav > ul > li.book-consultation a:before{
  content:"";
  z-index:-1;
  position:absolute;
  opacity: 0.9;
  background: #FFFDFC;
  border-radius: 35px;
  top:-3px;
  right:-5px;
  bottom:-3px;
  left:-5px;
  transition:opacity 0.2s ease-in;
}
header.true nav > ul > li.book-consultation:hover a{
  background:transparent;

}
header.true nav > ul > li.book-consultation a:hover:before{
  opacity: 1;

}


/*dropdown*/
header.true nav > ul > li > ul{
  position:absolute;
  background:#FFFDFC;
  top:73px;
  width:auto;
  opacity:0;
  visibility:hidden;
  -webkit-transition: opacity 300ms, visibility 300ms;
  transition: opacity 300ms, visibility 300ms;
  gap:0;
  margin:0;
  list-style-type:none;
  padding:30px 25px 15px;
  min-width:200px;
  border-radius:0 2px 2px 2px;

}

header.true nav > ul li:hover ul{
  opacity:1;
  visibility:visible;
}

header.true nav > ul > li > ul > li{
  margin:0;
  padding:0;
}
header.true nav > ul > li > ul > li:first-child a{
  padding-top:10px
}
header.true nav > ul > li > ul > li:last-child a{
  padding-bottom:10px
}

header.true nav > ul > li > ul > li a{
  font-size: 16px;
  letter-spacing: 0.89px;
  line-height: 19px;
  color: #005883;
  text-decoration:none;
  font-weight:500;
  padding:7px 0;
  display: block;
  max-width: 300px;

}
header.true nav > ul > li > ul > li a:hover{
  text-decoration:underline;
}
/*third level*/
header.true nav > ul > li > ul > li > ul{
  display:none;
}




.head{
  margin:0;
  padding:0 0 60px;
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  position:relative;

  overflow:hidden;
  align-items:center;
  border-bottom:0;
  padding:0 0 30px;
  justify-content: space-between;
  background:#005883;
  color:#FFFDFC;



}

.head .text{
  flex:0 0 calc(100% * 6 / 12 - 40px);
  padding-top:20px;

}
.page-template-page-procedures .head .text{
  flex:0 0 calc(100% * 9 / 12 - 40px);
}


.home .head{
  min-height:800px; /* Experimental */
  overflow:hidden;
  position:relative;
}
.head{
  min-height:800px; /* Experimental */
  overflow:hidden;
  position:relative;
  padding:0;
  min-height:45vw;
  padding-top: 60px;

}
.head.pnggy{
  min-height:55vw;
  padding-top:0;

}



.head:before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  opacity: 0.1;
  background-image: radial-gradient(76% 146%, #FFFDFC 47%, #005883 100%);
  background-image:radial-gradient(at 80% 55%, #FFFDFC 47%, #005883 100%);
  z-index:-1;
}
.head:after{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.38;
  background-image: radial-gradient(at 73% 80%, #FFFDFC 0%, #005884 100%);
  background-image:radial-gradient(at 75% 110%, #FFFDFC -40%, #005883 70%);
  z-index:0;

}

.head .container{
  display:flex;
  z-index:2;
  width:100%;
  justify-content: space-between;
  align-items:center;
  gap:15px;
}
.head .text{
  flex: 0 0 calc(100%* 6 / 12 - 40px);
  padding-top: 20px;
}
.head.pnggy .text{
  flex: 0 0 calc(100%* 6 / 12 - 40px);
}
.head .text h1,
.head .text h2{
  font-weight:500;
  margin:0;
  font-family: "abril-fatface", serif;
  font-size: 96px;
  line-height: 96px;
  color:#fff;
  margin:0 0 12px;
  font-size:5vw;
  line-height:1em;

}
.head .text h1.longer,
.head .text h2.longer{
  font-size: 72px;
  line-height: 72px;
  font-size:5vw;
  line-height:1em;
}

.head .text h1 span,
.head .text h2 span{
  font-size: 48px;
  line-height:48px;
  font-size: 3.05vw;
  line-height: 3.05vw;
  display:block;
}
.head .text h2.pre{
  font-size: 36px;
  line-height:36px;
  display:block;
  margin-bottom:6px;

}
.home .head .text h1,
.home .head .text h2{
  font-size: 96px;
  line-height: 96px;
  font-size: 6.1vw;
  line-height: 6.1vw;

}

.head .text p{
  font-size: 24px;
  color: #FFFFFF;
  letter-spacing: -0.6px;
  line-height: 30px;
}

.single-procedure .head .text p{
  font-size: 21px;
  line-height:28px;
  letter-spacing:-0.025em;

  font-size: 1.46vw;
  line-height: 1.333em;
}

.single-procedure .head .call-to-call{
  border-top:1px solid #fff;
  margin:30px 0;
  padding:25px 0;

}
.single-procedure .head .call-to-call > p{
  font-size:16px;
  text-transform:uppercase;
  font-weight:500;
  letter-spacing:0.1em;

}
.single-procedure .head .call-to-call .call-buttons{
  display:flex;
  gap:10px;
  margin-top:20px;
}



.head:not(.pnggy) .image{
  flex: 0 0 calc(100% * 6 / 12 - 6px);
  position: relative;
  height: 0;
  padding-bottom: calc(75% * 6 / 12);
}
.head:not(.pnggy) .image img{
  position:absolute;
  width: auto;
  height:100%;
  width:100%;
  object-fit: cover;
  right: 0;
  left: auto;


}


.head.pnggy .container:before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  height: 20%;
  width:80%;
  z-index:1;

  background-image: radial-gradient(at 70% -51%, #0F0F0F 0%, rgba(0,0,0,0.00) 60%);

}
.head.pnggy .image{
  z-index:-1;
  flex:0 0 calc(100% * 6/12);
  position:relative;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0%;

}
.head.pnggy .image:before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left: 72vw;
  opacity: 0.2;
  transform: rotate(-37deg);
  box-shadow: 0 0 80px 80px #FFFDFC;
  background:#FFFDFC;
  height: 80vw;
  opacity: 0.2;
}
.head.pnggy .image img{
  position:absolute;
  width: auto;
  height:100%;
  object-fit: cover;
  right: 0;
  left: auto;
/*
  filter: drop-shadow( 7px  0px 0px white)
          drop-shadow(-7px  0px 0px white)
          drop-shadow( 0px  7px 0px white)
          drop-shadow( 0px -7px 0px white);
*/
filter:drop-shadow( -60px  60px 10px rgba(0,0,0,0.15));
}
.head.pnggy .text{
  z-index: 2;
}

.head.imageless{
  padding-top: 130px;
  min-height: unset;
  padding-bottom: 70px;
}

.head.imageless .text{
  flex:0 0 100%;
  text-align:center;
}



.head .video{
  width: 100%;
  height:calc(100% - 90px);
  position: absolute;
  top: calc(50%);
  transform: translateY(-50%);
  left:0;

  height:100%;
  top:0;
  transform:none;

}
.head .video:before{
  content:"";
  background:rgba(0,0,0,0.3);
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index: 1;
}
.head .video:after{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3;
  left: 0;
  z-index: 1;
  background-image: radial-gradient(at 35% 50%, #000 -30%, rgba(0, 0, 0, 0) 40%);
}

.head.video-head .text{
  text-shadow:0 0 20px rgba(0,0,0,0.3);
}



.full-bleed-panel{
  display:flex;
  padding:60px 0;
  gap:15px;
  flex-direction:row;
  align-items: center;
  margin:5% 0;
  padding:0;
}

.page-template-default .full-bleed-panel{
  margin:-5% 0;

}
.full-bleed-panel > .image{
  background:rgba(0,88,131,0.02);
  flex:0 0 calc(100% * 5/12 - 7.5px);
  position:relative;

  flex: 0 0 calc(100% * 4/12 - 10.5px);
  margin-right: calc(100% * 1/12 + 2px);


}
.full-bleed-panel > .image.pill{
  border-radius:300px;
  overflow:hidden;
  height:0;
  padding-bottom:calc(100% * 7/12 - 10.5px);
  position:relative;
  border:10px solid #fff;
  z-index:2;
  background:#fff;
}

.full-bleed-panel > .image > picture img{
  width:100%;
  height:100%;
}

.full-bleed-panel > .image.pill > picture img{
  position:absolute;
  object-fit: cover;
  left:0;top:0;
  width:100%;
  height:100%;
}



.full-bleed-panel > .text{
  flex:0 0 calc(100% * 6/12 - 7.5px);

   font-size:24px;
   line-height:28px;
   padding-bottom:5vw;
   padding:0;

}
.full-bleed-panel > .text h3,
.full-bleed-panel > .text h2 {
  font-family: "abril-fatface", serif;
  font-size: 48px;
  color: #005883;
  line-height: 60px;
  margin:0;
  padding:0;
}


/*
.full-bleed-panel > .text a.btn{
  margin:20px 0;
}
*/

.full-bleed-panel > .text h3 a,
.full-bleed-panel > .text h2 a{
  text-decoration:none;

}
.full-bleed-panel > .text p{
  font-size: 24px;
  color: #242424;
  letter-spacing: -0.025em;
  line-height: 30px;

}
.full-bleed-panel > .text h3 + p{
  margin-top:0;
}
.full-bleed-panel.left{
  flex-direction:row-reverse;
  border-top:2px solid #061412;
  border-bottom:0;
}
.full-bleed-panel.left > .image{
  flex:0 0 calc(100% * 6/12 - 7.5px);

}

.full-bleed-panel.left > .text{
  display: flex;
  flex-direction: column;
  align-items: start;
  flex: 0 0 calc(100%* 6 / 12 - 7.5px);
  padding: 0 0 5vw;

}

.full-bleed-panel.map{
  margin:5% 0 0;
}

.full-bleed-panel.map > .image{
  flex:0 0 calc(100% * 6/12 - 10.5px);

}
.full-bleed-panel.map > .text{
  flex:0 0 calc(100% * 4/12 - 10.5px);

}
.full-bleed-panel.map .large-map{
  height:0;
  padding-bottom:120%;
  background-color:#f4f4f4;
  margin-left:calc(-50vw + var(--container-width)/2);

}
.full-bleed-panel.map .large-map h3{
  font-size:16px;
  line-height:18px;
}

.full-bleed-panel.map > .text h3{
  font-size:36px;
  line-height:48px;
  margin-bottom:20px;
}
.full-bleed-panel.map > .text .offices > div{
  margin-top:24px;
}
.full-bleed-panel.map > .text p{
  font-size:21px;
  line-height:24px;
}
.full-bleed-panel.map > .text p.tel, .full-bleed-panel.map > .text p.email {
    font-size: 16px;
    line-height: 21px;
    margin-bottom:0;
}


.wp-block-media-text{
  clear:both;
  margin:5% 0;
  gap:20px;
}
.wp-block-columns{
  margin:5% 0;
}
.wp-block-columns .text-block-column{
  padding:0 4%;

}



.procedure-scroll {
    display: flex;
    flex-direction: column;
    margin:0;
    align-items:center;
    width:100%;
    background-color:rgba(0,88,131,0.04);
}
.procedure-scroll.landing{
  position: relative;
  background:transparent;
}
.procedure-scroll.landing:before {
    content:"";
    top:0;
    left:0;
    height:100%;
    width:100vw;
    position:absolute;
      margin-left:calc(-50vw + var(--container-width)/2);
    background: rgba(0,88,131,0.04);
    z-index: -1;
}

.procedure-scroll .title {
    flex:0 0 calc(25% - 10px);
    text-align:right;
    padding-right:10px;
    box-sizing:border-box;


}
.procedure-scroll .title h4 {
  font-family: "abril-fatface", serif;
  font-size: 48px;
  letter-spacing: 0;
  text-align: right;
  line-height: 40px;
  word-spacing:100vw;
  margin:0 calc(100% * 2 / 12) 0;
  padding:36px 30px 30px;
  border-right: 1px solid rgba(0,88,131,0.20);
}

.procedure-scroll .title h4 a{
  text-decoration:none;
  color: #005883;

}
.procedure-scroll .items {
    gap:15px;
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    border:1px solid rgba(0,88,131,0.20);
    border-width:1px 0;
    width:100%;
}
.procedure-scroll.landing .items {
  flex-wrap:wrap;
  gap:0 15px;
  overflow:visible;
}
.procedure-scroll .items.wrap{
  flex-wrap:wrap;
}


.procedure-scroll .items .item{
    flex: 0 0 310px;
    text-decoration:none;
    text-align:left;
    box-sizing:border-box;
    color:#061412;
    transition:all 0.1s ease-in;
    position:relative;
    padding-bottom:64px;

    color: #005883;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.procedure-scroll.landing .items .item{
  flex:0 0 calc(100% * 4 / 12 - 10px);
  display: flex;
  flex-direction: column;

}
.procedure-scroll.landing .items .item:nth-child(3n+1):before{
  content:"";
  bottom:0;
  left:0;
  height:1px;
  width:100vw;
  position:absolute;
    margin-left:calc(-50vw + var(--container-width)/2);
    background: rgba(0,88,131,0.20);
  z-index: -1;
}
.procedure-scroll.landing .items .item:nth-child(3n):after{
  display:none;
}

.procedure-scroll:not(.landing) .items .item:first-child{
  margin-left:calc(50vw - var(--container-width)/2);

}
.procedure-scroll:not(.landing) .items .item:last-child{
  margin-right:calc(50vw - var(--container-width)/2);

}



.procedure-scroll .items .item:after{
  content:" ";
  position:absolute;
  right:-8px;
   height:100%;
   width:1px;
   top:0;
   background: rgba(0,88,131,0.20);
}
.procedure-scroll .items .item:last-child:after{
  display:none;
}



.procedure-scroll .items .item picture{
  width: 100%;
  margin: 0;
  overflow:hidden;
  height:0;
  padding-bottom: 63%;
  position:relative;
  display:block;
  transition:all 0.3s ease-in;

  background: #005883;
  background:#a2acb0;
  background:rgba(0,88,131,0.12);

  order:3;

}
.procedure-scroll .items .item.blue picture{
  background: #005883;
}
.procedure-scroll .items .item picture:before{
  content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      opacity: 0.1;
      background-image: radial-gradient(at 80% 55%, #FFFDFC 47%, #005883 100%);
      background-image: radial-gradient(at 80% 55%, #FFFDFC 47%, #56a9d1 100%);
      z-index: -1;
}
.procedure-scroll .items .item.blue picture:before{
  background-image: radial-gradient(at 80% 55%, #FFFDFC 47%, #005883 100%);
}

.procedure-scroll .items .item picture img{
    width:100%;
    height:100%;
    object-fit:cover;
    position:absolute;
    top:0;
    left:0;
    filter:
    drop-shadow(0px 0px 15px rgba(0,0,0,0.1))
    drop-shadow( -15px  30px 10px rgba(0,0,0,0.15))
    ;
    transition:all 0.2s ease-in;
}
.procedure-scroll .items .item:hover picture img{
        transform:scale(1.05);

}
.procedure-scroll .items .item picture + .btn{
  position: absolute;
  z-index: 2;
  bottom: calc(50% - 10px);
  bottom: 210px;
  left: 10px;
  background-color:rgba(255,253,252,0.8);
  border:0;

}
.procedure-scroll .items .item:hover picture + .btn{
  background-color:rgba(255,253,252,1);

}


.procedure-scroll.landing .items .item .text-holder {
    flex-grow: 1;
}
.procedure-scroll .items .item h5{
  font-family: azo-sans-web, sans-serif;
  font-weight:400;
  font-size: 21px;
  color: #005883;
  letter-spacing: 0;
  line-height: 24px;
  text-transform:uppercase;
  margin: 30px 40px 0 15px;
}
.procedure-scroll.landing .items .item h5{

  font-size: 30px;
  line-height: 30px;


}
.procedure-scroll .items .item h5 span {
    background-image: linear-gradient(rgba(0,88,131,0.1), rgba(0,88,131,0.1));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 15px;
    transition: background-size .3s;
    display: inline;
}


.procedure-scroll .items .item:hover h5 span{
    background-size: 100% 15px;
}



.procedure-scroll .items .item p{
  font-family: azo-sans-web, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 18px;
  margin: 7px 40px 20px 15px;

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* number of lines to show */
  line-clamp: 4;
  -webkit-box-orient: vertical;

}


.procedure-scroll .items .item:first-child h5,
.procedure-scroll .items .item:first-child p{
  margin-left:0;
}

.procedure-scroll.landing .items .item:nth-child(3n - 2) h5,
.procedure-scroll.landing .items .item:nth-child(3n - 2) p{
  margin-left:0;
}



.procedure-scroll + .procedure-scroll .title h4{
  margin:0 calc(100% * 7 / 12) 0 0;
  padding-top:70px;
}

.procedure-scroll.landing .items .item picture + .btn{
  order: 2;
  top: unset;
  bottom: unset;
  transform: translateY(130%);
  position: relative;
  margin-top: -39px;
  align-self: flex-start;
}



.container .testimonial-block{
  margin:8% auto;
  width: calc(100% * 9 / 12);

}


.testimonial-scroll {
    display: flex;
    flex-direction: column;
    margin:5% 0 8%;
    align-items:center;
    width:100%;
}

.testimonial-scroll .title {
    flex:0 0 calc(25% - 10px);
    text-align:right;
    padding-right:10px;
    box-sizing:border-box;


}
.testimonial-scroll .title h4 {
  font-family: "abril-fatface", serif;
  font-size: 60px;
  color: #005883;
  text-align: center;
  line-height: 60px;
  margin:0.5em 0 1em;
}

.testimonial-scroll .title h4 a{
  text-decoration:none;
  color: #005883;

}
.testimonial-scroll .items {
  gap: 110px;
  display: flex;
  flex-wrap: nowrap;
  overflow: auto;
  width: 100%;
}

.testimonial-scroll .items .testimonial-block {
  width:unset;
  flex:0 0 calc(var(--container-width) * 8 / 12 - 5px);
}
.testimonial-scroll .items .testimonial-block:first-child{
  margin-left:calc(50vw - var(--container-width)/2);
}
.testimonial-scroll .items .testimonial-block:last-child{
  margin-right:calc(50vw - var(--container-width)/2);
}

.testimonial-scroll.wrap .items{
  flex-wrap:wrap;
  gap:50px 5%;

}
.testimonial-scroll.wrap .items .testimonial-block,
.testimonial-scroll.wrap .items .testimonial-block:first-child{
  margin:0;
  flex:0 0 45%;
}
.testimonial-scroll.wrap .testimonial-block picture{
  padding-bottom:calc(200% * 3 / 8 - 12px);
}
.testimonial-scroll.wrap .testimonial-block .text blockquote p{
  font-size: 36px;
  line-height:36px;
}
.testimonial-scroll.wrap .testimonial-block .text blockquote + p.attrib{
  font-size:16px;
  line-height:18px;
}
/*procedure pages*/

.head + .container > :is(h1, h2, h3, h4, h5, h6, p, ul, ol){
  margin-left:calc(100% * 1 / 12);
}
.head + .container > .benefits + h2,
.head + .container > h2:first-child{
  padding-top:90px;
  margin-top:0;
}


.booking-modal {
  position: absolute;
  background: rgba(255,253,252,0.15);
  padding: 20px 30px;
  margin-top:20px;
  border-radius:50px;
  display:flex;
  gap:15px;

  opacity:0;
  visibility:hidden;
  -webkit-transition: opacity 300ms, visibility 300ms;
  transition: opacity 300ms, visibility 300ms;

}
.booking-modal:before{
    content:'';
    display:block;
    width:0;
    height:0;
    position:absolute;

    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom:8px solid rgba(255,253,252,0.15);
    left:50%;
    transform:translateX(-50%);

    top:-8px;
}
.booking-modal.active {

  visibility:visible;
  opacity:1;
}



.benefits{
  float:right;
  width:calc(100% * 4 / 12 + 4px);
  display:inline-block;
  margin: 0 0 60px calc(100% * 2 / 12);
  position:relative;
  padding:5% 0 5% 0;
  padding-right: calc(100%* 1 / 12);
  box-sizing: border-box;

font-size: 21px;
line-height: 26px;
letter-spacing: -0.025em;
}
.benefits:after{
  content:'';
  background: rgba(0,88,131,0.04);
  position:absolute;
  right:calc(var(--container-width) / 2 - 50vw);
  top:-16px;
  bottom:0;
  left:calc(-100% * 1 / 4);
  z-index:-1;
}

.benefits h3{
  font-size: 36px;
  line-height: 39px;
  margin:30px 0 12px;
}
.benefits ul{
  margin:0;
  padding:0;

}
.benefits li{
  margin:0 0 13px;

}
.benefits li::marker{
  color:#005883;
}


.faqs-area {
  padding: 7% calc(100%* 2 / 12 + 3px);
  position: relative;
  margin: 5% 0 0;
}
.faqs-area:before {
    content:"";
    top:0;
    left:0;
    height:100%;
    width:100vw;
    position:absolute;
      margin-left:calc(-50vw + var(--container-width)/2);
    background: rgba(0,88,131,0.04);
    z-index: -1;
}

.faqs-area h2{
font-size: 60px;
text-align: center;
line-height: 60px;
    margin:0 0 8% 0;
}

.page-intro .text .faqs-area{
  margin:0;
}











.page-intro{
  display:flex;
  flex-wrap:nowrap;

  margin:0 0 6% 0;
  gap:20px;
  min-height: 500px;
}
.page-intro.homesplash{
  min-height: 500px;
  align-items:center;

}
.page-intro.center{
  max-width:100%;
  justify-content: center;
  text-align:center;
}
.page-intro .title-head{
  flex:0 0 calc((100% / 3) - 12px);
  display:flex;
  flex-direction:column;
  justify-content: space-between;
  border-bottom:3px solid var(--magenta);
  padding:12px 0;
}
.page-intro .title-head h2{
  font-size: 48px;
  line-height: 48px;
  margin:3px 0 0 0;
}
.page-intro .text{
  /*flex: 0 0 calc((100% / 3 * 2) - 13px);
   border-top:3px solid var(--magenta); */
  padding:12px 0;
  width:100%;
}

.page-intro .text.narrow{
  margin:5%;
  width:90%;
}





.head + .container > h2.staff-team{
  margin:6% 0 20px 0;
  padding-top:0;
}

.staff-gallery{
  display:flex;
  width:100%;
  gap: 45px 15px;
  flex-wrap:wrap;
  margin:0 0 6%;

}
.staff-gallery .slide{
  flex:0 0 calc(25% - 12px);
}
.staff-gallery .slide .program-image{
  width:100%;
    position: relative;
    height: 0;
    padding-bottom: 130%;
    margin:0;
}

.staff-gallery .slide img{
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  right: 0;
  left: auto;
}
.staff-gallery .slide a{
  text-decoration:none;
}
.staff-gallery .slide h2{
  font-size: 24px;
  color: #005883;
  line-height: 28px;
  font-family: azo-sans-web, sans-serif;
  margin:15px 0 0;

}
.staff-gallery .slide h3{
  font-family: azo-sans-web, sans-serif;
  font-weight:400;
  font-size: 18px;
  color: #2D2D2D;
  letter-spacing: -0.45px;
  line-height: 21px;
  margin:0;
}


.container{
  margin: 0 auto;
  max-width:var(--container-width);
}
.container.tight{
  margin:2% auto;
}

header.true + .container{
  margin-top:170px;
  /*min-height:calc(100vh - 710px);*/
  margin-bottom:5%;
  position:relative;
    overflow-x: hidden;
}





.global-search {
    background: #005883;
    padding: 5% 0;
}
.global-search form{
    position:relative;
}
.global-search form:after{
    content:"";
    position:absolute;
    top: 5px;
    right: 6px;
    border-radius:50%;
    background:#fff;
    width: 50px;
    height: 50px;
    background-image: url('/wp-content/themes/pearl-and-dean/img/search.svg');
    background-size: 55%;
    background-repeat: no-repeat;
    background-position: center;
}
.global-search input#procedure-search-input {
    background: transparent;
    border: 1px solid #fff;
    padding: 20px;
    display: block;
    color: #fff;
    width: 100%;
    border-radius: 50px;
    position: relative;
    box-sizing: border-box;
    height: 60px;
    font-size:18px;
}
.global-search input::placeholder {
  color:rgba(255,255,255,0.7);

}

.global-search #procedure-results{
  color: #fff;
  text-align: center;
}
.global-search #procedure-results > .procedure-scroll,
.global-search #procedure-results > p{
  margin:20px auto 0;
}
.global-search #procedure-results > p{
  max-width:760px;
}
.global-search #procedure-results > p a{
  color:#fff;
}
.global-search .procedure-scroll .items .item{
  margin:0 !important;
  padding-bottom:20px;
  flex:0 0 calc(25% - 12px);

}
.global-search .procedure-scroll .items .item *{
  color:#fff !important;

}
.global-search .procedure-scroll .items .item:after{
  background:rgba(255,255,255,0.2);
}
.global-search .procedure-scroll .items .item{
  border-bottom:1px solid rgba(255,255,255,0.2);
}
.global-search .procedure-scroll .items .item:nth-last-child(-n+4){
  border-bottom:none;
}

.global-search .procedure-scroll .items .item:nth-child(4n):after,
.global-search .procedure-scroll .items .item:last-child:after{

  display:none;
}


.global-search .procedure-scroll .items .item picture{
  background:#FFFDFC;
}

.global-search .procedure-scroll .items .item:nth-child(4n-3) h5,
.global-search .procedure-scroll .items .item:nth-child(4n-3) p{
  margin-left:0;
}

.generic-text{
  width:calc(80% - 7px);
  position:relative;
  padding-bottom:24px;
  padding-bottom:30px;
  padding-bottom:12px;

}
.generic-text:after{
  content:" ";
  position:absolute;
  width:50%;
  height:3px;
  left:0;
  bottom:0;
  background:var(--basecolor);
}
.generic-text.double:after{
  width:calc(125% + 10px);
}

.generic-text h1{
  font-size: 60px;
  line-height:60px;

/*  font-size: 120px;
  line-height:112px;
*/
  font-weight:600;
  letter-spacing: -0.03em;
  margin:0 0 12px 0;
}
.generic-text h1 .expanse{
  display: block;
  font-size: 48px;
  letter-spacing: -0.02em;
  padding: 0;
  line-height: 48px;
}

.generic-text p.byline{
  font-size: 24px;
  line-height: 30px;

/*  font-size: 30px;
  line-height: 30px;
*/
  margin:0;
  padding-bottom:12px;

}





.text-left{
  /*border:5px solid rgba(var(--blue-rgb),0.2);
  border-top: 1px solid rgba(255,255,255,0.3);
*/
  border-width:5px 0;
  margin:0 0 2%;
  position:relative;
  padding:0 0 5% 0;
  overflow:hidden;
  font-size:24px;
  line-height:30px;
}

.text-left .container .text{width: calc(60% - 10px);}
.text-left .container .text h4{
  font-size: 60px;
  line-height: 54px;
  font-weight: 600;
  margin:0 0 28px;
  letter-spacing: -0.02em;
}
.text-left .image{
  position:absolute;
  right:0;
  top:0;
  width:25%;
  height:100%;

}
.text-left .image img{
  width:100%;
  height:100%;
  object-fit: cover;
}





.wpcf7{

}
.wpcf7 input:not(.btn),
.wpcf7 select,
.wpcf7 textarea{
    font-family:"Poppins", sans-serif;
    background:transparent;
    padding:12px 15px;
    font-size:18px;
    line-height:18px;
    border:1px solid #005883;
    border-radius:2px;
    color:#242424;
    display:block;
    width:100%;
    margin:0 0 20px 0;
    box-sizing:border-box;
}
.wpcf7 input{
    padding:10px 15px;
}

.wpcf7 select{
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(0, 88, 131)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.6em;
  font-size:14px;
  padding:17px 15px;

}
.wpcf7 select option{
  color:#242424;
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  letter-spacing:0.03em;
  font-size:14px;
  opacity:0.8;
}



.wpcf7 br{
  display:none;

}
.wpcf7 label{
  display:none;
}
.wpcf7 label.needed{
  display:block;
  font-size: 14px;

}
.wpcf7 .wpcf7-not-valid-tip{
  font-size: 14px;
  margin-top:-18px;
  color:#dc3232;
  text-transform:uppercase;
  letter-spacing:0.01em;
}
.wpcf7 .wpcf7-submit{
  width:50%;
  box-sizing:content-box;
  float:right;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output{
  border-color:transparent;
  background:rgba(0,88,131,0.04);
  padding: 20px;
  margin: 0;
  font-size:18px;
  line-height:21px;
  margin:40px 0 0 0;
}



footer{

  background:#005883;
  color:#FFFDFC;

  font-size:16px;
  line-height:24px;
  position: relative;
  clear:both;
}
footer:before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  opacity: 0.1;
  background-image: radial-gradient(76% 146%, #FFFDFC 47%, #005883 100%);
  background-image:radial-gradient(at 80% 55%, #FFFDFC 47%, #005883 100%);
  z-index:-1;
}
footer:after{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.38;
  background-image: radial-gradient(at 73% 80%, #FFFDFC 0%, #005884 100%);
  background-image:radial-gradient(at 75% 110%, #FFFDFC -40%, #005883 70%);
  z-index:0;

}

footer .container{
  display:flex;
  flex-direction:row;
  z-index: 1;
  position:relative;
  flex-wrap:wrap;
}
footer .container > div{
  padding-top:50px;
}
footer .identity{
  flex: 0 0 calc(100% * 2 / 12 - 14px);
  border-right: 1px solid rgba(255,253,252,0.3);
  margin-right:20px;
}
footer .address{
  flex: 0 0 calc(100% * 5 / 12 - 14px);
  border-right: 1px solid rgba(255,253,252,0.3);
  padding: 0 15px 30px;
  box-sizing: border-box;
  display:flex;
  flex-wrap:wrap;
  justify-content: space-between;

}
footer .address > p{
  flex:0 0 100%;
  font-size:18px;
  line-height:26px;
  margin:0;
  letter-spacing: -0.025em;
  padding-right: 10%;
  box-sizing: border-box;
}

footer .address .offices{
  flex:0 0 50%;
  font-size:18px;
  line-height:26px;

}
footer .address .offices > div{
  margin:15px 0;
}
footer .address .offices > div p{
  margin:0;
  padding:0;
}
footer .address .offices > div p.add .title{
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:0.025em;


}
footer .address p.tel,
footer .address p.email{
  font-size:14px;
  line-height:20px;
}

footer .address .map{
  flex:0 0 48%;
  background-image: url(/wp-content/themes/pearl-and-dean/img/footer-map.svg);
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center center;

}

footer a{
  color:#fff;
  text-decoration:underline;
}
footer .logohead{
  margin:0;
  padding:0;
}
footer .logohead a{
  width: 148px;
  height: 57px;
}

footer .social-links{
  display:flex;
  flex-direction:column;
}
footer .social{
  text-transform: uppercase;
  font-size:14px;
  text-decoration:none;
  background-image: url(/wp-content/themes/pearl-and-dean/img/instagram.svg);
  background-size:24px 24px;
  background-position:0 12px;
  background-repeat:no-repeat;
  padding:12px 20px 12px 32px;
  margin:0;
  display:block;
  font-weight:500;
}
footer .social.instagram{
  background-image: url(/wp-content/themes/pearl-and-dean/img/instagram.svg);
  margin-top:30px;
}
footer .social.tiktok{
  background-image: url(/wp-content/themes/pearl-and-dean/img/tiktok-white-icon.svg);
}
footer .social.linkedin{
  background-image: url(/wp-content/themes/pearl-and-dean/img/linkedin-in-white.svg);
}

footer .social.facebook{
  background-image: url(/wp-content/themes/pearl-and-dean/img/facebook-f-white.svg);
}




footer .footer-nav{
  flex: 0 0 calc(100%);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 30px 0 60px !important;
}
footer .footer-nav ul{
  list-style-type:none;
  margin:0;
  padding:0 10%;
  display:flex;
  justify-content:space-around;
}
footer .footer-nav ul a{
  font-size:16px;
  line-height:16px;
  text-transform:uppercase;
  text-decoration:none;
  color:#fff;
  display:block;
  padding:6px 10px 6px 0;
  font-weight:500;
  color: #FFFDFC;
  letter-spacing: 0.025em;
}
footer .footer-nav ul a:hover{
  text-decoration:underline;
}

footer .footer-logos{
  flex: 0 0 calc(100% * 5 / 12 - 14px);
  align-items: baseline;
  gap: 28px 10%;
  align-self: flex-start;
  display: flex;
  flex-wrap: wrap;
  justify-content:flex-start;
  padding: 0 0 0 4%;
  box-sizing: border-box;

}
footer .footer-logos > span.title{
  flex:0 0 82%;
  font-size: 18px;
  font-weight:500;
  letter-spacing:0.02em;
  padding-bottom:10px
}

footer .footer-logos a {
    flex: 0 0 40%;
    display: block;
}
footer .footer-logos a img{
    width:80%;
    filter:brightness(0) invert(1);
}
footer .footer-logos span ~ a:nth-child(2) img{
  width:70%;
}
footer .footer-logos span ~ a:nth-child(3) img{
  width:100%;
}
footer .footer-logos span ~ a:nth-child(4) img{
  width:90%;
}
footer .footer-logos span ~ a:nth-child(5) img{
  width:60%;
}



article.type-post{
  width:calc(90% - 5px);
  display:flex;
  gap: 20px;
  padding: 40px 0;
  border-bottom:3px solid var(--basecolor);

}
article.type-post .entry-header{
  flex: 0 0 calc(30% - 15px);
  position: sticky;
  top: 140px;
  align-self: flex-start;
}
article.type-post .entry-content{
  flex: 0 0 calc(70% + -5px);
}

article.type-post .entry-header ul.post-categories{
  list-style-type:none;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  justify-content: flex-end;
  margin:14px 0 7px;
  padding:0;

}
article.type-post .entry-header ul.post-categories li{

}
article.type-post .entry-header ul.post-categories li a{
  text-decoration:none;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  color:#fff;
  border: 1px solid rgba(var(--magenta-rgb),0.5);
  border-radius:2px;
  padding: 10px 15px;
  display: inline-block;
  margin: 0;
  transition: 0.1s all ease-out;
}




article.type-post .entry-header h1,
article.type-post .entry-header h2{
  font-size:36px;
  line-height:36px;
  text-align:right;
  margin:0;
  padding:0;
}

article.type-post .entry-header h1 a,
article.type-post .entry-header h2 a{
  color:#fff;
  text-decoration:none;
}

article.type-post .entry-header .entry-meta .posted-on a {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
     border-top:1px solid var(--basecolor);
    padding:10px 0;
  display:inline-block;
  text-decoration:none;

}

article.type-post .entry-header .entry-meta {
    text-align: right;
    padding:10px 0 0;
}

article.type-post .entry-content p{
  font-size:18px;
  line-height:28px;
  margin:0 0 14px 0;

}

.blog .generic-text.double:after{
  width:calc(112% + 10px);
}

article.type-post .entry-content .post-thumbnail{
  width:100%;
  height:0;
  padding-bottom:56%;
  position:relative;

}
article.type-post .entry-content .post-thumbnail figure,
article.type-post .entry-content .post-thumbnail figure picture{
  position:absolute;
  top:0;
  left:0;
  bottom:0;
  right:0;
}
article.type-post .entry-content .post-thumbnail figure picture img{
  width:100%;
  height:100%;
  object-fit:cover;
  position:absolute;
}


article.type-post .entry-header .social-share-list{
	margin: 30px 0 0 0;
	padding:0;
	display:flex;
	flex-direction: row;
	list-style-type:none;
	align-items: end;
	gap: 10px;
	justify-content: flex-end;
}

article.type-post .entry-header .social-share-list li{
	margin:0 0 10px 0;
	padding:0;
	cursor:pointer;

}
article.type-post .entry-header .social-share-list li span{
	width: 44px;
	height: 44px;
	border-radius:50%;
	border: 1px solid rgba(255,255,255,0.4);
	text-indent:-999px;
	display:block;
	overflow:hidden;
	background-size:24px;
	background-repeat:no-repeat;
	background-position:center center;
	opacity:0.8;
}
article.type-post .entry-header .social-share-list li.facebook span{
	 background-image:url('img/facebook-f-white.svg');
	 background-size:10px;
}
article.type-post .entry-header .social-share-list li.twitter span{
	 background-image:url('img/twitter-white.svg');
   background-size:18px;

}
article.type-post .entry-header .social-share-list li.linkedin span{
	 background-image:url('img/linkedin-in-white.svg');
	 background-size:22px;
   background-size:18px;
}


.gdpr-cookie-notice-modal-cookie-title,
.gdpr-cookie-notice-modal-title{
  font-family: azo-sans-web, sans-serif;

}


.wa__btn_popup{
  z-index:999;
}
.gdpr-cookie-notice{
  z-index:1000;
}



.contact-details {
    flex: 0 0 calc(40% - 12px);
}
.contact-form{

}
.contact-details h2{
  flex: 0 0 100%;
  font-size: 48px;
  line-height: 48px;
  font-weight:600;
  margin: 20px 0;
}
.contact-details form{
  margin:0;
}
.contact-details form input,
.contact-details form textarea{
  width: 100%;
  background: transparent;
  color: #fff;
  padding: 15px 15px 15px 0;
  margin: 0 0 25px 0;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 0px;
  border-width: 0 0 1px 0;
  font-size:16px;
  font-family: "museo-sans", sans-serif;
  box-sizing: border-box;


}
.contact-details form textarea{
  border-width:1px;
  padding:15px;
}
.contact-details form input::placeholder,
.contact-details form textarea::placeholder {
  letter-spacing:0.03em;
  color: rgba(255,255,255,0.6);
  font-size:16px;
}
.contact-details form input:focus,
.contact-details form textarea:focus {
  border-color:var(--blue);
  outline:none;
}
.contact-details form input[type="submit"] {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 14px;
  text-transform: uppercase;
  border: 1px solid transparent;
  display: inline-block;
  margin: 20px 0;
  transition: 0.1s all ease-out;
  border-width: 1px;
  border-color: var(--yellow);
  background: var(--yellow);
  border-radius: 5px;
  padding: 13px 20px 10px;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin:0;
}


.contact-details .address{
  padding-top:30px;
}



.lightbox {
  z-index:4;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.lightbox.show {
    opacity: 1;
    visibility: visible;
}


.lightbox-content {
    background: white;
    padding: 20px;
    max-width: 800px;
    text-align: left;
    position: relative;
    border-radius: 5px;
    display:flex;
    gap:20px;

    transform: scale(0.9) translateY(10%);
transition: transform 0.4s ease;

}
.lightbox.show .lightbox-content {
    transform: scale(1) translateY(0);
}

.lightbox .image{
  flex:0 0 40%;

}
.lightbox .program-image{
  width: 100%;
  position: relative;
  height: 0;
  padding-bottom: 130%;
  margin: 0;
}
.lightbox img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  right: 0;
  left: auto;
}
.lightbox .text{
  flex:0 0 60%;
  padding-right:2%;
  box-sizing:border-box;
}

.lightbox .text #lightbox-bio h2{
  font-family: AzoSans-Regular;
  font-size: 24px;
  color: #2D2D2D;
  letter-spacing: -0.45px;
  line-height: 30px;
  margin: 0 0 10px 0;

}
.lightbox .text #lightbox-bio .bb_iawr{
  margin:20px 0;
}



.lightbox .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

#lightbox-bio {
   overflow: auto;
   display:block;
   max-height: 70vh;
   padding-right:10%;
}


#lightbox-bio {
	 -webkit-overflow-scrolling: touch;
	 -ms-overflow-style: -ms-autohiding-scrollbar;
	 -ms-overflow-style: none;
	 scrollbar-gutter: stable;
}
#lightbox-bio::-webkit-scrollbar-track {
	 background-color: rgba(0,88,132,0.2);
	 position: absolute;
  	 border-radius: 10px;

}
#lightbox-bio::-webkit-scrollbar {
	 width: 10px;
  	 height: 10px;
}
#lightbox-bio::-webkit-scrollbar-thumb {
	 border-radius: 10px;
	 background-color: #005884;
}



:root {
  --container-width: 1300px;

}
@media screen and (min-width: 1600px) {
  :root {
    --container-width: 1400px;

  }
}
@media screen and (min-width: 1800px) {
  :root {
    --container-width: 1600px;

  }
}
@media screen and (max-width: 1400px) {
  :root {
    --container-width: 1200px;

  }
}
@media screen and (max-width: 1300px) {
  :root {
    --container-width: 1100px;

  }

  .procedure-scroll.landing .items .item h5{
    font-size:21px;
    line-height:24px;
  }

  .testimonial-scroll.wrap .items{
    justify-content:center;
    gap:10%;
  }
  .testimonial-scroll.wrap .items .testimonial-block,
  .testimonial-scroll.wrap .items .testimonial-block:first-child{
    flex:0 0 100%;
    max-width:800px;
    margin-bottom:5%;
  }


}

@media screen and (max-width: 1150px) {
  :root {
    --container-width: 1000px;

  }
  header.true nav > ul > li > a{
    padding:7px 10px;
  }

  .head .text p{
    font-size:21px;
    line-height:24px;
  }

  .global-search .procedure-scroll .items .item{
    flex:0 0 calc(33% - 12px);

  }


}

@media screen and (max-width: 1050px) {
  :root {
    --container-width: 900px;

  }
}






@media screen and (max-width: 1300px) {
  .page-intro.homesplash{
    min-height:380px;
  }
}
@media screen and (min-width:1000px){


  header.true nav div[class^="group-show"] > .container > ul > li button{
    display:none;
  }

  .group-show-surgical{
    display:flex;
    gap: 20px;
    margin: 0 -30px;
    width: calc(100% + 60px);

  }

  header.true nav .group-show-surgical{
    position:absolute;
    background:#fff;
    top:73px;
    left:0;
    opacity:0;
    visibility:hidden;
    -webkit-transition: opacity 300ms, visibility 300ms;
    transition: opacity 300ms, visibility 300ms;
    gap:0;
    width: 102%;
    margin:0 -1%;
    box-shadow:0 10px 10px rgba(0,0,0,0.1);
  }

  header.true nav .group-show-surgical ul,
  header.true nav .group-show-surgical ul li{
    list-style-type: none;
    padding:0;
    margin:0;

  }
  header.true nav .group-show-surgical ul li a{
    font-size: 16px;
    letter-spacing: 0.89px;
    line-height: 19px;
    color: #005883;
    text-decoration:none;
    font-weight:500;
    padding:7px 0;
    display: block;
    max-width: 300px;
  }
  header.true nav .group-show-surgical ul li a:hover{
    text-decoration:underline;
  }
  header.true nav .group-show-surgical .container{
    width:100%;

  }
  header.true nav .group-show-surgical .container > ul{
    position:relative;
    width:100%;
    display:flex;
    box-sizing:border-box;
    gap:15px;
    justify-content: left;
    margin:30px 0 50px;
    padding-left:calc(100% * 3 / 12 + 3px);
  }
  header.true nav .group-show-surgical .container > ul > li{
    flex:0 0 calc(100% * 3 / 9 - 10px);
  }
  header.true nav .group-show-surgical .container > ul > li > a{
      color: #2D2D2D;
      text-transform:uppercase;
  }
  header.true nav > ul > li:hover .group-show-surgical{

      opacity:1;
      visibility:visible;

  }

  header.true nav .group-show-treatments ul > li > ul{
    display:none;

  }

  header.true nav .group-show-treatments > .container > ul{
    position:absolute;
    background:#FFFDFC;
    top:73px;
    width:auto;
    opacity:0;
    visibility:hidden;
    -webkit-transition: opacity 300ms, visibility 300ms;
    transition: opacity 300ms, visibility 300ms;
    gap:0;
    margin:0;
    list-style-type:none;
    padding:30px 25px 15px;
    min-width:200px;
    border-radius:0 2px 2px 2px;

  }

  header.true nav li:hover .group-show-treatments > .container > ul{
    opacity:1;
    visibility:visible;
  }

  header.true nav .group-show-treatments > .container > ul > li{
    margin:0;
    padding:0;
  }
  header.true nav .group-show-treatments > .container > ul > li:first-child a{
    padding-top:10px
  }
  header.true nav .group-show-treatments > .container > ul > li:last-child a{
    padding-bottom:10px
  }

  header.true nav .group-show-treatments > .container > ul > li a{
    font-size: 16px;
    letter-spacing: 0.89px;
    line-height: 19px;
    color: #005883;
    text-decoration:none;
    font-weight:500;
    padding:7px 0;
    display: block;
    max-width: 300px;

  }
  header.true nav .group-show-treatments > .container > ul > li a:hover{
    text-decoration:underline;
  }
  /*third level*/
  header.true nav .group-show-treatments > .container > ul > li > ul{
    display:none;
  }


  .head.fullbleed{
    align-items:flex-end;
    padding-bottom:3vw;
    box-sizing:content-box;

  }
  .head.fullbleed .image{
    position:absolute;
    top:90px;
    right:0;
    left:0;
    bottom:0;
    padding:0;
    height:unset;
    z-index:-1;
  }
  .head.fullbleed .text{
    text-shadow:0 0 10px rgba(0,0,0,0.5);
  }


}

@media screen and (max-width: 1000px) {
  body{
    font-size:16px;
    line-height:21px;
  }
  h1{
    font-size:60px;
  }
  h2{
    font-size:36px;
  }
  h3{
    font-size:30px;
  }
  h4{
    font-size:24px;
  }

  .btn.large{
    font-size:14px;
    line-height:18px;
    padding:10px 30px;
  }
  .btn.medium{
    font-size:14px;
    line-height:18px;
    padding:10px 30px;
  }

    .container{
      padding:0 15px;
    }
    header.true + .container{
      margin-top:60px;
    }

    /*button style*/
    .menu-toggle{
      display: flex;
      flex-direction: column;
      border: 0;
      background: transparent;
      color: #fff;
      font-size: 40px;
      overflow: hidden;
      padding: 0 20px;
      width: 66px;
      height: 73px;
      transition: all 0.2s ease-in;
      justify-content: center;
      gap: 5px;
    }

    .menu-toggle span {
      background: #fff;
      border-radius: 3px;
      height: 2px;
      margin: 0;
      transition: .4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    .menu-toggle span:nth-of-type(1) {
    		width: 100%;
    }

    .menu-toggle span:nth-of-type(2) {
    		width: 100%;
    }

    .menu-toggle span:nth-of-type(3) {
    		width: 100%;
    }

    .toggled .menu-toggle span:nth-of-type(1) {
    		transform-origin: bottom;
    		transform: rotatez(45deg) translate(5px,5px);
    }

    .toggled .menu-toggle span:nth-of-type(2) {
    		transform-origin: top;
    		transform: rotatez(-45deg)
    }

    .toggled .menu-toggle span:nth-of-type(3) {
    		transform-origin: bottom;
    		width: 50%;
    		transform: translate(10px,-3px) rotatez(45deg);
    }

    .menu-toggle:focus{
    	outline: none;
    }

    /*nav style*/
    header.true nav > ul{
      -webkit-user-select: none; /* Safari */
      -ms-user-select: none; /* IE 10 and IE 11 */
      user-select: none; /* Standard syntax */

    	position:fixed;
    	transform:translateX(calc(100vw - 66px));
    	transition:all 0.2s ease-in;
    	background:#FFFDFC;
    	height:100vh;
      width: calc(100vw - 66px);
      z-index: 2;
      overflow:auto;
      right:0;
      top:0;
      display: block;
      list-style: none;
      margin: 0;
      padding-left: 0;

    }
    header.true nav.main-navigation.toggled > ul{
    	transform:none;
    	transition:all 0.2s ease-out;

    }

    header.true nav.main-navigation.toggled .menu-toggle{
    	transform:translateX(calc(-100vw + 66px));
    	transition:all 0.2s ease-out;
      background-color:#005883;

    }


    header.true nav > ul li {
    	position: relative;
      clear:both;
    }

    /*all level*/
    header.true nav > ul > li a {
      display: block;
      text-decoration: none;
      text-transform: uppercase;
      color: #005883;
      padding: 12px 20px;
      position: relative;
      margin:0;
    }
    /*top level*/
    header.true nav > ul > li > a {
      font-size:18px;
      border-top: 1px solid rgba(0,0,0,0.12);
      padding: 18px 20px;
    }

    /*first child*/
    header.true nav > ul > li > ul a{
      padding-left:20px;
    }

    /*booking button*/
    header.true nav > ul > li.book-consultation a{
      margin:20px;
      color:#fff;
      padding: 10px 30px;
      width: auto;
      text-align:center;
    }
    header.true nav > ul > li.book-consultation a:before{
      background:#005883;
    }



    /* Hide submenus by default on mobile */
    header.true nav > ul > li > ul.sub-menu,
    header.true nav > ul > li > div[class^="group-show"] > .container > ul,
    header.true nav > ul > li > div[class^="group-show"] > .container > ul > li > ul
    {
      list-style-type:none;
      position:relative;
      margin:0;
      padding:0;
      top:unset;
      opacity:0;
      height:0;
      visibility:hidden;
      transition:height 0.2s ease-in 0s, opacity 0s ease-in 0.4s, visibility 0.3s ease 0.5s;
      display:block;
      width:100%;
      overflow:hidden;
    }
    header.true nav > ul > li > div[class^="group-show"] > .container{
      padding:0 !important;
    }

    header.true nav > ul > li > div[class^="group-show"] > .container > ul > li.menu-item-has-children .submenu-toggle{
      top:5px;
    }
    header.true nav > ul > li > div[class^="group-show"] > .container > ul > li.menu-item-has-children.open .submenu-toggle{
      top:0;
    }
    /* Show when parent has `open` class */
    header.true nav > ul > li.menu-item-has-children.open > ul.sub-menu,
    header.true nav > ul > li.open > div[class^="group-show"] > .container > ul,
    header.true nav > ul > li > div[class^="group-show"] > .container > ul > li.menu-item-has-children.open > ul
    {
      display: block;
      visibility:visible;
      opacity:1;
      height:auto;
      height:calc-size(auto, size);
      transition:height 0.2s ease-in 0s, opacity 0s ease-in 0s, visibility 0.3s ease 0s;


    }

    header.true nav > ul > li > ul li:last-child,
    header.true nav > ul > li > div[class^="group-show"] > .container > ul > li:last-child{
      margin-bottom:20px;
    }
    header.true nav > ul > li > ul li a,
    header.true nav > ul > li > div[class^="group-show"] > .container > ul > li > a{
      color: #005883;
      padding: 12px 30px 12px 0;
      margin: 0 0 0 30px;
      font-size:14px;
      font-weight:500;
      letter-spacing: 0.89px;
      line-height: 19px;
      border-top: 1px solid rgba(0,0,0,0.12);

    }


    header.true nav > ul > li > div[class^="group-show"] > .container > ul > li > ul > li > a{
      padding: 12px 30px 12px 0;
      margin: 0 0 0 40px;
      font-size:12px;
      font-weight:500;
      letter-spacing: 0.89px;
      line-height: 19px;
      border-bottom: 1px solid rgba(0,0,0,0.12);

    }
    header.true nav > ul > li > div[class^="group-show"] > .container > ul > li > ul > li:last-child{
      padding-bottom:10px;
    }
    header.true nav > ul > li > div[class^="group-show"] > .container > ul > li > ul > li:last-child > a{
      border:0;
    }


    header.true nav > ul > li > a + button.submenu-toggle{
      display:unset;
    }
    /* Optional styling for the toggle button */
    .submenu-toggle {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 2rem;
      margin-left: 0.5rem;
      position:absolute;
      right:10px;
      top:10px;
      transition:all 0.2s ease-out;
      color: #005883;
      transform: rotate(180deg);

    }
    .menu-item-has-children.open > .submenu-toggle {
      top:5px;
      transform: rotate(0deg);
    }

    .submenu-toggle:focus{
      outline: none !important;
      box-shadow: none !important;
    }





    header.true{
      height: 60px;
      width: 100%;
      border-radius: 0;
      border-width: 0 0 1px 0;
      margin: 0;
      padding:0;
      background:#005883;
    }
    header.true:after{
      left:0;
      width:100%;
    }
    header.true h1,
    header.true h2{
      margin:0 0 0 10px;
    }
    .logohead a{
      width: 96px;
      height: 38px;
    }


    .head{
      min-height:80vh;
    }



    .head .text h1, .head .text h2{
      font-size: 48px;
      line-height: 48px;
    }
    .head .text p,
    .single-procedure .head .text p{
      font-size: 16px;
      line-height: 19px;

    }
    .head .text p + .btn,
    .single-procedure .head .text p + .btn{
      margin-top:10px;
    }

    .head + .container > :is(h1, h2, h3, h4, h5, h6, p, ul, ol){
      margin-left:0;
    }

    .head + .container > .benefits + h2,
    .head + .container > h2:first-child{
      padding-top:30px;
      margin-top:0;
    }


    .head:not(.pnggy),
    .head{
      align-items:flex-start;
      min-height:unset;
      padding-top:0;
    }
    .head:not(.pnggy) .container,
    .head .container{
      flex-direction: column-reverse;
      padding-top: 60px;
      gap:0;
      justify-content:flex-start;
    }
    .head:not(.pnggy) .text,
    .head .text{
      padding:30px 0;
      width:100%;
    }

    .head.pnggy .image{
      position:relative;
      top:unset;
      bottom:unset;
      right:unset;
      left:unset;
      /*
      background:#FFFDFC;
      */
      border-bottom:2px solid #FFFDFC;
    }
    .head:not(.pnggy) .image,
    .head .image{
      margin: 0 -15px;
      width: calc(100% + 30px);
      padding-bottom: 70%;
    }

    .head.pnggy .image picture{
      width: 100%;
      height:100%;
      position:absolute;
      margin: 0;
      overflow: hidden;
      display: block;
      transition: all 0.3s ease-in;
      background: rgba(0, 88, 131, 0.06);
    }
    .head.pnggy .image picture:before{
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      opacity: 0.1;
      background-image: radial-gradient(at 80% 55%, #FFFDFC 47%, #56a9d1 100%);
      z-index: -1;
    }

    .head.pnggy .image img{
      width:100%;
      filter:drop-shadow(0px 0px 15px rgba(0,0,0,0.1))
    drop-shadow( -15px  30px 10px rgba(0,0,0,0.15));
    }

    .head .video{
      position:relative;
      top:unset;
      bottom:unset;
      right:unset;
      left:unset;
      /*
      background:#FFFDFC;
      */
      border-bottom:2px solid #FFFDFC;
      margin: 0 -15px;
      width: calc(100% + 30px);
      height:0;
      padding-bottom:61%
    }
    .head .video:before,
    .head .video:after{
      display:none;
    }
    .head.video-head .text{
      text-shadow:none;
    }



    .head:not(.pnggy) .text h1, .head:not(.pnggy) .text h2,
    .head .text h1, .head .text h2,
    .home .head .text h1,
    .home .head .text h2{
      font-size: 40px;
      line-height: 40px;
    }
    .head .text h1 span, .head .text h2 span{
      font-size: 30px;
      line-height: 30px;
    }

    .head .text h2.pre{
      font-size: 24px;
      line-height: 24px;

    }


    .head.imageless{
      padding-bottom:0;
    }


    .single-procedure .head .call-to-call{
      padding: 15px 15px;
      margin: 20px -15px 0;
    }
    .single-procedure .head .call-to-call > p{
      font-size:12px;
    }
    .single-procedure .head .call-to-call .call-buttons{
      flex-direction:column;
    }
    .single-procedure .head .call-to-call .call-buttons .btn{
      text-align:center;
    }

    .full-bleed-panel,
    .page-template-default .full-bleed-panel{
      flex-direction:column;
      margin:0 0 5%;
    }
    .full-bleed-panel > .image.pill{
      border-radius:0;
      margin:0 -15px;
      width:calc(100% + 30px);
      border:0;
    }
    .full-bleed-panel > .text h3, .full-bleed-panel > .text h2{
      font-size: 36px;
      line-height: 30px;
      margin: 0;
      text-align: left;
      border: 0;
      padding: 30px 0 15px;

    }
    .full-bleed-panel > .text p{
      font-size:16px;
      line-height:19px;
    }

  .full-bleed-panel > .text p + .btn{
     margin-top:10px;
   }

  .full-bleed-panel.map{
    margin:0 0 20%;
  }
   .full-bleed-panel.map > .image{
      margin: 0 -15px;
      width: calc(100% + 30px);
   }
   .full-bleed-panel.map .large-map{
     margin:0;
   }
    .benefits{
      float:none;
      width:calc(100% + 30px);
      margin:0 -15px;
      background:rgba(0,88,131,0.04);
      padding:0 15px;
      font-size:16px;
      line-height:26px;
    }
    .full-bleed-panel.map > .text{
      flex:0 0 100%;
      width:100%;
    }
    .full-bleed-panel.map > .text h3{
      font-size: 30px;
      line-height: 36px;
      padding-bottom: 0;
    }
    .benefits:after{
      display:none;
    }
    .benefits h3{
      font-size: 30px;
      line-height:30px;
    }
    .benefits ul{
      margin:0 0 30px 25px;
    }
    .benefits li{
      margin:0 0 6px;
    }




    .faqs-area {
      padding: 7% 15px;
      width:calc(100% + 30px);
      margin:0 -15px;
      background:rgba(0,88,131,0.04);

    }
    .faqs-area:before {
      display:none;
    }

    .faqs-area h2{
    font-size: 36px;
    text-align: left;
    line-height: 36px;
        margin:0 0 8% 0;
    }
    .page-intro .text .faqs-area{
          margin: 0 -15px;
    }
    .container .testimonial-block{
      width:100%;
    }


    .procedure-scroll .title{
      text-align:left;
    }
    .procedure-scroll .title h4{
      font-size: 36px;
      line-height: 30px;
      margin:0;
      text-align:left;
      border:0;
      padding:30px 15px 15px;
    }
    .procedure-scroll:not(.landing) .items .item:last-child,
    .procedure-scroll:not(.landing) .items .item:first-child{
      margin:0;
    }
    .procedure-scroll .items .item{
      flex:0 0 75vw;
      padding:15px 15px 50px;
    }
    .procedure-scroll .items .item h5{
      margin:0 !important;
    }
    .procedure-scroll .items .item p{
      margin:7px 20px 10px 0;
      font-size:14px;
      line-height:17px;
    }
    .procedure-scroll .items .item:last-child:after{
      display:none;
    }
    .procedure-scroll + .procedure-scroll .title h4{
      margin:0;
      padding:30px 15px 15px;
    }

    .procedure-scroll.landing .items .item{
      flex:0 0 100%;
      padding:30px 0;
      border-bottom:1px solid rgba(0,88,131,0.20);
    }
    .procedure-scroll.landing .items .item:last-child{
      border-bottom:0;
    }
    .procedure-scroll.landing .items .item:after,
    .procedure-scroll.landing:before,
    .procedure-scroll.landing .items .item:nth-child(3n+1):before{
      display:none
    }

    .procedure-scroll .items .item picture + .btn{
      left: 25px;
      bottom:0;
      transform: translateY(calc(-47.25vw + 17px));

    }
    .procedure-scroll.wrap .items .item picture + .btn{
      left:10px;
    }

  .global-search{
    padding:10% 0;
  }
  .global-search input#procedure-search-input{
        height: 50px;
  }
  .global-search form:after{
    width: 40px;
    height: 40px;
  }

    .global-search .procedure-scroll .items .item{
      padding:20px 0;
      flex:0 0 100%;
      flex-direction:row-reverse;
      gap:15px;
      border-bottom:1px solid rgba(255,255,255,0.2) !important;
    }
      .global-search .procedure-scroll .items .item h5{
        font-size:18px;
        line-height:21px;
      }
      .global-search .procedure-scroll .items .item picture{
        flex:0 0 30%;
        padding-bottom:30%;
      }
      .global-search .procedure-scroll .items .item:after{
        display:none !important;
      }

    .testimonial-scroll{
      margin:15% 0 8%;
    }

    .testimonial-scroll .title{
      flex:0 0 100%;
      text-align:left;
    }
    .testimonial-scroll .title h4{
      font-size: 36px;
      line-height: 30px;
      text-align:left;
      margin:15px 15px 30px;
    }
    .testimonial-scroll .items{
      gap:40px;
    }
    .testimonial-scroll .items .testimonial-block{
      flex:0 0 calc(100% - 30px);
    }
    .testimonial-scroll .items .testimonial-block:first-child{
      margin-left:15px;
    }
    .testimonial-scroll .items .testimonial-block:last-child{
      margin-right:15px;
    }


    .head + .container > h2.staff-team{
      margin:0 0 10px 0;
      font-size:30px;
    }
    .staff-gallery .slide{
      flex:0 0 calc(50% - 8px);
    }
    .staff-gallery .slide h2{
      font-size:21px
    }
    .staff-gallery .slide h3{
      font-size:14px;
      line-height:17px;
    }




    .generic-text{
      padding-bottom:18px;
      width:auto;
    }
    .generic-text.double:after{
      width:100%;
    }


    .generic-text h1{
      font-size:48px;
      line-height:48px;
      margin: 0 0 6px 0;
    }
    .generic-text p.byline{
      font-size: 21px;
      line-height: 24px;
      margin: 0;
    }



    .page-intro{
      flex-direction:column;
      gap:0;
      max-width:unset;
      padding-top:30px;
    }
    .page-intro.homesplash{
      min-height:unset;
    }

    .page-intro .text h1{
      font-size: 36px;
      line-height: 36px;
      margin: 0 0 6px;
    }


    .page-intro .text h2{
      font-size: 30px;
      line-height: 30px;
      margin: 0 0 6px;
    }
    .page-intro .text h3{
      margin:24px 0 12px 0;
      text-align: right;
    }
    .page-intro .text p{
      font-size: 16px;
      line-height: 22px;
      margin: 0 0 6px;
    }

    .page-intro .text.narrow{
      width:auto;
      margin:0;
    }











    .testimonial-scroll.wrap .testimonial-block .text blockquote p{
      font-size: 24px;
      line-height: 28px;
      margin: 10px 0 0;
    }


    footer .container{
      flex-direction:column;
      padding:0;
    }

    footer .container > div{
      padding-top:unset;
    }
    footer .container .identity{
      margin: 0;
      padding: 30px 15px;
      border-bottom:1px solid rgba(255,255,255,0.3);
      order:1;
      display:flex;
      gap:20px;
      align-items:flex-start;
      justify-content: space-between;
      flex-direction:column;

    }
    footer .social-links{
      flex-direction:row;
      flex-wrap:wrap;
      justify-content:flex-start;
    }
    footer .social{
      flex:0 0 30%;
    }
    footer .social.instagram{
      margin-top:0;
    }
    footer .container .logohead{
    }
    footer .container .address{
      margin:0;
      border: 0;
      border-bottom: 1px solid rgba(255,255,255,0.3);
      padding:0;
      order:2;
      overflow:hidden;

    }
    footer .container .address > p{
      margin:20px 15px;
      font-size: 16px;
      line-height: 23px;
    }
    footer .container .address > p:before{
      display:none;
    }
    footer .address .offices{
      display:flex;
      border-top: 1px solid rgba(255,255,255,0.3);
      flex:0 0 100%;

    }
    footer .address .offices > div{
      flex:0 0 50%;
      padding:15px;
      margin:0;
      box-sizing:border-box;
    }
    footer .address .offices > div:first-child{
      border-right: 1px solid rgba(255,255,255,0.3);

    }
  footer .address .offices > div p{
    font-size:14px;
    line-height:21px;
  }

  footer .address .offices > div p.tel, footer .address .offices > div p.email {
    font-size:12px;
  }

    footer .address > p.tel{
      margin-bottom:0;
    }
    footer .footer-nav{
      flex: 0 0 100%;
      border: 0;
      border-bottom: 1px solid rgba(255,255,255,0.3);
      margin: 0;
      padding-bottom:12px;
      order:3;
      padding:30px 0 !important;
    }
    footer .footer-nav ul{
      display:block;
      columns: 2;
      padding: 0 30px;
    }
    footer .footer-nav ul a{
      font-size:14px;
      line-height:14px;
      margin-bottom:10px;
    }

    footer .footer-logos{
      order: 4;
      gap: 30px 20px;
      justify-content: flex-start;
      padding: 30px;
      padding-top: 30px !important;
      padding-bottom:80px;
    }
    footer .footer-logos > span.title{
      font-size:14px;
      flex:0 0 100%;
      padding-bottom:0;
    }
    footer .footer-logos a{
      flex:0 0 41%;
    }

    footer .masthead{
      order:3;
      padding:10px 10px 20px;
    }
    footer .masthead p{
      font-size:14px;
      line-height:19px;
    }


    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content{
      padding:0;
      margin-top:20px;
    }

    .wp-block-columns .text-block-column{
      padding:0;
      margin-bottom:20px;
    }



    .lightbox-content{
      margin:0 15px;
      padding:10px;
      flex-direction: column;
      max-height: calc(90vh - 40px);
      overflow: auto;
      padding-top: 40px;
    }

    .lightbox-content {
    	 -webkit-overflow-scrolling: touch;
    	 -ms-overflow-style: -ms-autohiding-scrollbar;
    	 -ms-overflow-style: none;
    	 scrollbar-gutter: stable;

    }
    .lightbox-content::-webkit-scrollbar-track {
    	 background-color: rgba(0,88,132,0.2);
    	 position: absolute;
      	 border-radius: 10px;

    }
    .lightbox-content::-webkit-scrollbar {
    	 width: 10px;
      	 height: 10px;
    }
    .lightbox-content::-webkit-scrollbar-thumb {
    	 border-radius: 10px;
    	 background-color: #005884;
    }


    .lightbox .text{
      flex: 0 0 calc(60% - 10px);
      padding-right: 10px;
    }
    #lightbox-bio{
      max-height:unset;
      padding-right:0;
    }

}


@media screen and (max-width:480px){
  .head .text h1.longer, .head .text h2.longer{
    font-size: 36px;
    line-height: 1em;
  }

}


/*consent overwrite*/
@media screen and (min-width: 768px){
  body .gdpr-cookie-notice{
    top:50%;
    left:50%;
    bottom:unset;
    right:unset;
    transform:translate(-50%,-50%);
    flex-direction:column;

    opacity:0;
    visibility:hidden;
    -webkit-transition: opacity 300ms, visibility 300ms;
    transition: opacity 300ms, visibility 300ms;

    gap:20px;

  }
  .gdpr-cookie-notice-loaded body .gdpr-cookie-notice{
    opacity:1;
    visibility:visible;
    transform:translate(-50%,-50%);

  }
  .gdpr-cookie-notice-loaded body .gdpr-cookie-notice:before{
    left: -100vw;
        right: -100vw;
        bottom: -100vw;
        top: -100vw;
  }

}
