html {scroll-behavior: smooth;}

p { color: #ffffff;  }
h1 {color: #1b1c1f;}
h2 {color: #1b1c1f;}
h3 {color: #ee1c25;}
h5 {color: #1b1c1f;}
.bg-bordo {background:#ee1c25;}
.text-bordo {color:#ee1c25 !important;}
.text-bordo:hover {color:#1b1c1f !important;}
.text-bordo2 {color:#ee1c25 !important;}
.text-bordo2:hover {color:#fff !important;}

.bg-dark {background: #1b1c1f !important;}
.text-dark {color: #1b1c1f !important;}


/*-=-=-=-=-=-=-=-=-=-*/
/* Column Grids */
/*-=-=-=-=-=-=-=-=-= */

.col_half { width: 49%; }
.col_third { width: 32%; }
.col_fourth { width: 23.5%; }
.col_fifth { width: 18.4%; }
.col_sixth { width: 15%; }
.col_three_fourth { width: 74.5%;}
.col_twothird{ width: 66%;}
.col_half,
.col_third,
.col_twothird,
.col_fourth,
.col_three_fourth,
.col_fifth{
	position: relative;
	display:inline;
	display: inline-block;
	float: left;
	margin-right: 2%;
	margin-bottom: 20px;
}
.end { margin-right: 0 !important; }

ul {list-style: none}
.herolista {font-size:25px;}


/*-=-=-=-=-=-=-=-=-=-=- */
/* Flip Panel */
/*-=-=-=-=-=-=-=-=-=-=- */

.panel {
	margin: 0 auto;
	height: 320px;  
	position: relative;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
}

.panel .front,
.panel .back {
	text-align: center;
}
	
.panel .front {
	height: inherit;
	
	position: absolute;
	top: 0;
	z-index: 900;
	text-align: center;
	-webkit-transform: rotateX(0deg) rotateY(0deg);
	   -moz-transform: rotateX(0deg) rotateY(0deg);
	-webkit-transform-style: preserve-3d;
	   -moz-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	   -moz-backface-visibility: hidden;
	-webkit-transition: all .4s ease-in-out;
	   -moz-transition: all .4s ease-in-out;
		-ms-transition: all .4s ease-in-out;
		 -o-transition: all .4s ease-in-out;
			transition: all .4s ease-in-out;
}

.panel .back {
	height: inherit;
	
	position: absolute;
	top: 0;
	text-align: center;
	z-index: 1000;
	-webkit-transform: rotateY(-180deg);
	   -moz-transform: rotateY(-180deg);
	-webkit-transform-style: preserve-3d;
	   -moz-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	   -moz-backface-visibility: hidden;
	-webkit-transition: all .4s ease-in-out;
	   -moz-transition: all .4s ease-in-out;
		-ms-transition: all .4s ease-in-out;
		 -o-transition: all .4s ease-in-out;
			transition: all .4s ease-in-out;
}
.panel.flip .front {
	z-index: 900;
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
}
.panel.flip .back {
	z-index: 1000;
	-webkit-transform: rotateX(0deg) rotateY(0deg);
	-moz-transform: rotateX(0deg) rotateY(0deg);
}
.box1{
	background-color: white;
	border: solid 2px #1b1c1f;
	max-width: 350px;
	height: 320px;
	margin: 0 auto;
	padding: 30px;

}
.box2{
	background-color: #1b1c1f;
	max-width: 350px;
	height: 320px;
	margin: 0 auto;
	padding: 30px;

}
/*********************** Galerija Usluga *******************/

.box5 .icon li a{text-align:center}
.box5:after,.box5:before{content:""}
.box5,.box5 .icon li a{overflow:hidden}
.box5 .post{font-style:italic}
body{background-color:#f1f1f2;font-family: 'Exo', sans-serif;}
.mt-30{margin-top:30px}
.mt-40{margin-top:40px}
.mb-30{margin-bottom:30px}

.box5{background:#444;position:relative}
.box5:after,.box5:before{width:50px;height:50px;border-radius:50%;background:#ee1c25;position:absolute;top:-80px;left:15px;opacity:0;z-index:1;transition:all .35s ease}
.box5:after{top:auto;left:auto;bottom:-80px;right:15px}
.box5:hover:after,.box5:hover:before{opacity:.45;transform:scale(8);transition-delay:.15s}
.box5 img{width:100%;height:auto;transition:all .35s ease-out 0s}
.box5:hover img{opacity:.4}
.box5 .icon{margin:0;position:absolute;bottom:15px;right:15px;z-index:2;transform:scale(0);transition:all .35s ease-out}
.box5:hover .icon{transform:scale(1);transition-delay:.15s}
.box5 .icon li a{display:block;width:35px;height:35px;line-height:35px;background:#fff;font-size:18px;color:#444;margin-right:10px;position:relative;transition:all .5s ease 0s}
.box5 .icon li a:hover{background:#444;color:#fff}
.box5 .box-content{padding:20px 15px;position:absolute;top:0;left:0;z-index:1}
.box5 .title{font-size:20px;font-weight:800;color:#fff;margin:0 0 5px;opacity:0;transform:translate(-20px,-20px);transition:all .35s ease-out}
.box5:hover .title{opacity:1;transform:translate(0,0);transition-delay:.15s}
.box5 .post{display:inline-block;font-size:16px;color:#fff;opacity:0;transform:translate(-20px,-20px);transition:all .35s ease-out}
.box5:hover .post{opacity:1;transform:translate(0,0);transition-delay:.15s}
.box6 .title,.box6 img,.box6:after{transition:all .35s ease 0s}

@media only screen and (max-width:990px){.box5{margin-bottom:30px}
}
.btn-bordo {border: solid 2px #ee1c25;background-color:#ee1c25;}
.btn-bordo:hover {color: #ee1c25 !important;background-color: #fff;border: solid 2px #ee1c25;}
.border-bordo {border-color: #ee1c25 !important;}

.hoverefekt:hover {
	-webkit-box-shadow: 0px -2px 12px 9px rgba(0,0,0,0.65);
-moz-box-shadow: 0px -2px 12px 9px rgba(0,0,0,0.65);
box-shadow: 0px -2px 12px 9px rgba(0,0,0,0.65);
	
	}
.idpozicija {
	padding-top: 60px;
	margin-top: -60px;
}
/*
Removes white gap between slides - chagnge to base color of slide images
*/
.carousel {
  background:#fff;
}

/*
Forces image to be 100% width and not max width of 100%
*/
.carousel-item .img-fluid {
  width:100%;
}

/* 
anchors are inline so you need ot make them block to go full width
*/
.carousel-item a {
  display: block;
  width:100%;
}
#scroll {
    position:fixed;
    right:10px;
    bottom:50px;
    cursor:pointer;
    width:50px;
    height:50px;
    background-color:#ee1c25;
    text-indent:-9999px;
    display:none;
    -webkit-border-radius:60px;
    -moz-border-radius:60px;
    border-radius:60px
}
#scroll span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    border:8px solid transparent;
    border-bottom-color:#ffffff;
}
#scroll:hover {
    background-color:#000;
    opacity:0.5;filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}

/* Small devices (landscape phones, 544px and up) */
@media (min-width: 544px) {  
  h1 {font-size:1rem;} /*1rem = 16px*/
}
 
/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {  
  h1 {font-size:1.5rem;} /*1rem = 16px*/
 
}
 
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
  h1 {font-size:2rem;} /*1rem = 16px*/
}
 
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {  
  h1 {font-size:2.5rem;} /*1rem = 16px*/    
}
@media (max-width: 992px) {  
  .box1, .box2, .panel {height:270px; }
 }
@media (max-width: 768px) {  
  .box1, .box2, .panel {height:250px;margin-bottom:10px;left:15%;}
   }
@media (max-width: 544px) {  
  .box1, .box2, .panel {height:250px;margin-bottom:10px;left:0;}
 #scroll {
    position:fixed;
    right:10px;
    bottom:10px;
    cursor:pointer;
    width:30px;
    height:30px;
    background-color:#ee1c25;
    text-indent:-9999px;
    display:none;
    -webkit-border-radius:60px;
    -moz-border-radius:60px;
    border-radius:60px;
	opacity:0.3;filter:"alpha(opacity=30)";
}
 }

/*
::::::::::::::::::::::::::::::::::::::::::::::::::::
Custom media queries
*/
 
/* Set width to make card deck cards 100% width */
@media (min-width: 768px) and (max-width:992px) { 
  h3 {font-size:1.25rem;} 
}
/* Back to top button */

