body.map {
    overflow: hidden;
    
    background-color: #A2BEE5;
    
    box-sizing: border-box;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

.map .map-title {
    display: none;
    
    position: absolute;
    font-family: 'Tangerine';
    top: 48px;
    left: 48px;
    
    box-sizing: border-box;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

.map .map-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    

    box-sizing: border-box;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

/*.map-container::after {
  width: 6px;
  height: 6px;
  background-color: red;
  position: absolute;
  top: calc(50vw - 6px);
  left: calc(50vh - 6px);
  display: inline-block;
  content: "\A";
}*/

.map .map-container .new-zealand-map {
    position: absolute;
    /*top: 24px;
    left: calc(50vw - 386px);*/
}

.map .map-container .new-zealand-map.map-is-moving {
    cursor: move;
}

/* --- ___ Places ___ --- */

.new-zealand-map .regionName,
.new-zealand-map .placeOfStay,
.new-zealand-map .pointOfView,
.new-zealand-map .lotrLocation{
    cursor: pointer;
}

.new-zealand-map .placeOfStay:hover .cross {
    fill: #2c4676;
}

.new-zealand-map path.placeOfStay.selected .cross {
    fill: #ff1717;
}

.new-zealand-map path.placeOfStay.selected:hover .cross{
    fill: #ff1717;
}

.new-zealand-map .pointOfView:hover .flag {
    fill: #2c4676;
}

.new-zealand-map path.pointOfView.selected .flag {
    fill: #ff1717;
}

.new-zealand-map path.pointOfView.selected:hover .flag{
    fill: #ff1717;
}

.new-zealand-map .lotrLocation:hover .ring {
    fill: #2c4676;
}

.new-zealand-map path.lotrLocation.selected .ring {
    fill: #ff1717;
}

.new-zealand-map path.lotrLocation.selected:hover .ring{
    fill: #ff1717;
}

.placeTitle {
    position: absolute;
    
    font-family: 'Medula One', cursive;
	font-style: normal;
	font-weight: normal;
    font-size: 1.75em;
	line-height: 2em;
	color: #363636;
    
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25);
    
    padding: 0px 16px 0px 16px;  
}

.placeTitle:before{
	content: ' ';
    
	position: absolute;
	width: 0px;
	height: 0px;
	left: calc( 50% - 6px);
	bottom: -11px;

	border-left: 6px solid transparent; 
	border-right: 6px solid transparent; 
	border-top: 12px solid #ffffff;
}

/* --- ___ Tools ___ --- */

.map-tools {
    position: absolute;
    top: 0;
    left: 0px;
    overflow: hidden;
    
    box-sizing: border-box;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

@media screen and (min-width: 576px) {
    
    .map-tools {
        width: 344px;
    }
}

/* --- ___ Search bar ___ --- */

.map-tools .search-bar {
    display: flex;
    width: calc(100vw - 32px);
    overflow: hidden;
    
    background-color: #ffffff;
    border-radius: 48px;
    
    box-sizing: border-box;
    padding: 8px 12px 8px 12px;
    margin: 16px 0px 0px 16px;
}

.map-tools .search-bar .search--label {
    display: none;
}

.map-tools .search-bar .search--input {
    /*width: 320px;*/
    /*width: 100%;*/
    width: 100%;
    
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: #363636;
    
    border:none;
    box-shadow: none;
    
    box-sizing: border-box;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

.map-tools .search-bar .search--clear-button {
    display: none;
}

.map-tools .search-bar .search--input:not(:placeholder-shown) + .search--clear-button {
    cursor: pointer;
    
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    
    background-color: transparent;
    border:none;
    box-shadow: none;
}

.map-tools .search-bar .search--run {
    cursor: pointer;
    
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    
    background-color: transparent;
    border:none;
    box-shadow: none;
}

@media screen and (min-width: 576px) {
    
    .map-tools .search-bar {
        width: 100%;
        max-width: 320px;
        
        margin: 24px 0px 0px 24px;
    }
}

/* --- ___ Places drawer ___ --- */
.map-tools .place-drawer.hidden {
    display: none;
}

.map-tools .place-drawer {
    position: fixed;
    bottom: 0px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100vw;
    
    background-color: #ffffff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    overflow: hidden;
    
    box-sizing: border-box;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

.map-tools .place-drawer .place-drawer--illustration {
    box-sizing: border-box;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

.map-tools .place-drawer .place-drawer--illustration img {
    width: 100%;
    height: 136px;
    object-fit: cover;
    
    box-sizing: border-box;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

.map-tools .place-drawer .place-drawer--title {
    font-size: 1.25rem;
    line-height: 2rem;
    font-weight: bold;
    
    box-sizing: border-box;
    padding: 0px 16px 0px 16px;
    margin: 0px 0px 0px 0px;
}

.map-tools .place-drawer .place-drawer--link {
    display: flex;
    flex-direction: row;
    gap: 16px;
    
    box-sizing: border-box;
    padding: 0px 16px 16px 16px;
    margin: 0px 0px 0px 0px;
}

.map-tools .place-drawer .place-drawer--link .place-drawer--button {
    cursor: pointer;
    
    font-size: 0.75rem;
    font-weight: normal;
    line-height: 1.5rem;
    text-decoration: none;
    color: #ffffff;
    
    background-color: #2c4676;
    border-radius: 48px;
    border: none;
    
    box-sizing: border-box;
    padding: 4px 12px 4px 12px;
    margin: 0px 0px 0px 0px;
}

.map-tools .place-drawer .place-drawer--link .place-drawer--button:hover {
    background-color: #2c5cb4;
    text-shadow: none;
}

.map-tools .place-drawer .place-drawer--link .place-drawer--button:focus {
    box-shadow: 0 0 0 4px #3582c4;
    outline: 2px solid white;
}

.map-tools .place-drawer .place-drawer--link .place-drawer--button:active {
    color: #29416f;
    
    background-color: #a1b8e2;
}

.map-tools .place-drawer .place-drawer--closing {
    position: absolute;
    top: 8px;
    right: 8px;
    
    box-sizing: border-box;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

.map-tools .place-drawer .place-drawer--closing button.place-drawer--closing-cross {
    cursor: pointer;
    
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    border: none;
    
    box-sizing: border-box;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

.map-tools .place-drawer .place-drawer--closing button.place-drawer--closing-cross:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.map-tools .place-drawer .place-drawer--closing button.place-drawer--closing-cross:focus {
    box-shadow: 0 0 0 4px #3582c4;
    outline: 2px solid white;
}

.map-tools .place-drawer .place-drawer--closing button.place-drawer--closing-cross:active {
    color: #ffffff;
    
    background-color: #555555;
}

@media screen and (min-width: 576px) {
    
    .map-tools .place-drawer {
        position: relative;
        width: 320px;
        bottom: auto;
        
        border-radius: 16px;
        
        margin: 24px 0px 0px 24px;
    }
    
    .map-tools .place-drawer .place-drawer--illustration img {
        height: 168px;
    }
    
    .map-tools .place-drawer .place-drawer--link button.place-drawer--button {
        font-size: 0.875rem;
        
        padding: 8px 12px 8px 12px;
    }
}
