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

/*-- end reset css --*/

a.link {
  color: #2591ff;
  color: #01b5ea;
  text-decoration: none;
}

a.link:hover {
  color: #000;
}

body {
  font-size: 62.5%;
  font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Tahoma, sans-serif;
  font-family: 'Open Sans', sans-serif;
  line-height: 1;
  color: #000;
  background: #2591ff;
  background: #fafafa;
  background: #01b5ea;
}

/* HEAD */

header {
  position: relative;
  width: min(100%, 920px);
  margin: 0 auto 50px;
}

div.headerHolder {
  position: relative;
  margin: 0 auto;
  padding: 0 40px;
  background: #fff;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav {
  width: 100%;
  min-width: 840px;
  height: 140px;
}

#mainNav {
  position: absolute;
  width: 840px;
  bottom: 40px;
  list-style-type: none;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 2em;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  text-transform: uppercase;
}

#mainNav li {
  float: left;
  width: 140px;
  margin: 0;
  padding: 0;
}

#mainNav li.center {
  margin: 0 280px 0 0;
}

#mainNav a {
  float: left;
  display: block;
  text-decoration: none;
  line-height: 58px;
  width: 140px;
  color: #01b5ea;
  text-align: center;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

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

h1 {
  position: absolute;
  width: 280px;
  height: 120px;
  top: 10px;
  left: 320px;
  background: #fff url(images/logo.png) center no-repeat;
  z-index: 1;
  text-indent: -9999px;
}

h1 a {
  display: block;
  width: 280px;
  height: 120px;
}

.jezici {
  position: absolute;
  top: 20px;
  right: 40px;
  list-style-type: none;
  font-size: 1.3em;
}

.jezici li {
  float: left;
  margin: 0;
  padding: 0 5px;
  border-right: 1px solid #ddd;
}

.jezici li:last-of-type {
  border: 0;
}

.jezici a {
  color: #01b5ea;
}

.jezici a:hover {
  color: #000;
}

/* CONTENT */

main {
  display: block;
  padding: 40px 40px 20px 40px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
  max-width: 840px;
}

h2,
h3,
h4,
h5 {
  font-family: 'PT Sans Narrow', sans-serif;
  font-weight: 300;
}

h2,
h3 {
  font-size: 4em;
  margin: 30px 0;
  color: #01b5ea;
  color: #000;
  text-align: center;
  text-transform: uppercase;
}

h2 {
  background: url(images/h2_bg.png) center center repeat-x;
}

h3 {
  font-size: 2.6em;
  background: url(images/h2_bg.png) center center repeat-x;
}

h2 span,
h3 span {
  padding: 0 50px;
  background: #fff;
}

#dp-popup h2 {
  color: #fff;
  background: none;
}

#indexNav {
  margin: 40px 0 20px 0;
  list-style-type: none;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 2.2em;
  text-transform: uppercase;
  overflow: hidden;
  display: flex;
  gap: 5%;
}

#indexNav li {
  flex: 1 0 auto;
}

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

#indexNav a {
  display: block;
  text-decoration: none;
  line-height: 50px;
  color: #fff;
  background: #01b5ea;
  text-align: center;
  border-radius: 10px;
  width: 100%;
}

#indexNav a:hover {
  color: #000;
  background: #fff;
}

#subNav {
  display: flex;
  margin: 0 0 40px 0;
  list-style-type: none;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 2.2em;
  text-transform: uppercase;
  overflow: hidden;
}

#subNav.pocetna {
  margin: 30px 0 20px 0;
}

#subNav li {
  flex: 1;
  margin: 0;
  padding: 0;
  border-right: 1px solid #eee;
}

#subNav li:last-of-type {
  border: 0;
}

#subNav a {
  display: block;
  text-decoration: none;
  line-height: 22px;
  color: #01b5ea;
  text-align: center;
  border-radius: 30px;
}

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

p.text {
  margin: 0 0 20px 0;
  font-size: 1.5em;
  line-height: 160%;
  font-weight: 200;
  text-align: justify;
}

p.c {
  text-align: center;
}

p.green {
  color: #0a0;
}

p.red {
  color: #c00;
}

ul.text {
  list-style: bullet;
  margin: 0 0 20px 0;
  padding: 0 0 0 20px;
  font-size: 1.4em;
  line-height: 160%;
  text-align: justify;
}

ul.text.list {
  padding: 0;
}

ul.text.list li {
  float: left;
  width: 280px;
  list-style-position: inside;
}

img.tlocrt {
  float: right;
  width: 600px;
  height: 300px;
  background: #fff;
}

ul.galerija {
  display: grid;
  width: 100%;
  margin: 0 0 20px 0;
  list-style-type: none;
  overflow: hidden;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

ul.galerija li {
  margin: 0;
  padding: 0;
  margin: 0 10px 10px 0;
}

ul.galerija a {
  display: block;
  padding: 1px;
  background: #fff url(images/loading.gif) no-repeat center;
  border: 2px solid #ddd;
  box-shadow: 0 8px 10px -6px #ccc;
}

ul.galerija a:hover {
  border: 2px solid #01b5ea;
  box-shadow: none;
}

ul.galerija img {
  display: block;
  width: 100%;
}

table,
th,
td {
  border: 1px solid #ddd;
}

table.cjenik {
  width: 100%;
  font-size: 1.4em;
  color: #000;
  margin: 0 0 20px 0;
  border: 0px solid #aaa;
  border-spacing: 1px;
  border-collapse: collapse;
  line-height: 170%;
}

table.cjenik th {
  font-weight: normal;
  background: #eee;
  vertical-align: middle;
}

table.cjenik td {
  text-align: center;
  background: #f7f7f7;
}

div.map {
  margin: 0 0 30px 0;
  padding: 4px;
  border: 1px solid #01b5ea;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* kontakt */

strong {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 2em;
  font-weight: normal;
  font-variant: small-caps;
}

/* FOOT */

footer {
  position: relative;
  width: 920px;
  margin: 20px auto 20px;
}

footer {
  position: relative;
  width: 100%;
  height: 340px;
  margin: 20px auto 0;
  padding-top: 140px;
  background: url(images/foot.jpg) bottom center no-repeat;
}

footer a {
  color: #000 !important;
}

footer p {
  text-align: center;
  font-size: 1.6em;
  line-height: 160%;
  color: #333;
}

p.copyFoot {
  width: 318px;
  height: 102px;
  margin: 0 auto 10px;
  background: url(images/logoFoot.png) center no-repeat;
  text-indent: -9999px;
}

#results {
  margin: 0 0 15px 0;
}

#results_inner {
  width: 100%;
  padding: 10px 0;
  font: 1.7em 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: green;
}

#results_inner.error {
  background: red;
}

/* fieldset */

fieldset {
  margin: 0 0 20px;
  padding: 15px 20px;
  border: 1px solid #eee;
  background: #fafafa;
}

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

fieldset li {
  width: 100%;
  margin: 0 0 1px 0;
}

label {
  float: left;
  font-size: 1.4em;
}

fieldset.upit label {
  margin: 5px 0 0 0;
  padding: 4px 0 5px 3px;
}

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

fieldset.upit label.provjera {
  float: right;
  width: 100px;
  height: 24px;
  margin: 5px 10px 0 0;
  padding: 0 0 0 0;
  background: #aaa;
  border: 1px solid #eee;
}

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

fieldset.upit label.note {
  font-size: 1.2em;
}

fieldset.upit input.text,
fieldset.upit input.textx {
  float: right;
  width: 350px;
  margin: 5px 0 0 0;
  padding: 2px 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5em;
  color: #01b5ea;
  background: #fff;
  border: 1px solid #ddd;
}

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

fieldset.upit textarea {
  float: right;
  width: 354px;
  height: 150px;
  margin: 5px 0 0 0;
  padding: 2px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5em;
  color: #01b5ea;
  background: #fff;
  border: 1px solid #ddd;
}

fieldset.upit input.submit {
  float: right;
  width: 100%;
  margin: 10px 0;
  padding: 5px 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5em;
  color: #01b5ea;
  background: #eee;
  border: 1px solid #ddd;
}

fieldset.upit input.submit:hover {
  color: #fff;
  background: #01b5ea;
  border: 1px solid #bbb;
  cursor: pointer;
}

header {
}

footer {
}

@media screen and (max-width: 1223px) {
  nav {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    min-width: auto;
  }

  h1 {
    position: static;
  }

  #mainNav {
    display: flex;
    flex: 0 0 100%;
    position: static;
    width: 100%;
  }

  #mainNav li {
    flex: 1 0 auto;
    width: auto;
  }

  #mainNav li.center {
    margin: 0;
  }

  #mainNav a {
    width: 100%;
  }
}

@media screen and (max-width: 900px) {
  ul.galerija {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 650px) {
  h1,
  h1 a {
    height: 100px;
    width: 220px;
  }

  .jezici {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    height: 80px;
    top: 10px;
    width: 60px;
  }

  .jezici li {
    align-items: center;
    border: 0;
    display: flex;
    flex: 0 0 100%;
    padding: 0;
  }

  #mainNav {
    flex-wrap: wrap;
  }

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

  fieldset.upit label {
    width: 100%;
  }

  fieldset.upit input.text,
  fieldset.upit textarea {
    width: 100%;
  }

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

@media screen and (max-width: 550px) {
  ul.galerija {
    grid-template-columns: 1fr 1fr;
  }
}
