/**
 * @file
 * Subtheme specific CSS.
 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&family=Rubik:ital,wght@0,400;0,600;1,400&display=swap');

body, 
.site-footer {
  font-family: 'Rubik', sans-serif;
}

#navbar-main {
  background: #f8f8f8;
}

@media (min-width: 976px) {
  #navbar-main {
    height: 50px;
  }
}

#block-nwrha-new-main-menu {
  margin-right: auto;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  font-size: 1.5rem;
  color: #fff;
}

.navbar-brand:focus,
.navbar-brand:hover {
  color: #f8f8f8;
}

.site-name-slogan {
  text-transform: uppercase;
  color: #fff;
  font-style: italic;
  top: -40px;
  position: relative;
  left: 55px;
  font-size: .75rem;
}

@media (max-width: 576px) {
  .site-name-slogan {
    display: none !important;
  }

  .navbar-brand {
    color: transparent;
  }
}

#block-nwrha-new-search-form-narrow {
  margin-top: 15px;
}

.featured-top {
  background: #f5f5f5;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
}

blockquote {
  padding: 0 5px 5px 5px;
  border-left: 0;
  border-right: 10px solid #3B422B;
  border-bottom: 10px solid #3B422B;
}

.card {
  margin: 5px;
  padding: 10px;
}

.field--label-inline .field__label {
  vertical-align: top;
}

.view-developments .views-col,
.view-developments-photos .views-col {
  padding: 0 5px 5px 0;
}

.nav-link,
.nav-link:hover {
  color: initial;
}

#navbar-top {
  height: 110px;
}

#navbar-top,
.site-footer {
  background: #3B422B;
}

.site-footer {
  margin-top: 20px;
}

.site-footer .block {
  border: none !important;
}

.site-footer h2 {
  border-bottom: 0;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
  font-family: 'Rubik', sans-serif;
  text-transform: uppercase;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #bbb;
}

.site-footer__bottom {
  border-top: 0;
}

// Timeline
body. page-node-6 .field--name-body {
  position: relative;
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #3B422B;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Fix timeline vertical rules */
.page-node-6 .block-field-blocknodepagebody {
  background: #fff;
  z-index: 100;
  position: relative;
}

/* tlcontainer around tlcontent */
.tlcontainer {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.tlcontainer::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -13px;
  background-color: #3B422B;
  border: 4px solid #3B422B;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the tlcontainer to the left */
.left {
  left: 0;
}

/* Place the tlcontainer to the right */
.right {
  left: 50%;
}

/* Add arrows to the left tlcontainer (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #f5f5f5;
}

/* Add arrows to the right tlcontainer (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent #f5f5f5 transparent transparent;
}

/* Fix the circle for tlcontainers on the right side */
.right::after {
  left: -12px;
}

/* The actual tlcontent */
.tlcontent {
  padding: 20px 30px;
  background-color: #f5f5f5;
  position: relative;
  border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  /* Place the timelime to the left */
  .timeline::after {
  left: 31px;
  }

  /* Full-width tlcontainers */
  .tlcontainer {
  width: 100%;
  padding-left: 70px;
  padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .tlcontainer::before {
  left: 60px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent #f5f5f5 transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left::after, .right::after {
  left: 15px;
  }

  /* Make all right tlcontainers behave like the left ones */
  .right {
  left: 0%;
  }
}
