* { 
	box-sizing: border-box;
	margin: 0px;
	padding: 0px;
	font-family: 'Montserrat', sans-serif; 
}

html {
	scroll-behavior: smooth;
}

h1, p {
	padding: 20px;
}


body {
  position: relative;
  margin: auto;
  background-color: #000;
  width: 100%;
}

.visina-monitora {
  position: relative;
}

.slika_proizvoda {
  display: block;
  width: auto;
  height: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* Slideshow container */
.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
  margin-top: 10px;
}

/* Hide the images by default */
.mySlides {
  display: none;
  position: relative;
  width: 1000px;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  opacity: 0;
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: red;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  opacity: 1;
  background-color: rgba(0,0,0,0.8);
}

.mySlides:hover .prev,
.mySlides:hover .next {
  opacity: 1;
}

/* Number text (1/3 etc) */
.numbertext {
  display: none;
  color: red;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.stiker {
  color: #fff;
  text-align: center;
}

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

.red:after {
  content: "";
  display: table;
  clear: both;
}

.red {
  width: 1000px;
  margin: auto;
}

.column {
  position: relative;
  left: 90px;
  float: left;
  width: 10%;
  padding: 2px;
  border: 1px solid #010101;
}

img.logo-centar {
    display: block;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    width: 150px;
}

/* Proizvod stranica sa elementima opisa proizvoda i mogućnosti dodavanja u korpu */

.detalji-o-proizvodu {
	position: relative;
   width: 80%;
   margin: auto;
}

.cena {
	display: flex;
	justify-content: end;
	font-size: 25px;
	font-weight: bold;
}

  .izborExtraDodatka {
	display: none;
	padding: 8px;
	color: white;
	background-color: black;
	border-radius: 3px;
}

.karakteristike-proizvoda {
	color: #fff;
	width: 1200px;
	margin: auto;
	margin-top: 20px;
}	

/* Ikone sa tekstom u opisu proizvoda  */

.usluge {
  position: relative;
  margin: 30px 0px;
}

.usluga {
  clear: both;
  width: 500px;
  margin-left: 20px;
}

.ikona_div {
  float: left;
  padding: 30px 30px 30px 0px;
  height: 100px;
}

.naslov_i_opis {
  position: relative;
  width: 500px;
  height: 100px;
}

 .ikona {
    padding: 30px 30px 30px 0px;
}

 .ikona_bez {
  clear: both;
  float: left;
  width: 60px;
}

.naslov_usluga {
  color: #fff;
  padding-top: 30px;
  font-weight: bold;
  font-size: 18px;
  width: 500px;
}

.opis_usluge {
  padding: 0px 0px;
  color: #fff;
  width: 500px;
  font-size: 10px;
}

 /* Kraj */

.deo-za-kupovinu {
	display: grid;
	grid-template-columns: auto auto auto 500px 170px;
	position: relative;
	color: #fff;
	width: 850px;
	margin: auto;
    margin-bottom: 50px;
	padding: 20px;
}

.padajucaListaExtra {
	position:relative;
	color:white;
	background-color:black;
	border-radius: 3px;
	padding: 8px;
	width: 500px;
}

.padajucaListaExtra2 {
	width: 300px;
}

.kupovina1 {
	grid-column: 4;
    grid-row: 1;	
}

.kupovina2 {
    padding-left: 20px;
	grid-column: 5 ;
    grid-row: 1;	
}

.kupovina3 {
	grid-column: 4 / span 2;
    grid-row: 2;
}

.deo-za-kupovinu input[type=number] {
  position: absolute;
  bottom: 25px;
  left: 160px;
  width: 60px;
}

.deo-za-kupovinu-opis {
  position: relative;
  color: #fff;
  width: 1200px;
  margin: auto;
}

.deo-za-kupovinu-opis a {
    color: red;
}

.dugme_detalji_proizvoda {
  width: 20%;
	color: #fff;
	height: 40px;
	background-color: red;
	padding: 10px;
	margin-left: auto;
  margin-right: auto;
	text-align: center;
	border-radius: 3px;
}

.dugme_dodaj_u_korpu {
	color: #fff;
	width: 150px;
	background-color: red;
	padding: 10px;
	text-align: center;
	border-radius: 3px;
    border: none;
    cursor: pointer; /* Add a mouse pointer on hover */
}

.dugme_dodaj_u_korpu:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

.btnViewCart {
  display: inline;
  position: absolute;
  right: 180px;
  bottom: 20px;
  color: #fff;
  width: 150px;
  background-color: red;
  padding: 10px;
  margin-left: 50px;
  text-align: center;
  border-radius: 3px;
  border: none;
  cursor: pointer; /* Add a mouse pointer on hover */
  text-decoration: none;
}

.btnViewCart:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

#topBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: red; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 10px; /* Some padding */
  border-radius: 3px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#topBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

.deo-za-kupovinu-kompatibilnost  {
    position: relative;
    width: 1200px;
    margin: auto;
    color: #fff;
    padding-bottom: 10px;
  }

  .deo-za-kupovinu-kompatibilnost a {
    text-decoration: none;
    color: #fff;
  }

  .deo-za-kupovinu-kompatibilnost a:hover {
    opacity: 1;
    -webkit-animation: flash 1.5s;
    animation: flash 1.5s;
    box-shadow: 0 4px 8px 0 rgba(255, 0, 0, 0.2), 0 6px 20px 0 rgba(255, 1, 1, 0.19);
  }


  .kompatibilni_proizvodi {
    text-align: center;
    color: #fff;
  }

  .slika-kompatibilni-proizvod {
    float: left;
  }

  .slika-kompatibilni-proizvod img {
    width: 350px;
    padding: 20px 20px 0px 20px;
  }

   .slika-kompatibilni-proizvod img:hover {
    opacity: 1;
    -webkit-animation: flash 1.5s;
    animation: flash 1.5s;
    box-shadow: 0 4px 8px 0 rgba(255, 0, 0, 0.2), 0 6px 20px 0 rgba(255, 1, 1, 0.19);
  }

  .deo-za-kupovinu-preporuceni-proizvodi {
    position: relative;
    clear: both;
    width: 1200px;
    margin: auto;
    margin-top: 30px;	
	  height: 450px;
  }

  .deo-za-kupovinu-preporuceni-proizvodi a {
    text-decoration: none;
    color: #fff;
  }

  .deo-za-kupovinu-preporuceni-proizvodi a:hover {
    opacity: 1;
    -webkit-animation: flash 1.5s;
    animation: flash 1.5s;
    box-shadow: 0 4px 8px 0 rgba(255, 0, 0, 0.2), 0 6px 20px 0 rgba(255, 1, 1, 0.19);
  }

  .deo-za-kupovinu-preporuceni-proizvodi p {
    color: #fff;
    padding-bottom: 10px;
    margin: auto;
  }

  .preporuceni_proizvodi {
    text-align: center;
    color: #fff;
  }

  .slika-preporuceni-proizvod {
    float: left;
  }

  .slika-preporuceni-proizvod img {
    width: 350px;
    padding: 20px 20px 0px 20px;
  }

  .slika-preporuceni-proizvod img:hover {
    opacity: 1;
    -webkit-animation: flash 1.5s;
    animation: flash 1.5s;
    box-shadow: 0 4px 8px 0 rgba(255, 0, 0, 0.2), 0 6px 20px 0 rgba(255, 1, 1, 0.19);
  }

  .footer-rezervisano {
    height: 450px;
  }
  

/*----------------------------- Tablet ----------------------*/

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

  .mySlides {
    display: none;
    position: relative;
    width: 750px;
    margin: auto;
}

.red {
  width: 700px;
}

  .deo-za-kupovinu-opis {
    width: 800px;
  }

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

.detalji-o-proizvodu {
    width: 90%;
  }

  .opis-proizvoda {
    float: none;
    width: 80%;
    height: auto;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;

  }

  .deo-za-kupovinu {
    float: none;
    width: 80%;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
  }

  .dugme_dodaj_u_korpu {
    right: 10px;
    top: 30px;
    width: 110px;
    height: 30px;
    padding: 5px;
  }

  .btnViewCart {
    right: 170px;
  }

  .deo-za-kupovinu input[type="number"] {
    bottom: 75px;
    right: 10px;
    left: initial;
  }
  
  .karakteristike-proizvoda {
    width: 850px;
  }

  .deo-za-kupovinu-opis {
    width: 850px;
  }

  .deo-za-kupovinu-kompatibilnost p {
    position: relative;
    color: #fff;
    padding-bottom: 10px;
  }
  
  .deo-za-kupovinu-kompatibilnost {
    width: 850px;
  }

  .deo-za-kupovinu-preporuceni-proizvodi {
	width: 100%;
    margin-top: 30px;
  }

  .deo-za-kupovinu-preporuceni-proizvodi p {
    position: relative;
    color: #fff;
    padding-bottom: 10px;
    margin: auto;
  }

  .slika-preporuceni-proizvod {
    display: block;
    margin: auto;
    text-align: center;
    color: #fff;
  }

  .slika-preporuceni-proizvod img {
    width: 350px;
    padding: 20px 20px 0px 20px;
  }

  .slika-preporuceni-proizvod img:hover {
  opacity: 1;
  -webkit-animation: flash 1.5s;
  animation: flash 1.5s;
  box-shadow: 0 4px 8px 0 rgba(255, 0, 0, 0.2), 0 6px 20px 0 rgba(255, 1, 1, 0.19);
  }
}

/*--------------------------- Mobilni telefoni ------------------------*/

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


  h1, p {
    padding: 5px;
  }

  body {
    width: 500px;
  }

  .red {
    width: 100%;
    margin: auto;
  }

  .mySlides {
    width: 500px;
  }

  .deo-za-kupovinu-opis {
    width: 500px;
  }

  .dugme_detalji_proizvoda {
    display: none;
  }

  .slideshow-container .stiker {
    padding: 5px;
    font-size: 12px;
  }

  .detalji-o-proizvodu {
    width: 100%;
  }
  
  .padajucaListaExtra {
	  width: 400px;
  }
	  
  .kupovina1 {
	width: 400px;
	grid-column: 1 / span 5;
    grid-row: 1;	
	display:flex;
	justify-content: start;
}

.kupovina2 {
	width: 400px;
	grid-column: 1 / span 5;
    grid-row: 3;	
    padding-left: 0px;
	display:flex;
	justify-content: start;
}

.kupovina3 {
	width: 400px;
	grid-column: 1 / span 6;
    grid-row: 2;	
	display:flex;
	justify-content: start;
}

  .opis-proizvoda {
    float: none;
    width: 80%;
    height: auto;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;

  }

  .deo-za-kupovinu {
    float: none;
    width: 100%;
  }
  
  .kupovina2 {
	  padding-top: 10px;
  }
  
  .cena {
    right: 150px;
    bottom: 125px;
  }

  .dugme_dodaj_u_korpu {
    right: 10px;
    width: 110px;
    height: 30px;
    padding: 5px;
  }

  .btnViewCart {
    right: 170px;
    width: 110px;
    left: 10px;
    padding: 5px;
    margin: initial;
  }

  .deo-za-kupovinu input[type="number"] {
    bottom: 75px;
    right: 10px;
    left: initial;
  }
  
   .karakteristike-proizvoda {
    width: 920px;
  }

  .naslov_usluga {
    font-size: 14px;
    width: 100%;
  }
  
  .karakteristike-proizvoda {
    width: 540px;
  }
  
    .deo-za-kupovinu-opis {
    width: 540px;
  }

  .deo-za-kupovinu-preporuceni-proizvodi {
	height: auto;
    width: 100%;
  }

  .deo-za-kupovinu-kompatibilnost {
	height: auto;
    width: 100%;
  }

  .kompatibilni_proizvodi {
	height: 270px;
    text-align: left;
  }
  .preporuceni_proizvodi {
	height: 270px;
    text-align: left;
  }

  .slika-kompatibilni-proizvod {
    width: 100%;

  }

  .slika-preporuceni-proizvod {
    width: 100%;
    text-align: left;
  }
}

/*--------------------------- Mobilni telefoni ------------------------*/

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


  h1, p {
    padding: 5px;
  }

  body {
    width: 370px;
  }

  .red {
    width: 100%;
    margin: auto;
  }

  .mySlides {
    width: 360px;
  }

  .column {
    left: 30px;
}

.padajucaListaExtra {
  padding: 0px;
}

 .karakteristike-proizvoda {
    width: 360px;
  }
  
  .deo-za-kupovinu-opis {
    width: 360px;
  }

  .dugme_detalji_proizvoda {
    display: none;
  }

  .slideshow-container .stiker {
    padding: 5px;
    font-size: 12px;
  }

  .detalji-o-proizvodu {
    width: 100%;
  }

  .opis-proizvoda {
    float: none;
    width: 80%;
    height: auto;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;

  }

  .deo-za-kupovinu {
    float: none;
    padding: 0px;
  }

  .kupovina2 {
	  padding-top: 10px;
  }
  
  .cena {
    right: 200px;
    bottom: 125px;
    height: 30px;
    width: 120px;
  }
  
  .dugme_dodaj_u_korpu {
    right: 10px;
    width: 110px;
    height: 30px;
    padding: 5px;
  }

  .btnViewCart {
    right: 170px;
    width: 110px;
    left: 10px;
    padding: 5px;
    margin: initial;
  }

  .deo-za-kupovinu input[type="number"] {
    bottom: 75px;
    right: 10px;
    left: initial;
  }

  .karakteristike-proizvoda {
    width: 360px;
  }

  .usluga {
    width: 360px;
    margin-left: 5px;
  }

  .opis_usluge {
    width: 330px;
  }

  .naslov_i_opis {
    width: 360px;
  }

  .naslov_usluga {
    font-size: 14px;
    width: 100%;
  }

  .deo-za-kupovinu-preporuceni-proizvodi {
    width: 100%;
	height: auto;	
  }

  .deo-za-kupovinu-kompatibilnost {
    width: 100%;
	height: auto;
  }

  .kompatibilni_proizvodi {
	height: 270px;
    text-align: left;
  }
  .preporuceni_proizvodi {
	height: 270px;
    text-align: left;
  }

  .slika-kompatibilni-proizvod {
    width: 100%;

  }

  .slika-preporuceni-proizvod {
    width: 100%;
    text-align: left;
  }
}

