  html {
      -webkit-font-smoothing: antialiased;
      font-family:Arial,sans-serif;
      margin:0;
      padding: 0;
      font-size:1em;
      font-family: "Helvetica Neue", Arial, freesans, sans-serif;
    }

    body {
       margin: 0;
       padding: 0;
    }

    .wrap {
       overflow: hidden;
       margin: 0.4em;
       position: relative;
    }
  
    @media (max-width : 540px) {
       #imagethumbswrapper #thumb {
          width:50% !important;;
       }

    }
    @media (max-width : 799px) and (min-width : 541px) {

        #imagethumbswrapper #thumb {
          width:33% !important;;
       }
    }
    @media (max-width : 1050px) and (min-width : 800px) {

        #imagethumbswrapper #thumb {
          width:25% !important;;
       }
    }
    @media (min-width : 1051px) and (max-width: 1279px) {

      #imagethumbswrapper #thumb {
          width:20% !important;
       }
    }

    @media (min-width : 1280px) {

       #imagethumbswrapper #thumb {
          width:20% !important;

       }

    }

    h2 {
  font-weight:normal;
  font-family: "Helvetica Neue", Arial, freesans, sans-serif;
  font-size: 19px;
  margin:0;
  padding:10px 10px 10px 20px;
 }

 .lazy {


background-color:#fff;
background-image:url("http://jquerystyle.com/-/img/ajaxLoader.gif");
background-repeat:no-repeat;
background-position:center center;

}


#kilde {
  font-family: "Helvetica Neue", Arial, freesans, sans-serif;
  font-size: 10px;
  text-transform:uppercase;
  padding: 0.5em;
  display:table;
  width:100%;
}

 #imagethumbswrapper #thumb .titleBox {
   position: absolute;
   bottom: 0;
   font-size: 0.8em;
   background: #000;
   background: rgba(0, 0, 0, 0.8);
   color: #FFF;
   padding: 0.2em;
   border: 1px solid black;
   text-align: center;
   -webkit-transition: all 0.1s ease-out;
   -moz-transition: all 0.1s ease-out;
   -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
    width: 99%;
  }

    body.no-touch #thumb:hover .titleBox, body.touch #thumb.touchFocus .titleBox {
       margin-bottom: -20px;

    }

    #thumbnailgallery{
      border-top: 2px solid #3377cc;
      background: #ededed;
      margin: 0 0 0px;
      padding: 0;
      position: relative;

    }

    #imagethumbswrapper {
       /*overflow: hidden;*/
    margin: 0.0em;
    position: relative;

    }

    #imagethumbswrapper #thumb {
       float: left; 
       position: relative;
       width: 33%;
       cursor:pointer;
       overflow: hidden;
      
    }

    #thumbnailgallery #thumbcontent {
      display:none;
      background: #ededed;
      width:100%;
      float: left;
      font-family: "Helvetica Neue", Arial, freesans, sans-serif;

    } 

    #thumbnailgallery #thumbcontent #alder {

      margin: 0.4em;
    } 

    #thumbnailgallery #thumbcontent #sted {

      margin: 0.4em;
    } 


    #imagethumbswrapper #thumb:hover .titlebox, #imagethumbswrapper .titlebox{

        margin-bottom:0;
     }

    #imagethumbswrapper #thumbinner {

     overflow: hidden;
     margin:0.2em;
     border: 1px solid black;
    }

    #imagethumbswrapper #thumb img {

   -webkit-transition: all 0.1s linear;
   -moz-transition: all 0.1s linear;
   -o-transition: all 0.1s linear;
   -ms-transition: all 0.1s linear;
   transition: all 0.1s linear;
   overflow: hidden;
   width: 100%;
    }

#imagethumbswrapper #thumb img:hover {

-webkit-transform: scale(1.1,1.1);
-moz-transform: scale(1.1,1.1);
-o-transform: scale(1.1,1.1);
-ms-transform: scale(1.1,1.1);
transform: scale(1.1,1.1);
opacity: .9;
-o-transition-duration: 0.1s;
-moz-transition-duration: 0.1s;
-webkit-transition: -webkit-transform 0.1s;
}

#imagethumbswrapper #thumb .titleBox {
    text-align: center;
    margin:0.1em;

}


#imagethumbswrapper #thumb .titleBox .title {
    color: #fff;
    font-size: 15px;
    font-weight: normal;
    text-align: center;

}

#thumbnailgallery #piltilbake {

  cursor:pointer;
  position: absolute;
  top: 0;
  width: 20%;
}

#thumbnailgallery #piltilbake #pil {

}


#thumbnailgallery #piltilbake #piltekst {
margin-left:1em;
text-align: center;
}

#thumbnailgallery #piltilbake img {

width: 100%;
  
}

