body {
  padding: 0;
  margin: 0;
  color: #5a5a5a;
  user-select: none;
}

/* NAVBAR 
------------------------------------------------- */

#navbar {
  padding: 4px;
  position: fixed;
  top: 0;
  width: 100%;
  transition: top 0.5s;
  opacity: 0.9;
}

#logo {
  padding: 0 0 0 7px;
  margin: 0 5px 0 0;
  border-radius: 50%;
  animation: navmove 1s infinite; 
}

@keyframes navmove {
  50% {box-shadow: 3px 0px 3px #808080;}
}

/* Carousel 
------------------------------------------------- */

.headerr {
  padding: 60px;
  /*text-align: center;*/
  background: #1abc9c;
  color: white;
  height: 53vh;
  background-image: url("../img/masina1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  /*padding-top: 40px;*/
}

.error-text {
  margin: 0 auto;
  margin-top: 10vh;
}

.error-text h1 {
  /*font-size: 5vw;*/
  justify-content: center;
}

.error-text p {
  /*font-size: 1vw;*/
  padding-top: 1vh;
  justify-content: center;
}

/* FOOTER
--------------------------- */

footer .first ul li a:hover, footer .second ul li a:hover {
  text-decoration: none;
  color: #3366ff !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type=number] {
  -moz-appearance:textfield;
}

.social {
  justify-content: center;
  margin-left: -150px;
  margin-top: 35px !important;
  text-align: center;
  transform: translateY(-50%);
}

.social .link {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px dotted white;
  background-clip: content-box;
  padding: 3px;
  transition: .5s;
  color: #D7D0BE;
  margin-left: 3px;
  margin-right: 3px;
  font-size: 20px;
}

.social .link span {
  display: block;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.social .link:hover {
  padding: 3px;
  color: white;
  margin-left: 3px;
  transform: translateX(0px) rotate(360deg);
}

.social .link.instagram {
  background-color: #8e7f57;
  color: white;
}

.social .link.twitter {
  background-color: #00ACEE;
  color: white;
}

.social .link.facebook {
  background-color: #3B5998;
  color: white;
}



/* OTHER 
---------------------------- */

.backBtn {
  position: fixed;
  z-index: 11;
  right: 10px;
  bottom: 0px;
  display: none;
}

.tooltip-inner {
  background-color: #343a40 !important;
  color: #FFF ;
}
.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before {
  border-top-color: #343a40 !important;
}

.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before {
  border-right-color: #343a40 !important;
}


.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
  border-bottom-color: #343a40 !important;
}


.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before {
  border-left-color: #343a40 !important;
}

/* VALIDATION 
----------------------------- */
#basic-addon1 {
  background: #e8f0fe !important;
}

#check-ok {
  background: #e8f0fe !important;
  color: green;
  display: none;
}

#check-not-ok {
  background: #ffe6e6 !important;
  color: red;
  display: none;
}

#count {
  display: inline-block;
  float: left;
  margin-top: -10px;
  font-size: 12px;
}

/* ANIMATE CONTENT FROM DOWN TO TOP */
.slideanim {
  visibility:hidden;
}

.execslide {
    animation-name: execslide;
    -webkit-animation-name: execslide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
}

@keyframes execslide {
  0% {
    opacity: 0;
    transform: translateY(50%);
  } 
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}
@-webkit-keyframes execslide {
  0% {
    opacity: 0;
    -webkit-transform: translateY(50%);
  } 
  100% {
    opacity: 1;
    -webkit-transform: translateY(0%);
  }
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }

  #proizvodi .circle-prozivodi {
  width: 80%;
  height: auto;
  border-radius: 50%;
  }

  #o-nama .circle-o-nama {
  width: 80%;
  height: auto;
  border-radius: 50%;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }

}

@media (min-width: 992px) and (max-width: 1199.98px) {
  #proizvodi .circle-prozivodi {
  width: 100%;
  height: auto;
  border-radius: 50%;
  }

  #o-nama .circle-o-nama {
  margin-top: 30px;
  width: 100%;
  height: auto;
  border-radius: 50%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    margin-top: 0;
  }
  .carousel {
    margin-bottom: 2rem;
  }
  .carousel-item {
    height: 27rem;
  }
  .carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 27rem;
  }
  .carousel-item .carousel-caption {
    bottom: 1rem;
  }
  .carousel-item .carousel-caption h1 {
    font-size: 2.5rem;
  }
  #o-nama {
    padding-top: 0px;
    margin-bottom: 0px;
  }
  #o-nama h1 {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .social {
    justify-content: center;
    margin-left: -100px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    margin-top: 0;
  }
  .carousel {
    margin-bottom: 2rem;
  }
  .carousel-item {
    height: 25rem;
  }
  .carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 25rem;
  }
  .carousel-item .carousel-caption {
    bottom: 1rem;
  }
  .carousel-item .carousel-caption h1 {
    font-size: 2rem;
  }
  #o-nama {
    padding-top: 0px;
    margin-bottom: 0px;
  }
  #o-nama h1 {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  footer .first {
    margin-left: 10%;
    margin-right: 10%;
  }
  #contact-form {
    margin-left: 30%;
    margin-right: -200%;
  }
  .social {
    justify-content: center;
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  .container {
    margin-top: 0;
  }
  .carousel {
    margin-bottom: 2rem;
  }
  .carousel-item {
    height: 25rem;
  }
  .carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 25rem;
  }
  .carousel-item .carousel-caption {
    bottom: 1rem;
  }
  .carousel-item .carousel-caption h1 {
    font-size: 1.5rem;
  }
  .proizvodi-link {
    margin-left: 18% !important;
  }
  #o-nama {
    padding-top: 0px;
    margin-bottom: 0px;
  }
  #o-nama h1 {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px !important;
  }
  footer .first {
    text-align: center;
  }
  footer .second {
    text-align: center;
  }
  footer .third {
    width: 400px;
    margin: 0 auto;
  }
  .social {
    justify-content: center;
    margin-left: 0;
  }
}