:root {
  --barcala-ink: #18272f;
  --barcala-muted: #68757b;
  --barcala-paper: #f6f4ef;
  --barcala-card: #ffffff;
  --barcala-line: #e5dfd3;
  --barcala-blue: #1684bf;
  --barcala-gold: #a98254;
  --barcala-brown: #6f5940;
  --barcala-shadow: 0 20px 50px rgba(24, 39, 47, 0.12);
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--barcala-paper);
  color: var(--barcala-ink);
}

.page {
  background: var(--barcala-paper);
}

.container {
  max-width: 1180px;
}

.stuck_container {
  background: rgba(24, 39, 47, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
}

.camera_container .stuck_container {
  background: linear-gradient(180deg, rgba(24, 39, 47, 0.92), rgba(24, 39, 47, 0.54));
}

.brand {
  margin-top: 0;
}

.brand img {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.sf-menu > li > a {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
}

.sf-menu > li.active > a,
.sf-menu > li > a:hover {
  color: #fff;
}

.sf-menu > li.active > a:after,
.sf-menu > li > a:hover:after {
  background: var(--barcala-blue);
  height: 3px;
}

header:not(.camera_container) {
  background:
    linear-gradient(135deg, rgba(24, 39, 47, 0.94), rgba(111, 89, 64, 0.78)),
    url("https://images.unsplash.com/photo-1573166364839-1bfe9196c23e?auto=format&fit=crop&fm=jpg&q=60&w=1800") center/cover;
  min-height: 148px;
}

.camera_wrap:before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 39, 47, 0.16), rgba(24, 39, 47, 0.04) 38%, rgba(24, 39, 47, 0.18)),
    linear-gradient(180deg, rgba(24, 39, 47, 0.12), rgba(24, 39, 47, 0.02) 42%, rgba(24, 39, 47, 0.12));
  pointer-events: none;
}

.camera_caption {
  z-index: 3;
}

.camera_caption h1,
.camera_caption h2 {
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.55);
}

.camera_caption p {
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 16px;
  background: rgba(24, 39, 47, 0.34);
  border-radius: 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.camera_src picture {
  display: none;
}

.well-lg,
.well-md,
.well-sm {
  padding-top: 82px;
  padding-bottom: 82px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-2,
.heading-6 {
  color: var(--barcala-ink);
  letter-spacing: 0;
}

h1,
h2,
h3 {
  text-transform: none;
}

.delimiter {
  opacity: 0.9;
}

.delimiter .icon {
  color: var(--barcala-gold);
}

.well-lg > .container > p,
.well-md > .container > p,
.well-sm > .container > p {
  color: var(--barcala-muted);
  font-size: 18px;
  line-height: 1.75;
}

.flow-offset-1 > [class*="col-"],
.well-sm .row.text-md-left > [class*="col-"],
.well-md .row.text-md-left > [class*="col-"] {
  margin-bottom: 30px;
}

.flow-offset-1 > [class*="col-"],
.well-sm .row.text-md-left > [class*="col-md-4"],
.well-md .row.text-md-left > [class*="col-md-4"] {
  background: var(--barcala-card);
  border: 1px solid var(--barcala-line);
  border-radius: 8px;
  box-shadow: var(--barcala-shadow);
  padding: 28px;
}

.flow-offset-1 > [class*="col-"] .icon {
  color: var(--barcala-blue);
}

.flow-offset-1 h6 a,
.well-sm h6 a {
  color: var(--barcala-ink);
}

.flow-offset-1 p,
.well-sm .offset-2,
.well-md .row.text-md-left p {
  color: var(--barcala-muted);
  line-height: 1.7;
}

.well-sm .row.text-md-left img,
.well-md .row.text-md-left img {
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(24, 39, 47, 0.12);
}

.image-wrap.team-member {
  background: #141f25;
}

.image-wrap.team-member:before {
  background:
    linear-gradient(180deg, rgba(24, 39, 47, 0.08), rgba(24, 39, 47, 0.28)),
    rgba(112, 82, 48, 0.18);
}

.image-wrap .image-meta {
  border-radius: 6px;
  background: rgba(24, 39, 47, 0.88);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.team-contact-link {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 10px 16px;
  text-transform: uppercase;
}

.team-contact-link:hover {
  background: var(--barcala-blue);
  border-color: var(--barcala-blue);
  color: #fff;
}

.staff-grid {
  display: flex;
  flex-wrap: wrap;
}

.staff-grid > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.staff-grid section,
.staff-grid > [class*="col-"]:not([itemscope]) {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.staff-grid p.offset-2 {
  flex: 1 1 auto;
}

.staff-grid .btn {
  align-self: flex-start;
  margin-top: auto;
}

.bg-contrast-variant-1 {
  background: #ede8dd;
}

.bg-image-1,
.bg-image-2 {
  background:
    linear-gradient(135deg, rgba(24, 39, 47, 0.86), rgba(111, 89, 64, 0.72)),
    url("https://images.unsplash.com/photo-1573166364839-1bfe9196c23e?auto=format&fit=crop&fm=jpg&q=60&w=1800") center/cover;
}

.bg-image-1 .heading-2,
.bg-image-2 h5,
.bg-image-2 p {
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(22, 132, 191, 0.22);
}

.btn-primary,
.btn-default:hover {
  background: var(--barcala-blue);
  border-color: var(--barcala-blue);
}

.btn-default {
  border-color: rgba(255, 255, 255, 0.72);
}

.box-xs {
  background: var(--barcala-card);
  border: 1px solid var(--barcala-line);
  border-radius: 8px;
  box-shadow: var(--barcala-shadow);
  padding: 24px;
}

.box-xs .box_left img {
  border-radius: 6px;
}

.quote q,
.quote cite {
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.36);
}

footer .bg-default-variant-1 {
  background: #18272f;
}

footer,
footer h5,
footer p,
footer dt,
footer dd,
footer a {
  color: rgba(255, 255, 255, 0.86);
}

footer .well-xs {
  background: #101b21;
}

.map {
  border-top: 1px solid var(--barcala-line);
}

.mailform input,
.mailform textarea {
  border-radius: 8px;
  border: 1px solid var(--barcala-line);
  background: #fff;
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
    line-height: 1.6;
  }

  .stuck_container {
    background: rgba(24, 39, 47, 0.96);
  }

  .rd-mobilepanel {
    background: var(--barcala-paper);
    box-shadow: 0 8px 24px rgba(24, 39, 47, 0.12);
    color: var(--barcala-ink);
  }

  .rd-mobilepanel_title {
    color: var(--barcala-ink);
    font-size: 18px;
    left: 58px;
    line-height: 56px;
    overflow: hidden;
    right: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rd-mobilepanel_toggle span,
  .rd-mobilepanel_toggle span:before,
  .rd-mobilepanel_toggle span:after {
    background-color: var(--barcala-ink);
  }

  .camera_container .stuck_container {
    display: none;
  }

  .camera_wrap:before {
    background: none !important;
    display: none !important;
  }

  header:not(.camera_container) {
    min-height: 116px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.18;
  }

  h2,
  .heading-2 {
    font-size: 25px;
    line-height: 1.25;
  }

  h3 {
    font-size: 23px;
    line-height: 1.35;
  }

  h5 {
    font-size: 18px;
  }

  h6,
  .heading-6 {
    font-size: 16px;
  }

  .camera_container {
    height: 460px;
    min-height: 460px;
    padding-bottom: 0;
    overflow: hidden;
  }

  .camera_wrap,
  .camera_fakehover,
  .camera_src,
  .camera_target,
  .cameraCont,
  .cameraSlide,
  .cameraContent {
    height: 100% !important;
  }

  .camera_wrap {
    min-height: 460px;
  }

  .camera_src picture {
    display: block;
  }

  .camera_src picture,
  .camera_src picture img {
    height: 100%;
    width: 100%;
  }

  .camera_src picture img {
    display: block;
    object-fit: cover;
  }

  .camera_caption {
    display: none !important;
    visibility: hidden !important;
  }

  .camera_pag,
  .camera_pag_ul,
  .camera_commands,
  .camera_prev,
  .camera_next {
    display: none !important;
    visibility: hidden !important;
  }

  .well-lg,
  .well-md,
  .well-sm {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .flow-offset-1 > [class*="col-"],
  .well-sm .row.text-md-left > [class*="col-md-4"],
  .well-md .row.text-md-left > [class*="col-md-4"] {
    padding: 22px;
  }

  .staff-grid {
    display: block;
  }

  .btn {
    font-size: 14px;
    min-width: 0;
    white-space: normal;
  }

  .flow-offset-1 h6,
  .staff-grid h6,
  .box-xs h6 {
    line-height: 1.25;
  }
}

@media (max-width: 479px) {
  .camera_container,
  .camera_wrap {
    height: 400px;
    min-height: 400px;
  }

  .well-lg > .container > p,
  .well-md > .container > p,
  .well-sm > .container > p {
    font-size: 16px;
  }

  .bg-image-1 .heading-2 {
    font-size: 22px;
  }

  h1 {
    font-size: 25px;
  }

  h2,
  .heading-2 {
    font-size: 23px;
  }

  h3 {
    font-size: 21px;
  }
}
