/* reset5 2011 opensource.736cs.com MIT */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
audio,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
mark,
menu,
meter,
nav,
output,
progress,
section,
summary,
time,
video {
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  margin: 0;
  padding: 0;
}
body {
  line-height: 1;
}
article,
aside,
dialog,
figure,
footer,
header,
hgroup,
nav,
section,
blockquote {
  display: block;
}
nav ul {
  list-style: none;
}
ol {
  list-style: decimal;
}
ul {
  list-style: disc;
}
ul ul {
  list-style: circle;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none;
}
ins {
  text-decoration: underline;
}
del {
  text-decoration: line-through;
}
mark {
  background: none;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted #000;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
input[type='submit'],
input[type='button'],
button {
  margin: 0;
  padding: 0;
}
input,
select,
a img {
  vertical-align: middle;
}

sub {
  vertical-align: sub;
  font-size: smaller;
}

sup {
  vertical-align: super;
  font-size: smaller;
}

.cf:before,
.cf:after {
  content: ' '; /* 1 */
  display: table; /* 2 */
}

.cf:after {
  clear: both;
}

.cl {
  clear: both;
}

/*-- end reset css --*/
a.link {
  color: var(--color-main);
  text-decoration: underline;
}

a.link.none {
  text-decoration: none;
}

a.link:hover {
  color: #000;
  text-decoration: none;
}

.index a.link {
  color: #fff;
}

* {
  box-sizing: border-box;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

html {
  scroll-behavior: smooth;
}

:root {
  --color-main: #000;
  --color-sub: #e5d4c0;
  --font-body: 'Montserrat', sans-serif;
  --font-header: 'Libre Baskerville', serif;
}

body {
  background: #fff;
  color: #333;
  font-size: 62.5%;
  font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Tahoma, sans-serif;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1;
}

/**/

.display_none {
  display: none !important;
}

header {
  background-color: var(--color-main);
  height: 165px;
  position: relative;
}

header.index {
  background: #000;
  background-size: cover;
  height: 100vh;
}

#index_logo {
  animation: fade-inn 1.5s 1s forwards;
  aspect-ratio: 243 / 290;
  background: url(images/logo_index.jpg) no-repeat center center;
  background-size: cover;
  opacity: 0;
  position: absolute;
  width: min(343px, 70%);
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*
#bg1,
#bg2,
#bg3 {
  animation: fade-inn 1.5s 0.25s forwards;
  background: url(images/bg2.jpg) no-repeat left center;
  background-size: cover;
  height: 100%;
  min-height: 100%;
  opacity: 0;
  position: absolute;
  width: 100%;
}
*/

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-inn {
  0% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in-out {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

div.prvaLinija {
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1.3em;
  font-weight: 400;
  height: 45px;
  padding: 10px 0;
}

.index div.prvaLinija {
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#ham {
  display: none;
}

div.prvaLinija span {
  display: flex;
  line-height: 25px;
  left: calc(((100% - 1140px) / 2) + 140px);
  position: absolute;
  top: 10px;
}

div.prvaLinija span em {
  font-style: normal;
  line-height: 25px;
  padding: 0 5px 0 0;
}

div.prvaLinija span em + em {
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0 5px 0 5px;
}

div.prvaLinija span em a {
  line-height: 25px;
}

div.drugaLinija {
  height: 120px;
  margin: 0 auto;
  padding: 10px 0;
  max-width: 1140px;
  width: 90%;
}

ul.zastave {
  display: flex;
  font-size: 1.3em;
  font-weight: 400;
  list-style: none;
  position: absolute;
  right: calc((100% - 1140px) / 2);
  top: 10px;
}

ul.zastave a {
  display: flex;
  line-height: 25px;
  padding: 0 8px;
}

ul.zastave li + li {
  border-left: 1px solid #eee;
}

#headMenu {
  display: none;
}

#headSearch {
  display: none;
}

#headSearch img {
  width: 100%;
}

#headMenuContent {
  background-color: #bbb;
  bottom: 10px;
  left: 10px;
  position: fixed;
  right: 10px;
  top: 10px;
  overflow: hidden;
  transition: width 1s ease;
  width: 0;
  z-index: 4000;
}

#headSearchContent {
  background-color: #bbb;
  bottom: 10px;
  left: 10px;
  position: fixed;
  right: 10px;
  top: 10px;
  overflow: hidden;
  transition: width 1s ease;
  width: 0;
  z-index: 4000;
}

#headMenuContent.active,
#headSearchContent.active {
  width: calc(100% - 20px);
}

#headMenuContent > div,
#headSearchContent > div {
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

#headMenuContent > div ul {
  list-style: none;
}
g #headMenuContent > div li {
  line-height: 160%;
}

#headMenuContent > div ul ul {
  margin-left: 20px;
}

#headSearchContent > div {
  padding: 20px;
}

#headSearchContent > div ul {
  list-style: none;
}

#headSearchContent li + li {
  margin-top: 6px;
}

#logo {
  font-size: 2.4em;
  font-weight: 400;
  left: calc((100% - 1140px) / 2);
  margin: 0 auto;
  position: absolute;
  top: 10px;
  width: 125px;
  z-index: 100;
}

#logo a {
  color: #fff;
  display: block;
  width: 100%;
  text-decoration: none;
}

#logo a:hover {
  color: #000;
}

#logo img {
  width: 100%;
}

.buttons {
  display: none;
}

/**/

nav {
  margin-left: 130px;
  margin-top: 20px;
  width: calc(100% - 130px);
}

#mainNav,
#mainNav + ul {
  display: flex;
  font-weight: 400;
  justify-content: flex-end;
  text-align: center;
  width: 100%;
}

#mainNav + ul {
  border-top: 0;
  position: absolute;
  right: calc(((100% - 1140px) / 2) + 250px);
  top: 10px;
  width: 430px;
}

#mainNav li,
#mainNav + ul li {
  font-size: 1.5em;
  font-weight: 300;
  position: relative;
}

#mainNav > li + li {
  margin-left: 20px;
}

#mainNav + ul li {
  font-size: 1.3em;
}

#mainNav a,
#mainNav + ul a {
  color: #fff;
  display: block;
  font-weight: 400;
  line-height: 60px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.5s;
}

#mainNav + ul a {
  color: var(--color-main);
  text-decoration: underline;
}

#mainNav a:hover {
  color: #e5d4c0;
  text-decoration: none;
}

#mainNav + ul a:hover {
  text-decoration: none;
}

.index #mainNav a,
.index #mainNav + ul a {
  color: #fff;
}

#mainNav > li > a,
#mainNav + ul > li > a {
  padding: 0 10px;
}

#mainNav + ul > li > a,
#mainNav + ul > li > a:hover {
  padding: 0 15px;
  line-height: 25px;
}

#pretragaIndex {
  animation: fade-inn 1.5s 3s forwards;
  background: none;
  display: block;
  position: absolute;
  left: 50%;
  padding: 0;
  opacity: 0;
  bottom: calc(10vh - 0px);
  transform: translate(-50%, 0);
  max-width: 1140px;
  width: 90%;
  z-index: 100;
}

#pretragaIndex ul {
  display: flex;
}

#pretragaIndex li {
  display: flex;
  flex: 1 1 calc(100% / 7);
  justify-content: space-between;
  line-height: 50px;
  list-style: none;
  flex: 0 0 calc((100% - 545px) / 2);
}

#pretragaIndex li.cijena {
  flex: 0 0 150px;
}

#pretragaIndex li:nth-last-of-type(-n + 2) {
  flex: 0 0 120px;
}

#pretragaIndex li + li {
  margin-left: 1px;
}

/**/

#pretragaMain {
  margin: 0 auto;
  padding: 20px 0;
  position: relative;
  width: min(90%, 1140px);
}

header #pretragaMain {
  display: none;
}

/**/

#pretragaIndex input,
#pretragaIndex select,
#pretragaMain input,
#pretragaMain select {
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: #333;
  cursor: pointer;
  float: right;
  font-family: var(--font-body);
  font-size: 1.3em;
  font-weight: 500;
  margin: 0;
  padding: 10px 15px;
  position: relative;
  text-transform: uppercase;
  transition: all 0.5s;
  vertical-align: baseline;
  width: 100%;
  z-index: 5;
}

#pretragaIndex input,
#pretragaIndex select {
  background: #000;
  border: 1px solid #555;
  color: #fff;
}

#pretragaMain select:hover {
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#pretragaMain select option {
  font-size: 1.1em;
  text-transform: uppercase;
}

#pretragaMain input.submit {
  background: #000;
  border: 1px solid #000;
  color: #fff;
  cursor: pointer;
  text-align: center;
  transition: background 1s, color 1s;
}

#pretragaMain input.submit:hover {
  background: #fff;
  color: var(--main-color);
}

#pretragaMain input::placeholder {
  color: #000;
}

#pretragaIndex input.submit {
  background: var(--color-sub);
  border: 1px solid var(--color-sub);
  color: #000;
  cursor: pointer;
  text-align: center;
  transition: background 1s, color 1s;
}

#pretragaIndex input.submit:hover {
  background: #000;
  color: #fff;
}

/**/

#gore {
  background: #eee;
  border-top: 0px solid #fff;
  padding: 5px 0;
  padding: 0;
  position: relative;
}

#gore > span {
  display: none;
}

ul.mainSerach {
  display: grid;
  gap: 2px;
  grid-template-columns: 1fr 1fr 1fr;
  list-style: none;
}

ul.mainSerach li {
  display: flex;
  justify-content: space-between;
}

.pretragaForm select,
.pretragaForm input.text,
.pretragaForm .submit {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  color: #333;
  cursor: pointer;
  float: right;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4em;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 21px !important;
  margin: 0;
  padding: 10px 15px;
  position: relative;
  transition: border 0.5s;
  vertical-align: baseline;
  width: 100%;
  z-index: 5;
}

#pretragaMain select.mala {
  width: calc(50% - 1px);
}

.pretragaForm select.mala + select.mala {
  float: right;
}

.pretragaForm select:hover,
.pretragaForm input.text:hover {
  border: 1px solid var(--color-main);
  outline: none;
}

.pretragaForm .submit {
  background: var(--color-main);
  color: #fff;
  transition: background 1s;
}

.pretragaForm .submit:hover {
  background: #000;
}

/**/

section {
  margin: 50px auto;
  width: min(90%, 1140px);
}

section.index {
  background-color: #000;
  border-bottom: 1px solid #fff;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 5vw;
  width: 100%;
}

div.holder {
  margin: 0 auto;
  width: min(100%, 720px);
}

section.okvir {
  margin: 50px auto;
  max-width: 960px;
  width: 90%;
}

div.holder + div.holder {
  margin-top: 40px;
}

h1,
h2,
h3 {
  color: #000;
  font-size: 3em;
  font-weight: 400;
  line-height: 120%;
  margin: 0 auto 50px;
  text-align: center;
}

h1,
h2 {
  font-family: var(--font-header);
}

h2 {
  font-size: 2.5em;
  margin: 50px auto 40px;
}

h2.c {
  text-align: center;
}

h3 {
  font-size: 2.2em;
  line-height: 130%;
  margin: 50px 0 40px;
}

p.text,
ul.text,
div.holder.text {
  line-height: 170%;
  font-size: 1.6em;
  text-align: left;
}

ul.text.none {
  list-style: none;
}

ul.text.admin {
  line-height: 200%;
}

p.text + ul.text,
ul.text + p.text {
  margin-top: 20px;
}

div.holder.text {
  text-align: left !important;
}

div.holder.text img {
  margin-bottom: 30px;
  width: 100%;
}

p.text.c {
  text-align: center;
}

p.text.center {
  margin: 0 auto;
  max-width: 1140px;
  text-align: center;
  width: 90%;
}

p.text + p.text {
  margin-top: 20px;
}

ul.text.c {
  list-style: none;
  padding: 0;
  text-align: center;
}

ul.text ul {
  margin-left: 20px;
}

p.text.admin {
  border: 1px solid var(--color-main);
  color: var(--color-main);
  margin-bottom: 30px;
  margin-top: 30px;
  padding: 5px;
  max-width: 100% !important;
}

p.text.admin.red {
  border: 1px solid #f00;
  color: #f00;
}

p.text.admin + p.text.admin {
  margin-top: -25px;
}

p.text.napomena {
  font-size: 1.4em;
  margin-top: 20px;
}

.ostalo p.text,
.ostalo ul.text {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

ul.text {
  padding-left: 20px;
}

div.indexIntro {
  font-size: 0.9em;
  margin: 0 auto;
  max-width: 720px;
  width: 90%;
}

div.indexIntro p {
  text-align: center;
}

div.indexKategorije {
  margin: 50px auto 0;
  max-width: 1140px;
}

img.agencija {
  display: block;
  margin: 40px auto 0;
  max-width: 920px;
  width: 90%;
}

#video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

#video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/**/

section.index ul {
  display: grid;
  gap: 2.5vw;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 1200px);
}

section.index li {
  aspect-ratio: 2 / 1;
  display: flex;
  font-size: 2em;
}

section.index li a {
  align-items: center;
  border: 1px solid #fff;
  color: #fff;
  display: flex;
  flex: 1;
  justify-content: center;
  text-decoration: none;
  transition: all 0.5s;
}

section.index li a:hover {
  border: 1px solid var(--color-sub);
  color: var(--color-sub);
}

/* breadcrumb */

#navTo {
  margin: 48px auto 0;
  max-width: 1140px;
  overflow: hidden;
  position: relative;
  width: 90%;
}

#navTo ol {
  font-size: 1.3em;
  font-weight: 300;
  list-style-type: none;
  overflow: hidden;
  width: auto;
}

#navTo li {
  float: left;
  line-height: 22px;
  margin-right: 10px;
}

#navTo li:after {
  content: ' > ';
  color: #ddd;
}

#navTo li:last-of-type:after {
  content: '';
  padding: 1px 0;
}

#navTo li:last-of-type {
  margin-right: 0;
}

#navTo a {
  color: #000;
  display: block;
  float: left;
  line-height: 22px;
  padding: 0 10px 0 0;
  text-align: left;
  text-decoration: underline;
}

#navTo li:first-of-type a {
  padding-left: 0;
}

#navTo a:hover {
  text-decoration: none;
}

/* listing */

#nekretnineList {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr 1fr;
  list-style: none;
  margin: 0 auto;
}

#nekretnineList > li {
  border: 1px solid #eee;
  list-style: none;
  position: relative;
}

#nekretnineList a {
  display: block;
  position: relative;
}

#nekretnineList a:hover {
  color: var(--color-main);
}

#nekretnineList img {
  aspect-ratio: 20 / 13;
  border-bottom: 1px solid #eee;
  width: 100%;
}

#nekretnineList > li a > span.napomena {
  border: 0px solid #fff;
  border-radius: 2px;
  color: #fff;
  font-size: 1.3em;
  padding: 5px;
  position: absolute;
  right: 10px;
  text-decoration: none;
  top: 10px;
  text-transform: uppercase;
}

span.napomena.prodano {
  background: var(--color-main);
}

#nekretnineList > li a > span.napomena.top {
  background: var(--color-sub);
  color: #000;
}

span.napomena.novo {
  background: green;
}

#nekretnineList h3 {
  font-size: 1.6em;
  font-weight: 500;
  height: 90px;
  letter-spacing: -0.25px;
  line-height: 140%;
  margin-bottom: 10px;
  margin-top: 15px;
  padding: 0 10px;
  text-align: left;
  width: 100%;
}

#nekretnineList em {
  display: block;
  font-size: 1.7em;
  font-style: normal;
  font-weight: 200;
  margin-bottom: 10px;
  padding: 0 10px;
}

#nekretnineList ul {
  list-style: none;
  margin: 15px 10px;
  width: calc(100% - 20px);
}

#nekretnineList ul li {
  border: 0;
  float: left;
  font-size: 1.4em;
  line-height: 100%;
  margin: 0;
  padding: 5px 0;
  width: 100%;
}

#nekretnineList ul li > span {
  float: right;
}

#nekretnineList div {
  background: var(--color-sub);
  border-top: 1px solid #eee;
  font-size: 2em;
  font-weight: 400;
  line-height: 130%;
  padding: 15px 15px 15px;
  width: 100%;
}

#nekretnineList div p {
  color: #000;
  float: left;
  font-weight: bold;
  line-height: 20px;
  text-align: right;
  width: 100%;
}

#nekretnineList div p.akcija,
#nekretnineList div p.staro {
  color: #f00;
  text-align: left;
  width: 50%;
}

#nekretnineList div p.staro {
  color: #aaa;
  padding-left: 20px;
  text-align: right;
  text-decoration: line-through;
}

#nekretnineList div span {
  display: inline-block;
  font-size: 0.65em;
  height: 14px;
  line-height: 14px;
  text-align: right;
  width: 100%;
}

#nekretnineList div p.akcija span {
  text-align: left;
}

/* pagination */

div.rez {
  align-items: center;
  color: #555;
  display: flex;
  font-size: 1.45em;
  justify-content: space-between;
  letter-spacing: -0.25px;
  line-height: 160%;
  margin: 30px auto 0;
  text-align: center;
}

div.rez > div {
  display: flex;
  justify-content: flex-start;
}

span.cur,
span.ukupno {
  background: var(--color-main);
  border: 1px solid #fff;
  border-radius: 4px;
  color: #fff;
  display: block;
  padding: 3px 8px;
  text-align: center;
}

span.ukupno {
  background: transparent;
  color: #555;
  margin-right: 0;
  padding: 3px 0;
}

a.brz {
  border: 1px solid #ddd;
  border-radius: 4px;
  display: block;
  padding: 3px 8px;
}

div.rez > div * + * {
  margin-left: 5px;
}

a.brz:link,
a.brz:visited {
  color: #555;
  text-decoration: none;
}

a.brz:hover,
a.brz:active {
  border: 1px solid var(--color-main);
  color: var(--color-main);
  text-decoration: none;
}

/* set */

.nekretnineDet {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

#nekretnineDetSlike {
  aspect-ratio: 3 / 2;
  background-color: #f7f7f7;
  display: flex;
  flex: 0 0 60%;
}

#nekretnineDetSlike > a {
  display: flex;
  position: relative;
  width: 100%;
}

#nekretnineDetSlike img {
  object-fit: cover;
  width: 100%;
}

#nekretnineDetSlike > a > div {
  align-items: center;
  background-color: var(--color-main);
  border-radius: 5px;
  bottom: 10px;
  display: flex;
  font-size: 1.5em;
  padding: 10px;
  position: absolute;
  left: 10px;
}

#nekretnineDetSlike > a > div span {
  align-items: center;
  color: #fff;
  display: flex;
}

#nekretnineDetSlike > a > div span.icon {
  height: 16px;
  margin-right: 5px;
  width: 16px;
}

#nekretnineDetData {
  flex: 0 0 35%;
  font-size: 1.7em;
}

#nekretnineDetData ul {
  list-style: none;
}

#nekretnineDetData li {
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

#nekretnineDetData li + li {
  margin-top: 15px;
}

#nekretnineDetData li span {
  font-weight: 500;
  float: right;
}

#nekretnineDetData p {
  font-size: 1.8em;
  margin-top: 40px;
}

#nekretnineDetData p .akcija {
  color: red;
  float: left;
}

#nekretnineDetData p .staro {
  float: right;
  margin-left: 20px;
  text-decoration: line-through;
}

#nekretnineDetData p.opis {
  font-size: 1em;
  margin-top: 0;
}

#nekretnineDetData div.kontakti {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9em;
  gap: 20px;
  margin-top: 40px;
}

#nekretnineDetData div.kontakti > a {
  align-items: center;
  border: 1px solid var(--color-main);
  border-radius: 5px;
  color: var(--color-main);
  display: flex;
  flex: 0 0 calc(50% - 10px);
  padding: 15px 20px;
  text-decoration: none;
  transition: all 1s;
}

#expose {
  background: var(--color-main);
  color: #fff !important;
}

#expose:hover {
  background: var(--color-sub);
  color: #000;
}

#nekretnineDetData div.kontakti > a + a:hover {
  background-color: var(--color-sub);
  border-color: #000;
  color: #000;
}

div.kontakti span.icon {
  align-items: center;
  aspect-ratio: 1 / 1;
  display: flex;
  flex: 0 0 19px;
  margin-right: 10px;
}

/**/

#mailForm {
  margin-top: 40px;
}

#mailForm label {
  display: block;
  margin-bottom: 15px;
}

#mailForm input {
  background: #fff;
  border: 1px solid #000;
  box-sizing: border-box;
  color: #aaa;
  float: left;
  font-family: 'Open Sans', Tahoma, sans-serif;
  font-size: 1em;
  font-weight: 300;
  margin: 0;
  padding: 10px 15px;
  width: calc(100% - 100px);
  transition: background 1s;
}

#mailForm input.submit {
  background: var(--color-main);
  border-left: none;
  color: #fff;
  cursor: pointer;
  width: 100px;
}

#mailForm input.submit:hover {
  background: #000;
}

.nekretnineDet2 {
  margin: 50px auto;
  max-width: 720px;
}

section ul.karakteristike {
  list-style: none;
  margin: 0 auto;
  max-width: 920px;
}

section ul.karakteristike.male {
  max-width: 720px;
}

section ul.karakteristike li {
  border-bottom: 1px solid #eee;
  display: block;
  float: left;
  font-size: 1.6em;
  line-height: 150%;
  margin: 0 10% 10px 0;
  width: 45%;
}

section ul.karakteristike.male li {
  border-bottom: 1px solid #777;
  margin: 0 0 10px 0;
  width: 100%;
}

section ul.karakteristike li:nth-child(2n) {
  margin-right: 0;
}

section ul.karakteristike li:nth-last-of-type(-n + 2) {
  margin-bottom: 0;
}

section ul.karakteristike li.none {
  border: 0;
}

section ul.karakteristike.male li.none {
  border-bottom: 1px solid #eee;
  margin-top: 10px;
}

section ul.karakteristike span {
  font-weight: 500;
  float: right;
}

/**/

#results_inner {
  flex: 0 0 100%;
  font-size: 1.6em;
  justify-content: center;
}

#results_inner.ok {
  border: 1px solid green;
  color: green;
  margin-bottom: 20px;
  padding: 15px;
}

#results_inner.err {
  border: 1px solid red;
  color: red;
  margin-bottom: 20px;
  padding: 20px;
}

fieldset.upit {
  padding: 0;
  width: 100%;
}

fieldset.upit.admin + fieldset.upit.admin {
  border-top: 1px solid #eee;
  margin-top: 20px;
  padding-top: 20px;
}

fieldset.upit ol {
  padding: 0;
  list-style: none;
}

fieldset.upit li {
  display: flex;
  justify-content: space-between;
}

fieldset.upit li.provjera {
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

fieldset.upit li.sbmt {
  justify-content: flex-end;
  margin-top: 20px;
}

fieldset.upit li.chck {
  font-size: 0.9em;
}

fieldset.upit li.chck label {
  align-items: flex-start;
  display: flex;
  line-height: 125%;
}

fieldset.upit li.chck input {
  margin: 5px 12px 5px;
}

fieldset.upit li.chck span {
  line-height: 150%;
}

fieldset.upit li + li {
  margin-top: 10px;
}

fieldset.upit label {
  display: flex;
  font-size: 1.6em;
  line-height: 34px;
}

fieldset.upit label.spam {
  line-height: 160%;
}

fieldset.upit label.red {
  color: red;
}

fieldset.upit li.provjera div {
  align-items: center;
  display: flex;
}

fieldset.upit li.provjera div label {
  align-items: center;
  display: flex;
}

fieldset.upit label.provjera img {
  border: 1px solid #aaa;
  height: 34px;
}

fieldset.upit label.provjera span {
  font-size: 1.6em;
  line-height: 34px;
  padding: 0 10px;
}

fieldset.upit label.note {
  width: 100%;
}

fieldset.upit input.text,
fieldset.upit input.textx,
input.slike,
fieldset.upit select,
fieldset.upit textarea,
fieldset.upit input.submit,
#slikeBri,
.richText {
  background: #f7f7f7;
  border: 1px solid #eee;
  box-sizing: border-box;
  color: #000;
  float: right;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6em;
  font-weight: 400;
  margin: 0;
  padding: 10px 15px;
  width: 100%;

  transition: background 1s;
}

fieldset.upit input.textx {
  padding: 10px 15px;
  width: 100px;
}

fieldset.upit input.err {
  border: 1px solid #f00;
}

fieldset.upit input.text.red,
fieldset.upit input.textx.red,
fieldset.upit select.red {
  border: 1px solid #f00;
}

fieldset.upit input.text[readonly],
fieldset.upit input.textx[readonly],
fieldset.upit input.text[disabled],
fieldset.upit input.textx[disabled],
fieldset.upit select[disabled],
fieldset.upit textarea[disabled] {
  background: #fff;
  border: 1px solid #eee;
  color: #000;
  font-weight: 400;
  opacity: 0.7;
}

input.slike {
  float: left;
  width: 50px;
  margin-top: 5px;
}

fieldset.upit input:not([disabled]):hover,
fieldset.upit textarea:not([disabled]):hover {
  background: none;
  border: 1px solid #ccc;
}

fieldset.upit textarea {
  height: 250px;
  line-height: 150%;
}

fieldset.upit select.mala {
  width: 120px;
}

fieldset.upit input.box {
  float: right;
  margin: 10px 0 0 0;
  font-family: 'Open Sans', Tahoma, sans-serif;
  font-size: 1.6em;
  font-weight: 300;
  border: 1px solid #d7d7d7;
  background: #f7f7f7;
}

fieldset.upit input.submit,
#slikeBris {
  background: var(--color-main);
  color: #fff;
  cursor: pointer;
  padding: 15px;
  transition: all 0.5s;
}

fieldset.upit input.submit:hover {
  background: #fff;
  color: #000;
}

fieldset.upit.admin input.text,
fieldset.upit.admin input.textx,
input.slike,
fieldset.upit.admin select,
fieldset.upit.admin textarea,
fieldset.upit.admin input.submit,
#slikeBris {
  flex: 0 0 500px;
}

fieldset.upit.admin input.textx {
  flex: 0 0 200px;
}

#slikeBris {
  background: red;
  display: block;
  float: left;
  line-height: 22px;
  text-decoration: none;
  transition: background 1s;
  width: auto;
}

#slikeBris:hover {
  background: black;
}

#map-canvas {
  background: #eee;
  height: 450px;
  margin: 50px auto 0;
  z-index: 1;
}

p span.head {
  display: inline-block;
  font-weight: 600;
  margin-top: 20px;
}

p span.head.mt0 {
  margin-top: 0;
}

/**/

ul.gradovi {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr 1fr;
  list-style: none;
  margin-top: 32px;
}

ul.gradovi li {
}

ul.gradovi a {
  border: 1px solid #eee;
  display: flex;
  position: relative;
  transition: all 0.5s;
}

ul.gradovi a:hover {
  border: 1px solid #000;
}

ul.gradovi img {
  aspect-ratio: 3 / 2;
  background-color: #555;
  display: block;
  width: 100%;
}

ul.gradovi span {
  bottom: 0;
  color: #fff;
  display: block;
  font-size: calc(1.6em * 0.9);
  font-weight: 600;
  left: 0;
  line-height: 120%;
  padding: 16px;
  position: absolute;
  text-align: left;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.75);
}

/**/

footer {
  background: var(--color-main);
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
  color: #fff;
  font-size: 1.45em;
  line-height: 160%;
  padding: 50px 0;
}

footer a.link {
  color: #fff;
}

footer a.link:hover {
  color: #fff;
  text-decoration: none;
}

#footHolder {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1140px;
  padding: 0;
  width: 90%;
}

div.footHolder ul {
  line-height: 180%;
  list-style: none;
}

#copy,
#zastupnik {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  margin: 30px auto 0;
  max-width: 1140px;
  padding: 30px 0 0 0;
  width: 90%;
  justify-content: space-between;
}

#copy p {
  font-size: 0.9em;
}

#copy span + span {
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  margin-left: 10px;
  padding-left: 10px;
}

#zastupnik {
  display: flex;
  align-items: flex-start;
}

#zastupnik img {
  margin-right: 30px;
}

fieldset.upit {
  padding: 0;
  width: 100%;
}

form + form {
  margin-top: 40px;
}

/* ADMIN */

#admin_list {
  margin-top: 20px;
}

ul.admin_nav {
  display: grid;
  gap: 2px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  font-size: 1.6em;
  margin: 40px 0 40px;
  text-align: center;
}

ul.admin_nav li {
  display: block;
  gap: 2px;
  list-style: none;
}

ul.admin_nav a {
  background: var(--color-main);
  color: #fff;
  display: block;
  padding: 10px 5px;
  text-decoration: none;
  transition: all 0.5s;
}

ul.admin_nav a:hover {
  background: #000;
}

/**/

#admin_list div.nek {
  display: flex;
  justify-content: space-between;
  margin: 0 0 10px 0;
}

#admin_list div.nek + div.nek {
  border-top: 1px solid #eee;
  padding-top: 10px;
}

#admin_list div.nek > div.img {
  display: flex;
  flex: 0 0 90px;
}

#admin_list div.nek img {
  width: 90px;
  height: 60px;
  background: #eee url(images/loading.gif) center no-repeat;
}

#admin_list div.nek > div.data {
  display: flex;
  flex: 0 0 calc(100% - 110px);
  flex-wrap: wrap;
}

#admin_list div.nek p {
  font-size: 1.5em;
  line-height: 30px;
}

#admin_list p.naziv {
  flex: 0 0 calc(100% - 50px);
}

#admin_list p.posjeta {
  flex: 0 0 50px;
  text-align: right;
}

#admin_list p.unos {
  flex: 0 0 calc(100% - 130px);
}

#admin_list p.ostalo {
  display: flex;
  flex: 0 0 80px;
}

#admin_list div.nek p.del {
  flex: 0 0 50px;
  text-align: right;
}

span.admno,
span.admtp,
span.admrn,
span.admpr,
span.admag,
span.admne,
span.none {
  border-radius: 5px;
  display: block;
  color: #fff;
  text-align: center;
  width: 20px;
}

span.admno {
  background: #00ab00;
}

span.admtp {
  background: #f00;
}

span.admrn {
  background: #04a0f3;
}

span.admpr {
  background: blue;
}

span.admne {
  background: #555;
}

/**/

div.admin_inner {
  margin-top: 20px;
  padding-top: 20px;
}

#slikaBris {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  list-style: none;
  margin: 24px auto;
}

#slikaBris li {
  flex: 0 0 calc((100% - 36px) / 4);
}

#slikaBris li > a {
  display: block;
  list-style-type: none;
  background: #fff url(images/loading.gif) center no-repeat;
  border: 1px solid #eee;
  margin-bottom: 5px;
}

#slikaBris li > a:hover {
  border: 1px solid var(--color-sub);
  box-shadow: none;
}

#slikaBris img {
  width: 100%;
}

#slikaBris div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

#slikaBris input.slike {
  flex: 0 0 calc(50% - 20px);
  padding: 5px;
}

#slikaBris input.box {
  height: 16px;
  width: 16px;
}

#slikaBris a.brisi {
  align-items: center;
  align-self: stretch;
  border: 1px solid var(--color-sub);
  border-radius: 4px;
  box-shadow: none;
  color: var(--color-sub);
  display: flex;
  flex: 0 0 calc(50% - 20px);
  font-size: 1.5em;
  line-height: 32px;
  justify-content: center;
  text-decoration: none;
  transition: all 0.5s;
}

#slikaBris a.brisi:hover {
  border: 1px solid #000;
  color: #000;
}

#sve_slike {
  display: flex;
  font-size: 1.6em;
}

/* */

div.admin_baneri_listing {
  font-size: 1.4em;
  margin-top: 32px;
}

div.admin_baneri_listing > p {
  text-align: center;
}

div.admin_baneri_listing details {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
}

div.admin_baneri_listing details + details {
  margin-top: 8px;
}

div.admin_baneri_listing details:hover {
  border: 1px solid var(--color-sub);
}

div.admin_baneri_listing details summary {
  cursor: pointer;
  display: flex;
  padding: 16px;
}

div.admin_baneri_listing details summary.neprocitana {
  background-color: #f7f7f7;
}

div.admin_baneri_listing details:not([open]) summary:hover,
div.admin_baneri_listing details:not([open]) summary:focus {
  color: #000;
}

div.admin_baneri_listing details[open] summary {
  border: 1px solid #003eff;
  background: #007fff;
  color: #ffffff;
}

div.admin_baneri_listing details[open] summary + div {
  padding-top: 8px;
}

div.admin_baneri_listing details[open] summary + div.upiti {
}

div.admin_baneri_listing .ukupno {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #ddd;
  margin-top: 8px;
  padding: 12px 16px;
}

div.admin_baneri_listing .naziv {
  flex: 1 0 auto;
}

div.admin_baneri_listing .trajanje {
  display: flex;
  flex: 0 0 120px;
  justify-content: flex-end;
}

div.admin_baneri_listing .datum {
  display: flex;
  flex: 0 0 75px;
  justify-content: flex-end;
}

div.admin_baneri_listing .status {
  display: flex;
  flex: 0 0 20px;
  justify-content: flex-end;
}

div.admin_baneri_listing details > div > div {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px;
}

div.admin_baneri_listing details > div.upiti > div {
  flex-wrap: wrap;
  gap: 8px;
}

div.admin_baneri_listing details > div.upiti > div + div {
  border-top: 1px dashed #eee;
}

div.admin_baneri_listing details > div > div.poruka {
  flex-wrap: wrap;
  gap: 8px;
}

div.admin_baneri_listing details > div > div.poruka span {
  flex: 0 0 100%;
  line-height: 150%;
  margin-top: 10px;
}

div.admin_baneri_listing details > div > div.del {
  border-top: 1px solid #ddd !important;
  flex-wrap: wrap;
  padding: 16px;
}

div.admin_baneri_listing .info {
  background-color: #f7f7f7;
  border-bottom: 1px solid #eee;
  padding: 12px 8px;
}

div.admin_baneri_listing .period {
  flex: 1 0 auto;
}

div.admin_baneri_listing .prikaz {
  display: flex;
  flex: 0 0 60px;
  justify-content: flex-end;
}

div.admin_baneri_listing .klik {
  display: flex;
  flex: 0 0 40px;
  justify-content: flex-end;
}

@media screen and (max-width: 1267px) {
  div.prvaLinija span,
  #logo {
    left: 5%;
  }

  div.prvaLinija span {
    left: calc(5% + 140px);
  }

  ul.zastave {
    right: 5vw;
  }
}

@media screen and (max-width: 1100px) {
  #mainNav li {
    font-size: 1.35em;
  }

  #mainNav + ul {
    right: calc(5% + 200px);
  }

  #mainNav + ul > li > a,
  #mainNav + ul > li > a:hover {
    padding: 0 10px;
  }
}

@media screen and (max-width: 1020px) {
  div.prvaLinija span {
    align-items: center;
    font-size: 0.9em;
    justify-content: flex-start;
    left: 135px;
    margin: auto;
    padding-left: 5vw;
    right: 0;
  }

  div.prvaLinija span em {
    padding: 0 5px 0 5px;
  }

  ul.zastave,
  #mainNav + ul li {
    font-size: 1.2em;
  }

  #pretragaIndex ul {
    flex-wrap: wrap;
  }

  #pretragaIndex li {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    float: left;
    line-height: 50px;
    list-style: none;
    margin-bottom: 1px;
    flex: 0 0 calc((100% - 1px) / 2);
  }

  #pretragaIndex li.cijena,
  #pretragaIndex li:nth-last-of-type(-n + 2) {
    margin-bottom: 0;
    margin-left: 0;
    flex: 0 0 calc((100% - 3px) / 4);
  }

  #pretragaIndex li.cijena + li,
  #pretragaIndex li:nth-last-of-type(-n + 2) {
    margin-left: 1px;
  }

  footer {
    font-size: 1.35em;
  }
}

@media screen and (max-width: 960px) {
  #mainNav > li + li {
    margin-left: 10px;
  }

  header:not(.index) ul.zastave {
    right: 50px;
  }

  #gore {
    background: #fff;
    bottom: 0;
    left: 0;
    position: fixed;
    top: auto;
    width: 100%;
    z-index: 10;
  }

  #gore > span {
    align-items: center;
    background: var(--color-main);
    border-top: 1px solid #fff;
    color: #fff;
    display: flex;
    font-size: 1.4em;
    justify-content: center;
    padding: 20px 5vw;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
  }

  #gore > span:hover {
    background: #555;
  }

  #gore > span > span.filter {
    display: flex;
    height: 24px;
    margin-right: 12px;
    width: 24px;
  }

  #okvirFilter {
    background-color: #eee;
    height: 0;
    transition: all 0.5s;
  }

  .show #okvirFilter {
    height: calc(88px + 10vw);
  }

  #pretragaMain {
    padding: 5vw;
    width: 100%;
  }

  /**/

  #nekretnineList,
  ul.gradovi {
    grid-template-columns: 1fr 1fr;
  }

  /**/

  .nekretnineDet {
    flex-wrap: wrap;
  }

  #nekretnineDetSlike {
    flex: 0 0 100%;
    margin: 0 auto 0;
  }

  #nekretnineDetData {
    flex: 0 0 100%;
    margin: 40px auto 0;
    width: 100%;
  }

  footer:not(.index) {
    padding-bottom: 85px;
  }

  /**/

  #slikaBris {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 850px) {
  div.prvaLinija span em + em {
    display: none;
  }

  .show #okvirFilter {
    height: calc(133px + 10vw);
  }

  ul.mainSerach {
    grid-template-columns: 1fr 1fr;
  }

  #footHolder {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media screen and (max-width: 820px) {
  fieldset.upit.admin li.full {
    flex-wrap: wrap;
  }

  fieldset.upit.admin label {
    display: block;
    line-height: 34px;
    font-size: 1.6em;
    flex: 0 0 240px;
  }

  fieldset.upit.admin li.full label {
    flex: 0 0 100%;
  }

  fieldset.upit.admin input.text,
  fieldset.upit.admin input.textx,
  input.slike,
  fieldset.upit.admin select,
  fieldset.upit.admin textarea,
  fieldset.upit.admin input.submit,
  #slikeBris {
    flex: 0 0 calc(100% - 250px);
  }

  fieldset.upit.admin li.full input.text,
  fieldset.upit.admin li.full input.textx,
  fieldset.upit.admin li.full select,
  fieldset.upit.admin li.full textarea,
  fieldset.upit.admin li.full input.submit,
  #slikeBris {
    flex: 0 0 100%;
  }
}

@media screen and (max-width: 750px) {
  header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 165px;
    transition: all 0.25s;
  }

  header.show {
    height: 505px;
    overflow: hidden;
  }

  div.prvaLinija span {
    left: 0;
  }

  div.prvaLinija span em + em {
    display: block;
  }

  #ham {
    background: #000;
    border-bottom: 1px solid #fff;
    display: block;
    height: 45px;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 45px;
  }

  .burger-container {
    cursor: pointer;
    display: inline-block;
    height: 45px;
    position: absolute;
    transform: rotate(0deg);
    transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    width: 45px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 1000;
  }

  .burger-container #burger {
    display: block;
    height: 8px;
    margin: -4px auto 0;
    position: relative;
    top: 50%;
    width: 18px;
  }

  .bar {
    background: #fff;
    display: block;
    height: 1px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition-delay: 0s;
    width: 100%;
  }

  .topBar {
    transform: translateY(0px) rotate(0deg);
  }

  .btmBar {
    transform: translateY(6px) rotate(0deg);
  }

  .burger-container.open {
    transform: rotate(90deg);
  }
  .burger-container.open #burger .bar {
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition-delay: 0.2s;
  }
  .burger-container.open #burger .bar.topBar {
    transform: translateY(4px) rotate(45deg);
  }
  .burger-container.open #burger .bar.btmBar {
    transform: translateY(3px) rotate(-45deg);
  }

  div.drugaLinija {
    height: 120px;
  }

  #logo {
    left: 0;
    right: 0;
    top: 55px;
  }

  #logo a {
    text-align: center;
  }

  nav {
    height: 0;
    margin: 100px auto 0;
    width: 100%;
  }

  #mainNav,
  #mainNav + ul {
    display: none;
    flex-wrap: wrap;
  }

  .show #mainNav,
  .show #mainNav + ul {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    margin-top: 0px;
    padding-top: 0px;
    position: static;
    width: 100%;
  }

  .show #mainNav {
    margin-top: 55px;
  }

  .show #mainNav + ul {
  }

  #mainNav li,
  #mainNav + ul li {
    flex: 1 0 100%;
    font-size: 1.4em;
  }

  #mainNav a,
  #mainNav + ul a {
    line-height: 40px;
  }

  #mainNav + ul a {
    color: #fff;
    text-decoration: none;
  }

  #mainNav > li:nth-child(3) {
    margin-left: 0%;
  }

  #mainNav > li + li,
  #mainNav + ul li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 0;
  }

  #mainNav + ul > li > a,
  #mainNav + ul > li > a:hover {
    line-height: 40px;
  }

  #copy {
    flex-wrap: wrap;
  }

  #copy p {
    flex: 0 0 100%;
  }
}

@media screen and (max-width: 650px) {
  #footHolder {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
  }

  #slikaBris {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 600px) {
  #index_logo {
    top: 40%;
  }

  h1 {
    font-size: calc(3em * 0.9);
  }
  h2 {
    font-size: calc(2.5em * 0.9);
  }
  h3 {
    font-size: calc(2.2em * 0.9);
  }

  p.text,
  ul.text,
  fieldset.upit label {
    font-size: 1.5em;
  }

  #pretragaIndex ul {
    gap: 1px;
  }

  #pretragaIndex li {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    float: left;
    line-height: 50px;
    list-style: none;
    margin-bottom: 0px;
    flex: 0 0 100%;
  }

  #pretragaIndex li + li {
    margin: 0;
  }

  #pretragaIndex li.cijena,
  #pretragaIndex li:nth-last-of-type(-n + 2) {
    margin-bottom: 0;
    margin-left: 0;
    flex: 0 0 calc((100% - 1px) / 2);
  }

  #pretragaIndex li.cijena + li.cijena {
    margin-left: 0px;
  }

  #pretragaIndex li.cijena + li,
  #pretragaIndex li:nth-last-of-type(-n + 2) {
    margin: 0;
  }

  .show #okvirFilter {
    height: calc(268px + 10vw);
  }

  ul.mainSerach {
    grid-template-columns: 1fr;
  }

  #nekretnineList,
  ul.gradovi {
    grid-template-columns: 1fr;
  }

  #nekretnineList h3 {
    height: auto;
  }

  /**/

  #nekretnineDetData {
    font-size: 1.5em;
  }

  section ul.karakteristike li,
  section ul.karakteristike li:nth-last-of-type(-n + 2) {
    font-size: 1.5em;
    line-height: 150%;
    margin: 0 0 10px 0;
    width: 100%;
  }

  section ul.karakteristike li:nth-last-of-type(-n + 1) {
    margin-bottom: 0;
  }

  ul.admin_nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 600px) {
  div.rez {
    flex-wrap: wrap;
  }

  div.rez > div {
    flex: 0 0 100%;
    justify-content: space-between;
  }

  a.brz {
    flex: 1;
    padding: 2px 6px;
  }

  span.ukupno {
    margin-top: 8px;
  }

  fieldset.upit input.text,
  fieldset.upit input.textx,
  input.slike,
  fieldset.upit select,
  fieldset.upit textarea,
  fieldset.upit input.submit,
  #slikeBri,
  .richText {
    font-size: 1.5em;
  }
}

@media screen and (max-width: 550px) {
  fieldset.upit.admin label {
    flex: 0 0 200px;
    font-size: 1.4em;
  }

  fieldset.upit.admin input.text,
  fieldset.upit.admin input.textx,
  input.slike,
  fieldset.upit.admin select,
  fieldset.upit.admin textarea,
  fieldset.upit.admin input.submit,
  #slikeBri {
    flex: 0 0 calc(100% - 200px);
    font-size: 1.4em;
    padding: 10px;
  }

  /**/

  #admin_list div.nek img {
    height: 50px;
    width: 75px;
  }

  #admin_list div.nek > div.data {
    flex: 0 0 calc(100% - 90px);
  }

  #admin_list div.nek p {
    font-size: 1.3em;
    line-height: 25px;
  }

  #admin_list p.unos {
    flex: 0 0 calc(100% - 60px);
  }

  #admin_list p.ostalo {
    flex: 0 0 60px;
  }

  span.admno,
  span.admtp,
  span.admrn,
  span.admpr,
  span.admag,
  span.admne,
  span.none {
    width: 15px;
  }

  #slikaBris {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    font-size: 1.3em;
  }
}

@media screen and (max-width: 500px) {
  section.index ul {
    gap: 2.5vh;
    grid-template-columns: 1fr;
  }

  #admin_list div.nek p {
    font-size: 1.2em;
    line-height: 25px;
  }
}

@media screen and (max-width: 450px) {
  div.prvaLinija span em {
    padding: 0 5px 0 0;
  }

  div.prvaLinija span em + em {
    padding: 0 5px;
  }

  ul.zastave {
    font-size: 1.2em;
  }

  ul.zastave a {
    padding: 0 5px;
  }

  h1 {
    font-size: calc(3em * 0.8);
  }
  h2 {
    font-size: calc(2.5em * 0.8);
  }
  h3 {
    font-size: calc(2.2em * 0.8);
  }

  #footHolder {
    grid-template-columns: 1fr;
  }

  div.footHolder ul li {
    text-align: center;
  }

  #copy p {
    text-align: center;
  }
}

@media screen and (max-width: 400px) {
  div.prvaLinija span {
    font-size: 0.85;
    letter-spacing: -0.5px;
  }

  ul.zastave {
    font-size: 1.15em;
  }

  #nekretnineDetData div.kontakti {
    font-size: 0.85em;
  }

  #nekretnineDetData div.kontakti > a {
    padding: 15px;
  }

  div.kontakti span.icon {
    flex: 0 0 16px;
  }

  fieldset.upit.admin label {
    flex: 0 0 170px;
    font-size: 1.3em;
    letter-spacing: -0.25px;
  }

  fieldset.upit.admin input.text,
  fieldset.upit.admin input.textx,
  input.slike,
  fieldset.upit.admin select,
  fieldset.upit.admin textarea,
  fieldset.upit.admin input.submit,
  #slikeBri {
    flex: 0 0 calc(100% - 180px);
    font-size: 1.3em;
    padding: 10px;
  }

  #admin_list div.nek p {
    font-size: 1.2em;
  }

  #admin_list p.posjeta {
    flex: 0 0 40px;
  }

  footer {
    font-size: 1.25em;
  }

  div.footHolder ul {
    line-height: 200%;
  }
}

/* */

.lazyload,
.lazyloading {
  opacity: 0;
}

.lazyloaded {
  opacity: 1;
  /*  transition is applied to lazyloaded not lazyload */
  transition: opacity 300ms;
}

/**
 * Owl Carousel v2.2.1
 * Copyright 2013-2017 David Deutsch
 * Licensed under  ()
 */

.owl-carousel,
.owl-carousel .owl-item {
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.owl-carousel {
  display: none;
  width: 100%;
  z-index: 1;
}
.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
  -moz-backface-visibility: hidden;
}
.owl-carousel .owl-stage:after {
  content: '.';
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
}
.owl-carousel .owl-item,
.owl-carousel .owl-wrapper {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}
.owl-carousel .owl-item {
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-touch-callout: none;
}
.owl-carousel .owl-item img {
  display: block;
  width: 100%;
}
.owl-carousel .owl-dots.disabled,
.owl-carousel .owl-nav.disabled {
  display: none;
}
.no-js .owl-carousel,
.owl-carousel.owl-loaded {
  display: block;
}
.owl-carousel .owl-dot,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-nav .owl-prev {
  cursor: pointer;
  cursor: hand;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.owl-carousel.owl-loading {
  opacity: 0;
  display: block;
}
.owl-carousel.owl-hidden {
  opacity: 0;
}
.owl-carousel.owl-refresh .owl-item {
  visibility: hidden;
}
.owl-carousel.owl-drag .owl-item {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.owl-carousel.owl-grab {
  cursor: move;
  cursor: grab;
}
.owl-carousel.owl-rtl {
  direction: rtl;
}
.owl-carousel.owl-rtl .owl-item {
  float: right;
}
.owl-carousel .animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}
.owl-carousel .owl-animated-in {
  z-index: 0;
}
.owl-carousel .owl-animated-out {
  z-index: 1;
}
.owl-carousel .fadeOut {
  animation-name: fadeOut;
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.owl-height {
  transition: height 0.5s ease-in-out;
}
.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.owl-carousel .owl-item img.owl-lazy {
  transform-style: preserve-3d;
}
.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000;
}
.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url(owl.video.play.png) no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  transition: transform 0.1s ease;
}
.owl-carousel .owl-video-play-icon:hover {
  -ms-transform: scale(1.3, 1.3);
  transform: scale(1.3, 1.3);
}
.owl-carousel .owl-video-playing .owl-video-play-icon,
.owl-carousel .owl-video-playing .owl-video-tn {
  display: none;
}
.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 0.4s ease;
}
.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
}

.owl-carousel.owl-drag .owl-item {
  border: 1px solid #eee;
  float: left;
  position: relative;
  transition: background 1s, box-shadow 0.5s;
}

.owl-carousel.owl-drag .owl-item a {
  display: block;
  position: relative;
}

.owl-carousel.owl-drag .owl-item img {
  border-bottom: 1px solid #eee;
  width: 100%;
}

.owl-carousel.owl-drag .owl-item h3 {
  font-size: 1.6em;
  font-weight: 500;
  height: 90px;
  letter-spacing: -0.25px;
  line-height: 140%;
  margin-bottom: 10px;
  margin-top: 15px;
  padding: 0 10px;
  text-align: left;
  width: 100%;
}

.owl-carousel.owl-drag .owl-item ul {
  list-style: none;
  margin: 15px 10px;
  width: calc(100% - 20px);
}

.owl-carousel.owl-drag .owl-item ul li {
  border: 0;
  float: left;
  font-size: 1.4em;
  line-height: 100%;
  margin: 0;
  padding: 5px 0;
  width: 100%;
}

.owl-carousel.owl-drag .owl-item ul li > span {
  float: right;
}

.owl-carousel.owl-drag .owl-item .itemIndex div {
  background-color: #eee;
  border-top: 1px solid #eee;
  font-size: 2em;
  font-weight: 400;
  line-height: 130%;
  padding: 15px 15px 15px;
  width: 100%;
}

.owl-carousel.owl-drag .owl-item .itemIndex div p {
  color: #000;
  float: left;
  font-weight: bold;
  line-height: 20px;
  text-align: right;
  width: 100%;
}

.owl-carousel.owl-drag .owl-item .itemIndex div p.akcija,
.owl-carousel.owl-drag .owl-item .itemIndex div p.staro {
  color: #f00;
  text-align: left;
  width: 50%;
}

.owl-carousel.owl-drag .owl-item .itemIndex div p.staro {
  color: #aaa;
  padding-left: 20px;
  text-align: right;
  text-decoration: line-through;
}

.owl-carousel.owl-drag .owl-item .itemIndex div span {
  display: inline-block;
  font-size: 0.65em;
  height: 14px;
  line-height: 14px;
  text-align: right;
  width: 100%;
}

.owl-carousel.owl-drag .owl-item .itemIndex div p.akcija span {
  text-align: left;
}

.richText-editor {
  font-family: 'Open Sans' !important;
  font-weight: 300;
  line-height: 150%;
}

.richText {
  background: #111 !important;
  border: 1px solid #777 !important;
  color: #aaa !important;
}

.richText .richText-editor {
  background-color: #222 !important;
  border-left: #222 solid 2px !important;
}
