/* FRONTEND CSS
*********************************************/
html {
    overflow-y: scroll;
  }
  body {
    background-color: #FFFFFF;
    font-family: "Roboto", sans-serif;
    line-height: 180%;
    font-size: 16px;
  }
  
  * {
      -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
      -moz-box-sizing: border-box;    /* Firefox, other Gecko */
      box-sizing: border-box;         /* Opera/IE 8+ */
  }
  
  html, body.dj-offcanvas-open, .dj-offcanvas-wrapper, .dj-offcanvas-pusher {
      height: auto !important;
  }

  :root {
    --blue:#3a5b9b;
    --peach: #f3784b;
    --peach-hover: #ff9067;
  }
  
  strong, b {
    font-weight: 600;
  }

  .content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 30px;
  }

  /* top scroll */

  .top.scroll {
    background: #fff;
    min-height: auto;
    z-index: 7;
  }

  /* top */

  .top {
    position: relative;
    float: left;
    width: 100%;
    padding: 10px 0px;
    position: fixed;
    z-index: 5;
    background-image: url(/templates/joomstarter/images/trans.png);
    background-position: top;
    background-repeat: repeat;
    min-height: 299px;
  }

  .top .content {
    padding: 0px 10px 0px 20px;
  }

  .logo {
    float: left;
    width: 260px;
  }

  /* top scroll */

  .top.scroll {
    padding: 10px 0px;
    transition: all 0.5s ease;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
  }

  /* meni */

  .meni {
    float: left;
    width: calc(100% - 440px);
    text-align: center;
    margin-top: 24px;
  }

  .dj-megamenu-wrapper {
    display: inline-block;
  }

  .dj-megamenu-clean li a.dj-up_a {
    color: #000;
    height: auto;
    padding: 6px 10px;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.0);
  }

  .dj-megamenu-clean li a.dj-up_a:hover {
    border-bottom: 1px solid var(--peach);
  } 

  .dj-megamenu-clean li a.dj-up_a > span {
    height: auto;
  }

  .dj-megamenu-clean li:last-child a.dj-up_a:hover {
    color: #000;
  }

  /* podmeni */

  .meni .dj-megamenu-clean li ul.dj-submenu {
  background: var(--blue);
  box-shadow: 0 0 20px rgba(0,0,0,0.25);
  border-radius: 0px 0px 40px 40px;
  padding: 20px;
}

.meni .dj-megamenu-clean li a.dj-up_a:hover, .meni .dj-megamenu-clean li.active a.dj-up_a  {
  background-repeat: no-repeat;
  background-position: bottom left;
  color: var(--peach) !important;
}


.meni .dj-megamenu-clean li div.dj-subwrap .dj-subwrap-in {
  border-radius: 0px 0px 50px 50px !important;
}

.dj-megamenu-clean li ul.dj-submenu > li > a {
  color: #fff;
  text-align: left !important;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 6px 0px;
  height: auto;
}

.meni .dj-megamenu-clean li ul.dj-submenu > li {
  border-radius: 50px !important;
}

.dj-megamenu-clean li ul.dj-submenu > li > a:hover, .dj-megamenu-clean li ul.dj-submenu > li > a.active {
    background: none;
    color: var(--peach);
}



  /* menu mobile */
  .dj-megamenu-select-light .dj-mobile-open-btn, .dj-megamenu-offcanvas-light .dj-mobile-open-btn, .dj-megamenu-accordion-light .dj-mobile-open-btn {
    color: var(--peach) !important;
  }
  
  .dj-megamenu-select-light .dj-mobile-open-btn, .dj-megamenu-offcanvas-light .dj-mobile-open-btn, .dj-megamenu-accordion-light .dj-mobile-open-btn {
    background: none !important; 
  }

  .dj-mobile-open-btn.active .dj-mobile-open-icon {
    background: none !important;
  }

  ul.dj-mobile-light li.dj-mobileitem > a {
    font-size: 16px;
    font-weight: 600;
  }

li.dj-mobileitem.itemid-124 a {
	background: var(--blue) !important;
	color: #fff !important;
	padding: 22px 17px !important;
	font-weight: 500;
}

  /* blog */

  .com-content-category-blog__item {
  float: left;
  width: 45%;
  padding-right: 30px !important;
  margin-bottom: 50px;
}

.com-content-category-blog__items.blog-items.items-leading  {
  display: flex;
  flex-wrap: wrap;
}

.com-content-category-blog__item div {
  width: 100% !important;
  padding-right: 0px;
}

.blog a {
  text-decoration: underline !important;
}

.blog a:hover {
  color: var(--peach) !important;
}

.readmore a {
  background: none;
  color: var(--peach) !important;
  border: 1px solid var(--peach);
  text-decoration: none !important;
  margin-top: 20px;
  border-color: none;
}

.readmore a:hover {
  background: var(--peach);
  color: #fff !important;
  border-color: none;
}

  /* info */

  .info {
    float: left;
    width: 180px;
    margin-top: 25px;
  }

  /* slider */

  .slider {
    position: relative;
    float: left;
    width: 100%;
  }

  .slider img {
  height: auto !important;
  object-fit: cover;
}

  .djslider.djslider-default {
    height: 100vh !important;
  }

  img.dj-image {
      height: 100vh !important;
      width: fit-content;
  }

  .djslider-in li {
      height: 100vh !important;
  }

  .djslider-default .navigation-container-custom {
    top: auto;
    right: 10px;
    bottom: 50px;
    text-align: center;
    left: 10px;
  }

  .djslider-default .load-button {
    width: 15px;
    height: 15px;
    background: var(--peach);
    border: none;
    margin: 0 6px;
  }

  /* slogan */
  
  .slogan {
    position: absolute;
    top: 180px;
    z-index: 6;
    font-size: 50px;
    font-weight: 600;
  }

  .slogan p {
    line-height: 120%;
  }

  .slogan h3 {
    font-size: 24px;
    margin-top: 40px;
    line-height: 150%;
  }

  .slogan h1 {
    font-size: 50px;
    font-weight: 600;
  }

  .slogan a.gumb {
    margin-top: 40px;
    line-height: 185%;
  }

  /* gumbi */

  a.gumb {
    background: var(--peach);
    color: #FFFFFF;
    font-size: 18px;
    border-radius: 5px;
    display: inline-block;
    padding: 6px 20px;
    text-decoration: none;
  }

  a.gumb:hover {
    background: var(--peach-hover);
  } 

  /* uvod */

  .uvod {
    position: relative;
    float: left;
    width: 100%;
    padding: 100px 0px 0px 0px;
  }

  .uvod h2 {
    font-size: 40px;
    font-weight: 600;
  }

  .uvodno-b {
    float: left;
    width: calc(100% - 222px);
    padding-right: 100px;
  }

  .ani {
    float: left;
    width: 222px;
    position: relative;
  }

  .ani-1 img {
  width: 222px;
  height: 222px;
  animation-name: rotate;
  animation-duration: 50s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
}

@keyframes rotate {
  from{ transform: rotate(360deg); }
  to{ transform: rotate(-360deg); }
}

.ani-1 {
  position: absolute;
  z-index: 1;
  width: 222px;
  height: 222px;
}

.ani-2 {
  position: absolute;
  z-index: 2;
  width: 222px;
  height: 222px;
  line-height: 222px;
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  padding-left: 4px;
  color: #fff;
}

.vrednotenje {
  position: relative;
  float: left;
  width: 100%;
  padding: 100px 0px;
}

/* dodatki */

hr {
  margin: 23px 0;
  color: #eee;
  opacity: 0.75;
}

.wf-columns {
  gap: 3rem;
}

.slikica {
  background-size: cover;
  background-position: top center;
}

.slikica img {
  height: 100% !important;
  object-fit: cover !important;
}

.modra {
  background: var(--blue);
  color: #fff;
  padding: 20px;
  border-radius: 10px;
}

.modra a {
  color: var(--peach-hover) !important;
}

.s-modra {
    background: #f3f8fc;
    padding: 20px;
    border-radius: 10px;
}
.okvir {
  padding: 20px;
  border-radius: 2px;
  box-shadow: 0 0 30px rgba(0,0,0,0.15);
  border-radius:10px; 
}

.crta {
  border-left: 1px solid rgba(250,250,250,0.15);
  padding-left: 20px;
}

.wf-columns .wf-column.crta:first-child {
  border: none;
}

table tr td {
  vertical-align: top;
}

.povprasevanje table tr td:nth-child(1) {
  width: 30%;
}

.povprasevanje table tr td:nth-child(2) {
  width: 70%;
  padding-left: 30px;
}

.pogosta-vprasanja table, .cene table {
  width: 100%;
}

.pogosta-vprasanja table tr td, .cene table tr td  {
  border: 1px solid #eee;
  padding: 5px;
}

/* tabi */

#vzorec {
  scroll-margin-top: 80px;
  position: relative;
}


#vzorec::before {
  content: '';
  display: block;
  height: 60px; /* Prilagodite višino vaši fiksni vrstici */
  margin-top: -20px; /* Premik nazaj za enako višino */
  visibility: hidden; /* Psevdoelement ostane neviden */
}

/* zoom */

.zoomable {
  cursor: zoom-in;
  transition: transform 0.3s ease;
  max-width: 100%;
}

.zoomed {
  position: fixed;
  top: 50%;
  left: 50%;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1);
  cursor: zoom-out;
  z-index: 10 !important;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

/* vrednotenje */

.vrednotenje ul, .vsebina ul {
  padding: 0;
  margin: 20px 0px;
}

.vrednotenje ul li, .vsebina ul li {
  padding: 2px 0px 2px 30px;
  margin: 0;
  list-style-type: none;
  background-image: url(/images/icons/check.png);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 20px;
  background-position-y: 4px;
}

/* postopki */

.postopki {
  position: relative;
  float: left;
  width: 100%;
  padding: 100px 0px;
  background-image: url(/templates/joomstarter/images/bg-postopki.jpg);
  background-position: bottom center;
  background-size: cover;
  border-top: 2px solid #dfe5ef;
}

.postopki h2 {
  font-size: 40px;
  font-weight: 600;
}

.postopki h3, .vsebina h3 {
  color: var(--peach);
  font-size: 24px;
  font-weight: 500;
  margin: 0;
  padding: 15px 0px;
}

/* prednosti */

.prednosti {
    position: relative;
    float: left;
    width: 100%;
    padding: 100px 0px;
}

/* action */

.action {
    position: relative;
    float: left;
    width: 100%;
    padding: 100px 0px;
    border-top: 2px solid #dfe5ef;
    text-align: center;
}

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

.action a:hover {
  color: var(--peach);
}

.action h3 {
  font-size: 40px;
  font-weight: 600;
  margin: 0;
  padding: 0px 0px 20px 0px;
}

.action img {
  vertical-align: middle;
  margin-bottom: 11px;
}


/* bott */

.bott {
  position: relative;
  float: left;
  width: 100%;
  padding: 100px 0px 0px 0px;
  background-image: url(/templates/joomstarter/images/bg-bott.jpg);
  background-position: bottom center;
  background-size: cover;
  color: #fff;
}

.bott a {
  color: #fff;
  text-decoration: none;
}

.bott a:hover {
  text-decoration: underline;
}

.bott h4 {
  color: var(--peach);
  font-size: 20px;
}

.bottom {
  padding-bottom: 150px;
}

.pravice {
  text-align: center;
  width: 100%;
  float: left;
  padding: 0px 0px 20px 0px;
  background-color: #3777b5;
  color: #fff;
}

/* vsebina */

.home .vsebina, .home .banner-in {
  display: none;
}

.vsebina {
  padding: 100px 0px;
  float: left;
  position: relative;
  width: 100%;
  z-index: 6;
}

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

.vsebina a:hover {
  text-decoration: underline;
}

.vsebina h1 {
  font-size: 36px;
  margin: 0;
  padding: 0px 0px 30px 0px;
}

/* banner znotraj strani */

.banner-in {
  position: relative;
  width: 100%;
  float: left;
  height: 60px;
  background-position: center;
  background-size: cover;
}

.clanki .banner-in, .cene .banner-in {
  height: 450px;
  background-image: url(/images/banners/businessman-investors-hand-using-calculator-for-calculating-loan-of-finance-and-planning-.jpg);
}

.banner-in.active {
  height: 450px;
}

.cenitve .banner-in.active {
  height: 60vh;
}

/* tabi */

.IZBRANA-TEMA div.djtabs-title-wrapper .djtabs-title {
  margin-bottom: 20px;
  width: 95%;
  background-image: url(/templates/joomstarter/images/arrow-down.png);
  background-size: 34px;
  background-repeat: no-repeat;
  background-position: right 20px center;
}

.IZBRANA-TEMA .djtabs-title-wrapper.djtabs-active-wrapper .djtabs-title {
  background-image: url(/templates/joomstarter/images/arrow-up.png);
}

.IZBRANA-TEMA .djtabs-title {
  text-align: left;
  font-weight: 500;
  color: #000;
  padding: 0px 20px !important;
}

.IZBRANA-TEMA .djtabs-in {
  margin: 0px 15px 10px 7px;
  width: 99%;
}

.djtabs-body.accordion-body.djclear.type-custom {
  padding-top: 0px;
}

.djtabs-title [class^="icon-"] {
  float: right;
  color: #fff;
  background: var(--blue);
  width: 38px;
  height: 38px;
  border-radius: 100px;
  line-height: 188%;
  text-align: center;
  margin-top: 6px;
  font-size: 0;
}

@media only screen and (max-width: 1200px) {
  .uvodno-b {
    padding-right: 30px;
  }
}

@media only screen and (max-width: 1160px) {
  .dj-megamenu-clean li a.dj-up_a {
    padding: 6px 8px;
    font-size: 16px;
  }

  .top a.gumb {
    font-size: 16px;
  }

  .logo img {
    width: 250px;
  }
}



@media only screen and (max-width: 1090px) {
  .meni {
    text-align: right;
    margin-top: 29px;
    padding-right: 20px;
  }
}

@media only screen and (max-width: 960px) {
  .povprasevanje table tr td {
    width: 100% !important;
    display: block;
  }

  .povprasevanje .povprasevanje table tr td:nth-child(2) {
    padding-left: 0;
  }

  .wf-columns {
    gap: 2rem;
  }

  .vrednotenje .wf-columns {
    gap: 0;
  }

  .vrednotenje .slikica img {
    padding-bottom: 30px;
  }

  .ani {
    display: none;
  }

  .uvodno-b {
    width: 100%;
  }
  .bott {
    text-align: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #265196;
  }

  .bottom {
    padding-bottom: 10px;
  }
}

@media only screen and (max-width: 768px) {
  .slogan h1, .vsebina h1 {
    font-size: 30px;
  }


  .slogan h3 {
    font-size: 20px;
  }

  .slogan {
    font-size: 30px;
  }

  .uvod h2, .postopki h2 {
    font-size: 26px;
  }

  .action h3 {
    font-size: 30px;
  }
  .banner-in.active, .clanki .banner-in, .cene .banner-in, .cenitve .banner-in.active {
    height: 280px;
  }

  .slogan {
    top: auto;
    background: rgba(250,250,250,0.60);
    padding: 20px;
    right: 20px;
    left: 20px;
    bottom: 50px;
    text-align: center;
  }
  .djslider-default .navigation-container-custom {
    bottom: 10px;
  }
}

@media only screen and (max-width: 479px) {
  .info {
    display: none;
  }

  .meni {
    width: calc(100% - 180px);
    margin-top: 16px;
  }

  .logo {
    width: 180px;
  }

  .logo img {
    width: 180px;
  }

  .djslider.djslider-default {
    height: 70vh !important;
  }

  img.dj-image {
      height: 70vh !important;
  }

  .djslider-in li {
      height: 70vh !important;
  }

  .vsebina {
    padding: 50px 0px;
  }

  .top {
    min-height: auto;
  }

  .home .top {
    min-height: 299px;
  }

  .home .top.scroll {
    min-height: auto;
  }

  .slikica img {
    height: auto !important;
  }
  .uvod {
    padding: 50px 0px 0px 0px;
  }
  .vrednotenje, .postopki, .prednosti, .action {
    padding: 50px 0px;
  }
  .content {
    padding: 0px 20px;
  }
  
}
