/* General header and navigation */

html {
  scroll-behavior: smooth;
}

#header {
	background-color:#FFF; 
	border-bottom: 1px solid #000; 
	padding:0;
}

#header.fixed-header{
	background-color:#FFF;}

.logo a:link, a:visited {
	color: #000;
	text-decoration: none;
	text-shadow: none;
	cursor:default;
	text-transform:uppercase;
	font-size: 1.4em;
	line-height:1.7em;
}

.logo a:visited {
	color: #000;
	text-decoration: none;
	text-shadow: none;
	cursor:default;
	text-transform:uppercase;
	font-size: 1.4em;
	line-height:1.7em;
}
	
.logo a:hover {
	color: #0036ff;
}

#nav ul {
	padding-top:0px;
} 


#nav ul li {
	padding: 0 0 0 20px;
}

#nav ul li a {
	font-size: 1.3em;
	color: #000;
	line-height: 100%;
	text-shadow: none;
	text-decoration: none;
	display: block;
	text-shadow: none;
	font-weight:normal;
}


/*#nav ul li a.selected {
	border-bottom:2px solid #E8E8E8;
}*/


/* General website features */

.container {
	padding: 15px 0;
}

a, a:link, a:visited {
	text-decoration:none;
    color: #0036ff;
}

a:hover {
	text-decoration:none;
	color:#333;
}

h1 {
	font-weight: normal;
	color: #000;
	font-size: 1.8em;
	margin-bottom:40px;
	text-decoration: none;
	
}

h1 a:link, a:visited {
	color: #777;
	text-shadow: none;
	cursor:default;
}
h1 a:hover {
	color: #0036ff;
	text-shadow: none;
	cursor:default;
}

.selected {
	text-decoration:underline;
}


h2 {
	margin-top: 0;
	padding-top:8px;
	font-weight: normal;
	color: #000;
	font-size: 1.4em;
	text-transform: none;
    letter-spacing: 0.02em;
}

h3 {
	margin: 10px 0 0 0;
	font-weight: normal;
	color: #000;
	font-size: 1.0em;	
}

h4 {
	font-size: 0.8em;
	margin: 0 5px 0px 5px;	
}

p {
	margin: 0 0 1.0em 0;
	font-size: 1.1em;
	line-height:1.4em;
	padding: 0 10px 0 0;
	font-weight: 300;
}

p.medium
{
	margin: 0 0 1.5em 0;
	font-size: 1em;
	padding: 0 20px 0 0;
	margin: 5px 0 5px 0;
}

p a:link, a:visited {
	text-decoration:none;
    color: #0036ff;
}


ul.sf-menu li.current {
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 8px;
}

p.footer {
	font-size: 13px;
}

.frame {
	border:1px solid #000;
}

#footer {
	width: 100%;
	background-color: #FFF;
	margin-top:15px;
	padding: 10px 0 0 0;
	border-top: 1px solid #000;
}


/* OVERVIEW page for all projects */

/* select by image or title */

#cwfilter ul {
	margin: 20px 0 0 0;
	width: 100%;
	padding: 0;
	float:left;
	list-style-type: none;
}

#cwfilter li {
	margin: 0;
	padding: 0 20px 0 0;
	line-height: 28px; 
	display: inline;
	font-size: 1.2em;
	font-weight:bold;
	text-decoration: underline;
}

#cwfilter li a {
	text-decoration: none;
	color: #999;
}

#cwfilter li a:hover, #cwfilter li a.active {
	color: #0036ff;
}

/* for smaler landscape-format thumbs */
img.scaleimg {
	width:80%;
}

img.landscape {
    position: relative;
    transform: translateY(45%);
	/* bring your own prefixes */
	  -webkit-transform: translateY(45%);
	  transform: translateY(45%);
}

p.specialtext {
	padding:25% 10%;
	font-family: "Open Sans", Sans-Serif, "Helvetica", Helvetica, Arial, sans-serif;
	font-size: 1em;
	line-height:1.3em;
}

p.specialtext1 {
	padding:55% 10%;
	font-family: "Open Sans", Sans-Serif, "Helvetica", Helvetica, Arial, sans-serif;
	font-size: 1em;
	line-height:1.3em;
}

p.filler, p.filler a {
	padding:0 5%;
	font-family: "Open Sans", Sans-Serif, "Helvetica", Helvetica, Arial, sans-serif;
	color:#FFF;
}

/* hover box over images */
.hvrbox,
.hvrbox * {
	box-sizing: border-box;
}
.hvrbox {
	position: relative;
	display: inline-block;
	overflow: hidden;
	max-width: 100%;
	height: auto;
}
.hvrbox img {
	max-width: 100%;
}
.hvrbox .hvrbox-layer_bottom {
	display: block;
}
.hvrbox .hvrbox-layer_top {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 15px;
	-moz-transition: all 0.4s ease-in-out 0s;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-ms-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
}
.hvrbox:hover .hvrbox-layer_top,
.hvrbox.active .hvrbox-layer_top {
	opacity: 1;
}
.hvrbox .hvrbox-text {
	text-align: center;
	font-size: 1.1em;
	font-style: normal;
	letter-spacing:0.1em;
	line-height:1.4em;
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.hvrbox .hvrbox-text_mobile {
	font-size: 15px;
	border-top: 1px solid rgb(179, 179, 179); /* for old browsers */
	border-top: 1px solid rgba(179, 179, 179, 0.7);
	margin-top: 5px;
	padding-top: 2px;
	display: none;
}
.hvrbox.active .hvrbox-text_mobile {
	display: block;
}

.outset {
	background-color: #FFF;
	margin-top: 100px;
	padding: 0;
	border: 0; 
	border-radius: 0;
	/*behavior: url(../css/PIE.htc);*/
	position: relative;
}


/* Individual project pages */
p.caption {
	margin: 0.5em 0 0.8em 0;
	font-size: 0.8em;
	line-height:1.2em;
	letter-spacing:0.02em;
	color:#333;
}

.caption {
	margin: 0.5em 0 0.8em 0;
	font-size: 0.8em;
	line-height:1.2em;
	letter-spacing:0.02em;
	color:#333;
}

/* Special info large */
p.highlight {
	padding: 15% 10% 0 10%;
	font-size: 2em;
	line-height:1.6em;
	letter-spacing:0.04em;
	color:#333;
}

#intro  {
	padding:0 5px 0 0;
}

p.project-info {
	padding: 30px 0 0 0;
}

.project-top-space {
	margin-top:25px;
}

/* spacing for project text description*/
.text-box-spacing {
	padding: 100px 100px 0 0;
}

/* Vertically centers landscape formats */
.middle  {
	top:80px;
}

/* select by image or title */
#bottommenu ul {
	margin: 20px 0;
	width: 100%;
	padding: 0;
	float:left;
	list-style-type: none;
}

#bottommenu li {
	margin: 0;
	padding: 0 20px 0 0;
	line-height: 1.2em; 
	display: inline;
	font-size: 1.2em;
	letter-spacing:1px;	
}

#bottommenu li a {
	text-decoration: none;
	color: #000;
	font-weight:bold;
}

#bottommenu li a:hover, #bottommenu li a.active {
	color: #0036ff;
}

#content-desktop {display: block;}
#content-mobile {display: none;}


/* News page */

#news h2 {
	color:#333; /*#00ca9f;*/
	padding-right: 20px;
	line-height:1.2em;
}

#news h3  {
	font-weight:normal;
	padding: 0 10px 0 0;
}

#news p a  {
	padding: 0;
	font-size: 0.8em;
}


/* Publication page */

#publications h2 {
	padding: 35px 0 0 0;
}

#publications p:last-child {
	font-size:1em;
}

#publications p {
	padding: 0 25px 0 0;
}

.imgframe {
	border:1px solid #CCC;
}



/* ABOUT page and resume

/* avoids lists to be indented */
ul {
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
	padding:0 0 10px 0;
}

li {
	font-size:1.0em;
	line-height:1.3em;
	padding:0 0 20px 0;
}

.topspacer {
	padding: 10px 0 0 0;
}

ul.pdfdown li {
	padding: 0 0 15px 0;
	font-size:1.2em;
}

#bio ul{
	padding:0;
}

/*
#bio ul li a:link {
	font-size:1.0em;
}*/

#bio h2 {
	padding:8px 0;
}

#resume h2 {
	padding:8px 0;
}

#resume ul li:first-child {
	font-weight:bold;
	padding:0 0 3px 0;
	font-size: 1em;
	
}

#resume ul li a:link, ul li a:link a:visited, li em {
	color:#000;
}

.separator {
	border-bottom: 1px solid #000;
	padding-bottom: 6px;
	margin-bottom: 10px;
}

#download ul {
	margin: 20px 0 0 0;
	width: 100%;
	padding: 0;
	float:left;
	list-style-type: none;
}

#download li {
	margin: 0;
	padding: 0 20px 0 0;
	line-height: 28px; 
	display: inline;
	font-size: 16px;
	font-weight:bold;
	letter-spacing:1px;
}

#download li a {
	text-decoration: none;
	color: #999;
}

#download li a:hover {
	color: #0036ff;
}

.outset {
	background-color: #FFF;
	margin-top: 20px;
	padding: 0;
	border: 0; 
	border-radius: 0;
	/*behavior: url(../css/PIE.htc);*/
	position: relative;
}


#myBtn, #myBtn:active, #myBtn:visited {
    display: none; 
    position: fixed; 
    bottom: 50px; 
    right: 12px; 
    z-index: 99; 
    background-color: #FFF; 
    color: #FFFFFF; 
    cursor: pointer; 
	outline:none;
    padding: 6px 8px; 
    border-radius: 4px; 
    font-size: 12px; 
	text-shadow:none;
	border:none;
}

#myBtn:hover {
    background-color: #e6e6e6; 
	outline:none;
}

/* style for links that allow downloads (portfolio / CV) */
#download ul {
	margin: 15px 0 0 0;
	width: 100%;
	padding: 10px 0 20px 0;
	float:left;
	list-style-type: none;
	/*border-bottom: 1px solid #E1E1E1;*/
}

#download li {
	padding: 0 20px 0 0;
	display: inline;
	font-size: 16px;
	font-weight:bold;
	letter-spacing:1px;
}

#download li a, #download li a:hover {
	text-decoration: none;
	color: #0036ff;
}

#download li a:hover {
	color: #0547de;
}

/* style for works by title search */
.titles {
	margin-top:5px;
    font-size: 1.4em;
    letter-spacing: 0.001em;
    color: #333;
}

.titles li  {
    color: #333;	
	font-weight:normal;
	
}

.titles li a 
{
    color: #333;	
	font-weight: normal;
}

.titles li a:hover {
    color: #0036ff;	
}



@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)  { 
	

	/* Publication Page */
	#publications h2 {
		font-size:1.2em;
		text-transform:none;
		padding: 15px 10px 10px 0;
	}
	
	#publications p {
		font-size:1.0em;
		line-height:1.2em;
		padding: 0 15px 0 0;
	}
	
	p.specialtext {
		padding:5% 3% 0 3%;
		font-size: 0.9em;
		line-height:1.2em;
	}
	
	p.specialtext1 {
		padding:35% 3% 0 3%;
		font-size: 0.9em;
		line-height:1.2em;
	}
	
	/* Individual Projects Page */
	
	#intro p  {
		font-size:0.9em;
		line-height:1.2em;	
		padding:0 5px 0 0;
	}
}

/* I added this category for iphone 6, 7, 8 Plus */
@media only screen and (min-device-width: 414px) and (max-width: 736px) and (orientation: portrait) {

	.p {
	        padding: 0;
	    }
		
	/*swap images for mobile*/
	#content-desktop {display: none;}
	#content-mobile {display: block;}
	
	#intro  {
		padding:0 5px 0 0;
	}
	
	}
	

@media only screen and (max-width: 767px) {
	h1#logo {
		margin: -3px 0 5px 0;
	}
	
	#nav ul li {
		padding: 4px 0 4px 2px; 
		border-bottom: solid 1px #CCC;
	}
	
	#nav ul li:first-child {
		border-top: solid 1px #CCC;
	}
	

	#nav ul {
		margin-bottom: 20px;
	}
	
	a#shownav {
		margin-top: 3px;
		right: 10px;
	}
	
	img.landscape {
	    position: relative;
	    transform: translateY(0%);
		/* bring your own prefixes */
		  -webkit-transform: translateY(0%);
		  transform: translateY(0%);
	}
	
	/* height of hamburger */
    a#shownav {
        top: 20px;
    }
	
	/* General pages */
	
	p {
		margin: 0 0 1.5em 0;
		font-size: 1.2em;
		padding: 0;
	}
	
	ul.sf-menu li.current {
		text-decoration:none;
		background-color:#EFEFEF;
	}

	/* OVERVIEW page forall projects
	/* Vertical align for landscape-format thumbs */	
	.middle  {
		top:0;
	}
	
		/* for smaler landscape-format thumbs */	
	img.scaleimg {
		padding:0;
	}
	
	p.filler, p.filler a {
		font-size:1.2em;
		color:#000;
	}
	
	#notopspace.outset {
	    padding-top: 0;
	    margin-top: 0;
	}
	
	p.specialtext {
		padding:5% 3%;
		font-size: 1.2em;
		line-height:1.3em;
	}
	
	p.specialtext1 {
		padding:5% 3%;
		font-size: 1.2em;
		line-height:1.3em;
	}
	
	/*swap images for mobile*/
	#content-desktop {display: none;}
	#content-mobile {display: block;}
	
	
	
	/* Individual project page
	/* spacing for project text description*/
	.text-box-spacing {
		padding: 0 100px 0 0;
	}
	
	/* Special info large */
	p.highlight {
		padding-top: 20px;
		font-size: 2em;
		line-height:1.6em;
		letter-spacing:0.04em;
		color:#333;
	}	
	
	p.project-info {
		padding-top: 30px;
		max-width:100%;
	}
	
	#intro  {
		padding:0 5px 0 0;
	}
	
	/* Publication Page */
	
	#publications h2 {
		font-size:1.2em;
		text-transform:none;
		padding: 0;
	}
	
	#publications p {
		font-size:1.2em;
		line-height:1.4em;
		padding: 0;
	}
	
	#publications p:last-child {
		padding-bottom: 15px;
	}
	
	
}


/*
#nav ul ul li a,#nav ul li:hover li a{color:#000;background-color:#CCC;}
#nav ul ul li a:hover{color:#666;}
#nav ul li a.sf-with-ul {
    background: url(../img/nav-arrow.png) no-repeat right center;
    padding-right: 0px;
}
*/


	




 