html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-family: 'Roboto Slab', serif;
}

.fl-center {
	margin: auto;
}

section {
	padding-top: 100px;
	padding-bottom: 50px;
}

header.masthead {
  height: 100vh;
  min-height: 500px;
  background-image: url('../img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

header .banner-text {
  background-color: rgba(255, 255, 255, 0.7) !important;
  border-radius: 5px;
  display: inline;
	line-height: 2em;
}

@media (max-width: 767px) {
  header.masthead {
    background-image: url('../img/bg2.jpg');
  }
}

nav #nav-contact li {
  display: inline-block;
  padding: 0.5rem;
}

nav #nav-lang a {
	display: inline-block;
}

nav.navbar {
	background-color: black !important;
}

section#podrocjedela .card {
  background-color: #999999;
}

section#podrocjedela .card-body {
  text-align: center;

}

section#podrocjedela .card-title a {
  color: black;
  text-decoration: none;
}

section#onas {
  background: #333;
	background: linear-gradient(to right, #777, #333);
}

section#onas hr {
	margin-top: 0;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
}
section#onas .btn {
	width: 100px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
	font-size: 0.8em;
}

section#onas .card {
	min-height: 500px;
	border-radius: 1em;	
	margin: 10px 0;
}

section#onas .besedilo {
	text-align: center;
	padding: 1em;
}

section#onas .vecbesedilo {
	padding: 1em;
	display: none;
	font-size: 0.9em;
}

section#onas img {
	max-height: 100%;
	max-width: 100%;
	padding: 5%;
}

section#onas p {
	font-size: 1em !important;
}

section#onas .naslov {
	font-weight: bold;
}

section#kontakt .map {
  max-width: 100%;
  height: 400px;
}

@media (min-width: 767px) {
  #portfolio .portfolio-item {
    margin: 0 0 30px;
  }
}

.okno-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;
}

.okno-modal .modal-content {
  padding: 100px 0;
  text-align: center;
}

.okno-modal .modal-content h2 {
  font-size: 3em;
  margin-bottom: 15px;
}

.okno-modal .modal-content p {
  margin-bottom: 30px;
  text-align: left;
}

.okno-modal .modal-content p.item-intro {
  font-size: 16px;
  font-style: italic;
  margin: 20px 0 30px;
}

.okno-modal .modal-content ul {
  text-align: left;
}

.okno-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 30px;
}

.okno-modal .modal-content img {
  margin-bottom: 30px;
}

.okno-modal .modal-content button {
  background-color: black;
  border: black;
  cursor: pointer;
}

.okno-modal .close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background-color: transparent;
}

.okno-modal .close-modal:hover {
  opacity: 0.3;
}

.okno-modal .close-modal .lr {
  /* Safari and Chrome */
  z-index: 1051;
  width: 1px;
  height: 50px;
  margin-left: 35px;
  /* IE 9 */
  transform: rotate(45deg);
  background-color: #212529;
}

.okno-modal .close-modal .lr .rl {
  /* Safari and Chrome */
  z-index: 1052;
  width: 1px;
  height: 50px;
  /* IE 9 */
  transform: rotate(90deg);
  background-color: #212529;
}

footer {
	/* background-color: #343a40; */
	background-color: black;
  min-height: 100px;
  color: #777;
  font-weight: lighter;
  font-size: 0.8em;
}

footer .container {
  padding: 20px;
  text-align: center;
}

footer span {
  font-weight: bold;
}