/* Custom CSS */


/* ---------- Stop / Start quote — everything scoped to .ssq ---------- */
.ssq {
  --ssq-navy: #0A305F;
  --ssq-cream: #F2DDC4;
  --ssq-font: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ssq-ease: cubic-bezier(.2, .8, .2, 1);

  overflow: hidden;
  overflow: clip;
  background: var(--ssq-navy)!important;
  color: var(--ssq-cream)!important;
  font-family: var(--ssq-font)!important;
  padding: clamp(5rem, 11vw, 10rem) clamp(1.25rem, 5vw, 5rem);
}
.ssq *, .ssq *::before, .ssq *::after { box-sizing: border-box; }

.ssq__figure {
  max-width: 1200px;
  margin: 0 auto;
    border: none;
}
.ssq__quote {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: clamp(2.5rem, 6vw, 5rem);
  position: relative;
}
.ssq__quote p { margin: 0; min-width: 0; }

/* Large opening quote mark */
.ssq__quote::before {
  content: "\201C";
  position: absolute;
  top: -.38em;
  left: -.04em;
  font-size: clamp(7rem, 16vw, 15rem);
  font-weight: 700;
  line-height: 1;
  opacity: .22;
  pointer-events: none;
}

.ssq__line { 
    display: block; 
     color: var(--ssq-cream)!important;
}

/* Part one: the question, quieter */
.ssq__lead {
  grid-column: 2 / 10;
  font-size: clamp(1.75rem, 3.6vw, 3.25rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.01em;
  font-variation-settings: "opsz" 72;
}
.ssq__lead .ssq__line:nth-child(2) { padding-left: 1.5em; }
.ssq__lead .ssq__line:nth-child(3) { padding-left: .6em; }

/* Part two: the answer, louder */
.ssq__turn {
  grid-column: 4 / 13;
  font-size: clamp(2.5rem, 6.4vw, 6rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.03em;
  font-variation-settings: "opsz" 144;
}
.ssq__turn .ssq__line:nth-child(2) { padding-left: 1em; }
.ssq__turn .ssq__line:nth-child(3) { padding-left: .5em; margin-top: .12em; }
.ssq__mark {
  display: inline-block;
  background: var(--ssq-cream)!important;
  color: var(--ssq-navy)!important;
  padding: .04em .22em .12em;
  border-radius: 2px;
  rotate: -1.5deg;
}

/* ---------- Scroll reveal, line by line ---------- */
.ssq.is-armed .ssq__line {
  opacity: 0;
  transform: translateY(.5em);
}
.ssq.is-visible .ssq__line {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ssq-ease), transform 1s var(--ssq-ease);
}
.ssq.is-visible .ssq__lead .ssq__line:nth-child(1) { transition-delay: 0ms; }
.ssq.is-visible .ssq__lead .ssq__line:nth-child(2) { transition-delay: 120ms; }
.ssq.is-visible .ssq__lead .ssq__line:nth-child(3) { transition-delay: 240ms; }
.ssq.is-visible .ssq__turn .ssq__line:nth-child(1) { transition-delay: 650ms; }
.ssq.is-visible .ssq__turn .ssq__line:nth-child(2) { transition-delay: 780ms; }
.ssq.is-visible .ssq__turn .ssq__line:nth-child(3) { transition-delay: 910ms; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .ssq__lead { grid-column: 1 / 11; padding-left: 1.5rem; }
  .ssq__turn { grid-column: 2 / 13; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .ssq__quote { grid-template-columns: minmax(0, 1fr); }
  .ssq__lead, .ssq__turn { grid-column: 1 / -1; }
  .ssq__lead { padding-left: 0; padding-top: 2.5rem; }
  .ssq__turn { padding-left: 1.25rem; }
  .ssq__lead .ssq__line,
  .ssq__turn .ssq__line { padding-left: 0; }
  .ssq__lead .ssq__line:nth-child(2) { padding-left: .75em; }
  .ssq__turn .ssq__line:nth-child(2) { padding-left: .5em; }
}

@media (prefers-reduced-motion: reduce) {
  .ssq.is-armed .ssq__line,
  .ssq.is-visible .ssq__line { opacity: 1; transform: none; transition: none; }
}

/* Bullet list */


.piece-list-leaf
{
    --piece-leaf-text: #244B35;
    --piece-leaf-icon: #F2B76D;

    display: grid;
    grid-gap: 24px;
    margin: 0;
    padding: 0;

    list-style: none;

    color: var( --piece-leaf-text );
    background: none;
}

.piece-list-leaf li
{
    display: grid;
    grid-template-columns: 1em 1fr;
    grid-gap: .85em;
    align-items: start;
    margin: 0;
    padding: 0;

    line-height: 1.6;
}

/* - */

/* some themes draw their own bullet with ::before, so this keeps the leaf as the only marker */
.piece-list-leaf li::before
{
    content: none;
}

/* - */

.piece-list-leaf-icon
{
    width: 1em;
    height: 1em;
    /* ( 1.6 line height - 1em icon ) / 2 sits the leaf on the middle of the first line, however far the text wraps */
    margin-top: .3em;

    color: var( --piece-leaf-icon );
}

@media( min-width: 768px )
{
    /* six rows and column flow fill the left column first, so the list still reads top to bottom in its written order */
    .piece-list-leaf
    {
        grid-template-columns: repeat( 2, 1fr );
        grid-template-rows: repeat( 6, auto );
        grid-auto-flow: column;
        grid-gap: 24px 64px;
    }
}


/*   */

#page-content section {
	padding: 72px 0;
}

.top {
  margin-top: -64px;
}

.bottom {
  margin-bottom: -64px;
}

.img
{
	border-radius: 10px;
  box-shadow: 4px 5px 17px -4px var(--colour4);
}

.homeheading {
	font-size: 60px;
}

@media (max-width: 767px) {
  .homeheading {
	  font-size: 30px;
  }
  .heading {
	  font-size: 30px;
  }
}

.homebanner {
  width: 100%;
	border-radius: 0px;
}

.textbox {
  background-color: var(--colour3);
  /* box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5); */
  box-shadow: 4px 5px 17px -4px var(--colour4);
  padding: 32px;
  border-radius: 10px;
}

.overtext {
  margin-bottom: -24px;
}

.overtext .heading {
  align-self: center;
}

.undertext {
  margin-top: -24px;
}

.undertext .heading {
  align-self: center
}

.overflow {
  overflow-wrap: anywhere;
}

.overflowx {
  overflow-x: visible;
}

.overflowy {
  overflow-y: visible;
}

.list {
  /* list-style-position: inside; */
  /* list-style-type: none; */
  margin-left: -20px;
  /* margin-top: 0px;
  margin-bottom: 0px; */
  align-items: start;
}

.tickyicons {
  color: var(--colour2);
}

@font-face {
  font-family: "Bevan";
  /* src: url("../Ameyallinda Signature.ttf"); */
  src: url("../Bevan-Regular.ttf");
}

@font-face {
  font-family: "AnekLatin";
  /* src: url("../Ameyallinda Signature.ttf"); */
  src: url("../Anek\ Latin.ttf");
}

/* From Uiverse.io by Creatlydev */
.button2 {
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    border: none;
    cursor: pointer;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--colour1);
    /*    background: linear-gradient(64deg, rgba(154, 108, 49, 1) 0%, rgba(181, 144, 83, 1) 54%, rgba(225, 207, 131, 1) 87%);*/
    border-radius: 10rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--colour3);
    /*    font-size: 20px;*/
    padding-left: 20px;
    line-height: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.3s;
	font-family: "figtree", sans-serif;

}

.button2__icon-wrapper {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    position: relative;
    color: var(--colour1);
    background-color: var(--colour3);
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.button2:hover {
    /*    border: 2px solid #347563;*/
    color: var(--colour3);
    background-color: #0a305f91;
}

.button2:hover .button2__icon-wrapper {
    background-color: var(--colour3);
    color: var(--colour1);

}

.button2__icon-svg--copy {
    position: absolute;
    transform: translate(-150%, 150%);
}

.button2:hover .button2__icon-svg:first-child {
    transition: transform 0.3s ease-in-out;
    transform: translate(150%, -150%);
}

.button2:hover .button2__icon-svg--copy {
    transition: transform 0.3s ease-in-out 0.1s;
    transform: translate(0);
}


/* COLOUR BG */

.colour-bg {
  background-color: var(--colour1);
  padding-top: 64px;
  padding-bottom: 64px;
}

.colour-bg :is(strong, b, h3, h2, h1, a) {
  color: var(--colour2) !important;
}

.colour-bg :is(li, p) {
  color: var(--colour3) !important;
}

.minicolourbg {
  padding: 32px;
  box-sizing: border-box;
  border-radius: 10px;
}


/* SLIDER DIVIDER BOTTOM */

.custom-shape-divider-top-177322838122 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -64px;
    transform: rotate(180deg);
    z-index: 3;
}

.custom-shape-divider-top-177322838122 svg {
    position: relative;
    display: block;
    width: calc(179% + 1.3px);
    height: 61px;
}

.custom-shape-divider-top-177322838122 .shape-fill {
    fill: var(--colour1);
}


.custom-shape-divider-home-177322838122 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -64px;
    transform: rotate(180deg);
    z-index: 3;
}

.custom-shape-divider-home-177322838122 svg {
    position: relative;
    display: block;
    width: calc(179% + 1.3px);
    height: 61px;
}

.custom-shape-divider-home-177322838122 .shape-fill {
    fill: var(--colour3);
}


/* SHAPE DIVIDER TOP */

.custom-shape-divider-top-17732283812 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-bottom: -32px;
    transform: rotate(180deg);
}

.custom-shape-divider-top-17732283812 svg {
    position: relative;
    display: block;
    width: calc(179% + 1.3px);
    height: 61px;
}

.custom-shape-divider-top-17732283812 .shape-fill {
    fill: var(--colour1);
}

/* SHAPE DIVIDER BOTTOM */

.custom-shape-divider-top-1773228381 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -32px;
}

.custom-shape-divider-top-1773228381 svg {
    position: relative;
    display: block;
    width: calc(179% + 1.3px);
    height: 61px;
}

.custom-shape-divider-top-1773228381 .shape-fill {
    fill: var(--colour1);
}


/* FOOTER DIVIDER TOP */

.custom-shape-divider-top-1773228381222 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    /* margin-bottom: -64px; */
    transform: rotate(180deg);
    z-index: 5;
}

.custom-shape-divider-top-1773228381222 svg {
    position: relative;
    display: block;
    width: calc(179% + 1.3px);
    height: 61px;
}

.custom-shape-divider-top-1773228381222 .shape-fill {
    fill: var(--colour1);
}



/* FOOTER DIVIDER BOTTOM 2 */

.custom-shape-divider-bottom-177263598422 {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    /* margin-top: -64px; */
    z-index: 5;
}

.custom-shape-divider-bottom-177263598422 svg {
    position: relative;
    display: block;
    width: calc(121% + 1.3px);
    height: 64px;
}

.custom-shape-divider-bottom-177263598422 .shape-fill {
    fill: var(--colour1);
}


.overcarda {
  /* background-color: #e2e2e2;
  padding: 24px;
  border-radius: 20px; */

  border-radius: 10px;
  /* box-shadow: 4px 5px 17px -4px #2c2c2b; */
  box-shadow: 4px 5px 17px -4px var(--colour4);
  background-color: #fff;
  padding: 24px;
  z-index: 3;
  /* border: solid 4px aliceblue; */
  margin-top: -96px;
}

.cardya {
  /* border: 4px solid var(--colour2); */
  padding: 32px;
  /* border-radius: 20px; */
  background-color: var(--colour3);
  width: 75%;
  /* height: 250px; */
  justify-self: center;

  border-right: 1px dashed black;
}

.cardya h2 {
  justify-self: center;
  text-align: center;
  color: var(--colour1)!important;
}

.cardya p {
  justify-self: center;
  text-align: center;
  color: var(--colour4)!important;
}

.cardya i {
  justify-self: center;
  text-align: center;
  color: var(--colour4)!important;
  font-size: large;
}

.cardya2 {
  padding: 32px;
  background-color: var(--colour3);
  width: 75%;
  justify-self: center;

}

.cardya2 h2 {
  justify-self: center;
  text-align: center;
  color: var(--colour1)!important;
}

.cardya2 p {
  justify-self: center;
  text-align: center;
  color: var(--colour4)!important;
}

.cardya2 i {
  justify-self: center;
  text-align: center;
  color: var(--colour4)!important;
  font-size: large;
}




.cardyb {
  border: 4px solid var(--colour2);
  padding: 32px;
  border-radius: 20px;
  background-color: var(--colour1);
  width: 75%;
  /* height: 250px; */
  justify-self: center;
  box-shadow: 4px 5px 17px -4px var(--colour4);
}

.cardyb h2 {
  justify-self: center;
  text-align: center;
  color: var(--colour2)!important;
}

.cardyb p {
  justify-self: center;
  text-align: center;
  color: var(--colour2)!important;
}

.cardyb i {
  justify-self: center;
  text-align: center;
  color: var(--colour2)!important;
  font-size: large;
}


.cardyc {
  border: 4px solid var(--colour1);
  padding: 32px;
  border-radius: 20px;
  background-color: var(--colour2);
  width: 75%;
  /* height: 250px; */
  justify-self: center;
  box-shadow: 4px 5px 17px -4px var(--colour4);
}

.cardyc h2 {
  justify-self: center;
  text-align: center;
  color: var(--colour1)!important;
}

.cardyc p {
  justify-self: center;
  text-align: center;
  color: var(--colour1)!important;
}

.cardyc i {
  justify-self: center;
  text-align: center;
  color: var(--colour1)!important;
  font-size: large;
}


#page-content-2 {
  display: grid;
  width: 100%;
  grid-gap: 32px;
  padding: 32px 0 0px;
}

#page-content-3 {
  display: grid;
  width: 100%;
  /* grid-gap: 32px; */
  padding: 0px 0 0px;
}

/*
@media( max-width: 992px )
{
	#topbar
	{
		display: none;
	}

}
*/

.availalign {
  display: grid;
  justify-content: center;
}

.availaligninner {
  display: grid;
  justify-content: center;
}

@media (max-width:900px) {
  .availaligninner {
    max-width: 100%;
  }
}

/*
hr { 
    background: url("../img/logo2.png") no-repeat top center;
    background-size: contain;
    display: block;
    height: 50px;
    border: 0;
    position: relative;
}
hr:before,
hr:after {
    content: '';
    display: block;
    position: absolute;
    background: var(--colour1);
    height: 1px;
    top: 22px;
}
hr:before {
    left: 0;
    right: 60%;
    margin-right: 10px;
    margin-left: 70px;
}
hr:after {
    right: 0;
    left: 60%;
    margin-left: 10px;
    margin-right: 70px;
} 
*/

.cent {
  text-align: center;
  justify-content: center;
}

.button-alignment {
  text-align: center;
}

figure {
  border: thin #c0c0c0 solid;
  display: flex;
  flex-flow: column;
  padding: 5px;
  max-width: 320px;
  margin: auto;
}


figcaption {
  background-color: var(--colour4);
  color: var(--colour3);
  font: italic smaller sans-serif;
  padding: 10px;
  text-align: center;
}

.zoom {
  transition: transform .2s;
}

.zoom:hover {
  transform: scale(1.05);
}

/*
.quotes
{
  margin: 0 auto;
  display: grid;
  grid-gap: 20px;
  box-sizing: border-box;
  padding:20px;
padding-top: 50px;
	padding-bottom: 50px;
}

.quotes .box
{
  position: relative;
  padding:80px 40px 40px;
  transition:0.5s;
  text-align: center;
  background:#fff;
  border-radius:10px;
}

.quotes .box:hover
{
  background-color: var(--colour1);
}

.quotes .box p
{
  margin:0;
  padding:0;
  transition:0.5s;
  text-align: center;
  justify-self: center;
}

.quotes .box h4
{
  margin:20px 0 0;
  padding:0;
  transition:0.5s;
  font-size:18px;
  color:var(--colour1);
  font-weight:700;
  line-height: 20px;
  text-transform: uppercase;
  text-align: center;
  justify-self: center;
}

.quotes .box h4 span
{
  font-weight: 600;
  font-size: 14px;
  color: #c5c5c5;
  transition: 0.5s;
}

.quotes .box:hover p,
.quotes .box:hover h4,
.quotes .box:hover h4 span
{
  color:var(--colour3);
}

.quotes .box .imgBox
{
  position:absolute;
  top: -60px;
  left: 50%;
  transform: translate(-50%);
  width: 120px;
  height: 120px;
  border-radius:50%;
  overflow: hidden;

}

.quotes .box:before
{
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  background: url("../img/quotes.webp");
  background-size: cover;
  opacity: 0.02;
  pointer-events: none;
  transition: 0.5s;
}

.quotes .box:hover:before
{
  transform: translateY(-60px);
  opacity: 1;
}

.quotes .box:after
{
  content:'';
  position: absolute;
  bottom:20px;
  left: 20px;
  width: 80px;
  height: 80px;
  background: url("../img/quotes.webp");
  background-size: cover;
  opacity: 0.02;
  pointer-events: none;
  transition: 0.5s;
  transform: rotate(180deg) translateY(0px);
}

.quotes .box:hover:after
{
  transform: rotate(180deg) translateY(-60px);
  opacity: 1;
}
*/

.imageback {
  padding: 64px 0px;
  background-image: url("../img/imageback.jpg");
     background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /*    color: var(--colour3);*/
}

.imageback :is(strong, b, h3, h2, h1, a) {
  color: var(--colour3);
}

.imageback :is(li, p) {
  color: var(--colour3)!important;
}

.imageback b {
  font-weight: 900;
}


.imageback2 {
  padding: 64px 0px;
  background-image: url("../img/imageback2.jpg");
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--colour3);
}


/* Temp 5 stuff */

/* .contact-item .element svg {
    align-self: center;
    padding: 12px;
    border: solid 2px white;
    border-radius: 100%;
	color: var(--colour3);
} */

/* #footer .socials svg {
    align-self: center;
    padding: 12px;
    border: solid 2px white;
    border-radius: 100%;
	background-color: var(--colour1);
	color: var(--colour3);
} */



/* From Uiverse.io by SteveBloX */ 
.hovercard {
  box-sizing: border-box;
  width: 100%;
  height: 80px;
  background: var(--colour1);
  /* border: 3px solid #222; */
  /* box-shadow: 12px 17px 51px #00000038; */
  /* box-shadow: 4px 5px 17px -4px var(--colour4); */
  backdrop-filter: blur(6px);
  border-radius: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  font-weight: bolder;
  color: var(--colour4);
  text-transform: uppercase;
}

.hovercard:hover {
  /* border: 3px solid #222; */
  transform: scale(1.1);
}

.hovercard:active {
  transform: scale(0.95) rotateZ(1.7deg);
}

.hovercard h2 {
  color: var(--colour3);
  font-size: 24px;
}