/* 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;
}

:root {
    --sirina: 1280px;
}


/* 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 */

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) {
  
}

strong {
  font-weight: 600;
}

h1 {
  font-size: 40px;
  font-weight: 400;
  color: #009fb7;
  display: inline-block;
  margin: 0px;
  padding: 0px 0px 20px 0px;
}

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

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

/* top */

.fix {
  position: fixed;
  width: 100%;
  z-index: 10;
  background: #fff;
  padding: 15px 0px 10px 0px;
  box-shadow: 0 0 20px #aaa;
} 

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

.meni {
  float: left;
  width: calc(100% - 340px);
  text-align: right;
  padding-top: 5px;
}

/* Banner in*/

.banner-in {
  position: relative;
  float: left;
  width: 100%;
  height: 350px;
  background-position: top center;
  background-repeat: no-repeat;
  background-image: url(../images/banner_01.jpg);

}

/* Banner */

.banner {
  position: relative;
  width: 100%;
  z-index: 2;
}

.slogan {
  position: absolute;
  width: 100%;
  color: #fff;
  font-size: 60px;
  font-weight: 600;
  bottom: 100px;
  z-index: 10;
  text-align: center;
}

/* Prednosti */

.prednosti {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 70px 0px;
  background: #f6f6f6;
  float: left;
}

.width25 {
  float: left;
  width: 33.33%;
  padding: 0px 30px;
}

.prednosti h2 {
  font-size: 40px;
  font-weight: 400;
  color: #009fb7;
  display: inline-block;
  margin: 0px;
  padding: 0px 0px 50px 0px;
}

.prednosti img {
  margin-bottom: 15px;
}

/* Galerija*/

.galerija {
  position: relative;
  float: left;
  width: 100%;
  padding: 50px 10px 15px 10px;
}


.galerija .osGallery-button-box .load-more-button {
  width: 50%;
  margin-left: 25%;
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 100px;
  padding: 10px 30px;
  font-size: 20px;
}

/* Zgodba */

.zgodba {
  position: relative;
  width: 100%;
  float: left;
  padding: 100px 0px;
  font-size: 18px;
}

.width50 {
  float: left;
  width: 50%;
  padding-right: 50px;
  line-height: 32px;
}

.width50 a {
  background: rgb(0,165,178);
  background: linear-gradient(90deg, rgba(0,165,178,1) 0%, rgba(49,192,168,1) 54%, rgba(57,207,139,1) 100%);
  border-radius: 50px;
  padding: 7px 30px;
  display: inline-block;
  text-decoration: none;
  color: #000;
}

.width50 a:hover {
  background: #009fb7;
}

.width50 h2 {
  font-size: 40px;
  font-weight: 400;
  color: #009fb7;
  display: inline-block;
  margin: 0px;
  padding: 0px 0px 50px 0px;
  line-height: 100%;
}

.slika {
  float: left;
  width: 50%;
}

.custom_slika {
  background: url(../images/slika.jpg);
  height: 350px;
  background-size: cover;
}

/* Izjava */

.izjava {
  position: relative;
  width: 100%;
  float: left;
  padding: 50px 0px;
  background: url(../images/bg.jpg);
  background-size: cover;
  text-align: center;
  font-size: 22px;
  line-height: 35px;
}

.izjava a {  
  background: #fff;
  border-radius: 50px;
  padding: 10px 50px;
  display: inline-block;
  text-decoration: none;
  color: #000;

}

.izjava a:hover {
  box-shadow: 0 0 20px #000;
}

/* Aktualno */

.aktualno {
  position: relative;
  width: 100%;
  float: left;
  padding: 70px 0px 50px 0px;
  background: #f6f6f6; 
}

.aktualno h2 {
  font-size: 40px;
  width: 100%;
  float: left;
  font-weight: 400;
  color: #009fb7;
  display: inline-block;
  margin: 0px;
  padding: 0px 0px 50px 0px;
  text-align: center;
}

ul.newsflash-horiz_novice {
  padding: 0px;
  margin: 0px;
}

ul.newsflash-horiz_novice li {
  padding: 0px 30px 30px 30px;
  margin: 0px;
  float: left;
  width: 33.33%;
  list-style-type:none;
  transition: all 0.5s ease;
}

.newsflash-horiz_novice li:hover {
  transition: all 0.5s ease;
  transform: scale(1.03, 1.03);
}

ul.newsflash-horiz_novice li a {
    color: #555;
    text-decoration: none;
}

.news_left_1 {
  transition: all 0.5s ease;
}

ul.newsflash-horiz_udel li {
  padding: 0px 0px 15px 0px;
  margin: 0px;
  float: left;
  width: 100%;
  float: left;
  list-style-type:none;
  margin-bottom: 7px;
  border-bottom: 1px solid #ddd;
}

a.readmore, .readmore a {
  color: #000 !important;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: 15px;
  line-height: 1;
  text-transform: uppercase;
  background: rgb(0,165,178);
  background: linear-gradient(90deg, rgba(0,165,178,1) 0%, rgba(49,192,168,1) 54%, rgba(57,207,139,1) 100%);
  padding: 10px 30px;
  border-radius: 50px;
}

a.readmore:hover, .readmore a:hover {
  box-shadow: 0 0 12px #555;
}

/* Vsebina*/

.vsebina {
  position: relative;
  width: 100%;
  float: left;
  padding: 50px 0px;
  line-height: 28px;
}

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

.vsebina a:hover {
  color: #000;
}

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

a.gumb {
  color: #000 !important;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: 15px;
  line-height: 1;
  font-size: 18px;
  text-transform: uppercase;
  background: rgb(0,165,178);
  background: linear-gradient(90deg, rgba(0,165,178,1) 0%, rgba(49,192,168,1) 54%, rgba(57,207,139,1) 100%);
  padding: 12px 30px;
  border-radius: 50px;
}

a.gumb:hover {
  background: #00a4b2;
}

/* bott*/

.bott {
  position: relative;
  width: 100%;
  float: left;
  padding-top: 50px;
  background: #505756;
  color: #fff;
}

.custom_povezave a {
  color: #37d08d;
  text-decoration: none;
  line-height: 40px;
  border-bottom: 1px solid #737978;
  display: block;
}

.width30 a {
  color: #37d08d;
  text-decoration: none;
}

.width30 a:hover {
  color: #fff;
}

.bott img {
  max-width: 100%;
  height: auto;
}

.width40 {
  float: left;
  width: 40%;
  padding-right: 30px;
}

.width30 {
  float: left;
  width: 30%;
  padding-right: 50px;
}

.bott h3 {
  font-weight: 400;
  margin: 0px;
  padding-bottom: 15px;
  font-size: 22px;
  text-transform: uppercase;
}

.custom_kon {
  line-height: 30px;
}

.pravice {
  float: left;
  width: 100%;
  padding: 30px;
  position: relative;
  border-top: 1px solid #737978;
  margin-top: 50px;
}

.pravice a {
  color: #fff;
}

/* 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: #38c376 !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;
}

/* Mobile menu */

.dj-megamenu-offcanvas-dark .dj-mobile-open-btn {
  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: #00a1b5 !important;
}

/* Rsform */
.formControlLabel {text-align: left !important; padding: 0 0 0 3px !important; }
.rsform-block.rsform-block-info .formControlLabel {width:100% !important; }
.rsform-input-box { 
  width: 95% !important; 
  height: 30px !important; 
  margin: 0px !important; 
  padding: 5px 8px !important;
  border: none !important;
  border-radius: 0 !important; 
  box-shadow: none !important;
}

.formResponsive .formHorizontal .formControlLabel {
  width: 30% !important;
}

.rsform-text-box { 
  width: 95% !important; 
  padding: 8px !important;
  border: 1px solid #ddd !important;
  background: none !important;
  box-shadow: none !important;
}

.formResponsive input[type="text"], .formResponsive .formHorizontal select {
  border: 1px solid #ddd !important;
  background: none !important;
  border-radius: 10px !important; 
  box-shadow: none !important;
}

.formResponsive .formHorizontal .formControls {
    margin-left: 30% !important;
}

.formResponsive .formHorizontal .rsform-block {
  margin: 15px 0px;
}

.rsform-submit-button {
    border-radius: 50px !important;
    border: none !important;
    text-align: center;
    padding: 8px 25px !important;
    background-color: #38c376 !important;
    background-image: none !important;
    margin: 10px 0px 0px 0px;
    text-transform: uppercase;
    color: #000 !important;
    font-size: 16px !important;
}

.rsform-submit-button:hover {
    box-shadow: 0 0 9px #7c7c7c !important;
}

.formResponsive label {
  height: auto !important;
  line-height: 19px;
  text-align: justify;
}

strong.formRequired {
  color: #00a5b3;
}

@media only screen and (max-width: 1170px) {
  .content {
    padding: 0px 20px;
  }
  .meni .dj-megamenu-default li a.dj-up_a {
    font-size: 18px !important;
  }
}

@media only screen and (max-width: 1100px) {
  .meni .dj-megamenu-default li a.dj-up_a {
    font-size: 18px !important;
    padding: 0px 30px 0px 0px !important;
  }

  .logo {
    width: 280px;
  }
  .logo img {
    width: 280px;
    height: auto;
  }
  .meni {
    width: calc(100% - 280px);
    padding-top: 0px;
  }
}

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

  ul.newsflash-horiz_novice li {
    padding: 0px 15px 30px 15px;
  }

  .djslider.djslider-default {
    height: 500px !important;
  }

  img.dj-image {
    height: 500px !important;
    width: auto !important;
  }

  .djslider-in li {
    height: 500px !important;
  }

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

@media only screen and (max-width: 768px) {
  .slika {
    height: 450px;
  }
  .width50 {
    padding-right: 20px;
  }

  .width40, .width30 {
    width: 100%;
    text-align: center;
    padding-bottom: 30px;
    padding-right: 0px;
  }
  .pravice {
    text-align: center;
    margin-top: 0px;
  }
  .fix.scroll {
    padding: 2px 0px;
  }

  .formResponsive .formHorizontal .formControls {
    margin-left: 0 !important;
  }
  .rsform-text-box, .rsform-input-box { 
    width: 99% !important; 
  }
  .formResponsive .formHorizontal .rsform-block {
    margin-bottom: 0px !important;
    margin-right: 30px !important;
  }
  select#termin.rsform-select-box {
    width: 100%;
  }
  .formResponsive .formHorizontal .formControlLabel {
    width: 100% !important;
  }
}

@media only screen and (max-width: 479px) {
  h1 {
    font-size: 35px;
    line-height: 100%;
  }

  .fix .content {
    padding: 0px 5px;
  }

  .width25 {
    width: 100%;
    margin-bottom: 30px;
    padding: 0px 10px;
  }
  .prednosti img {
    width: 65px;
    height: auto;
  }

  .prednosti h2, .width50 h2, .aktualno h2 {
      padding: 0px 0px 30px 0px;
      font-size: 34px;
  }
  .prednosti, .aktualno, .zgodba {
    padding: 30px 0px;
  }

  .width50 {
    width: 100%;
    padding-right: 0px;
  }
  .slika {
    width: 100%;
    height: 300px;
    margin-top: 30px;
  }

  ul.newsflash-horiz_novice li {
    width: 100%;
    padding: 0px 0px 30px 0px;
  }

  .slogan {
    padding-top: 55%;
    font-size: 40px;
  }
  .izjava {
    font-size: 18px;
  }

  .djslider.djslider-default {
    height: 500px !important;
  }

  img.dj-image {
    height: 500px !important;
    width: auto !important;
  }

  .djslider-in li {
    height: 500px !important;
  }

  .galerija .osGallery-button-box .load-more-button {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
  }
}
