/* 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;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #222;
  font-size: 62.5%;
  font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Tahoma, sans-serif;
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1;
}

body.fixed {
  position: fixed;
}

:root {
  --color-main: #3f283f;
  --color-sub: #9ecf63;
  --color-sub-hover: #c29b40;
  --font-header: 'Kanit', sans-serif;
  --font-body: 'Kanit', sans-serif;

  --h1-font-size: 3.2em;
  --h2-font-size: 2.6em;
  --h3-font-size: 2.2em;
  --h1-margin-bottom: 48px;
  --h2-margin-bottom: 32px;
  --h3-margin: 24px;
  --margin-first: 32px;
  --p-font-size: 1.7em;
  --section-padding: 80px;
  --div-nekretnineDet-font-size: 1.6em;
  --ul-text-small-font-size: 1.6em;
}

@media screen and (max-width: 400px) {
  :root {
    --h1-font-size: calc(3.2em / 1.2);
    --h2-font-size: calc(2.6em / 1.2);
    --h3-font-size: calc(2.2em / 1.2);
    --h1-margin-bottom: 32px;
    --h2-margin-bottom: 24px;
    --h3-margin: 16px;
    --margin-first: 24px;
    --p-font-size: 1.5em;
  }
}

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

header {
  height: 150px;
  margin: 0 auto;
  position: relative;
  background: #eee;
}

h1,
h2,
h3 {
  font-family: var(--font-header);
  font-size: var(--h1-font-size);
  font-weight: 400;
  line-height: 130%;
  margin: 0 auto;
  margin: 0 0 var(--h1-margin-bottom) 0;
  width: 100%;
}

h1.det {
  margin: var(--h2-margin-bottom) 0;
}

h2 {
  font-size: var(--h2-font-size);
  margin: 0 0 var(--h2-margin-bottom) 0;
}

h2.text {
  margin: var(--h1-margin-bottom) 0 var(--h2-margin-bottom);
}

h2.c {
  text-align: center;
}

h3.text {
  font-size: var(--h3-font-size);
  margin-bottom: var(--h2-margin-bottom);
  text-transform: uppercase;
}

h3.text2 {
  font-size: var(--h3-font-size);
  margin: var(--h2-margin-bottom) 0;
}

p.text + h3.text {
  margin-top: calc(var(--h2-margin-bottom) * 1.25);
}

h3.text.admin {
  background: #f7f7f7;
  margin: 0;
  padding: 32px;
}

p.text,
ul.text,
ol.text {
  font-size: var(--p-font-size);
  line-height: 150%;
}

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

p.text.red {
  color: red;
}

p.text.napomena {
  font-size: calc(var(--p-font-size) * 0.9);
}

p.text.napomena.kalendar {
  padding-top: 16px;
}

p.text.result {
  padding-bottom: 16px;
}

p.text.result2 {
  color: green;
  padding-top: 32px;
  text-transform: uppercase;
}

p.text.result2 + p.text.result2 {
  margin-top: 0;
}

p.text.result2.red {
  color: red;
}

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

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

ul.text > li,
ol.text > li {
  margin-top: 10px;
}

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

/**/

div.prvaLinija {
  background: #fff;
  border-bottom: 1px solid #eee;
  font-size: 1.4em;
  height: 50px;
  padding: 15px 0;
}

div.prvaLinija ul {
  left: calc((100% - 1200px) / 2);
  position: absolute;
  top: 15px;
}

div.prvaLinija li {
  float: left;
  line-height: 20px;
  list-style: none;
}

div.prvaLinija li + li {
  border-left: 1px solid #eee;
  margin-left: 10px;
  padding-left: 10px;
}

div.prvaLinija span {
  line-height: 25px;
  left: calc((100% - 1200px) / 2);
  position: absolute;
  top: 0;
}

div.prvaLinija span em {
  font-style: normal;
  padding: 0 10px 0 0;
}

div.prvaLinija span em + em {
  border-left: 1px solid #eee;
  padding: 0 0 0 10px;
}

#ham {
  display: none;
}

ul.zastave {
  display: flex;
  font-size: 1.4em;
  font-weight: 300;
  line-height: 20px;
  list-style: none;
  position: absolute;
  right: calc((100% - 1200px) / 2);
  text-align: center;
  top: 15px;
}

.zastave li {
  display: block;
  text-align: center;
}

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

.zastave li:last-of-type {
  margin-right: 0;
}

.zastave a {
  color: var(--color-main);
  display: block;
  padding: 0 10px;
  text-decoration: none;
  text-transform: lowercase;
}

.zastave a:hover {
  background: #eee;
  color: #000;
}

div.drugaLinija {
  align-items: center;
  display: flex;
  height: 100px;
  justify-content: space-between;
  margin: 0 auto;
  width: 1200px;
}

#logo {
  display: flex;
  flex: 0 0 200px;
  font-size: 2em;
  z-index: 100;
}

#logo a {
  color: var(--color-main);
  display: block;
  font-weight: 400;
  text-decoration: none;
}

#logo img {
  width: 100%;
}

.buttons,
.buttons2 {
  display: none;
}

nav {
  flex: 0 0 calc(100% - 225px);
}

#mainNav {
  display: flex;
  justify-content: flex-end;
}

#mainNav li {
  font-size: 1.6em;
  font-weight: 400;
}

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

#mainNav a {
  color: var(--color-main);
  display: block;
  font-family: var(--font-header);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 70px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

#mainNav.nekretnine a {
  color: #81336a;
}

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

/**/

main {
  display: grid;
  grid-template-columns: repeat(var(--bs-columns, 12), 1fr);
  margin: calc(var(--h1-margin-bottom) * 1.33) auto;
  padding: 0;
  width: min(1200px, 90%);
}

main.full {
  margin: 0;
  width: 100%;
}

#indexSearchHolder {
  background: var(--color-main);
  display: none;
  padding: 30px 0;
}

/* breadcrumb */

#navTo {
  grid-column: 1 / 13;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

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

#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 {
  float: left;
  display: block;
  padding: 0 10px 0 0;
  text-decoration: none;
  color: var(--main-color);
  text-align: left;
  line-height: 22px;
}

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

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

/**/

#objektiList {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr 1fr;
  list-style: none;
}

#objektiList > li {
  border: 1px solid #eee;
  position: relative;
}

#objektiList li:hover {
  background: #f7f7f7;
}

#objektiList li > a {
  display: flex;
  position: relative;
}

#objektiList img.smjestaj {
  aspect-ratio: 109 / 60;
  border-bottom: 1px solid #eee;
  width: 100%;
}

#objektiList img.stars {
  border: 0;
  display: block;
  top: 12px;
  right: 12px;
  position: absolute;
  width: 120px;
}

#objektiList p.cijena {
  bottom: 12px;
  color: #000;
  background: #fff;
  position: absolute;
  right: 12px;
  font-size: 2em;
  padding: 12px 12px;
}

#objektiList div {
  padding: 24px;
}

#objektiList h3 {
  font-size: 2em;
  margin-bottom: 24px;
}

#objektiList ul.karakteristike {
  display: flex;
  font-size: calc(var(--p-font-size) * 0.75);
  gap: 5px;
  grid-template-columns: 1fr 1fr 1fr;
  list-style: none;
  margin: 0 auto;
}

#objektiList ul.karakteristike li {
  align-items: center;
  flex: auto;
  display: flex;
  flex-wrap: wrap;
  line-height: 150%;
  white-space: nowrap;
}

#objektiList ul.karakteristike span {
  display: block;
  flex: 0 0 100%;
  font-size: calc(var(--p-font-size) * 1);
  margin-bottom: 5px;
}

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

/**/

section {
  grid-column: 1 / 8;
}

aside {
  grid-column: 9 / 13;
}

section.full {
  grid-column: 1 / 13;
}

section.index {
  background: #ddd url('images/index.jpg') center center;
  background-size: cover;
  grid-column: 1 / 13;
  height: calc(100vh - 150px);
  position: relative;
}

section.index h1 {
  color: #fff;
  bottom: 10vh;
  font-weight: 500;
  margin: 0 auto;
  padding: 0 5%;
  position: absolute;
  text-align: center;
  width: 100%;
}

section.index div.recenzije {
  animation: left_right 2s 1s forwards;
  background: var(--color-main);
  bottom: 0;
  color: #fff;
  display: flex;
  left: -100%;
  padding: var(--h1-margin-bottom);
  position: absolute;
}

@keyframes left_right {
  from {
    left: -100%;
  }
  to {
    left: 0;
  }
}

section.index div.recenzije span {
  display: block;
  flex: 0 0 100%;
  font-size: 0.9em;
  margin-top: 5px;
}

/**/

section.index_dole {
  grid-column: 1 / 13;
  margin: calc(var(--h1-margin-bottom) * 1.33) auto;
}

section.index_dole > div {
  margin: 0 auto;
  width: min(800px, 90%);
}

section.index_dole > div + div {
  margin-top: calc(var(--h1-margin-bottom) * 1.33);
  width: min(900px, 90%);
}

section.index_dole h2,
section.index_dole p {
  text-align: center;
}

section.index_dole div.ponuda {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
}

section.index_dole div.ponuda > div {
  display: flex;
}

section.index_dole div.ponuda > div a {
  display: flex;
  flex: 1;
  position: relative;
}

section.index_dole div.ponuda > div img {
  aspect-ratio: 3 / 2;
  display: block;
  width: 100%;
}

section.index_dole div.ponuda > div span {
  bottom: 32px;
  color: #fff;
  font-size: 2.5em;
  font-weight: 500;
  position: absolute;
  right: 32px;
}

section.thx {
  margin: calc(var(--h1-margin-bottom) * 1.33) auto;
}

/**/

div.preporuka_holder {
  display: none;
  grid-column: 1 / 13;
}

div.preporuka_holder > div {
  width: min(900px, 90%);
  margin: 0 auto;
}

ul.preporuka {
  gap: 5px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-bottom: 50px;
  overflow-x: scroll;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

ul.preporuka > li {
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: var(--color-first);
  display: flex;
  flex: auto;
  flex-wrap: wrap;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.5s;
}

ul.preporuka > li + li {
  margin-left: 12px;
}

ul.preporuka li:hover {
  background: #f7f7f7;
}

ul.preporuka li > a {
  display: flex;
  flex: 0 0 100%;
  position: relative;
}

ul.preporuka img.smjestaj {
  border-bottom: 1px solid #eee;
  width: 100%;
}

ul.preporuka img.stars {
  border: 0;
  display: block;
  top: 12px;
  right: 12px;
  position: absolute;
  width: 120px;
}

ul.preporuka p.cijena {
  border-radius: 4px;
  bottom: 12px;
  color: #000;
  background: #fff;
  position: absolute;
  right: 8px;
  font-size: 1.8em;
  padding: 8px 8px;
}

ul.preporuka div {
  padding: 12px;
  width: 100%;
}

ul.preporuka h3 {
  font-size: 2em;
  margin-bottom: 24px;
}

ul.preporuka ul.karakteristike {
  display: flex;
  font-size: calc(var(--p-font-size) * 0.75);
  gap: 5px;
  grid-template-columns: 1fr 1fr 1fr;
  list-style: none;
  margin: 0 auto;
}

ul.preporuka ul.karakteristike li {
  align-items: center;
  flex: auto;
  display: flex;
  flex-wrap: wrap;
  line-height: 150%;
  white-space: nowrap;
}

ul.preporuka ul.karakteristike span {
  display: block;
  flex: 0 0 100%;
  font-size: calc(var(--p-font-size) * 1);
  margin-bottom: 5px;
}

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

.styled-scrollbars {
  /* Foreground, Background */
  scrollbar-color: var(--color-main) #eee;
  transition: all 0.5s;
}
.styled-scrollbars::-webkit-scrollbar {
  width: 5px; /* Mostly for vertical scrollbars */
  height: 5px; /* Mostly for horizontal scrollbars */
}
.styled-scrollbars::-webkit-scrollbar-thumb {
  /* Foreground */
  background: var(--color-main);
  transition: all 0.5s;
}
.styled-scrollbars::-webkit-scrollbar-track {
  /* Background */
  background: #fff;
  transition: all 0.5s;
}

.styled-scrollbars.show {
  /* Foreground, Background */
  scrollbar-color: var(--color-main) #eee;
}

.styled-scrollbars.show::-webkit-scrollbar-thumb {
  /* Foreground */
  background: var(--color-main);
}
.styled-scrollbars.show::-webkit-scrollbar-track {
  /* Background */
  background: #eee;
}

/**/

div.main_gallery {
  aspect-ratio: 3 / 2;
  background: #eee;
  display: flex;
  position: relative;
}

div.main_gallery > a {
  display: flex;
  flex: 1;
}

div.main_gallery img {
  object-fit: cover;
  width: 100%;
}

div.main_gallery div.photos {
  align-items: center;
  border-radius: 4px;
  bottom: 16px;
  color: #fff;
  display: flex;
  left: 24px;
  padding: 8px;
  position: absolute;
}

div.main_gallery div.photos span.icon {
  color: #fff;
  height: 24px;
  margin-right: 8px;
  width: 24px;
}

div.main_gallery div.photos span.icon svg {
  stroke-width: 2;
}

div.main_gallery div.photos span.data {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 1.8em;
  font-weight: 500;
}

div.main_fetures {
  display: grid;
  gap: calc(var(--margin-first) / 2) var(--margin-first);
  grid-template-columns: auto auto auto auto;
  padding: 0 0 var(--margin-first) 0;
}

div.main_fetures div {
  align-items: center;
  display: flex;
  font-size: 2.5em;
}

div.main_fetures div span {
  color: #777;
  font-size: 0.75em;
}

div.main_karakteristike {
  border-top: 1px solid #eee;
  padding: var(--margin-first) 0;
}

div.main_karakteristike ul {
  display: grid;
  font-size: var(--p-font-size);
  gap: 12px 24px;
  grid-template-columns: auto auto auto;
  list-style: none;
  margin: 0 auto;
}

div.main_karakteristike ul.udaljenosti span {
  margin-left: 12px;
}

div.main_karakteristike li {
  align-items: center;
  display: flex;
  line-height: 150%;
}

div.main_karakteristike li:nth-child(3n) {
  margin-right: 0;
}

div.main_karakteristike li span.icon {
  border-radius: 10px;
  height: 24px;
  margin-right: 16px;
  width: 24px;
}

div.main_karakteristike li span.icon img {
  width: 100%;
}

div.main_karakteristike li span.value {
  font-weight: 400;
  display: flex;
  justify-self: flex-end;
}

div.main_opis {
  border-top: 1px solid #eee;
  padding: var(--margin-first) 0;
}

div.main_opis p {
  font-size: var(--p-font-size);
  line-height: 160%;
}

div.main_opis p + p {
  margin-top: var(--margin-first);
}

div.main_kalendar {
  border-top: 1px solid #eee;
  margin-top: var(--margin-first);
  min-height: 300px;
  padding-top: var(--margin-first);
}

div.main_cjenik {
  border-top: 1px solid #eee;
  margin-top: 0;
  padding-top: var(--margin-first);
}

div.main_cjenik > div {
}

div.main_cjenik > div + div {
  margin-top: 24px;
}

div.main_cjenik > div > div {
  display: flex;
  justify-content: space-between;
}

div.main_cjenik > div > div + div {
  border-top: 1px dashed #eee;
  margin-top: 8px;
  padding-top: 8px;
}

div.main_cjenik span {
  font-size: calc(var(--p-font-size) * 0.9);
}

div.main_cjenik div.cjenik_napomena {
  border: 1px solid var(--color-sub);
  padding: 16px;
}

div.main_form {
  border-top: 1px solid #eee;
  margin-top: var(--margin-first);
  padding-top: var(--margin-first);
}

div.main_form.hide {
  display: none;
}

#napomena_dodatni_lezajevi {
  border: 1px solid var(--color-sub);
  font-size: calc(var(--p-font-size) * 0.9);
  line-height: 160%;
  margin-bottom: var(--h2-margin-bottom);
  padding: 12px;
}

#napomena_forma {
  display: none;
}

#napomena_forma.show {
  border: 1px solid red;
  display: flex;
  font-size: calc(var(--p-font-size) * 0.9);
  line-height: 160%;
  margin-bottom: var(--h2-margin-bottom);
  padding: 12px;
}

div.main_dodatno {
  border-top: 1px solid #eee;
  margin-top: var(--margin-first);
  padding-top: var(--margin-first);
}

div.main_dodatno ul {
  font-size: calc(var(--p-font-size) * 0.95);
  line-height: 150%;
  margin-left: 20px;
}

div.main_dodatno ul ul {
  font-size: 1em;
  margin-left: 20px;
}

div.main_dodatno > ul.text > li + li {
  margin-top: 5px;
}

/**/

aside div.rezervacija_data {
  border: 1px solid var(--color-main);
  padding: 24px;
  position: sticky;
  top: 48px;
}

aside div.rezervacija_data h3 {
  margin-bottom: calc(var(--h2-margin-bottom) / 2);
}

div.rezervacija_data div.data {
  display: flex;
  flex-wrap: wrap;
}

div.rezervacija_data div.data > div {
  display: flex;
  flex: 0 0 100%;
  flex-wrap: wrap;
  gap: 4px 4px;
  justify-content: space-between;
}

div.rezervacija_data div.data > div.iznos {
  border-top: 1px solid #eee;
  margin-bottom: 0;
  padding-top: 12px;
}

div.rezervacija_data div.data > div.iznos.dole {
  font-weight: bold;
}

div.rezervacija_data div.data > div + div {
  margin-top: 12px;
}

div.rezervacija_data div.data > div + div.submit {
  margin-top: 24px;
}

div.rezervacija_data div.data span {
  font-size: calc(var(--p-font-size) * 0.9);
}

div.rezervacija_data div.data span.label {
  flex: 0 0 150px;
  white-space: nowrap;
}

div.rezervacija_data input.submit {
  background: green;
  border: 1px solid green;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  flex: 0 0 100%;
  font-family: var(--font-body);
  font-size: var(--p-font-size);
  padding: 12px 24px;
  transition: all 0.5s;
  white-space: break-spaces;
}

div.rezervacija_data input.submit:hover {
  background: darkgreen;
}

aside .hide {
  display: none !important;
}

div.img_holder {
  margin-top: 32px;
}

div.img_holder img {
  display: block;
  width: 100%;
}

/**/

aside.sub > div {
  border: 1px solid var(--color-main);
  padding: 24px;
  position: sticky;
  top: 48px;
}

aside.sub > div ul {
  margin: 0;
}

aside.sub > div li {
  list-style: none;
  margin: 0;
}

aside.sub > div li + li {
  margin-top: 8px;
}

/* ASIDE ADMIN */

ul.admin_smjestaj_nav {
  font-size: var(--p-font-size);
  list-style-type: none;
}

ul.admin_smjestaj_nav li + li {
  margin-top: 16px;
}

/**/

fieldset.upit.admin {
  padding: 32px;
}

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

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

fieldset.upit li.provjera,
fieldset.upit li.prihvacanje {
  margin-top: 24px;
}

fieldset.upit li.sbmt {
  margin: 24px 0 0 220px;
}

fieldset.upit li.separator {
  padding: 5px 0;
}

fieldset.upit li.box input.box {
  height: 16px;
  width: 16px;
}

fieldset.upit label {
  align-items: center;
  display: flex;
  flex: 0 0 220px;
  font-size: var(--p-font-size);
  line-height: 40px;
}

fieldset.upit label.spam {
  flex: 0 0 calc(100% - 224px);
  line-height: 25px;
  margin-right: 24px;
}

fieldset.upit label.prihvacanje {
  flex: 0 0 calc(100% - 30px);
  line-height: 130%;
}

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

fieldset.upit label.box {
  min-height: 30px;
}

fieldset.upit label.separator {
  background: #eee;
  flex: 0 0 100%;
  min-height: 1px;
}

fieldset.upit input.text,
fieldset.upit input.textx,
input.slike,
fieldset.upit select,
fieldset.upit textarea,
fieldset.upit input.submit,
fieldset.upit input.reset {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #000;
  flex: 1;
  font-family: var(--font-body);
  font-size: var(--p-font-size);
  font-weight: 300;
  height: 40px;
  margin: 0;
  padding: 5px 10px;
}

fieldset.upit input.textx {
  max-width: 120px;
}

fieldset.upit textarea {
  height: 200px;
  width: 100px;
}

fieldset.upit select {
  max-width: calc(100% - 220px);
}

fieldset.upit input.submit {
  background: #3a5c89;
  background: green;
  color: #fff;
  cursor: pointer;
  height: 52px;
  padding: 12px 24px;
  transition: all 0.5s;
}

fieldset.upit input.submit.red {
  background: red;
}

fieldset.upit label.spam + div {
  align-items: center;
  display: flex;
  flex: 0 0 200px;
  justify-content: space-between;
}

fieldset.upit label.spam + div span {
  align-items: center;
  display: flex;
  flex: 0 0 20px;
  font-size: 2em;
  justify-content: center;
}

input[type='file']::file-selector-button {
  cursor: pointer;
  transition: 1s;
}

input[type='file']::file-selector-button:hover {
}

li.provjera img {
  background: #eee;
  display: block;
  height: 34px;
  width: 100px;
}

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

fieldset.upit input.textx + input.textx {
  margin-left: 10px;
}

fieldset.upit input.textx.provjera {
  height: 38px;
  max-width: 60px;
}

fieldset.upit input.reset {
  background: #fff;
  color: #333;
  cursor: pointer;
  padding: 10px;
}

fieldset.upit .bold input {
  font-weight: bold !important;
}

fieldset.upit input.submit.nekretnina {
  background: #81336a;
}

fieldset.upit input.submit:hover {
  background: #fff;
  background: darkgreen;
  border: 1px solid #3a5c89;
}

fieldset.upit input.submit.red:hover {
  background: #fff;
  background: darkred;
  border: 1px solid darkred;
}

fieldset.upit input.ro:read-only,
fieldset.upit textarea.ro:read-only,
fieldset.upit select:disabled {
  border: 1px solid green;
}

fieldset.upit input.radio {
  margin-right: 12px;
}

fieldset.upit div.placanje {
  display: flex;
  gap: 4px 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

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

fieldset.upit div.placanje div label {
  margin-bottom: 0;
}

#wspay.hide {
  display: none;
}

div.submit_fields {
  display: flex;
  justify-content: space-between;
}

div.submit_fields input {
  border: 1px solid var(--color-sub);
  border-radius: 5px;
  cursor: pointer;
  flex: 0 0 calc(50% - 10px) !important;
  font-family: var(--font-body);
  font-size: var(--p-font-size);
  height: 52px !important;
  margin-top: 24px;
  padding: 12px 24px;
  transition: all 0.5s;
}

div.submit_fields input.submit {
  background: green;
  color: #fff;
}

div.submit_fields input.reset {
  background: #fff;
  color: #333;
}

div.submit_fields input.submit:hover {
  background: darkgreen;
  border: 1px solid #3a5c89;
}

div.submit_fields input.reset:hover {
  border: 1px solid #eee;
}

/**/

div.udaljenosti {
  display: grid;
  gap: 12px 24px;
  grid-template-columns: 1fr 1fr;
  font-size: var(--p-font-size);
}

div.udaljenosti > div {
  display: flex;
  justify-content: space-between;
}

div.udaljenosti > div span {
}

div.kontakt {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

span.upper {
  display: block;
  font-weight: 500;
  margin-bottom: 12px;
  text-transform: uppercase;
}

div.kontakt p {
  line-height: 135%;
}

div.kontakt p.head {
  font-family: var(--font-header);
  font-size: 1.2em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

#video {
  background: #eee;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  position: relative;
  width: 100%;
}

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

ul.mainDataList li {
  background: #eee;
  margin-right: 2px;
  color: #000;
  float: left;
  font-size: 2.4em;
  font-weight: 800;
  list-style: none;
  padding: 10px 0 15px;
  text-align: center;
  width: calc((100% - 2px) / 2);
}

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

ul.mainDataList li:nth-child(n + 1) {
  margin-top: 1px;
}

ul.mainDataList span {
  font-family: 'Open sans';
  font-size: 0.6em;
  font-weight: normal;
}

#cjenik {
  margin-bottom: 40px;
  font-size: 1.6em;
  margin: 0 auto 40px;
  width: 100%;
}

#cjenik li {
  float: left;
  line-height: 150%;
  list-style: none;
  text-align: center;
  width: calc(100% / 6);
}

#cjenik li + li {
  border-left: 1px solid #eee;
}

#cjenik li:hover {
  background: #f7f7f7;
}

#cjenik p {
  padding: 5px;
}

#cjenik p + p {
  border-top: 1px solid #eee;
  font-size: 1.2em;
  font-weight: bold;
}

#cjenik span {
  display: block;
}

span.head {
  font-size: 1.2em;
  text-transform: uppercase;
}

#expose {
  background: url(images/pdf.png) left center no-repeat;
  float: left;
  font-size: 2.6em;
  line-height: 55px;
  margin: 20px 0 0 10px;
  padding: 0 0 0 40px;
}

#expose a {
  text-decoration: none;
}

div.cijenaDet {
  font-size: 3em;
  font-weight: 500;
  line-height: 25px;
  margin: 20px 0 10px;
  text-align: right;
}

div.cijenaDet div {
  float: right;
}

div.cijenaDet div.staro {
  text-decoration: line-through;
}

div.cijenaDet div.akcija {
  color: red;
}

div.cijenaDet div span {
  font-size: 0.6em;
}

div.cijenaDet div + div {
  margin-right: 20px;
}

div.sivi {
  background: #f7f7f7;
  padding: 20px;
}

#formKontakt {
  background: #f7f7f7;
}

/* poruka */
.sivi #results,
.sivi #results3 {
  float: right;
  margin: 0 0 0 0;
  width: 100%;
}

#results_inner,
#results_inner3 {
  border: 1px solid #eee;
  background: green;
  color: #fff;
  font-size: 1.6em;
  padding: 25px 0;
  text-align: center;
  width: 100%;
}

#results_inner.error,
#results_inner3.error {
  border: 0;
  background: #fff;
  color: #f00;
  margin: 25px 0;
  padding: 0;
}

#expose {
  background: url(images/pdf.png) left center no-repeat;
  float: left;
  font-size: 2.6em;
  line-height: 55px;
  margin-left: 5px;
  padding: 0 0 0 40px;
}

#expose a {
  text-decoration: none;
}

div.cijenaDet {
  font-size: 2.6em;
  line-height: 25px;
  margin-bottom: 10px;
  margin-right: 5px;
  text-align: right;
}

div.cijenaDet div {
  float: right;
}

div.cijenaDet div.staro {
  text-decoration: line-through;
}

div.cijenaDet div.akcija {
  color: red;
}

div.cijenaDet div span {
  font-size: 0.6em;
}

div.cijenaDet div + div {
  margin-right: 20px;
}

#dataBox {
  color: #fff;
}

ul.nekDataList li {
  background: #aaa;
  border-right: 1px solid #fff;
  float: left;
  font-size: 2.4em;
  list-style: none;
  padding: 10px 0 15px;
  text-align: center;
  width: calc(100% / 4);
}

ul.nekDataList li:last-child {
  border: 0;
}

ul.nekDataList span {
  color: #fff;
  font-size: 0.5em;
}

.addData {
  margin: 1px 0 1px;
}

.addData li {
  background: #ddd;
  border: 0 !important;
  float: left;
  font-size: 1.8em;
  list-style: none;
  margin-right: 2px;
  cursor: pointer;
  text-align: center;
  width: calc((100% / 3) - 2px);
  position: relative;
}

.addData li:nth-child(n + 3) {
}

.addData li:last-child {
  margin-right: 0;
  width: calc(100% / 3);
}

.addData a,
.addData span {
  background: #81336a;
  color: #fff !important;
  display: block;
  padding: 20px 0;
  text-decoration: none;
}

.addData span {
  background: #eee;
  color: #000 !important;
}

.addData a:hover {
  background: #000;
  color: #fff;
}

#tabs {
  margin-bottom: 30px;
}

#map {
  height: 510px;
  width: 100%;
}

/* pagination */

div.rez {
  align-items: center;
  border-top: 1px solid #eee;
  color: #555;
  display: flex;
  font-size: 1.5em;
  justify-content: space-between;
  line-height: 160%;
  margin: 18px 0 0 0;
  padding-top: 18px;
  text-align: center;
  width: 100%;
}

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

span.cur,
span.ukupno {
  background: var(--color-sub);
  border: 1px solid #fff;
  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;
  display: block;

  padding: 3px 8px;
}

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

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

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

/**/

footer {
  background: var(--color-main);
  color: #fff;
  font-size: 1.5em;
}

footer.err {
  background: #bbb;
}

#footHolder {
  margin: 0 auto;
  padding: 64px 0;
  width: min(1200px, 90%);
}

#footKartice {
  display: flex;
  justify-content: center;
}

#footKartice ul {
  align-items: center;
  display: flex;
  justify-content: center;
  list-style: none;
  max-width: 500px;
}

#footKartice li {
  flex: 0 1 auto;
}

#footKartice li + li {
  margin-left: 5px;
}

#footKartice li img {
  width: 100%;
}

.footHolder + .footHolder {
  margin-top: var(--margin-first);
}

.footHolder ul {
  display: flex;
  justify-content: center;
  line-height: 100%;
  list-style-type: none;
  margin: 0;
  text-align: center;
}

.footHolder li {
  padding: 5px 10px;
}

.footHolder li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

#copy {
  margin-top: var(--margin-first);
}

#copy p {
  line-height: 150%;
  padding: 5px 0;
  text-align: center;
}

footer a {
  color: #fff;
}

footer a:hover {
  text-decoration: none;
}

/* form */
fieldset.indexSearch {
  margin: 0 auto;
  width: 1140px;
}

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

fieldset ol + ol {
  border-top: 1px solid #eee;
}

fieldset.indexSearch li {
  float: left;
  margin-right: 10px;
  width: calc((100% - 40px) / 5);
}

fieldset.indexSearch li:last-child {
  margin-right: 0;
}

fieldset.indexSearch input.text,
fieldset.indexSearch input.textx,
fieldset.indexSearch select,
fieldset.indexSearch textarea,
fieldset.indexSearch input.submit {
  background: var(--color-main);
  border: 1px solid rgba(255, 255, 255, 1);
  color: #fff;
  float: right;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5em;
  font-weight: 300;
  margin: 0;
  padding: 8px 10px;
  position: relative;
  vertical-align: baseline;
  width: 100%;
  z-index: 5;
}

fieldset.indexSearch select {
  cursor: pointer;
}

fieldset.indexSearch input.submit:hover {
  background: #000;
  color: #fff;
  cursor: pointer;
}

fieldset.indexSearch input.text::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: white;
}
fieldset.indexSearch input.text::-moz-placeholder {
  /* Firefox 19+ */
  color: white;
}
fieldset.indexSearch input.text:-ms-input-placeholder {
  /* IE 10+ */
  color: white;
}
fieldset.indexSearch input.text:-moz-placeholder {
  /* Firefox 18- */
  color: white;
}

/* ADMIN */

div.admin_slike {
  border: 1px solid #eee;
  margin-top: 32px;
}

div.admin_inner {
  background: orange;
  border-top: 1px solid #eee;
}

div.admin_rezervacije {
  border: 1px solid #eee;
  margin-top: 32px;
}

div.admin_cjenici {
  border: 1px solid #eee;
  margin-top: 32px;
}

#rezervacije_block,
#rezervacije_block_aktivacija {
  border-bottom: 1px solid #eee;
}

#admin_rezervacije_list {
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  font-size: calc(var(--p-font-size) * 0.9);
  list-style: none;
  padding: 16px;
}

#admin_rezervacije_list > li {
  display: flex;
  flex: 0 0 100%;
}

#admin_rezervacije_list > li + li {
  margin-top: 5px;
}

#admin_rezervacije_list > li > div {
  align-items: center;
  display: flex;
  line-height: 150%;
}

#admin_rezervacije_list .status {
  flex: 0 0 16px;
  justify-content: flex-start;
}

span.status_novo {
  background: orange;
  border-radius: 50%;
  display: flex;
  height: 8px;
  width: 8px;
}

#admin_rezervacije_list .osoba {
  flex: 1 1 200px;
}

#admin_rezervacije_list .period {
  flex: 1 1 auto;
}

#admin_rezervacije_list .datum {
  flex: 0 0 170px;
}

#admin_rezervacije_list .iznos {
  flex: 0 0 80px;
  justify-content: flex-end;
}

#admin_rezervacije_list .dani {
  flex: 0 0 30px;
  justify-content: flex-end;
}

#admin_rezervacije_list .ikonice {
  flex: 0 0 35px;
  margin-left: 20px;
}

#admin_rezervacije_list .ikonice span + span {
  margin-left: 2px;
}

#admin_rezervacije_list div.ikonice span {
  border-radius: 2px;
  color: #fff;
  cursor: help;
  display: block;
  font-size: 0.6em;
  height: 15px;
  line-height: 15px;
  text-align: center;
  width: 15px;
}

span.resurs_web {
  background: #3a5c89;
}

span.resurs_unos {
  background: gold;
}

span.resurs_none {
  background: gray;
}

span.resurs_placeno {
  background: limegreen;
}

span.resurs_neplaceno {
  background: transparent;
}

span.resurs_potvrdjeno {
  background: darkgreen;
}

span.resurs_nepotvrdjeno {
  background: transparent;
}

/**/

ul.galerija {
  border-top: 1px solid #eee;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  list-style: none;
  padding: 32px 32px 0;
}

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

ul.galerija li + li {
  margin: 0;
}

ul.galerija a.fancybox {
  background: #fff url(images/loading.gif) center no-repeat;
  border: 1px solid #aaa;
  display: block;
  flex: 0 0 100%;
  margin-bottom: 10px;
}

ul.galerija a.fancybox:hover {
  border: 1px solid #f00;
  box-shadow: none;
}

ul.galerija img {
  width: 100%;
  height: auto;
}

input.slike {
  flex: 0 0 50px;
  line-height: 28px;
  max-width: 50px;
}

ul.galerija a.brisi {
  background: #fff;
  box-shadow: none;
  border: 1px solid #5497f2;
  border-radius: 4px;
  color: #5497f2;
  flex: 0 0 calc(100% - 60px);
  font-family: 'Open Sans', Tahoma, sans-serif;
  font-size: 1.6em;
  height: auto;
  line-height: 28px;
  padding: 5px;
  text-align: center;
  text-decoration: none;
}

ul.galerija a.brisi:hover {
  background: #5497f2;
  color: #fff;
}

#admin_list {
  border: 1px solid #eee;
  margin-top: 20px;
}

#admin_list h3 {
}

#admin_list div.nek {
  display: flex;
  padding: 10px;
}

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

#admin_list div.nek > a {
  display: flex;
  flex: 0 0 75px;
  margin: 0 10px 0 0;
}

#admin_list div.nek img {
  background: #fff url(images/loading.gif) center no-repeat;
  border: 1px solid #eee;
  height: 50px;
  width: 75px;
}

#admin_list div.nek > div {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
}

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

#admin_list div.nek > div p.naziv {
  flex: 0 0 calc(100% - 80px);
}

#admin_list div.nek > div p.posjeta {
  flex: 0 0 80px;
  text-align: right;
}

#admin_list div.nek > div p.unos {
  flex: 1 1 calc(100% - 50px - 80px);
}

#admin_list div.nek > div p.ostalo {
  align-items: center;
  display: flex;
  flex: 0 0 80px;
  font-size: 1.4em;
}

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

span.admtp,
span.admpr,
span.admrz,
span.admne,
span.admno,
span.admtr,
span.admso,
span.none {
  align-items: center;
  border-radius: 5px;
  color: #fff;
  display: flex;
  justify-content: center;
  width: 25px;
}

span.admtp {
  background: #f00;
}

span.admpr {
  background: #000;
}

span.admrz {
  background: #0054ff;
}

span.admne {
  background: #555;
}

span.admno {
  background: #00ab00;
}

span.admtr {
  background: #0054ff;
}

span.admso {
  background: #81336a;
}

/* */

.lazyload,
.lazyloading {
  opacity: 0;
}

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

@media screen and (max-width: 1280px) {
  div.prvaLinija ul {
    left: 5%;
  }

  ul.zastave {
    right: 5%;
  }
  div.drugaLinija {
    width: min(1200px, 90%);
  }
}

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

@media screen and (max-width: 950px) {
  header {
    height: 145px;
    overflow: hidden;
    transition: all 0.25s;
  }

  header.show {
    height: 530px;
  }

  div.prvaLinija ul {
    display: flex;
    justify-content: flex-start;
    width: calc(100% - 50px);
  }

  #ham {
    background: var(--color-main);
    display: block;
    height: 50px;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 50px;
  }

  .burger-container {
    cursor: pointer;
    display: inline-block;
    height: 50px;
    position: absolute;
    transform: rotate(0deg);
    transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    width: 50px;
    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.zastaveHolder {
    display: flex;
    flex: 0 0 100%;
    justify-content: center;
    margin: 10px 0;
  }

  ul.zastave {
    position: static;
  }

  ul.zastave span {
    display: inline;
  }

  div.drugaLinija {
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
  }

  #logo {
    margin: 15px 0;
  }

  #logo a {
    flex: 1;
    text-align: center;
  }

  nav {
    flex: 0 0 100%;
    margin-top: 20px;
  }

  #mainNav {
    flex-wrap: wrap;
    justify-content: center;
  }

  #mainNav li {
    flex: 0 0 100%;
  }

  #mainNav li + li {
    margin: 10px 0 0;
  }

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

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

@media screen and (max-width: 900px) {
  section,
  aside {
    grid-column: 1 / 13;
  }

  aside {
    background: #fff;
    border-top: 1px solid var(--color-sub);
    bottom: 0;
    position: fixed;
    left: 0;
    width: 100%;
  }

  aside.sub {
    display: none;
    position: static;
  }

  /* ASIDE ADMIN */

  aside div.rezervacija_data.smjestaj {
    padding: 16px;
  }

  ul.admin_smjestaj_nav {
    display: grid;
    grid-gap: 4px;
    grid-template-columns: 1fr 1fr 1fr;
  }

  ul.admin_smjestaj_nav li + li {
    margin-top: 0;
  }

  ul.admin_smjestaj_nav li {
    display: flex;
  }

  ul.admin_smjestaj_nav a {
    align-items: center;
    background-color: var(--color-sub);
    color: #fff;
    display: flex;
    flex: 1 0 auto;
    justify-content: center;
    padding: 12px 8px;
    text-decoration: none;
  }
}

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

@media screen and (max-width: 650px) {
  section.index_dole div.ponuda {
    grid-template-columns: 1fr;
  }

  #admin_rezervacije_list > li {
    flex-wrap: wrap;
  }

  #admin_rezervacije_list > li + li {
    border-top: 1px dashed #eee;
    margin: 0;
    padding: 5px 0;
  }

  #admin_rezervacije_list .osoba {
    flex: 0 0 calc(100% - 20px);
  }

  #admin_rezervacije_list .datum {
    flex: 1 0 auto;
  }

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

@media screen and (max-width: 600px) {
  section.index div.recenzije {
    animation: none;
    left: 0;
  }

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

  div.main_fetures {
    grid-template-columns: 1fr 1fr;
  }

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

  fieldset.upit li:not(.box) {
    flex-wrap: wrap;
  }

  fieldset.upit li.sbmt {
    margin-left: 0;
  }

  fieldset.upit li:not(.box) label,
  fieldset.upit label.spam {
    flex: 0 0 100%;
    margin: 0 0 4px;
  }

  fieldset.upit select {
    max-width: 100%;
  }

  div.udaljenosti {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 500px) {
  header.show {
    height: 420px;
  }

  div.prvaLinija ul {
    justify-content: center;
    left: 0;
  }

  div.prvaLinija ul li.admin {
    flex: 0 0 90%;
  }

  div.prvaLinija li + li {
    margin-left: 5px;
    padding-left: 5px;
  }

  footer {
    font-size: 1.4em;
  }

  .footHolder ul.dodatno {
    flex-wrap: wrap;
  }

  .footHolder ul.dodatno li {
    flex: 0 0 100%;
  }

  .footHolder ul.dodatno li + li {
    border: 0;
    margin-top: 10px;
  }

  fieldset.upit input.text[type='file'] {
    width: min(290px, 90%);
  }

  /* ADMIN */

  p.text.result2 {
    margin-bottom: 16px;
    padding-left: 8px;
    padding-right: 8px;
  }

  h3.text.admin {
    padding: 16px;
  }

  fieldset.upit.admin {
    padding: 16px;
  }

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

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

  #admin_list div.nek > div p.unos {
    display: none;
  }

  #admin_list div.nek > div p.posjeta {
    flex: 0 0 calc(100% - 130px);
    text-align: left;
  }

  #admin_list div.nek > div p.ostalo {
    font-size: 1.3em;
  }

  span.admtp,
  span.admpr,
  span.admrz,
  span.admne,
  span.admno,
  span.admtr,
  span.admso,
  span.none {
    width: 20px;
  }

  ul.galerija {
    grid-template-columns: 1fr 1fr;
    padding: 16px 16px 0;
  }

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

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

@media screen and (max-width: 400px) {
  #objektiList div {
    padding: 16px;
  }

  #objektiList ul.karakteristike {
    font-size: calc(var(--p-font-size) * 0.85);
  }

  div.main_gallery div.photos {
    bottom: 12px;
    left: 12px;
  }

  div.main_fetures div {
    font-size: 2.25em;
  }

  div.main_karakteristike li span.icon {
    margin-right: 12px;
  }

  div.kontakt {
    grid-template-columns: 1fr;
  }

  /* ASIDE */

  aside h3 {
    margin-bottom: 18px !important;
  }

  aside div.rezervacija_data {
    padding: 18px;
  }

  div.rezervacija_data div.data > div + div {
    margin-top: 8px;
  }

  div.rezervacija_data div.data > div.submit {
    margin: 24px 0 12px;
  }

  div.rezervacija_data div.data > div.datum {
  }

  div.rezervacija_data div.data > div.iznos {
    display: flex;
    margin-bottom: 0;
    padding-top: 8px;
  }

  div.rezervacija_data div.data > div.iznos.dole {
    font-weight: 600;
    justify-content: space-between;
  }

  aside span.label {
  }

  div.rezervacija_data div.data span {
    font-size: 1.5em;
  }

  /* ADMIN */

  aside div.rezervacija_data.smjestaj {
    padding: 8px;
  }
}

/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
  display: none;
}
.ui-helper-hidden-accessible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.ui--reset {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  line-height: 1.3;
  text-decoration: none;
  font-size: 100%;
  list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
  content: '';
  display: table;
  border-collapse: collapse;
}
.ui-helper-clearfix:after {
  clear: both;
}
.ui-helper-zfix {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  opacity: 0;
  filter: Alpha(Opacity=0); /* support: IE8 */
}

.ui-front {
  z-index: 100;
}

/* Interaction Cues
----------------------------------*/
.ui-state-disabled {
  cursor: default !important;
  pointer-events: none;
}

/* Icons
----------------------------------*/
.ui-icon {
  display: inline-block;
  vertical-align: middle;
  margin-top: -0.25em;
  position: relative;
  text-indent: -99999px;
  overflow: hidden;
  background-repeat: no-repeat;
}

.ui-widget-icon-block {
  left: 50%;
  margin-left: -8px;
  display: block;
}

/* Misc visuals
----------------------------------*/

/* Overlays */
.ui-widget-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.ui-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  outline: 0;
}
.ui-menu .ui-menu {
  position: absolute;
}
.ui-menu .ui-menu-item {
  margin: 0;
  cursor: pointer;
  /* support: IE10, see #8844 */
  list-style-image: url('data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7');
}
.ui-menu .ui-menu-item-wrapper {
  position: relative;
  padding: 3px 1em 3px 0.4em;
}
.ui-menu .ui-menu-divider {
  margin: 5px 0;
  height: 0;
  font-size: 0;
  line-height: 0;
  border-width: 1px 0 0 0;
}
.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
  margin: -1px;
}

/* icon support */
.ui-menu-icons {
  position: relative;
}
.ui-menu-icons .ui-menu-item-wrapper {
  padding-left: 2em;
}

/* left-aligned */
.ui-menu .ui-icon {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.2em;
  margin: auto 0;
}

/* right-aligned */
.ui-menu .ui-menu-icon {
  left: auto;
  right: 0;
}
.ui-button {
  padding: 0.4em 1em;
  display: inline-block;
  position: relative;
  line-height: normal;
  margin-right: 0.1em;
  cursor: pointer;
  vertical-align: middle;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  /* Support: IE <= 11 */
  overflow: visible;
}

.ui-button,
.ui-button:link,
.ui-button:visited,
.ui-button:hover,
.ui-button:active {
  text-decoration: none;
}

/* to make room for the icon, a width needs to be set here */
.ui-button-icon-only {
  width: 2em;
  box-sizing: border-box;
  text-indent: -9999px;
  white-space: nowrap;
}

/* no icon support for input elements */
input.ui-button.ui-button-icon-only {
  text-indent: 0;
}

/* button icon element(s) */
.ui-button-icon-only .ui-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -8px;
  margin-left: -8px;
}

.ui-button.ui-icon-notext .ui-icon {
  padding: 0;
  width: 2.1em;
  height: 2.1em;
  text-indent: -9999px;
  white-space: nowrap;
}

input.ui-button.ui-icon-notext .ui-icon {
  width: auto;
  height: auto;
  text-indent: 0;
  white-space: normal;
  padding: 0.4em 1em;
}

/* workarounds */
/* Support: Firefox 5 - 40 */
input.ui-button::-moz-focus-inner,
button.ui-button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.ui-datepicker {
  width: 17em;
  padding: 0.2em 0.2em 0;
  display: none;
}
.ui-datepicker .ui-datepicker-header {
  position: relative;
  padding: 0.2em 0;

  border-bottom: 1px solid #eee;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  position: absolute;
  top: 9px;
  width: 0.8em;
  height: 0.8em;

  border: solid #ccc;
  border-width: 0 1px 1px 0;
  cursor: pointer;
  display: inline-block;
  padding: 1px;
}
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
  top: 9px;
  border: solid #aaa;
}
.ui-datepicker .ui-datepicker-prev {
  left: 5px;

  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}
.ui-datepicker .ui-datepicker-next {
  right: 5px;

  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
.ui-datepicker .ui-datepicker-prev-hover {
  left: 5px;
}
.ui-datepicker .ui-datepicker-next-hover {
  right: 5px;
}
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  display: block;
  position: absolute;
  left: 50%;
  margin-left: -8px;
  top: 50%;
  margin-top: -8px;
}
.ui-datepicker .ui-datepicker-title {
  margin: 0 2.3em;
  line-height: 1.8em;
  text-align: center;
}
.ui-datepicker .ui-datepicker-title select {
  font-size: 1em;
  margin: 1px 0;
}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
  width: 45%;
}
.ui-datepicker table {
  width: 100%;
  font-size: 0.9em;
  border-collapse: collapse;
  margin: 0 0 0.4em;
}
.ui-datepicker th {
  padding: 0.7em 0.3em;
  text-align: center;
  font-weight: bold;
  border: 0;
}
.ui-datepicker td {
  border: 0;
  padding: 1px;
}
.ui-datepicker td span,
.ui-datepicker td a {
  display: block;
  padding: 0.4em;
  text-align: right;
  text-decoration: none;
}
.ui-datepicker .ui-datepicker-buttonpane {
  background-image: none;
  margin: 0.7em 0 0 0;
  padding: 0 0.2em;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}
.ui-datepicker .ui-datepicker-buttonpane button {
  float: right;
  margin: 0.5em 0.2em 0.4em;
  cursor: pointer;
  padding: 0.2em 0.6em 0.3em 0.6em;
  width: auto;
  overflow: visible;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
  float: left;
}

/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi {
  width: auto;
}
.ui-datepicker-multi .ui-datepicker-group {
  float: left;
}
.ui-datepicker-multi .ui-datepicker-group table {
  width: 95%;
  margin: 0 auto 0.4em;
}
.ui-datepicker-multi-2 .ui-datepicker-group {
  width: 50%;
}
.ui-datepicker-multi-3 .ui-datepicker-group {
  width: 33.3%;
}
.ui-datepicker-multi-4 .ui-datepicker-group {
  width: 25%;
}
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
  border-left-width: 0;
}
.ui-datepicker-multi .ui-datepicker-buttonpane {
  clear: left;
}
.ui-datepicker-row-break {
  clear: both;
  width: 100%;
  font-size: 0;
}

/* RTL support */
.ui-datepicker-rtl {
  direction: rtl;
}
.ui-datepicker-rtl .ui-datepicker-prev {
  right: 2px;
  left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next {
  left: 2px;
  right: auto;
}
.ui-datepicker-rtl .ui-datepicker-prev:hover {
  right: 1px;
  left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next:hover {
  left: 1px;
  right: auto;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane {
  clear: right;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button {
  float: left;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
.ui-datepicker-rtl .ui-datepicker-group {
  float: right;
}
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
  border-right-width: 0;
  border-left-width: 1px;
}

/* Icons */
.ui-datepicker .ui-icon {
  display: block;
  text-indent: -99999px;
  overflow: hidden;
  background-repeat: no-repeat;
  left: 0.5em;
  top: 0.3em;
}

.ui-draggable .ui-dialog-titlebar {
  cursor: move;
}
.ui-draggable-handle {
  -ms-touch-action: none;
  touch-action: none;
}
.ui-resizable {
  position: relative;
}
.ui-resizable-handle {
  position: absolute;
  font-size: 0.1px;
  display: block;
  -ms-touch-action: none;
  touch-action: none;
}
.ui-resizable-disabled .ui-resizable-handle,
.ui-resizable-autohide .ui-resizable-handle {
  display: none;
}
.ui-resizable-n {
  cursor: n-resize;
  height: 7px;
  width: 100%;
  top: -5px;
  left: 0;
}
.ui-resizable-s {
  cursor: s-resize;
  height: 7px;
  width: 100%;
  bottom: -5px;
  left: 0;
}
.ui-resizable-e {
  cursor: e-resize;
  width: 7px;
  right: -5px;
  top: 0;
  height: 100%;
}
.ui-resizable-w {
  cursor: w-resize;
  width: 7px;
  left: -5px;
  top: 0;
  height: 100%;
}
.ui-resizable-se {
  cursor: se-resize;
  width: 12px;
  height: 12px;
  right: 1px;
  bottom: 1px;
}
.ui-resizable-sw {
  cursor: sw-resize;
  width: 9px;
  height: 9px;
  left: -5px;
  bottom: -5px;
}
.ui-resizable-nw {
  cursor: nw-resize;
  width: 9px;
  height: 9px;
  left: -5px;
  top: -5px;
}
.ui-resizable-ne {
  cursor: ne-resize;
  width: 9px;
  height: 9px;
  right: -5px;
  top: -5px;
}

.ui-selectable {
  -ms-touch-action: none;
  touch-action: none;
}
.ui-selectable-helper {
  position: absolute;
  z-index: 100;
  border: 1px dotted black;
}
.ui-selectmenu-menu {
  padding: 0;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}
.ui-selectmenu-menu .ui-menu {
  overflow: auto;
  overflow-x: hidden;
  padding-bottom: 1px;
}
.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
  font-size: 1em;
  font-weight: bold;
  line-height: 1.5;
  padding: 2px 0.4em;
  margin: 0.5em 0 0 0;
  height: auto;
  border: 0;
}
.ui-selectmenu-open {
  display: block;
}
.ui-selectmenu-text {
  display: block;
  margin-right: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-selectmenu-button.ui-button {
  text-align: left;
  white-space: nowrap;
  width: 14em;
}
.ui-selectmenu-icon.ui-icon {
  float: right;
  margin-top: 0;
}

.ui-sortable-handle {
  -ms-touch-action: none;
  touch-action: none;
}
.ui-spinner {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0;
  vertical-align: middle;
}
.ui-spinner-input {
  border: none;
  background: none;
  color: inherit;
  padding: 0.222em 0;
  margin: 0.2em 0;
  vertical-align: middle;
  margin-left: 0.4em;
  margin-right: 2em;
}
.ui-spinner-button {
  width: 1.6em;
  height: 50%;
  font-size: 0.5em;
  padding: 0;
  margin: 0;
  text-align: center;
  position: absolute;
  cursor: default;
  display: block;
  overflow: hidden;
  right: 0;
}

.ui-tooltip {
  padding: 8px;
  position: absolute;
  z-index: 9999;
  max-width: 300px;
}
body .ui-tooltip {
  border-width: 2px;
}
/* Component containers
----------------------------------*/
.ui-widget {
  font-family: 'Lato', sans-serif;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
}
.ui-widget .ui-widget {
  font-size: 1em;
}
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
  font-family: 'Lato', sans-serif;
  font-size: 1em;
}
.ui-widget.ui-widget-content {
  width: 100% !important;
}
.ui-widget-content {
  background: #fff;
  color: #333;
}
.ui-widget-content a {
  color: #333333;
}

/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,

/* We use html here because we need a greater specificity to make sure disabled
works properly when clicked or hovered */
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
  border: 1px solid #ddd;
  background: transparent;
  color: #fff;
  font-weight: normal;
}

.ui-state-default,
.ui-widget-content .ui-state-default {
  background: green;
}

.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited,
a.ui-button,
a:link.ui-button,
a:visited.ui-button,
.ui-button {
  color: #454545;
  text-decoration: none;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus,
.ui-button:hover,
.ui-button:focus {
  border: 1px solid #ccc;
  background: #f7f7f7;
  font-weight: normal;
  color: #aaa;
}
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited,
.ui-state-focus a,
.ui-state-focus a:hover,
.ui-state-focus a:link,
.ui-state-focus a:visited,
a.ui-button:hover,
a.ui-button:focus {
  color: #fff;
  text-decoration: none;
}

.ui-visual-focus {
  box-shadow: 0 0 3px 1px rgb(94, 158, 214);
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
  border: 1px solid #eee;
  background: #eee;
  font-weight: normal;
  color: #555;
}
.ui-icon-background,
.ui-state-active .ui-icon-background {
  border: #003eff;
  background-color: #ffffff;
}
.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
  color: #ffffff;
  text-decoration: none;
}

/* Interaction Cues
----------------------------------*/
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
  border: 1px solid #3a5c89;
  background: #3a5c89;
  color: #fff;
}
.ui-state-checked {
  border: 1px solid #dad55e;
  background: #fffa90;
}
.ui-state-highlight a,
.ui-widget-content .ui-state-highlight a,
.ui-widget-header .ui-state-highlight a {
  color: #777620;
}
.ui-state-error,
.ui-widget-content .ui-state-error,
.ui-widget-header .ui-state-error {
  border: 1px solid #f1a899;
  background: #fddfdf;
  color: #5f3f3f;
}
.ui-state-error a,
.ui-widget-content .ui-state-error a,
.ui-widget-header .ui-state-error a {
  color: #5f3f3f;
}
.ui-state-error-text,
.ui-widget-content .ui-state-error-text,
.ui-widget-header .ui-state-error-text {
  color: #5f3f3f;
}
.ui-priority-primary,
.ui-widget-content .ui-priority-primary,
.ui-widget-header .ui-priority-primary {
  font-weight: bold;
}
.ui-priority-secondary,
.ui-widget-content .ui-priority-secondary,
.ui-widget-header .ui-priority-secondary {
  opacity: 0.7;
  filter: Alpha(Opacity=70); /* support: IE8 */
  font-weight: normal;
}
.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
  opacity: 1;
  background-image: none;
}
.ui-state-disabled .ui-icon {
  filter: Alpha(Opacity=35); /* support: IE8 - See #6059 */
}

td[title='available'] + td[title='Booked out'] span {
  background: linear-gradient(to right bottom, green 50%, #f00 0) !important;
}

td[title='Booked out'] + td[title='available'] a {
  background: linear-gradient(to right bottom, #f00 50%, green 0) !important;
}

.ui-state-disabled span,
.ui-widget-content .ui-state-disabled span,
.ui-widget-header .ui-state-disabled span {
  background: #f00;
  color: #fff;
}

/* Overlays */
.ui-widget-overlay {
  background: #aaaaaa;
  opacity: 0.3;
  filter: Alpha(Opacity=30); /* support: IE8 */
}
.ui-widget-shadow {
  -webkit-box-shadow: 0px 0px 5px #666666;
  box-shadow: 0px 0px 5px #666666;
}

@media screen and (max-width: 1050px) {
  .ui-datepicker td span,
  .ui-datepicker td a {
    padding: 0.25em;
  }
}

@media screen and (max-width: 900px) {
  .ui-datepicker td span,
  .ui-datepicker td a {
    padding: 0.4em;
  }
}
