/* FRONTEND CSS
*********************************************/
html {
    overflow-y: scroll;
  }
  body {
    background-color: #FFFFFF;
    font-family: "Poppins", sans-serif;
    line-height: 30px;
  }
  
  * {
      -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:#d2ae6d;
      --gold-hover: #f7d790;
    }
  
  strong, b {
    font-weight: 600;
  }
 
  .content {
      max-width: 1460px;
      width:100%;
      margin:0 auto;
      padding: 0px 30px;
      position: relative;
  }

  .content-l {
    max-width: 1600px;
    width:100%;
    margin:0 auto;
    padding: 0px 30px;
    position: relative;
}

  .content-xl {
    position:relative;            
    max-width: 1920px;
    width:100%;
    margin:0 auto;
}

.odmik {
  padding: 0px 50px;
}

/* top */

.top {
  position: relative;
  float: left;
  width: 100%;
  padding: 20px 0px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.logo {
  float: left;
  width: 245px;
  margin-top: 6px;
}

.info {
  float: left;
  width: 245px;
  margin-top: 3px;
}

a.gumb-2 {
	font-size: 18px; 
	color: #000;
	display: block;
  text-align: center;
	padding: 5px;
	border: 2px solid #000;
	background: linear-gradient(to right, var(--gold-hover) 50%, transparent 50%);
	background-size: 200% 100%;
	background-position: right bottom;
	transition: all 0.25s ease;
	border-radius: 2px;
	text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
}


a.gumb-2:hover {
	background-position: left bottom;
  color: #000 !important;
  border: 2px solid #000;
}

a.gumb {
  font-size: 20px; 
	color: #000;
	display: inline-block;
  border-radius: 2px;
	text-decoration: none;
  font-weight: 500;
  padding: 10px 30px;
  background: var(--gold);
}

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


/* banner */

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

.banner h1 {
  margin: 0;
  padding: 0px 0px 20px 0px;
  font-size: 40px;
}

.banner h2 {
  font-size: 20px;
  margin: 0;
  padding: 0px 0px 20px 0px;
}

.banner {
  position: relative;
  width: 100%;
  float: left;
  height: calc(100vh - 143px);
  z-index: 1;
}

/* Vsebnik za centriranje */
.container {
  position: relative; /* Relativno, da služi kot referenca za notranje pozicioniranje */
  max-width: 1400px; /* Maksimalna širina vsebnika */
  margin: 0 auto; /* Sredinsko centriranje */
  height: 100%; /* Podeduje višino od .banner */
}

/* Notranji okvir1 */
.okvir {
position: absolute;
  width: 50%;
  right: 0;
  bottom: -50px; /* Postavi okvir na dno vidnega dela */
  background: linear-gradient(0deg, rgba(255,255,255,1) 20%, rgba(255,255,255,0.8169468470982143) 100%);
  padding: 50px;
  box-shadow: rgba(50, 50, 93, 0.20) 0px 20px 40px -10px, 
  rgba(0, 0, 0, 0.3) 0px 15px 30px -10px;
  z-index: 3; /* Poskrbi, da je nad vsemi drugimi elementi */
}

/* vsebina */

h2 {
  font-size: 46px;
  padding: 0;
  margin: 50px 0px 50px 0px;
}

h3 {
  font-size: 30px;
  margin: 0;
  padding: 0px 0px 20px 0px;
}

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

.content-i {
  background-image: url(/templates/joomstarter/images/ikona.png);
  background-repeat: no-repeat;
  position:relative;            
  max-width: 1600px;
  width:100%;
  margin:0 auto;
}

.itemid-101 .com-content-article.item-page {
  padding: 80px 30px;
}

.com-content-article.item-page {
  max-width: 1460px;
  padding: 0px 30px;
  margin: 0 auto;
}

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

.vsebina-inn a {
  color: #000;
}

.vsebina-inn a:hover {
  color: var(--gold);
}

.itemid-101 .vsebina-inn {
  display: none;
}

/* projekti */

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

.moduletable.gal {
  text-align: center;
}

/* gallery */

.tab-click-loadMore.active, .osgalery-cat-tabs {
	display: none !important;
  }
  
  [class^=os-gallery-tabs-main] .os-cat-tab-images {
	margin-left: -10px !important;
  }
  
  [class^="os-gallery-tabs-main"] .img-block.sergio-effect {
	background: none !important;
  }

/* dodatki */

.wf-columns {
  gap: 3rem;
}

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

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

.korak {
  text-align: center;
  padding: 35px;
  box-shadow: 0 0 30px rgba(0,0,0,0.15);
  border-radius: 2px;
  margin-bottom: 50px;
}

.vsebina-inn table tr td {
  border: 1px solid #ddd;
  vertical-align: top;
}

.cpnb-message {
  width: 100%;
}

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

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

.vsebina-inn .naslov {
  color: var(--gold);
}

/* call to action */

.action-call {
  position: relative;
  float: left;
  width: 100%;
  color: #fff;
}

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

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

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

.call .naslov {
  color: var(--gold);
  font-weight: 500;
  line-height: 34px;
}

.slika-bott {
  background-image: url(/templates/joomstarter/images/Pergola_Misteral_02.jpg);
  background-size: cover;
  background-position: top center;
  padding: 100px 0px;
}

/* socialna omrežja */

.social {
  position: relative;
  float: left;
  width: 100%;
  color: var(--gold);
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}

.social img {
  width: 55px;
  margin: 0px 5px;
}

.soci {
  padding: 100px 0px;
}

.social a img:hover {
  opacity: 0.75;
}

.crta {
  border-bottom: 1px solid #e5e5e5;
  width: 100%;
}

/* bott */

.bott {
  position: relative;
  float: left;
  width: 100%;
  padding: 80px 0px 20px 0px;
  border-top: 1px solid #e5e5e5;
}

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

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

.width20 {
  float: left;
  width: 23.33%;
}

.bott .width20:nth-child(3) {
  width: 30%;
}

.bott table tr td {
  vertical-align: top;
}

.bott table tr td:nth-child(2) {
  padding-left: 25px;
}

/* logo bott */

.logo-bott {
  position: relative;
  float: left;
  width: 100%;
  text-align: center;
}

.logo1 img {
  width: 180px;
}

.crta-l {
  float: left;
  width: calc(50% - 120px);
  border-top: 1px solid #e5e5e5;
  height: 1px;
  margin-top: 60px;
}

.crta-r {
  float: left;
  width: calc(50% - 120px);
  border-top: 1px solid #e5e5e5;
  height: 1px;
  margin-top: 60px;
}

.logo1 {
  float: left;
  width: 240px;
  text-align: center;
  margin-top: 45px;
}

/* meni */

.meni {
  float: left;
  width: calc(100% - 490px);
  text-align: center;
}


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

.meni .dj-megamenu-clean li a.dj-up_a {
  font-size: 18px;
  color: #000;
  font-weight: 500;
  height: auto;
  padding: 10px 12px;
  margin: 0px 3px;
}

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

.dj-megamenu-clean li div.dj-subwrap .dj-subwrap-in {
border-radius: 0px 0px 20px 20px;
background: var(--gold);
text-align: left;
}

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

.dj-megamenu-clean li ul.dj-submenu > li > a {
color: #eaeaea;
border-bottom: 1px solid #78ac71;
}

.dj-megamenu-clean li ul.dj-submenu > li:last-child a {
border-bottom: none !important;
}

.dj-megamenu-offcanvas-light .dj-mobile-open-btn {
height: 34px;
}

.dj-megamenu-clean li ul.dj-submenu > li > a:hover {
color: #fff;
background: none;
}


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


.dj-megamenu-select-dark .dj-mobile-open-btn, .dj-megamenu-offcanvas-dark .dj-mobile-open-btn, .dj-megamenu-accordion-dark .dj-mobile-open-btn {
  color: var(--gold) !important;
}

.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 !important; 
}

.dj-mobile-open-btn.active .dj-mobile-open-icon {
  background: none !important;
  color: var(--gold) !important;
} 
/* pravice */

.pravice {
  position: relative;
  float: left;
  width: 100%;
  text-align: center;
  padding: 30px 0px;
}

.pravice a {
  color: black;
}

@media only screen and (max-width: 1200px) {
  .odmik {
    padding: 0;
  }
}

@media only screen and (max-width: 1024px) {
  .logo {
    width: 180px;
  }

  .info {
    width: 180px;
  }

  .meni {
    width: calc(100% - 360px);
  }

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

  .banner h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 36px;
    margin: 20px 0px 20px 0px;
  }

  .korak img {
    width: 50px;
  }
  .okvir {
    width: 80%;
    padding: 30px;
  }
}

@media only screen and (max-width: 960px) {
  .width20 {
    width: 100% !important;
    text-align: center;
    margin-bottom: 30px;
  }

    .bott table tr td {
      width: 100% !important;
      display: block;
    }
    .bott table {
      margin-left: auto;
      margin-right: auto;
    }
    .bott table tr td:nth-child(2) {
      padding-left: 0;
    }
    .meni .dj-megamenu-clean li a.dj-up_a {
      padding: 10px 8px;
    }

    .korak {
      margin-bottom: 0;
    }

    /* 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 {
    background: none;
  }

  ul.dj-mobile-dark ul li.dj-mobileitem:hover > a {
    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-123 a{
    background: var(--gold) !important;
    color: #303542 !important;
    border-radius: 2px !important;
    margin: 35px 30px 0px 16px !important;
    padding: 10px 15px !important;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
  }

  .com-content-article.item-page {
    padding: 0px;
  }
  .okvir {
    width: 100%;
    bottom: 0px;
  }

}

@media only screen and (min-width: 769px) {
  .okvir-m {
    display: none;
  }

}

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

  .okvir-m {
    background: var(--gold);
    color: #fff;
    text-align: center;
    position: relative;
    float: left;
    padding: 50px 30px;
  }

  .okvir-m h1 {
    font-size: 35px;
  } 
  .okvir-m h2 {
    font-size: 24px;
  }

  .okvir-m a.gumb {
    background: rgba(255,255,255,0.75);
  }

  .okvir-m a.gumb:hover {
    background: rgba(255,255,255,1);
  }
  .banner {
    height: calc(60vh - 142px);
  }
}


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

  .logo {
    width: 150px;
  }

  .meni {
    width: calc(100% - 150px);
    text-align: right;
    margin-top: 4px;
  }

  .top {
    padding: 5px 0px;
  }
}