@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');
}	

* {margin:0;padding:0}

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

a {color:lightblue;text-decoration:none}

.content {
	line-height:22px;
	font-family:opensans;
	font-size:22px;
	line-height:30px;
	margin-bottom:500px;
	font-size:18px;
	color:#fff;
	background-color:rgba(0,0,0,0.2);
	padding:25px;
}


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

h1 {
	text-shadow: 4px 4px #000;
	font-family: klavikab;
	letter-spacing: -1px;
	padding: 0 0 20px 0;
	font-size:35px;
	color:#fff;
	opacity: 0.9;
}

h2 {
	text-shadow: 4px 4px #000;
	font-family: klavikab;
	letter-spacing: -1px;
	padding: 0 0 15px 0;
	font-size:25px;
	color:#fff;
	opacity: 0.9;
}


/*-- article --*/
article {clear:both; padding-top: 110px;}

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

/**/

.grow { margin-right:20px; float:left;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);}
	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; z-index: 100;padding:15px}
	header nav ul {margin: 0; padding: 0; position:relative; float:right; right: -200px; text-align:center; list-style:none;}
	header nav ul li {display: block; float:left; position:relative; right:50%;}
	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:#3c4c99}
	
	ul.sub {display:none}
	
	header nav ul li:hover > ul.sub {
	display:block;
	list-style-type:none;
	position: absolute;
	top: 37px; left: 42px;
	}

	header nav ul li:hover > ul.sub > li:hover ul.sub {
	display:block;
	list-style-type:none;
	position: absolute;
	top: 0; left: 271px;
	}
	
	header nav ul li:hover ul.sub li {
	width: 180px;
	background-color:rgba(0,0,0,0.7);
	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;
	}
}

