@font-face {
    font-family: 'montserrat';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/montserrat.ttf')  format('truetype');
}


@font-face {
    font-family: 'montserrat';
    font-weight: bold;
    font-style: normal;
    src: url('../fonts/montserrat_b.ttf')  format('truetype');
}

@font-face {
    font-family: 'FuturaStd-Bold';
    font-weight: bold;
    font-style: normal;
    src: url('../fonts/FuturaStd-Bold.ttf')  format('truetype');
}

@font-face {
    font-family: 'Futura Std';
    font-weight: bold;
    font-style: normal;
    src: url('../fonts/FuturaStd-Bold.ttf')  format('truetype');
}



#left.closed div#logo,
#left.closed ul#kategorier,
#left.closed div#scroll {
    display: none;
}

div#menu {
    display: none;
}

g#Butiker > * {
    opacity: 0;
    fill: #A52382;
}

svg {
    max-width: 100%;
    max-height: 100%;
}

div#floor2 g#Stores > g {
    /*filter: drop-shadow(2px 35px 15px rgb(0 0 0 / 25%))*/
}

/*div#floor2.showing g#Stores > g {
    filter: drop-shadow(2px 17px 8px rgb(0 0 0 / 24%))
}*/


div#floor2, div#floor1 {
    /*filter: blur(2px);*/
    opacity: 0.5;
    /*transition-duration: 500ms;
    -webkit-transition-duration: 500ms;*/
}

div#floor1 {
    top: 220px;
    position: absolute;
    z-index: 1;
}

div#floor2 {
    position: absolute;
    z-index: 2;
    top: 145px;
    height: 480px;
    left: 150px;
}

li.result.kat9999 {
    display:  none;
}

div#floor1.showing, div#floor2.showing {
    filter: none!important;
    opacity: 1!important;
}


div#floor2.showing {
    top: 140px;
    height: 550px;
    left: 90px;
}

.butikHighlight {
    display: block!important;
    fill: #bd0e13;
    stroke: #bd0e13;
}

div#storeinfo {
    display:none;
}

div#storeinfo h1 {
        word-break: break-all;
}

div#storeinfo a {
    display: none;
}

path#Vector, path#restroom_area {
    fill: none;
}

g#hide {
    display: none !important;
}


div#logo {
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-image: url(../images/logo.png);
    width: 100%;
    height: 155px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 250px;*/
    width: 100%;
    height: 155px;
    background-color: #bd0d13;
}

div#logo img {
    max-width: 50%;
    max-height: 50%;
    object-fit: contain;
}

path.directionPath0, path.directionPath1, path.directionPath2, path.directionPath3, path.directionPath4, path.directionPath5, path.directionPath6 {
    stroke-linecap: round;
    stroke-dasharray: 8 !important;
}

body {
	background: radial-gradient(#ffffff, #00000024);
	font-family: 'montserrat',sans-serif;
	font-size: 17px;
	width: 1920px;
    height: 1080px;
    overflow: hidden;
	
	/*
	SCROLL
	*/
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
    padding: 0;
    position: relative;
}

#icons ul li.result {
	
	display: inline-block!important;
	
}

#icons ul li.result.selected {
	
	background: #f8c4c3;
	color: #333;
	
}

#icons ul li {
    background: #323433;
    width: 120px;
    text-align: center;
    padding: 10px 10px 15px 10px;
    height: 80px;
    margin-right: 8px;
    margin-bottom: 10px;
    margin-left: 0;
    margin-top: 0;
    font-size: 18px;
}

#icons ul {
    width: 1060px;;
    margin-left: auto;
    margin-right: auto;
    display: block;
}


#icons ul li img {
    width: 60px;
}

#icons ul li span {
    display: block;
    color: #FFF;
}

div#icons {
    width: 1370px;
    position: absolute;
    left: 540px;
    padding: 0px;
    bottom: 5px;
}

span.butiksnummer img {
    width: 25px;
	    opacity: 0.3;
}

.hidden {
	
	display: none!important;
}

div#controls {
	display:none;	
}

#explain .alert {
    font-size: 22px;
    color: #FFF;
	background: #323433;
	padding: 10px;
	margin-top: 10px;
}


#storeTooltip
{
    position: fixed;
    left: 0;
    top: 0;
    transform: translate(12px, 12px);
    pointer-events: none;
    z-index: 999999;
    display: none;

    background: rgba(20, 20, 20, 0.92);
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font: 13px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    white-space: nowrap;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

#explain img {
    height: 32px;
    width: auto;
}

p {
    margin: 0;
    padding: 0;
}

div#welcome {
    position: absolute;
    left: 530px;
    right: 0;
    text-align: center;
    top: 0;
    z-index: 9999;
    /* font-size: 80px; */
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    /*backdrop-filter: blur(5px);*/
}

.youarehere {
	
	color: #EEE;
}

div#welcome {
    position: absolute;
    left: 530px;
    right: 0;
    text-align: center;
    top: 0;
    z-index: 9999;
    /* font-size: 80px; */
}

div#extra {
    position: relative;
    float: left;
    margin-top: 600px;
    margin-left: -795px;
    width: 450px;
    font-size: 17px;
}
div#extra div {
	padding: 10px;
    background: #EEE;
}

div#welcome h1 {
    font-size: 80px;
    margin-top: 450px;
}
#myMaps {
	/*visibility: hidden;	*/
}


h1, h2, h3, h4, h5 {
	margin: 0;
	padding: 0;	
	font-weight: normal;
}

h1 {
    font-size: 44px;
}

h2 {
	font-size: 34px;	
}

h3 {
	font-size: 28px;	
}
h4 {
	font-size: 22px;	
}
h5 {
	font-size: 18px;	
}

.box {
    border: solid 1px #d6d6d6;
    padding: 5px;
    display: block;
    text-align: center;
    margin: 5px 0px 5px 0px;
}

.box h3 {
	font-size: 20px;
}

span.butiksnummer {
    float: right;
    color: #989898;
    font-weight: bold;
}




/**
SCROLLBAR
*/
::-webkit-scrollbar {
    width: 25px;
    background: #FFF;
}
 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 0;
}
 
::-webkit-scrollbar-thumb {
    border-radius: 0;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
	 background: #bd0e13;
}



ul, li {
	list-style-type: none;
	display: inline-block;
}

ul {
    padding: 0;
    margin: 0;
}

div#left {
    float: right;
    width: 520px;
    height: 980px;
    z-index: 9999999;
    position: relative;
}

ul#kategorier {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    padding: 0;
    margin: 0;
    margin-top: 3px;
}

div#scroll {
    overflow: auto;
    margin-top: 3px;
    height: 765px;
}
li.kategori {
    padding: 10px;
    background: #9c9c9c;
    color: #FFF;
    text-transform: uppercase;

}

ul#kategorier li {
    font-weight: bold;
}

.butikHighlight {
	
	display: block!important;
	
}

div#explain {
    position: relative;
    float: left;
    margin-top: 480px;
    margin-left: -795px;
    display: none;
}


li.result {
    display: block;
    padding: 10px;
    width: calc(100% - 20px);
    background: #d5d5d5;
    margin-bottom: 3px;
}

li.selected {
    background: #bd0d13;
    color: #FFF;
}



.logo {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 20px;
}

svg {
    height: 1090px;
}

#myMaps {
    height: 1080px;
    width: 1388px;
    position: absolute;
    left: 10px;
    top: 0px;
}

div#storeinfo {
    width: 450px;
    font-size: 14px;
    font-weight: 300;
    position: absolute;
    padding: 20px;
    background: rgba(255, 255, 255, 0.84);
    right: 20px;
    z-index: 999999;
    /*backdrop-filter: blur(5px);*/
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.19);
    border-radius: 5px;
}

div#storeinfo img {
	max-width:100%;
}


#controls {
    background-color: lightGrey;
    height: 50px;
    width: 30%;
    z-index: -1;
    position: absolute;
    bottom: 0;
    /* display: none; */
    right: 0;
	    z-index: 999999999;
}

g.startPin path {
    fill: #bd0e13 !important;
    stroke: #cac3c3 !important;
}

g.startPin circle {
    fill: #FFF;
}

/*
div#mapLoading {
	font-size: 10em;
	left: 50px;
	position: absolute;
	top: 60px;
	z-index: -1;
}
*/
.debugPath {
	stroke: orange;
	stroke-width: 5;
}

.debugRoom {
	fill: red;
	stroke: red;
	stroke-width: 4;
}

.wayfindingRoom {
	fill: #ffc;
	stroke: blue;
	stroke-width: 2;
	stroke-dasharray: 5 3;
}

g.startPin path {
	fill: cyan;
}

g.destinationPin path {
	/*fill: green;*/
}

path.directionPath0, path.directionPath1, path.directionPath2, path.directionPath3, path.directionPath4, path.directionPath5, path.directionPath6 {
	stroke-linecap: round;
}

#W1, #W2, #W3, #W4, #W5, #W6 {
	
	display: block;
	
}

ul#result {
    width: 100%;
}

li.kategori:last-child {
   /* margin-left: 2px;*/
}

li.result.kat9999 {
    display:  none;
}
ul#result svg {
    height: 28px;
    margin-top: -6px;
    margin-right: -6px;
}


g.butikHighLight > * {
    fill: #FFF;
}

g.butikHighLight path:nth-child(1) {
    fill: #dc2e7d!important;
}

g.butikHighLight path:nth-child(2) {
    fill: none;
}



/*
body.rotated #floor1, 
body.rotated #floor2 {
    transform: rotateX(180deg);
}

body.rotated #floor2 svg g#Logos_and_symbols g,
body.rotated #floor1 svg g#Logos_and_symbols g,
body.rotated #floor1 svg g#Numbers g
 {
    transform: rotateX(180deg);
    transform-box: fill-box;
    transform-origin: center;
}

*/

/*
body.rotated #myMaps {
    perspective: 750px;
    perspective-origin: center;
    z-index: 0;
}

body.rotated #floor1 {
    transform-style: preserve-3d;
    transform: rotateX(180deg) rotateX(55deg);
    transform-origin: center;
}

body.rotated #floor2 {
    transform-style: preserve-3d;
    transform: rotateX(180deg) rotateX(45deg);
    transform-origin: center;
}

body.rotated #floor2 svg g#Logos_and_symbols g,
body.rotated #floor1 svg g#Logos_and_symbols g,
body.rotated #floor1 svg g#Numbers g
 {
    transform: rotateX(180deg);
    transform-box: fill-box;
    transform-origin: center;
}
    */


div#myMaps > div {
    transform-origin: center center;
    transform: perspective(1000px) rotateX(35deg);
}


body.rotated div#myMaps > div {
    transform: perspective(1000px) rotateX(35deg) rotateY(180deg) rotateX(180deg);
}

/* SVG-fix */
#floor1 svg g#Logos_and_symbols g, #floor2 svg g#Logos_and_symbols g, #floor1 svg g#Numbers g, #floor2 svg g#Numbers g
{
    transform-box: fill-box;
    transform-origin: center;
}


body.rotated div#floor2.showing {
    top: 130px;
    height: 570px;
    left: -10px;
}

body.rotated #floor1 svg g#Logos_and_symbols g, body.rotated #floor2 svg g#Logos_and_symbols g, body.rotated #floor1 svg g#Numbers g, body.rotated #floor2 svg g#Numbers g
{
    transform: rotateY(180deg) rotateX(180deg);

}



.zoom-out svg {
    height: unset;
    width: 32px;
}

#explain .zoom-out span {
    display: inline-block
}


button.zoom-out {
    display: flex;
    align-items: center;
    padding: 5px 15px;
    font-size: .6em;
    cursor: pointer;
    gap: 10px;
    font-weight: bold;
    color: #FFF;
    background: #9c9c9c;
    border: solid 1px #52515142;
    border-radius: 3px;
    text-shadow: 1px 1px 4px #00000036;
    margin-top: 10px;
}

button.zoom-out:hover {
    background: #bd0e13;
}