@charset "UTF-8";

/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
a,
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/*
----------------
FONT SIZE LIST:
----------------
1 / 1.15 / 1.25 / 1.4 / 1.5 / 1.75 / 2 / 2.25 / 3
----------------
HEADER:
----------------
SITE TITLE (h1): Uses a custom clamp
INFO AREA TITLE (h2): 1.5rem
INFO AREA CONTENT (p/a): 1rem

MENUS:
DESKTOP MENU / DROPDOWN / SIDEBAR: 1.5rem
SIDEBAR DROPDOWN: 1.2rem >>>>>>>>>>>>>>>>>>>>> change this

HEADER CARDS (ftr-txt): 2rem / 1.75rem

ONLINE UČENJE (h2): 3rem / 1.5rem
PRIJAVI SE (btn): 1.5rem

---------------
NEWS SECTION
----------------
POST LIST

POST HEADING(H3): 1.4rem
META (p) / TEXT (p): 1rem:

SINGLE POST
TITLE (h1): 2.25rem / 1.25rem
TEXT: 1.15rem / 1rem

---------------
BUTTONS
---------------
SECTION BTN 1.5rem
*/
.site-btn {
  background-color: #1c628f;
  color: #e3e3e3;
  font-family: "Oswald", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  border-radius: 5px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
  min-width: 175px;
  height: 50px;
  margin-top: 20px;
  font-size: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.site-btn:hover {
  background-color: #87c246;
  color: #000;
}

.site-btn:active {
  background-color: #5f8831;
  transition: background-color 0.075s ease, color 0.1s ease, box-shadow 0.075s ease;
}

.poravnaj {
  text-align: justify;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: #333;
  padding: 0;
  background-color: #e3e3e3;
}

a {
  text-decoration: none;
  -webkit-user-drag: none;
}

ul {
  list-style-type: none;
}

img {
  display: block;
}

button {
  border-width: 0px;
}

nav {
  text-transform: uppercase;
}

nav ul {
  list-style-type: none;
}

@media (max-width: 1250px) {
  #wpadminbar {
    display: none !important;
  }

  html {
    margin-top: 0 !important;
  }
}

.hidden-semantics {
  position: absolute;
  visibility: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
}

.hidden-field {
  display: none !important;
}

/*----------------------
** LAYOUT STRETCH FIX
----------------------*/
html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
nav {
  font-family: "Oswald", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

/* Mobile - Default */
h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

p {
  font-size: 1rem;
}

/* Desktop - Using media queries to scale up */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 2rem;
  }

  h4 {
    font-size: 1.75rem;
  }

  h5 {
    font-size: 1.5rem;
  }

  h6 {
    font-size: 1.25rem;
  }

  p {
    font-size: 1rem;
  }
}

a {
  color: #237ab3;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a:hover {
  color: #87c246;
}

a:active {
  color: #5f8831;
}

nav a {
  position: relative;
  color: #e3e3e3;
  transition: all 0.5s;
  font-weight: 400;
}

nav a:hover {
  color: #fff;
}

nav a::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #e3e3e3;
  transition: all 0.5s;
}

nav a:hover::before {
  width: 100%;
}

.btn,
.btn-ucenje,
.btn-lekcija,
.btn-ispit,
.btn-news,
.btn-full {
  cursor: pointer;
  border: none;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  color: #e3e3e3;
  background-color: #1c628f;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 10px 20px;
}

.btn:hover,
.btn-ucenje:hover,
.btn-lekcija:hover,
.btn-ispit:hover,
.btn-news:hover,
.btn-full:hover {
  background-color: #87c246;
  color: #000;
}

.btn:active,
.btn-ucenje:active,
.btn-lekcija:active,
.btn-ispit:active,
.btn-news:active,
.btn-full:active {
  background-color: #5f8831;
  color: #000;
}

.btn-full {
  display: block;
  width: 100%;
}

.btn-news {
  padding: 10px 20px;
  font-size: 1.25rem;
}

.btn-ispit {
  display: block;
  margin: 2rem auto 40px;
  max-width: 200px;
  font-size: 1.25rem;
}

.btn-lekcija {
  display: block;
  margin: 2rem auto 0;
  width: 240px;
  font-size: 1.15rem;
}

.btn-ucenje {
  padding: 15px;
  font-size: 1.5rem;
  font-family: "Oswald", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-weight: 400;
}

#finish-lesson-btn[disabled] {
  background-color: green;
  cursor: not-allowed;
}

#finish-lesson-btn[disabled]:hover,
#finish-lesson-btn[disabled]:active {
  color: #e3e3e3;
}

/* Default button style (greyed out) */
.exam-button-container .exam-button {
  background-color: #ccc;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: not-allowed;
  pointer-events: none;
  border-radius: 5px;
  font-size: 16px;
}

.exam-button-container .exam-button.green {
  background-color: #28a745;
  cursor: pointer;
  pointer-events: auto;
}

.exam-button-container .exam-button.grey {
  background-color: #6c757d;
  cursor: not-allowed;
}

.header-content {
  transition: all 0.3s ease;
}

.menu-separator {
  display: none;
  color: #e3e3e3;
}

@media (min-width: 768px) {
  .menu-separator {
    display: block;
  }
}

#mobile-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  background-color: #1c628f;
}

#mobile-header .logo img {
  margin-left: 10px;
}

#mobile-header .logo img,
#mobile-header #hamburger-area {
  width: 70px;
}

#mobile-header h1 {
  font-size: 1.25rem;
  line-height: 1.2;
  color: #e3e3e3;
  text-align: center;
}

#mobile-header.active {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: #123d5a;
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: max-content;
  position: fixed;
  top: 30px;
  right: 15px;
  z-index: 100;
  cursor: pointer;
}

.hamburger-menu:has(input:focus-visible)::before,
.hamburger-menu:has(input:focus-visible)::after,
.hamburger-menu input:focus-visible {
  border: 1px solid #e3e3e3;
  box-shadow: 0 0 0 1px #333;
}

.hamburger-menu::before,
.hamburger-menu::after,
.hamburger-menu input {
  content: "";
  width: 40px;
  height: 4px;
  background-color: #e3e3e3;
  border-radius: 9999px;
  transform-origin: left center;
  transition: opacity 200ms ease-in-out, width 200ms ease-in-out, rotate 200ms ease-in-out, width 200ms ease-in-out, translate 200ms ease-in-out, width 200ms ease-in-out, background-color 200ms ease-in-out, width 200ms ease-in-out;
}

.hamburger-menu input {
  appearance: none;
  padding: 0;
  margin: 0;
  outline: none;
  cursor: pointer;
}

.hamburger-menu:has(input:checked)::before {
  rotate: 45deg;
  width: 33.9411254969px;
  translate: 0 -2px;
}

.hamburger-menu:has(input:checked)::after {
  rotate: -45deg;
  width: 33.9411254969px;
  translate: 0 2px;
}

.hamburger-menu input:checked {
  opacity: 0;
  width: 0;
}

.sidebar {
  position: fixed;
  top: 80px;
  right: 0;
  width: 100%;
  height: calc(100dvh - 80px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: #123d5a;
  color: #e3e3e3;
  font-size: 1.5rem;
  z-index: 8;
  translate: 100%;
  transition: translate 200ms ease-in-out;
  padding-bottom: 0.5rem;
  margin-top: -1px;
}

@media (min-width: 530px) {
  .sidebar {
    width: 50%;
  }
}

#sidebar-main-menu {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-bottom: 1rem;
}

.sidebar ul {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar ul li {
  text-align: center;
}

.hamburger-menu:has(input:checked)+.sidebar {
  translate: 0;
}

.sidebar ul li.menu-item-has-children>a {
  padding-left: 30px;
  padding-right: 30px;
}

#sidebar-main-menu {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#sidebar-main-menu::-webkit-scrollbar {
  display: none;
}

.sidebar .sub-menu {
  padding-top: 0;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  transition: opacity 0.3s ease, visibility 0.3s, max-height 0.3s ease, padding-top 0.3s ease;
  /* Delays visibility change */
}

.sidebar .menu-item-has-children.active .sub-menu {
  padding-top: 15px;
  opacity: 1;
  visibility: visible;
  max-height: fit-content;
  transition: opacity 0.5s ease-in-out;
  font-size: 1.25rem;
}

.sidebar .sub-menu .menu-item-has-children>.sub-menu {
  padding-top: 0;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  transition: opacity 0.3s ease, visibility 0.3s, max-height 0.3s ease, padding-top 0.3s ease;
  padding-left: 20px;
}

.sidebar .sub-menu .menu-item-has-children.active>.sub-menu {
  padding-top: 10px;
  opacity: 1;
  visibility: visible;
  max-height: fit-content;
  transition: opacity 0.4s ease-in-out;
  font-size: 1.1rem;
}

/* Parent links styling + dropdown arrow */
.menu-item-has-children>a {
  position: relative;
  padding-right: 30px;
  /* Space for arrow */
}

.menu-item-has-children>a::after {
  content: " ▼";
  font-size: 1rem;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

/* Rotate Arrow When Hovered - main menu */
.navbar .menu-item-has-children:hover>a::after,
.sidebar .menu-item-has-children.active>a::after,
.navbar .sub-menu .menu-item-has-children:hover>a::after,
.navbar .sub-menu .menu-item-has-children:active>a::after {
  transform: translateY(-50%) rotate(180deg);
}

.navbar .sub-menu .menu-item-has-children>a::after {
  content: " ▼";
  font-size: 1rem;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.navbar .menu-item-has-children {
  position: relative;
}

.navbar .menu-item-has-children .sub-menu {
  position: absolute;
  top: 100%;
  z-index: 10;
  left: 0;
  background-color: #333;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0;
  min-width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Show Dropdown on Hover */
.navbar .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Item Styling */
.navbar .sub-menu li {
  width: 100%;
  margin: 0;
}

.navbar .sub-menu a {
  white-space: nowrap;
  padding: 15px 15px;
  display: block;
}

.navbar .sub-menu a:hover {
  background-color: #262626;
}

/*
// Controls FB link on main menu
// It is already set up, this only controls the size
.menu-item a[href*="facebook.com"] i {
  font-size: 28px;
}
*/
.navbar .sub-menu .menu-item-has-children {
  position: relative;
}

.navbar .sub-menu .menu-item-has-children .sub-menu {
  top: 0;
  left: 100%;
  transform: translateX(10px);
  opacity: 0;
  visibility: hidden;
  position: absolute;
  background-color: #333;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 100%;
  z-index: 11;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  margin-left: 0px;
  transform: translateX(15px);
}

.navbar .sub-menu .menu-item-has-children:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

#desktop-header {
  display: none;
}

header nav li {
  display: inline-block;
  margin: 0 10px;
}

@media (min-width: 1250px) {
  #mobile-header {
    display: none;
  }

  .hamburger-menu {
    display: none;
  }

  .logo img {
    margin-left: 15px;
    width: 120px;
  }

  #main-menu {
    font-size: 1.35rem;
    padding: 5px;
  }

  .header-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }

  .logo-area {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 1600px) {
  .logo img {
    width: 140px;
  }

  #main-menu {
    font-size: 1.5rem;
  }
}

#redovna-nav,
#autoskola-nav,
#odrasli-nav,
#projekti-nav {
  display: none;
}

@media (min-width: 1250px) {

  #redovna-nav,
  #autoskola-nav,
  #odrasli-nav,
  #projekti-nav {
    display: block;
    background-color: #123d5a;
    font-size: 1.15rem;
    padding: 8px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  }

  #redovna-nav .redovna-menu,
  #redovna-nav .autoskola-menu,
  #redovna-nav .odrasli-menu,
  #redovna-nav .projekti-menu,
  #autoskola-nav .redovna-menu,
  #autoskola-nav .autoskola-menu,
  #autoskola-nav .odrasli-menu,
  #autoskola-nav .projekti-menu,
  #odrasli-nav .redovna-menu,
  #odrasli-nav .autoskola-menu,
  #odrasli-nav .odrasli-menu,
  #odrasli-nav .projekti-menu,
  #projekti-nav .redovna-menu,
  #projekti-nav .autoskola-menu,
  #projekti-nav .odrasli-menu,
  #projekti-nav .projekti-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }

  #redovna-nav .redovna-menu a,
  #redovna-nav .autoskola-menu a,
  #redovna-nav .odrasli-menu a,
  #redovna-nav .projekti-menu a,
  #autoskola-nav .redovna-menu a,
  #autoskola-nav .autoskola-menu a,
  #autoskola-nav .odrasli-menu a,
  #autoskola-nav .projekti-menu a,
  #odrasli-nav .redovna-menu a,
  #odrasli-nav .autoskola-menu a,
  #odrasli-nav .odrasli-menu a,
  #odrasli-nav .projekti-menu a,
  #projekti-nav .redovna-menu a,
  #projekti-nav .autoskola-menu a,
  #projekti-nav .odrasli-menu a,
  #projekti-nav .projekti-menu a {
    color: #e3e3e3;
  }
}

.menu-title {
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 400;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}

.menu-title:hover {
  background-color: rgba(255, 255, 255, 0.09);
}

.menu-title.active {
  background-color: rgba(255, 255, 255, 0.14);
  font-weight: 500;
}

.sidebar ul li.current-menu-item>a,
.sidebar ul li.current-menu-ancestor>a,
.navbar ul li.current-menu-item>a,
.navbar ul li.current-menu-ancestor>a,
#autoskola-nav ul li.current-menu-item>a,
#autoskola-nav ul li.current-menu-ancestor>a,
#odrasli-nav ul li.current-menu-item>a,
#odrasli-nav ul li.current-menu-ancestor>a,
#redovna-nav ul li.current-menu-item>a,
#redovna-nav ul li.current-menu-ancestor>a {
  padding-left: 5px;
  border-left: 4px solid #87c246;
  font-weight: 500;
  color: #e3e3e3;
}

.bogoflags {
  display: none;
}

ul.bogo-language-switcher {
  padding-top: 0px;
  flex-direction: row-reverse;
  justify-content: center;
  padding-top: 0;
}

.header-menu ul.bogo-language-switcher {
  display: flex;
}

.header-menu ul.bogo-language-switcher li.hr {
  order: 2;
}

.header-menu ul.bogo-language-switcher li.en-US {
  order: 1;
}

.bogo-language-switcher li.current a {
  font-weight: bold;
  color: #87c246;
}

.en-US.en.first {
  margin-left: 5px;
}

.hr.last {
  margin-right: 5px;
}

.pagination {
  text-align: center;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 5px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  color: #333;
  background: #f4f4f4;
  transition: all 0.3s ease;
}

.pagination a .desktop-paginatinon,
.pagination span .desktop-paginatinon {
  margin: 0;
  padding: 0;
}

.pagination a:hover {
  background: #fff;
}

.pagination .current {
  background: #237ab3;
  color: #fff;
}

.news-section .pagination .desktop-pagination {
  margin: 0;
  padding: 0;
  display: none;
}

@media (min-width: 768px) {
  .news-section .pagination .desktop-pagination {
    display: inline;
  }
}

#login,
#guest-login {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
}

.ajax-login-form, #ajax-login-form-header, #ajax-login-form-eskole {
  position: relative;
  margin: 20px auto;
  padding: 10px 20px 20px;
}

#remember-me {
  margin-right: 0.5rem;
}

.checkbox-wrap {
  font-size: 1.15rem;
}

.checkbox-wrap input[type=checkbox] {
  transform: scale(1.25);
  margin-left: 0.25rem;
  margin-right: 0.5rem;
}

#login-response {
  margin-top: 1rem;
  font-weight: bold;
  text-align: center;
}

#login-response.success {
  color: #87c246;
}

#login-response.error {
  color: red;
}

.checkbox-wrap input[type=checkbox] {
  transform: scale(1.25);
  margin-left: 0.25rem;
  margin-right: 0.5rem;
  transition: all 0.6s ease-in-out;
}

#popup-modal {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in, visibility 0.2s ease-in;
  z-index: 9999;
}

#popup-modal #popup-modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}

#popup-modal #popup-modal-content p,
#popup-modal #popup-modal-content button {
  font-size: 1.15rem;
}

#popup-modal #popup-modal-content p {
  margin-bottom: 10px;
}

#popup-modal.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

#popup-modal.show #popup-modal-content {
  transform: scale(1);
  opacity: 1;
}

#guest-login {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.guest-login-content {
  display: flex;
  flex-direction: column;
  justify-content: initial;
  align-items: initial;
  max-width: 400px;
  margin: 0 auto;
}

.guest-login-content p,
.guest-login-content a {
  font-size: 1.15rem;
}

.guest-login-content p {
  margin-bottom: 20px;
}

#guest-logout {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
}

.homepage-logout-container {
  display: flex;
  justify-content: flex-end;
  max-width: 100%;
  padding: 1rem 2rem;
  margin-top: 2rem;
}

.username-indicator {
  font-size: 0.75em;
  opacity: 0.7;
}

#site-header {
  /*background: linear-gradient(0deg,
      rgba(0, 0, 0, 0.3) 30%,
      rgba(0, 0, 0, 0.5) 40%,
      rgba(0, 0, 0, 0.65) 80%),
    $hd-img-main;*/
  background-color: #e3e3e3;
  background-size: cover;
  background-position: center;
}

body:not(.front-page) #hero {
  display: none;
}

.site-title {
  margin: 0 auto;
  text-transform: uppercase;
  text-align: center;
  color: #e3e3e3;
  line-height: 1.15;
}

#d-header-title {
  font-size: clamp(1rem, 2vw + 1rem, 3rem);
  white-space: nowrap;
}

@media (min-width: 1600px) {
  .medium-site-header-break {
    display: none;
  }
}

@media (min-width: 1250px) {
  #desktop-header {
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #1c628f;
    grid-template-columns: 0.75fr 1.25fr;
  }
}

@media (min-width: 1600px) {
  #desktop-header {
    grid-template-columns: 1fr 1.25fr;
    grid-template-columns: 1fr 1.25fr;
  }
}

.header-row-1 {
  grid-row: 1/span 2;
  grid-column: 1;
}

.header-row-2 {
  grid-row: 1;
  grid-column: 2;
  color: #e3e3e3;
  background: #333;
}

.header-row-3 {
  grid-row: 2;
  grid-column: 2;
  background: #1c628f;
}

.logo-title-area a {
  display: grid;
  justify-content: center;
  align-items: center;
  text-align: center;
  grid-template-columns: 0.5fr 2fr;
}

.info-area {
  display: flex;
  gap: 30px;
  justify-content: space-evenly;
  background-color: #123d5a;
  color: #e3e3e3;
  text-align: center;
  border-bottom-left-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1600px) {
  .info-area {
    gap: 50px;
  }
}

.info-area h2 {
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 3px;
}

.info-area h2 span {
  font-size: 0.8rem;
  font-weight: normal;
}

.info-area a:not(.fb-icon) {
  position: relative;
  color: #e3e3e3;
  font-family: "Oswald", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
  transition: all 0.5s;
  letter-spacing: 2px;
  color: #e3e3e3;
}

.info-area a:not(.fb-icon):hover {
  color: #fff;
}

.info-area a:not(.fb-icon)::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #e3e3e3;
  transition: all 0.5s;
}

.info-area a:not(.fb-icon):hover::before {
  width: 100%;
}

.info-area .fb-icon {
  color: #e3e3e3;
  transition: all 0.5s;
}

.info-area .fb-icon:hover {
  color: #fff;
}

.info-area p {
  padding-top: 0;
}

.virtualna-setnja,
.facebook {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

body:not(.home) .hero {
  display: none;
}

#hero-banner {
  width: 100%;
  height: calc(100vh - 592px);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 30%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.25) 80%), url("../assets/images/zaglavlje2.webp");
  background-color: #e3e3e3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 1250px) {
  #hero-banner {
    height: calc(100vh - 600px);
  }
}

#header-cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 24px;
}

#header-cards .header-feature {
  background-color: #1c628f;
  color: #e3e3e3;
  font-family: "Oswald", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-weight: 400;
  border-radius: 4px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-align: center;
  transition: all 0.5s;
  height: 60px;
  width: calc(100% - 40px);
  font-size: 1.75rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px 3px rgba(0, 0, 0, 0.5);
}

#header-cards .header-feature:hover {
  background-color: #87c246;
  color: #000;
}

#header-cards .header-feature:active {
  background-color: #5f8831;
  transition: background-color 0.075s ease, color 0.1s ease, box-shadow 0.075s ease;
}

#header-cards .header-feature:hover {
  transform: translateY(-3px);
}

#header-cards .header-feature:active {
  transition: background-color 0.075s ease, color 0.1s ease, box-shadow 0.075s ease;
}

.ftr-img {
  display: none;
}

.ftr-txt {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
}

@media (min-width: 1250px) {
  #header-cards {
    flex-direction: row;
    padding: 0 20px;
  }

  #header-cards .header-feature {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px;
    width: 450px;
    font-size: 1.75rem;
  }

  #header-cards .header-feature:hover {
    box-shadow: 0 0 14px 2px rgba(135, 194, 70, 0.7), 0 0 28px 6px rgba(135, 194, 70, 0.6), 0 0 42px 10px rgba(135, 194, 70, 0.5);
  }

  #header-cards .header-feature:active {
    box-shadow: 0 0 14px 2px rgba(95, 136, 49, 0.7), 0 0 28px 6px rgba(95, 136, 49, 0.6), 0 0 42px 10px rgba(95, 136, 49, 0.5);
  }

  #header-cards .ftr-img {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 4;
    overflow: hidden;
    transition: all 0.5s;
    border-radius: 4px;
  }

  #header-cards .ftr-txt {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
    text-align: center;
  }

  #header-cards #ftr-img-1 {
    background-image: url("../assets/images/zaglavlje1.webp");
  }

  #header-cards #ftr-img-2 {
    background-image: url("../assets/images/zaglavlje2.webp");
  }

  #header-cards #ftr-img-3 {
    background-image: url("../assets/images/zaglavlje3.webp");
  }

  #header-cards #ftr-img-4 {
    background-image: url("../assets/images/zaglavlje4.webp");
  }
}

@media (min-width: 1600px) {
  .header-feature {
    font-size: 2rem;
  }
}

#online-ucenje {
  margin: 30px 0;
}

.ucenje-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.ucenje-container span {
  z-index: 6;
}

.ucenje-left,
.ucenje-right {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 110px;
}

.ucenje-left {
  background-color: #1c628f;
}

.ucenje-left h2 {
  text-transform: uppercase;
  font-size: 1.5rem;
  color: #e3e3e3;
}

.ucenje-right {
  text-align: right;
  border-top: 4px solid #1c628f;
  border-bottom: 4px solid #1c628f;
}

@media (min-width: 1250px) {
  .ucenje-container {
    border-top: 5px solid #1c628f;
    border-bottom: 5px solid #1c628f;
  }

  .ucenje-left {
    position: relative;
    width: 75%;
  }

  .ucenje-left h2 {
    font-size: 2.25rem;
  }

  .ucenje-left::after {
    content: "";
    position: absolute;
    background: #1c628f;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100vw;
    transform: skew(-25deg);
    z-index: 5;
  }

  .ucenje-right {
    position: relative;
    text-align: right;
    border: none;
  }

  .ucenje-right span button {
    padding: 20px;
  }

  .ucenje-right::before {
    content: "";
    position: absolute;
    background: #e3e3e3;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    transform: skew(-25deg);
    z-index: 5;
    border-radius: 4px;
  }
}

@media (min-width: 1600px) {
  .ucenje-left h2 {
    font-size: 3rem;
  }
}

.eskola-tests {
  display: none;
}

footer {
  background-color: #123d5a;
  color: #e3e3e3;
  text-align: center;
  padding-top: 10px;
  width: 100%;
}

footer h2 {
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 3px;
}

footer a {
  position: relative;
  color: #e3e3e3;
  font-family: "Oswald", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
  transition: all 0.5s;
  letter-spacing: 2px;
  color: #e3e3e3;
}

footer a:hover {
  color: #fff;
}

footer a::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #e3e3e3;
  transition: all 0.5s;
}

footer a:hover::before {
  width: 100%;
}

.legal-links ul {
  padding-bottom: 5px;
}

.legal-links ul a {
  margin: 0 auto;
  width: max-content;
}

@media (min-width: 768px) {
  .legal-links ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }
}

#arkana {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  color: crimson;
  transition: all 0.5s;
}

#arkana:hover {
  color: #fff;
}

@media (min-width: 768px) {
  .footer-logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .footer-logo img {
    width: 125px;
  }

  .site-footer {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    justify-content: space-around;
  }

  .legal-links {
    margin: 0 auto;
    max-width: 1200px;
    flex-direction: row;
    justify-content: space-around;
  }

  .copyright {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    justify-content: space-around;
  }
}

#fp-p1 {
  background-image: url("../assets/images/projekti/uoci-me.png");
}

#fp-p2 {
  background-image: url("../assets/images/projekti/uocljivost-biciklista.webp");
}

#fp-p3 {
  background-image: url("../assets/images/projekti/vozi-bez-mobitela.webp");
}

#fp-p4 {
  background-image: url("../assets/images/projekti/eec.jpg");
}

#fp-p5 {
  background-image: url("../assets/images/projekti/green-skills.webp");
}

#fp-p6 {
  background-image: url("../assets/images/projekti/lemo.jpg");
}

#fp-p7 {
  background-image: url("../assets/images/projekti/sustain4vet.jpg");
}

#fp-p8 {
  background-image: url("../assets/images/projekti/vetcharter.jpg");
}

#fp-p9 {
  background-image: url("../assets/images/projekti/log-in.jpg");
}

main {
  background-color: #e3e3e3;
}

#fp-projects-title {
  text-align: center;
  text-transform: uppercase;
}

.fp-pr-item {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 200px;
  height: 150px;
  border-width: 3px;
  border-style: solid;
  border-color: #3b8c99;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.5s;
}

.fp-pr-item:hover {
  transform: scale(1.05);
}

#fp-projects {
  text-align: center;
  text-transform: uppercase;
  padding: 20px 0;
}

#fp-projects-featured {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-direction: column;
}

@media (min-width: 768px) {
  #fp-projects-featured {
    flex-direction: row;
  }

  #fp-projects-featured .fp-pr-item {
    width: 250px;
    height: 200px;
  }
}

.divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, #237ab3, #3b8c99, #68ac67, #87c246, #237ab3);
  margin-top: 50px;
}

.post-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, #237ab3, #3b8c99, #68ac67, #87c246, #237ab3);
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

.post-divider:last-of-type {
  display: none;
}

.single-module-container {
  background-color: #e3e3e3;
}

.single-module-container .single-header {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px 25px;
  gap: 20px;
}

@media (min-width: 768px) {
  .single-module-container .single-header {
    flex-direction: row;
  }
}

.single-module-container .single-header .single-featured-image {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.single-module-container .single-header img {
  border-width: 4px;
  border-style: solid;
  border-color: #1c628f;
  border-radius: 10px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .single-module-container .single-header img {
    height: auto;
    max-height: 250px;
    width: 450px;
  }
}

.single-module-container .single-header img.contain {
  object-fit: contain !important;
  background-color: #fff;
}

.single-module-container .single-header .single-title-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: normal;
  gap: 10px;
  color: #1c628f;
  font-weight: 600;
}

.single-module-container .single-header .single-title-meta .single-title {
  font-family: "Roboto Condensed", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.75rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .single-module-container .single-header .single-title-meta .single-title {
    font-size: 2.25rem;
    line-height: 1.3;
  }
}

.single-module-container .single-header .single-title-meta .single-meta {
  font-family: "Roboto Condensed", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 1px;
}

.single-module-container .single-content-container {
  background-color: #fff;
}

.single-module-container .single-content-container .single-content {
  width: 100vw;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 25px;
  background-color: #fff;
}

.single-module-container .single-content-container .single-content h1,
.single-module-container .single-content-container .single-content h2,
.single-module-container .single-content-container .single-content h3,
.single-module-container .single-content-container .single-content h4,
.single-module-container .single-content-container .single-content h5,
.single-module-container .single-content-container .single-content h6 {
  font-family: "Roboto Condensed", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.single-module-container .single-content-container .single-content h1.module-title,
.single-module-container .single-content-container .single-content h2.module-title {
  font-family: "Oswald", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
}

.single-module-container .single-content-container .single-content p,
.single-module-container .single-content-container .single-content li,
.single-module-container .single-content-container .single-content a {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.single-module-container .single-content-container img {
  border-radius: 4px;
  margin: 10px 0;
}

.error-404-wrapper {
  flex-direction: column;
}

.error-404-text {
  padding: 5px 0;
}

.question.module-element h3 {
  font-size: 1.5rem;
  padding-bottom: 10px;
}

form.student-answers {
  padding-bottom: 10px;
}

.question img {
  border-radius: 7px;
  margin: 20px 0;
}

.student-answers input[type=checkbox] {
  width: 1rem;
  height: 1rem;
  transform: translateY(2px);
  /* Optional: better vertical alignment */
  accent-color: #237ab3;
  /* Optional: sets checkbox color in modern browsers */
}

.student-answers label {
  margin-left: 0.4rem;
  font-size: 1rem;
  /* Tweak as needed */
}

.student-answers input[type=text] {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 6px;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.student-answers input[type=text]:focus {
  border-color: #1c628f;
  outline: none;
}

.answer-icon {
  margin-right: 0.5rem;
  font-size: 1.2rem;
  vertical-align: middle;
}

.question-feedback,
.exam-results-status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 4px;
  margin-top: 10px;
  font-weight: 500;
  font-weight: 600;
}

.feedback-correct {
  color: #2d8f2d;
  border: 2px solid #2d8f2d;
}

.feedback-incorrect {
  color: #c42f2f;
  border: 2px solid #c42f2f;
  /* A clear red */
}

.exam-results-status {
  text-transform: uppercase;
  font-weight: 700;
}

.exam-results-pass {
  color: #2d8f2d;
  border: 2px solid #2d8f2d;
}

.exam-results-fail {
  color: #c42f2f;
  border: 2px solid #c42f2f;
}

/* Default: small screens — use line breaks, hide separator text */
.exam-results-info .separator {
  display: block;
  height: 1rem;
  overflow: hidden;
  text-indent: -9999px;
}

/* Larger screens: show separator inline */
@media (min-width: 530px) {
  .exam-results-info .separator {
    display: inline;
    text-indent: 0;
    height: auto;
  }
}

#submit-exam.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #87c246;
  color: #000;
}

.single-pitanje h1 {
  font-size: 2rem;
  padding-bottom: 10px;
}

.single-pitanje h2 {
  font-size: 1.5rem;
  padding-bottom: 5px;
}

.single-pitanje p {
  font-size: 1.15rem;
}

.single-pitanje img {
  border-radius: 7px;
  margin: 20px 0;
}

.single-pitanje .single-pitanje-answer:last-of-type {
  padding-bottom: 20px;
}

.capitalize-first {
  display: inline-block;
  /* enables ::first-letter */
}

.capitalize-first::first-letter {
  text-transform: capitalize;
}

/*
DOCUMENTATION:
acf-field widths are currently handled within "presentation" within the plugin.

ALL FIELDS HAVE THE SAME CLASS
.acf-scp-fields

ALL FIELDS HAVE BEEN GIVEN IDs

ISPIT-ODABIR PITANJA
#acf-qu-manual-auto
#acf-qu-manual-select
#acf-qu-category-1 (also 2,3,4,5 )
#acf-qu-ansnum-1 (also 2,3,4,5 )

ISPITNA PITANJA
#acf-ans-qtype
#acf-ans-points
#acf-ans-kljucno
#acf-ans-1 (2,3,4 too)
#acf-ans-1-correct (2,3,4 too)
#acf-ans-info */
#acf-ans-qtype {
  color: red;
}

/* ALL FIELDS */
#acf-field_6781959d0af8e,
#acf-field_6788c275f4d6f,
#acf-field_6781994578c27,
#acf-field_67819a5678c29,
#acf-field_67819a5d78c2a,
#acf-field_67819a6478c2b,
#acf-field_678295acf0add,
#acf-field-6794dadb9638c,
#acf-field-6794db5d9638d,
.acf-true-false {
  height: 40px;
  /* Set a consistent height */
  padding: 8px;
  /* Add some padding for better usability */
  box-sizing: border-box;
  /* Include padding and borders in height */
  border: 1px solid #ccc;
  /* Add a border for consistency */
  border-radius: 4px;
  /* Optional: Add rounded corners for better design */
}

/*
Use:
.module-container for whole module wrapper (outer shell)
.module-element for padding of elements within the wrapper (inner shell)
.module-title for the .module-container h1
.text-module for standard text formatting

.text-module for modules that have slightly larger txt on desktop (1.15rem) and a slight margin beneath <p> elements
*/
.blank-module-container {
  margin: 40px auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.module-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  margin: 40px auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.module-container h1,
.module-container h2,
.module-container h3,
.module-container h4,
.module-container h5,
.module-container h6 {
  font-family: "Roboto Condensed", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.module-container h1.module-title,
.module-container h2.module-title {
  font-family: "Oswald", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
}

.module-container p,
.module-container li,
.module-container a {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.module-element {
  padding: 10px 15px 25px;
}

@media (min-width: 768px) {
  .module-element {
    padding: 10px 25px 25px;
  }
}

h1.module-title.module-title,
h2.module-title.module-title {
  text-align: center;
  text-transform: uppercase;
  background-color: #1c628f;
  color: #e3e3e3;
  font-size: 1.75rem;
  font-family: "Oswald", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 0;
  margin: 0;
}

@media (min-width: 768px) {

  h1.module-title.module-title,
  h2.module-title.module-title {
    font-size: 2.25rem;
  }
}

.homepage-features {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .homepage-features {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }
}

.hp-element {
  margin: 20px 0;
  padding: 20px;
  overflow: hidden;
}

.hp-element-m15 {
  margin: 15px 0;
}

.hp-el-double {
  width: 100%;
}

@media (min-width: 768px) {
  .hp-el-double {
    width: 420px;
  }
}

.hp-cta-heading {
  font-family: "Roboto Condensed", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1.2;
  padding-top: 0;
}

p.hp-cta-grey {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  font-family: "Roboto Condensed", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding-top: 40px;
  letter-spacing: 1px;
  color: #666666;
}

.aligner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.aligner-top {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}

.flex-center {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.btn-center {
  text-align: center;
}

.pipe {
  width: 100px;
  background-color: #1c628f;
  border-radius: 5px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  padding: 2px 0;
  margin-bottom: 15px;
}

.pipe-txt {
  color: #e3e3e3;
  font-family: "Oswald", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hp-contact-form input#ime,
.hp-contact-form input#telefon {
  margin-top: 10px;
}

.hp-contact-form button {
  margin-top: 15px;
}

.text-module {
  line-height: 1.3;
}

.text-module li,
.text-module p,
.text-module a {
  font-size: 1.15rem;
}

@media (min-width: 768px) {

  .text-module li,
  .text-module p,
  .text-module a {
    font-size: 1.15rem;
  }
}

.text-module h1 {
  font-size: 1.75rem;
  line-height: 1.6;
}

.text-module h2 {
  font-size: 1.5rem;
}

.text-module h3 {
  font-size: 1.4rem;
}

.text-module h4 {
  font-size: 1.25rem;
}

.text-module h5 {
  font-size: 1.15rem;
}

.text-module h6 {
  font-size: 1rem;
}

.text-module .subscript {
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .text-module h1 {
    font-size: 2.25rem;
    line-height: 1.6;
  }

  .text-module h2 {
    font-size: 1.75rem;
  }

  .text-module h3 {
    font-size: 1.5rem;
  }

  .text-module h4 {
    font-size: 1.4rem;
  }

  .text-module h5 {
    font-size: 1.25rem;
  }

  .text-module h6 {
    font-size: 1.15rem;
  }
}

.text-module li {
  list-style-position: inside;
  list-style-type: disc;
  margin-left: 15px;
  padding-left: 1.4em;
  text-indent: -1.4em;
}

.text-module li::marker {
  color: #237ab3;
}

.text-module .txt-divider {
  border: none;
  height: 1.5px;
  background: linear-gradient(to right, #237ab3, #3b8c99, #68ac67, #87c246, #237ab3);
  margin: 20px 0;
}

.text-module p {
  text-align: justify;
  margin: 5px 0;
}

.text-module p:first-of-type {
  margin-top: 10px;
}

.text-module p:last-of-type {
  margin-bottom: 10px;
}

.text-module-hollow {
  line-height: 1.6;
}

.text-module-hollow li,
.text-module-hollow p,
.text-module-hollow a {
  font-size: 1.15rem;
}

@media (min-width: 768px) {

  .text-module-hollow li,
  .text-module-hollow p,
  .text-module-hollow a {
    font-size: 1.15rem;
  }
}

.text-module-hollow h1 {
  font-size: 1.75rem;
  line-height: 1.6;
}

.text-module-hollow h2 {
  font-size: 1.5rem;
}

.text-module-hollow h3 {
  font-size: 1.4rem;
}

.text-module-hollow h4 {
  font-size: 1.25rem;
}

.text-module-hollow h5 {
  font-size: 1.15rem;
}

.text-module-hollow h6 {
  font-size: 1rem;
}

.text-module-hollow .subscript {
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .text-module-hollow h1 {
    font-size: 2.25rem;
    line-height: 1.6;
  }

  .text-module-hollow h2 {
    font-size: 1.75rem;
  }

  .text-module-hollow h3 {
    font-size: 1.5rem;
  }

  .text-module-hollow h4 {
    font-size: 1.4rem;
  }

  .text-module-hollow h5 {
    font-size: 1.25rem;
  }

  .text-module-hollow h6 {
    font-size: 1.15rem;
  }
}

.text-module-hollow li {
  list-style-position: inside;
  list-style-type: disc;
  margin-left: 15px;
  padding-left: 1.4em;
  text-indent: -1.4em;
}

.text-module-hollow li::marker {
  color: #237ab3;
}

.text-module-hollow .txt-divider {
  border: none;
  height: 1.5px;
  background: linear-gradient(to right, #237ab3, #3b8c99, #68ac67, #87c246, #237ab3);
  margin: 20px 0;
}

.text-module-hollow p {
  margin: 10px 0;
}

.text-module-hollow p:first-of-type {
  margin-top: 10px;
}

.text-module-hollow p:last-of-type {
  margin-bottom: 10px;
}

.text-module-hollow h2,
.text-module-hollow h3,
.text-module-hollow h4,
.text-module-hollow h5,
.text-module-hollow h6 {
  padding-top: 10px;
}

.news-section {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 40px;
  margin: 0 auto;
}

#news-title {
  text-align: center;
  text-transform: uppercase;
  background-color: #1c628f;
  color: #e3e3e3;
  font-size: 1.75rem;
  font-family: "Oswald", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 0;
  margin: 0;
}

@media (min-width: 768px) {
  #news-title {
    font-size: 2.25rem;
  }
}

.post-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: normal;
  background: #fff;
  border-radius: 10px;
  padding: 10px 15px 25px;
}

.individual-post {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  width: 100%;
}

.post-content {
  width: 100%;
  flex-grow: 1;
}

.post-image {
  width: 100%;
  position: relative;
}

.post-image img {
  width: 100%;
  height: 200px;
  background-color: #fff;
  object-fit: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.5s;
}

.post-image img.contain {
  object-fit: contain;
}

.post-image img.cover {
  object-fit: cover;
}

.post-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  background: rgba(135, 194, 70, 0.3);
  /* Dark background color overlay */
  opacity: 0;
  /* Start with the overlay hidden */
  transition: opacity 0.5s ease;
  /* Smooth transition for the opacity change */
}

.individual-post:hover .post-image::before {
  opacity: 1;
  /* Show the overlay when the anchor tag is hovered */
}

.individual-post:hover .post-title {
  color: #87c246;
  /* Change the color of the title when hovering over the link */
}

.post-title {
  line-height: 1;
  transition: all 0.5s;
  font-family: "Roboto Condensed", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: black;
}

.post-date {
  font-weight: 600;
  color: #237ab3;
  padding: 10px 0;
}

.post-excerpt {
  color: #333;
  font-weight: 500;
  text-align: justify;
}

.more-news-btn {
  text-align: center;
}

.more-news-btn .site-btn {
  margin-top: 0;
}

@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }

  .desktop-only {
    display: inline-block;
  }
}

@media (min-width: 768px) {
  .post-container {
    padding: 10px 25px 25px;
  }

  .post-container .individual-post {
    flex-direction: row;
  }

  .post-container .individual-post .post-image {
    width: 300px;
  }

  .post-container .individual-post .post-image img {
    width: 300px;
  }
}

.tabs-heading-container {
  display: flex;
  justify-content: space-around;
  padding: 0 25px;
}

.tabs-heading-container h2 {
  font-size: 1rem;
  display: inline-block;
  padding: 12px 16px;
  min-width: 120px;
  text-align: center;
  background-color: #1c628f;
  color: #e6e6e6;
  cursor: pointer;
  user-select: none;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.15);
  transform: translateY(2px);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tabs-heading-container h2:hover {
  background-color: #237ab3;
  color: #fff;
}

.tabs-heading-container h2.active {
  background-color: #87c246;
  color: #000;
  box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.tabs-kategorija {
  display: none;
}

/* experimenting with the tab */
.tabs-heading-container,
.tabs-kategorija {
  padding-top: 10px;
}

.tabs-kategorija {
  padding-bottom: 0;
}

.tpl-divider.hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, #237ab3, #3b8c99, #68ac67, #87c246, #237ab3);
}

@media (min-width: 768px) {
  article.as-text-module {
    padding-bottom: 0px;
  }
}

.tabs-informacije {
  padding-top: 0;
}

.tabs-content h3,
.tabs-informacije h3 {
  font-size: 1.5rem;
}

.as-upis-uvjeti {
  margin-bottom: 10px;
}

.tabs-heading-container-mobile {
  padding-bottom: 0;
}

.vodic-heading-container {
  display: none;
}

@media (min-width: 768px) {
  .tabs-heading-container {
    display: flex;
  }

  .tabs-heading-container-mobile {
    display: none;
  }
}

#tabs-select-text {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
}

#tabs-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.75em 2em 0.75em 1em;
  font-size: 1.15rem;
  font-family: "Roboto Condensed", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  border: 2px solid #237ab3;
  border-radius: 8px;
  background-color: #fff;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  background-size: 1.2em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

#tabs-select:focus {
  border-color: #87c246;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  outline: none;
}

.rn-program-tabs h2 {
  font-size: 1.25rem;
  padding: 12px 50px;
}

.as-card-module {
  padding-top: 0;
}

.as-card-module .as-card {
  border: 2px solid #237ab3;
  border-radius: 10px;
  padding: 15px;
  margin: 10px 0;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.as-card-module h2 {
  font-size: 1.25rem;
  margin: 0;
  text-transform: uppercase;
}

.as-card-module p {
  margin: 0;
}

.autoskola-nastavnici {
  margin-bottom: 20px;
}

.as-ime {
  font-weight: 600;
}

.as-contact-list li span {
  text-transform: uppercase;
  font-weight: 500;
}

@media (min-width: 768px) {
  .as-voditelj {
    display: flex;
    gap: 15px;
  }

  .as-voditelj .as-voditelj-figure {
    background-image: url("../assets/images/autoskola/autoskola-tomislav-kucina.png");
    width: 200px;
    background-size: cover;
    object-fit: cover;
    border-radius: 10px;
  }

  .autoskola-vodstvo-cards {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
  }

  .autoskola-nastavnici {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .autoskola-instruktori-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 1rem;
  }

  .autoskola-instruktori-cards .as-contact-list li span {
    font-size: 1rem;
  }
}

.as-voditelj.as-card,
.as-referent.as-card {
  margin: 10px 0;
}

.marquee {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  /* Gradient mask for smooth entry & exit */
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgb(0, 0, 0) 10%, rgb(0, 0, 0) 95%, rgba(0, 0, 0, 0.2));
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgb(0, 0, 0) 10%, rgb(0, 0, 0) 95%, rgba(0, 0, 0, 0.2));
}

.marquee-inner {
  display: flex;
  align-items: center;
  will-change: transform;
}

.marquee-content {
  display: flex;
  padding: 0 10px;
  gap: 2vw;
  flex-shrink: 0;
  padding: 10px 0;
}

.marquee-content .fp-pr-item:last-child {
  margin-right: 2vw;
}

.listName {
  font-weight: 600;
}

@media (min-width: 768px) {
  .listName {
    padding-left: 15px;
  }
}

.djelatnici-list,
.djelatnici-list a {
  font-size: 1rem;
}

@media (min-width: 768px) {

  .djelatnici-list,
  .djelatnici-list a {
    font-size: 1.25rem;
  }
}

.djelatnici-divider {
  margin: 8px 0;
}

.djelatnici-divider:last-of-type {
  margin: 8px 0;
}

#djelatnici-output h2,
#djelatnici-output h3,
#uprava-output h2,
#strucna-output h2,
#nastavnici-output h2,
#nastavnici-output h3 {
  padding-bottom: 10px;
}

@media (min-width: 768px) {
  #nastavnici-output>section>div:last-of-type>div:last-of-type {
    padding-bottom: 15px;
  }
}

#nastavnici-output>section>div:last-of-type>div:last-of-type>.djelatnici-divider,
#nastavnici-output>section>div:last-of-type>.djelatnici-divider {
  display: none;
}

.search-overlay {
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 110;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.96);
  visibility: hidden;
  opacity: 0;
  transform: scale(1.09);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  box-sizing: border-box;
}

.search-overlay p {
  padding-top: 15px;
}

.search-overlay .event-summary p {
  padding-top: 0;
}

.search-overlay .event-summary {
  margin-bottom: 0;
  margin-top: 20px;
}

body.admin-bar .search-overlay {
  top: 32px;
}

.search-overlay__top {
  background-color: rgba(0, 0, 0, 0.12);
}

.search-overlay__icon {
  margin-right: 10px;
  font-size: 1.8rem;
  color: #1c628f;
}

@media (min-width: 768px) {
  .search-overlay__icon {
    font-size: 2.5rem;
  }
}

.search-overlay--active {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.search-overlay__section-title {
  margin: 30px 0 1px 0;
  font-weight: 400;
  color: #237ab3;
  font-size: 2rem;
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
}

.search-overlay__close {
  position: absolute;
  top: 13px;
  right: 16px;
  font-size: 2.1rem;
  cursor: pointer;
  transition: all 0.3s;
  background-color: #fff;
  color: #1c628f;
  line-height: 0.7;
}

@media (min-width: 530px) {
  .search-overlay__close {
    top: 18px;
    font-size: 2.1rem;
  }
}

@media (min-width: 768px) {
  .search-overlay__close {
    top: 26px;
    font-size: 2.8rem;
  }
}

.search-overlay__close:hover {
  opacity: 1;
}

.search-overlay .one-half {
  padding-bottom: 0;
}

.search-term {
  width: 75%;
  box-sizing: border-box;
  border: none;
  padding: 15px 0;
  margin: 0;
  background-color: transparent;
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  color: #1c628f;
}

@media (min-width: 530px) {
  .search-term {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .search-term {
    width: 80%;
    font-size: 3rem;
  }
}

.no-scroll {
  overflow: hidden;
  height: 100%;
}

.spinner-loader {
  margin-top: 45px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 0.25rem solid rgba(0, 0, 0, 0.2);
  border-top-color: black;
  -webkit-animation: spin 1s infinite linear;
  animation: spin 1s infinite linear;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}

.search-overlay__section-title {
  margin: 0 0 1px 0;
  font-weight: 400;
  color: #000;
  font-size: 2rem;
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
}

.link-list li {
  padding: 1rem 0;
  font-size: 1.5rem;
  border-bottom: 1px dotted #DEDEDE;
}

.search-overlay .link-list li {
  font-size: 1.3rem;
}

.link-list li:last-child {
  border-bottom: none;
}

.link-list a {
  color: #1c628f;
}

.link-list a:hover {
  color: #87c246;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.search-overlay__results-heading {
  font-weight: 400;
}

.form-module {
  display: flex;
  flex-direction: column;
  justify-content: initial;
  align-items: initial;
  max-width: 400px;
  margin: 40px auto;
  gap: 1rem;
}

.form-module input,
.form-module textarea,
.form-module select {
  padding: 0.5rem;
  font-size: 1rem;
  border: 2px solid #808080;
  border-radius: 4px;
  outline: none;
  transition: all 0.3s ease;
}

.form-module input:focus,
.form-module textarea:focus,
.form-module select:focus {
  border-color: #262626;
}

.form-module button {
  background-color: #1c628f;
  color: #e3e3e3;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  border-radius: 5px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  border: none;
  cursor: pointer;
}

.form-module button:hover {
  background-color: #87c246;
  color: #000;
}

.form-module button:active {
  background-color: #5f8831;
  transition: background-color 0.075s ease, color 0.1s ease, box-shadow 0.075s ease;
}

select {
  color: grey;
  /* Text color of selected option */
  background-color: #fff;
  /* Background of the dropdown */
  padding: 0.1rem;
  /* Padding around the select box */
}

.modal {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transform: scale(0.8);
  transition: all 0.5s;
}

.modal:not(.show) .modal-content {
  transform: scale(0.8);
  opacity: 0;
}

.modal.show .modal-content {
  transform: scale(1);
}

#modal-close-btn {
  background-color: #1c628f;
  color: #e3e3e3;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  border-radius: 5px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  margin-top: 5px;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#modal-close-btn:hover {
  background-color: #87c246;
  color: #000;
}

#modal-close-btn:active {
  background-color: #5f8831;
  transition: background-color 0.075s ease, color 0.1s ease, box-shadow 0.075s ease;
}

button.loading {
  position: relative;
  pointer-events: none;
  color: transparent;
}

button.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1em;
  height: 1em;
  margin: -0.5em 0 0 -0.5em;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.g-recaptcha {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
}

fieldset#checkbox-as-upisi {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 1.5rem;
  border: 3px solid #237ab3;
}

fieldset#checkbox-as-upisi legend {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

fieldset#checkbox-as-upisi .checkbox-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e3e3e3;
  background-color: #1c628f;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 60px;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

fieldset#checkbox-as-upisi .checkbox-button:hover {
  background-color: #4f95c2;
}

fieldset#checkbox-as-upisi .checkbox-button:has(input:checked) {
  background-color: #87c246;
  color: #000;
}

fieldset#checkbox-as-upisi .checkbox-button input {
  display: none;
}

fieldset#checkbox-as-upisi .checkbox-button span {
  display: inline-block;
  line-height: 1.5;
  text-align: center;
}

/* Make sure the form has relative positioning */
#form-as-upisi,
#form-oo-upisi {
  position: relative;
}

/* Basic style for the floating message bubble */
.upisi-float-msg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  background-color: #d9534f;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  text-align: center;
  max-width: 80%;
  min-width: 200px;
}

/* Fade-out effect for the message */
.upisi-float-msg.fade-out {
  opacity: 0;
  transition: opacity 1s ease;
}

/* Success message (optional) */
.upisi-float-msg.success {
  background-color: #5bc0de;
}

#form-as-upisi,
#form-oo-upisi,
#form-izdavacka-djelatnost {
  margin: 20px auto;
  padding: 0 20px 20px;
}

.mini-contact-form {
  margin: 0 auto;
  gap: 0;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/*
NOTE: Free verzija vjr. ne dopušta igranje sa shortcodeom za neke parametre pa se oni skrivaju CSSom
*/
.fbdl-table th:nth-child(2),
.fbdl-table td:nth-child(2),
.fbdl-table th:nth-child(3),
.fbdl-table td:nth-child(3),
.fbdl-table th:nth-child(4),
.fbdl-table td:nth-child(4),
.fbdl-table th:last-child,
.fbdl-table td:last-child {
  display: none !important;
}

.fbdl-table-first-header {
  display: none;
}

#filebird-document-library {
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
}

.fbdl-list-first-item {
  border: 1px solid #e3e3e3 !important;
  border-radius: 4px !important;
  padding: 0.1rem !important;
  background-color: #fff !important;
}

.fbdl-list-item-title a {
  display: inline-block;
  white-space: normal !important;
  word-break: break-word;
  font-weight: 500;
}

div.fbdl-list-item-icon-wrapper img {
  width: 25px !important;
  margin-left: 10px;
  height: auto;
}

.fbdl-search-control {
  margin: 0px !important;
}

.module-element #filebird-document-library div.fbdl-layout-control {
  margin-bottom: 0;
}

.fbdl-layout-control-display span {
  display: none;
  margin: 0 !important;
}

.fbdl-layout-control-limit {
  margin-top: 10px !important;
}

#filebird-document-library {
  padding: 2% 10px 0;
}

@media (min-width: 768px) {
  #filebird-document-library {
    padding: 20px 25px 0;
  }
}

.paginated-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-page {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.gallery-page.active {
  display: flex;
}

.gallery-page:not(.active) {
  display: none;
}

.gallery-page figure {
  position: relative;
  aspect-ratio: 4/3;
  width: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-page figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #87c246;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  pointer-events: none;
  z-index: 2;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1000px rgba(0, 128, 0, 0.25);
}

.gallery-page figure:hover::after {
  opacity: 0.5;
}

.gallery-page figure a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.gallery-page figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-pagination {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}

.gallery-pagination button {
  background-color: #f0f0f0;
  border: none;
  border-radius: 6px;
  font-weight: normal;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  color: #111;
  transition: background-color 0.2s ease;
  font-weight: 700;
}

.gallery-pagination button:hover {
  background-color: #e2e2e2;
}

.gallery-pagination button.active {
  background-color: #237ab3;
  color: #fff;
  font-weight: bold;
}

.gallery-pagination button:last-child {
  font-weight: bold;
}

.poglavlje-group,
.final-ispit-section,
.eskola-legend {
  border: 1px solid #ccc;
  border-radius: 7px;
  padding: 0.25em;
  background-color: #fbfbfb;
  margin-bottom: 0;
  transition: border-color 0.3s ease;
}

.poglavlje-group:hover,
.final-ispit-section:hover,
.eskola-legend:hover {
  border-color: #237ab3;
}

.poglavlje-group h3,
.final-ispit-section h3,
.eskola-legend h3 {
  font-size: 1.15rem;
}

@media (min-width: 1250px) {

  .poglavlje-group h3,
  .final-ispit-section h3,
  .eskola-legend h3 {
    font-size: 1.5rem;
  }
}

.poglavlje-title {
  cursor: pointer;
  user-select: none;
}

.poglavlje-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease;
}

.poglavlje-content.opening,
.poglavlje-content.closing {
  display: block;
}

.poglavlje-content.active {
  opacity: 1;
}

.poglavlje-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.poglavlje-title .title-left {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.poglavlje-title .lekcija-counter {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  min-width: 60px;
  gap: 0.4em;
  font-size: 1.25rem;
  color: #808080;
}

.poglavlje-title .counter-text {
  display: inline-block;
  width: 3.5em;
  text-align: right;
}

@media (min-width: 1250px) {
  .eskola-lekcije {
    width: 70%;
    margin: 0 auto;
  }
}

.lekcija-counter {
  display: flex;
  align-items: center;
  gap: 0.4em;
  min-width: 4em;
}

.lekcija-counter .exam-status-icon {
  font-size: 1.1em;
  display: inline-block;
  width: 1.2em;
  text-align: center;
}

.lekcije-list li {
  margin-bottom: 0.5em;
  border-bottom: 1px solid #ccc;
}

.lekcije-list li:first-child {
  margin-top: 0.75em;
}

.lekcije-list li:last-child {
  border-bottom: none;
}

.lekcija-item::marker {
  content: none;
}

.final-ispit-note .final-ispit-note-txt,
.legend-list li {
  padding-left: 0;
  text-indent: 0;
  font-size: 1rem;
}

@media (min-width: 1250px) {

  .final-ispit-note .final-ispit-note-txt,
  .legend-list li {
    font-size: 1.15rem;
  }
}

.lekcija-item a,
.lekcija-item .disabled-link {
  font-size: 1rem;
}

@media (min-width: 1250px) {

  .lekcija-item a,
  .lekcija-item .disabled-link {
    font-size: revert;
  }
}

.lekcija-item.ispit-item {
  border-top: 1px solid #ddd;
  padding-top: 0.4em;
  margin-bottom: 0.2em;
}

.final-ispit-section {
  margin-top: 2rem;
  padding: 0.5em 0.75em;
}

.final-ispit-title {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.final-ispit-title .ispit-icon {
  font-size: 2rem;
}

.final-ispit-note li {
  margin-bottom: 0.3em;
  line-height: 1.4;
}

.locked .disabled-link {
  color: #808080;
  cursor: not-allowed;
  font-style: italic;
  text-decoration: none;
}

.eskola-legend {
  margin-top: 2rem;
}

.eskola-legend h4 {
  padding-left: 0.25rem;
  margin-bottom: 0.75rem;
}

.eskola-legend .legend-group {
  margin-bottom: 1.5rem;
}

.eskola-legend .legend-group:last-child {
  margin-bottom: 0;
}

.eskola-legend .legend-group h5 {
  padding-left: 0.5rem;
  margin-bottom: 0.6em;
}

.eskola-legend .legend-group .legend-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.4em;
}

.eskola-legend .legend-group .legend-list li .legend-icon {
  display: inline-block;
  width: 1.4em;
  margin-right: 0.4rem;
}

.eskola-povratak {
  margin-bottom: 10px;
  color: red;
}

p.as-tecaj-datum {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.vodic-heading-container {
  display: flex;
  justify-content: space-around;
  padding: 0 25px;
}

.vodic-heading-container h2 {
  font-size: 1rem;
  display: inline-block;
  padding: 12px 16px;
  min-width: 120px;
  text-align: center;
  background-color: #1c628f;
  color: #e6e6e6;
  cursor: pointer;
  user-select: none;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.15);
  transform: translateY(2px);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.vodic-heading-container h2:hover {
  background-color: #237ab3;
  color: #fff;
}

.vodic-heading-container h2.active {
  background-color: #87c246;
  color: #000;
  box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.as-vodic-kategorija {
  display: none;
}

/* experimenting with the tab */
.vodic-heading-container,
.as-vodic-kategorija {
  padding-top: 10px;
}

.as-vodic-kategorija {
  padding-bottom: 0;
}

.tpl-divider.hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, #237ab3, #3b8c99, #68ac67, #87c246, #237ab3);
}

@media (min-width: 768px) {
  article.as-text-module {
    padding-bottom: 0px;
  }
}

.as-vodic-informacije {
  padding-top: 0;
}

.as-vodic-content h3,
.as-vodic-informacije h3 {
  font-size: 1.5rem;
}

.as-upis-uvjeti {
  margin-bottom: 10px;
}

.vodic-heading-container-mobile {
  padding-bottom: 0;
}

.vodic-heading-container {
  display: none;
}

@media (min-width: 768px) {
  .vodic-heading-container {
    display: flex;
  }

  .vodic-heading-container-mobile {
    display: none;
  }
}

#vodic-select-text {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
}

#as-vodic-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.75em 2em 0.75em 1em;
  font-size: 1.15rem;
  font-family: "Roboto Condensed", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  border: 2px solid #237ab3;
  border-radius: 8px;
  background-color: #fff;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  background-size: 1.2em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

#as-vodic-select:focus {
  border-color: #87c246;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  outline: none;
}

.as-cjenik-container {
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.contact-title {
  font-size: 2.25rem;
  line-height: 1.2;
}

.contact-map,
.contact-tel,
.contact-email,
.contact-hours-info {
  display: flex;
  align-items: center;
}

.contact-hours-label {
  padding-left: 70px;
}

.contact-hours-items {
  width: 100%;
}

.contact-hours-item {
  display: flex;
  text-transform: uppercase;
  justify-content: space-between;
}

.contact-hours-item .day {
  text-align: center;
  font-weight: 600;
}

[class*=contact-][class$=-icon] i {
  color: #237ab3;
}

.contact-map-icon,
.contact-tel-icon,
.contact-email-icon,
.contact-hours-icon {
  flex: 0.25;
  min-width: 50px;
  text-align: center;
}

.contact-map-items,
.contact-tel-items,
.contact-email-items,
.contact-hours-items {
  font-size: 1rem;
  margin-left: 20px;
  flex: 2;
}

.contact-map-items a,
.contact-tel-items a,
.contact-email-items a,
.contact-hours-items a {
  font-weight: 500;
}

.contact-tel-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0.5rem;
}

@media (min-width: 768px) {
  .contact-element {
    display: flex;
    justify-content: space-around;
  }

  .contact-map-items,
  .contact-tel-items,
  .contact-email-items,
  .contact-hours-items {
    font-size: 1.15rem;
  }

  .contact-tel-items {
    column-gap: 3rem;
  }

  .contact-info,
  .contact-form {
    width: 425px;
  }
}

.contact-info .pipe,
.contact-form .pipe {
  width: 150px;
}

.bl-divider {
  height: 1px;
  background-color: #237ab3;
  width: 90%;
  margin: 20px auto;
}

.contact-map,
.contact-tel,
.contact-email,
.contact-hours-container {
  margin-top: 20px;
}

.contact-info,
.contact-form {
  margin: 20px 0;
  padding: 20px;
}

.contact-icon {
  font-size: 2.5rem;
}

.contact-form .form-module {
  margin: 0;
}

.cta-login {
  padding-bottom: 20px;
}

@media (min-width: 768px) {
  .cta-login {
    padding-bottom: 0;
  }
}

.cta-login-txt,
.cta-login-btn {
  width: 100%;
  text-align: center;
  padding: 0;
}

@media (min-width: 768px) {

  .cta-login-txt,
  .cta-login-btn {
    width: 420px;
  }
}

.cta-login .cta-login-txt p {
  font-family: "Roboto Condensed", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
}

#as-upisi-se {
  margin-top: 75px;
}

#polaznicki-portal-as p {
  padding-bottom: 10px;
}

#polaznicki-portal-as p:last-of-type {
  padding-bottom: 0;
}

#polaznicki-portal-as h3 {
  padding-bottom: 10px;
}

p.rokovi {
  padding-top: 10px;
}

p.rokovi-txt {
  font-weight: 700;
}

#oo-upisi-se {
  margin-top: 15px;
}

.pipe-rok {
  width: 120px;
  margin-bottom: 0;
  display: inline-block;
}

.pipe-rok h5 {
  font-size: 0.8rem;
}

.rok-otvoren {
  background-color: #87c246;
}

.rok-otvoren h5 {
  color: #000000;
}

.program-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.program-info p.program-info-txt {
  margin: 3px;
}

.program-heading:not(:first-of-type) {
  margin-top: 20px;
}

h4.program-subheading {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: "Roboto Condensed", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin-top: 15px;
}

.program-details {
  display: none;
}

.programs-info.active .program-details {
  display: block;
}

.program-dropdown {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  color: #333;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  margin: 1rem 0;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10"><polygon points="0,0 14,0 7,10" style="fill:%23666;" /></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.program-dropdown-styleless {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10"><polygon points="0,0 14,0 7,10" style="fill:%23666;" /></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.program-dropdown:focus,
.program-dropdown-styleless:focus {
  border-color: #237ab3;
  box-shadow: 0 0 0 3px rgba(35, 122, 179, 0.3);
  outline: none;
  color: #000;
}

.program-dropdown option {
  padding: 0.5rem;
}

#polaznicki-portal {
  padding: 10px 0;
}

.razred-select-wrapper {
  padding-bottom: 0;
}

.razred-select-label {
  font-weight: bold;
  margin-right: 1rem;
}

#razred-select {
  padding: 0.5rem;
  font-size: 1rem;
}

[id^=portal-] {
  display: none;
}

[id^=portal-].active {
  display: block;
}

#oo-odaberite-program {
  padding-bottom: 0;
}

#obrazovanje-odraslih-programi .module-element.programs-info {
  padding-top: 0;
  padding-bottom: 25px;
}

.program-details h4 {
  padding-top: 10px;
}

.rn-segment {
  height: 300px;
  font-size: 1.15rem;
  padding-top: 0;
}

.rn-segment a {
  display: inline-block;
  padding-bottom: 10px;
  letter-spacing: 0.5px;
}

.rn-icon {
  padding-right: 20px;
  font-size: 1.25rem;
}

.rn-icon-2 {
  padding-left: 5px;
  padding-right: 25px;
}

.knjiznica-knjiznicar,
.knjiznica-info {
  display: flex;
  align-items: center;
}

.knjiznica-knjiznicar-item,
.knjiznica-info-item {
  margin-left: 20px;
  flex: 2;
}

.knjiznica-knjiznicar-item p,
.knjiznica-info-item p {
  font-size: 1rem;
  font-weight: 500;
}

@media (min-width: 768px) {

  .knjiznica-knjiznicar-item p,
  .knjiznica-info-item p {
    font-size: 1.15rem;
  }
}

[class*=knjiznica-][class$=-icon] i {
  color: #237ab3;
}

.knjiznica-knjiznicar-icon,
.knjiznica-info-icon {
  flex: 0.25;
  min-width: 50px;
  text-align: center;
}

.knjiznica-informacije {
  margin: 20px auto;
  padding: 20px;
}

@media (min-width: 768px) {
  .contact-info.knjiznica-informacije {
    width: 450px;
  }
}

.rn-link-list li a {
  display: block;
  padding-left: 2em;
  /* space for icon */
}

.rn-link-list li a .rn-icon {
  display: inline-block;
  width: 1.5em;
  /* fixed space for icon */
  margin-left: -2em;
  /* pull icon into padding zone */
}

.tabs-heading-container {
  display: none;
}

@media (min-width: 768px) {
  .tabs-heading-container {
    display: flex;
  }
}

.project-btn button.btn-news.secondary {
  margin: 10px 0 0 0;
}

@media (min-width: 768px) {
  .project-btn button.btn-news.secondary {
    margin: 0 0 0 20px;
  }
}

#izdavacka-djelatnost-heading {
  font-size: 2.5rem;
}

fieldset#checkbox-izdavacka {
  margin: 0.5rem;
  padding: 1rem;
  border: 2px solid #237ab3;
}

fieldset#checkbox-izdavacka legend {
  font-size: 1.25rem;
  font-weight: 700;
}

fieldset#checkbox-izdavacka .checkbox-button {
  display: block;
  margin: 0.5rem 0;
  font-size: 1.15rem;
}

fieldset#checkbox-izdavacka .checkbox-button input {
  margin-right: 0.75rem;
  transform: scale(1.4);
  accent-color: #237ab3;
}

fieldset#checkbox-izdavacka .checkbox-heading {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #237ab3;
}

fieldset#checkbox-izdavacka .checkbox-heading:last-of-type {
  margin-top: 1rem;
}

fieldset#checkbox-izdavacka .checkbox-author {
  font-weight: 600;
  margin-right: 0.25rem;
}

#form-izdavacka-djelatnost.form-module {
  max-width: 100%;
  width: 100%;
  gap: 1rem;
}

#form-izdavacka-djelatnost.form-module,
#izdavacka-djelatnost-info {
  max-width: 760px;
}

@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("../assets/fonts/RobotoCondensed-VariableFont_wght.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("../assets/fonts/RobotoCondensed-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("../assets/fonts/Oswald-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

/*# sourceMappingURL=scp-style.css.map */