font-face {
  font-family: Eliot Lord;
  src: url(Fonts/Eliothand2-Regular.otf);
}

footer a,
footer a:hover {
  color: #fff;
  font-weight: 100;
}
footer,
footer a,
footer a:hover {
  font-weight: 100;
}

.prev,
.next {
  position: absolute;
  min-width: 50px;
  top: 50%;
}

.pre {
  left: 0;
}

.nex {
  right: 0;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.comtainer {
  background-color: #02a95b;
}

.gallerywrap {
  background-color: #006548;
  padding: 20px 0;
}

.gallery_text {
  color: #ec1801;
  font-weight: 900;
  font-size: 2.5dvw;
  font-weight: 100;
  text-align: center;
  padding-bottom: 20px;
}

.gallery_text a:hover {
  color: #b50938;
  font-weight: 900;
}

.gallery_text .activelinkgallery {
  color: #faa61a;
}

.galleries a:hover {
  color: #b50938;
  font-weight: 900;
}

.mySlides {
  display: none;
  width: 50%;
  margin: auto;
  background-color: #006548;
}

.mySlides img {
  max-height: 400px;
  width: auto;
}

.prev:hover,
.next:hover {
  background-color: #12b6cf;
}

.numbertext {
  color: #ffffff;
  background-color: #006548;
  font-size: 30px;
  padding: 8px 12px;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.caption-container {
  text-align: center;
  background-color: #006548;
  padding: 2px 16px;
}

.caption-container {
  color: white;
  font-size: 1.5dvw;
  font-weight: 100;
}

#rhubarb footer .activelinkfooter {
  position: relative;
  display: inline-block;
  background-image: none !important;
}

#rhubarb footer .activelinkfooter p {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

#rhubarb footer .activelinkfooter p::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-image: url(img/background/Underline%20White.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: left bottom;
}
#llama,
#roche1,
.responsive .column,
.socials a {
  background-color: #ec1801;
}
#roche1,
.links,
footer {
  width: 100%;
}

.title_text1 a {
  font-weight: 500;
}

.title_text1 a:hover {
  font-weight: 900;
}

#rhubarb footer a {
  max-width: fit-content;
  margin-inline: auto;
  margin: auto;
  width: 50%;
  padding: 10px;
  font-family: Helvetica;
  position: relative;
  display: inline-block;
}

#rhubarb footer a:hover {
  font-weight: 900;
  background-image: none !important;
}

#rhubarb footer a p {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

#rhubarb footer a p::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 8px;
  background-image: url(img/background/Underline%20White.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: left bottom;
  transition: width 0.3s ease;
}

#rhubarb footer a:hover p::after {
  width: 100%;
}

#rhubarb footer a .title_text1 {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

#rhubarb footer a .title_text1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 8px;
  background-image: url(img/background/Underline%20White.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: left bottom;
  transition: width 0.3s ease;
}

#rhubarb footer a:hover .title_text1::after {
  width: 100%;
}

footer {
  background: #ec1801;
  margin-top: 60px;
  bottom: 0;
  user-select: none;
  -webkit-user-drag: none;
  font-family: Helvetica;
}
.activelinkfooter {
  font-weight: 900;
  font-family: Helvetica;
  font-size: 3.6dvw;
}

.caption_text a,
body a,
body a:link {
  color: #ec1801;
}
#galleries a:hover,
body a:hover {
  color: #ffffff;
}

#galleries .title_text {
  color: #fff;
}

#galleries {
  margin: auto;
  width: 100%;
}
/*body a:hover {
  background-image: url(img/background/Underline%20white.png);
}*/
.title_text2 {
  font-size: 5dvh;
  font-weight: 100;
  color: #000;
}
.caption_text,
.title_text,
.title_text4 {
  font-weight: 100;
}

.headlogo a:hover,
.socials a:hover {
  background-image: url(img/background/empty.png);
  text-decoration: none;
}

li,
nav {
  font-size: 1dvh;
}
.socials {
  bottom: 0;
  left: 0;
  text-decoration: none;
}
.socials a:hover {
  font-size: 1dvh;
}
footer .title_text1 a:hover {
  font-size: 3.5dvw;
}
body::-webkit-scrollbar {
  width: 1em round;
  overflow: scroll;
}
body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px #fff;
}
body::-webkit-scrollbar-thumb {
  background-color: #ec1801;
  outline: #ec1801 solid 1px;
}
body::-webkit-scrollbar-thumb:hover {
  cursor: url("img/background/Pointer.svg");
}
.links {
  height: 100%;
}
.headlogo {
  padding-left: 40%;
}
.headlogo a:hover {
  font-weight: 900;
  font-size: 3.6dvw;
}

#roche1 {
  float: right;
  bottom: 100px;
}
header img a:hover {
  text-decoration: none;
}
.caption_text a:hover {
  color: #115da8;
}
.title_text {
  font-size: 2.8dvw;
  z-index: 8000000;
}
.caption_text {
  font-size: 2.8vw;
  z-index: 8000000;
}
@media (max-width: 768px) {
  .caption_text {
    font-size: 26px;
  }
  .title_text,
  .title_text4 {
    font-size: 28px;
  }
  .title_text1 {
    font-weight: 100;
    font-size: 21px;
  }
  .title_text2 {
    font-size: 30px;
  }

  #everything {
    padding: 0;
  }
}
img {
  max-width: 80%;
}

.title_text1 {
  font-size: 3.5dvw;
  font-weight: 100;
}

.caption_text1 {
  font-size: 5dvh;
}

/* Header styling - fixed position */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ec1801;
}

nav {
  position: relative;
  background: #ec1801;
}

/* Add padding to body so content doesn't hide under fixed header */
body {
  padding-top: 140px;
}

.topper {
  background: #ec1801;
  padding: 20px;
}

.wrapper {
  position: relative;
  height: 40vh;
}

nav a {
  margin: auto;
}
nav ul {
  list-style-type: none;
  display: flex;
  margin: 0;
}
nav ul li {
  padding: 10px 12px;
}

/* Logo container default state */
.logo-container {
  background-color: #ec1801;
  text-align: left;
  padding: 20px 0 20px 20%;
}

.logo {
  margin: 0;
  line-height: 1;
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
  margin: 0;
}

/* Nav bar default state */
.sunnavigationbar {
  background-color: #ec1801;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-top: 2px solid #fff;
  text-align: center;
  padding: 0;
  position: relative;
}

.sunnavigationbar a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.25px;
  position: relative;
}

.sunnavigationbar a:hover {
  background-color: #ec1801;
  text-decoration: underline;
}

.sunnavigationbar a.activelinknav {
  background-color: #ec1801;
  color: #fff;
}

/* SCROLLED STATE - Logo and nav on same line, logo slightly lower */
header.scrolled {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 20px;
}

header.scrolled .logo-container {
  padding: 0;
  text-align: left;
  background: transparent;
  flex-shrink: 0;
  margin-right: 20px;
  position: relative;
  top: 8px;
}

header.scrolled .logo {
  display: inline-block;
  margin: 0;
}

header.scrolled .logo img {
  height: 48px;
  margin: 0;
  display: block;
  padding-left: 0;
}

header.scrolled .sunnavigationbar {
  border-top: none;
  border-bottom: none;
  text-align: center;
  padding: 0;
  flex-shrink: 0;
}

header.scrolled .sunnavigationbar a {
  padding: 8px 14px;
  font-size: 13px;
}

@media (max-width: 768px) {
  body {
    padding-top: 120px;
  }

  .sunnavigationbar a {
    font-size: 12px;
    padding: 10px 12px;
  }

  header.scrolled {
    padding: 8px 15px;
  }

  header.scrolled .logo-container {
    margin-right: 15px;
    top: 6px;
  }

  header.scrolled .logo img {
    height: 36px;
  }

  header.scrolled .sunnavigationbar a {
    padding: 6px 10px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 100px;
  }

  .sunnavigationbar a {
    font-size: 10px;
    padding: 8px 6px;
    letter-spacing: 0.3px;
  }

  header.scrolled {
    padding: 6px 10px;
  }

  header.scrolled .logo-container {
    margin-right: 10px;
    top: 4px;
  }

  header.scrolled .logo img {
    height: 28px;
  }

  header.scrolled .sunnavigationbar a {
    padding: 5px 6px;
    font-size: 9px;
  }
}

.sunnavigationbar,
.sunnavigationbar a,
.sunnavigationbar a:hover {
  font-size: 2.6dvw;
  text-decoration: none;
  z-index: 2147483647;
}
