body {
   background-color:#030a18;
   color:#8095ab; 
padding-left:5px;
font: 16px Arial, Helvetica, sans-serif;
   }
h2 {
 color:#c4dde8;
}
h1 {
color:#c4dde8;
}
   
div {
  margin:0 auto; /*postavlja element u sredinu.gornja margina je 0px*/
   width:900px;
background-color: #192229;
padding-right:10px;

border-width:1px;
border-right-style:solid;
border-left-style:solid;
}
#main a {
color:#c4dde8;
}

#main img {
   float:left;
   padding-right:15px;
   padding-left:10px;
   padding-bottom:100px;
   }


#cfnavbar{ /*ovo je pocettak koda css gumba izbornik*/
margin: 0;
padding: 0;
}

#cfnavbar ul{
background: url('slike/bgpink.gif') bottom center repeat-x;
padding-left: 0;
margin: 0;
float: left;
font: bold 80% Verdana;
}

* html #cfnavbar ul{ /*IE only rule. Add extra margin-bottom*/
margin-bottom: 1em;
}

#cfnavbar ul li{
display: inline;
}


#cfnavbar ul li a, #cfnavbar ul li span{
float: left;
color: black;
font-weight: bold;
padding: 7px 13px 8px 6px;
text-decoration: none;
background: url('slike/dividerpink.gif') bottom right no-repeat;
}

#cfnavbar ul li span{ /*Targets span tag to the right of #leftcorner below*/
padding-left: 0px;
}


#cfnavbar ul li a#leftcorner{
float: none;
padding-left: 10px;
padding-right: 0px;
background: url('slike/leftcornerpink.gif') bottom left no-repeat;
}

#cfnavbar ul li a#rightcorner{
padding-right: 10px;
background: url('slike/rightcornerpink.gif') bottom right no-repeat;
}

#cfnavbar ul li a:hover{
text-decoration: underline;
}
 

 



.bubblewrap{
list-style-type:none;
margin:0;
padding:30;
}

.bubblewrap li{
display:inline;
width: 65px;
height:60px;
}

.bubblewrap li img{
width: 55px; /* width of each image.*/
height: 60px; /* height of each image.*/
border:0;
margin-right: 12px; /*spacing between each image*/
-webkit-transition:-webkit-transform 0.1s ease-in; /*animate transform property */
-o-transition:-o-transform 0.1s ease-in; /*animate transform property in Opera */
}

.bubblewrap li img:hover{
-moz-transform:scale(1.8); /*scale up image 1.8x*/
-webkit-transform:scale(1.8);
-o-transform:scale(1.8);
}

<style type="text/css">

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.gallerycontainer{
position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: 1px solid #fff2f2;
margin: 0 5px 5px 20px;

}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid #192129;

}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute ;
background-color: #fff2f2;
padding: 5px;

  
border: 1px dashed black;
visibility: hidden;
color: #192129;
text-decoration: none;

margin-top:300px;
margin-left:25%;

}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 230px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

</style>