.cnt-box-info .cnt-info {
    padding: 17px 20px;
}

.home-info-image {
    height: auto;
    width: auto;
}

.section-image::before, .header-image::before {
    background-color: black;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.25;
}

.timeline .panel, .timeline div.inverted .panel, .timeline div.inverted .panel:last-child, .timeline .panel:last-child {
    /* min-height: 450px; */
    width: 60%;
}

.timeline > div .badge {
    width: 40%;
    left: 60%;
}

.timeline > div.inverted .badge {
    padding-right: 30px;
}

.timeline > div.inverted .panel {
    margin-left: 40%;
}

.timeline img {
    width: 100%;
    object-fit: fill;
}

.timeline-export {
    display: none;
}

.timeline-export-title {
    color: #000 !important;
    margin-bottom: 20px;
    text-align: center;
}

.timeline-export-step {
    color: #000 !important;
}

.timeline-export-text {
    color: #000 !important;
    margin-top: 10px;
    line-height: 1.3rem;
}

.content-image {
    height: 100%;
    object-fit: cover;
}

.richtext-image {
    object-fit: contain;
}

.richtext-image.left {
    float: left;
    margin-top: 10px;
    margin-right: 20px;
}

.richtext-image.right {
    float: right;
    margin-top: 10px;
    margin-left: 20px;
}

.richtext-image.full-width {
    width: 100%;
    height: auto;
}

p + h2, p + h3, p + h4, img + h2, img + h3, img + h4, ul + h2, ul + h3, ul + h4, ol + h2, ol + h3, ol + h4 {
    margin-top: 40px;
}

.action-message {
    min-height: calc(100vh - 380px);
}

.track-preview {
    text-decoration: none;
}

.track-preview .caption h2 {
    height: 60px;
    overflow: hidden;
    margin-bottom: 0;
}

.track-preview .caption p {
    height: 80px;
    overflow: hidden;
}

.track-map {
    width: 100%;
    height: 450px;
}

.form-box input, .form-box select, .form-box textarea {
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    outline: none;
    width: 100%;
    padding: 10px;
    font-size: 14px;
    background: rgb(255, 255, 255);
}

main > .section-map {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 96px;
    height: calc(100vh - 96px);
}

.hikes-map {
    position: absolute !important;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.park-map {
    height: 300px;
    cursor: pointer;
}

@media (min-width: 991px) {
    .park-map {
        margin-top: -76px;
    }
}

@media (max-width: 991px) {
    .timeline > div .badge {
        width: 100%;
        position: static;
        padding: 0;
    }

    .timeline .panel, .timeline div.inverted .panel, .timeline div.inverted .panel:last-child, .timeline .panel:last-child {
        width: 100%;
        margin-left: 0;
        border: none;
        padding-left: 0;
        padding-right: 0;
    }

    .section-full-width-mobile > .container {
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    .footer-bar > .container {
        display: flex;
        flex-direction: column;
    }

    .footer-bar > .container > span:last-child {
        display: block;
        float: none;
    }
}

.elevation-chart {
    height: 400px;
}

@media (max-width: 767px) {
    .elevation-chart {
        height: 200px;
    }
}

.ol-popup {
	position: absolute;
	background-color: white;
	-webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
	filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
	border-radius: 10px;
	border: none;
	bottom: 12px;
	left: -50px;
	width: 260px;
}

.ol-popup:after {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-top-color: #3A2511;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup .ol-popup-closer {
    display: none;
    text-decoration: none;
    position: absolute;
    top: -8px;
    right: -20px;
    z-index: 1;
    color: #3A2511;
    font-size: 18px;
    font-weight: bold;
}
.ol-popup .ol-popup-closer:after {
    content: "X";
}
.ol-popup .ol-popup-content {
    background-color: #DBD5C8;
}

.ol-popup .ol-popup-content h3 {
    padding: 8px 18px;
    line-height: 18px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 100%;
    position: absolute;
    bottom: 0;
    color: #3A2511;
    z-index: 1;
    font-size: 14px;
}


.ol-popup .ol-popup-content h3 a {
    text-decoration: none;
    color: #3A2511;
}

.ol-popup .ol-popup-content .cnt-info {
    position: relative;
    margin: 0;
    width: 100%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.ol-popup .ol-popup-content .difficulty-level {
    position: absolute;
    top: 10px;
    left: 10px;
    margin: 0;
    z-index: 1;
}

.ol-popup .ol-popup-content .cnt-box-info .caption {
    background-color: #DBD5C8;
}

.ol-popup .ol-popup-content .caption {
    padding: 0 !important;
}

.ol-popup .ol-popup-content .img-box {
    margin: 0;
}

.ol-popup .ol-popup-content .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hike-filter {
    position: absolute;
    top: 104px;
    /* left: 50%; */
    /* transform: translate(-50%, 0); */
    right: 10px;
    z-index: 10;
    background-color: rgba(228, 149, 12, 0.9);
    padding: 3px 34px 3px 26px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #3A2511;
}

.hike-filter .input-select {
    border-width: 0;
    padding: 6px 8px;
    background: none;
    font-weight: 600;
    cursor: pointer;
}

.video-preview {
    width: 100%;
}

.recaptch {
    padding-top: 20px;
}

@media (max-width: 576px) {
    .ol-popup {
        width: 200px;
    }

    .ol-popup .ol-popup-content h3 {
        font-size: 12px;
    }
}
