@charset "utf-8";
/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
  /*position: sticky;
  top: 0;
  z-index: 9999;
  min-height: 48px;
  height:auto; */
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 16px;
}

/* Add an active class to highlight the current page */
.activenav {
  background-color: #BBF;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 6px 8px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 1280px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 1280px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
  .tohide { display: none; }
}

label {
	display:inline-block;
}

/* OLD SLYLE */ 
/* Omdefinerade taggar */
body {
	font-family: Arial;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000;
	background-color:#777;
	background-position: center center;
	background-repeat: no-repeat;
	background-image: url("/bilder/metall.jpg");
	background-attachment: fixed;
	background-size:100%;
}
/*a:link {
	text-decoration: none;
	color: #00F;
	border-bottom: 0px;
}
a:visited {
	text-decoration: none;
	color:#06F;
	border-bottom: 1px dotted;
}
a:hover {
	text-decoration: none;
	color: #FF8000;
	border-bottom: 1px dotted;
	font-style: italic;
}
a:active {
	color: #00F;
	text-decoration: none;
	border-bottom: 1px dotted;
} */
a img { 
	border: none;
}
img {
	max-width: 100%;
	height: auto;
}
table {
	font-size: 14px;
	text-align: left;
	vertical-align: text-top;
}
th {
	background-color: #BBF;
}
h1 {
	font-family: "Monotype Corsiva", cursive;
	font-weight: normal;
}
h2 {
	font-style: normal;
}
h3 {
	font-style: normal;
}
h4 {
	font-style: normal;
	font-family: Calibri, Verdana, sans-serif
}
p {
	font-size: 14px;
}
/* Class */
.green {
	color: #090;
}
.red {
	color: #F00;
}
.message {
	background-color:#FF9;
	padding:0px;
}
.bordercolapse {
	border-collapse:collapse;
}
#container { 
	max-width: 1400px;  /* using 24px less than a full 1024px width allows for browser chrome and avoids a horizontal scroll bar */
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 2px solid #000;
	text-align: left; /* this overrides the text-align: center on the body element. */
	background-position: center center;
	background-repeat: no-repeat;
	background-image: url("/bilder/akkats_back.jpg");
	background-attachment: fixed;
	background-color:#FFF;
	border-bottom-left-radius: 10px;
	border-top-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border-top-right-radius: 10px;
} 
#header {
	padding: 0 10px 0 20px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	background-color: #BBF;
	background-repeat: no-repeat;
	background-position: right;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
} 
#header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

#mainContent {
	/* Margin är området utanför ramen, padding innanför ramen */
	margin-top: 5px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0; /* Ej mindre än bredden på sidabar */
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
	min-height:700px;
	height:auto !important;
	height:700px; 
} 
#footer { 
	padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#BBF; 
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
} 
#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    font-size: 12px;
}


/* ID */
/* Big box with list of options */
#ajax_listOfOptions {
	position:absolute;	/* Never change this one */
	width:200px;	/* Width of box */
	height:250px;	/* Height of box */
	overflow:auto;	/* Scrolling features */
	border:1px solid #BBF;
	background-color:#FFF;
	text-align:left;
	font-size:0.9em;
	z-index:100;
}
#ajax_listOfOptions div {	/* General rule for both .optionDiv and .optionDivSelected */
	margin:1px;		
	padding:1px;
	cursor:pointer;
	font-size:0.9em;
}

#ajax_listOfOptions .optionDivSelected { /* Selected item in the list */
	background-color:#BBF;
	color:#000;
}
#ajax_listOfOptions_iframe {
	background-color:#F00;
	position:absolute;
	z-index:5;
}
/* Bakgrund för mörkning  */
#blanket { 
	background-color:#000;
	opacity: 0.75;
	filter:alpha(opacity=65);
	position:fixed; /*absolute;*/
	z-index: 9001;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
}

/* Bildspel */
#slideshow {
	text-align:center;
    position:relative;
    height:290px;
}
#slideshow SPAN {
	top:0;
	left:0;
    position:absolute;
	display:none;
}
#slideshow SPAN.active {
	display:block;
	z-index:10;
}
#slideshow SPAN.last-active {
	display:block;
	z-index:9;
}
#fullbanner { 
	position:absolute;
	z-index: 9002;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
}

/* Datorer */
#mapdiv {
    width: 100%;
    max-width: 1000px;
    height: 750px;
}

/* Surfplattor */
@media (max-width: 768px) {
    #mapdiv {
        height: 500px;
    }
}

/* Mobiltelefoner */
@media (max-width: 480px) {
    #mapdiv {
        height: 350px;
    }
}