* {
	margin: 0;
	padding: 0;
	box-sizing: border-box; 								/* racuna se ukupno width i border i padding */	
}

html {
	background-color: #fff;
	color: #555;
	font-family:'Roboto','Lato', 'Arial', sans-serif;				/* ako Lato ne moze, onda Arial */
	font-size: 10px;
	font-weight: 300;
	text-rendering: optimizeLegibility; 					/* perfect way for rendering fonts */
}

.row {
	max-width: 1140px;	 									/* 1140 se koristi u popularnim grid sistemima, odgovara 12 kolona */
	margin: 0 auto;											
}

.box {
	padding: 4%;
	text-align: center;
}

.box2 {
	padding: 1%;
	text-align: center;
}


section {											
	padding: 80px 0;
}

h1 {
	margin-top: 0;
	margin-bottom: 40px;
	color: #fff;
	font-size: 2.6rem;
	word-spacing: 4px;	
	letter-spacing: 1px;											
}

h2 {
	font-size: 3rem;
	word-spacing: 2px;
	text-align: center;
	margin-bottom: 30px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.heading-icon {
	width: 4%;
	padding-right: 14px;
	vertical-align: text-top;
	margin-top: 1px;
}

h3 {
	font-size: 1.62rem;
	margin-bottom: 2px;
	text-align: center;
}

p {
	font-size: 2rem;
	letter-spacing: 1px;
}

header {
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)), url("../pozadina2.jpg");
	height: 56vh;
	background-size: cover;
	background-position: center;
	position: relative;
}

nav {
	background: linear-gradient(to right, rgba(31, 31, 31, 0.93), rgba(27, 27, 27, 1));
	height: 60px;
}

.logo-box {
	position: absolute;                 /* stavljamo header na relative poziciju */
    left: 3rem;
    top: 1rem;
}

.color-letter {
	color: #ff164c;
}

.main-nav {
  float: right;
  list-style: none;
  margin-top: 2.2rem;
}

.main-nav li {
    display: inline-block;
    margin-left: 4rem; 
}

 .main-nav li a {
      padding: 1rem;
      color: #e4e4e4;
      text-decoration: none;
      text-transform: uppercase;
      font-size: 1.18rem;
      border-bottom: 0.2rem solid transparent;
      /* tranzicija krece od transparentne ka narandzastoj */
      transition: border-bottom 0.5s;
      font-weight: 300;
      letter-spacing: 0.1rem; 
}

.main-nav li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #aaa;
  height: 1px;
}

.main-nav li a {
	position: relative;
	transition: all 1s;
}

.main-nav li a:after {
  text-align: left;
  content: '.';
  margin: 0;
  opacity: 0;
}

.main-nav li a:hover {
	color: #fff;
  	z-index: 1;
}

.main-nav li a:hover:after {
	z-index: -10;
    animation: fill 0.5s forwards;
   -webkit-animation: fill 0.5s forwards;
   -moz-animation: fill 0.5s forwards;
   opacity: 1;
}

@-webkit-keyframes fill {
  0% {
    width: 0%;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  100% {
    width: 100%;
    height: 100%;
    background: #d2164c;
  }
}

ol {
	font-size: 2.3rem;
	list-style-type: none;
}

ul {
	list-style-type: none;
}

.number {
	color: #ff164c;
	margin-right: 12px;
}

.section-description .about-us {
	margin: 30px;
}

.section-description li {
	margin: 15px;
}

.section-description ul li::before {
  content: "\002022";
  color: #ff164c;
  float: left;
  font-size: 2rem;
  margin-right: 10px;
}

.section-our-work {
	background-color: #1B1B1B;
}

.section-our-work h2, .section-our-work h3 {
	color: #fff;
}

.icon {
	display: inline-block;
    position: relative;
    margin-bottom: 50px;
    width: 109px;
    height: 109px;
    border-radius: 35%;
    text-align: center;
    font-size: 36px; 
    background-color: #fff;
    padding: 30px;
    transition: 0.3s;
}


.image {
	width: 100%;
	height: 200px;
}

.image-partners {
	width: 100%;
	height: 240px;
}

.image-1 {
	background-image: url("../img/Arhiv.jpg");
	background-size: cover;
}

.image-2 {
	background-image: url("../img/Borovo.jpg");
	background-size: cover;
}

.image-3 {
	background-image: url("../img/Eparhija_Sabacko-Valjevska.jpg");
	background-size: cover;
}

.image-4 {
	background-image: url("../img/Fontana_Karadjordjeva.jpg");
	background-size: cover;
}

.image-5 {
	background-image: url("../img/Karadjordjeva.jpg");
	background-size: cover;
}

.image-6 {
	background-image: url("../img/Muzej.jpg");
	background-size: cover;
}

.image-7 {
	background-image: url("../img/Opstina.jpg");
	background-size: cover;
}

.image-8 {
	background-image: url("../img/Trg svetlosti.jpg");
	background-size: cover;
}

.image-9 {
	background-image: url("../img/Parkic.jpg");
	background-size: cover;
}

.image-10 {
	background-image: url("../img/sl1.jpg");
	background-size: cover;
}

.image-11 {
	background-image: url("../img/Tvrdjava.jpg");
	background-size: cover;
}

.image-12 {
	background-image: url("../img/Vodoskok.jpg");
	background-size: cover;
}

.section-partners {
	background-color: #f7f7f7;
}

.zorka {
	margin-top: -75px;
}

.telekom {
	width: 90%;
	margin-top: 9px;
	margin-left: 15px;
}

.interex {
	margin-top: 15px;
}

.location {
	margin-top: 20px;
	font-size: 1.8rem;
	text-align: center;
}

.gallery-icon {
	margin-right: 5px;
	color: #ff164c;
}

.section-contact {
	background-color: #1b1b1b;
}

.section-contact h2 {
	color: #fff;
}


form {
	width: 445px;
    padding: 2.5rem;
    margin-top: 30px;
    background: #fff;
    border-radius: 10px;
    -webkit-border-radius:10px;
    -moz-border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 10px rgba(60, 39, 74, 0.75);
    float: left;
}

.inputFields {
	display: block;
	padding: 1.5rem;
	text-align: center;
}

.oneField {
	padding: 1rem;
    width: 85.5%;
    border-radius: .5rem;
    border: 1px solid #C2C2C2;
    box-shadow: 1px 1px 4px #EBEBEB;
    -moz-box-shadow: 1px 1px 4px #EBEBEB;
    -webkit-box-shadow: 1px 1px 4px #EBEBEB;
    outline: none;
    transition: .6s;
}

.oneField:focus {
	color: #ff164c;
	border: 2px solid #ff164c;
}

.textarea-message {
	font: 400 13.3333px Arial;
    font-weight: 400;
    transition: .6s;
    width: 86%;
    padding: .9rem;
}

.contact-button {
	border: .1rem solid #61b28d;
    border-radius: 5px;
    padding: 1rem 3rem 1.2rem;
    box-shadow: 1px 1px 4px #DADADA;
    -moz-box-shadow: 1px 1px 4px #DADADA;
    -webkit-box-shadow: 1px 1px 4px #DADADA;
    background: #ff164c;
    color: #fff;
    transition: .5s;
    text-align: center;
}

.contact-data {
	float: left;
	margin: 80px 150px 150px 250px;
}

.contact-data i{
	font-size: 2.4rem;
    text-align: center;
    line-height: 4rem;
    margin: 1rem 1rem 1rem 0;
    border-radius: 50%;
    background-color: #fff;
    width: 38px;
    height: 38px;
    color: #ff164c;
    vertical-align: middle;
}

.contact-data p {
	display: inline-block;
	color: #fff;
}

.contact, .mail, .city {
	margin-top: 25px;
}

.contact-data .myBtn {
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  cursor: pointer;
  width: 60px;
  height: 60px;
  padding-top: 9px;
  background-color: #ff164c;
  color: #fff;
}
.mobile-nav-icon{
    display:none;
}

@media(max-width: 767px) {

  h1 {
    font-size: 2.2rem;
    margin-top: 0.4rem;
  }

  h3 {
    font-size: 1.6rem;
  }

  .heading-icon {
    margin-top: 6.5px;
  }

  .main-nav li {
    margin-left: 1.4rem;
    margin-right: 0.45rem;
  }
  .main-nav li a {
    font-size: 1rem;
    padding: 0.45rem;
  }

  .heading-icon {
    width: 7%;
  }

  .zorka {
    width: 100%;
    margin-left: -1rem;
    margin-top: -3.1rem;
  }

  .interex {
    width: 80%; 
  }

  form {
    margin-left: 11.3rem;
  }

  .contact-data {
    margin-bottom: 0;
    margin-top: 0.5rem;
    margin-left: 240px;
  }

  .contact-data p {
    font-size: 1.5rem;
  }

  .image {
    height: 110px;
  }
}

@media(max-width: 600px) {

  h1 {
    font-size: 2rem;
    margin-top: 0.5rem;
  }
  .main-nav li a {
    font-size: 0.9rem;
    padding: 0.15rem;
  }
}


@media(max-width: 480px) {

	.main-nav {
		  display: none;
    	float: left;
    	margin-top: 2rem;
    	margin-left: 18rem;
	}
	.main-nav li {
		display: block;	
	}

	.main-nav li a {
		display: block;
        border: 0;                               
        padding: 11.9px 0;
        font-size: 0.9rem;
	}

	.mobile-nav-icon {
	    display:inline-block;
  		float: right;
  		margin-top: 2rem;
  		cursor: pointer;
  		margin-right:10px;
  	}

  	.hamburger {
  		font-size: 240%;
    	color: #fff;
  	}

  	.logo-box {
  		margin-top: 0.8rem;
  	}

  	h1 {
  		font-size: 2.2rem;
  	}

  	p {
  		font-size: 1.42rem;
  	}

  	form {
  		float: none;
  		width: 350px;
  	}
  	.contact-data {
  		float: none;
  		margin: 30px 0px 0px 80px;
  	}

  	.elektrovod-mail {
  		font-size: 1.36rem;
  	}

  	.contact-data .myBtn {
  		position: relative;
  		margin-top: 3rem;
  		margin-bottom: 0;
  		margin-left: 8rem;
  		bottom: 0;
  		right: 0;

  	}

}

