@font-face {
font-family:FontAwesome;
src: url('fontawesome-webfont.ttf');
}
@font-face {
	font-family: 'klavika';
	src: url('klavikalight.otf');
}

@font-face {
	font-family: 'klavikab';
	src: url('klavikabold.otf');
}

@font-face {
	font-family: 'opensans';
	src: url('OpenSans-Light.ttf');
}	

@font-face {
	font-family: 'opensans';
	src: url('OpenSans-Light.ttf');
}	

* {margin:0;padding:0}


body {
	color:#000;
	font-family: klavika;
	background-color:#14181B;
	background-image:url(images/bg.jpg);
	background-attachment:fixed;
	background-size:100%;
	cursor:url(cur.cur),auto;
	transition: opacity 2s;
	-webkit-transition: opacity 2s; /* Safari */
	padding: 100px 80px 0 80px;
}

a {color:blue;text-decoration:none}
a:hover {text-decoration:underline}

::-webkit-scrollbar {
     width:10px;    // Vertical bar
     height:10px;   // Horizontal bar
     background:#000;
}

::-webkit-scrollbar-track-piece  {
    background-color: #3b3b3b;
}


::-webkit-scrollbar-thumb {
   width: 15px;
   background:rgba(107, 121, 185, 1);
}

.box {
	float:left;
	width:330px;
	margin-right:1px;
	font-family:opensans;
	font-size:14px;
	line-height:20px;
	color:#fff;
	background-color:rgba(0,0,0,0.2);
	padding:25px;
}


.clear {
	clear:both;
}

.scroll {
	width: 100%;
	height:400px;
	padding-right:20px;
	overflow: auto;
	text-align:left;	
}

.content {
	font-family:opensans;
	font-size:14px;
	color:#fff;
	background-color:rgba(0,0,0,0.2);
	padding:25px;
}


ul {list-style:square;margin-left:20px;}

h1 {
	text-shadow: 1px 1px #888;
	font-family: klavika;
	letter-spacing: -1px;
	padding: 0 0 20px 0;
	font-size:35px;
}

h2 {
	text-shadow: 4px 4px #000;
	font-family: klavikab;
	letter-spacing: -1px;
	padding: 10px;
	font-size:22px;
	background-color:rgba(255,0,0,0.9);
	margin-bottom:15px;
	color:#fff;
	opacity: 0.9;
}


/*-- article --*/

div.article {
	padding:20px;
	clear:both;
	background-color:#fff;
	font-size:22px;
	min-height:290px;
	text-align:center;
	overflow:auto;
}

p {padding:15px;text-align:left;}

div.article table p {padding:0}

div.article h1 {
	display:block;
	text-align:left;
}

div.article img {
	display:block;
	margin:auto;
}


.shadow {
	background-image:url(images/shadow.png);
	background-size:100%;
	background-position:top center;
	height:26px;
}

.shadow1 {
	background-image:url(images/shadow1.png);
	background-size:100%;
	background-position:bottom center;
	height:26px;
}

.nav   {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 50%;
  left: 0;
  z-index: 9999;
  opacity: 0.6;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("images/themes.gif") no-repeat left top;
  margin-top: -45px; 
  background-position: left top;
 }

.nav1   {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 50%;
  right: 0;
  z-index: 9999;
  opacity: 0.6;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("images/themes.gif") no-repeat left top;
  margin-top: -45px;
  background-position: right top;
 }





	
/*-- footer --*/
	#footer {background-color:#1E1E1E;clear:both;color:#fff;font:12px Arial;margin-top:45px;padding:15px;bottom:0;left:0;background-image:url(images/menu_bg1.jpg);}

/**/

.grow { margin:0; top:-3px; transition: all .2s ease-in-out; }
.grow:hover { transform: scale(1.1); }

span.ref {
font-weight:bold;
display:table-cell;
vertical-align: middle;
text-align:center;
width:160px;
height:160px;
background-color:rgba(255,255,255,0.8);
color:#000;
border-right:1px solid #13191F;
}

span.ref:hover {
background-color:rgba(255,255,255,1);
}

/* contact_form */

#contact_form {text-align:center;margin-top:10px;}

form#contact .forma {
	width:210px;
	border:1px solid #fff;
	background-color:#fff;
	border:2px solid #D3F7F9;
	padding:5px;
	color:#000;
	font:inherit;
	transition:border 0.3s;
	margin-top:1px;
	
}

form#contact .forma:hover {
	border:2px solid #B295C0;
}

form#contact .poruka {
	height:30px;
	transition:border 0.3s, height 0.3s;
}

form#contact .poruka:focus {
	height:80px;
}

.input {position:relative;display:block;}

.icon:before {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
/*--adjust as necessary--*/
    color: #ccc;
    font-size: 18px;
    position: absolute;
    top: 6px;
    right: 25px;
	padding-left: 7px;
	border-left-width: 1px;
	border-left-style: solid;
}

.icon-comment:before {content: "\f075"}
.icon-envelope:before {content: "\f003"}
	

.error {

	color:grey;
}

.button {
	font-weight:normal;
	font-size:12px;
	color:#000;
	background-color:#C5C5E1;
	padding:8px;
	border:none;
	border-radius:4px;
	transition:background-color 0.1s;
}

.button:hover {background-color:#27BBCD}

#contact_form #confirmation {
	color:#258BA8;
	padding:20px;
	background:#31f0fe;
	border:none;
	border-radius:4px;	
}

#contact_form #confirmation img {
	margin:0;
}	


/*-- navigation styling  --*/
    
/*-- menu --*/

header nav {background-image:url(images/menu_bg.jpg);opacity:0.9;z-index:99999}
header {font-family:'klavikab',sans-serif; font-weight:normal; font-style:normal; font-size: 14px;}
header nav {top:0;left:0; position: fixed; width: 100%; background-color: #1E1E1E; padding:15px;}
header nav ul {margin: 0; padding: 0; position:relative; float:left; left: 250px; text-align:center; list-style:none;}
header nav ul li {display: block; float:left; position:relative;}
header nav ul li a {display:block; padding: 10px 14px; color: #fff;}
header nav ul li a:hover { text-decoration:none; background-color: #7381c8; color:#fff;}
header nav ul li a:active {color: #fff; background-color: #c84a54;}

a.open {background-color:#4050a1}

ul.sub {display:none}

header nav ul li:hover > ul.sub {
display:block;
list-style-type:none;
position: absolute;
top: 37px; left: -40px;
}

header nav ul li:hover > ul.sub > li:hover ul.sub {
display:block;
list-style-type:none;
position: absolute;
top: 0; left: 181px;
}

header nav ul li:hover ul.sub li {
width: 180px;
background-color:rgba(0,0,0,0.7);
border-bottom:1px solid grey;
}
	
	div.sub {display:none}
	
	header nav ul li:hover > div.sub {
	display:block;
	width:810px;
	height:595px;
	overflow:scroll;
	position: absolute;
	top: 0; left: 181px;
	}
	
	div.sub {
		background-color:rgba(0,0,0,0.7);
	}
	
	
	header nav ul li:hover > div.sub div {
		width:200px;
		float:left;
	}
	
	div.sub div {
		width:260px;
		float:left;
	}
	

	
	header nav ul li div.sub a {
		width:170px;
		background-color:rgba(0,0,0,0.7);
		border-right:1px solid grey;
		border-bottom:1px solid grey;
	}
	
	header nav ul li div.sub a:hover {
		width:170px;
		background-color:rgba(115,129,200,0.7);
		border-right:1px solid grey;
		border-bottom:1px solid grey;
	}
	
/*-- mobile menu --*/
	.menu-toggle {display: none;width: 30px;margin: 0 auto;padding: 10px;}
	.menu-toggle img {margin-left: 0px; }
	.menu-toggle:hover {color: #fff;background-color: #731215;}
	.menu-toggle:active {color: #731215;background-color: #c84a54;}

@media (max-width:600px)	{
	header nav ul {display: none;}
	.menu-toggle {display: block;}
	ul.open {display: block; background: #c31f25; border: 4px solid #dc8e92; list-style: none outside none; 
	position: absolute;left: 50%;top: 38px; width: 180px; margin-left: -96px; padding: 0; z-index: 500;}
	ul.open li {display: block; float: none; right:0%; list-style: none; text-align: center;}
	ul.open li a {display: block;padding: 10px 10px;border: 4px solid #c31f25;}
	ul.open li a:active  {color: #731215;background-color: #d78d94;}
	section.fixed {display:none !important;}
	img {max-width:500px}
	
	header nav ul.open li:hover > ul.sub {
	display: block; width:180px; background: #c31f25; border: 4px solid #dc8e92; list-style: none outside none; 
	position: absolute;left: 50%;top: 30px; margin-left: -50px; padding: 0; z-index: 500;	
	}

	header nav ul.open li:hover > ul.sub > li:hover > ul.sub {
	display: block; width:180px; background: #c31f25; border: 4px solid #dc8e92; list-style: none outside none; 
	position: absolute;left: 50%;top: 30px; margin-left: -50px; padding: 0; z-index: 500;	
	}

	header nav ul.open li:hover ul.sub li {
	background-color:none;
	}

	header nav ul.open li:hover > ul.sub li {
	background-color:none;
	}
}

