* {box-sizing: border-box; position: relative}

html, body {min-height: 100vh}

body{
	background: white;
	color:#cacaca;
	font-weight:400;
	font-size:16px;
	font-family: 'Open sans', sans-serif;
	margin: 0 auto;
	padding: 0;
	padding-bottom: 40px;
}

body > header {
	background-color: #215e85;
	background-image: url(../img/naslovna.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	display: flex;
	justify-content: center;
}

a{
	text-decoration: none;
	color: #909090;
	cursor: pointer;
	
	-webkit-transition: color 0.1s linear 0s;	
	   -moz-transition: color 0.1s linear 0s;
		 -o-transition: color 0.1s linear 0s;
		    transition: color 0.1s linear 0s;
}

a:hover,
a:active,
a:focus{
	color: black;
	outline: 0;
	text-decoration:none;
}

a img {
	border: none;
}

p {
	margin-top: 0;
}

p:last-child {
	margin-bottom: 0;
}

h1 {
	font-size: 48px; 
	text-transform: uppercase;
}

h2 {
	font-size: 36px;
	text-transform: uppercase;
	padding: 0 0 20px 0;
	margin: 0;
}

#sticky-nav {
	width: 100%;
	max-width: 1200px;
	padding: 0 80px 80px 80px;
}

#top-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

#top-nav > div {
	flex-grow: 1;
	width: 1px;
}

#logo {
	background: white;
	opacity: 80%;
}

#logo a {
	display: block;
	width: 100%;
	padding-top: 100%;
}

#logo img {
	position: absolute;
	width: 80%;
	bottom: 10%;
	left: 10%;
}

.slogan {
	color: white;
	font-size: 60px;
	text-align: center;
	text-transform: uppercase;
	padding: 180px 0 150px 0;
}

#menu-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 0;
	margin-bottom: 20px;
}

#menu-nav li {
	background-color: #eb6c39;
	text-transform: uppercase;
	list-style-type: none;
	display: block;
	flex-grow: 1;
	width: 1px;
}

#menu-nav span {
	position: absolute;
	bottom: 0;
	display: block;
	text-align: center;
	width: 100%;
	font-size: 40px;
	padding: 20px;
}

#menu-nav a {
	color: white;
	display: block;
	width: 100%;
	padding-top: 100%;
}

#submenu {
	display: none;
}

#submenu > div {
	position: absolute;
	width: 100%;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	background-color: black;
	opacity: 0.75;
	z-index: 100;
}

#submenu ul {
	padding: 0;
	flex-grow: 1;
	width: 1px;
	margin: 20px;
}

#submenu li {
	list-style-type: none;
	padding: 5px 20px;
}

#submenu li:first-child {
	text-transform: uppercase;
	color: white;
	padding-top: 25px;
	padding-bottom: 25px;
}

#submenu li a:hover, 
#submenu li a:active, 
#submenu li a:focus {
	color: white;
}

#submenu li.action {
	margin-top: 10px;
}

.langbar {
	position: absolute;
	top: 20px;
	right: 100px;
}
.langbar a {
	color: white;
}

article {
	padding: 40px 0;
}

article .slika {
	aspect-ratio: 16/9;
}

article p {
	margin-top: 20px;
}

.content .slike {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.content .slike .img {
	width: 25%;
	padding: 20px;
}
.content .slike .img img {
	width: 100%;
}
.content div.action {
	text-align: right;
	padding: 20px 0;
}
.content .action a {
	color: white;
	margin: 0 20px;
}
#onama .content div.action {
	padding: 20px 40px;
	background: white;
}
#onama .action a {
	color: #eb6c39;
}
.page.action {
	padding: 20px;
}
a.dark {
	color: #909090 !important;
}

.page {
	display: flex;
	align-items: center;
	flex-direction: column;
}

.page > div {
	width: 100%;
	max-width: 1200px;
}

.content {
	padding: 0 80px;
}

.naslov {
	margin-top: 40px;
}

.columns {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.columns > div {
	width: 1px;
	flex-grow: 1;
}

#eu {
	padding-top: 120px;
}

#eu .columns > div {
	display: flex;
    flex-direction: column;
    align-items: center;
}

span.broj {
	font-size: 200px;
	line-height: 200px;
	font-weight: 700;
}

span.opis {
	font-size: 28px;
	color: #eb6c39;
	text-transform: uppercase;
	text-align: center;
	padding: 0 20px;
}

#eu .action {
	position: absolute;
	bottom: 40px;
	z-index: 10;
}

#eu .reference {
	display: flex;
	justify-content: flex-end;
	gap: 20px;
	padding: 20px 40px;
}

.page .naslov h1,
.page .naslov h2 {
	text-transform: uppercase;
	padding: 0 40px 20px 40px;
	margin: 0;
}

.page .naslov h1 {
	color: #eb6c39;
}

.pozadina {
	max-width: 100% !important;
	position: absolute;
	top: 0;
}

.list {
	padding: 40px;
}

#onama .pozadina {
	background-color: #eb6c39;
	color: white;
	height: 500px;
}

#kontakt .pozadina {
	background-color: white;
	height: 108px;
}

#kontakt .error {
	background-color: #f8d7da;
}

#kontakt .error-box {
	display: none;
	margin: 10px 0;
	padding: 10px;
	background-color: red;
	color: white;
}

#kontakt .success-box {
	display: none;
	margin: 10px 0;
	padding: 10px;
	background-color: green;
	color: white;
}

#onama .naslov h1 {
	color: white;
}

#onama .list {
	background-color: white;
}

#kontakt {
	background-color: #eb6c39;
	color: white;
}

#kontakt a {
	color: inherit;
}

#kontakt .list {
	padding-top: 20px; 
}

#kontakt .columns > div {
	margin-top: 40px;
}

label {
	display: block;
}

label:not(:first-child) {
	margin-top: 10px;
}

input:not([type="checkbox"]), textarea {
	width: 100%;
	background-color: #cacaca;
	color: black;
	border: 0;
	padding: 10px 5px;
	font-size: 16px;
}
.input-group {
	display: inline-block;
	margin-right: 20px;
}

textarea {
	min-height: 80px;
}

button {
	border: 0;
	color: white;
	background-color: transparent;
	padding: 0;
	cursor: pointer;
	font-size: 16px;
}

.buttons {
	text-align: right;
}

footer {
	width: 100%;
	background-color: #2d2d2d;
	padding: 10px;
	position: absolute;
	bottom: 0;
}

footer p {
	margin: 0;
	text-align: center;
}

#back-to-top {
	display: none;
	position: fixed;
	bottom: 0;
	right: 0;
	width: 50px;
	height: 50px;
	z-index: 200;
	font-size: 48px;
	color: white;
	background-color: #3c3f45;
}

#back-to-top i {
	position: absolute;
	top: 1px; 
	left: 1px;
}

#naslov-projekta {
	background-color: #eb6c39;
}

#naslov-projekta h1 {color: white}

.page > .slika {max-width: 1200px; padding: 0 80px; aspect-ratio: 16/9}
.slika img {width: 100%}

#login-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;	
}

#login-box .header {
	font-size: 32px;
}

#login-box form {
	padding: 20px;
	width: 400px;
}

#login-box .form-group,
#login-box .footer {
	margin: 10px;
}

#login-box button {
	background-color: #eb6c39;
	padding: 10px;
	width: 100%;
}

#modal-message {position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, .5); z-index: 1000}
.modal-lg {width: 900px; max-width: 100vw}
.modal-sm {width: 300px}
.modal-dialog {margin: 30px auto}
.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
}
.modal-header {
    min-height: 16.43px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}
.modal-title {
	margin: 0;
}
.modal-body {
    position: relative;
    padding: 15px;
	max-height: calc(100vh - 60px - 52px - 68px);
	overflow-y: scroll;
}
.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}
.form-group:not(:first-child) {
	margin-top: 10px;
}

.btn {padding: 10px; margin-left: 10px}
.btn-primary {background-color: #eb6c39}
.btn-cancel, .btn-light {background-color: #cacaca}

#popup {
	position: fixed;
	z-index: 1000;
}
.progressbox {
	background-color: black;
	opacity: 0.75;
	padding: 20px;
	margin: 20px;
	width: 300px;
	color: white;
	border-radius: 5px;
}
.progressbox .progressbar {
	height: 5px;
}
.progressbox .uploaded {
	display: block;
	height: 5px;
	background-color: white;
	opacity: 1;
}

.carousel {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: absolute;
}
.slider {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	-webkit-transition: -webkit-transform 1600ms, left 1600ms, -webkit-filter 1s 1s, filter 1s 1s;
	transition: -webkit-transform 1600ms, transform 1600ms, -webkit-filter 1s 1s, filter 1s 1s;
	 
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}
.in-focus .slider {
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
}

a.photoswipe {
	display: block;
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 1200px) {
	#menu-nav span {font-size: 32px;}
}

@media screen and (max-width: 992px) {
	#menu-nav span {font-size: 20px;}
	.slogan {font-size: 48px;}
	span.broj {font-size: 150px; line-height: 150px;}
	span.opis {font-size: 24px;}
}

@media screen and (max-width: 768px) {
	.slogan {font-size: 32px;}
	span.broj {font-size: 100px; line-height: 100px;}
	span.opis {font-size: 18px;}
	#kontakt .columns {flex-wrap: wrap}
	#kontakt .columns > div {width: 100%}
	#submenu > div {flex-wrap: wrap}
	#submenu ul {width: 300px}
}

@media screen and (max-width: 576px) {
	#sticky-nav {padding: 0 20px}
	#menu-nav span {font-size: 12px; padding: 5px}
	.columns {flex-wrap: wrap}
	.columns > div {width: 100%}
	#eu {padding-top: 40px}
	#eu .columns > div {margin-bottom: 40px}
	#eu .action {position: relative; bottom: 0; text-align: center; padding-top: 20px}
	.reference img {height: 50px}
	.content {padding: 0 20px}
	.list {padding: 40px 20px}
	.page .naslov h1 {padding-left: 20px; font-size: 28px}
	.page .naslov h2 {padding: 0 20px 10px 20px; font-size: 20px}
	.page > .slika {padding: 0 40px}
	#kontakt .pozadina {height: 90px}
	input, textarea {font-size: 18px}
	#submenu ul {width: 100%}
	a.back {display: block; padding: 20px 0}
	.content .slike .img {width: 100%}
	.content .slike .img a {padding: 0 5px}
	.content .slike .img a i {font-size: 48px}
}
