/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* Bootstrap icons */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
    /* Fonts */
    --primary-font: 'Open Sans', sans-serif;
 	--secondary-font: 'Bitter', serif;
    --bs-body-font-size: 1.4rem;

    /* Colours */
    /* Orange */
	--color-orange-1: #f5ddd2;  /* Footer background */
	--color-orange-2:  #eabaa5; /* Header h2 underline */
	--color-orange-3: #e09878;  /* Button hover */
	--color-orange-4: #bd582c; 	/* Link and icon */
	--color-orange-4-b: #bd582cbb; /* cover title background */
    --color-orange-5: #8e4221; 
	--color-orange-6-a: #5f2c1641;

	/* Coffee */
	--color-coffee-6: #432b20; 	/* Links */

	/* Green */
	--color-green-1: #E0E4DB;  /* Message alert background */
	--color-green-2: #C1CAB6;  /* Message alert border, button*/
	--color-green-3: #A2AF92;  /* Button hover */
	--color-green-5: #4A543E;  /* Reasons background */
	--color-green-6: #313829;  /* Reasons border */

	/* Mango */
	--color-mango-1: #FBE6CE; /* Map location search results background */
	--color-mango-2: #F7CE9D; /* Button background */
	--color-mango-3: #F3B56C; /* Button hover */    
}

/* Ensure the body and html take up the full height */
html, body {
    height: 100%;
}

body {
    font-family: var(--primary-font), sans-serif;
    display: flex;
    flex-direction: column;
}

/* Allow the main content to grow and push the footer down */
main {
    flex-grow: 1;
}

.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* change navbar colour on add report page */
.map-reports-body .navbar {
    background-color: #fafaf3;
}

.navbar-toggler {
    width: 60px; /* match width of map action buttons */
}

p, li, td {
    font-size: 1.25rem;
    font-weight: 400;
}

th {
    font-weight: 600;
}

tr {
    font-size: 1.25rem;
}

h2 {
    font-family: var(--secondary-font), sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
}

h3 {
    font-family: var(--secondary-font), sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 1.6rem;
}

h4 {
    font-family: var(--secondary-font), sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 1.5rem;
}

/* Message alerts */
.alert-success {
    /* Override Bootstrap variables */
    --bs-alert-color: black !important;
    --bs-alert-bg: var(--color-green-1) !important;
    --bs-alert-border-color: var(--color-green-2) !important;
}

.alert-error {
    /* Override Bootstrap variables */
    --bs-alert-color: black !important;
    --bs-alert-bg: #f77474 !important;
    --bs-alert-border-color: #ff3e3e !important;
}

/* Ensure the pointer cursor appears when hovering over the div and any child elements, such as text */
.cursor-pointer,
.cursor-pointer * {
    cursor: pointer;
}

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

.dkm-container {
    max-width: 800px;
    padding-left: 12px;
    padding-right: 12px;
    margin: 0 auto;
}

.list-reports-container {
    padding-left: 4px;
    padding-right: 12px;
}

.custom-link {
    color: var(--color-orange-4);
    text-decoration: underline;
}

a {
	text-decoration: none;
	color: var(--color-coffee-6);
	cursor: pointer;
}

.hidden {
    display: none !important;
}

.align-right {
    position: relative;
    right: 0;
}

.underline-orange {
    display: inline-block;
    border-bottom: 5px solid var(--color-orange-2);
    padding-bottom: 5px;
}

.underline-green {
    display: inline-block;
    border-bottom: 5px solid var(--color-green-2);
    padding-bottom: 5px;
}

/* SIDEPANEL MENU FOR XL SCREENS */
.offcanvas.offcanvas-end {
    background-color: #FBE6CE;
    width: 210px;
}

.sidepanel {
    background-color: #FBE6CE;
    width: 210px; 
    z-index: 10;
}

/* Buttons */
.btn {
    font-family: var(--primary-font), sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.btn-green {
    background-color: var(--color-green-2);
    color: black;
}

/* Only apply :hover styles on desktop/laptop */
@media (hover: hover) and (pointer: fine) {
    .btn-green:hover {
        background-color: var(--color-green-3);
        color: black;
    }

    .btn-red:hover {
        background-color: rgb(236, 121, 121);
        color: black;
    }

    .btn-mango:hover {
        background-color: var(--color-mango-3);
        color: black;
    }

    .btn-orange:hover {
        background-color: var(--color-orange-3);
        color: black;
    }
}

.btn-red {
    background-color: rgb(230, 129, 129);
    color: black;
}

.btn-mango {
    background-color: var(--color-mango-2);
    color: black;
}

.btn-orange {
    background-color: var(--color-orange-2);
    color: black;
}

.button-disabled {
    background-color: grey;
    cursor: not-allowed;
}

label, 
.reasons-help-text {
    font-family: var(--primary-font), sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

#logo {
    height: 25px;
}

header.container {
	--bs-gutter-x: 0; /* Remove Bootstrap gutter for the header */
	padding: 0;
}

.home-container {
    max-width: 800px;
    margin: 0 auto;
}

/* HOME PAGE */

/* hero image */
.hero {
	width: 100%;
	height: 500px;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative; /* For adding hero text relative to the hero image */
}

#hero-home {
	background-image: url("../images/dropped_kerb_medium.webp");
	background-position: 50% 50%;
}

/* 2ND IMAGE ON HERO */
#map-marker {
    position: absolute;
    top: 43%;   
    left: 50%; 
    transform: translate(-50%, -100%); /* Centers horizontally and places the bottom of the marker at the center */
    width: 50px;
    height: 50px;
    background-image: url('../images/marker-green.png'); 
    background-size: contain;
    background-repeat: no-repeat;
}

/* Cover content - cover title and call-to-action butons */
#cover-content {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    align-content: center;
    text-align: center;
    width: 95%;
    max-width: 355px;
}

/* cover title */
.cover-title {
    background-color: var(--color-orange-4-b);
    text-align: center;
    border-radius: 5px;
}

.cover-title > h2 {
    color: white;
    font-weight: 600;
}

/* Call-to-action buttons */
.call-to-action .btn {  
    font-size: 1.1rem;
}

/* INSTRUCTIONS PAGE */

/* Remove all borders on the accordion */
.accordion,
.accordion-item,
.accordion-button,
.accordion-header,
.accordion-collapse {
    border: none !important;
    box-shadow: none !important;
}

.accordion {
    --bs-accordion-btn-padding-x: 0;
    --bs-accordion-body-padding-x: 0;
    padding-right: 12px;
}

.accordion-button {
    font-size: 1.35rem;
    font-weight: 600;
    padding-bottom: 5px;
}

/* Remove blue background on open accordion button */
.accordion-button:not(.collapsed) {
    background-color: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
}

.accordion-header {
    margin: 0;
}

.accordion-item {
    background-color: inherit;
    border: none;
}

.accordion-body {
    padding-top: 5px;
}

.display-narrow {
    display: block;
}

.display-768 {
    display: none;
}

.para-sm,
.para-422 {
    display: inline;
}

.para-lg,
.para-1200,
.para-423 {
    display: none;
}

#instructions-container ol {
    padding-left: 1.5rem;
}

#instructions-container li {
    margin-bottom: 1rem;
}

/* Instructions images */
.instructions-img {
    max-width: 100%;
    margin-bottom: 1.5rem;
    display: block;
    margin: 0 auto 1.5rem auto;
}

.map-view-img {
    width: 450px;
}

.message-img {
    width: 320px;
}

.popup-img { 
    width: 270px;
}

.view-reports-img {
    width: 800px;
    display: block;
    margin: 0 auto 1.5rem auto;
}

.view-reports-img-wrapper {
    width: 100%;
    overflow-x: auto;
}

#big-plus::before {
    font-size: 2rem;
    color: blue;
    vertical-align: -.25em;
}

.map-button-inline {
    display: inline;
    width: 3rem;
    height: 3rem;
}

.bullet-green::marker {
    color: green; /* change red to your desired colour */
}

.bullet-orange::marker {
    color: orange; /* change red to your desired colour */
}

.bullet-red::marker {
    color: red; /* change red to your desired colour */
}


#not-logged-in-buttons {
    display: flex;
    justify-content: center;  
}

/* MAP: Create new report page*/

#map {
    width: 100%;
    height: calc(100vh - 56px); /* Full height minus navbar height */
}



/* Only apply :hover styles on desktop/laptop */
@media (hover: hover) and (pointer: fine) {
    #text-search-submit:hover,
    .hover-orange:hover {
        background: var(--color-orange-2) !important;
    }
}

/* Location search results */
#location-search-results {
    position: relative;
    background-color: var(--color-mango-1);
    z-index: 3;
}

.border-bottom-mango {
    border-bottom: 1px solid var(--color-mango-3);
}

/* Only apply :hover styles on desktop/laptop */
@media (hover: hover) and (pointer: fine) {
    .mango-hover:hover {
        background-color: var(--color-mango-2);
        color: black;
    }   
}

/* Map markers */
/* remove the marker’s box‐shadow by hiding the shadow-ellipse group in every default marker SVG */
.maplibregl-marker svg > g > g:first-child {
    display: none !important;
}

/* User location indicator */
.maplibregl-user-location-dot {
    transition: none !important;
}

/* Disable the pulse animation on the location dot */
.maplibregl-user-location-dot::after,
.maplibregl-user-location-dot::before {
    display: none !important;
}

#map-controls-container-and-search {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 360px;
    background: #fafaf3;
    position: relative;
    padding: 10px 10px;
    z-index: 2;
}

/* Location search bar */
/* Make sure the search bar doesn't get too wide */
#search-location {
    width: 100%;
}

#text-search {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3; /* Ensure the results are above the map controls */
}

#text-search-input {
    font-size: 1.25rem;
    height: 60px;
    border: 2px solid var(--color-orange-4);
    border-right: none;
    background: rgb(246, 245, 241) !important;
}

#text-search-submit {
    width: 60px;
    border: 2px solid var(--color-orange-4);
    background: rgb(246, 245, 241) !important;
}

/* Map controls */
#map-controls-container {
    position: static;
    width: 100%;
    top: 15px; 
    left: 10px; 
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    gap: 10px; /* Space between buttons */
}

.map-control {
    position: relative;
    width: 60px;
    height: 60px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid var(--color-orange-4);
    z-index: 2;
    background: transparent;
}

/* User location button */
#map-controls-container .maplibregl-ctrl-geolocate .maplibregl-ctrl-icon {
    z-index: 3;
}

/* Override maplibre styles */
#map-controls-container .maplibregl-ctrl-top-right {
    position: relative;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center; 
    background: transparent;
}
#map-controls-container .maplibregl-ctrl-group.maplibregl-ctrl {
    box-shadow: none !important;
    float: none !important;
    margin: none !important;
    background: transparent !important;
}
#map-controls-container .maplibregl-ctrl-top-right .maplibregl-ctrl {
    float: none;
    margin: 0;
}

#map-controls-container-and-search .maplibregl-ctrl-group button {
    background-color: transparent;
}

/* Add new report mode button icon */
#add-report-icon {
    height: 30px; 
    vertical-align: middle;
}

/* Satellite icon in button */
#satellite-icon {
    width: 35px;
    height: 35px; 
}

.map-control {
    position: relative;
}

.custom-tooltip {
    display: none;
    position: absolute;
    left: 50%;
    top: 110%;
    transform: translateX(-50%);
    width: 300px;
    background: var(--color-orange-1);
    color: var(--color-coffee-6);
    font-family: --primary-font, sans-serif;
    padding: 10px 10px;
    border-radius: 4px;
    font-size: 1.25rem;
    white-space: normal;
    z-index: 10;
    pointer-events: none;
}

.map-control.show-tooltip + .custom-tooltip {
    display: block;
}

/* search submit icon */
.bi-search,
.bi-arrow-right,
.bi-x,
.bi-crosshair {
    font-size: 1.5rem;
    color: black;
}

.bi-geo-alt {
    font-size: 1.8rem;
    color: black;
    margin-top: 3px;   
    display: inline-block; /* Needed for margin to work reliably */
}

.custom-satellite-icon {
    display: inline-block;
    width: 33px;         /* Match your other icon sizes */
    height: 33px;
    background: url("../images/satellite.png") no-repeat center center;
    background-size: contain;
    vertical-align: middle;
}

/* toggle streetview */
.icon-stack {
  position: relative;
  width: 3rem;    /* Wider to fit both icons */
  height: 1.7rem;
  display: inline-block;
}

.icon-stack i {
  position: absolute;
  top: 50%;
  transform: translateY(-35%);
  font-size: 1.6rem;
  left: 1px;
  color: black;
}

.icon-stack i:last-child {
  left: 1.4rem;   /* Slightly to the right, so they overlap a bit */
}

.button-active,
.maplibregl-ctrl-top-right.map-control:has(.maplibregl-ctrl-geolocate-active) {
    background: #F7CE9D !important;
}

#map-container {
    width: 100vw;
    height: calc(100vh - 56px); /* Full height minus navbar height */
    position: relative;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
    transition: height 0.3s;
    touch-action: manipulation;
}

#streetview-container {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--color-mango-1);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}

#streetview {
    width: 100vw;
    height: 100%;
}

#streetview-message {
    border: 1px solid var(--color-green-5);
    border-radius: 5px;
    background-color: var(--color-green-1);
    width: 90%;
    max-width: 500px;
}

/* Streetview arrow marker */
#arrow-marker {
    width: 32px; 
    height: 32px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#arrow-marker svg {
    width: 32px; 
    height: 32px; 
    display: block;
}

/* New reports map page messages container div */
.map-reports-body #message-container {
    position: absolute;
    top: 100px; 
    left: 50%;
    transform: translate(-50%); 
    font-size: 1.15rem;
    z-index: 1001;
    width: 100%;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
}

/* ATTRIBUTION */

/* Custom Google attribution elements */
#google-logo {
    position: absolute;
    bottom: 5px;
    left: 5px;
    z-index: 2;
    display: none;
    /* Initially hidden */
}

#google-copyright {
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 2;
    display: none;
    /* Initially hidden */
    font-size: 12px;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 4px;
}

.maplibregl-ctrl.maplibregl-ctrl-attrib.maplibregl-compact {
    background: rgba(255, 255, 255, 0.5);
    bottom: 0px;
    right: 0px;
    margin: 0;
}

/* Ordnance Survey branding */
.hide-os .os-api-branding {
    display: none !important;
}

.hide-os .maplibregl-ctrl.maplibregl-ctrl-attrib.maplibregl-compact,
.hide-os .maplibregl-ctrl.maplibregl-ctrl-attrib.maplibregl-compact a {
    background: rgba(255, 255, 255, 0);
    color: white; 
}

/* Location of Maplibre attribution */
.maplibregl-ctrl-bottom-right {
    width: calc(100% - 120px);
    /* position to the right */
    right: 0px;
}

/* Cursor style in new report mode */
.cursor-crosshair {
    cursor: crosshair;
}

/* Map marker popup */
.maplibregl-popup {
    z-index: 5;
}

.maplibregl-popup p {
    margin-bottom: 0.7rem;
}

/* NEW REPORT FORM */
#map-report-form-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 390px;
    background-color: #f5ddd2;
    padding: 10px;
    z-index: 1000;
    max-height: 80vh;    /* Adjust based on how tall you want the form */
}

.col-form-label {
    font-size: 1.25rem;
    font-weight: 400;
}

.font-size-125rem *,
.font-size-125rem {
    font-size: 1.25rem;
}

/* Selected reasons list items */
.choices__list--dropdown .choices__item,
.choices__input {
    font-size: 1.25rem !important;
}

#reasons-container .choices__input {
    display: none !important;
}

#reasons-container .choices__inner {
    background-color: white !important;
}

#reasons-container .choices__input::placeholder {
    color: black !important;
}

#reasons-container .choices,
#reasons-container .choices__inner {
    cursor: pointer !important;
}

.choices__list--multiple .choices__item {
    font-size: 1.15rem !important;
}

.choices__item.choices__item--selectable {
    background-color: var(--color-green-5) !important;
    border: 1px solid var(--color-green-6) !important;
}

/* Reasons dropdown list */
.choices__list.choices__list--dropdown.is-active {
    position: absolute !important;
    left: 0;
    right: 0;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/*  Edit report page only */
.editing-report .choices__item.choices__item--choice.choices__item--selectable {
    background-color: var(--color-green-1) !important;
    border: 1px solid var(--color-green-2) !important;
}

/* Create new report page */

#map-report-form .choices__list--dropdown .choices__list {
    max-height: 190px !important; /* Set a max height for the dropdown */
    overflow-y: scroll; /* Enable vertical scrolling */
}

.choices.is_open {
    overflow: none !important; /* Disable overflow on the parent container */
}

#map-report-form .choices__item.choices__item--choice.choices__item--selectable {
    background-color: var(--color-mango-1) !important;
    border: 1px solid var(--color-mango-2) !important;
}

#reasons .form-check {
    width: 48%; /* Adjust width to fit two columns */
    box-sizing: border-box;
    margin-bottom: 10px;
}

.hide-sm {
    display: none;
}

.popup-photo {
    width: 100%;
    max-width: 200px;
    height: auto;
}


/* Hide the footer on add report page */
html:has(#map) footer {
    display: none;
}

/* LIST REPORTS PAGE */
.table-responsive {
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for touch devices */
    width: 100%; /* Ensure the container takes up the full width */
}

.table-responsive table {
    width: 100%; /* Ensure the table takes up the full width */
}

.created-col {
    min-width: 120px; /* to fit the date */
    white-space: nowrap; 
}

.bi-eye-fill, 
.bi-camera-fill,
.bi-pencil-fill,
.bi-trash-fill {
    color: var(--color-orange-4);
}

/* Override Boostrap pagination colours */
.pagination {
    --bs-pagination-font-size: 1.25rem;
    --bs-pagination-color: var(--color-orange-4);
    --bs-pagination-bg: var(--bs-body-bg);
    --bs-pagination-hover-color: var(--color-orange-5);
    --bs-pagination-hover-border-color: var(--bs-border-color);
    --bs-pagination-focus-color: var(--color-orange-5);
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem var(--color-orange-6-a);
    --bs-pagination-active-bg: var(--color-orange-4);
    --bs-pagination-active-border-color: var(--color-orange-4);
}

/* REPORT DETAILS PAGE */
.report-photo-container{
    width: 300px;
}

.report-photo {
    width: 100%; 
    height: auto;
}

/* make the delete_photo radios sit side by side */
#id_delete_photo {
    display: flex;
    align-items: center; /* vertically center radios & labels */
    gap: 1rem;           /* space between them */
  }

/* Create new report form */

#div_id_condition > div {
    padding-right: 0;
    width: 100% !important;
}

#div_id_photo {
    padding-bottom: 0.75rem;
}

.edit-report {
    max-width: 540px;
    margin-right: auto;
    margin-left: auto;
}

.current-photo {
    width: 100%;
    max-width: 500px;
}

.report-detail {
    max-width: 800px;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
}

.report-detail th {
    font-weight: 400;
}

.report-detail th {
    padding-left: 0;
}

.report-detail table.table {
    width: auto;      /* allow table to shrink to content */
}

.report-detail .btn {
    width: 210px;
}

.what-next {
    max-width: 510px;
}

.what-next.row .col-md-auto {
    padding-right: 0;
}

/* SIGNUP PAGE */
#id_is_carer,
#id_uses_mobility_device {
    max-width: 131px;
    max-height: 44px;;
}

.btn-container {
    text-align: right;
  }

/* Change Password */
#change-password label {
    font-size: 1.25rem;
    font-weight: 400;
    padding-right: 10px;;
}

#change-password input {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    padding: .375rem .75rem;
    line-height: 1.5;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
}

/* FOOTER */

.background-orange-1 {
	background-color: var(--color-orange-1);
}

/* Bluesky icon */
.bi-bluesky::before {
    content: "";
    background-color: currentColor;
    mask-image: url("../images/bluesky.svg");
    mask-repeat: no-repeat;
    mask-position: 50% 50%;
    -webkit-mask-image: url("../images/bluesky.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;
    height: 22px;
    width: 22px;
}

/* Media Queries
 */
@media (max-width: 360px) {
    /* reduce all font sizes by 10% on very small screens  */

    html {
        font-size: 90%;
    }

    /* Make the logo smaller so the menu toggler can fit on the same line on tiny screens */
    #logo {
        height: 22px;
    }

    .navbar-toggler {
        width: auto;
        height: 30px;
        padding: 2px 8px; 
    }

    .navbar-toggler-icon {
        height: 20px;  
        width: 20px;  
    }

    /* Map controls */
    #map-controls-container-and-search {
        width: 320px;
    }

    /* Location search bar */
    #text-search {
        width: 100%;
    }

    #text-search-input {
        height: 50px;
    }

    #text-search-submit {
        width: 50px;
    }

    .maplibregl-popup p {
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 360px) {
    /* Reduce the size of the map controls */
    .map-control {
        width: 53px;
        height: 53px;
    }
}


/* Allow wrapping for small screens */
@media (max-width: 549px) {
    .maplibregl-ctrl-attrib {
        white-space: normal; /* Allow text to wrap */
        word-wrap: break-word; /* Break long words if necessary */
    }
}

@media (min-width: 360px) {
    /* Move message container down */
    .map-reports-body #message-container {
        position: absolute;
        top: 116px; 
        left: 50%;
        transform: translate(-50%);
        font-size: 1.25rem;
    }
}

@media (min-width: 423px) {
    /* Move message container */
    .map-reports-body #message-container {
        position: absolute;
        top: 116px; 
        left: 0;
        transform: none;
        font-size: 1.25rem;
        max-width: 350px;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: none; /* Remove the max-width for larger screens */
    }
    #map-report-form-container {
        max-width: 500px;
    }
}

@media (min-width: 768px) {

    #map-marker {
        width: 60px;
        height: 60px;
    }

    #report-table{
        overflow-x: auto;
    }

    /* INSTRUCTIONS PAGE */
    .display-narrow {
        display: none;
    }

    .display-768 {
        display: block;
    }
}

@media (min-width: 992px) {
    /* Add a left margin to the main content for medium screens and larger */
    main,
    footer {
        margin-right: 210px; /* width of the menu panel */
    }

    #map-container {
        width: calc(100vw - 210px); /* Full width minus the menu panel */
    }

    .hide-sm {
        display: block;
    }

    .para-sm {
        display: none;
    }
    
    .para-lg {
        display: inline;
    }

    .sidepanel {
        width: 230px; 
    }

}