﻿/* Style for Bollin Valley */


*:root {
  --cecGreen: #206c49;
  --bvGreen: #989f51;
  --bvDarkGreen: #737b2e;
  --bvLightGreen: #b7be6e;
}

.two-lines {
  height: 3.1rem;
}

body {
  font-size: 19px;
}

.dropdown-toggle {
  cursor: default !important;
}

.usr_ImageRight {float: right; margin: 0 0 20px 20px;}
.usr_ImageLeft {float: left; margin: 0 20px 20px 0;}
.ImmIndent_2 {margin-left: 40px;}

.skip-to-content {
  z-index: 10;
  background: White;
  margin-top: 5px;
  margin-left: 5px;
}

select {
  background: White;
  border: 0.1rem solid black;
  border-radius: 0.3rem;
}


.pin {
  border-radius: 100%;
  padding: .3rem;
  background: var(--bvLightGreen);
}



a.btn {
  min-width: 10rem;
  padding: .3rem;
}



.btn,
.page-link {
  background: var(--bvDarkGreen);
  color: White;
  font-weight: 600;
}


.btn:hover {
  border-radius: 0.3rem;
  border: 0.1rem solid black;
}


.btn:hover, 
.page-link:hover {
  color: var(--bvDarkGreen);
  background: White;
}

.page-item.disabled > .page-link {
  background: DarkGray;
  color: white;
}

.bvGreen {
  background: var(--bvGreen);
}

header {
  padding: 0 !important;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--bvDarkGreen);
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.75rem;
}

span.link:hover,
.linkDiv:hover #bvpLogoFoot,
.linkDiv:hover #bvpLogo {
  border: solid 4px var(--cecGreen) !important;
}

footer span.link:hover,
header span.link:hover {
  border: none !important;
}

footer li a:hover,
footer a p:hover,
.dropdown-item:hover,
.linkDiv:hover #bvpHead,
.linkDiv:hover #bvpFoot,
.nav-link:hover {
  border-bottom: solid 4px var(--cecGreen);
}

.nav-link.dropdown-toggle {
  border-bottom: none;
}

#bvpLogo,
#bvpLogoFoot {
  border: solid 4px rgb(0, 0, 0, 0) !important;
}

footer li a,
footer a p,
#bvpHead,
.nav-link,
.dropdown-item {
  border-bottom: solid 4px rgb(0, 0, 0, 0);
}

.navbar-toggler {
  background: White;
  border: 3px solid Black;
}

.navbar-toggler:active,
.navbar-toggler:hover {
  border: 3px solid Grey;
}

a.btn:hover {
  background: white !important;
}

/* Focus state - WCAG 2.2 */
.dropdown-toggle:focus,
:not(.linkDiv) > a:focus,
div:focus,
a:focus > span,
.pagination button:focus,
button:focus {
  outline: 4px solid #212529 !important;
  outline-offset: 0.063rem;
  -webkit-transition: outline-color 0.2s ease-out;
  transition: outline-color 0.2s ease-out;
  box-shadow: 0 0 4px 8px #f9f9d1;
}

.navbar-expand-lg {
  border: none;
  padding: 0;
}

footer a {
  text-decoration: none !important;
  color: black;
}

.navbar {
  font-size: 1.3rem;
}

@media (max-width: 992px) {
  .navbar {
    border: none;
  }
  #navbarSupportedContent {
    border: none !important;
  }
}

@media (max-width: 768px) {
  .strapline,
  #bvpHead,
  #bvpFoot {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg {
    display: block !important;
  }
}

/* Makes the dropdowns open on hover. */
.dropdown:active > .dropdown-menu,
.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Making divs with links inside clickable */
.linkDiv {
  cursor: pointer;
  position: relative;
}

.link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.pin {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  transform: rotate(35deg);
  z-index: 10;
  width: 2.3rem;
  height:2.3rem;
  border-radius: 100%;
}

.bi-pin {
  position: absolute;
  left: .4rem;
  top: .5rem;
}
/* Events page */
.linkDiv.ranger-event-card:hover {
  background: #dff0d8;
}

.api-results-info p {
  display: inline-block;
  margin-right: 35px;
}

.pagination ol li button {
  margin: 0 20px 16px 0 !important;
  background-color: #fff;
  border: 1px solid #0264f7;
  border-radius: 3px;
  padding: 0.375rem 0.75rem;
  color: #0250c5;
}
.pagination ol li button:hover {
  z-index: 2;
  color: #0242a2;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.clearfix::after {
  content: '';
  clear: both;
  display: table;
}

.aspect-ratio-box {
  position: relative;
}
.aspect-ratio-box::after {
  display: block;
  content: '';
  padding-bottom: 66.66%;
}

.aspect-ratio-box img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.fitted {
  object-fit: cover;
}

/* || User table styles */
.usr_TableDefault {
   /* margin-bottom: 3rem!important; removed 11.02.22 */
    padding: .5rem .5rem;
    border-color: #dee2e6;
    border-collapse: collapse;
}
/* Adjust headings that follow on from tables */
.usr_TableDefault + h2, .usr_TableDefault + h3 {
margin-top: 3rem;
}
.usr_TableDefault tr:nth-child(even) {
  background-color: #f5f9fa;
}
table.usr_TableDefault th[scope=col] {
  border-bottom: 3px solid #206c49;
  padding-left: 0.4rem;
}
table.usr_TableDefault th[scope=row] {
  border-right: 3px solid #206c49;
  border-bottom-width: 1px;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}
table.usr_TableDefault th:first-of-type {
padding-left: 0;
}
.usr_TableDefault td {
    padding: .5rem .5rem;
    border-bottom-width: 1px;
}
/* || Table responsive styles */
.table_responsive {
    margin-bottom: 2rem;
}
table caption {
      caption-side: top;
}

@media screen and (max-width: 770px) {
.table_responsive {
    overflow-x: scroll !important;
    overflow-y: hidden;
    width: 100%;
    border-top: 3px solid #206c49;
    border-bottom: 3px solid #206c49;
    padding: 10px 0;
    margin: 20px 0 0 0;
}

.table_responsive:before {
  content: "Horizontal scroll to view more of the table";
  color: #206c49;
  font-size: 0.95rem;
  line-height: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='grey' class='bi bi-chevron-double-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L9.293 8 3.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3Cpath fill-rule='evenodd' d='M7.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L13.293 8 7.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-size: 30px 30px;
  background-repeat: no-repeat;
  background-position: right center;
  width: 100%;
  display: block;
  padding: 10px 50px 0 0;
}
.table_responsive:after {
  content: "Horizontal scroll to view more of the table";
  color: #206c49;
  font-size: 0.95rem;
  line-height: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='grey' class='bi bi-chevron-double-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L9.293 8 3.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3Cpath fill-rule='evenodd' d='M7.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L13.293 8 7.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-size: 30px 30px;
  background-repeat: no-repeat;
  background-position: right center;
  width: 100%;
  display: block;
  padding: 10px 50px 10px 0;
}
}

.table_responsive .usr_TableDefault {
margin-bottom: 5px;
}

/* || Video */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}
.video-container iframe, .video-container object, .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
}