/* FRONTEND CSS
*********************************************/
html {
    overflow-y: scroll;
  }
  body {
    background-color: #FFFFFF;
    font-family: "Inter", sans-serif;
    line-height: 180%;
  }
  
  * {
      -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 {
    --gold:#d1ad6f;
    --gold-hover:#fccf82;
    --grey: #3d3d49;
  }
  
  strong, b {
    font-weight: 600;
  }

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

  /* top */

  .top {
    position: fixed;
    float: left;
    width: 100%;
    padding: 15px 0px;
    background: var(--grey);
    z-index: 10;
  }

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

  /* meni */

  .meni {
    float: left;
    width: calc(100% - 420px);
    padding-left: 50px;
    margin-top: 6px;
  }

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

  .dj-megamenu-clean li a.dj-up_a {
    color: #fff;
    height: auto;
    padding: 5px 10px;
    font-size: 18px;
  }

  .dj-megamenu-clean li a.dj-up_a:hover, .dj-megamenu-clean li a.dj-up_a.active  {
    color: var(--gold);
  } 

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

  /* barva ozadja mobi */

  .dj-offcanvas-dark, .dj-offcanvas-dark .dj-offcanvas-top {
    background: #20242e;
  }

  ul.dj-mobile-dark li.dj-mobileitem > a {
    background: none;
    font-size: 18px;
  }

  ul.dj-mobile-dark li.dj-mobileitem:hover > a, ul.dj-mobile-dark li.dj-mobileitem.active > a {
    background: none;
  }

  ul.dj-mobile-dark ul li.dj-mobileitem > a {
    background: none;
    border-top: 1px solid #474e60;
  }

  .dj-mobile-open-btn.active .dj-mobile-open-icon, .dj-megamenu-select-dark .dj-mobile-open-btn:focus, .dj-megamenu-select-dark:hover .dj-mobile-open-btn, .dj-megamenu-offcanvas-dark .dj-mobile-open-btn:hover, .dj-megamenu-offcanvas-dark .dj-mobile-open-btn:focus, .dj-megamenu-accordion-dark .dj-mobile-open-btn:hover, .dj-megamenu-accordion-dark .dj-mobile-open-btn:focus {
    background: none !important;
    color: #fff;
  }

  .dj-megamenu-select-dark .dj-mobile-open-btn, .dj-megamenu-offcanvas-dark .dj-mobile-open-btn, .dj-megamenu-accordion-dark .dj-mobile-open-btn {
    background: none;
  }

  .dj-offcanvas {
    width: 100% !important;
    padding: 50px !important;
  }
  
  .dj-offcanvas-effect-3.dj-offcanvas-open .dj-offcanvas-pusher {
	  transform: translate3d(100%, 0, 0) !important;
  }
  
  .dj-offcanvas-dark .dj-offcanvas-close-btn:focus, button:focus:not(:focus-visible) {
	border: none !important;
	box-shadow: none !important;
  }

  ul.dj-mobile-dark ul li.dj-mobileitem.active > a {
    color: var(--gold);
    background: none;
  }

  li.dj-mobileitem.itemid-128 a{
    background: var(--gold) !important;
    color: #303542 !important;
    border-radius: 2px !important;
    margin: 35px 30px 0px 16px !important;
    padding: 14px 15px 10px 15px !important;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
  }

  /* povpraševanje gumb */

  .povp {
    float: right;
    width: 190px;
    margin-top: 5px;
    text-align: right;
  }

  .povp a {
    color: #000;
    background: var(--gold);
    display: inline-block;
    padding: 8px 25px 3px 25px;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .povp a:hover {
    background: var(--gold-hover);
    transition: all 0.3s ease;
  } 

   /* banner */

   .banner {
    position: relative;
    float: left;
    width: 100%;
    height: 70vh;
   }

   .banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
  }

  .slogan {
    position: absolute;
    bottom: 100px;
    z-index: 3;
    font-size: 24px;
    color: #fff;
  }

  .slogan h1 {
    font-family: "Playfair Display", serif;
    font-size: 70px;
  }

  .slogan h2 {
    font-weight: 400;
  }

  .slogan a.gumb {
    margin-top: 15px;
  }

  /* dodatki */

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

  .slogan a.gumb:hover {
    background: #fff;
  }

  a.gumb {
    color: #000 !important;
    background: var(--gold);
    display: inline-block;
    padding: 8px 25px;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
  }

  a.gumb:hover {
    background: var(--gold-hover);
    transition: all 0.3s ease;
    text-decoration: none !important;
  }

  .right {
    text-align: right;
  }

  .center {
    text-align: center;
  }

  .shad {
    padding: 15px;
    text-align: center;
  }

  .bez {
    background: #F8F3EC;
    padding: 45px;
  }

  .gumb-r {
    position: relative;
    width: 100%;
  }

  .gumb-r a {
    border: 1px solid var(--grey);
    color: var(--grey);
    display: inline-block;
    padding: 5px 25px;
    text-decoration: none;
    position: absolute;
    right: 0;
    transition: all 0.3s ease;
  }

  .gumb-r a:hover {
    background: var(--grey);
    color: #fff;
    transition: all 0.3s ease;
  } 

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

  .slika_bg img {
    height: 100%;
    object-fit: cover;
  }

  /* uvod */

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

  .uvod h2 {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    margin: 0;
    padding: 0px 0px 30px 0px;
  }

  /* ikonce pri uvodu */
  .ikonce img {
    margin-right: 10px;
  }

  .potr .wf-columns {
    gap: 60px;
  }

  .uvod img {
    width: 60px;
  }

  table tr td {
    vertical-align: top;
  }

/* Glavni okvir */
.okvir {
  display: flex;
  gap: 20px;
  margin-top: 50px;
}

/* Klikljivi blok (pergola, carport, pomeri) */
a.blok {
  display: block;
  width: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
  margin-top: 0;
  color: inherit;
}

a.blok:hover img {
  transform: scale(1.03); /* poveča za 10% */
  transition: all 0.5s ease;
}

/* Slike znotraj klikljivih blokov */
a.blok img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.5s ease;
}

a.blok .objem h2 {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 30px;
  padding: 0;
  width: calc(100% - 50px);
}

/* Naslov (h2) na dnu slike */
a.blok .objem {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 25px;
  background: var(--gold);
}

/* Puščica znotraj h2 */
a.blok .objem::after {
  content: "";
  width: 25px;
  height: 25px;
  margin-left: 10px;
  background-image: url(/templates/joomstarter/images/arrow.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 25px;
  top: 30px;
}

.pomeri {
  margin-top: 20px;
}

/* Celoten klikljiv blok */
.pomeri-blok {
  display: flex;
  width: 100%;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

a.pomeri-blok .objem {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 25px;
}

a.pomeri-blok .objem h2 {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 30px;
  padding: 0;
  width: calc(100% - 50px);
  color: #000;
}

a.pomeri-blok .objem::after {
  content: "";
  width: 25px;
  height: 25px;
  margin-left: 10px;
  background-image: url(/templates/joomstarter/images/arrow-b.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 25px;
  top: 30px;
}

/* Levi del – zlat z besedilom */
.pomeri-blok .left {
  width: 50%;
  background-image: url(/templates/joomstarter/images/plan-bg.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
}

/* Desni del – slika */
.pomeri-blok .right {
  width: 50%;
  overflow: hidden;
}

/* Slika */
.pomeri-blok .right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Hover na a → animira desno sliko */
.pomeri-blok:hover .right img {
  transform: scale(1.03); /* subtilno povečanje */
}

/* zaupajte */

.trust {
	float: left;
	width: 100%;
	margin-top: 80px;
}

.trust h3 {
	font-size: 26px;
	font-weight: 400;
}

.okvir-g {
	background: var(--grey);
	color: #fff;
	padding: 30px;
	text-align: center;
}

.okvir-b {
    padding: 30px 30px 30px 0px;
}

.wf-columns {
	gap: 20px;
}

/* projekti */

.projekti {
  position: relative;
  width: 100%;
  float: left;
  padding-bottom: 80px;
}

.projekti img {
  margin-right: 20px;
  padding: 8px 16px 8px 0px;
}

.projekti ul {
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

.projekti ul li {
  padding: 0;
  margin: 0;
  list-style-type: none;
  width: 33.33%;
  float: left;
  overflow: hidden;
}

.projekti ul li a {
  text-decoration: none;
  color: #000;
}

.projekti ul li a .slika_1 {
  transition: all 0.5s ease;
}

.projekti ul li a:hover .slika_1 {
  transform: scale(1.03);
  transition: all 0.5s ease;
}

.projekti ul li a .opis {
  transition: all 0.5s ease;
}
.projekti ul li a:hover .opis {
  color: var(--gold);
  transition: all 0.5s ease;
}

.projekti h2 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin-bottom: 50px;
}

.projekti .opis h4 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin: 0;
  padding: 15px 15px 0px 0px;
}

.projekti .slika_1 {
  background-size: cover !important;
  background-position: center;
  width: 100%;
  height: 350px;
}

.moduletable.projekten {
  overflow: hidden;
}

.projekti .content {
  overflow: hidden;
}

.newsflash-horizprojekten {
  display: flex;
  padding: 0;
  margin: 0;
  transition: transform 0.5s ease;
  list-style: none;
}

.newsflash-horizprojekten li {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  box-sizing: border-box;
  padding: 0 10px; /* po potrebi */
}

/* konfigurator */

.konfi {
  background: #F8F3EC;
  padding: 2px 0px;
  width: 100%;
  float: left;
  position: relative;
}

/* Pergole znotraj strani */

.perg {
  position: relative;
  width: 100%;
  float: left;
  padding-top: 20px;
}


.perg ul {
  padding: 0 !important;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.perg h2 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin-bottom: 50px;
}

.perg ul li {
  padding: 0px 30px 10px 0px;
  margin: 0;
  list-style-type: none;
  width: 33.33%;
  float: left;
}

.perg ul li a {
  text-decoration: none;
  color: #000;
}

.perg ul li a .slika_1 {
  transition: all 0.5s ease;
}

.perg ul li a:hover .slika_1 {
  transform: scale(1.03);
  transition: all 0.5s ease;
}

.perg ul li a .opis {
  transition: all 0.5s ease;
}
.perg ul li a:hover .opis {
  color: var(--gold);
  transition: all 0.5s ease;
}


.perg .opis h4 {
  font-weight: 400;
  margin: 0;
  padding: 20px 0px 15px 0px;
  font-size: 22px;
}

.perg .slika_1 {
  background-size: cover !important;
  width: 100%;
  height: 280px;
  background-position: center;
}



/* Zapisi */

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

.zapis img {
  margin-right: 20px;
  padding: 8px 16px 8px 0px;
}

.zapis ul {
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

.zapis h2 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin-bottom: 50px;
}

.zapis ul li {
  padding: 0;
  margin: 0;
  list-style-type: none;
  overflow: hidden;
}

.zapis ul li a {
  text-decoration: none;
  color: #000;
}


.zapis ul li a .slika_1 {
  transition: all 0.5s ease;
}

.zapis ul li a:hover .slika_1 {
  transform: scale(1.03);
  transition: all 0.5s ease;
}

.zapis ul li a .opis {
  transition: all 0.5s ease;
}
.zapis ul li a:hover .opis {
  color: var(--gold);
  transition: all 0.5s ease;
}


.zapisi .opis h4 {
  font-weight: 400;
  margin: 0;
  padding: 20px 0px 15px 0px;
  font-size: 22px;
}

.zapisi .slika_1 {
  background-size: cover !important;
  background-position: center !important;
  width: 100%;
  height: 280px;
}

.moduletable.zapisi {
  overflow: hidden;
}

.newsflash-horizzapisi {
  display: flex;
  padding: 0;
  margin: 0;
  transition: transform 0.5s ease;
}

.newsflash-horizzapisi li {
  flex: 0 0 24%;
  max-width: 24%;
  box-sizing: border-box;
}

/* action */

.action {
  width: 100%;
  float: left;
  position: relative;
  color: #fff;
  background: var(--grey);
  padding: 80px 0px;
}

.action h2 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 36px;
  padding: 0px 0px 30px 0px;
  margin: 0;
}

.action .levo {
  width: 70%;
  float: left;
}

.action .desno {
  width: 30%;
  float: left;
  text-align: right;
}

/* bott */

.bott {
  width: 100%;
  float: left;
  position: relative;
  padding-top: 80px;  
}

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

.bott a:hover {
  color: var(--gold)
}

.bott-1 {
  float: left;
  width: 25%;
}

.bott-2 {
  float: left;
  width: 25%;
}

.bott-3 {
  float: left;
  width: 25%;
}

.bott-4 {
  float: left;
  width: 25%;
}

.bott ul {
  padding: 0px 0px 0px 18px;
  line-height: 22px;
}

.bott ul li {
  padding: 3px 0px;
}

.bott h3 {
  font-size: 22px;
  margin: 0;
  padding: 15px 0px;
}

.pravice {
  float: left;
  width: 100%;
  border-top: 1px solid var(--grey);
  text-align: center;
  padding: 20px 0px;
  margin-top: 80px;
}

.footer2 {
  display: none;
}

/* vsebina */

.home .vsebina {
  display: none;
}

.vsebina .content {
  max-width: 1400px;
}

.vsebina {
  float: left;
  position: relative;
  width: 100%;
  padding: 160px 0px 80px 0px;
}

.vsebina h1 {

  font-weight: 400;
  font-size: 36px;
  margin: 0;
  padding: 0px 0px 30px 0px;
}

.vsebina h2 {

  font-weight: 400;
  font-size: 30px;
  margin: 0;
  padding: 0px 0px 15px 0px;
}

.vsebina .wf-columns {
  gap: 30px;
}

.vsebina ul {
  padding: 20px 0px 20px 30px;
}

ul li::marker {
  color: var(--gold);
}

.vsebina a {
  text-decoration: none;
  color: var(--gold);
}

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

.vsebina table tr td {
  border: 1px solid #eee;
  padding: 5px;
}

/* blog */

.com-content-category-blog__item.blog-item {
  position: relative;
  width: calc(33.33% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  justify-content: flex-start;
  padding-bottom: 20px;
}


.com-content-category-blog__item.blog-item:hover .left.item-image img {
  transition: transform 0.5s ease;
  transform: scale(1.05);
}

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

.left.item-image {
  position: relative;
  height: 280px;
  margin-bottom: 20px;
}

.left.item-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog h2 {
  color: var(--gold);
  font-size: 22px;
  line-height: 130%;
}

.readmore [class^="icon-"] {
  display: none;
}

.pagination {
  --bs-pagination-disabled-bg: #f3f8fc;
  --bs-pagination-active-bg: var(--gold);
}

.page-link {
  color: var(--grey);
}

.page-link:hover {
  color: var(--grey);
}

.active > .page-link {
  border-color: var(--gold);
}

.readmore a {
  background: var(--gold);
  color: #000;
  margin-top: 15px;
  border-radius: 1px;
  border: none;
}

.readmore a:hover {
  background: var(--gold-hover);
  color: #000;
}

/* RSForm */

.rsform-submit-button {
	background: var(--gold) !important;
	border-radius: 0px !important;
	color: #000 !important;
	border: none !important;
	padding: 12px 30px !important;
	font-size: 16px !important;
	text-shadow: none !important;
  margin-top: 20px;
}

.rsform-submit-button:hover {
	background: var(--gold-hover) !important;
} 

.formResponsive button[type="button"] {
	margin-top: 17px;
}

.rsform-block.rsform-block-text {
	margin-bottom: 50px;
	font-size: 14px;
	margin-bottom: 30px !important;
  }
  
  .formResponsive .formHorizontal .rsform-block {
	  margin-bottom: 0;
   }
  
  .formResponsive textarea, .formResponsive input[type="text"] {
	padding: 14px 8px !important;
  }
  
  .formResponsive textarea, .formResponsive input[type="text"] {
	border-radius: 2px !important;
	padding: 15px !important;
	border: 1px solid var(--grey)
  }
  
  .formResponsive input[type="text"] {
	width: 100% !important;
  }
  
  .formControlLabel { 
	text-align: left !important; 
	padding: 0 !important; 
	width: 100%; 
  }

  .formResponsive .formControls label {
    margin: 3px 25px 3px 0;
  }

  .rsform-text-box { 
    width: 97% !important; 
    padding:8px !important;
  }
    
  .rsform-block.rsform-block-name, .rsform-block.rsform-block-phone, .rsform-block.rsform-block-email, .rsform-block.rsform-block-adress, .rsform-block.rsform-block-sirina, .rsform-block.rsform-block-globina { 
	float: left; 
	width: calc(50% - 50px);
	margin-right: 50px;
	}
  
  .rsform-block.rsform-block-sporocilo {
	width: 98%;
  }
  
  .formResponsive .formHorizontal .formControlLabel {
	width: 100% !important;
  float: initial;
  }
  
  .formResponsive .formHorizontal .formControls {
	  margin-left: 0 !important;
  }
  
  .formResponsive label {
	height: auto !important;
  }
  
  .formResponsive input[type="radio"], .formResponsive input[type="checkbox"] {
	margin-top: 11px !important;
  }

  /* /////////////////// */

.rsform-block-slike {
  float: left;
  width: calc(100% - 350px);
}

.rsform-block-izberi-dodatke {
  float: right;
  width: 350px;
  padding-left: 30px;
}

#izberi-dodatke-grouplbl {
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 20px;
}

.rsform-block-izberi-senzorje {
  float: left;
  width: 100%;
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
  margin-bottom: 30px !important;
}

.rsform-block-podatki {
  width: 100%;
  float: left;
}

.rsform-block-dimenzije {
  width: 100%;
  float: left;
  border-top: 1px solid #ddd;
  margin-top: 50px;
  padding-top: 50px;
}

.formResponsive input[type="file"] {
  height: auto;
}

@media only screen and (max-width: 1100px) {
  .newsflash-horizzapisi li {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
  .projekti .slika_1 {
    height: 280px;
  }
}

@media only screen and (max-width: 1024px) {
  .moduletable.trust .wf-columns {
    gap: 20px;
  }

  .moduletable.trust .wf-columns-stack-medium>.wf-column, .moduletable.trust .wf-columns .wf-column {
    width: calc(50% - 10px);
    padding-bottom: 30px;
  }
  .moduletable.trust .wf-columns .wf-column {
    flex: none;
  }

  .action .levo {
    width: 100%;
  }
  
  .action .desno {
    width: 100%;
    text-align: left;
    margin-top: 35px;
  }

}

@media only screen and (max-width: 999px) {
  .projekti ul li {
    width: 50%;
  }
  .newsflash-horizprojekten li, .newsflash-horizzapisi li  {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .bott-1, .bott-2, .bott-3, .bott-4 {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .bott ul {
    list-style-position: inside;
  }

  .pravice {
    margin-top: 50px;
  }

  .perg ul li {
    width: 50%;
  }


  .rsform-block-slike {
    float: left;
    width: 100%;
  }
  
  .rsform-block-izberi-dodatke {
    float: left;
    width: 100%;
    padding-left: 0px;
    padding-top: 30px;
  }

}


@media only screen and (max-width: 769px) {
  a.blok {
    width: 100%;
    margin-bottom: 20px;
  }

  .okvir {
    display: block;
  }

  .pomeri-blok .right img {
    height: 350px;
  }

  .pomeri-blok .left {
    width: 100%;
    background-size: cover;
    position: relative;
  }

  .pomeri-blok {
    display: block;
    width: 100%;
  }

  .pomeri-blok .left {
    width: 100%;
  }

  a.pomeri-blok .objem, .pomeri-blok .right {
    position: relative;
    width: 100%;
    background-size: cover;
  }

  .povp {
    display: none;
  }

  .perg ul li {
    width: 100%;
  }

  .com-content-category-blog__item.blog-item {
    width: 100%;
  }

  .perg ul {
    display: block;
  }
  .perg ul li {
    padding: 0;
  }
}


@media only screen and (max-width: 479px) {
  .projekti ul li {
    width: 100%;
  }
  .newsflash-horizprojekten li, .newsflash-horizzapisi li  {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .moduletable.trust .wf-columns-stack-medium > .wf-column, .moduletable.trust .wf-columns .wf-column {
    width: 100%;
  }
  .content {
    padding: 0px 20px;
  }
}

.cpnb-message {
  width: 100%;
}

#cpnb_manager_wrap a {
  color: var(--gold);
}

#cpnb_manager_wrap a:hover {
  color: var(--gold-hover);
}