﻿html {
    position: relative;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    font-family: 'neue-kabel', Helvetica, Arial;
}

header {
    z-index: 1002;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.hide {
    display: none;
}

.hide-important {
    display: none !important;
}

.main-content {
    min-height: calc(100% - 62px);
    position: absolute;
    top: 62px;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-size: cover;
    justify-content: center;
}

.info-container {
    max-width: 700px;
    font-weight: 500;
    border-radius: 0.5rem;
    margin: 10px 0;
}

h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

h4 {
    font-size: 1.15rem;
    font-weight: 700;
}

h5 {
    font-size: 1rem;
    font-weight: 600;
}

.navbar {
    z-index: 5;
}

.navbar-brand img {
    height: 35px;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: keep-all;
    color: #000000;
    font-weight: 600;
}

/* Provide sufficient contrast against white background */
a {
    color: #53A7C4;
}

a:hover {
    color: #4B4B4B;
}

.navbar-light .navbar-nav .nav-link {
    color: #53A7C4;
    font-weight: 500;
}

.btn-primary {
    color: #FFFFFF;
    background-color: #53A7C4;
    border-color: #53A7C4;
}

.btn-primary:hover {
    background-color: #53A7C4aa;
    border-color: #53A7C4aa;
}

.btn-primary:disabled {
    background-color: #707070;
    border-color: #707070;
}

.btn-register {
    margin-top: .5em;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #FFFFFF;
    background-color: #53A7C4;
    border-color: #1861ac;
}

.transparent-shadow {
    background-color: rgba(22, 22, 22, 0.5);
}

/* Destination Edit */
.cover-picture {
    position: absolute;
    top: 90px;
    text-align: center;
    width: inherit;
}

.cover-picture input {
    transform: scale(1.3);
}

/* Add facility pictures */
.add-caption-btn {
    position: absolute;
    top: 75px;
    font-size: 0.7rem;
}

/* Cookie consent */
.stickToBottom {
    position: absolute !important;
}

#cookieConsent {
    flex-shrink: 0;
    border: 0;
    border-radius: 0;
    margin: 0;
    text-align: center;
    background: #ffffff;
    padding-top: 10px;
    padding-bottom: 10px;
    bottom: 0;
    position: relative;
    width: 100%;
}

#cookieConsent .footer_links a {
    margin-left: 10px;
    margin-right: 10px;
}

#cookieConsent .social_buttons a {
    margin-left: 15px;
    margin-right: 5px;
    position: relative;
    top: -10px;
}

#cookieConsent .social_buttons {
    margin-top: 5px;
}

#cookieConsent .cookie-consent-message {
    padding-right: 20px;
}

@media (max-width: 575px) {
    #cookieConsent .hide-on-mobile {
        display: none;
    }
}

.only-text-page {
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    --main-blue: #53A7C4;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #E5E5E5;
}

.border-bottom {
    border-bottom: 1px solid #E5E5E5;
}

.box-shadow {
    box-shadow: 0 0 .3rem rgba(0, 0, 0, .2);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.table th {
    border-top: none;
}

/* Mapbox */
.map-container {
    display: flex;
    flex-flow: column;
    height: 100%;
}

#map {
    flex: 1 0 auto;
}

/* Search
--------------------------------------*/

.search-page {
    padding: 1rem 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-page .card-text .date img {
    margin: 0;
}

.search-page .card-text img {
    margin: -5px 3px 0 0;
}

.search-container {
    max-width: 700px;
    font-weight: 500;
    border-radius: 0.5rem;
    height: max-content;
    width: 95vw;
}

.search-container .text-info + div {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.search-container .text-info + div > div {
    padding-bottom: 1rem !important;
}

.search-container .text-info + div + div > div {
    padding-bottom: 1rem !important;
}

.mtm-hubspot-search {
    width: 95vw;
}

@media (min-width: 1080px) {
    .search-page {
        padding: 1.5rem 2rem 2.5rem;
        flex-direction: row;
        gap: 2rem;
        align-items: flex-start;
        justify-content: center;
    }

    .search-container {
        width: 50%;
        margin-top: 2rem;
    }

    .mtm-hubspot-search {
        width: 45%;
    }
}

.text-muted-custom {
    color: #d8d8d8;
}

.filter-divs {
    width: 100%;
    cursor: pointer;
}

.caret-dropdown {
    transform: rotate(-90deg);
    color: #d8d8d8;
    font-weight: bold;
    font-size: x-large;
}

.chevron {
    border-style: solid;
    border-width: 0.16em 0.16em 0 0;
    border-color: #212529;
    content: '';
    height: 0.5em;
    position: relative;
    transform: rotate(135deg);
    width: 0.5em;
    border-radius: 10%;
}

.btn-custom-disabled {
    color: #d8d8d8;
    background-color: #FFFFFF;
    border-color: #d8d8d8;
}

.search-container .search-page-icons {
    width: 30px;
    height: 30px;
}

.search-container .search-page-calendars {
    background: white;
    border-right: none;
}

.search-container .search-button {
    margin-right: 1rem;
}

#timezoneRange {
    margin-top: -1rem;
}

input {
    border-color: #000000;
}

input:focus {
    outline: none;
}

.dark-border {
    border-color: #000000;
}

.dark-border:focus {
    outline: none;
    box-shadow: none;
}

.form-control:focus {
    border-color: #000000;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, 0.6);
}

#geocoder input[type='text'],
input.md-text {
    border-radius: 0px;
    border-color: #000000;
    border-bottom: solid 1px;
}

#geocoder div {
    width: 100%;
    box-shadow: none;
}

input.md-text:focus {
    outline: none;
    box-shadow: none;
    border-color: #000000;
}

.custom-control-label::before {
    border-color: #000000;
}

.custom-radio
.custom-control-input:checked ~
.custom-control-label::before {
    border-color: var(--main-blue);
    background-color: var(--main-blue);
}

.custom-checkbox
.custom-control-input:checked ~
.custom-control-label::before {
    border-color: var(--main-blue);
    background-color: var(--main-blue);
}

.custom-control-input:focus {
    color: var(--main-blue);
}

.search-container input:focus {
    box-shadow: none;
}

.datepicker table tr td.active.active {
    background: var(--main-blue) !important;
}

/* Editing destination */
#preview-window {
    width: 70vw;
    height: 65vh;
}

/* Login */
.login-page {
    max-width: 465px;
}

.login-page button {
    width: 100%;
}

.login-page h4 {
    margin-bottom: 40px;
    text-align: center;
}

.login-page h5 {
    margin-bottom: 0;
}

.login-page .links {
    margin-top: 10px;
}

.login-page .links a {
    color: #707070;
    font-size: 0.8rem;
    text-decoration: underline;
}

.login-page .links p {
    margin-bottom: 10px;
    text-align: center;
}

.login-page input {
    border: 0;
    border-bottom: 1px solid black;
    border-radius: 0;
    outline: 0;
    padding: 0;
}

.login-page input:focus {
    box-shadow: none;
}


div.PopupDatePicker__calendarContainer___2vCof {
    top: unset;
    bottom: 2.25rem;
}

div.PopupDatePicker__calendarContainer___2vCof:before {
    bottom: -10px;
    top: unset;
    border-top: 10px solid white;
    border-bottom: unset;
}

/* Policies
--------------------------------------*/

.policy-page .disc-list {
    list-style-type: disc;
}

.policy-page h3 {
    background-color: #53A7C4;
    color: #FFFFFF;
    padding: 0.1rem 0.5rem;
    margin: 1.5rem 0;
    text-transform: uppercase;
    width: 100%;
}

.policy-page .list-title {
    margin-bottom: 0;
}

.policy-page .lower-latin-list {
    list-style-type: lower-latin;
}

.policy-page .lower-roman-list {
    list-style-type: lower-roman;
}

/* Destination Modal */
.facility-destinations-box-social-feed {
    max-height: 350px;
    overflow-x: hidden;
    overflow-y: auto;
}

@media (max-width: 400px) and (max-height: 750px) {
    .facility-destinations-box-social-feed {
        max-height: 210px;
    }
}

@media (min-width: 400px) and (max-width: 450px) and (max-height: 750px) {
    .facility-destinations-box-social-feed {
        max-height: 250px;
    }
}

@media (max-width: 340px) and (max-height: 750px) {
    .facility-destinations-box-social-feed {
        max-height: 140px;
    }
}

@media (max-width: 575px) and (min-height: 720px) {
    .facility-destinations-box-social-feed {
        max-height: 350px;
    }
}