﻿body
{
background-color: black;
font-family: sans-serif;
}

* {
  box-sizing: border-box;
}

img {
  vertical-align: middle;
}

/* Positionera stora rutan för att kunna använda bläddringspilar */
#bakRuta {
  display: block;
  position: fixed;
  z-index: 1;
  padding-top: 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
  /* position: relative;
  width: 900px;
  background-color: rgba(0, 0, 0, 0.8);
  padding-bottom: 10px;  */
 }

 /* Storbild storlek */
#TxtoBild {
  display: none;
  width: 60%;
  margin: auto;
  background-color: black;
  color: white; 
} 
 
/* Göm de stora bilderna och sätt storlek */
.maxBild {
  position: relative;
  background-color: black;
  margin: auto;
  padding: 0;
  max-width: 100%; 
  max-height: 550px;
  text-align: center;
}

 
/* Add a pointer when hovering over the thumbnail images */
.peket {
  cursor: pointer;
}

/* Next & previous buttons 
user-select: none; */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 30px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 72px;
    -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.3);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 0 30px  30px 0 ;
}
.prev {
  left: 0;
  border-radius: 30px 0 0 30px;
}
/* Bildnr */
#txtNr {
  color: white;
  font-size: 14px;
  padding: 8px 20px;
  top: 8px;
}
#backa {
  padding: 8px 20px;
  top: 8px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover
{
  background-color: rgba(0, 250, 0, 0.2);
}

.more_info {
    /* border-bottom: 1px dotted #000; */
    position: relative;
    cursor: pointer;
}

.more_info .popup {
    position: absolute;
    top: 15px; /*must overlap parent element otherwise pop-up doesn't stay open when rolloing over '*/
    font-size:12px;
    background: darkgreen;
    border: 1px solid #354b68;
    padding: 8px;
    left: 0;
    max-width: 240px;
    min-width: 180px;
    z-index: 100;
    display: none;
}

/* Tooltip text .tooltip  */
.tt-text {
    visibility: hidden;
    display: block;
    width: 120px;
    background-color: #003300;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    font-size: 12px;
    position: relative;
    bottom: 20%;
}

.tt-tooltip:hover .tt-text {
    visibility: visible;
}


/* (transparent) ruta för den vita bildtexten */
.bildTxtRuta {
  text-align: center;
  /* background-color: #222;
  background-color: rgba(0, 0, 0, 0.8) */
  padding: 2px 16px;
  color: white;
  width: 800px;
  position:relative;
}
/* raddan av tumbilder :after*/
.radda {
  content: "";
  text-align: center;
  margin:auto;
  display: table;
  clear: both;
  height: 70px;
  overflow-x: hidden;
}

/* radbilder */
.radbild {
  float: left;
  width: 102px;
  height: 70px;
  display: inline;
}

/* kant kring radbilder */
.tumme {
 border: solid 7px transparent; 
}

.active {
border: solid 3px green;    
}

.tumme:hover {
 border: solid 3px lightgreen;
  
}

.ckg-btn,.ckg-button{
    border: 2px solid darkgreen;
    border-radius: 10px;
    display:inline-block;
    padding:12px;
    vertical-align:middle;
    overflow:hidden;
    font-size: 16px;
    font-weight:bold;
    color:white;
    background-color:rgba(0, 230, 0, 0.3);
    text-align:center;
    cursor:pointer;
    white-space:nowrap
}
