﻿	/*Tilretninger B.Dalgaard 2023*/
html, body{
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
	font-size: 100%;
	height: 100%;
}
#back-to-top {
	display: inline-block;
	padding-left: 0;
	margin: 20px 0;
	border-radius: 4px;
	position: fixed;
    bottom: 1.5em;
    right: 1.5em;
    text-decoration: none;
    font-size: 1.0rem;
    padding: 1em;
    display: none;
    opacity: .8; 
}
#back-to-top:hover {
    opacity: .8;  
}
#spinner {
	display: none;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
}
figure.zoom {
  & img:hover {
    opacity: 0;
  }
  img {
    transition: opacity .5s;
    display: block;
/*    width: 100%;*/
  }
  background-position: 50% 50%;
  position: relative;

  overflow: hidden;
  cursor: zoom-in;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.image-container {
	position: relative;
	display: inline-block;
}
.timestamp {
	position: absolute;
	top: 0;
	right: 25px;
	margin: 10px; /* Adjust the margin as needed */
	z-index: 1;
	font-size: 1rem; /* Adjust the font size as needed */
	color: white; /* Adjust the text color as needed */
}
.play-icon {
	position: absolute;
	top: 0;
	right: 10px;
	margin-top: 10px; /* Adjust the margin as needed */
	z-index: 2;
	font-size: 1rem; /* Adjust the font size as needed */
}
.bi {
	font-size: 1.0rem;
}
.container {
	margin-top: 3.2rem;
}
.navbar-nav .nav-link {
	padding-top: 0.0rem;
}
.nav-item {
	background-color: var(--bs-body-bg);
}
.scrollable-dropdown {
    max-height: 600px; /* Set the maximum height for the dropdown */
    overflow-y: auto;   /* Enable vertical scrolling */
    overflow-x: hidden; /* Disable horizontal scrolling */
}
.fixed-top-div {
	position: fixed;
	top: 0;
	width: 100%;
	padding: 15px;
	z-index: 3000; /* Make sure it's above other elements */
}
.scrollable-content {
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
}
.galleri {
	width: 100%;
	padding-top: 40px;
	padding-left: 15px;
	padding-right: 15px;
}
.persimg {
  border-radius: 50%;
  height: 100px;
  width: 100px;
  margin: 50px 0px 0px 50px;
}
@media (hover: hover) {
	.bi {
		font-size:1.0rem;
	}
}
@media (hover: none) {
	.bi {
		font-size:1.5rem;
	}
	.body {font-size: 1.5rem;}
}

@media all and (min-width: 992px) {
	.dropdown-menu li{position: relative;}
	.dropdown-menu .submenu{ 
		display: none;
		position: absolute;
		left:100%; top:-7px;
	}
	.dropdown-menu .submenu-left{right:100%; left:auto;}
	.dropdown-menu > li:hover > .submenu{
		display: block;
	}
	.forside {width:1600px;height:749px;}
}	
@media (max-width: 991px) {
.dropdown-menu .dropdown-menu{margin-left:0.7rem; margin-right:0.7rem; margin-bottom: .5rem;}
}
@media (max-width: 375px) {
	.container {margin-top: 3.5rem;}
	.dropdown-menu .dropdown-menu{margin-left:0.7rem; margin-right:0.7rem; margin-bottom: .5rem;}
	.forside {width:375px;}
	.gMap {
		 width: 100%;
		 height: 475px;
		 margin-top: 40px;
	}
	.grafikkompas {
		width:370px;
	}
	.grafikdrop {
		width:370px;
	}
}
@media screen and (min-width: 1400px) {
	.mapDialog {
		margin-right: 0 !important;
		margin-top: 0 !important;
	}
	.gMap {
		 width: 770px;
		 height: 600px;
	}
	.grafikkompas {
		width:600px;
	}
	.grafikdrop {
		height:600px;
		width:auto;
	}
}