/*
This stylesheet is read after style.css and can be
used for modifications while preserving the default
and for additional styles for particular websites.

[ Updated 17 Sept 2025 ]
*/

/* UNMINIFIED VERSION */

/*
Miscellaneous: horizontal navigation, image border & float, hr section, del, flip, coloured divs, box shadows.
Accordion
Copyable pre
Modal images
Slides
Contact Form 7
Flexcontainer160: 160px x 160px gallery
Flexcontainer300: 300px x 300px gallery
*/

/* MISC */
/* ================================================== */

#headerbox h1.info,
#headerbox a.info {
  background-color: #c82d3f; /* Edit as required */
}

#headerbox a.info:hover {
  background-color: #dd3246; /* Edit as required */
}

img.rc, object.rc, video.rc {
  border-radius: 30px;
}

.imgnav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: -0.8rem;
  margin-bottom: -1.8rem;
  line-height: 1.0;
  font-size: 1.5rem;
}

.imgnavb {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 0.6rem;
  margin-bottom: 1.4rem;
  line-height: 1.0;
  font-size: 1.5rem;
}

@media screen and (max-width: 600px) {

  .imgnav {
    margin-top: -1.0rem;
    margin-bottom: -1.0rem;
  }

}

.goright { /* <div> */
  display: inline-block;
  text-align: right;
}

.goleft {
  display: inline-block;
  text-align: left;
}

.goright a { /* linktext */
  padding: 6px 0 6px 10px;
  color: #666;
}

.goleft a { /* test background-color: #ebebeb; */
  padding: 6px 10px 6px 0;
  color: #666;
}

.goleft a:hover,
.goright a:hover {
  color: #f09;
}

img.border {
  margin-top: 2.4em;
  margin-bottom: 2.4em;
  padding: 29px;
  border: 1px solid #ccc;
  background: #fff;
  -webkit-box-shadow: 0 3px 8px -2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 8px -2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 8px -2px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 777px) {

  img.border {
    width: calc(100% - 60px);
    max-width: 640px;
  }

}

@media screen and (max-width: 600px) {

  img.border {
    padding: 19px;
    width: calc(100% - 40px);
    margin-top: 1.6em;
    margin-bottom: 1.6em;
  }

}

@media screen and (max-width: 480px) {

  img.border {
    box-shadow: none;
  }

}

img.floatleft {
  float: left;
  display: inline;
  margin: 0.5em 24px 0.5em 0;
}

hr.section {
  margin: 2.4em auto 2.4em auto;
  width: 50%;
  border: none;
  border-top: medium double #999;
  background-color: transparent;
}

del { color: #666; }

.flip { transform: scaleX(-1); }

div.video {
  background: none;
}

.bgred, .bgpurple, .bggreen, .bgdark {
  margin: 2.4em 0 2.5em 0;
  padding: 1.2em 30px 1.2em 30px;
  border-radius: 12px;
  color: #fff;
}

.bgred { background-color: #d16356; /* #d66c60 */ }
.bgpurple { background-color: #6c5db5; }
.bggreen { background-color: #37ae50; }
.bgdark { background-color: #555; }

.shadow1 { /* #70 */
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
}

.shadow2 { /* #83  */
  box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
}

.shadow3 { /* #30  */
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

/* ACCORDION */
/* ================================================== */

.accordion {
  margin: 1.6em auto;
}

.tab {
  position: relative;
  background-color: #fff;
  color: var(--black);
  margin-top: 0.6em;
  padding: 10px 20px 10px 20px;
  border: 1px solid #ddd;
  border-radius: 0;
  max-width: 100%;
  text-align: left;
  font-size: inherit;
  line-height: 1.5;
  transition: 0.4s;
  cursor: pointer;
}

.tab div {
  max-width: 96%;
}

.accordion .tab:hover {
  background-color: #ddd;
}

.accordion .active {
  background-color: #eee;
}

.tab:after {
  position: absolute;
  top: 5px;
  right: 16px;
  content: '+';
  font-size: 1.6rem;
  color: #000;
  transition: 0.2s;
}

.accordion .active:after {
  transform: rotate(45deg);
}

.panel {
  margin-bottom: 1.0em;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

/* COPYABLE PRE */
/* ================================================== */

pre#myPreTag {
  position: relative;
  margin: 1.6em auto 1.6em auto;
  padding: 2.4em 20px 2.0em 20px;
  text-align: left;
  font-family: monospace;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  background-color: #f0f0fb;
  width: auto;
  word-break: normal;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap !important;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  border-radius: 5px;
}

pre#myPreTag span.pre {
  color: #900;
}

.copy-button {
  position: absolute;
  top: 0px;
  right: 0px;
  text-align: center;
  cursor: pointer;
  color: #fff;
  background-color: #c99;
  border-radius: 5px;
  padding: 3px 16px 4px 15px;
}

.copy-button:hover {
  color: #fff;
  background-color: #966;
}

/* MODAL IMAGES (see modal-img.js) */
/* ================================================== */

main img.modal-target {
  margin: 2.4em auto;
}

@media screen and (min-width: 778px) {

  .modal-target {
    cursor: pointer;
    transition: 0.3s;
  }

  .modal-target:hover { opacity: 1.0; }

  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 3; /* Sit on top (doesn't work) */
    margin-bottom: 0em;
    padding-top: 0px; /* Places the box */
    left: 0;
    top: 48px; /* Keep below header */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.6);
  }

  /* Modal Content (image) */
  .modal-content {
    margin: 0 auto 0 auto;
    padding: 0;
    display: block;
    width: 100%;
    max-width: 700px;
    width: auto;
    opacity: 1 !important;
  }

  /* Caption of Modal Image */
  .modal-caption {
    margin: 0.5em auto 1.0em auto;
    padding-right: 0.25em;
    padding-left: 0.25em;
    display: block;
    /* width: 80%;
    max-width: 1200px; */
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.9em;
    line-height: 1.5;
  }

  /* Add Animation */
  .modal-content, .modal-caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }

  @-webkit-keyframes zoom {
    from {-webkit-atransform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }

  @keyframes zoom {
    from { transform:scale(0) }
    to { transform:scale(1) }
  }

  /* The Close Button */
  .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    padding: 0 12px 2px 12px;
    color: #000;
    background-color: #fff;
    font-weight: bold;
    font-size: 2.7em;
    line-height: 1.0;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 3;
  }

  .modal-close:hover,
  .modal-close:focus {
    color: var(--link);
    text-decoration: none;
    cursor: pointer;
  }

  .relative { /* Enclose picture element */
    position: relative;
    margin: 2.4em auto 1.6em auto;
    padding: 0;
    text-align: center;
  }

  p.enlarge {
    position: absolute;
    margin: 0;
    padding: 0;
    text-align: center;
    right: 0;
    top: -25px;
    color: #666;
    font-size: 0.75em;
  }

}

@media screen and (max-width: 777px) {

  div#modal,
  div.modal,
  #modal-close,
  .modal-close,
  #modal-content,
  .modal-content,
  #modal,
  .modal,
  #modal-caption,
  .modal-caption,
  p.enlarge {
    display: none;
  }

}

/* SLIDES */
/* ================================================== */

.slideshow-container p,
.slideshow-container .mySlides p {
  font-size: 1.0em;
}

.slideshow-container p,
.slideshow-container .mySlides p {
  margin: -0.6em auto 0 auto;
  text-align: center;
  line-height: 1.4;
}

.slideshow-container .mySlides p {
  max-width: 92%;
}

.slideshow-container {
  position: relative;
  margin: 1.6em auto 1.6em auto;
  padding: 0;
}

.mySlides { /* div containing each img */
  display: none;
}

.dotcontainer {
  text-align: center;
  margin: 0 auto;
}

.dot {
  cursor: pointer;
  height: 20px;
  width: 20px;
  margin: 0 10px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.bullets {
  display: inline-block;
  text-align: center;
  width: auto;
  margin: 0 auto 0.6em auto;
  padding: 0 50px;
  line-height: 1.0;
  background: url('img/bg-dots1.gif');
  background-repeat: repeat-x;
  background-position: center center;
}

.bullets br { display: none; }

.slideshow-container img {
  width: 100%;
  height: auto;
}

/* Links */

.slideshow-container a.prev,
.slideshow-container a.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  margin: 0;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 10px;
  color: #000;
  background-color: #999;
  font-weight: 600;
  /* font-size: 1.2em; */
  transition: 0.6s ease;
  user-select: none;
  opacity: 0.65;
}

.slideshow-container a.prev {
  left: 0;
  padding: 13px 14px 13px 13px;
  border-width: 1px 1px 1px 0;
  border-color: #fff;
  border-style: solid;
  border-radius: 0 6px 6px 0;
}

/* Position the "next button" to the right */
.slideshow-container a.next {
  right: 0;
  padding: 13px 13px 13px 14px;
  border-width: 1px 0 1px 1px;
  border-color: #fff;
  border-style: solid;
  border-radius: 6px 0 0 6px;
}

/* On hover add a black background with a little bit of see-through */
.slideshow-container a.prev:hover,
.slideshow-container a.next:hover {
  color: #f09;
  background-color: rgba(0,0,0,0.8);
  opacity: 0.8;
}

.bullets .active,
.dot:hover {
  background-color: #649300;
}

/* For Contact Form 7 plugin */
/* ------------------------------------------------------------ */

form.wpcf7-form p { margin: 0; padding: 0; }

form.wpcf7-form input[type=text],
form.wpcf7-form input[type=email] {
  display: inline-block;
  margin-bottom: 0.3em;
  padding: 7px 10px;
  font-family: "Open Sans", Tahoma, sans-serif;
  font-size: 0.9em;
  border: 1px solid #ddd;
}

form.wpcf7-form label {
  display: inline;
  margin: 0;
  text-align: left;
  font-size: 0.9em;
}

form.wpcf7-form textarea {
  overflow: auto;
  width: 676px;
  margin: 0.1em 0 0 0;
  padding: 7px 10px;
  font-family: "Open Sans", Tahoma, sans-serif;
  font-size: 1.0em;
  border: 1px solid #ddd;
}

form.wpcf7-form input[type=submit] {
  font-family: "Open Sans", Tahoma, sans-serif;
  font-size: 1.1rem;
  margin: 0.6rem 0 0.6rem 0;
  padding: 7px 17px 7px 16px;
  color: #fff;
  font-weight: 600;
  background-color: #239e3d;
  border: 0;
}

form.wpcf7-form input[type=submit]:hover {
  color: #fff;
  background-color: #666;
}

.wpcf7-not-valid-tip {
  color: #f00;
  padding-left: 6px;
  font-size: 0.9em;
}

span.wpcf7-quiz-label {
  display: block;
  margin-bottom: 0.15em;
  color: #666;
}

div.wpcf7-response-output {
  margin-top: 1.0em;
  font-size: 0.9em;
}

.screen-reader-response {
  display: none;
}

fieldset {
  display: none;
}

/* ------------------------------------------------------------ */
/* breakpoint 2 */

@media screen and (max-width: 777px) {

  form.wpcf7-form input[type=text],
  form.wpcf7-form input[type=email] {
    display: block;
    width: 61%;
  }

  form.wpcf7-form textarea {
    width: calc(100% - 22px);
  }

}

/* ------------------------------------------------------------ */
/* breakpoint 3 */

@media screen and (max-width: 600px) {

  form.wpcf7-form textarea {
    margin-top: 0.35em;
  }

  form.wpcf7-form input[type=text],
  form.wpcf7-form input[type=email] {
    margin-top: 0.25em;
    margin-bottom: 0.6em;
  }

}

/* ------------------------------------------------------------ */
/* breakpoint 4 (mobiles portrait mode) */

@media screen and (max-width: 480px) {

  form.wpcf7-form { /* Centre the form */
    margin-right: auto;
    margin-left: auto;
    padding: 0.6em 0;
    text-align: left;
    background-color: none;
  }

  .wpcf7-not-valid-tip {
    padding-left: 0;
  }

}

/* ------------------------------------------------------------ */
/* Series of collapsible boxes 160 x 160px or 300px x 300px */

.flexcontainer160,
.flexcontainer300 {
  display: flex;
  justify-content: center; /* horizontal */
  align-items: flex-start; /* vertical */
  flex-wrap: wrap;
  width: auto;
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
  padding: 0 30px;
  /* -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; */
}

.row { flex-direction: row; }

.rowreverse { flex-direction: row-reverse; }

.flexcontainer160 div,
.flexcontainer300 div,
.flexcontainer160 p,
.flexcontainer300 p,
.flexcontainer160 a,
.flexcontainer300 a {
  display: inline;
  margin: 0; padding: 0;
}

/* Boxes (flexitems) */

.flexcontainer160 .flexitem { /* No box shadow unless framed */
  flex-basis: 160px;
  width: 160px;
  height: 160px;
  background-color: #fff;
  line-height: 1;
}

.flexcontainer300 .flexitem {
  flex-basis: 300px;
  height: 290px;
  padding: 0 0 9px 0;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  line-height: 1;
}

.flexcontainer160 .frame { /* add frame and shadow 160 only */
  padding: 19px;
  background-color: #fff;
  -webkit-box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.2);
  border: 1px solid #ccc;
}

@media screen and (min-width: 601px) {

  .flexcontainer160 {
    -webkit-row-gap: 20px;
    -moz-row-gap: 20px;
    row-gap: 20px;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
  }

}

@media screen and (max-width: 600px) {

  .flexcontainer160 {
    margin: 0 auto 1.6rem auto;
    padding: 0 0;
    -webkit-row-gap: 20px;
    -moz-row-gap: 20px;
    row-gap: 20px;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
  }

}

@media screen and (max-width: 480px) {

  .flexcontainer300 {
    margin: 0 auto 2.4em auto;
    -webkit-row-gap: 20px;
    -moz-row-gap: 20px;
    row-gap: 20px;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
  }

}

@media screen and (min-width: 481px) {

  .flexcontainer300 {
    -webkit-row-gap: 25px;
    -moz-row-gap: 25px;
    row-gap: 25px;
    -webkit-column-gap: 25px;
    -moz-column-gap: 25px;
    column-gap: 25px;
  }

}

@media screen and (min-width: 778px) {

  .flexcontainer300 {
    -webkit-row-gap: 30px;
    -moz-row-gap: 30px;
    row-gap: 30px;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
  }

}

@media screen and (min-width: 778px) {

  .flexcontainer160 .flexitem .frame {
    padding: 24px;
  }

}

@media screen and (max-width: 777px) {

  .flexcontainer160 .frame {
    padding: 0;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }

}

#content .max img,
#wide .max img {
  margin: 0 auto 0 auto;
  width: auto;
}

.flexcontainer160 .flexitem img {
  max-width: 160px;
  max-height: 160px;
  margin: 0; padding: 0;
}

.flexcontainer300 .flexitem img {
  max-width: 300px;
  max-height: 240px;
  margin: 0 auto 0 auto;
  text-align: center;
  vertical-align: top;
}

.flexitem h5 {
  margin: 15px auto 0 auto;
  text-align: center;
  padding: 0 6px;
  color: #888;
  font-family: "Ubuntu", "Tahoma", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0px;
}

.flexitem h5 a {
  color: #888;
}

.flexitem h5 a:hover {
  color: var(--link);
}
