html,
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Raleway", sans-serif;
}

.show {
  display: block;
}

.hidden {
  display: none;
}

main {
  flex-grow: 1;
}
footer {
	background: linear-gradient(rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0.5)),
    #8b8b8b;
}

#body {
  margin-right: 0px;
  padding-bottom: 0px;
}

ul#lang-selector li {
  display: inline;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown:hover .dropbtn {
  background-color: rgb(24, 23, 23);
  color: white;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.bouldering-areas-list{
	background: #f5f5f5;
}

.card-body {
	display: flex;
	flex: initial;
	flex-flow: wrap;
	width: 312px;
	max-width: 100%;
	margin-right: 12px;
	margin-bottom: 12px;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 1px 2px 1px rgba(0,0,0,0.15);
	background: #f5f5f5;
}

.card-body:hover {
	box-shadow: 0px 8px 12px 0px rgba(0,0,0,0.25);
    transition: transform 200ms ease,background-color 200ms ease,box-shadow 200ms ease;
    background: white;
}

@media screen and (max-width: 1200px) {
  .card-body {
	width: 280px;
  }
}

@media screen and (max-width: 990px) {
  .card-body {
	width: 220px;
  }
}

@media screen and (max-width: 550px) {
  .card-body {
	width: 170px;
  }
}

@media screen and (max-width: 380px) {
  .card-body {
	width: 156px;
  }
}

.card-body-image-container {
	display: flex;
	flex: initial;
	flex-flow: wrap;
	width: 100%;
	max-width: 100%;
	padding-top: 60%;
	overflow: hidden;
	position: relative;
}

.card-body-image-container-container {
	display: flex;
	flex: initial;
	flex-flow: wrap;
	width: 100%;
	max-width: 100%;
	height: 100%;
	position: absolute;
	height: 100%;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
}

.card-body-image {
	height: 100%;
	width: 100%;
	object-fit: cover;
	opacity: 1;
	display: block;
}

.card-body-title-container {
	color: #555555;
	display: flex;
	flex: initial;
	flex-flow: wrap;
	width: 100%;
	max-width: 100%;
	padding: 4px;
	flex-direction: column;
	align-items: center;
}

.card-title {
	_margin-bottom: 0.2rem;
}

.card-text {
	font-size:10pt;
}

.form-label {
	width: 100px;
}

.form-container {
	text-align: Center;
}

.slick-carousel{
	display: flex;
	align-items: center;
}

.slider-item{
    margin: 0px 12px;
}

header.masthead {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}
header.masthead .masthead-subheading {
  font-size: 1.5rem;
  line-height: 1.5rem;
  margin-bottom: 25px;
  font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
header.masthead .masthead-heading {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 3.25rem;
  margin-bottom: 2rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

@media (min-width: 768px) {
  header.masthead {
    padding-top: 15rem;
    padding-bottom: 12.5rem;
  }
  header.masthead .masthead-subheading {
    font-size: 2.25rem;
    line-height: 2.25rem;
    margin-bottom: 8rem;
  }
  header.masthead .masthead-heading {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 4.5rem;
    margin-bottom: 4rem;
  }
}


.btn-xl {
  padding: 0.8rem 1rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1.125rem;
  font-weight: 700;
}

.btn-l {
  padding: 0.2rem 0.5rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1.125rem;
  font-weight: 700;
}

.mad-button {
  background-color: #555555;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 0.375rem;
}

.mad-button:disabled {
  background-color: #222222 !important;
  color: #999;
  cursor: not-allowed;
}

.btn-primary-madboulder {
  --bs-btn-color: #555555;
  --bs-btn-bg: #ffc800;
  --bs-btn-border-color: #ffc800;
  --bs-btn-hover-color: #555555;
  --bs-btn-hover-bg: #d9aa00;
  --bs-btn-hover-border-color: #cca000;
  --bs-btn-focus-shadow-rgb: 255, 208, 38;
  --bs-btn-active-color: #555555;
  --bs-btn-active-bg: #cca000;
  --bs-btn-active-border-color: #bf9600;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #555555;
  --bs-btn-disabled-bg: #ffc800;
  --bs-btn-disabled-border-color: #ffc800;
}

.btn-sort-madboulder {
	padding: 0.1rem 0.6rem;
	margin: 0.2rem 0rem;
    white-space: nowrap;
	border-radius: 40px;
	border-color: black;
	
  --bs-btn-hover-color: var(--bs-black);
  --bs-btn-hover-bg: var(--bs-gray-200);
  --bs-btn-hover-border-color: var(--bs-black);
  --bs-btn-active-color: var(--bs-white);
  --bs-btn-active-bg: #555555;
  --bs-btn-active-border-color: var(--bs-black);
}

.btn-free-madboulder {
	border-radius: 8px;
	background-color: #ffc107;
	font-size: 9px;
	margin-left: 0.2rem;
	color: #555555;
	border-color: #555555;
    border-style: solid;
}

.text-bold {
  font-weight: bold;
}

div#faded-background {
    background-color: #000;
    bottom: 0;
    display: none;
    left: 0;
    opacity: .7;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 900;
}

.above-faded-background {
    z-index: 910;
}

@media (max-width: 767px) {
  #zone-summary {
    padding-bottom: 1.5rem;
  }
}

@keyframes pulsate {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

#uploading-alert {
    animation: pulsate 2s infinite;
}

.result-container{
	display: block; 
	padding: 1rem; 
	background-color: #dee2e6; 
	margin-bottom: 1rem;
}

.result-container-header{
	display: flex;
	-webkit-box-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	align-items: center;
	padding: 0rem 1rem;
}

.result-container-body{
	display: flex;
	flex-wrap: wrap;
	margin: 1rem 0rem;
}

.result-item{
	flex-basis: 100%;
	-webkit-box-flex: 1;
	flex-grow: 1;
	padding: 0.5rem 1rem;
	border-top: 1px solid #adb5bd;
	text-decoration: none;
	color: rgb(34, 34, 34);
	display: flex;
	flex-wrap: wrap;
	transition: all 250ms ease-in-out 0s;
}

.result-item:hover{
	background-color: #adb5bd; 
}

.result-item-header{
	flex-basis: 100%;
	display: flex;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	justify-content: space-between;
}

.result-item-title-container{
	min-width: 200px;
	display: inline-flex;
	line-height: 1rem;
	margin: 0.5rem 0px;
}

.result-item-title{
	line-height: 1rem;
	margin: 0px;
    line-height: 1.625rem;
}

.result-item-subtitle-container{
	line-height: 1rem;
	margin: 0.5rem 0px;
	white-space: nowrap;
	display: flex;
	align-content: center;	
    flex-wrap: wrap;
}

.result-item-description-container{
	flex-basis: 100%;
	display: flex;
}

.result-item-no-results-p{
	display: block;
	padding: 0rem 1rem;
	margin-bottom: 0;
}

.video-wrapper {
  max-width: 920px;
  margin: auto;
  flex: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-container {
  position: relative;
  width: 100%;
  min-height: 320px;
}

.video-container::after {
  content: "";
  display: block;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper .video-caption {
    text-align: center;
    margin-top: 8px;
    font-style: italic;
    color: #555555;
    font-size: 0.9em;
}

.zone-header{
	background-color: #dee2e6;
	margin-bottom: 0.5rem;
	box-shadow: 0 .325rem .55rem rgba(0,0,0,.075)!important;
}

.zone-header-title{
    color: #555555;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0.2rem;
}

.zone-header-tree{
	padding-top: 0.1rem;
}

a.zone-header-tree-link{
	text-decoration: none;
	color: #555555;
}

.problem-page {
  max-width: none;
}

.problem-elements-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
}

.nav .dropdown-menu{
	background-color: #dee2e6;
}

.nav-tabs{
	justify-content: center;
}

.nav-link{
	color: #555555;
	background-color: transparent;
}

@media (max-width: 576px) {
  .nav-link {
	padding: 0.5rem;
  }
}


.nav-link.active {
	color: #555555 !important;
    cursor: default;
	background-color: #ffc800 !important;
    border: 0;
}

.nav-link:hover {
	color: #555555 !important;
	border-color: #ced4da !important;
	border-bottom: 0 !important
	transition: 0 !important
}

a.table-row-name{
	color: #555555;
	padding-left: 0.5rem;
	text-decoration: none;
}

i.table-row-icon{
	color: #555555;
}

a.table-row-name:hover{
	text-decoration: underline;
	i.table-row-icon{
		color: #ffc800;
	}
}

a.table-row-area{
	color: #555555;
}