/* BODY PROPERTIES ======================================================== */

html, body {

	font-family: 'Rajdhani', sans-serif;
	background-color: #222629;
	color: #fff;
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;

}

/* ALL PAGES */
#wrapper {

	min-height: 100%;
	position: relative;
	margin: 0 auto;
	padding: 0;
	
}

.container {
	
	margin: auto;
	padding: 0;
	width: 100%;
	
}

/* SOFTWARE & DATA */ 
.image {
	
	position: relative;
	
}

/* PEOPLE */
.profile {
	
	width: 300px;
	height: 300px;
	
}

/* FRONT PAGE PROPERTIES ================================================== */

.grid-front {
	
	max-width: 480px;
	display: flex;
	padding: 0px;
	margin: auto;
	margin-top: 25%;

}

.box-front {
	
	/* grid-column: 2/ span all; */
	height: auto;
	padding: 0px;
	margin: 0px;
	
}

/* TEXT PROPERTIES ======================================================== */

h1 {

	font-weight: 400;
	color: #ffcc00;
	font-size: 50px;
	margin: 0px;
	letter-spacing: 2px
	
}

h2 {
	
	font-weight: 400;
	color: #ffcc00;
	font-size: 35px;
	margin: 0px;
	padding: 0px;
	
}

h3 {
	
	font-weight: 500;
	color: #fff;
	font-size: 20px;
	margin: 0px;
	padding: 0px;
	
}

/* SOFTWARE & DATA */
h4 {
	
	margin: 0px;
	padding: 0px;
	bottom: 0px;
	font-size: 60px;
	font-weight: 300;

}

/* PAPER */
h5 {
	
	color: #fff;
	font-weight: 500;
	font-size: 25px;
	margin: 10px;
	
}

/* PAPER */
h6 {
	
	font-weight: 500;
	color: #fff;
	font-size: 50px;
	margin: 0px;
	padding: 0px;
	
}

/* PAPER */
h7 {
	
	font-weight: 300;
	color: #fff;
	font-style: italic;
	font-size: 20px;
	
}

/* PAPER */
h8 {
	
	font-weight: 400;
	color: #fff;
	font-size: 40px;
	margin: 0px;
	padding: 0px;
	width: auto;
	
}

/* PEOPLE */
h9 {
	
	font-weight: 400;
	color: #fff;
	font-size: 30px;
	display:inline-block;
	height: 30px;
	/* background-color: blue; */
	
}

p {
	
	font-size: 20px;
	color: #fff;
	font-weight: 300;
	
}

/* SOFTWARE & DATA */
p2 {
	
	font-size: 20px;
	color: #fff;
	font-weight: 300;
	margin: 0px;
	
}

.box-header {
	
	/* background-color: #234455;	 */
	border-bottom: 1px dashed white;
	grid-column: 1/ span all;
	height: auto;
	width: 100%;
	padding:0;

}

.box-line {
	
	border-bottom: 1px dashed white;
	height: 1px;
	width: 100%;

}

/* LINK PROPERTIES ======================================================== */

a:link {
	
	color: #99ffcc;
	font-weight: 500;
	text-decoration: none;
	padding:0px;
	transition: color 0.5s;
	
}

a:visited {
	
	color: #99cccc;
	text-decoration: none;
	padding:0px;
	
}

a:hover {
	
	color: #ffcc00;
	
}

/* NAVIGATION BAR PROPERTIES ============================================== */

.VGL {
	
	height: 50px;

}

#nav {
	
	background-color: #000;
	height: 75px;
	border-bottom: 2px solid #99ffcc;
	font-size: 25px;
	position: relative;
	width: 100%;
	margin: 0px;
	padding: 0px;
/* 	overflow: hidden; */

}

#nav ul {
	
	padding: 0;
	margin: 0;
	list-style-type: none;
	text-align: center;
	
}

#nav li {
	
	display: inline;
	padding: 8px;
	line-height: 75px;
	
}

#nav li a {
	
	color: #fff;
	padding-bottom: 10px;
	transition: color 0.5s;
	font-weight: 400;
	
}

#nav li a:hover {
	
	color: #ffcc00;
	
}

.toggle { display: none; }
.toggle2 { display: none; }

input[type=checkbox] { display: none; }

#logo { display: none; }
#logo2 { display: none; }

/* RESPONSIVE YOUTUBE VIDEO PROPERTIES ==================================== */

.vidwrap {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.vidwrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* MEDIA QUERIES ========================================================== */

@media only screen and (max-width:1024px) {
	
	#nav { font-size: 20px; }
	
}

@media only screen and (max-width:960px) {
		
	#wrapper { margin-top: 50px; }
	h1 { font-size: 40px }
	
	/* SEARCH BAR */
	
	.search { top: 160px; }
	
	/* NAVIGATION BAR */
	
	#nav ul li {

  		display: block;
  		width: 100%;
  		background-color: #000;
  		padding: 0;
  		margin: 0;
  		line-height: 50px;

	}
	
	#logo {
  		
  		display: block;
  		padding-top: 8px;
  		width: 100%;
	  	text-align: center;
  		float: left;
	}
	
	.toggle + a, .menu { display: none; }
	.toggle2 + a, .menu2 { display: none; }
	
	.toggle {
	 
		display: block;
		background-color: #000000;
		padding: 0 10px;
		line-height: 50px;
		text-decoration: none;
		border-bottom: 2px solid #99ffcc;
	
	}
	
	.toggle2 {
	 
		display: block;
		padding: 0 10px;
		line-height: 50px;
		text-decoration: none;
	
	}
	
	.VGL2 { width: 80px; }
	.burger { width: 30px; }
	.burger2 { width: 30px; }
	.VGL { display: none; }
	#drop { display: none; }
	#drop2 { display: none; }
	[id^=drop]:checked + ul { display: block; }
	
	#nav {
		
		font-size: 20px;
		width: 100%;
		position: relative;
		z-index: 3;
		
	}
	
	/* RESEARCH NAVIGATION BAR */
	
	#research {
		
		font-size: 16px;
		z-index: 4;
		top: 45px;
		border-bottom: 2px solid #99ffcc;
		
	}
	
	#research ul li {
		
		display: block;
		background-color: #fff;
		padding: 0;
  		margin: 0;
  		line-height: 50px;
		
	}
	
	/* FOOTER */
	
	#footer { padding: 0;}
	
	#footer tr td {
	
		font-size: 15px;
		padding: 25px;
		margin: 0;
		list-style-type: none;
	
	}
	
}

@media only screen and (max-width:768px) {

	h6 { font-size: 40px; }
	img { max-width: 768px; width: auto; height: auto; }
	
	/* EQUATIONS */
	.box-pap2 .EQ { width: auto; }
	
	/* S&D */
	p2 { font-size: 15px; }
	h4 { font-size: 40px; }
	
	/* DIGITAL EMILY 2 */
	.grid-job .box-pap2 .grid-em { display: block; }
	.box-pap2 .grid-em .box-em1 img { width: 100%; }
	.box-pap2 img { width: 100%; }
	
	/* FACE DEMO */
	.box-pap2 .fd-grid { display:block; width:100%; }
	.box-pap2 .fd-grid .fd-box1 img { width: 50%; }
	.box-pap2 .fd-grid .fd-box1 { height: 100% }
	
	.box-pap2 .fd-grid2 { display:block; width:100%; }
	.box-pap2 .fd-grid2 .fd-box1 img { width: 50%; }
	.box-pap2 .fd-grid2 .fd-box1 { height: 100% }
	
	/* SVSSS */
	.box-pap2 .grid-svsss { display: block; width: 100%; }
}

@media only screen and (max-width:480px) {

	/* FRONT PAGE TEXT */
	.box-front { margin-top: 20px;}

	.USC { height: 35px; width: auto;}
	h1 { font-size: 35px; letter-spacing:0; }
	h2 { font-size: 30px; }
	h5 { font-size: 20px; }
	h6 { font-size: 30px }
	h7 { font-size: 15px; }
	h8 { font-size: 30px; }
	p { font-size: 15px; }
	i { font-size: 15px; }
	img { max-width: 480px; width: auto; height: auto; }
	
	/* S&D */
	p2 { font-size: 13px; }
	h4 { font-size: 30px; }
	.image { display:none; }
	.grid-sd .box-sd2 { grid-column: 1/ span all; overflow: hidden; }
	.box-sd3 { overflow: hidden; }
}

@media only screen and (max-width:320px) {
	
	/* FRONT PAGE TEXT */
	.box-front { margin-top: 60px;}
	
	img { max-width: 320px; width: auto; height: auto; }
	.USC { height: 30px; width: auto;}
	#footer tr td { font-size: 10px; }
	.sp-grid .lg-box3 { grid-column: 1/span all; width: 320px;}
	.sp-grid .lg-box1 { border-right: none;}
	h1 { font-size: 28px; letter-spacing: 0;}
	h2 { font-size: 20px; }
	
	/* PEOPLE */
	.grid-ppl .box-ppl1 { width: 250px; height: auto; }
	.grid-ppl .box-ppl1 .box-ppl2 { width: 250px; height: 250px; }
	.grid-ppl .box-ppl1 .box-ppl2 img {width: 250px; height: auto; }
	h7 { font-size: 15px;}
	h9 { font-size: 20px; }
	
}

/* ===== RESEARCH NAVIGATION BAR ===== */

#research {
	
	background-color: #fff ;
	height: 50px;
	position: relative;
	width: 100%;
	margin: 0px;
	font-size: 20px;
	
}

#research ul {

	padding: 0;
	margin: 0;
	list-style-type: none;
	text-align: center;

}

#research li {
	
	display: inline;
	padding: 10px;
	line-height: 50px;
	
}

#research li a {
	
	color: #336666;
	transition: color 0.5s;
	font-weight: 500;
	
}

#research li a:hover {
	
	color: #66cc99;
	
}

/* FOOTER PROPERTIES ====================================================== */


#footer {
	
	background-color: #000;
	height: 100px;
	border-top: 2px solid #99ffcc;
	width: 100%;
	overflow: hidden;
	position: relative;
	bottom: 0px;

}

#footer td {
	
	font-size: 20px;
	padding: 25px;
	margin: 0;
	list-style-type: none;
	
}

#footer td a {
	
	color: #99ffcc;
	transition: color 0.5s;
	
}

#footer td a:hover {
	
	color: #ffcc00;
	
}

/* GRIDS ================================================================== */

/* ===== INDEX GRID ===== */

.box-ind1{
	
	/* background-color: purple; */
	border-bottom: 1px dashed white;
	grid-column: 1/ span all;
	height: auto;

}

.box-ind2{
	
	/* background-color: lavender; */
	grid-column: 1/ span all;
	height: auto;
	
}

/* ===== RESEARCH GRID ===== */

.grid-res {
	
	max-width: 960px;
	display: flex;
	flex-wrap: wrap;
	align-items:center;
	justify-content: center;
	padding: 0;
	
}

.box-res {
	
	height: 275px;
	width: 300px;
	background-color: #000;
	border-bottom: 2px solid #99ffcc;
	margin: 10px;
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);

}

.box-desc {
	
	height: 50px;
	margin:7px;
	
}

/* ===== PRODUCTION GRID ===== */
	
.box-prod {
	
	/* background-color: blue; */
	height: 450px;
	width: 300px;
	margin: 0.5rem;
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);

}

.box-prod2 {
	
	height: auto;
	width: 100%;
	grid-column: 1/span all;
	
}

#image-gallery {
	
	list-style: none outside none;
	padding-left: 0;
    margin: 0;
	
}

.prod-demo .prod-item{
    
	margin-bottom: 60px;
	
}

.content-slider li {
	
	text-align: center;
	color: #FFF;
	
}

.content-slider h3 {

	margin: 0;
	padding: 70px 0;
	
}

.prod-demo {

	max-width: 960px;

}
 
/* ===== SOFTWARE & DATA GRID ===== */

.SDimg {
	
	-webkit-filter: grayscale(.7);
	filter: grayscale(.7);
	transition: 0.5s;
	
}

.SDimg:hover {
	
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
	
} 

.grid-sd {
	
	/* background-color: #0083ff; */
	/* 	grid-column-gap: 1rem; */
 	max-width: 960px;
/*	min-width: 960px; */
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto;
	grid-row-gap: 1rem;
	/* padding: 1rem; */
	align-items: center;
	justify-content: center;
	margin-top: 10px;
	margin-bottom: 20px;
	
}

.box-sd1 {
	
	height: 200px;
	width: 300px;
	border-bottom: 1px solid #99ffcc;
	
}

.box-sd2 {
	
	background-color:  #000;
	height: 200px;
	grid-column: 2/ span all;
	border-bottom: 1px solid #99ffcc;
	
}

.box-sd3 {
	
	background-color:  #000;
	height: 200px;
	grid-column: 1/span 3;
	border-bottom: 1px solid #99ffcc;
	
}

.box-sd4 {
	
	/* background-color: #91c8f7;  */
	height: auto;
	width: auto;
	margin: 10px;

}

/* @media only screen and (max-width:960px) {

	p2 { font-size: 13px; }
	h4 { font-size: 30px; }
	.image { display:none; }
	.box-sd2 { grid-column: 1/ span all; overflow: hidden; }
	.box-sd3 { overflow: hidden; }
} */

/* ===== PEOPLE GRID ===== */

.grid-ppl {
	
	max-width: 960px;
	display: flex;
	flex-wrap: wrap;
	align-items:center;
	justify-content: center;
	padding: 0px;
	padding-bottom: 20px;
	margin-top: 10px;
	
}

.box-ppl1 {
	
	background-color: #000;
	height: 400px;
	width: 300px;
	border-bottom: 2px solid #99ffcc;
	margin: 0.5rem;
	
}

.box-ppl2 {
	
	background-color: #8affdf;
	height: 300px;
	width: 300px;
	margin: 0px;
	
}

.box-ppl3 {
	
	position: relative;
	/* background-color: #a663f1; */
	height: 100px;
	width: 300px;
	margin: auto;
	
}

.box-ppl4{
	
	/* background-color: #f163c2; */
	position: absolute;
	width: auto;
	bottom: 0px;
	
}

/* ===== JOBS GRID ===== */

.grid-job {
	
	max-width: 960px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto;
	grid-gap: 1rem;
	padding: 0px;
	margin: auto;
	margin-top: 10px;
	margin-bottom: 20px;
	
}

.box-job1 {
	
	/* background-color: pink; */
	border-bottom: 1px dashed white;
	grid-column: 1/ span all;
	height: auto;
	
}

.box-job2 {
	
	/* background-color: #666; */
	grid-column: 1/ span all;
	height: auto;

}

/* ===== PAPER GRID ===== */

.grid-pap {
	
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto;
	grid-gap: 1rem;
	background-color: aqua; 
	padding: 1rem;
	margin-bottom: 20px;
}

.box-pap {
	
	display: flex;
	justify-content: center;
	align-items: center;
	/* background-color: blue; */
	height: 470px;
	margin-right: 10px;
	width: 470px;
	
}

.box-pap0 {
	
	display: flex;
	justify-content: center;
	align-items: center;
	/* background-color: green; */
	height: auto;
	margin-left: 10px;
	width: 470px;
	
}
	
.box-pap1 {
	
	/* background-color: #000;  */
	grid-column: 1/ span all;
	overflow: hidden;
	height: auto;
	text-align: center;
	
}

.box-pap2 {

	/* background-color: #516363;  */
	grid-column: 1/ span all;
	height: auto;
	margin: 0px;
	
	
}

.box-pap3 {
	
	display: inline-block;
	/* background-color: red; */
	width: auto;
	height: auto;
	margin: 10px;
	vertical-align: text-top;
}

.box-pap4 {

	/* background-color: blue; */
	grid-column: 1/span 2;
	height: auto;
	margin: 0px;
	
}

.box-pap5 {

	/* background-color: red; */
	grid-column: 3/span 4;
	height: auto;
	margin: 0px;
	
}



.grid-em {
	
	/* background-color: aqua; */
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: auto;
	grid-column-gap: .4rem;
	max-width: 960px;


}

.grid-svsss {
	
	/* background-color: aqua; */
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto;
	grid-column-gap: .5rem;
	max-width: 960px;

}

.box-svsss {
	
	/* background-color: red; */
	width: 200px;
	
}

.box-em1 {
	
	/* background-color: red; */
	width: 160px;
	
}

.btext {
	
	/* background-color: blue; */
	width: 230px;
	
	
}

.btext2 {
	
	/* background-color: blue; */
	width: 153px;
	
}

/* LIGHTGEN PLUGIN PAGE */

.lg-grid {
	
	/* background-color: aqua; */
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto;
	height: auto;
	max-width: 900px;
	
}

.lg-box1 {
	
	display: flex;
	background-color: #485056;
	margin-bottom: 5px;
	border-right: 1px solid #fff;
	align-items: center;
    justify-content: center;
	
}

.lg-box2 {
	
	background-color: #485056;
	grid-column: 2/ span all;
	margin-bottom: 5px;
	padding: 8px;
	text-align: left;
	
}

.lg-box3 {
	
	display: flex;
	grid-column: 2/ span all;
	background-color: #485056;
	margin-bottom: 5px;
	align-items: center;
    justify-content: center;
	
}

.lg-box4 {
	
	display: flex;
	background-color: #485056;
	margin-bottom: 5px;
	padding: 5px;
	border-right: 1px solid #fff;
	align-items: center;
    justify-content: center;
	
}

.lg-box1 p {
	
	padding: 0px;
	margin: 0px;
  	font-size: 18px;
 	font-weight: 500;
 	/* background-color: red;	 */
 
}

.lg-box3 p {
	
	padding: 0px;
	margin: 0px;
  	font-size: 18px;
 	font-weight: 500;
 	/* background-color: red;	 */
 
}

/* FACE DEMO */

.fd-grid {
	
	/* background-color: aqua; */
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: auto;
	height: auto;
	width: 650px;

}

.fd-grid2 {
	
	/* background-color: aqua; */
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto;
	height: auto;
	width: 430px;
	
}

.fd-box1 {
	
	background-color: #485056;
	width: 100px;
	height: 130px;
	align-items: center;
    justify-content: center;
	
}

.fd-box2 {
	
	/* background-color: #000; */
	
}

.fd-box1 img {
	
	margin: 10px;
	
}

/* SKIN MICROSTRUCTURE DEFORMATION */

.sm-img {
	
	height: auto;
	width: 450px;
	
}

/* HI RES LIGHT PROBE IMAGE GALLERY */

.grid-lp {
	
	/* background-color: steelblue; */
	width: 960px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto;
	grid-row-gap: 10px;
	
}

.box-lp1 {
	
	background-color: red;
	width: 300px;
	height: 150px;
	
}

.box-lp2 {
	
	position: relative;
	background-color: #485056;
	grid-column: 2/span all;
	text-align: left;
	padding-left: 10px;
	
}	

.box-lp3 {
	
	position: absolute;
	background-color: #2a3842;
	width: 100%;
	left: 0px;
	bottom: 0px;
	
}

.box-lp2 h {
	
	font-weight: 400;
	color: #fff;
	font-size: 30px;
	margin: 0px;
	padding: 0px;

}

.box-lp2 p {
	
	/* background-color: red; */
	margin: 0px;
	
}

.box-lp2 ul {
	
	padding: 0;
	margin: 0;
	list-style-type: none;
	text-align: center;
	
}

.box-lp2 ul li {
	
	display: inline;
	margin: 0 20px 0 0;
	
}

.box-lp1 img {
	
	height: auto;
	width: 300px;
	height: 100%;
	
}

/* PARTHENON SCULPTURE GALLERY */

.box-psg1 {
	
	background-color: #485056;
	padding: 10px;
	width: 60px;
	height: 140px;
	
}

.box-psg2 {
	
	background-color: #485056;
	margin: 10px;
	padding: 5px;
	
}

.grid-psg {
	
	/* background-color: red; */
	width: 960px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto;
	grid-row-gap: 10px;
	
}

/* SKYPROBES */

.sp-grid {
	
	/* background-color: aqua; */
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: auto;
	height: auto;
	width: 450px;
	
}

/* HDR CAP */

.hdr-grid {
	
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-template-rows: auto;
	height: auto;
	width: 750px;
	
}

.hdr-box1 {
	
	background-color: #485056;
	width: 100px;
}

/* LIGHT STAGE DATA GALLERY */

.lsg-grid {

	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: repeat(3, 1fr);
	height: 325px;
	width: 960px;
	grid-column-gap: 5px;
	
}

.lsg-box1 {
	
	height: 150px;
	width: 150px;
	background-color: blue;
	border-bottom: 1px solid white;
	
}

.lsg-box2 {
	
	width: 150px;
	height: auto;
	background-color: #485056;
	grid-row: 2/span all;
	padding-top: 10px;
	height: 175px;
	
}

.lsg-box2 h {
	
	font-size: 20px;
	font-weight: 500;
	
}

.lsg-box2 ul {
	
	list-style-type: none;
	margin-top: 10px;
	padding: 0px;
	
}

/* PRODUCTION ============================================================= */

.rg-image-wrapper{
	position:relative;
	padding:20px 30px;
	background:transparent url(../images/black.png) repeat top left;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	min-height:20px;
}
.rg-image{
	position:relative;
	text-align:center;
	line-height:0px;
}
.rg-image img{
	max-height:100%;
	max-width:100%;
}
.rg-image-nav a{
	position:absolute;
	top:0px;
	left:0px;
	background:#000 url(../images/nav.png) no-repeat -20% 50%;
	width:28px;
	height:100%;
	text-indent:-9000px;
	cursor:pointer;
	opacity:0.3;
	outline:none;
	-moz-border-radius: 10px 0px 0px 10px;
	-webkit-border-radius: 10px 0px 0px 10px;
	border-radius: 10px 0px 0px 10px;
}
.rg-image-nav a.rg-image-nav-next{
	right:0px;
	left:auto;
	background-position:115% 50%;
	-moz-border-radius: 0px 10px 10px 0px;
	-webkit-border-radius: 0px 10px 10px 0px;
	border-radius: 0px 10px 10px 0px;
}
.rg-image-nav a:hover{
	opacity:0.8;
}
.rg-caption {
	text-align:center;
	margin-top:15px;
	position:relative;
}
.rg-caption p{
	font-size:11px;
	letter-spacing:2px;
	font-family: 'Trebuchet MS', 'Myriad Pro', Arial, sans-serif;
	line-height:16px;
	padding:0 15px;
	text-transform:uppercase;
}
.rg-view{
	height:30px;
}
.rg-view a{
	display:block;
	float:right;
	width:16px;
	height:16px;
	margin-right:3px;
	background:#464646 url(../images/views.png) no-repeat top left;
	border:3px solid #464646;
	opacity:0.8;
}
.rg-view a:hover{
	opacity:1.0;
}
.rg-view a.rg-view-full{
	background-position:0px 0px;
}
.rg-view a.rg-view-selected{
	background-color:#6f6f6f;
	border-color:#6f6f6f;
}
.rg-view a.rg-view-thumbs{
	background-position:0px -16px;
}
.rg-loading{
	width:46px;
	height:46px;
	position:absolute;
	top:50%;
	left:50%;
	background:#000 url(../images/ajax-loader.gif) no-repeat center center;
	margin:-23px 0px 0px -23px;
	z-index:100;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	opacity:0.7;
}

/* MODAL ================================================================== */

.modal-container {
	
	background-color: black;
	position: fixed;
	left: 50%;
	bottom: 40%;
	-webkit-transform: translate(-50%, -400%);
	-ms-transform: translate(-50%, -400%);
	transform: translate(-50%, -400%);
	-webkit-transition: -webkit-transform 200ms ease-out;
	transition: transform 200ms ease-out;

}

.modal:before {
	
	content:"";
	position: fixed;
	display: none;
	background-color: rgba(0,0,0,.8);
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;

}

.modal:target:before {
	
	display: block;
	
}

.modal:target .modal-container {
	
	-webkit-transform: translate(-50%, 0%);
	-ms-transform: translate(-50%, 0%);
	transform: translate(-50%, 0%);
	
}

/* PUBLICATIONS =========================================================== */

.events ol {

	list-style: none;

}

.events ol li a {

	color: #fff;
	font-weight: 400;

}

.events-content ol {

	list-style: none;
	/* background-color: #485056; */

}

.cd-timeline-navigation {

	list-style: none;

}

.cd-horizontal-timeline {
	
	/* background-color: green; */
	opacity: 0;
	margin: 2em auto;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	transition: opacity 0.2s;
	height: 100%;
	
}
.cd-horizontal-timeline::before {
  /* never visible - this is used in jQuery to check the current MQ */
    content: 'mobile';
    display: none;
}
.cd-horizontal-timeline.loaded {
  /* show the timeline after events position has been set (using JavaScript) */
    opacity: 1;
}
.cd-horizontal-timeline .timeline {
    position: relative;
    height: 100px;
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
}
.cd-horizontal-timeline .events-wrapper {
    position: relative;
    height: 100%;
    margin: 0 40px;
    overflow: hidden;
}
.cd-horizontal-timeline .events-wrapper::after,
.cd-horizontal-timeline .events-wrapper::before {
  /* these are used to create a shadow effect at the sides of the timeline */
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    height: 100%;
    width: 20px;
}

.cd-horizontal-timeline .events {
  /* this is the grey line/timeline */
    position: absolute;
    z-index: 1;
    left: 0;
    top: 49px;
    height: 2px;
  /* width will be set using JavaScript */
    background: #dfdfdf;
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
}
.cd-horizontal-timeline .filling-line {
  /* this is used to create the green line filling the timeline */
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #99ffcc;
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -ms-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
}
.cd-horizontal-timeline .events a {
    position: absolute;
    bottom: 0;
    z-index: 2;
    text-align: center;
    font-size: 1.3rem;
    padding-bottom: 15px;
    color: #white;
    /* fix bug on Safari - text flickering while timeline translates */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}
.cd-horizontal-timeline .events a::after {
  /* this is used to create the event spot */
	content: '';
	position: absolute;
	left: 50%;
	right: auto;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	transform: translateX(-50%);
	bottom: -5px;
	height: 12px;
	width: 12px;
	border-radius: 50%;
	border: 2px solid #dfdfdf;
	background-color: #f8f8f8;
	-webkit-transition: background-color 0.3s, border-color 0.3s;
	-moz-transition: background-color 0.3s, border-color 0.3s;
	transition: background-color 0.3s, border-color 0.3s;
}
.no-touch .cd-horizontal-timeline .events a:hover::after {
	background-color:#99ffcc;
	border-color: #99ffcc;
}
.cd-horizontal-timeline .events a.selected {
	pointer-events: none;
}
.cd-horizontal-timeline .events a.selected::after {
	background-color: #99ffcc;
	border-color: #99ffcc;
}
.cd-horizontal-timeline .events a.older-event::after {
	border-color: #99cccc;
}

@media only screen and (min-width: 1100px) {
  .cd-horizontal-timeline {
    margin: 6em auto;
  }
  .cd-horizontal-timeline::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'desktop';
  }
}

.cd-timeline-navigation a {
    /* these are the left/right arrows to navigate the timeline */
    position: absolute;
    z-index: 1;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
   -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 34px;
    width: 34px;
    border-radius: 50%;
    border: 2px solid #dfdfdf;
    /* replace text with an icon */
    overflow: hidden;
    color: transparent;
    text-indent: 100%;
    white-space: nowrap;
    -webkit-transition: border-color 0.3s;
    -moz-transition: border-color 0.3s;
    transition: border-color 0.3s;
}

.cd-timeline-navigation a::after {
  /* arrow icon */
	content: '';
	position: absolute;
	height: 16px;
	width: 16px;
	left: 50%;
	top: 50%;
	bottom: auto;
	right: auto;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);

}

.cd-timeline-navigation a.prev {
	left: 0;
	-webkit-transform: translateY(-50%) rotate(180deg);
	-moz-transform: translateY(-50%) rotate(180deg);
	-ms-transform: translateY(-50%) rotate(180deg);
	-o-transform: translateY(-50%) rotate(180deg);
	transform: translateY(-50%) rotate(180deg);
}

.cd-timeline-navigation a.next {
	right: 0;
}

.no-touch .cd-timeline-navigation a:hover {
	border-color: #7b9d6f;
}

.cd-timeline-navigation a.inactive {
	cursor: not-allowed;
}

.cd-timeline-navigation a.inactive::after {
	background-position: 0 -16px;
}

.no-touch .cd-timeline-navigation a.inactive:hover {
	border-color: #dfdfdf;
}

.cd-horizontal-timeline .events-content {
	/* background-color: red; */
    position: relative;
	max-width: 960px;
	height: 100%;
	margin: auto;
	overflow-y: scroll;
	/* padding-bottom: 5%; */
	-webkit-transition: height 0.4s;
	-moz-transition: height 0.4s;
	transition: height 0.4s;
}

.cd-horizontal-timeline .events-content::-webkit-scrollbar {

	width: 0px;

}

.cd-horizontal-timeline .events-content li {
	position: absolute;
	z-index: 1;
	width: 100%;
	left: 0;
	top: 0;
	-webkit-transform: translateX(-100%);
	-moz-transform: translateX(-100%);
	-ms-transform: translateX(-100%);
	-o-transform: translateX(-100%);
	transform: translateX(-100%);
	padding: 0;
	opacity: 0;
	-webkit-animation-duration: 0.4s;
	-moz-animation-duration: 0.4s;
	animation-duration: 0.4s;
	-webkit-animation-timing-function: ease-in-out;
	-moz-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
}

.cd-horizontal-timeline .events-content li.selected {
  /* visible event content */
	position: relative;
	z-index: 2;
	opacity: 1;
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	-o-transform: translateX(0);
	transform: translateX(0);
}

.cd-horizontal-timeline .events-content li.enter-right,
.cd-horizontal-timeline .events-content li.leave-right {
    -webkit-animation-name: cd-enter-right;
    -moz-animation-name: cd-enter-right;
    animation-name: cd-enter-right;
}

.cd-horizontal-timeline .events-content li.enter-left,
.cd-horizontal-timeline .events-content li.leave-left {
    -webkit-animation-name: cd-enter-left;
    -moz-animation-name: cd-enter-left;
    animation-name: cd-enter-left;
}

.cd-horizontal-timeline .events-content li.leave-right,
.cd-horizontal-timeline .events-content li.leave-left {
    -webkit-animation-direction: reverse;
    -moz-animation-direction: reverse;
    animation-direction: reverse;
}

.cd-horizontal-timeline .events-content li > * {
    max-width: 960px;
    margin: auto;
}

.cd-horizontal-timeline .events-content em {
    display: block;
    font-style: italic;
    margin: 10px auto;
}

.cd-horizontal-timeline .events-content em::before {
    content: '-';
}

.cd-horizontal-timeline .events-content p {
    font-size: 1.4rem;

}

.cd-horizontal-timeline .events-content em,
.cd-horizontal-timeline .events-content p {
    line-height: 1.6rem;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 960px) {
	.cd-horizontal-timeline .events-content {
		margin-right: 40px;	
	}	
	.cd-horizontal-timeline .events-content h1 {
		font-size: 2.5rem;
    }
    .cd-horizontal-timeline .events-content em {
		font-size: 2rem;
    }
    .cd-horizontal-timeline .events-content p {
		font-size: 17px;
    }
}

@-webkit-keyframes cd-enter-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}

@-moz-keyframes cd-enter-right {
  0% {
    opacity: 0;
    -moz-transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -moz-transform: translateX(0%);
  }
}

@keyframes cd-enter-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}

@-webkit-keyframes cd-enter-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}

@-moz-keyframes cd-enter-left {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -moz-transform: translateX(0%);
  }
}

@keyframes cd-enter-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}

/* SEARCH BAR ============================================================= */

#searchbar {
	
	margin:0;
	width: 300px;
	padding-left: 5px;
	font-family: 'Rajdhani', sans-serif;
	font-size: 20px;
	border-style: none;
	background-color: rgba(255,255,255,0.7); 
	height: 35px;
	-webkit-box-shadow: inset 6px 6px 0px -4px rgba(0,0,0,0.21);
	-moz-box-shadow: inset 6px 6px 0px -4px rgba(0,0,0,0.21);
	box-shadow: inset 6px 6px 0px -4px rgba(0,0,0,0.21);
	
}

#searchbtn {

	display: none;
	
}

textarea:focus, input:focus{
    outline: none;
}

.search {

	width: 100%;
	/* background-color: red; */
	margin: 0 auto;
	z-index:1;
	position:absolute;
	text-align: center;
	/*margin-left: -150px;
	left: 50%;*/

}


