/* Custom Stylesheet */
nav ul a,
nav .brand-logo {
  color: #FFF;
}
p {
  line-height: 2rem;
}

@font-face {
    font-family: 'Oswald';
    font-weight: normal;
    font-style: normal;
    src: url('../font/Oswald-Regular.ttf');
}

.button-collapse {
  color: #26a69a;
}

#head { font-family: sans-serif; 
		left: 350px;
		position:absolute; 
		top:-15px;
		vertical-align:middle;
		height: 100px;
	   font-weight:500;
}

.card-color { 
			background-color: #fff9c4;
			color:#000080;	}

#achieve-container {
	max-width:970px; 
	margin-top:-10px; 
	margin-bottom:0px; 
	padding:10px 10px; 
	color:#000080;
	}
	
.parallax-container {
  min-height: 380px;
  line-height: 0;
  height: auto;
  color: rgba(255,255,255,.9);
}
  .parallax-container .section {
    width: 100%;
  }
 
.rightpic {
	position: absolute;
	margin-top: 20px;
	right:24px;
	}

.rightpic2 {	
	position: absolute;
	margin-top: 20px;
	right:230px;
				}

.leftpic {
	position: absolute;
	margin-top: -20px;
	left: 17px;
	}

.leftpic2 {
		position: absolute;
	margin-top: -20px;
	left: 230px;
			}
	
@media only screen and (max-width : 992px) {
  .parallax-container .section {
    position: absolute;
    top: 40%;
  }
  #index-banner .section {
    top: 10%;
  }
  
  #head { font-family: 'Oswald', sans-serif; 
		left: 150px;
		position:absolute; 
		top:-15px;
}
}


@media only screen and (max-width : 600px) {
  #index-banner .section {
    top: 0;
  }
 
#map{
	width: 250px;
	} 

#head { font-family: 'Oswald', sans-serif; 
		left: 4px;
		font-size:17px;
		position:absolute; 
		top:-10px;
		content:'Image Analysis & Biometrics Lab @ IIIT-D';
}
  
#iiitd {
	top: -25px;
	position:relative;
}


.icon-block {
  padding: 0 15px;
  font-weight:400;
}

footer.page-footer {
  margin: 0;
}

}

#logo-container { height:30px;}


.blink {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: 7;
    
    -moz-animation-name: blinker;
    -moz-animation-duration: 1.5s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: 7;
    
    animation-name: blinker;
    animation-duration: 1.5s;
    animation-timing-function: linear;
    animation-iteration-count: 7;
}

@-moz-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
	
}

@-webkit-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@keyframes blinker {  
    0% { opacity: 1.0;}
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

#gmap_canvas img{max-width:none!important;background:none!important}

@media (max-width:1257px) and (min-width:992px){

	#map{
	width: 300px;
	} 
	
	}
/*-----------------Timeline components---------------------------------------------*/

.timeline {
  position: relative;
  width: 900px;
  margin: 0 auto;
  margin-top: 0px;
  padding: 1em 0;
  list-style-type: none;
}

.timeline:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: ' ';
  display: block;
  width: 6px;
  height: 100%;
  margin-left: -3px;
  background: rgb(80,80,80);
  background: -moz-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,1)));
  background: -webkit-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -o-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -ms-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: linear-gradient(to bottom, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  
  z-index: 0;
}

.timeline li {
  padding: 1em 0;
}

.timeline li:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.direction-l {
  position: relative;
  width: 435px;
  float: left;
  text-align: right;
  background-color:#fff9c4;
  opacity: 0.8;
  border-radius: 5px;
  margin-left:5px;
  height:230px;
  top: -100px;
  color:#00080;
}

.direction-r {
  position: relative;
  width: 435px;
  height: 230px;
  float: right;
  background-color:#fff9c4;
  opacity: 0.8;
  border-radius: 5px;
  margin-right: 5px;
  top:-50px;
  color:#00080;
}

.flag-wrapper {
  position: relative;
  display: inline-block;
  
  text-align: center;
}

.flag {
  position: relative;
  top: 4px;
  display: inline;
  background: rgb(248,248,248);
  padding: 6px 10px;
  border-radius: 0px;
  color:#000;
  font-weight: 600;
  text-align: left;
}

.direction-l .flag {
  -webkit-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-r .flag {
  -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-l .flag:before,
.direction-r .flag:before {
  position: absolute;
  top: 50%;
  right: -17px;
  content: ' ';
  display: block;
  width: 12px;
  height: 12px;
  margin-top: -10px;
  background: #000;
  border-radius: 10px;
  border: 4px solid #9F0;
  z-index: 100;
}

.direction-r .flag:before {
  left: -17px;
}

.direction-l .flag:after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -12px;
  border: solid transparent;
  border-left-color: rgb(248,248,248);
  border-width: 12px;
  pointer-events: none;
}

.direction-r .flag:after {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -12px;
  border: solid transparent;
  border-right-color: rgb(248,248,248);
  border-width: 12px;
  pointer-events: none;
}

.time-wrapper {
  display: inline;
  
  line-height: 1em;
  font-size: 16px;
  color: rgb(250,80,80);
  vertical-align: middle;
}

.direction-l .time-wrapper {
  float: left;
}

.direction-r .time-wrapper {
  float: right;
}

.time {
  display: inline-block;
  padding: 4px 6px;
  margin-top:3px;
  background: rgb(248,248,248);
  
}

.desc {
  margin: 1em 0.75em 0 0;
  
  font-size: 15px;;
  font-style: italic;
  line-height: 1.5em;
}

.direction-r .desc {
  margin: 1em 0 0 0.75em;
}

.bggrey{
	background-color:#f5f5f5; 
	}
/* ================ Timeline Media Queries ================ */

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

.timeline {
 	width: 100%;
	padding: 4em 0 1em 0;
}

.timeline li {
	padding: 2em 0;
}

.direction-l,
.direction-r {
	float: none;
	width: 100%;

	text-align: center;
	height:150px;
}
.direction-r{
	margin-top: -20px;}

.flag-wrapper {
	text-align: center;
}

.flag {
	background: rgb(255,255,255);
	z-index: 15;
}

.direction-l .flag:before,
.direction-r .flag:before {
  position: absolute;
  top: -30px;
	left: 50%;
	content: ' ';
	display: block;
	width: 12px;
	height: 12px;
	margin-left: -9px;
	background: #fff;
	border-radius: 10px;
	border: 4px solid rgb(255,80,80);
	z-index: 10;
}

.direction-l .flag:after,
.direction-r .flag:after {
	content: "";
	position: absolute;
	left: 50%;
	top: -8px;
	height: 0;
	width: 0;
	margin-left: -8px;
	border: solid transparent;
	border-width: 8px;
	pointer-events: none;
}

.time {
  margin-top:6px;
}

.time-wrapper {
	display: block;
	position: relative;
	margin: 4px 0 0 0;
	z-index: 14;
}

.direction-l .time-wrapper {
	float: none;
}

.direction-r .time-wrapper {
	float: none;
}

.desc {
	position: relative;
	margin: 1em 0 0 0;
	padding: 1em;
	background: #fff9c4 ;
	-webkit-box-shadow: 0 0 1px rgba(0,0,0,0.20);
	-moz-box-shadow: 0 0 1px rgba(0,0,0,0.20);
	box-shadow: 0 0 1px rgba(0,0,0,0.20);
	color: #000080;
  z-index: 15;
}

.direction-l .desc,
.direction-r .desc {
	position: relative;
	margin: 1em 1em 0 1em;
	padding: 1em;
	
  z-index: 15;
}

.direction-l .flag:before,
.direction-r .flag:before {
	visibility: hidden;
	}
}

@media screen and (min-width: 400px ?? max-width: 660px) {

.direction-l .desc,
.direction-r .desc {
	margin: 1em 4em 0 4em;
}


}