/* -----------------------------------------------------------------------------
# osnovne postavke stranice
----------------------------------------------------------------------------- */
html {
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
  
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Public Sans", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.1px;
    line-height: 1.8;
    color: #051922;
    overflow-x: hidden;
    height:100vh;
    height: 100%; 
  }
  
  body img {
    max-width: 100%;
  }
  
  a {
    cursor: pointer;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }
  
  h1, .h1,
  h2, .h2,
  h3, .h3,
  h4, .h4,
  h5, .h5,
  h6, .h6 {
    
    font-weight: 700;
    margin: 0 0 1.25rem 0;
    color: #051922;
  }
  
  /* -----------------------------------------------------------------------------
# loader stranice
----------------------------------------------------------------------------- */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  #loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #9370DB;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }
  #loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #BA55D3;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
  }
  #loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #FF00FF;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
  }
  @-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
  }
  @keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
  }


/*--------------------------------------------------------------
# tn-back-to-top
--------------------------------------------------------------*/
#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    z-index: 3;
  }
  
  html {
    scroll-behavior: smooth;
  }
  

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#headerx {
    padding: 0px;
  }
  
  /*--------------------------------------------------------------
  # Footer
  --------------------------------------------------------------*/
  #footerx {
    padding: 0;
  }
  


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

#hcarousel .carousel-item {
  height: 100vh;
  width: 100%;
  min-height: 350px;
  background: no-repeat center center scroll;
  background-size: cover;
}

#hcarousel .carousel-indicators button {
  width: 15px; /* change width */
  height: 15px; /* change height */
  background-color: red;
  border-radius: 100%;
}

#hcarousel .carousel-indicators li {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background-color: red;
  background-clip: padding-box;
  border: 0;
}

#hcarousel .carousel-item.img1 {
  background-image: url("/foto/hero/img1.jpg");
}

#hcarousel .carousel-item.img2 {
  background-image: url("/foto/hero/elektrik2.jpg");
}

#hcarousel .carousel-item.img3 {
  background-image: url("/foto/hero/automatika14.jpeg");
}

#hcarousel .carousel-item.img4 {
  background-image: url("/foto/hero/rasvjeta1.jpg");
}
  
#hcarousel .carousel-caption{
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

#hcarousel h2{
  font-size: 20px;
  font-family: 'Fira Sans Condensed', sans-serif;
  letter-spacing: 0.1em;
}

#hcarousel p{
  font-size: 16px;
  font-family: 'Fira Sans Condensed', sans-serif;
  letter-spacing: 0.1em;
  color: white;

}

#hcarousel .carousel-inner .carousel-item {
  transition: -webkit-transform 2s ease;
  transition: transform 2s ease;
  transition: transform 2s ease, -webkit-transform 2s ease;
}


@media(max-width: 768px){
  #hcarousel h2{
  font-size: 16px;
  font-family: 'Fira Sans Condensed', sans-serif;
  letter-spacing: 0.1em;
  color: white;
  }

  #hcarousel p{
    font-size: 14px;
    font-family: 'Fira Sans Condensed', sans-serif;
    letter-spacing: 0.1em;
    color: white;
  
  }

}

.col-aligncenter{float: none;margin: 0 auto;}






