/* CSS Document */

@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,700italic,700,300);

body { color: #555; font-family: "Open Sans", sans-serif; font-size: 16px; font-weight: 300; margin: 0; padding: 0; }

#page {
	/* [disabled]max-width: 1200px; */
	margin: 0 auto;
	position: relative;
}

/* Text */

h1 { margin: 0 0 1em 0; font-size: 2.8em; font-weight: 700; }
h2 {
	margin: 0  0 .5em 0;
	font-size: 5em;
	font-weight: 300;
	line-height: 1.1em;
	font-family: 'Source Sans Pro', sans-serif;
	color: rgba(121,19,26,1);
}
h3 { margin: 0 0 .5em 0; font-size: 1.6em; font-weight: 500; color: #000; }
h4 { margin: 0 0 1.5em 0; font-weight: 500; }

p { margin: 0 0 1em 0; }

a {
	color: rgba(121,19,26,1);
}
a:visited {
	/* [disabled]color: #65b1ff; */
}

a.btn { font-size: 1.2em; text-decoration: none; color: #fff; border: 1px solid #fff; padding: 4px 15px; transition: background-color .5s; }
a.btn:hover { background-color: rgba(0,0,0,.3); }

/* Header */
header {
	height: 600px;
	/* [disabled]background: #cf0004 url(../images/banner_1200.jpg) no-repeat center bottom; */
    margin 0;		
    position: relative;
}
header a.logo {
	position: absolute;
	display: block;
	width: 160px;
	height: 66px;
	background-size: contain;
	z-index: 1;
	top: 15px;
	left: 20px;
	background-image: url(../images/logo.png);
	background-repeat: no-repeat;
	background-position: 0 0;
}
header .logo span {
	font-family: 'Source Sans Pro', sans-serif;
	padding-left: 150px;
	display: block;
	width: 15em;
	font-size: 36px;
	color: rgba(255,255,255,1);
	text-decoration: none;
}
header div.hero {
	width: 52%;
	position: absolute;
	top: 120px;
	left: 20%;
}
header div.hero h1 {
	line-height: 1em;
	margin: 0 0 30px 0;
	color: #fff;
	font-weight: 300;
	line-height: 1.1em;
	font-family: 'Source Sans Pro', sans-serif;
}

/* Navigation */
nav { background-color: rgba(0,0,0,.65); position: relative; padding: 50px 0px 0px 0px;}
nav a:visited { color: #fff; }

nav ul { list-style: none; margin: 0px; padding: 0px; }
nav ul::after { content: ""; display: block; clear: both; }

nav .mobile_menu {
	width: 32px;
	height: 32px;
	background-size: contain;
	position: absolute;
	top: 22px;
	left: 90%;
	margin-left: -16px;
	background-image: url(../images/icon_menu.svg);
	background-repeat: no-repeat;
	background-position: 0 0;
	display: none;
}

nav ul li:hover { background-color: #2b0306; }
nav ul li:hover > ul { display: block; }

nav ul li a { display: inline-block; color: #fff; padding: 10px 20px; text-decoration: none; width: 125px; position: relative; }
nav ul li a:hover { background-color: #79131a; }

nav ul ul { display: none; position: absolute; top: 100%; background-color: #2b0306; }
nav ul ul li { position: relative; }
nav ul ul ul { left: 100%; top: 0; }


/* top level */
nav > ul { padding-left: 800px; }
nav > ul > li { float: left; }
nav > ul > li > a { padding: 10px 20px 15px 20px; width: auto; }

/*nav a[aria-haspopup="true"]::after {
	content:'';
	display: block;
	width: 0;
	height: 0;
	position: absolute;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid #fff;
	right: 15px;
	top: 16px;
}
nav > ul > li > a[aria-haspopup="true"]::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #fff;
	left: 20px;
	bottom: 6px;
	right: auto;
	top: auto;
}
nav > ul > li > a[aria-haspopup="true"]::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #fff;
	left: 20px;
	bottom: 6px;
	right: auto;
	top: auto;
}
*/


/* Media Queries */

/* Pozicioniranje navigacije */
@media screen and (max-width: 1220px){
	nav {
    padding: 50px 0px 0px 0px; 
}
/* Navigation */
nav > ul {
    padding-left: 600px;
}
	}
@media screen and (max-width: 1010px) { 
	h1 { font-size: 2.4em; }
    /* Pozicioniranje navigacije */

	/* Header */
	header div.hero {
	/* [disabled]left: 56%; */
}
	header div.hero h1 { margin-bottom: 20px; }
	/* Navigation */
nav > ul {
    padding-left: 450px;
}

}


@media screen and (max-width: 859px){

h1 { font-size: 2.2em; }

/* Header */
header {
	height: 300px;
}
header a.logo {
	background-image: none;	
	}
header .logo span {
	font-size: 24px;
	padding-left:1px;
	}


	header div.hero { top: 30px; left: 20%; }
	/* Navigation */
	nav { padding-top: 80px; }
    nav > ul {
	padding-left: 350px;
}

}


@media screen and (max-width: 810px) {

	h1 { font-size: 1.8em; }
	h2 { font-size: 1.4em; }
	h3 { font-size: 1.1em; }
	a.btn { font-size: 1em; }
	
	/* Header */
	header a.logo { width: 145px; height: 60px; }
	header div.hero { top: 30px; left: 18%; }
	header .hero img {right: 5%;}
	
	 nav > ul {
	padding-left: 250px;
}
	
}


@media screen and (max-width: 680px) {
	
	
	h1 { font-size: 1em; }
	h3 { margin-bottom: 0; }
	a.btn { font-size: .9em; }

	header {
	height: auto;
	min-height:160px;
	background-position: left top;
}

	header a.logo {
		width: 125px; height: 52px;
		left: 10px; top: 10px;
	}
	header .logo span {width: 10em;}
	header div.hero { width: 300px; top: 15px; left: 130px; }

	header div.hero h1 { margin-bottom: 10px; }

	nav {
		padding: 50px 15px 20px 15px;
		background-color: #4b0a0c;
		height: 0px;
		overflow: hidden;
	}
	nav .mobile_menu {display: block;}
	nav ul, nav ul ul, nav ul ul ul { display: block; position: static; }
	nav > ul { padding: 0px; }
	nav > ul > li { float: none; margin-top: 25px; }
	nav ul li:hover { background: none; }
	
	nav ul li a {
		display: block;
		margin: 6px 15px 6px 2px;
		padding: 8px 15px;
		border-bottom: 1px solid rgba(255,255,255,.25);
		border-radius: 6px; width: auto;
	}
	nav ul li a:hover { background-color: rgba(255,255,255,.2); }
	
	nav ul ul { background: none; }	
	nav ul ul li a { margin-left: 30px; }
	nav ul ul ul li a { margin-left: 60px; }
	nav a[aria-haspopup="true"]::after { display: none; }
	
	
}

@media screen and (max-width: 425px) {

header {
	min-height: 125px;
	/* [disabled]background-image: url(../images/banner_425.jpg); */
	background-position: left bottom;
	}
	header a.logo {
	width: 126px;
	height: 26px;
	background-image: none;
	top: 15px;
}

	header div.hero {
		width: 100%;
		left: 0;
		top: 58px;
		text-align: center;
	}
	
	header div.hero h1 {
		font-size: 1em;
		margin-bottom: 10px;
	}
	
	header div.hero a.btn {
		padding: 2px 30px;
		font-size: .8em;
	}
	
	header div.hero a.btn span { display: none; }
}
/*-----------Nav--------------*/
nav {padding-top: 30px;}
nav .mobile_menu {
	left:auto;
	right: 40px;
	top: 8px;
	margin-left: 0px;
	}
/*-----------Footer--------------*/

footer div.content {
	display: block;
	padding-top: 15px;
	padding-bottom: 15px;
	text-align: center;
	color: rgba(255,255,255,1);
	}
footer div.content a {
	margin: 0 20px 0 0;
	}