/* FRONTEND CSS
*********************************************/
html {
  overflow-y: scroll;
}

body {
  background-color: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 30px;
}

:root {
    --sirina: 1600px;
}

/* LAYOUT
*********************************************/
/* Floats */
.float-left {
  float: left;
}
.float-right {
  float: right;
}
.group:before,
.group:after {
  content: "";
  display: table;
}
.group:after {
  clear: both;
}
.ie7 .group {
  zoom: 1;
}

/**********************************************/
/* 5ka.Custom */

div[itemprop=articleBody] {
    max-width:var(--sirina);
    margin:0 auto;
    width:100%;
}

.reference div[itemprop=articleBody] {
    margin-left: -10px;
}

table {
    width:100%;
    padding:10px;
    height:auto !important;
}

table td {
    padding:24px;
    height:auto !important;
    vertical-align: top;
}

table tr td:first-child {
    padding-left:0 !important;
}

table tr td:last-child {
    padding-right:0 !important;
}

table.full_width {
    max-width: 100% !important;
    margin-left:calc(-50% + var(--sirina)/2);
    position: absolute;
}

table.full_width tr > td {
    max-width: var(--sirina);
    margin:0 auto;
    width: 100%;
    display: block;
}

table.full_width tr > td table td {
    width: auto !important;
    display: table-cell;
}

/* Media Queries
*********************************************/
/* Retina */

@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
  
}
/* Landscape phones and down */
@media (max-width: 480px) {
  
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
  table.full_width {
      margin-left:auto;
  }    
  
  table tr td {
    display: table-row;
    padding: 12px 0px;
    float: left;
    width:100% !important;
  }
}
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
  
}
/* Large desktop */
@media (min-width: 1200px) {
  
}

.content {
  max-width:1600px;
  margin:0 auto; 
  padding: 0px 30px;   
  line-height: 26px;
}
 
.content-s {
  max-width:1280px;
  margin:0 auto; 
  padding: 0px 30px;   
  line-height: 26px;
}

.banner {
  position: relative;
  width: 100%;
  height: 70vh;
  background-repeat: no-repeat;
  background-image: url(../images/banner_02.jpg);
  background-size: cover;
  background-position: center;
}

.banner-inn {
  position: relative;
  width: 100%;
  height: 450px;
  background-repeat: no-repeat;
  background-image: url(../images/banner_01.jpg);
  background-size: cover;
  background-position: top center;
}

.moduletable_slogan {
  position: absolute;
  bottom: 80px;
}

.custom_slogan {
  background-image: url(../images/slogan-bg.png);
  background-repeat: repeat-x;
  background-position: bottom;
  padding: 35px 80px 50px 80px;
  color: #8dc63f;
  font-size: 38px;
  font-weight: 600;
}

.fix {
  position: fixed;
  width: 100%;
  z-index: 10;
  background: rgba(255,255,255,0.8);
  padding: 15px 0px 10px 0px;
  box-shadow: 0 0 20px #aaa;
  margin-top: 20px;
} 

.fix.scroll {
  margin-top: 0px;
  background: #fff;
  box-shadow: 0 0 20px #aaa;
}

.fix.scroll .logo img {
  width: 150px;
  height: auto;
}

.fix.scroll .meni {
    padding-top: 0px;
}

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

.logo {
  float: left;
  width: 200px;
  text-align: right;
}

/* OS Gallery */

[class^=os-gallery-tabs-main] .osgalery-cat-tabs {
    display: none;
}

.os-gallery-img-category {
  display: none;
}

/* Services */

.services {
  position: relative;
  background-image: url(../images/zidaki.png);
  background-repeat: repeat-x;
  padding: 100px 0px;
  overflow: auto;
}

.services table td {
    padding: 0px;
}

.services h2 {
  margin: 0px;
  padding: 0px 0px 15px 0px;
}

.width33 {
  width: 33.33%;
  float: left;
  padding: 0px 20px;
}

.width33 ul {
  margin: 0px;
  padding: 0px 0px 0px 15px;
}

.width33 ul li {
  margin: 0px;
  padding: 5px 0px;
  line-height: 22px; 
}

/* Trust */

.trust {
  position: relative;
  width: 100%;
}

.trust-img {
  float: left;
  position: relative;
  width: 45%;
  background-image: url(../images/trust.jpg);
  background-size: cover;
  background-position: center;
  height: 500px;
  z-index: 2;
}

.trust-opis {
  float: left;
  position: relative;
  background:#f5f5f5;
  padding: 100px 50px 50px 300px;
  width: 55%;
  z-index: 1;
  width: calc(55% + 200px);
  margin-left: -200px;
  margin-top: -100px;
}

.trust-opis img {
  margin-bottom: 15px;
}

.trust-opis h2 {
  font-size: 33px;
  font-weight: 500;
  line-height: 38px;
  margin: 0px;
  padding: 0px 0px 0px 0px;
}

.start-opis h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 0px;
  padding: 0px 0px 5px 0px;
}

.trust-opis h3 {
  font-size: 22px;
  font-weight: 600;
  color: #8dc640;
  margin: 0px;
  padding: 0px 0px 5px 0px;
}

.width50 {
  float: left;
  width: 50%;
  padding: 50px 50px 50px 0px;
  height: 250px;
}

/* Start */

.start {
  display: inline-flex;
  width: 100%;
  margin: 50px 0px 100px 0px;
}

.start-img {
  float: left;
  position: relative;
  width: 45%;
  background-image: url(../images/planning.jpg);
  background-size: cover;
  background-position: top center;
  height: 500px;
  z-index: 2;
}

.custom_start h2 {
  color: #8dc63f;
}

.start-opis {
  float: left;
  position: relative;
  background:#f5f5f5;
  padding: 100px 50px 50px 300px;
  width: 55%;
  z-index: 1;
  width: calc(55% + 200px);
  margin-left: -200px;
  margin-top: -100px;
  font-size: 20px;
}

.custom_start a {
  border: 2px solid #8dc63f;
  display: inline-block;
  color: #000;
  padding: 12px 25px;
  text-decoration: none;
  margin: 0px 15px;
  font-size: 20px;
  font-weight: 600;
    -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.custom_start a:hover {
  background: #8dc63f;
}

.meter {
  position: absolute;
  bottom: 0;
  right: 0;
  background-image: url(../images/meter.png);
  background-repeat: no-repeat;
  height: 146px;
  padding: 30px 30px 0px 150px;
  width: calc(100% - 250px);
}

.meter-mobi {
  position: relative;
  bottom: 0;
  right: 0;
  background-image: url(../images/meter-mobi.png);
  background-repeat: no-repeat;
  height: 146px;
  padding: 44px 30px 0px 44px;
  width: 100%;
}

.width25 {
  float: left;
  width: 25%;
}

.meter33 {
  float: left;
  width: 33.33%;
}

/* Gallery */

.gallery {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 100px 0px;
  overflow: auto;
}

.gallery h2 {
  font-size: 34px;
  font-weight: 500;
  margin: 0px;
  padding: 0px 0px 60px 0px;
  line-height: 40px;
}


ul.newsflash-horiz {
  padding: 20px 0px;
  margin: 0px;
  float: left;
  width: 100%;
}

ul.newsflash-horiz li {
    list-style-type: none;
    float: left;
    width: 25%;
    padding: 0px 20px;
}

.news_left.news_1 {
  height: 300px;
  width: 100%;
  position: relative;
  background-size: cover !important;
  background-position: center !important;
    -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.news_left.news_1:hover {
    box-shadow: 0 0 20px #7c7c7c;
}

.naslov-z {
  position: absolute;
  bottom: 0;
  color: #fff;
  background: url(../images/trans.png);
  background-position: bottom;
  background-repeat: no-repeat;
  padding: 10px 15px;
  width: 100%;
  text-transform: uppercase;
  min-height: 100px;
}

.naslov-z h3 {
  margin: 0px;
  padding: 30px 0px 0px 0px;
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.custom_gumb {
  float: left;
  width: 100%;
  padding: 30px 0px;
}

.custom_gumb a {
  background: #8dc63f;
  display: inline-block;
  color: #000;
  padding: 12px 25px;
  text-decoration: none;
  margin: 0px 15px;
  font-size: 22px;
  font-weight: 500;
    -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.custom_gumb a:hover {
  background: #a3e745;
}

/* Bott */

.bott {
  position: relative;
  width: 100%;
  background: url(../images/bott.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.contact {
  position: relative;
  width: 100%;
  background: rgba(50,50,50,0.9);
  color: #fff;
  padding: 50px 0px;
  overflow: auto;
}

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

.contact img {
  float: left;
  margin-right: 20px;
  margin-bottom: 48px;
}

.podat {
  position: relative;
  width: 100%;
  background: rgba(255,255,255,0.9);
  padding-top: 80px;
  overflow: auto;
  background-image: url(../images/zidaki.png);
  background-repeat: repeat-x;
}

.podat h3 {
  margin:0px;
  padding: 0px 0px 10px 0px;
}

.pravice {
  border-top: 1px solid #424342;
  padding: 30px 0px;
  margin-top: 70px;
  float: left;
  width: 100%;
  text-align: center;
}

.pravice a, .podat a {
  text-decoration: none;
  color: #000;
}

.pravice a:hover, .podat a:hover {
  color: #8dc63f;
}

/* Vsebina */

.front .vsebina, .front .banner-inn {
  display: none;
}

.vsebina {
  position: relative;
  width: 100%;
  padding: 50px 0px 100px 0px;
  overflow: auto;
  background-image: url(../images/zidaki.png);
  background-repeat: repeat-x;
}

.vsebina h2 {
  font-weight: 400;
  font-size: 36px;
  padding-bottom: 20px;
}

.kontakt .vsebina h2 , .storitve .vsebina h2 {
  margin:0px;
  padding-bottom: 20px;
}

.storitve .vsebina ul {
  margin: 0px;
  padding: 0px;
}

.storitve .vsebina ul li {
    padding: 3px 0px 3px 25px;
    margin: 0px;
    background: url(../images/check.png);
    background-position: top left;
    background-repeat: no-repeat;
    list-style-type: none;
}

.vsebina a {
  color: #000;
}

.vsebina a:hover {
  color: #8dc63f;
}

.vsebina strong {
  font-weight: 600;
}

hr {
    border: 0.5px solid #ddd;
    width: 60%;
    margin-right: 40%;
}

/* Mega menu */

.dj-megamenu-wrapper {
  line-height: 0;
}

.dj-megamenu-default li a.dj-up_a .arrow {
  display: none !important;
}

.meni .dj-megamenu-default li a.dj-up_a span.dj-drop {
    padding: 0px !important;
}

.meni .dj-megamenu-default li a.dj-up_a span {
  line-height: 60px;
  height: auto;
}

ul.dj-mobile-light li.dj-mobileitem.parent > a span.toggler {
  color: #fff !important;
}

.dj-megamenu-default {
  background: none !important;
  font-family: 'Open Sans', sans-serif !important;
  display: inline-block;
}

.meni .dj-megamenu-default li a.dj-up_a {
  font-weight: 600 !important;
  font-size: 20px !important;
  padding: 0px 40px 0px 0px !important;
  color: #3a3a3a !important;
  height: auto;
  border: none;
  border:none !important;
  background-position: bottom left !important;
}

.meni .dj-megamenu-default li:hover a.dj-up_a,
.meni .dj-megamenu-default li.hover a.dj-up_a, 
.meni .dj-megamenu-default li.active a.dj-up_a {
  color: #3a3a3a !important;
  background-position: bottom left !important;
  background-repeat: no-repeat !important;
  background-image: url(../images/crta.png);
  background-position: bottom left !important;
}


.dj-megamenu.dj-megamenu-default.horizontalMenu ul li {
  text-align: center;
  width: 100%;
}

.dj-megamenu-default li a.dj-up_a span {
    font-weight: 400;
}

.dj-megamenu-default li a.dj-up_a span.dj-drop {
    padding: 0 0px 0 0 !important;
}

/* Show first level submenu */
.dj-megamenu-default li:hover div.dj-subwrap,
.dj-megamenu-default li.hover div.dj-subwrap {
    background: #f5f5f5 !important;
    box-shadow: none !important;
}
/* Show higher level submenus */
.dj-megamenu-default li:hover div.dj-subwrap li:hover > div.dj-subwrap,
.dj-megamenu-default li.hover div.dj-subwrap li.hover > div.dj-subwrap {
    background: #f5f5f5!important;
    box-shadow:  none !important;
}

.dj-megamenu-default li ul.dj-submenu > li > a:hover,
.dj-megamenu-default li ul.dj-submenu > li > a.active,
.dj-megamenu-default li ul.dj-submenu > li.hover:not(.subtree) > a {
  background:#f5f5f5 !important;
  color: #00aa51 !important;
}

.dj-megamenu-default li ul.dj-submenu > li > a {
  color: #000 !important;
  font-weight: normal !important;
  text-align: left !important;
  line-height: 20px !important;
  padding:12px 10px !important;
    font-size: 16px !important;
}

.dj-megamenu-default li ul.dj-submenu > li > a:hover {
  background:#eee !important;
  color: #00aa51 !important;
}

.dj-megamenu-default li ul.dj-submenu > li {
    border-top: none !important;
    border-bottom: 1px solid #fff !important;
}

.dj-megamenu-default li a.dj-up_a span.dj-drop {
    padding: 0 !important;
}

.dj-megamenu-offcanvas-dark .dj-mobile-open-btn {
  padding: 7px 12px !important;
}

ul.dj-mobile-dark li.dj-mobileitem>a {
  font-size: 20px !important;
}

@media only screen and (max-width: 1550px) {
  .trust-opis {
    padding: 100px 20px 50px 250px;
  }
  .width50 {
    padding: 50px 20px 50px 0px;
  }

  .start-opis {
    padding: 100px 50px 50px 250px;
  }

  .custom_start a {
    margin: 20px 0px 0px 0px;
  }
}


@media only screen and (max-width: 1300px) {
  .meter {
    padding: 30px 30px 0px 95px;
  }
}


@media only screen and (max-width: 1200px) {
  .width33 {
      padding: 0px 15px;
  }
  .news_left.news_1 {
    height: 240px;
  }
  ul.newsflash-horiz li {
    padding: 0px 15px; 
  }
}

@media only screen and (min-width: 1100px) {
  .meter-mobi {
    display: none;
  }
}

@media only screen and (max-width: 1100px) {
  .meter {
    display: none;
  }
  .start {
    margin: 50px 0px 0px 0px;
  }

  .meter-mobi {
    margin-top: -7px;
    text-align: center;
  }
}


@media only screen and (max-width: 1024px) {
  .width25 {
    padding: 0px 15px;
  }

  .log img {
    max-width: 100%;
    height: auto;
  }
  .contact img {
    margin-bottom: 38px;
    margin-right: 12px;
    width: 45px;
  }

  .trust-opis img {
    width: 60px;
  }

  .banner-inn {
    height: 300px;
  }
}

@media only screen and (max-width: 1000px) {
  .trust-img, .trust-opis {
    width: 100%;
  }

  .trust-opis {
    width: 100%;
    margin-left: 0px;
    margin-top: 0px;
    padding: 50px;
  }

  .trust-opis .width50 {
    padding: 50px 50px 50px 0px;
  }

  ul.newsflash-horiz li {
    width: 33.33%;
  }
}


@media only screen and (max-width: 868px) {
  .bott .width33 {
    width: 100%;
    margin-bottom: 30px;
  }

  .bott .width33:nth-child(3) {
    margin-bottom: 0px;
  }

  .bott .width25 {
    width: 100%;
    text-align: center;
    padding-bottom: 30px;
  }

  .bott .width25:nth-child(4) {
    padding-bottom: 0px;
  }

  .content-s {
    max-width: 350px;
  }
}

@media only screen and (max-width: 768px) {
  .bott {
    background: url(../images/bott-mobi.jpg);
    background-size: contain;
    background-repeat: no-repeat;
  }
  .width33 {
    width: 100%;
  }

  .vsebina {
    padding: 50px 0px 0px 0px;
  }

  .start {
    display: block;
    margin: 50px 0px;
    overflow: auto;
  }

  .start-img {
    width: 100%;
    height: 350px;
  }

  .trust-img {
    height: 350px;
  }

  .start-opis {
    width: 100%;
    margin-left: 0px;
    margin-top: 0px;
    padding: 50px;
  }

  .gallery {
    padding: 50px 0px 0px 0px;
  }
  ul.newsflash-horiz li {
      width: 50%;
  }

  .custom_gumb a {
    font-size: 18px;
  }
  .trust-opis .width50 {
    padding: 15px 15px 15px 0px;
  }
  .trust-opis {
    padding: 30px;
  }

  .services {
    padding: 50px 0px;
  }
  .reference div[itemprop=articleBody] {
    margin-left: 0px;
  }
}


@media only screen and (max-width: 479px) {
  
  ul.newsflash-horiz li {
      width: 100%;
  }

  .meter-mobi {
    padding: 44px 0px 0px 0px;
  }

  .start-opis {
    padding: 30px;
  }

  .start {
    margin-bottom: 0px;
  }

  .custom_gumb a {
    display: block;
    margin-bottom: 30px;
  }

  .custom_gumb a:nth-child(2) {
    margin-bottom: 0px;
  }

  .width50 {
    width: 100%;
    height: auto;
  }

  .content {
    padding: 0px 20px;
  }

  .vsebina h2 {
    font-size: 28px;
    line-height: 30px;
  }

  .banner {
    height: 60vh;
  }

  .custom_slogan {
    padding: 15px 30px 25px 30px;
    font-size: 26px;
  }

  .width33 {
    padding: 0px;
  }

  .moduletable_slogan {
    bottom: 20px;
    width: calc(100% - 40px);
    text-align: center;
  }

  .logo img, .fix.scroll .logo img {
    width: 140px;
    height: auto;
  }

  .dj-megamenu-offcanvas-dark .dj-mobile-open-btn {
    font-size: 35px !important;
    padding: 6px 10px !important;
  }

  .fix.scroll .meni {
    padding-top: 1px;
  }

  .meni {
    padding-top: 2px;
  }

  .fix {
    padding: 10px 0px 3px 0px;
  }
}

@media only screen and (max-width: 320px) {

  .custom_slogan {
    padding: 25px 20px 35px 20px;
    font-size: 22px;
  }
}
