/* MEGA d.o.o. WebSite Stylesheet - Â© Trivko Kukolj - 22.7.2015.  */

/* ----------------------- MAIN ----------------------- */
body {
	margin:0px;
	font-family:'Roboto', sans-serif;
	font-size:17px;
	line-height:24px;
	background-color:#F7F7F7;
	color:#212121;
}
h1,h2,h3,h4 {
	color:#757575;
	margin:0px;
	margin-bottom:5px;
}
img {
	border:0px;
}
a {
	color:#0287C3;
	margin:0;
	padding:0;
	font-weight:bold;
	text-decoration:none;	
}
.clear {
	height:20px;
	width:100%;
	clear:both;
}

/* ----------------------- HEADER ----------------------- */
header {
	position:relative; 
	width:100%; 
	max-height:200px;
	background-color:#7a6f65; 
	overflow:hidden; 
	border-bottom:1px solid #999;
}

/* ----------------------- NAVIGATION ----------------------- */
nav {
	position:fixed; 
  width:100%;
  padding:0px;
	background-color:#555; 
	border-bottom:1px solid; 
  background-color: rgba(85, 85, 85, 0.65);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#555, endColorstr=#555);   
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#555, endColorstr=#555)";
  height:39px;
  -webkit-transition: background 0.5s linear 0s;
  -moz-transition: background 0.5s linear 0s;
  -ms-transition: background 0.5s linear 0s;
  -o-transition: background 0.5s linear 0s;
  transition: background 0.5s linear 0s;
}
nav:hover {
	background-color:#555; 
}
nav a {
	color:#fff;
	font-weight:bold;
	font-size:18px;
    padding-left:5px;
    padding-right:5px;   
}
#navleft {
	float:left;
	text-align:left;
	margin-left:5px;
}
#navright {
	float:right;
	text-align:right;
	margin-right:5px;
}
nav ul {
   list-style:none;
   margin:0;
   padding:0;
   display:inline-block;
   list-style-type:none;
}
nav li {
   float:left;
   text-align:center;
   position:relative;
   height:32px;
   padding-top:7px;
   color:#fff;
   font-weight:bold;   
}
nav li ul li {
   float:none; 
   padding:0px 5px 0px 5px;
   width:135px;
   top:9px;
   height:32px;
   padding-top:7px;
   text-align:left; 
   padding-left:5px;
   border-top:1px solid #333;
   border-left:1px solid #333;
   border-right:1px solid #333;
   background-color:#555; 
   background-color: rgba(85, 85, 85, 0.65);
   filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#555, endColorstr=#555);
   -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#555, endColorstr=#555)";
   z-index:150;   
   -webkit-transition: background 0.3s linear 0s;
   -moz-transition: background 0.3s linear 0s;
   -ms-transition: background 0.3s linear 0s;
   -o-transition: background 0.3s linear 0s;
   transition: background 0.3s linear 0s;
}
nav li ul li.last {
   border-bottom:1px solid #333;
}
nav li ul li ul {
   display:none;
}
nav li ul li ul li.last {
   border-bottom:1px solid #333;
}
nav li ul li.last-extended {
   border-bottom:1px solid #333;
   width:170px;
}
nav li ul li.extended {
   width:170px;
}
nav li ul li:hover ul {
   display:inline-block;
   top:-1px;
   left:145px;
   visibility:visible;
}
nav li ul {
   position:absolute; 
   top:30px; 
   left:0; 
   visibility:hidden;
}
nav li:hover ul {
   visibility:visible;
}
nav li ul li:hover {
   background-color:#777;
}
/* ----------------------- CONTENT ----------------------- */
#body {
	width:100%;
	margin:0 auto;
	padding:0;
}
#content-main {
  width: -webkit-calc(100% - 400px);
  width: -o-calc(100% - 400px);
  width: -moz-calc(100% - 400px);
  width: calc(100% - 400px);
  float:left;
	display:table-cell;
	padding:15px;
	padding-top:0px;
	padding-bottom:0px;
	margin:0px;
	border-right:1px solid #959595;
  position:relative;
}
#content-main img {
    border:0px; 
    border-radius:10px;
    -moz-border-radius:10px;
}

/* ----------------------- ASIDE ELEMENTS ----------------------- */
#content-sub {
  width:360px;
  float:left;
	display:table-cell;
	text-align:center;
	padding-top:0px;
	margin:0px;
}

/* ----------------------- FOOTER ----------------------- */
footer {
   border-top:1px solid #C4C4C4;
   text-align:center;
   background-color:#333333;
   background-image:url(footer.png);
   padding-top:5px;
   padding-bottom:5px;
   background-size: cover;
   height:250px;
   color:#000;
   border-top:5px solid #171717;
}
#footer {
   float:left;
   width:90%;
   margin-left:5%;
   margin-right:5%;
}
footer a {
   color:#CCC;
   font-weight:bold;
   text-decoration:none;
   border-bottom:1px dotted #CCC;
}
footer h1, h2, h3, h4, h5 {
   color:#111;
   text-decoration:none;
}
footer a {
   color:#CCC;
   font-weight:bold;
   text-decoration:none;
   border-bottom:1px dotted #CCC;
}
#sitemap {
   float:left;
   width:30%;
}
#contact {
   float:left;
   width:40%;
}
#news-feed {
   float:left;
   width:30%;
   line-height:100%;
}

/* ----------------------- NEWSLETTER ----------------------- */
#newsletter {
   border: 1px solid #666; 
   background-color: rgba(51, 51, 51, 0.75);
   padding: 8px 5px 8px 5px; 
   width:200px; 
   margin:0 auto; 
   border-radius:5px; 
   -moz-border-radius:5px; 
}
#newsletter #enter-email {
   background-color:#E0E0E0;
   height:18px;
   border: 1px solid #222; 
   -moz-border-radius:3px;
   border-radius:3px;
    
}
#newsletter #newsletter-submit {
    border:0;
    width:100px;
    height:20px;
    -moz-border-radius:5px;
    border-radius:5px;
}
div#thumbnailbox { 
  margin-top:0px;
  height:520px;
  margin-left:5px;  
  width:360px; 
  overflow:scroll;
}
div#thumbnailbox > div { 
  width:100px;
  height:70px;
  overflow:hidden; 
  margin:5px; 
  float:left; 
  cursor:pointer;
  padding: 0px;
}
div#thumbnailbox > div > img { 
  margin-bottom: -5px;
}
div#pictureframe {
  position: relative;  
  display: table;
  margin:0 auto;
  border:0px; 
  border-radius:10px;
  -moz-border-radius:10px;
}
div#pictureframe > img {     
  height:460px;
}
#magnified {
  position:fixed; 
  right:0; 
  top:0; 
  display:none;
  background-color:#999; 
  overflow:hidden; 
  border-left:1px solid #999; 
  border-bottom:1px solid #999;
  -moz-border-bottom-left-radius:10px; 
  border-bottom-left-radius:10px;
  z-index:9999;
}
#options {
  position:absolute; 
  top:40px; 
  left:0px;
  width:45px; 
  -moz-border-bottom-right-radius:10px; 
  border-bottom-right-radius:10px; 
  -moz-border-top-right-radius:10px; 
  border-top-right-radius:10px; 
  background-color:rgba(85,85,85,0.65);
}