html, body{
	background: #fff;
	font-family: 'Lato',sans-serif;
}

.al{text-align: left}
.ac{text-align: center}
.ar{text-align: right}
.fl{float:left;}
.fr{float:right;}

.relative{position:relative;}
.animated{
	-webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.button{

	display:inline-block !important;
	background:green;
	color: #339966 !important;	
	text-shadow: 0 1px 2px white !important;
	padding:5px 10px !important;

	background-image: -webkit-gradient(linear, lefttop, leftbottom, from(#CFC), to(#66cc99));
	background-image: -webkit-linear-gradient(top, #CFC, #66cc99);
	background-image: -moz-linear-gradient(top, #CFC, #66cc99);
	background-image: -ms-linear-gradient(top, #CFC, #66cc99);
	background-image: -o-linear-gradient(top, #CFC, #66cc99);
	background-image: linear-gradient(tobottom, #CFC, #66cc99);
	border: 1px solid #999;
	
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	box-shadow: inset 0px 1px 5px #396;
	-moz-box-shadow: inset 0px 1px 5px #396;
	-webkit-box-shadow: inset 0px 1px 5px #396;	
}

.button:hover{
	background-image: -webkit-gradient(linear, lefttop, leftbottom, from(#66cc99), to(#CFC));
	background-image: -webkit-linear-gradient(top, #66cc99, #CFC);
	background-image: -moz-linear-gradient(top, #66cc99, #CFC);
	background-image: -ms-linear-gradient(top, #66cc99, #CFC);
	background-image: -o-linear-gradient(top, #66cc99, #CFC);
	background-image: linear-gradient(tobottom, #66cc99, #CFC);
}

.red{
	background-image: -webkit-gradient(linear, lefttop, leftbottom, from(#FCC), to(#C66));
	background-image: -webkit-linear-gradient(top, #FCC, #C66);
	background-image: -moz-linear-gradient(top, #FCC, #C66);
	background-image: -ms-linear-gradient(top, #FCC, #C66);
	background-image: -o-linear-gradient(top, #FCC, #C66);
	background-image: linear-gradient(tobottom, #FCC, #C66);
}

.italic{font-style: italic}

.wrapper{
	width:100%;
	margin:0 auto;
	max-width: 910px;
}

header {
    width: 100%;
    height: 174px;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.95);
    text-align:center;
}

header .headerLinks{
	top:80px;
	padding:0 30px;
}

.headerLinks ul li{
	display: inline-block;
	width: auto;
}

header div#social{
	float:left;
	position:absolute;
	left:0;	
}

header div#social a{
  margin-right: 20px;
  color: black;
  font-weight: 700;
  font-size: 18px;
  width:18px;
  height:15px;
  display: inline-block;
  opacity:0.5;
  float:left;
  position: relative;
}

header div#social a img{
	width:100%;
}

header div#social a:hover{
	opacity: 1.0;
	
	margin-top:5px;
}

header #logo {
    display: inline-block;
    height: 102px;
    line-height: 102px;
    font-family: "Lato", sans-serif;
    font-size: 60px;
    color: black;
    font-weight: 400;
    padding:30px 0;
}

header #logo img{
	height: 102px;
  line-height: 102px;
}

header nav {
    float: right;
    position:absolute;
		right:0;
		text-transform: uppercase;
}

header nav a {
    margin-left: 30px;
    color: black;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    -webkit-transition: all 0.3s;
	  -moz-transition: all 0.3s;
	  -ms-transition: all 0.3s;
	  -o-transition: all 0.3s;
	  transition: all 0.3s;
	  font-family: 'Lato', sans-serif;
	  font-weight: 900;
}
header nav a:hover {
    color: #f6871e;
}


/*	SMALLER HEADER	*/
header.smaller {
    height: 124px;
}

header.smaller #logo,
header.smaller #logo img
{
    height: 64px;
    line-height: 64px;
    font-size: 30px;
}

header.smaller #logo{
	padding:30px;
}

header.smaller nav a {

}

header.smaller .headerLinks{
	top:60px;
}

#tagline{
	font-size:30px;
	font-weight: 100;
	line-height: 50px;
	
	padding:200px 0px 100px 0px;
	max-width: 500px;
	width: 100%;
	margin: 0 auto;
	font-family: 'Lato', sans-serif;
}

#tagline span{
	font-weight: 400;
	text-decoration: underline;
}

.workItems{
	overflow: hidden;
}

*, *:after, *:before {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}


.workItems > div{
	position: relative;
	z-index: 1;
	width:33.333%;
	float:left;		
	vertical-align: middle;
	font-size:24px;	
	height: 315px;
	text-align: center;
	vertical-align: middle;
	color:white;
	font-weight: bold;
	text-transform: uppercase;
	position: relative;	
	text-align: center;	
		
	overflow: hidden;
	/*margin: -0.135em;*/
	width: 33.333%;
	background: #3085a3;
	text-align: center;
	cursor: pointer;

}

.workItems > div > img{
	position: relative;
	display: block;
	min-height: 100%;
	opacity: 0.2;
	border: 0;
	
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-40px,0, 0);
	transform: translate3d(-40px,0,0);	
}


.workItems > div:hover > img{
	opacity: 0.5 !important;
	-webkit-transform: translate3d(-5px,0,0);
	transform: translate3d(-5px,0,0);
}

.workItems > div h2{
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	color: #fff;
	-webkit-transition: -webkit-transform 0.35s, color 0.35s;
	transition: transform 0.35s, color 0.35s;
	-webkit-transform: translate3d(0,-50%,0);
	transform: translate3d(0,-50%,0);
}

.workItems > div:hover h2{
	color: #fff;
	-webkit-transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
	transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
}

.workItems > div > div{
	position: absolute;
	top: 100px;
	left: 0;
	width: 100%;	
	opacity:0;	
	-webkit-transition: all 0.35s;
	transition: all 0.35s;		
}

.workItems > div:hover div{
	opacity:1;
	top:50%;
}

.workItems > div > div a{
	display:inline-block;
	margin:5px 10px;
	width:40px;
	height:40px;
	opacity:0.5;
	-webkit-transition: all 0.35s;
	transition: all 0.35s;	
}

.workItems > div > div a img{
	width:100%;
	
}

.workItems > div:hover div{
	opacity:1;
	top:50%;
}

.workItems > div > div a:hover{
	opacity:1;
}

.title{
	padding:80px 0;
	text-align: center;
	font-size: 72px;
	font-weight: 200;
}

h3{
	font-size:24px;
	text-transform: uppercase;
	padding:20px 0;
}

h4{
	font-size: 18px;
	text-transform: uppercase;
	padding:5px 0;
}

h5{
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 300;
	color:#444;
	
}

p{
	line-height: 28px;
	font-size:16px;
	color:#666;
}

#main{
	height:800px;
	position:relative;
	overflow:hidden;
	background: #a4c639;
}

.wrap{
	padding:20px 80px;
	color:white;
	font-size:72px;
	font-weight: 200;
}

.toggleWidth .wrap span{
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

#android{
	position: absolute;
	position: absolute;    
    clip: rect(0px, 675px, 800px, 0px); /* IE8+ & other browsers */
	top:0;
	left:0;
	z-index: 19;
	width:100%;	
	height: 800px;
	background: #a4c639;
	text-align:right;
	
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
	
}

#ios{
	position: absolute;	
    clip: rect(0px, 1900px, 800px, 675px); /* IE8+ & other browsers */
	top:0;
	right:0;
	z-index: 20;
	width:100%;	
	height: 800px;
	background: url(../images/ios.png) 0 0 repeat-x;
	text-align:left;	
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;	
}

.phoneTitle{
	display: block;
	margin-top:350px;
	cursor:pointer;
}

.phoneInfo{
	width:50%;
	color:white;
	font-size:36px;
	font-weight: 200;
	padding-top:150px;
}

.phoneInfo > *{
	margin-bottom: 30px;
}

#ios .phoneTitle{float:right;margin-right:5px;}
#ios .phoneInfo{float:left;margin-left: 10px;}

#android .phoneTitle{float:left;}
#android .phoneInfo{float:right;}

#android-phone{
	height:590px;
	width:300px;
	position:absolute;
	z-index:20;
	display: inline-block;
	top: 110px;
	opacity: 0;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

#ios-phone{
	height:590px;
	width:300px;
	position:absolute;
	z-index:20;
	display: inline-block;
	top: 110px;
	opacity: 0;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

#ios-phone img{
	margin-top:-3px;
}

.toggleWidth.full #ios-phone{
	right: 80px !important;
}

.toggleWidth.full #android-phone{
	left: 80px !important;
}


.toggleWidth.full .phoneTitle{
	margin-top:0px;
}

.android .dbutt{
	opacity: 0;
}

.ios .dbutt{	
	opacity: 0;
}

.dbutt{
	position: relative;
	z-index: 50;
	top: 370px;
	left:0px;	
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

#infos{
	padding:10px 0 30px 10px;
}

#people{
	padding:60px 0;
}

#people > div{
	text-align: center;
}

#people > div > img{
	border-radius: 200px;
	width: 100%;
	max-width: 160px;
	opacity: 0;
	-webkit-transition: all 0.2s ease-out, opacity 0.6s ease-out;
	-moz-transition: all 0.2s ease-out, opacity 0.6s ease-out;
	transition: all 0.2s ease-out, opacity 0.6s ease-out;
		
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: gray; 	
	cursor:pointer;	
	
	-webkit-transform:scale(0.0,0.0);
	-moz-transform:scale(0.0,0.0);
	transform:scale(0.0,0.0);
}

#people > div > img.zoom {
	-webkit-transform:scale(1,1);
	-moz-transform:scale(1,1);
	transform:scale(1,1);
}


#people > div > img:hover{
	-webkit-filter: grayscale(0%);
	-moz-filter: grayscale(0%);
	filter: grayscale(0%);
	opacity:1 !important;
	-webkit-transform:scale(1.1,1.1);
	-moz-transform:scale(1.1,1.1);
	transform:scale(1.1,1.1);
}

#people > div > h4{
	padding-top:30px;
}

#contact{
	margin:0px 0 80px;
}

#controls{
	font-size:72px;
	font-weight: 200;
	font-family: 'Lato',sans-serif;
	text-align: center;
	margin:50px 0;
}

#controls span{
	display: inline-block;
	cursor:pointer;
	-webkit-transition: font-weight 0.3s ease-out;
	-moz-transition: font-weight 0.3s ease-out;
	transition: font-weight 0.3s ease-out;
}

#controls span.highlight{
	color:#f6871e;
	font-weight: bold;
}

input{
	border:none;
	padding: 10px;
	width: 100%;
	box-sizing: padding-box;
	border-bottom: 1px solid #aaa;
	color:#7f7f7f;
	font-size:16px;
	color:#f6871e;
}

input:focus{
	outline: none;
	box-shadow: none;
}

.space{
	padding-top:30px;
}

.btn{
	display:inline-block;
	background:none;
	border:none;
	font-size:22px;
	font-weight: bold;
	color:#f6871e;
	text-transform: uppercase;
	
	-webkit-transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	transition:all 0.3s ease-out;
	outline: none;
}

.btn:hover{
	color:#666;
	-webkit-transform:scale(1.1,1.1);
	-moz-transform:scale(1.1,1.1);
	transform:scale(1.1,1.1);	
}

.btn:active{
	margin-top:-1px;
	color:red;
}

#response{
	font-size: 30px;
	padding: 10px 10px 80px;
	text-align: center;
	color: #f6871e;
}

#response.bad{
	color:red;
	
}

#map{
	width:100%;
	height:590px;
}

#map img{
	width: 100%;
}

@-moz-keyframes pulsate {
		from {
			-moz-transform: scale(0.25);
			opacity: 1.0;
		}
		95% {
			-moz-transform: scale(1.3);
			opacity: 0;
		}
		to {
			-moz-transform: scale(0.3);
			opacity: 0;
		}
	}
	@-webkit-keyframes pulsate {
		from {
			-webkit-transform: scale(0.25);
			opacity: 1.0;
		}
		95% {
			-webkit-transform: scale(1.3);
			opacity: 0;
		}
		to {
			-webkit-transform: scale(0.3);
			opacity: 0;
		}
	}
	/* get the container that's just outside the marker image, 
		which just happens to have our Marker title in it */
	#map div.gmnoprint[title="Stara Pazova, Serbia"] {
		-moz-animation: pulsate 1.5s ease-in-out infinite;
		-webkit-animation: pulsate 1.5s ease-in-out infinite;
		
		/* make a circle */
		-moz-border-radius:61px;
		-webkit-border-radius:61px;
		border-radius:61px;
		
		/* set the ring's new dimension and re-center it */
		height:61px!important;
		margin:-18px 0 0 -18px;
		width:61px!important;
		background:#f6871e;
	}
	/* hide the superfluous marker image since it would expand and shrink with its containing element */
/*	#map div[style*="987654"][title] img {*/
	#map div.gmnoprint[title="Stara Pazova, Serbia"] img {
		display:none;
	}
	
	
	/* compensate for iPhone and Android devices with high DPI, add iPad media query */
	@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (device-width: 768px) {
		#map div.gmnoprint[title="Stara Pazova, Serbia"] {
			margin:-10px 0 0 -10px;
		}
	}
	
	/* compensate for iPhone and Android devices with high DPI, add iPad media query */
	@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (device-width: 768px) {
		#map div.gmnoprint[title="Stara Pazova, Serbia"] {
			margin:0 0 0 0 !important;
		}
	}
	
	.labels{
		line-height: 18px;
		font-size: 18px;
		font-weight: 500;
		color: #f6871e;
		font-family: 'Lato',sans-serif;
	}
	
	.labels b{
		text-transform: uppercase;
		font-weight: bolder;
	}

footer{
	padding: 20px;
}

@media all and (max-width: 1024px){
	#map{height:500px;}
}

@media all and (max-width: 900px){
	#map{height:450px;}
}

@media all and (max-width: 768px){
	#map{height:380px;}
	
	header nav a {
    margin-left: 20px;    
	}
	
	header .headerLinks {
		padding: 0 10px;
	}
	
	#main,
	#ios,
	#android
	{
		height:500px;		
	}
	
	#android-phone,
	#ios-phone{
		height:300px;
		width:153px;
		top: 100px;		
	}
	
	#android-phone img,
	#ios-phone img{
		height:300px;
		width:153px;
	}
	
	#ios-phone img{
		height:302px;
		margin-top:-2px;
	}	
	
	.dbutt{
		top:170px;
	}
	
	.phoneTitle{
		font-size: 48px;
		margin-top:130px;
	}
	
	.phoneInfo{
		
		font-size:28px;
		font-weight: 200;
		padding-top:100px;
	}
	
	.phoneInfo > *{
		margin-bottom: 30px;
	}
	
	.wrap{
		padding:10px 20px;		
	}
	
	.phoneInfo{
		font-size:24px;
		font-weight: 300;
	}
}

@media all and (max-width: 660px) {

		header{
			position:initial;
			height:auto;
		}
		
		/*	SMALLER HEADER	*/
		header.smaller {
	    height: auto;
		}
		
		header.smaller #logo,
		header.smaller #logo img
		{
		    height: auto;
		    line-height: initial;
		    font-size: auto;
		}
		
		header.smaller #logo{
			padding: 10px 0;
		}
		
		header.smaller nav a {
		
		}
		
		header.smaller .headerLinks{
			padding: 0 10px;
		}
		
		header div#social{
			display: none;
		}

    header #logo {
        display: block;
        float: none;
        margin: 0 auto;
        height: auto;
        line-height: initial;
        text-align: center;
        padding:10px 0;
    }
    
    header #logo img{
	    height:auto;
	    line-height: initial;
    }
    header nav {
        display: block;
        float: none;
        height: 30px;
        text-align: center;
        margin: 0 auto;
    }
    
    #tagline{
	    padding:0px 0 20px 0;
    }
    
    
    .workItems > div{
    	width: 50%;
    	line-height: 200px;
			height: 200px;
    }
    
    #map{height:400px;}
       
    header .headerLinks {
			display: block;
			float:none !important;
			position: initial !important;
		}
		
		header .headerLinks a{
			float:none !important;
		}
    
    .workItems > div:hover h2{
			color: #fff;
			-webkit-transform: translate3d(0,-50%,0) translate3d(0,-10px,0);
			transform: translate3d(0,-50%,0) translate3d(0,-10px,0);
		}
		
		.toggleWidth.full{
			
		}
		
		.toggleWidth.full #ios-phone{
			right: 20px !important;
		}
		
		.toggleWidth.full #android-phone{
			left: 20px !important;
		}
    
}

@media all and (max-width: 480px) {
    .workItems > div{
    	width: 100%;
    	line-height: 100px;
			height: 100px;
    }
    
    .workItems > div:hover h2 {
			color: #fff;
			-webkit-transform: translate3d(0,-40%,0) translate3d(0,-40px,0);
			transform: translate3d(0,-40%,0) translate3d(0,-40px,0);
		}
    
    .workItems > div:hover div {
			opacity: 1;
			top: 20%;
		}
		
		#people > div{
			padding: 20px 0;
		}
    
    #map{height:300px;}
}




.flip-container {
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  -o-perspective: 1000;
  perspective: 1000;
}

	.flip-container.hover .flipper {
		-webkit-transform: rotateY(180deg);
		-moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
		transform: rotateY(180deg);
	}

.flip-container, .front, .back {
	width: 100%;
	height: 280px;
}

.flipper {
	-webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;

	-moz-transition: 0.6s;
	-moz-transform-style: preserve-3d;
  
  -o-transition: 0.6s;
	-o-transform-style: preserve-3d;

	transition: 0.6s;
	transform-style: preserve-3d;

	position: relative;
}

.front, .back {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
  -o-backface-visibility: hidden;
	backface-visibility: hidden;

	position: absolute;
	top: 0;
	left: 0;
}

.front {
	z-index: 2;
}

.back {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.hidden {
    visibility: hidden;
}